@devexpress/analytics-core 20.1.14 → 20.2.3
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/analytics-criteria-utils.d.ts +9 -0
- package/analytics-criteria-utils.js +14 -0
- package/analytics-criteria.d.ts +37 -0
- package/analytics-criteria.js +42 -0
- package/analytics-data-internal.d.ts +15 -0
- package/analytics-data-internal.js +20 -0
- package/analytics-data-metadata.d.ts +17 -0
- package/analytics-data-metadata.js +22 -0
- package/analytics-data-utils.d.ts +9 -0
- package/analytics-data-utils.js +14 -0
- package/analytics-data.d.ts +55 -0
- package/analytics-data.js +60 -0
- package/analytics-diagram.d.ts +47 -0
- package/analytics-diagram.js +50 -0
- package/analytics-elements-metadata.d.ts +9 -0
- package/analytics-elements-metadata.js +14 -0
- package/analytics-elements.d.ts +23 -0
- package/analytics-elements.js +28 -0
- package/analytics-internal.d.ts +139 -0
- package/analytics-internal.js +135 -0
- package/analytics-localization.d.ts +9 -0
- package/analytics-localization.js +14 -0
- package/analytics-tools.d.ts +9 -0
- package/analytics-tools.js +14 -0
- package/analytics-utils.d.ts +35 -0
- package/analytics-utils.js +37 -0
- package/analytics-widgets-filtering.d.ts +31 -0
- package/analytics-widgets-filtering.js +36 -0
- package/analytics-widgets-internal.d.ts +80 -0
- package/analytics-widgets-internal.js +81 -0
- package/analytics-widgets-metadata.d.ts +9 -0
- package/analytics-widgets-metadata.js +14 -0
- package/analytics-widgets-treeList.d.ts +9 -0
- package/analytics-widgets-treeList.js +14 -0
- package/analytics-widgets.d.ts +43 -0
- package/analytics-widgets.js +48 -0
- package/analytics-wizard-internal.d.ts +51 -0
- package/analytics-wizard-internal.js +56 -0
- package/analytics-wizard.d.ts +83 -0
- package/analytics-wizard.js +84 -0
- package/bundle/_add-analytics-to-bundle.d.ts +8 -0
- package/bundle/_add-analytics-to-bundle.js +40 -0
- package/bundle/_add-devextreme-to-bundle.d.ts +8 -0
- package/bundle/_add-devextreme-to-bundle.js +27 -0
- package/bundle/_add-querybuilder-to-bundle.d.ts +8 -0
- package/bundle/_add-querybuilder-to-bundle.js +44 -0
- package/bundle/_add-to-context.d.ts +8 -0
- package/bundle/_add-to-context.js +25 -0
- package/bundle/analytic-core-bundle.d.ts +9 -0
- package/bundle/analytic-core-bundle.js +12 -0
- package/bundle/query-builder-bundle.d.ts +12 -0
- package/bundle/query-builder-bundle.js +15 -0
- package/core/_actionProvider.d.ts +18 -0
- package/core/_actionProvider.js +33 -0
- package/core/_bindings.d.ts +11 -0
- package/core/_bindings.js +231 -0
- package/core/_legacy.d.ts +8 -0
- package/core/_legacy.js +9 -0
- package/core/_metadata.d.ts +10 -0
- package/core/_metadata.js +18 -0
- package/core/binding/_jsDesignerBindingCommon.d.ts +24 -0
- package/core/binding/_jsDesignerBindingCommon.js +99 -0
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +14 -0
- package/core/binding/_jsDesignerBindingCommonOptions.js +9 -0
- package/core/binding/_requestHelper.d.ts +10 -0
- package/core/binding/_requestHelper.js +22 -0
- package/core/dragDrop/_dragDropHandler.d.ts +44 -0
- package/core/dragDrop/_dragDropHandler.js +119 -0
- package/core/dragDrop/_dragHelperContent.d.ts +29 -0
- package/core/dragDrop/_dragHelperContent.js +90 -0
- package/core/dragDrop/_selectionDragDropHandler.d.ts +28 -0
- package/core/dragDrop/_selectionDragDropHandler.js +134 -0
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +21 -0
- package/core/dragDrop/_toolboxDragDropHandler.js +67 -0
- package/core/elements/baseSurface.d.ts +79 -0
- package/core/elements/baseSurface.js +247 -0
- package/core/elements/elementViewModel.d.ts +91 -0
- package/core/elements/elementViewModel.js +189 -0
- package/core/elements/margins.d.ts +28 -0
- package/core/elements/margins.js +38 -0
- package/core/elements/paddingModel.d.ts +28 -0
- package/core/elements/paddingModel.js +109 -0
- package/core/elements/paddingModelMetaData.d.ts +10 -0
- package/core/elements/paddingModelMetaData.js +14 -0
- package/core/elements/point.d.ts +22 -0
- package/core/elements/point.js +31 -0
- package/core/elements/rectangle.d.ts +16 -0
- package/core/elements/rectangle.js +29 -0
- package/core/elements/serializableModel.d.ts +15 -0
- package/core/elements/serializableModel.js +42 -0
- package/core/elements/size.d.ts +25 -0
- package/core/elements/size.js +32 -0
- package/core/internal/_ajaxSetup.d.ts +11 -0
- package/core/internal/_ajaxSetup.js +21 -0
- package/core/internal/_controlsHelper.d.ts +38 -0
- package/core/internal/_controlsHelper.js +146 -0
- package/core/internal/_cssCalculator.d.ts +63 -0
- package/core/internal/_cssCalculator.js +296 -0
- package/core/internal/_editorTypeMapper.d.ts +18 -0
- package/core/internal/_editorTypeMapper.js +38 -0
- package/core/internal/_getNameHelpers.d.ts +13 -0
- package/core/internal/_getNameHelpers.js +66 -0
- package/core/internal/_globalize.d.ts +18 -0
- package/core/internal/_globalize.js +23 -0
- package/core/internal/_hoverInfo.d.ts +22 -0
- package/core/internal/_hoverInfo.js +38 -0
- package/core/internal/_inlineTextEdit.d.ts +19 -0
- package/core/internal/_inlineTextEdit.js +90 -0
- package/core/internal/_objectStructureControllers.d.ts +24 -0
- package/core/internal/_objectStructureControllers.js +41 -0
- package/core/internal/_objectStructureProviders.d.ts +39 -0
- package/core/internal/_objectStructureProviders.js +201 -0
- package/core/internal/_papperKindMapper.d.ts +429 -0
- package/core/internal/_papperKindMapper.js +116 -0
- package/core/internal/_processError.d.ts +15 -0
- package/core/internal/_processError.js +50 -0
- package/core/internal/_resizable.d.ts +20 -0
- package/core/internal/_resizable.js +172 -0
- package/core/internal/_stores.d.ts +31 -0
- package/core/internal/_stores.js +111 -0
- package/core/internal/_surfaceHelpers.d.ts +45 -0
- package/core/internal/_surfaceHelpers.js +76 -0
- package/core/internal/_utils.d.ts +13 -0
- package/core/internal/_utils.js +43 -0
- package/core/internal/_validation.d.ts +14 -0
- package/core/internal/_validation.js +31 -0
- package/core/internal/ajaxSetup.d.ts +9 -0
- package/core/internal/ajaxSetup.js +11 -0
- package/core/selection/_combinedObj.d.ts +30 -0
- package/core/selection/_combinedObj.js +165 -0
- package/core/selection/_selection.d.ts +69 -0
- package/core/selection/_selection.js +210 -0
- package/core/selection/_selectionHelpers.d.ts +10 -0
- package/core/selection/_selectionHelpers.js +46 -0
- package/core/snapLines/_snapLineSurface.d.ts +24 -0
- package/core/snapLines/_snapLineSurface.js +28 -0
- package/core/snapLines/_snapLinesCollector.d.ts +33 -0
- package/core/snapLines/_snapLinesCollector.js +75 -0
- package/core/snapLines/_snapLinesHelper.d.ts +38 -0
- package/core/snapLines/_snapLinesHelper.js +142 -0
- package/core/tools/_actionList.d.ts +29 -0
- package/core/tools/_actionList.js +265 -0
- package/core/tools/_copyPaste.d.ts +32 -0
- package/core/tools/_copyPaste.js +111 -0
- package/core/tools/_keyboardHelper.d.ts +35 -0
- package/core/tools/_keyboardHelper.js +120 -0
- package/core/tools/actionId.d.ts +18 -0
- package/core/tools/actionId.js +20 -0
- package/core/tools/tabPanel.d.ts +63 -0
- package/core/tools/tabPanel.js +174 -0
- package/core/tools/toolbox.d.ts +24 -0
- package/core/tools/toolbox.js +56 -0
- package/core/utils/_arrayutils.d.ts +15 -0
- package/core/utils/_arrayutils.js +123 -0
- package/core/utils/_designerCreator.d.ts +179 -0
- package/core/utils/_designerCreator.js +520 -0
- package/core/utils/_fieldListProvider.d.ts +33 -0
- package/core/utils/_fieldListProvider.js +64 -0
- package/core/utils/_infoMessageHelpers.d.ts +18 -0
- package/core/utils/_infoMessageHelpers.js +69 -0
- package/core/utils/_units.d.ts +15 -0
- package/core/utils/_units.js +71 -0
- package/core/utils/_utils.d.ts +96 -0
- package/core/utils/_utils.js +393 -0
- package/core/utils/_visitors.d.ts +9 -0
- package/core/utils/_visitors.js +48 -0
- package/core/utils/controlsFactory.d.ts +21 -0
- package/core/utils/controlsFactory.js +82 -0
- package/core/utils/parsers.d.ts +16 -0
- package/core/utils/parsers.js +80 -0
- package/core/widgets/_buttonInlineEditor.d.ts +13 -0
- package/core/widgets/_buttonInlineEditor.js +74 -0
- package/core/widgets/_dataMemberEditor.d.ts +19 -0
- package/core/widgets/_dataMemberEditor.js +36 -0
- package/core/widgets/_fieldlistpicker.d.ts +30 -0
- package/core/widgets/_fieldlistpicker.js +162 -0
- package/core/widgets/_requiredNullableEditor.d.ts +15 -0
- package/core/widgets/_requiredNullableEditor.js +55 -0
- package/core/widgets/bordereditor/_binding.d.ts +8 -0
- package/core/widgets/bordereditor/_binding.js +21 -0
- package/core/widgets/bordereditor/_bordereditor.d.ts +26 -0
- package/core/widgets/bordereditor/_bordereditor.js +96 -0
- package/core/widgets/colorPickerEditor.d.ts +14 -0
- package/core/widgets/colorPickerEditor.js +49 -0
- package/core/widgets/dataMemberEditor.d.ts +14 -0
- package/core/widgets/dataMemberEditor.js +35 -0
- package/core/widgets/fieldListEditor.d.ts +15 -0
- package/core/widgets/fieldListEditor.js +40 -0
- package/core/widgets/propertygrid/_controlProperties.d.ts +38 -0
- package/core/widgets/propertygrid/_controlProperties.js +139 -0
- package/core/widgets/propertygrid/_group.d.ts +39 -0
- package/core/widgets/propertygrid/_group.js +84 -0
- package/core/widgets/registerDesignerEditors.d.ts +8 -0
- package/core/widgets/registerDesignerEditors.js +42 -0
- package/diagram/_legacy.d.ts +8 -0
- package/diagram/_legacy.js +9 -0
- package/diagram/bindings.d.ts +11 -0
- package/diagram/bindings.js +61 -0
- package/diagram/controlsFactory.d.ts +10 -0
- package/diagram/controlsFactory.js +184 -0
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +26 -0
- package/diagram/dragDrop/connectingPointDragHandler.js +79 -0
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +22 -0
- package/diagram/dragDrop/connectionPointDragHandler.js +78 -0
- package/diagram/elements/connectingPointModel.d.ts +24 -0
- package/diagram/elements/connectingPointModel.js +70 -0
- package/diagram/elements/connectingPointSurface.d.ts +18 -0
- package/diagram/elements/connectingPointSurface.js +44 -0
- package/diagram/elements/connectors/connectionPointModel.d.ts +20 -0
- package/diagram/elements/connectors/connectionPointModel.js +58 -0
- package/diagram/elements/connectors/connectionPointSurface.d.ts +21 -0
- package/diagram/elements/connectors/connectionPointSurface.js +52 -0
- package/diagram/elements/connectors/connectorModel.d.ts +22 -0
- package/diagram/elements/connectors/connectorModel.js +102 -0
- package/diagram/elements/connectors/connectorSurface.d.ts +19 -0
- package/diagram/elements/connectors/connectorSurface.js +42 -0
- package/diagram/elements/connectors/routedConnectorModel.d.ts +32 -0
- package/diagram/elements/connectors/routedConnectorModel.js +293 -0
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +36 -0
- package/diagram/elements/connectors/routedConnectorSurface.js +133 -0
- package/diagram/elements/diagramElementModel.d.ts +28 -0
- package/diagram/elements/diagramElementModel.js +53 -0
- package/diagram/elements/diagramElementSurface.d.ts +26 -0
- package/diagram/elements/diagramElementSurface.js +69 -0
- package/diagram/elements/diagramModel.d.ts +24 -0
- package/diagram/elements/diagramModel.js +50 -0
- package/diagram/elements/diagramSurface.d.ts +32 -0
- package/diagram/elements/diagramSurface.js +67 -0
- package/diagram/initializer.d.ts +11 -0
- package/diagram/initializer.js +55 -0
- package/diagram/metadata.d.ts +14 -0
- package/diagram/metadata.js +19 -0
- package/diagram/utils.d.ts +21 -0
- package/diagram/utils.js +42 -0
- package/dist/css/dx-analytics.carmine.compact.css +53 -54
- package/dist/css/dx-analytics.carmine.css +53 -54
- package/dist/css/dx-analytics.common.css +23 -24
- package/dist/css/dx-analytics.contrast.compact.css +53 -54
- package/dist/css/dx-analytics.contrast.css +53 -54
- package/dist/css/dx-analytics.dark.compact.css +32 -33
- package/dist/css/dx-analytics.dark.css +32 -33
- package/dist/css/dx-analytics.darkmoon.compact.css +45 -46
- package/dist/css/dx-analytics.darkmoon.css +45 -46
- package/dist/css/dx-analytics.darkviolet.compact.css +33 -34
- package/dist/css/dx-analytics.darkviolet.css +33 -34
- package/dist/css/dx-analytics.greenmist.compact.css +54 -55
- package/dist/css/dx-analytics.greenmist.css +54 -55
- package/dist/css/dx-analytics.light.compact.css +45 -46
- package/dist/css/dx-analytics.light.css +45 -46
- package/dist/css/dx-analytics.softblue.compact.css +50 -51
- package/dist/css/dx-analytics.softblue.css +50 -51
- package/dist/css/dx-querybuilder.css +6 -7
- package/dist/js/dx-analytics-core.d.ts +10177 -0
- package/dist/js/dx-analytics-core.js +19654 -16140
- package/dist/js/dx-analytics-core.min.js +7 -8
- package/dist/js/dx-querybuilder.js +15477 -12661
- package/dist/js/dx-querybuilder.min.js +7 -8
- package/dx-analytics-core-imports.d.ts +41 -0
- package/dx-analytics-core-imports.js +43 -0
- package/dx-analytics-core-svg-templates.d.ts +8 -0
- package/dx-analytics-core-svg-templates.js +110 -0
- package/dx-analytics-core-templates.d.ts +8 -0
- package/dx-analytics-core-templates.js +124 -0
- package/dx-analytics-core.d.ts +24 -4206
- package/dx-analytics-core.js +26 -16357
- package/dx-query-builder-templates.d.ts +8 -0
- package/dx-query-builder-templates.js +101 -0
- package/dx-querybuilder-imports.d.ts +11 -0
- package/dx-querybuilder-imports.js +13 -0
- package/dx-querybuilder.d.ts +19 -3418
- package/dx-querybuilder.js +21 -12764
- package/index.d.ts +9 -0
- package/index.js +11 -0
- package/less/colors/carmine-colors.less +1 -1
- package/less/colors/contrast-colors.less +1 -1
- package/less/colors/dark-colors.less +1 -1
- package/less/colors/darkmoon-colors.less +1 -1
- package/less/colors/darkviolet-colors.less +1 -1
- package/less/colors/greenmist-colors.less +1 -1
- package/less/colors/light-colors.less +1 -1
- package/less/colors/softblue-colors.less +1 -1
- package/less/common.less +1 -1
- package/less/dx-carmine-style.less +1 -1
- package/less/dx-contrast-style.less +1 -1
- package/less/dx-dark-style.less +1 -1
- package/less/dx-darkmoon-style.less +1 -1
- package/less/dx-darkviolet-style.less +1 -1
- package/less/dx-greenmist-style.less +1 -1
- package/less/dx-light-style.less +1 -1
- package/less/dx-softblue-style.less +1 -1
- package/less/dx-variable-style.less +1 -1
- package/package.json +3 -3
- package/property-grid/_legacy.d.ts +8 -0
- package/property-grid/_legacy.js +9 -0
- package/property-grid/_propertiesAccessibilityProvider.d.ts +18 -0
- package/property-grid/_propertiesAccessibilityProvider.js +46 -0
- package/property-grid/bindings.d.ts +8 -0
- package/property-grid/bindings.js +178 -0
- package/property-grid/internal/_addon.d.ts +36 -0
- package/property-grid/internal/_addon.js +118 -0
- package/property-grid/internal/_codeResolver.d.ts +25 -0
- package/property-grid/internal/_codeResolver.js +80 -0
- package/property-grid/internal/_popupService.d.ts +16 -0
- package/property-grid/internal/_popupService.js +21 -0
- package/property-grid/localization/_localization.d.ts +24 -0
- package/property-grid/localization/_localization.js +123 -0
- package/property-grid/localization/_localizationStringIds.d.ts +14 -0
- package/property-grid/localization/_localizationStringIds.js +16 -0
- package/property-grid/localization/localization.d.ts +10 -0
- package/property-grid/localization/localization.js +12 -0
- package/property-grid/localization/localization_utils.d.ts +15 -0
- package/property-grid/localization/localization_utils.js +34 -0
- package/property-grid/propertygrid.d.ts +58 -0
- package/property-grid/propertygrid.js +241 -0
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +8 -0
- package/property-grid/widgets/collectioneditor/_bindings.js +31 -0
- package/property-grid/widgets/collectioneditor/_editor.d.ts +70 -0
- package/property-grid/widgets/collectioneditor/_editor.js +199 -0
- package/property-grid/widgets/editor.d.ts +64 -0
- package/property-grid/widgets/editor.js +242 -0
- package/property-grid/widgets/editorValidator.d.ts +38 -0
- package/property-grid/widgets/editorValidator.js +170 -0
- package/property-grid/widgets/editorsInfo.d.ts +21 -0
- package/property-grid/widgets/editorsInfo.js +45 -0
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +27 -0
- package/property-grid/widgets/ellipsiseditor/_editor.js +103 -0
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +17 -0
- package/property-grid/widgets/fileimageeditor/_editor.js +84 -0
- package/property-grid/widgets/fonteditor/_fonts.d.ts +11 -0
- package/property-grid/widgets/fonteditor/_fonts.js +11 -0
- package/property-grid/widgets/fonteditor/_model.d.ts +29 -0
- package/property-grid/widgets/fonteditor/_model.js +97 -0
- package/property-grid/widgets/fonteditor/editor.d.ts +14 -0
- package/property-grid/widgets/fonteditor/editor.js +39 -0
- package/property-grid/widgets/fonteditor/metadata.d.ts +12 -0
- package/property-grid/widgets/fonteditor/metadata.js +29 -0
- package/property-grid/widgets/guideditor.d.ts +11 -0
- package/property-grid/widgets/guideditor.js +35 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +12 -0
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +13 -0
- package/property-grid/widgets/internal/_internal.d.ts +23 -0
- package/property-grid/widgets/internal/_internal.js +46 -0
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +22 -0
- package/property-grid/widgets/internal/_svgTemplateEngine.js +82 -0
- package/property-grid/widgets/internal/_utils.d.ts +75 -0
- package/property-grid/widgets/internal/_utils.js +141 -0
- package/property-grid/widgets/registerBaseEdtior.d.ts +8 -0
- package/property-grid/widgets/registerBaseEdtior.js +31 -0
- package/query-builder/_accordionTabInfo.d.ts +43 -0
- package/query-builder/_accordionTabInfo.js +144 -0
- package/query-builder/_bindings.d.ts +11 -0
- package/query-builder/_bindings.js +74 -0
- package/query-builder/_initializer.d.ts +18 -0
- package/query-builder/_initializer.js +341 -0
- package/query-builder/_legacy.d.ts +8 -0
- package/query-builder/_legacy.js +9 -0
- package/query-builder/_queryBuilderModel.d.ts +42 -0
- package/query-builder/_queryBuilderModel.js +9 -0
- package/query-builder/binding/eventGenerator.d.ts +11 -0
- package/query-builder/binding/eventGenerator.js +58 -0
- package/query-builder/binding/jsQueryBuilder.d.ts +28 -0
- package/query-builder/binding/jsQueryBuilder.js +65 -0
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +24 -0
- package/query-builder/binding/jsQueryBuilderBinding.js +114 -0
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +32 -0
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +9 -0
- package/query-builder/dataSource/_dbSchema.d.ts +8 -0
- package/query-builder/dataSource/_dbSchema.js +19 -0
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +14 -0
- package/query-builder/dataSource/_dbSchemaProvider.js +40 -0
- package/query-builder/dataSource/_utils.d.ts +9 -0
- package/query-builder/dataSource/_utils.js +17 -0
- package/query-builder/dataSource/dataSourceParameter.d.ts +41 -0
- package/query-builder/dataSource/dataSourceParameter.js +216 -0
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +17 -0
- package/query-builder/dataSource/dataSourceParameterMeta.js +80 -0
- package/query-builder/dataSource/dbColumn.d.ts +36 -0
- package/query-builder/dataSource/dbColumn.js +111 -0
- package/query-builder/dataSource/dbForeignKey.d.ts +14 -0
- package/query-builder/dataSource/dbForeignKey.js +19 -0
- package/query-builder/dataSource/dbSchema.d.ts +14 -0
- package/query-builder/dataSource/dbSchema.js +24 -0
- package/query-builder/dataSource/dbSchemaProvider.d.ts +35 -0
- package/query-builder/dataSource/dbSchemaProvider.js +131 -0
- package/query-builder/dataSource/dbStoredProcedure.d.ts +24 -0
- package/query-builder/dataSource/dbStoredProcedure.js +33 -0
- package/query-builder/dataSource/dbTable.d.ts +16 -0
- package/query-builder/dataSource/dbTable.js +22 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +14 -0
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +40 -0
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +21 -0
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +30 -0
- package/query-builder/dataSource/json/jsonDataSource.d.ts +32 -0
- package/query-builder/dataSource/json/jsonDataSource.js +82 -0
- package/query-builder/dataSource/json/jsonParameter.d.ts +41 -0
- package/query-builder/dataSource/json/jsonParameter.js +96 -0
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +50 -0
- package/query-builder/dataSource/json/jsonSchemaNode.js +168 -0
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +29 -0
- package/query-builder/dataSource/json/jsonSchemaProvider.js +90 -0
- package/query-builder/dataSource/json/jsonSource.d.ts +30 -0
- package/query-builder/dataSource/json/jsonSource.js +89 -0
- package/query-builder/dataSource/object/objectDataSource.d.ts +20 -0
- package/query-builder/dataSource/object/objectDataSource.js +42 -0
- package/query-builder/dataSource/object/objectSchema.d.ts +43 -0
- package/query-builder/dataSource/object/objectSchema.js +116 -0
- package/query-builder/dataSource/resultSet.d.ts +20 -0
- package/query-builder/dataSource/resultSet.js +36 -0
- package/query-builder/dataSource/resultTable.d.ts +19 -0
- package/query-builder/dataSource/resultTable.js +30 -0
- package/query-builder/dataSource/sql/connectionOptions.d.ts +16 -0
- package/query-builder/dataSource/sql/connectionOptions.js +30 -0
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +23 -0
- package/query-builder/dataSource/sql/customSqlQuery.js +34 -0
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +16 -0
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +25 -0
- package/query-builder/dataSource/sql/masterDetailRelation.js +62 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +22 -0
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +21 -0
- package/query-builder/dataSource/sql/sqlDataConnection.js +37 -0
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +33 -0
- package/query-builder/dataSource/sql/sqlDataSource.js +93 -0
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +23 -0
- package/query-builder/dataSource/sql/storedProcQuery.js +39 -0
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +16 -0
- package/query-builder/dataSource/sql/tableQuery.d.ts +27 -0
- package/query-builder/dataSource/sql/tableQuery.js +35 -0
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +9 -0
- package/query-builder/dataSource/sql/tableQueryMeta.js +26 -0
- package/query-builder/dataSource/utils.d.ts +28 -0
- package/query-builder/dataSource/utils.js +19 -0
- package/query-builder/dragDrop/_columnDragHandler.d.ts +33 -0
- package/query-builder/dragDrop/_columnDragHandler.js +124 -0
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +28 -0
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +98 -0
- package/query-builder/elements/allColumnsModel.d.ts +18 -0
- package/query-builder/elements/allColumnsModel.js +62 -0
- package/query-builder/elements/allColumnsModelMeta.d.ts +9 -0
- package/query-builder/elements/allColumnsModelMeta.js +11 -0
- package/query-builder/elements/allColumnsSurface.d.ts +21 -0
- package/query-builder/elements/allColumnsSurface.js +50 -0
- package/query-builder/elements/columnExpression.d.ts +26 -0
- package/query-builder/elements/columnExpression.js +53 -0
- package/query-builder/elements/columnExpressionMeta.d.ts +26 -0
- package/query-builder/elements/columnExpressionMeta.js +25 -0
- package/query-builder/elements/columnModel.d.ts +36 -0
- package/query-builder/elements/columnModel.js +192 -0
- package/query-builder/elements/columnModelMeta.d.ts +20 -0
- package/query-builder/elements/columnModelMeta.js +50 -0
- package/query-builder/elements/columnSurface.d.ts +32 -0
- package/query-builder/elements/columnSurface.js +70 -0
- package/query-builder/elements/joinConditionModel.d.ts +26 -0
- package/query-builder/elements/joinConditionModel.js +55 -0
- package/query-builder/elements/joinConditionModelMeta.d.ts +17 -0
- package/query-builder/elements/joinConditionModelMeta.js +52 -0
- package/query-builder/elements/joinConditionSurface.d.ts +15 -0
- package/query-builder/elements/joinConditionSurface.js +39 -0
- package/query-builder/elements/parameterModel.d.ts +15 -0
- package/query-builder/elements/parameterModel.js +37 -0
- package/query-builder/elements/parameterModelMeta.d.ts +12 -0
- package/query-builder/elements/parameterModelMeta.js +14 -0
- package/query-builder/elements/queryElementModel.d.ts +18 -0
- package/query-builder/elements/queryElementModel.js +35 -0
- package/query-builder/elements/queryElementSurface.d.ts +19 -0
- package/query-builder/elements/queryElementSurface.js +52 -0
- package/query-builder/elements/queryModel.d.ts +69 -0
- package/query-builder/elements/queryModel.js +442 -0
- package/query-builder/elements/queryModelMeta.d.ts +9 -0
- package/query-builder/elements/queryModelMeta.js +35 -0
- package/query-builder/elements/querySurface.d.ts +39 -0
- package/query-builder/elements/querySurface.js +85 -0
- package/query-builder/elements/relationModel.d.ts +28 -0
- package/query-builder/elements/relationModel.js +73 -0
- package/query-builder/elements/relationModelMeta.d.ts +9 -0
- package/query-builder/elements/relationModelMeta.js +16 -0
- package/query-builder/elements/relationSurface.d.ts +17 -0
- package/query-builder/elements/relationSurface.js +40 -0
- package/query-builder/elements/tableModel.d.ts +51 -0
- package/query-builder/elements/tableModel.js +137 -0
- package/query-builder/elements/tableModelMeta.d.ts +9 -0
- package/query-builder/elements/tableModelMeta.js +13 -0
- package/query-builder/elements/tableSurface.d.ts +26 -0
- package/query-builder/elements/tableSurface.js +58 -0
- package/query-builder/initializer.d.ts +13 -0
- package/query-builder/initializer.js +16 -0
- package/query-builder/metadata.d.ts +16 -0
- package/query-builder/metadata.js +20 -0
- package/query-builder/utils/_callbacks.d.ts +14 -0
- package/query-builder/utils/_callbacks.js +9 -0
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +18 -0
- package/query-builder/utils/_columnExpressionCollectionHelper.js +44 -0
- package/query-builder/utils/_controlsFactory.d.ts +8 -0
- package/query-builder/utils/_controlsFactory.js +87 -0
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +16 -0
- package/query-builder/utils/_queryBuilderTreeListController.js +39 -0
- package/query-builder/utils/_requestwrapper.d.ts +19 -0
- package/query-builder/utils/_requestwrapper.js +36 -0
- package/query-builder/utils/controlsFactory.d.ts +9 -0
- package/query-builder/utils/controlsFactory.js +11 -0
- package/query-builder/utils/requestwrapper.d.ts +47 -0
- package/query-builder/utils/requestwrapper.js +103 -0
- package/query-builder/widgets/_undoEditor.d.ts +16 -0
- package/query-builder/widgets/_undoEditor.js +48 -0
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +8 -0
- package/query-builder/widgets/ace/_ace-mode-sql.js +164 -0
- package/query-builder/widgets/ace/_options.d.ts +29 -0
- package/query-builder/widgets/ace/_options.js +45 -0
- package/query-builder/widgets/editorTemplates.d.ts +11 -0
- package/query-builder/widgets/editorTemplates.js +11 -0
- package/query-builder/widgets/expressionFunctions.d.ts +9 -0
- package/query-builder/widgets/expressionFunctions.js +15 -0
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +20 -0
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +65 -0
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +27 -0
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +79 -0
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +28 -0
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +48 -0
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +16 -0
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +86 -0
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +20 -0
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +68 -0
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +33 -0
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +94 -0
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +21 -0
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +28 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +27 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +79 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +19 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +43 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +25 -0
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +36 -0
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +20 -0
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +39 -0
- package/query-builder/widgets/registerEditorTemplates.d.ts +8 -0
- package/query-builder/widgets/registerEditorTemplates.js +23 -0
- package/query-builder/wizard/chooseAvailablePage.d.ts +29 -0
- package/query-builder/wizard/chooseAvailablePage.js +76 -0
- package/query-builder/wizard/dataSourceWizard.d.ts +62 -0
- package/query-builder/wizard/dataSourceWizard.js +193 -0
- package/query-builder/wizard/dataSourceWizardState.d.ts +51 -0
- package/query-builder/wizard/dataSourceWizardState.js +75 -0
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +28 -0
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +109 -0
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +28 -0
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +79 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +30 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +96 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +20 -0
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +39 -0
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +74 -0
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +172 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +18 -0
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +105 -0
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +30 -0
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +136 -0
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +17 -0
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +104 -0
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +66 -0
- package/query-builder/wizard/internal/_configureParametersUtils.js +149 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +39 -0
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +163 -0
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +16 -0
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +46 -0
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +36 -0
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +93 -0
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +113 -0
- package/query-builder/wizard/internal/_jsonSourceSettings.js +548 -0
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +18 -0
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +47 -0
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +58 -0
- package/query-builder/wizard/internal/_queryBuilderPopup.js +95 -0
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +16 -0
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +27 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +57 -0
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +105 -0
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +31 -0
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +116 -0
- package/query-builder/wizard/internal/_treeListNode.d.ts +107 -0
- package/query-builder/wizard/internal/_treeListNode.js +324 -0
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +30 -0
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +204 -0
- package/query-builder/wizard/internal/_utils.d.ts +72 -0
- package/query-builder/wizard/internal/_utils.js +150 -0
- package/query-builder/wizard/internal/_wizardAction.d.ts +15 -0
- package/query-builder/wizard/internal/_wizardAction.js +20 -0
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +42 -0
- package/query-builder/wizard/internal/_wizardPageProcessor.js +196 -0
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +16 -0
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +40 -0
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +41 -0
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +124 -0
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +15 -0
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +42 -0
- package/query-builder/wizard/internal/initializer.d.ts +16 -0
- package/query-builder/wizard/internal/initializer.js +9 -0
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +40 -0
- package/query-builder/wizard/internal/jsonSourceSettings.js +14 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +16 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +50 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +55 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +194 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +25 -0
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +75 -0
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +29 -0
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +104 -0
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +16 -0
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +9 -0
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +31 -0
- package/query-builder/wizard/multiQueryDataSourceWizard.js +161 -0
- package/query-builder/wizard/pageFactory.d.ts +18 -0
- package/query-builder/wizard/pageFactory.js +32 -0
- package/query-builder/wizard/pageId.d.ts +44 -0
- package/query-builder/wizard/pageId.js +46 -0
- package/query-builder/wizard/pageIterator.d.ts +32 -0
- package/query-builder/wizard/pageIterator.js +127 -0
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +47 -0
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +120 -0
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +21 -0
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +87 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +19 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +74 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +50 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +266 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +47 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +152 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +24 -0
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +94 -0
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +38 -0
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +154 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +121 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +404 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +37 -0
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +191 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +28 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +101 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +27 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +101 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +22 -0
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +80 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +28 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +111 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +54 -0
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +212 -0
- package/query-builder/wizard/pages/wizardPage.d.ts +40 -0
- package/query-builder/wizard/pages/wizardPage.js +109 -0
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +18 -0
- package/query-builder/wizard/pages/wizardPageMetadata.js +9 -0
- package/query-builder/wizard/popupWizard.d.ts +118 -0
- package/query-builder/wizard/popupWizard.js +96 -0
- package/query-builder/wizard/stateManager.d.ts +20 -0
- package/query-builder/wizard/stateManager.js +39 -0
- package/query-builder/wizard/wizard.d.ts +47 -0
- package/query-builder/wizard/wizard.js +193 -0
- package/query-builder/wizard/wizardEventManager.d.ts +37 -0
- package/query-builder/wizard/wizardEventManager.js +9 -0
- package/queryBuilder-elements-metadata.d.ts +23 -0
- package/queryBuilder-elements-metadata.js +28 -0
- package/queryBuilder-elements.d.ts +39 -0
- package/queryBuilder-elements.js +44 -0
- package/queryBuilder-internal.d.ts +31 -0
- package/queryBuilder-internal.js +33 -0
- package/queryBuilder-metadata.d.ts +9 -0
- package/queryBuilder-metadata.js +14 -0
- package/queryBuilder-utils.d.ts +13 -0
- package/queryBuilder-utils.js +18 -0
- package/queryBuilder-widgets-internal.d.ts +37 -0
- package/queryBuilder-widgets-internal.js +43 -0
- package/queryBuilder-widgets.d.ts +9 -0
- package/queryBuilder-widgets.js +14 -0
- package/querybuilder.d.ts +15 -0
- package/querybuilder.js +19 -0
- package/serializer/_internal.d.ts +11 -0
- package/serializer/_internal.js +78 -0
- package/serializer/_legacy.d.ts +8 -0
- package/serializer/_legacy.js +9 -0
- package/serializer/_utils.d.ts +12 -0
- package/serializer/_utils.js +107 -0
- package/serializer/eventManager.d.ts +19 -0
- package/serializer/eventManager.js +52 -0
- package/serializer/serializationInfo.d.ts +64 -0
- package/serializer/serializationInfo.js +9 -0
- package/serializer/serializer.d.ts +43 -0
- package/serializer/serializer.js +290 -0
- package/serializer/utils.d.ts +26 -0
- package/serializer/utils.js +84 -0
- package/undo-engine/_legacy.d.ts +8 -0
- package/undo-engine/_legacy.js +9 -0
- package/undo-engine/_utils.d.ts +10 -0
- package/undo-engine/_utils.js +48 -0
- package/undo-engine/undoengine.d.ts +60 -0
- package/undo-engine/undoengine.js +495 -0
- package/utils/analytics-core-namespaces.js +1 -0
- package/utils/converter.js +83 -0
- package/utils/theme-builder.js +8 -1
- package/widgets/_legacy.d.ts +8 -0
- package/widgets/_legacy.js +9 -0
- package/widgets/_searchHighlighting.d.ts +29 -0
- package/widgets/_searchHighlighting.js +118 -0
- package/widgets/_utils.d.ts +23 -0
- package/widgets/_utils.js +121 -0
- package/widgets/ace/_ace-mode-criteria.d.ts +8 -0
- package/widgets/ace/_ace-mode-criteria.js +99 -0
- package/widgets/ace/_ace-mode-doc-comment.d.ts +8 -0
- package/widgets/ace/_ace-mode-doc-comment.js +52 -0
- package/widgets/ace/_binding.d.ts +14 -0
- package/widgets/ace/_binding.js +152 -0
- package/widgets/bindings.d.ts +8 -0
- package/widgets/bindings.js +33 -0
- package/widgets/common/_codeCompletor.d.ts +81 -0
- package/widgets/common/_codeCompletor.js +492 -0
- package/widgets/common/_displayNameProvider.d.ts +15 -0
- package/widgets/common/_displayNameProvider.js +91 -0
- package/widgets/common/displayNameProvider.d.ts +15 -0
- package/widgets/common/displayNameProvider.js +9 -0
- package/widgets/common/pathRequest.d.ts +24 -0
- package/widgets/common/pathRequest.js +30 -0
- package/widgets/criteria/criteriaOperatorPreprocessor.d.ts +49 -0
- package/widgets/criteria/criteriaOperatorPreprocessor.js +124 -0
- package/widgets/criteria/operators/aggregate.d.ts +39 -0
- package/widgets/criteria/operators/aggregate.js +127 -0
- package/widgets/criteria/operators/between.d.ts +30 -0
- package/widgets/criteria/operators/between.js +94 -0
- package/widgets/criteria/operators/binary.d.ts +45 -0
- package/widgets/criteria/operators/binary.js +101 -0
- package/widgets/criteria/operators/constant.d.ts +14 -0
- package/widgets/criteria/operators/constant.js +36 -0
- package/widgets/criteria/operators/criteriaOperator.d.ts +67 -0
- package/widgets/criteria/operators/criteriaOperator.js +295 -0
- package/widgets/criteria/operators/function.d.ts +162 -0
- package/widgets/criteria/operators/function.js +230 -0
- package/widgets/criteria/operators/group.d.ts +33 -0
- package/widgets/criteria/operators/group.js +119 -0
- package/widgets/criteria/operators/in.d.ts +27 -0
- package/widgets/criteria/operators/in.js +76 -0
- package/widgets/criteria/operators/join.d.ts +27 -0
- package/widgets/criteria/operators/join.js +61 -0
- package/widgets/criteria/operators/parameter.d.ts +20 -0
- package/widgets/criteria/operators/parameter.js +46 -0
- package/widgets/criteria/operators/property.d.ts +27 -0
- package/widgets/criteria/operators/property.js +52 -0
- package/widgets/criteria/operators/unary.d.ts +31 -0
- package/widgets/criteria/operators/unary.js +87 -0
- package/widgets/criteria/operators/value.d.ts +19 -0
- package/widgets/criteria/operators/value.js +67 -0
- package/widgets/criteria/parser/criteriaparser.d.ts +11 -0
- package/widgets/criteria/parser/criteriaparser.js +953 -0
- package/widgets/criteria/utils.d.ts +47 -0
- package/widgets/criteria/utils.js +32 -0
- package/widgets/expressioneditor/_expressioneditor.d.ts +24 -0
- package/widgets/expressioneditor/_expressioneditor.js +65 -0
- package/widgets/expressioneditor/bindings.d.ts +8 -0
- package/widgets/expressioneditor/bindings.js +40 -0
- package/widgets/expressioneditor/expressioneditor.d.ts +87 -0
- package/widgets/expressioneditor/expressioneditor.js +290 -0
- package/widgets/expressioneditor/tools/_functions.d.ts +23 -0
- package/widgets/expressioneditor/tools/_functions.js +218 -0
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +17 -0
- package/widgets/expressioneditor/tools/_operatorNames.js +32 -0
- package/widgets/expressioneditor/tools/_tools.d.ts +44 -0
- package/widgets/expressioneditor/tools/_tools.js +202 -0
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +34 -0
- package/widgets/expressioneditor/tools/_treeListControllers.js +82 -0
- package/widgets/filtereditor/filtereditor.d.ts +108 -0
- package/widgets/filtereditor/filtereditor.js +454 -0
- package/widgets/filtereditor/filtereditoroptions.d.ts +30 -0
- package/widgets/filtereditor/filtereditoroptions.js +38 -0
- package/widgets/filtereditor/helpers/_addon.d.ts +20 -0
- package/widgets/filtereditor/helpers/_addon.js +53 -0
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +29 -0
- package/widgets/filtereditor/helpers/_codeCompletor.js +80 -0
- package/widgets/filtereditor/helpers/_helper.d.ts +12 -0
- package/widgets/filtereditor/helpers/_helper.js +14 -0
- package/widgets/filtereditor/helpers/_serializer.d.ts +54 -0
- package/widgets/filtereditor/helpers/_serializer.js +180 -0
- package/widgets/filtereditor/helpers/_treelistController.d.ts +18 -0
- package/widgets/filtereditor/helpers/_treelistController.js +48 -0
- package/widgets/filtereditor/helpers/_validator.d.ts +27 -0
- package/widgets/filtereditor/helpers/_validator.js +93 -0
- package/widgets/filtereditor/helpers/helper.d.ts +104 -0
- package/widgets/filtereditor/helpers/helper.js +262 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +21 -0
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +102 -0
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +21 -0
- package/widgets/filtereditor/operators/betweenOperandSurface.js +60 -0
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/binaryOperandSurface.js +57 -0
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +39 -0
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +142 -0
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +22 -0
- package/widgets/filtereditor/operators/functionOperandSurface.js +92 -0
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +23 -0
- package/widgets/filtereditor/operators/groupOperandSurface.js +103 -0
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/inOperandSurface.js +65 -0
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +22 -0
- package/widgets/filtereditor/operators/operandParameterSurface.js +57 -0
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +30 -0
- package/widgets/filtereditor/operators/operandPropertySurface.js +128 -0
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +25 -0
- package/widgets/filtereditor/operators/operandSurfaceBase.js +124 -0
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +32 -0
- package/widgets/filtereditor/operators/operandValueSurface.js +169 -0
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +20 -0
- package/widgets/filtereditor/operators/unaryOperandSurface.js +76 -0
- package/widgets/formatstring/_patterns.d.ts +15 -0
- package/widgets/formatstring/_patterns.js +17 -0
- package/widgets/formatstring/binding.d.ts +8 -0
- package/widgets/formatstring/binding.js +27 -0
- package/widgets/formatstring/formatstringeditor.d.ts +81 -0
- package/widgets/formatstring/formatstringeditor.js +294 -0
- package/widgets/internal/_popupwithautoheight.d.ts +12 -0
- package/widgets/internal/_popupwithautoheight.js +38 -0
- package/widgets/internal/_valueEditorHelper.d.ts +80 -0
- package/widgets/internal/_valueEditorHelper.js +232 -0
- package/widgets/treelist/_binding.d.ts +8 -0
- package/widgets/treelist/_binding.js +99 -0
- package/widgets/treelist/_treeListSearchViewModel.d.ts +36 -0
- package/widgets/treelist/_treeListSearchViewModel.js +136 -0
- package/widgets/treelist/_treelistController.d.ts +39 -0
- package/widgets/treelist/_treelistController.js +35 -0
- package/widgets/treelist/_treelistItem.d.ts +132 -0
- package/widgets/treelist/_treelistItem.js +571 -0
- package/widgets/treelist/options.d.ts +8 -0
- package/widgets/treelist/options.js +11 -0
- package/widgets/utils.d.ts +59 -0
- package/widgets/utils.js +9 -0
- package/dist/html/templates.html +0 -2936
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DevExpress
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
5
|
-
* Copyright (c) 2012 -
|
|
6
|
-
* License: https://www.devexpress.com/Support/EULAs/
|
|
1
|
+
/**
|
|
2
|
+
* DevExpress Analytics (dist\js\dx-analytics-core.min.js)
|
|
3
|
+
* Version: 20.2.3
|
|
4
|
+
* Build date: Oct 19, 2020
|
|
5
|
+
* Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
|
+
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
var __extends=this&&this.__extends||function(){var a=function(b,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),DevExpress;!function(a){!function(a){var b;!function(a){function b(a,b,c,d){delete a[c],d=d||c,Object.defineProperty(a,c,{get:function(){return b[d]},set:function(a){b[d]=a},configurable:!0})}function c(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];for(var d=function(b,c){void 0===c&&(c=!0);for(var d=b.split("."),e=a,f=0;f<d.length-1;f++)!e[d[f]]&&c&&(e[d[f]]={}),e=e[d[f]];return{object:e,propertyName:d[d.length-1]}},e=b[b.length-1],f=d(b[b.length-1]),g=0;g<b.length-1;g++)!function(a,b){Object.defineProperty(b.object,b.propertyName,{get:function(){return console.warn("DevExpress."+a+" is now deprecated and will be removed in future versions. Use DevExpress."+e+" instead."),f.object[f.propertyName]},set:function(b){console.warn("DevExpress."+a+" is now deprecated and will be removed in future versions. Use DevExpress."+e+" instead."),f.object[f.propertyName]=b},configurable:!0})}(b[g],d(b[g]))}function d(a,b){var c=function(){ko.utils.domNodeDisposal.removeDisposeCallback(a,c),b&&b(),c=null,b=null};ko.utils.domNodeDisposal.addDisposeCallback(a,c)}a._defineProperty=b,a._definePropertyByString=c,a.addDisposeCallback=d}(b=a.Internal||(a.Internal={}));!function(a){function b(a,b){var c=Object.keys(a||{}).map(function(c){return b(a[c])});return ko.observableArray(c)}function c(a,b){return(a||[]).map(function(a){var b=void 0!==a&&null!==a?a.toString():"00";return 1===b.length&&(b="0"+b),b}).join(b)}function d(a){var b=[a.getMonth()+1,a.getDate(),a.getFullYear()],d=c([a.getHours(),a.getMinutes(),a.getSeconds()],":");return"00:00:00"===d?c([b[2],b[0],b[1]],"-"):c(b,"/")+" "+d}function e(a){var b=a.split(" "),c=b[0].split("-"),d=[0,0,0];return b.length>1&&(c=b[0].split("/"),c.splice(0,0,c.splice(2,1)[0]),d=b[1].split(":").map(function(a){return parseInt(a)}),3!==d.length)?null:3!==c.length?null:(c=c.map(function(a){return parseInt(a)}),new Date(c[0],c[1]-1,c[2],d[0],d[1],d[2]))}var f=function(){function a(){this._disposables=[],this.isDisposing=!1}return a.prototype.disposeObservableArray=function(a){a&&a().forEach(function(a){a.dispose&&a.dispose()})},a.prototype.resetObservableArray=function(a){a&&a([])},a.prototype.disposeArray=function(a){a&&(a.forEach(function(a){a.dispose&&a.dispose()}),a.splice(0,a.length))},a.prototype.dispose=function(){this.isDisposing||(this.isDisposing=!0,(this._disposables||[]).reverse().forEach(function(a){return a&&a.dispose&&a.dispose()}),this._disposables=[])},a.prototype.removeProperties=function(){var a=this;Object.keys(this).forEach(function(b){delete a[b]})},a}();a.Disposable=f,a.deserializeArray=b,a.serializeDate=d,a.deserializeDate=e}(a.Utils||(a.Utils={})),function(a){function b(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];var d=ko.observableArray(a),e=d.notifySubscribers;return d.notifySubscribers=function(a,c){if(b)for(var f=0,g=b.length;f<g;f++)b[f](a,c);return e.call(d,a,c)},d}function c(a){return null!=a&&a===a.window}function d(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[i.toString.call(a)]||"object":typeof a}function e(a){return"object"===d(a)&&!a.nodeType&&!c(a)&&!(a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf"))}function f(a){return"string"!=typeof a&&(null!==a&&"object"==typeof a&&0===Object.keys(a).length)}function g(a){return"function"===d(a)}function h(a,b){for(var c=[],d=2;d<arguments.length;d++)c[d-2]=arguments[d];var f,i,j,k,l,m,a=arguments[0]||{},n=1,o=arguments.length,p=!1;for("boolean"==typeof a&&(p=a,a=arguments[n]||{},n++),"object"==typeof a||g(a)||(a={}),n===o&&(a=this,n--);n<o;n++)if(null!=(f=arguments[n]))for(i in f)j=a[i],k=f[i],a!==k&&(p&&k&&(e(k)||(l=Array.isArray(k)))?(l?(l=!1,m=j&&Array.isArray(j)?j:[]):m=j&&e(j)?j:{},a[i]=h(p,m,k)):void 0!==k&&(a[i]=k));return a}a.knockoutArrayWrapper=b;var i={},j=i.hasOwnProperty;["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(function(a){return i["[object "+a+"]"]=a.toLowerCase()}),a.isPlainObject=e,a.isEmptyObject=f,a.extend=h}(b=a.Internal||(a.Internal={})),function(a){var c=function(){function c(c){this._refTable={},this._linkTable={},this._options=b.extend({useRefs:!0,serializeDate:a.serializeDate},c)}return c.prototype.linkObjects=function(){var a=this;Object.keys(this._linkTable).forEach(function(b){var c=a._refTable[b];if(c){a._linkTable[b].forEach(function(a){return a(c)})}})},c.prototype._getModel=function(a,b){var c=a;return b.forEach(function(a){c=c[a]}),c},c.prototype._collectLinks=function(a,b,c,d){var e=this,f=a[d].slice("#Ref-".length),g=ko.observable();this._linkTable[f]=this._linkTable[f]||[],this._linkTable[f].push(g),b._restoreLinks||(b._restoreLinks=[]),b._restoreLinks.push(function(a){var b=e._getModel(a,c);return{setRef:function(a){-1===a?delete b[d]:b[d]="#Ref-"+a},obj:g()}})},c.prototype._enumRefs=function(a,b,c){var d=this;a._refs||(a._refs=[]),a._refs.push(function(a,e){d._getModel(a,b)[c]=e})},c.prototype._collectLinksAndEnumRefs=function(a,b,c){var d=this;void 0===b&&(b=null),void 0===c&&(c=[]);var e=null===b;b=b||a,Object.keys(a).forEach(function(f){a[f]instanceof Object?d._collectLinksAndEnumRefs(a[f],b,[].concat(c,[f])):a[f].indexOf&&0===a[f].indexOf("#Ref-")?d._collectLinks(a,b,c,f):e||"@Ref"!==f||d._enumRefs(b,c,f)}),e&&this.linkObjects()},c.prototype.setLinks=function(a){a.linkObjTable.forEach(function(b){var c=a.objects.indexOf(b.obj);b.setRef(c)})},c.prototype.deserializeProperty=function(a,b){var c=a.modelName;if(c){var d=void 0!==b[c]?b[c]:a.defaultVal;return this.deserializePropertyValue(a,d)}},c.prototype.deserializeDefaultValue=function(a){return this.deserializePropertyValue(a,a.defaultVal,!1)||a.defaultVal},c.prototype.deserializePropertyValue=function(a,b,c){var d=this;if(void 0===c&&(c=!0),"string"==typeof a)return ko.observable(b);if(a.link){var e=ko.observable(null);if(b){var f=b&&b.slice("#Ref-".length);this._linkTable[f]=this._linkTable[f]||[],this._linkTable[f].push(e)}return e}if(a.array){if(a.from)return a.from(b,this);if(a.info){var g=Object.keys(b||{}).map(function(c){var e={getInfo:function(){return a.info}};return d.deserialize(e,b[c]||{}),e});return ko.observableArray(g)}}else{if(a.from)return a.from(b,this);if(a.type){var h=new a.type(b,this,a.info);return h._model||this.deserialize(h,b||{},a.info),h}if(a.info){var i={getInfo:function(){return a.info}};return this.deserialize(i,b||{}),i}if(a.modelName)return ko.observable(b);if(c)throw new Error("Invalid info '"+JSON.stringify(a)+"'")}},c.prototype.deserialize=function(a,c,d){var e=this;if(void 0===d&&(d=null),c){a._model=b.extend({},c);var d=a.getInfo?a.getInfo():d,f=c["@Ref"];f&&(this._refTable[f]=a),d.forEach(function(b){var d=b.propertyName,f=b.modelName;void 0!==c[f]&&delete a._model[f];var g=e.deserializeProperty(b,c);void 0!==g&&(a[d]=g)}),this.linkObjects()}},c.prototype.serialize=function(a,b,c){return void 0===c&&(c=null),b||c?this._serialize(a,b,c):this._serialize(a,null,null)},c.prototype._isSerializableValue=function(a){return b.isPlainObject(a)&&!b.isEmptyObject(a)||Array.isArray(a)&&a.length>0||!Array.isArray(a)&&!b.isPlainObject(a)},c.prototype.serializeProperty=function(a,c,d,e,f){var g=this,h=a.propertyName,i=ko.unwrap(c["_"+h]||c[h]),j=a.defaultVal;a.beforeSerialize&&(i=a.beforeSerialize(i)),a.from&&(j=ko.unwrap(a.from(j,this)));var k={};if(a.modelName&&(a.alwaysSerialize||void 0!==i&&null!==i&&(b.isPlainObject(i)||!b.isEmptyObject(i)||Array.isArray(i)&&i.length>0||!Array.isArray(i)&&!b.isPlainObject(i))&&i!==j)){if(a.link)e.linkObjTable.push({obj:i,setRef:function(b){b<0?delete f[a.modelName]:f[a.modelName]="#Ref-"+b}}),k=void 0;else if(a.array){k={};var l=1;i.forEach(function(b){var c=a.info||null,d=g._serialize(b,c,e);g._isSerializableValue(d)&&(k["Item"+l]=d,g._options.useRefs&&(d["@Ref"]=(e.objects.push(b)-1).toString()),l++)})}else if(a.from)k=i.isEmpty&&i.isEmpty()?{}:a.toJsonObject?a.toJsonObject(i,this,e):i.toString();else if(a.info||i.getInfo)k=this._serialize(i,a.info,e);else{if(!a.modelName)throw new Error("Invalid info '"+d.stringify()+"'");k=i instanceof Date?this._options.serializeDate(i):i}(a.alwaysSerialize||this._isSerializableValue(k))&&(a.asRef&&(k["@Ref"]=(e.objects.push(i)-1).toString()),f[a.modelName]=k)}},c.prototype._serialize=function(a,c,d){var e=this,f=b.extend(!0,{},a._model),g=null===d;return d=d||{linkObjTable:[],objects:[]},f._restoreLinks&&(d.linkObjTable.push.apply(d.linkObjTable,f._restoreLinks.map(function(a){return a(f)})),delete f._restoreLinks),f._refs&&(f._refs.forEach(function(a){return a(f,(d.objects.push("0")-1).toString())}),delete f._refs),c=a.getInfo?a.getInfo():c,delete f["@Ref"],a.isEmpty&&a.isEmpty()?{}:(c.forEach(function(b){e.serializeProperty(b,a,c,d,f)}),g&&this.setLinks(d),f)},c}();a.ModelSerializer=c;var d=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;return b._handlers=[],b}return __extends(b,a),b.prototype.dispose=function(){this._handlers=[]},b.prototype.call=function(a,b){this._handlers.filter(function(b){return b.type===a}).forEach(function(a){return a.value(b)})},b.prototype.addHandler=function(a,b){this._handlers.push({type:a,value:b})},b.prototype.removeHandler=function(a,b){var c=this._handlers.filter(function(c){return c.type===a&&c.value===b})[0],d=this._handlers.indexOf(c);-1!==d&&this._handlers.splice(d,1)},b}(a.Disposable);a.EventManager=d}(a.Utils||(a.Utils={}))}(a.Analytics||(a.Analytics={}))}(DevExpress||(DevExpress={})),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.deserializeArray","Analytics.Utils.deserializeArray"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.ModelSerializer","Analytics.Utils.ModelSerializer"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.serializeDate","Analytics.Utils.serializeDate"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.extend","Analytics.Utils.extend","Analytics.Internal.extend"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.isPlainObject","Analytics.Utils.isPlainObject","Analytics.Internal.isPlainObject"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.isEmptyObject","Analytics.Utils.isEmptyObject","Analytics.Internal.isEmptyObject"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.knockoutArrayWrapper","Analytics.Utils.knockoutArrayWrapper","Analytics.Internal.knockoutArrayWrapper");var __extends=this&&this.__extends||function(){var a=function(b,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),DevExpress;!function(a){!function(b){var c;!function(c){function f(){return b.Utils.getLocalization("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function g(){return b.Utils.getLocalization("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function h(){return b.Utils.getLocalization("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function i(a,b){var c=$.Deferred();return a.length>0?$.when.apply($,a).done(function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];a.forEach(function(a){return e.loadMessages(a[0])})}).always(function(){return c.resolve(b())}):c.resolve(b()),c}function j(b){if(b){var d=a.localization.message.getMessagesByLocales(),e=d[b]||{},f=d[b.split("-")[0]]||{};if(!e["dxList-selectAll"]&&!f["dxList-selectAll"]){var g=c.messages["AnalyticsCoreStringId.SelectAll"];g&&(e["dxList-selectAll"]=g)}var h={};h[b]=e,a.localization.loadMessages(h)}}function k(a){return!!c.custom_localization_values[a]}function l(a){return c.messages[a]}function m(b){return a.localization.formatDate(b,"shortDate")}function n(b,c,e){return void 0===c&&(c=!0),c?b?b instanceof Date?b:d.deserializeDate(b):null:e?a.localization.parseDate(b,e):a.localization.parseDate(b)}c.removeWinSymbols=!0,c.Globalize=a.Analytics.Internal.Globalize||window.Globalize,c.messages={},c.custom_localization_values={},c.selectPlaceholder=f,c.noDataText=g,c.searchPlaceholder=h,c.resolveFromPromises=i,c.applyLocalizationToDevExtreme=j,c.isCustomizedWithUpdateLocalizationMethod=k,c.localize=l,c.formatDate=m,c.parseDate=n}(c=b.Internal||(b.Internal={}));var d;!function(a){function d(a,b){void 0===b&&(b=c.removeWinSymbols);var d=c.localize(a);if(d&&b&&(-1!==d.indexOf("&")||-1!==d.indexOf("<u>")||-1!==d.indexOf("</u>"))){var f={};return f[a]=d.replace("&","").replace("<u>","").replace("</u>",""),e.loadMessages(f),f[a]}}function f(a){return b.Internal.localize(a)||a}function g(a){$.extend(c.messages,a.messages)}function h(a,b){return-1!==a.indexOf(b,this.length-b.length)}function i(a,e,g){void 0===e&&(e=null),void 0===g&&(g=c.removeWinSymbols);var h=e&&b.Internal.localize(e)||f(a);return h=e&&d(e,g)||h,c.isCustomizedWithUpdateLocalizationMethod(h)&&(a=h),c.isCustomizedWithUpdateLocalizationMethod(a)?f(a):h}function j(a){$.extend(c.custom_localization_values,a);var b={};Object.keys(a).forEach(function(c){b[c]=a[c]}),g({messages:b})}a.addCultureInfo=g,a._stringEndsWith=h,a.getLocalization=i,a.updateLocalization=j}(d=b.Utils||(b.Utils={}));var e;!function(a){function b(a){$.extend(c.messages,a)}a.loadMessages=b}(e=b.Localization||(b.Localization={})),function(b){function c(a,b){return"text"!==b?a.replace(/(^data:[^,]+,)|(^data:)/,""):a}function d(a,b){return void 0===b&&(b=!1),(b?Math.floor:Math.round)(100*a)/100}function e(a,b,d){try{for(var e=a.files,f=0;f<e.length;f++){var g=e[f];if("img"===d.type){var h=/image.*/;if(!g.type.match(h))continue}var i=new FileReader;i.onload=function(){try{b.resolve({format:g.name.split(".").pop(),content:c(i.result,d.readMode)})}catch(a){b.reject()}},"text"!==d.readMode?i.readAsDataURL(g):i.readAsText(g)}}catch(a){b.reject()}}function f(){var a=document.createElement("input");return a.type="file",a.id=p,a.style.width="0px",a.style.height="0px",a.style.display="none",document.body.appendChild(a),a}function g(a){var b=$.Deferred(),c=document.getElementById(p);return c||(c=f()),c.accept=a.accept,c.onchange=function(){e(c,b,a),c.value=""},c.click(),b.promise()}function h(a,b){return!!a&&!!b&&a.header===b.header&&a.content===b.content&&a.editorType===b.editorType}function i(a,b,c){if(!c){var d=j(b);return!!a&&a.match(new RegExp(d,"gi"))}var d=c.canUseRegex?b:j(b);c.searchMode!=o.startWith||c.canUseRegex||(d="^"+d);var e="";return c.caseSensitive||(e+="i"),c.globalMatch&&(e+="g"),!!a&&a.match(new RegExp(d,e))}function j(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function k(a,b,c){return c=c||a.length-b,a.slice(0,b)+a.slice(b+c,a.length)}function l(b,c,d,e){void 0===e&&(e="");var f=b;return f=a.Analytics.Internal.stringRemove(f,c,d),f=a.Analytics.Internal.stringInsert(f,c,Array(d+1).join(e))}function m(a,b,c){return a.substring(0,b)+c+a.substring(b)}function n(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];var d=a.toString();if(b.length){var e,f=typeof b[0],g="string"===f||"number"===f?Array.prototype.slice.call(b):b[0];for(e in g)d=d.replace(new RegExp("\\{"+e+"\\}","gi"),g[e])}return d}b.StringId={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"};var o;!function(a){a[a.contains=0]="contains",a[a.startWith=1]="startWith"}(o=b.SearchMode||(b.SearchMode={})),b._getFileContent=c,b.roundingTwoDecimals=d;var p="dxd-fileuploader-input";b.uploadFile=g,b.compareEditorInfo=h,b.findMatchesInString=i,b.escapeToRegExp=j,b.stringRemove=k,b.stringReplace=l,b.stringInsert=m,b.formatUnicorn=n}(c=b.Internal||(b.Internal={}));!function(c){c.editorTemplates={bool:{header:"dx-boolean"},boolSelect:{header:"dx-boolean-select"},numeric:{header:"dx-numeric"},modificators:{custom:"dx-modificators"},combobox:{header:"dx-combobox"},comboboxEditable:{header:"dx-combobox-editable"},text:{header:"dx-text"},image:{header:"dx-image"},file:{header:"dx-file"},commonCollection:{custom:"dx-commonCollection"},stringArray:{header:"dx-emptyHeader",content:"dx-string-array"}};var e;!function(a){a.propertiesGridEditorsPaddingLeft=19}(e=c.Internal||(c.Internal={}));var f=function(d){function f(c,f,g,h){void 0===g&&(g=ko.observable(!1)),void 0===h&&(h=void 0);var j=d.call(this)||this;j._model=ko.observable(),j._parent=ko.observable(null),j.isSearchedProperty=ko.observable(!0),j.isParentSearched=ko.observable(!1),j.rtl=a.config().rtlEnabled,j._accessibilityProvider=ko.observable(b.Internal.defaultAccessibilityProvider),j._validator=new i(j),j._cachedValue=void 0,j.isEditorSelected=ko.observable(!1),j.isRequired=!1,j.collapsed=ko.observable(!0),j.info=ko.observable(c),j._disposables.push(j.displayName=ko.computed(function(){var b=j.info();return b&&a.Analytics.Utils.getLocalization(b.displayName,b.localizationId)})),h&&(j.textToSearch=h,j._disposables.push(j.isSearchedProperty=ko.computed(function(){return j.isParentSearched()||!!b.Internal.findMatchesInString(j.displayName(),h())}))),j.padding=j._setPadding(j.rtl?"right":"left",f*e.propertiesGridEditorsPaddingLeft);var k=ko.observable(null),l=c.propertyName;return j.editorOptions=c.editorOptions,j.validatorOptions=c.validatorOptions,j.isRequired=c.isRequired,void 0!==c.defaultVal&&(k=ko.observable(c.defaultVal)),c.from&&(k=c.from(c.defaultVal)),c.array&&(k=ko.observableArray()),j._disposables.push(j.values=ko.computed(function(){var a=j.info().valueStore||j.info().valuesArray;return a||(a=ko.unwrap(j.info().values),a?$.map(a,function(a,b){return{value:b,displayValue:a}}):void 0)})),j.level=f,j._init(c.editor,k,l),j._disposables.push(j.disabled=ko.computed(function(){return g()||j._accessibilityProvider()&&j._accessibilityProvider().isPropertyDisabled(j)})),j._disposables.push(j.visible=ko.computed(function(){return j.isSearchedProperty()&&j._accessibilityProvider()&&j._accessibilityProvider().isPropertyVisible(j)})),j._disposables.push(j.isPropertyModified=ko.computed(function(){return!!(j._model()&&j._model().isPropertyModified&&j._model().isPropertyModified(j.name))})),j._disposables.push(j.isPropertyHighlighted=ko.pureComputed(function(){if(j._shouldSkipHighlighting(j.name))return!1;var a=j._model();return!!(a&&a.isPropertyHighlighted&&a.isPropertyHighlighted(j.name))})),j}return __extends(f,d),f.prototype._setPadding=function(a,b){var c={};return c["padding-"+a]=b,c},f.prototype.dispose=function(){this._validator&&this._validator.dispose(),this._validator=null,d.prototype.dispose.call(this),this._cachedValue=null,this._model(null)},f.prototype._shouldSkipHighlighting=function(a){return this.isComplexEditor},f.prototype._assignValue=function(a,b,c,d){ko.isObservable(a)?a(c):b[d]=c},f.prototype._roundTwoDesemialsForUnitProperties=function(a,c,d){var e=c&&c.constructor&&c.constructor.unitProperties;return e&&-1!==e.indexOf(d)?b.Internal.roundingTwoDecimals(a):a},f.prototype._init=function(a,b,d){var e=this;a=a||c.editorTemplates.text,this.templateName=a.header,this.contentTemplateName=a.content,this.defaultValue=a===c.editorTemplates.color?"transparent":null,this._cachedValue=void 0,this._disposables.push(this.value=ko.computed({read:function(){var a=e._model();if(!a&&e._cachedValue)return e._cachedValue;var c=a&&void 0!==a[d]?a[d]:b;if(ko.isObservable(c)&&!c.push){var f=void 0!==c()&&null!==c();return e._cachedValue=f?e._roundTwoDesemialsForUnitProperties(c(),a,d):e.defaultValue,e._cachedValue}return e._cachedValue=c,e._cachedValue},write:function(a){var b=e._model();if(b){var c=b[d];e._validator.assignWithValidation(a,function(){e._assignValue(c,b,a,d)})}}})),this.name=d,this.editorTemplate=a&&a.custom||"dx-property-editor"},f.prototype._getInfoFromModel=function(a){var b=this;if(!a)return null;var c=a.getInfo&&a.getInfo();return c?c.filter(function(a){return a.propertyName===b.name})[0]:null},f.prototype.update=function(a){if(a){var c=this._getInfoFromModel(a),d=c&&b.Internal.compareEditorInfo(c.editor,this.info().editor);d&&this.info()!==c&&this.info(c),this._model(this.name in a&&(d||!c)?a:null)}else this._model(null)},f.prototype.getOptions=function(a){var b=this.info.peek().editor.extendedOptions;return $.extend({},a,this.editorOptions,b)},f.prototype.getValidatorOptions=function(a){return this._validator&&this._validator.getValidatorOptions(a)},f.prototype.registerAccessibilityProvider=function(a){this._accessibilityProvider()!=a&&this._accessibilityProvider(a)},f.prototype.assingParent=function(a){this._parent()!=a&&this._parent(a)},f.prototype._getEditorValidationRules=function(){var a=ko.unwrap(this.info);if(a){var b=a.validationRules;return b||(null===b?null:[])}},f.prototype.getValidationRules=function(){return this._validator&&this._validator.getValidationRules()},Object.defineProperty(f.prototype,"validationRules",{get:function(){return this.getValidationRules()},enumerable:!0,configurable:!0}),f.prototype.getPopupServiceActions=function(){var a=this;if(this._model()){var b=(this._model().actions||[]).concat();return(this._model().actionProviders||[]).forEach(function(c){(c&&c.getActions(a.name)||[]).forEach(function(a){return b.push(a)})}),b}},Object.defineProperty(f.prototype,"isComplexEditor",{get:function(){return!!this.contentTemplateName},enumerable:!0,configurable:!0}),f}(d.Disposable);c.Editor=f;var g=function(a){function c(c,d,e,f,g){var h=a.call(this,c,d,e,f)||this;h._popupService=g,h.editorCreated=ko.observable(!1),h.viewmodel=h.createObjectProperties(),$.isEmptyObject(h.viewmodel)||h.viewmodel.assignParent(h),h._disposables.push(h.viewmodel);var i=h.collapsed.subscribe(function(a){a||(i.dispose(),h.editorCreated(!0))});return h._disposables.push(i),f&&(h._disposables.push(h.visibleByName=ko.computed(function(){var a=!!b.Internal.findMatchesInString(h.displayName(),f());return $.isEmptyObject(h.viewmodel)||h.viewmodel._editors().forEach(function(b){return b.isParentSearched(a)}),a})),h.isSearchedProperty.dispose&&h.isSearchedProperty.dispose(),h._disposables.push(h.isSearchedProperty=ko.computed(function(){if(h.visibleByName())return!0;var a=h.viewmodel.visible();return a&&h.collapsed(!1),a}))),h}return __extends(c,a),c.prototype.createObjectProperties=function(){var a=this;return new j(this.value,{editors:ko.computed(function(){return a.info().info})},this.level+1,this.disabled,void 0,this.textToSearch,this._popupService)},c.prototype.registerAccessibilityProvider=function(b){a.prototype.registerAccessibilityProvider.call(this,b),this.viewmodel.registerAccessibilityProvider(b)},c}(f);c.PropertyGridEditor=g;var h=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return __extends(b,a),b.prototype.createObjectProperties=function(){return this.collapsed(!1),this.editorCreated(!0),this.level=-1,a.prototype.createObjectProperties.call(this)},b}(g);c.PropertyGridEditorFlat=h,function(){c.editorTemplates.objecteditor={header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:g},c.editorTemplates.inplaceObjectEditor={custom:"dx-objectEditorContent",editorType:h}}();var i=function(b){function c(a){var c=b.call(this)||this;return c._editor=a,c._lastValidatorOptions=null,c._lastModelOverridableRules=null,c._onValidatedHandler=void 0,c}return __extends(c,b),c.prototype.dispose=function(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,b.prototype.dispose.call(this)},c.prototype._isValid=function(b,c){var d=this;return this.onValidatedHandler=void 0,this.validatorInstance?((b||[]).forEach(function(a){return a&&(a.validator=d.validatorInstance)}),this.validatorInstance.validate()):a.validationEngine.validate(c,b,this._editor.displayName())},Object.defineProperty(c.prototype,"validatorInstance",{get:function(){return this._validatorInstance},set:function(a){this._validatorInstance&&this.onValidatedHandler&&this._validatorInstance.off("validated",this._onValidatedHandler),this._validatorInstance=a},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"onValidatedHandler",{get:function(){return this._onValidatedHandler},set:function(a){this._onValidatedHandler&&this.validatorInstance&&(this.validatorInstance.off("validated",this._onValidatedHandler),this._onValidatedHandler=a,a&&this.validatorInstance.on("validated",this._onValidatedHandler))},enumerable:!0,configurable:!0}),c.prototype.getValidationRules=function(){var a=this.getValidatorOptions(),b=(a||{}).validationRules;return b||(null===b?null:[])},c.prototype.getValidatorOptions=function(a){void 0===a&&(a={});var b=this._editor.info.peek();if(b){var c=this._lastValidatorOptions,d=this._editor._getEditorValidationRules();if(c&&!this.areRulesChanged(d))return c;this._lastModelOverridableRules=d;var e=this._concatValidationRules(b.validatorOptions,d),f=b.editor.extendedOptions&&b.editor.extendedOptions.validatorOptions,c=$.extend({},a,b.validatorOptions,{validationRules:e},f);return this._wrapValidatorEvents(c),this._lastValidatorOptions=c,c}},c.prototype.areRulesChanged=function(a){var b=this;return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!a||!a.length||!a.every(function(a){return b._lastModelOverridableRules.some(function(b){return a.message===b.message&&a.validationCallback===b.validationCallback&&a.type===b.type})}):a&&a.length},c.prototype.wrapOnValidatorInitialized=function(a){var b=a.onInitialized,c=this;a.onInitialized=function(a){c._onValidatorInitialized(a),b&&b.apply(this,arguments)}},c.prototype._onValidatorInitialized=function(a){this.validatorInstance=a&&a.component},c.prototype._concatValidationRules=function(a,b){return a&&a.validationRules||b?((a||{}).validationRules||[]).concat(b||[]):null},c.prototype._wrapValidatorEvents=function(a){if(a&&a.validationRules&&a.validationRules.length)return this.wrapOnValidatorInitialized(a),a},c.prototype.assignWithValidation=function(a,b){var c=this,d=this.getValidationRules(),e=!d||d.some(function(a){return a.assignValueFirst});e&&b();var f=this._isValid(d,a);if(!f.isValid)return void(f.brokenRule&&f.brokenRule.isDeferred&&(this.onValidatedHandler=function(a){c.onValidatedHandler=void 0,a.isValid&&b()}));e||b()},c}(d.Disposable);c.EditorValidator=i;var j=function(c){function d(d,e,f,g,h,i,j){void 0===f&&(f=0),void 0===g&&(g=ko.observable(!1)),void 0===h&&(h=!1);var k=c.call(this)||this;return k._viewModelSubscription=null,k._infoSubscription=null,k._getInfoComputed=null,k._accessibilityProvider=b.Internal.defaultAccessibilityProvider,k.level=0,k.rtl=a.config().rtlEnabled,j&&(k.createEditorAddOn=function(a){var c=new b.Internal.EditorAddOn(a,k.popupService);return a._disposables.push(c),{templateName:c.templateName,data:c}},k.popupService=j),k._editors=ko.observableArray([]).extend({deferred:!0}),k.level=f,k._parentDisabled=g,k._textToSearch=i,k._disposables.push(k.visible=ko.computed(function(){return k._editors().some(function(a){return a.visible()})})),k._viewModelSubscription=d.subscribe(function(a){k._infoSubscription&&k._infoSubscription.dispose(),k._getInfoComputed&&k._getInfoComputed.dispose(),k._update(a,e,h)}),k._update(d(),e,h),k}return __extends(d,c),d.prototype.update=function(a){a&&this._editors().forEach(function(b){b.update(a)})},d.prototype._cleanEditorsSubscriptions=function(){this._editors().forEach(function(a){a.dispose(),Object.keys(a).forEach(function(b){ko.isComputed(a[b])&&a[b].dispose()})})},d.prototype.dispose=function(){c.prototype.dispose.call(this),this.disposeObservableArray(this._editors),this.resetObservableArray(this._editors),this.cleanSubscriptions()},d.prototype.cleanSubscriptions=function(){this._infoSubscription&&this._infoSubscription.dispose(),this._getInfoComputed&&this._getInfoComputed.dispose(),this._viewModelSubscription&&this._viewModelSubscription.dispose(),this._cleanEditorsSubscriptions()},d.prototype.cleanEditors=function(){this._cleanEditorsSubscriptions(),this.resetObservableArray(this._editors)},d.prototype.findEditorByInfo=function(a){return this._editors().filter(function(c){return c.name===a.propertyName&&b.Internal.compareEditorInfo(c.info().editor,a.editor)})[0]},d.prototype.createEditor=function(a){var b=a.editor&&a.editor.editorType||f,c=new b(a,this.level,this._parentDisabled,this._textToSearch,this.popupService);return c.assingParent(this._parent),c.registerAccessibilityProvider(this._accessibilityProvider),c},d.prototype.createEditors=function(a){var b=this;return(a||[]).filter(function(a){return!!a.editor&&!b.findEditorByInfo(a)}).map(function(a){return b.createEditor(a)})},d.prototype.registerAccessibilityProvider=function(a){this._accessibilityProvider=a,this._editors().forEach(function(b){b.registerAccessibilityProvider(a)})},d.prototype.assignParent=function(a){this._parent=a,this._editors().forEach(function(b){b.assingParent(a)})},d.prototype._createEditors=function(a){if(!a||0===a.length)return!1;var b=this.createEditors(a);if(b.length){var c=this._editors();0===c.length?c=b:b.forEach(function(a){var b=c.map(function(a){return a.name}).indexOf(a.name);-1!==b?c.splice(b,0,a):c.push(a)}),this._editors(c)}},d.prototype._update=function(a,b,c){var d=this;c&&this.cleanEditors(),this._getInfoComputed=ko.computed(function(){return b&&b.editors&&ko.unwrap(b.editors)||a&&a.getInfo&&a.getInfo()}),this._infoSubscription=this._getInfoComputed.subscribe(function(b){c&&d.cleanEditors(),d._recreateEditors(a,b)}),this._recreateEditors(a,this._getInfoComputed())},d.prototype._recreateEditors=function(a,b){this._createEditors(b),this.update(a)},d.prototype.getEditors=function(){return this._editors()},d}(d.Disposable);c.ObjectProperties=j}(b.Widgets||(b.Widgets={})),function(a){var b=function(){function b(){this._queue=[],this._queueObj={},this._done=[],this._doneOnce=[]}return b.prototype.clear=function(){this._queue=[],this._queueObj={}},b.prototype.done=function(a){this._done.push(a)},b.prototype.doneOnce=function(a){this._doneOnce.push(a)},b.prototype._executeNext=function(a){for(void 0===a&&(a=this._queue[0]),delete this._queueObj[a];this._queue.length>0&&!this._queueObj[this._queue[0]];)this._queue.splice(0,1);if(0!==this._queue.length)this._queueObj[this._queue[0]]();else{for(var b=0;b<this._done.length;b++)this._done[b]();do{var c=this._doneOnce.pop();c&&c()}while(this._doneOnce.length)}},b.prototype.execute=function(b,c){var d=this;void 0===c&&(c=0);var e=a.guid(),f=$.Deferred();return c?(this._queue.push(e),this._queueObj[e]=function(){if(!d._queueObj[e])return d._executeNext(e);setTimeout(function(){d._queueObj[e]&&f.resolve(b()),d._executeNext(e)},c)},1===this._queue.length&&this._queueObj[this._queue[0]]()):f.resolve(b()),{dispose:function(){return delete d._queueObj[e],f.reject()},force:function(){return delete d._queueObj[e],f.resolve(b())},doNext:function(){return d._queue.splice(0,0,e)},$promise:f.promise()}},b}();a.CodeResolver=b,a.globalResolver=new b}(c=b.Internal||(b.Internal={})),function(c){ko.bindingHandlers.dxPropertyGrid={init:function(d,e,f,g,h){$(d).children().remove();var i=a.Analytics.Widgets.Internal.getTemplate("dx-propertieseditor"),j=$(d).append(i),k=e(),l=new c.ObjectProperties(k.target,k.editorsInfo,k.level,k.parentDisabled,k.recreateEditors,k.textToSearch);return ko.applyBindings(h.createChildContext(l),j.children()[0]),b.Internal.addDisposeCallback(d,function(){l.dispose()}),{controlsDescendantBindings:!0}}},ko.virtualElements.allowedBindings.lazy=!0,ko.bindingHandlers.lazy={init:function(a,c,d,e,f){var g=b.Internal.globalResolver,h=c();h.innerBindings&&(g=h.resolver,h=h.innerBindings);var i=!1,j=[];return $.each(h,function(b,c){var h=ko.bindingHandlers[b];j.push(g.execute(function(){if(!i){var b=!1;ko.computed({read:function(){!b&&h.init&&(h.init(a,function(){return c},d,e,f),b=!0),h.update&&h.update(a,function(){return c},d,e,f)},disposeWhenNodeIsRemoved:a})}},1))}),b.Internal.addDisposeCallback(a,function(){i=!0,j.forEach(function(a){return a.dispose()}),j=[]}),{controlsDescendantBindings:!0}}},ko.bindingHandlers.dxdAccordion={init:function(c,d){var e=d(),f=$(c),g=f.find(".dx-accordion-content").first(),h=function(){var b=f.parents(".dx-scrollview");if(b.length>0){var c=a.ui.dxScrollView.getInstance(b.get(0));c&&c.update()}},i=f.find(".dx-accordion-header,.dx-accordion-button").get(0);a.events.off(i,"dxclick"),a.events.on(i,"dxclick",function(){e.collapsed((!e.alwaysShow||!e.alwaysShow())&&!e.collapsed())}),e.collapsed()?g.hide():g.show();var j=e.collapsed.subscribe(function(a){g.slideToggle(e.timeout,function(){return h()})});b.Internal.addDisposeCallback(c,function(){return j.dispose()})}},ko.bindingHandlers.dxdAccordionExt={init:function(b,c,d,e,f){var g=c(),h=$(b),i=function(){var b=h.parents(".dx-scrollview");if(b.length>0){var c=a.ui.dxScrollView.getInstance(b.get(0));c&&c.update()}},j=h.find(".dx-accordion-content").first(),k=null;g.collapsed()&&!0===g.lazyContentRendering&&(k=j.html(),j.empty()),g.collapsed.subscribe(function(a){a?j.slideUp(g.timeout,function(){i()}):(k&&(j.html(k),ko.applyBindingsToDescendants(f,j.get(0)),k=null),j.slideDown(g.timeout,function(){i()}))}),g.collapsed()?j.hide():j.show()}},ko.bindingHandlers.dxLocalizedSelectBox={init:function(c,d,e,f,g){var h=d(),i=h.displayExpr;h.placeholder=h.placeholder||b.Internal.selectPlaceholder(),h.noDataText=h.noDataText||b.Internal.noDataText(),h.displayExpr=function(a){return a?i?b.Utils.getLocalization($.isFunction(i)?i(a):a[i],a.localizationId):b.Utils.getLocalization(a,a.localizationId):a},h.itemTemplate=function(b,c,d){var e=g.createChildContext({display:h.displayExpr(b)});$(d).children().remove();var f=a.Analytics.Widgets.Internal.getTemplate("item-with-title"),i=$(d).append(f);return ko.applyBindingsToDescendants(e,i[0]),d};var j=f.getOptions?f.getOptions(h):h;return ko.bindingHandlers.dxSelectBox.init(c,function(){return j},e,f,g),{controlsDescendantBindings:!0}}},ko.bindingHandlers.styleunit={update:function(a,b){var c=ko.utils.unwrapObservable(b()||{});$.each(c,function(b,c){c=ko.utils.unwrapObservable(c)||0,a.style[b]=c+"px"})}},ko.bindingHandlers.service={init:function(a,b,c,d,e){var f=ko.unwrap(b()||{}),g=function(a){var b=e.$parents.filter(function(b){return void 0!==b[a]})[0];return b?b[a]:null},h=g(f.name);if(h){var i=h(d),j=e.createChildContext(i.data);ko.renderTemplate(i.templateName,j,{},a,"replaceNode")}}}}(b.Widgets||(b.Widgets={})),function(a){var b=function(){function a(){}return a.prototype.isPropertyVisible=function(a){if(!a._model())return!1;var b=a._model(),c=!b.isPropertyVisible||b.isPropertyVisible(a.name);return c&&(c=this._calculateAccessibilityByPropertyInfo(b,a.info().visible,!0)),c},a.prototype.isPropertyDisabled=function(a){if(!a._model())return!0;var b=a._model();return b.isPropertyDisabled&&b.isPropertyDisabled(a.name)||this._calculateAccessibilityByPropertyInfo(b,a.info().disabled,!1)},a.prototype._calculateAccessibilityByPropertyInfo=function(a,b,c){return ko.isObservable(b)?b():"function"==typeof b?b(a):void 0!==b?b:c},a}();a.PropertiesAccessibilityProvider=b,a.defaultAccessibilityProvider=new b;var c=function(){function a(){this.data=ko.observable(),this.title=ko.observable(),this.visible=ko.observable(!1),this.actions=ko.observableArray([]),this.target=ko.observable()}return a}();a.PopupService=c;var e=function(a){function b(b,c){var d=a.call(this)||this;return d.showPopup=function(a,b){d._popupService.title(d._editor.displayName()),d._updateActions(d._editor.getPopupServiceActions()),d._popupService.target(b),d._popupService.visible(!0)},d.templateName="dx-editor-addons",d._editor=b,d._popupService=c,d._disposables.push(d._actions=ko.pureComputed(function(){return b.disabled()?[]:(b.getPopupServiceActions()||[]).filter(function(a){return a.visible(b.name)})})),d._disposables.push(d.visible=ko.pureComputed(function(){return d._actions().length>0})),d._disposables.push(d.hint=ko.pureComputed(function(){var a=[];return d._actions().forEach(function(b){return d._getTitles(b,[],a)}),a.join("\n")})),d._disposables.push(d.editorMenuButtonCss=ko.pureComputed(function(){var a=b._model();return a&&a.getActionClassName&&a.getActionClassName(b.name)||""})),d._disposables.push(d.imageTemplateName=ko.pureComputed(function(){var a=b._model();return a&&a.getMenuBoxTemplate&&a.getMenuBoxTemplate(b.name)||""})),d}return __extends(b,a),b.prototype._updateActions=function(a){var b=this;this._popupService.actions([]),a&&a.length&&(a.sort(function(a,b){return a.title<b.title?-1:a.title>b.title?1:0}).sort(function(a,b){return(a.weight||0)-(b.weight||0)}),this._wrapVisibleItems(a,this._editor.name).forEach(function(a){b._popupService.actions.push(a)}))},b.prototype._getTitles=function(a,b,c){var d=this;void 0===b&&(b=[]),void 0===c&&(c=[]);var e=ko.unwrap(a.title);(a.items||[]).forEach(function(a){var f=e?b.concat([e]):b;d._getTitles(a,f,c)});var f=ko.unwrap(a.hint);if(f&&e){var g=b.concat([e]).join(". ");return c.push(g+":\n"+f+"\n"),c}},b.prototype._wrapVisibleItems=function(a,b){var c=this;if(a)return a.map(function(a){return c._wrapActionClick(a,b)}).filter(function(a){return!!a})},b.prototype._wrapActionClick=function(a,b){var c=this;return a.visible(b)?{id:a.id,items:this._wrapVisibleItems(a.items,b),customTemplate:a.customTemplate,action:function(){a.action(b),c._popupService.visible(!1)},title:a.title,hint:a.hint,visible:function(){return!0}}:null},b}(d.Disposable);a.EditorAddOn=e}(c=b.Internal||(b.Internal={})),function(c){var e=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return __extends(b,a),b.prototype._getEditorValidationRules=function(){return(a.prototype._getEditorValidationRules.call(this)||[]).concat(f.guidValidationRules).concat(this.editorOptions&&this.editorOptions.isNullable?[]:f.guidRequiredValidationRules)},b}(c.Editor);c.GuidEditor=e;var f;!function(b){function c(a){return/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(a)||/^\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}$/.test(a)||/^\([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)$/.test(a)||/^[0-9a-fA-F]{32}$/.test(a)}function d(a){return a&&c(a)}function e(a){return!a||c(a)}b.validateGuid=d,b.validateNullableGuid=e;var f=function(){return a.Analytics.Utils.getLocalization("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error")};b.guidValidationRules=[{type:"custom",validationCallback:function(a){return e(a.value)},get message(){return f()}}],b.guidRequiredValidationRules=[{type:"required",get message(){return f()}}];var g={type:"required",get message(){return a.Analytics.Utils.getLocalization("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}};b.requiredValidationRules=[g]}(f=c.Internal||(c.Internal={})),function(c){var e=function(a){function b(b,c,d,e){void 0===e&&(e="");var f=a.call(this)||this;return f.collapsed=ko.observable(!0),f.selected=ko.observable(!1),f._disposables.push(f.value=ko.computed({read:function(){return c.peek()[d()]},write:function(a){c.peek()[d()]=a}})),f.editor=b,f.index=d,f._disposables.push(f.name=ko.computed(function(){return e&&f.value()&&f.value()[e]?ko.unwrap(f.value()[e]):d()})),f}return __extends(b,a),b}(d.Disposable);c.CollectionItemWrapper=e;var f=function(d){function f(b,e){void 0===e&&(e=ko.observable(!1));var f=d.call(this)||this;f.buttonMap={delete:{text:"Delete",localizationId:"AnalyticsCoreStringId.Cmd_Delete"},add:{text:"Add",localizationId:"DataAccessUIStringId.Button_Add"},down:{text:"Move Down",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}},f.selectedIndex=ko.observable(null),f.alwaysShow=ko.observable(!1),f.collapsed=ko.observable(!1!==b.collapsed);var g=b.addHandler||b.info&&b.info()&&b.info().addHandler,h=b.hideButtons||b.info&&b.info()&&b.info().hideButtons;f._textEmptyArray=b.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},f.displayPropertyName=b.info&&b.info()&&b.info().displayPropertyName||b.displayName,f._disposables.push(f.showButtons=ko.computed(function(){return!ko.unwrap(h)&&!f.collapsed()})),f.showScroll=!!b.showScroll;var i=function(a,c){return b.isDisabledButton?b.isDisabledButton(a,c):"delete"===c?null===a:"add"!==c&&("up"===c?null===a||0===a:"down"===c?null===a||a===f.values().length-1:void 0)};f.isDisabledButton=function(a){return e()||i(f.selectedIndex(),a)},f.isVisibleButton=function(a){return!!f.showButtons()&&(!b.isVisibleButton||b.isVisibleButton(f.selectedIndex(),a))},f.padding=void 0!==b.level?b.level*c.propertiesGridEditorsPaddingLeft:0,f.displayName=b.info&&b.info()?a.Analytics.Utils.getLocalization(b.info().displayName,b.info().localizationId):b.displayName,f.options=b,b.displayName||(f.collapsed(!1),f.alwaysShow(!0)),b.alwaysShow&&f.alwaysShow(!0),f._disposables.push(f.values=ko.computed(function(){return ko.unwrap(b.values())}));var j=ko.unwrap(b.selectedItem);return j&&(f._setSelectedIndex(j),f._disposables.push(b.selectedItem.subscribe(function(a){f._setSelectedIndex(a)}))),f.add=function(a){a.event.stopPropagation(),b.undoEngine&&b.undoEngine().start();var c=g();if(c){var d=b.values().push(c);b.undoEngine&&b.undoEngine().end(),b.selectedItem&&f.select({index:function(){return d-1}})}},f.up=function(a){f._move(b.values(),-1),a.event.stopPropagation()},f.down=function(a){f._move(b.values(),1),a.event.stopPropagation()},f.remove=function(a){if(a.event.stopPropagation(),!(f.selectedIndex()<0)){b.values().splice(f.selectedIndex(),1);var c=b.values()().length;c>0?f.select({index:function(){return f.selectedIndex()>=c?c-1:f.selectedIndex()}},!0):f.select({index:function(){return null}},!0)}},f.select=function(a,c){void 0===c&&(c=!1),(f.selectedIndex()!==a.index()||c)&&(f.selectedIndex(a.index()),b.selectedItem&&b.selectedItem(null!==f.selectedIndex()?f.values()[f.selectedIndex()]:null))},f.disabled=e,f}return __extends(f,d),f.prototype.dispose=function(){d.prototype.dispose.call(this),this.removeProperties()},f.prototype._move=function(a,b){if(this.selectedIndex()>=0){var c=this.selectedIndex(),d=c+b;if(d>=a().length||d<0)return;a.splice(d,0,a.splice(c,1)[0]),this.selectedIndex(d)}},f.prototype._setSelectedIndex=function(a){var b=this.values().indexOf(a);this.selectedIndex(-1===b?null:b)},f.prototype.getDisplayTextButton=function(b){return a.Analytics.Utils.getLocalization(this.buttonMap[b].text,this.buttonMap[b].localizationId)},f.prototype.getDisplayTextEmptyArray=function(){return a.Analytics.Utils.getLocalization(this._textEmptyArray.text,this._textEmptyArray.localizationId)},f.prototype.createCollectionItemWrapper=function(a,c,d){var f=new e(a,this.values,c,this.displayPropertyName);return b.Internal.addDisposeCallback(d,function(){return f.dispose()}),f},f}(d.Disposable);c.CollectionEditorViewModel=f,ko.bindingHandlers.dxCollectionEditor={init:function(c,d,e,g,h){var i=d(),j=new f(i,g.disabled),k=a.Analytics.Widgets.Internal.getTemplate(i.editorTemplate||"#dx-collectioneditor"),l=$(k),m=i.info&&i.info()&&i.info().template||i.template;if(m){var n=a.Analytics.Widgets.Internal.getTemplate(m);l.find(".dx-collection-item").append($(n))}else l.find(".dx-collection-item").append($(c).children());var o=$(c).append(l),p=h.createChildContext(j);return ko.applyBindings(p,o.children()[0]),b.Internal.addDisposeCallback(c,function(){return j.dispose()}),{controlsDescendantBindings:!0}}};var g="dx-ellipsiseditor",h=g+" dx-dropdowneditor",i=g+"-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button",j=g+"-icon dx-ellipsis-image dx-dropdowneditor-icon",k="dxrd-svg-ellipsis",l="dx-ellipsiseditor-warning",m=function(a){function c(b,c){return a.call(this,b,c)||this}return __extends(c,a),c.prototype._init=function(){a.prototype._init.call(this),this._$element||(this._$element=$(this.element())),this._$element.addClass(h),this._koContext=ko.contextFor(this._$element.get(0))},c.prototype._render=function(){a.prototype._render.call(this),this._renderButton(),this._updateWarningState()},c.prototype._updateWarningState=function(a){void 0===a&&(a=this.option("warningMessage")),a?(this._$element.attr("title",a),this._$element.addClass(l)):(this._$element.removeAttr("title"),this._$element.removeClass(l))},c.prototype._renderButton=function(){this._$button=$("<div />").addClass(i),this._attachButtonEvents(),this._$buttonIcon=$("<div />").addClass(j).height("100%").append(b.Widgets.Internal.SvgTemplatesEngine.templates[k]).appendTo(this._$button),ko.applyBindingsToDescendants(this._koContext,this._$buttonIcon[0]);var c=a.prototype._buttonsContainer.call(this);this._$button.prependTo(c)},c.prototype._updateButtonSize=function(){this._$buttonIcon.height($(this.element()).height())},c.prototype._attachButtonEvents=function(){var a=this,b=[];this._$input||(this._$input=$(this._input())),this._$button.off("click"),this._$input.off("click"),this.option("disabled")||b.push(this._$button),this.option("openOnFieldClick")&&b.push(this._$input),b.forEach(function(b){b.on("click",function(b){a.option("buttonAction")&&(a.option("buttonAction")(),b.stopPropagation())})})},c.prototype._optionChanged=function(b,c){switch(b.name||b){case"disabled":this._attachButtonEvents();break;case"warningMessage":this._updateWarningState(c)}a.prototype._optionChanged.apply(this,arguments)},c}(a.ui.dxTextBox);c.dxEllipsisEditor=m,a.registerComponent("dxEllipsisEditor",m);var g="dx-fileimage",n=g+"-input-wrapper",o=function(a){function c(b,c){return c.placeholder=c.placeholder||d.getLocalization("(none)","DxDesignerStringId.None"),a.call(this,b,c)||this}return __extends(c,a),c.prototype._getDisplayValue=function(){var a={Image:"AnalyticsCoreStringId.ImagePicker_Placeholder",File:"AnalyticsCoreStringId.FilePicker_Placeholder"},b=this.option("placeholderId");return this.option("value")&&b?d.getLocalization(b,a[b]):this.option("value")},c.prototype._handleResult=function(a){this.option("useFormat")&&this.option("format",a.format),this.option("value",a.content)},c.prototype._renderInput=function(b){var c=b&&$(b)||$("<div />");c.addClass(n),this._inputContainer=c.get(0),$(this.element()).append(this._inputContainer),a.prototype._renderInput.call(this,b)},c.prototype._attachButtonEvents=function(){var a=this;this._$button.off("click"),this.option("disabled")||this._$button.on("click",function(c){c.stopPropagation(),c.preventDefault(),b.Internal.uploadFile({accept:a.option("accept")||"image/*",readMode:a.option("readMode")}).done(function(b){a._handleResult(b)})})},c.prototype._renderValue=function(){this.option("text",this._getDisplayValue()),a.prototype._renderValue.call(this)},c}(m);c.dxFileImagePicker=o,a.registerComponent("dxFileImagePicker",o),c.availableUnits=[{value:"pt",displayValue:"Point",localizationId:"DevExpress.ReportDesigner_FontOptions_Unit_Point"},{value:"world",displayValue:"World",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_World"},{value:"px",displayValue:"Pixel",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_Pixel"},{value:"in",displayValue:"Inch",localizationId:"AnalyticsCoreStringId.Wizard_Inch"},{value:"doc",displayValue:"Document",localizationId:"PreviewStringId.ReportDesigner_FontOptions_Unit_Document"},{value:"mm",displayValue:"Millimetr",localizationId:"AnalyticsCoreStringId.Wizard_Millimeter"}];var p=function(a){function b(b){var c=a.call(this)||this;return c.family=ko.observable("Times New Roman"),c.unit=ko.observable("pt"),c.isUpdateModel=!1,c.size=ko.observable(9),c.modificators={bold:ko.observable(!1),italic:ko.observable(!1),strikeout:ko.observable(!1),underline:ko.observable(!1)},c.updateModel(b()),c._disposables.push(b.subscribe(function(a){c.isUpdateModel=!0,c.updateModel(a),c.isUpdateModel=!1})),c._disposables.push(c.modificators.bold.subscribe(function(a){return c.updateValue(b)})),c._disposables.push(c.modificators.italic.subscribe(function(a){return c.updateValue(b)})),c._disposables.push(c.modificators.strikeout.subscribe(function(a){return c.updateValue(b)})),c._disposables.push(c.modificators.underline.subscribe(function(a){return c.updateValue(b)})),c._disposables.push(c.family.subscribe(function(a){return c.updateValue(b)})),c._disposables.push(c.size.subscribe(function(a){return c.updateValue(b)})),c._disposables.push(c.unit.subscribe(function(a){return c.updateValue(b)})),c}return __extends(b,a),b.prototype.updateModel=function(a){if(a){var b=a.split(",");this.family(b[0]);var d=this;c.availableUnits.forEach(function(a){-1!=b[1].indexOf(a.value)&&(d.size(parseFloat(b[1].split(a.value)[0])),d.unit(a.value))}),this.modificators.bold(-1!==a.indexOf("Bold")),this.modificators.italic(-1!==a.indexOf("Italic")),this.modificators.underline(-1!==a.indexOf("Underline")),this.modificators.strikeout(-1!==a.indexOf("Strikeout"))}},b.prototype.updateValue=function(a){if(!this.isUpdateModel){var b=[this.family(),this.size()+this.unit()].join(", "),c=[];this.modificators.bold()&&c.push("Bold"),this.modificators.italic()&&c.push("Italic"),this.modificators.underline()&&c.push("Underline"),this.modificators.strikeout()&&c.push("Strikeout");var d=c.join(", ");a(d?[b,d].join(", style="):b)}},b}(d.Disposable);c.FontModel=p,c.availableFonts=ko.observable({})}(f=c.Internal||(c.Internal={}));var g=function(a){function b(b,c,d,e){return a.call(this,b,c,d,e)||this}return __extends(b,a),b.prototype.createObjectProperties=function(){var a=new f.FontModel(this.value);return this._disposables.push(a),new c.ObjectProperties(ko.observable(a),{editors:h.fontInfo},this.level+1,this.disabled,void 0,this.textToSearch)},b}(c.PropertyGridEditor);c.FontEditor=g;var h;!function(a){a.fontName={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:c.editorTemplates.combobox,values:f.availableFonts},a.fontSize={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:c.editorTemplates.numeric},a.fontSizeUnit={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:c.editorTemplates.combobox,valuesArray:f.availableUnits},a.fontInfo=[a.fontName,a.fontSize,a.fontSizeUnit,{propertyName:"modificators",editor:c.editorTemplates.modificators}]}(h=c.Metadata||(c.Metadata={})),c.editorTemplates.font={header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:g},function(b){function d(b){var b="#"===b[0]?b.substr(1):b;return $("#"+b).text()||a.Analytics.Widgets.Internal.SvgTemplatesEngine.templates[b]}b.extendedTemplates=function(a){return void 0===a&&(a=c.Internal.SvgTemplatesEngine.templates),{"dxrd-svg-fieldlist-list":a["dxrd-svg-fieldlist-table"],"dxrd-svg-fieldlist-default":a["dxrd-svg-fieldlist-column"]}},b.availableTemplates={"dxrd-svg-collapsed":'<svg data-bind="svgAttrs" viewBox="0 0 9 9"><path class="dxd-icon-fill" d="M2 2l5 3-5 3z"/></svg>',"dxrd-svg-ellipsis":'<svg data-bind="svgAttrs" viewBox="-467 277 16 16"><path class="dxd-icon-fill" d="M-464 284h2v2h-2zM-460 284h2v2h-2zM-456 284h2v2h-2z"/></svg>',"dxrd-svg-expressioneditor-addition":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-expressioneditor-and":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-60" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/></svg>',"dxrd-svg-expressioneditor-division":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2 10h20v4H2z"/><circle class="dxd-icon-fill" cx="12" cy="6" r="2"/><circle class="dxd-icon-fill" cx="12" cy="18" r="2"/></svg>',"dxrd-svg-expressioneditor-edit":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 8l-6 6-6-6z"/></svg>',"dxrd-svg-expressioneditor-equal":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M4 6h16v4H4zM4 12h16v4H4z"/></svg>',"dxrd-svg-expressioneditor-greater":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M4 4v2l10 6-10 6v2l14-8z"/></svg>',"dxrd-svg-expressioneditor-greater_or_equal":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M4 2v2l10 6-10 6v2l14-8zM4 22l14-8v-2L4 20z"/></svg>',"dxrd-svg-expressioneditor-less":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 4v2L8 12l10 6v2L4 12z"/></svg>',"dxrd-svg-expressioneditor-less_or_equal":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 2v2L8 10l10 6v2L4 10zM18 22L4 14v-2l14 8z"/></svg>',"dxrd-svg-expressioneditor-modulus":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M16 4L2 20h4L20 4zM16 12c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM6 12c2.2 0 4-1.8 4-4S8.2 4 6 4 2 5.8 2 8s1.8 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"/></svg>',"dxrd-svg-expressioneditor-multiplication":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 6l-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-60" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not_equal":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M20 0h-2l-3.8 6H4v4h7.6l-1.2 2H4v4h3.8L4 22h2l3.8-6H20v-4h-7.6l1.2-2H20V6h-3.8z"/></svg>',"dxrd-svg-expressioneditor-or":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-60" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-60" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zM15 16c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/></svg>',"dxrd-svg-expressioneditor-parenthesis":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2 11c0 3.8 1.8 7.1 4 9h2c-2.2-1.9-4-5.2-4-9s1.8-7.1 4-9H6c-2.2 1.9-4 5.2-4 9zM16 2h-2c2.2 1.8 4 5.2 4 9s-1.8 7.2-4 9h2c2.2-1.8 4-5.2 4-9s-1.8-7.2-4-9z"/><path class="dxd-icon-fill" d="M6 10h2v2H6zM10 10h2v2h-2zM14 10h2v2h-2z"/></svg>',"dxrd-svg-expressioneditor-subtraction":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M4 10h16v4H4z"/></svg>',"dxrd-svg-fieldlist-array":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M18 6v2h-2v2h2v8h2V6zM4 8H2v2h2v8h2V6H4zM8 18h6V6H8v12zm2-10h2v8h-2V8z"/></svg>',"dxrd-svg-fieldlist-bitearray":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M18 6v2h-2v2h2v8h2V6zM4 8H2v2h2v8h2V6H4zM8 18h6V6H8v12zm2-10h2v8h-2V8z"/></svg>',"dxrd-svg-fieldlist-bool":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 10v4l6 6 10-10V6L10 16z"/></svg>',"dxrd-svg-fieldlist-booleanfield":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 10v4l6 6 10-10V6L10 16z"/></svg>',"dxrd-svg-fieldlist-column":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0h22v4H0zM6 6h4v16H6zM12 12h4v4h-4zM12 18h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM18 18h4v4h-4zM12 6h4v4h-4zM0 18h4v4H0zM0 6h4v4H0zM18 12h4v4h-4z"/></svg>',"dxrd-svg-fieldlist-datasource":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><ellipse class="dxd-icon-fill dxd-opacity-80" cx="11" cy="4" rx="7" ry="2"/><path class="dxd-icon-fill dxd-opacity-80" d="M11 10c-3.9 0-7-.9-7-2v12c0 1.1 3.1 2 7 2s7-.9 7-2V8c0 1.1-3.1 2-7 2z"/></svg>',"dxrd-svg-fieldlist-date":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M11 0C4.9 0 0 4.9 0 11s4.9 11 11 11 11-4.9 11-11S17.1 0 11 0zm6 12h-6c-.5 0-1-.5-1-1V5c0-.5.5-1 1-1s1 .5 1 1v5h5c.5 0 1 .5 1 1s-.5 1-1 1z"/></svg>',"dxrd-svg-fieldlist-datetimefield":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M11 0C4.9 0 0 4.9 0 11s4.9 11 11 11 11-4.9 11-11S17.1 0 11 0zm6 12h-6c-.5 0-1-.5-1-1V5c0-.5.5-1 1-1s1 .5 1 1v5h5c.5 0 1 .5 1 1s-.5 1-1 1z"/></svg>',"dxrd-svg-fieldlist-doublefield":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M6 6H4v2h2v10h2V4H6zM10 16h2v2h-2zM20 12V4h-6v2h4v4h-4v8h6v-2h-4v-4z"/></svg>',"dxrd-svg-fieldlist-enum":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M13 12H1c-.5 0-1 .5-1 1v8c0 .5.5 1 1 1h12c.5 0 1-.5 1-1v-8c0-.5-.5-1-1-1zm-1 8H2v-2h10v2zm0-4H2v-2h10v2zM23 4H11c-.5 0-1 .5-1 1v5h12v2h-6v2h7c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zm-1 4H12V6h10v2z"/></svg>',"dxrd-svg-fieldlist-float":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M6 6H4v2h2v10h2V4H6zM10 16h2v2h-2zM20 12V4h-6v2h4v4h-4v8h6v-2h-4v-4z"/></svg>',"dxrd-svg-fieldlist-guid":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M10 10v10h8V2h-2v8h-6zm2 2h4v6h-4v-6zM6 10h2v10H6zM6 6h2v2H6z"/></svg>',"dxrd-svg-fieldlist-integer":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8H2v2h2v8h2V6H4zM8 6v2h4v2H8v8h6v-2h-4v-4h4V6h-2zM16 6v2h4v2h-2v2h2v4h-4v2h6V6z"/></svg>',"dxrd-svg-fieldlist-integerfield":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8H2v2h2v8h2V6H4zM8 6v2h4v2H8v8h6v-2h-4v-4h4V6h-2zM16 6v2h4v2h-2v2h2v4h-4v2h6V6z"/></svg>',"dxrd-svg-fieldlist-listsource":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><ellipse class="dxd-icon-fill dxd-opacity-80" cx="11" cy="4" rx="7" ry="2"/><path class="dxd-icon-fill dxd-opacity-80" d="M11 10c-3.9 0-7-.9-7-2v12c0 1.1 3.1 2 7 2s7-.9 7-2V8c0 1.1-3.1 2-7 2z"/></svg>',"dxrd-svg-fieldlist-none":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0v22h22V0H0zm16 14l-2 2-3-3-3 3-2-2 3-3-3-3 2-2 3 3 3-3 2 2-3 3 3 3z"/></svg>',"dxrd-svg-fieldlist-parameters":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M12 4h4v8h-4zM8 18h4v4H8zM8 12h4v4H8zM8 0h4v4H8zM4 4h4v4H4z"/></svg>',"dxrd-svg-fieldlist-range":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 4h4v2H4v12h4v2H2V4h2zm16 0h-4v2h4v12h-4v2h6V4h-2z"/></svg>',"dxrd-svg-fieldlist-string":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8h4v4H2v8h8V6H4v2zm4 10H4v-4h4v4zM14 10V2h-2v18h8V10h-6zm4 8h-4v-6h4v6z"/></svg>',"dxrd-svg-fieldlist-stringfield":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8h4v4H2v8h8V6H4v2zm4 10H4v-4h4v4zM14 10V2h-2v18h8V10h-6zm4 8h-4v-6h4v6z"/></svg>',"dxrd-svg-fieldlist-table":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0h22v4H0zM12 12h4v4h-4zM12 18h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM18 18h4v4h-4zM12 6h4v4h-4zM6 12h4v4H6zM6 18h4v4H6zM6 6h4v4H6zM0 18h4v4H0zM0 6h4v4H0zM18 12h4v4h-4z"/></svg>',"dxrd-svg-fieldlist-view":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 6h4v4H0zM6 6h4v4H6zM12 6h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM6 12h4v4H6zM0 18h4v4H0zM6 18h4v4H6zM0 0h22v4H0zM23.7 22.3l-2.5-2.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l2.5 2.5c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4zM17 20c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/></svg>',"dxrd-svg-filtereditor-add":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-filter-editor-add-icon-fill-color" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-filtereditor-edit":'<svg data-bind="svgAttrs" viewBox="0 0 16 16"><path class="dxd-filter-editor-text-color" d="M4 7h8l-4 4"/></svg>',"dxrd-svg-filtereditor-remove":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-filter-editor-remove-icon-fill-color" d="M18 6l-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-fontstyle-bold":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M14.4 10.8c1.1.3 1.9.7 2.5 1.3.8.8 1.1 1.8 1.1 3 0 .9-.2 1.8-.7 2.6-.5.8-1.2 1.4-2 1.8-.9.4-2.2.6-4 .6H4v-.5h.4c.7 0 1.1-.2 1.4-.7.2-.5.2-2 .2-3V6c0-1.1 0-2.6-.3-2.9-.3-.4-.7-.6-1.3-.6H4V2h6.6c1.3 0 2.3.1 3.1.3 1.2.3 2.1.9 2.7 1.7s.9 1.7.9 2.8c0 .9-.2 1.7-.7 2.4-.5.7-1.2 1.3-2.2 1.6zM8 10H10.6c1.1 0 2 0 2.6-.3.6-.3.9-.6 1.2-1.2.3-.6.5-1.2.5-1.9 0-1.1-.4-2-1.1-2.7S11.4 3 10 3H8v7zm0 8.9h3c1.4 0 2.5-.3 3.2-1s1.1-1.6 1.1-2.7c0-.7-.2-1.4-.5-2-.3-.6-.9-1.2-1.6-1.5-.8-.4-1.5-.7-2.7-.7H8v7.9z"/></svg>',"dxrd-svg-fontstyle-italic":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M14 21.5l-.2.5H6l.2-.5c.8 0 1.3-.1 1.6-.2.4-.2.7-.4.9-.7.3-.5.5-1.3.8-2.5l2.4-12c.3-1.3.3-1.8.3-2.3 0-.3-.1-.5-.2-.6s-.3-.3-.6-.4c-.3-.1-.7-.1-1.5-.1l.3-.7H18l-.2.5c-.6 0-1.4.1-1.7.2-.4.2-.8.5-1 .8-.1.5-.5 1-.8 2.5L12 18.1c-.2 1.3-.3 1.7-.3 2.1 0 .2.1.5.2.6.1.2.3.3.6.4s.7.2 1.5.3z"/></svg>',"dxrd-svg-fontstyle-strikeout":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M20 12h-5.3c-.7-.4-1.7-.9-2.9-1.5-2.4-1.2-3.9-2.1-4.6-2.8-.4-.5-.7-1-.7-1.6 0-.8.3-1.4 1-2.1.6-.4.8-.7 2.1-.9.9-.1 1.9.2 2.8.7.9.4 1.6 1 2.1 1.8s.8 1.4 1 2.4h.5V2h-.5c-.1.4-.2.7-.4.9-.2.1-.4.2-.7.2-.2 0-.6-.1-1.2-.4-1.3-.5-2.5-.7-3.6-.7-1.8 0-3 .8-3.9 1.5C4.5 4.4 4 5.7 4 7c0 .8.2 1.5.6 2.2s1 1.3 1.7 1.8c.4.3.9.6 1.6 1H2v2h9.7c.9.5 1.5.8 1.8 1 .6.4 1 .9 1.3 1.3s.4 1 .4 1.4c0 .8-.4 1.6-1.1 2.2-.8.6-1.8.9-3.1.9-1.1 0-2.1-.2-3.1-.7-.9-.5-1.8-1-2.3-1.7-.2-.2-.8-1.4-1-2.4H4v6h.6c.1-.4.2-.7.3-.9.2-.1.4-.2.6-.2.3 0 1.1.1 2.1.4s1.7.5 2 .5c.5.1 1.1.1 1.7.1 1.9 0 3.5-.5 4.8-1.6 1.2-1 1.9-2.3 1.9-3.7 0-.8-.2-1.5-.6-2.2-.1-.2-.2-.2-.3-.4H20v-2z"/></svg>',"dxrd-svg-fontstyle-underline":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M14 0v1h.9c.4 0 .7.1.8.2.3.4.3 1.2.3 2.3V12c0 .8 0 1.7-.1 2.6-.1 1-.5 1.8-1 2.3-1 .9-3 1.1-3.7 1.1-.7 0-2.9-.2-3.9-1.1-.7-.7-.9-1.3-1.1-2.2-.2-1.1-.2-2-.2-2.7V3.5c0-1.1 0-2 .3-2.2.2-.2.6-.3 1.1-.3H8V0H2v1h.9c.7 0 .9.1 1 .2.1.2.1 1.1.1 2.3v7.6c0 2.4.2 4 .5 4.8.5 1.2 1.3 2.3 2.4 3C8.7 20 9.9 20 11 20c1.4 0 2.6-.1 4.1-1.1 1.1-.8 1.9-1.7 2.3-3 .3-.9.4-2.5.4-4.8V3.5c0-1.2 0-1.9.3-2.2.3-.3.5-.3 1.3-.3h.6V0h-6zM2 22h18v2H2z"/></svg>',"dxrd-svg-menu-menu":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2 2h20v4H2zM2 10h20v4H2zM2 18h20v4H2z"/></svg>',"dxrd-svg-menu-open":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M4 8L2 20h18l2-12z"/><path class="dxd-icon-fill" d="M20 6V4H6V2H0v18L2 6z"/></svg>',"dxrd-svg-menu-save":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M10 0h6v6h-6z"/><path class="dxd-icon-fill" d="M18 0v8H4V0H2L0 2v20h22V0h-4zm0 18H4v-6h14v6z"/></svg>',"dxrd-svg-menu-saveas":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M21 15.1V22c0 .5-.5 1-1 1H2c-.5 0-1-.5-1-1V4c0-.5.5-1 1-1h3v7h3.5c.6 1.6 1.5 3 2.8 4H5v5h12v-3c1.4 0 2.8-.3 4-.9zM24 7c0 3.9-3.1 7-7 7s-7-3.1-7-7 3.1-7 7-7 7 3.1 7 7zM14 6h-2v2h2V6zm4 0h-2v2h2V6zm4 2V6h-2v2h2z"/></svg>',"dxrd-svg-operations-add":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M22 10h-8V2h-4v8H2v4h8v8h4v-8h8z"/></svg>',"dxrd-svg-operations-add_calcfield":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 8V0H0v16h10c0-4.4 3.6-8 8-8zM8 4H6v2h2v2H6v6H2v-2h2V8H2V6h2V2h4v2z"/><path class="dxd-icon-fill" d="M18 10c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2z"/></svg>',"dxrd-svg-operations-add_datasource":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M16 10c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2zM8 13c-3.1 0-6-.9-6-2v5c0 1.1 2.9 2 6 2h.3c-.2-.6-.3-1.3-.3-2 0-1.1.2-2.1.6-3H8zM14 8.3V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.3 0 1.9-.1 1-1.3 2.5-2.2 4.1-2.6z"/></svg>',"dxrd-svg-operations-add_query":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M0 6h4v4H0zM6 6h4v4H6zM12 6h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM6 12h4v4H6zM0 18h4v4H0zM6 18h4v4H6zM0 0h22v4H0zM18 12c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2z"/></svg>',"dxrd-svg-operations-ascending":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M12 0L6 6h4v16h4V6h4z"/></svg>',"dxrd-svg-operations-descending":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M12 22l6-6h-4V0h-4v16H6z"/></svg>',"dxrd-svg-operations-edit":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2 22h4l-4-4zM4 16l4 4 8-8-4-4zM16 4l-2 2 4 4 2-2z"/></svg>',"dxrd-svg-operations-movedown":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M6 10l6 6 6-6V6l-6 6-6-6z"/></svg>',"dxrd-svg-operations-moveleft":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M12 6l-6 6 6 6h4l-6-6 6-6z"/></svg>',"dxrd-svg-operations-moveleft_all":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M12 6H8l-6 6 6 6h4l-6-6z"/><path class="dxd-icon-fill" d="M20 6h-4l-6 6 6 6h4l-6-6z"/></svg>',"dxrd-svg-operations-moveright":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M10 18l6-6-6-6H6l6 6-6 6z"/></svg>',"dxrd-svg-operations-moveright_all":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M10 18h4l6-6-6-6h-4l6 6z"/><path class="dxd-icon-fill" d="M2 18h4l6-6-6-6H2l6 6z"/></svg>',"dxrd-svg-operations-moveup":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 12l-6-6-6 6v4l6-6 6 6z"/></svg>',"dxrd-svg-operations-recycle_bin":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M6 19c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V8H6v11zM19 4h-5V3c0-.5-.5-1-1-1h-2c-.5 0-1 .5-1 1v1H5c-.6 0-1 .4-1 1v1h16V5c0-.6-.4-1-1-1z"/></svg>',"dxrd-svg-operations-remove":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M4 10h14v4H4z"/></svg>',"dxrd-svg-operations-unsorted":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M0 20l6-6V6H2l5-6 5 6H8v6l6-6V0h2v4l4-4 2 2-6 6v8h4l-5 6-5-6h4v-6l-6 6v6H6v-4l-4 4z"/></svg>',"dxrd-svg-properties-borders-all":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0v22h22V0H0zm20 20H2V2h18v18z"/></svg>',"dxrd-svg-properties-borders-bottom":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 12h2v4H0zM12 0h4v2h-4zM0 6h2v4H0zM18 2h2v2h2V0h-4zM6 0h4v2H6zM20 18v2H2v-2H0v4h22v-4zM2 4V2h2V0H0v4zM20 6h2v4h-2zM20 12h2v4h-2z"/></svg>',"dxrd-svg-properties-borders-left":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM4 20H2V2h2V0H0v22h4zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6z"/></svg>',"dxrd-svg-properties-borders-none":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6zM0 6h2v4H0zM2 4V2h2V0H0v4zM2 18H0v4h4v-2H2zM0 12h2v4H0z"/></svg>',"dxrd-svg-properties-borders-right":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M12 20h4v2h-4zM0 6h2v4H0zM6 20h4v2H6zM2 4V2h2V0H0v4zM0 12h2v4H0zM18 2h2v18h-2v2h4V0h-4zM4 20H2v-2H0v4h4zM6 0h4v2H6zM12 0h4v2h-4z"/></svg>',"dxrd-svg-properties-borders-top":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M20 6h2v4h-2zM6 20h4v2H6zM20 12h2v4h-2zM4 20H2v-2H0v4h4zM12 20h4v2h-4zM2 4V2h18v2h2V0H0v4zM20 18v2h-2v2h4v-4zM0 12h2v4H0zM0 6h2v4H0z"/></svg>',"dxrd-svg-properties-search":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2.6 21.4c.8.8 2 .8 2.8 0l4.6-4.6c1.2.7 2.6 1.1 4.1 1.1 4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8c0 1.5.4 2.9 1.1 4.1l-4.6 4.6c-.8.8-.8 2 0 2.8zM10 10.1c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 4-4-1.9-4-4z"/></svg>',"dxrd-svg-properties-sortingbyalphabet":'<svg data-bind="svgAttrs" viewBox="0 0 16 16"><path class="dxd-icon-fill" d="M3.2 0L1 7h1.6L3 5.3h2L5.4 7H7L4.9 0H3.2zm0 4.2L3.8 2c0-.1.1-.4.2-.8v.1c0 .3.1.6.1.7l.5 2.2H3.2zM1 10h4l-4 5v1h6v-1H3l4-5V9H1zM13 12V0h-2v12H8l4 4 4-4z"/></svg>',"dxrd-svg-properties-sortingbygroups":'<svg data-bind="svgAttrs" viewBox="0 0 16 16"><path class="dxd-icon-fill" d="M1 7h7V0H1v7zm1-6h5v5H2V1zM9 1h6v1H9zM9 3h6v1H9zM9 5h6v1H9zM9 10h6v1H9zM9 12h6v1H9zM9 14h6v1H9z"/><path class="dxd-icon-fill" d="M5 2H4v1H3v1h1v1h1V4h1V3H5zM1 16h7V9H1v7zm1-6h5v5H2v-5z"/><path class="dxd-icon-fill" d="M5 11H4v1H3v1h1v1h1v-1h1v-1H5z"/></svg>',"dxrd-svg-queryBuilder-aggregate":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M21 0H3v4l8 8-8 8v4h18v-4H7l8-8-8-8h14z"/></svg>',"dxrd-svg-queryBuilder-data_preview":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M21.7 20.3l-2.5-2.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l2.5 2.5c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4zM15 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M8.7 13s-.1 0 0 0c-.1 0-.1 0 0 0H7.3C4.4 12.8 2 12 2 11v5c0 1 2.6 1.9 5.4 2H9c-.4-.9-.7-1.9-.7-2.9.1-.8.2-1.5.4-2.1zM14 8.2V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.2 0 1.7-.1 1-1.4 2.5-2.4 4.3-2.7z"/></svg>',"dxrd-svg-queryBuilder-group_by":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2 4h14v6H2zM8 14h14v6H8z"/></svg>',"dxrd-svg-queryBuilder-select_statment":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M18 4l-4-4v4zM21.7 22.3l-4.5-4.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l4.5 4.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM13.1 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.4 3-3 3z"/><path class="dxd-icon-fill" d="M13 8c2 0 3.7.8 5 2.1V6h-6V0H0v20h8.1C6.8 18.7 6 17 6 15c0-3.9 3.1-7 7-7z"/></svg>',"dxrd-svg-queryBuilder-sorting_asc":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM14 14h6l-6 6v2h8v-2h-6l6-6v-2h-8zM19.4 0L14 10h2l.9-2H20v2h2V0h-2.6zm.6 6h-1.9L20 2v4z"/></svg>',"dxrd-svg-queryBuilder-sorting_desc":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM22 0h-8v2h6l-6 6v2h8V8h-6l6-6zM14 22h2l.9-2H20v2h2V12h-2.6L14 22zm6-4h-1.9l1.9-4v4z"/></svg>',"dxrd-svg-tabs-properties":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><circle class="dxd-icon-fill" cx="12" cy="12" r="2"/><path class="dxd-icon-fill" d="M20 10h-.3c-.2-.7-.5-1.4-.9-2.1l.2-.2c.8-.8.8-2.1 0-2.8-.8-.8-2.1-.8-2.8 0l-.2.2c-.6-.4-1.3-.7-2.1-.9V4c0-1.1-.9-2-2-2S10 2.9 10 4v.3c-.7.2-1.4.4-2.1.8l-.1-.2c-.8-.7-2.1-.7-2.9 0-.7.8-.7 2.1 0 2.9l.2.2c-.4.6-.6 1.3-.8 2H4c-1.1 0-2 .9-2 2s.9 2 2 2h.3c.2.7.5 1.4.9 2.1l-.2.2c-.8.8-.8 2.1 0 2.8.8.8 2.1.8 2.8 0l.2-.2c.6.4 1.3.7 2.1.9v.2c0 1.1.9 2 2 2s2-.9 2-2v-.3c.7-.2 1.4-.5 2.1-.9l.2.2c.8.8 2.1.8 2.8 0 .8-.8.8-2.1 0-2.8L19 16c.4-.6.7-1.3.9-2.1h.1c1.1 0 2-.9 2-2 0-1-.9-1.9-2-1.9zm-8 6c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"/></svg>',"dxrd-svg-toolbar-copy":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M10 10h4l-4-4z"/><path class="dxd-icon-fill" d="M8 6H0v18h14V12H8zM18 0v4h4z"/><path class="dxd-icon-fill" d="M16 0H8v4h2l6 6v8h6V6h-6z"/></svg>',"dxrd-svg-toolbar-cut":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M17.9 14c-.6 0-1.2.1-1.7.4L14 12l6-6V2l-8 8-8-8v4l6 6 2-2 2 2-2 2-2-2-2.3 2.4c-.6-.2-1.1-.4-1.7-.4-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4c0-.6-.1-1.1-.3-1.6L12 14l2.3 2.4c-.2.5-.3 1-.3 1.6 0 2.2 1.8 4 4 4s4-1.8 4-4c-.1-2.2-1.9-4-4.1-4zM6 20c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm11.9 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-toolbar-delete":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M20 4l-2-2-7 7-7-7-2 2 7 7-7 7 2 2 7-7 7 7 2-2-7-7z"/></svg>',"dxrd-svg-toolbar-paste":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M8 2V0H6v2H4v2h6V2zM16 16v-6h-6v14h12v-8z"/><path class="dxd-icon-fill" d="M22 14h-4v-4zM8 8h6V2h-2v4H2V2H0v16h8z"/></svg>',"dxrd-svg-toolbar-redo":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M24 9L14 2v4h-1.2C6 6 0 12.2 0 19v3c1.6-5.9 7-10 12.8-10H14v4.1L24 9z"/></svg>',"dxrd-svg-toolbar-undo":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M0 9l10-7v4h1.2C18 6 24 12.2 24 19v3c-1.6-5.9-7-10-12.8-10H10v4.1L0 9z"/></svg>',"dxrd-svg-toolbar-validate":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M22 6L8 20l-6-6v-4l6 6L22 2v4z"/></svg>',"dxrd-svg-toolbar-zoomin":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M22 10h-8V2h-4v8H2v4h8v8h4v-8h8z"/></svg>',"dxrd-svg-toolbar-zoomout":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M2 10h20v4H2z"/></svg>',"dxrd-svg-wizard-Download":'<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill" d="M7 12l5 5 5-5h-4V2h-2v10H7zm8-4v2h4v10H5V10h4V8H3v14h18V8h-6z"/></svg>',"dxrd-svg-wizard-JsonDataSource":'<svg data-bind="svgAttrs" viewBox="0 0 96 96"><style>.Black{fill:#727272;} .White{fill:#FFFFFF;} .Green{fill:#039C23;} .Blue{fill:#1177D7;} .Red{fill:#D11C1C;} .st0{opacity:0.75;} .st1{opacity:0.25;} .st2{opacity:0.5;}</style><g><path class="st2 Black" d="M63.6 72.5c-.1-.2-.2-.4-.3-.7-.5-1.4-.8-2.9-.9-4.4-.1-2.3.4-4.5 1.5-6.3.7-1.2 1.7-2.4 2.8-3.2.4-.3 1.1-.7 1.1-.7s.5-.3 1.2-.6c.1.1.2.1.3.2 1.7 1.2 3 2.8 3.9 4.6.3.7.6 1.5.8 2.3v2.8c0 2.4-4.1 4.6-10.4 6zm-20.4-2.2c-.3-2.6-.3-5.3.2-7.9.4-2.3 1.2-4.5 2.2-6.5C48.9 49.5 55 44.6 62 42.8c1.4-.4 4.2-.8 5.8-.8 1.4 0 4.4.6 6.2 1.4v-22c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.8 9.5 6.9 21.9 7.5-.3-1.2-.5-2.4-.7-3.6z"/><ellipse class="st1 Black" cx="48" cy="19.5" rx="26" ry="7.5"/><path class="Blue" d="M91.8 70.1c-.3 2.4-1 4.8-2 7-1.2 2.5-2.9 4.9-4.9 6.9-2.2 2.1-4.8 4-7.6 5.2-2 .9-5.5 1.9-9.1 1.9-1 0-3.3-.6-4.7-1.1-2.4-1-4.6-2.5-6.3-4.5-1.1-1.3-2-2.8-2.7-4.3-1.1-2.5-1.7-5.3-1.9-8.1-.1-2-.1-4 .2-5.9.5-3.1 1.8-6.2 4.1-8.5.4-.4 1.9-1.6 2.7-2.1.8-.5 3.2-1.3 4.5-1.4 1-.1 2 0 2.9.2-.5.3-1 .6-1.4 1-1.4 1-2.5 2.3-3.3 3.8-1.3 2.2-1.8 4.8-1.7 7.3 0 1.7.4 3.5 1 5.1.5 1.3 1.2 2.5 2.1 3.5.7.8 1.6 1.6 2.5 2.2.5.3 1 .7 1.6.9.5.2 1 .4 1.5.5 3.1.7 6.4-.4 8.9-2.2 1.5-1.1 2.8-2.6 3.8-4.2 1.4-2.2 2.2-4.7 2.5-7.2.2-1.5.2-3 .1-4.5-.1-2-.4-4.1-1-6-.8-3-2.3-5.8-4.4-8.1-.9-1-2-1.9-3.1-2.7-.2-.2-.5-.3-.7-.4-.2-.1-.5-.3-.7-.4 1.5.4 3 1 4.4 1.7 3.9 2 7.3 4.9 9.6 8.6.7 1 1.2 2.1 1.7 3.2.8 1.8 1.3 3.7 1.6 5.6.1 2.3.1 4.7-.2 7zm-40.1 8.6c-.6-2-.9-4.2-1-6.5-.1-1.5-.1-2.9.1-4.3.3-2.8 1.1-5.4 2.4-7.5 1-1.7 2.3-3.2 3.8-4.4 1.1-.8 2.3-1.5 3.5-1.9 1.3-.5 2.6-.7 4-.7.5 0 1.1 0 1.6.1.7.1 1.4.3 2 .5.1.1.7.3.8.4.4.2.9.5 1.5.9 2 1.4 3.5 3.2 4.5 5.4.9 1.9 1.3 4 1.4 6.3 0 2.4-.4 4.7-1.4 6.7-.8 1.7-2 3.3-3.4 4.5 2.2-.2 4.5-1.2 6.4-3 .4-.3.7-.7 1-1.1.5-.6.9-1.1 1.2-1.5.4-.7.8-1.4 1.2-2.2.5-1.1.8-2.1 1-3.1.3-1.7.4-3.5.3-5.8-.3-4.3-1.5-8-3.5-10.9-.4-.6-.7-1-1-1.4-.6-.7-1.3-1.3-2-2-.8-.7-1.1-.9-2.5-1.7S69 44 67.8 44c-1.3 0-4 .3-5.4.6-6.5 1.7-12 6.2-15 12.2-.9 1.9-1.6 3.9-2 6-.5 2.4-.5 4.8-.2 7.2.2 2 .7 3.9 1.5 5.7.4 1 .9 2.1 1.6 3.1 1.8 2.9 4.2 5.3 7.2 7.2-1.7-1.9-3-4.5-3.8-7.3z"/></g></svg>',"dxrd-svg-wizard-NoDataSource":'<svg data-bind="svgAttrs" viewBox="0 0 96 96"><style>.Black{fill:#727272;} .White{fill:#FFFFFF;} .Green{fill:#039C23;} .Blue{fill:#1177D7;} .Red{fill:#D11C1C;} .st0{opacity:0.75;} .st1{opacity:0.25;} .st2{opacity:0.5;}</style><g><path class="st2 Black" d="M44 68c0-12.2 9.8-22 22-22 1.4 0 2.7.1 4 .4v-24c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6h1.1c-.7-2.2-1.1-4.6-1.1-7z"/><ellipse class="st1 Black" cx="44" cy="20.5" rx="26" ry="7.5"/><circle class="Red" cx="66" cy="68" r="20"/><path class="White" d="M53.4 77.8C51.3 75.1 50 71.7 50 68c0-8.8 7.2-16 16-16 3.7 0 7.1 1.3 9.8 3.4L53.4 77.8zm25.2-19.6L56.2 80.6c2.7 2.1 6.1 3.4 9.8 3.4 8.8 0 16-7.2 16-16 0-3.7-1.3-7.1-3.4-9.8z"/></g></svg>',"dxrd-svg-wizard-ObjectDataSource":'<svg data-bind="svgAttrs" viewBox="0 0 96 96"><style>.Black{fill:#727272;} .White{fill:#FFFFFF;} .Green{fill:#039C23;} .Blue{fill:#1177D7;} .Red{fill:#D11C1C;} .st0{opacity:0.75;} .st1{opacity:0.25;} .st2{opacity:0.5;}</style><g><path class="st2 Black" d="M64.7 71H64V59h6v7.4c0 1.8-2 3.3-5.3 4.6zM52 52v7h12v-7H52zm-18 7h12V46h18v-7h6V21.4c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.1 6.6 5.8 16 7V59z"/><ellipse class="st1 Black" cx="44" cy="19.5" rx="26" ry="7.5"/><path class="Blue" d="M82 41H66v7H48v13H36v26h26V75h13V57h7V41zm-9 32H62V61H50V50h16v7h7v16z"/></g></svg>',"dxrd-svg-wizard-SqlDataSource":'<svg data-bind="svgAttrs" viewBox="0 0 96 96"><style>.Black{fill:#727272;} .White{fill:#FFFFFF;} .Green{fill:#039C23;} .Blue{fill:#1177D7;} .Red{fill:#D11C1C;} .st0{opacity:0.75;} .st1{opacity:0.25;} .st2{opacity:0.5;}</style><g><path class="st2 Black" d="M48 29c-14.4 0-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6s26-3.4 26-7.6v-45c0 4.2-11.6 7.6-26 7.6z"/><ellipse class="st1 Black" cx="48" cy="19.5" rx="26" ry="7.5"/></g></svg>',"dxrd-svg-wizard-expressions":'<svg data-bind="svgAttrs" viewBox="0 0 32 32"><path class="dxd-icon-fill" d="M25.6 4.3c-.3-.4-.7-.7-1.2-1-.6-.2-1.3-.3-2.2-.3-1.8 0-3.3.4-4.5 1.3s-1.9 2.1-2.2 3.6l-.3 1.4-.4 1.7h-2.4l-.4 2h2.4L12 24.3c-.2 1.3-.7 1.9-1.3 1.9-.2 0-.3 0-.4-.1l-.4-.4c-.3-.4-.6-.7-.7-.8-.2-.2-.4-.3-.6-.4-.2-.1-.4-.1-.7-.1-.5 0-1 .2-1.3.6-.4.4-.6.9-.6 1.5 0 .7.4 1.3 1.2 1.9.6.4 1.5.6 2.6.6s2.1-.2 2.9-.6 1.5-1.1 2.2-2c.6-.9 1.1-2.1 1.4-3.4l2.3-9.9H21l.5-2H19l.4-1.7.4-1.6c.2-.8.3-1.2.5-1.5.2-.3.5-.5.9-.5.2 0 .3 0 .5.1s.4.3.7.7c.3.3.6.6.9.7s.6.2.9.2c.4 0 .7-.1 1-.2.3-.2.5-.4.7-.7.2-.3.3-.7.3-1-.2-.5-.3-.9-.6-1.3z"/></svg>'};var e=function(){function a(a,b,c){this._data=b,this._templates=c,this.templateName=a}return a.prototype.data=function(a,b){if(this._data[this.templateName]=this._data[this.templateName]||{},1===arguments.length)return this._data[this.templateName][a];this._data[this.templateName][a]=b},a.prototype.text=function(a){if(0===arguments.length){var b=this._templates[this.templateName];if(!b)throw new Error("Cannot find template with ID "+this.templateName);return b}this._templates[this.templateName]=a},a}(),f=function(){function a(){var a=this;this._hasTemplate=function(b){return a._templates.hasOwnProperty(b)},this._data={},this._templates={}}return Object.defineProperty(a,"Instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!0,configurable:!0}),Object.defineProperty(a,"templates",{get:function(){return a.Instance._templates},enumerable:!0,configurable:!0}),a.addTemplates=function(b){ko.utils.extend(a.templates,b)},a.getExistingTemplate=function(b){return a.Instance._hasTemplate(b)?b:void 0},a}();b.SvgTemplatesEngine=f;var g=ko.templateEngine.prototype.makeTemplateSource;ko.templateEngine.prototype.makeTemplateSource=function(a,b){return"string"==typeof a&&f.getExistingTemplate(a)&&!document.getElementById(a)?new e(a,f._instance._data,f.templates):g.apply(this,[a,b])},b.getTemplate=d,f.addTemplates(c.Internal.availableTemplates),f.addTemplates(c.Internal.extendedTemplates())}(f=c.Internal||(c.Internal={}))}(b.Widgets||(b.Widgets={}))}(a.Analytics||(a.Analytics={}))}(DevExpress||(DevExpress={})),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.getLocalization","Analytics.getLocalization","Analytics.Utils.getLocalization"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.findMatchesInString","Analytics.Utils.findMatchesInString","Analytics.Internal.findMatchesInString"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.escapeToRegExp","Analytics.Utils.escapeToRegExp","Analytics.Internal.escapeToRegExp"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.formatUnicorn","Analytics.Utils.formatUnicorn","Analytics.Internal.formatUnicorn"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.PopupService","Analytics.Internal.PopupService"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.CollectionItemWrapper","Analytics.Widgets.CollectionItemWrapper","Analytics.Widgets.Internal.CollectionItemWrapper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.CollectionEditorViewModel","Analytics.Widgets.CollectionEditorViewModel","Analytics.Widgets.Internal.CollectionEditorViewModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.dxEllipsisEditor","Analytics.Widgets.dxEllipsisEditor","Analytics.Widgets.Internal.dxEllipsisEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.dxFileImagePicker","Analytics.Widgets.dxFileImagePicker","Analytics.Widgets.Internal.dxFileImagePicker"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FontEditor","Analytics.Widgets.FontEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.fontInfo","Analytics.Widgets.fontInfo","Analytics.Widgets.Metadata.fontInfo"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.availableFonts","Analytics.Widgets.availableFonts","Analytics.Widgets.Internal.availableFonts"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.availableUnits","Analytics.Widgets.availableUnits","Analytics.Widgets.Internal.availableUnits"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FontModel","Analytics.Widgets.FontModel","Analytics.Widgets.Internal.FontModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.propertiesGridEditorsPaddingLeft","Analytics.Widgets.propertiesGridEditorsPaddingLeft","Analytics.Widgets.Internal.propertiesGridEditorsPaddingLeft"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.Editor","Analytics.Widgets.Editor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.editorTemplates","Analytics.Widgets.editorTemplates"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.validateGuid","Analytics.Widgets.validateGuid","Analytics.Widgets.Internal.validateGuid"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Widgets.validateGuid","Analytics.Widgets.Internal.validateNullableGuid"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.guidValidationRules","Analytics.Widgets.guidValidationRules","Analytics.Widgets.Internal.guidValidationRules"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Widgets.guidRequiredValidationRules","Analytics.Widgets.Internal.guidRequiredValidationRules"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Widgets.requiredValidationRules","Analytics.Widgets.Internal.requiredValidationRules"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.GuidEditor","Analytics.Widgets.GuidEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.PropertyGridEditor","Analytics.Widgets.PropertyGridEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.EditorAddOn","Analytics.Internal.EditorAddOn"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.ObjectProperties","Analytics.Widgets.ObjectProperties"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.compareEditorInfo","Analytics.Utils.compareEditorInfo","Analytics.Internal.compareEditorInfo"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.Globalize","Analytics.Localization.Globalize","Analytics.Internal.Globalize"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.messages","Analytics.Localization.messages","Analytics.Internal.messages"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.addCultureInfo","Analytics.Localization.addCultureInfo","Analytics.Utils.addCultureInfo"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.localize","Analytics.Localization.localize","Analytics.Internal.localize"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.parseDate","Analytics.Localization.parseDate","Analytics.Internal.parseDate"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.selectPlaceholder","Analytics.Localization.selectPlaceholder","Analytics.Internal.selectPlaceholder"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Localization.noDataText","Analytics.Localization.noDataText","Analytics.Internal.noDataText"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.CodeResolver","Analytics.Internal.CodeResolver"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.globalResolver","Analytics.Internal.globalResolver"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.isCustomizedWithUpdateLocalizationMethod","Analytics.isCustomizedWithUpdateLocalizationMethod","Analytics.Internal.isCustomizedWithUpdateLocalizationMethod"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getLocalization","Analytics.Utils.getLocalization"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.updateLocalization","Analytics.updateLocalization","Analytics.Utils.updateLocalization"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.StringId","Analytics.StringId","Analytics.Internal.StringId"),DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({"dx-editor-addons":'\x3c!-- ko if: visible --\x3e \x3c!-- ko if: !ko.unwrap($data.imageTemplateName) --\x3e <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxd-back-contrast" data-bind="dxclick: showPopup, css: editorMenuButtonCss, attr: { title: $data.hint }"> <div class="dxrd-editormenu-box-inside dxd-back-secondary"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: ko.unwrap($data.imageTemplateName) --\x3e <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color" data-bind="dxclick: showPopup, attr: { title: $data.hint }, css: editorMenuButtonCss, template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-boolean":'<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-boolean-select":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }\"></div>","dx-commonCollection":'<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }"> </div> </div>',"dx-commonCollectionItem":'<div data-bind="dxPropertyGrid: { target: value, level: editor.level + 1, parentDisabled: editor.disabled }"></div>',"item-with-title":'<div class="dx-listitem-with-title" data-bind="text: $data.display, attr: { title: $data.display }"></div>',"dx-combobox":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) } }, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-combobox-editable":"<div data-bind=\"dxSelectBox: getOptions({ items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, placeholder: $root.dx.Analytics.Internal.selectPlaceholder(), acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) } })\"></div>","dx-combobox-undo":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-property-editor":'<div class="dx-editor" data-bind="visible: visible"> <div class="dx-group" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-editor-header"> <div class="dx-field"> <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> \x3c!-- ko if: isComplexEditor --\x3e <div class="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }"></div> \x3c!-- ko if: !!$data.textToSearch --\x3e <div class="dx-group-header-font" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class="dx-group-header-font" data-bind="text: displayName, attr: { \'title\': displayName }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !isComplexEditor --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <div class="propertygrid-editor-displayName" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }, css: { \'dx-field-label-required\': isRequired }, style: { fontWeight: isPropertyModified() ? \'Bold\' : \'\'}"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class="propertygrid-editor-displayName" data-bind="text: displayName, attr: { \'title\': displayName }, css: { \'dx-property-required\': isRequired }, style: { fontWeight: isPropertyModified() ? \'Bold\' : \'\'}"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-field-value" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div data-bind="service: { name: \'createEditorAddOn\' }"></div> \x3c!-- ko if: templateName !== \'dx-emptyHeader\' --\x3e \x3c!-- ko lazy: { template: templateName } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- ko if: isComplexEditor --\x3e <div class="dx-editor-content dx-accordion-content"> \x3c!-- ko if: (!$data.editorCreated || editorCreated) --\x3e \x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-emptyHeader":" ","dx-date":"<div class=\"dx-datebox-container\"> <div data-bind=\" dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: { validationRules: validationRules || [] }\"></div> </div>","dx-file":"<div data-bind=\"dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled }\"></div>","dx-modificators":'<div class="dx-font-content"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"></div> \x3c!-- ko with: value --\x3e <div class="dx-field-value"> <div class="dx-font-styles-content"> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-bold" data-bind="css: { \'dxd-state-active\': bold(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { bold(!bold()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-bold\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-italic" data-bind="css: { \'dxd-state-active\': italic(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { italic(!italic()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-italic\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-underline" data-bind="css: { \'dxd-state-active\': underline(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { underline(!underline()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-underline\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-strikeout" data-bind="css: { \'dxd-state-active\': strikeout(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { strikeout(!strikeout()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--\x3e\x3c!-- /ko --\x3e</div> </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dx-image":"<div data-bind=\"dxFileImagePicker: { value: value, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }\"></div>","dx-numeric":'<div data-bind="dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-number-editor":'<div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-text":'\x3c!-- ko if: $data.validationRules --\x3e <div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.validationRules --\x3e <div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled })"></div> \x3c!-- /ko --\x3e',"dx-string-array":'<div class="dx-field" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div class="dx-string-array-container dx-texteditor dx-editor-outlined dx-multiline"> <textarea class="dx-string-array-textarea dx-texteditor-input" data-bind="value: value, disable: disabled"></textarea> </div> </div>',"dx-propertieseditor":'<div data-bind="css: { \'dx-rtl\' : rtl }"> <div class="dx-editors"> <div class="dx-fieldset"> \x3c!-- ko foreach: getEditors() --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-objectEditorContent":"\x3c!-- ko if: visible --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dx-collectioneditor":'<div class="dx-collectioneditor"> <div data-bind="dxdAccordion: { collapsed: collapsed, alwaysShow: alwaysShow }"> <div class="dx-collectioneditor-header dx-accordion-header"> <div class="dx-editor-header"> <div class="dx-field"> \x3c!-- ko if: showButtons--\x3e <div class="dx-collectioneditor-actions-wrapper"> \x3c!-- ko if: isVisibleButton(\'delete\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: remove, disabled: isDisabledButton(\'delete\'), icon: \'dxrd-svg-operations-remove\', iconClass: \'dx-image-remove\' }, attr: { title: getDisplayTextButton(\'delete\') }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: isVisibleButton(\'add\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: add, disabled: isDisabledButton(\'add\'), icon: \'dxrd-svg-operations-add\', iconClass: \'dx-image-add\' }, attr: { title: getDisplayTextButton(\'add\') }"></div> \x3c!-- /ko --\x3e <div class="dx-collectioneditor-action-separator"></div> \x3c!-- ko if: isVisibleButton(\'down\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: down, disabled: isDisabledButton(\'down\'), icon: \'dxrd-svg-operations-movedown\', iconClass: \'dx-image-movedown\' }, attr: { title: getDisplayTextButton(\'down\') }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: isVisibleButton(\'up\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: up, disabled: isDisabledButton(\'up\'), icon: \'dxrd-svg-operations-moveup\', iconClass: \'dx-image-moveup\' }, attr: { title: getDisplayTextButton(\'up\') }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: displayName --\x3e <div class="dx-collectioneditor-header-text dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"> <div class="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }"></div> <div class="dx-group-header-font dxd-text-primary" data-bind="text: displayName, attr: { title: displayName }"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> <div class="dx-accordion-content"> <div data-bind="dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true }"> \x3c!-- ko if: !disabled()--\x3e \x3c!-- ko if: values().length === 0 && showButtons --\x3e <div class="dx-collectioneditor-empty dxd-empty-area-placeholder-text-color dxd-text-info"> <span class="dx-collectioneditor-empty-text" data-bind="text: getDisplayTextEmptyArray()"></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: values().length !== 0 --\x3e <div class="dx-collectioneditor-items" data-bind="foreach: values"> <div data-bind="with: $parent.createCollectionItemWrapper($parents[1], $index, $element)"> <div class="dx-collectioneditor-item-container dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: $parents[1].select, css: { \'dxd-state-selected\' : $parents[1].selectedIndex() === $index() }"> <div class="dx-collection-item"></div> </div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> </div>',"dx-expressioneditor-main":'<div class="dx-expression-tree"> \x3c!-- ko if: !aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }"></div> \x3c!-- /ko --\x3e <div class="dx-expressioneditor-tools"> \x3c!-- ko with: tools--\x3e <div class="dx-expressioneditor-tools-tabs"> \x3c!-- ko foreach: toolBox--\x3e <div class="dx-expressioneditor-tools-tab dxd-back-primary2" data-bind="style: { width: width }, visible: visible"> \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: { name: $data.templateName }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko--\x3e </div> \x3c!-- /ko--\x3e </div> </div>',"dx-expressioneditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: displayValue, buttonAction: function() { popupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning }"></div> \x3c!-- ko template: \'dx-expressioneditor-popup\'--\x3e \x3c!--/ko--\x3e </div>',"dx-expressioneditor-popup":'<div class="dx-expressioneditor dx-popup-general" data-bind="dxPopup: { showTitle: true, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: \'600px\', width: \'645px\', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onShown: onShown }"> \x3c!-- ko if: popupVisible --\x3e \x3c!-- ko template: "dx-expressioneditor-main" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-categories":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: content --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e <div class="dx-expressioneditor-tools-tab-category dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-category-accordion":'<div class="dx-fieldset" style="margin: 0;"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-accordion-header dx-expressioneditor-tools-tab-accordion-header dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': $data.isSelected }, dxclick: function() { $data.updateContent($data.allItems(), $data.isSelected); $parent.click($data.content) }"> <div class=" dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dx-expressioneditor-tools-tab-header" data-bind="text: displayName"></span> </div> <div class="dx-accordion-content"> \x3c!-- ko foreach: items--\x3e <div class="dx-expressioneditor-tools-tab-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': isSelected }, text: $data.display, dxclick: function() { $parent.updateContent($data.data, $data.isSelected); $parents[1].click($parent.content); }"></div> \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-description":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-expressioneditor-description dxd-text-primary" data-bind="text: content"></div> </div>',"dx-expressioneditor-fields":'<div class="dx-expressioneditor-fields"> <div data-bind="treeListSearchPanel: { controllers: [ ko.unwrap($data.parameters) ? ko.unwrap($data.parameters).treeListController : ko.unwrap($data.parameters), ko.unwrap($data.fields) ? ko.unwrap($data.fields).treeListController : ko.unwrap($data.fields) ] }"> </div> <div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko if: fields --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: fields"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.parameters --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: parameters"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-ee-treelist-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="visible: visible, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected }"> <div class="dx-treelist-item-images"> \x3c!-- ko if: hasItems --\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasItems --\x3e <div class="dx-treelist-collapsedbutton"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> </div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected"> \x3c!-- ko template: { name: \'dx-treelist-item-text-content\' } --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-selectedcontent":"\x3c!-- ko with: content --\x3e \x3c!-- ko template: $data--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-expressioneditor-collection":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: items --\x3e <div class="dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted" data-bind="text: $data.displayName || $data.text, css: { \'dx-expressioneditor-state-selected dxd-state-selected\': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }"></div> \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-collection-function":'<div class="dx-expressioneditor-collection-function"> <div class="dx-expressioneditor-collection-function-search"> <div data-bind="dxTextBox: { value: textToSearch, showClearButton: true, valueChangeEvent: \'keyup\', placeholder: $parents[2].searchPlaceholder() }"></div> </div> <div class="dx-expressioneditor-collection-function-items dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: availableItems --\x3e <div class="dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted" data-bind="css: { \'dx-expressioneditor-state-selected dxd-state-selected\': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }, searchHighlighting: { text: $data.displayName || $data.text, textToSearch: $parent.textToSearch }"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-content":"<div class=\"dx-filtereditor-tree-container\" data-bind=\"css: { 'advanced': advancedMode }\"> \x3c!-- ko template: 'dx-filtereditor-content-tree' --\x3e \x3c!-- /ko --\x3e </div> <div class=\"dx-filtereditor-text-container\" data-bind=\"css: { 'advanced': advancedMode }, visible: textVisible\"> \x3c!-- ko template: 'dx-filtereditor-content-text'--\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-content-plain":'<div class="dx-filtereditor-plain-advanced" data-bind="dxCheckBox: { value: advancedMode, text: advancedModeText }"></div> <div class="dx-filtereditor-plain-content" data-bind="style: { height: plainContentHeightPerc }"> <div class="dx-filtereditor-text-container" data-bind="css: { \'advanced\': advancedMode }, style: { height: textContentHeightPerc }"> \x3c!-- ko template: \'dx-filtereditor-content-text\'--\x3e \x3c!-- /ko --\x3e </div> <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }, style: { height: treeContentHeightPerc }"> \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-content-text":'\x3c!-- ko if: !aceAvailable --\x3e <div class="dx-filtereditor-text" data-bind="dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-filtereditor-text dx-texteditor dx-textarea dx-editor-outlined" data-bind="css: {\'dx-invalid\': !$data.isValid(), \'dx-state-focused\': textFocused }"> <div class="dx-texteditor-container"> <div class="dx-filtereditor-ace dxd-back-primary2" data-bind="dxAceEditor: { value: $data.displayValue, theme: helper.aceTheme, editorContainer: editorContainer, options: aceOptions, additionalOptions: additionalOptions }"></div> <div class="dx-texteditor-buttons-container"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-content-tree":'<div class="dx-filtereditor-tree dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', direction: \'both\' }"> \x3c!-- ko with: operandSurface --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data}--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: isSurfaceValid --\x3e <div class="dx-filtereditor-tree-lockscreen" data-bind="dxclick: function() { $data.advancedMode(true); }"> <div class="dx-filtereditor-tree-lockscreen-content"> <div class="dx-filtereditor-tree-lockscreen-content-text" data-bind="text: invalidMessage()"> </div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: modelDisplayValue, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { popupVisible(true); } }"></div> \x3c!-- ko template: \'dx-filtereditor-popup\' --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-advanced":"<div class=\"dx-filtereditor\" style=\"width: 100%; height: 100%;\" data-bind=\"style: { pointerEvents: $data.options().disabled() ? 'none' : '' }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-plain":"<div class=\"dx-filtereditor\" style=\"width: 100%; height: 100%;\" data-bind=\"style: { pointerEvents: $data.options().disabled() ? 'none' : '' }\"> \x3c!-- ko template: 'dx-filtereditor-content-plain' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-aggregate-common":'\x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.aggregatedExpression() --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">(</div> \x3c!-- ko with: aggregatedExpression--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e',"dx-filtereditor-aggregate":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: \'dx-filtereditor-aggregate-common\' }--\x3e \x3c!-- /ko --\x3e </div> <div class="criteria-operator-content"> \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-between":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: begin--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">and</div> \x3c!-- ko with: end--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-binary":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: leftOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: rightOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-common":'\x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.leftPart && $data.leftPart.condition --\x3e <div class="criteria-operator-content"> \x3c!-- ko with: leftPart--\x3e \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dx-filtereditor-function-lightweight":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="text: displayType"></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-function":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: $data.leftPart.templateName, data: $data.leftPart }--\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko foreach: rightPart --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-group":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> <div class="criteria-operator-item"> <div data-bind="service: { name: \'createChangeType\' }"></div> </div> <div data-bind="service: { name: \'createAddButton\' }"></div> </div> <div class="criteria-operator-content"> \x3c!-- ko foreach: operands --\x3e \x3c!-- ko template: { name: templateName, data: $data } --\x3e \x3c!-- /ko--\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-in":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: criteriaOperator--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.operands().length > 1--\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">(</div> <div class="criteria-operator-item"> \x3c!-- ko foreach: $data.operands() --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">,</div> \x3c!-- /ko --\x3e </div> <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.operands().length == 1--\x3e \x3c!-- ko template: { name: $data.operands()[0].templateName, data: $data.operands()[0] }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-action" data-bind="dxclick: addValue"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div> </div> </div>',"dx-filtereditor-parameter":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeParameter\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-property":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeProperty\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-unary":'\x3c!-- ko if: $data.operand().reverse --\x3e \x3c!-- ko template: {name: $data.operand().templateName, data: $data.operand() }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.operand().reverse --\x3e <div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: operand--\x3e <div class="criteria-operator-item"> \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-not":"\x3c!-- ko with: operand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-value":'<div class="criteria-operator-item" data-bind="visible: isEditable"> \x3c!-- ko if: $data.items.length === 0 --\x3e \x3c!-- ko if: $data.specifics() === "string" || $data.specifics() === "guid" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: { value: _value, onFocusOut: function() { isEditable(false); } }, focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "bool" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxLocalizedSelectBox: { dataSource: [ { val: \'True\', text: \'Yes\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_True\' }, { val: \'False\', text: \'No\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_False\' }], valueExpr: \'val\', displayExpr: \'text\', value: _value, onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "date" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: { value: _value, closeOnValueChange: true, type: \'date\', onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: getNumberEditorOptions(), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 && typeof $data.items[0] === "object" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, valueExpr: \'value\', displayExpr: \'display\', searchEnabled: true, onFocusOut: function() { isEditable(false); }}, dropDownOptions: { container: $root.getPopupContainer($element) }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 && typeof $data.items[0] !== "object" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, acceptCustomValue: true, searchEnabled: true, onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) }}"></div> \x3c!-- /ko --\x3e </div> <div class="criteria-operator-text dxd-filter-editor-text-color criteria-operator-item-value dxd-filter-editor-value-back-color" data-bind="visible: !isEditable()"> <div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: value, click: function() { isEditable(true); }, css: { \'default\': $data.isDefaultDisplay() } "></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-popup":"<div class=\"dx-filtereditor dx-popup-general\" data-bind=\"dxPopup: { showTitle: true, width: '95%', height: '95%', title: options() && options().title(), visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-create":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-change":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayType, dxclick: showPopup, css: target.css"></div>',"dx-filtereditor-changeParameter":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable " data-bind="text: target.parameterName(), dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeProperty":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayName, dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeValueType":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image-edit dx-image-filtereditor-edit">\x3c!-- ko template: \'dxrd-svg-filtereditor-edit\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-content-popups":"<div class=\"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay\" data-bind=\"dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: options().popupContainer, target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, shading: false, visible: popupService.visible }\"> \x3c!-- ko with: popupService--\x3e \x3c!-- ko with: data --\x3e \x3c!-- ko template: template--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-popup-common":'<div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: data --\x3e \x3c!-- ko if: !$data.hidden --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <span class="dx-item-content dx-list-item-content" data-bind="text: $data.displayText || $data.name, click: function() { $parent.click($data); } "></span> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-popup-treelist":'<div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-treelist-wrapper" data-bind="treelist: data"></div> </div>',"dx-format-string-list":'<div class="dx-format-string-list dxd-format-string-editor-border-color dxd-border-secondary"> <div data-bind="dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: \'single\', activeStateEnabled: false }"> <div data-options="dxTemplate: { name: \'item\' }" class="dx-theme-border-color"> <div class="dx-image-filtereditor-remove" data-bind="click: $parent.removeItem, visible: $data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> <div class="dx-format-string-list-item" data-bind="text: $data.displayName"></div> </div> </div> </div>',"dx-format-string-edit-area":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'types\')"></div> <div class="dx-format-string-formats"> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } } --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-customization"> <div class="dx-format-string-customization-add" data-bind="dxButton:{ onClick: addCustomFormat, text: getDisplayText(\'add\'), disabled: !canAddCustomFormat() }"></div> <div class="dx-format-string-customization-value dx-format-string-value dxd-back-primary" data-bind="dxTextBox: { value: formatResult, onInput: function(e) { updateInputText(\'formatResult\', e.component); } }"></div> </div> </div>',"dx-format-string-edit-area-general":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'prefix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText(\'formatPrefix\', e.component); } }"></div> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'suffix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText(\'formatSuffix\', e.component); } }"></div>',"dx-format-string":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: value, disabled: disabled, buttonAction: function() { popupVisible(true); } }"></div> <div class="dx-format-string dx-popup-general" data-bind="dxPopup: { showTitle: true, width: \'95%\', height: \'95%\', minWidth: 650, title: getDisplayText(\'title\'), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }"> <div class="dx-format-string-content"> <div class="dx-format-string-content-area-left"> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'category\')"></div> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: types, action: setType, selectedItems: selectedTypes } } --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-format-string-content-area-right"> \x3c!-- ko if: !isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area-general\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-preview-area" data-bind="css: { \'dx-format-general\': isGeneralType }"> <div class="dx-format-string-preview-area-caption dxd-text-primary" data-bind="text: getDisplayText(\'preview\')"></div> <div class="dx-format-string-preview-value dxd-format-string-editor-border-color dxd-text-primary dxd-back-primary dxd-border-secondary"> <span class="dx-format-string-preview-value-inner" data-bind="text: previewString"></span> </div> </div> </div> </div> </div> </div>',"dx-treelist-item-actions":'\x3c!-- ko foreach: actions --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: function() { clickAction($parent); }, icon: ko.unwrap($data.imageTemplateName), iconClass: $data.imageClassName, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible), disabled: $data.disabled && $data.disabled() }, attr: { title: $data.displayText && $data.displayText() || text }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-treelist-edit-action":"<div class=\"dx-treelist-action-edit dx-accordion-button\" data-bind=\"dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: function() { $parent.collapsed(!$parent.collapsed()); } }, visible: $parent.hasContent, attr: { title: $data.displayText() }\"></div>","dx-treelist-item-actions-with-edit":"\x3c!-- ko template: { name: 'dx-treelist-edit-action', data: treeListEditAction() } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-treelist-item-actions' --\x3e \x3c!-- /ko --\x3e","dx-treelist-item-ellipsis":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="styleunit: padding, click: renderNext"> <div class="dx-treelist-collapsedbutton"></div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent"> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-ellipsis-text dxd-text-accented dxd-hyperlink-color" data-bind="text: $data.text()"></div> </div> </div> </div> </div>',"dx-treelist-item":'\x3c!-- ko if: visible --\x3e \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: "dx-treelist-accordion-item" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: "dx-treelist-header-item" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-treelist-accordion-item":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true }"> \x3c!-- ko template: "dx-treelist-header-item" --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-header-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="event: { dblclick: function() { $data.dblClickHandler ? $data.dblClickHandler($data) : $data.toggleCollapsed() } }, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected() || isMultiSelected() }"> \x3c!-- ko if: $data.hasItems--\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-caption" data-bind="style: { \'padding-left\': $data.hasItems ? \'0px\': \'18px\' }"> \x3c!-- ko if: actions && actions.length > 0 --\x3e <div class="dx-treelist-action-container" data-bind="visible: isSelected"> \x3c!-- ko template: actionsTemplate() --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected, draggable: dragDropHandler"> \x3c!-- ko template: { name: \'dx-treelist-header-item-caption-content\' } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected"> \x3c!-- ko template: { name: \'dx-treelist-header-item-caption-content\' } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-item-text-content":'<div class="dx-treelist-text-wrapper"> \x3c!--ko if: treeListController.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: treeListController.textToSearch, searchOptions: treeListController.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!--ko ifnot: treeListController.searchEnabled --\x3e <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item-caption-content":'<div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> \x3c!-- ko template: { name: \'dx-treelist-item-text-content\' } --\x3e \x3c!-- /ko --\x3e',"dx-treelist-item-with-hover":'<div data-bind="visible: visible"> \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: "dx-treelist-accordion-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-accordion-item-with-hover":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true }"> \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-header-item-with-hover":'<div class="dx-background-inheritor dxd-back-highlighted dxd-state-selected"> <div class="dx-treelist-item dx-fontsize-reestablished dxd-list-item-back-color" data-bind="event: { dblclick: function() { $data.dblClickHandler ? $data.dblClickHandler($data) : $data.toggleCollapsed() }, mouseenter: mouseenter, mouseleave: mouseleave }, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected dxd-back-secondary\': isSelected() || isMultiSelected() }"> <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed, style: { \'visibility\': hasItems ? \'visible\' : \'hidden\' }"></div> <div class="dx-treelist-caption"> \x3c!-- ko if: actions && actions.length > 0 --\x3e <div class="dx-treelist-action-container" data-bind="visible: $data.isSelected() || $data.isHovered()"> \x3c!-- ko template: actionsTemplate() --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected, draggable: isDraggable ? dragDropHandler : null"> <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div> </div> </div> </div>',"dx-treelist":"<div class=\"dx-treelist dxd-text-primary\"> \x3c!-- ko template: $data.visibleItems !== undefined ? 'dx-treelist-paginate' : 'dx-treelist-common' --\x3e \x3c!-- /ko --\x3e </div>","dx-treelist-search-panel":"<div class=\"dxrd-treelist-search-panel\" data-bind=\"dxTextBox: { mode: 'search', value:value, activeStateEnabled:false, focusStateEnabled:false, hoverStateEnabled:false, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}\"></div>","dx-treelist-common":"\x3c!-- ko foreach: items --\x3e \x3c!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.collapsed() --\x3e \x3c!-- ko template: { name: 'dx-treelist', data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-treelist-paginate":"\x3c!-- ko foreach: visibleItems --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.collapsed() --\x3e \x3c!-- ko template: { name: 'dx-treelist', data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value }"></div>',"dxrd-colorpicker":"<div data-bind=\"dxColorBox: { value: displayValue, editAlphaChannel: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flipfit', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }\"></div>","dxrd-expressionstring":'\x3c!-- ko if: $data.value() --\x3e <div data-bind="dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })"></div> \x3c!-- /ko --\x3e',"dxrd-field":'\x3c!-- ko displayNameExtender: { path: path, dataMember: value } --\x3e \x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-filterstring":'\x3c!-- ko if: $data.value() --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }"></div> \x3c!-- /ko --\x3e',"dxrd-filterstringgroup":'\x3c!-- ko if: $data.value() --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }"></div> \x3c!-- /ko --\x3e',"dxrd-formatstring":'<div data-bind="dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }"></div>',"dxrd-guid":'<div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: (validationRules || []) }"></div>',"dxrd-emptyHeader":" ","dxrd-objectEditorContent":"\x3c!-- ko if: $data.visible() && $data.editorCreated() --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-objectEditor":'<div data-bind="dxPropertyGrid: { target: ko.observable($data), level: $parent.level, textToSearch: $parent.textToSearch }"></div>',"dxrd-commonCollectionItem":'<div data-bind="dxPropertyGrid: { target: value, level: editor.level + 1, parentDisabled: editor.disabled }"></div>',"dxrd-objectVisitor":'\x3c!-- ko if: options --\x3e <div data-bind="treelist: options"></div> \x3c!-- /ko --\x3e',"dxd-snap-lines-holder":'<div class="dxd-snap-lines-holder"> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[0].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[1].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[2].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[3].transform() }"></div> </div>',"dxrd-surface-template-base":'\x3c!-- ko ifnot: isLoading --\x3e \x3c!-- ko with: surface --\x3e <div class="dxrd-surface-wrapper" data-bind="template: templateName, click: function(_, e) { !$root.selection.disabled() && $root.selection.clickHandler($data, e); e.stopPropagation(); }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"> <div style="text-align: center; padding-top: 25%;"> <div data-bind="dxLoadIndicator: { visible: isLoading() }"></div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-designer":'<div data-bind="css: surfaceClass($element)"> <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-scrollbar-color" data-bind="visible: (!$data.designMode || designMode()), cssArray: [$data.rootStyle, { \'dx-rtl\' : $data.rtl, \'dx-ltr\': !$data.rtl }]"> \x3c!-- ko foreach: parts --\x3e \x3c!-- ko template: { name: templateName, data: model }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: ($data.addOns) --\x3e \x3c!-- ko foreach: addOns --\x3e \x3c!-- ko template: { name: templateName, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-collectionactions-template":'<div class="dxrd-action-items-container"></div> <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }"></div> <div data-bind="dxPopup: { width: 235, height: \'auto\', position: { my: $root.rtl ? \'left top\': \'right top\', at: \'bottom\', of: (\'#\' + id) }, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible }"> \x3c!-- ko foreach: actions --\x3e <div class="dxrd-action-item dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: clickAction, css: { \'dxrd-disabled-button\': disabled }"> <div class="dxrd-action-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-menubutton-template-base":'<div class="dxrd-menu-container" style="position:relative; width:0; height:100%"></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place" style="width:54px;"></div> <div class="dxrd-menu-button-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: \'dxrd-svg-menu-menu\', css: {\'dxd-state-active\': appMenuVisible }"></div> <div class="dxd-menu-back-color dxd-back-primary2" data-bind="dxPopup: { width: 250, height: \'100%\' , position: $data.rtl ? { my: \'right top\' , at: \'left top\' , offset: \'-10 0\' } : { my: \'left top\' , at: \'right top\' , offset: \'10 0\' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, closeOnOutsideClick: function(e) { var buttonClassName = \'dxrd-menu-button-image\'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible }"> <div class="dxrd-menu-break dxd-popup-back-color dxd-back-primary2"></div> \x3c!-- ko foreach: actionLists.menuItems --\x3e <div class="dxrd-menu-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { \'dxrd-disabled-button\': disabled }, visible: visible"> <div class="dxrd-menu-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> <div class="dxrd-menu-item-text" data-bind="text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}"></div> <div class="dxrd-menu-item-separator" data-bind="visible: $data.hasSeparator"></div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-top-grid":'\x3c!-- ko if: popularVisible --\x3e <div class="dx-fieldset"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: $root.actionsGroupTitle()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> \x3c!-- ko foreach: (contextActions || []) --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if($data.disabled && !$data.disabled() || !$data.disabled) { clickAction($root.editableObject()); } }, css: { \'dxrd-disabled-button\': $data.disabled && $data.disabled() }, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible)"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko with: popularProperties --\x3e <div style="position: relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dx-propertygrid-searchbox":"<div class=\"dx-property-grid-search-group dx-property-gread-search-collapsed\" data-bind=\"css: { 'dx-property-gread-search-collapsed': !isSearching() }\"> <div class=\"dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2\" data-bind=\"css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }\"> </div> <div class=\"dx-property-grid-search-box\" data-bind=\"dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }\"></div> </div>","dxrd-propertiestab":'<div class="dxrd-properties-wrapper" data-bind="visible: active() && visible()"> <div style="height:100%" class="dxd-text-primary"> <div class="dxrd-right-panel-header"> <span data-bind="text: text"></span> </div> \x3c!-- ko with: model --\x3e \x3c!-- ko if: $root.controlsStore.visible() --\x3e <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-sorting-actions-group" data-bind="css: { \'dx-property-gread-search-collapsed\': isSearching }"> <div class="dxrd-properties-focused-item" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: \'dxrd-svg-properties-sortingbyalphabet\', iconClass: \'image-sortingbyalphabet\' }"></div> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: \'dxrd-svg-properties-sortingbygroups\', iconClass: \'image-sortingbygroups\' }"></div> </div> </div> \x3c!-- ko template: \'dx-propertygrid-searchbox\' --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e <div class="dxrd-properties-grid dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }, styleunit: { top: $root.controlsStore.visible() ? 80 : 40 }"> \x3c!-- ko template: { name: \'dxrd-top-grid\', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } } --\x3e \x3c!-- /ko --\x3e <div data-bind="visible: isSortingByGroups"> \x3c!-- ko foreach: groups --\x3e <div class="dx-fieldset" data-bind="visible: visible"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> \x3c!-- ko ifnot: editorsCreated --\x3e <div class="dx-accordion-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: !editorsCreated() }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorsRendered() --\x3e <div data-bind="visible: editorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: editors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dx-fieldset dxd-back-primary" data-bind="visible: !isSortingByGroups()"> <div data-bind="dxLoadIndicator: { visible: !allEditorsCreated() }"></div> \x3c!-- ko if: $data.editorsRendered() --\x3e <div data-bind="visible: allEditorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: $data.getEditors() --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> \x3c!-- ko template: \'dx-propertygrid-popupservice\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-propertygrid-popupservice":"<div data-bind=\"dxPopup: { width: 250, height: 'auto', position: $data.rtl ? { my: 'left top', at: 'right top', of: popupService.target, collision: 'flipfit' } : { my: 'right top', at: 'left top', of: popupService.target, collision: 'flipfit' }, container: $root.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, shading: false, visible: popupService.visible }\"> <div data-options=\"dxTemplate: { name: 'content' }\"> <div class=\"dxrd-editor-menu-caption dxd-text-primary\" data-bind=\"text: popupService.title, visible: popupService.title\"></div> <div class=\"dxd-button-back-color\" data-bind=\"dxMenu: { dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }\"> <div class=\"dxrd-editor-menu-item dxd-back-highlighted dxd-state-normal\" data-options=\"dxTemplate: { name: 'item' }\" data-bind=\"dxclick: action, css: { 'dxrd-editor-menu-item-separator dxd-border-primary': $parent.popupService.actions().length > 1 && $index === ($parent.popupService.actions().length - 1) }\"> <span class=\"dxd-text-primary dx-menu-item-text\" data-bind=\"attr: { title: title }, text: title\"></span> <div class=\"dx-menu-item-popout-container\" data-bind=\"visible: $data.items && $data.items.length\"><div class=\"dx-menu-item-popout\"></div></div> \x3c!--ko if: $data.customTemplate--\x3e \x3c!--ko template: $data.customTemplate--\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e </div> </div> </div> </div>","dx-right-panel-lightweight":'<div class="dxrd-right-panel dx-shadow dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: tabPanel.width }, css: tabPanel.cssClasses(), resizable: tabPanel.getResizableOptions($element, \'1px\', 325)"> \x3c!-- ko foreach: tabPanel.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-right-panel-template-base":'<div class="dx-shadow dxd-border-secondary dxrd-tab-panel-wrapper" data-bind="styleunit: { width: tabPanel.headerWidth }, css: tabPanel.cssClasses({\'dxrd-tab-panel-border\': !tabPanel.collapsed()})"> <div class="dxrd-right-panel-collapse dxd-back-primary dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="styleunit: { width: tabPanel.headerWidth }, css: tabPanel.cssClasses(), dxclick: function() { tabPanel.collapsed(!tabPanel.collapsed()); }, attr: { title: tabPanel.toggleCollapsedText }"> <div class="dxrd-right-panel-collapse-image" data-bind="css: tabPanel.toggleCollapsedImage().class, template: tabPanel.toggleCollapsedImage().template"></div> </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: tabPanel.width }, css: tabPanel.cssClasses(), resizable: tabPanel.getResizableOptions($element, \'50px\', 340)"> \x3c!-- ko foreach: tabPanel.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabPanel.cssClasses()"> \x3c!-- ko foreach: tabPanel.tabs --\x3e <div class="dxrd-tab-item dxd-side-panel-tab-back-color dxd-back-highlighted" data-bind="dxclick: function(s) { $parent.tabPanel.selectTab({ model: s }) }, css: { \'dxd-state-active dxd-state-no-hover\': active, \'dxrd-tab-item-disabled\': disabled }, attr: { title: text }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}"> </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-toolbar-template-base":'<div class="dxrd-toolbar-wrapper"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.toolbarItems }"></div> </div>',"dxrd-toolbar-tmplt":"\x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class=\"dxrd-toolbar-item\" data-bind=\"visible: visible\"> <div data-bind=\"template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { class: 'dxrd-toolbar-item-image dxd-button-back-color dxd-state-normal dxd-back-highlighted ' + (ko.unwrap($data.imageClassName) || ''), title: $data.displayText && $data.displayText() || text }, dxclick: function() { if((typeof $data.disabled === 'function') && !disabled() || !disabled) { clickAction($root.model && $root.model()); } }, css: {'dxrd-disabled-button': disabled, 'dxd-state-active': $data.selected }\"> </div> <div class=\"dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary\" data-bind=\"visible: $data.hasSeparator\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: toolboxItems --\x3e <div class="dxrd-toolbox-item" data-bind="attr: { title: displayName }"> <div class="dx-background-inheritor dxd-toolbox-item-back-color dxd-back-secondary"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-zoom-select-template":'<div class="dxrd-toolbar-item-zoom" data-bind="visible: visible"> <div class="dxrd-toolbar-item-zoom-editor" data-bind="dxSelectBox: { items: zoomLevels, value: $data.zoom, displayExpr: function(val) { return Math.round((val || this.option(\'value\')) * 100) + \'%\'; }, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: onCustomItemCreating, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> </div>',"dxrd-bordereditor":"<div class=\"bordereditor-content\"> \x3c!-- ko with: value--\x3e <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-none\" data-bind=\"template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom() && !left() && !top() && !right()), 'dxrd-disabled-button': disabled }, click: function() { setNone() }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all right-margin\" data-bind=\"template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom() && left() && top() && right()), 'dxrd-disabled-button': disabled }, click: function() { setAll() }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-left\" data-bind=\"template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-top\" data-bind=\"template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-right\" data-bind=\"template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-bottom\" data-bind=\"template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }\"></div> \x3c!-- /ko --\x3e</div>"});var __extends=this&&this.__extends||function(){var a=function(b,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),DevExpress;!function(a){!function(a){var b;!function(a){function b(a,c,d,e){if(void 0===d&&(d=[]),void 0===e&&(e=["surface"]),a&&void 0!==a){var f=[];Object.keys(a).forEach(function(b){if(0!==b.indexOf("_")&&-1===e.indexOf(b)){var c=b;ko.isComputed(a[b])&&ko.isWriteableObservable(a["_"+b])&&(c="_"+c),-1!==d.indexOf(a[c])||ko.isComputed(a[c])||f.push(a[c])}}),c(f),d.push.apply(d,f),f.forEach(function(a){"object"==typeof(a=ko.unwrap(a))&&b(a,c,d,e)})}}function c(a){return!a.isModelReady||a.isModelReady()}function d(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return("x"==a?b:3&b|8).toString(16)})}a.propertiesVisitor=b,a.checkModelReady=c,a.guid=d}(b=a.Internal||(a.Internal={}));!function(a){var c=[],d=function(a){function d(e,f,g,h){void 0===f&&(f=["surface"]),void 0===h&&(h=[]);var i=a.call(this)||this;if(i._ignoredProperties=f,i._getInfoMethodName=g,i._alwaysSubscribeProperties=h,i._groupObservers=[],i._groupPosition=-1,i._observers=[],i._subscriptions=[],i._visited=[],i._position=ko.observable(-1),i._lockedPosition=ko.observable(-1),i._inUndoRedo=!1,i._currentEngineName=d._disposeUndoEngineSubscriptionsName+b.guid(),i.redoEnabled=ko.observable(!1),i.undoEnabled=ko.observable(!1),i.isIngroup=-1,i.isDirty=ko.computed({read:function(){return i._position()!==i._lockedPosition()},write:function(a){a?i._lockedPosition("forcibly marked as dirty"):i._lockedPosition(i._position())}}),c.push(i._currentEngineName),i._model=ko.unwrap(e),i._getInfoMethodName)ko.isSubscribable(e)?i._targetSubscription=i.subscribeProperty(e,!0):i._createDisposeFunction(e);else{var j=i.subscribe(i._model);if(ko.isSubscribable(e)){var k=e();i._targetSubscription=e.subscribe(function(a){i._removePropertiesSubscriptions(),i._inUndoRedo||(i.properyChanged({observable:e,propertyChanged:{oldVal:k,val:a}}),k=a),i._cleanSubscribtions(j),i._model=a,j=i.subscribe(i._model)})}}return i._disposables.push(i.isDirty),i}return __extends(d,a),d.tryGetUndoEngine=function(a){var b=null;return c.some(function(c){return!!(b=a[c]&&a[c].instance)}),b},Object.defineProperty(d.prototype,"_modelReady",{get:function(){return b.checkModelReady(this._model)},enumerable:!0,configurable:!0}),d.prototype._disposeObserver=function(a){var b=this;if(a.propertyChanged){var c=a.propertyChanged.val;c&&!c[this._currentEngineName]&&c.dispose&&c.dispose()}else a.arrayChanges&&a.arrayChanges.forEach(function(a){if("added"===a.status){var c=a.value;c&&!c[b._currentEngineName]&&c.dispose&&c.dispose()}})},d.prototype.properyChanged=function(a){var b=this;if(!this._inUndoRedo){var c=this._position()+1;if(c<this._observers.length){this._observers.splice(c,this._observers.length).forEach(function(a){Array.isArray(a)?a.reverse().forEach(function(a){return b._disposeObserver(a)}):b._disposeObserver(a)})}this._observers.push(a),this._position(c),this.undoEnabled(!0),this.redoEnabled(!1)}},d.prototype.visitProperties=function(a,b){var c=[];if(a&&b)for(var d=0;d<b.length;d++){var e=this._alwaysSubscribeProperties.some(function(a){return a===b[d].propertyName});if(b[d].modelName||b[d].editor||b[d].info||e){var f=e?b[d].propertyName:this.validatePropertyName(a,b[d].propertyName);f&&(ko.isComputed(a[f])||(ko.isObservable(a[f])?c.push(this.subscribeProperty(a[f],!b[d].link)):c.push.apply([],this._createDisposeFunction(a[f],b[d].info))))}}return c},d.prototype.undoChangeSet=function(a){if(a.propertyChanged)a.observable(a.propertyChanged.oldVal);else{for(var b=a.observable(),c=0;c<a.arrayChanges.length;c++)"added"===a.arrayChanges[c].status?b.splice(b.indexOf(a.arrayChanges[c].value),1):"deleted"===a.arrayChanges[c].status&&b.splice(a.arrayChanges[c].index,0,a.arrayChanges[c].value);ko.isObservable(a.observable)&&a.observable.valueHasMutated()}},d.prototype.redoChangeSet=function(a){if(a.propertyChanged)a.observable(a.propertyChanged.val);else{for(var b=a.observable(),c=0;c<a.arrayChanges.length;c++)"added"===a.arrayChanges[c].status?b.splice(a.arrayChanges[c].index,0,a.arrayChanges[c].value):"deleted"===a.arrayChanges[c].status&&b.splice(b.indexOf(a.arrayChanges[c].value),1);ko.isObservable(a.observable)&&a.observable.valueHasMutated()}},d.prototype._disposeChilds=function(a,b){if(a&&b)for(var c=0;c<b.length;c++)if(b[c].modelName||b[c].editor||b[c].info){var d=b[c].propertyName;if(0!==d.indexOf("_")){var e=d;if(ko.isWriteableObservable(a["_"+d])&&(e="_"+e),!ko.isComputed(a[e])){var f=ko.unwrap(a[e]);f&&"object"==typeof f&&(b[c].link||this._callDisposeFunction(f))}}}},d.prototype._createDisposeFunction=function(a,b){var c=this,d=[];if(a&&"object"==typeof a){var e=b||a[this._getInfoMethodName]&&a[this._getInfoMethodName]();e&&(a[this._currentEngineName]?a[this._currentEngineName].inc++:(a[this._currentEngineName]={inc:1,instance:this},d=this.subscribe(a,e),a[this._currentEngineName].func=function(){a[c._currentEngineName].inc--,c._disposeChilds(a,e),0===a[c._currentEngineName].inc&&(c._cleanSubscribtions(d),delete a[c._currentEngineName])}))}return d},d.prototype._callDisposeFunction=function(a){if(a)if(Array.isArray(a))for(var b=0;b<a.length;b++)a[b][this._currentEngineName]&&a[b][this._currentEngineName].func();else a[this._currentEngineName]&&a[this._currentEngineName].func()},d.prototype._cleanSubscribtions=function(a){if(a)if(a.length)for(var b=0;b<a.length;b++)this._cleanSubscribtions(a[b]);else a.dispose&&a.dispose()},d.prototype.validatePropertyName=function(a,b){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(function(a){return a!==b}))&&"_"!==b[0]?ko.isWriteableObservable(a["_"+b])?"_"+b:b:null},d.prototype.subscribeProperty=function(a,b){var c=this;if(ko.isObservable(a)){var d=a();if(Array.isArray(d)){for(var e=0;e<a().length;e++)this._createDisposeFunction(a()[e]);return a.subscribe(function(b){if(c._modelReady){for(var d=b.filter(function(a){return"added"===a.status}),e=b.filter(function(a){return"deleted"===a.status}),f=0;f<e.length;f++)c._callDisposeFunction(e[f].value);for(var f=0;f<d.length;f++)c._createDisposeFunction(d[f].value);c.properyChanged({observable:a,arrayChanges:b})}},null,"arrayChange")}if(ko.isWriteableObservable(a))return b&&this._createDisposeFunction(a()),a.subscribe(function(e){c._modelReady&&(b&&c._callDisposeFunction(d),c.properyChanged({observable:a,propertyChanged:{oldVal:d,val:e}}),d=e,b&&c._createDisposeFunction(e))})}},d.prototype.subscribeProperties=function(a){var b=this;a.forEach(function(a){if(ko.isObservable(a)){var c=a();a.push?b._subscriptions.push(a.subscribe(function(c){b._modelReady&&(b._inUndoRedo||(b.properyChanged({observable:a,arrayChanges:c}),b.subscribe(c.map(function(a){return a.value}))))},null,"arrayChange")):ko.isWriteableObservable(a)&&b._subscriptions.push(a.subscribe(function(d){b._modelReady&&(b.properyChanged({observable:a,propertyChanged:{oldVal:c,val:d}}),c=a())}))}})},d.prototype.subscribe=function(a,c){var d=this;if(this._getInfoMethodName)return this.visitProperties(a,c||a&&a[this._getInfoMethodName]&&a[this._getInfoMethodName]());b.propertiesVisitor(a,function(a){d.subscribeProperties(a)},this._visited,this._ignoredProperties)},d.prototype._removePropertiesSubscriptions=function(){this._subscriptions.forEach(function(a){return a.dispose()}),this._subscriptions=[],this._visited=[]},d.prototype.dispose=function(){var b=this;a.prototype.dispose.call(this),this.removeTargetSubscription();var d=0;c.some(function(a,c){return a===b._currentEngineName&&(d=c,!0)}),c.splice(d,1)},d.prototype.removeTargetSubscription=function(){this._targetSubscription&&this._targetSubscription.dispose(),this.reset()},d.prototype.undoAll=function(){this.undoEnabled()&&(this.undo(),this.undoAll())},d.prototype.reset=function(){this._removePropertiesSubscriptions(),this.clearHistory()},d.prototype.clearHistory=function(){this._groupObservers=[],this._observers=[],this.redoEnabled(!1),this.undoEnabled(!1),this._inUndoRedo=!1,this._groupPosition=-1,this._position(-1),this._lockedPosition(this._position())},d.prototype.undo=function(a){var b=this;void 0===a&&(a=!1);try{if(this._inUndoRedo=!0,this.undoEnabled()){var c=this._observers[this._position()];c&&(Array.isArray(c)?c.reverse().forEach(function(a){return b.undoChangeSet(a)}):this.undoChangeSet(c),a&&this._observers.splice(this._position(),1),this._position(this._position()-1),this.undoEnabled(0!==this._observers.length&&this._position()>=0),this.redoEnabled(this._position()<this._observers.length-1))}}finally{this._inUndoRedo=!1}},d.prototype.redo=function(){var a=this;try{if(this._inUndoRedo=!0,this.redoEnabled()){var b=this._observers[this._position()+1];b&&(Array.isArray(b)?b.reverse().forEach(function(b){return a.redoChangeSet(b)}):this.redoChangeSet(b),this._position(this._position()+1),this.undoEnabled(0!==this._observers.length&&this._position()>=0),this.redoEnabled(this._position()+1<this._observers.length))}}finally{this._inUndoRedo=!1}},d.prototype._hasSessionChanges=function(){return 0===this.isIngroup&&this._observers.length>0},d.prototype.start=function(){0===++this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))},d.prototype.end=function(){var a=this;if(-1===--this.isIngroup){if(this._observers.length>0){this._position(this._groupPosition+1);this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers).forEach(function(b){Array.isArray(b)?b.reverse().forEach(function(b){return a._disposeObserver(b)}):a._disposeObserver(b)})}else this._position(this._groupPosition);this._observers=this._groupObservers}},d._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___",d}(a.Disposable);a.UndoEngine=d}(a.Utils||(a.Utils={}))}(a.Analytics||(a.Analytics={}))}(DevExpress||(DevExpress={})),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.UndoEngine","Analytics.Utils.UndoEngine"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.propertiesVisitor","Analytics.Utils.propertiesVisitor","Analytics.Internal.propertiesVisitor");var __extends=this&&this.__extends||function(){var a=function(b,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),DevExpress;!function(a){!function(b){var c;!function(a){var b=function(){function a(a,b){if(void 0===b&&(b=[]),this.pathParts=b,this.path="",this.fullPath=a,a)if(-1!==a.indexOf(".")){var c=a.split(".");this.id=this.ref=c[0],c.splice(0,1),this.path=c.join(".")}else this.id=this.ref=a}return a}();a.PathRequest=b}(c=b.Utils||(b.Utils={}));var d;!function(a){!function(a){var b=function(){function a(){}return a._getCharFromKeyCode=function(a){return!1===a.ctrlKey&&1===a.key.length?a.key:null},a._getCaretPosition=function(a){var b,c,d,e,f,g=-1,h=-1;try{"number"==typeof a.selectionStart&&"number"==typeof a.selectionEnd?(g=a.selectionStart,h=a.selectionEnd):document.selection&&(c=document.selection.createRange())&&c.parentElement()==a&&(e=a.value.length,b=a.value.replace(/\r\n/g,"\n"),d=a.createTextRange(),d.moveToBookmark(c.getBookmark()),f=a.createTextRange(),f.collapse(!1),d.compareEndPoints("StartToEnd",f)>-1?g=h=e:(g=-d.moveStart("character",-e),g+=b.slice(0,g).split("\n").length-1,d.compareEndPoints("EndToEnd",f)>-1?h=e:(h=-d.moveEnd("character",-e),h+=b.slice(0,h).split("\n").length-1)))}catch(a){}return{start:g,end:h}},a._validate=function(a,b,c){var d,e,f,g;if(!/^(0|(-?(([1-9]\d*)|(0\.\d+)|([1-9]\d*\.\d+)|(\d*\.\d+[eE][+\-]?\d+))))$/.test(a))return!1;if(!c)return!0;var h="-"===a[0],i=h?a.substring(1):a;if(h&&!b)return!1;var j,k,l,m,n=h?b.substring(1):c;d=i.toLowerCase().split("e"),j=d[0],k=d[1],e=n.toLowerCase().split("e"),l=e[0],m=e[1];var o,p,q,r;f=j.split("."),o=f[0],p=f[1],g=l.split("."),q=g[0],r=g[1],o=(o||"").replace(/^0+/,""),q=(q||"").replace(/^0+/,"");var s=o.length;k&&(s+=parseInt(k));var t=q.length;return m&&(t+=parseInt(m)),s<t||!(s>t)&&(p=p||"0",r=r||"0",!(o+p>q+r))},a.validateWidgetValue=function(a,b,c){b(a.component.option("value"))||a.component.option("value",c)},a.getNumberEditorOptions=function(b,c,d){void 0===d&&(d={});var e=a.editors[b]||a.editors[c];return e?a.getValueEditorOptions(e.regExpEditing,function(b){return a._validate(b,e.minValue,e.maxValue)},"",d):d},a.getValueEditorOptions=function(b,c,d,e){var f=this;void 0===e&&(e={});var g={onFocusIn:function(b){a.validateWidgetValue(b,c,d),a._invokeStandardHandler(e,"onFocusIn",b)},onKeyDown:function(c){var d=a._getCharFromKeyCode(c.event);if(d){var f=$(c.element).find("input").eq(0),g=a._getCaretPosition(f.get(0)),h=f.val();g.start<0&&(g=h?h.length:0);var i=[h.slice(0,g.start),d,h.slice(g.end)].join("");b.test(i)||c.event.preventDefault(),f=null,a._invokeStandardHandler(e,"onKeyDown",c)}},onPaste:function(c){var d=c.event.originalEvent.clipboardData||window.clipboardData||{},f=d.getData&&d.getData("Text");if("string"==typeof f){var g=$(c.element).find("input").eq(0),h=a._getCaretPosition(g.get(0)),i=g.val();h.start<0&&(h.end=h.start=i?i.length:0);var j=[i.slice(0,h.start),f,i.slice(h.end)].join("");b.test(j)||c.event.preventDefault(),g=null,a._invokeStandardHandler(e,"onPaste",c)}},onValueChanged:function(b){b.value!==d&&f.validateWidgetValue(b,c,b.previousValue),a._invokeStandardHandler(e,"onValueChanged",b)}};return $.extend({},e,g)},a.isValid=function(b,c,d){var e=a.editors[b]||a.editors[c];return e.regExpEditing.test(d)&&a._validate(d,e.minValue,e.maxValue)},a._invokeStandardHandler=function(a,b,c){$.isFunction(a[b])&&a[b](c)},a.editors={integer:{regExpEditing:/^-?\d*$/},float:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d+)?$/},"System.Byte":{regExpEditing:/^\d*$/,minValue:null,maxValue:"255"},"System.SByte":{regExpEditing:/^-?\d*$/,minValue:"-128",maxValue:"127"},"System.Int16":{regExpEditing:/^-?\d*$/,minValue:"-32768",maxValue:"32767"},"System.UInt16":{regExpEditing:/^\d*$/,minValue:null,maxValue:"65535"},"System.Int32":{regExpEditing:/^-?\d*$/,minValue:"-2147483648",maxValue:"2147483647"},"System.UInt32":{regExpEditing:/^\d*$/,minValue:null,maxValue:"4294967295"},"System.Int64":{regExpEditing:/^-?\d*$/,minValue:"-9223372036854775808",maxValue:"9223372036854775807"},"System.UInt64":{regExpEditing:/^\d*$/,minValue:null,maxValue:"18446744073709551615"},"System.Single":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-3.40282347e+38",maxValue:"3.40282347e+38"},"System.Double":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-1.7976931348623157e+308",maxValue:"1.7976931348623157e+308"},"System.Decimal":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-79228162514264337593543950335",maxValue:"79228162514264337593543950335"}},a}();a.ValueEditorHelper=b}(a.Internal||(a.Internal={}))}(d=b.Widgets||(b.Widgets={}));!function(b){function f(a,b,c){var e=""+a;return d.Internal.ValueEditorHelper.isValid(c,"integer",e)?e:b}function g(a){var d=$.Deferred();try{var f=[],g=function(d,e,g){void 0===g&&(g=!1);var h=b.formatUnicorn(c.getLocalization("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),g?"?"+e:"["+e+"]"),i=$.Deferred();a.fieldListProvider.getItemByPath(new c.PathRequest(d)).done(function(a){return i.resolve({success:!0})}).fail(function(b){d===e?i.resolve({success:!1,message:h}):a.fieldListProvider.getItemByPath(new c.PathRequest([d.split(".")[0],e].join("."))).done(function(a){return i.resolve({success:!0})}).fail(function(a){return i.resolve({success:!1,message:h})})}),f.push(i)},h=e.CriteriaOperator.parse(a.expression);e.Utils.criteriaForEach(h,function(b,c){if(b instanceof e.OperandProperty){var d=0===b.propertyName.indexOf("^.")?b.propertyName.substring(2):b.propertyName,f=d;-1===(a.rootItems||[]).indexOf(d.split(".")[0])&&c&&(f=d?[c,d].join("."):c),g(f,d)}else if(b instanceof e.OperandParameter){var h=b.parameterName,i="Parameters."+h;g(i,h,!0)}},a.path),$.when.apply($,f).done(function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];return d.resolve(a.reduce(function(a,b){return b.success||(a=a?[a,b.message].join("\n"):b.message),a},""))})}catch(a){d.reject()}return d.promise()}function h(a,b,c){var e=""+a;return d.Internal.ValueEditorHelper.isValid(c,"float",e)?e:b}function i(){return a.ui.themes.current()}function j(a){return a=a||i(),-1!==$.inArray(a,p)||($.inArray(a,o),!1)}function k(a,b,c){if(a&&!(a<=0)){var d=b.getCursorPosition(),e=c.lastIndexOf("(");"'"===c.charAt(e+1)&&e++,b.gotoLine(d.row+1,d.column-(c.length-1-e))}}function l(a){return!0===a.isList||"List"===a.specifics||"ListSource"===a.specifics}function m(a,b){return void 0===b&&(b=".dx-designer-viewport"),$(a).closest(b)}function n(a){return null==a||""===a}b.integerValueConverter=f,b.validateExpression=g,b.floatValueConverter=h;var o=["generic.light","generic.carmine","generic.greenmist","generic.softblue","generic.light.compact","generic.carmine.compact","generic.greenmist.compact","generic.softblue.compact"],p=["generic.dark","generic.contrast","generic.dark.compact","generic.darkmoon","generic.darkviolet","generic.contras.compact","generic.darkmoon.compact","generic.darkviolet.compact"];b.isDarkTheme=j,b.setCursorInFunctionParameter=k,b.isList=l,b.getParentContainer=m,b.isNullOrEmptyString=n}(b.Internal||(b.Internal={})),function(c){!function(c){c.ace=a.Analytics.Widgets.Internal.ace||window.ace,c.aceAvailable=!!c.ace,ko.bindingHandlers.dxAceEditor={init:function(a,d,e,f,g){var h,i=d(),j=i.value,k=i.editorContainer,l=!0,m=function(a,b){l=!1,a.getSession().setValue(b&&b.toString()||""),a.clearSelection(),a.getSession().getUndoManager().reset(),l=!0};if(c.ace){var n=void 0==i.options.showGutter||i.options.showGutter,o=i.additionalOptions,p=c.ace.require("ace/ext/language_tools");h=c.ace.edit(a);var q=(ko.observable(null),i.theme);q||(q=b.Internal.isDarkTheme()?"ace/theme/ambiance":"ace/theme/dreamweaver"),h.setTheme(q),h.$blockScrolling=1/0;var r=f.languageHelper.getLanguageMode(),s=h.getSession();s.gutterRenderer={getWidth:function(a,b,c){return b.toString().length*c.characterWidth},getText:function(a,b){return b+1}},s.setMode(r);var t,u,v,w=function(){h.completer&&h.completer.popup&&h.completer.popup.hide()};if(o){if(o.onChange){var x=null;t=function(a){null!==x&&clearTimeout(x),l&&(x=setTimeout(function(){j()!==s.getValue()&&o.onChange(s)},o&&o.changeTimeout||1e3))},s.on("change",t)}o.overrideEditorFocus&&(h.focus=function(a,b){h.textInput.getElement().focus()}),o.onFocus&&(u=function(){o.onFocus(s)},h.on("focus",u)),o.onBlur&&(w=function(){return h.completer&&h.completer.popup&&h.completer.popup.hide(),o.onBlur(s)}),o.onChangeAnnotation&&(v=function(a,b){o.onChangeAnnotation(b)},s.on("changeAnnotation",v))}h.on("blur",w);var y=f.languageHelper.createCompleters(h,g,f);if(p.setCompleters(y),h.setOptions(i.options),o&&"setUseWrapMode"in o&&h.getSession().setUseWrapMode(o.setUseWrapMode),n||h.renderer.setShowGutter(n),h.renderer.$gutter){var z=h.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary";h.renderer.$gutter.className=z}var A=h._defaultHandlers.guttermousemove;if(h._defaultHandlers.guttermousemove=function(b){var c=a.getBoundingClientRect();b.x=b.x-c.left,b.y=b.y-c.top,A(b)},ko.isSubscribable(j))var B=j.subscribe(function(a){a!==s.getValue()&&m(h,a),o&&o.onValueChange&&o.onValueChange(h)});m(h,ko.unwrap(j)),i.callbacks&&(i.callbacks.focus=function(){setTimeout(function(){h.textInput.getElement().focus()},10)}),b.Internal.addDisposeCallback(a,function(){B.dispose(),i.callbacks&&(i.callbacks.focus=$.noop),y.forEach(function(a){return a.dispose&&a.dispose()}),w&&h.off("blur",w),u&&h.off("focus",u),t&&s.off("change",t),v&&s.off("changeAnnotation",v)})}ko.isObservable(k)&&k(h)}}}(c.Internal||(c.Internal={})),ko.bindingHandlers.focus={init:function(a,c){var d=c().on||c(),e=d.subscribe(function(b){b&&setTimeout(function(){$(a).find(":input").focus()},1)});b.Internal.addDisposeCallback(a,function(){e.dispose()})}},ko.bindingHandlers.svgAttrs={update:function(a,b,c,d){a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink")}},function(a){function b(b){return a.functionDisplay.map(function(a){var c=b[a.display];return c?{display:a.display,category:a.category,localizationId:a.localizationId,items:$.extend({},a.items,c)}:a})}a.operatorNames=[{text:"+",image:"addition",descriptionStringId:"ExpressionEditorStringId.Operator_Plus"},{text:"-",image:"subtraction",descriptionStringId:"ExpressionEditorStringId.Operator_Minus"},{text:"*",image:"multiplication",descriptionStringId:"ExpressionEditorStringId.Operator_Multiply"},{text:"/",image:"division",descriptionStringId:"ExpressionEditorStringId.Operator_Divide"},{text:"%",image:"modulus",hasSeparator:!0,descriptionStringId:"ExpressionEditorStringId.Operator_Modulo"},{text:"()",image:"parenthesis",hasSeparator:!0},{text:"|",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseOr"},{text:"&",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseAnd"},{text:"^",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseXor"},{text:"==",image:"equal",descriptionStringId:"ExpressionEditorStringId.Operator_Equal"},{text:"!=",image:"not_equal",descriptionStringId:"ExpressionEditorStringId.Operator_NotEqual"},{text:"<",image:"less",descriptionStringId:"ExpressionEditorStringId.Operator_Less"},{text:"<=",image:"less_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_LessOrEqual"},{text:">=",image:"greater_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_GreaterOrEqual"},{text:">",hasSeparator:!0,image:"greater",descriptionStringId:"ExpressionEditorStringId.Operator_Greater"},{text:"In",descriptionStringId:"ExpressionEditorStringId.Operator_In"},{text:"Like",descriptionStringId:"ExpressionEditorStringId.Operator_Like"},{text:"Between",descriptionStringId:"ExpressionEditorStringId.Operator_Between"},{text:"And",image:"and",descriptionStringId:"ExpressionEditorStringId.Operator_And"},{text:"Or",image:"or",descriptionStringId:"ExpressionEditorStringId.Operator_Or"},{text:"Not",image:"not",descriptionStringId:"ExpressionEditorStringId.Operator_Not"}],a.functionDisplay=[{display:"Aggregate",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Aggregate",category:"Aggregate",items:{Avg:[{paramCount:1,text:"[].Avg()",displayName:"Avg()",descriptionStringId:"ExpressionEditorStringId.Function_AvgAggregate"}],Count:[{paramCount:1,text:"[].Count()",displayName:"Count()",descriptionStringId:"ExpressionEditorStringId.Function_CountAggregate"}],Exists:[{paramCount:1,text:"[].Exists()",displayName:"Exists()",descriptionStringId:"ExpressionEditorStringId.Function_ExistsAggregate"}],Max:[{paramCount:1,text:"[].Max()",displayName:"Max()",descriptionStringId:"ExpressionEditorStringId.Function_MaxAggregate"}],Min:[{paramCount:1,text:"[].Min()",displayName:"Min()",descriptionStringId:"ExpressionEditorStringId.Function_MinAggregate"}],Single:[{paramCount:1,text:"[].Single()",displayName:"Single()",descriptionStringId:"ExpressionEditorStringId.Function_SingleAggregate"}],Sum:[{paramCount:1,text:"[].Sum()",displayName:"Sum()",descriptionStringId:"ExpressionEditorStringId.Function_SumAggregate"}]}},{display:"Date-Time",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_DateTime",items:{LocalDateTimeThisYear:[{paramCount:0,text:"LocalDateTimeThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisYear"}],LocalDateTimeThisMonth:[{paramCount:0,text:"LocalDateTimeThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisMonth"}],LocalDateTimeLastMonth:[{paramCount:0,text:"LocalDateTimeLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastMonth"}],LocalDateTimeLastWeek:[{paramCount:0,text:"LocalDateTimeLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastWeek"}],LocalDateTimeLastYear:[{paramCount:0,text:"LocalDateTimeLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastYear"}],LocalDateTimeThisWeek:[{paramCount:0,text:"LocalDateTimeThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisWeek"}],LocalDateTimeYesterday:[{paramCount:0,text:"LocalDateTimeYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYesterday"}],LocalDateTimeToday:[{paramCount:0,text:"LocalDateTimeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeToday"}],LocalDateTimeNow:[{paramCount:0,text:"LocalDateTimeNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNow"}],LocalDateTimeTomorrow:[{paramCount:0,text:"LocalDateTimeTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTomorrow"}],LocalDateTimeDayAfterTomorrow:[{paramCount:0,text:"LocalDateTimeDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow"}],LocalDateTimeNextWeek:[{paramCount:0,text:"LocalDateTimeNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextWeek"}],LocalDateTimeTwoMonthsAway:[{paramCount:0,text:"LocalDateTimeTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway"}],LocalDateTimeTwoYearsAway:[{paramCount:0,text:"LocalDateTimeTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway"}],LocalDateTimeTwoWeeksAway:[{paramCount:0,text:"LocalDateTimeTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway"}],LocalDateTimeNextMonth:[{paramCount:0,text:"LocalDateTimeNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextMonth"}],LocalDateTimeNextYear:[{paramCount:0,text:"LocalDateTimeNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextYear"}],LocalDateTimeYearBeforeToday:[{paramCount:0,text:"LocalDateTimeYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalLaterThisYear:null,IsOutlookIntervalLaterThisMonth:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalLaterThisWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalEarlierThisWeek:null,IsOutlookIntervalLastWeek:null,IsOutlookIntervalEarlierThisMonth:null,IsOutlookIntervalEarlierThisYear:null,IsOutlookIntervalPriorThisYear:null,IsLastMonth:[{paramCount:1,text:"IsLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastMonth"}],IsLastYear:[{paramCount:1,text:"IsLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastYear"}],IsNextMonth:[{paramCount:1,text:"IsNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextMonth"}],IsNextYear:[{paramCount:1,text:"IsNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextYear"}],IsThisWeek:[{paramCount:1,text:"IsThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisWeek"}],IsThisMonth:[{paramCount:1,text:"IsThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisMonth"}],IsThisYear:[{paramCount:1,text:"IsThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisYear"}],IsJanuary:[{paramCount:1,text:"IsJanuary()",descriptionStringId:"ExpressionEditorStringId.Function_IsJanuary"}],IsFebruary:[{paramCount:1,text:"IsFebruary()",descriptionStringId:"ExpressionEditorStringId.Function_IsFebruary"}],IsMarch:[{paramCount:1,text:"IsMarch()",descriptionStringId:"ExpressionEditorStringId.Function_IsMarch"}],IsApril:[{paramCount:1,text:"IsApril()",descriptionStringId:"ExpressionEditorStringId.Function_IsApril"}],IsMay:[{paramCount:1,text:"IsMay()",descriptionStringId:"ExpressionEditorStringId.Function_IsMay"}],IsJune:[{paramCount:1,text:"IsJune()",descriptionStringId:"ExpressionEditorStringId.Function_IsJune"}],IsJuly:[{paramCount:1,text:"IsJuly()",descriptionStringId:"ExpressionEditorStringId.Function_IsJuly"}],IsAugust:[{paramCount:1,text:"IsAugust()",descriptionStringId:"ExpressionEditorStringId.Function_IsAugust"}],IsSeptember:[{paramCount:1,text:"IsSeptember()",descriptionStringId:"ExpressionEditorStringId.Function_IsSeptember"}],IsOctober:[{paramCount:1,text:"IsOctober()",descriptionStringId:"ExpressionEditorStringId.Function_IsOctober"}],IsNovember:[{paramCount:1,text:"IsNovember()",descriptionStringId:"ExpressionEditorStringId.Function_IsNovember"}],IsDecember:[{paramCount:1,text:"IsDecember()",descriptionStringId:"ExpressionEditorStringId.Function_IsDecember"}],IsSameDay:[{paramCount:2,text:"IsSameDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_IsSameDay"}],IsYearToDate:[{paramCount:1,text:"IsYearToDate()",descriptionStringId:"ExpressionEditorStringId.Function_IsYearToDate"}],DateDiffTick:[{paramCount:2,text:"DateDiffTick(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffTick"}],DateDiffSecond:[{paramCount:2,text:"DateDiffSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffSecond"}],DateDiffMilliSecond:[{paramCount:2,text:"DateDiffMilliSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMilliSecond"}],DateDiffMinute:[{paramCount:2,text:"DateDiffMinute(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMinute"}],DateDiffHour:[{paramCount:2,text:"DateDiffHour(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffHour"}],DateDiffDay:[{paramCount:2,text:"DateDiffDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffDay"}],DateDiffMonth:[{paramCount:2,text:"DateDiffMonth(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMonth"}],DateDiffYear:[{paramCount:2,text:"DateDiffYear(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffYear"}],GetDate:[{paramCount:1,text:"GetDate()",descriptionStringId:"ExpressionEditorStringId.Function_GetDate"}],GetMilliSecond:[{paramCount:1,text:"GetMilliSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetMilliSecond"}],GetSecond:[{paramCount:1,text:"GetSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetSecond"}],GetMinute:[{paramCount:1,text:"GetMinute()",descriptionStringId:"ExpressionEditorStringId.Function_GetMinute"}],GetHour:[{paramCount:1,text:"GetHour()",descriptionStringId:"ExpressionEditorStringId.Function_GetHour"}],GetDay:[{paramCount:1,text:"GetDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetDay"}],GetMonth:[{paramCount:1,text:"GetMonth()",descriptionStringId:"ExpressionEditorStringId.Function_GetMonth"}],GetYear:[{paramCount:1,text:"GetYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetYear"}],GetDayOfWeek:[{paramCount:1,text:"GetDayOfWeek()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfWeek"}],GetDayOfYear:[{paramCount:1,text:"GetDayOfYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfYear"}],GetTimeOfDay:[{paramCount:1,text:"GetTimeOfDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetTimeOfDay"}],Now:[{paramCount:0,text:"Now()",descriptionStringId:"ExpressionEditorStringId.Function_Now"}],UtcNow:[{paramCount:0,text:"UtcNow()",descriptionStringId:"ExpressionEditorStringId.Function_UtcNow"}],Today:[{paramCount:0,text:"Today()",descriptionStringId:"ExpressionEditorStringId.Function_Today"}],AddTimeSpan:[{paramCount:2,text:"AddTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTimeSpan"}],AddTicks:[{paramCount:2,text:"AddTicks(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTicks"}],AddMilliSeconds:[{paramCount:2,text:"AddMilliSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMilliSeconds"}],AddSeconds:[{paramCount:2,text:"AddSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddSeconds"}],AddMinutes:[{paramCount:2,text:"AddMinutes(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMinutes"}],AddHours:[{paramCount:2,text:"AddHours(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddHours"}],AddDays:[{paramCount:2,text:"AddDays(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddDays"}],AddMonths:[{paramCount:2,text:"AddMonths(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMonths"}],AddYears:[{paramCount:2,text:"AddYears(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddYears"}]}},{display:"Logical",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Logical",items:{Iif:[{paramCount:3,text:"Iif(, , )",descriptionStringId:"ExpressionEditorStringId.Function_Iif"}],IsNull:[{paramCount:1,text:"IsNull()",descriptionStringId:"ExpressionEditorStringId.Function_IsNull"}],IsNullOrEmpty:[{paramCount:1,text:"IsNullOrEmpty()",descriptionStringId:"ExpressionEditorStringId.Function_IsNullOrEmpty"}]}},{display:"Math",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Math",items:{Abs:[{paramCount:1,text:"Abs()",descriptionStringId:"ExpressionEditorStringId.Function_Abs"}],Sqr:[{paramCount:1,text:"Sqr()",descriptionStringId:"ExpressionEditorStringId.Function_Sqr"}],Cos:[{paramCount:1,text:"Cos()",descriptionStringId:"ExpressionEditorStringId.Function_Cos"}],Sin:[{paramCount:1,text:"Sin()",descriptionStringId:"ExpressionEditorStringId.Function_Sin"}],Atn:[{paramCount:1,text:"Atn()",descriptionStringId:"ExpressionEditorStringId.Function_Atn"}],Exp:[{paramCount:1,text:"Exp()",descriptionStringId:"ExpressionEditorStringId.Function_Exp"}],Log:[{paramCount:1,text:"Log()",descriptionStringId:"ExpressionEditorStringId.Function_Log"},{paramCount:2,text:"Log(, )",descriptionStringId:"ExpressionEditorStringId.Function_Log_2"}],Rnd:[{paramCount:0,text:"Rnd()",descriptionStringId:"ExpressionEditorStringId.Function_Rnd"}],Tan:[{paramCount:1,text:"Tan()",descriptionStringId:"ExpressionEditorStringId.Function_Tan"}],Power:[{paramCount:2,text:"Power(, )",descriptionStringId:"ExpressionEditorStringId.Function_Power"}],Sign:[{paramCount:1,text:"Sign()",descriptionStringId:"ExpressionEditorStringId.Function_Sign"}],Round:[{paramCount:1,text:"Round()",descriptionStringId:"ExpressionEditorStringId.Function_Round"},{paramCount:2,text:"Round(, )",descriptionStringId:"ExpressionEditorStringId.Function_Round_2"}],Ceiling:[{paramCount:1,text:"Ceiling()",descriptionStringId:"ExpressionEditorStringId.Function_Ceiling"}],Floor:[{paramCount:1,text:"Floor()",descriptionStringId:"ExpressionEditorStringId.Function_Floor"}],Max:[{paramCount:2,text:"Max(, )",descriptionStringId:"ExpressionEditorStringId.Function_Max"}],Min:[{paramCount:2,text:"Min(, )",descriptionStringId:"ExpressionEditorStringId.Function_Min"}],Acos:[{paramCount:1,text:"Acos()",descriptionStringId:"ExpressionEditorStringId.Function_Acos"}],Asin:[{paramCount:1,text:"Asin()",descriptionStringId:"ExpressionEditorStringId.Function_Asin"}],Atn2:[{paramCount:2,text:"Atn2(, )",descriptionStringId:"ExpressionEditorStringId.Function_Atn2"}],BigMul:[{paramCount:2,text:"BigMul(, )",descriptionStringId:"ExpressionEditorStringId.Function_BigMul"}],Cosh:[{paramCount:1,text:"Cosh()",descriptionStringId:"ExpressionEditorStringId.Function_Cosh"}],Log10:[{paramCount:1,text:"Log10()",descriptionStringId:"ExpressionEditorStringId.Function_Log10"}],Sinh:[{paramCount:1,text:"Sinh()",descriptionStringId:"ExpressionEditorStringId.Function_Sinh"}],Tanh:[{paramCount:1,text:"Tanh()",descriptionStringId:"ExpressionEditorStringId.Function_Tanh"}],ToInt:[{paramCount:1,text:"ToInt()",descriptionStringId:"ExpressionEditorStringId.Function_ToInt"}],ToLong:[{paramCount:1,text:"ToLong()",descriptionStringId:"ExpressionEditorStringId.Function_ToLong"}],ToFloat:[{paramCount:1,text:"ToFloat()",descriptionStringId:"ExpressionEditorStringId.Function_ToFloat"}],ToDouble:[{paramCount:1,text:"ToDouble()",descriptionStringId:"ExpressionEditorStringId.Function_ToDouble"}],ToDecimal:[{paramCount:1,text:"ToDecimal()",descriptionStringId:"ExpressionEditorStringId.Function_ToDecimal"}]}},{display:"String",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Text",items:{Trim:[{paramCount:1,text:"Trim()",descriptionStringId:"ExpressionEditorStringId.Function_Trim"}],Len:[{paramCount:1,text:"Len()",descriptionStringId:"ExpressionEditorStringId.Function_Len"}],Substring:[{paramCount:3,text:"Substring('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Substring_3"},{paramCount:2,text:"Substring('', )",descriptionStringId:"ExpressionEditorStringId.Function_Substring"}],Upper:[{paramCount:1,text:"Upper()",descriptionStringId:"ExpressionEditorStringId.Function_Upper"}],Lower:[{paramCount:1,text:"Lower()",descriptionStringId:"ExpressionEditorStringId.Function_Lower"}],Concat:[{paramCount:1/0,text:"Concat(, )",descriptionStringId:"ExpressionEditorStringId.Function_Concat"}],Ascii:[{paramCount:1,text:"Ascii('')",descriptionStringId:"ExpressionEditorStringId.Function_Ascii"}],Char:[{paramCount:1,text:"Char()",descriptionStringId:"ExpressionEditorStringId.Function_Char"}],ToStr:[{paramCount:1,text:"ToStr()",descriptionStringId:"ExpressionEditorStringId.Function_ToStr"}],Replace:[{paramCount:3,text:"Replace('','', '')",descriptionStringId:"ExpressionEditorStringId.Function_Replace"}],Reverse:[{paramCount:1,text:"Reverse('')",descriptionStringId:"ExpressionEditorStringId.Function_Reverse"}],Insert:[{paramCount:3,text:"Insert('', , '')",descriptionStringId:"ExpressionEditorStringId.Function_Insert"}],CharIndex:[{paramCount:2,text:"CharIndex('','')",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex"},{paramCount:3,text:"CharIndex('','', )",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex_3"}],Remove:[{paramCount:2,text:"Remove('', )",descriptionStringId:"ExpressionEditorStringId.Function_Remove"},{paramCount:3,text:"Remove('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Remove_3"}],PadLeft:[{paramCount:2,text:"PadLeft(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft"},{paramCount:3,text:"PadLeft(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft_3"}],PadRight:[{paramCount:2,text:"PadRight(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadRight"},{paramCount:3,text:"PadRight(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadRight_3"}],StartsWith:[{paramCount:2,text:"StartsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_StartsWith"}],EndsWith:[{paramCount:2,text:"EndsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_EndsWith"}],Contains:[{paramCount:0,text:"Contains('', '')",descriptionStringId:"ExpressionEditorStringId.Function_Contains"}],Join:[{paramCount:1,text:"Join()",descriptionStringId:"ExpressionEditorStringId.Function_Join"},{paramCount:2,text:"Join(, '')",descriptionStringId:"ExpressionEditorStringId.Function_Join_2"}]}}],a.insertInFunctionDisplay=b}(c.Internal||(c.Internal={}))}(d=b.Widgets||(b.Widgets={}));var e;!function(b){function c(a){var b=[];return Object.keys(a).forEach(function(a){isNaN(a)&&b.push(a)}),b}var d=function(){function a(a,b,c,d){this.tokenName=a,this.alphabet=b,this.startTerm=c,this.endTerm=d,this.tokenLength=0,this.isActiveState=!1,this.tokens=[]}return a.prototype._isSubline=function(a,b){for(var c=a+b.length-1<this.alphabet.length,d=a;d<a+b.length&&c;d++)c=this.alphabet[d]==b[d-a];return c},a.prototype._getToken=function(a){var b={type:this.tokenName,start:a-this.tokenLength+1,end:a+this.endTerm.length};return b.val=this.alphabet.substring(b.start,b.end),b},a.prototype.processTransitionFunction=function(a){return this.isActiveState&&this.tokenLength++,this._isSubline(a,this.startTerm)&&!this.isActiveState?(this.isActiveState=!0,this.tokenLength+=this.startTerm.length,this.startTerm.length-1):this.isActiveState&&this._isSubline(a,this.endTerm)?(this.isActiveState=!1,this.tokens.push(this._getToken(a)),this.tokenLength=0,this.endTerm.length-1):0},a}();b.MachineState=d;var e=function(){function c(a){this.stringCriteria=a,this.machineStates=[],this.machineStates.push(new d("field",a,"[","]")),this.machineStates.push(new d("value",a,"'","'")),this.machineStates.push(new d("comment",a,"/*","*/")),this._inputStringCriteria=a}return c.prototype._tokenize=function(){for(var a=this,b=0;b<this.stringCriteria.length;b++){var c=0;this.machineStates.forEach(function(d){if(!c){a.machineStates.filter(function(a){return a!=d&&a.isActiveState}).length||(c=d.processTransitionFunction(b))}}),b+=c}var d=[];return this.machineStates.forEach(function(a){d=d.concat(a.tokens),a.tokens=[]}),d},c.prototype._replaceTokenToAnotherToken=function(b,c,d){var e=this.stringCriteria;return b=b.filter(function(a){return a.type==d}).sort(function(a){return a.start}).reverse(),b.forEach(function(b){var d=b.val.split("\n"),f=b.start,g=b.end;d.forEach(function(d){g=d.length+f!==b.end?f+d.length:b.end,e=a.Analytics.Internal.stringReplace(e,f,g-f,c),f=d.length*c.length+1})}),e},c.prototype.replaceCommentsToChar=function(a){return void 0===a&&(a=""),this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),a,"comment"),this},c.prototype.getCriteria=function(){return b.criteriaparser.parse(this._inputStringCriteria)},c}();b.CriteriaOperatorStateMachine=e;var f=function(){function a(){var a=this;this.type="Default",this.operands=null,this.changeValueType=function(b,c){var d=new b;return null!==c.index?a[c.name][c.index]=d:a[c.name]=d,d},this.changeValue=function(c,d,e){var f=d?new b.UnaryOperator(b.UnaryOperatorType.Minus,c):c;return null!==e.index?a[e.name][e.index]=f:a[e.name]=f,f},this.assignLeftPart=function(a){},this.assignRightPart=function(a){},this.assignType=function(b){a.operatorType=b},this.resetrightPart=function(a){}}return a.operators=function(a){return[].concat.apply([],a.map(function(a){return c(a).map(function(b){return{name:b,value:a[b],type:a}})}))},a.parse=function(a,b){return void 0===b&&(b=!1),a&&""!==a?b?new e(a).replaceCommentsToChar(" ").getCriteria():new e(a).replaceCommentsToChar().getCriteria():null},a.create=function(a){var c=null;switch(a.type){case b.BinaryOperatorType:c=new b.BinaryOperator(new b.OperandProperty,new b.OperandValue,a.value);break;case b.GroupOperatorType:c=new b.GroupOperator(a.value,[]);break;case b.FunctionOperatorType:c=new b.FunctionOperator(a.value,[new b.OperandProperty]);break;case b.BetweenOperator:c=new b.BetweenOperator(new b.OperandProperty,new b.OperandValue,new b.OperandValue);break;case b.InOperator:c=new b.InOperator(new b.OperandProperty,[new b.OperandValue]);break;case b.UnaryOperatorType:c=new b.UnaryOperator(a.value,new b.OperandProperty);break;case b.Aggregate:var d=new b.AggregateOperand(new b.OperandProperty,null,a.value,new b.GroupOperator(b.GroupOperatorType.And,[]));a.value===b.Aggregate.Exists?c=d:(a.value!==b.Aggregate.Count&&(d.aggregatedExpression=new b.OperandProperty),c=new b.BinaryOperator(d,new b.OperandValue,b.BinaryOperatorType.Equal));break;default:throw Error("Unsupported operator type")}return a.reverse?new b.UnaryOperator(b.UnaryOperatorType.Not,c):c},a.and=function(a,c){return b.GroupOperator.combine(b.GroupOperatorType.Or,[a,c])},a.or=function(a,c){return b.GroupOperator.combine(b.GroupOperatorType.Or,[a,c])},a.getNotValidRange=function(a,b){var c=0,d=b.split("\n"),e=d[1],f=d[2].length;0===e.indexOf("...")&&(e=e.split("...")[1]);var c=a.indexOf(e);return{start:c,end:c+f}},Object.defineProperty(a.prototype,"displayType",{get:function(){return this.operatorType},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"enumType",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"leftPart",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rightPart",{get:function(){return null},enumerable:!0,configurable:!0}),a.prototype.assignFrom=function(a,c,d){void 0===c&&(c=!1),void 0===d&&(d=!0);var e=a;a instanceof b.UnaryOperator&&!(a.leftPart instanceof b.OperandProperty)&&(e=a.leftPart),c?this.assignLeftPart(e.leftPart):this.assignLeftPart(e),e.rightPart&&d&&this.assignRightPart(e)},a.prototype.children=function(){var a=[];return this.leftPart&&a.push.apply(a,$.isArray(this.leftPart)?this.leftPart:[this.leftPart]),this.rightPart&&a.push.apply(a,$.isArray(this.rightPart)?this.rightPart:[this.rightPart]),a},a.prototype.accept=function(a){throw"Not implemented"},a}();b.CriteriaOperator=f}(e=b.Criteria||(b.Criteria={})),function(d){!function(d){function f(c,d,e){void 0===e&&(e=null);var e=e||c.text;return{caption:d,snippet:e,meta:b.Utils.getLocalization("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:c.description||a.Analytics.Utils.getLocalization(c.text,c.descriptionStringId)||null,score:10,completer:{insertMatch:function(a,d){var f=a.completer.completions;if(f.filterText)for(var g,h=a.selection.getAllRanges(),i=0;g=h[i];i++)g.start.column-=f.filterText.length,a.session.remove(g);if("[]."===e.substr(0,3))for(var g,h=a.selection.getAllRanges(),i=0;g=h[i];i++)g.start.column-=2,"]."===a.session.getTextRange(g)&&(e=e.substr(3));a.insert(e),b.Internal.setCursorInFunctionParameter(c.paramCount,a,e)}}}}function g(a){return a.substring("["===a[0]?1:0,"]"===a[a.length-1]?a.length-1:a.length)}var h=function(a){function h(b){var c=a.call(this)||this;return c._options=b,c._contextPath=null,c._isInContext=function(){return null!==c._contextPath},c._getPath=function(){return c._contextPath?c._path()+"."+c._contextPath:c._path()},c.identifierRegexps=[/\./,/\[/],c._fieldListProvider=b.fieldListProvider,c._path=b.path,c._editor=b.editor,c._functions=ko.computed(function(){return ko.unwrap(b.functions)||d.functionDisplay}),c._rootItems=b.rootItems||[{name:"Parameters",needPrefix:!0}],c._disposables.push(c._functions),c}return __extends(h,a),h.prototype._previousSymbol=function(){var a=this._editor.getCursorPosition();return this._editor.session.getLine(a.row)[a.column-1]},h.prototype.beforeInsertMatch=function(a,b,c){var d=a.getCursorPosition();if("Parameters."===c)(b=b||!this._isInContext()&&a.session.getTokenAt(d.row,d.column))&&("support.variable.other"===b.type||"support.function"===b.type?a.session.remove({start:{column:b.start-1||0,row:d.row},end:{column:Math.max(b.start+b.value.length||0,d.column),row:d.row}}):"support.variable.parameter"===b.type?a.session.remove({start:{column:b.start||0,row:d.row},end:{column:Math.max(b.start+b.value.length+1||0,d.column),row:d.row}}):"text"===b.type&&"?"===b.value[b.value.length-1]&&a.session.remove({start:{column:b.start+b.value.length-1||0,row:d.row},end:{column:b.start+b.value.length||0,row:d.row}}));else{if(!(b=b||a.session.getTokenAt(d.row,d.column)))return;var e=null;"support.variable.other"===b.type||"support.function"===b.type?e=Math.max(b.start+b.value.length||0,d.column):"support.context.start"===b.type&&d.column<b.start+b.value.length&&(e=b.start+b.value.length-1||0),null!==e&&a.session.remove({start:{column:b.start||0,row:d.row},end:{column:e,row:d.row}})}},h.prototype.insertMatch=function(a,b,c){"Parameters."===b?a.insert("?"+c):a.insert("["+(b||"")+c+"]")},h.prototype.generateFieldDisplayName=function(a,b){return"Parameters."===a?"?"+b:"["+b+"]"},h.prototype._convertDataMemberInfoToCompletions=function(a,c,d){var e=this;return void 0===d&&(d=""),(a||[]).map(function(a){var f=e.generateFieldDisplayName(d,a.displayName);return{caption:a.displayName||a.name,snippet:f,meta:b.Internal.isList(a)&&b.Utils.getLocalization("list","DxDesignerStringId.CodeCompletion_List")||b.Utils.getLocalization("field","DxDesignerStringId.CodeCompletion_Field"),score:b.Internal.isList(a)&&200||100,completer:{insertMatch:function(b,f){e.beforeInsertMatch(b,c,d),e.insertMatch(b,d,e._options.getRealExpression?a.displayName||a.name:a.name)}}}})},h.prototype._combinePath=function(a){var b=this._getPath();if(a){var c=this._rootItems.filter(function(b){return 0===a.indexOf(b.name)})[0];b=c&&c.rootPath?[c.rootPath,a].join("."):[b,a].join(".")}return b},h.prototype._getParentPrefix=function(a){var b=this._editor.getCursorPosition().column-a.start-1,c=a.value.lastIndexOf(".",b),d=a.value.lastIndexOf("]",b);c=Math.max(d,c);var e="support.variable.other"===a.type||"support.context.start"===a.type?1:0,f=a.value.substring(e,c);return"["===f[0]&&(f=f.substr(1)),"]"===f[f.length-1]&&(f=f.substring(0,f.length-1)),f},h.prototype._getRealPath=function(a){var b=a.split("."),c=$.Deferred();return this._options.getRealExpression?this._options.getRealExpression(b[0],this.generateFieldDisplayName(null,b.splice(1).join("."))).done(function(a){a=a.slice(1,a.length-1),c.resolve(a&&[b[0],a].join(".")||b[0])}).fail(function(){c.resolve(a)}):c.resolve(a),c.promise()},h.prototype._getFields=function(a,b,d){var e=this;void 0===a&&(a=null),void 0===b&&(b=[]),void 0===d&&(d=!1);var f=$.Deferred(),g=void 0;return!a||"support.variable.other"!==a.type&&"support.function"!==a.type&&"support.context.start"!==a.type||(g=this._getParentPrefix(a)),this._getRealPath(this._combinePath(g)).done(function(i){var j=ko.unwrap(e._fieldListProvider).getItems(new c.PathRequest(i)).done(function(c){b.push.apply(b,e._convertDataMemberInfoToCompletions(h._cleanupFields(c),a,d?null:g&&g+"."))}),k=[j],l=[];g||e._rootItems.forEach(function(d){var f=d.rootPath||d.name;-1===l.indexOf(f)&&(l.push(f),k.push(ko.unwrap(e._fieldListProvider).getItems(new c.PathRequest(f)).done(function(c){e._processFields(k,c,b,f,a,d.needPrefix?d.name+".":"",!0)})))}),$.when(k).always(function(){f.resolve(b)})}),f.promise()},h._cleanupFields=function(a){return void 0===a&&(a=[]),a.filter(function(a){return"parameters"!==a.specifics&&"none"!==a.specifics})},h.prototype._processFields=function(a,e,f,g,i,j,k){var l=this;void 0===j&&(j=""),void 0===k&&(k=!1);var m=function(a){f.push.apply(f,l._convertDataMemberInfoToCompletions(k?h._cleanupFields(a):a,i,j))};e.forEach(function(e){e.specifics===d.RangeSpecific&&b.Internal.isList(e)?a.push(ko.unwrap(l._fieldListProvider).getItems(new c.PathRequest(g+"."+e.name)).done(function(a){m(a)}).fail(function(){m([e])})):m([e])})},h.prototype.getFunctionsCompletions=function(){var a=[];return ko.unwrap(this._functions).filter(function(a){return"Aggregate"!==a.category}).forEach(function(b){Object.keys(b.items).forEach(function(c){b.items[c]&&a.push(f(b.items[c][0],c))})}),a},h.prototype.getAggregateCompletions=function(){var a=[],b=ko.unwrap(this._functions).filter(function(a){return"Aggregate"===a.category})[0];return b&&Object.keys(b.items).forEach(function(c){b.items[c]&&a.push(f(b.items[c][0],c,c+"()"))}),a},h.prototype.getOperatorCompletions=function(a){return d.operatorNames.map(function(c){return{caption:c.text,snippet:a+c.text,meta:b.Utils.getLocalization("operator","DxDesignerStringId.CodeCompletion_Operator")}})},h.prototype._addFunctions=function(a){a.push.apply(a,this.getFunctionsCompletions())},h.prototype._addAggregates=function(a){a.push.apply(a,this.getAggregateCompletions())},h.prototype._addOperators=function(a,b){var c=/\s/.test(b[b.length-1])?"":" ";a.push.apply(a,this.getOperatorCompletions(c))},h.prototype._addParameterOperators=function(a,b){var d=this,e=$.Deferred(),f=[],g="Parameters";return f.push(ko.unwrap(this._fieldListProvider).getItems(new c.PathRequest(g)).done(function(c){d._processFields(f,c,a,g,b,g+".")})),$.when(f).always(function(){e.resolve(a)}),e.promise()},h.prototype._getOperands=function(a){void 0===a&&(a=null);var b=[];return this._addFunctions(b),this._getFields(a,b)},h.prototype._getOperandsOrOperators=function(a,b,c){var d;try{e.CriteriaOperator.parse(b)}catch(a){d=a.hash}var f=b.trim(),g=f[f.length-1];if("?"===g&&" "!==b[b.length-1])this._addParameterOperators(c,a);else{if((d||!f)&&"]"!==g&&")"!==g)return this._getOperands();this._addOperators(c,b)}},h.prototype._findStartContextTokenPosition=function(a,b){for(var c=0,d=b;d>-1;d--)if("support.context.end"===a[d].type)c++;else if("support.context.start"===a[d].type){if(!(c>0))return d;c--}},h.prototype._findOpenedStartContext=function(a,b){for(var c=[],d=a.filter(function(a,c){return("support.context.start"===a.type||"support.context.end"===a.type)&&c<b}),e=0;e<d.length;e++)"support.context.start"===d[e].type?c.push(a.indexOf(d[e])):c.pop();return c},h.prototype._findOpenedAggregates=function(a,b){var c=[],d=a.filter(function(a,c){return"support.other.aggregate"===a.type&&c<b});if(d.length>0)for(var e=a[b],f=this._editor.getCursorPosition().column-(e&&e.start||0),g=d.length-1;g>-1;g--){var h=a.indexOf(d[g]),i=0,j=0,k=!1;if(h+1===b&&-1!==a[h+1].value.substr(0,f).indexOf("()")||h+1<b&&-1!==a[h+1].value.indexOf("()"))k=!0,b=h;else{for(var l=h;l<b;l++)if("("===a[l].value.trim()?i++:")"===a[l].value.trim()&&j++,i===j&&0!==i){k=!0;break}k||c.splice(0,0,h),b=h}}return c},h.prototype._getContextPath=function(a,b){var c=[],d=this._findOpenedAggregates(a,b),e=this._findOpenedStartContext(a,b),f=e.concat.apply(e,d).sort(function(a,b){return a-b});if(f.length>0)for(var h=0;h<f.length;h++)if("support.other.aggregate"===a[f[h]].type)if("support.context.end"===a[f[h]-1].type){var i=this._findStartContextTokenPosition(a,f[h]-2),j=g(a[i].value.match(/^\[(?:[^\]\)])*\]/)[0]);c.push(j)}else"support.variable.other"===a[f[h]-1].type&&c.push(g(a[f[h]-1].value));else{var j=g(a[f[h]].value.match(/^\[(?:[^\]\)])*\]/)[0]);c.push(j)}return c.filter(function(a){return!!a}).join(".")},h.prototype._getCompletions=function(a,b,c,d){var e,f=[],h=b.getTokenAt(c.row,c.column),i=a.session.getLine(c.row).substring(0,c.column),j=b.getTokens(c.row),k=h?h.index:-1;if(this._contextPath=this._getContextPath(j,k),h)if("support.context.start"===h.type){var l=this._editor.getCursorPosition().column-h.start===h.value.length;if(l){var m=[];this._addFunctions(m)}e=this._getFields(h,m,l)}else if("string.quoted.single"===h.type);else if(0===h.type.indexOf("support.variable"))e=this._getFields(h);else if("support.function"===h.type)e=this.defaultProcess(h,i.substring(0,h.start),f);else if("support.other.aggregate"===h.type){var n=j[k-1];this._addAggregates(f),n&&g(n.value).trim()&&(e=this._getFields({start:h.start-(n.value||"").length||0,value:n.value+h.value,type:"support.function"},f))}else 0!==h.type.indexOf("comment")&&(e=this.defaultProcess(h,i,f));else e=this._getOperands();return e?e.promise():$.Deferred().resolve(f).promise()},h.prototype.defaultProcess=function(a,b,c){return this._getOperandsOrOperators(a,b,c)},h.prototype.getCompletions=function(a,b,c,d,e){this._getCompletions(a,b,c,d).done(function(a){e(null,a)})},h.prototype.getDocTooltip=function(a){a.tooltip&&!a.docHTML&&(a.docHTML=[a.tooltip].join(""))},h}(c.Disposable);d.CodeCompletor=h,d.createFunctionCompletion=f,d.trimBrackets=g}(d.Internal||(d.Internal={}))}(d=b.Widgets||(b.Widgets={})),function(a){!function(b){function c(b,d,e){void 0===e&&(e=""),d(b,e),b instanceof a.AggregateOperand&&(b.leftPart&&c(b.leftPart,d,e),b.leftPart&&b.leftPart.propertyName&&(e=e?[e,b.leftPart.propertyName].join("."):b.leftPart.propertyName)),b.children().forEach(function(a){return c(a,d,e)})}b.operatorTokens={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">="},b.criteriaForEach=c}(a.Utils||(a.Utils={}));var b=function(a){function b(b,c,d,e){void 0===b&&(b=""),void 0===c&&(c=-1),void 0===d&&(d=-1),void 0===e&&(e=0);var f=a.call(this)||this;return f.type="Property",f.propertyName=b,f.originalPropertyLength=e,f.startPosition={column:c,line:d},f}return __extends(b,a),Object.defineProperty(b.prototype,"displayType",{get:function(){return"["+this.propertyName+"]"},enumerable:!0,configurable:!0}),b.prototype.accept=function(a){return a.visitOperandProperty?a.visitOperandProperty(this):new b(this.propertyName)},b}(a.CriteriaOperator);a.OperandProperty=b}(e=b.Criteria||(b.Criteria={})),function(a){var b=function(){function a(a){this.displayNameProvider=a}return a.prototype._replaceNames=function(a,b,c){var f=this,g=$.Deferred();if(!b)return g.resolve("").promise();try{var h=e.CriteriaOperator.parse(b,!0)}catch(a){return g.reject().promise()}var i=[],j=[],k=new d.Internal.FilterEditorSerializer;if(e.Utils.criteriaForEach(h,function(b,d){if(b instanceof e.OperandProperty){var g=0===b.propertyName.indexOf("^."),h=g?b.propertyName.substring(2):b.propertyName;h=d?[d,h].join("."):h;var k=c?f.displayNameProvider.getDisplayNameByPath(a,h):f.displayNameProvider.getRealName(a,h);i.push(k.done(function(a){var c=g?"^."+a:a;c=d?c.split(".").slice(d.split(".").length).join("."):c,j.push({operand:b,convertedName:c})}))}}),0===i.length)g.resolve(b);else{var l=0,m=function(){if(!(++l<i.length)){for(var a=b.split("\n"),c=0;c<a.length;c++)for(var d=j.filter(function(a){return a.operand.startPosition.line===c}).sort(function(a,b){return a.operand.startPosition.column-b.operand.startPosition.column}),e=0,f=0;e<d.length;e++){var h=d[e].operand.startPosition.column,m=d[e].operand.propertyName,n=0;d[e].operand.originalPropertyLength!==m.length&&(n=d[e].operand.originalPropertyLength-k.serialize(d[e].operand,!1).length);var o=d[e].convertedName;!m||h<0||(a[c]=a[c].substring(0,h+f)+o+a[c].substring(h+m.length+n+f),f+=o.length-m.length-n)}g.resolve(a.join("\n"))}};i.forEach(function(a){return a.always(m)})}return g.promise()},a.prototype.toDisplayExpression=function(a,b){return this._replaceNames(a,b,!0)},a.prototype.toRealExpression=function(a,b){return this._replaceNames(a,b,!1)},a}();a.DisplayExpressionConverter=b}(b.Internal||(b.Internal={})),function(a){var c=function(){function b(){this._func=[]}return b.prototype.CriteriaOperator=function(){return new a.CriteriaOperator},b.prototype.BinaryOperator=function(a){return new h(a.left,a.right,a.operatorType)},b.prototype.FunctionOperator=function(a){return new l(a.operatorType,a.operands)},b.prototype.AggregateOperand=function(a){return new e(a.property,a.aggregatedExpression,a.aggregateType,a.condition)},b.prototype.GroupOperator=function(a){return new n(a.operation,a.operands)},b.prototype.InOperator=function(a){return new o(a.criteriaOperator,a.operands)},b.prototype.ConstantValue=function(a){return new j(a.value)},b.prototype.OperandValue=function(a){return new i(a.value)},b.prototype.OperandParameter=function(a){return new q(a.parameterName,a.value)},b.prototype.OperandProperty=function(b){return new a.OperandProperty(b.propertyName,b.startColumn,b.startLine,b.originalPropertyLength)},b.prototype.UnaryOperator=function(a){return new s(a.operatorType,a.operator)},b.prototype.BetweenOperator=function(a){return new f(a.property,a.begin,a.end)},b.prototype.JoinOperator=function(a){return new p(a.joinTypeName,a.condition,a.type,a.aggregated)},b.prototype.addListener=function(a){-1===this._func.indexOf(a)&&this._func.push(a)},b.prototype.removeListener=function(a){var b=this._func.indexOf(a);-1!==b&&this._func.splice(b,1)},b.prototype.process=function(a,b){var c=this.CriteriaOperator();switch(a){case"join":c=this.JoinOperator(b);break;case"between":c=this.BetweenOperator(b);break;case"property":c=this.OperandProperty(b);break;case"parameter":c=this.OperandParameter(b);break;case"value":c=this.OperandValue(b);break;case"in":c=this.InOperator(b);break;case"function":c=this.FunctionOperator(b);break;case"unary":c=this.UnaryOperator(b);break;case"group":c=this.GroupOperator(b);break;case"binary":c=this.BinaryOperator(b);break;case"const":c=this.ConstantValue(b);break;case"aggregate":c=this.AggregateOperand(b)}return this._func.forEach(function(d){c=d(c,{operatorType:a,options:b})}),c},b}();a.CriteriaOperatorPreprocessor=c,a.criteriaCreator=new c;var d;!function(a){a[a.Count=0]="Count",a[a.Exists=1]="Exists",a[a.Min=2]="Min",a[a.Max=3]="Max",a[a.Avg=4]="Avg",a[a.Sum=5]="Sum",a[a.Single=6]="Single"}(d=a.Aggregate||(a.Aggregate={}));var e=function(b){function c(d,e,f,g){var h=b.call(this)||this;return h.change=function(b,c){var d=null;return b.type===m&&(d=a.CriteriaOperator.create(b),b.type!==d.enumType?d.leftPart.assignFrom(c):d.assignFrom(c),h.condition=d),d},h.assignLeftPart=function(b){b.leftPart instanceof c?h.assignFrom(b.leftPart):a.CriteriaOperator instanceof c?(h.property=b.property,h.aggregatedExpression&&b.aggregatedExpression&&(h.aggregatedExpression=b.aggregatedExpression),h.condition=b.property):h.property=b.leftPart},h.type="Aggregate",h.property=d,g instanceof n?h.condition=g:g instanceof s&&g.operatorType===r.Not?g.operand instanceof n?h.condition=new s(r.Not,g.operand):h.condition=new s(r.Not,new n(m.And,g.operand?[g.operand]:[])):h.condition=new n(m.And,g?[g]:[]),h.operatorType=f,h.aggregatedExpression=e,h}return __extends(c,b),Object.defineProperty(c.prototype,"displayType",{get:function(){return d[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enumType",{get:function(){return d},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.property},enumerable:!0,configurable:!0}),c.prototype.children=function(){var a=[];return this.condition&&a.push(this.condition),this.aggregatedExpression&&a.push(this.aggregatedExpression),a},c.prototype.accept=function(a){return a.visitAggregateOperand?a.visitAggregateOperand(this):new c(this.property&&this.property.accept(a),this.aggregatedExpression&&this.aggregatedExpression.accept(a),this.operatorType,this.condition&&this.condition.accept(a))},c}(a.CriteriaOperator);a.AggregateOperand=e;var f=function(a){function b(b,c,d){var e=a.call(this)||this;return e.resetRightPart=function(a){e.begin=new i(a),e.end=new i(a)},e.assignLeftPart=function(a){e.property=a.leftPart},e.assignRightPart=function(a){null!==a.rightPart.length&&void 0!==a.rightPart.length?a.rightPart.length?(e.begin=a.rightPart[0],e.end=a.rightPart.length>1?a.rightPart[1]:new i):(e.begin=new i,e.end=new i):(e.begin=a.rightPart,e.end=new i)},e.operatorType="Between",e.type="Between",e.property=b,e.begin=c||new i,e.end=d||new i,e}return __extends(b,a),Object.defineProperty(b.prototype,"leftPart",{get:function(){return this.property},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightPart",{get:function(){return[this.begin,this.end]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"displayType",{get:function(){return"Between"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"enumType",{get:function(){return b},enumerable:!0,configurable:!0}),b.prototype.accept=function(a){return a.visitBetweenOperator?a.visitBetweenOperator(this):new b(this.property&&this.property.accept(a),this.begin&&this.begin.accept(a),this.end&&this.end.accept(a))},b}(a.CriteriaOperator);a.BetweenOperator=f;var g;!function(a){a[a.Equal=0]="Equal",a[a.NotEqual=1]="NotEqual",a[a.Greater=2]="Greater",a[a.Less=3]="Less",a[a.LessOrEqual=4]="LessOrEqual",a[a.GreaterOrEqual=5]="GreaterOrEqual",a[a.Like=6]="Like",a[a.BitwiseAnd=7]="BitwiseAnd",a[a.BitwiseOr=8]="BitwiseOr",a[a.BitwiseXor=9]="BitwiseXor",a[a.Divide=10]="Divide",a[a.Modulo=11]="Modulo",a[a.Multiply=12]="Multiply",a[a.Plus=13]="Plus",a[a.Minus=14]="Minus"}(g=a.BinaryOperatorType||(a.BinaryOperatorType={}));var h=function(b){function c(c,d,e){var f=b.call(this)||this;return f.assignLeftPart=function(a){f.leftOperand=a.leftPart},f.assignRightPart=function(a){null!==a.rightPart.length&&void 0!==a.rightPart.length?a.rightPart.length&&(f.rightOperand=a.rightPart[0]):f.rightOperand=a.rightPart},f.type="Binary",f.leftOperand=c||new a.CriteriaOperator,f.rightOperand=d||new a.CriteriaOperator,f.operatorType=e,f}return __extends(c,b),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.leftOperand},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rightPart",{get:function(){return this.rightOperand},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"displayType",{get:function(){return a.Utils.operatorTokens[g[this.operatorType]]||g[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enumType",{get:function(){return g},enumerable:!0,configurable:!0}),c.prototype.accept=function(a){return a.visitBinaryOperator?a.visitBinaryOperator(this):new c(this.leftOperand&&this.leftOperand.accept(a),this.rightOperand&&this.rightOperand.accept(a),this.operatorType)},c}(a.CriteriaOperator);a.BinaryOperator=h;var i=function(a){function c(c){var d=a.call(this)||this;d.type="Value";var e=null!==c&&void 0!==c?c:"",f=b.Widgets.Internal.validateGuid(c);return c&&c.length&&("'"===c[0]&&"'"===c[c.length-1]||f)?(d.specifics="string",f&&"{"===c[0]&&"}"===c[c.length-1]&&(d.specifics="guid"),e=d._processStringValue(c)):c&&c.length&&"#"===c[0]&&"#"===c[c.length-1]?(e=c.slice(1,c.length-1),(e=b.Internal.parseDate(e))||(e=b.Internal.parseDate(c.slice(1,c.length-1)))):"true"!==String(c).toLowerCase()&&"false"!==String(c).toLowerCase()||(e="true"===String(c).toLowerCase()?"True":"False"),d.value=e,d}return __extends(c,a),c.prototype._processStringValue=function(a){var b=a.slice(1,a.length-1);return-1!==b.indexOf("''")&&(b=b.replace("''","'")),b},Object.defineProperty(c.prototype,"displayType",{get:function(){return this.value||"?"},enumerable:!0,configurable:!0}),c}(a.CriteriaOperator);a.OperandValue=i;var j=function(a){function b(b){return a.call(this,b)||this}return __extends(b,a),b.prototype.accept=function(a){return a.visitConstantValue?a.visitConstantValue(this):new b(this.value)},b}(i);a.ConstantValue=j;var k;!function(a){a[a.None=0]="None",a[a.Custom=1]="Custom",a[a.CustomNonDeterministic=2]="CustomNonDeterministic",a[a.Iif=3]="Iif",a[a.IsNull=4]="IsNull",a[a.IsNullOrEmpty=5]="IsNullOrEmpty",a[a.Trim=6]="Trim",a[a.Len=7]="Len",a[a.Substring=8]="Substring",a[a.Upper=9]="Upper",a[a.Lower=10]="Lower",a[a.Concat=11]="Concat",a[a.Ascii=12]="Ascii",a[a.Char=13]="Char",a[a.ToStr=14]="ToStr",a[a.Replace=15]="Replace",a[a.Reverse=16]="Reverse",a[a.Insert=17]="Insert",a[a.CharIndex=18]="CharIndex",a[a.Remove=19]="Remove",a[a.Abs=20]="Abs",a[a.Sqr=21]="Sqr",a[a.Cos=22]="Cos",a[a.Sin=23]="Sin",a[a.Atn=24]="Atn",a[a.Exp=25]="Exp",a[a.Log=26]="Log",a[a.Rnd=27]="Rnd",a[a.Tan=28]="Tan",a[a.Power=29]="Power",a[a.Sign=30]="Sign",a[a.Round=31]="Round",a[a.Ceiling=32]="Ceiling",a[a.Floor=33]="Floor",a[a.Max=34]="Max",a[a.Min=35]="Min",a[a.Acos=36]="Acos",a[a.Asin=37]="Asin",a[a.Atn2=38]="Atn2",a[a.BigMul=39]="BigMul",a[a.Cosh=40]="Cosh",a[a.Log10=41]="Log10",a[a.Sinh=42]="Sinh",a[a.Tanh=43]="Tanh",a[a.PadLeft=44]="PadLeft",a[a.PadRight=45]="PadRight",a[a.StartsWith=46]="StartsWith",a[a.EndsWith=47]="EndsWith",a[a.Contains=48]="Contains",a[a.ToInt=49]="ToInt",a[a.ToLong=50]="ToLong",a[a.ToFloat=51]="ToFloat",a[a.ToDouble=52]="ToDouble",a[a.ToDecimal=53]="ToDecimal",a[a.LocalDateTimeThisYear=54]="LocalDateTimeThisYear",a[a.LocalDateTimeThisMonth=55]="LocalDateTimeThisMonth",a[a.LocalDateTimeLastWeek=56]="LocalDateTimeLastWeek",a[a.LocalDateTimeThisWeek=57]="LocalDateTimeThisWeek",a[a.LocalDateTimeYesterday=58]="LocalDateTimeYesterday",a[a.LocalDateTimeToday=59]="LocalDateTimeToday",a[a.LocalDateTimeNow=60]="LocalDateTimeNow",a[a.LocalDateTimeTomorrow=61]="LocalDateTimeTomorrow",a[a.LocalDateTimeDayAfterTomorrow=62]="LocalDateTimeDayAfterTomorrow",a[a.LocalDateTimeNextWeek=63]="LocalDateTimeNextWeek",a[a.LocalDateTimeTwoWeeksAway=64]="LocalDateTimeTwoWeeksAway",a[a.LocalDateTimeNextMonth=65]="LocalDateTimeNextMonth",a[a.LocalDateTimeNextYear=66]="LocalDateTimeNextYear",a[a.IsOutlookIntervalBeyondThisYear=67]="IsOutlookIntervalBeyondThisYear",a[a.IsOutlookIntervalLaterThisYear=68]="IsOutlookIntervalLaterThisYear",a[a.IsOutlookIntervalLaterThisMonth=69]="IsOutlookIntervalLaterThisMonth",a[a.IsOutlookIntervalNextWeek=70]="IsOutlookIntervalNextWeek",a[a.IsOutlookIntervalLaterThisWeek=71]="IsOutlookIntervalLaterThisWeek",a[a.IsOutlookIntervalTomorrow=72]="IsOutlookIntervalTomorrow",a[a.IsOutlookIntervalToday=73]="IsOutlookIntervalToday",a[a.IsOutlookIntervalYesterday=74]="IsOutlookIntervalYesterday",a[a.IsOutlookIntervalEarlierThisWeek=75]="IsOutlookIntervalEarlierThisWeek",a[a.IsOutlookIntervalLastWeek=76]="IsOutlookIntervalLastWeek",a[a.IsOutlookIntervalEarlierThisMonth=77]="IsOutlookIntervalEarlierThisMonth",a[a.IsOutlookIntervalEarlierThisYear=78]="IsOutlookIntervalEarlierThisYear",a[a.IsOutlookIntervalPriorThisYear=79]="IsOutlookIntervalPriorThisYear",a[a.IsLastMonth=80]="IsLastMonth",a[a.IsLastYear=81]="IsLastYear",a[a.IsNextMonth=82]="IsNextMonth",a[a.IsNextYear=83]="IsNextYear",a[a.IsThisWeek=84]="IsThisWeek",a[a.IsThisMonth=85]="IsThisMonth",a[a.IsThisYear=86]="IsThisYear",a[a.IsJanuary=87]="IsJanuary",a[a.IsFebruary=88]="IsFebruary",a[a.IsMarch=89]="IsMarch",a[a.IsApril=90]="IsApril",a[a.IsMay=91]="IsMay",a[a.IsJune=92]="IsJune",a[a.IsJuly=93]="IsJuly",a[a.IsAugust=94]="IsAugust",a[a.IsSeptember=95]="IsSeptember",a[a.IsOctober=96]="IsOctober",a[a.IsNovember=97]="IsNovember",a[a.IsDecember=98]="IsDecember",a[a.IsSameDay=99]="IsSameDay",a[a.IsYearToDate=100]="IsYearToDate",a[a.DateDiffTick=101]="DateDiffTick",a[a.DateDiffSecond=102]="DateDiffSecond",a[a.DateDiffMilliSecond=103]="DateDiffMilliSecond",a[a.DateDiffMinute=104]="DateDiffMinute",a[a.DateDiffHour=105]="DateDiffHour",a[a.DateDiffDay=106]="DateDiffDay",a[a.DateDiffMonth=107]="DateDiffMonth",a[a.DateDiffYear=108]="DateDiffYear",a[a.GetDate=109]="GetDate",a[a.GetMilliSecond=110]="GetMilliSecond",a[a.GetSecond=111]="GetSecond",a[a.GetMinute=112]="GetMinute",a[a.GetHour=113]="GetHour",a[a.GetDay=114]="GetDay",a[a.GetMonth=115]="GetMonth",a[a.GetYear=116]="GetYear",a[a.GetDayOfWeek=117]="GetDayOfWeek",a[a.GetDayOfYear=118]="GetDayOfYear",a[a.GetTimeOfDay=119]="GetTimeOfDay",a[a.Now=120]="Now",a[a.UtcNow=121]="UtcNow",a[a.Today=122]="Today",a[a.AddTimeSpan=123]="AddTimeSpan",a[a.AddTicks=124]="AddTicks",a[a.AddMilliSeconds=125]="AddMilliSeconds",a[a.AddSeconds=126]="AddSeconds",a[a.AddMinutes=127]="AddMinutes",a[a.AddHours=128]="AddHours",a[a.AddDays=129]="AddDays",a[a.AddMonths=130]="AddMonths",a[a.AddYears=131]="AddYears",a[a.OrderDescToken=132]="OrderDescToken"}(k=a.FunctionOperatorType||(a.FunctionOperatorType={}));var l=function(b){function c(c,d){var e=b.call(this)||this;return e.toString=function(b){var c=(a.Utils.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(function(a){return a.toString()}).join(", ")+")";return b?"Not "+c:c},e.assignLeftPart=function(a){e.operands=[a.leftPart]},e.assignRightPart=function(a){null!==a.rightPart.length&&void 0!==a.rightPart.length?a.rightPart.length?e.operands.push(a.rightPart[0]):e.operands.push(new i):e.operands.push(a.rightPart)},e.operands=[],e.type="Function",e.operatorType=c,d=d||[new a.CriteriaOperator],d.forEach(function(a){return e.operands.push(a)}),e}return __extends(c,b),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.operands[0]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rightPart",{get:function(){return this.operands.filter(function(a,b){return 0!==b})},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"displayType",{get:function(){return k[this.operatorType]||this.operatorType.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enumType",{get:function(){return k},enumerable:!0,configurable:!0}),c.prototype.accept=function(a){return a.visitFunctionOperator?a.visitFunctionOperator(this):new c(this.operatorType,this.operands&&this.operands.map(function(b){return b.accept(a)}))},c}(a.CriteriaOperator);a.FunctionOperator=l;var m;!function(a){a[a.And=0]="And",a[a.Or=1]="Or"}(m=a.GroupOperatorType||(a.GroupOperatorType={}));var n=function(b){function c(f,j){var k=b.call(this)||this;return k.create=function(a,b,f){var j=new h(b,new i(""),g.Equal);return a?j=new c(m.And,[]):f&&"list"===f&&(j=new e(b,null,d.Exists,new c(m.And,[]))),k.operands.push(j),k.operands[k.operands.indexOf(j)]},k.change=function(b,c,d){void 0===d&&(d=!1);var e=k.operands.indexOf(c);if(-1===e)throw Error("dont have this element in operands collection");var f=a.CriteriaOperator.create(b);return b.type!==f.enumType?f.leftPart.assignFrom(c,d,!b.emptyRightPart):f.assignFrom(c,d,!b.emptyRightPart),k.operands[e]=f,c=null,k.operands[e]},k.remove=function(a){k.operands.splice(k.operands.indexOf(a),1)},k.assignLeftPart=function(a){k.operands=a.operands},k.operands=[],k.type="Group",k.operatorType=f,j=j||[new a.CriteriaOperator,new a.CriteriaOperator],j.forEach(function(a){return k.operands.push(a)}),k}return __extends(c,b),c.combine=function(b,d){var e=[];return(d||[]).forEach(function(a){a instanceof c&&a.operatorType===b?e.push.apply(e,a.operands):e.push(a)}),1===e.length?e[0]:a.criteriaCreator.process("group",{operands:e,operation:b})},c.prototype.children=function(){return this.operands},Object.defineProperty(c.prototype,"displayType",{get:function(){return m[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enumType",{get:function(){return m},enumerable:!0,configurable:!0}),c.prototype.accept=function(a){return a.visitGroupOperator?a.visitGroupOperator(this):new c(this.operatorType,this.operands&&this.operands.map(function(b){return b.accept(a)}))},c}(a.CriteriaOperator);a.GroupOperator=n;var o=function(b){function c(c,d){var e=b.call(this)||this;return e.assignLeftPart=function(a){e.criteriaOperator=a.leftPart},e.assignRightPart=function(a){e.operands=[].concat(a.rightPart)},e.operatorType="In",e.type="In",e.operands=[],e.criteriaOperator=c||new a.CriteriaOperator,(d||[]).forEach(function(a){return e.operands.push(a)}),e}return __extends(c,b),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.criteriaOperator},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rightPart",{get:function(){return this.operands},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"displayType",{get:function(){return"In"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enumType",{get:function(){return c},enumerable:!0,configurable:!0}),c.prototype.accept=function(a){return a.visitInOperator?a.visitInOperator(this):new c(this.criteriaOperator&&this.criteriaOperator.accept(a),this.operands&&this.operands.map(function(b){return b.accept(a)}))},c}(a.CriteriaOperator);a.InOperator=o;var p=function(b){function c(a,c,d,e){var f=b.call(this)||this;return f.type="Join",f.joinTypeName=a,f.condition=c,f.operatorType=d,f.aggregatedExpression=e,f}return __extends(c,b),c.joinOrAggregate=function(b,c,d,e){return null===b||b.propertyName.length<2||"<"!=b.propertyName[0]||">"!=b.propertyName[b.propertyName.length-1]?a.criteriaCreator.process("aggregate",{property:b,aggregatedExpression:e,aggregateType:d,condition:c}):a.criteriaCreator.process("join",{joinTypeName:b.propertyName.substring(1,b.propertyName.length-2),condition:c,type:d,aggregated:e})},c.prototype.accept=function(a){return a.visitJoinOperand?a.visitJoinOperand(this):new c(this.joinTypeName,this.condition&&this.condition.accept(a),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(a))},c}(a.CriteriaOperator);a.JoinOperand=p;var q=function(a){function b(b,c){var d=a.call(this,c)||this;return d.type="Parameter",d.parameterName=b||"",d}return __extends(b,a),Object.defineProperty(b.prototype,"displayType",{get:function(){return"?"+this.parameterName},enumerable:!0,configurable:!0}),b.prototype.accept=function(a){return a.visitOperandParameter?a.visitOperandParameter(this):new b(this.parameterName,this.value)},b}(i);a.OperandParameter=q;var r;!function(a){a[a.Minus=0]="Minus",a[a.Plus=1]="Plus",a[a.BitwiseNot=2]="BitwiseNot",a[a.Not=3]="Not",a[a.IsNull=4]="IsNull"}(r=a.UnaryOperatorType||(a.UnaryOperatorType={}));var s=function(b){function c(c,d){var e=b.call(this)||this;return e.type="Unary",e.operand=d||new a.CriteriaOperator,e.operatorType=c,e}return __extends(c,b),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.operand},enumerable:!0,configurable:!0}),c.prototype.assignFrom=function(a){this.operatorType===r.Not?a instanceof c?this.operand.assignFrom(a.operand):this.operand.assignFrom(a):this.operand=a instanceof c?a.operand.leftPart:a.leftPart||a},Object.defineProperty(c.prototype,"displayType",{get:function(){return r[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"enumType",{get:function(){return r},enumerable:!0,configurable:!0}),c.prototype.accept=function(a){return a.visitUnaryOperator?a.visitUnaryOperator(this):new c(this.operatorType,this.operand&&this.operand.accept(a))},c}(a.CriteriaOperator);a.UnaryOperator=s}(e=b.Criteria||(b.Criteria={})),function(d){function f(a,b){return ko.computed(function(){var c=ko.unwrap(a),d=ko.unwrap(b);return d?{getItems:function(a){var b=$.Deferred();return c.getItems(a).done(function(a){b.resolve(a.filter(function(a){return a.name!==d}))}).fail(function(){return b.reject()}),b.promise()},getValues:function(a){return c.getValues(a)}}:c})}var g;!function(d){var e=function(c){function e(a,e,f,g){var h=c.call(this)||this;h.searchPlaceholder=function(){return b.Internal.searchPlaceholder()},h._categories=ko.observableArray([]),h.toolBox=[],h.description=ko.observable(),h._defaultClick=a,d.operatorNames.filter(function(a){return!!a.descriptionStringId}).forEach(function(a){return h._initDescription(a)});var i=ko.computed(function(){return f()&&ko.unwrap(f().functions)||d.functionDisplay}),j=ko.computed(function(){return i().map(function(a){return h._createFunctionsCategoryItem(a.items,b.Utils.getLocalization(a.display,a.localizationId))})}),k=function(){return[h._createFieldsCategory(g,e),h._createConstantCategory(),h._createFunctionsCategory(j),h._createOperatorsCategory(d.operatorNames)]},l=ko.observable(null),m=function(){var a=h._categories()[0].content;l()&&l().isSelected(!1),l(a),a.isSelected(!0)},n=function(b){h._disposeCategories();var c=k();b&&b.customizeCategories&&b.customizeCategories(h,c,a),h._categories(c),m()};return h.resetCategoriesSelection=m,[i,j].forEach(function(a){return h._disposables.push(a)}),h._disposables.push(f.subscribe(function(a){n(a)})),n(f()),h._disposables.push(h.showDescription=ko.computed(function(){return l()&&l().showDescription})),h.toolBox=[h._generateTab(h._categories,"dx-expressioneditor-categories","170px",function(a){if(a.data&&a.data.selectedItem&&a.data.selectedItem()&&-1!==a.data.items.indexOf(a.data.selectedItem())){var b=a.data.selectedItem();h.description(h._localizedExpressionEditorItem(b))}else h.description(void 0);l()!==a&&(l().isSelected(!1),a.isSelected(!0),l(a))}),h._generateTab(l,"dx-expressioneditor-selectedcontent",ko.computed(function(){return h.showDescription()?"248px":"435px"}),function(a){h.description(h._localizedExpressionEditorItem(a))},h._defaultClick),h._generateTab(h.description,"dx-expressioneditor-description",void 0,void 0,void 0,h.showDescription)],h}return __extends(e,c),e.prototype._generateTab=function(a,b,c,d,e,f){return void 0===b&&(b=null),{templateName:b,width:c||"30%",content:a,click:d,dblclick:e,visible:f||!0}},e.prototype._localizedExpressionEditorItem=function(b){return b.descriptionStringId?a.Analytics.Utils.getLocalization(b.text,b.descriptionStringId):b.description?b.description:b.text},e.prototype._initDescription=function(a){a.description=this._localizedExpressionEditorItem(a)},e.prototype._createFieldsCategory=function(a,c){return{displayName:b.Utils.getLocalization("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:ko.observable(!1),data:{fields:a,parameters:c},name:"dx-expressioneditor-fields"},dispose:function(){}}},e.prototype._createConstantCategory=function(){var a=[{text:"?",descriptionStringId:"ExpressionEditorStringId.Constant_Null"},{text:"False",descriptionStringId:"ExpressionEditorStringId.Constant_False"},{text:"True",descriptionStringId:"ExpressionEditorStringId.Constant_True"}];return d.createExpressionEditorCollectionToolOptions(a,"Constants","DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants",!0)},e.prototype._createOperatorsCategory=function(a){return d.createExpressionEditorCollectionToolOptions(a,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)},e.prototype._createFunctionsCategoryContent=function(a,b,c){return{showDescription:!0,isSelected:b,data:{textToSearch:a,items:c,availableItems:ko.observableArray(c),selectedItem:ko.observable(null)},name:"dx-expressioneditor-collection-function"}},e.prototype._createFunctionsCategoryItem=function(a,b){var c=this,d={display:b,isSelected:ko.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return $.map(a,function(a){a&&a.forEach(function(a){c._initDescription(a),d.data.push(a)})}),d},e.prototype._createFunctionsCategory=function(a){var c=ko.observable(""),d=[],e=ko.observable(!1),f=null,g=ko.computed(function(){return[].concat.apply([],a().map(function(a){return a.data}))}),h=this._createFunctionsCategoryContent(c,e,g()),i={displayName:b.Utils.getLocalization("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:a,allItems:g,isSelected:e,content:h,collapsed:ko.observable(!0),updateContent:function(a,d){h.isSelected&&h.isSelected(!1),h.isSelected=d,h.isSelected(!0),h.data.items=a,h.data.availableItems(h.data.items.filter(function(a){return!!b.Internal.findMatchesInString(a.text,c())}))},templateName:"dx-expressioneditor-category-accordion",dispose:function(){d.forEach(function(a){return a.dispose()}),d.splice(0,d.length)}};return d.push(g),d.push(c.subscribe(function(a){f&&clearTimeout(f),f=setTimeout(function(){i.content.data.availableItems(i.content.data.items.filter(function(c){return!!b.Internal.findMatchesInString(c.text,a)}))},150)})),i},e.prototype._disposeCategories=function(){this._categories().forEach(function(a){return a.dispose&&a.dispose()})},e.prototype.dispose=function(){c.prototype.dispose.call(this),this._disposeCategories()},e}(c.Disposable);d.Tools=e}(g=d.Internal||(d.Internal={}));var h;!function(a){a.LoadChildItemsForCollapsedNodes=!0}(h=d.TreeList||(d.TreeList={})),function(e){e.maxSearchLevel=5,e.treeListEditAction={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:$.noop,displayText:function(){return a.Analytics.Utils.getLocalization("Edit","AnalyticsCoreStringId.Group_Edit")}};var f=function(){function a(){}return a.prototype.createRootItem=function(a,b,c,d){return new j(a,b,c,d)},a.prototype.createItem=function(a,b,c,d,e){return new i(a,b,c,d,e)},a}();e.DefaultTreeListItemFactory=f;var g=function(){function a(a,b,d){this._availableItemsCount=a,this.padding=b,this.pageSize=d,this.templateName="dx-treelist-item-ellipsis",this.collapsed=function(){return!0},this.visibleItems=function(){return[]},this.text=function(){return c.getLocalization("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")}}return a.prototype.renderNext=function(){this._availableItemsCount(this._availableItemsCount()+this.pageSize)},a}();e.TreeListEllipsisButton=g;var i=function(a){function f(c,d,e,f,g){void 0===d&&(d=[]),void 0===e&&(e=$.noop),void 0===f&&(f=!1),void 0===g&&(g=new b.Internal.CodeResolver);var i=a.call(this)||this;return i.resolver=g,i._rtl=!1,i._data=ko.observable(null),i._actions=ko.observable([]),i._isVisible=ko.observable(!0),i._pageSize=-1,i._actionsSubscription=null,i._iconName=function(){return(ko.unwrap(i.data&&i.data.icon||i.data&&i.data.specifics)||"default").toLowerCase()},i._nodeIsLocked=!1,i.level=-1,i.items=ko.observableArray(),i.collapsed=ko.observable(!0),i.isSelected=ko.observable(!1),i.isHovered=ko.observable(!1),i.isMultiSelected=ko.observable(!1),i._pageSize=c.pageSize||-1,i._path=d,i._rtl=f,i._factory=c.factory||new b.Widgets.Internal.DefaultTreeListItemFactory,i._treeListController=c.treeListController,i._templateName=c.templateName,i._onItemsVisibilityChanged=e,i.dragDropHandler=c.treeListController.dragDropHandler,i.getItems=function(){return i.items().length>0?$.Deferred().resolve(i.items()).promise():i._loadItems(c)},i._initPaginate(),i.toggleSelected=function(a,b){(b.shiftKey||b.ctrlKey)&&i.selectedItems().length>0&&i._treeListController.canMultiSelect&&i._treeListController.canMultiSelect(i)?(c.selectedPath(""),i._treeListController.multiSelect(i,b.shiftKey,b.ctrlKey)):i._treeListController.canSelect(i)&&(c.treeListController.clickHandler&&c.treeListController.clickHandler(i),c.selectedPath(i.path))},c.treeListController.dblClickHandler&&(i.dblClickHandler=function(a){c.treeListController.dblClickHandler&&c.treeListController.dblClickHandler(a)}),i.toggleCollapsed=function(){i.hasItems&&(i.collapsed(!i.collapsed.peek()),i.collapsed.peek()||0!==i.items().length?h.LoadChildItemsForCollapsedNodes&&(i.items().forEach(function(a){a._treeListController.hasItems(a.data)&&0===a.items().length&&a._loadItems(c)}),e()):i._loadItems(c,h.LoadChildItemsForCollapsedNodes).always(function(){e()}))},i.nodeImageClass=i._getNodeImageClassName(),i}return __extends(f,a),f.prototype._equal=function(a,b){var c=["innerActions","noDragable","dragData"];return b===a||Object.keys(b).filter(function(a){return-1===c.indexOf(a)}).every(function(c){return b[c]===a[c]})},f.prototype._getImageClassName=function(a){var b=this;return ko.computed(function(){return"dx-image-fieldlist-"+b._iconName()+(a?"":" dx-treelist-image-empty")})},f.prototype._getImageTemplateName=function(){var a=this;return ko.computed(function(){var b="dxrd-svg-fieldlist-"+a._iconName();return d.Internal.SvgTemplatesEngine.getExistingTemplate(b)})},f.prototype._getNodeImageClassName=function(){var a=this,b=ko.observable("dx-collapsing-image");return ko.computed({read:function(){return a.hasItems?a.collapsed()?"dx-collapsing-image":b():"dx-image-leaf-node"},write:function(a){b(a)}})},f.prototype._createItemsObj=function(a){for(var b={},c=0;c<a.length;c++)b[a[c].name]={item:a[c],index:c};return b},f.prototype._loadItems=function(a,b){var d=this;void 0===b&&(b=!1);var e=$.Deferred();this._loader&&this._loader.dispose(),this._disposables.reverse().forEach(function(a){return a.dispose&&a.dispose()}),this._disposables.splice(0);var f=ko.observable(),g=f.subscribe(function(c){c&&c.done(function(c){if(d.isDisposing)return void e.reject();for(var f=c,g=d.items.peek(),h=d._createItemsObj(f),i=!1,j=0,k=[].concat.apply([],g),l=0;l<k.length;l++)h[k[l].data.name]||(k[l].dispose(),g.splice(l-j,1),j++,i=!0);var m=d._createItemsObj(g),n=!1,o=!d._treeListController.showIconsForChildItems||d._treeListController.showIconsForChildItems(d);if(f.forEach(function(b,c){var e=m[b.name];if(e)d._equal(b,e.item.data)||(e.item.data=b),n||(n=e.index!==c);else{i=!0;var f=d._factory.createItem(a,d.pathParts,d._onItemsVisibilityChanged,d._rtl,d.resolver);f.data=b,f.level=d.level+1,f.parent=d,f.padding=d._applyPadding(d._rtl?"right":"left",20*f.level+12),f.imageClassName=f._getImageClassName(o),f.imageTemplateName=f._getImageTemplateName(),g.splice(c,0,f),m[b.name]={item:f,index:c}}}),n){var p=g.reduce(function(a,b,c){var d=Math.abs(c-(h[b.data.name]?h[b.data.name].index:-1));return!a||a.max<d?{max:d,index:c}:a},null).index,q=g[p];g.splice(p,1),g.splice(h[q.data.name]?h[q.data.name].index:-1,0,q),i=!0}h=null,m=null,i&&(d.items.valueHasMutated(),d._onItemsChanged()),d.collapsed()&&!b||d.items().forEach(function(b){b._treeListController.hasItems(b.data)&&b._loadItems(a)}),d.nodeImageClass(d.items.peek().some(function(a){return a.visible})?"dx-collapsing-image dx-image-expanded":"dx-image-leaf-node"),e.resolve(d.items.peek());var r=a.selectedPath.peek();if(r){var s=d.items.peek().filter(function(a){return 0===r.indexOf(a.path)})[0];s&&d._selectItem(s.name+r.substring(s.path.length))}})});return this._disposables.push({dispose:function(){g.dispose(),f(null)}}),this._disposables.push(this._loader=ko.computed(function(){f(a.itemsProvider.getItems(new c.PathRequest(d.path,d.pathParts)))})),e.promise()},f.prototype._onItemsChanged=function(){},f.prototype._getTemplateName=function(){return this._templateName||this.data&&this.data.templateName||"dx-treelist-item"},f.prototype._selectItem=function(a){var b=this;if(this.hasItems){var c=function(){b._find(a),b.collapsed.peek()&&b.toggleCollapsed()};0===this.items.peek().length?this.getItems().done(function(a){c()}):c()}},f.prototype._find=function(a){var b=a&&this.items.peek().filter(function(b){return a===b.name||0===a.indexOf(b.name)&&"."===a[b.name.length]})[0];b&&(a.length>b.name.length?b._selectItem(a.substr(b.name.length+1)):this._treeListController.select(b))},f.prototype._getItemsWithLock=function(){var a=this,b=$.Deferred();return this._nodeIsLocked?b.reject().promise():(this._nodeIsLocked=!0,this.getItems().done(function(c){a._nodeIsLocked=!1,b.resolve(c)}).fail(function(){a._nodeIsLocked=!1,b.reject()}),b.promise())},f.prototype._applyPadding=function(a,b){var c={};return c["padding-"+a]=b,c},f.prototype._initPaginate=function(){var a=this;-1!==this._pageSize&&(this.maxItemsCount=ko.observable(this._pageSize),this.visibleItems=ko.computed(function(){if(0===a.items().length)return[];var b=a.items().filter(function(a){return a._isVisible.peek()});return b.length>a.maxItemsCount()&&(b=b.slice(0,a.maxItemsCount()),b.push(new g(a.maxItemsCount,b[0].padding,a._pageSize))),b}))},Object.defineProperty(f.prototype,"hasItems",{get:function(){if(!this.data)return!0;var a=this._treeListController.hasItems(this.data);return h.LoadChildItemsForCollapsedNodes?a&&this.items().some(function(a){return a.visible}):a},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"data",{get:function(){return this._data()},set:function(a){var b=this;this._data(a),this._actionsSubscription&&this._actionsSubscription.dispose(),this._actionsSubscription=ko.computed(function(){b._actions(b._treeListController&&b._treeListController.getActions?b._treeListController.getActions(b):[])})},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return ko.unwrap(this.data&&this.data.name)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"path",{get:function(){return this.pathParts.join(".")},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"pathParts",{get:function(){return this.name?(ko.unwrap(this._path)||[]).concat([this.name]):ko.unwrap(this._path)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"text",{get:function(){return this.data&&this.data.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"templateName",{get:function(){return this._getTemplateName()},enumerable:!0,configurable:!0}),f.prototype.actionsTemplate=function(){return this.data&&ko.unwrap(this.data.actionsTemplate)||"dx-treelist-item-actions-with-edit"},f.prototype.treeListEditAction=function(){return e.treeListEditAction},Object.defineProperty(f.prototype,"hasContent",{get:function(){return this.data&&this.data.contenttemplate},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"actions",{get:function(){return this._actions()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"isDraggable",{get:function(){return this.data&&this.data.dragData?!this.data.dragData.noDragable:!!this._treeListController.isDraggable&&this._treeListController.isDraggable(this)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"treeListController",{get:function(){return this._treeListController},enumerable:!0,configurable:!0}),f.prototype.dispose=function(){a.prototype.dispose.call(this),this._actions([]),this.visibleItems&&this.visibleItems.dispose(),this._actionsSubscription&&this._actionsSubscription.dispose(),this.disposeObservableArray(this.items),this.resetObservableArray(this.items),this.parent=null},Object.defineProperty(f.prototype,"visible",{get:function(){return!(this.data&&this._treeListController.itemsFilter&&!this._treeListController.itemsFilter(this.data,this.path))&&this._isVisible()},enumerable:!0,configurable:!0}),f.prototype.setVisible=function(a){this._isVisible(a),a&&this.parent&&!this.parent.visible&&this.parent.setVisible(!0)},f.prototype.mouseenter=function(){this.isHovered(!0)},f.prototype.mouseleave=function(){this.isHovered(!1)},f.prototype.selectedItems=function(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]},f}(c.Disposable);e.TreeListItemViewModel=i;var j=function(a){function c(c,d,e,f){void 0===d&&(d=[]),void 0===e&&(e=$.noop),void 0===f&&(f=!1);var g=a.call(this,c,d,e,f)||this;return g._options=c,g._resolver=new b.Internal.CodeResolver,g._selectedPathSubscription=null,g.resolver.done(function(){e()}),g._selectedPathSubscription=c.selectedPath.subscribe(function(a){g._selectItem(g.path?a.substr(g.path.length+1):a)}),g._selectItem(g.path?g.path+"."+c.selectedPath():c.selectedPath()),g}return __extends(c,a),c.prototype.dispose=function(){a.prototype.dispose.call(this),this._resolver.clear(),this._selectedPathSubscription&&(this._selectedPathSubscription.dispose(),this._selectedPathSubscription=null)},c.prototype.walkOnTree=function(a){var b=this;return this._resolver.clear(),this._visitNextNode(this,a),-1!=this._pageSize&&this._resolver.doneOnce(function(){return b.items.valueHasMutated()}),{stop:function(){return b._resolver.clear()}}},c.prototype._visitNextNode=function(a,b){var c=this;if(void 0===b&&(b=function(a){}),a.data&&!a.data.specifics)throw new Error("Specific should be set");if(!(a.level>=e.maxSearchLevel)){var d=null;a.items().length>0?d=function(){return a.items().forEach(function(a){b(a),c._visitNextNode(a,b)})}:a.data&&!a.treeListController.hasItems(a.data)||(d=function(){return a._getItemsWithLock().done(function(a){a.forEach(function(a){b(a),c._visitNextNode(a,b)})})}),d&&this._resolver.execute(d,1)}},c.prototype._onItemsChanged=function(){this._options.expandRootItems&&this.items().forEach(function(a){a.collapsed(!1)})},c}(i);e.TreeListRootItemViewModel=j;var k=function(){function a(){this.selectedItem=null}return a.prototype.dispose=function(){this.selectedItem=null},a.prototype.itemsFilter=function(a){return!0},a.prototype.hasItems=function(a){return"none"!==a.specifics&&("List"===a.specifics||"ListSource"===a.specifics||!0===a.isList)},a.prototype.canSelect=function(a){return!a.hasItems},a.prototype.select=function(a){this.canSelect(a)&&(this.selectedItem&&this.selectedItem.isSelected(!1),this.selectedItem=a,a.isSelected(!0))},a}();e.TreeListController=k;var l=function(){function b(){this.globalMatch=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=a.Analytics.Internal.SearchMode.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}return b}();e.TreeListSearchOptions=l;var m=function(c){function d(){var a=c.call(this)||this;a._processedNodes=[],a._currentProcess=[],a.searchTimeout=500,a._roots=[],a.searchPlaceholder=function(){return b.Internal.searchPlaceholder()};var d=ko.observable(""),e=null;return a._disposables.push(a.value=ko.computed({read:function(){return d()},write:function(b){clearTimeout(e),e=setTimeout(function(){d(b)},a.searchTimeout)}})),a._disposables.push(a.value.subscribe(function(b){return a.valueChanged(b)})),a}return __extends(d,c),d.createController=function(b,c,e,f){void 0===e&&(e=d),void 0===f&&(f="dx-treelist-search-panel");var g=new e,h=$(b),i=[];c.forEach(function(a){a&&(a.root=a.root||ko.observable(),i.push(a.root.subscribe(function(a){g.addController(a),g.valueChanged("")})))});var j=a.Analytics.Widgets.Internal.getTemplate(f);h.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),h.children().remove(),h.append(j),ko.cleanNode(h.children()[0]),ko.applyBindings(g,h.children()[0]);var k=function(){g&&g.dispose(),i.forEach(function(a){return a.dispose()}),ko.utils.domNodeDisposal.removeDisposeCallback(b,k)};ko.utils.domNodeDisposal.addDisposeCallback(b,k)},d.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearProcess()},d.prototype.clearProcess=function(){this._currentProcess.forEach(function(a){return a.stop&&a.stop()}),this._currentProcess=[],this._processedNodes=[]},d.prototype.valueChanged=function(b){var c=this;b||this._processedNodes.forEach(function(a){return a.setVisible(!0)}),this.clearProcess(),this._roots.forEach(function(d){d.treeListController.textToSearch(b),b&&c._currentProcess.push(d.walkOnTree(function(e){var f=a.Analytics.Internal.findMatchesInString(e.data[d.treeListController.searchOptions.searchExpr],b,d.treeListController.searchOptions);c._processedNodes.push(e),e.setVisible(!!f),f&&c._collapseTreeBranch(e)}))})},d.prototype._collapseTreeBranch=function(a){a.parent&&(a.parent.collapsed()&&a.parent.toggleCollapsed(),this._collapseTreeBranch(a.parent))},d.prototype.addController=function(a){this._roots=this._roots.filter(function(a){return!a.isDisposing}),a.treeListController.textToSearch=a.treeListController.textToSearch||ko.observable(""),-1===this._roots.indexOf(a)&&this._roots.push(a),this.searchTimeout=Math.max.apply(Math,this._roots.map(function(a){return a.treeListController.searchOptions.searchTimeout}))||500},d}(c.Disposable);e.TreeListSearchViewModel=m;var n=function(a){function b(b,c,d){var e=a.call(this)||this;return e.fieldName=b,e.putSelectionHandler=c,e.selectionHandler=d,e}return __extends(b,a),b.prototype.itemsFilter=function(a){return"none"!==a.specifics&&"ReportItems"!==a.name},b.prototype.select=function(b){this.selectionHandler?this.selectionHandler(b):a.prototype.select.call(this,b)},b.prototype.getActions=function(a){var b=this;return[{clickAction:function(c){return b.putSelectionHandler(a,$(c))}}]},b.prototype.canSelect=function(a){return!0},b}(k);e.ExpressionEditorTreeListController=n;var o=function(a){function b(b,c,d){var e=a.call(this)||this;return e.customFilter=b,e.putSelectionHandler=c,e.selectionHandler=d,e}return __extends(b,a),b.prototype.itemsFilter=function(a){return"none"!==a.specifics&&(!this.customFilter||this.customFilter(a))},b.prototype.select=function(a){this.selectionHandler(a)},b.prototype.getActions=function(a){var b=this;return[{clickAction:function(c){a&&!a.hasItems&&b.putSelectionHandler(a.path,$(c))}}]},b.prototype.canSelect=function(a){return!0},b}(k);e.ExpressionEditorParametersTreeListController=o}(g=d.Internal||(d.Internal={})),function(a){function c(a,c,d,e){return{displayName:b.Utils.getLocalization(c,d),content:{showDescription:e,isSelected:ko.observable(!1),data:{items:a,selectedItem:ko.observable(null)},name:"dx-expressioneditor-collection"},dispose:function(){}}}function d(a,b,c,d){if(!c||!a)return b;var e=ko.observable(b());c.toDisplayExpression(a(),b()).done(function(a){e(a)}).fail(function(){e(b())});var f=b.subscribe(function(b){c.toDisplayExpression(a(),b).done(function(a){e(a)}).fail(function(){e(b)})}),g=a.subscribe(function(a){c.toDisplayExpression(a,b()).done(function(a){e(a)}).fail(function(a){e(b())})}),h=ko.pureComputed({read:function(){return e()},write:function(d){e(d),c.toRealExpression(a(),d).done(function(a){b(a)}).fail(function(){b(d)})}});return d&&[h,f,g].forEach(function(a){return d.push(a)}),h}a.RangeSpecific="range",a.createExpressionEditorCollectionToolOptions=c,a.wrapExpressionValue=d}(g=d.Internal||(d.Internal={}));var i=function(c){function d(d,h,i,j,k,l){void 0===i&&(i=ko.observable(!1)),void 0===j&&(j=!1),void 0===l&&(l=ko.observable(!1));var m=c.call(this)||this;if(m.options=d,m._displayNameProvider=k,m.popupVisible=l,m._updateTextAreaValue=function(a,b){var c=m._getTextArea(b),d=m.textAreaValue().toString(),e=c&&c.selectionStart||d.length,f=" "==d[e-1]?(a.val||a.text||a)+" ":" "+(a.val||a.text||a)+" ";if(m.textAreaValue([d.slice(0,e),f,d.slice(e)].join("")),c&&c.setSelectionRange){c.focus();var g=e+(-1!==f.indexOf("(")?f.indexOf("(")+1:f.length);c.setSelectionRange(g,g)}},m._updateAceValue=function(a,c){var d=m.editorContainer(),e=d.getCursorPosition(),f=e.row,g=e.column,h=(a.val||a.text||a)+" ";g&&" "!==d.getSession().getValue().split("\n")[f][g-1]&&(h=" "+h),d.insert(h),d.focus(),b.Internal.setCursorInFunctionParameter(a.paramCount,d,h)},m._updateValue=function(a,b){m.aceAvailable?m._updateAceValue(a,$(b)):m._updateTextAreaValue(a,$(b))},m.patchFieldName=function(a){return a},m._parametersPutSelectionHandler=function(a,b){var c=a.split("."),d="?"+m.patchFieldName(c[c.length-1]);m._updateValue(d,b)},m._fieldsPutSelectionHandler=function(a,b){var c=m.koOptions.peek().path.peek(),d=a.substring(c.length+1),e="["+m.patchFieldName(d)+"]";m._displayNameProvider?m.displayExpressionConverter.toDisplayExpression(c,e).done(function(a){m._updateValue(a,b)}).fail(function(){m._updateValue(e,b)}):m._updateValue(e,b)},m.aceAvailable=g.aceAvailable,m.title=function(){return a.Analytics.Utils.getLocalization("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption")},m.value=ko.observable(""),m.textAreaValue=ko.observable(""),m.languageHelper={getLanguageMode:function(){return"ace/mode/criteria"},createCompleters:function(a,b,c){var d=ko.computed(function(){return c.koOptions()&&ko.unwrap(c.koOptions().path)||""}),e=ko.computed(function(){return c.koOptions()&&ko.unwrap(c.koOptions().functions)||[]}),f=new g.CodeCompletor({editor:a,bindingContext:b,fieldListProvider:c.fieldListProvider,path:d,functions:e,rootItems:c.options.rootItems,getRealExpression:function(a,b){return m.displayExpressionConverter&&m.displayExpressionConverter.toRealExpression(a,b)||$.Deferred().resolve(b).promise()}});return[d,e].forEach(function(a){return f._disposables.push(a)}),[f]}},m.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},m.additionalOptions={onChange:function(a){var b=a.getValue();try{var c=e.CriteriaOperator.parse(b);m.koOptions().validate&&m.isValid(m.koOptions().validate(c)),a.clearAnnotations()}catch(b){var d=b.hash&&b.hash.line||0,f=b.message.split("\n"),g=f[1]+"\n"+f[2];a.setAnnotations([{row:d,column:0,text:g,type:"error"}])}}},m.callbacks={focus:$.noop},m.koOptions=ko.observable(null),m.editorContainer=ko.observable(),m.isValid=ko.observable(!0),m.buttonItems=[],m.rtl=!1,m.modelValueValid=ko.computed(function(){var a=m.koOptions();return a&&ko.unwrap(a.isValid)||!0}),m.modelValueWarning=ko.computed(function(){var a=m.koOptions();return a&&ko.unwrap(a.warningMessage)||""}),m.getPopupContainer=b.Internal.getParentContainer,m.koOptions(d),m.patchFieldName=function(a){return m.koOptions().patchFieldName&&m.koOptions().patchFieldName(a)||a},m.theme=m.koOptions()&&m.koOptions().theme,m._disposables.push(m.value=ko.computed({read:function(){var a=m.koOptions()&&ko.unwrap(m.koOptions().value);return a&&a.toString()||""},write:function(a){return m.koOptions()&&m.koOptions().value(a)}})),k&&d.path){m.displayExpressionConverter=new b.Internal.DisplayExpressionConverter(k);var n=ko.pureComputed(function(){return m.koOptions()&&m.koOptions().path&&m.koOptions().path()});m.displayValue=g.wrapExpressionValue(n,m.value,m.displayExpressionConverter,m._disposables),m._disposables.push(n)}else m.displayValue=m.value;m.rtl=j;var o=function(a,b){try{return e.CriteriaOperator.parse(a),m.isValid(!0),!0}catch(f){var c=e.CriteriaOperator.getNotValidRange(a,f.message),d=m._getTextArea(b&&b.element);d&&d.setSelectionRange(c.start,c.end),m.isValid(!1)}};m._disposables.push(m.popupVisible.subscribe(function(a){if(a)if(m.tools.resetCategoriesSelection&&m.tools.resetCategoriesSelection(),m.textAreaValue(m.displayValue()),m.aceAvailable){var b=m.editorContainer(),c=b&&b.getSession();c&&c.setValue(m.textAreaValue())}else o(m.value())}));var p=ko.computed(function(){return m.koOptions()&&m.koOptions().fieldName&&m.koOptions().fieldName()});m._disposables.push(m.fieldListProvider=f(h,p)),m.disabled=i;m.save=function(a){var b=m.textAreaValue();if(m.aceAvailable){var c=m.editorContainer(),d=c&&c.getSession();b=d&&d.getValue()}o(b,a)&&(m.displayValue(b),m.popupVisible(!1))};var q=null,r=function(a){ko.unwrap(a.data.type);q&&q.isSelected(!1),q=a,a.isSelected(!0)},s=ko.pureComputed(function(){return m.koOptions()&&m.koOptions().path&&m.koOptions().path()&&m._createToolsOptions(m.koOptions().path(),m.fieldListProvider(),new g.ExpressionEditorTreeListController(p,function(a,b){m._fieldsPutSelectionHandler(a.path,b)},r))});m.parametersTreeListController=new g.ExpressionEditorParametersTreeListController(m._parametersCustomFilter,m._parametersPutSelectionHandler,r);var t=ko.pureComputed(function(){return m._createToolsOptions("",m.fieldListProvider(),m.parametersTreeListController)});return m._disposables.push(m.tools=new g.Tools(m._updateValue,t,m.koOptions,s)),m._disposables.push(m.modelValueValid,m.modelValueWarning),m._createMainPopupButtons(),[p,s,t].forEach(function(a){return m._disposables.push(a)}),m}return __extends(d,c),d.prototype.dispose=function(){c.prototype.dispose.call(this),this.koOptions(null),this.options=null},d.prototype._createMainPopupButtons=function(){var b=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.Analytics.Utils.getLocalization("Save",a.Analytics.Internal.StringId.DataAccessBtnOK),onClick:function(a){b.save(a)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.Analytics.Utils.getLocalization("Cancel",a.Analytics.Internal.StringId.DataAccessBtnCancel),onClick:function(){b.popupVisible(!1)}}}]},d.prototype._getTextArea=function(a){return a&&a.parents(".dx-expressioneditor").find(":input")[0]},d.prototype._createToolsOptions=function(a,b,c){return{itemsProvider:b,selectedPath:ko.observable(""),path:a,templateName:"dx-ee-treelist-item",treeListController:c,rtl:this.rtl}},d.prototype._parametersCustomFilter=function(a){return"parameters"===a.specifics||a.specifics===g.RangeSpecific||!b.Internal.isList(a)},d.prototype.onShown=function(){this.callbacks.focus()},d}(c.Disposable);d.ExpressionEditor=i,ko.bindingHandlers.dxExpressionEditor={init:function(c,d,e,f,g){var h=$(c);h.children().remove(),$(c).addClass("dx-popup-general");var j=d(),k=j.editorTemplateName||"dx-expressioneditor",l=a.Analytics.Widgets.Internal.getTemplate(k),h=h.append(l),m=null,n=new i(ko.unwrap(j.options),j.fieldListProvider,f.disabled,$(c).closest(".dx-rtl").length>0,j.displayNameProvider,j.popupVisible);ko.isSubscribable(j.options)&&(m=j.options.subscribe(function(a){a&&n.koOptions(a)}));var o=h.children()[0];ko.applyBindings(n,o);var p=function(){n.dispose(),n=null,m&&m.dispose()};return b.Internal.addDisposeCallback(c,p),{controlsDescendantBindings:!0}}};var j;!function(b){var d=function(c){function d(a,b,d,e){var f=c.call(this)||this;return f.canRemove=!0,f.operatorType=ko.observable(null),f.templateName="dx-filtereditor-common",f.isSelected=ko.observable(!1),f.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",f.popupService=b.popupService||{visible:ko.observable(!1)},f.model=a,f.helper=b.helper,f.fieldListProvider=d,f.path=e,f.parent=b,f.operatorType(a.operatorType),f._disposables.push(f.operatorType.subscribe(function(a){f.model.assignType(a)})),f}return __extends(d,c),d.prototype._createLeftPartProperty=function(a){var c=this;if(a instanceof e.OperandProperty)var d=this.createChildSurface(a);else{var d=this.createChildSurface(a),f=Object.keys(this.helper.filterEditorOperators).reduce(function(a,b){return"_common"!==b&&"integer"===a&&c.helper._getFilterEditorOperator(c.model,c.helper.filterEditorOperators[b],c.reverse)&&(a=b),a},"integer");d.specifics=d.specifics||ko.observable(f)}return d.canChange=!1,d.canRemove=!1,d instanceof b.AggregateOperandSurface?(this.specifics=ko.computed(function(){return d.aggregatedExpression()&&d.aggregatedExpression().specifics()||"integer"}),this.dataType=ko.computed(function(){return d.aggregatedExpression()&&d.aggregatedExpression().dataType()||"integer"}),this._disposables.push(this.specifics),this._disposables.push(this.dataType)):(this.specifics=d.specifics,this.dataType=d.dataType),d},d.prototype.createChildSurface=function(a,b,c){return new this.helper.mapper[a.type](a,this,this.fieldListProvider,b||this.path)},d.prototype.getDisplayType=function(){var b=this.operatorType&&this.operatorType()||"",c=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return c&&c.name&&(c.displayText||a.Analytics.Utils.getLocalization(c.name,c.localizationId))||b},Object.defineProperty(d.prototype,"items",{get:function(){return this.helper.filterEditorOperators[this.specifics()]||this.helper.filterEditorOperators._common},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"displayType",{get:function(){return this.getDisplayType()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"leftPart",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rightPart",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"css",{get:function(){return this.operatorClass+(this.isSelected()?" selected":"")},enumerable:!0,configurable:!0}),d.prototype.change=function(a,b){!b&&a&&this.model.enumType===a.type&&this.reverse===a.reverse&&a.type!==e.FunctionOperatorType?this.operatorType(a.value):this.parent.change(a,this),this.helper.onChange()},d.prototype.remove=function(a){this.parent.remove(this),this.helper.onChange()},d}(c.Disposable);b.CriteriaOperatorSurface=d}(j=d.Filtering||(d.Filtering={})),function(a){var b=function(){function a(a,b,c,d,e){var f=this;this.showPopup=function(a,b){f._popupService.subscription&&f._popupService.subscription.dispose(),f._popupService.title(""),f.target.isSelected(!0),f._updateActions(f.target),f._popupService.target(b),setTimeout(function(){f._popupService.visible(!0)},10)},this.popupContentTemplate="dx-filtereditor-popup-common",this.target=a,this._action=c,this.propertyName=d,this._popupService=b,this.popupContentTemplate=e||this.popupContentTemplate}return a.prototype._updateActions=function(a){var b=this;this._popupService.data(null),a&&(this._popupService.subscription=this._popupService.visible.subscribe(function(a){b.target.isSelected(a)}),this._popupService.viewModel=a,this._popupService.data({data:ko.unwrap(a[this.propertyName]),template:this.popupContentTemplate,click:function(c){a[b._action](c),b._popupService.visible(!1)}}))},a}();a.FilterEditorAddOn=b;var d;!function(a){a[a.Left=0]="Left",a[a.Right=1]="Right",a[a.Unary=2]="Unary"}(d=a.CriteriaSurfaceValidatorState||(a.CriteriaSurfaceValidatorState={}));var f=function(){function a(){}return a.prototype.customValidate=function(a,b){return!1},a.prototype.checkLeftPart=function(a){return a instanceof e.OperandProperty||this.customValidate(a,d.Left)},a.prototype._checkRightPart=function(a){return a instanceof e.OperandProperty||a instanceof e.OperandParameter||a instanceof e.OperandValue||a instanceof e.ConstantValue||a instanceof e.UnaryOperator&&this._checkRightPart(a.operand)||this.customValidate(a,d.Right)},a.prototype.checkRightPart=function(a){if(Array.isArray(a)){for(var b=0;b<a.length;b++)if(!this._checkRightPart(a[b]))return!1;return!0}return this._checkRightPart(a)},a.prototype.aggregateIsValid=function(a){return this.checkLeftPart(a.leftPart)&&this.validateModel(a.condition)&&(!a.aggregatedExpression||(a.aggregatedExpression instanceof e.OperandProperty||this.validateModel(a.aggregatedExpression)))},a.prototype.commonOperandValid=function(a){return a.leftPart instanceof e.AggregateOperand?this.validateModel(a.leftPart):this.checkLeftPart(a.leftPart)&&this.checkRightPart(a.rightPart)},a.prototype.groupIsValid=function(a){for(var b=0;b<a.operands.length;b++)if(!this.validateModel(a.operands[b]))return!1;return!0},a.prototype.unaryIsValid=function(a){return a.operand instanceof e.OperandProperty||this.validateModel(a.operand)||this.customValidate(a.operand,d.Unary)},a.prototype.validateModel=function(a){return a instanceof e.AggregateOperand?this.aggregateIsValid(a):a instanceof e.GroupOperator?this.groupIsValid(a):a instanceof e.UnaryOperator?this.unaryIsValid(a):this.commonOperandValid(a)},a}();a.CriteriaSurfaceValidator=f;var g=function(){function b(a,b){void 0===a&&(a=e.Utils.operatorTokens),this.custom=b,this.operatorTokens=a}return b.prototype.serializeGroupOperand=function(a,b){var c=this,d=a.operands.map(function(a){return a instanceof e.GroupOperator?"("+c.serialize(a)+")":c.serialize(a)}).filter(function(a){return""!==a&&"()"!==a}).join(" "+(this.operatorTokens[a.displayType]||a.displayType)+" ");return b&&d?"Not("+d+")":d},b.prototype.serializeAggregateOperand=function(a,b){var c=a.operatorType===e.Aggregate.Exists?"":"."+e.Aggregate[a.operatorType],d=a.condition?this.serialize(a.condition):"";return this.serialize(a.property)+"["+d+"]"+c+(a.operatorType!==e.Aggregate.Exists?"("+(a.aggregatedExpression&&this.serialize(a.aggregatedExpression)||"")+")":"")},b.prototype.serializeOperandProperty=function(b){var c=b.displayType;return c.length-a.trimBrackets(c).length==2&&(c="["+a.trimBrackets(c).replace(/\\/g,"\\").replace(/\]/g,"\\]")+"]"),c},b.prototype.serializeOperandValue=function(b){var d=b.value;return null===d||void 0===d||!$.isNumeric(d)&&"true"!==String(d).toLowerCase()&&"false"!==String(d).toLowerCase()?d&&b.value instanceof Date?"#"+c.serializeDate(d)+"#":"integer"===b.specifics||"integer"===b.specifics?d||"?":"guid"===b.specifics&&a.validateGuid(d)?"{"+d+"}":(-1!==d.indexOf("'")&&(d=d.replace("'","''")),d?"'"+d+"'":"?"):"string"===b.specifics?"'"+d+"'":"guid"===b.specifics&&a.validateGuid(d)?"{"+d+"}":d},b.prototype.serializeOperandParameter=function(a){return a.displayType},b.prototype.serializeBetweenOperator=function(a,b){var c=this.serialize(a.property)+" "+a.displayType+"("+this.serialize(a.begin)+", "+this.serialize(a.end)+")";return b?"Not "+c:c},b.prototype.serializeInOperator=function(a,b){var c=this,d=this.serialize(a.criteriaOperator)+" "+a.displayType+"("+a.operands.map(function(a){return c.serialize(a)}).join(", ")+")";return b?"Not "+d:d},b.prototype.serializeBinaryOperator=function(a,b){if(a.operatorType===e.BinaryOperatorType.Like){var c=b?" Not ":" ";return this.serialize(a.leftOperand)+c+(this.operatorTokens[a.displayType]||a.displayType)+" "+this.serialize(a.rightOperand)}return(b?"Not ":"")+this.serialize(a.leftOperand)+" "+(this.operatorTokens[a.displayType]||a.displayType)+" "+this.serialize(a.rightOperand)},b.prototype.serializeUnaryOperator=function(a,b){if(a.operatorType===e.UnaryOperatorType.IsNull){var c=b?" Not ":" ";return this.serialize(a.operand)+" Is"+c+"Null"}if(a.operatorType===e.UnaryOperatorType.Not)return this.serialize(a.operand,!0);var d=(this.operatorTokens[a.displayType]||a.displayType)+this.serialize(a.operand);return b?"Not "+d:d},b.prototype.serializeFunctionOperator=function(a,b){var c=this,d=(this.operatorTokens[a.displayType]||a.displayType)+"("+a.operands.map(function(a){return c.serialize(a)}).join(", ")+")";return b?"Not "+d:d},b.prototype.serialize=function(a,b){if(void 0===b&&(b=!1),a instanceof e.AggregateOperand)return this.serializeAggregateOperand(a,b);if(a instanceof e.BetweenOperator)return this.serializeBetweenOperator(a,b);if(a instanceof e.BinaryOperator)return this.serializeBinaryOperator(a,b);if(a instanceof e.ConstantValue)return this.serializeOperandValue(a);if(a instanceof e.FunctionOperator)return this.serializeFunctionOperator(a,b);if(a instanceof e.GroupOperator)return this.serializeGroupOperand(a,b);if(a instanceof e.InOperator)return this.serializeInOperator(a,b);if(a instanceof e.OperandParameter)return this.serializeOperandParameter(a);if(a instanceof e.OperandProperty)return this.serializeOperandProperty(a);if(a instanceof e.OperandValue)return this.serializeOperandValue(a);if(a instanceof e.UnaryOperator)return this.serializeUnaryOperator(a,b);if(this.custom)return this.custom(a,b);throw Error("Undefined type criteria operator")},b.prototype.deserialize=function(a){return this.deserializeOperand(e.CriteriaOperator.parse(a))},b.prototype.deserializeOperand=function(a){if(a instanceof e.GroupOperator)return a;if(a instanceof e.UnaryOperator&&a.operatorType===e.UnaryOperatorType.Not){var b=a.operand;return b instanceof e.GroupOperator?a:new e.UnaryOperator(e.UnaryOperatorType.Not,new e.GroupOperator(e.GroupOperatorType.And,b?[b]:[]))}return new e.GroupOperator(e.GroupOperatorType.And,a?[a]:[])},b}();a.FilterEditorSerializer=g;var h=function(a){function b(b){var c=a.call(this)||this;return c.selectedItem=b,c}return __extends(b,a),b.prototype.itemsFilter=function(a){return!0},b.prototype.hasItems=function(a){return"none"!==a.specifics&&"List"!==a.specifics&&!0===a.isList},b.prototype.canSelect=function(a){return!a.data.isList||!0===a.data.isList&&"List"===a.data.specifics},b.prototype.select=function(a){this.canSelect(a)&&(this.selectedItem(a.data),a.isSelected(!0))},b}(a.TreeListController);a.FilterEditorTreeListController=h}(g=d.Internal||(d.Internal={})),function(d){var f=function(a){function b(b,c,d,f){var g=a.call(this,b,c,d,f)||this;g.contentTemplateName="dx-filtereditor-aggregate",g.property=ko.observable(null),g.aggregatedExpression=ko.observable(null),g.condition=ko.observable(null),g.property(g._createLeftPartProperty(b.property));var h=ko.computed(function(){return g.path()+"."+g.property().propertyName()});g._disposables.push(h),b.aggregatedExpression&&(g.aggregatedExpression(g.createChildSurface(b.aggregatedExpression,h)),g.templateName="dx-filtereditor-aggregate-common"),b.operatorType===e.Aggregate.Count&&(g.templateName="dx-filtereditor-aggregate-common");var i=g.createChildSurface(b.condition,h);return i.canRemove=!1,i instanceof q&&(i.operand().canRemove=!1),g.condition(i),g.change=function(b,c){if(c){var d=g.model.change(b,c.model),f=g.createChildSurface(d,h);f.canRemove=!1,f instanceof q&&(f.operand().canRemove=!1),g.condition(f)}else g.operatorType()===e.Aggregate.Exists||g.operatorType()===e.Aggregate.Count?g.parent.change(b,g):!b||b.value!==e.Aggregate.Exists&&b.value!==e.Aggregate.Count?a.prototype.change.call(g,b,c):g.parent.change(b,g);g.helper.onChange()},g}return __extends(b,a),Object.defineProperty(b.prototype,"leftPart",{get:function(){return this.property&&this.property()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightPart",{get:function(){return this.aggregatedExpression()},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){this.property().dispose(),this.condition().dispose(),this.aggregatedExpression()&&this.aggregatedExpression().dispose(),a.prototype.dispose.call(this)},b}(d.CriteriaOperatorSurface);d.AggregateOperandSurface=f;var h=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;return f.property=ko.observable(null),f.end=ko.observable(null),f.begin=ko.observable(null),f.contentTemplateName="dx-filtereditor-between",f.property(f._createLeftPartProperty(b.property)),f.begin(f.createChildSurface(b.begin)),f.end(f.createChildSurface(b.end)),f}return __extends(b,a),Object.defineProperty(b.prototype,"leftPart",{get:function(){return this.property&&this.property()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightPart",{get:function(){return[this.begin(),this.end()]},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){this.property().dispose(),this.begin().dispose(),this.end().dispose(),a.prototype.dispose.call(this)},b}(d.CriteriaOperatorSurface);d.BetweenOperandSurface=h;var i=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;return f.contentTemplateName="dx-filtereditor-binary",f.leftOperand=ko.observable(null),f.rightOperand=ko.observable(null),f.leftOperand(f._createLeftPartProperty(b.leftOperand)),f.rightOperand(f.createChildSurface(b.rightOperand)),f}return __extends(b,a),Object.defineProperty(b.prototype,"leftPart",{get:function(){return this.leftOperand()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightPart",{get:function(){return this.rightOperand()},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){this.leftOperand().dispose(),this.rightOperand().dispose(),a.prototype.dispose.call(this)},b}(d.CriteriaOperatorSurface);d.BinaryOperandSurface=i;var j=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;return f.canChange=!0,f.canRemove=!1,f.changeValueType=function(a){var b=f.getRealParent(f.parent),c=f.getRealProperty(f),d=f.getPropertyName(b,c),e=b.model.changeValueType(a.instance,d);null!==d.index?(b[d.name]()[d.index].dispose(),b[d.name].splice(d.index,1,b.createChildSurface(e))):(b[d.name]().dispose(),b[d.name](b.createChildSurface(e))),f.helper.onChange()},f}return __extends(b,a),b.prototype.getRealParent=function(a){return a instanceof q?this.getRealParent(a.parent):a},b.prototype.getRealProperty=function(a){return a.parent instanceof q?this.getRealProperty(a.parent):a},b.prototype.getPropertyName=function(a,b){var c=null,d=null;return $.each(a,function(a,e){if(Array.isArray(ko.unwrap(e))&&ko.isObservable(e)){var f=ko.unwrap(e).indexOf(b);if(f>-1)return c=f,void(d=a)}else if(b===ko.unwrap(e)&&ko.isObservable(e))return void(d=a)}),{index:c,name:d}},b.prototype.getConvertableParameters=function(a){return this.helper.parameters()?this.helper.parameters().filter(function(b){var c=b.specifics&&b.specifics.toLocaleLowerCase();return null!=c&&null!=a&&(c===a||("default"===a||("string"===a||"float"===a&&"integer"===c)))}):[]},Object.defineProperty(b.prototype,"changeTypeItems",{get:function(){var a=[{name:"Value",instance:e.OperandValue,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&a.push({name:"Property",instance:e.OperandProperty,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(this.getConvertableParameters(this.parent.specifics()).length>0||this.helper.canCreateParameters)&&a.push({name:"Parameter",instance:e.OperandParameter,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),a.forEach(g.initDisplayText),a},enumerable:!0,configurable:!0}),b}(d.CriteriaOperatorSurface);d.OperandSurfaceBase=j;var k=function(b){function c(a,c,d,e){var f=b.call(this,a,c,d,e)||this;if(f.canRemove=!0,f.contentTemplateName="dx-filtereditor-function",f.operands=ko.observableArray([]),0===a.operands.length)f.specifics=c instanceof q?c.parent.specifics:c.specifics,f.contentTemplateName="dx-filtereditor-function-lightweight",f.canRemove=!1;else{f.operands.push(f._createLeftPartProperty(a.operands[0]));for(var g=1;g<a.operands.length;g++)f.operands.push(f.createChildSurface(a.operands[g]))}return f}return __extends(c,b),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.operands&&this.operands()[0]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rightPart",{get:function(){return this.operands&&this.operands().filter(function(a,b){return 0!==b})},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"displayType",{get:function(){var b=this,c=this.items.filter(function(a){return b.operatorType()===a.value&&b.reverse===a.reverse&&b.model.enumType===a.type})[0];return c&&c.name?c.displayText||a.Analytics.Utils.getLocalization(c.name,c.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":e.FunctionOperatorType[this.operatorType()]},enumerable:!0,configurable:!0}),c.prototype.dispose=function(){this.operands().forEach(function(a){return a.dispose()}),b.prototype.dispose.call(this)},c}(j);d.FunctionOperandSurface=k;var l=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;return f.templateName="dx-filtereditor-group",f.operatorClass="criteria-operator-item-group dxd-filter-editor-group-back-color dxd-filter-editor-text-color",f.operands=ko.observableArray([]),f.createItems=null,f.createItems=[{name:"Add group",value:!0,localizationId:"StringId.FilterMenuGroupAdd"},{name:"Add condition",value:!1,localizationId:"StringId.FilterMenuConditionAdd"}],f.createItems.forEach(g.initDisplayText),f.operands((b.operands||[]).map(function(a){return f.createChildSurface(a)})),f.specifics=ko.observable("group"),f}return __extends(b,a),b.prototype.change=function(b,c){if(c){var d=c.specifics()||"integer",e=this.helper.filterEditorOperators[d]||this.helper.filterEditorOperators._common;if(!b){var g=e.filter(function(a){return c.operatorType()===a.value&&c.reverse===a.reverse&&c.model.enumType===a.type})[0];b=g||e[0]}var h=this.model.change(b,c.model,c.leftPart instanceof f&&"list"!==c.leftPart.leftPart.specifics()),i=this.operands().indexOf(c),j=this.createChildSurface(h);this.operands()[i].dispose(),this.operands.splice(i,1,j)}else a.prototype.change.call(this,b,c);this.helper.onChange()},b.prototype.remove=function(a){a?(this.model.remove(a.model),this.operands.remove(a),a.dispose()):(this.parent.remove(this),this.dispose()),this.helper.onChange()},b.prototype.create=function(a){var b=this.model.create(a.value,new e.OperandProperty);this.operands.push(this.createChildSurface(b)),this.helper.onChange()},Object.defineProperty(b.prototype,"rightPart",{get:function(){return this.operands()},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){this.operands().forEach(function(a){return a.dispose()}),a.prototype.dispose.call(this)},b}(d.CriteriaOperatorSurface);d.GroupOperandSurface=l;var m=function(a){function b(b,c,d,f){var g=a.call(this,b,c,d,f)||this;return g.contentTemplateName="dx-filtereditor-in",g.operands=ko.observableArray([]),g.criteriaOperator=ko.observable(null),g.criteriaOperator(g._createLeftPartProperty(b.criteriaOperator)),g.operands((b.operands||[]).map(function(a){return g.createChildSurface(a)})),g.addValue=function(){var a=new e.OperandValue(null);g.model.operands.push(a),g.operands.push(g.createChildSurface(a))},g}return __extends(b,a),Object.defineProperty(b.prototype,"leftPart",{get:function(){return this.criteriaOperator()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightPart",{get:function(){return this.operands()},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){this.criteriaOperator().dispose(),this.operands().forEach(function(a){return a.dispose()}),a.prototype.dispose.call(this)},b}(d.CriteriaOperatorSurface);d.InOperandSurface=m;var n=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;return f.changeParameter=function(a){f.model.parameterName=a.name,f.parameterName(a.name),f.helper.onChange()},f.operatorClass="criteria-operator-item-parameter dxd-filter-editor-parameter-back-color dxd-filter-editor-text-color",f.parameterName=ko.observable(""),f.templateName="dx-filtereditor-parameter",f.specifics=c.specifics,f.parameterName(b.parameterName),f}return __extends(b,a),Object.defineProperty(b.prototype,"items",{get:function(){return this.getConvertableParameters(this.specifics())},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"displayType",{get:function(){return null},enumerable:!0,configurable:!0}),b}(j);d.OperandParameterSurface=n;var o=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;f._displayName=ko.observable(""),f.propertyName=ko.observable(""),f.specifics=ko.observable("integer"),f.dataType=ko.observable(""),f.valueType=ko.observable(""),f.changeProperty=function(a){f.fieldsOptions().selected(a)},f.templateName="dx-filtereditor-property",f.operatorClass="criteria-operator-item-field dxd-filter-editor-field-back-color dxd-filter-editor-field-back-color dxd-filter-editor-text-color",f.propertyName(b.propertyName);var g=f.helper.generateTreelistOptions(d,e);return g.options&&g.subscription?(f.fieldsOptions=g.options,f._disposables.push(g.subscription)):f.fieldsOptions=g,f._disposables.push(f.fieldsOptions().selectedPath.subscribe(function(a){var b=f.fieldsOptions().selectedPath().substr(f.path&&f.path().length>0?f.path().length+1:0);f.propertyName(b),f.model.propertyName=b,f.popupService.visible(!1)})),f._disposables.push(f.fieldsOptions().selected.subscribe(function(a){f._updateDisplayName(e,f.propertyName(),a.displayName);var b=a.specifics.toLowerCase();0===b.indexOf("calc")&&(b=b.split("calc")[1]),f.specifics()===b&&f.dataType()===a.dataType||(f.specifics(b),f.dataType(a.dataType),f.parent.change()),f.helper.onChange()})),f.fieldsOptions().selectedPath(f.path&&ko.unwrap(f.path)?[ko.unwrap(f.path),f.propertyName()].join("."):f.propertyName()),f._updateSpecifics(),f._disposables.push(f.displayName=ko.computed(function(){return f._displayName()||f.propertyName()})),f}return __extends(b,a),b.prototype._updateDisplayName=function(a,b,c){var d=this;this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(ko.unwrap(a),b).done(function(a){d._displayName(a)}):this._displayName(c)},b.prototype._updateSpecifics=function(){var a=this,b=this.propertyName().split("."),d=b.pop();ko.unwrap(this.fieldsOptions).itemsProvider&&ko.unwrap(this.fieldsOptions).itemsProvider.getItems(new c.PathRequest([this.path()].concat(b).join("."))).done(function(b){var c=b.filter(function(a){return"List"!==a.specifics&&!a.isList});!a.propertyName()&&c.length>0&&(a.model.propertyName=c[0].name,a.propertyName(c[0].name),d=c[0].name);var e=b.filter(function(a){return a.name===d})[0];if(e){var f=e.specifics.toLowerCase();0===f.indexOf("calc")&&(f=f.split("calc")[1]),a.specifics(f),a.dataType(e.dataType),a._updateDisplayName(a.path,a.propertyName(),e.displayName)}})},Object.defineProperty(b.prototype,"items",{get:function(){return this.fieldsOptions},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"displayType",{get:function(){return null},enumerable:!0,configurable:!0}),b}(j);d.OperandPropertySurface=o;var p=function(d){function f(f,g,h,i){var j=d.call(this,f,g,h,i)||this;j._value=ko.observable(null),j._updateDate=function(a){"date"===a?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},j.changeValue=function(){var a=j.getRealParent(j.parent),b=j.getRealProperty(j),c=j.getPropertyName(a,b),d=a.model.changeValue(j.model,j.reverse,c);null!==c.index?(a[c.name]()[c.index].dispose(),a[c.name].splice(c.index,1,a.createChildSurface(d))):(a[c.name]().dispose(),a[c.name](a.createChildSurface(d)))},j.dataType=ko.observable(""),j.values=ko.observable([]),j.isEditable=ko.observable(!1),j.templateName="dx-filtereditor-value",j.getNumberEditorOptions=function(){return a.Analytics.Widgets.Internal.ValueEditorHelper.getNumberEditorOptions(j.dataType(),j.specifics(),{value:j._value,onFocusOut:function(){j.isEditable(!1)}})};var k=null;return j._disposables.push(j.dataSource=ko.computed(function(){return k&&k.dispose(),k=new a.data.DataSource({store:j.values(),paginate:j.values().length>200,pageSize:100})})),g instanceof q?(j.specifics=g.parent.specifics,j.dataType=g.parent.dataType,g.model.operatorType===e.UnaryOperatorType.Minus&&(j.reverse=!0)):(j.specifics=g.specifics,j.dataType=g.dataType),f.specifics&&ko.isWritableObservable(j.specifics)&&j.specifics(f.specifics),j._disposables.push(j.specifics.subscribe(function(a){f.specifics=a,j._updateDate(a)})),j._value(f.value),j._disposables.push(j._value.subscribe(function(a){j.model.value=a,j.helper.onChange()})),b.Internal.isNullOrEmptyString(j._value())&&j._updateDate(j.specifics()),j._disposables.push(j.value=ko.computed({read:function(){var b=j._value();if(b instanceof Date&&(b=a.Analytics.Internal.formatDate(b)),j.items.length>0){var c=j.items.filter(function(a){return String(a.value)===String(b)})[0];if(c)return c.display}return j.reverse&&(b="-"+b),null!==b&&void 0!==b&&""!==b?b:j.getDefaultValue()},write:function(a){a>0&&!j.reverse||a<0&&j.reverse?j._value(a):(a>0&&j.reverse||a<0&&!j.reverse)&&(j.reverse=!j.reverse,j._value(a<0?(""+a).substring(1):a),j.changeValue())}})),j._disposables.push(ko.computed(function(){var a=ko.unwrap(h);a&&a.getValues&&j.parent.leftPart instanceof o&&j.parent.leftPart.propertyName()&&a.getValues(new c.PathRequest(ko.unwrap(j.path)+"."+j.parent.leftPart.propertyName())).done(function(a){j.values(a)})})),f.specifics=j.specifics(),j}return __extends(f,d),Object.defineProperty(f.prototype,"items",{get:function(){return this.values()},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"displayType",{get:function(){return null},enumerable:!0,configurable:!0}),f.prototype.isDefaultDisplay=function(){return this.value()===this.getDefaultValue()},f.prototype.getDefaultValue=function(){return f._defaultValue?f._defaultValue:f._defaultValue=b.Utils.getLocalization("Enter a value","StringId.FilterEmptyEnter")},f}(j);d.OperandValueSurface=p;var q=function(a){function b(b,c,d,f){var g=a.call(this,b,c,d,f)||this;g.contentTemplateName="dx-filtereditor-unary",g.operand=ko.observable(null);var h=g.createChildSurface(b.operand);return b.operatorType===e.UnaryOperatorType.Not?(g.templateName="dx-filtereditor-not",h.reverse=!0,g.specifics=h.specifics):(h.dispose(),h=g._createLeftPartProperty(b.operand)),g.operand(h),g}return __extends(b,a),Object.defineProperty(b.prototype,"leftPart",{get:function(){var a=this.operand();return this.operand()&&this.operand().reverse&&this.operand().leftPart&&(a=this.operand().leftPart),a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rightPart",{get:function(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null},enumerable:!0,configurable:!0}),b.prototype.createChildSurface=function(b,c,d){return this.operatorType()!==e.UnaryOperatorType.Not||this.helper._getFilterEditorOperator(b,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new e.GroupOperator(e.GroupOperatorType.And,[b])),a.prototype.createChildSurface.call(this,this.model.operand,c,d)},b.prototype.dispose=function(){this.operand().dispose(),a.prototype.dispose.call(this)},b}(d.CriteriaOperatorSurface);d.UnaryOperandSurface=q}(j=d.Filtering||(d.Filtering={})),function(b){function c(b){b.displayText=a.Analytics.Utils.getLocalization(b.name,b.localizationId)}b.initDisplayText=c}(g=d.Internal||(d.Internal={}));var k=function(){function b(a){this.rtl=!1,this.parameters=ko.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new g.CriteriaSurfaceValidator,this.filterEditorOperators={_common:[{name:"Equals",insertVal:"==",value:e.BinaryOperatorType.Equal,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Does not equal",hidden:!0,reverse:!0,value:e.BinaryOperatorType.Equal,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Does not equal",insertVal:"!=",value:e.BinaryOperatorType.NotEqual,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Equals",reverse:!0,hidden:!0,value:e.BinaryOperatorType.NotEqual,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Is greater than",insertVal:">",value:e.BinaryOperatorType.Greater,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is less than or equal to",hidden:!0,reverse:!0,value:e.BinaryOperatorType.Greater,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is greater than or equal to",insertVal:">=",value:e.BinaryOperatorType.GreaterOrEqual,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than",hidden:!0,reverse:!0,value:e.BinaryOperatorType.GreaterOrEqual,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is less than",insertVal:"<",value:e.BinaryOperatorType.Less,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is greater than or equal to",reverse:!0,hidden:!0,value:e.BinaryOperatorType.Less,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than or equal to",insertVal:"<=",value:e.BinaryOperatorType.LessOrEqual,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseLessOrEqual"},{name:"Is greater than",reverse:!0,hidden:!0,value:e.BinaryOperatorType.LessOrEqual,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is between",value:"Between",insertVal:"Between(, )",paramCount:1,type:e.BetweenOperator,localizationId:"StringId.FilterClauseBetween"},{name:"Is not between",value:"Between",insertVal:"Between(, )",paramCount:1,type:e.BetweenOperator,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"}],string:[],guid:[],integer:[],float:[],date:[],list:[],group:[]},this.onChange=function(){},this.onEditorFocusOut=function(a){},this.onSave=function(a){},this.onClosing=function(){},this.handlers={create:function(a,b){return{data:new g.FilterEditorAddOn(a,b,"create","createItems"),templateName:"dx-filtereditor-create"}},change:function(a,b){return{data:new g.FilterEditorAddOn(a,b,"change","items"),templateName:"dx-filtereditor-change"}},changeProperty:function(a,b){return{data:new g.FilterEditorAddOn(a,b,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}},changeValueType:function(a,b){return{data:new g.FilterEditorAddOn(a,b,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}},changeParameter:function(a,b){return{data:new g.FilterEditorAddOn(a,b,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"}}},this.mapper={Aggregate:j.AggregateOperandSurface,Property:j.OperandPropertySurface,Parameter:j.OperandParameterSurface,Value:j.OperandValueSurface,Group:j.GroupOperandSurface,Between:j.BetweenOperandSurface,Binary:j.BinaryOperandSurface,Function:j.FunctionOperandSurface,In:j.InOperandSurface,Unary:j.UnaryOperandSurface,Default:j.CriteriaOperatorSurface},this.serializer=a||new g.FilterEditorSerializer,this.filterEditorOperators.string=[].concat(this.filterEditorOperators._common,[{name:"Contains",insertVal:"Contains(, )",value:e.FunctionOperatorType.Contains,type:e.FunctionOperatorType,localizationId:"StringId.FilterClauseContains"},{name:"Does not contain",value:e.FunctionOperatorType.Contains,type:e.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},{name:"Begins with",insertVal:"StartsWith(, )",value:e.FunctionOperatorType.StartsWith,type:e.FunctionOperatorType,localizationId:"StringId.FilterClauseBeginsWith"},{name:"Ends with",insertVal:"StartsWith(, )",value:e.FunctionOperatorType.EndsWith,type:e.FunctionOperatorType,localizationId:"StringId.FilterClauseEndsWith"},{name:"Is like",insertVal:"Like",value:e.BinaryOperatorType.Like,type:e.BinaryOperatorType,localizationId:"StringId.FilterClauseLike"},{name:"Is not like",insertVal:"Not Like",value:e.BinaryOperatorType.Like,type:e.BinaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},{name:"Is any of",value:"In",insertVal:"In()",paramCount:1,type:e.InOperator,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",value:"In",type:e.InOperator,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is blank",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:e.FunctionOperatorType.IsNullOrEmpty,type:e.FunctionOperatorType,localizationId:"StringId.FilterClauseIsNullOrEmpty"},{name:"Is not blank",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:e.FunctionOperatorType.IsNullOrEmpty,type:e.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"}]),this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[].concat(this.filterEditorOperators._common,[{name:"Is null",insertVal:"Is Null",value:e.UnaryOperatorType.IsNull,type:e.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",insertVal:"Is Not Null",value:e.UnaryOperatorType.IsNull,type:e.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",value:"In",insertVal:"In()",paramCount:1,type:e.InOperator,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",value:"In",type:e.InOperator,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"}]),this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.date=[].concat(this.filterEditorOperators._common,[{name:"Is null",insertVal:"Is Null",value:e.UnaryOperatorType.IsNull,type:e.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",insertVal:"Is Not Null",value:e.UnaryOperatorType.IsNull,type:e.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",value:"In",insertVal:"In()",type:e.InOperator,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",value:"In",type:e.InOperator,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is beyond this year",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalBeyondThisYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},{name:"Is later this year",insertVal:"IsOutlookIntervalLaterThisYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalLaterThisYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisYear"},{name:"Is later this month",insertVal:"IsOutlookIntervalLaterThisMonth()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalLaterThisMonth,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisMonth"},{name:"Is next week",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalNextWeek,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},{name:"Is later this week",insertVal:"IsOutlookIntervalLaterThisWeek()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalLaterThisWeek,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisWeek"},{name:"Is tomorrow",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalTomorrow,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},{name:"Is today",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalToday,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},{name:"Is yesterday",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalYesterday,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},{name:"Is earlier this week",insertVal:"IsOutlookIntervalEarlierThisWeek()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalEarlierThisWeek,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisWeek"},{name:"Is last week",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalLastWeek,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},{name:"Is earlier this month",insertVal:"IsOutlookIntervalEarlierThisMonth()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalEarlierThisMonth,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisMonth"},{name:"Is earlier this year",insertVal:"IsOutlookIntervalEarlierThisYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalEarlierThisYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisYear"},{name:"Is prior this year",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOutlookIntervalPriorThisYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},{name:"Is same day",insertVal:"IsSameDay(, )",value:e.FunctionOperatorType.IsSameDay,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},{name:"Is this month",insertVal:"IsThisMonth()",emptyRightPart:!0,value:e.FunctionOperatorType.IsThisMonth,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},{name:"Is this week",insertVal:"IsThisWeek()",emptyRightPart:!0,value:e.FunctionOperatorType.IsThisWeek,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},{name:"Is this year",insertVal:"IsThisYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsThisYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},{name:"Is next month",insertVal:"IsNextMonth",emptyRightPart:!0,value:e.FunctionOperatorType.IsNextMonth,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},{name:"Is next year",insertVal:"IsNextYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsNextYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},{name:"Is last month",insertVal:"IsLastMonth()",emptyRightPart:!0,value:e.FunctionOperatorType.IsLastMonth,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},{name:"Is last year",insertVal:"IsLastYear()",emptyRightPart:!0,value:e.FunctionOperatorType.IsLastYear,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},{name:"Is the year-to-date period",insertVal:"IsYearToDate()",emptyRightPart:!0,value:e.FunctionOperatorType.IsYearToDate,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},{name:"Is January",insertVal:"IsJanuary()",emptyRightPart:!0,value:e.FunctionOperatorType.IsJanuary,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},{name:"Is February",insertVal:"IsFebruary()",emptyRightPart:!0,value:e.FunctionOperatorType.IsFebruary,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},{name:"Is March",insertVal:"IsMarch()",emptyRightPart:!0,value:e.FunctionOperatorType.IsMarch,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},{name:"Is April",insertVal:"IsApril()",emptyRightPart:!0,value:e.FunctionOperatorType.IsApril,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},{name:"Is May",insertVal:"IsMay()",emptyRightPart:!0,value:e.FunctionOperatorType.IsMay,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},{name:"Is June",insertVal:"IsJune()",emptyRightPart:!0,value:e.FunctionOperatorType.IsJune,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},{name:"Is July",insertVal:"IsJuly()",emptyRightPart:!0,value:e.FunctionOperatorType.IsJuly,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},{name:"Is August",insertVal:"IsAugust()",emptyRightPart:!0,value:e.FunctionOperatorType.IsAugust,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},{name:"Is September",insertVal:"IsSeptember()",emptyRightPart:!0,value:e.FunctionOperatorType.IsSeptember,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},{name:"Is October",insertVal:"IsOctober()",emptyRightPart:!0,value:e.FunctionOperatorType.IsOctober,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},{name:"Is November",insertVal:"IsNovember()",emptyRightPart:!0,value:e.FunctionOperatorType.IsNovember,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},{name:"Is December",insertVal:"IsDecember()",emptyRightPart:!0,value:e.FunctionOperatorType.IsDecember,type:e.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"}]),this.filterEditorOperators.list=[{name:"Exists",value:e.Aggregate.Exists,insertVal:"Exists()",type:e.Aggregate,localizationId:"StringId.FilterAggregateExists"},{name:"Count",value:e.Aggregate.Count,insertVal:"Count()",type:e.Aggregate,localizationId:"StringId.FilterAggregateCount"},{name:"Max",value:e.Aggregate.Max,insertVal:"Max()",type:e.Aggregate,localizationId:"StringId.FilterAggregateMax"},{name:"Min",value:e.Aggregate.Min,insertVal:"Min()",type:e.Aggregate,localizationId:"StringId.FilterAggregateMin"},{name:"Sum",value:e.Aggregate.Sum,insertVal:"Sum()",type:e.Aggregate,localizationId:"StringId.FilterAggregateSum"},{name:"Avg",value:e.Aggregate.Avg,insertVal:"Avg()",type:e.Aggregate,localizationId:"StringId.FilterAggregateAvg"}],this.filterEditorOperators.group=[{name:"And",insertVal:"And",value:e.GroupOperatorType.And,type:e.GroupOperatorType,localizationId:"StringId.FilterGroupAnd"},{name:"Or",insertVal:"Or",value:e.GroupOperatorType.Or,type:e.GroupOperatorType,localizationId:"StringId.FilterGroupOr"},{name:"Not And",value:e.GroupOperatorType.And,reverse:!0,type:e.GroupOperatorType,localizationId:"StringId.FilterGroupNotAnd"},{name:"Not Or",value:e.GroupOperatorType.Or,reverse:!0,type:e.GroupOperatorType,localizationId:"StringId.FilterGroupNotOr"}],this._initDisplayText()}return Object.defineProperty(b.prototype,"_allFilterEditorOperators",{get:function(){var a=this,b=[];return Object.keys(this.filterEditorOperators).forEach(function(c){b.push.apply(b,a.filterEditorOperators[c])}),b},enumerable:!0,configurable:!0}),b.prototype._getFilterEditorOperator=function(a,b,c){return b.filter(function(b){return b.value===a.operatorType&&b.type===a.enumType&&b.reverse===c})[0]},b.prototype._initDisplayText=function(){var a=this;Object.keys(this.filterEditorOperators).forEach(function(b){a.filterEditorOperators[b].forEach(g.initDisplayText)})},b.prototype.registrateOperator=function(b,c,d,e,f,g){if(void 0===f&&(f=!1),this.filterEditorOperators[b]){if(!c[d]){var h=0,i=0;$.each(c,function(a,b){i=parseInt(a),!isNaN(i)&&h<i&&(h=i)}),h++,c[h]=d,c[d]=h}var j={name:e,value:c[d],type:c,reverse:f,displayText:a.Analytics.Utils.getLocalization(e,g)};this.filterEditorOperators[b].push(j)}},b.prototype.generateTreelistOptions=function(a,b){var c=this,d=ko.observable(null),e=ko.observable(null);return{subscription:ko.computed(function(){d({itemsProvider:ko.unwrap(a),selectedPath:ko.observable(""),selected:e,path:ko.unwrap(b),treeListController:new g.FilterEditorTreeListController(e),rtl:c.rtl})}),options:d}},b}();d.FilterEditorHelper=k,d.DefaultFilterEditorHelper=k,function(a){var b=function(b){function c(a){var c=b.call(this,a)||this,d=new k,f=[],g=[],h=[];return Object.keys(d.filterEditorOperators).forEach(function(a){d.filterEditorOperators[a].forEach(function(a){if(a.insertVal){var b=a.name,c=a.insertVal,d=a.paramCount;a.type===e.FunctionOperatorType&&0===f.filter(function(a){return a.name===b}).length?f.push({name:b,insertVal:c}):a.type===e.Aggregate&&0===g.filter(function(a){return a.name===b}).length?g.push({name:b,insertVal:c}):a.type!==e.Aggregate&&a.type!==e.FunctionOperatorType&&0===h.filter(function(a){return a.name===b}).length&&h.push({name:b,insertVal:c,paramCount:d})}})}),c.filterEditorAvailable={operators:h,aggregate:g,functions:f},c}return __extends(c,b),c.prototype.getFunctionsCompletions=function(){var b=[];return this.filterEditorAvailable.functions.forEach(function(c){b.push(a.createFunctionCompletion({text:c.name,paramCount:c.insertVal.split(",").length},c.insertVal,c.insertVal))}),b},c.prototype.getAggregateCompletions=function(){var b=[];return this.filterEditorAvailable.aggregate.forEach(function(c){b.push(a.createFunctionCompletion({text:c.name,paramCount:0},c.insertVal,c.insertVal))}),b},c.prototype.getOperatorCompletions=function(b){var c=[];return this.filterEditorAvailable.operators.forEach(function(d){c.push(d.insertVal.match(new RegExp("[(][^()]*[)]","g"))?a.createFunctionCompletion({text:d.name,paramCount:d.paramCount||d.insertVal.split(",").length},d.insertVal,d.insertVal):{caption:d.insertVal,snippet:b+d.insertVal,meta:"operator"})}),c},c}(a.CodeCompletor);a.FilterEditorCodeCompletor=b}(g=d.Internal||(d.Internal={}));var l=function(c){function d(d,e,f,h){void 0===f&&(f=!1);var i=c.call(this)||this;i.options=d,i._displayNameProvider=h,i._advancedMode=ko.observable(!1),i.textFocused=ko.observable(!1),i.aceAvailable=g.aceAvailable,i.languageHelper={getLanguageMode:function(){return"ace/mode/criteria"},createCompleters:function(a,b,c){var d=ko.computed(function(){return i.path&&i.path()}),e=new g.FilterEditorCodeCompletor({editor:a,bindingContext:b,fieldListProvider:c.fieldListProvider(),path:d,getRealExpression:function(a,b){return i.displayExpressionConverter&&i.displayExpressionConverter.toRealExpression(a,b)||$.Deferred().resolve(b).promise()}});return e._disposables.push(d),[e]}},i.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},i.additionalOptions={onChange:function(a){return i.onValueChange(a.getValue())},changeTimeout:200,onFocus:function(a){return i.onFocus()},onBlur:function(a){return i.onBlur()}},i.editorContainer=ko.observable(),i.textVisible=ko.observable(!1),i.getPopupContainer=function(a){return b.Internal.getParentContainer(a,i.options().popupContainer)},i.timeout=null,i.animationTimeout=null,i.advancedMode=ko.computed({read:function(){return i._advancedMode()},write:function(a){i.timeout&&clearTimeout(i.timeout),i.animationTimeout&&clearTimeout(i.animationTimeout),a?(i.textVisible(!0),i.timeout=setTimeout(function(){i._advancedMode(!0),i.focusText()},1),i.animationTimeout=setTimeout(function(){i.editorContainer()&&i.editorContainer().resize&&i.editorContainer().resize()},210)):(i._advancedMode(!1),i.timeout=setTimeout(function(){i.textVisible(!1)},200))}}),i.invalidMessage=function(){return a.Analytics.Utils.getLocalization("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError")},i.advancedModeText=function(){return a.Analytics.Utils.getLocalization("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")},i.operandSurface=ko.observable(null),i.operand=null,i.popupVisible=ko.observable(!1),i.buttonItems=[],i.popupService=new b.Internal.PopupService,i.rtl=f,d()&&d().helper&&(d().helper.rtl=f),i._disposables.push(i.disabled=ko.computed(function(){return ko.unwrap(i.options()&&i.options().disabled())})),i.value=ko.observable(""),i.displayExpressionConverter=h&&new b.Internal.DisplayExpressionConverter(h),i.save=function(){if(i.helper.onSave(i.value()),i.operandSurface()&&i.isSurfaceValid()){var a=d().helper.serializer.serialize(i.operand,!1);i.options().value(a)}else i.options().value(i.value());i.popupVisible(!1)},i.displayValue=g.wrapExpressionValue(i.path,i.value,i.displayExpressionConverter,i._disposables);var j=ko.computed({read:function(){var a=i.options();return a&&a.value()},write:function(a){var b=i.options();b&&b.value(a)}});i.modelDisplayValue=g.wrapExpressionValue(i.path,j,i.displayExpressionConverter,i._disposables),i.fieldListProvider=e,i.modelValueIsValid=ko.computed(function(){return d()&&i._validateValue(d().value())}),i.isValid=ko.computed(function(){return i._validateValue(i.value())}),i.isSurfaceValid=ko.computed(function(){try{return i.options()&&i.isValid()&&i.options().helper.criteriaTreeValidator.validateModel(i.options().helper.serializer.deserialize(i.value()))}catch(a){return!1}}),i._disposables.push(j),i._disposables.push(i.modelValueIsValid),i._disposables.push(i.isValid),i._disposables.push(i.isSurfaceValid),i._disposables.push(i.popupVisible.subscribe(function(a){a?(i.value(i.options().value()),i.isSurfaceValid()?(i.operand=i._generateOperand(i.value()),i.operandSurface(i._generateSurface(i.operand))):(i.textVisible(!0),i._advancedMode(!0),i.editorContainer()&&i.focusText()),d().helper.onChange=function(){i.value(d().helper.serializer.serialize(i.operand,!1))}):(i.helper.onClosing(),i.value(null),i.operandSurface()&&i.operandSurface().dispose(),i.operandSurface(null),i.operand=null)})),i.createAddButton=function(a){return d().helper.handlers.create(a,i.popupService)},i.createChangeType=function(a){return d().helper.handlers.change(a,i.popupService)},i.createChangeProperty=function(a){return d().helper.handlers.changeProperty(a,i.popupService)},i.createChangeParameter=function(a){return d().helper.handlers.changeParameter(a,i.popupService)},i.createChangeValueType=function(a){return d().helper.handlers.changeValueType(a,i.popupService)};var k=ko.computed(function(){return!i.isValid()});return i._disposables.push(k),i._disposables.push(i.advancedMode),i._createMainPopupButtons(k),i}return __extends(d,c),d.prototype._createMainPopupButtons=function(b){var c=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.Analytics.Utils.getLocalization("Save","StringId.OK"),disabled:b,onClick:function(){c.save()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.Analytics.Utils.getLocalization("Cancel","StringId.Cancel"),onClick:function(){c.popupVisible(!1)}}},{toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:c.advancedMode,text:c.advancedModeText()}}]},d.prototype._generateOperand=function(a){return this.options().helper.serializer.deserialize(a)},d.prototype._generateSurface=function(a){var b=null;b=a instanceof e.UnaryOperator?this.options().helper.mapper.Unary:this.options().helper.mapper.Group;var c=new b(a,this,this.fieldListProvider,this.path);return c.canRemove=!1,c instanceof j.UnaryOperandSurface&&(c.operand().canRemove=!1),c},d.prototype._validateValue=function(a){try{return!(!this.options()||!this.options().helper)&&(this.options().helper.serializer.deserialize(a),!0)}catch(a){return!1}},d.prototype.change=function(a,b){this.operand=e.CriteriaOperator.create(a),this.operand.assignFrom(b.model);var a=null;a=this.operand instanceof e.UnaryOperator?this.options().helper.mapper.Unary:this.options().helper.mapper.Group;var b=new a(this.operand,this,this.fieldListProvider,this.path);b.canRemove=!1,b instanceof j.UnaryOperandSurface&&(b.operand().canRemove=!1),this.operandSurface(b)},Object.defineProperty(d.prototype,"helper",{get:function(){return this.options()&&this.options().helper},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"path",{get:function(){return this.options()&&this.options().path},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){c.prototype.dispose.call(this),this.operandSurface()&&this.operandSurface().dispose()},d.prototype.onInput=function(a,b){var c=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){c.onValueChange(a.component.option("text"))},200)},d.prototype.onFocus=function(){this.textFocused(!0)},d.prototype.onBlur=function(){this.textFocused(!1),this.helper.onEditorFocusOut(this.operand)},d.prototype.cacheElement=function(b){this.editorContainer(a.ui.dxTextArea.getInstance(b.get(0)))},d.prototype.updateCriteria=function(){this.isSurfaceValid()&&(this.operand=this._generateOperand(this.value()),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(this._generateSurface(this.operand)))},d.prototype.onValueChange=function(a){var b=this;this.displayValue()!==a.trim()&&(this.displayValue(a),this.displayExpressionConverter?this.displayExpressionConverter.toRealExpression(this.path(),a).done(function(a){b.value(a),b.updateCriteria()}).fail(function(){b.value(a),b.updateCriteria()}):this.updateCriteria())},d.prototype.focusText=function(){var a=function(a){setTimeout(function(b){a.renderer&&a.renderer.updateText(),a.focus()},1)};if(this.editorContainer())a(this.editorContainer());else var b=this.editorContainer.subscribe(function(c){b.dispose(),a(c)})},d}(c.Disposable);d.FilterEditor=l,ko.bindingHandlers.dxFilterEditor={init:function(c,d){$(c).children().remove(),$(c).addClass("dx-popup-general");var e=a.Analytics.Widgets.Internal.getTemplate("dx-filtereditor"),f=$(c).append(e),g=d(),h=ko.observable(ko.unwrap(g.fieldListProvider)),i=[];i.push(ko.computed(function(){h(g.options()&&g.options().itemsProvider?ko.unwrap(g.options().itemsProvider):ko.unwrap(g.fieldListProvider))})),i.push(ko.computed(function(){g.getDisplayNameByPath&&g.options()&&g.options().helper&&!g.options().helper.getDisplayPropertyName&&(g.options().helper.getDisplayPropertyName=g.getDisplayNameByPath)}));var j=new l(g.options,h,$(c).closest(".dx-rtl").length>0,g.displayNameProvider);return ko.applyBindingsToDescendants(j,f.children()[0]),b.Internal.addDisposeCallback(f.children()[0],function(){i.forEach(function(a){return a.dispose()}),j.dispose()}),{controlsDescendantBindings:!0}}};var m=function(a){function c(c,d,e,f,g){void 0===f&&(f=!1);var h=a.call(this,d,e,f,g)||this;h.element=c,h._contentMargins=20,h._topOffset=30,h._defaultActiveTextContentHeightPerc=25,h._defaultActiveTreeContentHeightPerc=75,h._currentActiveTextContentHeightPerc=h._defaultActiveTextContentHeightPerc,h._currentActiveTreeContentHeightPerc=h._defaultActiveTreeContentHeightPerc,h.plainContentHeightPerc=ko.observable("100%"),h.textContentHeightPerc=ko.observable(null),h.treeContentHeightPerc=ko.observable(null);var i=$(c),j=function(){var a=i.height();h.plainContentHeightPerc(100*(1-h._topOffset/a)+"%");var b=h._contentMargins/(a-h._topOffset)*100/2;h._currentActiveTextContentHeightPerc=h._defaultActiveTextContentHeightPerc-b,h._currentActiveTreeContentHeightPerc=h._defaultActiveTreeContentHeightPerc-b,h.advancedMode()&&(h.treeContentHeightPerc(h._currentActiveTreeContentHeightPerc),h.textContentHeightPerc(h._currentActiveTextContentHeightPerc))};return j(),h._disposables.push(h.advancedMode.subscribe(function(a){a?(h.treeContentHeightPerc(h._currentActiveTreeContentHeightPerc+"%"),h.textContentHeightPerc(h._currentActiveTextContentHeightPerc+"%")):(h.treeContentHeightPerc(null),h.textContentHeightPerc(null))})),window.addEventListener("resize",j),b.Internal.addDisposeCallback(c,function(){window.removeEventListener("resize",j),h.dispose()}),h}return __extends(c,a),c}(l);d.FilterEditorPlain=m,ko.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:function(a,b){var c=new m(b.element,a.options,ko.observable(a.fieldListProvider),void 0,a.displayNameProvider);return c.popupVisible(!0),a.options().value.subscribe(function(){c.popupVisible(!1),c.popupVisible(!0)}),c}},template:g.getTemplate("dx-filtereditor-plain")}),ko.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:function(a,b){var c=new l(a.options,ko.observable(a.fieldListProvider),void 0,a.displayNameProvider);return c.advancedMode(!0),c.popupVisible(!0),a.options().value.subscribe(function(){c.popupVisible(!1),c.popupVisible(!0)}),c}},template:g.getTemplate("dx-filtereditor-advanced")}),ko.bindingHandlers.cacheElement={init:function(a,b,c,d,e){b().action($(a))}};var n=function(){function b(b,c,e,f){var g=this;this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=function(){g.value("")},this.title=ko.pureComputed({read:function(){var b=g._title();return a.Analytics.Utils.getLocalization(b.text,b.localizationId)},write:function(a){g._title({text:a})}}),this.value=b,this.path=c||ko.observable(""),this.disabled=e||ko.observable(!1),this.helper=new d.DefaultFilterEditorHelper,this._title=ko.observable(f||{text:a.Analytics.Utils.getLocalization("Filter Editor","DataAccessUIStringId.FiltersView")})}return b}();d.FilterStringOptions=n,function(a){a.formatStringStandardPatterns={DateTime:{type:"System.DateTime",value:new Date(Date.now()),patterns:[]},Number:{type:"System.Int32",value:"123456789",patterns:["#.00","#,#","0.E+0.0","0.e+0.0","n","n1","n2","e","e1","f","f1"]},Percent:{type:"System.Int32",value:"100",patterns:["0.00%","0%"]},Currency:{type:"System.Int32",value:"100",patterns:["$0.00","$0","c","c1","c2"]},Special:{type:"System.Int32",value:"123456789",patterns:["(###) ### - ####","### - ## - ####"]},General:{type:"System.String",value:"",patterns:["General format have no specific number format"]}}}(g=d.Internal||(d.Internal={}));var o=function(c){function d(a,d,e,f,h,i,j){var k=c.call(this)||this;k._isDisabled=ko.observable(!1),k._timeout=null,k.currentType=ko.observable(),k.patternList=ko.observableArray([]),k.canAddCustomFormat=ko.observable(!1),k.formatPrefix=ko.observable(""),k.formatSuffix=ko.observable(""),k.previewString=ko.observable("Preview string"),k.formatResult=ko.observable(""),k.selectedFormats=ko.observable([]),k.selectedTypes=ko.observable([]),k.popupVisible=ko.observable(!1),k.localizationIdMap={title:{text:"FormatString Editor",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Title"},category:{text:"Category",localizationId:"AnalyticsCoreStringId.Category"},preview:{text:"Preview",localizationId:"AnalyticsCoreStringId.TooltipButtons_Preview"},types:{text:"Types",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Types"},add:{text:"Add",localizationId:"DataAccessUIStringId.Button_Add"},prefix:{text:"Prefix",localizationId:"AnalyticsCoreStringId.Prefix"},suffix:{text:"Suffix",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Suffix"}},k.option("value",a),k.option("disabled",d||!1),k.option("rtl",i||!1),k.option("popupContainer",j||".dx-designer-viewport");var l=k;return k.popupService=new b.Internal.PopupService,k._standardPatternSource=e||g.formatStringStandardPatterns,k._customPatternSource=f||{},k.types=k._convertArray(Object.keys(k._standardPatternSource)),k._disposables.push(k.currentType.subscribe(function(a){l.isGeneralType?(l.formatResult(""),l.selectedFormats([])):l._updateFormatList()})),k.currentType(k.types[0].name),k._disposables.push(k.formatResult.subscribe(function(a){l._updateCanAddCustomFormat(a),l._updatePreview()})),k._disposables.push(k.formatPrefix.subscribe(function(a){l._updatePreview()})),k._disposables.push(k.formatSuffix.subscribe(function(a){l._updatePreview()})),k._disposables.push(k.popupVisible.subscribe(function(b){b&&(l._initEditor(a()),l.selectedTypes(l.types.filter(function(a){return a.name===l.currentType()})))})),k._createMainPopupButtons(),h&&h.updatePreview&&(k.updatePreview=h.updatePreview),k.setType=function(a){l.currentType(a.itemData.name),l._updateSelection()},k.setFormat=function(a){l.formatResult(a.itemData.name)},k.addCustomFormat=function(){l.formatResult()&&l.canAddCustomFormat()&&(l.customPatterns.push(l.formatResult()),l._updateFormatList(),l._scrollToBottom(),h&&h.saveCustomPattern(l.currentType(),l.formatResult()),l._updateSelection(l.patternList().length-1),l.canAddCustomFormat(!1))},k.removeCustomFormat=function(a){var b=l.selectedFormats()[0],c=l.patternList(),d=c.map(function(a){return a.name}).indexOf(a.name);l.customPatterns.splice(l.customPatterns.indexOf(a.name),1),l._updateFormatList(),h&&h.removeCustomPattern(l.currentType(),a.name),b.name===a.name?l._updateSelection(d===c.length-1?l.patternList().length-1:d):l.selectedFormats(l.patternList().filter(function(a){return a.name===b.name}))},k}return __extends(d,c),d.prototype.okAction=function(){var a=this.isGeneralType?this._getGeneralPreview("{0}"):this._wrapFormat();this.option("value",a),this.popupVisible(!1)},d.prototype._createMainPopupButtons=function(){var b=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.Analytics.Utils.getLocalization("OK",a.Analytics.Internal.StringId.DataAccessBtnOK),disabled:this._isDisabled,onClick:function(){b.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:a.Analytics.Utils.getLocalization("Cancel",a.Analytics.Internal.StringId.DataAccessBtnCancel),onClick:function(){b.popupVisible(!1)}}}]},d.prototype._convertArray=function(b,c){return b.map(function(b){return{name:b,displayName:a.Analytics.Utils.getLocalization(b),canRemove:!!c}})},d.prototype._scrollToBottom=function(){var b=$(".dx-format-string .dx-format-string-formats").find(".dx-scrollview").filter(":visible"),c=a.ui.dxScrollView.getInstance(b.get(0));c&&c.scrollTo&&c.scrollTo(c.scrollHeight())},d.prototype._updateFormatList=function(){this.selectedFormats([]);var a=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(a.patterns).concat(this._convertArray(this.customPatterns,!0)))},d.prototype._updateSelection=function(a){var b=this.patternList()[a||0];b&&(this.selectedFormats([b]),this.formatResult(b.name))},d.prototype._setPreviewString=function(a){this.previewString(a),this._isDisabled(!1)},d.prototype._setErrorMessage=function(a){this.previewString(b.Utils.getLocalization("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(a)},d.prototype._updatePreview=function(){var a=this;this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(function(){if(a.isGeneralType)return void a.previewString(a._getGeneralPreview(void 0));var c=a._standardPatternSource[a.currentType()],d=a.updatePreview(c.value,c.type,a._wrapFormat());a._lastUpdatePreviewPromise=d,d.done(function(b){a._lastUpdatePreviewPromise===d&&(b.Result?a._setPreviewString(b.Result):a._setErrorMessage(b.IsError))}).fail(function(c){a._lastUpdatePreviewPromise===d&&a.previewString(b.Utils.getLocalization("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))})},100)},d.prototype._getGeneralPreview=function(a){return void 0===a&&(a="###"),this.formatPrefix()+a+this.formatSuffix()},d.prototype._wrapFormat=function(a){var b=a||this.formatResult();return b&&-1!==b.indexOf("{0:")?b:b?"{0:"+b+"}":""},d.prototype._updateCanAddCustomFormat=function(a){var b=this;if(!a)return void this.canAddCustomFormat(!1);var c=!0;Object.keys(this._standardPatternSource).some(function(d){return!(c=-1===b._standardPatternSource[d].patterns.indexOf(a))}),this.canAddCustomFormat(c?-1===this.customPatterns.indexOf(a):c)},d.prototype._initEditor=function(a){var b=this;if(!a)return void this.setType({itemData:this.types[0]});if(-1!==a.indexOf("{0}"))return this.currentType("General"),this.formatPrefix(a.substring(0,a.indexOf("{0}"))),void this.formatSuffix(a.substring(a.indexOf("{0}")+3));var c,d=a.indexOf("{0:"),e=a.indexOf("}",d),f=a.substring(d+3,e),g=function(g){b.currentType(g),0===d&&e===a.length-1&&(b.selectedFormats(b.patternList().filter(function(a){return a.name===f})),b.formatResult(f),c=!0)};Object.keys(this._standardPatternSource).some(function(a){if(-1!==b._standardPatternSource[a].patterns.indexOf(f))return g(a),!0;var c=b._customPatternSource[b._standardPatternSource[a].type];return!(!c||-1===c.indexOf(f))&&(g(a),!0)}),c||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(a))},d.prototype.updateInputText=function(a,b){this[a](b.option("text"))},d.prototype.option=function(a,b){return void 0!==b&&(ko.isObservable(this[a])?this[a](b):this[a]=b),ko.unwrap(this[a])},d.prototype.updatePreview=function(a,b,c){return $.Deferred().resolve({Result:a||"preview string"}).promise()},Object.defineProperty(d.prototype,"customPatterns",{get:function(){var a=this._standardPatternSource[this.currentType()];return this._customPatternSource[a.type]=this._customPatternSource[a.type]||[]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"isGeneralType",{get:function(){return"General"===this.currentType()},enumerable:!0,configurable:!0}),d.prototype.getDisplayText=function(b){return a.Analytics.Utils.getLocalization(this.localizationIdMap[b].text,this.localizationIdMap[b].localizationId)},d.prototype.getPopupContainer=function(a){return $(a).closest(this.option("popupContainer"))},d}(c.Disposable);d.FormatStringEditor=o,ko.bindingHandlers.dxFormatEditor={init:function(c,d){$(c).children().remove(),$(c).addClass("dx-popup-general");var e=a.Analytics.Widgets.Internal.getTemplate("dx-format-string"),f=$(c).append(e),g=d(),h=new o(g.value,g.disabled,g.standardPatterns,g.customPatterns||a.Reporting&&a.Reporting.Designer&&a.Reporting.Designer.Utils.formatStringEditorCustomSet,g.actions||a.Reporting&&a.Reporting.Designer&&a.Reporting.Designer.Internal.FormatStringService.actions,g.rtl,g.popupContainer);return ko.applyBindings(h,f.children()[0]),b.Internal.addDisposeCallback(c,function(){h.dispose()}),{controlsDescendantBindings:!0}}},function(b){var c=function(a){function b(b,c){return a.call(this,b,c)||this}return __extends(b,a),b.prototype._setContentHeight=function(){this._$popupContent.css({height:"100%"})},b}(a.ui.dxPopup);b.dxPopupWithAutoHeight=c,a.registerComponent("dxPopupWithAutoHeight",c)}(g=d.Internal||(d.Internal={}))}(d=b.Widgets||(b.Widgets={})),function(a){function d(b,c,d,e,f,g){a.addDisposeCallback(c,function(){b.dispose()}),setTimeout(function(){var a=!1;ko.computed({read:function(){!a&&ko.bindingHandlers.html.init&&(ko.bindingHandlers.html.init(c,function(){return b.content},e,f,g),a=!0),ko.bindingHandlers.html.update&&ko.bindingHandlers.html.update(c,function(){return b.update(d()),b.content},e,f,g)},disposeWhenNodeIsRemoved:c})},1)}a.cloneHtmlBinding=d;var e=function(a){function c(b){var c=a.call(this)||this;return c._$spanProtect=$("<span>"),c._$spanSearch=$("<span>").addClass("dx-datagrid-search-text"),c.content=ko.observable(""),c._options=b,ko.isSubscribable(c._options.text)&&c._disposables.push(c._options.text.subscribe(function(a){c._update()})),c._disposables.push(c._options.textToSearch.subscribe(function(a){c._update()})),c._update(),c}return __extends(c,a),c.prototype._update=function(){this.content(this._getHighlightContent(ko.unwrap(this._options.text),ko.unwrap(this._options.textToSearch),ko.unwrap(this._options.searchOptions)))},c.prototype.update=function(a){this._options=a,this._update()},c.prototype._getHighlightContent=function(a,c,d){var e=this,f=c,g=a;if(f){var h=b.Internal.findMatchesInString(g,f,d);if(h){var i="",j=0,k=g;return h.forEach(function(a,b){var c=k.indexOf(a),d=g.substr(j,c);k=k.substr(c+a.length),d&&(e._$spanProtect.text(d),i+=e._$spanProtect[0].outerHTML),e._$spanSearch.text(a),i+=e._$spanSearch[0].outerHTML,j=g.length-k.length,b===h.length-1&&k&&(e._$spanProtect.text(k),i+=e._$spanProtect[0].outerHTML)}),i}}return this._$spanProtect.text(g),g=this._$spanProtect[0].outerHTML},c}(c.Disposable);a.HighlightEngine=e,ko.bindingHandlers.searchHighlighting={init:function(a,b,c,f,g){d(new e(b()),a,b,c,f,g)}}}(b.Internal||(b.Internal={})),function(b){!function(b){ko.bindingHandlers.treelist={init:function(c,d,e,f,g){var h,i=null,j=null,k=null,l=d(),m=ko.unwrap(l),n=function(){var b=ko.unwrap(l),d=$(c).closest(".dx-scrollview"),e=a.ui.dxScrollView.getInstance(d.get(0));e&&e.update(),b.onItemsVisibilityChanged&&b.onItemsVisibilityChanged()},o=function(d){h&&h.dispose();var e=d.treeListController||new b.TreeListController;if(d.treeListController=e,e.dragDropHandler=e.dragDropHandler||g.$root.fieldDragHandler,d.factory=d.factory||new b.DefaultTreeListItemFactory,d.itemsProvider=ko.unwrap(d.itemsProvider),d.pageSize=d.pageSize||-1,i&&i.dispose(),d&&d.itemsProvider){d.rtl||(d.rtl=$(c).closest(".dx-rtl").length>0),h=ko.computed(function(){var a=ko.unwrap(d.path);return Array.isArray(a)?a:a?a.split("."):[]}),i=d.factory.createRootItem(d,h,n,d.rtl);var f=d.templateHtml||a.Analytics.Widgets.Internal.getTemplate("dx-treelist");e.root&&(e.searchEnabled=!0,e.searchOptions=e.searchOptions||new b.TreeListSearchOptions,e.root(i));var l=$(c).html(f);j=g.createChildContext(i),ko.applyBindings(j,l.children()[0]),k&&ko.utils.domNodeDisposal.removeDisposeCallback(c,k),k=function(){i&&i.dispose(),i=null,p&&p.dispose(),h&&h.dispose(),k=null,ko.utils.domNodeDisposal.removeDisposeCallback(c,k)},ko.utils.domNodeDisposal.addDisposeCallback(c,k)}};o($.extend({},m));var p=null;return ko.isSubscribable(l)?p=l.subscribe(function(a){a&&o($.extend({},a))}):ko.isSubscribable(l.itemsProvider)&&(p=l.itemsProvider.subscribe(function(a){a&&o($.extend({},l))})),{controlsDescendantBindings:!0}}},ko.bindingHandlers.treeListSearchPanel={init:function(a,c,d,e,f){var g=c(),h=ko.unwrap(g.template),i=ko.unwrap(g.modelType),j=ko.unwrap(g.controllers);return Array.isArray(j)||(j=[j]),b.TreeListSearchViewModel.createController(a,j,i,h),{controlsDescendantBindings:!0}}}}(b.Internal||(b.Internal={}))}(d=b.Widgets||(b.Widgets={}))}(a.Analytics||(a.Analytics={}))}(DevExpress||(DevExpress={})),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.DisplayExpressionConverter","Analytics.Utils.DisplayExpressionConverter","Analytics.Internal.DisplayExpressionConverter"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.HighlightEngine","Analytics.Internal.HighlightEngine"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.Disposable","Analytics.Utils.Disposable"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.integerValueConverter","Analytics.Utils.integerValueConverter","Data.integerValueConverter","Analytics.Internal.integerValueConverter"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.floatValueConverter","Analytics.Utils.floatValueConverter","Data.floatValueConverter","Analytics.Internal.floatValueConverter"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.setCursorInFunctionParameter","Analytics.Internal.setCursorInFunctionParameter"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Utils.isList","Analytics.Utils.isList","Analytics.Internal.isList"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.PathRequest","Analytics.Utils.PathRequest"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.ace","Analytics.Widgets.ace","Analytics.Widgets.Internal.ace"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.aceAvailable","Analytics.Widgets.aceAvailable","Analytics.Widgets.Internal.aceAvailable"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.CodeCompletor","Analytics.Widgets.CodeCompletor","Analytics.Widgets.Internal.CodeCompletor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.createFunctionCompletion","Analytics.Widgets.createFunctionCompletion","Analytics.Widgets.Internal.createFunctionCompletion"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.functionDisplay","Analytics.Widgets.Internal.functionDisplay"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.operatorNames","Analytics.Widgets.Internal.operatorNames"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.Tools","Analytics.Widgets.Internal.Tools"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.ExpressionEditorTreeListController","Analytics.Widgets.ExpressionEditorTreeListController","Analytics.Widgets.Internal.ExpressionEditorTreeListController"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.ExpressionEditorParametersTreeListController","Analytics.Widgets.ExpressionEditorParametersTreeListController","Analytics.Widgets.Internal.ExpressionEditorParametersTreeListController"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.wrapExpressionValue","Analytics.Widgets.wrapExpressionValue","Analytics.Widgets.Internal.wrapExpressionValue"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.ExpressionEditor","Analytics.Widgets.ExpressionEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterEditorAddOn","Analytics.Widgets.Internal.FilterEditorAddOn"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterEditorCodeCompletor","Analytics.Widgets.Internal.FilterEditorCodeCompletor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.initDisplayText","Analytics.Widgets.initDisplayText","Analytics.Widgets.Internal.initDisplayText"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterEditorHelper","Analytics.Widgets.FilterEditorHelper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.DefaultFilterEditorHelper","Analytics.Widgets.DefaultFilterEditorHelper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterEditorSerializer","Analytics.Widgets.Internal.FilterEditorSerializer"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterEditorTreeListController","Analytics.Widgets.FilterEditorTreeListController","Analytics.Widgets.Internal.FilterEditorTreeListController"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.CriteriaSurfaceValidatorState","Analytics.Widgets.Internal.CriteriaSurfaceValidatorState"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.CriteriaSurfaceValidator","Analytics.Widgets.Internal.CriteriaSurfaceValidator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.AggregateOperandSurface","Analytics.Widgets.AggregateOperandSurface","Analytics.Widgets.Filtering.AggregateOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.BetweenOperandSurface","Analytics.Widgets.BetweenOperandSurface","Analytics.Widgets.Filtering.BetweenOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.BinaryOperandSurface","Analytics.Widgets.BinaryOperandSurface","Analytics.Widgets.Filtering.BinaryOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.CriteriaOperatorSurface","Analytics.Widgets.CriteriaOperatorSurface","Analytics.Widgets.Filtering.CriteriaOperatorSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FunctionOperandSurface","Analytics.Widgets.FunctionOperandSurface","Analytics.Widgets.Filtering.FunctionOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.GroupOperandSurface","Analytics.Widgets.GroupOperandSurface","Analytics.Widgets.Filtering.GroupOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.InOperandSurface","Analytics.Widgets.InOperandSurface","Analytics.Widgets.Filtering.InOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.OperandParameterSurface","Analytics.Widgets.OperandParameterSurface","Analytics.Widgets.Filtering.OperandParameterSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.OperandPropertySurface","Analytics.Widgets.OperandPropertySurface","Analytics.Widgets.Filtering.OperandPropertySurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.OperandSurfaceBase","Analytics.Widgets.OperandSurfaceBase","Analytics.Widgets.Filtering.OperandSurfaceBase"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.OperandValueSurface","Analytics.Widgets.OperandValueSurface","Analytics.Widgets.Filtering.OperandValueSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.UnaryOperandSurface","Analytics.Widgets.UnaryOperandSurface","Analytics.Widgets.Filtering.UnaryOperandSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterEditor","Analytics.Widgets.FilterEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FilterStringOptions","Analytics.Widgets.FilterStringOptions"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.FormatStringEditor","Analytics.Widgets.FormatStringEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.formatStringStandardPatterns","Analytics.Widgets.Internal.formatStringStandardPatterns"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.dxPopupWithAutoHeight","Analytics.Widgets.Internal.dxPopupWithAutoHeight"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.ValueEditorHelper","Analytics.Widgets.Internal.ValueEditorHelper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.TreeListController","Analytics.Widgets.TreeListController","Analytics.Widgets.Internal.TreeListController"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.treeListEditAction","Analytics.Widgets.treeListEditAction","Analytics.Widgets.Internal.treeListEditAction"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.TreeListItemViewModel","Analytics.Widgets.TreeListItemViewModel","Analytics.Widgets.Internal.TreeListItemViewModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Widgets.TreeListRootItemViewModel","Analytics.Widgets.TreeListRootItemViewModel","Analytics.Widgets.Internal.TreeListRootItemViewModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.Aggregate","Analytics.Criteria.Aggregate"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.AggregateOperand","Analytics.Criteria.AggregateOperand"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.BetweenOperator","Analytics.Criteria.BetweenOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.BinaryOperatorType","Analytics.Criteria.BinaryOperatorType"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.BinaryOperator","Analytics.Criteria.BinaryOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.ConstantValue","Analytics.Criteria.ConstantValue"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.CriteriaOperator","Analytics.Criteria.CriteriaOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.FunctionOperatorType","Analytics.Criteria.FunctionOperatorType"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.FunctionOperator","Analytics.Criteria.FunctionOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.GroupOperatorType","Analytics.Criteria.GroupOperatorType"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.GroupOperator","Analytics.Criteria.GroupOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.InOperator","Analytics.Criteria.InOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.JoinOperand","Analytics.Criteria.JoinOperand"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.OperandParameter","Analytics.Criteria.OperandParameter"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.OperandProperty","Analytics.Criteria.OperandProperty"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.UnaryOperatorType","Analytics.Criteria.UnaryOperatorType"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.UnaryOperator","Analytics.Criteria.UnaryOperator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.OperandValue","Analytics.Criteria.OperandValue"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.CriteriaOperatorPreprocessor","Analytics.Criteria.CriteriaOperatorPreprocessor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.criteriaCreator","Analytics.Criteria.criteriaCreator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.operatorTokens","Analytics.Criteria.Utils.operatorTokens"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"JS.Data.criteriaForEach","Analytics.Criteria.Utils.criteriaForEach");var criteriaparser=function(){function a(){this.yy={}}var b=function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},c=[1,7],d=[1,6],e=[1,30],f=[1,8],g=[1,9],h=[1,10],i=[1,11],j=[1,25],k=[1,12],l=[1,13],m=[1,14],n=[1,15],o=[1,16],p=[1,17],q=[1,18],r=[1,19],s=[1,20],t=[1,21],u=[1,22],v=[1,23],w=[1,24],x=[1,27],y=[1,29],z=[1,28],A=[1,32],B=[1,33],C=[1,34],D=[1,35],E=[1,36],F=[1,37],G=[1,38],H=[1,39],I=[1,40],J=[1,41],K=[1,42],L=[1,43],M=[1,44],N=[1,45],O=[1,46],P=[1,47],Q=[1,48],R=[1,49],S=[1,50],T=[1,51],U=[1,52],V=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],W=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,51,52,53,55,56,57],X=[1,60],Y=[5,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],Z=[5,27,28,30,36,52],$=[1,111],_=[1,112],aa=[1,106],ba=[1,108],ca=[1,109],da=[1,107],ea=[1,110],fa=[5,11,12,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],ga=[5,19,20,25,26,27,28,30,31,36,52],ha=[5,19,20,21,22,23,24,25,26,27,28,30,31,36,52],ia=[30,36],ja={trace:function(){},yy:{},symbols_:{error:2,expressions:3,exp:4,EOF:5,const:6,propertyWithAgg:7,parameter:8,"*":9,"/":10,"+":11,"-":12,"%":13,"|":14,"&":15,"^":16,"!":17,"~":18,OP_EQ:19,OP_NE:20,OP_GT:21,OP_LT:22,OP_GE:23,OP_LE:24,OP_LIKE:25,NOT:26,AND:27,OR:28,"(":29,")":30,IS:31,NULL:32,OP_IN:33,arguments:34,OP_BETWEEN:35,",":36,NAME_SOFT:37,AGG_MIN:38,AGG_MAX:39,AGG_COUNT:40,AGG_AVG:41,AGG_SUM:42,AGG_EXISTS:43,AGG_SINGLE:44,STRING:45,NUMBER:46,OBJECT:47,BOOLEAN:48,GUID:49,property:50,"[":51,"]":52,".":53,agg:54,FIELD_END:55,CH:56,ESC_CH:57,FIELD_START:58,"?":59,commaseparated:60,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",9:"*",10:"/",11:"+",12:"-",13:"%",14:"|",15:"&",16:"^",17:"!",18:"~",19:"OP_EQ",20:"OP_NE",21:"OP_GT",22:"OP_LT",23:"OP_GE",24:"OP_LE",25:"OP_LIKE",26:"NOT",27:"AND",28:"OR",29:"(",30:")",31:"IS",32:"NULL",33:"OP_IN",35:"OP_BETWEEN",36:",",37:"NAME_SOFT",38:"AGG_MIN",39:"AGG_MAX",40:"AGG_COUNT",41:"AGG_AVG",42:"AGG_SUM",43:"AGG_EXISTS",44:"AGG_SINGLE",45:"STRING",46:"NUMBER",47:"OBJECT",48:"BOOLEAN",49:"GUID",51:"[",52:"]",53:".",55:"FIELD_END",56:"CH",57:"ESC_CH",58:"FIELD_START",59:"?"},productions_:[0,[3,2],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,2],[4,3],[4,3],[4,3],[4,3],[4,4],[4,3],[4,7],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[7,3],[7,4],[7,3],[7,1],[7,4],[54,3],[54,1],[54,3],[54,1],[54,4],[54,4],[54,3],[54,4],[54,4],[54,4],[50,2],[50,2],[50,2],[50,3],[50,3],[50,1],[50,1],[50,1],[8,2],[8,1],[34,2],[34,3],[60,1],[60,3]],performAction:function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 1:return f[h-1];case 2:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("const",{value:f[h]});break;case 3:case 4:case 41:case 42:case 43:case 44:case 45:this.$=f[h];break;case 5:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Multiply});break;case 6:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Divide});break;case 7:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Plus});break;case 8:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Minus});break;case 9:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Modulo});break;case 10:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.BitwiseOr});break;case 11:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.BitwiseAnd});break;case 12:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.BitwiseXor});break;case 13:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.Minus,operator:f[h]});break;case 14:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.Plus,operator:f[h]});break;case 15:case 25:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.Not,operator:f[h]});break;case 16:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.BitwiseNot,operator:f[h]});break;case 17:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Equal});break;case 18:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.NotEqual});break;case 19:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Greater});break;case 20:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Less});break;case 21:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.GreaterOrEqual});break;case 22:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.LessOrEqual});break;case 23:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-2],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Like});break;case 24:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.Not,operator:DevExpress.Analytics.Criteria.criteriaCreator.process("binary",{left:f[h-3],right:f[h],operatorType:DevExpress.Analytics.Criteria.BinaryOperatorType.Like})});break;case 26:this.$=DevExpress.Analytics.Criteria.GroupOperator.combine(DevExpress.Analytics.Criteria.GroupOperatorType.And,[f[h-2],f[h]]);break;case 27:this.$=DevExpress.Analytics.Criteria.GroupOperator.combine(DevExpress.Analytics.Criteria.GroupOperatorType.Or,[f[h-2],f[h]]);break;case 28:case 64:case 75:this.$=f[h-1];break;case 29:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.IsNull,operator:f[h-2]});break;case 30:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.Not,operator:DevExpress.Analytics.Criteria.criteriaCreator.process("unary",{operatorType:DevExpress.Analytics.Criteria.UnaryOperatorType.IsNull,operator:f[h-3]})});break;case 31:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("in",{criteriaOperator:f[h-2],operands:f[h]});break;case 32:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("between",{property:f[h-6],begin:f[h-3],end:f[h-1]});break;case 33:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType[f[h-1]]||f[h-1],operands:f[h]});break;case 34:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Min,operands:f[h]});break;case 35:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Max,operands:f[h]});break;case 36:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Count||"Count",operands:f[h]});break;case 37:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Avg||"Avg",operands:f[h]});break;case 38:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Sum||"Sum",operands:f[h]});break;case 39:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Exists||"Exists",operands:f[h]});break;case 40:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("function",{operatorType:DevExpress.Analytics.Criteria.FunctionOperatorType.Single||"Single",operands:f[h]});break;case 46:this.$=null;break;case 47:this.$=DevExpress.Analytics.Criteria.JoinOperand.joinOrAggregate(DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:f[h-5].name,startColumn:f[h-5].col,startLine:f[h-5].line,originalPropertyLength:g[h-5].last_column-g[h-5].first_column+1}),f[h-3],f[h].type,f[h].expr);break;case 48:this.$=DevExpress.Analytics.Criteria.JoinOperand.joinOrAggregate(DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:f[h-4].name,startColumn:f[h-4].col,startLine:f[h-4].line,originalPropertyLength:g[h-4].last_column-g[h-4].first_column+1}),null,f[h].type,f[h].expr);break;case 49:this.$=DevExpress.Analytics.Criteria.JoinOperand.joinOrAggregate(DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:f[h-2].name,startColumn:f[h-2].col,startLine:f[h-2].line,originalPropertyLength:g[h-2].last_column-g[h-2].first_column}),null,f[h].type,f[h].expr);break;case 50:this.$=DevExpress.Analytics.Criteria.JoinOperand.joinOrAggregate(DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:f[h-3].name,startColumn:f[h-3].col,startLine:f[h-3].line,originalPropertyLength:g[h-3].last_column-g[h-3].first_column+1}),f[h-1],DevExpress.Analytics.Criteria.Aggregate.Exists,null);break;case 51:this.$=DevExpress.Analytics.Criteria.JoinOperand.joinOrAggregate(DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:f[h-2].name,startColumn:f[h-2].col,startLine:f[h-2].line,originalPropertyLength:g[h-2].last_column-g[h-2].first_column+1}),null,DevExpress.Analytics.Criteria.Aggregate.Exists,null);break;case 52:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:f[h].name,startColumn:f[h].col,startLine:f[h].line,originalPropertyLength:g[h].last_column-g[h].first_column});break;case 53:this.$=DevExpress.Analytics.Criteria.JoinOperand.joinOrAggregate(DevExpress.Analytics.Criteria.criteriaCreator.process("property",{}),null,f[h].type,f[h].expr);break;case 54:case 55:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Count};break;case 56:case 57:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Exists};break;case 58:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Avg,expr:f[h-1]};break;case 59:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Sum,expr:f[h-1]};break;case 60:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Single,expr:DevExpress.Analytics.Criteria.criteriaCreator.process("property",{propertyName:"This"})};break;case 61:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Single,expr:f[h-1]};break;case 62:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Min,expr:f[h-1]};break;case 63:this.$={type:DevExpress.Analytics.Criteria.Aggregate.Max,expr:f[h-1]};break;case 65:this.$={name:f[h-1].name+f[h],line:f[h-1].line,col:f[h-1].col};break;case 66:this.$={name:f[h-1].name+f[h].substr(1),line:f[h-1].line,col:f[h-1].col};break;case 67:this.$={name:f[h-2].name+".",line:f[h-2].line,col:f[h-2].col};break;case 68:this.$={name:f[h-2].name+"."+f[h],line:f[h-2].line,col:f[h-2].col};break;case 69:this.$={name:"",line:g[h].first_line-1,col:g[h].first_column+1};break;case 70:this.$={name:f[h],line:g[h].first_line-1,col:g[h].first_column};break;case 71:this.$={name:"^",line:g[h].first_line-1,col:g[h].first_column};break;case 72:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("parameter",{parameterName:f[h]});break;case 73:this.$=DevExpress.Analytics.Criteria.criteriaCreator.process("value",{});break;case 74:this.$=[];break;case 76:this.$=[f[h]];break;case 77:this.$=f[h-2].concat(f[h])}},table:[{3:1,4:2,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{1:[3]},{5:[1,31],9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,31:S,33:T,35:U},b(V,[2,2]),b(V,[2,3]),b(V,[2,4]),{4:53,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:54,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:55,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:56,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:57,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:58,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},b(W,[2,70],{34:59,29:X}),{29:X,34:61},{29:X,34:62},{29:X,34:63},{29:X,34:64},{29:X,34:65},{29:X,34:66},{29:X,34:67},b(V,[2,41]),b(V,[2,42]),b(V,[2,43]),b(V,[2,44]),b(V,[2,45]),b(V,[2,46]),b(V,[2,52],{51:[1,68],53:[1,69],55:[1,70],56:[1,71],57:[1,72]}),{52:[1,73]},b(V,[2,73],{37:[1,74]}),b(W,[2,69]),b(W,[2,71]),{1:[2,1]},{4:75,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:76,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:77,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:78,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:79,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:80,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:81,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:82,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:83,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:84,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:85,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:86,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:87,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:88,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:89,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{25:[1,90]},{4:91,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:92,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{26:[1,94],32:[1,93]},{29:X,34:95},{29:[1,96]},b(V,[2,13]),b(V,[2,14]),b(V,[2,15]),b(Y,[2,16],{9:A,10:B,11:C,12:D,13:E}),b(Z,[2,25],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,31:S,33:T,35:U}),{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,97],31:S,33:T,35:U},b(V,[2,33]),{4:100,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,30:[1,98],32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z,60:99},b(V,[2,34]),b(V,[2,35]),b(V,[2,36]),b(V,[2,37]),b(V,[2,38]),b(V,[2,39]),b(V,[2,40]),{4:101,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,52:[1,102],58:y,59:z},{37:[1,105],38:$,39:_,40:aa,41:ba,42:ca,43:da,44:ea,54:103,58:[1,104]},b(W,[2,64]),b(W,[2,65]),b(W,[2,66]),{53:[1,113]},b(V,[2,72]),b(V,[2,5]),b(V,[2,6]),b(fa,[2,7],{9:A,10:B,13:E}),b(fa,[2,8],{9:A,10:B,13:E}),b(V,[2,9]),b([5,14,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],[2,10],{9:A,10:B,11:C,12:D,13:E,15:G,16:H}),b(Y,[2,11],{9:A,10:B,11:C,12:D,13:E}),b([5,14,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],[2,12],{9:A,10:B,11:C,12:D,13:E,15:G}),b(ga,[2,17],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,21:K,22:L,23:M,24:N,33:T,35:U}),b(ga,[2,18],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,21:K,22:L,23:M,24:N,33:T,35:U}),b(ha,[2,19],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,33:T,35:U}),b(ha,[2,20],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,33:T,35:U}),b(ha,[2,21],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,33:T,35:U}),b(ha,[2,22],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,33:T,35:U}),b(ga,[2,23],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,21:K,22:L,23:M,24:N,33:T,35:U}),{4:114,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},b(Z,[2,26],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,31:S,33:T,35:U}),b([5,28,30,36,52],[2,27],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,31:S,33:T,35:U}),b(V,[2,29]),{32:[1,115]},b(V,[2,31]),{4:116,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},b(V,[2,28]),b(V,[2,74]),{30:[1,117],36:[1,118]},b(ia,[2,76],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,31:S,33:T,35:U}),{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,31:S,33:T,35:U,52:[1,119]},b(V,[2,51],{53:[1,120]}),b(V,[2,49]),b(W,[2,67]),b(W,[2,68]),b(V,[2,55],{29:[1,121]}),b(V,[2,57],{29:[1,122]}),{29:[1,123]},{29:[1,124]},{29:[1,125]},{29:[1,126]},{29:[1,127]},{38:$,39:_,40:aa,41:ba,42:ca,43:da,44:ea,54:128},b(ga,[2,24],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,21:K,22:L,23:M,24:N,33:T,35:U}),b(V,[2,30]),{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,31:S,33:T,35:U,36:[1,129]},b(V,[2,75]),{4:130,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},b(V,[2,50],{53:[1,131]}),{38:$,39:_,40:aa,41:ba,42:ca,43:da,44:ea,54:132},{30:[1,133]},{30:[1,134]},{4:135,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:136,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:138,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,30:[1,137],32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:139,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},{4:140,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},b(V,[2,53]),{4:141,6:3,7:4,8:5,11:c,12:d,16:e,17:f,18:g,26:h,29:i,32:j,37:k,38:l,39:m,40:n,41:o,42:p,43:q,44:r,45:s,46:t,47:u,48:v,49:w,50:26,51:x,58:y,59:z},b(ia,[2,77],{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,31:S,33:T,35:U}),{38:$,39:_,40:aa,41:ba,42:ca,43:da,44:ea,54:142},b(V,[2,48]),b(V,[2,54]),b(V,[2,56]),{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,143],31:S,33:T,35:U},{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,144],31:S,33:T,35:U},b(V,[2,60]),{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,145],31:S,33:T,35:U},{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,146],31:S,33:T,35:U},{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,147],31:S,33:T,35:U},{9:A,10:B,11:C,12:D,13:E,14:F,15:G,16:H,19:I,20:J,21:K,22:L,23:M,24:N,25:O,26:P,27:Q,28:R,30:[1,148],31:S,33:T,35:U},b(V,[2,47]),b(V,[2,58]),b(V,[2,59]),b(V,[2,61]),b(V,[2,62]),b(V,[2,63]),b(V,[2,32])],defaultActions:{31:[2,1]},parseError:function(a,b){if(!b.recoverable){var c=new Error(a);throw c.hash=b,c}this.trace(a)},parse:function(a){var b=this,c=[0],d=[null],e=[],f=this.table,g="",h=0,i=0,j=0,k=2,l=1,m=e.slice.call(arguments,1),n=Object.create(this.lexer),o={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o.yy[p]=this.yy[p]);n.setInput(a,o.yy),o.yy.lexer=n,o.yy.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;e.push(q);var r=n.options&&n.options.ranges;"function"==typeof o.yy.parseError?this.parseError=o.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var s,t,u,v,w,x,y,z,A,B=function(){var a;return a=n.lex()||l,"number"!=typeof a&&(a=b.symbols_[a]||a),a},C={};;){if(u=c[c.length-1],this.defaultActions[u]?v=this.defaultActions[u]:(null!==s&&void 0!==s||(s=B()),v=f[u]&&f[u][s]),void 0===v||!v.length||!v[0]){var D="";A=[];for(x in f[u])this.terminals_[x]&&x>k&&A.push("'"+this.terminals_[x]+"'");D=n.showPosition?"Parse error on line "+(h+1)+":\n"+n.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[s]||s)+"'":"Parse error on line "+(h+1)+": Unexpected "+(s==l?"end of input":"'"+(this.terminals_[s]||s)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[s]||s,line:n.yylineno,loc:q,expected:A})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+u+", token: "+s);switch(v[0]){case 1:c.push(s),d.push(n.yytext),e.push(n.yylloc),c.push(v[1]),s=null,t?(s=t,t=null):(i=n.yyleng,g=n.yytext,h=n.yylineno,q=n.yylloc,j>0&&j--);break;case 2:if(y=this.productions_[v[1]][1],C.$=d[d.length-y],C._$={first_line:e[e.length-(y||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(y||1)].first_column,last_column:e[e.length-1].last_column},r&&(C._$.range=[e[e.length-(y||1)].range[0],e[e.length-1].range[1]]),void 0!==(w=this.performAction.apply(C,[g,i,h,o.yy,v[1],d,e].concat(m))))return w;y&&(c=c.slice(0,-1*y*2),d=d.slice(0,-1*y),e=e.slice(0,-1*y)),c.push(this.productions_[v[1]][0]),d.push(C.$),e.push(C._$),z=f[c[c.length-2]][c[c.length-1]],c.push(z);break;case 3:return!0}}return!0}},ka=function(){return{EOF:1,parseError:function(a,b){if(!this.yy.parser)throw new Error(a);this.yy.parser.parseError(a,b)},setInput:function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),b=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},test_match:function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var f in e)this[f]=e[f];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,b,c,d;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(this._backtrack){b=!1;continue}return!1}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return a||this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},pushState:function(a){this.begin(a)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(a,b,c,d){switch(c){case 0:return this.begin("INITIAL"),51;case 1:return this.begin("INITIAL"),55;case 2:return 57;case 3:return 56;case 4:return"INVALID";case 5:return 45;case 6:return 49;case 7:return 47;case 8:return 46;case 9:case 10:return 48;case 11:break;case 12:return 35;case 13:return 33;case 14:return 26;case 15:return 31;case 16:return 32;case 17:return 9;case 18:return 10;case 19:return 12;case 20:return 11;case 21:return 16;case 22:return 18;case 23:return 20;case 24:return 17;case 25:return 13;case 26:return 20;case 27:return 23;case 28:return 24;case 29:return 21;case 30:return 22;case 31:return 28;case 32:return 27;case 33:return 41;case 34:return 39;case 35:return 38;case 36:return 44;case 37:return 40;case 38:return 43;case 39:return 42;case 40:case 41:return 19;case 42:return 25;case 43:return 27;case 44:return 28;case 45:return 15;case 46:return 14;case 47:return this.begin("fieldname"),58;case 48:return 52;case 49:return 29;case 50:return 30;case 51:return 53;case 52:return 36;case 53:return 59;case 54:return 37;case 55:return"INVALID";case 56:return 5}},rules:[/^(?:\]\s*\[)/i,/^(?:\])/i,/^(?:\\.)/i,/^(?:.)/i,/^(?:$)/i,/^(?:'(?:[^\']|(?:('').))*')/i,/^(?:\{[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}\})/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?)/i,/^(?:True\b)/i,/^(?:False\b)/i,/^(?:\s+)/i,/^(?:Between\b)/i,/^(?:In\b)/i,/^(?:Not\b)/i,/^(?:Is\b)/i,/^(?:Null\b)/i,/^(?:\*)/i,/^(?:\/)/i,/^(?:-)/i,/^(?:\+)/i,/^(?:\^)/i,/^(?:~)/i,/^(?:!=)/i,/^(?:!)/i,/^(?:%)/i,/^(?:<>)/i,/^(?:>=)/i,/^(?:<=)/i,/^(?:>)/i,/^(?:<)/i,/^(?:\|\|)/i,/^(?:&&)/i,/^(?:Avg\b)/i,/^(?:Max\b)/i,/^(?:Min\b)/i,/^(?:Single\b)/i,/^(?:Count\b)/i,/^(?:Exists\b)/i,/^(?:Sum\b)/i,/^(?:==)/i,/^(?:=)/i,/^(?:Like\b)/i,/^(?:And\b)/i,/^(?:Or\b)/i,/^(?:&)/i,/^(?:\|)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\()/i,/^(?:\))/i,/^(?:\.)/i,/^(?:,)/i,/^(?:\?)/i,/^(?:[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{fieldname:{rules:[0,1,2,3,4],inclusive:!1},INITIAL:{rules:[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56],inclusive:!0}}}}();return ja.lexer=ka,a.prototype=ja,ja.Parser=a,new a}();if(DevExpress.JS.Data.criteriaparser=criteriaparser,DevExpress.Analytics.Criteria.criteriaparser=criteriaparser,window.ace){var _define=window.ace.define||define;_define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text_highlight_rules").TextHighlightRules,f=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},f.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};d.inherits(f,e),f.getTagRule=function(a){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},f.getStartRule=function(a){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:a}},f.getEndRule=function(a){return{token:"comment.doc",regex:"\\*\\/",next:a}},b.DocCommentHighlightRules=f})}if(window.ace){var _define=window.ace.define||define;_define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text").Mode,f=a("./criteria_highlight_rules").CriteriaHighlightRules,g=function(){this.HighlightRules=f};d.inherits(g,e),b.Mode=g}),_define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,b,c){"use strict";var d=a("../lib/oop"),e=a("./text_highlight_rules").TextHighlightRules,f=a("./doc_comment_highlight_rules").DocCommentHighlightRules,g=function(){this.$rules={start:[{token:"comment",start:"/\\*",end:"\\*/"},{token:"constant.other",regex:/(?:#(?:[^\\\#]|(?:\\.))*#?)|(?:\{[-0-9A-Fa-f]*\}?)/},{token:"string.quoted.single",regex:/N?'(?:\\.|[^'\\])*'?/},{token:"constant.numeric",regex:/[+\-]?\.?\d[\d.]*/i},{token:"support.other.aggregate",regex:/\.([a-zA-Z_]\w*)?/},{token:"keyword.operator",regex:/[+\-*\/%|&^<>]|==|!=|<=|>=|In|Like|Between|And|Or|Not/i},{token:"constant.language",regex:/True|False/i},{token:"support.context.start",regex:/\[(?:[^\]\)])*\]\[/},{token:"support.variable.other",regex:/\[(?:[^\]\)\,])*\]?/},{token:"support.variable.parameter",regex:/\?\w+/},{token:"support.context.end",regex:/\]/},{token:"support.function",regex:/[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*/}],comment:[{token:"comment",regex:"\\*\\/",next:"no_regex"},{defaultToken:"comment"}]},this.embedRules(f,"doc-",[f.getEndRule("start")]),this.normalizeRules()};d.inherits(g,e),b.CriteriaHighlightRules=g})}var __extends=this&&this.__extends||function(){var a=function(b,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])})(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c),b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),DevExpress;!function(a){!function(b){var c;!function(c){function f(a){return ko.observable(void 0===a||null===a?null:parseFloat(a))}function g(a){var b=d.getShortTypeName(a),c=this.valuesArray&&this.valuesArray.filter(function(a){return a.value==b})[0];return ko.observable(this.values&&void 0!==this.values[b]||c?b:a)}function h(a){return ko.observable(void 0!==a?"true"===String(a).toLowerCase():a)}function i(a){var b=(a||"").split(","),c=ko.observable(a);if(3===b.length)c=ko.observable("rgb("+b.join(", ")+")");else if(4===b.length){var d=Math.round(parseFloat(b[0])/255*100)/100;b.shift(),b.push(d.toString()),c=ko.observable("rgba("+b.join(", ")+")")}return c}function j(a){return Math.round(a).toString()}function k(b){var c=a.Analytics.Utils.colorToString(b).split(",");return(parseInt(c[0])<<24)+(parseInt(c[1])<<16)+(parseInt(c[2])<<8)+parseInt(c[3])}function l(a,b){void 0===b&&(b=!0);var c=Math.round(a>>16&255),d=Math.round(a>>8&255),e=Math.round(255&a);if(b){return i([Math.round(a>>24&255),c,d,e].join(", "))()}return i([c,d,e].join(", "))()}function m(a){var b=(a||"").split(", "),c=a;if(3===b.length)b[0]=b[0].split("(")[1],b[2]=b[2].split(")")[0],c=b.join(",");else if(4===b.length){var d=Math.round(255*parseFloat(b[3]));b.pop(),b[0]=b[0].split("(")[1],c=d.toString()+","+b.join(",")}return c}var n=function(){function a(){this.controlsMap={}}return a.prototype.getControlInfo=function(a){return this.controlsMap[a]||null},a.prototype.getControlType=function(a){var b=d.getTypeNameFromFullName(a["@ControlType"]||"");return this.controlsMap[b]?b:"Unknown"},a.prototype.createControl=function(a,b,c){var d=this.getControlType(a);return new(this.controlsMap[d]&&this.controlsMap[d].type||e.ElementViewModel)(a,b,c)},a.prototype.registerControl=function(a,b){void 0!==b.isToolboxItem&&(b.nonToolboxItem=!b.isToolboxItem),Object.defineProperty(b,"isToolboxItem",{get:function(){return!b.nonToolboxItem},set:function(a){b.nonToolboxItem=!a},enumerable:!0,configurable:!0}),this.controlsMap[a]=b,this.controlsMap[a].info=$.extend(!0,[],b.info)},a.prototype._getPropertyInfo=function(a,c,d){var e=a.filter(function(a){return b.Utils.getLocalization(a.displayName,a.localizationId)===c[d]||a.propertyName===c[d]||a.modelName==="@"+c[d]||a.modelName===c[d]})[0];if(d===c.length-1)return e||null;if(e.info)return this._getPropertyInfo(e.info,c,d+1);if(e.from){var f=null;try{f=e.from({})}catch(a){return null}var g=f.getInfo&&f.getInfo();if(g)return this._getPropertyInfo(g,c,d+1)}return null},a.prototype.getPropertyInfo=function(a,b){var c=b;return $.isArray(b)||(c=b.split(".")),this._getPropertyInfo(this.controlsMap[a].info,c,0)},a}();c.ControlsFactory=n,c.floatFromModel=f,c.fromEnum=g,c.parseBool=h,c.colorFromString=i,c.saveAsInt=j,c.colorToInt=k,c.intToColor=l,c.colorToString=m}(c=b.Utils||(b.Utils={}));var d;!function(d){var e=function(){function a(){}return a.prototype.initActions=function(a){this.actions=a,this.actions.forEach(function(a){a.disabled||(a.disabled=ko.observable(!1))})},a.prototype.getActions=function(a){return this.condition(a)?(this.setDisabled&&this.setDisabled(a),this.actions):[]},a.prototype.condition=function(a){return!0},a}();d.BaseActionsProvider=e;var f=function(){function a(){}return a.generateUri=function(a,b){return a=a||"",a&&"/"===a[a.length-1]&&b&&"/"===b[0]?a+b.substring(1):a+b},a}();d.RequestHelper=f;var g=function(e){function g(b,c){var d=e.call(this)||this;return d._options=b,d._customEventRaiser=c,d._templateHtml=a.Analytics.Widgets.Internal.getTemplate("dxrd-designer"),d}return __extends(g,e),g.prototype.dispose=function(){e.prototype.dispose.call(this),this.sender&&this.sender instanceof c.Disposable&&this.sender.dispose(),this.removeProperties()},g.prototype._fireEvent=function(a,b){if(this._customEventRaiser)return void this._customEventRaiser(a,b);this._options&&this._options.callbacks&&this._options.callbacks[a]&&this._options.callbacks[a](this.sender,b)},g.prototype._getServerActionUrl=function(a,b){return f.generateUri(a,b)},g.prototype._getAvailableEvents=function(a,b){var c=this,d=a;return b&&this._options.callbacks[b]?Object.keys(a).forEach(function(e){d[e]=c._options.callbacks[b][e]||a[e]}):Object.keys(a).forEach(function(b){d[b]=c._options.callbacks[b]||a[b]}),d},g.prototype._getLocalizationRequest=function(){var a=$.Deferred(),c=this._options.requestOptions;if(c.getLocalizationAction){var d=this._getServerActionUrl(c.host,c.getLocalizationAction);$.getJSON(d).fail(function(c,d,e){try{b.Internal._processError(e.message,$.Deferred(),c,d)}finally{a.reject()}}).done(function(b){a.resolve(b)})}else a.resolve();return a.promise()},g.prototype._createDisposeFunction=function(a){var b=this;d.addDisposeCallback(a,function(){b.dispose()})},g}(c.Disposable);d.JSDesignerBindingCommon=g}(d=b.Internal||(b.Internal={}));var e;!function(a){var b=function(){function a(a,b,c,d){void 0===a&&(a=0),void 0===b&&(b=0),void 0===c&&(c=0),void 0===d&&(d=0),this.left=ko.observable(0),this.top=ko.observable(0),this.width=ko.observable(0),this.height=ko.observable(0),this.className="dxrd-drag-helper-item",this.left(a),this.top(b),this.width(c),this.height(d)}return a}();a.Rectangle=b}(e=b.Elements||(b.Elements={})),function(a){var d=function(b){function c(a,c,d,f,g){var h=b.call(this)||this;return h._size=new e.Size(0,0),h.alwaysAlt=!1,h.surface=a,h.selection=c,h.snapHelper=f,h.dragHelperContent=g,h.stopDrag=function(a,b,c){d().start(),h.doStopDrag(a,b,c),d().end(),f&&f.deactivateSnapLines()},h}return __extends(c,b),c.prototype.dispose=function(){b.prototype.dispose.call(this),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null},c.prototype._getAbsoluteSurfacePosition=function(a){return{left:a.position.left-a.delta.left,top:a.position.top-a.delta.top}},c.prototype.addControl=function(b,c,d){var e=c.width&&c.width()||c._width&&c._width(),f=c.underCursor();if(f.x<e){c.getControlModel().addChild(b);var g=a.findSurface(b);if(!g)return;var h=d.width(),i=d.height(),j=f.x+h>e?e-h-1:f.x;g.rect({left:j,top:Math.max(f.y,0),width:h,height:i}),this.selection.initialize(g)}},c.prototype.recalculateSize=function(b){var c=ko.unwrap(this.surface);this._size.width(a.unitsToPixel(ko.unwrap(b.width)*c.dpi()/100,c.measureUnit(),c.zoom())),this._size.height(a.unitsToPixel(ko.unwrap(b.height)*c.dpi()/100,c.measureUnit(),c.zoom()))},c.prototype.helper=function(a,b){this.snapHelper&&this.snapHelper.updateSnapLines(a||null)},c.prototype.canDrop=function(a,b,c){var d=a.locked;return c&&c.canDrop&&(d=d||!c.canDrop(a,b)),!d},c.prototype.startDrag=function(a){},c.prototype.drag=function(a,b){var c=!0!==a.altKey;if(this.selection.dropTarget){var d=this.selection.dropTarget.getControlModel().getMetaData().isContainer?this.selection.dropTarget:this.selection.dropTarget.parent||this.selection.dropTarget,e=ko.dataFor(a.target).getControlModel&&ko.dataFor(a.target).getControlModel(),f=e&&e.getMetaData()||ko.dataFor(a.target).info;this.canDrop(d,e,f)?this.dragHelperContent&&this.dragHelperContent.isLocked(!1):(this.snapHelper&&this.snapHelper.deactivateSnapLines(),c=!1,this.dragHelperContent&&this.dragHelperContent.isLocked(!0))}if(c){var g=this._getAbsoluteSurfacePosition(b),h=this.snapHelper&&this.snapHelper.activateSnapLines({left:g.left,top:g.top,right:g.left+this._size.width(),bottom:g.top+this._size.height()});b.position.left-=h.left,b.position.top-=h.top}},c.prototype.doStopDrag=function(a,b,c){},c.started=ko.observable(!1),c}(c.Disposable);a.DragDropHandler=d;var f=function(){function a(a,b){var c=this;this._selection=a,this._undoEngine=b,this.shortcutMap={27:function(a){return c.processEsc(),!0},37:function(a){return c.moveSelectedControls(!0,!0,-1),!0},38:function(a){return c.moveSelectedControls(!0,!1,-1),!0},39:function(a){return c.moveSelectedControls(!1,!0,1),!0},40:function(a){return c.moveSelectedControls(!1,!1,1),!0}}}return a.prototype.processShortcut=function(a){var b=this.shortcutMap[a.keyCode];return!!b&&b(a)},a.prototype.processEsc=function(){var a=this._selection.focused()&&this._selection.focused().parent;a&&this._selection.focused(a)},a.prototype.moveSelectedControls=function(a,b,c){var d=this._selection.focused();if(!(!d||d&&d.getControlModel().getMetaData().isCopyDeny)){this._undoEngine&&this._undoEngine().start();var e,f,g,h=1,i=b?"left":"top",j=b?"width":"height";d.rect&&(e=d.rect()[i],f=d.rect()[i]+d.rect()[j],this._selection.selectedItems.filter(function(a){return!a.locked}).forEach(function(a){var b=a.rect()[i];b<e&&(e=b)}),this._selection.selectedItems.filter(function(a){return!a.locked}).forEach(function(a){var b=a.rect()[i]+a.rect()[j];b>f&&(f=b)}),a&&e<=0||!d.parent.rect||!a&&f.toFixed(5)>=d.parent.rect()[j]||(this._selection.selectedItems.filter(function(a){return!a.locked}).filter(function(a){return!!a.rect}).forEach(function(b){var d={},e=b.rect()[i],f=b.rect()[j],k=b.parent.rect()[j];g=e+c*h,(a&&g>=0||!a&&g+f<=k)&&(d[i]=g),!a&&g+f>k&&(d[i]=k-f),a&&g<0&&e>0&&(d[i]=0),b.rect(d)}),this._undoEngine&&this._undoEngine().end()))}},a}();a.KeyboardHelper=f;var g=function(){function a(a){this._handlers=[],this._targetElement=a}return Object.defineProperty(a.prototype,"_activeHandler",{get:function(){return this._handlers.length>0?this._handlers[this._handlers.length-1]:null},enumerable:!0,configurable:!0}),a.prototype._removeHandler=function(a){var b=this._handlers.indexOf(a);b<0||(this._handlers.splice(b,1),b===this._handlers.length&&(this._targetElement.off("keydown",a),this._activeHandler&&this._targetElement.on("keydown",this._activeHandler)))},a.prototype.bindHandler=function(a,c){var d=this;this._activeHandler&&this._targetElement.off("keydown",this._activeHandler),this._handlers.push(c),this._targetElement.on("keydown",c),b.Internal.addDisposeCallback(a,function(){d._removeHandler(c)})},a}();a.KeyDownHandlersManager=g,ko.bindingHandlers.cssArray={update:function(a,b,c,d,e){for(var f=ko.utils.unwrapObservable(b()),g=0;g<f.length;g++)ko.bindingHandlers.css.update(a,function(){return f[g]})}},ko.bindingHandlers.selectable={init:function(a,c,d,e,f){var g=c(),h=$(a),i=ko.unwrap(g.selection),j=$.extend({filter:".dxd-selectable",distance:1},ko.unwrap(g),{selecting:function(a,b){var c={control:ko.dataFor(b.selecting),cancel:!1,ctrlKey:a.ctrlKey};i.selecting(c),c.cancel&&$(b.selecting).removeClass("ui-selecting")},start:function(a,b){i.clickHandler(null,a),i.started=!0,a.stopPropagation()},stop:function(){i.started=!1,i.applySelection()},unselecting:function(a,b){i.unselecting(ko.dataFor(b.unselecting))},classes:{"ui-selectable-helper":"dxrd-selection-content"}});h.selectable(j);var k=[],l=function(a,b){a&&ko.isSubscribable(a)&&k.push(a.subscribe(function(a){h.selectable("option",b,a)}))};l(i.disabled,"disabled"),l(g.zoom,"zoom"),b.Internal.addDisposeCallback(a,function(){h.data("ui-selectable")&&h.selectable("destroy"),h=null,l=null,k.forEach(function(a){return a.dispose()})})}},ko.bindingHandlers.updateTop={init:function(a,c,d,e,f){var g=c(),h=$(a),i=function(b){var c=a.getBoundingClientRect().height/a.offsetHeight,d=0===b||b?b:h.prev().position().top/c+h.prev().outerHeight();h.css("top",d+"px")},j=g.subscribe(function(a){i(a)});i(g()),b.Internal.addDisposeCallback(a,function(){j.dispose()})}},ko.bindingHandlers.draggable={init:function(b,c,d,e,f){var g=c();if(g){var h,i,j,k=$(b),l=k.closest(".dx-designer"),m=g.containment||".dxrd-ghost-container",n={left:0,top:0},o=function(a){a.delta={left:i.left-j.left,top:i.top-j.top},a.scroll={left:h.scrollLeft()-n.left,top:h.scrollTop()-n.top}},p=$.extend({},ko.unwrap(g),{start:function(b,c){a.DragDropHandler.started(!0);k.data("ui-draggable");h=l.find(".dxrd-viewport"),i=l.find(".dxrd-ghost-container").offset(),j=l.find(m).offset(),n.left=h.scrollLeft(),n.top=h.scrollTop(),g.startDrag&&g.startDrag(ko.dataFor(b.currentTarget||b.toElement))},stop:function(b,c){o(c),g.stopDrag(c,ko.dataFor(b.target),b),a.DragDropHandler.started(!1)},drag:function(a,b){o(b),g.drag&&g.drag(a,b)},helper:function(a){g.helper&&g.helper(ko.dataFor(a.currentTarget||a.toElement),a);var b=l.find(".dxrd-drag-helper-source").clone().css({display:g.helper?"block":"none"});return b.prependTo(l.find(p.containment)),ko.applyBindings(f.$root,b[0]),b}});p.containment=l.find(p.containment),k.draggable(p),a.addDisposeCallback(b,function(){k.data("ui-draggable")&&k.draggable("destroy")})}}};var h="dxd-track-cursor";ko.bindingHandlers.trackCursor={init:function(a,c,d,e,f){var g=$(a);g.addClass(h);var i=c(),j=a.getBoundingClientRect(),k=document.body,l=document.documentElement,m=function(a){f.$root.selection.started&&f.$root.resizeHandler.started||i().isNotDropTarget||(f.$root.selection.dropTarget=f.$data,a.stopPropagation())},n=function(b){i($.extend(i(),{isOver:!0})),f.$root.selection.started&&f.$root.resizeHandler.started||(j=a.getBoundingClientRect())},o=function(a){i($.extend(i(),{isOver:!1}))},p=function(a){if(!f.$root.selection.started||!f.$root.resizeHandler.started){var b=window.pageYOffset||l.scrollTop||k.scrollTop,c=window.pageXOffset||l.scrollLeft||k.scrollLeft,d=l.clientTop||k.clientTop||0,e=l.clientLeft||k.clientLeft||0,g=a.pageY-(j.top+b-d),h=a.pageX-(j.left+c-e);i($.extend(i(),{x:h,y:g}))}};a.addEventListener("mousemove",p),a.addEventListener("mouseenter",n),a.addEventListener("mouseover",m),a.addEventListener("mouseleave",o),a.addEventListener("dragover",p),b.Internal.addDisposeCallback(a,function(){a.removeEventListener("dragover",p),a.removeEventListener("mousemove",p),a.removeEventListener("mouseover",m),a.removeEventListener("mouseleave",o),a.removeEventListener("mouseenter",n),g.removeClass(h)})}},ko.bindingHandlers.templates={init:function(a,b){var c=$(b()).text(),d=$(c);return $(a).append(d),{controlsDescendantBindings:!0}}},ko.bindingHandlers.zoom={update:function(b,c){for(var d=ko.unwrap(c()||{}),e=0;e<a.cssTransform.length;e++)b.style[a.cssTransform[e]]="scale("+d+")";$(b).addClass("dxrd-transform-origin-left-top")}},ko.bindingHandlers.keyDownActions=function(){var c=new a.KeyDownHandlersManager($(window));return{init:function(a,d){var e=d(),f=function(a){e.processShortcut(ko.unwrap(e.toolbarItems),a)};if(ko.isSubscribable(e.enabled)){var g=e.enabled.subscribe(function(b){b&&c.bindHandler(a,f)});b.Internal.addDisposeCallback(a,function(){return g.dispose()})}ko.unwrap(e.enabled)&&c.bindHandler(a,f)}}}(),ko.extenders.dxdnum=function(a,b){return a.subscribe(function(c){b.max?a(Math.min(c,b.max)):b.min&&a(Math.max(c,b.min))}),a};var i=function(a){function b(b,c,d,e,f){var g=a.call(this,c,d,e,f)||this;return g.position=b,g}return __extends(b,a),b}(e.Rectangle);a.DragHelperControlRectangle=i;var j=function(a){function b(b){var c=a.call(this)||this;return c.controls=ko.observableArray([]),c.customData=ko.observable({}),c.isLocked=ko.observable(!1),c._selectionProvider=b,c}return __extends(b,a),Object.defineProperty(b.prototype,"_isEmpty",{get:function(){return 0===this.controls().length},enumerable:!0,configurable:!0}),b.prototype.reset=function(){this.controls([]),this.customData({})},b.prototype.update=function(a){var b=this;if(this.left(a.absolutePosition.x()),this.top(a.absolutePosition.y()),this.width(a.rect().width),this.height(a.rect().height),this._isEmpty){var c=[];this._selectionProvider.selectedItems.forEach(function(b,d){b.locked||b.parent!==a.parent||c.push(new i(d))}),this.controls(c)}this.controls().forEach(function(a){var c=b._selectionProvider.selectedItems[a.position];a.left(c.absolutePosition.x()-b.left()),a.top(c.absolutePosition.y()-b.top()),a.width(c.rect().width),a.height(c.rect().height)})},b.prototype.setContent=function(a,b){void 0===b&&(b=null),this._isEmpty&&this.controls([a]),this.left(a.left()),this.top(a.top()),this.width(a.width()),this.height(a.height()),this.customData(b)},b}(e.Rectangle);a.DragHelperContent=j;var k=function(b){function c(a,c,d,e,f){var g=b.call(this,a,c,d,e,f)||this;return g.cursor="move",g.containment=".dxrd-ghost-container",g.helper=function(a){b.prototype.helper.call(g,a),-1===g.selection.selectedItems.indexOf(a)&&g.selection.updateSelection(a),f.update(a),g._size.width(f.width()),g._size.height(f.height())},g}return __extends(c,b),c.prototype.adjustDropTarget=function(a){for(var b=a;null!=b;){if(b.selected&&b.selected()){a=b.parent;break}b=b.parent}return a},c.prototype.startDrag=function(a){this.selection.swapFocusedItem(a);var b=this.selection.focused(),c=b.rect().left+b.underCursor().x,d=b.rect().top+b.underCursor().y;this.selection.selectedItems.filter(function(a){return!a.locked}).forEach(function(a){a.parent===b.parent&&(a.underCursor().offsetX=a.rect().left-c,a.underCursor().offsetY=a.rect().top-d)})},c.prototype.drag=function(a,c){c.position.left+=c.scroll.left,c.position.top+=c.scroll.top,b.prototype.drag.call(this,a,c)},c.prototype.getLocation=function(a,b){var c=a.underCursor().x+b.underCursor().offsetX,d=a.underCursor().y+b.underCursor().offsetY;return{left:c>0?c:0,top:d>0?d:0}},c.prototype.ajustLocation=function(a,b){b.rect(this.getLocation(a,b))},c.prototype.doStopDrag=function(b,c){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){var d=this.selection.dropTarget.getControlModel(),e=d.getNearestParent(d).surface,f=this.selection.focused(),g=this.adjustDropTarget(e),h=f.getControlModel(),i=h.getNearestParent(g.getControlModel()),g=i&&a.findSurface(i),j=g!==f.parent;if(!g||!g.canDrop())return;var k=this._getAbsoluteSurfacePosition(b);g.underCursor().x=k.left-(g.absolutePosition&&g.absolutePosition.x()||0)-f.underCursor().offsetX,g.underCursor().y=k.top-(g.absolutePosition&&g.absolutePosition.y()||0)-f.underCursor().offsetY;var l=(b.position.left,b.position.top,this.selection.selectedItems.filter(function(a){return!a.locked&&a.parent===f.parent}).map(function(a){return a.getControlModel()}).filter(function(a){return a.getMetaData().canDrop(g,a)}));if(j){for(var m=0;m<l.length;m++)l[m].surface.rect({top:0,left:0});h.parentModel().removeChilds(l),i.addChilds(l);for(var m=0;m<l.length;m++)this.ajustLocation(g,l[m].surface);this.selection.focused(f),this.selection.selectItems(l.map(function(a){return a.surface}))}else{for(var m=0;m<l.length;m++)this.ajustLocation(g,l[m].surface);this.selection.expectClick=!0}}},c.prototype.create=function(a,b){ko.dataFor(a.target).locked&&$(this).draggable("disable")},c}(d);a.SelectionDragDropHandler=k;var l=function(b){function c(a,c,d,e,f,g){var h=b.call(this,a,c,d,e,f)||this;return h.cursor="arrow",h._controlsFactory=g,h.containment=".dxrd-designer",h.cursorAt={top:0,left:0},h}return __extends(c,b),c.prototype.helper=function(a){b.prototype.helper.call(this,a);var c=a,d=e.Size.fromString(c.info["@SizeF"]||c.info.size||"100,23");this.recalculateSize(d),this.dragHelperContent.setContent(new e.Rectangle(0,0,this._size.width(),this._size.height()))},c.prototype.doStopDrag=function(b,c){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){var d=c,e=this._controlsFactory.createControl($.extend({},d.info),null),f=e.getNearestParent(this.selection.dropTarget.getControlModel()),g=a.findSurface(f);if(!g||!g.canDrop())return;var h=this._getAbsoluteSurfacePosition(b);g.underCursor().x=h.left-(g.absolutePosition&&g.absolutePosition.x()||0),g.underCursor().y=h.top-(g.absolutePosition&&g.absolutePosition.y()||0),(this.surface().isFit&&this.surface().isFit(g)||g.underCursor().isOver)&&this.addControl(e,g,this._size)}},c}(d);a.ToolboxDragDropHandler=l}(d=b.Internal||(b.Internal={}));var f;!function(a){var c=function(a){function b(b,c,d,e){var f=a.call(this,b,c,d,e)||this;return f._disposables.push(f.displayValue=ko.pureComputed({read:function(){var a=ko.unwrap(f.value);if(a&&"transparent"===a.toLowerCase())return"rgba(0,0,0,0)";if(/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(a))return a;var b=document.createElement("div");return b.style.backgroundColor=a,b.style.backgroundColor||"rgba(0,0,0,1)"},write:function(a){f.value(a)}})),f}return __extends(b,a),b}(a.Editor);a.ColorPickerEditor=c;var d=function(a){function b(b,c,d,f){var g=a.call(this,b,c,d,f)||this;return g.path=ko.pureComputed(function(){return g._model()&&g._model().getPath&&g._model().getPath(g.name)||""}),g.treeListController=new e.TreeListController,g._disposables.push(g.path),g._disposables.push(g.treeListController),g}return __extends(b,a),b}(a.Editor);a.FieldListEditor=d;var e;!function(a){var b=function(){function a(){this.selectedItem=null,this.suppressActions=!0}return a.prototype.dispose=function(){this.selectedItem=null},a.prototype.itemsFilter=function(a){return"parameters"!==a.specifics&&("List"===a.specifics||"ListSource"===a.specifics||!0===a.isList||"none"===a.specifics)},a.prototype.hasItems=function(a){return"none"!==a.specifics},a.prototype.canSelect=function(a){return this.hasItems(a.data)&&!!a.path&&("List"===a.data.specifics||"ListSource"===a.data.specifics)||"none"===a.data.specifics},a.prototype.select=function(a){this.canSelect(a)&&(this.selectedItem&&this.selectedItem.isSelected(!1),this.selectedItem=a,a.isSelected(!0))},a}();a.DataMemberTreeListController=b}(e=a.Internal||(a.Internal={}));var f=function(a){function b(b,c,d,f){var g=a.call(this,b,c,d,f)||this;return g.treeListController=new e.DataMemberTreeListController,g._disposables.push(g.treeListController),g}return __extends(b,a),b}(d);a.DataMemberEditor=f,function(b){function c(a,c){return{header:"dx-number-editor",editorType:function(d){function e(a,b,c,e){return d.call(this,a,b,c,e)||this}return __extends(e,d),e.prototype.getOptions=function(e){var f=d.prototype.getOptions.call(this,e);return b.ValueEditorHelper.getNumberEditorOptions(a,c,f)},e}(d)}}var d=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}return __extends(c,a),c.prototype._getEditorValidationRules=function(){return(a.prototype._getEditorValidationRules.call(this)||[]).concat(this.editorOptions&&this.editorOptions.showClearButton&&ko.unwrap(this.editorOptions.showClearButton)?[]:b.requiredValidationRules)},c}(a.Editor);b.RequiredNullableEditor=d,b.createNumericEditor=c}(e=a.Internal||(a.Internal={})),a.coreEditorTemplates={guid:{header:"dxrd-guid",editorType:a.GuidEditor},date:{header:"dx-date",editorType:e.RequiredNullableEditor},borders:{header:"dxrd-borders"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:a.PropertyGridEditor},field:{header:"dxrd-field",editorType:d},dataMember:{header:"dxrd-field",editorType:f},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"},customColorEditor:{header:"dxrd-colorpicker",editorType:c},sbyte:e.createNumericEditor("System.SByte","integer"),decimal:e.createNumericEditor("System.Decimal","float"),int64:e.createNumericEditor("System.Int64","integer"),int32:e.createNumericEditor("System.Int32","integer"),int16:e.createNumericEditor("System.Int16","integer"),single:e.createNumericEditor("System.Single","float"),double:e.createNumericEditor("System.Double","float"),byte:e.createNumericEditor("System.Byte","integer"),uint16:e.createNumericEditor("System.UInt16","integer"),uint32:e.createNumericEditor("System.UInt32","integer"),uint64:e.createNumericEditor("System.UInt64","integer")},a.editorTemplates=b.Internal.extend(a.editorTemplates,a.coreEditorTemplates)}(f=b.Widgets||(b.Widgets={})),function(a){var e=function(a){function b(b,c,e){var f=a.call(this)||this;f._createSurface=function(a){return a.surface||new(a.getControlFactory().controlsMap[a.controlType].surfaceType)(a,f._context)},f.preInitProperties(b,c,e),f._control=b,f._context=c,b.surface=f,f._context&&d.createUnitProperties(b,f,e,f._context.measureUnit,f._context.zoom,function(a){f._disposables.push(a)}),f._x=f._x||ko.observable(0),f._y=f._y||ko.observable(0),f._width=f._width||ko.observable(0),f._height=f._height||ko.observable(0);var g=ko.pureComputed(function(){return f.container()});f._disposables.push(g),f._container=g(),f._disposables.push(g.subscribe(function(a){if(f._container!==a&&f.rtlLayout()){var b=f._getX();f._container=a,f._setX(b)}else f._container=a}));var h=ko.computed({read:function(){return f._getX()},write:function(a){f._setX(a)}}),i=f._y,j=f._width,k=f._height;f.position={top:i,left:h,width:j,height:k,lineHeight:k},f._disposables.push(h);var l=ko.observable();return f._disposables.push(ko.computed(function(){f._control.update()||l({top:i(),left:h(),right:h()+j(),bottom:i()+k(),width:j(),height:k()})})),f._disposables.push(f.rect=ko.pureComputed({read:function(){return l()},write:function(a){a=f.beforeRectUpdated(a),f._control.update(!0);try{void 0!==a.left?f._setX(a.left,a.width):void 0!==a.width&&f._setX(h(),a.width),void 0!==a.top&&i(a.top),void 0!==a.right&&void 0===a.left&&void 0===a.width&&j(a.right-h()),void 0!==a.bottom&&void 0===a.top&&k(a.bottom-i()),void 0!==a.right&&void 0!==a.left&&void 0===a.width&&j(a.right-a.left),void 0!==a.bottom&&void 0!==a.top&&k(a.bottom-a.top),void 0!==a.width&&j(a.width),void 0!==a.height&&k(a.height)}finally{f._control.update(!1)}}})),f}return __extends(b,a),b.prototype._getX=function(){return this.rtlLayout()&&this._container?this._container.rect().width-this._x()-this._width():this._x()},b.prototype._setX=function(a,b){b=b||this._width(),this.rtlLayout()&&this._container?this._x(this._container.rect().width-a-b):this._x(a)},b.prototype.getRoot=function(){return this._context},b.prototype.preInitProperties=function(a,b,c){},b.prototype.container=function(){return this.parent},b.prototype.beforeRectUpdated=function(a){return a.left=a.left<0?0:a.left,a.top=a.top<0?0:a.top,a},b.prototype.rtlLayout=function(){return!!ko.unwrap(this._context.rtl)},b.prototype.getControlModel=function(){return this._control},b}(c.Disposable);a.SurfaceElementArea=e;var g=function(a){function b(b,c,e){var f=a.call(this,b,c,e)||this;if(f._countSelectedChildren=ko.observable(0),f.focused=ko.observable(!1),f.selected=ko.observable(!1),f.underCursor=ko.observable(new d.HoverInfo),f.allowMultiselect=!0,f.absolutePosition=new l(0,0),f.getControlModel=function(){return b},f.cssCalculator=new d.CssCalculator(b,c.rtl),f._getChildrenHolderName()&&b[f._getChildrenHolderName()]){var g=ko.observableArray();"controls"===f._getChildrenHolderName()?f._disposables.push(d.createObservableReverseArrayMapCollection(b[f._getChildrenHolderName()],g,f._createSurface)):f._disposables.push(d.createObservableArrayMapCollection(b[f._getChildrenHolderName()],g,f._createSurface)),f[f._getChildrenHolderName()]=g,f._disposables.push(f.isSelected=ko.pureComputed(function(){return!(!f.focused()&&!f.selected())||g().some(function(a){return a.isSelected()})}))}else f._disposables.push(f.isSelected=ko.pureComputed(function(){return f.focused()||f.selected()}));return f._disposables.push(f.css=ko.pureComputed(function(){return $.extend({},f.cssCalculator.fontCss(),f.cssCalculator.foreColorCss(),f.cssCalculator.backGroundCss(),f.cssCalculator.textAlignmentCss())})),f._disposables.push(f.contentCss=ko.pureComputed(function(){return $.extend({},f.cssCalculator.fontCss(),f.cssCalculator.foreColorCss(),f.cssCalculator.textAlignmentCss(),f.cssCalculator.angle(),f.cssCalculator.wordWrapCss(),f.cssCalculator.paddingsCss())})),f._disposables.push(ko.computed(function(){f.updateAbsolutePosition()})),f._disposables.push(f.absoluteRect=ko.pureComputed(function(){var a=f.rect(),b=f.absolutePosition.y(),c=f.absolutePosition.x();return{top:b,left:c,right:c+a.width,bottom:b+a.height,width:a.width,height:a.height}})),f.locked=!!b.lockedInUserDesigner&&b.lockedInUserDesigner(),f}return __extends(b,a),Object.defineProperty(b.prototype,"parent",{get:function(){return this.getControlModel().parentModel()&&this.getControlModel().parentModel().surface},enumerable:!0,configurable:!0}),b.prototype.checkParent=function(a){return this.parent===a},b.prototype._getChildrenHolderName=function(){return"controls"},b.prototype.getChildrenCollection=function(){return this._getChildrenHolderName()&&this[this._getChildrenHolderName()]||ko.observableArray([])},b.prototype.updateAbsolutePosition=function(){if(this.parent&&this.parent.absolutePosition){var a=this.parent.absolutePosition.x(),b=this.parent.absolutePosition.y(),c=a+this.rect().left,d=b+this.rect().top;this.absolutePosition.x(c),this.absolutePosition.y(d)}else this.absolutePosition.x(0),this.absolutePosition.y(0);this.afterUpdateAbsolutePosition()},b.prototype.canDrop=function(){return!this.locked&&this._control.getMetaData().isContainer},b.prototype.afterUpdateAbsolutePosition=function(){},b}(e);a.SurfaceElementBase=g;var h=function(a){function e(d,e,f){var g=a.call(this)||this;return g.actions=[],g.actionProviders=[],g.update=ko.observable(!1),g.preInitProperties(d,e,f),g.parentModel=ko.observable(e),g.controlType=g.controlType||g.getControlFactory().getControlType(d),f=f||new c.ModelSerializer,f.deserialize(g,d),g._disposables.push(g.displayName=ko.pureComputed(function(){var a=g.name&&g.name();return a||(a="unnamed "+g.controlType),a})),g.resetValue=function(a){g._resetProperty(a)},g.actions.push({action:g.resetValue,id:"dxd-reset",title:b.Utils.getLocalization("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:g.isResettableProperty,weight:1e3}),g}return __extends(e,a),e.prototype._resetProperty=function(a){if(this[a].resetValue)this[a].resetValue();else{var b=this.getPropertyDefaultValue(a);ko.isObservable(this[a])?this[a](b):d.copyObservables(b,this[a])}},e.prototype.getPropertyDefaultValue=function(a){var b=this.getPropertyInfo(a);return ko.unwrap(b&&(new c.ModelSerializer).deserializeDefaultValue(b))},e.prototype.getPropertyInfo=function(a){return this.getInfo().filter(function(b){return b.propertyName===a})[0]},e.prototype.getInfo=function(){return this.getControlFactory().controlsMap[this.controlType].info},e.prototype.createControl=function(a,b){return this.getControlFactory().createControl(a,this,b)},e.prototype.dispose=function(){a.prototype.dispose.call(this),this.surface&&this.surface.dispose()},e.prototype.preInitProperties=function(a,b,c){},e.prototype.getNearestParent=function(a){return a.getMetaData().isContainer?a:a.getNearestParent(a.parentModel())},e.prototype.getControlInfo=function(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]},e.prototype.getMetaData=function(){var a=this.controlType?this.controlType:"Unknown",b=this.getControlFactory().controlsMap[a];return{isContainer:b.isContainer||!1,isCopyDeny:b.isCopyDeny||!1,isDeleteDeny:b.isDeleteDeny||!1,canDrop:b.canDrop||function(){return!0},isPasteDeny:b.isPasteDeny||!b.isContainer}},e.prototype._hasModifiedValue=function(a){return this["_"+a]&&this["_"+a]()&&this.isPropertyModified(a)},e.prototype.createChild=function(a){var b=this.getControlFactory().createControl(a,this);return this.addChild(b),b},e.prototype.removeChilds=function(a){if(this.controls){for(var b=this.controls(),c=0;c<a.length;c++)b.splice(b.indexOf(a[c]),1);this.controls.valueHasMutated()}},e.prototype.addChilds=function(a){if(this.controls){for(var b=this.controls(),c=0;c<a.length;c++)b.splice(0,0,a[c]);this.controls.valueHasMutated()}},e.prototype.removeChild=function(a){this.controls&&this.controls.splice(this.controls().indexOf(a),1)},e.prototype.addChild=function(a){this.controls&&-1===this.controls().indexOf(a)&&(a.parentModel(this),this.controls.splice(0,0,a))},e.prototype.isPropertyVisible=function(a){return!0},e.prototype.isPropertyDisabled=function(a){return!1},e.prototype.isPropertyModified=function(a){var b=this["_"+a]?"_"+a:a;if(this[b].isPropertyModified)return this[b].isPropertyModified();if(this[b].isEmpty)return!this[b].isEmpty();var c=this.getPropertyDefaultValue(a),e=ko.unwrap(this[b]);return c instanceof Object?!d.compareObjects(c,e):c!==e},e.prototype.getControlFactory=function(){throw Error("Virtual method getControlFactory")},e.prototype.isResettableProperty=function(a){return-1===["name","size","location"].indexOf(a)},Object.defineProperty(e.prototype,"root",{get:function(){for(var a=this;a&&a.parentModel();)a=a.parentModel();return a},enumerable:!0,configurable:!0}),e.prototype.rtl=function(){return!1},e}(c.Disposable);a.ElementViewModel=h;var i=function(){function a(a,b,c,d){this.bottom=ko.observable(d),this.left=ko.observable(a),this.right=ko.observable(b),this.top=ko.observable(c)}return a.prototype.getInfo=function(){return j.paddingSerializationsInfo},a.prototype.isEmpty=function(){return this.toString()===a.defaultVal},a.fromString=function(b){void 0===b&&(b=a.defaultVal);var c=b.split(",");return new a(parseInt(c[0]),parseInt(c[1]),parseInt(c[2]),parseInt(c[3]))},a.prototype.toString=function(){return Math.round(this.left())+", "+Math.round(this.right())+", "+Math.round(this.top())+", "+Math.round(this.bottom())},a.defaultVal="100, 100, 100, 100",a.unitProperties=["left","right"],a}();a.Margins=i;var j;!function(a){a.left={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:f.editorTemplates.numeric},a.right={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:f.editorTemplates.numeric},a.top={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:f.editorTemplates.numeric},a.bottom={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:f.editorTemplates.numeric},a.all={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:f.editorTemplates.numeric},a.paddingSerializationsInfo=[a.all,a.left,a.right,a.top,a.bottom]}(j=a.Metadata||(a.Metadata={}));var k=function(a){function b(b,c,d,e,f){void 0===b&&(b=ko.observable(null)),void 0===c&&(c=ko.observable(null)),void 0===d&&(d=ko.observable(null)),void 0===e&&(e=ko.observable(null)),void 0===f&&(f=ko.observable(100));var g=a.call(this)||this;g.left=b,g.right=c,g.top=d,g.bottom=e,g.dpi=f,["left","right","top","bottom"].forEach(function(a){g["_"+a]=ko.observable(g[a]()),g._disposables.push(g[a]=ko.computed({read:function(){return g["_"+a]()||0},write:function(b){g["_"+a](b)}}))});var h=ko.observable(!1),i=null;return g._disposables.push(g.all=ko.computed({read:function(){return h()?i:i=["right","top","bottom"].every(function(a){return g[a]()===g.left()})?g.left():null},write:function(a){h(!0),["left","right","top","bottom"].forEach(function(b){return g[b](a)}),h(!1)}})),g}return __extends(b,a),b.prototype.getInfo=function(){return j.paddingSerializationsInfo},b.prototype.resetValue=function(){var a=this;["left","right","top","bottom"].forEach(function(b){return a["_"+b](null)})},b.prototype.isEmpty=function(){var a=this;return["left","right","top","bottom"].map(function(b){return ko.unwrap(a["_"+b])}).every(function(a){return null===a})},b.prototype.applyFromString=function(a){if(a){var b=(a||"").split(",");this.left(parseInt(b[0])||0),this.right(parseInt(b[1])||0),this.top(parseInt(b[2])||0),this.bottom(parseInt(b[3])||0)}return this},b.from=function(a){return(new b).applyFromString(a)},b.prototype.toString=function(){if(!this.isEmpty())return this._toString()},b.prototype._toString=function(a){var b=this;return void 0===a&&(a=!1),["left","right","top","bottom"].map(function(a){return parseInt(ko.unwrap(b[a]))}).concat(this.dpi()).join(", ")},b.defaultVal="0, 0, 0, 0, 100",b.unitProperties=["left","right","top","bottom"],b}(c.Disposable);a.PaddingModel=k;var l=function(){function a(a,b){this.x=ko.observable(a),this.y=ko.observable(b)}return a.prototype.getInfo=function(){return d.locationFake},a.fromString=function(b){void 0===b&&(b="0, 0");var c=b.split(",");return new a(parseFloat(c[0]),parseFloat(c[1]))},a.prototype.toString=function(){return this.x()+", "+this.y()},a.unitProperties=["x","y"],a}();a.Point=l;var m=function(a){function b(b,d,e){var f=a.call(this)||this;return f.preInitProperties(b,d,e),e&&(f.getInfo=function(){return e}),d=d||new c.ModelSerializer,d.deserialize(f,b,e),f}return __extends(b,a),b.prototype.preInitProperties=function(a,b,c){},b}(c.Disposable);a.SerializableModel=m;var n=function(){function a(a,b){this.isPropertyDisabled=function(a){},this.height=ko.observable(b).extend({dxdnum:{min:2}}),this.width=ko.observable(a).extend({dxdnum:{min:2}})}return a.prototype.getInfo=function(){return d.sizeFake},a.fromString=function(b){void 0===b&&(b="0, 0");var c=b.split(",");return new a(parseFloat(c[0]),parseFloat(c[1]))},a.prototype.toString=function(){return this.width()+", "+this.height()},a.unitProperties=["width","height"],a}();a.Size=n}(e=b.Elements||(b.Elements={})),function(a){function b(a){var b=[];return Object.keys(a).forEach(function(d){if(!a[d].nonToolboxItem){var e={"@ControlType":d,displayName:a[d].displayName,index:a[d].toolboxIndex||0,canDrop:a[d].canDrop};a[d].size&&(e.size=a[d].size),a[d].defaultVal&&Object.keys(a[d].defaultVal).forEach(function(b){e[b]=a[d].defaultVal[b]}),b.push(new c.ToolboxItem(e))}}),b.sort(function(a,b){return a.index-b.index})}function d(a){try{a.blur&&a.blur()}catch(a){document.body.blur()}}a.getToolboxItems=b,a.blur=d}(d=b.Internal||(b.Internal={})),function(a){var b=function(){function a(){this.ajaxSettings={}}return a.prototype.sendRequest=function(a){return $.ajax($.extend({},this.ajaxSettings,a))},a}();a.AjaxSetup=b}(d=b.Internal||(b.Internal={})),function(a){a.ajaxSetup=new d.AjaxSetup}(c=b.Utils||(b.Utils={})),function(d){function g(a,b){if(b){if("Left"===a)return"Right";if("Right"===a)return"Left"}return a}function h(a){return a===d.ExpressionType}function i(a){return d.editorTypeMapper[a]||f.editorTemplates.text}function j(a){return a.split(",")[0].trim()}function k(a){var b=j(a),c=b.split(".");return c[c.length-1]}function l(a){if(!a)return"";var b=ko.unwrap(a.name)||ko.unwrap(a.displayName),d=a.displayType&&a.displayType()||a.controlType;if(a.getControlFactory){var e=a.getControlFactory().getControlInfo(d);e.displayName&&(d=e.displayName)}return b+(d?" ("+c.getLocalization(k(d))+")":"")}function m(a,b){void 0===b&&(b=!1);var c,a=j(a||"").split(".").join("_");return 0===a.indexOf("XR")?c=a.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===a&&(c="master_report"),(b?"dxrd-svg-toolbox-":"dxrd-image-")+(c||a.toLowerCase())}function n(a,b,c){if(0===b.indexOf("XR"))b=b[2].toLowerCase()+b.slice(3);else{var d=b.indexOf("Band");-1!==d&&"SubBand"!==b&&(b=b.slice(0,d)+b.slice(d+4))}return o(c||a.map(function(a){return ko.unwrap(a.name)}),b)}function o(a,b){for(var c=1,d=b+c;a.filter(function(a){return a===d}).length>0;)c++,d=b+c;return d}function p(c){var d=b.Internal.Globalize;d&&c&&(c.cldrSupplemental&&d.load(c.cldrSupplemental),c.cldrData&&d.load(c.cldrData),c.currentCulture&&(d.locale(c.currentCulture),a.localization.locale&&a.localization.locale(c.currentCulture)))}function q(a,b){a&&b&&(27===a.keyCode&&b.esc&&b.esc(),13===a.keyCode&&a.ctrlKey&&b.ctrlEnter&&b.ctrlEnter())}function r(a,b,c,e,f){var g=a,h=d.getErrorMessage(c);h&&h!==g&&(d._addErrorPrefix?g+=": "+h:g=h);try{f?f(g,c,e):d.NotifyAboutWarning(g)}finally{b.reject(c,e,a)}}function s(a){return a&&d._errorProcessor.handlers.push(a),{dispose:function(){a&&t(a)}}}function t(a){d._errorProcessor.handlers.splice(d._errorProcessor.handlers.indexOf(a),1)}function u(a){return a?a.surface:null}function v(a,b,c,d){var e={top:b.top+d.y,left:b.left+d.x,bottom:b.top+c.originalSize.height,right:b.left+c.originalSize.width};return 0!==d.x?e.left=a.snapPosition(e.left,!1):0!==d.width&&(e.right=a.snapPosition(b.left+c.size.width,!1)),0!==d.y?e.top=a.snapPosition(e.top,!0):0!==d.height&&(e.bottom=a.snapPosition(b.top+c.size.height,!0)),e}function w(a){return parseInt(a,10)||0}function x(a,b,c){var d=w(a.css("left")),e=w(a.css("top"));if(c.rtl()){var f=c.pageWidth()-c.margins.left()-a.width();d>f&&(d=f)}var g=a[0].getBoundingClientRect();return{top:e,left:d,width:g.width,height:g.height}}function y(a){return Math.min(a.scrollHeight,a.offsetHeight,a.clientHeight)+a.offsetTop}function z(a,b){return b&&(y(a)<y(b)?window:b)||window}function A(a,b,c){return void 0===c&&(c=!1),function(){var d=$(b).find(".dxrd-designer").eq(0),e=d.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,f=(d.find(".dxrd-right-panel:visible").outerWidth()||0)+(d.find(".dxrd-right-tabs:visible").outerWidth()||0),g=f+e,h=d.width()-g;d.find(".dxrd-surface-wrapper").eq(0).css({left:c?f:e,right:c?e:f,width:h,bottom:d.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}),a(h)}}function B(a){if(!a)return!1;var b="\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60-\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E87-\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA-\\u0EAB\\u0EAD-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5-\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC";return new RegExp("^["+b+"_]["+b+"_\\d]*$").test(a)}function C(a){return a.replace(/[\W_]+/g,"_")}function D(a){var b=a.focused();a.selectedItems.forEach(function(a){var c=a.getControlModel(),d=c.parentModel();!a.getControlModel().getMetaData().isDeleteDeny&&d&&a!==b&&d.removeChild(c)}),b.getControlModel().parentModel().removeChild(b.getControlModel()),a.focused(E(b))}function E(a){var b=a.parent,c=b;if(b){var d=b.getChildrenCollection()(),e=d.indexOf(a);-1===e&&d.length>0?c=d[d.length-1]:d.length>1&&e===d.length-1?c=d[e-1]:d.length>1&&0===e?c=d[d.length-1]:d.length>1?c=d[d.length-1]:-1===e&&c.parent&&-1===c.parent.getChildrenCollection()().indexOf(c)&&(c=E(c))}return c}var F=function(b){function c(a,c,e){var f=b.call(this)||this;f.target=a,f.collectionNames=e,f._handlers=[],f._setText=!1,f._visitedCollections=[],f._subscriptions=[],f.added=function(a){f._setText=!0,f._collectControls(a),f._setText=!1},f.deleted=function(a){var b=f.allControls(),c=b.indexOf(a);b.splice(c,1),d.collectionsVisitor(a,function(a){a().forEach(function(a){b.splice(b.indexOf(a),1)})}),f.allControls.valueHasMutated()},f.allControls=ko.observableArray();var g=a;return ko.isSubscribable(a)&&(f._disposables.push(a.subscribe(function(a){f._visitedCollections=[];for(var b=0,c=f._subscriptions.length;b<c;b++)f._subscriptions[b].dispose();f._subscriptions=[],f.allControls([]),a&&f._collectControls(a)})),g=a.peek()),f._disposables.push(f.allControls.subscribe(function(a){for(var b=a.filter(function(a){return"added"===a.status}),c=0;c<b.length;c++)f._setName(b[c].value)},null,"arrayChange")),g&&f._collectControls(g),f._handlers.push.apply(f._handlers,c),f}return __extends(c,b),c.prototype.getNameProperty=function(a){return a.name},c.prototype._setName=function(a){var b=this,c=this.allControls().map(function(a){return ko.unwrap(b.getNameProperty(a))});if(!this.getNameProperty(a)()||c.filter(function(c){return c===b.getNameProperty(a)()}).length>1){var d=a.controlType||"Unknown",e=a.getControlInfo&&a.getControlInfo().defaultVal&&a.getControlInfo().defaultVal["@Text"],f=n(this.allControls(),d.split(".").pop(),c);this.getNameProperty(a)(f),!this._setText||!a.text||a.text()||null!==e&&void 0!==e||a.text(this.getNameProperty(a)())}},c.prototype.dispose=function(){b.prototype.dispose.call(this),this._subscriptions.forEach(function(a){return a.dispose()}),this._subscriptions.splice(0),this._visitedCollections.splice(0),this._handlers.splice(0),this.target=null,this.allControls([])},c.prototype._collectControls=function(b){var c=this,e=[b];d.collectionsVisitor(b,function(b,d){if(-1===c._visitedCollections.indexOf(b)){c._visitedCollections.push(b);var f=c._subscriptions;d instanceof a.Analytics.Utils.Disposable&&(f=d._disposables);var g=b.subscribe(function(a){a.forEach(function(a){void 0==a.moved&&(c[a.status]&&c[a.status](a.value),c._handlers.forEach(function(b){b[a.status]&&b[a.status](a.value)}))})},null,"arrayChange");f.push({dispose:function(){g.dispose(),g=null,c._visitedCollections.splice(c._visitedCollections.indexOf(b),1)}})}e.push.apply(e,b())},this.collectionNames),this.allControls.push.apply(this.allControls,e)},c.prototype.getControls=function(a){var b=ko.observableArray();return d.collectionsVisitor(a,function(a){b.push.apply(b,a())}),b},c}(c.Disposable);d.DesignControlsHelper=F,d.patchPositionByRTL=g;var G=function(){function a(a,b){var c=this;this._rtlLayout=b,this._control=a,this.borderCss=function(b){var d=c._getBorderWidth(a,b),e=a.borderDefault&&a.borderDefault(),f=a.borderColor&&a.borderColor()||"",g=a.borders&&a.borders()||"",h=a.borderDashStyle&&a.borderDashStyle()||"";return e?c.createBorders(h,d,f,g,e):c.createBorders(h,d,f,g)},this.backGroundCss=function(){return{backgroundColor:a.backColor&&a.backColor()||"transparent"}},this.foreColorCss=function(){return{color:"transparent"===(a.foreColor&&a.foreColor()||"transparent")?"black":a.foreColor()}},this.fontCss=function(){return c.createFont(a.font&&a.font()||"")},this.wordWrapCss=function(){return c.createWordWrap(ko.unwrap(a.wordWrap),ko.unwrap(a.multiline))},this.paddingsCss=function(){var b=ko.unwrap(a.paddingObj||a.padding)||e.PaddingModel.from(e.PaddingModel.defaultVal);return{paddingLeft:c._getPixelValueFromUnit(b.left(),a)+"px",paddingTop:c._getPixelValueFromUnit(b.top(),a)+"px",paddingRight:c._getPixelValueFromUnit(b.right(),a)+"px",paddingBottom:c._getPixelValueFromUnit(b.bottom(),a)+"px"}},this.textAlignmentCss=function(){var b=a.textAlignment&&a.textAlignment()||"";return $.extend(c.createVerticalAlignment(b),c.createHorizontalAlignment(b))},this.stroke=function(){return{stroke:"transparent"===(a.foreColor&&a.foreColor()||"transparent")?"black":a.foreColor()}},this.strokeWidth=function(){return{strokeWidth:a.lineWidth&&a.lineWidth()||""}},this.strokeWidthWithWidth=function(){return{strokeWidth:a.width&&a.width()||""}},this.strokeDashArray=function(){return{strokeDasharray:c.createStrokeDashArray(a.lineStyle&&a.lineStyle()||"",a.lineWidth&&a.lineWidth()||"")}},this.strokeDashArrayWithWidth=function(){return{strokeDasharray:c.createStrokeDashArray(a.lineStyle&&a.lineStyle()||"",a.width&&a.width()||"")}},this.crossBandBorder=function(b){return c.createBorder(a.borderDashStyleCrossband&&a.borderDashStyleCrossband()||"solid",c._getBorderWidth(a),a.borderColor&&a.borderColor()||"",a.borders&&a.borders()||"",b)},this.angle=function(){return c.createAngle(a.angle&&a.angle()||0)},this.cellBorder=function(b,d){return c.createControlBorder(a.borderDashStyle&&a.borderDashStyle()||"solid",c._getBorderWidth(a,d),a.borderColor&&a.borderColor()||"",a.borders&&a.borders()||"",b)},this.zipCodeFontCss=function(b){return c.createZipCodeFont(b||a.size.height())},this.zipCodeAlignment=function(){var a="TopLeft";return $.extend(c.createVerticalAlignment(a),c.createHorizontalAlignment(a))}}return a.prototype._getPixelValueFromUnit=function(a,b){return b.root&&b.root.measureUnit?d.unitsToPixel(a,b.root.measureUnit()):a},a.prototype._patchPosition=function(a){return g(a,this._rtlLayout())},a.prototype._getBorderWidth=function(a,b){return a.borderWidth&&Math.floor(a.borderWidth()*(b||1))||""},a.prototype.createBorder=function(a,b,c,d,e){var f={};d=d||"All",f={stroke:"Silver",strokeWidth:2};var g=this.createStrokeDashArray(a,b);return-1===d.indexOf(e)&&-1===d.indexOf("All")||(f.stroke=c,f.strokeWidth=b,f.strokeDasharray=g),f},a.prototype.createControlBorder=function(a,b,c,d,e,f){void 0===f&&(f="solid 1px Silver");var g={};return d=d||"",a="Dash"===a?"dashed":"Dot"===a?"dotted":"Double"===a?"double":"solid",-1!==d.indexOf(e)||-1!==d.indexOf("All")?g["border"+this._patchPosition(e)]=a+" "+b+"px "+c:g["border"+this._patchPosition(e)]=f,g},a.prototype.createBorders=function(b,c,d,e,f){void 0===f&&(f=a.DEFAULT_BORDER);var g=this.createControlBorder(b,c,d,e,"Left",f),h=this.createControlBorder(b,c,d,e,"Right",f),i=this.createControlBorder(b,c,d,e,"Top",f),j=this.createControlBorder(b,c,d,e,"Bottom",f);return $.extend({},g,h,i,j)},a.prototype.createZipCodeFont=function(a){var b={};return b.fontFamily="Impact",b.fontSize=a+"px",b},a.prototype.createFont=function(a){var b={};a=a||"";var c=a.split(",");if(b.fontFamily=c[0]?'"'+c[0]+'"':"",b.fontSize=c[1],c.length>2)for(var d=2;d<c.length;d++)-1!==c[d].indexOf("Bold")&&(b.fontWeight="Bold"),-1!==c[d].indexOf("Italic")&&(b.fontStyle="Italic"),-1!=c[d].indexOf("Underline")&&(b.textDecoration="Underline"),-1!=c[d].indexOf("Strikeout")&&(b.textDecoration=(b.textDecoration?b.textDecoration+" ":"")+"Line-through");return b.fontWeight||(b.fontWeight=""),b.fontStyle||(b.fontStyle=""),b.textDecoration||(b.textDecoration=""),b},a.prototype.createVerticalAlignment=function(a){var b={};return-1!==a.indexOf("Top")&&(b.verticalAlign="top"),-1!==a.indexOf("Middle")&&(b.verticalAlign="middle"),-1!==a.indexOf("Bottom")&&(b.verticalAlign="bottom"),b},a.prototype.createHorizontalAlignment=function(a){var b={};return-1!==a.indexOf("Left")&&(b.textAlign=g("Left",this._control.rtl()).toLowerCase()),-1!==a.indexOf("Right")&&(b.textAlign=g("Right",this._control.rtl()).toLowerCase()),-1!==a.indexOf("Center")&&(b.textAlign="center"),-1!==a.indexOf("Justify")&&(b.textAlign="justify"),b},a.prototype.createStrokeDashArray=function(a,b){return"Solid"===a?"":"Dot"===a?[b,2*b].join("px, ")+"px":"Dash"===a?[4*b,4*b].join("px, ")+"px":"DashDot"===a?[4*b,2*b,b,2*b].join("px, ")+"px":"DashDotDot"===a?[4*b,2*b,b,2*b,b,2*b].join("px, ")+"px":""},a.prototype.createWordWrap=function(a,b){var c={};return!1===a&&!1===b?(c["white-space"]="nowrap",c["word-wrap"]="normal"):!0===a&&!1===b?(c["word-wrap"]="break-word",c["white-space"]=""):!1===a&&!0===b?(c["word-wrap"]="normal",c["white-space"]="pre"):!0===a&&!0===b&&(c["white-space"]="pre-wrap",c["word-wrap"]="break-word"),c},a.prototype.createAngle=function(a){return a=-a,{"-webkit-transform":"rotate("+a+"deg)","-moz-transform":"rotate("+a+"deg)","-o-transform":"rotate("+a+"deg)","-ms-transform":"rotate("+a+"deg)",transform:"rotate("+a+"deg)"}},a.prototype.contentSizeCss=function(a,b,c,d,e){var f=this,g={top:1,left:1,right:1,bottom:1,width:1,height:1};d=d||this._control.borders&&this._control.borders()||"";var h=this._getBorderWidth(this._control,c);return["Left","Top","Right","Bottom"].forEach(function(a){var b=0;""==h||-1===d.indexOf(a)&&-1===d.indexOf("All")||(b+=h),e&&(b+=f._getPixelValueFromUnit(ko.unwrap(e[a.toLowerCase()]),f._control)*(c||1)),b&&(g[f._patchPosition(a).toLowerCase()]=b)}),g.width=a-g.left-g.right,g.height=b-g.top-g.bottom,g},a.DEFAULT_BORDER="none",a}();d.CssCalculator=G,d.ExpressionType="DevExpress.DataAccess.Expression",d.IsDataAccessExpression=h,d.editorTypeMapper={Enum:f.editorTemplates.combobox,"System.String":f.editorTemplates.text,"System.Guid":f.coreEditorTemplates.guid,"System.SByte":f.coreEditorTemplates.sbyte,"System.Decimal":f.coreEditorTemplates.decimal,"System.Int64":f.coreEditorTemplates.int64,"System.Int32":f.coreEditorTemplates.int32,"System.Int16":f.coreEditorTemplates.int16,"System.Single":f.coreEditorTemplates.single,"System.Double":f.coreEditorTemplates.double,"System.Byte":f.coreEditorTemplates.byte,"System.UInt16":f.coreEditorTemplates.uint16,"System.UInt32":f.coreEditorTemplates.uint32,"System.UInt64":f.coreEditorTemplates.uint64,"System.Boolean":f.editorTemplates.boolSelect,"System.DateTime":f.editorTemplates.date,"DevExpress.DataAccess.Expression":f.coreEditorTemplates.expressionEditor},d.getEditorType=i,d.getTypeNameFromFullName=j,d.getShortTypeName=k,d.getControlFullName=l,d.getImageClassName=m,d.getUniqueNameForNamedObjectsArray=n,d.getUniqueName=o,d.initGlobalize=p;var H=function(){function a(){this._x=0,this._y=0,this.isOver=!1}return Object.defineProperty(a.prototype,"x",{get:function(){return this._x},set:function(a){this._x=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"y",{get:function(){return this._y},set:function(a){this._y=a},enumerable:!0,configurable:!0}),a}();d.HoverInfo=H,d.processTextEditorHotKeys=q;var I=function(a){function b(b){var c=a.call(this)||this;c._showInline=ko.observable(!1),c.text=ko.observable();var d;return c._disposables.push(b.focused.subscribe(function(){c._showInline()&&d&&(d(c.text()),c._showInline(!1));var a=b.focused()&&b.focused().getControlModel();d=a&&(a.textEditableProperty||a.text)})),c._disposables.push(c.visible=ko.pureComputed({read:function(){return c._showInline()},write:function(a){c._showInline(a)}})),c.show=function(a){if(!c._showInline()){if((b.selectedItems?1===b.selectedItems.length:!!b.focused())&&d&&!b.focused().locked){if(c.text(d()),c._showInline(!0),a){var e=$(a).find("textarea")[0];e&&e.select()}}else c._showInline(!1)}},c.keypressAction=function(a){q(a.event,{esc:function(){c._showInline(!1)},ctrlEnter:function(){d(c.text()),c._showInline(!1)}})},c}return __extends(b,a),b}(c.Disposable);d.InlineTextEdit=I;var J=function(){function a(a,b){var c=this;this.selectedItem=null,this.itemsFilter=function(b){var c=b.name.split(".")[0];return!a||(-1!==a.indexOf(c)||$.isNumeric(c))},this.hasItems=function(a){var c=a.name.split(".")[0];return a.isList||!!b&&-1!==b.indexOf(c)},this.getActions=function(a){return a.data&&a.data.innerActions||[]},this.select=function(a){c.selectedItem&&c.selectedItem.isSelected(!1),c.selectedItem=a,a.isSelected(!0)},this.showIconsForChildItems=function(){return!0}}return a.prototype.dispose=function(){this.selectedItem=null},a.prototype.canSelect=function(a){return!0},a}();d.ObjectStructureTreeListController=J;var K=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;return b.selectedPath=ko.observable(""),b.selectedMember=ko.observable(),b}return __extends(b,a),b.prototype.getClassName=function(a){if(a.className&&a.className())return a.className();var b=/function (.{1,})\(/,c=b.exec(a.constructor.toString());return c&&c.length>1?c[1]:""},b.prototype.createItem=function(a,b,d,e){var f=a.getInfo&&a.getInfo(),g=f&&f.filter(function(a){return a.propertyName===b})[0],h=ko.unwrap(d);g&&null!==h&&"object"==typeof h&&e.push({name:b,displayName:c.getLocalization(g.displayName,g.localizationId),specifics:b,innerActions:h.innerActions,isList:!!h.push})},b.prototype.getMemberByPath=function(a,b){var c=b.split("."),d=a;return c.splice(0,1),c.forEach(function(a){d&&d[a]&&(d=ko.unwrap(d[a]))}),d},b.prototype.getObjectPropertiesForPath=function(a,b,c){var d=this.getMemberByPath(a,b),e=[];if(d)if(d.push)this.createArrayItem(d,e,c);else for(var f in d)this.createItem(d,f,d[f],e);return e},b.prototype.createArrayItem=function(a,b,c){for(var d=0;d<a.length;d++){var e=ko.unwrap(a[d]);b.push({name:c?c+"."+d.toString():d.toString(),displayName:ko.unwrap(e.displayName||e.name),specifics:this.getClassName(e),innerActions:e.innerActions,isList:!!e.push})}},b}(c.Disposable);d.ObjectStructureProviderBase=K;var L=function(a){function b(b,d,e,f){var g=a.call(this)||this;return g.path=ko.observable(""),g.getPathByMember=f,g.listPropertyNames=d||[],g.getItems=function(a){var d=$.Deferred();if(a.fullPath){var e=b.filter(function(b){return b.name===a.fullPath.split(".")[0]})[0];d.resolve(g.getObjectPropertiesForPath(ko.unwrap(e.model),a.fullPath,e.name))}else d.resolve((b||[]).map(function(a){return{name:a.name,displayName:c.getLocalization(a.displayName)||a.name,isList:!0,specifics:a.className,dragData:{noDragable:!0},data:ko.unwrap(a.data)}}));return d.promise()},g._disposables.push(g.selectedPath=ko.computed({read:function(){return e()?g.path.peek()?g.getPathByMember(e()).substr(g.path.peek().length+1):g.getPathByMember(e()):null},write:function(a){if(a){var c=g.path()?g.path().split(".")[0]:a.split(".")[0],d=b.filter(function(a){return a.name===c})[0];d&&e(g.getMemberByPath(ko.unwrap(d.model),g.path()?[g.path(),a].join("."):a))}else e(null)}})),g}return __extends(b,a),b.prototype.createArrayItem=function(a,b,c){for(var d=0;d<a.length;d++){var e=ko.unwrap(a[d]),f=!1;this.listPropertyNames.forEach(function(a){!f&&e[a]&&ko.unwrap(e[a]).length>0&&(f=!0)});var g=this.getClassName(e);b.push({name:c?c+"."+d.toString():d.toString(),displayName:ko.unwrap(e.displayName||e.name),specifics:g,isList:f,data:e,dragData:{noDragable:!("bands"===c&&("groupheaderband"===g||"groupfooterband"===g||"detailreportband"===g)||"controls"===c||"rows"===c||"cells"===c||"subBands"===c||"Styles"===c||"Formatting Rules"===c)}})}},b.prototype.createItem=function(a,b,c,d){(!(this.listPropertyNames.length>0)||this.listPropertyNames.indexOf(b)>-1)&&c&&c.push&&this.createArrayItem(ko.unwrap(c),d,b)},b}(K);d.ObjectExplorerProvider=L;var M=function(a){function b(b,d,e){var f=a.call(this)||this;return f.getItems=function(a){var g=$.Deferred();return a.fullPath?g.resolve(f.getObjectPropertiesForPath(ko.unwrap(b),a.fullPath)):g.resolve([{name:d||ko.unwrap(b.name),displayName:c.getLocalization(d||ko.unwrap(b.name),e),isList:!0,specifics:b.className&&b.className(),dragData:{noDragable:!0}}]),g.promise()},f._disposables.push(f.selectedPath.subscribe(function(a){f.selectedMember(ko.unwrap(f.getMemberByPath(ko.unwrap(b),a)))})),f}return __extends(b,a),b}(K);d.ObjectStructureProvider=M,d.papperKindMapper={A2:{width:1654,height:2339},A3:{width:1169,height:1654},A3Extra:{width:1268,height:1752},A3ExtraTransverse:{width:1268,height:1752},A3Rotated:{width:1654,height:1169},A3Transverse:{width:1169,height:1654},A4:{width:827,height:1169},A4Extra:{width:929,height:1268},A4Plus:{width:827,height:1299},A4Rotated:{width:1169,height:827},A4Small:{width:827,height:1169},A4Transverse:{width:827,height:1169},A5:{width:583,height:827},A5Extra:{width:685,height:925},A5Rotated:{width:827,height:583},A5Transverse:{width:583,height:827},A6:{width:413,height:583},A6Rotated:{width:583,height:413},APlus:{width:894,height:1402},B4:{width:984,height:1390},B4Envelope:{width:984,height:1390},B4JisRotated:{width:1433,height:1012},B5:{width:693,height:984},B5Envelope:{width:693,height:984},B5Extra:{width:791,height:1087},B5JisRotated:{width:1012,height:717},B5Transverse:{width:717,height:1012},B6Envelope:{width:693,height:492},B6Jis:{width:504,height:717},B6JisRotated:{width:717,height:504},BPlus:{width:1201,height:1917},C3Envelope:{width:1276,height:1803},C4Envelope:{width:902,height:1276},C5Envelope:{width:638,height:902},C65Envelope:{width:449,height:902},C6Envelope:{width:449,height:638},CSheet:{width:1700,height:2200},DLEnvelope:{width:433,height:866},DSheet:{width:2200,height:3400},ESheet:{width:3400,height:4400},Executive:{width:725,height:1050},Folio:{width:850,height:1300},GermanLegalFanfold:{width:850,height:1300},GermanStandardFanfold:{width:850,height:1200},InviteEnvelope:{width:866,height:866},IsoB4:{width:984,height:1390},ItalyEnvelope:{width:433,height:906},JapaneseDoublePostcard:{width:787,height:583},JapaneseDoublePostcardRotated:{width:583,height:787},JapanesePostcard:{width:394,height:583},Ledger:{width:1700,height:1100},Legal:{width:850,height:1400},LegalExtra:{width:927,height:1500},Letter:{width:850,height:1100},LetterExtra:{width:927,height:1200},LetterExtraTransverse:{width:927,height:1200},LetterPlus:{width:850,height:1269},LetterRotated:{width:1100,height:850},LetterSmall:{width:850,height:1100},LetterTransverse:{width:827,height:1100},MonarchEnvelope:{width:388,height:750},Note:{width:850,height:1100},Number10Envelope:{width:412,height:950},Number11Envelope:{width:450,height:1038},Number12Envelope:{width:475,height:1100},Number14Envelope:{width:500,height:1150},Number9Envelope:{width:388,height:888},PersonalEnvelope:{width:362,height:650},Prc16K:{width:575,height:846},Prc16KRotated:{width:575,height:846},Prc32K:{width:382,height:594},Prc32KBig:{width:382,height:594},Prc32KBigRotated:{width:382,height:594},Prc32KRotated:{width:382,height:594},PrcEnvelopeNumber1:{width:402,height:650},PrcEnvelopeNumber10:{width:1276,height:1803},PrcEnvelopeNumber10Rotated:{width:1803,height:1276},PrcEnvelopeNumber1Rotated:{width:650,height:402},PrcEnvelopeNumber2:{width:402,height:693},PrcEnvelopeNumber2Rotated:{width:693,height:402},PrcEnvelopeNumber3:{width:492,height:693},PrcEnvelopeNumber3Rotated:{width:693,height:492},PrcEnvelopeNumber4:{width:433,height:819},PrcEnvelopeNumber4Rotated:{width:819,height:433},PrcEnvelopeNumber5:{width:433,height:866},PrcEnvelopeNumber5Rotated:{width:866,height:433},PrcEnvelopeNumber6:{width:472,height:906},PrcEnvelopeNumber6Rotated:{width:906,height:472},PrcEnvelopeNumber7:{width:630,height:906},PrcEnvelopeNumber7Rotated:{width:906,height:630},PrcEnvelopeNumber8:{width:472,height:1217},PrcEnvelopeNumber8Rotated:{width:1217,height:472},PrcEnvelopeNumber9:{width:902,height:1276},PrcEnvelopeNumber9Rotated:{width:1276,height:902},Quarto:{width:846,height:1083},Standard10x11:{width:1e3,height:1100},Standard10x14:{width:1e3,height:1400},Standard11x17:{width:1100,height:1700},Standard12x11:{width:1200,height:1100},Standard15x11:{width:1500,height:1100},Standard9x11:{width:900,height:1100},Statement:{width:550,height:850},Tabloid:{width:1100,height:1700},TabloidExtra:{width:1169,height:1800},USStandardFanfold:{width:1488,height:1100}},d._addErrorPrefix=!0,d._processError=r,d._errorProcessor={handlers:[],call:function(a){for(var b=0;b<d._errorProcessor.handlers.length;b++)d._errorProcessor.handlers[b](a)}},d.processErrorEvent=s,ko.bindingHandlers.resizable={init:function(a,c,f,g,h){var i=c(),j=$(a),k=j.closest(".dx-designer"),l=null,m=null,n={north:"n",east:"e",south:"s",west:"w"},o=[],p=null,q=$.extend({handles:i.handles||"all",ghost:!1,stop:function(a,b){m.each(function(a,b){var c=ko.contextFor(b),d=c.$data,e=c.$root.surface(),f=$(b),g=d.rect(),h=x(f,d,e);h={top:-1!==l.indexOf(n.north)?h.top:g.top,left:-1!==l.indexOf(n.west)?h.left:g.left,width:-1!==l.indexOf(n.east)||-1!==l.indexOf(n.west)?h.width:g.width,height:-1!==l.indexOf(n.south)||-1!==l.indexOf(n.north)?h.height:g.height},o.push(function(){if(d.canSetRect&&!d.canSetRect(h)){var a=f.data("originalPosition"),b=f.data("originalSize");return a&&(f.css("top",a.top+"px"),f.css("left",a.left+"px")),b&&(f.css("width",b.width+"px"),f.css("height",b.height+"px")),f.removeData("originalPosition"),void f.removeData("originalSize")}d.rect(h),JSON.stringify(g)===JSON.stringify(h)&&f.css({left:g.left,top:g.top,width:g.width,height:g.height}),f.removeData("originalPosition"),f.removeData("originalSize")})}),o.forEach(function(a){return a()}),o=[],l=null,i.stopped(),i.started=!1,i.snapHelper&&i.snapHelper.deactivateSnapLines()},start:function(a){for(var b=a.originalEvent.target.classList,c=0;c<b.length;c++)"ui-resizable-handle"!==b[c]&&0===b[c].indexOf("ui-resizable-")&&(l=b[c].slice("ui-resizable-".length,b[c].length));i.started=!0,i.starting(),m=i.$selectedNodes||$(".dxrd-viewport .dxrd-selected").filter(":visible"),m.each(function(a,b){var c=$(b),d=b.getBoundingClientRect();c.data("originalPosition",{top:parseFloat(c.css("top")),left:parseFloat(c.css("left"))}),c.data("originalSize",{width:d.width,height:d.height})});var d=j.offset(),e=k.find(".dxrd-ghost-container").offset();p=e?{top:d.top-e.top,left:d.left-e.left}:d,i.snapHelper&&i.snapHelper.updateSnapLines(g)},resize:function(a,b){var c=b.size.width-b.originalSize.width,d=b.size.height-b.originalSize.height,f=b.position.left-b.originalPosition.left,g=b.position.top-b.originalPosition.top;if(i.forceResize&&i.forceResize({size:new e.Size(b.size.width,b.size.height),delta:{dx:f,dy:g,dw:c,dh:d}}),a.altKey)i.snapHelper&&i.snapHelper.deactivateSnapLines();else if(i.snapHelper&&1===m.length){var h=v(i.snapHelper,p,b,{x:f,y:g,width:c,height:d});i.snapHelper.activateSnapLines(h),j.css({left:b.originalPosition.left+h.left-p.left,top:b.originalPosition.top+h.top-p.top,width:h.right-h.left,height:h.bottom-h.top})}m.each(function(b,e){if(e!==a.target){var h=$(e),i=h.data("originalPosition"),j=h.data("originalSize");h.css({left:i.left+f,top:i.top+g,width:j.width+c,height:j.height+d})}})}},ko.unwrap(i)),r=null;i.disabled||(r=d.DragDropHandler.started.subscribe(function(a){j.resizable("option","disabled",a),a?j.children(".ui-resizable-handle").css("display","none"):j.children(".ui-resizable-handle").css("display","block")})),j.resizable(q),j.resizable().on("resize",function(a){a.stopPropagation()}),b.Internal.addDisposeCallback(a,function(){j.data("ui-resizable")&&j.resizable("destroy"),j=null,r&&r.dispose()})},update:function(a,b,c,d,e){var f=$(a),g=!(!ko.unwrap(b().disabled)&&!ko.unwrap(d.locked));f.resizable("option","disabled",g),f.resizable("option","minHeight",ko.unwrap(b().minimumHeight)||1),f.resizable("option","minWidth",ko.unwrap(b().minimumWidth)||1),ko.unwrap(b().handles)&&f.resizable("option","handles")!==ko.unwrap(b().handles)&&f.resizable("option","handles",ko.unwrap(b().handles));var h=ko.unwrap(b().maximumWidth);h&&f.resizable("option","maxWidth",h),g?f.children(".ui-resizable-handle").css("display","none"):f.children(".ui-resizable-handle").css("display","block")}};var N=function(a){function b(c,d){return void 0===d&&(d="name"),a.call(this,b._createOptions(c,d))||this}return __extends(b,a),b._sortItems=function(a,b){return a.sort(function(a,c){var d=ko.unwrap(a[b]),e=ko.unwrap(c[b]);if(d&&e){var f=d-e;return isNaN(f)?(d=d.toLowerCase?d.toLowerCase():d,e=e.toLowerCase?e.toLowerCase():e,d<e?-1:d>e?1:0):f}})},b._createOptions=function(a,b){return a=this._sortItems(a,b),{load:function(b){var c=[].concat(a);return b.take&&(c=c.splice(b.skip,b.take)),b.filter&&(c=c.filter(b.filter)),$.Deferred().resolve(c).promise()},byKey:function(b){if(a.some(function(a){return a===b}))return b}}},b}(a.data.CustomStore);d.CustomSortedArrayStore=N;var O=function(a){function b(b,c){void 0===c&&(c="name");return b instanceof Array&&N._sortItems(b,c),a.call(this,b)||this}return __extends(b,a),b}(a.data.ArrayStore);d.SortedArrayStore=O;var P=function(b){function c(c){var d=b.call(this)||this;d._filter=ko.observable(null);var e=null;return d._disposables.push(d.dataSource=ko.computed(function(){return e&&e.dispose(),e=new a.data.DataSource({store:new N(c()),paginate:!0,filter:d._filter(),pageSize:100})})),d._disposables.push(d.visible=ko.computed(function(){return c().length>0})),d}return __extends(c,b),c.prototype.setFilter=function(a){this._filter(a)},c.prototype.resetFilter=function(){this._filter(null)},c}(c.Disposable);d.ControlsStore=P,d.findSurface=u,d.getControlNewAbsolutePositionOnResize=v,d.getControlRect=x,d.minHeightWithoutScroll=y,d.chooseBetterPositionOf=z,d.updateSurfaceContentSize=A,d.validateName=B,d.replaceInvalidSymbols=C,d.nameValidationRules=[{type:"custom",validationCallback:function(a){return B(a.value)},get message(){return a.Analytics.Utils.getLocalization("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}}];var Q=function(){function a(){}return a.getInfo=function(a){var b=a.map(function(a){return a.getInfo()});return function(){for(var a=[],c=0;c<b[0].length;c++)b.filter(function(a){return a.filter(function(a){return a.propertyName===b[0][c].propertyName}).length>0}).length===b.length&&a.push(b[0][c]);return a}},a.isPropertyDisabled=function(a){return function(b){for(var c=0;c<a.length;c++)if(a[c].isPropertyDisabled(b))return!0;return!1}},a.isPropertyVisible=function(a){return function(b){for(var c=0;c<a.length;c++)if(!a[c].isPropertyVisible(b))return!1;return!0}},a.mergeProperty=function(a,b,c,d){var e=a[0][b],f=null;if(a.filter(function(a){return!!a[b]}).length===a.length&&!(f=d&&d(b,a,c)))if(ko.isObservable(e)&&!e.push){if(!a.every(function(a){return ko.isObservable(a[b])}))return f;var g=ko.observable(a.every(function(c){return a[0][b].peek()===c[b].peek()})?a[0][b].peek():null);f={result:g,subscriptions:[g.subscribe(function(d){c&&c().start(),a.forEach(function(a){a[b](d)}),c&&c().end()})]}}else"object"!=typeof e||$.isArray(e)||(f=this._merge(a.map(function(a){return a[b]}),c,d));return f},a._createProperty=function(a,b,c){if(c){if("object"==typeof c&&$.isEmptyObject(c))return;a[b]=c}},a._merge=function(a,b,c,d){var e=this,f={},g=[];if(["getInfo","isPropertyVisible","isPropertyDisabled"].forEach(function(b){a[0][b]&&e._createProperty(f,b,e[b](a))}),d){var h=f.isPropertyDisabled;f.isPropertyDisabled=function(a){return h&&h()||-1!==d.indexOf(a)}}return f&&f.getInfo?f.getInfo().map(function(a){return a.propertyName}).forEach(function(d){var h=e.mergeProperty(a,d,b,c);h&&(g=[].concat.apply(g,h.subscriptions),e._createProperty(f,d,h.result))}):Object.keys(a[0]).forEach(function(d){var h=e.mergeProperty(a,d,b,c);h&&(g=[].concat.apply(g,h.subscriptions),e._createProperty(f,d,h.result))}),{result:f,subscriptions:g}},a.mergeControls=function(a,b,c,d){var e=this._merge(a,b,c,d);return{result:$.extend(e.result,{controlType:"multiselect",displayName:ko.observable("")}),subscriptions:e.subscriptions}},a.getEditableObject=function(a,b,c){var d=this,e=ko.observable(null),f=[],g=a.focused.subscribe(function(a){e(a&&a.getControlModel())});return a._disposables&&(a._disposables.push(g),a._disposables.push({dispose:function(){f.forEach(function(a){return a.dispose()}),f.splice(0)}})),ko.pureComputed({read:function(){if(f.forEach(function(a){return a.dispose()}),f=[],a.selectedItems.length>1){var g=d.mergeControls(a.selectedItems.map(function(a){return a.getControlModel()}),b,c,a.ignoreMultiSelectProperties);return f=g.subscriptions,g.result}return e()},write:function(b){b&&b.surface?a.focused(b.surface):(a.updateSelection(null),e(b))}}).extend({deferred:!0})},a}();d.CombinedObject=Q;var R=function(a){function b(b){void 0===b&&(b=["name"]);var c=a.call(this)||this;return c.ignoreMultiSelectProperties=b,c._focused=ko.observable(null),c._selectedControls=ko.observableArray(),c._selectedControlsInner=[],c.focused=ko.pureComputed({read:function(){return c._focused()},write:function(a){a!==c._focused()&&(a&&(c._firstSelected=a),c.updateSelection(c._firstSelected))}}),c.dropTarget=null,c.expectClick=!1,c.disabled=ko.observable(!1),c._disposables.push(c.focused),c}return __extends(b,a),b.prototype.dispose=function(){this.reset(),a.prototype.dispose.call(this)},b.prototype._removeFromSelection=function(a){a.focused(!1),a.selected(!1),-1!==this._selectedControlsInner.indexOf(a)&&this._selectedControlsInner.splice(this._selectedControlsInner.indexOf(a),1)},b.prototype._setFocused=function(a){this._focused()&&this._removeFromSelection(this._focused()),this._focused(a),a&&(a.focused(!0),-1===this._selectedControlsInner.indexOf(a)&&this._selectedControlsInner.push(a),a.selected(!0))},b.prototype._resetTabPanelFocus=function(){document.activeElement&&0===$(document.activeElement).closest(".dxrd-surface").length&&d.blur(document.activeElement)},Object.defineProperty(b.prototype,"selectedItems",{get:function(){return this._selectedControls()},enumerable:!0,configurable:!0}),b.prototype.clear=function(){this.focused(null),this._selectedControls([])},b.prototype.reset=function(){this._focused(null),this._selectedControlsInner.splice(0),this._firstSelected=null,this._selectedControls([])},b.prototype.applySelection=function(){this._selectedControls(this._selectedControlsInner)},b.prototype.selectItems=function(a){this._selectedControlsInner=a,this._selectedControlsInner.forEach(function(a){a.focused()||a.selected(!0)}),this.applySelection()},b.prototype.updateSelection=function(a){this._selectedControlsInner.forEach(function(a){a.focused(!1),a.selected(!1)}),this._selectedControlsInner=[],this._setFocused(a),this.applySelection()},b.prototype.swapFocusedItem=function(a){this._focused()!==a&&(this._focused().focused(!1),this._focused(a),this._focused().focused(!0))},b.prototype.initialize=function(a){a=a||this.dropTarget,this._firstSelected=a&&a.focused?a:null,this.updateSelection(this._firstSelected)},b.prototype.clickHandler=function(a,b){if(void 0===b&&(b={ctrlKey:!1}),this.expectClick)return void(this.expectClick=!1);a=a||this.dropTarget,b.ctrlKey?(this.selectionWithCtrl(a),this.applySelection()):this._selectedControlsInner.length>1&&-1!==this._selectedControlsInner.indexOf(a)?this.swapFocusedItem(a):this._focused()!==a&&this.initialize(a),this._resetTabPanelFocus()},b.prototype.selecting=function(a){this._focused()?(a.cancel=!a.control.checkParent(this._firstSelected),a.cancel||(this._firstSelected&&this._firstSelected.focused()?this._setFocused(a.control):-1===this._selectedControlsInner.indexOf(a.control)&&(a.control.selected(!0),this._selectedControlsInner.push(a.control)))):this._setFocused(a.control)},b.prototype.unselecting=function(a){this._focused()===a?(this._setFocused(null),0===this._selectedControlsInner.length?this._setFocused(this._firstSelected):this._setFocused(this._selectedControlsInner[0])):this._removeFromSelection(a)},b.prototype.selectionWithCtrl=function(a){if(a&&a.allowMultiselect){var b=this._selectedControlsInner;0===b.length||1===b.length&&!b[0].allowMultiselect?this.initialize(a):-1===this._selectedControlsInner.indexOf(a)?(a.selected(!0),this._selectedControlsInner.push(a)):this._selectedControlsInner.length>1&&this.unselecting(a)}},b}(c.Disposable);d.SurfaceSelection=R,d.deleteSelection=D,d.findNextSelection=E;var S=function(){function a(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}return a.prototype._appendSnapLine=function(a,b,c,e){var f={position:a,limitInf:b,limSup:c},g=d.binaryIndexOf(e,f,function(a,b){return a.position-b.position});g>-1?(e[g].limitInf=Math.min(e[g].limitInf,b),e[g].limSup=Math.max(e[g].limSup,c)):e.splice(~g,0,f)},a.prototype._collectSnaplines=function(a,b){var c=this;this._enumerateCollection(a,b,function(a,b){a!==c._snapTargetToIgnore&&(c._appendSnapLine(b.left,b.top,b.bottom,c._verticalSnapLines),c._appendSnapLine(b.right,b.top,b.bottom,c._verticalSnapLines),c._appendSnapLine(b.top,b.left,b.right,c._horizontalSnapLines),c._appendSnapLine(b.bottom,b.left,b.right,c._horizontalSnapLines),c._collectSnaplines(a,b))})},a.prototype._getCollection=function(a){return a.controls&&a.controls()},a.prototype._enumerateCollection=function(a,b,c){var d=this._getCollection(a);if(d)for(var e=0;e<d.length;e++){var f=d[e].rect&&d[e].rect();f&&c(d[e],{top:f.top+b.top,bottom:f.bottom+b.top,left:f.left+b.left,right:f.right+b.left})}},a.prototype.collectSnaplines=function(a,b){return this._snapTargetToIgnore=b,this._verticalSnapLines.splice(0),this._horizontalSnapLines.splice(0),this._collectSnaplines(a,{top:0,left:0}),{vertical:this._verticalSnapLines,horizontal:this._horizontalSnapLines}},a}();d.SnapLinesCollector=S;var T=function(){function a(b,c,d){void 0===b&&(b=null),void 0===c&&(c=a.snapTolerance),void 0===d&&(d=new S),this.snapLineSurfaces=[new U,new U,new U,new U],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=b,this._snapTolerance=c,this._snapLinesCollector=d}return a.prototype._findClosestSnapLine=function(a,b){var c,e={position:a,limitInf:0,limSup:0},f=d.binaryIndexOf(b,e,function(a,b){return a.position-b.position});if(f>-1)c={snapLine:b[f],distance:a-b[f].position};else{f=~f;var g=b[f]?a-b[f].position:Number.MAX_VALUE,h=b[f-1]?a-b[f-1].position:Number.MAX_VALUE;c=Math.abs(g)>Math.abs(h)?{snapLine:b[f-1],distance:h}:{snapLine:b[f],distance:g}}return c},a.prototype._getActiveSnapLines=function(a,b,c){var d=this._findClosestSnapLine(a,c),e=this._findClosestSnapLine(b,c),f={lines:[],distance:0};if(Math.abs(d.distance-e.distance)>=1){var g=Math.abs(d.distance)<Math.abs(e.distance)?d:e;Math.abs(g.distance)<=this._snapTolerance&&(f.lines=[g],f.distance=g.distance)}else Math.abs(d.distance)<=this._snapTolerance&&(f.lines=[d,e],f.distance=d.distance);return f},a.prototype.updateSnapLines=function(a){void 0===a&&(a=null),this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);var b=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),a);this.verticalSnapLines.push.apply(this.verticalSnapLines,b.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,b.horizontal)},a.prototype.deactivateSnapLines=function(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()},a.prototype.activateSnapLines=function(a){for(var b=this._getActiveSnapLines(a.left,a.right,this.verticalSnapLines),c=this._getActiveSnapLines(a.top,a.bottom,this.horizontalSnapLines),d=0;d<2;d++){var e=b.lines[d];if(e){var f=Math.min(e.snapLine.limitInf,a.top),g=Math.max(e.snapLine.limSup,a.bottom);a.top<e.snapLine.limitInf&&(f-=c.distance),a.bottom>e.snapLine.limSup&&(g-=c.distance),this.snapLineSurfaces[d].updatePosition({top:f,left:e.snapLine.position,height:g-f,width:1})}else this.snapLineSurfaces[d].reset()}for(var d=0;d<2;d++){var e=c.lines[d];if(e){var h=Math.min(e.snapLine.limitInf,a.left),i=Math.max(e.snapLine.limSup,a.right);a.left<e.snapLine.limitInf&&(h-=b.distance),a.right>e.snapLine.limSup&&(i-=b.distance),this.snapLineSurfaces[d+2].updatePosition({top:e.snapLine.position,left:h,width:i-h,height:1})}else this.snapLineSurfaces[d+2].reset()}return{left:b.distance,top:c.distance}},a.prototype.snapPosition=function(a,b){var c=this._findClosestSnapLine(a,b?this.horizontalSnapLines:this.verticalSnapLines);return c&&Math.abs(c.distance)<=this._snapTolerance?c.snapLine.position:a},a.snapTolerance=10,a}();d.SnapLinesHelper=T;var U=function(){function a(){this._position=ko.observable(a._blankPosition)}return a.prototype.transform=function(){var a=this._position();return"matrix("+a.width+", 0, 0, "+a.height+", "+a.left+", "+a.top+")"},a.prototype.updatePosition=function(a){this._position(a)},a.prototype.reset=function(){this.updatePosition(a._blankPosition)},a._blankPosition={top:0,left:0,width:0,height:0},a}();d.SnapLineSurface=U}(d=b.Internal||(b.Internal={}));var g;!function(a){a.ActionId={Cut:"dxd-cut",Copy:"dxd-copy",Paste:"dxd-paste",Delete:"dxd-delete",Undo:"dxd-undo",Redo:"dxd-redo",ZoomOut:"dxd-zoom-out",ZoomSelector:"dxd-zoom-selector",ZoomIn:"dxd-zoom-in"}}(g=b.Tools||(b.Tools={})),function(a){var b=function(a){function b(b){var c=a.call(this)||this;return c.toolbarItems=[],c.enabled=b||ko.observable(!0),c}return __extends(b,a),b.prototype.processShortcut=function(a,b){for(var c=0;c<a.length;c++)a[c].hotKey&&(a[c].disabled&&!a[c].disabled()||!a[c].disabled)&&($.isFunction(a[c].visible)?a[c].visible():a[c].visible)&&a[c].hotKey.ctrlKey===b.ctrlKey&&a[c].hotKey.keyCode===b.keyCode&&(a[c].clickAction(),b.preventDefault())},b.prototype.shouldIgnoreProcessing=function(a){if(a.altKey||!this.enabled.peek())return!0;var b=$(document.activeElement);return!!(b.is("textarea")||b.is(":input")&&-1!=["password","text","number"].indexOf(b.attr("type")))},b}(c.Disposable);a.ActionListsBase=b;var d=function(b){function d(d,e,h,i,j,k,l,m){void 0===l&&(l=ko.observable(.01)),void 0===m&&(m=function(a){return!1});var n=b.call(this,j)||this;n.menuItems=[];var o=new f(e,k),p=[];if(e){var q=ko.computed(function(){return e.selectedItems.some(function(a){return a.locked||m(a)})});n._disposables.push(q),n._keyboardHelper=new a.KeyboardHelper(e,h),p.push({id:g.ActionId.Cut,text:"Cut",displayText:function(){return c.getLocalization("Cut","AnalyticsCoreStringId.EditCut")},imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:ko.pureComputed(function(){return!d()||!o.canCopy()||q()}),visible:!0,clickAction:function(){h().start(),o.cut(),h().end()},hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),p.push({id:g.ActionId.Copy,text:"Copy",displayText:function(){return c.getLocalization("Copy","AnalyticsCoreStringId.Cmd_Copy")},imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:ko.pureComputed(function(){return!d()||!o.canCopy()||q()}),visible:!0,clickAction:function(){o.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),p.push({id:g.ActionId.Paste,text:"Paste",displayText:function(){return c.getLocalization("Paste","AnalyticsCoreStringId.Cmd_Paste")},imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:ko.pureComputed(function(){return!d()||!o.canPaste()||q()}),visible:!0,clickAction:function(){h().start(),o.paste(),h().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),p.push({id:g.ActionId.Delete,text:"Delete",displayText:function(){return c.getLocalization("Delete","AnalyticsCoreStringId.Cmd_Delete")},imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:ko.pureComputed(function(){return!e.focused()||(e.focused().getControlModel().getMetaData().isDeleteDeny||q())}),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},clickAction:function(){h().start(),a.deleteSelection(e),h().end()}})}return p.push({id:g.ActionId.Undo,text:"Undo",displayText:function(){return c.getLocalization("Undo","AnalyticsCoreStringId.Undo")},imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:ko.pureComputed(function(){return!d()||!h()||h()&&!h().undoEnabled()}),visible:!0,clickAction:function(){h().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),p.push({id:g.ActionId.Redo,text:"Redo",displayText:function(){return c.getLocalization("Redo","AnalyticsCoreStringId.Redo")},imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:ko.pureComputed(function(){return!d()||!h()||h()&&!h().redoEnabled()}),visible:!0,clickAction:function(){h().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),p.push({id:g.ActionId.ZoomOut,text:"Zoom Out",displayText:function(){return c.getLocalization("Zoom Out","AnalyticsCoreStringId.ZoomOut")},imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:ko.pureComputed(function(){return!d()}),visible:!0,hotKey:{ctrlKey:!0,keyCode:109},zoomStep:l,clickAction:function(){d().zoom(Math.max(d().zoom()-l(),.01))},hasSeparator:!0}),p.push({id:g.ActionId.ZoomSelector,text:"Zoom 100%",displayText:function(){return c.getLocalization("Zoom 100%")},imageClassName:"dxrd-image-zoom",disabled:ko.pureComputed(function(){return!d()}),visible:!0,hotKey:{ctrlKey:!0,keyCode:187},clickAction:function(){d().zoom(1)},templateName:"dxrd-zoom-select-template",zoomLevels:ko.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:ko.pureComputed({read:function(){return d()&&d().zoom()},write:function(a){d().zoom(a)}}),onCustomItemCreating:function(b){b.customItem=a.parseZoom(b.text)}}),p.push({id:g.ActionId.ZoomIn,text:"Zoom In",displayText:function(){return c.getLocalization("Zoom In","AnalyticsCoreStringId.ZoomIn")},imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:ko.pureComputed(function(){return!d()}),visible:!0,hotKey:{ctrlKey:!0,keyCode:107},zoomStep:l,clickAction:function(){d().zoom(d().zoom()+l())}}),i&&i(p),p.forEach(function(a){Object.keys(a).forEach(function(b){ko.isComputed(a[b])&&n._disposables.push(a[b])}),n._registerAction("menu"===a.container?n.menuItems:ko.unwrap(n.toolbarItems),a)}),n}return __extends(d,b),d.prototype._registerAction=function(a,b){b.index?a.splice(b.index,0,b):a.push(b)},d.prototype.processShortcut=function(a,c){this.shouldIgnoreProcessing(c)||(this._keyboardHelper.processShortcut(c)?c.preventDefault():b.prototype.processShortcut.call(this,a,c))},d}(b);a.ActionLists=d,a.copyPasteStrategy={createChild:function(a,b){return a.createChild(b)},calculateDelta:function(a,b,c){return{x:a.rect().left-c.x(),y:a.rect().top-c.y()}},canPaste:function(a,b){return!0}};var f=function(){function b(b,c){void 0===c&&(c=a.copyPasteStrategy);var d=this;this._copyPasteStrategy=c,this._copyInfo=ko.observable(null),this.hasPasteInfo=ko.pureComputed(function(){return null!==d._copyInfo()}),this._selectionProvider=b}return b.prototype.canCopy=function(){return null!==this._selectionProvider.focused()&&!this._selectionProvider.focused().getControlModel().getMetaData().isCopyDeny},b.prototype.canPaste=function(){var a=this._selectionProvider.focused();return null!==a&&this.hasPasteInfo()&&a.canDrop()&&(!this._copyPasteStrategy.canPaste||this._copyPasteStrategy.canPaste(a.getControlModel(),this._copyInfo()))&&!a.getControlModel().getMetaData().isPasteDeny},b.prototype.copy=function(){if(this.canCopy()){var a=new c.ModelSerializer,b={focused:this._selectionProvider.focused(),objects:$.map(this._selectionProvider.selectedItems,function(b){return a.serialize(b.getControlModel())})};this._copyInfo(b)}},b.prototype.cut=function(){var a=new c.ModelSerializer,b={focused:this._selectionProvider.focused(),objects:$.map(this._selectionProvider.selectedItems,function(b){return b.getControlModel().parentModel().removeChild(b.getControlModel()),a.serialize(b.getControlModel())})};this._copyInfo(b)},b.prototype.paste=function(){var b=this;if(this.canPaste()){var c=this._selectionProvider.focused(),d=c.getControlModel(),f=[];c===this._copyInfo().focused&&(c=c.parent,d=c.getControlModel()),d.getMetaData().isContainer||(c=c.parent,d=c.getControlModel());for(var g=new e.Point(Number.MAX_VALUE,Number.MAX_VALUE),h=new e.Point(-1,-1),i=0;i<this._copyInfo().objects.length;i++){var j=this._copyPasteStrategy.createChild(d,this._copyInfo().objects[i]),k=a.findSurface(j);if(k){var l=new e.Point(k.rect().left,k.rect().top),m=new e.Point(k.rect().left+k.rect().width,k.rect().top+k.rect().height);g.x()>=l.x()&&g.x(l.x()),h.x()<=m.x()&&h.x(m.x()),g.y()>=l.y()&&g.y(l.y()),h.y()<=m.y()&&h.y(m.y()),f.push(k)}}for(var n=new e.Point((c.rect().width-c._context.margins.right())/2-(h.x()-g.x())/2+(c.rtlLayout()?c._context.margins.right():0),c.rect().height/2-(h.y()-g.y())/2),i=0;i<f.length;i++){var o=this._copyPasteStrategy.calculateDelta(f[i],c,g);f[i].rect({left:n.x()+o.x,top:n.y()+o.y})}this._selectionProvider.initialize(),f.forEach(function(a){b._selectionProvider.selecting({control:a,cancel:!1})})}},b}();a.CopyPasteHandler=f}(d=b.Internal||(b.Internal={})),function(b){var c=function(b){function c(e){var f=b.call(this)||this;f.tabs=[],f.collapsed=ko.observable(!1),f.position=ko.observable(c.Position.Right),f.toggleCollapsedText=ko.pureComputed(function(){var b=f.collapsed()?"Open":"Collapse";return a.Analytics.Utils.getLocalization(b,"ASPxReportsStringId.SidePanel_"+b)}),f.cssClasses=function(a){return d.extend({"dxrd-tab-panel-left":f.position()===c.Position.Left,"dxrd-tab-panel-right":f.position()===c.Position.Right,"dxrd-tab-panel-empty":f.isEmpty()},a)};var g=e.tabs,h=e.autoSelectTab;e.rtl&&f.position(c.Position.Left);var i=f;f.tabs=g,g&&g.length?f._disposables.push(f.isEmpty=ko.computed(function(){return f.tabs.every(function(a){return!a.visible()})})):f.isEmpty=ko.observable(!0),f._disposables.push(ko.computed(function(){var a=g.filter(function(a){return a.visible()});0!==a.length?0===a.filter(function(a){return a.active.peek()}).length&&(a[0].active(!0),h&&f.collapsed(!0)):f.collapsed(!0)})),f._disposables.push(ko.computed(function(){var a=g.filter(function(a){return a.disabled()});if(0!==a.length&&0!==a.filter(function(a){return a.active.peek()}).length){a.forEach(function(a){return a.active(!1)});var b=g.filter(function(a){return!a.disabled.peek()&&a.visible.peek()})[0];b&&f.selectTab({model:b})}})),h&&f.tabs.forEach(function(a){f._disposables.push(a.active.subscribe(function(b){b&&f.selectTab({model:a})}))}),f.selectTab=function(a){var b=a.model;b.disabled()||(f.tabs.forEach(function(a){a.active(a===b)}),f.collapsed(!1))};var j=ko.observable(340);return f._disposables.push(f.width=ko.pureComputed({read:function(){return f.collapsed()?0:j()},write:function(a){j(a)}})),f._disposables.push(f.headerWidth=ko.pureComputed(function(){return f.isEmpty()?0:50+(f.collapsed()?0:f.width())})),f.getResizableOptions=function(a,b,e){return f._resizableOptions&&f._resizableOptions.$element===a||(f._resizableOptions=d.getResizableOptions(a,b,e,i.position(),c.Position.Left,i.width,i.collapsed),i._disposables.push(i.position.subscribe(function(b){$(a).resizable("option","handles",b===c.Position.Left?"e":"w")}))),f._resizableOptions},f._disposables.push(f.toggleCollapsedImage=ko.pureComputed(function(){var a=f.collapsed()?"-expand":"-collapse";return{class:"dxrd-image-propertygrid"+a,template:"dxrd-svg-tabs"+a}})),f._disposables.push(f.toggleCollapsedText),f}return __extends(c,b),c.prototype.dispose=function(){b.prototype.dispose.call(this),this.disposeArray(this.tabs)},c.Position={Left:"Left",Right:"Right"},c}(b.Disposable);b.TabPanel=c;var e=function(a){function c(b){var c=a.call(this)||this;c.active=ko.observable(!1),c.visible=ko.observable(),c.disabled=ko.observable();var d=b.imageClassName||b.text.toLowerCase();c._text=b.text,c._localizationId=b.localizationId,c._disposables.push(c.imageClassName=ko.pureComputed(function(){return"dxrd-image-"+d})),c.imageTemplateName=b.imageTemplateName||f.Internal.SvgTemplatesEngine.getExistingTemplate("dxrd-svg-tabs-"+b.text.toLowerCase()),c.template=b.template,c._disposables.push(b.model);var e=b.visible,g=b.disabled;return c._disposables.push(c.visible=ko.pureComputed(function(){return void 0===e||e()})),c._disposables.push(c.disabled=ko.pureComputed(function(){return void 0!==g&&g()})),c._disposables.push(c.visible.subscribe(function(a){a||c.active(!1)})),e&&c._disposables.push(e),g&&c._disposables.push(g),c.model=b.model,c}return __extends(c,a),Object.defineProperty(c.prototype,"text",{get:function(){return b.getLocalization(this._text,this._localizationId)},enumerable:!0,configurable:!0}),c}(b.Disposable);b.TabInfo=e;var g=function(){function a(a){this.disabled=ko.observable(!1),this.info=a}return Object.defineProperty(a.prototype,"type",{get:function(){return d.getTypeNameFromFullName(this.info["@ControlType"])},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"imageClassName",{get:function(){return[d.getImageClassName(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"imageTemplateName",{get:function(){var a=d.getImageClassName(this.type,!0);return f.Internal.SvgTemplatesEngine.getExistingTemplate(a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"index",{get:function(){return this.info.index},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"displayName",{get:function(){return this.info.displayName||this.type},enumerable:!0,configurable:!0}),a}();b.ToolboxItem=g}(c=b.Utils||(b.Utils={})),function(d){function e(a,b,c){var d=b();return a.peek().forEach(function(a){var b=c(a);d.splice(0,0,b)}),b.valueHasMutated(),a.subscribe(function(a){var d=b(),e=d.length;a.forEach(function(a){"deleted"===a.status&&d.splice(d.indexOf(a.value.surface),1)}),a.forEach(function(a){"added"===a.status&&d.splice(e-a.index,0,c(a.value))}),b.valueHasMutated()},null,"arrayChange")}function f(a,b,c){var d=b();return a.peek().forEach(function(a){var b=c(a);d.push(b)}),b.valueHasMutated(),a.subscribe(function(a){var d=b().length,e=0,f=[];a.forEach(function(a){"deleted"===a.status&&(e++,a.index<d&&(d=a.index))}),a.forEach(function(a){"added"===a.status&&(a.index<d&&(d=a.index),f.push(c(a.value)))}),b.splice.apply(b,[d,e].concat(f))},null,"arrayChange")}function g(a,b,c){var e=Object.keys(a||{}).map(function(b){return c(a[b])});return d.knockoutArrayWrapper(e,function(a,c){if("beforeChange"!==c)if("arrayChange"===c)for(var d=0;d<a.length;d++)b!==a[d].value.parentModel()&&a[d].value.parentModel(b);else for(var d=0;d<a.length;d++)b!==a[d].parentModel()&&a[d].parentModel(b)})}function h(a,b,c,d){for(var d=d||0,e=d;e<a.length;e++){if((ko.isObservable(a[e][b])?a[e][b].peek():a[e][b])===c)return a[e]}return null}function i(a,b){for(var c=0;c<a.length;c++)if(b(a[c]))return a[c];return null}function j(a,b,c){for(var d=0,e=a.length-1;d<=e;){var f=e+d>>1,g=c(b,a[f]);if(g>0)d=f+1;else{if(!(g<0))return f;e=f-1}}return~d}function k(a,b){if(void 0===b&&(b=!1),b&&m(a),d.DEBUG)throw new Error(a);K.warn(a)}function l(a){return a&&a.responseJSON&&a.responseJSON.error?a.responseJSON.error:""}function m(b,c,e,f){void 0===c&&(c="error");var g=$(".dx-designer-viewport")[0];a.ui.notify({message:b,type:c,maxWidth:g?g.clientWidth:void 0,position:{boundary:g,collision:"fit",of:d.chooseBetterPositionOf(document.documentElement,g),my:"bottom",at:"bottom",offset:"0 -10"},container:g,closeOnOutsideClick:!0,closeOnSwipe:!1,displayTime:e||("error"===c?6e4:3e3)})}function n(a,b,c){void 0===c&&(c=1);var d;return d="Test"===b||"Pixels"===b?1*a:"TenthsOfAMillimeter"===b?3.78*a/10:96*a/100,d*=c,Math.floor(100*d)/100}function o(a,b,c){var d;return d="Test"===b||"Pixels"===b?1*a:"TenthsOfAMillimeter"===b?a/3.78*10:a/96*100,d/=c,Math.round(100*d)/100}function p(a,b,c,d,e,f,g){var h=0;b[c]=ko.pureComputed({read:function(){var b=d(a)(),c=n(b,e.peek(),f());return Math.abs(c-h)>.2?h=c:h},write:function(b){if(!(Math.abs(b-h)<=.2)){h=b;var c=o(b,e.peek(),f());d(a)(c)}}}),g(b[c])}function q(a,b,c,d,e,f){c&&Object.keys(c).forEach(function(g){p(a,b,g,c[g],d,e,f)})}function r(a,b){Object.keys(a||{}).forEach(function(c){ko.isObservable(a[c])?b[c](a[c]()):$.isFunction(a[c])||r(a[c],b[c])})}function s(a,b){var c=a&&b&&!(a instanceof Array)&&!(b instanceof Array);return c=c&&Object.getOwnPropertyNames(a).length===Object.getOwnPropertyNames(b).length,c&&Object.keys(a||{}).some(function(d){if(0!==d.indexOf("_")&&("function"!=typeof a[d]||ko.isObservable(a[d]))){if(ko.isObservable(a[d]))c=ko.unwrap(a[d])===ko.unwrap(b[d]);else if(a[d]instanceof Array)if(b[d]instanceof Array&&a[d].length===b[d].length)for(var e=0;e<a[d].length&&!1!==(c=s(a[d][e],b[d][e]));e++);else c=!1;else c=a[d]instanceof Object?s(a[d],b[d]):a[d]===b[d];return!c}}),c}function t(a,b){return a+(b?"."+b:"")}function u(){var a=$("script[type='text/html']").map(function(a,b){if(b.src){var c=$.Deferred();return $.get(b.src).done(function(a){b.text=a,-1===a.indexOf('type="text/html"')&&-1===a.indexOf("type='text/html'")||$(document.body).append(a),c.resolve()}).fail(function(a,b,d){c.reject()}),c.promise()}});return $.when.apply($.when,a)}function v(a){return a<768?"xs":a<992?"sm":a<1200?"md":a<1380?"lg":"xl"}function w(b,e){b.dx=e||a,b.getLocalization=function(){return c.getLocalization.apply(a.Analytics,arguments)},b.getPopupContainer=d.getParentContainer,b.surfaceClass=function(a){return"dx-designer-viewport dx-designer-viewport-"+v(a.clientWidth)+" "+(d.getParentContainer(a,".dx-theme-generic").length?"":" dx-theme-generic")}}function x(a,b,e,f,g,h,i,j){void 0===i&&(i=function(a){return!a.success}),void 0===j&&(j=d.getErrorMessage);var k,l=$.Deferred();return void 0!==b&&void 0!==e&&(k={actionKey:b,arg:e}),c.ajaxSetup.sendRequest($.extend({},{type:"POST",data:k,url:a},h)).fail(function(b,c,e){if(g&&g())return void l.reject();d._errorProcessor.call({jqXHR:b,textStatus:c,errorThrown:e,getRequestDetails:function(){return k||a}}),d._processError(e,l,b,c,f)}).done(function(b,c,e){if(!b)return void l.reject();if(i(b)){if(g&&g())return void l.reject();d._errorProcessor.call({jqXHR:e,textStatus:c,data:b,errorThrown:j(e),getRequestDetails:function(){return k||a}}),d._processError("Internal Server Error",l,e,c,f)}else l.resolve(b.result)}),l.promise()}function y(a){return x(a.uri,a.action,a.arg,a.processErrorCallback,a.ignoreError,a.customOptions,a.isError,a.getErrorMessage)}function z(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];return a.length>1?x.apply(this,a):y(a[0])}function A(a){return H(a,function(a){delete a["@Ref"]}),a}function B(a){return[{id:d.DesignerBaseElements.MenuButton,templateName:d.DesignerBaseElements.MenuButton,model:a},{id:d.DesignerBaseElements.Toolbar,templateName:d.DesignerBaseElements.Toolbar,model:a},{id:d.DesignerBaseElements.Toolbox,templateName:d.DesignerBaseElements.Toolbox,model:a},{id:d.DesignerBaseElements.Surface,templateName:d.DesignerBaseElements.Surface,model:a},{id:d.DesignerBaseElements.RightPanel,templateName:d.DesignerBaseElements.RightPanel,model:a}]}function C(a,b){return function(c){c.forEach(function(c){if(!c.wrappedWith||-1===c.wrappedWith.indexOf(a)){var d=c.clickAction;c.clickAction=function(a){return b(a,d)},c.wrappedWith=c.wrappedWith||[],c.wrappedWith.push(a)}})}}function D(e,f,g,h,i,j,k,l,m,n,o,p,q){void 0===h&&(h={}),void 0===i&&(i=[]);var r=new d.DesignerContextGenerator(k).addModel(e).addSurface(f).addUndoEngine(n).getContext(),s=new d.CommonDesignerGenerator(r,k);return s.mapOnContext().addSelection(function(a){a.selection=l||new d.SurfaceSelection,a.snapHelper=new d.SnapLinesHelper(f,d.SnapLinesHelper.snapTolerance,p||new d.SnapLinesCollector),a.editableObject=d.CombinedObject.getEditableObject(a.selection,r.undoEngine,o).extend({throttle:1}),a.addDragDrop(function(b){b.dragHelperContent=new d.DragHelperContent(a.selection),b.dragDropStarted=d.DragDropHandler.started,b.addDragDropHandler("dragHandler",new d.SelectionDragDropHandler(r.surface,a.selection,r.undoEngine,a.snapHelper,b.dragHelperContent)),b.addDragDropHandler("toolboxDragHandler",new d.ToolboxDragDropHandler(r.surface,a.selection,r.undoEngine,a.snapHelper,b.dragHelperContent,g))}),a.addResize(function(b){b.handler={starting:function(){l.expectClick=!0,r.undoEngine().start()},stopped:function(){r.undoEngine().end(),setTimeout(function(){l.expectClick=!1},100)},disabled:d.DragDropHandler.started,snapHelper:a.snapHelper}})}).addToolboxItems(function(){return d.getToolboxItems(g.controlsMap)}).addIsLoading().addControlProperties(i,h,q).addPopularProperties(g).addControlsHelper(function(a){a.addControlsHelper(m).addControlsStore()}).addTabPanel(void 0,function(){return[new c.TabInfo({text:"Properties",template:"dxrd-propertiestab",model:s.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:ko.pureComputed(function(){return!!e()}),disabled:ko.pureComputed(function(){return s.getModel().propertyGrid.focusedItem()instanceof Array}).extend({throttle:100})})]}).addContextActions(function(a){a.actionProviders=[],a.createDefaultActions(s.getModel().editableObject,s.getModel().undoEngine)}).addMenu(function(a){a.appMenuVisible=ko.observable(!1),a.toggleAppMenu=function(){a.appMenuVisible(!a.appMenuVisible())},a.getMenuPopupContainer=function(a){return $(a).closest(".dxrd-menu-button").prev(".dxrd-menu-container")},a.getMenuPopupTarget=function(a){return $(a).closest(".dxrd-menu-button").find(".dxrd-menu-place")}}).addElement("inlineTextEdit",function(){return new d.InlineTextEdit(s.getModel().selection)}).addElement("actionsGroupTitle",function(){return function(){return b.Utils.getLocalization("Actions","AnalyticsCoreStringId.Actions")}}).addElement("updateFont",function(){return function(b){a.Analytics.Widgets.Internal.availableFonts(b)}}).addElement("sortFont",function(){return function(){var b={},c=a.Analytics.Widgets.Internal.availableFonts.peek();Object.keys(c).sort(function(a,b){return a.localeCompare(b)}).forEach(function(a){return b[a]=c[a]}),a.Analytics.Widgets.Internal.availableFonts(b)}}).addElement("surfaceSize",function(){return ko.observable(0)}).addElement("popularVisible",function(){return ko.pureComputed(function(){return s.getModel().popularProperties._editors().some(function(a){return a.visible()})||s.getModel().contextActions().length>0})}).addActionList().addParts().getModel()}function E(a){var c=ko.unwrap(a);return"none"===c?b.Utils.getLocalization("none","DataAccessStringId.ParameterListEmpty"):"(none)"===c?"(none)"!==b.Utils.getLocalization("(none)","DxDesignerStringId.None")?b.Utils.getLocalization("(none)","DxDesignerStringId.None"):"("+b.Utils.getLocalization("none","DataAccessStringId.ParameterListEmpty")+")":c}function F(a){var b=Math.round(parseInt(a.replace("%","")))/100;return b?b>=5?5:b<=.1?.1:b:1}function G(a,b,c,d,e,f,g){return{starting:function(){$(a).css(d===e?"right":"left","")},handles:d===e?"e":"w",stopped:$.noop,stop:$.noop,resize:function(){$(a).css({left:d===e?b:"",right:d===e?"":b}),f&&ko.isObservable(f)&&f($(a).width())},disabled:g||!1,zoom:1,minimumWidth:c,maximumWidth:1e3,$element:a}}function H(a,b,c,d){if(void 0===c&&(c=[]),void 0===d&&(d=["surface","reportSource"]),-1===c.indexOf(a)&&a&&void 0!==a){var e=[];Object.keys(a).forEach(function(b){-1===c.indexOf(a[b])&&0!==b.indexOf("_")&&-1===d.indexOf(b)&&e.push(a[b])}),b(a),c.push(a);for(var f=0;f<e.length;f++)e[f]=ko.unwrap(e[f]),"object"==typeof e[f]&&H(e[f],b,c,d)}}function I(a,b,c,d){if(void 0===c&&(c=["controls","bands","subBands","crossBandControls","rows","cells","fields"]),void 0===d&&(d=[]),a&&void 0!==a){d.push(a);for(var e=0,f=c.length;e<f;e++)a[c[e]]&&(b(a[c[e]],a),(a[c[e]]()||[]).forEach(function(a){return I(a,b,c,d)}))}}d.createObservableReverseArrayMapCollection=e,d.createObservableArrayMapCollection=f,d.deserializeChildArray=g,d.getFirstItemByPropertyValue=h,d.findFirstItemMatchesCondition=i,d.find=i,d.binaryIndexOf=j;var J=function(){function a(a,b,c){var d=this;this._extenders=c,this.getItems=function(c){var e=$.Deferred(),f=[];return d._beforeFieldListCallback(c,f)?e.resolve(f):b&&!c.fullPath?(f.push.apply(f,$.map(b(),function(a){return{name:a.id||a.ref,displayName:a.name,isList:!0,specifics:a.specifics||"ListSource",dragData:{noDragable:!1}}})),d._afterFieldListCallBack(c,f),e.resolve(f)):(d._patchRequest(c,b),a(c).done(function(a){f.push.apply(f,a),d._afterFieldListCallBack(c,f),e.resolve(f)}).fail(function(a){return e.reject(a)})),e.promise()}}return a.prototype._patchRequest=function(a,b){if(b)for(var c=b.peek(),d=0;d<c.length;d++){if(c[d].id===a.id&&a.id)return void(a.ref=void 0);if(c[d].ref===a.ref&&a.ref)return void(a.id=void 0)}},a.prototype._beforeFieldListCallback=function(a,b){return!!this._extenders&&this._extenders.some(function(c){return c.beforeItemsFilled(a,b)})},a.prototype._afterFieldListCallBack=function(a,b){this._extenders&&this._extenders.forEach(function(c){c.afterItemsFilled&&c.afterItemsFilled(a,b)})},a}();d.FieldListProvider=J,d.NotifyType={info:"info",warning:"warning",error:"error",success:"success"};var K=function(a){var b=function(b){return function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];a&&$.isFunction(a[b])&&a[b].apply(a,arguments)}};return{info:b("info"),warn:b("warn"),error:b("error")}}(window.console);d.NotifyAboutWarning=k,d.getErrorMessage=l,d.ShowMessage=m,d.unitsToPixel=n,d.pixelToUnits=o,d.createUnitProperty=p,d.createUnitProperties=q,d.copyObservables=r,d.compareObjects=s,d.cssTransform=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"],d.DEBUG=!1,d.getFullPath=t,d.loadTemplates=u,d.getSizeFactor=v,d.appendStaticContextToRootViewModel=w,d._ajax=x,d._ajaxWithOptions=y,d.ajax=z,d.cutRefs=A,d.DesignerBaseElements={MenuButton:"dxrd-menubutton-template-base",Toolbar:"dxrd-toolbar-template-base",Toolbox:"dxrd-toolbox-template-base",Surface:"dxrd-surface-template-base",RightPanel:"dxrd-right-panel-template-base"},d.generateDefaultParts=B,d.createActionWrappingFunction=C,d.createDesigner=D,d.localizeNoneString=E,d.parseZoom=F,d.getResizableOptions=G,d.objectsVisitor=H,d.collectionsVisitor=I}(d=b.Internal||(b.Internal={})),function(b){!function(b){var c=function(a){function b(b,c){var d=a.call(this,b,$.extend(c,{showClearButton:!0}))||this;d._path=ko.observable(""),d._value=ko.observable(""),d._parentViewport=null,d._itemsProvider=ko.observable(null),d._hasDisplayNameOption=!1,d._defaultPosition=null;var e=$(b);return e.addClass("dx-fieldlistpicker"),d.option("path")&&d._path(d.option("path")),d.option("value")&&d._value(d.option("value")),d.option("itemsProvider")&&d._itemsProvider(d.option("itemsProvider")),d.option("valueChangeEvent","change"),d.option("openOnFieldClick",!1===d.option("acceptCustomValue")),d._parentViewport=e.parents(".dx-designer-viewport"),"displayValue"in c&&(d._hasDisplayNameOption=!0,d.option("displayValue",c.displayValue),d._setTitle(d.option("displayValue"))),d}return __extends(b,a),b.prototype._showDropDown=function(){if(this._popup){var a=$(this.element());this._popup.option("width",a.width());var b=$.extend(!0,{},this._defaultPosition,{boundary:this._parentViewport[0],boundaryOffset:"0 20",collision:"none flip"});this._popup.option("position",b),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),$(this._popup.content())[0].style.height="auto",this._popup._renderPosition()}},b.prototype._getMaxHeight=function(){var a=$(this.element()),b=a.offset(),c=$(window).height(),d=Math.max(b.top,c-b.top-a.outerHeight());return Math.min(.5*c,d)},b.prototype._closeOutsideDropDownHandler=function(b,c){a.prototype._closeOutsideDropDownHandler.call(this,b,!0)},b.prototype._hideOnBlur=function(){return!1},b.prototype._popupConfig=function(){var b=this.option("integrationOptions").templates["dx-polymorph-widget"],c=a.prototype._popupConfig.call(this);return this._defaultPosition=c.position,$.extend(c,{container:this._parentViewport,contentTemplate:b&&b._template,closeOnOutsideClick:!0})},b.prototype._setTitle=function(a){this.option("openOnFieldClick")&&$(this.element()).attr("title",a)},b.prototype._optionChanged=function(b,c){var d=this,e=b.name||b,f=c||b.value;switch(e){case"value":this._value(f),this._hasDisplayNameOption||a.prototype._renderDisplayText.apply(this,[f]),setTimeout($.proxy(function(){d.option("opened",!1)},this),50);break;case"path":this._path(f);break;case"itemsProvider":this._itemsProvider(f);break;case"displayValue":a.prototype._renderDisplayText.apply(this,[f]),this._setTitle(f);break;default:a.prototype._optionChanged.apply(this,arguments),"opened"===e&&f&&this._showDropDown()}},b.prototype._clearValueHandler=function(){$(this._input()).val(null),a.prototype._clearValueHandler.apply(this,arguments)},b.prototype._renderPopupContent=function(){var b=this;a.prototype._renderPopupContent.call(this);var c=ko.pureComputed({read:function(){return b._path()?b._path()+"."+b._value():b._value()},write:function(a){b._path()&&b._path().length>0?(b._value(a.substr(b._path().length+1)),b.option("value",b._value())):(b._value(a),b.option("value",b._value()))}}),d=$("<div>").addClass("dx-treelist-wrapper").get(0),e=this._createComponent(d,"dxScrollView",{scrollByThumb:!0}),f=this,g=$(e.content()),h=$(this.element());g.append($('<div data-bind="treelist: options"></div>')[0]);var i=ko.contextFor(h.get(0)),j=this.option("treeListController"),k=ko.computed(function(){return{itemsProvider:b._itemsProvider(),onItemsVisibilityChanged:function(){f._popup&&f._popup._renderPosition()},selectedPath:c,treeListController:j,path:b._path}}),l=i.createChildContext({options:k});ko.applyBindingsToDescendants(l,g.get(0)),$(this._popup.content()).append(d)},b}(a.ui.dxDropDownBox);b.dxFieldListPicker=c,a.registerComponent("dxFieldListPicker",c)}(b.Internal||(b.Internal={}))}(f=b.Widgets||(b.Widgets={})),function(d){ko.bindingHandlers.dxBorderEditor={init:function(b,c,d,f,g){$(b).children().remove();var h=a.Analytics.Widgets.Internal.getTemplate("dxrd-bordereditor"),i=$(b).append(h);return ko.applyBindings({value:new e(c(),f.disabled)},i.children()[0]),{controlsDescendantBindings:!0}}};var e=function(a){function b(b,c){void 0===c&&(c=ko.observable(!1));var d=a.call(this)||this;return d.left=ko.observable(!1),d.right=ko.observable(!1),d.top=ko.observable(!1),d.bottom=ko.observable(!1),d.disabled=c,d.value=b.value,d.updateModel(b.value()),d._disposables.push(b.value.subscribe(function(a){d.updateModel(a)})),d}return __extends(b,a),b.prototype._setAllValues=function(a){this.left(a),this.bottom(a),this.right(a),this.top(a)},b.prototype.setValue=function(a){this.disabled()||(this[a](!this[a]()),this.updateValue())},b.prototype.setAll=function(){this.disabled()||(this._setAllValues(!0),this.updateValue())},b.prototype.setNone=function(){this.disabled()||(this._setAllValues(!1),this.updateValue())},b.prototype.updateModel=function(a){var b=a||"None";-1!==b.indexOf("All")?this._setAllValues(!0):-1!==b.indexOf("None")?this._setAllValues(!1):(this.left(-1!==b.indexOf("Left")),this.top(-1!==b.indexOf("Top")),this.right(-1!==b.indexOf("Right")),this.bottom(-1!==b.indexOf("Bottom")))},b.prototype.updateValue=function(){var a=[];this.left()&&this.right()&&this.top()&&this.bottom()?a.push("All"):this.left()||this.right()||this.top()||this.bottom()?(this.left()&&a.push("Left"),this.right()&&a.push("Right"),this.top()&&a.push("Top"),this.bottom()&&a.push("Bottom")):a.push("None"),this.value(a.join(","))},b}(c.Disposable);d.BordersModel=e;var g=function(c){function e(e,f,g,h){void 0===g&&(g=0),void 0===h&&(h=!0);var i=c.call(this,e,f,g,void 0,void 0,ko.observable(""),h&&new d.PopupService)||this;i.focusedItem=ko.observable(),i.editorsRendered=ko.observable(!1),i.isSortingByGroups=ko.observable(!0),i.isSearching=ko.observable(!1),i.allEditorsCreated=ko.observable(!1),i.textToSearch=ko.observable(""),i._searchBox=null,i.searchPlaceholder=function(){return b.Internal.searchPlaceholder()},i.switchSearchBox=function(){i.isSearching()?(i.isSearching(!1),i.textToSearch("")):(i.isSearching(!0),i._searchBox&&i._searchBox.focus())},i.createGroups(f.groups),i.update(e()),i._disposables.push(i.focusedImageClassName=ko.pureComputed(function(){return b.Internal.getImageClassName(e()&&e().controlType)}));var j=i.isSortingByGroups.subscribe(function(a){a||(i.editorsRendered(!0),j.dispose())});i._disposables.push(j),i.focusedItem=e,i._disposables.push(e.subscribe(function(a){i.isSearching()&&!i.textToSearch()&&i.switchSearchBox()})),i.displayExpr=function(b){return a.Analytics.Internal.getControlFullName(b)};var k=null;return i._disposables.push(i.textToSearch.subscribe(function(a){k&&clearTimeout(k),k=setTimeout(function(){i._textToSearch(a),a&&i.groups.forEach(function(a){return a.collapsed()&&a.editors().some(function(a){return a.isSearchedProperty()})&&a.collapsed(!1)})},200)})),i}return __extends(e,c),e.prototype.getEditors=function(){var a=c.prototype.getEditors.call(this),b=a.map(function(a){return a.displayName()}).sort();return a.sort(function(a,c){return b.indexOf(a.displayName())-b.indexOf(c.displayName())}),a},e.prototype._update=function(a,b,d){return this.groups&&this.groups.forEach(function(a){0===a.editors().length&&a.recreate()}),c.prototype._update.call(this,a,b,d)},e.prototype.cleanEditors=function(){c.prototype.cleanEditors.call(this),this.groups.forEach(function(a){return a.resetEditors()})},e.prototype.dispose=function(){c.prototype.dispose.call(this),this.disposeArray(this.groups),this.disposeObservableArray(this._editors),this.resetObservableArray(this._editors),this.cleanSubscriptions(),this._searchBox=null,this.focusedItem=null},e.prototype.createGroups=function(a){var b=this;this.groups=Object.keys(a).map(function(c){return new h(c,a[c].info,function(a){return a.filter(function(a){return!!a.editor}).map(function(a){var c=b.findEditorByInfo(a);return c||(c=b.createEditor(a),b._editors.push(c),c)})},!0,a[c].displayName)}),this._disposables.push.apply(this._disposables,this.groups)},e.prototype.registerAccessibilityProvider=function(a){c.prototype.registerAccessibilityProvider.call(this,a),this.groups.forEach(function(b){b.registerAccessibilityProvider(a)})},e.prototype.searchBox=function(b){this._searchBox=a.ui.dxTextBox.getInstance(b.get(0))},e}(f.ObjectProperties);d.ControlProperties=g;var h=function(a){function b(b,d,e,f,g){void 0===f&&(f=!0);var h=a.call(this)||this;if(h.editors=ko.observableArray([]).extend({deferred:!0}),h.editorsCreated=ko.observable(!1),h.editorsRendered=ko.observable(!1),h._displayName=b,h.displayName=g||function(){return c.getLocalization(b)},h._serializationsInfo=d,h.collapsed=ko.observable(f),f){var i=h.collapsed.subscribe(function(a){i.dispose(),h.editorsRendered(!0)});h._disposables.push(i)}return h.recreate=function(){h.editors(e(d)),h._accessibilityProvider&&h.editors().forEach(function(a){a.registerAccessibilityProvider(h._accessibilityProvider)})},h.editors(e(d)),h.visible=ko.computed(function(){return h.editors().some(function(a){return a.visible()})}),h._disposables.push(h.visible),h}return __extends(b,a),b.prototype.resetEditors=function(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)},b.prototype.dispose=function(){a.prototype.dispose.call(this),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)},b.prototype.update=function(a){var b=this;this._viewModel=a,this.editors().forEach(function(a){a.update(b._viewModel)})},b.prototype.registerAccessibilityProvider=function(a){this._accessibilityProvider=a,this.editors().forEach(function(b){b.registerAccessibilityProvider(a)})},b}(c.Disposable);d.Group=h,d.sizeFake=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:f.editorTemplates.numeric,editorOptions:{min:2}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:f.editorTemplates.numeric,editorOptions:{min:2}}],d.locationFake=[{propertyName:"x",displayName:"X",editor:f.editorTemplates.numeric},{propertyName:"y",displayName:"Y",editor:f.editorTemplates.numeric}];var i=function(){function a(a,b){this._context=a,this._rtl=b}return a.prototype.addElement=function(a,b){return this._context[a]=b,this},a.prototype.addUndoEngine=function(a){return void 0===a&&(a=ko.observable(new c.UndoEngine(this._context.model))),this._context.undoEngine=a,this},a.prototype.addSurface=function(a){return this._context.surface=a,this},a.prototype.getContext=function(){return this._context},a}();d.DesignerContextGeneratorInternal=i;var j=function(){function a(a){this._rtl=a}return a.prototype.addModel=function(a){return new i({model:a},this._rtl)},a}();d.DesignerContextGenerator=j;var k=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return __extends(b,a),Object.defineProperty(b.prototype,"handler",{get:function(){return this._handler},set:function(a){this._disposables.push(a),this._handler=a},enumerable:!0,configurable:!0}),b.prototype.generate=function(){var a={};return this.handler&&(a.resizeHandler=this.handler),a},b}(c.Disposable);d.ResizeSettings=k;var l=function(a){function b(){return null!==a&&a.apply(this,arguments)||this}return __extends(b,a),b.prototype._actionUndoEngineWrappingFunction=function(a,b){return d.createActionWrappingFunction("WrapWithUndoEngine",function(a,c){b().start(),c(a),b().end()})(a)},Object.defineProperty(b.prototype,"actionProviders",{get:function(){return this._actionProviders},set:function(a){this._disposables.push.apply(this._disposables,a),this._actionProviders=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"actions",{get:function(){return this._actions},set:function(a){this._disposables.push(a),this._actions=a},enumerable:!0,configurable:!0}),b.prototype.createDefaultActions=function(a,b){var c=this;this.actions=ko.computed(function(){var d=a(),e=[];return c.actionProviders.forEach(function(a){e.push.apply(e,a.getActions(d))}),c._actionUndoEngineWrappingFunction(e,b),e})},b.prototype.generate=function(){var a={};return this.actionProviders&&(a.contextActionProviders=this.actionProviders),this.actions&&(a.contextActions=this.actions),a},b}(c.Disposable);d.ContextActionsSettings=l;var m=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;return b._model={},b}return __extends(b,a),Object.defineProperty(b.prototype,"dragHelperContent",{get:function(){return this._dragHelperContent},set:function(a){this._disposables.push(a),this._dragHelperContent=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"dragDropStarted",{get:function(){return this._dragDropStarted},set:function(a){this._disposables.push(a),this._dragDropStarted=a},enumerable:!0,configurable:!0}),b.prototype.addDragDropHandler=function(a,b){this._disposables.push(b),this._model[a]=b},b.prototype.generate=function(){var a=this._model;return this.dragHelperContent&&(a.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(a.dragDropStarted=this.dragDropStarted),a},b}(c.Disposable);d.DragDropSettings=m;var n=function(a){function b(b,c){var d=a.call(this)||this;return d._selection=b,d._context=c,d._model={},d}return __extends(b,a),b.prototype.generate=function(){var a=this._model;return this.controlsHelper&&(a.controlsHelper=this.controlsHelper),a},b.prototype.addControlsHelper=function(a){var b=this;return this.controlsHelper=a||new d.DesignControlsHelper(this._context.model,[{added:function(a){},deleted:function(a){a.surface===b._selection.focused()&&b._selection.focused(d.findNextSelection(a.surface))}}]),this._disposables.push(this.controlsHelper),this},b.prototype.addControlsStore=function(a){return a=a||new d.ControlsStore(this.controlsHelper.allControls),this._disposables.push(a),this._model.controlsStore=a,this},b}(c.Disposable);d.ControlsHelperSettings=n;var o=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;return b.stopPropagation=!1,b}return __extends(b,a),b.prototype.generate=function(){var a={};return this.appMenuVisible&&(a.appMenuVisible=this.appMenuVisible),this.toggleAppMenu&&(a.toggleAppMenu=this.toggleAppMenu),this.getMenuPopupContainer&&(a.getMenuPopupContainer=this.getMenuPopupContainer),this.getMenuPopupTarget&&(a.getMenuPopupTarget=this.getMenuPopupTarget),a.stopPropagation=this.stopPropagation,a},Object.defineProperty(b.prototype,"appMenuVisible",{get:function(){return this._appMenuVisible},set:function(a){this._disposables.push(a),this._appMenuVisible=a},enumerable:!0,configurable:!0}),b}(c.Disposable);d.MenuSettings=o;var p=function(a){function b(){var b=null!==a&&a.apply(this,arguments)||this;return b._dragDropSettings=new m,b._resizeSettings=new k,b}return __extends(b,a),b.prototype.dispose=function(){this._editableObject(null),a.prototype.dispose.call(this),this.removeProperties()},Object.defineProperty(b.prototype,"selection",{get:function(){return this._selection},set:function(a){this._disposables.push(a),this._selection=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"snapHelper",{get:function(){return this._snapHelper},set:function(a){this._disposables.push(a),this._snapHelper=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"editableObject",{get:function(){return this._editableObject},set:function(a){this._disposables.push(a),this._editableObject=a},enumerable:!0,configurable:!0}),b.prototype.addDragDrop=function(a){a(this._dragDropSettings),this._disposables.push(this._dragDropSettings)},b.prototype.addResize=function(a){a(this._resizeSettings),this._disposables.push(this._resizeSettings)},b.prototype.generate=function(){var a={};return this.selection&&(a.selection=this.selection),this.snapHelper&&(a.snapHelper=this.snapHelper),this.editableObject&&(a.editableObject=this.editableObject),d.extend(a,this._dragDropSettings.generate(),this._resizeSettings.generate())},b}(c.Disposable);d.SelectionSettings=p;var q=function(a){function b(b,c){var d=a.call(this)||this;return d._context=b,d._rtl=c,d._model={},d._selectionSettings=new p,d._model.rtl=d._rtl,d._model.dispose=function(){d.dispose()},d}return __extends(b,a),b.prototype._createPopularProperties=function(a,b){var c=[];return b.forEach(function(b){var d=a.filter(function(a){return a.propertyName===b})[0];d&&c.push(d)}),c},b.prototype._resetModel=function(){var a=this;Object.keys(this._model).forEach(function(b){"dispose"!==b&&delete a._model[b]})},Object.defineProperty(b.prototype,"rtl",{get:function(){return this._rtl},set:function(a){this._rtl=a,this._model.rtl=a},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){a.prototype.dispose.call(this),this._resetModel()},b.prototype.initializeContext=function(a){return this._context=a,this},b.prototype.getPropertyByName=function(a){return this._model[a]},b.prototype.addElement=function(a,b){return this._model[a]=b(),this._disposables.push(this._model[a]),this},b.prototype.mapOnContext=function(){return this._model.model=this._context.model,this._model.surface=this._context.surface,this._model.undoEngine=this._context.undoEngine,this},b.prototype.addSelection=function(a){return a(this._selectionSettings),this._disposables.push(this._selectionSettings),d.extend(this._model,this._selectionSettings.generate()),this},b.prototype.addPropertyGrid=function(a,b){return void 0===b&&(b="propertyGrid"),this._model[b]=a&&a(),this._disposables.push(this._model[b]),this},b.prototype.addControlProperties=function(a,b,c,d){var e=this;return this.addPropertyGrid(function(){var c=new g(e._model.editableObject,{groups:b,editors:a},null);return d&&c.registerAccessibilityProvider(d),c})},b.prototype.addPopularProperties=function(a,b){var c=this;return this.addPropertyGrid(function(){var d=new f.ObjectProperties(ko.pureComputed(function(){var b={getInfo:function(){return[]}},d=c._model.editableObject();if(d){var e=a.controlsMap[d.controlType],f=c._createPopularProperties(e&&e.info||[],e&&e.popularProperties||[]);f.forEach(function(a){a.propertyName in d&&(b[a.propertyName]=d[a.propertyName])}),b.getInfo=function(){return f},b.root=d.root,b.actions=d.actions,b.actionProviders=d.actionProviders,b.getPath=function(a){return d.getPath&&d.getPath(a)||""},b.getModel=function(){return d},b.isPropertyModified=function(a){return!!d.isPropertyModified&&d.isPropertyModified(a)},b.getActionClassName=function(a){return d.getActionClassName?d.getActionClassName(a):""},b.getMenuBoxTemplate=function(a){return d.getMenuBoxTemplate?d.getMenuBoxTemplate(a):""},b.isPropertyVisible=function(a){return!d.isPropertyVisible||d.isPropertyVisible(a)},b.isPropertyHighlighted=function(a){return!!d.isPropertyHighlighted&&d.isPropertyHighlighted(a)},b.isPropertyDisabled=function(a){return!!d.isPropertyDisabled&&d.isPropertyDisabled(a)},b.isSame=function(a){return a===d},["name","displayName"].forEach(function(a){a in d&&(b[a]=d[a])})}return b}),void 0,void 0,void 0);return b&&d.registerAccessibilityProvider(b),d},"popularProperties")},b.prototype.addToolboxItems=function(a){return this._model.toolboxItems=a&&a(),this},b.prototype.addTabPanel=function(a,b){void 0===b&&(b=function(){return[]});var d=a&&a()||new c.TabPanel({tabs:b(),rtl:this._rtl});return this._model.tabPanel=d,this._disposables.push(d),this},b.prototype.addIsLoading=function(a){return void 0===a&&(a=function(){return ko.observable(!0)}),this._model.isLoading=a(),this._disposables.push(this._model.isLoading),this},b.prototype.addControlsHelper=function(a){var b=new n(this._selectionSettings.selection,this._context);return a(b),this._disposables.push(b),d.extend(this._model,b.generate()),this},b.prototype.addMenu=function(a){var b=new o;return a(b),this._disposables.push(b),d.extend(this._model,b.generate()),this},b.prototype.addContextActions=function(a){var b=new l;return a(b),this._disposables.push(b),d.extend(this._model,b.generate()),this},b.prototype.addParts=function(a,b){void 0===a&&(a=function(a){return a}),void 0===b&&(b=!0);var c=[];return b&&(c=d.generateDefaultParts(this._model)),this._model.parts=a(c),this},b.prototype.getModel=function(){return this._model},b.prototype.addActionList=function(a){var b=a&&a()||new d.ActionLists(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,function(){});return this._disposables.push(b),this._model.actionLists=b,this},b}(c.Disposable);d.CommonDesignerGenerator=q;var r={render:function(a){var b=$("<i />").addClass("dx-icon");a.model.iconClass?(b.addClass(a.model.iconClass),b.addClass("dx-icon-"+a.model.iconClass),b.addClass("dx-icon-dxrd")):a.model.icon&&b.addClass(a.model.icon),a.model.icon&&b.attr("data-bind","template: '"+a.model.icon+"'");var c=b.get(0);$(a.container).append(c),setTimeout(function(){ko.dataFor(c)||ko.applyBindings(a.model,c)},1)}},s=function(a){function b(b,c){return c.template=r,a.call(this,b,c)||this}return __extends(b,a),b.prototype._getContentData=function(){var b=a.prototype._getContentData.call(this);return ko.utils.extend(b,{iconClass:this.option("iconClass")})},b.prototype._optionChanged=function(b){switch(b.name){case"iconClass":this._updateContent(),this._updateAriaLabel();break;default:a.prototype._optionChanged.call(this,b)}},b}(a.ui.dxButton);d.dxButtonWithTemplate=s,a.registerComponent("dxButtonWithTemplate",s)}(d=b.Internal||(b.Internal={}))}(a.Analytics||(a.Analytics={}))}(DevExpress||(DevExpress={})),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.DragDropHandler","Analytics.Internal.DragDropHandler"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.DragHelperContent","Analytics.Internal.DragHelperContent"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SelectionDragDropHandler","Analytics.Internal.SelectionDragDropHandler"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ToolboxDragDropHandler","Analytics.Internal.ToolboxDragDropHandler"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SurfaceElementArea","Analytics.SurfaceElementArea","Analytics.Elements.SurfaceElementArea"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SurfaceElementBase","Analytics.SurfaceElementBase","Analytics.Elements.SurfaceElementBase"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Disposable","Analytics.Utils.Disposable"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ElementViewModel","Analytics.ElementViewModel","Analytics.Elements.ElementViewModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SerializableModel","Analytics.SerializableModel","Analytics.Elements.SerializableModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.CombinedObject","Analytics.Internal.CombinedObject"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SurfaceSelection","Analytics.Internal.SurfaceSelection"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SnapLinesCollector","Analytics.Internal.SnapLinesCollector"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SnapLinesHelper","Analytics.Internal.SnapLinesHelper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.CopyPasteHandler","Analytics.Internal.CopyPasteHandler"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SnapLineSurface","Analytics.Internal.SnapLineSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ActionId","Analytics.ActionId","Analytics.Tools.ActionId"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ActionListsBase","Analytics.Internal.ActionListsBase"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ActionLists","Analytics.Internal.ActionLists"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.KeyboardHelper","Analytics.Internal.KeyboardHelper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.KeyDownHandlersManager","Analytics.Internal.KeyDownHandlersManager"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.TabPanel","Analytics.TabPanel","Analytics.Utils.TabPanel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.TabInfo","Analytics.TabInfo","Analytics.Utils.TabInfo"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ToolboxItem","Analytics.ToolboxItem","Analytics.Utils.ToolboxItem"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ControlsFactory","Analytics.Utils.ControlsFactory"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.DesignControlsHelper","Analytics.Internal.DesignControlsHelper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.CssCalculator","Analytics.Internal.CssCalculator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.FieldListProvider","Analytics.Utils.FieldListProvider","Analytics.Internal.FieldListProvider"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.HoverInfo","Analytics.Internal.HoverInfo"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.InlineTextEdit","Analytics.Internal.InlineTextEdit"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Margins","Analytics.Margins","Analytics.Elements.Margins"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ObjectStructureTreeListController","Analytics.Internal.ObjectStructureTreeListController"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.DataMemberTreeListController","Analytics.Widgets.DataMemberTreeListController","Analytics.Widgets.Internal.DataMemberTreeListController"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ObjectStructureProviderBase","Analytics.Internal.ObjectStructureProviderBase"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ObjectExplorerProvider","Analytics.Internal.ObjectExplorerProvider"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ObjectStructureProvider","Analytics.Internal.ObjectStructureProvider"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Point","Analytics.Point","Analytics.Elements.Point"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Rectangle","Analytics.Rectangle","Analytics.Elements.Rectangle"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Size","Analytics.Size","Analytics.Elements.Size"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.SortedArrayStore","Analytics.Internal.SortedArrayStore"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ControlsStore","Analytics.Internal.ControlsStore"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.dxFieldListPicker","Analytics.Widgets.dxFieldListPicker","Analytics.Widgets.Internal.dxFieldListPicker"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.BaseActionsProvider","Analytics.Internal.BaseActionsProvider"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.createObservableArrayMapCollection","Analytics.Utils.createObservableArrayMapCollection","Analytics.Internal.createObservableArrayMapCollection"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.deserializeChildArray","Analytics.Utils.deserializeChildArray","Analytics.Internal.deserializeChildArray"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getFirstItemByPropertyValue","Analytics.Utils.getFirstItemByPropertyValue","Analytics.Internal.getFirstItemByPropertyValue"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.findFirstItemMatchesCondition","Analytics.Utils.findFirstItemMatchesCondition","Analytics.Internal.findFirstItemMatchesCondition"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.binaryIndexOf","Analytics.Utils.binaryIndexOf","Analytics.Internal.binaryIndexOf"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getEditorType","Analytics.Internal.getEditorType"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getTypeNameFromFullName","Analytics.Internal.getTypeNameFromFullName"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getShortTypeName","Analytics.Internal.getShortTypeName"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getControlFullName","Analytics.Internal.getControlFullName"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getImageClassName","Analytics.Internal.getImageClassName"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getUniqueNameForNamedObjectsArray","Analytics.Internal.getUniqueNameForNamedObjectsArray"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getUniqueName","Analytics.Internal.getUniqueName"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.initGlobalize","Analytics.Internal.initGlobalize"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.NotifyAboutWarning","Analytics.Utils.NotifyAboutWarning","Analytics.Internal.NotifyAboutWarning"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getErrorMessage","Analytics.Utils.getErrorMessage","Analytics.Internal.getErrorMessage"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ShowMessage","Analytics.Utils.ShowMessage","Analytics.Internal.ShowMessage"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.floatFromModel","Analytics.Utils.floatFromModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.fromEnum","Analytics.Utils.fromEnum"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.parseBool","Analytics.Utils.parseBool"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.colorFromString","Analytics.Utils.colorFromString"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.saveAsInt","Analytics.Utils.saveAsInt"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.colorToString","Analytics.Utils.colorToString"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer._processError","Analytics.Internal._processError"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.processErrorEvent","Analytics.Internal.processErrorEvent"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.deleteSelection","Analytics.Internal.deleteSelection"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.findNextSelection","Analytics.Internal.findNextSelection"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.findSurface","Analytics.Internal.findSurface"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getControlNewAbsolutePositionOnResize","Analytics.Internal.getControlNewAbsolutePositionOnResize"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getControlRect","Analytics.Internal.getControlRect"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.minHeightWithoutScroll","Analytics.Internal.minHeightWithoutScroll"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.chooseBetterPositionOf","Analytics.Internal.chooseBetterPositionOf"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.updateSurfaceContentSize","Analytics.Internal.updateSurfaceContentSize"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.unitsToPixel","Analytics.Utils.unitsToPixel","Analytics.Internal.unitsToPixel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.pixelToUnits","Analytics.Utils.pixelToUnits","Analytics.Internal.pixelToUnits"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.createUnitProperty","Analytics.Utils.createUnitProperty","Analytics.Internal.createUnitProperty"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.createUnitProperties","Analytics.Utils.createUnitProperties","Analytics.Internal.createUnitProperties"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.validateName","Analytics.Internal.validateName"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.replaceInvalidSymbols","Analytics.Internal.replaceInvalidSymbols"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.propertiesVisitor","Analytics.Utils.propertiesVisitor","Analytics.Internal.propertiesVisitor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.objectsVisitor","Analytics.Utils.objectsVisitor","Analytics.Internal.objectsVisitor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.collectionsVisitor","Analytics.Utils.collectionsVisitor","Analytics.Internal.collectionsVisitor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.copyObservables","Analytics.Utils.copyObservables","Analytics.Internal.copyObservables"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.compareObjects","Analytics.Utils.compareObjects","Analytics.Internal.compareObjects"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getFullPath","Analytics.Utils.getFullPath","Analytics.Internal.getFullPath"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.loadTemplates","Analytics.Utils.loadTemplates","Analytics.Internal.loadTemplates"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.appendStaticContextToRootViewModel","Analytics.Utils.appendStaticContextToRootViewModel","Analytics.Internal.appendStaticContextToRootViewModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.ajax","Analytics.Utils.ajax","Analytics.Internal.ajax"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Internal.ajaxSetup","Analytics.Utils.ajaxSetup"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.checkModelReady","Analytics.Utils.checkModelReady","Analytics.Internal.checkModelReady"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.cutRefs","Analytics.Utils.cutRefs","Analytics.Internal.cutRefs"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.patchPositionByRTL","Analytics.Internal.patchPositionByRTL"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.generateDefaultParts","Analytics.Utils.generateDefaultParts","Analytics.Internal.generateDefaultParts"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.createActionWrappingFunction","Analytics.Utils.createActionWrappingFunction","Analytics.Internal.createActionWrappingFunction"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.createDesigner","Analytics.Utils.createDesigner","Analytics.Internal.createDesigner"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.localizeNoneString","Analytics.Utils.localizeNoneString","Analytics.Internal.localizeNoneString"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.find","Analytics.Utils.find","Analytics.Internal.find"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.copyPasteStrategy","Analytics.Internal.copyPasteStrategy"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.getToolboxItems","Analytics.getToolboxItems","Analytics.Internal.getToolboxItems"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.createObservableReverseArrayMapCollection","Analytics.Utils.createObservableReverseArrayMapCollection","Analytics.Internal.createObservableReverseArrayMapCollection"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.editorTypeMapper","Analytics.Internal.editorTypeMapper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.NotifyType","Analytics.Utils.NotifyType","Analytics.Internal.NotifyType"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.papperKindMapper","Analytics.Internal.papperKindMapper"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer._errorProcessor","Analytics.Internal._errorProcessor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.nameValidationRules","Analytics.Internal.nameValidationRules"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.sizeFake","Analytics.Internal.sizeFake"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.locationFake","Analytics.Internal.locationFake"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.cssTransform","Analytics.Utils.cssTransform","Analytics.Internal.cssTransform"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.DEBUG","Analytics.Utils.DEBUG","Analytics.Internal.DEBUG"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.DesignerBaseElements","Analytics.Utils.DesignerBaseElements","Analytics.Internal.DesignerBaseElements"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.left","Analytics.left","Analytics.Elements.Metadata.left"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.right","Analytics.right","Analytics.Elements.Metadata.right"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.top","Analytics.top","Analytics.Elements.Metadata.top"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.bottom","Analytics.bottom","Analytics.Elements.Metadata.bottom"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.paddingSerializationsInfo","Analytics.paddingSerializationsInfo","Analytics.Elements.Metadata.paddingSerializationsInfo"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.coreEditorTemplates","Analytics.Widgets.coreEditorTemplates"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Widgets.RequiredNullableEditor","Analytics.Widgets.Internal.RequiredNullableEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.createNumericEditor","Analytics.Widgets.createNumericEditor","Analytics.Widgets.Internal.createNumericEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.PaddingModel","Analytics.PaddingModel","Analytics.Elements.PaddingModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.BordersModel","Analytics.Widgets.BordersModel","Analytics.Internal.BordersModel"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.ControlProperties","Analytics.Widgets.ControlProperties","Analytics.Internal.ControlProperties"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.Group","Analytics.Widgets.Group","Analytics.Internal.Group"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.ColorPickerEditor","Analytics.Widgets.ColorPickerEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.DataMemberEditor","Analytics.Widgets.DataMemberEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Designer.Widgets.FieldListEditor","Analytics.Widgets.FieldListEditor"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Widgets.dxButtonWithTemplate","Analytics.Internal.dxButtonWithTemplate"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.DesignerContextGeneratorInternal","Analytics.Internal.DesignerContextGeneratorInternal"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.DesignerContextGenerator","Analytics.Internal.DesignerContextGenerator"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.ResizeSettings","Analytics.Internal.ResizeSettings"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.ContextActionsSettings","Analytics.Internal.ContextActionsSettings"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.DragDropSettings","Analytics.Internal.DragDropSettings"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.ControlsHelperSettings","Analytics.Internal.ControlsHelperSettings"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.MenuSettings","Analytics.Internal.MenuSettings"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.SelectionSettings","Analytics.Internal.SelectionSettings"),DevExpress.Analytics.Internal._definePropertyByString(DevExpress,"Analytics.Utils.CommonDesignerGenerator","Analytics.Internal.CommonDesignerGenerator");
|
|
8
|
+
!function(r){var i={};function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=r,o.c=i,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(r,i,function(e){return t[e]}.bind(null,i));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=167)}([function(e,t){e.exports=ko},function(e,t){e.exports=jQuery},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),r=(o.prototype.disposeObservableArray=function(e){e&&e().forEach(function(e){e.dispose&&e.dispose()})},o.prototype.resetObservableArray=function(e){e&&e([])},o.prototype.disposeArray=function(e){e&&(e.forEach(function(e){e.dispose&&e.dispose()}),e.splice(0,e.length))},o.prototype.dispose=function(){this.isDisposing||(this.isDisposing=!0,(this._disposables||[]).reverse().forEach(function(e){return e&&e.dispose&&e.dispose()}),this._disposables=[])},o.prototype.removeProperties=function(){var t=this;Object.keys(this).forEach(function(e){delete t[e]})},o);function o(){this._disposables=[],this.isDisposing=!1}function n(e,t){return(e||[]).map(function(e){e=null!=e?e.toString():"00";return 1===e.length&&(e="0"+e),e}).join(t)}t.Disposable=r,t.deserializeArray=function(t,r){var e=Object.keys(t||{}).map(function(e){return r(t[e])});return i.observableArray(e)},t.serializeDate=function(e){var t=[e.getMonth()+1,e.getDate(),e.getFullYear()];return"00:00:00"===(e=n([e.getHours(),e.getMinutes(),e.getSeconds()],":"))?n([t[2],t[0],t[1]],"-"):n(t,"/")+" "+e},t.deserializeDate=function(e){var t=e.split(" "),r=t[0].split("-"),e=[0,0,0];return 1<t.length&&((r=t[0].split("/")).splice(0,0,r.splice(2,1)[0]),3!==(e=t[1].split(":").map(function(e){return parseInt(e)})).length)||3!==r.length?null:(r=r.map(function(e){return parseInt(e)}),new Date(r[0],r[1]-1,r[2],e[0],e[1],e[2]))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(4),o=r(9);function n(e){i.extend(o.messages,e.messages)}t.addCultureInfo=n,t.getLocalization=function(e,t,r){return o.getLocalization(e,t,o.removeWinSymbols)},t._stringEndsWith=function(e,t){return-1!==e.indexOf(t,this.length-t.length)},t.updateLocalization=function(t){i.extend(o.custom_localization_values,t);var r={};Object.keys(t).forEach(function(e){r[e]=t[e]}),n({messages:r})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0);t.knockoutArrayWrapper=function(e){for(var o=[],t=1;t<arguments.length;t++)o[t-1]=arguments[t];var n=i.observableArray(e),a=n.notifySubscribers;return n.notifySubscribers=function(e,t){if(o)for(var r=0,i=o.length;r<i;r++)o[r](e,t);return a.call(n,e,t)},n};var o={},n=o.hasOwnProperty;function h(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?o[o.toString.call(e)]||"object":typeof e}function f(e){return!("object"!==h(e)||e.nodeType||null!=(t=e)&&t===t.window)&&!(e.constructor&&!n.call(e.constructor.prototype,"isPrototypeOf"));var t}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(function(e){return o["[object "+e+"]"]=e.toLowerCase()}),t.isPlainObject=f,t.isEmptyObject=function(e){return"string"!=typeof e&&(null!==e&&"object"==typeof e&&0===Object.keys(e).length)},t.extend=function e(t,r){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var n,a,s,u,l,d=1,c=arguments.length,p=!1;for("boolean"==typeof(t=arguments[0]||{})&&(p=t,t=arguments[d]||{},d++),"object"!=typeof t&&"function"!==h(t)&&(t={}),d===c&&(t=this,d--);d<c;d++)if(null!=(n=arguments[d]))for(a in n)l=t[a],t!==(s=n[a])&&(p&&s&&(f(s)||(u=Array.isArray(s)))?(l=u?(u=!1,l&&Array.isArray(l)?l:[]):l&&f(l)?l:{},t[a]=e(p,l,s)):void 0!==s&&(t[a]=s));return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0);t._defineProperty=function(e,t,r,i){delete e[r],i=i||r,Object.defineProperty(e,r,{get:function(){return t[i]},set:function(e){t[i]=e},configurable:!0})},t._definePropertyByString=function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];for(var r=function(e,t){void 0===t&&(t=!0);for(var r=e.split("."),i=n,o=0;o<r.length-1;o++)!i[r[o]]&&t&&(i[r[o]]={}),i=i[r[o]];return{object:i,propertyName:r[r.length-1]}},i=e[e.length-1],o=r(e[e.length-1]),a=0;a<e.length-1;a++)!function(t,e){Object.defineProperty(e.object,e.propertyName,{get:function(){return console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+i+" instead."),o.object[o.propertyName]},set:function(e){console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+i+" instead."),o.object[o.propertyName]=e},configurable:!0})}(e[a],r(e[a]))},t.addDisposeCallback=function(e,t){var r=function(){i.utils.domNodeDisposal.removeDisposeCallback(e,r),t&&t(),t=r=null};i.utils.domNodeDisposal.addDisposeCallback(e,r)},t.createGlobalModuleVariableFunc=function(e){var t=e;return function(e){return void 0!==e&&(t=e),t}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),a=r(14);var o=(n.prototype._isSubline=function(e,t){for(var r=e+t.length-1<this.alphabet.length,i=e;i<e+t.length&&r;i++)r=this.alphabet[i]==t[i-e];return r},n.prototype._getToken=function(e){e={type:this.tokenName,start:e-this.tokenLength+1,end:e+this.endTerm.length};return e.val=this.alphabet.substring(e.start,e.end),e},n.prototype.processTransitionFunction=function(e){return this.isActiveState&&this.tokenLength++,this._isSubline(e,this.startTerm)&&!this.isActiveState?(this.isActiveState=!0,this.tokenLength+=this.startTerm.length,this.startTerm.length-1):this.isActiveState&&this._isSubline(e,this.endTerm)?(this.isActiveState=!1,this.tokens.push(this._getToken(e)),this.tokenLength=0,this.endTerm.length-1):0},n);function n(e,t,r,i){this.tokenName=e,this.alphabet=t,this.startTerm=r,this.endTerm=i,this.tokenLength=0,this.isActiveState=!1,this.tokens=[]}t.MachineState=o;var s=(u.prototype._tokenize=function(){for(var e=this,r=0;r<this.stringCriteria.length;r++){var i=0;this.machineStates.forEach(function(t){i||e.machineStates.filter(function(e){return e!=t&&e.isActiveState}).length||(i=t.processTransitionFunction(r))}),r+=i}var t=[];return this.machineStates.forEach(function(e){t=t.concat(e.tokens),e.tokens=[]}),t},u.prototype._replaceTokenToAnotherToken=function(e,o,t){var n=this.stringCriteria;return(e=e.filter(function(e){return e.type==t}).sort(function(e){return e.start}).reverse()).forEach(function(t){var e=t.val.split("\n"),r=t.start,i=t.end;e.forEach(function(e){i=e.length+r!==t.end?r+e.length:t.end,n=a.stringReplace(n,r,i-r,o),r=e.length*o.length+1})}),n},u.prototype.replaceCommentsToChar=function(e){return void 0===e&&(e=""),this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this},u.prototype.getCriteria=function(){return b.parse(this._inputStringCriteria)},u);function u(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new o("field",e,"[","]")),this.machineStates.push(new o("value",e,"'","'")),this.machineStates.push(new o("comment",e,"/*","*/")),this._inputStringCriteria=e}t.CriteriaOperatorStateMachine=s;var l=(d.operators=function(e){return[].concat.apply([],e.map(function(t){return e=t,r=[],Object.keys(e).forEach(function(e){isNaN(e)&&r.push(e)}),r.map(function(e){return{name:e,value:t[e],type:t}});var e,r}))},d.parse=function(e,t){return void 0===t&&(t=!1),e&&""!==e?(t?new s(e).replaceCommentsToChar(" "):new s(e).replaceCommentsToChar()).getCriteria():null},d.create=function(e){var t=null;switch(e.type){case c.BinaryOperatorType:t=new c.BinaryOperator(new p.OperandProperty,new h.OperandValue,e.value);break;case f.GroupOperatorType:t=new f.GroupOperator(e.value,[]);break;case v.FunctionOperatorType:t=new v.FunctionOperator(e.value,[new p.OperandProperty]);break;case g.BetweenOperator:t=new g.BetweenOperator(new p.OperandProperty,new h.OperandValue,new h.OperandValue);break;case m.InOperator:t=new m.InOperator(new p.OperandProperty,[new h.OperandValue]);break;case x.UnaryOperatorType:t=new x.UnaryOperator(e.value,new p.OperandProperty);break;case y.Aggregate:var r=new y.AggregateOperand(new p.OperandProperty,null,e.value,new f.GroupOperator(f.GroupOperatorType.And,[])),t=e.value===y.Aggregate.Exists?r:(e.value!==y.Aggregate.Count&&(r.aggregatedExpression=new p.OperandProperty),new c.BinaryOperator(r,new h.OperandValue,c.BinaryOperatorType.Equal));break;default:throw Error("Unsupported operator type")}return e.reverse?new x.UnaryOperator(x.UnaryOperatorType.Not,t):t},d.and=function(e,t){return f.GroupOperator.combine(f.GroupOperatorType.Or,[e,t])},d.or=function(e,t){return f.GroupOperator.combine(f.GroupOperatorType.Or,[e,t])},d.getNotValidRange=function(e,t){var r=0,i=t.split("\n"),t=i[1],i=i[2].length;return 0===t.indexOf("...")&&(t=t.split("...")[1]),{start:r=e.indexOf(t),end:r+i}},Object.defineProperty(d.prototype,"displayType",{get:function(){return this.operatorType},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"enumType",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"leftPart",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rightPart",{get:function(){return null},enumerable:!0,configurable:!0}),d.prototype.assignFrom=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0);var i=e;e instanceof x.UnaryOperator&&!(e.leftPart instanceof p.OperandProperty)&&(i=e.leftPart),t?this.assignLeftPart(i.leftPart):this.assignLeftPart(i),i.rightPart&&r&&this.assignRightPart(i)},d.prototype.children=function(){var e=[];return this.leftPart&&e.push.apply(e,i.isArray(this.leftPart)?this.leftPart:[this.leftPart]),this.rightPart&&e.push.apply(e,i.isArray(this.rightPart)?this.rightPart:[this.rightPart]),e},d.prototype.accept=function(e){throw"Not implemented"},d);function d(){var i=this;this.type="Default",this.operands=null,this.changeValueType=function(e,t){e=new e;return null!==t.index?i[t.name][t.index]=e:i[t.name]=e,e},this.changeValue=function(e,t,r){e=t?new x.UnaryOperator(x.UnaryOperatorType.Minus,e):e;return null!==r.index?i[r.name][r.index]=e:i[r.name]=e,e},this.assignLeftPart=function(e){},this.assignRightPart=function(e){},this.assignType=function(e){i.operatorType=e},this.resetrightPart=function(e){}}t.CriteriaOperator=l;var c=r(20),p=r(13),h=r(10),f=r(15),v=r(16),g=r(33),m=r(32),x=r(12),y=r(11),b=r(78)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),o=r(0),n=r(80),a=(s.prototype.data=function(e,t){if(this._data[this.templateName]=this._data[this.templateName]||{},1===arguments.length)return this._data[this.templateName][e];this._data[this.templateName][e]=t},s.prototype.text=function(e){if(0===arguments.length){var t=this._templates[this.templateName];if(!t)throw new Error("Cannot find template with ID "+this.templateName);return t}this._templates[this.templateName]=e},s);function s(e,t,r){this._data=t,this._templates=r,this.templateName=e}var u=(Object.defineProperty(l,"Instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!0,configurable:!0}),Object.defineProperty(l,"templates",{get:function(){return l.Instance._templates},enumerable:!0,configurable:!0}),l.addTemplates=function(e){o.utils.extend(l.templates,e)},l.getExistingTemplate=function(e){return l.Instance._hasTemplate(e)?e:void 0},l);function l(){var t=this;this._hasTemplate=function(e){return t._templates.hasOwnProperty(e)},this._data={},this._templates={}}t.SvgTemplatesEngine=u;var d=o.templateEngine.prototype.makeTemplateSource;o.templateEngine.prototype.makeTemplateSource=function(e,t){return"string"==typeof e&&u.getExistingTemplate(e)&&!document.getElementById(e)?new a(e,u._instance._data,u.templates):d.apply(this,[e,t])},t.getTemplate=function(e){return e="#"===e[0]?e.substr(1):e,i("#"+e).text()||u.templates[e]},r(141),u.addTemplates(n.extendedTemplates(u.templates))},function(e,t){e.exports={default:""}},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=t(1),n=t(2),a=t(137),r=t(4);function s(e){r.extend(o.messages,e)}function u(e){return c(e)||e}function l(e,t,r){void 0===t&&(t=null),void 0===r&&(r=o.removeWinSymbols);var i=t&&c(t)||u(e);return d(i=t&&function(e,t){void 0===t&&(t=o.removeWinSymbols);var r=c(e);if(r&&t&&(-1!==r.indexOf("&")||-1!==r.indexOf("<u>")||-1!==r.indexOf("</u>"))){t={};return t[e]=r.replace("&","").replace("<u>","").replace("</u>",""),s(t),t[e]}}(t,r)||i)&&(e=i),d(e)?u(e):i}function d(e){return!!o.custom_localization_values[e]}function c(e){return o.messages[e]}o.loadMessages=s,o.getLocalization=l,o.removeWinSymbols=!0,o.Globalize=o.Globalize||window.Globalize,o.messages={},o.custom_localization_values={},o.selectPlaceholder=function(){return l("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")},o.noDataText=function(){return l("No data to display","AnalyticsCoreStringId.DataPreview_Empty")},o.searchPlaceholder=function(){return l("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")},o.resolveFromPromises=function(e,t){var r=i.Deferred();return 0<e.length?i.when.apply(i,e).done(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach(function(e){return s(e[0])})}).always(function(){return r.resolve(t())}):r.resolve(t()),r},o.applyLocalizationToDevExtreme=function(e){var t,r,i;e&&(t=(r=a.message.getMessagesByLocales())[e]||{},r=r[e.split("-")[0]]||{},t["dxList-selectAll"]||r["dxList-selectAll"]||(i=o.messages["AnalyticsCoreStringId.SelectAll"])&&(t["dxList-selectAll"]=i),(i={})[e]=t,a.loadMessages(i))},o.isCustomizedWithUpdateLocalizationMethod=d,o.localize=c,o.formatDate=function(e){return a.formatDate(e,"shortDate")},o.parseDate=function(e,t,r){return void 0===t&&(t=!0),t?e?e instanceof Date?e:n.deserializeDate(e):null:r?a.parseDate(e,r):a.parseDate(e,void 0)}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),s=r(21),u=r(9),o=(n=a.CriteriaOperator,o(l,n),l.prototype._processStringValue=function(e){e=e.slice(1,e.length-1);return-1!==e.indexOf("''")&&(e=e.replace("''","'")),e},Object.defineProperty(l.prototype,"displayType",{get:function(){return this.value||"?"},enumerable:!0,configurable:!0}),l);function l(e){var t=n.call(this)||this;t.type="Value";var r=null!=e?e:"",i=s.validateGuid(e);return e&&e.length&&("'"===e[0]&&"'"===e[e.length-1]||i)?(t.specifics="string",i&&"{"===e[0]&&"}"===e[e.length-1]&&(t.specifics="guid"),r=t._processStringValue(e)):e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]?(r=e.slice(1,e.length-1),r=(r=u.parseDate(r))||u.parseDate(e.slice(1,e.length-1))):"true"!==String(e).toLowerCase()&&"false"!==String(e).toLowerCase()||(r="true"===String(e).toLowerCase()?"True":"False"),t.value=r,t}t.OperandValue=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),s=r(15),u=r(12);(r=n=t.Aggregate||(t.Aggregate={}))[r.Count=0]="Count",r[r.Exists=1]="Exists",r[r.Min=2]="Min",r[r.Max=3]="Max",r[r.Avg=4]="Avg",r[r.Sum=5]="Sum",r[r.Single=6]="Single";var l,o=(l=a.CriteriaOperator,o(d,l),Object.defineProperty(d.prototype,"displayType",{get:function(){return n[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"enumType",{get:function(){return n},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"leftPart",{get:function(){return this.property},enumerable:!0,configurable:!0}),d.prototype.children=function(){var e=[];return this.condition&&e.push(this.condition),this.aggregatedExpression&&e.push(this.aggregatedExpression),e},d.prototype.accept=function(e){return e.visitAggregateOperand?e.visitAggregateOperand(this):new d(this.property&&this.property.accept(e),this.aggregatedExpression&&this.aggregatedExpression.accept(e),this.operatorType,this.condition&&this.condition.accept(e))},d);function d(e,t,r,i){var o=l.call(this)||this;return o.change=function(e,t){var r=null;return e.type===s.GroupOperatorType&&(r=a.CriteriaOperator.create(e),(e.type!==r.enumType?r.leftPart:r).assignFrom(t),o.condition=r),r},o.assignLeftPart=function(e){e.leftPart instanceof d?o.assignFrom(e.leftPart):a.CriteriaOperator instanceof d?(o.property=e.property,o.aggregatedExpression&&e.aggregatedExpression&&(o.aggregatedExpression=e.aggregatedExpression),o.condition=e.property):o.property=e.leftPart},o.type="Aggregate",o.property=e,i instanceof s.GroupOperator?o.condition=i:i instanceof u.UnaryOperator&&i.operatorType===u.UnaryOperatorType.Not?i.operand instanceof s.GroupOperator?o.condition=new u.UnaryOperator(u.UnaryOperatorType.Not,i.operand):o.condition=new u.UnaryOperator(u.UnaryOperatorType.Not,new s.GroupOperator(s.GroupOperatorType.And,i.operand?[i.operand]:[])):o.condition=new s.GroupOperator(s.GroupOperatorType.And,i?[i]:[]),o.operatorType=r,o.aggregatedExpression=t,o}t.AggregateOperand=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6);(r=n=t.UnaryOperatorType||(t.UnaryOperatorType={}))[r.Minus=0]="Minus",r[r.Plus=1]="Plus",r[r.BitwiseNot=2]="BitwiseNot",r[r.Not=3]="Not",r[r.IsNull=4]="IsNull";var s,o=(s=a.CriteriaOperator,o(u,s),Object.defineProperty(u.prototype,"leftPart",{get:function(){return this.operand},enumerable:!0,configurable:!0}),u.prototype.assignFrom=function(e){this.operatorType===n.Not?e instanceof u?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):this.operand=e instanceof u?e.operand.leftPart:e.leftPart||e},Object.defineProperty(u.prototype,"displayType",{get:function(){return n[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"enumType",{get:function(){return n},enumerable:!0,configurable:!0}),u.prototype.accept=function(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new u(this.operatorType,this.operand&&this.operand.accept(e))},u);function u(e,t){var r=s.call(this)||this;return r.type="Unary",r.operand=t||new a.CriteriaOperator,r.operatorType=e,r}t.UnaryOperator=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,r=r(6),o=(n=r.CriteriaOperator,o(a,n),Object.defineProperty(a.prototype,"displayType",{get:function(){return"["+this.propertyName+"]"},enumerable:!0,configurable:!0}),a.prototype.accept=function(e){return e.visitOperandProperty?e.visitOperandProperty(this):new a(this.propertyName)},a);function a(e,t,r,i){void 0===e&&(e=""),void 0===t&&(t=-1),void 0===r&&(r=-1),void 0===i&&(i=0);var o=n.call(this)||this;return o.type="Property",o.propertyName=e,o.originalPropertyLength=i,o.startPosition={column:t,line:r},o}t.OperandProperty=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,n=r(1);function s(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}(r=o=t.SearchMode||(t.SearchMode={}))[r.contains=0]="contains",r[r.startWith=1]="startWith",t._getFileContent=s;var a="dxd-fileuploader-input";function u(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function l(e,t,r){return r=r||e.length-t,e.slice(0,t)+e.slice(t+r,e.length)}function d(e,t,r){return e.substring(0,t)+r+e.substring(t)}t.uploadFile=function(e){var t,r=n.Deferred(),i=document.getElementById(a);return i||((t=document.createElement("input")).type="file",t.id=a,t.style.width="0px",t.style.height="0px",t.style.display="none",document.body.appendChild(t),i=t),i.accept=e.accept,i.onchange=function(){!function(e,t,r){try{for(var i=e.files,o=0;o<i.length;o++){var n=i[o];if("img"===r.type)if(!n.type.match(/image.*/))continue;var a=new FileReader;a.onload=function(){try{t.resolve({format:n.name.split(".").pop(),content:s(a.result,r.readMode)})}catch(e){t.reject()}},"text"!==r.readMode?a.readAsDataURL(n):a.readAsText(n)}}catch(e){t.reject()}}(i,r,e),i.value=""},i.click(),r.promise()},t.setUploadFile=function(e){t.uploadFile=e},t.compareEditorInfo=function(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType},t.findMatchesInString=function(e,t,r){if(r)return i=r.canUseRegex?t:u(t),r.searchMode!=o.startWith||r.canUseRegex||(i="^"+i),t="",r.caseSensitive||(t+="i"),r.globalMatch&&(t+="g"),!!e&&e.match(new RegExp(i,t));var i=u(t);return!!e&&e.match(new RegExp(i,"gi"))},t.escapeToRegExp=u,t.stringRemove=l,t.stringReplace=function(e,t,r,i){return void 0===i&&(i=""),e=d(e=l(e,t,r),t,Array(r+1).join(i))},t.stringInsert=d,t.formatUnicorn=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=e.toString();if(t.length){var o,e=typeof t[0],n="string"==e||"number"==e?Array.prototype.slice.call(t):t[0];for(o in n)i=i.replace(new RegExp("\\{"+o+"\\}","gi"),n[o])}return i}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(6),n=r(38),u=r(20),l=r(10),d=r(11);(r=a=t.GroupOperatorType||(t.GroupOperatorType={}))[r.And=0]="And",r[r.Or=1]="Or";var c,o=(c=s.CriteriaOperator,o(p,c),p.combine=function(t,e){var r=[];return(e||[]).forEach(function(e){e instanceof p&&e.operatorType===t?r.push.apply(r,e.operands):r.push(e)}),1===r.length?r[0]:n.criteriaCreator.process("group",{operands:r,operation:t})},p.prototype.children=function(){return this.operands},Object.defineProperty(p.prototype,"displayType",{get:function(){return a[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"enumType",{get:function(){return a},enumerable:!0,configurable:!0}),p.prototype.accept=function(t){return t.visitGroupOperator?t.visitGroupOperator(this):new p(this.operatorType,this.operands&&this.operands.map(function(e){return e.accept(t)}))},p);function p(e,t){var n=c.call(this)||this;return n.create=function(e,t,r){var i=new u.BinaryOperator(t,new l.OperandValue(""),u.BinaryOperatorType.Equal);return e?i=new p(a.And,[]):r&&"list"===r&&(i=new d.AggregateOperand(t,null,d.Aggregate.Exists,new p(a.And,[]))),n.operands.push(i),n.operands[n.operands.indexOf(i)]},n.change=function(e,t,r){void 0===r&&(r=!1);var i=n.operands.indexOf(t);if(-1===i)throw Error("dont have this element in operands collection");var o=s.CriteriaOperator.create(e);return e.type!==o.enumType?o.leftPart.assignFrom(t):o.assignFrom(t,r,!e.emptyRightPart),n.operands[i]=o,t=null,n.operands[i]},n.remove=function(e){n.operands.splice(n.operands.indexOf(e),1)},n.assignLeftPart=function(e){n.operands=e.operands},n.operands=[],n.type="Group",n.operatorType=e,(t=t||[new s.CriteriaOperator,new s.CriteriaOperator]).forEach(function(e){return n.operands.push(e)}),n}t.GroupOperator=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),s=r(27),u=r(10);(r=n=t.FunctionOperatorType||(t.FunctionOperatorType={}))[r.None=0]="None",r[r.Custom=1]="Custom",r[r.CustomNonDeterministic=2]="CustomNonDeterministic",r[r.Iif=3]="Iif",r[r.IsNull=4]="IsNull",r[r.IsNullOrEmpty=5]="IsNullOrEmpty",r[r.Trim=6]="Trim",r[r.Len=7]="Len",r[r.Substring=8]="Substring",r[r.Upper=9]="Upper",r[r.Lower=10]="Lower",r[r.Concat=11]="Concat",r[r.Ascii=12]="Ascii",r[r.Char=13]="Char",r[r.ToStr=14]="ToStr",r[r.Replace=15]="Replace",r[r.Reverse=16]="Reverse",r[r.Insert=17]="Insert",r[r.CharIndex=18]="CharIndex",r[r.Remove=19]="Remove",r[r.Abs=20]="Abs",r[r.Sqr=21]="Sqr",r[r.Cos=22]="Cos",r[r.Sin=23]="Sin",r[r.Atn=24]="Atn",r[r.Exp=25]="Exp",r[r.Log=26]="Log",r[r.Rnd=27]="Rnd",r[r.Tan=28]="Tan",r[r.Power=29]="Power",r[r.Sign=30]="Sign",r[r.Round=31]="Round",r[r.Ceiling=32]="Ceiling",r[r.Floor=33]="Floor",r[r.Max=34]="Max",r[r.Min=35]="Min",r[r.Acos=36]="Acos",r[r.Asin=37]="Asin",r[r.Atn2=38]="Atn2",r[r.BigMul=39]="BigMul",r[r.Cosh=40]="Cosh",r[r.Log10=41]="Log10",r[r.Sinh=42]="Sinh",r[r.Tanh=43]="Tanh",r[r.PadLeft=44]="PadLeft",r[r.PadRight=45]="PadRight",r[r.StartsWith=46]="StartsWith",r[r.EndsWith=47]="EndsWith",r[r.Contains=48]="Contains",r[r.ToInt=49]="ToInt",r[r.ToLong=50]="ToLong",r[r.ToFloat=51]="ToFloat",r[r.ToDouble=52]="ToDouble",r[r.ToDecimal=53]="ToDecimal",r[r.LocalDateTimeThisYear=54]="LocalDateTimeThisYear",r[r.LocalDateTimeThisMonth=55]="LocalDateTimeThisMonth",r[r.LocalDateTimeLastWeek=56]="LocalDateTimeLastWeek",r[r.LocalDateTimeThisWeek=57]="LocalDateTimeThisWeek",r[r.LocalDateTimeYesterday=58]="LocalDateTimeYesterday",r[r.LocalDateTimeToday=59]="LocalDateTimeToday",r[r.LocalDateTimeNow=60]="LocalDateTimeNow",r[r.LocalDateTimeTomorrow=61]="LocalDateTimeTomorrow",r[r.LocalDateTimeDayAfterTomorrow=62]="LocalDateTimeDayAfterTomorrow",r[r.LocalDateTimeNextWeek=63]="LocalDateTimeNextWeek",r[r.LocalDateTimeTwoWeeksAway=64]="LocalDateTimeTwoWeeksAway",r[r.LocalDateTimeNextMonth=65]="LocalDateTimeNextMonth",r[r.LocalDateTimeNextYear=66]="LocalDateTimeNextYear",r[r.IsOutlookIntervalBeyondThisYear=67]="IsOutlookIntervalBeyondThisYear",r[r.IsOutlookIntervalLaterThisYear=68]="IsOutlookIntervalLaterThisYear",r[r.IsOutlookIntervalLaterThisMonth=69]="IsOutlookIntervalLaterThisMonth",r[r.IsOutlookIntervalNextWeek=70]="IsOutlookIntervalNextWeek",r[r.IsOutlookIntervalLaterThisWeek=71]="IsOutlookIntervalLaterThisWeek",r[r.IsOutlookIntervalTomorrow=72]="IsOutlookIntervalTomorrow",r[r.IsOutlookIntervalToday=73]="IsOutlookIntervalToday",r[r.IsOutlookIntervalYesterday=74]="IsOutlookIntervalYesterday",r[r.IsOutlookIntervalEarlierThisWeek=75]="IsOutlookIntervalEarlierThisWeek",r[r.IsOutlookIntervalLastWeek=76]="IsOutlookIntervalLastWeek",r[r.IsOutlookIntervalEarlierThisMonth=77]="IsOutlookIntervalEarlierThisMonth",r[r.IsOutlookIntervalEarlierThisYear=78]="IsOutlookIntervalEarlierThisYear",r[r.IsOutlookIntervalPriorThisYear=79]="IsOutlookIntervalPriorThisYear",r[r.IsLastMonth=80]="IsLastMonth",r[r.IsLastYear=81]="IsLastYear",r[r.IsNextMonth=82]="IsNextMonth",r[r.IsNextYear=83]="IsNextYear",r[r.IsThisWeek=84]="IsThisWeek",r[r.IsThisMonth=85]="IsThisMonth",r[r.IsThisYear=86]="IsThisYear",r[r.IsJanuary=87]="IsJanuary",r[r.IsFebruary=88]="IsFebruary",r[r.IsMarch=89]="IsMarch",r[r.IsApril=90]="IsApril",r[r.IsMay=91]="IsMay",r[r.IsJune=92]="IsJune",r[r.IsJuly=93]="IsJuly",r[r.IsAugust=94]="IsAugust",r[r.IsSeptember=95]="IsSeptember",r[r.IsOctober=96]="IsOctober",r[r.IsNovember=97]="IsNovember",r[r.IsDecember=98]="IsDecember",r[r.IsSameDay=99]="IsSameDay",r[r.IsYearToDate=100]="IsYearToDate",r[r.DateDiffTick=101]="DateDiffTick",r[r.DateDiffSecond=102]="DateDiffSecond",r[r.DateDiffMilliSecond=103]="DateDiffMilliSecond",r[r.DateDiffMinute=104]="DateDiffMinute",r[r.DateDiffHour=105]="DateDiffHour",r[r.DateDiffDay=106]="DateDiffDay",r[r.DateDiffMonth=107]="DateDiffMonth",r[r.DateDiffYear=108]="DateDiffYear",r[r.GetDate=109]="GetDate",r[r.GetMilliSecond=110]="GetMilliSecond",r[r.GetSecond=111]="GetSecond",r[r.GetMinute=112]="GetMinute",r[r.GetHour=113]="GetHour",r[r.GetDay=114]="GetDay",r[r.GetMonth=115]="GetMonth",r[r.GetYear=116]="GetYear",r[r.GetDayOfWeek=117]="GetDayOfWeek",r[r.GetDayOfYear=118]="GetDayOfYear",r[r.GetTimeOfDay=119]="GetTimeOfDay",r[r.Now=120]="Now",r[r.UtcNow=121]="UtcNow",r[r.Today=122]="Today",r[r.AddTimeSpan=123]="AddTimeSpan",r[r.AddTicks=124]="AddTicks",r[r.AddMilliSeconds=125]="AddMilliSeconds",r[r.AddSeconds=126]="AddSeconds",r[r.AddMinutes=127]="AddMinutes",r[r.AddHours=128]="AddHours",r[r.AddDays=129]="AddDays",r[r.AddMonths=130]="AddMonths",r[r.AddYears=131]="AddYears",r[r.OrderDescToken=132]="OrderDescToken";var l,o=(l=a.CriteriaOperator,o(d,l),Object.defineProperty(d.prototype,"leftPart",{get:function(){return this.operands[0]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rightPart",{get:function(){return this.operands.filter(function(e,t){return 0!==t})},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"displayType",{get:function(){return n[this.operatorType]||this.operatorType.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"enumType",{get:function(){return n},enumerable:!0,configurable:!0}),d.prototype.accept=function(t){return t.visitFunctionOperator?t.visitFunctionOperator(this):new d(this.operatorType,this.operands&&this.operands.map(function(e){return e.accept(t)}))},d);function d(e,t){var r=l.call(this)||this;return r.toString=function(e){var t=(s.operatorTokens[r.displayType]||r.displayType)+"("+r.operands.map(function(e){return e.toString()}).join(", ")+")";return e?"Not "+t:t},r.assignLeftPart=function(e){r.operands=[e.leftPart]},r.assignRightPart=function(e){null!==e.rightPart.length&&void 0!==e.rightPart.length?e.rightPart.length?r.operands.push(e.rightPart[0]):r.operands.push(new u.OperandValue):r.operands.push(e.rightPart)},r.operands=[],r.type="Function",r.operatorType=e,(t=t||[new a.CriteriaOperator]).forEach(function(e){return r.operands.push(e)}),r}t.FunctionOperator=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(2),u=r(13),l=r(3),d=r(16),o=(n=s.Disposable,o(c,n),c.prototype._createLeftPartProperty=function(e){var t,r=this;return e instanceof u.OperandProperty?t=this.createChildSurface(e):(t=this.createChildSurface(e),e=Object.keys(this.helper.filterEditorOperators).reduce(function(e,t){return"_common"!==t&&"integer"===e&&r.helper._getFilterEditorOperator(r.model,r.helper.filterEditorOperators[t],r.reverse)&&(e=t),e},"integer"),t.specifics=t.specifics||a.observable(e)),t.canChange=!1,t.canRemove=!1,t instanceof p.AggregateOperandSurface?(this.specifics=a.computed(function(){return t.aggregatedExpression()&&t.aggregatedExpression().specifics()||"integer"}),this.dataType=a.computed(function(){return t.aggregatedExpression()&&t.aggregatedExpression().dataType()||"integer"}),this._disposables.push(this.specifics),this._disposables.push(this.dataType)):(this.specifics=t.specifics,this.dataType=t.dataType),t},c.prototype.createChildSurface=function(e,t,r){return new this.helper.mapper[e.type](e,this,this.fieldListProvider,t||this.path)},c.prototype.getDisplayType=function(){var e=this.operatorType&&this.operatorType()||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||l.getLocalization(t.name,t.localizationId))||e},Object.defineProperty(c.prototype,"items",{get:function(){return this.helper.filterEditorOperators[this.specifics()]||this.helper.filterEditorOperators._common},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"displayType",{get:function(){return this.getDisplayType()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"leftPart",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rightPart",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"css",{get:function(){return this.operatorClass+(this.isSelected()?" selected":"")},enumerable:!0,configurable:!0}),c.prototype.change=function(e,t){!t&&e&&this.model.enumType===e.type&&this.reverse===e.reverse&&e.type!==d.FunctionOperatorType?this.operatorType(e.value):this.parent.change(e,this),this.helper.onChange()},c.prototype.remove=function(e){this.parent.remove(this),this.helper.onChange()},c);function c(e,t,r,i){var o=n.call(this)||this;return o.canRemove=!0,o.operatorType=a.observable(null),o.templateName="dx-filtereditor-common",o.isSelected=a.observable(!1),o.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",o.popupService=t.popupService||{visible:a.observable(!1)},o.model=e,o.helper=t.helper,o.fieldListProvider=r,o.path=i,o.parent=t,o.operatorType(e.operatorType),o._disposables.push(o.operatorType.subscribe(function(e){o.model.assignType(e)})),o}t.CriteriaOperatorSurface=o;var p=r(49)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(4),r=(o.prototype.register=function(e,t){if(this._editorTemplates[e]&&!this._editorTemplates[e]._deferred)throw Error("Editor with name "+e+" is already exists");this._editorTemplates[e]?(delete this._editorTemplates[e]._deferred,i.extend(this._editorTemplates[e],t)):this._editorTemplates[e]=t},o.prototype.unregister=function(e){delete this._editorTemplates[e]},o.prototype.registerEditors=function(e){for(var t in e)this.register(t,e[t])},o.prototype.getEditor=function(e){return!this._editorTemplates[e]&&this._useDeferredRegistration&&(this._editorTemplates[e]={_deferred:!0}),this._editorTemplates[e]},o);function o(e){void 0===e&&(e=!0),this._useDeferredRegistration=e,this._editorTemplates={}}t.EditorTemplates=r,t.editorTemplates=new r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(173),s=r(1),u=r(3),l=r(14),d=r(26),c=r(6),p=r(28),h=r(13),f=r(27),o=r(40);t.integerValueConverter=function(e,t,r){return e=""+e,o.ValueEditorHelper.isValid(r,"integer",e)?e:t},t.validateExpression=function(n){var r=s.Deferred();try{var a=[],o=function(t,r,e){void 0===e&&(e=!1);var i=l.formatUnicorn(u.getLocalization("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),e?"?"+r:"["+r+"]"),o=s.Deferred();n.fieldListProvider.getItemByPath(new d.PathRequest(t)).done(function(e){return o.resolve({success:!0})}).fail(function(e){t===r?o.resolve({success:!1,message:i}):n.fieldListProvider.getItemByPath(new d.PathRequest([t.split(".")[0],r].join("."))).done(function(e){return o.resolve({success:!0})}).fail(function(e){return o.resolve({success:!1,message:i})})}),a.push(o)},e=c.CriteriaOperator.parse(n.expression);f.criteriaForEach(e,function(e,t){var r,i;e instanceof h.OperandProperty?(i=r=0===e.propertyName.indexOf("^.")?e.propertyName.substring(2):e.propertyName,-1===(n.rootItems||[]).indexOf(r.split(".")[0])&&t&&(i=r?[t,r].join("."):t),o(i,r)):e instanceof p.OperandParameter&&(e=e.parameterName,o("Parameters."+e,e,!0))},n.path),s.when.apply(s,a).done(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.resolve(e.reduce(function(e,t){return t.success||(e=e?[e,t.message].join("\n"):t.message),e},""))})}catch(e){r.reject()}return r.promise()},t.floatValueConverter=function(e,t,r){return e=""+e,o.ValueEditorHelper.isValid(r,"float",e)?e:t};var n=["generic.light","generic.carmine","generic.greenmist","generic.softblue","generic.light.compact","generic.carmine.compact","generic.greenmist.compact","generic.softblue.compact"],a=["generic.dark","generic.contrast","generic.dark.compact","generic.darkmoon","generic.darkviolet","generic.contras.compact","generic.darkmoon.compact","generic.darkviolet.compact"];t.isDarkTheme=function(e){return e=e||i.default.current(),-1!==s.inArray(e,a)||(s.inArray(e,n),!1)},t._setIsDarkTheme=function(e){t.isDarkTheme=e},t.setCursorInFunctionParameter=function(e,t,r){var i;!e||e<=0||(i=t.getCursorPosition(),e=r.lastIndexOf("("),"'"===r.charAt(e+1)&&e++,t.gotoLine(i.row+1,i.column-(r.length-1-e)))},t.isList=function(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics},t.getParentContainer=function(e,t){return void 0===t&&(t=".dx-designer-viewport"),s(e).closest(t)},t.isNullOrEmptyString=function(e){return null==e||""===e}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),s=r(27);(r=n=t.BinaryOperatorType||(t.BinaryOperatorType={}))[r.Equal=0]="Equal",r[r.NotEqual=1]="NotEqual",r[r.Greater=2]="Greater",r[r.Less=3]="Less",r[r.LessOrEqual=4]="LessOrEqual",r[r.GreaterOrEqual=5]="GreaterOrEqual",r[r.Like=6]="Like",r[r.BitwiseAnd=7]="BitwiseAnd",r[r.BitwiseOr=8]="BitwiseOr",r[r.BitwiseXor=9]="BitwiseXor",r[r.Divide=10]="Divide",r[r.Modulo=11]="Modulo",r[r.Multiply=12]="Multiply",r[r.Plus=13]="Plus",r[r.Minus=14]="Minus";var u,o=(u=a.CriteriaOperator,o(l,u),Object.defineProperty(l.prototype,"leftPart",{get:function(){return this.leftOperand},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rightPart",{get:function(){return this.rightOperand},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"displayType",{get:function(){return s.operatorTokens[n[this.operatorType]]||n[this.operatorType]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"enumType",{get:function(){return n},enumerable:!0,configurable:!0}),l.prototype.accept=function(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new l(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)},l);function l(e,t,r){var i=u.call(this)||this;return i.assignLeftPart=function(e){i.leftOperand=e.leftPart},i.assignRightPart=function(e){null!==e.rightPart.length&&void 0!==e.rightPart.length?e.rightPart.length&&(i.rightOperand=e.rightPart[0]):i.rightOperand=e.rightPart},i.type="Binary",i.leftOperand=e||new a.CriteriaOperator,i.rightOperand=t||new a.CriteriaOperator,i.operatorType=r,i}t.BinaryOperator=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(3);function o(e){return/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e)||/^\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}$/.test(e)||/^\([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)$/.test(e)||/^[0-9a-fA-F]{32}$/.test(e)}function n(e){return!e||o(e)}t.propertiesGridEditorsPaddingLeft=19,t.validateGuid=function(e){return e&&o(e)},t.validateNullableGuid=n;function a(){return i.getLocalization("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error")}t.guidValidationRules=[{type:"custom",validationCallback:function(e){return n(e.value)},get message(){return a()}}],t.guidRequiredValidationRules=[{type:"required",get message(){return a()}}];r={type:"required",get message(){return i.getLocalization("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}};t.requiredValidationRules=[r]},function(e,r,t){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this;Object.defineProperty(r,"__esModule",{value:!0});var v=t(1),g=t(0),m=t(3),n=t(9),x=t(61),a=t(5),d=t(4),s=t(19),y=t(29),b=t(81),_=t(82),C=t(83),c=t(84),A=t(86),p=t(59),E=t(64),w=t(88),O=t(89),I=t(65),F=t(90),S=t(66),P=t(92),h=t(60),u=t(67);function l(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}function f(i,e,t,o,n,r,a,s){void 0===a&&(a=function(e){return!e.success}),void 0===s&&(s=h.getErrorMessage);var u,l=v.Deferred();return void 0!==e&&void 0!==t&&(u={actionKey:e,arg:t}),c.ajaxSetup.sendRequest(d.extend({},{type:"POST",data:u,url:i},r)).fail(function(e,t,r){n&&n()?l.reject():(p._errorProcessor.call({jqXHR:e,textStatus:t,errorThrown:r,getRequestDetails:function(){return u||i}}),p._processError(r,l,e,t,o))}).done(function(e,t,r){e?a(e)?n&&n()?l.reject():(p._errorProcessor.call({jqXHR:r,textStatus:t,data:e,errorThrown:s(r),getRequestDetails:function(){return u||i}}),p._processError("Internal Server Error",l,r,t,o)):l.resolve(e.result):l.reject()}),l.promise()}function D(e){return f(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage)}r.copyObservables=function t(r,i){Object.keys(r||{}).forEach(function(e){g.isObservable(r[e])?i[e](r[e]()):v.isFunction(r[e])||t(r[e],i[e])})},r._wrapModelInObservable=function(e){return g.isWritableObservable(e)?e:g.observable(null)},r.compareObjects=function r(i,o){var n=i&&o&&!(i instanceof Array)&&!(o instanceof Array);return(n=n&&Object.getOwnPropertyNames(i).length===Object.getOwnPropertyNames(o).length)&&Object.keys(i||{}).some(function(e){if(0!==e.indexOf("_")&&("function"!=typeof i[e]||g.isObservable(i[e]))){if(g.isObservable(i[e]))n=g.unwrap(i[e])===g.unwrap(o[e]);else if(i[e]instanceof Array)if(o[e]instanceof Array&&i[e].length===o[e].length)for(var t=0;t<i[e].length&&!1!==(n=r(i[e][t],o[e][t]));t++);else n=!1;else n=i[e]instanceof Object?r(i[e],o[e]):i[e]===o[e];return!n}}),n},r.cssTransform=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"],r.DEBUG=!1,r.getFullPath=function(e,t){return e+(t?"."+t:"")},r.loadTemplates=function(){var e=v("script[type='text/html']").map(function(e,t){if(t.src){var i=v.Deferred();return v.get(t.src).done(function(e){-1===(t.text=e).indexOf('type="text/html"')&&-1===e.indexOf("type='text/html'")||v(document.body).append(e),i.resolve()}).fail(function(e,t,r){i.reject()}),i.promise()}});return v.when.apply(v.when,e)},r.getSizeFactor=l,r.staticContext={_static:{searchPlaceholder:function(){return n.searchPlaceholder()},selectPlaceholder:function(){return n.selectPlaceholder()},noDataText:function(){return n.noDataText()},ajaxSetup:c.ajaxSetup}},r._defaultStaticContext=a.createGlobalModuleVariableFunc({}),r.appendStaticContextToRootViewModel=function(e,t){void 0===t&&(t=r.staticContext),t&&(e.dx=i({},t,r._defaultStaticContext())),e.getLocalization=function(){return m.getLocalization.apply(e,arguments)},e.getPopupContainer=s.getParentContainer,e.surfaceClass=function(e){return"dx-designer-viewport dx-designer-viewport-"+l(e.clientWidth)+" "+(s.getParentContainer(e,".dx-theme-generic").length?"":" dx-theme-generic")}},r._ajax=f,r._ajaxWithOptions=D,r.ajax=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1<e.length?f.apply(o,e):D(e[0])},r.setAjax=function(e){r.ajax=e},r.cutRefs=function(e){return u.objectsVisitor(e,function(e){delete e["@Ref"]}),e},r.DesignerBaseElements={MenuButton:"dxrd-menubutton-template-base",Toolbar:"dxrd-toolbar-template-base",Toolbox:"dxrd-toolbox-template-base",Surface:"dxrd-surface-template-base",RightPanel:"dxrd-right-panel-template-base"},r.generateDefaultParts=function(e){return[{id:r.DesignerBaseElements.MenuButton,templateName:r.DesignerBaseElements.MenuButton,model:e},{id:r.DesignerBaseElements.Toolbar,templateName:r.DesignerBaseElements.Toolbar,model:e},{id:r.DesignerBaseElements.Toolbox,templateName:r.DesignerBaseElements.Toolbox,model:e},{id:r.DesignerBaseElements.Surface,templateName:r.DesignerBaseElements.Surface,model:e},{id:r.DesignerBaseElements.RightPanel,templateName:r.DesignerBaseElements.RightPanel,model:e}]},r.createActionWrappingFunction=function(r,i){return function(e){e.forEach(function(e){var t;e.wrappedWith&&-1!==e.wrappedWith.indexOf(r)||(t=e.clickAction,e.clickAction=function(e){return i(e,t)},e.wrappedWith=e.wrappedWith||[],e.wrappedWith.push(r))})}},r.createDesigner=function(e,r,i,t,o,n,a,s,u,l,d,c,p){void 0===t&&(t={}),void 0===o&&(o=[]);var h=new P.DesignerContextGenerator(a).addModel(e).addSurface(r).addUndoEngine(l).getContext(),f=new P.CommonDesignerGenerator(h,a);return f.mapOnContext().addSelection(function(t){t.selection=s||new O.SurfaceSelection,t.snapHelper=new F.SnapLinesHelper(r,F.SnapLinesHelper.snapTolerance,c||new I.SnapLinesCollector),t.editableObject=w.CombinedObject.getEditableObject(t.selection,h.undoEngine,d).extend({throttle:1}),t.addDragDrop(function(e){e.dragHelperContent=new b.DragHelperContent(t.selection),e.dragDropStarted=y.DragDropHandler.started,e.addDragDropHandler("dragHandler",new _.SelectionDragDropHandler(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent)),e.addDragDropHandler("toolboxDragHandler",new C.ToolboxDragDropHandler(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent,i))}),t.addResize(function(e){e.handler={starting:function(){s.expectClick=!0,h.undoEngine().start()},stopped:function(){h.undoEngine().end(),setTimeout(function(){s.expectClick=!1},100)},disabled:y.DragDropHandler.started,snapHelper:t.snapHelper}})}).addToolboxItems(function(){return E.getToolboxItems(i.controlsMap)}).addIsLoading().addControlProperties(o,t,p).addPopularProperties(i).addControlsHelper(function(e){e.addControlsHelper(u).addControlsStore()}).addTabPanel(void 0,function(){return[new S.TabInfo({text:"Properties",template:"dxrd-propertiestab",model:f.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:g.pureComputed(function(){return!!e()}),disabled:g.pureComputed(function(){return f.getModel().propertyGrid.focusedItem()instanceof Array}).extend({throttle:100})})]}).addContextActions(function(e){e.actionProviders=[],e.createDefaultActions(f.getModel().editableObject,f.getModel().undoEngine)}).addMenu(function(e){e.appMenuVisible=g.observable(!1),e.toggleAppMenu=function(){e.appMenuVisible(!e.appMenuVisible())},e.getMenuPopupContainer=function(e){return v(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container")},e.getMenuPopupTarget=function(e){return v(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")}}).addElement("inlineTextEdit",function(){return new A.InlineTextEdit(f.getModel().selection)}).addElement("actionsGroupTitle",function(){return function(){return m.getLocalization("Actions","AnalyticsCoreStringId.Actions")}}).addElement("updateFont",function(){return function(e){x.availableFonts(e)}}).addElement("sortFont",function(){return function(){var t={},r=x.availableFonts.peek();Object.keys(r).sort(function(e,t){return e.localeCompare(t)}).forEach(function(e){return t[e]=r[e]}),x.availableFonts(t)}}).addElement("surfaceSize",function(){return g.observable(0)}).addElement("popularVisible",function(){return g.pureComputed(function(){return f.getModel().popularProperties._editors().some(function(e){return e.visible()})||0<f.getModel().contextActions().length})}).addActionList().addParts().getModel()},r.localizeNoneString=function(e){return"none"===(e=g.unwrap(e))?m.getLocalization("none","DataAccessStringId.ParameterListEmpty"):"(none)"===e?"(none)"!==m.getLocalization("(none)","DxDesignerStringId.None")?m.getLocalization("(none)","DxDesignerStringId.None"):"("+m.getLocalization("none","DataAccessStringId.ParameterListEmpty")+")":e},r.parseZoom=function(e){return(e=Math.round(parseInt(e.replace("%","")))/100)?5<=e?5:e<=.1?.1:e:1},r.getResizableOptions=function(e,t,r,i,o,n,a){return{starting:function(){v(e).css(i===o?"right":"left","")},handles:i===o?"e":"w",stopped:v.noop,stop:v.noop,resize:function(){v(e).css({left:i===o?t:"",right:i===o?"":t}),n&&g.isObservable(n)&&n(v(e).width())},disabled:a||!1,zoom:1,minimumWidth:r,maximumWidth:1e3,$element:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(1);function n(e){return parseInt(e,10)||0}function i(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}t.findSurface=function(e){return e?e.surface:null},t.getControlNewAbsolutePositionOnResize=function(e,t,r,i){var o={top:t.top+i.y,left:t.left+i.x,bottom:t.top+r.originalSize.height,right:t.left+r.originalSize.width};return 0!==i.x?o.left=e.snapPosition(o.left,!1):0!==i.width&&(o.right=e.snapPosition(t.left+r.size.width,!1)),0!==i.y?o.top=e.snapPosition(o.top,!0):0!==i.height&&(o.bottom=e.snapPosition(t.top+r.size.height,!0)),o},t.getControlRect=function(e,t,r){var i=n(e.css("left")),o=n(e.css("top"));return!r.rtl()||(r=r.pageWidth()-r.margins.left()-e.width())<i&&(i=r),e=e[0].getBoundingClientRect(),{top:o,left:i,width:e.width,height:e.height}},t.minHeightWithoutScroll=i,t.chooseBetterPositionOf=function(e,t){return t&&(i(e)<i(t)?window:t)||window},t.updateSurfaceContentSize=function(o,n,a){return void 0===a&&(a=!1),function(){var e=s(n).find(".dxrd-designer").eq(0),t=e.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,r=(e.find(".dxrd-right-panel:visible").outerWidth()||0)+(e.find(".dxrd-right-tabs:visible").outerWidth()||0),i=r+t,i=e.width()-i;e.find(".dxrd-surface-wrapper").eq(0).css({left:a?r:t,right:a?t:r,width:i,bottom:e.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}),o(i)}}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var u,l=r(0),n=r(2),d=r(53),a=r(31),s=r(14),c=r(77),p=r(142),h=r(4),f=(u=n.Disposable,o(v,u),v.prototype.update=function(t){t&&this._editors().forEach(function(e){e.update(t)})},v.prototype._cleanEditorsSubscriptions=function(){this._editors().forEach(function(t){t.dispose(),Object.keys(t).forEach(function(e){l.isComputed(t[e])&&t[e].dispose()})})},v.prototype.dispose=function(){u.prototype.dispose.call(this),this.disposeObservableArray(this._editors),this.resetObservableArray(this._editors),this.cleanSubscriptions()},v.prototype.cleanSubscriptions=function(){this._infoSubscription&&this._infoSubscription.dispose(),this._getInfoComputed&&this._getInfoComputed.dispose(),this._viewModelSubscription&&this._viewModelSubscription.dispose(),this._cleanEditorsSubscriptions()},v.prototype.cleanEditors=function(){this._cleanEditorsSubscriptions(),this.resetObservableArray(this._editors)},v.prototype.findEditorByInfo=function(t){return this._editors().filter(function(e){return e.name===t.propertyName&&s.compareEditorInfo(e.info().editor,t.editor)})[0]},v.prototype.createEditor=function(e){e=new(e.editor&&e.editor.editorType||a.Editor)(e,this.level,this._parentDisabled,this._textToSearch,this.popupService);return e.assingParent(this._parent),e.registerAccessibilityProvider(this._accessibilityProvider),e},v.prototype.createEditors=function(e){var t=this;return(e||[]).filter(function(e){return!!e.editor&&!t.findEditorByInfo(e)}).map(function(e){return t.createEditor(e)})},v.prototype.registerAccessibilityProvider=function(t){this._accessibilityProvider=t,this._editors().forEach(function(e){e.registerAccessibilityProvider(t)})},v.prototype.assignParent=function(t){this._parent=t,this._editors().forEach(function(e){e.assingParent(t)})},v.prototype._createEditors=function(e){if(!e||0===e.length)return!1;var r,e=this.createEditors(e);e.length&&(0===(r=this._editors()).length?r=e:e.forEach(function(e){var t=r.map(function(e){return e.name}).indexOf(e.name);-1!==t?r.splice(t,0,e):r.push(e)}),this._editors(r))},v.prototype._update=function(t,e,r){var i=this;r&&this.cleanEditors(),this._getInfoComputed=l.computed(function(){return e&&e.editors&&l.unwrap(e.editors)||t&&t.getInfo&&t.getInfo()}),this._infoSubscription=this._getInfoComputed.subscribe(function(e){r&&i.cleanEditors(),i._recreateEditors(t,e)}),this._recreateEditors(t,this._getInfoComputed())},v.prototype._recreateEditors=function(e,t){this._createEditors(t),this.update(e)},v.prototype.getEditors=function(){return this._editors()},v);function v(e,t,r,i,o,n,a){void 0===r&&(r=0),void 0===i&&(i=l.observable(!1)),void 0===o&&(o=!1);var s=u.call(this)||this;return s._viewModelSubscription=null,s._infoSubscription=null,s._getInfoComputed=null,s._accessibilityProvider=d.defaultAccessibilityProvider,s.level=0,s.rtl=p.default().rtlEnabled,a&&(s.createEditorAddOn=function(e){var t=new c.EditorAddOn(e,s.popupService);return e._disposables.push(t),{templateName:t.templateName,data:t}},s.popupService=a),s._editors=l.observableArray([]).extend({deferred:!0}),s.level=r,s._parentDisabled=i,s._textToSearch=n,s._disposables.push(s.visible=l.computed(function(){return s._editors().some(function(e){return e.visible()})})),s._viewModelSubscription=e.subscribe(function(e){s._infoSubscription&&s._infoSubscription.dispose(),s._getInfoComputed&&s._getInfoComputed.dispose(),s._update(e,t,o)}),s._update(e(),t,o),s}t.ObjectProperties=f;var g,n=(g=a.Editor,o(m,g),m.prototype.createObjectProperties=function(){var e=this;return new f(this.value,{editors:l.computed(function(){return e.info().info})},this.level+1,this.disabled,void 0,this.textToSearch,this._popupService)},m.prototype.registerAccessibilityProvider=function(e){g.prototype.registerAccessibilityProvider.call(this,e),this.viewmodel.registerAccessibilityProvider(e)},m);function m(e,t,r,i,o){var n=g.call(this,e,t,r,i)||this;n._popupService=o,n.editorCreated=l.observable(!1),n.viewmodel=n.createObjectProperties(),h.isEmptyObject(n.viewmodel)||n.viewmodel.assignParent(n),n._disposables.push(n.viewmodel);var a=n.collapsed.subscribe(function(e){e||(a.dispose(),n.editorCreated(!0))});return n._disposables.push(a),i&&(n._disposables.push(n.visibleByName=l.computed(function(){var t=!!s.findMatchesInString(n.displayName(),i());return h.isEmptyObject(n.viewmodel)||n.viewmodel._editors().forEach(function(e){return e.isParentSearched(t)}),t})),n.isSearchedProperty.dispose&&n.isSearchedProperty.dispose(),n._disposables.push(n.isSearchedProperty=l.computed(function(){if(n.visibleByName())return!0;var e=n.viewmodel.visible();return e&&n.collapsed(!1),e}))),n}t.PropertyGridEditor=n;var x,n=(o(y,x=n),y.prototype.createObjectProperties=function(){return this.collapsed(!1),this.editorCreated(!0),this.level=-1,x.prototype.createObjectProperties.call(this)},y);function y(){return null!==x&&x.apply(this,arguments)||this}t.PropertyGridEditorFlat=n},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(17),u=r(12),l=r(15),o=(n=s.CriteriaOperatorSurface,o(d,n),Object.defineProperty(d.prototype,"leftPart",{get:function(){var e=this.operand();return this.operand()&&this.operand().reverse&&this.operand().leftPart&&(e=this.operand().leftPart),e},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rightPart",{get:function(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null},enumerable:!0,configurable:!0}),d.prototype.createChildSurface=function(e,t,r){return this.operatorType()!==u.UnaryOperatorType.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new l.GroupOperator(l.GroupOperatorType.And,[e])),n.prototype.createChildSurface.call(this,this.model.operand,t,r)},d.prototype.dispose=function(){this.operand().dispose(),n.prototype.dispose.call(this)},d);function d(e,t,r,i){r=n.call(this,e,t,r,i)||this;r.contentTemplateName="dx-filtereditor-unary",r.operand=a.observable(null);i=r.createChildSurface(e.operand);return e.operatorType===u.UnaryOperatorType.Not?(r.templateName="dx-filtereditor-not",i.reverse=!0,r.specifics=i.specifics):(i.dispose(),i=r._createLeftPartProperty(e.operand)),r.operand(i),r}t.UnaryOperandSurface=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(e,t){void 0===t&&(t=[]),this.pathParts=t,this.path="",(this.fullPath=e)&&(-1!==e.indexOf(".")?(t=e.split("."),this.id=this.ref=t[0],t.splice(0,1),this.path=t.join(".")):this.id=this.ref=e)}t.PathRequest=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(11);t.operatorTokens={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">="},t.criteriaForEach=function t(e,r,i){void 0===i&&(i=""),r(e,i),e instanceof o.AggregateOperand&&(e.leftPart&&t(e.leftPart,r,i),e.leftPart&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName)),e.children().forEach(function(e){return t(e,r,i)})}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,r=r(10),o=(n=r.OperandValue,o(a,n),Object.defineProperty(a.prototype,"displayType",{get:function(){return"?"+this.parameterName},enumerable:!0,configurable:!0}),a.prototype.accept=function(e){return e.visitOperandParameter?e.visitOperandParameter(this):new a(this.parameterName,this.value)},a);function a(e,t){t=n.call(this,t)||this;return t.type="Parameter",t.parameterName=e||"",t}t.OperandParameter=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);r(8),r(8),r(8),r(8);var a,s=r(2),u=r(42),l=r(23),d=r(43),o=(a=s.Disposable,o(c,a),c.prototype.dispose=function(){a.prototype.dispose.call(this),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null},c.prototype._getAbsoluteSurfacePosition=function(e){return{left:e.position.left-e.delta.left,top:e.position.top-e.delta.top}},c.prototype.addControl=function(e,t,r){var i=t.width&&t.width()||t._width&&t._width(),o=t.underCursor();o.x<i&&(t.getControlModel().addChild(e),(t=l.findSurface(e))&&(e=r.width(),r=r.height(),i=o.x+e>i?i-e-1:o.x,t.rect({left:i,top:Math.max(o.y,0),width:e,height:r}),this.selection.initialize(t)))},c.prototype.recalculateSize=function(e){var t=n.unwrap(this.surface);this._size.width(d.unitsToPixel(n.unwrap(e.width)*t.dpi()/100,t.measureUnit(),t.zoom())),this._size.height(d.unitsToPixel(n.unwrap(e.height)*t.dpi()/100,t.measureUnit(),t.zoom()))},c.prototype.helper=function(e,t){this.snapHelper&&this.snapHelper.updateSnapLines(e||null)},c.prototype.canDrop=function(e,t,r){var i=e.locked;return r&&r.canDrop&&(i=i||!r.canDrop(e,t)),!i},c.prototype.startDrag=function(e){},c.prototype.drag=function(e,t){var r,i,o=!0!==e.altKey;this.selection.dropTarget&&(r=!this.selection.dropTarget.getControlModel().getMetaData().isContainer&&this.selection.dropTarget.parent||this.selection.dropTarget,e=(i=n.dataFor(e.target).getControlModel&&n.dataFor(e.target).getControlModel())&&i.getMetaData()||n.dataFor(e.target).info,this.canDrop(r,i,e)?this.dragHelperContent&&this.dragHelperContent.isLocked(!1):(this.snapHelper&&this.snapHelper.deactivateSnapLines(),o=!1,this.dragHelperContent&&this.dragHelperContent.isLocked(!0))),o&&(o=this._getAbsoluteSurfacePosition(t),o=this.snapHelper&&this.snapHelper.activateSnapLines({left:o.left,top:o.top,right:o.left+this._size.width(),bottom:o.top+this._size.height()}),t.position.left-=o.left,t.position.top-=o.top)},c.prototype.doStopDrag=function(e,t,r){},c.started=n.observable(!1),c);function c(e,t,i,o,r){var n=a.call(this)||this;return n._size=new u.Size(0,0),n.alwaysAlt=!1,n.surface=e,n.selection=t,n.snapHelper=o,n.dragHelperContent=r,n.stopDrag=function(e,t,r){i().start(),n.doStopDrag(e,t,r),i().end(),o&&o.deactivateSnapLines()},n}t.DragDropHandler=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),i=r(3);function n(e){return e.split(",")[0].trim()}function a(e){e=n(e).split(".");return e[e.length-1]}function s(e,t){for(var r=1,i=t+r;0<e.filter(function(e){return e===i}).length;)i=t+ ++r;return i}t.getTypeNameFromFullName=n,t.getShortTypeName=a,t.getControlFullName=function(e){if(!e)return"";var t=o.unwrap(e.name)||o.unwrap(e.displayName),r=e.displayType&&e.displayType()||e.controlType;return!e.getControlFactory||(e=e.getControlFactory().getControlInfo(r)).displayName&&(r=e.displayName),t+(r?" ("+i.getLocalization(a(r))+")":"")},t.getImageClassName=function(e,t){var r;return void 0===t&&(t=!1),0===(e=n(e||"").split(".").join("_")).indexOf("XR")?r=e.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===e&&(r="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(r||e.toLowerCase())},t.getUniqueNameForNamedObjectsArray=function(e,t,r){var i;return 0===t.indexOf("XR")?t=t[2].toLowerCase()+t.slice(3):-1!==(i=t.indexOf("Band"))&&"SubBand"!==t&&(t=t.slice(0,i)+t.slice(i+4)),s(r||e.map(function(e){return o.unwrap(e.name)}),t)},t.getUniqueName=s},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s,u=r(0),l=r(1),n=r(2),d=r(14),c=r(53),p=r(95),h=r(3),f=r(21),a=r(18),v=r(142),g=r(4),o=(s=n.Disposable,o(m,s),m.prototype._setPadding=function(e,t){var r={};return r["padding-"+e]=t,r},m.prototype.dispose=function(){this._validator&&this._validator.dispose(),this._validator=null,s.prototype.dispose.call(this),this._cachedValue=null,this._model(null)},m.prototype._shouldSkipHighlighting=function(e){return this.isComplexEditor},m.prototype._assignValue=function(e,t,r,i){u.isObservable(e)?e(r):t[i]=r},m.prototype._init=function(e,r,i){var o=this;e=e||a.editorTemplates.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this._disposables.push(this.value=u.computed({read:function(){var e=o._model();if(!e&&o._cachedValue)return o._cachedValue;var t=e&&void 0!==e[i]?e[i]:r;if(!u.isObservable(t)||t.push)return o._cachedValue=t,o._cachedValue;e=void 0!==t()&&null!==t();return o._cachedValue=e?t():o.defaultValue,o._cachedValue},write:function(e){var t,r=o._model();r&&(t=r[i],o._validator.assignWithValidation(e,function(){o._assignValue(t,r,e,i)}))}})),this.name=i,this.editorTemplate=e&&e.custom||"dx-property-editor"},m.prototype._getInfoFromModel=function(e){var t=this;if(!e)return null;e=e.getInfo&&e.getInfo();return e?e.filter(function(e){return e.propertyName===t.name})[0]:null},m.prototype.update=function(e){var t,r;e?((r=(t=this._getInfoFromModel(e))&&d.compareEditorInfo(t.editor,this.info().editor))&&this.info()!==t&&this.info(t),this._model(this.name in e&&(r||!t)?e:null)):this._model(null)},m.prototype.getOptions=function(e){var t=this.info.peek().editor.extendedOptions;return g.extend({},e,this.editorOptions,t)},m.prototype.getValidatorOptions=function(e){return this._validator&&this._validator.getValidatorOptions(e)},m.prototype.registerAccessibilityProvider=function(e){this._accessibilityProvider()!=e&&this._accessibilityProvider(e)},m.prototype.assingParent=function(e){this._parent()!=e&&this._parent(e)},m.prototype._getEditorValidationRules=function(){var e=u.unwrap(this.info);if(e){e=e.validationRules;return e||(null===e?null:[])}},m.prototype.getValidationRules=function(){return this._validator&&this._validator.getValidationRules()},Object.defineProperty(m.prototype,"validationRules",{get:function(){return this.getValidationRules()},enumerable:!0,configurable:!0}),m.prototype.getPopupServiceActions=function(){var t=this;if(this._model()){var r=(this._model().actions||[]).concat();return(this._model().actionProviders||[]).forEach(function(e){(e&&e.getActions(t.name)||[]).forEach(function(e){return r.push(e)})}),r}},Object.defineProperty(m.prototype,"isComplexEditor",{get:function(){return!!this.contentTemplateName},enumerable:!0,configurable:!0}),m);function m(e,t,r,i){void 0===r&&(r=u.observable(!1)),void 0===i&&(i=void 0);var o=s.call(this)||this;o._model=u.observable(),o._parent=u.observable(null),o.isSearchedProperty=u.observable(!0),o.isParentSearched=u.observable(!1),o.rtl=v.default().rtlEnabled,o._accessibilityProvider=u.observable(c.defaultAccessibilityProvider),o._validator=new p.EditorValidator(o),o._cachedValue=void 0,o.isEditorSelected=u.observable(!1),o.isRequired=!1,o.collapsed=u.observable(!0),o.info=u.observable(e),o._disposables.push(o.displayName=u.computed(function(){var e=o.info();return e&&h.getLocalization(e.displayName,e.localizationId)})),i&&(o.textToSearch=i,o._disposables.push(o.isSearchedProperty=u.computed(function(){return o.isParentSearched()||!!d.findMatchesInString(o.displayName(),i())}))),o.padding=o._setPadding(o.rtl?"right":"left",t*f.propertiesGridEditorsPaddingLeft);var n=u.observable(null),a=e.propertyName;return o.editorOptions=e.editorOptions,o.validatorOptions=e.validatorOptions,o.isRequired=e.isRequired,void 0!==e.defaultVal&&(n=u.observable(e.defaultVal)),e.from&&(n=e.from(e.defaultVal)),e.array&&(n=u.observableArray()),o._disposables.push(o.values=u.computed(function(){var e=o.info().valueStore||o.info().valuesArray;return e||((e=u.unwrap(o.info().values))?l.map(e,function(e,t){return{value:t,displayValue:e}}):void 0)})),o.level=t,o._init(e.editor,n,a),o._disposables.push(o.disabled=u.computed(function(){return r()||o._accessibilityProvider()&&o._accessibilityProvider().isPropertyDisabled(o)})),o._disposables.push(o.visible=u.computed(function(){return o.isSearchedProperty()&&o._accessibilityProvider()&&o._accessibilityProvider().isPropertyVisible(o)})),o._disposables.push(o.isPropertyModified=u.computed(function(){return!!(o._model()&&o._model().isPropertyModified&&o._model().isPropertyModified(o.name))})),o._disposables.push(o.isPropertyHighlighted=u.pureComputed(function(){if(o._shouldSkipHighlighting(o.name))return!1;var e=o._model();return!!(e&&e.isPropertyHighlighted&&e.isPropertyHighlighted(o.name))})),o}t.Editor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),o=(n=a.CriteriaOperator,o(s,n),Object.defineProperty(s.prototype,"leftPart",{get:function(){return this.criteriaOperator},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"rightPart",{get:function(){return this.operands},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"displayType",{get:function(){return"In"},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"enumType",{get:function(){return s},enumerable:!0,configurable:!0}),s.prototype.accept=function(t){return t.visitInOperator?t.visitInOperator(this):new s(this.criteriaOperator&&this.criteriaOperator.accept(t),this.operands&&this.operands.map(function(e){return e.accept(t)}))},s);function s(e,t){var r=n.call(this)||this;return r.assignLeftPart=function(e){r.criteriaOperator=e.leftPart},r.assignRightPart=function(e){r.operands=[].concat(e.rightPart)},r.operatorType="In",r.type="In",r.operands=[],r.criteriaOperator=e||new a.CriteriaOperator,(t||[]).forEach(function(e){return r.operands.push(e)}),r}t.InOperator=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),s=r(10),o=(n=a.CriteriaOperator,o(u,n),Object.defineProperty(u.prototype,"leftPart",{get:function(){return this.property},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"rightPart",{get:function(){return[this.begin,this.end]},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"displayType",{get:function(){return"Between"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"enumType",{get:function(){return u},enumerable:!0,configurable:!0}),u.prototype.accept=function(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new u(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))},u);function u(e,t,r){var i=n.call(this)||this;return i.resetRightPart=function(e){i.begin=new s.OperandValue(e),i.end=new s.OperandValue(e)},i.assignLeftPart=function(e){i.property=e.leftPart},i.assignRightPart=function(e){null!==e.rightPart.length&&void 0!==e.rightPart.length?e.rightPart.length?(i.begin=e.rightPart[0],i.end=1<e.rightPart.length?e.rightPart[1]:new s.OperandValue):(i.begin=new s.OperandValue,i.end=new s.OperandValue):(i.begin=e.rightPart,i.end=new s.OperandValue)},i.operatorType="Between",i.type="Between",i.property=e,i.begin=t||new s.OperandValue,i.end=r||new s.OperandValue,i}t.BetweenOperator=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),o=r(3);t.RangeSpecific="range",t.createExpressionEditorCollectionToolOptions=function(e,t,r,i){return{displayName:o.getLocalization(t,r),content:{showDescription:i,isSelected:u.observable(!1),data:{items:e,selectedItem:u.observable(null)},name:"dx-expressioneditor-collection"},dispose:function(){}}},t.wrapExpressionValue=function(t,r,i,o){if(!i||!t)return r;var n=u.observable(r());i.toDisplayExpression(t(),r()).done(function(e){n(e)}).fail(function(){n(r())});var e=r.subscribe(function(e){i.toDisplayExpression(t(),e).done(function(e){n(e)}).fail(function(){n(e)})}),a=t.subscribe(function(e){i.toDisplayExpression(e,r()).done(function(e){n(e)}).fail(function(e){n(r())})}),s=u.pureComputed({read:function(){return n()},write:function(e){n(e),i.toRealExpression(t(),e).done(function(e){r(e)}).fail(function(){r(e)})}});return o&&[s,e,a].forEach(function(e){return o.push(e)}),s}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(o.prototype.dispose=function(){this.selectedItem=null},o.prototype.itemsFilter=function(e){return!0},o.prototype.hasItems=function(e){return"none"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList)},o.prototype.canSelect=function(e){return!e.hasItems},o.prototype.select=function(e){this.canSelect(e)&&(this.selectedItem&&this.selectedItem.isSelected(!1),(this.selectedItem=e).isSelected(!0))},o);function o(){this.selectedItem=null}t.TreeListController=i},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(1),u=r(17),l=r(25),d=r(10),c=r(13),p=r(28),h=r(48),o=(n=u.CriteriaOperatorSurface,o(f,n),f.prototype.getRealParent=function(e){return e instanceof l.UnaryOperandSurface?this.getRealParent(e.parent):e},f.prototype.getRealProperty=function(e){return e.parent instanceof l.UnaryOperandSurface?this.getRealProperty(e.parent):e},f.prototype.getPropertyName=function(e,i){var o=null,n=null;return s.each(e,function(e,t){var r;Array.isArray(a.unwrap(t))&&a.isObservable(t)?-1<(r=a.unwrap(t).indexOf(i))&&(o=r,n=e):i===a.unwrap(t)&&a.isObservable(t)&&(n=e)}),{index:o,name:n}},f.prototype.getConvertableParameters=function(t){return this.helper.parameters()?this.helper.parameters().filter(function(e){e=e.specifics&&e.specifics.toLocaleLowerCase();return null!=e&&null!=t&&(e===t||("default"===t||("string"===t||"float"===t&&"integer"===e)))}):[]},Object.defineProperty(f.prototype,"changeTypeItems",{get:function(){var e=[{name:"Value",instance:d.OperandValue,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:c.OperandProperty,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(0<this.getConvertableParameters(this.parent.specifics()).length||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:p.OperandParameter,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(h.initDisplayText),e},enumerable:!0,configurable:!0}),f);function f(e,t,r,i){var o=n.call(this,e,t,r,i)||this;return o.canChange=!0,o.canRemove=!1,o.changeValueType=function(e){var t=o.getRealParent(o.parent),r=o.getRealProperty(o),r=o.getPropertyName(t,r),e=t.model.changeValueType(e.instance,r);null!==r.index?(t[r.name]()[r.index].dispose(),t[r.name].splice(r.index,1,t.createChildSurface(e))):(t[r.name]().dispose(),t[r.name](t.createChildSurface(e))),o.helper.onChange()},o}t.OperandSurfaceBase=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),r=function(){this.data=i.observable(),this.title=i.observable(),this.visible=i.observable(!1),this.actions=i.observableArray([]),this.target=i.observable()};t.PopupService=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(6),o=r(20),n=r(16),a=r(11),s=r(15),u=r(32),l=r(10),d=r(39),c=r(28),p=r(13),h=r(12),f=r(33),v=r(54),r=(g.prototype.CriteriaOperator=function(){return new i.CriteriaOperator},g.prototype.BinaryOperator=function(e){return new o.BinaryOperator(e.left,e.right,e.operatorType)},g.prototype.FunctionOperator=function(e){return new n.FunctionOperator(e.operatorType,e.operands)},g.prototype.AggregateOperand=function(e){return new a.AggregateOperand(e.property,e.aggregatedExpression,e.aggregateType,e.condition)},g.prototype.GroupOperator=function(e){return new s.GroupOperator(e.operation,e.operands)},g.prototype.InOperator=function(e){return new u.InOperator(e.criteriaOperator,e.operands)},g.prototype.ConstantValue=function(e){return new d.ConstantValue(e.value)},g.prototype.OperandValue=function(e){return new l.OperandValue(e.value)},g.prototype.OperandParameter=function(e){return new c.OperandParameter(e.parameterName,e.value)},g.prototype.OperandProperty=function(e){return new p.OperandProperty(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength)},g.prototype.UnaryOperator=function(e){return new h.UnaryOperator(e.operatorType,e.operator)},g.prototype.BetweenOperator=function(e){return new f.BetweenOperator(e.property,e.begin,e.end)},g.prototype.JoinOperator=function(e){return new v.JoinOperand(e.joinTypeName,e.condition,e.type,e.aggregated)},g.prototype.addListener=function(e){-1===this._func.indexOf(e)&&this._func.push(e)},g.prototype.removeListener=function(e){e=this._func.indexOf(e);-1!==e&&this._func.splice(e,1)},g.prototype.process=function(t,r){var i=this.CriteriaOperator();switch(t){case"join":i=this.JoinOperator(r);break;case"between":i=this.BetweenOperator(r);break;case"property":i=this.OperandProperty(r);break;case"parameter":i=this.OperandParameter(r);break;case"value":i=this.OperandValue(r);break;case"in":i=this.InOperator(r);break;case"function":i=this.FunctionOperator(r);break;case"unary":i=this.UnaryOperator(r);break;case"group":i=this.GroupOperator(r);break;case"binary":i=this.BinaryOperator(r);break;case"const":i=this.ConstantValue(r);break;case"aggregate":i=this.AggregateOperand(r)}return this._func.forEach(function(e){i=e(i,{operatorType:t,options:r})}),i},g);function g(){this._func=[]}t.CriteriaOperatorPreprocessor=r,t.criteriaCreator=new r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,r=r(10),o=(n=r.OperandValue,o(a,n),a.prototype.accept=function(e){return e.visitConstantValue?e.visitConstantValue(this):new a(this.value)},a);function a(e){return n.call(this,e)||this}t.ConstantValue=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(1),o=r(4),r=(u._getCharFromKeyCode=function(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null},u._getCaretPosition=function(e){var t,r,i,o,n=-1,a=-1;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(n=e.selectionStart,a=e.selectionEnd):document.selection&&(o=document.selection.createRange())&&o.parentElement()==e&&(i=e.value.length,t=e.value.replace(/\r\n/g,"\n"),(r=e.createTextRange()).moveToBookmark(o.getBookmark()),(o=e.createTextRange()).collapse(!1),-1<r.compareEndPoints("StartToEnd",o)?n=a=i:(n=-r.moveStart("character",-i),n+=t.slice(0,n).split("\n").length-1,-1<r.compareEndPoints("EndToEnd",o)?a=i:(a=-r.moveEnd("character",-i),a+=t.slice(0,a).split("\n").length-1)))}catch(e){}return{start:n,end:a}},u._validate=function(e,t,r){if(!/^(0|(-?(([1-9]\d*)|(0\.\d+)|([1-9]\d*\.\d+)|(\d*\.\d+[eE][+\-]?\d+))))$/.test(e))return!1;if(!r)return!0;var i="-"===e[0],o=i?e.substring(1):e;if(i&&!t)return!1;var n=i?t.substring(1):r,e=(a=o.toLowerCase().split("e"))[0],i=a[1],r=(t=n.toLowerCase().split("e"))[0],o=t[1],n=(a=e.split("."))[0],t=a[1],a=(e=r.split("."))[0],r=e[1];n=(n||"").replace(/^0+/,""),a=(a||"").replace(/^0+/,"");e=n.length;i&&(e+=parseInt(i));i=a.length;return o&&(i+=parseInt(o)),e<i||!(i<e)&&!(a+(r=r||"0")<n+(t=t||"0"))},u.validateWidgetValue=function(e,t,r){t(e.component.option("value"))||e.component.option("value",r)},u.getNumberEditorOptions=function(e,t,r){void 0===r&&(r={});var i=u.editors[e]||u.editors[t];return i?u.getValueEditorOptions(i.regExpEditing,function(e){return u._validate(e,i.minValue,i.maxValue)},"",r):r},u.getValueEditorOptions=function(n,t,r,a){var i=this;void 0===a&&(a={});var e={onFocusIn:function(e){u.validateWidgetValue(e,t,r),u._invokeStandardHandler(a,"onFocusIn",e)},onKeyDown:function(e){var t,r,i,o=u._getCharFromKeyCode(e.event);o&&(t=s(e.element).find("input").eq(0),i=u._getCaretPosition(t.get(0)),r=t.val(),i.start<0&&(i=r?r.length:0),i=[r.slice(0,i.start),o,r.slice(i.end)].join(""),n.test(i)||e.event.preventDefault(),t=null,u._invokeStandardHandler(a,"onKeyDown",e))},onPaste:function(e){var t,r,i=e.event.originalEvent.clipboardData||window.clipboardData||{},o=i.getData&&i.getData("Text");"string"==typeof o&&(t=s(e.element).find("input").eq(0),r=u._getCaretPosition(t.get(0)),i=t.val(),r.start<0&&(r.end=r.start=i?i.length:0),r=[i.slice(0,r.start),o,i.slice(r.end)].join(""),n.test(r)||e.event.preventDefault(),t=null,u._invokeStandardHandler(a,"onPaste",e))},onValueChanged:function(e){e.value!==r&&i.validateWidgetValue(e,t,e.previousValue),u._invokeStandardHandler(a,"onValueChanged",e)}};return o.extend({},a,e)},u.isValid=function(e,t,r){t=u.editors[e]||u.editors[t];return t.regExpEditing.test(r)&&u._validate(r,t.minValue,t.maxValue)},u._invokeStandardHandler=function(e,t,r){s.isFunction(e[t])&&e[t](r)},u.editors={integer:{regExpEditing:/^-?\d*$/},float:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d+)?$/},"System.Byte":{regExpEditing:/^\d*$/,minValue:null,maxValue:"255"},"System.SByte":{regExpEditing:/^-?\d*$/,minValue:"-128",maxValue:"127"},"System.Int16":{regExpEditing:/^-?\d*$/,minValue:"-32768",maxValue:"32767"},"System.UInt16":{regExpEditing:/^\d*$/,minValue:null,maxValue:"65535"},"System.Int32":{regExpEditing:/^-?\d*$/,minValue:"-2147483648",maxValue:"2147483647"},"System.UInt32":{regExpEditing:/^\d*$/,minValue:null,maxValue:"4294967295"},"System.Int64":{regExpEditing:/^-?\d*$/,minValue:"-9223372036854775808",maxValue:"9223372036854775807"},"System.UInt64":{regExpEditing:/^\d*$/,minValue:null,maxValue:"18446744073709551615"},"System.Single":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-3.40282347e+38",maxValue:"3.40282347e+38"},"System.Double":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-1.7976931348623157e+308",maxValue:"1.7976931348623157e+308"},"System.Decimal":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-79228162514264337593543950335",maxValue:"79228162514264337593543950335"}},u);function u(){}t.ValueEditorHelper=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,l=r(0),d=r(1),a=r(57),s=r(2),c=r(19),u=r(3),p=r(26),h=r(34),f=r(58),v=r(6),o=(n=s.Disposable,o(g,n),g.prototype._previousSymbol=function(){var e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]},g.prototype.beforeInsertMatch=function(e,t,r){var i=e.getCursorPosition();"Parameters."===r?(t=t||!this._isInContext()&&e.session.getTokenAt(i.row,i.column))&&("support.variable.other"===t.type||"support.function"===t.type?e.session.remove({start:{column:t.start-1||0,row:i.row},end:{column:Math.max(t.start+t.value.length||0,i.column),row:i.row}}):"support.variable.parameter"===t.type?e.session.remove({start:{column:t.start||0,row:i.row},end:{column:Math.max(t.start+t.value.length+1||0,i.column),row:i.row}}):"text"===t.type&&"?"===t.value[t.value.length-1]&&e.session.remove({start:{column:t.start+t.value.length-1||0,row:i.row},end:{column:t.start+t.value.length||0,row:i.row}})):(t=t||e.session.getTokenAt(i.row,i.column))&&(r=null,"support.variable.other"===t.type||"support.function"===t.type?r=Math.max(t.start+t.value.length||0,i.column):"support.context.start"===t.type&&i.column<t.start+t.value.length&&(r=t.start+t.value.length-1||0),null!==r&&e.session.remove({start:{column:t.start||0,row:i.row},end:{column:r,row:i.row}}))},g.prototype.insertMatch=function(e,t,r){"Parameters."===t?e.insert("?"+r):e.insert("["+(t||"")+r+"]")},g.prototype.generateFieldDisplayName=function(e,t){return"Parameters."===e?"?"+t:"["+t+"]"},g.prototype._convertDataMemberInfoToCompletions=function(e,i,o){var n=this;return void 0===o&&(o=""),(e||[]).map(function(r){var e=n.generateFieldDisplayName(o,r.displayName);return{caption:r.displayName||r.name,snippet:e,meta:c.isList(r)&&u.getLocalization("list","DxDesignerStringId.CodeCompletion_List")||u.getLocalization("field","DxDesignerStringId.CodeCompletion_Field"),score:c.isList(r)?200:100,completer:{insertMatch:function(e,t){n.beforeInsertMatch(e,i,o),n.insertMatch(e,o,n._options.getRealExpression&&r.displayName||r.name)}}}})},g.prototype._combinePath=function(t){var e,r=this._getPath();return t&&(r=((e=this._rootItems.filter(function(e){return 0===t.indexOf(e.name)})[0])&&e.rootPath?[e.rootPath,t]:[r,t]).join(".")),r},g.prototype._getParentPrefix=function(e){var t=this._editor.getCursorPosition().column-e.start-1,r=e.value.lastIndexOf(".",t),t=e.value.lastIndexOf("]",t),r=Math.max(t,r),t="support.variable.other"===e.type||"support.context.start"===e.type?1:0,r=e.value.substring(t,r);return"["===r[0]&&(r=r.substr(1)),"]"===r[r.length-1]&&(r=r.substring(0,r.length-1)),r},g.prototype._getRealPath=function(e){var t=e.split("."),r=d.Deferred();return this._options.getRealExpression?this._options.getRealExpression(t[0],this.generateFieldDisplayName(null,t.splice(1).join("."))).done(function(e){e=e.slice(1,e.length-1),r.resolve(e&&[t[0],e].join(".")||t[0])}).fail(function(){r.resolve(e)}):r.resolve(e),r.promise()},g.prototype._getFields=function(n,a,t){var s=this;void 0===n&&(n=null),void 0===a&&(a=[]),void 0===t&&(t=!1);var r=d.Deferred(),u=void 0;return!n||"support.variable.other"!==n.type&&"support.function"!==n.type&&"support.context.start"!==n.type||(u=this._getParentPrefix(n)),this._getRealPath(this._combinePath(u)).done(function(e){var i=[l.unwrap(s._fieldListProvider).getItems(new p.PathRequest(e)).done(function(e){a.push.apply(a,s._convertDataMemberInfoToCompletions(g._cleanupFields(e),n,t?null:u&&u+"."))})],o=[];u||s._rootItems.forEach(function(t){var r=t.rootPath||t.name;-1===o.indexOf(r)&&(o.push(r),i.push(l.unwrap(s._fieldListProvider).getItems(new p.PathRequest(r)).done(function(e){s._processFields(i,e,a,r,n,t.needPrefix?t.name+".":"",!0)})))}),d.when(i).always(function(){r.resolve(a)})}),r.promise()},g._cleanupFields=function(e){return void 0===e&&(e=[]),e.filter(function(e){return"parameters"!==e.specifics&&"none"!==e.specifics})},g.prototype._processFields=function(t,e,r,i,o,n,a){var s=this;void 0===n&&(n=""),void 0===a&&(a=!1);function u(e){r.push.apply(r,s._convertDataMemberInfoToCompletions(a?g._cleanupFields(e):e,o,n))}e.forEach(function(e){e.specifics===h.RangeSpecific&&c.isList(e)?t.push(l.unwrap(s._fieldListProvider).getItems(new p.PathRequest(i+"."+e.name)).done(function(e){u(e)}).fail(function(){u([e])})):u([e])})},g.prototype.getFunctionsCompletions=function(){var r=[];return l.unwrap(this._functions).filter(function(e){return"Aggregate"!==e.category}).forEach(function(t){Object.keys(t.items).forEach(function(e){t.items[e]&&r.push(m(t.items[e][0],e))})}),r},g.prototype.getAggregateCompletions=function(){var t=[],r=l.unwrap(this._functions).filter(function(e){return"Aggregate"===e.category})[0];return r&&Object.keys(r.items).forEach(function(e){r.items[e]&&t.push(m(r.items[e][0],e,e+"()"))}),t},g.prototype.getOperatorCompletions=function(t){return f.operatorNames.map(function(e){return{caption:e.text,snippet:t+e.text,meta:u.getLocalization("operator","DxDesignerStringId.CodeCompletion_Operator")}})},g.prototype._addFunctions=function(e){e.push.apply(e,this.getFunctionsCompletions())},g.prototype._addAggregates=function(e){e.push.apply(e,this.getAggregateCompletions())},g.prototype._addOperators=function(e,t){t=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(t))},g.prototype._addParameterOperators=function(t,r){var i=this,e=d.Deferred(),o=[],n="Parameters";return o.push(l.unwrap(this._fieldListProvider).getItems(new p.PathRequest(n)).done(function(e){i._processFields(o,e,t,n,r,n+".")})),d.when(o).always(function(){e.resolve(t)}),e.promise()},g.prototype._getOperands=function(e){void 0===e&&(e=null);var t=[];return this._addFunctions(t),this._getFields(e,t)},g.prototype._getOperandsOrOperators=function(e,t,r){var i;try{v.CriteriaOperator.parse(t)}catch(e){i=e.hash}var o=t.trim(),n=o[o.length-1];if("?"===n&&" "!==t[t.length-1])this._addParameterOperators(r,e);else{if((i||!o)&&"]"!==n&&")"!==n)return this._getOperands();this._addOperators(r,t)}},g.prototype._findStartContextTokenPosition=function(e,t){for(var r=0,i=t;-1<i;i--)if("support.context.end"===e[i].type)r++;else if("support.context.start"===e[i].type){if(!(0<r))return i;r--}},g.prototype._findOpenedStartContext=function(e,r){for(var t=[],i=e.filter(function(e,t){return("support.context.start"===e.type||"support.context.end"===e.type)&&t<r}),o=0;o<i.length;o++)"support.context.start"===i[o].type?t.push(e.indexOf(i[o])):t.pop();return t},g.prototype._findOpenedAggregates=function(e,r){var t=[],i=e.filter(function(e,t){return"support.other.aggregate"===e.type&&t<r});if(0<i.length)for(var o=e[r],n=this._editor.getCursorPosition().column-(o&&o.start||0),a=i.length-1;-1<a;a--){var s=e.indexOf(i[a]),u=0,l=0,d=!1;if(s+1===r&&-1!==e[s+1].value.substr(0,n).indexOf("()")||s+1<r&&-1!==e[s+1].value.indexOf("()"))d=!0,r=s;else{for(var c=s;c<r;c++)if("("===e[c].value.trim()?u++:")"===e[c].value.trim()&&l++,u===l&&0!==u){d=!0;break}d||t.splice(0,0,s),r=s}}return t},g.prototype._getContextPath=function(e,t){var r=[],i=this._findOpenedAggregates(e,t),t=this._findOpenedStartContext(e,t),o=t.concat.apply(t,i).sort(function(e,t){return e-t});if(0<o.length)for(var n,a=0;a<o.length;a++)"support.other.aggregate"===e[o[a]].type?"support.context.end"===e[o[a]-1].type?(n=x(e[this._findStartContextTokenPosition(e,o[a]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(n)):"support.variable.other"===e[o[a]-1].type&&r.push(x(e[o[a]-1].value)):(n=x(e[o[a]].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(n));return r.filter(function(e){return!!e}).join(".")},g.prototype._getCompletions=function(e,t,r,i){var o,n,a=[],s=t.getTokenAt(r.row,r.column),e=e.session.getLine(r.row).substring(0,r.column),t=t.getTokens(r.row),r=s?s.index:-1;return this._contextPath=this._getContextPath(t,r),s?"support.context.start"===s.type?((o=this._editor.getCursorPosition().column-s.start===s.value.length)&&(n=[],this._addFunctions(n)),o=this._getFields(s,n,o)):"string.quoted.single"===s.type||(0===s.type.indexOf("support.variable")?o=this._getFields(s):"support.function"===s.type?o=this.defaultProcess(s,e.substring(0,s.start),a):"support.other.aggregate"===s.type?(r=t[r-1],this._addAggregates(a),r&&x(r.value).trim()&&(o=this._getFields({start:s.start-(r.value||"").length||0,value:r.value+s.value,type:"support.function"},a))):0!==s.type.indexOf("comment")&&(o=this.defaultProcess(s,e,a))):o=this._getOperands(),(o||d.Deferred().resolve(a)).promise()},g.prototype.defaultProcess=function(e,t,r){return this._getOperandsOrOperators(e,t,r)},g.prototype.getCompletions=function(e,t,r,i,o){this._getCompletions(e,t,r,i).done(function(e){o(null,e)})},g.prototype.getDocTooltip=function(e){e.tooltip&&!e.docHTML&&(e.docHTML=[e.tooltip].join(""))},g);function g(e){var t=n.call(this)||this;return t._options=e,t._contextPath=null,t._isInContext=function(){return null!==t._contextPath},t._getPath=function(){return t._contextPath?t._path()+"."+t._contextPath:t._path()},t.identifierRegexps=[/\./,/\[/],t._fieldListProvider=e.fieldListProvider,t._path=e.path,t._editor=e.editor,t._functions=l.computed(function(){return l.unwrap(e.functions)||a.functionDisplay()}),t._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}],t._disposables.push(t._functions),t}function m(a,e,s){return void 0===s&&(s=null),{caption:e,snippet:s=s||a.text,meta:u.getLocalization("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:a.description||u.getLocalization(a.text,a.descriptionStringId)||null,score:10,completer:{insertMatch:function(e,t){var r=e.completer.completions;if(r.filterText)for(var i=e.selection.getAllRanges(),o=0;n=i[o];o++)n.start.column-=r.filterText.length,e.session.remove(n);if("[]."===s.substr(0,3))for(var n,i=e.selection.getAllRanges(),o=0;n=i[o];o++)n.start.column-=2,"]."===e.session.getTextRange(n)&&(s=s.substr(3));e.insert(s),c.setCursorInFunctionParameter(a.paramCount,e,s)}}}}function x(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}t.CodeCompletor=o,t.createFunctionCompletion=m,t.trimBrackets=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),o=r(62),r=(n.prototype.getInfo=function(){return o.sizeFake},n.fromString=function(e){void 0===e&&(e="0, 0");e=e.split(",");return new n(parseFloat(e[0]),parseFloat(e[1]))},n.prototype.toString=function(){return this.width()+", "+this.height()},n.unitProperties=["width","height"],n);function n(e,t){this.isPropertyDisabled=function(e){},this.height=i.observable(t).extend({dxdnum:{min:2}}),this.width=i.observable(e).extend({dxdnum:{min:2}})}t.Size=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0);function l(e,t,r){return void 0===r&&(r=1),e="Test"===t||"Pixels"===t?+e:"TenthsOfAMillimeter"===t?3.78*e/10:96*e/100,e*=r,Math.floor(100*e)/100}function d(e,t,r){e="Test"===t||"Pixels"===t?+e:"TenthsOfAMillimeter"===t?e/3.78*10:e/96*100;return e/=r,Math.round(100*e)/100}function s(t,e,r,i,o,n,a){var s=0;e[r]=u.pureComputed({read:function(){var e=l(i(t)(),o.peek(),n());return.2<Math.abs(e-s)?s=e:s},write:function(e){Math.abs(e-s)<=.2||(e=d(s=e,o.peek(),n()),i(t)(e))}}),a(e[r])}t.unitsToPixel=l,t.pixelToUnits=d,t.createUnitProperty=s,t.createUnitProperties=function(t,r,i,o,n,a){i&&Object.keys(i).forEach(function(e){s(t,r,e,i[e],o,n,a)})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=r(4);function i(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r];return null}t.createObservableReverseArrayMapCollection=function(e,i,o){var t=i();return e.peek().forEach(function(e){e=o(e);t.splice(0,0,e)}),i.valueHasMutated(),e.subscribe(function(e){var t=i(),r=t.length;e.forEach(function(e){"deleted"===e.status&&t.splice(t.indexOf(e.value.surface),1)}),e.forEach(function(e){"added"===e.status&&t.splice(r-e.index,0,o(e.value))}),i.valueHasMutated()},null,"arrayChange")},t.createObservableArrayMapCollection=function(e,o,n){var t=o();return e.peek().forEach(function(e){e=n(e);t.push(e)}),o.valueHasMutated(),e.subscribe(function(e){var t=o().length,r=0,i=[];e.forEach(function(e){"deleted"===e.status&&(r++,e.index<t&&(t=e.index))}),e.forEach(function(e){"added"===e.status&&(e.index<t&&(t=e.index),i.push(n(e.value)))}),o.splice.apply(o,[t,r].concat(i))},null,"arrayChange")},t.deserializeChildArray=function(t,i,r){var e=Object.keys(t||{}).map(function(e){return r(t[e])});return o.knockoutArrayWrapper(e,function(e,t){if("beforeChange"!==t)if("arrayChange"===t)for(var r=0;r<e.length;r++)i!==e[r].value.parentModel()&&e[r].value.parentModel(i);else for(r=0;r<e.length;r++)i!==e[r].parentModel()&&e[r].parentModel(i)})},t.getFirstItemByPropertyValue=function(e,t,r,i){for(var o=i=i||0;o<e.length;o++)if((n.isObservable(e[o][t])?e[o][t].peek():e[o][t])===r)return e[o];return null},t.findFirstItemMatchesCondition=i,t.find=i,t.binaryIndexOf=function(e,t,r){for(var i=0,o=e.length-1;i<=o;){var n=o+i>>1,a=r(t,e[n]);if(0<a)i=1+n;else{if(!(a<0))return n;o=n-1}}return~i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=r(0),d=r(4),i=r(2),r=(o.prototype.linkObjects=function(){var r=this;Object.keys(this._linkTable).forEach(function(e){var t=r._refTable[e];t&&r._linkTable[e].forEach(function(e){return e(t)})})},o.prototype._getModel=function(e,t){var r=e;return t.forEach(function(e){r=r[e]}),r},o.prototype._collectLinks=function(e,t,r,i){var o=this,e=e[i].slice("#Ref-".length),n=l.observable();this._linkTable[e]=this._linkTable[e]||[],this._linkTable[e].push(n),t._restoreLinks||(t._restoreLinks=[]),t._restoreLinks.push(function(e){var t=o._getModel(e,r);return{setRef:function(e){-1===e?delete t[i]:t[i]="#Ref-"+e},obj:n()}})},o.prototype._enumRefs=function(e,r,i){var o=this;e._refs||(e._refs=[]),e._refs.push(function(e,t){o._getModel(e,r)[i]=t})},o.prototype._collectLinksAndEnumRefs=function(t,r,i){var o=this;void 0===r&&(r=null),void 0===i&&(i=[]);var n=null===r;r=r||t,Object.keys(t).forEach(function(e){t[e]instanceof Object?o._collectLinksAndEnumRefs(t[e],r,[].concat(i,[e])):t[e].indexOf&&0===t[e].indexOf("#Ref-")?o._collectLinks(t,r,i,e):n||"@Ref"!==e||o._enumRefs(r,i,e)}),n&&this.linkObjects()},o.prototype.setLinks=function(r){r.linkObjTable.forEach(function(e){var t=r.objects.indexOf(e.obj);e.setRef(t)})},o.prototype.deserializeProperty=function(e,t){var r=e.modelName;if(r){r=void 0!==t[r]?t[r]:e.defaultVal;return this.deserializePropertyValue(e,r)}},o.prototype.deserializeDefaultValue=function(e){return this.deserializePropertyValue(e,e.defaultVal,!1)||e.defaultVal},o.prototype.deserializePropertyValue=function(r,i,e){var o=this;if(void 0===e&&(e=!0),"string"==typeof r)return l.observable(i);if(r.link){var t,n=l.observable(null);return i&&(t=i&&i.slice("#Ref-".length),this._linkTable[t]=this._linkTable[t]||[],this._linkTable[t].push(n)),n}if(r.array){if(r.from)return r.from(i,this);if(r.info){n=Object.keys(i||{}).map(function(e){var t={getInfo:function(){return r.info}};return o.deserialize(t,i[e]||{}),t});return l.observableArray(n)}}else{if(r.from)return r.from(i,this);if(r.type){var a=new r.type(i,this,r.info);return a._model||this.deserialize(a,i||{},r.info),a}if(r.info){a={getInfo:function(){return r.info}};return this.deserialize(a,i||{}),a}if(r.modelName)return l.observable(i);if(e)throw new Error("Invalid info '"+JSON.stringify(r)+"'")}},o.prototype.deserialize=function(i,o,e){var t,n,a=this;void 0===e&&(e=null),o&&(i._model=d.extend({},o),e=i.getInfo?i.getInfo():e,(t=o["@Ref"])&&(this._refTable[t]=i),n=Object.getPrototypeOf(i),e.forEach(function(e){var t=e.propertyName,r=e.modelName;void 0!==o[r]&&delete i._model[r];r=a.deserializeProperty(e,o),e=Object.getOwnPropertyDescriptor(n,t);void 0===r||e&&!e.set||(i[t]=r)}),this.linkObjects())},o.prototype.serialize=function(e,t,r){return void 0===r&&(r=null),t||r?this._serialize(e,t,r):this._serialize(e,null,null)},o.prototype._isSerializableValue=function(e){return d.isPlainObject(e)&&!d.isEmptyObject(e)||Array.isArray(e)&&0<e.length||!Array.isArray(e)&&!d.isPlainObject(e)},o.prototype.serializeProperty=function(r,e,t,i,o){var n=this,a=r.propertyName,e=l.unwrap(e["_"+a]||e[a]),a=r.defaultVal;r.beforeSerialize&&(e=r.beforeSerialize(e)),r.from&&(a=l.unwrap(r.from(a,this)));var s={};if(r.modelName&&(r.alwaysSerialize||null!=e&&(d.isPlainObject(e)||!d.isEmptyObject(e)||Array.isArray(e)&&0<e.length||!Array.isArray(e)&&!d.isPlainObject(e))&&e!==a)){if(r.link)i.linkObjTable.push({obj:e,setRef:function(e){e<0?delete o[r.modelName]:o[r.modelName]="#Ref-"+e}}),s=void 0;else if(r.array){s={};var u=1;e.forEach(function(e){var t=r.info||null,t=n._serialize(e,t,i);n._isSerializableValue(t)&&(s["Item"+u]=t,n._options.useRefs&&(t["@Ref"]=(i.objects.push(e)-1).toString()),u++)})}else if(r.from)s=e.isEmpty&&e.isEmpty()?{}:r.toJsonObject?r.toJsonObject(e,this,i):e.toString();else if(r.info||e.getInfo)s=this._serialize(e,r.info,i);else{if(!r.modelName)throw new Error("Invalid info '"+t.stringify()+"'");s=e instanceof Date?this._options.serializeDate(e):e}(r.alwaysSerialize||this._isSerializableValue(s))&&(r.asRef&&(s["@Ref"]=(i.objects.push(e)-1).toString()),o[r.modelName]=s)}},o.prototype._serialize=function(t,r,i){var o=this,n=d.extend(!0,{},t._model),e=null===i;return i=i||{linkObjTable:[],objects:[]},n._restoreLinks&&(i.linkObjTable.push.apply(i.linkObjTable,n._restoreLinks.map(function(e){return e(n)})),delete n._restoreLinks),n._refs&&(n._refs.forEach(function(e){return e(n,(i.objects.push("0")-1).toString())}),delete n._refs),r=t.getInfo?t.getInfo():r,delete n["@Ref"],t.isEmpty&&t.isEmpty()?{}:(r.forEach(function(e){o.serializeProperty(e,t,r,i,n)}),e&&this.setLinks(i),n)},o);function o(e){this._refTable={},this._linkTable={},this._options=d.extend({useRefs:!0,serializeDate:i.serializeDate},e)}t.ModelSerializer=r},function(e,t){e.exports={default:DevExpress.registerComponent}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(1),s=r(35),r=(n=s.TreeListController,o(u,n),u.prototype.itemsFilter=function(e){return"none"!==e.specifics&&"ReportItems"!==e.name},u.prototype.select=function(e){this.selectionHandler?this.selectionHandler(e):n.prototype.select.call(this,e)},u.prototype.getActions=function(t){var r=this;return[{clickAction:function(e){return r.putSelectionHandler(t,a(e))}}]},u.prototype.canSelect=function(e){return!0},u);function u(e,t,r){var i=n.call(this)||this;return i.fieldName=e,i.putSelectionHandler=t,i.selectionHandler=r,i}t.ExpressionEditorTreeListController=r;var l,o=(l=s.TreeListController,o(d,l),d.prototype.itemsFilter=function(e){return"none"!==e.specifics&&(!this.customFilter||this.customFilter(e))},d.prototype.select=function(e){this.selectionHandler(e)},d.prototype.getActions=function(t){var r=this;return[{clickAction:function(e){t&&!t.hasItems&&r.putSelectionHandler(t.path,a(e))}}]},d.prototype.canSelect=function(e){return!0},d);function d(e,t,r){var i=l.call(this)||this;return i.customFilter=e,i.putSelectionHandler=t,i.selectionHandler=r,i}t.ExpressionEditorParametersTreeListController=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(3);t.initDisplayText=function(e){e.displayText=i.getLocalization(e.name,e.localizationId)}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(0),n=r(17),u=r(11),l=r(25),o=(a=n.CriteriaOperatorSurface,o(d,a),Object.defineProperty(d.prototype,"leftPart",{get:function(){return this.property&&this.property()},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rightPart",{get:function(){return this.aggregatedExpression()},enumerable:!0,configurable:!0}),d.prototype.dispose=function(){this.property().dispose(),this.condition().dispose(),this.aggregatedExpression()&&this.aggregatedExpression().dispose(),a.prototype.dispose.call(this)},d);function d(e,t,r,i){var o=a.call(this,e,t,r,i)||this;o.contentTemplateName="dx-filtereditor-aggregate",o.property=s.observable(null),o.aggregatedExpression=s.observable(null),o.condition=s.observable(null),o.property(o._createLeftPartProperty(e.property));var n=s.computed(function(){return o.path()+"."+o.property().propertyName()});o._disposables.push(n),e.aggregatedExpression&&(o.aggregatedExpression(o.createChildSurface(e.aggregatedExpression,n)),o.templateName="dx-filtereditor-aggregate-common"),e.operatorType===u.Aggregate.Count&&(o.templateName="dx-filtereditor-aggregate-common");e=o.createChildSurface(e.condition,n);return e.canRemove=!1,e instanceof l.UnaryOperandSurface&&(e.operand().canRemove=!1),o.condition(e),o.change=function(e,t){var r;t?(r=o.model.change(e,t.model),(r=o.createChildSurface(r,n)).canRemove=!1,r instanceof l.UnaryOperandSurface&&(r.operand().canRemove=!1),o.condition(r)):o.operatorType()!==u.Aggregate.Exists&&o.operatorType()!==u.Aggregate.Count&&(!e||e.value!==u.Aggregate.Exists&&e.value!==u.Aggregate.Count)?a.prototype.change.call(o,e,t):o.parent.change(e,o),o.helper.onChange()},o}t.AggregateOperandSurface=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(0);t.propertiesVisitor=function t(r,i,o,n){var a;void 0===o&&(o=[]),void 0===n&&(n=["surface"]),r&&void 0!==r&&(a=[],Object.keys(r).forEach(function(e){var t;0!==e.indexOf("_")&&-1===n.indexOf(e)&&(t=e,s.isComputed(r[e])&&s.isWritableObservable(r["_"+e])&&(t="_"+t),-1!==o.indexOf(r[t])||s.isComputed(r[t])||a.push(r[t]))}),i(a),o.push.apply(o,a),a.forEach(function(e){"object"==typeof(e=s.unwrap(e))&&t(e,i,o,n)}))},t.checkModelReady=function(e){return!e.isModelReady||e.isModelReady()},t.guid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StringId={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),a=r(50),r=(i.prototype.clear=function(){this._queue=[],this._queueObj={}},i.prototype.done=function(e){this._done.push(e)},i.prototype.doneOnce=function(e){this._doneOnce.push(e)},i.prototype._executeNext=function(e){for(void 0===e&&(e=this._queue[0]),delete this._queueObj[e];0<this._queue.length&&!this._queueObj[this._queue[0]];)this._queue.splice(0,1);if(0!==this._queue.length)this._queueObj[this._queue[0]]();else{for(var t=0;t<this._done.length;t++)this._done[t]();do{var r=this._doneOnce.pop()}while(r&&r(),this._doneOnce.length)}},i.prototype.execute=function(e,t){var r=this;void 0===t&&(t=0);var i=a.guid(),o=n.Deferred();return t?(this._queue.push(i),this._queueObj[i]=function(){if(!r._queueObj[i])return r._executeNext(i);setTimeout(function(){r._queueObj[i]&&o.resolve(e()),r._executeNext(i)},t)},1===this._queue.length&&this._queueObj[this._queue[0]]()):o.resolve(e()),{dispose:function(){return delete r._queueObj[i],o.reject()},force:function(){return delete r._queueObj[i],o.resolve(e())},doNext:function(){return r._queue.splice(0,0,i)},$promise:o.promise()}},i);function i(){this._queue=[],this._queueObj={},this._done=[],this._doneOnce=[]}t.CodeResolver=r,t.globalResolver=new r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),r=(o.prototype.isPropertyVisible=function(e){if(!e._model())return!1;var t=e._model();return(!t.isPropertyVisible||t.isPropertyVisible(e.name))&&this._calculateAccessibilityByPropertyInfo(t,e.info().visible,!0)},o.prototype.isPropertyDisabled=function(e){if(!e._model())return!0;var t=e._model();return t.isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(t,e.info().disabled,!1)},o.prototype._calculateAccessibilityByPropertyInfo=function(e,t,r){r=i.isObservable(t)?t():"function"==typeof t?t(e):void 0!==t?t:r;return r},o);function o(){}t.PropertiesAccessibilityProvider=r,t.defaultAccessibilityProvider=new r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(6),s=r(38),o=(n=a.CriteriaOperator,o(u,n),u.joinOrAggregate=function(e,t,r,i){return null===e||e.propertyName.length<2||"<"!=e.propertyName[0]||">"!=e.propertyName[e.propertyName.length-1]?s.criteriaCreator.process("aggregate",{property:e,aggregatedExpression:i,aggregateType:r,condition:t}):s.criteriaCreator.process("join",{joinTypeName:e.propertyName.substring(1,e.propertyName.length-2),condition:t,type:r,aggregated:i})},u.prototype.accept=function(e){return e.visitJoinOperand?e.visitJoinOperand(this):new u(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))},u);function u(e,t,r,i){var o=n.call(this)||this;return o.type="Join",o.joinTypeName=e,o.condition=t,o.operatorType=r,o.aggregatedExpression=i,o}t.JoinOperand=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),s=r(6),u=r(13),v=r(56),g=r(27),r=(o.prototype._replaceNames=function(o,l,n){var a=this,d=i.Deferred();if(!l)return d.resolve("").promise();try{var e=s.CriteriaOperator.parse(l,!0)}catch(e){return d.reject().promise()}var c,t,p=[],h=[],f=new v.FilterEditorSerializer;return g.criteriaForEach(e,function(t,r){var i,e;t instanceof u.OperandProperty&&(e=(i=0===t.propertyName.indexOf("^."))?t.propertyName.substring(2):t.propertyName,e=r?[r,e].join("."):e,e=n?a.displayNameProvider.getDisplayNameByPath(o,e):a.displayNameProvider.getRealName(o,e),p.push(e.done(function(e){e=i?"^."+e:e,e=r?e.split(".").slice(r.split(".").length).join("."):e;h.push({operand:t,convertedName:e})})))}),0===p.length?d.resolve(l):(c=0,t=function(){if(!(++c<p.length)){for(var e=l.split("\n"),t=0;t<e.length;t++)for(var r=h.filter(function(e){return e.operand.startPosition.line===t}).sort(function(e,t){return e.operand.startPosition.column-t.operand.startPosition.column}),i=0,o=0;i<r.length;i++){var n=r[i].operand.startPosition.column,a=r[i].operand.propertyName,s=0;r[i].operand.originalPropertyLength!==a.length&&(s=r[i].operand.originalPropertyLength-f.serialize(r[i].operand,!1).length);var u=r[i].convertedName;!a||n<0||(e[t]=e[t].substring(0,n+o)+u+e[t].substring(n+a.length+s+o),o+=u.length-a.length-s)}d.resolve(e.join("\n"))}},p.forEach(function(e){return e.always(t)})),d.promise()},o.prototype.toDisplayExpression=function(e,t){return this._replaceNames(e,t,!0)},o.prototype.toRealExpression=function(e,t){return this._replaceNames(e,t,!1)},o);function o(e){this.displayNameProvider=e}t.DisplayExpressionConverter=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),o=r(15),n=r(6),a=r(11),s=r(13),u=r(41),l=r(10),d=r(21),c=r(2),p=r(28),h=r(33),f=r(32),v=r(20),g=r(12),m=r(16),x=r(27),y=r(39),r=(b.prototype.serializeGroupOperand=function(e,t){var r=this,e=e.operands.map(function(e){return e instanceof o.GroupOperator?"("+r.serialize(e)+")":r.serialize(e)}).filter(function(e){return""!==e&&"()"!==e}).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&e?"Not("+e+")":e},b.prototype.serializeAggregateOperand=function(e,t){var r=e.operatorType===a.Aggregate.Exists?"":"."+a.Aggregate[e.operatorType],i=e.condition?this.serialize(e.condition):"";return this.serialize(e.property)+"["+i+"]"+r+(e.operatorType!==a.Aggregate.Exists?"("+(e.aggregatedExpression&&this.serialize(e.aggregatedExpression)||"")+")":"")},b.prototype.serializeOperandProperty=function(e){e=e.displayType;return e.length-u.trimBrackets(e).length==2&&(e="["+u.trimBrackets(e).replace(/\\/g,"\\").replace(/\]/g,"\\]")+"]"),e},b.prototype.serializeOperandValue=function(e){var t=e.value;return null==t||!i.isNumeric(t)&&"true"!==String(t).toLowerCase()&&"false"!==String(t).toLowerCase()?t&&e.value instanceof Date?"#"+c.serializeDate(t)+"#":"integer"===e.specifics||"integer"===e.specifics?t||"?":"guid"===e.specifics&&d.validateGuid(t)?"{"+t+"}":(-1!==t.indexOf("'")&&(t=t.replace("'","''")),t?"'"+t+"'":"?"):"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&d.validateGuid(t)?"{"+t+"}":t},b.prototype.serializeOperandParameter=function(e){return e.displayType},b.prototype.serializeBetweenOperator=function(e,t){e=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+e:e},b.prototype.serializeInOperator=function(e,t){var r=this,e=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map(function(e){return r.serialize(e)}).join(", ")+")";return t?"Not "+e:e},b.prototype.serializeBinaryOperator=function(e,t){if(e.operatorType!==v.BinaryOperatorType.Like)return(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand);t=t?" Not ":" ";return this.serialize(e.leftOperand)+t+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)},b.prototype.serializeUnaryOperator=function(e,t){if(e.operatorType===g.UnaryOperatorType.IsNull){var r=t?" Not ":" ";return this.serialize(e.operand)+" Is"+r+"Null"}if(e.operatorType===g.UnaryOperatorType.Not)return this.serialize(e.operand,!0);e=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand);return t?"Not "+e:e},b.prototype.serializeFunctionOperator=function(e,t){var r=this,e=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(function(e){return r.serialize(e)}).join(", ")+")";return t?"Not "+e:e},b.prototype.serialize=function(e,t){if(void 0===t&&(t=!1),e instanceof a.AggregateOperand)return this.serializeAggregateOperand(e,t);if(e instanceof h.BetweenOperator)return this.serializeBetweenOperator(e,t);if(e instanceof v.BinaryOperator)return this.serializeBinaryOperator(e,t);if(e instanceof y.ConstantValue)return this.serializeOperandValue(e);if(e instanceof m.FunctionOperator)return this.serializeFunctionOperator(e,t);if(e instanceof o.GroupOperator)return this.serializeGroupOperand(e,t);if(e instanceof f.InOperator)return this.serializeInOperator(e,t);if(e instanceof p.OperandParameter)return this.serializeOperandParameter(e);if(e instanceof s.OperandProperty)return this.serializeOperandProperty(e);if(e instanceof l.OperandValue)return this.serializeOperandValue(e);if(e instanceof g.UnaryOperator)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")},b.prototype.deserialize=function(e){return this.deserializeOperand(n.CriteriaOperator.parse(e))},b.prototype.deserializeOperand=function(e){if(e instanceof o.GroupOperator)return e;if(e instanceof g.UnaryOperator&&e.operatorType===g.UnaryOperatorType.Not){var t=e.operand;return t instanceof o.GroupOperator?e:new g.UnaryOperator(g.UnaryOperatorType.Not,new o.GroupOperator(o.GroupOperatorType.And,t?[t]:[]))}return new o.GroupOperator(o.GroupOperatorType.And,e?[e]:[])},b);function b(e,t){void 0===e&&(e=x.operatorTokens),this.operatorTokens=e,this.custom=t}t.FilterEditorSerializer=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(4),r=r(5),o=[{display:"Aggregate",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Aggregate",category:"Aggregate",items:{Avg:[{paramCount:1,text:"[].Avg()",displayName:"Avg()",descriptionStringId:"ExpressionEditorStringId.Function_AvgAggregate"}],Count:[{paramCount:1,text:"[].Count()",displayName:"Count()",descriptionStringId:"ExpressionEditorStringId.Function_CountAggregate"}],Exists:[{paramCount:1,text:"[].Exists()",displayName:"Exists()",descriptionStringId:"ExpressionEditorStringId.Function_ExistsAggregate"}],Max:[{paramCount:1,text:"[].Max()",displayName:"Max()",descriptionStringId:"ExpressionEditorStringId.Function_MaxAggregate"}],Min:[{paramCount:1,text:"[].Min()",displayName:"Min()",descriptionStringId:"ExpressionEditorStringId.Function_MinAggregate"}],Single:[{paramCount:1,text:"[].Single()",displayName:"Single()",descriptionStringId:"ExpressionEditorStringId.Function_SingleAggregate"}],Sum:[{paramCount:1,text:"[].Sum()",displayName:"Sum()",descriptionStringId:"ExpressionEditorStringId.Function_SumAggregate"}]}},{display:"Date-Time",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_DateTime",items:{LocalDateTimeThisYear:[{paramCount:0,text:"LocalDateTimeThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisYear"}],LocalDateTimeThisMonth:[{paramCount:0,text:"LocalDateTimeThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisMonth"}],LocalDateTimeLastMonth:[{paramCount:0,text:"LocalDateTimeLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastMonth"}],LocalDateTimeLastWeek:[{paramCount:0,text:"LocalDateTimeLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastWeek"}],LocalDateTimeLastYear:[{paramCount:0,text:"LocalDateTimeLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastYear"}],LocalDateTimeThisWeek:[{paramCount:0,text:"LocalDateTimeThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisWeek"}],LocalDateTimeYesterday:[{paramCount:0,text:"LocalDateTimeYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYesterday"}],LocalDateTimeToday:[{paramCount:0,text:"LocalDateTimeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeToday"}],LocalDateTimeNow:[{paramCount:0,text:"LocalDateTimeNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNow"}],LocalDateTimeTomorrow:[{paramCount:0,text:"LocalDateTimeTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTomorrow"}],LocalDateTimeDayAfterTomorrow:[{paramCount:0,text:"LocalDateTimeDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow"}],LocalDateTimeNextWeek:[{paramCount:0,text:"LocalDateTimeNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextWeek"}],LocalDateTimeTwoMonthsAway:[{paramCount:0,text:"LocalDateTimeTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway"}],LocalDateTimeTwoYearsAway:[{paramCount:0,text:"LocalDateTimeTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway"}],LocalDateTimeTwoWeeksAway:[{paramCount:0,text:"LocalDateTimeTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway"}],LocalDateTimeNextMonth:[{paramCount:0,text:"LocalDateTimeNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextMonth"}],LocalDateTimeNextYear:[{paramCount:0,text:"LocalDateTimeNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextYear"}],LocalDateTimeYearBeforeToday:[{paramCount:0,text:"LocalDateTimeYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalLaterThisYear:null,IsOutlookIntervalLaterThisMonth:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalLaterThisWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalEarlierThisWeek:null,IsOutlookIntervalLastWeek:null,IsOutlookIntervalEarlierThisMonth:null,IsOutlookIntervalEarlierThisYear:null,IsOutlookIntervalPriorThisYear:null,IsLastMonth:[{paramCount:1,text:"IsLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastMonth"}],IsLastYear:[{paramCount:1,text:"IsLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastYear"}],IsNextMonth:[{paramCount:1,text:"IsNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextMonth"}],IsNextYear:[{paramCount:1,text:"IsNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextYear"}],IsThisWeek:[{paramCount:1,text:"IsThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisWeek"}],IsThisMonth:[{paramCount:1,text:"IsThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisMonth"}],IsThisYear:[{paramCount:1,text:"IsThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisYear"}],IsJanuary:[{paramCount:1,text:"IsJanuary()",descriptionStringId:"ExpressionEditorStringId.Function_IsJanuary"}],IsFebruary:[{paramCount:1,text:"IsFebruary()",descriptionStringId:"ExpressionEditorStringId.Function_IsFebruary"}],IsMarch:[{paramCount:1,text:"IsMarch()",descriptionStringId:"ExpressionEditorStringId.Function_IsMarch"}],IsApril:[{paramCount:1,text:"IsApril()",descriptionStringId:"ExpressionEditorStringId.Function_IsApril"}],IsMay:[{paramCount:1,text:"IsMay()",descriptionStringId:"ExpressionEditorStringId.Function_IsMay"}],IsJune:[{paramCount:1,text:"IsJune()",descriptionStringId:"ExpressionEditorStringId.Function_IsJune"}],IsJuly:[{paramCount:1,text:"IsJuly()",descriptionStringId:"ExpressionEditorStringId.Function_IsJuly"}],IsAugust:[{paramCount:1,text:"IsAugust()",descriptionStringId:"ExpressionEditorStringId.Function_IsAugust"}],IsSeptember:[{paramCount:1,text:"IsSeptember()",descriptionStringId:"ExpressionEditorStringId.Function_IsSeptember"}],IsOctober:[{paramCount:1,text:"IsOctober()",descriptionStringId:"ExpressionEditorStringId.Function_IsOctober"}],IsNovember:[{paramCount:1,text:"IsNovember()",descriptionStringId:"ExpressionEditorStringId.Function_IsNovember"}],IsDecember:[{paramCount:1,text:"IsDecember()",descriptionStringId:"ExpressionEditorStringId.Function_IsDecember"}],IsSameDay:[{paramCount:2,text:"IsSameDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_IsSameDay"}],IsYearToDate:[{paramCount:1,text:"IsYearToDate()",descriptionStringId:"ExpressionEditorStringId.Function_IsYearToDate"}],DateDiffTick:[{paramCount:2,text:"DateDiffTick(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffTick"}],DateDiffSecond:[{paramCount:2,text:"DateDiffSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffSecond"}],DateDiffMilliSecond:[{paramCount:2,text:"DateDiffMilliSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMilliSecond"}],DateDiffMinute:[{paramCount:2,text:"DateDiffMinute(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMinute"}],DateDiffHour:[{paramCount:2,text:"DateDiffHour(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffHour"}],DateDiffDay:[{paramCount:2,text:"DateDiffDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffDay"}],DateDiffMonth:[{paramCount:2,text:"DateDiffMonth(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMonth"}],DateDiffYear:[{paramCount:2,text:"DateDiffYear(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffYear"}],GetDate:[{paramCount:1,text:"GetDate()",descriptionStringId:"ExpressionEditorStringId.Function_GetDate"}],GetMilliSecond:[{paramCount:1,text:"GetMilliSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetMilliSecond"}],GetSecond:[{paramCount:1,text:"GetSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetSecond"}],GetMinute:[{paramCount:1,text:"GetMinute()",descriptionStringId:"ExpressionEditorStringId.Function_GetMinute"}],GetHour:[{paramCount:1,text:"GetHour()",descriptionStringId:"ExpressionEditorStringId.Function_GetHour"}],GetDay:[{paramCount:1,text:"GetDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetDay"}],GetMonth:[{paramCount:1,text:"GetMonth()",descriptionStringId:"ExpressionEditorStringId.Function_GetMonth"}],GetYear:[{paramCount:1,text:"GetYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetYear"}],GetDayOfWeek:[{paramCount:1,text:"GetDayOfWeek()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfWeek"}],GetDayOfYear:[{paramCount:1,text:"GetDayOfYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfYear"}],GetTimeOfDay:[{paramCount:1,text:"GetTimeOfDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetTimeOfDay"}],Now:[{paramCount:0,text:"Now()",descriptionStringId:"ExpressionEditorStringId.Function_Now"}],UtcNow:[{paramCount:0,text:"UtcNow()",descriptionStringId:"ExpressionEditorStringId.Function_UtcNow"}],Today:[{paramCount:0,text:"Today()",descriptionStringId:"ExpressionEditorStringId.Function_Today"}],AddTimeSpan:[{paramCount:2,text:"AddTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTimeSpan"}],AddTicks:[{paramCount:2,text:"AddTicks(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTicks"}],AddMilliSeconds:[{paramCount:2,text:"AddMilliSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMilliSeconds"}],AddSeconds:[{paramCount:2,text:"AddSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddSeconds"}],AddMinutes:[{paramCount:2,text:"AddMinutes(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMinutes"}],AddHours:[{paramCount:2,text:"AddHours(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddHours"}],AddDays:[{paramCount:2,text:"AddDays(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddDays"}],AddMonths:[{paramCount:2,text:"AddMonths(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMonths"}],AddYears:[{paramCount:2,text:"AddYears(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddYears"}]}},{display:"Logical",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Logical",items:{Iif:[{paramCount:3,text:"Iif(, , )",descriptionStringId:"ExpressionEditorStringId.Function_Iif"}],IsNull:[{paramCount:1,text:"IsNull()",descriptionStringId:"ExpressionEditorStringId.Function_IsNull"}],IsNullOrEmpty:[{paramCount:1,text:"IsNullOrEmpty()",descriptionStringId:"ExpressionEditorStringId.Function_IsNullOrEmpty"}]}},{display:"Math",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Math",items:{Abs:[{paramCount:1,text:"Abs()",descriptionStringId:"ExpressionEditorStringId.Function_Abs"}],Sqr:[{paramCount:1,text:"Sqr()",descriptionStringId:"ExpressionEditorStringId.Function_Sqr"}],Cos:[{paramCount:1,text:"Cos()",descriptionStringId:"ExpressionEditorStringId.Function_Cos"}],Sin:[{paramCount:1,text:"Sin()",descriptionStringId:"ExpressionEditorStringId.Function_Sin"}],Atn:[{paramCount:1,text:"Atn()",descriptionStringId:"ExpressionEditorStringId.Function_Atn"}],Exp:[{paramCount:1,text:"Exp()",descriptionStringId:"ExpressionEditorStringId.Function_Exp"}],Log:[{paramCount:1,text:"Log()",descriptionStringId:"ExpressionEditorStringId.Function_Log"},{paramCount:2,text:"Log(, )",descriptionStringId:"ExpressionEditorStringId.Function_Log_2"}],Rnd:[{paramCount:0,text:"Rnd()",descriptionStringId:"ExpressionEditorStringId.Function_Rnd"}],Tan:[{paramCount:1,text:"Tan()",descriptionStringId:"ExpressionEditorStringId.Function_Tan"}],Power:[{paramCount:2,text:"Power(, )",descriptionStringId:"ExpressionEditorStringId.Function_Power"}],Sign:[{paramCount:1,text:"Sign()",descriptionStringId:"ExpressionEditorStringId.Function_Sign"}],Round:[{paramCount:1,text:"Round()",descriptionStringId:"ExpressionEditorStringId.Function_Round"},{paramCount:2,text:"Round(, )",descriptionStringId:"ExpressionEditorStringId.Function_Round_2"}],Ceiling:[{paramCount:1,text:"Ceiling()",descriptionStringId:"ExpressionEditorStringId.Function_Ceiling"}],Floor:[{paramCount:1,text:"Floor()",descriptionStringId:"ExpressionEditorStringId.Function_Floor"}],Max:[{paramCount:2,text:"Max(, )",descriptionStringId:"ExpressionEditorStringId.Function_Max"}],Min:[{paramCount:2,text:"Min(, )",descriptionStringId:"ExpressionEditorStringId.Function_Min"}],Acos:[{paramCount:1,text:"Acos()",descriptionStringId:"ExpressionEditorStringId.Function_Acos"}],Asin:[{paramCount:1,text:"Asin()",descriptionStringId:"ExpressionEditorStringId.Function_Asin"}],Atn2:[{paramCount:2,text:"Atn2(, )",descriptionStringId:"ExpressionEditorStringId.Function_Atn2"}],BigMul:[{paramCount:2,text:"BigMul(, )",descriptionStringId:"ExpressionEditorStringId.Function_BigMul"}],Cosh:[{paramCount:1,text:"Cosh()",descriptionStringId:"ExpressionEditorStringId.Function_Cosh"}],Log10:[{paramCount:1,text:"Log10()",descriptionStringId:"ExpressionEditorStringId.Function_Log10"}],Sinh:[{paramCount:1,text:"Sinh()",descriptionStringId:"ExpressionEditorStringId.Function_Sinh"}],Tanh:[{paramCount:1,text:"Tanh()",descriptionStringId:"ExpressionEditorStringId.Function_Tanh"}],ToInt:[{paramCount:1,text:"ToInt()",descriptionStringId:"ExpressionEditorStringId.Function_ToInt"}],ToLong:[{paramCount:1,text:"ToLong()",descriptionStringId:"ExpressionEditorStringId.Function_ToLong"}],ToFloat:[{paramCount:1,text:"ToFloat()",descriptionStringId:"ExpressionEditorStringId.Function_ToFloat"}],ToDouble:[{paramCount:1,text:"ToDouble()",descriptionStringId:"ExpressionEditorStringId.Function_ToDouble"}],ToDecimal:[{paramCount:1,text:"ToDecimal()",descriptionStringId:"ExpressionEditorStringId.Function_ToDecimal"}]}},{display:"String",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Text",items:{Trim:[{paramCount:1,text:"Trim()",descriptionStringId:"ExpressionEditorStringId.Function_Trim"}],Len:[{paramCount:1,text:"Len()",descriptionStringId:"ExpressionEditorStringId.Function_Len"}],Substring:[{paramCount:3,text:"Substring('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Substring_3"},{paramCount:2,text:"Substring('', )",descriptionStringId:"ExpressionEditorStringId.Function_Substring"}],Upper:[{paramCount:1,text:"Upper()",descriptionStringId:"ExpressionEditorStringId.Function_Upper"}],Lower:[{paramCount:1,text:"Lower()",descriptionStringId:"ExpressionEditorStringId.Function_Lower"}],Concat:[{paramCount:1/0,text:"Concat(, )",descriptionStringId:"ExpressionEditorStringId.Function_Concat"}],Ascii:[{paramCount:1,text:"Ascii('')",descriptionStringId:"ExpressionEditorStringId.Function_Ascii"}],Char:[{paramCount:1,text:"Char()",descriptionStringId:"ExpressionEditorStringId.Function_Char"}],ToStr:[{paramCount:1,text:"ToStr()",descriptionStringId:"ExpressionEditorStringId.Function_ToStr"}],Replace:[{paramCount:3,text:"Replace('','', '')",descriptionStringId:"ExpressionEditorStringId.Function_Replace"}],Reverse:[{paramCount:1,text:"Reverse('')",descriptionStringId:"ExpressionEditorStringId.Function_Reverse"}],Insert:[{paramCount:3,text:"Insert('', , '')",descriptionStringId:"ExpressionEditorStringId.Function_Insert"}],CharIndex:[{paramCount:2,text:"CharIndex('','')",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex"},{paramCount:3,text:"CharIndex('','', )",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex_3"}],Remove:[{paramCount:2,text:"Remove('', )",descriptionStringId:"ExpressionEditorStringId.Function_Remove"},{paramCount:3,text:"Remove('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Remove_3"}],PadLeft:[{paramCount:2,text:"PadLeft(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft"},{paramCount:3,text:"PadLeft(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft_3"}],PadRight:[{paramCount:2,text:"PadRight(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadRight"},{paramCount:3,text:"PadRight(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadRight_3"}],StartsWith:[{paramCount:2,text:"StartsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_StartsWith"}],EndsWith:[{paramCount:2,text:"EndsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_EndsWith"}],Contains:[{paramCount:0,text:"Contains('', '')",descriptionStringId:"ExpressionEditorStringId.Function_Contains"}],Join:[{paramCount:1,text:"Join()",descriptionStringId:"ExpressionEditorStringId.Function_Join"},{paramCount:2,text:"Join(, '')",descriptionStringId:"ExpressionEditorStringId.Function_Join_2"}]}}];t.functionDisplay=r.createGlobalModuleVariableFunc(o),t.resetFunctionDisplay=function(){return t.functionDisplay(o)},t.insertInFunctionDisplay=function(r){return t.functionDisplay().map(function(e){var t=r[e.display];return t?{display:e.display,category:e.category,localizationId:e.localizationId,items:i.extend({},e.items,t)}:e})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operatorNames=[{text:"+",image:"addition",descriptionStringId:"ExpressionEditorStringId.Operator_Plus"},{text:"-",image:"subtraction",descriptionStringId:"ExpressionEditorStringId.Operator_Minus"},{text:"*",image:"multiplication",descriptionStringId:"ExpressionEditorStringId.Operator_Multiply"},{text:"/",image:"division",descriptionStringId:"ExpressionEditorStringId.Operator_Divide"},{text:"%",image:"modulus",hasSeparator:!0,descriptionStringId:"ExpressionEditorStringId.Operator_Modulo"},{text:"()",image:"parenthesis",hasSeparator:!0},{text:"|",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseOr"},{text:"&",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseAnd"},{text:"^",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseXor"},{text:"==",image:"equal",descriptionStringId:"ExpressionEditorStringId.Operator_Equal"},{text:"!=",image:"not_equal",descriptionStringId:"ExpressionEditorStringId.Operator_NotEqual"},{text:"<",image:"less",descriptionStringId:"ExpressionEditorStringId.Operator_Less"},{text:"<=",image:"less_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_LessOrEqual"},{text:">=",image:"greater_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_GreaterOrEqual"},{text:">",hasSeparator:!0,image:"greater",descriptionStringId:"ExpressionEditorStringId.Operator_Greater"},{text:"In",descriptionStringId:"ExpressionEditorStringId.Operator_In"},{text:"Like",descriptionStringId:"ExpressionEditorStringId.Operator_Like"},{text:"Between",descriptionStringId:"ExpressionEditorStringId.Operator_Between"},{text:"And",image:"and",descriptionStringId:"ExpressionEditorStringId.Operator_And"},{text:"Or",image:"or",descriptionStringId:"ExpressionEditorStringId.Operator_Or"},{text:"Not",image:"not",descriptionStringId:"ExpressionEditorStringId.Operator_Not"}]},function(e,s,t){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var u=t(60);s._addErrorPrefix=!0,s._processError=function(e,t,r,i,o){var n=e,a=u.getErrorMessage(r);a&&a!==n&&(s._addErrorPrefix?n+=": "+a:n=a);try{o?o(n,r,i):u.NotifyAboutWarning(n)}finally{t.reject(r,i,e)}},s._errorProcessor={handlers:[],call:function(e){for(var t=0;t<s._errorProcessor.handlers.length;t++)s._errorProcessor.handlers[t](e)}},s.processErrorEvent=function(t){return t&&s._errorProcessor.handlers.push(t),{dispose:function(){var e;t&&(e=t,s._errorProcessor.handlers.splice(s._errorProcessor.handlers.indexOf(e),1))}}}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1),i=t(22),a=t(23),s=t(178);r.NotifyType={info:"info",warning:"warning",error:"error",success:"success"};var o,u=(o=window.console,{info:l("info"),warn:l("warn"),error:l("error")});function l(r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o&&n.isFunction(o[r])&&o[r].apply(o,arguments)}}r.NotifyAboutWarning=function(e,t){if(void 0===t&&(t=!1),t&&r.ShowMessage(e),i.DEBUG)throw new Error(e);u.warn(e)},r.getErrorMessage=function(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""};function d(e,t,r,i){void 0===t&&(t="error");var o=n(".dx-designer-viewport")[0];s.default({message:e,type:t,maxWidth:o?o.clientWidth:void 0,position:{boundary:o,collision:"fit",of:a.chooseBetterPositionOf(document.documentElement,o),my:"bottom",at:"bottom",offset:"0 -10"},container:o,closeOnOutsideClick:!0,closeOnSwipe:!1,displayTime:r||("error"===t?6e4:3e3)})}r.ShowMessage=d,r._setShowMessageFunc=function(e){return r.ShowMessage=e},r._resetShowMessageFunc=function(){return r.ShowMessage=d}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(0);t.availableFonts=r.observable({})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(18);t.sizeFake=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:r.editorTemplates.getEditor("numeric"),editorOptions:{min:2}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:r.editorTemplates.getEditor("numeric"),editorOptions:{min:2}}],t.locationFake=[{propertyName:"x",displayName:"X",editor:r.editorTemplates.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:r.editorTemplates.getEditor("numeric")}]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),r=function(e,t,r,i){void 0===e&&(e=0),void 0===t&&(t=0),void 0===r&&(r=0),void 0===i&&(i=0),this.left=o.observable(0),this.top=o.observable(0),this.width=o.observable(0),this.height=o.observable(0),this.className="dxrd-drag-helper-item",this.left(e),this.top(t),this.width(r),this.height(i)};t.Rectangle=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(87);t.getToolboxItems=function(i){var e=[];return Object.keys(i).forEach(function(t){var r;i[t].nonToolboxItem||(r={"@ControlType":t,displayName:i[t].displayName,index:i[t].toolboxIndex||0,canDrop:i[t].canDrop},i[t].size&&(r.size=i[t].size),i[t].defaultVal&&Object.keys(i[t].defaultVal).forEach(function(e){r[e]=i[t].defaultVal[e]}),e.push(new o.ToolboxItem(r)))}),e.sort(function(e,t){return e.index-t.index})},t.blur=function(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(44),r=(i.prototype._appendSnapLine=function(e,t,r,i){var o={position:e,limitInf:t,limSup:r},e=n.binaryIndexOf(i,o,function(e,t){return e.position-t.position});-1<e?(i[e].limitInf=Math.min(i[e].limitInf,t),i[e].limSup=Math.max(i[e].limSup,r)):i.splice(~e,0,o)},i.prototype._collectSnaplines=function(e,t){var r=this;this._enumerateCollection(e,t,function(e,t){e!==r._snapTargetToIgnore&&(r._appendSnapLine(t.left,t.top,t.bottom,r._verticalSnapLines),r._appendSnapLine(t.right,t.top,t.bottom,r._verticalSnapLines),r._appendSnapLine(t.top,t.left,t.right,r._horizontalSnapLines),r._appendSnapLine(t.bottom,t.left,t.right,r._horizontalSnapLines),r._collectSnaplines(e,t))})},i.prototype._getCollection=function(e){return e.controls&&e.controls()},i.prototype._enumerateCollection=function(e,t,r){var i=this._getCollection(e);if(i)for(var o=0;o<i.length;o++){var n=i[o].rect&&i[o].rect();n&&r(i[o],{top:n.top+t.top,bottom:n.bottom+t.top,left:n.left+t.left,right:n.right+t.left})}},i.prototype.collectSnaplines=function(e,t){return this._snapTargetToIgnore=t,this._verticalSnapLines.splice(0),this._horizontalSnapLines.splice(0),this._collectSnaplines(e,{top:0,left:0}),{vertical:this._verticalSnapLines,horizontal:this._horizontalSnapLines}},i);function i(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}t.SnapLinesCollector=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(0),u=r(1),n=r(2),l=r(22),d=r(3),c=r(4),p=r(7),r=(a=n.Disposable,o(h,a),h.prototype.dispose=function(){a.prototype.dispose.call(this),this.disposeArray(this.tabs)},h.Position={Left:"Left",Right:"Right"},h);function h(e){var i=a.call(this)||this;i.tabs=[],i.collapsed=s.observable(!1),i.position=s.observable(h.Position.Right),i.toggleCollapsedText=s.pureComputed(function(){var e=i.collapsed()?"Open":"Collapse";return d.getLocalization(e,"ASPxReportsStringId.SidePanel_"+e)}),i.cssClasses=function(e){return c.extend({"dxrd-tab-panel-left":i.position()===h.Position.Left,"dxrd-tab-panel-right":i.position()===h.Position.Right,"dxrd-tab-panel-empty":i.isEmpty()},e)};var t=e.tabs,r=e.autoSelectTab;e.rtl&&i.position(h.Position.Left);var o=i;(i.tabs=t)&&t.length?i._disposables.push(i.isEmpty=s.computed(function(){return i.tabs.every(function(e){return!e.visible()})})):i.isEmpty=s.observable(!0),i._disposables.push(s.computed(function(){var e=t.filter(function(e){return e.visible()});0!==e.length?0===e.filter(function(e){return e.active.peek()}).length&&(e[0].active(!0),r&&i.collapsed(!0)):i.collapsed(!0)})),i._disposables.push(s.computed(function(){var e=t.filter(function(e){return e.disabled()});0!==e.length&&0!==e.filter(function(e){return e.active.peek()}).length&&(e.forEach(function(e){return e.active(!1)}),(e=t.filter(function(e){return!e.disabled.peek()&&e.visible.peek()})[0])&&i.selectTab({model:e}))})),r&&i.tabs.forEach(function(t){i._disposables.push(t.active.subscribe(function(e){e&&i.selectTab({model:t})}))}),i.selectTab=function(e){var t=e.model;t.disabled()||(i.tabs.forEach(function(e){e.active(e===t)}),i.collapsed(!1))};var n=s.observable(340);return i._disposables.push(i.width=s.pureComputed({read:function(){return i.collapsed()?0:n()},write:function(e){n(e)}})),i._disposables.push(i.headerWidth=s.pureComputed(function(){return i.isEmpty()?0:50+(i.collapsed()?0:i.width())})),i.getResizableOptions=function(t,e,r){return i._resizableOptions&&i._resizableOptions.$element===t||(i._resizableOptions=l.getResizableOptions(t,e,r,o.position(),h.Position.Left,o.width,o.collapsed),o._disposables.push(o.position.subscribe(function(e){u(t).resizable("option","handles",e===h.Position.Left?"e":"w")}))),i._resizableOptions},i._disposables.push(i.toggleCollapsedImage=s.pureComputed(function(){var e=i.collapsed()?"-expand":"-collapse";return{class:"dxrd-image-propertygrid"+e,template:"dxrd-svg-tabs"+e}})),i._disposables.push(i.toggleCollapsedText),i}t.TabPanel=r;var f,o=(f=n.Disposable,o(v,f),Object.defineProperty(v.prototype,"text",{get:function(){return d.getLocalization(this._text,this._localizationId)},enumerable:!0,configurable:!0}),v);function v(e){var t=f.call(this)||this;t.active=s.observable(!1),t.visible=s.observable(),t.disabled=s.observable();var r=e.imageClassName||e.text.toLowerCase();t._text=e.text,t._localizationId=e.localizationId,t._disposables.push(t.imageClassName=s.pureComputed(function(){return"dxrd-image-"+r})),t.imageTemplateName=e.imageTemplateName||p.SvgTemplatesEngine.getExistingTemplate("dxrd-svg-tabs-"+e.text.toLowerCase()),t.template=e.template,t._disposables.push(e.model);var i=e.visible,o=e.disabled;return t._disposables.push(t.visible=s.pureComputed(function(){return void 0===i||i()})),t._disposables.push(t.disabled=s.pureComputed(function(){return void 0!==o&&o()})),t._disposables.push(t.visible.subscribe(function(e){e||t.active(!1)})),i&&t._disposables.push(i),o&&t._disposables.push(o),t.model=e.model,t}t.TabInfo=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(0);t.objectsVisitor=function e(t,r,i,o){if(void 0===i&&(i=[]),void 0===o&&(o=["surface","reportSource"]),-1===i.indexOf(t)&&t&&void 0!==t){var n=[];Object.keys(t).forEach(function(e){-1===i.indexOf(t[e])&&0!==e.indexOf("_")&&-1===o.indexOf(e)&&n.push(t[e])}),r(t),i.push(t);for(var a=0;a<n.length;a++)n[a]=s.unwrap(n[a]),"object"==typeof n[a]&&e(n[a],r,i,o)}},t.collectionsVisitor=function t(e,r,i,o){if(void 0===i&&(i=["controls","bands","subBands","crossBandControls","rows","cells","fields"]),void 0===o&&(o=[]),e&&void 0!==e){o.push(e);for(var n=0,a=i.length;n<a;n++)e[i[n]]&&(r(e[i[n]],e),(e[i[n]]()||[]).forEach(function(e){return t(e,r,i,o)}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(5),r=(o.prototype.processShortcut=function(e){var t=this.shortcutMap[e.keyCode];return!!t&&t(e)},o.prototype.processEsc=function(){var e=this._selection.focused()&&this._selection.focused().parent;e&&this._selection.focused(e)},o.prototype.moveSelectedControls=function(n,e,a){var s,u,t,r,l,i=this._selection.focused();!i||i&&i.getControlModel().getMetaData().isCopyDeny||(this._undoEngine&&this._undoEngine().start(),s=e?"left":"top",u=e?"width":"height",i.rect&&(t=i.rect()[s],r=i.rect()[s]+i.rect()[u],this._selection.selectedItems.filter(function(e){return!e.locked}).forEach(function(e){e=e.rect()[s];e<t&&(t=e)}),this._selection.selectedItems.filter(function(e){return!e.locked}).forEach(function(e){e=e.rect()[s]+e.rect()[u];r<e&&(r=e)}),n&&t<=0||!i.parent.rect||!n&&r.toFixed(5)>=i.parent.rect()[u]||(this._selection.selectedItems.filter(function(e){return!e.locked}).filter(function(e){return!!e.rect}).forEach(function(e){var t={},r=e.rect()[s],i=e.rect()[u],o=e.parent.rect()[u];l=r+ +a,(n&&0<=l||!n&&l+i<=o)&&(t[s]=l),!n&&o<l+i&&(t[s]=o-i),n&&l<0&&0<r&&(t[s]=0),e.rect(t)}),this._undoEngine&&this._undoEngine().end())))},o);function o(e,t){var r=this;this._selection=e,this._undoEngine=t,this.shortcutMap={27:function(e){return r.processEsc(),!0},37:function(e){return r.moveSelectedControls(!0,!0,-1),!0},38:function(e){return r.moveSelectedControls(!0,!1,-1),!0},39:function(e){return r.moveSelectedControls(!1,!0,1),!0},40:function(e){return r.moveSelectedControls(!1,!1,1),!0}}}t.KeyboardHelper=r;Object.defineProperty(n.prototype,"_activeHandler",{get:function(){return 0<this._handlers.length?this._handlers[this._handlers.length-1]:null},enumerable:!0,configurable:!0}),n.prototype._removeHandler=function(e){var t=this._handlers.indexOf(e);t<0||(this._handlers.splice(t,1),t===this._handlers.length&&(this._targetElement.off("keydown",e),this._activeHandler&&this._targetElement.on("keydown",this._activeHandler)))},n.prototype.bindHandler=function(e,t){var r=this;this._activeHandler&&this._targetElement.off("keydown",this._activeHandler),this._handlers.push(t),this._targetElement.on("keydown",t),i.addDisposeCallback(e,function(){r._removeHandler(t)})},r=n;function n(e){this._handlers=[],this._targetElement=e}t.KeyDownHandlersManager=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),o=r(62),r=(n.prototype.getInfo=function(){return o.locationFake},n.fromString=function(e){void 0===e&&(e="0, 0");e=e.split(",");return new n(parseFloat(e[0]),parseFloat(e[1]))},n.prototype.toString=function(){return this.x()+", "+this.y()},n.unitProperties=["x","y"],n);function n(e,t){this.x=i.observable(e),this.y=i.observable(t)}t.Point=r},function(e,t,r){"use strict";function o(e){var t=e.parent,r=t;return t&&(-1===(e=(t=t.getChildrenCollection()()).indexOf(e))&&0<t.length?r=t[t.length-1]:1<t.length&&e===t.length-1?r=t[e-1]:1<t.length&&0===e||1<t.length?r=t[t.length-1]:-1===e&&r.parent&&-1===r.parent.getChildrenCollection()().indexOf(r)&&(r=o(r))),r}Object.defineProperty(t,"__esModule",{value:!0}),t.deleteSelection=function(e){var i=e.focused();e.selectedItems.forEach(function(e){var t=e.getControlModel(),r=t.parentModel();!e.getControlModel().getMetaData().isDeleteDeny&&r&&e!==i&&r.removeChild(t)}),i.getControlModel().parentModel().removeChild(i.getControlModel()),e.focused(o(i))},t.findNextSelection=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(18);t.left={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:r.editorTemplates.getEditor("numeric")},t.right={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:r.editorTemplates.getEditor("numeric")},t.top={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:r.editorTemplates.getEditor("numeric")},t.bottom={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:r.editorTemplates.getEditor("numeric")},t.all={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:r.editorTemplates.getEditor("numeric")},t.paddingSerializationsInfo=[t.all,t.left,t.right,t.top,t.bottom]},function(e,i,t){"use strict";var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(i,"__esModule",{value:!0});var n=t(0),t=t(2);i.availableUnits=[{value:"pt",displayValue:"Point",localizationId:"DevExpress.ReportDesigner_FontOptions_Unit_Point"},{value:"world",displayValue:"World",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_World"},{value:"px",displayValue:"Pixel",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_Pixel"},{value:"in",displayValue:"Inch",localizationId:"AnalyticsCoreStringId.Wizard_Inch"},{value:"doc",displayValue:"Document",localizationId:"PreviewStringId.ReportDesigner_FontOptions_Unit_Document"},{value:"mm",displayValue:"Millimetr",localizationId:"AnalyticsCoreStringId.Wizard_Millimeter"}];var a,r=(a=t.Disposable,r(s,a),s.prototype.updateModel=function(e){var t,r;e&&(t=e.split(","),this.family(t[0]),r=this,i.availableUnits.forEach(function(e){-1!=t[1].indexOf(e.value)&&(r.size(parseFloat(t[1].split(e.value)[0])),r.unit(e.value))}),this.modificators.bold(-1!==e.indexOf("Bold")),this.modificators.italic(-1!==e.indexOf("Italic")),this.modificators.underline(-1!==e.indexOf("Underline")),this.modificators.strikeout(-1!==e.indexOf("Strikeout")))},s.prototype.updateValue=function(e){var t,r;this.isUpdateModel||(t=[this.family(),this.size()+this.unit()].join(", "),r=[],this.modificators.bold()&&r.push("Bold"),this.modificators.italic()&&r.push("Italic"),this.modificators.underline()&&r.push("Underline"),this.modificators.strikeout()&&r.push("Strikeout"),e((r=r.join(", "))?[t,r].join(", style="):t))},s);function s(t){var r=a.call(this)||this;return r.family=n.observable("Times New Roman"),r.unit=n.observable("pt"),r.isUpdateModel=!1,r.size=n.observable(9),r.modificators={bold:n.observable(!1),italic:n.observable(!1),strikeout:n.observable(!1),underline:n.observable(!1)},r.updateModel(t()),r._disposables.push(t.subscribe(function(e){r.isUpdateModel=!0,r.updateModel(e),r.isUpdateModel=!1})),r._disposables.push(r.modificators.bold.subscribe(function(e){return r.updateValue(t)})),r._disposables.push(r.modificators.italic.subscribe(function(e){return r.updateValue(t)})),r._disposables.push(r.modificators.strikeout.subscribe(function(e){return r.updateValue(t)})),r._disposables.push(r.modificators.underline.subscribe(function(e){return r.updateValue(t)})),r._disposables.push(r.family.subscribe(function(e){return r.updateValue(t)})),r._disposables.push(r.size.subscribe(function(e){return r.updateValue(t)})),r._disposables.push(r.unit.subscribe(function(e){return r.updateValue(t)})),r}i.FontModel=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var A=r(0),E=r(1),w=r(19),O=r(5),I=r(110),i=r(190),o=r(191),n=r(192),a=r(193),s=r(194),u=r(195);t.aceAvailable=!!I.default,!window.ace&&t.aceAvailable&&(I.default.config.setModuleUrl("ace/ext/language_tools",i.default),I.default.config.setModuleUrl("ace/mode/sql",o.default),I.default.config.setModuleUrl("ace/mode/text",n.default),I.default.config.setModuleUrl("ace/mode/json",a.default),I.default.config.setModuleUrl("ace/theme/ambiance",s.default),I.default.config.setModuleUrl("ace/theme/dreamweaver",u.default)),r(109),r(158),A.bindingHandlers.dxAceEditor={init:function(r,e,t,i,o){function n(e,t){C=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),C=!0}var a,s,u,l,d,c,p,h,f,v,g,m,x,y=e(),b=y.value,_=y.editorContainer,C=!0;I.default&&(g=null==y.options.showGutter||y.options.showGutter,a=y.additionalOptions,s=I.default.require("ace/ext/language_tools"),u=I.default.edit(r),A.observable(null),e=(e=y.theme)||(w.isDarkTheme()?"ace/theme/ambiance":"ace/theme/dreamweaver"),u.setTheme(e),u.$blockScrolling=1/0,e=i.languageHelper.getLanguageMode(),(l=u.getSession()).gutterRenderer={getWidth:function(e,t,r){return t.toString().length*r.characterWidth},getText:function(e,t){return t+1}},l.setMode(e),d=function(){u.completer&&u.completer.popup&&u.completer.popup.hide()},a&&(a.onChange&&(h=null,f=function(e){null!==h&&clearTimeout(h),C&&(h=setTimeout(function(){b()!==l.getValue()&&a.onChange(l)},a&&a.changeTimeout||1e3))},l.on("change",f)),a.overrideEditorFocus&&(u.focus=function(e,t){u.textInput.getElement().focus()}),a.onFocus&&(c=function(){a.onFocus(l)},u.on("focus",c)),a.onBlur&&(d=function(){return u.completer&&u.completer.popup&&u.completer.popup.hide(),a.onBlur(l)}),a.onChangeAnnotation&&(p=function(e,t){a.onChangeAnnotation(t)},l.on("changeAnnotation",p))),u.on("blur",d),v=i.languageHelper.createCompleters(u,o,i),s.setCompleters(v),u.setOptions(y.options),a&&"setUseWrapMode"in a&&u.getSession().setUseWrapMode(a.setUseWrapMode),g||u.renderer.setShowGutter(g),u.renderer.$gutter&&(g=u.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary",u.renderer.$gutter.className=g),m=u._defaultHandlers.guttermousemove,u._defaultHandlers.guttermousemove=function(e){var t=r.getBoundingClientRect();e.x=e.x-t.left,e.y=e.y-t.top,m(e)},A.isSubscribable(b)&&(x=b.subscribe(function(e){e!==l.getValue()&&n(u,e),a&&a.onValueChange&&a.onValueChange(u)})),n(u,A.unwrap(b)),y.callbacks&&(y.callbacks.focus=function(){setTimeout(function(){u.textInput.getElement().focus()},10)}),O.addDisposeCallback(r,function(){x.dispose(),y.callbacks&&(y.callbacks.focus=E.noop),v.forEach(function(e){return e.dispose&&e.dispose()}),d&&u.off("blur",d),c&&u.off("focus",c),f&&l.off("change",f),p&&l.off("changeAnnotation",p)})),A.isObservable(_)&&_(u)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),u=r(1),i=r(48),o=r(56),a=r(16),s=r(20),l=r(32),d=r(12),c=r(11),p=r(15),h=r(3),f=r(116),v=r(33),g=r(115),m=r(117),x=r(49),y=r(75),b=r(119),_=r(120),C=r(121),A=r(122),E=r(123),w=r(124),O=r(125),I=r(25),F=r(17),r=(Object.defineProperty(S.prototype,"_allFilterEditorOperators",{get:function(){var t=this,r=[];return Object.keys(this.filterEditorOperators).forEach(function(e){r.push.apply(r,t.filterEditorOperators[e])}),r},enumerable:!0,configurable:!0}),S.prototype._getFilterEditorOperator=function(t,e,r){return e.filter(function(e){return e.value===t.operatorType&&e.type===t.enumType&&e.reverse===r})[0]},S.prototype._initDisplayText=function(){var t=this;Object.keys(this.filterEditorOperators).forEach(function(e){t.filterEditorOperators[e].forEach(i.initDisplayText)})},S.prototype.registrateOperator=function(e,t,r,i,o,n){var a,s;void 0===o&&(o=!1),this.filterEditorOperators[e]&&(t[r]||(s=a=0,u.each(t,function(e,t){s=parseInt(e),!isNaN(s)&&a<s&&(a=s)}),t[++a]=r,t[r]=a),n={name:i,value:t[r],type:t,reverse:o,displayText:h.getLocalization(i,n)},this.filterEditorOperators[e].push(n))},S.prototype.generateTreelistOptions=function(e,t){var r=this,i=n.observable(null),o=n.observable(null);return{subscription:n.computed(function(){i({itemsProvider:n.unwrap(e),selectedPath:n.observable(""),selected:o,path:n.unwrap(t),treeListController:new m.FilterEditorTreeListController(o),rtl:r.rtl})}),options:i}},S);function S(e){this.rtl=!1,this.parameters=n.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new f.CriteriaSurfaceValidator,this.filterEditorOperators={_common:[{name:"Equals",insertVal:"==",value:s.BinaryOperatorType.Equal,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Does not equal",hidden:!0,reverse:!0,value:s.BinaryOperatorType.Equal,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Does not equal",insertVal:"!=",value:s.BinaryOperatorType.NotEqual,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Equals",reverse:!0,hidden:!0,value:s.BinaryOperatorType.NotEqual,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Is greater than",insertVal:">",value:s.BinaryOperatorType.Greater,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is less than or equal to",hidden:!0,reverse:!0,value:s.BinaryOperatorType.Greater,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is greater than or equal to",insertVal:">=",value:s.BinaryOperatorType.GreaterOrEqual,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than",hidden:!0,reverse:!0,value:s.BinaryOperatorType.GreaterOrEqual,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is less than",insertVal:"<",value:s.BinaryOperatorType.Less,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is greater than or equal to",reverse:!0,hidden:!0,value:s.BinaryOperatorType.Less,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than or equal to",insertVal:"<=",value:s.BinaryOperatorType.LessOrEqual,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseLessOrEqual"},{name:"Is greater than",reverse:!0,hidden:!0,value:s.BinaryOperatorType.LessOrEqual,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is between",value:"Between",insertVal:"Between(, )",paramCount:1,type:v.BetweenOperator,localizationId:"StringId.FilterClauseBetween"},{name:"Is not between",value:"Between",insertVal:"Between(, )",paramCount:1,type:v.BetweenOperator,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"}],string:[],guid:[],integer:[],float:[],date:[],list:[],group:[]},this.onChange=function(){},this.onEditorFocusOut=function(e){},this.onSave=function(e){},this.onClosing=function(){},this.handlers={create:function(e,t){return{data:new g.FilterEditorAddOn(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}},change:function(e,t){return{data:new g.FilterEditorAddOn(e,t,"change","items"),templateName:"dx-filtereditor-change"}},changeProperty:function(e,t){return{data:new g.FilterEditorAddOn(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}},changeValueType:function(e,t){return{data:new g.FilterEditorAddOn(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}},changeParameter:function(e,t){return{data:new g.FilterEditorAddOn(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"}}},this.mapper={Aggregate:x.AggregateOperandSurface,Property:y.OperandPropertySurface,Parameter:b.OperandParameterSurface,Value:_.OperandValueSurface,Group:C.GroupOperandSurface,Between:A.BetweenOperandSurface,Binary:E.BinaryOperandSurface,Function:w.FunctionOperandSurface,In:O.InOperandSurface,Unary:I.UnaryOperandSurface,Default:F.CriteriaOperatorSurface},this.serializer=e||new o.FilterEditorSerializer,this.filterEditorOperators.string=[].concat(this.filterEditorOperators._common,[{name:"Contains",insertVal:"Contains(, )",value:a.FunctionOperatorType.Contains,type:a.FunctionOperatorType,localizationId:"StringId.FilterClauseContains"},{name:"Does not contain",value:a.FunctionOperatorType.Contains,type:a.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},{name:"Begins with",insertVal:"StartsWith(, )",value:a.FunctionOperatorType.StartsWith,type:a.FunctionOperatorType,localizationId:"StringId.FilterClauseBeginsWith"},{name:"Ends with",insertVal:"StartsWith(, )",value:a.FunctionOperatorType.EndsWith,type:a.FunctionOperatorType,localizationId:"StringId.FilterClauseEndsWith"},{name:"Is like",insertVal:"Like",value:s.BinaryOperatorType.Like,type:s.BinaryOperatorType,localizationId:"StringId.FilterClauseLike"},{name:"Is not like",insertVal:"Not Like",value:s.BinaryOperatorType.Like,type:s.BinaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},{name:"Is any of",value:"In",insertVal:"In()",paramCount:1,type:l.InOperator,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",value:"In",type:l.InOperator,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is blank",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:a.FunctionOperatorType.IsNullOrEmpty,type:a.FunctionOperatorType,localizationId:"StringId.FilterClauseIsNullOrEmpty"},{name:"Is not blank",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:a.FunctionOperatorType.IsNullOrEmpty,type:a.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"}]),this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[].concat(this.filterEditorOperators._common,[{name:"Is null",insertVal:"Is Null",value:d.UnaryOperatorType.IsNull,type:d.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",insertVal:"Is Not Null",value:d.UnaryOperatorType.IsNull,type:d.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",value:"In",insertVal:"In()",paramCount:1,type:l.InOperator,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",value:"In",type:l.InOperator,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"}]),this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.date=[].concat(this.filterEditorOperators._common,[{name:"Is null",insertVal:"Is Null",value:d.UnaryOperatorType.IsNull,type:d.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",insertVal:"Is Not Null",value:d.UnaryOperatorType.IsNull,type:d.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",value:"In",insertVal:"In()",type:l.InOperator,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",value:"In",type:l.InOperator,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is beyond this year",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalBeyondThisYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},{name:"Is later this year",insertVal:"IsOutlookIntervalLaterThisYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalLaterThisYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisYear"},{name:"Is later this month",insertVal:"IsOutlookIntervalLaterThisMonth()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalLaterThisMonth,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisMonth"},{name:"Is next week",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalNextWeek,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},{name:"Is later this week",insertVal:"IsOutlookIntervalLaterThisWeek()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalLaterThisWeek,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLaterThisWeek"},{name:"Is tomorrow",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalTomorrow,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},{name:"Is today",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalToday,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},{name:"Is yesterday",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalYesterday,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},{name:"Is earlier this week",insertVal:"IsOutlookIntervalEarlierThisWeek()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalEarlierThisWeek,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisWeek"},{name:"Is last week",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalLastWeek,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},{name:"Is earlier this month",insertVal:"IsOutlookIntervalEarlierThisMonth()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalEarlierThisMonth,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisMonth"},{name:"Is earlier this year",insertVal:"IsOutlookIntervalEarlierThisYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalEarlierThisYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalEarlierThisYear"},{name:"Is prior this year",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOutlookIntervalPriorThisYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},{name:"Is same day",insertVal:"IsSameDay(, )",value:a.FunctionOperatorType.IsSameDay,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},{name:"Is this month",insertVal:"IsThisMonth()",emptyRightPart:!0,value:a.FunctionOperatorType.IsThisMonth,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},{name:"Is this week",insertVal:"IsThisWeek()",emptyRightPart:!0,value:a.FunctionOperatorType.IsThisWeek,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},{name:"Is this year",insertVal:"IsThisYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsThisYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},{name:"Is next month",insertVal:"IsNextMonth",emptyRightPart:!0,value:a.FunctionOperatorType.IsNextMonth,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},{name:"Is next year",insertVal:"IsNextYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsNextYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},{name:"Is last month",insertVal:"IsLastMonth()",emptyRightPart:!0,value:a.FunctionOperatorType.IsLastMonth,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},{name:"Is last year",insertVal:"IsLastYear()",emptyRightPart:!0,value:a.FunctionOperatorType.IsLastYear,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},{name:"Is the year-to-date period",insertVal:"IsYearToDate()",emptyRightPart:!0,value:a.FunctionOperatorType.IsYearToDate,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},{name:"Is January",insertVal:"IsJanuary()",emptyRightPart:!0,value:a.FunctionOperatorType.IsJanuary,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},{name:"Is February",insertVal:"IsFebruary()",emptyRightPart:!0,value:a.FunctionOperatorType.IsFebruary,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},{name:"Is March",insertVal:"IsMarch()",emptyRightPart:!0,value:a.FunctionOperatorType.IsMarch,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},{name:"Is April",insertVal:"IsApril()",emptyRightPart:!0,value:a.FunctionOperatorType.IsApril,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},{name:"Is May",insertVal:"IsMay()",emptyRightPart:!0,value:a.FunctionOperatorType.IsMay,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},{name:"Is June",insertVal:"IsJune()",emptyRightPart:!0,value:a.FunctionOperatorType.IsJune,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},{name:"Is July",insertVal:"IsJuly()",emptyRightPart:!0,value:a.FunctionOperatorType.IsJuly,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},{name:"Is August",insertVal:"IsAugust()",emptyRightPart:!0,value:a.FunctionOperatorType.IsAugust,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},{name:"Is September",insertVal:"IsSeptember()",emptyRightPart:!0,value:a.FunctionOperatorType.IsSeptember,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},{name:"Is October",insertVal:"IsOctober()",emptyRightPart:!0,value:a.FunctionOperatorType.IsOctober,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},{name:"Is November",insertVal:"IsNovember()",emptyRightPart:!0,value:a.FunctionOperatorType.IsNovember,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},{name:"Is December",insertVal:"IsDecember()",emptyRightPart:!0,value:a.FunctionOperatorType.IsDecember,type:a.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"}]),this.filterEditorOperators.list=[{name:"Exists",value:c.Aggregate.Exists,insertVal:"Exists()",type:c.Aggregate,localizationId:"StringId.FilterAggregateExists"},{name:"Count",value:c.Aggregate.Count,insertVal:"Count()",type:c.Aggregate,localizationId:"StringId.FilterAggregateCount"},{name:"Max",value:c.Aggregate.Max,insertVal:"Max()",type:c.Aggregate,localizationId:"StringId.FilterAggregateMax"},{name:"Min",value:c.Aggregate.Min,insertVal:"Min()",type:c.Aggregate,localizationId:"StringId.FilterAggregateMin"},{name:"Sum",value:c.Aggregate.Sum,insertVal:"Sum()",type:c.Aggregate,localizationId:"StringId.FilterAggregateSum"},{name:"Avg",value:c.Aggregate.Avg,insertVal:"Avg()",type:c.Aggregate,localizationId:"StringId.FilterAggregateAvg"}],this.filterEditorOperators.group=[{name:"And",insertVal:"And",value:p.GroupOperatorType.And,type:p.GroupOperatorType,localizationId:"StringId.FilterGroupAnd"},{name:"Or",insertVal:"Or",value:p.GroupOperatorType.Or,type:p.GroupOperatorType,localizationId:"StringId.FilterGroupOr"},{name:"Not And",value:p.GroupOperatorType.And,reverse:!0,type:p.GroupOperatorType,localizationId:"StringId.FilterGroupNotAnd"},{name:"Not Or",value:p.GroupOperatorType.Or,reverse:!0,type:p.GroupOperatorType,localizationId:"StringId.FilterGroupNotOr"}],this._initDisplayText()}t.FilterEditorHelper=r,t.DefaultFilterEditorHelper=r,t._setDefaultFilterEditorHelper=function(e){t.DefaultFilterEditorHelper=e}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(36),u=r(26),o=(n=s.OperandSurfaceBase,o(l,n),l.prototype._updateDisplayName=function(e,t,r){var i=this;this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(a.unwrap(e),t).done(function(e){i._displayName(e)}):this._displayName(r)},l.prototype._updateSpecifics=function(){var r=this,e=this.propertyName().split("."),i=e.pop();a.unwrap(this.fieldsOptions).itemsProvider&&a.unwrap(this.fieldsOptions).itemsProvider.getItems(new u.PathRequest([this.path()].concat(e).join("."))).done(function(e){var t=e.filter(function(e){return"List"!==e.specifics&&!e.isList});!r.propertyName()&&0<t.length&&(r.model.propertyName=t[0].name,r.propertyName(t[0].name),i=t[0].name);t=e.filter(function(e){return e.name===i})[0];t&&(0===(e=t.specifics.toLowerCase()).indexOf("calc")&&(e=e.split("calc")[1]),r.specifics(e),r.dataType(t.dataType),r._updateDisplayName(r.path,r.propertyName(),t.displayName))})},Object.defineProperty(l.prototype,"items",{get:function(){return this.fieldsOptions},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"displayType",{get:function(){return null},enumerable:!0,configurable:!0}),l);function l(e,t,r,i){var o=n.call(this,e,t,r,i)||this;o._displayName=a.observable(""),o.propertyName=a.observable(""),o.specifics=a.observable("integer"),o.dataType=a.observable(""),o.valueType=a.observable(""),o.changeProperty=function(e){o.fieldsOptions().selected(e)},o.templateName="dx-filtereditor-property",o.operatorClass="criteria-operator-item-field dxd-filter-editor-field-back-color dxd-filter-editor-field-back-color dxd-filter-editor-text-color",o.propertyName(e.propertyName);r=o.helper.generateTreelistOptions(r,i);return r.options&&r.subscription?(o.fieldsOptions=r.options,o._disposables.push(r.subscription)):o.fieldsOptions=r,o._disposables.push(o.fieldsOptions().selectedPath.subscribe(function(e){var t=o.fieldsOptions().selectedPath().substr(o.path&&0<o.path().length?o.path().length+1:0);o.propertyName(t),o.model.propertyName=t,o.popupService.visible(!1)})),o._disposables.push(o.fieldsOptions().selected.subscribe(function(e){o._updateDisplayName(i,o.propertyName(),e.displayName);var t=e.specifics.toLowerCase();0===t.indexOf("calc")&&(t=t.split("calc")[1]),o.specifics()===t&&o.dataType()===e.dataType||(o.specifics(t),o.dataType(e.dataType),o.parent.change()),o.helper.onChange()})),o.fieldsOptions().selectedPath(o.path&&a.unwrap(o.path)?[a.unwrap(o.path),o.propertyName()].join("."):o.propertyName()),o._updateSpecifics(),o._disposables.push(o.displayName=a.computed(function(){return o._displayName()||o.propertyName()})),o}t.OperandPropertySurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(31),u=r(35),o=(n=s.Editor,o(l,n),l);function l(e,t,r,i){var o=n.call(this,e,t,r,i)||this;return o.path=a.pureComputed(function(){return o._model()&&o._model().getPath&&o._model().getPath(o.name)||""}),o.treeListController=new u.TreeListController,o._disposables.push(o.path),o._disposables.push(o.treeListController),o}t.FieldListEditor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(2),o=(n=r.Disposable,o(s,n),s.prototype._updateActions=function(e){var t=this;this._popupService.actions([]),e&&e.length&&(e.sort(function(e,t){return e.title<t.title?-1:e.title>t.title?1:0}).sort(function(e,t){return(e.weight||0)-(t.weight||0)}),this._wrapVisibleItems(e,this._editor.name).forEach(function(e){t._popupService.actions.push(e)}))},s.prototype._getTitles=function(e,r,i){var o=this;void 0===r&&(r=[]),void 0===i&&(i=[]);var n=a.unwrap(e.title);(e.items||[]).forEach(function(e){var t=n?r.concat([n]):r;o._getTitles(e,t,i)});var t=a.unwrap(e.hint);if(t&&n){e=r.concat([n]).join(". ");return i.push(e+":\n"+t+"\n"),i}},s.prototype._wrapVisibleItems=function(e,t){var r=this;if(e)return e.map(function(e){return r._wrapActionClick(e,t)}).filter(function(e){return!!e})},s.prototype._wrapActionClick=function(e,t){var r=this;return e.visible(t)?{id:e.id,items:this._wrapVisibleItems(e.items,t),customTemplate:e.customTemplate,action:function(){e.action(t),r._popupService.visible(!1)},title:e.title,hint:e.hint,visible:function(){return!0}}:null},s);function s(t,e){var r=n.call(this)||this;return r.showPopup=function(e,t){r._popupService.title(r._editor.displayName()),r._updateActions(r._editor.getPopupServiceActions()),r._popupService.target(t),r._popupService.visible(!0)},r.templateName="dx-editor-addons",r._editor=t,r._popupService=e,r._disposables.push(r._actions=a.pureComputed(function(){return t.disabled()?[]:(t.getPopupServiceActions()||[]).filter(function(e){return e.visible(t.name)})})),r._disposables.push(r.visible=a.pureComputed(function(){return 0<r._actions().length})),r._disposables.push(r.hint=a.pureComputed(function(){var t=[];return r._actions().forEach(function(e){return r._getTitles(e,[],t)}),t.join("\n")})),r._disposables.push(r.editorMenuButtonCss=a.pureComputed(function(){var e=t._model();return e&&e.getActionClassName&&e.getActionClassName(t.name)||""})),r._disposables.push(r.imageTemplateName=a.pureComputed(function(){var e=t._model();return e&&e.getMenuBoxTemplate&&e.getMenuBoxTemplate(t.name)||""})),r}t.EditorAddOn=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o,n,a,s,u,l,d,c,p,h,f,v,g,m,x,y,b,_,C,A,E,w,O,I,F,S,P,D,k,T,B,M,L,z,N,V,j,H,$,R,G,W,U,q,Y,K,J,X,Z,Q,ee,te,re,ie,oe,ne,ae,se,ue,le=r(38).criteriaCreator,de=r(20).BinaryOperatorType,ce=r(12).UnaryOperatorType,pe=r(15),he=pe.GroupOperatorType,fe=pe.GroupOperator,ve=r(16).FunctionOperatorType,ge=r(54).JoinOperand,me=r(11).Aggregate,xe=(Y=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,51,52,53,55,56,57],K=[1,60],J=[5,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],X=[5,27,28,30,36,52],Z=[1,111],Q=[1,112],ee=[1,106],te=[1,108],re=[1,109],ie=[1,107],oe=[1,110],ne=[5,11,12,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],ae=[5,19,20,25,26,27,28,30,31,36,52],se=[5,19,20,21,22,23,24,25,26,27,28,30,31,36,52],ue=[30,36],r={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(20<e.length?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(20<e.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t)return t;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),n=0;n<o.length;n++)if((r=this._input.match(this.rules[o[n]]))&&(!t||r[0].length>t[0].length))if(t=r,i=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(r,o[n])))return e;if(!this._backtrack)return!1;t=!1}else if(!this.options.flex)break;return t?!1!==(e=this.test_match(t,o[i]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL).rules},topState:function(e){return 0<=(e=this.conditionStack.length-1-Math.abs(e||0))?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,r){switch(r){case 0:return this.begin("INITIAL"),51;case 1:return this.begin("INITIAL"),55;case 2:return 57;case 3:return 56;case 4:return"INVALID";case 5:return 45;case 6:return 49;case 7:return 47;case 8:return 46;case 9:case 10:return 48;case 11:break;case 12:return 35;case 13:return 33;case 14:return 26;case 15:return 31;case 16:return 32;case 17:return 9;case 18:return 10;case 19:return 12;case 20:return 11;case 21:return 16;case 22:return 18;case 23:return 20;case 24:return 17;case 25:return 13;case 26:return 20;case 27:return 23;case 28:return 24;case 29:return 21;case 30:return 22;case 31:return 28;case 32:return 27;case 33:return 41;case 34:return 39;case 35:return 38;case 36:return 44;case 37:return 40;case 38:return 43;case 39:return 42;case 40:case 41:return 19;case 42:return 25;case 43:return 27;case 44:return 28;case 45:return 15;case 46:return 14;case 47:return this.begin("fieldname"),58;case 48:return 52;case 49:return 29;case 50:return 30;case 51:return 53;case 52:return 36;case 53:return 59;case 54:return 37;case 55:return"INVALID";case 56:return 5}},rules:[/^(?:\]\s*\[)/i,/^(?:\])/i,/^(?:\\.)/i,/^(?:.)/i,/^(?:$)/i,/^(?:'(?:[^\']|(?:('').))*')/i,/^(?:\{[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}\})/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?)/i,/^(?:True\b)/i,/^(?:False\b)/i,/^(?:\s+)/i,/^(?:Between\b)/i,/^(?:In\b)/i,/^(?:Not\b)/i,/^(?:Is\b)/i,/^(?:Null\b)/i,/^(?:\*)/i,/^(?:\/)/i,/^(?:-)/i,/^(?:\+)/i,/^(?:\^)/i,/^(?:~)/i,/^(?:!=)/i,/^(?:!)/i,/^(?:%)/i,/^(?:<>)/i,/^(?:>=)/i,/^(?:<=)/i,/^(?:>)/i,/^(?:<)/i,/^(?:\|\|)/i,/^(?:&&)/i,/^(?:Avg\b)/i,/^(?:Max\b)/i,/^(?:Min\b)/i,/^(?:Single\b)/i,/^(?:Count\b)/i,/^(?:Exists\b)/i,/^(?:Sum\b)/i,/^(?:==)/i,/^(?:=)/i,/^(?:Like\b)/i,/^(?:And\b)/i,/^(?:Or\b)/i,/^(?:&)/i,/^(?:\|)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\()/i,/^(?:\))/i,/^(?:\.)/i,/^(?:,)/i,/^(?:\?)/i,/^(?:[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{fieldname:{rules:[0,1,2,3,4],inclusive:!(pe={trace:function(){},yy:{},symbols_:{error:2,expressions:3,exp:4,EOF:5,const:6,propertyWithAgg:7,parameter:8,"*":9,"/":10,"+":11,"-":12,"%":13,"|":14,"&":15,"^":16,"!":17,"~":18,OP_EQ:19,OP_NE:20,OP_GT:21,OP_LT:22,OP_GE:23,OP_LE:24,OP_LIKE:25,NOT:26,AND:27,OR:28,"(":29,")":30,IS:31,NULL:32,OP_IN:33,arguments:34,OP_BETWEEN:35,",":36,NAME_SOFT:37,AGG_MIN:38,AGG_MAX:39,AGG_COUNT:40,AGG_AVG:41,AGG_SUM:42,AGG_EXISTS:43,AGG_SINGLE:44,STRING:45,NUMBER:46,OBJECT:47,BOOLEAN:48,GUID:49,property:50,"[":51,"]":52,".":53,agg:54,FIELD_END:55,CH:56,ESC_CH:57,FIELD_START:58,"?":59,commaseparated:60,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",9:"*",10:"/",11:"+",12:"-",13:"%",14:"|",15:"&",16:"^",17:"!",18:"~",19:"OP_EQ",20:"OP_NE",21:"OP_GT",22:"OP_LT",23:"OP_GE",24:"OP_LE",25:"OP_LIKE",26:"NOT",27:"AND",28:"OR",29:"(",30:")",31:"IS",32:"NULL",33:"OP_IN",35:"OP_BETWEEN",36:",",37:"NAME_SOFT",38:"AGG_MIN",39:"AGG_MAX",40:"AGG_COUNT",41:"AGG_AVG",42:"AGG_SUM",43:"AGG_EXISTS",44:"AGG_SINGLE",45:"STRING",46:"NUMBER",47:"OBJECT",48:"BOOLEAN",49:"GUID",51:"[",52:"]",53:".",55:"FIELD_END",56:"CH",57:"ESC_CH",58:"FIELD_START",59:"?"},productions_:[0,[3,2],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,2],[4,3],[4,3],[4,3],[4,3],[4,4],[4,3],[4,7],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[7,3],[7,4],[7,3],[7,1],[7,4],[54,3],[54,1],[54,3],[54,1],[54,4],[54,4],[54,3],[54,4],[54,4],[54,4],[50,2],[50,2],[50,2],[50,3],[50,3],[50,1],[50,1],[50,1],[8,2],[8,1],[34,2],[34,3],[60,1],[60,3]],performAction:function(e,t,r,i,o,n,a){var s=n.length-1;switch(o){case 1:return n[s-1];case 2:this.$=le.process("const",{value:n[s]});break;case 3:case 4:case 41:case 42:case 43:case 44:case 45:this.$=n[s];break;case 5:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Multiply});break;case 6:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Divide});break;case 7:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Plus});break;case 8:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Minus});break;case 9:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Modulo});break;case 10:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.BitwiseOr});break;case 11:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.BitwiseAnd});break;case 12:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.BitwiseXor});break;case 13:this.$=le.process("unary",{operatorType:ce.Minus,operator:n[s]});break;case 14:this.$=le.process("unary",{operatorType:ce.Plus,operator:n[s]});break;case 15:case 25:this.$=le.process("unary",{operatorType:ce.Not,operator:n[s]});break;case 16:this.$=le.process("unary",{operatorType:ce.BitwiseNot,operator:n[s]});break;case 17:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Equal});break;case 18:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.NotEqual});break;case 19:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Greater});break;case 20:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Less});break;case 21:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.GreaterOrEqual});break;case 22:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.LessOrEqual});break;case 23:this.$=le.process("binary",{left:n[s-2],right:n[s],operatorType:de.Like});break;case 24:this.$=le.process("unary",{operatorType:ce.Not,operator:le.process("binary",{left:n[s-3],right:n[s],operatorType:de.Like})});break;case 26:this.$=fe.combine(he.And,[n[s-2],n[s]]);break;case 27:this.$=fe.combine(he.Or,[n[s-2],n[s]]);break;case 28:case 64:case 75:this.$=n[s-1];break;case 29:this.$=le.process("unary",{operatorType:ce.IsNull,operator:n[s-2]});break;case 30:this.$=le.process("unary",{operatorType:ce.Not,operator:le.process("unary",{operatorType:ce.IsNull,operator:n[s-3]})});break;case 31:this.$=le.process("in",{criteriaOperator:n[s-2],operands:n[s]});break;case 32:this.$=le.process("between",{property:n[s-6],begin:n[s-3],end:n[s-1]});break;case 33:this.$=le.process("function",{operatorType:ve[n[s-1]]||n[s-1],operands:n[s]});break;case 34:this.$=le.process("function",{operatorType:ve.Min,operands:n[s]});break;case 35:this.$=le.process("function",{operatorType:ve.Max,operands:n[s]});break;case 36:this.$=le.process("function",{operatorType:ve.Count||"Count",operands:n[s]});break;case 37:this.$=le.process("function",{operatorType:ve.Avg||"Avg",operands:n[s]});break;case 38:this.$=le.process("function",{operatorType:ve.Sum||"Sum",operands:n[s]});break;case 39:this.$=le.process("function",{operatorType:ve.Exists||"Exists",operands:n[s]});break;case 40:this.$=le.process("function",{operatorType:ve.Single||"Single",operands:n[s]});break;case 46:this.$=null;break;case 47:this.$=ge.joinOrAggregate(le.process("property",{propertyName:n[s-5].name,startColumn:n[s-5].col,startLine:n[s-5].line,originalPropertyLength:a[s-5].last_column-a[s-5].first_column+1}),n[s-3],n[s].type,n[s].expr);break;case 48:this.$=ge.joinOrAggregate(le.process("property",{propertyName:n[s-4].name,startColumn:n[s-4].col,startLine:n[s-4].line,originalPropertyLength:a[s-4].last_column-a[s-4].first_column+1}),null,n[s].type,n[s].expr);break;case 49:this.$=ge.joinOrAggregate(le.process("property",{propertyName:n[s-2].name,startColumn:n[s-2].col,startLine:n[s-2].line,originalPropertyLength:a[s-2].last_column-a[s-2].first_column}),null,n[s].type,n[s].expr);break;case 50:this.$=ge.joinOrAggregate(le.process("property",{propertyName:n[s-3].name,startColumn:n[s-3].col,startLine:n[s-3].line,originalPropertyLength:a[s-3].last_column-a[s-3].first_column+1}),n[s-1],me.Exists,null);break;case 51:this.$=ge.joinOrAggregate(le.process("property",{propertyName:n[s-2].name,startColumn:n[s-2].col,startLine:n[s-2].line,originalPropertyLength:a[s-2].last_column-a[s-2].first_column+1}),null,me.Exists,null);break;case 52:this.$=le.process("property",{propertyName:n[s].name,startColumn:n[s].col,startLine:n[s].line,originalPropertyLength:a[s].last_column-a[s].first_column});break;case 53:this.$=ge.joinOrAggregate(le.process("property",{}),null,n[s].type,n[s].expr);break;case 54:case 55:this.$={type:me.Count};break;case 56:case 57:this.$={type:me.Exists};break;case 58:this.$={type:me.Avg,expr:n[s-1]};break;case 59:this.$={type:me.Sum,expr:n[s-1]};break;case 60:this.$={type:me.Single,expr:le.process("property",{propertyName:"This"})};break;case 61:this.$={type:me.Single,expr:n[s-1]};break;case 62:this.$={type:me.Min,expr:n[s-1]};break;case 63:this.$={type:me.Max,expr:n[s-1]};break;case 65:this.$={name:n[s-1].name+n[s],line:n[s-1].line,col:n[s-1].col};break;case 66:this.$={name:n[s-1].name+n[s].substr(1),line:n[s-1].line,col:n[s-1].col};break;case 67:this.$={name:n[s-2].name+".",line:n[s-2].line,col:n[s-2].col};break;case 68:this.$={name:n[s-2].name+"."+n[s],line:n[s-2].line,col:n[s-2].col};break;case 69:this.$={name:"",line:a[s].first_line-1,col:a[s].first_column+1};break;case 70:this.$={name:n[s],line:a[s].first_line-1,col:a[s].first_column};break;case 71:this.$={name:"^",line:a[s].first_line-1,col:a[s].first_column};break;case 72:this.$=le.process("parameter",{parameterName:n[s]});break;case 73:this.$=le.process("value",{});break;case 74:this.$=[];break;case 76:this.$=[n[s]];break;case 77:this.$=n[s-2].concat(n[s])}},table:[{3:1,4:2,6:3,7:4,8:5,11:i=[1,7],12:o=[1,6],16:n=[1,30],17:a=[1,8],18:s=[1,9],26:u=[1,10],29:l=[1,11],32:d=[1,25],37:c=[1,12],38:p=[1,13],39:h=[1,14],40:f=[1,15],41:v=[1,16],42:g=[1,17],43:m=[1,18],44:x=[1,19],45:y=[1,20],46:b=[1,21],47:_=[1,22],48:C=[1,23],49:A=[1,24],50:26,51:E=[1,27],58:w=[1,29],59:O=[1,28]},{1:[3]},{5:[1,31],9:I=[1,32],10:F=[1,33],11:S=[1,34],12:P=[1,35],13:D=[1,36],14:k=[1,37],15:T=[1,38],16:B=[1,39],19:M=[1,40],20:L=[1,41],21:z=[1,42],22:N=[1,43],23:V=[1,44],24:j=[1,45],25:H=[1,46],26:$=[1,47],27:R=[1,48],28:G=[1,49],31:W=[1,50],33:U=[1,51],35:q=[1,52]},(pe=function(e,t,r,i){for(r=r||{},i=e.length;i--;r[e[i]]=t);return r})(r=[5,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],[2,2]),pe(r,[2,3]),pe(r,[2,4]),{4:53,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:54,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:55,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:56,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:57,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:58,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},pe(Y,[2,70],{34:59,29:K}),{29:K,34:61},{29:K,34:62},{29:K,34:63},{29:K,34:64},{29:K,34:65},{29:K,34:66},{29:K,34:67},pe(r,[2,41]),pe(r,[2,42]),pe(r,[2,43]),pe(r,[2,44]),pe(r,[2,45]),pe(r,[2,46]),pe(r,[2,52],{51:[1,68],53:[1,69],55:[1,70],56:[1,71],57:[1,72]}),{52:[1,73]},pe(r,[2,73],{37:[1,74]}),pe(Y,[2,69]),pe(Y,[2,71]),{1:[2,1]},{4:75,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:76,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:77,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:78,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:79,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:80,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:81,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:82,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:83,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:84,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:85,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:86,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:87,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:88,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:89,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{25:[1,90]},{4:91,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:92,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{26:[1,94],32:[1,93]},{29:K,34:95},{29:[1,96]},pe(r,[2,13]),pe(r,[2,14]),pe(r,[2,15]),pe(J,[2,16],{9:I,10:F,11:S,12:P,13:D}),pe(X,[2,25],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,31:W,33:U,35:q}),{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,97],31:W,33:U,35:q},pe(r,[2,33]),{4:100,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,30:[1,98],32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O,60:99},pe(r,[2,34]),pe(r,[2,35]),pe(r,[2,36]),pe(r,[2,37]),pe(r,[2,38]),pe(r,[2,39]),pe(r,[2,40]),{4:101,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,52:[1,102],58:w,59:O},{37:[1,105],38:Z,39:Q,40:ee,41:te,42:re,43:ie,44:oe,54:103,58:[1,104]},pe(Y,[2,64]),pe(Y,[2,65]),pe(Y,[2,66]),{53:[1,113]},pe(r,[2,72]),pe(r,[2,5]),pe(r,[2,6]),pe(ne,[2,7],{9:I,10:F,13:D}),pe(ne,[2,8],{9:I,10:F,13:D}),pe(r,[2,9]),pe([5,14,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],[2,10],{9:I,10:F,11:S,12:P,13:D,15:T,16:B}),pe(J,[2,11],{9:I,10:F,11:S,12:P,13:D}),pe([5,14,16,19,20,21,22,23,24,25,26,27,28,30,31,33,35,36,52],[2,12],{9:I,10:F,11:S,12:P,13:D,15:T}),pe(ae,[2,17],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,21:z,22:N,23:V,24:j,33:U,35:q}),pe(ae,[2,18],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,21:z,22:N,23:V,24:j,33:U,35:q}),pe(se,[2,19],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,33:U,35:q}),pe(se,[2,20],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,33:U,35:q}),pe(se,[2,21],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,33:U,35:q}),pe(se,[2,22],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,33:U,35:q}),pe(ae,[2,23],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,21:z,22:N,23:V,24:j,33:U,35:q}),{4:114,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},pe(X,[2,26],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,31:W,33:U,35:q}),pe([5,28,30,36,52],[2,27],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,31:W,33:U,35:q}),pe(r,[2,29]),{32:[1,115]},pe(r,[2,31]),{4:116,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},pe(r,[2,28]),pe(r,[2,74]),{30:[1,117],36:[1,118]},pe(ue,[2,76],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,31:W,33:U,35:q}),{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,31:W,33:U,35:q,52:[1,119]},pe(r,[2,51],{53:[1,120]}),pe(r,[2,49]),pe(Y,[2,67]),pe(Y,[2,68]),pe(r,[2,55],{29:[1,121]}),pe(r,[2,57],{29:[1,122]}),{29:[1,123]},{29:[1,124]},{29:[1,125]},{29:[1,126]},{29:[1,127]},{38:Z,39:Q,40:ee,41:te,42:re,43:ie,44:oe,54:128},pe(ae,[2,24],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,21:z,22:N,23:V,24:j,33:U,35:q}),pe(r,[2,30]),{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,31:W,33:U,35:q,36:[1,129]},pe(r,[2,75]),{4:130,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},pe(r,[2,50],{53:[1,131]}),{38:Z,39:Q,40:ee,41:te,42:re,43:ie,44:oe,54:132},{30:[1,133]},{30:[1,134]},{4:135,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:136,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:138,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,30:[1,137],32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:139,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},{4:140,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},pe(r,[2,53]),{4:141,6:3,7:4,8:5,11:i,12:o,16:n,17:a,18:s,26:u,29:l,32:d,37:c,38:p,39:h,40:f,41:v,42:g,43:m,44:x,45:y,46:b,47:_,48:C,49:A,50:26,51:E,58:w,59:O},pe(ue,[2,77],{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,31:W,33:U,35:q}),{38:Z,39:Q,40:ee,41:te,42:re,43:ie,44:oe,54:142},pe(r,[2,48]),pe(r,[2,54]),pe(r,[2,56]),{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,143],31:W,33:U,35:q},{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,144],31:W,33:U,35:q},pe(r,[2,60]),{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,145],31:W,33:U,35:q},{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,146],31:W,33:U,35:q},{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,147],31:W,33:U,35:q},{9:I,10:F,11:S,12:P,13:D,14:k,15:T,16:B,19:M,20:L,21:z,22:N,23:V,24:j,25:H,26:$,27:R,28:G,30:[1,148],31:W,33:U,35:q},pe(r,[2,47]),pe(r,[2,58]),pe(r,[2,59]),pe(r,[2,61]),pe(r,[2,62]),pe(r,[2,63]),pe(r,[2,32])],defaultActions:{31:[2,1]},parseError:function(e,t){if(!t.recoverable){var r=new Error(e);throw r.hash=t,r}this.trace(e)},parse:function(e){var t,r=this,i=[0],o=[null],n=[],a=this.table,s="",u=0,l=0,d=0,c=n.slice.call(arguments,1),p=Object.create(this.lexer),h={yy:{}};for(t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,t)&&(h.yy[t]=this.yy[t]);p.setInput(e,h.yy),h.yy.lexer=p,h.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;n.push(f);var v=p.options&&p.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,m,x,y,b,_=function(){var e=p.lex()||1;return"number"!=typeof e&&(e=r.symbols_[e]||e),e},C={};;){if(x=i[i.length-1],void 0===(b=this.defaultActions[x]||(null==g&&(g=_()),a[x]&&a[x][g]))||!b.length||!b[0]){var A="",E=[];for(y in a[x])this.terminals_[y]&&2<y&&E.push("'"+this.terminals_[y]+"'");A=p.showPosition?"Parse error on line "+(u+1)+":\n"+p.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[g]||g,line:p.yylineno,loc:f,expected:E})}if(b[0]instanceof Array&&1<b.length)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+g);switch(b[0]){case 1:i.push(g),o.push(p.yytext),n.push(p.yylloc),i.push(b[1]),g=null,m?(g=m,m=null):(l=p.yyleng,s=p.yytext,u=p.yylineno,f=p.yylloc,0<d&&d--);break;case 2:if(A=this.productions_[b[1]][1],C.$=o[o.length-A],C._$={first_line:n[n.length-(A||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(A||1)].first_column,last_column:n[n.length-1].last_column},v&&(C._$.range=[n[n.length-(A||1)].range[0],n[n.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[s,l,u,h.yy,b[1],o,n].concat(c))))return x;A&&(i=i.slice(0,-1*A*2),o=o.slice(0,-1*A),n=n.slice(0,-1*A)),i.push(this.productions_[b[1]][0]),o.push(C.$),n.push(C._$),b=a[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}})},INITIAL:{rules:[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56],inclusive:!0}}},pe.lexer=r,new((ye.prototype=pe).Parser=ye));function ye(){this.yy={}}t.criteriaparser=xe,t.parse=function(e){return xe.parse(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(o.generateUri=function(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t},o);function o(){}t.RequestHelper=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendedTemplates=function(e){return{"dxrd-svg-fieldlist-list":e["dxrd-svg-fieldlist-table"],"dxrd-svg-fieldlist-default":e["dxrd-svg-fieldlist-column"]}}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(63),s=(n=r.Rectangle,o(u,n),u);function u(e,t,r,i,o){o=n.call(this,t,r,i,o)||this;return o.position=e,o}t.DragHelperControlRectangle=s;var l,o=(l=r.Rectangle,o(d,l),Object.defineProperty(d.prototype,"_isEmpty",{get:function(){return 0===this.controls().length},enumerable:!0,configurable:!0}),d.prototype.reset=function(){this.controls([]),this.customData({})},d.prototype.update=function(r){var i,o=this;this.left(r.absolutePosition.x()),this.top(r.absolutePosition.y()),this.width(r.rect().width),this.height(r.rect().height),this._isEmpty&&(i=[],this._selectionProvider.selectedItems.forEach(function(e,t){e.locked||e.parent!==r.parent||i.push(new s(t))}),this.controls(i)),this.controls().forEach(function(e){var t=o._selectionProvider.selectedItems[e.position];e.left(t.absolutePosition.x()-o.left()),e.top(t.absolutePosition.y()-o.top()),e.width(t.rect().width),e.height(t.rect().height)})},d.prototype.setContent=function(e,t){void 0===t&&(t=null),this._isEmpty&&this.controls([e]),this.left(e.left()),this.top(e.top()),this.width(e.width()),this.height(e.height()),this.customData(t)},d);function d(e){var t=l.call(this)||this;return t.controls=a.observableArray([]),t.customData=a.observable({}),t.isLocked=a.observable(!1),t._selectionProvider=e,t}t.DragHelperContent=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),a=r(1);r(8),r(8),r(8),r(8);var s,u=r(29),d=r(23),o=(s=u.DragDropHandler,o(l,s),l.prototype.adjustDropTarget=function(e){for(var t=e;null!=t;){if(t.selected&&t.selected()){e=t.parent;break}t=t.parent}return e},l.prototype.startDrag=function(e){this.selection.swapFocusedItem(e);var t=this.selection.focused(),r=t.rect().left+t.underCursor().x,i=t.rect().top+t.underCursor().y;this.selection.selectedItems.filter(function(e){return!e.locked}).forEach(function(e){e.parent===t.parent&&(e.underCursor().offsetX=e.rect().left-r,e.underCursor().offsetY=e.rect().top-i)})},l.prototype.drag=function(e,t){t.position.left+=t.scroll.left,t.position.top+=t.scroll.top,s.prototype.drag.call(this,e,t)},l.prototype.getLocation=function(e,t){var r=e.underCursor().x+t.underCursor().offsetX,t=e.underCursor().y+t.underCursor().offsetY;return{left:0<r?r:0,top:0<t?t:0}},l.prototype.ajustLocation=function(e,t){t.rect(this.getLocation(e,t))},l.prototype.doStopDrag=function(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){var r=this.selection.dropTarget.getControlModel(),i=r.getNearestParent(r).surface,o=this.selection.focused(),n=this.adjustDropTarget(i),a=o.getControlModel(),s=a.getNearestParent(n.getControlModel()),r=(n=s&&d.findSurface(s))!==o.parent;if(n&&n.canDrop()){i=this._getAbsoluteSurfacePosition(e);n.underCursor().x=i.left-(n.absolutePosition&&n.absolutePosition.x()||0)-o.underCursor().offsetX,n.underCursor().y=i.top-(n.absolutePosition&&n.absolutePosition.y()||0)-o.underCursor().offsetY;e.position.left,e.position.top;var u=this.selection.selectedItems.filter(function(e){return!e.locked&&e.parent===o.parent}).map(function(e){return e.getControlModel()}).filter(function(e){return e.getMetaData().canDrop(n,e)});if(r){for(var l=0;l<u.length;l++)u[l].surface.rect({top:0,left:0});a.parentModel().removeChilds(u),s.addChilds(u);for(l=0;l<u.length;l++)this.ajustLocation(n,u[l].surface);this.selection.focused(o),this.selection.selectItems(u.map(function(e){return e.surface}))}else{for(l=0;l<u.length;l++)this.ajustLocation(n,u[l].surface);this.selection.expectClick=!0}}}},l.prototype.create=function(e,t){n.dataFor(e.target).locked&&a(this).draggable("disable")},l);function l(e,t,r,i,o){var n=s.call(this,e,t,r,i,o)||this;return n.cursor="move",n.containment=".dxrd-ghost-container",n.helper=function(e){s.prototype.helper.call(n,e),-1===n.selection.selectedItems.indexOf(e)&&n.selection.updateSelection(e),o.update(e),n._size.width(o.width()),n._size.height(o.height())},n}t.SelectionDragDropHandler=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a,n=r(29),s=r(42),u=r(63),l=r(23),d=r(4),o=(a=n.DragDropHandler,o(c,a),c.prototype.helper=function(e){a.prototype.helper.call(this,e);e=s.Size.fromString(e.info["@SizeF"]||e.info.size||"100,23");this.recalculateSize(e),this.dragHelperContent.setContent(new u.Rectangle(0,0,this._size.width(),this._size.height()))},c.prototype.doStopDrag=function(e,t){var r;this.dragHelperContent.reset(),this.dragHelperContent.isLocked()||this.selection.dropTarget&&(t=(r=this._controlsFactory.createControl(d.extend({},t.info),null)).getNearestParent(this.selection.dropTarget.getControlModel()),(t=l.findSurface(t))&&t.canDrop()&&(e=this._getAbsoluteSurfacePosition(e),t.underCursor().x=e.left-(t.absolutePosition&&t.absolutePosition.x()||0),t.underCursor().y=e.top-(t.absolutePosition&&t.absolutePosition.y()||0),(this.surface().isFit&&this.surface().isFit(t)||t.underCursor().isOver)&&this.addControl(r,t,this._size)))},c);function c(e,t,r,i,o,n){o=a.call(this,e,t,r,i,o)||this;return o.cursor="arrow",o._controlsFactory=n,o.containment=".dxrd-designer",o.cursorAt={top:0,left:0},o}t.ToolboxDragDropHandler=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(85);t.ajaxSetup=new r.AjaxSetup},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),o=r(4),r=(n.prototype.sendRequest=function(e){return i.ajax(o.extend({},this.ajaxSettings,e))},n);function n(){this.ajaxSettings={}}t.AjaxSetup=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),a=r(1),r=r(2);function s(e,t){e&&t&&(27===e.keyCode&&t.esc&&t.esc(),13===e.keyCode&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter())}t.processTextEditorHotKeys=s;var u,o=(u=r.Disposable,o(l,u),l);function l(t){var r,i=u.call(this)||this;return i._showInline=n.observable(!1),i.text=n.observable(),i._disposables.push(t.focused.subscribe(function(){i._showInline()&&r&&(r(i.text()),i._showInline(!1));var e=t.focused()&&t.focused().getControlModel();r=e&&(e.textEditableProperty||e.text)})),i._disposables.push(i.visible=n.pureComputed({read:function(){return i._showInline()},write:function(e){i._showInline(e)}})),i.show=function(e){i._showInline()||((t.selectedItems?1===t.selectedItems.length:!!t.focused())&&r&&!t.focused().locked?(i.text(r()),i._showInline(!0),!e||(e=a(e).find("textarea")[0])&&e.select()):i._showInline(!1))},i.keypressAction=function(e){s(e.event,{esc:function(){i._showInline(!1)},ctrlEnter:function(){r(i.text()),i._showInline(!1)}})},i}t.InlineTextEdit=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),o=r(30),n=r(7),r=(Object.defineProperty(a.prototype,"type",{get:function(){return o.getTypeNameFromFullName(this.info["@ControlType"])},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"imageClassName",{get:function(){return[o.getImageClassName(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"imageTemplateName",{get:function(){var e=o.getImageClassName(this.type,!0);return n.SvgTemplatesEngine.getExistingTemplate(e)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"index",{get:function(){return this.info.index},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"displayName",{get:function(){return this.info.displayName||this.type},enumerable:!0,configurable:!0}),a);function a(e){this.disabled=i.observable(!1),this.info=e}t.ToolboxItem=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),u=r(1),o=r(4),r=(i.getInfo=function(e){var r=e.map(function(e){return e.getInfo()});return function(){for(var e=[],t=0;t<r[0].length;t++)r.filter(function(e){return 0<e.filter(function(e){return e.propertyName===r[0][t].propertyName}).length}).length===r.length&&e.push(r[0][t]);return e}},i.isPropertyDisabled=function(r){return function(e){for(var t=0;t<r.length;t++)if(r[t].isPropertyDisabled(e))return!0;return!1}},i.isPropertyVisible=function(r){return function(e){for(var t=0;t<r.length;t++)if(!r[t].isPropertyVisible(e))return!1;return!0}},i.mergeProperty=function(r,i,e,t){var o=r[0][i],n=null;if(r.filter(function(e){return!!e[i]}).length===r.length&&!(n=t&&t(i,r,e)))if(s.isObservable(o)&&!o.push){if(!r.every(function(e){return s.isObservable(e[i])}))return n;var a=s.observable(r.every(function(e){return r[0][i].peek()===e[i].peek()})?r[0][i].peek():null),n={result:a,subscriptions:[a.subscribe(function(t){e&&e().start(),r.forEach(function(e){e[i](t)}),e&&e().end()})]}}else"object"!=typeof o||u.isArray(o)||(n=this._merge(r.map(function(e){return e[i]}),e,t));return n},i._createProperty=function(e,t,r){r&&("object"==typeof r&&o.isEmptyObject(r)||(e[t]=r))},i._merge=function(r,i,o,t){var n,a=this,s={},u=[];return["getInfo","isPropertyVisible","isPropertyDisabled"].forEach(function(e){r[0][e]&&a._createProperty(s,e,a[e](r))}),t&&(n=s.isPropertyDisabled,s.isPropertyDisabled=function(e){return n&&n()||-1!==t.indexOf(e)}),s&&s.getInfo?s.getInfo().map(function(e){return e.propertyName}).forEach(function(e){var t=a.mergeProperty(r,e,i,o);t&&(u=[].concat.apply(u,t.subscriptions),a._createProperty(s,e,t.result))}):Object.keys(r[0]).forEach(function(e){var t=a.mergeProperty(r,e,i,o);t&&(u=[].concat.apply(u,t.subscriptions),a._createProperty(s,e,t.result))}),{result:s,subscriptions:u}},i.mergeControls=function(e,t,r,i){i=this._merge(e,t,r,i);return{result:o.extend(i.result,{controlType:"multiselect",displayName:s.observable("")}),subscriptions:i.subscriptions}},i.getEditableObject=function(t,r,i){var o=this,n=s.observable(null),a=[],e=t.focused.subscribe(function(e){n(e&&e.getControlModel())});return t._disposables&&(t._disposables.push(e),t._disposables.push({dispose:function(){a.forEach(function(e){return e.dispose()}),a.splice(0)}})),s.pureComputed({read:function(){if(a.forEach(function(e){return e.dispose()}),a=[],1<t.selectedItems.length){var e=o.mergeControls(t.selectedItems.map(function(e){return e.getControlModel()}),r,i,t.ignoreMultiSelectProperties);return a=e.subscriptions,e.result}return n()},write:function(e){e&&e.surface?t.focused(e.surface):(t.updateSelection(null),n(e))}}).extend({deferred:!0})},i);function i(){}t.CombinedObject=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(1),u=r(2),l=r(64),o=(n=u.Disposable,o(d,n),d.prototype.dispose=function(){this.reset(),n.prototype.dispose.call(this)},d.prototype._removeFromSelection=function(e){e.focused(!1),e.selected(!1),-1!==this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.splice(this._selectedControlsInner.indexOf(e),1)},d.prototype._setFocused=function(e){this._focused()&&this._removeFromSelection(this._focused()),this._focused(e),e&&(e.focused(!0),-1===this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.push(e),e.selected(!0))},d.prototype._resetTabPanelFocus=function(){document.activeElement&&0===s(document.activeElement).closest(".dxrd-surface").length&&l.blur(document.activeElement)},Object.defineProperty(d.prototype,"selectedItems",{get:function(){return this._selectedControls()},enumerable:!0,configurable:!0}),d.prototype.clear=function(){this.focused(null),this._selectedControls([])},d.prototype.reset=function(){this._focused(null),this._selectedControlsInner.splice(0),this._firstSelected=null,this._selectedControls([])},d.prototype.applySelection=function(){this._selectedControls(this._selectedControlsInner)},d.prototype.selectItems=function(e){this._selectedControlsInner=e,this._selectedControlsInner.forEach(function(e){e.focused()||e.selected(!0)}),this.applySelection()},d.prototype.updateSelection=function(e){this._selectedControlsInner.forEach(function(e){e.focused(!1),e.selected(!1)}),this._selectedControlsInner=[],this._setFocused(e),this.applySelection()},d.prototype.swapFocusedItem=function(e){this._focused()!==e&&(this._focused().focused(!1),this._focused(e),this._focused().focused(!0))},d.prototype.initialize=function(e){e=e||this.dropTarget,this._firstSelected=e&&e.focused?e:null,this.updateSelection(this._firstSelected)},d.prototype.clickHandler=function(e,t){void 0===t&&(t={ctrlKey:!1}),this.expectClick?this.expectClick=!1:(e=e||this.dropTarget,t.ctrlKey?(this.selectionWithCtrl(e),this.applySelection()):1<this._selectedControlsInner.length&&-1!==this._selectedControlsInner.indexOf(e)?this.swapFocusedItem(e):this._focused()!==e&&this.initialize(e),this._resetTabPanelFocus())},d.prototype.selecting=function(e){this._focused()?(e.cancel=!e.control.checkParent(this._firstSelected),e.cancel||(this._firstSelected&&this._firstSelected.focused()?this._setFocused(e.control):-1===this._selectedControlsInner.indexOf(e.control)&&(e.control.selected(!0),this._selectedControlsInner.push(e.control)))):this._setFocused(e.control)},d.prototype.unselecting=function(e){this._focused()===e?(this._setFocused(null),0===this._selectedControlsInner.length?this._setFocused(this._firstSelected):this._setFocused(this._selectedControlsInner[0])):this._removeFromSelection(e)},d.prototype.selectionWithCtrl=function(e){var t;e&&e.allowMultiselect&&(0===(t=this._selectedControlsInner).length||1===t.length&&!t[0].allowMultiselect?this.initialize(e):-1===this._selectedControlsInner.indexOf(e)?(e.selected(!0),this._selectedControlsInner.push(e)):1<this._selectedControlsInner.length&&this.unselecting(e))},d);function d(e){void 0===e&&(e=["name"]);var t=n.call(this)||this;return t.ignoreMultiSelectProperties=e,t._focused=a.observable(null),t._selectedControls=a.observableArray(),t._selectedControlsInner=[],t.focused=a.pureComputed({read:function(){return t._focused()},write:function(e){e!==t._focused()&&(e&&(t._firstSelected=e),t.updateSelection(t._firstSelected))}}),t.dropTarget=null,t.expectClick=!1,t.disabled=a.observable(!1),t._disposables.push(t.focused),t}t.SurfaceSelection=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(65),o=r(91),n=r(44),r=(a.prototype._findClosestSnapLine=function(e,t){var r={position:e,limitInf:0,limSup:0},i=n.binaryIndexOf(t,r,function(e,t){return e.position-t.position});return-1<i?{snapLine:t[i],distance:e-t[i].position}:(r=t[i=~i]?e-t[i].position:Number.MAX_VALUE,e=t[i-1]?e-t[i-1].position:Number.MAX_VALUE,Math.abs(r)>Math.abs(e)?{snapLine:t[i-1],distance:e}:{snapLine:t[i],distance:r})},a.prototype._getActiveSnapLines=function(e,t,r){var i=this._findClosestSnapLine(e,r),e=this._findClosestSnapLine(t,r),t={lines:[],distance:0};return 1<=Math.abs(i.distance-e.distance)?(r=Math.abs(i.distance)<Math.abs(e.distance)?i:e,Math.abs(r.distance)<=this._snapTolerance&&(t.lines=[r],t.distance=r.distance)):Math.abs(i.distance)<=this._snapTolerance&&(t.lines=[i,e],t.distance=i.distance),t},a.prototype.updateSnapLines=function(e){void 0===e&&(e=null),this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);e=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),e);this.verticalSnapLines.push.apply(this.verticalSnapLines,e.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,e.horizontal)},a.prototype.deactivateSnapLines=function(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()},a.prototype.activateSnapLines=function(e){for(var t,r,i=this._getActiveSnapLines(e.left,e.right,this.verticalSnapLines),o=this._getActiveSnapLines(e.top,e.bottom,this.horizontalSnapLines),n=0;n<2;n++)(a=i.lines[n])?(t=Math.min(a.snapLine.limitInf,e.top),r=Math.max(a.snapLine.limSup,e.bottom),e.top<a.snapLine.limitInf&&(t-=o.distance),e.bottom>a.snapLine.limSup&&(r-=o.distance),this.snapLineSurfaces[n].updatePosition({top:t,left:a.snapLine.position,height:r-t,width:1})):this.snapLineSurfaces[n].reset();for(var a,s,u,n=0;n<2;n++)(a=o.lines[n])?(s=Math.min(a.snapLine.limitInf,e.left),u=Math.max(a.snapLine.limSup,e.right),e.left<a.snapLine.limitInf&&(s-=i.distance),e.right>a.snapLine.limSup&&(u-=i.distance),this.snapLineSurfaces[n+2].updatePosition({top:a.snapLine.position,left:s,width:u-s,height:1})):this.snapLineSurfaces[n+2].reset();return{left:i.distance,top:o.distance}},a.prototype.snapPosition=function(e,t){t=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return t&&Math.abs(t.distance)<=this._snapTolerance?t.snapLine.position:e},a.snapTolerance=10,a);function a(e,t,r){void 0===e&&(e=null),void 0===t&&(t=a.snapTolerance),void 0===r&&(r=new i.SnapLinesCollector),this.snapLineSurfaces=[new o.SnapLineSurface,new o.SnapLineSurface,new o.SnapLineSurface,new o.SnapLineSurface],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=r}t.SnapLinesHelper=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),r=(o.prototype.transform=function(){var e=this._position();return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"},o.prototype.updatePosition=function(e){this._position(e)},o.prototype.reset=function(){this.updatePosition(o._blankPosition)},o._blankPosition={top:0,left:0,width:0,height:0},o);function o(){this._position=i.observable(o._blankPosition)}t.SnapLineSurface=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),n=r(93),s=r(2),u=r(94),l=r(24),d=r(97),c=r(98),p=r(66),h=r(99),f=r(22),v=r(70),g=r(4),m=(x.prototype.addElement=function(e,t){return this._context[e]=t,this},x.prototype.addUndoEngine=function(e){return void 0===e&&(e=a.observable(new n.UndoEngine(this._context.model))),this._context.undoEngine=e,this},x.prototype.addSurface=function(e){return this._context.surface=e,this},x.prototype.getContext=function(){return this._context},x);function x(e,t){this._context=e,this._rtl=t}t.DesignerContextGeneratorInternal=m;y.prototype.addModel=function(e){return new m({model:e},this._rtl)},r=y;function y(e){this._rtl=e}t.DesignerContextGenerator=r;var b,_=(b=s.Disposable,o(C,b),Object.defineProperty(C.prototype,"handler",{get:function(){return this._handler},set:function(e){this._disposables.push(e),this._handler=e},enumerable:!0,configurable:!0}),C.prototype.generate=function(){var e={};return this.handler&&(e.resizeHandler=this.handler),e},C);function C(){return null!==b&&b.apply(this,arguments)||this}t.ResizeSettings=_;var A,E=(A=s.Disposable,o(w,A),w.prototype._actionUndoEngineWrappingFunction=function(e,r){return f.createActionWrappingFunction("WrapWithUndoEngine",function(e,t){r().start(),t(e),r().end()})(e)},Object.defineProperty(w.prototype,"actionProviders",{get:function(){return this._actionProviders},set:function(e){this._disposables.push.apply(this._disposables,e),this._actionProviders=e},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"actions",{get:function(){return this._actions},set:function(e){this._disposables.push(e),this._actions=e},enumerable:!0,configurable:!0}),w.prototype.createDefaultActions=function(e,i){var o=this;this.actions=a.computed(function(){var t=e(),r=[];return o.actionProviders.forEach(function(e){r.push.apply(r,e.getActions(t))}),o._actionUndoEngineWrappingFunction(r,i),r})},w.prototype.generate=function(){var e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),this.actions&&(e.contextActions=this.actions),e},w);function w(){return null!==A&&A.apply(this,arguments)||this}t.ContextActionsSettings=E;var O,I=(O=s.Disposable,o(F,O),Object.defineProperty(F.prototype,"dragHelperContent",{get:function(){return this._dragHelperContent},set:function(e){this._disposables.push(e),this._dragHelperContent=e},enumerable:!0,configurable:!0}),Object.defineProperty(F.prototype,"dragDropStarted",{get:function(){return this._dragDropStarted},set:function(e){this._disposables.push(e),this._dragDropStarted=e},enumerable:!0,configurable:!0}),F.prototype.addDragDropHandler=function(e,t){this._disposables.push(t),this._model[e]=t},F.prototype.generate=function(){var e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(e.dragDropStarted=this.dragDropStarted),e},F);function F(){var e=null!==O&&O.apply(this,arguments)||this;return e._model={},e}t.DragDropSettings=I;var S,P=(S=s.Disposable,o(D,S),D.prototype.generate=function(){var e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e},D.prototype.addControlsHelper=function(e){var t=this;return this.controlsHelper=e||new d.DesignControlsHelper(this._context.model,[{added:function(e){},deleted:function(e){e.surface===t._selection.focused()&&t._selection.focused(v.findNextSelection(e.surface))}}]),this._disposables.push(this.controlsHelper),this},D.prototype.addControlsStore=function(e){return e=e||new c.ControlsStore(this.controlsHelper.allControls),this._disposables.push(e),this._model.controlsStore=e,this},D);function D(e,t){var r=S.call(this)||this;return r._selection=e,r._context=t,r._model={},r}t.ControlsHelperSettings=P;var k,T=(k=s.Disposable,o(B,k),B.prototype.generate=function(){var e={};return this.appMenuVisible&&(e.appMenuVisible=this.appMenuVisible),this.toggleAppMenu&&(e.toggleAppMenu=this.toggleAppMenu),this.getMenuPopupContainer&&(e.getMenuPopupContainer=this.getMenuPopupContainer),this.getMenuPopupTarget&&(e.getMenuPopupTarget=this.getMenuPopupTarget),e.stopPropagation=this.stopPropagation,e},Object.defineProperty(B.prototype,"appMenuVisible",{get:function(){return this._appMenuVisible},set:function(e){this._disposables.push(e),this._appMenuVisible=e},enumerable:!0,configurable:!0}),B);function B(){var e=null!==k&&k.apply(this,arguments)||this;return e.stopPropagation=!1,e}t.MenuSettings=T;var M,L=(M=s.Disposable,o(z,M),z.prototype.dispose=function(){this._editableObject(null),M.prototype.dispose.call(this),this.removeProperties()},Object.defineProperty(z.prototype,"selection",{get:function(){return this._selection},set:function(e){this._disposables.push(e),this._selection=e},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"snapHelper",{get:function(){return this._snapHelper},set:function(e){this._disposables.push(e),this._snapHelper=e},enumerable:!0,configurable:!0}),Object.defineProperty(z.prototype,"editableObject",{get:function(){return this._editableObject},set:function(e){this._disposables.push(e),this._editableObject=e},enumerable:!0,configurable:!0}),z.prototype.addDragDrop=function(e){e(this._dragDropSettings),this._disposables.push(this._dragDropSettings)},z.prototype.addResize=function(e){e(this._resizeSettings),this._disposables.push(this._resizeSettings)},z.prototype.generate=function(){var e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),this.editableObject&&(e.editableObject=this.editableObject),g.extend(e,this._dragDropSettings.generate(),this._resizeSettings.generate())},z);function z(){var e=null!==M&&M.apply(this,arguments)||this;return e._dragDropSettings=new I,e._resizeSettings=new _,e}t.SelectionSettings=L;var N,o=(N=s.Disposable,o(V,N),V.prototype._createPopularProperties=function(r,e){var i=[];return e.forEach(function(t){var e=r.filter(function(e){return e.propertyName===t})[0];e&&i.push(e)}),i},V.prototype._resetModel=function(){var t=this;Object.keys(this._model).forEach(function(e){"dispose"!==e&&delete t._model[e]})},Object.defineProperty(V.prototype,"rtl",{get:function(){return this._rtl},set:function(e){this._rtl=e,this._model.rtl=e},enumerable:!0,configurable:!0}),V.prototype.dispose=function(){N.prototype.dispose.call(this),this._resetModel()},V.prototype.initializeContext=function(e){return this._context=e,this},V.prototype.getPropertyByName=function(e){return this._model[e]},V.prototype.addElement=function(e,t){return this._model[e]=t(),this._disposables.push(this._model[e]),this},V.prototype.mapOnContext=function(){return this._model.model=this._context.model,this._model.surface=this._context.surface,this._model.undoEngine=this._context.undoEngine,this},V.prototype.addSelection=function(e){return e(this._selectionSettings),this._disposables.push(this._selectionSettings),g.extend(this._model,this._selectionSettings.generate()),this},V.prototype.addPropertyGrid=function(e,t){return void 0===t&&(t="propertyGrid"),this._model[t]=e&&e(),this._disposables.push(this._model[t]),this},V.prototype.addControlProperties=function(t,r,e,i){var o=this;return this.addPropertyGrid(function(){var e=new u.ControlProperties(o._model.editableObject,{groups:r,editors:t},null);return i&&e.registerAccessibilityProvider(i),e})},V.prototype.addPopularProperties=function(o,t){var n=this;return this.addPropertyGrid(function(){var e=new l.ObjectProperties(a.pureComputed(function(){var e,t,r={getInfo:function(){return[]}},i=n._model.editableObject();return i&&(e=o.controlsMap[i.controlType],(t=n._createPopularProperties(e&&e.info||[],e&&e.popularProperties||[])).forEach(function(e){e.propertyName in i&&(r[e.propertyName]=i[e.propertyName])}),r.getInfo=function(){return t},r.root=i.root,r.actions=i.actions,r.actionProviders=i.actionProviders,r.getPath=function(e){return i.getPath&&i.getPath(e)||""},r.getModel=function(){return i},r.isPropertyModified=function(e){return!!i.isPropertyModified&&i.isPropertyModified(e)},r.getActionClassName=function(e){return i.getActionClassName?i.getActionClassName(e):""},r.getMenuBoxTemplate=function(e){return i.getMenuBoxTemplate?i.getMenuBoxTemplate(e):""},r.isPropertyVisible=function(e){return!i.isPropertyVisible||i.isPropertyVisible(e)},r.isPropertyHighlighted=function(e){return!!i.isPropertyHighlighted&&i.isPropertyHighlighted(e)},r.isPropertyDisabled=function(e){return!!i.isPropertyDisabled&&i.isPropertyDisabled(e)},r.isSame=function(e){return e===i},["name","displayName"].forEach(function(e){e in i&&(r[e]=i[e])})),r}),void 0,void 0,void 0);return t&&e.registerAccessibilityProvider(t),e},"popularProperties")},V.prototype.addToolboxItems=function(e){return this._model.toolboxItems=e&&e(),this},V.prototype.addTabPanel=function(e,t){void 0===t&&(t=function(){return[]});t=e&&e()||new p.TabPanel({tabs:t(),rtl:this._rtl});return this._model.tabPanel=t,this._disposables.push(t),this},V.prototype.addIsLoading=function(e){return void 0===e&&(e=function(){return a.observable(!0)}),this._model.isLoading=e(),this._disposables.push(this._model.isLoading),this},V.prototype.addControlsHelper=function(e){var t=new P(this._selectionSettings.selection,this._context);return e(t),this._disposables.push(t),g.extend(this._model,t.generate()),this},V.prototype.addMenu=function(e){var t=new T;return e(t),this._disposables.push(t),g.extend(this._model,t.generate()),this},V.prototype.addContextActions=function(e){var t=new E;return e(t),this._disposables.push(t),g.extend(this._model,t.generate()),this},V.prototype.addParts=function(e,t){void 0===e&&(e=function(e){return e}),void 0===t&&(t=!0);var r=[];return t&&(r=f.generateDefaultParts(this._model)),this._model.parts=e(r),this},V.prototype.getModel=function(){return this._model},V.prototype.addActionList=function(e){e=e&&e()||new h.ActionLists(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,function(){});return this._disposables.push(e),this._model.actionLists=e,this},V);function V(e,t){var r=N.call(this)||this;return r._context=e,r._rtl=t,r._model={},r._selectionSettings=new L,r._model.rtl=r._rtl,r._model.dispose=function(){r.dispose()},r}t.CommonDesignerGenerator=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s,u=r(0),n=r(2),l=r(50),d=[],o=(s=n.Disposable,o(c,s),c.tryGetUndoEngine=function(t){var r=null;return d.some(function(e){return!!(r=t[e]&&t[e].instance)}),r},Object.defineProperty(c.prototype,"_modelReady",{get:function(){return l.checkModelReady(this._model)},enumerable:!0,configurable:!0}),c.prototype._disposeObserver=function(e){var t,r=this;e.propertyChanged?(t=e.propertyChanged.val)&&!t[this._currentEngineName]&&t.dispose&&t.dispose():e.arrayChanges&&e.arrayChanges.forEach(function(e){"added"!==e.status||(e=e.value)&&!e[r._currentEngineName]&&e.dispose&&e.dispose()})},c.prototype.properyChanged=function(e){var t,r=this;this._inUndoRedo||((t=this._position()+1)<this._observers.length&&this._observers.splice(t,this._observers.length).forEach(function(e){Array.isArray(e)?e.reverse().forEach(function(e){return r._disposeObserver(e)}):r._disposeObserver(e)}),this._observers.push(e),this._position(t),this.undoEnabled(!0),this.redoEnabled(!1))},c.prototype.visitProperties=function(e,t){var r=[];if(e&&t)for(var i=0;i<t.length;i++){var o=this._alwaysSubscribeProperties.some(function(e){return e===t[i].propertyName});!(t[i].modelName||t[i].editor||t[i].info||o)||(o=o?t[i].propertyName:this.validatePropertyName(e,t[i].propertyName))&&(u.isComputed(e[o])||(u.isObservable(e[o])?r.push(this.subscribeProperty(e[o],!t[i].link)):r.push.apply([],this._createDisposeFunction(e[o],t[i].info))))}return r},c.prototype.undoChangeSet=function(e){if(e.propertyChanged)e.observable(e.propertyChanged.oldVal);else{for(var t=e.observable(),r=0;r<e.arrayChanges.length;r++)"added"===e.arrayChanges[r].status?t.splice(t.indexOf(e.arrayChanges[r].value),1):"deleted"===e.arrayChanges[r].status&&t.splice(e.arrayChanges[r].index,0,e.arrayChanges[r].value);u.isObservable(e.observable)&&e.observable.valueHasMutated()}},c.prototype.redoChangeSet=function(e){if(e.propertyChanged)e.observable(e.propertyChanged.val);else{for(var t=e.observable(),r=0;r<e.arrayChanges.length;r++)"added"===e.arrayChanges[r].status?t.splice(e.arrayChanges[r].index,0,e.arrayChanges[r].value):"deleted"===e.arrayChanges[r].status&&t.splice(t.indexOf(e.arrayChanges[r].value),1);u.isObservable(e.observable)&&e.observable.valueHasMutated()}},c.prototype._disposeChilds=function(e,t){if(e&&t)for(var r,i,o=0;o<t.length;o++)!(t[o].modelName||t[o].editor||t[o].info)||0!==(r=t[o].propertyName).indexOf("_")&&(i=r,u.isWritableObservable(e["_"+r])&&(i="_"+i),u.isComputed(e[i])||(i=u.unwrap(e[i]))&&"object"==typeof i&&(t[o].link||this._callDisposeFunction(i)))},c.prototype._createDisposeFunction=function(e,t){var r,i=this,o=[];return!e||"object"!=typeof e||(r=t||e[this._getInfoMethodName]&&e[this._getInfoMethodName]())&&(e[this._currentEngineName]?e[this._currentEngineName].inc++:(e[this._currentEngineName]={inc:1,instance:this},o=this.subscribe(e,r),e[this._currentEngineName].func=function(){e[i._currentEngineName].inc--,i._disposeChilds(e,r),0===e[i._currentEngineName].inc&&(i._cleanSubscribtions(o),delete e[i._currentEngineName])})),o},c.prototype._callDisposeFunction=function(e){if(e)if(Array.isArray(e))for(var t=0;t<e.length;t++)e[t][this._currentEngineName]&&e[t][this._currentEngineName].func();else e[this._currentEngineName]&&e[this._currentEngineName].func()},c.prototype._cleanSubscribtions=function(e){if(e)if(e.length)for(var t=0;t<e.length;t++)this._cleanSubscribtions(e[t]);else e.dispose&&e.dispose()},c.prototype.validatePropertyName=function(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(function(e){return e!==t}))&&"_"!==t[0]?u.isWritableObservable(e["_"+t])?"_"+t:t:null},c.prototype.subscribeProperty=function(o,t){var n=this;if(u.isObservable(o)){var r=o();if(Array.isArray(r)){for(var e=0;e<o().length;e++)this._createDisposeFunction(o()[e]);return o.subscribe(function(e){if(n._modelReady){for(var t=e.filter(function(e){return"added"===e.status}),r=e.filter(function(e){return"deleted"===e.status}),i=0;i<r.length;i++)n._callDisposeFunction(r[i].value);for(i=0;i<t.length;i++)n._createDisposeFunction(t[i].value);n.properyChanged({observable:o,arrayChanges:e})}},null,"arrayChange")}if(u.isWritableObservable(o))return t&&this._createDisposeFunction(o()),o.subscribe(function(e){n._modelReady&&(t&&n._callDisposeFunction(r),n.properyChanged({observable:o,propertyChanged:{oldVal:r,val:e}}),r=e,t&&n._createDisposeFunction(e))})}},c.prototype.subscribeProperties=function(e){var i=this;e.forEach(function(t){var r;u.isObservable(t)&&(r=t(),t.push?i._subscriptions.push(t.subscribe(function(e){i._modelReady&&(i._inUndoRedo||(i.properyChanged({observable:t,arrayChanges:e}),i.subscribe(e.map(function(e){return e.value}))))},null,"arrayChange")):u.isWritableObservable(t)&&i._subscriptions.push(t.subscribe(function(e){i._modelReady&&(i.properyChanged({observable:t,propertyChanged:{oldVal:r,val:e}}),r=t())})))})},c.prototype.subscribe=function(e,t){var r=this;if(this._getInfoMethodName)return this.visitProperties(e,t||e&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]());l.propertiesVisitor(e,function(e){r.subscribeProperties(e)},this._visited,this._ignoredProperties)},c.prototype._removePropertiesSubscriptions=function(){this._subscriptions.forEach(function(e){return e.dispose()}),this._subscriptions=[],this._visited=[]},c.prototype.dispose=function(){var r=this;s.prototype.dispose.call(this),this.removeTargetSubscription();var i=0;d.some(function(e,t){return e===r._currentEngineName&&(i=t,!0)}),d.splice(i,1)},c.prototype.removeTargetSubscription=function(){this._targetSubscription&&this._targetSubscription.dispose(),this.reset()},c.prototype.undoAll=function(){this.undoEnabled()&&(this.undo(),this.undoAll())},c.prototype.reset=function(){this._removePropertiesSubscriptions(),this.clearHistory()},c.prototype.clearHistory=function(){this._groupObservers=[],this._observers=[],this.redoEnabled(!1),this.undoEnabled(!1),this._inUndoRedo=!1,this._groupPosition=-1,this._position(-1),this._lockedPosition(this._position())},c.prototype.undo=function(e){var t,r=this;void 0===e&&(e=!1);try{this._inUndoRedo=!0,!this.undoEnabled()||(t=this._observers[this._position()])&&(Array.isArray(t)?t.reverse().forEach(function(e){return r.undoChangeSet(e)}):this.undoChangeSet(t),e&&this._observers.splice(this._position(),1),this._position(this._position()-1),this.undoEnabled(0!==this._observers.length&&0<=this._position()),this.redoEnabled(this._position()<this._observers.length-1))}finally{this._inUndoRedo=!1}},c.prototype.redo=function(){var e,t=this;try{this._inUndoRedo=!0,!this.redoEnabled()||(e=this._observers[this._position()+1])&&(Array.isArray(e)?e.reverse().forEach(function(e){return t.redoChangeSet(e)}):this.redoChangeSet(e),this._position(this._position()+1),this.undoEnabled(0!==this._observers.length&&0<=this._position()),this.redoEnabled(this._position()+1<this._observers.length))}finally{this._inUndoRedo=!1}},c.prototype._hasSessionChanges=function(){return 0===this.isIngroup&&0<this._observers.length},c.prototype.start=function(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))},c.prototype.end=function(){var t=this;this.isIngroup--,-1===this.isIngroup&&(0<this._observers.length?(this._position(this._groupPosition+1),this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers).forEach(function(e){Array.isArray(e)?e.reverse().forEach(function(e){return t._disposeObserver(e)}):t._disposeObserver(e)})):this._position(this._groupPosition),this._observers=this._groupObservers)},c._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___",c);function c(t,e,r,i){void 0===e&&(e=["surface"]),void 0===i&&(i=[]);var o,n,a=s.call(this)||this;return a._ignoredProperties=e,a._getInfoMethodName=r,a._alwaysSubscribeProperties=i,a._groupObservers=[],a._groupPosition=-1,a._observers=[],a._subscriptions=[],a._visited=[],a._position=u.observable(-1),a._lockedPosition=u.observable(-1),a._inUndoRedo=!1,a._currentEngineName=c._disposeUndoEngineSubscriptionsName+l.guid(),a.redoEnabled=u.observable(!1),a.undoEnabled=u.observable(!1),a.isIngroup=-1,a.isDirty=u.computed({read:function(){return a._position()!==a._lockedPosition()},write:function(e){e?a._lockedPosition("forcibly marked as dirty"):a._lockedPosition(a._position())}}),d.push(a._currentEngineName),a._model=u.unwrap(t),a._getInfoMethodName?u.isSubscribable(t)?a._targetSubscription=a.subscribeProperty(t,!0):a._createDisposeFunction(t):(o=a.subscribe(a._model),u.isSubscribable(t)&&(n=t(),a._targetSubscription=t.subscribe(function(e){a._removePropertiesSubscriptions(),a._inUndoRedo||(a.properyChanged({observable:t,propertyChanged:{oldVal:n,val:e}}),n=e),a._cleanSubscribtions(o),a._model=e,o=a.subscribe(a._model)}))),a._disposables.push(a.isDirty),a}t.UndoEngine=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s,u=r(0),n=r(24),a=r(96),l=r(37),d=r(30),c=r(9),p=r(143),o=(s=n.ObjectProperties,o(h,s),h.prototype.getEditors=function(){var e=s.prototype.getEditors.call(this),r=e.map(function(e){return e.displayName()}).sort();return e.sort(function(e,t){return r.indexOf(e.displayName())-r.indexOf(t.displayName())}),e},h.prototype._update=function(e,t,r){return this.groups&&this.groups.forEach(function(e){0===e.editors().length&&e.recreate()}),s.prototype._update.call(this,e,t,r)},h.prototype.cleanEditors=function(){s.prototype.cleanEditors.call(this),this.groups.forEach(function(e){return e.resetEditors()})},h.prototype.dispose=function(){s.prototype.dispose.call(this),this.disposeArray(this.groups),this.disposeObservableArray(this._editors),this.resetObservableArray(this._editors),this.cleanSubscriptions(),this._searchBox=null,this.focusedItem=null},h.prototype.createGroups=function(t){var r=this;this.groups=Object.keys(t).map(function(e){return new a.Group(e,t[e].info,function(e){return e.filter(function(e){return!!e.editor}).map(function(e){var t=r.findEditorByInfo(e);return t||(t=r.createEditor(e),r._editors.push(t),t)})},!0,t[e].displayName)}),this._disposables.push.apply(this._disposables,this.groups)},h.prototype.registerAccessibilityProvider=function(t){s.prototype.registerAccessibilityProvider.call(this,t),this.groups.forEach(function(e){e.registerAccessibilityProvider(t)})},h.prototype.searchBox=function(e){this._searchBox=p.default.getInstance(e.get(0))},h);function h(e,t,r,i){void 0===r&&(r=0),void 0===i&&(i=!0);var o=s.call(this,e,t,r,void 0,void 0,u.observable(""),i&&new l.PopupService)||this;o.focusedItem=u.observable(),o.editorsRendered=u.observable(!1),o.isSortingByGroups=u.observable(!0),o.isSearching=u.observable(!1),o.allEditorsCreated=u.observable(!1),o.textToSearch=u.observable(""),o._searchBox=null,o.searchPlaceholder=function(){return c.searchPlaceholder()},o.switchSearchBox=function(){o.isSearching()?(o.isSearching(!1),o.textToSearch("")):(o.isSearching(!0),o._searchBox&&o._searchBox.focus())},o.createGroups(t.groups),o.update(e()),o._disposables.push(o.focusedImageClassName=u.pureComputed(function(){return d.getImageClassName(e()&&e().controlType)}));var n=o.isSortingByGroups.subscribe(function(e){e||(o.editorsRendered(!0),n.dispose())});o._disposables.push(n),o.focusedItem=e,o._disposables.push(e.subscribe(function(e){o.isSearching()&&!o.textToSearch()&&o.switchSearchBox()})),o.displayExpr=function(e){return d.getControlFullName(e)};var a=null;return o._disposables.push(o.textToSearch.subscribe(function(e){a&&clearTimeout(a),a=setTimeout(function(){o._textToSearch(e),e&&o.groups.forEach(function(e){return e.collapsed()&&e.editors().some(function(e){return e.isSearchedProperty()})&&e.collapsed(!1)})},200)})),o}t.ControlProperties=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(2),s=r(175),u=r(4),o=(n=a.Disposable,o(l,n),l.prototype.dispose=function(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,n.prototype.dispose.call(this)},l.prototype._isValid=function(e,t){var r=this;return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach(function(e){return e&&(e.validator=r.validatorInstance)}),this.validatorInstance.validate()):s.default.validate(t,e,this._editor.displayName())},Object.defineProperty(l.prototype,"validatorInstance",{get:function(){return this._validatorInstance},set:function(e){this._validatorInstance&&this.onValidatedHandler&&this._validatorInstance.off("validated",this._onValidatedHandler),this._validatorInstance=e},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"onValidatedHandler",{get:function(){return this._onValidatedHandler},set:function(e){this._onValidatedHandler&&this.validatorInstance&&(this.validatorInstance.off("validated",this._onValidatedHandler),(this._onValidatedHandler=e)&&this.validatorInstance.on("validated",this._onValidatedHandler))},enumerable:!0,configurable:!0}),l.prototype.getValidationRules=function(){var e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])},l.prototype.getValidatorOptions=function(e){void 0===e&&(e={});var t=this._editor.info.peek();if(t){var r=this._lastValidatorOptions,i=this._editor._getEditorValidationRules();if(r&&!this.areRulesChanged(i))return r;this._lastModelOverridableRules=i;var o=this._concatValidationRules(t.validatorOptions,i),i=t.editor.extendedOptions&&t.editor.extendedOptions.validatorOptions,r=u.extend({},e,t.validatorOptions,{validationRules:o},i);return this._wrapValidatorEvents(r),this._lastValidatorOptions=r}},l.prototype.areRulesChanged=function(e){var r=this;return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||!e.every(function(t){return r._lastModelOverridableRules.some(function(e){return t.message===e.message&&t.validationCallback===e.validationCallback&&t.type===e.type})}):e&&e.length},l.prototype.wrapOnValidatorInitialized=function(e){var t=e.onInitialized,r=this;e.onInitialized=function(e){r._onValidatorInitialized(e),t&&t.apply(this,arguments)}},l.prototype._onValidatorInitialized=function(e){this.validatorInstance=e&&e.component},l.prototype._concatValidationRules=function(e,t){return e&&e.validationRules||t?((e||{}).validationRules||[]).concat(t||[]):null},l.prototype._wrapValidatorEvents=function(e){if(e&&e.validationRules&&e.validationRules.length)return this.wrapOnValidatorInitialized(e),e},l.prototype.assignWithValidation=function(e,t){var r=this,i=this.getValidationRules(),o=!i||i.some(function(e){return e.assignValueFirst});o&&t();e=this._isValid(i,e);e.isValid?o||t():e.brokenRule&&e.brokenRule.isDeferred&&(this.onValidatedHandler=function(e){r.onValidatedHandler=void 0,e.isValid&&t()})},l);function l(e){var t=n.call(this)||this;return t._editor=e,t._lastValidatorOptions=null,t._lastModelOverridableRules=null,t._onValidatedHandler=void 0,t}t.EditorValidator=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s,u=r(0),n=r(2),l=r(3),o=(s=n.Disposable,o(a,s),a.prototype.resetEditors=function(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)},a.prototype.dispose=function(){s.prototype.dispose.call(this),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)},a.prototype.update=function(e){var t=this;this._viewModel=e,this.editors().forEach(function(e){e.update(t._viewModel)})},a.prototype.registerAccessibilityProvider=function(t){this._accessibilityProvider=t,this.editors().forEach(function(e){e.registerAccessibilityProvider(t)})},a);function a(e,t,r,i,o){void 0===i&&(i=!0);var n,a=s.call(this)||this;return a.editors=u.observableArray([]).extend({deferred:!0}),a.editorsCreated=u.observable(!1),a.editorsRendered=u.observable(!1),a._displayName=e,a.displayName=o||function(){return l.getLocalization(e)},a._serializationsInfo=t,a.collapsed=u.observable(i),i&&(n=a.collapsed.subscribe(function(e){n.dispose(),a.editorsRendered(!0)}),a._disposables.push(n)),a.recreate=function(){a.editors(r(t)),a._accessibilityProvider&&a.editors().forEach(function(e){e.registerAccessibilityProvider(a._accessibilityProvider)})},a.editors(r(t)),a.visible=u.computed(function(){return a.editors().some(function(e){return e.visible()})}),a._disposables.push(a.visible),a}t.Group=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(2),u=r(30),l=r(67),o=(n=s.Disposable,o(d,n),d.prototype.getNameProperty=function(e){return e.name},d.prototype._setName=function(t){var e,r,i=this,o=this.allControls().map(function(e){return a.unwrap(i.getNameProperty(e))});(!this.getNameProperty(t)()||1<o.filter(function(e){return e===i.getNameProperty(t)()}).length)&&(e=t.controlType||"Unknown",r=t.getControlInfo&&t.getControlInfo().defaultVal&&t.getControlInfo().defaultVal["@Text"],o=u.getUniqueNameForNamedObjectsArray(this.allControls(),e.split(".").pop(),o),this.getNameProperty(t)(o),this._setText&&t.text&&!t.text()&&null==r&&t.text(this.getNameProperty(t)()))},d.prototype.dispose=function(){n.prototype.dispose.call(this),this._subscriptions.forEach(function(e){return e.dispose()}),this._subscriptions.splice(0),this._visitedCollections.splice(0),this._handlers.splice(0),this.target=null,this.allControls([])},d.prototype.processCollection=function(e){},d.prototype._collectControls=function(e){var o=this,n=[e];l.collectionsVisitor(e,function(e,t){var r,i;-1===o._visitedCollections.indexOf(e)&&(o._visitedCollections.push(e),r=o._subscriptions,t instanceof s.Disposable&&(r=t._disposables),i=e.subscribe(function(e){e.forEach(function(t){null==t.moved&&(o[t.status]&&o[t.status](t.value),o._handlers.forEach(function(e){e[t.status]&&e[t.status](t.value)}))})},null,"arrayChange"),r.push({dispose:function(){i.dispose(),i=null,o._visitedCollections.splice(o._visitedCollections.indexOf(e),1)}})),o.processCollection(e()),n.push.apply(n,e())},this.collectionNames),this.allControls.push.apply(this.allControls,n)},d.prototype.getControls=function(e){var t=a.observableArray();return l.collectionsVisitor(e,function(e){t.push.apply(t,e())}),t},d);function d(e,t,r){var i=n.call(this)||this;i.target=e,i.collectionNames=r,i._handlers=[],i._setText=!1,i._visitedCollections=[],i._subscriptions=[],i.added=function(e){i._setText=!0,i._collectControls(e),i._setText=!1},i.deleted=function(e){var t=i.allControls(),r=t.indexOf(e);t.splice(r,1),l.collectionsVisitor(e,function(e){e().forEach(function(e){t.splice(t.indexOf(e),1)})}),i.allControls.valueHasMutated()},i.allControls=a.observableArray();r=e;return a.isSubscribable(e)&&(i._disposables.push(e.subscribe(function(e){i._visitedCollections=[];for(var t=0,r=i._subscriptions.length;t<r;t++)i._subscriptions[t].dispose();i._subscriptions=[],i.allControls([]),e&&i._collectControls(e)})),r=e.peek()),i._disposables.push(i.allControls.subscribe(function(e){for(var t=e.filter(function(e){return"added"===e.status}),r=0;r<t.length;r++)i._setName(t[r].value)},null,"arrayChange")),r&&i._collectControls(r),i._handlers.push.apply(i._handlers,t),i}t.DesignControlsHelper=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(1),u=r(2),l=r(176),d=r(177),c=r(144),p=(n=d.default,o(h,n),h._sortItems=function(e,i){return e.sort(function(e,t){var r=a.unwrap(e[i]),e=a.unwrap(t[i]);if(r&&e){t=r-e;return isNaN(t)?(r=r.toLowerCase?r.toLowerCase():r)<(e=e.toLowerCase?e.toLowerCase():e)?-1:e<r?1:0:t}})},h._createOptions=function(r,e){return r=this._sortItems(r,e),{load:function(e){var t=[].concat(r);return e.take&&(t=t.splice(e.skip,e.take)),e.filter&&(t=t.filter(e.filter)),s.Deferred().resolve(t).promise()},byKey:function(t){if(r.some(function(e){return e===t}))return t}}},h);function h(e,t){return void 0===t&&(t="name"),n.call(this,h._createOptions(e,t))||this}t.CustomSortedArrayStore=p;var f,l=(f=l.default,o(v,f),v);function v(e,t){void 0===t&&(t="name");return e instanceof Array&&p._sortItems(e,t),f.call(this,e)||this}t.SortedArrayStore=l;var g,o=(g=u.Disposable,o(m,g),m.prototype.setFilter=function(e){this._filter(e)},m.prototype.resetFilter=function(){this._filter(null)},m);function m(e){var t=g.call(this)||this;t._filter=a.observable(null);var r=null;return t._disposables.push(t.dataSource=a.computed(function(){return r&&r.dispose(),r=new c.default({store:new p(e()),paginate:!0,filter:t._filter(),pageSize:100})})),t._disposables.push(t.visible=a.computed(function(){return 0<e().length})),t}t.ControlsStore=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,c=r(0),a=r(1),s=r(2),p=r(68),h=r(100),f=r(101),v=r(3),g=r(70),m=r(22),s=(n=s.Disposable,o(u,n),u.prototype.processShortcut=function(e,t){for(var r=0;r<e.length;r++)e[r].hotKey&&(e[r].disabled&&!e[r].disabled()||!e[r].disabled)&&(a.isFunction(e[r].visible)?e[r].visible():e[r].visible)&&e[r].hotKey.ctrlKey===t.ctrlKey&&e[r].hotKey.keyCode===t.keyCode&&(e[r].clickAction(),t.preventDefault())},u.prototype.shouldIgnoreProcessing=function(e){if(e.altKey||!this.enabled.peek())return!0;e=a(document.activeElement);return!!(e.is("textarea")||e.is(":input")&&-1!=["password","text","number"].indexOf(e.attr("type")))},u);function u(e){var t=n.call(this)||this;return t.toolbarItems=[],t.enabled=e||c.observable(!0),t}t.ActionListsBase=s;var x,s=(o(l,x=s),l.prototype._registerAction=function(e,t){t.index?e.splice(t.index,0,t):e.push(t)},l.prototype.processShortcut=function(e,t){this.shouldIgnoreProcessing(t)||(this._keyboardHelper.processShortcut(t)?t.preventDefault():x.prototype.processShortcut.call(this,e,t))},l);function l(t,e,r,i,o,n,a,s){void 0===a&&(a=c.observable(.01)),void 0===s&&(s=function(e){return!1});var u=x.call(this,o)||this;u.menuItems=[];var l,d=new h.CopyPasteHandler(e,n),n=[];return e&&(l=c.computed(function(){return e.selectedItems.some(function(e){return e.locked||s(e)})}),u._disposables.push(l),u._keyboardHelper=new p.KeyboardHelper(e,r),n.push({id:f.ActionId.Cut,text:"Cut",displayText:function(){return v.getLocalization("Cut","AnalyticsCoreStringId.EditCut")},imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:c.pureComputed(function(){return!t()||!d.canCopy()||l()}),visible:!0,clickAction:function(){r().start(),d.cut(),r().end()},hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),n.push({id:f.ActionId.Copy,text:"Copy",displayText:function(){return v.getLocalization("Copy","AnalyticsCoreStringId.Cmd_Copy")},imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:c.pureComputed(function(){return!t()||!d.canCopy()||l()}),visible:!0,clickAction:function(){d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),n.push({id:f.ActionId.Paste,text:"Paste",displayText:function(){return v.getLocalization("Paste","AnalyticsCoreStringId.Cmd_Paste")},imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:c.pureComputed(function(){return!t()||!d.canPaste()||l()}),visible:!0,clickAction:function(){r().start(),d.paste(),r().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),n.push({id:f.ActionId.Delete,text:"Delete",displayText:function(){return v.getLocalization("Delete","AnalyticsCoreStringId.Cmd_Delete")},imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:c.pureComputed(function(){return!e.focused()||(e.focused().getControlModel().getMetaData().isDeleteDeny||l())}),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},clickAction:function(){r().start(),g.deleteSelection(e),r().end()}})),n.push({id:f.ActionId.Undo,text:"Undo",displayText:function(){return v.getLocalization("Undo","AnalyticsCoreStringId.Undo")},imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:c.pureComputed(function(){return!t()||!r()||r()&&!r().undoEnabled()}),visible:!0,clickAction:function(){r().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),n.push({id:f.ActionId.Redo,text:"Redo",displayText:function(){return v.getLocalization("Redo","AnalyticsCoreStringId.Redo")},imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:c.pureComputed(function(){return!t()||!r()||r()&&!r().redoEnabled()}),visible:!0,clickAction:function(){r().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),n.push({id:f.ActionId.ZoomOut,text:"Zoom Out",displayText:function(){return v.getLocalization("Zoom Out","AnalyticsCoreStringId.ZoomOut")},imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:c.pureComputed(function(){return!t()}),visible:!0,hotKey:{ctrlKey:!0,keyCode:109},zoomStep:a,clickAction:function(){t().zoom(Math.max(t().zoom()-a(),.01))},hasSeparator:!0}),n.push({id:f.ActionId.ZoomSelector,text:"Zoom 100%",displayText:function(){return v.getLocalization("Zoom 100%")},imageClassName:"dxrd-image-zoom",disabled:c.pureComputed(function(){return!t()}),visible:!0,hotKey:{ctrlKey:!0,keyCode:187},clickAction:function(){t().zoom(1)},templateName:"dxrd-zoom-select-template",zoomLevels:c.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:c.pureComputed({read:function(){return t()&&t().zoom()},write:function(e){t().zoom(e)}}),onCustomItemCreating:function(e){e.customItem=m.parseZoom(e.text)}}),n.push({id:f.ActionId.ZoomIn,text:"Zoom In",displayText:function(){return v.getLocalization("Zoom In","AnalyticsCoreStringId.ZoomIn")},imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:c.pureComputed(function(){return!t()}),visible:!0,hotKey:{ctrlKey:!0,keyCode:107},zoomStep:a,clickAction:function(){t().zoom(t().zoom()+a())}}),i&&i(n),n.forEach(function(t){Object.keys(t).forEach(function(e){c.isComputed(t[e])&&u._disposables.push(t[e])}),u._registerAction("menu"===t.container?u.menuItems:c.unwrap(u.toolbarItems),t)}),u}t.ActionLists=s},function(e,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=t(0),r=t(1),p=t(69),n=t(45),h=t(23);i.copyPasteStrategy={createChild:function(e,t){return e.createChild(t)},calculateDelta:function(e,t,r){return{x:e.rect().left-r.x(),y:e.rect().top-r.y()}},canPaste:function(e,t){return!0}};a.prototype.canCopy=function(){return null!==this._selectionProvider.focused()&&!this._selectionProvider.focused().getControlModel().getMetaData().isCopyDeny},a.prototype.canPaste=function(){var e=this._selectionProvider.focused();return null!==e&&this.hasPasteInfo()&&e.canDrop()&&(!this._copyPasteStrategy.canPaste||this._copyPasteStrategy.canPaste(e.getControlModel(),this._copyInfo()))&&!e.getControlModel().getMetaData().isPasteDeny},a.prototype.copy=function(){var t,e;this.canCopy()&&(t=new n.ModelSerializer,e={focused:this._selectionProvider.focused(),objects:r.map(this._selectionProvider.selectedItems,function(e){return t.serialize(e.getControlModel())})},this._copyInfo(e))},a.prototype.cut=function(){var t=new n.ModelSerializer,e={focused:this._selectionProvider.focused(),objects:r.map(this._selectionProvider.selectedItems,function(e){return e.getControlModel().parentModel().removeChild(e.getControlModel()),t.serialize(e.getControlModel())})};this._copyInfo(e)},a.prototype.paste=function(){var t=this;if(this.canPaste()){var e=this._selectionProvider.focused(),r=e.getControlModel(),i=[];e===this._copyInfo().focused&&(r=(e=e.parent).getControlModel()),r.getMetaData().isContainer||(r=(e=e.parent).getControlModel());for(var o=new p.Point(Number.MAX_VALUE,Number.MAX_VALUE),n=new p.Point(-1,-1),a=0;a<this._copyInfo().objects.length;a++){var s,u=this._copyPasteStrategy.createChild(r,this._copyInfo().objects[a]),l=h.findSurface(u);l&&(s=new p.Point(l.rect().left,l.rect().top),u=new p.Point(l.rect().left+l.rect().width,l.rect().top+l.rect().height),o.x()>=s.x()&&o.x(s.x()),n.x()<=u.x()&&n.x(u.x()),o.y()>=s.y()&&o.y(s.y()),n.y()<=u.y()&&n.y(u.y()),i.push(l))}for(var d=new p.Point((e.rect().width-e._context.margins.right())/2-(n.x()-o.x())/2+(e.rtlLayout()?e._context.margins.right():0),e.rect().height/2-(n.y()-o.y())/2),a=0;a<i.length;a++){var c=this._copyPasteStrategy.calculateDelta(i[a],e,o);i[a].rect({left:d.x()+c.x,top:d.y()+c.y})}this._selectionProvider.initialize(),i.forEach(function(e){t._selectionProvider.selecting({control:e,cancel:!1})})}},t=a;function a(e,t){void 0===t&&(t=i.copyPasteStrategy);var r=this;this._copyPasteStrategy=t,this._copyInfo=o.observable(null),this.hasPasteInfo=o.pureComputed(function(){return null!==r._copyInfo()}),this._selectionProvider=e}i.CopyPasteHandler=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionId={Cut:"dxd-cut",Copy:"dxd-copy",Paste:"dxd-paste",Delete:"dxd-delete",Undo:"dxd-undo",Redo:"dxd-redo",ZoomOut:"dxd-zoom-out",ZoomSelector:"dxd-zoom-selector",ZoomIn:"dxd-zoom-in"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(0),i=r(43),o=r(103),l=r(4);function n(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}t.patchPositionByRTL=n;d.prototype._getPixelValueFromUnit=function(e,t){return t.root&&t.root.measureUnit?i.unitsToPixel(e,t.root.measureUnit()):e},d.prototype._patchPosition=function(e){return n(e,this._rtlLayout())},d.prototype._getBorderWidth=function(e,t){return e.borderWidth&&Math.floor(e.borderWidth()*(t||1))||""},d.prototype.createBorder=function(e,t,r,i,o){var n={};i=i||"All",n={stroke:"Silver",strokeWidth:2};e=this.createStrokeDashArray(e,t);return-1===i.indexOf(o)&&-1===i.indexOf("All")||(n.stroke=r,n.strokeWidth=t,n.strokeDasharray=e),n},d.prototype.createControlBorder=function(e,t,r,i,o,n){void 0===n&&(n="solid 1px Silver");var a={};return e="Dash"===e?"dashed":"Dot"===e?"dotted":"Double"===e?"double":"solid",-1!==(i=i||"").indexOf(o)||-1!==i.indexOf("All")?a["border"+this._patchPosition(o)]=e+" "+t+"px "+r:a["border"+this._patchPosition(o)]=n,a},d.prototype.createBorders=function(e,t,r,i,o){void 0===o&&(o=d.DEFAULT_BORDER);var n=this.createControlBorder(e,t,r,i,"Left",o),a=this.createControlBorder(e,t,r,i,"Right",o),s=this.createControlBorder(e,t,r,i,"Top",o),o=this.createControlBorder(e,t,r,i,"Bottom",o);return l.extend({},n,a,s,o)},d.prototype.createZipCodeFont=function(e){var t={fontFamily:"Impact"};return t.fontSize=e+"px",t},d.prototype.createFont=function(e){var t={},r=(e=e||"").split(",");if(t.fontFamily=r[0]?'"'+r[0]+'"':"",t.fontSize=r[1],2<r.length)for(var i=2;i<r.length;i++)-1!==r[i].indexOf("Bold")&&(t.fontWeight="Bold"),-1!==r[i].indexOf("Italic")&&(t.fontStyle="Italic"),-1!=r[i].indexOf("Underline")&&(t.textDecoration="Underline"),-1!=r[i].indexOf("Strikeout")&&(t.textDecoration=(t.textDecoration?t.textDecoration+" ":"")+"Line-through");return t.fontWeight||(t.fontWeight=""),t.fontStyle||(t.fontStyle=""),t.textDecoration||(t.textDecoration=""),t},d.prototype.createVerticalAlignment=function(e){var t={};return-1!==e.indexOf("Top")&&(t.verticalAlign="top"),-1!==e.indexOf("Middle")&&(t.verticalAlign="middle"),-1!==e.indexOf("Bottom")&&(t.verticalAlign="bottom"),t},d.prototype.createHorizontalAlignment=function(e){var t={};return-1!==e.indexOf("Left")&&(t.textAlign=n("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=n("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t},d.prototype.createStrokeDashArray=function(e,t){return"Solid"===e?"":"Dot"===e?[t,2*t].join("px, ")+"px":"Dash"===e?[4*t,4*t].join("px, ")+"px":"DashDot"===e?[4*t,2*t,t,2*t].join("px, ")+"px":"DashDotDot"===e?[4*t,2*t,t,2*t,t,2*t].join("px, ")+"px":""},d.prototype.createWordWrap=function(e,t){var r={};return!1===e&&!1===t?(r["white-space"]="nowrap",r["word-wrap"]="normal"):!0===e&&!1===t?(r["word-wrap"]="break-word",r["white-space"]=""):!1===e&&!0===t?(r["word-wrap"]="normal",r["white-space"]="pre"):!0===e&&!0===t&&(r["white-space"]="pre-wrap",r["word-wrap"]="break-word"),r},d.prototype.createAngle=function(e){return{"-webkit-transform":"rotate("+(e=-e)+"deg)","-moz-transform":"rotate("+e+"deg)","-o-transform":"rotate("+e+"deg)","-ms-transform":"rotate("+e+"deg)",transform:"rotate("+e+"deg)"}},d.prototype.contentSizeCss=function(e,t,r,i,o){var n=this,a={top:1,left:1,right:1,bottom:1,width:1,height:1};i=i||this._control.borders&&this._control.borders()||"";var s=this._getBorderWidth(this._control,r);return["Left","Top","Right","Bottom"].forEach(function(e){var t=0;""==s||-1===i.indexOf(e)&&-1===i.indexOf("All")||(t+=s),o&&(t+=n._getPixelValueFromUnit(u.unwrap(o[e.toLowerCase()]),n._control)*(r||1)),t&&(a[n._patchPosition(e).toLowerCase()]=t)}),a.width=e-a.left-a.right,a.height=t-a.top-a.bottom,a},d.DEFAULT_BORDER="none",r=d;function d(n,e){var a=this;this._rtlLayout=e,this._control=n,this.borderCss=function(e){var t=a._getBorderWidth(n,e),r=n.borderDefault&&n.borderDefault(),i=n.borderColor&&n.borderColor()||"",o=n.borders&&n.borders()||"",e=n.borderDashStyle&&n.borderDashStyle()||"";return r?a.createBorders(e,t,i,o,r):a.createBorders(e,t,i,o)},this.backGroundCss=function(){return{backgroundColor:n.backColor&&n.backColor()||"transparent"}},this.foreColorCss=function(){return{color:"transparent"===(n.foreColor&&n.foreColor()||"transparent")?"black":n.foreColor()}},this.fontCss=function(){return a.createFont(n.font&&n.font()||"")},this.wordWrapCss=function(){return a.createWordWrap(u.unwrap(n.wordWrap),u.unwrap(n.multiline))},this.paddingsCss=function(){var e=u.unwrap(n.paddingObj||n.padding)||o.PaddingModel.from(o.PaddingModel.defaultVal);return{paddingLeft:a._getPixelValueFromUnit(e.left(),n)+"px",paddingTop:a._getPixelValueFromUnit(e.top(),n)+"px",paddingRight:a._getPixelValueFromUnit(e.right(),n)+"px",paddingBottom:a._getPixelValueFromUnit(e.bottom(),n)+"px"}},this.textAlignmentCss=function(){var e=n.textAlignment&&n.textAlignment()||"";return l.extend(a.createVerticalAlignment(e),a.createHorizontalAlignment(e))},this.stroke=function(){return{stroke:"transparent"===(n.foreColor&&n.foreColor()||"transparent")?"black":n.foreColor()}},this.strokeWidth=function(){return{strokeWidth:n.lineWidth&&n.lineWidth()||""}},this.strokeWidthWithWidth=function(){return{strokeWidth:n.width&&n.width()||""}},this.strokeDashArray=function(){return{strokeDasharray:a.createStrokeDashArray(n.lineStyle&&n.lineStyle()||"",n.lineWidth&&n.lineWidth()||"")}},this.strokeDashArrayWithWidth=function(){return{strokeDasharray:a.createStrokeDashArray(n.lineStyle&&n.lineStyle()||"",n.width&&n.width()||"")}},this.crossBandBorder=function(e){return a.createBorder(n.borderDashStyleCrossband&&n.borderDashStyleCrossband()||"solid",a._getBorderWidth(n),n.borderColor&&n.borderColor()||"",n.borders&&n.borders()||"",e)},this.angle=function(){return a.createAngle(n.angle&&n.angle()||0)},this.cellBorder=function(e,t){return a.createControlBorder(n.borderDashStyle&&n.borderDashStyle()||"solid",a._getBorderWidth(n,t),n.borderColor&&n.borderColor()||"",n.borders&&n.borders()||"",e)},this.zipCodeFontCss=function(e){return a.createZipCodeFont(e||n.size.height())},this.zipCodeAlignment=function(){return l.extend(a.createVerticalAlignment("TopLeft"),a.createHorizontalAlignment("TopLeft"))}}t.CssCalculator=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var u,l=r(0),n=r(2),a=r(71),o=(u=n.Disposable,o(s,u),s.prototype.getInfo=function(){return a.paddingSerializationsInfo},s.prototype.resetValue=function(){var t=this;["left","right","top","bottom"].forEach(function(e){return t["_"+e](null)})},s.prototype.isEmpty=function(){var t=this;return["left","right","top","bottom"].map(function(e){return l.unwrap(t["_"+e])}).every(function(e){return null===e})},s.prototype.applyFromString=function(e){return e&&(e=(e||"").split(","),this.left(parseInt(e[0])||0),this.right(parseInt(e[1])||0),this.top(parseInt(e[2])||0),this.bottom(parseInt(e[3])||0)),this},s.from=function(e){return(new s).applyFromString(e)},s.prototype.toString=function(){if(!this.isEmpty())return this._toString()},s.prototype._toString=function(e){var t=this;return void 0===e&&(e=!1),["left","right","top","bottom"].map(function(e){return parseInt(l.unwrap(t[e]))}).concat(this.dpi()).join(", ")},s.defaultVal="0, 0, 0, 0, 100",s.unitProperties=["left","right","top","bottom"],s);function s(e,t,r,i,o){void 0===e&&(e=l.observable(null)),void 0===t&&(t=l.observable(null)),void 0===r&&(r=l.observable(null)),void 0===i&&(i=l.observable(null)),void 0===o&&(o=l.observable(100));var n=u.call(this)||this;n.left=e,n.right=t,n.top=r,n.bottom=i,n.dpi=o,["left","right","top","bottom"].forEach(function(t){n["_"+t]=l.observable(n[t]()),n._disposables.push(n[t]=l.computed({read:function(){return n["_"+t]()||0},write:function(e){n["_"+t](e)}}))});var a=l.observable(!1),s=null;return n._disposables.push(n.all=l.computed({read:function(){return a()?s:s=["right","top","bottom"].every(function(e){return n[e]()===n.left()})?n.left():null},write:function(t){a(!0),["left","right","top","bottom"].forEach(function(e){return n[e](t)}),a(!1)}})),n}t.PaddingModel=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(Object.defineProperty(o.prototype,"x",{get:function(){return this._x},set:function(e){this._x=e},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"y",{get:function(){return this._y},set:function(e){this._y=e},enumerable:!0,configurable:!0}),o);function o(){this._x=0,this._y=0,this.isOver=!1}t.HoverInfo=i},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(2),o=(n=r.Disposable,o(s,n),s.prototype._setAllValues=function(e){this.left(e),this.bottom(e),this.right(e),this.top(e)},s.prototype.setValue=function(e){this.disabled()||(this[e](!this[e]()),this.updateValue())},s.prototype.setAll=function(){this.disabled()||(this._setAllValues(!0),this.updateValue())},s.prototype.setNone=function(){this.disabled()||(this._setAllValues(!1),this.updateValue())},s.prototype.updateModel=function(e){e=e||"None";-1!==e.indexOf("All")?this._setAllValues(!0):-1!==e.indexOf("None")?this._setAllValues(!1):(this.left(-1!==e.indexOf("Left")),this.top(-1!==e.indexOf("Top")),this.right(-1!==e.indexOf("Right")),this.bottom(-1!==e.indexOf("Bottom")))},s.prototype.updateValue=function(){var e=[];this.left()&&this.right()&&this.top()&&this.bottom()?e.push("All"):this.left()||this.right()||this.top()||this.bottom()?(this.left()&&e.push("Left"),this.right()&&e.push("Right"),this.top()&&e.push("Top"),this.bottom()&&e.push("Bottom")):e.push("None"),this.value(e.join(","))},s);function s(e,t){void 0===t&&(t=a.observable(!1));var r=n.call(this)||this;return r.left=a.observable(!1),r.right=a.observable(!1),r.top=a.observable(!1),r.bottom=a.observable(!1),r.disabled=t,r.value=e.value,r.updateModel(e.value()),r._disposables.push(e.value.subscribe(function(e){r.updateModel(e)})),r}t.BordersModel=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(2),u=r(22),l=r(45),d=r(3),o=(n=s.Disposable,o(c,n),c.prototype._resetProperty=function(e){var t;this[e].resetValue?this[e].resetValue():(t=this.getPropertyDefaultValue(e),a.isObservable(this[e])?this[e](t):u.copyObservables(t,this[e]))},c.prototype.getPropertyDefaultValue=function(e){e=this.getPropertyInfo(e);return a.unwrap(e&&(new l.ModelSerializer).deserializeDefaultValue(e))},c.prototype.getPropertyInfo=function(t){return this.getInfo().filter(function(e){return e.propertyName===t})[0]},c.prototype.getInfo=function(){return this.getControlFactory().controlsMap[this.controlType].info},c.prototype.createControl=function(e,t){return this.getControlFactory().createControl(e,this,t)},c.prototype.dispose=function(){n.prototype.dispose.call(this),this.surface&&this.surface.dispose()},c.prototype.preInitProperties=function(e,t,r){},c.prototype.getNearestParent=function(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel())},c.prototype.getControlInfo=function(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]},c.prototype.getMetaData=function(){var e=this.controlType||"Unknown",e=this.getControlFactory().controlsMap[e];return{isContainer:e.isContainer||!1,isCopyDeny:e.isCopyDeny||!1,isDeleteDeny:e.isDeleteDeny||!1,canDrop:e.canDrop||function(){return!0},isPasteDeny:e.isPasteDeny||!e.isContainer}},c.prototype._hasModifiedValue=function(e){return this["_"+e]&&this["_"+e]()&&this.isPropertyModified(e)},c.prototype.createChild=function(e){e=this.getControlFactory().createControl(e,this);return this.addChild(e),e},c.prototype.removeChilds=function(e){if(this.controls){for(var t=this.controls(),r=0;r<e.length;r++)t.splice(t.indexOf(e[r]),1);this.controls.valueHasMutated()}},c.prototype.addChilds=function(e){if(this.controls){for(var t=this.controls(),r=0;r<e.length;r++)t.splice(0,0,e[r]);this.controls.valueHasMutated()}},c.prototype.removeChild=function(e){this.controls&&this.controls.splice(this.controls().indexOf(e),1)},c.prototype.addChild=function(e){this.controls&&-1===this.controls().indexOf(e)&&(e.parentModel(this),this.controls.splice(0,0,e))},c.prototype.isPropertyVisible=function(e){return!0},c.prototype.isPropertyDisabled=function(e){return!1},c.prototype.isPropertyModified=function(e){var t=this["_"+e]?"_"+e:e;if(this[t].isPropertyModified)return this[t].isPropertyModified();if(this[t].isEmpty)return!this[t].isEmpty();e=this.getPropertyDefaultValue(e),t=a.unwrap(this[t]);return e instanceof Object?!u.compareObjects(e,t):e!==t},c.prototype.getControlFactory=function(){throw Error("Virtual method getControlFactory")},c.prototype.isResettableProperty=function(e){return-1===["name","size","location"].indexOf(e)},Object.defineProperty(c.prototype,"root",{get:function(){for(var e=this;e&&e.parentModel();)e=e.parentModel();return e},enumerable:!0,configurable:!0}),c.prototype.rtl=function(){return!1},c);function c(e,t,r){var i=n.call(this)||this;return i.actions=[],i.actionProviders=[],i.update=a.observable(!1),i.preInitProperties(e,t,r),i.parentModel=a.observable(t),i.controlType=i.controlType||i.getControlFactory().getControlType(e),(r=r||new l.ModelSerializer).deserialize(i,e),i._disposables.push(i.displayName=a.pureComputed(function(){return i.name&&i.name()||"unnamed "+i.controlType})),i.resetValue=function(e){i._resetProperty(e)},i.actions.push({action:i.resetValue,id:"dxd-reset",title:d.getLocalization("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:i.isResettableProperty,weight:1e3}),i}t.ElementViewModel=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(2),u=r(21),l=r(3),d=r(5),c=(n=s.Disposable,o(p,n),p);function p(e,t,r,i){void 0===i&&(i="");var o=n.call(this)||this;return o.collapsed=a.observable(!0),o.selected=a.observable(!1),o._disposables.push(o.value=a.computed({read:function(){return t.peek()[r()]},write:function(e){t.peek()[r()]=e}})),o.editor=e,o.index=r,o._disposables.push(o.name=a.computed(function(){return i&&o.value()&&o.value()[i]?a.unwrap(o.value()[i]):r()})),o}t.CollectionItemWrapper=c;var h,o=(h=s.Disposable,o(f,h),f.prototype.dispose=function(){h.prototype.dispose.call(this),this.removeProperties()},f.prototype._move=function(e,t){var r;0<=this.selectedIndex()&&((t=(r=this.selectedIndex())+t)>=e().length||t<0||(e.splice(t,0,e.splice(r,1)[0]),this.selectedIndex(t)))},f.prototype._setSelectedIndex=function(e){e=this.values().indexOf(e);this.selectedIndex(-1===e?null:e)},f.prototype.getDisplayTextButton=function(e){return l.getLocalization(this.buttonMap[e].text,this.buttonMap[e].localizationId)},f.prototype.getDisplayTextEmptyArray=function(){return l.getLocalization(this._textEmptyArray.text,this._textEmptyArray.localizationId)},f.prototype.createCollectionItemWrapper=function(e,t,r){var i=new c(e,this.values,t,this.displayPropertyName);return d.addDisposeCallback(r,function(){return i.dispose()}),i},f);function f(r,i){void 0===i&&(i=a.observable(!1));var o=h.call(this)||this;o.buttonMap={delete:{text:"Delete",localizationId:"AnalyticsCoreStringId.Cmd_Delete"},add:{text:"Add",localizationId:"DataAccessUIStringId.Button_Add"},down:{text:"Move Down",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}},o.selectedIndex=a.observable(null),o.alwaysShow=a.observable(!1),o.collapsed=a.observable(!1!==r.collapsed);var n=r.addHandler||r.info&&r.info()&&r.info().addHandler,e=r.hideButtons||r.info&&r.info()&&r.info().hideButtons;o._textEmptyArray=r.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},o.displayPropertyName=r.info&&r.info()&&r.info().displayPropertyName||r.displayName,o._disposables.push(o.showButtons=a.computed(function(){return!a.unwrap(e)&&!o.collapsed()})),o.showScroll=!!r.showScroll;o.isDisabledButton=function(e){return i()||(t=o.selectedIndex(),e=e,r.isDisabledButton?r.isDisabledButton(t,e):"delete"===e?null===t:"add"!==e&&("up"===e?null===t||0===t:"down"===e?null===t||t===o.values().length-1:void 0));var t},o.isVisibleButton=function(e){return!!o.showButtons()&&(!r.isVisibleButton||r.isVisibleButton(o.selectedIndex(),e))},o.padding=void 0!==r.level?r.level*u.propertiesGridEditorsPaddingLeft:0,o.displayName=r.info&&r.info()?l.getLocalization(r.info().displayName,r.info().localizationId):r.displayName,(o.options=r).displayName||(o.collapsed(!1),o.alwaysShow(!0)),r.alwaysShow&&o.alwaysShow(!0),o._disposables.push(o.values=a.computed(function(){return a.unwrap(r.values())}));var t=a.unwrap(r.selectedItem);return t&&(o._setSelectedIndex(t),o._disposables.push(r.selectedItem.subscribe(function(e){o._setSelectedIndex(e)}))),o.add=function(e){e.event.stopPropagation(),r.undoEngine&&r.undoEngine().start();var t,e=n();e&&(t=r.values().push(e),r.undoEngine&&r.undoEngine().end(),r.selectedItem&&o.select({index:function(){return t-1}}))},o.up=function(e){o._move(r.values(),-1),e.event.stopPropagation()},o.down=function(e){o._move(r.values(),1),e.event.stopPropagation()},o.remove=function(e){var t;e.event.stopPropagation(),o.selectedIndex()<0||(r.values().splice(o.selectedIndex(),1),0<(t=r.values()().length)?o.select({index:function(){return o.selectedIndex()>=t?t-1:o.selectedIndex()}},!0):o.select({index:function(){return null}},!0))},o.select=function(e,t){void 0===t&&(t=!1),o.selectedIndex()===e.index()&&!t||(o.selectedIndex(e.index()),r.selectedItem&&r.selectedItem(null!==o.selectedIndex()?o.values()[o.selectedIndex()]:null))},o.disabled=i,o}t.CollectionEditorViewModel=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(1),u=r(7),l=r(143),d=r(46),r="dx-ellipsiseditor",c="dx-ellipsiseditor-warning",o=(n=l.default,o(p,n),p.prototype._init=function(){n.prototype._init.call(this),this._$element||(this._$element=s(this.element())),this._$element.addClass("dx-ellipsiseditor dx-dropdowneditor"),this._koContext=a.contextFor(this._$element.get(0))},p.prototype._render=function(){n.prototype._render.call(this),this._renderButton(),this._updateWarningState()},p.prototype._updateWarningState=function(e){void 0===e&&(e=this.option("warningMessage")),e?(this._$element.attr("title",e),this._$element.addClass(c)):(this._$element.removeAttr("title"),this._$element.removeClass(c))},p.prototype._renderButton=function(){this._$button=s("<div />").addClass("dx-ellipsiseditor-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button"),this._attachButtonEvents(),this._$buttonIcon=s("<div />").addClass("dx-ellipsiseditor-icon dx-ellipsis-image dx-dropdowneditor-icon").height("100%").append(u.SvgTemplatesEngine.templates["dxrd-svg-ellipsis"]).appendTo(this._$button),a.applyBindingsToDescendants(this._koContext,this._$buttonIcon[0]);var e=n.prototype._buttonsContainer.call(this);this._$button.prependTo(e)},p.prototype._updateButtonSize=function(){this._$buttonIcon.height(s(this.element()).height())},p.prototype._attachButtonEvents=function(){var t=this,e=[];this._$input||(this._$input=s(this._input())),this._$button.off("click"),this._$input.off("click"),this.option("disabled")||e.push(this._$button),this.option("openOnFieldClick")&&e.push(this._$input),e.forEach(function(e){e.on("click",function(e){t.option("buttonAction")&&(t.option("buttonAction")(),e.stopPropagation())})})},p.prototype._optionChanged=function(e){switch(e.name){case"disabled":this._attachButtonEvents();break;case"warningMessage":this._updateWarningState(e.value)}n.prototype._optionChanged.apply(this,arguments)},p);function p(e,t){return n.call(this,e,t)||this}t.dxEllipsisEditor=o,d.default("dxEllipsisEditor",o)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(110);r.default&&r.default.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,r){var i=e("../lib/oop"),e=e("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},o.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};i.inherits(o,e),o.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},o.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=o})},function(e,t){e.exports={default:window.ace}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var d,c=r(0),n=r(1),a=r(2),p=r(9),h=r(58),f=r(3),s=r(34),u=r(14),v=r(57),o=(d=a.Disposable,o(l,d),l.prototype._generateTab=function(e,t,r,i,o,n){return void 0===t&&(t=null),{templateName:t,width:r||"30%",content:e,click:i,dblclick:o,visible:n||!0}},l.prototype._localizedExpressionEditorItem=function(e){return e.descriptionStringId?f.getLocalization(e.text,e.descriptionStringId):e.description||e.text},l.prototype._initDescription=function(e){e.description=this._localizedExpressionEditorItem(e)},l.prototype._createFieldsCategory=function(e,t){return{displayName:f.getLocalization("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:c.observable(!1),data:{fields:e,parameters:t},name:"dx-expressioneditor-fields"},dispose:function(){}}},l.prototype._createConstantCategory=function(){return s.createExpressionEditorCollectionToolOptions([{text:"?",descriptionStringId:"ExpressionEditorStringId.Constant_Null"},{text:"False",descriptionStringId:"ExpressionEditorStringId.Constant_False"},{text:"True",descriptionStringId:"ExpressionEditorStringId.Constant_True"}],"Constants","DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants",!0)},l.prototype._createOperatorsCategory=function(e){return s.createExpressionEditorCollectionToolOptions(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)},l.prototype._createFunctionsCategoryContent=function(e,t,r){return{showDescription:!0,isSelected:t,data:{textToSearch:e,items:r,availableItems:c.observableArray(r),selectedItem:c.observable(null)},name:"dx-expressioneditor-collection-function"}},l.prototype._createFunctionsCategoryItem=function(e,t){var r=this,i={display:t,isSelected:c.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return n.map(e,function(e){e&&e.forEach(function(e){r._initDescription(e),i.data.push(e)})}),i},l.prototype._createFunctionsCategory=function(e){var r=c.observable(""),t=[],i=c.observable(!1),o=null,n=c.computed(function(){return[].concat.apply([],e().map(function(e){return e.data}))}),a=this._createFunctionsCategoryContent(r,i,n()),s={displayName:f.getLocalization("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:e,allItems:n,isSelected:i,content:a,collapsed:c.observable(!0),updateContent:function(e,t){a.isSelected&&a.isSelected(!1),a.isSelected=t,a.isSelected(!0),a.data.items=e,a.data.availableItems(a.data.items.filter(function(e){return!!u.findMatchesInString(e.text,r())}))},templateName:"dx-expressioneditor-category-accordion",dispose:function(){t.forEach(function(e){return e.dispose()}),t.splice(0,t.length)}};return t.push(n),t.push(r.subscribe(function(t){o&&clearTimeout(o),o=setTimeout(function(){s.content.data.availableItems(s.content.data.items.filter(function(e){return!!u.findMatchesInString(e.text,t)}))},150)})),s},l.prototype._disposeCategories=function(){this._categories().forEach(function(e){return e.dispose&&e.dispose()})},l.prototype.dispose=function(){d.prototype.dispose.call(this),this._disposeCategories()},l);function l(r,i,e,o){var n=d.call(this)||this;n.searchPlaceholder=function(){return p.searchPlaceholder()},n._categories=c.observableArray([]),n.toolBox=[],n.description=c.observable(),n._defaultClick=r,h.operatorNames.filter(function(e){return!!e.descriptionStringId}).forEach(function(e){return n._initDescription(e)});function a(){var e=n._categories()[0].content;l()&&l().isSelected(!1),l(e),e.isSelected(!0)}function t(e){n._disposeCategories();var t=[n._createFieldsCategory(o,i),n._createConstantCategory(),n._createFunctionsCategory(u),n._createOperatorsCategory(h.operatorNames)];e&&e.customizeCategories&&e.customizeCategories(n,t,r),n._categories(t),a()}var s=c.computed(function(){return e()&&c.unwrap(e().functions)||v.functionDisplay()}),u=c.computed(function(){return s().map(function(e){return n._createFunctionsCategoryItem(e.items,f.getLocalization(e.display,e.localizationId))})}),l=c.observable(null);return n.resetCategoriesSelection=a,[s,u].forEach(function(e){return n._disposables.push(e)}),n._disposables.push(e.subscribe(function(e){t(e)})),t(e()),n._disposables.push(n.showDescription=c.computed(function(){return l()&&l().showDescription})),n.toolBox=[n._generateTab(n._categories,"dx-expressioneditor-categories","170px",function(e){var t;e.data&&e.data.selectedItem&&e.data.selectedItem()&&-1!==e.data.items.indexOf(e.data.selectedItem())?(t=e.data.selectedItem(),n.description(n._localizedExpressionEditorItem(t))):n.description(void 0),l()!==e&&(l().isSelected(!1),e.isSelected(!0),l(e))}),n._generateTab(l,"dx-expressioneditor-selectedcontent",c.computed(function(){return n.showDescription()?"248px":"435px"}),function(e){n.description(n._localizedExpressionEditorItem(e))},n._defaultClick),n._generateTab(n.description,"dx-expressioneditor-description",void 0,void 0,void 0,n.showDescription)],n}t.Tools=o},function(e,o,t){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(o,"__esModule",{value:!0});var a=t(0),s=t(1),n=t(3),u=t(2),l=t(7),d=t(26),c=t(52),p=t(113),t=t(5);o.maxSearchLevel=t.createGlobalModuleVariableFunc(5),o.treeListEditAction={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:s.noop,displayText:function(){return n.getLocalization("Edit","AnalyticsCoreStringId.Group_Edit")}};var h=(f.prototype.createRootItem=function(e,t,r,i){return new _(e,t,r,i)},f.prototype.createItem=function(e,t,r,i,o){return new x(e,t,r,i,o)},f);function f(){}o.DefaultTreeListItemFactory=h;var v=(g.prototype.renderNext=function(){this._availableItemsCount(this._availableItemsCount()+this.pageSize)},g);function g(e,t,r){this._availableItemsCount=e,this.padding=t,this.pageSize=r,this.templateName="dx-treelist-item-ellipsis",this.collapsed=function(){return!0},this.visibleItems=function(){return[]},this.text=function(){return n.getLocalization("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")}}o.TreeListEllipsisButton=v;var m,x=(m=u.Disposable,r(y,m),y.prototype._equal=function(t,r){var i=["innerActions","noDragable","dragData"];return r===t||Object.keys(r).filter(function(e){return-1===i.indexOf(e)}).every(function(e){return r[e]===t[e]})},y.prototype._getImageClassName=function(e){var t=this;return a.computed(function(){return"dx-image-fieldlist-"+t._iconName()+(e?"":" dx-treelist-image-empty")})},y.prototype._getImageTemplateName=function(){var t=this;return a.computed(function(){var e="dxrd-svg-fieldlist-"+t._iconName();return l.SvgTemplatesEngine.getExistingTemplate(e)})},y.prototype._getNodeImageClassName=function(){var e=this,t=a.observable("dx-collapsing-image");return a.computed({read:function(){return e.hasItems?e.collapsed()?"dx-collapsing-image":t():"dx-image-leaf-node"},write:function(e){t(e)}})},y.prototype._createItemsObj=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].name]={item:e[r],index:r};return t},y.prototype._loadItems=function(p,h){var f=this;void 0===h&&(h=!1);var v=s.Deferred();this._loader&&this._loader.dispose(),this._disposables.reverse().forEach(function(e){return e.dispose&&e.dispose()}),this._disposables.splice(0);var e=a.observable(),t=e.subscribe(function(e){e&&e.done(function(e){if(f.isDisposing)v.reject();else{for(var e=e,i=f.items.peek(),o=f._createItemsObj(e),n=!1,t=0,r=[].concat.apply([],i),a=0;a<r.length;a++)o[r[a].data.name]||(r[a].dispose(),i.splice(a-t,1),t++,n=!0);var s=f._createItemsObj(i),u=!1,l=!f._treeListController.showIconsForChildItems||f._treeListController.showIconsForChildItems(f);e.forEach(function(e,t){var r=s[e.name];r?(f._equal(e,r.item.data)||(r.item.data=e),u=u||r.index!==t):(n=!0,(r=f._factory.createItem(p,f.pathParts,f._onItemsVisibilityChanged,f._rtl,f.resolver)).data=e,r.level=f.level+1,r.parent=f,r.padding=f._applyPadding(f._rtl?"right":"left",20*r.level+12),r.imageClassName=r._getImageClassName(l),r.imageTemplateName=r._getImageTemplateName(),i.splice(t,0,r),s[e.name]={item:r,index:t})}),u&&(e=i.reduce(function(e,t,r){t=Math.abs(r-(o[t.data.name]?o[t.data.name].index:-1));return!e||e.max<t?{max:t,index:r}:e},null).index,d=i[e],i.splice(e,1),i.splice(o[d.data.name]?o[d.data.name].index:-1,0,d),n=!0),s=o=null,n&&(f.items.valueHasMutated(),f._onItemsChanged()),f.collapsed()&&!h||f.items().forEach(function(e){e._treeListController.hasItems(e.data)&&e._loadItems(p)}),f.nodeImageClass(f.items.peek().some(function(e){return e.visible})?"dx-collapsing-image dx-image-expanded":"dx-image-leaf-node"),v.resolve(f.items.peek());var d,c=p.selectedPath.peek();!c||(d=f.items.peek().filter(function(e){return 0===c.indexOf(e.path)})[0])&&f._selectItem(d.name+c.substring(d.path.length))}})});return this._disposables.push({dispose:function(){t.dispose(),e(null)}}),this._disposables.push(this._loader=a.computed(function(){e(p.itemsProvider.getItems(new d.PathRequest(f.path,f.pathParts)))})),v.promise()},y.prototype._onItemsChanged=function(){},y.prototype._getTemplateName=function(){return this._templateName||this.data&&this.data.templateName||"dx-treelist-item"},y.prototype._selectItem=function(e){var t,r=this;this.hasItems&&(t=function(){r._find(e),r.collapsed.peek()&&r.toggleCollapsed()},0===this.items.peek().length?this.getItems().done(function(e){t()}):t())},y.prototype._find=function(t){var e=t&&this.items.peek().filter(function(e){return t===e.name||0===t.indexOf(e.name)&&"."===t[e.name.length]})[0];e&&(t.length>e.name.length?e._selectItem(t.substr(e.name.length+1)):this._treeListController.select(e))},y.prototype._getItemsWithLock=function(){var t=this,r=s.Deferred();return this._nodeIsLocked?r.reject().promise():(this._nodeIsLocked=!0,this.getItems().done(function(e){t._nodeIsLocked=!1,r.resolve(e)}).fail(function(){t._nodeIsLocked=!1,r.reject()}),r.promise())},y.prototype._applyPadding=function(e,t){var r={};return r["padding-"+e]=t,r},y.prototype._initPaginate=function(){var t=this;-1!==this._pageSize&&(this.maxItemsCount=a.observable(this._pageSize),this.visibleItems=a.computed(function(){if(0===t.items().length)return[];var e=t.items().filter(function(e){return e._isVisible.peek()});return e.length>t.maxItemsCount()&&(e=e.slice(0,t.maxItemsCount())).push(new v(t.maxItemsCount,e[0].padding,t._pageSize)),e}))},Object.defineProperty(y.prototype,"hasItems",{get:function(){if(!this.data)return!0;var e=this._treeListController.hasItems(this.data);return p.LoadChildItemsForCollapsedNodes()?e&&this.items().some(function(e){return e.visible}):e},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"data",{get:function(){return this._data()},set:function(e){var t=this;this._data(e),this._actionsSubscription&&this._actionsSubscription.dispose(),this._actionsSubscription=a.computed(function(){t._actions(t._treeListController&&t._treeListController.getActions?t._treeListController.getActions(t):[])})},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"name",{get:function(){return a.unwrap(this.data&&this.data.name)},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"path",{get:function(){return this.pathParts.join(".")},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"pathParts",{get:function(){return this.name?(a.unwrap(this._path)||[]).concat([this.name]):a.unwrap(this._path)},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"text",{get:function(){return this.data&&this.data.displayName},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"templateName",{get:function(){return this._getTemplateName()},enumerable:!0,configurable:!0}),y.prototype.actionsTemplate=function(){return this.data&&a.unwrap(this.data.actionsTemplate)||"dx-treelist-item-actions-with-edit"},y.prototype.treeListEditAction=function(){return o.treeListEditAction},Object.defineProperty(y.prototype,"hasContent",{get:function(){return this.data&&this.data.contenttemplate},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"actions",{get:function(){return this._actions()},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"isDraggable",{get:function(){return this.data&&this.data.dragData?!this.data.dragData.noDragable:!!this._treeListController.isDraggable&&this._treeListController.isDraggable(this)},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"treeListController",{get:function(){return this._treeListController},enumerable:!0,configurable:!0}),y.prototype.dispose=function(){m.prototype.dispose.call(this),this._actions([]),this.visibleItems&&this.visibleItems.dispose(),this._actionsSubscription&&this._actionsSubscription.dispose(),this.disposeObservableArray(this.items),this.resetObservableArray(this.items),this.parent=null},Object.defineProperty(y.prototype,"visible",{get:function(){return!(this.data&&this._treeListController.itemsFilter&&!this._treeListController.itemsFilter(this.data,this.path))&&this._isVisible()},enumerable:!0,configurable:!0}),y.prototype.setVisible=function(e){this._isVisible(e),e&&this.parent&&!this.parent.visible&&this.parent.setVisible(!0)},y.prototype.mouseenter=function(){this.isHovered(!0)},y.prototype.mouseleave=function(){this.isHovered(!1)},y.prototype.selectedItems=function(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]},y);function y(r,e,t,i,o){void 0===e&&(e=[]),void 0===t&&(t=s.noop),void 0===i&&(i=!1),void 0===o&&(o=new c.CodeResolver);var n=m.call(this)||this;return n.resolver=o,n._rtl=!1,n._data=a.observable(null),n._actions=a.observable([]),n._isVisible=a.observable(!0),n._pageSize=-1,n._actionsSubscription=null,n._iconName=function(){return(a.unwrap(n.data&&n.data.icon||n.data&&n.data.specifics)||"default").toLowerCase()},n._nodeIsLocked=!1,n.level=-1,n.items=a.observableArray(),n.collapsed=a.observable(!0),n.isSelected=a.observable(!1),n.isHovered=a.observable(!1),n.isMultiSelected=a.observable(!1),n._pageSize=r.pageSize||-1,n._path=e,n._rtl=i,n._factory=r.factory||new h,n._treeListController=r.treeListController,n._templateName=r.templateName,n._onItemsVisibilityChanged=t,n.dragDropHandler=r.treeListController.dragDropHandler,n.getItems=function(){return 0<n.items().length?s.Deferred().resolve(n.items()).promise():n._loadItems(r)},n._initPaginate(),n.toggleSelected=function(e,t){(t.shiftKey||t.ctrlKey)&&0<n.selectedItems().length&&n._treeListController.canMultiSelect&&n._treeListController.canMultiSelect(n)?(r.selectedPath(""),n._treeListController.multiSelect(n,t.shiftKey,t.ctrlKey)):n._treeListController.canSelect(n)&&(r.treeListController.clickHandler&&r.treeListController.clickHandler(n),r.selectedPath(n.path))},r.treeListController.dblClickHandler&&(n.dblClickHandler=function(e){r.treeListController.dblClickHandler&&r.treeListController.dblClickHandler(e)}),n.toggleCollapsed=function(){n.hasItems&&(n.collapsed(!n.collapsed.peek()),n.collapsed.peek()||0!==n.items().length?p.LoadChildItemsForCollapsedNodes()&&(n.items().forEach(function(e){e._treeListController.hasItems(e.data)&&0===e.items().length&&e._loadItems(r)}),t()):n._loadItems(r,p.LoadChildItemsForCollapsedNodes()).always(function(){t()}))},n.nodeImageClass=n._getNodeImageClassName(),n}o.TreeListItemViewModel=x;var b,_=(r(C,b=x),C.prototype.dispose=function(){b.prototype.dispose.call(this),this._resolver.clear(),this._selectedPathSubscription&&(this._selectedPathSubscription.dispose(),this._selectedPathSubscription=null)},C.prototype.walkOnTree=function(e){var t=this;return this._resolver.clear(),this._visitNextNode(this,e),-1!=this._pageSize&&this._resolver.doneOnce(function(){return t.items.valueHasMutated()}),{stop:function(){return t._resolver.clear()}}},C.prototype._visitNextNode=function(e,t){var r,i=this;if(void 0===t&&(t=function(e){}),e.data&&!e.data.specifics)throw new Error("Specific should be set");e.level>=o.maxSearchLevel()||(r=null,0<e.items().length?r=function(){return e.items().forEach(function(e){t(e),i._visitNextNode(e,t)})}:e.data&&!e.treeListController.hasItems(e.data)||(r=function(){return e._getItemsWithLock().done(function(e){e.forEach(function(e){t(e),i._visitNextNode(e,t)})})}),r&&this._resolver.execute(r,1))},C.prototype._onItemsChanged=function(){this._options.expandRootItems&&this.items().forEach(function(e){e.collapsed(!1)})},C);function C(e,t,r,i){void 0===t&&(t=[]),void 0===r&&(r=s.noop),void 0===i&&(i=!1);var o=b.call(this,e,t,r,i)||this;return o._options=e,o._resolver=new c.CodeResolver,o._selectedPathSubscription=null,o.resolver.done(function(){r()}),o._selectedPathSubscription=e.selectedPath.subscribe(function(e){o._selectItem(o.path?e.substr(o.path.length+1):e)}),o._selectItem(o.path?o.path+"."+e.selectedPath():e.selectedPath()),o}o.TreeListRootItemViewModel=_},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r=r(5);t.LoadChildItemsForCollapsedNodes=r.createGlobalModuleVariableFunc(!0)},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),u=r(1),n=r(14),a=r(2),l=r(7),d=r(9),r=function(){this.globalMatch=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=n.SearchMode.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"};t.TreeListSearchOptions=r;var c,o=(c=a.Disposable,o(p,c),p.createController=function(e,t,r,i){void 0===r&&(r=p),void 0===i&&(i="dx-treelist-search-panel");var o=new r,r=u(e),n=[];t.forEach(function(e){e&&(e.root=e.root||s.observable(),n.push(e.root.subscribe(function(e){o.addController(e),o.valueChanged("")})))});i=l.getTemplate(i);r.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),r.children().remove(),r.append(i),s.cleanNode(r.children()[0]),s.applyBindings(o,r.children()[0]);var a=function(){o&&o.dispose(),n.forEach(function(e){return e.dispose()}),s.utils.domNodeDisposal.removeDisposeCallback(e,a)};s.utils.domNodeDisposal.addDisposeCallback(e,a)},p.prototype.dispose=function(){c.prototype.dispose.call(this),this.clearProcess()},p.prototype.clearProcess=function(){this._currentProcess.forEach(function(e){return e.stop&&e.stop()}),this._currentProcess=[],this._processedNodes=[]},p.prototype.valueChanged=function(i){var o=this;i||this._processedNodes.forEach(function(e){return e.setVisible(!0)}),this.clearProcess(),this._roots.forEach(function(r){r.treeListController.textToSearch(i),o._currentProcess.push(r.walkOnTree(function(e){var t;i&&(t=n.findMatchesInString(e.data[r.treeListController.searchOptions.searchExpr],i,r.treeListController.searchOptions),o._processedNodes.push(e),e.setVisible(!!t),t&&o._collapseTreeBranch(e))}))})},p.prototype._collapseTreeBranch=function(e){e.parent&&(e.parent.collapsed()&&e.parent.toggleCollapsed(),this._collapseTreeBranch(e.parent))},p.prototype.addController=function(e){this._roots=this._roots.filter(function(e){return!e.isDisposing}),e.treeListController.textToSearch=e.treeListController.textToSearch||s.observable(""),-1===this._roots.indexOf(e)&&this._roots.push(e),this.searchTimeout=Math.max.apply(Math,this._roots.map(function(e){return e.treeListController.searchOptions.searchTimeout}))||500},p);function p(){var t=c.call(this)||this;t._processedNodes=[],t._currentProcess=[],t.searchTimeout=500,t._roots=[],t.searchPlaceholder=function(){return d.searchPlaceholder()};var r=s.observable(""),i=null;return t._disposables.push(t.value=s.computed({read:function(){return r()},write:function(e){clearTimeout(i),i=setTimeout(function(){r(e)},t.searchTimeout)}})),t._disposables.push(t.value.subscribe(function(e){return t.valueChanged(e)})),t}t.TreeListSearchViewModel=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),r=(o.prototype._updateActions=function(t){var r=this;this._popupService.data(null),t&&(this._popupService.subscription=this._popupService.visible.subscribe(function(e){r.target.isSelected(e)}),this._popupService.viewModel=t,this._popupService.data({data:i.unwrap(t[this.propertyName]),template:this.popupContentTemplate,click:function(e){t[r._action](e),r._popupService.visible(!1)}}))},o);function o(e,t,r,i,o){var n=this;this.showPopup=function(e,t){n._popupService.subscription&&n._popupService.subscription.dispose(),n._popupService.title(""),n.target.isSelected(!0),n._updateActions(n.target),n._popupService.target(t),setTimeout(function(){n._popupService.visible(!0)},10)},this.popupContentTemplate="dx-filtereditor-popup-common",this.target=e,this._action=r,this.propertyName=i,this._popupService=t,this.popupContentTemplate=o||this.popupContentTemplate}t.FilterEditorAddOn=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=r(13),n=r(28),a=r(10),s=r(39),u=r(12),l=r(11),d=r(15);(r=i=t.CriteriaSurfaceValidatorState||(t.CriteriaSurfaceValidatorState={}))[r.Left=0]="Left",r[r.Right=1]="Right",r[r.Unary=2]="Unary";c.prototype.customValidate=function(e,t){return!1},c.prototype.checkLeftPart=function(e){return e instanceof o.OperandProperty||this.customValidate(e,i.Left)},c.prototype._checkRightPart=function(e){return e instanceof o.OperandProperty||e instanceof n.OperandParameter||e instanceof a.OperandValue||e instanceof s.ConstantValue||e instanceof u.UnaryOperator&&this._checkRightPart(e.operand)||this.customValidate(e,i.Right)},c.prototype.checkRightPart=function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(!this._checkRightPart(e[t]))return!1;return!0}return this._checkRightPart(e)},c.prototype.aggregateIsValid=function(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||(e.aggregatedExpression instanceof o.OperandProperty||this.validateModel(e.aggregatedExpression)))},c.prototype.commonOperandValid=function(e){return e.leftPart instanceof l.AggregateOperand?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)},c.prototype.groupIsValid=function(e){for(var t=0;t<e.operands.length;t++)if(!this.validateModel(e.operands[t]))return!1;return!0},c.prototype.unaryIsValid=function(e){return e.operand instanceof o.OperandProperty||this.validateModel(e.operand)||this.customValidate(e.operand,i.Unary)},c.prototype.validateModel=function(e){return e instanceof l.AggregateOperand?this.aggregateIsValid(e):e instanceof d.GroupOperator?this.groupIsValid(e):e instanceof u.UnaryOperator?this.unaryIsValid(e):this.commonOperandValid(e)},r=c;function c(){}t.CriteriaSurfaceValidator=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,r=r(35),o=(n=r.TreeListController,o(a,n),a.prototype.itemsFilter=function(e){return!0},a.prototype.hasItems=function(e){return"none"!==e.specifics&&"List"!==e.specifics&&!0===e.isList},a.prototype.canSelect=function(e){return!e.data.isList||!0===e.data.isList&&"List"===e.data.specifics},a.prototype.select=function(e){this.canSelect(e)&&(this.selectedItem(e.data),e.isSelected(!0))},a);function a(e){var t=n.call(this)||this;return t.selectedItem=e,t}t.FilterEditorTreeListController=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s,n=r(41),u=r(74),l=r(16),d=r(11),o=(s=n.CodeCompletor,o(a,s),a.prototype.getFunctionsCompletions=function(){var t=[];return this.filterEditorAvailable.functions.forEach(function(e){t.push(n.createFunctionCompletion({text:e.name,paramCount:e.insertVal.split(",").length},e.insertVal,e.insertVal))}),t},a.prototype.getAggregateCompletions=function(){var t=[];return this.filterEditorAvailable.aggregate.forEach(function(e){t.push(n.createFunctionCompletion({text:e.name,paramCount:0},e.insertVal,e.insertVal))}),t},a.prototype.getOperatorCompletions=function(t){var r=[];return this.filterEditorAvailable.operators.forEach(function(e){r.push(e.insertVal.match(new RegExp("[(][^()]*[)]","g"))?n.createFunctionCompletion({text:e.name,paramCount:e.paramCount||e.insertVal.split(",").length},e.insertVal,e.insertVal):{caption:e.insertVal,snippet:t+e.insertVal,meta:"operator"})}),r},a);function a(e){var e=s.call(this,e)||this,t=new u.FilterEditorHelper,o=[],n=[],a=[];return Object.keys(t.filterEditorOperators).forEach(function(e){t.filterEditorOperators[e].forEach(function(e){var t,r,i;e.insertVal&&(t=e.name,r=e.insertVal,i=e.paramCount,e.type===l.FunctionOperatorType&&0===o.filter(function(e){return e.name===t}).length?o.push({name:t,insertVal:r}):e.type===d.Aggregate&&0===n.filter(function(e){return e.name===t}).length?n.push({name:t,insertVal:r}):e.type!==d.Aggregate&&e.type!==l.FunctionOperatorType&&0===a.filter(function(e){return e.name===t}).length&&a.push({name:t,insertVal:r,paramCount:i}))})}),e.filterEditorAvailable={operators:a,aggregate:n,functions:o},e}t.FilterEditorCodeCompletor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(36),o=(n=r.OperandSurfaceBase,o(s,n),Object.defineProperty(s.prototype,"items",{get:function(){return this.getConvertableParameters(this.specifics())},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"displayType",{get:function(){return null},enumerable:!0,configurable:!0}),s);function s(e,t,r,i){var o=n.call(this,e,t,r,i)||this;return o.changeParameter=function(e){o.model.parameterName=e.name,o.parameterName(e.name),o.helper.onChange()},o.operatorClass="criteria-operator-item-parameter dxd-filter-editor-parameter-back-color dxd-filter-editor-text-color",o.parameterName=a.observable(""),o.templateName="dx-filtereditor-parameter",o.specifics=t.specifics,o.parameterName(e.parameterName),o}t.OperandParameterSurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(0),n=r(36),u=r(25),l=r(12),d=r(19),c=r(9),p=r(75),h=r(26),f=r(3),v=r(40),g=r(144),o=(a=n.OperandSurfaceBase,o(m,a),Object.defineProperty(m.prototype,"items",{get:function(){return this.values()},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"displayType",{get:function(){return null},enumerable:!0,configurable:!0}),m.prototype.isDefaultDisplay=function(){return this.value()===this.getDefaultValue()},m.prototype.getDefaultValue=function(){return m._defaultValue||(m._defaultValue=f.getLocalization("Enter a value","StringId.FilterEmptyEnter"))},m);function m(t,e,r,i){var o=a.call(this,t,e,r,i)||this;o._value=s.observable(null),o._updateDate=function(e){"date"===e?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},o.changeValue=function(){var e=o.getRealParent(o.parent),t=o.getRealProperty(o),r=o.getPropertyName(e,t),t=e.model.changeValue(o.model,o.reverse,r);null!==r.index?(e[r.name]()[r.index].dispose(),e[r.name].splice(r.index,1,e.createChildSurface(t))):(e[r.name]().dispose(),e[r.name](e.createChildSurface(t)))},o.dataType=s.observable(""),o.values=s.observable([]),o.isEditable=s.observable(!1),o.templateName="dx-filtereditor-value",o.getNumberEditorOptions=function(){return v.ValueEditorHelper.getNumberEditorOptions(o.dataType(),o.specifics(),{value:o._value,onFocusOut:function(){o.isEditable(!1)}})};var n=null;return o._disposables.push(o.dataSource=s.computed(function(){return n&&n.dispose(),n=new g.default({store:o.values(),paginate:200<o.values().length,pageSize:100})})),e instanceof u.UnaryOperandSurface?(o.specifics=e.parent.specifics,o.dataType=e.parent.dataType,e.model.operatorType===l.UnaryOperatorType.Minus&&(o.reverse=!0)):(o.specifics=e.specifics,o.dataType=e.dataType),t.specifics&&s.isWritableObservable(o.specifics)&&o.specifics(t.specifics),o._disposables.push(o.specifics.subscribe(function(e){t.specifics=e,o._updateDate(e)})),o._value(t.value),o._disposables.push(o._value.subscribe(function(e){o.model.value=e,o.helper.onChange()})),d.isNullOrEmptyString(o._value())&&o._updateDate(o.specifics()),o._disposables.push(o.value=s.computed({read:function(){var t=o._value();if(t instanceof Date&&(t=c.formatDate(t)),0<o.items.length){var e=o.items.filter(function(e){return String(e.value)===String(t)})[0];if(e)return e.display}return o.reverse&&(t="-"+t),null!=t&&""!==t?t:o.getDefaultValue()},write:function(e){0<e&&!o.reverse||e<0&&o.reverse?o._value(e):(0<e&&o.reverse||e<0&&!o.reverse)&&(o.reverse=!o.reverse,o._value(e<0?(""+e).substring(1):e),o.changeValue())}})),o._disposables.push(s.computed(function(){var e=s.unwrap(r);e&&e.getValues&&o.parent.leftPart instanceof p.OperandPropertySurface&&o.parent.leftPart.propertyName()&&e.getValues(new h.PathRequest(s.unwrap(o.path)+"."+o.parent.leftPart.propertyName())).done(function(e){o.values(e)})})),t.specifics=o.specifics(),o}t.OperandValueSurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(17),u=r(48),l=r(49),d=r(13),o=(n=s.CriteriaOperatorSurface,o(c,n),c.prototype.change=function(e,t){var r,i;t?(i=t.specifics()||"integer",r=this.helper.filterEditorOperators[i]||this.helper.filterEditorOperators._common,e||(e=r.filter(function(e){return t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type})[0]||r[0]),i=this.model.change(e,t.model,t.leftPart instanceof l.AggregateOperandSurface&&"list"!==t.leftPart.leftPart.specifics()),r=this.operands().indexOf(t),i=this.createChildSurface(i),this.operands()[r].dispose(),this.operands.splice(r,1,i)):n.prototype.change.call(this,e,t),this.helper.onChange()},c.prototype.remove=function(e){e?(this.model.remove(e.model),this.operands.remove(e),e.dispose()):(this.parent.remove(this),this.dispose()),this.helper.onChange()},c.prototype.create=function(e){e=this.model.create(e.value,new d.OperandProperty);this.operands.push(this.createChildSurface(e)),this.helper.onChange()},Object.defineProperty(c.prototype,"rightPart",{get:function(){return this.operands()},enumerable:!0,configurable:!0}),c.prototype.dispose=function(){this.operands().forEach(function(e){return e.dispose()}),n.prototype.dispose.call(this)},c);function c(e,t,r,i){var o=n.call(this,e,t,r,i)||this;return o.templateName="dx-filtereditor-group",o.operatorClass="criteria-operator-item-group dxd-filter-editor-group-back-color dxd-filter-editor-text-color",o.operands=a.observableArray([]),o.createItems=null,o.createItems=[{name:"Add group",value:!0,localizationId:"StringId.FilterMenuGroupAdd"},{name:"Add condition",value:!1,localizationId:"StringId.FilterMenuConditionAdd"}],o.createItems.forEach(u.initDisplayText),o.operands((e.operands||[]).map(function(e){return o.createChildSurface(e)})),o.specifics=a.observable("group"),o}t.GroupOperandSurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(17),o=(n=r.CriteriaOperatorSurface,o(s,n),Object.defineProperty(s.prototype,"leftPart",{get:function(){return this.property&&this.property()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"rightPart",{get:function(){return[this.begin(),this.end()]},enumerable:!0,configurable:!0}),s.prototype.dispose=function(){this.property().dispose(),this.begin().dispose(),this.end().dispose(),n.prototype.dispose.call(this)},s);function s(e,t,r,i){i=n.call(this,e,t,r,i)||this;return i.property=a.observable(null),i.end=a.observable(null),i.begin=a.observable(null),i.contentTemplateName="dx-filtereditor-between",i.property(i._createLeftPartProperty(e.property)),i.begin(i.createChildSurface(e.begin)),i.end(i.createChildSurface(e.end)),i}t.BetweenOperandSurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(17),o=(n=r.CriteriaOperatorSurface,o(s,n),Object.defineProperty(s.prototype,"leftPart",{get:function(){return this.leftOperand()},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"rightPart",{get:function(){return this.rightOperand()},enumerable:!0,configurable:!0}),s.prototype.dispose=function(){this.leftOperand().dispose(),this.rightOperand().dispose(),n.prototype.dispose.call(this)},s);function s(e,t,r,i){i=n.call(this,e,t,r,i)||this;return i.contentTemplateName="dx-filtereditor-binary",i.leftOperand=a.observable(null),i.rightOperand=a.observable(null),i.leftOperand(i._createLeftPartProperty(e.leftOperand)),i.rightOperand(i.createChildSurface(e.rightOperand)),i}t.BinaryOperandSurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var a,s=r(0),n=r(36),u=r(16),l=r(25),d=r(3),o=(a=n.OperandSurfaceBase,o(c,a),Object.defineProperty(c.prototype,"leftPart",{get:function(){return this.operands&&this.operands()[0]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"rightPart",{get:function(){return this.operands&&this.operands().filter(function(e,t){return 0!==t})},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"displayType",{get:function(){var t=this,e=this.items.filter(function(e){return t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type})[0];return e&&e.name?e.displayText||d.getLocalization(e.name,e.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":u.FunctionOperatorType[this.operatorType()]},enumerable:!0,configurable:!0}),c.prototype.dispose=function(){this.operands().forEach(function(e){return e.dispose()}),a.prototype.dispose.call(this)},c);function c(e,t,r,i){var o=a.call(this,e,t,r,i)||this;if(o.canRemove=!0,o.contentTemplateName="dx-filtereditor-function",o.operands=s.observableArray([]),0===e.operands.length)t instanceof l.UnaryOperandSurface?o.specifics=t.parent.specifics:o.specifics=t.specifics,o.contentTemplateName="dx-filtereditor-function-lightweight",o.canRemove=!1;else{o.operands.push(o._createLeftPartProperty(e.operands[0]));for(var n=1;n<e.operands.length;n++)o.operands.push(o.createChildSurface(e.operands[n]))}return o}t.FunctionOperandSurface=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(17),u=r(10),o=(n=s.CriteriaOperatorSurface,o(l,n),Object.defineProperty(l.prototype,"leftPart",{get:function(){return this.criteriaOperator()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"rightPart",{get:function(){return this.operands()},enumerable:!0,configurable:!0}),l.prototype.dispose=function(){this.criteriaOperator().dispose(),this.operands().forEach(function(e){return e.dispose()}),n.prototype.dispose.call(this)},l);function l(e,t,r,i){var o=n.call(this,e,t,r,i)||this;return o.contentTemplateName="dx-filtereditor-in",o.operands=a.observableArray([]),o.criteriaOperator=a.observable(null),o.criteriaOperator(o._createLeftPartProperty(e.criteriaOperator)),o.operands((e.operands||[]).map(function(e){return o.createChildSurface(e)})),o.addValue=function(){var e=new u.OperandValue(null);o.model.operands.push(e),o.operands.push(o.createChildSurface(e))},o}t.InOperandSurface=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatStringStandardPatterns={DateTime:{type:"System.DateTime",value:new Date(Date.now()),patterns:[]},Number:{type:"System.Int32",value:"123456789",patterns:["#.00","#,#","0.E+0.0","0.e+0.0","n","n1","n2","e","e1","f","f1"]},Percent:{type:"System.Int32",value:"100",patterns:["0.00%","0%"]},Currency:{type:"System.Int32",value:"100",patterns:["$0.00","$0","c","c1","c2"]},Special:{type:"System.Int32",value:"123456789",patterns:["(###) ### - ####","### - ## - ####"]},General:{type:"System.String",value:"",patterns:["General format have no specific number format"]}}},function(e,t){e.exports={default:DevExpress.ui.dxScrollView}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(o.prototype.dispose=function(){this.selectedItem=null},o.prototype.itemsFilter=function(e){return"parameters"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList||"none"===e.specifics)},o.prototype.hasItems=function(e){return"none"!==e.specifics},o.prototype.canSelect=function(e){return this.hasItems(e.data)&&!!e.path&&("List"===e.data.specifics||"ListSource"===e.data.specifics)||"none"===e.data.specifics},o.prototype.select=function(e){this.canSelect(e)&&(this.selectedItem&&this.selectedItem.isSelected(!1),(this.selectedItem=e).isSelected(!0))},o);function o(){this.selectedItem=null,this.suppressActions=!0}t.DataMemberTreeListController=i},function(e,t,r){"use strict";var i,n=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o,a=r(0),s=r(31),u=r(21),l=r(40),d=(o=s.Editor,n(c,o),c.prototype._getEditorValidationRules=function(){return(o.prototype._getEditorValidationRules.call(this)||[]).concat(this.editorOptions&&this.editorOptions.showClearButton&&a.unwrap(this.editorOptions.showClearButton)?[]:u.requiredValidationRules)},c);function c(){return null!==o&&o.apply(this,arguments)||this}t.RequiredNullableEditor=d,t.createNumericEditor=function(t,r){var o;function e(e,t,r,i){return o.call(this,e,t,r,i)||this}return{header:"dx-number-editor",editorType:(n(e,o=d),e.prototype.getOptions=function(e){e=o.prototype.getOptions.call(this,e);return l.ValueEditorHelper.getNumberEditorOptions(t,r,e)},e)}}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(31),s=r(21),o=(n=a.Editor,o(u,n),u.prototype._getEditorValidationRules=function(){return(n.prototype._getEditorValidationRules.call(this)||[]).concat(s.guidValidationRules).concat(this.editorOptions&&this.editorOptions.isNullable?[]:s.guidRequiredValidationRules)},u);function u(){return null!==n&&n.apply(this,arguments)||this}t.GuidEditor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(72),u=r(24),l=r(132),o=(n=u.PropertyGridEditor,o(d,n),d.prototype.createObjectProperties=function(){var e=new s.FontModel(this.value);return this._disposables.push(e),new u.ObjectProperties(a.observable(e),{editors:l.fontInfo},this.level+1,this.disabled,void 0,this.textToSearch)},d);function d(e,t,r,i){return n.call(this,e,t,r,i)||this}t.FontEditor=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(18),o=r(61),r=r(72);t.fontName={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:i.editorTemplates.getEditor("combobox"),values:o.availableFonts},t.fontSize={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:i.editorTemplates.getEditor("numeric")},t.fontSizeUnit={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:i.editorTemplates.getEditor("combobox"),valuesArray:r.availableUnits},t.fontInfo=[t.fontName,t.fontSize,t.fontSizeUnit,{propertyName:"modificators",editor:i.editorTemplates.getEditor("modificators")}]},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var h=r(0),f=r(1),v=r(41),g=r(6),n=r(2),m=r(3),a=r(51),x=r(19),y=r(34),b=r(55),_=r(47),C=r(111),A=r(73);var E,o=(E=n.Disposable,o(s,E),s.prototype.dispose=function(){E.prototype.dispose.call(this),this.koOptions(null),this.options=null},s.prototype._createMainPopupButtons=function(){var t=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:m.getLocalization("Save",a.StringId.DataAccessBtnOK),onClick:function(e){t.save(e)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:m.getLocalization("Cancel",a.StringId.DataAccessBtnCancel),onClick:function(){t.popupVisible(!1)}}}]},s.prototype._getTextArea=function(e){return e&&e.parents(".dx-expressioneditor").find(":input")[0]},s.prototype._createToolsOptions=function(e,t,r){return{itemsProvider:t,selectedPath:h.observable(""),path:e,templateName:"dx-ee-treelist-item",treeListController:r,rtl:this.rtl}},s.prototype._parametersCustomFilter=function(e){return"parameters"===e.specifics||e.specifics===y.RangeSpecific||!x.isList(e)},s.prototype.onShown=function(){this.callbacks.focus()},s);function s(e,t,r,i,o,n){void 0===r&&(r=h.observable(!1)),void 0===i&&(i=!1),void 0===n&&(n=h.observable(!1));var a=E.call(this)||this;a.options=e,a._displayNameProvider=o,a.popupVisible=n,a._updateTextAreaValue=function(e,t){var r=a._getTextArea(t),i=a.textAreaValue().toString(),t=r&&r.selectionStart||i.length,e=" "==i[t-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";a.textAreaValue([i.slice(0,t),e,i.slice(t)].join("")),r&&r.setSelectionRange&&(r.focus(),e=t+(-1!==e.indexOf("(")?e.indexOf("(")+1:e.length),r.setSelectionRange(e,e))},a._updateAceValue=function(e,t){var r=a.editorContainer(),i=r.getCursorPosition(),o=i.row,n=i.column,i=(e.val||e.text||e)+" ";n&&" "!==r.getSession().getValue().split("\n")[o][n-1]&&(i=" "+i),r.insert(i),r.focus(),x.setCursorInFunctionParameter(e.paramCount,r,i)},a._updateValue=function(e,t){a.aceAvailable?a._updateAceValue(e,f(t)):a._updateTextAreaValue(e,f(t))},a.patchFieldName=function(e){return e},a._parametersPutSelectionHandler=function(e,t){e=e.split("."),e="?"+a.patchFieldName(e[e.length-1]);a._updateValue(e,t)},a._fieldsPutSelectionHandler=function(e,t){var r=a.koOptions.peek().path.peek(),e=e.substring(r.length+1),i="["+a.patchFieldName(e)+"]";a._displayNameProvider?a.displayExpressionConverter.toDisplayExpression(r,i).done(function(e){a._updateValue(e,t)}).fail(function(){a._updateValue(i,t)}):a._updateValue(i,t)},a.aceAvailable=A.aceAvailable,a.title=function(){return m.getLocalization("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption")},a.value=h.observable(""),a.textAreaValue=h.observable(""),a.languageHelper={getLanguageMode:function(){return"ace/mode/criteria"},createCompleters:function(e,t,r){var i=h.computed(function(){return r.koOptions()&&h.unwrap(r.koOptions().path)||""}),o=h.computed(function(){return r.koOptions()&&h.unwrap(r.koOptions().functions)||[]}),n=new v.CodeCompletor({editor:e,bindingContext:t,fieldListProvider:r.fieldListProvider,path:i,functions:o,rootItems:r.options.rootItems,getRealExpression:function(e,t){return a.displayExpressionConverter&&a.displayExpressionConverter.toRealExpression(e,t)||f.Deferred().resolve(t).promise()}});return[i,o].forEach(function(e){return n._disposables.push(e)}),[n]}},a.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},a.additionalOptions={onChange:function(t){var e=t.getValue();try{var r=g.CriteriaOperator.parse(e);a.koOptions().validate&&a.isValid(a.koOptions().validate(r)),t.clearAnnotations()}catch(e){var i=e.hash&&e.hash.line||0,o=e.message.split("\n"),o=o[1]+"\n"+o[2];t.setAnnotations([{row:i,column:0,text:o,type:"error"}])}}},a.callbacks={focus:f.noop},a.koOptions=h.observable(null),a.editorContainer=h.observable(),a.isValid=h.observable(!0),a.buttonItems=[],a.rtl=!1,a.modelValueValid=h.computed(function(){var e=a.koOptions();return e&&h.unwrap(e.isValid)||!0}),a.modelValueWarning=h.computed(function(){var e=a.koOptions();return e&&h.unwrap(e.warningMessage)||""}),a.getPopupContainer=x.getParentContainer,a.koOptions(e),a.patchFieldName=function(e){return a.koOptions().patchFieldName&&a.koOptions().patchFieldName(e)||e},a.theme=a.koOptions()&&a.koOptions().theme,a._disposables.push(a.value=h.computed({read:function(){var e=a.koOptions()&&h.unwrap(a.koOptions().value);return e&&e.toString()||""},write:function(e){return a.koOptions()&&a.koOptions().value(e)}})),o&&e.path?(a.displayExpressionConverter=new b.DisplayExpressionConverter(o),o=h.pureComputed(function(){return a.koOptions()&&a.koOptions().path&&a.koOptions().path()}),a.displayValue=y.wrapExpressionValue(o,a.value,a.displayExpressionConverter,a._disposables),a._disposables.push(o)):a.displayValue=a.value,a.rtl=i;function s(t,r){try{return g.CriteriaOperator.parse(t),a.isValid(!0),1}catch(e){var i=g.CriteriaOperator.getNotValidRange(t,e.message),r=a._getTextArea(r&&r.element);r&&r.setSelectionRange(i.start,i.end),a.isValid(!1)}}a._disposables.push(a.popupVisible.subscribe(function(e){e&&(a.tools.resetCategoriesSelection&&a.tools.resetCategoriesSelection(),a.textAreaValue(a.displayValue()),a.aceAvailable?(e=(e=a.editorContainer())&&e.getSession())&&e.setValue(a.textAreaValue()):s(a.value()))}));var u,l,d=h.computed(function(){return a.koOptions()&&a.koOptions().fieldName&&a.koOptions().fieldName()});a._disposables.push(a.fieldListProvider=(u=t,l=d,h.computed(function(){var r=h.unwrap(u),i=h.unwrap(l);return i?{getItems:function(e){var t=f.Deferred();return r.getItems(e).done(function(e){t.resolve(e.filter(function(e){return e.name!==i}))}).fail(function(){return t.reject()}),t.promise()},getValues:function(e){return r.getValues(e)}}:r}))),a.disabled=r;a.save=function(e){var t,r=a.textAreaValue();a.aceAvailable&&(r=(t=(t=a.editorContainer())&&t.getSession())&&t.getValue()),s(r,e)&&(a.displayValue(r),a.popupVisible(!1))};function c(e){h.unwrap(e.data.type),p&&p.isSelected(!1),(p=e).isSelected(!0)}var p=null,t=h.pureComputed(function(){return a.koOptions()&&a.koOptions().path&&a.koOptions().path()&&a._createToolsOptions(a.koOptions().path(),a.fieldListProvider(),new _.ExpressionEditorTreeListController(d,function(e,t){a._fieldsPutSelectionHandler(e.path,t)},c))});a.parametersTreeListController=new _.ExpressionEditorParametersTreeListController(a._parametersCustomFilter,a._parametersPutSelectionHandler,c);r=h.pureComputed(function(){return a._createToolsOptions("",a.fieldListProvider(),a.parametersTreeListController)});return a._disposables.push(a.tools=new C.Tools(a._updateValue,r,a.koOptions,t)),a._disposables.push(a.modelValueValid,a.modelValueWarning),a._createMainPopupButtons(),[d,t,r].forEach(function(e){return a._disposables.push(e)}),a}t.ExpressionEditor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var l,d=r(0),n=r(1),a=r(2),c=r(126),s=r(3),u=r(51),p=r(37),h=r(127),o=(l=a.Disposable,o(f,l),f.prototype.okAction=function(){var e=this.isGeneralType?this._getGeneralPreview("{0}"):this._wrapFormat();this.option("value",e),this.popupVisible(!1)},f.prototype._createMainPopupButtons=function(){var e=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:s.getLocalization("OK",u.StringId.DataAccessBtnOK),disabled:this._isDisabled,onClick:function(){e.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:s.getLocalization("Cancel",u.StringId.DataAccessBtnCancel),onClick:function(){e.popupVisible(!1)}}}]},f.prototype._convertArray=function(e,t){return e.map(function(e){return{name:e,displayName:s.getLocalization(e),canRemove:!!t}})},f.prototype._scrollToBottom=function(){var e=n(".dx-format-string .dx-format-string-formats").find(".dx-scrollview").filter(":visible"),e=h.default.getInstance(e.get(0));e&&e.scrollTo&&e.scrollTo(e.scrollHeight())},f.prototype._updateFormatList=function(){this.selectedFormats([]);var e=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0)))},f.prototype._updateSelection=function(e){e=this.patternList()[e||0];e&&(this.selectedFormats([e]),this.formatResult(e.name))},f.prototype._setPreviewString=function(e){this.previewString(e),this._isDisabled(!1)},f.prototype._setErrorMessage=function(e){this.previewString(s.getLocalization("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(e)},f.prototype._updatePreview=function(){var r=this;this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(function(){var e,t;r.isGeneralType?r.previewString(r._getGeneralPreview(void 0)):(e=r._standardPatternSource[r.currentType()],t=r.updatePreview(e.value,e.type,r._wrapFormat()),(r._lastUpdatePreviewPromise=t).done(function(e){r._lastUpdatePreviewPromise===t&&(e.Result?r._setPreviewString(e.Result):r._setErrorMessage(e.IsError))}).fail(function(e){r._lastUpdatePreviewPromise===t&&r.previewString(s.getLocalization("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))}))},100)},f.prototype._getGeneralPreview=function(e){return void 0===e&&(e="###"),this.formatPrefix()+e+this.formatSuffix()},f.prototype._wrapFormat=function(e){e=e||this.formatResult();return e&&-1!==e.indexOf("{0:")?e:e?"{0:"+e+"}":""},f.prototype._updateCanAddCustomFormat=function(t){var r,i=this;t?(r=!0,Object.keys(this._standardPatternSource).some(function(e){return!(r=-1===i._standardPatternSource[e].patterns.indexOf(t))}),this.canAddCustomFormat(r&&-1===this.customPatterns.indexOf(t))):this.canAddCustomFormat(!1)},f.prototype._initEditor=function(t){var r=this;if(t){if(-1!==t.indexOf("{0}"))return this.currentType("General"),this.formatPrefix(t.substring(0,t.indexOf("{0}"))),void this.formatSuffix(t.substring(t.indexOf("{0}")+3));var i,o=t.indexOf("{0:"),n=t.indexOf("}",o),a=t.substring(o+3,n),s=function(e){r.currentType(e),0===o&&n===t.length-1&&(r.selectedFormats(r.patternList().filter(function(e){return e.name===a})),r.formatResult(a),i=!0)};Object.keys(this._standardPatternSource).some(function(e){if(-1!==r._standardPatternSource[e].patterns.indexOf(a))return s(e),!0;var t=r._customPatternSource[r._standardPatternSource[e].type];return!(!t||-1===t.indexOf(a))&&(s(e),!0)}),i||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(t))}else this.setType({itemData:this.types[0]})},f.prototype.updateInputText=function(e,t){this[e](t.option("text"))},f.prototype.option=function(e,t){return void 0!==t&&(d.isObservable(this[e])?this[e](t):this[e]=t),d.unwrap(this[e])},f.prototype.updatePreview=function(e,t,r){return n.Deferred().resolve({Result:e||"preview string"}).promise()},Object.defineProperty(f.prototype,"customPatterns",{get:function(){var e=this._standardPatternSource[this.currentType()];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"isGeneralType",{get:function(){return"General"===this.currentType()},enumerable:!0,configurable:!0}),f.prototype.getDisplayText=function(e){return s.getLocalization(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)},f.prototype.getPopupContainer=function(e){return n(e).closest(this.option("popupContainer"))},f);function f(t,e,r,i,o,n,a){var s=l.call(this)||this;s._isDisabled=d.observable(!1),s._timeout=null,s.currentType=d.observable(),s.patternList=d.observableArray([]),s.canAddCustomFormat=d.observable(!1),s.formatPrefix=d.observable(""),s.formatSuffix=d.observable(""),s.previewString=d.observable("Preview string"),s.formatResult=d.observable(""),s.selectedFormats=d.observable([]),s.selectedTypes=d.observable([]),s.popupVisible=d.observable(!1),s.localizationIdMap={title:{text:"FormatString Editor",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Title"},category:{text:"Category",localizationId:"AnalyticsCoreStringId.Category"},preview:{text:"Preview",localizationId:"AnalyticsCoreStringId.TooltipButtons_Preview"},types:{text:"Types",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Types"},add:{text:"Add",localizationId:"DataAccessUIStringId.Button_Add"},prefix:{text:"Prefix",localizationId:"AnalyticsCoreStringId.Prefix"},suffix:{text:"Suffix",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Suffix"}},s.option("value",t),s.option("disabled",e||!1),s.option("rtl",n||!1),s.option("popupContainer",a||".dx-designer-viewport");var u=s;return s.popupService=new p.PopupService,s._standardPatternSource=r||c.formatStringStandardPatterns,s._customPatternSource=i||{},s.types=s._convertArray(Object.keys(s._standardPatternSource)),s._disposables.push(s.currentType.subscribe(function(e){u.isGeneralType?(u.formatResult(""),u.selectedFormats([])):u._updateFormatList()})),s.currentType(s.types[0].name),s._disposables.push(s.formatResult.subscribe(function(e){u._updateCanAddCustomFormat(e),u._updatePreview()})),s._disposables.push(s.formatPrefix.subscribe(function(e){u._updatePreview()})),s._disposables.push(s.formatSuffix.subscribe(function(e){u._updatePreview()})),s._disposables.push(s.popupVisible.subscribe(function(e){e&&(u._initEditor(t()),u.selectedTypes(u.types.filter(function(e){return e.name===u.currentType()})))})),s._createMainPopupButtons(),o&&o.updatePreview&&(s.updatePreview=o.updatePreview),s.setType=function(e){u.currentType(e.itemData.name),u._updateSelection()},s.setFormat=function(e){u.formatResult(e.itemData.name)},s.addCustomFormat=function(){u.formatResult()&&u.canAddCustomFormat()&&(u.customPatterns.push(u.formatResult()),u._updateFormatList(),u._scrollToBottom(),o&&o.saveCustomPattern(u.currentType(),u.formatResult()),u._updateSelection(u.patternList().length-1),u.canAddCustomFormat(!1))},s.removeCustomFormat=function(e){var t=u.selectedFormats()[0],r=u.patternList(),i=r.map(function(e){return e.name}).indexOf(e.name);u.customPatterns.splice(u.customPatterns.indexOf(e.name),1),u._updateFormatList(),o&&o.removeCustomPattern(u.currentType(),e.name),t.name===e.name?u._updateSelection(i===r.length-1?u.patternList().length-1:i):u.selectedFormats(u.patternList().filter(function(e){return e.name===t.name}))},s}t.FormatStringEditor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),r=r(31),o=(n=r.Editor,o(s,n),s);function s(e,t,r,i){var o=n.call(this,e,t,r,i)||this;return o._disposables.push(o.displayValue=a.pureComputed({read:function(){var e=a.unwrap(o.value);if(e&&"transparent"===e.toLowerCase())return"rgba(0,0,0,0)";if(/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(e))return e;var t=document.createElement("div");return t.style.backgroundColor=e,t.style.backgroundColor||"rgba(0,0,0,1)"},write:function(e){o.value(e)}})),o}t.ColorPickerEditor=o},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(76),s=r(128),o=(n=a.FieldListEditor,o(u,n),u);function u(e,t,r,i){i=n.call(this,e,t,r,i)||this;return i.treeListController=new s.DataMemberTreeListController,i._disposables.push(i.treeListController),i}t.DataMemberEditor=o},function(e,t){e.exports=DevExpress.localization},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var s=r(0),n=r(1),d=r(14),a=r(2),u=r(5);function l(t,r,i,o,n,a){u.addDisposeCallback(r,function(){t.dispose()}),setTimeout(function(){var e=!1;s.computed({read:function(){!e&&s.bindingHandlers.html.init&&(s.bindingHandlers.html.init(r,function(){return t.content},o,n,a),e=!0),s.bindingHandlers.html.update&&s.bindingHandlers.html.update(r,function(){return t.update(i()),t.content},o,n,a)},disposeWhenNodeIsRemoved:r})},1)}t.cloneHtmlBinding=l;var c,p=(c=a.Disposable,o(h,c),h.prototype._update=function(){this.content(this._getHighlightContent(s.unwrap(this._options.text),s.unwrap(this._options.textToSearch),s.unwrap(this._options.searchOptions)))},h.prototype.update=function(e){this._options=e,this._update()},h.prototype._getHighlightContent=function(e,t,r){var o=this,n=e;if(t){var a=d.findMatchesInString(n,t,r);if(a){var s="",u=0,l=n;return a.forEach(function(e,t){var r=l.indexOf(e),i=n.substr(u,r);l=l.substr(r+e.length),i&&(o._$spanProtect.text(i),s+=o._$spanProtect[0].outerHTML),o._$spanSearch.text(e),s+=o._$spanSearch[0].outerHTML,u=n.length-l.length,t===a.length-1&&l&&(o._$spanProtect.text(l),s+=o._$spanProtect[0].outerHTML)}),s}}return this._$spanProtect.text(n),n=this._$spanProtect[0].outerHTML},h);function h(e){var t=c.call(this)||this;return t._$spanProtect=n("<span>"),t._$spanSearch=n("<span>").addClass("dx-datagrid-search-text"),t.content=s.observable(""),t._options=e,s.isSubscribable(t._options.text)&&t._disposables.push(t._options.text.subscribe(function(e){t._update()})),t._disposables.push(t._options.textToSearch.subscribe(function(e){t._update()})),t._update(),t}t.HighlightEngine=p,s.bindingHandlers.searchHighlighting={init:function(e,t,r,i,o){l(new p(t()),e,t,r,i,o)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),r=(o.prototype.initActions=function(e){this.actions=e,this.actions.forEach(function(e){e.disabled||(e.disabled=i.observable(!1))})},o.prototype.getActions=function(e){return this.condition(e)?(this.setDisabled&&this.setDisabled(e),this.actions):[]},o.prototype.condition=function(e){return!0},o);function o(){}t.BaseActionsProvider=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(1),s=r(2),u=r(79),l=r(7),d=r(59),c=r(5),o=(n=s.Disposable,o(p,n),p.prototype.dispose=function(){n.prototype.dispose.call(this),this.sender&&this.sender instanceof s.Disposable&&this.sender.dispose(),this.removeProperties()},p.prototype._fireEvent=function(e,t){this._customEventRaiser?this._customEventRaiser(e,t):this._options&&this._options.callbacks&&this._options.callbacks[e]&&this._options.callbacks[e](this.sender,t)},p.prototype._getServerActionUrl=function(e,t){return u.RequestHelper.generateUri(e,t)},p.prototype._getAvailableEvents=function(t,r){var i=this,o=t;return r&&this._options.callbacks[r]?Object.keys(t).forEach(function(e){o[e]=i._options.callbacks[r][e]||t[e]}):Object.keys(t).forEach(function(e){o[e]=i._options.callbacks[e]||t[e]}),o},p.prototype._getLocalizationRequest=function(){var i=a.Deferred(),e=this._options.requestOptions;return e.getLocalizationAction?(e=this._getServerActionUrl(e.host,e.getLocalizationAction),a.getJSON(e).fail(function(e,t,r){try{d._processError(r.message,a.Deferred(),e,t)}finally{i.reject()}}).done(function(e){i.resolve(e)})):i.resolve(),i.promise()},p.prototype._createDisposeFunction=function(e){var t=this;c.addDisposeCallback(e,function(){t.dispose()})},p);function p(e,t){var r=n.call(this)||this;return r._options=e,r._customEventRaiser=t,r._templateHtml=l.getTemplate("dxrd-designer"),r}t.JSDesignerBindingCommon=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(7).SvgTemplatesEngine.addTemplates({"dxrd-svg-collapsed":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 9 9" xml:space="preserve"><path class="dxd-icon-fill" d="M2 2l5 3-5 3z"/></svg>',"dxrd-svg-ellipsis":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="-467 277 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M-464 284h2v2h-2zM-460 284h2v2h-2zM-456 284h2v2h-2z"/></svg>',"dxrd-svg-expressioneditor-addition":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-expressioneditor-and":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-60" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/></svg>',"dxrd-svg-expressioneditor-division":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 10h20v4H2z"/><circle class="dxd-icon-fill" cx="12" cy="6" r="2"/><circle class="dxd-icon-fill" cx="12" cy="18" r="2"/></svg>',"dxrd-svg-expressioneditor-edit":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 8l-6 6-6-6z"/></svg>',"dxrd-svg-expressioneditor-equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 6h16v4H4zM4 12h16v4H4z"/></svg>',"dxrd-svg-expressioneditor-greater":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v2l10 6-10 6v2l14-8z"/></svg>',"dxrd-svg-expressioneditor-greater_or_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 2v2l10 6-10 6v2l14-8zM4 22l14-8v-2L4 20z"/></svg>',"dxrd-svg-expressioneditor-less":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 4v2L8 12l10 6v2L4 12z"/></svg>',"dxrd-svg-expressioneditor-less_or_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 2v2L8 10l10 6v2L4 10zM18 22L4 14v-2l14 8z"/></svg>',"dxrd-svg-expressioneditor-modulus":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M16 4L2 20h4L20 4zM16 12c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM6 12c2.2 0 4-1.8 4-4S8.2 4 6 4 2 5.8 2 8s1.8 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"/></svg>',"dxrd-svg-expressioneditor-multiplication":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 6l-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-60" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 0h-2l-3.8 6H4v4h7.6l-1.2 2H4v4h3.8L4 22h2l3.8-6H20v-4h-7.6l1.2-2H20V6h-3.8z"/></svg>',"dxrd-svg-expressioneditor-or":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-60" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-60" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zM15 16c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/></svg>',"dxrd-svg-expressioneditor-parenthesis":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 11c0 3.8 1.8 7.1 4 9h2c-2.2-1.9-4-5.2-4-9s1.8-7.1 4-9H6c-2.2 1.9-4 5.2-4 9zM16 2h-2c2.2 1.8 4 5.2 4 9s-1.8 7.2-4 9h2c2.2-1.8 4-5.2 4-9s-1.8-7.2-4-9z"/><path class="dxd-icon-fill" d="M6 10h2v2H6zM10 10h2v2h-2zM14 10h2v2h-2z"/></svg>',"dxrd-svg-expressioneditor-subtraction":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 10h16v4H4z"/></svg>',"dxrd-svg-fieldlist-array":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M18 6v2h-2v2h2v8h2V6zM4 8H2v2h2v8h2V6H4zM8 18h6V6H8v12zm2-10h2v8h-2V8z"/></svg>',"dxrd-svg-fieldlist-bitearray":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M18 6v2h-2v2h2v8h2V6zM4 8H2v2h2v8h2V6H4zM8 18h6V6H8v12zm2-10h2v8h-2V8z"/></svg>',"dxrd-svg-fieldlist-bool":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 10v4l6 6 10-10V6L10 16z"/></svg>',"dxrd-svg-fieldlist-booleanfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 10v4l6 6 10-10V6L10 16z"/></svg>',"dxrd-svg-fieldlist-column":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0h22v4H0zM6 6h4v16H6zM12 12h4v4h-4zM12 18h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM18 18h4v4h-4zM12 6h4v4h-4zM0 18h4v4H0zM0 6h4v4H0zM18 12h4v4h-4z"/></svg>',"dxrd-svg-fieldlist-datasource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><ellipse class="dxd-icon-fill dxd-opacity-80" cx="11" cy="4" rx="7" ry="2"/><path class="dxd-icon-fill dxd-opacity-80" d="M11 10c-3.9 0-7-.9-7-2v12c0 1.1 3.1 2 7 2s7-.9 7-2V8c0 1.1-3.1 2-7 2z"/></svg>',"dxrd-svg-fieldlist-date":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M11 0C4.9 0 0 4.9 0 11s4.9 11 11 11 11-4.9 11-11S17.1 0 11 0zm6 12h-6c-.5 0-1-.5-1-1V5c0-.5.5-1 1-1s1 .5 1 1v5h5c.5 0 1 .5 1 1s-.5 1-1 1z"/></svg>',"dxrd-svg-fieldlist-datetimefield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M11 0C4.9 0 0 4.9 0 11s4.9 11 11 11 11-4.9 11-11S17.1 0 11 0zm6 12h-6c-.5 0-1-.5-1-1V5c0-.5.5-1 1-1s1 .5 1 1v5h5c.5 0 1 .5 1 1s-.5 1-1 1z"/></svg>',"dxrd-svg-fieldlist-doublefield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M6 6H4v2h2v10h2V4H6zM10 16h2v2h-2zM20 12V4h-6v2h4v4h-4v8h6v-2h-4v-4z"/></svg>',"dxrd-svg-fieldlist-enum":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M13 12H1c-.5 0-1 .5-1 1v8c0 .5.5 1 1 1h12c.5 0 1-.5 1-1v-8c0-.5-.5-1-1-1zm-1 8H2v-2h10v2zm0-4H2v-2h10v2zM23 4H11c-.5 0-1 .5-1 1v5h12v2h-6v2h7c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zm-1 4H12V6h10v2z" id="Enum"/></svg>',"dxrd-svg-fieldlist-float":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M6 6H4v2h2v10h2V4H6zM10 16h2v2h-2zM20 12V4h-6v2h4v4h-4v8h6v-2h-4v-4z"/></svg>',"dxrd-svg-fieldlist-guid":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M10 10v10h8V2h-2v8h-6zm2 2h4v6h-4v-6zM6 10h2v10H6zM6 6h2v2H6z"/></svg>',"dxrd-svg-fieldlist-integer":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8H2v2h2v8h2V6H4zM8 6v2h4v2H8v8h6v-2h-4v-4h4V6h-2zM16 6v2h4v2h-2v2h2v4h-4v2h6V6z"/></svg>',"dxrd-svg-fieldlist-integerfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8H2v2h2v8h2V6H4zM8 6v2h4v2H8v8h6v-2h-4v-4h4V6h-2zM16 6v2h4v2h-2v2h2v4h-4v2h6V6z"/></svg>',"dxrd-svg-fieldlist-listsource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><ellipse class="dxd-icon-fill dxd-opacity-80" cx="11" cy="4" rx="7" ry="2"/><path class="dxd-icon-fill dxd-opacity-80" d="M11 10c-3.9 0-7-.9-7-2v12c0 1.1 3.1 2 7 2s7-.9 7-2V8c0 1.1-3.1 2-7 2z"/></svg>',"dxrd-svg-fieldlist-none":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0v22h22V0H0zm16 14l-2 2-3-3-3 3-2-2 3-3-3-3 2-2 3 3 3-3 2 2-3 3 3 3z"/></svg>',"dxrd-svg-fieldlist-parameters":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M12 4h4v8h-4zM8 18h4v4H8zM8 12h4v4H8zM8 0h4v4H8zM4 4h4v4H4z"/></svg>',"dxrd-svg-fieldlist-range":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 4h4v2H4v12h4v2H2V4h2zm16 0h-4v2h4v12h-4v2h6V4h-2z"/></svg>',"dxrd-svg-fieldlist-string":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8h4v4H2v8h8V6H4v2zm4 10H4v-4h4v4zM14 10V2h-2v18h8V10h-6zm4 8h-4v-6h4v6z"/></svg>',"dxrd-svg-fieldlist-stringfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8h4v4H2v8h8V6H4v2zm4 10H4v-4h4v4zM14 10V2h-2v18h8V10h-6zm4 8h-4v-6h4v6z"/></svg>',"dxrd-svg-fieldlist-table":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0h22v4H0zM12 12h4v4h-4zM12 18h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM18 18h4v4h-4zM12 6h4v4h-4zM6 12h4v4H6zM6 18h4v4H6zM6 6h4v4H6zM0 18h4v4H0zM0 6h4v4H0zM18 12h4v4h-4z"/></svg>',"dxrd-svg-fieldlist-view":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M0 6h4v4H0zM6 6h4v4H6zM12 6h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM6 12h4v4H6zM0 18h4v4H0zM6 18h4v4H6zM0 0h22v4H0zM23.7 22.3l-2.5-2.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l2.5 2.5c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4zM17 20c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/></svg>',"dxrd-svg-filtereditor-add":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-filter-editor-add-icon-fill-color" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-filtereditor-edit":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="dxd-filter-editor-text-color" d="M4 7h8l-4 4z"/></svg>',"dxrd-svg-filtereditor-remove":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-filter-editor-remove-icon-fill-color" d="M18 6l-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-fontstyle-bold":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M14.4 10.8c1.1.3 1.9.7 2.5 1.3.8.8 1.1 1.8 1.1 3 0 .9-.2 1.8-.7 2.6-.5.8-1.2 1.4-2 1.8-.9.4-2.2.6-4 .6H4v-.5h.4c.7 0 1.1-.2 1.4-.7.2-.5.2-2 .2-3V6c0-1.1 0-2.6-.3-2.9-.3-.4-.7-.6-1.3-.6H4V2h6.6c1.3 0 2.3.1 3.1.3 1.2.3 2.1.9 2.7 1.7s.9 1.7.9 2.8c0 .9-.2 1.7-.7 2.4-.5.7-1.2 1.3-2.2 1.6zM8 10H10.6c1.1 0 2 0 2.6-.3.6-.3.9-.6 1.2-1.2.3-.6.5-1.2.5-1.9 0-1.1-.4-2-1.1-2.7S11.4 3 10 3H8v7zm0 8.9h3c1.4 0 2.5-.3 3.2-1s1.1-1.6 1.1-2.7c0-.7-.2-1.4-.5-2-.3-.6-.9-1.2-1.6-1.5-.8-.4-1.5-.7-2.7-.7H8v7.9z"/></svg>',"dxrd-svg-fontstyle-italic":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M14 21.5l-.2.5H6l.2-.5c.8 0 1.3-.1 1.6-.2.4-.2.7-.4.9-.7.3-.5.5-1.3.8-2.5l2.4-12c.3-1.3.3-1.8.3-2.3 0-.3-.1-.5-.2-.6s-.3-.3-.6-.4c-.3-.1-.7-.1-1.5-.1l.3-.7H18l-.2.5c-.6 0-1.4.1-1.7.2-.4.2-.8.5-1 .8-.1.5-.5 1-.8 2.5L12 18.1c-.2 1.3-.3 1.7-.3 2.1 0 .2.1.5.2.6.1.2.3.3.6.4s.7.2 1.5.3z"/></svg>',"dxrd-svg-fontstyle-strikeout":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M20 12h-5.3c-.7-.4-1.7-.9-2.9-1.5-2.4-1.2-3.9-2.1-4.6-2.8-.4-.5-.7-1-.7-1.6 0-.8.3-1.4 1-2.1.6-.4.8-.7 2.1-.9.9-.1 1.9.2 2.8.7.9.4 1.6 1 2.1 1.8s.8 1.4 1 2.4h.5V2h-.5c-.1.4-.2.7-.4.9-.2.1-.4.2-.7.2-.2 0-.6-.1-1.2-.4-1.3-.5-2.5-.7-3.6-.7-1.8 0-3 .8-3.9 1.5C4.5 4.4 4 5.7 4 7c0 .8.2 1.5.6 2.2s1 1.3 1.7 1.8c.4.3.9.6 1.6 1H2v2h9.7c.9.5 1.5.8 1.8 1 .6.4 1 .9 1.3 1.3s.4 1 .4 1.4c0 .8-.4 1.6-1.1 2.2-.8.6-1.8.9-3.1.9-1.1 0-2.1-.2-3.1-.7-.9-.5-1.8-1-2.3-1.7-.2-.2-.8-1.4-1-2.4H4v6h.6c.1-.4.2-.7.3-.9.2-.1.4-.2.6-.2.3 0 1.1.1 2.1.4s1.7.5 2 .5c.5.1 1.1.1 1.7.1 1.9 0 3.5-.5 4.8-1.6 1.2-1 1.9-2.3 1.9-3.7 0-.8-.2-1.5-.6-2.2-.1-.2-.2-.2-.3-.4H20v-2z"/></svg>',"dxrd-svg-fontstyle-underline":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M14 0v1h.9c.4 0 .7.1.8.2.3.4.3 1.2.3 2.3V12c0 .8 0 1.7-.1 2.6-.1 1-.5 1.8-1 2.3-1 .9-3 1.1-3.7 1.1-.7 0-2.9-.2-3.9-1.1-.7-.7-.9-1.3-1.1-2.2-.2-1.1-.2-2-.2-2.7V3.5c0-1.1 0-2 .3-2.2.2-.2.6-.3 1.1-.3H8V0H2v1h.9c.7 0 .9.1 1 .2.1.2.1 1.1.1 2.3v7.6c0 2.4.2 4 .5 4.8.5 1.2 1.3 2.3 2.4 3C8.7 20 9.9 20 11 20c1.4 0 2.6-.1 4.1-1.1 1.1-.8 1.9-1.7 2.3-3 .3-.9.4-2.5.4-4.8V3.5c0-1.2 0-1.9.3-2.2.3-.3.5-.3 1.3-.3h.6V0h-6zM2 22h18v2H2z"/></svg>',"dxrd-svg-menu-menu":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 2h20v4H2zM2 10h20v4H2zM2 18h20v4H2z"/></svg>',"dxrd-svg-menu-open":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 8L2 20h18l2-12z"/><path class="dxd-icon-fill" d="M20 6V4H6V2H0v18L2 6z"/></svg>',"dxrd-svg-menu-save":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 0h6v6h-6z"/><path class="dxd-icon-fill" d="M18 0v8H4V0H2L0 2v20h22V0h-4zm0 18H4v-6h14v6z"/></svg>',"dxrd-svg-menu-saveas":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 15.1V22c0 .5-.5 1-1 1H2c-.5 0-1-.5-1-1V4c0-.5.5-1 1-1h3v7h3.5c.6 1.6 1.5 3 2.8 4H5v5h12v-3c1.4 0 2.8-.3 4-.9zM24 7c0 3.9-3.1 7-7 7s-7-3.1-7-7 3.1-7 7-7 7 3.1 7 7zM14 6h-2v2h2V6zm4 0h-2v2h2V6zm4 2V6h-2v2h2z"/></svg>',"dxrd-svg-operations-add":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M22 10h-8V2h-4v8H2v4h8v8h4v-8h8z"/></svg>',"dxrd-svg-operations-add_calcfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 8V0H0v16h10c0-4.4 3.6-8 8-8zM8 4H6v2h2v2H6v6H2v-2h2V8H2V6h2V2h4v2z"/><path class="dxd-icon-fill" d="M18 10c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2z"/></svg>',"dxrd-svg-operations-add_datasource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M16 10c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2zM8 13c-3.1 0-6-.9-6-2v5c0 1.1 2.9 2 6 2h.3c-.2-.6-.3-1.3-.3-2 0-1.1.2-2.1.6-3H8zM14 8.3V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.3 0 1.9-.1 1-1.3 2.5-2.2 4.1-2.6z"/></svg>',"dxrd-svg-operations-add_query":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 6h4v4H0zM6 6h4v4H6zM12 6h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM6 12h4v4H6zM0 18h4v4H0zM6 18h4v4H6zM0 0h22v4H0zM18 12c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2z"/></svg>',"dxrd-svg-operations-ascending":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 0L6 6h4v16h4V6h4z"/></svg>',"dxrd-svg-operations-descending":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 22l6-6h-4V0h-4v16H6z"/></svg>',"dxrd-svg-operations-edit":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 22h4l-4-4zM4 16l4 4 8-8-4-4zM16 4l-2 2 4 4 2-2z"/></svg>',"dxrd-svg-operations-movedown":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M6 10l6 6 6-6V6l-6 6-6-6z"/></svg>',"dxrd-svg-operations-moveleft":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 6l-6 6 6 6h4l-6-6 6-6z"/></svg>',"dxrd-svg-operations-moveleft_all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 6H8l-6 6 6 6h4l-6-6z"/><path class="dxd-icon-fill" d="M20 6h-4l-6 6 6 6h4l-6-6z"/></svg>',"dxrd-svg-operations-moveright":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 18l6-6-6-6H6l6 6-6 6z"/></svg>',"dxrd-svg-operations-moveright_all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 18h4l6-6-6-6h-4l6 6z"/><path class="dxd-icon-fill" d="M2 18h4l6-6-6-6H2l6 6z"/></svg>',"dxrd-svg-operations-moveup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 12l-6-6-6 6v4l6-6 6 6z"/></svg>',"dxrd-svg-operations-recycle_bin":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M6 19c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V8H6v11zM19 4h-5V3c0-.5-.5-1-1-1h-2c-.5 0-1 .5-1 1v1H5c-.6 0-1 .4-1 1v1h16V5c0-.6-.4-1-1-1z"/></svg>',"dxrd-svg-operations-remove":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 10h14v4H4z"/></svg>',"dxrd-svg-operations-unsorted":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 20l6-6V6H2l5-6 5 6H8v6l6-6V0h2v4l4-4 2 2-6 6v8h4l-5 6-5-6h4v-6l-6 6v6H6v-4l-4 4z"/></svg>',"dxrd-svg-properties-borders-all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0v22h22V0H0zm20 20H2V2h18v18z"/></svg>',"dxrd-svg-properties-borders-bottom":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M0 12h2v4H0zM12 0h4v2h-4zM0 6h2v4H0zM18 2h2v2h2V0h-4zM6 0h4v2H6zM20 18v2H2v-2H0v4h22v-4zM2 4V2h2V0H0v4zM20 6h2v4h-2zM20 12h2v4h-2z"/></svg>',"dxrd-svg-properties-borders-left":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM4 20H2V2h2V0H0v22h4zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6z"/></svg>',"dxrd-svg-properties-borders-none":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6zM0 6h2v4H0zM2 4V2h2V0H0v4zM2 18H0v4h4v-2H2zM0 12h2v4H0z"/></svg>',"dxrd-svg-properties-borders-right":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M12 20h4v2h-4zM0 6h2v4H0zM6 20h4v2H6zM2 4V2h2V0H0v4zM0 12h2v4H0zM18 2h2v18h-2v2h4V0h-4zM4 20H2v-2H0v4h4zM6 0h4v2H6zM12 0h4v2h-4z"/></svg>',"dxrd-svg-properties-borders-top":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M20 6h2v4h-2zM6 20h4v2H6zM20 12h2v4h-2zM4 20H2v-2H0v4h4zM12 20h4v2h-4zM2 4V2h18v2h2V0H0v4zM20 18v2h-2v2h4v-4zM0 12h2v4H0zM0 6h2v4H0z"/></svg>',"dxrd-svg-properties-search":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2.6 21.4c.8.8 2 .8 2.8 0l4.6-4.6c1.2.7 2.6 1.1 4.1 1.1 4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8c0 1.5.4 2.9 1.1 4.1l-4.6 4.6c-.8.8-.8 2 0 2.8zM10 10.1c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 4-4-1.9-4-4z"/></svg>',"dxrd-svg-properties-sortingbyalphabet":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3.2 0L1 7h1.6L3 5.3h2L5.4 7H7L4.9 0H3.2zm0 4.2L3.8 2c0-.1.1-.4.2-.8v.1c0 .3.1.6.1.7l.5 2.2H3.2zM1 10h4l-4 5v1h6v-1H3l4-5V9H1zM13 12V0h-2v12H8l4 4 4-4z"/></svg>',"dxrd-svg-properties-sortingbygroups":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 7h7V0H1v7zm1-6h5v5H2V1zM9 1h6v1H9zM9 3h6v1H9zM9 5h6v1H9zM9 10h6v1H9zM9 12h6v1H9zM9 14h6v1H9z"/><path class="dxd-icon-fill" d="M5 2H4v1H3v1h1v1h1V4h1V3H5zM1 16h7V9H1v7zm1-6h5v5H2v-5z"/><path class="dxd-icon-fill" d="M5 11H4v1H3v1h1v1h1v-1h1v-1H5z"/></svg>',"dxrd-svg-queryBuilder-aggregate":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 0H3v4l8 8-8 8v4h18v-4H7l8-8-8-8h14z"/></svg>',"dxrd-svg-queryBuilder-data_preview":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21.7 20.3l-2.5-2.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l2.5 2.5c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4zM15 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M8.7 13s-.1 0 0 0c-.1 0-.1 0 0 0H7.3C4.4 12.8 2 12 2 11v5c0 1 2.6 1.9 5.4 2H9c-.4-.9-.7-1.9-.7-2.9.1-.8.2-1.5.4-2.1zM14 8.2V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.2 0 1.7-.1 1-1.4 2.5-2.4 4.3-2.7z"/></svg>',"dxrd-svg-queryBuilder-group_by":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 4h14v6H2zM8 14h14v6H8z"/></svg>',"dxrd-svg-queryBuilder-select_statment":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 4l-4-4v4zM21.7 22.3l-4.5-4.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l4.5 4.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM13.1 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.4 3-3 3z"/><path class="dxd-icon-fill" d="M13 8c2 0 3.7.8 5 2.1V6h-6V0H0v20h8.1C6.8 18.7 6 17 6 15c0-3.9 3.1-7 7-7z"/></svg>',"dxrd-svg-queryBuilder-sorting_asc":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM14 14h6l-6 6v2h8v-2h-6l6-6v-2h-8zM19.4 0L14 10h2l.9-2H20v2h2V0h-2.6zm.6 6h-1.9L20 2v4z"/></svg>',"dxrd-svg-queryBuilder-sorting_desc":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM22 0h-8v2h6l-6 6v2h8V8h-6l6-6zM14 22h2l.9-2H20v2h2V12h-2.6L14 22zm6-4h-1.9l1.9-4v4z"/></svg>',"dxrd-svg-tabs-properties":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><circle class="dxd-icon-fill" cx="12" cy="12" r="2"/><path class="dxd-icon-fill" d="M20 10h-.3c-.2-.7-.5-1.4-.9-2.1l.2-.2c.8-.8.8-2.1 0-2.8-.8-.8-2.1-.8-2.8 0l-.2.2c-.6-.4-1.3-.7-2.1-.9V4c0-1.1-.9-2-2-2S10 2.9 10 4v.3c-.7.2-1.4.4-2.1.8l-.1-.2c-.8-.7-2.1-.7-2.9 0-.7.8-.7 2.1 0 2.9l.2.2c-.4.6-.6 1.3-.8 2H4c-1.1 0-2 .9-2 2s.9 2 2 2h.3c.2.7.5 1.4.9 2.1l-.2.2c-.8.8-.8 2.1 0 2.8.8.8 2.1.8 2.8 0l.2-.2c.6.4 1.3.7 2.1.9v.2c0 1.1.9 2 2 2s2-.9 2-2v-.3c.7-.2 1.4-.5 2.1-.9l.2.2c.8.8 2.1.8 2.8 0 .8-.8.8-2.1 0-2.8L19 16c.4-.6.7-1.3.9-2.1h.1c1.1 0 2-.9 2-2 0-1-.9-1.9-2-1.9zm-8 6c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"/></svg>',"dxrd-svg-toolbar-copy":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 10h4l-4-4z"/><path class="dxd-icon-fill" d="M8 6H0v18h14V12H8zM18 0v4h4z"/><path class="dxd-icon-fill" d="M16 0H8v4h2l6 6v8h6V6h-6z"/></svg>',"dxrd-svg-toolbar-cut":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M17.9 14c-.6 0-1.2.1-1.7.4L14 12l6-6V2l-8 8-8-8v4l6 6 2-2 2 2-2 2-2-2-2.3 2.4c-.6-.2-1.1-.4-1.7-.4-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4c0-.6-.1-1.1-.3-1.6L12 14l2.3 2.4c-.2.5-.3 1-.3 1.6 0 2.2 1.8 4 4 4s4-1.8 4-4c-.1-2.2-1.9-4-4.1-4zM6 20c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm11.9 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-toolbar-delete":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 4l-2-2-7 7-7-7-2 2 7 7-7 7 2 2 7-7 7 7 2-2-7-7z"/></svg>',"dxrd-svg-toolbar-paste":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 2V0H6v2H4v2h6V2zM16 16v-6h-6v14h12v-8z"/><path class="dxd-icon-fill" d="M22 14h-4v-4zM8 8h6V2h-2v4H2V2H0v16h8z"/></svg>',"dxrd-svg-toolbar-redo":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M24 9L14 2v4h-1.2C6 6 0 12.2 0 19v3c1.6-5.9 7-10 12.8-10H14v4.1L24 9z"/></svg>',"dxrd-svg-toolbar-undo":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 9l10-7v4h1.2C18 6 24 12.2 24 19v3c-1.6-5.9-7-10-12.8-10H10v4.1L0 9z"/></svg>',"dxrd-svg-toolbar-validate":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M22 6L8 20l-6-6v-4l6 6L22 2v4z"/></svg>',"dxrd-svg-toolbar-zoomin":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M22 10h-8V2h-4v8H2v4h8v8h4v-8h8z"/></svg>',"dxrd-svg-toolbar-zoomout":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 10h20v4H2z"/></svg>',"dxrd-svg-wizard-Download":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M7 12l5 5 5-5h-4V2h-2v10H7zm8-4v2h4v10H5V10h4V8H3v14h18V8h-6z"/></svg>',"dxrd-svg-wizard-expressions":'<svg data-bind="svgAttrs" version="1.1" id="Tabs" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 32 32" xml:space="preserve"><path class="dxd-icon-fill" d="M25.6 4.3c-.3-.4-.7-.7-1.2-1-.6-.2-1.3-.3-2.2-.3-1.8 0-3.3.4-4.5 1.3s-1.9 2.1-2.2 3.6l-.3 1.4-.4 1.7h-2.4l-.4 2h2.4L12 24.3c-.2 1.3-.7 1.9-1.3 1.9-.2 0-.3 0-.4-.1l-.4-.4c-.3-.4-.6-.7-.7-.8-.2-.2-.4-.3-.6-.4-.2-.1-.4-.1-.7-.1-.5 0-1 .2-1.3.6-.4.4-.6.9-.6 1.5 0 .7.4 1.3 1.2 1.9.6.4 1.5.6 2.6.6s2.1-.2 2.9-.6 1.5-1.1 2.2-2c.6-.9 1.1-2.1 1.4-3.4l2.3-9.9H21l.5-2H19l.4-1.7.4-1.6c.2-.8.3-1.2.5-1.5.2-.3.5-.5.9-.5.2 0 .3 0 .5.1s.4.3.7.7c.3.3.6.6.9.7s.6.2.9.2c.4 0 .7-.1 1-.2.3-.2.5-.4.7-.7.2-.3.3-.7.3-1-.2-.5-.3-.9-.6-1.3z" id="Expressions"/></svg>',"dxrd-svg-wizard-JsonDataSource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 96 96" xml:space="preserve"><style>.Black{fill:#727272}.Blue{fill:#1177d7}.st1{opacity:.25}.st2{opacity:.5}</style><g id="JSON"><g class="st2"><path class="Black" d="M63.6 72.5c-.1-.2-.2-.4-.3-.7-.5-1.4-.8-2.9-.9-4.4-.1-2.3.4-4.5 1.5-6.3.7-1.2 1.7-2.4 2.8-3.2.4-.3 1.1-.7 1.1-.7s.5-.3 1.2-.6c.1.1.2.1.3.2 1.7 1.2 3 2.8 3.9 4.6.3.7.6 1.5.8 2.3v2.8c0 2.4-4.1 4.6-10.4 6zm-20.4-2.2c-.3-2.6-.3-5.3.2-7.9.4-2.3 1.2-4.5 2.2-6.5C48.9 49.5 55 44.6 62 42.8c1.4-.4 4.2-.8 5.8-.8 1.4 0 4.4.6 6.2 1.4v-22c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.8 9.5 6.9 21.9 7.5-.3-1.2-.5-2.4-.7-3.6z"/></g><g class="st1"><ellipse class="Black" cx="48" cy="19.5" rx="26" ry="7.5"/></g><path class="Blue" d="M91.8 70.1c-.3 2.4-1 4.8-2 7-1.2 2.5-2.9 4.9-4.9 6.9-2.2 2.1-4.8 4-7.6 5.2-2 .9-5.5 1.9-9.1 1.9-1 0-3.3-.6-4.7-1.1-2.4-1-4.6-2.5-6.3-4.5-1.1-1.3-2-2.8-2.7-4.3-1.1-2.5-1.7-5.3-1.9-8.1-.1-2-.1-4 .2-5.9.5-3.1 1.8-6.2 4.1-8.5.4-.4 1.9-1.6 2.7-2.1.8-.5 3.2-1.3 4.5-1.4 1-.1 2 0 2.9.2-.5.3-1 .6-1.4 1-1.4 1-2.5 2.3-3.3 3.8-1.3 2.2-1.8 4.8-1.7 7.3 0 1.7.4 3.5 1 5.1.5 1.3 1.2 2.5 2.1 3.5.7.8 1.6 1.6 2.5 2.2.5.3 1 .7 1.6.9.5.2 1 .4 1.5.5 3.1.7 6.4-.4 8.9-2.2 1.5-1.1 2.8-2.6 3.8-4.2 1.4-2.2 2.2-4.7 2.5-7.2.2-1.5.2-3 .1-4.5-.1-2-.4-4.1-1-6-.8-3-2.3-5.8-4.4-8.1-.9-1-2-1.9-3.1-2.7-.2-.2-.5-.3-.7-.4-.2-.1-.5-.3-.7-.4 1.5.4 3 1 4.4 1.7 3.9 2 7.3 4.9 9.6 8.6.7 1 1.2 2.1 1.7 3.2.8 1.8 1.3 3.7 1.6 5.6.1 2.3.1 4.7-.2 7zm-40.1 8.6c-.6-2-.9-4.2-1-6.5-.1-1.5-.1-2.9.1-4.3.3-2.8 1.1-5.4 2.4-7.5 1-1.7 2.3-3.2 3.8-4.4 1.1-.8 2.3-1.5 3.5-1.9 1.3-.5 2.6-.7 4-.7.5 0 1.1 0 1.6.1.7.1 1.4.3 2 .5.1.1.7.3.8.4.4.2.9.5 1.5.9 2 1.4 3.5 3.2 4.5 5.4.9 1.9 1.3 4 1.4 6.3 0 2.4-.4 4.7-1.4 6.7-.8 1.7-2 3.3-3.4 4.5 2.2-.2 4.5-1.2 6.4-3 .4-.3.7-.7 1-1.1.5-.6.9-1.1 1.2-1.5.4-.7.8-1.4 1.2-2.2.5-1.1.8-2.1 1-3.1.3-1.7.4-3.5.3-5.8-.3-4.3-1.5-8-3.5-10.9-.4-.6-.7-1-1-1.4-.6-.7-1.3-1.3-2-2-.8-.7-1.1-.9-2.5-1.7S69 44 67.8 44c-1.3 0-4 .3-5.4.6-6.5 1.7-12 6.2-15 12.2-.9 1.9-1.6 3.9-2 6-.5 2.4-.5 4.8-.2 7.2.2 2 .7 3.9 1.5 5.7.4 1 .9 2.1 1.6 3.1 1.8 2.9 4.2 5.3 7.2 7.2-1.7-1.9-3-4.5-3.8-7.3z"/></g></svg>',"dxrd-svg-wizard-NoDataSource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 96 96" xml:space="preserve"><style>.Black{fill:#727272}.White{fill:#fff}.Red{fill:#d11c1c}.st1{opacity:.25}.st2{opacity:.5}</style><g id="NoData"><g class="st2"><path class="Black" d="M44 68c0-12.2 9.8-22 22-22 1.4 0 2.7.1 4 .4v-24c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6h1.1c-.7-2.2-1.1-4.6-1.1-7z"/></g><g class="st1"><ellipse class="Black" cx="44" cy="20.5" rx="26" ry="7.5"/></g><circle class="Red" cx="66" cy="68" r="20"/><path class="White" d="M53.4 77.8C51.3 75.1 50 71.7 50 68c0-8.8 7.2-16 16-16 3.7 0 7.1 1.3 9.8 3.4L53.4 77.8zm25.2-19.6L56.2 80.6c2.7 2.1 6.1 3.4 9.8 3.4 8.8 0 16-7.2 16-16 0-3.7-1.3-7.1-3.4-9.8z"/></g></svg>',"dxrd-svg-wizard-ObjectDataSource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 96 96" xml:space="preserve"><style>.Black{fill:#727272}.Blue{fill:#1177d7}.st1{opacity:.25}.st2{opacity:.5}</style><g id="ObjectBinding"><g class="st2"><path class="Black" d="M64.7 71H64V59h6v7.4c0 1.8-2 3.3-5.3 4.6zM52 52v7h12v-7H52zm-18 7h12V46h18v-7h6V21.4c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.1 6.6 5.8 16 7V59z"/></g><g class="st1"><ellipse class="Black" cx="44" cy="19.5" rx="26" ry="7.5"/></g><path class="Blue" d="M82 41H66v7H48v13H36v26h26V75h13V57h7V41zm-9 32H62V61H50V50h16v7h7v16z"/></g></svg>',"dxrd-svg-wizard-SqlDataSource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 96 96" xml:space="preserve"><style>.Black{fill:#727272}.st1{opacity:.25}.st2{opacity:.5}</style><g id="Database"><g class="st2"><path class="Black" d="M48 29c-14.4 0-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6s26-3.4 26-7.6v-45c0 4.2-11.6 7.6-26 7.6z"/></g><g class="st1"><ellipse class="Black" cx="48" cy="19.5" rx="26" ry="7.5"/></g></g></svg>'})},function(e,t){e.exports={default:DevExpress.config}},function(e,t){e.exports={default:DevExpress.ui.dxTextBox}},function(e,t){e.exports={default:DevExpress.data.DataSource}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(18);t.ExpressionType="DevExpress.DataAccess.Expression",t.IsDataAccessExpression=function(e){return e===t.ExpressionType},t.editorTypeMapper={Enum:i.editorTemplates.getEditor("combobox"),"System.String":i.editorTemplates.getEditor("text"),"System.Guid":i.editorTemplates.getEditor("guid"),"System.SByte":i.editorTemplates.getEditor("sbyte"),"System.Decimal":i.editorTemplates.getEditor("decimal"),"System.Int64":i.editorTemplates.getEditor("int64"),"System.Int32":i.editorTemplates.getEditor("int32"),"System.Int16":i.editorTemplates.getEditor("int16"),"System.Single":i.editorTemplates.getEditor("single"),"System.Double":i.editorTemplates.getEditor("double"),"System.Byte":i.editorTemplates.getEditor("byte"),"System.UInt16":i.editorTemplates.getEditor("uint16"),"System.UInt32":i.editorTemplates.getEditor("uint32"),"System.UInt64":i.editorTemplates.getEditor("uint64"),"System.Boolean":i.editorTemplates.getEditor("boolSelect"),"System.DateTime":i.editorTemplates.getEditor("date"),"DevExpress.DataAccess.Expression":i.editorTemplates.getEditor("expressionEditor")},t.getEditorType=function(e){return t.editorTypeMapper[e]||i.editorTemplates.getEditor("text")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(9),o=r(137);t.initGlobalize=function(e){var t=i.Globalize;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture&&(t.locale(e.currentCulture),o.locale&&o.locale(e.currentCulture)))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),r=(i.prototype.dispose=function(){this.selectedItem=null},i.prototype.canSelect=function(e){return!0},i);function i(t,r){var i=this;this.selectedItem=null,this.itemsFilter=function(e){e=e.name.split(".")[0];return!t||(-1!==t.indexOf(e)||o.isNumeric(e))},this.hasItems=function(e){var t=e.name.split(".")[0];return e.isList||!!r&&-1!==r.indexOf(t)},this.getActions=function(e){return e.data&&e.data.innerActions||[]},this.select=function(e){i.selectedItem&&i.selectedItem.isSelected(!1),(i.selectedItem=e).isSelected(!0)},this.showIconsForChildItems=function(){return!0}}t.ObjectStructureTreeListController=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,s=r(0),a=r(1),u=r(2),l=r(3),r=(n=u.Disposable,o(d,n),d.prototype.getClassName=function(e){if(e.className&&e.className())return e.className();e=/function (.{1,})\(/.exec(e.constructor.toString());return e&&1<e.length?e[1]:""},d.prototype.createItem=function(e,t,r,i){e=e.getInfo&&e.getInfo(),e=e&&e.filter(function(e){return e.propertyName===t})[0],r=s.unwrap(r);e&&null!==r&&"object"==typeof r&&i.push({name:t,displayName:l.getLocalization(e.displayName,e.localizationId),specifics:t,innerActions:r.innerActions,isList:!!r.push})},d.prototype.getMemberByPath=function(e,t){var t=t.split("."),r=e;return t.splice(0,1),t.forEach(function(e){r&&r[e]&&(r=s.unwrap(r[e]))}),r},d.prototype.getObjectPropertiesForPath=function(e,t,r){var i=this.getMemberByPath(e,t),o=[];if(i)if(i.push)this.createArrayItem(i,o,r);else for(var n in i)this.createItem(i,n,i[n],o);return o},d.prototype.createArrayItem=function(e,t,r){for(var i=0;i<e.length;i++){var o=s.unwrap(e[i]);t.push({name:r?r+"."+i.toString():i.toString(),displayName:s.unwrap(o.displayName||o.name),specifics:this.getClassName(o),innerActions:o.innerActions,isList:!!o.push})}},d);function d(){var e=null!==n&&n.apply(this,arguments)||this;return e.selectedPath=s.observable(""),e.selectedMember=s.observable(),e}t.ObjectStructureProviderBase=r;var c,u=(o(p,c=r),p.prototype.createArrayItem=function(e,t,r){for(var i=0;i<e.length;i++){var o=s.unwrap(e[i]),n=!1;this.listPropertyNames.forEach(function(e){!n&&o[e]&&0<s.unwrap(o[e]).length&&(n=!0)});var a=this.getClassName(o);t.push({name:r?r+"."+i.toString():i.toString(),displayName:s.unwrap(o.displayName||o.name),specifics:a,isList:n,data:o,dragData:{noDragable:!("bands"===r&&("groupheaderband"===a||"groupfooterband"===a||"detailreportband"===a)||"controls"===r||"rows"===r||"cells"===r||"subBands"===r||"Styles"===r||"Formatting Rules"===r)}})}},p.prototype.createItem=function(e,t,r,i){(!(0<this.listPropertyNames.length)||-1<this.listPropertyNames.indexOf(t))&&r&&r.push&&this.createArrayItem(s.unwrap(r),i,t)},p);function p(i,e,o,t){var n=c.call(this)||this;return n.path=s.observable(""),n.getPathByMember=t,n.listPropertyNames=e||[],n.getItems=function(t){var e,r=a.Deferred();return t.fullPath?(e=i.filter(function(e){return e.name===t.fullPath.split(".")[0]})[0],r.resolve(n.getObjectPropertiesForPath(s.unwrap(e.model),t.fullPath,e.name))):r.resolve((i||[]).map(function(e){return{name:e.name,displayName:l.getLocalization(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:s.unwrap(e.data)}})),r.promise()},n._disposables.push(n.selectedPath=s.computed({read:function(){return o()?n.path.peek()?n.getPathByMember(o()).substr(n.path.peek().length+1):n.getPathByMember(o()):null},write:function(e){var t,r;e?(t=(n.path()?n.path():e).split(".")[0],(r=i.filter(function(e){return e.name===t})[0])&&o(n.getMemberByPath(s.unwrap(r.model),n.path()?[n.path(),e].join("."):e))):o(null)}})),n}t.ObjectExplorerProvider=u;var h,r=(o(f,h=r),f);function f(r,i,o){var n=h.call(this)||this;return n.getItems=function(e){var t=a.Deferred();return e.fullPath?t.resolve(n.getObjectPropertiesForPath(s.unwrap(r),e.fullPath)):t.resolve([{name:i||s.unwrap(r.name),displayName:l.getLocalization(i||s.unwrap(r.name),o),isList:!0,specifics:r.className&&r.className(),dragData:{noDragable:!0}}]),t.promise()},n._disposables.push(n.selectedPath.subscribe(function(e){n.selectedMember(s.unwrap(n.getMemberByPath(s.unwrap(r),e)))})),n}t.ObjectStructureProvider=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.papperKindMapper={A2:{width:1654,height:2339},A3:{width:1169,height:1654},A3Extra:{width:1268,height:1752},A3ExtraTransverse:{width:1268,height:1752},A3Rotated:{width:1654,height:1169},A3Transverse:{width:1169,height:1654},A4:{width:827,height:1169},A4Extra:{width:929,height:1268},A4Plus:{width:827,height:1299},A4Rotated:{width:1169,height:827},A4Small:{width:827,height:1169},A4Transverse:{width:827,height:1169},A5:{width:583,height:827},A5Extra:{width:685,height:925},A5Rotated:{width:827,height:583},A5Transverse:{width:583,height:827},A6:{width:413,height:583},A6Rotated:{width:583,height:413},APlus:{width:894,height:1402},B4:{width:984,height:1390},B4Envelope:{width:984,height:1390},B4JisRotated:{width:1433,height:1012},B5:{width:693,height:984},B5Envelope:{width:693,height:984},B5Extra:{width:791,height:1087},B5JisRotated:{width:1012,height:717},B5Transverse:{width:717,height:1012},B6Envelope:{width:693,height:492},B6Jis:{width:504,height:717},B6JisRotated:{width:717,height:504},BPlus:{width:1201,height:1917},C3Envelope:{width:1276,height:1803},C4Envelope:{width:902,height:1276},C5Envelope:{width:638,height:902},C65Envelope:{width:449,height:902},C6Envelope:{width:449,height:638},CSheet:{width:1700,height:2200},DLEnvelope:{width:433,height:866},DSheet:{width:2200,height:3400},ESheet:{width:3400,height:4400},Executive:{width:725,height:1050},Folio:{width:850,height:1300},GermanLegalFanfold:{width:850,height:1300},GermanStandardFanfold:{width:850,height:1200},InviteEnvelope:{width:866,height:866},IsoB4:{width:984,height:1390},ItalyEnvelope:{width:433,height:906},JapaneseDoublePostcard:{width:787,height:583},JapaneseDoublePostcardRotated:{width:583,height:787},JapanesePostcard:{width:394,height:583},Ledger:{width:1700,height:1100},Legal:{width:850,height:1400},LegalExtra:{width:927,height:1500},Letter:{width:850,height:1100},LetterExtra:{width:927,height:1200},LetterExtraTransverse:{width:927,height:1200},LetterPlus:{width:850,height:1269},LetterRotated:{width:1100,height:850},LetterSmall:{width:850,height:1100},LetterTransverse:{width:827,height:1100},MonarchEnvelope:{width:388,height:750},Note:{width:850,height:1100},Number10Envelope:{width:412,height:950},Number11Envelope:{width:450,height:1038},Number12Envelope:{width:475,height:1100},Number14Envelope:{width:500,height:1150},Number9Envelope:{width:388,height:888},PersonalEnvelope:{width:362,height:650},Prc16K:{width:575,height:846},Prc16KRotated:{width:575,height:846},Prc32K:{width:382,height:594},Prc32KBig:{width:382,height:594},Prc32KBigRotated:{width:382,height:594},Prc32KRotated:{width:382,height:594},PrcEnvelopeNumber1:{width:402,height:650},PrcEnvelopeNumber10:{width:1276,height:1803},PrcEnvelopeNumber10Rotated:{width:1803,height:1276},PrcEnvelopeNumber1Rotated:{width:650,height:402},PrcEnvelopeNumber2:{width:402,height:693},PrcEnvelopeNumber2Rotated:{width:693,height:402},PrcEnvelopeNumber3:{width:492,height:693},PrcEnvelopeNumber3Rotated:{width:693,height:492},PrcEnvelopeNumber4:{width:433,height:819},PrcEnvelopeNumber4Rotated:{width:819,height:433},PrcEnvelopeNumber5:{width:433,height:866},PrcEnvelopeNumber5Rotated:{width:866,height:433},PrcEnvelopeNumber6:{width:472,height:906},PrcEnvelopeNumber6Rotated:{width:906,height:472},PrcEnvelopeNumber7:{width:630,height:906},PrcEnvelopeNumber7Rotated:{width:906,height:630},PrcEnvelopeNumber8:{width:472,height:1217},PrcEnvelopeNumber8Rotated:{width:1217,height:472},PrcEnvelopeNumber9:{width:902,height:1276},PrcEnvelopeNumber9Rotated:{width:1276,height:902},Quarto:{width:846,height:1083},Standard10x11:{width:1e3,height:1100},Standard10x14:{width:1e3,height:1400},Standard11x17:{width:1100,height:1700},Standard12x11:{width:1200,height:1100},Standard15x11:{width:1500,height:1100},Standard9x11:{width:900,height:1100},Statement:{width:550,height:850},Tabloid:{width:1100,height:1700},TabloidExtra:{width:1169,height:1800},USStandardFanfold:{width:1488,height:1100}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(3);function o(e){if(!e)return!1;var t="\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60-\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E87-\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA-\\u0EAB\\u0EAD-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5-\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC";return new RegExp("^["+t+"_]["+t+"_\\d]*$").test(e)}t.validateName=o,t.replaceInvalidSymbols=function(e){return e.replace(/[\W_]+/g,"_")},t.nameValidationRules=[{type:"custom",validationCallback:function(e){return o(e.value)},get message(){return i.getLocalization("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}}]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(1),r=(i.prototype._patchRequest=function(e,t){if(t)for(var r=t.peek(),i=0;i<r.length;i++){if(r[i].id===e.id&&e.id)return void(e.ref=void 0);if(r[i].ref===e.ref&&e.ref)return void(e.id=void 0)}},i.prototype._beforeFieldListCallback=function(t,r){return!!this._extenders&&this._extenders.some(function(e){return e.beforeItemsFilled(t,r)})},i.prototype._afterFieldListCallBack=function(t,r){this._extenders&&this._extenders.forEach(function(e){e.afterItemsFilled&&e.afterItemsFilled(t,r)})},i);function i(e,o,t){var n=this;this._extenders=t,this.getItems=function(t){var r=a.Deferred(),i=[];return n._beforeFieldListCallback(t,i)?r.resolve(i):o&&!t.fullPath?(i.push.apply(i,a.map(o(),function(e){return{name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}}})),n._afterFieldListCallBack(t,i),r.resolve(i)):(n._patchRequest(t,o),e(t).done(function(e){i.push.apply(i,e),n._afterFieldListCallBack(t,i),r.resolve(i)}).fail(function(e){return r.reject(e)})),r.promise()}}t.FieldListProvider=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(0),s=r(1),u=r(183),r=r(46),l={render:function(e){var t=s("<i />").addClass("dx-icon");e.model.iconClass?(t.addClass(e.model.iconClass),t.addClass("dx-icon-"+e.model.iconClass),t.addClass("dx-icon-dxrd")):e.model.icon&&t.addClass(e.model.icon),e.model.icon&&t.attr("data-bind","template: '"+e.model.icon+"'");var r=t.get(0);s(e.container).append(r),setTimeout(function(){a.dataFor(r)||a.applyBindings(e.model,r)},1)}},o=(n=u.default,o(d,n),d.prototype._getContentData=function(){var e=n.prototype._getContentData.call(this);return a.utils.extend(e,{iconClass:this.option("iconClass")})},d.prototype._optionChanged=function(e){"iconClass"===e.name?(this._updateContent(),this._updateAriaLabel()):n.prototype._optionChanged.call(this,e)},d);function d(e,t){return t.template=l,n.call(this,e,t)||this}t.dxButtonWithTemplate=o,r.default("dxButtonWithTemplate",o)},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,r=r(2),o=(n=r.Disposable,o(a,n),a.prototype.dispose=function(){this._handlers=[]},a.prototype.call=function(t,r){this._handlers.filter(function(e){return e.type===t}).forEach(function(e){return e.value(r)})},a.prototype.addHandler=function(e,t){this._handlers.push({type:e,value:t})},a.prototype.removeHandler=function(t,r){var e=this._handlers.filter(function(e){return e.type===t&&e.value===r})[0],e=this._handlers.indexOf(e);-1!==e&&this._handlers.splice(e,1)},a);function a(){var e=null!==n&&n.apply(this,arguments)||this;return e._handlers=[],e}t.EventManager=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(1),o=r(106),n=r(30),a=r(4),s=r(9),r=(u.prototype.getControlInfo=function(e){return this.controlsMap[e]||null},u.prototype.getControlType=function(e){e=n.getTypeNameFromFullName(e["@ControlType"]||"");return this.controlsMap[e]?e:"Unknown"},u.prototype.createControl=function(e,t,r){var i=this.getControlType(e);return new(this.controlsMap[i]&&this.controlsMap[i].type||o.ElementViewModel)(e,t,r)},u.prototype.registerControl=function(e,t){void 0!==t.isToolboxItem&&(t.nonToolboxItem=!t.isToolboxItem),Object.defineProperty(t,"isToolboxItem",{get:function(){return!t.nonToolboxItem},set:function(e){t.nonToolboxItem=!e},enumerable:!0,configurable:!0}),this.controlsMap[e]=t,this.controlsMap[e].info=a.extend(!0,[],t.info)},u.prototype._getPropertyInfo=function(e,t,r){var i=e.filter(function(e){return s.getLocalization(e.displayName,e.localizationId)===t[r]||e.propertyName===t[r]||e.modelName==="@"+t[r]||e.modelName===t[r]})[0];if(r===t.length-1)return i||null;if(i.info)return this._getPropertyInfo(i.info,t,r+1);if(i.from){var o=null;try{o=i.from({})}catch(e){return null}e=o.getInfo&&o.getInfo();if(e)return this._getPropertyInfo(e,t,r+1)}return null},u.prototype.getPropertyInfo=function(e,t){var r=t;return i.isArray(t)||(r=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,r,0)},u);function u(){this.controlsMap={}}t.ControlsFactory=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),o=r(30);function n(e){var t=(e||"").split(","),r=i.observable(e);return 3===t.length?r=i.observable("rgb("+t.join(", ")+")"):4===t.length&&(e=Math.round(parseFloat(t[0])/255*100)/100,t.shift(),t.push(e.toString()),r=i.observable("rgba("+t.join(", ")+")")),r}function a(e){var t=(e||"").split(", "),r=e;return 3===t.length?(t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],r=t.join(",")):4===t.length&&(e=Math.round(255*parseFloat(t[3])),t.pop(),t[0]=t[0].split("(")[1],r=e.toString()+","+t.join(",")),r}t.floatFromModel=function(e){return i.observable(null==e?null:parseFloat(e))},t.fromEnum=function(e){var t=o.getShortTypeName(e),r=this.valuesArray&&this.valuesArray.filter(function(e){return e.value==t})[0];return i.observable(this.values&&void 0!==this.values[t]||r?t:e)},t.parseBool=function(e){return i.observable(void 0!==e?"true"===String(e).toLowerCase():e)},t.colorFromString=n,t.saveAsInt=function(e){return Math.round(e).toString()},t.colorToInt=function(e){return e=a(e).split(","),(parseInt(e[0])<<24)+(parseInt(e[1])<<16)+(parseInt(e[2])<<8)+parseInt(e[3])},t.intToColor=function(e,t){void 0===t&&(t=!0);var r=Math.round(e>>16&255),i=Math.round(e>>8&255),o=Math.round(255&e);return n((t?[Math.round(e>>24&255),r,i,o]:[r,i,o]).join(", "))()},t.colorToString=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),s=r(1),u=r(107),l=r(7),d=r(5);a.bindingHandlers.dxCollectionEditor={init:function(e,t,r,i,o){var t=t(),n=new u.CollectionEditorViewModel(t,i.disabled),i=l.getTemplate(t.editorTemplate||"#dx-collectioneditor"),i=s(i),t=t.info&&t.info()&&t.info().template||t.template;t?(t=l.getTemplate(t),i.find(".dx-collection-item").append(s(t))):i.find(".dx-collection-item").append(s(e).children());i=s(e).append(i),o=o.createChildContext(n);return a.applyBindings(o,i.children()[0]),d.addDisposeCallback(e,function(){return n.dispose()}),{controlsDescendantBindings:!0}}}},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(1),s=r(108),u=r(3),l=r(14),r=r(46),o=(n=s.dxEllipsisEditor,o(d,n),d.prototype._getDisplayValue=function(){var e=this.option("placeholderId");return this.option("value")&&e?u.getLocalization(e,{Image:"AnalyticsCoreStringId.ImagePicker_Placeholder",File:"AnalyticsCoreStringId.FilePicker_Placeholder"}[e]):this.option("value")},d.prototype._handleResult=function(e){this.option("useFormat")&&this.option("format",e.format),this.option("value",e.content)},d.prototype._renderInput=function(e){var t=e&&a(e)||a("<div />");t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),a(this.element()).append(this._inputContainer),n.prototype._renderInput.call(this,e)},d.prototype._attachButtonEvents=function(){var t=this;this._$button.off("click"),this.option("disabled")||this._$button.on("click",function(e){e.stopPropagation(),e.preventDefault(),l.uploadFile({accept:t.option("accept")||"image/*",readMode:t.option("readMode")}).done(function(e){t._handleResult(e)})})},d.prototype._renderValue=function(){this.option("text",this._getDisplayValue()),n.prototype._renderValue.call(this)},d);function d(e,t){return t.placeholder=t.placeholder||u.getLocalization("(none)","DxDesignerStringId.None"),n.call(this,e,t)||this}t.dxFileImagePicker=o,r.default("dxFileImagePicker",o)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t=r(110);r(109),t.default&&(t.default.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(e,t,r){var i=e("../lib/oop"),o=e("./text").Mode,n=e("./criteria_highlight_rules").CriteriaHighlightRules,e=function(){this.HighlightRules=n};i.inherits(e,o),t.Mode=e}),t.default.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,r){var i=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,n=e("./doc_comment_highlight_rules").DocCommentHighlightRules,e=function(){this.$rules={start:[{token:"comment",start:"/\\*",end:"\\*/"},{token:"constant.other",regex:/(?:#(?:[^\\\#]|(?:\\.))*#?)|(?:\{[-0-9A-Fa-f]*\}?)/},{token:"string.quoted.single",regex:/N?'(?:\\.|[^'\\])*'?/},{token:"constant.numeric",regex:/[+\-]?\.?\d[\d.]*/i},{token:"support.other.aggregate",regex:/\.([a-zA-Z_]\w*)?/},{token:"keyword.operator",regex:/[+\-*/%|&^<>]|==|!=|<=|>=|In|Like|Between|And|Or|Not/i},{token:"constant.language",regex:/True|False/i},{token:"support.context.start",regex:/\[(?:[^\]\)])*\]\[/},{token:"support.variable.other",regex:/\[(?:[^\]\)\,])*\]?/},{token:"support.variable.parameter",regex:/\?\w+/},{token:"support.context.end",regex:/\]/},{token:"support.function",regex:/[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*/}],comment:[{token:"comment",regex:"\\*\\/",next:"no_regex"},{defaultToken:"comment"}]},this.embedRules(n,"doc-",[n.getEndRule("start")]),this.normalizeRules()};i.inherits(e,o),t.CriteriaHighlightRules=e}))},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(196),r=r(46),o=(n=a.default,o(s,n),s.prototype._setContentHeight=function(){this._$popupContent.css({height:"100%"})},s);function s(e,t){return n.call(this,e,t)||this}t.dxPopupWithAutoHeight=o,r.default("dxPopupWithAutoHeight",o)},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var u,l=r(0),d=r(1),n=r(198),a=r(46),s=r(4),o=(u=n.default,o(c,u),c.prototype._showDropDown=function(){var e;this._popup&&(e=d(this.element()),this._popup.option("width",e.width()),e=s.extend(!0,{},this._defaultPosition,{boundary:this._parentViewport[0],boundaryOffset:"0 20",collision:"none flip"}),this._popup.option("position",e),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),d(this._popup.content())[0].style.height="auto",this._popup._renderPosition())},c.prototype._getMaxHeight=function(){var e=d(this.element()),t=e.offset(),r=d(window).height(),e=Math.max(t.top,r-t.top-e.outerHeight());return Math.min(.5*r,e)},c.prototype._closeOutsideDropDownHandler=function(e,t){u.prototype._closeOutsideDropDownHandler.call(this,e,!0)},c.prototype._hideOnBlur=function(){return!1},c.prototype._popupConfig=function(){var e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=u.prototype._popupConfig.call(this);return this._defaultPosition=t.position,s.extend(t,{container:this._parentViewport,contentTemplate:e&&e._template,closeOnOutsideClick:!0})},c.prototype._setTitle=function(e){this.option("openOnFieldClick")&&d(this.element()).attr("title",e)},c.prototype._optionChanged=function(e){var t=this,r=e.name,e=e.value;switch(r){case"value":this._value(e),this._hasDisplayNameOption||d(this._input()).val(e),setTimeout(d.proxy(function(){t.option("opened",!1)},this),50);break;case"path":this._path(e);break;case"itemsProvider":this._itemsProvider(e);break;case"displayValue":d(this._input()).val(e),this._setTitle(e);break;default:u.prototype._optionChanged.apply(this,arguments),"opened"===r&&e&&this._showDropDown()}},c.prototype._clearValueHandler=function(){d(this._input()).val(null),u.prototype._clearValueHandler.apply(this,arguments)},c.prototype._renderPopupContent=function(){var t=this;u.prototype._renderPopupContent.call(this);var e=l.pureComputed({read:function(){return t._path()?t._path()+"."+t._value():t._value()},write:function(e){t._path()&&0<t._path().length?t._value(e.substr(t._path().length+1)):t._value(e),t.option("value",t._value())}}),r=d("<div>").addClass("dx-treelist-wrapper").get(0),i=this._createComponent(r,"dxScrollView",{scrollByThumb:!0}),o=this,n=d(i.content()),a=d(this.element());n.append(d('<div data-bind="treelist: options"></div>')[0]);var i=l.contextFor(a.get(0)),s=this.option("treeListController"),a=l.computed(function(){return{itemsProvider:t._itemsProvider(),onItemsVisibilityChanged:function(){o._popup&&o._popup._renderPosition()},selectedPath:e,treeListController:s,path:t._path}}),a=i.createChildContext({options:a});l.applyBindingsToDescendants(a,n.get(0)),d(this._popup.content()).append(r)},c);function c(e,t){var r=u.call(this,e,s.extend(t,{showClearButton:!0}))||this;r._path=l.observable(""),r._value=l.observable(""),r._parentViewport=null,r._itemsProvider=l.observable(null),r._hasDisplayNameOption=!1,r._defaultPosition=null;e=d(e);return e.addClass("dx-fieldlistpicker"),r.option("path")&&r._path(r.option("path")),r.option("value")&&r._value(r.option("value")),r.option("itemsProvider")&&r._itemsProvider(r.option("itemsProvider")),r.option("valueChangeEvent","change"),r.option("openOnFieldClick",!1===r.option("acceptCustomValue")),r._parentViewport=e.parents(".dx-designer-viewport"),"displayValue"in t&&(r._hasDisplayNameOption=!0,r.option("displayValue",t.displayValue),r._setTitle(r.option("displayValue"))),r}t.dxFieldListPicker=o,a.default("dxFieldListPicker",o)},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,u=r(0),l=r(1),a=r(2),s=r(3),d=r(6),c=r(12),p=r(25),h=r(37),f=r(55),v=r(34),g=r(73),m=r(118),x=r(19),y=r(7),b=r(5),_=r(205),C=(n=a.Disposable,o(A,n),A.prototype._createMainPopupButtons=function(e){var t=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:s.getLocalization("Save","StringId.OK"),disabled:e,onClick:function(){t.save()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:s.getLocalization("Cancel","StringId.Cancel"),onClick:function(){t.popupVisible(!1)}}},{toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:t.advancedMode,text:t.advancedModeText()}}]},A.prototype._generateOperand=function(e){return this.options().helper.serializer.deserialize(e)},A.prototype._generateSurface=function(e){e=new(e instanceof c.UnaryOperator?this.options().helper.mapper.Unary:this.options().helper.mapper.Group)(e,this,this.fieldListProvider,this.path);return e.canRemove=!1,e instanceof p.UnaryOperandSurface&&(e.operand().canRemove=!1),e},A.prototype._validateValue=function(e){try{return!(!this.options()||!this.options().helper)&&(this.options().helper.serializer.deserialize(e),!0)}catch(e){return!1}},A.prototype.change=function(e,t){this.operand=d.CriteriaOperator.create(e),this.operand.assignFrom(t.model);e=null;(t=new(e=this.operand instanceof c.UnaryOperator?this.options().helper.mapper.Unary:this.options().helper.mapper.Group)(this.operand,this,this.fieldListProvider,this.path)).canRemove=!1,t instanceof p.UnaryOperandSurface&&(t.operand().canRemove=!1),this.operandSurface(t)},Object.defineProperty(A.prototype,"helper",{get:function(){return this.options()&&this.options().helper},enumerable:!0,configurable:!0}),Object.defineProperty(A.prototype,"path",{get:function(){return this.options()&&this.options().path},enumerable:!0,configurable:!0}),A.prototype.dispose=function(){n.prototype.dispose.call(this),this.operandSurface()&&this.operandSurface().dispose()},A.prototype.onInput=function(e,t){var r=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){r.onValueChange(e.component.option("text"))},200)},A.prototype.onFocus=function(){this.textFocused(!0)},A.prototype.onBlur=function(){this.textFocused(!1),this.helper.onEditorFocusOut(this.operand)},A.prototype.cacheElement=function(e){this.editorContainer(_.default.getInstance(e.get(0)))},A.prototype.updateCriteria=function(){this.isSurfaceValid()&&(this.operand=this._generateOperand(this.value()),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(this._generateSurface(this.operand)))},A.prototype.onValueChange=function(e){var t=this;this.displayValue()!==e.trim()&&(this.displayValue(e),this.displayExpressionConverter?this.displayExpressionConverter.toRealExpression(this.path(),e).done(function(e){t.value(e),t.updateCriteria()}).fail(function(){t.value(e),t.updateCriteria()}):this.updateCriteria())},A.prototype.focusText=function(){function t(t){setTimeout(function(e){t.renderer&&t.renderer.updateText(),t.focus()},1)}var r;this.editorContainer()?t(this.editorContainer()):r=this.editorContainer.subscribe(function(e){r.dispose(),t(e)})},A);function A(t,e,r,i){void 0===r&&(r=!1);var o=n.call(this)||this;o.options=t,o._displayNameProvider=i,o._advancedMode=u.observable(!1),o.textFocused=u.observable(!1),o.aceAvailable=g.aceAvailable,o.languageHelper={getLanguageMode:function(){return"ace/mode/criteria"},createCompleters:function(e,t,r){var i=u.computed(function(){return o.path&&o.path()}),r=new m.FilterEditorCodeCompletor({editor:e,bindingContext:t,fieldListProvider:r.fieldListProvider(),path:i,getRealExpression:function(e,t){return o.displayExpressionConverter&&o.displayExpressionConverter.toRealExpression(e,t)||l.Deferred().resolve(t).promise()}});return r._disposables.push(i),[r]}},o.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},o.additionalOptions={onChange:function(e){return o.onValueChange(e.getValue())},changeTimeout:200,onFocus:function(e){return o.onFocus()},onBlur:function(e){return o.onBlur()}},o.editorContainer=u.observable(),o.textVisible=u.observable(!1),o.getPopupContainer=function(e){return x.getParentContainer(e,o.options().popupContainer)},o.timeout=null,o.animationTimeout=null,o.advancedMode=u.computed({read:function(){return o._advancedMode()},write:function(e){o.timeout&&clearTimeout(o.timeout),o.animationTimeout&&clearTimeout(o.animationTimeout),e?(o.textVisible(!0),o.timeout=setTimeout(function(){o._advancedMode(!0),o.focusText()},1),o.animationTimeout=setTimeout(function(){o.editorContainer()&&o.editorContainer().resize&&o.editorContainer().resize()},210)):(o._advancedMode(!1),o.timeout=setTimeout(function(){o.textVisible(!1)},200))}}),o.invalidMessage=function(){return s.getLocalization("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError")},o.advancedModeText=function(){return s.getLocalization("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")},o.operandSurface=u.observable(null),o.operand=null,o.popupVisible=u.observable(!1),o.buttonItems=[],o.popupService=new h.PopupService,o.rtl=r,t()&&t().helper&&(t().helper.rtl=r),o._disposables.push(o.disabled=u.computed(function(){return u.unwrap(o.options()&&o.options().disabled())})),o.value=u.observable(""),o.displayExpressionConverter=i&&new f.DisplayExpressionConverter(i),o.save=function(){var e;o.helper.onSave(o.value()),o.operandSurface()&&o.isSurfaceValid()?(e=t().helper.serializer.serialize(o.operand,!1),o.options().value(e)):o.options().value(o.value()),o.popupVisible(!1)},o.displayValue=v.wrapExpressionValue(o.path,o.value,o.displayExpressionConverter,o._disposables);i=u.computed({read:function(){var e=o.options();return e&&e.value()},write:function(e){var t=o.options();t&&t.value(e)}});o.modelDisplayValue=v.wrapExpressionValue(o.path,i,o.displayExpressionConverter,o._disposables),o.fieldListProvider=e,o.modelValueIsValid=u.computed(function(){return t()&&o._validateValue(t().value())}),o.isValid=u.computed(function(){return o._validateValue(o.value())}),o.isSurfaceValid=u.computed(function(){try{return o.options()&&o.isValid()&&o.options().helper.criteriaTreeValidator.validateModel(o.options().helper.serializer.deserialize(o.value()))}catch(e){return!1}}),o._disposables.push(i),o._disposables.push(o.modelValueIsValid),o._disposables.push(o.isValid),o._disposables.push(o.isSurfaceValid),o._disposables.push(o.popupVisible.subscribe(function(e){e?(o.value(o.options().value()),o.isSurfaceValid()?(o.operand=o._generateOperand(o.value()),o.operandSurface(o._generateSurface(o.operand))):(o.textVisible(!0),o._advancedMode(!0),o.editorContainer()&&o.focusText()),t().helper.onChange=function(){o.value(t().helper.serializer.serialize(o.operand,!1))}):(o.helper.onClosing(),o.value(null),o.operandSurface()&&o.operandSurface().dispose(),o.operandSurface(null),o.operand=null)})),o.createAddButton=function(e){return t().helper.handlers.create(e,o.popupService)},o.createChangeType=function(e){return t().helper.handlers.change(e,o.popupService)},o.createChangeProperty=function(e){return t().helper.handlers.changeProperty(e,o.popupService)},o.createChangeParameter=function(e){return t().helper.handlers.changeParameter(e,o.popupService)},o.createChangeValueType=function(e){return t().helper.handlers.changeValueType(e,o.popupService)};i=u.computed(function(){return!o.isValid()});return o._disposables.push(i),o._disposables.push(o.advancedMode),o._createMainPopupButtons(i),o}t.FilterEditor=C,u.bindingHandlers.dxFilterEditor={init:function(e,t){l(e).children().remove(),l(e).addClass("dx-popup-general");var r=y.getTemplate("dx-filtereditor"),r=l(e).append(r),i=t(),o=u.observable(u.unwrap(i.fieldListProvider)),n=[];n.push(u.computed(function(){i.options()&&i.options().itemsProvider?o(u.unwrap(i.options().itemsProvider)):o(u.unwrap(i.fieldListProvider))})),n.push(u.computed(function(){i.getDisplayNameByPath&&i.options()&&i.options().helper&&!i.options().helper.getDisplayPropertyName&&(i.options().helper.getDisplayPropertyName=i.getDisplayNameByPath)}));var a=new C(i.options,o,0<l(e).closest(".dx-rtl").length,i.displayNameProvider);return u.applyBindingsToDescendants(a,r.children()[0]),b.addDisposeCallback(r.children()[0],function(){n.forEach(function(e){return e.dispose()}),a.dispose()}),{controlsDescendantBindings:!0}}};var E,w=(o(O,E=C),O);function O(e,t,r,i,o){void 0===i&&(i=!1);var n=E.call(this,t,r,i,o)||this;n.element=e,n._contentMargins=20,n._topOffset=30,n._defaultActiveTextContentHeightPerc=25,n._defaultActiveTreeContentHeightPerc=75,n._currentActiveTextContentHeightPerc=n._defaultActiveTextContentHeightPerc,n._currentActiveTreeContentHeightPerc=n._defaultActiveTreeContentHeightPerc,n.plainContentHeightPerc=u.observable("100%"),n.textContentHeightPerc=u.observable(null),n.treeContentHeightPerc=u.observable(null);function a(){var e=s.height();n.plainContentHeightPerc(100*(1-n._topOffset/e)+"%"),e=n._contentMargins/(e-n._topOffset)*100/2,n._currentActiveTextContentHeightPerc=n._defaultActiveTextContentHeightPerc-e,n._currentActiveTreeContentHeightPerc=n._defaultActiveTreeContentHeightPerc-e,n.advancedMode()&&(n.treeContentHeightPerc(n._currentActiveTreeContentHeightPerc),n.textContentHeightPerc(n._currentActiveTextContentHeightPerc))}var s=l(e);return a(),n._disposables.push(n.advancedMode.subscribe(function(e){e?(n.treeContentHeightPerc(n._currentActiveTreeContentHeightPerc+"%"),n.textContentHeightPerc(n._currentActiveTextContentHeightPerc+"%")):(n.treeContentHeightPerc(null),n.textContentHeightPerc(null))})),window.addEventListener("resize",a),b.addDisposeCallback(e,function(){window.removeEventListener("resize",a),n.dispose()}),n}t.FilterEditorPlain=w,u.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:function(e,t){var r=new w(t.element,e.options,u.observable(e.fieldListProvider),void 0,e.displayNameProvider);return r.popupVisible(!0),e.options().value.subscribe(function(){r.popupVisible(!1),r.popupVisible(!0)}),r}},template:y.getTemplate("dx-filtereditor-plain")}),u.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:function(e,t){var r=new C(e.options,u.observable(e.fieldListProvider),void 0,e.displayNameProvider);return r.advancedMode(!0),r.popupVisible(!0),e.options().value.subscribe(function(){r.popupVisible(!1),r.popupVisible(!0)}),r}},template:y.getTemplate("dx-filtereditor-advanced")}),u.bindingHandlers.cacheElement={init:function(e,t,r,i,o){t().action(l(e))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),a=r(74),s=r(3),r=function(e,t,r,i){var o=this;this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=function(){o.value("")},this.title=n.pureComputed({read:function(){var e=o._title();return s.getLocalization(e.text,e.localizationId)},write:function(e){o._title({text:e})}}),this.value=e,this.path=t||n.observable(""),this.disabled=r||n.observable(!1),this.helper=new a.DefaultFilterEditorHelper,this._title=n.observable(i||{text:s.getLocalization("Filter Editor","DataAccessUIStringId.FiltersView")})};t.FilterStringOptions=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var l,d=r(0),n=r(2),c=r(43),a=r(102),s=r(44),u=r(104),p=r(69),h=r(4),n=(l=n.Disposable,o(f,l),f.prototype._getX=function(){return this.rtlLayout()&&this._container?this._container.rect().width-this._x()-this._width():this._x()},f.prototype._setX=function(e,t){t=t||this._width(),this.rtlLayout()&&this._container?this._x(this._container.rect().width-e-t):this._x(e)},f.prototype.getRoot=function(){return this._context},f.prototype.preInitProperties=function(e,t,r){},f.prototype.container=function(){return this.parent},f.prototype.beforeRectUpdated=function(e){return e.left=e.left<0?0:e.left,e.top=e.top<0?0:e.top,e},f.prototype.rtlLayout=function(){return!!d.unwrap(this._context.rtl)},f.prototype.getControlModel=function(){return this._control},f);function f(e,t,r){var i=l.call(this)||this;i._createSurface=function(e){return e.surface||new(e.getControlFactory().controlsMap[e.controlType].surfaceType)(e,i._context)},i.preInitProperties(e,t,r),i._control=e,i._context=t,(e.surface=i)._context&&c.createUnitProperties(e,i,r,i._context.measureUnit,i._context.zoom,function(e){i._disposables.push(e)}),i._x=i._x||d.observable(0),i._y=i._y||d.observable(0),i._width=i._width||d.observable(0),i._height=i._height||d.observable(0);r=d.pureComputed(function(){return i.container()});i._disposables.push(r),i._container=r(),i._disposables.push(r.subscribe(function(e){var t;i._container!==e&&i.rtlLayout()?(t=i._getX(),i._container=e,i._setX(t)):i._container=e}));var o=d.computed({read:function(){return i._getX()},write:function(e){i._setX(e)}}),n=i._y,a=i._width,s=i._height;i.position={top:n,left:o,width:a,height:s,lineHeight:s},i._disposables.push(o);var u=d.observable();return i._disposables.push(d.computed(function(){i._control.update()||u({top:n(),left:o(),right:o()+a(),bottom:n()+s(),width:a(),height:s()})})),i._disposables.push(i.rect=d.pureComputed({read:function(){return u()},write:function(e){e=i.beforeRectUpdated(e),i._control.update(!0);try{void 0!==e.left?i._setX(e.left,e.width):void 0!==e.width&&i._setX(o(),e.width),void 0!==e.top&&n(e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&a(e.right-o()),void 0!==e.bottom&&void 0===e.top&&s(e.bottom-n()),void 0!==e.right&&void 0!==e.left&&void 0===e.width&&a(e.right-e.left),void 0!==e.bottom&&void 0!==e.top&&s(e.bottom-e.top),void 0!==e.width&&a(e.width),void 0!==e.height&&s(e.height)}finally{i._control.update(!1)}}})),i}t.SurfaceElementArea=n;var v,n=(o(g,v=n),Object.defineProperty(g.prototype,"parent",{get:function(){return this.getControlModel().parentModel()&&this.getControlModel().parentModel().surface},enumerable:!0,configurable:!0}),g.prototype.checkParent=function(e){return this.parent===e},g.prototype._getChildrenHolderName=function(){return"controls"},g.prototype.getChildrenCollection=function(){return this._getChildrenHolderName()&&this[this._getChildrenHolderName()]||d.observableArray([])},g.prototype.updateAbsolutePosition=function(){var e,t;this.parent&&this.parent.absolutePosition?(e=this.parent.absolutePosition.x(),t=this.parent.absolutePosition.y(),e=e+this.rect().left,t=t+this.rect().top,this.absolutePosition.x(e),this.absolutePosition.y(t)):(this.absolutePosition.x(0),this.absolutePosition.y(0)),this.afterUpdateAbsolutePosition()},g.prototype.canDrop=function(){return!this.locked&&this._control.getMetaData().isContainer},g.prototype.afterUpdateAbsolutePosition=function(){},g);function g(e,t,r){var i,o=v.call(this,e,t,r)||this;return o._countSelectedChildren=d.observable(0),o.focused=d.observable(!1),o.selected=d.observable(!1),o.underCursor=d.observable(new u.HoverInfo),o.allowMultiselect=!0,o.absolutePosition=new p.Point(0,0),o.getControlModel=function(){return e},o.cssCalculator=new a.CssCalculator(e,t.rtl),o._getChildrenHolderName()&&e[o._getChildrenHolderName()]?(i=d.observableArray(),"controls"===o._getChildrenHolderName()?o._disposables.push(s.createObservableReverseArrayMapCollection(e[o._getChildrenHolderName()],i,o._createSurface)):o._disposables.push(s.createObservableArrayMapCollection(e[o._getChildrenHolderName()],i,o._createSurface)),o[o._getChildrenHolderName()]=i,o._disposables.push(o.isSelected=d.pureComputed(function(){return!(!o.focused()&&!o.selected())||i().some(function(e){return e.isSelected()})}))):o._disposables.push(o.isSelected=d.pureComputed(function(){return o.focused()||o.selected()})),o._disposables.push(o.css=d.pureComputed(function(){return h.extend({},o.cssCalculator.fontCss(),o.cssCalculator.foreColorCss(),o.cssCalculator.backGroundCss(),o.cssCalculator.textAlignmentCss())})),o._disposables.push(o.contentCss=d.pureComputed(function(){return h.extend({},o.cssCalculator.fontCss(),o.cssCalculator.foreColorCss(),o.cssCalculator.textAlignmentCss(),o.cssCalculator.angle(),o.cssCalculator.wordWrapCss(),o.cssCalculator.paddingsCss())})),o._disposables.push(d.computed(function(){o.updateAbsolutePosition()})),o._disposables.push(o.absoluteRect=d.pureComputed(function(){var e=o.rect(),t=o.absolutePosition.y(),r=o.absolutePosition.x();return{top:t,left:r,right:r+e.width,bottom:t+e.height,width:e.width,height:e.height}})),o.locked=!!e.lockedInUserDesigner&&e.lockedInUserDesigner(),o}t.SurfaceElementBase=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),i=r(71),r=(n.prototype.getInfo=function(){return i.paddingSerializationsInfo},n.prototype.isEmpty=function(){return this.toString()===n.defaultVal},n.fromString=function(e){void 0===e&&(e=n.defaultVal);e=e.split(",");return new n(parseInt(e[0]),parseInt(e[1]),parseInt(e[2]),parseInt(e[3]))},n.prototype.toString=function(){return Math.round(this.left())+", "+Math.round(this.right())+", "+Math.round(this.top())+", "+Math.round(this.bottom())},n.defaultVal="100, 100, 100, 100",n.unitProperties=["left","right"],n);function n(e,t,r,i){this.bottom=o.observable(i),this.left=o.observable(e),this.right=o.observable(t),this.top=o.observable(r)}t.Margins=r},function(e,t,r){"use strict";var i,o=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,a=r(2),s=r(45),o=(n=a.Disposable,o(u,n),u.prototype.preInitProperties=function(e,t,r){},u);function u(e,t,r){var i=n.call(this)||this;return i.preInitProperties(e,t,r),r&&(i.getInfo=function(){return r}),(t=t||new s.ModelSerializer).deserialize(i,e,r),i}t.SerializableModel=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(9);t.loadMessages=function(e){i.loadMessages(e)}},function(e,t,r){"use strict";var i=r(168),r=window.DevExpress||{};i._addAnalyticsToBundle(r),e.exports=r.Analytics},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(169),o=r(185),n=r(189),a=r(200),s=r(209),u=r(210),l=r(211),d=r(212),c=r(213),p=r(214),h=r(215),f=r(216),v=r(217);t._addAnalyticsToBundle=function(e){return e.Analytics=e.Analytics||{},e.Analytics.Internal=i,e.Analytics.Utils=o,e.Analytics.Widgets=a,e.Analytics.Widgets.Metadata=s,e.Analytics.Widgets.Internal=n,e.Analytics.Widgets.Filtering=u,e.Analytics.Widgets.TreeList=c,e.Analytics.Criteria=l,e.Analytics.Criteria.Utils=d,e.Analytics.Elements=p,e.Analytics.Elements.Metadata=h,e.Analytics.Tools=f,e.Analytics.Localization=v,e}},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(50),t(170),t(5),t(4),t(171),t(9),t(51),t(14),t(52),t(53),t(37),t(77),t(172),t(19),t(55),t(138),t(174),t(139),t(79),t(140),t(179),t(29),t(68),t(180),t(81),t(82),t(83),t(64),t(85),t(97),t(102),t(145),t(30),t(146),t(104),t(86),t(147),t(148),t(149),t(59),t(181),t(98),t(23),t(150),t(88),t(89),t(70),t(65),t(90),t(91),t(99),t(100),t(44),t(151),t(60),t(43),t(22),t(67),t(182),t(105),t(94),t(96),t(62),t(92),t(152),t(184),i(t(50)),i(t(5)),i(t(4)),i(t(9)),i(t(51)),i(t(14)),i(t(52)),i(t(53)),i(t(37)),i(t(77)),i(t(19)),i(t(55)),i(t(138)),i(t(139)),i(t(79)),i(t(140)),i(t(29)),i(t(68)),i(t(81)),i(t(82)),i(t(83)),i(t(64)),i(t(85)),i(t(97)),i(t(102)),i(t(145)),i(t(30)),i(t(146)),i(t(104)),i(t(86)),i(t(147)),i(t(148)),i(t(149)),i(t(59)),i(t(98)),i(t(23)),i(t(150)),i(t(88)),i(t(89)),i(t(70)),i(t(65)),i(t(90)),i(t(91)),i(t(99)),i(t(100)),i(t(44)),i(t(151)),i(t(60)),i(t(43)),i(t(22)),i(t(67)),i(t(105)),i(t(94)),i(t(96)),i(t(62)),i(t(92)),i(t(152))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t){e.exports={default:DevExpress.ui.themes}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t){e.exports={default:DevExpress.validationEngine}},function(e,t){e.exports={default:DevExpress.data.ArrayStore}},function(e,t){e.exports={default:DevExpress.data.CustomStore}},function(e,t){e.exports={default:DevExpress.ui.notify}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var v=r(0),g=r(1);r(8),r(8),r(8),r(8);var m=r(5),x=r(29),o=r(22),t=r(68),y=r(4);v.bindingHandlers.cssArray={update:function(e,t,r,i,o){for(var n=v.utils.unwrapObservable(t()),a=0;a<n.length;a++)v.bindingHandlers.css.update(e,function(){return n[a]})}},v.bindingHandlers.selectable={init:function(e,t,r,i,o){var n=t(),a=g(e),s=v.unwrap(n.selection),t=y.extend({filter:".dxd-selectable",distance:1},v.unwrap(n),{selecting:function(e,t){e={control:v.dataFor(t.selecting),cancel:!1,ctrlKey:e.ctrlKey};s.selecting(e),e.cancel&&g(t.selecting).removeClass("ui-selecting")},start:function(e,t){s.clickHandler(null,e),s.started=!0,e.stopPropagation()},stop:function(){s.started=!1,s.applySelection()},unselecting:function(e,t){s.unselecting(v.dataFor(t.unselecting))},classes:{"ui-selectable-helper":"dxrd-selection-content"}});a.selectable(t);var u=[],l=function(e,t){e&&v.isSubscribable(e)&&u.push(e.subscribe(function(e){a.selectable("option",t,e)}))};l(s.disabled,"disabled"),l(n.zoom,"zoom"),m.addDisposeCallback(e,function(){a.data("ui-selectable")&&a.selectable("destroy"),a=null,u.forEach(function(e){return e.dispose()})})}},v.bindingHandlers.updateTop={init:function(r,e,t,i,o){function n(e){var t=r.getBoundingClientRect().height/r.offsetHeight,t=0===e||e?e:a.prev().position().top/t+a.prev().outerHeight();a.css("top",t+"px")}var e=e(),a=g(r),s=e.subscribe(function(e){n(e)});n(e()),m.addDisposeCallback(r,function(){s.dispose()})}},v.bindingHandlers.draggable={init:function(e,t,r,i,o){var n,a,s,u,l,d,c,p,h,f=t();f&&(n=g(e),a=n.closest(".dx-designer"),s=f.containment||".dxrd-ghost-container",c={left:0,top:0},p=function(e){e.delta={left:l.left-d.left,top:l.top-d.top},e.scroll={left:u.scrollLeft()-c.left,top:u.scrollTop()-c.top}},(h=y.extend({},v.unwrap(f),{start:function(e,t){x.DragDropHandler.started(!0);n.data("ui-draggable");u=a.find(".dxrd-viewport"),l=a.find(".dxrd-ghost-container").offset(),d=a.find(s).offset(),c.left=u.scrollLeft(),c.top=u.scrollTop(),f.startDrag&&f.startDrag(v.dataFor(e.currentTarget||e.toElement))},stop:function(e,t){p(t),f.stopDrag(t,v.dataFor(e.target),e),x.DragDropHandler.started(!1)},drag:function(e,t){p(t),f.drag&&f.drag(e,t)},helper:function(e){f.helper&&f.helper(v.dataFor(e.currentTarget||e.toElement),e);e=a.find(".dxrd-drag-helper-source").clone().css({display:f.helper?"block":"none"});return e.prependTo(a.find(h.containment)),v.applyBindings(o.$root,e[0]),e}})).containment=a.find(h.containment),n.draggable(h),m.addDisposeCallback(e,function(){n.data("ui-draggable")&&n.draggable("destroy")}))}};var n,f="dxd-track-cursor";v.bindingHandlers.trackCursor={init:function(t,e,r,i,n){var o=g(t);o.addClass(f);function a(e){n.$root.selection.started&&n.$root.resizeHandler.started||d().isNotDropTarget||(n.$root.selection.dropTarget=n.$data,e.stopPropagation())}function s(e){d(y.extend(d(),{isOver:!0})),n.$root.selection.started&&n.$root.resizeHandler.started||(c=t.getBoundingClientRect())}function u(e){d(y.extend(d(),{isOver:!1}))}function l(e){var t,r,i,o;n.$root.selection.started&&n.$root.resizeHandler.started||(t=window.pageYOffset||h.scrollTop||p.scrollTop,r=window.pageXOffset||h.scrollLeft||p.scrollLeft,i=h.clientTop||p.clientTop||0,o=h.clientLeft||p.clientLeft||0,i=e.pageY-(c.top+t-i),o=e.pageX-(c.left+r-o),d(y.extend(d(),{x:o,y:i})))}var d=e(),c=t.getBoundingClientRect(),p=document.body,h=document.documentElement;t.addEventListener("mousemove",l),t.addEventListener("mouseenter",s),t.addEventListener("mouseover",a),t.addEventListener("mouseleave",u),t.addEventListener("dragover",l),m.addDisposeCallback(t,function(){t.removeEventListener("dragover",l),t.removeEventListener("mousemove",l),t.removeEventListener("mouseover",a),t.removeEventListener("mouseleave",u),t.removeEventListener("mouseenter",s),o.removeClass(f)})}},v.bindingHandlers.templates={init:function(e,t){t=g(t()).text(),t=g(t);return g(e).append(t),{controlsDescendantBindings:!0}}},v.bindingHandlers.zoom={update:function(e,t){for(var r=v.unwrap(t()||{}),i=0;i<o.cssTransform.length;i++)e.style[o.cssTransform[i]]="scale("+r+")";g(e).addClass("dxrd-transform-origin-left-top")}},v.bindingHandlers.keyDownActions=(n=new t.KeyDownHandlersManager(g(window)),{init:function(t,e){function r(e){o.processShortcut(v.unwrap(o.toolbarItems),e)}var i,o=e();v.isSubscribable(o.enabled)&&(i=o.enabled.subscribe(function(e){e&&n.bindHandler(t,r)}),m.addDisposeCallback(t,function(){return i.dispose()})),v.unwrap(o.enabled)&&n.bindHandler(t,r)}}),v.extenders.dxdnum=function(t,r){return t.subscribe(function(e){r.max?t(Math.min(e,r.max)):r.min&&t(Math.max(e,r.min))}),t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var m=r(0),x=r(1);r(8),r(8),r(8),r(8);var y=r(23),b=r(42),_=r(29),C=r(5),A=r(4);m.bindingHandlers.resizable={init:function(e,t,r,o,i){var l=t(),d=x(e),n=d.closest(".dx-designer"),s=null,c=null,u="n",p="e",h="s",f="w",v=[],g=null,t=A.extend({handles:l.handles||"all",ghost:!1,stop:function(e,t){c.each(function(e,t){var r=m.contextFor(t),i=r.$data,r=r.$root.surface(),o=x(t),n=i.rect(),a=y.getControlRect(o,i,r),a={top:(-1!==s.indexOf(u)?a:n).top,left:(-1!==s.indexOf(f)?a:n).left,width:(-1!==s.indexOf(p)||-1!==s.indexOf(f)?a:n).width,height:(-1!==s.indexOf(h)||-1!==s.indexOf(u)?a:n).height};v.push(function(){if(i.canSetRect&&!i.canSetRect(a)){var e=o.data("originalPosition"),t=o.data("originalSize");return e&&(o.css("top",e.top+"px"),o.css("left",e.left+"px")),t&&(o.css("width",t.width+"px"),o.css("height",t.height+"px")),o.removeData("originalPosition"),void o.removeData("originalSize")}i.rect(a),JSON.stringify(n)===JSON.stringify(a)&&o.css({left:n.left,top:n.top,width:n.width,height:n.height}),o.removeData("originalPosition"),o.removeData("originalSize")})}),v.forEach(function(e){return e()}),v=[],s=null,l.stopped(),l.started=!1,l.snapHelper&&l.snapHelper.deactivateSnapLines()},start:function(e){for(var t=e.originalEvent.target.classList,r=0;r<t.length;r++)"ui-resizable-handle"!==t[r]&&0===t[r].indexOf("ui-resizable-")&&(s=t[r].slice("ui-resizable-".length,t[r].length));l.started=!0,l.starting(),(c=l.$selectedNodes||x(".dxrd-viewport .dxrd-selected").filter(":visible")).each(function(e,t){var r=x(t),t=t.getBoundingClientRect();r.data("originalPosition",{top:parseFloat(r.css("top")),left:parseFloat(r.css("left"))}),r.data("originalSize",{width:t.width,height:t.height})});var i=d.offset(),e=n.find(".dxrd-ghost-container").offset();g=e?{top:i.top-e.top,left:i.left-e.left}:i,l.snapHelper&&l.snapHelper.updateSnapLines(o)},resize:function(o,e){var t,n=e.size.width-e.originalSize.width,a=e.size.height-e.originalSize.height,s=e.position.left-e.originalPosition.left,u=e.position.top-e.originalPosition.top;l.forceResize&&l.forceResize({size:new b.Size(e.size.width,e.size.height),delta:{dx:s,dy:u,dw:n,dh:a}}),o.altKey?l.snapHelper&&l.snapHelper.deactivateSnapLines():l.snapHelper&&1===c.length&&(t=y.getControlNewAbsolutePositionOnResize(l.snapHelper,g,e,{x:s,y:u,width:n,height:a}),l.snapHelper.activateSnapLines(t),d.css({left:e.originalPosition.left+t.left-g.left,top:e.originalPosition.top+t.top-g.top,width:t.right-t.left,height:t.bottom-t.top})),c.each(function(e,t){var r,i;t!==o.target&&(i=(r=x(t)).data("originalPosition"),t=r.data("originalSize"),r.css({left:i.left+s,top:i.top+u,width:t.width+n,height:t.height+a}))})}},m.unwrap(l)),a=null;l.disabled||(a=_.DragDropHandler.started.subscribe(function(e){d.resizable("option","disabled",e),e?d.children(".ui-resizable-handle").css("display","none"):d.children(".ui-resizable-handle").css("display","block")})),d.resizable(t),d.resizable().on("resize",function(e){e.stopPropagation()}),C.addDisposeCallback(e,function(){d.data("ui-resizable")&&d.resizable("destroy"),d=null,a&&a.dispose()})},update:function(e,t,r,i,o){e=x(e),i=!(!m.unwrap(t().disabled)&&!m.unwrap(i.locked));e.resizable("option","disabled",i),e.resizable("option","minHeight",m.unwrap(t().minimumHeight)||1),e.resizable("option","minWidth",m.unwrap(t().minimumWidth)||1),m.unwrap(t().handles)&&e.resizable("option","handles")!==m.unwrap(t().handles)&&e.resizable("option","handles",m.unwrap(t().handles));t=m.unwrap(t().maximumWidth);t&&e.resizable("option","maxWidth",t),i?e.children(".ui-resizable-handle").css("display","none"):e.children(".ui-resizable-handle").css("display","block")}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=r(0),s=r(1),u=r(7),l=r(105);a.bindingHandlers.dxBorderEditor={init:function(e,t,r,i,o){s(e).children().remove();var n=u.getTemplate("dxrd-bordereditor"),n=s(e).append(n);return a.applyBindings({value:new l.BordersModel(t(),i.disabled)},n.children()[0]),{controlsDescendantBindings:!0}}}},function(e,t){e.exports={default:DevExpress.ui.dxButton}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(93),t(2),t(186),t(45),t(153),t(3),t(26),t(187),t(188),t(154),t(155),t(84),t(66),t(87),i(t(93)),i(t(2)),i(t(45)),i(t(153)),i(t(3)),i(t(26)),i(t(154)),i(t(155)),i(t(84)),i(t(66)),i(t(87))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(21),t(107),t(156),t(108),t(157),t(72),t(61),t(80),t(7),t(40),t(109),t(158),t(73),t(58),t(47),t(57),t(41),t(111),t(112),t(35),t(114),t(47),t(34),t(115),t(116),t(56),t(117),t(48),t(118),t(126),t(159),t(197),t(156),t(128),t(129),t(160),t(199),t(141),i(t(21)),i(t(107)),i(t(108)),i(t(157)),i(t(72)),i(t(61)),i(t(80)),i(t(7)),i(t(40)),i(t(73)),i(t(58)),i(t(47)),i(t(57)),i(t(41)),i(t(111)),i(t(112)),i(t(35)),i(t(114)),i(t(47)),i(t(34)),i(t(115)),i(t(116)),i(t(56)),i(t(117)),i(t(48)),i(t(118)),i(t(126)),i(t(159)),i(t(128)),i(t(129)),i(t(160))},function(e,t){e.exports={default:""}},function(e,t){e.exports={default:"/mode-sql"}},function(e,t){e.exports={default:"/mode-text"}},function(e,t){e.exports={default:"/mode-json"}},function(e,t){e.exports={default:"/theme-ambiance"}},function(e,t){e.exports={default:"/theme-dreamweaver"}},function(e,t){e.exports={default:DevExpress.ui.dxPopup}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=r(0),f=r(1),v=r(112),g=r(35),m=r(7),x=r(114),y=r(127),b=r(4);h.bindingHandlers.treelist={init:function(i,e,t,r,o){function n(){var e=h.unwrap(c),t=f(i).closest(".dx-scrollview");(t=y.default.getInstance(t.get(0)))&&t.update(),e.onItemsVisibilityChanged&&e.onItemsVisibilityChanged()}function a(t){u&&u.dispose();var e,r=t.treeListController||new g.TreeListController;(t.treeListController=r).dragDropHandler=r.dragDropHandler||o.$root.fieldDragHandler,t.factory=t.factory||new v.DefaultTreeListItemFactory,t.itemsProvider=h.unwrap(t.itemsProvider),t.pageSize=t.pageSize||-1,l&&l.dispose(),t&&t.itemsProvider&&(t.rtl||(t.rtl=0<f(i).closest(".dx-rtl").length),u=h.computed(function(){var e=h.unwrap(t.path);return Array.isArray(e)?e:e?e.split("."):[]}),l=t.factory.createRootItem(t,u,n,t.rtl),e=t.templateHtml||m.getTemplate("dx-treelist"),r.root&&(r.searchEnabled=!0,r.searchOptions=r.searchOptions||new x.TreeListSearchOptions,r.root(l)),e=f(i).html(e),s=o.createChildContext(l),h.applyBindings(s,e.children()[0]),d&&h.utils.domNodeDisposal.removeDisposeCallback(i,d),d=function(){l&&l.dispose(),l=null,p&&p.dispose(),u&&u.dispose(),d=null,h.utils.domNodeDisposal.removeDisposeCallback(i,d)},h.utils.domNodeDisposal.addDisposeCallback(i,d))}var s,u,l=null,d=null,c=e(),e=h.unwrap(c);a(b.extend({},e));var p=null;return h.isSubscribable(c)?p=c.subscribe(function(e){e&&a(b.extend({},e))}):h.isSubscribable(c.itemsProvider)&&(p=c.itemsProvider.subscribe(function(e){e&&a(b.extend({},c))})),{controlsDescendantBindings:!0}}},h.bindingHandlers.treeListSearchPanel={init:function(e,t,r,i,o){var n=t(),a=h.unwrap(n.template),t=h.unwrap(n.modelType),n=h.unwrap(n.controllers);return Array.isArray(n)||(n=[n]),x.TreeListSearchViewModel.createController(e,n,t,a),{controlsDescendantBindings:!0}}}},function(e,t){e.exports={default:DevExpress.ui.dxDropDownBox}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(7).SvgTemplatesEngine.addTemplates({"dxrd-bordereditor":"<div class=\"bordereditor-content\"> \x3c!-- ko with: value--\x3e <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-none\" data-bind=\"template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom() && !left() && !top() && !right()), 'dxrd-disabled-button': disabled }, click: function() { setNone() }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all right-margin\" data-bind=\"template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom() && left() && top() && right()), 'dxrd-disabled-button': disabled }, click: function() { setAll() }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-left\" data-bind=\"template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-top\" data-bind=\"template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-right\" data-bind=\"template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }\"></div> <div class=\"bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-bottom\" data-bind=\"template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }\"></div> \x3c!-- /ko --\x3e</div>","dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value }"></div>',"dxrd-colorpicker":"<div data-bind=\"dxColorBox: { value: displayValue, editAlphaChannel: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flipfit', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }\"></div>","dxrd-expressionstring":'\x3c!-- ko if: $data.value() --\x3e <div data-bind="dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })"></div> \x3c!-- /ko --\x3e',"dxrd-field":'\x3c!-- ko displayNameExtender: { path: path, dataMember: value } --\x3e \x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-filterstring":'\x3c!-- ko if: $data.value() --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }"></div> \x3c!-- /ko --\x3e',"dxrd-filterstringgroup":'\x3c!-- ko if: $data.value() --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }"></div> \x3c!-- /ko --\x3e',"dxrd-formatstring":'<div data-bind="dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }"></div>',"dxrd-guid":'<div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: (validationRules || []) }"></div>',"dxrd-emptyHeader":" ","dxrd-objectEditorContent":"\x3c!-- ko if: $data.visible() && $data.editorCreated() --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-objectEditor":'<div data-bind="dxPropertyGrid: { target: ko.observable($data), level: $parent.level, textToSearch: $parent.textToSearch }"></div>',"dxrd-commonCollectionItem":'<div data-bind="dxPropertyGrid: { target: value, level: editor.level + 1, parentDisabled: editor.disabled }"></div>',"dxrd-objectVisitor":'\x3c!-- ko if: options --\x3e <div data-bind="treelist: options"></div> \x3c!-- /ko --\x3e',"dxd-snap-lines-holder":'<div class="dxd-snap-lines-holder"> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[0].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[1].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[2].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[3].transform() }"></div> </div>',"dxrd-surface-template-base":'\x3c!-- ko ifnot: isLoading --\x3e \x3c!-- ko with: surface --\x3e <div class="dxrd-surface-wrapper" data-bind="template: templateName, click: function(_, e) { !$root.selection.disabled() && $root.selection.clickHandler($data, e); e.stopPropagation(); }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"> <div style="text-align: center; padding-top: 25%;"> <div data-bind="dxLoadIndicator: { visible: isLoading() }"></div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-designer":'<div data-bind="css: surfaceClass($element)"> <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-scrollbar-color" data-bind="visible: (!$data.designMode || designMode()), cssArray: [$data.rootStyle, { \'dx-rtl\' : $data.rtl, \'dx-ltr\': !$data.rtl }]"> \x3c!-- ko foreach: parts --\x3e \x3c!-- ko template: { name: templateName, data: model }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: ($data.addOns) --\x3e \x3c!-- ko foreach: addOns --\x3e \x3c!-- ko template: { name: templateName, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-collectionactions-template":'<div class="dxrd-action-items-container"></div> <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }"></div> <div data-bind="dxPopup: { width: 235, height: \'auto\', position: { my: $root.rtl ? \'left top\': \'right top\', at: \'bottom\', of: (\'#\' + id) }, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible }"> \x3c!-- ko foreach: actions --\x3e <div class="dxrd-action-item dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: clickAction, css: { \'dxrd-disabled-button\': disabled }"> <div class="dxrd-action-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-menubutton-template-base":'<div class="dxrd-menu-container" style="position:relative; width:0; height:100%"></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place" style="width:54px;"></div> <div class="dxrd-menu-button-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: \'dxrd-svg-menu-menu\', css: {\'dxd-state-active\': appMenuVisible }"></div> <div class="dxd-menu-back-color dxd-back-primary2" data-bind="dxPopup: { width: 250, height: \'100%\' , position: $data.rtl ? { my: \'right top\' , at: \'left top\' , offset: \'-10 0\' } : { my: \'left top\' , at: \'right top\' , offset: \'10 0\' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, closeOnOutsideClick: function(e) { var buttonClassName = \'dxrd-menu-button-image\'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible }"> <div class="dxrd-menu-break dxd-popup-back-color dxd-back-primary2"></div> \x3c!-- ko foreach: actionLists.menuItems --\x3e <div class="dxrd-menu-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { \'dxrd-disabled-button\': disabled }, visible: visible"> <div class="dxrd-menu-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> <div class="dxrd-menu-item-text" data-bind="text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}"></div> <div class="dxrd-menu-item-separator" data-bind="visible: $data.hasSeparator"></div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-top-grid":'\x3c!-- ko if: popularVisible --\x3e <div class="dx-fieldset"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: $root.actionsGroupTitle()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> \x3c!-- ko foreach: (contextActions || []) --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if($data.disabled && !$data.disabled() || !$data.disabled) { clickAction($root.editableObject()); } }, css: { \'dxrd-disabled-button\': $data.disabled && $data.disabled() }, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible)"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko with: popularProperties --\x3e <div style="position: relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dx-propertygrid-searchbox":"<div class=\"dx-property-grid-search-group dx-property-gread-search-collapsed\" data-bind=\"css: { 'dx-property-gread-search-collapsed': !isSearching() }\"> <div class=\"dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2\" data-bind=\"css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }\"> </div> <div class=\"dx-property-grid-search-box\" data-bind=\"dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }\"></div> </div>","dxrd-propertiestab":'<div class="dxrd-properties-wrapper" data-bind="visible: active() && visible()"> <div style="height:100%" class="dxd-text-primary"> <div class="dxrd-right-panel-header"> <span data-bind="text: text"></span> </div> \x3c!-- ko with: model --\x3e \x3c!-- ko if: $root.controlsStore.visible() --\x3e <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-sorting-actions-group" data-bind="css: { \'dx-property-gread-search-collapsed\': isSearching }"> <div class="dxrd-properties-focused-item" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: \'dxrd-svg-properties-sortingbyalphabet\', iconClass: \'image-sortingbyalphabet\' }"></div> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: \'dxrd-svg-properties-sortingbygroups\', iconClass: \'image-sortingbygroups\' }"></div> </div> </div> \x3c!-- ko template: \'dx-propertygrid-searchbox\' --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e <div class="dxrd-properties-grid dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }, styleunit: { top: $root.controlsStore.visible() ? 80 : 40 }"> \x3c!-- ko template: { name: \'dxrd-top-grid\', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } } --\x3e \x3c!-- /ko --\x3e <div data-bind="visible: isSortingByGroups"> \x3c!-- ko foreach: groups --\x3e <div class="dx-fieldset" data-bind="visible: visible"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> \x3c!-- ko ifnot: editorsCreated --\x3e <div class="dx-accordion-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: !editorsCreated() }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorsRendered() --\x3e <div data-bind="visible: editorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: editors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dx-fieldset dxd-back-primary" data-bind="visible: !isSortingByGroups()"> <div data-bind="dxLoadIndicator: { visible: !allEditorsCreated() }"></div> \x3c!-- ko if: $data.editorsRendered() --\x3e <div data-bind="visible: allEditorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: $data.getEditors() --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> \x3c!-- ko template: \'dx-propertygrid-popupservice\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-propertygrid-popupservice":"<div data-bind=\"dxPopup: { width: 250, height: 'auto', position: $data.rtl ? { my: 'left top', at: 'right top', of: popupService.target, collision: 'flipfit' } : { my: 'right top', at: 'left top', of: popupService.target, collision: 'flipfit' }, container: $root.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, shading: false, visible: popupService.visible }\"> <div data-options=\"dxTemplate: { name: 'content' }\"> <div class=\"dxrd-editor-menu-caption dxd-text-primary\" data-bind=\"text: popupService.title, visible: popupService.title\"></div> <div class=\"dxd-button-back-color\" data-bind=\"dxMenu: { dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }\"> <div class=\"dxrd-editor-menu-item dxd-back-highlighted dxd-state-normal\" data-options=\"dxTemplate: { name: 'item' }\" data-bind=\"dxclick: action, css: { 'dxrd-editor-menu-item-separator dxd-border-primary': $parent.popupService.actions().length > 1 && $index === ($parent.popupService.actions().length - 1) }\"> <span class=\"dxd-text-primary dx-menu-item-text\" data-bind=\"attr: { title: title }, text: title\"></span> <div class=\"dx-menu-item-popout-container\" data-bind=\"visible: $data.items && $data.items.length\"><div class=\"dx-menu-item-popout\"></div></div> \x3c!--ko if: $data.customTemplate--\x3e \x3c!--ko template: $data.customTemplate--\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e </div> </div> </div> </div>","dx-right-panel-lightweight":'<div class="dxrd-right-panel dx-shadow dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: tabPanel.width }, css: tabPanel.cssClasses(), resizable: tabPanel.getResizableOptions($element, \'1px\', 325)"> \x3c!-- ko foreach: tabPanel.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-right-panel-template-base":'<div class="dx-shadow dxd-border-secondary dxrd-tab-panel-wrapper" data-bind="styleunit: { width: tabPanel.headerWidth }, css: tabPanel.cssClasses({\'dxrd-tab-panel-border\': !tabPanel.collapsed()})"> <div class="dxrd-right-panel-collapse dxd-back-primary dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="styleunit: { width: tabPanel.headerWidth }, css: tabPanel.cssClasses(), dxclick: function() { tabPanel.collapsed(!tabPanel.collapsed()); }, attr: { title: tabPanel.toggleCollapsedText }"> <div class="dxrd-right-panel-collapse-image" data-bind="css: tabPanel.toggleCollapsedImage().class, template: tabPanel.toggleCollapsedImage().template"></div> </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: tabPanel.width }, css: tabPanel.cssClasses(), resizable: tabPanel.getResizableOptions($element, \'50px\', 340)"> \x3c!-- ko foreach: tabPanel.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabPanel.cssClasses()"> \x3c!-- ko foreach: tabPanel.tabs --\x3e <div class="dxrd-tab-item dxd-side-panel-tab-back-color dxd-back-highlighted" data-bind="dxclick: function(s) { $parent.tabPanel.selectTab({ model: s }) }, css: { \'dxd-state-active dxd-state-no-hover\': active, \'dxrd-tab-item-disabled\': disabled }, attr: { title: text }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}"> </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-toolbar-template-base":'<div class="dxrd-toolbar-wrapper"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.toolbarItems }"></div> </div>',"dxrd-toolbar-tmplt":"\x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class=\"dxrd-toolbar-item\" data-bind=\"visible: visible\"> <div data-bind=\"template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { class: 'dxrd-toolbar-item-image dxd-button-back-color dxd-state-normal dxd-back-highlighted ' + (ko.unwrap($data.imageClassName) || ''), title: $data.displayText && $data.displayText() || text }, dxclick: function() { if((typeof $data.disabled === 'function') && !disabled() || !disabled) { clickAction($root.model && $root.model()); } }, css: {'dxrd-disabled-button': disabled, 'dxd-state-active': $data.selected }\"> </div> <div class=\"dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary\" data-bind=\"visible: $data.hasSeparator\"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: toolboxItems --\x3e <div class="dxrd-toolbox-item" data-bind="attr: { title: displayName }"> <div class="dx-background-inheritor dxd-toolbox-item-back-color dxd-back-secondary"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-zoom-select-template":'<div class="dxrd-toolbar-item-zoom" data-bind="visible: visible"> <div class="dxrd-toolbar-item-zoom-editor" data-bind="dxSelectBox: { items: zoomLevels, value: $data.zoom, displayExpr: function(val) { return Math.round((val || this.option(\'value\')) * 100) + \'%\'; }, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: onCustomItemCreating, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> </div>',"dx-editor-addons":'\x3c!-- ko if: visible --\x3e \x3c!-- ko if: !ko.unwrap($data.imageTemplateName) --\x3e <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxd-back-contrast" data-bind="dxclick: showPopup, css: editorMenuButtonCss, attr: { title: $data.hint }"> <div class="dxrd-editormenu-box-inside dxd-back-secondary"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: ko.unwrap($data.imageTemplateName) --\x3e <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color" data-bind="dxclick: showPopup, attr: { title: $data.hint }, css: editorMenuButtonCss, template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-collectioneditor":'<div class="dx-collectioneditor"> <div data-bind="dxdAccordion: { collapsed: collapsed, alwaysShow: alwaysShow }"> <div class="dx-collectioneditor-header dx-accordion-header"> <div class="dx-editor-header"> <div class="dx-field"> \x3c!-- ko if: showButtons--\x3e <div class="dx-collectioneditor-actions-wrapper"> \x3c!-- ko if: isVisibleButton(\'delete\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: remove, disabled: isDisabledButton(\'delete\'), icon: \'dxrd-svg-operations-remove\', iconClass: \'dx-image-remove\' }, attr: { title: getDisplayTextButton(\'delete\') }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: isVisibleButton(\'add\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: add, disabled: isDisabledButton(\'add\'), icon: \'dxrd-svg-operations-add\', iconClass: \'dx-image-add\' }, attr: { title: getDisplayTextButton(\'add\') }"></div> \x3c!-- /ko --\x3e <div class="dx-collectioneditor-action-separator"></div> \x3c!-- ko if: isVisibleButton(\'down\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: down, disabled: isDisabledButton(\'down\'), icon: \'dxrd-svg-operations-movedown\', iconClass: \'dx-image-movedown\' }, attr: { title: getDisplayTextButton(\'down\') }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: isVisibleButton(\'up\') --\x3e <div class="dx-collectioneditor-action" data-bind="dxButtonWithTemplate: { onClick: up, disabled: isDisabledButton(\'up\'), icon: \'dxrd-svg-operations-moveup\', iconClass: \'dx-image-moveup\' }, attr: { title: getDisplayTextButton(\'up\') }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: displayName --\x3e <div class="dx-collectioneditor-header-text dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"> <div class="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }"></div> <div class="dx-group-header-font dxd-text-primary" data-bind="text: displayName, attr: { title: displayName }"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> <div class="dx-accordion-content"> <div data-bind="dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true }"> \x3c!-- ko if: !disabled()--\x3e \x3c!-- ko if: values().length === 0 && showButtons --\x3e <div class="dx-collectioneditor-empty dxd-empty-area-placeholder-text-color dxd-text-info"> <span class="dx-collectioneditor-empty-text" data-bind="text: getDisplayTextEmptyArray()"></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: values().length !== 0 --\x3e <div class="dx-collectioneditor-items" data-bind="foreach: values"> <div data-bind="with: $parent.createCollectionItemWrapper($parents[1], $index, $element)"> <div class="dx-collectioneditor-item-container dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: $parents[1].select, css: { \'dxd-state-selected\' : $parents[1].selectedIndex() === $index() }"> <div class="dx-collection-item"></div> </div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> </div>',"dx-boolean":'<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-boolean-select":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }\"></div>","dx-commonCollection":'<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }"> </div> </div>',"dx-commonCollectionItem":'<div data-bind="dxPropertyGrid: { target: value, level: editor.level + 1, parentDisabled: editor.disabled }"></div>',"item-with-title":'<div class="dx-listitem-with-title" data-bind="text: $data.display, attr: { title: $data.display }"></div>',"dx-combobox":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) } }, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-combobox-editable":"<div data-bind=\"dxSelectBox: getOptions({ items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, placeholder: $root.dx._static.selectPlaceholder(), acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) } })\"></div>","dx-combobox-undo":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-property-editor":'<div class="dx-editor" data-bind="visible: visible"> <div class="dx-group" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-editor-header"> <div class="dx-field"> <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> \x3c!-- ko if: isComplexEditor --\x3e <div class="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }"></div> \x3c!-- ko if: !!$data.textToSearch --\x3e <div class="dx-group-header-font" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class="dx-group-header-font" data-bind="text: displayName, attr: { \'title\': displayName }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !isComplexEditor --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <div class="propertygrid-editor-displayName" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }, css: { \'dx-field-label-required\': isRequired }, style: { fontWeight: isPropertyModified() ? \'Bold\' : \'\'}"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class="propertygrid-editor-displayName" data-bind="text: displayName, attr: { \'title\': displayName }, css: { \'dx-property-required\': isRequired }, style: { fontWeight: isPropertyModified() ? \'Bold\' : \'\'}"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-field-value" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div data-bind="service: { name: \'createEditorAddOn\' }"></div> \x3c!-- ko if: templateName !== \'dx-emptyHeader\' --\x3e \x3c!-- ko lazy: { template: templateName } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- ko if: isComplexEditor --\x3e <div class="dx-editor-content dx-accordion-content"> \x3c!-- ko if: (!$data.editorCreated || editorCreated) --\x3e \x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-emptyHeader":" ","dx-date":"<div class=\"dx-datebox-container\"> <div data-bind=\" dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: { validationRules: validationRules || [] }\"></div> </div>","dx-file":"<div data-bind=\"dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled }\"></div>","dx-modificators":'<div class="dx-font-content"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"></div> \x3c!-- ko with: value --\x3e <div class="dx-field-value"> <div class="dx-font-styles-content"> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-bold" data-bind="css: { \'dxd-state-active\': bold(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { bold(!bold()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-bold\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-italic" data-bind="css: { \'dxd-state-active\': italic(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { italic(!italic()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-italic\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-underline" data-bind="css: { \'dxd-state-active\': underline(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { underline(!underline()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-underline\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-strikeout" data-bind="css: { \'dxd-state-active\': strikeout(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { strikeout(!strikeout()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--\x3e\x3c!-- /ko --\x3e</div> </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dx-image":"<div data-bind=\"dxFileImagePicker: { value: value, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }\"></div>","dx-numeric":'<div data-bind="dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-number-editor":'<div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-text":'\x3c!-- ko if: $data.validationRules --\x3e <div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.validationRules --\x3e <div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled })"></div> \x3c!-- /ko --\x3e',"dx-string-array":'<div class="dx-field" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div class="dx-string-array-container dx-texteditor dx-editor-outlined dx-multiline"> <textarea class="dx-string-array-textarea dx-texteditor-input" data-bind="value: value, disable: disabled"></textarea> </div> </div>',"dx-propertieseditor":'<div data-bind="css: { \'dx-rtl\' : rtl }"> <div class="dx-editors"> <div class="dx-fieldset"> \x3c!-- ko foreach: getEditors() --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-objectEditorContent":"\x3c!-- ko if: visible --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dx-expressioneditor-main":'<div class="dx-expression-tree"> \x3c!-- ko if: !aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }"></div> \x3c!-- /ko --\x3e <div class="dx-expressioneditor-tools"> \x3c!-- ko with: tools--\x3e <div class="dx-expressioneditor-tools-tabs"> \x3c!-- ko foreach: toolBox--\x3e <div class="dx-expressioneditor-tools-tab dxd-back-primary2" data-bind="style: { width: width }, visible: visible"> \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: { name: $data.templateName }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko--\x3e </div> \x3c!-- /ko--\x3e </div> </div>',"dx-expressioneditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: displayValue, buttonAction: function() { popupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning }"></div> \x3c!-- ko template: \'dx-expressioneditor-popup\'--\x3e \x3c!--/ko--\x3e </div>',"dx-expressioneditor-popup":'<div class="dx-expressioneditor dx-popup-general" data-bind="dxPopup: { showTitle: true, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: \'600px\', width: \'645px\', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onShown: onShown }"> \x3c!-- ko if: popupVisible --\x3e \x3c!-- ko template: "dx-expressioneditor-main" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-categories":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: content --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e <div class="dx-expressioneditor-tools-tab-category dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-category-accordion":'<div class="dx-fieldset" style="margin: 0;"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-accordion-header dx-expressioneditor-tools-tab-accordion-header dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': $data.isSelected }, dxclick: function() { $data.updateContent($data.allItems(), $data.isSelected); $parent.click($data.content) }"> <div class=" dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dx-expressioneditor-tools-tab-header" data-bind="text: displayName"></span> </div> <div class="dx-accordion-content"> \x3c!-- ko foreach: items--\x3e <div class="dx-expressioneditor-tools-tab-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': isSelected }, text: $data.display, dxclick: function() { $parent.updateContent($data.data, $data.isSelected); $parents[1].click($parent.content); }"></div> \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-description":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-expressioneditor-description dxd-text-primary" data-bind="text: content"></div> </div>',"dx-expressioneditor-fields":'<div class="dx-expressioneditor-fields"> <div data-bind="treeListSearchPanel: { controllers: [ ko.unwrap($data.parameters) ? ko.unwrap($data.parameters).treeListController : ko.unwrap($data.parameters), ko.unwrap($data.fields) ? ko.unwrap($data.fields).treeListController : ko.unwrap($data.fields) ] }"> </div> <div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko if: fields --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: fields"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.parameters --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: parameters"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-ee-treelist-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="visible: visible, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected }"> <div class="dx-treelist-item-images"> \x3c!-- ko if: hasItems --\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasItems --\x3e <div class="dx-treelist-collapsedbutton"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> </div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected"> \x3c!-- ko template: { name: \'dx-treelist-item-text-content\' } --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-selectedcontent":"\x3c!-- ko with: content --\x3e \x3c!-- ko template: $data--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-expressioneditor-collection":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: items --\x3e <div class="dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted" data-bind="text: $data.displayName || $data.text, css: { \'dx-expressioneditor-state-selected dxd-state-selected\': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }"></div> \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-collection-function":'<div class="dx-expressioneditor-collection-function"> <div class="dx-expressioneditor-collection-function-search"> <div data-bind="dxTextBox: { value: textToSearch, showClearButton: true, valueChangeEvent: \'keyup\', placeholder: $parents[2].searchPlaceholder() }"></div> </div> <div class="dx-expressioneditor-collection-function-items dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: availableItems --\x3e <div class="dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted" data-bind="css: { \'dx-expressioneditor-state-selected dxd-state-selected\': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }, searchHighlighting: { text: $data.displayName || $data.text, textToSearch: $parent.textToSearch }"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-content":"<div class=\"dx-filtereditor-tree-container\" data-bind=\"css: { 'advanced': advancedMode }\"> \x3c!-- ko template: 'dx-filtereditor-content-tree' --\x3e \x3c!-- /ko --\x3e </div> <div class=\"dx-filtereditor-text-container\" data-bind=\"css: { 'advanced': advancedMode }, visible: textVisible\"> \x3c!-- ko template: 'dx-filtereditor-content-text'--\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-content-plain":'<div class="dx-filtereditor-plain-advanced" data-bind="dxCheckBox: { value: advancedMode, text: advancedModeText }"></div> <div class="dx-filtereditor-plain-content" data-bind="style: { height: plainContentHeightPerc }"> <div class="dx-filtereditor-text-container" data-bind="css: { \'advanced\': advancedMode }, style: { height: textContentHeightPerc }"> \x3c!-- ko template: \'dx-filtereditor-content-text\'--\x3e \x3c!-- /ko --\x3e </div> <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }, style: { height: treeContentHeightPerc }"> \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-content-text":'\x3c!-- ko if: !aceAvailable --\x3e <div class="dx-filtereditor-text" data-bind="dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-filtereditor-text dx-texteditor dx-textarea dx-editor-outlined" data-bind="css: {\'dx-invalid\': !$data.isValid(), \'dx-state-focused\': textFocused }"> <div class="dx-texteditor-container"> <div class="dx-filtereditor-ace dxd-back-primary2" data-bind="dxAceEditor: { value: $data.displayValue, theme: helper.aceTheme, editorContainer: editorContainer, options: aceOptions, additionalOptions: additionalOptions }"></div> <div class="dx-texteditor-buttons-container"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-content-tree":'<div class="dx-filtereditor-tree dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', direction: \'both\' }"> \x3c!-- ko with: operandSurface --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data}--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: isSurfaceValid --\x3e <div class="dx-filtereditor-tree-lockscreen" data-bind="dxclick: function() { $data.advancedMode(true); }"> <div class="dx-filtereditor-tree-lockscreen-content"> <div class="dx-filtereditor-tree-lockscreen-content-text" data-bind="text: invalidMessage()"> </div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: modelDisplayValue, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { popupVisible(true); } }"></div> \x3c!-- ko template: \'dx-filtereditor-popup\' --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-advanced":"<div class=\"dx-filtereditor\" style=\"width: 100%; height: 100%;\" data-bind=\"style: { pointerEvents: $data.options().disabled() ? 'none' : '' }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-plain":"<div class=\"dx-filtereditor\" style=\"width: 100%; height: 100%;\" data-bind=\"style: { pointerEvents: $data.options().disabled() ? 'none' : '' }\"> \x3c!-- ko template: 'dx-filtereditor-content-plain' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-aggregate-common":'\x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.aggregatedExpression() --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">(</div> \x3c!-- ko with: aggregatedExpression--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e',"dx-filtereditor-aggregate":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: \'dx-filtereditor-aggregate-common\' }--\x3e \x3c!-- /ko --\x3e </div> <div class="criteria-operator-content"> \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-between":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: begin--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">and</div> \x3c!-- ko with: end--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-binary":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: leftOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: rightOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-common":'\x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.leftPart && $data.leftPart.condition --\x3e <div class="criteria-operator-content"> \x3c!-- ko with: leftPart--\x3e \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dx-filtereditor-function-lightweight":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="text: displayType"></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-function":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: $data.leftPart.templateName, data: $data.leftPart }--\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko foreach: rightPart --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-group":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> <div class="criteria-operator-item"> <div data-bind="service: { name: \'createChangeType\' }"></div> </div> <div data-bind="service: { name: \'createAddButton\' }"></div> </div> <div class="criteria-operator-content"> \x3c!-- ko foreach: operands --\x3e \x3c!-- ko template: { name: templateName, data: $data } --\x3e \x3c!-- /ko--\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-in":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: criteriaOperator--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.operands().length > 1--\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">(</div> <div class="criteria-operator-item"> \x3c!-- ko foreach: $data.operands() --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">,</div> \x3c!-- /ko --\x3e </div> <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.operands().length == 1--\x3e \x3c!-- ko template: { name: $data.operands()[0].templateName, data: $data.operands()[0] }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-action" data-bind="dxclick: addValue"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div> </div> </div>',"dx-filtereditor-parameter":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeParameter\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-property":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeProperty\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-unary":'\x3c!-- ko if: $data.operand().reverse --\x3e \x3c!-- ko template: {name: $data.operand().templateName, data: $data.operand() }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.operand().reverse --\x3e <div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: operand--\x3e <div class="criteria-operator-item"> \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-not":"\x3c!-- ko with: operand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-value":'<div class="criteria-operator-item" data-bind="visible: isEditable"> \x3c!-- ko if: $data.items.length === 0 --\x3e \x3c!-- ko if: $data.specifics() === "string" || $data.specifics() === "guid" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: { value: _value, onFocusOut: function() { isEditable(false); } }, focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "bool" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxLocalizedSelectBox: { dataSource: [ { val: \'True\', text: \'Yes\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_True\' }, { val: \'False\', text: \'No\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_False\' }], valueExpr: \'val\', displayExpr: \'text\', value: _value, onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "date" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: { value: _value, closeOnValueChange: true, type: \'date\', onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: getNumberEditorOptions(), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 && typeof $data.items[0] === "object" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, valueExpr: \'value\', displayExpr: \'display\', searchEnabled: true, onFocusOut: function() { isEditable(false); }}, dropDownOptions: { container: $root.getPopupContainer($element) }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 && typeof $data.items[0] !== "object" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, acceptCustomValue: true, searchEnabled: true, onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) }}"></div> \x3c!-- /ko --\x3e </div> <div class="criteria-operator-text dxd-filter-editor-text-color criteria-operator-item-value dxd-filter-editor-value-back-color" data-bind="visible: !isEditable()"> <div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: value, click: function() { isEditable(true); }, css: { \'default\': $data.isDefaultDisplay() } "></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-popup":"<div class=\"dx-filtereditor dx-popup-general\" data-bind=\"dxPopup: { showTitle: true, width: '95%', height: '95%', title: options() && options().title(), visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-create":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-change":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayType, dxclick: showPopup, css: target.css"></div>',"dx-filtereditor-changeParameter":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable " data-bind="text: target.parameterName(), dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeProperty":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayName, dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeValueType":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image-edit dx-image-filtereditor-edit">\x3c!-- ko template: \'dxrd-svg-filtereditor-edit\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-content-popups":"<div class=\"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay\" data-bind=\"dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: options().popupContainer, target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, shading: false, visible: popupService.visible }\"> \x3c!-- ko with: popupService--\x3e \x3c!-- ko with: data --\x3e \x3c!-- ko template: template--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-popup-common":'<div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: data --\x3e \x3c!-- ko if: !$data.hidden --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <span class="dx-item-content dx-list-item-content" data-bind="text: $data.displayText || $data.name, click: function() { $parent.click($data); } "></span> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-popup-treelist":'<div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-treelist-wrapper" data-bind="treelist: data"></div> </div>',"dx-format-string-list":'<div class="dx-format-string-list dxd-format-string-editor-border-color dxd-border-secondary"> <div data-bind="dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: \'single\', activeStateEnabled: false }"> <div data-options="dxTemplate: { name: \'item\' }" class="dx-theme-border-color"> <div class="dx-image-filtereditor-remove" data-bind="click: $parent.removeItem, visible: $data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> <div class="dx-format-string-list-item" data-bind="text: $data.displayName"></div> </div> </div> </div>',"dx-format-string-edit-area":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'types\')"></div> <div class="dx-format-string-formats"> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } } --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-customization"> <div class="dx-format-string-customization-add" data-bind="dxButton:{ onClick: addCustomFormat, text: getDisplayText(\'add\'), disabled: !canAddCustomFormat() }"></div> <div class="dx-format-string-customization-value dx-format-string-value dxd-back-primary" data-bind="dxTextBox: { value: formatResult, onInput: function(e) { updateInputText(\'formatResult\', e.component); } }"></div> </div> </div>',"dx-format-string-edit-area-general":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'prefix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText(\'formatPrefix\', e.component); } }"></div> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'suffix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText(\'formatSuffix\', e.component); } }"></div>',"dx-format-string":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: value, disabled: disabled, buttonAction: function() { popupVisible(true); } }"></div> <div class="dx-format-string dx-popup-general" data-bind="dxPopup: { showTitle: true, width: \'95%\', height: \'95%\', minWidth: 650, title: getDisplayText(\'title\'), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }"> <div class="dx-format-string-content"> <div class="dx-format-string-content-area-left"> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'category\')"></div> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: types, action: setType, selectedItems: selectedTypes } } --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-format-string-content-area-right"> \x3c!-- ko if: !isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area-general\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-preview-area" data-bind="css: { \'dx-format-general\': isGeneralType }"> <div class="dx-format-string-preview-area-caption dxd-text-primary" data-bind="text: getDisplayText(\'preview\')"></div> <div class="dx-format-string-preview-value dxd-format-string-editor-border-color dxd-text-primary dxd-back-primary dxd-border-secondary"> <span class="dx-format-string-preview-value-inner" data-bind="text: previewString"></span> </div> </div> </div> </div> </div> </div>',"dx-treelist-item-actions":'\x3c!-- ko foreach: actions --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: function() { clickAction($parent); }, icon: ko.unwrap($data.imageTemplateName), iconClass: $data.imageClassName, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible), disabled: $data.disabled && $data.disabled() }, attr: { title: $data.displayText && $data.displayText() || text }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-treelist-edit-action":"<div class=\"dx-treelist-action-edit dx-accordion-button\" data-bind=\"dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: function() { $parent.collapsed(!$parent.collapsed()); } }, visible: $parent.hasContent, attr: { title: $data.displayText() }\"></div>","dx-treelist-item-actions-with-edit":"\x3c!-- ko template: { name: 'dx-treelist-edit-action', data: treeListEditAction() } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-treelist-item-actions' --\x3e \x3c!-- /ko --\x3e","dx-treelist-item-ellipsis":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="styleunit: padding, click: renderNext"> <div class="dx-treelist-collapsedbutton"></div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent"> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-ellipsis-text dxd-text-accented dxd-hyperlink-color" data-bind="text: $data.text()"></div> </div> </div> </div> </div>',"dx-treelist-item":'\x3c!-- ko if: visible --\x3e \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: "dx-treelist-accordion-item" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: "dx-treelist-header-item" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-treelist-accordion-item":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true }"> \x3c!-- ko template: "dx-treelist-header-item" --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-header-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="event: { dblclick: function() { $data.dblClickHandler ? $data.dblClickHandler($data) : $data.toggleCollapsed() } }, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected() || isMultiSelected() }"> \x3c!-- ko if: $data.hasItems--\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-caption" data-bind="style: { \'padding-left\': $data.hasItems ? \'0px\': \'18px\' }"> \x3c!-- ko if: actions && actions.length > 0 --\x3e <div class="dx-treelist-action-container" data-bind="visible: isSelected"> \x3c!-- ko template: actionsTemplate() --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected, draggable: dragDropHandler"> \x3c!-- ko template: { name: \'dx-treelist-header-item-caption-content\' } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected"> \x3c!-- ko template: { name: \'dx-treelist-header-item-caption-content\' } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-item-text-content":'<div class="dx-treelist-text-wrapper"> \x3c!--ko if: treeListController.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: treeListController.textToSearch, searchOptions: treeListController.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!--ko ifnot: treeListController.searchEnabled --\x3e <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item-caption-content":'<div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> \x3c!-- ko template: { name: \'dx-treelist-item-text-content\' } --\x3e \x3c!-- /ko --\x3e',"dx-treelist-item-with-hover":'<div data-bind="visible: visible"> \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: "dx-treelist-accordion-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-accordion-item-with-hover":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true }"> \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-header-item-with-hover":'<div class="dx-background-inheritor dxd-back-highlighted dxd-state-selected"> <div class="dx-treelist-item dx-fontsize-reestablished dxd-list-item-back-color" data-bind="event: { dblclick: function() { $data.dblClickHandler ? $data.dblClickHandler($data) : $data.toggleCollapsed() }, mouseenter: mouseenter, mouseleave: mouseleave }, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected dxd-back-secondary\': isSelected() || isMultiSelected() }"> <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed, style: { \'visibility\': hasItems ? \'visible\' : \'hidden\' }"></div> <div class="dx-treelist-caption"> \x3c!-- ko if: actions && actions.length > 0 --\x3e <div class="dx-treelist-action-container" data-bind="visible: $data.isSelected() || $data.isHovered()"> \x3c!-- ko template: actionsTemplate() --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected, draggable: isDraggable ? dragDropHandler : null"> <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div> </div> </div> </div>',"dx-treelist":"<div class=\"dx-treelist dxd-text-primary\"> \x3c!-- ko template: $data.visibleItems !== undefined ? 'dx-treelist-paginate' : 'dx-treelist-common' --\x3e \x3c!-- /ko --\x3e </div>","dx-treelist-search-panel":"<div class=\"dxrd-treelist-search-panel\" data-bind=\"dxTextBox: { mode: 'search', value:value, activeStateEnabled:false, focusStateEnabled:false, hoverStateEnabled:false, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}\"></div>","dx-treelist-common":"\x3c!-- ko foreach: items --\x3e \x3c!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.collapsed() --\x3e \x3c!-- ko template: { name: 'dx-treelist', data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-treelist-paginate":"\x3c!-- ko foreach: visibleItems --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.collapsed() --\x3e \x3c!-- ko template: { name: 'dx-treelist', data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e"})},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(18),t(31),t(95),t(24),t(201),t(130),t(131),t(203),t(133),t(204),t(74),t(161),t(162),t(134),t(206),t(135),t(76),t(136);var o=t(207);t(208).registerBaseEditors(),o.registerDesignerEditors(),i(t(18)),i(t(31)),i(t(95)),i(t(24)),i(t(130)),i(t(131)),i(t(133)),i(t(74)),i(t(161)),i(t(162)),i(t(134)),i(t(135)),i(t(76)),i(t(136))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=r(0),c=r(1),u=r(7),s=r(24),p=r(5),h=r(52),l=r(9),f=r(3),v=r(127),a=r(202);d.bindingHandlers.dxPropertyGrid={init:function(e,t,r,i,o){c(e).children().remove();var n=u.getTemplate("dx-propertieseditor"),n=c(e).append(n),t=t(),a=new s.ObjectProperties(t.target,t.editorsInfo,t.level,t.parentDisabled,t.recreateEditors,t.textToSearch);return d.applyBindings(o.createChildContext(a),n.children()[0]),p.addDisposeCallback(e,function(){a.dispose()}),{controlsDescendantBindings:!0}}},d.virtualElements.allowedBindings.lazy=!0,d.bindingHandlers.lazy={init:function(i,e,o,n,a){var s=h.globalResolver,e=e();e.innerBindings&&(s=e.resolver,e=e.innerBindings);var u=!1,l=[];return c.each(e,function(e,t){var r=d.bindingHandlers[e];l.push(s.execute(function(){var e;u||(e=!1,d.computed({read:function(){!e&&r.init&&(r.init(i,function(){return t},o,n,a),e=!0),r.update&&r.update(i,function(){return t},o,n,a)},disposeWhenNodeIsRemoved:i}))},1))}),p.addDisposeCallback(i,function(){u=!0,l.forEach(function(e){return e.dispose()}),l=[]}),{controlsDescendantBindings:!0}}},d.bindingHandlers.dxdAccordion={init:function(e,t){var r=t(),i=c(e),o=i.find(".dx-accordion-content").first(),t=i.find(".dx-accordion-header,.dx-accordion-button").get(0);a.off(t,"dxclick"),a.on(t,"dxclick",function(){r.collapsed((!r.alwaysShow||!r.alwaysShow())&&!r.collapsed())}),r.collapsed()?o.hide():o.show();var n=r.collapsed.subscribe(function(e){o.slideToggle(r.timeout,function(){var e;0<(e=i.parents(".dx-scrollview")).length&&((e=v.default.getInstance(e.get(0)))&&e.update())})});p.addDisposeCallback(e,function(){return n.dispose()})}},d.bindingHandlers.dxdAccordionExt={init:function(e,t,r,i,o){function n(){var e=s.parents(".dx-scrollview");0<e.length&&((e=v.default.getInstance(e.get(0)))&&e.update())}var a=t(),s=c(e),u=s.find(".dx-accordion-content").first(),l=null;a.collapsed()&&!0===a.lazyContentRendering&&(l=u.html(),u.empty()),a.collapsed.subscribe(function(e){e?u.slideUp(a.timeout,function(){n()}):(l&&(u.html(l),d.applyBindingsToDescendants(o,u.get(0)),l=null),u.slideDown(a.timeout,function(){n()}))}),a.collapsed()?u.hide():u.show()}},d.bindingHandlers.dxLocalizedSelectBox={init:function(e,t,r,i,o){var n=t(),a=n.displayExpr;n.placeholder=n.placeholder||l.selectPlaceholder(),n.noDataText=n.noDataText||l.noDataText(),n.displayExpr=function(e){return e&&(a?f.getLocalization(c.isFunction(a)?a(e):e[a],e.localizationId):f.getLocalization(e,e.localizationId))},n.itemTemplate=function(e,t,r){var i=o.createChildContext({display:n.displayExpr(e)});c(r).children().remove();e=u.getTemplate("item-with-title"),e=c(r).append(e);return d.applyBindingsToDescendants(i,e[0]),r};var s=i.getOptions?i.getOptions(n):n;return d.bindingHandlers.dxSelectBox.init(e,function(){return s},r,i,o),{controlsDescendantBindings:!0}}},d.bindingHandlers.styleunit={update:function(r,e){e=d.utils.unwrapObservable(e()||{});c.each(e,function(e,t){t=d.utils.unwrapObservable(t)||0,r.style[e]=t+"px"})}},d.bindingHandlers.service={init:function(e,t,r,i,o){var n,a,t=d.unwrap(t()||{}),t=(n=t.name,(a=o.$parents.filter(function(e){return void 0!==e[n]})[0])?a[n]:null);t&&(t=t(i),i=o.createChildContext(t.data),d.renderTemplate(t.templateName,i,{},e,"replaceNode"))}}},function(e,t){e.exports=DevExpress.events},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var t=r(0),i=r(1),o=r(5);t.bindingHandlers.focus={init:function(t,e){var r=(e().on||e()).subscribe(function(e){e&&setTimeout(function(){i(t).find(":input").focus()},1)});o.addDisposeCallback(t,function(){r.dispose()})}},t.bindingHandlers.svgAttrs={update:function(e,t,r,i){e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink")}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=r(0),d=r(1),c=r(7),p=r(133),h=r(5);l.bindingHandlers.dxExpressionEditor={init:function(e,t,r,i,o){(a=d(e)).children().remove(),d(e).addClass("dx-popup-general");var n=t(),t=n.editorTemplateName||"dx-expressioneditor",t=c.getTemplate(t),a=a.append(t),s=null,u=new p.ExpressionEditor(l.unwrap(n.options),n.fieldListProvider,i.disabled,0<d(e).closest(".dx-rtl").length,n.displayNameProvider,n.popupVisible);l.isSubscribable(n.options)&&(s=n.options.subscribe(function(e){e&&u.koOptions(e)}));a=a.children()[0];l.applyBindings(u,a);return h.addDisposeCallback(e,function(){u.dispose(),u=null,s&&s.dispose()}),{controlsDescendantBindings:!0}}}},function(e,t){e.exports={default:DevExpress.ui.dxTextArea}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),n=r(1),a=r(7),s=r(134),u=r(5);o.bindingHandlers.dxFormatEditor={init:function(e,t){n(e).children().remove(),n(e).addClass("dx-popup-general");var r=a.getTemplate("dx-format-string"),r=n(e).append(r),t=t(),i=new s.FormatStringEditor(t.value,t.disabled,t.standardPatterns,t.customPatterns,t.actions,t.rtl,t.popupContainer);return o.applyBindings(i,r.children()[0]),u.addDisposeCallback(e,function(){i.dispose()}),{controlsDescendantBindings:!0}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(18),o=r(130),n=r(129),a=r(24),s=r(76),u=r(136),l=r(135);t.registerDesignerEditors=function(){i.editorTemplates.registerEditors({guid:{header:"dxrd-guid",editorType:o.GuidEditor},date:{header:"dx-date",editorType:n.RequiredNullableEditor},borders:{header:"dxrd-borders"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:a.PropertyGridEditor},field:{header:"dxrd-field",editorType:s.FieldListEditor},dataMember:{header:"dxrd-field",editorType:u.DataMemberEditor},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"},customColorEditor:{header:"dxrd-colorpicker",editorType:l.ColorPickerEditor},sbyte:n.createNumericEditor("System.SByte","integer"),decimal:n.createNumericEditor("System.Decimal","float"),int64:n.createNumericEditor("System.Int64","integer"),int32:n.createNumericEditor("System.Int32","integer"),int16:n.createNumericEditor("System.Int16","integer"),single:n.createNumericEditor("System.Single","float"),double:n.createNumericEditor("System.Double","float"),byte:n.createNumericEditor("System.Byte","integer"),uint16:n.createNumericEditor("System.UInt16","integer"),uint32:n.createNumericEditor("System.UInt32","integer"),uint64:n.createNumericEditor("System.UInt64","integer")})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(18),o=r(131),n=r(24);t.registerBaseEditors=function(){i.editorTemplates.registerEditors({bool:{header:"dx-boolean"},boolSelect:{header:"dx-boolean-select"},numeric:{header:"dx-numeric"},modificators:{custom:"dx-modificators"},combobox:{header:"dx-combobox"},comboboxEditable:{header:"dx-combobox-editable"},text:{header:"dx-text"},image:{header:"dx-image"},file:{header:"dx-file"},commonCollection:{custom:"dx-commonCollection"},stringArray:{header:"dx-emptyHeader",content:"dx-string-array"},font:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:o.FontEditor},objecteditor:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:n.PropertyGridEditor},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:n.PropertyGridEditorFlat}})}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(132),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(132))},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(17),t(49),t(122),t(123),t(36),t(124),t(121),t(125),t(119),t(75),t(120),t(25),i(t(17)),i(t(49)),i(t(122)),i(t(123)),i(t(36)),i(t(124)),i(t(121)),i(t(125)),i(t(119)),i(t(75)),i(t(120)),i(t(25))},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(78),t(6),t(13),t(38),t(11),t(33),t(20),t(10),t(39),t(16),t(15),t(32),t(54),t(28),t(12),i(t(78)),i(t(6)),i(t(13)),i(t(38)),i(t(11)),i(t(33)),i(t(20)),i(t(10)),i(t(39)),i(t(16)),i(t(15)),i(t(32)),i(t(54)),i(t(28)),i(t(12))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(27),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(27))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(113),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(113))},function(e,r,t){"use strict";function i(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),t(63),t(163),t(106),t(164),t(103),t(69),t(165),t(42),i(t(63)),i(t(163)),i(t(106)),i(t(164)),i(t(103)),i(t(69)),i(t(165)),i(t(42))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(71),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(71))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(101),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(101))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t(166),function(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}(t(166))}]);
|