@wcardinal/wcardinal-ui 0.379.0 → 0.381.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.
- package/dist/types/wcardinal/ui/d-diagram-canvas-base.d.ts +6 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-base.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-editor.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-base.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-editor.d.ts +1 -0
- package/dist/wcardinal/ui/d-diagram-canvas-base.js +72 -0
- package/dist/wcardinal/ui/d-diagram-canvas-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-base.js +3 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-editor.js +3 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-base.js +3 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-base.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-editor.js +3 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-editor.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +7 -1
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +7 -1
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +84 -1
- package/dist/wcardinal-ui.js +72 -1
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.381.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)(1024,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var e=n.u[t];if(null!=e)return this.t[t]=new e;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.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}(),e=function(){n.setDefaultThemeClass(r)},u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,l=wcardinal.ui.DLayoutClearType,h=wcardinal.ui.DShadowImpl,a=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=4473924,n.ACTIVE_COLOR=16777215,n.BORDER_COLOR=15066597,n.BACKGROUND_COLOR=15921906,n.BACKGROUND_COLOR_ON_BOARD=16777215,n.HIGHLIGHT_COLOR=3381759,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=13421772,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=16755370,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=a.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),d=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),m=function(n,r,e){var u=2*r;t.add(n,u,u,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*e,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*e,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*e,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*e,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*e,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*e,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*e,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(u,'" height="').concat(u,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};m("shadow_weak",24,.3),m("shadow",48,.3),t.add("background",16,16,'<g><defs><radialGradient id="234sfdhjfpijsrnsedsd435jseflkm"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#234sfdhjfpijsrnsedsd435jseflkm)"/></g>');var D=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return l.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new h(t.mappings.shadow,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new h(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(d),p=function(){r.set("DBase",D)},T=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return o.BOTH},t}(D),g=function(){r.set("DBoard",T)};const W=wcardinal.ui.DAlignHorizontal,b=wcardinal.ui.DButtonBaseWhen,w=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,y=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var I=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return y.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(D),C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return w.MIDDLE},t.prototype.getImageAlignWith=function(){return k.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(I),x=function(n){function t(t,r,e){void 0===t&&(t=16777215),void 0===r&&(r=.017),void 0===e&&(e=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=a.darken(t,r),u.BACKGROUND_COLOR_PRESSED=a.darken(t,e),u.OUTLINE_COLOR=a.brighten(t,.75),u}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return b.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(C),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),S=function(){r.set("DButton",B)},M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(x),_=function(){r.set("DButtonAmbient",M)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var L=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}();t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return L.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return L.getImageSource(n)},t}(M),P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(E),A=function(){r.set("DButtonCheckRight",F)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var N=function(n){return"#".concat(a.toCode(n.color)," A").concat(n.alpha.toFixed(2))},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 N},r.prototype.newTextValue=function(){return{color:16777215,alpha:1}},r}(B);const R=wcardinal.ui.DAnimationFadeIn,z=wcardinal.ui.DDialogAlign,G=wcardinal.ui.DDialogCloseOn,V=wcardinal.ui.DDialogGestureMode,O=wcardinal.ui.DDialogMode,j=wcardinal.ui.DDialogState;var Y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return O.MODAL},t.prototype.closeOn=function(n){switch(n){case O.MODAL:case O.MENU:return G.ESC|G.CLICK_OUTSIDE;case O.MODELESS:return G.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case O.MODAL:case O.MODELESS:return!0;case O.MENU:return!1}},t.prototype.getGestureMode=function(n){return V.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return z.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case O.MODAL:return new R;case O.MODELESS:case O.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(j.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(j.MENU)?null:16448250},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 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}(D),X=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}(Y),U=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(X),K=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),J=function(n,t){for(var r="<g>",e=0;e<t;++e)for(var u=0;u<n;++u){var i=(u+e)%2==0?"#bfbfbf":"#a5a5a5";r+='<rect x="'.concat(9*u,'" y="').concat(9*e,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",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="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",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}(D),Q=function(){r.set("DPickerColor",q)},Z=function(){r.set("DDialogColor",K),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[.75,.65]},r}(B),en=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),un=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.75,.65]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),on=function(){r.set("DPickerColorGradient",un),Q()},cn=function(){r.set("DDialogColorGradient",en),on()},fn=function(){r.set("DButtonColorGradient",rn),cn()},ln=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(x),hn=function(){r.set("DButtonDanger",ln)};const an=wcardinal.ui.DPickerDates;var sn=function(n){return an.format(n)},dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return sn},t.prototype.newTextValue=function(){return new Date},t}(B),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U);const Dn=wcardinal.ui.DPickerDatetimeMask;var pn=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 Dn.HOURS|Dn.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(D),Tn=["January","February","March","April","May","June","July","August","September","October","November","December"],gn=["Su","Mo","Tu","We","Th","Fr","Sa"],Wn=function(n){return"".concat(Tn[n.getMonth()]," ").concat(n.getFullYear())},bn=function(){},wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return gn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return Wn},t.prototype.getDateDecorator=function(){return bn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return Dn.DATE|n.prototype.getMask.call(this)},t}(pn),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return Dn.DATE},t}(wn);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var yn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(M);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var 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 k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),Cn=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}(I),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return o.NONE},t}(Cn),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 W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Cn),Sn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return o.NONE},t}(D),Mn=function(){r.set("DPickerTime",pn)},_n=function(){r.set("DPickerDatetimeButtonBack",yn),r.set("DPickerDatetimeButtonDate",vn),r.set("DPickerDatetimeButtonNext",In),r.set("DPickerDatetimeLabelDate",Bn),r.set("DPickerDatetimeLabel",xn),r.set("DPickerDatetimeSpace",Sn),r.set("DPickerDatetime",wn),Mn()},Ln=function(){r.set("DPickerDate",kn),_n()},En=function(){r.set("DDialogDate",mn),Ln()},Pn=function(){r.set("DButtonDate",dn),En()};const Fn=wcardinal.ui.DPickerDatetimes;var An=function(n,t){return Fn.format(n,t.getDatetimeMask())},Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return An},t.prototype.newTextValue=function(){return new Date},t}(B),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),Rn=function(){r.set("DDialogDatetime",Hn),_n()},zn=function(){r.set("DButtonDatetime",Nn),Rn()},Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),Vn=function(){r.set("DButtonFile",Gn)},On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),jn=function(){r.set("DButtonLink",On)},Yn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(x),Xn=function(){r.set("DButtonPrimary",Yn)};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 Un=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(M),Kn=function(){r.set("DButtonRadio",Un)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(Un),qn=function(){r.set("DButtonRadioRight",Jn)},Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),Zn=function(){r.set("DButtonSecondary",Qn)};const $n=wcardinal.ui.toLabel;var nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return $n},t.prototype.newTextValue=function(){return null},t}(B),tt=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}(X);const rt=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 s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return rt.TOUCH},t}(D),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(et),it=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),ot=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=a.blend(n,0,.0175),this.m=1,this.D=a.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.p=1,this.T=r?s.HIGHLIGHT_COLOR:a.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.g=1,this.W=a.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=s.INVALID_COLOR,this.p=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.g=r?1:s.HIGHLIGHT_ALPHA,this.W=s.WEAK_HIGHLIGHT_COLOR,this.k=s.WEAK_HIGHLIGHT_ALPHA),this.v=s.COLOR,this.I=r?s.ACTIVE_COLOR:s.COLOR,r?(this.C=s.COLOR,this.B=s.ACTIVE_COLOR):(this.C=s.COLOR,this.B=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.D:n.isActive?this.T:n.isHovered?this.W:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.m:this.l:0:n.isInvalid?this.p:n.isActive?this.g:n.isHovered?this.k:this.i?n.isAlternated?this.m:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return c.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.C},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.v:this.I},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),ct=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new ot(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new ot(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(ct),lt=function(){r.set("DDialogSelect",tt),r.set("DDialogSelectList",it),r.set("DDialogSelectListItem",ft)};const ht=wcardinal.ui.DPickerTimes;var at=function(n,t){return ht.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 at},t.prototype.newTextValue=function(){return new Date},t}(B),dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),mt=function(){r.set("DDialogTime",dt),Mn()},Dt=function(){r.set("DButtonTime",st),mt()},pt=function(){_(),A(),P(),fn(),$(),r.set("DButtonSelect",nt),lt(),hn(),Pn(),zn(),Vn(),jn(),Xn(),qn(),Kn(),Zn(),Dt(),S()},Tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(D),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 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getCornerMask=function(){return f.ALL},t}(D),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.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const wt=wcardinal.ui.DChartAxisPosition,kt=wcardinal.ui.DChartAxisTickPosition,yt=wcardinal.ui.EShapeTextAlignHorizontal,vt=wcardinal.ui.EShapeTextAlignVertical,It=wcardinal.ui.EShapeTextDirection;var Ct=function(){function n(){}return n.prototype.getPosition=function(){return wt.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case wt.TOP:case wt.BOTTOM:return 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 vt.OUTSIDE_TOP;case wt.BOTTOM:return vt.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return vt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return It.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 kt.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 vt.OUTSIDE_TOP;case wt.BOTTOM:return vt.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return vt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return It.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 kt.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 e=Math.abs(t-n)/r;if(e<=10)return e<=1.33?1:e<=2.86?2:e<=6.67?5:10;if(e<=100)return e<=13.33?10:e<=28.57?20:e<=66.67?50:100;if(e<=1e3)return e<=133.33?100:e<=285.71?200:e<=666.67?500:1e3;if(e<=1e4)return e<=1333.33?1e3:e<=2857.14?2e3:e<=6666.66?5e3:1e4;if(e<=12e4)return e<=13333.33?1e4:e<=24e3?2e4:e<=4e4?3e4:e<=72e3?6e4:e<=102857.14?9e4:12e4;if(e<=108e5)return e<=171428.57?12e4:e<=4e5?3e5:e<=8e5?6e5:e<=144e4?12e5:e<=24e5?18e5:e<=432e4?36e5:e<=6171428.57?54e5:e<=8e6?72e5:e<=9818181.82?9e6:108e5;var u=36e5,i=e/u;if(i<=24)return i<=1.33?u: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 It.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 e=Math.abs(t-n)/r,u=Math.floor(Math.log(e)/Math.LN10),i=Math.pow(10,u),o=e/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}(D),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const Ht=wcardinal.ui.EShapeStrokeStyle,Rt=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 Rt;return t.points.position=zt.TOP,t.stroke.style=Ht.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 Rt;return t.points.position=zt.LEFT,t.stroke.style=Ht.DASHED,t.stroke.alpha=.75,t},t}(Gt);const jt=wcardinal.ui.EShapeCircle;var Yt=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 jt;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(Gt),Xt=function(){r.set("DChart",bt),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",At),r.set("DChartPlotArea",Nt),r.set("DChartSelectionGridlineX",Vt),r.set("DChartSelectionGridlineY",Ot),r.set("DChartSelectionMarker",Yt)},Ut=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(a.brighten(n[t],.75));for(t=10;t<20;++t)n.push(a.brighten(n[t],.45));for(t=10;t<20;++t)n.push(a.brighten(n[t],.15));for(t=10;t<20;++t)n.push(a.darken(n[t],.15));for(t=10;t<20;++t)n.push(a.darken(n[t],.45));for(t=10;t<20;++t)n.push(a.darken(n[t],.75));return n},n}(),Jt=function(){r.set("DColorRecent",Ut),r.set("DColorStandard",Kt)},qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(gt),Qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(qt),Zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t}(Tt),$t=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}(Zt);const nr=wcardinal.ui.EShapeStrokeSide;var tr=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 5197647},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return nr.ALL},n.prototype.getStrokeStyle=function(){return Ht.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}(),rr=function(){r.set("EShape",tr)},er=function(){r.set("DDiagram",Qt),r.set("DDiagramCanvas",$t),rr()},ur=function(n,t,r){var e=Math.max(t,r);if(0<n){for(var u=e/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return e},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.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 Ht.DASHED|Ht.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 s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Zt),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.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 cr=wcardinal.ui.EShapeActionOpenDialogExtensions,fr=wcardinal.ui.EShapeActionOpenExtensions,lr=wcardinal.ui.EShapeActionValueBlinkType,hr=wcardinal.ui.EShapeActionValueChangeColorTarget,ar=wcardinal.ui.EShapeActionValueChangeColorType,sr=wcardinal.ui.EShapeActionValueChangeTextType,dr=wcardinal.ui.EShapeActionValueGestureOperationType,mr=wcardinal.ui.EShapeActionValueGestureType,Dr=wcardinal.ui.EShapeActionValueMiscType,pr=wcardinal.ui.EShapeActionValueOnInputAction,Tr=wcardinal.ui.EShapeActionValueOpenDialogType,gr=wcardinal.ui.EShapeActionValueOpenType,Wr=wcardinal.ui.EShapeActionValueOpetyped,br=wcardinal.ui.EShapeActionValueShowHideType,wr=wcardinal.ui.EShapeActionValueSubtyped,kr=wcardinal.ui.EShapeActionValueTransformMoveType,yr=wcardinal.ui.EShapeActionValueTransformResizeType,vr=wcardinal.ui.EShapeActionValueTransformRotateType,Ir=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,e=n.subtype;if(n instanceof Wr){if(null!=(r=this.toOpetypedLabel(t,e,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,e,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var e=this.toTypeLabel(n);switch(n){case Cr.SHOW_HIDE:return"".concat(e,": ").concat(this.toShowHideTypeLabel(t));case Cr.BLINK:return"".concat(e,": ").concat(this.toBlinkTypeLabel(t));case Cr.CHANGE_COLOR:case Cr.CHANGE_COLOR_LEGACY:return"".concat(e,": ").concat(this.toChangeColorTypeLabel(t));case Cr.CHANGE_TEXT:return"".concat(e,": ").concat(this.toChangeTextTypeLabel(t));case Cr.OPEN:return"".concat(e,": ").concat(this.toOpenTypeLabel(t));case Cr.GESTURE:return"".concat(e,": ").concat(this.toGestureTypeLabel(t));case Cr.MISC:return"".concat(e,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,e){switch(n){case Cr.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case Ir.ROTATE:return"".concat(u,": ").concat(this.toTransformRotateTypeLabel(r));case Ir.MOVE:return"".concat(u,": ").concat(this.toTransformMoveTypeLabel(r));case Ir.RESIZE:return"".concat(u,": ").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 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 Ir.RESIZE:return"Resize";case Ir.MOVE:return"Move";case Ir.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case vr.RELATIVE:return"Relative";case vr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case kr.RELATIVE_X:return"Relative X";case kr.RELATIVE_Y:return"Relative Y";case kr.ABSOLUTE_X:return"Absolute X";case kr.ABSOLUTE_Y:return"Absolute Y";case kr.FORWARD_OR_BACKWARD:return"Forward / backward";case kr.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===ar.NONE)return"None";var t="",r="";return n&ar.FILL&&(t+=r+"Fill",r=", "),n&ar.STROKE&&(t+=r+"Stroke",r=", "),n&ar.TEXT&&(t+=r+"Text",r=", "),n&ar.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case hr.COLOR_AND_ALPHA:return"Color";case hr.COLOR:return"RGB";case hr.ALPHA:return"Alpha";case hr.CODE:return"Dynamic color";case hr.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 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=fr.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=cr.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 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(pr.EMIT_EVENT);case Dr.WRITE_BOTH:return this.toOnInputActionLabel(pr.WRITE_BOTH);case Dr.WRITE_LOCAL:return this.toOnInputActionLabel(pr.WRITE_LOCAL);case Dr.WRITE_REMOTE:return this.toOnInputActionLabel(pr.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"}},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)"}},n}(),Sr=function(){r.set("EShapeActionValue",Br)},Mr=function(){r.set("DDiagramEditor",or),r.set("DDiagramCanvasEditor",ir),Sr(),rr()},_r=function(){r.set("DDialog",Y)};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}(D),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),Ar=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),Nr=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}(Ar),Hr=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(n){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}(C);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 Rr=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 Rr},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return w.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(M),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 s.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.NONE},t}(C),jr=function(){r.set("DDialogLayeredContent",Fr),r.set("DDialogLayeredFooter",Nr),r.set("DDialogLayeredHeaderButtonClose",zr),r.set("DDialogLayeredHeaderSeparator",Or),r.set("DDialogLayeredHeader",Hr),r.set("DDialogLayered",X)},Yr=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}(X),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Xr),Kr=function(){r.set("DDialogConfirm",Yr),r.set("DDialogConfirmMessage",Ur)},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}(Yr),qr=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}(Yr),Zr=function(){r.set("DDialogConfirmDiscard",Qr)},$r=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}(X),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),te=function(){r.set("DDialogInputBoolean",ne)},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),ee=function(){r.set("DDialogInputInteger",re)},ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),ie=function(){r.set("DDialogInputReal",ue)},oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),ce=function(){r.set("DDialogInputText",oe)},fe=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}(Yr),le=function(){r.set("DDialogMessage",fe)},he=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},ae=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 he},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Yr);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 se=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}(Ur),de=function(){r.set("DDialogProcessing",ae),r.set("DDialogProcessingMessage",se)},me=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}(oe),De=function(){r.set("DDialogSaveAs",me)},pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(Fr),Te=function(){r.set("DDialogFittedContent",pe),r.set("DDialogFitted",U)},ge=function(){cn(),Z(),qr(),Zr(),Kr(),En(),Rn(),Te(),te(),ee(),ie(),ce(),jr(),le(),de(),De(),lt(),mt(),_r()},We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return f.ALL},t}(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 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.isHovered||n.inActive?16316664:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return f.ALL},t}(Xr),we=function(){r.set("DExpandableHeader",be),r.set("DExpandable",We)};const ke=wcardinal.ui.DHtmlElementState;var ye=function(){return null},ve=function(n){var t=document.createElement("div");return n.appendChild(t),t},Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return ye},t.prototype.setElementStyle=function(n,t,r,e,u,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,e,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+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(ke.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,e=n.y-t.y;return"left:".concat(r,"px; top:").concat(e,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,e){return"position: absolute;"+this.getElementStylePositionPosition(t,e)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.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 ve},t.prototype.setClipperStyle=function(n,t,r,e,u,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 ve},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 ve},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return xr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(C),Ce=function(){r.set("DImage",Xr)},xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(Ar),Be=function(){r.set("DInputAndLabel",xe)},Se=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}(Ar),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(B),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(B),Le=function(){r.set("DInputBoolean",Se),r.set("DInputBooleanButtonOn",_e),r.set("DInputBooleanButtonOff",Me)},Ee=function(){return null},Pe=function(n){return n},Fe=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:s.BORDER_COLOR},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return Pe},t.prototype.getEditingValidator=function(){return Ee},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}(Ie),Ae="d-theme-white-input-input",Ne="".concat(Ae,"-element"),He=function(n){var t=n.getElementsByClassName(Ne);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Ne),n.appendChild(r),r},Re=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},ze="".concat(Ae,"-clipper"),Ge=function(n){return Re(n,ze)},Ve="".concat(Ae,"-before"),Oe=function(n){return Re(n,Ve)},je="".concat(Ae,"-after"),Ye=function(n){return Re(n,je)},Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return He},t.prototype.getClipperCreator=function(){return Ge},t.prototype.getBeforeCreator=function(){return Oe},t.prototype.getAfterCreator=function(){return Ye},t}(Fe),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(Xe),Ke=function(n){var t=parseInt(n,10);return t==t?t:0},Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Ke},t}(Ue),qe=function(){r.set("DInputInteger",Je)},Qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Cn),Ze=function(){r.set("DInputLabel",Qe)},$e=function(n){var t=parseFloat(n);return t==t?t:0},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return $e},t}(Ue),tu=function(){r.set("DInputReal",nu)},ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Xe);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var eu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(ru),uu=function(){r.set("DInputSearch",eu)},iu=function(){r.set("DInputText",ru)},ou="d-theme-white-input-text-area",cu="".concat(ou,"-element"),fu=function(n){var t=n.getElementsByClassName(cu);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",cu),n.appendChild(r),r},lu=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},hu="".concat(ou,"-clipper"),au=function(n){return lu(n,hu)},su="".concat(ou,"-before"),du=function(n){return lu(n,su)},mu="".concat(ou,"-after"),Du=function(n){return lu(n,mu)},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.TOP},t.prototype.getTextStyleWordWrap=function(){return y.NORMAL},t.prototype.getElementCreator=function(){return fu},t.prototype.getClipperCreator=function(){return au},t.prototype.getBeforeCreator=function(){return du},t.prototype.getAfterCreator=function(){return Du},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case y.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(Fe),Tu=function(){r.set("DInputTextArea",pu)},gu=function(){Be(),Le(),qe(),Ze(),tu(),uu(),Tu(),iu()},Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return l.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),bu=function(){r.set("DLayout",Er),r.set("DLayoutHorizontal",Ar),r.set("DLayoutSpace",Wu),r.set("DLayoutVertical",Pr)};const wu=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 ku=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:wu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:wu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenInNewWindow()}},{value:wu.COPY_LINK_ADDRESS,text:{value:this.getOpenCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenInNewWindow=function(){return"Open in new window"},n.prototype.getOpenCopyLinkAddress=function(){return"Copy link address"},n}(),yu=function(){r.set("DLink",ku)},vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new ot(null,!1,!0)},t}(ct),Iu=function(){r.set("DListItemAmbient",vu),r.set("DListItem",ct),r.set("DList",ut)},Cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Pr),xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?s.COLOR:n.isActive?this.getColorActive(n):s.COLOR},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Xr),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(xu),Su=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}(Bu);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 Mu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Su),_u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Pr),Lu=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),Eu=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}();Eu.init();var Pu=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?Eu.getImageOpened():Eu.getImageClosed()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(xu),Fu=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}(Mu);const Au=wcardinal.ui.DBaseState;var Nu=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(Au.NEW_WINDOW)?this.M.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r}(Su),Hu=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}(Nu);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 Ru=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Bu),zu=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}(Ru),Gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(xu),Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Gu),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Wu),ju=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}(Ou),Yu=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}(Su),Xu=function(){r.set("DMenu",Cu),r.set("DMenuItem",Bu),r.set("DMenuItemCheck",Mu),r.set("DMenuItemLink",Nu),r.set("DMenuItemMenu",Ru),r.set("DMenuItemSeparator",Gu),r.set("DMenuItemSpace",Ou),r.set("DMenuItemText",Su),r.set("DMenuItemExpandableBody",Lu),r.set("DMenuItemExpandableHeader",Pu),r.set("DMenuItemExpandableItemCheck",Fu),r.set("DMenuItemExpandableItemLink",Hu),r.set("DMenuItemExpandableItemMenu",zu),r.set("DMenuItemExpandableItemSeparator",Vu),r.set("DMenuItemExpandableItemSpace",ju),r.set("DMenuItemExpandableItemText",Yu),r.set("DMenuItemExpandable",_u)},Uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16645629},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Ar),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(B),Ju=function(){r.set("DMenuBarItem",Ku),r.set("DMenuBar",Uu),Xu()},qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(et),Qu=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),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Mu),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_u),ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Fu),ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Hu),ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(zu),ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Vu),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ju),ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Yu),oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Nu),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ru),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Gu),li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ou),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Su),ai=function(){r.set("DMenuSided",qu),r.set("DMenuSidedContent",Qu),r.set("DMenuSidedItemCheck",Zu),r.set("DMenuSidedItemLink",oi),r.set("DMenuSidedItemMenu",ci),r.set("DMenuSidedItemSeparator",fi),r.set("DMenuSidedItemSpace",li),r.set("DMenuSidedItemText",hi),r.set("DMenuSidedItemExpandable",$u),r.set("DMenuSidedItemExpandableItemCheck",ni),r.set("DMenuSidedItemExpandableItemLink",ti),r.set("DMenuSidedItemExpandableItemMenu",ri),r.set("DMenuSidedItemExpandableItemSeparator",ei),r.set("DMenuSidedItemExpandableItemSpace",ui),r.set("DMenuSidedItemExpandableItemText",ii)},si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return k.TEXT},t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return w.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),di=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}(si),mi=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}(si),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(si),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(si),Ti=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}(pi),gi=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}(pi),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(pi),bi=function(){r.set("DNote",si),r.set("DNoteError",di),r.set("DNoteNoItemsFound",mi),r.set("DNoteSearching",Di),r.set("DNoteSmallError",Ti),r.set("DNoteSmallNoItemsFound",gi),r.set("DNoteSmallSearching",Wi)},wi=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}(Ar);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 ki=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 W.CENTER},r.prototype.getImageAlignWith=function(){return k.BORDER},r}(C);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 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.getImageSource=function(n){return t.mappings.pagination_button_last},r}(M);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var 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}(M),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(M);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var 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_previous},r}(M);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var 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_top},r}(M),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t}(C),Si=function(){r.set("DPagination",wi),r.set("DPaginationPage",Bi),r.set("DPaginationDots",ki),r.set("DPaginationButtonLast",yi),r.set("DPaginationButtonNext",vi),r.set("DPaginationButtonPage",Ii),r.set("DPaginationButtonPrevious",Ci),r.set("DPaginationButtonTop",xi)},Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(D),Li=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=a.darken(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),Ei=function(){r.set("DScrollBar",_i),r.set("DScrollBarThumb",Li)},Pi=function(){r.set("DPane",et),r.set("DContent",Mi),Ei()};const Fi=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,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(x),Ni=function(n){if(n){var t=n.text;if(Fi(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 Ni},t.prototype.newTextValue=function(){return null},t}(Ai),Ri=function(n){if(n){for(var t="",r="",e=0,u=n.length;e<u;++e){var i=n[e],o=i.text;if(Fi(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},zi=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[]},t}(Ai),Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Ai),Vi=function(){r.set("DDropdown",Gi)},Oi=function(){r.set("DSelectMultiple",zi),r.set("DSelect",Hi),Vi()},ji=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}(D),Yi=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}(ji),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return w.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(I),Ui=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=a.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=a.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=a.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR_ON_BOARD,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Ki=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return Ui.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return W.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(B),Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ui.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(B),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?11184810:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return w.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(I),$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}(ji),no=function(){r.set("DSlider",ji),r.set("DSliderValue",Zi),r.set("DSliderLabel",Xi),r.set("DSliderThumb",Ki),r.set("DSliderVertical",$i),r.set("DSliderHorizontal",Yi),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 s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(et),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}(D);const eo=wcardinal.ui.DTableState;var uo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(eo.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(eo.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return n.is(eo.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(eo.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=a.darken(t.BACKGROUND_COLOR,.015),n.BACKGROUND_COLOR_FROZEN_ODD=a.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.015),n.BORDER_COLOR=a.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=a.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 uo.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 uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);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 uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.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}(Gi),lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);io.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 io.getImageTintColor(n)},t.prototype.getImageSource=function(n){return io.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(lo),ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getImageTintColor=function(n){return uo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(C),so=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}(ao),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return uo.getImageTintColor(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(E),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(H),po=function(n){return an.format(n)},To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getTextFormatter=function(){return po},t.prototype.newTextValue=function(){return new Date},t}(B),go=function(n,t){return Fn.format(n,t.getDatetimeMask())},Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getTextFormatter=function(){return go},t.prototype.newTextValue=function(){return new Date},t}(B),bo=function(n){return String(Number(n)+1)},wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return bo},t.prototype.newTextValue=function(){return 0},t}(C),ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(Je),yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(nu),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(ru),Io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(pu),Co=function(){function n(){}return n.init=function(){Eu.init()},n.getImageSource=function(n){return n.is(eo.HAS_CHILDREN)?n.is(eo.OPENED)?Eu.getImageOpened():Eu.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 uo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(D),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 uo.getHeight()},t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(ru),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 uo.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 uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageAlignHorizontal=function(){return W.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}(x),Mo=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return uo.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this.M.getImageSource(n)},r}(so),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.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 uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(zi),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.TOP},t}(ao),Po=function(n,t){return ht.format(n,t.getDatetimeMask())},Fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getTextFormatter=function(){return Po},t.prototype.newTextValue=function(){return new Date},t}(B);Co.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 k.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}(so),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}(Ar),Ho=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.015),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(No),Ro=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(No),zo=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 Go=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t.BACKGROUND_COLOR_PRESSED=a.darken(t.BACKGROUND_COLOR,.034),t.BACKGROUND_COLOR_FROZEN=a.darken(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.055),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(eo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(eo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(eo.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(eo.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return W.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(eo.CHECKABLE)?L.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(eo.CHECKABLE)?L.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return w.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(eo.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(eo.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(eo.CHECKABLE)||n.is(eo.SORTABLE))?"pointer":""},r}(Xr),Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Go),Oo=function(){r.set("DTableBodyCellActionDialog",co),r.set("DTableBodyCellActionMenu",fo),r.set("DTableBodyCellActionPromise",ho),r.set("DTableBodyCellButton",so),r.set("DTableBodyCellCheck",mo),r.set("DTableBodyCellColor",Do),r.set("DTableBodyCellDate",To),r.set("DTableBodyCellDatetime",Wo),r.set("DTableBodyCellIndex",wo),r.set("DTableBodyCellInputInteger",ko),r.set("DTableBodyCellInputReal",yo),r.set("DTableBodyCellInputTextArea",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",lo),r.set("DTableBodyCellTextArea",Eo),r.set("DTableBodyCellText",ao),r.set("DTableBodyCellTree",Ao),r.set("DTableBodyCellTime",Fo),r.set("DTableBodyRow",Ho),r.set("DTableBody",ro),r.set("DTableCategoryCell",Vo),r.set("DTableCategory",zo),r.set("DTableHeaderCell",Go),r.set("DTableHeader",Ro),r.set("DTableRow",No),r.set("DTable",to),P(),$(),Pn(),zn(),qe(),tu(),Tu(),iu(),lt(),Xu()},jo=function(){r.set("DText",Cn)};Co.init();var Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return 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 k.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(ot),Xo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new Yo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(et),Uo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new Yo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),Ko=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 Jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return this.S.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.S.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.S.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.S.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.S.getSecondaryImageMarginHorizontal()},t}(Ko),qo=function(){r.set("DTree",Xo),r.set("DTreeItemText",Uo),r.set("DTreeItemButton",Ko),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.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return rt.ON},n.prototype.getGestureModifier=function(){return Qo.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),$o=function(){e(),p(),g(),pt(),r.set("DView",Zo),Wt(),Xt(),Jt(),Mr(),er(),ge(),we(),r.set("DHtmlElement",Ie),Ce(),gu(),bu(),yu(),Iu(),qo(),Ju(),ai(),Xu(),bi(),Pi(),Si(),on(),Q(),Ln(),_n(),Mn(),Oi(),Oo(),jo(),no()},nc={__proto__:null,loadThemeWhiteAll:$o,loadThemeWhiteBase:p,loadThemeWhiteBoard:g,loadThemeWhiteButtonAll:pt,loadThemeWhiteButtonAmbient:_,loadThemeWhiteButtonCheckRight:A,loadThemeWhiteButtonCheck:P,loadThemeWhiteButtonColorGradient:fn,loadThemeWhiteButtonColor:$,loadThemeWhiteButtonDanger:hn,loadThemeWhiteButtonDate:Pn,loadThemeWhiteButtonDatetime:zn,loadThemeWhiteButtonFile:Vn,loadThemeWhiteButtonLink:jn,loadThemeWhiteButtonPrimary:Xn,loadThemeWhiteButtonRadioRight:qn,loadThemeWhiteButtonRadio:Kn,loadThemeWhiteButtonSecondary:Zn,loadThemeWhiteButtonTime:Dt,loadThemeWhiteButton:S,loadThemeWhiteCanvasContainer:Wt,loadThemeWhiteChart:Xt,loadThemeWhiteColor:Jt,loadThemeWhiteDiagramEditor:Mr,loadThemeWhiteDiagram:er,loadThemeWhiteDialogAll:ge,loadThemeWhiteDialogColorGradient:cn,loadThemeWhiteDialogColor:Z,loadThemeWhiteDialogConfirmDelete:qr,loadThemeWhiteDialogConfirmDiscard:Zr,loadThemeWhiteDialogConfirm:Kr,loadThemeWhiteDialogDate:En,loadThemeWhiteDialogDatetime:Rn,loadThemeWhiteDialogFitted:Te,loadThemeWhiteDialogInputBoolean:te,loadThemeWhiteDialogInputInteger:ee,loadThemeWhiteDialogInputReal:ie,loadThemeWhiteDialogInputText:ce,loadThemeWhiteDialogLayered:jr,loadThemeWhiteDialogMessage:le,loadThemeWhiteDialogProcessing:de,loadThemeWhiteDialogSaveAs:De,loadThemeWhiteDialogSelect:lt,loadThemeWhiteDialogTime:mt,loadThemeWhiteDialog:_r,loadThemeWhiteDropdown:Vi,loadThemeWhiteExpandable:we,loadThemeWhiteImage:Ce,loadThemeWhiteInputAll:gu,loadThemeWhiteInputAndLabel:Be,loadThemeWhiteInputBoolean:Le,loadThemeWhiteInputInteger:qe,loadThemeWhiteInputLabel:Ze,loadThemeWhiteInputReal:tu,loadThemeWhiteInputSearch:uu,loadThemeWhiteInputTextArea:Tu,loadThemeWhiteInputText:iu,loadThemeWhiteLayout:bu,loadThemeWhiteLink:yu,loadThemeWhiteList:Iu,loadThemeWhiteTree:qo,loadThemeWhiteMenuBar:Ju,loadThemeWhiteMenuSided:ai,loadThemeWhiteMenu:Xu,loadThemeWhiteNote:bi,loadThemeWhitePane:Pi,loadThemeWhitePagination:Si,loadThemeWhitePickerColorGradient:on,loadThemeWhitePickerColor:Q,loadThemeWhitePickerDate:Ln,loadThemeWhitePickerDatetime:_n,loadThemeWhitePickerTime:Mn,loadThemeWhiteScrollBar:Ei,loadThemeWhiteSelect:Oi,loadThemeWhiteShapeActionValue:Sr,loadThemeWhiteShape:rr,loadThemeWhiteSlider:no,loadThemeWhiteTable:Oo,loadThemeWhiteText:jo,loadThemeWhite:e,DThemeWhiteAtlas:t,DThemeWhiteBase:D,DThemeWhiteBoard:T,DThemeWhiteButtonAmbient:M,DThemeWhiteButtonBase:x,DThemeWhiteButtonCheck:E,DThemeWhiteButtonCheckRight:F,DThemeWhiteButtonChecks:L,DThemeWhiteButtonColorGradient:rn,DThemeWhiteButtonColor:H,DThemeWhiteButtonDanger:ln,DThemeWhiteButtonDate:dn,DThemeWhiteButtonDatetime:Nn,DThemeWhiteButtonFile:Gn,DThemeWhiteButtonLink:On,DThemeWhiteButtonPrimary:Yn,DThemeWhiteButtonRadioRight:Jn,DThemeWhiteButtonRadio:Un,DThemeWhiteButtonSecondary:Qn,DThemeWhiteButtonTime:st,DThemeWhiteButton:B,DThemeWhiteCanvasContainer:gt,DThemeWhiteCanvas:Tt,DThemeWhiteChartAxisBase:Ct,DThemeWhiteChartAxisXDatetime:St,DThemeWhiteChartAxisX:xt,DThemeWhiteChartAxisY:Mt,DThemeWhiteChartCoordinateTick:Lt,DThemeWhiteChartCoordinateTransform:Et,DThemeWhiteChartCoordinate:_t,DThemeWhiteChartLegendItem:Ft,DThemeWhiteChartLegend:Pt,DThemeWhiteChartOverview:At,DThemeWhiteChartPlotArea:Nt,DThemeWhiteChartSelectionGridlineX:Vt,DThemeWhiteChartSelectionGridlineY:Ot,DThemeWhiteChartSelectionMarker:Yt,DThemeWhiteChartSelectionShape:Gt,DThemeWhiteChart:bt,DThemeWhiteColorRecent:Ut,DThemeWhiteColorStandard:Kt,DThemeWhiteContent:Mi,DThemeWhiteDiagramBase:qt,DThemeWhiteDiagramCanvasBase:Zt,DThemeWhiteDiagramCanvasEditor:ir,DThemeWhiteDiagramCanvas:$t,DThemeWhiteDiagramEditor:or,DThemeWhiteDiagram:Qt,DThemeWhiteDialogColorGradient:en,DThemeWhiteDialogColor:K,DThemeWhiteDialogConfirmDelete:Jr,DThemeWhiteDialogConfirmDiscard:Qr,DThemeWhiteDialogConfirmMessage:Ur,DThemeWhiteDialogConfirm:Yr,DThemeWhiteDialogDate:mn,DThemeWhiteDialogDatetime:Hn,DThemeWhiteDialogFittedContent:pe,DThemeWhiteDialogFitted:U,DThemeWhiteDialogInputBoolean:ne,DThemeWhiteDialogInputInteger:re,DThemeWhiteDialogInputReal:ue,DThemeWhiteDialogInputText:oe,DThemeWhiteDialogInput:$r,DThemeWhiteDialogLayeredContent:Fr,DThemeWhiteDialogLayeredFooter:Nr,DThemeWhiteDialogLayeredHeaderButtonClose:zr,DThemeWhiteDialogLayeredHeaderSeparator:Or,DThemeWhiteDialogLayeredHeader:Hr,DThemeWhiteDialogLayered:X,DThemeWhiteDialogMessage:fe,DThemeWhiteDialogProcessingMessage:se,DThemeWhiteDialogProcessing:ae,DThemeWhiteDialogSaveAs:me,DThemeWhiteDialogSelectListItem:ft,DThemeWhiteDialogSelectList:it,DThemeWhiteDialogSelect:tt,DThemeWhiteDialogTime:dt,DThemeWhiteDialog:Y,DThemeWhiteDropdown:Gi,DThemeWhiteExpandableHeader:be,DThemeWhiteExpandable:We,DThemeWhiteFont:d,DThemeWhiteHtmlElement:Ie,DThemeWhiteImageBase:C,DThemeWhiteImage:Xr,DThemeWhiteInputAndLabel:xe,DThemeWhiteInputBooleanButtonOff:Me,DThemeWhiteInputBooleanButtonOn:_e,DThemeWhiteInputBoolean:Se,DThemeWhiteInputInput:Xe,DThemeWhiteInputInteger:Je,DThemeWhiteInputLabel:Qe,DThemeWhiteInputNumber:Ue,DThemeWhiteInputReal:nu,DThemeWhiteInputSearch:eu,DThemeWhiteInputTextArea:pu,DThemeWhiteInputText:ru,DThemeWhiteInput:Fe,DThemeWhiteLayoutHorizontal:Ar,DThemeWhiteLayoutSpace:Wu,DThemeWhiteLayoutVertical:Pr,DThemeWhiteLayout:Er,DThemeWhiteLink:ku,DThemeWhiteListItemAmbient:vu,DThemeWhiteListItem:ct,DThemeWhiteListItems:ot,DThemeWhiteList:ut,DThemeWhiteMenuBarItem:Ku,DThemeWhiteMenuBar:Uu,DThemeWhiteMenuItemBase:xu,DThemeWhiteMenuItemCheck:Mu,DThemeWhiteMenuItemExpandableBody:Lu,DThemeWhiteMenuItemExpandableHeader:Pu,DThemeWhiteMenuItemExpandableItemCheck:Fu,DThemeWhiteMenuItemExpandableItemLink:Hu,DThemeWhiteMenuItemExpandableItemMenu:zu,DThemeWhiteMenuItemExpandableItemSeparator:Vu,DThemeWhiteMenuItemExpandableItemSpace:ju,DThemeWhiteMenuItemExpandableItemText:Yu,DThemeWhiteMenuItemExpandable:_u,DThemeWhiteMenuItemLink:Nu,DThemeWhiteMenuItemMenu:Ru,DThemeWhiteMenuItemSeparator:Gu,DThemeWhiteMenuItemSpace:Ou,DThemeWhiteMenuItemText:Su,DThemeWhiteMenuItem:Bu,DThemeWhiteMenuSidedContent:Qu,DThemeWhiteMenuSidedItemCheck:Zu,DThemeWhiteMenuSidedItemExpandableItemCheck:ni,DThemeWhiteMenuSidedItemExpandableItemLink:ti,DThemeWhiteMenuSidedItemExpandableItemMenu:ri,DThemeWhiteMenuSidedItemExpandableItemSeparator:ei,DThemeWhiteMenuSidedItemExpandableItemSpace:ui,DThemeWhiteMenuSidedItemExpandableItemText:ii,DThemeWhiteMenuSidedItemExpandable:$u,DThemeWhiteMenuSidedItemLink:oi,DThemeWhiteMenuSidedItemMenu:ci,DThemeWhiteMenuSidedItemSeparator:fi,DThemeWhiteMenuSidedItemSpace:li,DThemeWhiteMenuSidedItemText:hi,DThemeWhiteMenuSided:qu,DThemeWhiteMenu:Cu,DThemeWhiteNoteError:di,DThemeWhiteNoteNoItemsFound:mi,DThemeWhiteNoteSearching:Di,DThemeWhiteNoteSmallError:Ti,DThemeWhiteNoteSmallNoItemsFound:gi,DThemeWhiteNoteSmallSearching:Wi,DThemeWhiteNoteSmall:pi,DThemeWhiteNote:si,DThemeWhitePaginationButtonLast:yi,DThemeWhitePaginationButtonNext:vi,DThemeWhitePaginationButtonPage:Ii,DThemeWhitePaginationButtonPrevious:Ci,DThemeWhitePaginationButtonTop:xi,DThemeWhitePaginationDots:ki,DThemeWhitePaginationPage:Bi,DThemeWhitePagination:wi,DThemeWhitePane:et,DThemeWhitePickerColorGradient:un,DThemeWhitePickerColor:q,DThemeWhitePickerDate:kn,DThemeWhitePickerDatetimeButtonBack:yn,DThemeWhitePickerDatetimeButtonDate:vn,DThemeWhitePickerDatetimeButtonNext:In,DThemeWhitePickerDatetimeLabelDate:Bn,DThemeWhitePickerDatetimeLabel:xn,DThemeWhitePickerDatetimeSpace:Sn,DThemeWhitePickerDatetime:wn,DThemeWhitePickerTime:pn,DThemeWhiteScrollBarThumb:Li,DThemeWhiteScrollBar:_i,DThemeWhiteSelectMultiple:zi,DThemeWhiteSelect:Hi,DThemeWhiteSlider:ji,DThemeWhiteSliderHorizontal:Yi,DThemeWhiteSliderLabel:Xi,DThemeWhiteSliderThumb:Ki,DThemeWhiteSliderTrack:Ji,DThemeWhiteSliderTrackHorizontal:qi,DThemeWhiteSliderTrackVertical:Qi,DThemeWhiteSliderValue:Zi,DThemeWhiteSliderVertical:$i,DThemeWhiteTableBodyCellButton:so,DThemeWhiteTableBodyCellCheck:mo,DThemeWhiteTableBodyCellColor:Do,DThemeWhiteTableBodyCellDate:To,DThemeWhiteTableBodyCellDatetime:Wo,DThemeWhiteTableBodyCellIndex:wo,DThemeWhiteTableBodyCellInputInteger:ko,DThemeWhiteTableBodyCellInputReal:yo,DThemeWhiteTableBodyCellInputTextArea:Io,DThemeWhiteTableBodyCellInputText:vo,DThemeWhiteTableBodyCellLink:Mo,DThemeWhiteTableBodyCellSelectDialog:oo,DThemeWhiteTableBodyCellSelectMenu:_o,DThemeWhiteTableBodyCellSelectPromise:lo,DThemeWhiteTableBodyCellTextArea:Eo,DThemeWhiteTableBodyCellText:ao,DThemeWhiteTableBodyCellTime:Fo,DThemeWhiteTableBodyCells:uo,DThemeWhiteTableBodyRow:Ho,DThemeWhiteTableBody:ro,DThemeWhiteTableCategoryCell:Vo,DThemeWhiteTableCategory:zo,DThemeWhiteTableHeaderCell:Go,DThemeWhiteTableHeader:Ro,DThemeWhiteTableRow:No,DThemeWhiteTable:to,DThemeWhiteTextBase:I,DThemeWhiteText:Cn,DThemeWhiteTreeItemButton:Ko,DThemeWhiteTreeItemNonEditable:Jo,DThemeWhiteTreeItemText:Uo,DThemeWhiteTreeItems:Yo,DThemeWhiteTree:Xo,DThemeWhiteView:Zo,DThemeWhite:r,EThemeWhiteShapeActionValue:Br,EThemeWhiteShape:tr};$o();var tc=window;tc.wcardinal=tc.wcardinal||{};var rc=tc.wcardinal.ui=tc.wcardinal.ui||{},ec=nc;for(var uc in ec)rc[uc]=ec[uc]}();
|
|
9
|
+
!function(){"use strict";const n=wcardinal.ui.DThemes;var t=new(0,wcardinal.ui.UtilSvgAtlasBuilder)(1024,1,3),r=function(){function n(){this.t={}}return n.prototype.get=function(t){var r=this.t[t];if(null!=r)return r;var e=n.u[t];if(null!=e)return this.t[t]=new e;throw new Error("No theme for the type '".concat(t,"'"))},n.prototype.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}(),e=function(){n.setDefaultThemeClass(r)},u=function(n,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])})(n,t)};function i(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=n}u(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}"function"==typeof SuppressedError&&SuppressedError;const o=wcardinal.ui.DBaseInteractive,c=wcardinal.ui.DBorderMask,f=wcardinal.ui.DCornerMask,l=wcardinal.ui.DLayoutClearType,h=wcardinal.ui.DShadowImpl,a=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=4473924,n.ACTIVE_COLOR=16777215,n.BORDER_COLOR=15066597,n.BACKGROUND_COLOR=15921906,n.BACKGROUND_COLOR_ON_BOARD=16777215,n.HIGHLIGHT_COLOR=3381759,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=13421772,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=a.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=16755370,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=a.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=a.blend(n.BACKGROUND_COLOR_ON_BOARD,n.INVALID_COLOR,n.INVALID_ALPHA),n}(),d=function(){function n(){}return n.prototype.getFontFamilly=function(){return'ProximaNova,-apple-system,Meiryo,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},n.prototype.getFontSize=function(){return 14},n.prototype.getColor=function(n){return s.COLOR},n.prototype.getFontWeight=function(){return"normal"},n.prototype.getFontStyle=function(){return"normal"},n.prototype.getFontVariant=function(){return"normal"},n.prototype.getAlpha=function(n){return n.inDisabled?.5:1},n.prototype.getLineHeight=function(){return 30},n}(),m=function(n,r,e){var u=2*r;t.add(n,u,u,"<g><defs>"+'<radialGradient id="'.concat(n,'_filter">')+'<stop offset="0%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="30%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="37%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="44%" stop-color="black" stop-opacity="'.concat(.368*e,'" />')+'<stop offset="51%" stop-color="black" stop-opacity="'.concat(.223*e,'" />')+'<stop offset="58%" stop-color="black" stop-opacity="'.concat(.135*e,'" />')+'<stop offset="65%" stop-color="black" stop-opacity="'.concat(.082*e,'" />')+'<stop offset="72%" stop-color="black" stop-opacity="'.concat(.05*e,'" />')+'<stop offset="79%" stop-color="black" stop-opacity="'.concat(.03*e,'" />')+'<stop offset="86%" stop-color="black" stop-opacity="'.concat(.018*e,'" />')+'<stop offset="93%" stop-color="black" stop-opacity="'.concat(.011*e,'" />')+'<stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs>'+'<rect x="0" y="0" width="'.concat(u,'" height="').concat(u,'" fill="url(#').concat(n,'_filter)"/>')+"</g>")};m("shadow_weak",24,.3),m("shadow",48,.3),t.add("background",16,16,'<g><defs><radialGradient id="234sfdhjfpijsrnsedsd435jseflkm"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#234sfdhjfpijsrnsedsd435jseflkm)"/></g>');var D=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return 0},r.prototype.getY=function(){return 0},r.prototype.getHeight=function(){return 100},r.prototype.getWidth=function(){return 100},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBackgroundTexture=function(){return t.mappings.background},r.prototype.getBorderColor=function(n){return null},r.prototype.getBorderAlpha=function(n){return 1},r.prototype.getBorderWidth=function(n){return 1},r.prototype.getBorderAlign=function(n){return 0},r.prototype.getBorderMask=function(n){return c.NONE},r.prototype.getBorderTexture=function(){return t.mappings.background},r.prototype.getPaddingLeft=function(){return 0},r.prototype.getPaddingRight=function(){return 0},r.prototype.getPaddingTop=function(){return 0},r.prototype.getPaddingBottom=function(){return 0},r.prototype.getCornerRadius=function(){return 3},r.prototype.getCornerMask=function(){return f.NONE},r.prototype.getOutlineColor=function(n){return s.HIGHLIGHT_COLOR},r.prototype.getOutlineAlpha=function(n){return n.isFocused?1:0},r.prototype.getOutlineWidth=function(n){return 1},r.prototype.getOutlineOffset=function(n){return 0},r.prototype.getOutlineAlign=function(n){return 0},r.prototype.getOutlineMask=function(n){return c.NONE},r.prototype.getClearType=function(){return l.NONE},r.prototype.getShadow=function(){return null},r.prototype.getInteractive=function(){return o.SELF},r.prototype.newState=function(n){},r.prototype.getTitle=function(){return""},r.prototype.getWeight=function(){return-1},r.prototype.newShadow=function(){return new h(t.mappings.shadow,48,48,0,4.8)},r.prototype.newShadowWeak=function(){return new h(t.mappings.shadow_weak,24,24,0,2.4)},r.prototype.getCursor=function(n){return""},r}(d),p=function(){r.set("DBase",D)},T=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingTop=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getPaddingBottom=function(){return 16},t.prototype.getInteractive=function(){return o.BOTH},t}(D),g=function(){r.set("DBoard",T)};const W=wcardinal.ui.DAlignHorizontal,b=wcardinal.ui.DButtonBaseWhen,w=wcardinal.ui.DAlignVertical,k=wcardinal.ui.DAlignWith,y=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var I=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.MIDDLE},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleFitting=function(){return!1},t.prototype.getTextStyleWordWrap=function(){return y.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(D),C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return w.MIDDLE},t.prototype.getImageAlignWith=function(){return k.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(I),x=function(n){function t(t,r,e){void 0===t&&(t=16777215),void 0===r&&(r=.017),void 0===e&&(e=.034);var u=n.call(this)||this;return u.BACKGROUND_COLOR=t,u.BACKGROUND_COLOR_HOVERED=a.darken(t,r),u.BACKGROUND_COLOR_PRESSED=a.darken(t,e),u.OUTLINE_COLOR=a.brighten(t,.75),u}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getColor=function(t){return t.inDisabled||!t.isActive?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled||!n.isActive?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return n.isActive?this.getOutlineColorActive(n):this.getOutlineColorNonActive(n)},t.prototype.getOutlineColorActive=function(n){return this.OUTLINE_COLOR},t.prototype.getOutlineColorNonActive=function(t){return n.prototype.getOutlineColor.call(this,t)},t.prototype.getOutlineOffset=function(n){return n.isActive?this.getOutlineOffsetActive(n):this.getOutlineOffsetNonActive(n)},t.prototype.getOutlineOffsetActive=function(n){return-1.5},t.prototype.getOutlineOffsetNonActive=function(t){return n.prototype.getOutlineOffset.call(this,t)},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return 100},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.isToggle=function(){return!1},t.prototype.getWhen=function(){return b.CLICKED},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(C),B=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),S=function(){r.set("DButton",B)},M=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?s.HIGHLIGHT_COLOR:s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){if(n.inEnabled){if(n.isActive)return 1;if(n.isPressed)return 2*s.WEAK_HIGHLIGHT_ALPHA;if(n.isHovered)return s.WEAK_HIGHLIGHT_ALPHA}return 0},t.prototype.getBorderColor=function(n){return null},t}(x),_=function(){r.set("DButtonAmbient",M)};t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var L=function(){function n(){}return n.getImageTintColor=function(n){return n.inDisabled||n.inReadOnly||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getImageSource=function(n){return n.isActive?t.mappings.button_check_mark_on:t.mappings.button_check_mark_off},n}();t.add("button_check_mark_on",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff" /></g>'),t.add("button_check_mark_off",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff" /></g>');var E=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},t.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},t.prototype.getImageTintColor=function(n){return L.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return L.getImageSource(n)},t}(M),P=function(){r.set("DButtonCheck",E)},F=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(E),A=function(){r.set("DButtonCheckRight",F)};t.add("button_color_sample",21,21,'<g transform="scale(0.875,0.875)"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"/></g>');var N=function(n){return"#".concat(a.toCode(n.color)," A").concat(n.alpha.toFixed(2))},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 N},r.prototype.newTextValue=function(){return{color:16777215,alpha:1}},r}(B);const R=wcardinal.ui.DAnimationFadeIn,z=wcardinal.ui.DDialogAlign,G=wcardinal.ui.DDialogCloseOn,V=wcardinal.ui.DDialogGestureMode,O=wcardinal.ui.DDialogMode,j=wcardinal.ui.DDialogState;var Y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return O.MODAL},t.prototype.closeOn=function(n){switch(n){case O.MODAL:case O.MENU:return G.ESC|G.CLICK_OUTSIDE;case O.MODELESS:return G.NONE}},t.prototype.isSticky=function(n){return!1},t.prototype.isGestureEnabled=function(n){switch(n){case O.MODAL:case O.MODELESS:return!0;case O.MENU:return!1}},t.prototype.getGestureMode=function(n){return V.DIRTY},t.prototype.getOffsetX=function(n){return 5},t.prototype.getOffsetY=function(n){return 5},t.prototype.getAlign=function(n){return z.BOTTOM},t.prototype.newAnimation=function(n){switch(n){case O.MODAL:return new R;case O.MODELESS:case O.MENU:return null}},t.prototype.getBackgroundColor=function(n){return n.is(j.MENU)?s.BACKGROUND_COLOR_ON_BOARD:s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.is(j.MENU)?null:16448250},t.prototype.getOutlineColor=function(n){return null},t.prototype.getPaddingLeft=function(){return 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}(D),X=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}(Y),U=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(X),K=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),J=function(n,t){for(var r="<g>",e=0;e<t;++e)for(var u=0;u<n;++u){var i=(u+e)%2==0?"#bfbfbf":"#a5a5a5";r+='<rect x="'.concat(9*u,'" y="').concat(9*e,'" width="9" height="9" fill="').concat(i,'" />')}return r+"</g>"};t.add("picker_color_main",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="#5f5f5f" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",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}(D),Q=function(){r.set("DPickerColor",q)},Z=function(){r.set("DDialogColor",K),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[.75,.65]},r}(B),en=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),un=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getGradientPointsWidth=function(){return 30},r.prototype.getGradientPointsMargin=function(){return 24},r.prototype.getGradientAnchorTexture=function(){return t.mappings.picker_color_anchor},r.prototype.getGradientAnchorOutlinedTexture=function(){return t.mappings.picker_color_anchor_outlined},r.prototype.getGradientAnchorOutlineTexture=function(){return t.mappings.picker_color_anchor_outline},r.prototype.getGradientDirectionMargin=function(){return 5},r.prototype.getGradientDirectionTexture=function(){return t.mappings.picker_color_direction},r.prototype.getGradientRecentColumn=function(){return 4},r.prototype.getGradientRecentWidth=function(){return 30},r.prototype.getGradientRecentMargin=function(){return 5},r.prototype.getGradientRecentCount=function(){return 16},r.prototype.getGradientRecents=function(){return[]},r.prototype.getGradientCheckerColors=function(){return[.75,.65]},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getInteractive=function(){return o.CHILDREN},r.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},r}(D),on=function(){r.set("DPickerColorGradient",un),Q()},cn=function(){r.set("DDialogColorGradient",en),on()},fn=function(){r.set("DButtonColorGradient",rn),cn()},ln=function(n){function t(){return n.call(this,16733542,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(x),hn=function(){r.set("DButtonDanger",ln)};const an=wcardinal.ui.DPickerDates;var sn=function(n){return an.format(n)},dn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return sn},t.prototype.newTextValue=function(){return new Date},t}(B),mn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U);const Dn=wcardinal.ui.DPickerDatetimeMask;var pn=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 Dn.HOURS|Dn.MINUTES},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"auto"},t.prototype.getLowerBound=function(){return null},t.prototype.isLowerBoundInclusive=function(){return!1},t.prototype.getUpperBound=function(){return null},t.prototype.isUpperBoundInclusive=function(){return!1},t}(D),Tn=["January","February","March","April","May","June","July","August","September","October","November","December"],gn=["Su","Mo","Tu","We","Th","Fr","Sa"],Wn=function(n){return"".concat(Tn[n.getMonth()]," ").concat(n.getFullYear())},bn=function(){},wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDayLabels=function(){return gn},t.prototype.getDayStart=function(){return 0},t.prototype.getLabelFormatter=function(){return Wn},t.prototype.getDateDecorator=function(){return bn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return Dn.DATE|n.prototype.getMask.call(this)},t}(pn),kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return Dn.DATE},t}(wn);t.add("picker_date_back",24,24,'<g><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" fill="#fff" /></g>');var yn=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getWidth=function(){return"auto"},r.prototype.getImageAlignWith=function(){return k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_back},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),vn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.isToggle=function(){return!0},t}(M);t.add("picker_date_next",24,24,'<g><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" fill="#fff" /></g>');var 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 k.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return W.LEFT},r.prototype.getImageSource=function(n){return t.mappings.picker_date_next},r.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},r}(M),Cn=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}(I),xn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getFontSize=function(){return Math.round(1.25*n.prototype.getFontSize.call(this))},t.prototype.newTextValue=function(){return new Date},t.prototype.getInteractive=function(){return o.NONE},t}(Cn),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 W.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(Cn),Sn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getInteractive=function(){return o.NONE},t}(D),Mn=function(){r.set("DPickerTime",pn)},_n=function(){r.set("DPickerDatetimeButtonBack",yn),r.set("DPickerDatetimeButtonDate",vn),r.set("DPickerDatetimeButtonNext",In),r.set("DPickerDatetimeLabelDate",Bn),r.set("DPickerDatetimeLabel",xn),r.set("DPickerDatetimeSpace",Sn),r.set("DPickerDatetime",wn),Mn()},Ln=function(){r.set("DPickerDate",kn),_n()},En=function(){r.set("DDialogDate",mn),Ln()},Pn=function(){r.set("DButtonDate",dn),En()};const Fn=wcardinal.ui.DPickerDatetimes;var An=function(n,t){return Fn.format(n,t.getDatetimeMask())},Nn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return An},t.prototype.newTextValue=function(){return new Date},t}(B),Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),Rn=function(){r.set("DDialogDatetime",Hn),_n()},zn=function(){r.set("DButtonDatetime",Nn),Rn()},Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),Vn=function(){r.set("DButtonFile",Gn)},On=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(M),jn=function(){r.set("DButtonLink",On)},Yn=function(n){function t(){return n.call(this,s.HIGHLIGHT_COLOR,.1,.2)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isPressed||n.isActive?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.inDisabled?s.BORDER_COLOR:null},t.prototype.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(x),Xn=function(){r.set("DButtonPrimary",Yn)};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 Un=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getColor=function(n){return s.COLOR},r.prototype.getBackgroundAlpha=function(n){return n.inEnabled&&n.isHovered?s.WEAK_HIGHLIGHT_ALPHA:0},r.prototype.getOutlineColor=function(n){return this.getOutlineColorNonActive(n)},r.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetNonActive(n)},r.prototype.getImageTintColor=function(n){return n.inDisabled||!n.isActive?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.isToggle=function(){return!0},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.button_radio_mark_on:t.mappings.button_radio_mark_off},r}(M),Kn=function(){r.set("DButtonRadio",Un)},Jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return k.PADDING},t.prototype.getImageAlignHorizontal=function(){return W.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t}(Un),qn=function(){r.set("DButtonRadioRight",Jn)},Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(x),Zn=function(){r.set("DButtonSecondary",Qn)};const $n=wcardinal.ui.toLabel;var nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return $n},t.prototype.newTextValue=function(){return null},t}(B),tt=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}(X);const rt=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 s.BACKGROUND_COLOR},t.prototype.getBorderAlign=function(n){return 1},t.prototype.getOutlineAlign=function(n){return 1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getWheelSpeed=function(){return 2.24},t.prototype.getGestureMode=function(){return rt.TOUCH},t}(D),ut=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(et),it=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),ot=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=a.blend(n,0,.0175),this.m=1,this.D=a.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.p=1,this.T=r?s.HIGHLIGHT_COLOR:a.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.g=1,this.W=a.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.k=1):(this.o=0,this.l=0,this.h=0,this.m=.0175,this.D=s.INVALID_COLOR,this.p=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.g=r?1:s.HIGHLIGHT_ALPHA,this.W=s.WEAK_HIGHLIGHT_COLOR,this.k=s.WEAK_HIGHLIGHT_ALPHA),this.v=s.COLOR,this.I=r?s.ACTIVE_COLOR:s.COLOR,r?(this.C=s.COLOR,this.B=s.ACTIVE_COLOR):(this.C=s.COLOR,this.B=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.D:n.isActive?this.T:n.isHovered?this.W:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.m:this.l:0:n.isInvalid?this.p:n.isActive?this.g:n.isHovered?this.k:this.i?n.isAlternated?this.m:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return c.NONE},n.prototype.getColor=function(n){return n.isActive?this.B:this.C},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.v:this.I},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),ct=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new ot(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new ot(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(ct),lt=function(){r.set("DDialogSelect",tt),r.set("DDialogSelectList",it),r.set("DDialogSelectListItem",ft)};const ht=wcardinal.ui.DPickerTimes;var at=function(n,t){return ht.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 at},t.prototype.newTextValue=function(){return new Date},t}(B),dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(U),mt=function(){r.set("DDialogTime",dt),Mn()},Dt=function(){r.set("DButtonTime",st),mt()},pt=function(){_(),A(),P(),fn(),$(),r.set("DButtonSelect",nt),lt(),hn(),Pn(),zn(),Vn(),jn(),Xn(),qn(),Kn(),Zn(),Dt(),S()},Tt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16777215},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(D),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 32},t.prototype.getPaddingTop=function(){return 32},t.prototype.getPaddingRight=function(){return 32},t.prototype.getPaddingBottom=function(){return 32},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.getCornerMask=function(){return f.ALL},t}(D),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.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const wt=wcardinal.ui.DChartAxisPosition,kt=wcardinal.ui.DChartAxisTickPosition,yt=wcardinal.ui.EShapeTextAlignHorizontal,vt=wcardinal.ui.EShapeTextAlignVertical,It=wcardinal.ui.EShapeTextDirection;var Ct=function(){function n(){}return n.prototype.getPosition=function(){return wt.BOTTOM},n.prototype.getPadding=function(){return 90},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case wt.TOP:case wt.BOTTOM:return 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 vt.OUTSIDE_TOP;case wt.BOTTOM:return vt.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return vt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 60},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return It.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 kt.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 vt.OUTSIDE_TOP;case wt.BOTTOM:return vt.OUTSIDE_BOTTOM;case wt.LEFT:case wt.RIGHT:return vt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return It.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 kt.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 e=Math.abs(t-n)/r;if(e<=10)return e<=1.33?1:e<=2.86?2:e<=6.67?5:10;if(e<=100)return e<=13.33?10:e<=28.57?20:e<=66.67?50:100;if(e<=1e3)return e<=133.33?100:e<=285.71?200:e<=666.67?500:1e3;if(e<=1e4)return e<=1333.33?1e3:e<=2857.14?2e3:e<=6666.66?5e3:1e4;if(e<=12e4)return e<=13333.33?1e4:e<=24e3?2e4:e<=4e4?3e4:e<=72e3?6e4:e<=102857.14?9e4:12e4;if(e<=108e5)return e<=171428.57?12e4:e<=4e5?3e5:e<=8e5?6e5:e<=144e4?12e5:e<=24e5?18e5:e<=432e4?36e5:e<=6171428.57?54e5:e<=8e6?72e5:e<=9818181.82?9e6:108e5;var u=36e5,i=e/u;if(i<=24)return i<=1.33?u: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 It.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 e=Math.abs(t-n)/r,u=Math.floor(Math.log(e)/Math.LN10),i=Math.pow(10,u),o=e/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}(D),Ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(D),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getX=function(){return"padding"},t.prototype.getY=function(){return"padding"},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"padding"},t.prototype.getPaddingTop=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getPaddingBottom=function(){return 10},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.isOverflowMaskEnabled=function(){return!0},t}(D);const Ht=wcardinal.ui.EShapeStrokeStyle,Rt=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 Rt;return t.points.position=zt.TOP,t.stroke.style=Ht.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 Rt;return t.points.position=zt.LEFT,t.stroke.style=Ht.DASHED,t.stroke.alpha=.75,t},t}(Gt);const jt=wcardinal.ui.EShapeCircle;var Yt=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 jt;return t.size.set(14,14),t.fill.enable=!1,t.stroke.alpha=.75,t},t}(Gt),Xt=function(){r.set("DChart",bt),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",At),r.set("DChartPlotArea",Nt),r.set("DChartSelectionGridlineX",Vt),r.set("DChartSelectionGridlineY",Ot),r.set("DChartSelectionMarker",Yt)},Ut=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(a.brighten(n[t],.75));for(t=10;t<20;++t)n.push(a.brighten(n[t],.45));for(t=10;t<20;++t)n.push(a.brighten(n[t],.15));for(t=10;t<20;++t)n.push(a.darken(n[t],.15));for(t=10;t<20;++t)n.push(a.darken(n[t],.45));for(t=10;t<20;++t)n.push(a.darken(n[t],.75));return n},n}(),Jt=function(){r.set("DColorRecent",Ut),r.set("DColorStandard",Kt)},qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getCanvasBackgroundColor=function(){return 16777215},t.prototype.getCanvasBackgroundAlpha=function(){return 1},t.prototype.isAmbient=function(){return!0},t.prototype.getCanvasShadow=function(){return"WEAK"},t}(gt),Qt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(qt),Zt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.isAmbient=function(){return!0},t.prototype.getBackgroundBase=function(){return 15658734},t.prototype.getLocalBoundsLimit=function(){return 0},t}(Tt),$t=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}(Zt);const nr=wcardinal.ui.EShapeStrokeSide;var tr=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 5197647},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return nr.ALL},n.prototype.getStrokeStyle=function(){return Ht.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}(),rr=function(){r.set("EShape",tr)},er=function(){r.set("DDiagram",Qt),r.set("DDiagramCanvas",$t),rr()},ur=function(n,t,r){var e=Math.max(t,r);if(0<n){for(var u=e/1e3,i=0;i<10&&n<u;++i)n*=10;if(u<=n)return n}return e},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.getLocalBoundsLimit=function(){return 1e3},t.prototype.getOutlineColor=function(n){return null},t.prototype.getSnapGridMajorInterval=function(){return 10},t.prototype.getSnapGridMajorColor=function(){return 10066329},t.prototype.getSnapGridMajorAlpha=function(){return.5},t.prototype.getSnapGridMajorWidth=function(){var n;return Math.max(1,2/(null!==(n=window.devicePixelRatio)&&void 0!==n?n:1))},t.prototype.getSnapGridMajorStyle=function(){return Ht.DASHED|Ht.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 s.HIGHLIGHT_COLOR},t.prototype.getSnapTargetAlpha=function(){return 1},t.prototype.getSnapTargetWidth=function(){return this.getSnapGridMajorWidth()},t.prototype.getSnapTargetStyle=function(){return this.getSnapGridMajorStyle()},t}(Zt),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.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 cr=wcardinal.ui.EShapeActionOpenDialogExtensions,fr=wcardinal.ui.EShapeActionOpenExtensions,lr=wcardinal.ui.EShapeActionValueBlinkType,hr=wcardinal.ui.EShapeActionValueChangeColorTarget,ar=wcardinal.ui.EShapeActionValueChangeColorType,sr=wcardinal.ui.EShapeActionValueChangeTextType,dr=wcardinal.ui.EShapeActionValueGestureOperationType,mr=wcardinal.ui.EShapeActionValueGestureType,Dr=wcardinal.ui.EShapeActionValueMiscType,pr=wcardinal.ui.EShapeActionValueOnInputAction,Tr=wcardinal.ui.EShapeActionValueOpenDialogType,gr=wcardinal.ui.EShapeActionValueOpenType,Wr=wcardinal.ui.EShapeActionValueOpetyped,br=wcardinal.ui.EShapeActionValueShowHideType,wr=wcardinal.ui.EShapeActionValueSubtyped,kr=wcardinal.ui.EShapeActionValueTransformMoveType,yr=wcardinal.ui.EShapeActionValueTransformResizeType,vr=wcardinal.ui.EShapeActionValueTransformRotateType,Ir=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,e=n.subtype;if(n instanceof Wr){if(null!=(r=this.toOpetypedLabel(t,e,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,e,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return"".concat(this.toTypeLabel(n),": ").concat(this.toConditionLabel(t.condition))},n.prototype.toSubtypedLabel=function(n,t,r){var e=this.toTypeLabel(n);switch(n){case Cr.SHOW_HIDE:return"".concat(e,": ").concat(this.toShowHideTypeLabel(t));case Cr.BLINK:return"".concat(e,": ").concat(this.toBlinkTypeLabel(t));case Cr.CHANGE_COLOR:case Cr.CHANGE_COLOR_LEGACY:return"".concat(e,": ").concat(this.toChangeColorTypeLabel(t));case Cr.CHANGE_TEXT:return"".concat(e,": ").concat(this.toChangeTextTypeLabel(t));case Cr.OPEN:return"".concat(e,": ").concat(this.toOpenTypeLabel(t));case Cr.GESTURE:return"".concat(e,": ").concat(this.toGestureTypeLabel(t));case Cr.MISC:return"".concat(e,": ").concat(this.toMiscTypeLabel(t))}return null},n.prototype.toOpetypedLabel=function(n,t,r,e){switch(n){case Cr.TRANSFORM:var u=this.toTransformTypeLabel(t);switch(t){case Ir.ROTATE:return"".concat(u,": ").concat(this.toTransformRotateTypeLabel(r));case Ir.MOVE:return"".concat(u,": ").concat(this.toTransformMoveTypeLabel(r));case Ir.RESIZE:return"".concat(u,": ").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 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 Ir.RESIZE:return"Resize";case Ir.MOVE:return"Move";case Ir.ROTATE:return"Rotate"}},n.prototype.toTransformRotateTypeLabel=function(n){switch(n){case vr.RELATIVE:return"Relative";case vr.ABSOLUTE:return"Absolute"}},n.prototype.toTransformMoveTypeLabel=function(n){switch(n){case kr.RELATIVE_X:return"Relative X";case kr.RELATIVE_Y:return"Relative Y";case kr.ABSOLUTE_X:return"Absolute X";case kr.ABSOLUTE_Y:return"Absolute Y";case kr.FORWARD_OR_BACKWARD:return"Forward / backward";case kr.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===ar.NONE)return"None";var t="",r="";return n&ar.FILL&&(t+=r+"Fill",r=", "),n&ar.STROKE&&(t+=r+"Stroke",r=", "),n&ar.TEXT&&(t+=r+"Text",r=", "),n&ar.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case hr.COLOR_AND_ALPHA:return"Color";case hr.COLOR:return"RGB";case hr.ALPHA:return"Alpha";case hr.CODE:return"Dynamic color";case hr.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 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=fr.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=cr.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 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(pr.EMIT_EVENT);case Dr.WRITE_BOTH:return this.toOnInputActionLabel(pr.WRITE_BOTH);case Dr.WRITE_LOCAL:return this.toOnInputActionLabel(pr.WRITE_LOCAL);case Dr.WRITE_REMOTE:return this.toOnInputActionLabel(pr.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"}},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)"}},n}(),Sr=function(){r.set("EShapeActionValue",Br)},Mr=function(){r.set("DDiagramEditor",or),r.set("DDiagramCanvasEditor",ir),Sr(),rr()},_r=function(){r.set("DDialog",Y)};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}(D),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),Ar=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),Nr=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}(Ar),Hr=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(n){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}(C);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 Rr=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 Rr},r.prototype.getY=function(){return"center"},r.prototype.getWidth=function(){return 30},r.prototype.getHeight=function(){return 30},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.CENTER},r.prototype.getSecondaryImageAlignVertical=function(){return w.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dialog_layered_header_button_close},r}(M),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 s.BORDER_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.NONE},t}(C),jr=function(){r.set("DDialogLayeredContent",Fr),r.set("DDialogLayeredFooter",Nr),r.set("DDialogLayeredHeaderButtonClose",zr),r.set("DDialogLayeredHeaderSeparator",Or),r.set("DDialogLayeredHeader",Hr),r.set("DDialogLayered",X)},Yr=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}(X),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(Xr),Kr=function(){r.set("DDialogConfirm",Yr),r.set("DDialogConfirmMessage",Ur)},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}(Yr),qr=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}(Yr),Zr=function(){r.set("DDialogConfirmDiscard",Qr)},$r=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}(X),ne=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),te=function(){r.set("DDialogInputBoolean",ne)},re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),ee=function(){r.set("DDialogInputInteger",re)},ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),ie=function(){r.set("DDialogInputReal",ue)},oe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}($r),ce=function(){r.set("DDialogInputText",oe)},fe=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}(Yr),le=function(){r.set("DDialogMessage",fe)},he=function(n){return n.isSucceeded?"Processed successfully":n.isFailed?"Failed to process the request":"Processing..."},ae=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 he},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Yr);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 se=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}(Ur),de=function(){r.set("DDialogProcessing",ae),r.set("DDialogProcessingMessage",se)},me=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}(oe),De=function(){r.set("DDialogSaveAs",me)},pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(Fr),Te=function(){r.set("DDialogFittedContent",pe),r.set("DDialogFitted",U)},ge=function(){cn(),Z(),qr(),Zr(),Kr(),En(),Rn(),Te(),te(),ee(),ie(),ce(),jr(),le(),de(),De(),lt(),mt(),_r()},We=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return f.ALL},t}(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 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.isHovered||n.inActive?16316664:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return f.ALL},t}(Xr),we=function(){r.set("DExpandableHeader",be),r.set("DExpandable",We)};const ke=wcardinal.ui.DHtmlElementState;var ye=function(){return null},ve=function(n){var t=document.createElement("div");return n.appendChild(t),t},Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return ye},t.prototype.setElementStyle=function(n,t,r,e,u,i,o){var c=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,e,u,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t)+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(ke.NO_POINTER_EVENTS)?"":"pointer-events: auto;"},t.prototype.getElementStyleBackground=function(n){return"background-color: transparent;"},t.prototype.getElementStyleBorder=function(n){return"border: none; box-sizing: border-box;"},t.prototype.getElementStylePadding=function(n,t){return t?"getLeft"in t?"padding: ".concat(t.getTop(),"px ").concat(t.getRight(),"px ")+"".concat(t.getBottom(),"px ").concat(t.getLeft(),"px;"):"padding: ".concat(t.vertical,"px ").concat(t.horizontal,"px;"):"padding: 0px;"},t.prototype.getElementStyleOutline=function(n){return"outline: none;"},t.prototype.getElementStylePositionPosition=function(n,t){if(n){if(t){var r=n.x-t.x,e=n.y-t.y;return"left:".concat(r,"px; top:").concat(e,"px;")}return"left:".concat(n.x,"px; top: ").concat(n.y,"px;")}return"left: 0px; top: 0px;"},t.prototype.getElementStylePositionSize=function(n){return n?"width: ".concat(n.width,"px; height: ").concat(n.height,"px;"):"width: 0px; height: 0px;"},t.prototype.getElementStylePositionTransform=function(n){return n?"transform: matrix(".concat(n.a,",").concat(n.b,",").concat(n.c,",").concat(n.d,",").concat(n.tx,",").concat(n.ty,");"):""},t.prototype.getElementStylePosition=function(n,t,r,e){return"position: absolute;"+this.getElementStylePositionPosition(t,e)+this.getElementStylePositionSize(t)+this.getElementStylePositionTransform(r)},t.prototype.getElementStyleText=function(n){return"font-family: ".concat(this.getFontFamilly(),";")+"font-size: ".concat(this.getFontSize(),"px;")+"color: #".concat(this.getColor(n).toString(16),";")+"line-height: ".concat(this.getLineHeight(),"px;")+"-moz-tab-size: 4; -o-tab-size: 4; tab-size: 4;"},t.prototype.getElementStyleMargin=function(n){return"margin: 0;"},t.prototype.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 ve},t.prototype.setClipperStyle=function(n,t,r,e,u,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 ve},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 ve},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return xr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(C),Ce=function(){r.set("DImage",Xr)},xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(Ar),Be=function(){r.set("DInputAndLabel",xe)},Se=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}(Ar),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.RIGHT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"OFF"},t}(B),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderMask=function(){return c.LEFT},t.prototype.isToggle=function(){return!0},t.prototype.newTextValue=function(){return"ON"},t}(B),Le=function(){r.set("DInputBoolean",Se),r.set("DInputBooleanButtonOn",_e),r.set("DInputBooleanButtonOff",Me)},Ee=function(){return null},Pe=function(n){return n},Fe=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled||n.inReadOnly?null:n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return n.isInvalid?s.INVALID_COLOR:s.BORDER_COLOR},t.prototype.getHeight=function(){return this.getLineHeight()},t.prototype.getWidth=function(){return 100},t.prototype.getPlaceholder=function(){return""},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCursor=function(n){return n.isActionable?"text":""},t.prototype.getEditingFormatter=function(){return this.getTextFormatter()},t.prototype.getEditingUnformatter=function(){return Pe},t.prototype.getEditingValidator=function(){return Ee},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleBorder=function(n){return"border: 1px solid transparent; box-sizing: border-box;"},t}(Ie),Ae="d-theme-white-input-input",Ne="".concat(Ae,"-element"),He=function(n){var t=n.getElementsByClassName(Ne);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Ne),n.appendChild(r),r},Re=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},ze="".concat(Ae,"-clipper"),Ge=function(n){return Re(n,ze)},Ve="".concat(Ae,"-before"),Oe=function(n){return Re(n,Ve)},je="".concat(Ae,"-after"),Ye=function(n){return Re(n,je)},Xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return He},t.prototype.getClipperCreator=function(){return Ge},t.prototype.getBeforeCreator=function(){return Oe},t.prototype.getAfterCreator=function(){return Ye},t}(Fe),Ue=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getStep=function(){return null},t.prototype.getMin=function(){return null},t.prototype.getMax=function(){return null},t.prototype.newTextValue=function(){return 0},t}(Xe),Ke=function(n){var t=parseInt(n,10);return t==t?t:0},Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Ke},t}(Ue),qe=function(){r.set("DInputInteger",Je)},Qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(Cn),Ze=function(){r.set("DInputLabel",Qe)},$e=function(n){var t=parseFloat(n);return t==t?t:0},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return $e},t}(Ue),tu=function(){r.set("DInputReal",nu)},ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Xe);t.add("input_search",21,21,'<g transform="scale(0.875,0.875)"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="#fff"/></g>');var eu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(ru),uu=function(){r.set("DInputSearch",eu)},iu=function(){r.set("DInputText",ru)},ou="d-theme-white-input-text-area",cu="".concat(ou,"-element"),fu=function(n){var t=n.getElementsByClassName(cu);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",cu),n.appendChild(r),r},lu=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var e=document.createElement("div");return e.setAttribute("class",t),n.appendChild(e),e},hu="".concat(ou,"-clipper"),au=function(n){return lu(n,hu)},su="".concat(ou,"-before"),du=function(n){return lu(n,su)},mu="".concat(ou,"-after"),Du=function(n){return lu(n,mu)},pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.TOP},t.prototype.getTextStyleWordWrap=function(){return y.NORMAL},t.prototype.getElementCreator=function(){return fu},t.prototype.getClipperCreator=function(){return au},t.prototype.getBeforeCreator=function(){return du},t.prototype.getAfterCreator=function(){return Du},t.prototype.newTextValue=function(){return""},t.prototype.getElementStyleText=function(t){return n.prototype.getElementStyleText.call(this,t)+this.getElementStyleTextResize(t)+this.getElementStyleTextWordWrap(t)},t.prototype.getElementStyleTextResize=function(n){return"resize: none;"},t.prototype.getElementStyleTextWordWrap=function(n){var t="overflow-wrap: break-word; word-wrap: break-word;";switch(this.getTextStyleWordWrap()){case y.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(Fe),Tu=function(){r.set("DInputTextArea",pu)},gu=function(){Be(),Le(),qe(),Ze(),tu(),uu(),Tu(),iu()},Wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return l.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),bu=function(){r.set("DLayout",Er),r.set("DLayoutHorizontal",Ar),r.set("DLayoutSpace",Wu),r.set("DLayoutVertical",Pr)};const wu=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 ku=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:wu.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:wu.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenInNewWindow()}},{value:wu.COPY_LINK_ADDRESS,text:{value:this.getOpenCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenInNewWindow=function(){return"Open in new window"},n.prototype.getOpenCopyLinkAddress=function(){return"Copy link address"},n}(),yu=function(){r.set("DLink",ku)},vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new ot(null,!1,!0)},t}(ct),Iu=function(){r.set("DListItemAmbient",vu),r.set("DListItem",ct),r.set("DList",ut)},Cu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getOffsetX=function(){return 5},t.prototype.getOffsetY=function(){return 5},t.prototype.getPaddingTop=function(){return 5},t.prototype.getPaddingBottom=function(){return 5},t.prototype.getWidth=function(){return 200},t.prototype.getHeight=function(){return"auto"},t.prototype.getMargin=function(){return 0},t.prototype.getShadow=function(){return this.newShadowWeak()},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Pr),xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?this.getBackgroundColorActive(n):n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlpha=function(n){return n.inDisabled?s.WEAK_HIGHLIGHT_ALPHA:n.isActive?this.getBackgroundAlphaActive(n):s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBackgroundAlphaActive=function(n){return s.HIGHLIGHT_ALPHA},t.prototype.getColor=function(n){return n.inDisabled?s.COLOR:n.isActive?this.getColorActive(n):s.COLOR},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getCursor=function(n){return n.isActionable?"pointer":""},t}(Xr),Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColorActive=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getBackgroundAlphaActive=function(n){return 1},t.prototype.getColorActive=function(n){return s.ACTIVE_COLOR},t.prototype.getPaddingLeft=function(){return this.getPaddingRight()},t.prototype.getPaddingRight=function(){return 26},t}(xu),Su=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}(Bu);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 Mu=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getBackgroundColorActive=function(n){return n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},r.prototype.getBackgroundAlphaActive=function(n){return s.WEAK_HIGHLIGHT_ALPHA},r.prototype.getColorActive=function(n){return s.COLOR},r.prototype.getImageSource=function(n){return n.isActive?t.mappings.menu_item_mark_check_active:t.mappings.menu_item_mark_check_inactive},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(Su),_u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?15792383:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Pr),Lu=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),Eu=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}();Eu.init();var Pu=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?Eu.getImageOpened():Eu.getImageClosed()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(xu),Fu=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}(Mu);const Au=wcardinal.ui.DBaseState;var Nu=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(Au.NEW_WINDOW)?this.M.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r}(Su),Hu=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}(Nu);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 Ru=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getImageSource=function(n){return t.mappings.menu_item_mark_next},r.prototype.getImageAlignWith=function(){return k.BORDER},r.prototype.getImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Bu),zu=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}(Ru),Gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBorderColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},t.prototype.getBorderAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getInteractive=function(){return o.NONE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(xu),Vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPaddingLeft=function(){return n.prototype.getPaddingLeft.call(this)+16},t}(Gu),Ou=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Wu),ju=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}(Ou),Yu=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}(Su),Xu=function(){r.set("DMenu",Cu),r.set("DMenuItem",Bu),r.set("DMenuItemCheck",Mu),r.set("DMenuItemLink",Nu),r.set("DMenuItemMenu",Ru),r.set("DMenuItemSeparator",Gu),r.set("DMenuItemSpace",Ou),r.set("DMenuItemText",Su),r.set("DMenuItemExpandableBody",Lu),r.set("DMenuItemExpandableHeader",Pu),r.set("DMenuItemExpandableItemCheck",Fu),r.set("DMenuItemExpandableItemLink",Hu),r.set("DMenuItemExpandableItemMenu",zu),r.set("DMenuItemExpandableItemSeparator",Vu),r.set("DMenuItemExpandableItemSpace",ju),r.set("DMenuItemExpandableItemText",Yu),r.set("DMenuItemExpandable",_u)},Uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 16645629},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(Ar),Ku=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:n.isActive?s.HIGHLIGHT_COLOR:n.isHovered?s.WEAK_HIGHLIGHT_COLOR:null},t.prototype.getBackgroundAlpha=function(n){return s.WEAK_HIGHLIGHT_ALPHA},t.prototype.getBorderColor=function(){return null},t.prototype.getWidth=function(){return"auto"},t.prototype.getHeight=function(){return"100%"},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getTextAlignHorizontal=function(){return W.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(B),Ju=function(){r.set("DMenuBarItem",Ku),r.set("DMenuBar",Uu),Xu()},qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t}(et),Qu=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),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Mu),$u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_u),ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Fu),ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Hu),ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(zu),ei=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Vu),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ju),ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Yu),oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Nu),ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ru),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Gu),li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ou),hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Su),ai=function(){r.set("DMenuSided",qu),r.set("DMenuSidedContent",Qu),r.set("DMenuSidedItemCheck",Zu),r.set("DMenuSidedItemLink",oi),r.set("DMenuSidedItemMenu",ci),r.set("DMenuSidedItemSeparator",fi),r.set("DMenuSidedItemSpace",li),r.set("DMenuSidedItemText",hi),r.set("DMenuSidedItemExpandable",$u),r.set("DMenuSidedItemExpandableItemCheck",ni),r.set("DMenuSidedItemExpandableItemLink",ti),r.set("DMenuSidedItemExpandableItemMenu",ri),r.set("DMenuSidedItemExpandableItemSeparator",ei),r.set("DMenuSidedItemExpandableItemSpace",ui),r.set("DMenuSidedItemExpandableItemText",ii)},si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return"100%"},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.2},t.prototype.getFontSize=function(){return 26},t.prototype.getFontWeight=function(){return"bold"},t.prototype.getImageTintAlpha=function(n){return.2},t.prototype.getImageAlignWith=function(){return k.TEXT},t.prototype.getImageAlignHorizontal=function(){return W.LEFT},t.prototype.getImageAlignVertical=function(){return w.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(C),di=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}(si),mi=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}(si),Di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(si),pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getFontSize=function(){return 18},t}(si),Ti=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}(pi),gi=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}(pi),Wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return"Searching"},t}(pi),bi=function(){r.set("DNote",si),r.set("DNoteError",di),r.set("DNoteNoItemsFound",mi),r.set("DNoteSearching",Di),r.set("DNoteSmallError",Ti),r.set("DNoteSmallNoItemsFound",gi),r.set("DNoteSmallSearching",Wi)},wi=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}(Ar);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 ki=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 W.CENTER},r.prototype.getImageAlignWith=function(){return k.BORDER},r}(C);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 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.getImageSource=function(n){return t.mappings.pagination_button_last},r}(M);t.add("pagination_button_next",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="7 15 13 10 7 5"></polyline></g>');var 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}(M),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return 30},t.prototype.newTextValue=function(){return 0},t.prototype.getTextStyleClipping=function(){return!1},t}(M);t.add("pagination_button_previous",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="13 15 7 10 13 5"></polyline></g>');var 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_previous},r}(M);t.add("pagination_button_top",21,21,'<g><polyline fill="none" stroke="#fff" stroke-width="1" points="11 15 5 10 11 5"></polyline><polyline fill="none" stroke="#fff" stroke-width="1" points="15 15 9 10 15 5"></polyline></g>');var 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_top},r}(M),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return s.HIGHLIGHT_COLOR},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getWidth=function(){return 30},t.prototype.getHeight=function(){return 30},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getTextStyleClipping=function(){return!1},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t}(C),Si=function(){r.set("DPagination",wi),r.set("DPaginationPage",Bi),r.set("DPaginationDots",ki),r.set("DPaginationButtonLast",yi),r.set("DPaginationButtonNext",vi),r.set("DPaginationButtonPage",Ii),r.set("DPaginationButtonPrevious",Ci),r.set("DPaginationButtonTop",xi)},Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"100%"},t.prototype.getBorderColor=function(n){return null},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return 16777215},t.prototype.getBackgroundAlpha=function(n){return 0},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t.prototype.getFadeOutDelay=function(){return 1500},t}(D),Li=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=a.darken(s.WEAK_HIGHLIGHT_COLOR,.25),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBackgroundAlpha=function(n){return 1},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderAlpha=function(n){return n.inDisabled?.25:n.isHovered||n.isGesturing?.75:.5},t.prototype.getBorderWidth=function(n){return 3},t.prototype.getBorderAlign=function(n){return.5},t.prototype.getWidth=function(){return 13},t.prototype.getHeight=function(){return 13},t.prototype.getThumbMinimumLength=function(){return 16},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(D),Ei=function(){r.set("DScrollBar",_i),r.set("DScrollBarThumb",Li)},Pi=function(){r.set("DPane",et),r.set("DContent",Mi),Ei()};const Fi=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,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return k.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(x),Ni=function(n){if(n){var t=n.text;if(Fi(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 Ni},t.prototype.newTextValue=function(){return null},t}(Ai),Ri=function(n){if(n){for(var t="",r="",e=0,u=n.length;e<u;++e){var i=n[e],o=i.text;if(Fi(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},zi=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[]},t}(Ai),Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Ai),Vi=function(){r.set("DDropdown",Gi)},Oi=function(){r.set("DSelectMultiple",zi),r.set("DSelect",Hi),Vi()},ji=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}(D),Yi=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}(ji),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return 15},t.prototype.getWidth=function(){return 30},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return w.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(I),Ui=function(){function n(){}return n.getBackgroundColor=function(n,t){return n.isActive||t?n.inDisabled?this.BACKGROUND_COLOR:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_ACTIVE_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_ACTIVE_HOVERED:this.BACKGROUND_COLOR_ACTIVE:n.inDisabled?this.BACKGROUND_COLOR_DISABLED:n.isPressed&&n.isHovered?this.BACKGROUND_COLOR_PRESSED:n.isPressed||n.isHovered?this.BACKGROUND_COLOR_HOVERED:this.BACKGROUND_COLOR},n.BACKGROUND_COLOR_ACTIVE=s.HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_ACTIVE_HOVERED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=a.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=a.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=a.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=a.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR_ON_BOARD,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var Ki=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getX=function(){return"CENTER"},r.prototype.getY=function(){return"CENTER"},r.prototype.getWidth=function(){return 16},r.prototype.getHeight=function(){return 16},r.prototype.getBackgroundColor=function(n){return null},r.prototype.getBorderColor=function(n){return null},r.prototype.getImageSource=function(n){return t.mappings.slider_thumb},r.prototype.getImageTintColor=function(n){return Ui.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return W.CENTER},r.prototype.getOutlineColor=function(n){return null},r}(B),Ji=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ui.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getOutlineColor=function(t){return n.prototype.getOutlineColorNonActive.call(this,t)},t.prototype.getOutlineOffset=function(t){return n.prototype.getOutlineOffsetNonActive.call(this,t)},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(B),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?11184810:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getTextAlignHorizontal=function(){return W.CENTER},t.prototype.getTextAlignVertical=function(){return w.TOP},t.prototype.getPrecision=function(){return 0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(I),$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}(ji),no=function(){r.set("DSlider",ji),r.set("DSliderValue",Zi),r.set("DSliderLabel",Xi),r.set("DSliderThumb",Ki),r.set("DSliderVertical",$i),r.set("DSliderHorizontal",Yi),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 s.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getMargin=function(){return 0},t.prototype.getInteractive=function(){return o.BOTH},t}(et),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}(D);const eo=wcardinal.ui.DTableState;var uo=function(){function n(){}var t;return n.getBackgroundColor=function(n){return n.inDisabled?n.is(eo.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null:n.isInvalid?s.INVALID_BLENDED_ON_BOARD:n.underActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.onHovered||n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.is(eo.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_FROZEN_ODD:this.BACKGROUND_COLOR_FROZEN_EVEN:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return n.is(eo.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(eo.END)?c.ALL:c.NOT_RIGHT},n.getColor=function(n){return s.COLOR},n.getAlpha=function(n){return n.inEnabled?1:0},n.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},t=n,n.BACKGROUND_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_FROZEN_EVEN=a.darken(t.BACKGROUND_COLOR,.015),n.BACKGROUND_COLOR_FROZEN_ODD=a.darken(t.BACKGROUND_COLOR_FROZEN_EVEN,.015),n.BORDER_COLOR=a.darken(t.BACKGROUND_COLOR,.035),n.BORDER_COLOR_FROZEN=a.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 uo.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 uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);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 uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.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}(Gi),lo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(B);io.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 io.getImageTintColor(n)},t.prototype.getImageSource=function(n){return io.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(lo),ao=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getImageTintColor=function(n){return uo.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(C),so=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}(ao),mo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getImageTintColor=function(n){return uo.getImageTintColor(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(E),Do=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(H),po=function(n){return an.format(n)},To=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getTextFormatter=function(){return po},t.prototype.newTextValue=function(){return new Date},t}(B),go=function(n,t){return Fn.format(n,t.getDatetimeMask())},Wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getTextFormatter=function(){return go},t.prototype.newTextValue=function(){return new Date},t}(B),bo=function(n){return String(Number(n)+1)},wo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return bo},t.prototype.newTextValue=function(){return 0},t}(C),ko=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(Je),yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return W.RIGHT},t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(nu),vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(ru),Io=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t}(pu),Co=function(){function n(){}return n.init=function(){Eu.init()},n.getImageSource=function(n){return n.is(eo.HAS_CHILDREN)?n.is(eo.OPENED)?Eu.getImageOpened():Eu.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 uo.getHeight()},t.prototype.getBackgroundColor=function(n){return null},t.prototype.getBorderColor=function(n){return null},t.prototype.getLevelPadding=function(n){return 24+20*n},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1,t.isFocusReverse=!0},t}(D),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 uo.getHeight()},t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(ru),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 uo.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 uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getImageAlignWith=function(){return k.BORDER},t.prototype.getImageAlignHorizontal=function(){return W.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}(x),Mo=function(t){function r(){var r=t.call(this)||this;return r.M=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return uo.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this.M.getImageSource(n)},r}(so),_o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.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 uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(zi),Eo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignVertical=function(){return w.TOP},t}(ao),Po=function(n,t){return ht.format(n,t.getDatetimeMask())},Fo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return uo.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return uo.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return uo.getBorderColor(n)},t.prototype.getBorderMask=function(n){return uo.getBorderMask(n)},t.prototype.getColor=function(n){return uo.getColor(n)},t.prototype.getAlpha=function(n){return uo.getAlpha(n)},t.prototype.getHeight=function(){return uo.getHeight()},t.prototype.getCornerMask=function(){return uo.getCornerMask()},t.prototype.getTextFormatter=function(){return Po},t.prototype.newTextValue=function(){return new Date},t}(B);Co.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 k.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}(so),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}(Ar),Ho=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,t.BACKGROUND_COLOR_ODD=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.015),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_ODD:this.BACKGROUND_COLOR_EVEN},t.prototype.getWidth=function(){return"100%"},t}(No),Ro=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?null:this.BACKGROUND_COLOR},t.prototype.getBorderColor=function(n){return this.BORDER_COLOR},t.prototype.getBorderMask=function(n){return c.NOT_BOTTOM},t.prototype.getWidth=function(){return"100%"},t.prototype.getHeight=function(){return 30},t}(No),zo=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 Go=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.03),t.BACKGROUND_COLOR_HOVERED=a.darken(t.BACKGROUND_COLOR,.017),t.BACKGROUND_COLOR_PRESSED=a.darken(t.BACKGROUND_COLOR,.034),t.BACKGROUND_COLOR_FROZEN=a.darken(t.BACKGROUND_COLOR,.02),t.BORDER_COLOR=a.darken(s.BACKGROUND_COLOR_ON_BOARD,.055),t.BORDER_COLOR_FROZEN=a.darken(t.BORDER_COLOR,.055),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(eo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(eo.FROZEN)?this.BACKGROUND_COLOR_FROZEN:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return n.is(eo.FROZEN_END)?this.BORDER_COLOR_FROZEN:this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(eo.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return W.CENTER},r.prototype.getCornerMask=function(){return f.ALL},r.prototype.getHeight=function(){return"padding"},r.prototype.getPaddingLeft=function(){return 10},r.prototype.getPaddingRight=function(){return 10},r.prototype.newTextValue=function(){return null},r.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?s.WEAK_HIGHLIGHT_COLOR:s.HIGHLIGHT_COLOR},r.prototype.getSecondaryImageTintColor=function(t){return t.is(eo.CHECKABLE)?L.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(eo.CHECKABLE)?L.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return W.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return w.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return k.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(eo.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(eo.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageTintColor=function(t){return n.prototype.getImageTintColor.call(this,t)},r.prototype.getTertiaryImageAlignHorizontal=function(){return W.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return k.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(eo.CHECKABLE)||n.is(eo.SORTABLE))?"pointer":""},r}(Xr),Vo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Go),Oo=function(){r.set("DTableBodyCellActionDialog",co),r.set("DTableBodyCellActionMenu",fo),r.set("DTableBodyCellActionPromise",ho),r.set("DTableBodyCellButton",so),r.set("DTableBodyCellCheck",mo),r.set("DTableBodyCellColor",Do),r.set("DTableBodyCellDate",To),r.set("DTableBodyCellDatetime",Wo),r.set("DTableBodyCellIndex",wo),r.set("DTableBodyCellInputInteger",ko),r.set("DTableBodyCellInputReal",yo),r.set("DTableBodyCellInputTextArea",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",lo),r.set("DTableBodyCellTextArea",Eo),r.set("DTableBodyCellText",ao),r.set("DTableBodyCellTree",Ao),r.set("DTableBodyCellTime",Fo),r.set("DTableBodyRow",Ho),r.set("DTableBody",ro),r.set("DTableCategoryCell",Vo),r.set("DTableCategory",zo),r.set("DTableHeaderCell",Go),r.set("DTableHeader",Ro),r.set("DTableRow",No),r.set("DTable",to),P(),$(),Pn(),zn(),qe(),tu(),Tu(),iu(),lt(),Xu()},jo=function(){r.set("DText",Cn)};Co.init();var Yo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return 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 k.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(ot),Xo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new Yo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(et),Uo=function(n){function t(){var t=n.call(this)||this;return t.S=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new Yo(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.S.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.S.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.S.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.S.getBorderMask(n)},t.prototype.getColor=function(n){return this.S.getColor(n)},t.prototype.getAlpha=function(n){return this.S.getAlpha(n)},t.prototype.getHeight=function(){return this.S.getHeight()},t.prototype.getCornerMask=function(){return this.S.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.S.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.S.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),Ko=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 Jo=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return this.S.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.S.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.S.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.S.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.S.getSecondaryImageMarginHorizontal()},t}(Ko),qo=function(){r.set("DTree",Xo),r.set("DTreeItemText",Uo),r.set("DTreeItemButton",Ko),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.01},n.prototype.getZoomMax=function(){return 100},n.prototype.getZoomKeepRatio=function(){return!0},n.prototype.getGestureMode=function(){return rt.ON},n.prototype.getGestureModifier=function(){return Qo.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),$o=function(){e(),p(),g(),pt(),r.set("DView",Zo),Wt(),Xt(),Jt(),Mr(),er(),ge(),we(),r.set("DHtmlElement",Ie),Ce(),gu(),bu(),yu(),Iu(),qo(),Ju(),ai(),Xu(),bi(),Pi(),Si(),on(),Q(),Ln(),_n(),Mn(),Oi(),Oo(),jo(),no()},nc={__proto__:null,loadThemeWhiteAll:$o,loadThemeWhiteBase:p,loadThemeWhiteBoard:g,loadThemeWhiteButtonAll:pt,loadThemeWhiteButtonAmbient:_,loadThemeWhiteButtonCheckRight:A,loadThemeWhiteButtonCheck:P,loadThemeWhiteButtonColorGradient:fn,loadThemeWhiteButtonColor:$,loadThemeWhiteButtonDanger:hn,loadThemeWhiteButtonDate:Pn,loadThemeWhiteButtonDatetime:zn,loadThemeWhiteButtonFile:Vn,loadThemeWhiteButtonLink:jn,loadThemeWhiteButtonPrimary:Xn,loadThemeWhiteButtonRadioRight:qn,loadThemeWhiteButtonRadio:Kn,loadThemeWhiteButtonSecondary:Zn,loadThemeWhiteButtonTime:Dt,loadThemeWhiteButton:S,loadThemeWhiteCanvasContainer:Wt,loadThemeWhiteChart:Xt,loadThemeWhiteColor:Jt,loadThemeWhiteDiagramEditor:Mr,loadThemeWhiteDiagram:er,loadThemeWhiteDialogAll:ge,loadThemeWhiteDialogColorGradient:cn,loadThemeWhiteDialogColor:Z,loadThemeWhiteDialogConfirmDelete:qr,loadThemeWhiteDialogConfirmDiscard:Zr,loadThemeWhiteDialogConfirm:Kr,loadThemeWhiteDialogDate:En,loadThemeWhiteDialogDatetime:Rn,loadThemeWhiteDialogFitted:Te,loadThemeWhiteDialogInputBoolean:te,loadThemeWhiteDialogInputInteger:ee,loadThemeWhiteDialogInputReal:ie,loadThemeWhiteDialogInputText:ce,loadThemeWhiteDialogLayered:jr,loadThemeWhiteDialogMessage:le,loadThemeWhiteDialogProcessing:de,loadThemeWhiteDialogSaveAs:De,loadThemeWhiteDialogSelect:lt,loadThemeWhiteDialogTime:mt,loadThemeWhiteDialog:_r,loadThemeWhiteDropdown:Vi,loadThemeWhiteExpandable:we,loadThemeWhiteImage:Ce,loadThemeWhiteInputAll:gu,loadThemeWhiteInputAndLabel:Be,loadThemeWhiteInputBoolean:Le,loadThemeWhiteInputInteger:qe,loadThemeWhiteInputLabel:Ze,loadThemeWhiteInputReal:tu,loadThemeWhiteInputSearch:uu,loadThemeWhiteInputTextArea:Tu,loadThemeWhiteInputText:iu,loadThemeWhiteLayout:bu,loadThemeWhiteLink:yu,loadThemeWhiteList:Iu,loadThemeWhiteTree:qo,loadThemeWhiteMenuBar:Ju,loadThemeWhiteMenuSided:ai,loadThemeWhiteMenu:Xu,loadThemeWhiteNote:bi,loadThemeWhitePane:Pi,loadThemeWhitePagination:Si,loadThemeWhitePickerColorGradient:on,loadThemeWhitePickerColor:Q,loadThemeWhitePickerDate:Ln,loadThemeWhitePickerDatetime:_n,loadThemeWhitePickerTime:Mn,loadThemeWhiteScrollBar:Ei,loadThemeWhiteSelect:Oi,loadThemeWhiteShapeActionValue:Sr,loadThemeWhiteShape:rr,loadThemeWhiteSlider:no,loadThemeWhiteTable:Oo,loadThemeWhiteText:jo,loadThemeWhite:e,DThemeWhiteAtlas:t,DThemeWhiteBase:D,DThemeWhiteBoard:T,DThemeWhiteButtonAmbient:M,DThemeWhiteButtonBase:x,DThemeWhiteButtonCheck:E,DThemeWhiteButtonCheckRight:F,DThemeWhiteButtonChecks:L,DThemeWhiteButtonColorGradient:rn,DThemeWhiteButtonColor:H,DThemeWhiteButtonDanger:ln,DThemeWhiteButtonDate:dn,DThemeWhiteButtonDatetime:Nn,DThemeWhiteButtonFile:Gn,DThemeWhiteButtonLink:On,DThemeWhiteButtonPrimary:Yn,DThemeWhiteButtonRadioRight:Jn,DThemeWhiteButtonRadio:Un,DThemeWhiteButtonSecondary:Qn,DThemeWhiteButtonTime:st,DThemeWhiteButton:B,DThemeWhiteCanvasContainer:gt,DThemeWhiteCanvas:Tt,DThemeWhiteChartAxisBase:Ct,DThemeWhiteChartAxisXDatetime:St,DThemeWhiteChartAxisX:xt,DThemeWhiteChartAxisY:Mt,DThemeWhiteChartCoordinateTick:Lt,DThemeWhiteChartCoordinateTransform:Et,DThemeWhiteChartCoordinate:_t,DThemeWhiteChartLegendItem:Ft,DThemeWhiteChartLegend:Pt,DThemeWhiteChartOverview:At,DThemeWhiteChartPlotArea:Nt,DThemeWhiteChartSelectionGridlineX:Vt,DThemeWhiteChartSelectionGridlineY:Ot,DThemeWhiteChartSelectionMarker:Yt,DThemeWhiteChartSelectionShape:Gt,DThemeWhiteChart:bt,DThemeWhiteColorRecent:Ut,DThemeWhiteColorStandard:Kt,DThemeWhiteContent:Mi,DThemeWhiteDiagramBase:qt,DThemeWhiteDiagramCanvasBase:Zt,DThemeWhiteDiagramCanvasEditor:ir,DThemeWhiteDiagramCanvas:$t,DThemeWhiteDiagramEditor:or,DThemeWhiteDiagram:Qt,DThemeWhiteDialogColorGradient:en,DThemeWhiteDialogColor:K,DThemeWhiteDialogConfirmDelete:Jr,DThemeWhiteDialogConfirmDiscard:Qr,DThemeWhiteDialogConfirmMessage:Ur,DThemeWhiteDialogConfirm:Yr,DThemeWhiteDialogDate:mn,DThemeWhiteDialogDatetime:Hn,DThemeWhiteDialogFittedContent:pe,DThemeWhiteDialogFitted:U,DThemeWhiteDialogInputBoolean:ne,DThemeWhiteDialogInputInteger:re,DThemeWhiteDialogInputReal:ue,DThemeWhiteDialogInputText:oe,DThemeWhiteDialogInput:$r,DThemeWhiteDialogLayeredContent:Fr,DThemeWhiteDialogLayeredFooter:Nr,DThemeWhiteDialogLayeredHeaderButtonClose:zr,DThemeWhiteDialogLayeredHeaderSeparator:Or,DThemeWhiteDialogLayeredHeader:Hr,DThemeWhiteDialogLayered:X,DThemeWhiteDialogMessage:fe,DThemeWhiteDialogProcessingMessage:se,DThemeWhiteDialogProcessing:ae,DThemeWhiteDialogSaveAs:me,DThemeWhiteDialogSelectListItem:ft,DThemeWhiteDialogSelectList:it,DThemeWhiteDialogSelect:tt,DThemeWhiteDialogTime:dt,DThemeWhiteDialog:Y,DThemeWhiteDropdown:Gi,DThemeWhiteExpandableHeader:be,DThemeWhiteExpandable:We,DThemeWhiteFont:d,DThemeWhiteHtmlElement:Ie,DThemeWhiteImageBase:C,DThemeWhiteImage:Xr,DThemeWhiteInputAndLabel:xe,DThemeWhiteInputBooleanButtonOff:Me,DThemeWhiteInputBooleanButtonOn:_e,DThemeWhiteInputBoolean:Se,DThemeWhiteInputInput:Xe,DThemeWhiteInputInteger:Je,DThemeWhiteInputLabel:Qe,DThemeWhiteInputNumber:Ue,DThemeWhiteInputReal:nu,DThemeWhiteInputSearch:eu,DThemeWhiteInputTextArea:pu,DThemeWhiteInputText:ru,DThemeWhiteInput:Fe,DThemeWhiteLayoutHorizontal:Ar,DThemeWhiteLayoutSpace:Wu,DThemeWhiteLayoutVertical:Pr,DThemeWhiteLayout:Er,DThemeWhiteLink:ku,DThemeWhiteListItemAmbient:vu,DThemeWhiteListItem:ct,DThemeWhiteListItems:ot,DThemeWhiteList:ut,DThemeWhiteMenuBarItem:Ku,DThemeWhiteMenuBar:Uu,DThemeWhiteMenuItemBase:xu,DThemeWhiteMenuItemCheck:Mu,DThemeWhiteMenuItemExpandableBody:Lu,DThemeWhiteMenuItemExpandableHeader:Pu,DThemeWhiteMenuItemExpandableItemCheck:Fu,DThemeWhiteMenuItemExpandableItemLink:Hu,DThemeWhiteMenuItemExpandableItemMenu:zu,DThemeWhiteMenuItemExpandableItemSeparator:Vu,DThemeWhiteMenuItemExpandableItemSpace:ju,DThemeWhiteMenuItemExpandableItemText:Yu,DThemeWhiteMenuItemExpandable:_u,DThemeWhiteMenuItemLink:Nu,DThemeWhiteMenuItemMenu:Ru,DThemeWhiteMenuItemSeparator:Gu,DThemeWhiteMenuItemSpace:Ou,DThemeWhiteMenuItemText:Su,DThemeWhiteMenuItem:Bu,DThemeWhiteMenuSidedContent:Qu,DThemeWhiteMenuSidedItemCheck:Zu,DThemeWhiteMenuSidedItemExpandableItemCheck:ni,DThemeWhiteMenuSidedItemExpandableItemLink:ti,DThemeWhiteMenuSidedItemExpandableItemMenu:ri,DThemeWhiteMenuSidedItemExpandableItemSeparator:ei,DThemeWhiteMenuSidedItemExpandableItemSpace:ui,DThemeWhiteMenuSidedItemExpandableItemText:ii,DThemeWhiteMenuSidedItemExpandable:$u,DThemeWhiteMenuSidedItemLink:oi,DThemeWhiteMenuSidedItemMenu:ci,DThemeWhiteMenuSidedItemSeparator:fi,DThemeWhiteMenuSidedItemSpace:li,DThemeWhiteMenuSidedItemText:hi,DThemeWhiteMenuSided:qu,DThemeWhiteMenu:Cu,DThemeWhiteNoteError:di,DThemeWhiteNoteNoItemsFound:mi,DThemeWhiteNoteSearching:Di,DThemeWhiteNoteSmallError:Ti,DThemeWhiteNoteSmallNoItemsFound:gi,DThemeWhiteNoteSmallSearching:Wi,DThemeWhiteNoteSmall:pi,DThemeWhiteNote:si,DThemeWhitePaginationButtonLast:yi,DThemeWhitePaginationButtonNext:vi,DThemeWhitePaginationButtonPage:Ii,DThemeWhitePaginationButtonPrevious:Ci,DThemeWhitePaginationButtonTop:xi,DThemeWhitePaginationDots:ki,DThemeWhitePaginationPage:Bi,DThemeWhitePagination:wi,DThemeWhitePane:et,DThemeWhitePickerColorGradient:un,DThemeWhitePickerColor:q,DThemeWhitePickerDate:kn,DThemeWhitePickerDatetimeButtonBack:yn,DThemeWhitePickerDatetimeButtonDate:vn,DThemeWhitePickerDatetimeButtonNext:In,DThemeWhitePickerDatetimeLabelDate:Bn,DThemeWhitePickerDatetimeLabel:xn,DThemeWhitePickerDatetimeSpace:Sn,DThemeWhitePickerDatetime:wn,DThemeWhitePickerTime:pn,DThemeWhiteScrollBarThumb:Li,DThemeWhiteScrollBar:_i,DThemeWhiteSelectMultiple:zi,DThemeWhiteSelect:Hi,DThemeWhiteSlider:ji,DThemeWhiteSliderHorizontal:Yi,DThemeWhiteSliderLabel:Xi,DThemeWhiteSliderThumb:Ki,DThemeWhiteSliderTrack:Ji,DThemeWhiteSliderTrackHorizontal:qi,DThemeWhiteSliderTrackVertical:Qi,DThemeWhiteSliderValue:Zi,DThemeWhiteSliderVertical:$i,DThemeWhiteTableBodyCellButton:so,DThemeWhiteTableBodyCellCheck:mo,DThemeWhiteTableBodyCellColor:Do,DThemeWhiteTableBodyCellDate:To,DThemeWhiteTableBodyCellDatetime:Wo,DThemeWhiteTableBodyCellIndex:wo,DThemeWhiteTableBodyCellInputInteger:ko,DThemeWhiteTableBodyCellInputReal:yo,DThemeWhiteTableBodyCellInputTextArea:Io,DThemeWhiteTableBodyCellInputText:vo,DThemeWhiteTableBodyCellLink:Mo,DThemeWhiteTableBodyCellSelectDialog:oo,DThemeWhiteTableBodyCellSelectMenu:_o,DThemeWhiteTableBodyCellSelectPromise:lo,DThemeWhiteTableBodyCellTextArea:Eo,DThemeWhiteTableBodyCellText:ao,DThemeWhiteTableBodyCellTime:Fo,DThemeWhiteTableBodyCells:uo,DThemeWhiteTableBodyRow:Ho,DThemeWhiteTableBody:ro,DThemeWhiteTableCategoryCell:Vo,DThemeWhiteTableCategory:zo,DThemeWhiteTableHeaderCell:Go,DThemeWhiteTableHeader:Ro,DThemeWhiteTableRow:No,DThemeWhiteTable:to,DThemeWhiteTextBase:I,DThemeWhiteText:Cn,DThemeWhiteTreeItemButton:Ko,DThemeWhiteTreeItemNonEditable:Jo,DThemeWhiteTreeItemText:Uo,DThemeWhiteTreeItems:Yo,DThemeWhiteTree:Xo,DThemeWhiteView:Zo,DThemeWhite:r,EThemeWhiteShapeActionValue:Br,EThemeWhiteShape:tr};$o();var tc=window;tc.wcardinal=tc.wcardinal||{};var rc=tc.wcardinal.ui=tc.wcardinal.ui||{},ec=nc;for(var uc in ec)rc[uc]=ec[uc]}();
|
|
10
10
|
//# sourceMappingURL=wcardinal-ui-theme-white.min.js.map
|