@wcardinal/wcardinal-ui 0.157.0 → 0.158.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 (70) hide show
  1. package/dist/types/wcardinal/ui/d-application-layer-like.d.ts +0 -1
  2. package/dist/types/wcardinal/ui/d-application-layer.d.ts +0 -2
  3. package/dist/types/wcardinal/ui/d-base.d.ts +11 -12
  4. package/dist/types/wcardinal/ui/d-diagram-snapshot.d.ts +0 -2
  5. package/dist/types/wcardinal/ui/d-image-base.d.ts +2 -0
  6. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-bottom.d.ts +4 -0
  7. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-center.d.ts +6 -0
  8. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-container.d.ts +25 -0
  9. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-left.d.ts +4 -0
  10. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-middle.d.ts +6 -0
  11. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-right.d.ts +4 -0
  12. package/dist/types/wcardinal/ui/d-image-piece-layouter-part-top.d.ts +4 -0
  13. package/dist/types/wcardinal/ui/d-image-piece-layouter-part.d.ts +8 -0
  14. package/dist/types/wcardinal/ui/d-image-piece-layouter.d.ts +17 -0
  15. package/dist/types/wcardinal/ui/d-menu-sided.d.ts +1 -1
  16. package/dist/types/wcardinal/ui/d-text-base.d.ts +5 -5
  17. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-input.d.ts +1 -1
  18. package/dist/types/wcardinal/ui/theme/white/d-theme-white-input.d.ts +1 -1
  19. package/dist/wcardinal/ui/d-application-layer-like.js.map +1 -1
  20. package/dist/wcardinal/ui/d-application-layer.js +3 -21
  21. package/dist/wcardinal/ui/d-application-layer.js.map +1 -1
  22. package/dist/wcardinal/ui/d-base.js +126 -100
  23. package/dist/wcardinal/ui/d-base.js.map +1 -1
  24. package/dist/wcardinal/ui/d-diagram-snapshot.js +2 -18
  25. package/dist/wcardinal/ui/d-diagram-snapshot.js.map +1 -1
  26. package/dist/wcardinal/ui/d-html-element.js +0 -3
  27. package/dist/wcardinal/ui/d-html-element.js.map +1 -1
  28. package/dist/wcardinal/ui/d-image-base.js +9 -264
  29. package/dist/wcardinal/ui/d-image-base.js.map +1 -1
  30. package/dist/wcardinal/ui/d-image-piece-layouter-part-bottom.js +31 -0
  31. package/dist/wcardinal/ui/d-image-piece-layouter-part-bottom.js.map +1 -0
  32. package/dist/wcardinal/ui/d-image-piece-layouter-part-center.js +24 -0
  33. package/dist/wcardinal/ui/d-image-piece-layouter-part-center.js.map +1 -0
  34. package/dist/wcardinal/ui/d-image-piece-layouter-part-container.js +158 -0
  35. package/dist/wcardinal/ui/d-image-piece-layouter-part-container.js.map +1 -0
  36. package/dist/wcardinal/ui/d-image-piece-layouter-part-left.js +30 -0
  37. package/dist/wcardinal/ui/d-image-piece-layouter-part-left.js.map +1 -0
  38. package/dist/wcardinal/ui/d-image-piece-layouter-part-middle.js +24 -0
  39. package/dist/wcardinal/ui/d-image-piece-layouter-part-middle.js.map +1 -0
  40. package/dist/wcardinal/ui/d-image-piece-layouter-part-right.js +31 -0
  41. package/dist/wcardinal/ui/d-image-piece-layouter-part-right.js.map +1 -0
  42. package/dist/wcardinal/ui/d-image-piece-layouter-part-top.js +32 -0
  43. package/dist/wcardinal/ui/d-image-piece-layouter-part-top.js.map +1 -0
  44. package/dist/wcardinal/ui/d-image-piece-layouter-part.js +18 -0
  45. package/dist/wcardinal/ui/d-image-piece-layouter-part.js.map +1 -0
  46. package/dist/wcardinal/ui/d-image-piece-layouter.js +65 -0
  47. package/dist/wcardinal/ui/d-image-piece-layouter.js.map +1 -0
  48. package/dist/wcardinal/ui/d-menu-item-text.js +18 -2
  49. package/dist/wcardinal/ui/d-menu-item-text.js.map +1 -1
  50. package/dist/wcardinal/ui/d-menu-sided.js +2 -2
  51. package/dist/wcardinal/ui/d-menu-sided.js.map +1 -1
  52. package/dist/wcardinal/ui/d-text-base.js +34 -24
  53. package/dist/wcardinal/ui/d-text-base.js.map +1 -1
  54. package/dist/wcardinal/ui/theme/dark/d-theme-dark-input.js +2 -2
  55. package/dist/wcardinal/ui/theme/dark/d-theme-dark-input.js.map +1 -1
  56. package/dist/wcardinal/ui/theme/white/d-theme-white-input.js +2 -2
  57. package/dist/wcardinal/ui/theme/white/d-theme-white-input.js.map +1 -1
  58. package/dist/wcardinal/ui/util/dynamic-font-atlas-font.js +3 -1
  59. package/dist/wcardinal/ui/util/dynamic-font-atlas-font.js.map +1 -1
  60. package/dist/wcardinal-ui-theme-dark.js +3 -3
  61. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  62. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  63. package/dist/wcardinal-ui-theme-white.js +3 -3
  64. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  65. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  66. package/dist/wcardinal-ui.cjs.js +613 -467
  67. package/dist/wcardinal-ui.js +609 -463
  68. package/dist/wcardinal-ui.min.js +2 -2
  69. package/dist/wcardinal-ui.min.js.map +1 -1
  70. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.157.0
2
+ Winter Cardinal UI v0.158.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
6
6
  Material Design icons by Google
7
7
  Apache license version 2.0.
8
8
  */
