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