@wcardinal/wcardinal-ui 0.362.0 → 0.363.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 (41) hide show
  1. package/dist/types/wcardinal/ui/d-button-select.d.ts +3 -3
  2. package/dist/types/wcardinal/ui/d-dialog-select-search-dismissable-impl.d.ts +4 -4
  3. package/dist/types/wcardinal/ui/d-dialog-select-search-dismissable.d.ts +4 -4
  4. package/dist/types/wcardinal/ui/d-dialog-select-search-function.d.ts +4 -4
  5. package/dist/types/wcardinal/ui/d-dialog-select-search-impl.d.ts +3 -3
  6. package/dist/types/wcardinal/ui/d-dialog-select-search.d.ts +1 -1
  7. package/dist/types/wcardinal/ui/d-dialog-select.d.ts +34 -24
  8. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.d.ts +2 -2
  9. package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog-select.d.ts +2 -2
  10. package/dist/types/wcardinal/ui/util/index.d.ts +0 -1
  11. package/dist/wcardinal/ui/d-button-select.js +1 -1
  12. package/dist/wcardinal/ui/d-button-select.js.map +1 -1
  13. package/dist/wcardinal/ui/d-dialog-select-search-dismissable-impl.js.map +1 -1
  14. package/dist/wcardinal/ui/d-dialog-select-search-dismissable.js.map +1 -1
  15. package/dist/wcardinal/ui/d-dialog-select-search-function.js.map +1 -1
  16. package/dist/wcardinal/ui/d-dialog-select-search-impl.js.map +1 -1
  17. package/dist/wcardinal/ui/d-dialog-select-search.js.map +1 -1
  18. package/dist/wcardinal/ui/d-dialog-select.js +60 -102
  19. package/dist/wcardinal/ui/d-dialog-select.js.map +1 -1
  20. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js +4 -6
  21. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js.map +1 -1
  22. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js +4 -6
  23. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js.map +1 -1
  24. package/dist/wcardinal/ui/util/index.js +0 -1
  25. package/dist/wcardinal/ui/util/index.js.map +1 -1
  26. package/dist/wcardinal/ui/util/to-label.js +20 -2
  27. package/dist/wcardinal/ui/util/to-label.js.map +1 -1
  28. package/dist/wcardinal-ui-theme-dark.js +5 -9
  29. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  30. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  31. package/dist/wcardinal-ui-theme-white.js +5 -9
  32. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  33. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  34. package/dist/wcardinal-ui.cjs.js +97 -146
  35. package/dist/wcardinal-ui.js +64 -113
  36. package/dist/wcardinal-ui.min.js +2 -2
  37. package/dist/wcardinal-ui.min.js.map +1 -1
  38. package/package.json +1 -1
  39. package/dist/types/wcardinal/ui/util/to-label-with.d.ts +0 -1
  40. package/dist/wcardinal/ui/util/to-label-with.js +0 -27
  41. package/dist/wcardinal/ui/util/to-label-with.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  /*
2
- Winter Cardinal UI v0.362.0
2
+ Winter Cardinal UI v0.363.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 '".concat(t,"'"))},n.prototype.set=function(n,t){return this.t[n]=t,this},n.prototype.getClass=function(t){var r=n.u[t];if(null!=r)return r;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.setClass=function(t,r){return n.u[t]=r,this},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(){n.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,s=wcardinal.ui.UtilRgb;var h=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=s.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=s.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=s.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=s.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=s.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=s.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 h.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),d=function(n,r,u){var e=2*r;t.add(n,e,e,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*u,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*u,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*u,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*u,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*u,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*u,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*u,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(e,'" height="').concat(e,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};d("shadow_weak",24,.72),d("shadow",48,.72),t.add("background",16,16,'<g><defs><radialGradient id="background_filter"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#background_filter)"/></g>');var 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 h.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,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new l(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(D),k=function(){r.set("DBase",m)},p=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),T=function(){r.set("DBoard",p)};const g=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,y=wcardinal.ui.DAlignWith,I=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var C=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.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return I.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(m),x=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 y.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}(C),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=s.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=s.brighten(t,u),e.OUTLINE_COLOR=s.darken(t,.75),e}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?h.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):h.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?h.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}(x),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?h.HIGHLIGHT_COLOR:h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*h.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return h.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?h.WEAK_HIGHLIGHT_COLOR:h.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 h.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.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)},N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return y.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(P),A=function(){r.set("DButtonCheckRight",N)};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"#".concat(s.toCode(n.color)," A").concat(n.alpha.toFixed(2))},H=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 z=wcardinal.ui.DAnimationFadeIn,G=wcardinal.ui.DDialogAlign,V=wcardinal.ui.DDialogCloseOn,O=wcardinal.ui.DDialogGestureMode,Y=wcardinal.ui.DDialogMode,X=wcardinal.ui.DDialogState;var U=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return Y.MODAL},t.prototype.closeOn=function(n){switch(n){case Y.MODAL:case Y.MENU:return V.ESC|V.CLICK_OUTSIDE;case Y.MODELESS:return V.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Y.MODAL:case Y.MODELESS:return!0;case Y.MENU:return!1}},t.prototype.getGestureMode=function(n){return O.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return G.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Y.MODAL:return new z;case Y.MODELESS:case Y.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(X.MENU)?h.BACKGROUND_COLOR_ON_BOARD:h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(X.MENU)?null:3750201},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(m),W=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(U),K=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(W),j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),J=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e){var i=(e+u)%2==0?"#5f5f5f":"#454545";r+='<rect x="'.concat(9*e,'" y="').concat(9*u,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),t.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),t.add("picker_color_alpha_checkerboard",234,18,J(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",36,36,J(4,4),9,9,18,18),t.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),t.add("picker_color_sample_checkerboard",45,63,J(5,7)),t.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />'),t.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var q=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 162},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainBaseTexture=function(){return t.mappings.picker_color_main_base},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentTexture=function(){return t.mappings.picker_color_recent},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardOldTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleCheckerboardNewTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleOldTexture=function(){return t.mappings.picker_color_sample},r.prototype.getSampleNewTexture=function(){return t.mappings.picker_color_sample},r.prototype.getStandardColorCount=function(){return 80},r.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},r.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},r.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},r.prototype.getStandardTexture=function(){return t.mappings.picker_color_standard},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),Q=function(){r.set("DPickerColor",q)},Z=function(){r.set("DDialogColor",j),Q()},$=function(){r.set("DButtonColor",H),Z()};const nn=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 tn=function(){return""},rn=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 tn},r.prototype.newTextValue=function(){return new nn},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(S),un=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),en=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),on=function(){r.set("DPickerColorGradient",en),Q()},cn=function(){r.set("DDialogColorGradient",un),on()},fn=function(){r.set("DButtonColorGradient",rn),cn()},an=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):h.ACTIVE_COLOR},t}(B),ln=function(){r.set("DButtonDanger",an)};const sn=wcardinal.ui.DPickerDates;var hn=function(n){return sn.format(n)},Dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return hn},t.prototype.newTextValue=function(){return new Date},t}(S),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K);const mn=wcardinal.ui.DPickerDatetimeMask;var kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t.prototype.getMask=function(){return mn.HOURS|mn.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(m),pn=["January","February","March","April","May","June","July","August","September","October","November","December"],Tn=["Su","Mo","Tu","We","Th","Fr","Sa"],gn=function(n){return"".concat(pn[n.getMonth()]," ").concat(n.getFullYear())},wn=function(){},bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return Tn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return gn},t.prototype.getDateDecorator=function(){return wn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return mn.DATE|n.prototype.getMask.call(this)},t}(kn),yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return mn.DATE},t}(bn);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 In=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 y.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}(_),vn=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 Cn=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 y.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}(_),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Bn=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.prototype.getInteractive=function(){return o.NONE},t}(xn),Sn=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}(xn),Mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return o.NONE},t}(m),_n=function(){r.set("DPickerTime",kn)},Ln=function(){r.set("DPickerDatetimeButtonBack",In),r.set("DPickerDatetimeButtonDate",vn),r.set("DPickerDatetimeButtonNext",Cn),r.set("DPickerDatetimeLabelDate",Sn),r.set("DPickerDatetimeLabel",Bn),r.set("DPickerDatetimeSpace",Mn),r.set("DPickerDatetime",bn),_n()},En=function(){r.set("DPickerDate",yn),Ln()},Pn=function(){r.set("DDialogDate",dn),En()},Fn=function(){r.set("DButtonDate",Dn),Pn()};const Nn=wcardinal.ui.DPickerDatetimes;var An=function(n,t){return Nn.format(n,t.getDatetimeMask())},Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return An},t.prototype.newTextValue=function(){return new Date},t}(S),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),zn=function(){r.set("DDialogDatetime",Hn),Ln()},Gn=function(){r.set("DButtonDatetime",Rn),zn()},Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(S),On=function(){r.set("DButtonFile",Vn)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),Xn=function(){r.set("DButtonLink",Yn)},Un=function(n){function t(){return n.call(this,h.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):h.ACTIVE_COLOR},t}(B),Wn=function(){r.set("DButtonPrimary",Un)};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 Kn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return h.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.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?h.WEAK_HIGHLIGHT_COLOR:h.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}(_),jn=function(){r.set("DButtonRadio",Kn)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return y.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(Kn),qn=function(){r.set("DButtonRadioRight",Jn)},Qn=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 Zn=wcardinal.ui.toLabel;var $n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Zn},t.prototype.newTextValue=function(){return null},t}(S);const nt=wcardinal.ui.toId,tt=wcardinal.ui.toLabelWith;var rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.toCategoryId=function(n){return nt(n)},t.prototype.toCategoryLabel=function(n){return tt(n,"All")},t}(W);const ut=wcardinal.ui.UtilGestureMode;var et=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 h.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 ut.TOUCH},t}(m),it=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(et),ot=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}(it),ct=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=s.blend(n,16777215,.025),this.D=1,this.m=s.blend(n,h.INVALID_COLOR,h.INVALID_ALPHA),this.k=1,this.p=r?h.HIGHLIGHT_COLOR:s.blend(n,h.HIGHLIGHT_COLOR,h.HIGHLIGHT_ALPHA),this.T=1,this.g=s.blend(n,h.WEAK_HIGHLIGHT_COLOR,h.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=16777215,this.l=0,this.h=16777215,this.D=.025,this.m=h.INVALID_COLOR,this.k=h.INVALID_ALPHA,this.p=h.HIGHLIGHT_COLOR,this.T=r?1:h.HIGHLIGHT_ALPHA,this.g=h.WEAK_HIGHLIGHT_COLOR,this.I=h.WEAK_HIGHLIGHT_ALPHA),this.v=h.COLOR,this.C=r?h.ACTIVE_COLOR:h.COLOR,r?(this.B=h.COLOR,this.S=h.ACTIVE_COLOR):(this.B=h.COLOR,this.S=h.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.p: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.T: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.v:this.C},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),ft=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 ct(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}(x),at=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new ct(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(ft),lt=function(){r.set("DDialogSelect",rt),r.set("DDialogSelectList",ot),r.set("DDialogSelectListItem",at)};const st=wcardinal.ui.DPickerTimes;var ht=function(n,t){return st.format(n,t.getDatetimeMask())},Dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ht},t.prototype.newTextValue=function(){return new Date},t}(S),dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),mt=function(){r.set("DDialogTime",dt),_n()},kt=function(){r.set("DButtonTime",Dt),mt()},pt=function(){L(),F(),A(),$(),fn(),r.set("DButtonSelect",$n),lt(),ln(),Fn(),Gn(),On(),Xn(),Wn(),jn(),qn(),r.set("DButtonSecondary",Qn),kt(),M()},Tt=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),gt=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),wt=function(){r.set("DCanvasContainer",gt),r.set("DCanvas",Tt)},bt=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 yt=wcardinal.ui.DChartAxisPosition,It=wcardinal.ui.DChartAxisTickPosition,vt=wcardinal.ui.EShapeTextAlignHorizontal,Ct=wcardinal.ui.EShapeTextAlignVertical,xt=wcardinal.ui.EShapeTextDirection;var Bt=function(){function n(){}return n.prototype.getPosition=function(){return yt.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case yt.TOP:case yt.BOTTOM:return vt.CENTER;case yt.LEFT:return vt.OUTSIDE_LEFT;case yt.RIGHT:return vt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case yt.TOP:return Ct.OUTSIDE_TOP;case yt.BOTTOM:return Ct.OUTSIDE_BOTTOM;case yt.LEFT:case yt.RIGHT:return Ct.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return xt.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return It.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case yt.TOP:case yt.BOTTOM:return vt.CENTER;case yt.LEFT:return vt.OUTSIDE_LEFT;case yt.RIGHT:return vt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case yt.TOP:return Ct.OUTSIDE_TOP;case yt.BOTTOM:return Ct.OUTSIDE_BOTTOM;case yt.LEFT:case yt.RIGHT:return Ct.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return xt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return It.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Bt),Mt=function(n,t,r){var u=Math.abs(t-n)/r;if(u<=10)return u<=1.33?1:u<=2.86?2:u<=6.67?5:10;if(u<=100)return u<=13.33?10:u<=28.57?20:u<=66.67?50:100;if(u<=1e3)return u<=133.33?100:u<=285.71?200:u<=666.67?500:1e3;if(u<=1e4)return u<=1333.33?1e3:u<=2857.14?2e3:u<=6666.66?5e3:1e4;if(u<=12e4)return u<=13333.33?1e4:u<=24e3?2e4:u<=4e4?3e4:u<=72e3?6e4:u<=102857.14?9e4:12e4;if(u<=108e5)return u<=171428.57?12e4:u<=4e5?3e5:u<=8e5?6e5:u<=144e4?12e5:u<=24e5?18e5:u<=432e4?36e5:u<=6171428.57?54e5:u<=8e6?72e5:u<=9818181.82?9e6:108e5;var e=36e5,i=u/e;if(i<=24)return i<=1.33?e:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return Mt},t}(St),Lt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return yt.LEFT},t.prototype.getLabelDirection=function(){return xt.BOTTOM_TO_TOP},t}(Bt),Et=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),Pt=function(){function n(){}return n.prototype.toStep=function(n,t,r){var u=Math.abs(t-n)/r,e=Math.floor(Math.log(u)/Math.LN10),i=Math.pow(10,e),o=u/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),Ft=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Ht=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 zt=wcardinal.ui.EShapeStrokeStyle,Gt=wcardinal.ui.EShapeBar,Vt=wcardinal.ui.EShapeBarPosition;var Ot=function(){},Yt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new Gt;return t.points.position=Vt.TOP,t.stroke.style=zt.DASHED,t.stroke.alpha=.75,t},t}(Ot),Xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new Gt;return t.points.position=Vt.LEFT,t.stroke.style=zt.DASHED,t.stroke.alpha=.75,t},t}(Ot);const Ut=wcardinal.ui.EShapeCircle;var Wt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new Ut;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(Ot),Kt=function(){r.set("DChart",bt),r.set("DChartAxisX",St),r.set("DChartAxisXDatetime",_t),r.set("DChartAxisY",Lt),r.set("DChartCoordinate",Et),r.set("DChartCoordinateTick",Pt),r.set("DChartCoordinateTransform",Ft),r.set("DChartLegend",Nt),r.set("DChartLegendItem",At),r.set("DChartOverview",Rt),r.set("DChartPlotArea",Ht),r.set("DChartSelectionGridlineX",Yt),r.set("DChartSelectionGridlineY",Xt),r.set("DChartSelectionMarker",Wt)},jt=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Jt=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(s.brighten(n[t],.75));for(t=10;t<20;++t)n.push(s.brighten(n[t],.45));for(t=10;t<20;++t)n.push(s.brighten(n[t],.15));for(t=10;t<20;++t)n.push(s.darken(n[t],.15));for(t=10;t<20;++t)n.push(s.darken(n[t],.45));for(t=10;t<20;++t)n.push(s.darken(n[t],.75));return n},n}(),qt=function(){r.set("DColorRecent",jt),r.set("DColorStandard",Jt)},Qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 3026478},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(gt),Zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qt),$t=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 h.BACKGROUND_COLOR},t}(Tt),nr=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}($t);const tr=wcardinal.ui.EShapeStrokeSide;var rr=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.2},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return tr.ALL},n.prototype.getStrokeStyle=function(){return zt.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),ur=function(){r.set("EShape",rr)},er=function(){r.set("DDiagram",Zt),r.set("DDiagramCanvas",nr),ur()},ir=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},or=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(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return zt.DASHED|zt.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 ir},t.prototype.getSnapTargetColor=function(){return h.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}($t),cr=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.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Qt);const fr=wcardinal.ui.EShapeActionOpenDialogExtensions,ar=wcardinal.ui.EShapeActionOpenExtensions,lr=wcardinal.ui.EShapeActionValueBlinkType,sr=wcardinal.ui.EShapeActionValueChangeColorTarget,hr=wcardinal.ui.EShapeActionValueChangeColorType,Dr=wcardinal.ui.EShapeActionValueChangeTextType,dr=wcardinal.ui.EShapeActionValueGestureOperationType,mr=wcardinal.ui.EShapeActionValueGestureType,kr=wcardinal.ui.EShapeActionValueMiscType,pr=wcardinal.ui.EShapeActionValueOnInputAction,Tr=wcardinal.ui.EShapeActionValueOpenDialogType,gr=wcardinal.ui.EShapeActionValueOpenType,wr=wcardinal.ui.EShapeActionValueOpetyped,br=wcardinal.ui.EShapeActionValueShowHideType,yr=wcardinal.ui.EShapeActionValueSubtyped,Ir=wcardinal.ui.EShapeActionValueTransformMoveType,vr=wcardinal.ui.EShapeActionValueTransformResizeType,Cr=wcardinal.ui.EShapeActionValueTransformRotateType,xr=wcardinal.ui.EShapeActionValueTransformType,Br=wcardinal.ui.EShapeActionValueType,Sr=wcardinal.ui.UtilHtmlElementWhen;var Mr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof yr){var r,u=n.subtype;if(n instanceof wr){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case Br.SHOW_HIDE:return"".concat(u,": ").concat(this.toShowHideTypeLabel(t));case Br.BLINK:return"".concat(u,": ").concat(this.toBlinkTypeLabel(t));case Br.CHANGE_COLOR:case Br.CHANGE_COLOR_LEGACY:return"".concat(u,": ").concat(this.toChangeColorTypeLabel(t));case Br.CHANGE_TEXT:return"".concat(u,": ").concat(this.toChangeTextTypeLabel(t));case Br.OPEN:return"".concat(u,": ").concat(this.toOpenTypeLabel(t));case Br.GESTURE:return"".concat(u,": ").concat(this.toGestureTypeLabel(t));case Br.MISC:return"".concat(u,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case Br.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case xr.ROTATE:return"".concat(e,": ").concat(this.toTransformRotateTypeLabel(r));case xr.MOVE:return"".concat(e,": ").concat(this.toTransformMoveTypeLabel(r));case xr.RESIZE:return"".concat(e,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Br.SHOW_HIDE:return"Show / hide";case Br.BLINK:return"Blink";case Br.TRANSFORM:return"Transform";case Br.OPEN:return"Open";case Br.CHANGE_COLOR:case Br.CHANGE_COLOR_LEGACY:return"Change color";case Br.CHANGE_TEXT:return"Change text";case Br.CHANGE_CURSOR:return"Change cursor";case Br.EMIT_EVENT:return"Emit an event";case Br.GESTURE:return"Gesture";case Br.MISC:return"Misc.";default:return Br.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case lr.VISIBILITY:return"Visibility";case lr.BRIGHTEN:return"Brighten";case lr.DARKEN:return"Darken";case lr.OPACITY:return"Opacity";case lr.COLOR_FILL:return"Fill";case lr.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case br.SHAPE_SHOW:return"Show";case br.SHAPE_HIDE:return"Hide";case br.SHAPE:return"Shape";case br.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case xr.RESIZE:return"Resize";case xr.MOVE:return"Move";case xr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Cr.RELATIVE:return"Relative";case Cr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case Ir.RELATIVE_X:return"Relative X";case Ir.RELATIVE_Y:return"Relative Y";case Ir.ABSOLUTE_X:return"Absolute X";case Ir.ABSOLUTE_Y:return"Absolute Y";case Ir.FORWARD_OR_BACKWARD:return"Forward / backward";case Ir.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case vr.ABSOLUTE_SIZE:return"Height & width";case vr.RELATIVE_SIZE:return"Height & width (%)";case vr.ABSOLUTE_HEIGHT:return"Height";case vr.RELATIVE_HEIGHT:return"Height (%)";case vr.ABSOLUTE_WIDTH:return"Width";case vr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===hr.NONE)return"None";var t="",r="";return n&hr.FILL&&(t+=r+"Fill",r=", "),n&hr.STROKE&&(t+=r+"Stroke",r=", "),n&hr.TEXT&&(t+=r+"Text",r=", "),n&hr.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case sr.COLOR_AND_ALPHA:return"Color";case sr.COLOR:return"RGB";case sr.ALPHA:return"Alpha";case sr.CODE:return"Dynamic color";case sr.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case Dr.TEXT:return"Text";case Dr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case gr.DIAGRAM_LEGACY:return"Diagram";case gr.PAGE_LEGACY:return"Page (New window)";case gr.PAGE_INPLACE_LEGACY:return"Page (In-place)";case gr.DIALOG_TEXT:return"Dialog (Text)";case gr.DIALOG_INTEGER:return"Dialog (Integer)";case gr.DIALOG_REAL:return"Dialog (Real)";case gr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case gr.DIALOG_DATE:return"Dialog (Date)";case gr.DIALOG_TIME:return"Dialog (Time)";case gr.DIALOG_DATETIME:return"Dialog (Datetime)";case gr.DIAGRAM:return"Diagram";case gr.PAGE:return"Page";case gr.DIALOG:return"Dialog";default:if(gr.EXTENSION<=n){var t=ar.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case Tr.TEXT:return"Text";case Tr.INTEGER:return"Integer";case Tr.REAL:return"Real";case Tr.BOOLEAN:return"Boolean";case Tr.DATE:return"Date";case Tr.TIME:return"Time";case Tr.DATETIME:return"Datetime";default:if(Tr.EXTENSION<=n){var t=fr.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case mr.SHAPE:return"Shape";case mr.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case dr.DRAG:return"Drag";case dr.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case kr.INPUT_TEXT:return"Input (Text)";case kr.INPUT_INTEGER:return"Input (Integer)";case kr.INPUT_REAL:return"Input (Real)";case kr.EMIT_EVENT:return this.toOnInputActionLabel(pr.EMIT_EVENT);case kr.WRITE_BOTH:return this.toOnInputActionLabel(pr.WRITE_BOTH);case kr.WRITE_LOCAL:return this.toOnInputActionLabel(pr.WRITE_LOCAL);case kr.WRITE_REMOTE:return this.toOnInputActionLabel(pr.WRITE_REMOTE);case kr.HTML_ELEMENT:return"HTML element";case kr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case kr.SHOW_HIDE_LAYER:return"Show / hide layers";case kr.GESTURE_LAYER:return"Layer gesture";case kr.GESTURE:return"Gesture";case kr.EXECUTE:return"Execute"}},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 pr.EMIT_EVENT:return"Emit event";case pr.WRITE_BOTH:return"Write (Both)";case pr.WRITE_LOCAL:return"Write (Local)";case pr.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),_r=function(){r.set("EShapeActionValue",Mr)},Lr=function(){r.set("DDiagramEditor",cr),r.set("DDiagramCanvasEditor",or),_r(),ur()},Er=function(){r.set("DDialog",U)};const Pr=wcardinal.ui.DLayoutDirection;var Fr=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 Pr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(m),Nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Pr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Fr),Ar=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"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Nr),Rr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Pr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Fr),Hr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Rr),zr=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 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(){return null},t.prototype.getCornerMask=function(){return f.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(x);t.add("dialog_layered_header_button_close",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="15 2 5 12"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 2 15 12"></polyline></g>');var Gr=function(n,t){return n-34},Vr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return Gr},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return y.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(_),Or=function(n){return n-1},Yr=function(n){return n-16},Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return Or},t.prototype.getWidth=function(){return Yr},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return h.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.NONE},t}(x),Ur=function(){r.set("DDialogLayeredContent",Ar),r.set("DDialogLayeredFooter",Hr),r.set("DDialogLayeredHeaderButtonClose",Vr),r.set("DDialogLayeredHeaderSeparator",Xr),r.set("DDialogLayeredHeader",zr),r.set("DDialogLayered",W)},Wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t.prototype.getMessage=function(){return""},t}(W),Kr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),jr=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}(Kr),Jr=function(){r.set("DDialogConfirm",Wr),r.set("DDialogConfirmMessage",jr)},qr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Are you sure you want to delete this data?"},t}(Wr),Qr=function(){r.set("DDialogConfirmDelete",qr)},Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMessage=function(){return"Your changes have not been saved.\nDo you want to discard the changes and continue?"},t}(Wr),$r=function(){r.set("DDialogConfirmDiscard",Zr)},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(W),tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(nu),ru=function(){r.set("DDialogInputBoolean",tu)},uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(nu),eu=function(){r.set("DDialogInputInteger",uu)},iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(nu),ou=function(){r.set("DDialogInputReal",iu)},cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(nu),fu=function(){r.set("DDialogInputText",cu)},au=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}(Wr),lu=function(){r.set("DDialogMessage",au)},su=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},hu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return su},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Wr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>');var Du=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:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(jr),du=function(){r.set("DDialogProcessing",hu),r.set("DDialogProcessingMessage",Du)},mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(cu),ku=function(){r.set("DDialogSaveAs",mu)},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(Ar),Tu=function(){r.set("DDialogFittedContent",pu),r.set("DDialogFitted",K)},gu=function(){cn(),Z(),Jr(),Qr(),$r(),Pn(),zn(),Tu(),ru(),eu(),ou(),fu(),Ur(),lu(),du(),ku(),lt(),mt(),Er()},wu=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}(Nr);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 bu=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}(Kr),yu=function(){r.set("DExpandableHeader",bu),r.set("DExpandable",wu)};const Iu=wcardinal.ui.DHtmlElementState;var vu=function(){return null},Cu=function(n){var t=document.createElement("div");return n.appendChild(t),t},xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return vu},t.prototype.setElementStyle=function(n,t,r,u,e,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(Iu.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,u=n.y-t.y;return"left:".concat(r,"px; top:").concat(u,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var r=t.id;return"-webkit-clip-path: url(#".concat(r,"); clip-path: url(#").concat(r,");")}return""},t.prototype.getClipperCreator=function(){return Cu},t.prototype.setClipperStyle=function(n,t,r,u,e,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return Cu},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 Cu},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return Sr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(x),Bu=function(){r.set("DHtmlElement",xu)},Su=function(){r.set("DImage",Kr)},Mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(Rr),_u=function(){r.set("DInputAndLabel",Mu)},Lu=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}(Rr),Eu=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),Pu=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",Lu),r.set("DInputBooleanButtonOn",Pu),r.set("DInputBooleanButtonOff",Eu)},Nu=function(){return null},Au=function(n){return n},Ru=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=s.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?h.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 Au},t.prototype.getEditingValidator=function(){return Nu},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}(xu),Hu="d-theme-dark-input",zu="".concat(Hu,"-element"),Gu=function(n){var t=n.getElementsByClassName(zu);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",zu),n.appendChild(r),r},Vu=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},Ou="".concat(Hu,"-clipper"),Yu=function(n){return Vu(n,Ou)},Xu="".concat(Hu,"-before"),Uu=function(n){return Vu(n,Xu)},Wu="".concat(Hu,"-after"),Ku=function(n){return Vu(n,Wu)},ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Gu},t.prototype.getClipperCreator=function(){return Yu},t.prototype.getBeforeCreator=function(){return Uu},t.prototype.getAfterCreator=function(){return Ku},t}(Ru),Ju=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}(ju),qu=function(n){var t=parseInt(n,10);return t==t?t:0},Qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return qu},t}(Ju),Zu=function(){r.set("DInputInteger",Qu)},$u=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}(xn),ne=function(){r.set("DInputLabel",$u)},te=function(n){var t=parseFloat(n);return t==t?t:0},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return te},t}(Ju),ue=function(){r.set("DInputReal",re)},ee=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(ju);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 ie=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 y.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(ee),oe=function(){r.set("DInputSearch",ie)},ce=function(){r.set("DInputText",ee)},fe="d-theme-dark-input-text-area",ae="".concat(fe,"-element"),le=function(n){var t=n.getElementsByClassName(ae);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",ae),n.appendChild(r),r},se=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},he="".concat(fe,"-clipper"),De=function(n){return se(n,he)},de="".concat(fe,"-before"),me=function(n){return se(n,de)},ke="".concat(fe,"-after"),pe=function(n){return se(n,ke)},Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return I.NORMAL},t.prototype.getElementCreator=function(){return le},t.prototype.getClipperCreator=function(){return De},t.prototype.getBeforeCreator=function(){return me},t.prototype.getAfterCreator=function(){return pe},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case I.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(Ru),ge=function(){r.set("DInputTextArea",Te)},we=function(){_u(),Fu(),Zu(),ne(),ue(),oe(),ge(),ce()},be=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),ye=function(){r.set("DLayout",Fr),r.set("DLayoutHorizontal",Rr),r.set("DLayoutSpace",be),r.set("DLayoutVertical",Nr)};const Ie=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 ve=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:Ie.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Ie.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Ie.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}(),Ce=function(){r.set("DLink",ve)},xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new ct(null,!1,!0)},t}(ft),Be=function(){r.set("DListItemAmbient",xe),r.set("DListItem",ft),r.set("DList",it)},Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.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}(Nr),Me=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?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?h.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return h.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 h.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}(Kr),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return h.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Me),Le=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}(_e);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 Ee=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return h.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return h.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 y.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Le),Pe=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}(Nr),Fe=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}(Nr),Ne=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}();Ne.init();var Ae=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?Ne.getImageOpened():Ne.getImageClosed()},t.prototype.getImageAlignWith=function(){return y.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Me),Re=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}(Ee);const He=wcardinal.ui.DBaseState;var ze=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(He.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 y.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r}(Le),Ge=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}(ze);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 Ve=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 y.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(_e),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}(Ve),Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return h.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}(Me),Xe=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}(Ye),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(be),We=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}(Ue),Ke=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}(Le),je=function(){r.set("DMenu",Se),r.set("DMenuItem",_e),r.set("DMenuItemCheck",Ee),r.set("DMenuItemLink",ze),r.set("DMenuItemMenu",Ve),r.set("DMenuItemSeparator",Ye),r.set("DMenuItemSpace",Ue),r.set("DMenuItemText",Le),r.set("DMenuItemExpandableBody",Fe),r.set("DMenuItemExpandableHeader",Ae),r.set("DMenuItemExpandableItemCheck",Re),r.set("DMenuItemExpandableItemLink",Ge),r.set("DMenuItemExpandableItemMenu",Oe),r.set("DMenuItemExpandableItemSeparator",Xe),r.set("DMenuItemExpandableItemSpace",We),r.set("DMenuItemExpandableItemText",Ke),r.set("DMenuItemExpandable",Pe)},Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return h.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}(Rr),qe=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?h.HIGHLIGHT_COLOR:n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return h.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),Qe=function(){r.set("DMenuBarItem",qe),r.set("DMenuBar",Je),je()},Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(et),$e=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}(Nr),ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ee),ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Pe),ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Re),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ge),ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Oe),ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Xe),oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(We),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ke),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ze),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ve),li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ye),si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ue),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Le),Di=function(){r.set("DMenuSided",Ze),r.set("DMenuSidedContent",$e),r.set("DMenuSidedItemCheck",ni),r.set("DMenuSidedItemLink",fi),r.set("DMenuSidedItemMenu",ai),r.set("DMenuSidedItemSeparator",li),r.set("DMenuSidedItemSpace",si),r.set("DMenuSidedItemText",hi),r.set("DMenuSidedItemExpandable",ti),r.set("DMenuSidedItemExpandableItemCheck",ri),r.set("DMenuSidedItemExpandableItemLink",ui),r.set("DMenuSidedItemExpandableItemMenu",ei),r.set("DMenuSidedItemExpandableItemSeparator",ii),r.set("DMenuSidedItemExpandableItemSpace",oi),r.set("DMenuSidedItemExpandableItemText",ci)},di=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 y.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}(x),mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Error"},t}(di),ki=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}(di),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(di),Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(di),gi=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}(Ti),wi=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}(Ti),bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(Ti),yi=function(){r.set("DNote",di),r.set("DNoteError",mi),r.set("DNoteNoItemsFound",ki),r.set("DNoteSearching",pi),r.set("DNoteSmallError",gi),r.set("DNoteSmallNoItemsFound",wi),r.set("DNoteSmallSearching",bi)},Ii=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}(Rr);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="11" r="1.1" fill="#fff" stroke="none" /></g>');var vi=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.getInteractive=function(){return o.NONE},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r.prototype.getImageAlignWith=function(){return y.BORDER},r}(x);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 Ci=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 xi=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}(_),Bi=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 Si=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 Mi=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}(_),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t}(x),Li=function(){r.set("DPagination",Ii),r.set("DPaginationPage",_i),r.set("DPaginationDots",vi),r.set("DPaginationButtonLast",Ci),r.set("DPaginationButtonNext",xi),r.set("DPaginationButtonPage",Bi),r.set("DPaginationButtonPrevious",Si),r.set("DPaginationButtonTop",Mi)},Ei=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),Pi=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),Fi=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=s.brighten(h.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),Ni=function(){r.set("DScrollBar",Pi),r.set("DScrollBarThumb",Fi)},Ai=function(){r.set("DPane",et),r.set("DContent",Ei),Ni()};const Ri=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 Hi=function(n){function r(){return n.call(this,h.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return y.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),zi=function(n){if(n){var t=n.text;if(Ri(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return zi},t.prototype.newTextValue=function(){return null},t}(Hi),Vi=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text;if(Ri(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Vi},t.prototype.newTextValue=function(){return[]},t}(Hi),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Hi),Xi=function(){r.set("DDropdown",Yi)},Ui=function(){r.set("DSelectMultiple",Oi),r.set("DSelect",Gi),Xi()},Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(m),Ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 33},t.prototype.getWidth=function(){return 300},t.prototype.getX=function(){return"CENTER"},t}(Wi),ji=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}(C),Ji=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=h.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=s.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=s.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=h.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=s.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=s.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=s.blend(n.BACKGROUND_COLOR,h.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var qi=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 Ji.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(S),Qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ji.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),Zi=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}(Qi),$i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"CENTER"},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 5},t.prototype.getHeight=function(){return"100%"},t}(Qi),no=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 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:h.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return h.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}(C),to=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}(Wi),ro=function(){r.set("DSlider",Wi),r.set("DSliderValue",no),r.set("DSliderLabel",ji),r.set("DSliderThumb",qi),r.set("DSliderVertical",to),r.set("DSliderHorizontal",Ki),r.set("DSliderTrack",Qi),r.set("DSliderTrackVertical",$i),r.set("DSliderTrackHorizontal",Zi)},uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(et),eo=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 io=wcardinal.ui.DTableState;var oo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(io.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?h.INVALID_BLENDED_ON_BOARD:n.underActive?h.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(io.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(io.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return h.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:h.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=s.brighten(t.BACKGROUND_COLOR,.03),n.BACKGROUND_COLOR_FROZEN_ODD=s.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.03),n.BORDER_COLOR=s.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=s.darken(t.BORDER_COLOR,.035),n}(),co=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 oo.getImageTintColor(n,!0)},n}(),fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);co.init();var ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return co.getImageTintColor(n)},t.prototype.getImageSource=function(n){return co.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(fo);co.init();var lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.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 co.getImageTintColor(n)},t.prototype.getImageSource=function(n){return co.getImageSource(n)},t}(Yi),so=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);co.init();var ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return co.getImageTintColor(n)},t.prototype.getImageSource=function(n){return co.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(so),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getImageTintColor=function(n){return oo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(x),mo=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}(Do),ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return oo.getImageTintColor(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t}(P),po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t}(H),To=function(n){return sn.format(n)},go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getTextFormatter=function(){return To},t.prototype.newTextValue=function(){return new Date},t}(S),wo=function(n,t){return Nn.format(n,t.getDatetimeMask())},bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getTextFormatter=function(){return wo},t.prototype.newTextValue=function(){return new Date},t}(S),yo=function(n){return String(Number(n)+1)},Io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return yo},t.prototype.newTextValue=function(){return 0},t}(x),vo=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 oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t}(Qu),Co=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 oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t}(re),xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t}(ee),Bo=function(){function n(){}return n.init=function(){Ne.init()},n.getImageSource=function(n){return n.is(io.HAS_CHILDREN)?n.is(io.OPENED)?Ne.getImageOpened():Ne.getImageClosed():null},n}();Bo.init();var So=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return oo.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),Mo=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 oo.getHeight()},t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(ee),_o=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 oo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getImageAlignWith=function(){return y.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageSource=function(n){return Bo.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),Lo=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 oo.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this._.getImageSource(n)},r}(mo),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Gi),Po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Oi),Fo=function(n,t){return st.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 oo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return oo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return oo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return oo.getBorderMask(n)},t.prototype.getColor=function(n){return oo.getColor(n)},t.prototype.getAlpha=function(n){return oo.getAlpha(n)},t.prototype.getHeight=function(){return oo.getHeight()},t.prototype.getCornerMask=function(){return oo.getCornerMask()},t.prototype.getTextFormatter=function(){return Fo},t.prototype.newTextValue=function(){return new Date},t}(S);Bo.init();var Ao=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 y.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Bo.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(mo),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}(Rr),Ho=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=s.brighten(h.BACKGROUND_COLOR_ON_BOARD,.03),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?h.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(Ro),zo=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.brighten(h.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=s.darken(h.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),Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(zo);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 Vo=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.brighten(h.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=s.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=s.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=s.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=s.darken(h.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=s.darken(t.BORDER_COLOR,.05),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(io.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(io.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(io.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(io.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.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(io.CHECKABLE)?E.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(io.CHECKABLE)?E.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return y.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(io.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(io.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return y.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(io.CHECKABLE)||n.is(io.SORTABLE))?"pointer":""},r}(Kr),Oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Vo),Yo=function(){r.set("DTableBodyCellActionDialog",ao),r.set("DTableBodyCellActionMenu",lo),r.set("DTableBodyCellActionPromise",ho),r.set("DTableBodyCellButton",mo),r.set("DTableBodyCellCheck",ko),r.set("DTableBodyCellColor",po),r.set("DTableBodyCellDate",go),r.set("DTableBodyCellDatetime",bo),r.set("DTableBodyCellIndex",Io),r.set("DTableBodyCellInputInteger",vo),r.set("DTableBodyCellInputReal",Co),r.set("DTableBodyCellInputText",xo),r.set("DTableBodyCellInputTreeMarker",_o),r.set("DTableBodyCellInputTreeInput",Mo),r.set("DTableBodyCellInputTree",So),r.set("DTableBodyCellLink",Lo),r.set("DTableBodyCellSelectDialog",fo),r.set("DTableBodyCellSelectMenu",Eo),r.set("DTableBodyCellSelectMultiple",Po),r.set("DTableBodyCellSelectPromise",so),r.set("DTableBodyCellText",Do),r.set("DTableBodyCellTree",Ao),r.set("DTableBodyCellTime",No),r.set("DTableBodyRow",Ho),r.set("DTableBody",eo),r.set("DTableCategoryCell",Oo),r.set("DTableCategory",Go),r.set("DTableHeaderCell",Vo),r.set("DTableHeader",zo),r.set("DTableRow",Ro),r.set("DTable",uo),F(),$(),Fn(),Gn(),Zu(),ue(),ce(),lt(),je()},Xo=function(){r.set("DText",xn)},Uo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Bo.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 y.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(ct),Wo=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 Uo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(et),Ko=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 Uo(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}(x),jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Ko);Bo.init();var Jo=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}(jo),qo=function(){r.set("DTree",Wo),r.set("DTreeItemText",Ko),r.set("DTreeItemButton",jo),r.set("DTreeItemNonEditable",Jo)};const Qo=wcardinal.ui.UtilGestureModifier;var Zo=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return Qo.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return Qo.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return Qo.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 ut.ON},n.prototype.getGestureModifier=function(){return Qo.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),$o=function(){r.set("DView",Zo)},nc=function(){u(),k(),T(),pt(),wt(),Kt(),qt(),er(),Lr(),gu(),yu(),Bu(),Su(),we(),ye(),Ce(),Be(),qo(),je(),Qe(),Di(),yi(),Li(),Ai(),Q(),on(),En(),Ln(),_n(),Ni(),Ui(),ro(),Yo(),Xo(),$o()},tc={__proto__:null,loadThemeDarkAll:nc,loadThemeDarkBase:k,loadThemeDark:u,loadThemeDarkBoard:T,loadThemeDarkButtonAll:pt,loadThemeDarkButtonAmbient:L,loadThemeDarkButtonCheck:F,loadThemeDarkButtonCheckRight:A,loadThemeDarkButtonColor:$,loadThemeDarkButtonColorGradient:fn,loadThemeDarkButtonDanger:ln,loadThemeDarkButtonDate:Fn,loadThemeDarkButtonDatetime:Gn,loadThemeDarkButtonFile:On,loadThemeDarkButtonLink:Xn,loadThemeDarkButtonPrimary:Wn,loadThemeDarkButtonRadio:jn,loadThemeDarkButtonRadioRight:qn,loadThemeDarkButtonTime:kt,loadThemeDarkButton:M,loadThemeDarkCanvasContainer:wt,loadThemeDarkChart:Kt,loadThemeDarkColor:qt,loadThemeDarkDiagram:er,loadThemeDarkDiagramEditor:Lr,loadThemeDarkDialogAll:gu,loadThemeDarkDialogColorGradient:cn,loadThemeDarkDialogColor:Z,loadThemeDarkDialogConfirm:Jr,loadThemeDarkDialogConfirmDelete:Qr,loadThemeDarkDialogConfirmDiscard:$r,loadThemeDarkDialogDate:Pn,loadThemeDarkDialogDatetime:zn,loadThemeDarkDialogFitted:Tu,loadThemeDarkDialogInputBoolean:ru,loadThemeDarkDialogInputInteger:eu,loadThemeDarkDialogInputReal:ou,loadThemeDarkDialogInputText:fu,loadThemeDarkDialogLayered:Ur,loadThemeDarkDialogMessage:lu,loadThemeDarkDialogProcessing:du,loadThemeDarkDialogSaveAs:ku,loadThemeDarkDialogSelect:lt,loadThemeDarkDialogTime:mt,loadThemeDarkDialog:Er,loadThemeDarkDropdown:Xi,loadThemeDarkExpandable:yu,loadThemeDarkHtmlElement:Bu,loadThemeDarkImage:Su,loadThemeDarkInputAll:we,loadThemeDarkInputAndLabel:_u,loadThemeDarkInputBoolean:Fu,loadThemeDarkInputInteger:Zu,loadThemeDarkInputLabel:ne,loadThemeDarkInputReal:ue,loadThemeDarkInputSearch:oe,loadThemeDarkInputTextArea:ge,loadThemeDarkInputText:ce,loadThemeDarkLayout:ye,loadThemeDarkLink:Ce,loadThemeDarkList:Be,loadThemeDarkTree:qo,loadThemeDarkMenu:je,loadThemeDarkMenuBar:Qe,loadThemeDarkMenuSided:Di,loadThemeDarkNote:yi,loadThemeDarkPagination:Li,loadThemeDarkPane:Ai,loadThemeDarkPickerColorGradient:on,loadThemeDarkPickerColor:Q,loadThemeDarkPickerDate:En,loadThemeDarkPickerDatetime:Ln,loadThemeDarkPickerTime:_n,loadThemeDarkScrollBar:Ni,loadThemeDarkSelect:Ui,loadThemeDarkShapeActionValue:_r,loadThemeDarkShape:ur,loadThemeDarkTable:Yo,loadThemeDarkText:Xo,loadThemeDarkView:$o,loadThemeDarkSlider:ro,DThemeDarkAtlas:t,DThemeDarkBase:m,DThemeDarkBoard:p,DThemeDarkButton:S,DThemeDarkButtonAmbient:_,DThemeDarkButtonBase:B,DThemeDarkButtonCheck:P,DThemeDarkButtonCheckRight:N,DThemeDarkButtonChecks:E,DThemeDarkButtonColor:H,DThemeDarkButtonColorGradient:rn,DThemeDarkButtonDanger:an,DThemeDarkButtonDate:Dn,DThemeDarkButtonDatetime:Rn,DThemeDarkButtonFile:Vn,DThemeDarkButtonLink:Yn,DThemeDarkButtonPrimary:Un,DThemeDarkButtonRadio:Kn,DThemeDarkButtonRadioRight:Jn,DThemeDarkButtonSecondary:Qn,DThemeDarkButtonTime:Dt,DThemeDarkCanvas:Tt,DThemeDarkCanvasContainer:gt,DThemeDarkChartAxisBase:Bt,DThemeDarkChartAxisX:St,DThemeDarkChartAxisXDatetime:_t,DThemeDarkChartAxisY:Lt,DThemeDarkChartCoordinateTick:Pt,DThemeDarkChartCoordinateTransform:Ft,DThemeDarkChartCoordinate:Et,DThemeDarkChartLegend:Nt,DThemeDarkChartLegendItem:At,DThemeDarkChartOverview:Rt,DThemeDarkChartPlotArea:Ht,DThemeDarkChartSelectionGridlineX:Yt,DThemeDarkChartSelectionGridlineY:Xt,DThemeDarkChartSelectionMarker:Wt,DThemeDarkChartSelectionShape:Ot,DThemeDarkChart:bt,DThemeDarkColorRecent:jt,DThemeDarkColorStandard:Jt,DThemeDarkContent:Ei,DThemeDarkDiagram:Zt,DThemeDarkDiagramBase:Qt,DThemeDarkDiagramCanvas:nr,DThemeDarkDiagramCanvasBase:$t,DThemeDarkDiagramCanvasEditor:or,DThemeDarkDiagramEditor:cr,DThemeDarkDialog:U,DThemeDarkDialogColor:j,DThemeDarkDialogColorGradient:un,DThemeDarkDialogConfirm:Wr,DThemeDarkDialogConfirmDelete:qr,DThemeDarkDialogConfirmDiscard:Zr,DThemeDarkDialogConfirmMessage:jr,DThemeDarkDialogDate:dn,DThemeDarkDialogDatetime:Hn,DThemeDarkDialogFittedContent:pu,DThemeDarkDialogFitted:K,DThemeDarkDialogInputBoolean:tu,DThemeDarkDialogInputInteger:uu,DThemeDarkDialogInputReal:iu,DThemeDarkDialogInputText:cu,DThemeDarkDialogInput:nu,DThemeDarkDialogLayeredContent:Ar,DThemeDarkDialogLayeredFooter:Hr,DThemeDarkDialogLayeredHeaderButtonClose:Vr,DThemeDarkDialogLayeredHeaderSeparator:Xr,DThemeDarkDialogLayeredHeader:zr,DThemeDarkDialogLayered:W,DThemeDarkDialogMessage:au,DThemeDarkDialogProcessing:hu,DThemeDarkDialogProcessingMessage:Du,DThemeDarkDialogSaveAs:mu,DThemeDarkDialogSelect:rt,DThemeDarkDialogSelectList:ot,DThemeDarkDialogSelectListItem:at,DThemeDarkDialogTime:dt,DThemeDarkDropdown:Yi,DThemeDarkExpandable:wu,DThemeDarkExpandableHeader:bu,DThemeDarkFont:D,DThemeDarkHtmlElement:xu,DThemeDarkImage:Kr,DThemeDarkImageBase:x,DThemeDarkInputAndLabel:Mu,DThemeDarkInputBooleanButtonOff:Eu,DThemeDarkInputBooleanButtonOn:Pu,DThemeDarkInputBoolean:Lu,DThemeDarkInputInput:ju,DThemeDarkInputInteger:Qu,DThemeDarkInputLabel:$u,DThemeDarkInputNumber:Ju,DThemeDarkInputReal:re,DThemeDarkInputSearch:ie,DThemeDarkInputTextArea:Te,DThemeDarkInputText:ee,DThemeDarkInput:Ru,DThemeDarkLayoutHorizontal:Rr,DThemeDarkLayoutSpace:be,DThemeDarkLayoutVertical:Nr,DThemeDarkLayout:Fr,DThemeDarkLink:ve,DThemeDarkListItemAmbient:xe,DThemeDarkListItem:ft,DThemeDarkListItems:ct,DThemeDarkList:it,DThemeDarkMenu:Se,DThemeDarkMenuBar:Je,DThemeDarkMenuBarItem:qe,DThemeDarkMenuItemBase:Me,DThemeDarkMenuItemCheck:Ee,DThemeDarkMenuItemExpandableBody:Fe,DThemeDarkMenuItemExpandableHeader:Ae,DThemeDarkMenuItemExpandableItemCheck:Re,DThemeDarkMenuItemExpandableItemLink:Ge,DThemeDarkMenuItemExpandableItemMenu:Oe,DThemeDarkMenuItemExpandableItemSeparator:Xe,DThemeDarkMenuItemExpandableItemSpace:We,DThemeDarkMenuItemExpandableItemText:Ke,DThemeDarkMenuItemExpandable:Pe,DThemeDarkMenuItemLink:ze,DThemeDarkMenuItemMenu:Ve,DThemeDarkMenuItemSeparator:Ye,DThemeDarkMenuItemSpace:Ue,DThemeDarkMenuItemText:Le,DThemeDarkMenuItem:_e,DThemeDarkMenuSided:Ze,DThemeDarkMenuSidedContent:$e,DThemeDarkMenuSidedItemCheck:ni,DThemeDarkMenuSidedItemExpandable:ti,DThemeDarkMenuSidedItemExpandableItemCheck:ri,DThemeDarkMenuSidedItemExpandableItemLink:ui,DThemeDarkMenuSidedItemExpandableItemMenu:ei,DThemeDarkMenuSidedItemExpandableItemSeparator:ii,DThemeDarkMenuSidedItemExpandableItemSpace:oi,DThemeDarkMenuSidedItemExpandableItemText:ci,DThemeDarkMenuSidedItemLink:fi,DThemeDarkMenuSidedItemMenu:ai,DThemeDarkMenuSidedItemSeparator:li,DThemeDarkMenuSidedItemSpace:si,DThemeDarkMenuSidedItemText:hi,DThemeDarkNoteError:mi,DThemeDarkNoteNoItemsFound:ki,DThemeDarkNoteSearching:pi,DThemeDarkNoteSmallError:gi,DThemeDarkNoteSmallNoItemsFound:wi,DThemeDarkNoteSmallSearching:bi,DThemeDarkNoteSmall:Ti,DThemeDarkNote:di,DThemeDarkPaginationButtonLast:Ci,DThemeDarkPaginationButtonNext:xi,DThemeDarkPaginationButtonPage:Bi,DThemeDarkPaginationButtonPrevious:Si,DThemeDarkPaginationButtonTop:Mi,DThemeDarkPaginationDots:vi,DThemeDarkPaginationPage:_i,DThemeDarkPagination:Ii,DThemeDarkPane:et,DThemeDarkPickerColor:q,DThemeDarkPickerColorGradient:en,DThemeDarkPickerDate:yn,DThemeDarkPickerDatetimeButtonBack:In,DThemeDarkPickerDatetimeButtonDate:vn,DThemeDarkPickerDatetimeButtonNext:Cn,DThemeDarkPickerDatetimeLabel:Bn,DThemeDarkPickerDatetimeLabelDate:Sn,DThemeDarkPickerDatetimeSpace:Mn,DThemeDarkPickerDatetime:bn,DThemeDarkPickerTime:kn,DThemeDarkScrollBar:Pi,DThemeDarkScrollBarThumb:Fi,DThemeDarkSelectMultiple:Oi,DThemeDarkSelect:Gi,DThemeDarkSlider:Wi,DThemeDarkSliderHorizontal:Ki,DThemeDarkSliderLabel:ji,DThemeDarkSliderThumb:qi,DThemeDarkSliderTrack:Qi,DThemeDarkSliderTrackHorizontal:Zi,DThemeDarkSliderTrackVertical:$i,DThemeDarkSliderValue:no,DThemeDarkSliderVertical:to,DThemeDarkTable:uo,DThemeDarkTableBodyCellButton:mo,DThemeDarkTableBodyCellCheck:ko,DThemeDarkTableBodyCellColor:po,DThemeDarkTableBodyCellDate:go,DThemeDarkTableBodyCellDatetime:bo,DThemeDarkTableBodyCellIndex:Io,DThemeDarkTableBodyCellInputInteger:vo,DThemeDarkTableBodyCellInputReal:Co,DThemeDarkTableBodyCellInputText:xo,DThemeDarkTableBodyCellLink:Lo,DThemeDarkTableBodyCellSelectDialog:fo,DThemeDarkTableBodyCellSelectMenu:Eo,DThemeDarkTableBodyCellSelectPromise:so,DThemeDarkTableBodyCellText:Do,DThemeDarkTableBodyCellTime:No,DThemeDarkTableBodyCells:oo,DThemeDarkTableBodyRow:Ho,DThemeDarkTableBody:eo,DThemeDarkTableCategory:Go,DThemeDarkTableCategoryCell:Oo,DThemeDarkTableHeader:zo,DThemeDarkTableHeaderCell:Vo,DThemeDarkTableRow:Ro,DThemeDarkText:xn,DThemeDarkTextBase:C,DThemeDarkTreeItemButton:jo,DThemeDarkTreeItemNonEditable:Jo,DThemeDarkTreeItemText:Ko,DThemeDarkTreeItems:Uo,DThemeDarkTree:Wo,DThemeDarkView:Zo,DThemeDark:r,EThemeDarkShapeActionValue:Mr,EThemeDarkShape:rr};nc();var rc=window;rc.wcardinal=rc.wcardinal||{};var uc=rc.wcardinal.ui=rc.wcardinal.ui||{},ec=tc;for(var ic in ec)uc[ic]=ec[ic]}();
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 '".concat(t,"'"))},n.prototype.set=function(n,t){return this.t[n]=t,this},n.prototype.getClass=function(t){var r=n.u[t];if(null!=r)return r;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.setClass=function(t,r){return n.u[t]=r,this},n.prototype.getAtlas=function(){return t},n.set=function(n,t){this.u[n]=t},n.u={},n}(),u=function(){n.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,s=wcardinal.ui.UtilRgb;var h=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=s.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=s.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=s.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=s.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=s.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=s.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 h.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),d=function(n,r,u){var e=2*r;t.add(n,e,e,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*u,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*u,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*u,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*u,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*u,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*u,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*u,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*u,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(e,'" height="').concat(e,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};d("shadow_weak",24,.72),d("shadow",48,.72),t.add("background",16,16,'<g><defs><radialGradient id="background_filter"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#background_filter)"/></g>');var 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 h.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,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new l(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(D),k=function(){r.set("DBase",m)},p=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),T=function(){r.set("DBoard",p)};const g=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,y=wcardinal.ui.DAlignWith,I=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var C=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.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return I.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(m),x=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 y.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}(C),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=s.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=s.brighten(t,u),e.OUTLINE_COLOR=s.darken(t,.75),e}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?h.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):h.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?h.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}(x),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?h.HIGHLIGHT_COLOR:h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*h.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return h.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?h.WEAK_HIGHLIGHT_COLOR:h.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 h.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.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)},N=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return y.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(P),A=function(){r.set("DButtonCheckRight",N)};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"#".concat(s.toCode(n.color)," A").concat(n.alpha.toFixed(2))},H=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 z=wcardinal.ui.DAnimationFadeIn,G=wcardinal.ui.DDialogAlign,V=wcardinal.ui.DDialogCloseOn,O=wcardinal.ui.DDialogGestureMode,Y=wcardinal.ui.DDialogMode,X=wcardinal.ui.DDialogState;var U=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return Y.MODAL},t.prototype.closeOn=function(n){switch(n){case Y.MODAL:case Y.MENU:return V.ESC|V.CLICK_OUTSIDE;case Y.MODELESS:return V.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case Y.MODAL:case Y.MODELESS:return!0;case Y.MENU:return!1}},t.prototype.getGestureMode=function(n){return O.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return G.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case Y.MODAL:return new z;case Y.MODELESS:case Y.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(X.MENU)?h.BACKGROUND_COLOR_ON_BOARD:h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(X.MENU)?null:3750201},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 0},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 0},t.prototype.getPaddingBottom=function(){return 0},t.prototype.getX=function(){return 0},t.prototype.getY=function(){return 0},t.prototype.getWidth=function(){return 400},t.prototype.getHeight=function(){return"auto"},t.prototype.getShadow=function(){return this.newShadow()},t.prototype.getInteractive=function(){return o.BOTH},t}(m),W=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLayout=function(){},t.prototype.getHeader=function(){return null},t.prototype.getContent=function(){},t.prototype.getFooter=function(){},t}(U),K=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(W),j=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),J=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e){var i=(e+u)%2==0?"#5f5f5f":"#454545";r+='<rect x="'.concat(9*e,'" y="').concat(9*u,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",236,164,'<g><linearGradient id="fs7w3iusfdnb" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><linearGradient id="2rfcfe9874bw" x1="0%" y1="0%" x2="0%" y2="100%"><stop stop-color="#000000" stop-opacity="0" offset="0"/><stop stop-color="#000000" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="236" height="164" fill="url(#fs7w3iusfdnb)" /><rect x="0" y="0" width="236" height="164" fill="url(#2rfcfe9874bw)" /></g>',1,1,234,162),t.add("picker_color_main_base",236,164,'<g><rect x="0" y="0" width="236" height="164" fill="#fff" /></g>',1,1,234,162),t.add("picker_color_alpha_checkerboard",234,18,J(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",36,36,J(4,4),9,9,18,18),t.add("picker_color_recent",36,36,'<g><rect x="0" y="0" width="36" height="36" fill="#fff" /><path x="0" y="0" d="M9 9 h18 v18 h-18 v-18 m1 1 v16 h16 v-16 h-16 z" fill="#eee" /></g>',9,9,18,18),t.add("picker_color_sample_checkerboard",45,63,J(5,7)),t.add("picker_color_sample",47,65,'<g><rect x="0" y="0" width="47" height="65" fill="#fff" /></g>',1,1,45,63),t.add("picker_color_anchor_outlined",25.8,25.8,'<circle cx="12.9" cy="12.9" r="8.4" stroke="none" fill="#ffffff" /><circle cx="12.9" cy="12.9" r="9.6" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_anchor",28.2,28.2,'<circle cx="14.1" cy="14.1" r="6" stroke="none" fill="#ffffff" /><circle cx="14.1" cy="14.1" r="7.2" stroke="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_direction",12,30,'<path d="M0.6 25.8 L 12.0375 5.9895" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><path d="M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605" stroke="#5f5f5f" stroke-width="1.2" fill="none" /><rect x="0.6" y="24.6" width="11.4375" height="1.2" rx="0.6" ry="0.6" stroke="none" fill="#5f5f5f" />'),t.add("picker_color_standard",18,18,'<g><rect x="0" y="0" width="18" height="18" fill="#fff" stroke-width="1" stroke="#eee" /></g>');var q=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 162},r.prototype.getMainTexture=function(){return t.mappings.picker_color_main},r.prototype.getMainBaseTexture=function(){return t.mappings.picker_color_main_base},r.prototype.getMainPointerTexture=function(){return t.mappings.picker_color_pointer},r.prototype.getMainPointerColor=function(){return 16777215},r.prototype.getMainPointerAlpha=function(){return 1},r.prototype.getBaseHeight=function(){return 18},r.prototype.getBaseMargin=function(){return 6},r.prototype.getBaseTexture=function(){return t.mappings.picker_color_base},r.prototype.getBasePointerTexture=function(){return t.mappings.picker_color_base_pointer},r.prototype.getBasePointerColor=function(){return 16777215},r.prototype.getBasePointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getAlphaHeight=function(){return this.getBaseHeight()},r.prototype.getAlphaMargin=function(){return this.getBaseMargin()},r.prototype.getAlphaTexture=function(){return t.mappings.picker_color_alpha},r.prototype.getAlphaCheckerboardTexture=function(){return t.mappings.picker_color_alpha_checkerboard},r.prototype.getAlphaPointerTexture=function(){return this.getBasePointerTexture()},r.prototype.getAlphaPointerColor=function(){return this.getBasePointerColor()},r.prototype.getAlphaPointerAlpha=function(){return this.getMainPointerAlpha()},r.prototype.getRecentMargin=function(){return this.getBaseMargin()},r.prototype.getRecentColorWidth=function(){return this.getBaseHeight()},r.prototype.getRecentColorHeight=function(){return this.getRecentColorWidth()},r.prototype.getRecentColorMargin=function(){return this.getRecentMargin()},r.prototype.getRecentColorCount=function(){return 10},r.prototype.getRecentCheckerboardTexture=function(){return t.mappings.picker_color_recent_checkerboard},r.prototype.getRecentTexture=function(){return t.mappings.picker_color_recent},r.prototype.getInputMargin=function(){return this.getBaseMargin()},r.prototype.getInputLabelWidth=function(){return 15},r.prototype.getSampleCheckerboardOldTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleCheckerboardNewTexture=function(){return t.mappings.picker_color_sample_checkerboard},r.prototype.getSampleOldTexture=function(){return t.mappings.picker_color_sample},r.prototype.getSampleNewTexture=function(){return t.mappings.picker_color_sample},r.prototype.getStandardColorCount=function(){return 80},r.prototype.getStandardColorWidth=function(){return this.getBaseHeight()},r.prototype.getStandardColorHeight=function(){return this.getStandardColorWidth()},r.prototype.getStandardColorMargin=function(){return this.getBaseMargin()},r.prototype.getStandardTexture=function(){return t.mappings.picker_color_standard},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),Q=function(){r.set("DPickerColor",q)},Z=function(){r.set("DDialogColor",j),Q()},$=function(){r.set("DButtonColor",H),Z()};const nn=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 tn=function(){return""},rn=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 tn},r.prototype.newTextValue=function(){return new nn},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(S),un=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),en=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.37255,.27]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(m),on=function(){r.set("DPickerColorGradient",en),Q()},cn=function(){r.set("DDialogColorGradient",un),on()},fn=function(){r.set("DButtonColorGradient",rn),cn()},an=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):h.ACTIVE_COLOR},t}(B),ln=function(){r.set("DButtonDanger",an)};const sn=wcardinal.ui.DPickerDates;var hn=function(n){return sn.format(n)},Dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return hn},t.prototype.newTextValue=function(){return new Date},t}(S),dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K);const mn=wcardinal.ui.DPickerDatetimeMask;var kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getMargin=function(){return 8},t.prototype.getHoursOptions=function(){return{width:100,title:"Hours"}},t.prototype.getMinutesOptions=function(){return{width:100,title:"Minutes"}},t.prototype.getSecondsOptions=function(){return{width:100,title:"Seconds"}},t.prototype.getMask=function(){return mn.HOURS|mn.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(m),pn=["January","February","March","April","May","June","July","August","September","October","November","December"],Tn=["Su","Mo","Tu","We","Th","Fr","Sa"],gn=function(n){return"".concat(pn[n.getMonth()]," ").concat(n.getFullYear())},wn=function(){},bn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return Tn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return gn},t.prototype.getDateDecorator=function(){return wn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return mn.DATE|n.prototype.getMask.call(this)},t}(kn),yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return mn.DATE},t}(bn);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 In=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 y.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}(_),vn=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 Cn=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 y.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}(_),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Bn=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.prototype.getInteractive=function(){return o.NONE},t}(xn),Sn=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}(xn),Mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return o.NONE},t}(m),_n=function(){r.set("DPickerTime",kn)},Ln=function(){r.set("DPickerDatetimeButtonBack",In),r.set("DPickerDatetimeButtonDate",vn),r.set("DPickerDatetimeButtonNext",Cn),r.set("DPickerDatetimeLabelDate",Sn),r.set("DPickerDatetimeLabel",Bn),r.set("DPickerDatetimeSpace",Mn),r.set("DPickerDatetime",bn),_n()},En=function(){r.set("DPickerDate",yn),Ln()},Pn=function(){r.set("DDialogDate",dn),En()},Fn=function(){r.set("DButtonDate",Dn),Pn()};const Nn=wcardinal.ui.DPickerDatetimes;var An=function(n,t){return Nn.format(n,t.getDatetimeMask())},Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return An},t.prototype.newTextValue=function(){return new Date},t}(S),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),zn=function(){r.set("DDialogDatetime",Hn),Ln()},Gn=function(){r.set("DButtonDatetime",Rn),zn()},Vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(S),On=function(){r.set("DButtonFile",Vn)},Yn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),Xn=function(){r.set("DButtonLink",Yn)},Un=function(n){function t(){return n.call(this,h.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):h.ACTIVE_COLOR},t}(B),Wn=function(){r.set("DButtonPrimary",Un)};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 Kn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return h.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?h.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?h.WEAK_HIGHLIGHT_COLOR:h.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}(_),jn=function(){r.set("DButtonRadio",Kn)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return y.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(Kn),qn=function(){r.set("DButtonRadioRight",Jn)},Qn=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 Zn=wcardinal.ui.toLabel;var $n=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Zn},t.prototype.newTextValue=function(){return null},t}(S),nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 480},t.prototype.getFooter=function(){return null},t.prototype.getInputMargin=function(){return 19},t.prototype.isCategoryDismissable=function(){return!0},t.prototype.getCategoryDismissLabel=function(){return"All"},t}(W);const tt=wcardinal.ui.UtilGestureMode;var rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isOverflowMaskEnabled=function(){return!0},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return tt.TOUCH},t}(m),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(rt),et=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}(ut),it=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=s.blend(n,16777215,.025),this.D=1,this.m=s.blend(n,h.INVALID_COLOR,h.INVALID_ALPHA),this.k=1,this.p=r?h.HIGHLIGHT_COLOR:s.blend(n,h.HIGHLIGHT_COLOR,h.HIGHLIGHT_ALPHA),this.T=1,this.g=s.blend(n,h.WEAK_HIGHLIGHT_COLOR,h.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=16777215,this.l=0,this.h=16777215,this.D=.025,this.m=h.INVALID_COLOR,this.k=h.INVALID_ALPHA,this.p=h.HIGHLIGHT_COLOR,this.T=r?1:h.HIGHLIGHT_ALPHA,this.g=h.WEAK_HIGHLIGHT_COLOR,this.I=h.WEAK_HIGHLIGHT_ALPHA),this.v=h.COLOR,this.C=r?h.ACTIVE_COLOR:h.COLOR,r?(this.B=h.COLOR,this.S=h.ACTIVE_COLOR):(this.B=h.COLOR,this.S=h.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.p: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.T: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.v:this.C},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),ot=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new it(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}(x),ct=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new it(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(ot),ft=function(){r.set("DDialogSelect",nt),r.set("DDialogSelectList",et),r.set("DDialogSelectListItem",ct)};const at=wcardinal.ui.DPickerTimes;var lt=function(n,t){return at.format(n,t.getDatetimeMask())},st=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return lt},t.prototype.newTextValue=function(){return new Date},t}(S),ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(K),Dt=function(){r.set("DDialogTime",ht),_n()},dt=function(){r.set("DButtonTime",st),Dt()},mt=function(){L(),F(),A(),$(),fn(),r.set("DButtonSelect",$n),ft(),ln(),Fn(),Gn(),On(),Xn(),Wn(),jn(),qn(),r.set("DButtonSecondary",Qn),dt(),M()},kt=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),pt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 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),Tt=function(){r.set("DCanvasContainer",pt),r.set("DCanvas",kt)},gt=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 wt=wcardinal.ui.DChartAxisPosition,bt=wcardinal.ui.DChartAxisTickPosition,yt=wcardinal.ui.EShapeTextAlignHorizontal,It=wcardinal.ui.EShapeTextAlignVertical,vt=wcardinal.ui.EShapeTextDirection;var Ct=function(){function n(){}return n.prototype.getPosition=function(){return wt.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case wt.TOP:case wt.BOTTOM:return yt.CENTER;case wt.LEFT:return yt.OUTSIDE_LEFT;case wt.RIGHT:return yt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case wt.TOP:return It.OUTSIDE_TOP;case wt.BOTTOM:return It.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return It.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return vt.LEFT_TO_RIGHT},n.prototype.getLabelColor=function(){return this.getStrokeColor()},n.prototype.getStyle=function(){},n.prototype.getStrokeEnable=function(){return!0},n.prototype.getStrokeColor=function(){},n.prototype.getStrokeAlpha=function(){},n.prototype.getStrokeWidth=function(){},n.prototype.getStrokeAlign=function(){},n.prototype.getStrokeSide=function(){},n.prototype.getStrokeStyle=function(){},n.prototype.getTickEnable=function(){return!0},n.prototype.getMajorTickCount=function(){return 3},n.prototype.getMajorTickCapacity=function(n){return 2*n},n.prototype.getMajorTickStep=function(){},n.prototype.getMajorTickSize=function(){return 10},n.prototype.getMajorTickPosition=function(){return bt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case wt.TOP:case wt.BOTTOM:return yt.CENTER;case wt.LEFT:return yt.OUTSIDE_LEFT;case wt.RIGHT:return yt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case wt.TOP:return It.OUTSIDE_TOP;case wt.BOTTOM:return It.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return It.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return vt.LEFT_TO_RIGHT},n.prototype.getMajorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickTextFormat=function(){return"%.2f"},n.prototype.getMajorTickTextPaddingHorizontal=function(){return 15},n.prototype.getMajorTickTextPaddingVertical=function(){return 15},n.prototype.getMajorTickStrokeEnable=function(){return!0},n.prototype.getMajorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMajorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMajorTickGridlineEnable=function(){return!0},n.prototype.getMajorTickGridlineStyle=function(){},n.prototype.getMajorTickGridlineStrokeEnable=function(){return!0},n.prototype.getMajorTickGridlineStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMajorTickGridlineStrokeAlpha=function(){return.1},n.prototype.getMajorTickGridlineStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMajorTickGridlineStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMajorTickGridlineStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMajorTickGridlineStrokeStyle=function(){return this.getStrokeStyle()},n.prototype.getMinorTickCount=function(){return 3},n.prototype.getMinorTickStep=function(){},n.prototype.getMinorTickSize=function(){return 5},n.prototype.getMinorTickPosition=function(){return bt.OUTSIDE},n.prototype.getMinorTickStyle=function(){},n.prototype.getMinorTickTextAlignHorizontal=function(n){return this.getMajorTickTextAlignHorizontal(n)},n.prototype.getMinorTickTextAlignVertical=function(n){return this.getMajorTickTextAlignVertical(n)},n.prototype.getMinorTickTextDirection=function(){return this.getMajorTickTextDirection()},n.prototype.getMinorTickTextColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickTextFormat=function(){},n.prototype.getMinorTickTextPaddingHorizontal=function(){return this.getMajorTickTextPaddingHorizontal()},n.prototype.getMinorTickTextPaddingVertical=function(){return this.getMajorTickTextPaddingVertical()},n.prototype.getMinorTickStrokeEnable=function(){return!0},n.prototype.getMinorTickStrokeColor=function(){return this.getStrokeColor()},n.prototype.getMinorTickStrokeAlpha=function(){return this.getStrokeAlpha()},n.prototype.getMinorTickStrokeWidth=function(){return this.getStrokeWidth()},n.prototype.getMinorTickStrokeAlign=function(){return this.getStrokeAlign()},n.prototype.getMinorTickStrokeSide=function(){return this.getStrokeSide()},n.prototype.getMinorTickStrokeStyle=function(){return this.getStrokeStyle()},n}(),xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ct),Bt=function(n,t,r){var u=Math.abs(t-n)/r;if(u<=10)return u<=1.33?1:u<=2.86?2:u<=6.67?5:10;if(u<=100)return u<=13.33?10:u<=28.57?20:u<=66.67?50:100;if(u<=1e3)return u<=133.33?100:u<=285.71?200:u<=666.67?500:1e3;if(u<=1e4)return u<=1333.33?1e3:u<=2857.14?2e3:u<=6666.66?5e3:1e4;if(u<=12e4)return u<=13333.33?1e4:u<=24e3?2e4:u<=4e4?3e4:u<=72e3?6e4:u<=102857.14?9e4:12e4;if(u<=108e5)return u<=171428.57?12e4:u<=4e5?3e5:u<=8e5?6e5:u<=144e4?12e5:u<=24e5?18e5:u<=432e4?36e5:u<=6171428.57?54e5:u<=8e6?72e5:u<=9818181.82?9e6:108e5;var e=36e5,i=u/e;if(i<=24)return i<=1.33?e:i<=2.4?72e5:i<=3.43?108e5:i<=4.8?144e5:i<=6.86?216e5:i<=9.6?288e5:i<=14.4?432e5:i<=20.57?648e5:864e5;var o=i/24,c=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),f=o/c;return f<=1.33?864e5*c:f<=2.86?1728e5*c:f<=6.67?432e6*c:864e6*c},St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMajorTickTextFormat=function(){return"%YMD\n%Hms"},t.prototype.getMajorTickStep=function(){return Bt},t}(xt),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return wt.LEFT},t.prototype.getLabelDirection=function(){return vt.BOTTOM_TO_TOP},t}(Ct),_t=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),Lt=function(){function n(){}return n.prototype.toStep=function(n,t,r){var u=Math.abs(t-n)/r,e=Math.floor(Math.log(u)/Math.LN10),i=Math.pow(10,e),o=u/i;return o<=1.33?i:o<=2.86?2*i:o<=6.67?5*i:10*i},n}(),Et=function(){function n(){}return n.prototype.isZero=function(n){return Math.abs(n)<Number.EPSILON},n}(),Pt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),At=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 Rt=wcardinal.ui.EShapeStrokeStyle,Ht=wcardinal.ui.EShapeBar,zt=wcardinal.ui.EShapeBarPosition;var Gt=function(){},Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new Ht;return t.points.position=zt.TOP,t.stroke.style=Rt.DASHED,t.stroke.alpha=.75,t},t}(Gt),Ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isEnabled=function(n){return n.isHovered},t.prototype.newShape=function(n){var t=new Ht;return t.points.position=zt.LEFT,t.stroke.style=Rt.DASHED,t.stroke.alpha=.75,t},t}(Gt);const Yt=wcardinal.ui.EShapeCircle;var Xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isEnabled=function(n){return n.isActive},t.prototype.newShape=function(n){var t=new Yt;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(Gt),Ut=function(){r.set("DChart",gt),r.set("DChartAxisX",xt),r.set("DChartAxisXDatetime",St),r.set("DChartAxisY",Mt),r.set("DChartCoordinate",_t),r.set("DChartCoordinateTick",Lt),r.set("DChartCoordinateTransform",Et),r.set("DChartLegend",Pt),r.set("DChartLegendItem",Ft),r.set("DChartOverview",Nt),r.set("DChartPlotArea",At),r.set("DChartSelectionGridlineX",Vt),r.set("DChartSelectionGridlineY",Ot),r.set("DChartSelectionMarker",Xt)},Wt=function(){function n(){}return n.prototype.getCapacity=function(){return 10},n.prototype.newColors=function(){return[]},n}(),Kt=function(){function n(){}return n.prototype.newColors=function(){for(var n=[0,4408131,6710886,10066329,12040119,13421772,14277081,15724527,15987699,16777215,12582912,16711680,16760832,16776960,9621584,45136,45296,28864,8288,7352480],t=10;t<20;++t)n.push(s.brighten(n[t],.75));for(t=10;t<20;++t)n.push(s.brighten(n[t],.45));for(t=10;t<20;++t)n.push(s.brighten(n[t],.15));for(t=10;t<20;++t)n.push(s.darken(n[t],.15));for(t=10;t<20;++t)n.push(s.darken(n[t],.45));for(t=10;t<20;++t)n.push(s.darken(n[t],.75));return n},n}(),jt=function(){r.set("DColorRecent",Wt),r.set("DColorStandard",Kt)},Jt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 3026478},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(pt),qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Jt),Qt=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 h.BACKGROUND_COLOR},t}(kt),Zt=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}(Qt);const $t=wcardinal.ui.EShapeStrokeSide;var nr=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.2},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return $t.ALL},n.prototype.getStrokeStyle=function(){return Rt.NONE},n.prototype.getTextValue=function(){return""},n.prototype.getTextColor=function(){return this.getStrokeColor()},n.prototype.getTextAlpha=function(){return this.getStrokeAlpha()},n.prototype.getTextFamily=function(){return"auto"},n.prototype.getTextSize=function(){return 14},n.prototype.getRadius=function(){return.25},n.prototype.getSizeX=function(){return 100},n.prototype.getSizeY=function(){return 100},n.prototype.getHighlightColor=function(){return 2000880},n.prototype.getCurveSegmentCount=function(){return 24},n}(),tr=function(){r.set("EShape",nr)},rr=function(){r.set("DDiagram",qt),r.set("DDiagramCanvas",Zt),tr()},ur=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},er=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(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return Rt.DASHED|Rt.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 ur},t.prototype.getSnapTargetColor=function(){return h.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Qt),ir=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.prototype.isSnapEnabled=function(){return!0},t.prototype.isSnapGridVisible=function(){return!0},t.prototype.isSnapGridEnabled=function(){return!0},t.prototype.getSnapGridSize=function(){return 10},t.prototype.isSnapTargetVisible=function(){return!0},t.prototype.isSnapTargetEnabled=function(){return!0},t.prototype.getBaseLayerLabel=function(){return"Base Layer"},t}(Jt);const or=wcardinal.ui.EShapeActionOpenDialogExtensions,cr=wcardinal.ui.EShapeActionOpenExtensions,fr=wcardinal.ui.EShapeActionValueBlinkType,ar=wcardinal.ui.EShapeActionValueChangeColorTarget,lr=wcardinal.ui.EShapeActionValueChangeColorType,sr=wcardinal.ui.EShapeActionValueChangeTextType,hr=wcardinal.ui.EShapeActionValueGestureOperationType,Dr=wcardinal.ui.EShapeActionValueGestureType,dr=wcardinal.ui.EShapeActionValueMiscType,mr=wcardinal.ui.EShapeActionValueOnInputAction,kr=wcardinal.ui.EShapeActionValueOpenDialogType,pr=wcardinal.ui.EShapeActionValueOpenType,Tr=wcardinal.ui.EShapeActionValueOpetyped,gr=wcardinal.ui.EShapeActionValueShowHideType,wr=wcardinal.ui.EShapeActionValueSubtyped,br=wcardinal.ui.EShapeActionValueTransformMoveType,yr=wcardinal.ui.EShapeActionValueTransformResizeType,Ir=wcardinal.ui.EShapeActionValueTransformRotateType,vr=wcardinal.ui.EShapeActionValueTransformType,Cr=wcardinal.ui.EShapeActionValueType,xr=wcardinal.ui.UtilHtmlElementWhen;var Br=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof wr){var r,u=n.subtype;if(n instanceof Tr){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case Cr.SHOW_HIDE:return"".concat(u,": ").concat(this.toShowHideTypeLabel(t));case Cr.BLINK:return"".concat(u,": ").concat(this.toBlinkTypeLabel(t));case Cr.CHANGE_COLOR:case Cr.CHANGE_COLOR_LEGACY:return"".concat(u,": ").concat(this.toChangeColorTypeLabel(t));case Cr.CHANGE_TEXT:return"".concat(u,": ").concat(this.toChangeTextTypeLabel(t));case Cr.OPEN:return"".concat(u,": ").concat(this.toOpenTypeLabel(t));case Cr.GESTURE:return"".concat(u,": ").concat(this.toGestureTypeLabel(t));case Cr.MISC:return"".concat(u,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case Cr.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case vr.ROTATE:return"".concat(e,": ").concat(this.toTransformRotateTypeLabel(r));case vr.MOVE:return"".concat(e,": ").concat(this.toTransformMoveTypeLabel(r));case vr.RESIZE:return"".concat(e,": ").concat(this.toTransformResizeTypeLabel(r))}}return null},n.prototype.toTypeLabel=function(n){switch(n){case Cr.SHOW_HIDE:return"Show / hide";case Cr.BLINK:return"Blink";case Cr.TRANSFORM:return"Transform";case Cr.OPEN:return"Open";case Cr.CHANGE_COLOR:case Cr.CHANGE_COLOR_LEGACY:return"Change color";case Cr.CHANGE_TEXT:return"Change text";case Cr.CHANGE_CURSOR:return"Change cursor";case Cr.EMIT_EVENT:return"Emit an event";case Cr.GESTURE:return"Gesture";case Cr.MISC:return"Misc.";default:return Cr.EXTENSION<=n?"Extension":"Unknown"}},n.prototype.toConditionLabel=function(n){return 20<n.length?n.substring(0,20)+"...":n},n.prototype.toBlinkTypeLabel=function(n){switch(n){case fr.VISIBILITY:return"Visibility";case fr.BRIGHTEN:return"Brighten";case fr.DARKEN:return"Darken";case fr.OPACITY:return"Opacity";case fr.COLOR_FILL:return"Fill";case fr.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case gr.SHAPE_SHOW:return"Show";case gr.SHAPE_HIDE:return"Hide";case gr.SHAPE:return"Shape";case gr.LAYER:return"Layer"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case vr.RESIZE:return"Resize";case vr.MOVE:return"Move";case vr.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case Ir.RELATIVE:return"Relative";case Ir.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case br.RELATIVE_X:return"Relative X";case br.RELATIVE_Y:return"Relative Y";case br.ABSOLUTE_X:return"Absolute X";case br.ABSOLUTE_Y:return"Absolute Y";case br.FORWARD_OR_BACKWARD:return"Forward / backward";case br.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case yr.ABSOLUTE_SIZE:return"Height & width";case yr.RELATIVE_SIZE:return"Height & width (%)";case yr.ABSOLUTE_HEIGHT:return"Height";case yr.RELATIVE_HEIGHT:return"Height (%)";case yr.ABSOLUTE_WIDTH:return"Width";case yr.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===lr.NONE)return"None";var t="",r="";return n&lr.FILL&&(t+=r+"Fill",r=", "),n&lr.STROKE&&(t+=r+"Stroke",r=", "),n&lr.TEXT&&(t+=r+"Text",r=", "),n&lr.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case ar.COLOR_AND_ALPHA:return"Color";case ar.COLOR:return"RGB";case ar.ALPHA:return"Alpha";case ar.CODE:return"Dynamic color";case ar.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case sr.TEXT:return"Text";case sr.NUMBER:return"Number"}},n.prototype.toOpenTypeLabel=function(n){switch(n){case pr.DIAGRAM_LEGACY:return"Diagram";case pr.PAGE_LEGACY:return"Page (New window)";case pr.PAGE_INPLACE_LEGACY:return"Page (In-place)";case pr.DIALOG_TEXT:return"Dialog (Text)";case pr.DIALOG_INTEGER:return"Dialog (Integer)";case pr.DIALOG_REAL:return"Dialog (Real)";case pr.DIALOG_BOOLEAN:return"Dialog (Boolean)";case pr.DIALOG_DATE:return"Dialog (Date)";case pr.DIALOG_TIME:return"Dialog (Time)";case pr.DIALOG_DATETIME:return"Dialog (Datetime)";case pr.DIAGRAM:return"Diagram";case pr.PAGE:return"Page";case pr.DIALOG:return"Dialog";default:if(pr.EXTENSION<=n){var t=cr.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toOpenDialogTypeLabel=function(n){switch(n){case kr.TEXT:return"Text";case kr.INTEGER:return"Integer";case kr.REAL:return"Real";case kr.BOOLEAN:return"Boolean";case kr.DATE:return"Date";case kr.TIME:return"Time";case kr.DATETIME:return"Datetime";default:if(kr.EXTENSION<=n){var t=or.get(n);return t?t.label:"Extension"}return"Unknown"}},n.prototype.toGestureTypeLabel=function(n){switch(n){case Dr.SHAPE:return"Shape";case Dr.LAYER:return"Layer"}},n.prototype.toGestureOperationTypeLabel=function(n){switch(n){case hr.DRAG:return"Drag";case hr.PINCH:return"Pinch"}return"Unknown"},n.prototype.toMiscTypeLabel=function(n){switch(n){case dr.INPUT_TEXT:return"Input (Text)";case dr.INPUT_INTEGER:return"Input (Integer)";case dr.INPUT_REAL:return"Input (Real)";case dr.EMIT_EVENT:return this.toOnInputActionLabel(mr.EMIT_EVENT);case dr.WRITE_BOTH:return this.toOnInputActionLabel(mr.WRITE_BOTH);case dr.WRITE_LOCAL:return this.toOnInputActionLabel(mr.WRITE_LOCAL);case dr.WRITE_REMOTE:return this.toOnInputActionLabel(mr.WRITE_REMOTE);case dr.HTML_ELEMENT:return"HTML element";case dr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case dr.SHOW_HIDE_LAYER:return"Show / hide layers";case dr.GESTURE_LAYER:return"Layer gesture";case dr.GESTURE:return"Gesture";case dr.EXECUTE:return"Execute"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case xr.CLICKED:return"Clicked";case xr.DOUBLE_CLICKED:return"Double clicked";case xr.FOCUSED:return"Focused";case xr.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case mr.EMIT_EVENT:return"Emit event";case mr.WRITE_BOTH:return"Write (Both)";case mr.WRITE_LOCAL:return"Write (Local)";case mr.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),Sr=function(){r.set("EShapeActionValue",Br)},Mr=function(){r.set("DDiagramEditor",ir),r.set("DDiagramCanvasEditor",er),Sr(),tr()},_r=function(){r.set("DDialog",U)};const Lr=wcardinal.ui.DLayoutDirection;var Er=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 Lr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(m),Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Lr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Er),Fr=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"auto"},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Pr),Nr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Lr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Er),Ar=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getButtonOk=function(){return"OK"},t.prototype.getButtonCancel=function(){return"Cancel"},t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getPaddingTop=function(){return 0},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getPaddingLeft=function(){return 16},t}(Nr),Rr=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 38},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getBackgroundColor=function(){return null},t.prototype.getCornerMask=function(){return f.BOTTOM},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(n){n.isFocusable=!1},t}(x);t.add("dialog_layered_header_button_close",20,14,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="15 2 5 12"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="5 2 15 12"></polyline></g>');var Hr=function(n,t){return n-34},zr=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return Hr},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return y.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(_),Gr=function(n){return n-1},Vr=function(n){return n-16},Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return 8},t.prototype.getY=function(){return Gr},t.prototype.getWidth=function(){return Vr},t.prototype.getHeight=function(){return 1},t.prototype.getBackgroundColor=function(n){return h.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.NONE},t}(x),Yr=function(){r.set("DDialogLayeredContent",Fr),r.set("DDialogLayeredFooter",Ar),r.set("DDialogLayeredHeaderButtonClose",zr),r.set("DDialogLayeredHeaderSeparator",Or),r.set("DDialogLayeredHeader",Rr),r.set("DDialogLayered",W)},Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"Yes",cancel:"No"}}},t.prototype.getMessage=function(){return""},t}(W),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),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}(Ur),Kr=function(){r.set("DDialogConfirm",Xr),r.set("DDialogConfirmMessage",Wr)},jr=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}(Xr),Jr=function(){r.set("DDialogConfirmDelete",jr)},qr=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}(Xr),Qr=function(){r.set("DDialogConfirmDiscard",qr)},Zr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLabel=function(){return""},t.prototype.getInputMargin=function(){return 32},t}(W),$r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zr),nu=function(){r.set("DDialogInputBoolean",$r)},tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zr),ru=function(){r.set("DDialogInputInteger",tu)},uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zr),eu=function(){r.set("DDialogInputReal",uu)},iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zr),ou=function(){r.set("DDialogInputText",iu)},cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t}(Xr),fu=function(){r.set("DDialogMessage",cu)},au=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},lu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"OK",cancel:null}}},t.prototype.getMessage=function(){return au},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Xr);t.add("success_mark",21,21,'<g transform="scale(0.875,0.875)"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" fill="#fff" /></g>');var su=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:null},r.prototype.getImageTintAlpha=function(n){return.75},r}(Wr),hu=function(){r.set("DDialogProcessing",lu),r.set("DDialogProcessingMessage",su)},Du=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFooter=function(){return{button:{ok:"Save",cancel:null}}},t}(iu),du=function(){r.set("DDialogSaveAs",Du)},mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(Fr),ku=function(){r.set("DDialogFittedContent",mu),r.set("DDialogFitted",K)},pu=function(){cn(),Z(),Kr(),Jr(),Qr(),Pn(),zn(),ku(),nu(),ru(),eu(),ou(),Yr(),fu(),hu(),du(),ft(),Dt(),_r()},Tu=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}(Pr);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 gu=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}(Ur),wu=function(){r.set("DExpandableHeader",gu),r.set("DExpandable",Tu)};const bu=wcardinal.ui.DHtmlElementState;var yu=function(){return null},Iu=function(n){var t=document.createElement("div");return n.appendChild(t),t},vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return yu},t.prototype.setElementStyle=function(n,t,r,u,e,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+this.getElementStyleClipPath(t,o);n.setAttribute("style",c),t.inReadOnly?n.setAttribute("readonly","readonly"):n.removeAttribute("readonly"),t.inDisabled?n.setAttribute("disabled","disabled"):n.removeAttribute("disabled")},t.prototype.getElementStylePointerEvent=function(n){return n.is(bu.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,u=n.y-t.y;return"left:".concat(r,"px; top:").concat(u,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.getElementStyleClipPath=function(n,t){if(null!=t){var r=t.id;return"-webkit-clip-path: url(#".concat(r,"); clip-path: url(#").concat(r,");")}return""},t.prototype.getClipperCreator=function(){return Iu},t.prototype.setClipperStyle=function(n,t,r,u,e,i,o){var c="outline: none; padding: 0; margin: 0; border: none;background-color: transparent; pointer-events: none;"+this.getClipperStyleOverflow(i)+this.getClipperStylePosition(i);n.setAttribute("style",c)},t.prototype.getClipperStyleOverflow=function(n){return n?"overflow: hidden;":"overflow: visible;"},t.prototype.getClipperStylePositionPosition=function(n){return n?"left: ".concat(n.x,"px; top: ").concat(n.y,"px;"):"left: 0px; top: 0px;"},t.prototype.getClipperStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;")+"line-height: ".concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getClipperStylePosition=function(n){return"position: absolute;"+this.getClipperStylePositionPosition(n)+this.getClipperStylePositionSize(n)},t.prototype.isClipperExEnabled=function(){return!1},t.prototype.getBeforeCreator=function(){return Iu},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 Iu},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return xr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(x),Cu=function(){r.set("DHtmlElement",vu)},xu=function(){r.set("DImage",Ur)},Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(Nr),Su=function(){r.set("DInputAndLabel",Bu)},Mu=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}(Nr),_u=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),Lu=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),Eu=function(){r.set("DInputBoolean",Mu),r.set("DInputBooleanButtonOn",Lu),r.set("DInputBooleanButtonOff",_u)},Pu=function(){return null},Fu=function(n){return n},Nu=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=s.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?h.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 Fu},t.prototype.getEditingValidator=function(){return Pu},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}(vu),Au="d-theme-dark-input",Ru="".concat(Au,"-element"),Hu=function(n){var t=n.getElementsByClassName(Ru);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Ru),n.appendChild(r),r},zu=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},Gu="".concat(Au,"-clipper"),Vu=function(n){return zu(n,Gu)},Ou="".concat(Au,"-before"),Yu=function(n){return zu(n,Ou)},Xu="".concat(Au,"-after"),Uu=function(n){return zu(n,Xu)},Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Hu},t.prototype.getClipperCreator=function(){return Vu},t.prototype.getBeforeCreator=function(){return Yu},t.prototype.getAfterCreator=function(){return Uu},t}(Nu),Ku=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}(Wu),ju=function(n){var t=parseInt(n,10);return t==t?t:0},Ju=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return ju},t}(Ku),qu=function(){r.set("DInputInteger",Ju)},Qu=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}(xn),Zu=function(){r.set("DInputLabel",Qu)},$u=function(n){var t=parseFloat(n);return t==t?t:0},ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return $u},t}(Ku),te=function(){r.set("DInputReal",ne)},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Wu);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 ue=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 y.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(re),ee=function(){r.set("DInputSearch",ue)},ie=function(){r.set("DInputText",re)},oe="d-theme-dark-input-text-area",ce="".concat(oe,"-element"),fe=function(n){var t=n.getElementsByClassName(ce);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",ce),n.appendChild(r),r},ae=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},le="".concat(oe,"-clipper"),se=function(n){return ae(n,le)},he="".concat(oe,"-before"),De=function(n){return ae(n,he)},de="".concat(oe,"-after"),me=function(n){return ae(n,de)},ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return b.TOP},t.prototype.getTextStyleWordWrap=function(){return I.NORMAL},t.prototype.getElementCreator=function(){return fe},t.prototype.getClipperCreator=function(){return se},t.prototype.getBeforeCreator=function(){return De},t.prototype.getAfterCreator=function(){return me},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case I.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(Nu),pe=function(){r.set("DInputTextArea",ke)},Te=function(){Su(),Eu(),qu(),Zu(),te(),ee(),pe(),ie()},ge=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),we=function(){r.set("DLayout",Er),r.set("DLayoutHorizontal",Nr),r.set("DLayoutSpace",ge),r.set("DLayoutVertical",Pr)};const be=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 ye=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:be.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:be.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:be.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}(),Ie=function(){r.set("DLink",ye)},ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new it(null,!1,!0)},t}(ot),Ce=function(){r.set("DListItemAmbient",ve),r.set("DListItem",ot),r.set("DList",ut)},xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.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}(Pr),Be=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?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?h.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):h.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return h.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 h.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}(Ur),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return h.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(Be),Me=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}(Se);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 _e=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return h.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return h.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 y.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Me),Le=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}(Pr),Ee=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}(Pr),Pe=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}();Pe.init();var Fe=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?Pe.getImageOpened():Pe.getImageClosed()},t.prototype.getImageAlignWith=function(){return y.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Be),Ne=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}(_e);const Ae=wcardinal.ui.DBaseState;var Re=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(Ae.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 y.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r}(Me),He=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}(Re);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 ze=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 y.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Se),Ge=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}(ze),Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return h.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return h.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}(Be),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}(Ve),Ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ge),Xe=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}(Ye),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}(Me),We=function(){r.set("DMenu",xe),r.set("DMenuItem",Se),r.set("DMenuItemCheck",_e),r.set("DMenuItemLink",Re),r.set("DMenuItemMenu",ze),r.set("DMenuItemSeparator",Ve),r.set("DMenuItemSpace",Ye),r.set("DMenuItemText",Me),r.set("DMenuItemExpandableBody",Ee),r.set("DMenuItemExpandableHeader",Fe),r.set("DMenuItemExpandableItemCheck",Ne),r.set("DMenuItemExpandableItemLink",He),r.set("DMenuItemExpandableItemMenu",Ge),r.set("DMenuItemExpandableItemSeparator",Oe),r.set("DMenuItemExpandableItemSpace",Xe),r.set("DMenuItemExpandableItemText",Ue),r.set("DMenuItemExpandable",Le)},Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return h.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}(Nr),je=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?h.HIGHLIGHT_COLOR:n.isHovered?h.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return h.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),Je=function(){r.set("DMenuBarItem",je),r.set("DMenuBar",Ke),We()},qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(rt),Qe=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}(Pr),Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_e),$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Le),ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ne),ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(He),ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ge),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Oe),ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Xe),ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ue),oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Re),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ze),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ve),ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ye),li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Me),si=function(){r.set("DMenuSided",qe),r.set("DMenuSidedContent",Qe),r.set("DMenuSidedItemCheck",Ze),r.set("DMenuSidedItemLink",oi),r.set("DMenuSidedItemMenu",ci),r.set("DMenuSidedItemSeparator",fi),r.set("DMenuSidedItemSpace",ai),r.set("DMenuSidedItemText",li),r.set("DMenuSidedItemExpandable",$e),r.set("DMenuSidedItemExpandableItemCheck",ni),r.set("DMenuSidedItemExpandableItemLink",ti),r.set("DMenuSidedItemExpandableItemMenu",ri),r.set("DMenuSidedItemExpandableItemSeparator",ui),r.set("DMenuSidedItemExpandableItemSpace",ei),r.set("DMenuSidedItemExpandableItemText",ii)},hi=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 y.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}(x),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Error"},t}(hi),di=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}(hi),mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(hi),ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(hi),pi=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}(ki),Ti=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}(ki),gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(ki),wi=function(){r.set("DNote",hi),r.set("DNoteError",Di),r.set("DNoteNoItemsFound",di),r.set("DNoteSearching",mi),r.set("DNoteSmallError",pi),r.set("DNoteSmallNoItemsFound",Ti),r.set("DNoteSmallSearching",gi)},bi=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}(Nr);t.add("pagination_dots",21,21,'<g><circle cx="2" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="10.5" cy="11" r="1.1" fill="#fff" stroke="none" /><circle cx="19" cy="11" r="1.1" fill="#fff" stroke="none" /></g>');var yi=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.getInteractive=function(){return o.NONE},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r.prototype.getImageSource=function(n){return t.mappings.pagination_dots},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r.prototype.getImageAlignWith=function(){return y.BORDER},r}(x);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 Ii=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return 30},r.prototype.getImageSource=function(n){return t.mappings.pagination_button_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 vi=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}(_),Ci=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 xi=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 Bi=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}(_),Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return h.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return h.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t}(x),Mi=function(){r.set("DPagination",bi),r.set("DPaginationPage",Si),r.set("DPaginationDots",yi),r.set("DPaginationButtonLast",Ii),r.set("DPaginationButtonNext",vi),r.set("DPaginationButtonPage",Ci),r.set("DPaginationButtonPrevious",xi),r.set("DPaginationButtonTop",Bi)},_i=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),Li=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),Ei=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=s.brighten(h.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),Pi=function(){r.set("DScrollBar",Li),r.set("DScrollBarThumb",Ei)},Fi=function(){r.set("DPane",rt),r.set("DContent",_i),Pi()};const Ni=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 Ai=function(n){function r(){return n.call(this,h.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return y.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),Ri=function(n){if(n){var t=n.text;if(Ni(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ri},t.prototype.newTextValue=function(){return null},t}(Ai),zi=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text;if(Ni(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return zi},t.prototype.newTextValue=function(){return[]},t}(Ai),Vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Ai),Oi=function(){r.set("DDropdown",Vi)},Yi=function(){r.set("DSelectMultiple",Gi),r.set("DSelect",Hi),Oi()},Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.getOutlineColor=function(n){return null},t}(m),Ui=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}(Xi),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return g.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),Ki=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=h.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=s.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=s.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=h.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=s.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=s.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=s.blend(n.BACKGROUND_COLOR,h.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var ji=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 Ki.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(S),Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ki.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),qi=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}(Ji),Qi=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}(Ji),Zi=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 2*this.getLineHeight()},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:h.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return h.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}(C),$i=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}(Xi),no=function(){r.set("DSlider",Xi),r.set("DSliderValue",Zi),r.set("DSliderLabel",Wi),r.set("DSliderThumb",ji),r.set("DSliderVertical",$i),r.set("DSliderHorizontal",Ui),r.set("DSliderTrack",Ji),r.set("DSliderTrackVertical",Qi),r.set("DSliderTrackHorizontal",qi)},to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return h.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(rt),ro=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 uo=wcardinal.ui.DTableState;var eo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(uo.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?h.INVALID_BLENDED_ON_BOARD:n.underActive?h.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(uo.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(uo.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return h.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?6579300:h.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=h.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=s.brighten(t.BACKGROUND_COLOR,.03),n.BACKGROUND_COLOR_FROZEN_ODD=s.brighten(t.BACKGROUND_COLOR_FROZEN_EVEN,.03),n.BORDER_COLOR=s.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=s.darken(t.BORDER_COLOR,.035),n}(),io=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 eo.getImageTintColor(n,!0)},n}(),oo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);io.init();var co=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return io.getImageTintColor(n)},t.prototype.getImageSource=function(n){return io.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(oo);io.init();var fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.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 io.getImageTintColor(n)},t.prototype.getImageSource=function(n){return io.getImageSource(n)},t}(Vi),ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);io.init();var lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return io.getImageTintColor(n)},t.prototype.getImageSource=function(n){return io.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(ao),so=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getImageTintColor=function(n){return eo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(x),ho=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),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return eo.getImageTintColor(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t}(P),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t}(H),ko=function(n){return sn.format(n)},po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getTextFormatter=function(){return ko},t.prototype.newTextValue=function(){return new Date},t}(S),To=function(n,t){return Nn.format(n,t.getDatetimeMask())},go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getTextFormatter=function(){return To},t.prototype.newTextValue=function(){return new Date},t}(S),wo=function(n){return String(Number(n)+1)},bo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return wo},t.prototype.newTextValue=function(){return 0},t}(x),yo=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 eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t}(Ju),Io=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 eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t}(ne),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t}(re),Co=function(){function n(){}return n.init=function(){Pe.init()},n.getImageSource=function(n){return n.is(uo.HAS_CHILDREN)?n.is(uo.OPENED)?Pe.getImageOpened():Pe.getImageClosed():null},n}();Co.init();var xo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return eo.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),Bo=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 eo.getHeight()},t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(re),So=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 eo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getImageAlignWith=function(){return y.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageSource=function(n){return Co.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),Mo=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 eo.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this._.getImageSource(n)},r}(ho),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Hi),Lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Gi),Eo=function(n,t){return at.format(n,t.getDatetimeMask())},Po=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return eo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return eo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return eo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return eo.getBorderMask(n)},t.prototype.getColor=function(n){return eo.getColor(n)},t.prototype.getAlpha=function(n){return eo.getAlpha(n)},t.prototype.getHeight=function(){return eo.getHeight()},t.prototype.getCornerMask=function(){return eo.getCornerMask()},t.prototype.getTextFormatter=function(){return Eo},t.prototype.newTextValue=function(){return new Date},t}(S);Co.init();var Fo=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 y.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Co.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(ho),No=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}(Nr),Ao=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=h.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=s.brighten(h.BACKGROUND_COLOR_ON_BOARD,.03),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?h.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?h.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(No),Ro=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.brighten(h.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=s.darken(h.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}(No),Ho=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ro);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 zo=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.brighten(h.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=s.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=s.brighten(t.BACKGROUND_COLOR,.32),t.BACKGROUND_COLOR_FROZEN=s.brighten(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=s.darken(h.BACKGROUND_COLOR_ON_BOARD,.05),t.BORDER_COLOR_FROZEN=s.darken(t.BORDER_COLOR,.05),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(uo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(uo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(uo.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(uo.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.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?h.WEAK_HIGHLIGHT_COLOR:h.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(uo.CHECKABLE)?E.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(uo.CHECKABLE)?E.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return y.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(uo.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(uo.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return y.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(uo.CHECKABLE)||n.is(uo.SORTABLE))?"pointer":""},r}(Ur),Go=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(zo),Vo=function(){r.set("DTableBodyCellActionDialog",co),r.set("DTableBodyCellActionMenu",fo),r.set("DTableBodyCellActionPromise",lo),r.set("DTableBodyCellButton",ho),r.set("DTableBodyCellCheck",Do),r.set("DTableBodyCellColor",mo),r.set("DTableBodyCellDate",po),r.set("DTableBodyCellDatetime",go),r.set("DTableBodyCellIndex",bo),r.set("DTableBodyCellInputInteger",yo),r.set("DTableBodyCellInputReal",Io),r.set("DTableBodyCellInputText",vo),r.set("DTableBodyCellInputTreeMarker",So),r.set("DTableBodyCellInputTreeInput",Bo),r.set("DTableBodyCellInputTree",xo),r.set("DTableBodyCellLink",Mo),r.set("DTableBodyCellSelectDialog",oo),r.set("DTableBodyCellSelectMenu",_o),r.set("DTableBodyCellSelectMultiple",Lo),r.set("DTableBodyCellSelectPromise",ao),r.set("DTableBodyCellText",so),r.set("DTableBodyCellTree",Fo),r.set("DTableBodyCellTime",Po),r.set("DTableBodyRow",Ao),r.set("DTableBody",ro),r.set("DTableCategoryCell",Go),r.set("DTableCategory",Ho),r.set("DTableHeaderCell",zo),r.set("DTableHeader",Ro),r.set("DTableRow",No),r.set("DTable",to),F(),$(),Fn(),Gn(),qu(),te(),ie(),ft(),We()},Oo=function(){r.set("DText",xn)},Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Co.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 y.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(it),Xo=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 Yo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return h.BACKGROUND_COLOR_ON_BOARD},t}(rt),Uo=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 Yo(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}(x),Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Uo);Co.init();var Ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return 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}(Wo),jo=function(){r.set("DTree",Xo),r.set("DTreeItemText",Uo),r.set("DTreeItemButton",Wo),r.set("DTreeItemNonEditable",Ko)};const Jo=wcardinal.ui.UtilGestureModifier;var qo=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return Jo.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return Jo.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return Jo.NONE},n.prototype.getDblClickZoomDuration=function(){return 333},n.prototype.getZoomMin=function(){return.05},n.prototype.getZoomMax=function(){return 20},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return tt.ON},n.prototype.getGestureModifier=function(){return Jo.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),Qo=function(){r.set("DView",qo)},Zo=function(){u(),k(),T(),mt(),Tt(),Ut(),jt(),rr(),Mr(),pu(),wu(),Cu(),xu(),Te(),we(),Ie(),Ce(),jo(),We(),Je(),si(),wi(),Mi(),Fi(),Q(),on(),En(),Ln(),_n(),Pi(),Yi(),no(),Vo(),Oo(),Qo()},$o={__proto__:null,loadThemeDarkAll:Zo,loadThemeDarkBase:k,loadThemeDark:u,loadThemeDarkBoard:T,loadThemeDarkButtonAll:mt,loadThemeDarkButtonAmbient:L,loadThemeDarkButtonCheck:F,loadThemeDarkButtonCheckRight:A,loadThemeDarkButtonColor:$,loadThemeDarkButtonColorGradient:fn,loadThemeDarkButtonDanger:ln,loadThemeDarkButtonDate:Fn,loadThemeDarkButtonDatetime:Gn,loadThemeDarkButtonFile:On,loadThemeDarkButtonLink:Xn,loadThemeDarkButtonPrimary:Wn,loadThemeDarkButtonRadio:jn,loadThemeDarkButtonRadioRight:qn,loadThemeDarkButtonTime:dt,loadThemeDarkButton:M,loadThemeDarkCanvasContainer:Tt,loadThemeDarkChart:Ut,loadThemeDarkColor:jt,loadThemeDarkDiagram:rr,loadThemeDarkDiagramEditor:Mr,loadThemeDarkDialogAll:pu,loadThemeDarkDialogColorGradient:cn,loadThemeDarkDialogColor:Z,loadThemeDarkDialogConfirm:Kr,loadThemeDarkDialogConfirmDelete:Jr,loadThemeDarkDialogConfirmDiscard:Qr,loadThemeDarkDialogDate:Pn,loadThemeDarkDialogDatetime:zn,loadThemeDarkDialogFitted:ku,loadThemeDarkDialogInputBoolean:nu,loadThemeDarkDialogInputInteger:ru,loadThemeDarkDialogInputReal:eu,loadThemeDarkDialogInputText:ou,loadThemeDarkDialogLayered:Yr,loadThemeDarkDialogMessage:fu,loadThemeDarkDialogProcessing:hu,loadThemeDarkDialogSaveAs:du,loadThemeDarkDialogSelect:ft,loadThemeDarkDialogTime:Dt,loadThemeDarkDialog:_r,loadThemeDarkDropdown:Oi,loadThemeDarkExpandable:wu,loadThemeDarkHtmlElement:Cu,loadThemeDarkImage:xu,loadThemeDarkInputAll:Te,loadThemeDarkInputAndLabel:Su,loadThemeDarkInputBoolean:Eu,loadThemeDarkInputInteger:qu,loadThemeDarkInputLabel:Zu,loadThemeDarkInputReal:te,loadThemeDarkInputSearch:ee,loadThemeDarkInputTextArea:pe,loadThemeDarkInputText:ie,loadThemeDarkLayout:we,loadThemeDarkLink:Ie,loadThemeDarkList:Ce,loadThemeDarkTree:jo,loadThemeDarkMenu:We,loadThemeDarkMenuBar:Je,loadThemeDarkMenuSided:si,loadThemeDarkNote:wi,loadThemeDarkPagination:Mi,loadThemeDarkPane:Fi,loadThemeDarkPickerColorGradient:on,loadThemeDarkPickerColor:Q,loadThemeDarkPickerDate:En,loadThemeDarkPickerDatetime:Ln,loadThemeDarkPickerTime:_n,loadThemeDarkScrollBar:Pi,loadThemeDarkSelect:Yi,loadThemeDarkShapeActionValue:Sr,loadThemeDarkShape:tr,loadThemeDarkTable:Vo,loadThemeDarkText:Oo,loadThemeDarkView:Qo,loadThemeDarkSlider:no,DThemeDarkAtlas:t,DThemeDarkBase:m,DThemeDarkBoard:p,DThemeDarkButton:S,DThemeDarkButtonAmbient:_,DThemeDarkButtonBase:B,DThemeDarkButtonCheck:P,DThemeDarkButtonCheckRight:N,DThemeDarkButtonChecks:E,DThemeDarkButtonColor:H,DThemeDarkButtonColorGradient:rn,DThemeDarkButtonDanger:an,DThemeDarkButtonDate:Dn,DThemeDarkButtonDatetime:Rn,DThemeDarkButtonFile:Vn,DThemeDarkButtonLink:Yn,DThemeDarkButtonPrimary:Un,DThemeDarkButtonRadio:Kn,DThemeDarkButtonRadioRight:Jn,DThemeDarkButtonSecondary:Qn,DThemeDarkButtonTime:st,DThemeDarkCanvas:kt,DThemeDarkCanvasContainer:pt,DThemeDarkChartAxisBase:Ct,DThemeDarkChartAxisX:xt,DThemeDarkChartAxisXDatetime:St,DThemeDarkChartAxisY:Mt,DThemeDarkChartCoordinateTick:Lt,DThemeDarkChartCoordinateTransform:Et,DThemeDarkChartCoordinate:_t,DThemeDarkChartLegend:Pt,DThemeDarkChartLegendItem:Ft,DThemeDarkChartOverview:Nt,DThemeDarkChartPlotArea:At,DThemeDarkChartSelectionGridlineX:Vt,DThemeDarkChartSelectionGridlineY:Ot,DThemeDarkChartSelectionMarker:Xt,DThemeDarkChartSelectionShape:Gt,DThemeDarkChart:gt,DThemeDarkColorRecent:Wt,DThemeDarkColorStandard:Kt,DThemeDarkContent:_i,DThemeDarkDiagram:qt,DThemeDarkDiagramBase:Jt,DThemeDarkDiagramCanvas:Zt,DThemeDarkDiagramCanvasBase:Qt,DThemeDarkDiagramCanvasEditor:er,DThemeDarkDiagramEditor:ir,DThemeDarkDialog:U,DThemeDarkDialogColor:j,DThemeDarkDialogColorGradient:un,DThemeDarkDialogConfirm:Xr,DThemeDarkDialogConfirmDelete:jr,DThemeDarkDialogConfirmDiscard:qr,DThemeDarkDialogConfirmMessage:Wr,DThemeDarkDialogDate:dn,DThemeDarkDialogDatetime:Hn,DThemeDarkDialogFittedContent:mu,DThemeDarkDialogFitted:K,DThemeDarkDialogInputBoolean:$r,DThemeDarkDialogInputInteger:tu,DThemeDarkDialogInputReal:uu,DThemeDarkDialogInputText:iu,DThemeDarkDialogInput:Zr,DThemeDarkDialogLayeredContent:Fr,DThemeDarkDialogLayeredFooter:Ar,DThemeDarkDialogLayeredHeaderButtonClose:zr,DThemeDarkDialogLayeredHeaderSeparator:Or,DThemeDarkDialogLayeredHeader:Rr,DThemeDarkDialogLayered:W,DThemeDarkDialogMessage:cu,DThemeDarkDialogProcessing:lu,DThemeDarkDialogProcessingMessage:su,DThemeDarkDialogSaveAs:Du,DThemeDarkDialogSelect:nt,DThemeDarkDialogSelectList:et,DThemeDarkDialogSelectListItem:ct,DThemeDarkDialogTime:ht,DThemeDarkDropdown:Vi,DThemeDarkExpandable:Tu,DThemeDarkExpandableHeader:gu,DThemeDarkFont:D,DThemeDarkHtmlElement:vu,DThemeDarkImage:Ur,DThemeDarkImageBase:x,DThemeDarkInputAndLabel:Bu,DThemeDarkInputBooleanButtonOff:_u,DThemeDarkInputBooleanButtonOn:Lu,DThemeDarkInputBoolean:Mu,DThemeDarkInputInput:Wu,DThemeDarkInputInteger:Ju,DThemeDarkInputLabel:Qu,DThemeDarkInputNumber:Ku,DThemeDarkInputReal:ne,DThemeDarkInputSearch:ue,DThemeDarkInputTextArea:ke,DThemeDarkInputText:re,DThemeDarkInput:Nu,DThemeDarkLayoutHorizontal:Nr,DThemeDarkLayoutSpace:ge,DThemeDarkLayoutVertical:Pr,DThemeDarkLayout:Er,DThemeDarkLink:ye,DThemeDarkListItemAmbient:ve,DThemeDarkListItem:ot,DThemeDarkListItems:it,DThemeDarkList:ut,DThemeDarkMenu:xe,DThemeDarkMenuBar:Ke,DThemeDarkMenuBarItem:je,DThemeDarkMenuItemBase:Be,DThemeDarkMenuItemCheck:_e,DThemeDarkMenuItemExpandableBody:Ee,DThemeDarkMenuItemExpandableHeader:Fe,DThemeDarkMenuItemExpandableItemCheck:Ne,DThemeDarkMenuItemExpandableItemLink:He,DThemeDarkMenuItemExpandableItemMenu:Ge,DThemeDarkMenuItemExpandableItemSeparator:Oe,DThemeDarkMenuItemExpandableItemSpace:Xe,DThemeDarkMenuItemExpandableItemText:Ue,DThemeDarkMenuItemExpandable:Le,DThemeDarkMenuItemLink:Re,DThemeDarkMenuItemMenu:ze,DThemeDarkMenuItemSeparator:Ve,DThemeDarkMenuItemSpace:Ye,DThemeDarkMenuItemText:Me,DThemeDarkMenuItem:Se,DThemeDarkMenuSided:qe,DThemeDarkMenuSidedContent:Qe,DThemeDarkMenuSidedItemCheck:Ze,DThemeDarkMenuSidedItemExpandable:$e,DThemeDarkMenuSidedItemExpandableItemCheck:ni,DThemeDarkMenuSidedItemExpandableItemLink:ti,DThemeDarkMenuSidedItemExpandableItemMenu:ri,DThemeDarkMenuSidedItemExpandableItemSeparator:ui,DThemeDarkMenuSidedItemExpandableItemSpace:ei,DThemeDarkMenuSidedItemExpandableItemText:ii,DThemeDarkMenuSidedItemLink:oi,DThemeDarkMenuSidedItemMenu:ci,DThemeDarkMenuSidedItemSeparator:fi,DThemeDarkMenuSidedItemSpace:ai,DThemeDarkMenuSidedItemText:li,DThemeDarkNoteError:Di,DThemeDarkNoteNoItemsFound:di,DThemeDarkNoteSearching:mi,DThemeDarkNoteSmallError:pi,DThemeDarkNoteSmallNoItemsFound:Ti,DThemeDarkNoteSmallSearching:gi,DThemeDarkNoteSmall:ki,DThemeDarkNote:hi,DThemeDarkPaginationButtonLast:Ii,DThemeDarkPaginationButtonNext:vi,DThemeDarkPaginationButtonPage:Ci,DThemeDarkPaginationButtonPrevious:xi,DThemeDarkPaginationButtonTop:Bi,DThemeDarkPaginationDots:yi,DThemeDarkPaginationPage:Si,DThemeDarkPagination:bi,DThemeDarkPane:rt,DThemeDarkPickerColor:q,DThemeDarkPickerColorGradient:en,DThemeDarkPickerDate:yn,DThemeDarkPickerDatetimeButtonBack:In,DThemeDarkPickerDatetimeButtonDate:vn,DThemeDarkPickerDatetimeButtonNext:Cn,DThemeDarkPickerDatetimeLabel:Bn,DThemeDarkPickerDatetimeLabelDate:Sn,DThemeDarkPickerDatetimeSpace:Mn,DThemeDarkPickerDatetime:bn,DThemeDarkPickerTime:kn,DThemeDarkScrollBar:Li,DThemeDarkScrollBarThumb:Ei,DThemeDarkSelectMultiple:Gi,DThemeDarkSelect:Hi,DThemeDarkSlider:Xi,DThemeDarkSliderHorizontal:Ui,DThemeDarkSliderLabel:Wi,DThemeDarkSliderThumb:ji,DThemeDarkSliderTrack:Ji,DThemeDarkSliderTrackHorizontal:qi,DThemeDarkSliderTrackVertical:Qi,DThemeDarkSliderValue:Zi,DThemeDarkSliderVertical:$i,DThemeDarkTable:to,DThemeDarkTableBodyCellButton:ho,DThemeDarkTableBodyCellCheck:Do,DThemeDarkTableBodyCellColor:mo,DThemeDarkTableBodyCellDate:po,DThemeDarkTableBodyCellDatetime:go,DThemeDarkTableBodyCellIndex:bo,DThemeDarkTableBodyCellInputInteger:yo,DThemeDarkTableBodyCellInputReal:Io,DThemeDarkTableBodyCellInputText:vo,DThemeDarkTableBodyCellLink:Mo,DThemeDarkTableBodyCellSelectDialog:oo,DThemeDarkTableBodyCellSelectMenu:_o,DThemeDarkTableBodyCellSelectPromise:ao,DThemeDarkTableBodyCellText:so,DThemeDarkTableBodyCellTime:Po,DThemeDarkTableBodyCells:eo,DThemeDarkTableBodyRow:Ao,DThemeDarkTableBody:ro,DThemeDarkTableCategory:Ho,DThemeDarkTableCategoryCell:Go,DThemeDarkTableHeader:Ro,DThemeDarkTableHeaderCell:zo,DThemeDarkTableRow:No,DThemeDarkText:xn,DThemeDarkTextBase:C,DThemeDarkTreeItemButton:Wo,DThemeDarkTreeItemNonEditable:Ko,DThemeDarkTreeItemText:Uo,DThemeDarkTreeItems:Yo,DThemeDarkTree:Xo,DThemeDarkView:qo,DThemeDark:r,EThemeDarkShapeActionValue:Br,EThemeDarkShape:nr};Zo();var nc=window;nc.wcardinal=nc.wcardinal||{};var tc=nc.wcardinal.ui=nc.wcardinal.ui||{},rc=$o;for(var uc in rc)tc[uc]=rc[uc]}();
10
10
  //# sourceMappingURL=wcardinal-ui-theme-dark.min.js.map