9
- !function(){"use strict";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(256,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var u=n.u[t];if(null!=u)return this.t[t]=new u;throw new Error("No theme for the type '"+t+"'")},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(){n.setDefaultThemeClass(r)},e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,a=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,h=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=h.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=h.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=h.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=h.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=h.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=h.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),D=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),d=function(n,r,u){var e=2*r;t.add(n,e,e,'<g><defs><radialGradient id="'+n+'_filter"><stop offset="0%" stop-color="black" stop-opacity="'+u+'" /><stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs><rect x="0" y="0" width="'+e+'" height="'+e+'" fill="url(#'+n+'_filter)"/></g>')};d("shadow_weak",8,.5),d("shadow",12,.5),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 m=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return a.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new l(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new l(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(D),k=function(){r.set("DBase",m)},T=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return i(t,n),t.prototype.getBackgroundColor=function(){return this.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return o.BOTH},t}(m),p=function(){r.set("DBoard",T)};const g=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,I=wcardinal.ui.DAlignWith,x=wcardinal.ui.DDynamicTextStyleWordWrap,C=wcardinal.ui.toString;var v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return x.NONE},t.prototype.getTextFormatter=function(){return C},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(m),y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return I.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(v),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=h.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=h.brighten(t,u),e.OUTLINE_COLOR=h.darken(t,.75),e}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return w.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(y),S=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),M=function(){r.set("DButton",S)},_=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(B),L=function(){r.set("DButtonAmbient",_)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(){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}(),P=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return E.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return E.getImageSource(n)},t}(_),F=function(){r.set("DButtonCheck",P)},A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(P),N=function(){r.set("DButtonCheckRight",A)};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 R=function(n){return"#"+h.toCode(n.color)+" A"+n.alpha.toFixed(2)},z=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return R},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(S);const H=wcardinal.ui.DDialogCloseOn,G=wcardinal.ui.DDialogMode;var V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return G.MODAL},t.prototype.closeOn=function(){return H.ESC|H.CLICK_OUTSIDE},t.prototype.isSticky=function(){return!1},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return 3750201},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getX=function(){return"center"},t.prototype.getY=function(){return"center"},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(m),O=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return"Cancel"},t.prototype.getLayoutX=function(){return"padding"},t.prototype.getLayoutY=function(){return"padding"},t.prototype.getLayoutWidth=function(){return"padding"},t.prototype.getLayoutHeight=function(){return"auto"},t.prototype.getLayoutMargin=function(){},t}(V),Y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),W=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e)r+='<rect x="'+9*e+'" y="'+9*u+'" width="9" height="9" fill="'+((e+u)%2==0?"#5f5f5f":"#454545")+'" />';return r+"</g>"};t.add("picker_color_main",234,156,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="156" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="234" height="156" fill="url(#2rfcfe9874bw)" /></g>'),t.add("picker_color_alpha_checkerboard",234,18,W(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",18,18,W(2,2)),t.add("picker_color_recent_null",18,18,'<g><rect x="1.2" y="1.2" width="15.6" height="15.6" stroke="#fff" stroke-width="0.8" fill="none" /><line x1="16.8" y1="1.2" x2="1.2" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /><line x1="1.2" y1="1.2" x2="16.8" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /></g>'),t.add("picker_color_sample_checkerboard",45,63,W(5,7)),t.add("picker_color_sample_null",54,54,'<g><rect x="3.6" y="3.6" width="46.8" height="46.8" stroke="#fff" stroke-width="2.4" fill="none" /><line x1="50.4" y1="3.6" x2="3.6" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /><line x1="3.6" y1="3.6" x2="50.4" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /></g>'),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />');var X=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 156},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentNullTexture=function(){return t.mappings.picker_color_recent_null},r.prototype.getRecents=function(){return[]},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleNullTexture=function(){return t.mappings.picker_color_sample_null},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),K=function(){r.set("DPickerColor",X)},U=function(){r.set("DDialogColor",Y),K()},j=function(){r.set("DButtonColor",z),U()};const J=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var q=function(){return""},Q=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return q},r.prototype.newTextValue=function(){return new J},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(S),Z=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),$=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),nn=function(){r.set("DPickerColorGradient",$),K()},tn=function(){r.set("DDialogColorGradient",Z),nn()},rn=function(){r.set("DButtonColorGradient",Q),tn()},un=function(n){function t(){return n.call(this,15702682,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.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),en=function(){r.set("DButtonDanger",un)};const on=wcardinal.ui.DPickerDates;var cn=function(n){return on.format(n)},fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return cn},t.prototype.newTextValue=function(){return new Date},t}(S),an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O);const ln=wcardinal.ui.DPickerDatetimeMask;var hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t.prototype.getMask=function(){return ln.HOURS|ln.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}(m),sn=["January","February","March","April","May","June","July","August","September","October","November","December"],Dn=["Su","Mo","Tu","We","Th","Fr","Sa"],dn=function(n){return sn[n.getMonth()]+" "+n.getFullYear()},mn=function(){},kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return Dn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return dn},t.prototype.getDateDecorator=function(){return mn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return ln.DATE|n.prototype.getMask.call(this)},t}(hn),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return ln.DATE},t}(kn);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 pn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(_);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 wn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.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}(bn),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(bn),Cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),vn=function(){r.set("DPickerTime",hn)},yn=function(){r.set("DPickerDatetimeButtonBack",pn),r.set("DPickerDatetimeButtonDate",gn),r.set("DPickerDatetimeButtonNext",wn),r.set("DPickerDatetimeLabelDate",xn),r.set("DPickerDatetimeLabel",In),r.set("DPickerDatetimeSpace",Cn),r.set("DPickerDatetime",kn),vn()},Bn=function(){r.set("DPickerDate",Tn),yn()},Sn=function(){r.set("DDialogDate",an),Bn()},Mn=function(){r.set("DButtonDate",fn),Sn()};const _n=wcardinal.ui.DPickerDatetimes;var Ln=function(n,t){return _n.format(n,t.getDatetimeMask())},En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ln},t.prototype.newTextValue=function(){return new Date},t}(S),Pn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),Fn=function(){r.set("DDialogDatetime",Pn),yn()},An=function(){r.set("DButtonDatetime",En),Fn()},Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(S),Rn=function(){r.set("DButtonFile",Nn)},zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),Hn=function(){r.set("DButtonLink",zn)},Gn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.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),Vn=function(){r.set("DButtonPrimary",Gn)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var On=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(_),Yn=function(){r.set("DButtonRadio",On)},Wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(On),Xn=function(){r.set("DButtonRadioRight",Wn)},Kn=function(n){function t(){return n.call(this,12096758,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.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);const Un=wcardinal.ui.toLabel;var jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Un},t.prototype.newTextValue=function(){return null},t}(S),Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(O);const qn=wcardinal.ui.UtilGestureMode;var Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return qn.TOUCH},t}(m),Zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Qn),$n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Zn),nt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=h.blend(n,16777215,.02),this.D=1,this.m=h.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:h.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=h.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=0,this.l=0,this.h=0,this.D=.02,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 c.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 f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),tt=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new nt(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}(y),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(tt),ut=function(){r.set("DDialogSelect",Jn),r.set("DDialogSelectList",$n),r.set("DDialogSelectListItem",rt)};const et=wcardinal.ui.DPickerTimes;var it=function(n,t){return et.format(n,t.getDatetimeMask())},ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return it},t.prototype.newTextValue=function(){return new Date},t}(S),ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),ft=function(){r.set("DDialogTime",ct),vn()},at=function(){r.set("DButtonTime",ot),ft()},lt=function(){L(),F(),N(),j(),rn(),r.set("DButtonSelect",jn),ut(),en(),Mn(),An(),Rn(),Hn(),Vn(),Yn(),Xn(),r.set("DButtonSecondary",Kn),at(),M()},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(m),st=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 50},t.prototype.getPaddingTop=function(){return 50},t.prototype.getPaddingRight=function(){return 50},t.prototype.getPaddingBottom=function(){return 50},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t}(m),Dt=function(){r.set("DCanvasContainer",st),r.set("DCanvas",ht)},dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m);const mt=wcardinal.ui.DChartAxisPosition,kt=wcardinal.ui.DChartAxisTickPosition,Tt=wcardinal.ui.EShapeTextAlignHorizontal,pt=wcardinal.ui.EShapeTextAlignVertical,gt=wcardinal.ui.EShapeTextDirection;var wt=function(){function n(){}return n.prototype.getPosition=function(){return mt.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case mt.TOP:case mt.BOTTOM:return Tt.CENTER;case mt.LEFT:return Tt.OUTSIDE_LEFT;case mt.RIGHT:return Tt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case mt.TOP:return pt.OUTSIDE_TOP;case mt.BOTTOM:return pt.OUTSIDE_BOTTOM;case mt.LEFT:case mt.RIGHT:return pt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return gt.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return kt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case mt.TOP:case mt.BOTTOM:return Tt.CENTER;case mt.LEFT:return Tt.OUTSIDE_LEFT;case mt.RIGHT:return Tt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case mt.TOP:return pt.OUTSIDE_TOP;case mt.BOTTOM:return pt.OUTSIDE_BOTTOM;case mt.LEFT:case mt.RIGHT:return pt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return gt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%fsi"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return kt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(wt),It=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms.%mi"},t}(bt),xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return mt.LEFT},t.prototype.getLabelDirection=function(){return gt.BOTTOM_TO_TOP},t}(wt),Ct=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),vt=function(){function n(){}return n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),yt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),Bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(m);const Lt=wcardinal.ui.EShapeBar,Et=wcardinal.ui.EShapeBarPosition;var Pt=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new Lt;return t.points.position=Et.TOP,t.stroke.alpha=.5,t},n}(),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Pt),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new Lt;return t.points.position=Et.LEFT,t.stroke.alpha=.5,t},t}(Pt);const Nt=wcardinal.ui.EShapeCircle;var Rt=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new Nt;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),zt=function(){r.set("DChart",dt),r.set("DChartAxisX",bt),r.set("DChartAxisXDatetime",It),r.set("DChartAxisY",xt),r.set("DChartCoordinate",Ct),r.set("DChartCoordinateTick",vt),r.set("DChartCoordinateTransform",yt),r.set("DChartLegend",Bt),r.set("DChartLegendItem",St),r.set("DChartOverview",Mt),r.set("DChartPlotArea",_t),r.set("DChartSelectionGridlineX",Ft),r.set("DChartSelectionGridlineY",At),r.set("DChartSelectionMarker",Rt)},Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(st),Gt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ht),Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return s.BACKGROUND_COLOR},t}(ht),Ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Vt);const Yt=wcardinal.ui.EShapeStrokeSide,Wt=wcardinal.ui.EShapeStrokeStyle;var Xt=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Yt.ALL},n.prototype.getStrokeStyle=function(){return Wt.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getCursor=function(){return""},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Kt=function(){r.set("EShape",Xt)},Ut=function(){r.set("DDiagram",Gt),r.set("DDiagramCanvas",Ot),Kt()},jt=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},Jt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){return 1.25},t.prototype.getSnapGridMajorStyle=function(){return Wt.DASHED|Wt.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 jt},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Vt),qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(Ht);const Qt=wcardinal.ui.EShapeActionValueBlinkType,Zt=wcardinal.ui.EShapeActionValueChangeColorTarget,$t=wcardinal.ui.EShapeActionValueChangeColorType,nr=wcardinal.ui.EShapeActionValueChangeTextType,tr=wcardinal.ui.EShapeActionValueMiscType,rr=wcardinal.ui.EShapeActionValueOnInputAction,ur=wcardinal.ui.EShapeActionValueOpenType,er=wcardinal.ui.EShapeActionValueOpetyped,ir=wcardinal.ui.EShapeActionValueShowHideType,or=wcardinal.ui.EShapeActionValueSubtyped,cr=wcardinal.ui.EShapeActionValueTransformMoveType,fr=wcardinal.ui.EShapeActionValueTransformResizeType,ar=wcardinal.ui.EShapeActionValueTransformRotateType,lr=wcardinal.ui.EShapeActionValueTransformType,hr=wcardinal.ui.EShapeActionValueType,sr=wcardinal.ui.UtilHtmlElementWhen;var Dr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof or){var r,u=n.subtype;if(n instanceof er){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 this.toTypeLabel(n)+": "+this.toConditionLabel(t.condition)},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case hr.SHOW_HIDE:return""+this.toShowHideTypeLabel(t);case hr.BLINK:return u+": "+this.toBlinkTypeLabel(t);case hr.CHANGE_COLOR:case hr.CHANGE_COLOR_LEGACY:return u+": "+this.toChangeColorTypeLabel(t);case hr.MISC:return u+": "+this.toMiscTypeLabel(t)}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case hr.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case lr.ROTATE:return e+": "+this.toTransformRotateTypeLabel(r);case lr.MOVE:return e+": "+this.toTransformMoveTypeLabel(r);case lr.RESIZE:return e+": "+this.toTransformResizeTypeLabel(r)}}return null},n.prototype.toTypeLabel=function(n){switch(n){case hr.SHOW_HIDE:return"Show / hide";case hr.BLINK:return"Blink";case hr.TRANSFORM:return"Transform";case hr.OPEN:return"Open";case hr.CHANGE_COLOR:case hr.CHANGE_COLOR_LEGACY:return"Change color";case hr.CHANGE_TEXT:return"Change text";case hr.CHANGE_CURSOR:return"Change cursor";case hr.EMIT_EVENT:return"Emit an event";case hr.MISC:return"Misc."}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case Qt.VISIBILITY:return"Visibility";case Qt.BRIGHTEN:return"Brighten";case Qt.DARKEN:return"Darken";case Qt.OPACITY:return"Opacity";case Qt.COLOR_FILL:return"Fill";case Qt.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case ir.SHOW:return"Show";case ir.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case lr.RESIZE:return"Resize";case lr.MOVE:return"Move";case lr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case ar.RELATIVE:return"Relative";case ar.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case cr.RELATIVE_X:return"Relative X";case cr.RELATIVE_Y:return"Relative Y";case cr.ABSOLUTE_X:return"Absolute X";case cr.ABSOLUTE_Y:return"Absolute Y";case cr.FORWARD_OR_BACKWARD:return"Forward / backward";case cr.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case fr.ABSOLUTE_SIZE:return"Height & width";case fr.RELATIVE_SIZE:return"Height & width (%)";case fr.ABSOLUTE_HEIGHT:return"Height";case fr.RELATIVE_HEIGHT:return"Height (%)";case fr.ABSOLUTE_WIDTH:return"Width";case fr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===$t.NONE)return"None";var t="",r="";return n&$t.FILL&&(t+=r+"Fill",r=", "),n&$t.STROKE&&(t+=r+"Stroke",r=", "),n&$t.TEXT&&(t+=r+"Text",r=", "),n&$t.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Zt.COLOR_AND_ALPHA:return"Color";case Zt.COLOR:return"RGB";case Zt.ALPHA:return"Alpha";case Zt.CODE:return"Dynamic color";case Zt.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case nr.TEXT:return"Text";case nr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case ur.DIAGRAM:return"Diagram";case ur.PAGE:return"Page (New window)";case ur.PAGE_INPLACE:return"Page (In-place)";case ur.DIALOG_TEXT:return"Dialog (Text)";case ur.DIALOG_INTEGER:return"Dialog (Integer)";case ur.DIALOG_REAL:return"Dialog (Real)";case ur.DIALOG_BOOLEAN:return"Dialog (Boolean)";case ur.DIALOG_DATE:return"Dialog (Date)";case ur.DIALOG_TIME:return"Dialog (Time)";case ur.DIALOG_DATETIME:return"Dialog (Datetime)"}},n.prototype.toMiscTypeLabel=function(n){switch(n){case tr.INPUT_TEXT:return"Input (Text)";case tr.INPUT_INTEGER:return"Input (Integer)";case tr.INPUT_REAL:return"Input (Real)";case tr.EMIT_EVENT:return this.toOnInputActionLabel(rr.EMIT_EVENT);case tr.WRITE_BOTH:return this.toOnInputActionLabel(rr.WRITE_BOTH);case tr.WRITE_LOCAL:return this.toOnInputActionLabel(rr.WRITE_LOCAL);case tr.WRITE_REMOTE:return this.toOnInputActionLabel(rr.WRITE_REMOTE);case tr.HTML_ELEMENT:return"HTML element";case tr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case tr.LAYER_SHOW_HIDE:return"Show / hide layers";case tr.LAYER_GESTURE:return"Layer gesture";case tr.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case sr.CLICKED:return"Clicked";case sr.DOUBLE_CLICKED:return"Double clicked";case sr.FOCUSED:return"Focused";case sr.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case rr.EMIT_EVENT:return"Emit event";case rr.WRITE_BOTH:return"Write (Both)";case rr.WRITE_LOCAL:return"Write (Local)";case rr.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),dr=function(){r.set("EShapeActionValue",Dr)},mr=function(){r.set("DDiagramEditor",qt),r.set("DDiagramCanvasEditor",Jt),dr(),Kt()},kr=function(){r.set("DDialog",V)},Tr=function(){r.set("DDialogCommand",O)},pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Yes"},t.prototype.getCancel=function(){return"No"},t.prototype.getMessage=function(){return""},t}(O),gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(gr),br=function(){r.set("DDialogConfirm",pr),r.set("DDialogConfirmMessage",wr)},Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(pr),xr=function(){r.set("DDialogConfirmDelete",Ir)},Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(pr),vr=function(){r.set("DDialogConfirmDiscard",Cr)},yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getMarginVertical=function(){return 0},t.prototype.getMarginHorizontal=function(){return 32},t}(O),Br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),Sr=function(){r.set("DDialogInputBoolean",Br)},Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),_r=function(){r.set("DDialogInputInteger",Mr)},Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),Er=function(){r.set("DDialogInputReal",Lr)},Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),Fr=function(){r.set("DDialogInputText",Pr)},Ar=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t}(pr),Nr=function(){r.set("DDialogMessage",Ar)},Rr=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t.prototype.getMessage=function(){return Rr},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(pr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>'),t.add("fail_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Hr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:n.isFailed?t.mappings.fail_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(wr),Gr=function(){r.set("DDialogProcessing",zr),r.set("DDialogProcessingMessage",Hr)},Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Pr),Or=function(){r.set("DDialogSaveAs",Vr)},Yr=function(){tn(),U(),Tr(),br(),xr(),vr(),Sn(),Fn(),Sr(),_r(),Er(),Fr(),Nr(),Gr(),Or(),ut(),ft(),kr()};const Wr=wcardinal.ui.DLayoutDirection;var Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Wr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(m),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Wr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Xr),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Kr);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?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 f.ALL},t}(gr),Jr=function(){r.set("DExpandableHeader",jr),r.set("DExpandable",Ur)};const qr=wcardinal.ui.DHtmlElementState;var Qr=function(){return null},Zr=function(n){var t=document.createElement("div");return n.appendChild(t),t},$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Qr},t.prototype.setElementStyle=function(n,t,r,u,e,i){var o=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);n.setAttribute("style",o),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(qr.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: "+t.getTop()+"px "+t.getRight()+"px "+t.getBottom()+"px "+t.getLeft()+"px;":"padding: "+t.vertical+"px "+t.horizontal+"px;":"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){return n?t?"left:"+(n.x-t.x)+"px; top:"+(n.y-t.y)+"px;":"left:"+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.tx+","+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: "+this.getFontFamilly()+";font-size: "+this.getFontSize()+"px;color: #"+this.getColor(n).toString(16)+";line-height: "+this.getLineHeight()+"px;-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getClipperCreator=function(){return Zr},t.prototype.setClipperStyle=function(n,t,r,u,e,i){var o="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",o)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: "+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;line-height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.getBeforeCreator=function(){return Zr},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 Zr},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return sr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(y),nu=function(){r.set("DHtmlElement",$r)},tu=function(){r.set("DImage",gr)},ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Wr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Xr),uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(ru),eu=function(){r.set("DInputAndLabel",uu)},iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(ru),ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(S),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(S),fu=function(){r.set("DInputBoolean",iu),r.set("DInputBooleanButtonOn",cu),r.set("DInputBooleanButtonOff",ou)},au=function(){return null},lu=function(n){return n},hu=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=h.brighten(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:null},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 lu},t.prototype.getEditingValidator=function(){return au},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleMargin=function(n){return"margin: 0.1em 0 0 0;"},t}($r),su="d-theme-dark-input-element",Du=function(n){var t=n.getElementsByClassName(su);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",su),n.appendChild(r),r},du=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},mu=function(n){return du(n,"d-theme-dark-input-clipper")},ku=function(n){return du(n,"d-theme-dark-input-before")},Tu=function(n){return du(n,"d-theme-dark-input-after")},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Du},t.prototype.getClipperCreator=function(){return mu},t.prototype.getBeforeCreator=function(){return ku},t.prototype.getAfterCreator=function(){return Tu},t}(hu),gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(pu),wu=function(n){var t=parseInt(n,10);return t==t?t:0},bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return wu},t}(gu),Iu=function(){r.set("DInputInteger",bu)},xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(bn),Cu=function(){r.set("DInputLabel",xu)},vu=function(n){var t=parseFloat(n);return t==t?t:0},yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return vu},t}(gu),Bu=function(){r.set("DInputReal",yu)},Su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(pu);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 Mu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Su),_u=function(){r.set("DInputSearch",Mu)},Lu=function(){r.set("DInputText",Su)},Eu="d-theme-dark-input-text-area-element",Pu=function(n){var t=n.getElementsByClassName(Eu);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Eu),n.appendChild(r),r},Fu=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},Au=function(n){return Fu(n,"d-theme-dark-input-text-area-clipper")},Nu=function(n){return Fu(n,"d-theme-dark-input-text-area-before")},Ru=function(n){return Fu(n,"d-theme-dark-input-text-area-after")},zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return x.NORMAL},t.prototype.getElementCreator=function(){return Pu},t.prototype.getClipperCreator=function(){return Au},t.prototype.getBeforeCreator=function(){return Nu},t.prototype.getAfterCreator=function(){return Ru},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 x.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(hu),Hu=function(){r.set("DInputTextArea",zu)},Gu=function(){eu(),fu(),Iu(),Cu(),Bu(),_u(),Hu(),Lu()},Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return a.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),Ou=function(){r.set("DLayout",Xr),r.set("DLayoutHorizontal",ru),r.set("DLayoutSpace",Vu),r.set("DLayoutVertical",Kr)};const Yu=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 Wu=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:Yu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Yu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Yu.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in new window"},n.prototype.getLabelCopyLinkAddress=function(){return"Copy link address"},n}(),Xu=function(){r.set("DLink",Wu)},Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!1,!0)},t}(tt),Uu=function(){r.set("DListItemAmbient",Ku),r.set("DListItem",tt),r.set("DList",Zn)},ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Kr),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(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 g.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(gr),qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Ju),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(qu);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 Zu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Qu),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Kr),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Kr),te=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}();te.init();var re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?te.getImageOpened():te.getImageClosed()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Ju),ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(Zu);const ee=wcardinal.ui.DBaseState;var ie=function(t){function r(){var r=t.call(this)||this;return r._=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(ee.NEW_WINDOW)?this._.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r}(Qu),oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ie);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 ce=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(qu),fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ce),ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ju),le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ae),he=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Vu),se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(he),De=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Qu),de=function(){r.set("DMenu",ju),r.set("DMenuItem",qu),r.set("DMenuItemCheck",Zu),r.set("DMenuItemLink",ie),r.set("DMenuItemMenu",ce),r.set("DMenuItemSeparator",ae),r.set("DMenuItemSpace",he),r.set("DMenuItemText",Qu),r.set("DMenuItemExpandableBody",ne),r.set("DMenuItemExpandableHeader",re),r.set("DMenuItemExpandableItemCheck",ue),r.set("DMenuItemExpandableItemLink",oe),r.set("DMenuItemExpandableItemMenu",fe),r.set("DMenuItemExpandableItemSeparator",le),r.set("DMenuItemExpandableItemSpace",se),r.set("DMenuItemExpandableItemText",De),r.set("DMenuItemExpandable",$u)},me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(ru),ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(S),Te=function(){r.set("DMenuBarItem",ke),r.set("DMenuBar",me),de()},pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(Qn),ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Kr),we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zu),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($u),Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ue),xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(oe),Ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fe),ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(le),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(se),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(De),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ie),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ce),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ae),Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(he),Ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qu),Pe=function(){r.set("DMenuSided",pe),r.set("DMenuSidedContent",ge),r.set("DMenuSidedItemCheck",we),r.set("DMenuSidedItemLink",Se),r.set("DMenuSidedItemMenu",Me),r.set("DMenuSidedItemSeparator",_e),r.set("DMenuSidedItemSpace",Le),r.set("DMenuSidedItemText",Ee),r.set("DMenuSidedItemExpandable",be),r.set("DMenuSidedItemExpandableItemCheck",Ie),r.set("DMenuSidedItemExpandableItemLink",xe),r.set("DMenuSidedItemExpandableItemMenu",Ce),r.set("DMenuSidedItemExpandableItemSeparator",ve),r.set("DMenuSidedItemExpandableItemSpace",ye),r.set("DMenuSidedItemExpandableItemText",Be)},Fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return I.TEXT},t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Error"},t}(Fe),Ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Fe),Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Fe),ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(Fe),He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(ze),Ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(ze),Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(ze),Oe=function(){r.set("DNote",Fe),r.set("DNoteError",Ae),r.set("DNoteNoItemsFound",Ne),r.set("DNoteSearching",Re),r.set("DNoteSmallError",He),r.set("DNoteSmallNoItemsFound",Ge),r.set("DNoteSmallSearching",Ve)},Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(ru);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="15" r="1.1" fill="#fff" stroke="none" /></g>');var We=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r}(y);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var Xe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(_);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 Ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(_),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(_);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 je=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(_);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 Je=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(_),qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t}(y),Qe=function(){r.set("DPagination",Ye),r.set("DPaginationPage",qe),r.set("DPaginationDots",We),r.set("DPaginationButtonLast",Xe),r.set("DPaginationButtonNext",Ke),r.set("DPaginationButtonPage",Ue),r.set("DPaginationButtonPrevious",je),r.set("DPaginationButtonTop",Je)},Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(m),ni=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=h.brighten(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),ti=function(){r.set("DScrollBar",$e),r.set("DScrollBarThumb",ni)},ri=function(){r.set("DPane",Qn),r.set("DContent",Ze),ti()};const ui=wcardinal.ui.isString;t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var ei=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return I.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),ii=function(n){if(n){var t=n.text;if(ui(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ii},t.prototype.newTextValue=function(){return null},t}(ei),ci=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text;if(ui(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ci},t.prototype.newTextValue=function(){return[]},t}(ei),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(ei),li=function(){r.set("DDropdown",ai)},hi=function(){r.set("DSelectMultiple",fi),r.set("DSelect",oi),li()},si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(m),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(si),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),mi=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=h.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=h.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=h.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=h.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=h.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 ki=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return mi.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)+2},r}(S),Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return mi.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}(S),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Ti),gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Ti),wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"AUTO"},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?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 g.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}(v),bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(si),Ii=function(){r.set("DSlider",si),r.set("DSliderValue",wi),r.set("DSliderLabel",di),r.set("DSliderThumb",ki),r.set("DSliderVertical",bi),r.set("DSliderHorizontal",Di),r.set("DSliderTrack",Ti),r.set("DSliderTrackVertical",gi),r.set("DSliderTrackHorizontal",pi)},xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(Qn),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return f.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m);const vi=wcardinal.ui.DTableState;var yi=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(vi.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(vi.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(vi.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=h.brighten(t.BACKGROUND_COLOR,.02),n.BACKGROUND_COLOR_FROZEN_ODD=h.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.02),n.BORDER_COLOR=h.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=h.darken(t.BORDER_COLOR,.035),n}(),Bi=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 yi.getImageTintColor(n,!0)},n}(),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);Bi.init();var Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Bi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Si);Bi.init();var _i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.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 Bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Bi.getImageSource(n)},t}(ai),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);Bi.init();var Ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Bi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Li),Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getImageTintColor=function(n){return yi.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(y),Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Pi),Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getImageTintColor=function(n){return yi.getImageTintColor(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(P),Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(z),Ri=function(n){return on.format(n)},zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getTextFormatter=function(){return Ri},t.prototype.newTextValue=function(){return new Date},t}(S),Hi=function(n,t){return _n.format(n,t.getDatetimeMask())},Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getTextFormatter=function(){return Hi},t.prototype.newTextValue=function(){return new Date},t}(S),Vi=function(n){return String(Number(n)+1)},Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Vi},t.prototype.newTextValue=function(){return 0},t}(y),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(bu),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(yu),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(Su),Ki=function(){function n(){}return n.init=function(){te.init()},n.getImageSource=function(n){return n.is(vi.HAS_CHILDREN)?n.is(vi.OPENED)?te.getImageOpened():te.getImageClosed():null},n}();Ki.init();var Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(m),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Su),Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageSource=function(n){return Ki.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),qi=function(t){function r(){var r=t.call(this)||this;return r._=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return yi.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this._.getImageSource(n)},r}(Fi),Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(oi),Zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(fi),$i=function(n,t){return et.format(n,t.getDatetimeMask())},no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getTextFormatter=function(){return $i},t.prototype.newTextValue=function(){return new Date},t}(S);Ki.init();var to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Ki.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Fi),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(ru),uo=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=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(ro),eo=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(ro),io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(eo);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 oo=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=h.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=h.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=h.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=h.darken(t.BORDER_COLOR,.05),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(vi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(vi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(vi.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(vi.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return g.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getSecondaryImageTintColor=function(t){return t.is(vi.CHECKABLE)?E.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(vi.CHECKABLE)?E.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return I.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(vi.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(vi.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return I.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(vi.CHECKABLE)||n.is(vi.SORTABLE))?"pointer":""},r}(gr),co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(oo),fo=function(){r.set("DTableBodyCellActionDialog",Mi),r.set("DTableBodyCellActionMenu",_i),r.set("DTableBodyCellActionPromise",Ei),r.set("DTableBodyCellButton",Fi),r.set("DTableBodyCellCheck",Ai),r.set("DTableBodyCellColor",Ni),r.set("DTableBodyCellDate",zi),r.set("DTableBodyCellDatetime",Gi),r.set("DTableBodyCellIndex",Oi),r.set("DTableBodyCellInputInteger",Yi),r.set("DTableBodyCellInputReal",Wi),r.set("DTableBodyCellInputText",Xi),r.set("DTableBodyCellInputTreeMarker",Ji),r.set("DTableBodyCellInputTreeInput",ji),r.set("DTableBodyCellInputTree",Ui),r.set("DTableBodyCellLink",qi),r.set("DTableBodyCellSelectDialog",Si),r.set("DTableBodyCellSelectMenu",Qi),r.set("DTableBodyCellSelectMultiple",Zi),r.set("DTableBodyCellSelectPromise",Li),r.set("DTableBodyCellText",Pi),r.set("DTableBodyCellTree",to),r.set("DTableBodyCellTime",no),r.set("DTableBodyRow",uo),r.set("DTableBody",Ci),r.set("DTableCategoryCell",co),r.set("DTableCategory",io),r.set("DTableHeaderCell",oo),r.set("DTableHeader",eo),r.set("DTableRow",ro),r.set("DTable",xi),F(),j(),Mn(),An(),Iu(),Bu(),Lu(),ut(),de()},ao=function(){r.set("DText",bn)},lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Ki.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 I.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(nt),ho=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new lo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Qn),so=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new lo(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}(y),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(so);Ki.init();var mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Do),ko=function(){r.set("DTree",ho),r.set("DTreeItemText",so),r.set("DTreeItemButton",Do),r.set("DTreeItemNonEditable",mo)};const To=wcardinal.ui.UtilGestureModifier;var po=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return To.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return To.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return To.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return qn.ON},n.prototype.getGestureModifier=function(){return To.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),go=function(){r.set("DView",po)},wo=function(){u(),k(),p(),lt(),Dt(),zt(),Ut(),mr(),Yr(),Jr(),nu(),tu(),Gu(),Ou(),Xu(),Uu(),ko(),de(),Te(),Pe(),Oe(),Qe(),ri(),K(),nn(),Bn(),yn(),vn(),ti(),hi(),Ii(),fo(),ao(),go()},bo={__proto__:null,loadThemeDarkAll:wo,loadThemeDarkBase:k,loadThemeDark:u,loadThemeDarkBoard:p,loadThemeDarkButtonAll:lt,loadThemeDarkButtonAmbient:L,loadThemeDarkButtonCheck:F,loadThemeDarkButtonCheckRight:N,loadThemeDarkButtonColor:j,loadThemeDarkButtonColorGradient:rn,loadThemeDarkButtonDanger:en,loadThemeDarkButtonDate:Mn,loadThemeDarkButtonDatetime:An,loadThemeDarkButtonFile:Rn,loadThemeDarkButtonLink:Hn,loadThemeDarkButtonPrimary:Vn,loadThemeDarkButtonRadio:Yn,loadThemeDarkButtonRadioRight:Xn,loadThemeDarkButtonTime:at,loadThemeDarkButton:M,loadThemeDarkCanvasContainer:Dt,loadThemeDarkChart:zt,loadThemeDarkDiagram:Ut,loadThemeDarkDiagramEditor:mr,loadThemeDarkDialogAll:Yr,loadThemeDarkDialogColorGradient:tn,loadThemeDarkDialogColor:U,loadThemeDarkDialogCommand:Tr,loadThemeDarkDialogConfirm:br,loadThemeDarkDialogConfirmDelete:xr,loadThemeDarkDialogConfirmDiscard:vr,loadThemeDarkDialogDate:Sn,loadThemeDarkDialogDatetime:Fn,loadThemeDarkDialogInputBoolean:Sr,loadThemeDarkDialogInputInteger:_r,loadThemeDarkDialogInputReal:Er,loadThemeDarkDialogInputText:Fr,loadThemeDarkDialogMessage:Nr,loadThemeDarkDialogProcessing:Gr,loadThemeDarkDialogSaveAs:Or,loadThemeDarkDialogSelect:ut,loadThemeDarkDialogTime:ft,loadThemeDarkDialog:kr,loadThemeDarkDropdown:li,loadThemeDarkExpandable:Jr,loadThemeDarkHtmlElement:nu,loadThemeDarkImage:tu,loadThemeDarkInputAll:Gu,loadThemeDarkInputAndLabel:eu,loadThemeDarkInputBoolean:fu,loadThemeDarkInputInteger:Iu,loadThemeDarkInputLabel:Cu,loadThemeDarkInputReal:Bu,loadThemeDarkInputSearch:_u,loadThemeDarkInputTextArea:Hu,loadThemeDarkInputText:Lu,loadThemeDarkLayout:Ou,loadThemeDarkLink:Xu,loadThemeDarkList:Uu,loadThemeDarkTree:ko,loadThemeDarkMenu:de,loadThemeDarkMenuBar:Te,loadThemeDarkMenuSided:Pe,loadThemeDarkNote:Oe,loadThemeDarkPagination:Qe,loadThemeDarkPane:ri,loadThemeDarkPickerColorGradient:nn,loadThemeDarkPickerColor:K,loadThemeDarkPickerDate:Bn,loadThemeDarkPickerDatetime:yn,loadThemeDarkPickerTime:vn,loadThemeDarkScrollBar:ti,loadThemeDarkSelect:hi,loadThemeDarkShapeActionValue:dr,loadThemeDarkShape:Kt,loadThemeDarkTable:fo,loadThemeDarkText:ao,loadThemeDarkView:go,loadThemeDarkSlider:Ii,DThemeDarkAtlas:t,DThemeDarkBase:m,DThemeDarkBoard:T,DThemeDarkButton:S,DThemeDarkButtonAmbient:_,DThemeDarkButtonBase:B,DThemeDarkButtonCheck:P,DThemeDarkButtonCheckRight:A,DThemeDarkButtonChecks:E,DThemeDarkButtonColor:z,DThemeDarkButtonColorGradient:Q,DThemeDarkButtonDanger:un,DThemeDarkButtonDate:fn,DThemeDarkButtonDatetime:En,DThemeDarkButtonFile:Nn,DThemeDarkButtonLink:zn,DThemeDarkButtonPrimary:Gn,DThemeDarkButtonRadio:On,DThemeDarkButtonRadioRight:Wn,DThemeDarkButtonSecondary:Kn,DThemeDarkButtonTime:ot,DThemeDarkCanvas:ht,DThemeDarkCanvasContainer:st,DThemeDarkChart:dt,DThemeDarkChartAxisBase:wt,DThemeDarkChartAxisX:bt,DThemeDarkChartAxisXDatetime:It,DThemeDarkChartAxisY:xt,DThemeDarkChartCoordinateTick:vt,DThemeDarkChartCoordinateTransform:yt,DThemeDarkChartCoordinate:Ct,DThemeDarkChartLegend:Bt,DThemeDarkChartLegendItem:St,DThemeDarkChartOverview:Mt,DThemeDarkChartPlotArea:_t,DThemeDarkContent:Ze,DThemeDarkDiagram:Gt,DThemeDarkDiagramBase:Ht,DThemeDarkDiagramCanvas:Ot,DThemeDarkDiagramCanvasBase:Vt,DThemeDarkDiagramCanvasEditor:Jt,DThemeDarkDiagramEditor:qt,DThemeDarkDialog:V,DThemeDarkDialogColor:Y,DThemeDarkDialogColorGradient:Z,DThemeDarkDialogCommand:O,DThemeDarkDialogConfirm:pr,DThemeDarkDialogConfirmDelete:Ir,DThemeDarkDialogConfirmDiscard:Cr,DThemeDarkDialogConfirmMessage:wr,DThemeDarkDialogDate:an,DThemeDarkDialogDatetime:Pn,DThemeDarkDialogInputBoolean:Br,DThemeDarkDialogInputInteger:Mr,DThemeDarkDialogInputReal:Lr,DThemeDarkDialogInputText:Pr,DThemeDarkDialogInput:yr,DThemeDarkDialogMessage:Ar,DThemeDarkDialogProcessing:zr,DThemeDarkDialogProcessingMessage:Hr,DThemeDarkDialogSaveAs:Vr,DThemeDarkDialogSelect:Jn,DThemeDarkDialogSelectList:$n,DThemeDarkDialogSelectListItem:rt,DThemeDarkDialogTime:ct,DThemeDarkDropdown:ai,DThemeDarkExpandable:Ur,DThemeDarkExpandableHeader:jr,DThemeDarkFont:D,DThemeDarkHtmlElement:$r,DThemeDarkImage:gr,DThemeDarkImageBase:y,DThemeDarkInputAndLabel:uu,DThemeDarkInputBooleanButtonOff:ou,DThemeDarkInputBooleanButtonOn:cu,DThemeDarkInputBoolean:iu,DThemeDarkInputInput:pu,DThemeDarkInputInteger:bu,DThemeDarkInputLabel:xu,DThemeDarkInputNumber:gu,DThemeDarkInputReal:yu,DThemeDarkInputSearch:Mu,DThemeDarkInputTextArea:zu,DThemeDarkInputText:Su,DThemeDarkInput:hu,DThemeDarkLayoutHorizontal:ru,DThemeDarkLayoutSpace:Vu,DThemeDarkLayoutVertical:Kr,DThemeDarkLayout:Xr,DThemeDarkLink:Wu,DThemeDarkListItemAmbient:Ku,DThemeDarkListItem:tt,DThemeDarkListItems:nt,DThemeDarkList:Zn,DThemeDarkMenu:ju,DThemeDarkMenuBar:me,DThemeDarkMenuBarItem:ke,DThemeDarkMenuItemBase:Ju,DThemeDarkMenuItemCheck:Zu,DThemeDarkMenuItemExpandableBody:ne,DThemeDarkMenuItemExpandableHeader:re,DThemeDarkMenuItemExpandableItemCheck:ue,DThemeDarkMenuItemExpandableItemLink:oe,DThemeDarkMenuItemExpandableItemMenu:fe,DThemeDarkMenuItemExpandableItemSeparator:le,DThemeDarkMenuItemExpandableItemSpace:se,DThemeDarkMenuItemExpandableItemText:De,DThemeDarkMenuItemExpandable:$u,DThemeDarkMenuItemLink:ie,DThemeDarkMenuItemMenu:ce,DThemeDarkMenuItemSeparator:ae,DThemeDarkMenuItemSpace:he,DThemeDarkMenuItemText:Qu,DThemeDarkMenuItem:qu,DThemeDarkMenuSided:pe,DThemeDarkMenuSidedContent:ge,DThemeDarkMenuSidedItemCheck:we,DThemeDarkMenuSidedItemExpandable:be,DThemeDarkMenuSidedItemExpandableItemCheck:Ie,DThemeDarkMenuSidedItemExpandableItemLink:xe,DThemeDarkMenuSidedItemExpandableItemMenu:Ce,DThemeDarkMenuSidedItemExpandableItemSeparator:ve,DThemeDarkMenuSidedItemExpandableItemSpace:ye,DThemeDarkMenuSidedItemExpandableItemText:Be,DThemeDarkMenuSidedItemLink:Se,DThemeDarkMenuSidedItemMenu:Me,DThemeDarkMenuSidedItemSeparator:_e,DThemeDarkMenuSidedItemSpace:Le,DThemeDarkMenuSidedItemText:Ee,DThemeDarkNoteError:Ae,DThemeDarkNoteNoItemsFound:Ne,DThemeDarkNoteSearching:Re,DThemeDarkNoteSmallError:He,DThemeDarkNoteSmallNoItemsFound:Ge,DThemeDarkNoteSmallSearching:Ve,DThemeDarkNoteSmall:ze,DThemeDarkNote:Fe,DThemeDarkPaginationButtonLast:Xe,DThemeDarkPaginationButtonNext:Ke,DThemeDarkPaginationButtonPage:Ue,DThemeDarkPaginationButtonPrevious:je,DThemeDarkPaginationButtonTop:Je,DThemeDarkPaginationDots:We,DThemeDarkPaginationPage:qe,DThemeDarkPagination:Ye,DThemeDarkPane:Qn,DThemeDarkPickerColor:X,DThemeDarkPickerColorGradient:$,DThemeDarkPickerDate:Tn,DThemeDarkPickerDatetimeButtonBack:pn,DThemeDarkPickerDatetimeButtonDate:gn,DThemeDarkPickerDatetimeButtonNext:wn,DThemeDarkPickerDatetimeLabel:In,DThemeDarkPickerDatetimeLabelDate:xn,DThemeDarkPickerDatetimeSpace:Cn,DThemeDarkPickerDatetime:kn,DThemeDarkPickerTime:hn,DThemeDarkScrollBar:$e,DThemeDarkScrollBarThumb:ni,DThemeDarkSelectMultiple:fi,DThemeDarkSelect:oi,DThemeDarkSlider:si,DThemeDarkSliderHorizontal:Di,DThemeDarkSliderLabel:di,DThemeDarkSliderThumb:ki,DThemeDarkSliderTrack:Ti,DThemeDarkSliderTrackHorizontal:pi,DThemeDarkSliderTrackVertical:gi,DThemeDarkSliderValue:wi,DThemeDarkSliderVertical:bi,DThemeDarkTable:xi,DThemeDarkTableBodyCellButton:Fi,DThemeDarkTableBodyCellCheck:Ai,DThemeDarkTableBodyCellColor:Ni,DThemeDarkTableBodyCellDate:zi,DThemeDarkTableBodyCellDatetime:Gi,DThemeDarkTableBodyCellIndex:Oi,DThemeDarkTableBodyCellInputInteger:Yi,DThemeDarkTableBodyCellInputReal:Wi,DThemeDarkTableBodyCellInputText:Xi,DThemeDarkTableBodyCellLink:qi,DThemeDarkTableBodyCellSelectDialog:Si,DThemeDarkTableBodyCellSelectMenu:Qi,DThemeDarkTableBodyCellSelectPromise:Li,DThemeDarkTableBodyCellText:Pi,DThemeDarkTableBodyCellTime:no,DThemeDarkTableBodyCells:yi,DThemeDarkTableBodyRow:uo,DThemeDarkTableBody:Ci,DThemeDarkTableCategory:io,DThemeDarkTableCategoryCell:co,DThemeDarkTableHeader:eo,DThemeDarkTableHeaderCell:oo,DThemeDarkTableRow:ro,DThemeDarkText:bn,DThemeDarkTextBase:v,DThemeDarkTreeItemButton:Do,DThemeDarkTreeItemNonEditable:mo,DThemeDarkTreeItemText:so,DThemeDarkTreeItems:lo,DThemeDarkTree:ho,DThemeDarkView:po,DThemeDark:r,EThemeDarkShapeActionValue:Dr,EThemeDarkShape:Xt};wo();var Io=window;Io.wcardinal=Io.wcardinal||{};var xo=Io.wcardinal.ui=Io.wcardinal.ui||{},Co=bo;for(var vo in Co)xo[vo]=Co[vo]}();
9
+ !function(){"use strict";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(256,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var u=n.u[t];if(null!=u)return this.t[t]=new u;throw new Error("No theme for the type '"+t+"'")},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(){n.setDefaultThemeClass(r)},e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,a=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,h=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=h.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=h.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=h.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=h.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=h.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=h.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),D=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),d=function(n,r,u){var e=2*r;t.add(n,e,e,'<g><defs><radialGradient id="'+n+'_filter"><stop offset="0%" stop-color="black" stop-opacity="'+u+'" /><stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs><rect x="0" y="0" width="'+e+'" height="'+e+'" fill="url(#'+n+'_filter)"/></g>')};d("shadow_weak",8,.5),d("shadow",12,.5),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 m=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return a.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new l(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new l(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(D),k=function(){r.set("DBase",m)},T=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return i(t,n),t.prototype.getBackgroundColor=function(){return this.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return o.BOTH},t}(m),p=function(){r.set("DBoard",T)};const g=wcardinal.ui.DAlignHorizontal,b=wcardinal.ui.DButtonBaseWhen,w=wcardinal.ui.DAlignVertical,I=wcardinal.ui.DAlignWith,x=wcardinal.ui.DDynamicTextStyleWordWrap,C=wcardinal.ui.toString;var v=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return x.NONE},t.prototype.getTextFormatter=function(){return C},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(m),y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return w.MIDDLE},t.prototype.getImageAlignWith=function(){return I.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(v),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=h.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=h.brighten(t,u),e.OUTLINE_COLOR=h.darken(t,.75),e}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return b.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(y),S=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),M=function(){r.set("DButton",S)},_=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(B),L=function(){r.set("DButtonAmbient",_)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(){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}(),P=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return E.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return E.getImageSource(n)},t}(_),F=function(){r.set("DButtonCheck",P)},A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(P),N=function(){r.set("DButtonCheckRight",A)};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 R=function(n){return"#"+h.toCode(n.color)+" A"+n.alpha.toFixed(2)},z=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageTintColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.button_color_sample},r.prototype.getTextFormatter=function(){return R},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(S);const H=wcardinal.ui.DDialogCloseOn,G=wcardinal.ui.DDialogMode;var V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return G.MODAL},t.prototype.closeOn=function(){return H.ESC|H.CLICK_OUTSIDE},t.prototype.isSticky=function(){return!1},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return 3750201},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getX=function(){return"center"},t.prototype.getY=function(){return"center"},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(m),O=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return"Cancel"},t.prototype.getLayoutX=function(){return"padding"},t.prototype.getLayoutY=function(){return"padding"},t.prototype.getLayoutWidth=function(){return"padding"},t.prototype.getLayoutHeight=function(){return"auto"},t.prototype.getLayoutMargin=function(){},t}(V),Y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),W=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e)r+='<rect x="'+9*e+'" y="'+9*u+'" width="9" height="9" fill="'+((e+u)%2==0?"#5f5f5f":"#454545")+'" />';return r+"</g>"};t.add("picker_color_main",234,156,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="156" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="234" height="156" fill="url(#2rfcfe9874bw)" /></g>'),t.add("picker_color_alpha_checkerboard",234,18,W(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",18,18,W(2,2)),t.add("picker_color_recent_null",18,18,'<g><rect x="1.2" y="1.2" width="15.6" height="15.6" stroke="#fff" stroke-width="0.8" fill="none" /><line x1="16.8" y1="1.2" x2="1.2" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /><line x1="1.2" y1="1.2" x2="16.8" y2="16.8" stroke="#fff" stroke-width="0.8" stroke-linecap="round" /></g>'),t.add("picker_color_sample_checkerboard",45,63,W(5,7)),t.add("picker_color_sample_null",54,54,'<g><rect x="3.6" y="3.6" width="46.8" height="46.8" stroke="#fff" stroke-width="2.4" fill="none" /><line x1="50.4" y1="3.6" x2="3.6" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /><line x1="3.6" y1="3.6" x2="50.4" y2="50.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" /></g>'),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />');var X=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getMainWidth=function(){return 234},r.prototype.getMainHeight=function(){return 156},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentNullTexture=function(){return t.mappings.picker_color_recent_null},r.prototype.getRecents=function(){return[]},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleNullTexture=function(){return t.mappings.picker_color_sample_null},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),K=function(){r.set("DPickerColor",X)},U=function(){r.set("DDialogColor",Y),K()},j=function(){r.set("DButtonColor",z),U()};const J=wcardinal.ui.DColorGradientObservable;t.add("button_color_gradient_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var q=function(){return""},Q=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getViewBaseTexture=function(){return t.mappings.button_color_gradient_sample},r.prototype.getTextFormatter=function(){return q},r.prototype.newTextValue=function(){return new J},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(S),Z=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),$=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.BOTH},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),nn=function(){r.set("DPickerColorGradient",$),K()},tn=function(){r.set("DDialogColorGradient",Z),nn()},rn=function(){r.set("DButtonColorGradient",Q),tn()},un=function(n){function t(){return n.call(this,15702682,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.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),en=function(){r.set("DButtonDanger",un)};const on=wcardinal.ui.DPickerDates;var cn=function(n){return on.format(n)},fn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return cn},t.prototype.newTextValue=function(){return new Date},t}(S),an=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O);const ln=wcardinal.ui.DPickerDatetimeMask;var hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t.prototype.getMask=function(){return ln.HOURS|ln.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}(m),sn=["January","February","March","April","May","June","July","August","September","October","November","December"],Dn=["Su","Mo","Tu","We","Th","Fr","Sa"],dn=function(n){return sn[n.getMonth()]+" "+n.getFullYear()},mn=function(){},kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return Dn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return dn},t.prototype.getDateDecorator=function(){return mn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return ln.DATE|n.prototype.getMask.call(this)},t}(hn),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return ln.DATE},t}(kn);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 pn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(_);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 bn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),In=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t}(wn),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(wn),Cn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),vn=function(){r.set("DPickerTime",hn)},yn=function(){r.set("DPickerDatetimeButtonBack",pn),r.set("DPickerDatetimeButtonDate",gn),r.set("DPickerDatetimeButtonNext",bn),r.set("DPickerDatetimeLabelDate",xn),r.set("DPickerDatetimeLabel",In),r.set("DPickerDatetimeSpace",Cn),r.set("DPickerDatetime",kn),vn()},Bn=function(){r.set("DPickerDate",Tn),yn()},Sn=function(){r.set("DDialogDate",an),Bn()},Mn=function(){r.set("DButtonDate",fn),Sn()};const _n=wcardinal.ui.DPickerDatetimes;var Ln=function(n,t){return _n.format(n,t.getDatetimeMask())},En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ln},t.prototype.newTextValue=function(){return new Date},t}(S),Pn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),Fn=function(){r.set("DDialogDatetime",Pn),yn()},An=function(){r.set("DButtonDatetime",En),Fn()},Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(S),Rn=function(){r.set("DButtonFile",Nn)},zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),Hn=function(){r.set("DButtonLink",zn)},Gn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.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),Vn=function(){r.set("DButtonPrimary",Gn)};t.add("button_radio_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>'),t.add("button_radio_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var On=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(_),Yn=function(){r.set("DButtonRadio",On)},Wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(On),Xn=function(){r.set("DButtonRadioRight",Wn)},Kn=function(n){function t(){return n.call(this,12096758,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.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);const Un=wcardinal.ui.toLabel;var jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Un},t.prototype.newTextValue=function(){return null},t}(S),Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(O);const qn=wcardinal.ui.UtilGestureMode;var Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return qn.TOUCH},t}(m),Zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Qn),$n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 250},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Zn),nt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=h.blend(n,16777215,.02),this.D=1,this.m=h.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:h.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=h.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=0,this.l=0,this.h=0,this.D=.02,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 c.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 f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),tt=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new nt(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}(y),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(tt),ut=function(){r.set("DDialogSelect",Jn),r.set("DDialogSelectList",$n),r.set("DDialogSelectListItem",rt)};const et=wcardinal.ui.DPickerTimes;var it=function(n,t){return et.format(n,t.getDatetimeMask())},ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return it},t.prototype.newTextValue=function(){return new Date},t}(S),ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLayoutWidth=function(){return"auto"},t.prototype.getLayoutHeight=function(){return"auto"},t}(O),ft=function(){r.set("DDialogTime",ct),vn()},at=function(){r.set("DButtonTime",ot),ft()},lt=function(){L(),F(),N(),j(),rn(),r.set("DButtonSelect",jn),ut(),en(),Mn(),An(),Rn(),Hn(),Vn(),Yn(),Xn(),r.set("DButtonSecondary",Kn),at(),M()},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(m),st=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 50},t.prototype.getPaddingTop=function(){return 50},t.prototype.getPaddingRight=function(){return 50},t.prototype.getPaddingBottom=function(){return 50},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t}(m),Dt=function(){r.set("DCanvasContainer",st),r.set("DCanvas",ht)},dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return 80},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingBottom=function(){return 70},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m);const mt=wcardinal.ui.DChartAxisPosition,kt=wcardinal.ui.DChartAxisTickPosition,Tt=wcardinal.ui.EShapeTextAlignHorizontal,pt=wcardinal.ui.EShapeTextAlignVertical,gt=wcardinal.ui.EShapeTextDirection;var bt=function(){function n(){}return n.prototype.getPosition=function(){return mt.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case mt.TOP:case mt.BOTTOM:return Tt.CENTER;case mt.LEFT:return Tt.OUTSIDE_LEFT;case mt.RIGHT:return Tt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case mt.TOP:return pt.OUTSIDE_TOP;case mt.BOTTOM:return pt.OUTSIDE_BOTTOM;case mt.LEFT:case mt.RIGHT:return pt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return gt.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return kt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case mt.TOP:case mt.BOTTOM:return Tt.CENTER;case mt.LEFT:return Tt.OUTSIDE_LEFT;case mt.RIGHT:return Tt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case mt.TOP:return pt.OUTSIDE_TOP;case mt.BOTTOM:return pt.OUTSIDE_BOTTOM;case mt.LEFT:case mt.RIGHT:return pt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return gt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%fsi"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return kt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),wt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(bt),It=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms.%mi"},t}(wt),xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return mt.LEFT},t.prototype.getLabelDirection=function(){return gt.BOTTOM_TO_TOP},t}(bt),Ct=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),vt=function(){function n(){}return n.prototype.toStepScale=function(n){return 5.5<=n?10:2.2<=n?5:1.1<=n?2:1},n}(),yt=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<1e-5},n}(),Bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(m);const Lt=wcardinal.ui.EShapeBar,Et=wcardinal.ui.EShapeBarPosition;var Pt=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new Lt;return t.points.position=Et.TOP,t.stroke.alpha=.5,t},n}(),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Pt),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new Lt;return t.points.position=Et.LEFT,t.stroke.alpha=.5,t},t}(Pt);const Nt=wcardinal.ui.EShapeCircle;var Rt=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new Nt;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),zt=function(){r.set("DChart",dt),r.set("DChartAxisX",wt),r.set("DChartAxisXDatetime",It),r.set("DChartAxisY",xt),r.set("DChartCoordinate",Ct),r.set("DChartCoordinateTick",vt),r.set("DChartCoordinateTransform",yt),r.set("DChartLegend",Bt),r.set("DChartLegendItem",St),r.set("DChartOverview",Mt),r.set("DChartPlotArea",_t),r.set("DChartSelectionGridlineX",Ft),r.set("DChartSelectionGridlineY",At),r.set("DChartSelectionMarker",Rt)},Ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(st),Gt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ht),Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return s.BACKGROUND_COLOR},t}(ht),Ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Vt);const Yt=wcardinal.ui.EShapeStrokeSide,Wt=wcardinal.ui.EShapeStrokeStyle;var Xt=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Yt.ALL},n.prototype.getStrokeStyle=function(){return Wt.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getCursor=function(){return""},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),Kt=function(){r.set("EShape",Xt)},Ut=function(){r.set("DDiagram",Gt),r.set("DDiagramCanvas",Ot),Kt()},jt=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},Jt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){return 1.25},t.prototype.getSnapGridMajorStyle=function(){return Wt.DASHED|Wt.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 jt},t.prototype.getSnapTargetColor=function(){return s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Vt),qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!1},t.prototype.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(Ht);const Qt=wcardinal.ui.EShapeActionValueBlinkType,Zt=wcardinal.ui.EShapeActionValueChangeColorTarget,$t=wcardinal.ui.EShapeActionValueChangeColorType,nr=wcardinal.ui.EShapeActionValueChangeTextType,tr=wcardinal.ui.EShapeActionValueMiscType,rr=wcardinal.ui.EShapeActionValueOnInputAction,ur=wcardinal.ui.EShapeActionValueOpenType,er=wcardinal.ui.EShapeActionValueOpetyped,ir=wcardinal.ui.EShapeActionValueShowHideType,or=wcardinal.ui.EShapeActionValueSubtyped,cr=wcardinal.ui.EShapeActionValueTransformMoveType,fr=wcardinal.ui.EShapeActionValueTransformResizeType,ar=wcardinal.ui.EShapeActionValueTransformRotateType,lr=wcardinal.ui.EShapeActionValueTransformType,hr=wcardinal.ui.EShapeActionValueType,sr=wcardinal.ui.UtilHtmlElementWhen;var Dr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof or){var r,u=n.subtype;if(n instanceof er){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 this.toTypeLabel(n)+": "+this.toConditionLabel(t.condition)},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case hr.SHOW_HIDE:return""+this.toShowHideTypeLabel(t);case hr.BLINK:return u+": "+this.toBlinkTypeLabel(t);case hr.CHANGE_COLOR:case hr.CHANGE_COLOR_LEGACY:return u+": "+this.toChangeColorTypeLabel(t);case hr.MISC:return u+": "+this.toMiscTypeLabel(t)}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case hr.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case lr.ROTATE:return e+": "+this.toTransformRotateTypeLabel(r);case lr.MOVE:return e+": "+this.toTransformMoveTypeLabel(r);case lr.RESIZE:return e+": "+this.toTransformResizeTypeLabel(r)}}return null},n.prototype.toTypeLabel=function(n){switch(n){case hr.SHOW_HIDE:return"Show / hide";case hr.BLINK:return"Blink";case hr.TRANSFORM:return"Transform";case hr.OPEN:return"Open";case hr.CHANGE_COLOR:case hr.CHANGE_COLOR_LEGACY:return"Change color";case hr.CHANGE_TEXT:return"Change text";case hr.CHANGE_CURSOR:return"Change cursor";case hr.EMIT_EVENT:return"Emit an event";case hr.MISC:return"Misc."}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case Qt.VISIBILITY:return"Visibility";case Qt.BRIGHTEN:return"Brighten";case Qt.DARKEN:return"Darken";case Qt.OPACITY:return"Opacity";case Qt.COLOR_FILL:return"Fill";case Qt.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case ir.SHOW:return"Show";case ir.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case lr.RESIZE:return"Resize";case lr.MOVE:return"Move";case lr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case ar.RELATIVE:return"Relative";case ar.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case cr.RELATIVE_X:return"Relative X";case cr.RELATIVE_Y:return"Relative Y";case cr.ABSOLUTE_X:return"Absolute X";case cr.ABSOLUTE_Y:return"Absolute Y";case cr.FORWARD_OR_BACKWARD:return"Forward / backward";case cr.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case fr.ABSOLUTE_SIZE:return"Height & width";case fr.RELATIVE_SIZE:return"Height & width (%)";case fr.ABSOLUTE_HEIGHT:return"Height";case fr.RELATIVE_HEIGHT:return"Height (%)";case fr.ABSOLUTE_WIDTH:return"Width";case fr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===$t.NONE)return"None";var t="",r="";return n&$t.FILL&&(t+=r+"Fill",r=", "),n&$t.STROKE&&(t+=r+"Stroke",r=", "),n&$t.TEXT&&(t+=r+"Text",r=", "),n&$t.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case Zt.COLOR_AND_ALPHA:return"Color";case Zt.COLOR:return"RGB";case Zt.ALPHA:return"Alpha";case Zt.CODE:return"Dynamic color";case Zt.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case nr.TEXT:return"Text";case nr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case ur.DIAGRAM:return"Diagram";case ur.PAGE:return"Page (New window)";case ur.PAGE_INPLACE:return"Page (In-place)";case ur.DIALOG_TEXT:return"Dialog (Text)";case ur.DIALOG_INTEGER:return"Dialog (Integer)";case ur.DIALOG_REAL:return"Dialog (Real)";case ur.DIALOG_BOOLEAN:return"Dialog (Boolean)";case ur.DIALOG_DATE:return"Dialog (Date)";case ur.DIALOG_TIME:return"Dialog (Time)";case ur.DIALOG_DATETIME:return"Dialog (Datetime)"}},n.prototype.toMiscTypeLabel=function(n){switch(n){case tr.INPUT_TEXT:return"Input (Text)";case tr.INPUT_INTEGER:return"Input (Integer)";case tr.INPUT_REAL:return"Input (Real)";case tr.EMIT_EVENT:return this.toOnInputActionLabel(rr.EMIT_EVENT);case tr.WRITE_BOTH:return this.toOnInputActionLabel(rr.WRITE_BOTH);case tr.WRITE_LOCAL:return this.toOnInputActionLabel(rr.WRITE_LOCAL);case tr.WRITE_REMOTE:return this.toOnInputActionLabel(rr.WRITE_REMOTE);case tr.HTML_ELEMENT:return"HTML element";case tr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case tr.LAYER_SHOW_HIDE:return"Show / hide layers";case tr.LAYER_GESTURE:return"Layer gesture";case tr.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case sr.CLICKED:return"Clicked";case sr.DOUBLE_CLICKED:return"Double clicked";case sr.FOCUSED:return"Focused";case sr.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case rr.EMIT_EVENT:return"Emit event";case rr.WRITE_BOTH:return"Write (Both)";case rr.WRITE_LOCAL:return"Write (Local)";case rr.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),dr=function(){r.set("EShapeActionValue",Dr)},mr=function(){r.set("DDiagramEditor",qt),r.set("DDiagramCanvasEditor",Jt),dr(),Kt()},kr=function(){r.set("DDialog",V)},Tr=function(){r.set("DDialogCommand",O)},pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Yes"},t.prototype.getCancel=function(){return"No"},t.prototype.getMessage=function(){return""},t}(O),gr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(gr),wr=function(){r.set("DDialogConfirm",pr),r.set("DDialogConfirmMessage",br)},Ir=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(pr),xr=function(){r.set("DDialogConfirmDelete",Ir)},Cr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(pr),vr=function(){r.set("DDialogConfirmDiscard",Cr)},yr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getMarginVertical=function(){return 0},t.prototype.getMarginHorizontal=function(){return 32},t}(O),Br=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),Sr=function(){r.set("DDialogInputBoolean",Br)},Mr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),_r=function(){r.set("DDialogInputInteger",Mr)},Lr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),Er=function(){r.set("DDialogInputReal",Lr)},Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(yr),Fr=function(){r.set("DDialogInputText",Pr)},Ar=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t}(pr),Nr=function(){r.set("DDialogMessage",Ar)},Rr=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"OK"},t.prototype.getCancel=function(){return null},t.prototype.getMessage=function(){return Rr},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(pr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>'),t.add("fail_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" fill="#fff" /></g>');var Hr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getHeight=function(){return 90},r.prototype.getImageSource=function(n){return n.isSucceeded?t.mappings.success_mark:n.isFailed?t.mappings.fail_mark:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(br),Gr=function(){r.set("DDialogProcessing",zr),r.set("DDialogProcessingMessage",Hr)},Vr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Pr),Or=function(){r.set("DDialogSaveAs",Vr)},Yr=function(){tn(),U(),Tr(),wr(),xr(),vr(),Sn(),Fn(),Sr(),_r(),Er(),Fr(),Nr(),Gr(),Or(),ut(),ft(),kr()};const Wr=wcardinal.ui.DLayoutDirection;var Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 5},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getDirection=function(){return Wr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(m),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Wr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Xr),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Kr);t.add("menu_item_expandable_header_closed",14,14,'<g transform="scale(1, 0.7)"><polyline fill="none" stroke="#fff" stroke-width="1" points="6 16 10 10 6 4"></polyline></g>'),t.add("menu_item_expandable_header_opened",14,14,'<g transform="scale(0.7, 1)"><polyline fill="none" stroke="#fff" stroke-width="1" points="16 6 10 10 4 6"></polyline></g>');var jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isHovered||n.inActive?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 f.ALL},t}(gr),Jr=function(){r.set("DExpandableHeader",jr),r.set("DExpandable",Ur)};const qr=wcardinal.ui.DHtmlElementState;var Qr=function(){return null},Zr=function(n){var t=document.createElement("div");return n.appendChild(t),t},$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Qr},t.prototype.setElementStyle=function(n,t,r,u,e,i){var o=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);n.setAttribute("style",o),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(qr.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: "+t.getTop()+"px "+t.getRight()+"px "+t.getBottom()+"px "+t.getLeft()+"px;":"padding: "+t.vertical+"px "+t.horizontal+"px;":"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){return n?t?"left:"+(n.x-t.x)+"px; top:"+(n.y-t.y)+"px;":"left:"+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.tx+","+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: "+this.getFontFamilly()+";font-size: "+this.getFontSize()+"px;color: #"+this.getColor(n).toString(16)+";line-height: "+this.getLineHeight()+"px;-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getClipperCreator=function(){return Zr},t.prototype.setClipperStyle=function(n,t,r,u,e,i){var o="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",o)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: "+n.x+"px; top: "+n.y+"px;":"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: "+n.width+"px; height: "+n.height+"px;line-height: "+n.height+"px;":"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.getBeforeCreator=function(){return Zr},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 Zr},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return sr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(y),nu=function(){r.set("DHtmlElement",$r)},tu=function(){r.set("DImage",gr)},ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Wr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Xr),uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(ru),eu=function(){r.set("DInputAndLabel",uu)},iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCornerAdjust=function(){return!0},t.prototype.getMargin=function(){return 0},t}(ru),ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(S),cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(S),fu=function(){r.set("DInputBoolean",iu),r.set("DInputBooleanButtonOn",cu),r.set("DInputBooleanButtonOff",ou)},au=function(){return null},lu=function(n){return n},hu=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=h.brighten(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:null},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 lu},t.prototype.getEditingValidator=function(){return au},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}($r),su="d-theme-dark-input-element",Du=function(n){var t=n.getElementsByClassName(su);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",su),n.appendChild(r),r},du=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},mu=function(n){return du(n,"d-theme-dark-input-clipper")},ku=function(n){return du(n,"d-theme-dark-input-before")},Tu=function(n){return du(n,"d-theme-dark-input-after")},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Du},t.prototype.getClipperCreator=function(){return mu},t.prototype.getBeforeCreator=function(){return ku},t.prototype.getAfterCreator=function(){return Tu},t}(hu),gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(pu),bu=function(n){var t=parseInt(n,10);return t==t?t:0},wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return bu},t}(gu),Iu=function(){r.set("DInputInteger",wu)},xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(wn),Cu=function(){r.set("DInputLabel",xu)},vu=function(n){var t=parseFloat(n);return t==t?t:0},yu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return vu},t}(gu),Bu=function(){r.set("DInputReal",yu)},Su=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(pu);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 Mu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Su),_u=function(){r.set("DInputSearch",Mu)},Lu=function(){r.set("DInputText",Su)},Eu="d-theme-dark-input-text-area-element",Pu=function(n){var t=n.getElementsByClassName(Eu);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Eu),n.appendChild(r),r},Fu=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},Au=function(n){return Fu(n,"d-theme-dark-input-text-area-clipper")},Nu=function(n){return Fu(n,"d-theme-dark-input-text-area-before")},Ru=function(n){return Fu(n,"d-theme-dark-input-text-area-after")},zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.TOP},t.prototype.getTextStyleWordWrap=function(){return x.NORMAL},t.prototype.getElementCreator=function(){return Pu},t.prototype.getClipperCreator=function(){return Au},t.prototype.getBeforeCreator=function(){return Nu},t.prototype.getAfterCreator=function(){return Ru},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 x.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(hu),Hu=function(){r.set("DInputTextArea",zu)},Gu=function(){eu(),fu(),Iu(),Cu(),Bu(),_u(),Hu(),Lu()},Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return a.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),Ou=function(){r.set("DLayout",Xr),r.set("DLayoutHorizontal",ru),r.set("DLayoutSpace",Vu),r.set("DLayoutVertical",Kr)};const Yu=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 Wu=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:Yu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Yu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Yu.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in new window"},n.prototype.getLabelCopyLinkAddress=function(){return"Copy link address"},n}(),Xu=function(){r.set("DLink",Wu)},Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!1,!0)},t}(tt),Uu=function(){r.set("DListItemAmbient",Ku),r.set("DListItem",tt),r.set("DList",Zn)},ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Kr),Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(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 g.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(gr),qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Ju),Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getShortcutTextMargin=function(){return this.getPaddingRight()},t.prototype.getShortcutColor=function(n){return this.getColor(n)},t.prototype.getShortcutAlpha=function(n){return.5*this.getAlpha(n)},t}(qu);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 Zu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Qu),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 f.ALL},t}(Kr),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Kr),te=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}();te.init();var re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t.prototype.getImageSource=function(n){return n.inActive?te.getImageOpened():te.getImageClosed()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Ju),ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t.prototype.getImageMarginHorizontal=function(){return n.prototype.getImageMarginHorizontal.call(this)+16},t}(Zu);const ee=wcardinal.ui.DBaseState;var ie=function(t){function r(){var r=t.call(this)||this;return r._=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(ee.NEW_WINDOW)?this._.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r}(Qu),oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ie);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 ce=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(qu),fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ce),ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Ju),le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(ae),he=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Vu),se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(he),De=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Qu),de=function(){r.set("DMenu",ju),r.set("DMenuItem",qu),r.set("DMenuItemCheck",Zu),r.set("DMenuItemLink",ie),r.set("DMenuItemMenu",ce),r.set("DMenuItemSeparator",ae),r.set("DMenuItemSpace",he),r.set("DMenuItemText",Qu),r.set("DMenuItemExpandableBody",ne),r.set("DMenuItemExpandableHeader",re),r.set("DMenuItemExpandableItemCheck",ue),r.set("DMenuItemExpandableItemLink",oe),r.set("DMenuItemExpandableItemMenu",fe),r.set("DMenuItemExpandableItemSeparator",le),r.set("DMenuItemExpandableItemSpace",se),r.set("DMenuItemExpandableItemText",De),r.set("DMenuItemExpandable",$u)},me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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 o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(ru),ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(S),Te=function(){r.set("DMenuBarItem",ke),r.set("DMenuBar",me),de()},pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(Qn),ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getMargin=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Kr),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zu),we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($u),Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ue),xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(oe),Ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fe),ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(le),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(se),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(De),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ie),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ce),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ae),Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(he),Ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qu),Pe=function(){r.set("DMenuSided",pe),r.set("DMenuSidedContent",ge),r.set("DMenuSidedItemCheck",be),r.set("DMenuSidedItemLink",Se),r.set("DMenuSidedItemMenu",Me),r.set("DMenuSidedItemSeparator",_e),r.set("DMenuSidedItemSpace",Le),r.set("DMenuSidedItemText",Ee),r.set("DMenuSidedItemExpandable",we),r.set("DMenuSidedItemExpandableItemCheck",Ie),r.set("DMenuSidedItemExpandableItemLink",xe),r.set("DMenuSidedItemExpandableItemMenu",Ce),r.set("DMenuSidedItemExpandableItemSeparator",ve),r.set("DMenuSidedItemExpandableItemSpace",ye),r.set("DMenuSidedItemExpandableItemText",Be)},Fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return I.TEXT},t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return w.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Error"},t}(Fe),Ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(Fe),Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Fe),ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(Fe),He=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Something went wrong"},t}(ze),Ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"No items found"},t}(ze),Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(ze),Oe=function(){r.set("DNote",Fe),r.set("DNoteError",Ae),r.set("DNoteNoItemsFound",Ne),r.set("DNoteSearching",Re),r.set("DNoteSmallError",He),r.set("DNoteSmallNoItemsFound",Ge),r.set("DNoteSmallSearching",Ve)},Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t.prototype.getMargin=function(){return 10},t.prototype.getButtonSpace=function(){return 10},t}(ru);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="15" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="15" r="1.1" fill="#fff" stroke="none" /></g>');var We=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r}(y);t.add("pagination_button_last",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="9 15 15 10 9 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 15 11 10 5 5"></polyline></g>');var Xe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_last},r}(_);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 Ke=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_next},r}(_),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(_);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 je=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_previous},r}(_);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 Je=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_top},r}(_),qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t}(y),Qe=function(){r.set("DPagination",Ye),r.set("DPaginationPage",qe),r.set("DPaginationDots",We),r.set("DPaginationButtonLast",Xe),r.set("DPaginationButtonNext",Ke),r.set("DPaginationButtonPage",Ue),r.set("DPaginationButtonPrevious",je),r.set("DPaginationButtonTop",Je)},Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(m),ni=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=h.brighten(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),ti=function(){r.set("DScrollBar",$e),r.set("DScrollBarThumb",ni)},ri=function(){r.set("DPane",Qn),r.set("DContent",Ze),ti()};const ui=wcardinal.ui.isString;t.add("dropdown_mark",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="16 5 10 11 4 5"></polyline></g>');var ei=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return I.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),ii=function(n){if(n){var t=n.text;if(ui(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ii},t.prototype.newTextValue=function(){return null},t}(ei),ci=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text;if(ui(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ci},t.prototype.newTextValue=function(){return[]},t}(ei),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(ei),li=function(){r.set("DDropdown",ai)},hi=function(){r.set("DSelectMultiple",fi),r.set("DSelect",oi),li()},si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(m),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(si),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getTextAlignVertical=function(){return w.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),mi=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=h.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=h.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=h.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=h.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=h.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 ki=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return mi.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)+2},r}(S),Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return mi.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}(S),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return 0},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 5},t}(Ti),gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Ti),bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return"CENTER"},t.prototype.getWidth=function(){return"AUTO"},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?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 g.CENTER},t.prototype.getTextAlignVertical=function(){return w.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(v),wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 322},t.prototype.getWidth=function(){return 35},t}(si),Ii=function(){r.set("DSlider",si),r.set("DSliderValue",bi),r.set("DSliderLabel",di),r.set("DSliderThumb",ki),r.set("DSliderVertical",wi),r.set("DSliderHorizontal",Di),r.set("DSliderTrack",Ti),r.set("DSliderTrackVertical",gi),r.set("DSliderTrackHorizontal",pi)},xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(Qn),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getCornerMask=function(){return f.TOP},t.prototype.getBorderColor=function(n){return null},t.prototype.getRowHeight=function(){return 30},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m);const vi=wcardinal.ui.DTableState;var yi=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(vi.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(vi.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(vi.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=h.brighten(t.BACKGROUND_COLOR,.02),n.BACKGROUND_COLOR_FROZEN_ODD=h.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.02),n.BORDER_COLOR=h.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=h.darken(t.BORDER_COLOR,.035),n}(),Bi=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 yi.getImageTintColor(n,!0)},n}(),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);Bi.init();var Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Bi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Si);Bi.init();var _i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.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 Bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Bi.getImageSource(n)},t}(ai),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);Bi.init();var Ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Bi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Bi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Li),Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getImageTintColor=function(n){return yi.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(y),Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Pi),Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getImageTintColor=function(n){return yi.getImageTintColor(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(P),Ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(z),Ri=function(n){return on.format(n)},zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getTextFormatter=function(){return Ri},t.prototype.newTextValue=function(){return new Date},t}(S),Hi=function(n,t){return _n.format(n,t.getDatetimeMask())},Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getTextFormatter=function(){return Hi},t.prototype.newTextValue=function(){return new Date},t}(S),Vi=function(n){return String(Number(n)+1)},Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Vi},t.prototype.newTextValue=function(){return 0},t}(y),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(wu),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(yu),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t}(Su),Ki=function(){function n(){}return n.init=function(){te.init()},n.getImageSource=function(n){return n.is(vi.HAS_CHILDREN)?n.is(vi.OPENED)?te.getImageOpened():te.getImageClosed():null},n}();Ki.init();var Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(m),ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Su),Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageSource=function(n){return Ki.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),qi=function(t){function r(){var r=t.call(this)||this;return r._=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return yi.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this._.getImageSource(n)},r}(Fi),Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(oi),Zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(fi),$i=function(n,t){return et.format(n,t.getDatetimeMask())},no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return yi.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return yi.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return yi.getBorderColor(n)},t.prototype.getBorderMask=function(n){return yi.getBorderMask(n)},t.prototype.getColor=function(n){return yi.getColor(n)},t.prototype.getAlpha=function(n){return yi.getAlpha(n)},t.prototype.getHeight=function(){return yi.getHeight()},t.prototype.getCornerMask=function(){return yi.getCornerMask()},t.prototype.getTextFormatter=function(){return $i},t.prototype.newTextValue=function(){return new Date},t}(S);Ki.init();var to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Ki.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(Fi),ro=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusReverse=!0},t}(ru),uo=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=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(ro),eo=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(ro),io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(eo);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 oo=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=h.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=h.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=h.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=h.darken(t.BORDER_COLOR,.05),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(vi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(vi.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(vi.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(vi.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return g.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getSecondaryImageTintColor=function(t){return t.is(vi.CHECKABLE)?E.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(vi.CHECKABLE)?E.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return w.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return I.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(vi.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(vi.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return I.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(vi.CHECKABLE)||n.is(vi.SORTABLE))?"pointer":""},r}(gr),co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(oo),fo=function(){r.set("DTableBodyCellActionDialog",Mi),r.set("DTableBodyCellActionMenu",_i),r.set("DTableBodyCellActionPromise",Ei),r.set("DTableBodyCellButton",Fi),r.set("DTableBodyCellCheck",Ai),r.set("DTableBodyCellColor",Ni),r.set("DTableBodyCellDate",zi),r.set("DTableBodyCellDatetime",Gi),r.set("DTableBodyCellIndex",Oi),r.set("DTableBodyCellInputInteger",Yi),r.set("DTableBodyCellInputReal",Wi),r.set("DTableBodyCellInputText",Xi),r.set("DTableBodyCellInputTreeMarker",Ji),r.set("DTableBodyCellInputTreeInput",ji),r.set("DTableBodyCellInputTree",Ui),r.set("DTableBodyCellLink",qi),r.set("DTableBodyCellSelectDialog",Si),r.set("DTableBodyCellSelectMenu",Qi),r.set("DTableBodyCellSelectMultiple",Zi),r.set("DTableBodyCellSelectPromise",Li),r.set("DTableBodyCellText",Pi),r.set("DTableBodyCellTree",to),r.set("DTableBodyCellTime",no),r.set("DTableBodyRow",uo),r.set("DTableBody",Ci),r.set("DTableCategoryCell",co),r.set("DTableCategory",io),r.set("DTableHeaderCell",oo),r.set("DTableHeader",eo),r.set("DTableRow",ro),r.set("DTable",xi),F(),j(),Mn(),An(),Iu(),Bu(),Lu(),ut(),de()},ao=function(){r.set("DText",wn)},lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Ki.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 I.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(nt),ho=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new lo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Qn),so=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new lo(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}(y),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(so);Ki.init();var mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(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}(Do),ko=function(){r.set("DTree",ho),r.set("DTreeItemText",so),r.set("DTreeItemButton",Do),r.set("DTreeItemNonEditable",mo)};const To=wcardinal.ui.UtilGestureModifier;var po=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return To.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return To.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return To.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return qn.ON},n.prototype.getGestureModifier=function(){return To.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),go=function(){r.set("DView",po)},bo=function(){u(),k(),p(),lt(),Dt(),zt(),Ut(),mr(),Yr(),Jr(),nu(),tu(),Gu(),Ou(),Xu(),Uu(),ko(),de(),Te(),Pe(),Oe(),Qe(),ri(),K(),nn(),Bn(),yn(),vn(),ti(),hi(),Ii(),fo(),ao(),go()},wo={__proto__:null,loadThemeDarkAll:bo,loadThemeDarkBase:k,loadThemeDark:u,loadThemeDarkBoard:p,loadThemeDarkButtonAll:lt,loadThemeDarkButtonAmbient:L,loadThemeDarkButtonCheck:F,loadThemeDarkButtonCheckRight:N,loadThemeDarkButtonColor:j,loadThemeDarkButtonColorGradient:rn,loadThemeDarkButtonDanger:en,loadThemeDarkButtonDate:Mn,loadThemeDarkButtonDatetime:An,loadThemeDarkButtonFile:Rn,loadThemeDarkButtonLink:Hn,loadThemeDarkButtonPrimary:Vn,loadThemeDarkButtonRadio:Yn,loadThemeDarkButtonRadioRight:Xn,loadThemeDarkButtonTime:at,loadThemeDarkButton:M,loadThemeDarkCanvasContainer:Dt,loadThemeDarkChart:zt,loadThemeDarkDiagram:Ut,loadThemeDarkDiagramEditor:mr,loadThemeDarkDialogAll:Yr,loadThemeDarkDialogColorGradient:tn,loadThemeDarkDialogColor:U,loadThemeDarkDialogCommand:Tr,loadThemeDarkDialogConfirm:wr,loadThemeDarkDialogConfirmDelete:xr,loadThemeDarkDialogConfirmDiscard:vr,loadThemeDarkDialogDate:Sn,loadThemeDarkDialogDatetime:Fn,loadThemeDarkDialogInputBoolean:Sr,loadThemeDarkDialogInputInteger:_r,loadThemeDarkDialogInputReal:Er,loadThemeDarkDialogInputText:Fr,loadThemeDarkDialogMessage:Nr,loadThemeDarkDialogProcessing:Gr,loadThemeDarkDialogSaveAs:Or,loadThemeDarkDialogSelect:ut,loadThemeDarkDialogTime:ft,loadThemeDarkDialog:kr,loadThemeDarkDropdown:li,loadThemeDarkExpandable:Jr,loadThemeDarkHtmlElement:nu,loadThemeDarkImage:tu,loadThemeDarkInputAll:Gu,loadThemeDarkInputAndLabel:eu,loadThemeDarkInputBoolean:fu,loadThemeDarkInputInteger:Iu,loadThemeDarkInputLabel:Cu,loadThemeDarkInputReal:Bu,loadThemeDarkInputSearch:_u,loadThemeDarkInputTextArea:Hu,loadThemeDarkInputText:Lu,loadThemeDarkLayout:Ou,loadThemeDarkLink:Xu,loadThemeDarkList:Uu,loadThemeDarkTree:ko,loadThemeDarkMenu:de,loadThemeDarkMenuBar:Te,loadThemeDarkMenuSided:Pe,loadThemeDarkNote:Oe,loadThemeDarkPagination:Qe,loadThemeDarkPane:ri,loadThemeDarkPickerColorGradient:nn,loadThemeDarkPickerColor:K,loadThemeDarkPickerDate:Bn,loadThemeDarkPickerDatetime:yn,loadThemeDarkPickerTime:vn,loadThemeDarkScrollBar:ti,loadThemeDarkSelect:hi,loadThemeDarkShapeActionValue:dr,loadThemeDarkShape:Kt,loadThemeDarkTable:fo,loadThemeDarkText:ao,loadThemeDarkView:go,loadThemeDarkSlider:Ii,DThemeDarkAtlas:t,DThemeDarkBase:m,DThemeDarkBoard:T,DThemeDarkButton:S,DThemeDarkButtonAmbient:_,DThemeDarkButtonBase:B,DThemeDarkButtonCheck:P,DThemeDarkButtonCheckRight:A,DThemeDarkButtonChecks:E,DThemeDarkButtonColor:z,DThemeDarkButtonColorGradient:Q,DThemeDarkButtonDanger:un,DThemeDarkButtonDate:fn,DThemeDarkButtonDatetime:En,DThemeDarkButtonFile:Nn,DThemeDarkButtonLink:zn,DThemeDarkButtonPrimary:Gn,DThemeDarkButtonRadio:On,DThemeDarkButtonRadioRight:Wn,DThemeDarkButtonSecondary:Kn,DThemeDarkButtonTime:ot,DThemeDarkCanvas:ht,DThemeDarkCanvasContainer:st,DThemeDarkChart:dt,DThemeDarkChartAxisBase:bt,DThemeDarkChartAxisX:wt,DThemeDarkChartAxisXDatetime:It,DThemeDarkChartAxisY:xt,DThemeDarkChartCoordinateTick:vt,DThemeDarkChartCoordinateTransform:yt,DThemeDarkChartCoordinate:Ct,DThemeDarkChartLegend:Bt,DThemeDarkChartLegendItem:St,DThemeDarkChartOverview:Mt,DThemeDarkChartPlotArea:_t,DThemeDarkContent:Ze,DThemeDarkDiagram:Gt,DThemeDarkDiagramBase:Ht,DThemeDarkDiagramCanvas:Ot,DThemeDarkDiagramCanvasBase:Vt,DThemeDarkDiagramCanvasEditor:Jt,DThemeDarkDiagramEditor:qt,DThemeDarkDialog:V,DThemeDarkDialogColor:Y,DThemeDarkDialogColorGradient:Z,DThemeDarkDialogCommand:O,DThemeDarkDialogConfirm:pr,DThemeDarkDialogConfirmDelete:Ir,DThemeDarkDialogConfirmDiscard:Cr,DThemeDarkDialogConfirmMessage:br,DThemeDarkDialogDate:an,DThemeDarkDialogDatetime:Pn,DThemeDarkDialogInputBoolean:Br,DThemeDarkDialogInputInteger:Mr,DThemeDarkDialogInputReal:Lr,DThemeDarkDialogInputText:Pr,DThemeDarkDialogInput:yr,DThemeDarkDialogMessage:Ar,DThemeDarkDialogProcessing:zr,DThemeDarkDialogProcessingMessage:Hr,DThemeDarkDialogSaveAs:Vr,DThemeDarkDialogSelect:Jn,DThemeDarkDialogSelectList:$n,DThemeDarkDialogSelectListItem:rt,DThemeDarkDialogTime:ct,DThemeDarkDropdown:ai,DThemeDarkExpandable:Ur,DThemeDarkExpandableHeader:jr,DThemeDarkFont:D,DThemeDarkHtmlElement:$r,DThemeDarkImage:gr,DThemeDarkImageBase:y,DThemeDarkInputAndLabel:uu,DThemeDarkInputBooleanButtonOff:ou,DThemeDarkInputBooleanButtonOn:cu,DThemeDarkInputBoolean:iu,DThemeDarkInputInput:pu,DThemeDarkInputInteger:wu,DThemeDarkInputLabel:xu,DThemeDarkInputNumber:gu,DThemeDarkInputReal:yu,DThemeDarkInputSearch:Mu,DThemeDarkInputTextArea:zu,DThemeDarkInputText:Su,DThemeDarkInput:hu,DThemeDarkLayoutHorizontal:ru,DThemeDarkLayoutSpace:Vu,DThemeDarkLayoutVertical:Kr,DThemeDarkLayout:Xr,DThemeDarkLink:Wu,DThemeDarkListItemAmbient:Ku,DThemeDarkListItem:tt,DThemeDarkListItems:nt,DThemeDarkList:Zn,DThemeDarkMenu:ju,DThemeDarkMenuBar:me,DThemeDarkMenuBarItem:ke,DThemeDarkMenuItemBase:Ju,DThemeDarkMenuItemCheck:Zu,DThemeDarkMenuItemExpandableBody:ne,DThemeDarkMenuItemExpandableHeader:re,DThemeDarkMenuItemExpandableItemCheck:ue,DThemeDarkMenuItemExpandableItemLink:oe,DThemeDarkMenuItemExpandableItemMenu:fe,DThemeDarkMenuItemExpandableItemSeparator:le,DThemeDarkMenuItemExpandableItemSpace:se,DThemeDarkMenuItemExpandableItemText:De,DThemeDarkMenuItemExpandable:$u,DThemeDarkMenuItemLink:ie,DThemeDarkMenuItemMenu:ce,DThemeDarkMenuItemSeparator:ae,DThemeDarkMenuItemSpace:he,DThemeDarkMenuItemText:Qu,DThemeDarkMenuItem:qu,DThemeDarkMenuSided:pe,DThemeDarkMenuSidedContent:ge,DThemeDarkMenuSidedItemCheck:be,DThemeDarkMenuSidedItemExpandable:we,DThemeDarkMenuSidedItemExpandableItemCheck:Ie,DThemeDarkMenuSidedItemExpandableItemLink:xe,DThemeDarkMenuSidedItemExpandableItemMenu:Ce,DThemeDarkMenuSidedItemExpandableItemSeparator:ve,DThemeDarkMenuSidedItemExpandableItemSpace:ye,DThemeDarkMenuSidedItemExpandableItemText:Be,DThemeDarkMenuSidedItemLink:Se,DThemeDarkMenuSidedItemMenu:Me,DThemeDarkMenuSidedItemSeparator:_e,DThemeDarkMenuSidedItemSpace:Le,DThemeDarkMenuSidedItemText:Ee,DThemeDarkNoteError:Ae,DThemeDarkNoteNoItemsFound:Ne,DThemeDarkNoteSearching:Re,DThemeDarkNoteSmallError:He,DThemeDarkNoteSmallNoItemsFound:Ge,DThemeDarkNoteSmallSearching:Ve,DThemeDarkNoteSmall:ze,DThemeDarkNote:Fe,DThemeDarkPaginationButtonLast:Xe,DThemeDarkPaginationButtonNext:Ke,DThemeDarkPaginationButtonPage:Ue,DThemeDarkPaginationButtonPrevious:je,DThemeDarkPaginationButtonTop:Je,DThemeDarkPaginationDots:We,DThemeDarkPaginationPage:qe,DThemeDarkPagination:Ye,DThemeDarkPane:Qn,DThemeDarkPickerColor:X,DThemeDarkPickerColorGradient:$,DThemeDarkPickerDate:Tn,DThemeDarkPickerDatetimeButtonBack:pn,DThemeDarkPickerDatetimeButtonDate:gn,DThemeDarkPickerDatetimeButtonNext:bn,DThemeDarkPickerDatetimeLabel:In,DThemeDarkPickerDatetimeLabelDate:xn,DThemeDarkPickerDatetimeSpace:Cn,DThemeDarkPickerDatetime:kn,DThemeDarkPickerTime:hn,DThemeDarkScrollBar:$e,DThemeDarkScrollBarThumb:ni,DThemeDarkSelectMultiple:fi,DThemeDarkSelect:oi,DThemeDarkSlider:si,DThemeDarkSliderHorizontal:Di,DThemeDarkSliderLabel:di,DThemeDarkSliderThumb:ki,DThemeDarkSliderTrack:Ti,DThemeDarkSliderTrackHorizontal:pi,DThemeDarkSliderTrackVertical:gi,DThemeDarkSliderValue:bi,DThemeDarkSliderVertical:wi,DThemeDarkTable:xi,DThemeDarkTableBodyCellButton:Fi,DThemeDarkTableBodyCellCheck:Ai,DThemeDarkTableBodyCellColor:Ni,DThemeDarkTableBodyCellDate:zi,DThemeDarkTableBodyCellDatetime:Gi,DThemeDarkTableBodyCellIndex:Oi,DThemeDarkTableBodyCellInputInteger:Yi,DThemeDarkTableBodyCellInputReal:Wi,DThemeDarkTableBodyCellInputText:Xi,DThemeDarkTableBodyCellLink:qi,DThemeDarkTableBodyCellSelectDialog:Si,DThemeDarkTableBodyCellSelectMenu:Qi,DThemeDarkTableBodyCellSelectPromise:Li,DThemeDarkTableBodyCellText:Pi,DThemeDarkTableBodyCellTime:no,DThemeDarkTableBodyCells:yi,DThemeDarkTableBodyRow:uo,DThemeDarkTableBody:Ci,DThemeDarkTableCategory:io,DThemeDarkTableCategoryCell:co,DThemeDarkTableHeader:eo,DThemeDarkTableHeaderCell:oo,DThemeDarkTableRow:ro,DThemeDarkText:wn,DThemeDarkTextBase:v,DThemeDarkTreeItemButton:Do,DThemeDarkTreeItemNonEditable:mo,DThemeDarkTreeItemText:so,DThemeDarkTreeItems:lo,DThemeDarkTree:ho,DThemeDarkView:po,DThemeDark:r,EThemeDarkShapeActionValue:Dr,EThemeDarkShape:Xt};bo();var Io=window;Io.wcardinal=Io.wcardinal||{};var xo=Io.wcardinal.ui=Io.wcardinal.ui||{},Co=wo;for(var vo in Co)xo[vo]=Co[vo]}();
10
10
  //# sourceMappingURL=wcardinal-ui-theme-dark.min.js.map