@devexpress/analytics-core 23.2.3 → 23.2.4-build-23360-1657
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/accessibility/_accordionKeyboardHelper.d.ts +2 -2
- package/accessibility/_accordionKeyboardHelper.js +2 -2
- package/accessibility/_controlElementBase.d.ts +2 -2
- package/accessibility/_controlElementBase.js +2 -2
- package/accessibility/_controlElementWithParentHighlight.d.ts +2 -2
- package/accessibility/_controlElementWithParentHighlight.js +2 -2
- package/accessibility/_dxMutationObserver.d.ts +2 -2
- package/accessibility/_dxMutationObserver.js +2 -2
- package/accessibility/_internal.d.ts +2 -2
- package/accessibility/_internal.js +2 -2
- package/accessibility/_keyboardHelperBase.d.ts +2 -2
- package/accessibility/_keyboardHelperBase.js +2 -2
- package/accessibility/_keyboardHelperWithArrowButtonBase.d.ts +2 -2
- package/accessibility/_keyboardHelperWithArrowButtonBase.js +2 -2
- package/accessibility/_listKeyboardHelper.d.ts +2 -2
- package/accessibility/_listKeyboardHelper.js +2 -2
- package/accessibility/_rightPanelKeyboardHelperNative.d.ts +2 -2
- package/accessibility/_rightPanelKeyboardHelperNative.js +2 -2
- package/accessibility/_toolbarKeyboardHelper.d.ts +2 -2
- package/accessibility/_toolbarKeyboardHelper.js +2 -2
- package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
- package/accessibility/_treeListKeyboardHelper.js +2 -2
- package/analytics-criteria-utils.d.ts +2 -2
- package/analytics-criteria-utils.js +2 -2
- package/analytics-criteria.d.ts +2 -2
- package/analytics-criteria.js +2 -2
- package/analytics-data-internal.d.ts +2 -2
- package/analytics-data-internal.js +2 -2
- package/analytics-data-metadata.d.ts +2 -2
- package/analytics-data-metadata.js +2 -2
- package/analytics-data-utils.d.ts +2 -2
- package/analytics-data-utils.js +2 -2
- package/analytics-data.d.ts +2 -2
- package/analytics-data.js +2 -2
- package/analytics-diagram.d.ts +2 -2
- package/analytics-diagram.js +2 -2
- package/analytics-elements-metadata.d.ts +2 -2
- package/analytics-elements-metadata.js +2 -2
- package/analytics-elements-native.d.ts +2 -2
- package/analytics-elements-native.js +2 -2
- package/analytics-elements.d.ts +2 -2
- package/analytics-elements.js +2 -2
- package/analytics-internal-native.d.ts +2 -2
- package/analytics-internal-native.js +2 -2
- package/analytics-internal.d.ts +2 -2
- package/analytics-internal.js +2 -2
- package/analytics-localization-native.d.ts +2 -2
- package/analytics-localization-native.js +2 -2
- package/analytics-localization.d.ts +2 -2
- package/analytics-localization.js +2 -2
- package/analytics-resources.d.ts +2 -2
- package/analytics-resources.js +2 -2
- package/analytics-serializer-native.d.ts +2 -2
- package/analytics-serializer-native.js +2 -2
- package/analytics-tools.d.ts +2 -2
- package/analytics-tools.js +2 -2
- package/analytics-utils-native.d.ts +2 -2
- package/analytics-utils-native.js +2 -2
- package/analytics-utils.d.ts +2 -2
- package/analytics-utils.js +2 -2
- package/analytics-version.d.ts +2 -2
- package/analytics-version.js +2 -2
- package/analytics-widgets-ace.d.ts +2 -2
- package/analytics-widgets-ace.js +2 -2
- package/analytics-widgets-filtering.d.ts +2 -2
- package/analytics-widgets-filtering.js +2 -2
- package/analytics-widgets-internal-native.d.ts +2 -2
- package/analytics-widgets-internal-native.js +2 -2
- package/analytics-widgets-internal.d.ts +2 -2
- package/analytics-widgets-internal.js +2 -2
- package/analytics-widgets-metadata.d.ts +2 -2
- package/analytics-widgets-metadata.js +2 -2
- package/analytics-widgets-native.d.ts +2 -2
- package/analytics-widgets-native.js +2 -2
- package/analytics-widgets-treeList.d.ts +2 -2
- package/analytics-widgets-treeList.js +2 -2
- package/analytics-widgets.d.ts +2 -2
- package/analytics-widgets.js +2 -2
- package/analytics-wizard-internal.d.ts +2 -2
- package/analytics-wizard-internal.js +2 -2
- package/analytics-wizard.d.ts +2 -2
- package/analytics-wizard.js +2 -2
- package/bundle/_add-analytics-to-bundle.d.ts +2 -2
- package/bundle/_add-analytics-to-bundle.js +2 -2
- package/bundle/_add-devextreme-to-bundle.d.ts +2 -2
- package/bundle/_add-devextreme-to-bundle.js +2 -2
- package/bundle/_add-querybuilder-to-bundle.d.ts +2 -2
- package/bundle/_add-querybuilder-to-bundle.js +2 -2
- package/bundle/_add-to-context.d.ts +2 -2
- package/bundle/_add-to-context.js +2 -2
- package/bundle/_validator.d.ts +2 -2
- package/bundle/_validator.js +2 -2
- package/bundle/analytic-core-bundle.d.ts +2 -2
- package/bundle/analytic-core-bundle.js +2 -2
- package/bundle/query-builder-bundle.d.ts +2 -2
- package/bundle/query-builder-bundle.js +2 -2
- package/core/_actionProvider.d.ts +2 -2
- package/core/_actionProvider.js +2 -2
- package/core/_actionsProvider.interface.d.ts +2 -2
- package/core/_actionsProvider.interface.js +2 -2
- package/core/_bindings.d.ts +2 -2
- package/core/_bindings.js +7 -2
- package/core/_legacy.d.ts +2 -2
- package/core/_legacy.js +2 -2
- package/core/_metadata.d.ts +2 -2
- package/core/_metadata.js +2 -2
- package/core/_updateZoomBinding.d.ts +2 -2
- package/core/_updateZoomBinding.js +2 -2
- package/core/binding/_jsDesignerBindingCommon.d.ts +2 -2
- package/core/binding/_jsDesignerBindingCommon.js +4 -3
- package/core/binding/_jsDesignerBindingCommonOptions.d.ts +2 -2
- package/core/binding/_jsDesignerBindingCommonOptions.js +2 -2
- package/core/binding/_requestHelper.d.ts +2 -2
- package/core/binding/_requestHelper.js +2 -2
- package/core/dragDrop/_dragDropHandler.d.ts +2 -3
- package/core/dragDrop/_dragDropHandler.js +2 -2
- package/core/dragDrop/_dragHelperContent.d.ts +2 -2
- package/core/dragDrop/_dragHelperContent.js +2 -2
- package/core/dragDrop/_selectionDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_selectionDragDropHandler.js +4 -3
- package/core/dragDrop/_toolboxDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_toolboxDragDropHandler.js +2 -2
- package/core/dragDrop/_wizardDragDropHandler.d.ts +2 -2
- package/core/dragDrop/_wizardDragDropHandler.js +2 -2
- package/core/elements/area.d.ts +2 -2
- package/core/elements/area.js +2 -2
- package/core/elements/baseSurface.d.ts +2 -2
- package/core/elements/baseSurface.js +2 -2
- package/core/elements/elementViewModel.d.ts +2 -2
- package/core/elements/elementViewModel.js +2 -2
- package/core/elements/margins.d.ts +2 -2
- package/core/elements/margins.js +2 -2
- package/core/elements/paddingModel.d.ts +2 -2
- package/core/elements/paddingModel.js +2 -2
- package/core/elements/paddingModelMetaData.d.ts +2 -2
- package/core/elements/paddingModelMetaData.js +2 -2
- package/core/elements/point.d.ts +2 -2
- package/core/elements/point.js +2 -2
- package/core/elements/rectangle.d.ts +2 -2
- package/core/elements/rectangle.js +2 -2
- package/core/elements/serializableModel.d.ts +2 -2
- package/core/elements/serializableModel.js +2 -2
- package/core/elements/size.d.ts +2 -2
- package/core/elements/size.js +2 -2
- package/core/elements/size.native.d.ts +2 -2
- package/core/elements/size.native.js +2 -2
- package/core/internal/_ajaxRequestManager.d.ts +2 -2
- package/core/internal/_ajaxRequestManager.js +2 -2
- package/core/internal/_ajaxSetup.d.ts +2 -2
- package/core/internal/_ajaxSetup.js +2 -2
- package/core/internal/_arrayStores.d.ts +2 -2
- package/core/internal/_arrayStores.js +2 -2
- package/core/internal/_controlsHelper.d.ts +2 -2
- package/core/internal/_controlsHelper.js +2 -2
- package/core/internal/_cssCalculator.d.ts +2 -2
- package/core/internal/_cssCalculator.js +2 -2
- package/core/internal/_draggable.d.ts +4 -2
- package/core/internal/_draggable.js +9 -5
- package/core/internal/_editorTypeMapper.d.ts +2 -2
- package/core/internal/_editorTypeMapper.js +2 -2
- package/core/internal/_fetchRequestManager.d.ts +2 -2
- package/core/internal/_fetchRequestManager.js +3 -3
- package/core/internal/_fetchSetup.d.ts +2 -2
- package/core/internal/_fetchSetup.js +2 -2
- package/core/internal/_getNameHelpers.d.ts +2 -2
- package/core/internal/_getNameHelpers.js +2 -2
- package/core/internal/_globalize.d.ts +2 -2
- package/core/internal/_globalize.js +2 -2
- package/core/internal/_hoverInfo.d.ts +2 -2
- package/core/internal/_hoverInfo.js +2 -2
- package/core/internal/_inlineTextEdit.d.ts +3 -2
- package/core/internal/_inlineTextEdit.js +3 -2
- package/core/internal/_isDefined.d.ts +2 -2
- package/core/internal/_isDefined.js +2 -2
- package/core/internal/_ko_integration.d.ts +2 -2
- package/core/internal/_ko_integration.js +2 -2
- package/core/internal/_objectStructureControllers.d.ts +2 -2
- package/core/internal/_objectStructureControllers.js +2 -2
- package/core/internal/_objectStructureProviders.d.ts +2 -2
- package/core/internal/_objectStructureProviders.js +4 -4
- package/core/internal/_papperKindMapper.d.ts +2 -2
- package/core/internal/_papperKindMapper.js +2 -2
- package/core/internal/_processError.d.ts +2 -2
- package/core/internal/_processError.js +2 -2
- package/core/internal/_processTextEditorHotKeys.d.ts +2 -2
- package/core/internal/_processTextEditorHotKeys.js +2 -2
- package/core/internal/_requestManager.d.ts +2 -2
- package/core/internal/_requestManager.js +2 -2
- package/core/internal/_resizable.d.ts +2 -2
- package/core/internal/_resizable.js +2 -2
- package/core/internal/_resizableBinding.d.ts +2 -2
- package/core/internal/_resizableBinding.js +4 -3
- package/core/internal/_scrollProcessor.d.ts +2 -2
- package/core/internal/_scrollProcessor.js +2 -2
- package/core/internal/_stores.d.ts +2 -2
- package/core/internal/_stores.js +2 -2
- package/core/internal/_surfaceHelpers.d.ts +2 -2
- package/core/internal/_surfaceHelpers.js +2 -2
- package/core/internal/_utils.d.ts +2 -2
- package/core/internal/_utils.js +2 -2
- package/core/internal/_utils.unitsConvertation.d.ts +2 -2
- package/core/internal/_utils.unitsConvertation.js +2 -2
- package/core/internal/_validation.d.ts +2 -2
- package/core/internal/_validation.js +2 -2
- package/core/internal/ajaxSetup.d.ts +2 -2
- package/core/internal/ajaxSetup.js +2 -2
- package/core/internal/dx-versions.d.ts +2 -2
- package/core/internal/dx-versions.js +2 -2
- package/core/internal/dxtTemplate.d.ts +2 -2
- package/core/internal/dxtTemplate.js +2 -2
- package/core/internal/fetchSetup.d.ts +2 -2
- package/core/internal/fetchSetup.js +2 -2
- package/core/internal/requestManager.d.ts +2 -2
- package/core/internal/requestManager.js +2 -2
- package/core/internal/selectable.d.ts +2 -2
- package/core/internal/selectable.js +2 -2
- package/core/selection/_combinedObj.d.ts +2 -2
- package/core/selection/_combinedObj.js +2 -2
- package/core/selection/_selection.d.ts +2 -2
- package/core/selection/_selection.js +2 -2
- package/core/selection/_selectionHelpers.d.ts +2 -2
- package/core/selection/_selectionHelpers.js +2 -2
- package/core/snapLines/_snapLineSurface.d.ts +2 -2
- package/core/snapLines/_snapLineSurface.js +2 -2
- package/core/snapLines/_snapLinesCollector.d.ts +2 -2
- package/core/snapLines/_snapLinesCollector.js +2 -2
- package/core/snapLines/_snapLinesHelper.d.ts +2 -2
- package/core/snapLines/_snapLinesHelper.js +2 -2
- package/core/tools/_actionList.d.ts +2 -2
- package/core/tools/_actionList.js +2 -2
- package/core/tools/_actionListBase.d.ts +2 -2
- package/core/tools/_actionListBase.js +2 -2
- package/core/tools/_actionListBase.viewModel.d.ts +2 -2
- package/core/tools/_actionListBase.viewModel.js +2 -2
- package/core/tools/_copyPaste.d.ts +2 -2
- package/core/tools/_copyPaste.js +2 -2
- package/core/tools/_keyboardHelper.d.ts +2 -2
- package/core/tools/_keyboardHelper.js +2 -2
- package/core/tools/_tabInfoWithPropertyGrid.d.ts +2 -2
- package/core/tools/_tabInfoWithPropertyGrid.js +2 -2
- package/core/tools/actionId.d.ts +2 -2
- package/core/tools/actionId.js +2 -2
- package/core/tools/contextMenuProvider.d.ts +2 -2
- package/core/tools/contextMenuProvider.js +4 -4
- package/core/tools/toolbox.d.ts +2 -2
- package/core/tools/toolbox.js +2 -2
- package/core/utils/_arrayutils.compareArrays.d.ts +2 -2
- package/core/utils/_arrayutils.compareArrays.js +2 -2
- package/core/utils/_arrayutils.d.ts +2 -2
- package/core/utils/_arrayutils.js +4 -3
- package/core/utils/_debug.d.ts +2 -2
- package/core/utils/_debug.js +2 -2
- package/core/utils/_designerCreator.d.ts +2 -3
- package/core/utils/_designerCreator.js +10 -10
- package/core/utils/_designerInitializer.d.ts +2 -2
- package/core/utils/_designerInitializer.js +2 -2
- package/core/utils/_fieldListProvider.d.ts +2 -2
- package/core/utils/_fieldListProvider.js +2 -2
- package/core/utils/_infoMessageHelpers.d.ts +4 -2
- package/core/utils/_infoMessageHelpers.js +6 -3
- package/core/utils/_jqueryUtils.d.ts +2 -2
- package/core/utils/_jqueryUtils.js +2 -2
- package/core/utils/_koUtils.d.ts +2 -2
- package/core/utils/_koUtils.js +2 -2
- package/core/utils/_troubleshootingHelpers.d.ts +2 -2
- package/core/utils/_troubleshootingHelpers.js +2 -2
- package/core/utils/_units.d.ts +2 -2
- package/core/utils/_units.js +2 -2
- package/core/utils/_units.roundingXDecimals.d.ts +2 -2
- package/core/utils/_units.roundingXDecimals.js +2 -2
- package/core/utils/_units.unitsToPixel.d.ts +2 -2
- package/core/utils/_units.unitsToPixel.js +2 -2
- package/core/utils/_utils.ajax.d.ts +2 -2
- package/core/utils/_utils.ajax.js +2 -2
- package/core/utils/_utils.createPasswordSerializationInfo.d.ts +2 -2
- package/core/utils/_utils.createPasswordSerializationInfo.js +2 -2
- package/core/utils/_utils.d.ts +2 -2
- package/core/utils/_utils.designerPart.d.ts +2 -2
- package/core/utils/_utils.designerPart.js +2 -2
- package/core/utils/_utils.getResizableOptions.d.ts +2 -2
- package/core/utils/_utils.getResizableOptions.js +2 -2
- package/core/utils/_utils.js +2 -2
- package/core/utils/_utils.parseZoom.d.ts +2 -2
- package/core/utils/_utils.parseZoom.js +2 -2
- package/core/utils/_utils.sizeFactorType.d.ts +2 -2
- package/core/utils/_utils.sizeFactorType.js +2 -2
- package/core/utils/_utils.staticContext.d.ts +2 -2
- package/core/utils/_utils.staticContext.js +2 -2
- package/core/utils/_utils.typings.d.ts +2 -2
- package/core/utils/_utils.typings.js +2 -2
- package/core/utils/_utils.wrapModelInObservable.d.ts +2 -2
- package/core/utils/_utils.wrapModelInObservable.js +2 -2
- package/core/utils/_visitors.d.ts +2 -2
- package/core/utils/_visitors.js +2 -2
- package/core/utils/controlsFactory.d.ts +2 -2
- package/core/utils/controlsFactory.js +2 -2
- package/core/utils/parsers.d.ts +2 -2
- package/core/utils/parsers.js +2 -2
- package/core/widgets/_buttonInlineEditor.d.ts +2 -2
- package/core/widgets/_buttonInlineEditor.js +2 -2
- package/core/widgets/_dataMemberEditor.d.ts +2 -2
- package/core/widgets/_dataMemberEditor.js +2 -2
- package/core/widgets/_fieldlistpicker.d.ts +2 -3
- package/core/widgets/_fieldlistpicker.js +2 -2
- package/core/widgets/_generateIconTemplate.d.ts +2 -2
- package/core/widgets/_generateIconTemplate.js +2 -2
- package/core/widgets/_popupEditorBase.d.ts +2 -2
- package/core/widgets/_popupEditorBase.js +2 -2
- package/core/widgets/_requiredNullableEditor.d.ts +2 -2
- package/core/widgets/_requiredNullableEditor.js +2 -2
- package/core/widgets/booleanEditor.d.ts +4 -3
- package/core/widgets/booleanEditor.js +4 -4
- package/core/widgets/bordereditor/_binding.d.ts +2 -2
- package/core/widgets/bordereditor/_binding.js +2 -2
- package/core/widgets/bordereditor/_bordereditor.d.ts +2 -2
- package/core/widgets/bordereditor/_bordereditor.js +2 -2
- package/core/widgets/colorPickerEditor.d.ts +4 -3
- package/core/widgets/colorPickerEditor.js +4 -4
- package/core/widgets/dataMemberEditor.d.ts +2 -2
- package/core/widgets/dataMemberEditor.js +2 -2
- package/core/widgets/fieldListEditor.d.ts +2 -2
- package/core/widgets/fieldListEditor.js +2 -2
- package/core/widgets/popover.d.ts +8 -5
- package/core/widgets/popover.js +6 -4
- package/core/widgets/propertygrid/_controlProperties.d.ts +2 -2
- package/core/widgets/propertygrid/_controlProperties.js +2 -2
- package/core/widgets/propertygrid/_group.d.ts +2 -2
- package/core/widgets/propertygrid/_group.js +2 -2
- package/core/widgets/registerDesignerEditors.d.ts +2 -2
- package/core/widgets/registerDesignerEditors.js +2 -2
- package/core/widgets/registerDesignerEditors.native.d.ts +2 -2
- package/core/widgets/registerDesignerEditors.native.js +2 -2
- package/core/widgets/tabInfo.d.ts +2 -2
- package/core/widgets/tabInfo.js +2 -2
- package/core/widgets/tabPanel.d.ts +2 -2
- package/core/widgets/tabPanel.js +2 -2
- package/core/widgets/textAlignmentEditor/_binding.d.ts +2 -2
- package/core/widgets/textAlignmentEditor/_binding.js +2 -2
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +2 -2
- package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +2 -2
- package/diagram/_legacy.d.ts +2 -2
- package/diagram/_legacy.js +2 -2
- package/diagram/bindings.d.ts +2 -2
- package/diagram/bindings.js +2 -2
- package/diagram/controlRegistrator.d.ts +2 -2
- package/diagram/controlRegistrator.js +2 -2
- package/diagram/controlsFactory.d.ts +2 -2
- package/diagram/controlsFactory.js +2 -2
- package/diagram/dragDrop/connectingPointDragHandler.d.ts +2 -2
- package/diagram/dragDrop/connectingPointDragHandler.js +2 -2
- package/diagram/dragDrop/connectionPointDragHandler.d.ts +2 -2
- package/diagram/dragDrop/connectionPointDragHandler.js +2 -2
- package/diagram/elements/connectingPointModel.d.ts +2 -2
- package/diagram/elements/connectingPointModel.js +2 -2
- package/diagram/elements/connectingPointSurface.d.ts +2 -2
- package/diagram/elements/connectingPointSurface.js +2 -2
- package/diagram/elements/connectors/connectionPointModel.d.ts +2 -2
- package/diagram/elements/connectors/connectionPointModel.js +2 -2
- package/diagram/elements/connectors/connectionPointSurface.d.ts +2 -2
- package/diagram/elements/connectors/connectionPointSurface.js +2 -2
- package/diagram/elements/connectors/connectorModel.d.ts +2 -2
- package/diagram/elements/connectors/connectorModel.js +2 -2
- package/diagram/elements/connectors/connectorSurface.d.ts +2 -2
- package/diagram/elements/connectors/connectorSurface.js +2 -2
- package/diagram/elements/connectors/routedConnectorModel.d.ts +2 -2
- package/diagram/elements/connectors/routedConnectorModel.js +4 -3
- package/diagram/elements/connectors/routedConnectorSurface.d.ts +2 -2
- package/diagram/elements/connectors/routedConnectorSurface.js +2 -2
- package/diagram/elements/diagramElementBaseSurface.d.ts +2 -2
- package/diagram/elements/diagramElementBaseSurface.js +2 -2
- package/diagram/elements/diagramElementBaseViewModel.d.ts +2 -2
- package/diagram/elements/diagramElementBaseViewModel.js +2 -2
- package/diagram/elements/diagramElementSurface.d.ts +2 -2
- package/diagram/elements/diagramElementSurface.js +2 -2
- package/diagram/elements/diagramElementViewModel.d.ts +2 -2
- package/diagram/elements/diagramElementViewModel.js +2 -2
- package/diagram/elements/diagramModel.d.ts +2 -2
- package/diagram/elements/diagramModel.js +2 -2
- package/diagram/elements/diagramSurface.d.ts +2 -2
- package/diagram/elements/diagramSurface.js +2 -2
- package/diagram/initializer.d.ts +2 -2
- package/diagram/initializer.js +2 -2
- package/diagram/metadata.d.ts +2 -2
- package/diagram/metadata.js +2 -2
- package/diagram/utils.d.ts +2 -2
- package/diagram/utils.js +2 -2
- package/dist/css/dx-analytics.carmine.compact.css +5 -2
- package/dist/css/dx-analytics.carmine.css +5 -2
- package/dist/css/dx-analytics.common.css +8 -3
- package/dist/css/dx-analytics.contrast.compact.css +5 -2
- package/dist/css/dx-analytics.contrast.css +5 -2
- package/dist/css/dx-analytics.dark.compact.css +5 -2
- package/dist/css/dx-analytics.dark.css +5 -2
- package/dist/css/dx-analytics.darkmoon.compact.css +5 -2
- package/dist/css/dx-analytics.darkmoon.css +5 -2
- package/dist/css/dx-analytics.darkviolet.compact.css +5 -2
- package/dist/css/dx-analytics.darkviolet.css +5 -2
- package/dist/css/dx-analytics.greenmist.compact.css +5 -2
- package/dist/css/dx-analytics.greenmist.css +5 -2
- package/dist/css/dx-analytics.light.compact.css +5 -2
- package/dist/css/dx-analytics.light.css +5 -2
- package/dist/css/dx-analytics.material.blue.dark.compact.css +20 -16
- package/dist/css/dx-analytics.material.blue.dark.css +20 -16
- package/dist/css/dx-analytics.material.blue.light.compact.css +20 -16
- package/dist/css/dx-analytics.material.blue.light.css +20 -16
- package/dist/css/dx-analytics.material.lime.dark.compact.css +20 -16
- package/dist/css/dx-analytics.material.lime.dark.css +20 -16
- package/dist/css/dx-analytics.material.lime.light.compact.css +20 -16
- package/dist/css/dx-analytics.material.lime.light.css +20 -16
- package/dist/css/dx-analytics.material.orange.dark.compact.css +20 -16
- package/dist/css/dx-analytics.material.orange.dark.css +20 -16
- package/dist/css/dx-analytics.material.orange.light.compact.css +20 -16
- package/dist/css/dx-analytics.material.orange.light.css +20 -16
- package/dist/css/dx-analytics.material.purple.dark.compact.css +20 -16
- package/dist/css/dx-analytics.material.purple.dark.css +20 -16
- package/dist/css/dx-analytics.material.purple.light.compact.css +20 -16
- package/dist/css/dx-analytics.material.purple.light.css +20 -16
- package/dist/css/dx-analytics.material.teal.dark.compact.css +20 -16
- package/dist/css/dx-analytics.material.teal.dark.css +20 -16
- package/dist/css/dx-analytics.material.teal.light.compact.css +20 -16
- package/dist/css/dx-analytics.material.teal.light.css +20 -16
- package/dist/css/dx-analytics.softblue.compact.css +5 -2
- package/dist/css/dx-analytics.softblue.css +5 -2
- package/dist/css/dx-querybuilder.css +2 -2
- package/dist/js/dx-analytics-core.d.ts +30 -22
- package/dist/js/dx-analytics-core.js +2403 -2652
- package/dist/js/dx-analytics-core.min.js +3 -3
- package/dist/js/dx-querybuilder.js +2906 -3057
- package/dist/js/dx-querybuilder.min.js +3 -3
- package/dx-analytics-core-bindings.d.ts +2 -2
- package/dx-analytics-core-bindings.js +6 -4
- package/dx-analytics-core-imports.d.ts +2 -2
- package/dx-analytics-core-imports.js +2 -2
- package/dx-analytics-core-svg-bindings.d.ts +2 -2
- package/dx-analytics-core-svg-bindings.js +2 -2
- package/dx-analytics-core-svg-templates.d.ts +2 -2
- package/dx-analytics-core-svg-templates.js +3 -3
- package/dx-analytics-core-templates.d.ts +2 -2
- package/dx-analytics-core-templates.js +4 -4
- package/dx-analytics-core.d.ts +2 -2
- package/dx-analytics-core.js +2 -2
- package/dx-query-builder-bindings.d.ts +2 -2
- package/dx-query-builder-bindings.js +2 -2
- package/dx-query-builder-templates.d.ts +2 -2
- package/dx-query-builder-templates.js +2 -2
- package/dx-querybuilder-imports.d.ts +2 -2
- package/dx-querybuilder-imports.js +2 -2
- package/dx-querybuilder.d.ts +2 -2
- package/dx-querybuilder.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/less/dx-material.fix-style.less +44 -42
- package/less/dx-variable-style.less +3 -0
- package/package.json +2 -3
- package/property-grid/_legacy.d.ts +2 -2
- package/property-grid/_legacy.js +2 -2
- package/property-grid/_propertiesAccessibilityProvider.d.ts +2 -2
- package/property-grid/_propertiesAccessibilityProvider.js +2 -2
- package/property-grid/bindings.accordion.d.ts +2 -2
- package/property-grid/bindings.accordion.js +2 -2
- package/property-grid/bindings.d.ts +2 -2
- package/property-grid/bindings.js +2 -2
- package/property-grid/internal/_addon.d.ts +2 -2
- package/property-grid/internal/_addon.js +2 -2
- package/property-grid/internal/_codeResolver.d.ts +2 -2
- package/property-grid/internal/_codeResolver.js +2 -2
- package/property-grid/internal/_popupService.d.ts +2 -2
- package/property-grid/internal/_popupService.js +2 -2
- package/property-grid/localization/_localization.d.ts +3 -3
- package/property-grid/localization/_localization.js +3 -3
- package/property-grid/localization/_localizationStringIds.d.ts +2 -2
- package/property-grid/localization/_localizationStringIds.js +2 -2
- package/property-grid/localization/localization.d.ts +2 -2
- package/property-grid/localization/localization.js +2 -2
- package/property-grid/localization/localization_utils.d.ts +2 -2
- package/property-grid/localization/localization_utils.js +2 -2
- package/property-grid/propertygrid.d.ts +5 -5
- package/property-grid/propertygrid.js +13 -23
- package/property-grid/widgets/bindingsCacheUtils.d.ts +2 -2
- package/property-grid/widgets/bindingsCacheUtils.js +2 -2
- package/property-grid/widgets/collectioneditor/_bindings.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_bindings.js +2 -2
- package/property-grid/widgets/collectioneditor/_editor.d.ts +4 -3
- package/property-grid/widgets/collectioneditor/_editor.js +5 -3
- package/property-grid/widgets/collectioneditor/_ko_model.d.ts +2 -2
- package/property-grid/widgets/collectioneditor/_ko_model.js +2 -2
- package/property-grid/widgets/editor.d.ts +7 -3
- package/property-grid/widgets/editor.js +19 -4
- package/property-grid/widgets/editor.viewmodel.d.ts +2 -2
- package/property-grid/widgets/editor.viewmodel.js +3 -2
- package/property-grid/widgets/editorValidator.d.ts +2 -2
- package/property-grid/widgets/editorValidator.js +2 -2
- package/property-grid/widgets/editorsInfo.d.ts +2 -2
- package/property-grid/widgets/editorsInfo.js +2 -2
- package/property-grid/widgets/ellipsiseditor/_editor.d.ts +2 -3
- package/property-grid/widgets/ellipsiseditor/_editor.js +2 -2
- package/property-grid/widgets/fileimageeditor/_editor.d.ts +2 -2
- package/property-grid/widgets/fileimageeditor/_editor.js +2 -2
- package/property-grid/widgets/fonteditor/_fonts.d.ts +2 -2
- package/property-grid/widgets/fonteditor/_fonts.js +2 -2
- package/property-grid/widgets/fonteditor/_model.d.ts +2 -2
- package/property-grid/widgets/fonteditor/_model.js +2 -2
- package/property-grid/widgets/fonteditor/editor.d.ts +2 -2
- package/property-grid/widgets/fonteditor/editor.js +2 -2
- package/property-grid/widgets/fonteditor/metadata.d.ts +2 -2
- package/property-grid/widgets/fonteditor/metadata.js +2 -2
- package/property-grid/widgets/guideditor.d.ts +2 -2
- package/property-grid/widgets/guideditor.js +2 -2
- package/property-grid/widgets/internal/_bindingsCache.d.ts +2 -2
- package/property-grid/widgets/internal/_bindingsCache.js +2 -2
- package/property-grid/widgets/internal/_bindingsCache.ko.d.ts +2 -2
- package/property-grid/widgets/internal/_bindingsCache.ko.js +2 -2
- package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +2 -2
- package/property-grid/widgets/internal/_extendedSvgTemplates.js +2 -2
- package/property-grid/widgets/internal/_internal.d.ts +2 -2
- package/property-grid/widgets/internal/_internal.js +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.js +3 -3
- package/property-grid/widgets/internal/_svgTemplateEngine.ko.d.ts +2 -2
- package/property-grid/widgets/internal/_svgTemplateEngine.ko.js +2 -2
- package/property-grid/widgets/internal/_utils.d.ts +2 -2
- package/property-grid/widgets/internal/_utils.js +2 -2
- package/property-grid/widgets/registerBaseEdtior.d.ts +2 -2
- package/property-grid/widgets/registerBaseEdtior.js +2 -2
- package/property-grid/widgets/registerBaseEdtior.native.d.ts +2 -2
- package/property-grid/widgets/registerBaseEdtior.native.js +2 -2
- package/property-grid/widgets/templateUtils.d.ts +2 -2
- package/property-grid/widgets/templateUtils.js +2 -2
- package/query-builder/_accordionTabInfo.d.ts +2 -2
- package/query-builder/_accordionTabInfo.js +2 -2
- package/query-builder/_bindings.d.ts +2 -2
- package/query-builder/_bindings.js +2 -2
- package/query-builder/_initializer.d.ts +2 -3
- package/query-builder/_initializer.js +2 -2
- package/query-builder/_legacy.d.ts +2 -2
- package/query-builder/_legacy.js +2 -2
- package/query-builder/_queryBuilderModel.d.ts +2 -2
- package/query-builder/_queryBuilderModel.js +2 -2
- package/query-builder/binding/eventGenerator.d.ts +2 -2
- package/query-builder/binding/eventGenerator.js +2 -2
- package/query-builder/binding/jsQueryBuilder.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilder.js +2 -2
- package/query-builder/binding/jsQueryBuilderBinding.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilderBinding.js +2 -2
- package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +2 -2
- package/query-builder/binding/jsQueryBuilderBindingOptions.js +2 -2
- package/query-builder/dataSource/_dbSchema.d.ts +2 -2
- package/query-builder/dataSource/_dbSchema.js +2 -2
- package/query-builder/dataSource/_dbSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/_dbSchemaProvider.js +2 -2
- package/query-builder/dataSource/_utils.d.ts +2 -2
- package/query-builder/dataSource/_utils.js +2 -2
- package/query-builder/dataSource/dataSourceParameter.d.ts +2 -2
- package/query-builder/dataSource/dataSourceParameter.js +2 -2
- package/query-builder/dataSource/dataSourceParameterMeta.d.ts +2 -2
- package/query-builder/dataSource/dataSourceParameterMeta.js +2 -2
- package/query-builder/dataSource/dbColumn.d.ts +2 -2
- package/query-builder/dataSource/dbColumn.js +2 -2
- package/query-builder/dataSource/dbForeignKey.d.ts +2 -2
- package/query-builder/dataSource/dbForeignKey.js +2 -2
- package/query-builder/dataSource/dbSchema.d.ts +2 -2
- package/query-builder/dataSource/dbSchema.js +2 -2
- package/query-builder/dataSource/dbSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/dbSchemaProvider.js +2 -2
- package/query-builder/dataSource/dbStoredProcedure.d.ts +2 -2
- package/query-builder/dataSource/dbStoredProcedure.js +2 -2
- package/query-builder/dataSource/dbTable.d.ts +2 -2
- package/query-builder/dataSource/dbTable.js +2 -2
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.d.ts +2 -2
- package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/subNode.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +2 -2
- package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueriesContainer.js +2 -2
- package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +2 -2
- package/query-builder/dataSource/federation/federatedQueryExpression.js +2 -2
- package/query-builder/dataSource/federation/federationDataSource.d.ts +2 -2
- package/query-builder/dataSource/federation/federationDataSource.js +2 -2
- package/query-builder/dataSource/federation/federationDataSourceMeta.d.ts +2 -2
- package/query-builder/dataSource/federation/federationDataSourceMeta.js +2 -2
- package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +2 -2
- package/query-builder/dataSource/federation/federationMasterDetailRelation.js +2 -2
- package/query-builder/dataSource/federation/federationSerializableModel.d.ts +2 -2
- package/query-builder/dataSource/federation/federationSerializableModel.js +2 -2
- package/query-builder/dataSource/federation/federationSource.d.ts +2 -2
- package/query-builder/dataSource/federation/federationSource.js +2 -2
- package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/json/_jsonSchemaProvider.js +2 -2
- package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +2 -2
- package/query-builder/dataSource/json/jsonAuthenticationInfo.js +2 -2
- package/query-builder/dataSource/json/jsonDataSource.d.ts +2 -2
- package/query-builder/dataSource/json/jsonDataSource.js +2 -2
- package/query-builder/dataSource/json/jsonParameter.d.ts +2 -2
- package/query-builder/dataSource/json/jsonParameter.js +2 -2
- package/query-builder/dataSource/json/jsonSchemaNode.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSchemaNode.js +2 -2
- package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSchemaProvider.js +2 -2
- package/query-builder/dataSource/json/jsonSource.d.ts +2 -2
- package/query-builder/dataSource/json/jsonSource.js +2 -2
- package/query-builder/dataSource/object/objectDataSource.d.ts +2 -2
- package/query-builder/dataSource/object/objectDataSource.js +2 -2
- package/query-builder/dataSource/object/objectSchema.d.ts +2 -2
- package/query-builder/dataSource/object/objectSchema.js +2 -2
- package/query-builder/dataSource/resultSet.d.ts +2 -2
- package/query-builder/dataSource/resultSet.js +2 -2
- package/query-builder/dataSource/resultTable.d.ts +2 -2
- package/query-builder/dataSource/resultTable.js +2 -2
- package/query-builder/dataSource/sql/connectionOptions.d.ts +2 -2
- package/query-builder/dataSource/sql/connectionOptions.js +2 -2
- package/query-builder/dataSource/sql/customSqlQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/customSqlQuery.js +2 -2
- package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/customSqlQueryMeta.js +2 -2
- package/query-builder/dataSource/sql/masterDetailRelation.d.ts +2 -2
- package/query-builder/dataSource/sql/masterDetailRelation.js +2 -2
- package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/masterDetailRelationMeta.js +2 -2
- package/query-builder/dataSource/sql/sqlDataConnection.d.ts +2 -2
- package/query-builder/dataSource/sql/sqlDataConnection.js +2 -2
- package/query-builder/dataSource/sql/sqlDataSource.d.ts +2 -2
- package/query-builder/dataSource/sql/sqlDataSource.js +2 -2
- package/query-builder/dataSource/sql/storedProcQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/storedProcQuery.js +2 -2
- package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/storedProcQueryMeta.js +2 -2
- package/query-builder/dataSource/sql/tableQuery.d.ts +2 -2
- package/query-builder/dataSource/sql/tableQuery.js +2 -2
- package/query-builder/dataSource/sql/tableQueryMeta.d.ts +2 -2
- package/query-builder/dataSource/sql/tableQueryMeta.js +2 -2
- package/query-builder/dataSource/utils.d.ts +2 -2
- package/query-builder/dataSource/utils.js +2 -2
- package/query-builder/dragDrop/_columnDragHandler.d.ts +2 -2
- package/query-builder/dragDrop/_columnDragHandler.js +2 -2
- package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +2 -2
- package/query-builder/dragDrop/_dbObjectDragDropHandler.js +2 -2
- package/query-builder/elements/_federationColumnModel.d.ts +2 -2
- package/query-builder/elements/_federationColumnModel.js +2 -2
- package/query-builder/elements/_federationQueryModel.d.ts +2 -2
- package/query-builder/elements/_federationQueryModel.js +2 -2
- package/query-builder/elements/allColumnsModel.d.ts +2 -2
- package/query-builder/elements/allColumnsModel.js +2 -2
- package/query-builder/elements/allColumnsModelMeta.d.ts +2 -2
- package/query-builder/elements/allColumnsModelMeta.js +2 -2
- package/query-builder/elements/allColumnsSurface.d.ts +2 -2
- package/query-builder/elements/allColumnsSurface.js +2 -2
- package/query-builder/elements/columnExpression.d.ts +2 -2
- package/query-builder/elements/columnExpression.js +2 -2
- package/query-builder/elements/columnExpressionMeta.d.ts +2 -2
- package/query-builder/elements/columnExpressionMeta.js +2 -2
- package/query-builder/elements/columnModel.d.ts +2 -2
- package/query-builder/elements/columnModel.js +2 -2
- package/query-builder/elements/columnModelMeta.d.ts +2 -2
- package/query-builder/elements/columnModelMeta.js +2 -2
- package/query-builder/elements/columnSurface.d.ts +2 -2
- package/query-builder/elements/columnSurface.js +2 -2
- package/query-builder/elements/joinConditionModel.d.ts +2 -2
- package/query-builder/elements/joinConditionModel.js +2 -2
- package/query-builder/elements/joinConditionModelMeta.d.ts +2 -2
- package/query-builder/elements/joinConditionModelMeta.js +2 -2
- package/query-builder/elements/joinConditionSurface.d.ts +2 -2
- package/query-builder/elements/joinConditionSurface.js +2 -2
- package/query-builder/elements/parameterModel.d.ts +2 -2
- package/query-builder/elements/parameterModel.js +2 -2
- package/query-builder/elements/parameterModelMeta.d.ts +2 -2
- package/query-builder/elements/parameterModelMeta.js +2 -2
- package/query-builder/elements/queryElementModel.d.ts +2 -2
- package/query-builder/elements/queryElementModel.js +2 -2
- package/query-builder/elements/queryElementSurface.d.ts +2 -2
- package/query-builder/elements/queryElementSurface.js +2 -2
- package/query-builder/elements/queryModel.d.ts +2 -2
- package/query-builder/elements/queryModel.js +2 -2
- package/query-builder/elements/queryModelMeta.d.ts +2 -2
- package/query-builder/elements/queryModelMeta.js +2 -2
- package/query-builder/elements/querySurface.d.ts +2 -2
- package/query-builder/elements/querySurface.js +2 -2
- package/query-builder/elements/relationModel.d.ts +2 -2
- package/query-builder/elements/relationModel.js +2 -2
- package/query-builder/elements/relationModelMeta.d.ts +2 -2
- package/query-builder/elements/relationModelMeta.js +2 -2
- package/query-builder/elements/relationSurface.d.ts +2 -2
- package/query-builder/elements/relationSurface.js +2 -2
- package/query-builder/elements/tableModel.d.ts +2 -2
- package/query-builder/elements/tableModel.js +2 -2
- package/query-builder/elements/tableModelMeta.d.ts +2 -2
- package/query-builder/elements/tableModelMeta.js +2 -2
- package/query-builder/elements/tableSurface.d.ts +2 -2
- package/query-builder/elements/tableSurface.js +2 -2
- package/query-builder/initializer.d.ts +2 -2
- package/query-builder/initializer.js +2 -2
- package/query-builder/metadata.d.ts +2 -2
- package/query-builder/metadata.js +2 -2
- package/query-builder/utils/_callbacks.d.ts +2 -2
- package/query-builder/utils/_callbacks.js +2 -2
- package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +2 -2
- package/query-builder/utils/_columnExpressionCollectionHelper.js +2 -2
- package/query-builder/utils/_controlsFactory.d.ts +2 -2
- package/query-builder/utils/_controlsFactory.js +2 -2
- package/query-builder/utils/_dataConnection.d.ts +2 -2
- package/query-builder/utils/_dataConnection.js +2 -2
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +2 -2
- package/query-builder/utils/_federationUnionQueryBuilderTreeListController.js +2 -2
- package/query-builder/utils/_queryBuilderTreeListController.d.ts +2 -2
- package/query-builder/utils/_queryBuilderTreeListController.js +2 -2
- package/query-builder/utils/_requestwrapper.d.ts +2 -2
- package/query-builder/utils/_requestwrapper.js +2 -2
- package/query-builder/utils/controlsFactory.d.ts +2 -2
- package/query-builder/utils/controlsFactory.js +2 -2
- package/query-builder/utils/publicCallbacks.d.ts +2 -2
- package/query-builder/utils/publicCallbacks.js +2 -2
- package/query-builder/utils/requestwrapper.d.ts +2 -2
- package/query-builder/utils/requestwrapper.js +2 -2
- package/query-builder/widgets/_federatedQueriesHelper.d.ts +2 -2
- package/query-builder/widgets/_federatedQueriesHelper.js +2 -2
- package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +2 -2
- package/query-builder/widgets/_manageFederatedQueriesEditor.js +2 -2
- package/query-builder/widgets/_rightPanelSwitcher.d.ts +2 -2
- package/query-builder/widgets/_rightPanelSwitcher.js +2 -2
- package/query-builder/widgets/_undoEditor.d.ts +2 -2
- package/query-builder/widgets/_undoEditor.js +2 -2
- package/query-builder/widgets/ace/_ace-mode-sql.d.ts +2 -2
- package/query-builder/widgets/ace/_ace-mode-sql.js +2 -2
- package/query-builder/widgets/ace/_options.d.ts +2 -2
- package/query-builder/widgets/ace/_options.js +2 -2
- package/query-builder/widgets/editorTemplates.d.ts +2 -2
- package/query-builder/widgets/editorTemplates.js +2 -2
- package/query-builder/widgets/expressionFunctions.d.ts +2 -2
- package/query-builder/widgets/expressionFunctions.js +2 -2
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +2 -2
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +2 -2
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +2 -2
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +2 -2
- package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +2 -2
- package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +2 -2
- package/query-builder/widgets/registerEditorTemplates.d.ts +2 -2
- package/query-builder/widgets/registerEditorTemplates.js +2 -2
- package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +2 -2
- package/query-builder/wizard/chooseAvailableDataSourcePage.js +2 -2
- package/query-builder/wizard/chooseAvailablePage.d.ts +2 -2
- package/query-builder/wizard/chooseAvailablePage.js +2 -2
- package/query-builder/wizard/dataSourceWizard.d.ts +2 -2
- package/query-builder/wizard/dataSourceWizard.js +2 -2
- package/query-builder/wizard/dataSourceWizardState.d.ts +2 -2
- package/query-builder/wizard/dataSourceWizardState.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizard.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +2 -2
- package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +2 -2
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +2 -2
- package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +2 -2
- package/query-builder/wizard/internal/_configureParametersUtils.d.ts +2 -2
- package/query-builder/wizard/internal/_configureParametersUtils.js +2 -2
- package/query-builder/wizard/internal/_constants.d.ts +2 -2
- package/query-builder/wizard/internal/_constants.js +2 -2
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +2 -2
- package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +2 -2
- package/query-builder/wizard/internal/_dbSchemaTreeListController.js +2 -2
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +4 -4
- package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonSourceSettings.js +2 -2
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +2 -2
- package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/_queryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +2 -2
- package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +2 -2
- package/query-builder/wizard/internal/_selectStatementQueryControl.js +2 -2
- package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +2 -2
- package/query-builder/wizard/internal/_storedProceduresQueryControl.js +2 -2
- package/query-builder/wizard/internal/_treeListNode.d.ts +2 -2
- package/query-builder/wizard/internal/_treeListNode.js +2 -2
- package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +2 -2
- package/query-builder/wizard/internal/_treeNodeItemsProvider.js +2 -2
- package/query-builder/wizard/internal/_utils.d.ts +2 -2
- package/query-builder/wizard/internal/_utils.js +4 -4
- package/query-builder/wizard/internal/_wizardAction.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardAction.js +2 -2
- package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardPageProcessor.js +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionFactory.js +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +2 -2
- package/query-builder/wizard/internal/_wizardPageSectionIterator.js +2 -2
- package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +2 -2
- package/query-builder/wizard/internal/_wrappedWizardPageSection.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +2 -2
- package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +2 -2
- package/query-builder/wizard/internal/initializer.d.ts +2 -2
- package/query-builder/wizard/internal/initializer.js +2 -2
- package/query-builder/wizard/internal/jsonSourceSettings.d.ts +2 -2
- package/query-builder/wizard/internal/jsonSourceSettings.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +2 -2
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +2 -2
- package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +2 -2
- package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +2 -2
- package/query-builder/wizard/internal/wizardPageSectionMetadata.js +2 -2
- package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +2 -2
- package/query-builder/wizard/multiQueryDataSourceWizard.js +2 -2
- package/query-builder/wizard/pageFactory.d.ts +2 -2
- package/query-builder/wizard/pageFactory.js +2 -2
- package/query-builder/wizard/pageId.d.ts +2 -2
- package/query-builder/wizard/pageId.js +2 -2
- package/query-builder/wizard/pageIterator.d.ts +2 -2
- package/query-builder/wizard/pageIterator.js +2 -2
- package/query-builder/wizard/pages/IWizardPage.d.ts +2 -2
- package/query-builder/wizard/pages/IWizardPage.js +2 -2
- package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +2 -2
- package/query-builder/wizard/pages/__wrappedWizardPage.js +2 -2
- package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +2 -2
- package/query-builder/wizard/pages/chooseDataSourceTypePage.js +2 -2
- package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/chooseSqlConnectionPage.js +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +2 -2
- package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +2 -2
- package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +2 -2
- package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +2 -2
- package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +2 -2
- package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +2 -2
- package/query-builder/wizard/pages/wizardPageBase.d.ts +2 -2
- package/query-builder/wizard/pages/wizardPageBase.js +2 -2
- package/query-builder/wizard/pages/wizardPageMetadata.d.ts +2 -2
- package/query-builder/wizard/pages/wizardPageMetadata.js +2 -2
- package/query-builder/wizard/popupWizard.d.ts +2 -3
- package/query-builder/wizard/popupWizard.js +2 -2
- package/query-builder/wizard/settings.d.ts +2 -2
- package/query-builder/wizard/settings.js +2 -2
- package/query-builder/wizard/stateManager.d.ts +2 -2
- package/query-builder/wizard/stateManager.js +2 -2
- package/query-builder/wizard/wizard.d.ts +2 -2
- package/query-builder/wizard/wizard.js +2 -2
- package/query-builder/wizard/wizardEventManager.d.ts +2 -2
- package/query-builder/wizard/wizardEventManager.js +2 -2
- package/queryBuilder-elements-metadata.d.ts +2 -2
- package/queryBuilder-elements-metadata.js +2 -2
- package/queryBuilder-elements.d.ts +2 -2
- package/queryBuilder-elements.js +2 -2
- package/queryBuilder-internal.d.ts +2 -2
- package/queryBuilder-internal.js +2 -2
- package/queryBuilder-metadata.d.ts +2 -2
- package/queryBuilder-metadata.js +2 -2
- package/queryBuilder-utils.d.ts +2 -2
- package/queryBuilder-utils.js +2 -2
- package/queryBuilder-widgets-internal.d.ts +2 -2
- package/queryBuilder-widgets-internal.js +2 -2
- package/queryBuilder-widgets.d.ts +2 -2
- package/queryBuilder-widgets.js +2 -2
- package/querybuilder.d.ts +2 -2
- package/querybuilder.js +2 -2
- package/serializer/_date.utiles.d.ts +2 -2
- package/serializer/_date.utiles.js +2 -2
- package/serializer/_internal.d.ts +2 -2
- package/serializer/_internal.js +2 -2
- package/serializer/_legacy.d.ts +2 -2
- package/serializer/_legacy.js +2 -2
- package/serializer/_utils.d.ts +2 -2
- package/serializer/_utils.js +4 -3
- package/serializer/disposable.d.ts +2 -2
- package/serializer/disposable.js +2 -2
- package/serializer/eventManager.d.ts +2 -2
- package/serializer/eventManager.js +2 -2
- package/serializer/native/deserialization.utils.d.ts +2 -2
- package/serializer/native/deserialization.utils.js +2 -2
- package/serializer/native/deserializationEngine.d.ts +3 -3
- package/serializer/native/deserializationEngine.js +3 -3
- package/serializer/native/deserializationEngine.updateViewModel.d.ts +2 -2
- package/serializer/native/deserializationEngine.updateViewModel.js +2 -2
- package/serializer/native/models/base.model.d.ts +2 -2
- package/serializer/native/models/base.model.js +2 -2
- package/serializer/native/models/interfaces.model.d.ts +2 -2
- package/serializer/native/models/interfaces.model.js +2 -2
- package/serializer/native/models/modelAccessor.d.ts +2 -2
- package/serializer/native/models/modelAccessor.js +2 -2
- package/serializer/native/multiplatformEngine.d.ts +2 -2
- package/serializer/native/multiplatformEngine.js +4 -4
- package/serializer/native/serializer.d.ts +2 -2
- package/serializer/native/serializer.js +4 -3
- package/serializer/native/templatesEngineTyping.d.ts +2 -2
- package/serializer/native/templatesEngineTyping.js +2 -2
- package/serializer/native/viewModels/viewModelGenerator.d.ts +2 -2
- package/serializer/native/viewModels/viewModelGenerator.js +3 -3
- package/serializer/propertyChangedEvents.d.ts +2 -2
- package/serializer/propertyChangedEvents.js +2 -2
- package/serializer/serializationInfo.d.ts +2 -2
- package/serializer/serializationInfo.js +2 -2
- package/serializer/serializer.d.ts +2 -2
- package/serializer/serializer.js +2 -2
- package/serializer/utils.d.ts +2 -2
- package/serializer/utils.js +2 -2
- package/undo-engine/_legacy.d.ts +2 -2
- package/undo-engine/_legacy.js +2 -2
- package/undo-engine/_propertiesVisitor.d.ts +2 -2
- package/undo-engine/_propertiesVisitor.js +2 -2
- package/undo-engine/_utils.d.ts +2 -2
- package/undo-engine/_utils.js +2 -2
- package/undo-engine/undoengine.d.ts +2 -2
- package/undo-engine/undoengine.js +2 -2
- package/widgets/_legacy.d.ts +2 -2
- package/widgets/_legacy.js +2 -2
- package/widgets/_searchHighlighting.binding.d.ts +2 -2
- package/widgets/_searchHighlighting.binding.js +2 -2
- package/widgets/_searchHighlighting.d.ts +2 -2
- package/widgets/_searchHighlighting.js +2 -2
- package/widgets/_utils.d.ts +2 -2
- package/widgets/_utils.js +2 -2
- package/widgets/ace/_ace-available.d.ts +2 -2
- package/widgets/ace/_ace-available.js +2 -2
- package/widgets/ace/_ace-mode-criteria.d.ts +2 -2
- package/widgets/ace/_ace-mode-criteria.js +3 -3
- package/widgets/ace/_ace-mode-doc-comment.d.ts +2 -2
- package/widgets/ace/_ace-mode-doc-comment.js +4 -4
- package/widgets/ace/_ace_theme.d.ts +2 -2
- package/widgets/ace/_ace_theme.js +2 -2
- package/widgets/ace/_binding.d.ts +2 -2
- package/widgets/ace/_binding.js +2 -2
- package/widgets/bindings.d.ts +2 -2
- package/widgets/bindings.js +2 -2
- package/widgets/common/_codeCompletor.d.ts +2 -2
- package/widgets/common/_codeCompletor.js +2 -2
- package/widgets/common/_displayNameProvider.d.ts +2 -2
- package/widgets/common/_displayNameProvider.js +2 -2
- package/widgets/common/displayNameProvider.d.ts +2 -2
- package/widgets/common/displayNameProvider.js +2 -2
- package/widgets/common/pathRequest.d.ts +2 -2
- package/widgets/common/pathRequest.js +2 -2
- package/widgets/criteria/operators/aggregate.d.ts +2 -2
- package/widgets/criteria/operators/aggregate.js +2 -2
- package/widgets/criteria/operators/between.d.ts +2 -2
- package/widgets/criteria/operators/between.js +2 -2
- package/widgets/criteria/operators/binary.d.ts +2 -2
- package/widgets/criteria/operators/binary.js +2 -2
- package/widgets/criteria/operators/constant.d.ts +2 -2
- package/widgets/criteria/operators/constant.js +2 -2
- package/widgets/criteria/operators/criteriaOperator.d.ts +2 -2
- package/widgets/criteria/operators/criteriaOperator.js +2 -2
- package/widgets/criteria/operators/function.d.ts +2 -2
- package/widgets/criteria/operators/function.js +2 -2
- package/widgets/criteria/operators/group.d.ts +2 -2
- package/widgets/criteria/operators/group.js +2 -2
- package/widgets/criteria/operators/in.d.ts +2 -2
- package/widgets/criteria/operators/in.js +2 -2
- package/widgets/criteria/operators/join.d.ts +2 -2
- package/widgets/criteria/operators/join.js +2 -2
- package/widgets/criteria/operators/options/aggregate.d.ts +2 -2
- package/widgets/criteria/operators/options/aggregate.js +2 -2
- package/widgets/criteria/operators/options/between.d.ts +2 -2
- package/widgets/criteria/operators/options/between.js +2 -2
- package/widgets/criteria/operators/options/binary.d.ts +2 -2
- package/widgets/criteria/operators/options/binary.js +2 -2
- package/widgets/criteria/operators/options/function.d.ts +2 -2
- package/widgets/criteria/operators/options/function.js +2 -2
- package/widgets/criteria/operators/options/group.d.ts +2 -2
- package/widgets/criteria/operators/options/group.js +2 -2
- package/widgets/criteria/operators/options/in.d.ts +2 -2
- package/widgets/criteria/operators/options/in.js +2 -2
- package/widgets/criteria/operators/options/join.d.ts +2 -2
- package/widgets/criteria/operators/options/join.js +2 -2
- package/widgets/criteria/operators/options/parameter.d.ts +2 -2
- package/widgets/criteria/operators/options/parameter.js +2 -2
- package/widgets/criteria/operators/options/property.d.ts +2 -2
- package/widgets/criteria/operators/options/property.js +2 -2
- package/widgets/criteria/operators/options/unary.d.ts +2 -2
- package/widgets/criteria/operators/options/unary.js +2 -2
- package/widgets/criteria/operators/options/value.d.ts +2 -2
- package/widgets/criteria/operators/options/value.js +2 -2
- package/widgets/criteria/operators/parameter.d.ts +2 -2
- package/widgets/criteria/operators/parameter.js +2 -2
- package/widgets/criteria/operators/property.d.ts +2 -2
- package/widgets/criteria/operators/property.js +2 -2
- package/widgets/criteria/operators/unary.d.ts +2 -2
- package/widgets/criteria/operators/unary.js +2 -2
- package/widgets/criteria/operators/value.d.ts +4 -2
- package/widgets/criteria/operators/value.js +5 -2
- package/widgets/criteria/parser/criteriaparser.d.ts +2 -2
- package/widgets/criteria/parser/criteriaparser.js +3 -3
- package/widgets/criteria/utils/criteriaChangeOperator.d.ts +2 -2
- package/widgets/criteria/utils/criteriaChangeOperator.js +2 -2
- package/widgets/criteria/utils/criteriaEnumeration.d.ts +2 -2
- package/widgets/criteria/utils/criteriaEnumeration.js +2 -2
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.d.ts +2 -2
- package/widgets/criteria/utils/criteriaOperatorPreprocessor.js +2 -2
- package/widgets/criteria/utils/criteriaOperatorStateMachine.d.ts +2 -2
- package/widgets/criteria/utils/criteriaOperatorStateMachine.js +2 -2
- package/widgets/criteria/utils/criteriaOperatorVisitor.d.ts +4 -2
- package/widgets/criteria/utils/criteriaOperatorVisitor.js +2 -2
- package/widgets/criteria/utils/criteriaProcessType.d.ts +2 -2
- package/widgets/criteria/utils/criteriaProcessType.js +2 -2
- package/widgets/criteria/utils/operatorTokens.d.ts +2 -2
- package/widgets/criteria/utils/operatorTokens.js +2 -2
- package/widgets/criteria/utils/propertyLocation.d.ts +2 -2
- package/widgets/criteria/utils/propertyLocation.js +2 -2
- package/widgets/expressioneditor/_expressioneditor.d.ts +2 -2
- package/widgets/expressioneditor/_expressioneditor.js +2 -2
- package/widgets/expressioneditor/bindings.d.ts +2 -2
- package/widgets/expressioneditor/bindings.js +2 -2
- package/widgets/expressioneditor/expressioneditor.d.ts +2 -2
- package/widgets/expressioneditor/expressioneditor.js +2 -2
- package/widgets/expressioneditor/tools/_functions.d.ts +2 -2
- package/widgets/expressioneditor/tools/_functions.js +2 -3
- package/widgets/expressioneditor/tools/_operatorNames.d.ts +2 -2
- package/widgets/expressioneditor/tools/_operatorNames.js +2 -2
- package/widgets/expressioneditor/tools/_tools.d.ts +2 -2
- package/widgets/expressioneditor/tools/_tools.js +2 -2
- package/widgets/expressioneditor/tools/_treeListControllers.d.ts +2 -2
- package/widgets/expressioneditor/tools/_treeListControllers.js +2 -2
- package/widgets/filtereditor/filtereditor.d.ts +2 -3
- package/widgets/filtereditor/filtereditor.js +2 -2
- package/widgets/filtereditor/filtereditoroptions.d.ts +2 -2
- package/widgets/filtereditor/filtereditoroptions.js +2 -2
- package/widgets/filtereditor/helpers/_addon.d.ts +2 -2
- package/widgets/filtereditor/helpers/_addon.js +2 -2
- package/widgets/filtereditor/helpers/_codeCompletor.d.ts +2 -2
- package/widgets/filtereditor/helpers/_codeCompletor.js +2 -2
- package/widgets/filtereditor/helpers/_helper.d.ts +2 -2
- package/widgets/filtereditor/helpers/_helper.js +2 -2
- package/widgets/filtereditor/helpers/_serializer.d.ts +2 -2
- package/widgets/filtereditor/helpers/_serializer.js +2 -2
- package/widgets/filtereditor/helpers/_treelistController.d.ts +2 -2
- package/widgets/filtereditor/helpers/_treelistController.js +2 -2
- package/widgets/filtereditor/helpers/_validator.d.ts +2 -2
- package/widgets/filtereditor/helpers/_validator.js +2 -2
- package/widgets/filtereditor/helpers/helper.d.ts +2 -2
- package/widgets/filtereditor/helpers/helper.js +2 -2
- package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/aggregateOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/betweenOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/binaryOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/criteriaOperatorSurface.js +2 -2
- package/widgets/filtereditor/operators/functionOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/functionOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/groupOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/groupOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/inOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/inOperandSurface.js +2 -2
- package/widgets/filtereditor/operators/operandParameterSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/operandParameterSurface.js +2 -2
- package/widgets/filtereditor/operators/operandPropertySurface.d.ts +2 -2
- package/widgets/filtereditor/operators/operandPropertySurface.js +2 -2
- package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +2 -2
- package/widgets/filtereditor/operators/operandSurfaceBase.js +2 -2
- package/widgets/filtereditor/operators/operandValueSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/operandValueSurface.js +2 -2
- package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +2 -2
- package/widgets/filtereditor/operators/unaryOperandSurface.js +2 -2
- package/widgets/formatstring/_patterns.d.ts +2 -2
- package/widgets/formatstring/_patterns.js +2 -2
- package/widgets/formatstring/binding.d.ts +2 -2
- package/widgets/formatstring/binding.js +2 -2
- package/widgets/formatstring/formatstringeditor.d.ts +2 -2
- package/widgets/formatstring/formatstringeditor.js +2 -2
- package/widgets/internal/_popupComponentBase.d.ts +2 -2
- package/widgets/internal/_popupComponentBase.js +2 -2
- package/widgets/internal/_popupwithautoheight.d.ts +2 -2
- package/widgets/internal/_popupwithautoheight.js +2 -2
- package/widgets/internal/_resizeHelper.d.ts +2 -2
- package/widgets/internal/_resizeHelper.js +2 -2
- package/widgets/internal/_valueEditorHelper.d.ts +2 -2
- package/widgets/internal/_valueEditorHelper.js +4 -5
- package/widgets/treelist/_binding.d.ts +2 -2
- package/widgets/treelist/_binding.js +2 -2
- package/widgets/treelist/_ko_binging.d.ts +2 -2
- package/widgets/treelist/_ko_binging.js +2 -2
- package/widgets/treelist/_ko_treelistUtils.d.ts +2 -2
- package/widgets/treelist/_ko_treelistUtils.js +2 -2
- package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +2 -2
- package/widgets/treelist/_reorderTreeListDragDropHelper.js +2 -2
- package/widgets/treelist/_treeListSearchOptions.d.ts +2 -2
- package/widgets/treelist/_treeListSearchOptions.js +2 -2
- package/widgets/treelist/_treeListSearchViewModel.d.ts +2 -2
- package/widgets/treelist/_treeListSearchViewModel.js +2 -2
- package/widgets/treelist/_treelistController.d.ts +2 -2
- package/widgets/treelist/_treelistController.js +2 -2
- package/widgets/treelist/_treelistItem.d.ts +2 -2
- package/widgets/treelist/_treelistItem.js +8 -6
- package/widgets/treelist/_treelistItem.viewModel.d.ts +2 -2
- package/widgets/treelist/_treelistItem.viewModel.js +3 -3
- package/widgets/treelist/options.d.ts +2 -2
- package/widgets/treelist/options.js +2 -2
- package/widgets/utils.d.ts +2 -2
- package/widgets/utils.js +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress Analytics (dist\js\dx-analytics-core.min.js)
|
|
3
|
-
* Version: 23.2.
|
|
4
|
-
* Build date: Dec
|
|
3
|
+
* Version: 23.2.4-build-23360-1657
|
|
4
|
+
* Build date: Dec 26, 2023
|
|
5
5
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/universal.xml
|
|
7
7
|
*/
|
|
8
|
-
!function(i){var r={};function s(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,s),t.l=!0,t)).exports}s.m=i,s.c=r,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)s.d(i,r,function(e){return t[e]}.bind(null,r));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=26)}([function(e,t){e.exports=ko},function(e,t){e.exports=jQuery},function(e,t){e.exports=DevExpress.ui.dxScrollView},function(e,t){e.exports=DevExpress.registerComponent},function(e,t){e.exports=DevExpress.config},function(e,t){e.exports=DevExpress.localization},function(e,t){e.exports=DevExpress.ui.dxTextBox},function(e,t){e.exports=DevExpress.ui.dxPopup},function(e,t){e.exports=DevExpress.events},function(e,t){e.exports=DevExpress.data.DataSource},function(e,t){e.exports=window.ace},function(e,t){e.exports=DevExpress.ui.dxButton},function(e,t){e.exports=DevExpress.ui.dxDropDownBox},function(e,t){e.exports=DevExpress.VERSION},function(e,t){e.exports=DevExpress.ui.dxSelectBox},function(e,t){e.exports=DevExpress.ui.dxMenu},function(e,t){e.exports=DevExpress.ui.notify},function(e,t){e.exports=DevExpress.data.ArrayStore},function(e,t){e.exports=DevExpress.data.CustomStore},function(e,t){e.exports=DevExpress.ui.themes},function(e,t){e.exports=DevExpress.validationEngine},function(e,t){e.exports=DevExpress.ui.dxTextArea},function(e,t){e.exports=""},function(e,t){e.exports="/mode-json"},function(e,t){e.exports="/mode-sql"},function(e,t){e.exports="/mode-text"},function(N,V,e){"use strict";e.r(V);var t={},i=(e.r(t),e.d(t,"AccordionKeyboardHelper",function(){return ct}),e.d(t,"PropertyGridKeyboardHelper",function(){return pt}),e.d(t,"AccessibilityControlElementBase",function(){return lt}),e.d(t,"ControlElementWithParentHighlight",function(){return ht}),e.d(t,"accessibilityFontSizeZoomFactor",function(){return gt}),e.d(t,"calculateWithZoomFactor",function(){return mt}),e.d(t,"initializeMutationObserver",function(){return ft}),e.d(t,"AccessibilityKeyboardHelperBase",function(){return ut}),e.d(t,"KeyboardHelperWithArrowButtonBase",function(){return vt}),e.d(t,"ListKeyboardHelper",function(){return xt}),e.d(t,"RightPanelKeyboardHelperNative",function(){return bt}),e.d(t,"ToolbarKeyboardHelper",function(){return Et}),e.d(t,"TreeListKeyboardHelper",function(){return St}),e.d(t,"JSDesignerBindingCommon",function(){return oi}),e.d(t,"DxAnalyticsComponentCommon",function(){return di}),e.d(t,"RequestHelper",function(){return ti}),e.d(t,"DragDropHandler",function(){return yi}),e.d(t,"DragHelperControlRectangle",function(){return Ci}),e.d(t,"DragHelperContent",function(){return wi}),e.d(t,"SelectionDragDropHandler",function(){return Ai}),e.d(t,"ToolboxDragDropHandler",function(){return Ei}),e.d(t,"WizardDragDropHandler",function(){return Ii}),e.d(t,"dxtTemplate",function(){return Si}),e.d(t,"dxversions",function(){return ki}),e.d(t,"AjaxRequestManager",function(){return Pi}),e.d(t,"FetchRequestManager",function(){return Ti}),e.d(t,"DesignControlsHelper",function(){return Ri}),e.d(t,"patchPositionByRTL",function(){return ir}),e.d(t,"CssCalculator",function(){return rr}),e.d(t,"ExpressionType",function(){return sr}),e.d(t,"IsDataAccessExpression",function(){return ar}),e.d(t,"editorTypeMapper",function(){return nr}),e.d(t,"getEditorType",function(){return or}),e.d(t,"getTypeNameFromFullName",function(){return Fi}),e.d(t,"getShortTypeName",function(){return Bi}),e.d(t,"getControlTypeName",function(){return Oi}),e.d(t,"getControlFullName",function(){return Mi}),e.d(t,"getImageClassName",function(){return Ni}),e.d(t,"getUniqueNameForNamedObjectsArray",function(){return Vi}),e.d(t,"getUniqueName",function(){return zi}),e.d(t,"initGlobalize",function(){return dr}),e.d(t,"HoverInfo",function(){return lr}),e.d(t,"InlineTextEdit",function(){return cr}),e.d(t,"processTextEditorHotKeys",function(){return ur}),e.d(t,"ObjectStructureTreeListController",function(){return pr}),e.d(t,"ObjectStructureProviderBase",function(){return hr}),e.d(t,"ObjectExplorerProvider",function(){return gr}),e.d(t,"ObjectStructureProvider",function(){return mr}),e.d(t,"getPaperSize",function(){return xr}),e.d(t,"_addErrorPrefix",function(){return Xt}),e.d(t,"_processError",function(){return Zt}),e.d(t,"_errorProcessor",function(){return Qt}),e.d(t,"processErrorEvent",function(){return ei}),e.d(t,"initializeBaseResizableOptions",function(){return br}),e.d(t,"initializeResize",function(){return yr}),e.d(t,"Resizable",function(){return _r}),e.d(t,"getResizeDirection",function(){return Cr}),e.d(t,"KoEngine",function(){return gs}),e.d(t,"useKoIntegration",function(){return ms}),e.d(t,"Draggable",function(){return wr}),e.d(t,"SelectableElement",function(){return Er}),e.d(t,"Selectable",function(){return Ir}),e.d(t,"dxScrollProcessor",function(){return Dr}),e.d(t,"ControlsStore",function(){return Or}),e.d(t,"CustomSortedArrayStore",function(){return Fr}),e.d(t,"SortedArrayStore",function(){return Br}),e.d(t,"findSurface",function(){return Bt}),e.d(t,"getControlNewAbsolutePositionOnResize",function(){return Ot}),e.d(t,"getControlRect",function(){return Nt}),e.d(t,"minHeightWithoutScroll",function(){return Vt}),e.d(t,"chooseBetterPositionOf",function(){return zt}),e.d(t,"updateSurfaceContentSize",function(){return Lt}),e.d(t,"getToolboxItems",function(){return Nr}),e.d(t,"blur",function(){return Vr}),e.d(t,"isDefined",function(){return zr}),e.d(t,"convertToCssPixelUnits",function(){return fi}),e.d(t,"convertFromCssPixelUnits",function(){return vi}),e.d(t,"validateName",function(){return Hr}),e.d(t,"replaceInvalidSymbols",function(){return Rr}),e.d(t,"nameValidationRules",function(){return jr}),e.d(t,"CombinedObject",function(){return fs}),e.d(t,"SurfaceSelection",function(){return vs}),e.d(t,"deleteSelection",function(){return Cs}),e.d(t,"SnapLinesCollector",function(){return Ds}),e.d(t,"SnapLinesHelper",function(){return Fs}),e.d(t,"SnapLineSurface",function(){return Ts}),e.d(t,"ActionLists",function(){return Qa}),e.d(t,"ActionListsBase",function(){return Za}),e.d(t,"createActionListBaseViewModel",function(){return Ja}),e.d(t,"createBaseActionViewModel",function(){return Xa}),e.d(t,"copyPasteStrategy",function(){return Os}),e.d(t,"CopyPasteHandler",function(){return Ms}),e.d(t,"KeyboardHelperBase",function(){return nt}),e.d(t,"KeyboardHelper",function(){return ot}),e.d(t,"KeyDownHandlersManager",function(){return dt}),e.d(t,"ContextMenuProvider",function(){return rn}),e.d(t,"createObservableReverseArrayMapCollection",function(){return ws}),e.d(t,"createObservableArrayMapCollection",function(){return As}),e.d(t,"knockoutArrayWrapper",function(){return Es}),e.d(t,"deserializeChildArray",function(){return Is}),e.d(t,"getFirstItemByPropertyValue",function(){return Ss}),e.d(t,"findFirstItemMatchesCondition",function(){return $s}),e.d(t,"find",function(){return ks}),e.d(t,"binaryIndexOf",function(){return Ps}),e.d(t,"compareArrays",function(){return sn}),e.d(t,"DEBUG",function(){return Ht}),e.d(t,"DebugMode",function(){return Rt}),e.d(t,"DesignerContextGeneratorInternal",function(){return Nn}),e.d(t,"DesignerContextGenerator",function(){return Vn}),e.d(t,"ResizeSettings",function(){return zn}),e.d(t,"ContextActionsSettings",function(){return Ln}),e.d(t,"DragDropSettings",function(){return Hn}),e.d(t,"ControlsHelperSettings",function(){return Rn}),e.d(t,"MenuSettings",function(){return jn}),e.d(t,"SelectionSettings",function(){return Wn}),e.d(t,"CommonDesignerGenerator",function(){return Gn}),e.d(t,"createDesigner",function(){return Kn}),e.d(t,"FieldListProvider",function(){return Yn}),e.d(t,"NotifyType",function(){return jt}),e.d(t,"NotifyAboutWarning",function(){return Gt}),e.d(t,"getErrorMessage",function(){return Ut}),e.d(t,"ShowMessage",function(){return Kt}),e.d(t,"_setShowMessageFunc",function(){return Yt}),e.d(t,"_resetShowMessageFunc",function(){return Jt}),e.d(t,"createUnitProperty",function(){return Jn}),e.d(t,"createUnitProperties",function(){return Xn}),e.d(t,"unitsToPixel",function(){return gi}),e.d(t,"pixelToUnits",function(){return mi}),e.d(t,"roundingXDecimals",function(){return hi}),e.d(t,"copyObservables",function(){return An}),e.d(t,"collectGroupsFromFlatList",function(){return En}),e.d(t,"compareObjects",function(){return In}),e.d(t,"getFullPath",function(){return Sn}),e.d(t,"loadTemplates",function(){return $n}),e.d(t,"cutRefs",function(){return kn}),e.d(t,"DesignerBaseElements",function(){return Pn}),e.d(t,"generateDefaultParts",function(){return Dn}),e.d(t,"createActionWrappingFunction",function(){return Tn}),e.d(t,"localizeNoneString",function(){return Fn}),e.d(t,"setAjax",function(){return ro}),e.d(t,"_ajax",function(){return so}),e.d(t,"_ajaxWithOptions",function(){return ao}),e.d(t,"ajax",function(){return no}),e.d(t,"createPasswordSerializationInfo",function(){return oo}),e.d(t,"parseZoom",function(){return Vs}),e.d(t,"getSizeFactor",function(){return lo}),e.d(t,"staticContext",function(){return uo}),e.d(t,"_defaultStaticContext",function(){return co}),e.d(t,"appendStaticContextToRootViewModel",function(){return po}),e.d(t,"getResizableOptions",function(){return Bn}),e.d(t,"_wrapModelInObservable",function(){return ho}),e.d(t,"$unwrap",function(){return en}),e.d(t,"$dx",function(){return tn}),e.d(t,"koUtils",function(){return v}),e.d(t,"showTroubleshootingMessage",function(){return ri}),e.d(t,"assignTroubleshootingPage",function(){return si}),e.d(t,"troubleshootingPageWrapper",function(){return ai}),e.d(t,"getTroubleshootingPage",function(){return ni}),e.d(t,"objectsVisitor",function(){return Li}),e.d(t,"collectionsVisitor",function(){return Hi}),e.d(t,"BordersModel",function(){return go}),e.d(t,"ControlProperties",function(){return wn}),e.d(t,"Group",function(){return xn}),e.d(t,"dxButtonWithTemplate",function(){return vo}),e.d(t,"generateIconTemplate",function(){return mo}),e.d(t,"editor_template",function(){return fo}),e.d(t,"BaseActionsProvider",function(){return xo}),e.d(t,"cssTransform",function(){return bo}),e.d(t,"updateZoomBinding",function(){return yo}),e.d(t,"sizeFake",function(){return ui}),e.d(t,"locationFake",function(){return ci}),e.d(t,"EditorAddOn",function(){return gn}),e.d(t,"CodeResolver",function(){return Ur}),e.d(t,"globalResolver",function(){return qr}),e.d(t,"PopupService",function(){return bn}),e.d(t,"loadMessages",function(){return ke}),e.d(t,"getLocalization",function(){return De}),e.d(t,"removeWinSymbols",function(){return Te}),e.d(t,"Globalize",function(){return Me}),e.d(t,"messages",function(){return Ne}),e.d(t,"custom_localization_values",function(){return Ve}),e.d(t,"selectPlaceholder",function(){return ze}),e.d(t,"noDataText",function(){return Le}),e.d(t,"searchPlaceholder",function(){return He}),e.d(t,"resolveFromPromises",function(){return Re}),e.d(t,"isCustomizedWithUpdateLocalizationMethod",function(){return je}),e.d(t,"localizeWithUpdateLocalizationMethod",function(){return We}),e.d(t,"localize",function(){return Ge}),e.d(t,"formatDate",function(){return Ue}),e.d(t,"parseDate",function(){return qe}),e.d(t,"StringId",function(){return wo}),e.d(t,"SearchMode",function(){return Fe}),e.d(t,"_getFileContent",function(){return Ke}),e.d(t,"uploadFile",function(){return Je}),e.d(t,"_replaceUploadFile",function(){return Xe}),e.d(t,"setUploadFile",function(){return Ze}),e.d(t,"compareEditorInfo",function(){return Qe}),e.d(t,"findMatchesInString",function(){return et}),e.d(t,"escapeToRegExp",function(){return tt}),e.d(t,"stringRemove",function(){return it}),e.d(t,"stringReplace",function(){return rt}),e.d(t,"stringInsert",function(){return st}),e.d(t,"formatUnicorn",function(){return at}),e.d(t,"KeyboardEnum",function(){return Be}),e.d(t,"KeyboardCodesEnum",function(){return Oe}),e.d(t,"PropertiesAccessibilityProvider",function(){return an}),e.d(t,"defaultAccessibilityProvider",function(){return nn}),e.d(t,"_defineProperty",function(){return Ae}),e.d(t,"_definePropertyByString",function(){return Ee}),e.d(t,"addDisposeCallback",function(){return Ie}),e.d(t,"createGlobalModuleVariableFunc",function(){return Se}),e.d(t,"isPlainObject",function(){return oe}),e.d(t,"isEmptyObject",function(){return de}),e.d(t,"isFunction",function(){return le}),e.d(t,"extend",function(){return m}),e.d(t,"assignObj",function(){return ue}),e.d(t,"propertiesVisitor",function(){return xs}),e.d(t,"checkModelReady",function(){return Wr}),e.d(t,"guid",function(){return Gr}),e.d(t,"DisplayExpressionConverter",function(){return jo}),e.d(t,"HighlightEngine",function(){return Wo}),e.d(t,"cloneHtmlBinding",function(){return Go}),e.d(t,"integerValueConverter",function(){return La}),e.d(t,"enumValueConverter",function(){return Ha}),e.d(t,"validateExpression",function(){return Ra}),e.d(t,"floatValueConverter",function(){return ja}),e.d(t,"isDarkTheme",function(){return Wa}),e.d(t,"_setIsDarkTheme",function(){return Ga}),e.d(t,"setCursorInFunctionParameter",function(){return Ua}),e.d(t,"isList",function(){return qa}),e.d(t,"getParentContainer",function(){return Ka}),e.d(t,"isNullOrEmptyString",function(){return Ya}),{}),r=(e.r(i),e.d(i,"ajaxSetup",function(){return io}),e.d(i,"fetchSetup",function(){return to}),e.d(i,"requestManager",function(){return Qn}),e.d(i,"_isFetchConfigured",function(){return eo}),e.d(i,"TabInfo",function(){return qn}),e.d(i,"TabPanel",function(){return Mn}),e.d(i,"ToolboxItem",function(){return Mr}),e.d(i,"TabInfoWithPropertyGrid",function(){return Uo}),e.d(i,"ControlsFactory",function(){return Ko}),e.d(i,"floatFromModel",function(){return Yo}),e.d(i,"fromEnum",function(){return Jo}),e.d(i,"parseBool",function(){return Xo}),e.d(i,"colorFromString",function(){return Zo}),e.d(i,"saveAsInt",function(){return Qo}),e.d(i,"colorToInt",function(){return ed}),e.d(i,"colorToString",function(){return td}),e.d(i,"addCultureInfo",function(){return Ct}),e.d(i,"getLocalization",function(){return f}),e.d(i,"_stringEndsWith",function(){return wt}),e.d(i,"updateLocalization",function(){return At}),e.d(i,"registerBaseBinding",function(){return ad}),e.d(i,"addToBindingsCache",function(){return nd}),e.d(i,"addTemplate",function(){return Pt}),e.d(i,"getTemplate",function(){return Dt}),e.d(i,"EventManager",function(){return ce}),e.d(i,"EventPropertyManager",function(){return pe}),e.d(i,"ModelSerializer",function(){return cs}),e.d(i,"deserializeArray",function(){return dd}),e.d(i,"serializeDate",function(){return ge}),e.d(i,"deserializeDate",function(){return me}),e.d(i,"Disposable",function(){return s}),e.d(i,"_LatestChangeSet",function(){return bs}),e.d(i,"UndoEngine",function(){return _s}),e.d(i,"PathRequest",function(){return Kr}),{}),z=(e.r(r),e.d(r,"TextAlignmentModel",function(){return ld}),e.d(r,"DataMemberTreeListController",function(){return ud}),e.d(r,"dxFieldListPicker",function(){return cd}),e.d(r,"PopupEditorBase",function(){return pd}),e.d(r,"RequiredNullableEditor",function(){return hd}),e.d(r,"createNumericEditor",function(){return gd}),e.d(r,"wrapOptions",function(){return md}),e.d(r,"CollectionEditorViewModel",function(){return vd}),e.d(r,"wrapModelWithKo",function(){return xd}),e.d(r,"dxEllipsisEditor",function(){return yd}),e.d(r,"dxFileImagePicker",function(){return _d}),e.d(r,"availableFonts",function(){return Un}),e.d(r,"availableUnits",function(){return Cd}),e.d(r,"FontModel",function(){return wd}),e.d(r,"registerBaseBinding",function(){return rd}),e.d(r,"addToBindingsCache",function(){return E}),e.d(r,"getFromCache",function(){return sd}),e.d(r,"propertiesGridEditorsPaddingLeft",function(){return js}),e.d(r,"defaultFontSerialization",function(){return Ws}),e.d(r,"validateGuid",function(){return Us}),e.d(r,"validateNullableGuid",function(){return qs}),e.d(r,"guidValidationRules",function(){return Ys}),e.d(r,"guidRequiredValidationRules",function(){return Js}),e.d(r,"requiredValidationRules",function(){return Xs}),e.d(r,"SvgTemplateSource",function(){return $t}),e.d(r,"SvgTemplatesEngine",function(){return kt}),e.d(r,"aceAvailable",function(){return kd}),e.d(r,"CodeCompletor",function(){return Fo}),e.d(r,"createFunctionCompletion",function(){return Bo}),e.d(r,"trimBrackets",function(){return Oo}),e.d(r,"insertOrUpdateFunctions",function(){return Eo}),e.d(r,"functionDisplay",function(){return Io}),e.d(r,"resetFunctionDisplay",function(){return So}),e.d(r,"combineFunctionDisplay",function(){return $o}),e.d(r,"operatorNames",function(){return To}),e.d(r,"Tools",function(){return Pd}),e.d(r,"ExpressionEditorTreeListController",function(){return Td}),e.d(r,"ExpressionEditorParametersTreeListController",function(){return Fd}),e.d(r,"RangeSpecific",function(){return ko}),e.d(r,"createExpressionEditorCollectionToolOptions",function(){return Po}),e.d(r,"wrapExpressionValue",function(){return Do}),e.d(r,"FilterEditorAddOn",function(){return Bd}),e.d(r,"FilterEditorCodeCompletor",function(){return Qd}),e.d(r,"initDisplayText",function(){return Ld}),e.d(r,"FilterEditorSerializer",function(){return Ro}),e.d(r,"FilterEditorTreeListController",function(){return Kd}),e.d(r,"CriteriaSurfaceValidatorState",function(){return Sd}),e.d(r,"CriteriaSurfaceValidator",function(){return Yd}),e.d(r,"formatStringStandardPatterns",function(){return el}),e.d(r,"PopupComponentBase",function(){return tl}),e.d(r,"dxPopupWithAutoHeight",function(){return il}),e.d(r,"ResizeHelper",function(){return rl}),e.d(r,"ValueEditorHelper",function(){return za}),e.d(r,"initTreeListBinding",function(){return al}),e.d(r,"wrapTreeListOptionsWithKo",function(){return ls}),e.d(r,"KoTreeListItemFactory",function(){return us}),e.d(r,"ReorderTreeListDragDropHelper",function(){return ol}),e.d(r,"TreeListController",function(){return Dd}),e.d(r,"maxSearchLevel",function(){return es}),e.d(r,"TreeListItemStore",function(){return ts}),e.d(r,"TreeListItemFactory",function(){return is}),e.d(r,"DefaultTreeListItemFactory",function(){return rs}),e.d(r,"setDefaultTreeListItemFactory",function(){return ss}),e.d(r,"TreeListEllipsisButton",function(){return as}),e.d(r,"TreeListItemViewModel",function(){return ns}),e.d(r,"TreeListRootItemViewModel",function(){return os}),e.d(r,"treeListEditAction",function(){return Jr}),e.d(r,"updateTreeListItemViewModel",function(){return Xr}),e.d(r,"createTreeListItemViewModel",function(){return Zr}),e.d(r,"createTreeListEllipsisButtonViewModel",function(){return Qr}),e.d(r,"TreeListSearchOptions",function(){return sl}),e.d(r,"TreeListSearchViewModel",function(){return nl}),{}),L=(e.r(z),e.d(z,"EditorTemplates",function(){return li}),e.d(z,"editorTemplates",function(){return n}),e.d(z,"unwrapEditor",function(){return pn}),e.d(z,"Editor",function(){return hn}),e.d(z,"createViewModel",function(){return un}),e.d(z,"EditorValidator",function(){return ln}),e.d(z,"ObjectProperties",function(){return mn}),e.d(z,"PropertyGridEditor",function(){return fn}),e.d(z,"PropertyGridEditorFlat",function(){return vn}),e.d(z,"InitAccordion",function(){return ll}),e.d(z,"GuidEditor",function(){return ul}),e.d(z,"FontEditor",function(){return ml}),e.d(z,"getNotValidRange",function(){return fl}),e.d(z,"ExpressionEditor",function(){return vl}),e.d(z,"FilterEditorHelper",function(){return Jd}),e.d(z,"DefaultFilterEditorHelper",function(){return Xd}),e.d(z,"_setDefaultFilterEditorHelper",function(){return Zd}),e.d(z,"FilterEditor",function(){return bl}),e.d(z,"FilterEditorPlain",function(){return yl}),e.d(z,"FilterStringOptions",function(){return _l}),e.d(z,"FilterStringPlainOptions",function(){return Cl}),e.d(z,"FormatStringEditor",function(){return wl}),e.d(z,"BooleanEditor",function(){return Al}),e.d(z,"ColorPickerEditor",function(){return El}),e.d(z,"FieldListEditor",function(){return Il}),e.d(z,"DataMemberEditor",function(){return Sl}),e.d(z,"addTemplate",function(){return Pt}),e.d(z,"getTemplate",function(){return Dt}),{}),H=(e.r(L),e.d(L,"fontName",function(){return cl}),e.d(L,"fontSize",function(){return pl}),e.d(L,"fontSizeUnit",function(){return hl}),e.d(L,"fontInfo",function(){return gl}),{}),R=(e.r(H),e.d(H,"CriteriaOperatorSurface",function(){return Od}),e.d(H,"AggregateOperandSurface",function(){return Nd}),e.d(H,"BetweenOperandSurface",function(){return Vd}),e.d(H,"BinaryOperandSurface",function(){return zd}),e.d(H,"OperandSurfaceBase",function(){return Hd}),e.d(H,"FunctionOperandSurface",function(){return Rd}),e.d(H,"GroupOperandSurface",function(){return jd}),e.d(H,"InOperandSurface",function(){return Wd}),e.d(H,"OperandParameterSurface",function(){return Gd}),e.d(H,"OperandPropertySurface",function(){return Ud}),e.d(H,"OperandValueSurface",function(){return qd}),e.d(H,"UnaryOperandSurface",function(){return Md}),{}),j=(e.r(R),e.d(R,"criteriaparser",function(){return Oa}),e.d(R,"parse",function(){return Ma}),e.d(R,"CriteriaOperatorPreprocessor",function(){return Hs}),e.d(R,"criteriaCreator",function(){return g}),e.d(R,"CriteriaOperator",function(){return Rs}),e.d(R,"OperandProperty",function(){return ea}),e.d(R,"AggregateOperand",function(){return ia}),e.d(R,"BetweenOperator",function(){return Mo}),e.d(R,"BinaryOperator",function(){return zo}),e.d(R,"OperandValue",function(){return Zs}),e.d(R,"ConstantValue",function(){return Ho}),e.d(R,"FunctionOperator",function(){return Lo}),e.d(R,"GroupOperator",function(){return sa}),e.d(R,"InOperator",function(){return No}),e.d(R,"JoinOperand",function(){return aa}),e.d(R,"OperandParameter",function(){return Qs}),e.d(R,"UnaryOperator",function(){return ta}),e.d(R,"BinaryOperatorType",function(){return p}),e.d(R,"FunctionOperatorType",function(){return h}),e.d(R,"GroupOperatorType",function(){return zs}),e.d(R,"UnaryOperatorType",function(){return u}),{}),W=(e.r(j),e.d(j,"criteriaForEach",function(){return ra}),e.d(j,"CriteriaOperatorPreprocessor",function(){return Hs}),e.d(j,"criteriaCreator",function(){return g}),e.d(j,"operatorTokens",function(){return Vo}),e.d(j,"MachineState",function(){return Na}),e.d(j,"CriteriaOperatorStateMachine",function(){return Va}),{}),G=(e.r(W),e.d(W,"LoadChildItemsForCollapsedNodes",function(){return Yr}),{}),U=(e.r(G),e.d(G,"Rectangle",function(){return _i}),e.d(G,"SurfaceElementArea",function(){return Pl}),e.d(G,"SurfaceElementBase",function(){return Dl}),e.d(G,"ElementViewModel",function(){return qo}),e.d(G,"Margins",function(){return Tl}),e.d(G,"PaddingModel",function(){return tr}),e.d(G,"Point",function(){return Bs}),e.d(G,"SerializableModel",function(){return Fl}),e.d(G,"Size",function(){return pi}),e.d(G,"compareSizes",function(){return Bl}),{}),q=(e.r(U),e.d(U,"left",function(){return ji}),e.d(U,"right",function(){return Wi}),e.d(U,"top",function(){return Gi}),e.d(U,"bottom",function(){return Ui}),e.d(U,"all",function(){return qi}),e.d(U,"paddingSerializationsInfo",function(){return Ki}),{}),K=(e.r(q),e.d(q,"ActionId",function(){return Ns}),{}),Y=(e.r(K),e.d(K,"loadMessages",function(){return Ol}),{}),J=(e.r(Y),e.d(Y,"arrayModificationMapper",function(){return te}),e.d(Y,"PropertyDeserializationEngine",function(){return ie}),e.d(Y,"defaultPropertyDeserializatonEngine",function(){return re}),e.d(Y,"updateViewModel",function(){return Q}),e.d(Y,"_updateViewModelWithChunks",function(){return ee}),e.d(Y,"BaseModel",function(){return Ji}),e.d(Y,"mutable",function(){return d}),e.d(Y,"mutableArray",function(){return Xi}),e.d(Y,"BaseEmptyModel",function(){return Zi}),e.d(Y,"BaseRenderingModel",function(){return Qi}),e.d(Y,"BaseRenderingMultiplatformModel",function(){return er}),e.d(Y,"modelAccessor",function(){return xi}),e.d(Y,"setDefautModelAccessor",function(){return bi}),e.d(Y,"NativeModelSerializer",function(){return fe}),e.d(Y,"createViewModelGenerator",function(){return c}),e.d(Y,"setDefaultViewModelGenerator",function(){return Yi}),e.d(Y,"subscribableProperty",function(){return ve}),e.d(Y,"MultiplatformEngine",function(){return xe}),e.d(Y,"nativeMultiPlatformEngine",function(){return be}),e.d(Y,"nativeModelSerializer",function(){return ye}),e.d(Y,"currentModelSerializer",function(){return _e}),e.d(Y,"currentMultiPlatformEngine",function(){return l}),e.d(Y,"setCurrentMultiplatfromEngine",function(){return Ce}),e.d(Y,"setCurrentModelSerializer",function(){return we}),e.d(Y,"deserializeArray",function(){return od}),{}),_=(e.r(J),e.d(J,"defineAceThemes",function(){return Nl}),e.d(J,"getAceThemeName",function(){return Vl}),e.d(J,"defineAceDocComments",function(){return Ml}),e.d(J,"defineAceCriteria",function(){return zl}),e.d(J,"defineAce",function(){return Jl}),e(1));const X="__viewModel__timeout",Z="__viewModel__chunks";function Q(e,t){e.__viewModel&&e.updateViewModel&&(e.deferredUpdateViewModel()?ee(e,t):e.updateViewModel(t))}function ee(t,e){var i;t.__viewModel&&t.updateViewModel&&(t[X]&&clearTimeout(t[X]),t[Z]||(t[Z]={}),"added"in e||"removed"in e?(i=Array.isArray(t[Z][e.propertyName])?t[Z][e.propertyName]:[],t[Z][e.propertyName]=[...i,e]):t[Z][e.propertyName]=e,t[X]=setTimeout(()=>{t[Z]&&Object.keys(t[Z]).forEach(e=>{e=t[Z][e];Array.isArray(e)?e.forEach(e=>t.updateViewModel(e)):t.updateViewModel(e)}),t[Z]={}}))}const te={push:(r,s)=>{Object.defineProperty(r,"push",{enumerable:!1,configurable:!0,get:()=>(...e)=>{const i=r.length;var t=Array.prototype.push.call(r,...e);return s({operation:"push",added:e.map((e,t)=>({item:e,index:i+t})),removed:[],newValue:r}),t}})},splice:(r,s)=>{Object.defineProperty(r,"splice",{enumerable:!1,configurable:!0,get:()=>(i,e,...t)=>{e=Array.prototype.splice.call(r,i,e,...t);return s({operation:"splice",added:t.map((e,t)=>({item:e,index:i+t})),removed:e&&e.map((e,t)=>({item:e,index:i+t})),newValue:r}),e}})},pop:(i,r)=>{Object.defineProperty(i,"pop",{enumerable:!1,configurable:!0,get:()=>()=>{var e=i.length,t=Array.prototype.pop.call(i);return r({operation:"pop",added:[],removed:[{item:t,index:e-1}],newValue:i}),t}})}};class ie{_defineProperty(r,s,e,a=()=>{},n){let o=e(),d=null,l=null;a&&a(o),Object.defineProperty(r,s,{configurable:!0,enumerable:!0,get:()=>o,set:e=>{const t=o,i=(o=e,()=>{var e;r.isDisposing||t===o&&"always"!==(null==n?void 0:n.notify)||(e={propertyName:s,oldValue:t,newValue:o},a&&a(o),r.onPropertyChanged&&r.onPropertyChanged(e),Q(r,e),r.events&&r.events.call("propertyChanged",e))});if(null!=n&&n.deferred)d=d||Promise.resolve().then(()=>{i(),d=null});else if(null!=n&&n.rateLimit){if("notifyWhenChangesStop"===n.rateLimit.method)l&&clearTimeout(l);else if(null!==l)return;l=setTimeout(()=>{i(),l=null},n.rateLimit.timeout)}else i()}})}generateArrayProperty(i,r,e,t){this._defineProperty(i,r,()=>e,e=>{if(Array.isArray(e))for(const t in te)te[t](e,e=>{e=Object.assign({propertyName:r},e);i.onPropertyChanged&&i.onPropertyChanged(e),Q(i,e),i.events.call("propertyChanged",e)})},t)}generateProperty(e,t,i,r){this._defineProperty(e,t,()=>i,null,r)}}let re=new ie;const se={},ae=se.hasOwnProperty;function ne(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?se[se.toString.call(e)]||"object":typeof e}function oe(e){var t;return!("object"!==ne(e)||e.nodeType||null!=(t=e)&&t===t.window||e.constructor&&!ae.call(e.constructor.prototype,"isPrototypeOf"))}function de(e){return"string"!=typeof e&&null!==e&&"object"==typeof e&&0===Object.keys(e).length}function le(e){return"function"===ne(e)}function m(e,t){let i,r,s,a,n,o,d=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof d&&(c=d,d=arguments[l]||{},l++),"object"==typeof d||le(d)||(d={}),l===u&&(d=this,l--);l<u;l++)if(null!=(i=arguments[l]))for(r in i)s=d[r],a=i[r],d!==a&&(c&&a&&(oe(a)||(n=Array.isArray(a)))?(o=n?(n=!1,s&&Array.isArray(s)?s:[]):s&&oe(s)?s:{},d[r]=m(c,o,a)):void 0!==a&&(d[r]=a));return d}function ue(e,t){return Object.assign(Object.create(Object.getPrototypeOf(e)),t||e)}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(e=>se["[object "+e+"]"]=e.toLowerCase());class s{constructor(){this._disposables=[],this.isDisposing=!1}disposeObservableArray(e){e&&e().forEach(e=>{e.dispose&&e.dispose()})}resetObservableArray(e){e&&e([])}disposeArray(e){e&&(e.forEach(e=>{e.dispose&&e.dispose()}),e.splice(0,e.length))}addDisposable(...e){this._disposables.push(...e.map(e=>e&&("dispose"in e?e:{dispose:e})))}dispose(){this.isDisposing||(this.isDisposing=!0,(this._disposables||[]).reverse().forEach(e=>e&&e.dispose&&e.dispose()),this._disposables=[])}removeProperties(){Object.keys(this).forEach(e=>{delete this[e]})}}class ce extends s{constructor(){super(...arguments),this._handlers={}}dispose(){super.dispose(),this._handlers={}}call(e,t){e in this._handlers&&[...this._handlers[e]].forEach(e=>e(t))}addHandler(e,t){e in this._handlers||(this._handlers[e]=[]),this._handlers[e].push(t)}removeHandler(e,t){t=this._handlers[e].indexOf(t);-1!==t&&this._handlers[e].splice(t,1)}on(e,t){return this.addHandler(e,t),()=>{this._handlers[e]&&this.removeHandler(e,t)}}}class pe extends ce{call(e,t){var i,r;t&&"propertyChanged"===e||e===`${null==t?void 0:t.propertyName}Changed`?(r=(i=t).propertyName+"Changed",super.call(r,i),super.call("propertyChanged",i)):super.call(e,t)}}function he(e,t){return(e||[]).map(e=>{let t=null!=e?e.toString():"00";return t=1===t.length?"0"+t:t}).join(t)}function ge(e,t){var i=[e.getMonth()+1,e.getDate(),e.getFullYear()],e=he([e.getHours(),e.getMinutes(),e.getSeconds()],":");return"-"===t||"00:00:00"===e?(t=he([i[2],i[0],i[1]],"-"),"00:00:00"===e?t:t+" "+e):"00:00:00"===e?he([i[2],i[0],i[1]],"-"):he(i,"/")+" "+e}function me(e){e=e.split(" ");let t=e[0].split("-"),i=[0,0,0];return 1<e.length&&(3!==t.length&&(t=e[0].split("/")).splice(0,0,t.splice(2,1)[0]),3!==(i=e[1].split(":").map(e=>parseInt(e))).length)||3!==t.length?null:(t=t.map(e=>parseInt(e)),new Date(t[0],t[1]-1,t[2],i[0],i[1],i[2]))}class fe{constructor(e){this.engineType="native",this._options={useRefs:!0,serializeDate:ge},this._refTable={},this._linkTable={},this._options=m(this._options,e)}createObjectByInfo(e){return{getInfo:()=>e||[],events:new pe,onPropertyChanged(e){}}}linkObjects(){Object.keys(this._linkTable).forEach(e=>{const t=this._refTable[e];t&&this._linkTable[e].splice(0).forEach(e=>e(t))})}wrapPropertyValue(e){return e}wrapPropertyArrayValue(e){return e}unwrapPropertyValue(e){return e}_getModel(e,t){let i=e;return t.forEach(e=>{i=i[e]}),i}_collectLinks(e,t,i,r){e=e[r].slice("#Ref-".length);let s=void 0;this._linkTable[e]=this._linkTable[e]||[],this._linkTable[e].push(e=>s=e),t._restoreLinks||(t._restoreLinks=[]),t._restoreLinks.push(e=>{const t=this._getModel(e,i);return{setRef:e=>{-1===e?delete t[r]:t[r]="#Ref-"+e},obj:()=>s}})}_enumRefs(e,i,r){e._refs||(e._refs=[]),e._refs.push((e,t)=>{this._getModel(e,i)[r]=t})}_collectLinksAndEnumRefs(t,i=null,r=[]){const s=null===i;i=i||t,Object.keys(t).forEach(e=>{t[e]instanceof Object?this._collectLinksAndEnumRefs(t[e],i,[].concat(r,[e])):t[e].indexOf&&0===t[e].indexOf("#Ref-")?this._collectLinks(t,i,r,e):s||"@Ref"!==e||this._enumRefs(i,r,e)}),s&&this.linkObjects()}setLinks(i){i.linkObjTable.forEach(e=>{var t=i.objects.indexOf(e.obj());e.setRef(t)})}deserializeProperty(e,t){var i=e.modelName;if(i)return t=void 0!==t[i]?t[i]:e.defaultVal,this.deserializePropertyValue(e,t)}deserializeDefaultValue(e){return this.deserializePropertyValue(e,e.defaultVal,!1)||e.defaultVal}deserializePropertyValue(i,r,e=!0){if("string"==typeof i)return this.wrapPropertyValue(r);if(i.array)return i.from?i.from(r,this):i.info?this.wrapPropertyArrayValue(Object.keys(r||{}).map(e=>{var t=this.createObjectByInfo(i.info||[]);return this.deserialize(t,r[e]||{}),t})):void 0;if(i.from)return i.from(r,this);var t;if(i.type)return(t=new i.type(r,this,i.info))._model||this.deserialize(t,r||{},i.info),t;if(i.info)return t=this.createObjectByInfo(i.info),this.deserialize(t,r||{}),t;if(i.modelName)return this.wrapPropertyValue(r);if(e)throw new Error("Invalid info '"+JSON.stringify(i)+"'")}setLinkProperty(e,t,i){return e[t]=i,e[t]}getLinkProperty(e,t){return e[t]}generateProperty(e,t,i){re.generateProperty(e,t,i)}generateArrayProperty(e,t,i){re.generateArrayProperty(e,t,i)}deserialize(n,o,e=[]){if(o){n._model=m({},o),n.events||(n.events=new pe),n.getInfo||(n.getInfo=()=>e),e=n.getInfo();var t=o["@Ref"];const d=Object.getPrototypeOf(n);e.forEach(e=>{const t=e.propertyName,i=e.modelName;void 0!==o[i]&&delete n._model[i];let r=void 0;if(e.link){r=this.wrapPropertyValue(null);var s=o[e.modelName];if(s){s=s&&s.slice("#Ref-".length);this._linkTable[s]=this._linkTable[s]||[];const a=this;this._linkTable[s].push(function(e){return 0===arguments.length?a.getLinkProperty(n,t):a.setLinkProperty(n,t,e)})}}else r=this.deserializeProperty(e,o);s=Object.getOwnPropertyDescriptor(d,t);void 0===r||s&&!s.set||this.generateProperty(n,t,r),t in n||void 0!==r||!e.array||this.generateArrayProperty(n,t,[])}),t&&(this._refTable[t]=n),this.linkObjects()}}serialize(e,t,i=null){return t||i?this._serialize(e,t||[],i):this._serialize(e,[],null)}_isSerializableValue(e){return oe(e)&&!de(e)||Array.isArray(e)&&0<e.length||!Array.isArray(e)&&!oe(e)}serializeProperty(r,e,t,s,i){let a=r.propertyName,n=this.unwrapPropertyValue("_"+a in e?e["_"+a]:e[a]),o=r.defaultVal,d=(r.beforeSerialize&&(n=r.beforeSerialize(n)),r.from&&(o=this.unwrapPropertyValue(r.from(o,this))),{});if(r.modelName&&(r.alwaysSerialize||void 0!==n&&null!==n&&(oe(n)||!de(n)||Array.isArray(n)&&0<n.length||!Array.isArray(n)&&!oe(n))&&n!==o)){if(r.link)s.linkObjTable.push({obj:()=>n,setRef:e=>{e<0?delete i[r.modelName]:i[r.modelName]="#Ref-"+e}}),d=void 0;else if(r.array){d={};let i=1;n.forEach(e=>{var t=r.info||null,t=this._serialize(e,t,s);(this._isSerializableValue(t)||r.alwaysSerialize)&&(d["Item"+i]=t,this._options.useRefs&&(t["@Ref"]=(s.objects.push(e)-1).toString()),i++)})}else if(r.from)d=n.isEmpty&&n.isEmpty()?{}:r.toJsonObject?r.toJsonObject(n,this,s):n.toString();else if(r.info||n.getInfo)d=this._serialize(n,r.info,s);else{if(!r.modelName)throw new Error("Invalid info '"+t.stringify()+"'");d=n instanceof Date?this._options&&this._options.serializeDate(n):n}(r.alwaysSerialize||this._isSerializableValue(d))&&(r.asRef&&(d["@Ref"]=(s.objects.push(n)-1).toString()),i[r.modelName]=d)}}_serialize(t,i,r){const s=m(!0,{},t._model),e=null===r;return r=r||{linkObjTable:[],objects:[]},s._restoreLinks&&(r.linkObjTable.push.apply(r.linkObjTable,s._restoreLinks.map(e=>e(s))),delete s._restoreLinks),s._refs&&(s._refs.forEach(e=>e(s,(r.objects.push("0")-1).toString())),delete s._refs),i=t.getInfo?t.getInfo():i,delete s["@Ref"],t.isEmpty&&t.isEmpty()?{}:(i.forEach(e=>{this.serializeProperty(e,t,i,r,s)}),e&&this.setLinks(r),s)}}function ve(e,t){return{model:e,properties:t}}class xe{cleanNode(e){}addDisposeCallback(e,t){}removeDisposeCallback(e,t){}peek(e){return e}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){e[t]=i}generateProperty(e,t,i,r){re.generateProperty(e,t,i,r)}generateArrayProperty(e,t,i,r){re.generateArrayProperty(e,t,i,r)}createComputedProperty(t,i,r,e,s,a=0){const n={prevValue:void 0,value:void 0},o=()=>{var e=t[i];n.prevValue=n.value,"object"!=typeof(n.value=e)&&n.prevValue===n.value||(e={propertyName:i,newValue:e},t.onPropertyChanged&&t.onPropertyChanged(e),Q(t,e),t.events&&t.events.call("propertyChanged",e))};function d(r,e){var t;let s={};const a=[];return"*"===e?a.push(null==(t=null==r?void 0:r.events)?void 0:t.on("propertyChanged",()=>{o()})):e.forEach(i=>{var e,t;"object"==typeof(t=i)&&"subscribables"in t?(t=i.propertyName+"Changed",a.push(null==(e=null==r?void 0:r.events)?void 0:e.on(t,({propertyName:e})=>{if(s[e]&&s[e](),Array.isArray(r[e])){const t=r[e].map(e=>d(e,i.subscribables));s[e]=()=>t.forEach(e=>e())}else s[e]=d(r[e],i.subscribables);o()}))):"string"==typeof i&&(e=i+"Changed",a.push(null==(t=null==r?void 0:r.events)?void 0:t.on(e,()=>o())))}),()=>{for(var e in s)s[e]();a.forEach(e=>e&&e())}}"function"==typeof r?(Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:()=>r()}),r()):Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:()=>r.read(),set:e=>r.write(e)});const l=e.map(e=>e.model?d(e.model,e.properties):()=>{});return()=>{l.forEach(e=>e())}}subscribeValue(e,t){return()=>{}}subscribeOnPropertyChanged(e,t,i,r){if(e&&e.events){const s=e.events.on(t+"Changed",({newValue:e})=>{i(e)});return()=>{s(),r&&r()}}return()=>{}}unwrap(e){return e}wrap(e){return e}applyBindings(e,t){}}const be=new xe,ye=e=>new fe(e);let _e=ye,l=be;function Ce(e){l=e}function we(e){_e=e}function Ae(e,t,i,r){delete e[i],r=r||i,Object.defineProperty(e,i,{get:()=>t[r],set:e=>{t[r]=e},configurable:!0})}function Ee(s,...t){var i=(e,t=!0)=>{var i=e.split(".");let r=s;for(let e=0;e<i.length-1;e++)!r[i[e]]&&t&&(r[i[e]]={}),r=r[i[e]];return{object:r,propertyName:i[i.length-1]}};const r=t[t.length-1],a=i(t[t.length-1]);for(let e=0;e<t.length-1;e++)((t,e)=>{Object.defineProperty(e.object,e.propertyName,{get:()=>(console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),a.object[a.propertyName]),set:e=>{console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),a.object[a.propertyName]=e},configurable:!0})})(t[e],i(t[e]))}function Ie(e,t){let i=()=>{l.removeDisposeCallback(e,i),t&&t(),i=null,t=null};l.addDisposeCallback(e,i)}function Se(e,i){let r=e;const s=[];return Object.assign(t=>(void 0!==t&&r!==t&&(r=t,i&&i(t),s.forEach(e=>e(t))),r),{subscribe:e=>(s.push(e),()=>s.splice(s.indexOf(e),1)),notifySubscribers:t=>{r!==t&&(r=t,s.forEach(e=>e(t)))}})}var $e=e(5);function ke(e){m(Ne,e)}function Pe(e){return Ge(e)||e}function De(e,t=null,i=Te){var r=t&&Ge(t)||Pe(e);return je(r=t&&function(e,t=Te){var i=Ge(e);if(i&&t&&(-1!==i.indexOf("&")||-1!==i.indexOf("<u>")||-1!==i.indexOf("</u>")))return(t={})[e]=i.replace("&","").replace("<u>","").replace("</u>",""),ke(t),t[e]}(t,i)||r)&&(e=r),je(e)?Pe(e):r}const Te=!0;var Fe,Be,Oe,Me=Me||window.Globalize;const Ne={},Ve={};function ze(){return De("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function Le(){return De("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function He(){return De("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function Re(e,t){const i=_.Deferred();return 0<e.length?_.when(...e).done((...e)=>{e.forEach(e=>ke(e[0]))}).always(()=>i.resolve(t())):i.resolve(t()),i}function je(e){return!!Ve[e]}function We(e){return!!je(e)&&De(e)}function Ge(e){return Ne[e]}function Ue(e){return $e.formatDate(e,"shortDate")}function qe(e,t=!0,i){return t?e?e instanceof Date?e:me(e):null:i?$e.parseDate(e,i):$e.parseDate(e,void 0)}function Ke(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}(a=Fe=Fe||{})[a.contains=0]="contains",a[a.startWith=1]="startWith";const Ye="dxd-fileuploader-input";let Je=d=>{const l=_.Deferred();let u=document.getElementById(Ye);var e;return(u=u||((e=document.createElement("input")).type="file",e.id=Ye,e.style.width="0px",e.style.height="0px",e.style.display="none",document.body.appendChild(e),e)).accept=d.accept,u.onchange=()=>{var e=u,t=l,i=d;try{var r=e.files;for(let e=0;e<r.length;e++){var s=r[e];if("img"===i.type){var a=/image.*/;if(!s.type.match(a))continue}const n=new FileReader,o=s.name.split(".").pop();n.onload=()=>{try{t.resolve({format:o,content:Ke(n.result,i.readMode)})}catch(e){t.reject()}},"text"===i.readMode||"html"===o||"htm"===o?n.readAsText(s):n.readAsDataURL(s)}}catch(e){t.reject()}u.value=""},u.click(),l.promise()};const Xe=e=>Je=e;function Ze(e){Je=e}function Qe(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType}function et(e,t,i){if(!i){const r=tt(t);return!!e&&e.match(new RegExp(r,"gi"))}let r=i.canUseRegex?t:tt(t),s=(i.searchMode!=Fe.startWith||i.canUseRegex||(r="^"+r),"");return i.caseSensitive||(s+="i"),i.globalMatch&&(s+="g"),!!e&&e.match(new RegExp(r,s))}function tt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function it(e,t,i){return i=i||e.length-t,e.slice(0,t)+e.slice(t+i,e.length)}function rt(e,t,i,r=""){return st(it(e,t,i),t,Array(i+1).join(r))}function st(e,t,i){return e.substring(0,t)+i+e.substring(t)}function at(e,...r){return e.replace(/{(\d+)(:[^}]+)?}/g,(e,t,i)=>{t=r[parseInt(t)];return null!=t?i&&"d"===i.substring(1)?Ue(new Date(t)):t.toString():e})}(a=Be=Be||{}).Plus="+",a.Minus="-",a.Equal="=",a.Tab="Tab",a.Delete="Delete",a.Enter="Enter",a.Esc="Escape",a.Space=" ",a.End="End",a.Home="Home",a.PageUp="PageUp",a.PageDown="PageDown",a.ArrowLeft="ArrowLeft",a.ArrowUp="ArrowUp",a.ArrowRight="ArrowRight",a.ArrowDown="ArrowDown",(a=Oe=Oe||{})[a.Tab=9]="Tab",a[a.Enter=13]="Enter",a[a.Esc=27]="Esc",a[a.Space=32]="Space",a[a.End=35]="End",a[a.Home=36]="Home",a[a.Left=37]="Left",a[a.Up=38]="Up",a[a.Right=39]="Right",a[a.Down=40]="Down";class nt extends s{_processShortcut(e,t,i){e=e[Oe[t.keyCode]];return!!e&&e(t,i)}processShortcut(e,t){return this._processShortcut(this.shortcutMap,e,t)}processChildrenShortcut(e,t){return this._processShortcut(this.childrenShortcutMap,e,t)}}class ot extends nt{constructor(e,t){super(),this._selection=e,this._undoEngine=t,this.shortcutMap={Esc:e=>(this.processEsc(),!0),Left:e=>(this.moveSelectedControls(!0,!0,-1),!0),Up:e=>(this.moveSelectedControls(!0,!1,-1),!0),Right:e=>(this.moveSelectedControls(!1,!0,1),!0),Down:e=>(this.moveSelectedControls(!1,!1,1),!0)}}processEsc(){var e=this._selection.focused()&&this._selection.focused().parent;e&&this._selection.focused(e)}moveSelectedControls(n,e,o){var r=this._selection.focused();if(r&&!r.getControlModel().getMetaData().isCopyDeny){this._undoEngine&&this._undoEngine().start();const d=e?"left":"top",l=e?"width":"height";let t,i,a;r.rect&&(t=r.rect()[d],i=r.rect()[d]+r.rect()[l],this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e=e.rect()[d];e<t&&(t=e)}),this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e=e.rect()[d]+e.rect()[l];e>i&&(i=e)}),n&&t<=0||!r.parent.rect||!n&&i.toFixed(5)>=r.parent.rect()[l]||(this._selection.selectedItems.filter(e=>!e.locked).filter(e=>!!e.rect).forEach(e=>{var t={},i=e.rect()[d],r=e.rect()[l],s=e.parent.rect()[l];a=i+ +o,(n&&0<=a||!n&&a+r<=s)&&(t[d]=a),!n&&a+r>s&&(t[d]=s-r),n&&a<0&&0<i&&(t[d]=0),e.rect(t)}),this._undoEngine&&this._undoEngine().end()))}}}class dt{constructor(e){this._handlers=[],this._targetElement=e}get _activeHandler(){return 0<this._handlers.length?this._handlers[this._handlers.length-1]:null}_removeHandler(e,t){var i=this._handlers.indexOf(e);i<0||(this._handlers.splice(i,1),i===this._handlers.length&&(this._targetElement.removeEventListener(t,e),this._activeHandler)&&this._targetElement.addEventListener(t,this._activeHandler))}bindHandler(e,t,i="keydown"){this._activeHandler&&this._targetElement.removeEventListener(i,this._activeHandler);const r=e=>{(0<_.fn.constructor(this._targetElement).closest(".dx-designer").length||0<_.fn.constructor(e.target).closest(".dx-designer").length||e.target===document.body)&&t(e)};this._handlers.push(r),this._targetElement.addEventListener(i,r),Ie(e,()=>{this._removeHandler(r,i)})}}class lt extends s{constructor(e){super(),this.element=e,this._eventListeners=[]}dispose(){super.dispose(),this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.element=null}addListener(e,t,i){const r=e=>{i.call(this,e)};e.addEventListener(t,r),Ie(e,function(){e.removeEventListener(t,r)}),this._eventListeners.push({element:e,eventType:t,listener:r})}setTabIndex(e){this.element.setAttribute("tabindex",e)}setFocus(){this.element.focus()}}class ut extends nt{constructor(){super(),this.childrenInitialized=!1,this.accessibilityCompliantEnabled=!1,this.focusFirstFocusableDescendant=!1,this.controlElements=[],this._eventListeners=[],this.setTabIndexes=t=>{this.controlElements.forEach(e=>e.setTabIndex(t))},this.liveRegion=()=>this.liveRegionId?(this._liveRegion&&this._liveRegion.element||(this._liveRegion={element:document.getElementById(this.liveRegionId),changeText:(e,t=200)=>setTimeout(()=>{this._liveRegion.element&&(this._liveRegion.element.textContent=e)},t)}),this._liveRegion):null,this.onInitialized=(e,t)=>{t&&(this.accessibilityCompliantEnabled=!0),this.accessibilityCompliantEnabled&&this.bindHandler(e)},this.onDomUpdated=()=>{if(this.accessibilityCompliantEnabled&&!this.isDisposing){var i=this.getElements()||[];let t=i.length!==this.controlElements.length;if(!t)for(let e=0;e<i.length;e++)if(i[e]!==this.controlElements[e].element){t=!0;break}t&&(this.initialize(void 0,i),this._handlersManager.bindHandler(this._elementContainer,e=>this._keyDownHandler(e)))}},this.onDispose=()=>{this.dispose()},this.shortcutMap={Esc:e=>this.handleEscKey(e),Tab:e=>{return!(!e||!e.shiftKey)?this.handleShiftTabKey(e):this.handleTabKey(e)},Enter:e=>this.handleEnterKey(e),Space:e=>this.handleSpaceKey(e),End:e=>this.handleEndKey(e),Home:e=>this.handleHomeKey(e),Up:e=>this.handleUpArrowKey(e),Down:e=>this.handleDownArrowKey(e),Left:e=>this.handleLeftArrowKey(e),Right:e=>this.handleRightArrowKey(e)},this.childrenShortcutMap={Tab:(e,t)=>{return!(!e||!e.shiftKey)?this.itemHandleShiftTabKey(e,t):this.itemHandleTabKey(e,t)},Enter:(e,t)=>this.itemHandleEnterKey(e,t),Space:(e,t)=>this.itemHandleSpaceKey(e,t),End:(e,t)=>this.itemHandleEndKey(e,t),Home:(e,t)=>this.itemHandleHomeKey(e,t),Up:(e,t)=>this.itemHandleUpArrowKey(e,t),Down:(e,t)=>this.itemHandleDownArrowKey(e,t),Left:(e,t)=>this.itemHandleLeftArrowKey(e,t),Right:(e,t)=>this.itemHandleRightArrowKey(e,t),Esc:(e,t)=>this.itemHandleEscKey(e,t)}}_disposeItems(){this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.disposeArray(this.controlElements),this.controlElements.length=0}getElements(t){if(this._elementContainer){let e=Array.prototype.slice.call(this._elementContainer.querySelectorAll("."+this.controlElementClassName));if(e.length)return e=t?e.filter(t):e}}initialize(e,t){this._disposeItems();t=t||this.getElements(e);t&&(t.forEach((e,t)=>{e=this.createControlElement(e,t);e&&this.controlElements.push(e)}),this.controlElements.forEach((e,t)=>{this.addListener(e.element,t,"click",this.clickHandler)}),this.childrenInitialized=!0)}getIndexByElement(e){return this.controlElements.map(e=>e.element).indexOf(e)}createControlElement(e,t){return new lt(e)}getContainer(){return this._elementContainer}changeFocus(e,t=!0){var i=this.controlElements.length-1;return this.controlElements[e=i<(e=e<0?t?i:0:e)?t?0:i:e].setFocus(),e}bindHandler(e){this._elementContainer=e,this.initialize(),this._handlersManager=new dt(this._elementContainer),this._handlersManager.bindHandler(this._elementContainer,e=>this._keyDownHandler(e))}handleEscKey(e,t){return!!this._prevActiveElement&&(this._prevActiveElement.focus(),!0)}handleTabKey(e){return!1}handleShiftTabKey(e){return!1}handleEnterKey(e){return!1}handleSpaceKey(e){return!1}handleEndKey(e){return!1}handleHomeKey(e){return!1}handleUpArrowKey(e){return!1}handleDownArrowKey(e){return!1}handleLeftArrowKey(e){return!1}handleRightArrowKey(e){return!1}itemHandleHomeKey(e,t){return this.changeFocus(0),!0}itemHandleEndKey(e,t){return this.changeFocus(this.controlElements.length-1),!0}itemHandleLeftArrowKey(e,t){return!1}itemHandleRightArrowKey(e,t){return!1}itemHandleEnterKey(e,t){return!1}itemHandleSpaceKey(e,t){return!1}itemHandleUpArrowKey(e,t){return!1}itemHandleDownArrowKey(e,t){return!1}itemHandleTabKey(e,t){return!1}itemHandleShiftTabKey(e,t){return!1}itemHandleEscKey(e,t){return!1}setFocusToPrevious(e,t=!0){return this.changeFocus(e-1,t)}setFocusToNext(e,t=!0){return this.changeFocus(e+1,t)}clickHandler(e,t){this.changeFocus(t)}dispose(){super.dispose(),this._disposeItems(),this._elementContainer=null,this._prevActiveElement=null}addListener(e,t,i,r){const s=e=>{r.call(this,e,t)};e.addEventListener(i,s),Ie(e,function(){e.removeEventListener(i,s)}),this._eventListeners.push({element:e,eventType:i,listener:s})}focus(e){if(this.childrenInitialized||this._elementContainer)if(this._prevActiveElement=e||document.activeElement,this.childrenInitialized&&!this.focusFirstFocusableDescendant)this.changeFocus(this.startIndex||0);else{const t=this._elementContainer.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');setTimeout(()=>t.length&&t[0].focus())}}lastFocusItem(){return document.getElementById("dxrd-designer-last-focus-item-blank")}_keyDownHandler(e){var t=e.target;(t.classList.contains(this.controlElementClassName)&&this.processChildrenShortcut(e,this.getIndexByElement(t))||this.processShortcut(e))&&(e.stopPropagation(),e.preventDefault())}}class ct extends ut{constructor(e,t=()=>{}){super(),this._editorViewModelsAccessor=e,this._onToggleCollapsed=t,this.controlElementClassName="dxrd-accessibility-accordion-trigger"}_collapseItem(e){var t,i,r=this._editorViewModelsAccessor();r&&(t=r.getCollapsed(),i=r.alwaysShow,r.setCollapsed(!i&&!t),this._onToggleCollapsed())}itemHandleEnterKey(e,t){return this._collapseItem(e.target),!0}itemHandleSpaceKey(e,t){return this._collapseItem(e.target),!0}clickHandler(e,t){this._onToggleCollapsed(),super.clickHandler(e,t)}}class pt extends ut{constructor(e){super(),this._editorsViewModelsAccessor=e,this.controlElementClassName="dxrd-accessibility-accordion-trigger",this.focusFirstFocusableDescendant=!0,this._complexEditorMap={},this._triggersParentToChildMap={}}_getElementsCount(){return Array.from(this.getContainer().querySelectorAll("."+this.controlElementClassName)).filter(e=>this._filterPredicate(e)).length}_defferedInit(){setTimeout(()=>{this.controlElements.length!==this._getElementsCount()&&this.initialize()},20)}_getComplexEditors(){var e={};const i=(e,t)=>{e&&e.filter(e=>e.isComplexEditor).forEach(e=>{t[e.headerId]={editor:e,isInitialized:!1},i(e.viewmodel.editors,t)})};return i(this._editorsViewModelsAccessor(),e),e}_getComplexEditorsHierarchy(){const t={},r=(t,i)=>{t.viewmodel.editors.filter(e=>e.isComplexEditor).forEach(e=>{i[e.headerId]=t.headerId,r(e,i)})};return this._editorsViewModelsAccessor().filter(e=>e.isComplexEditor).forEach(e=>{r(e,t)}),t}_filterPredicate(e){var t;let i=e.id;for(;this._triggersParentToChildMap&&this._triggersParentToChildMap[i];){if(null!=(t=null==(t=this._complexEditorMap[this._triggersParentToChildMap[i]])?void 0:t.editor)&&t.getCollapsed())return!1;i=this._triggersParentToChildMap[i]}return!0}initialize(){Object.keys(this._complexEditorMap).length||(this._complexEditorMap=this._getComplexEditors()),Object.keys(this._triggersParentToChildMap).length||(this._triggersParentToChildMap=this._getComplexEditorsHierarchy()),Object.keys(this._complexEditorMap).forEach(e=>{var t,i;this._complexEditorMap[e].isInitialized||(t=document.getElementById(e))&&((i=new ct(()=>this._complexEditorMap[e].editor,()=>this._defferedInit())).bindHandler(t),this.addDisposable(i),this._complexEditorMap[e].isInitialized=!0)}),super.initialize(e=>this._filterPredicate(e)),this.setTabIndexes(0)}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t),!0}}class ht extends lt{constructor(e,t){super(e),this.element=e,this._parentElement=t,this._borderCssClassName=["dxd-border-accented","dx-accessibility-container-highlight"],this.toolbarItemHandleFocus=()=>{this._parentElement.classList.add(...this._borderCssClassName)},this.toolbarItemHandleBlur=()=>{this._parentElement.classList.remove(...this._borderCssClassName)},e.addEventListener("focus",this.toolbarItemHandleFocus),e.addEventListener("blur",this.toolbarItemHandleBlur)}dispose(){this.element.removeEventListener("focus",this.toolbarItemHandleFocus),this.element.removeEventListener("blur",this.toolbarItemHandleBlur),super.dispose()}}const gt=Se(1),mt=function(e){return e*gt()};function ft(e,t,i){const{onInitialized:r,onDomUpdated:s,onDispose:a,controlElementClassName:n}=t,o=new MutationObserver(e=>{var t;e=e,t=n,e.some(e=>e.target.querySelector("."+t))&&s()});return o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]}),r(e,i),()=>{o.disconnect(),a()}}class vt extends ut{constructor(){super(...arguments),this.startIndex=0}resetTabIndexes(){this.setTabIndexes("-1")}initialize(){super.initialize(),this.resetTabIndexes(),this.controlElements[this.startIndex]&&this.controlElements[this.startIndex].element.setAttribute("tabindex","0")}changeFocus(e,t=!0){this.resetTabIndexes();e=super.changeFocus(e,t);return this.controlElements[e].setTabIndex("0"),this.controlElements[e].setFocus(),this.startIndex=e}}class xt extends vt{constructor(){super(...arguments),this.controlElementClassName="dx-accessibility-list-item"}createControlElement(e,t){return new ht(e,this.getContainer())}itemHandleUpArrowKey(e,t){return this.startIndex=this.setFocusToPrevious(t,!1),!0}itemHandleDownArrowKey(e,t){return this.startIndex=this.setFocusToNext(t,!1),!0}}class bt extends ut{constructor(e){super(),this._tabPanel=e,this.controlElementClassName="dx-accessibility-rightpanel-button"}_initialize(){this._initTimeout&&clearTimeout(this._initTimeout),this._initTimeout=setTimeout(()=>{this.initialize()},1)}bindHandler(e){super.bindHandler(e),this.addDisposable(...this._tabPanel.tabs.map(e=>e.events.on("visibleChanged",e=>{this._initialize()}))),this._initialize()}initialize(){super.initialize(),this.setTabIndexes(0)}createControlElement(e,t){if(this._tabPanel.tabs[t].visible)return new lt(e)}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t,!0),!0}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t,!0),!0}}var a=e(14),yt=e.n(a),a=e(15),_t=e.n(a);function Ct(e){m(Ne,e.messages)}function f(e,t,i){return De(e,t,Te)}function wt(e,t){return-1!==e.indexOf(t,e.length-t.length)}function At(t){m(Ve,t);const i={};Object.keys(t).forEach(e=>{i[e]=t[e]}),Ct({messages:i})}const v={isSubscribable:e=>"function"==typeof e&&"subscribe"in e,isComputed:e=>v.isSubscribable(e)&&"dispose"in e,unwrap:e=>v.isSubscribable(e)?e():e};class Et extends vt{constructor(e){super(),this._buttonModels=e,this.controlElementClassName="dx-accessibility-toolbar-item",this.liveRegionId="dxrd-preview-toolbar-live-region",this._buttonsSubscriptions=[],this._initializationTimeout=null,this._subscribeButtonsAndInitialize(this.buttonModels),v.isSubscribable(this._buttonModels)&&this.addDisposable(this._buttonModels.subscribe(e=>{this._buttonsSubscriptions.forEach(e=>e.dispose()),this._buttonsSubscriptions=[],this._subscribeButtonsAndInitialize(e)}))}_subscribeButtonsAndInitialize(e){e.forEach(e=>{v.isSubscribable(e.visible)&&this._buttonsSubscriptions.push(e.visible.subscribe(()=>this._initialize()))}),this._initialize()}_initialize(){this._initializationTimeout&&clearTimeout(this._initializationTimeout),this._initializationTimeout=setTimeout(()=>this.initialize(),100)}createControlElement(e,t){t=this.buttonModels[t];if(t.getVisible&&t.getVisible()||v.unwrap(t.visible))return new It(e,this.getContainer(),t,this.liveRegion.bind(this))}itemHandleEnterKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleSpaceKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleLeftArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleRightArrowKey(e,t){return this.setFocusToNext(t),!0}get buttonModels(){return v.unwrap(this._buttonModels)}}class It extends ht{constructor(e,t,i,r){super(e,t),this.element=e,this._toolbarItemModel=i,this._liveRegion=r,this._selectBox=yt.a.getInstance(e.children[0]),this._menu=_t.a.getInstance(e.children[0])}_complexItem(){return!(!this._selectBox&&!this._menu)}dispose(){super.dispose(),this._menu=null,this._selectBox=null}setFocus(){return this._complexItem()&&"true"!==this.element.getAttribute("aria-disabled")?this._liveRegion().changeText(f("press Enter or Space to activate the editor","ASPxReportsStringId.WebDocumentViewer_AriaActivateEditor"),200):this._liveRegion().changeText(""),super.setFocus()}actionExecute(){this._complexItem()&&this._liveRegion().changeText(f("Press Alt ↓ or Alt ↑ to navigate the editor. Press Shift Tab to exit navigation mode.","ASPxReportsStringId.WebDocumentViewer_AriaEditorKeyboardNavigation"),500),this._selectBox?this._selectBox.focus():this._menu?this._menu.focus():v.unwrap(this._toolbarItemModel.disabled)||this._toolbarItemModel.clickAction()}}class St extends xt{constructor(e){super(),this._rootHolder=e,this.controlElementClassName="dx-accessibility-treelist-item"}_setFocusToParentNode(e,t){let i=1;var r=e.parent.items,s=r.indexOf(e);const a=(e,t)=>(e.hasItems&&!e.collapsed&&e.items.forEach(e=>{t+=a(e,0)}),t+=1);for(let e=0;e<s;e++)i+=a(r[e],0);this.changeFocus(t-i)}_toggleCollapsed(e,t){this.startIndex=this.getIndexByElement(e),t.toggleCollapsed()}_toggleSelected(e){this._getItemModel(e).toggleSelected()}_getItemModel(e){return this._rootHolder.root.store.getItem(e.id)}createControlElement(e,t){return new lt(e)}itemHandleLeftArrowKey(e,t){var i=this._getItemModel(e.target);return i.hasItems&&!i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this._setFocusToParentNode(i,t),!0}itemHandleRightArrowKey(e,t){var i=this._getItemModel(e.target);return i.hasItems&&(i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this.changeFocus(t+1,!1)),!0}itemHandleEnterKey(e,t){return this._toggleSelected(e.target),!0}itemHandleSpaceKey(e,t){return this._toggleSelected(e.target),!0}clickHandler(e,t){super.clickHandler(e,t),this.startIndex=t}}class $t{constructor(e,t,i){this._data=t,this._templates=i,this.templateName=e}data(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}text(e){if(0===arguments.length){if(this.templateName in this._templates)return this._templates[this.templateName];throw new Error("Cannot find template with ID "+this.templateName)}this._templates[this.templateName]=e}}class kt{constructor(){this._hasTemplate=(e,t)=>t&&!!document.getElementById(e)||this._templates.hasOwnProperty(e),this._data={},this._templates={}}static get Instance(){return this._instance||(this._instance=new this)}static get templates(){return kt.Instance._templates}static addTemplate(e,t){kt.templates[e]=t}static addTemplates(e){m(kt.templates,e)}static extendTemplates(i){for(let e in i){let t=void 0;Object.defineProperty(kt.templates,e,{configurable:!0,enumerable:!0,get:()=>t||kt.templates[i[e]],set:e=>{t=e}})}}static getExistingTemplate(e,t=!0){return kt.Instance._hasTemplate(e,t)?e:void 0}}function Pt(e,t){kt.addTemplate(e,t)}function Dt(e){var e="#"===e[0]?e.substr(1):e,t=document.querySelector("#"+e);return t&&t.innerHTML||kt.templates[e]}var Tt,a=e(16),Ft=e.n(a);function Bt(e){return e?e.surface:null}function Ot(e,t,i,r){var s={top:t.top+r.y,left:t.left+r.x,bottom:t.top+i.originalSize.height,right:t.left+i.originalSize.width};return 0!==r.x?s.left=e.snapPosition(s.left,!1):0!==r.width&&(s.right=e.snapPosition(t.left+i.size.width,!1)),0!==r.y?s.top=e.snapPosition(s.top,!0):0!==r.height&&(s.bottom=e.snapPosition(t.top+i.size.height,!0)),s}function Mt(e){return parseInt(e,10)||0}function Nt(e,t,i){let r=Mt(e.css("left"));var s=Mt(e.css("top")),i=(i.rtl()&&(i=i.pageWidth()-i.margins.left()-e.width(),r>i)&&(r=i),e[0].getBoundingClientRect());return{top:s,left:r,width:i.width,height:i.height}}function Vt(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}function zt(e,t){return t&&(Vt(e)<Vt(t)?window:t)||window}function Lt(s,a,n=!1){return()=>{var e=_.fn.constructor(a).find(".dxrd-designer").eq(0),t=e.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,i=(e.find(".dxrd-right-panel:visible").outerWidth()||0)+(e.find(".dxrd-right-tabs:visible").outerWidth()||0),r=i+t,r=e.width()-r;e.find(".dxrd-surface-wrapper").eq(0).css({left:n?i:t,right:n?t:i,width:r,bottom:e.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}),s(r)}}let Ht=!1;function Rt(e){Ht=e}const jt={info:"info",warning:"warning",error:"error",success:"success"},Wt=(Tt=window.console,{info:(a=e=>function(){Tt&&_.isFunction(Tt[e])&&Tt[e].apply(Tt,arguments)})("info"),warn:a("warn"),error:a("error")});function Gt(e,t=!1){if(t&&Kt(e),Ht)throw new Error(e);Wt.warn(e)}function Ut(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""}const qt=(e,t="error",i,r,s,a)=>{a=a||_.fn.constructor(".dx-designer-viewport")[0],Ft()({message:e,type:t,maxWidth:a?a.clientWidth:void 0,position:{boundary:a,collision:"fit",of:zt(document.documentElement,a),my:"bottom",at:"bottom",offset:"0 -10"},container:a,hideOnOutsideClick:!0,closeOnSwipe:!1,displayTime:i||("error"===t?6e4:3e3),contentTemplate:s})};let Kt=qt;const Yt=e=>Kt=e,Jt=()=>Kt=qt,Xt=!0;function Zt(e,t,i,r,s){let a=e;var n=Ut(i);n&&n!==a&&(Xt?a+=": "+n:a=n);try{s?s(a,i,r):Gt(a)}finally{t.reject(i,r,e)}}const Qt={handlers:[],call:t=>{for(let e=0;e<Qt.handlers.length;e++)Qt.handlers[e](t)}};function ei(t){return t&&Qt.handlers.push(t),{dispose:()=>{var e;t&&(e=t,Qt.handlers.splice(Qt.handlers.indexOf(e),1))}}}class ti{static generateUri(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t}}const ii="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx",ri=()=>{ii;ii;Kt("","error",null,null,function(){return'<div><span>Open the browser developer console to investigate the issue. Review the following help topic: </span><a href="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx" target="_blank" rel="noopener noreferrer">Reporting Application Diagnostics</a></div>'}),console.log("Review the following help topic to diagnose a problem: https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx")},si=e=>{var t=ni();(e instanceof Element?e:e[0]).innerHTML=t},ai=(e,t,i)=>{try{return e()}catch(e){if(!t||!i)throw e;si(i),console.error(e)}},ni=()=>{ii;var e=Dt("dxrd-svg-error");return`<div class="dxrd-error-page">${e?`<div class="dxrd-error-page-icon">${e}</div>`:""}<div class="dxrd-error-page-title">Something went wrong</div><div class="dxrd-error-page-content">Review the <a href="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx" target="_blank" rel="noopener noreferrer">following help topic</a> to diagnose a problem.</div></div>`};class oi extends s{constructor(e,t){super(),this._options=e,this._customEventRaiser=t,this._templateHtml=Dt("dxrd-designer"),this.developmentMode=e.developmentMode}dispose(){super.dispose(),this.sender&&this.sender instanceof s&&this.sender.dispose(),this.removeProperties()}_fireEvent(e,t){this._customEventRaiser?this._customEventRaiser(e,t):this._options&&this._options.callbacks&&this._options.callbacks[e]&&this._options.callbacks[e](this.sender,t)}_warnForIncorrectCallbackName(e,t){console.warn('The callback name must be different. Use "'+e+'" instead of "'+t+'" to call the function with the correct arguments.')}_checkCallbackName(e){Object.keys(this._options.callbacks).forEach(t=>{e.forEach(e=>{t===e.privateName&&this._warnForIncorrectCallbackName(e.publicName,t)})})}_getServerActionUrl(e,t){return ti.generateUri(e,t)}_generateCallbackDictionary(e,t){const i=oi.convertCallbackArrayToDictionary(e),r=i;return t&&this._options.callbacks[t]?Object.keys(i).forEach(e=>{r[e]=this._options.callbacks[t][e]||i[e]}):Object.keys(i).forEach(e=>{r[e]=this._options.callbacks[e]||i[e]}),r}_getLocalizationRequest(){const r=_.Deferred();var e=this._options.requestOptions;return e.getLocalizationAction?(e=this._getServerActionUrl(e.host,e.getLocalizationAction),_.getJSON(e).fail(function(e,t,i){try{Zt(i.message,_.Deferred(),e,t)}finally{r.reject()}}).done(e=>{r.resolve(e)})):r.resolve(),r.promise()}_createDisposeFunction(e){Ie(e,()=>{this.dispose()})}static convertCallbackArrayToDictionary(e){const t={};return e.forEach(e=>{t[e.privateName]=e.callback}),t}}class di{constructor(e,t){this._element=e,this._options=t}getBindingName(){return""}render(){l.cleanNode(this._element),this._element.setAttribute("data-bind",this.getBindingName()+": $data"),ai(()=>l.applyBindings(this._options,this._element),this._options.developmentMode,this._element)}dispose(){l.cleanNode(this._element)}}var C=e(0);class li{constructor(e=!0){this._useDeferredRegistration=e,this._editorTemplates={}}register(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,m(this._editorTemplates[e],t)):this._editorTemplates[e]=t}unregister(e){delete this._editorTemplates[e]}registerEditors(e){for(const t in e)this.register(t,e[t])}getEditor(e){return!this._editorTemplates[e]&&this._useDeferredRegistration&&(this._editorTemplates[e]={_deferred:!0}),this._editorTemplates[e]}}const n=new li,ui=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:n.getEditor("numeric"),editorOptions:{min:2}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:n.getEditor("numeric"),editorOptions:{min:2}}],ci=[{propertyName:"x",displayName:"X",editor:n.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:n.getEditor("numeric")}];class pi{constructor(e,t){this.isPropertyDisabled=e=>{},this.height=C.observable(t).extend({dxdnum:{min:2}}),this.width=C.observable(e).extend({dxdnum:{min:2}})}getInfo(){return ui}static fromString(e="0, 0"){e=e.split(",");return new pi(parseFloat(e[0]),parseFloat(e[1]))}toString(){return this.width()+", "+this.height()}}function hi(e,t=!1,i=3){return(t?Math.floor:Math.round)(e*Math.pow(10,i))/Math.pow(10,i)}function gi(e,t,i=1){let r;return r="Pixels"===t?+e:"TenthsOfAMillimeter"===t?3.78*e/10:96*e/100,hi(r*=i,!0)}function mi(e,t,i){let r;return r="Pixels"===t?+e:"TenthsOfAMillimeter"===t?e/3.78*10:e/96*100,hi(r/=i)}pi.unitProperties=["width","height"];const fi=e=>e+"px",vi=e=>parseFloat(e.replace("px",""));let xi=e=>{throw new Error("Model Accessor is not implemented")};function bi(e){xi=e}class yi extends s{constructor(e,t,r,s,i){super(),this._snapDisabled=!1,this._size=new pi(0,0),this.alwaysAlt=!1,this.surface=e,this.selection=t,this.snapHelper=s,this.dragHelperContent=i,this.stopDrag=(e,t,i)=>{r()&&r().start(),this.doStopDrag(e,t,i),r()&&r().end(),s&&s.deactivateSnapLines()}}dispose(){super.dispose(),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null}getTarget(e){return e.toElement||xi(e.relatedTarget)&&e.relatedTarget||e&&e.target||null}_getAbsoluteSurfacePosition(e){return{left:vi(e.dataset.leftPosition)-e.delta.left,top:vi(e.dataset.topPosition)-e.delta.top}}addControl(e,t,i){var r=t.width&&t.width()||t._width&&t._width(),s=t.underCursor();s.x<r&&(t.getControlModel().addChild(e),t=Bt(e))&&(e=i.width(),i=i.height(),r=s.x+e>r?r-e-1:s.x,t.rect({left:r,top:Math.max(s.y,0),width:e,height:i}),this.selection.initialize(t))}recalculateSize(e){var t=C.unwrap(this.surface);this._size.width(gi(C.unwrap(e.width)*t.dpi()/100,t.measureUnit(),t.zoom())),this._size.height(gi(C.unwrap(e.height)*t.dpi()/100,t.measureUnit(),t.zoom()))}helper(e,t){this.snapHelper&&this.snapHelper.updateSnapLines(e||null)}canDrop(e,t,i){let r=e.locked;return!(r=i&&i.canDrop?r||!i.canDrop(e,t):r)}startDrag(e){}drag(e,t,i){let r=!this._snapDisabled&&!0!==e.altKey;var s;this.selection.dropTarget&&(e=!this.selection.dropTarget.getControlModel().getMetaData().isContainer&&this.selection.dropTarget.parent||this.selection.dropTarget,i=(s=i.getControlModel&&i.getControlModel())&&s.getMetaData()||i.info,this.canDrop(e,s,i)?this.dragHelperContent&&this.dragHelperContent.isLocked(!1):(this.snapHelper&&this.snapHelper.deactivateSnapLines(),r=!1,this.dragHelperContent&&this.dragHelperContent.isLocked(!0))),r&&(e=this._getAbsoluteSurfacePosition(t),s=this.snapHelper&&this.snapHelper.activateSnapLines({left:e.left,top:e.top,right:e.left+this._size.width(),bottom:e.top+this._size.height()}))&&(0<s.left||0<s.top)&&(t.dataset.leftPosition=fi(vi(t.dataset.leftPosition)-s.left),t.dataset.topPosition=fi(vi(t.dataset.topPosition)-s.top),t.ghostContainer.style.left=t.dataset.leftPosition,t.ghostContainer.style.top=t.dataset.topPosition)}doStopDrag(e,t,i){}}yi.started=C.observable(!1);class _i{constructor(e=0,t=0,i=0,r=0){this.left=C.observable(0),this.top=C.observable(0),this.width=C.observable(0),this.height=C.observable(0),this.className="dxrd-drag-helper-item",this.left(e),this.top(t),this.width(i),this.height(r)}}class Ci extends _i{constructor(e,t,i,r,s){super(t,i,r,s),this.position=e}}class wi extends _i{constructor(e){super(),this.controls=C.observableArray([]),this.customData=C.observable({}),this.template="dxrd-drag-helper-source",this.isLocked=C.observable(!1),this._selectionProvider=e}get _isEmpty(){return 0===this.controls().length}reset(){this.controls([]),this.customData({})}update(i){if(this.left(i.absolutePosition.x()),this.top(i.absolutePosition.y()),this.width(i.rect().width),this.height(i.rect().height),this._isEmpty){const r=[];this._selectionProvider.selectedItems.forEach((e,t)=>{e.locked||e.parent!==i.parent||r.push(new Ci(t))}),this.controls(r)}this.controls().forEach(e=>{var t=this._selectionProvider.selectedItems[e.position];e.left(t.absolutePosition.x()-this.left()),e.top(t.absolutePosition.y()-this.top()),e.width(t.rect().width),e.height(t.rect().height)})}setContent(e,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)}}class Ai extends yi{adjustDropTarget(e){let t=e;for(;null!=t;){if(t.selected&&t.selected()){e=t.parent;break}t=t.parent}return e}constructor(e,t,i,r,s){super(e,t,i,r,s),this.cursor="move",this.containment=".dxrd-ghost-container",this.helper=e=>{super.helper(e),-1===this.selection.selectedItems.indexOf(e)&&this.selection.updateSelection(e),s.update(e),this._size.width(s.width()),this._size.height(s.height())}}startDrag(e){this.selection.swapFocusedItem(e);const t=this.selection.focused(),i=t.rect().left+t.underCursor().x,r=t.rect().top+t.underCursor().y;this.selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e.parent===t.parent&&(e.underCursor().offsetX=e.rect().left-i,e.underCursor().offsetY=e.rect().top-r)})}drag(e,t,i){t.dataset.leftPosition=fi(vi(t.dataset.leftPosition)+t.scroll.left),t.dataset.topPosition=fi(vi(t.dataset.topPosition)+t.scroll.top),super.drag(e,t,i)}getLocation(e,t){var i=e.underCursor().x+t.underCursor().offsetX,e=e.underCursor().y+t.underCursor().offsetY;return{left:0<i?i:0,top:0<e?e:0}}ajustLocation(e,t){t.rect(this.getLocation(e,t))}doStopDrag(r,e){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){var s=this.selection.dropTarget.getControlModel(),s=s.getNearestParent(s).surface;const n=this.selection.focused();let t=this.adjustDropTarget(s),e=n.getControlModel(),i=e.getNearestParent(t.getControlModel());s=(t=i&&Bt(i))!==n.parent;if(t&&t.canDrop()){var r=this._getAbsoluteSurfacePosition(r),a=(t.underCursor().x=r.left-(t.absolutePosition&&t.absolutePosition.x()||0)-n.underCursor().offsetX,t.underCursor().y=r.top-(t.absolutePosition&&t.absolutePosition.y()||0)-n.underCursor().offsetY,this.selection.selectedItems.filter(e=>!e.locked&&e.parent===n.parent).map(e=>e.getControlModel()).filter(e=>e.getMetaData().canDrop(t,e)));if(s){for(let e=0;e<a.length;e++)a[e].surface.rect({top:0,left:0});e.parentModel().removeChilds(a),i.addChilds(a);for(let e=0;e<a.length;e++)this.ajustLocation(t,a[e].surface);this.selection.focused(n),this.selection.selectItems(a.map(e=>e.surface))}else for(let e=0;e<a.length;e++)this.ajustLocation(t,a[e].surface);this.selection.expectClick=!s}}}}class Ei extends yi{constructor(e,t,i,r,s,a){super(e,t,i,r,s),this.cursor="arrow",this._controlsFactory=a,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}helper(e){super.helper(e);e=pi.fromString(e.info["@SizeF"]||e.info.size||"100,23");this.recalculateSize(e),this.dragHelperContent.setContent(new _i(0,0,this._size.width(),this._size.height()))}doStopDrag(e,t){var i;this.dragHelperContent.reset(),this.dragHelperContent.isLocked()||this.selection.dropTarget&&(i=Bt((t=this._controlsFactory.createControl(m({},t.info),null)).getNearestParent(this.selection.dropTarget.getControlModel())))&&i.canDrop()&&(e=this._getAbsoluteSurfacePosition(e),i.underCursor().x=e.left-(i.absolutePosition&&i.absolutePosition.x()||0),i.underCursor().y=e.top-(i.absolutePosition&&i.absolutePosition.y()||0),this.surface().isFit&&this.surface().isFit(i)||i.underCursor().isOver)&&this.addControl(t,i,this._size)}}class Ii extends yi{constructor(e){super(null,null,C.observable(null),null,e.dragHelperContent),this.parent=()=>_.fn.constructor(e.parent),this.containment=e.containment,this._target=e.target,this._addHandler=e.addHandler}helper(e,t){this._dropTarget=null;t=_.fn.constructor(t.target).closest(".ui-draggable"),t=new _i(6,6,t.width(),t.height()),t.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(t,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}}),t=Dt(this.dragHelperContent.template),e=_.fn.constructor(t).css({display:"block"});return e.prependTo(this.parent()),C.applyBindingsToDescendants(this.dragHelperContent,e[0]),e}doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,xi(e),this._getAbsoluteSurfacePosition(e))}drag(e,t){var e=_.fn.constructor(this.getTarget(e)),i=e.closest(this._target);this._dropTarget=null,!i.length||this._target&&!e.closest(this._target)[0]||(this._dropTarget=xi(i.get(0)))}}function Si(){var e="eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVQxWXljbXQwYlhSVk1IRkhXRlp3V0VNNWIweDNaeUlLZlE9PS53WnNHemNlSVJvVUNjRW5qcFE3YkxscHpIM2liVThMYVZGczZZWXpwVDMwYjBLdzFzZ0lYckZ5MFcyNUtFZWZPRWFPTkVTc1dLbGMwRGl5V1I4amxCY1NSUWEyaEJMUXY1S1ZJU1F4aWlYVmhORmRIb2I5NFNBUDZuajNmeExKSVlDdTlydz09In0=";return JSON.parse(atob(e))}a=e(13);var o=e(4),$i=e.n(o);const ki={analytics:"23.2.3",devextreme:a.version||a};Si()&&$i()(Si());class Pi{constructor(e){this.getAjaxSettings=e}sendRequest(e){e=this._prepareRequestSettings(e);return _.ajax(e)}_prepareRequestSettings(e){return m({},this.getAjaxSettings(),e)}}var Di=function(e,n,o,d){return new(o=o||Promise)(function(i,t){function r(e){try{a(d.next(e))}catch(e){t(e)}}function s(e){try{a(d.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(r,s)}a((d=d.apply(e,n||[])).next())})};class Ti{constructor(e){this._executeRequest=(e,t,i,r,s)=>{const a=_.Deferred();return this._fetch(e,t,i,r,s).then(i=>Di(this,void 0,void 0,function*(){var e=null==(e=i.headers.get("content-type"))?void 0:e.split(";")[0];if("application/json"===e)try{var t=yield i.json();i.ok?a.resolve(t,"success",Object.assign(Object.assign({},a.promise()),{responseJSON:t})):a.reject(Object.assign(Object.assign({},a.promise()),{responseJSON:t,statusText:t.statusText,status:i.status}),t.statusText)}catch(e){a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:i.status}),e.message,e)}else i.ok&&e?a.resolve({result:i,success:!0}):a.reject(Object.assign(Object.assign({},a.promise()),{statusText:i.statusText,status:i.status}),i.statusText)}),e=>{a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:0}),e.message)}),a.promise()},this._fetch=(e,t,i,r,s)=>{e={method:e,cache:null==r?void 0:r.cache,headers:null==r?void 0:r.headers,body:i,signal:null==s?void 0:s.signal},r=this.getFetchSettings();return r&&r.beforeSend&&r.beforeSend(e),fetch(t,e)},this.useFetch=!0,this.getFetchSettings=e||(()=>({}))}sendRequest(e){var{method:t,preparedUrl:i,body:r,params:s}=this._prepareParams(e);return this._executeRequest(t,i,r,s,e.abortController)}_prepareParams(e){var t=e.type,i=e.data;let r=e.url,s=null;var i=_.param(i),e=(i&&("GET"===e.type?r.includes("?")?r+="&"+i:r+="?"+i:"POST"===e.type&&(s=new URLSearchParams(i))),{cache:"default",headers:Object.assign(Object.assign({},e.headers),null==(i=this.getFetchSettings())?void 0:i.headers)});return{method:t,preparedUrl:r,body:s,params:e}}}function Fi(e){return e.split(",")[0].trim()}function Bi(e){e=Fi(e).split(".");return e[e.length-1]}function Oi(e){let t=e.displayType&&e.displayType()||e.controlType;return(t=e.getControlFactory&&(e=e.getControlFactory().getControlInfo(t)).displayName?e.displayName:t)&&f(Bi(t))}function Mi(e){return e?(v.unwrap(e.name)||v.unwrap(e.displayName))+((e=Oi(e))?" ("+e+")":""):""}function Ni(e,t=!1){e=Fi(e||"").split(".").join("_");let i;return 0===e.indexOf("XR")?i=e.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===e&&(i="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(i||e.toLowerCase())}function Vi(e,t,i){var r;return 0===t.indexOf("XR")?t=t[2].toLowerCase()+t.slice(3):-1!==(r=t.indexOf("Band"))&&"SubBand"!==t&&(t=t.slice(0,r)+t.slice(r+4)),zi(i||e.map(e=>v.unwrap(e.name)),t)}function zi(e,t,i=!0){let r=i?1:0,s=i?t+r:t;for(;0<e.filter(e=>e===s).length;)r++,s=t+r;return s}function Li(t,i,r=[],s=["surface","reportSource"]){if(-1===r.indexOf(t)&&t&&void 0!==t){const a=[];Object.keys(t).forEach(e=>{-1===r.indexOf(t[e])&&0!==e.indexOf("_")&&-1===s.indexOf(e)&&a.push(t[e])}),i(t),r.push(t);for(let e=0;e<a.length;e++)a[e]=C.unwrap(a[e]),"object"==typeof a[e]&&Li(a[e],i,r,s)}}function Hi(i,r,s=["controls","bands","subBands","crossBandControls","rows","cells","fields"],a=[]){if(i&&void 0!==i){a.push(i);for(let e=0,t=s.length;e<t;e++)i[s[e]]&&(r(i[s[e]],i),(i[s[e]]()||[]).forEach(e=>Hi(e,r,s,a)))}}class Ri extends s{constructor(e,t,i){super(),this.target=e,this.collectionNames=i,this._handlers=[],this._setText=!1,this._visitedCollections=[],this._subscriptions=[],this.added=e=>{this._setText=!0,this._collectControls(e),this._setText=!1},this.deleted=e=>{const t=this.allControls();var i=t.indexOf(e);t.splice(i,1),Hi(e,e=>{e().forEach(e=>{t.splice(t.indexOf(e),1)})}),this.allControls.valueHasMutated()},this.allControls=C.observableArray();let r=e;C.isSubscribable(e)&&(this._disposables.push(e.subscribe(e=>{this._visitedCollections=[];for(let e=0,t=this._subscriptions.length;e<t;e++)this._subscriptions[e].dispose();this._subscriptions=[],this.allControls([]),e&&this._collectControls(e)})),r=e.peek()),this._disposables.push(this.allControls.subscribe(e=>{var t=e.filter(e=>"added"===e.status);for(let e=0;e<t.length;e++)this._setName(t[e].value)},null,"arrayChange")),r&&this._collectControls(r),this._handlers.push.apply(this._handlers,t)}getNameProperty(e){return e.name}getControlByName(t){let i=null;return this.allControls().some(e=>C.unwrap(e.name)==t&&(i=e,!0)),i}_setName(t){var e=this.allControls().map(e=>C.unwrap(this.getNameProperty(e)));(!this.getNameProperty(t)()||1<e.filter(e=>e===this.getNameProperty(t)()).length)&&(e=Vi(this.allControls(),this._getNamePrefix(t),e),this.getNameProperty(t)(e),this._setText)&&this._setDefaultText(t)}_setDefaultText(e){var t=e.getControlInfo&&e.getControlInfo().defaultVal&&e.getControlInfo().defaultVal["@Text"];this._setText&&e.text&&!e.text()&&null==t&&e.text(this.getNameProperty(e)())}_getNamePrefix(e){return(e.controlType||"Unknown").split(".").pop()}dispose(){super.dispose(),this._subscriptions.forEach(e=>e.dispose()),this._subscriptions.splice(0),this._visitedCollections.splice(0),this._handlers.splice(0),this.target=null,this.allControls([])}processCollection(e){}_collectControls(e){const t=[e];Hi(e,(i,r)=>{if(-1===this._visitedCollections.indexOf(i)){this._visitedCollections.push(i);let e=this._subscriptions,t=(r instanceof s&&(e=r._disposables),i.subscribe(e=>{e.forEach(t=>{null==t.moved&&(this[t.status]&&this[t.status](t.value),this._handlers.forEach(e=>{e[t.status]&&e[t.status](t.value)}))})},null,"arrayChange"));e.push({dispose:()=>{t.dispose(),t=null,this._visitedCollections.splice(this._visitedCollections.indexOf(i),1)}})}this.processCollection(i()),t.push.apply(t,i())},this.collectionNames),this.allControls.push.apply(this.allControls,t)}getControls(e){const t=C.observableArray();return Hi(e,e=>{t.push.apply(t,e())}),t}}const ji={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:n.getEditor("numeric")},Wi={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:n.getEditor("numeric")},Gi={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:n.getEditor("numeric")},Ui={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:n.getEditor("numeric")},qi={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:n.getEditor("numeric")},Ki=[qi,ji,Wi,Gi,Ui];let c=function(s={}){const t={createDefaultModel:e=>(s={getModel(){return e}},t),generateProperty(e,t,i){var r=s;return r[e]=t,i&&(r["set_"+e]=e=>i(e)),this},configureProperty(e,t){return e in s&&t(s[e]),this},getViewModel(){return s}};return t};function Yi(e){c=e}class Ji extends s{constructor(e={},t=_e()){super(),this.events=new pe,this._needInitializeModel()&&(this.deserialize(e,t),this.__decorators)&&this.__decorators.forEach(e=>e(this))}deferredUpdateViewModel(){return!0}assignProperty(e,t,i){re.generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){re.generateArrayProperty(this,e,t,i)}deserialize(e,t){t.deserialize(this,e)}dispose(){super.dispose(),this.events&&this.events.dispose()}_needInitializeModel(){return!0}_initializeModel(e,t){this.deserialize(e,t),this.__decorators&&this.__decorators.forEach(e=>e(this))}}function d(s,a){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(e=>{var t;i.isPrototypeOf(e)&&(t="function"==typeof s?s():s,e.assignProperty(r,t,a))})}}function Xi(r,s){return(t,i)=>{t.__decorators||(t.__decorators=[]),t.__decorators.push(e=>{t.isPrototypeOf(e)&&e.assignArrayProperty(i,[...r()],s)})}}class Zi extends Ji{onPropertyChanged(e){}}class Qi extends Ji{getViewModel(){return this.__viewModel||this.initializeViewModel(),this.__viewModel}onPropertyChanged(e){throw new Error("Method not implemented.")}initializeViewModel(){this.__viewModel=this.createViewModel()}updateViewModel(e){}setProperty(e,t){this[e]=t}getProperty(e){return this[e]}createViewModel(){return c().createDefaultModel(this).getViewModel()}}class er extends Qi{constructor(e={},t,i="multiplatform"){super(e,t),this._engineType=i,this._propertiesSubscriptions={},t=t||("multiplatform"===this._engineType?_e:ye)(),this._engineType=t.engineType,this._initializeModel(e,t)}_needInitializeModel(){return!1}_getEngine(){return"native"===this._engineType?be:l}onPropertyChanged(e){}subscribeOnChanges(r,e){e.forEach(i=>{this._propertiesSubscriptions[i]&&this._propertiesSubscriptions[i](),this._propertiesSubscriptions[i]=this.subscribeProperty(i,e=>{var t;r&&(t=r[i],r[i]=e,Q(this,{propertyName:i,oldValue:t,newValue:e}))})})}_get(e,t="unwrap"){e=this._getEngine().getPropertyValue(this,e);return"unwrap"===t?this.unwrap(e):"peek"===t?this.peek(e):e}_set(e,t){this._getEngine().setPropertyValue(this,e,t)}assignProperty(e,t,i){this._getEngine().generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){this._getEngine().generateArrayProperty(this,e,t,i)}createComputedProperty(e,t,i,r,s=!1){return this._getEngine().createComputedProperty(this,e,t,i,r,s)}subscribeProperty(e,t,i){return this._getEngine().subscribeOnPropertyChanged(this,e,t,i)}unwrap(e){return this._getEngine().unwrap(e)}peek(e){return this._getEngine().peek(e)}destroyPropertySubscription(e){this._propertiesSubscriptions[e]&&this._propertiesSubscriptions[e](),delete this._propertiesSubscriptions[e]}dispose(){super.dispose(),Object.keys(this._propertiesSubscriptions).forEach(e=>{this._propertiesSubscriptions[e]()}),this._propertiesSubscriptions={}}}o=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class tr extends er{constructor(e=l.wrap(null),t=l.wrap(null),i=l.wrap(null),r=l.wrap(null),s=l.wrap(100)){super(),this.left=e,this.right=t,this.top=i,this.bottom=r,this.dpi=s,["left","right","top","bottom"].forEach(e=>{const t="_"+e;this.assignProperty(t,this._get(e)),this.addDisposable(this.createComputedProperty(e,{read:()=>this._get(t)||0,write:e=>{this._set(t,e)}},[ve(this,[t])]))});let a=null;this.addDisposable(this.createComputedProperty("all",{read:()=>a=this._get("_isUpdating")?a:["right","top","bottom"].every(e=>this._get(e)===this._get("left"))?this._get("left"):null,write:t=>{this._set("_isUpdating",!0),["left","right","top","bottom"].forEach(e=>this[e](t)),this._set("_isUpdating",!1)}},[ve(this,["_isUpdating","right","left","top","bottom"])]))}getInfo(){return Ki}resetValue(){["left","right","top","bottom"].forEach(e=>this._set("_"+e,null))}isEmpty(){return["left","right","top","bottom"].map(e=>this._get("_"+e)).every(e=>null===e)}applyFromString(e){return e&&(e=(e||"").split(","),this._set("left",parseInt(e[0])||0),this._set("right",parseInt(e[1])||0),this._set("top",parseInt(e[2])||0),this._set("bottom",parseInt(e[3])||0)),this}static from(e){return(new tr).applyFromString(e)}toString(){if(!this.isEmpty())return this._toString()}_toString(e=0){return["left","right","top","bottom"].map(e=>parseInt(this._get(e))).concat(this._get("dpi")).join(", ")}}function ir(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}tr.defaultVal="0, 0, 0, 0, 100",o([d(!(tr.unitProperties=["left","right","top","bottom"]))],tr.prototype,"_isUpdating",void 0);class rr{constructor(a,e){this._rtlLayout=e,this._control=a,this.borderCss=e=>{var e=this._getBorderWidth(a,e),t=l.unwrap(a.borderDefault),i=l.unwrap(a.borderColor)||"",r=l.unwrap(a.borders)||"",s=l.unwrap(a.borderDashStyle)||"";return t?this.createBorders(s,e,i,r,t):this.createBorders(s,e,i,r)},this.backGroundCss=()=>({backgroundColor:l.unwrap(a.backColor)||"transparent"}),this.foreColorCss=()=>{return{color:"transparent"===(l.unwrap(a.foreColor)||"transparent")?"black":l.unwrap(a.foreColor)}},this.fontCss=()=>this.createFont(l.unwrap(a.font)||""),this.wordWrapCss=()=>this.createWordWrap(l.unwrap(a.wordWrap),l.unwrap(a.multiline)),this.paddingsCss=()=>{var e=l.unwrap(a.paddingObj||a.padding)||tr.from(tr.defaultVal);return{paddingLeft:this._getPixelValueFromUnit(e._get("left"),a)+"px",paddingTop:this._getPixelValueFromUnit(e._get("top"),a)+"px",paddingRight:this._getPixelValueFromUnit(e._get("right"),a)+"px",paddingBottom:this._getPixelValueFromUnit(e._get("bottom"),a)+"px"}},this.textAlignmentCss=()=>{var e=l.unwrap(a.textAlignment)||"";return m(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))},this.stroke=()=>{return{stroke:"transparent"===(l.unwrap(a.foreColor)||"transparent")?"black":l.unwrap(a.foreColor)}},this.strokeWidth=()=>{return{strokeWidth:l.unwrap(a.lineWidth)||""}},this.strokeWidthWithWidth=()=>{return{strokeWidth:l.unwrap(a.width)||""}},this.strokeDashArray=()=>{return{strokeDasharray:this.createStrokeDashArray(l.unwrap(a.lineStyle)||"",l.unwrap(a.lineWidth)||"")}},this.strokeDashArrayWithWidth=()=>{return{strokeDasharray:this.createStrokeDashArray(l.unwrap(a.lineStyle)||"",l.unwrap(a.width)||"")}},this.crossBandBorder=e=>this.createBorder(l.unwrap(a.borderDashStyleCrossband)||"solid",this._getBorderWidth(a),l.unwrap(a.borderColor)||"",l.unwrap(a.borders)||"",e),this.angle=()=>this.createAngle(l.unwrap(a.angle)||0),this.cellBorder=(e,t)=>this.createControlBorder(l.unwrap(a.borderDashStyle)||"solid",this._getBorderWidth(a,t),l.unwrap(a.borderColor)||"",l.unwrap(a.borders)||"",e),this.zipCodeFontCss=e=>this.createZipCodeFont(e||l.unwrap(a.size.height)),this.zipCodeAlignment=()=>{var e="TopLeft";return m(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))}}_getPixelValueFromUnit(e,t){return t.root&&t.root.measureUnit?gi(e,t.root.measureUnit()):e}_patchPosition(e){return ir(e,l.unwrap(this._rtlLayout))}_getBorderWidth(e,t){var i=l.unwrap(e.borderWidth);return e.borderWidth&&"number"==typeof i?Math.floor(i*(t||1)):""}createBorder(e,t,i,r,s){var a={},e=(r=r||"All",a={stroke:"Silver",strokeWidth:2},this.createStrokeDashArray(e,t));return-1===r.indexOf(s)&&-1===r.indexOf("All")||(a.stroke=i,a.strokeWidth=t,a.strokeDasharray=e),a}createControlBorder(e,t,i,r,s,a="solid 1px Silver"){var n={};return e="Dash"===e?"dashed":"Dot"===e?"dotted":"Double"===e?"double":"solid",-1!==(r=r||"").indexOf(s)||-1!==r.indexOf("All")?n["border"+this._patchPosition(s)]=e+" "+t+"px "+i:n["border"+this._patchPosition(s)]=a,n}createBorders(e,t,i,r,s=rr.DEFAULT_BORDER){return m({},this.createControlBorder(e,t,i,r,"Left",s),this.createControlBorder(e,t,i,r,"Right",s),this.createControlBorder(e,t,i,r,"Top",s),this.createControlBorder(e,t,i,r,"Bottom",s))}createZipCodeFont(e){var t={fontFamily:"Impact"};return t.fontSize=e+"px",t}createFont(e){var t={},i=(e=e||"").split(",");if(t.fontFamily=i[0]?'"'+i[0]+'"':"",t.fontSize=i[1],2<i.length)for(let e=2;e<i.length;e++)-1!==i[e].indexOf("Bold")&&(t.fontWeight="Bold"),-1!==i[e].indexOf("Italic")&&(t.fontStyle="Italic"),-1!=i[e].indexOf("Underline")&&(t.textDecoration="Underline"),-1!=i[e].indexOf("Strikeout")&&(t.textDecoration=(t.textDecoration?t.textDecoration+" ":"")+"Line-through");return t.fontWeight||(t.fontWeight=""),t.fontStyle||(t.fontStyle=""),t.textDecoration||(t.textDecoration=""),t}createVerticalAlignment(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}createHorizontalAlignment(e){var t={};return-1!==e.indexOf("Left")&&(t.textAlign=ir("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=ir("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t}createStrokeDashArray(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":""}createWordWrap(e,t){var i={};return!1===e&&!1===t?(i["white-space"]="nowrap",i["word-wrap"]="normal"):!0===e&&!1===t?(i["word-wrap"]="break-word",i["white-space"]=""):!1===e&&!0===t?(i["word-wrap"]="normal",i["white-space"]="pre"):!0===e&&!0===t&&(i["white-space"]="pre-wrap",i["word-wrap"]="break-word"),i}createAngle(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)"}}contentSizeCss(e,t,i,r,s){const a={top:1,left:1,right:1,bottom:1,width:1,height:1},n=(r=r||l.unwrap(this._control.borders)||"",this._getBorderWidth(this._control,i));return["Left","Top","Right","Bottom"].forEach(e=>{let t=0;""==n||-1===r.indexOf(e)&&-1===r.indexOf("All")||(t+=n),s&&(t+=this._getPixelValueFromUnit(s._get(e.toLowerCase()),this._control)*(i||1)),t&&(a[this._patchPosition(e).toLowerCase()]=t)}),a.width=e-a.left-a.right,a.height=t-a.top-a.bottom,a}}rr.DEFAULT_BORDER="none";const sr="DevExpress.DataAccess.Expression";function ar(e){return e===sr}const nr={Enum:n.getEditor("combobox"),"System.String":n.getEditor("text"),"System.Guid":n.getEditor("guid"),"System.SByte":n.getEditor("sbyte"),"System.Decimal":n.getEditor("decimal"),"System.Int64":n.getEditor("int64"),"System.Int32":n.getEditor("int32"),"System.Int16":n.getEditor("int16"),"System.Single":n.getEditor("single"),"System.Double":n.getEditor("double"),"System.Byte":n.getEditor("byte"),"System.UInt16":n.getEditor("uint16"),"System.UInt32":n.getEditor("uint32"),"System.UInt64":n.getEditor("uint64"),"System.Boolean":n.getEditor("boolSelect"),"System.DateTime":n.getEditor("date"),"DevExpress.DataAccess.Expression":n.getEditor("expressionEditor")};function or(e){return nr[e]||n.getEditor("text")}function dr(e){var t=Me;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture)&&(t.locale(e.currentCulture),$e.locale)&&$e.locale(e.currentCulture)}class lr{constructor(){this._x=0,this._y=0,this.isOver=!1}get x(){return this._x}set x(e){this._x=e}get y(){return this._y}set y(e){this._y=e}}function ur(e,t){e&&t&&(e.key===Be.Esc&&t.esc&&t.esc(),e.key===Be.Enter)&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter()}class cr extends s{constructor(t){super(),this._showInline=C.observable(!1),this.text=C.observable();let i;this._disposables.push(t.focused.subscribe(()=>{this._showInline()&&i&&(i(this.text()),this._showInline(!1));var e=t.focused()&&t.focused().getControlModel();i=e&&(e.textEditableProperty||e.text||e.alias)})),this._disposables.push(this.visible=C.pureComputed({read:()=>this._showInline(),write:e=>{this._showInline(e)}})),this.show=e=>{this._showInline()||((t.selectedItems?1===t.selectedItems.length:!!t.focused())&&i&&!t.focused().locked?(this.text(i()),this._showInline(!0),e&&(e=_.fn.constructor(e).find("textarea")[0])&&e.select()):this._showInline(!1))},this.keypressAction=e=>{ur(e.event,{esc:()=>{this._showInline(!1)},ctrlEnter:()=>{i(this.text()),this._showInline(!1)}})}}}class pr extends s{constructor(i,r){super(),this.selectedItem=null,this.itemsFilter=(e,t)=>{e=e.name.split(".")[0];return!i||-1!==i.indexOf(e)||_.isNumeric(e)},this.hasItems=e=>{var t=e.name.split(".")[0];return e.isList||!!r&&-1!==r.indexOf(t)},this.getActions=e=>e.data&&e.data.innerActions||[],this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),(this.selectedItem=e).isSelected=!0},this.showIconsForChildItems=()=>!0}dispose(){this.selectedItem=null}canSelect(e){return!0}}class hr extends s{constructor(){super(...arguments),this.selectedPath=C.observable(""),this.selectedMember=C.observable()}getClassName(e){return e.className&&e.className()?e.className():(e=/function (.{1,})\(/.exec(e.constructor.toString()))&&1<e.length?e[1]:""}createItem(e,t,i,r){e=e.getInfo&&e.getInfo(),e=e&&e.filter(e=>e.propertyName===t)[0],i=C.unwrap(i);e&&null!==i&&"object"==typeof i&&r.push({name:t,displayName:f(e.displayName,e.localizationId),specifics:t,innerActions:i.innerActions,isList:!!i.push})}getMemberByPath(e,t){t=t.split(".");let i=e;return t.splice(0,1),t.forEach(e=>{i&&i[e]&&(i=C.unwrap(i[e]))}),i}getObjectPropertiesForPath(e,t,i){var r=this.getMemberByPath(e,t),s=[];if(r)if(r.push)this.createArrayItem(r,s,i);else for(const a in r)this.createItem(r,a,r[a],s);return s}createArrayItem(t,i,r){for(let e=0;e<t.length;e++){var s=C.unwrap(t[e]);i.push({name:r?r+"."+e.toString():e.toString(),displayName:C.unwrap(s.displayName||s.name),specifics:this.getClassName(s),innerActions:s.innerActions,isList:!!s.push})}}}class gr extends hr{constructor(s,e,r,t){super(),this.path=C.observable(""),this.getPathByMember=t,this.listPropertyNames=e||[],this.getItems=t=>{var e=_.Deferred();if(t.fullPath){const r=s.filter(e=>e.name===t.fullPath.split(".")[0])[0];var i=(i=this.getObjectPropertiesForPath(C.unwrap(r.model),t.fullPath,r.name)).map(e=>(e.cssRule={"dxrd-context-menu-container":!!r.hasContextMenu},e));e.resolve(i)}else e.resolve((s||[]).map(e=>({name:e.name,displayName:f(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:C.unwrap(e.data),cssRule:{"dxrd-context-menu-container":e.hasContextMenu}})));return e.promise()},this._disposables.push(this.selectedPath=C.computed({read:()=>r()?this.path.peek()?this.getPathByMember&&this.getPathByMember(r()).substr(this.path.peek().length+1):this.getPathByMember&&this.getPathByMember(r()):null,write:e=>{if(e){const i=(this.path()?this.path():e).split(".")[0];var t=s.filter(e=>e.name===i)[0];t&&r(this.getMemberByPath(C.unwrap(t.model),this.path()?[this.path(),e].join("."):e))}else r(null)}}))}createArrayItem(i,r,s){for(let e=0;e<i.length;e++){const n=C.unwrap(i[e]);let t=!1;this.listPropertyNames.forEach(e=>{!t&&n[e]&&0<C.unwrap(n[e]).length&&(t=!0)});var a=this.getClassName(n);r.push({name:s?s+"."+e.toString():e.toString(),displayName:C.unwrap(n.displayName||n.name),specifics:a,isList:t,data:n,dragData:{noDragable:!("bands"===s&&("groupheaderband"===a||"groupfooterband"===a||"detailreportband"===a||"subband"===a)||"controls"===s||"rows"===s||"cells"===s&&"xrcrosstabcell"!==a||"subBands"===s||"Styles"===s||"Formatting Rules"===s)}})}}createItem(e,t,i,r){(!(0<this.listPropertyNames.length)||-1<this.listPropertyNames.indexOf(t))&&i&&i.push&&this.createArrayItem(C.unwrap(i),r,t)}}class mr extends hr{constructor(i,r,s){super(),this.getItems=e=>{var t=_.Deferred();return e.fullPath?t.resolve(this.getObjectPropertiesForPath(C.unwrap(i),e.fullPath)):t.resolve([{name:r||C.unwrap(i.name),displayName:f(r||C.unwrap(i.name),s),isList:!0,specifics:i.className&&i.className(),dragData:{noDragable:!0}}]),t.promise()},this._disposables.push(this.selectedPath.subscribe(e=>{this.selectedMember(C.unwrap(this.getMemberByPath(C.unwrap(i),e)))}))}}const fr={A2:{width:4200,height:5940,unit:"TenthsOfAMillimeter"},A3:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A3Extra:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3ExtraTransverse:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3Rotated:{width:4200,height:2970,unit:"TenthsOfAMillimeter"},A3Transverse:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A4:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Extra:{width:2360,height:3220,unit:"TenthsOfAMillimeter"},A4Plus:{width:2100,height:3300,unit:"TenthsOfAMillimeter"},A4Rotated:{width:2970,height:2100,unit:"TenthsOfAMillimeter"},A4Small:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Transverse:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A5:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A5Extra:{width:1740,height:2350,unit:"TenthsOfAMillimeter"},A5Rotated:{width:2100,height:1480,unit:"TenthsOfAMillimeter"},A5Transverse:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A6:{width:1050,height:1480,unit:"TenthsOfAMillimeter"},A6Rotated:{width:1480,height:1050,unit:"TenthsOfAMillimeter"},APlus:{width:2270,height:3560,unit:"TenthsOfAMillimeter"},B4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4Envelope:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4JisRotated:{width:3640,height:2570,unit:"TenthsOfAMillimeter"},B5:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Envelope:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Extra:{width:2010,height:2760,unit:"TenthsOfAMillimeter"},B5JisRotated:{width:2570,height:1820,unit:"TenthsOfAMillimeter"},B5Transverse:{width:1820,height:2570,unit:"TenthsOfAMillimeter"},B6Envelope:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},B6Jis:{width:1280,height:1820,unit:"TenthsOfAMillimeter"},B6JisRotated:{width:1820,height:1280,unit:"TenthsOfAMillimeter"},BPlus:{width:3050,height:4870,unit:"TenthsOfAMillimeter"},C3Envelope:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},C4Envelope:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},C5Envelope:{width:1620,height:2290,unit:"TenthsOfAMillimeter"},C65Envelope:{width:1140,height:2290,unit:"TenthsOfAMillimeter"},C6Envelope:{width:1140,height:1620,unit:"TenthsOfAMillimeter"},CSheet:{width:1700,height:2200,unit:"HundredthsOfAnInch"},DLEnvelope:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},DSheet:{width:2200,height:3400,unit:"HundredthsOfAnInch"},ESheet:{width:3400,height:4400,unit:"HundredthsOfAnInch"},Executive:{width:725,height:1050,unit:"HundredthsOfAnInch"},Folio:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanLegalFanfold:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanStandardFanfold:{width:850,height:1200,unit:"HundredthsOfAnInch"},InviteEnvelope:{width:2200,height:2200,unit:"TenthsOfAMillimeter"},IsoB4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},ItalyEnvelope:{width:1100,height:2300,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcard:{width:2e3,height:1480,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcardRotated:{width:1480,height:2e3,unit:"TenthsOfAMillimeter"},JapanesePostcard:{width:1e3,height:1480,unit:"TenthsOfAMillimeter"},Ledger:{width:1700,height:1100,unit:"HundredthsOfAnInch"},Legal:{width:850,height:1400,unit:"HundredthsOfAnInch"},LegalExtra:{width:927.5,height:1500,unit:"HundredthsOfAnInch"},Letter:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterExtra:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterExtraTransverse:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterPlus:{width:850,height:1269,unit:"HundredthsOfAnInch"},LetterRotated:{width:1100,height:850,unit:"HundredthsOfAnInch"},LetterSmall:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterTransverse:{width:827.5,height:1100,unit:"HundredthsOfAnInch"},MonarchEnvelope:{width:387.5,height:750,unit:"HundredthsOfAnInch"},Note:{width:850,height:1100,unit:"HundredthsOfAnInch"},Number10Envelope:{width:412.5,height:950,unit:"HundredthsOfAnInch"},Number11Envelope:{width:450,height:1037.5,unit:"HundredthsOfAnInch"},Number12Envelope:{width:475,height:1100,unit:"HundredthsOfAnInch"},Number14Envelope:{width:500,height:1150,unit:"HundredthsOfAnInch"},Number9Envelope:{width:387.5,height:887.5,unit:"HundredthsOfAnInch"},PersonalEnvelope:{width:362.5,height:650,unit:"HundredthsOfAnInch"},Prc16K:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc16KRotated:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc32K:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBig:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBigRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1:{width:1020,height:1650,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10Rotated:{width:4580,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1Rotated:{width:1650,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2:{width:1020,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2Rotated:{width:1760,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3:{width:1250,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3Rotated:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4:{width:1100,height:2080,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4Rotated:{width:2080,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5Rotated:{width:2200,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6:{width:1200,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6Rotated:{width:2300,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7:{width:1600,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7Rotated:{width:2300,height:1600,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8:{width:1200,height:3090,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8Rotated:{width:3090,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9Rotated:{width:3240,height:2290,unit:"TenthsOfAMillimeter"},Quarto:{width:2150,height:2750,unit:"TenthsOfAMillimeter"},Standard10x11:{width:1e3,height:1100,unit:"HundredthsOfAnInch"},Standard10x14:{width:1e3,height:1400,unit:"HundredthsOfAnInch"},Standard11x17:{width:1100,height:1700,unit:"HundredthsOfAnInch"},Standard12x11:{width:1200,height:1100,unit:"HundredthsOfAnInch"},Standard15x11:{width:1500,height:1100,unit:"HundredthsOfAnInch"},Standard9x11:{width:900,height:1100,unit:"HundredthsOfAnInch"},Statement:{width:550,height:850,unit:"HundredthsOfAnInch"},Tabloid:{width:1100,height:1700,unit:"HundredthsOfAnInch"},TabloidExtra:{width:1169,height:1800,unit:"HundredthsOfAnInch"},USStandardFanfold:{width:1487.5,height:1100,unit:"HundredthsOfAnInch"}};function vr(e,t,i){t="HundredthsOfAnInch"===t?e:e/2.54;return void 0!==i?hi(t,!1,i):t}function xr(e,t){e=fr[e];return{width:vr(e.width,e.unit,t),height:vr(e.height,e.unit,t)}}function br(e){return m({handles:v.isSubscribable(e.handles)?e.handles:e.handles||"all",ghost:!1,start:()=>{},stop:()=>{},resize:()=>{}},e)}function yr(e,t){const i=new _r(e,t).initialize();return()=>{i.dispose()}}class _r extends s{constructor(e,t){super(),this._element=e,this._options=t,this.handleClass="ui-resizable-handle",this.handleClassSelector="."+this.handleClass,this.resizableElementClass="ui-resizable",this._defaultMinSize=1,this._bodyEvents={move:null,up:null},this._resizeDirection=null,this._resizeHandles=["w","e","s","n","se","sw","ne","nw"]}_initResize(e){this._startResizeMousePosition={left:e.pageX,top:e.pageY},this._resizeDirection=Cr(e.target.classList),this._addClassToElement("ui-resizable-resizing");var t=this._element.getBoundingClientRect(),i=_.fn.constructor(this._element);this._element.dataset.originalLeftPosition=i.css("left"),this._element.dataset.originalTopPosition=i.css("top"),this._element.dataset.originalWidth=fi(t.width),this._element.dataset.originalHeight=fi(t.height),this._element.dataset.originalLeftMousePosition=fi(e.pageX),this._element.dataset.originalTopMousePosition=fi(e.pageY),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)}_mouseMove(e){var t;1===e.which&&(t=this._getBoundsDiff(e),this._options.resize(e,this._element,t))}_mouseUp(e){this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._options.stop(),_r.inProcess=!1,this._removeClassFromElement("ui-resizable-resizing"),this._startResizeMousePosition=null,this._resizeDirection=null}_mouseDown(e){_r.inProcess=!0,this._initResize(e),this._options.start(e,this._element)}_initResizeHandle(e,t){var i=document.createElement("div");i.classList.add(this.handleClass),i.style.zIndex="95",i.classList.add(e),i.addEventListener("mousedown",t),this._element.append(i)}_addClassToElement(e){this._element.classList.add(e)}_removeClassFromElement(e){this._element.classList.remove(e)}_getBoundsDiff(r){let s=0,a=0,n=0,o=0;const d=vi(this._element.dataset.originalHeight),l=vi(this._element.dataset.originalWidth);var e=e=>{var t=this._element.style.minHeight?vi(this._element.style.minHeight):this._defaultMinSize,i=(this._startResizeMousePosition.top-r.pageY)*(e?1:-1);t>d+i?(t=d-t,e&&(o=t),a=-t):(a=i,e&&(o=-a))},t=e=>{var t=this._element.style.minWidth?vi(this._element.style.minWidth):this._defaultMinSize,i=(this._startResizeMousePosition.left-r.pageX)*(e?1:-1);t>l+i?(t=l-t,e&&(n=t),s=-t):(s=i,e&&(n=-s))},i=this._resizeDirection&&/sw|se|nw|ne|s|n/.test(this._resizeDirection),u=this._resizeDirection&&/sw|se|nw|ne|e|w/.test(this._resizeDirection),i=(i&&e(/nw|ne|n/.test(this._resizeDirection)),u&&t(/sw|nw|w/.test(this._resizeDirection)),{width:s,height:a,left:n,top:o});return i}initialize(){let t=e=>this._mouseDown(e),i=e=>{e&&(this._addClassToElement(this.resizableElementClass),_.fn.constructor(this._element).children(this.handleClassSelector).remove(),("all"===e?this._resizeHandles:e.split(",")).forEach(e=>{this._initResizeHandle("ui-resizable-"+e,t)}))};var e;return i(v.unwrap(this._options.handles)),v.isSubscribable(this._options.handles)&&(e=this._options.handles.subscribe(e=>{this._removeClassFromElement(this.resizableElementClass),this._element.querySelectorAll(this.handleClassSelector).forEach(e=>e.removeEventListener("mousedown",t)),_.fn.constructor(this._element).children(this.handleClassSelector).remove(),i(e)}),this._disposables.push(e)),this._disposables.push({dispose:()=>{i=null,this._element.querySelectorAll(this.handleClass).forEach(e=>e.removeEventListener("mousedown",t)),this._element.removeEventListener("mousedown",t),t=null,this._element=null,this._options=null}}),this}}function Cr(t){for(let e=0;e<t.length;e++)if("ui-resizable-handle"!==t[e]&&0===t[e].indexOf("ui-resizable-"))return t[e].slice("ui-resizable-".length,t[e].length)}_r.inProcess=!1;class wr extends s{constructor(e,t){super(),this._element=e,this._options=t,this._bodyEvents={move:null,up:null},this._windowEvents={up:null},this._originalDragStartCoordinates=null,this._originalElementPosition=null,this._dragInitialized=!1,this._scrollableContainer=null,this._draggableElementClass="ui-draggable",this._minDragDistance=1;let i=e=>this._mouseDown(e);this._addClassToElement(this._draggableElementClass),this._element.addEventListener("mousedown",i),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousedown",i),i=null,this._element=null,this._options=null}})}_initScrollContainer(){var e=this._options.containment;e&&e[0].classList.contains("dxrd-ghost-container")&&(this._scrollableContainer=e.find(".dx-scrollable-container")[0])}_initDrag(e){this._startRect={left:e.pageX,top:e.pageY},this._bodyEvents.move=e=>this._mouseMove(e),this._windowEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),window.addEventListener("mouseup",this._windowEvents.up),this._initScrollContainer()}_addClassToElement(e){this._element.classList.add(e)}_calculateElementPosition(e,t){let i=this._originalElementPosition.left-e-((null==(e=this._scrollableContainer)?void 0:e.scrollLeft)||0),r=this._originalElementPosition.top-t-((null==(e=this._scrollableContainer)?void 0:e.scrollTop)||0);t=this._options.boundary;return t&&(i=i<t.left?t.left:i>t.right?t.right:i,r=r<t.top?t.top:r>t.bottom?t.bottom:r),{left:i,top:r}}_mouseMove(e){var t,i;!_r.inProcess&&this._startRect&&1===e.which&&this.shouldStartDrag(e)&&(this._dragInitialized||(this._dragInitialized=!0,this._options.helper&&(this._ghostContainer=this._options.helper(e,this._element)),this._ghostContainer&&(this._element.ghostContainer=this._ghostContainer[0]),this._originalDragStartCoordinates={left:this._element.dataset.startDragWithOffset?e.pageX:this._startRect.left,top:this._element.dataset.startDragWithOffset?e.pageY:this._startRect.top},this._originalElementPosition={left:this._ghostContainer?vi(this._ghostContainer[0].dataset.startLeftPosition):e.pageX,top:this._ghostContainer?vi(this._ghostContainer[0].dataset.startTopPosition):e.pageY},this._element.dataset.leftPosition=fi(this._originalElementPosition.left),this._element.dataset.topPosition=fi(this._originalElementPosition.top),this._options.start(e,this._element)),i=this._originalDragStartCoordinates.left-e.pageX,t=this._originalDragStartCoordinates.top-e.pageY,i=this._calculateElementPosition(i,t),this._element.dataset.leftPosition=fi(i.left),this._element.dataset.topPosition=fi(i.top),this._ghostContainer&&(this._ghostContainer[0].style.left=this._element.dataset.leftPosition,this._ghostContainer[0].style.top=this._element.dataset.topPosition),this._options.drag(e,this._element))}shouldStartDrag(e){return Math.abs(this._startRect.left-e.pageX)>=this._minDragDistance||Math.abs(this._startRect.top-e.pageY)>=this._minDragDistance}_mouseUp(e){_r.inProcess||(wr.inProcess=!1,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._windowEvents.up&&window.removeEventListener("mouseup",this._windowEvents.up),this._dragInitialized&&(this._dragInitialized=!1,this._ghostContainer&&this._ghostContainer.remove(),this._ghostContainer=null,this._scrollableContainer=null,this._options.stop(e,this._element)),this._startRect=null)}_mouseDown(e){e.stopPropagation(),_r.inProcess||(wr.inProcess=!0,this._initDrag(e))}}wr.inProcess=!1;var a=e(7),Ar=e.n(a);class Er extends s{constructor(e,t){super(),this._element=e,this._options=t,this.isSelected=!1,this.bounds=e.getBoundingClientRect(),this._disposables.push({dispose:()=>{this._element=null,this._options=null,this.bounds=null}})}updateSelection(e,t){i=this.bounds;var i,e=!((e=e).left>i.right||e.right<i.left||e.top>i.bottom||e.bottom<i.top);e!=this.isSelected&&(e?this._options.selecting(t,this._element):this._options.unselecting(t,this._element),this.isSelected=e)}}class Ir extends s{constructor(e,t){super(),this._element=e,this._options=t,this._elements=[],this._bodyEvents={move:null,up:null},this._minSelectDistance=2;let i=e=>this._mouseMove(e),r=e=>this._mouseUp(e),s=e=>this._mouseDown(e);this._element.addEventListener("mousemove",i),this._element.addEventListener("mouseup",r),this._element.addEventListener("mousedown",s),this._$window=_.fn.constructor(window),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousemove",i),this._element.removeEventListener("mouseup",r),this._element.removeEventListener("mousedown",s),i=null,r=null,s=null,this._$window=null,this._element=null,this._options=null}})}_clearElements(){this._elements.forEach(e=>e.dispose()),this._elements=[]}_collectElements(){this._clearElements();var t=document.getElementsByClassName(this._options.filter.substr(1));for(let e=0;e<t.length;e++)this._elements.push(new Er(t[e],this._options))}_updateSelectionContent(t){this._startRect.left>=t.pageX?(this._$selectionContent.css("left",t.pageX),this._$selectionContent.css("right",this._startRect.right)):(this._$selectionContent.css("left",this._startRect.left),this._$selectionContent.css("right",this._$window.width()-t.pageX)),this._startRect.top>=t.pageY?(this._$selectionContent.css("top",t.pageY),this._$selectionContent.css("bottom",this._startRect.bottom)):(this._$selectionContent.css("top",this._startRect.top),this._$selectionContent.css("bottom",this._$window.height()-t.pageY));var i=this._$selectionContent[0].getBoundingClientRect();for(let e=0;e<this._elements.length;e++)this._elements[e].updateSelection(i,t)}_initStartRect(e){this._startRect={left:e.pageX,top:e.pageY,right:this._$window.width()-e.pageX,bottom:this._$window.height()-e.pageY}}_mouseMove(e){setTimeout(()=>{yi.started()||Ir.disabled||_r.inProcess||!this._startRect||1===e.which&&(this._$selectionContent?this._updateSelectionContent(e):this.shouldStartSelect(e)&&(this._options.start(e),Ir.inProcess=!0,this._$selectionContent=_.fn.constructor("<div />").appendTo(document.body),this._$selectionContent.addClass("dxrd-selection-content ui-selectable-helper"),Ar.a.prototype._zIndexInitValue&&this._$selectionContent.css("z-index",Ar.a.prototype._zIndexInitValue()+100),this._updateSelectionContent(e),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)))},1)}shouldStartSelect(e){return Math.abs(this._startRect.left-e.pageX)>=this._minSelectDistance||Math.abs(this._startRect.top-e.pageY)>=this._minSelectDistance}_mouseUp(e){Ir.disabled||_r.inProcess||wr.inProcess||(this._options.stop(),this._$selectionContent&&this._$selectionContent.remove(),this._$selectionContent=null,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._startRect=null,this._clearElements(),Ir.inProcess=!1)}_mouseDown(e){Ir.disabled||_r.inProcess||wr.inProcess||(this._initStartRect(e),this._collectElements())}}function Sr(e){return{left:vi(e.dataset.originalLeftPosition),top:vi(e.dataset.originalTopPosition)}}function $r(e){return{width:vi(e.dataset.originalWidth),height:vi(e.dataset.originalHeight)}}function kr(e,t,i){return{left:e.left+i.left,top:e.top+i.top,width:t.width+i.width,height:t.height+i.height}}Ir.inProcess=!1,Ir.disabled=!1,C.bindingHandlers.resizable={init:function(e,t,i,r,s){const u=t();let c=_.fn.constructor(e),a=c.closest(".dx-designer"),d=null,p=null,l={north:"n",east:"e",south:"s",west:"w"},h=[],g=null;t=m(br(t()),{stop:function(e){p.each((e,t)=>{const i=C.contextFor(t),r=i.$data,s=i.$root.surface(),a=_.fn.constructor(t),n=r.rect();let o=Nt(a,r,s);o={top:(-1!==d.indexOf(l.north)?o:n).top,left:(-1!==d.indexOf(l.west)?o:n).left,width:(-1!==d.indexOf(l.east)||-1!==d.indexOf(l.west)?o:n).width,height:(-1!==d.indexOf(l.south)||-1!==d.indexOf(l.north)?o:n).height},h.push(()=>{r.canSetRect&&!r.canSetRect(o)?(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&(a.css("top",t.dataset.originalTopPosition),a.css("left",t.dataset.originalLeftPosition)),t.dataset.originalWidth&&t.dataset.originalHeight&&(a.css("width",t.dataset.originalWidth),a.css("height",t.dataset.originalHeight))):(r.rect(o),JSON.stringify(n)===JSON.stringify(o)&&a.css({left:n.left,top:n.top,width:n.width,height:n.height})),t.dataset.originalLeftPosition=void 0,t.dataset.originalTopPosition=void 0,t.dataset.originalWidth=void 0,t.dataset.originalHeight=void 0})}),h.forEach(e=>e()),h=[],d=null,u.stopped(),u.started=!1,u.snapHelper&&u.snapHelper.deactivateSnapLines()},start:e=>{d=Cr(e.target.classList),u.started=!0,u.starting(e),(p=u.$selectedNodes||_.fn.constructor(".dxrd-viewport .dxrd-selected").filter(":visible")).each((e,t)=>{var i=_.fn.constructor(t),r=t.getBoundingClientRect();t.dataset.originalLeftPosition=i.css("left"),t.dataset.originalTopPosition=i.css("top"),t.dataset.originalWidth=fi(r.width),t.dataset.originalHeight=fi(r.height)});var e=c.offset(),t=a.find(".dxrd-ghost-container").offset();g=t?{top:e.top-t.top,left:e.left-t.left}:e,u.snapHelper&&u.snapHelper.updateSnapLines(r)},resize:(r,e,s)=>{r.stopPropagation();var t=s.width,i=s.height,a=s.left,n=s.top;if(u.forceResize)u.forceResize({size:new pi(e.offsetWidth,e.offsetHeight),delta:{dx:a,dy:n,dw:t,dh:i},element:e});else if(e.dataset.originalLeftPosition&&e.dataset.originalTopPosition&&e.dataset.originalWidth&&e.dataset.originalHeight){var o=$r(e),e=Sr(e);if(r.altKey)u.snapHelper&&u.snapHelper.deactivateSnapLines();else if(u.snapHelper&&1===p.length){var d=o.width+t,l=o.height+i,d={originalSize:{width:o.width,height:o.height},size:{width:d,height:l}},l=Ot(u.snapHelper,g,d,{x:a,y:n,width:t,height:i}),d=(u.snapHelper.activateSnapLines(l),kr(e,o,s)),a={left:e.left+l.left-g.left,top:e.top+l.top-g.top,width:l.right-l.left,height:l.bottom-l.top};if((n=a).left!==(t=d).left||n.top!==t.top||n.width!==t.width||n.height!==t.height)return void c.css(a)}p.each(function(e,t){var i;t!==r.target&&(i=kr(Sr(t),$r(t),s),t.style.left=fi(i.left),t.style.top=fi(i.top),t.style.width=fi(i.width),t.style.height=fi(i.height))})}}},C.unwrap(u));u.disabled;const n=yr(e,t);Ie(e,()=>{n(),e=null})},update:function(e,t,i,r,s){var a=C.unwrap(t().minimumWidth),a=(a&&(e.style.minWidth=fi(a)),C.unwrap(t().minimumHeight)),a=(a&&(e.style.minHeight=fi(a)),e=>Array.from(e.children).filter(function(e){return e.classList.contains("ui-resizable-handle")})),n=C.unwrap(t().maximumWidth);n&&(e.style.maxWidth=fi(n));const o=t().handleClassName,d=(o&&a(e).forEach(e=>e.classList.add(o)),!(!C.unwrap(t().disabled)&&!C.unwrap(r.locked)));a(e).forEach(e=>e.style.display=d?"none":"block")}},C.bindingHandlers.resizableReportMargins={init:function(e,t){t()}};var o=e(2),Pr=e.n(o);class Dr extends s{constructor(e,t=10){super(),this._container=e,this._updateTime=t,this._currentOffsetY=0,this._currentOffsetX=0,this._scroll=null,this._updateInterval=null,this._scroll=Pr.a.getInstance(this._container)}dispose(){this._scroll=null,this._container=null,this._updateInterval&&clearTimeout(this._updateInterval),this._updateInterval=null}_startUpdateScrollPosition(){this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=setInterval(()=>this._scroll.scrollTo({top:this._scroll.scrollTop()+this._currentOffsetY,left:this._scroll.scrollLeft()+this._currentOffsetX}),this._updateTime)}_calculateOffset(e,t,i){return e[i]>t[i]+t["y"===i?"height":"width"]-50?5:e[i]<t[i]+50?-5:0}getScrollOffset(){return this._scroll.scrollOffset()}processOffset(e){var t=this._container.getBoundingClientRect();this._currentOffsetY=this._calculateOffset(e,t,"y"),this._currentOffsetX=this._calculateOffset(e,t,"x"),this._currentOffsetX||this._currentOffsetY?this._updateInterval||this._startUpdateScrollPosition():(this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=null)}}var a=e(9),Tr=e.n(a),o=e(17),a=e.n(o),o=e(18);class Fr extends e.n(o).a{static _sortItems(e,s){return e.sort((e,t)=>{let i=v.unwrap(e[s]),r=v.unwrap(t[s]);if(i&&r)return e=i-r,isNaN(e)?(i=i.toLowerCase?i.toLowerCase():i,r=r.toLowerCase?r.toLowerCase():r,i<r?-1:i>r?1:0):e})}static _createOptions(i,e){return i=this._sortItems(i,e),{load:e=>{let t=[].concat(i);return e.take&&(t=t.splice(e.skip,e.take)),_.Deferred().resolve(t).promise()},byKey:t=>{if(i.some(e=>e===t))return t}}}constructor(e,t="name"){super(Fr._createOptions(e,t))}}class Br extends a.a{constructor(e,t="name"){e instanceof Array&&Fr._sortItems(e,t),super(e)}}class Or extends s{constructor(t){super(),this._filter=C.observable(null);let i=null;this._disposables.push(this.dataSource=C.computed(()=>{i&&i.dispose();var e=this._filter()?t().filter(this._filter()):t();return i=new Tr.a({store:new Fr(e),paginate:!0,pageSize:100})})),this._disposables.push(this.visible=C.computed(()=>0<t().length))}getFilter(){return this._filter()}setFilter(e){this._filter(e)}resetFilter(){this._filter(null)}}class Mr{constructor(e){this.disabled=C.observable(!1),this.info=e}get type(){return Fi(this.info["@ControlType"])}get imageClassName(){return[Ni(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")}get imageTemplateName(){var e=Ni(this.type,!0);return null!=(e=kt.getExistingTemplate(e))?e:kt.getExistingTemplate("dxrd-svg-toolbox-unknown")}get index(){return this.info.index}get displayName(){return this.info.displayName||this.type}}function Nr(r,e=""){const s=[];return Object.keys(r).forEach(t=>{if(!r[t].nonToolboxItem){const i={"@ControlType":t,displayName:r[t].displayName,index:r[t].toolboxIndex||0,canDrop:r[t].canDrop,group:r[t].group||e};r[t].size&&(i.size=r[t].size),r[t].defaultVal&&Object.keys(r[t].defaultVal).forEach(e=>{i[e]=r[t].defaultVal[e]}),s.push(new Mr(i))}}),s.sort((e,t)=>e.index-t.index)}function Vr(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}function zr(e){return null!=e&&0<Object.keys(e).length}const Lr=["Name","Version"];function Hr(t){var e;return!!t&&(e="\\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",new RegExp("^["+e+"_]["+e+"_\\d]*$").test(t))&&Lr.every(e=>t!=e)}function Rr(e){return e.replace(/[\W_]+/g,"_")}const jr=[{type:"custom",validationCallback:e=>Hr(e.value),get message(){return f("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}}];function Wr(e){return!e.isModelReady||e.isModelReady()}function Gr(){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)})}class Ur{constructor(){this._queue=[],this._queueObj={},this._done=[],this._doneOnce=[]}clear(){this._queue=[],this._queueObj={}}done(e){this._done.push(e)}doneOnce(e){this._doneOnce.push(e)}_executeNext(e=this._queue[0]){for(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(let e=0;e<this._done.length;e++)this._done[e]();do{var t=this._doneOnce.pop();t&&t()}while(this._doneOnce.length)}}execute(e,t=0){const i=Gr(),r=_.Deferred();return t?(this._queue.push(i),this._queueObj[i]=()=>{if(!this._queueObj[i])return this._executeNext(i);setTimeout(()=>{this._queueObj[i]&&r.resolve(e()),this._executeNext(i)},t)},1===this._queue.length&&this._queueObj[this._queue[0]]()):r.resolve(e()),{dispose:()=>(delete this._queueObj[i],r.reject()),force:()=>(delete this._queueObj[i],r.resolve(e())),doNext:()=>this._queue.splice(0,0,i),$promise:r.promise()}}}const qr=new Ur;class Kr{constructor(e,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)}}const Yr=Se(!0),Jr={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:()=>{},displayText:()=>De("Edit","AnalyticsCoreStringId.Group_Edit")};function Xr(e){var t;let i=this.getViewModel();i.nodeImageClass=this._getNodeImageClassName(),i.hasItems=this.hasItems,i.visible=this._isVisible(),i.imageClassName=this.imageClassName,i.imageTemplateName=this.imageTemplateName,i.name=this.name,i.path=this.path,i.text=this.text,i.templateName=this.templateName,i.actionsTemplate=this.actionsTemplate,i.hasContent=this.hasContent,i.collapsed=this.collapsed,i.showIcon=this.showIcon,i.isHovered=this.isHovered,i.isSelected=this.isSelected,i.isMultiSelected=this.isMultiSelected,"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName||(i.cssRules=this._getCssRules()),"actions"===e.propertyName&&(i.actions=this.actions),"items"!==e.propertyName&&"maxItemsCount"!==e.propertyName||("added"in e&&!this.visibleItems?(null!=(t=e.added)&&t.forEach(e=>i.items.splice(e.index,0,e.item.getViewModel())),null!=(t=e.removed)&&t.forEach(e=>i.items.splice(e.index,1))):i.items=this._getChildViewModels()),"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName&&"collapsed"!==e.propertyName&&"hasItems"!==e.propertyName&&"level"!==e.propertyName&&"data"!==e.propertyName||(i.attr=this._getAttributes()),"data"===e.propertyName&&(i.data=this.data,i.isDraggable=this._isDraggable())}function Zr(e){return c(e).generateProperty("events",{mouseenter:()=>this.isHovered=!0,mouseleave:()=>this.isHovered=!1,dblclick:()=>this.treeListController.dblClickHandler?this.treeListController.dblClickHandler(this):this.toggleCollapsed()}).generateProperty("toggleCollapsed",()=>this.toggleCollapsed()).generateProperty("reverseCollapsed",()=>this._reverseCollapsed()).generateProperty("setCollapsedChangedEvent",e=>(this._collapsedChangedEvent=e,()=>this._collapsedChangedEvent=void 0)).generateProperty("toggleSelected",(e,t)=>this.toggleSelected(e,t)).generateProperty("getSelectedItems",()=>this._getSelectedItems()).generateProperty("padding",this._getPadding(this.level)).generateProperty("hasItems",this.hasItems).generateProperty("cssRules",this._getCssRules()).generateProperty("nodeImageClass",this._getNodeImageClassName()).generateProperty("attr",this._getAttributes()).generateProperty("templates",this.templates).generateProperty("isDraggable",this._isDraggable()).generateProperty("dragDropHandler",this.dragDropHandler).generateProperty("parent",this.parentViewModel).generateProperty("items",this._getChildViewModels()).generateProperty("data",this.data).generateProperty("visible",this._isVisible()).generateProperty("collapsed",this.collapsed).generateProperty("searchModel",c().generateProperty("searchEnabled",this.treeListController.searchEnabled).generateProperty("textToSearch",this.treeListController.textToSearch).generateProperty("searchOptions",this.treeListController.searchOptions).getViewModel()).generateProperty("name",this.name).generateProperty("path",this.path).generateProperty("text",this.text).generateProperty("templateName",this.templateName).generateProperty("imageClassName",this.imageClassName).generateProperty("imageTemplateName",this.imageTemplateName).generateProperty("actions",this.actions).generateProperty("actionsTemplate",this.actionsTemplate).generateProperty("hasContent",this.hasContent).generateProperty("showIcon",this.showIcon).generateProperty("isHovered",this.isHovered).generateProperty("isSelected",this.isSelected).generateProperty("isMultiSelected",this.isMultiSelected).generateProperty("treeListEditAction",Jr).generateProperty("resolver",this.resolver).getViewModel()}function Qr(e){return c(e).generateProperty("templateName","dx-treelist-item-ellipsis").generateProperty("collapsed",!0).generateProperty("items",[]).generateProperty("padding",this.padding).generateProperty("text",De("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")).generateProperty("events",{click:()=>this.renderNext()}).getViewModel()}o=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};const es=Se(5);class ts{constructor(){this._itemStore={}}storeItem(e){var t=Gr();return this._itemStore[t]=e,t}getItem(e){return this._itemStore[e]}removeItem(e){delete this._itemStore[e]}}class is extends Ji{onPropertyChanged(e){}createRootItem(e,t,i,r){return new os(e,t,i,r)}createItem(e,t,i,r,s){return new ns(e,t,i,r,s)}}let rs=is;function ss(e){rs=e}class as extends Qi{constructor(e,t,i,r){super(),this.setMaxItemsCount=e,this.getMaxItemsCount=t,this.padding=i,this.pageSize=r}createViewModel(){return Qr.call(this,super.createViewModel())}renderNext(){this.setMaxItemsCount(this.getMaxItemsCount()+this.pageSize)}}class ns extends Qi{constructor(t,e=[],i=()=>{},r=!1,s=new Ur){if(super(),this.resolver=s,this._rtl=!1,this._pageSize=-1,this._walkCallback=null,this._dataSubscriptionsDispose=[],this._subscriptions=[],this._collapsedChangedEvent=null,this._getIconName=()=>(v.unwrap(this.data&&this.data.icon||this.data&&this.data.specifics)||"default").split(".").join("_").toLowerCase(),this._nodeIsLocked=!1,this.templates={accordionItem:"dx-treelist-accordion-item",headerItem:"dx-treelist-header-item",headerItemContent:"dx-treelist-header-item-caption-content",itemTextContent:"dx-treelist-item-text-content",actionsContainer:"dx-treelist-item-actions-container"},this.itemsProvider=t.itemsProvider,this.maxItemsCount=t.pageSize||-1,this._pageSize=this.maxItemsCount,this.store=t.store,this.id=null==(s=this.store)?void 0:s.storeItem(this),v.isSubscribable(e)){const a=e.subscribe(e=>{this._path=e,this._updatePath()});this._pathSubscriptionDispose=()=>{a.dispose(),v.isComputed(e)&&e.dispose()}}this._path=v.unwrap(e),this._updatePath(),this._rtl=r,"loadChildItemsForCollapsedNodes"in t&&(this._loadChildItemsForCollapsedNodes=t.loadChildItemsForCollapsedNodes),this._factory=t.factory||new rs,this._treeListController=t.treeListController,this._templateName=t.templateName,this._onItemsVisibilityChanged=i,this.dragDropHandler=t.treeListController.dragDropHandler,this._onItemsChangedCallback=t.onItemsChanged,this.getItems=()=>0<this.items.length?_.Deferred().resolve(this.items).promise():this._loadItems(t),this._setSelectedPath=e=>{t.setSelectedPath?t.setSelectedPath(e):v.isSubscribable(t.selectedPath)&&t.selectedPath(e)},this._subscribeOnDataProperty=t.subscribeOnDataPropertyChanged||((e,t,i)=>(i(),()=>{})),this.toggleCollapsed=()=>{this.hasItems&&(this._reverseCollapsed(),this.collapsed||0!==this.items.length?this._getLoadChildItemsForCollapsedNodes()&&(this.items.forEach(e=>{e._treeListController.hasItems(e.data)&&0===e.items.length&&e._loadItems(t)}),i()):this._loadItems(t,this._getLoadChildItemsForCollapsedNodes()).always(()=>{i()}))},this.toggleSelected=(e,t)=>{t&&(t.shiftKey||t.ctrlKey||t.metaKey)&&0<this._getSelectedItems().length&&this.treeListController.canMultiSelect&&this.treeListController.canMultiSelect(this)?(this._setSelectedPath(""),this.treeListController.multiSelect(this,t.shiftKey,t.ctrlKey||t.metaKey)):this.treeListController.canSelect(this)&&(this.treeListController.clickHandler&&this.treeListController.clickHandler(this),this._setSelectedPath(this.path))},this._updateVisualProperties()}_equal(t,i){const r=["innerActions","noDragable","dragData"];return i===t||Object.keys(i).filter(e=>-1===r.indexOf(e)).every(e=>i[e]===t[e])}_getImageClassName(){return"dx-image-fieldlist-"+this._getIconName()+(this._showIcon?"":" dx-treelist-image-empty")}_getImageTemplateName(){var e="dxrd-svg-fieldlist-"+this._getIconName();return kt.getExistingTemplate(e)}_getNodeImageClassName(){let e="dx-collapsing-image";return this.hasItems?(this.collapsed||(e+=" dx-image-expanded"),e):"dx-image-leaf-node"}_hasItems(){var e;return!this.data||(e=this._treeListController.hasItems(this.data),null!=this._loadChildItemsForCollapsedNodes?this.isLoaded?e&&0<this.visibleItemsCount:e:Yr()?e&&0<this.visibleItemsCount:e)}_getAttributes(){return{"aria-expanded":this.hasItems&&(this.collapsed?"false":"true"),"aria-selected":this.isSelected||this.isMultiSelected?"true":"false","aria-level":this.level+1,"aria-label":this.text,"aria-setsize":this.parent?this.parent.items.length:0,"aria-posinset":this.parent?this.parent.items.indexOf(this)+1:0,id:this.id}}_getCssRules(){var e,t={"dx-treelist-item-selected dxd-state-selected dxrd-fieldslist-context-menu-container":this.isSelected||this.isMultiSelected};return t=null!=(e=this.data)&&e.cssRule?Object.assign(Object.assign({},t),this.data.cssRule):t}_isDraggable(){return this.data&&this.data.dragData?!this.data.dragData.noDragable:!!this._treeListController.isDraggable&&this._treeListController.isDraggable(this)}_isVisible(){return!this.isFiltred&&this.visible}_createItemsObj(t){var i={};for(let e=0;e<t.length;e++)i[t[e].name]={item:t[e],index:e};return i}_loadItems(p,h=!1){const g=_.Deferred();this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._disposables.reverse().forEach(e=>e.dispose&&e.dispose()),this._disposables.splice(0);var e=e=>{e&&e.done(e=>{if(this.isDisposing)g.reject();else{this.isLoaded=!0;e=e||[];const d=this.items;let r=this._createItemsObj(e),s=!1,t=0;var i,o=[].concat.apply([],d);for(let e=0;e<o.length;e++)r[o[e].data.name]||(o[e].dispose(),d.splice(e-t,1),t++,s=!0);this.visibleItemsCount=this.visibleItemsCount-t;let a=this._createItemsObj(d),n=!1;const l=!this._treeListController.showIconsForChildItems||this._treeListController.showIconsForChildItems(this),u=this._treeListController.showIconsForChildItems&&this._treeListController.showIconsForChildItems(this);if(e.forEach((e,t)=>{var i=a[e.name];i?(this._equal(e,i.item.data)?i.item._updateVisualProperties():i.item.data=e,n=n||i.index!==t):(s=!0,(i=this._factory.createItem(p,this.pathParts,this._onItemsVisibilityChanged,this._rtl,this.resolver))._showIcon=l,i.data=e,i.level=this.level+1,i.parent=this,i.parentViewModel=this.getViewModel(),i.visible&&(this.visibleItemsCount+=1),i.imageTemplateName=i._getImageTemplateName(),i.imageClassName=i._getImageClassName(),i.showIcon=u,d.splice(t,0,i),a[e.name]={item:i,index:t},this._walkCallback&&this._walkCallback(i))}),this._walkCallback=null,n&&(e=d.reduce((e,t,i)=>{t=Math.abs(i-(r[t.data.name]?r[t.data.name].index:-1));return!e||e.max<t?{max:t,index:i}:e},null).index,i=d[e],e!==(r[i.data.name]?r[i.data.name].index:-1))&&(d.splice(e,1),d.splice(r[i.data.name]?r[i.data.name].index:-1,0,i),s=!0),r=null,a=null,s&&this._onItemsChanged(),!this.collapsed||h){let t=e=>e._treeListController.hasItems(e.data);void 0!==this._loadChildItemsForCollapsedNodes&&(t=e=>(!e.collapsed||h)&&e._treeListController.hasItems(e.data)),this.items.forEach(e=>{t(e)&&e._loadItems(p)})}g.resolve(this.items);const c=p.getSelectedPath?p.getSelectedPath():v.isSubscribable(p.selectedPath)&&p.selectedPath.peek();c&&(e=this.items.filter(e=>0===c.indexOf(e.path))[0])&&this._selectItem(e.name+c.substring(e.path.length))}})},t=()=>new Kr(this.path,this.pathParts);return this.itemsProvider.subscribeOnItemsChanged?this._itemsSubscriptionDispose=this.itemsProvider.subscribeOnItemsChanged(this,e):e(this.itemsProvider.getItems(t())),g.promise()}_onItemsChanged(){this._onItemsChangedCallback&&this._onItemsChangedCallback(this.items)}_getTemplateName(){return this._templateName||this.data&&this.data.templateName||"dx-treelist-item"}_selectItem(e){if(this.hasItems){const t=()=>{this._find(e),this.collapsed&&this.toggleCollapsed()};0===this.items.length?this.getItems().done(e=>{t()}):t()}}_find(t){var e=t&&this.items.filter(e=>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))}_getItemsWithLock(){const t=_.Deferred();return(this._nodeIsLocked?t.reject():(this._nodeIsLocked=!0,this.getItems().done(e=>{this._nodeIsLocked=!1,t.resolve(e)}).fail(()=>{this._nodeIsLocked=!1,t.reject()}),t)).promise()}_getPadding(e){var t={};return t["padding-"+(this._rtl?"right":"left")]=20*e+12,t}_getLoadChildItemsForCollapsedNodes(){return void 0!==this._loadChildItemsForCollapsedNodes?this._loadChildItemsForCollapsedNodes:Yr()}_getSelectedItems(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]}_getVisibleItems(){if(-1!==this._pageSize){if(0===this.items.length)return[];let e=this.items.filter(e=>e.visible);return e.length>this.maxItemsCount&&(e=e.slice(0,this.maxItemsCount)).push(new as(e=>this.maxItemsCount=e,()=>this.maxItemsCount,this._getPadding(e[0].level),this._pageSize)),e}}_updataParentItemsVisibilityCount(e){this.parent&&(e?this.parent.visibleItemsCount+=1:this.parent.visibleItemsCount=Math.max(this.parent.visibleItemsCount-1,0))}_updateVisualProperties(){var e;this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._dataSubscriptionsDispose=[this._subscribeOnDataProperty(this,"name",()=>this._updatePath()),this._subscribeOnDataProperty(this,"displayName",()=>{var e;return this.text=v.unwrap(null==(e=this.data)?void 0:e.displayName)}),this._subscribeOnDataProperty(this,"specifics",()=>{this.imageClassName=this._getImageClassName(),this.imageTemplateName=this._getImageTemplateName()})].filter(e=>!!e),this.templateName=this._getTemplateName(),this.actionsTemplate=(null==(e=this.data)?void 0:e.actionsTemplate)||"dx-treelist-item-actions-with-edit",this.hasContent=!(null==(e=this.data)||!e.contenttemplate)}_updatePath(){this.pathParts=this.name?(this._path||[]).concat([this.name]):this._path,this.path=this.pathParts.join(".")}_getChildViewModels(){var e=this.visibleItems||this.items;return null==e?void 0:e.map(e=>e.getViewModel())}_reverseCollapsed(){this.collapsed=!this.collapsed}itemsCollectionHasMutated(){var e={propertyName:"items"};this.onPropertyChanged(e),this.events.call("propertyChanged",e)}onPropertyChanged(e){var t;"visibleItemsCount"!==e.propertyName&&"isLoaded"!==e.propertyName&&"data"!==e.propertyName||(this.hasItems=this._hasItems()),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName||(this._updateVisualProperties(),null!=(t=this.treeListController)&&t.subscribeOnActionsChanged?(this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._actionsSubscriptionDispose=this.treeListController.subscribeOnActionsChanged(this,e=>this.actions=e)):this.actions=null!=(t=this.treeListController)&&t.getActions?this.treeListController.getActions(this):[]),"visible"!==e.propertyName&&"data"!==e.propertyName||(this.visible&&this.parent&&!this.parent.visible&&(this.parent.visible=!0),this._filtrationSubscriptionDispose&&this._filtrationSubscriptionDispose(),this.treeListController.subscribeOnVisibleChanged?this._filtrationSubscriptionDispose=this.treeListController.subscribeOnVisibleChanged(this,e=>this.isFiltred=e):this.isFiltred=this.data&&(null==(t=this.treeListController)?void 0:t.itemsFilter)&&!this.treeListController.itemsFilter(this.data,this.path,this),this._updataParentItemsVisibilityCount(this._isVisible())),"maxItemsCount"!==e.propertyName&&"items"!==e.propertyName||(this.visibleItems=this._getVisibleItems()),"collapsed"===e.propertyName&&this._collapsedChangedEvent&&this._collapsedChangedEvent(this.collapsed)}updateViewModel(e){Xr.call(this,e)}createViewModel(){return Zr.call(this,super.createViewModel())}get name(){var e;return v.unwrap(null==(e=this.data)?void 0:e.name)}get treeListController(){return this._treeListController}dispose(){var e;super.dispose(),this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._pathSubscriptionDispose&&this._pathSubscriptionDispose(),this.disposeArray(this.items),this.disposeArray(this.visibleItems),this.visibleItemsCount=0,this.parent=null,this._subscriptions.forEach(e=>e.dispose()),this._dataSubscriptionsDispose.forEach(e=>e&&e()),(this._walkCallback=null)!=(e=this.store)&&e.removeItem(this.id)}}o([d("")],ns.prototype,"imageTemplateName",void 0),o([Xi(()=>[])],ns.prototype,"items",void 0),o([Xi(()=>[])],ns.prototype,"actions",void 0),o([d(-1)],ns.prototype,"maxItemsCount",void 0),o([d(0)],ns.prototype,"visibleItemsCount",void 0),o([d(!0)],ns.prototype,"collapsed",void 0),o([d(!1)],ns.prototype,"isLoaded",void 0),o([d(!0)],ns.prototype,"hasItems",void 0),o([d(!1)],ns.prototype,"isSelected",void 0),o([d(!1)],ns.prototype,"isMultiSelected",void 0),o([d(!1)],ns.prototype,"isHovered",void 0),o([d(null)],ns.prototype,"data",void 0),o([d(!0)],ns.prototype,"visible",void 0),o([d(!1)],ns.prototype,"isFiltred",void 0),o([d("")],ns.prototype,"path",void 0),o([d(-1)],ns.prototype,"level",void 0),o([d("")],ns.prototype,"text",void 0);class os extends ns{constructor(e,t=[],i=()=>{},r=!1){super(e,t,i,r),this._options=e,this._resolver=new Ur,this._selectedPathSubscription=null,this.resolver.done(()=>{i()});const s=e=>{this._selectItem(this.path?e.substr(this.path.length+1):e)};v.isSubscribable(e.selectedPath)?this._selectedPathSubscription=e.selectedPath.subscribe(e=>s(e)):e.setSelectedPathChangedEvent&&(this._selectedPathSubscription={dispose:e.setSelectedPathChangedEvent(e=>s(e))}),this._selectItem(this.path?this.path+"."+v.unwrap(e.selectedPath):v.unwrap(e.selectedPath))}dispose(){super.dispose(),this._resolver.clear(),this._selectedPathSubscription&&(this._selectedPathSubscription.dispose(),this._selectedPathSubscription=null)}walkOnTree(e){return this._resolver.clear(),this._visitNextNode(this,e),-1!=this._pageSize&&this._resolver.doneOnce(()=>this.itemsCollectionHasMutated()),{stop:()=>this._resolver.clear()}}_visitNextNode(t,i=e=>{}){var r;if(t.data&&!t.data.specifics)throw new Error("Specific should be set");if(!(t.level>=es())){let e=null;0<t.items.length?e=()=>t.items.forEach(e=>{i(e),this._visitNextNode(e,i)}):t.data&&!t.treeListController.hasItems(t.data)||(null!=(r=t.treeListController.searchOptions)&&r.autoLoadItems?e=()=>t._getItemsWithLock().done(e=>{e.forEach(e=>{i(e),this._visitNextNode(e,i)})}):t._walkCallback=e=>{i(e),this._visitNextNode(e,i)}),e&&this._resolver.execute(e,1)}}_onItemsChanged(){this._options.expandRootItems&&this.items.forEach(e=>{e.collapsed=!1}),super._onItemsChanged()}}function ds(t,i){const r=C.observable(),e=r.subscribe(e=>t(e)),s=C.computed(()=>{var e=i();r(e)});return()=>{s.dispose(),e.dispose()}}function ls(i){var e;return null!=(e=i.treeListController)&&e.itemsFilter&&!i.treeListController.subscribeOnVisibleChanged&&(i.treeListController.subscribeOnVisibleChanged=(e,t)=>ds(t,()=>e.data&&!e.treeListController.itemsFilter(e.data,e.path,e))),null!=(e=i.treeListController)&&e.getActions&&!i.treeListController.subscribeOnActionsChanged&&(i.treeListController.subscribeOnActionsChanged=(e,t)=>ds(t,()=>e.treeListController.getActions(e))),i.subscribeOnDataPropertyChanged||(i.subscribeOnDataPropertyChanged=(e,t,i)=>ds(i,()=>C.unwrap(e.data&&e.data[t]))),null!=(e=i.itemsProvider)&&e.getItems&&!i.itemsProvider.subscribeOnItemsChanged&&(i.itemsProvider.subscribeOnItemsChanged=(e,t)=>ds(t,()=>i.itemsProvider.getItems(new Kr(e.path,e.pathParts)))),i}class us extends rs{createRootItem(e,t,i,r){var s=C.computed(()=>{var e=C.unwrap(t);return Array.isArray(e)?e:e?e.split("."):[]});return super.createRootItem(ls(e),s,i,r)}createItem(e,t,i,r,s){return super.createItem(ls(e),t,i,r,s)}}class cs extends fe{constructor(e){super(e),this.engineType="multiplatform"}wrapPropertyArrayValue(e){return C.observableArray(e)}wrapPropertyValue(e){return C.observable(e)}unwrapPropertyValue(e){return C.unwrap(e)}setLinkProperty(e,t,i){return e[t](i),e[t]()}getLinkProperty(e,t){return e[t]()}generateProperty(e,t,i){e[t]=i}generateArrayProperty(e,t,i){const r=C.observable(void 0);Object.defineProperty(e,t,{get:()=>r(),set:e=>{r(e)},enumerable:!0,configurable:!0})}}const ps=e=>C.dataFor(e),hs=function(n={}){const t={createDefaultModel:e=>(n={getModel:()=>e,_____test:!0},t),generateProperty(e,t,i){var r=n;n._____test||Object.defineProperty(n,"_____test",{get:()=>!0,enumerable:!1});let s=C.observable(t);if(Array.isArray(t)){s=C.observableArray(t);let i=!1;for(const a in te)te[a](s(),e=>{i||(i=!0,s.valueHasMutated(),i=!1)});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s(),set:e=>{if(s(e),Array.isArray(e))for(const t in te)te[t](s(),e=>{i||(i=!0,s.valueHasMutated(),i=!1)})}})}else"function"==typeof t?r[e]=t:Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s(),set:e=>{s(e)}});return this},configureProperty(e,t){return e in n&&t(n[e]),this},getViewModel(){return n}};return t};class gs extends xe{_notifyModel(e,t){t={propertyName:t,newValue:e[t]()};e.onPropertyChanged&&e.onPropertyChanged(t),Q(e,t),e.events&&e.events.call("propertyChanged",t)}addDisposeCallback(e,t){C.utils.domNodeDisposal.addDisposeCallback(e,t)}removeDisposeCallback(e,t){C.utils.domNodeDisposal.removeDisposeCallback(e,t)}peek(e){return e.peek()}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){C.isObservable(e[t])?e[t](i):e[t]=i}generateProperty(t,i,e,r){t[i]=C.observable(e).extend(r),t.addDisposable(t[i].subscribe(e=>{this._notifyModel(t,i)}))}generateArrayProperty(t,i,e,r){t[i]=C.observableArray(e).extend(r),t.addDisposable(t[i].subscribe(e=>{this._notifyModel(t,i)}))}createComputedProperty(e,t,i,r,s,a=!1){return e[t]=(a?C.pureComputed:C.computed)("function"==typeof i?()=>i():{read:()=>i.read(),write:e=>i.write(e)}).extend(s),()=>e[t].dispose()}subscribeOnPropertyChanged(e,t,i){if(C.isSubscribable(e[t])){const r=e[t].subscribe(e=>i(e));return()=>r.dispose()}return()=>{}}subscribeValue(e,t){if(C.isSubscribable(e)){const i=e.subscribe(e=>t(e));return()=>i.dispose()}return()=>{}}unwrap(e){return C.unwrap(e)}wrap(e){return C.observable(e)}applyBindings(e,t){C.applyBindings(e,t)}cleanNode(e){C.cleanNode(e)}}function ms(){Yi(hs),bi(ps),ss(us),Ce(new gs),we(e=>new cs(e))}class fs{static getInfo(e){const i=e.map(e=>e.getInfo());return()=>{var e=[];for(let t=0;t<i[0].length;t++)i.filter(e=>0<e.filter(e=>e.propertyName===i[0][t].propertyName).length).length===i.length&&e.push(i[0][t]);return e}}static isPropertyDisabled(i){return t=>{for(let e=0;e<i.length;e++)if(i[e].isPropertyDisabled(t))return!0;return!1}}static getPath(s){return t=>{let i="";for(let e=0;e<s.length;e++){var r=s[e].getPath(t);if(0===e)i=r;else if(i!==r){i="";break}}return i}}static isPropertyVisible(i){return t=>{for(let e=0;e<i.length;e++)if(!i[e].isPropertyVisible(t))return!1;return!0}}static mergeProperty(i,r,e,t){var s=i[0][r];let a=null;if(i.filter(e=>!!e[r]).length===i.length&&!(a=t&&t(r,i,e)))if(C.isObservable(s)&&!s.push){if(!i.every(e=>C.isObservable(e[r])))return a;var n=C.observable(i.every(e=>i[0][r].peek()===e[r].peek())?i[0][r].peek():null);a={result:n,subscriptions:[n.subscribe(t=>{e&&e().start(),i.forEach(e=>{e[r](t)}),e&&e().end()})]}}else"object"!=typeof s||_.isArray(s)||(a=this._merge(i.map(e=>e[r]),e,t));return a}static _createProperty(e,t,i){!i||"object"==typeof i&&de(i)||(e[t]=i)}static _merge(i,r,s,t){const a={};let n=[];if(["getInfo","isPropertyVisible","isPropertyDisabled","getPath"].forEach(e=>{i[0][e]&&this._createProperty(a,e,this[e](i))}),t){const o=a.isPropertyDisabled;a.isPropertyDisabled=e=>o&&o(e)||-1!==t.indexOf(e)}return a&&a.getInfo?a.getInfo().map(e=>e.propertyName).forEach(e=>{var t=this.mergeProperty(i,e,r,s);t&&(n=[].concat.apply(n,t.subscriptions),this._createProperty(a,e,t.result))}):Object.keys(i[0]).forEach(e=>{var t=this.mergeProperty(i,e,r,s);t&&(n=[].concat.apply(n,t.subscriptions),this._createProperty(a,e,t.result))}),{result:a,subscriptions:n}}static mergeControls(e,t,i,r){e=this._merge(e,t,i,r);return{result:m(e.result,{controlType:"multiselect",displayName:C.observable("")}),subscriptions:e.subscriptions}}static getEditableObject(t,i,r){const s=C.observable(null);let a=[];var e=t.focused.subscribe(e=>{s(e&&e.getControlModel())});return t._disposables&&(t._disposables.push(e),t._disposables.push({dispose:()=>{a.forEach(e=>e.dispose()),a.splice(0)}})),C.pureComputed({read:()=>{var e;return a.forEach(e=>e.dispose()),a=[],1<t.selectedItems.length?(e=this.mergeControls(t.selectedItems.map(e=>e.getControlModel()),i,r,t.ignoreMultiSelectProperties),a=e.subscriptions,e.result):s()},write:e=>{e&&e.surface?t.focused(e.surface):(t.updateSelection(null),s(e))}}).extend({deferred:!0})}}class vs extends s{constructor(e=["name"]){super(),this.ignoreMultiSelectProperties=e,this._focused=C.observable(null),this._selectedControls=C.observableArray(),this._selectedControlsInner=[],this.focused=C.pureComputed({read:()=>this._focused(),write:e=>{e!==this._focused()&&(e&&(this._firstSelected=e),this.updateSelection(this._firstSelected))}}),this.dropTarget=null,this.expectClick=!1,this.disabled=C.observable(!1),this._disposables.push(this.focused)}dispose(){this.reset(),super.dispose()}_removeFromSelection(e){e.focused(!1),e.selected(!1),-1!==this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.splice(this._selectedControlsInner.indexOf(e),1)}_setFocused(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))}_resetTabPanelFocus(){document.activeElement&&0===_.fn.constructor(document.activeElement).closest(".dxrd-surface").length&&Vr(document.activeElement)}get selectedItems(){return this._selectedControls()}clear(){this.focused(null),this._selectedControls([])}reset(){this._focused(null),this._selectedControlsInner.splice(0),this._firstSelected=null,this._selectedControls([])}applySelection(){this._selectedControls(this._selectedControlsInner)}selectItems(e){this._selectedControlsInner=e,this._selectedControlsInner.forEach(e=>{e.focused()||e.selected(!0)}),this.applySelection()}updateSelection(e){this._selectedControlsInner.forEach(e=>{e.focused(!1),e.selected(!1)}),this._selectedControlsInner=[],this._setFocused(e),this.applySelection()}swapFocusedItem(e){this._focused()!==e&&(this._focused().focused(!1),this._focused(e),this._focused().focused(!0))}initialize(e){e=e||this.dropTarget,this._firstSelected=e&&e.focused?e:null,this.updateSelection(this._firstSelected)}clickHandler(e,t={ctrlKey:!1,metaKey:!1}){this.expectClick?this.expectClick=!1:(e=e||this.dropTarget,t.ctrlKey||t.metaKey?(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())}selecting(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)}unselecting(e){this._focused()===e?(this._setFocused(null),0===this._selectedControlsInner.length?this._setFocused(this._firstSelected):this._setFocused(this._selectedControlsInner[0])):this._removeFromSelection(e)}selectionWithCtrl(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))}}function xs(i,t,r=[],s=["surface"]){if(i&&void 0!==i){const a=[];Object.keys(i).forEach(t=>{if(0!==t.indexOf("_")&&-1===s.indexOf(t)){let e=t;C.isComputed(i[t])&&C.isWritableObservable(i["_"+t])&&(e="_"+e),-1!==r.indexOf(i[e])||C.isComputed(i[e])||a.push(i[e])}}),t(a),r.push.apply(r,a),a.forEach(e=>{"object"==typeof(e=C.unwrap(e))&&xs(e,t,r,s)})}}class bs{constructor(e,t){this.changes=e,this.position=t}static Empty(){return new bs(null,null)}equal(e){return this.changes===e.changes&&this.position===e.position}}const ys=[];class _s extends s{constructor(r,e=["surface"],t,i=[]){if(super(),this._ignoredProperties=e,this._getInfoMethodName=t,this._alwaysSubscribeProperties=i,this._groupObservers=[],this._groupPosition=-1,this._observers=[],this._subscriptions=[],this._visited=[],this._position=C.observable(-1),this._lockedPosition=C.observable(-1),this._inUndoRedo=!1,this._currentEngineName=_s._disposeUndoEngineSubscriptionsName+Gr(),this.redoEnabled=C.observable(!1),this.undoEnabled=C.observable(!1),this.isIngroup=-1,this.isDirty=C.computed({read:()=>this._position()!==this._lockedPosition(),write:e=>{e?this._lockedPosition("forcibly marked as dirty"):this._lockedPosition(this._position())}}),ys.push(this._currentEngineName),this._model=C.unwrap(r),this._getInfoMethodName)C.isSubscribable(r)?this._targetSubscription=this.subscribeProperty(r,!0):this._createDisposeFunction(r);else{let i=this.subscribe(this._model);if(C.isSubscribable(r)){let t=r();this._targetSubscription=r.subscribe(e=>{this._removePropertiesSubscriptions(),this._inUndoRedo||(this.properyChanged({observable:r,propertyChanged:{oldVal:t,val:e}}),t=e),this._cleanSubscribtions(i),this._model=e,i=this.subscribe(this._model)})}}this._disposables.push(this.isDirty)}static tryGetUndoEngine(t){let i=null;return ys.some(e=>!!(i=t[e]&&t[e].instance)),i}get _modelReady(){return Wr(this._model)}_disposeObserver(e){var t;e.propertyChanged?(t=e.propertyChanged.val)&&!t[this._currentEngineName]&&t.dispose&&t.dispose():e.arrayChanges&&e.arrayChanges.forEach(e=>{"added"===e.status&&(e=e.value)&&!e[this._currentEngineName]&&e.dispose&&e.dispose()})}_disposeRemovedRecord(e){e.arrayChanges&&e.arrayChanges.forEach(e=>{var t;"deleted"===e.status&&null!=(t=e.value)&&t.dispose&&null!=(t=e.value)&&t.dispose()})}_disposeObservers(e,t){const i=(t?this._disposeRemovedRecord:this._disposeObserver).bind(this);e.forEach(e=>{Array.isArray(e)?e.reverse().forEach(e=>i(e)):i(e)})}properyChanged(e){var t,i;this._inUndoRedo||((t=this._position()+1)<this._observers.length&&(i=this._observers.splice(t,this._observers.length),this._disposeObservers(i,!1)),this._observers.push(e),this._position(t),this.undoEnabled(!0),this.redoEnabled(!1))}visitProperties(e,i){var r=[];if(e&&i)for(let t=0;t<i.length;t++){var s=this._alwaysSubscribeProperties.some(e=>e===i[t].propertyName);(i[t].modelName||i[t].editor||i[t].info||s)&&(s=s?i[t].propertyName:this.validatePropertyName(e,i[t].propertyName))&&!C.isComputed(e[s])&&(C.isObservable(e[s])?r.push(this.subscribeProperty(e[s],!i[t].link)):r.push.apply([],this._createDisposeFunction(e[s],i[t].info)))}return r}undoChangeSet(t){if(t.propertyChanged)t.observable(t.propertyChanged.oldVal);else{var i,r=t.observable();for(let e=0;e<t.arrayChanges.length;e++)"added"===t.arrayChanges[e].status&&-1!=(i=r.indexOf(t.arrayChanges[e].value))&&r.splice(i,1);for(let e=0;e<t.arrayChanges.length;e++)"deleted"===t.arrayChanges[e].status&&r.splice(t.arrayChanges[e].index,0,t.arrayChanges[e].value);C.isObservable(t.observable)&&t.observable.valueHasMutated()}}redoChangeSet(t){if(t.propertyChanged)t.observable(t.propertyChanged.val);else{var i=t.observable();for(let e=0;e<t.arrayChanges.length;e++)"deleted"===t.arrayChanges[e].status&&i.splice(i.indexOf(t.arrayChanges[e].value),1);for(let e=0;e<t.arrayChanges.length;e++)"added"===t.arrayChanges[e].status&&i.splice(t.arrayChanges[e].index,0,t.arrayChanges[e].value);C.isObservable(t.observable)&&t.observable.valueHasMutated()}}_disposeChilds(i,r){if(i&&r)for(let t=0;t<r.length;t++)if(r[t].modelName||r[t].editor||r[t].info){var s=r[t].propertyName;if(0!==s.indexOf("_")){let e=s;C.isWritableObservable(i["_"+s])&&(e="_"+e),C.isComputed(i[e])||!(s=C.unwrap(i[e]))||"object"!=typeof s||r[t].link||this._callDisposeFunction(s)}}}_createDisposeFunction(e,t){let i=[];if(e&&"object"==typeof e){const r=t||e[this._getInfoMethodName]&&e[this._getInfoMethodName]();r&&(e[this._currentEngineName]?e[this._currentEngineName].inc++:(e[this._currentEngineName]={inc:1,instance:this},i=this.subscribe(e,r),e[this._currentEngineName].func=()=>{e[this._currentEngineName].inc--,this._disposeChilds(e,r),0===e[this._currentEngineName].inc&&(this._cleanSubscribtions(i),delete e[this._currentEngineName])}))}return i}_callDisposeFunction(t){if(t)if(Array.isArray(t))for(let e=0;e<t.length;e++)t[e][this._currentEngineName]&&t[e][this._currentEngineName].func();else t[this._currentEngineName]&&t[this._currentEngineName].func()}_cleanSubscribtions(t){if(t)if(t.length)for(let e=0;e<t.length;e++)this._cleanSubscribtions(t[e]);else t.dispose&&t.dispose()}validatePropertyName(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(e=>e!==t))&&"_"!==t[0]?C.isWritableObservable(e["_"+t])?"_"+t:t:null}subscribeProperty(r,i){if(C.isObservable(r)){let t=r();if(Array.isArray(t)){for(let e=0;e<r().length;e++)this._createDisposeFunction(r()[e]);return r.subscribe(e=>{if(this._modelReady){var t=e.filter(e=>"added"===e.status),i=e.filter(e=>"deleted"===e.status);for(let e=0;e<i.length;e++)this._callDisposeFunction(i[e].value);for(let e=0;e<t.length;e++)this._createDisposeFunction(t[e].value);this.properyChanged({observable:r,arrayChanges:e})}},null,"arrayChange")}if(C.isWritableObservable(r))return i&&this._createDisposeFunction(r()),r.subscribe(e=>{this._modelReady&&(i&&this._callDisposeFunction(t),this.properyChanged({observable:r,propertyChanged:{oldVal:t,val:e}}),t=e,i)&&this._createDisposeFunction(e)})}}subscribeProperties(e){e.forEach(i=>{if(C.isObservable(i)){let t=i();i.push?this._subscriptions.push(i.subscribe(e=>{!this._modelReady||this._inUndoRedo||(this.properyChanged({observable:i,arrayChanges:e}),this.subscribe(e.map(e=>e.value)))},null,"arrayChange")):C.isWritableObservable(i)&&this._subscriptions.push(i.subscribe(e=>{this._modelReady&&(this.properyChanged({observable:i,propertyChanged:{oldVal:t,val:e}}),t=i())}))}})}subscribe(e,t){if(this._getInfoMethodName)return this.visitProperties(e,t||e&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]());xs(e,e=>{this.subscribeProperties(e)},this._visited,this._ignoredProperties)}getCurrentChangeSet(){return new bs(this._observers[this._position()],this._position())}_removePropertiesSubscriptions(){this._subscriptions.forEach(e=>e.dispose()),this._subscriptions=[],this._visited=[]}dispose(){super.dispose(),this._disposeObservers(this._observers.splice(0,this._observers.length),!0),this.removeTargetSubscription();let i=0;ys.some((e,t)=>e===this._currentEngineName&&(i=t,!0)),ys.splice(i,1)}removeTargetSubscription(){this._targetSubscription&&this._targetSubscription.dispose(),this.reset()}undoAll(){this.undoEnabled()&&(this.undo(),this.undoAll())}reset(){this._removePropertiesSubscriptions(),this.clearHistory()}clearHistory(){this._groupObservers=[],this._observers=[],this.redoEnabled(!1),this.undoEnabled(!1),this._inUndoRedo=!1,this._groupPosition=-1,this._position(-1),this._lockedPosition(this._position())}undo(e=!1){try{var t;this._inUndoRedo=!0,this.undoEnabled()&&(t=this._observers[this._position()])&&(Array.isArray(t)?t.reverse().forEach(e=>this.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}}redo(){try{var e;this._inUndoRedo=!0,this.redoEnabled()&&(e=this._observers[this._position()+1])&&(Array.isArray(e)?e.reverse().forEach(e=>this.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}}_hasSessionChanges(){return 0===this.isIngroup&&0<this._observers.length}start(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))}end(){var e;this.isIngroup--,-1===this.isIngroup&&(0<this._observers.length?(this._position(this._groupPosition+1),e=this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers),this._disposeObservers(e,!1)):this._position(this._groupPosition),this._observers=this._groupObservers)}}function Cs(e,t){const r=e.focused();t||(t=r.getControlModel(),e.selectedItems.forEach(e=>{var t=e.getControlModel(),i=t.parentModel();!e.getControlModel().getMetaData().isDeleteDeny&&i&&e!==r&&i.removeChild(t)}));var i=_s.tryGetUndoEngine(t.parentModel());i&&i.start(),t.parentModel().removeChild(t),i&&i.end(),e.focused(r.findNextSelection())}function ws(e,r,s){const t=r();return e.peek().forEach(e=>{e=s(e);t.splice(0,0,e)}),r.valueHasMutated(),e.subscribe(e=>{const t=r();let i=t.length;e.forEach(e=>{"deleted"===e.status&&(t.splice(t.indexOf(e.value.surface),1),i--)}),e.forEach(e=>{"added"===e.status&&(t.splice(i-e.index,0,s(e.value)),i++)}),r.valueHasMutated()},null,"arrayChange")}function As(e,s,a){const t=s();return e.peek().forEach(e=>{e=a(e);t.push(e)}),s.valueHasMutated(),e.subscribe(e=>{let t=s().length,i=0,r=[];e.forEach(e=>{"deleted"===e.status&&(i++,e.index<t)&&(t=e.index)}),e.forEach(e=>{"added"===e.status&&(e.index<t&&(t=e.index),r.push(a(e.value)))}),s.splice.apply(s,[t,i].concat(r))},null,"arrayChange")}function Es(e,...s){const t=C.observableArray(e),a=t.notifySubscribers;return t.notifySubscribers=(i,r)=>{if(s)for(let e=0,t=s.length;e<t;e++)s[e](i,r);return a.call(t,i,r)},t}function Is(t,i,r){return Es(Object.keys(t||{}).map(e=>r(t[e])),(t,e)=>{if("beforeChange"!==e)if("arrayChange"===e)for(let e=0;e<t.length;e++)i!==t[e].value.parentModel()&&t[e].value.parentModel(i);else for(let e=0;e<t.length;e++)i!==t[e].parentModel()&&t[e].parentModel(i)})}function Ss(t,i,r,s){for(let e=s||0;e<t.length;e++)if((C.isObservable(t[e][i])?t[e][i].peek():t[e][i])===r)return t[e];return null}function $s(t,i){for(let e=0;e<t.length;e++)if(i(t[e]))return t[e];return null}_s._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___";const ks=$s;function Ps(e,t,i){let r=0,s=e.length-1;for(;r<=s;){var a=s+r>>1,n=i(t,e[a]);if(0<n)r=1+a;else{if(!(n<0))return a;s=a-1}}return~r}class Ds{constructor(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}_appendSnapLine(e,t,i,r){var e={position:e,limitInf:t,limSup:i},s=Ps(r,e,(e,t)=>e.position-t.position);-1<s?(r[s].limitInf=Math.min(r[s].limitInf,t),r[s].limSup=Math.max(r[s].limSup,i)):r.splice(~s,0,e)}_collectSnaplines(e,t){this._enumerateCollection(e,t,(e,t)=>{e!==this._snapTargetToIgnore&&(this._appendSnapLine(t.left,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.right,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.top,t.left,t.right,this._horizontalSnapLines),this._appendSnapLine(t.bottom,t.left,t.right,this._horizontalSnapLines),this._collectSnaplines(e,t))})}_getCollection(e){return e.controls&&e.controls()}_enumerateCollection(e,t,i){var r=this._getCollection(e);if(r)for(let e=0;e<r.length;e++){var s=r[e].rect&&r[e].rect();s&&i(r[e],{top:s.top+t.top,bottom:s.bottom+t.top,left:s.left+t.left,right:s.right+t.left})}}collectSnaplines(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}}}class Ts{constructor(){this._position=C.observable(Ts._blankPosition)}transform(){var e=this._position();return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"}updatePosition(e){this._position(e)}reset(){this.updatePosition(Ts._blankPosition)}}Ts._blankPosition={top:0,left:0,width:0,height:0};class Fs{constructor(e=null,t=Fs.snapTolerance,i=new Ds){this.snapLineSurfaces=[new Ts,new Ts,new Ts,new Ts],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=i}_findClosestSnapLine(e,t){var i,r=Ps(t,{position:e,limitInf:0,limSup:0},(e,t)=>e.position-t.position);let s;return s=-1<r?{snapLine:t[r],distance:e-t[r].position}:(i=t[r=~r]?e-t[r].position:Number.MAX_VALUE,e=t[r-1]?e-t[r-1].position:Number.MAX_VALUE,Math.abs(i)>Math.abs(e)?{snapLine:t[r-1],distance:e}:{snapLine:t[r],distance:i})}_getActiveSnapLines(e,t,i){var r,e=this._findClosestSnapLine(e,i),t=this._findClosestSnapLine(t,i),i={lines:[],distance:0};return 1<=Math.abs(e.distance-t.distance)?(r=Math.abs(e.distance)<Math.abs(t.distance)?e:t,Math.abs(r.distance)<=this._snapTolerance&&(i.lines=[r],i.distance=r.distance)):Math.abs(e.distance)<=this._snapTolerance&&(i.lines=[e,t],i.distance=e.distance),i}updateSnapLines(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)}deactivateSnapLines(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()}activateSnapLines(r){var s=this._getActiveSnapLines(r.left,r.right,this.verticalSnapLines),a=this._getActiveSnapLines(r.top,r.bottom,this.horizontalSnapLines);for(let i=0;i<2;i++){var n=s.lines[i];if(n){let e=Math.min(n.snapLine.limitInf,r.top),t=Math.max(n.snapLine.limSup,r.bottom);r.top<n.snapLine.limitInf&&(e-=a.distance),r.bottom>n.snapLine.limSup&&(t-=a.distance),this.snapLineSurfaces[i].updatePosition({top:e,left:n.snapLine.position,height:t-e,width:1})}else this.snapLineSurfaces[i].reset()}for(let i=0;i<2;i++){var o=a.lines[i];if(o){let e=Math.min(o.snapLine.limitInf,r.left),t=Math.max(o.snapLine.limSup,r.right);r.left<o.snapLine.limitInf&&(e-=s.distance),r.right>o.snapLine.limSup&&(t-=s.distance),this.snapLineSurfaces[i+2].updatePosition({top:o.snapLine.position,left:e,width:t-e,height:1})}else this.snapLineSurfaces[i+2].reset()}return{left:s.distance,top:a.distance}}snapPosition(e,t){t=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return t&&Math.abs(t.distance)<=this._snapTolerance?t.snapLine.position:e}}Fs.snapTolerance=10;class Bs{constructor(e,t){this.x=C.observable(e).extend({dxdnum:{}}),this.y=C.observable(t).extend({dxdnum:{}})}getInfo(){return ci}static fromString(e="0, 0"){e=e.split(",");return new Bs(parseFloat(e[0]),parseFloat(e[1]))}toString(){return this.x()+", "+this.y()}}Bs.unitProperties=["x","y"];const Os={createChild:(e,t)=>e.createChild(t),calculateDelta:(e,t,i)=>({x:e.rect().left-i.x(),y:e.rect().top-i.y()}),canPaste:(e,t)=>!0};class Ms{constructor(e,t=Os){this._copyPasteStrategy=t,this._copyInfo=C.observable(null),this.hasPasteInfo=C.pureComputed(()=>null!==this._copyInfo()),this._selectionProvider=e}canCopy(){return null!==this._selectionProvider.focused()&&!this._selectionProvider.focused().getControlModel().getMetaData().isCopyDeny}canPaste(){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}copy(){if(this.canCopy()){const t=new cs,e={focused:this._selectionProvider.focused(),objects:_.map(this._selectionProvider.selectedItems,e=>t.serialize(e.getControlModel()))};this._copyInfo(e)}}cut(){const t=new cs,e=this._selectionProvider.focused(),i=[];this._selectionProvider.selectedItems.forEach(e=>{e=e.getControlModel();e.parentModel().removeChild(e),i.push(t.serialize(e)),this._copyPasteStrategy.createSelfRestoringItems&&i.push(...this._copyPasteStrategy.createSelfRestoringItems(e,t))});var r={focused:e,objects:i};this._copyInfo(r)}paste(){if(this.canPaste()){let t=this._selectionProvider.focused(),i=t.getControlModel();var r=[],s=(t===this._copyInfo().focused&&(t=t.parent,i=t.getControlModel()),i.getMetaData().isContainer||(t=t.parent,i=t.getControlModel()),new Bs(Number.MAX_VALUE,Number.MAX_VALUE)),a=new Bs(-1,-1);for(let e=0;e<this._copyInfo().objects.length;e++){var n,o,d=Bt(this._copyPasteStrategy.createChild(i,this._copyInfo().objects[e]));d&&(n=new Bs(d.rect().left,d.rect().top),o=new Bs(d.rect().left+d.rect().width,d.rect().top+d.rect().height),s.x()>=n.x()&&s.x(n.x()),a.x()<=o.x()&&a.x(o.x()),s.y()>=n.y()&&s.y(n.y()),a.y()<=o.y()&&a.y(o.y()),r.push(d))}var l=new Bs((t.rect().width-t._context.margins.right())/2-(a.x()-s.x())/2+(t.rtlLayout()?t._context.margins.right():0),t.rect().height/2-(a.y()-s.y())/2);for(let e=0;e<r.length;e++){var u=this._copyPasteStrategy.calculateDelta(r[e],t,s);r[e].rect({left:l.x()+u.x,top:l.y()+u.y})}this._selectionProvider.initialize(),r.forEach(e=>{this._selectionProvider.selecting({control:e,cancel:!1})})}}}const Ns={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 Vs(e){e=Math.round(parseInt(e.replace("%","")))/100;return e?5<=e?5:e<=.1?.1:e:1}var u,p,zs,h,a=e(19),Ls=e.n(a);(o=u=u||{})[o.Minus=0]="Minus",o[o.Plus=1]="Plus",o[o.BitwiseNot=2]="BitwiseNot",o[o.Not=3]="Not",o[o.IsNull=4]="IsNull";class Hs{constructor(){this._func=[],this._factory={},this._changeTypeFactory={}}addListener(e){-1===this._func.indexOf(e)&&this._func.push(e)}removeListener(e){e=this._func.indexOf(e);-1!==e&&this._func.splice(e,1)}register(e,t,i){this._factory[e]=t,i&&(this._changeTypeFactory[e]=e=>{let t=i(e);return t=e.reverse?this.process("unary",{operator:t,operatorType:u.Not}):t})}process(t,i={}){let r=t in this._factory?this._factory[t](i):this._factory.default();return this._func.forEach(e=>{r=e(r,{operatorType:t,options:i||{}})}),r}changeByType(e){return this._changeTypeFactory[e._type]?this._changeTypeFactory[e._type](e):null}}const g=new Hs;class Rs{constructor(){this.type="default",this.operands=null,this.changeValue=(e,t,i)=>{t=t?g.process("unary",{operatorType:u.Minus,operator:e}):e;return null!==i.index?this[i.name][i.index]=t:this[i.name]=t,t},this.changeValueType=(e,t)=>{e=new e;return null!==t.index?this[t.name][t.index]=e:this[t.name]=e,e},this.assignLeftPart=e=>{},this.assignRightPart=e=>{},this.assignType=e=>{this.operatorType=e}}get displayType(){return this.operatorType}get enumType(){return null}get leftPart(){return null}get rightPart(){return null}assignFrom(e,t=!1,i=!0){let r=e;"unary"!==e.type||Array.isArray(e.leftPart)||"property"==e.leftPart.type||(r=e.leftPart),t?this.assignLeftPart(r.leftPart):this.assignLeftPart(r),r.rightPart&&i&&this.assignRightPart(r)}children(){var e=[];return this.leftPart&&e.push.apply(e,Array.isArray(this.leftPart)?this.leftPart:[this.leftPart]),this.rightPart&&e.push.apply(e,Array.isArray(this.rightPart)?this.rightPart:[this.rightPart]),e}accept(e){throw"Not implemented"}}g.register("default",e=>new Rs);const js=Se(19),Ws=Se("Times New Roman, 9.75pt");function Gs(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 Us(e){return e&&Gs(e)}function qs(e){return!e||Gs(e)}const Ks=()=>f("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error"),Ys=[{type:"custom",validationCallback:e=>qs(e.value),get message(){return Ks()}}],Js=[{type:"required",get message(){return Ks()}}],Xs=[{type:"required",get message(){return f("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}}];class Zs extends Rs{constructor(e,t){super(),this.type="value";let i=null!=e?e:"";var r=Us(e);e&&e.length&&("'"===e[0]&&"'"===e[e.length-1]||r)?(this.specifics="string",r&&"{"===e[0]&&"}"===e[e.length-1]&&(this.specifics="guid"),i=this._processStringValue(e)):e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]&&!t?i=(i=qe(i=e.slice(1,e.length-1)))||qe(e.slice(1,e.length-1)):"true"===String(e).toLowerCase()||"false"===String(e).toLowerCase()?i="true"===String(e).toLowerCase()?"True":"False":t&&(this.specifics=e.match(/\#\w+\#/g)[0].replace(/\#/g,"").toLowerCase()),this.value=i}_processStringValue(e){let t=e.slice(1,e.length-1);return t=t.replace(/''/g,"'")}get displayType(){return this.value||"?"}}g.register("value",e=>new Zs(null==e?void 0:e.value,null==e?void 0:e.isSomeType));class Qs extends Zs{constructor(e,t){super(t),this.type="parameter",this.parameterName=e||""}get displayType(){return"?"+this.parameterName}accept(e){return e.visitOperandParameter?e.visitOperandParameter(this):new Qs(this.parameterName,this.value)}}g.register("parameter",e=>new Qs(e.parameterName,e.value));class ea extends Rs{constructor(e="",t=-1,i=-1,r=0,s=!1){super(),this.type="property",this.propertyName=e,this.originalPropertyLength=r,this.startPosition={column:t,line:i},this.circumflex=s}get displayType(){return"["+this.propertyName+"]"}accept(e){return e.visitOperandProperty?e.visitOperandProperty(this):g.process("property",{propertyName:this.propertyName})}}g.register("property",e=>new ea(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength,e.circumflex));class ta extends Rs{constructor(e,t){super(),this.type="unary",this.operand=t||g.process("default"),this.operatorType=e}get leftPart(){return this.operand}assignFrom(e){this.operatorType===u.Not?e instanceof ta?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):e instanceof ta?this.operand=e.operand.leftPart:this.operand=e.leftPart||e}get displayType(){return u[this.operatorType]}get enumType(){return u}accept(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new ta(this.operatorType,this.operand&&this.operand.accept(e))}}g.register("unary",e=>new ta(e.operatorType,e.operator),e=>g.process("unary",{operatorType:e.value,operator:g.process("property")})),(a=p=p||{})[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",(o=zs=zs||{})[o.And=0]="And",o[o.Or=1]="Or";class ia extends Rs{constructor(e,t,i,r){super(),this.change=(e,t)=>{let i=null;return e.type===zs&&(i=g.changeByType(e),(e.type!==i.enumType?i.leftPart:i).assignFrom(t),this.condition=i),i},this.assignLeftPart=e=>{e.leftPart instanceof ia?this.assignFrom(e.leftPart):e instanceof ia?(this.property=e.property,this.aggregatedExpression&&e.aggregatedExpression&&(this.aggregatedExpression=e.aggregatedExpression),this.condition=e.condition):this.property=e.leftPart},this.type="aggregate",this.property=e,r&&"group"===r.type?this.condition=r:r instanceof ta&&r.operatorType===u.Not?"group"===r.operand.type?this.condition=g.process("unary",{operator:r.operand,operatorType:u.Not}):this.condition=g.process("unary",{operator:g.process("group",{operation:zs.And,operands:r.operand?[r.operand]:[]}),operatorType:u.Not}):this.condition=g.process("group",{operation:zs.And,operands:r?[r]:[]}),this.operatorType=i,t&&(1<t.length?this.customAggregatedExpression=t:this.aggregatedExpression=t[0]||null)}get displayType(){return this.operatorType}get enumType(){return ia}get leftPart(){return this.property}children(){const t=[];return this.condition&&t.push(this.condition),this.aggregatedExpression?t.push(this.aggregatedExpression):this.customAggregatedExpression&&this.customAggregatedExpression.forEach(e=>t.push(e)),t}accept(t){if(t.visitAggregateOperand)return t.visitAggregateOperand(this);let e=null;return this.aggregatedExpression?e=[this.aggregatedExpression]:this.customAggregatedExpression&&(e=this.customAggregatedExpression.map(e=>e.accept(t))),g.process("aggregate",{aggregateType:this.operatorType,aggregatedExpression:e,condition:this.condition&&this.condition.accept(t),property:this.property&&this.property.accept(t)})}}function ra(e,t,i=""){t(e,i),e instanceof ia&&(e.leftPart&&ra(e.leftPart,t,i),e.leftPart)&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName),e.children().forEach(e=>ra(e,t,i))}g.register("aggregate",e=>new ia(e.property,e.aggregatedExpression,e.aggregateType,e.condition),e=>{var t={property:g.process("property"),aggregateType:e.value,aggregatedExpression:null,condition:g.process("group",{operation:zs.And,operands:[]})};return"Exists"===e.value?g.process("aggregate",t):("Count"!==e.value&&(t.aggregatedExpression=[g.process("property")]),g.process("binary",{left:g.process("aggregate",t),right:g.process("value",{value:void 0}),operatorType:p.Equal}))});class sa extends Rs{constructor(e,t){super(),this.create=(e,t,i)=>{let r=g.process("binary",{left:t,right:g.process("value",{value:""}),operatorType:p.Equal});return e?r=g.process("group",{operation:zs.And,operands:[]}):i&&"list"===i&&(r=g.process("aggregate",{aggregateType:"Exisits",property:t,aggregatedExpression:null,condition:g.process("group",{operands:[],operation:zs.And})})),this.operands.push(r),this.operands[this.operands.indexOf(r)]},this.change=(e,t,i=!1)=>{var r=this.operands.indexOf(t);if(-1===r)throw Error("dont have this element in operands collection");var s=g.changeByType(e);return(e.type===s.enumType||Array.isArray(s.leftPart)?s:s.leftPart).assignFrom(t,i,!e.emptyRightPart),this.operands[r]=s,t=null,this.operands[r]},this.remove=e=>{this.operands.splice(this.operands.indexOf(e),1)},this.assignLeftPart=e=>{this.operands=e.operands},this.operands=[],this.type="group",this.operatorType=e,(t=t||[g.process("default"),g.process("default")]).forEach(e=>this.operands.push(e))}static combine(t,e){const i=[];return(e||[]).forEach(e=>{"group"===e.type&&e.operatorType===t?i.push.apply(i,e.operands):i.push(e)}),1===i.length?i[0]:g.process("group",{operands:i,operation:t})}children(){return this.operands}get displayType(){return zs[this.operatorType]}get enumType(){return zs}accept(t){return t.visitGroupOperator?t.visitGroupOperator(this):new sa(this.operatorType,this.operands&&this.operands.map(e=>e.accept(t)))}}g.register("group",e=>new sa(e.operation,e.operands),e=>g.process("group",{operation:e.value,operands:[]})),(a=h=h||{})[a.None=0]="None",a[a.Custom=1]="Custom",a[a.CustomNonDeterministic=2]="CustomNonDeterministic",a[a.Iif=3]="Iif",a[a.InRange=4]="InRange",a[a.IsNull=5]="IsNull",a[a.IsNullOrEmpty=6]="IsNullOrEmpty",a[a.Trim=7]="Trim",a[a.Len=8]="Len",a[a.Substring=9]="Substring",a[a.Upper=10]="Upper",a[a.Lower=11]="Lower",a[a.Concat=12]="Concat",a[a.Ascii=13]="Ascii",a[a.Char=14]="Char",a[a.ToStr=15]="ToStr",a[a.Replace=16]="Replace",a[a.Reverse=17]="Reverse",a[a.Insert=18]="Insert",a[a.CharIndex=19]="CharIndex",a[a.Remove=20]="Remove",a[a.Abs=21]="Abs",a[a.Sqr=22]="Sqr",a[a.Cos=23]="Cos",a[a.Sin=24]="Sin",a[a.Atn=25]="Atn",a[a.Exp=26]="Exp",a[a.Log=27]="Log",a[a.Rnd=28]="Rnd",a[a.Tan=29]="Tan",a[a.Power=30]="Power",a[a.Sign=31]="Sign",a[a.Round=32]="Round",a[a.Ceiling=33]="Ceiling",a[a.Floor=34]="Floor",a[a.Max=35]="Max",a[a.Min=36]="Min",a[a.Acos=37]="Acos",a[a.Asin=38]="Asin",a[a.Atn2=39]="Atn2",a[a.BigMul=40]="BigMul",a[a.Cosh=41]="Cosh",a[a.Log10=42]="Log10",a[a.Sinh=43]="Sinh",a[a.Tanh=44]="Tanh",a[a.PadLeft=45]="PadLeft",a[a.PadRight=46]="PadRight",a[a.StartsWith=47]="StartsWith",a[a.EndsWith=48]="EndsWith",a[a.Contains=49]="Contains",a[a.ToInt=50]="ToInt",a[a.ToLong=51]="ToLong",a[a.ToFloat=52]="ToFloat",a[a.ToDouble=53]="ToDouble",a[a.ToDecimal=54]="ToDecimal",a[a.LocalDateTimeThisYear=55]="LocalDateTimeThisYear",a[a.LocalDateTimeThisMonth=56]="LocalDateTimeThisMonth",a[a.LocalDateTimeLastWeek=57]="LocalDateTimeLastWeek",a[a.LocalDateTimeThisWeek=58]="LocalDateTimeThisWeek",a[a.LocalDateTimeYesterday=59]="LocalDateTimeYesterday",a[a.LocalDateTimeToday=60]="LocalDateTimeToday",a[a.LocalDateTimeNow=61]="LocalDateTimeNow",a[a.LocalDateTimeTomorrow=62]="LocalDateTimeTomorrow",a[a.LocalDateTimeDayAfterTomorrow=63]="LocalDateTimeDayAfterTomorrow",a[a.LocalDateTimeNextWeek=64]="LocalDateTimeNextWeek",a[a.LocalDateTimeTwoWeeksAway=65]="LocalDateTimeTwoWeeksAway",a[a.LocalDateTimeNextMonth=66]="LocalDateTimeNextMonth",a[a.LocalDateTimeNextYear=67]="LocalDateTimeNextYear",a[a.InDateRange=68]="InDateRange",a[a.IsOutlookIntervalBeyondThisYear=69]="IsOutlookIntervalBeyondThisYear",a[a.IsOutlookIntervalLaterThisYear=70]="IsOutlookIntervalLaterThisYear",a[a.IsOutlookIntervalLaterThisMonth=71]="IsOutlookIntervalLaterThisMonth",a[a.IsOutlookIntervalNextWeek=72]="IsOutlookIntervalNextWeek",a[a.IsOutlookIntervalLaterThisWeek=73]="IsOutlookIntervalLaterThisWeek",a[a.IsOutlookIntervalTomorrow=74]="IsOutlookIntervalTomorrow",a[a.IsOutlookIntervalToday=75]="IsOutlookIntervalToday",a[a.IsOutlookIntervalYesterday=76]="IsOutlookIntervalYesterday",a[a.IsOutlookIntervalEarlierThisWeek=77]="IsOutlookIntervalEarlierThisWeek",a[a.IsOutlookIntervalLastWeek=78]="IsOutlookIntervalLastWeek",a[a.IsOutlookIntervalEarlierThisMonth=79]="IsOutlookIntervalEarlierThisMonth",a[a.IsOutlookIntervalEarlierThisYear=80]="IsOutlookIntervalEarlierThisYear",a[a.IsOutlookIntervalPriorThisYear=81]="IsOutlookIntervalPriorThisYear",a[a.IsLastMonth=82]="IsLastMonth",a[a.IsLastYear=83]="IsLastYear",a[a.IsNextMonth=84]="IsNextMonth",a[a.IsNextYear=85]="IsNextYear",a[a.IsThisWeek=86]="IsThisWeek",a[a.IsThisMonth=87]="IsThisMonth",a[a.IsThisYear=88]="IsThisYear",a[a.IsJanuary=89]="IsJanuary",a[a.IsFebruary=90]="IsFebruary",a[a.IsMarch=91]="IsMarch",a[a.IsApril=92]="IsApril",a[a.IsMay=93]="IsMay",a[a.IsJune=94]="IsJune",a[a.IsJuly=95]="IsJuly",a[a.IsAugust=96]="IsAugust",a[a.IsSeptember=97]="IsSeptember",a[a.IsOctober=98]="IsOctober",a[a.IsNovember=99]="IsNovember",a[a.IsDecember=100]="IsDecember",a[a.IsSameDay=101]="IsSameDay",a[a.IsYearToDate=102]="IsYearToDate",a[a.DateDiffTick=103]="DateDiffTick",a[a.DateDiffSecond=104]="DateDiffSecond",a[a.DateDiffMilliSecond=105]="DateDiffMilliSecond",a[a.DateDiffMinute=106]="DateDiffMinute",a[a.DateDiffHour=107]="DateDiffHour",a[a.DateDiffDay=108]="DateDiffDay",a[a.DateDiffMonth=109]="DateDiffMonth",a[a.DateDiffYear=110]="DateDiffYear",a[a.DateTimeFromParts=111]="DateTimeFromParts",a[a.GetDate=112]="GetDate",a[a.GetMilliSecond=113]="GetMilliSecond",a[a.GetSecond=114]="GetSecond",a[a.GetMinute=115]="GetMinute",a[a.GetHour=116]="GetHour",a[a.GetDay=117]="GetDay",a[a.GetMonth=118]="GetMonth",a[a.GetYear=119]="GetYear",a[a.GetDayOfWeek=120]="GetDayOfWeek",a[a.GetDayOfYear=121]="GetDayOfYear",a[a.GetTimeOfDay=122]="GetTimeOfDay",a[a.Now=123]="Now",a[a.UtcNow=124]="UtcNow",a[a.Today=125]="Today",a[a.AddTimeSpan=126]="AddTimeSpan",a[a.AddTicks=127]="AddTicks",a[a.AddMilliSeconds=128]="AddMilliSeconds",a[a.AddSeconds=129]="AddSeconds",a[a.AddMinutes=130]="AddMinutes",a[a.AddHours=131]="AddHours",a[a.AddDays=132]="AddDays",a[a.AddMonths=133]="AddMonths",a[a.AddYears=134]="AddYears",a[a.OrderDescToken=135]="OrderDescToken";class aa extends Rs{constructor(e,t,i,r){super(),this.type="join",this.joinTypeName=e,this.condition=t,this.operatorType=i,this.aggregatedExpression=r}static joinOrAggregate(e,t,i,r){return null===e||e.propertyName.length<2||"<"!=e.propertyName[0]||">"!=e.propertyName[e.propertyName.length-1]?g.process("aggregate",{property:e,aggregatedExpression:r,aggregateType:i,condition:t}):g.process("join",{joinTypeName:e.propertyName.substring(1,e.propertyName.length-2),condition:t,type:i,aggregated:r&&r[0]?r[0]:null})}accept(e){return e.visitJoinOperand?e.visitJoinOperand(this):new aa(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))}}o=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,45,46,47,51,52,53],a=[1,54],on=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],yn=[5,28,29,31,37,46],$a=[1,93],ka=[1,94],Pa=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],On=[5,20,21,26,27,28,29,31,32,37,46],cn=[5,20,21,22,23,24,25,26,27,28,29,31,32,37,46],Da=[31,37],Ta=[1,105],(Pa={trace:function(){},yy:{},symbols_:{error:2,expressions:3,exp:4,EOF:5,const:6,propertyWithAgg:7,SOMETYPE:8,parameter: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:34,arguments:35,OP_BETWEEN:36,",":37,NAME_SOFT:38,STRING:39,NUMBER:40,OBJECT:41,BOOLEAN:42,GUID:43,property:44,"[":45,"]":46,".":47,agg:48,Count:49,Exists:50,FIELD_END:51,CH:52,ESC_CH:53,FIELD_START:54,"?":55,commaseparated:56,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",8:"SOMETYPE",10:"*",11:"/",12:"+",13:"-",14:"%",15:"|",16:"&",17:"^",18:"!",19:"~",20:"OP_EQ",21:"OP_NE",22:"OP_GT",23:"OP_LT",24:"OP_GE",25:"OP_LE",26:"OP_LIKE",27:"NOT",28:"AND",29:"OR",30:"(",31:")",32:"IS",33:"NULL",34:"OP_IN",36:"OP_BETWEEN",37:",",38:"NAME_SOFT",39:"STRING",40:"NUMBER",41:"OBJECT",42:"BOOLEAN",43:"GUID",45:"[",46:"]",47:".",49:"Count",50:"Exists",51:"FIELD_END",52:"CH",53:"ESC_CH",54:"FIELD_START",55:"?"},productions_:[0,[3,2],[4,1],[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],[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],[48,1],[48,1],[48,2],[44,2],[44,2],[44,2],[44,3],[44,3],[44,1],[44,1],[44,1],[9,2],[9,1],[35,2],[35,3],[56,1],[56,3]],performAction:function(e,t,i,r,s,a,n){var o=a.length-1;switch(s){case 1:return a[o-1];case 2:this.$=g.process("const",{value:a[o]});break;case 3:case 5:case 35:case 36:case 37:case 38:case 39:this.$=a[o];break;case 4:this.$=g.process("value",{value:a[o],isSomeType:!0});break;case 6:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Multiply});break;case 7:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Divide});break;case 8:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Plus});break;case 9:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Minus});break;case 10:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Modulo});break;case 11:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.BitwiseOr});break;case 12:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.BitwiseAnd});break;case 13:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.BitwiseXor});break;case 14:this.$=g.process("unary",{operatorType:u.Minus,operator:a[o]});break;case 15:this.$=g.process("unary",{operatorType:u.Plus,operator:a[o]});break;case 16:case 26:this.$=g.process("unary",{operatorType:u.Not,operator:a[o]});break;case 17:this.$=g.process("unary",{operatorType:u.BitwiseNot,operator:a[o]});break;case 18:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Equal});break;case 19:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.NotEqual});break;case 20:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Greater});break;case 21:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Less});break;case 22:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.GreaterOrEqual});break;case 23:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.LessOrEqual});break;case 24:this.$=g.process("binary",{left:a[o-2],right:a[o],operatorType:p.Like});break;case 25:this.$=g.process("unary",{operatorType:u.Not,operator:g.process("binary",{left:a[o-3],right:a[o],operatorType:p.Like})});break;case 27:this.$=sa.combine(zs.And,[a[o-2],a[o]]);break;case 28:this.$=sa.combine(zs.Or,[a[o-2],a[o]]);break;case 29:case 51:case 62:this.$=a[o-1];break;case 30:this.$=g.process("unary",{operatorType:u.IsNull,operator:a[o-2]});break;case 31:this.$=g.process("unary",{operatorType:u.Not,operator:g.process("unary",{operatorType:u.IsNull,operator:a[o-3]})});break;case 32:this.$=g.process("in",{criteriaOperator:a[o-2],operands:a[o]});break;case 33:this.$=g.process("between",{property:a[o-6],begin:a[o-3],end:a[o-1]});break;case 34:this.$=g.process("function",{operatorType:h[a[o-1]]||a[o-1],operands:a[o]});break;case 40:this.$=null;break;case 41:this.$=aa.joinOrAggregate(g.process("property",{propertyName:a[o-5].name,startColumn:a[o-5].col,circumflex:a[o-5].circumflex,startLine:a[o-5].line,originalPropertyLength:n[o-5].last_column-n[o-5].first_column+1}),a[o-3],a[o].type,a[o].expr);break;case 42:this.$=aa.joinOrAggregate(g.process("property",{propertyName:a[o-4].name,startColumn:a[o-4].col,circumflex:a[o-4].circumflex,startLine:a[o-4].line,originalPropertyLength:n[o-4].last_column-n[o-4].first_column+1}),null,a[o].type,a[o].expr);break;case 43:this.$=aa.joinOrAggregate(g.process("property",{propertyName:a[o-2].name,startColumn:a[o-2].col,circumflex:a[o-2].circumflex,startLine:a[o-2].line,originalPropertyLength:n[o-2].last_column-n[o-2].first_column}),null,a[o].type,a[o].expr);break;case 44:this.$=aa.joinOrAggregate(g.process("property",{propertyName:a[o-3].name,startColumn:a[o-3].col,circumflex:a[o-3].circumflex,startLine:a[o-3].line,originalPropertyLength:n[o-3].last_column-n[o-3].first_column+1}),a[o-1],"Exists",null);break;case 45:this.$=aa.joinOrAggregate(g.process("property",{propertyName:a[o-2].name,startColumn:a[o-2].col,circumflex:a[o-2].circumflex,startLine:a[o-2].line,originalPropertyLength:n[o-2].last_column-n[o-2].first_column+1}),null,"Exists",null);break;case 46:this.$=g.process("property",{propertyName:a[o].name,startColumn:a[o].col,circumflex:a[o].circumflex,startLine:a[o].line,originalPropertyLength:n[o].last_column-n[o].first_column});break;case 47:this.$=aa.joinOrAggregate(g.process("property",{}),null,a[o].type,a[o].expr);break;case 48:this.$={type:"Count"};break;case 49:this.$={type:"Exists"};break;case 50:this.$={type:a[o-1],expr:a[o]};break;case 52:this.$={name:a[o-1].name+a[o],line:a[o-1].line,circumflex:a[o-1].circumflex,col:a[o-1].col};break;case 53:this.$={name:a[o-1].name+a[o].substr(1),line:a[o-1].line,circumflex:a[o-1].circumflex,col:a[o-1].col};break;case 54:a[o-2].circumflex&&a[o-2].started?this.$={name:"",line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col+2}:this.$={name:a[o-2].name+".",line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col};break;case 55:a[o-2].circumflex&&a[o-2].started?this.$={name:a[o],line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col+1}:this.$={name:a[o-2].name+"."+a[o],line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col};break;case 56:this.$={name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 57:this.$={name:a[o],line:n[o].first_line-1,col:n[o].first_column};break;case 58:this.$={circumflex:!0,started:!0,name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 59:this.$=g.process("parameter",{parameterName:a[o]});break;case 60:this.$=g.process("value",{});break;case 61:this.$=[];break;case 63:this.$=[a[o]];break;case 64:this.$=a[o-2].concat(a[o])}},table:[{3:1,4:2,6:3,7:4,8:y=[1,5],9:6,12:w=[1,8],13:A=[1,7],17:I=[1,24],18:S=[1,9],19:P=[1,10],27:k=[1,11],30:D=[1,12],33:Ll=[1,19],38:Rl=[1,13],39:Wl=[1,14],40:Ul=[1,15],41:T=[1,16],42:M=[1,17],43:F=[1,18],44:20,45:B=[1,21],54:O=[1,23],55:na=[1,22]},{1:[3]},{5:[1,25],10:oa=[1,26],11:da=[1,27],12:la=[1,28],13:ua=[1,29],14:ca=[1,30],15:pa=[1,31],16:ha=[1,32],17:ga=[1,33],20:ma=[1,34],21:fa=[1,35],22:va=[1,36],23:xa=[1,37],24:ba=[1,38],25:ya=[1,39],26:_a=[1,40],27:Ca=[1,41],28:wa=[1,42],29:Aa=[1,43],32:Ea=[1,44],34:Ia=[1,45],36:Sa=[1,46]},b(x=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,2]),b(x,[2,3]),b(x,[2,4]),b(x,[2,5]),{4:47,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:48,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:49,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:50,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:51,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:52,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},b(o,[2,57],{35:53,30:a}),b(x,[2,35]),b(x,[2,36]),b(x,[2,37]),b(x,[2,38]),b(x,[2,39]),b(x,[2,40]),b(x,[2,46],{45:[1,55],47:[1,56],51:[1,57],52:[1,58],53:[1,59]}),{46:[1,60]},b(x,[2,60],{38:[1,61]}),b(o,[2,56]),b(o,[2,58]),{1:[2,1]},{4:62,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:63,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:64,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:65,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:66,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:67,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:68,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:69,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:70,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:71,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:72,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:73,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:74,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:75,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:76,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{26:[1,77]},{4:78,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{4:79,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},{27:[1,81],33:[1,80]},{30:a,35:82},{30:[1,83]},b(x,[2,14]),b(x,[2,15]),b(x,[2,16]),b(on,[2,17],{10:oa,11:da,12:la,13:ua,14:ca}),b(yn,[2,26],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,32:Ea,34:Ia,36:Sa}),{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,29:Aa,31:[1,84],32:Ea,34:Ia,36:Sa},b(x,[2,34]),{4:87,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,31:[1,85],33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na,56:86},{4:88,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,46:[1,89],54:O,55:na},{38:[1,92],48:90,49:$a,50:ka,54:[1,91]},b(o,[2,51]),b(o,[2,52]),b(o,[2,53]),{47:[1,95]},b(x,[2,59]),b(x,[2,6]),b(x,[2,7]),b(Pa,[2,8],{10:oa,11:da,14:ca}),b(Pa,[2,9],{10:oa,11:da,14:ca}),b(x,[2,10]),b([5,15,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,11],{10:oa,11:da,12:la,13:ua,14:ca,16:ha,17:ga}),b(on,[2,12],{10:oa,11:da,12:la,13:ua,14:ca}),b([5,15,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,13],{10:oa,11:da,12:la,13:ua,14:ca,16:ha}),b(On,[2,18],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,22:va,23:xa,24:ba,25:ya,34:Ia,36:Sa}),b(On,[2,19],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,22:va,23:xa,24:ba,25:ya,34:Ia,36:Sa}),b(cn,[2,20],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,34:Ia,36:Sa}),b(cn,[2,21],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,34:Ia,36:Sa}),b(cn,[2,22],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,34:Ia,36:Sa}),b(cn,[2,23],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,34:Ia,36:Sa}),b(On,[2,24],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,22:va,23:xa,24:ba,25:ya,34:Ia,36:Sa}),{4:96,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},b(yn,[2,27],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,32:Ea,34:Ia,36:Sa}),b([5,29,31,37,46],[2,28],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,32:Ea,34:Ia,36:Sa}),b(x,[2,30]),{33:[1,97]},b(x,[2,32]),{4:98,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},b(x,[2,29]),b(x,[2,61]),{31:[1,99],37:[1,100]},b(Da,[2,63],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,29:Aa,32:Ea,34:Ia,36:Sa}),{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,29:Aa,32:Ea,34:Ia,36:Sa,46:[1,101]},b(x,[2,45],{47:[1,102]}),b(x,[2,43]),b(o,[2,54]),b(o,[2,55],{35:103,30:a}),b(x,[2,48]),b(x,[2,49]),{38:Ta,48:104,49:$a,50:ka},b(On,[2,25],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,22:va,23:xa,24:ba,25:ya,34:Ia,36:Sa}),b(x,[2,31]),{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,29:Aa,32:Ea,34:Ia,36:Sa,37:[1,106]},b(x,[2,62]),{4:107,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},b(x,[2,44],{47:[1,108]}),{38:Ta,48:109,49:$a,50:ka},b(x,[2,50]),b(x,[2,47]),{30:a,35:103},{4:110,6:3,7:4,8:y,9:6,12:w,13:A,17:I,18:S,19:P,27:k,30:D,33:Ll,38:Rl,39:Wl,40:Ul,41:T,42:M,43:F,44:20,45:B,54:O,55:na},b(Da,[2,64],{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,29:Aa,32:Ea,34:Ia,36:Sa}),{38:Ta,48:111,49:$a,50:ka},b(x,[2,42]),{10:oa,11:da,12:la,13:ua,14:ca,15:pa,16:ha,17:ga,20:ma,21:fa,22:va,23:xa,24:ba,25:ya,26:_a,27:Ca,28:wa,29:Aa,31:[1,112],32:Ea,34:Ia,36:Sa},b(x,[2,41]),b(x,[2,33])],defaultActions:{25:[2,1]},parseError:function(e,t){var i;if(!t.recoverable)throw(i=new Error(e)).hash=t,i;this.trace(e)},parse:function(e){var t,i=this,r=[0],s=[null],a=[],n=this.table,o="",d=0,l=0,u=0,c=1,p=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,t)&&(g.yy[t]=this.yy[t]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var m=h.yylloc,f=(a.push(m),h.options&&h.options.ranges);"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,x,b,y,_,C,w,A=function(){var e=h.lex()||c;return e="number"!=typeof e?i.symbols_[e]||e:e},E={};;){if(b=r[r.length-1],void 0===(y=this.defaultActions[b]||(null==v&&(v=A()),n[b]&&n[b][v]))||!y.length||!y[0]){var I="",S=[];for(_ in n[b])this.terminals_[_]&&2<_&&S.push("'"+this.terminals_[_]+"'");I=h.showPosition?"Parse error on line "+(d+1)+":\n"+h.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(d+1)+": Unexpected "+(v==c?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(I,{text:h.match,token:this.terminals_[v]||v,line:h.yylineno,loc:m,expected:S})}if(y[0]instanceof Array&&1<y.length)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+v);switch(y[0]){case 1:r.push(v),s.push(h.yytext),a.push(h.yylloc),r.push(y[1]),v=null,x?(v=x,x=null):(l=h.yyleng,o=h.yytext,d=h.yylineno,m=h.yylloc,0<u&&u--);break;case 2:if(C=this.productions_[y[1]][1],E.$=s[s.length-C],E._$={first_line:a[a.length-(C||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(C||1)].first_column,last_column:a[a.length-1].last_column},f&&(E._$.range=[a[a.length-(C||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(E,[o,l,d,g.yy,y[1],s,a].concat(p))))return w;C&&(r=r.slice(0,-1*C*2),s=s.slice(0,-1*C),a=a.slice(0,-1*C)),r.push(this.productions_[y[1]][0]),s.push(E.$),a.push(E._$),w=n[r[r.length-2]][r[r.length-1]],r.push(w);break;case 3:return!0}}return!0}}).lexer={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,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),r=(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1),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:i?(i.length===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[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 i,r;if(this.options.backtrack_lexer&&(r={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)&&(r.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,i,r,s=this._currentRules(),a=0;a<s.length;a++)if((i=this._input.match(this.rules[s[a]]))&&(!t||i[0].length>t[0].length))if(t=i,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[a])))return e;if(!this._backtrack)return!1;t=!1}else if(!this.options.flex)break;return t?!1!==(e=this.test_match(t,s[r]))&&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,i,r){switch(i){case 0:return this.begin("INITIAL"),45;case 1:return this.begin("INITIAL"),51;case 2:return 53;case 3:return 52;case 4:return"INVALID";case 5:return 39;case 6:return 43;case 7:return 8;case 8:return 41;case 9:return 40;case 10:case 11:return 42;case 12:break;case 13:return 36;case 14:return 34;case 15:return 27;case 16:return 32;case 17:return 33;case 18:return 10;case 19:return 11;case 20:return 13;case 21:return 12;case 22:return 17;case 23:return 19;case 24:return 21;case 25:return 18;case 26:return 14;case 27:return 21;case 28:return 24;case 29:return 25;case 30:return 22;case 31:return 23;case 32:return 29;case 33:return 28;case 34:case 35:return 20;case 36:return 26;case 37:return 28;case 38:return 29;case 39:return 16;case 40:return 15;case 41:return this.begin("fieldname"),54;case 42:return 46;case 43:return 30;case 44:return 31;case 45:return 47;case 46:return 37;case 47:return 55;case 48:return 38;case 49:return"INVALID";case 50: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,/^(?:##\w+#(?:[^\#]|(?:\.))*#)/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,/^(?:==)/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],inclusive:!0}}};var na,oa,da,la,ua,ca,pa,ha,ga,ma,fa,va,xa,ba,ya,_a,Ca,wa,Aa,Ea,Ia,Sa,x,$a,ka,Pa,Da,Ta,Fa=new((Ba.prototype=Pa).Parser=Ba);function b(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i}function Ba(){this.yy={}}const Oa=Fa;function Ma(e){return Fa.parse(e)}class Na{constructor(e,t,i,r){this.tokenName=e,this.alphabet=t,this.startTerm=i,this.endTerm=r,this.tokenLength=0,this.isActiveState=!1,this.tokens=[]}_isSubline(t,i){let r=t+i.length-1<this.alphabet.length;for(let e=t;e<t+i.length&&r;e++)r=this.alphabet[e]==i[e-t];return r}_getToken(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}processTransitionFunction(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}}class Va{constructor(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new Na("field",e,"[","]")),this.machineStates.push(new Na("value",e,"'","'")),this.machineStates.push(new Na("comment",e,"/*","*/")),this._inputStringCriteria=e}static parse(e,t=!1){return e&&""!==e?(t?new Va(e).replaceCommentsToChar(" "):new Va(e).replaceCommentsToChar()).getCriteria():null}_tokenize(){for(let i=0;i<this.stringCriteria.length;i++){let e=0;this.machineStates.forEach(t=>{e||this.machineStates.filter(e=>e!=t&&e.isActiveState).length||(e=t.processTransitionFunction(i))}),i+=e}let t=[];return this.machineStates.forEach(e=>{t=t.concat(e.tokens),e.tokens=[]}),t}_replaceTokenToAnotherToken(e,s,t){let a=this.stringCriteria;return(e=e.filter(e=>e.type==t).sort(e=>e.start).reverse()).forEach(t=>{var e=t.val.split("\n");let i=t.start,r=t.end;e.forEach(e=>{r=e.length+i!==t.end?i+e.length:t.end,a=rt(a,i,r-i,s),i=e.length*s.length+1})}),a}replaceCommentsToChar(e=""){return this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this}getCriteria(){return Ma(this._inputStringCriteria)}}class za{static _getCharFromKeyCode(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null}static _getCaretPosition(e){let t=-1,i=-1,r,s,a,n,o;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(t=e.selectionStart,i=e.selectionEnd):document.selection&&(s=document.selection.createRange())&&s.parentElement()==e&&(n=e.value.length,r=e.value.replace(/\r\n/g,"\n"),(a=e.createTextRange()).moveToBookmark(s.getBookmark()),(o=e.createTextRange()).collapse(!1),-1<a.compareEndPoints("StartToEnd",o)?t=i=n:(t=-a.moveStart("character",-n),t+=r.slice(0,t).split("\n").length-1,-1<a.compareEndPoints("EndToEnd",o)?i=n:(i=-a.moveEnd("character",-n),i+=r.slice(0,i).split("\n").length-1)))}catch(e){}return{start:t,end:i}}static _validate(e,t,i){if(!/^(0|(-?(([1-9]\d*)|(0\.\d+)|([1-9]\d*\.\d+)|(\d*\.\d+[eE][+\-]?\d+))))$/.test(e))return!1;if(!i)return!0;var r="-"===e[0],e=r?e.substring(1):e;if(r&&!t)return!1;var r=r?t.substring(1):i;[t,i]=e.toLowerCase().split("e"),[e,r]=r.toLowerCase().split("e");let s,a,n,o,d=([s,a]=t.split("."),[n,o]=e.split("."),s=(s||"").replace(/^0+/,""),n=(n||"").replace(/^0+/,""),s.length),l=(i&&(d+=parseInt(i)),n.length);return r&&(l+=parseInt(r)),d<l||!(d>l||s+(a=a||"0")>n+(o=o||"0"))}static validateWidgetValue(e,t,i){t(e.component.option("value"))||e.component.option("value",i)}static getNumberEditorOptions(e,t,i={}){const r=za.editors[e]||za.editors[t];return r?za.getValueEditorOptions(r.regExpEditing,e=>za._validate(e,r.minValue,r.maxValue),"",i):i}static getValueEditorOptions(a,t,i,n={}){return m({},n,{onFocusIn:e=>{za.validateWidgetValue(e,t,i),za._invokeStandardHandler(n,"onFocusIn",e)},onKeyDown:i=>{var r=za._getCharFromKeyCode(i.event);if(r){let e=_.fn.constructor(i.element).find("input").eq(0),t=za._getCaretPosition(e.get(0));var s=e.val(),r=(t.start<0&&(t=s?s.length:0),[s.slice(0,t.start),r,s.slice(t.end)].join(""));a.test(r)||i.event.preventDefault(),e=null,za._invokeStandardHandler(n,"onKeyDown",i)}},onPaste:t=>{var i=t.event.originalEvent.clipboardData||window.clipboardData||{},i=i.getData&&i.getData("Text");if("string"==typeof i){let e=_.fn.constructor(t.element).find("input").eq(0);var r=za._getCaretPosition(e.get(0)),s=e.val(),i=(r.start<0&&(r.end=r.start=s?s.length:0),[s.slice(0,r.start),i,s.slice(r.end)].join(""));a.test(i)||t.event.preventDefault(),e=null,za._invokeStandardHandler(n,"onPaste",t)}},onValueChanged:e=>{e.value!==i&&this.validateWidgetValue(e,t,e.previousValue),za._invokeStandardHandler(n,"onValueChanged",e)}})}static isValid(e,t,i){e=za.editors[e]||za.editors[t];return e.regExpEditing.test(i)&&za._validate(i,e.minValue,e.maxValue)}static _invokeStandardHandler(e,t,i){_.isFunction(e[t])&&e[t](i)}}function La(e,t,i){e=""+e;return za.isValid(i,"integer",e)?e:t}function Ha(t,e,i){return i.filter(e=>t===e.value)[0]?t:(i=i.filter(e=>t===e.displayName||t===e.name)[0])?i.value:e}function Ra(a){const t=_.Deferred();try{const n=[],s=(t,i,e=!1)=>{const r=at(f("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),e?"?"+i:"["+i+"]"),s=_.Deferred();a.fieldListProvider.getItemByPath(new Kr(t)).done(e=>s.resolve({success:!0})).fail(e=>{t===i?s.resolve({success:!1,message:r}):a.fieldListProvider.getItemByPath(new Kr([t.split(".")[0],i].join("."))).done(e=>s.resolve({success:!0})).fail(e=>s.resolve({success:!1,message:r}))}),n.push(s)};ra(Va.parse(a.expression),(t,i)=>{if(t instanceof ea){var r=0===t.propertyName.indexOf("^.")?t.propertyName.substring(2):t.propertyName;let e=r;-1===(a.rootItems||[]).indexOf(r.split(".")[0])&&i&&(e=r?[i,r].join("."):i),s(e,r)}else t instanceof Qs&&(r="Parameters."+(i=t.parameterName),s(r,i,!0))},a.path),_.when.apply(_,n).done((...e)=>t.resolve(e.reduce((e,t)=>e=t.success?e:e?[e,t.message].join("\n"):t.message,"")))}catch(e){t.reject()}return t.promise()}function ja(e,t,i){e=""+e;return za.isValid(i,"float",e)?e:t}za.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"}};let Wa=t=>(t=t||Ls.a.current())&&["dark","contrast"].some(e=>-1!==t.indexOf(e));function Ga(e){Wa=e}function Ua(t,i,r){if(t&&!(t<=0)){t=i.getCursorPosition();let e=r.lastIndexOf("(");"'"===r.charAt(e+1)&&e++,i.gotoLine(t.row+1,t.column-(r.length-1-e))}}function qa(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function Ka(e,t=".dx-designer-viewport"){return _.fn.constructor(e).closest(t)}function Ya(e){return null==e||""===e}function Ja(e){return c(e).generateProperty("toolbarItems",this.mapActionToViewModels(v.unwrap(this.toolbarItems))).generateProperty("processShortcut",e=>this.processShortcut(v.unwrap(this.toolbarItems),e)).getViewModel()}function Xa(t,e){var i=t.displayText&&t.displayText()||t.text;let r=this._isActionDisabled(t),s=v.unwrap(t.selected),a=v.unwrap(t.imageClassName);const n=()=>{var e=["dxrd-toolbar-item-image","dxd-state-normal","dxd-icon-highlighted"];return a&&e.push(v.unwrap(t.imageClassName)),r&&e.push("dxrd-disabled-button"),s&&e.push("dxd-button-back-color dxd-back-highlighted dxd-state-active"),e.join(" ")},o=e=>e?"true":"false";var d=c().generateProperty("aria-disabled",o(this._isActionDisabled(t))).generateProperty("aria-label",i);void 0!==t.selected&&d.generateProperty("aria-pressed",o(v.unwrap(t.selected)));const l=c().createDefaultModel(t).generateProperty("ref",Gr()).generateProperty("disabled",this._isActionDisabled(t)).generateProperty("displayText",i).generateProperty("selected",v.unwrap(t.selected)).generateProperty("visible",this._isActionVisible(t)).generateProperty("templateName",t.templateName).generateProperty("hasSeparator",t.hasSeparator).generateProperty("click",e=>{this._isActionDisabled(t)||t.clickAction(e)}).generateProperty("actionClass",`dxrd-toolbar-item-${e} `+(t.hasSeparator?"dxrd-toolbar-item-with-separator dxd-border-primary":"")).generateProperty("block",c().generateProperty("attr",d.getViewModel()).getViewModel()).generateProperty("image",c().generateProperty("templateName",v.unwrap(t.imageTemplateName)).generateProperty("class",n()).getViewModel()).getViewModel();if(this.subscribe(t.imageTemplateName,e=>{l.image.templateName=e},t.setImageTemplateNameChangedEvent),this.subscribe(t.imageClassName,e=>{a=e,l.image.class=n()},t.setImageClassNameChangedEvent),this.subscribe(t.disabled,e=>{r=e,l.disabled=e,l.block.attr["aria-disabled"]=o(e),l.image.class=n()},t.setDisabledChangedEvent),this.subscribe(t.visible,e=>{l.visible=e},t.setVisibleChangedEvent),this.subscribe(t.selected,e=>{s=e,l.image.class=n(),l.block.attr["aria-pressed"]=o(e)},t.setSelectedChangedEvent),this.subscribeOnChanges(t,l,["disabled","visible","selected"]),"contentData"in t)return c(l).generateProperty("contentData",t.contentData).getViewModel();if("zoom"in t){const u=c(l).generateProperty("templateName",t.templateName).generateProperty("getPopupContainer",Ka).generateProperty("widget",c().generateProperty("dataSource",v.unwrap(t.zoomLevels)).generateProperty("displayExpr",t.displayExpr).generateProperty("value",v.unwrap(t.zoom)).generateProperty("onCustomItemCreating",t.onCustomItemCreating).generateProperty("onValueChanged",e=>{v.isSubscribable(t.zoom)?t.zoom(e.value):t.setZoom(e.value)}).getViewModel()).getViewModel();return this.subscribe(t.zoomLevels,e=>{u.widget.dataSource=e},t.setZoomLevelsChangedEvent),this.subscribe(t.zoom,e=>{u.widget.value=e},t.setZoomChangedEvent),u}return l}class Za extends Qi{constructor(e){super(),this.toolbarItems=[],this.enabled=e||(()=>!0)}createViewModel(){return Ja.call(this,super.createViewModel())}subscribeOnChanges(t,i,e){e.forEach(e=>{v.isSubscribable(t[e])&&this.subscribe(t[e],()=>{i[e]=v.unwrap(t[e])})})}subscribe(e,t,i){v.isSubscribable(e)?this._disposables.push(e.subscribe(e=>{t(e),this.events.call("propertyChanged")})):i&&this._disposables.push({dispose:i(e=>t(e))})}_isActionDisabled(e){return e.getDisabled?e.getDisabled():v.unwrap(e.disabled)}_isActionVisible(e){return e.getVisible?e.getVisible():v.unwrap(e.visible)}createActionViewModel(e,t){return Xa.call(this,e,t)}onPropertyChanged(e){}updateViewModel(e){"toolbarItems"===e.propertyName&&(this.getViewModel().toolbarItems=this.mapActionToViewModels(v.unwrap(this.toolbarItems)))}mapActionToViewModels(e){return e.map((e,t)=>this.createActionViewModel(e,t))}processShortcut(t,i){for(let e=0;e<t.length;e++){var r,s,a=t[e];a.hotKey&&a.hotKey.ctrlKey===i.ctrlKey&&a.hotKey.keyCode===i.keyCode&&(r=!this._isActionDisabled(a),s=this._isActionVisible(a),r)&&s&&(a.clickAction(),i.preventDefault())}}shouldIgnoreProcessing(e){return!(!e.altKey&&this.enabled()&&!((e=_.fn.constructor(document.activeElement)).is("textarea")||e.is(":input")&&-1!=["password","text","number"].indexOf(e.attr("type"))))}}(function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([d(()=>[])],Za.prototype,"toolbarItems",void 0);class Qa extends Za{constructor(t,e,i,r,s,a,n=C.observable(.01),o=e=>!1){super(s),this.menuItems=[];const d=new Ms(e,a),l=[];if(e){const u=C.computed(()=>e.selectedItems.some(e=>e.locked||o(e)));this._disposables.push(u),this._keyboardHelper=new ot(e,i),l.push({id:Ns.Cut,text:"Cut",displayText:()=>f("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:C.pureComputed(()=>!t()||!d.canCopy()||u()),visible:!0,clickAction:()=>{i().start(),d.cut(),i().end()},hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),l.push({id:Ns.Copy,text:"Copy",displayText:()=>f("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:C.pureComputed(()=>!t()||!d.canCopy()||u()),visible:!0,clickAction:()=>{d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),l.push({id:Ns.Paste,text:"Paste",displayText:()=>f("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:C.pureComputed(()=>!t()||!d.canPaste()||u()),visible:!0,clickAction:()=>{i().start(),d.paste(),i().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),l.push({id:Ns.Delete,text:"Delete",displayText:()=>f("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:C.pureComputed(()=>!e.focused()||e.focused().getControlModel().getMetaData().isDeleteDeny||u()),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},hasSeparator:!0,clickAction:()=>{i().start(),Cs(e),i().end()}})}l.push({id:Ns.Undo,text:"Undo",displayText:()=>f("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:C.pureComputed(()=>!t()||!i()||i()&&!i().undoEnabled()),visible:!0,clickAction:()=>{i().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),l.push({id:Ns.Redo,text:"Redo",displayText:()=>f("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:C.pureComputed(()=>!t()||!i()||i()&&!i().redoEnabled()),visible:!0,clickAction:()=>{i().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),l.push({id:Ns.ZoomOut,text:"Zoom Out",displayText:()=>f("Zoom Out","AnalyticsCoreStringId.ZoomOut"),imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:C.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:109},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{t().zoom(Math.max(t().zoom()-n(),.01))},hasSeparator:!0}),l.push({id:Ns.ZoomSelector,text:"Zoom 100%",displayText:()=>f("Zoom 100%"),imageClassName:"dxrd-image-zoom",disabled:C.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:187},displayExpr:function(e){return Math.round(100*(e||this.option("value")))+"%"},templateName:"dxrd-zoom-select-template",zoomLevels:C.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:C.pureComputed({read:()=>t()&&t().zoom(),write:e=>{t()&&t().zoom(e)}}),isContextMenuAction:!1,onCustomItemCreating:e=>{e.customItem=Vs(e.text)}}),l.push({id:Ns.ZoomIn,text:"Zoom In",displayText:()=>f("Zoom In","AnalyticsCoreStringId.ZoomIn"),imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:C.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:107},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{t().zoom(t().zoom()+n())}}),r&&r(l),l.forEach(t=>{Object.keys(t).forEach(e=>{C.isComputed(t[e])&&this._disposables.push(t[e])}),this._registerAction("menu"===t.container?this.menuItems:C.unwrap(this.toolbarItems),t)})}createViewModel(){return c(super.createViewModel()).generateProperty("menuItems",this.mapActionToViewModels(C.unwrap(this.menuItems))).generateProperty("toolbarItems",this.mapActionToViewModels(v.unwrap(this.toolbarItems))).generateProperty("processShortcut",e=>this.processShortcut(v.unwrap(this.toolbarItems),e)).getViewModel()}_registerAction(e,t){t.index?e.splice(t.index,0,t):e.push(t)}processShortcut(e,t){this.shouldIgnoreProcessing(t)||(this._keyboardHelper.processShortcut(t)?t.preventDefault():super.processShortcut(e,t))}}function en(e){return e&&"length"in e?e[0]:e}const tn=e=>{let t=e,s=(Array.isArray(t)||"string"==typeof e||(t=en(e)),null),i=0;const r={};return"string"==typeof t?(s=document.querySelector(t),i=document.querySelectorAll(t).length):Array.isArray(t)?(s=t[0],t.forEach((e,t)=>r[t]=e),i=t.length):t&&"object"==typeof t&&(s=t,r[0]=s,i=1),Object.assign(Object.assign({},r),{length:i,element:s,isVisible:()=>{var e;if(s)return"none"!==(e=getComputedStyle(s)).display&&"hidden"!==e.visibility},is:e=>"string"==typeof e?null===s||void 0===s?void 0:s.matches(e):s===e,has:e=>null===s||void 0===s?void 0:s.contains(e),hasClass:e=>{if(s)return s.classList.contains(e)},width:()=>null===s||void 0===s?void 0:s.getBoundingClientRect().width,height:()=>null===s||void 0===s?void 0:s.getBoundingClientRect().height,outerWidth:()=>{if(s)return s.offsetWidth+(parseFloat(getComputedStyle(s).paddingLeft)+parseFloat(getComputedStyle(s).paddingRight))+(parseFloat(getComputedStyle(s).borderLeftWidth)+parseFloat(getComputedStyle(s).borderRightWidth))},outerHeight:()=>{if(s)return s.offsetHeight+(parseFloat(getComputedStyle(s).paddingTop)+parseFloat(getComputedStyle(s).paddingBottom))+(parseFloat(getComputedStyle(s).borderTopWidth)+parseFloat(getComputedStyle(s).borderBottomWidth))},empty:()=>{for(;null!==s&&void 0!==s&&s.firstChild;)s.removeChild(s.firstChild);return tn(s)},hide:()=>(s&&(s.style.display="none"),tn(s)),show:()=>(s&&(s.style.display="block"),tn(s)),find:(e,t=!1)=>{if(!s)return tn(void 0);-1!==e.indexOf(":visible")&&(t=!0,e=e.split(":visible")[0]);let i=Array.from(s.querySelectorAll(e)).map(e=>tn(e));return(i=t?i.filter(e=>e.isVisible()):i)[0]||tn(void 0)},closest:e=>tn(null===s||void 0===s?void 0:s.closest(e)),css:(e,t)=>{if(s){if("string"==typeof e)return t&&s.style.setProperty(e,t),getComputedStyle(s)[e]||"";if("object"==typeof e)for(const i in e)e.hasOwnProperty(i)&&s.style.setProperty(i,e[i])}},children:t=>{var e;return s&&(e=s.children,Array.from(e).filter(e=>e.matches(t)).map(e=>tn(e))[0])||tn(void 0)},addClass:e=>(s&&s.classList.add(e),tn(s)),removeClass:e=>(s&&s.classList.remove(e),tn(s)),parentElement:()=>s?tn(s.parentElement):tn(s),offset:()=>{var e;if(s)return{left:(e=s.getBoundingClientRect()).left+window.scrollX,top:e.top+window.scrollY}},position:()=>{var e,t,i,r;if(s)return e=s.getBoundingClientRect(),t=s.offsetParent,i=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop,{left:e.left+i-(t?t.offsetLeft:0),top:e.top+r-(t?t.offsetTop:0)}},get:e=>r[e],append:e=>{if(s){var t=document.createElement("div");for(t.innerHTML=e.trim();t.firstChild;)s.appendChild(t.firstChild)}},prepend:e=>{s&&s.prepend(e)}})};class rn extends s{constructor({actions:e,target:t,getClickAtionParams:i,contextMenusEnabled:r}){super(),this.hideOnOutsideClick=!0,this.actions=e,this.target=t;const s=()=>this.actions().reduce((e,t)=>{var i;return t.group?[...e,{text:t.group,items:t.items.filter(e=>{return null==(e=e.isContextMenuAction)||e})}]:null==(i=t.isContextMenuAction)||i?[...e,t]:e},[]);this.dataSource=C.observable(s()),this.addDisposable(this.actions.subscribe(e=>{this.dataSource(s())})),this.itemTemplate=(e,t,i)=>{return e.hasSeparator&&((e=document.createElement("div")).style.borderBottomWidth="1px",e.style.borderBottomStyle="solid",e.style.color="#E6E6E6",e.style.width="100%",tn(i).parentElement().prepend(e)),tn(i).css({padding:"3px 5px 5px"}),Dt("dxrd-context-menu-item")},this.onItemClick=e=>{var t;"disabled"in e.itemData&&C.unwrap(e.itemData.disabled)||!e.itemData.clickAction||(t=i&&i(),e.itemData.clickAction(t&&t.getViewModel()),e.component.hide())},this.onInitialized=e=>{this.component=e.component},this.onOptionChanged=e=>{var t;"visible"===e.name&&e.value&&null!=(t=null==(t=e.component._overlay)?void 0:t._positionController)&&t.$container[0]&&(t=document.getElementsByClassName("dx-designer-viewport")[0],e.component._overlay._positionController.$container[0]=t)},this.disabled=C.observable(!r()),this._disposables.push(r.subscribe(e=>{this.disabled(!e)}))}hide(){this.component&&this.component.hide()}}function sn(t,i){if(!t||!i)return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==i[e])return!1;return!0}class an{isPropertyVisible(e){if(!e._get("_model"))return!1;var t=e._get("_model");let i=!t.isPropertyVisible||t.isPropertyVisible(e.name);return i=i&&this._calculateAccessibilityByPropertyInfo(t,e._get("info").visible,!0)}isPropertyDisabled(e){var t;return!e._get("_model")||(t=e._get("_model")).isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(t,e._get("info").disabled,!1)}_calculateAccessibilityByPropertyInfo(e,t,i){let r;return r=v.isSubscribable(t)?t():"function"==typeof t?t(e):void 0!==t?t:i}}const nn=new an;var on=e(20),dn=e.n(on);class ln extends s{constructor(e){super(),this._editor=e,this._lastValidatorOptions=null,this._lastModelOverridableRules=null,this._onValidatedHandler=void 0}dispose(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,super.dispose()}_isValid(e,t){return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach(e=>e&&(e.validator=this.validatorInstance)),this.validatorInstance.validate()):dn.a.validate(t,e,this._editor._get("displayName"))}get validatorInstance(){return this._validatorInstance}set validatorInstance(e){this._validatorInstance&&this.onValidatedHandler&&this._validatorInstance.off("validated",this._onValidatedHandler),this._validatorInstance=e}get onValidatedHandler(){return this._onValidatedHandler}set onValidatedHandler(e){this._onValidatedHandler&&this.validatorInstance&&(this.validatorInstance.off("validated",this._onValidatedHandler),this._onValidatedHandler=e)&&this.validatorInstance.on("validated",this._onValidatedHandler)}getValidationRules(){var e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])}getValidatorOptions(e={}){var t,i,r,s=this._editor.peek(this._editor._get("info","wrapped"));if(s)return r=this._lastValidatorOptions,t=this._editor._getEditorValidationRules(),r&&!this.areRulesChanged(t)||(this._lastModelOverridableRules=t,t=this._concatValidationRules(s.validatorOptions,t),i=null==(i="function"==typeof s.editor.extendedOptions?s.editor.extendedOptions():s.editor.extendedOptions)?void 0:i.validatorOptions,r=m({},e,s.validatorOptions,{validationRules:t},i),this._wrapValidatorEvents(r),this._lastValidatorOptions=r),r}areRulesChanged(e){return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||!e.every(t=>this._lastModelOverridableRules.some(e=>t.message===e.message&&t.validationCallback===e.validationCallback&&t.type===e.type)):e&&e.length}wrapOnValidatorInitialized(e){const t=e.onInitialized,i=this;e.onInitialized=function(e){i._onValidatorInitialized(e),t&&t.apply(this,arguments)}}_onValidatorInitialized(e){this.validatorInstance=e&&e.component}_concatValidationRules(e,t){return e&&e.validationRules||t?((e||{}).validationRules||[]).concat(t||[]):null}_wrapValidatorEvents(e){if(e&&e.validationRules&&e.validationRules.length)return this.wrapOnValidatorInitialized(e),e}assignWithValidation(e,t){var i=this.getValidationRules(),r=!i||i.some(e=>e.assignValueFirst),i=(r&&t(),this._isValid(i,e));i.isValid?r||t():i.brokenRule&&i.brokenRule.isDeferred&&(this.onValidatedHandler=e=>{this.onValidatedHandler=void 0,e.isValid&&t()})}}function un(e){let t=void 0;e=c(e).generateProperty("getOptions",e=>this.getOptions(Object.assign({onValueChanged:e=>{this._set("value",e.value)}},e))).generateProperty("onValueChanged",e=>{this._set("value",e.value)}).generateProperty("getPopupContainer",Ka).generateProperty("setCollapsed",e=>{this._set("collapsed",e)}).generateProperty("editorOptions",this.unwrap(this.editorOptions)).generateProperty("extendedOptions",this._getExtendedOptions()).generateProperty("getCollapsed",()=>this._get("collapsed")).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("editorCreated",this.unwrap(this.editorCreated)).generateProperty("getLocalization",De).generateProperty("getValidatorOptions",e=>this.getValidatorOptions(e)).generateProperty("onCustomItemCreating",e=>({value:e.text,displayValue:e.text})).generateProperty("value",this.unwrap(this.value)).generateProperty("disabled",this.unwrap(this.disabled)).generateProperty("displayName",this.unwrap(this.displayName)).generateProperty("description",this.unwrap(this.description)).generateProperty("validationRules",this.unwrap(this.validationRules)).generateProperty("validatorOptions",this.unwrap(this.validatorOptions)).generateProperty("level",this.unwrap(this.level)).generateProperty("padding",this.unwrap(this.padding)).generateProperty("editorInputId",this.editorInputId).generateProperty("values",this.unwrap(this.values)).generateProperty("info",this.unwrap(this.info)).generateProperty("templateName",this.unwrap(this.templateName)).generateProperty("contentTemplateName",this.unwrap(this.contentTemplateName)).generateProperty("editorTemplate",this.unwrap(this.editorTemplate)).generateProperty("isPropertyHighlighted",this.unwrap(this.isPropertyHighlighted)).generateProperty("collapsed",this.unwrap(this.collapsed)).generateProperty("isComplexEditor",this.isComplexEditor).generateProperty("headerId",this.headerId).generateProperty("contentId",this.contentId).generateProperty("alwaysShow",this.unwrap(this.alwaysShow)).generateProperty("textToSearch",this.unwrap(this.textToSearch)).generateProperty("isRequired",this.isRequired).generateProperty("isPropertyModified",this.unwrap(this.isPropertyModified)).generateProperty("visible",this.unwrap(this.visible)).generateProperty("setIsRendered",e=>this.setIsRendered(e)).getViewModel();return this.subscribeOnChanges(e,["value","disabled","displayName","validationRules","validatorOptions","level","padding","values","info","templateName","isPropertyHighlighted","textToSearch","collapsed","alwaysShow","isPropertyModified","editorOptions","editorCreated","visible"]),this.addDisposable(this.subscribeProperty("collapsed",e=>{t&&t()})),e}var cn=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};function pn(e){return e instanceof hn?e:e.getModel()}class hn extends er{constructor(e,t,i,r=void 0,s,a="multiplatform"){super(void 0,void 0,a),this.rtl=$i()().rtlEnabled,this._validator=new ln(this),this._cachedValue=void 0,this.isRequired=!1,i=i||this._getEngine().wrap(!1),this.assignProperty("info",e),this.addDisposable(this.createComputedProperty("displayName",{read:()=>{var e=this._get("info");return e&&f(e.displayName,e.localizationId)},write:e=>{}},[ve(this,["info"])])),this.addDisposable(this.createComputedProperty("description",{read:()=>{var e=this._get("info");return e&&f("",e.descriptionLocalizationId||e.localizationId+".Description")},write:e=>{}},[ve(this,["info"])])),r&&(this.textToSearch=r,this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>this._get("isParentSearched")||!!et(this._get("displayName"),r()),[ve(this,["isParentSearched","displayName"])])),this.padding=this._setPadding(this.rtl?"right":"left",t*js()),this.assignProperty("defaultValue",null);a=e.propertyName;this.addDisposable(this.createComputedProperty("_editorOptions",()=>this._get("info").editorOptions,[ve(this,["info"])])),this.validatorOptions=e.validatorOptions,this.isRequired=e.isRequired,void 0!==e.defaultVal&&this.assignProperty("defaultValue",e.defaultVal),e.from&&(this.defaultValue=e.from(e.defaultVal,("multiplatform"===this._engineType?_e:ye)())),e.array&&this.assignArrayProperty("defaultValue",[]),this.addDisposable(this.createComputedProperty("values",()=>{var e=this._get("info");let t=e.valueStore||e.valuesArray;return t||((t=this.unwrap(e.values))?Object.keys(t).map(e=>({value:e,displayValue:t[e]})):void 0)},[ve(this,[{propertyName:"info",subscribables:["values","valueStore","valuesArray"]}])])),this.level=t,this._init(e.editor,a),this.addDisposable(this.createComputedProperty("disabled",()=>{var e=this._get("_accessibilityProvider"),t=this._get("_parent");return t&&t._get("disabled")||e&&e.isPropertyDisabled(this)},[ve(this,["_accessibilityProvider",{propertyName:"_parent",subscribables:["disabled"]},{propertyName:"_model",subscribables:"*"}]),ve(this._get("_model"),"*")])),this.addDisposable(this.createComputedProperty("visible",()=>{var e=this._get("_accessibilityProvider");return this._get("isSearchedProperty")&&e&&e.isPropertyVisible(this)},[ve(this,["_accessibilityProvider",{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyModified",()=>{var e=this._get("_model");return!!(e&&e.isPropertyModified&&e.isPropertyModified(this.name))},[ve(this,[{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyHighlighted",()=>{var e;return!this._shouldSkipHighlighting(this.name)&&!!((e=this._get("_model"))&&e.isPropertyHighlighted&&e.isPropertyHighlighted(this.name))},this._shouldSkipHighlighting(this.name)?[]:[ve(this,[{propertyName:"_model",subscribables:"*"}])])),this.headerId="dxrd-accordion-trigger-"+Gr(),this.contentId="dxrd-accordion-pannel-"+Gr(),this.editorInputId="dxrd-editor-"+Gr()}createViewModel(){return un.call(this,super.createViewModel())}_setPadding(e,t){var i={};return i["padding-"+e]=t,i}dispose(){this._validator&&this._validator.dispose(),this._validator=null,this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),super.dispose(),this._cachedValue=null,this._set("_model",null)}_shouldSkipHighlighting(e){return this.isComplexEditor}_assignValue(e,t,i,r){l.setPropertyValue(t,r,i,e)}_roundTwoDesemialsForUnitProperties(e,t,i){t=t&&t.constructor&&t.constructor.unitProperties;return t&&-1!==t.indexOf(i)?hi(e):e}_init(e,r){e=e||n.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this.addDisposable(this.createComputedProperty("value",{read:()=>{var e,t,i=this._get("_model");return!i&&this._cachedValue||((e=i&&void 0!==i[r]?i[r]:this._get("defaultValue","wrapped"))&&"object"!=typeof e&&!e.push?(t=this.unwrap(e),this._cachedValue=null!=t?this._roundTwoDesemialsForUnitProperties(t,i,r):void 0):this._cachedValue=e),this._cachedValue},write:e=>{const t=this._get("_model");if(t){const i=t[r];this._validator.assignWithValidation(e,()=>{this._assignValue(i,t,e,r)})}}},[ve(this,["defaultValue",{propertyName:"_model",subscribables:[r]}])])),this.name=r,this.editorTemplate=e&&e.custom||"dx-property-editor"}_getInfoFromModel(e){return(e=e&&e.getInfo&&e.getInfo())?e.filter(e=>e.propertyName===this.name)[0]:null}onPropertyChanged(e){var t=this.__viewModel;t&&this.values&&("value"==e.propertyName||"values"==e.propertyName)&&(t.values=this.unwrap(this.values))}update(e){var t,i;e?((i=(t=this._getInfoFromModel(e))&&Qe(t.editor,this._get("info").editor))&&this._get("info")!==t&&this._set("info",t),this._set("_model",this.name in e&&(i||!t)?e:null)):this._set("_model",null)}getOptions(e){return m(!0,{},e,this.editorOptions,this._getExtendedOptions())}_getExtendedOptions(){var e=this._get("info","peek").editor.extendedOptions;return"function"==typeof e?e():e}getValidatorOptions(e){return this._validator&&this._validator.getValidatorOptions(e)}registerAccessibilityProvider(e){this._get("_accessibilityProvider")!=e&&this._set("_accessibilityProvider",e)}assignParent(e){this._get("_parent")!=e&&this._set("_parent",e)}_getEditorValidationRules(){var e=this.unwrap(this.info);if(e)return(e=e.validationRules)||(null===e?null:[])}getValidationRules(){return this._validator&&this._validator.getValidationRules()}setIsRendered(e){this._set("isRendered",e)}get validationRules(){return this.getValidationRules()}get fullDisplayName(){var e;return this._get("displayName")+(null!=(e=this.parentName)?e:"")}getPopupServiceActions(){var e=this._get("_model");if(e){const t=(e.actions||[]).concat();return(e.actionProviders||[]).forEach(e=>{(e&&e.getActions(this.name)||[]).forEach(e=>t.push(e))}),t}}get editorOptions(){return this.unwrap(this._editorOptions)}get isComplexEditor(){return!!this.contentTemplateName}}cn([d()],hn.prototype,"_model",void 0),cn([d(null)],hn.prototype,"_parent",void 0),cn([d(!0)],hn.prototype,"isSearchedProperty",void 0),cn([d(!1)],hn.prototype,"isParentSearched",void 0),cn([d(()=>nn)],hn.prototype,"_accessibilityProvider",void 0),cn([d(!1)],hn.prototype,"isEditorSelected",void 0),cn([d(!1)],hn.prototype,"isRendered",void 0),cn([d(!0)],hn.prototype,"editorCreated",void 0),cn([d(!0)],hn.prototype,"collapsed",void 0),cn([d(!1)],hn.prototype,"alwaysShow",void 0);class gn extends er{constructor(t,e,i){super(void 0,void 0,i),this.templateName=null,this._editor=t,this._popupService=e,this.addDisposable(this.createComputedProperty("_actions",()=>(t.getPopupServiceActions()||[]).filter(e=>this.actionFilter(e)),[],void 0,!0),this.createComputedProperty("visible",()=>0<this._get("_actions").length,[],void 0,!0),this.createComputedProperty("hint",()=>{const t=[];return this._get("_actions").forEach(e=>this._getTitles(e,[],t)),t.join("\n")},[],void 0,!0),this.createComputedProperty("editorMenuButtonCss",()=>{var e=t._get("_model");return e&&e.getActionClassName&&e.getActionClassName(t.name)||""},[],void 0,!0),this.createComputedProperty("imageTemplateName",{read:()=>{var e;return void 0!==this._imageTemplateName?this._imageTemplateName:(e=t._get("_model"))&&e.getMenuBoxTemplate&&e.getMenuBoxTemplate(t.name)||""},write:e=>{this._imageTemplateName=e}},[],void 0,!0))}_updateActions(e){this._popupService.actions([]),e&&e.length&&(e.sort((e,t)=>e.title<t.title?-1:e.title>t.title?1:0).sort((e,t)=>(e.weight||0)-(t.weight||0)),this._wrapVisibleItems(e,this._editor.name).forEach(e=>{this._popupService.actions.push(e)}))}_getTitles(e,i=[],r=[]){const s=v.unwrap(e.title);(e.items||[]).forEach(e=>{var t=s?i.concat([s]):i;this._getTitles(e,t,r)});var t,e=v.unwrap(e.hint);if(e&&s)return t=i.concat([s]).join(". "),r.push(t+":\n"+e+"\n"),r}_wrapVisibleItems(e,t){if(e)return e.map(e=>this._wrapActionClick(e,t)).filter(e=>!!e)}_wrapActionClick(e,t){return this.actionFilter(e)?{id:e.id,items:this._wrapVisibleItems(e.items,t),innerTemplate:e.innerTemplate,itemTemplate:e.itemTemplate,action:()=>{e.action(t),this._popupService.visible(!1)},title:e.title,hint:e.hint,visible:()=>!0}:null}showPopup(e,t){this._popupService.title(this._editor._get("displayName")),this._updateActions(this._editor.getPopupServiceActions()),this._popupService.target(t),this._popupService.visible(!0)}actionFilter(e){return e.visible(this._editor.name)}}class mn extends er{constructor(e,t,i=0,r=l.wrap(!1),s=!1,a,n,o,d="multiplatform"){super(void 0,void 0,d),this.recreateEditors=s,this._viewModelSubscription=null,this._infoSubscription=null,this._getInfoComputed=null,this._accessibilityProvider=nn,this.level=0,this.rtl=$i()().rtlEnabled,n&&(this.createEditorAddOn=e=>{var e=pn(e),t=new gn(e,this.popupService,d);return e._disposables.push(t),{templateName:"dx-editor-addons",data:[t]}},this.popupService=n),o&&(this.popover=o,this.createEditorDescriptionAddOn=e=>{const t=pn(e);return{templateName:"dx-property-grid-editor-description",data:{onClick:e=>{this.popover.data=t._get("description"),this.popover.target=e.element,this.popover.visible=!this.popover.visible}}}}),this.assignArrayProperty("_editors",[],{deferred:!0}),this.level=i,this._parentDisabled=r,this._textToSearch=a,this.addDisposable(this.createComputedProperty("visible",()=>this._get("_editors").some(e=>e._get("visible")),[ve(this,[{propertyName:"_editors",subscribables:["visible"]}])])),this.updateModel=e=>{this._infoSubscription&&this._infoSubscription(),this._update(e,t,s)},this._viewModelSubscription=l.subscribeValue(e,e=>{this.updateModel(e)}),this.updateModel(this.unwrap(e))}createViewModel(){var e;const t=()=>this.editors.map(e=>{e=e.getViewModel();return this.createEditorAddOn&&(e.createEditorAddOn=e=>this.createEditorAddOn&&this.createEditorAddOn(e.getModel())),e}),i=c(super.createViewModel()).generateProperty("editors",t()).generateProperty("rtl",this.rtl).generateProperty("popover",null==(e=this.popover)?void 0:e.getViewModel()).generateProperty("createEditorDescriptionAddOn",this.createEditorDescriptionAddOn).getViewModel();return this.addDisposable(this.subscribeProperty("_editors",e=>{i.editors=t()})),i}update(t){t&&this._get("_editors").forEach(e=>{e.update(t)})}_cleanEditorsSubscriptions(){this._get("_editors").forEach(e=>{e.dispose()})}dispose(){super.dispose(),this._get("_editors").forEach(e=>e.dispose()),this._set("_editors",[]),this.cleanSubscriptions()}cleanSubscriptions(){this._infoSubscription&&this._infoSubscription(),this._viewModelSubscription&&this._viewModelSubscription(),this._cleanEditorsSubscriptions()}cleanEditors(){this._cleanEditorsSubscriptions(),this._set("_editors",[])}findEditorByInfo(t){return this._get("_editors").filter(e=>e.name===t.propertyName&&Qe(e._get("info").editor,t.editor))[0]}createEditor(e){e=new(e.editor&&e.editor.editorType||hn)(e,this.level,this._parentDisabled,this._textToSearch,this.popupService,this._engineType);return e.assignParent(this._parent),e.registerAccessibilityProvider(this._accessibilityProvider),e}createEditors(e){return(e||[]).filter(e=>!!e.editor&&!this.findEditorByInfo(e)).map(e=>this.createEditor(e))}registerAccessibilityProvider(t){this._accessibilityProvider=t,this._get("_editors").forEach(e=>{e.registerAccessibilityProvider(t)})}assignParent(t){this._parent=t,this._get("_editors").forEach(e=>{e.assignParent(t)})}_createEditors(e){if(!e||0===e.length)return!1;e=this.createEditors(e);if(e.length){let i=this._get("_editors");0===i.length?i=e:e.forEach(e=>{var t=i.map(e=>e.name).indexOf(e.name);-1!==t?i.splice(t,0,e):i.push(e)}),this._set("_editors",i)}}updateEditorsInfo(e,t){this.recreateEditors&&this.cleanEditors(),this._recreateEditors(e,t)}_update(t,e,i){i&&this.cleanEditors();const r=this.createComputedProperty("_getInfoComputed",()=>e&&e.editors&&this.unwrap(e.editors)||t&&t.getInfo&&t.getInfo(),[ve(t,["getInfo"])]),s=e=>{i&&this.cleanEditors(),this._recreateEditors(t,e)},a=this.subscribeProperty("_getInfoComputed",e=>{s(e)});this._infoSubscription=()=>{r(),a()},this._recreateEditors(t,this._get("_getInfoComputed"))}_recreateEditors(e,t){this._createEditors(t),this.update(e)}getEditors(){return this._get("_editors")}get editors(){return this.getEditors()}}class fn extends hn{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a),this._popupService=s,this.addDisposable(this.createComputedProperty("_editorInfo",()=>{var e=this._get("value");return e&&e.getInfo&&e.getInfo()||this._get("info").info},[ve(this,[{propertyName:"value",subscribables:["getInfo"]},"info"])])),this._set("editorCreated",!1),this.viewmodel=this.createObjectProperties(),de(this.viewmodel)||this.viewmodel.assignParent(this),this._disposables.push(this.viewmodel);const n=this.subscribeProperty("collapsed",e=>{e||(n(),this._set("editorCreated",!0))});this.addDisposable(n),r&&(this.addDisposable(this.createComputedProperty("visibleByName",()=>{const t=!!et(this._get("displayName"),r());return de(this.viewmodel)||this.viewmodel._get("_editors").forEach(e=>e._set("isParentSearched",t)),t},[ve(this,["displayName",{propertyName:"viewModel",subscribables:["_editors"]}])])),this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>{var e;return!!this._get("visibleByName")||((e=this.viewmodel._get("visible"))&&this._set("collapsed",!1),e)},[ve(this,["visibleByName",{propertyName:"viewmodel",subscribables:["visible"]}])]))}createViewModel(){return c(super.createViewModel()).generateProperty("viewmodel",this.viewmodel&&this.viewmodel.getViewModel()).getViewModel()}createObjectProperties(){return this.addDisposable(this.subscribeProperty("value",()=>{this.viewmodel.updateModel(this._get("value"))})),new mn(this._get("value"),{editors:this._get("_editorInfo","wrapped")},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch,this._popupService,void 0,this._engineType)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.viewmodel.registerAccessibilityProvider(e)}}class vn extends fn{createObjectProperties(){return this._set("collapsed",!1),this._set("editorCreated",!0),this.level=-1,super.createObjectProperties()}}class xn extends s{constructor(e,t,i,r=!0,s){if(super(),this.editors=C.observableArray([]).extend({deferred:!0}),this.editorsCreated=C.observable(!1),this.editorsRendered=C.observable(!1),this._displayName=e,this.displayName=s||(()=>f(e)),this._serializationsInfo=t,this.collapsed=C.observable(r),r){const a=this.collapsed.subscribe(e=>{a.dispose(),this.editorsRendered(!0)});this._disposables.push(a)}this.recreate=()=>{this.editors(i(t)),this._accessibilityProvider&&this.editors().forEach(e=>{e.registerAccessibilityProvider(this._accessibilityProvider)})},this.editors(i(t)),this.visible=C.computed(()=>this.editors().some(e=>e._get("visible"))),this._disposables.push(this.visible)}resetEditors(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}dispose(){super.dispose(),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}update(e){this._viewModel=e,this.editors().forEach(e=>{e.update(this._viewModel)})}registerAccessibilityProvider(t){this._accessibilityProvider=t,this.editors().forEach(e=>{e.registerAccessibilityProvider(t)})}}class bn{constructor(){this.data=C.observable(),this.title=C.observable(),this.visible=C.observable(!1),this.disabled=C.observable(!1),this.actions=C.observableArray([]),this.target=C.observable()}}var yn=e(6),_n=e.n(yn),o=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class Cn extends Qi{createViewModel(){return c(super.createViewModel()).generateProperty("data",this.data).generateProperty("target",this.target).generateProperty("visible",this.visible).generateProperty("onHidden",()=>{this.onHidden()}).getViewModel()}updateViewModel(e){var t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"target"===e.propertyName&&(t.target=this.target),"data"===e.propertyName&&(t.data=this.data)}onPropertyChanged(e){}onHidden(){this.visible=!1}}o([d(!1)],Cn.prototype,"visible",void 0),o([d(void 0)],Cn.prototype,"target",void 0),o([d("")],Cn.prototype,"data",void 0);class wn extends mn{constructor(e,t,i=0,r=!0,s=!0){super(e,t,i,void 0,void 0,C.observable(""),r&&new bn,s&&new Cn),this.focusedItem=C.observable(),this.editorsRendered=C.observable(!1),this.isSortingByGroups=C.observable(!0),this.isSearching=C.observable(!1),this.allEditorsCreated=C.observable(!1),this.textToSearch=C.observable(""),this._searchBox=null,this.searchPlaceholder=()=>He(),this.switchSearchBox=()=>{this.isSearching()?(this.isSearching(!1),this.textToSearch("")):(this.isSearching(!0),this._searchBox&&this._searchBox.focus())},this.createGroups(t.groups),this.update(e()),this._disposables.push(this.focusedImageClassName=C.pureComputed(()=>Ni(e()&&e().controlType)));const a=this.isSortingByGroups.subscribe(e=>{e||(this.editorsRendered(!0),a.dispose())});this._disposables.push(a),this.focusedItem=e,this._disposables.push(e.subscribe(e=>{this.isSearching()&&!this.textToSearch()&&this.switchSearchBox()})),this.displayExpr=e=>Mi(e);let n=null;this._disposables.push(this.textToSearch.subscribe(e=>{n&&clearTimeout(n),n=setTimeout(()=>{this._textToSearch(e),e&&this.groups.forEach(e=>e.collapsed()&&e.editors().some(e=>e._get("isSearchedProperty"))&&e.collapsed(!1))},200)}))}getEditors(){var e=super.getEditors();const i=e.map(e=>e._get("displayName")).sort();return e.sort((e,t)=>i.indexOf(e._get("displayName"))-i.indexOf(t._get("displayName"))),e}_update(e,t,i){return this.groups&&this.groups.forEach(e=>{0===e.editors().length&&e.recreate()}),super._update(e,t,i)}cleanEditors(){super.cleanEditors(),this.groups.forEach(e=>e.resetEditors())}dispose(){super.dispose(),this.disposeArray(this.groups),this.disposeObservableArray(this._get("_editors","wrapped")),this.resetObservableArray(this._get("_editors","wrapped")),this.cleanSubscriptions(),this._searchBox=null,this.focusedItem=null}createGroups(t){this.groups=Object.keys(t).map(e=>new xn(e,t[e].info,e=>e.filter(e=>!!e.editor).map(e=>{var t=this.findEditorByInfo(e);return t||(t=this.createEditor(e),this._get("_editors","wrapped").push(t)),t}),!0,t[e].displayName)),this._disposables.push.apply(this._disposables,this.groups)}registerAccessibilityProvider(t){super.registerAccessibilityProvider(t),this.groups.forEach(e=>{e.registerAccessibilityProvider(t)})}searchBox(e){this._searchBox=_n.a.getInstance(e.get(0))}}function An(t,i){Object.keys(t||{}).forEach(e=>{C.isObservable(t[e])?i[e](t[e]()):_.isFunction(t[e])||An(t[e],i[e])})}function En(e,r){const s={};return e.reduce((e,t)=>{var i=r(t);return i&&(s[i]?s[i].push(t):(e.push(t={group:i,items:[t]}),s[i]=t.items)),e},[])}function In(i,r){let s=i&&r&&!(i instanceof Array)&&!(r instanceof Array);return(s=s&&Object.getOwnPropertyNames(i).length===Object.getOwnPropertyNames(r).length)&&Object.keys(i||{}).some(t=>{if(0!==t.indexOf("_")&&("function"!=typeof i[t]||C.isObservable(i[t]))){if(C.isObservable(i[t]))s=C.unwrap(i[t])===C.unwrap(r[t]);else if(i[t]instanceof Array)if(r[t]instanceof Array&&i[t].length===r[t].length)for(let e=0;e<i[t].length&&!1!==(s=In(i[t][e],r[t][e]));e++);else s=!1;else s=i[t]instanceof Object?In(i[t],r[t]):i[t]===r[t];return!s}}),s}function Sn(e,t){return e+(t?"."+t:"")}function $n(){var e=_.fn.constructor("script[type='text/html']").map(function(e,t){if(t.src){const r=_.Deferred();return _.get(t.src).done(function(e){-1===(t.text=e).indexOf('type="text/html"')&&-1===e.indexOf("type='text/html'")||_.fn.constructor(document.body).append(e),r.resolve()}).fail(function(e,t,i){r.reject()}),r.promise()}});return _.when.apply(_.when,e)}function kn(e){return Li(e,e=>{delete e["@Ref"]}),e}const Pn={MenuButton:"dxrd-menubutton-template-base",Toolbar:"dxrd-toolbar-template-base",Toolbox:"dxrd-toolbox-template-base",GroupedToolbox:"dxrd-grouped-toolbox-template-base",Surface:"dxrd-surface-template-base",RightPanel:"dxrd-right-panel-template-base"};function Dn(e){return[{id:Pn.MenuButton,templateName:Pn.MenuButton,model:e},{id:Pn.Toolbar,templateName:Pn.Toolbar,model:e},{id:Pn.Toolbox,templateName:Pn.Toolbox,model:e},{id:Pn.Surface,templateName:Pn.Surface,model:e},{id:Pn.RightPanel,templateName:Pn.RightPanel,model:e,viewModel:null==(e=e.tabPanel)?void 0:e.getViewModel()}]}function Tn(i,r){return e=>{e.forEach(e=>{if(!e.wrappedWith||-1===e.wrappedWith.indexOf(i)){const t=e.clickAction;e.clickAction=e=>r(e,t),e.wrappedWith=e.wrappedWith||[],e.wrappedWith.push(i)}})}}function Fn(e){e=C.unwrap(e);return"none"===e?f("none","DataAccessStringId.ParameterListEmpty"):"(none)"===e?"(none)"!==f("(none)","DxDesignerStringId.None")?f("(none)","DxDesignerStringId.None"):"("+f("none","DataAccessStringId.ParameterListEmpty")+")":e}function Bn(r,s,e,a,n,o,t){const i=l.wrap(v.unwrap(t)),d=v.unwrap(e);return v.isSubscribable(t)&&t.subscribe(e=>{"function"==typeof i&&i(e)}),{starting:function(e){_.fn.constructor(r).css(a===n?"right":"left","")},handles:l.wrap(a===n?"e":"w"),stopped:_.noop,stop:_.noop,resize:function(e,t){var i=vi(t.dataset.originalLeftMousePosition),t=vi(t.dataset.originalWidth),e=e.x-i,i=(_.fn.constructor(r).css({left:a===n?s+"px":"",right:a===n?"":s+"px"}),Math.min(Math.max(d,a===n?t+e:t-e),1e3));o&&o(i)},disabled:i,zoom:1,minimumWidth:l.wrap(v.unwrap(i)?0:d),maximumWidth:1e3,$element:r}}var On=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class Mn extends Qi{constructor(e){super(),this.cssClasses=(e="")=>{e=[e];return this.position===Mn.Position.Left&&e.push("dxrd-tab-panel-left"),this.position===Mn.Position.Right&&e.push("dxrd-tab-panel-right"),this.isEmpty&&e.push("dxrd-tab-panel-empty"),e.join(" ")};var t=e.tabs;this._autoSelectTab=e.autoSelectTab;let i=Mn.Position.Right;e.rtl&&(i=Mn.Position.Left),this.position=i;const r=gt(),s=(this.zoomFactor=r,this);this.tabs=t,this.toggleTabVisibility=e=>{e.model===this.tabs.filter(e=>e.active)[0]?this.collapsed=!this.collapsed:this.selectTab(e)},this.selectTab=e=>{const t=e.model;t.disabled||(this.tabs.forEach(function(e){e.active=e===t}),this.collapsed=!1)},t&&t.length&&(this.isEmpty=this.tabs.every(e=>!e.visible),this.tabs.forEach(e=>{e.collapsed=this.collapsed})),this._onVisibilityChanged(),this._onDisabledChanged(),this._disposables.push(...t.map(e=>({dispose:this._subscribeTab(e)}))),this._width=e.width||370*r,this.width=this.collapsed?0:this._width,this.headerWidth=this.isEmpty?0:50*r+this.width,this.getResizableOptions=(e,t,i)=>{return this._resizableOptions&&this._resizableOptions.$element===e||(this._resizableOptions=Bn(e,r*t,i,s.position,Mn.Position.Left,function(e){if(0===arguments.length)return s.width;s.width=e},s.collapsed),s.addDisposable(s.events.on("positionChanged",e=>{this._resizableOptions.handles(s.position===Mn.Position.Left?"e":"w")}),s.events.on("collapsedChanged",e=>{"function"==typeof this._resizableOptions.minimumWidth?this._resizableOptions.minimumWidth(s.collapsed?0:i):this._resizableOptions.minimumWidth=s.collapsed?0:i,"function"==typeof this._resizableOptions.disabled?this._resizableOptions.disabled(this.collapsed):this._resizableOptions.disabled=this.collapsed}))),this._resizableOptions},this._disposables.push({dispose:()=>{this._resizableOptions=null,this.getResizableOptions=null}});t=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+t,template:"dxrd-svg-tabs"+t},this.toggleCollapsedText=f(e=this.collapsed?"Open":"Collapse","ASPxReportsStringId.SidePanel_"+e),this.keyboardHelper=new bt(this),this._disposables.push(this.keyboardHelper)}mapToTabsCollection(){return this.tabs.map(e=>{var t=e.getViewModel();return t.click=()=>this.toggleTabVisibility({model:e}),t})}createViewModel(){return c(super.createViewModel()).generateProperty("width",this.headerWidth).generateProperty("class",this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")).generateProperty("tabs",this.mapToTabsCollection()).generateProperty("tabsElement",c().generateProperty("class",this.cssClasses()).getViewModel()).generateProperty("contentElement",c().generateProperty("class",this.cssClasses()).generateProperty("width",this.width).getViewModel()).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("getResizableOptions",this.getResizableOptions).getViewModel()}dispose(){super.dispose(),this.disposeArray(this.tabs)}updateViewModel(e){var t=this.getViewModel();"width"===e.propertyName&&(t.contentElement.width=this.width),"headerWidth"===e.propertyName&&(t.width=this.headerWidth),"isEmpty"!==e.propertyName&&"position"!==e.propertyName||(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":""),t.tabsElement.class=this.cssClasses(),t.contentElement.class=this.cssClasses()),"collapsed"===e.propertyName&&(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")),"tabs"===e.propertyName&&(t.tabs=this.mapToTabsCollection())}onPropertyChanged(e){var t;"isEmpty"!==e.propertyName&&"width"!==e.propertyName||(this.headerWidth=this.isEmpty?0:50*this.zoomFactor+this.width),"collapsed"===e.propertyName&&(this.collapsed?this.width=0:this.width=this._width,this.tabs.forEach(e=>{e.collapsed=this.collapsed}),t=this.collapsed?"-expand":"-collapse",this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+t,template:"dxrd-svg-tabs"+t},t=this.collapsed?"Open":"Collapse",this.toggleCollapsedText=f(t,"ASPxReportsStringId.SidePanel_"+t)),"width"===e.propertyName&&this.width&&(this._width=this.width,this.collapsed)&&(this.width=0)}_onDisabledChanged(){var e=this.tabs.filter(e=>e.disabled);0!==e.length&&0!==e.filter(e=>e.active).length&&(e.forEach(e=>e.active=!1),e=this.tabs.filter(e=>!e.disabled&&e.visible)[0])&&this.selectTab({model:e})}_onVisibilityChanged(){var e=this.tabs.filter(e=>e.visible);this.isEmpty=this.tabs.every(e=>!e.visible),(0===e.length||0===e.filter(e=>e.active).length&&(e[0].active=!0,this._autoSelectTab))&&(this.collapsed=!0)}_subscribeTab(t){const e=[t.events.on("visibleChanged",e=>{this._onVisibilityChanged()}),t.events.on("disabledChanged",e=>{this._onDisabledChanged()}),t.events.on("activeChanged",e=>{this._autoSelectTab&&t.active&&this.selectTab({model:t})}),t.events.on("collapsedChanged",e=>{this.collapsed=t.collapsed})];return()=>e.forEach(e=>e())}getTabByName(t){return this.tabs.filter(e=>e.name===t)[0]}removeTabs(){this.tabs.forEach(e=>e.events.dispose()),this.tabs.length=0}addTab(e){e.collapsed=this.collapsed,this.tabs.push(e),this._onVisibilityChanged(),this._onDisabledChanged(),this.addDisposable(this._subscribeTab(e))}}Mn.Position={Left:"Left",Right:"Right"},On([Xi(()=>[])],Mn.prototype,"tabs",void 0),On([d(!0)],Mn.prototype,"isEmpty",void 0),On([d(!1)],Mn.prototype,"collapsed",void 0),On([d(0)],Mn.prototype,"width",void 0),On([d(0)],Mn.prototype,"headerWidth",void 0),On([d(Mn.Position.Right)],Mn.prototype,"position",void 0),On([d(null)],Mn.prototype,"toggleCollapsedImage",void 0),On([d("")],Mn.prototype,"toggleCollapsedText",void 0);class Nn{constructor(e,t){this._context=e,this._rtl=t}addElement(e,t){return this._context[e]=t,this}addUndoEngine(e=C.observable(new _s(this._context.model))){return this._context.undoEngine=e,this}addSurface(e){return this._context.surface=e,this}getContext(){return this._context}}class Vn{constructor(e){this._rtl=e}addModel(e){return new Nn({model:e},this._rtl)}}class zn extends s{get handler(){return this._handler}set handler(e){this._disposables.push(e),this._handler=e}generate(){var e={};return this.handler&&(e.resizeHandler=this.handler),e}}class Ln extends s{_actionUndoEngineWrappingFunction(e,i){return Tn("WrapWithUndoEngine",(e,t)=>{i().start(),t(e),i().end()})(e)}_collectActions(e,t,i){const r=e(),s=[];return this.actionProviders.forEach(e=>{e=e.getActions(r);i&&(e=e.filter(e=>i(e))),s.push.apply(s,e)}),this._actionUndoEngineWrappingFunction(s,t),s}get actionProviders(){return this._actionProviders}set actionProviders(e){this._disposables.push.apply(this._disposables,e),this._actionProviders=e}get actions(){return this._actions}set actions(e){this._disposables.push(e),this._actions=e}get groupActions(){return this._groupActions}set groupActions(e){this._disposables.push(e),this._groupActions=e}createDefaultActions(e,t){this.actions=C.computed(()=>this._collectActions(e,t,e=>!(e.isContextMenuAction||e.group)))}createDefaultGroupAction(e,t){this.groupActions=C.computed(()=>En(this._collectActions(e,t),e=>e.group&&e.group()))}createDefaultContextMenuActions(e,t){this.actions=C.computed(()=>this._collectActions(e,t,e=>e.isContextMenuAction&&!e.group))}generate(){var e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),this.actions&&(e.contextActions=this.actions),this.groupActions&&(e.contextGroupActions=this.groupActions),e}generateContextMenu(t){var i=t,r={text:De("Properties","AnalyticsCoreStringId.Cmd_Properties"),clickAction:()=>{var e=i.tabPanel.getTabByName("Properties");t.tabPanel.selectTab({model:e})},imageTemplateName:"dxrd-svg-properties-propertiesmenu",disabled:C.observable(!1),visible:!0,hasSeparator:!0},s=()=>{var e;return[...null!=(e=this.groupActions&&this.groupActions())?e:[],...null!=(e=this.actions&&this.actions())?e:[],...C.unwrap(null!=(e=null==(e=i.actionLists)?void 0:e.toolbarItems)?e:[]),r]},a=C.observable(s()),e=(this.groupActions&&this.addDisposable(this.groupActions.subscribe(e=>{a(s())})),this.actions&&this.addDisposable(this.actions.subscribe(e=>{a(s())})),t.ContextMenusEnabled||(t.ContextMenusEnabled=C.observable(!0)),new rn({actions:a,target:"."+i.containerClass+" .dxrd-context-menu-container",contextMenusEnabled:t.ContextMenusEnabled}));return this._disposables.push(e),{contextMenu:e}}}class Hn extends s{constructor(){super(...arguments),this._model={}}get dragHelperContent(){return this._dragHelperContent}set dragHelperContent(e){this._disposables.push(e),this._dragHelperContent=e}get dragDropStarted(){return this._dragDropStarted}set dragDropStarted(e){this._disposables.push(e),this._dragDropStarted=e}addDragDropHandler(e,t){this._disposables.push(t),this._model[e]=t}generate(){var e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(e.dragDropStarted=this.dragDropStarted),e}}class Rn extends s{constructor(e,t){super(),this._selection=e,this._context=t,this._model={}}generate(){var e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e}addControlsHelper(e){return this.controlsHelper=e||new Ri(this._context.model,[{added:e=>{},deleted:e=>{e.surface===this._selection.focused()&&this._selection.focused(e.surface.findNextSelection())}}]),this._disposables.push(this.controlsHelper),this}addControlsStore(e){return e=e||new Or(this.controlsHelper.allControls),this._disposables.push(e),this._model.controlsStore=e,this}}class jn extends s{constructor(){super(...arguments),this.stopPropagation=!1}generate(){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}get appMenuVisible(){return this._appMenuVisible}set appMenuVisible(e){this._disposables.push(e),this._appMenuVisible=e}}class Wn extends s{constructor(){super(...arguments),this._dragDropSettings=new Hn,this._resizeSettings=new zn}dispose(){this._editableObject(null),super.dispose(),this.removeProperties()}get selection(){return this._selection}set selection(e){this._disposables.push(e),this._selection=e}get snapHelper(){return this._snapHelper}set snapHelper(e){this._disposables.push(e),this._snapHelper=e}get editableObject(){return this._editableObject}set editableObject(e){this._disposables.push(e),this._editableObject=e}addDragDrop(e){e(this._dragDropSettings),this._disposables.push(this._dragDropSettings)}addResize(e){e(this._resizeSettings),this._disposables.push(this._resizeSettings)}generate(){var e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),this.editableObject&&(e.editableObject=this.editableObject),m(e,this._dragDropSettings.generate(),this._resizeSettings.generate())}}class Gn extends s{constructor(e,t){super(),this._context=e,this._rtl=t,this._model={},this._selectionSettings=new Wn,this._model.rtl=this._rtl,this._model.dispose=()=>{this.dispose()}}_createPopularProperties(i,e){const r=[];return e.forEach(t=>{var e=i.filter(e=>e.propertyName===t)[0];e&&r.push(e)}),r}_resetModel(){Object.keys(this._model).forEach(e=>{"dispose"!==e&&delete this._model[e]})}get rtl(){return this._rtl}set rtl(e){this._rtl=e,this._model.rtl=e}dispose(){super.dispose(),this._resetModel()}initializeContext(e){return this._context=e,this}getPropertyByName(e){return this._model[e]}addElement(e,t){return this._model[e]=t(),this._disposables.push(this._model[e]),this}mapOnContext(){return this._model.model=this._context.model,this._model.surface=this._context.surface,this._model.undoEngine=this._context.undoEngine,this}addSelection(e){return e(this._selectionSettings),this._disposables.push(this._selectionSettings),m(this._model,this._selectionSettings.generate()),this}addPropertyGrid(e,t="propertyGrid"){return this._model[t]=e&&e(),this._disposables.push(this._model[t]),this}addContextMenu(e){this._model.contextMenus||(this._model.contextMenus=[]),this._model.contextMenus.push(e)}addDisposableContainer(){return this._model.disposableContainer=new s,this._model.addDisposables=(...e)=>this._model.disposableContainer._disposables.push(...e),this}addControlProperties(e,t,i){return this.addPropertyGrid(()=>this.createControlProperties(e,t,i))}createControlProperties(e,t,i){t=new wn(this._model.editableObject,{groups:t,editors:e},null);return i&&t.registerAccessibilityProvider(i),t}addPopularProperties(s,t){return this.addPropertyGrid(()=>{var e=new mn(C.pureComputed(()=>{const t={getInfo:()=>[]},i=this._model.editableObject();if(i){const e=s.controlsMap[i.controlType],r=this._createPopularProperties(e&&e.info||[],e&&e.popularProperties||[]);r.forEach(e=>{e.propertyName in i&&(t[e.propertyName]=i[e.propertyName])}),t.getInfo=()=>r,t.root=i.root,t.actions=i.actions,t.actionProviders=i.actionProviders,t.getPath=e=>i.getPath&&i.getPath(e)||"",t.getModel=()=>i,t.isPropertyModified=e=>!!i.isPropertyModified&&i.isPropertyModified(e),t.getActionClassName=e=>i.getActionClassName?i.getActionClassName(e):"",t.getMenuBoxTemplate=e=>i.getMenuBoxTemplate?i.getMenuBoxTemplate(e):"",t.isPropertyVisible=t=>r.some(e=>e.propertyName===t)&&(!i.isPropertyVisible||i.isPropertyVisible(t,!0)),t.isPropertyHighlighted=e=>!!i.isPropertyHighlighted&&i.isPropertyHighlighted(e),t.isPropertyDisabled=e=>!!i.isPropertyDisabled&&i.isPropertyDisabled(e),t.isSame=e=>e===i,["name","displayName"].forEach(e=>{e in i&&(t[e]=i[e])})}return t}),void 0,void 0,void 0);return t&&e.registerAccessibilityProvider(t),e},"popularProperties")}addToolboxItems(e){return this._model.toolboxItems=e&&e(),this}addGroupedToolboxItems(){return this._model.groupedToolboxItems=En(this._model.toolboxItems,e=>e.info.group),this}addTabPanel(e,t=()=>[]){e=e&&e()||new Mn({tabs:t(),rtl:this._rtl,width:396});return this._model.tabPanel=e,this._disposables.push(e),this}addIsLoading(e=()=>C.observable(!0)){return this._model.isLoading=e(),this._disposables.push(this._model.isLoading),this}addControlsHelper(e){var t=new Rn(this._selectionSettings.selection,this._context);return e(t),this._disposables.push(t),m(this._model,t.generate()),this}addMenu(e){var t=new jn;return e(t),this._disposables.push(t),m(this._model,t.generate()),this}addContextActions(e){var t=new Ln,e=(e(t),this._disposables.push(t),m(this._model,t.generate()),t.generateContextMenu(this._model));return m(this._model,e),this.addContextMenu(e.contextMenu),this.addElement("hideContextMenu",()=>()=>this._model.contextMenus.forEach(e=>e.hide())),this}addParts(e=e=>e,t=!0){let i=[];return t&&(i=Dn(this._model)),this._model.parts=e(i),this}getModel(){return this._model}addActionList(e){e=e&&e()||new Qa(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,()=>{});return this._disposables.push(e),this._model.actionLists=e,this}}const Un=C.observable({});a=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class qn extends Qi{constructor(e){super(),this.visible=!("visible"in e)||e.visible,this.disabled="disabled"in e&&e.disabled;var t=e.imageClassName||e.text.toLowerCase();this._text=e.text,this.name=e.text,this._localizationId=e.localizationId,this.imageClassName="dxrd-image-"+t,this.imageTemplateName=e.imageTemplateName||kt.getExistingTemplate("dxrd-svg-tabs-"+e.text.toLowerCase()),this.template=e.template,this._disposables.push(e.model,e.keyboardHelper),this.model=e.model,this.keyboardHelper=e.keyboardHelper}updateViewModel(e){var t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"imageClassName"===e.propertyName&&(t.image.class=this.imageClassName),"imageTemplateName"===e.propertyName&&(t.image.templateName=this.imageTemplateName),"active"!==e.propertyName&&"disabled"!==e.propertyName||(t.css.class=`${this.active?"dxd-state-active dxd-state-no-hover":""} `+(this.disabled?"dxrd-tab-item-disabled":"")),"disabled"===e.propertyName&&(t.disabled=this.disabled),"active"===e.propertyName&&(t.active=this.active),"model"===e.propertyName&&(t.model=this.model),!this.keyboardHelper||"active"!==e.propertyName&&"collapsed"!==e.propertyName||this.active&&!this.collapsed&&void 0!==e.oldValue&&setTimeout(()=>this.focus())}onPropertyChanged(e){"visible"!==e.propertyName||e.newValue||(this.active=!1)}createViewModel(){return c(super.createViewModel()).generateProperty("text",this.text).generateProperty("image",c().generateProperty("class",this.imageClassName).generateProperty("templateName",this.imageTemplateName).getViewModel()).generateProperty("click",()=>{}).generateProperty("css",c().generateProperty("class",`${this.active?"dxd-state-active dxd-state-no-hover":""} `+(this.disabled?"dxrd-tab-item-disabled":"")).getViewModel()).generateProperty("disabled",this.disabled).generateProperty("visible",this.visible).generateProperty("active",this.active).generateProperty("template",this.template).generateProperty("model",this.model).generateProperty("keyboardHelper",this.keyboardHelper).getViewModel()}focus(){this.keyboardHelper&&this.keyboardHelper.focus(document.getElementsByClassName("dxrd-tab-item dxd-state-active")[0])}get text(){return De(this._text,this._localizationId)}}function Kn(e,i,r,t={},s=[],a,n,o,d,l,u,c,p){const h=new Vn(n).addModel(e).addSurface(i).addUndoEngine(l).getContext(),g=new Gn(h,n);return g.addDisposableContainer().mapOnContext().addSelection(t=>{t.selection=o||new vs,t.snapHelper=new Fs(i,Fs.snapTolerance,c||new Ds),t.editableObject=fs.getEditableObject(t.selection,h.undoEngine,u).extend({throttle:1}),t.addDragDrop(e=>{e.dragHelperContent=new wi(t.selection),e.dragDropStarted=yi.started,e.addDragDropHandler("dragHandler",new Ai(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent)),e.addDragDropHandler("toolboxDragHandler",new Ei(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent,r))}),t.addResize(e=>{e.handler={starting:()=>{o.expectClick=!0,h.undoEngine().start()},stopped:()=>{h.undoEngine().end(),setTimeout(()=>{o.expectClick=!1},100)},disabled:yi.started,snapHelper:t.snapHelper}})}).addToolboxItems(()=>Nr(r.controlsMap)).addIsLoading().addControlProperties(s,t).addPopularProperties(r).addControlsHelper(e=>{e.addControlsHelper(d).addControlsStore()}).addTabPanel(void 0,()=>{const t=new qn({text:"Properties",template:"dxrd-propertiestab",model:g.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:!!e(),disabled:g.getModel().propertyGrid.focusedItem()instanceof Array});return g._disposables.push(g.getModel().propertyGrid.focusedItem.subscribe(e=>{t.disabled=g.getModel().propertyGrid.focusedItem()instanceof Array})),g._disposables.push(e.subscribe(e=>{t.visible=!!e})),[t]}).addContextActions(e=>{e.actionProviders=[],e.createDefaultActions(g.getModel().editableObject,g.getModel().undoEngine)}).addMenu(e=>{e.appMenuVisible=C.observable(!1),e.toggleAppMenu=function(){e.appMenuVisible(!e.appMenuVisible())},e.getMenuPopupContainer=e=>$.fn.constructor(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container"),e.getMenuPopupTarget=e=>$.fn.constructor(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")}).addElement("inlineTextEdit",()=>new cr(g.getModel().selection)).addElement("actionsGroupTitle",()=>()=>f("Actions","AnalyticsCoreStringId.Actions")).addElement("updateFont",()=>e=>{Un(Object.assign(Object.assign({},Un()),e))}).addElement("sortFont",()=>()=>{const t={},i=Un.peek();Object.keys(i).sort((e,t)=>e.localeCompare(t)).forEach(e=>t[e]=i[e]),Un(t)}).addElement("surfaceSize",()=>C.observable(0)).addElement("popularVisible",()=>C.pureComputed(()=>g.getModel().popularProperties._get("_editors").some(e=>e._get("visible"))||g.getModel().contextActions&&0<g.getModel().contextActions().length)).addElement("groupActionsVisible",()=>C.pureComputed(()=>!1)).addActionList().addParts().getModel()}a([d(!1)],qn.prototype,"active",void 0),a([d(!0)],qn.prototype,"visible",void 0),a([d(!1)],qn.prototype,"disabled",void 0),a([d(null)],qn.prototype,"model",void 0),a([d(void 0)],qn.prototype,"collapsed",void 0);class Yn{constructor(e,s,t,a=!1){this.deferreds=[],this._extenders=t,this.getItems=t=>{const i=_.Deferred(),r=[];return this._beforeFieldListCallback(t,r)?i.resolve(r):s&&!t.fullPath?(r.push.apply(r,_.map(s(),e=>{e={name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}};return a&&delete e.dragData,e})),this._afterFieldListCallBack(t,r),i.resolve(r)):(this._patchRequest(t,s),this.deferreds.push(i),e(t).done(e=>{r.push.apply(r,e),this._afterFieldListCallBack(t,r),i.resolve(r)}).fail(e=>i.reject(e)).always(()=>this.deferreds.splice(this.deferreds.indexOf(i),1))),i.promise()},this.dispose=()=>{this.getItems=null,e=null,this.deferreds.forEach(e=>e.reject())}}_patchRequest(t,e){if(e){var i=e.peek();for(let e=0;e<i.length;e++){if(i[e].id===t.id&&t.id)return void(t.ref=void 0);if(i[e].ref===t.ref&&t.ref)return void(t.id=void 0)}}}_beforeFieldListCallback(t,i){return!!this._extenders&&this._extenders.some(e=>e.beforeItemsFilled(t,i))}_afterFieldListCallBack(t,i){this._extenders&&this._extenders.forEach(e=>{e.afterItemsFilled&&e.afterItemsFilled(t,i)})}}function Jn(t,e,i,r,s,a,n){let o=0;e[i]=C.pureComputed({read:()=>{var e=gi(r(t)(),s.peek(),a());return.2<Math.abs(e-o)?o=e:o},write:e=>{Math.abs(e-o)<=.2||(e=mi(o=e,s.peek(),a()),r(t)(e))}}),n(e[i])}function Xn(t,i,r,s,a,n){r&&Object.keys(r).forEach(e=>{Jn(t,i,e,r[e],s,a,n)})}let Zn=null;const Qn={getInstance:function(e){return Zn||this._initialize(e),Zn},_initialize:function(e){const{ajaxSetup:t,fetchSetup:i}=null!=e?e:{};if(zr(null===t||void 0===t?void 0:t.ajaxSettings)&&zr(null===i||void 0===i?void 0:i.fetchSettings))throw new Error("You cannot configure more than one type of request manager. Use either ajaxSetup or fetchSetup for configuration, but not both.");zr(null===t||void 0===t?void 0:t.ajaxSettings)?Qn.initialize(new Pi(()=>t.ajaxSettings)):Qn.initialize(new Ti(()=>null===i||void 0===i?void 0:i.fetchSettings))},initialize:function(e){Zn=e}};function eo(){return Zn.useFetch}const to={fetchSettings:{}},io={ajaxSettings:{},sendRequest:function(e){if(eo())throw new Error("The request manager is currently configured as Fetch. Use either ajaxSetup or fetchSetup for configuration, but not both.");return Qn.getInstance().sendRequest(Object(_.extend)({},this.ajaxSettings,e))}};function ro(e){no=e}function so(r,e,t,s,a,i,n=e=>!e.success,o=Ut,d="POST"){const l=_.Deferred();let u;void 0!==e&&void 0!==t&&(u={actionKey:e,arg:t,dxversions:JSON.stringify(ki)});e={ajaxSetup:io,fetchSetup:to};return Qn.getInstance(e).sendRequest(m({},{type:d,data:u,url:r},i)).fail((e,t,i)=>{a&&a()?l.reject():(Qt.call({jqXHR:e,textStatus:t,errorThrown:i,getRequestDetails:()=>u||r}),Zt(i,l,e,t,s))}).done((e,t,i)=>{e?n(e)?a&&a()?l.reject():(Qt.call({jqXHR:i,textStatus:t,data:e,errorThrown:o(i),getRequestDetails:()=>u||r}),Zt("Internal Server Error",l,i,t,s)):l.resolve(e.result):l.reject()}),l.promise()}function ao(e){return so(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage,e.method)}let no=(...e)=>1<e.length?so.apply(void 0,e):ao(e[0]);function oo(e,t=!0){return e.editor=n.getEditor("text"),e.editorOptions={mode:"password"},t&&(e.editorOptions.inputAttr={autocomplete:"new-password"}),e}function lo(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}const uo={_static:{searchPlaceholder:()=>He(),selectPlaceholder:()=>ze(),noDataText:()=>Le(),ajaxSetup:io}},co=Se({});function po(t,e=uo,i){e&&(t.dx=Object.assign(Object.assign({},e),co())),t.getLocalization=function(){return f.apply(t,arguments)},t.getPopupContainer=Ka,t.calculateWithZoomFactor=mt,t.containerClass="dx-designer-"+Gr(),t.surfaceClass=e=>"dx-designer-viewport dx-designer-viewport-"+lo(e.clientWidth)+" "+(Ka(e,".dx-theme-generic").length?"":" dx-theme-generic")+" "+t.containerClass+(i?" "+i:"")}function ho(e){return v.isSubscribable(e)?e:l.wrap(null)}class go extends s{constructor(e){super(),this.left=C.observable(!1),this.right=C.observable(!1),this.top=C.observable(!1),this.bottom=C.observable(!1),this.disabled=e.disabled||C.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}_setAllValues(e){this.left(e),this.bottom(e),this.right(e),this.top(e)}setValue(e){this.disabled()||(this[e](!this[e]()),this.updateValue())}setAll(){this.disabled()||(this._setAllValues(!0),this.updateValue())}setNone(){this.disabled()||(this._setAllValues(!1),this.updateValue())}updateModel(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")))}updateValue(){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(","))}}C.bindingHandlers.dxBorderEditor={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=Dt("dxrd-bordereditor"),a=_.fn.constructor(e).append(a);const n=new go(t());return C.applyBindings({value:n},a.children()[0]),Ie(e,()=>n.dispose()),{controlsDescendantBindings:!0}}};var y=e(3),w=e.n(y),A=e(11);const mo=i=>({render:function(e){var t=_.fn.constructor("<i />").addClass("dx-icon"),t=(i?(t.addClass(i),t.addClass("dx-icon-"+i),t.addClass("dx-icon-dxrd")):e.model.icon&&t.addClass(e.model.icon),e.model.icon&&t.html(Dt(e.model.icon)),t.get(0));_.fn.constructor(e.container).append(t),e.model.text&&((t=_.fn.constructor("<span />").addClass("dx-button-text")).text(e.model.text),_.fn.constructor(e.container).append(t))}}),fo={render:function(e){mo(e.model.iconClass).render(e)}};class vo extends e.n(A).a{constructor(e,t){t.template=fo,super(e,t)}_patchOptionValues(e){var t=super._patchOptionValues.call(this,e),e={iconClass:e.iconClass};return C.utils.extend(t.templateData,e),t}}w()("dxButtonWithTemplate",vo);class xo extends s{initActions(e){this.actions=e,this.actions.forEach(e=>{e.disabled||(e.disabled=C.observable(!1))})}getActions(e){return this.condition(e)?(this.setDisabled&&this.setDisabled(e),this.actions):[]}condition(e){return!0}}const bo=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"];function yo(t,i){for(let e=0;e<bo.length;e++)t.style[bo[e]]="scale("+i+")";tn(t).addClass("dxrd-transform-origin-left-top")}function _o(e,t){return"parent"===t||t===e?e:e.find(t)}C.bindingHandlers.cssArray={update:function(t,e,i,r,s){const a=C.utils.unwrapObservable(e());for(let e=0;e<a.length;e++)C.bindingHandlers.css.update(t,()=>a[e])}},C.bindingHandlers.selectable={init:function(e,t,i,r,s){t=t();const a=C.unwrap(t.selection),n=m({filter:".dxd-selectable",distance:1},C.unwrap(t),{selecting:function(e,t){e={control:xi(t),cancel:!1,ctrlKey:e.ctrlKey};a.selecting(e),e.cancel&&_.fn.constructor(t).removeClass("ui-selecting")},start:(e,t)=>{a.clickHandler(null,e),a.expectClick=!0,a.started=!0},stop:()=>{a.started=!1,setTimeout(()=>{a.expectClick=!1},100),a.applySelection()},unselecting:function(e,t){a.unselecting(xi(t))}}),o=new Ir(e,n),d=[];a.disabled&&C.isSubscribable(a.disabled)&&d.push(a.disabled.subscribe(e=>Ir.disabled=e)),Ie(e,()=>{o.dispose(),e=null,d.forEach(e=>e.dispose())})}},C.bindingHandlers.updateTop={init:function(i,e,t,r,s){e=e();const a=_.fn.constructor(i),n=e=>{var t=i.getBoundingClientRect().height/i.offsetHeight,e=0===e||e?e:a.prev().position().top/t+a.prev().outerHeight();a.css("top",e+"px")},o=e.subscribe(e=>{n(e)});n(e()),Ie(i,function(){o.dispose()})}},C.bindingHandlers.draggable={init:function(e,t,i,r,a){const n=t();if(n){const o=_.fn.constructor(e),d=n.parent&&n.parent()||o.closest(".dx-designer-viewport"),l=n.containment||".dxrd-ghost-container";let i,r,s;const u={left:0,top:0},c=e=>{e.delta={left:(r&&r.left||0)-s.left,top:(r&&r.top||0)-s.top},e.scroll={left:i.scrollLeft()-u.left,top:i.scrollTop()-u.top}},p=m({},C.unwrap(n),{start:function(e,t){yi.started(!0),i=d.find(".dxrd-viewport"),r=d.find(".dxrd-ghost-container").offset(),s=_o(d,l).offset(),u.left=i.scrollLeft(),u.top=i.scrollTop(),n.startDrag&&n.startDrag(xi(t))},stop:function(e,t){c(t),n.stopDrag(t,xi(t),e),yi.started(!1)},drag:function(e,t){c(t),n.drag&&n.drag(e,t,xi(t))},helper:function(e,t){let i;r=d,s=p.containment;var r,s=r?{top:(r=_o(r,s)).offset().top,left:r.offset().left}:{top:0,left:0};return n.helper&&(i=n.helper(xi(t),e))?(i.css({position:"absolute"}),i[0].dataset.startLeftPosition=fi(e.pageX-s.left),i[0].dataset.startTopPosition=fi(e.pageY-s.top)):(r=Dt(a.$root.dragHelperContent.template),t=xi(t),(i=_.fn.constructor(r).css({display:n.helper?"block":"none",position:"absolute"}))[0].dataset.startLeftPosition=fi(t.absolutePosition?t.absolutePosition.x():e.pageX-s.left),i[0].dataset.startTopPosition=fi(t.absolutePosition?t.absolutePosition.y():e.pageY-s.top),i.prependTo(_o(d,p.containment)),C.applyBindingsToDescendants(a.$root.dragHelperContent,i[0])),i}});p.containment=_o(d,p.containment),(t=e).parentElement.classList.contains("dxrd-toolbox-item")&&(t.dataset.startDragWithOffset="true");const h=new wr(e,p);Ie(e,()=>{h.dispose(),e=null})}}};const Co="dxd-track-cursor";Co;C.bindingHandlers.trackCursor={init:function(a,e,t,i,n){const r=_.fn.constructor(a);r.addClass(Co);let o=e(),d=!1,l=(o.recalculateBounds&&(d=o.recalculateBounds,o=o.underCursor),a.getBoundingClientRect());const u=document.body,c=document.documentElement,s=e=>{n.$root.selection.started&&n.$root.resizeHandler.started||o().isNotDropTarget||(n.$root.selection.dropTarget=n.$data,e.stopPropagation())},p=e=>{o(m(o(),{isOver:!0})),n.$root.selection.started&&n.$root.resizeHandler.started||(l=a.getBoundingClientRect())},h=e=>{o(m(o(),{isOver:!1}))},g=e=>{var t,i,r,s;d&&(l=a.getBoundingClientRect()),n.$root.selection.started&&n.$root.resizeHandler.started||(r=window.pageYOffset||c.scrollTop||u.scrollTop,t=window.pageXOffset||c.scrollLeft||u.scrollLeft,s=c.clientTop||u.clientTop||0,i=c.clientLeft||u.clientLeft||0,r=e.pageY-(l.top+r-s),s=e.pageX-(l.left+t-i),o(m(o(),{x:s,y:r})))};a.addEventListener("mousemove",g),d||a.addEventListener("mouseenter",p),a.addEventListener("mouseover",s),a.addEventListener("mouseleave",h),a.addEventListener("dragover",g),Ie(a,function(){a.removeEventListener("dragover",g),a.removeEventListener("mousemove",g),a.removeEventListener("mouseover",s),a.removeEventListener("mouseleave",h),d||a.removeEventListener("mouseenter",p),r.removeClass(Co)})}},C.bindingHandlers.templates={init:function(e,t){t=_.fn.constructor(t()).text(),t=_.fn.constructor(t);return _.fn.constructor(e).append(t),{controlsDescendantBindings:!0}}},C.bindingHandlers.zoom={update:(e,t)=>yo(e,C.unwrap(t()))},C.bindingHandlers.keyDownActions=(()=>{const r=new dt(window);return{init:function(e,t){const i=t();r.bindHandler(e,e=>i.processShortcut(e))}}})(),C.bindingHandlers.dxMutationObserver={init:function(e,t,i,r,s){if(t()){const a=C.bindingEvent.subscribe(e,"childrenComplete",()=>{Ie(e,ft(e,t(),s.$root.accessibilityCompliant))});Ie(e,()=>a.dispose())}}},C.bindingHandlers.dxAction={init:(e,t)=>{function i(e){s.action.call(s.model,s.model,e)}function r(e){e.key!=Be.Enter&&e.key!=Be.Space||s.action.call(s.model,s.model,e)}const s=t();e.addEventListener("click",i),e.addEventListener("keydown",r),Ie(e,function(){e.removeEventListener("click",i),e.removeEventListener("keydown",r)})}},C.extenders.dxdnum=function(t,i){return t.subscribe(e=>{e=e||0,isNaN(i.max)?isNaN(i.min)?t(e):t(Math.max(e,i.min)):t(Math.min(e,i.max))}),t};const wo={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"},Ao=[{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"}],Join:[{paramCount:1,text:"[].Join()",displayName:"Join()",descriptionStringId:"ExpressionEditorStringId.Function_JoinAggregate"}],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"}],InDateRange:[{paramCount:3,text:"InDateRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InDateRange"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalLastWeek: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"}],DateTimeFromParts:[{paramCount:3,text:"DateTimeFromParts(, , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts3"},{paramCount:4,text:"DateTimeFromParts(, , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts4"},{paramCount:5,text:"DateTimeFromParts(, , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts5"},{paramCount:6,text:"DateTimeFromParts(, , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts6"}],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"}],InRange:[{paramCount:3,text:"InRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InRange"}],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"}]}}],Eo=(i,r)=>{if(Array.isArray(r))return r.forEach(t=>{var e=i.find(e=>e.display===t.display);e?e.items=Object.assign(Object.assign({},e.items),t.items):i.push(t)}),i;const s=[];return i.forEach(e=>{var t=r[e.display],i=m({},e.items,t);Object.keys(i).length&&s.push(t?{display:e.display,category:e.category,localizationId:e.localizationId,items:i}:e)}),s},Io=Se(Ao),So=()=>Io(Ao);function $o(e){var t=m(!0,[],Io());return Eo(t,e)}const ko="range";function Po(e,t,i,r){return{displayName:f(t,i),content:{showDescription:r,isSelected:C.observable(!1),data:{items:e,selectedItem:C.observable(null)},name:"dx-expressioneditor-collection"},dispose:()=>{}}}function Do(t,i,r,s){if(!r||!t)return i;const a=C.observable(i());r.toDisplayExpression(t(),i()).done(e=>{a(e)}).fail(()=>{a(i())});var e=i.subscribe(e=>{r.toDisplayExpression(t(),e).done(e=>{a(e)}).fail(()=>{a(e)})}),n=t.subscribe(e=>{r.toDisplayExpression(e,i()).done(e=>{a(e)}).fail(e=>{a(i())})}),o=C.pureComputed({read:()=>a(),write:e=>{a(e),r.toRealExpression(t(),e).done(e=>{i(e)}).fail(()=>{i(e)})}});return s&&[o,e,n].forEach(e=>s.push(e)),o}const To=[{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"}];class Fo extends s{constructor(e){super(),this._options=e,this._contextPath=null,this._isInContext=()=>null!==this._contextPath,this._getPath=()=>this._contextPath?this._path()+"."+this._contextPath:this._path(),this.identifierRegexps=[/\./,/\[/],this._fieldListProvider=e.fieldListProvider,this._path=e.path,this._editor=e.editor,this._functions=C.computed(()=>C.unwrap(e.functions)||Io()),this._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}],this._disposables.push(this._functions)}_previousSymbol(){var e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]}beforeInsertMatch(t,i,e){var r=t.getCursorPosition();if("Parameters."===e)(i=i||!this._isInContext()&&t.session.getTokenAt(r.row,r.column))&&("support.variable.other"===i.type||"support.function"===i.type?t.session.remove({start:{column:i.start-1||0,row:r.row},end:{column:Math.max(i.start+i.value.length||0,r.column),row:r.row}}):"support.variable.parameter"===i.type?t.session.remove({start:{column:i.start||0,row:r.row},end:{column:Math.max(i.start+i.value.length+1||0,r.column),row:r.row}}):"text"===i.type&&"?"===i.value[i.value.length-1]&&t.session.remove({start:{column:i.start+i.value.length-1||0,row:r.row},end:{column:i.start+i.value.length||0,row:r.row}}));else if(i=i||t.session.getTokenAt(r.row,r.column)){let e=null;"support.variable.other"===i.type||"support.function"===i.type?e=Math.max(i.start+i.value.length||0,r.column):"support.context.start"===i.type&&r.column<i.start+i.value.length&&(e=i.start+i.value.length-1||0),null!==e&&t.session.remove({start:{column:i.start||0,row:r.row},end:{column:e,row:r.row}})}}insertMatch(e,t,i){"Parameters."===t?e.insert("?"+i):e.insert("["+(t||"")+i+"]")}generateFieldDisplayName(e,t){return"Parameters."===e?"?"+t:"["+t+"]"}_convertDataMemberInfoToCompletions(e,r,s=""){return(e||[]).map(i=>{var e=this.generateFieldDisplayName(s,i.displayName);return{caption:i.displayName||i.name,snippet:e,meta:qa(i)&&f("list","DxDesignerStringId.CodeCompletion_List")||f("field","DxDesignerStringId.CodeCompletion_Field"),score:qa(i)?200:100,completer:{insertMatch:(e,t)=>{this.beforeInsertMatch(e,r(),s),this.insertMatch(e,s,this._options.getRealExpression&&i.displayName||i.name)}}}})}_combinePath(t){let e=this._getPath();var i;return t&&(i=this._rootItems.filter(e=>0===t.indexOf(e.name))[0],e=(i&&i.rootPath?[i.rootPath,t]:[e,t]).join(".")),e}_getParentPrefix(e){var t=this._editor.getCursorPosition().column-e.start-1,i=e.value.lastIndexOf(".",t),t=e.value.lastIndexOf("]",t),i=Math.max(t,i),t="support.variable.other"===e.type||"support.context.start"===e.type?1:0;let r=e.value.substring(t,i);return r="]"===(r="["===r[0]?r.substr(1):r)[r.length-1]?r.substring(0,r.length-1):r}_getRealPath(e){const t=e.split("."),i=_.Deferred();return this._options.getRealExpression?this._options.getRealExpression(t[0],this.generateFieldDisplayName(null,t.splice(1).join("."))).done(e=>{e=e.slice(1,e.length-1),i.resolve(e&&[t[0],e].join(".")||t[0])}).fail(()=>{i.resolve(e)}):i.resolve(e),i.promise()}_getFields(a=()=>null,n=[],t=!1){const i=_.Deferred();let o=void 0;var e=a();return!e||"support.variable.other"!==e.type&&"support.function"!==e.type&&"support.context.start"!==e.type||(o=this._getParentPrefix(e)),this._getRealPath(this._combinePath(o)).done(e=>{const r=[C.unwrap(this._fieldListProvider).getItems(new Kr(e)).done(e=>{n.push.apply(n,this._convertDataMemberInfoToCompletions(Fo._cleanupFields(e),a,t?null:o&&o+"."))})],s=[];o||this._rootItems.forEach(t=>{const i=t.rootPath||t.name;-1===s.indexOf(i)&&(s.push(i),r.push(C.unwrap(this._fieldListProvider).getItems(new Kr(i)).done(e=>{this._processFields(r,e,n,i,a,t.needPrefix?t.name+".":"",!0)})))}),_.when(r).always(()=>{i.resolve(n)})}),i.promise()}static _cleanupFields(e=[]){return e.filter(e=>"parameters"!==e.specifics&&"none"!==e.specifics)}_processFields(t,e,i,r,s,a="",n=!1){const o=e=>{i.push.apply(i,this._convertDataMemberInfoToCompletions(n?Fo._cleanupFields(e):e,s,a))};e.forEach(e=>{e.specifics===ko&&qa(e)?t.push(C.unwrap(this._fieldListProvider).getItems(new Kr(r+"."+e.name)).done(e=>{o(e)}).fail(()=>{o([e])})):o([e])})}getFunctionsCompletions(){const i=[];return C.unwrap(this._functions).filter(e=>"Aggregate"!==e.category).forEach(t=>{Object.keys(t.items).forEach(e=>{t.items[e]&&i.push(Bo(t.items[e][0],e))})}),i}getAggregateCompletions(){const t=[],i=C.unwrap(this._functions).filter(e=>"Aggregate"===e.category)[0];return i&&Object.keys(i.items).forEach(e=>{i.items[e]&&t.push(Bo(i.items[e][0],e,e+"()"))}),t}getOperatorCompletions(t){return To.map(e=>({caption:e.text,snippet:t+e.text,meta:f("operator","DxDesignerStringId.CodeCompletion_Operator")}))}_addFunctions(e){e.push.apply(e,this.getFunctionsCompletions())}_addAggregates(e){e.push.apply(e,this.getAggregateCompletions())}_addOperators(e,t){t=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(t))}_addParameterOperators(t,i){const e=_.Deferred(),r=[],s="Parameters";return r.push(C.unwrap(this._fieldListProvider).getItems(new Kr(s)).done(e=>{this._processFields(r,e,t,s,i,s+".")})),_.when(r).always(()=>{e.resolve(t)}),e.promise()}_getOperands(e=()=>null){var t=[];return this._addFunctions(t),this._getFields(e,t)}_getOperandsOrOperators(e,t,i){let r;try{Va.parse(t)}catch(e){r=e.hash}var s=t.trim(),a=s[s.length-1];if("?"===a&&" "!==t[t.length-1])this._addParameterOperators(i,e);else{if((r||!s)&&"]"!==a&&")"!==a)return this._getOperands();this._addOperators(i,t)}}_findStartContextTokenPosition(t,i){let r=0;for(let e=i;-1<e;e--)if("support.context.end"===t[e].type)r++;else if("support.context.start"===t[e].type){if(!(0<r))return e;r--}}_findOpenedStartContext(t,i){var r=[],s=t.filter((e,t)=>("support.context.start"===e.type||"support.context.end"===e.type)&&t<i);for(let e=0;e<s.length;e++)"support.context.start"===s[e].type?r.push(t.indexOf(s[e])):r.pop();return r}_findOpenedAggregates(s,a){var n=[],o=s.filter((e,t)=>"support.other.aggregate"===e.type&&t<a);if(0<o.length){var e=s[a],d=this._editor.getCursorPosition().column-(e&&e.start||0);for(let e=o.length-1;-1<e;e--){var l=s.indexOf(o[e]);let t=0,i=0,r=!1;if(l+1===a&&-1!==s[l+1].value.substr(0,d).indexOf("()")||l+1<a&&-1!==s[l+1].value.indexOf("()"))r=!0;else{for(let e=l;e<a;e++)if("("===s[e].value.trim()?t++:")"===s[e].value.trim()&&i++,t===i&&0!==t){r=!0;break}r||n.splice(0,0,l)}a=l}}return n}_getContextPath(t,e){var i,r=[],s=this._findOpenedAggregates(t,e),a=this._findOpenedStartContext(t,e).concat(...s).sort((e,t)=>e-t);if(0<a.length)for(let e=0;e<a.length;e++)"support.other.aggregate"===t[a[e]].type?"support.context.end"===t[a[e]-1].type?(i=Oo(t[this._findStartContextTokenPosition(t,a[e]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(i)):"support.variable.other"===t[a[e]-1].type&&r.push(Oo(t[a[e]-1].value)):(i=Oo(t[a[e]].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(i));return r.filter(e=>!!e).join(".")}_getCompletions(e,t,i,r){let s;var a=[],n=()=>t.getTokenAt(i.row,i.column);const o=n();var e=e.session.getLine(i.row).substring(0,i.column),d=t.getTokens(i.row),l=o?o.index:-1;if(this._contextPath=this._getContextPath(d,l),o){if("support.context.start"===o.type){var u=this._editor.getCursorPosition().column-o.start===o.value.length;let e;u&&(e=[],this._addFunctions(e)),s=this._getFields(n,e,u)}else if("string.quoted.single"!==o.type)if(0===o.type.indexOf("support.variable"))s=this._getFields(n);else if("support.function"===o.type)s=this.defaultProcess(n,e.substring(0,o.start),a);else if("support.other.aggregate"===o.type){const c=d[l-1];this._addAggregates(a),c&&Oo(c.value).trim()&&(s=this._getFields(()=>({start:o.start-(c.value||"").length||0,value:c.value+o.value,type:"support.function"}),a))}else 0!==o.type.indexOf("comment")&&(s=this.defaultProcess(n,e,a))}else s=this._getOperands();return(s||_.Deferred().resolve(a)).promise()}defaultProcess(e,t,i){return this._getOperandsOrOperators(e,t,i)}getCompletions(e,t,i,r,s){this._getCompletions(e,t,i,r).done(e=>{s(null,e)})}getDocTooltip(e){e.tooltip&&!e.docHTML&&(e.docHTML=[e.tooltip].join(""))}}function Bo(t,e,i=null){let n=i||t.text;return{caption:e,snippet:n,meta:f("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:t.description||f(t.text,t.descriptionStringId)||null,score:10,completer:{insertMatch:(i,e)=>{var r=i.completer.completions;if(r.filterText){var s=i.selection.getAllRanges();for(let e=0,t;t=s[e];e++)t.start.column-=r.filterText.length,i.session.remove(t)}if("[]."===n.substr(0,3)){var a=i.selection.getAllRanges();for(let e=0,t;t=a[e];e++)t.start.column-=2,"]."===i.session.getTextRange(t)&&(n=n.substr(3))}i.insert(n),Ua(t.paramCount,i,n)}}}}function Oo(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}class Mo extends Rs{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.property=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?(this.begin=e.rightPart[0],this.end=1<e.rightPart.length?e.rightPart[1]:g.process("value")):(this.begin=g.process("value"),this.end=g.process("value")):(this.begin=e.rightPart,this.end=g.process("value"))},this.operatorType="Between",this.type="between",this.property=e,this.begin=t||g.process("value"),this.end=i||g.process("value")}get leftPart(){return this.property}get rightPart(){return[this.begin,this.end]}get displayType(){return"Between"}get enumType(){return Mo}accept(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new Mo(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))}}g.register("between",e=>new Mo(e.property,e.begin,e.end),e=>g.process("between",{property:g.process("property"),begin:g.process("value"),end:g.process("value")}));class No extends Rs{constructor(e,t){super(),this.assignLeftPart=e=>{this.criteriaOperator=e.leftPart},this.assignRightPart=e=>{this.operands=[].concat(e.rightPart)},this.operatorType="In",this.type="in",this.operands=[],this.criteriaOperator=e||g.process("default"),(t||[]).forEach(e=>this.operands.push(e))}get leftPart(){return this.criteriaOperator}get rightPart(){return this.operands}get displayType(){return"In"}get enumType(){return No}accept(t){return t.visitInOperator?t.visitInOperator(this):new No(this.criteriaOperator&&this.criteriaOperator.accept(t),this.operands&&this.operands.map(e=>e.accept(t)))}}g.register("in",e=>new No(e.criteriaOperator,e.operands),e=>g.process("in",{criteriaOperator:g.process("property"),operands:[g.process("value")]}));const Vo={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">=",Divide:"/",BitwiseAnd:"&",BitwiseOr:"|",BitwiseXor:"^",Modulo:"%",Multiply:"*"};class zo extends Rs{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.leftOperand=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length&&(this.rightOperand=e.rightPart[0]):this.rightOperand=e.rightPart},this.type="binary",this.leftOperand=e||g.process("default"),this.rightOperand=t||g.process("default"),this.operatorType=i}get leftPart(){return this.leftOperand}get rightPart(){return this.rightOperand}get displayType(){return Vo[p[this.operatorType]]||p[this.operatorType]}get enumType(){return p}accept(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new zo(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)}}g.register("binary",e=>new zo(e.left,e.right,e.operatorType),e=>g.process("binary",{left:g.process("property"),right:g.process("value"),operatorType:e.value}));class Lo extends Rs{constructor(e,t){super(),this.toString=e=>{var t=(Vo[this.displayType]||this.displayType)+"("+this.operands.map(e=>e.toString()).join(", ")+")";return e?"Not "+t:t},this.assignLeftPart=e=>{this.operands=[e.leftPart]},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?this.operands.push(e.rightPart[0]):this.operands.push(g.process("value")):this.operands.push(e.rightPart)},this.operands=[],this.type="function",this.operatorType=e,(t=t||[g.process("default")]).forEach(e=>this.operands.push(e))}get leftPart(){return this.operands[0]}get rightPart(){return this.operands.filter((e,t)=>0!==t)}get displayType(){return h[this.operatorType]||this.operatorType.toString()}get enumType(){return h}accept(t){return t.visitFunctionOperator?t.visitFunctionOperator(this):new Lo(this.operatorType,this.operands&&this.operands.map(e=>e.accept(t)))}}g.register("function",e=>new Lo(e.operatorType,e.operands),e=>new Lo(e.value,[g.process("property")]));class Ho extends Zs{constructor(e,t){super(e),this.type="value",t&&!this.specifics&&(this.specifics=t)}accept(e){return e.visitConstantValue?e.visitConstantValue(this):new Ho(this.value,this.specifics)}}g.register("const",e=>new Ho((null==e?void 0:e.value)||null));class Ro{constructor(e=Vo,t){this.operatorTokens=e,this.custom=t}serializeGroupOperand(e,t){e=e.operands.map(e=>e instanceof sa?"("+this.serialize(e)+")":this.serialize(e)).filter(e=>""!==e&&"()"!==e).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&e?"Not("+e+")":e}serializeAggregateOperand(t,e){var i="Exists"===t.operatorType?"":"."+t.operatorType,r=t.condition?this.serialize(t.condition):"",s=this.serialize(t.property),a="["+r+"]";let n="";if("Exists"!==t.operatorType){let e="";t.aggregatedExpression?e=this.serialize(t.aggregatedExpression):t.customAggregatedExpression&&(e=t.customAggregatedExpression.map(e=>this.serialize(e)).join(", ")),n=`(${e})`}let o=s;return(r||n)&&!r||(o+=a),o+i+n}serializeOperandProperty(e){if(!e.propertyName)return e.circumflex?"^":"[]";let t=e.displayType;return t.length-Oo(t).length==2&&(t="["+Oo(t).replace(/\\/g,"\\\\").replace(/\]/g,"\\]")+"]"),e.circumflex?"^."+t:t}serializeOperandValue(e){let t=e.value;return null===t||void 0===t||!_.isNumeric(t)&&"true"!==String(t).toLowerCase()&&"false"!==String(t).toLowerCase()?t&&e.value instanceof Date?"#"+ge(t,"-")+"#":"integer"===e.specifics||"integer"===e.specifics?t||"?":"guid"===e.specifics&&Us(t)?"{"+t+"}":"string"===e.specifics?(t=t.replace(/'/g,"''"))?"'"+t+"'":"?":t||"?":"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&Us(t)?"{"+t+"}":t}serializeOperandParameter(e){return e.displayType}serializeBetweenOperator(e,t){e=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+e:e}serializeInOperator(e,t){e=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+e:e}serializeBinaryOperator(e,t){var i;return e.operatorType===p.Like?(i=t?" Not ":" ",this.serialize(e.leftOperand)+i+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)):(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}serializeUnaryOperator(e,t){var i;return e.operatorType===u.IsNull?(i=t?" Not ":" ",this.serialize(e.operand)+" Is"+i+"Null"):e.operatorType===u.Not?this.serialize(e.operand,!0):(i=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand),t?"Not "+i:i)}serializeFunctionOperator(e,t){e=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+e:e}serialize(e,t=!1){if(e instanceof ia)return this.serializeAggregateOperand(e,t);if(e instanceof Mo)return this.serializeBetweenOperator(e,t);if(e instanceof zo)return this.serializeBinaryOperator(e,t);if(e instanceof Ho)return this.serializeOperandValue(e);if(e instanceof Lo)return this.serializeFunctionOperator(e,t);if(e instanceof sa)return this.serializeGroupOperand(e,t);if(e instanceof No)return this.serializeInOperator(e,t);if(e instanceof Qs)return this.serializeOperandParameter(e);if(e instanceof ea)return this.serializeOperandProperty(e);if(e instanceof Zs)return this.serializeOperandValue(e);if(e instanceof ta)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")}deserialize(e){return this.deserializeOperand(Va.parse(e))}deserializeOperand(e){var t;return e instanceof sa?e:e instanceof ta&&e.operatorType===u.Not?(t=e.operand)instanceof sa||t instanceof Lo||t instanceof Mo||t instanceof No?e:t instanceof ta&&e.operatorType===u.Not&&!(t.operand instanceof ea)?this.deserializeOperand(t.operand):new ta(u.Not,new sa(zs.And,t?[t]:[])):new sa(zs.And,e?[e]:[])}}class jo{constructor(e){this.displayNameProvider=e}_replaceNames(a,t,n){const i=_.Deferred();let e;if(!t)return i.resolve("").promise();try{e=Va.parse(t,!0)}catch(e){return i.reject().promise()}const l=[],u=[],c=new Ro;if(ra(e,(i,r)=>{if(i instanceof ea){const s=0===i.propertyName.indexOf("^.");let e=s?i.propertyName.substring(2):i.propertyName;e=r?[r,e].join("."):e;var t=n?this.displayNameProvider.getDisplayNameByPath(a,e):this.displayNameProvider.getRealName(a,e);l.push(t.done(e=>{let t=s?"^."+e:e;t=r?t.split(".").slice(r.split(".").length).join("."):t,u.push({operand:i,convertedName:t})}))}}),0===l.length)i.resolve(t);else{let e=0;const r=()=>{if(!(++e<l.length)){var s=t.split("\n");for(let r=0;r<s.length;r++){var a=u.filter(e=>e.operand.startPosition.line===r).sort((e,t)=>e.operand.startPosition.column-t.operand.startPosition.column);for(let t=0,i=0;t<a.length;t++){var n=a[t].operand.startPosition.column,o=a[t].operand.propertyName;let e=0;a[t].operand.originalPropertyLength!==o.length&&(e=Math.max(0,a[t].operand.originalPropertyLength-c.serialize(a[t].operand,!1).length));var d=a[t].convertedName;!o||n<0||(s[r]=s[r].substring(0,n+i)+d+s[r].substring(n+o.length+e+i),i+=d.length-o.length-e)}}i.resolve(s.join("\n"))}};l.forEach(e=>e.always(r))}return i.promise()}toDisplayExpression(e,t){return this._replaceNames(e,t,!0)}toRealExpression(e,t){return this._replaceNames(e,t,!1)}}class Wo extends s{constructor(e){super(),this._$spanProtect=_.fn.constructor("<span>"),this._$spanSearch=_.fn.constructor("<span>").addClass("dx-datagrid-search-text"),this._options=e,["text","textToSearch"].forEach(e=>{v.isSubscribable(this._options[e])&&this._disposables.push(this._options[e].subscribe(()=>{this._update()}))}),this._update()}_update(){this.content=this._getHighlightContent(v.unwrap(this._options.text),v.unwrap(this._options.textToSearch),v.unwrap(this._options.searchOptions))}update(e){this._options=e,this._update()}_getHighlightContent(e,t,i){let o=e;if(t){const d=et(o,t,i);if(d){let s="",a=0,n=o;return d.forEach((e,t)=>{var i=n.indexOf(e),r=o.substr(a,i);n=n.substr(i+e.length),r&&(this._$spanProtect.text(r),s+=this._$spanProtect[0].outerHTML),this._$spanSearch.text(e),s+=this._$spanSearch[0].outerHTML,a=o.length-n.length,t===d.length-1&&n&&(this._$spanProtect.text(n),s+=this._$spanProtect[0].outerHTML)}),s}}return this._$spanProtect.text(o),o=this._$spanProtect[0].outerHTML}}function Go(t,i,r,s,a,n){Ie(i,function(){t.dispose()}),setTimeout(()=>{let e=!1;C.computed({read:()=>{!e&&C.bindingHandlers.html.init&&(C.bindingHandlers.html.init(i,()=>t.content,s,a,n),e=!0),C.bindingHandlers.html.update&&C.bindingHandlers.html.update(i,()=>(t.update(r()),t.content),s,a,n)},disposeWhenNodeIsRemoved:i})},1)}C.bindingHandlers.searchHighlighting={init:function(e,t,i,r,s){Go(new Wo(t()),e,t,i,r,s)}};class Uo extends qn{constructor(e){super(e),this.propertyGridModel=e.propertyGridModel,this.propertyGrid=new mn(this.propertyGridModel,void 0,void 0,void 0,!0,void 0,void 0,new Cn,e.engineType),this.addDisposable(this.propertyGrid.createComputedProperty("___"+Gr(),()=>{this.propertyGrid.getEditors().some(e=>e.visible&&e._get("isRendered"))&&(this.keyboardHelper&&this.keyboardHelper.initialize(),this.focus())},[ve(this.propertyGrid,[{propertyName:"_editors",subscribables:["visible","isRendered"]}])])),this._disposables.push(this.propertyGrid)}createViewModel(){return c(super.createViewModel()).generateProperty("propertyGrid",this.propertyGrid.getViewModel()).generateProperty("propertyGridModel",this.propertyGridModel).getViewModel()}updateViewModel(e){super.updateViewModel(e),"propertyGridModel"===e.propertyName&&(this.propertyGrid.updateEditorsInfo(this.propertyGridModel,this.propertyGridModel.getInfo()),this.getViewModel().propertyGridModel=this.propertyGridModel)}}(function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([d(void 0)],Uo.prototype,"propertyGridModel",void 0);class qo extends s{constructor(e,t,i){super(),this.actions=[],this.actionProviders=[],this.update=C.observable(!1),this.controlType=this.controlType||this.getControlFactory().getControlType(e),this.preInitProperties(e,t,i),this.parentModel=C.observable(t),(i=i||new cs).deserialize(this,e),this._disposables.push(this.displayName=C.pureComputed(()=>{let e=this.name&&this.name();return e=e||"unnamed "+this.controlType})),this.resetValue=e=>{this._resetProperty(e)},this.actions.push({action:this.resetValue,id:"dxd-reset",title:f("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:this.isResettableProperty,weight:1e3})}_resetProperty(e){var t;this[e].resetValue?this[e].resetValue():(t=this.getPropertyDefaultValue(e),C.isObservable(this[e])?this[e](t):An(t,this[e]))}getPropertyDefaultValue(e){e=this.getPropertyInfo(e);return C.unwrap(e&&(new cs).deserializeDefaultValue(e))}getPropertyInfo(t){return this.getInfo().filter(e=>e.propertyName===t)[0]}getInfo(){return this.getControlFactory().controlsMap[this.controlType].info}createControl(e,t){return this.getControlFactory().createControl(e,this,t)}dispose(){super.dispose(),this.surface&&this.surface.dispose()}preInitProperties(e,t,i){}getNearestParent(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel())}getControlInfo(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]}getMetaData(){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||(()=>!0),isPasteDeny:e.isPasteDeny||!e.isContainer}}_hasModifiedValue(e){return this["_"+e]&&this["_"+e]()&&this.isPropertyModified(e)}createChild(e){e=this.getControlFactory().createControl(e,this);return this.addChild(e),e}removeChilds(t){if(this.controls){var i=this.controls();for(let e=0;e<t.length;e++)i.splice(i.indexOf(t[e]),1);this.controls.valueHasMutated()}}addChilds(t){if(this.controls){var i=this.controls();for(let e=0;e<t.length;e++)i.splice(0,0,t[e]);this.controls.valueHasMutated()}}removeChild(e){this.controls&&(this.controls.splice(this.controls().indexOf(e),1),e.onDelete())}addChild(e){this.controls&&-1===this.controls().indexOf(e)&&(e.parentModel(this),this.controls.splice(0,0,e))}isPropertyVisible(e){return!0}isPropertyDisabled(e){return!1}isPropertyModified(e){var t=this["_"+e]?"_"+e:e;return this[t].isPropertyModified?this[t].isPropertyModified():this[t].isEmpty?!this[t].isEmpty():(e=this.getPropertyDefaultValue(e),t=C.unwrap(this[t]),e instanceof Object?!In(e,t):e!==t)}getControlFactory(){throw Error("Virtual method getControlFactory")}isResettableProperty(e){return-1===["name","size","location"].indexOf(e)}_getRoot(){let e=this;for(;e&&e.parentModel();)e=e.parentModel();return e}get root(){return this._getRoot()}rtl(){return!1}onDelete(){}}class Ko{constructor(){this.controlsMap={}}getControlInfo(e){return this.controlsMap[e]||null}getControlType(e){e=Fi(e["@ControlType"]||"");return this.controlsMap[e]?e:"Unknown"}createControl(e,t,i){var r=this.getControlType(e);return new(this.controlsMap[r]&&this.controlsMap[r].type||qo)(e,t,i)}registerControl(e,t){void 0!==t.isToolboxItem&&(t.nonToolboxItem=!t.isToolboxItem),Object.defineProperty(t,"isToolboxItem",{get:()=>!t.nonToolboxItem,set:e=>{t.nonToolboxItem=!e},enumerable:!0,configurable:!0}),this.controlsMap[e]=t,this.controlsMap[e].info=m(!0,[],t.info)}_getPropertyInfoByDisplayName(e,t,i){return e.filter(e=>De(e.displayName,e.localizationId)===t[i])[0]}_getPropertyInfoByName(e,t,i){return e.filter(e=>e.propertyName===t[i]||e.modelName==="@"+t[i]||e.modelName===t[i])[0]}_getPropertyInfo(t,i,r){t=this._getPropertyInfoByDisplayName(t,i,r)||this._getPropertyInfoByName(t,i,r);if(r===i.length-1)return t||null;if(t.info)return this._getPropertyInfo(t.info,i,r+1);if(t.from){let e=null;try{e=t.from({})}catch(e){return null}t=e.getInfo&&e.getInfo();if(t)return this._getPropertyInfo(t,i,r+1)}return null}getPropertyInfo(e,t){let i=t;return _.isArray(t)||(i=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,i,0)}}function Yo(e,t){return("native"===(null==t?void 0:t.engineType)?be:l).wrap(null==e?null:parseFloat(e))}function Jo(e,t){t="native"===(null==t?void 0:t.engineType)?be:l;const i=Bi(e);var r=this.valuesArray&&this.valuesArray.filter(e=>e.value==i)[0];return t.wrap(this.values&&void 0!==this.values[i]||r?i:e)}function Xo(e,t){return("native"===(null==t?void 0:t.engineType)?be:l).wrap(void 0!==e?"true"===String(e).toLowerCase():e)}function Zo(e,t){var t="native"===(null==t?void 0:t.engineType)?be:l,i=(e||"").split(",");let r=t.wrap(e);return 3===i.length?r=t.wrap("rgb("+i.join(", ")+")"):4===i.length&&(e=Math.round(parseFloat(i[0])/255*100)/100,i.shift(),i.push(e.toString()),r=t.wrap("rgba("+i.join(", ")+")")),r}function Qo(e){return Math.round(e).toString()}function ed(e){e=td(e).split(",");return(parseInt(e[0])<<24)+(parseInt(e[1])<<16)+(parseInt(e[2])<<8)+parseInt(e[3])}function td(e){var t=(e||"").split(", ");let i=e;return 3===t.length?(t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],i=t.join(",")):4===t.length&&(e=Math.round(255*parseFloat(t[3])),t.pop(),t[0]=t[0].split("(")[1],i=e.toString()+","+t.join(",")),i}const id={};function rd(e,t){var r,s;E(t?e+": "+t:e,(r=e,s=t,function(e,t){var i={};return i[r]=function(){return"$data"===s?e.$data:void 0===s?void 0:e.$data[s]},i}))}function E(e,t){id[e]=t}function sd(e){return id[e]}function ad(e,t){rd(e,t)}function nd(e,t){E(e,t)}function od(t,i){return Object.keys(t||{}).map(e=>i(t[e]))}function dd(e,t){return C.observableArray(od(e,t))}rd("svgAttrs"),rd("dxButtonWithTemplate","options"),rd("dxButton","options"),rd("dxCheckBox","options"),rd("dxToolbarBase","options"),rd("dxToolbar","options"),rd("treelist","options"),E("template: 'dxrd-designer'",function(e,t){return{template:function(){return"dxrd-designer"}}});class ld extends s{constructor(e){super(),this.top=C.observable(!1),this.middle=C.observable(!1),this.bottom=C.observable(!1),this.left=C.observable(!1),this.right=C.observable(!1),this.center=C.observable(!1),this.justify=C.observable(!1),this.horizontalString=C.observable(De("Horizontal","ASPxReportsStringId.ReportDesigner_TextAlignment_Horizontal")),this.verticalString=C.observable(De("Vertical","ASPxReportsStringId.ReportDesigner_TextAlignment_Vertical")),this.disabled=e.disabled||C.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}_resetHorizontalValues(){this.left(!1),this.right(!1),this.center(!1),this.justify(!1)}_resetVerticalValues(){this.top(!1),this.middle(!1),this.bottom(!1)}setValue(e,t){this.disabled()||this[e]()||("Horizontal"==t?this._resetHorizontalValues():this._resetVerticalValues(),this[e](!0),this.updateValue())}updateModel(e){e=e||"TopLeft";this.top(-1!==e.indexOf("Top")),this.middle(-1!==e.indexOf("Middle")),this.bottom(-1!==e.indexOf("Bottom")),this.left(-1!==e.indexOf("Left")),this.right(-1!==e.indexOf("Right")),this.center(-1!==e.indexOf("Center")),this.justify(-1!==e.indexOf("Justify"))}updateValue(){var e=[];this.top()&&e.push("Top"),this.middle()&&e.push("Middle"),this.bottom()&&e.push("Bottom"),this.left()&&e.push("Left"),this.right()&&e.push("Right"),this.center()&&e.push("Center"),this.justify()&&e.push("Justify"),this.value(e.join(""))}}C.bindingHandlers.dxTextAlignmentEditor={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=Dt("dxrd-textalignment-editor"),a=_.fn.constructor(e).append(a);const n=new ld(t());return C.applyBindings({value:n},a.children()[0]),Ie(e,()=>n.dispose()),{controlsDescendantBindings:!0}}};class ud{constructor(){this.selectedItem=null,this.suppressActions=!0}dispose(){this.selectedItem=null}itemsFilter(e){return"parameters"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList||"none"===e.specifics)}hasItems(e){return"none"!==e.specifics}canSelect(e){return this.hasItems(e.data)&&!!e.path&&("List"===e.data.specifics||"ListSource"===e.data.specifics)||"none"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),(this.selectedItem=e).isSelected=!0)}isDraggable(e){return!1}}var I=e(12);class cd extends e.n(I).a{constructor(e,t){super(e,m(t,{showClearButton:!0})),this._path=C.observable(""),this._value=C.observable(""),this._parentViewport=null,this._itemsProvider=C.observable(null),this._hasDisplayNameOption=!1,this._defaultPosition=null;var i,e=_.fn.constructor(e);e.addClass("dx-fieldlistpicker"),this.option("path")&&this._path(null==(i=this.option("path"))?void 0:i.toString()),this.option("value")&&this._value(this.option("value")),this.option("itemsProvider")&&this._itemsProvider(this.option("itemsProvider")),this.option("valueChangeEvent","change"),this.option("openOnFieldClick",!1===this.option("acceptCustomValue")),this._parentViewport=e.parents(".dx-designer-viewport"),"displayValue"in t&&(this._hasDisplayNameOption=!0,this.option("displayValue",t.displayValue),this._setTitle(null==(i=this.option("displayValue"))?void 0:i.toString()))}updateOptions(e){e.showClearButton=!0}_showDropDown(){var e;this._popup&&(e=_.fn.constructor(this.element()),this._popup.option("width",e.width()),e=m(!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(),_.fn.constructor(this._popup.content())[0].style.height="auto",this._popup._renderPosition())}_getMaxHeight(){var e=_.fn.constructor(this.element()),t=e.offset(),i=_.fn.constructor(window).height(),t=Math.max(t.top,i-t.top-e.outerHeight());return Math.min(.5*i,t)}_closeOutsideDropDownHandler(e,t){super._closeOutsideDropDownHandler.apply(this,[e,!0])}_hideOnBlur(){return!1}_popupConfig(){var e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=super._popupConfig.apply(this);return this._defaultPosition=t.position,m(t,{container:this._parentViewport,contentTemplate:e&&e._template,hideOnOutsideClick:!0})}_setTitle(e){this.option("openOnFieldClick")&&_.fn.constructor(this.element()).attr("title",e)}_renderDisplayText(e){super._renderDisplayText.apply(this,[e])}_optionChanged(e){var t=e.name,i=e.value;switch(t){case"value":this._value(i),this._hasDisplayNameOption||this._renderDisplayText(i),setTimeout(_.proxy(()=>{this.option("opened",!1)},this),50),this.option("onValueChanged")&&this.option("onValueChanged")({value:i});break;case"path":this._path(i);break;case"itemsProvider":this._itemsProvider(i);break;case"displayValue":this._renderDisplayText(i),this._setTitle(i);break;default:super._optionChanged.apply(this,arguments),"opened"===t&&i&&this._showDropDown()}}_clearValueHandler(){_.fn.constructor(this._input()).val(null),super._clearValueHandler.apply(this,arguments)}_renderPopupContent(){super._renderPopupContent.apply(this,arguments);const e=C.pureComputed({read:()=>this._path()?this._path()+"."+this._value():this._value(),write:e=>{this._path()&&0<this._path().length?this._value(e.substr(this._path().length+1)):this._value(e),this.option("value",this._value())}});var t=_.fn.constructor("<div>").addClass("dx-treelist-wrapper").get(0),i=this._createComponent(t,"dxScrollView",{scrollByThumb:!0});const r=this;var i=_.fn.constructor(i.content()),s=_.fn.constructor(this.element()),s=(i.append(_.fn.constructor('<div data-bind="treelist: options"></div>')[0]),C.contextFor(s.get(0)));const a=this.option("treeListController");var n=C.computed(()=>({itemsProvider:this._itemsProvider(),onItemsVisibilityChanged:()=>{r._popup&&r._popup._renderPosition()},selectedPath:e,treeListController:a,path:this._path})),s=s.createChildContext({options:n});C.applyBindingsToDescendants(s,i.get(0)),_.fn.constructor(this._popup.content()).append(t)}}w()("dxFieldListPicker",cd);class pd extends s{constructor(){super(),this.popupVisible=C.observable(!1),this.buttonItems=[],this._createMainPopupButtons()}_createMainPopupButtons(){const t=this;this._disposables.push(this._disableSaveButton=C.pureComputed(()=>!t.canSave())),this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.saveLocalization,type:"default",stylingMode:"contained",onClick:function(e){t.save(e)},disabled:this._disableSaveButton}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.cancelLocalization,type:"normal",stylingMode:"contained",onClick:function(){t.close()}}}],this._disposables.push(this._disableSaveButton)}canSave(){return!0}save(e){this.popupVisible(!1)}close(){this.popupVisible(!1)}get cancelLocalization(){return De("Cancel",wo.DataAccessBtnCancel)}get saveLocalization(){return De("OK",wo.DataAccessBtnOK)}}class hd extends hn{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(v.unwrap(null==(e=this.editorOptions)?void 0:e.showClearButton)?[]:Xs)}}function gd(t,i){class e extends hd{getOptions(e){e=super.getOptions(e);return za.getNumberEditorOptions(t,i,e)}}return{header:"dx-number-editor",editorType:e}}var S=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};function md(t){const i=t.getModel(),e=e=>e?t.info&&t.info[e]:t.info,r=()=>e("addHandler").call(this);return{values:[...i.value],addHandler:()=>r(),onValueChanged:(e,t)=>{i._set("value",[...e])},info:t.info,level:t.level,displayName:f(t.displayName)}}function fd(i,e,r){let t=void 0;const s=l.wrap(r.disabled);let a=null;new mn(i,void 0,r.level+1,s);const n=c().createDefaultModel({disabled:s}).generateProperty("index",e).generateProperty("disabled",r.disabled).generateProperty("level",r.level).generateProperty("name",r.displayPropertyName&&i[r.displayPropertyName]?v.unwrap(i[r.displayPropertyName]):e).generateProperty("select",(e,t)=>r.select(e,t)).generateProperty("padding",r.padding).generateProperty("selected",e===r.selectedIndex).generateProperty("collapsed",!0).generateProperty("setCollapsed",e=>{n.collapsed=e,t()}).generateProperty("getProperties",e=>{var t;return a||(a=new mn(i,null!=(t=null==e?void 0:e.editorsInfo)?t:void 0,null!=(t=null==e?void 0:e.level)?t:r.level+1,null!=(t=null==e?void 0:e.disabled)?t:s),r._disposables.push(a)),a.getViewModel()}).generateProperty("getCollapsed",()=>n.collapsed).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("value",i).getViewModel();return v.isSubscribable(i[r.displayPropertyName])?r._disposables.push(i[r.displayPropertyName].subscribe(()=>{n.name=v.unwrap(i[r.displayPropertyName])})):"object"==typeof i&&"events"in i&&r.addDisposable(i.events.on(r.displayPropertyName+"Changed",e=>{e.propertyName===r.displayPropertyName&&(n.name=i[r.displayPropertyName])})),n}class vd extends Qi{constructor(i,e=!1){super(),this.buttonMap={delete:{text:"Delete",iconClass:"dx-image-remove",localizationId:"AnalyticsCoreStringId.Cmd_Delete"},add:{text:"Add",iconClass:"dx-image-add",localizationId:"DataAccessUIStringId.Button_Add"},down:{text:"Move Down",iconClass:"dx-image-movedown",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",iconClass:"dx-image-moveup",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}};const t=e=>e?i.info&&i.info[e]:i.info;var r=t();this.collapsed=!1!==i.collapsed,this.addHandler=()=>(i.addHandler||t("addHandler")).call(this),this.removeHandler=(e,t)=>{i.removeHandler?i.removeHandler(e,t):this.values.splice(t,1)},this.values=i.values,this.hideButtons=i.hideButtons||t("hideButtons"),this.showButtons=!v.unwrap(this.hideButtons)&&!this.collapsed,v.isSubscribable(this.hideButtons)&&this._disposables.push(this.hideButtons.subscribe(e=>{this.showButtons=!v.unwrap(this.hideButtons)&&!this.collapsed})),this._textEmptyArray=i.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},this.displayPropertyName=t("displayPropertyName"),this.showScroll=!!i.showScroll;const s=(e,t)=>i.isDisabledButton?i.isDisabledButton(e,t):"delete"===t?null===e:"add"!==t&&("up"===t?null===e||0===e:"down"===t?null===e||e===this.values.length-1:void 0);this.isDisabledButton=e=>this.disabled||s(this.selectedIndex,e),this.isVisibleButton=e=>!!this.showButtons&&(!i.isVisibleButton||i.isVisibleButton(this.selectedIndex,e)),this.padding=void 0!==i.level?i.level*js():0,this.displayName=r?f(r.displayName,r.localizationId):i.displayName,(this.options=i).displayName||(this.collapsed=!1,this.alwaysShow=!0),i.alwaysShow&&(this.alwaysShow=!0);r=v.unwrap(i.selectedItem);r&&(this._setSelectedIndex(r),this._disposables.push(i.selectedItem.subscribe(e=>{this._setSelectedIndex(e)}))),this.disabled=e,this.listKeyboardHelper=new xt,this.keyboardHelper=new ct(()=>this.getViewModel()),this.headerId="dxrd-ce-trigger-"+Gr(),this.contentId="dxrd-ce-pannel-"+Gr()}deferredUpdateViewModel(){return!1}createViewModel(){let t=void 0;var e=t=>c().generateProperty("action",e=>this[t](e)).generateProperty("disabled",this.isDisabledButton(t)).generateProperty("text",this.getDisplayTextButton(t)).generateProperty("visible",this.isVisibleButton(t)).generateProperty("template",mo(this.buttonMap[t].iconClass)).getViewModel(),e=c(super.createViewModel()).generateProperty("alwaysShow",this.alwaysShow).generateProperty("showButtons",this.showButtons).generateProperty("collapsed",this.collapsed).generateProperty("setCollapsed",e=>{this.collapsed=e}).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("buttons",c().generateProperty("add",e("add")).generateProperty("down",e("down")).generateProperty("delete",e("delete")).generateProperty("up",e("up")).getViewModel()).generateProperty("emptyAreaText",this.getDisplayTextEmptyArray()).generateProperty("disabled",this.disabled).generateProperty("getCollapsed",()=>this.collapsed).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("contentId",this.contentId).generateProperty("headerId",this.headerId).generateProperty("displayName",this.displayName).generateProperty("padding",this.padding).generateProperty("showScroll",this.showScroll).generateProperty("values",this.values.map((e,t)=>fd(e,t,this))).getViewModel();return this.addDisposable(this.events.on("collapsedChanged",e=>{t&&t()})),e}updateViewModel(e){const i=this.getViewModel();var t,r;i.collapsed=this.collapsed,i.alwaysShow=this.alwaysShow,i.showButtons=this.showButtons,"selectedIndex"===e.propertyName&&(r=e.oldValue,t=e.newValue,i.values[r]&&(i.values[r].selected=!1),i.values[t])&&(i.values[t].selected=!0),"values"===e.propertyName&&("added"in e?((r=e).added.forEach(t=>{for(let e=t.index;e<i.values.length;e++)i.values[e].index++;i.values.splice(t.index,0,fd(t.item,t.index,this))}),r.removed.forEach(t=>{for(let e=t.index;e<i.values.length;e++)i.values[e].index--;i.values.splice(t.index,1)}),this._timeoutItemRendered&&clearTimeout(this._timeoutItemRendered),this._timeoutItemRendered=setTimeout(()=>{this.listKeyboardHelper&&this.listKeyboardHelper.initialize()},100)):i.values=this.values.map((e,t)=>fd(e,t,this))),"values"!==e.propertyName&&"selectedIndex"!==e.propertyName&&"disabled"!==e.propertyName||Object.keys(i.buttons).forEach(e=>{i.buttons[e].disabled=this.isDisabledButton(e)}),"disabled"===e.propertyName&&(i.disabled=this.disabled,i.values.forEach(e=>{e.disabled=this.disabled,e.getModel().disabled(this.disabled)})),"showButtons"===e.propertyName&&Object.keys(i.buttons).forEach(e=>{i.buttons[e].visible=this.isVisibleButton(e)})}dispose(){super.dispose(),this.removeProperties()}_move(e,t){var i;0<=this.selectedIndex&&((t=(i=this.selectedIndex)+t)>=e.length||t<0||(this.values.splice(t,0,this.values.splice(i,1)[0]),this.selectedIndex=t))}_setSelectedIndex(e){e=this.values.indexOf(e);this.selectedIndex=-1===e?null:e}onPropertyChanged(e){var t;"collapsed"===e.propertyName?this.showButtons=!v.unwrap(this.hideButtons)&&!this.collapsed:"values"===e.propertyName&&null!=(t=this.options)&&t.onValueChanged(this.values,e)}getDisplayTextButton(e){return f(this.buttonMap[e].text,this.buttonMap[e].localizationId)}getDisplayTextEmptyArray(){return f(this._textEmptyArray.text,this._textEmptyArray.localizationId)}add(e){e.event.stopPropagation(),this.options.undoEngine&&this.options.undoEngine.start();var e=this.addHandler();e&&(e=this.values.push(e),this.options.undoEngine&&this.options.undoEngine.end(),this.options.selectedItem)&&this.select(this.getViewModel().values[e-1])}up(e){this._move(this.values,-1),e.event.stopPropagation()}down(e){this._move(this.values,1),e.event.stopPropagation()}delete(e){e.event.stopPropagation(),this.selectedIndex<0||(this.options.undoEngine&&this.options.undoEngine.start(),e=this.values[this.selectedIndex],this.removeHandler(e,this.selectedIndex),this.options.undoEngine&&this.options.undoEngine.end(),0<(e=this.values.length)?this.select(this.selectedIndex>=e?this.getViewModel().values[e-1]:this.getViewModel().values[this.selectedIndex],!0):this.select({index:null,value:null},!0))}select(e,t=!1){(this.selectedIndex!==e.index||t)&&(t&&this.selectedIndex===e.index&&(t={propertyName:"selectedIndex",newValue:this.selectedIndex,oldValue:this.selectedIndex},this.onPropertyChanged(t),this.updateViewModel(t)),this.selectedIndex=e.index,this.options.selectedItem)&&this.options.selectedItem(e.value)}}S([d(null)],vd.prototype,"selectedIndex",void 0),S([d(!0)],vd.prototype,"collapsed",void 0),S([d(!1)],vd.prototype,"alwaysShow",void 0),S([Xi(()=>[])],vd.prototype,"values",void 0),S([d(!1)],vd.prototype,"showButtons",void 0),S([d(()=>!1)],vd.prototype,"disabled",void 0);const xd=(t,i)=>{const r=C.computed(()=>C.isObservableArray(t.values)?t.values:C.unwrap(t.values)),s=t.addHandler,e=()=>{return(s||((e="addHandler")?C.unwrap(t.info)&&C.unwrap(t.info)[e]:C.unwrap(t.info))).call(void 0);var e};let a=!(t.addHandler=()=>e());const n=e=>{a||(a=!0,e(),a=!1)},o=(t.onValueChanged=(e,t)=>{n(()=>{var e;null!=(e=t.added)&&e.forEach(e=>r().splice(e.index,0,e.item)),null!=(e=t.removed)&&e.sort((e,t)=>t.index-e.index).forEach(e=>r().splice(e.index,1))})},new vd(Object.assign(Object.assign({},t),{values:[...r()()],undoEngine:C.unwrap(t.undoEngine),info:C.unwrap(t.info)}),C.unwrap(null==i?void 0:i.disabled))),d=(C.isSubscribable(null==i?void 0:i.disabled)&&o._disposables.push(i.disabled.subscribe(e=>{o.disabled=e})),o._disposables.push(r),()=>r().subscribe(e=>{n(()=>{e.forEach(e=>{"added"===e.status&&o.values.splice(e.index,0,e.value),"deleted"===e.status&&o.values.splice(e.index,1)})})},void 0,"arrayChange"));let l=d();return o._disposables.push(l),o._disposables.push(r.subscribe(e=>{n(()=>{l.dispose(),o.values=[...C.unwrap(e)],l=d(),o._disposables.push(l)})})),i&&C.isSubscribable(i.disabled)&&o._disposables.push(i.disabled.subscribe(e=>{o.disabled=C.unwrap(i.disabled)})),o},bd=(C.bindingHandlers.dxCollectionEditor={init:function(e,t,i,r,s){var a=t();let n="multiplatform";const o="multiplatform"===(n=!r||r instanceof hn||!r.getModel?n:r.getModel()._engineType)?xd(t(),r):new vd(md(r)),d=Dt(a.editorTemplate||"#dx-collectioneditor"),l=_.fn.constructor(d),u=C.unwrap(a.info),c=u&&u.template||a.template;c?(t=Dt(c),l.find(".dx-collection-item").append(_.fn.constructor(t))):l.find(".dx-collection-item").append(_.fn.constructor(e).children());r=_.fn.constructor(e).append(l),a=s.createChildContext(o.getViewModel());return C.applyBindings(a,r.children()[0]),Ie(e,()=>{o.dispose()}),{controlsDescendantBindings:!0}}},"dx-ellipsiseditor-warning");class yd extends _n.a{constructor(e,t){super(e,t)}_init(){super._init.apply(this),this._$element||(this._$element=_.fn.constructor(this.element())),this._$element.addClass("dx-ellipsiseditor dx-dropdowneditor"),this._koContext=C.contextFor(this._$element.get(0))}_render(){super._render.apply(this),this._renderButton(),this._updateWarningState(),this._attachInputEvents()}_updateWarningState(e=this.option("warningMessage")){e?(this._$element.attr("title",e.toString()),this._$element.addClass(bd)):(this._$element.removeAttr("title"),this._$element.removeClass(bd))}_renderButton(){this._$button=_.fn.constructor("<div />").addClass("dx-ellipsiseditor-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button"),this._attachButtonEvents(),this._$buttonIcon=_.fn.constructor("<div />").addClass("dx-ellipsiseditor-icon dx-ellipsis-image dx-dropdowneditor-icon").height("100%").append(kt.templates["dxrd-svg-ellipsis"]).appendTo(this._$button),C.applyBindingsToDescendants(this._koContext,this._$buttonIcon[0]);var e=this._buttonsContainer();this._$button.appendTo(e)}_updateButtonSize(){this._$buttonIcon.height(_.fn.constructor(this.element()).height())}_attachButtonEvents(){var e=[];this._$input||(this._$input=_.fn.constructor(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(e=>{e.on("click",this.buttonAction.bind(this))})}_attachInputEvents(){const e=this._input()[0];if(e){const t=e=>{(e.key==Be.Enter||e.key==Be.ArrowDown&&e.altKey)&&this.buttonAction(e)};e.addEventListener("keydown",t),Ie(e,function(){e.removeEventListener("keydown",t)})}}_optionChanged(e){switch(e.name){case"disabled":this._attachButtonEvents();break;case"warningMessage":this._updateWarningState(e.value)}super._optionChanged.apply(this,arguments)}buttonAction(e){this.option("buttonAction")&&(this.option("buttonAction")(),e.stopPropagation())}}w()("dxEllipsisEditor",yd);class _d extends yd{constructor(e,t){t.placeholder=t.placeholder||f("(none)","DxDesignerStringId.None"),super(e,t)}_getDisplayValue(){var e=this.option("placeholderId");return this.option("value")&&e?f(e,{Image:"AnalyticsCoreStringId.ImagePicker_Placeholder",File:"AnalyticsCoreStringId.FilePicker_Placeholder"}[e]):this.option("value")}_handleResult(e){this.option("useFormat")&&this.option("format",e.format),this.option("value",e.content)}_renderInput(e){var t=e&&_.fn.constructor(e)||_.fn.constructor("<div />");t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),_.fn.constructor(this.element()).append(this._inputContainer),super._renderInput.apply(this,[e])}_attachButtonEvents(){this._$button.off("click"),this.option("disabled")||this._$button.on("click",e=>{e.stopPropagation(),e.preventDefault(),Je({accept:(null==(e=this.option("accept"))?void 0:e.toString())||"image/*",readMode:null==(e=this.option("readMode"))?void 0:e.toString()}).done(e=>{this._handleResult(e)})})}_renderValue(){this.option("text",this._getDisplayValue()),super._renderValue.apply(this)}}w()("dxFileImagePicker",_d);const Cd=[{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"}];class wd extends s{constructor(t){super(),this.family=C.observable(null),this.unit=C.observable(null),this.isUpdateModel=!1,this.size=C.observable(null),this.modificators={bold:C.observable(!1),italic:C.observable(!1),strikeout:C.observable(!1),underline:C.observable(!1)},this.updateModel(t()),this._disposables.push(t.subscribe(e=>{this.isUpdateModel=!0,this.updateModel(e),this.isUpdateModel=!1})),this._disposables.push(this.modificators.bold.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.italic.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.strikeout.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.underline.subscribe(e=>this.updateValue(t))),this._disposables.push(this.family.subscribe(e=>this.updateValue(t))),this._disposables.push(this.size.subscribe(e=>this.updateValue(t))),this._disposables.push(this.unit.subscribe(e=>this.updateValue(t)))}_toString(){var e=[this.family(),this.size()+this.unit()].join(", "),t=[],t=(this.modificators.bold()&&t.push("Bold"),this.modificators.italic()&&t.push("Italic"),this.modificators.underline()&&t.push("Underline"),this.modificators.strikeout()&&t.push("Strikeout"),t.join(", "));return t?[e,t].join(", style="):e}updateModel(e){const t=(e=e||Ws()).split(","),i=(this.family(t[0]),this);Cd.forEach(function(e){-1!=t[1].trim().indexOf(e.value)&&(i.size(parseFloat(t[1].split(e.value)[0])),i.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"))}updateValue(e){this.isUpdateModel||e(this._toString())}}const Ad=C.bindingProvider.prototype.parseBindingsString,Ed=(C.utils.extend(C.bindingProvider.prototype,{parseBindingsString:function(t,e,i,r){try{var s=sd(t.trim());return s?s(e,i):Ad.call(C.bindingProvider.instance,t,e,i,r)}catch(e){throw e.message="Unable to parse bindings.\nBindings value: "+t+"\nMessage: "+e.message,e}}}),$i()().optionsParser),Id=($i()({optionsParser:function(e){var t=sd(e.trim());return t?t():Ed(e)}}),kt.extendTemplates({"dxrd-svg-fieldlist-list":"dxrd-svg-fieldlist-table","dxrd-svg-fieldlist-default":"dxrd-svg-fieldlist-column"}),C.templateEngine.prototype.makeTemplateSource);C.templateEngine.prototype.makeTemplateSource=function(e,t){return"string"==typeof e&&kt.getExistingTemplate(e,!1)&&!document.getElementById(e)?new $t(e,kt._instance._data,kt.templates):Id.apply(this,[e,t])};var Sd,k,P=e(10),$d=e.n(P);const kd=function(){let t;return e=>void 0===(t=void 0!==e?e:t)?!!$d.a:t}();class Pd extends s{constructor(i,e,t,r){super(),this.searchPlaceholder=()=>He(),this._categories=C.observableArray([]),this.toolBox=[],this.description=C.observable(),this._defaultClick=i,To.filter(e=>!!e.descriptionStringId).forEach(e=>this._initDescription(e));const s=C.computed(()=>t()&&C.unwrap(t().functions)||Io()),a=C.computed(()=>s().map(e=>this._createFunctionsCategoryItem(e.items,f(e.display,e.localizationId)))),n=()=>[this._createFieldsCategory(r,e),this._createConstantCategory(),this._createFunctionsCategory(a),this._createOperatorsCategory(To)],o=C.observable(null),d=()=>{var e=this._categories()[0].content;o()&&o().isSelected(!1),o(e),e.isSelected(!0)},l=e=>{this._disposeCategories();var t=n();e&&e.customizeCategories&&e.customizeCategories(this,t,i),this._categories(t),d()};this.resetCategoriesSelection=d,[s,a].forEach(e=>this._disposables.push(e)),this._disposables.push(t.subscribe(e=>{l(e)})),l(t()),this._disposables.push(this.showDescription=C.computed(()=>o()&&o().showDescription)),this.toolBox=[this._generateTab(this._categories,"dx-expressioneditor-categories",e=>{var t;e.data&&e.data.selectedItem&&e.data.selectedItem()&&-1!==e.data.items.indexOf(e.data.selectedItem())?(t=e.data.selectedItem(),this.description(this._localizedExpressionEditorItem(t))):this.description(void 0),o()!==e&&(o().isSelected(!1),e.isSelected(!0),o(e))}),this._generateTab(o,"dx-expressioneditor-selectedcontent",e=>{this.description(this._localizedExpressionEditorItem(e))},this._defaultClick),this._generateTab(this.description,"dx-expressioneditor-description",void 0,void 0,this.showDescription)]}_generateTab(e,t=null,i,r,s){return{templateName:t,content:e,click:i,dblclick:r,visible:s||!0}}_localizedExpressionEditorItem(e){return e.descriptionStringId?f(e.text,e.descriptionStringId):e.description||e.text}_initDescription(e){e.description=this._localizedExpressionEditorItem(e)}_createFieldsCategory(e,t){return{displayName:f("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:C.observable(!1),data:{fields:e,parameters:t},name:"dx-expressioneditor-fields"},dispose:()=>{}}}_createConstantCategory(){return Po([{text:"?",descriptionStringId:"ExpressionEditorStringId.Constant_Null"},{text:"False",descriptionStringId:"ExpressionEditorStringId.Constant_False"},{text:"True",descriptionStringId:"ExpressionEditorStringId.Constant_True"}],"Constants","DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants",!0)}_createOperatorsCategory(e){return Po(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)}_createFunctionsCategoryContent(e,t,i){return{showDescription:!0,isSelected:t,data:{textToSearch:e,items:i,availableItems:C.observableArray(i),selectedItem:C.observable(null)},name:"dx-expressioneditor-collection-function"}}_createFunctionsCategoryItem(e,t){const i={display:t,isSelected:C.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return _.map(e,e=>{e&&e.forEach(e=>{this._initDescription(e),i.data.push(e)})}),i}_createFunctionsCategory(e){let i=null;const r=C.observable(""),t=[],s=C.observable(!1),a=C.computed(()=>[].concat(...e().map(e=>e.data))),n=this._createFunctionsCategoryContent(r,s,a()),o={displayName:f("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:e,allItems:a,isSelected:s,content:n,collapsed:C.observable(!0),updateContent:(e,t)=>{n.isSelected&&n.isSelected(!1),n.isSelected=t,n.isSelected(!0),n.data.items=e,n.data.availableItems(n.data.items.filter(e=>!!et(e.text,r())))},templateName:"dx-expressioneditor-category-accordion",dispose:()=>{t.forEach(e=>e.dispose()),t.splice(0,t.length)}};return t.push(a),t.push(r.subscribe(t=>{i&&clearTimeout(i),i=setTimeout(()=>{o.content.data.availableItems(o.content.data.items.filter(e=>!!et(e.text,t)))},150)})),o}_disposeCategories(){this._categories().forEach(e=>e.dispose&&e.dispose())}dispose(){super.dispose(),this._disposeCategories()}}class Dd{constructor(){this.selectedItem=null}dispose(){this.selectedItem=null}itemsFilter(e,t){return!0}hasItems(e){return"none"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList)}canSelect(e){return!e.hasItems}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),(this.selectedItem=e).isSelected=!0)}isDraggable(e){return!1}}class Td extends Dd{constructor(e,t,i,r){super(),this.fieldName=e,this.putSelectionHandler=t,this.selectionHandler=i,this.customFilter=r}itemsFilter(e,t){return"none"!==e.specifics&&"ReportItems"!==e.name&&(!this.customFilter||this.customFilter(t))}select(e){this.selectionHandler?this.selectionHandler(e):super.select(e)}getActions(t){return[{clickAction:e=>this.putSelectionHandler(t,_.fn.constructor(e))}]}canSelect(e){return!0}}class Fd extends Dd{constructor(e,t,i){super(),this.customFilter=e,this.putSelectionHandler=t,this.selectionHandler=i}itemsFilter(e){return"none"!==e.specifics&&(!this.customFilter||this.customFilter(e))}select(e){this.selectionHandler(e)}getActions(t){return[{clickAction:e=>{t&&!t.hasItems&&this.putSelectionHandler(t.path,_.fn.constructor(e))}}]}canSelect(e){return!0}}class Bd extends s{constructor(e,t,i,r,s){super(),this._filterPlaceHolder=He(),this.showPopup=(e,t)=>{this.dispose(),this._disposables.splice(0),this._popupService.title(""),this.target.isSelected(!0),this._updateActions(this.target),this._popupService.target(t),setTimeout(()=>{this._popupService.visible(!0)},10)},this.popupContentTemplate="dx-filtereditor-popup-common",this.filterString=C.observable(""),this.isFiltered=C.observable(!1),this.target=e,this._action=i,this.propertyName=r,this._popupService=t,this.popupContentTemplate=s||this.popupContentTemplate}_updateActions(t){if(this._popupService.data(null),t){this._disposables.push(this._popupService.visible.subscribe(e=>{this.target.isSelected(e),this.filterString("")}));let e=(this._popupService.viewModel=t)[this.propertyName];this.isFiltered(!1),e&&10<e.length&&(this.isFiltered(!0),this._disposables.push(e=C.pureComputed(()=>this.filterString()?t[this.propertyName].filter(e=>-1!=(e.displayText||e.name).toLocaleLowerCase().indexOf(this.filterString().toLocaleLowerCase())):t[this.propertyName]))),this._popupService.data({data:e,template:this.popupContentTemplate,click:e=>{t[this._action](e),this._popupService.visible(!1)},isFiltered:this.isFiltered,filterString:this.filterString,searchPlaceholder:()=>He()})}}}class Od extends s{constructor(e,t,i,r){super(),this.isUpdated=C.observable(!1),this.canRemove=!0,this.operatorType=C.observable(null),this.templateName="dx-filtereditor-common",this.isSelected=C.observable(!1),this.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",this.popupService=t.popupService||{visible:C.observable(!1)},this.model=e,this.helper=t.helper,this.fieldListProvider=i,this.path=r,this.parent=t,this.operatorType(e.operatorType),this._disposables.push(this.operatorType.subscribe(e=>{this.model.assignType(e)}))}_createLeftPartProperty(e){let t;return e instanceof ea?t=this.createChildSurface(e):(t=this.createChildSurface(e),e=Object.keys(this.helper.filterEditorOperators).reduce((e,t)=>e="_common"!==t&&"integer"===e&&this.helper._getFilterEditorOperator(this.model,this.helper.filterEditorOperators[t],this.reverse)?t:e,"integer"),t.specifics=t.specifics||C.observable(e)),t.canChange=!1,t.canRemove=!1,t&&"aggregate"===t.model.type?(this.specifics=C.computed(()=>t.aggregatedExpression()&&t.aggregatedExpression().specifics()||"integer"),this.dataType=C.computed(()=>t.aggregatedExpression()&&t.aggregatedExpression().dataType()||"integer"),this._disposables.push(this.specifics),this._disposables.push(this.dataType)):(this.specifics=t.specifics,this.dataType=t.dataType),this.isUpdated=t.isUpdated,t}createChildSurface(e,t,i){return new this.helper.mapper[e.type](e,this,this.fieldListProvider,t||this.path)}getDisplayType(){var e=this.operatorType&&this.operatorType()||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||f(t.name,t.localizationId))||this.model.displayType||e}get items(){return this.helper.filterEditorOperators[this.specifics()]||this.helper.filterEditorOperators._common}get displayType(){return this.getDisplayType()}get leftPart(){return null}get rightPart(){return null}get css(){return this.operatorClass+(this.isSelected()?" selected":"")}change(e,t){!t&&e&&this.model.enumType===e.type&&this.reverse===e.reverse&&e.type!==h?this.operatorType(e.value):this.parent.change(e,this),this.helper.onChange()}remove(e){this.parent.remove(this),this.helper.onChange()}}class Md extends Od{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-unary",this.operand=C.observable(null);let s=this.createChildSurface(e.operand);e.operatorType===u.Not?(this.templateName="dx-filtereditor-not",s.reverse=!0,this.specifics=s.specifics):(s.dispose(),s=this._createLeftPartProperty(e.operand)),this.operand(s)}get leftPart(){let e=this.operand();return e=this.operand()&&this.operand().reverse&&this.operand().leftPart?this.operand().leftPart:e}get rightPart(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null}createChildSurface(e,t,i){return this.operatorType()!==u.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new sa(zs.And,[e])),super.createChildSurface(this.model.operand,t,i)}dispose(){this.operand().dispose(),super.dispose()}}class Nd extends Od{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-aggregate",this.property=C.observable(null),this.aggregatedExpression=C.observable(null),this.condition=C.observable(null),this.property(this._createLeftPartProperty(e.property));const s=C.computed(()=>this.path()+"."+this.property().propertyName());this._disposables.push(s),e.aggregatedExpression&&(this.aggregatedExpression(this.createChildSurface(e.aggregatedExpression,s)),this.templateName="dx-filtereditor-aggregate-common"),"Count"===e.operatorType&&(this.templateName="dx-filtereditor-aggregate-common");t=this.createChildSurface(e.condition,s);t.canRemove=!1,t instanceof Md&&(t.operand().canRemove=!1),this.condition(t),this.change=(e,t)=>{var i;t?(i=this.model.change(e,t.model),(i=this.createChildSurface(i,s)).canRemove=!1,i instanceof Md&&(i.operand().canRemove=!1),this.condition(i)):"Exists"!==this.operatorType()&&"Count"!==this.operatorType()&&(!e||"Exists"!==e.value&&"Count"!==e.value)?super.change(e,t):this.parent.change(e,this),this.helper.onChange()}}get leftPart(){return this.property&&this.property()}get rightPart(){return this.aggregatedExpression()}dispose(){this.property().dispose(),this.condition().dispose(),this.aggregatedExpression()&&this.aggregatedExpression().dispose(),super.dispose()}}class Vd extends Od{constructor(e,t,i,r){super(e,t,i,r),this.property=C.observable(null),this.end=C.observable(null),this.begin=C.observable(null),this.contentTemplateName="dx-filtereditor-between",this.property(this._createLeftPartProperty(e.property)),this.begin(this.createChildSurface(e.begin)),this.end(this.createChildSurface(e.end))}get leftPart(){return this.property&&this.property()}get rightPart(){return[this.begin(),this.end()]}dispose(){this.property().dispose(),this.begin().dispose(),this.end().dispose(),super.dispose()}}class zd extends Od{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-binary",this.leftOperand=C.observable(null),this.rightOperand=C.observable(null),this.leftOperand(this._createLeftPartProperty(e.leftOperand)),this.rightOperand(this.createChildSurface(e.rightOperand))}get leftPart(){return this.leftOperand()}get rightPart(){return this.rightOperand()}dispose(){this.leftOperand().dispose(),this.rightOperand().dispose(),super.dispose()}}function Ld(e){e.displayText=f(e.name,e.localizationId)}class Hd extends Od{constructor(e,t,i,r){super(e,t,i,r),this.canChange=!0,this.canRemove=!1,this.changeValueType=e=>{var t=this.getRealParent(this.parent),i=this.getRealProperty(this),i=this.getPropertyName(t,i),e=t.model.changeValueType(e.instance,i);null!==i.index?(t[i.name]()[i.index].dispose(),t[i.name].splice(i.index,1,t.createChildSurface(e))):(t[i.name]().dispose(),t[i.name](t.createChildSurface(e))),this.helper.onChange()}}getRealParent(e){return e instanceof Md?this.getRealParent(e.parent):e}getRealProperty(e){return e.parent instanceof Md?this.getRealProperty(e.parent):e}getPropertyName(e,r){let s=null,a=null;return _.each(e,(e,t)=>{var i;Array.isArray(C.unwrap(t))&&C.isObservable(t)?-1<(i=C.unwrap(t).indexOf(r))&&(s=i,a=e):r===C.unwrap(t)&&C.isObservable(t)&&(a=e)}),{index:s,name:a}}getConvertableParameters(t){return this.helper.parameters()?this.helper.parameters().filter(e=>{e=e.specifics&&e.specifics.toLowerCase();return!(null==e||null==t||e!==t&&"default"!==t&&"string"!==t&&("float"===t?"integer"!==e:"enum"!==t||"integer"!==e&&"string"!==e))}):[]}get changeTypeItems(){var e=[{name:"Value",instance:Zs,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:ea,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(0<this.getConvertableParameters(this.parent.specifics()).length||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:Qs,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(Ld),e}}class Rd extends Hd{constructor(t,e,i,r){if(super(t,e,i,r),this.canRemove=!0,this.contentTemplateName="dx-filtereditor-function",this.operands=C.observableArray([]),0===t.operands.length)e instanceof Md?this.specifics=e.parent.specifics:this.specifics=e.specifics,this.contentTemplateName="dx-filtereditor-function-lightweight",this.canRemove=!1;else{this.operands.push(this._createLeftPartProperty(t.operands[0]));for(let e=1;e<t.operands.length;e++)this.operands.push(this.createChildSurface(t.operands[e]))}}get leftPart(){return this.operands&&this.operands()[0]}get rightPart(){return this.operands&&this.operands().filter((e,t)=>0!==t)}get displayType(){var e=this.items.filter(e=>this.operatorType()===e.value&&this.reverse===e.reverse&&this.model.enumType===e.type)[0];return e&&e.name?e.displayText||f(e.name,e.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":h[this.operatorType()]}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class jd extends Od{constructor(e,t,i,r){super(e,t,i,r),this.templateName="dx-filtereditor-group",this.operatorClass="criteria-operator-item-group dxd-filter-editor-group-back-color dxd-filter-editor-text-color",this.operands=C.observableArray([]),this.createItems=null,this.createItems=[{name:"Add group",value:!0,localizationId:"StringId.FilterMenuGroupAdd"},{name:"Add condition",value:!1,localizationId:"StringId.FilterMenuConditionAdd"}],this.createItems.forEach(Ld),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.specifics=C.observable("group")}change(e,t){var i,r;t?(r=t.specifics()||"integer",r=this.helper.filterEditorOperators[r]||this.helper.filterEditorOperators._common,e||(e=r.filter(e=>t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type)[0]||r[0]),r=this.model.change(e,t.model,t.leftPart instanceof Nd&&"list"!==t.leftPart.leftPart.specifics()),i=this.operands().indexOf(t),r=this.createChildSurface(r),this.operands()[i].dispose(),this.operands.splice(i,1,r)):super.change(e,t),this.helper.onChange()}remove(e){(e?(this.model.remove(e.model),this.operands.remove(e),e):(this.parent.remove(this),this)).dispose(),this.helper.onChange()}create(e){e=this.model.create(e.value,new ea);this.operands.push(this.createChildSurface(e)),this.helper.onChange()}get rightPart(){return this.operands()}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class Wd extends Od{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-in",this.operands=C.observableArray([]),this.criteriaOperator=C.observable(null),this.criteriaOperator(this._createLeftPartProperty(e.criteriaOperator)),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.addValue=()=>{var e=new Zs(null);this.model.operands.push(e),this.operands.push(this.createChildSurface(e))}}get leftPart(){return this.criteriaOperator()}get rightPart(){return this.operands()}dispose(){this.criteriaOperator().dispose(),this.operands().forEach(e=>e.dispose()),super.dispose()}}class Gd extends Hd{constructor(e,t,i,r){super(e,t,i,r),this.changeParameter=e=>{this.model.parameterName=e.name,this.parameterName(e.name),this.helper.onChange()},this.operatorClass="criteria-operator-item-parameter dxd-filter-editor-parameter-back-color dxd-filter-editor-text-color",this.parameterName=C.observable(""),this.templateName="dx-filtereditor-parameter",this.specifics=t.specifics,this.parameterName(e.parameterName),!this.parameterName()&&0<this.items.length&&this.changeParameter(this.items[0]),this.specifics&&this._disposables.push(this.specifics.subscribe(e=>{0==this.items.filter(e=>C.unwrap(e.name)==this.parameterName()).length&&(0<this.items.length?this.changeParameter(this.items[0]):this.changeParameter({name:""}))}))}get items(){return this.getConvertableParameters(this.specifics())}get displayType(){return null}}class Ud extends Hd{constructor(e,t,i,r){super(e,t,i,r),this._displayName=C.observable(""),this.propertyName=C.observable(""),this.specifics=C.observable("integer"),this.dataType=C.observable(""),this.valueType=C.observable(""),this.changeProperty=e=>{this.fieldsOptions().selected(e)},this.templateName="dx-filtereditor-property",this.operatorClass="criteria-operator-item-field dxd-filter-editor-field-back-color dxd-filter-editor-field-back-color dxd-filter-editor-text-color",this.propertyName(e.propertyName);t=this.helper.generateTreelistOptions(i,r);t.options&&t.subscription?(this.fieldsOptions=t.options,this._disposables.push(t.subscription)):this.fieldsOptions=t,this._disposables.push(this.fieldsOptions().selectedPath.subscribe(e=>{var t=this.fieldsOptions().selectedPath().substr(this.path&&0<this.path().length?this.path().length+1:0);this.propertyName(t),this.model.propertyName=t,this.popupService.visible(!1)})),this._disposables.push(this.fieldsOptions().selected.subscribe(e=>{this._updateDisplayName(r,this.propertyName(),e.displayName);let t=e.specifics.toLowerCase();0===t.indexOf("calc")&&(t=t.split("calc")[1]),this.specifics()===t&&this.dataType()===e.dataType||(this.specifics(t),this.dataType(e.dataType),this.parent.change()),this.helper.onChange()})),this.fieldsOptions().selectedPath(this.path&&C.unwrap(this.path)?[C.unwrap(this.path),this.propertyName()].join("."):this.propertyName()),this._updateSpecifics(),this._disposables.push(this.displayName=C.computed(()=>this._displayName()||this.propertyName()))}_updateDisplayName(e,t,i){this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(C.unwrap(e),t).done(e=>{this._displayName(e)}):this._displayName(i)}_updateSpecifics(){var e=this.propertyName().split(".");let i=e.pop();C.unwrap(this.fieldsOptions).itemsProvider&&(this.isUpdated(!0),C.unwrap(this.fieldsOptions).itemsProvider.getItems(new Kr([this.path()].concat(e).join("."))).done(e=>{var t=e.filter(e=>"List"!==e.specifics&&!e.isList),t=(!this.propertyName()&&0<t.length&&(this.model.propertyName=t[0].name,this.propertyName(t[0].name),i=t[0].name),e.filter(e=>e.name===i)[0]);if(t){let e=t.specifics.toLowerCase();0===e.indexOf("calc")&&(e=e.split("calc")[1]),this.specifics(e),this.dataType(t.dataType),this._updateDisplayName(this.path,this.propertyName(),t.displayName)}}).always(()=>{this.isUpdated(!1)}))}get items(){return this.fieldsOptions}get displayType(){return null}}class qd extends Hd{constructor(t,e,i,r){super(t,e,i,r),this._value=C.observable(null),this._scroll=null,this._updateDate=function(e){"date"===e?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},this.changeValue=()=>{var e=this.getRealParent(this.parent),t=this.getRealProperty(this),t=this.getPropertyName(e,t),i=e.model.changeValue(this.model,this.reverse,t);null!==t.index?(e[t.name]()[t.index].dispose(),e[t.name].splice(t.index,1,e.createChildSurface(i))):(e[t.name]().dispose(),e[t.name](e.createChildSurface(i)))},this.dataType=C.observable(""),this.values=C.observable([]),this.isEditable=C.observable(!1),this.templateName="dx-filtereditor-value",this._getBaseOptions=e=>({value:this._value,onFocusOut:()=>this.isEditable(!1),onFocusIn:()=>this.scrollTo(e)}),this.getNumberEditorOptions=e=>za.getNumberEditorOptions(this.dataType(),this.specifics(),this._getBaseOptions(e)),this.getStringEditorOptions=e=>this._getBaseOptions(e),this.getBoolEditorOptions=(e,t)=>Object.assign({dataSource:[{val:"True",text:"Yes",localizationId:"AnalyticsCoreStringId.ParametersPanel_True"},{val:"False",text:"No",localizationId:"AnalyticsCoreStringId.ParametersPanel_False"}],valueExpr:"val",displayExpr:"text",dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e)),this.getDateEditorOptions=(e,t)=>Object.assign({closeOnValueChange:!0,type:"date",dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e)),this.getListEditOptions=(e,t)=>{var i="object"!=typeof this.items[0];return Object.assign({dataSource:this.dataSource,acceptCustomValue:i,valueExpr:i?void 0:"value",displayExpr:i?void 0:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e))};let s=null;this._disposables.push(this.dataSource=C.computed(()=>(s&&s.dispose(),s=new Tr.a({store:this.values(),paginate:200<this.values().length,pageSize:100})))),e instanceof Md?(this.specifics=e.parent.specifics,this.isUpdated=e.parent.isUpdated,this.dataType=e.parent.dataType,e.model.operatorType===u.Minus&&(this.reverse=!0)):(this.specifics=e.specifics,this.isUpdated=e.isUpdated,this.dataType=e.dataType),t.specifics&&C.isWritableObservable(this.specifics)&&this.specifics(t.specifics),this._disposables.push(this.specifics.subscribe(e=>{this.isUpdated&&this.isUpdated()||(t.specifics=e,this._updateDate(e))})),this._value(t.value),this._disposables.push(this._value.subscribe(e=>{this.model.value=e,this.helper.onChange()})),Ya(this._value())&&this._updateDate(this.specifics()),this._disposables.push(this.value=C.computed({read:()=>{let t=this._value();if(t instanceof Date&&(t=Ue(t)),0<this.items.length){var e=this.items.filter(e=>String(e.value)===String(t))[0];if(e)return e.display}return null!==(t=this.reverse?"-"+t:t)&&void 0!==t&&""!==t?t:this.getDefaultValue()},write:e=>{0<e&&!this.reverse||e<0&&this.reverse?this._value(e):(0<e&&this.reverse||e<0&&!this.reverse)&&(this.reverse=!this.reverse,this._value(e<0?(""+e).substring(1):e),this.changeValue())}})),this._disposables.push(C.computed(()=>{var e=C.unwrap(i);e&&e.getValues&&this.parent.leftPart instanceof Ud&&this.parent.leftPart.propertyName()&&e.getValues(new Kr(C.unwrap(this.path)+"."+this.parent.leftPart.propertyName())).done(e=>{this.values(e)})})),t.specifics=this.specifics()}get items(){return this.values()}get displayType(){return null}isDefaultDisplay(){return this.value()===this.getDefaultValue()}getDefaultValue(){return qd._defaultValue||(qd._defaultValue=f("Enter a value","StringId.FilterEmptyEnter"))}scrollTo(e){var t;this._scroll||(t=e.closest(".dx-filtereditor-tree"),this._scroll=Pr.a.getInstance(t)),this._scroll.scrollToElement(e)}}class Kd{constructor(e){this.selectedItem=e}itemsFilter(e){return!0}hasItems(e){return"none"!==e.specifics&&"List"!==e.specifics&&!0===e.isList}canSelect(e){return!e.data.isList||!0===e.data.isList&&"List"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem(e.data),e.isSelected=!0)}dispose(){this.selectedItem=null}isDraggable(e){return!1}}(k=Sd=Sd||{})[k.Left=0]="Left",k[k.Right=1]="Right",k[k.Unary=2]="Unary";class Yd{customValidate(e,t){return!1}checkLeftPart(e){return e instanceof ea||this.customValidate(e,Sd.Left)}_checkRightPart(e){return e instanceof ea||e instanceof Qs||e instanceof Zs||e instanceof Ho||e instanceof ta&&this._checkRightPart(e.operand)||this.customValidate(e,Sd.Right)}checkRightPart(t){if(Array.isArray(t)){for(let e=0;e<t.length;e++)if(!this._checkRightPart(t[e]))return!1;return!0}return this._checkRightPart(t)}aggregateIsValid(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||e.aggregatedExpression instanceof ea||this.validateModel(e.aggregatedExpression))}commonOperandValid(e){return e.leftPart instanceof ia?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)}groupIsValid(t){for(let e=0;e<t.operands.length;e++)if(!this.validateModel(t.operands[e]))return!1;return!0}unaryIsValid(e){return e.operand instanceof ea||this.validateModel(e.operand)||this.customValidate(e.operand,Sd.Unary)}validateModel(e){return e instanceof ia?this.aggregateIsValid(e):e instanceof sa?this.groupIsValid(e):e instanceof ta?this.unaryIsValid(e):this.commonOperandValid(e)}}class Jd{constructor(e){this.rtl=!1,this.parameters=C.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new Yd,this.filterEditorOperators={_common:[{name:"Equals",_type:"binary",insertVal:"==",value:p.Equal,type:p,localizationId:"StringId.FilterClauseEquals"},{name:"Does not equal",_type:"binary",hidden:!0,reverse:!0,value:p.Equal,type:p,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Does not equal",_type:"binary",insertVal:"!=",value:p.NotEqual,type:p,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Equals",_type:"binary",reverse:!0,hidden:!0,value:p.NotEqual,type:p,localizationId:"StringId.FilterClauseEquals"},{name:"Is greater than",_type:"binary",insertVal:">",value:p.Greater,type:p,localizationId:"StringId.FilterClauseGreater"},{name:"Is less than or equal to",_type:"binary",hidden:!0,reverse:!0,value:p.Greater,type:p,localizationId:"StringId.FilterClauseGreater"},{name:"Is greater than or equal to",_type:"binary",insertVal:">=",value:p.GreaterOrEqual,type:p,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than",_type:"binary",hidden:!0,reverse:!0,value:p.GreaterOrEqual,type:p,localizationId:"StringId.FilterClauseLess"},{name:"Is less than",_type:"binary",insertVal:"<",value:p.Less,type:p,localizationId:"StringId.FilterClauseLess"},{name:"Is greater than or equal to",_type:"binary",reverse:!0,hidden:!0,value:p.Less,type:p,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than or equal to",_type:"binary",insertVal:"<=",value:p.LessOrEqual,type:p,localizationId:"StringId.FilterClauseLessOrEqual"},{name:"Is greater than",_type:"binary",reverse:!0,hidden:!0,value:p.LessOrEqual,type:p,localizationId:"StringId.FilterClauseGreater"},{name:"Is between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:Mo,localizationId:"StringId.FilterClauseBetween"},{name:"Is not between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:Mo,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"}],string:[],guid:[],integer:[],float:[],date:[],list:[],group:[],bool:[]},this.onChange=()=>{},this.onEditorFocusOut=e=>{},this.onSave=e=>{},this.onClosing=()=>{},this.handlers={create:(e,t)=>({data:new Bd(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}),change:(e,t)=>({data:new Bd(e,t,"change","items"),templateName:"dx-filtereditor-change"}),changeProperty:(e,t)=>({data:new Bd(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}),changeValueType:(e,t)=>({data:new Bd(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}),changeParameter:(e,t)=>({data:new Bd(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"})},this.mapper={aggregate:Nd,property:Ud,parameter:Gd,value:qd,group:jd,between:Vd,binary:zd,function:Rd,in:Wd,unary:Md,default:Od},this.serializer=e||new Ro,this.filterEditorOperators.string=[].concat(this.filterEditorOperators._common,[{name:"Contains",_type:"function",insertVal:"Contains(, )",value:h.Contains,type:h,localizationId:"StringId.FilterClauseContains"},{name:"Does not contain",_type:"function",value:h.Contains,type:h,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},{name:"Begins with",_type:"function",insertVal:"StartsWith(, )",value:h.StartsWith,type:h,localizationId:"StringId.FilterClauseBeginsWith"},{name:"Ends with",_type:"function",insertVal:"StartsWith(, )",value:h.EndsWith,type:h,localizationId:"StringId.FilterClauseEndsWith"},{name:"Is like",_type:"binary",insertVal:"Like",value:p.Like,type:p,localizationId:"StringId.FilterClauseLike"},{name:"Is not like",_type:"binary",insertVal:"Not Like",value:p.Like,type:p,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:No,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:No,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is blank",_type:"function",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:h.IsNullOrEmpty,type:h,localizationId:"StringId.FilterClauseIsNullOrEmpty"},{name:"Is not blank",_type:"function",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:h.IsNullOrEmpty,type:h,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"}]),this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:u.IsNull,type:u,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:u.IsNull,type:u,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:No,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:No,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"}]),this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.bool=this.filterEditorOperators.integer,this.filterEditorOperators.date=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:u.IsNull,type:u,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:u.IsNull,type:u,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",type:No,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:No,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is beyond this year",_type:"function",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:h.IsOutlookIntervalBeyondThisYear,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},{name:"Is next week",_type:"function",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:h.IsOutlookIntervalNextWeek,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},{name:"Is tomorrow",_type:"function",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:h.IsOutlookIntervalTomorrow,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},{name:"Is today",_type:"function",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:h.IsOutlookIntervalToday,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},{name:"Is yesterday",_type:"function",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:h.IsOutlookIntervalYesterday,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},{name:"Is last week",_type:"function",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:h.IsOutlookIntervalLastWeek,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},{name:"Is prior this year",_type:"function",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:h.IsOutlookIntervalPriorThisYear,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},{name:"Is same day",_type:"function",insertVal:"IsSameDay(, )",value:h.IsSameDay,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},{name:"Is this month",_type:"function",insertVal:"IsThisMonth()",emptyRightPart:!0,value:h.IsThisMonth,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},{name:"Is this week",_type:"function",insertVal:"IsThisWeek()",emptyRightPart:!0,value:h.IsThisWeek,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},{name:"Is this year",_type:"function",insertVal:"IsThisYear()",emptyRightPart:!0,value:h.IsThisYear,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},{name:"Is next month",_type:"function",insertVal:"IsNextMonth",emptyRightPart:!0,value:h.IsNextMonth,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},{name:"Is next year",_type:"function",insertVal:"IsNextYear()",emptyRightPart:!0,value:h.IsNextYear,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},{name:"Is last month",_type:"function",insertVal:"IsLastMonth()",emptyRightPart:!0,value:h.IsLastMonth,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},{name:"Is last year",_type:"function",insertVal:"IsLastYear()",emptyRightPart:!0,value:h.IsLastYear,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},{name:"Is the year-to-date period",_type:"function",insertVal:"IsYearToDate()",emptyRightPart:!0,value:h.IsYearToDate,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},{name:"Is January",_type:"function",insertVal:"IsJanuary()",emptyRightPart:!0,value:h.IsJanuary,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},{name:"Is February",_type:"function",insertVal:"IsFebruary()",emptyRightPart:!0,value:h.IsFebruary,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},{name:"Is March",_type:"function",insertVal:"IsMarch()",emptyRightPart:!0,value:h.IsMarch,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},{name:"Is April",_type:"function",insertVal:"IsApril()",emptyRightPart:!0,value:h.IsApril,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},{name:"Is May",_type:"function",insertVal:"IsMay()",emptyRightPart:!0,value:h.IsMay,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},{name:"Is June",_type:"function",insertVal:"IsJune()",emptyRightPart:!0,value:h.IsJune,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},{name:"Is July",_type:"function",insertVal:"IsJuly()",emptyRightPart:!0,value:h.IsJuly,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},{name:"Is August",_type:"function",insertVal:"IsAugust()",emptyRightPart:!0,value:h.IsAugust,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},{name:"Is September",_type:"function",insertVal:"IsSeptember()",emptyRightPart:!0,value:h.IsSeptember,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},{name:"Is October",_type:"function",insertVal:"IsOctober()",emptyRightPart:!0,value:h.IsOctober,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},{name:"Is November",_type:"function",insertVal:"IsNovember()",emptyRightPart:!0,value:h.IsNovember,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},{name:"Is December",_type:"function",insertVal:"IsDecember()",emptyRightPart:!0,value:h.IsDecember,type:h,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"}]),this.filterEditorOperators.list=[{name:"Exists",_type:"aggregate",value:"Exists",insertVal:"Exists()",type:ia,localizationId:"StringId.FilterAggregateExists"},{name:"Count",_type:"aggregate",value:"Count",insertVal:"Count()",type:ia,localizationId:"StringId.FilterAggregateCount"},{name:"Max",_type:"aggregate",value:"Max",insertVal:"Max()",type:ia,localizationId:"StringId.FilterAggregateMax"},{name:"Min",_type:"aggregate",value:"Min",insertVal:"Min()",type:ia,localizationId:"StringId.FilterAggregateMin"},{name:"Sum",_type:"aggregate",value:"Sum",insertVal:"Sum()",type:ia,localizationId:"StringId.FilterAggregateSum"},{name:"Avg",_type:"aggregate",value:"Avg",insertVal:"Avg()",type:ia,localizationId:"StringId.FilterAggregateAvg"}],this.filterEditorOperators.group=[{name:"And",_type:"group",insertVal:"And",value:zs.And,type:zs,localizationId:"StringId.FilterGroupAnd"},{name:"Or",_type:"group",insertVal:"Or",value:zs.Or,type:zs,localizationId:"StringId.FilterGroupOr"},{name:"Not And",_type:"group",value:zs.And,reverse:!0,type:zs,localizationId:"StringId.FilterGroupNotAnd"},{name:"Not Or",_type:"group",value:zs.Or,reverse:!0,type:zs,localizationId:"StringId.FilterGroupNotOr"}],this._initDisplayText()}get _allFilterEditorOperators(){const t=[];return Object.keys(this.filterEditorOperators).forEach(e=>{t.push(...this.filterEditorOperators[e])}),t}_getFilterEditorOperator(t,e,i){return e.filter(e=>e.value===t.operatorType&&e.type===t.enumType&&e.reverse===i)[0]}_initDisplayText(){Object.keys(this.filterEditorOperators).forEach(e=>{this.filterEditorOperators[e].forEach(Ld)})}registrateOperator(e,t,s,i,r="function",a=!1,n){if(this.filterEditorOperators[e]){if(!t[s]){let i=0,r;_.each(t,(e,t)=>{r=parseInt(e),!isNaN(r)&&i<r&&(i=r)}),t[++i]=s,t[s]=i}s={name:i,value:t[s],type:t,_type:r,reverse:a,displayText:f(i,n)};this.filterEditorOperators[e].push(s)}}generateTreelistOptions(e,t){const i=C.observable(null),r=C.observable(null);return{subscription:C.computed(()=>{i({itemsProvider:C.unwrap(e),selectedPath:C.observable(""),selected:r,path:C.unwrap(t),treeListController:new Kd(r),rtl:this.rtl})}),options:i}}}const Xd=Se(Jd);function Zd(e){Xd(e)}class Qd extends Fo{constructor(e){super(e);const t=new Jd,s=[],a=[],n=[];Object.keys(t.filterEditorOperators).forEach(e=>{t.filterEditorOperators[e].forEach(e=>{if(e.insertVal){const t=e.name,i=e.insertVal,r=e.paramCount;e.type===h&&0===s.filter(e=>e.name===t).length?s.push({name:t,insertVal:i}):e.type===ia&&0===a.filter(e=>e.name===t).length?a.push({name:t,insertVal:i}):e.type!==ia&&e.type!==h&&0===n.filter(e=>e.name===t).length&&n.push({name:t,insertVal:i,paramCount:r})}})}),this.filterEditorAvailable={operators:n,aggregate:a,functions:s}}getFunctionsCompletions(){const t=[];return this.filterEditorAvailable.functions.forEach(e=>{t.push(Bo({text:e.name,paramCount:e.insertVal.split(",").length},e.insertVal,e.insertVal))}),t}getAggregateCompletions(){const t=[];return this.filterEditorAvailable.aggregate.forEach(e=>{t.push(Bo({text:e.name,paramCount:0},e.insertVal,e.insertVal))}),t}getOperatorCompletions(t){const i=[];return this.filterEditorAvailable.operators.forEach(e=>{i.push(e.insertVal.match(new RegExp("\\([^\\(\\)]*\\)","g"))?Bo({text:e.name,paramCount:e.paramCount||e.insertVal.split(",").length},e.insertVal,e.insertVal):{caption:e.insertVal,snippet:t+e.insertVal,meta:"operator"})}),i}}const el={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"]}};class tl extends Ji{constructor(){super(...arguments),this.onContentReady=e=>{this._component=e.component},this.hideOnOutsideClick=e=>{var t=this.getComponent(),t=t&&tn(t.content());return!t||!(t.has(e.target)||t.is(e.target))}}onPropertyChanged(e){}getComponent(){return this._component}dispose(){super.dispose();var e=this._component;e&&e.dispose(),this._component=null}}(function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([d(void 0)],tl.prototype,"_component",void 0);class il extends Ar.a{_setContentHeight(){this._$popupContent.css({height:"100%"})}}w()("dxPopupWithAutoHeight",il);class rl{constructor(e={}){this.options=e,this._resize=(e,t,i,r)=>{var s;return this.options.resultSize?this.options.resultSize(this.options.resultSize()-(e||t)+i):r&&(e?(s=r.offsetWidth-e+i,r.style.width=s+"px"):t&&(s=r.offsetHeight+t-i,r.style.height=s+"px")),e||t}}resizable(e,t){let r=0;return m({},e=e||{starting:()=>{},stopped:()=>{}},{handles:t,$selectedNodes:_.fn.constructor(),stopped:()=>{r=0},resize:(e,t,i)=>{r=this._resize(-i.width,i.height,r,t),this.options.onResize&&this.options.onResize()},handleClassName:"dxd-back-secondary",disabled:this.options.disabled||C.observable(!1)})}}class sl{constructor(){this.globalMatch=!0,this.autoLoadItems=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=Fe.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}}function al(i){const r=i.values;i.element;var e=v.unwrap(r);let s=null;const a=()=>{var e=v.unwrap(r),t=i.element.closest(".dx-scrollview"),t=t&&Pr.a.getInstance(t);t&&t.update(),e.onItemsVisibilityChanged&&e.onItemsVisibilityChanged()},t=e=>{var t=e.treeListController||new Dd;(e.treeListController=t).dragDropHandler=t.dragDropHandler||i.dragDropHandler,e.factory=e.factory||new rs,e.store=new ts,e.itemsProvider=v.unwrap(e.itemsProvider),e.pageSize=e.pageSize||-1,e&&e.itemsProvider&&(e.rtl||(e.rtl=!!i.element.closest(".dx-rtl")),s&&s.dispose(),s=e.factory.createRootItem(e,e.path,a,e.rtl),v.isSubscribable(t.root)?(t.searchEnabled=!0,t.searchOptions=t.searchOptions||new sl,t.root(s)):t.root=s,i.createChildContext(s.getViewModel()))};t(m({},e));let n=null;const o=e=>{e&&t(m({},e))};return v.isSubscribable(r)?n=r.subscribe(e=>o(e)):v.isSubscribable(r.itemsProvider)?n=r.itemsProvider.subscribe(e=>e&&o(r)):r.setTreeListChangedEvent&&(n={dispose:r.setTreeListChangedEvent(o)}),()=>{s&&s.dispose(),s=null,n&&n.dispose()}}class nl extends s{constructor(){super(),this._processedNodes=[],this._currentProcess=[],this.searchTimeout=500,this._roots=[],this.searchPlaceholder=()=>He();const t=C.observable("");let i=null;this._disposables.push(this.value=C.computed({read:()=>t(),write:e=>{clearTimeout(i),i=setTimeout(()=>{t(e)},this.searchTimeout)}})),this._disposables.push(this.value.subscribe(e=>this.valueChanged(e)))}static createController(e,t,i=nl,r="dx-treelist-search-panel"){const s=new i;i=_.fn.constructor(e);const a=[];t.forEach(e=>{e&&(e.root=e.root||C.observable(),a.push(e.root.subscribe(e=>{s.addController(e),s.valueChanged("")})))}),s._disposables.push({dispose:()=>{t.forEach(e=>{e&&C.isSubscribable(e.root)&&(e.root(null),delete e.root)})}});r=Dt(r);i.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),i.children().remove(),i.append(r),C.cleanNode(i.children()[0]),C.applyBindings(s,i.children()[0]);const n=()=>{a.forEach(e=>e.dispose()),s&&s.dispose(),C.utils.domNodeDisposal.removeDisposeCallback(e,n)};C.utils.domNodeDisposal.addDisposeCallback(e,n)}dispose(){super.dispose(),this.clearProcess()}clearProcess(){this._currentProcess.forEach(e=>e.stop&&e.stop()),this._currentProcess=[],this._processedNodes=[]}valueChanged(r){r||this._processedNodes.forEach(e=>e.visible=!0),this.clearProcess(),this._roots.forEach(i=>{i.treeListController.textToSearch(r),r?this._currentProcess.push(i.walkOnTree(e=>{var t=et(e.data[i.treeListController.searchOptions.searchExpr],r,i.treeListController.searchOptions);this._processedNodes.push(e),e.visible=!!t,t&&this._collapseTreeBranch(e)})):i.itemsCollectionHasMutated()})}_collapseTreeBranch(e){e.parent&&(e.parent.collapsed&&e.parent.toggleCollapsed(),this._collapseTreeBranch(e.parent))}addController(e){this._roots=this._roots.filter(e=>!e.isDisposing),e.treeListController.textToSearch=e.treeListController.textToSearch||C.observable(""),-1===this._roots.indexOf(e)&&this._roots.push(e),this.searchTimeout=Math.max.apply(Math,this._roots.map(e=>e.treeListController.searchOptions.searchTimeout))||500}}C.bindingHandlers.treelist={init:function(i,e,t,r,s){const a=C.unwrap(e());e=al({element:i,values:e(),createChildContext:e=>{var t=a.templateHtml||Dt("dx-treelist"),t=_.fn.constructor(i).html(t),e=s.createChildContext(e);C.applyBindings(e,t.children()[0])},dragDropHandler:s.$root.fieldDragHandler});return Ie(i,e),{controlsDescendantBindings:!0}}},C.bindingHandlers.treeListSearchPanel={init:function(e,t,i,r,s){var t=t(),a=C.unwrap(t.template),n=C.unwrap(t.modelType);let o=C.unwrap(t.controllers);return Array.isArray(o)||(o=[o]),nl.createController(e,o,n,a),{controlsDescendantBindings:!0}}};class ol extends s{constructor(e){super(),this.dragHelperContent=e,this.droppableClassName="dxrd-treelist-droppable",this.approveClassName="dxrd-drop-approve",this.classDropBefore="drop-before",this.classDropAfter="drop-after",this.started=!1}_getElementViewModel(e){return e&&e.data&&e.data.data}dispose(){super.dispose(),this._targetElement=null,this._target=null,this._draggable=null}isDragToBottom(){return ks(this._draggable.parent.items,e=>e===this._draggable||e===this._target)===this._draggable}start(e){this.started=!0,this._draggable=e.getModel(),this._draggableModel=this._getElementViewModel(this._draggable)}canDrop(){return this._draggable!==this._target&&this._draggable.parent===this._target.parent}reorderSiblings(e=this.isDragToBottom()){var t,i,r=this.getSiblings();r&&(-1<(i=(t=r.peek()).indexOf(this._draggableModel))&&t.splice(i,1),t.splice(t.indexOf(this._targetModel)+(e?1:0),0,this._draggableModel),r.valueHasMutated())}clearDroppableClasses(){this._removeClass(this._targetElement)}getDroppablePosition(){return this.isDragToBottom()?this.classDropAfter:this.classDropBefore}drag(e,t){this.clearDroppableClasses(),this._target=e.getModel(),this._targetElement=_.fn.constructor(t).closest(".dx-treelist-item").get(0),this._targetModel=this._getElementViewModel(this._target)}stop(){this.clearDroppableClasses(),this.started=!1}helper(e,t){t=_.fn.constructor(t.target).closest(".ui-draggable"),t=new _i(6,6,null,t.height());t.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(t,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}})}addDroppableClass(){let e=this.droppableClassName;this.canDrop()&&(e=e+" "+this.approveClassName+" "+this.getDroppablePosition()),_.fn.constructor(this._targetElement).addClass(e)}_removeClass(e){_.fn.constructor(e).removeClass(this.droppableClassName+" "+this.approveClassName+" "+this.classDropBefore+" "+this.classDropAfter)}}var dl=e(8);function ll(e,t){function i(){var e=!v.unwrap(t.alwaysShow)&&!v.unwrap(o());t.setCollapsed?t.setCollapsed(e):v.isSubscribable(t.collapsed)&&t.collapsed(e),r.addClass("dx-transition-style"),o()&&r.addClass("dx-accordion-collapsed"),setTimeout(()=>{r.removeClass("dx-accordion-collapsed"),o()||r.removeClass("dx-transition-style")},500)}const r=_.fn.constructor(e),s=r.find(".dx-accordion-content").first(),a=()=>{var e=r.parents(".dx-scrollview");0<e.length&&(e=Pr.a.getInstance(e.get(0)))&&e.update()},n=r.find(".dx-accordion-header,.dx-accordion-button").get(0),o=()=>t.getCollapsed?t.getCollapsed():v.unwrap(t.collapsed);dl.off(n,"dxclick");if(dl.on(n,"dxclick",i),o()?s.hide():s.show(),v.isSubscribable(t.collapsed)){const d=t.collapsed.subscribe(e=>{s.slideToggle(t.timeout,()=>a())});return()=>{dl.off(n,"dxclick",i),d.dispose()}}if(t.setCollapsedChangedEvent){const l=t.setCollapsedChangedEvent(()=>s.slideToggle(t.timeout,()=>a()));return()=>{dl.off(n,"dxclick",i),l()}}throw Error("Not working!")}C.bindingHandlers.dxPropertyGrid={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=Dt("dx-propertieseditor"),a=_.fn.constructor(e).append(a),t=t();const n=new mn(t.target,t.editorsInfo,t.level,t.parentDisabled,t.recreateEditors,t.textToSearch);return e.setAttribute("role","tree"),C.applyBindings(s.createChildContext(n.getViewModel()),a.children()[0]),Ie(e,function(){n.dispose()}),{controlsDescendantBindings:!0}}},C.virtualElements.allowedBindings.lazy=!0,C.bindingHandlers.lazy={init:function(r,e,s,a,n){let t=e();const o=t.resolver||qr,d=t.isResolved;t.innerBindings&&(t=t.innerBindings);let l=!1,u=[];return _.each(t,(e,t)=>{const i=C.bindingHandlers[e];u.push(o.execute(()=>{if(!l){let e=!1;C.computed({read:()=>{!e&&i.init&&(i.init(r,()=>t,s,a,n),e=!0),i.update&&i.update(r,()=>t,s,a,n)},disposeWhenNodeIsRemoved:r}),d&&d(!0)}},1))}),Ie(r,function(){l=!0,u.forEach(e=>e.dispose()),u=[]}),{controlsDescendantBindings:!0}}},C.bindingHandlers.dxdAccordion={init:function(e,t){Ie(e,ll(e,t()))}},C.bindingHandlers.dxdAccordionExt={init:function(e,t,i,r,s){const a=t(),n=_.fn.constructor(e),o=()=>{var e=n.parents(".dx-scrollview");0<e.length&&(e=Pr.a.getInstance(e.get(0)))&&e.update()},d=n.find(".dx-accordion-content").first();let l=null;a.collapsed&&!0===a.lazyContentRendering&&(l=d.html(),d.empty());const u=e=>{e?d.slideUp(a.timeout,()=>{o()}):(l&&(d.html(l),C.applyBindingsToDescendants(s,d.get(0)),l=null),d.slideDown(a.timeout,()=>{o()}))};if(C.isSubscribable(a.collapsed)){const c=a.collapsed.subscribe(e=>u(e));Ie(e,()=>c.dispose())}else{if(!a.setCollapsedChangedEvent)throw Error("Not working!");{const p=a.setCollapsedChangedEvent(e=>u(e));Ie(e,()=>p())}}a.collapsed?d.hide():d.show()}},C.bindingHandlers.dxLocalizedSelectBox={init:function(e,t,i,r,s){const a=t(),n=a.displayExpr,o=(a.placeholder=a.placeholder||ze(),a.noDataText=a.noDataText||Le(),a.encodeNoDataText=!0,a.displayExpr=function(e){return e&&(n?f(_.isFunction(n)?n(e):e[n],e.localizationId):f(e,e.localizationId))},a.itemTemplate=function(e,t,i){var e=s.createChildContext({display:a.displayExpr(e)}),r=(_.fn.constructor(i).children().remove(),Dt("item-with-title")),r=_.fn.constructor(i).append(r);return C.applyBindingsToDescendants(e,r[0]),i},a.useLocalizedTextAsValue&&(a.valueExpr=a.displayExpr),r.getOptions?r.getOptions(a):a);return C.bindingHandlers.dxSelectBox.init(e,()=>o,i,r,s),{controlsDescendantBindings:!0}}},C.bindingHandlers.styleunit={update:function(i,e){e=C.utils.unwrapObservable(e()||{});_.each(e,(e,t)=>{t=C.utils.unwrapObservable(t)||0,i.style[e]=t+"px"})}},C.bindingHandlers.service={init:function(e,t,i,r,s){var a,t=C.unwrap(t()||{}),t=(a=t.name,r[a]||((t=s.$parents.filter(e=>void 0!==e[a])[0])?t[a]:null)),t=t&&t(r);t&&(r=s.createChildContext(t.data),C.renderTemplate(t.templateName,r,{},e,"replaceNode"))}};class ul extends hn{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(Ys).concat(null!=(e=this.editorOptions)&&e.isNullable?[]:Js)}}const cl={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:n.getEditor("combobox"),values:Un,editorOptions:{searchEnabled:!0}},pl={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:n.getEditor("numeric")},hl={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:n.getEditor("combobox"),valuesArray:Cd},gl=[cl,pl,hl,{propertyName:"modificators",editor:n.getEditor("modificators")}];class ml extends fn{constructor(e,t,i,r){super(e,t,i,r)}createObjectProperties(){var e=new wd(this.value);return this._disposables.push(e),new mn(C.observable(e),{editors:gl},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}function fl(e,t){t=t.split("\n");let i=t[1];t=t[2].length;return 0===i.indexOf("...")&&(i=i.split("...")[1]),{start:e=e.indexOf(i),end:e+t}}C.bindingHandlers.focus={init:function(t,e){const i=(e().on||e()).subscribe(e=>{e&&setTimeout(()=>{_.fn.constructor(t).find(":input").focus()},1)});Ie(t,function(){i.dispose()})}},C.bindingHandlers.svgAttrs={update:function(e,t,i,r){e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink")}};class vl extends s{constructor(e,t,i=C.observable(!1),r=!1,s,a=C.observable(!1),n){var o,d;super(),this.options=e,this._displayNameProvider=s,this.popupVisible=a,this._updateTextAreaValue=(e,t)=>{var t=this._getTextArea(t),i=this.textAreaValue().toString(),r=t&&t.selectionStart||i.length,e=" "==i[r-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";this.textAreaValue([i.slice(0,r),e,i.slice(r)].join("")),t&&t.setSelectionRange&&(t.focus(),i=r+(-1!==e.indexOf("(")?e.indexOf("(")+1:e.length),t.setSelectionRange(i,i))},this._updateAceValue=(e,t)=>{var i=this.editorContainer(),{row:r,column:s}=i.getCursorPosition();let a=(e.val||e.text||e)+" ";s&&" "!==i.getSession().getValue().split("\n")[r][s-1]&&(a=" "+a),i.insert(a),i.focus(),Ua(e.paramCount,i,a)},this._updateValue=(e,t)=>{this.aceAvailable?this._updateAceValue(e,_.fn.constructor(t)):this._updateTextAreaValue(e,_.fn.constructor(t))},this.patchFieldName=e=>e,this._parametersPutSelectionHandler=(e,t)=>{e=e.split("."),e="?"+this.patchFieldName(e[e.length-1]);this._updateValue(e,t)},this._fieldsPutSelectionHandler=(e,t)=>{var i=this.koOptions.peek().path.peek(),e=e.substring(i.length+1);const r="["+this.patchFieldName(e)+"]";this._displayNameProvider?this.displayExpressionConverter.toDisplayExpression(i,r).done(e=>{this._updateValue(e,t)}).fail(()=>{this._updateValue(r,t)}):this._updateValue(r,t)},this.aceAvailable=kd(),this.title=()=>f("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.value=C.observable(""),this.textAreaValue=C.observable(""),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const r=C.computed(()=>i.koOptions()&&C.unwrap(i.koOptions().path)||""),s=C.computed(()=>i.koOptions()&&C.unwrap(i.koOptions().functions)||[]),a=new Fo({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider,path:r,functions:s,rootItems:i.options.rootItems,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||_.Deferred().resolve(t).promise()});return[r,s].forEach(e=>a._disposables.push(e)),[a]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},this.additionalOptions={onChange:t=>{var i=t.getValue();try{var r=Va.parse(i);this.koOptions().validate&&this.isValid(this.koOptions().validate(r)),t.clearAnnotations()}catch(e){i=e.hash&&e.hash.line||0,r=e.message.split("\n"),r=r[1]+"\n"+r[2];t.setAnnotations([{row:i,column:0,text:r,type:"error"}])}}},this.callbacks={focus:_.noop},this.koOptions=C.observable(null),this.editorContainer=C.observable(),this.isValid=C.observable(!0),this.buttonItems=[],this.rtl=!1,this.modelValueValid=C.computed(()=>{var e=this.koOptions();return!e||!C.isObservable(e.isValid)||e.isValid()}),this.modelValueWarning=C.computed(()=>{var e=this.koOptions();return e&&C.unwrap(e.warningMessage)||""}),this.getPopupContainer=Ka,this.koOptions(e),this.patchFieldName=e=>this.koOptions().patchFieldName&&this.koOptions().patchFieldName(e)||e,this.theme=this.koOptions()&&this.koOptions().theme,this._disposables.push(this.value=C.computed({read:()=>{var e=this.koOptions()&&C.unwrap(this.koOptions().value);return e&&e.toString()||""},write:e=>this.koOptions()&&this.koOptions().value(e)})),s&&e.path?(this.displayExpressionConverter=new jo(s),a=C.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()),this.displayValue=Do(a,this.value,this.displayExpressionConverter,this._disposables),this._disposables.push(a)):this.displayValue=this.value,this.rtl=r,this.validate=(t,i)=>{try{return Va.parse(t),this.isValid(!0),!0}catch(e){t=fl(t,e.message),i=this._getTextArea(i&&i.element);i&&i.setSelectionRange(t.start,t.end),this.isValid(!1)}},this._disposables.push(this.popupVisible.subscribe(e=>{e?this.initDisplayValue():this.editorContainer(null)}));const l=C.computed(()=>this.koOptions()&&this.koOptions().fieldName&&this.koOptions().fieldName());this._disposables.push(this.fieldListProvider=(o=t,d=l,C.computed(()=>{const i=C.unwrap(o),r=C.unwrap(d);return r?{getItems:e=>{const t=_.Deferred();return i.getItems(e).done(e=>{t.resolve(e.filter(e=>e.name!==r))}).fail(()=>t.reject()),t.promise()},getValues:e=>i.getValues(e)}:i}))),this.disabled=i;this.save=e=>{var t=this.getValue();this.validate(t,e)&&(this.displayValue(t),this.popupVisible(!1))};let u=null;const c=e=>{C.unwrap(e.data.type);u&&(u.isSelected=!1),(u=e).isSelected=!0};e=C.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()&&this._createToolsOptions(this.koOptions().path(),this.fieldListProvider(),new Td(l,(e,t)=>{this._fieldsPutSelectionHandler(e.path,t)},c))),this.parametersTreeListController=new Fd(this._parametersCustomFilter,this._parametersPutSelectionHandler,c),s=C.pureComputed(()=>this._createToolsOptions("",this.fieldListProvider(),this.parametersTreeListController));this._disposables.push(this.tools=new Pd(this._updateValue,s,this.koOptions,e)),this._disposables.push(this.modelValueValid,this.modelValueWarning),this._createMainPopupButtons(),[l,e,s].forEach(e=>this._disposables.push(e)),this.resizeHelper=new rl({onResize:()=>this.resizeAceEditor()}),this.editorInputId=n}dispose(){super.dispose(),this.koOptions(null),this.editorContainer(null),this.options=null}_createMainPopupButtons(){const t=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:f("OK",wo.DataAccessBtnOK),type:"default",stylingMode:"contained",onClick:function(e){t.save(e)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:f("Cancel",wo.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){t.popupVisible(!1)}}}]}_getTextArea(e){e=_.fn.constructor(e);return e&&e.parents(".dx-expressioneditor").find(":input")[0]}_createToolsOptions(e,t,i){return{itemsProvider:t,selectedPath:C.observable(""),path:C.observable(e),templateName:"dx-ee-treelist-item",treeListController:i,rtl:this.rtl}}_parametersCustomFilter(e){return"parameters"===e.specifics||e.specifics===ko||!qa(e)}onShown(){this.callbacks.focus()}onHiding(e){var t=this.koOptions();return t&&t.onHiding&&t.onHiding(e)}onShowing(e){var t=this.koOptions();return t&&t.onShowing&&t.onShowing(e)}onContentReady(e){var t=this.koOptions();return t&&t.onContentReady&&t.onContentReady(e)}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}initDisplayValue(){var e;this.tools.resetCategoriesSelection&&this.tools.resetCategoriesSelection(),this.textAreaValue(this.displayValue()),this.aceAvailable?(e=(e=this.editorContainer())&&e.getSession())&&e.setValue(this.textAreaValue()):this.validate(this.value())}getValue(){let e=this.textAreaValue();var t;return this.aceAvailable&&(t=(t=this.editorContainer())&&t.getSession(),e=t&&t.getValue()),e}}C.bindingHandlers.dxExpressionEditor={init:function(e,t,i,r,s){let a=_.fn.constructor(e);a.children().remove();const n=t();_.fn.constructor(e).addClass(n.wrapper?"dx-expressioneditor-content":"dx-popup-general");t=n.editorTemplateName||"dx-expressioneditor";let o=null,d=new vl(C.unwrap(n.options),n.fieldListProvider,r.disabled,0<_.fn.constructor(e).closest(".dx-rtl").length,n.displayNameProvider,n.popupVisible,r.editorInputId);C.isSubscribable(n.options)&&(o=n.options.subscribe(e=>{e&&d.koOptions(e)})),n.wrapper&&n.wrapper.editor(d);r=s.createChildContext(d),s=document.createElement("div");a=a.append(s),C.renderTemplate(t,r,{},s,"replaceNode");return Ie(e,()=>{d.dispose(),d=null,n.wrapper&&n.wrapper.editor(null),o&&o.dispose()}),{controlsDescendantBindings:!0}}};var D=e(21),xl=e.n(D);class bl extends pd{constructor(t,e,i=!1,r,s){super(),this.options=t,this._displayNameProvider=r,this._advancedMode=C.observable(!1),this.textFocused=C.observable(!1),this.aceAvailable=kd(),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{var r=C.computed(()=>this.path&&this.path()),e=new Qd({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider(),path:r,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||_.Deferred().resolve(t).promise()});return e._disposables.push(r),[e]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},this.additionalOptions={onChange:e=>this.onValueChange(e.getValue()),changeTimeout:200,onFocus:e=>this.onFocus(),onBlur:e=>this.onBlur()},this.editorContainer=C.observable(),this.textVisible=C.observable(!1),this.getPopupContainer=e=>Ka(e,this.options().popupContainer),this.timeout=null,this.animationTimeout=null,this.advancedMode=C.computed({read:()=>this._advancedMode(),write:e=>{this.timeout&&clearTimeout(this.timeout),this.animationTimeout&&clearTimeout(this.animationTimeout),e?(this.textVisible(!0),this.timeout=setTimeout(()=>{this._advancedMode(!0),this.options().disabled()||this.focusText()},1),this.animationTimeout=setTimeout(()=>{this.editorContainer()&&this.editorContainer().resize&&this.editorContainer().resize()},210)):(this._advancedMode(!1),this.timeout=setTimeout(()=>{this.textVisible(!1)},200))}}),this.invalidMessage=()=>f("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError"),this.advancedModeText=C.observable(f("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")),this.operandSurface=C.observable(null),this.operand=null,this.popupService=new bn,this.rtl=i,this.initializeInnerValue(),t()&&t().helper&&(t().helper.rtl=i),this._disposables.push(this.disabled=C.computed(()=>C.unwrap(this.options()&&this.options().disabled()))),this.displayExpressionConverter=r&&new jo(r),this.save=()=>{var e;this.helper.onSave(this.value()),this.operandSurface()&&this.isSurfaceValid()?(e=t().helper.serializer.serialize(this.operand,!1),this.options().value(e)):this.options().value(this.value()),this.popupVisible(!1)},this.displayValue=Do(this.path,this.value,this.displayExpressionConverter,this._disposables);i=C.computed({read:()=>{var e=this.options();return e&&e.value()},write:e=>{var t=this.options();t&&t.value(e)}});this.modelDisplayValue=Do(this.path,i,this.displayExpressionConverter,this._disposables),this.fieldListProvider=e,this.modelValueIsValid=C.computed(()=>t()&&this._validateValue(t().value())),this.isValid=C.computed(()=>this._validateValue(this.value())),this.isSurfaceValid=C.computed(()=>{try{return this.options()&&this.isValid()&&this.options().helper.criteriaTreeValidator.validateModel(this.options().helper.serializer.deserialize(this.value()))}catch(e){return!1}}),this._disposables.push(i),this._disposables.push(this.modelValueIsValid),this._disposables.push(this.isValid),this._disposables.push(this.isSurfaceValid),this._disposables.push(this.popupVisible.subscribe(e=>{e?(this.value(this.options().value()),this.isSurfaceValid()?(this.operand=this._generateOperand(this.value()),this.operandSurface(this._generateSurface(this.operand))):(this.textVisible(!0),this._advancedMode(!0),this.editorContainer()&&this.focusText()),t().helper.onChange=()=>{this.value(t().helper.serializer.serialize(this.operand,!1))}):(this.helper.onClosing(),this.value(null),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(null),this.operand=null)})),this.createAddButton=e=>t().helper.handlers.create(e,this.popupService),this.createChangeType=e=>t().helper.handlers.change(e,this.popupService),this.createChangeProperty=e=>t().helper.handlers.changeProperty(e,this.popupService),this.createChangeParameter=e=>t().helper.handlers.changeParameter(e,this.popupService),this.createChangeValueType=e=>t().helper.handlers.changeValueType(e,this.popupService),this._disposables.push(this.advancedMode),this.buttonItems.push({toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:this.advancedMode,text:this.advancedModeText()}}),this.editorInputId=s}_generateOperand(e){return this.options().helper.serializer.deserialize(e)}_generateSurface(e){let t=null;e=new(t=e instanceof ta?this.options().helper.mapper.unary:this.options().helper.mapper.group)(e,this,this.fieldListProvider,this.path);if(e instanceof Md){if(!(e.model.operand instanceof sa))return this.operand=new sa(zs.And,[this.operand]),e.dispose(),this._generateSurface(this.operand);e.operand().canRemove=!1}return e.canRemove=!1,e}_validateValue(e){try{return!(!this.options()||!this.options().helper||(this.options().helper.serializer.deserialize(e),0))}catch(e){return!1}}canSave(){return this.isValid()}initializeInnerValue(){this.value=C.observable("")}change(e,t){this.operand=g.changeByType(e),this.operand.assignFrom(t.model);let i=null;e=new(i=this.operand instanceof ta?this.options().helper.mapper.unary:this.options().helper.mapper.group)(this.operand,this,this.fieldListProvider,this.path);e.canRemove=!1,e instanceof Md&&(e.operand().canRemove=!1),this.operandSurface(e)}get helper(){return this.options()&&this.options().helper}get path(){return this.options()&&this.options().path}dispose(){super.dispose(),this.editorContainer(null),this.operandSurface()&&this.operandSurface().dispose()}onInput(e,t){const i=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{i.onValueChange(e.component.option("text"))},200)}onFocus(){this.textFocused(!0)}onBlur(){this.textFocused(!1),this.helper.onEditorFocusOut(this.operand)}cacheElement(e){this.editorContainer(xl.a.getInstance(e.get(0)))}updateCriteria(){this.isSurfaceValid()&&(this.operand&&this.options().helper.serializer.serialize(this.operand,!1))!==this.value()&&(this.operand=this._generateOperand(this.value()),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(this._generateSurface(this.operand)))}onValueChange(e){this.displayValue()!==e.trim()&&(this.displayValue(e),this.displayExpressionConverter?this.displayExpressionConverter.toRealExpression(this.path(),e).done(e=>{this.value(e),this.updateCriteria()}).fail(()=>{this.value(e),this.updateCriteria()}):this.updateCriteria())}focusText(){const t=t=>{setTimeout(e=>{t.renderer&&t.renderer.updateText(),t.focus()},1)};if(this.editorContainer())t(this.editorContainer());else{const i=this.editorContainer.subscribe(e=>{i.dispose(),t(e)})}}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}get cancelLocalization(){return f("Cancel","StringId.Cancel")}get saveLocalization(){return f("OK","StringId.OK")}}C.bindingHandlers.dxFilterEditor={init:function(e,t,i,r){_.fn.constructor(e).children().remove(),_.fn.constructor(e).addClass("dx-popup-general");const s=Dt("dx-filtereditor"),a=_.fn.constructor(e).append(s),n=t(),o=C.observable(C.unwrap(n.fieldListProvider)),d=[],l=C.computed(()=>C.unwrap(n.options)),u=(d.push(C.computed(()=>{l()&&l().itemsProvider?o(C.unwrap(l().itemsProvider)):o(C.unwrap(n.fieldListProvider))})),d.push(C.computed(()=>{n.getDisplayNameByPath&&l()&&l().helper&&!l().helper.getDisplayPropertyName&&(l().helper.getDisplayPropertyName=n.getDisplayNameByPath)})),new bl(l,o,0<_.fn.constructor(e).closest(".dx-rtl").length,n.displayNameProvider,r.editorInputId));return C.applyBindingsToDescendants(u,a.children()[0]),Ie(a.children()[0],()=>{d.forEach(e=>e.dispose()),l.dispose(),u.dispose()}),{controlsDescendantBindings:!0}}};class yl extends bl{constructor(e,t,i,r=!1,s){super(t,i,r,s),this.element=e,this.advancedModeTop=()=>-1!==this.advancedModePosition.indexOf("Top"),this.advancedModeLeft=()=>-1!==this.advancedModePosition.indexOf("Left"),this.advancedModePosition="TopRight",this.advancedModePosition=t().advancedModePosition}initializeInnerValue(){if(this.options().realTimeUpdate){this.value=this.options().value;let e=null;this._disposables.push(this.value.subscribe(()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.updateCriteria()},100)}))}else super.initializeInnerValue()}getCheckBoxStyles(){var e={};return this.advancedModeTop()?e.top="0px":e.bottom="0px",this.advancedModeLeft()?e.left="0px":e.right="0px",e}getContentStyles(){var e={pointerEvents:this.options().disabled()?"none":""};return this.advancedModeTop()||(e.top="0px"),e}getTextCssClasses(){return{advanced:this.advancedMode(),"dx-filtereditor-text-container-bottom":!this.advancedModeTop(),"dx-filtereditor-text-container-top":this.advancedModeTop()}}}C.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:(e,t)=>{t=new yl(t.element,e.options,C.observable(e.fieldListProvider),void 0,e.displayNameProvider);return t.popupVisible(!0),t}},template:Dt("dx-filtereditor-plain")}),C.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:(e,t)=>{const i=new bl(e.options,C.observable(e.fieldListProvider),void 0,e.displayNameProvider);return i.advancedMode(!0),i.popupVisible(!0),e.options().value.subscribe(()=>{i.popupVisible(!1),i.popupVisible(!0)}),i}},template:Dt("dx-filtereditor-advanced")}),C.bindingHandlers.cacheElement={init:function(e,t,i,r,s){t().action(_.fn.constructor(e))}};class _l{constructor(e,t,i,r){this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=()=>{this.value("")},this.title=C.pureComputed({read:()=>{var e=this._title();return f(e.text,e.localizationId)},write:e=>{this._title({text:e})}}),this.value=e,this.path=t||C.observable(""),this.disabled=i||C.observable(!1);e=Xd();this.helper=new e,this._title=C.observable(r||{text:f("Filter Editor","DataAccessUIStringId.FiltersView")})}}class Cl extends _l{constructor(){super(...arguments),this.realTimeUpdate=!0,this.advancedModePosition="TopRight"}}class wl extends s{constructor(t,e,i,r,s,a,n){super(),this._isDisabled=C.observable(!1),this._timeout=null,this.currentType=C.observable(),this.patternList=C.observableArray([]),this.canAddCustomFormat=C.observable(!1),this.formatPrefix=C.observable(""),this.formatSuffix=C.observable(""),this.previewString=C.observable("Preview string"),this.formatResult=C.observable(""),this.selectedFormats=C.observable([]),this.selectedTypes=C.observable([]),this.popupVisible=C.observable(!1),this.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"}},this.option("value",t),this.option("disabled",e||!1),this.option("rtl",a||!1),this.option("popupContainer",n||".dx-designer-viewport");const o=this;this.popupService=new bn,this._standardPatternSource=i||el,this._customPatternSource=r||{},this.types=this._convertArray(Object.keys(this._standardPatternSource)),this._disposables.push(this.currentType.subscribe(e=>{o.isGeneralType?(o.formatResult(""),o.selectedFormats([])):o._updateFormatList()})),this.currentType(this.types[0].name),this._disposables.push(this.formatResult.subscribe(e=>{o._updateCanAddCustomFormat(e),o._updatePreview()})),this._disposables.push(this.formatPrefix.subscribe(e=>{o._updatePreview()})),this._disposables.push(this.formatSuffix.subscribe(e=>{o._updatePreview()})),this._disposables.push(this.popupVisible.subscribe(e=>{e&&(o._initEditor(t()),o.selectedTypes(o.types.filter(e=>e.name===o.currentType())))})),this._createMainPopupButtons(),s&&s.updatePreview&&(this.updatePreview=s.updatePreview),this.setType=e=>{o.currentType(e.itemData.name),o._updateSelection()},this.setFormat=e=>{o.formatResult(e.itemData.name)},this.addCustomFormat=()=>{o.formatResult()&&o.canAddCustomFormat()&&(o.customPatterns.push(o.formatResult()),o._updateFormatList(),o._scrollToBottom(),s&&s.saveCustomPattern(o.currentType(),o.formatResult()),o._updateSelection(o.patternList().length-1),o.canAddCustomFormat(!1))},this.removeCustomFormat=e=>{const t=o.selectedFormats()[0];var i=o.patternList(),r=i.map(e=>e.name).indexOf(e.name);o.customPatterns.splice(o.customPatterns.indexOf(e.name),1),o._updateFormatList(),s&&s.removeCustomPattern(o.currentType(),e.name),t.name===e.name?o._updateSelection(r===i.length-1?o.patternList().length-1:r):o.selectedFormats(o.patternList().filter(e=>e.name===t.name))}}okAction(){var e=this.isGeneralType?this._getGeneralPreview("{0}"):this._wrapFormat();this.option("value",e),this.popupVisible(!1)}_createMainPopupButtons(){const e=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:f("OK",wo.DataAccessBtnOK),type:"default",stylingMode:"contained",disabled:this._isDisabled,onClick:function(){e.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:f("Cancel",wo.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){e.popupVisible(!1)}}}]}_convertArray(e,t){return e.map(e=>({name:e,displayName:f(e),canRemove:!!t}))}_scrollToBottom(){var e=_.fn.constructor(".dx-format-string .dx-format-string-formats").find(".dx-scrollview").filter(":visible"),e=Pr.a.getInstance(e.get(0));e&&e.scrollTo&&e.scrollTo(e.scrollHeight())}_updateFormatList(){this.selectedFormats([]);var e=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0)))}_updateSelection(e){e=this.patternList()[e||0];e&&(this.selectedFormats([e]),this.formatResult(e.name))}_setPreviewString(e){this.previewString(e),this._isDisabled(!1)}_setErrorMessage(e){this.previewString(f("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(e)}_updatePreview(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(()=>{if(this.isGeneralType)this.previewString(this._getGeneralPreview(void 0));else{var e=this._standardPatternSource[this.currentType()];const t=this.updatePreview(e.value,e.type,this._wrapFormat());(this._lastUpdatePreviewPromise=t).done(e=>{this._lastUpdatePreviewPromise===t&&(e.Result?this._setPreviewString(e.Result):this._setErrorMessage(e.IsError))}).fail(e=>{this._lastUpdatePreviewPromise===t&&this.previewString(f("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))})}},100)}_getGeneralPreview(e="###"){return this.formatPrefix()+e+this.formatSuffix()}_wrapFormat(e){e=e||this.formatResult();return e&&-1!==e.indexOf("{0:")?e:e?"{0:"+e+"}":""}_updateCanAddCustomFormat(i){if(i){let t=!0;Object.keys(this._standardPatternSource).some(e=>!(t=-1===this._standardPatternSource[e].patterns.indexOf(i))),this.canAddCustomFormat(t&&-1===this.customPatterns.indexOf(i))}else this.canAddCustomFormat(!1)}_initEditor(i){if(i)if(-1!==i.indexOf("{0}"))this.currentType("General"),this.formatPrefix(i.substring(0,i.indexOf("{0}"))),this.formatSuffix(i.substring(i.indexOf("{0}")+3));else{const r=i.indexOf("{0:"),s=i.indexOf("}",r),a=i.substring(r+3,s);let t;const n=e=>{this.currentType(e),0===r&&s===i.length-1&&(this.selectedFormats(this.patternList().filter(e=>e.name===a)),this.formatResult(a),t=!0)};Object.keys(this._standardPatternSource).some(e=>{var t;return-1!==this._standardPatternSource[e].patterns.indexOf(a)?(n(e),!0):!(!(t=this._customPatternSource[this._standardPatternSource[e].type])||-1===t.indexOf(a)||(n(e),0))}),t||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(i))}else this.setType({itemData:this.types[0]})}updateInputText(e,t){this[e](t.option("text"))}option(e,t){return void 0!==t&&(C.isObservable(this[e])?this[e](t):this[e]=t),C.unwrap(this[e])}updatePreview(e,t,i){return _.Deferred().resolve({Result:e||"preview string"}).promise()}get customPatterns(){var e=this._standardPatternSource[this.currentType()];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]}get isGeneralType(){return"General"===this.currentType()}getDisplayText(e){return f(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)}getPopupContainer(e){return _.fn.constructor(e).closest(this.option("popupContainer"))}}C.bindingHandlers.dxFormatEditor={init:function(e,t){_.fn.constructor(e).children().remove(),_.fn.constructor(e).addClass("dx-popup-general");var i=Dt("dx-format-string"),i=_.fn.constructor(e).append(i),t=t();const r=new wl(t.value,t.disabled,t.standardPatterns,t.customPatterns,t.actions,t.rtl,t.popupContainer);return C.applyBindings(r,i.children()[0]),Ie(e,function(){r.dispose()}),{controlsDescendantBindings:!0}}};class Al extends hn{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a)}_checkBoxInitializedHandler(e){const t=e.jquery||e.dxRenderer?e[0]:e;e=null==(e=null===t||void 0===t?void 0:t.closest(".dx-field"))?void 0:e.getElementsByTagName("label");const i=Array.from(e).filter(e=>e.getAttribute("for")===this.editorInputId)[0];if(i){const r="click",s=()=>t.dispatchEvent(new Event(r));i.addEventListener(r,s),Ie(i,()=>i.removeEventListener(r,s))}}getOptions(e){var t=this._get("info","peek").editor.extendedOptions,i={onInitialized:e=>this._checkBoxInitializedHandler(e.element)};return Object(_.extend)(!0,{},e,this.editorOptions,t,i)}}class El extends hn{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a),this.addDisposable(this.createComputedProperty("displayValue",{read:()=>{var e,t=this._get("value");if(t)return t&&"transparent"===t.toLowerCase()?"rgba(0,0,0,0)":/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(t)?t:((e=document.createElement("div")).style.backgroundColor=t,e.style.backgroundColor||"rgba(0,0,0,1)")},write:e=>{this._set("value",e)}},[ve(this,["value"])]))}createViewModel(){var e=c(super.createViewModel()).generateProperty("displayValue",this.unwrap(this.displayValue)).getViewModel();return this.subscribeOnChanges(e,["displayValue"]),e}}class Il extends hn{constructor(e,t,i,r){super(e,t,i,r),this.path=C.pureComputed(()=>{var e=this._get("_model");return e&&e.getPath&&e.getPath(this.name)||""}),this.treeListController=new Dd,this._disposables.push(this.path),this._disposables.push(this.treeListController)}createViewModel(){var e=c(super.createViewModel()).generateProperty("path",C.unwrap(this.path)).generateProperty("treeListController",this.treeListController).generateProperty("getPath",()=>C.unwrap(this.path)).generateProperty("getDataMember",()=>C.unwrap(this.value)).getViewModel();return this.subscribeOnChanges(e,["path"]),e}}class Sl extends Il{constructor(e,t,i,r){super(e,t,i,r),this.treeListController=new ud,this._disposables.push(this.treeListController)}}let $l=!1;let kl=!1;kl||(kl=!0,n.registerEditors({bool:{header:"dx-boolean",editorType:Al},boolSelect:{header:"dx-boolean-select"},numeric:{header:"dx-numeric"},modificators:{custom:"dx-modificators"},combobox:{header:"dx-combobox"},text:{header:"dx-text"},commonCollection:{custom:"dx-commonCollection"},objecteditor:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:fn}})),n.registerEditors({comboboxEditable:{header:"dx-combobox-editable"},image:{header:"dx-image"},file:{header:"dx-file"},stringArray:{header:"dx-emptyHeader",content:"dx-string-array"},font:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:ml},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:vn}}),$l||($l=!0,n.registerEditors({guid:{header:"dxrd-guid",editorType:ul},date:{header:"dx-date",editorType:hd},customColorEditor:{header:"dxrd-colorpicker",editorType:El},sbyte:gd("System.SByte","integer"),decimal:gd("System.Decimal","float"),int64:gd("System.Int64","integer"),int32:gd("System.Int32","integer"),int16:gd("System.Int16","integer"),single:gd("System.Single","float"),double:gd("System.Double","float"),byte:gd("System.Byte","integer"),uint16:gd("System.UInt16","integer"),uint32:gd("System.UInt32","integer"),uint64:gd("System.UInt64","integer")})),n.registerEditors({borders:{header:"dxrd-borders"},textAlignment:{header:"dxrd-textalignment"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:fn},field:{header:"dxrd-field",editorType:Il},dataMember:{header:"dxrd-field",editorType:Sl},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"}});class Pl extends s{constructor(e,t,i){super(),this._createSurface=e=>e.surface||new(e.getControlFactory().controlsMap[e.controlType].surfaceType)(e,this._context),this.preInitProperties(e,t,i),this._control=e,this._context=t,(e.surface=this)._context&&Xn(e,this,i,this._context.measureUnit,this._context.zoom,e=>{this._disposables.push(e)}),this._x=this._x||C.observable(0),this._y=this._y||C.observable(0),this._width=this._width||C.observable(0),this._height=this._height||C.observable(0);t=C.pureComputed(()=>this.container());this._disposables.push(t),this._container=t(),this._disposables.push(t.subscribe(e=>{var t;this._container!==e&&this.rtlLayout()?(t=this._getX(),this._container=e,this._setX(t)):this._container=e}));const r=C.computed({read:()=>this._getX(),write:e=>{this._setX(e)}}),s=this._y,a=this._width,n=this._height,o=(this.position={top:s,left:r,width:a,height:n,lineHeight:n},this._disposables.push(r),C.observable());this._disposables.push(C.computed(()=>{this._control.update()||o({top:s(),left:r(),right:r()+a(),bottom:s()+n(),width:a(),height:n()})})),this._disposables.push(this.rect=C.pureComputed({read:()=>o(),write:e=>{e=this.beforeRectUpdated(e),this._control.update(!0);try{void 0!==e.left?this._setX(e.left,e.width):void 0!==e.width&&this._setX(r(),e.width),void 0!==e.top&&s(e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&a(e.right-r()),void 0!==e.bottom&&void 0===e.top&&n(e.bottom-s()),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&&n(e.bottom-e.top),void 0!==e.width&&a(e.width),void 0!==e.height&&n(e.height)}finally{this._control.update(!1)}}}))}_getX(){return this.rtlLayout()&&this._container?this._container.rect().width-this._x()-this._width():this._x()}_setX(e,t){t=t||this._width(),this.rtlLayout()&&this._container?this._x(this._container.rect().width-e-t):this._x(e)}getRoot(){return this._context}preInitProperties(e,t,i){}container(){return this.parent}beforeRectUpdated(e){return e.left=e.left<0?0:e.left,e.top=e.top<0?0:e.top,e}rtlLayout(){return!!C.unwrap(this._context.rtl)}getControlModel(){return this._control}}class Dl extends Pl{constructor(e,t,i){if(super(e,t,i),this._countSelectedChildren=C.observable(0),this.focused=C.observable(!1),this.selected=C.observable(!1),this.underCursor=C.observable(new lr),this.allowMultiselect=!0,this.absolutePosition=new Bs(0,0),this.getControlModel=()=>e,this.cssCalculator=new rr(e,t.rtl),this._getChildrenHolderName()&&e[this._getChildrenHolderName()]){const r=C.observableArray();"controls"===this._getChildrenHolderName()?this._disposables.push(ws(e[this._getChildrenHolderName()],r,this._createSurface)):this._disposables.push(As(e[this._getChildrenHolderName()],r,this._createSurface)),this[this._getChildrenHolderName()]=r,this._disposables.push(this.isSelected=C.pureComputed(()=>!(!this.focused()&&!this.selected())||r().some(e=>e.isSelected())))}else this._disposables.push(this.isSelected=C.pureComputed(()=>this.focused()||this.selected()));this._disposables.push(this.css=C.pureComputed(()=>m({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.textAlignmentCss()))),this._disposables.push(this.contentCss=C.pureComputed(()=>m({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.angle(),this.cssCalculator.wordWrapCss(),this.cssCalculator.paddingsCss()))),this._disposables.push(C.computed(()=>{this.updateAbsolutePosition()})),this._disposables.push(this.absoluteRect=C.pureComputed(()=>{var e=this.rect(),t=this.absolutePosition.y(),i=this.absolutePosition.x();return{top:t,left:i,right:i+e.width,bottom:t+e.height,width:e.width,height:e.height}})),this.locked=!!e.lockedInUserDesigner&&e.lockedInUserDesigner()}_getParent(){return this.getControlModel().parentModel()&&this.getControlModel().parentModel().surface}get parent(){return this._getParent()}checkParent(e){return this.parent===e}_getChildrenHolderName(){return"controls"}getChildrenCollection(){return this._getChildrenHolderName()&&this[this._getChildrenHolderName()]||C.observableArray([])}updateAbsolutePosition(){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()}canDrop(){return!this.locked&&this._control.getMetaData().isContainer}afterUpdateAbsolutePosition(){}findNextSelection(){var e,t=this.parent;let i=t;return t&&(-1===(e=(t=t.getChildrenCollection()()).indexOf(this))&&0<t.length?i=t[t.length-1]:1<t.length&&e===t.length-1?i=t[e-1]:1<t.length&&0===e||1<t.length?i=t[t.length-1]:-1===e&&i.parent&&-1===i.parent.getChildrenCollection()().indexOf(i)&&(i=i.findNextSelection())),i}}class Tl{constructor(e,t,i,r){this.bottom=C.observable(r),this.left=C.observable(e),this.right=C.observable(t),this.top=C.observable(i)}getInfo(){return Ki}isEmpty(){return this.toString()===Tl.defaultVal}static fromString(e=Tl.defaultVal){e=e.split(",");return new Tl(parseFloat(e[0]),parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]))}toString(){return this.left()+", "+this.right()+", "+this.top()+", "+this.bottom()}}Tl.defaultVal="100, 100, 100, 100",Tl.unitProperties=["left","right"];class Fl extends s{preInitProperties(e,t,i){}constructor(e,t,i){super(),this.preInitProperties(e,t,i),i&&(this.getInfo=()=>i),(t=t||new cs).deserialize(this,e,i)}getInfo(){return null}}function Bl(e,t){return e.height===t.height&&e.width===t.width}function Ol(e){ke(e)}function Ml(n){n.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var r=n.require("ace/lib/oop"),s=n.require("ace/mode/text_highlight_rules").TextHighlightRules;let a=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},a.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(a,s),a.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},a.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},a.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=a})}function Nl(e){e.define("ace/theme/dreamweaver",["require","exports","module"],function(e,t,i){return i.isDark=!1,i.cssClass="ace-dreamweaver",i}),e.define("ace/theme/ambiance",["require","exports","module"],function(e,t,i){return i.isDark=!0,i.cssClass="ace-ambiance",i})}function Vl(e){return e&&-1!==e.indexOf("/")?e.split("/").pop():Wa()?"ambiance":"dreamweaver"}function zl(o){o.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(e,t,i){var r=o.require("ace/lib/oop"),s=o.require("ace/mode/text").Mode;const a=o.require("ace/mode/criteria_highlight_rules").CriteriaHighlightRules;function n(){this.HighlightRules=a}r.inherits(n,s),t.Mode=n}),o.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var r=o.require("ace/lib/oop"),s=o.require("ace/mode/text_highlight_rules").TextHighlightRules;const a=o.require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules;function n(){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(a,"doc-",[a.getEndRule("start")]),this.normalizeRules()}r.inherits(n,s),t.CriteriaHighlightRules=n})}var Ll=e(22),Hl=e.n(Ll),Rl=e(23),jl=e.n(Rl),Wl=e(24),Gl=e.n(Wl),Ul=e(25),ql=e.n(Ul),Kl=function(e,n,o,d){return new(o=o||Promise)(function(i,t){function r(e){try{a(d.next(e))}catch(e){t(e)}}function s(e){try{a(d.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(r,s)}a((d=d.apply(e,n||[])).next())})};let Yl=!1;function Jl(e){if(!Yl){Ml(e),zl(e),Nl(e);try{e.config.set("useStrictCSP",!0)}catch(e){console.warn("Update 'ace' version to 1.4.13")}"setModuleLoader"in e.config&&(e.config.setModuleLoader("./theme/textmate",()=>Kl(this,void 0,void 0,function*(){return e.require("./theme/textmate")})),e.config.setModuleLoader("ace/mode/criteria",()=>Kl(this,void 0,void 0,function*(){return e.require("ace/mode/criteria")})),e.config.setModuleLoader("ace/mode/sql",()=>Kl(this,void 0,void 0,function*(){return e.require("ace/mode/sql")})),e.config.setModuleLoader("ace/mode/text",()=>Kl(this,void 0,void 0,function*(){return e.require("ace/mode/text")})),e.config.setModuleLoader("ace/mode/json",()=>Kl(this,void 0,void 0,function*(){return e.require("ace/mode/json")}))),!window.ace&&kd()&&(e.config.setModuleUrl("ace/ext/language_tools",Hl.a),e.config.setModuleUrl("ace/mode/sql",Gl.a),e.config.setModuleUrl("ace/mode/text",ql.a),e.config.setModuleUrl("ace/mode/json",jl.a))}Yl=!0}C.bindingHandlers.dxAceEditor={init:function(a,n,e,o,d){var l=$d.a||window.ace;Jl(l);const u=n(),c=u.value,t=u.editorContainer;let p,h=!0;const g=(e,t)=>{h=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),h=!0};if(l){n=null==u.options.showGutter||u.options.showGutter;const v=u.additionalOptions;var m=l.require("ace/ext/language_tools"),f="ace/theme/"+Vl(u.theme),l=((p=l.edit(a,{theme:f})).$blockScrolling=1/0,o.languageHelper.getLanguageMode());const x=p.getSession();x.gutterRenderer={getWidth:(e,t,i)=>t.toString().length*i.characterWidth,getText:(e,t)=>t+1},x.setMode(l);let e=()=>{p.completer&&p.completer.popup&&p.completer.popup.hide()},i,t,r;if(v){if(v.onChange){let t=null;i=e=>{null!==t&&clearTimeout(t),h&&(t=setTimeout(()=>{c()===x.getValue()&&!(x.getAnnotations()||[]).some(e=>"error"===e.type)||v.onChange(x)},v&&v.changeTimeout||1e3))},x.on("change",i)}v.overrideEditorFocus&&(p.focus=function(e,t){p.textInput.getElement().focus()}),v.onFocus&&(t=()=>{v.onFocus(x)},p.on("focus",t)),v.onBlur&&(e=()=>(p.completer&&p.completer.popup&&p.completer.popup.hide(),v.onBlur(x))),v.onChangeAnnotation&&(r=(e,t)=>{v.onChangeAnnotation(t)},x.on("changeAnnotation",r))}p.on("blur",e);const b=o.languageHelper.createCompleters(p,d,o),y=(m.setCompleters(b),p.setOptions(Object.assign({autoScrollEditorIntoView:!1},u.options)),v&&"setUseWrapMode"in v&&p.getSession().setUseWrapMode(v.setUseWrapMode),n||p.renderer.setShowGutter(n),p.renderer.$gutter&&(f=p.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary",p.renderer.$gutter.className=f),p._defaultHandlers.guttermousemove);p._defaultHandlers.guttermousemove=function(e){var t=a.getBoundingClientRect();e.x=e.x-t.left,e.y=e.y-t.top,y(e)};let s;C.isSubscribable(c)&&(s=c.subscribe(e=>{e!==x.getValue()&&g(p,e),v&&v.onValueChange&&v.onValueChange(p)})),g(p,C.unwrap(c)),u.callbacks&&(u.callbacks.focus=()=>{setTimeout(()=>{p.textInput.getElement().focus()},10)}),Ie(a,function(){p.completers&&p.completers.splice(0),p._defaultHandlers.guttermousemove=y,s.dispose(),u.callbacks&&(u.callbacks.focus=_.noop),b.forEach(e=>e.dispose&&e.dispose()),e&&p.off("blur",e),t&&p.off("focus",t),i&&x.off("change",i),r&&x.off("changeAnnotation",r),p.destroy()})}C.isObservable(t)&&t(p)}},E("template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom() && !left() && !top() && !right()), 'dxrd-disabled-button': disabled }, click: function() { setNone() }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"},css:function(){return{"dxd-state-active":!(e.$data.bottom()||e.$data.left()||e.$data.top()||e.$data.right()),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setNone()}}}}),E("template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom() && left() && top() && right()), 'dxrd-disabled-button': disabled }, click: function() { setAll() }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"},css:function(){return{"dxd-state-active":e.$data.bottom()&&e.$data.left()&&e.$data.top()&&e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setAll()}}}}),E("template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"},css:function(){return{"dxd-state-active":e.$data.left(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left")}}}}),E("template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"},css:function(){return{"dxd-state-active":e.$data.top(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top")}}}}),E("template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"},css:function(){return{"dxd-state-active":e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right")}}}}),E("template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom")}}}}),E("with: value",function(e,t){return{with:function(){return e.$data.value}}}),E("dxBorderEditor: { value: value, disabled: disabled }",function(e,t){return{dxBorderEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}}),E("dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), 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 } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }",function(e,t){return{dxColorBox:function(){return{value:e.$data.displayValue,onValueChanged:e.$data.onValueChanged,placeholder:e.$root.getLocalization("(Not set)","ReportStringId.UD_PropertyGrid_NotSetText"),editAlphaChannel:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flipfit",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}}}}),E("dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })",function(e,t){return{dxExpressionEditor:function(){return e.$data.getOptions({options:e.$data.value,fieldListProvider:e.$root.dataBindingsProvider,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()})}}}),E("if: value",function(e,t){return{if:function(){return e.$data.value}}}),E("dxFieldListPicker: { path: path, onValueChanged: onValueChanged, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }",function(e,t){return{dxFieldListPicker:function(){return{path:e.$data.path,onValueChanged:e.$data.onValueChanged,acceptCustomValue:!0,value:e.$data.value,displayValue:e.$data.$displayName,itemsProvider:e.$root.dataBindingsProvider,treeListController:e.$data.treeListController,disabled:e.$data.disabled,inputAttr:{id:e.$data.editorInputId}}}}}),E("displayNameExtender: { path: path, dataMember: value, getPath: getPath, getDataMember: getDataMember }",function(e,t){return{displayNameExtender:function(){return{path:e.$data.path,dataMember:e.$data.value,getPath:e.$data.getPath,getDataMember:e.$data.getDataMember}}}}),E("if: visible",function(e,t){return{if:function(){return e.$data.visible}}}),E("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.dataBindingsProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()}}}}),E("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.dataBindingsGroupProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()}}}}),E("dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }",function(e,t){return{dxFormatEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled,actions:e.$data.actions,customPatterns:e.$data.customPatterns}}}}),E("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),E("template: { name: 'dx-propertieseditor', data: viewmodel }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.viewmodel}}}}),E("template: { name: 'dx-propertieseditor', data: getProperties() }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties()}}}}),E("if: $data.visible() && editorCreated",function(e,t){return{if:function(){return e.$data.visible()&&e.$data.editorCreated}}}),E("dxTextAlignmentEditor: { value: value, disabled: disabled }",function(e,t){return{dxTextAlignmentEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}}),E("treelist: options",function(e,t){return{treelist:function(){return e.$data.options}}}),E("if: options",function(e,t){return{if:function(){return e.$data.options}}}),E("style: { transform: snapLineSurfaces[0].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[0].transform()}}}}),E("style: { transform: snapLineSurfaces[1].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[1].transform()}}}}),E("style: { transform: snapLineSurfaces[2].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[2].transform()}}}}),E("style: { transform: snapLineSurfaces[3].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[3].transform()}}}}),E("css: { 'dxrd-context-menu-container': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null",function(i,e){return{css:function(){return{"dxrd-context-menu-container":i.$data.selected()}},template:function(){return i.$data.templateName},click:function(){return function(e,t){i.$data.clickHandler(i.$root.selection,t)}},event:function(){return i.$root.ContextMenusEnabled&&i.$root.ContextMenusEnabled()?{contextmenu:function(e,t){i.$data.reportContextMenuHandler&&i.$data.reportContextMenuHandler(i.$root.selection,t)}}:null}}}),E("cssArray: [surfaceClass($element), { 'dx-accessibility': $data.accessibilityCompliant } ]",function(e,t){return{cssArray:function(){return[e.$data.surfaceClass(t),{"dx-accessibility":e.$data.accessibilityCompliant}]}}}),E("visible: (!designMode || designMode()), cssArray: [rootStyle, { 'dx-rtl' : rtl, 'dx-ltr': !rtl }]",function(e,t){return{visible:function(){return!e.$data.designMode||e.$data.designMode()},cssArray:function(){return[e.$data.rootStyle,{"dx-rtl":e.$data.rtl,"dx-ltr":!e.$data.rtl}]}}}),E("ifnot: isLoading",function(e,t){return{ifnot:function(){return e.$data.isLoading}}}),E("with: surface",function(e,t){return{with:function(){return e.$data.surface}}}),E("if: isLoading",function(e,t){return{if:function(){return e.$data.isLoading}}}),E("foreach: parts",function(e,t){return{foreach:function(){return e.$data.parts}}}),E("template: { name: templateName, data: viewModel || model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.viewModel||e.$data.model}}}}),E("if: ($data.addOns)",function(e,t){return{if:function(){return e.$data.addOns}}}),E("foreach: addOns",function(e,t){return{foreach:function(){return e.$data.addOns}}}),E("template: { name: templateName, data: model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.model}}}}),E("text: verticalString",function(e,t){return{text:function(){return e.$data.verticalString}}}),E("template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"},css:function(){return{"dxd-state-active":e.$data.top(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top","Vertical")}}}}),E("template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle(), 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"},css:function(){return{"dxd-state-active":e.$data.middle(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("middle","Vertical")}}}}),E("template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom","Vertical")}}}}),E("text: horizontalString",function(e,t){return{text:function(){return e.$data.horizontalString}}}),E("template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"},css:function(){return{"dxd-state-active":e.$data.left(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left","Horizontal")}}}}),E("template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center(), 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"},css:function(){return{"dxd-state-active":e.$data.center(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("center","Horizontal")}}}}),E("template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"},css:function(){return{"dxd-state-active":e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right","Horizontal")}}}}),E("template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify(), 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"},css:function(){return{"dxd-state-active":e.$data.justify(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("justify","Horizontal")}}}}),E("dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.togglePopoverVisible,disabled:e.$data.disabled,icon:e.ko.unwrap(e.$data.imageTemplateName),iconClass:e.ko.unwrap(e.$data.imageClassName)}},attr:function(){return{id:e.$data.id,title:e.$data.text}}}}),E("dxPopup: { width: 235, height: 'auto', position: { my: $root.rtl ? 'left top': 'right top', at: 'bottom', of: ('#' + id) }, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, '.dxrd-action-items-container'), shading: false, visible: popoverVisible }",function(e,t){return{dxPopup:function(){return{width:235,height:"auto",position:{my:e.$root.rtl?"left top":"right top",at:"bottom",of:"#"+e.$data.id},showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,container:(e.$data.getContainer||function(e,t){return t})(t,".dxrd-action-items-container"),shading:!1,visible:e.$data.popoverVisible}}}}),E("dxclick: clickAction, css: { 'dxrd-disabled-button': disabled }",function(e,t){return{dxclick:function(){return e.$data.clickAction},css:function(){return{"dxrd-disabled-button":e.$data.disabled}}}}),E("css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }",function(e,t){return{css:function(){return e.ko.unwrap(e.$data.imageClassName)},template:function(){return{name:e.ko.unwrap(e.$data.imageTemplateName),if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),E("if: $data.contentTemplate",function(e,t){return{if:function(){return e.$data.contentTemplate}}}),E("template: contentTemplate",function(e,t){return{template:function(){return e.$data.contentTemplate}}}),E("if: !$data.contentTemplate",function(e,t){return{if:function(){return!e.$data.contentTemplate}}}),E("foreach: actions",function(e,t){return{foreach:function(){return e.$data.actions}}}),E("styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { 'dxrd-locked': $data.isLocked }",function(e,t){return{styleunit:function(){return{top:e.$data.top,left:e.$data.left,width:e.$data.width,height:e.$data.height}},css:function(){return{"dxrd-locked":e.$data.isLocked}}}}),E("styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className",function(e,t){return{styleunit:function(){return{left:e.$data.left,top:e.$data.top,width:e.$data.width,height:e.$data.height}},css:function(){return e.$data.className}}}),E("template: { name: $data.template, data: $data.data }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.data}}}}),E("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}}}}),E("text: text, attr: { title: text }",function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.text}}}}),E("foreach: $data.controls()",function(e,t){return{foreach:function(){return e.$data.controls()}}}),E("with: $parent.customData()",function(e,t){return{with:function(){return e.$parent.customData()}}}),E("dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: 'dxrd-svg-menu-menu', css: {'dxd-state-active': appMenuVisible }",function(t,e){return{dxclick:function(){return function(e){t.$data.stopPropagation?t.$data.stopPropagation=!1:t.$data.toggleAppMenu()}},template:function(){return"dxrd-svg-menu-menu"},css:function(){return{"dxd-state-active":t.$data.appMenuVisible}}}}),E("dxPopup: { width: 250, wrapperAttr: { class: 'dxd-menu-back-color dxd-back-primary2' }, 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: {}, hideOnOutsideClick: 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 }",function(r,e){return{dxPopup:function(){return{width:250,wrapperAttr:{class:"dxd-menu-back-color dxd-back-primary2"},height:"100%",position:r.$data.rtl?{my:"right top",at:"left top",offset:"-10 0"}:{my:"left top",at:"right top",offset:"10 0"},showTitle:!1,showCloseButton:!1,container:r.$data.getMenuPopupContainer(e),target:r.$data.getMenuPopupTarget(e),animation:{},hideOnOutsideClick:function(e){var t="dxrd-menu-button-image",i=e.target.parentNode&&e.target.parentNode.parentNode&&e.target.parentNode.parentNode.classList;return r.$data.stopPropagation=e.target.classList&&e.target.classList.contains(t)||i&&i.contains(t),!0},shading:!1,focusStateEnabled:!1,visible:r.$data.appMenuVisible}}}}),E("dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { 'dxrd-disabled-button': disabled }, visible: visible",function(t,e){return{dxclick:function(){return function(e){(!t.$data.disabled||t.$data.disabled())&&t.$data.disabled||(t.$root.toggleAppMenu(),t.$data.clickAction(t.$root.model(),e))}},css:function(){return{"dxrd-disabled-button":t.$data.disabled}},visible:function(){return t.$data.visible}}}),E("text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}",function(e,t){return{text:function(){return e.$data.displayText&&e.$data.displayText()||e.$data.text},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),E("visible: $data.hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),E("foreach: actionLists.menuItems",function(e,t){return{foreach:function(){return e.$data.actionLists.menuItems}}}),E("dxdAccordion: { collapsed: collapsed }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed}}}}),E("css: { 'dxrd-group-header-collapsed': collapsed() }",function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.collapsed()}}}}),E("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed() }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed()}}}}),E("text: $root.actionsGroupTitle()",function(e,t){return{text:function(){return e.$root.actionsGroupTitle()}}}),E("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)",function(e,t){return{dxclick:function(){return function(){(!e.$data.disabled||e.$data.disabled())&&e.$data.disabled||e.$data.clickAction(e.$root.editableObject())}},css:function(){return{"dxrd-disabled-button":e.$data.disabled&&e.$data.disabled()}},visible:function(){return null==e.ko.unwrap(e.$data.visible)||e.ko.unwrap(e.$data.visible)}}}),E("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),E("template: { name: 'dx-propertieseditor', data: $data }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data}}}}),E("visible: items.some(x => !x.visible || ko.unwrap(x.visible))",function(t,e){return{visible:function(){return t.$data.items.some(e=>!e.visible||t.ko.unwrap(e.visible))}}}),E("text: group",function(e,t){return{text:function(){return e.$data.group}}}),E("if: popularVisible",function(e,t){return{if:function(){return e.$data.popularVisible}}}),E("foreach: (contextActions || [])",function(e,t){return{foreach:function(){return e.$data.contextActions||[]}}}),E("if: $data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return e.$data.templateName&&!e.$data.isContextMenuAction}}}),E("template: templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),E("if: !$data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return!e.$data.templateName&&!e.$data.isContextMenuAction}}}),E("with: popularProperties",function(e,t){return{with:function(){return e.$data.popularProperties}}}),E("if: groupActionsVisible",function(e,t){return{if:function(){return e.$data.groupActionsVisible}}}),E("foreach: (groupActions || [])",function(e,t){return{foreach:function(){return e.$data.groupActions||[]}}}),E("foreach: (items || [])",function(e,t){return{foreach:function(){return e.$data.items||[]}}}),E("template: { name: $data.templateName, if: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName,if:e.$data.templateName}}}}),E("if: !$data.templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),E("css: { 'dx-property-grid-search-collapsed': !isSearching() }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":!e.$data.isSearching()}}}}),E("css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.isSearching}},dxButtonWithTemplate:function(){return{onClick:e.$data.switchSearchBox,icon:"dxrd-svg-properties-search",iconClass:"image-search"}},attr:function(){return{title:e.$root.getLocalization("Search","ASPxReportsStringId.SearchDialog_Header")}}}}),E("dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.textToSearch,valueChangeEvent:"keyup",placeholder:t.$data.searchPlaceholder(),showClearButton:!0}},cacheElement:function(){return{action:function(e){t.$data.searchBox(e)}}}}}),E("visible: active && visible",function(e,t){return{visible:function(){return e.$data.active&&e.$data.visible}}}),E("text: text",function(e,t){return{text:function(){return e.$data.text}}}),E("css: { 'dx-property-grid-search-collapsed': isSearching }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":e.$data.isSearching}}}}),E("dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.controlsStore.dataSource,value:e.$data.focusedItem,displayExpr:e.$data.displayExpr,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}}),E("css: { 'dxd-state-active dxd-state-no-hover': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: 'dxrd-svg-properties-sortingbyalphabet', iconClass: 'image-sortingbyalphabet' }",function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":!e.$data.isSortingByGroups()}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.isSortingByGroups(!1)},icon:"dxrd-svg-properties-sortingbyalphabet",iconClass:"image-sortingbyalphabet"}}}}),E("css: { 'dxd-state-active dxd-state-no-hover': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: 'dxrd-svg-properties-sortingbygroups', iconClass: 'image-sortingbygroups' }",function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":e.$data.isSortingByGroups}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.isSortingByGroups(!0)},icon:"dxrd-svg-properties-sortingbygroups",iconClass:"image-sortingbygroups"}}}}),E("dxScrollView: { showScrollbar: 'onHover', useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",useNative:!1,scrollByThumb:!0}}}}),E("visible: isSortingByGroups",function(e,t){return{visible:function(){return e.$data.isSortingByGroups}}}),E("visible: visible",function(e,t){return{visible:function(){return e.$data.visible}}}),E("text: displayName()",function(e,t){return{text:function(){return e.$data.displayName()}}}),E("dxLoadIndicator: { visible: !editorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.editorsCreated()}}}}),E("visible: editorsCreated",function(e,t){return{visible:function(){return e.$data.editorsCreated}}}),E("visible: !isSortingByGroups()",function(e,t){return{visible:function(){return!e.$data.isSortingByGroups()}}}),E("dxLoadIndicator: { visible: !allEditorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.allEditorsCreated()}}}}),E("visible: allEditorsCreated",function(e,t){return{visible:function(){return e.$data.allEditorsCreated}}}),E("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: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",function(e,t){return{dxPopup:function(){return{width:250,height:"auto",position:e.$data.rtl?{my:"left top",at:"right top",of:e.$data.popupService.target,collision:"flipfit"}:{my:"right top",at:"left top",of:e.$data.popupService.target,collision:"flipfit"},container:e.$root.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}}),E("text: popupService.title, visible: popupService.title",function(e,t){return{text:function(){return e.$data.popupService.title},visible:function(){return e.$data.popupService.title}}}),E("dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }",function(t,i){return{dxMenu:function(){return{wrapperAttr:{class:"dxd-button-back-color"},disabled:t.$data.popupService.disabled,dataSource:t.$data.popupService.actions,displayExpr:"title",cssClass:"dxrd-editor-menu",orientation:"vertical",showFirstSubmenuMode:"onHover",onSubmenuShowing:function(e){e.submenu._overlay.option("container",t.$root.getPopupContainer(i))}}}}}),E("dxclick: action",function(e,t){return{dxclick:function(){return e.$data.action}}}),E("attr: { title: title }, text: title",function(e,t){return{attr:function(){return{title:e.$data.title}},text:function(){return e.$data.title}}}),E("visible: $data.items && $data.items.length",function(e,t){return{visible:function(){return e.$data.items&&e.$data.items.length}}}),E("dxPopover: { container: $root.getPopupContainer($element), target: target, position: 'bottom', showCloseButton: false, onHidden: onHidden, hideEvent: 'mouseleave focusout', hideOnOutsideClick: true, hideOnParentScroll: true, width: '350px', visible: visible }",function(e,t){return{dxPopover:function(){return{container:e.$root.getPopupContainer(t),target:e.$data.target,position:"bottom",showCloseButton:!1,onHidden:e.$data.onHidden,hideEvent:"mouseleave focusout",hideOnOutsideClick:!0,hideOnParentScroll:!0,width:"350px",visible:e.$data.visible}}}}),E("text: data",function(e,t){return{text:function(){return e.$data.data}}}),E("if: $data.innerTemplate",function(e,t){return{if:function(){return e.$data.innerTemplate}}}),E("template: $data.innerTemplate",function(e,t){return{template:function(){return e.$data.innerTemplate}}}),E("with: model",function(e,t){return{with:function(){return e.$data.model}}}),E("if: $root.controlsStore.visible()",function(e,t){return{if:function(){return e.$root.controlsStore.visible()}}}),E("template: 'dx-propertygrid-searchbox'",function(e,t){return{template:function(){return"dx-propertygrid-searchbox"}}}),E("template: { name: 'dxrd-group-actions', data: { groupActions: $root.contextGroupActions, groupActionsVisible: $root.groupActionsVisible() } }",function(e,t){return{template:function(){return{name:"dxrd-group-actions",data:{groupActions:e.$root.contextGroupActions,groupActionsVisible:e.$root.groupActionsVisible()}}}}}),E("template: { name: 'dxrd-top-grid', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } }",function(e,t){return{template:function(){return{name:"dxrd-top-grid",data:{contextActions:e.$root.contextActions,popularProperties:e.$root.popularProperties,collapsed:e.ko.observable(!1),popularVisible:e.$root.popularVisible()&&e.$data.isSortingByGroups(),actionsGroupTitle:e.$root.actionsGroupTitle}}}}}),E("foreach: groups",function(e,t){return{foreach:function(){return e.$data.groups}}}),E("ifnot: editorsCreated",function(e,t){return{ifnot:function(){return e.$data.editorsCreated}}}),E("if: $data.editorsRendered()",function(e,t){return{if:function(){return e.$data.editorsRendered()}}}),E("foreach: editors",function(e,t){return{foreach:function(){return e.$data.editors}}}),E("template: editorTemplate",function(e,t){return{template:function(){return e.$data.editorTemplate}}}),E("if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true))",function(e,t){return{if:function(){return e.$index()===e.$parent.editors().length-1&&e.$parent.editorsCreated(!0)}}}),E("foreach: $data.getEditors()",function(e,t){return{foreach:function(){return e.$data.getEditors()}}}),E("if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true))",function(e,t){return{if:function(){return e.$index()===e.$parent._editors().length-1&&e.$parent.allEditorsCreated(!0)}}}),E("template: 'dx-propertygrid-popupservice'",function(e,t){return{template:function(){return"dx-propertygrid-popupservice"}}}),E("template: { name: 'dx-propertygrid-popoverservice', if: popover, data: popover.getViewModel() }",function(e,t){return{template:function(){return{name:"dx-propertygrid-popoverservice",if:e.$data.popover,data:e.$data.popover.getViewModel()}}}}),E("if: $data.itemTemplate",function(e,t){return{if:function(){return e.$data.itemTemplate}}}),E("template: $data.itemTemplate",function(e,t){return{template:function(){return e.$data.itemTemplate}}}),E("ifnot: $data.itemTemplate",function(e,t){return{ifnot:function(){return e.$data.itemTemplate}}}),E("dxTemplate: { name: 'content' }",function(){return{dxTemplate:{name:"content"}}}),E("dxTemplate: { name: 'item' }",function(){return{dxTemplate:{name:"item"}}}),E("styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))",function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.class},resizable:function(){return e.$data.getResizableOptions(t,1,e.$root.calculateWithZoomFactor(325))}}}),E("styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper",function(e,t){return{styleunit:function(){return{width:e.$data.width}},css:function(){return e.$data.class},dxMutationObserver:function(){return e.$data.keyboardHelper}}}),E("css: tabsElement.class",function(e,t){return{css:function(){return e.$data.tabsElement.class}}}),E("dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, 'aria-label': text, 'aria-expanded': active }, visible: visible",function(t,e){return{dxAction:function(){return{action:function(e){t.$data.click()}}},css:function(){return t.$data.css.class},attr:function(){return{title:t.$data.text,"aria-label":t.$data.text,"aria-expanded":t.$data.active}},visible:function(){return t.$data.visible}}}),E("css: image.class, template: {name: image.templateName, if: !!ko.unwrap($data.image.templateName)}",function(e,t){return{css:function(){return e.$data.image.class},template:function(){return{name:e.$data.image.templateName,if:!!e.ko.unwrap(e.$data.image.templateName)}}}}),E("styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)",function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.contentElement.class},resizable:function(){return e.$data.getResizableOptions(t,50,396)}}}),E("with: tabPanel.getViewModel()",function(e,t){return{with:function(){return e.$data.tabPanel.getViewModel()}}}),E("foreach: tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),E("lazy: { template: $data.template }",function(e,t){return{lazy:function(){return{template:e.$data.template}}}}),E("foreach: $data.tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),E("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', disabled: disabled, onClick: toogle, hint: title }",function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",disabled:e.$data.disabled,onClick:e.$data.toogle,hint:e.$data.title}}}}),E("template: {name: 'dxrd-toolbar-tmplt', data: actionLists.getViewModel().toolbarItems }",function(e,t){return{template:function(){return{name:"dxrd-toolbar-tmplt",data:e.$data.actionLists.getViewModel().toolbarItems}}}}),E("visible: visible, css: actionClass",function(e,t){return{visible:function(){return e.$data.visible},css:function(){return e.$data.actionClass}}}),E("attr: block.attr",function(e,t){return{attr:function(){return e.$data.block.attr}}}),E("template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: displayText }, dxclick: click",function(e,t){return{template:function(){return{name:e.$data.image.templateName,if:!!e.$data.image.templateName}},attr:function(){return{class:e.$data.image.class,title:e.$data.displayText}},dxclick:function(){return e.$data.click}}}),E("visible: hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),E("foreach: $data",function(e,t){return{foreach:function(){return e.$data}}}),E("if: templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),E("template: { name: templateName, data: contentData || $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.contentData||e.$data}}}}),E("if: !templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),E("dxScrollView: { showScrollbar: 'onHover', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",scrollByContent:!1,bounceEnabled:!1,useNative:!1,scrollByThumb:!0}}}}),E("attr: { title: displayName }",function(e,t){return{attr:function(){return{title:e.$data.displayName}}}}),E("template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler",function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},css:function(){return e.$data.imageClassName},draggable:function(){return e.$root.toolboxDragHandler}}}),E("foreach: toolboxItems",function(e,t){return{foreach:function(){return e.$data.toolboxItems}}}),E("foreach: groupedToolboxItems",function(e,t){return{foreach:function(){return e.$data.groupedToolboxItems}}}),E("foreach: items",function(e,t){return{foreach:function(){return e.$data.items}}}),E("dxSelectBox: { items: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }",function(e,t){return{dxSelectBox:function(){return{items:e.$data.widget.dataSource,value:e.$data.widget.value,onValueChanged:e.$data.widget.onValueChanged,displayExpr:e.$data.widget.displayExpr,displayCustomValue:!0,acceptCustomValue:!0,onCustomItemCreating:e.$data.widget.onCustomItemCreating,disabled:e.$data.disabled,dropDownOptions:{container:e.$data.getPopupContainer(t)},useItemTextAsTitle:!0}}}}),E("dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }",function(i,e){return{dxclick:function(){return function(e,t){i.$data.showPopup(e,t)}},css:function(){return i.$data.editorMenuButtonCss},attr:function(){return{title:i.$data.hint}}}}),E("dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",function(i,e){return{dxclick:function(){return function(e,t){i.$data.showPopup(e,t)}},attr:function(){return{title:i.$data.hint}},css:function(){return i.$data.editorMenuButtonCss}}}),E("template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }",function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:e.ko.unwrap(e.$data.imageTemplateName)}}}}),E("if: $data.visible",function(e,t){return{if:function(){return e.$data.visible}}}),E("if: $data.templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),E("template: $data.templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),E("ifnot: $data.templateName",function(e,t){return{ifnot:function(){return e.$data.templateName}}}),E("if: !ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return!e.ko.unwrap(e.$data.imageTemplateName)}}}),E("if: ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return e.ko.unwrap(e.$data.imageTemplateName)}}}),E("dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed,setCollapsed:e.$data.setCollapsed,getCollapsed:e.$data.getCollapsed,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent,alwaysShow:e.$data.alwaysShow}},dxMutationObserver:function(){return e.$data.keyboardHelper}}}),E("attr: { 'aria-expanded': alwaysShow || !collapsed ? 'true' : 'false', 'aria-owns': contentId, 'id': headerId, }",function(e,t){return{attr:function(){return{"aria-expanded":e.$data.alwaysShow||!e.$data.collapsed?"true":"false","aria-owns":e.$data.contentId,id:e.$data.headerId}}}}),E("dxButton: { onClick: up.action, disabled: up.disabled, icon: 'dxrd-svg-operations-moveup', template: up.template }, attr: { title: up.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.up.action,disabled:e.$data.up.disabled,icon:"dxrd-svg-operations-moveup",template:e.$data.up.template}},attr:function(){return{title:e.$data.up.text}}}}),E("dxButton: { onClick: down.action, disabled: down.disabled, icon: 'dxrd-svg-operations-movedown', template: down.template }, attr: { title: down.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.down.action,disabled:e.$data.down.disabled,icon:"dxrd-svg-operations-movedown",template:e.$data.down.template}},attr:function(){return{title:e.$data.down.text}}}}),E("dxButton: { onClick: add.action, disabled: add.disabled, icon: 'dxrd-svg-operations-add', template: add.template }, attr: { title: add.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.add.action,disabled:e.$data.add.disabled,icon:"dxrd-svg-operations-add",template:e.$data.add.template}},attr:function(){return{title:e.$data.add.text}}}}),E("dxButton: { onClick: delete.action, disabled: delete.disabled, icon: 'dxrd-svg-operations-remove', template: delete.template }, attr: { title: delete.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.delete.action,disabled:e.$data.delete.disabled,icon:"dxrd-svg-operations-remove",template:e.$data.delete.template}},attr:function(){return{title:e.$data.delete.text}}}}),E("styleunit: { 'paddingLeft': padding }",function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding}}}}),E("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed}}}}),E("text: displayName, attr: { title: displayName }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}}),E("attr: { 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false', 'aria-labelledby': headerId, 'id': contentId }",function(e,t){return{attr:function(){return{"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false","aria-labelledby":e.$data.headerId,id:e.$data.contentId}}}}),E("visible: !disabled, dxScrollView: { showScrollbar: 'onHover', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option('useKeyboard', false); } }",function(e,t){return{visible:function(){return!e.$data.disabled},dxScrollView:function(){return{showScrollbar:"onHover",disabled:!e.$data.showScroll,useNative:!1,scrollByThumb:!0,onInitialized:function(e){e.component.option("useKeyboard",!1)}}}}}),E("text: emptyAreaText",function(e,t){return{text:function(){return e.$data.emptyAreaText}}}),E("foreach: values",function(e,t){return{foreach:function(){return e.$data.values}}}),E("attr: { 'aria-selected': selected }, dxAction: { model: $data, action: select }, css: { 'dxd-state-selected' : selected }",function(e,t){return{attr:function(){return{"aria-selected":e.$data.selected}},dxAction:function(){return{model:e.$data,action:e.$data.select}},css:function(){return{"dxd-state-selected":e.$data.selected}}}}),E("if: showButtons",function(e,t){return{if:function(){return e.$data.showButtons}}}),E("with: buttons",function(e,t){return{with:function(){return e.$data.buttons}}}),E("if: up.visible",function(e,t){return{if:function(){return e.$data.up.visible}}}),E("if: down.visible",function(e,t){return{if:function(){return e.$data.down.visible}}}),E("if: add.visible",function(e,t){return{if:function(){return e.$data.add.visible}}}),E("if: delete.visible",function(e,t){return{if:function(){return e.$data.delete.visible}}}),E("if: displayName",function(e,t){return{if:function(){return e.$data.displayName}}}),E("if: values.length === 0",function(e,t){return{if:function(){return 0===e.$data.values.length}}}),E("if: values.length !== 0",function(e,t){return{if:function(){return 0!==e.$data.values.length}}}),E("dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { 'aria-label': displayName } }), dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxCheckBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,elementAttr:{"aria-label":e.$data.displayName}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),E("dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:[{val:!0,text:e.$root.getLocalization("Yes","AnalyticsCoreStringId.ParametersPanel_True")},{val:!1,text:e.$root.getLocalization("No","AnalyticsCoreStringId.ParametersPanel_False")}],inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},valueExpr:"val",displayExpr:"text",value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),E("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }",function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info}}}}),E("text: $data.display, attr: { title: $data.display }",function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}}),E("dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }}, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: $data.validationRules || [] })",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),E("dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }",function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",disabled:e.$data.disabled,acceptCustomValue:!0,onCustomItemCreating:function(e){return{value:e.text,displayValue:e.text}},dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},useLocalizedTextAsValue:!0}}}}),E("dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId } }, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.generateValue(e.$root.undoEngine),valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},inputAttr:{id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),E("dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed,setCollapsed:e.$data.setCollapsed,getCollapsed:e.$data.getCollapsed,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}}),E("attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}",function(e,t){return{attr:function(){return{role:"treeitem",id:e.$data.isComplexEditor&&e.$data.headerId,"aria-owns":e.$data.isComplexEditor&&e.$data.contentId,"aria-expanded":e.$data.isComplexEditor&&(e.$data.alwaysShow||!e.$data.collapsed?"true":"false")}},css:function(){return{"dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented":e.$data.isComplexEditor}}}}),E("styleunit: padding, css: { 'dx-accordion-empty': templateName === 'dx-emptyHeader' }",function(e,t){return{styleunit:function(){return e.$data.padding},css:function(){return{"dx-accordion-empty":"dx-emptyHeader"===e.$data.templateName}}}}),E("enable: templateName === 'dx-emptyHeader'",function(e,t){return{enable:function(){return"dx-emptyHeader"===e.$data.templateName}}}),E("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !ko.unwrap(collapsed) }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.ko.unwrap(e.$data.collapsed)}}}}),E("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}}),E("text: displayName, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}}),E("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-field-label-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-field-label-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),E("text: displayName, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-property-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),E("service: { name: 'createEditorDescriptionAddOn' }",function(e,t){return{service:function(){return{name:"createEditorDescriptionAddOn"}}}}),E("css: { 'dxd-border-accented': $data.isPropertyHighlighted }",function(e,t){return{css:function(){return{"dxd-border-accented":e.$data.isPropertyHighlighted}}}}),E("service: { name: 'createEditorAddOn' }",function(e,t){return{service:function(){return{name:"createEditorAddOn"}}}}),E("attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }",function(e,t){return{attr:function(){return{"aria-labelledby":e.$data.headerId,id:e.$data.contentId,"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false"}}}}),E("dxButtonWithTemplate: { onClick: onClick, icon: 'dxrd-svg-tabs-description_info' }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.onClick,icon:"dxrd-svg-tabs-description_info"}}}}),E("if: isComplexEditor",function(e,t){return{if:function(){return e.$data.isComplexEditor}}}),E("ifnot: $data.hideCollapsingButton",function(e,t){return{ifnot:function(){return e.$data.hideCollapsingButton}}}),E("if: !!$data.textToSearch",function(e,t){return{if:function(){return!!e.$data.textToSearch}}}),E("ifnot: !!$data.textToSearch",function(e,t){return{ifnot:function(){return!!e.$data.textToSearch}}}),E("if: !isComplexEditor",function(e,t){return{if:function(){return!e.$data.isComplexEditor}}}),E("if: $data.description",function(e,t){return{if:function(){return e.$data.description}}}),E("if: templateName !== 'dx-emptyHeader'",function(e,t){return{if:function(){return"dx-emptyHeader"!==e.$data.templateName}}}),E("lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } }",function(t,e){return{lazy:function(){return{innerBindings:{template:t.$data.templateName},isResolved:function(e){t.$data.setIsRendered(e)}}}}}),E("if: editorCreated",function(e,t){return{if:function(){return e.$data.editorCreated}}}),E("template: contentTemplateName",function(e,t){return{template:function(){return e.$data.contentTemplateName}}}),E("dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId }, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxDateBox:function(){return e.$data.getOptions({value:e.$data.value,closeOnValueChange:!0,type:"datetime",disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flip",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),E("dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"File",disabled:e.$data.disabled}}}}),E("css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { bold(!bold()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.bold(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.bold(!e.$data.bold())}}}}),E("css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { italic(!italic()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.italic(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.italic(!e.$data.italic())}}}}),E("css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { underline(!underline()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.underline(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.underline(!e.$data.underline())}}}}),E("css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { strikeout(!strikeout()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.strikeout(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.strikeout(!e.$data.strikeout())}}}}),E("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),E("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),E("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline",function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideUnderline}}}),E("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),E("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout",function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideStrikeout}}}),E("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),E("dxFileImagePicker: { value: value, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"Image",accept:"image/*",type:"img",disabled:e.$data.disabled}}}}),E("dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxNumberBox:function(){return e.$data.getOptions({value:e.$data.value,showSpinButtons:!0,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),E("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),E("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),E("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})}}}),E("value: value, disable: disabled",function(t,e){return{value:function(){return t.$data.value},disable:function(){return t.$data.disabled},_ko_property_writers:function(){return{value:function(e){t.$data.value=e}}}}}),E("if: $data.validationRules",function(e,t){return{if:function(){return e.$data.validationRules}}}),E("if: !$data.validationRules",function(e,t){return{if:function(){return!e.$data.validationRules}}}),E("css: { 'dx-rtl' : rtl }",function(e,t){return{css:function(){return{"dx-rtl":e.$data.rtl}}}}),E("dxPopup: { showTitle: true, width: '750px', height: '475px', title: title(), rtlEnabled: rtl, visible: popupVisible, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }",function(e,t){return{dxPopup:function(){return{showTitle:!0,width:"750px",height:"475px",title:e.$data.title(),rtlEnabled:e.$data.rtl,visible:e.$data.popupVisible,wrapperAttr:{class:e.$data.className},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$root.getPopupContainer(t),position:{of:e.$root.getPopupContainer(t)}}}}}),E("dxDataGrid: queriesGrid",function(e,t){return{dxDataGrid:function(){return e.$data.queriesGrid}}}),E("dxDropDownButton: $data",function(e,t){return{dxDropDownButton:function(){return e.$data}}}),E("if: $data",function(e,t){return{if:function(){return e.$data}}}),E("template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper }",function(e,t){return{template:function(){return{name:e.$data._queriesPopupHelper.template,data:e.$data._queriesPopupHelper}}}}),E("foreach: $data.popupItems",function(e,t){return{foreach:function(){return e.$data.popupItems}}}),E("template: { name: template, data: model }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.model}}}}),E("with: options",function(e,t){return{with:function(){return e.$data.options}}}),E("dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",function(e,t){return{dxTextArea:function(){return{value:e.$data.textAreaValue,isValid:e.$data.isValid,spellcheck:!1,onKeyUp:function(){e.$data.isValid(!0)}}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),E("dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",function(e,t){return{dxAceEditor:function(){return{value:e.$data.textAreaValue,editorContainer:e.$data.editorContainer,theme:e.$data.theme,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions,callbacks:e.$data.callbacks}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),E("visible: visible, attr: { class: 'dx-expressioneditor-tools-tab dxd-back-primary2 '+ ($data.templateName ? $data.templateName : '')}",function(e,t){return{visible:function(){return e.$data.visible},attr:function(){return{class:"dx-expressioneditor-tools-tab dxd-back-primary2 "+(e.$data.templateName||"")}}}}),E("dxEllipsisEditor: { value: displayValue, buttonAction: function() { popupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.displayValue,buttonAction:function(){e.$data.popupVisible(!0)},disabled:e.$data.disabled,isValid:e.$data.modelValueValid,warningMessage:e.$data.modelValueWarning,inputAttr:{id:e.$data.editorInputId}}}}}),E("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }",function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-expressioneditor dx-popup-general"},title:e.$data.title(),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,fullScreen:!1,height:"615px",maxHeight:"90%",maxWidth:"90%",minHeight:400,minWidth:500,width:"645px",container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onContentReady:e.$data.onContentReady,onShowing:e.$data.onShowing,onHiding:e.$data.onHiding,onShown:e.$data.onShown,resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()}}}}}),E("if: !aceAvailable",function(e,t){return{if:function(){return!e.$data.aceAvailable}}}),E("if: aceAvailable",function(e,t){return{if:function(){return e.$data.aceAvailable}}}),E("with: tools",function(e,t){return{with:function(){return e.$data.tools}}}),E("foreach: toolBox",function(e,t){return{foreach:function(){return e.$data.toolBox}}}),E("template: { name: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName}}}}),E("template: 'dx-expressioneditor-popup'",function(e,t){return{template:function(){return"dx-expressioneditor-popup"}}}),E("if: popupVisible",function(e,t){return{if:function(){return e.$data.popupVisible}}}),E('template: "dx-expressioneditor-main"',function(e,t){return{template:function(){return"dx-expressioneditor-main"}}}),E("dxScrollView: { showScrollbar: 'onHover' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, 'e')",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},resizable:function(){return e.$parents[1].resizeHelper.resizable(e.$root.resizeHandler,"e")}}}),E("css: {'dxd-state-selected': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.content.isSelected}},text:function(){return e.$data.displayName},dxclick:function(){return function(){e.$parent.click(e.$data.content)}}}}),E("css: {'dxd-state-selected': $data.isSelected }, dxclick: function() { $data.updateContent($data.allItems(), $data.isSelected); $parent.click($data.content) }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},dxclick:function(){return function(){e.$data.updateContent(e.$data.allItems(),e.$data.isSelected),e.$parent.click(e.$data.content)}}}}),E("text: displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),E("css: {'dxd-state-selected': isSelected }, text: $data.display, dxclick: function() { $parent.updateContent($data.data, $data.isSelected); $parents[1].click($parent.content); }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},text:function(){return e.$data.display},dxclick:function(){return function(){e.$parent.updateContent(e.$data.data,e.$data.isSelected),e.$parents[1].click(e.$parent.content)}}}}),E("foreach: content",function(e,t){return{foreach:function(){return e.$data.content}}}),E("dxScrollView: { showScrollbar: 'onHover' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}}}}),E("text: content",function(e,t){return{text:function(){return e.$data.content}}}),E("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) ] }",function(e,t){return{treeListSearchPanel:function(){return{controllers:[e.ko.unwrap(e.$data.parameters)?e.ko.unwrap(e.$data.parameters).treeListController:e.ko.unwrap(e.$data.parameters),e.ko.unwrap(e.$data.fields)?e.ko.unwrap(e.$data.fields).treeListController:e.ko.unwrap(e.$data.fields)]}}}}),E("treelist: fields",function(e,t){return{treelist:function(){return e.$data.fields}}}),E("treelist: parameters",function(e,t){return{treelist:function(){return e.$data.parameters}}}),E("visible: visible, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected': isSelected }",function(e,t){return{visible:function(){return e.$data.visible},event:function(){return{dblclick:function(){e.$data.actions[0].clickAction(t)}}},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected":e.$data.isSelected}}}}),E("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed",function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed}}}),E("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.text}}}}),E("click: toggleSelected",function(e,t){return{click:function(){return e.$data.toggleSelected}}}),E("if: fields",function(e,t){return{if:function(){return e.$data.fields}}}),E("if: $data.parameters",function(e,t){return{if:function(){return e.$data.parameters}}}),E("if: hasItems",function(e,t){return{if:function(){return e.$data.hasItems}}}),E("ifnot: hasItems",function(e,t){return{ifnot:function(){return e.$data.hasItems}}}),E("template: { name: 'dx-treelist-item-text-content' }",function(e,t){return{template:function(){return{name:"dx-treelist-item-text-content"}}}}),E("attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, 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); } }",function(e,t){return{attr:function(){return{class:"dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted "+(e.$data.class||"")}},text:function(){return e.$data.displayName||e.$data.text},css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem()===e.$data}},dxclick:function(){return function(){e.$parent.selectedItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}}}}),E("dxTextBox: { value: textToSearch, showClearButton: true, valueChangeEvent: 'keyup', placeholder: $parents[2].searchPlaceholder() }",function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,showClearButton:!0,valueChangeEvent:"keyup",placeholder:e.$parents[2].searchPlaceholder()}}}}),E("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 }",function(e,t){return{css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem()===e.$data}},dxclick:function(){return function(){e.$parent.selectedItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}},searchHighlighting:function(){return{text:e.$data.displayName||e.$data.text,textToSearch:e.$parent.textToSearch}}}}),E("with: content",function(e,t){return{with:function(){return e.$data.content}}}),E("template: $data",function(e,t){return{template:function(){return e.$data}}}),E("foreach: availableItems",function(e,t){return{foreach:function(){return e.$data.availableItems}}}),E("css: { 'advanced': advancedMode }",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}}}}),E("css: { 'advanced': advancedMode }, visible: textVisible",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}},visible:function(){return e.$data.textVisible}}}),E("css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }",function(e,t){return{css:function(){return e.$data.getTextCssClasses()},style:function(){return{height:e.$data.textContentHeightPerc}}}}),E("dxCheckBox: { value: advancedMode, text: advancedModeText }, style: $data.getCheckBoxStyles()",function(e,t){return{dxCheckBox:function(){return{value:e.$data.advancedMode,text:e.$data.advancedModeText}},style:function(){return e.$data.getCheckBoxStyles()}}}),E("style: $data.getContentStyles()",function(e,t){return{style:function(){return e.$data.getContentStyles()}}}),E("visible: $data.options().disabled()",function(e,t){return{visible:function(){return e.$data.options().disabled()}}}),E("dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }",function(t,e){return{dxTextArea:function(){return{value:t.$data.displayValue,isValid:t.$data.isValid,onInput:t.$data.onInput,spellcheck:!1}},cacheElement:function(){return{action:function(e){t.$data.cacheElement(e)}}}}}),E("css: {'dx-invalid': !$data.isValid(), 'dx-state-focused': textFocused }",function(e,t){return{css:function(){return{"dx-invalid":!e.$data.isValid(),"dx-state-focused":e.$data.textFocused}}}}),E("dxAceEditor: { value: $data.displayValue, theme: helper.aceTheme, editorContainer: editorContainer, options: aceOptions, additionalOptions: additionalOptions }",function(e,t){return{dxAceEditor:function(){return{value:e.$data.displayValue,theme:e.$data.helper.aceTheme,editorContainer:e.$data.editorContainer,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions}}}}),E("dxScrollView: { showScrollbar: 'onHover', direction: 'both' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",direction:"both"}}}}),E("dxclick: function() { $data.advancedMode(true); }",function(e,t){return{dxclick:function(){return function(){e.$data.advancedMode(!0)}}}}),E("text: invalidMessage()",function(e,t){return{text:function(){return e.$data.invalidMessage()}}}),E("template: 'dx-filtereditor-content-tree'",function(e,t){return{template:function(){return"dx-filtereditor-content-tree"}}}),E("template: 'dx-filtereditor-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-content-text"}}}),E("if: $data.advancedModeTop()",function(e,t){return{if:function(){return e.$data.advancedModeTop()}}}),E("template: 'dx-filtereditor-plain-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-plain-content-text"}}}),E("ifnot: $data.advancedModeTop()",function(e,t){return{ifnot:function(){return e.$data.advancedModeTop()}}}),E("with: operandSurface",function(e,t){return{with:function(){return e.$data.operandSurface}}}),E("template: { name: $data.templateName, data: $data, if: $parent.isSurfaceValid }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data,if:e.$parent.isSurfaceValid}}}}),E("ifnot: isSurfaceValid",function(e,t){return{ifnot:function(){return e.$data.isSurfaceValid}}}),E("dxEllipsisEditor: { value: modelDisplayValue, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { popupVisible(true); }, inputAttr: { id: editorInputId } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.modelDisplayValue,isValid:e.$data.modelValueIsValid,disabled:e.$data.disabled,buttonAction:function(){e.$data.popupVisible(!0)},inputAttr:{id:e.$data.editorInputId}}}}}),E("style: { pointerEvents: $data.options().disabled() ? 'none' : '' }",function(e,t){return{style:function(){return{pointerEvents:e.$data.options().disabled()?"none":""}}}}),E("template: 'dx-filtereditor-popup'",function(e,t){return{template:function(){return"dx-filtereditor-popup"}}}),E("template: 'dx-filtereditor-content'",function(e,t){return{template:function(){return"dx-filtereditor-content"}}}),E("template: 'dx-filtereditor-content-popups'",function(e,t){return{template:function(){return"dx-filtereditor-content-popups"}}}),E("template: 'dx-filtereditor-content-plain'",function(e,t){return{template:function(){return"dx-filtereditor-content-plain"}}}),E("service: { name: 'createChangeType' }",function(e,t){return{service:function(){return{name:"createChangeType"}}}}),E("dxclick: function() { $data.remove && $data.remove(); }",function(e,t){return{dxclick:function(){return function(){e.$data.remove&&e.$data.remove()}}}}),E("visible: !!$data.canRemove",function(e,t){return{visible:function(){return!!e.$data.canRemove}}}),E("with: property",function(e,t){return{with:function(){return e.$data.property}}}),E("template: { name: templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),E("if: $data.aggregatedExpression()",function(e,t){return{if:function(){return e.$data.aggregatedExpression()}}}),E("with: aggregatedExpression",function(e,t){return{with:function(){return e.$data.aggregatedExpression}}}),E("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),E("template: { name: 'dx-filtereditor-aggregate-common' }",function(e,t){return{template:function(){return{name:"dx-filtereditor-aggregate-common"}}}}),E("with: condition",function(e,t){return{with:function(){return e.$data.condition}}}),E("with: begin",function(e,t){return{with:function(){return e.$data.begin}}}),E("with: end",function(e,t){return{with:function(){return e.$data.end}}}),E("with: leftOperand",function(e,t){return{with:function(){return e.$data.leftOperand}}}),E("with: rightOperand",function(e,t){return{with:function(){return e.$data.rightOperand}}}),E("if: $data.leftPart && $data.leftPart.condition",function(e,t){return{if:function(){return e.$data.leftPart&&e.$data.leftPart.condition}}}),E("with: leftPart",function(e,t){return{with:function(){return e.$data.leftPart}}}),E("css: css",function(e,t){return{css:function(){return e.$data.css}}}),E("text: displayType",function(e,t){return{text:function(){return e.$data.displayType}}}),E("service: { name: 'createChangeValueType' }",function(e,t){return{service:function(){return{name:"createChangeValueType"}}}}),E("template: { name: $data.leftPart.templateName, data: $data.leftPart }",function(e,t){return{template:function(){return{name:e.$data.leftPart.templateName,data:e.$data.leftPart}}}}),E("foreach: rightPart",function(e,t){return{foreach:function(){return e.$data.rightPart}}}),E("template: { name: $data.templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),E("service: { name: 'createAddButton' }",function(e,t){return{service:function(){return{name:"createAddButton"}}}}),E("foreach: operands",function(e,t){return{foreach:function(){return e.$data.operands}}}),E("dxclick: addValue",function(e,t){return{dxclick:function(){return e.$data.addValue}}}),E("with: criteriaOperator",function(e,t){return{with:function(){return e.$data.criteriaOperator}}}),E("if: $data.operands().length > 1",function(e,t){return{if:function(){return 1<e.$data.operands().length}}}),E("foreach: $data.operands()",function(e,t){return{foreach:function(){return e.$data.operands()}}}),E("if: $data.operands().length == 1",function(e,t){return{if:function(){return 1==e.$data.operands().length}}}),E("template: { name: $data.operands()[0].templateName, data: $data.operands()[0] }",function(e,t){return{template:function(){return{name:e.$data.operands()[0].templateName,data:e.$data.operands()[0]}}}}),E("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),E("service: { name: 'createChangeParameter' }",function(e,t){return{service:function(){return{name:"createChangeParameter"}}}}),E("if: $data.canChange",function(e,t){return{if:function(){return e.$data.canChange}}}),E("service: { name: 'createChangeProperty' }",function(e,t){return{service:function(){return{name:"createChangeProperty"}}}}),E("if: $data.operand().reverse",function(e,t){return{if:function(){return e.$data.operand().reverse}}}),E("template: {name: $data.operand().templateName, data: $data.operand() }",function(e,t){return{template:function(){return{name:e.$data.operand().templateName,data:e.$data.operand()}}}}),E("ifnot: $data.operand().reverse",function(e,t){return{ifnot:function(){return e.$data.operand().reverse}}}),E("with: operand",function(e,t){return{with:function(){return e.$data.operand}}}),E("visible: isEditable",function(e,t){return{visible:function(){return e.$data.isEditable}}}),E("dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getStringEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),E("focus: isEditable, dxLocalizedSelectBox: getBoolEditorOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxLocalizedSelectBox:function(){return e.$data.getBoolEditorOptions(t,e.$root)}}}),E("focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxDateBox:function(){return e.$data.getDateEditorOptions(t,e.$root)}}}),E("dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getNumberEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),E("focus: isEditable, dxSelectBox: getListEditOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxSelectBox:function(){return e.$data.getListEditOptions(t,e.$root)}}}),E("visible: !isEditable()",function(e,t){return{visible:function(){return!e.$data.isEditable()}}}),E("text: value, click: function() { isEditable(true); }, css: { 'default': $data.isDefaultDisplay() }",function(e,t){return{text:function(){return e.$data.value},click:function(){return function(){e.$data.isEditable(!0)}},css:function(){return{default:e.$data.isDefaultDisplay()}}}}),E("if: $data.items.length === 0",function(e,t){return{if:function(){return 0===e.$data.items.length}}}),E('if: $data.specifics() === "string" || $data.specifics() === "guid"',function(e,t){return{if:function(){return"string"===e.$data.specifics()||"guid"===e.$data.specifics()}}}),E('if: $data.specifics() === "bool"',function(e,t){return{if:function(){return"bool"===e.$data.specifics()}}}),E('if: $data.specifics() === "date"',function(e,t){return{if:function(){return"date"===e.$data.specifics()}}}),E('if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid"',function(e,t){return{if:function(){return"string"!==e.$data.specifics()&&"bool"!==e.$data.specifics()&&"date"!==e.$data.specifics()&&"guid"!==e.$data.specifics()}}}),E("if: $data.items.length > 0",function(e,t){return{if:function(){return 0<e.$data.items.length}}}),E("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, title: options() && options().title(), visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }",function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-filtereditor dx-popup-general"},resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()},width:700,height:500,maxHeight:"95%",maxWidth:"95%",minHeight:300,minWidth:400,title:e.$data.options()&&e.$data.options().title(),visible:e.$data.popupVisible,onShown:function(){e.$data.focusText()},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)}}}}}),E("dxclick: showPopup",function(e,t){return{dxclick:function(){return e.$data.showPopup}}}),E("text: target.displayType, dxclick: showPopup, css: target.css",function(e,t){return{text:function(){return e.$data.target.displayType},dxclick:function(){return e.$data.showPopup},css:function(){return e.$data.target.css}}}),E("text: target.parameterName(), dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",function(e,t){return{text:function(){return e.$data.target.parameterName()},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}}),E("text: target.displayName, dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",function(e,t){return{text:function(){return e.$data.target.displayName},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}}),E("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),E("dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",function(e,t){return{dxPopupWithAutoHeight:function(){return{minWidth:"170px",maxWidth:"500px",width:"auto",height:"300px",wrapperAttr:{class:"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay"},focusStateEnabled:!1,position:e.$data.rtl?{my:"right top",at:"right bottom",of:e.$data.popupService.target}:{my:"left top",at:"left bottom",of:e.$data.popupService.target},container:e.$data.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}}),E("dxTextBox: { placeholder: searchPlaceholder(), value: ($data.value || $data.filterString), height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }",function(e,t){return{dxTextBox:function(){return{placeholder:e.$data.searchPlaceholder(),value:e.$data.value||e.$data.filterString,height:"100%",width:"100%",stylingMode:"underlined",valueChangeEvent:"keyup"}}}}),E("template: { name: 'dx-filtereditor-search-panel', data: $data }",function(e,t){return{template:function(){return{name:"dx-filtereditor-search-panel",data:e.$data}}}}),E("dxScrollView: { showScrollbar: 'onHover' }, css: { 'dx-filtereditor-filtered': isFiltered }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},css:function(){return{"dx-filtereditor-filtered":e.$data.isFiltered}}}}),E("text: $data.displayText || $data.name, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",function(e,t){return{text:function(){return e.$data.displayText||e.$data.name},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}}),E("searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.filterString }, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayText||e.$data.name,textToSearch:e.$parent.filterString}},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}}),E("treeListSearchPanel: { controllers: data().treeListController, template: 'dx-filtereditor-search-panel' }",function(e,t){return{treeListSearchPanel:function(){return{controllers:e.$data.data().treeListController,template:"dx-filtereditor-search-panel"}}}}),E("treelist: data",function(e,t){return{treelist:function(){return e.$data.data}}}),E("with: popupService",function(e,t){return{with:function(){return e.$data.popupService}}}),E("with: data",function(e,t){return{with:function(){return e.$data.data}}}),E("template: template",function(e,t){return{template:function(){return e.$data.template}}}),E("if: $data.isFiltered",function(e,t){return{if:function(){return e.$data.isFiltered}}}),E("foreach: data",function(e,t){return{foreach:function(){return e.$data.data}}}),E("if: !$data.hidden",function(e,t){return{if:function(){return!e.$data.hidden}}}),E("ifnot: $parent.isFiltered",function(e,t){return{ifnot:function(){return e.$parent.isFiltered}}}),E("if: $parent.isFiltered",function(e,t){return{if:function(){return e.$parent.isFiltered}}}),E("dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: 'single', activeStateEnabled: false }",function(e,t){return{dxList:function(){return{items:e.$data.items,selectedItems:e.$data.selectedItems,onItemClick:e.$data.action,selectionMode:"single",activeStateEnabled:!1}}}}),E("click: $parent.removeItem, visible: $data.canRemove",function(e,t){return{click:function(){return e.$parent.removeItem},visible:function(){return e.$data.canRemove}}}),E("text: $data.displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),E("text: getDisplayText('types')",function(e,t){return{text:function(){return e.$data.getDisplayText("types")}}}),E("dxButton:{ onClick: addCustomFormat, text: getDisplayText('add'), disabled: !canAddCustomFormat() }",function(e,t){return{dxButton:function(){return{onClick:e.$data.addCustomFormat,text:e.$data.getDisplayText("add"),disabled:!e.$data.canAddCustomFormat()}}}}),E("dxTextBox: { value: formatResult, onInput: function(e) { updateInputText('formatResult', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatResult,onInput:function(e){t.$data.updateInputText("formatResult",e.component)}}}}}),E("text: getDisplayText('prefix')",function(e,t){return{text:function(){return e.$data.getDisplayText("prefix")}}}),E("dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText('formatPrefix', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatPrefix,onInput:function(e){t.$data.updateInputText("formatPrefix",e.component)}}}}}),E("text: getDisplayText('suffix')",function(e,t){return{text:function(){return e.$data.getDisplayText("suffix")}}}),E("dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText('formatSuffix', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatSuffix,onInput:function(e){t.$data.updateInputText("formatSuffix",e.component)}}}}}),E("template: { name: 'dx-format-string-list', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } }",function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.patternList,action:e.$data.setFormat,removeItem:e.$data.removeCustomFormat,selectedItems:e.$data.selectedFormats}}}}}),E("dxEllipsisEditor: { value: value, disabled: disabled, buttonAction: function() { popupVisible(true); } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled,buttonAction:function(){e.$data.popupVisible(!0)}}}}}),E("dxPopup: { wrapperAttr: { class: 'dx-format-string dx-popup-general' }, showTitle: true, width: '95%', height: '95%', minWidth: 650, title: getDisplayText('title'), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }",function(e,t){return{dxPopup:function(){return{wrapperAttr:{class:"dx-format-string dx-popup-general"},showTitle:!0,width:"95%",height:"95%",minWidth:650,title:e.$data.getDisplayText("title"),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)}}}}}),E("text: getDisplayText('category')",function(e,t){return{text:function(){return e.$data.getDisplayText("category")}}}),E("css: { 'dx-format-general': isGeneralType }",function(e,t){return{css:function(){return{"dx-format-general":e.$data.isGeneralType}}}}),E("text: getDisplayText('preview')",function(e,t){return{text:function(){return e.$data.getDisplayText("preview")}}}),E("text: previewString",function(e,t){return{text:function(){return e.$data.previewString}}}),E("template: { name: 'dx-format-string-list', data: { items: types, action: setType, selectedItems: selectedTypes } }",function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.types,action:e.$data.setType,selectedItems:e.$data.selectedTypes}}}}}),E("if: !isGeneralType",function(e,t){return{if:function(){return!e.$data.isGeneralType}}}),E("template: 'dx-format-string-edit-area'",function(e,t){return{template:function(){return"dx-format-string-edit-area"}}}),E("if: isGeneralType",function(e,t){return{if:function(){return e.$data.isGeneralType}}}),E("template: 'dx-format-string-edit-area-general'",function(e,t){return{template:function(){return"dx-format-string-edit-area-general"}}}),E("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 }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:function(){e.$data.clickAction(e.$parent)},icon:e.ko.unwrap(e.$data.imageTemplateName),iconClass:e.$data.imageClassName,visible:null==e.ko.unwrap(e.$data.visible)||e.ko.unwrap(e.$data.visible),disabled:e.$data.disabled&&e.$data.disabled()}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),E("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: $parent.reverseCollapsed }, visible: $parent.hasContent, attr: { title: $data.displayText() }",function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",onClick:e.$parent.reverseCollapsed}},visible:function(){return e.$parent.hasContent},attr:function(){return{title:e.$data.displayText()}}}}),E("template: { name: 'dx-treelist-edit-action', data: treeListEditAction }",function(e,t){return{template:function(){return{name:"dx-treelist-edit-action",data:e.$data.treeListEditAction}}}}),E("template: 'dx-treelist-item-actions'",function(e,t){return{template:function(){return"dx-treelist-item-actions"}}}),E("styleunit: padding, click: events.click",function(e,t){return{styleunit:function(){return e.$data.padding},click:function(){return e.$data.events.click}}}),E("dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }",function(e,t){return{dxdAccordionExt:function(){return{collapsed:e.$data.collapsed,lazyContentRendering:!0,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}}),E("visible: isSelected || isHovered",function(e,t){return{visible:function(){return e.$data.isSelected||e.$data.isHovered}}}),E("event: events, styleunit: padding, css: cssRules, attr: attr",function(e,t){return{event:function(){return e.$data.events},styleunit:function(){return e.$data.padding},css:function(){return e.$data.cssRules},attr:function(){return e.$data.attr}}}),E("style: { 'padding-left': hasItems ? '0px': '18px' }",function(e,t){return{style:function(){return{"padding-left":e.$data.hasItems?"0px":"18px"}}}}),E("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null, draggable: dragDropHandler",function(i,e){return{click:function(){return function(e,t){i.$root.hideContextMenu&&i.$root.hideContextMenu(),i.$data.toggleSelected(e,t)}},event:function(){return i.$root.ContextMenusEnabled&&i.$root.ContextMenusEnabled()?{contextmenu:i.$data.toggleSelected}:null},draggable:function(){return i.$data.dragDropHandler}}}),E("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null",function(i,e){return{click:function(){return function(e,t){i.$root.hideContextMenu&&i.$root.hideContextMenu(),i.$data.toggleSelected(e,t)}},event:function(){return i.$root.ContextMenusEnabled&&i.$root.ContextMenusEnabled()?{contextmenu:i.$data.toggleSelected}:null}}}),E("searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.text,textToSearch:e.$data.searchModel.textToSearch,searchOptions:e.$data.searchModel.searchOptions}},attr:function(){return{title:e.$data.text}}}}),E("css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.text}}}}),E("if: searchModel.searchEnabled",function(e,t){return{if:function(){return e.$data.searchModel.searchEnabled}}}),E("ifnot: searchModel.searchEnabled",function(e,t){return{ifnot:function(){return e.$data.searchModel.searchEnabled}}}),E("if: hasContent",function(e,t){return{if:function(){return e.$data.hasContent}}}),E("template: templates.accordionItem",function(e,t){return{template:function(){return e.$data.templates.accordionItem}}}),E("ifnot: hasContent",function(e,t){return{ifnot:function(){return e.$data.hasContent}}}),E("template: templates.headerItem",function(e,t){return{template:function(){return e.$data.templates.headerItem}}}),E("template: { name: contenttemplate }",function(e,t){return{template:function(){return{name:e.$data.contenttemplate}}}}),E("template: actionsTemplate",function(e,t){return{template:function(){return e.$data.actionsTemplate}}}),E("if: actions && actions.length > 0",function(e,t){return{if:function(){return e.$data.actions&&0<e.$data.actions.length}}}),E("template: templates.actionsContainer",function(e,t){return{template:function(){return e.$data.templates.actionsContainer}}}),E("if: isDraggable",function(e,t){return{if:function(){return e.$data.isDraggable}}}),E("template: templates.headerItemContent",function(e,t){return{template:function(){return e.$data.templates.headerItemContent}}}),E("ifnot: isDraggable",function(e,t){return{ifnot:function(){return e.$data.isDraggable}}}),E("template: templates.itemTextContent",function(e,t){return{template:function(){return e.$data.templates.itemTextContent}}}),E("event: events, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected dxd-back-secondary': isSelected || isMultiSelected }",function(e,t){return{event:function(){return e.$data.events},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected dxd-back-secondary":e.$data.isSelected||e.$data.isMultiSelected}}}}),E("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed, style: { 'visibility': hasItems ? 'visible' : 'hidden' }",function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed},style:function(){return{visibility:e.$data.hasItems?"visible":"hidden"}}}}),E("click: toggleSelected, draggable: isDraggable ? dragDropHandler : null",function(e,t){return{click:function(){return e.$data.toggleSelected},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null}}}),E('template: "dx-treelist-accordion-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-accordion-item-with-hover"}}}),E('template: "dx-treelist-header-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-header-item-with-hover"}}}),E("dxTextBox: { mode: 'search', value:value, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}",function(e,t){return{dxTextBox:function(){return{mode:"search",value:e.$data.value,valueChangeEvent:"keyup",showClearButton:!0,placeholder:e.$data.searchPlaceholder()}}}}),E("lazy: { resolver: resolver, innerBindings: { template: templateName } }",function(e,t){return{lazy:function(){return{resolver:e.$data.resolver,innerBindings:{template:e.$data.templateName}}}}}),E("if: !collapsed",function(e,t){return{if:function(){return!e.$data.collapsed}}}),E("template: { name: 'dx-treelist' }",function(e,t){return{template:function(){return{name:"dx-treelist"}}}}),E("template: 'dxrd-svg-collapsed'",function(e,t){return{template:function(){return"dxrd-svg-collapsed"}}}),E("template: 'dxrd-svg-ellipsis'",function(e,t){return{template:function(){return"dxrd-svg-ellipsis"}}}),E("template: 'dxrd-svg-error'",function(e,t){return{template:function(){return"dxrd-svg-error"}}}),E("template: 'dxrd-svg-expressioneditor-addition'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-addition"}}}),E("template: 'dxrd-svg-expressioneditor-and'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-and"}}}),E("template: 'dxrd-svg-expressioneditor-division'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-division"}}}),E("template: 'dxrd-svg-expressioneditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-edit"}}}),E("template: 'dxrd-svg-expressioneditor-equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-equal"}}}),E("template: 'dxrd-svg-expressioneditor-greater'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater"}}}),E("template: 'dxrd-svg-expressioneditor-greater_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater_or_equal"}}}),E("template: 'dxrd-svg-expressioneditor-less'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less"}}}),E("template: 'dxrd-svg-expressioneditor-less_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less_or_equal"}}}),E("template: 'dxrd-svg-expressioneditor-modulus'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-modulus"}}}),E("template: 'dxrd-svg-expressioneditor-multiplication'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-multiplication"}}}),E("template: 'dxrd-svg-expressioneditor-not'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not"}}}),E("template: 'dxrd-svg-expressioneditor-not_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not_equal"}}}),E("template: 'dxrd-svg-expressioneditor-or'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-or"}}}),E("template: 'dxrd-svg-expressioneditor-parenthesis'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-parenthesis"}}}),E("template: 'dxrd-svg-expressioneditor-subtraction'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-subtraction"}}}),E("template: 'dxrd-svg-fieldlist-array'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-array"}}}),E("template: 'dxrd-svg-fieldlist-bitearray'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bitearray"}}}),E("template: 'dxrd-svg-fieldlist-bool'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bool"}}}),E("template: 'dxrd-svg-fieldlist-booleanfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-booleanfield"}}}),E("template: 'dxrd-svg-fieldlist-column'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-column"}}}),E("template: 'dxrd-svg-fieldlist-datasource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datasource"}}}),E("template: 'dxrd-svg-fieldlist-date'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-date"}}}),E("template: 'dxrd-svg-fieldlist-datetimefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimefield"}}}),E("template: 'dxrd-svg-fieldlist-doublefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-doublefield"}}}),E("template: 'dxrd-svg-fieldlist-enum'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-enum"}}}),E("template: 'dxrd-svg-fieldlist-float'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-float"}}}),E("template: 'dxrd-svg-fieldlist-guid'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-guid"}}}),E("template: 'dxrd-svg-fieldlist-integer'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integer"}}}),E("template: 'dxrd-svg-fieldlist-integerfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integerfield"}}}),E("template: 'dxrd-svg-fieldlist-listsource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-listsource"}}}),E("template: 'dxrd-svg-fieldlist-none'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-none"}}}),E("template: 'dxrd-svg-fieldlist-parameters'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-parameters"}}}),E("template: 'dxrd-svg-fieldlist-range'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-range"}}}),E("template: 'dxrd-svg-fieldlist-string'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-string"}}}),E("template: 'dxrd-svg-fieldlist-stringfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-stringfield"}}}),E("template: 'dxrd-svg-fieldlist-table'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-table"}}}),E("template: 'dxrd-svg-fieldlist-view'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-view"}}}),E("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),E("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),E("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),E("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),E("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),E("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),E("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),E("template: 'dxrd-svg-menu-menu'",function(e,t){return{template:function(){return"dxrd-svg-menu-menu"}}}),E("template: 'dxrd-svg-menu-open'",function(e,t){return{template:function(){return"dxrd-svg-menu-open"}}}),E("template: 'dxrd-svg-menu-save'",function(e,t){return{template:function(){return"dxrd-svg-menu-save"}}}),E("template: 'dxrd-svg-menu-saveas'",function(e,t){return{template:function(){return"dxrd-svg-menu-saveas"}}}),E("template: 'dxrd-svg-operations-add'",function(e,t){return{template:function(){return"dxrd-svg-operations-add"}}}),E("template: 'dxrd-svg-operations-add_calcfield'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_calcfield"}}}),E("template: 'dxrd-svg-operations-add_datasource'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_datasource"}}}),E("template: 'dxrd-svg-operations-add_query'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_query"}}}),E("template: 'dxrd-svg-operations-arrowdown'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowdown"}}}),E("template: 'dxrd-svg-operations-arrowup'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowup"}}}),E("template: 'dxrd-svg-operations-ascending'",function(e,t){return{template:function(){return"dxrd-svg-operations-ascending"}}}),E("template: 'dxrd-svg-operations-descending'",function(e,t){return{template:function(){return"dxrd-svg-operations-descending"}}}),E("template: 'dxrd-svg-operations-edit'",function(e,t){return{template:function(){return"dxrd-svg-operations-edit"}}}),E("template: 'dxrd-svg-operations-movedown'",function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}}),E("template: 'dxrd-svg-operations-moveleft'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft"}}}),E("template: 'dxrd-svg-operations-moveleft_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft_all"}}}),E("template: 'dxrd-svg-operations-moveright'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright"}}}),E("template: 'dxrd-svg-operations-moveright_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright_all"}}}),E("template: 'dxrd-svg-operations-moveup'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}}),E("template: 'dxrd-svg-operations-rebuild_schema'",function(e,t){return{template:function(){return"dxrd-svg-operations-rebuild_schema"}}}),E("template: 'dxrd-svg-operations-recycle_bin'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}}),E("template: 'dxrd-svg-operations-recycle_bin_xl'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin_xl"}}}),E("template: 'dxrd-svg-operations-remove'",function(e,t){return{template:function(){return"dxrd-svg-operations-remove"}}}),E("template: 'dxrd-svg-operations-rename'",function(e,t){return{template:function(){return"dxrd-svg-operations-rename"}}}),E("template: 'dxrd-svg-operations-unsorted'",function(e,t){return{template:function(){return"dxrd-svg-operations-unsorted"}}}),E("template: 'dxrd-svg-properties-borders-all'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"}}}),E("template: 'dxrd-svg-properties-borders-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"}}}),E("template: 'dxrd-svg-properties-borders-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"}}}),E("template: 'dxrd-svg-properties-borders-none'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"}}}),E("template: 'dxrd-svg-properties-borders-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"}}}),E("template: 'dxrd-svg-properties-borders-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"}}}),E("template: 'dxrd-svg-properties-propertiesmenu'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertiesmenu"}}}),E("template: 'dxrd-svg-properties-propertyexpression'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"}}}),E("template: 'dxrd-svg-properties-search'",function(e,t){return{template:function(){return"dxrd-svg-properties-search"}}}),E("template: 'dxrd-svg-properties-sortingbyalphabet'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbyalphabet"}}}),E("template: 'dxrd-svg-properties-sortingbygroups'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbygroups"}}}),E("template: 'dxrd-svg-properties-tasksmarttag'",function(e,t){return{template:function(){return"dxrd-svg-properties-tasksmarttag"}}}),E("template: 'dxrd-svg-properties-textAlignment-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"}}}),E("template: 'dxrd-svg-properties-textAlignment-center'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"}}}),E("template: 'dxrd-svg-properties-textAlignment-justify'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"}}}),E("template: 'dxrd-svg-properties-textAlignment-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"}}}),E("template: 'dxrd-svg-properties-textAlignment-middle'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"}}}),E("template: 'dxrd-svg-properties-textAlignment-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"}}}),E("template: 'dxrd-svg-properties-textAlignment-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"}}}),E("template: 'dxrd-svg-queryBuilder-aggregate'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-aggregate"}}}),E("template: 'dxrd-svg-queryBuilder-data_preview'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-data_preview"}}}),E("template: 'dxrd-svg-queryBuilder-group_by'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-group_by"}}}),E("template: 'dxrd-svg-queryBuilder-select_statment'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-select_statment"}}}),E("template: 'dxrd-svg-queryBuilder-sorting_asc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_asc"}}}),E("template: 'dxrd-svg-queryBuilder-sorting_desc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_desc"}}}),E("template: 'dxrd-svg-tabs-description_info'",function(e,t){return{template:function(){return"dxrd-svg-tabs-description_info"}}}),E("template: 'dxrd-svg-tabs-properties'",function(e,t){return{template:function(){return"dxrd-svg-tabs-properties"}}}),E("template: 'dxrd-svg-toolbar-copy'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-copy"}}}),E("template: 'dxrd-svg-toolbar-cut'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-cut"}}}),E("template: 'dxrd-svg-toolbar-delete'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"}}}),E("template: 'dxrd-svg-toolbar-paste'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-paste"}}}),E("template: 'dxrd-svg-toolbar-redo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-redo"}}}),E("template: 'dxrd-svg-toolbar-undo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-undo"}}}),E("template: 'dxrd-svg-toolbar-validate'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-validate"}}}),E("template: 'dxrd-svg-toolbar-zoomin'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomin"}}}),E("template: 'dxrd-svg-toolbar-zoomout'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomout"}}}),E("template: 'dxrd-svg-wizard-Download'",function(e,t){return{template:function(){return"dxrd-svg-wizard-Download"}}}),E("template: 'dxrd-svg-wizard-expressions'",function(e,t){return{template:function(){return"dxrd-svg-wizard-expressions"}}}),E("template: 'dxrd-svg-wizard-FederationDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-FederationDataSource"}}}),E("template: 'dxrd-svg-wizard-JsonDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-JsonDataSource"}}}),E("template: 'dxrd-svg-wizard-NoDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-NoDataSource"}}}),E("template: 'dxrd-svg-wizard-ObjectDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-ObjectDataSource"}}}),E("template: 'dxrd-svg-wizard-SqlDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-SqlDataSource"}}}),kt.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-error":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 64 64"><circle cx="32" cy="32" r="32" fill="#F05252"/><path fill="#FFF0F0" d="M18.733 22.27a2.502 2.502 0 013.538-3.537l22.996 22.996a2.502 2.502 0 01-3.538 3.538L18.733 22.271z"/><path fill="#FFF0F0" d="M41.73 18.733a2.502 2.502 0 013.537 3.538L22.271 45.267a2.502 2.502 0 01-3.538-3.538l22.996-22.996z"/></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-80" 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-80" 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-80" 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-80" 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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6L6 10.2 3.4 7.6 2 9l4 4 9-9z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6L6 10.2 3.4 7.6 2 9l4 4 9-9z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 6h14v4H1z"/><g class="dxd-opacity-50"><path class="dxd-icon-fill" d="M5 5H1V1h4v4zm5-4H6v4h4V1zm5 0h-4v4h4V1zM5 11H1v4h4v-4zm5 0H6v4h4v-4zm5 0h-4v4h4v-4z"/></g></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 16 16" xml:space="preserve"><g class="st1"><path class="dxd-icon-fill" d="M7.3 9V7H10V3c0-1.7-2-3-4.5-3S1 1.3 1 3v5c0 1.7 2 3 4.5 3 2 0 3.6-.8 4.2-2H7.3zm-4-6c0-.4.9-1 2.3-1s2.3.6 2.3 1-1 1-2.4 1-2.2-.6-2.2-1z"/></g><path class="dxd-icon-fill" d="M9.5 5C7 5 5 6.3 5 8v5c0 1.7 2 3 4.5 3s4.5-1.3 4.5-3V8c0-1.7-2-3-4.5-3zm0 4c-1.4 0-2.2-.6-2.2-1s.9-1 2.3-1 2.3.6 2.3 1-1 1-2.4 1z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm3-5v1H7V5h1v3h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm3-5v1H7V5h1v3h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></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" 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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4.1 4.6c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .6.1.7.3.2.2.3.4.3.7 0 .3-.1.6-.3.8-.1.1-.4.2-.7.2-.3 0-.5-.1-.7-.3zm-.1 1h1.7V12H4V5.6zM13 3v9h-1.6v-.7c-.4.6-1 .8-1.8.8-.5 0-1-.1-1.5-.4-.4-.3-.8-.7-1-1.2-.2-.5-.3-1.1-.3-1.7 0-.7.1-1.2.4-1.7.2-.5.6-.9 1-1.2.4-.3.9-.4 1.5-.4.7 0 1.3.3 1.7.8V3H13zm-2 7.1c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5-.4 0-.8.2-1 .5-.3.3-.4.7-.4 1.3 0 .5.1 1 .4 1.3.3.3.6.5 1 .5.4-.1.8-.2 1.1-.5z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 2C5.2 2 3 3.3 3 5v6c0 1.7 2.2 3 5 3s5-1.3 5-3V5c0-1.7-2.2-3-5-3zm0 4c-1.8 0-2.9-.8-3-1 .1-.2 1.2-1 3-1s2.9.8 3 1c-.1.2-1.2 1-3 1z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M9.4 8l3.3-3.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0L8 6.6 4.7 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4L6.6 8l-3.3 3.3c-.4.4-.4 1 0 1.4s1 .4 1.4 0L8 9.4l3.3 3.3c.4.4 1 .4 1.4 0s.4-1 0-1.4L9.4 8z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M7.2 8.3c.2-.3.5-.6.8-1l.7-.7c.1-.2.2-.4.2-.6 0-.3-.1-.6-.4-.8-.3-.2-.6-.3-1-.3s-.8.1-1.1.3c-.3.1-.6.3-.8.6L4 4.9c.4-.6.9-1.1 1.5-1.4.6-.3 1.3-.5 2.2-.5 1 0 1.8.2 2.4.7.6.4.9 1.1.9 1.9 0 .4-.1.7-.2 1-.1.3-.3.5-.4.7l-.7.7c-.3.3-.5.5-.7.8-.1.2-.2.4-.2.7h-2c.1-.5.2-.9.4-1.2zm-.3 4.3c-.2-.2-.4-.5-.4-.9s.1-.6.4-.9c.2-.2.5-.4.9-.4s.7.1.9.4c.2.2.4.5.4.9s-.1.7-.4.9c-.2.3-.5.4-.9.4-.3 0-.6-.1-.9-.4z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3 4v8h2v2H1V2h4v2H3zm10 0v8h-2v2h4V2h-4v2h2z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M14 1H2c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V2c0-.5-.5-1-1-1zM9 3v2H7V3h2zm0 4v2H7V7h2zM3 3h2v2H3V3zm0 4h2v2H3V7zm0 6v-2h2v2H3zm4 0v-2h2v2H7zm6 0h-2v-2h2v2zm0-4h-2V7h2v2zm0-4h-2V3h2v2z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M14.7 13.3l-3.5-3.5C11.7 9 12 8 12 7c0-2.8-2.2-5-5-5S2 4.2 2 7s2.2 5 5 5c1 0 2-.3 2.8-.8l3.5 3.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM7 10c-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" 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" 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" 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" 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="M21 7H3V5h18v2zm0 4H3v2h18v-2zm0 6H3v2h18v-2z"/></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="M23 10h-4V7c0-.5-.5-1-1-1H9V4c0-.5-.5-1-1-1H2c-.5 0-1 .5-1 1v15c0 .5.5 1 1 1h17c.4 0 .7-.2.9-.6l4-8c.3-.6-.2-1.4-.9-1.4zM3 5h4v3h10v2H7.6c-.4 0-.7.2-.9.6L3 18V5z"/></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="M21 2H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V3c0-.5-.5-1-1-1zM8 4h4v4H8V4zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V4h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V4h2v16z"/></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 4H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zM8 6h4v4H8V6zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V6h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V6h2v16zm2.5-22c.8 0 1.5.7 1.5 1.5S23.3 3 22.5 3 21 2.3 21 1.5 21.7 0 22.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S19.3 3 18.5 3 17 2.3 17 1.5 17.7 0 18.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S15.3 3 14.5 3 13 2.3 13 1.5 13.7 0 14.5 0z"/></svg>',"dxrd-svg-operations-add":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v5H0v2h5v5h2V7h5V5H7V0z" fill="#000"/></svg>',"dxrd-svg-operations-add_calcfield":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M0 0h11v5H7v2H5v4H0V0zm3 4V1h2v1H4v2h1v1H4v3H2V7h1V5H2V4h1z"/><path class="dxd-icon-fill" d="M8 6h2v2h2v2h-2v2H8v-2H6V8h2V6z"/></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" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 0h11v2H0V0zm0 3h2v2H0V3zm5 0H3v2h2V3zm1 0h2v2H6V3zm5 0H9v2h2V3zM0 6h2v2H0V6zm5 0H3v2h2V6zM0 9h2v2H0V9zm5 0H3v2h2V9zm3-1V6h2v2h2v2h-2v2H8v-2H6V8h2z"/></svg>',"dxrd-svg-operations-arrowdown":'<svg data-bind="svgAttrs" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M.23.226a.75.75 0 011.058.02l3.704 3.927L8.696.245a.749.749 0 111.079 1.038L5.53 5.77a.749.749 0 01-1.078 0L.209 1.283A.748.748 0 01.23.226z" fill="#606060"/></svg>',"dxrd-svg-operations-arrowup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.77 5.774a.75.75 0 01-1.058-.02L5.008 1.828 1.304 5.755A.749.749 0 11.225 4.717L4.47.23a.749.749 0 011.078 0l4.244 4.488a.748.748 0 01-.02 1.057z" fill="#606060"/></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" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 12h2.667L0 9.333V12zm1.333-4L4 10.667l5.333-5.334-2.666-2.666L1.333 8zm8-8L8 1.333 10.667 4 12 2.667 9.333 0z"/></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-rebuild_schema":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.5 0L12 5h-1.5v2.36c0 2.489-2.382 4.285-4.775 3.601l.55-1.923A1.746 1.746 0 008.5 7.36V5H7l2.5-5zm-6 4.64V7H5l-2.5 5L0 7h1.5V4.64c0-2.489 2.382-4.285 4.775-3.602l-.55 1.924A1.746 1.746 0 003.5 4.64z"/></svg>',"dxrd-svg-operations-recycle_bin":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v2H1v1h10V2H7V0z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M2 4h8v7a1 1 0 01-1 1H3a1 1 0 01-1-1V4zm2 6h1V6H4v4zm3 0h1V6H7v4z"/></svg>',"dxrd-svg-operations-recycle_bin_xl":'<svg data-bind="svgAttrs" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm4-9v8H9v-8h1zm5 8v-8h-1v8h1z"/><path class="dxd-icon-fill" d="M19 4h-5V3h-4v1H5v2h14V4z"/></svg>',"dxrd-svg-operations-remove":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 5h12v2H0z"/></svg>',"dxrd-svg-operations-rename":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9 0h3v1h-1v10h1v1H9v-1h1V1H9V0z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M9 11H7l-.637-2.04H2.637L2 11H0L3.2 1h2.6L9 11zM5.75 7L4.5 3 3.25 7h2.5z"/></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" 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" 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" 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" 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" 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" d="M20 6h2v4h-2zM6 20h4v2H6zM20 12h2v4h-2zM4 20H2v-2H0v4h4zM12 20h4v2h-4zM2 4V2h18v2h2V0H0v4zM20 18v2h-2v2h4v-4zM0 12h2v4H0zM0 6h2v4H0z"/></svg>',"dxrd-svg-properties-propertiesmenu":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxd-icon-fill" d="M24 8h2V3c0-.5-.5-1-1-1H3c-.5 0-1 .5-1 1v5h22zM22 12H12v-2h10v2zm0 4v-2H12v2h10zM6 20h4v-2H6v2zm10-2h-4v2h4v-2zM6 16h4v-2H6v2zm0-4h4v-2H6v2zM32 25v-2l-2.5-.6c-.1-.4-.3-.8-.5-1.2l1.5-2.1-1.6-1.6-2.1 1.5c-.4-.2-.8-.4-1.2-.5L25 16h-2l-.6 2.5c-.4.1-.8.3-1.2.5l-2-1.5-1.7 1.7 1.5 2c-.2.4-.4.8-.5 1.2L16 23v2l2.5.6c.1.4.3.8.5 1.2l-1.5 2.1 1.6 1.6 2.1-1.5c.4.2.8.4 1.2.5L23 32h2l.6-2.5c.4-.1.8-.3 1.2-.5l2.1 1.5 1.6-1.6-1.5-2.1c.2-.4.4-.8.5-1.2L32 25zm-8 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-propertyexpression":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 12 12" xml:space="preserve"><path class="dxd-icon-fill" d="M4.8 6h-2l.4-2h1.9l.3-1.5c.1-.7.5-1.9 2.5-2.3C9 .1 10.2 0 11 0l-.5 2c-.2 0-1.1 0-1.9.2-.5 0-.6.3-.7.7L7.7 4H10l-.4 2H7.3l-.7 3.5c-.1.7-.5 1.9-2.5 2.3-1.1.1-2.3.2-3.1.2l.5-2c.2 0 1.1 0 1.9-.2.5-.1.6-.4.7-.7L4.8 6z" id="Background"/></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-properties-tasksmarttag":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="dxd-icon-fill" d="M14.6 6.9l-1.8-.3c-.1-.4-.3-.8-.5-1.1l1.1-1.4c.2-.2.1-.5-.1-.6l-.8-.8c-.2-.2-.5-.2-.7-.1l-1.4 1.1c-.4-.2-.7-.4-1.2-.5l-.1-1.8C9 1.2 8.8 1 8.6 1H7.4c-.2 0-.4.2-.5.4l-.2 1.8c-.4.1-.8.3-1.2.5L4.1 2.6c-.2-.1-.5-.1-.6.1l-.8.8c-.2.1-.2.4-.1.6l1.1 1.4c-.2.4-.4.8-.5 1.2l-1.8.2c-.2.1-.4.3-.4.5v1.1c0 .3.2.5.4.5l1.8.3c.1.4.3.8.5 1.1l-1.1 1.5c-.2.2-.1.5.1.6l.8.8c.2.2.5.2.7 0l1.4-1.1c.4.2.7.4 1.2.5l.3 1.8c-.1.3.1.5.3.5h1.1c.3 0 .5-.2.5-.4l.3-1.8c.4-.1.8-.3 1.2-.5l1.4 1.1c.2.1.5.1.7 0l.8-.8c.2-.2.2-.5.1-.6l-1.1-1.4c.2-.4.4-.7.5-1.1l1.8-.3c.1-.2.3-.4.3-.6V7.4c0-.2-.2-.4-.4-.5zM8 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-textAlignment-bottom":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 18H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-center":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-4 2H8v2h16v-2zm4 4H4v2h24v-2zm0 8H4v2h24v-2zm-4-4H8v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-justify":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-left":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-8 2H4v2h16v-2zm8 4H4v2h24v-2zm0 8H4v2h24v-2zm-8-4H4v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-middle":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 12H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-right":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H12v2h16v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H12v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-top":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 6H4V4h24v2zm0 2H4v2h24V8zm0 4H4v2h24v-2z"/></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-description_info":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" class="dxd-icon-highlighted" width="18" height="18" fill="none"><circle class="dxd-description_info-icon-fill dxd-icon-fill" cx="9" cy="9" r="9"/><path class="dxd-description_info-icon-path-fill" d="M7.573 14l1.182-7.09h1.67L9.246 14H7.572zm2.262-8.107a.893.893 0 01-.665-.267.78.78 0 01-.23-.642.94.94 0 01.336-.642c.207-.178.442-.267.707-.267.268 0 .487.089.66.267a.78.78 0 01.23.642.916.916 0 01-.336.642 1.032 1.032 0 01-.702.267z"/></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"><path class="dxd-icon-fill" d="M21.6 10.4l-2.6-.3c-.2 0-.3-.2-.4-.3-.1-.3-.2-.6-.3-.8-.1-.2-.1-.4 0-.5l1.5-2.1c.1-.2.1-.5 0-.7l-1.5-1.5c-.2-.2-.5-.2-.7 0l-2.1 1.5c-.2.1-.4.1-.5 0-.3-.1-.5-.2-.8-.3-.1-.1-.2-.2-.3-.4l-.4-2.5c0-.2-.2-.4-.5-.4h-2.1c-.2 0-.5.2-.5.4L10.1 5c0 .2-.2.3-.3.4l-.9.3c-.2.1-.4.1-.5 0L6.3 4.1c-.2-.1-.4-.1-.6.1L4.2 5.7c-.2.2-.2.4-.1.6l1.5 2.1c.1.2.1.4 0 .5 0 .3-.1.6-.2.8-.1.2-.2.3-.4.4l-2.5.4c-.2 0-.4.2-.4.5v2.1c0 .2.2.5.4.5l2.5.3c.2 0 .3.2.4.3.1.3.2.6.3.8.1.2.1.4 0 .5l-1.5 2.1c-.1.2-.1.5 0 .7l1.5 1.5c.2.2.5.2.7 0l2.1-1.5c.2-.1.4-.1.5 0 .3.1.5.2.8.3.2.1.3.2.3.4.1.6.3 1.9.4 2.6 0 .2.2.4.5.4h2.1c.2 0 .5-.2.5-.4l.4-2.5c0-.2.2-.3.3-.4.3-.1.6-.2.8-.3.2-.1.4-.1.5 0l2.1 1.5c.2.1.5.1.7 0l1.5-1.5c.2-.2.2-.5 0-.7l-1.5-2.1c-.1-.2-.1-.4 0-.5.1-.3.2-.5.3-.8.1-.2.2-.3.4-.3l2.5-.4c.2 0 .4-.2.4-.5V11c0-.3-.2-.5-.4-.6zM12 17c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm2-5c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"/></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="M4 14h2v2H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h12c.5 0 1 .5 1 1v3h-2V4H4v10zm18-5v12c0 .5-.5 1-1 1H9c-.5 0-1-.5-1-1V9c0-.5.5-1 1-1h12c.5 0 1 .5 1 1zm-2 1H10v10h10V10z"/></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="M20.4 5.6l-5 5-2-2 6.4-6.4c.4-.4 1.2-.1 1.2.5v1.5c0 .5-.2 1-.6 1.4zM22 17.5c.3 2.6-1.9 4.9-4.5 4.5-1.6-.2-2.9-1.4-3.3-3-.2-.9-.1-1.8.2-2.6L12 14l-2.4 2.4c.4.7.5 1.6.3 2.6-.4 1.6-1.7 2.8-3.3 3-2.6.3-4.9-1.9-4.5-4.5.2-1.6 1.4-2.9 3-3.3.9-.3 1.8-.2 2.5.2L10 12 3.6 5.6c-.4-.4-.6-.9-.6-1.4V2.7c0-.6.8-.9 1.2-.5l12.1 12.1c.8-.3 1.7-.5 2.6-.2 1.6.4 2.9 1.8 3.1 3.4zM8 18c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm12 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 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="M13.4 12l5.3-5.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L12 10.6 6.7 5.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l5.3 5.3-5.3 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0l5.3-5.3 5.3 5.3c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4L13.4 12z"/></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="M21 8H9c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V9c0-.5-.5-1-1-1zm-1 12H10V10h10v10zM15 2v3H7V2h2V1c0-.6.4-1 1-1h2c.6 0 1 .4 1 1v1h2zm3 4h2V3c0-.5-.5-1-1-1h-3v2h2v2zM6 20H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h3v2H4v14h2v2z"/></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="M10 7c2.2 0 4.3.8 5.7 2.3l3.3 3.3V8c0-.6.4-1 1-1s1 .4 1 1v8h-8c-.6 0-1-.4-1-1s.4-1 1-1h4.6l-3.3-3.3C13.2 9.6 11.7 9 10 9c-3.3 0-6 2.7-6 6 0 .6-.4 1-1 1s-1-.4-1-1c0-4.4 3.6-8 8-8z"/></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="M14 7c-2.2 0-4.3.8-5.7 2.3L5 12.6V8c0-.6-.4-1-1-1s-1 .4-1 1v8h8c.6 0 1-.4 1-1s-.4-1-1-1H6.4l3.3-3.3C10.8 9.6 12.3 9 14 9c3.3 0 6 2.7 6 6 0 .6.4 1 1 1s1-.4 1-1c0-4.4-3.6-8-8-8z"/></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 id="ZoomIn" class="dxd-icon-fill" d="M19 11h-6V5c0-.5-.5-1-1-1s-1 .5-1 1v6H5c-.5 0-1 .5-1 1s.5 1 1 1h6v6c0 .5.5 1 1 1s1-.5 1-1v-6h6c.5 0 1-.5 1-1s-.5-1-1-1z"/></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 id="ZoomOut" class="dxd-icon-fill" d="M19 13H5c-.5 0-1-.4-1-1 0-.5.4-1 1-1h14c.5 0 1 .4 1 1s-.4 1-1 1z"/></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-FederationDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="32" cy="11" rx="21" ry="5"/></g><path class="dxrd-svg-blue" d="M63 44H51V32h-6v12H33v6h12v12h6V50h12z"/><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M65 55c-3.6 0-7-.2-10-.6V66H44v18c0 2.8 9.4 5 21 5s21-2.2 21-5V50c0 2.8-9.4 5-21 5z"/></g><g class="dxrd-svg-st1"><path class="dxrd-svg-black" d="M67 43v10c10.7-.2 19-2.4 19-5s-8.3-4.7-19-5z"/></g><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M32 18c-11.6 0-21-2.2-21-5v34c0 2.5 8.9 4.6 19 5V41h12V29h11V13c0 2.8-9.4 5-21 5z"/></g><path class="dxrd-svg-blue" d="M65 43H53V31h-9v12H32v9h12v12h9V52h12z"/></svg>',"dxrd-svg-wizard-JsonDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-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"/></svg>',"dxrd-svg-wizard-NoDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="20.5" rx="26" ry="7.5"/></g><circle class="dxrd-svg-red" cx="66" cy="68" r="20"/><path class="dxrd-svg-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"/></svg>',"dxrd-svg-wizard-ObjectDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-blue" d="M82 41H66v7H48v13H36v26h26V75h13V57h7V41zm-9 32H62V61H50V50h16v7h7v16z"/></svg>',"dxrd-svg-wizard-SqlDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g></svg>'}),kt.addTemplates({"dxrd-bordereditor":"<div class=\"dxrd-bordereditor-content\"> \x3c!-- ko with: value--\x3e <div class=\"dxrd-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=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all dxrd-bordereditor-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=\"dxrd-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=\"dxrd-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=\"dxrd-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=\"dxrd-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> <p></p> \x3c!-- /ko --\x3e</div>","dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value, disabled: disabled }"></div>',"dxrd-colorpicker":"<div data-bind=\"dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), 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 } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }\"></div>","dxrd-expressionstring":'\x3c!-- ko if: 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, getPath: getPath, getDataMember: getDataMember } --\x3e \x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, onValueChanged: onValueChanged, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-filterstring":'\x3c!-- ko if: 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: 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, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }\"></div>","dxrd-emptyHeader":"","dxrd-objectEditorContent":"\x3c!-- ko if: $data.visible() && editorCreated --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-commonCollectionItem":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></div>","dxrd-textalignment":'<div class="dxrd-textalignment-editor" data-bind="dxTextAlignmentEditor: { value: value, disabled: 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="css: { \'dxrd-context-menu-container\': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"></div> \x3c!-- /ko --\x3e',"dxrd-designer":'<div tabindex="-1" data-bind="cssArray: [surfaceClass($element), { \'dx-accessibility\': $data.accessibilityCompliant } ]"> <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-scrollbar-color" data-bind="visible: (!designMode || designMode()), cssArray: [rootStyle, { \'dx-rtl\' : rtl, \'dx-ltr\': !rtl }]"> \x3c!-- ko foreach: parts --\x3e \x3c!-- ko template: { name: templateName, data: viewModel || 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 id="dxrd-designer-last-focus-item-blank" class="dxrd-visually-hidden" tabindex=\'-1\'></div> </div>',"dxrd-textalignment-editor":"<div class=\"dxrd-textalignment-editor-content\"> \x3c!-- ko with: value--\x3e <div> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: verticalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-top\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-middle\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle(), 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-bottom\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }\"></div> </div> <div class=\"dxrd-textalignment-margin-top\"> <br/> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: horizontalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-left\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-center\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center(), 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-right\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-justify\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify(), 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }\"></div> </div> \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: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible }"> \x3c!-- ko if: $data.contentTemplate--\x3e \x3c!-- ko template: contentTemplate--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.contentTemplate --\x3e \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 \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source":'<div class="dxrd-drag-helper-source" data-bind="styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { \'dxrd-locked\': $data.isLocked }"> \x3c!-- ko foreach: $data.controls() --\x3e <div class="dxrd-drag-helper-control" data-bind="styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className"> \x3c!-- ko with: $parent.customData() --\x3e <div data-bind="template: { name: $data.template, data: $data.data }"> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source-reorder-treelist":'<div class="dxrd-drag-helper-source-reorder-treelist dxd-back-primary dxd-text-primary dxd-ghost-border-color dxd-border-accented"> <div class="dxrd-drag-helper-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}"> </div> <div class="dxrd-drag-helper-treelist-text-wrapper"> <div class="dxrd-drag-helper-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div>',"dxrd-menubutton-template-base":'<div class="dxrd-menu-container dxrd-position-relative dxrd-width-0 dxrd-height-100" ></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place dxrd-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 data-bind="dxPopup: { width: 250, wrapperAttr: { class: \'dxd-menu-back-color dxd-back-primary2\' }, 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: {}, hideOnOutsideClick: 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 class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed() }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-group-header-text" data-bind="text: $root.actionsGroupTitle()"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-primary"> \x3c!-- ko foreach: (contextActions || []) --\x3e \x3c!-- ko if: $data.templateName && !isContextMenuAction --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName && !isContextMenuAction --\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 class="dxrd-position-relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-group-actions":'<div class="dxd-back-primary2 dxrd-property-grid-actions-group"> \x3c!-- ko if: groupActionsVisible --\x3e \x3c!-- ko foreach: (groupActions || []) --\x3e <div class="dxd-border-primary dxrd-properties-grid-actions-group-content" data-bind="visible: items.some(x => !x.visible || ko.unwrap(x.visible))"> <div class="dxd-text-primary dxrd-properties-grid-action-name" data-bind="text: group"></div> \x3c!-- ko foreach: (items || []) --\x3e \x3c!-- ko template: { name: $data.templateName, if: $data.templateName } --\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 </div> \x3c!-- /ko --\x3e \x3c!-- /ko--\x3e </div>',"dx-propertygrid-searchbox":"<div class=\"dx-property-grid-search-group dx-property-grid-search-collapsed\" data-bind=\"css: { 'dx-property-grid-search-collapsed': !isSearching() }\"> <div class=\"dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text\" 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 no-margin-right\" 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 class="dxd-text-primary dxrd-properties-sub-wrapper"> <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-grid-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) }, useItemTextAsTitle: true }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" 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-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" 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 }"> \x3c!-- ko template: { name: \'dxrd-group-actions\', data: { groupActions: $root.contextGroupActions, groupActionsVisible: $root.groupActionsVisible() } } --\x3e \x3c!-- /ko --\x3e \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 class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed() }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-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 \x3c!-- ko template: { name: \'dx-propertygrid-popoverservice\', if: popover, data: popover.getViewModel() } --\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: {}, hideOnOutsideClick: 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: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, 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' }\"> \x3c!-- ko if: $data.itemTemplate --\x3e \x3c!-- ko template: $data.itemTemplate --\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e \x3c!-- ko ifnot: $data.itemTemplate --\x3e <div data-bind=\"dxclick: action\"> <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.innerTemplate--\x3e \x3c!--ko template: $data.innerTemplate--\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e </div> \x3c!--/ko--\x3e </div> </div> </div> </div>","dx-propertygrid-popoverservice":"<div data-bind=\"dxPopover: { container: $root.getPopupContainer($element), target: target, position: 'bottom', showCloseButton: false, onHidden: onHidden, hideEvent: 'mouseleave focusout', hideOnOutsideClick: true, hideOnParentScroll: true, width: '350px', visible: visible }\"> <div class=\"propertygrid-editor-description-popover-content\"> <span data-bind=\"text: data\"></span> </div> </div>","dx-right-panel-lightweight":'\x3c!-- ko with: tabPanel.getViewModel() --\x3e <div class="dxrd-right-panel dx-shadow dx-shadow-right dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))"> \x3c!-- ko foreach: tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dxrd-right-panel-template-base":'<div class="dx-shadow dx-shadow-right dxd-border-secondary dxrd-tab-panel-wrapper" data-bind="styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper"> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabsElement.class"> \x3c!-- ko foreach: $data.tabs --\x3e <div role="button" class="dxrd-tab-item dx-accessibility-rightpanel-button dxd-side-panel-tab-back-color dxd-back-highlighted dx-accessibility-focus-border-accented" data-bind="dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, \'aria-label\': text, \'aria-expanded\': active }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: image.class, template: {name: image.templateName, if: !!ko.unwrap($data.image.templateName)}"> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)"> \x3c!-- ko foreach: $data.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-right-panel-switcher":'<div class="dx-right-panel-switcher"> <div class="dxrd-collectioneditor-action" data-bind="dxButtonWithTemplate: { icon: \'dxrd-svg-operations-edit\', iconClass: \'dx-image-edit\', disabled: disabled, onClick: toogle, hint: title }"></div> </div>',"dxrd-toolbar-template-base":'<div class="dxrd-toolbar-wrapper dxd-back-secondary-invariant dx-shadow-top"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.getViewModel().toolbarItems }"></div> </div>',"dxrd-toolbar-tmplt":'\x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: templateName --\x3e \x3c!-- ko template: { name: templateName, data: contentData || $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !templateName --\x3e <div class="dxrd-toolbar-item" data-bind="visible: visible, css: actionClass"> <div role="button" class="dx-accessibility-toolbar-item dx-accessibility-focus-border-accented" data-bind="attr: block.attr" > <div data-bind="template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: displayText }, dxclick: click"> </div> <div class="dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary" data-bind="visible: hasSeparator"></div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2 dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: toolboxItems --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <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> \x3c!-- /ko --\x3e </div>',"dxrd-grouped-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2-invariant toolbox-grouped dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: groupedToolboxItems --\x3e <div class="dxrd-toolbox-group dxd-border-primary"> \x3c!-- ko foreach: items --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <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> \x3c!-- /ko --\x3e </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: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div>',"dx-editor-addons":'<div class="dxrd-editormenu-boxes"> \x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: $data.visible --\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 \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: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: 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 dxrd-editor-box-image" data-bind="dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss"> <div class="dxrd-editor-box-image-content" data-bind="template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-collectioneditor":'<div class="dx-collectioneditor"> <div data-bind="dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper"> <div class="dx-collectioneditor-header dx-accordion-header"> <div class="dx-editor-header"> <div role="treeitem" class="dx-field dx-accessibility-focus-border-accented dxrd-accessibility-accordion-trigger" data-bind="attr: { \'aria-expanded\': alwaysShow || !collapsed ? \'true\' : \'false\', \'aria-owns\': contentId, \'id\': headerId, }"> \x3c!-- ko if: showButtons--\x3e \x3c!-- ko with: buttons --\x3e <div class="dx-collectioneditor-actions-wrapper"> \x3c!-- ko if: up.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: up.action, disabled: up.disabled, icon: \'dxrd-svg-operations-moveup\', template: up.template }, attr: { title: up.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: down.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: down.action, disabled: down.disabled, icon: \'dxrd-svg-operations-movedown\', template: down.template }, attr: { title: down.text }"></div> \x3c!-- /ko --\x3e <div class="dx-collectioneditor-action-separator"></div> \x3c!-- ko if: add.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: add.action, disabled: add.disabled, icon: \'dxrd-svg-operations-add\', template: add.template }, attr: { title: add.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: delete.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: delete.action, disabled: delete.disabled, icon: \'dxrd-svg-operations-remove\', template: delete.template }, attr: { title: delete.text }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: displayName --\x3e <div class="dx-collectioneditor-header-text dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary dxrd-display-inline-block" data-bind="text: displayName, attr: { title: displayName }"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> <div role="group" class="dx-accordion-content" data-bind="attr: { \'aria-hidden\': !alwaysShow && collapsed ? \'true\' : \'false\', \'aria-labelledby\': headerId, \'id\': contentId }"> <div data-bind="visible: !disabled, dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option(\'useKeyboard\', false); } }"> \x3c!-- ko if: values.length === 0 --\x3e <div class="dx-collectioneditor-empty dxd-empty-area-placeholder-text-color dxd-text-info"> <span class="dx-collectioneditor-empty-text" data-bind="text: emptyAreaText"></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: values.length !== 0 --\x3e <div class="dx-collectioneditor-items" data-bind="foreach: values"> <div class="dx-collectioneditor-item-container dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-accessibility-list-item dx-accessibility-focus-border-accented" data-bind="attr: { \'aria-selected\': selected }, dxAction: { model: $data, action: select }, css: { \'dxd-state-selected\' : selected }"> <div class="dx-collection-item"></div> </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> </div>',"dx-boolean":'<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { \'aria-label\': displayName } }), 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') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, 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=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></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) }, inputAttr: { 'aria-label': displayName, id: editorInputId }}, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: $data.validationRules || [] })\"> </div>","dx-combobox-editable":"<div data-bind=\"dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }\"> </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) }, inputAttr: { id: editorInputId } }, 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, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }\"> <div class=\"dx-editor-header\"> <div class=\"dx-field\" data-bind=\"attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}\"> <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 data-bind=\"enable: templateName === 'dx-emptyHeader'\"> \x3c!-- ko ifnot: $data.hideCollapsingButton --\x3e <div class=\"dx-collapsing-image dxrd-display-inline-block\" data-bind=\"template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !ko.unwrap(collapsed) }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"text: displayName, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }\"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: !isComplexEditor --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <label class=\"propertygrid-editor-displayName\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-field-label-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}\"></label> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <label class=\"propertygrid-editor-displayName\" data-bind=\"text: displayName, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}\"></label> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.description --\x3e <div data-bind=\"service: { name: 'createEditorDescriptionAddOn' }\"></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: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- ko if: isComplexEditor --\x3e <div class=\"dx-editor-content dx-accordion-content\" role=\"group\" data-bind=\"attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }\"> \x3c!-- ko if: editorCreated --\x3e \x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>","dx-emptyHeader":"","dx-property-grid-editor-description":'<div class="propertygrid-editor-description" data-bind="dxButtonWithTemplate: { onClick: onClick, icon: \'dxrd-svg-tabs-description_info\' }"></div>',"dx-date":"<div class=\"dx-datebox-container\"> <div data-bind=\" dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId }, 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(!ko.unwrap($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(!ko.unwrap($parent.disabled)) { italic(!italic()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-italic\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- ko ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline --\x3e <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(!ko.unwrap($parent.disabled)) { underline(!underline()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-underline\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout --\x3e <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(!ko.unwrap($parent.disabled)) { strikeout(!strikeout()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e </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, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }\"></div>","dx-number-editor":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }\"></div>","dx-text":"\x3c!-- ko if: $data.validationRules --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), 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, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})\"></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: editors --\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","dxrd-federated-manageQueries-editor":'\x3c!-- ko if: $data --\x3e<div> <div data-bind="dxPopup: { showTitle: true, width: \'750px\', height: \'475px\', title: title(), rtlEnabled: rtl, visible: popupVisible, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }"> <div class="dxrd-federated-manageQueries-grid-wrapper dxrd-cursor-default" > <div class="dxd-border-secondary dxrd-federated-manageQueries-grid" data-bind="dxDataGrid: queriesGrid"></div> </div> </div> </div>\x3c!-- ko template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper } --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e',"dx-querybuilder-federation-popup-templates":"\x3c!-- ko if: $data --\x3e \x3c!-- ko foreach: $data.popupItems --\x3e \x3c!-- ko template: { name: template, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-managequeries-selectbox":'\x3c!-- ko with: options --\x3e <div class="dxrd-managequeries-selectbox"> <div data-bind="dxDropDownButton: $data"></div> </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); } }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></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 }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></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 data-bind="visible: visible, attr: { class: \'dx-expressioneditor-tools-tab dxd-back-primary2 \'+ ($data.templateName ? $data.templateName : \'\')}"> \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, inputAttr: { id: editorInputId } }"></div> \x3c!-- ko template: \'dx-expressioneditor-popup\'--\x3e \x3c!--/ko--\x3e </div>',"dx-expressioneditor-popup":"<div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }\"> \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\' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, \'e\')"> \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 dxrd-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 dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></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-content 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 data-bind=\"attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, 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-plain-content-text":'<div class="dx-filtereditor-text-container" data-bind="css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }"> \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 }, style: $data.getCheckBoxStyles()"></div> <div class="dx-filtereditor-plain-content" data-bind="style: $data.getContentStyles()"> \x3c!-- ko if: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }"> \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-plain-disabled" data-bind="visible: $data.options().disabled()"></div> </div>',"dx-filtereditor-content-text":'\x3c!-- ko if: !aceAvailable --\x3e <div class="dx-filtereditor-text dx-default-border-style dxd-border-secondary" 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-default-border-style dxd-border-secondary dx-textarea dx-textbox dx-texteditor dx-editor-filled" 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, if: $parent.isSurfaceValid }--\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); }, inputAttr: { id: editorInputId } }"></div> \x3c!-- ko template: \'dx-filtereditor-popup\' --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-advanced":"<div class=\"dx-filtereditor dxrd-width-100 dxrd-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 dxrd-width-100 dxrd-height-100\"> \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: getStringEditorOptions($element), 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: getBoolEditorOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "date" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)"></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($element), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getListEditOptions($element, $root)"></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 data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, 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', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: 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-search-panel":"<div class=\"dx-filtereditor-popup-item dx-filtereditor-search dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted\"> <div class=\"dx-item-content dxd-border-secondary dxd-text-primary dx-list-item-content\" data-bind=\"dxTextBox: { placeholder: searchPlaceholder(), value: ($data.value || $data.filterString), height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }\"> </div> </div>","dx-filtereditor-popup-common":'\x3c!-- ko if: $data.isFiltered --\x3e <div data-bind="template: { name: \'dx-filtereditor-search-panel\', data: $data }"></div> \x3c!-- /ko --\x3e <div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }, css: { \'dx-filtereditor-filtered\': isFiltered }"> \x3c!-- ko foreach: data --\x3e \x3c!-- ko if: !$data.hidden --\x3e \x3c!-- ko ifnot: $parent.isFiltered --\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); }, attr: {\'title\': $data.displayText || $data.name } "></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $parent.isFiltered --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <div class="dx-item-content dx-list-item-content" data-bind="searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.filterString }, click: function() { $parent.click($data); }, attr: {\'title\': $data.displayText || $data.name } "> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-popup-treelist":'<div class="dx-filtereditor-search" data-bind="treeListSearchPanel: { controllers: data().treeListController, template: \'dx-filtereditor-search-panel\' } "></div> <div class="dx-widget dx-filtereditor-filtered" 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 data-bind="dxPopup: { wrapperAttr: { class: \'dx-format-string dx-popup-general\' }, 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: $parent.reverseCollapsed }, 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: events.click"> <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: text"></div> </div> </div> </div> </div>',"dx-treelist-item":"\x3c!-- ko if: visible --\x3e \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: templates.accordionItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: templates.headerItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-treelist-accordion-item":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }"> \x3c!-- ko template: templates.headerItem --\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-item-actions-container":'<div class="dx-treelist-action-container" data-bind="visible: isSelected || isHovered"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item":'<div role="treeitem" class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted dx-accessibility-treelist-item dx-accessibility-focus-border-accented" data-bind="event: events, styleunit: padding, css: cssRules, attr: attr"> \x3c!-- ko if: 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\': hasItems ? \'0px\': \'18px\' }"> \x3c!-- ko if: actions && actions.length > 0 --\x3e \x3c!-- ko template: templates.actionsContainer --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null, draggable: dragDropHandler"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-item-text-content":'<div class="dx-treelist-text-wrapper"> \x3c!--ko if: searchModel.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!--ko ifnot: searchModel.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: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> \x3c!-- ko template: templates.itemTextContent --\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, setCollapsedChangedEvent: setCollapsedChangedEvent }"> \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: events, 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: isSelected || 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: imageClassName, template: { name: imageTemplateName, if: !!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 role="group" class="dx-treelist dxd-text-primary"> \x3c!-- ko foreach: items --\x3e \x3c!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !collapsed --\x3e \x3c!-- ko template: { name: \'dx-treelist\' } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-search-panel":"<div class=\"dxrd-treelist-search-panel\" data-bind=\"dxTextBox: { mode: 'search', value:value, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}\"></div>"});{var T=window.ko;let e=!1;window.DevExpress&&window.DevExpress.ui&&window.DevExpress.ui.dxTextBox?e=!0:console.error("The DevExtreme library is missing. Check whether a script is included on the page."),T?!T.bindingHandlers.dxPopup&&e&&console.error("The DevExtreme library is included before the Knockout library. Check the order in which the scripts appear on the page."):console.error("The Knockout library is missing. Check whether a script is included on the page."),window.$||window.jQuery||console.error("The jQuery library is missing. Check whether a script is included on the page.")}ms();var F,B,O,M=window.DevExpress||{};(F=M).Analytics=F.Analytics||{},F.Analytics.Internal=t,F.Analytics.Serializer=F.Analytics.Serializer||{},F.Analytics.Serializer.Native=Y,F.Analytics.Utils=i,F.Analytics.Widgets=z,F.Analytics.Widgets.Ace=J,F.Analytics.Widgets.Metadata=L,F.Analytics.Widgets.Internal=r,F.Analytics.Widgets.Filtering=H,F.Analytics.Widgets.TreeList=W,F.Analytics.Criteria=R,F.Analytics.Criteria.Utils=j,F.Analytics.Elements=G,F.Analytics.Elements.Metadata=U,F.Analytics.Tools=q,F.Analytics.Localization=K,F.Analytics.VERSION="23.2.3",B=window.DevExpress,O=B.Analytics.VERSION,(B=B.VERSION)!=O&&console.warn(`Analytics-Core (v${O}) and DevExtreme (v${B}) versions do not match.`),V.default=M.Analytics}]);
|
|
8
|
+
(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{$dx:()=>wa,$unwrap:()=>Ca,AccessibilityControlElementBase:()=>Fe,AccessibilityKeyboardHelperBase:()=>Be,AccordionKeyboardHelper:()=>Oe,ActionLists:()=>_a,ActionListsBase:()=>ya,AjaxRequestManager:()=>ci,BaseActionsProvider:()=>Un,BordersModel:()=>Vn,CodeResolver:()=>Or,CombinedObject:()=>ns,CommonDesignerGenerator:()=>gn,ContextActionsSettings:()=>ln,ContextMenuProvider:()=>Aa,ControlElementWithParentHighlight:()=>Ne,ControlProperties:()=>Ga,ControlsHelperSettings:()=>cn,ControlsStore:()=>Er,CopyPasteHandler:()=>Is,CssCalculator:()=>Hi,CustomSortedArrayStore:()=>wr,DEBUG:()=>gt,DebugMode:()=>mt,DesignControlsHelper:()=>wi,DesignerBaseElements:()=>Za,DesignerContextGenerator:()=>on,DesignerContextGeneratorInternal:()=>nn,DisplayExpressionConverter:()=>bo,DragDropHandler:()=>Zt,DragDropSettings:()=>un,DragHelperContent:()=>ti,DragHelperControlRectangle:()=>ei,Draggable:()=>nr,DxAnalyticsComponentCommon:()=>Vt,EditorAddOn:()=>Oa,ExpressionType:()=>Ri,FetchRequestManager:()=>hi,FieldListProvider:()=>bn,Globalize:()=>re,Group:()=>za,HighlightEngine:()=>yo,HoverInfo:()=>Co,InlineTextEdit:()=>Ki,IsDataAccessExpression:()=>ji,JSDesignerBindingCommon:()=>Nt,KeyDownHandlersManager:()=>Te,KeyboardCodesEnum:()=>ke,KeyboardEnum:()=>$e,KeyboardHelper:()=>De,KeyboardHelperBase:()=>Pe,KeyboardHelperWithArrowButtonBase:()=>Le,KoEngine:()=>ss,ListKeyboardHelper:()=>He,MenuSettings:()=>pn,NotifyAboutWarning:()=>bt,NotifyType:()=>xt,ObjectExplorerProvider:()=>Xi,ObjectStructureProvider:()=>Zi,ObjectStructureProviderBase:()=>Ji,ObjectStructureTreeListController:()=>Yi,PopupService:()=>La,PropertiesAccessibilityProvider:()=>Ea,PropertyGridKeyboardHelper:()=>Me,RequestHelper:()=>Dt,Resizable:()=>sr,ResizeSettings:()=>dn,RightPanelKeyboardHelperNative:()=>Re,SearchMode:()=>me,Selectable:()=>ur,SelectableElement:()=>lr,SelectionDragDropHandler:()=>ii,SelectionSettings:()=>hn,ShowMessage:()=>Ct,SnapLineSurface:()=>Cs,SnapLinesCollector:()=>_s,SnapLinesHelper:()=>ws,SortedArrayStore:()=>Ar,StringId:()=>Zn,SurfaceSelection:()=>os,ToolbarKeyboardHelper:()=>Ze,ToolboxDragDropHandler:()=>ri,TreeListKeyboardHelper:()=>et,WizardDragDropHandler:()=>si,_addErrorPrefix:()=>St,_ajax:()=>kn,_ajaxWithOptions:()=>Pn,_defaultStaticContext:()=>On,_defineProperty:()=>K,_definePropertyByString:()=>Y,_errorProcessor:()=>kt,_getFileContent:()=>xe,_muteWarnings:()=>Et,_processError:()=>$t,_replaceUploadFile:()=>be,_resetShowMessageFunc:()=>At,_setIsDarkTheme:()=>pa,_setShowMessageFunc:()=>wt,_unmuteWarnings:()=>It,_wrapModelInObservable:()=>Nn,accessibilityFontSizeZoomFactor:()=>Ve,addDisposeCallback:()=>J,ajax:()=>Dn,appendStaticContextToRootViewModel:()=>Mn,assignObj:()=>T,assignTroubleshootingPage:()=>Bt,binaryIndexOf:()=>ys,blur:()=>$r,calculateWithZoomFactor:()=>ze,checkModelReady:()=>Fr,chooseBetterPositionOf:()=>pt,cloneHtmlBinding:()=>_o,collectGroupsFromFlatList:()=>qa,collectionsVisitor:()=>Ci,compareArrays:()=>wo,compareEditorInfo:()=>_e,compareObjects:()=>Ka,convertFromCssPixelUnits:()=>Yt,convertToCssPixelUnits:()=>Kt,copyObservables:()=>Ua,copyPasteStrategy:()=>Es,createActionListBaseViewModel:()=>fa,createActionWrappingFunction:()=>en,createBaseActionViewModel:()=>va,createDesigner:()=>vn,createGlobalModuleVariableFunc:()=>X,createObservableArrayMapCollection:()=>gs,createObservableReverseArrayMapCollection:()=>hs,createPasswordSerializationInfo:()=>Tn,createUnitProperties:()=>_n,createUnitProperty:()=>yn,cssTransform:()=>Kn,custom_localization_values:()=>ae,cutRefs:()=>Xa,defaultAccessibilityProvider:()=>Ia,deleteSelection:()=>ps,deserializeChildArray:()=>xs,dxButtonWithTemplate:()=>Gn,dxScrollProcessor:()=>xr,dxtTemplate:()=>oi,dxversions:()=>ui,editorTypeMapper:()=>Wi,editor_template:()=>Wn,enumValueConverter:()=>da,escapeToRegExp:()=>we,extend:()=>D,find:()=>bs,findFirstItemMatchesCondition:()=>vs,findMatchesInString:()=>Ce,findSurface:()=>ot,floatValueConverter:()=>ua,formatDate:()=>he,formatUnicorn:()=>Se,generateDefaultParts:()=>Qa,generateIconTemplate:()=>jn,getControlFullName:()=>fi,getControlNewAbsolutePositionOnResize:()=>dt,getControlRect:()=>ut,getControlTypeName:()=>xi,getEditorType:()=>Gi,getErrorMessage:()=>yt,getFirstItemByPropertyValue:()=>fs,getFullPath:()=>Ya,getImageClassName:()=>vi,getLocalization:()=>te,getPaperSize:()=>tr,getParentContainer:()=>ma,getResizableOptions:()=>rn,getResizeDirection:()=>ar,getShortTypeName:()=>mi,getSizeFactor:()=>Fn,getToolboxItems:()=>Sr,getTroubleshootingPage:()=>Mt,getTypeNameFromFullName:()=>gi,getUniqueName:()=>yi,getUniqueNameForNamedObjectsArray:()=>bi,globalResolver:()=>Mr,guid:()=>Br,initGlobalize:()=>Ui,initializeBaseResizableOptions:()=>ir,initializeMutationObserver:()=>qn,initializeResize:()=>rr,integerValueConverter:()=>oa,isCustomizedWithUpdateLocalizationMethod:()=>ue,isDarkTheme:()=>ca,isDefined:()=>Cn,isEmptyObject:()=>k,isFunction:()=>P,isList:()=>ga,isNullOrEmptyString:()=>xa,isPlainObject:()=>S,knockoutArrayWrapper:()=>ms,koUtils:()=>Xe,loadMessages:()=>Q,loadTemplates:()=>Ja,localize:()=>pe,localizeNoneString:()=>tn,localizeWithUpdateLocalizationMethod:()=>ce,locationFake:()=>jt,messages:()=>se,minHeightWithoutScroll:()=>ct,nameValidationRules:()=>Tr,noDataText:()=>oe,objectsVisitor:()=>_i,parseDate:()=>ge,parseZoom:()=>$s,patchPositionByRTL:()=>Li,pixelToUnits:()=>qt,processErrorEvent:()=>Pt,processTextEditorHotKeys:()=>qi,propertiesVisitor:()=>ds,removeWinSymbols:()=>ie,replaceInvalidSymbols:()=>Dr,resolveFromPromises:()=>le,roundingXDecimals:()=>Gt,searchPlaceholder:()=>de,selectPlaceholder:()=>ne,setAjax:()=>$n,setCursorInFunctionParameter:()=>ha,setUploadFile:()=>ye,showTroubleshootingMessage:()=>Ft,sizeFake:()=>Rt,staticContext:()=>Bn,stringInsert:()=>Ie,stringRemove:()=>Ae,stringReplace:()=>Ee,troubleshootingPageWrapper:()=>Ot,unitsToPixel:()=>Ut,updateSurfaceContentSize:()=>ht,updateZoomBinding:()=>Yn,uploadFile:()=>ve,useKoIntegration:()=>as,validateExpression:()=>la,validateName:()=>Pr});var i={};e.r(i),e.d(i,{ControlsFactory:()=>So,Disposable:()=>F,EventManager:()=>B,EventPropertyManager:()=>O,ModelSerializer:()=>ts,PathRequest:()=>Nr,TabInfo:()=>fn,TabInfoWithPropertyGrid:()=>Eo,TabPanel:()=>an,ToolboxItem:()=>Ir,UndoEngine:()=>cs,_LatestChangeSet:()=>ls,_isFetchConfigured:()=>En,_stringEndsWith:()=>Ye,addCultureInfo:()=>qe,addTemplate:()=>rt,addToBindingsCache:()=>Ho,ajaxSetup:()=>Sn,colorFromString:()=>To,colorToInt:()=>Bo,colorToString:()=>Oo,deserializeArray:()=>jo,deserializeDate:()=>V,fetchSetup:()=>In,floatFromModel:()=>$o,fromEnum:()=>Po,getLocalization:()=>Ke,getTemplate:()=>st,parseBool:()=>Do,registerBaseBinding:()=>Lo,requestManager:()=>An,saveAsInt:()=>Fo,serializeDate:()=>N,updateLocalization:()=>Je});var r={};e.r(r),e.d(r,{CodeCompletor:()=>lo,CollectionEditorViewModel:()=>ed,CriteriaSurfaceValidator:()=>Nd,CriteriaSurfaceValidatorState:()=>Md,DataMemberTreeListController:()=>Xd,DefaultTreeListItemFactory:()=>qr,ExpressionEditorParametersTreeListController:()=>yd,ExpressionEditorTreeListController:()=>bd,FilterEditorAddOn:()=>_d,FilterEditorCodeCompletor:()=>Hd,FilterEditorSerializer:()=>vo,FilterEditorTreeListController:()=>Od,FontModel:()=>ud,KoTreeListItemFactory:()=>es,PopupComponentBase:()=>Wd,PopupEditorBase:()=>Ko,RangeSpecific:()=>so,ReorderTreeListDragDropHelper:()=>Jd,RequiredNullableEditor:()=>Yo,ResizeHelper:()=>Ud,SvgTemplateSource:()=>tt,SvgTemplatesEngine:()=>it,TextAlignmentModel:()=>Wo,Tools:()=>fd,TreeListController:()=>vd,TreeListEllipsisButton:()=>Yr,TreeListItemFactory:()=>Ur,TreeListItemStore:()=>Gr,TreeListItemViewModel:()=>Jr,TreeListRootItemViewModel:()=>Xr,TreeListSearchOptions:()=>qd,TreeListSearchViewModel:()=>Yd,ValueEditorHelper:()=>na,aceAvailable:()=>xd,addToBindingsCache:()=>Vo,availableFonts:()=>mn,availableUnits:()=>ld,combineFunctionDisplay:()=>ro,createExpressionEditorCollectionToolOptions:()=>ao,createFunctionCompletion:()=>uo,createNumericEditor:()=>Jo,createTreeListEllipsisButtonViewModel:()=>Rr,createTreeListItemViewModel:()=>Hr,defaultFontSerialization:()=>Ms,dxEllipsisEditor:()=>od,dxFieldListPicker:()=>qo,dxFileImagePicker:()=>dd,dxPopupWithAutoHeight:()=>Gd,formatStringStandardPatterns:()=>Rd,functionDisplay:()=>to,getFromCache:()=>zo,guidRequiredValidationRules:()=>Rs,guidValidationRules:()=>Hs,initDisplayText:()=>Sd,initTreeListBinding:()=>Kd,insertOrUpdateFunctions:()=>eo,maxSearchLevel:()=>Wr,operatorNames:()=>oo,propertiesGridEditorsPaddingLeft:()=>Os,registerBaseBinding:()=>No,requiredValidationRules:()=>js,resetFunctionDisplay:()=>io,setDefaultTreeListItemFactory:()=>Kr,treeListEditAction:()=>zr,trimBrackets:()=>co,updateTreeListItemViewModel:()=>Lr,validateGuid:()=>Vs,validateNullableGuid:()=>zs,wrapExpressionValue:()=>no,wrapModelWithKo:()=>td,wrapOptions:()=>Zo,wrapTreeListOptionsWithKo:()=>Qr});var s={};e.r(s),e.d(s,{BooleanEditor:()=>ml,ColorPickerEditor:()=>xl,DataMemberEditor:()=>vl,DefaultFilterEditorHelper:()=>zd,Editor:()=>Fa,EditorTemplates:()=>Lt,EditorValidator:()=>ka,ExpressionEditor:()=>ol,FieldListEditor:()=>fl,FilterEditor:()=>ul,FilterEditorHelper:()=>Vd,FilterEditorPlain:()=>cl,FilterStringOptions:()=>pl,FilterStringPlainOptions:()=>hl,FontEditor:()=>al,FormatStringEditor:()=>gl,GuidEditor:()=>el,InitAccordion:()=>Qd,ObjectProperties:()=>Ma,PropertyGridEditor:()=>Na,PropertyGridEditorFlat:()=>Va,_setDefaultFilterEditorHelper:()=>Ld,addTemplate:()=>rt,createEditorDescriptionAddOn:()=>Ba,createViewModel:()=>Pa,editorTemplates:()=>Ht,getNotValidRange:()=>nl,getTemplate:()=>st,unwrapEditor:()=>Ta});var a={};e.r(a),e.d(a,{fontInfo:()=>sl,fontName:()=>tl,fontSize:()=>il,fontSizeUnit:()=>rl});var n={};e.r(n),e.d(n,{AggregateOperandSurface:()=>Ad,BetweenOperandSurface:()=>Ed,BinaryOperandSurface:()=>Id,CriteriaOperatorSurface:()=>Cd,FunctionOperandSurface:()=>kd,GroupOperandSurface:()=>Pd,InOperandSurface:()=>Dd,OperandParameterSurface:()=>Td,OperandPropertySurface:()=>Fd,OperandSurfaceBase:()=>$d,OperandValueSurface:()=>Bd,UnaryOperandSurface:()=>wd});var o={};e.r(o),e.d(o,{AggregateOperand:()=>Xs,BetweenOperator:()=>po,BinaryOperator:()=>mo,BinaryOperatorType:()=>Ks,ConstantValue:()=>fo,CriteriaOperator:()=>Bs,CriteriaOperatorPreprocessor:()=>Ts,FunctionOperator:()=>xo,FunctionOperatorType:()=>Js,GroupOperator:()=>Qs,GroupOperatorType:()=>Ys,InOperator:()=>ho,JoinOperand:()=>ea,OperandParameter:()=>Gs,OperandProperty:()=>Us,OperandValue:()=>Ws,UnaryOperator:()=>qs,UnaryOperatorType:()=>Ps,criteriaCreator:()=>Fs,criteriaparser:()=>ia,parse:()=>ra});var d={};e.r(d),e.d(d,{CriteriaOperatorPreprocessor:()=>Ts,CriteriaOperatorStateMachine:()=>aa,MachineState:()=>sa,criteriaCreator:()=>Fs,criteriaForEach:()=>Zs,operatorTokens:()=>go});var l={};e.r(l),e.d(l,{LoadChildItemsForCollapsedNodes:()=>Vr});var u={};e.r(u),e.d(u,{ElementViewModel:()=>Io,Margins:()=>wl,PaddingModel:()=>zi,Point:()=>As,Rectangle:()=>Qt,SerializableModel:()=>Al,Size:()=>Wt,SurfaceElementArea:()=>_l,SurfaceElementBase:()=>Cl,compareSizes:()=>El});var c={};e.r(c),e.d(c,{all:()=>$i,bottom:()=>Si,left:()=>Ai,paddingSerializationsInfo:()=>ki,right:()=>Ei,top:()=>Ii});var p={};e.r(p),e.d(p,{ActionId:()=>Ss});var h={};e.r(h),e.d(h,{loadMessages:()=>Il});var g={};e.r(g),e.d(g,{BaseEmptyModel:()=>Oi,BaseModel:()=>Ti,BaseRenderingModel:()=>Mi,BaseRenderingMultiplatformModel:()=>Ni,MultiplatformEngine:()=>H,NativeModelSerializer:()=>z,PropertyDeserializationEngine:()=>C,_updateViewModelWithChunks:()=>y,arrayModificationMapper:()=>_,createViewModelGenerator:()=>Pi,currentModelSerializer:()=>W,currentMultiPlatformEngine:()=>G,defaultPropertyDeserializatonEngine:()=>w,deserializeArray:()=>Ro,modelAccessor:()=>Jt,mutable:()=>Fi,mutableArray:()=>Bi,nativeModelSerializer:()=>j,nativeMultiPlatformEngine:()=>R,setCurrentModelSerializer:()=>q,setCurrentMultiplatfromEngine:()=>U,setDefaultViewModelGenerator:()=>Di,setDefautModelAccessor:()=>Xt,subscribableProperty:()=>L,updateViewModel:()=>b});var m={};e.r(m),e.d(m,{defineAce:()=>Nl,defineAceCriteria:()=>Fl,defineAceDocComments:()=>Bl,defineAceThemes:()=>Sl,getAceThemeName:()=>$l});const x=jQuery,f="__viewModel__timeout",v="__viewModel__chunks";function b(e,t){e.__viewModel&&e.updateViewModel&&(e.deferredUpdateViewModel()?y(e,t):e.updateViewModel(t))}function y(e,t){if(e.__viewModel&&e.updateViewModel){if(e[f]&&clearTimeout(e[f]),e[v]||(e[v]={}),"added"in t||"removed"in t){const i=Array.isArray(e[v][t.propertyName])?e[v][t.propertyName]:[];e[v][t.propertyName]=[...i,t]}else e[v][t.propertyName]=t;e[f]=setTimeout((()=>{e[v]&&Object.keys(e[v]).forEach((t=>{const i=e[v][t];Array.isArray(i)?i.forEach((t=>e.updateViewModel(t))):e.updateViewModel(i)})),e[v]={}}))}}const _={push:(e,t)=>{Object.defineProperty(e,"push",{enumerable:!1,configurable:!0,get:()=>(...i)=>{const r=e.length,s=Array.prototype.push.call(e,...i);return t({operation:"push",added:i.map(((e,t)=>({item:e,index:r+t}))),removed:[],newValue:e}),s}})},splice:(e,t)=>{Object.defineProperty(e,"splice",{enumerable:!1,configurable:!0,get:()=>(i,r,...s)=>{const a=Array.prototype.splice.call(e,i,r,...s);return t({operation:"splice",added:s.map(((e,t)=>({item:e,index:i+t}))),removed:a&&a.map(((e,t)=>({item:e,index:i+t}))),newValue:e}),a}})},pop:(e,t)=>{Object.defineProperty(e,"pop",{enumerable:!1,configurable:!0,get:()=>()=>{const i=e.length,r=Array.prototype.pop.call(e);return t({operation:"pop",added:[],removed:[{item:r,index:i-1}],newValue:e}),r}})}};class C{_defineProperty(e,t,i,r=(()=>{}),s){let a=i(),n=null,o=null;r&&r(a),Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>a,set:i=>{const d=a;a=i;const l=()=>{if(!e.isDisposing&&(d!==a||"always"===(null==s?void 0:s.notify))){const i={propertyName:t,oldValue:d,newValue:a};r&&r(a),e.onPropertyChanged&&e.onPropertyChanged(i),b(e,i),e.events&&e.events.call("propertyChanged",i)}};if(null==s?void 0:s.deferred)n||(n=Promise.resolve().then((()=>{l(),n=null})));else if(null==s?void 0:s.rateLimit){if("notifyWhenChangesStop"===s.rateLimit.method)o&&clearTimeout(o);else if(null!==o)return;o=setTimeout((()=>{l(),o=null}),s.rateLimit.timeout)}else l()}})}generateArrayProperty(e,t,i,r){this._defineProperty(e,t,(()=>i),(i=>{if(Array.isArray(i))for(const r in _)_[r](i,(i=>{const r=Object.assign({propertyName:t},i);e.onPropertyChanged&&e.onPropertyChanged(r),b(e,r),e.events.call("propertyChanged",r)}))}),r)}generateProperty(e,t,i,r){this._defineProperty(e,t,(()=>i),null,r)}}const w=new C;const A={},E=A.hasOwnProperty;function I(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?A[A.toString.call(e)]||"object":typeof e}function S(e){return"object"===I(e)&&!e.nodeType&&!function(e){return null!=e&&e===e.window}(e)&&!(e.constructor&&!E.call(e.constructor.prototype,"isPrototypeOf"))}function k(e){return"string"!=typeof e&&(null!==e&&"object"==typeof e&&0===Object.keys(e).length)}function P(e){return"function"===I(e)}function D(e,t,...i){let r,s,a,n,o,d,l=arguments[0]||{},u=1,c=!1;const p=arguments.length;for("boolean"==typeof l&&(c=l,l=arguments[u]||{},u++),"object"==typeof l||P(l)||(l={}),u===p&&(l=this,u--);u<p;u++)if(null!=(r=arguments[u]))for(s in r)a=l[s],n=r[s],l!==n&&(c&&n&&(S(n)||(o=Array.isArray(n)))?(o?(o=!1,d=a&&Array.isArray(a)?a:[]):d=a&&S(a)?a:{},l[s]=D(c,d,n)):void 0!==n&&(l[s]=n));return l}function T(e,t){return Object.assign(Object.create(Object.getPrototypeOf(e)),t||e)}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach((e=>A["[object "+e+"]"]=e.toLowerCase()));class F{constructor(){this._disposables=[],this.isDisposing=!1}disposeObservableArray(e){e&&e().forEach((e=>{e.dispose&&e.dispose()}))}resetObservableArray(e){e&&e([])}disposeArray(e){e&&(e.forEach((e=>{e.dispose&&e.dispose()})),e.splice(0,e.length))}addDisposable(...e){this._disposables.push(...e.map((e=>e?"dispose"in e?e:{dispose:e}:e)))}dispose(){this.isDisposing||(this.isDisposing=!0,(this._disposables||[]).reverse().forEach((e=>e&&e.dispose&&e.dispose())),this._disposables=[])}removeProperties(){Object.keys(this).forEach((e=>{delete this[e]}))}}class B extends F{constructor(){super(...arguments),this._handlers={}}dispose(){super.dispose(),this._handlers={}}call(e,t){if(e in this._handlers){[...this._handlers[e]].forEach((e=>e(t)))}}addHandler(e,t){e in this._handlers||(this._handlers[e]=[]),this._handlers[e].push(t)}removeHandler(e,t){const i=this._handlers[e].indexOf(t);-1!==i&&this._handlers[e].splice(i,1)}on(e,t){return this.addHandler(e,t),()=>{this._handlers[e]&&this.removeHandler(e,t)}}}class O extends B{call(e,t){if(t&&"propertyChanged"===e||e===`${null==t?void 0:t.propertyName}Changed`){const e=t,i=`${e.propertyName}Changed`;super.call(i,e),super.call("propertyChanged",e)}else super.call(e,t)}}function M(e,t){return(e||[]).map((e=>{let t=null!=e?e.toString():"00";return 1===t.length&&(t="0"+t),t})).join(t)}function N(e,t){const i=[e.getMonth()+1,e.getDate(),e.getFullYear()],r=M([e.getHours(),e.getMinutes(),e.getSeconds()],":");if("-"===t||"00:00:00"===r){const e=M([i[2],i[0],i[1]],"-");return"00:00:00"===r?e:e+" "+r}return"00:00:00"===r?M([i[2],i[0],i[1]],"-"):M(i,"/")+" "+r}function V(e){const t=e.split(" ");let i=t[0].split("-"),r=[0,0,0];return t.length>1&&(3!==i.length&&(i=t[0].split("/"),i.splice(0,0,i.splice(2,1)[0])),r=t[1].split(":").map((e=>parseInt(e))),3!==r.length)||3!==i.length?null:(i=i.map((e=>parseInt(e))),new Date(i[0],i[1]-1,i[2],r[0],r[1],r[2]))}class z{constructor(e){this.engineType="native",this._options={useRefs:!0,serializeDate:N},this._refTable={},this._linkTable={},this._options=D(this._options,e)}createObjectByInfo(e){return{getInfo:()=>e||[],events:new O,onPropertyChanged(e){}}}linkObjects(){Object.keys(this._linkTable).forEach((e=>{const t=this._refTable[e];t&&this._linkTable[e].splice(0).forEach((e=>e(t)))}))}wrapPropertyValue(e){return e}wrapPropertyArrayValue(e){return e}unwrapPropertyValue(e){return e}_getModel(e,t){let i=e;return t.forEach((e=>{i=i[e]})),i}_collectLinks(e,t,i,r){const s=e[r].slice(5);let a;this._linkTable[s]=this._linkTable[s]||[],this._linkTable[s].push((e=>a=e)),t._restoreLinks||(t._restoreLinks=[]),t._restoreLinks.push((e=>{const t=this._getModel(e,i);return{setRef:e=>{-1===e?delete t[r]:t[r]="#Ref-"+e},obj:()=>a}}))}_enumRefs(e,t,i){e._refs||(e._refs=[]),e._refs.push(((e,r)=>{this._getModel(e,t)[i]=r}))}_collectLinksAndEnumRefs(e,t=null,i=[]){const r=null===t;t=t||e,Object.keys(e).forEach((s=>{e[s]instanceof Object?this._collectLinksAndEnumRefs(e[s],t,[].concat(i,[s])):e[s].indexOf&&0===e[s].indexOf("#Ref-")?this._collectLinks(e,t,i,s):r||"@Ref"!==s||this._enumRefs(t,i,s)})),r&&this.linkObjects()}setLinks(e){e.linkObjTable.forEach((t=>{const i=e.objects.indexOf(t.obj());t.setRef(i)}))}deserializeProperty(e,t){const i=e.modelName;if(!i)return;const r=void 0!==t[i]?t[i]:e.defaultVal;return this.deserializePropertyValue(e,r)}deserializeDefaultValue(e){return this.deserializePropertyValue(e,e.defaultVal,!1)||e.defaultVal}deserializePropertyValue(e,t,i=!0){if("string"==typeof e)return this.wrapPropertyValue(t);if(e.array)return e.from?e.from(t,this):e.info?this.wrapPropertyArrayValue(Object.keys(t||{}).map((i=>{const r=this.createObjectByInfo(e.info||[]);return this.deserialize(r,t[i]||{}),r}))):void 0;if(e.from)return e.from(t,this);if(e.type){const i=new e.type(t,this,e.info);return i._model||this.deserialize(i,t||{},e.info),i}if(e.info){const i=this.createObjectByInfo(e.info);return this.deserialize(i,t||{}),i}if(e.modelName)return this.wrapPropertyValue(t);if(i)throw new Error("Invalid info '"+JSON.stringify(e)+"'")}setLinkProperty(e,t,i){return e[t]=i,e[t]}getLinkProperty(e,t){return e[t]}generateProperty(e,t,i){w.generateProperty(e,t,i)}generateArrayProperty(e,t,i){w.generateArrayProperty(e,t,i)}deserialize(e,t,i=[]){if(!t)return;e._model=D({},t),e.events||(e.events=new O),e.getInfo||(e.getInfo=()=>i),i=e.getInfo();const r=t["@Ref"],s=Object.getPrototypeOf(e);i.forEach((i=>{const r=i.propertyName,a=i.modelName;let n;if(void 0!==t[a]&&delete e._model[a],i.link){n=this.wrapPropertyValue(null);const s=t[i.modelName];if(s){const t=s&&s.slice(5);this._linkTable[t]=this._linkTable[t]||[];const i=this;this._linkTable[t].push((function(t){return 0===arguments.length?i.getLinkProperty(e,r):i.setLinkProperty(e,r,t)}))}}else n=this.deserializeProperty(i,t);const o=Object.getOwnPropertyDescriptor(s,r);void 0===n||o&&!o.set||this.generateProperty(e,r,n),!(r in e)&&void 0===n&&i.array&&this.generateArrayProperty(e,r,[])})),r&&(this._refTable[r]=e),this.linkObjects()}serialize(e,t,i=null){return t||i?this._serialize(e,t||[],i):this._serialize(e,[],null)}_isSerializableValue(e){return S(e)&&!k(e)||Array.isArray(e)&&e.length>0||!Array.isArray(e)&&!S(e)}serializeProperty(e,t,i,r,s){const a=e.propertyName;let n=this.unwrapPropertyValue("_"+a in t?t["_"+a]:t[a]),o=e.defaultVal;e.beforeSerialize&&(n=e.beforeSerialize(n)),e.from&&(o=this.unwrapPropertyValue(e.from(o,this)));let d={};if(e.modelName&&(e.alwaysSerialize||null!=n&&(S(n)||!k(n)||Array.isArray(n)&&n.length>0||!Array.isArray(n)&&!S(n))&&n!==o)){if(e.link)r.linkObjTable.push({obj:()=>n,setRef:t=>{t<0?delete s[e.modelName]:s[e.modelName]="#Ref-"+t}}),d=void 0;else if(e.array){d={};let t=1;n.forEach((i=>{const s=e.info||null,a=this._serialize(i,s,r);(this._isSerializableValue(a)||e.alwaysSerialize)&&(d["Item"+t]=a,this._options.useRefs&&(a["@Ref"]=(r.objects.push(i)-1).toString()),t++)}))}else if(e.from)d=n.isEmpty&&n.isEmpty()?{}:e.toJsonObject?e.toJsonObject(n,this,r):n.toString();else if(e.info||n.getInfo)d=this._serialize(n,e.info,r);else{if(!e.modelName)throw new Error("Invalid info '"+i.stringify()+"'");d=n instanceof Date?this._options&&this._options.serializeDate(n):n}(e.alwaysSerialize||this._isSerializableValue(d))&&(e.asRef&&(d["@Ref"]=(r.objects.push(n)-1).toString()),s[e.modelName]=d)}}_serialize(e,t,i){const r=D(!0,{},e._model),s=null===i;return i=i||{linkObjTable:[],objects:[]},r._restoreLinks&&(i.linkObjTable.push.apply(i.linkObjTable,r._restoreLinks.map((e=>e(r)))),delete r._restoreLinks),r._refs&&(r._refs.forEach((e=>e(r,(i.objects.push("0")-1).toString()))),delete r._refs),t=e.getInfo?e.getInfo():t,delete r["@Ref"],e.isEmpty&&e.isEmpty()?{}:(t.forEach((s=>{this.serializeProperty(s,e,t,i,r)})),s&&this.setLinks(i),r)}}function L(e,t){return{model:e,properties:t}}class H{cleanNode(e){}addDisposeCallback(e,t){}removeDisposeCallback(e,t){}peek(e){return e}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){e[t]=i}generateProperty(e,t,i,r){w.generateProperty(e,t,i,r)}generateArrayProperty(e,t,i,r){w.generateArrayProperty(e,t,i,r)}createComputedProperty(e,t,i,r,s,a=!1){const n={prevValue:void 0,value:void 0},o=()=>{const i=e[t];if(n.prevValue=n.value,n.value=i,"object"!=typeof i&&n.prevValue===n.value)return;const r={propertyName:t,newValue:i};e.onPropertyChanged&&e.onPropertyChanged(r),b(e,r),e.events&&e.events.call("propertyChanged",r)};function d(e,t){var i;const r={},s=[];return"*"===t?s.push(null===(i=null==e?void 0:e.events)||void 0===i?void 0:i.on("propertyChanged",(()=>{o()}))):t.forEach((t=>{var i,a,n;if("object"==typeof(n=t)&&"subscribables"in n){const a=`${t.propertyName}Changed`;s.push(null===(i=null==e?void 0:e.events)||void 0===i?void 0:i.on(a,(({propertyName:i})=>{if(r[i]&&r[i](),Array.isArray(e[i])){const s=e[i].map((e=>d(e,t.subscribables)));r[i]=()=>s.forEach((e=>e()))}else r[i]=d(e[i],t.subscribables);o()})))}else if("string"==typeof t){const i=`${t}Changed`;s.push(null===(a=null==e?void 0:e.events)||void 0===a?void 0:a.on(i,(()=>o())))}})),()=>{for(const e in r)r[e]();s.forEach((e=>e&&e()))}}"function"==typeof i?(Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>i()}),i()):Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>i.read(),set:e=>i.write(e)});const l=r.map((e=>e.model?d(e.model,e.properties):()=>{}));return()=>{l.forEach((e=>e()))}}subscribeValue(e,t){return()=>{}}subscribeOnPropertyChanged(e,t,i,r){if(e&&e.events){const s=`${t}Changed`,a=e.events.on(s,(({newValue:e})=>{i(e)}));return()=>{a(),r&&r()}}return()=>{}}unwrap(e){return e}wrap(e){return e}applyBindings(e,t){}}const R=new H,j=e=>new z(e);let W=j,G=R;function U(e){G=e}function q(e){W=e}function K(e,t,i,r){delete e[i],r=r||i,Object.defineProperty(e,i,{get:()=>t[r],set:e=>{t[r]=e},configurable:!0})}function Y(e,...t){const i=(t,i=!0)=>{const r=t.split(".");let s=e;for(let e=0;e<r.length-1;e++)!s[r[e]]&&i&&(s[r[e]]={}),s=s[r[e]];return{object:s,propertyName:r[r.length-1]}},r=t[t.length-1],s=i(t[t.length-1]);for(let e=0;e<t.length-1;e++)((e,t)=>{Object.defineProperty(t.object,t.propertyName,{get:()=>(console.warn("DevExpress."+e+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),s.object[s.propertyName]),set:t=>{console.warn("DevExpress."+e+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),s.object[s.propertyName]=t},configurable:!0})})(t[e],i(t[e]))}function J(e,t){let i=()=>{G.removeDisposeCallback(e,i),t&&t(),i=null,t=null};G.addDisposeCallback(e,i)}function X(e,t){let i=e;const r=[];return Object.assign((e=>(void 0!==e&&i!==e&&(i=e,t&&t(e),r.forEach((t=>t(e)))),i)),{subscribe:e=>(r.push(e),()=>r.splice(r.indexOf(e),1)),notifySubscribers:e=>{i!==e&&(i=e,r.forEach((t=>t(e))))}})}const Z=DevExpress.localization;function Q(e){D(se,e)}function ee(e){return pe(e)||e}function te(e,t=null,i=ie){let r=t&&pe(t)||ee(e);return r=t&&function(e,t=ie){const i=pe(e);if(i&&t&&(-1!==i.indexOf("&")||-1!==i.indexOf("<u>")||-1!==i.indexOf("</u>"))){const t={};return t[e]=i.replace("&","").replace("<u>","").replace("</u>",""),Q(t),t[e]}}(t,i)||r,ue(r)&&(e=r),ue(e)?ee(e):r}const ie=!0,re=window.Globalize,se={},ae={};function ne(){return te("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function oe(){return te("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function de(){return te("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function le(e,t){const i=x.Deferred();return e.length>0?x.when(...e).done(((...e)=>{e.forEach((e=>Q(e[0])))})).always((()=>i.resolve(t()))):i.resolve(t()),i}function ue(e){return!!ae[e]}function ce(e){return!!ue(e)&&te(e)}function pe(e){return se[e]}function he(e){return Z.formatDate(e,"shortDate")}function ge(e,t=!0,i){return t?e?e instanceof Date?e:V(e):null:i?Z.parseDate(e,i):Z.parseDate(e,void 0)}var me;function xe(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}!function(e){e[e.contains=0]="contains",e[e.startWith=1]="startWith"}(me||(me={}));const fe="dxd-fileuploader-input";let ve=e=>{const t=x.Deferred();let i=document.getElementById(fe);return i||(i=function(){const e=document.createElement("input");return e.type="file",e.id=fe,e.style.width="0px",e.style.height="0px",e.style.display="none",document.body.appendChild(e),e}()),i.accept=e.accept,i.onchange=()=>{!function(e,t,i){try{const r=e.files;for(let e=0;e<r.length;e++){const s=r[e];if("img"===i.type){const e=/image.*/;if(!s.type.match(e))continue}const a=new FileReader,n=s.name.split(".").pop();a.onload=()=>{try{t.resolve({format:n,content:xe(a.result,i.readMode)})}catch(e){t.reject()}},"text"===i.readMode||"html"===n||"htm"===n?a.readAsText(s):a.readAsDataURL(s)}}catch(e){t.reject()}}(i,t,e),i.value=""},i.click(),t.promise()};const be=e=>ve=e;function ye(e){ve=e}function _e(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType}function Ce(e,t,i){if(!i){const i=we(t);return!!e&&e.match(new RegExp(i,"gi"))}let r=i.canUseRegex?t:we(t);i.searchMode!=me.startWith||i.canUseRegex||(r="^"+r);let s="";return i.caseSensitive||(s+="i"),i.globalMatch&&(s+="g"),!!e&&e.match(new RegExp(r,s))}function we(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ae(e,t,i){return i=i||e.length-t,e.slice(0,t)+e.slice(t+i,e.length)}function Ee(e,t,i,r=""){let s=e;return s=Ae(s,t,i),s=Ie(s,t,Array(i+1).join(r)),s}function Ie(e,t,i){return e.substring(0,t)+i+e.substring(t)}function Se(e,...t){return e.replace(/{(\d+)(:[^}]+)?}/g,((e,i,r)=>{const s=t[parseInt(i)];return null!=s?r&&"d"===r.substring(1)?he(new Date(s)):s.toString():e}))}var $e,ke;!function(e){e.Plus="+",e.Minus="-",e.Equal="=",e.Tab="Tab",e.Delete="Delete",e.Enter="Enter",e.Esc="Escape",e.Space=" ",e.End="End",e.Home="Home",e.PageUp="PageUp",e.PageDown="PageDown",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown"}($e||($e={})),function(e){e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Esc=27]="Esc",e[e.Space=32]="Space",e[e.End=35]="End",e[e.Home=36]="Home",e[e.Left=37]="Left",e[e.Up=38]="Up",e[e.Right=39]="Right",e[e.Down=40]="Down"}(ke||(ke={}));class Pe extends F{_processShortcut(e,t,i){const r=e[ke[t.keyCode]];return!!r&&r(t,i)}processShortcut(e,t){return this._processShortcut(this.shortcutMap,e,t)}processChildrenShortcut(e,t){return this._processShortcut(this.childrenShortcutMap,e,t)}}class De extends Pe{constructor(e,t){super(),this._selection=e,this._undoEngine=t,this.shortcutMap={Esc:e=>(this.processEsc(),!0),Left:e=>(this.moveSelectedControls(!0,!0,-1),!0),Up:e=>(this.moveSelectedControls(!0,!1,-1),!0),Right:e=>(this.moveSelectedControls(!1,!0,1),!0),Down:e=>(this.moveSelectedControls(!1,!1,1),!0)}}processEsc(){const e=this._selection.focused()&&this._selection.focused().parent;e&&this._selection.focused(e)}moveSelectedControls(e,t,i){const r=this._selection.focused();if(!r||r&&r.getControlModel().getMetaData().isCopyDeny)return;this._undoEngine&&this._undoEngine().start();const s=t?"left":"top",a=t?"width":"height";let n,o,d;r.rect&&(n=r.rect()[s],o=r.rect()[s]+r.rect()[a],this._selection.selectedItems.filter((e=>!e.locked)).forEach((e=>{const t=e.rect()[s];t<n&&(n=t)})),this._selection.selectedItems.filter((e=>!e.locked)).forEach((e=>{const t=e.rect()[s]+e.rect()[a];t>o&&(o=t)})),e&&n<=0||!r.parent.rect||!e&&o.toFixed(5)>=r.parent.rect()[a]||(this._selection.selectedItems.filter((e=>!e.locked)).filter((e=>!!e.rect)).forEach((t=>{const r={},n=t.rect()[s],o=t.rect()[a],l=t.parent.rect()[a];d=n+1*i,(e&&d>=0||!e&&d+o<=l)&&(r[s]=d),!e&&d+o>l&&(r[s]=l-o),e&&d<0&&n>0&&(r[s]=0),t.rect(r)})),this._undoEngine&&this._undoEngine().end()))}}class Te{constructor(e){this._handlers=[],this._targetElement=e}get _activeHandler(){return this._handlers.length>0?this._handlers[this._handlers.length-1]:null}_removeHandler(e,t){const i=this._handlers.indexOf(e);i<0||(this._handlers.splice(i,1),i===this._handlers.length&&(this._targetElement.removeEventListener(t,e),this._activeHandler&&this._targetElement.addEventListener(t,this._activeHandler)))}bindHandler(e,t,i="keydown"){this._activeHandler&&this._targetElement.removeEventListener(i,this._activeHandler);const r=e=>{(x.fn.constructor(this._targetElement).closest(".dx-designer").length>0||x.fn.constructor(e.target).closest(".dx-designer").length>0||e.target===document.body)&&t(e)};this._handlers.push(r),this._targetElement.addEventListener(i,r),J(e,(()=>{this._removeHandler(r,i)}))}}class Fe extends F{constructor(e){super(),this.element=e,this._eventListeners=[]}dispose(){super.dispose(),this._eventListeners.forEach((e=>{e.element.removeEventListener(e.eventType,e.listener)})),this._eventListeners.length=0,this.element=null}addListener(e,t,i){const r=e=>{i.call(this,e)};e.addEventListener(t,r),J(e,(function(){e.removeEventListener(t,r)})),this._eventListeners.push({element:e,eventType:t,listener:r})}setTabIndex(e){this.element.setAttribute("tabindex",e)}setFocus(){this.element.focus()}}class Be extends Pe{constructor(){super(),this.childrenInitialized=!1,this.accessibilityCompliantEnabled=!1,this.focusFirstFocusableDescendant=!1,this.controlElements=[],this._eventListeners=[],this.setTabIndexes=e=>{this.controlElements.forEach((t=>t.setTabIndex(e)))},this.liveRegion=()=>this.liveRegionId?(this._liveRegion&&this._liveRegion.element||(this._liveRegion={element:document.getElementById(this.liveRegionId),changeText:(e,t=200)=>setTimeout((()=>{this._liveRegion.element&&(this._liveRegion.element.textContent=e)}),t)}),this._liveRegion):null,this.onInitialized=(e,t)=>{t&&(this.accessibilityCompliantEnabled=!0),this.accessibilityCompliantEnabled&&this.bindHandler(e)},this.onDomUpdated=()=>{if(this.accessibilityCompliantEnabled&&!this.isDisposing){const e=this.getElements()||[];let t=e.length!==this.controlElements.length;if(!t)for(let i=0;i<e.length;i++)if(e[i]!==this.controlElements[i].element){t=!0;break}t&&(this.initialize(void 0,e),this._handlersManager.bindHandler(this._elementContainer,(e=>this._keyDownHandler(e))))}},this.onDispose=()=>{this.dispose()},this.shortcutMap={Esc:e=>this.handleEscKey(e),Tab:e=>!(!e||!e.shiftKey)?this.handleShiftTabKey(e):this.handleTabKey(e),Enter:e=>this.handleEnterKey(e),Space:e=>this.handleSpaceKey(e),End:e=>this.handleEndKey(e),Home:e=>this.handleHomeKey(e),Up:e=>this.handleUpArrowKey(e),Down:e=>this.handleDownArrowKey(e),Left:e=>this.handleLeftArrowKey(e),Right:e=>this.handleRightArrowKey(e)},this.childrenShortcutMap={Tab:(e,t)=>!(!e||!e.shiftKey)?this.itemHandleShiftTabKey(e,t):this.itemHandleTabKey(e,t),Enter:(e,t)=>this.itemHandleEnterKey(e,t),Space:(e,t)=>this.itemHandleSpaceKey(e,t),End:(e,t)=>this.itemHandleEndKey(e,t),Home:(e,t)=>this.itemHandleHomeKey(e,t),Up:(e,t)=>this.itemHandleUpArrowKey(e,t),Down:(e,t)=>this.itemHandleDownArrowKey(e,t),Left:(e,t)=>this.itemHandleLeftArrowKey(e,t),Right:(e,t)=>this.itemHandleRightArrowKey(e,t),Esc:(e,t)=>this.itemHandleEscKey(e,t)}}_disposeItems(){this._eventListeners.forEach((e=>{e.element.removeEventListener(e.eventType,e.listener)})),this._eventListeners.length=0,this.disposeArray(this.controlElements),this.controlElements.length=0}getElements(e){if(!this._elementContainer)return;let t=Array.prototype.slice.call(this._elementContainer.querySelectorAll("."+this.controlElementClassName));return t.length?(e&&(t=t.filter(e)),t):void 0}initialize(e,t){this._disposeItems();const i=t||this.getElements(e);i&&(i.forEach(((e,t)=>{const i=this.createControlElement(e,t);i&&this.controlElements.push(i)})),this.controlElements.forEach(((e,t)=>{this.addListener(e.element,t,"click",this.clickHandler)})),this.childrenInitialized=!0)}getIndexByElement(e){return this.controlElements.map((e=>e.element)).indexOf(e)}createControlElement(e,t){return new Fe(e)}getContainer(){return this._elementContainer}changeFocus(e,t=!0){const i=this.controlElements.length-1;return e<0&&(e=t?i:0),e>i&&(e=t?0:i),this.controlElements[e].setFocus(),e}bindHandler(e){this._elementContainer=e,this.initialize(),this._handlersManager=new Te(this._elementContainer),this._handlersManager.bindHandler(this._elementContainer,(e=>this._keyDownHandler(e)))}handleEscKey(e,t){return!!this._prevActiveElement&&(this._prevActiveElement.focus(),!0)}handleTabKey(e){return!1}handleShiftTabKey(e){return!1}handleEnterKey(e){return!1}handleSpaceKey(e){return!1}handleEndKey(e){return!1}handleHomeKey(e){return!1}handleUpArrowKey(e){return!1}handleDownArrowKey(e){return!1}handleLeftArrowKey(e){return!1}handleRightArrowKey(e){return!1}itemHandleHomeKey(e,t){return this.changeFocus(0),!0}itemHandleEndKey(e,t){return this.changeFocus(this.controlElements.length-1),!0}itemHandleLeftArrowKey(e,t){return!1}itemHandleRightArrowKey(e,t){return!1}itemHandleEnterKey(e,t){return!1}itemHandleSpaceKey(e,t){return!1}itemHandleUpArrowKey(e,t){return!1}itemHandleDownArrowKey(e,t){return!1}itemHandleTabKey(e,t){return!1}itemHandleShiftTabKey(e,t){return!1}itemHandleEscKey(e,t){return!1}setFocusToPrevious(e,t=!0){return this.changeFocus(e-1,t)}setFocusToNext(e,t=!0){return this.changeFocus(e+1,t)}clickHandler(e,t){this.changeFocus(t)}dispose(){super.dispose(),this._disposeItems(),this._elementContainer=null,this._prevActiveElement=null}addListener(e,t,i,r){const s=e=>{r.call(this,e,t)};e.addEventListener(i,s),J(e,(function(){e.removeEventListener(i,s)})),this._eventListeners.push({element:e,eventType:i,listener:s})}focus(e){if(this.childrenInitialized||this._elementContainer)if(this._prevActiveElement=e||document.activeElement,this.childrenInitialized&&!this.focusFirstFocusableDescendant)this.changeFocus(this.startIndex||0);else{const e=this._elementContainer.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');setTimeout((()=>e.length&&e[0].focus()))}}lastFocusItem(){return document.getElementById("dxrd-designer-last-focus-item-blank")}_keyDownHandler(e){const t=e.target;(t.classList.contains(this.controlElementClassName)&&this.processChildrenShortcut(e,this.getIndexByElement(t))||this.processShortcut(e))&&(e.stopPropagation(),e.preventDefault())}}class Oe extends Be{constructor(e,t=(()=>{})){super(),this._editorViewModelsAccessor=e,this._onToggleCollapsed=t,this.controlElementClassName="dxrd-accessibility-accordion-trigger"}_collapseItem(e){const t=this._editorViewModelsAccessor();if(t){const e=t.getCollapsed(),i=t.alwaysShow;t.setCollapsed(!i&&!e),this._onToggleCollapsed()}}itemHandleEnterKey(e,t){return this._collapseItem(e.target),!0}itemHandleSpaceKey(e,t){return this._collapseItem(e.target),!0}clickHandler(e,t){this._onToggleCollapsed(),super.clickHandler(e,t)}}class Me extends Be{constructor(e){super(),this._editorsViewModelsAccessor=e,this.controlElementClassName="dxrd-accessibility-accordion-trigger",this.focusFirstFocusableDescendant=!0,this._complexEditorMap={},this._triggersParentToChildMap={}}_getElementsCount(){return Array.from(this.getContainer().querySelectorAll("."+this.controlElementClassName)).filter((e=>this._filterPredicate(e))).length}_defferedInit(){setTimeout((()=>{this.controlElements.length!==this._getElementsCount()&&this.initialize()}),20)}_getComplexEditors(){const e={},t=(e,i)=>{e&&e.filter((e=>e.isComplexEditor)).forEach((e=>{i[e.headerId]={editor:e,isInitialized:!1},t(e.viewmodel.editors,i)}))};return t(this._editorsViewModelsAccessor(),e),e}_getComplexEditorsHierarchy(){const e={},t=(e,i)=>{e.viewmodel.editors.filter((e=>e.isComplexEditor)).forEach((r=>{i[r.headerId]=e.headerId,t(r,i)}))};return this._editorsViewModelsAccessor().filter((e=>e.isComplexEditor)).forEach((i=>{t(i,e)})),e}_filterPredicate(e){var t,i;let r=e.id;for(;this._triggersParentToChildMap&&this._triggersParentToChildMap[r];){if(null===(i=null===(t=this._complexEditorMap[this._triggersParentToChildMap[r]])||void 0===t?void 0:t.editor)||void 0===i?void 0:i.getCollapsed())return!1;r=this._triggersParentToChildMap[r]}return!0}initialize(){Object.keys(this._complexEditorMap).length||(this._complexEditorMap=this._getComplexEditors()),Object.keys(this._triggersParentToChildMap).length||(this._triggersParentToChildMap=this._getComplexEditorsHierarchy()),Object.keys(this._complexEditorMap).forEach((e=>{if(!this._complexEditorMap[e].isInitialized){const t=document.getElementById(e);if(t){const i=new Oe((()=>this._complexEditorMap[e].editor),(()=>this._defferedInit()));i.bindHandler(t),this.addDisposable(i),this._complexEditorMap[e].isInitialized=!0}}})),super.initialize((e=>this._filterPredicate(e))),this.setTabIndexes(0)}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t),!0}}class Ne extends Fe{constructor(e,t){super(e),this.element=e,this._parentElement=t,this._borderCssClassName=["dxd-border-accented","dx-accessibility-container-highlight"],this.toolbarItemHandleFocus=()=>{this._parentElement.classList.add(...this._borderCssClassName)},this.toolbarItemHandleBlur=()=>{this._parentElement.classList.remove(...this._borderCssClassName)},e.addEventListener("focus",this.toolbarItemHandleFocus),e.addEventListener("blur",this.toolbarItemHandleBlur)}dispose(){this.element.removeEventListener("focus",this.toolbarItemHandleFocus),this.element.removeEventListener("blur",this.toolbarItemHandleBlur),super.dispose()}}const Ve=X(1),ze=function(e){return e*Ve()};class Le extends Be{constructor(){super(...arguments),this.startIndex=0}resetTabIndexes(){this.setTabIndexes("-1")}initialize(){super.initialize(),this.resetTabIndexes(),this.controlElements[this.startIndex]&&this.controlElements[this.startIndex].element.setAttribute("tabindex","0")}changeFocus(e,t=!0){this.resetTabIndexes();const i=super.changeFocus(e,t);return this.controlElements[i].setTabIndex("0"),this.controlElements[i].setFocus(),this.startIndex=i,i}}class He extends Le{constructor(){super(...arguments),this.controlElementClassName="dx-accessibility-list-item"}createControlElement(e,t){return new Ne(e,this.getContainer())}itemHandleUpArrowKey(e,t){return this.startIndex=this.setFocusToPrevious(t,!1),!0}itemHandleDownArrowKey(e,t){return this.startIndex=this.setFocusToNext(t,!1),!0}}class Re extends Be{constructor(e){super(),this._tabPanel=e,this.controlElementClassName="dx-accessibility-rightpanel-button"}_initialize(){this._initTimeout&&clearTimeout(this._initTimeout),this._initTimeout=setTimeout((()=>{this.initialize()}),1)}bindHandler(e){super.bindHandler(e),this.addDisposable(...this._tabPanel.tabs.map((e=>e.events.on("visibleChanged",(e=>{this._initialize()}))))),this._initialize()}initialize(){super.initialize(),this.setTabIndexes(0)}createControlElement(e,t){if(this._tabPanel.tabs[t].visible)return new Fe(e)}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t,!0),!0}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t,!0),!0}}const je=DevExpress.ui.dxSelectBox;var We=e.n(je);const Ge=DevExpress.ui.dxMenu;var Ue=e.n(Ge);function qe(e){D(se,e.messages)}function Ke(e,t,i){return te(e,t,ie)}function Ye(e,t){return-1!==e.indexOf(t,e.length-t.length)}function Je(e){D(ae,e);const t={};Object.keys(e).forEach((i=>{t[i]=e[i]})),qe({messages:t})}const Xe={isSubscribable:e=>"function"==typeof e&&"subscribe"in e,isComputed:e=>Xe.isSubscribable(e)&&"dispose"in e,unwrap:e=>Xe.isSubscribable(e)?e():e};class Ze extends Le{constructor(e){super(),this._buttonModels=e,this.controlElementClassName="dx-accessibility-toolbar-item",this.liveRegionId="dxrd-preview-toolbar-live-region",this._buttonsSubscriptions=[],this._initializationTimeout=null,this._subscribeButtonsAndInitialize(this.buttonModels),Xe.isSubscribable(this._buttonModels)&&this.addDisposable(this._buttonModels.subscribe((e=>{this._buttonsSubscriptions.forEach((e=>e.dispose())),this._buttonsSubscriptions=[],this._subscribeButtonsAndInitialize(e)})))}_subscribeButtonsAndInitialize(e){e.forEach((e=>{Xe.isSubscribable(e.visible)&&this._buttonsSubscriptions.push(e.visible.subscribe((()=>this._initialize())))})),this._initialize()}_initialize(){this._initializationTimeout&&clearTimeout(this._initializationTimeout),this._initializationTimeout=setTimeout((()=>this.initialize()),100)}createControlElement(e,t){const i=this.buttonModels[t];if(i.getVisible&&i.getVisible()||Xe.unwrap(i.visible))return new Qe(e,this.getContainer(),i,this.liveRegion.bind(this))}itemHandleEnterKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleSpaceKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleLeftArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleRightArrowKey(e,t){return this.setFocusToNext(t),!0}get buttonModels(){return Xe.unwrap(this._buttonModels)}}class Qe extends Ne{constructor(e,t,i,r){super(e,t),this.element=e,this._toolbarItemModel=i,this._liveRegion=r,this._selectBox=We().getInstance(e.children[0]),this._menu=Ue().getInstance(e.children[0])}_complexItem(){return!(!this._selectBox&&!this._menu)}dispose(){super.dispose(),this._menu=null,this._selectBox=null}setFocus(){return this._complexItem()&&"true"!==this.element.getAttribute("aria-disabled")?this._liveRegion().changeText(Ke("press Enter or Space to activate the editor","ASPxReportsStringId.WebDocumentViewer_AriaActivateEditor"),200):this._liveRegion().changeText(""),super.setFocus()}actionExecute(){this._complexItem()&&this._liveRegion().changeText(Ke("Press Alt ↓ or Alt ↑ to navigate the editor. Press Shift Tab to exit navigation mode.","ASPxReportsStringId.WebDocumentViewer_AriaEditorKeyboardNavigation"),500),this._selectBox?this._selectBox.focus():this._menu?this._menu.focus():Xe.unwrap(this._toolbarItemModel.disabled)||this._toolbarItemModel.clickAction()}}class et extends He{constructor(e){super(),this._rootHolder=e,this.controlElementClassName="dx-accessibility-treelist-item"}_setFocusToParentNode(e,t){let i=1;const r=e.parent.items,s=r.indexOf(e),a=(e,t)=>(e.hasItems&&!e.collapsed&&e.items.forEach((e=>{t+=a(e,0)})),t+=1);for(let e=0;e<s;e++)i+=a(r[e],0);this.changeFocus(t-i)}_toggleCollapsed(e,t){this.startIndex=this.getIndexByElement(e),t.toggleCollapsed()}_toggleSelected(e){this._getItemModel(e).toggleSelected()}_getItemModel(e){return this._rootHolder.root.store.getItem(e.id)}createControlElement(e,t){return new Fe(e)}itemHandleLeftArrowKey(e,t){const i=this._getItemModel(e.target);return i.hasItems&&!i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this._setFocusToParentNode(i,t),!0}itemHandleRightArrowKey(e,t){const i=this._getItemModel(e.target);return i.hasItems&&(i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this.changeFocus(t+1,!1)),!0}itemHandleEnterKey(e,t){return this._toggleSelected(e.target),!0}itemHandleSpaceKey(e,t){return this._toggleSelected(e.target),!0}clickHandler(e,t){super.clickHandler(e,t),this.startIndex=t}}class tt{constructor(e,t,i){this._data=t,this._templates=i,this.templateName=e}data(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}text(e){if(0===arguments.length){if(this.templateName in this._templates)return this._templates[this.templateName];throw new Error("Cannot find template with ID "+this.templateName)}this._templates[this.templateName]=e}}class it{constructor(){this._hasTemplate=(e,t)=>t&&!!document.getElementById(e)||this._templates.hasOwnProperty(e),this._data={},this._templates={}}static get Instance(){return this._instance||(this._instance=new this)}static get templates(){return it.Instance._templates}static addTemplate(e,t){it.templates[e]=t}static addTemplates(e){D(it.templates,e)}static extendTemplates(e){for(const t in e){let i;Object.defineProperty(it.templates,t,{configurable:!0,enumerable:!0,get:()=>i||it.templates[e[t]],set:e=>{i=e}})}}static getExistingTemplate(e,t=!0){return it.Instance._hasTemplate(e,t)?e:void 0}}function rt(e,t){it.addTemplate(e,t)}function st(e){const t="#"===e[0]?e.substr(1):e,i=document.querySelector("#"+t);return i&&i.innerHTML||it.templates[t]}const at=DevExpress.ui.notify;var nt=e.n(at);function ot(e){return e?e.surface:null}function dt(e,t,i,r){const s={top:t.top+r.y,left:t.left+r.x,bottom:t.top+i.originalSize.height,right:t.left+i.originalSize.width};return 0!==r.x?s.left=e.snapPosition(s.left,!1):0!==r.width&&(s.right=e.snapPosition(t.left+i.size.width,!1)),0!==r.y?s.top=e.snapPosition(s.top,!0):0!==r.height&&(s.bottom=e.snapPosition(t.top+i.size.height,!0)),s}function lt(e){return parseInt(e,10)||0}function ut(e,t,i){let r=lt(e.css("left"));const s=lt(e.css("top"));if(i.rtl()){const t=i.pageWidth()-i.margins.left()-e.width();r>t&&(r=t)}const a=e[0].getBoundingClientRect();return{top:s,left:r,width:a.width,height:a.height}}function ct(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}function pt(e,t){return t&&(ct(e)<ct(t)?window:t)||window}function ht(e,t,i=!1){return()=>{const r=x.fn.constructor(t).find(".dxrd-designer").eq(0),s=r.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,a=(r.find(".dxrd-right-panel:visible").outerWidth()||0)+(r.find(".dxrd-right-tabs:visible").outerWidth()||0),n=a+s,o=r.width()-n;r.find(".dxrd-surface-wrapper").eq(0).css({left:i?a:s,right:i?s:a,width:o,bottom:r.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}),e(o)}}let gt=!1;function mt(e){gt=e}const xt={info:"info",warning:"warning",error:"error",success:"success"},ft=(e=>{const t=t=>function(...i){e&&x.isFunction(e[t])&&e[t].apply(e,arguments)};return{info:t("info"),warn:t("warn"),error:t("error")}})(window.console);let vt=!1;function bt(e,t=!1){if(t&&Ct(e),gt)throw new Error(e);vt&&ft.warn(e)}function yt(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""}const _t=(e,t="error",i,r,s,a)=>{a=a||x.fn.constructor(".dx-designer-viewport")[0],nt()({message:e,type:t,maxWidth:a?a.clientWidth:void 0,position:{boundary:a,collision:"fit",of:pt(document.documentElement,a),my:"bottom",at:"bottom",offset:"0 -10"},container:a,hideOnOutsideClick:!0,closeOnSwipe:!1,displayTime:i||("error"===t?6e4:3e3),contentTemplate:s})};let Ct=_t;const wt=e=>Ct=e,At=()=>Ct=_t,Et=()=>vt=!1,It=()=>vt=!0,St=!0;function $t(e,t,i,r,s){let a=e;const n=yt(i);n&&n!==a&&(St?a+=": "+n:a=n);try{s?s(a,i,r):bt(a)}finally{t.reject(i,r,e)}}const kt={handlers:[],call:e=>{for(let t=0;t<kt.handlers.length;t++)kt.handlers[t](e)}};function Pt(e){return e&&kt.handlers.push(e),{dispose:()=>{e&&function(e){kt.handlers.splice(kt.handlers.indexOf(e),1)}(e)}}}class Dt{static generateUri(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t}}const Tt="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx",Ft=()=>{const e=`<a href="${Tt}" target="_blank" rel="noopener noreferrer">Reporting Application Diagnostics</a>`,t=`Review the following help topic to diagnose a problem: ${Tt}`;Ct("","error",null,null,(function(){return`<div><span>Open the browser developer console to investigate the issue. Review the following help topic: </span>${e}</div>`})),console.log(t)},Bt=e=>{const t=Mt();(e instanceof Element?e:e[0]).innerHTML=t},Ot=(e,t,i)=>{try{return e()}catch(e){if(!t||!i)throw e;Bt(i),console.error(e)}},Mt=()=>{const e=`<a href="${Tt}" target="_blank" rel="noopener noreferrer">following help topic</a>`,t=st("dxrd-svg-error");return`<div class="dxrd-error-page">${t?`<div class="dxrd-error-page-icon">${t}</div>`:""}<div class="dxrd-error-page-title">Something went wrong</div><div class="dxrd-error-page-content">${`Review the ${e} to diagnose a problem.`}</div></div>`};class Nt extends F{constructor(e,t){super(),this._options=e,this._customEventRaiser=t,this._templateHtml=st("dxrd-designer"),this.developmentMode=e.developmentMode}dispose(){super.dispose(),this.sender&&this.sender instanceof F&&this.sender.dispose(),this.removeProperties()}_fireEvent(e,t){this._customEventRaiser?this._customEventRaiser(e,t):this._options&&this._options.callbacks&&this._options.callbacks[e]&&this._options.callbacks[e](this.sender,t)}_warnForIncorrectCallbackName(e,t){bt('The callback name must be different. Use "'+e+'" instead of "'+t+'" to call the function with the correct arguments.')}_checkCallbackName(e){Object.keys(this._options.callbacks).forEach((t=>{e.forEach((e=>{t===e.privateName&&this._warnForIncorrectCallbackName(e.publicName,t)}))}))}_getServerActionUrl(e,t){return Dt.generateUri(e,t)}_generateCallbackDictionary(e,t){const i=Nt.convertCallbackArrayToDictionary(e),r=i;return t&&this._options.callbacks[t]?Object.keys(i).forEach((e=>{r[e]=this._options.callbacks[t][e]||i[e]})):Object.keys(i).forEach((e=>{r[e]=this._options.callbacks[e]||i[e]})),r}_getLocalizationRequest(){const e=x.Deferred(),t=this._options.requestOptions;if(t.getLocalizationAction){const i=this._getServerActionUrl(t.host,t.getLocalizationAction);x.getJSON(i).fail((function(t,i,r){try{$t(r.message,x.Deferred(),t,i)}finally{e.reject()}})).done((t=>{e.resolve(t)}))}else e.resolve();return e.promise()}_createDisposeFunction(e){J(e,(()=>{this.dispose()}))}static convertCallbackArrayToDictionary(e){const t={};return e.forEach((e=>{t[e.privateName]=e.callback})),t}}class Vt{constructor(e,t){this._element=e,this._options=t}getBindingName(){return""}render(){G.cleanNode(this._element),this._element.setAttribute("data-bind",`${this.getBindingName()}: $data`),Ot((()=>G.applyBindings(this._options,this._element)),this._options.developmentMode,this._element)}dispose(){G.cleanNode(this._element)}}const zt=ko;class Lt{constructor(e=!0){this._useDeferredRegistration=e,this._editorTemplates={}}register(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,D(this._editorTemplates[e],t)):this._editorTemplates[e]=t}unregister(e){delete this._editorTemplates[e]}registerEditors(e){for(const t in e)this.register(t,e[t])}getEditor(e){return!this._editorTemplates[e]&&this._useDeferredRegistration&&(this._editorTemplates[e]={_deferred:!0}),this._editorTemplates[e]}}const Ht=new Lt,Rt=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:Ht.getEditor("numeric"),editorOptions:{min:2}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:Ht.getEditor("numeric"),editorOptions:{min:2}}],jt=[{propertyName:"x",displayName:"X",editor:Ht.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:Ht.getEditor("numeric")}];class Wt{constructor(e,t){this.isPropertyDisabled=e=>{},this.height=zt.observable(t).extend({dxdnum:{min:2}}),this.width=zt.observable(e).extend({dxdnum:{min:2}})}getInfo(){return Rt}static fromString(e="0, 0"){const t=e.split(",");return new Wt(parseFloat(t[0]),parseFloat(t[1]))}toString(){return this.width()+", "+this.height()}}function Gt(e,t=!1,i=3){return(t?Math.floor:Math.round)(e*Math.pow(10,i))/Math.pow(10,i)}function Ut(e,t,i=1){let r;return r="Pixels"===t?1*e:"TenthsOfAMillimeter"===t?3.78*e/10:96*e/100,r*=i,Gt(r,!0)}function qt(e,t,i){let r;return r="Pixels"===t?1*e:"TenthsOfAMillimeter"===t?e/3.78*10:e/96*100,r/=i,Gt(r)}Wt.unitProperties=["width","height"];const Kt=e=>`${e}px`,Yt=e=>parseFloat(e.replace("px",""));let Jt=e=>{throw new Error("Model Accessor is not implemented")};function Xt(e){Jt=e}class Zt extends F{constructor(e,t,i,r,s){super(),this._snapDisabled=!1,this._size=new Wt(0,0),this.alwaysAlt=!1,this.surface=e,this.selection=t,this.snapHelper=r,this.dragHelperContent=s,this.stopDrag=(e,t,s)=>{i()&&i().start(),this.doStopDrag(e,t,s),i()&&i().end(),r&&r.deactivateSnapLines()}}dispose(){super.dispose(),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null}getTarget(e){return e.toElement||Jt(e.relatedTarget)&&e.relatedTarget||e&&e.target||null}_getAbsoluteSurfacePosition(e){return{left:Yt(e.dataset.leftPosition)-e.delta.left,top:Yt(e.dataset.topPosition)-e.delta.top}}addControl(e,t,i){const r=t.width&&t.width()||t._width&&t._width(),s=t.underCursor();if(s.x<r){t.getControlModel().addChild(e);const a=ot(e);if(!a)return;const n=i.width(),o=i.height(),d=s.x+n>r?r-n-1:s.x;a.rect({left:d,top:Math.max(s.y,0),width:n,height:o}),this.selection.initialize(a)}}recalculateSize(e){const t=zt.unwrap(this.surface);this._size.width(Ut(zt.unwrap(e.width)*t.dpi()/100,t.measureUnit(),t.zoom())),this._size.height(Ut(zt.unwrap(e.height)*t.dpi()/100,t.measureUnit(),t.zoom()))}helper(e,t){this.snapHelper&&this.snapHelper.updateSnapLines(e||null)}canDrop(e,t,i){let r=e.locked;return i&&i.canDrop&&(r=r||!i.canDrop(e,t)),!r}startDrag(e){}drag(e,t,i){let r=!this._snapDisabled&&!0!==e.altKey;if(this.selection.dropTarget){const e=this.selection.dropTarget.getControlModel().getMetaData().isContainer?this.selection.dropTarget:this.selection.dropTarget.parent||this.selection.dropTarget,t=i.getControlModel&&i.getControlModel(),s=t&&t.getMetaData()||i.info;this.canDrop(e,t,s)?this.dragHelperContent&&this.dragHelperContent.isLocked(!1):(this.snapHelper&&this.snapHelper.deactivateSnapLines(),r=!1,this.dragHelperContent&&this.dragHelperContent.isLocked(!0))}if(r){const e=this._getAbsoluteSurfacePosition(t),i=this.snapHelper&&this.snapHelper.activateSnapLines({left:e.left,top:e.top,right:e.left+this._size.width(),bottom:e.top+this._size.height()});i&&(i.left>0||i.top>0)&&(t.dataset.leftPosition=Kt(Yt(t.dataset.leftPosition)-i.left),t.dataset.topPosition=Kt(Yt(t.dataset.topPosition)-i.top),t.ghostContainer.style.left=t.dataset.leftPosition,t.ghostContainer.style.top=t.dataset.topPosition)}}doStopDrag(e,t,i){}}Zt.started=zt.observable(!1);class Qt{constructor(e=0,t=0,i=0,r=0){this.left=zt.observable(0),this.top=zt.observable(0),this.width=zt.observable(0),this.height=zt.observable(0),this.className="dxrd-drag-helper-item",this.left(e),this.top(t),this.width(i),this.height(r)}}class ei extends Qt{constructor(e,t,i,r,s){super(t,i,r,s),this.position=e}}class ti extends Qt{constructor(e){super(),this.controls=zt.observableArray([]),this.customData=zt.observable({}),this.template="dxrd-drag-helper-source",this.isLocked=zt.observable(!1),this._selectionProvider=e}get _isEmpty(){return 0===this.controls().length}reset(){this.controls([]),this.customData({})}update(e){if(this.left(e.absolutePosition.x()),this.top(e.absolutePosition.y()),this.width(e.rect().width),this.height(e.rect().height),this._isEmpty){const t=[];this._selectionProvider.selectedItems.forEach(((i,r)=>{i.locked||i.parent!==e.parent||t.push(new ei(r))})),this.controls(t)}this.controls().forEach((e=>{const t=this._selectionProvider.selectedItems[e.position];e.left(t.absolutePosition.x()-this.left()),e.top(t.absolutePosition.y()-this.top()),e.width(t.rect().width),e.height(t.rect().height)}))}setContent(e,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)}}class ii extends Zt{adjustDropTarget(e){let t=e;for(;null!=t;){if(t.selected&&t.selected()){e=t.parent;break}t=t.parent}return e}constructor(e,t,i,r,s){super(e,t,i,r,s),this.cursor="move",this.containment=".dxrd-ghost-container",this.helper=e=>{super.helper(e),-1===this.selection.selectedItems.indexOf(e)&&this.selection.updateSelection(e),s.update(e),this._size.width(s.width()),this._size.height(s.height())}}startDrag(e){this.selection.swapFocusedItem(e);const t=this.selection.focused(),i=t.rect().left+t.underCursor().x,r=t.rect().top+t.underCursor().y;this.selection.selectedItems.filter((e=>!e.locked)).forEach((e=>{e.parent===t.parent&&(e.underCursor().offsetX=e.rect().left-i,e.underCursor().offsetY=e.rect().top-r)}))}drag(e,t,i){t.dataset.leftPosition=Kt(Yt(t.dataset.leftPosition)+t.scroll.left),t.dataset.topPosition=Kt(Yt(t.dataset.topPosition)+t.scroll.top),super.drag(e,t,i)}getLocation(e,t){const i=e.underCursor().x+t.underCursor().offsetX,r=e.underCursor().y+t.underCursor().offsetY;return{left:i>0?i:0,top:r>0?r:0}}ajustLocation(e,t){t.rect(this.getLocation(e,t))}doStopDrag(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){const t=this.selection.dropTarget.getControlModel(),i=t.getNearestParent(t).surface,r=this.selection.focused();let s=this.adjustDropTarget(i);const a=r.getControlModel(),n=a.getNearestParent(s.getControlModel());s=n&&ot(n);const o=s!==r.parent;if(!s||!s.canDrop())return;const d=this._getAbsoluteSurfacePosition(e);s.underCursor().x=d.left-(s.absolutePosition&&s.absolutePosition.x()||0)-r.underCursor().offsetX,s.underCursor().y=d.top-(s.absolutePosition&&s.absolutePosition.y()||0)-r.underCursor().offsetY;const l=this.selection.selectedItems.filter((e=>!e.locked&&e.parent===r.parent)).map((e=>e.getControlModel())).filter((e=>e.getMetaData().canDrop(s,e)));if(o){for(let e=0;e<l.length;e++)l[e].surface.rect({top:0,left:0});a.parentModel().removeChilds(l),n.addChilds(l);for(let e=0;e<l.length;e++)this.ajustLocation(s,l[e].surface);this.selection.focused(r),this.selection.selectItems(l.map((e=>e.surface)))}else for(let e=0;e<l.length;e++)this.ajustLocation(s,l[e].surface);this.selection.expectClick=!o}}}class ri extends Zt{constructor(e,t,i,r,s,a){super(e,t,i,r,s),this.cursor="arrow",this._controlsFactory=a,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}helper(e){super.helper(e);const t=e,i=Wt.fromString(t.info["@SizeF"]||t.info.size||"100,23");this.recalculateSize(i),this.dragHelperContent.setContent(new Qt(0,0,this._size.width(),this._size.height()))}doStopDrag(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){const i=t,r=this._controlsFactory.createControl(D({},i.info),null),s=ot(r.getNearestParent(this.selection.dropTarget.getControlModel()));if(!s||!s.canDrop())return;const a=this._getAbsoluteSurfacePosition(e);s.underCursor().x=a.left-(s.absolutePosition&&s.absolutePosition.x()||0),s.underCursor().y=a.top-(s.absolutePosition&&s.absolutePosition.y()||0),(this.surface().isFit&&this.surface().isFit(s)||s.underCursor().isOver)&&this.addControl(r,s,this._size)}}}class si extends Zt{constructor(e){super(null,null,zt.observable(null),null,e.dragHelperContent),this.parent=()=>x.fn.constructor(e.parent),this.containment=e.containment,this._target=e.target,this._addHandler=e.addHandler}helper(e,t){this._dropTarget=null;const i=e,r=x.fn.constructor(t.target).closest(".ui-draggable"),s=new Qt(6,6,r.width(),r.height());s.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(s,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:i.imageClassName,imageTemplateName:i.imageTemplateName,text:i.text}});const a=st(this.dragHelperContent.template),n=x.fn.constructor(a).css({display:"block"});return n.prependTo(this.parent()),zt.applyBindingsToDescendants(this.dragHelperContent,n[0]),n}doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,Jt(e),this._getAbsoluteSurfacePosition(e))}drag(e,t){const i=x.fn.constructor(this.getTarget(e)),r=i.closest(this._target);this._dropTarget=null,!r.length||this._target&&!i.closest(this._target)[0]||(this._dropTarget=Jt(r.get(0)))}}const ai=DevExpress.VERSION,ni="23.2.3";function oi(){const e="eyJsaWNlbnNlS2V5IjoiZXdvZ0lDSm1iM0p0WVhRaU9pQXhMQW9nSUNKcGJuUmxjbTVoYkZWellXZGxTV1FpT2lBaVQxWXljbXQwYlhSVk1IRkhXRlp3V0VNNWIweDNaeUlLZlE9PS53WnNHemNlSVJvVUNjRW5qcFE3YkxscHpIM2liVThMYVZGczZZWXpwVDMwYjBLdzFzZ0lYckZ5MFcyNUtFZWZPRWFPTkVTc1dLbGMwRGl5V1I4amxCY1NSUWEyaEJMUXY1S1ZJU1F4aWlYVmhORmRIb2I5NFNBUDZuajNmeExKSVlDdTlydz09In0=";return e?JSON.parse(atob(e)):null}const di=DevExpress.config;var li=e.n(di);const ui={analytics:ni,devextreme:ai.version||ai};oi()&&li()(oi());class ci{constructor(e){this.getAjaxSettings=e}sendRequest(e){const t=this._prepareRequestSettings(e);return x.ajax(t)}_prepareRequestSettings(e){return D({},this.getAjaxSettings(),e)}}var pi=function(e,t,i,r){return new(i||(i=Promise))((function(s,a){function n(e){try{d(r.next(e))}catch(e){a(e)}}function o(e){try{d(r.throw(e))}catch(e){a(e)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,o)}d((r=r.apply(e,t||[])).next())}))};class hi{constructor(e){this._executeRequest=(e,t,i,r,s)=>{const a=x.Deferred();return this._fetch(e,t,i,r,s).then((e=>pi(this,void 0,void 0,(function*(){var t;const i=null===(t=e.headers.get("content-type"))||void 0===t?void 0:t.split(";")[0];if("application/json"===i)try{const t=yield e.json();e.ok?a.resolve(t,"success",Object.assign(Object.assign({},a.promise()),{responseJSON:t})):a.reject(Object.assign(Object.assign({},a.promise()),{responseJSON:t,statusText:t.statusText,status:e.status}),t.statusText)}catch(t){a.reject(Object.assign(Object.assign({},a.promise()),{statusText:t.message,status:e.status}),t.message,t)}else e.ok&&i?a.resolve({result:e,success:!0}):a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.statusText,status:e.status}),e.statusText)}))),(e=>{a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:0}),e.message)})),a.promise()},this._fetch=(e,t,i,r,s)=>{const a={method:e,cache:null==r?void 0:r.cache,headers:null==r?void 0:r.headers,body:i,signal:null==s?void 0:s.signal},n=this.getFetchSettings();return n&&n.beforeSend&&n.beforeSend(a),fetch(t,a)},this.useFetch=!0,this.getFetchSettings=e||(()=>({}))}sendRequest(e){const{method:t,preparedUrl:i,body:r,params:s}=this._prepareParams(e);return this._executeRequest(t,i,r,s,e.abortController)}_prepareParams(e){var t;const i=e.type,r=e.data;let s=e.url,a=null;const n=x.param(r);n&&("GET"===e.type?s.includes("?")?s+=`&${n}`:s+=`?${n}`:"POST"===e.type&&(a=new URLSearchParams(n)));return{method:i,preparedUrl:s,body:a,params:{cache:"default",headers:Object.assign(Object.assign({},e.headers),null===(t=this.getFetchSettings())||void 0===t?void 0:t.headers)}}}}function gi(e){return e.split(",")[0].trim()}function mi(e){const t=gi(e).split(".");return t[t.length-1]}function xi(e){let t=e.displayType&&e.displayType()||e.controlType;if(e.getControlFactory){const i=e.getControlFactory().getControlInfo(t);i.displayName&&(t=i.displayName)}return t&&Ke(mi(t))}function fi(e){if(!e)return"";const t=Xe.unwrap(e.name)||Xe.unwrap(e.displayName),i=xi(e);return t+(i?" ("+i+")":"")}function vi(e,t=!1){const i=gi(e||"").split(".").join("_");let r;return 0===i.indexOf("XR")?r=i.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===i&&(r="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(r||i.toLowerCase())}function bi(e,t,i){if(0===t.indexOf("XR"))t=t[2].toLowerCase()+t.slice(3);else{const e=t.indexOf("Band");-1!==e&&"SubBand"!==t&&(t=t.slice(0,e)+t.slice(e+4))}return yi(i||e.map((e=>Xe.unwrap(e.name))),t)}function yi(e,t,i=!0){let r=i?1:0,s=i?t+r:t;for(;e.filter((e=>e===s)).length>0;)r++,s=t+r;return s}function _i(e,t,i=[],r=["surface","reportSource"]){if(-1===i.indexOf(e)&&e&&void 0!==e){const s=[];Object.keys(e).forEach((t=>{-1===i.indexOf(e[t])&&0!==t.indexOf("_")&&-1===r.indexOf(t)&&s.push(e[t])})),t(e),i.push(e);for(let e=0;e<s.length;e++)s[e]=zt.unwrap(s[e]),"object"==typeof s[e]&&_i(s[e],t,i,r)}}function Ci(e,t,i=["controls","bands","subBands","crossBandControls","rows","cells","fields"],r=[]){if(e&&void 0!==e){r.push(e);for(let s=0,a=i.length;s<a;s++)e[i[s]]&&(t(e[i[s]],e),(e[i[s]]()||[]).forEach((e=>Ci(e,t,i,r))))}}class wi extends F{constructor(e,t,i){super(),this.target=e,this.collectionNames=i,this._handlers=[],this._setText=!1,this._visitedCollections=[],this._subscriptions=[],this.added=e=>{this._setText=!0,this._collectControls(e),this._setText=!1},this.deleted=e=>{const t=this.allControls(),i=t.indexOf(e);t.splice(i,1),Ci(e,(e=>{e().forEach((e=>{t.splice(t.indexOf(e),1)}))})),this.allControls.valueHasMutated()},this.allControls=zt.observableArray();let r=e;zt.isSubscribable(e)&&(this._disposables.push(e.subscribe((e=>{this._visitedCollections=[];for(let e=0,t=this._subscriptions.length;e<t;e++)this._subscriptions[e].dispose();this._subscriptions=[],this.allControls([]),e&&this._collectControls(e)}))),r=e.peek()),this._disposables.push(this.allControls.subscribe((e=>{const t=e.filter((e=>"added"===e.status));for(let e=0;e<t.length;e++)this._setName(t[e].value)}),null,"arrayChange")),r&&this._collectControls(r),this._handlers.push.apply(this._handlers,t)}getNameProperty(e){return e.name}getControlByName(e){let t=null;return this.allControls().some((i=>zt.unwrap(i.name)==e&&(t=i,!0))),t}_setName(e){const t=this.allControls().map((e=>zt.unwrap(this.getNameProperty(e))));if(!this.getNameProperty(e)()||t.filter((t=>t===this.getNameProperty(e)())).length>1){const i=bi(this.allControls(),this._getNamePrefix(e),t);this.getNameProperty(e)(i),this._setText&&this._setDefaultText(e)}}_setDefaultText(e){const t=e.getControlInfo&&e.getControlInfo().defaultVal&&e.getControlInfo().defaultVal["@Text"];this._setText&&e.text&&!e.text()&&null==t&&e.text(this.getNameProperty(e)())}_getNamePrefix(e){return(e.controlType||"Unknown").split(".").pop()}dispose(){super.dispose(),this._subscriptions.forEach((e=>e.dispose())),this._subscriptions.splice(0),this._visitedCollections.splice(0),this._handlers.splice(0),this.target=null,this.allControls([])}processCollection(e){}_collectControls(e){const t=[e];Ci(e,((e,i)=>{if(-1===this._visitedCollections.indexOf(e)){this._visitedCollections.push(e);let t=this._subscriptions;i instanceof F&&(t=i._disposables);let r=e.subscribe((e=>{e.forEach((e=>{null==e.moved&&(this[e.status]&&this[e.status](e.value),this._handlers.forEach((t=>{t[e.status]&&t[e.status](e.value)})))}))}),null,"arrayChange");t.push({dispose:()=>{r.dispose(),r=null,this._visitedCollections.splice(this._visitedCollections.indexOf(e),1)}})}this.processCollection(e()),t.push.apply(t,e())}),this.collectionNames),this.allControls.push.apply(this.allControls,t)}getControls(e){const t=zt.observableArray();return Ci(e,(e=>{t.push.apply(t,e())})),t}}const Ai={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:Ht.getEditor("numeric")},Ei={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:Ht.getEditor("numeric")},Ii={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:Ht.getEditor("numeric")},Si={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:Ht.getEditor("numeric")},$i={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:Ht.getEditor("numeric")},ki=[$i,Ai,Ei,Ii,Si];let Pi=function(e={}){const t={createDefaultModel:i=>(e={getModel:()=>i},t),generateProperty(t,i,r){const s=e;return s[t]=i,r&&(s["set_"+t]=e=>r(e)),this},configureProperty(t,i){return t in e&&i(e[t]),this},getViewModel:()=>e};return t};function Di(e){Pi=e}class Ti extends F{constructor(e={},t=W()){super(),this.events=new O,this._needInitializeModel()&&(this.deserialize(e,t),this.__decorators&&this.__decorators.forEach((e=>e(this))))}deferredUpdateViewModel(){return!0}assignProperty(e,t,i){w.generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){w.generateArrayProperty(this,e,t,i)}deserialize(e,t){t.deserialize(this,e)}dispose(){super.dispose(),this.events&&this.events.dispose()}_needInitializeModel(){return!0}_initializeModel(e,t){this.deserialize(e,t),this.__decorators&&this.__decorators.forEach((e=>e(this)))}}function Fi(e,t){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push((s=>{if(i.isPrototypeOf(s)){const i="function"==typeof e?e():e;s.assignProperty(r,i,t)}}))}}function Bi(e,t){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push((s=>{i.isPrototypeOf(s)&&s.assignArrayProperty(r,[...e()],t)}))}}class Oi extends Ti{onPropertyChanged(e){}}class Mi extends Ti{getViewModel(){return this.__viewModel||this.initializeViewModel(),this.__viewModel}onPropertyChanged(e){throw new Error("Method not implemented.")}initializeViewModel(){this.__viewModel=this.createViewModel()}updateViewModel(e){}setProperty(e,t){this[e]=t}getProperty(e){return this[e]}createViewModel(){return Pi().createDefaultModel(this).getViewModel()}}class Ni extends Mi{constructor(e={},t,i="multiplatform"){super(e,t),this._engineType=i,this._propertiesSubscriptions={},t||(t="multiplatform"===this._engineType?W():j()),this._engineType=t.engineType,this._initializeModel(e,t)}_needInitializeModel(){return!1}_getEngine(){return"native"===this._engineType?R:G}onPropertyChanged(e){}subscribeOnChanges(e,t){t.forEach((t=>{this._propertiesSubscriptions[t]&&this._propertiesSubscriptions[t](),this._propertiesSubscriptions[t]=this.subscribeProperty(t,(i=>{if(!e)return;const r=e[t];e[t]=i,b(this,{propertyName:t,oldValue:r,newValue:i})}))}))}_get(e,t="unwrap"){const i=this._getEngine().getPropertyValue(this,e);return"unwrap"===t?this.unwrap(i):"peek"===t?this.peek(i):i}_set(e,t){this._getEngine().setPropertyValue(this,e,t)}assignProperty(e,t,i){this._getEngine().generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){this._getEngine().generateArrayProperty(this,e,t,i)}createComputedProperty(e,t,i,r,s=!1){return this._getEngine().createComputedProperty(this,e,t,i,r,s)}subscribeProperty(e,t,i){return this._getEngine().subscribeOnPropertyChanged(this,e,t,i)}unwrap(e){return this._getEngine().unwrap(e)}peek(e){return this._getEngine().peek(e)}destroyPropertySubscription(e){this._propertiesSubscriptions[e]&&this._propertiesSubscriptions[e](),delete this._propertiesSubscriptions[e]}dispose(){super.dispose(),Object.keys(this._propertiesSubscriptions).forEach((e=>{this._propertiesSubscriptions[e]()})),this._propertiesSubscriptions={}}}var Vi=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class zi extends Ni{constructor(e=G.wrap(null),t=G.wrap(null),i=G.wrap(null),r=G.wrap(null),s=G.wrap(100)){super(),this.left=e,this.right=t,this.top=i,this.bottom=r,this.dpi=s,["left","right","top","bottom"].forEach((e=>{const t=e,i="_"+t;this.assignProperty(i,this._get(t)),this.addDisposable(this.createComputedProperty(t,{read:()=>this._get(i)||0,write:e=>{this._set(i,e)}},[L(this,[i])]))}));let a=null;this.addDisposable(this.createComputedProperty("all",{read:()=>(this._get("_isUpdating")||(a=["right","top","bottom"].every((e=>this._get(e)===this._get("left")))?this._get("left"):null),a),write:e=>{this._set("_isUpdating",!0),["left","right","top","bottom"].forEach((t=>this[t](e))),this._set("_isUpdating",!1)}},[L(this,["_isUpdating","right","left","top","bottom"])]))}getInfo(){return ki}resetValue(){["left","right","top","bottom"].forEach((e=>this._set("_"+e,null)))}isEmpty(){return["left","right","top","bottom"].map((e=>this._get("_"+e))).every((e=>null===e))}applyFromString(e){if(e){const t=(e||"").split(",");this._set("left",parseInt(t[0])||0),this._set("right",parseInt(t[1])||0),this._set("top",parseInt(t[2])||0),this._set("bottom",parseInt(t[3])||0)}return this}static from(e){return(new zi).applyFromString(e)}toString(){if(!this.isEmpty())return this._toString()}_toString(e=!1){return["left","right","top","bottom"].map((e=>parseInt(this._get(e)))).concat(this._get("dpi")).join(", ")}}function Li(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}zi.defaultVal="0, 0, 0, 0, 100",zi.unitProperties=["left","right","top","bottom"],Vi([Fi(!1)],zi.prototype,"_isUpdating",void 0);class Hi{constructor(e,t){this._rtlLayout=t,this._control=e,this.borderCss=t=>{const i=this._getBorderWidth(e,t),r=G.unwrap(e.borderDefault),s=G.unwrap(e.borderColor)||"",a=G.unwrap(e.borders)||"",n=G.unwrap(e.borderDashStyle)||"";return r?this.createBorders(n,i,s,a,r):this.createBorders(n,i,s,a)},this.backGroundCss=()=>({backgroundColor:G.unwrap(e.backColor)||"transparent"}),this.foreColorCss=()=>({color:"transparent"===(G.unwrap(e.foreColor)||"transparent")?"black":G.unwrap(e.foreColor)}),this.fontCss=()=>this.createFont(G.unwrap(e.font)||""),this.wordWrapCss=()=>this.createWordWrap(G.unwrap(e.wordWrap),G.unwrap(e.multiline)),this.paddingsCss=()=>{const t=G.unwrap(e.paddingObj||e.padding)||zi.from(zi.defaultVal);return{paddingLeft:this._getPixelValueFromUnit(t._get("left"),e)+"px",paddingTop:this._getPixelValueFromUnit(t._get("top"),e)+"px",paddingRight:this._getPixelValueFromUnit(t._get("right"),e)+"px",paddingBottom:this._getPixelValueFromUnit(t._get("bottom"),e)+"px"}},this.textAlignmentCss=()=>{const t=G.unwrap(e.textAlignment)||"";return D(this.createVerticalAlignment(t),this.createHorizontalAlignment(t))},this.stroke=()=>({stroke:"transparent"===(G.unwrap(e.foreColor)||"transparent")?"black":G.unwrap(e.foreColor)}),this.strokeWidth=()=>({strokeWidth:G.unwrap(e.lineWidth)||""}),this.strokeWidthWithWidth=()=>({strokeWidth:G.unwrap(e.width)||""}),this.strokeDashArray=()=>({strokeDasharray:this.createStrokeDashArray(G.unwrap(e.lineStyle)||"",G.unwrap(e.lineWidth)||"")}),this.strokeDashArrayWithWidth=()=>({strokeDasharray:this.createStrokeDashArray(G.unwrap(e.lineStyle)||"",G.unwrap(e.width)||"")}),this.crossBandBorder=t=>this.createBorder(G.unwrap(e.borderDashStyleCrossband)||"solid",this._getBorderWidth(e),G.unwrap(e.borderColor)||"",G.unwrap(e.borders)||"",t),this.angle=()=>this.createAngle(G.unwrap(e.angle)||0),this.cellBorder=(t,i)=>this.createControlBorder(G.unwrap(e.borderDashStyle)||"solid",this._getBorderWidth(e,i),G.unwrap(e.borderColor)||"",G.unwrap(e.borders)||"",t),this.zipCodeFontCss=t=>this.createZipCodeFont(t||G.unwrap(e.size.height)),this.zipCodeAlignment=()=>{const e="TopLeft";return D(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))}}_getPixelValueFromUnit(e,t){return t.root&&t.root.measureUnit?Ut(e,t.root.measureUnit()):e}_patchPosition(e){return Li(e,G.unwrap(this._rtlLayout))}_getBorderWidth(e,t){const i=G.unwrap(e.borderWidth);return e.borderWidth&&"number"==typeof i?Math.floor(i*(t||1)):""}createBorder(e,t,i,r,s){let a={};r=r||"All",a={stroke:"Silver",strokeWidth:2};const n=this.createStrokeDashArray(e,t);return-1===r.indexOf(s)&&-1===r.indexOf("All")||(a.stroke=i,a.strokeWidth=t,a.strokeDasharray=n),a}createControlBorder(e,t,i,r,s,a="solid 1px Silver"){const n={};return e="Dash"===e?"dashed":"Dot"===e?"dotted":"Double"===e?"double":"solid",-1!==(r=r||"").indexOf(s)||-1!==r.indexOf("All")?n["border"+this._patchPosition(s)]=e+" "+t+"px "+i:n["border"+this._patchPosition(s)]=a,n}createBorders(e,t,i,r,s=Hi.DEFAULT_BORDER){return D({},this.createControlBorder(e,t,i,r,"Left",s),this.createControlBorder(e,t,i,r,"Right",s),this.createControlBorder(e,t,i,r,"Top",s),this.createControlBorder(e,t,i,r,"Bottom",s))}createZipCodeFont(e){const t={fontFamily:"Impact"};return t.fontSize=e+"px",t}createFont(e){const t={},i=(e=e||"").split(",");if(t.fontFamily=i[0]?'"'+i[0]+'"':"",t.fontSize=i[1],i.length>2)for(let e=2;e<i.length;e++)-1!==i[e].indexOf("Bold")&&(t.fontWeight="Bold"),-1!==i[e].indexOf("Italic")&&(t.fontStyle="Italic"),-1!=i[e].indexOf("Underline")&&(t.textDecoration="Underline"),-1!=i[e].indexOf("Strikeout")&&(t.textDecoration=(t.textDecoration?t.textDecoration+" ":"")+"Line-through");return t.fontWeight||(t.fontWeight=""),t.fontStyle||(t.fontStyle=""),t.textDecoration||(t.textDecoration=""),t}createVerticalAlignment(e){const t={};return-1!==e.indexOf("Top")&&(t.verticalAlign="top"),-1!==e.indexOf("Middle")&&(t.verticalAlign="middle"),-1!==e.indexOf("Bottom")&&(t.verticalAlign="bottom"),t}createHorizontalAlignment(e){const t={};return-1!==e.indexOf("Left")&&(t.textAlign=Li("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=Li("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t}createStrokeDashArray(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":""}createWordWrap(e,t){const i={};return!1===e&&!1===t?(i["white-space"]="nowrap",i["word-wrap"]="normal"):!0===e&&!1===t?(i["word-wrap"]="break-word",i["white-space"]=""):!1===e&&!0===t?(i["word-wrap"]="normal",i["white-space"]="pre"):!0===e&&!0===t&&(i["white-space"]="pre-wrap",i["word-wrap"]="break-word"),i}createAngle(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)"}}contentSizeCss(e,t,i,r,s){const a={top:1,left:1,right:1,bottom:1,width:1,height:1};r=r||G.unwrap(this._control.borders)||"";const n=this._getBorderWidth(this._control,i);return["Left","Top","Right","Bottom"].forEach((e=>{let t=0;""==n||-1===r.indexOf(e)&&-1===r.indexOf("All")||(t+=n),s&&(t+=this._getPixelValueFromUnit(s._get(e.toLowerCase()),this._control)*(i||1)),t&&(a[this._patchPosition(e).toLowerCase()]=t)})),a.width=e-a.left-a.right,a.height=t-a.top-a.bottom,a}}Hi.DEFAULT_BORDER="none";const Ri="DevExpress.DataAccess.Expression";function ji(e){return e===Ri}const Wi={Enum:Ht.getEditor("combobox"),"System.String":Ht.getEditor("text"),"System.Guid":Ht.getEditor("guid"),"System.SByte":Ht.getEditor("sbyte"),"System.Decimal":Ht.getEditor("decimal"),"System.Int64":Ht.getEditor("int64"),"System.Int32":Ht.getEditor("int32"),"System.Int16":Ht.getEditor("int16"),"System.Single":Ht.getEditor("single"),"System.Double":Ht.getEditor("double"),"System.Byte":Ht.getEditor("byte"),"System.UInt16":Ht.getEditor("uint16"),"System.UInt32":Ht.getEditor("uint32"),"System.UInt64":Ht.getEditor("uint64"),"System.Boolean":Ht.getEditor("boolSelect"),"System.DateTime":Ht.getEditor("date"),"DevExpress.DataAccess.Expression":Ht.getEditor("expressionEditor")};function Gi(e){return Wi[e]||Ht.getEditor("text")}function Ui(e){const t=re;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture&&(t.locale(e.currentCulture),Z.locale&&Z.locale(e.currentCulture)))}function qi(e,t){e&&t&&(e.key===$e.Esc&&t.esc&&t.esc(),e.key===$e.Enter&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter())}class Ki extends F{constructor(e){let t;super(),this._showInline=zt.observable(!1),this.text=zt.observable(),this._disposables.push(e.focused.subscribe((()=>{this._showInline()&&t&&(t(this.text()),this._showInline(!1));const i=e.focused()&&e.focused().getControlModel();t=i&&(i.textEditableProperty||i.text||i.alias)}))),this._disposables.push(this.visible=zt.pureComputed({read:()=>this._showInline(),write:e=>{this._showInline(e)}})),this.show=i=>{if(this._showInline())return;this.element=i;if((e.selectedItems?1===e.selectedItems.length:!!e.focused())&&t&&!e.focused().locked){if(this.text(t()),this._showInline(!0),i){const e=x.fn.constructor(i).find("textarea")[0];e&&e.select()}}else this._showInline(!1)},this.keypressAction=e=>{qi(e.event,{esc:()=>{this._showInline(!1)},ctrlEnter:()=>{t(this.text()),this._showInline(!1)}})}}}class Yi extends F{constructor(e,t){super(),this.selectedItem=null,this.itemsFilter=(t,i)=>{const r=t.name.split(".")[0];return!e||(-1!==e.indexOf(r)||x.isNumeric(r))},this.hasItems=e=>{const i=e.name.split(".")[0];return e.isList||!!t&&-1!==t.indexOf(i)},this.getActions=e=>e.data&&e.data.innerActions||[],this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0},this.showIconsForChildItems=()=>!0}dispose(){this.selectedItem=null}canSelect(e){return!0}}class Ji extends F{constructor(){super(...arguments),this.selectedPath=zt.observable(""),this.selectedMember=zt.observable()}getClassName(e){if(e.className&&e.className())return e.className();const t=/function (.{1,})\(/.exec(e.constructor.toString());return t&&t.length>1?t[1]:""}createItem(e,t,i,r){const s=e.getInfo&&e.getInfo(),a=s&&s.filter((e=>e.propertyName===t))[0],n=zt.unwrap(i);a&&null!==n&&"object"==typeof n&&r.push({name:t,displayName:Ke(a.displayName,a.localizationId),specifics:t,innerActions:n.innerActions,isList:!!n.push})}getMemberByPath(e,t){const i=t.split(".");let r=e;return i.splice(0,1),i.forEach((e=>{r&&r[e]&&(r=zt.unwrap(r[e]))})),r}getObjectPropertiesForPath(e,t,i){const r=this.getMemberByPath(e,t),s=[];if(r)if(r.push)this.createArrayItem(r,s,i);else for(const e in r)this.createItem(r,e,r[e],s);return s}createArrayItem(e,t,i){for(let r=0;r<e.length;r++){const s=zt.unwrap(e[r]);t.push({name:i?i+"."+r.toString():r.toString(),displayName:zt.unwrap(s.displayName||s.name),specifics:this.getClassName(s),innerActions:s.innerActions,isList:!!s.push})}}}class Xi extends Ji{constructor(e,t,i,r){super(),this.path=zt.observable(""),this.getPathByMember=r,this.listPropertyNames=t||[],this.getItems=t=>{const i=x.Deferred();if(t.fullPath){const r=e.filter((e=>e.name===t.fullPath.split(".")[0]))[0],s=this.getObjectPropertiesForPath(zt.unwrap(r.model),t.fullPath,r.name).map((e=>(e.cssRule={"dxrd-context-menu-container":!!r.hasContextMenu},e)));i.resolve(s)}else i.resolve((e||[]).map((e=>({name:e.name,displayName:Ke(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:zt.unwrap(e.data),cssRule:{"dxrd-context-menu-container":e.hasContextMenu}}))));return i.promise()},this._disposables.push(this.selectedPath=zt.computed({read:()=>i()?this.path.peek()?this.getPathByMember&&this.getPathByMember(i()).substr(this.path.peek().length+1):this.getPathByMember&&this.getPathByMember(i()):null,write:t=>{if(t){const r=this.path()?this.path().split(".")[0]:t.split(".")[0],s=e.filter((e=>e.name===r))[0];s&&i(this.getMemberByPath(zt.unwrap(s.model),this.path()?[this.path(),t].join("."):t))}else i(null)}}))}createArrayItem(e,t,i){for(let r=0;r<e.length;r++){const s=zt.unwrap(e[r]);let a=!1;this.listPropertyNames.forEach((e=>{!a&&s[e]&&zt.unwrap(s[e]).length>0&&(a=!0)}));const n=this.getClassName(s);t.push({name:i?i+"."+r.toString():r.toString(),displayName:zt.unwrap(s.displayName||s.name),specifics:n,isList:a,data:s,dragData:{noDragable:!("bands"===i&&("groupheaderband"===n||"groupfooterband"===n||"detailreportband"===n||"subband"===n)||"controls"===i||"rows"===i||"cells"===i&&"xrcrosstabcell"!==n||"subBands"===i||"Styles"===i||"Formatting Rules"===i)}})}}createItem(e,t,i,r){(!(this.listPropertyNames.length>0)||this.listPropertyNames.indexOf(t)>-1)&&i&&i.push&&this.createArrayItem(zt.unwrap(i),r,t)}}class Zi extends Ji{constructor(e,t,i){super(),this.getItems=r=>{const s=x.Deferred();return r.fullPath?s.resolve(this.getObjectPropertiesForPath(zt.unwrap(e),r.fullPath)):s.resolve([{name:t||zt.unwrap(e.name),displayName:Ke(t||zt.unwrap(e.name),i),isList:!0,specifics:e.className&&e.className(),dragData:{noDragable:!0}}]),s.promise()},this._disposables.push(this.selectedPath.subscribe((t=>{this.selectedMember(zt.unwrap(this.getMemberByPath(zt.unwrap(e),t)))})))}}const Qi={A2:{width:4200,height:5940,unit:"TenthsOfAMillimeter"},A3:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A3Extra:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3ExtraTransverse:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3Rotated:{width:4200,height:2970,unit:"TenthsOfAMillimeter"},A3Transverse:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A4:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Extra:{width:2360,height:3220,unit:"TenthsOfAMillimeter"},A4Plus:{width:2100,height:3300,unit:"TenthsOfAMillimeter"},A4Rotated:{width:2970,height:2100,unit:"TenthsOfAMillimeter"},A4Small:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Transverse:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A5:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A5Extra:{width:1740,height:2350,unit:"TenthsOfAMillimeter"},A5Rotated:{width:2100,height:1480,unit:"TenthsOfAMillimeter"},A5Transverse:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A6:{width:1050,height:1480,unit:"TenthsOfAMillimeter"},A6Rotated:{width:1480,height:1050,unit:"TenthsOfAMillimeter"},APlus:{width:2270,height:3560,unit:"TenthsOfAMillimeter"},B4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4Envelope:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4JisRotated:{width:3640,height:2570,unit:"TenthsOfAMillimeter"},B5:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Envelope:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Extra:{width:2010,height:2760,unit:"TenthsOfAMillimeter"},B5JisRotated:{width:2570,height:1820,unit:"TenthsOfAMillimeter"},B5Transverse:{width:1820,height:2570,unit:"TenthsOfAMillimeter"},B6Envelope:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},B6Jis:{width:1280,height:1820,unit:"TenthsOfAMillimeter"},B6JisRotated:{width:1820,height:1280,unit:"TenthsOfAMillimeter"},BPlus:{width:3050,height:4870,unit:"TenthsOfAMillimeter"},C3Envelope:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},C4Envelope:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},C5Envelope:{width:1620,height:2290,unit:"TenthsOfAMillimeter"},C65Envelope:{width:1140,height:2290,unit:"TenthsOfAMillimeter"},C6Envelope:{width:1140,height:1620,unit:"TenthsOfAMillimeter"},CSheet:{width:1700,height:2200,unit:"HundredthsOfAnInch"},DLEnvelope:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},DSheet:{width:2200,height:3400,unit:"HundredthsOfAnInch"},ESheet:{width:3400,height:4400,unit:"HundredthsOfAnInch"},Executive:{width:725,height:1050,unit:"HundredthsOfAnInch"},Folio:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanLegalFanfold:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanStandardFanfold:{width:850,height:1200,unit:"HundredthsOfAnInch"},InviteEnvelope:{width:2200,height:2200,unit:"TenthsOfAMillimeter"},IsoB4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},ItalyEnvelope:{width:1100,height:2300,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcard:{width:2e3,height:1480,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcardRotated:{width:1480,height:2e3,unit:"TenthsOfAMillimeter"},JapanesePostcard:{width:1e3,height:1480,unit:"TenthsOfAMillimeter"},Ledger:{width:1700,height:1100,unit:"HundredthsOfAnInch"},Legal:{width:850,height:1400,unit:"HundredthsOfAnInch"},LegalExtra:{width:927.5,height:1500,unit:"HundredthsOfAnInch"},Letter:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterExtra:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterExtraTransverse:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterPlus:{width:850,height:1269,unit:"HundredthsOfAnInch"},LetterRotated:{width:1100,height:850,unit:"HundredthsOfAnInch"},LetterSmall:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterTransverse:{width:827.5,height:1100,unit:"HundredthsOfAnInch"},MonarchEnvelope:{width:387.5,height:750,unit:"HundredthsOfAnInch"},Note:{width:850,height:1100,unit:"HundredthsOfAnInch"},Number10Envelope:{width:412.5,height:950,unit:"HundredthsOfAnInch"},Number11Envelope:{width:450,height:1037.5,unit:"HundredthsOfAnInch"},Number12Envelope:{width:475,height:1100,unit:"HundredthsOfAnInch"},Number14Envelope:{width:500,height:1150,unit:"HundredthsOfAnInch"},Number9Envelope:{width:387.5,height:887.5,unit:"HundredthsOfAnInch"},PersonalEnvelope:{width:362.5,height:650,unit:"HundredthsOfAnInch"},Prc16K:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc16KRotated:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc32K:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBig:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBigRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1:{width:1020,height:1650,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10Rotated:{width:4580,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1Rotated:{width:1650,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2:{width:1020,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2Rotated:{width:1760,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3:{width:1250,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3Rotated:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4:{width:1100,height:2080,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4Rotated:{width:2080,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5Rotated:{width:2200,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6:{width:1200,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6Rotated:{width:2300,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7:{width:1600,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7Rotated:{width:2300,height:1600,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8:{width:1200,height:3090,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8Rotated:{width:3090,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9Rotated:{width:3240,height:2290,unit:"TenthsOfAMillimeter"},Quarto:{width:2150,height:2750,unit:"TenthsOfAMillimeter"},Standard10x11:{width:1e3,height:1100,unit:"HundredthsOfAnInch"},Standard10x14:{width:1e3,height:1400,unit:"HundredthsOfAnInch"},Standard11x17:{width:1100,height:1700,unit:"HundredthsOfAnInch"},Standard12x11:{width:1200,height:1100,unit:"HundredthsOfAnInch"},Standard15x11:{width:1500,height:1100,unit:"HundredthsOfAnInch"},Standard9x11:{width:900,height:1100,unit:"HundredthsOfAnInch"},Statement:{width:550,height:850,unit:"HundredthsOfAnInch"},Tabloid:{width:1100,height:1700,unit:"HundredthsOfAnInch"},TabloidExtra:{width:1169,height:1800,unit:"HundredthsOfAnInch"},USStandardFanfold:{width:1487.5,height:1100,unit:"HundredthsOfAnInch"}};function er(e,t,i){const r="HundredthsOfAnInch"===t?e:e/2.54;return void 0!==i?Gt(r,!1,i):r}function tr(e,t){const i=Qi[e];return{width:er(i.width,i.unit,t),height:er(i.height,i.unit,t)}}function ir(e){return D({handles:Xe.isSubscribable(e.handles)?e.handles:e.handles||"all",ghost:!1,start:()=>{},stop:()=>{},resize:()=>{}},e)}function rr(e,t){const i=new sr(e,t).initialize();return()=>{i.dispose()}}class sr extends F{constructor(e,t){super(),this._element=e,this._options=t,this.handleClass="ui-resizable-handle",this.handleClassSelector=`.${this.handleClass}`,this.resizableElementClass="ui-resizable",this._defaultMinSize=1,this._bodyEvents={move:null,up:null},this._resizeDirection=null,this._resizeHandles=["w","e","s","n","se","sw","ne","nw"]}_initResize(e){this._startResizeMousePosition={left:e.pageX,top:e.pageY},this._resizeDirection=ar(e.target.classList),this._addClassToElement("ui-resizable-resizing");const t=this._element.getBoundingClientRect(),i=x.fn.constructor(this._element);this._element.dataset.originalLeftPosition=i.css("left"),this._element.dataset.originalTopPosition=i.css("top"),this._element.dataset.originalWidth=Kt(t.width),this._element.dataset.originalHeight=Kt(t.height),this._element.dataset.originalLeftMousePosition=Kt(e.pageX),this._element.dataset.originalTopMousePosition=Kt(e.pageY),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)}_mouseMove(e){if(1===e.which){const t=this._getBoundsDiff(e);this._options.resize(e,this._element,t)}}_mouseUp(e){this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._options.stop(),sr.inProcess=!1,this._removeClassFromElement("ui-resizable-resizing"),this._startResizeMousePosition=null,this._resizeDirection=null}_mouseDown(e){sr.inProcess=!0,this._initResize(e),this._options.start(e,this._element)}_initResizeHandle(e,t){const i=document.createElement("div");i.classList.add(this.handleClass),i.style.zIndex="95",i.classList.add(e),i.addEventListener("mousedown",t),this._element.append(i)}_addClassToElement(e){this._element.classList.add(e)}_removeClassFromElement(e){this._element.classList.remove(e)}_getBoundsDiff(e){let t=0,i=0,r=0,s=0;const a=Yt(this._element.dataset.originalHeight),n=Yt(this._element.dataset.originalWidth),o=this._resizeDirection&&/sw|se|nw|ne|s|n/.test(this._resizeDirection),d=this._resizeDirection&&/sw|se|nw|ne|e|w/.test(this._resizeDirection);o&&(t=>{const r=this._element.style.minHeight?Yt(this._element.style.minHeight):this._defaultMinSize,n=(this._startResizeMousePosition.top-e.pageY)*(t?1:-1);if(r>a+n){const e=a-r;return t&&(s=e),void(i=-e)}i=n,t&&(s=-i)})(/nw|ne|n/.test(this._resizeDirection)),d&&(i=>{const s=this._element.style.minWidth?Yt(this._element.style.minWidth):this._defaultMinSize,a=(this._startResizeMousePosition.left-e.pageX)*(i?1:-1);if(s>n+a){const e=n-s;return i&&(r=e),void(t=-e)}t=a,i&&(r=-t)})(/sw|nw|w/.test(this._resizeDirection));return{width:t,height:i,left:r,top:s}}initialize(){let e=e=>this._mouseDown(e),t=t=>{if(!t)return;this._addClassToElement(this.resizableElementClass),x.fn.constructor(this._element).children(this.handleClassSelector).remove();("all"===t?this._resizeHandles:t.split(",")).forEach((t=>{this._initResizeHandle(`ui-resizable-${t}`,e)}))};if(t(Xe.unwrap(this._options.handles)),Xe.isSubscribable(this._options.handles)){const i=this._options.handles.subscribe((i=>{this._removeClassFromElement(this.resizableElementClass);this._element.querySelectorAll(this.handleClassSelector).forEach((t=>t.removeEventListener("mousedown",e))),x.fn.constructor(this._element).children(this.handleClassSelector).remove(),t(i)}));this._disposables.push(i)}return this._disposables.push({dispose:()=>{t=null;this._element.querySelectorAll(this.handleClass).forEach((t=>t.removeEventListener("mousedown",e))),this._element.removeEventListener("mousedown",e),e=null,this._element=null,this._options=null}}),this}}function ar(e){for(let t=0;t<e.length;t++)if("ui-resizable-handle"!==e[t]&&0===e[t].indexOf("ui-resizable-"))return e[t].slice(13,e[t].length)}sr.inProcess=!1;class nr extends F{constructor(e,t){super(),this._element=e,this._options=t,this._bodyEvents={move:null,up:null},this._windowEvents={up:null},this._originalDragStartCoordinates=null,this._originalElementPosition=null,this._dragInitialized=!1,this._scrollableContainer=null,this._draggableElementClass="ui-draggable",this._minDragDistance=1;let i=e=>this._canDrag()&&this._mouseDown(e);this._addClassToElement(this._draggableElementClass),this._element.addEventListener("mousedown",i),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousedown",i),i=null,this._element=null,this._options=null}})}_initScrollContainer(){const e=this._options.containment;e&&e[0].classList.contains("dxrd-ghost-container")&&(this._scrollableContainer=e.find(".dx-scrollable-container")[0])}_initDrag(e){this._startRect={left:e.pageX,top:e.pageY},this._bodyEvents.move=e=>this._canDrag()&&this._mouseMove(e),this._windowEvents.up=e=>this._canDrag()&&this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),window.addEventListener("mouseup",this._windowEvents.up),this._initScrollContainer()}_addClassToElement(e){this._element.classList.add(e)}_calculateElementPosition(e,t){var i,r;let s=this._originalElementPosition.left-e-((null===(i=this._scrollableContainer)||void 0===i?void 0:i.scrollLeft)||0),a=this._originalElementPosition.top-t-((null===(r=this._scrollableContainer)||void 0===r?void 0:r.scrollTop)||0);const n=this._options.boundary;return n&&(s=s<n.left?n.left:s>n.right?n.right:s,a=a<n.top?n.top:a>n.bottom?n.bottom:a),{left:s,top:a}}_mouseMove(e){if(sr.inProcess||!this._startRect)return;if(!(1===e.which)||!this.shouldStartDrag(e))return;this._dragInitialized||(this._dragInitialized=!0,this._options.helper&&(this._ghostContainer=this._options.helper(e,this._element)),this._ghostContainer&&(this._element.ghostContainer=this._ghostContainer[0]),this._originalDragStartCoordinates={left:this._element.dataset.startDragWithOffset?e.pageX:this._startRect.left,top:this._element.dataset.startDragWithOffset?e.pageY:this._startRect.top},this._originalElementPosition={left:this._ghostContainer?Yt(this._ghostContainer[0].dataset.startLeftPosition):e.pageX,top:this._ghostContainer?Yt(this._ghostContainer[0].dataset.startTopPosition):e.pageY},this._element.dataset.leftPosition=Kt(this._originalElementPosition.left),this._element.dataset.topPosition=Kt(this._originalElementPosition.top),this._options.start(e,this._element));const t=this._originalDragStartCoordinates.left-e.pageX,i=this._originalDragStartCoordinates.top-e.pageY,r=this._calculateElementPosition(t,i);this._element.dataset.leftPosition=Kt(r.left),this._element.dataset.topPosition=Kt(r.top),this._ghostContainer&&(this._ghostContainer[0].style.left=this._element.dataset.leftPosition,this._ghostContainer[0].style.top=this._element.dataset.topPosition),this._options.drag(e,this._element)}shouldStartDrag(e){return Math.abs(this._startRect.left-e.pageX)>=this._minDragDistance||Math.abs(this._startRect.top-e.pageY)>=this._minDragDistance}_mouseUp(e){sr.inProcess||(nr.inProcess=!1,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._windowEvents.up&&window.removeEventListener("mouseup",this._windowEvents.up),this._dragInitialized&&(this._dragInitialized=!1,this._ghostContainer&&this._ghostContainer.remove(),this._ghostContainer=null,this._scrollableContainer=null,this._options.stop(e,this._element)),this._startRect=null)}_mouseDown(e){e.stopPropagation(),sr.inProcess||(nr.inProcess=!0,this._initDrag(e))}_canDrag(){var e;return null===(e=this._options.disabled&&!this._options.disabled())||void 0===e||e}}nr.inProcess=!1;const or=DevExpress.ui.dxPopup;var dr=e.n(or);class lr extends F{constructor(e,t){super(),this._element=e,this._options=t,this.isSelected=!1,this.bounds=e.getBoundingClientRect(),this._disposables.push({dispose:()=>{this._element=null,this._options=null,this.bounds=null}})}updateSelection(e,t){const i=(r=this.bounds,!((s=e).left>r.right||s.right<r.left||s.top>r.bottom||s.bottom<r.top));var r,s;i!=this.isSelected&&(i?this._options.selecting(t,this._element):this._options.unselecting(t,this._element),this.isSelected=i)}}class ur extends F{constructor(e,t){super(),this._element=e,this._options=t,this._elements=[],this._bodyEvents={move:null,up:null},this._minSelectDistance=2;let i=e=>this._mouseMove(e),r=e=>this._mouseUp(e),s=e=>this._mouseDown(e);this._element.addEventListener("mousemove",i),this._element.addEventListener("mouseup",r),this._element.addEventListener("mousedown",s),this._$window=x.fn.constructor(window),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousemove",i),this._element.removeEventListener("mouseup",r),this._element.removeEventListener("mousedown",s),i=null,r=null,s=null,this._$window=null,this._element=null,this._options=null}})}_clearElements(){this._elements.forEach((e=>e.dispose())),this._elements=[]}_collectElements(){this._clearElements();const e=document.getElementsByClassName(this._options.filter.substr(1));for(let t=0;t<e.length;t++)this._elements.push(new lr(e[t],this._options))}_updateSelectionContent(e){this._startRect.left>=e.pageX?(this._$selectionContent.css("left",e.pageX),this._$selectionContent.css("right",this._startRect.right)):(this._$selectionContent.css("left",this._startRect.left),this._$selectionContent.css("right",this._$window.width()-e.pageX)),this._startRect.top>=e.pageY?(this._$selectionContent.css("top",e.pageY),this._$selectionContent.css("bottom",this._startRect.bottom)):(this._$selectionContent.css("top",this._startRect.top),this._$selectionContent.css("bottom",this._$window.height()-e.pageY));const t=this._$selectionContent[0].getBoundingClientRect();for(let i=0;i<this._elements.length;i++)this._elements[i].updateSelection(t,e)}_initStartRect(e){this._startRect={left:e.pageX,top:e.pageY,right:this._$window.width()-e.pageX,bottom:this._$window.height()-e.pageY}}_mouseMove(e){setTimeout((()=>{if(Zt.started()||ur.disabled||sr.inProcess||!this._startRect)return;1===e.which&&(this._$selectionContent?this._updateSelectionContent(e):this.shouldStartSelect(e)&&(this._options.start(e),ur.inProcess=!0,this._$selectionContent=x.fn.constructor("<div />").appendTo(document.body),this._$selectionContent.addClass("dxrd-selection-content ui-selectable-helper"),dr().prototype._zIndexInitValue&&this._$selectionContent.css("z-index",dr().prototype._zIndexInitValue()+100),this._updateSelectionContent(e),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)))}),1)}shouldStartSelect(e){return Math.abs(this._startRect.left-e.pageX)>=this._minSelectDistance||Math.abs(this._startRect.top-e.pageY)>=this._minSelectDistance}_mouseUp(e){ur.disabled||sr.inProcess||nr.inProcess||(this._options.stop(),this._$selectionContent&&this._$selectionContent.remove(),this._$selectionContent=null,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._startRect=null,this._clearElements(),ur.inProcess=!1)}_mouseDown(e){ur.disabled||sr.inProcess||nr.inProcess||(this._initStartRect(e),this._collectElements())}}function cr(e){return{left:Yt(e.dataset.originalLeftPosition),top:Yt(e.dataset.originalTopPosition)}}function pr(e){return{width:Yt(e.dataset.originalWidth),height:Yt(e.dataset.originalHeight)}}function hr(e,t,i){return{left:e.left+i.left,top:e.top+i.top,width:t.width+i.width,height:t.height+i.height}}ur.inProcess=!1,ur.disabled=!1,zt.bindingHandlers.resizable={init:function(e,t,i,r,s){const a=t(),n=x.fn.constructor(e),o=n.closest(".dx-designer"),d="n",l="e",u="s",c="w";let p=null,h=null,g=[],m=null;const f=D(ir(t()),{stop:function(e){h.each(((e,t)=>{const i=zt.contextFor(t),r=i.$data,s=i.$root.surface(),a=x.fn.constructor(t),n=r.rect();let o=ut(a,0,s);o={top:-1!==p.indexOf(d)?o.top:n.top,left:-1!==p.indexOf(c)?o.left:n.left,width:-1!==p.indexOf(l)||-1!==p.indexOf(c)?o.width:n.width,height:-1!==p.indexOf(u)||-1!==p.indexOf(d)?o.height:n.height},g.push((()=>{r.canSetRect&&!r.canSetRect(o)?(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&(a.css("top",t.dataset.originalTopPosition),a.css("left",t.dataset.originalLeftPosition)),t.dataset.originalWidth&&t.dataset.originalHeight&&(a.css("width",t.dataset.originalWidth),a.css("height",t.dataset.originalHeight))):(r.rect(o),JSON.stringify(n)===JSON.stringify(o)&&a.css({left:n.left,top:n.top,width:n.width,height:n.height})),t.dataset.originalLeftPosition=void 0,t.dataset.originalTopPosition=void 0,t.dataset.originalWidth=void 0,t.dataset.originalHeight=void 0}))})),g.forEach((e=>e())),g=[],p=null,a.stopped(),a.started=!1,a.snapHelper&&a.snapHelper.deactivateSnapLines()},start:e=>{p=ar(e.target.classList),a.started=!0,a.starting(e),h=a.$selectedNodes||x.fn.constructor(".dxrd-viewport .dxrd-selected").filter(":visible"),h.each(((e,t)=>{const i=x.fn.constructor(t),r=t.getBoundingClientRect();t.dataset.originalLeftPosition=i.css("left"),t.dataset.originalTopPosition=i.css("top"),t.dataset.originalWidth=Kt(r.width),t.dataset.originalHeight=Kt(r.height)}));const t=n.offset(),i=o.find(".dxrd-ghost-container").offset();m=i?{top:t.top-i.top,left:t.left-i.left}:t,a.snapHelper&&a.snapHelper.updateSnapLines(r)},resize:(e,t,i)=>{e.stopPropagation();const r=i.width,s=i.height,o=i.left,d=i.top;if(a.forceResize)return void a.forceResize({size:new Wt(t.offsetWidth,t.offsetHeight),delta:{dx:o,dy:d,dw:r,dh:s},element:t});if(!(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&t.dataset.originalWidth&&t.dataset.originalHeight))return;const l=pr(t),u=cr(t);if(e.altKey)a.snapHelper&&a.snapHelper.deactivateSnapLines();else if(a.snapHelper&&1===h.length){const e=l.width+r,t=l.height+s,h={originalSize:{width:l.width,height:l.height},size:{width:e,height:t}},g=dt(a.snapHelper,m,h,{x:o,y:d,width:r,height:s});a.snapHelper.activateSnapLines(g);const x=hr(u,l,i),f={left:u.left+g.left-m.left,top:u.top+g.top-m.top,width:g.right-g.left,height:g.bottom-g.top};if(p=x,(c=f).left!==p.left||c.top!==p.top||c.width!==p.width||c.height!==p.height)return void n.css(f)}var c,p;h.each((function(t,r){if(r===e.target)return;const s=hr(cr(r),pr(r),i);r.style.left=Kt(s.left),r.style.top=Kt(s.top),r.style.width=Kt(s.width),r.style.height=Kt(s.height)}))}},zt.unwrap(a));a.disabled;const v=rr(e,f);J(e,(()=>{v(),e=null}))},update:function(e,t,i,r,s){const a=zt.unwrap(t().minimumWidth);a&&(e.style.minWidth=Kt(a));const n=zt.unwrap(t().minimumHeight);n&&(e.style.minHeight=Kt(n));const o=e=>Array.from(e.children).filter((function(e){return e.classList.contains("ui-resizable-handle")})),d=zt.unwrap(t().maximumWidth);d&&(e.style.maxWidth=Kt(d));const l=t().handleClassName;l&&o(e).forEach((e=>e.classList.add(l)));const u=!(!zt.unwrap(t().disabled)&&!zt.unwrap(r.locked));o(e).forEach((e=>e.style.display=u?"none":"block"))}},zt.bindingHandlers.resizableReportMargins={init:function(e,t){t()}};const gr=DevExpress.ui.dxScrollView;var mr=e.n(gr);class xr extends F{constructor(e,t=10){super(),this._container=e,this._updateTime=t,this._currentOffsetY=0,this._currentOffsetX=0,this._scroll=null,this._updateInterval=null,this._scroll=mr().getInstance(this._container)}dispose(){this._scroll=null,this._container=null,this._updateInterval&&clearTimeout(this._updateInterval),this._updateInterval=null}_startUpdateScrollPosition(){this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=setInterval((()=>this._scroll.scrollTo({top:this._scroll.scrollTop()+this._currentOffsetY,left:this._scroll.scrollLeft()+this._currentOffsetX})),this._updateTime)}_calculateOffset(e,t,i){const r="y"===i?"height":"width";return e[i]>t[i]+t[r]-50?5:e[i]<t[i]+50?-5:0}getScrollOffset(){return this._scroll.scrollOffset()}processOffset(e){const t=this._container.getBoundingClientRect();this._currentOffsetY=this._calculateOffset(e,t,"y"),this._currentOffsetX=this._calculateOffset(e,t,"x"),this._currentOffsetX||this._currentOffsetY?this._updateInterval||this._startUpdateScrollPosition():(this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=null)}}const fr=DevExpress.data.DataSource;var vr=e.n(fr);const br=DevExpress.data.ArrayStore;var yr=e.n(br);const _r=DevExpress.data.CustomStore;var Cr=e.n(_r);class wr extends(Cr()){static _sortItems(e,t){return e.sort(((e,i)=>{let r=Xe.unwrap(e[t]),s=Xe.unwrap(i[t]);if(r&&s){const e=r-s;return isNaN(e)?(r=r.toLowerCase?r.toLowerCase():r,s=s.toLowerCase?s.toLowerCase():s,r<s?-1:r>s?1:0):e}}))}static _createOptions(e,t){return e=this._sortItems(e,t),{load:t=>{let i=[].concat(e);return t.take&&(i=i.splice(t.skip,t.take)),x.Deferred().resolve(i).promise()},byKey:t=>{if(e.some((e=>e===t)))return t}}}constructor(e,t="name"){super(wr._createOptions(e,t))}}class Ar extends(yr()){constructor(e,t="name"){e instanceof Array&&wr._sortItems(e,t),super(e)}}class Er extends F{constructor(e){super(),this._filter=zt.observable(null);let t=null;this._disposables.push(this.dataSource=zt.computed((()=>{t&&t.dispose();const i=this._filter()?e().filter(this._filter()):e();return t=new(vr())({store:new wr(i),paginate:!0,pageSize:100}),t}))),this._disposables.push(this.visible=zt.computed((()=>e().length>0)))}getFilter(){return this._filter()}setFilter(e){this._filter(e)}resetFilter(){this._filter(null)}}class Ir{constructor(e){this.disabled=zt.observable(!1),this.info=e}get type(){return gi(this.info["@ControlType"])}get imageClassName(){return[vi(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")}get imageTemplateName(){var e;const t=vi(this.type,!0);return null!==(e=it.getExistingTemplate(t))&&void 0!==e?e:it.getExistingTemplate("dxrd-svg-toolbox-unknown")}get index(){return this.info.index}get displayName(){return this.info.displayName||this.type}}function Sr(e,t=""){const i=[];return Object.keys(e).forEach((r=>{if(!e[r].nonToolboxItem){const s={"@ControlType":r,displayName:e[r].displayName,index:e[r].toolboxIndex||0,canDrop:e[r].canDrop,group:e[r].group||t};e[r].size&&(s.size=e[r].size),e[r].defaultVal&&Object.keys(e[r].defaultVal).forEach((t=>{s[t]=e[r].defaultVal[t]})),i.push(new Ir(s))}})),i.sort(((e,t)=>e.index-t.index))}function $r(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}const kr=["Name","Version"];function Pr(e){if(!e)return!1;const 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)&&kr.every((t=>e!=t))}function Dr(e){return e.replace(/[\W_]+/g,"_")}const Tr=[{type:"custom",validationCallback:e=>Pr(e.value),get message(){return Ke("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}}];function Fr(e){return!e.isModelReady||e.isModelReady()}function Br(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}class Or{constructor(){this._queue=[],this._queueObj={},this._done=[],this._doneOnce=[]}clear(){this._queue=[],this._queueObj={}}done(e){this._done.push(e)}doneOnce(e){this._doneOnce.push(e)}_executeNext(e=this._queue[0]){for(delete this._queueObj[e];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(let e=0;e<this._done.length;e++)this._done[e]();do{const e=this._doneOnce.pop();e&&e()}while(this._doneOnce.length)}}execute(e,t=0){const i=Br(),r=x.Deferred();return t?(this._queue.push(i),this._queueObj[i]=()=>{if(!this._queueObj[i])return this._executeNext(i);setTimeout((()=>{this._queueObj[i]&&r.resolve(e()),this._executeNext(i)}),t)},1===this._queue.length&&this._queueObj[this._queue[0]]()):r.resolve(e()),{dispose:()=>(delete this._queueObj[i],r.reject()),force:()=>(delete this._queueObj[i],r.resolve(e())),doNext:()=>this._queue.splice(0,0,i),$promise:r.promise()}}}const Mr=new Or;class Nr{constructor(e,t=[]){if(this.pathParts=t,this.path="",this.fullPath=e,e)if(-1!==e.indexOf(".")){const t=e.split(".");this.id=this.ref=t[0],t.splice(0,1),this.path=t.join(".")}else this.id=this.ref=e}}const Vr=X(!0),zr={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:()=>{},displayText:()=>te("Edit","AnalyticsCoreStringId.Group_Edit")};function Lr(e){var t,i;const r=this.getViewModel();r.nodeImageClass=this._getNodeImageClassName(),r.hasItems=this.hasItems,r.visible=this._isVisible(),r.imageClassName=this.imageClassName,r.imageTemplateName=this.imageTemplateName,r.name=this.name,r.path=this.path,r.text=this.text,r.templateName=this.templateName,r.actionsTemplate=this.actionsTemplate,r.hasContent=this.hasContent,r.collapsed=this.collapsed,r.showIcon=this.showIcon,r.isHovered=this.isHovered,r.isSelected=this.isSelected,r.isMultiSelected=this.isMultiSelected,"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName||(r.cssRules=this._getCssRules()),"actions"===e.propertyName&&(r.actions=this.actions),"items"!==e.propertyName&&"maxItemsCount"!==e.propertyName||("added"in e&&!this.visibleItems?(null===(t=e.added)||void 0===t||t.forEach((e=>r.items.splice(e.index,0,e.item.getViewModel()))),null===(i=e.removed)||void 0===i||i.forEach((e=>r.items.splice(e.index,1)))):r.items=this._getChildViewModels()),"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName&&"collapsed"!==e.propertyName&&"hasItems"!==e.propertyName&&"level"!==e.propertyName&&"data"!==e.propertyName||(r.attr=this._getAttributes()),"data"===e.propertyName&&(r.data=this.data,r.isDraggable=this._isDraggable())}function Hr(e){return Pi(e).generateProperty("events",{mouseenter:()=>this.isHovered=!0,mouseleave:()=>this.isHovered=!1,dblclick:()=>this.treeListController.dblClickHandler?this.treeListController.dblClickHandler(this):this.toggleCollapsed()}).generateProperty("toggleCollapsed",(()=>this.toggleCollapsed())).generateProperty("reverseCollapsed",(()=>this._reverseCollapsed())).generateProperty("setCollapsedChangedEvent",(e=>(this._collapsedChangedEvent=e,()=>this._collapsedChangedEvent=void 0))).generateProperty("toggleSelected",((e,t)=>this.toggleSelected(e,t))).generateProperty("getSelectedItems",(()=>this._getSelectedItems())).generateProperty("padding",this._getPadding(this.level)).generateProperty("hasItems",this.hasItems).generateProperty("cssRules",this._getCssRules()).generateProperty("nodeImageClass",this._getNodeImageClassName()).generateProperty("attr",this._getAttributes()).generateProperty("templates",this.templates).generateProperty("isDraggable",this._isDraggable()).generateProperty("dragDropHandler",this.dragDropHandler).generateProperty("parent",this.parentViewModel).generateProperty("items",this._getChildViewModels()).generateProperty("data",this.data).generateProperty("visible",this._isVisible()).generateProperty("collapsed",this.collapsed).generateProperty("searchModel",Pi().generateProperty("searchEnabled",this.treeListController.searchEnabled).generateProperty("textToSearch",this.treeListController.textToSearch).generateProperty("searchOptions",this.treeListController.searchOptions).getViewModel()).generateProperty("name",this.name).generateProperty("path",this.path).generateProperty("text",this.text).generateProperty("templateName",this.templateName).generateProperty("imageClassName",this.imageClassName).generateProperty("imageTemplateName",this.imageTemplateName).generateProperty("actions",this.actions).generateProperty("actionsTemplate",this.actionsTemplate).generateProperty("hasContent",this.hasContent).generateProperty("showIcon",this.showIcon).generateProperty("isHovered",this.isHovered).generateProperty("isSelected",this.isSelected).generateProperty("isMultiSelected",this.isMultiSelected).generateProperty("treeListEditAction",zr).generateProperty("resolver",this.resolver).getViewModel()}function Rr(e){return Pi(e).generateProperty("templateName","dx-treelist-item-ellipsis").generateProperty("collapsed",!0).generateProperty("items",[]).generateProperty("padding",this.padding).generateProperty("text",te("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")).generateProperty("events",{click:()=>this.renderNext()}).getViewModel()}var jr=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};const Wr=X(5);class Gr{constructor(){this._itemStore={}}storeItem(e){const t=Br();return this._itemStore[t]=e,t}getItem(e){return this._itemStore[e]}removeItem(e){delete this._itemStore[e]}}class Ur extends Ti{onPropertyChanged(e){}createRootItem(e,t,i,r){return new Xr(e,t,i,r)}createItem(e,t,i,r,s){return new Jr(e,t,i,r,s)}}let qr=Ur;function Kr(e){qr=e}class Yr extends Mi{constructor(e,t,i,r){super(),this.setMaxItemsCount=e,this.getMaxItemsCount=t,this.padding=i,this.pageSize=r}createViewModel(){return Rr.call(this,super.createViewModel())}renderNext(){this.setMaxItemsCount(this.getMaxItemsCount()+this.pageSize)}}class Jr extends Mi{constructor(e,t=[],i=(()=>{}),r=!1,s=new Or){var a;if(super(),this.resolver=s,this._rtl=!1,this._pageSize=-1,this._walkCallback=null,this._dataSubscriptionsDispose=[],this._subscriptions=[],this._collapsedChangedEvent=null,this._getIconName=()=>(Xe.unwrap(this.data&&this.data.icon||this.data&&this.data.specifics)||"default").split(".").join("_").toLowerCase(),this._nodeIsLocked=!1,this.templates={accordionItem:"dx-treelist-accordion-item",headerItem:"dx-treelist-header-item",headerItemContent:"dx-treelist-header-item-caption-content",itemTextContent:"dx-treelist-item-text-content",actionsContainer:"dx-treelist-item-actions-container"},this.itemsProvider=e.itemsProvider,this.maxItemsCount=e.pageSize||-1,this._pageSize=this.maxItemsCount,this.store=e.store,this.id=null===(a=this.store)||void 0===a?void 0:a.storeItem(this),Xe.isSubscribable(t)){const e=t.subscribe((e=>{this._path=e,this._updatePath()}));this._pathSubscriptionDispose=()=>{e.dispose(),Xe.isComputed(t)&&t.dispose()}}this._path=Xe.unwrap(t),this._updatePath(),this._rtl=r,"loadChildItemsForCollapsedNodes"in e&&(this._loadChildItemsForCollapsedNodes=e.loadChildItemsForCollapsedNodes),this._factory=e.factory||new qr,this._treeListController=e.treeListController,this._templateName=e.templateName,this._onItemsVisibilityChanged=i,this.dragDropHandler=e.treeListController.dragDropHandler,this._onItemsChangedCallback=e.onItemsChanged,this.getItems=()=>this.items.length>0?x.Deferred().resolve(this.items).promise():this._loadItems(e),this._setSelectedPath=t=>{e.setSelectedPath?e.setSelectedPath(t):Xe.isSubscribable(e.selectedPath)&&e.selectedPath(t)},this._subscribeOnDataProperty=e.subscribeOnDataPropertyChanged||((e,t,i)=>(i(),()=>{})),this.toggleCollapsed=()=>{this.hasItems&&(this._reverseCollapsed(),this.collapsed||0!==this.items.length?this._getLoadChildItemsForCollapsedNodes()&&(this.items.forEach((t=>{t._treeListController.hasItems(t.data)&&0===t.items.length&&t._loadItems(e)})),i()):this._loadItems(e,this._getLoadChildItemsForCollapsedNodes()).always((()=>{i()})))},this.toggleSelected=(e,t)=>{t&&(t.shiftKey||t.ctrlKey||t.metaKey)&&this._getSelectedItems().length>0&&this.treeListController.canMultiSelect&&this.treeListController.canMultiSelect(this)?(this._setSelectedPath(""),this.treeListController.multiSelect(this,t.shiftKey,t.ctrlKey||t.metaKey)):this.treeListController.canSelect(this)&&(this.treeListController.clickHandler&&this.treeListController.clickHandler(this),this._setSelectedPath(this.path))},this._updateVisualProperties()}_equal(e,t){const i=["innerActions","noDragable","dragData"];return t===e||Object.keys(t).filter((e=>-1===i.indexOf(e))).every((i=>t[i]===e[i]))}_getImageClassName(){return"dx-image-fieldlist-"+this._getIconName()+(this._showIcon?"":" dx-treelist-image-empty")}_getImageTemplateName(){const e="dxrd-svg-fieldlist-"+this._getIconName();return it.getExistingTemplate(e)}_getNodeImageClassName(){let e="dx-collapsing-image";return this.hasItems?(this.collapsed||(e+=" dx-image-expanded"),e):"dx-image-leaf-node"}_hasItems(){if(!this.data)return!0;const e=this._treeListController.hasItems(this.data);return null!=this._loadChildItemsForCollapsedNodes?this.isLoaded?e&&this.visibleItemsCount>0:e:Vr()?e&&this.visibleItemsCount>0:e}_getAttributes(){return{"aria-expanded":this.hasItems&&(this.collapsed?"false":"true"),"aria-selected":this.isSelected||this.isMultiSelected?"true":"false","aria-level":this.level+1,"aria-label":this.text,"aria-setsize":this.parent?this.parent.items.length:0,"aria-posinset":this.parent?this.parent.items.indexOf(this)+1:0,id:this.id}}_getCssRules(){var e;let t={"dx-treelist-item-selected dxd-state-selected dxrd-fieldslist-context-menu-container":this.isSelected||this.isMultiSelected};return(null===(e=this.data)||void 0===e?void 0:e.cssRule)&&(t=Object.assign(Object.assign({},t),this.data.cssRule)),t}_isDraggable(){return this.data&&this.data.dragData?!this.data.dragData.noDragable:!!this._treeListController.isDraggable&&this._treeListController.isDraggable(this)}_isVisible(){return!this.isFiltred&&this.visible}_createItemsObj(e){const t={};for(let i=0;i<e.length;i++)t[e[i].name]={item:e[i],index:i};return t}_loadItems(e,t=!1){const i=x.Deferred();this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._disposables.reverse().forEach((e=>e.dispose&&e.dispose())),this._disposables.splice(0);const r=r=>{r&&r.done((r=>{if(this.isDisposing)return void i.reject();this.isLoaded=!0;const s=r||[],a=this.items;let n=this._createItemsObj(s),o=!1,d=0;const l=[].concat.apply([],a);for(let e=0;e<l.length;e++)n[l[e].data.name]||(l[e].dispose(),a.splice(e-d,1),d++,o=!0);this.visibleItemsCount=this.visibleItemsCount-d;let u=this._createItemsObj(a),c=!1;const p=!this._treeListController.showIconsForChildItems||this._treeListController.showIconsForChildItems(this),h=this._treeListController.showIconsForChildItems&&this._treeListController.showIconsForChildItems(this);let g=this.visibleItemsCount;if(s.forEach(((t,i)=>{const r=u[t.name];if(r)this._equal(t,r.item.data)?r.item._updateVisualProperties():r.item.data=t,c||(c=r.index!==i);else{o=!0;const r=this._factory.createItem(e,this.pathParts,this._onItemsVisibilityChanged,this._rtl,this.resolver);r._showIcon=p,r.data=t,r.level=this.level+1,r.parent=this,r.parentViewModel=this.getViewModel(),r.visible&&(g+=1),r.imageTemplateName=r._getImageTemplateName(),r.imageClassName=r._getImageClassName(),r.showIcon=h,a.splice(i,0,r),u[t.name]={item:r,index:i},this._walkCallback&&this._walkCallback(r)}})),this.visibleItemsCount=g,this._walkCallback=null,c){const e=a.reduce(((e,t,i)=>{const r=Math.abs(i-(n[t.data.name]?n[t.data.name].index:-1));return!e||e.max<r?{max:r,index:i}:e}),null).index,t=a[e];e!==(n[t.data.name]?n[t.data.name].index:-1)&&(a.splice(e,1),a.splice(n[t.data.name]?n[t.data.name].index:-1,0,t),o=!0)}if(n=null,u=null,o&&this._onItemsChanged(),!this.collapsed||t){let i=e=>e._treeListController.hasItems(e.data);void 0!==this._loadChildItemsForCollapsedNodes&&(i=e=>(!e.collapsed||t)&&e._treeListController.hasItems(e.data)),this.items.forEach((t=>{i(t)&&t._loadItems(e)}))}i.resolve(this.items);const m=e.getSelectedPath?e.getSelectedPath():Xe.isSubscribable(e.selectedPath)&&e.selectedPath.peek();if(m){const e=this.items.filter((e=>0===m.indexOf(e.path)))[0];e&&this._selectItem(e.name+m.substring(e.path.length))}}))},s=()=>new Nr(this.path,this.pathParts);if(this.itemsProvider.subscribeOnItemsChanged)this._itemsSubscriptionDispose=this.itemsProvider.subscribeOnItemsChanged(this,r);else{r(this.itemsProvider.getItems(s()))}return i.promise()}_onItemsChanged(){this._onItemsChangedCallback&&this._onItemsChangedCallback(this.items)}_getTemplateName(){return this._templateName||this.data&&this.data.templateName||"dx-treelist-item"}_selectItem(e){if(!this.hasItems)return;const t=()=>{this._find(e),this.collapsed&&this.toggleCollapsed()};0===this.items.length?this.getItems().done((e=>{t()})):t()}_find(e){const t=e&&this.items.filter((t=>e===t.name||0===e.indexOf(t.name)&&"."===e[t.name.length]))[0];t&&(e.length>t.name.length?t._selectItem(e.substr(t.name.length+1)):this._treeListController.select(t))}_getItemsWithLock(){const e=x.Deferred();return this._nodeIsLocked?e.reject().promise():(this._nodeIsLocked=!0,this.getItems().done((t=>{this._nodeIsLocked=!1,e.resolve(t)})).fail((()=>{this._nodeIsLocked=!1,e.reject()})),e.promise())}_getPadding(e){const t=20*e+12,i={};return i["padding-"+(this._rtl?"right":"left")]=t,i}_getLoadChildItemsForCollapsedNodes(){return void 0!==this._loadChildItemsForCollapsedNodes?this._loadChildItemsForCollapsedNodes:Vr()}_getSelectedItems(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]}_getVisibleItems(){if(-1===this._pageSize)return;if(0===this.items.length)return[];let e=this.items.filter((e=>e.visible));return e.length>this.maxItemsCount&&(e=e.slice(0,this.maxItemsCount),e.push(new Yr((e=>this.maxItemsCount=e),(()=>this.maxItemsCount),this._getPadding(e[0].level),this._pageSize))),e}_updataParentItemsVisibilityCount(e){this.parent&&(e?this.parent.visibleItemsCount+=1:this.parent.visibleItemsCount=Math.max(this.parent.visibleItemsCount-1,0))}_updateVisualProperties(){var e,t;this._dataSubscriptionsDispose.forEach((e=>e&&e())),this._dataSubscriptionsDispose=[this._subscribeOnDataProperty(this,"name",(()=>this._updatePath())),this._subscribeOnDataProperty(this,"displayName",(()=>{var e;return this.text=Xe.unwrap(null===(e=this.data)||void 0===e?void 0:e.displayName)})),this._subscribeOnDataProperty(this,"specifics",(()=>{this.imageClassName=this._getImageClassName(),this.imageTemplateName=this._getImageTemplateName()}))].filter((e=>!!e)),this.templateName=this._getTemplateName(),this.actionsTemplate=(null===(e=this.data)||void 0===e?void 0:e.actionsTemplate)||"dx-treelist-item-actions-with-edit",this.hasContent=!!(null===(t=this.data)||void 0===t?void 0:t.contenttemplate)}_updatePath(){this.pathParts=this.name?(this._path||[]).concat([this.name]):this._path,this.path=this.pathParts.join(".")}_getChildViewModels(){const e=this.visibleItems||this.items;return null==e?void 0:e.map((e=>e.getViewModel()))}_reverseCollapsed(){this.collapsed=!this.collapsed}itemsCollectionHasMutated(){const e={propertyName:"items"};this.onPropertyChanged(e),this.events.call("propertyChanged",e)}onPropertyChanged(e){var t,i,r;"visibleItemsCount"!==e.propertyName&&"isLoaded"!==e.propertyName&&"data"!==e.propertyName||(this.hasItems=this._hasItems()),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName||(this._updateVisualProperties(),(null===(t=this.treeListController)||void 0===t?void 0:t.subscribeOnActionsChanged)?(this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._actionsSubscriptionDispose=this.treeListController.subscribeOnActionsChanged(this,(e=>this.actions=e))):this.actions=(null===(i=this.treeListController)||void 0===i?void 0:i.getActions)?this.treeListController.getActions(this):[]),"visible"!==e.propertyName&&"data"!==e.propertyName||(this.visible&&this.parent&&!this.parent.visible&&(this.parent.visible=!0),this._filtrationSubscriptionDispose&&this._filtrationSubscriptionDispose(),this.treeListController.subscribeOnVisibleChanged?this._filtrationSubscriptionDispose=this.treeListController.subscribeOnVisibleChanged(this,(e=>this.isFiltred=e)):this.isFiltred=this.data&&(null===(r=this.treeListController)||void 0===r?void 0:r.itemsFilter)&&!this.treeListController.itemsFilter(this.data,this.path,this),this._updataParentItemsVisibilityCount(this._isVisible())),"maxItemsCount"!==e.propertyName&&"items"!==e.propertyName||(this.visibleItems=this._getVisibleItems()),"collapsed"===e.propertyName&&this._collapsedChangedEvent&&this._collapsedChangedEvent(this.collapsed)}updateViewModel(e){Lr.call(this,e)}createViewModel(){return Hr.call(this,super.createViewModel())}get name(){var e;return Xe.unwrap(null===(e=this.data)||void 0===e?void 0:e.name)}get treeListController(){return this._treeListController}dispose(){var e;super.dispose(),this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._pathSubscriptionDispose&&this._pathSubscriptionDispose(),this.disposeArray(this.items),this.disposeArray(this.visibleItems),this.visibleItemsCount=0,this.parent=null,this._subscriptions.forEach((e=>e.dispose())),this._dataSubscriptionsDispose.forEach((e=>e&&e())),this._walkCallback=null,null===(e=this.store)||void 0===e||e.removeItem(this.id)}}jr([Fi("")],Jr.prototype,"imageTemplateName",void 0),jr([Bi((()=>[]))],Jr.prototype,"items",void 0),jr([Bi((()=>[]))],Jr.prototype,"actions",void 0),jr([Fi(-1)],Jr.prototype,"maxItemsCount",void 0),jr([Fi(0)],Jr.prototype,"visibleItemsCount",void 0),jr([Fi(!0)],Jr.prototype,"collapsed",void 0),jr([Fi(!1)],Jr.prototype,"isLoaded",void 0),jr([Fi(!0)],Jr.prototype,"hasItems",void 0),jr([Fi(!1)],Jr.prototype,"isSelected",void 0),jr([Fi(!1)],Jr.prototype,"isMultiSelected",void 0),jr([Fi(!1)],Jr.prototype,"isHovered",void 0),jr([Fi(null)],Jr.prototype,"data",void 0),jr([Fi(!0)],Jr.prototype,"visible",void 0),jr([Fi(!1)],Jr.prototype,"isFiltred",void 0),jr([Fi("")],Jr.prototype,"path",void 0),jr([Fi(-1)],Jr.prototype,"level",void 0),jr([Fi("")],Jr.prototype,"text",void 0);class Xr extends Jr{constructor(e,t=[],i=(()=>{}),r=!1){super(e,t,i,r),this._options=e,this._resolver=new Or,this._selectedPathSubscription=null,this.resolver.done((()=>{i()}));const s=e=>{this._selectItem(this.path?e.substr(this.path.length+1):e)};Xe.isSubscribable(e.selectedPath)?this._selectedPathSubscription=e.selectedPath.subscribe((e=>s(e))):e.setSelectedPathChangedEvent&&(this._selectedPathSubscription={dispose:e.setSelectedPathChangedEvent((e=>s(e)))}),this._selectItem(this.path?this.path+"."+Xe.unwrap(e.selectedPath):Xe.unwrap(e.selectedPath))}dispose(){super.dispose(),this._resolver.clear(),this._selectedPathSubscription&&(this._selectedPathSubscription.dispose(),this._selectedPathSubscription=null)}walkOnTree(e){return this._resolver.clear(),this._visitNextNode(this,e),-1!=this._pageSize&&this._resolver.doneOnce((()=>this.itemsCollectionHasMutated())),{stop:()=>this._resolver.clear()}}_visitNextNode(e,t=(e=>{})){var i;if(e.data&&!e.data.specifics)throw new Error("Specific should be set");if(e.level>=Wr())return;let r=null;e.items.length>0?r=()=>e.items.forEach((e=>{t(e),this._visitNextNode(e,t)})):e.data&&!e.treeListController.hasItems(e.data)||((null===(i=e.treeListController.searchOptions)||void 0===i?void 0:i.autoLoadItems)?r=()=>e._getItemsWithLock().done((e=>{e.forEach((e=>{t(e),this._visitNextNode(e,t)}))})):e._walkCallback=e=>{t(e),this._visitNextNode(e,t)}),r&&this._resolver.execute(r,1)}_onItemsChanged(){this._options.expandRootItems&&this.items.forEach((e=>{e.collapsed=!1})),super._onItemsChanged()}}function Zr(e,t){const i=zt.observable(),r=i.subscribe((t=>e(t))),s=zt.computed((()=>{const e=t();i(e)}));return()=>{s.dispose(),r.dispose()}}function Qr(e){var t,i,r;return(null===(t=e.treeListController)||void 0===t?void 0:t.itemsFilter)&&!e.treeListController.subscribeOnVisibleChanged&&(e.treeListController.subscribeOnVisibleChanged=(e,t)=>Zr(t,(()=>e.data&&!e.treeListController.itemsFilter(e.data,e.path,e)))),(null===(i=e.treeListController)||void 0===i?void 0:i.getActions)&&!e.treeListController.subscribeOnActionsChanged&&(e.treeListController.subscribeOnActionsChanged=(e,t)=>Zr(t,(()=>e.treeListController.getActions(e)))),e.subscribeOnDataPropertyChanged||(e.subscribeOnDataPropertyChanged=(e,t,i)=>Zr(i,(()=>zt.unwrap(e.data&&e.data[t])))),(null===(r=e.itemsProvider)||void 0===r?void 0:r.getItems)&&!e.itemsProvider.subscribeOnItemsChanged&&(e.itemsProvider.subscribeOnItemsChanged=(t,i)=>Zr(i,(()=>e.itemsProvider.getItems(new Nr(t.path,t.pathParts))))),e}class es extends qr{createRootItem(e,t,i,r){const s=zt.computed((()=>{const e=zt.unwrap(t);return Array.isArray(e)?e:e?e.split("."):[]}));return super.createRootItem(Qr(e),s,i,r)}createItem(e,t,i,r,s){return super.createItem(Qr(e),t,i,r,s)}}class ts extends z{constructor(e){super(e),this.engineType="multiplatform"}wrapPropertyArrayValue(e){return zt.observableArray(e)}wrapPropertyValue(e){return zt.observable(e)}unwrapPropertyValue(e){return zt.unwrap(e)}setLinkProperty(e,t,i){return e[t](i),e[t]()}getLinkProperty(e,t){return e[t]()}generateProperty(e,t,i){e[t]=i}generateArrayProperty(e,t,i){const r=zt.observable(void 0);Object.defineProperty(e,t,{get:()=>r(),set:e=>{r(e)},enumerable:!0,configurable:!0})}}const is=e=>zt.dataFor(e),rs=function(e={}){const t={createDefaultModel:i=>(e={getModel:()=>i,_____test:!0},t),generateProperty(t,i,r){const s=e;e._____test||Object.defineProperty(e,"_____test",{get:()=>!0,enumerable:!1});let a=zt.observable(i);if(Array.isArray(i)){a=zt.observableArray(i);let e=!1;for(const t in _)_[t](a(),(t=>{e||(e=!0,a.valueHasMutated(),e=!1)}));return Object.defineProperty(s,t,{enumerable:!0,configurable:!0,get:()=>a(),set:t=>{if(a(t),Array.isArray(t))for(const t in _)_[t](a(),(t=>{e||(e=!0,a.valueHasMutated(),e=!1)}))}}),this}return"function"==typeof i?(s[t]=i,this):(Object.defineProperty(s,t,{enumerable:!0,configurable:!0,get:()=>a(),set:e=>{a(e)}}),this)},configureProperty(t,i){return t in e&&i(e[t]),this},getViewModel:()=>e};return t};class ss extends H{_notifyModel(e,t){const i={propertyName:t,newValue:e[t]()};e.onPropertyChanged&&e.onPropertyChanged(i),b(e,i),e.events&&e.events.call("propertyChanged",i)}addDisposeCallback(e,t){zt.utils.domNodeDisposal.addDisposeCallback(e,t)}removeDisposeCallback(e,t){zt.utils.domNodeDisposal.removeDisposeCallback(e,t)}peek(e){return e.peek()}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){zt.isObservable(e[t])?e[t](i):e[t]=i}generateProperty(e,t,i,r){e[t]=zt.observable(i).extend(r),e.addDisposable(e[t].subscribe((i=>{this._notifyModel(e,t)})))}generateArrayProperty(e,t,i,r){e[t]=zt.observableArray(i).extend(r),e.addDisposable(e[t].subscribe((i=>{this._notifyModel(e,t)})))}createComputedProperty(e,t,i,r,s,a=!1){const n="function"==typeof i?()=>i():{read:()=>i.read(),write:e=>i.write(e)};return e[t]=(a?zt.pureComputed:zt.computed)(n).extend(s),()=>e[t].dispose()}subscribeOnPropertyChanged(e,t,i){if(zt.isSubscribable(e[t])){const r=e[t].subscribe((e=>i(e)));return()=>r.dispose()}return()=>{}}subscribeValue(e,t){if(zt.isSubscribable(e)){const i=e.subscribe((e=>t(e)));return()=>i.dispose()}return()=>{}}unwrap(e){return zt.unwrap(e)}wrap(e){return zt.observable(e)}applyBindings(e,t){zt.applyBindings(e,t)}cleanNode(e){zt.cleanNode(e)}}function as(){Di(rs),Xt(is),Kr(es),U(new ss),q((e=>new ts(e)))}class ns{static getInfo(e){const t=e.map((e=>e.getInfo()));return()=>{const e=[];for(let i=0;i<t[0].length;i++)t.filter((e=>e.filter((e=>e.propertyName===t[0][i].propertyName)).length>0)).length===t.length&&e.push(t[0][i]);return e}}static isPropertyDisabled(e){return t=>{for(let i=0;i<e.length;i++)if(e[i].isPropertyDisabled(t))return!0;return!1}}static getPath(e){return t=>{let i="";for(let r=0;r<e.length;r++){const s=e[r].getPath(t);if(0===r)i=s;else if(i!==s){i="";break}}return i}}static isPropertyVisible(e){return t=>{for(let i=0;i<e.length;i++)if(!e[i].isPropertyVisible(t))return!1;return!0}}static mergeProperty(e,t,i,r){const s=e[0][t];let a=null;if(e.filter((e=>!!e[t])).length===e.length&&(a=r&&r(t,e,i),!a))if(zt.isObservable(s)&&!s.push){if(!e.every((e=>zt.isObservable(e[t]))))return a;const r=zt.observable(e.every((i=>e[0][t].peek()===i[t].peek()))?e[0][t].peek():null);a={result:r,subscriptions:[r.subscribe((r=>{i&&i().start(),e.forEach((e=>{e[t](r)})),i&&i().end()}))]}}else"object"!=typeof s||x.isArray(s)||(a=this._merge(e.map((e=>e[t])),i,r));return a}static _createProperty(e,t,i){if(i){if("object"==typeof i&&k(i))return;e[t]=i}}static _merge(e,t,i,r){const s={};let a=[];if(["getInfo","isPropertyVisible","isPropertyDisabled","getPath"].forEach((t=>{e[0][t]&&this._createProperty(s,t,this[t](e))})),r){const e=s.isPropertyDisabled;s.isPropertyDisabled=t=>e&&e(t)||-1!==r.indexOf(t)}return s&&s.getInfo?s.getInfo().map((e=>e.propertyName)).forEach((r=>{const n=this.mergeProperty(e,r,t,i);n&&(a=[].concat.apply(a,n.subscriptions),this._createProperty(s,r,n.result))})):Object.keys(e[0]).forEach((r=>{const n=this.mergeProperty(e,r,t,i);n&&(a=[].concat.apply(a,n.subscriptions),this._createProperty(s,r,n.result))})),{result:s,subscriptions:a}}static mergeControls(e,t,i,r){const s=this._merge(e,t,i,r);return{result:D(s.result,{controlType:"multiselect",displayName:zt.observable("")}),subscriptions:s.subscriptions}}static getEditableObject(e,t,i){const r=zt.observable(null);let s=[];const a=e.focused.subscribe((e=>{r(e&&e.getControlModel())}));return e._disposables&&(e._disposables.push(a),e._disposables.push({dispose:()=>{s.forEach((e=>e.dispose())),s.splice(0)}})),zt.pureComputed({read:()=>{if(s.forEach((e=>e.dispose())),s=[],e.selectedItems.length>1){const r=this.mergeControls(e.selectedItems.map((e=>e.getControlModel())),t,i,e.ignoreMultiSelectProperties);return s=r.subscriptions,r.result}return r()},write:t=>{t&&t.surface?e.focused(t.surface):(e.updateSelection(null),r(t))}}).extend({deferred:!0})}}class os extends F{constructor(e=["name"]){super(),this.ignoreMultiSelectProperties=e,this._focused=zt.observable(null),this._selectedControls=zt.observableArray(),this._selectedControlsInner=[],this.focused=zt.pureComputed({read:()=>this._focused(),write:e=>{e!==this._focused()&&(e&&(this._firstSelected=e),this.updateSelection(this._firstSelected))}}),this.dropTarget=null,this.expectClick=!1,this.disabled=zt.observable(!1),this._disposables.push(this.focused)}dispose(){this.reset(),super.dispose()}_removeFromSelection(e){e.focused(!1),e.selected(!1),-1!==this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.splice(this._selectedControlsInner.indexOf(e),1)}_setFocused(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))}_resetTabPanelFocus(){document.activeElement&&0===x.fn.constructor(document.activeElement).closest(".dxrd-surface").length&&$r(document.activeElement)}get selectedItems(){return this._selectedControls()}clear(){this.focused(null),this._selectedControls([])}reset(){this._focused(null),this._selectedControlsInner.splice(0),this._firstSelected=null,this._selectedControls([])}applySelection(){this._selectedControls(this._selectedControlsInner)}selectItems(e){this._selectedControlsInner=e,this._selectedControlsInner.forEach((e=>{e.focused()||e.selected(!0)})),this.applySelection()}updateSelection(e){this._selectedControlsInner.forEach((e=>{e.focused(!1),e.selected(!1)})),this._selectedControlsInner=[],this._setFocused(e),this.applySelection()}swapFocusedItem(e){this._focused()!==e&&(this._focused().focused(!1),this._focused(e),this._focused().focused(!0))}initialize(e){e=e||this.dropTarget,this._firstSelected=e&&e.focused?e:null,this.updateSelection(this._firstSelected)}clickHandler(e,t={ctrlKey:!1,metaKey:!1}){this.expectClick?this.expectClick=!1:(e=e||this.dropTarget,t.ctrlKey||t.metaKey?(this.selectionWithCtrl(e),this.applySelection()):this._selectedControlsInner.length>1&&-1!==this._selectedControlsInner.indexOf(e)?this.swapFocusedItem(e):this._focused()!==e&&this.initialize(e),this._resetTabPanelFocus())}selecting(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)}unselecting(e){this._focused()===e?(this._setFocused(null),0===this._selectedControlsInner.length?this._setFocused(this._firstSelected):this._setFocused(this._selectedControlsInner[0])):this._removeFromSelection(e)}selectionWithCtrl(e){if(e&&e.allowMultiselect){const t=this._selectedControlsInner;0===t.length||1===t.length&&!t[0].allowMultiselect?this.initialize(e):-1===this._selectedControlsInner.indexOf(e)?(e.selected(!0),this._selectedControlsInner.push(e)):this._selectedControlsInner.length>1&&this.unselecting(e)}}}function ds(e,t,i=[],r=["surface"]){if(e&&void 0!==e){const s=[];Object.keys(e).forEach((t=>{if(0!==t.indexOf("_")&&-1===r.indexOf(t)){let r=t;zt.isComputed(e[t])&&zt.isWritableObservable(e["_"+t])&&(r="_"+r),-1!==i.indexOf(e[r])||zt.isComputed(e[r])||s.push(e[r])}})),t(s),i.push.apply(i,s),s.forEach((e=>{"object"==typeof(e=zt.unwrap(e))&&ds(e,t,i,r)}))}}class ls{constructor(e,t){this.changes=e,this.position=t}static Empty(){return new ls(null,null)}equal(e){return this.changes===e.changes&&this.position===e.position}}const us=[];class cs extends F{constructor(e,t=["surface"],i,r=[]){if(super(),this._ignoredProperties=t,this._getInfoMethodName=i,this._alwaysSubscribeProperties=r,this._groupObservers=[],this._groupPosition=-1,this._observers=[],this._subscriptions=[],this._visited=[],this._position=zt.observable(-1),this._lockedPosition=zt.observable(-1),this._inUndoRedo=!1,this._currentEngineName=cs._disposeUndoEngineSubscriptionsName+Br(),this.redoEnabled=zt.observable(!1),this.undoEnabled=zt.observable(!1),this.isIngroup=-1,this.isDirty=zt.computed({read:()=>this._position()!==this._lockedPosition(),write:e=>{e?this._lockedPosition("forcibly marked as dirty"):this._lockedPosition(this._position())}}),us.push(this._currentEngineName),this._model=zt.unwrap(e),this._getInfoMethodName)zt.isSubscribable(e)?this._targetSubscription=this.subscribeProperty(e,!0):this._createDisposeFunction(e);else{let t=this.subscribe(this._model);if(zt.isSubscribable(e)){let i=e();this._targetSubscription=e.subscribe((r=>{this._removePropertiesSubscriptions(),this._inUndoRedo||(this.properyChanged({observable:e,propertyChanged:{oldVal:i,val:r}}),i=r),this._cleanSubscribtions(t),this._model=r,t=this.subscribe(this._model)}))}}this._disposables.push(this.isDirty)}static tryGetUndoEngine(e){let t=null;return us.some((i=>(t=e[i]&&e[i].instance,!!t))),t}get _modelReady(){return Fr(this._model)}_disposeObserver(e){if(e.propertyChanged){const t=e.propertyChanged.val;t&&!t[this._currentEngineName]&&t.dispose&&t.dispose()}else e.arrayChanges&&e.arrayChanges.forEach((e=>{if("added"===e.status){const t=e.value;t&&!t[this._currentEngineName]&&t.dispose&&t.dispose()}}))}_disposeRemovedRecord(e){e.arrayChanges&&e.arrayChanges.forEach((e=>{var t,i;"deleted"===e.status&&(null===(t=e.value)||void 0===t?void 0:t.dispose)&&(null===(i=e.value)||void 0===i||i.dispose())}))}_disposeObservers(e,t){const i=(t?this._disposeRemovedRecord:this._disposeObserver).bind(this);e.forEach((e=>{Array.isArray(e)?e.reverse().forEach((e=>i(e))):i(e)}))}properyChanged(e){if(this._inUndoRedo)return;const t=this._position()+1;if(t<this._observers.length){const e=this._observers.splice(t,this._observers.length);this._disposeObservers(e,!1)}this._observers.push(e),this._position(t),this.undoEnabled(!0),this.redoEnabled(!1)}visitProperties(e,t){const i=[];if(e&&t)for(let r=0;r<t.length;r++){const s=this._alwaysSubscribeProperties.some((e=>e===t[r].propertyName));if(t[r].modelName||t[r].editor||t[r].info||s){const a=s?t[r].propertyName:this.validatePropertyName(e,t[r].propertyName);a&&(zt.isComputed(e[a])||(zt.isObservable(e[a])?i.push(this.subscribeProperty(e[a],!t[r].link)):i.push.apply([],this._createDisposeFunction(e[a],t[r].info))))}}return i}undoChangeSet(e){if(e.propertyChanged)e.observable(e.propertyChanged.oldVal);else{const t=e.observable();for(let i=0;i<e.arrayChanges.length;i++)if("added"===e.arrayChanges[i].status){const r=t.indexOf(e.arrayChanges[i].value);-1!=r&&t.splice(r,1)}for(let i=0;i<e.arrayChanges.length;i++)"deleted"===e.arrayChanges[i].status&&t.splice(e.arrayChanges[i].index,0,e.arrayChanges[i].value);zt.isObservable(e.observable)&&e.observable.valueHasMutated()}}redoChangeSet(e){if(e.propertyChanged)e.observable(e.propertyChanged.val);else{const t=e.observable();for(let i=0;i<e.arrayChanges.length;i++)"deleted"===e.arrayChanges[i].status&&t.splice(t.indexOf(e.arrayChanges[i].value),1);for(let i=0;i<e.arrayChanges.length;i++)"added"===e.arrayChanges[i].status&&t.splice(e.arrayChanges[i].index,0,e.arrayChanges[i].value);zt.isObservable(e.observable)&&e.observable.valueHasMutated()}}_disposeChilds(e,t){if(e&&t)for(let i=0;i<t.length;i++)if(t[i].modelName||t[i].editor||t[i].info){const r=t[i].propertyName;if(0!==r.indexOf("_")){let s=r;if(zt.isWritableObservable(e["_"+r])&&(s="_"+s),!zt.isComputed(e[s])){const r=zt.unwrap(e[s]);r&&"object"==typeof r&&(t[i].link||this._callDisposeFunction(r))}}}}_createDisposeFunction(e,t){let i=[];if(e&&"object"==typeof e){const r=t||e[this._getInfoMethodName]&&e[this._getInfoMethodName]();r&&(e[this._currentEngineName]?e[this._currentEngineName].inc++:(e[this._currentEngineName]={inc:1,instance:this},i=this.subscribe(e,r),e[this._currentEngineName].func=()=>{e[this._currentEngineName].inc--,this._disposeChilds(e,r),0===e[this._currentEngineName].inc&&(this._cleanSubscribtions(i),delete e[this._currentEngineName])}))}return i}_callDisposeFunction(e){if(e)if(Array.isArray(e))for(let t=0;t<e.length;t++)e[t][this._currentEngineName]&&e[t][this._currentEngineName].func();else e[this._currentEngineName]&&e[this._currentEngineName].func()}_cleanSubscribtions(e){if(e)if(e.length)for(let t=0;t<e.length;t++)this._cleanSubscribtions(e[t]);else e.dispose&&e.dispose()}validatePropertyName(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every((e=>e!==t)))&&"_"!==t[0]?zt.isWritableObservable(e["_"+t])?"_"+t:t:null}subscribeProperty(e,t){if(zt.isObservable(e)){let i=e();if(Array.isArray(i)){for(let t=0;t<e().length;t++)this._createDisposeFunction(e()[t]);return e.subscribe((t=>{if(this._modelReady){const i=t.filter((e=>"added"===e.status)),r=t.filter((e=>"deleted"===e.status));for(let e=0;e<r.length;e++)this._callDisposeFunction(r[e].value);for(let e=0;e<i.length;e++)this._createDisposeFunction(i[e].value);this.properyChanged({observable:e,arrayChanges:t})}}),null,"arrayChange")}if(zt.isWritableObservable(e))return t&&this._createDisposeFunction(e()),e.subscribe((r=>{this._modelReady&&(t&&this._callDisposeFunction(i),this.properyChanged({observable:e,propertyChanged:{oldVal:i,val:r}}),i=r,t&&this._createDisposeFunction(r))}))}}subscribeProperties(e){e.forEach((e=>{if(zt.isObservable(e)){let t=e();e.push?this._subscriptions.push(e.subscribe((t=>{this._modelReady&&(this._inUndoRedo||(this.properyChanged({observable:e,arrayChanges:t}),this.subscribe(t.map((e=>e.value)))))}),null,"arrayChange")):zt.isWritableObservable(e)&&this._subscriptions.push(e.subscribe((i=>{this._modelReady&&(this.properyChanged({observable:e,propertyChanged:{oldVal:t,val:i}}),t=e())})))}}))}subscribe(e,t){if(this._getInfoMethodName)return this.visitProperties(e,t||e&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]());ds(e,(e=>{this.subscribeProperties(e)}),this._visited,this._ignoredProperties)}getCurrentChangeSet(){return new ls(this._observers[this._position()],this._position())}_removePropertiesSubscriptions(){this._subscriptions.forEach((e=>e.dispose())),this._subscriptions=[],this._visited=[]}dispose(){super.dispose(),this._disposeObservers(this._observers.splice(0,this._observers.length),!0),this.removeTargetSubscription();let e=0;us.some(((t,i)=>t===this._currentEngineName&&(e=i,!0))),us.splice(e,1)}removeTargetSubscription(){this._targetSubscription&&this._targetSubscription.dispose(),this.reset()}undoAll(){this.undoEnabled()&&(this.undo(),this.undoAll())}reset(){this._removePropertiesSubscriptions(),this.clearHistory()}clearHistory(){this._groupObservers=[],this._observers=[],this.redoEnabled(!1),this.undoEnabled(!1),this._inUndoRedo=!1,this._groupPosition=-1,this._position(-1),this._lockedPosition(this._position())}undo(e=!1){try{if(this._inUndoRedo=!0,this.undoEnabled()){const t=this._observers[this._position()];t&&(Array.isArray(t)?t.reverse().forEach((e=>this.undoChangeSet(e))):this.undoChangeSet(t),e&&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}}redo(){try{if(this._inUndoRedo=!0,this.redoEnabled()){const e=this._observers[this._position()+1];e&&(Array.isArray(e)?e.reverse().forEach((e=>this.redoChangeSet(e))):this.redoChangeSet(e),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}}_hasSessionChanges(){return 0===this.isIngroup&&this._observers.length>0}start(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))}end(){if(this.isIngroup--,-1===this.isIngroup){if(this._observers.length>0){this._position(this._groupPosition+1);const e=this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers);this._disposeObservers(e,!1)}else this._position(this._groupPosition);this._observers=this._groupObservers}}}function ps(e,t){const i=e.focused();t||(t=i.getControlModel(),e.selectedItems.forEach((e=>{const t=e.getControlModel(),r=t.parentModel();!e.getControlModel().getMetaData().isDeleteDeny&&r&&e!==i&&r.removeChild(t)})));const r=cs.tryGetUndoEngine(t.parentModel());r&&r.start(),t.parentModel().removeChild(t),r&&r.end(),e.focused(i.findNextSelection())}function hs(e,t,i){const r=t();return e.peek().forEach((e=>{const t=i(e);r.splice(0,0,t)})),t.valueHasMutated(),e.subscribe((e=>{const r=t();let s=r.length;e.forEach((e=>{"deleted"===e.status&&(r.splice(r.indexOf(e.value.surface),1),s--)})),e.forEach((e=>{"added"===e.status&&(r.splice(s-e.index,0,i(e.value)),s++)})),t.valueHasMutated()}),null,"arrayChange")}function gs(e,t,i){const r=t();return e.peek().forEach((e=>{const t=i(e);r.push(t)})),t.valueHasMutated(),e.subscribe((e=>{let r=t().length,s=0;const a=[];e.forEach((e=>{"deleted"===e.status&&(s++,e.index<r&&(r=e.index))})),e.forEach((e=>{"added"===e.status&&(e.index<r&&(r=e.index),a.push(i(e.value)))})),t.splice.apply(t,[r,s].concat(a))}),null,"arrayChange")}function ms(e,...t){const i=zt.observableArray(e),r=i.notifySubscribers;return i.notifySubscribers=(e,s)=>{if(t)for(let i=0,r=t.length;i<r;i++)t[i](e,s);return r.call(i,e,s)},i}function xs(e,t,i){return ms(Object.keys(e||{}).map((t=>i(e[t]))),((e,i)=>{if("beforeChange"!==i)if("arrayChange"===i)for(let i=0;i<e.length;i++)t!==e[i].value.parentModel()&&e[i].value.parentModel(t);else for(let i=0;i<e.length;i++)t!==e[i].parentModel()&&e[i].parentModel(t)}))}function fs(e,t,i,r){for(let s=r||0;s<e.length;s++){if((zt.isObservable(e[s][t])?e[s][t].peek():e[s][t])===i)return e[s]}return null}function vs(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return e[i];return null}cs._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___";const bs=vs;function ys(e,t,i){let r=0,s=e.length-1;for(;r<=s;){const a=s+r>>1,n=i(t,e[a]);if(n>0)r=a+1;else{if(!(n<0))return a;s=a-1}}return~r}class _s{constructor(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}_appendSnapLine(e,t,i,r){const s={position:e,limitInf:t,limSup:i},a=ys(r,s,((e,t)=>e.position-t.position));a>-1?(r[a].limitInf=Math.min(r[a].limitInf,t),r[a].limSup=Math.max(r[a].limSup,i)):r.splice(~a,0,s)}_collectSnaplines(e,t){this._enumerateCollection(e,t,((e,t)=>{e!==this._snapTargetToIgnore&&(this._appendSnapLine(t.left,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.right,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.top,t.left,t.right,this._horizontalSnapLines),this._appendSnapLine(t.bottom,t.left,t.right,this._horizontalSnapLines),this._collectSnaplines(e,t))}))}_getCollection(e){return e.controls&&e.controls()}_enumerateCollection(e,t,i){const r=this._getCollection(e);if(r)for(let e=0;e<r.length;e++){const s=r[e].rect&&r[e].rect();s&&i(r[e],{top:s.top+t.top,bottom:s.bottom+t.top,left:s.left+t.left,right:s.right+t.left})}}collectSnaplines(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}}}class Cs{constructor(){this._position=zt.observable(Cs._blankPosition)}transform(){const e=this._position();return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"}updatePosition(e){this._position(e)}reset(){this.updatePosition(Cs._blankPosition)}}Cs._blankPosition={top:0,left:0,width:0,height:0};class ws{constructor(e=null,t=ws.snapTolerance,i=new _s){this.snapLineSurfaces=[new Cs,new Cs,new Cs,new Cs],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=i}_findClosestSnapLine(e,t){let i,r=ys(t,{position:e,limitInf:0,limSup:0},((e,t)=>e.position-t.position));if(r>-1)i={snapLine:t[r],distance:e-t[r].position};else{r=~r;const s=t[r]?e-t[r].position:Number.MAX_VALUE,a=t[r-1]?e-t[r-1].position:Number.MAX_VALUE;i=Math.abs(s)>Math.abs(a)?{snapLine:t[r-1],distance:a}:{snapLine:t[r],distance:s}}return i}_getActiveSnapLines(e,t,i){const r=this._findClosestSnapLine(e,i),s=this._findClosestSnapLine(t,i),a={lines:[],distance:0};if(Math.abs(r.distance-s.distance)>=1){const e=Math.abs(r.distance)<Math.abs(s.distance)?r:s;Math.abs(e.distance)<=this._snapTolerance&&(a.lines=[e],a.distance=e.distance)}else Math.abs(r.distance)<=this._snapTolerance&&(a.lines=[r,s],a.distance=r.distance);return a}updateSnapLines(e=null){this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);const t=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),e);this.verticalSnapLines.push.apply(this.verticalSnapLines,t.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,t.horizontal)}deactivateSnapLines(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()}activateSnapLines(e){const t=this._getActiveSnapLines(e.left,e.right,this.verticalSnapLines),i=this._getActiveSnapLines(e.top,e.bottom,this.horizontalSnapLines);for(let r=0;r<2;r++){const s=t.lines[r];if(s){let t=Math.min(s.snapLine.limitInf,e.top),a=Math.max(s.snapLine.limSup,e.bottom);e.top<s.snapLine.limitInf&&(t-=i.distance),e.bottom>s.snapLine.limSup&&(a-=i.distance),this.snapLineSurfaces[r].updatePosition({top:t,left:s.snapLine.position,height:a-t,width:1})}else this.snapLineSurfaces[r].reset()}for(let r=0;r<2;r++){const s=i.lines[r];if(s){let i=Math.min(s.snapLine.limitInf,e.left),a=Math.max(s.snapLine.limSup,e.right);e.left<s.snapLine.limitInf&&(i-=t.distance),e.right>s.snapLine.limSup&&(a-=t.distance),this.snapLineSurfaces[r+2].updatePosition({top:s.snapLine.position,left:i,width:a-i,height:1})}else this.snapLineSurfaces[r+2].reset()}return{left:t.distance,top:i.distance}}snapPosition(e,t){const i=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return i&&Math.abs(i.distance)<=this._snapTolerance?i.snapLine.position:e}}ws.snapTolerance=10;class As{constructor(e,t){this.x=zt.observable(e).extend({dxdnum:{}}),this.y=zt.observable(t).extend({dxdnum:{}})}getInfo(){return jt}static fromString(e="0, 0"){const t=e.split(",");return new As(parseFloat(t[0]),parseFloat(t[1]))}toString(){return this.x()+", "+this.y()}}As.unitProperties=["x","y"];const Es={createChild:(e,t)=>e.createChild(t),calculateDelta:(e,t,i)=>({x:e.rect().left-i.x(),y:e.rect().top-i.y()}),canPaste:(e,t)=>!0};class Is{constructor(e,t=Es){this._copyPasteStrategy=t,this._copyInfo=zt.observable(null),this.hasPasteInfo=zt.pureComputed((()=>null!==this._copyInfo())),this._selectionProvider=e}canCopy(){return null!==this._selectionProvider.focused()&&!this._selectionProvider.focused().getControlModel().getMetaData().isCopyDeny}canPaste(){const 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}copy(){if(this.canCopy()){const e=new ts,t={focused:this._selectionProvider.focused(),objects:x.map(this._selectionProvider.selectedItems,(t=>e.serialize(t.getControlModel())))};this._copyInfo(t)}}cut(){const e=new ts,t=this._selectionProvider.focused(),i=[];this._selectionProvider.selectedItems.forEach((t=>{const r=t.getControlModel();r.parentModel().removeChild(r),i.push(e.serialize(r)),this._copyPasteStrategy.createSelfRestoringItems&&i.push(...this._copyPasteStrategy.createSelfRestoringItems(r,e))}));const r={focused:t,objects:i};this._copyInfo(r)}paste(){if(this.canPaste()){let e=this._selectionProvider.focused(),t=e.getControlModel();const i=[];e===this._copyInfo().focused&&(e=e.parent,t=e.getControlModel()),t.getMetaData().isContainer||(e=e.parent,t=e.getControlModel());const r=new As(Number.MAX_VALUE,Number.MAX_VALUE),s=new As(-1,-1);for(let e=0;e<this._copyInfo().objects.length;e++){const a=ot(this._copyPasteStrategy.createChild(t,this._copyInfo().objects[e]));if(!a)continue;const n=new As(a.rect().left,a.rect().top),o=new As(a.rect().left+a.rect().width,a.rect().top+a.rect().height);r.x()>=n.x()&&r.x(n.x()),s.x()<=o.x()&&s.x(o.x()),r.y()>=n.y()&&r.y(n.y()),s.y()<=o.y()&&s.y(o.y()),i.push(a)}const a=new As((e.rect().width-e._context.margins.right())/2-(s.x()-r.x())/2+(e.rtlLayout()?e._context.margins.right():0),e.rect().height/2-(s.y()-r.y())/2);for(let t=0;t<i.length;t++){const s=this._copyPasteStrategy.calculateDelta(i[t],e,r);i[t].rect({left:a.x()+s.x,top:a.y()+s.y})}this._selectionProvider.initialize(),i.forEach((e=>{this._selectionProvider.selecting({control:e,cancel:!1})}))}}}const Ss={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 $s(e){const t=Math.round(parseInt(e.replace("%","")))/100;return t?t>=5?5:t<=.1?.1:t:1}const ks=DevExpress.ui.themes;var Ps,Ds=e.n(ks);!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus",e[e.BitwiseNot=2]="BitwiseNot",e[e.Not=3]="Not",e[e.IsNull=4]="IsNull"}(Ps||(Ps={}));class Ts{constructor(){this._func=[],this._factory={},this._changeTypeFactory={}}addListener(e){-1===this._func.indexOf(e)&&this._func.push(e)}removeListener(e){const t=this._func.indexOf(e);-1!==t&&this._func.splice(t,1)}register(e,t,i){this._factory[e]=t,i&&(this._changeTypeFactory[e]=e=>{let t=i(e);return e.reverse&&(t=this.process("unary",{operator:t,operatorType:Ps.Not})),t})}process(e,t={}){let i=e in this._factory?this._factory[e](t):this._factory.default();return this._func.forEach((r=>{i=r(i,{operatorType:e,options:t||{}})})),i}changeByType(e){return this._changeTypeFactory[e._type]?this._changeTypeFactory[e._type](e):null}}const Fs=new Ts;class Bs{constructor(){this.type="default",this.operands=null,this.changeValue=(e,t,i)=>{const r=t?Fs.process("unary",{operatorType:Ps.Minus,operator:e}):e;return null!==i.index?this[i.name][i.index]=r:this[i.name]=r,r},this.changeValueType=(e,t)=>{const i=new e;return null!==t.index?this[t.name][t.index]=i:this[t.name]=i,i},this.assignLeftPart=e=>{},this.assignRightPart=e=>{},this.assignType=e=>{this.operatorType=e}}get displayType(){return this.operatorType}get enumType(){return null}get leftPart(){return null}get rightPart(){return null}assignFrom(e,t=!1,i=!0){let r=e;"unary"!==e.type||Array.isArray(e.leftPart)||"property"==e.leftPart.type||(r=e.leftPart),t?this.assignLeftPart(r.leftPart):this.assignLeftPart(r),r.rightPart&&i&&this.assignRightPart(r)}children(){const e=[];return this.leftPart&&e.push.apply(e,Array.isArray(this.leftPart)?this.leftPart:[this.leftPart]),this.rightPart&&e.push.apply(e,Array.isArray(this.rightPart)?this.rightPart:[this.rightPart]),e}accept(e){throw"Not implemented"}}Fs.register("default",(e=>new Bs));const Os=X(19),Ms=X("Times New Roman, 9.75pt");function Ns(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 Vs(e){return e&&Ns(e)}function zs(e){return!e||Ns(e)}const Ls=()=>Ke("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error"),Hs=[{type:"custom",validationCallback:e=>zs(e.value),get message(){return Ls()}}],Rs=[{type:"required",get message(){return Ls()}}],js=[{type:"required",get message(){return Ke("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}}];class Ws extends Bs{constructor(e,t){super(),this.type="value";let i=null!=e?e:"";const r=Vs(e);e&&e.length&&("'"===e[0]&&"'"===e[e.length-1]||r)?(this.specifics="string",r&&"{"===e[0]&&"}"===e[e.length-1]&&(this.specifics="guid"),i=this._processStringValue(e)):e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]&&!t?(i=e.slice(1,e.length-1),i=ge(i),i||(i=ge(e.slice(1,e.length-1)))):"true"===String(e).toLowerCase()||"false"===String(e).toLowerCase()?i="true"===String(e).toLowerCase()?"True":"False":t&&(this.specifics=e.match(/\#\w+\#/g)[0].replace(/\#/g,"").toLowerCase()),this.value=i}_processStringValue(e){let t=e.slice(1,e.length-1);return t=t.replace(/''/g,"'"),t}get displayType(){return this.value||"?"}accept(e){return e.visitOperandValue?e.visitOperandValue(this):this}}Fs.register("value",(e=>new Ws(null==e?void 0:e.value,null==e?void 0:e.isSomeType)));class Gs extends Ws{constructor(e,t){super(t),this.type="parameter",this.parameterName=e||""}get displayType(){return"?"+this.parameterName}accept(e){return e.visitOperandParameter?e.visitOperandParameter(this):new Gs(this.parameterName,this.value)}}Fs.register("parameter",(e=>new Gs(e.parameterName,e.value)));class Us extends Bs{constructor(e="",t=-1,i=-1,r=0,s=!1){super(),this.type="property",this.propertyName=e,this.originalPropertyLength=r,this.startPosition={column:t,line:i},this.circumflex=s}get displayType(){return"["+this.propertyName+"]"}accept(e){return e.visitOperandProperty?e.visitOperandProperty(this):Fs.process("property",{propertyName:this.propertyName})}}Fs.register("property",(e=>new Us(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength,e.circumflex)));class qs extends Bs{constructor(e,t){super(),this.type="unary",this.operand=t||Fs.process("default"),this.operatorType=e}get leftPart(){return this.operand}assignFrom(e){this.operatorType===Ps.Not?e instanceof qs?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):this.operand=e instanceof qs?e.operand.leftPart:e.leftPart||e}get displayType(){return Ps[this.operatorType]}get enumType(){return Ps}accept(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new qs(this.operatorType,this.operand&&this.operand.accept(e))}}var Ks,Ys,Js;Fs.register("unary",(e=>new qs(e.operatorType,e.operator)),(e=>Fs.process("unary",{operatorType:e.value,operator:Fs.process("property")}))),function(e){e[e.Equal=0]="Equal",e[e.NotEqual=1]="NotEqual",e[e.Greater=2]="Greater",e[e.Less=3]="Less",e[e.LessOrEqual=4]="LessOrEqual",e[e.GreaterOrEqual=5]="GreaterOrEqual",e[e.Like=6]="Like",e[e.BitwiseAnd=7]="BitwiseAnd",e[e.BitwiseOr=8]="BitwiseOr",e[e.BitwiseXor=9]="BitwiseXor",e[e.Divide=10]="Divide",e[e.Modulo=11]="Modulo",e[e.Multiply=12]="Multiply",e[e.Plus=13]="Plus",e[e.Minus=14]="Minus"}(Ks||(Ks={})),function(e){e[e.And=0]="And",e[e.Or=1]="Or"}(Ys||(Ys={}));class Xs extends Bs{constructor(e,t,i,r){super(),this.change=(e,t)=>{let i=null;return e.type===Ys&&(i=Fs.changeByType(e),e.type!==i.enumType?i.leftPart.assignFrom(t):i.assignFrom(t),this.condition=i),i},this.assignLeftPart=e=>{e.leftPart instanceof Xs?this.assignFrom(e.leftPart):e instanceof Xs?(this.property=e.property,this.aggregatedExpression&&e.aggregatedExpression&&(this.aggregatedExpression=e.aggregatedExpression),this.condition=e.condition):this.property=e.leftPart},this.type="aggregate",this.property=e,r&&"group"===r.type?this.condition=r:r instanceof qs&&r.operatorType===Ps.Not?"group"===r.operand.type?this.condition=Fs.process("unary",{operator:r.operand,operatorType:Ps.Not}):this.condition=Fs.process("unary",{operator:Fs.process("group",{operation:Ys.And,operands:r.operand?[r.operand]:[]}),operatorType:Ps.Not}):this.condition=Fs.process("group",{operation:Ys.And,operands:r?[r]:[]}),this.operatorType=i,t&&(t.length>1?this.customAggregatedExpression=t:this.aggregatedExpression=t[0]?t[0]:null)}get displayType(){return this.operatorType}get enumType(){return Xs}get leftPart(){return this.property}children(){const e=[];return this.condition&&e.push(this.condition),this.aggregatedExpression?e.push(this.aggregatedExpression):this.customAggregatedExpression&&this.customAggregatedExpression.forEach((t=>e.push(t))),e}accept(e){if(e.visitAggregateOperand)return e.visitAggregateOperand(this);let t=null;return this.aggregatedExpression?t=[this.aggregatedExpression]:this.customAggregatedExpression&&(t=this.customAggregatedExpression.map((t=>t.accept(e)))),Fs.process("aggregate",{aggregateType:this.operatorType,aggregatedExpression:t,condition:this.condition&&this.condition.accept(e),property:this.property&&this.property.accept(e)})}}function Zs(e,t,i=""){t(e,i),e instanceof Xs&&(e.leftPart&&Zs(e.leftPart,t,i),e.leftPart&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName)),e.children().forEach((e=>Zs(e,t,i)))}Fs.register("aggregate",(e=>new Xs(e.property,e.aggregatedExpression,e.aggregateType,e.condition)),(e=>{const t={property:Fs.process("property"),aggregateType:e.value,aggregatedExpression:null,condition:Fs.process("group",{operation:Ys.And,operands:[]})};return"Exists"===e.value?Fs.process("aggregate",t):("Count"!==e.value&&(t.aggregatedExpression=[Fs.process("property")]),Fs.process("binary",{left:Fs.process("aggregate",t),right:Fs.process("value",{value:void 0}),operatorType:Ks.Equal}))}));class Qs extends Bs{constructor(e,t){super(),this.create=(e,t,i)=>{let r=Fs.process("binary",{left:t,right:Fs.process("value",{value:""}),operatorType:Ks.Equal});return e?r=Fs.process("group",{operation:Ys.And,operands:[]}):i&&"list"===i&&(r=Fs.process("aggregate",{aggregateType:"Exisits",property:t,aggregatedExpression:null,condition:Fs.process("group",{operands:[],operation:Ys.And})})),this.operands.push(r),this.operands[this.operands.indexOf(r)]},this.change=(e,t,i=!1)=>{const r=this.operands.indexOf(t);if(-1===r)throw Error("dont have this element in operands collection");{const s=Fs.changeByType(e);e.type===s.enumType||Array.isArray(s.leftPart)?s.assignFrom(t,i,!e.emptyRightPart):s.leftPart.assignFrom(t,i,!e.emptyRightPart),this.operands[r]=s}return t=null,this.operands[r]},this.remove=e=>{this.operands.splice(this.operands.indexOf(e),1)},this.assignLeftPart=e=>{this.operands=e.operands},this.operands=[],this.type="group",this.operatorType=e,(t=t||[Fs.process("default"),Fs.process("default")]).forEach((e=>this.operands.push(e)))}static combine(e,t){const i=[];return(t||[]).forEach((t=>{"group"===t.type&&t.operatorType===e?i.push.apply(i,t.operands):i.push(t)})),1===i.length?i[0]:Fs.process("group",{operands:i,operation:e})}children(){return this.operands}get displayType(){return Ys[this.operatorType]}get enumType(){return Ys}accept(e){return e.visitGroupOperator?e.visitGroupOperator(this):new Qs(this.operatorType,this.operands&&this.operands.map((t=>t.accept(e))))}}Fs.register("group",(e=>new Qs(e.operation,e.operands)),(e=>Fs.process("group",{operation:e.value,operands:[]}))),function(e){e[e.None=0]="None",e[e.Custom=1]="Custom",e[e.CustomNonDeterministic=2]="CustomNonDeterministic",e[e.Iif=3]="Iif",e[e.InRange=4]="InRange",e[e.IsNull=5]="IsNull",e[e.IsNullOrEmpty=6]="IsNullOrEmpty",e[e.Trim=7]="Trim",e[e.Len=8]="Len",e[e.Substring=9]="Substring",e[e.Upper=10]="Upper",e[e.Lower=11]="Lower",e[e.Concat=12]="Concat",e[e.Ascii=13]="Ascii",e[e.Char=14]="Char",e[e.ToStr=15]="ToStr",e[e.Replace=16]="Replace",e[e.Reverse=17]="Reverse",e[e.Insert=18]="Insert",e[e.CharIndex=19]="CharIndex",e[e.Remove=20]="Remove",e[e.Abs=21]="Abs",e[e.Sqr=22]="Sqr",e[e.Cos=23]="Cos",e[e.Sin=24]="Sin",e[e.Atn=25]="Atn",e[e.Exp=26]="Exp",e[e.Log=27]="Log",e[e.Rnd=28]="Rnd",e[e.Tan=29]="Tan",e[e.Power=30]="Power",e[e.Sign=31]="Sign",e[e.Round=32]="Round",e[e.Ceiling=33]="Ceiling",e[e.Floor=34]="Floor",e[e.Max=35]="Max",e[e.Min=36]="Min",e[e.Acos=37]="Acos",e[e.Asin=38]="Asin",e[e.Atn2=39]="Atn2",e[e.BigMul=40]="BigMul",e[e.Cosh=41]="Cosh",e[e.Log10=42]="Log10",e[e.Sinh=43]="Sinh",e[e.Tanh=44]="Tanh",e[e.PadLeft=45]="PadLeft",e[e.PadRight=46]="PadRight",e[e.StartsWith=47]="StartsWith",e[e.EndsWith=48]="EndsWith",e[e.Contains=49]="Contains",e[e.ToInt=50]="ToInt",e[e.ToLong=51]="ToLong",e[e.ToFloat=52]="ToFloat",e[e.ToDouble=53]="ToDouble",e[e.ToDecimal=54]="ToDecimal",e[e.LocalDateTimeThisYear=55]="LocalDateTimeThisYear",e[e.LocalDateTimeThisMonth=56]="LocalDateTimeThisMonth",e[e.LocalDateTimeLastWeek=57]="LocalDateTimeLastWeek",e[e.LocalDateTimeThisWeek=58]="LocalDateTimeThisWeek",e[e.LocalDateTimeYesterday=59]="LocalDateTimeYesterday",e[e.LocalDateTimeToday=60]="LocalDateTimeToday",e[e.LocalDateTimeNow=61]="LocalDateTimeNow",e[e.LocalDateTimeTomorrow=62]="LocalDateTimeTomorrow",e[e.LocalDateTimeDayAfterTomorrow=63]="LocalDateTimeDayAfterTomorrow",e[e.LocalDateTimeNextWeek=64]="LocalDateTimeNextWeek",e[e.LocalDateTimeTwoWeeksAway=65]="LocalDateTimeTwoWeeksAway",e[e.LocalDateTimeNextMonth=66]="LocalDateTimeNextMonth",e[e.LocalDateTimeNextYear=67]="LocalDateTimeNextYear",e[e.InDateRange=68]="InDateRange",e[e.IsOutlookIntervalBeyondThisYear=69]="IsOutlookIntervalBeyondThisYear",e[e.IsOutlookIntervalLaterThisYear=70]="IsOutlookIntervalLaterThisYear",e[e.IsOutlookIntervalLaterThisMonth=71]="IsOutlookIntervalLaterThisMonth",e[e.IsOutlookIntervalNextWeek=72]="IsOutlookIntervalNextWeek",e[e.IsOutlookIntervalLaterThisWeek=73]="IsOutlookIntervalLaterThisWeek",e[e.IsOutlookIntervalTomorrow=74]="IsOutlookIntervalTomorrow",e[e.IsOutlookIntervalToday=75]="IsOutlookIntervalToday",e[e.IsOutlookIntervalYesterday=76]="IsOutlookIntervalYesterday",e[e.IsOutlookIntervalEarlierThisWeek=77]="IsOutlookIntervalEarlierThisWeek",e[e.IsOutlookIntervalLastWeek=78]="IsOutlookIntervalLastWeek",e[e.IsOutlookIntervalEarlierThisMonth=79]="IsOutlookIntervalEarlierThisMonth",e[e.IsOutlookIntervalEarlierThisYear=80]="IsOutlookIntervalEarlierThisYear",e[e.IsOutlookIntervalPriorThisYear=81]="IsOutlookIntervalPriorThisYear",e[e.IsLastMonth=82]="IsLastMonth",e[e.IsLastYear=83]="IsLastYear",e[e.IsNextMonth=84]="IsNextMonth",e[e.IsNextYear=85]="IsNextYear",e[e.IsThisWeek=86]="IsThisWeek",e[e.IsThisMonth=87]="IsThisMonth",e[e.IsThisYear=88]="IsThisYear",e[e.IsJanuary=89]="IsJanuary",e[e.IsFebruary=90]="IsFebruary",e[e.IsMarch=91]="IsMarch",e[e.IsApril=92]="IsApril",e[e.IsMay=93]="IsMay",e[e.IsJune=94]="IsJune",e[e.IsJuly=95]="IsJuly",e[e.IsAugust=96]="IsAugust",e[e.IsSeptember=97]="IsSeptember",e[e.IsOctober=98]="IsOctober",e[e.IsNovember=99]="IsNovember",e[e.IsDecember=100]="IsDecember",e[e.IsSameDay=101]="IsSameDay",e[e.IsYearToDate=102]="IsYearToDate",e[e.DateDiffTick=103]="DateDiffTick",e[e.DateDiffSecond=104]="DateDiffSecond",e[e.DateDiffMilliSecond=105]="DateDiffMilliSecond",e[e.DateDiffMinute=106]="DateDiffMinute",e[e.DateDiffHour=107]="DateDiffHour",e[e.DateDiffDay=108]="DateDiffDay",e[e.DateDiffMonth=109]="DateDiffMonth",e[e.DateDiffYear=110]="DateDiffYear",e[e.DateTimeFromParts=111]="DateTimeFromParts",e[e.GetDate=112]="GetDate",e[e.GetMilliSecond=113]="GetMilliSecond",e[e.GetSecond=114]="GetSecond",e[e.GetMinute=115]="GetMinute",e[e.GetHour=116]="GetHour",e[e.GetDay=117]="GetDay",e[e.GetMonth=118]="GetMonth",e[e.GetYear=119]="GetYear",e[e.GetDayOfWeek=120]="GetDayOfWeek",e[e.GetDayOfYear=121]="GetDayOfYear",e[e.GetTimeOfDay=122]="GetTimeOfDay",e[e.Now=123]="Now",e[e.UtcNow=124]="UtcNow",e[e.Today=125]="Today",e[e.AddTimeSpan=126]="AddTimeSpan",e[e.AddTicks=127]="AddTicks",e[e.AddMilliSeconds=128]="AddMilliSeconds",e[e.AddSeconds=129]="AddSeconds",e[e.AddMinutes=130]="AddMinutes",e[e.AddHours=131]="AddHours",e[e.AddDays=132]="AddDays",e[e.AddMonths=133]="AddMonths",e[e.AddYears=134]="AddYears",e[e.OrderDescToken=135]="OrderDescToken"}(Js||(Js={}));class ea extends Bs{constructor(e,t,i,r){super(),this.type="join",this.joinTypeName=e,this.condition=t,this.operatorType=i,this.aggregatedExpression=r}static joinOrAggregate(e,t,i,r){return null===e||e.propertyName.length<2||"<"!=e.propertyName[0]||">"!=e.propertyName[e.propertyName.length-1]?Fs.process("aggregate",{property:e,aggregatedExpression:r,aggregateType:i,condition:t}):Fs.process("join",{joinTypeName:e.propertyName.substring(1,e.propertyName.length-2),condition:t,type:i,aggregated:r&&r[0]?r[0]:null})}accept(e){return e.visitJoinOperand?e.visitJoinOperand(this):new ea(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))}}var ta=function(){var e=function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},t=[1,5],i=[1,8],r=[1,7],s=[1,24],a=[1,9],n=[1,10],o=[1,11],d=[1,12],l=[1,19],u=[1,13],c=[1,14],p=[1,15],h=[1,16],g=[1,17],m=[1,18],x=[1,21],f=[1,23],v=[1,22],b=[1,26],y=[1,27],_=[1,28],C=[1,29],w=[1,30],A=[1,31],E=[1,32],I=[1,33],S=[1,34],$=[1,35],k=[1,36],P=[1,37],D=[1,38],T=[1,39],F=[1,40],B=[1,41],O=[1,42],M=[1,43],N=[1,44],V=[1,45],z=[1,46],L=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],H=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,45,46,47,51,52,53],R=[1,54],j=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],W=[5,28,29,31,37,46],G=[1,93],U=[1,94],q=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],K=[5,20,21,26,27,28,29,31,32,37,46],Y=[5,20,21,22,23,24,25,26,27,28,29,31,32,37,46],J=[31,37],X=[1,105],Z={trace:function(){},yy:{},symbols_:{error:2,expressions:3,exp:4,EOF:5,const:6,propertyWithAgg:7,SOMETYPE:8,parameter: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:34,arguments:35,OP_BETWEEN:36,",":37,NAME_SOFT:38,STRING:39,NUMBER:40,OBJECT:41,BOOLEAN:42,GUID:43,property:44,"[":45,"]":46,".":47,agg:48,Count:49,Exists:50,FIELD_END:51,CH:52,ESC_CH:53,FIELD_START:54,"?":55,commaseparated:56,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",8:"SOMETYPE",10:"*",11:"/",12:"+",13:"-",14:"%",15:"|",16:"&",17:"^",18:"!",19:"~",20:"OP_EQ",21:"OP_NE",22:"OP_GT",23:"OP_LT",24:"OP_GE",25:"OP_LE",26:"OP_LIKE",27:"NOT",28:"AND",29:"OR",30:"(",31:")",32:"IS",33:"NULL",34:"OP_IN",36:"OP_BETWEEN",37:",",38:"NAME_SOFT",39:"STRING",40:"NUMBER",41:"OBJECT",42:"BOOLEAN",43:"GUID",45:"[",46:"]",47:".",49:"Count",50:"Exists",51:"FIELD_END",52:"CH",53:"ESC_CH",54:"FIELD_START",55:"?"},productions_:[0,[3,2],[4,1],[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],[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],[48,1],[48,1],[48,2],[44,2],[44,2],[44,2],[44,3],[44,3],[44,1],[44,1],[44,1],[9,2],[9,1],[35,2],[35,3],[56,1],[56,3]],performAction:function(e,t,i,r,s,a,n){var o=a.length-1;switch(s){case 1:return a[o-1];case 2:this.$=Fs.process("const",{value:a[o]});break;case 3:case 5:case 35:case 36:case 37:case 38:case 39:this.$=a[o];break;case 4:this.$=Fs.process("value",{value:a[o],isSomeType:!0});break;case 6:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Multiply});break;case 7:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Divide});break;case 8:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Plus});break;case 9:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Minus});break;case 10:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Modulo});break;case 11:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.BitwiseOr});break;case 12:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.BitwiseAnd});break;case 13:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.BitwiseXor});break;case 14:this.$=Fs.process("unary",{operatorType:Ps.Minus,operator:a[o]});break;case 15:this.$=Fs.process("unary",{operatorType:Ps.Plus,operator:a[o]});break;case 16:case 26:this.$=Fs.process("unary",{operatorType:Ps.Not,operator:a[o]});break;case 17:this.$=Fs.process("unary",{operatorType:Ps.BitwiseNot,operator:a[o]});break;case 18:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Equal});break;case 19:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.NotEqual});break;case 20:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Greater});break;case 21:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Less});break;case 22:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.GreaterOrEqual});break;case 23:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.LessOrEqual});break;case 24:this.$=Fs.process("binary",{left:a[o-2],right:a[o],operatorType:Ks.Like});break;case 25:this.$=Fs.process("unary",{operatorType:Ps.Not,operator:Fs.process("binary",{left:a[o-3],right:a[o],operatorType:Ks.Like})});break;case 27:this.$=Qs.combine(Ys.And,[a[o-2],a[o]]);break;case 28:this.$=Qs.combine(Ys.Or,[a[o-2],a[o]]);break;case 29:case 51:case 62:this.$=a[o-1];break;case 30:this.$=Fs.process("unary",{operatorType:Ps.IsNull,operator:a[o-2]});break;case 31:this.$=Fs.process("unary",{operatorType:Ps.Not,operator:Fs.process("unary",{operatorType:Ps.IsNull,operator:a[o-3]})});break;case 32:this.$=Fs.process("in",{criteriaOperator:a[o-2],operands:a[o]});break;case 33:this.$=Fs.process("between",{property:a[o-6],begin:a[o-3],end:a[o-1]});break;case 34:this.$=Fs.process("function",{operatorType:Js[a[o-1]]||a[o-1],operands:a[o]});break;case 40:this.$=null;break;case 41:this.$=ea.joinOrAggregate(Fs.process("property",{propertyName:a[o-5].name,startColumn:a[o-5].col,circumflex:a[o-5].circumflex,startLine:a[o-5].line,originalPropertyLength:n[o-5].last_column-n[o-5].first_column+1}),a[o-3],a[o].type,a[o].expr);break;case 42:this.$=ea.joinOrAggregate(Fs.process("property",{propertyName:a[o-4].name,startColumn:a[o-4].col,circumflex:a[o-4].circumflex,startLine:a[o-4].line,originalPropertyLength:n[o-4].last_column-n[o-4].first_column+1}),null,a[o].type,a[o].expr);break;case 43:this.$=ea.joinOrAggregate(Fs.process("property",{propertyName:a[o-2].name,startColumn:a[o-2].col,circumflex:a[o-2].circumflex,startLine:a[o-2].line,originalPropertyLength:n[o-2].last_column-n[o-2].first_column}),null,a[o].type,a[o].expr);break;case 44:this.$=ea.joinOrAggregate(Fs.process("property",{propertyName:a[o-3].name,startColumn:a[o-3].col,circumflex:a[o-3].circumflex,startLine:a[o-3].line,originalPropertyLength:n[o-3].last_column-n[o-3].first_column+1}),a[o-1],"Exists",null);break;case 45:this.$=ea.joinOrAggregate(Fs.process("property",{propertyName:a[o-2].name,startColumn:a[o-2].col,circumflex:a[o-2].circumflex,startLine:a[o-2].line,originalPropertyLength:n[o-2].last_column-n[o-2].first_column+1}),null,"Exists",null);break;case 46:this.$=Fs.process("property",{propertyName:a[o].name,startColumn:a[o].col,circumflex:a[o].circumflex,startLine:a[o].line,originalPropertyLength:n[o].last_column-n[o].first_column});break;case 47:this.$=ea.joinOrAggregate(Fs.process("property",{}),null,a[o].type,a[o].expr);break;case 48:this.$={type:"Count"};break;case 49:this.$={type:"Exists"};break;case 50:this.$={type:a[o-1],expr:a[o]};break;case 52:this.$={name:a[o-1].name+a[o],line:a[o-1].line,circumflex:a[o-1].circumflex,col:a[o-1].col};break;case 53:this.$={name:a[o-1].name+a[o].substr(1),line:a[o-1].line,circumflex:a[o-1].circumflex,col:a[o-1].col};break;case 54:a[o-2].circumflex&&a[o-2].started?this.$={name:"",line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col+2}:this.$={name:a[o-2].name+".",line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col};break;case 55:a[o-2].circumflex&&a[o-2].started?this.$={name:a[o],line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col+1}:this.$={name:a[o-2].name+"."+a[o],line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col};break;case 56:this.$={name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 57:this.$={name:a[o],line:n[o].first_line-1,col:n[o].first_column};break;case 58:this.$={circumflex:!0,started:!0,name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 59:this.$=Fs.process("parameter",{parameterName:a[o]});break;case 60:this.$=Fs.process("value",{});break;case 61:this.$=[];break;case 63:this.$=[a[o]];break;case 64:this.$=a[o-2].concat(a[o])}},table:[{3:1,4:2,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{1:[3]},{5:[1,25],10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,32:N,34:V,36:z},e(L,[2,2]),e(L,[2,3]),e(L,[2,4]),e(L,[2,5]),{4:47,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:48,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:49,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:50,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:51,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:52,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},e(H,[2,57],{35:53,30:R}),e(L,[2,35]),e(L,[2,36]),e(L,[2,37]),e(L,[2,38]),e(L,[2,39]),e(L,[2,40]),e(L,[2,46],{45:[1,55],47:[1,56],51:[1,57],52:[1,58],53:[1,59]}),{46:[1,60]},e(L,[2,60],{38:[1,61]}),e(H,[2,56]),e(H,[2,58]),{1:[2,1]},{4:62,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:63,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:64,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:65,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:66,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:67,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:68,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:69,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:70,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:71,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:72,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:73,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:74,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:75,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:76,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{26:[1,77]},{4:78,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{4:79,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},{27:[1,81],33:[1,80]},{30:R,35:82},{30:[1,83]},e(L,[2,14]),e(L,[2,15]),e(L,[2,16]),e(j,[2,17],{10:b,11:y,12:_,13:C,14:w}),e(W,[2,26],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,32:N,34:V,36:z}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,31:[1,84],32:N,34:V,36:z},e(L,[2,34]),{4:87,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,31:[1,85],33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v,56:86},{4:88,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,46:[1,89],54:f,55:v},{38:[1,92],48:90,49:G,50:U,54:[1,91]},e(H,[2,51]),e(H,[2,52]),e(H,[2,53]),{47:[1,95]},e(L,[2,59]),e(L,[2,6]),e(L,[2,7]),e(q,[2,8],{10:b,11:y,14:w}),e(q,[2,9],{10:b,11:y,14:w}),e(L,[2,10]),e([5,15,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,11],{10:b,11:y,12:_,13:C,14:w,16:E,17:I}),e(j,[2,12],{10:b,11:y,12:_,13:C,14:w}),e([5,15,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,13],{10:b,11:y,12:_,13:C,14:w,16:E}),e(K,[2,18],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:D,25:T,34:V,36:z}),e(K,[2,19],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:D,25:T,34:V,36:z}),e(Y,[2,20],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:V,36:z}),e(Y,[2,21],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:V,36:z}),e(Y,[2,22],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:V,36:z}),e(Y,[2,23],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:V,36:z}),e(K,[2,24],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:D,25:T,34:V,36:z}),{4:96,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},e(W,[2,27],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,32:N,34:V,36:z}),e([5,29,31,37,46],[2,28],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,32:N,34:V,36:z}),e(L,[2,30]),{33:[1,97]},e(L,[2,32]),{4:98,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},e(L,[2,29]),e(L,[2,61]),{31:[1,99],37:[1,100]},e(J,[2,63],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,32:N,34:V,36:z}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,32:N,34:V,36:z,46:[1,101]},e(L,[2,45],{47:[1,102]}),e(L,[2,43]),e(H,[2,54]),e(H,[2,55],{35:103,30:R}),e(L,[2,48]),e(L,[2,49]),{38:X,48:104,49:G,50:U},e(K,[2,25],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:D,25:T,34:V,36:z}),e(L,[2,31]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,32:N,34:V,36:z,37:[1,106]},e(L,[2,62]),{4:107,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},e(L,[2,44],{47:[1,108]}),{38:X,48:109,49:G,50:U},e(L,[2,50]),e(L,[2,47]),{30:R,35:103},{4:110,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:x,54:f,55:v},e(J,[2,64],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,32:N,34:V,36:z}),{38:X,48:111,49:G,50:U},e(L,[2,42]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:D,25:T,26:F,27:B,28:O,29:M,31:[1,112],32:N,34:V,36:z},e(L,[2,41]),e(L,[2,33])],defaultActions:{25:[2,1]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=this,i=[0],r=[null],s=[],a=this.table,n="",o=0,d=0,l=0,u=s.slice.call(arguments,1),c=Object.create(this.lexer),p={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(p.yy[h]=this.yy[h]);c.setInput(e,p.yy),p.yy.lexer=c,p.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var g=c.yylloc;s.push(g);var m=c.options&&c.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,f,v,b,y,_,C,w,A,E=function(){var e;return"number"!=typeof(e=c.lex()||1)&&(e=t.symbols_[e]||e),e},I={};;){if(v=i[i.length-1],this.defaultActions[v]?b=this.defaultActions[v]:(null==x&&(x=E()),b=a[v]&&a[v][x]),void 0===b||!b.length||!b[0]){var S="";for(_ in A=[],a[v])this.terminals_[_]&&_>2&&A.push("'"+this.terminals_[_]+"'");S=c.showPosition?"Parse error on line "+(o+1)+":\n"+c.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:c.match,token:this.terminals_[x]||x,line:c.yylineno,loc:g,expected:A})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+x);switch(b[0]){case 1:i.push(x),r.push(c.yytext),s.push(c.yylloc),i.push(b[1]),x=null,f?(x=f,f=null):(d=c.yyleng,n=c.yytext,o=c.yylineno,g=c.yylloc,l>0&&l--);break;case 2:if(C=this.productions_[b[1]][1],I.$=r[r.length-C],I._$={first_line:s[s.length-(C||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(C||1)].first_column,last_column:s[s.length-1].last_column},m&&(I._$.range=[s[s.length-(C||1)].range[0],s[s.length-1].range[1]]),void 0!==(y=this.performAction.apply(I,[n,d,o,p.yy,b[1],r,s].concat(u))))return y;C&&(i=i.slice(0,-1*C*2),r=r.slice(0,-1*C),s=s.slice(0,-1*C)),i.push(this.productions_[b[1]][0]),r.push(I.$),s.push(I._$),w=a[i[i.length-2]][i[i.length-1]],i.push(w);break;case 3:return!0}}return!0}},Q={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,i=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 r=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),i.length-1&&(this.yylineno-=i.length-1);var s=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:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[s[0],s[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(e.length>20?"...":"")+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)+(e.length>20?"...":"")).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 i,r,s;if(this.options.backtrack_lexer&&(s={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&&(s.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],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var a in s)this[a]=s[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),a=0;a<s.length;a++)if((i=this._input.match(this.rules[s[a]]))&&(!t||i[0].length>t[0].length)){if(t=i,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,s[r]))&&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 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(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=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,i,r){switch(i){case 0:return this.begin("INITIAL"),45;case 1:return this.begin("INITIAL"),51;case 2:return 53;case 3:return 52;case 4:case 49:return"INVALID";case 5:return 39;case 6:return 43;case 7:return 8;case 8:return 41;case 9:return 40;case 10:case 11:return 42;case 12:break;case 13:return 36;case 14:return 34;case 15:return 27;case 16:return 32;case 17:return 33;case 18:return 10;case 19:return 11;case 20:return 13;case 21:return 12;case 22:return 17;case 23:return 19;case 24:case 27:return 21;case 25:return 18;case 26:return 14;case 28:return 24;case 29:return 25;case 30:return 22;case 31:return 23;case 32:case 38:return 29;case 33:case 37:return 28;case 34:case 35:return 20;case 36:return 26;case 39:return 16;case 40:return 15;case 41:return this.begin("fieldname"),54;case 42:return 46;case 43:return 30;case 44:return 31;case 45:return 47;case 46:return 37;case 47:return 55;case 48:return 38;case 50: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,/^(?:##\w+#(?:[^\#]|(?:\.))*#)/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?|\.([0-9]+[mfMF]?))/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,/^(?:==)/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],inclusive:!0}}};function ee(){this.yy={}}return Z.lexer=Q,ee.prototype=Z,Z.Parser=ee,new ee}();const ia=ta;function ra(e){return ta.parse(e)}class sa{constructor(e,t,i,r){this.tokenName=e,this.alphabet=t,this.startTerm=i,this.endTerm=r,this.tokenLength=0,this.isActiveState=!1,this.tokens=[]}_isSubline(e,t){let i=e+t.length-1<this.alphabet.length;for(let r=e;r<e+t.length&&i;r++)i=this.alphabet[r]==t[r-e];return i}_getToken(e){const t={type:this.tokenName,start:e-this.tokenLength+1,end:e+this.endTerm.length};return t.val=this.alphabet.substring(t.start,t.end),t}processTransitionFunction(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}}class aa{constructor(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new sa("field",e,"[","]")),this.machineStates.push(new sa("value",e,"'","'")),this.machineStates.push(new sa("comment",e,"/*","*/")),this._inputStringCriteria=e}static parse(e,t=!1){return e&&""!==e?t?new aa(e).replaceCommentsToChar(" ").getCriteria():new aa(e).replaceCommentsToChar().getCriteria():null}_tokenize(){for(let e=0;e<this.stringCriteria.length;e++){let t=0;this.machineStates.forEach((i=>{if(t)return;this.machineStates.filter((e=>e!=i&&e.isActiveState)).length||(t=i.processTransitionFunction(e))})),e+=t}let e=[];return this.machineStates.forEach((t=>{e=e.concat(t.tokens),t.tokens=[]})),e}_replaceTokenToAnotherToken(e,t,i){let r=this.stringCriteria;return(e=e.filter((e=>e.type==i)).sort((e=>e.start)).reverse()).forEach((e=>{const i=e.val.split("\n");let s=e.start,a=e.end;i.forEach((i=>{a=i.length+s!==e.end?s+i.length:e.end,r=Ee(r,s,a-s,t),s=i.length*t.length+1}))})),r}replaceCommentsToChar(e=""){return this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this}getCriteria(){return ra(this._inputStringCriteria)}}class na{static _getCharFromKeyCode(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null}static _getCaretPosition(e){let t,i,r,s,a,n=-1,o=-1;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(n=e.selectionStart,o=e.selectionEnd):document.selection&&(i=document.selection.createRange(),i&&i.parentElement()==e&&(s=e.value.length,t=e.value.replace(/\r\n/g,"\n"),r=e.createTextRange(),r.moveToBookmark(i.getBookmark()),a=e.createTextRange(),a.collapse(!1),r.compareEndPoints("StartToEnd",a)>-1?n=o=s:(n=-r.moveStart("character",-s),n+=t.slice(0,n).split("\n").length-1,r.compareEndPoints("EndToEnd",a)>-1?o=s:(o=-r.moveEnd("character",-s),o+=t.slice(0,o).split("\n").length-1))))}catch(e){}return{start:n,end:o}}static _validate(e,t,i){if(!/^(0|(-?(([1-9]\d*)|(0\.\d+)|([1-9]\d*\.\d+)|(\d*\.\d+[eE][+\-]?\d+))))$/.test(e))return!1;if(!i)return!0;const r="-"===e[0],s=r?e.substring(1):e;if(r&&!t)return!1;const a=r?t.substring(1):i,[n,o]=s.toLowerCase().split("e"),[d,l]=a.toLowerCase().split("e");let u,c,p,h;[u,c]=n.split("."),[p,h]=d.split("."),u=(u||"").replace(/^0+/,""),p=(p||"").replace(/^0+/,"");let g=u.length;o&&(g+=parseInt(o));let m=p.length;return l&&(m+=parseInt(l)),g<m||!(g>m)&&(c=c||"0",h=h||"0",!(u+c>p+h))}static validateWidgetValue(e,t,i){t(e.component.option("value"))||e.component.option("value",i)}static getNumberEditorOptions(e,t,i={}){const r=na.editors[e]||na.editors[t];return r?na.getValueEditorOptions(r.regExpEditing,(e=>na._validate(e,r.minValue,r.maxValue)),"",i):i}static getValueEditorOptions(e,t,i,r={}){return D({},r,{onFocusIn:e=>{na.validateWidgetValue(e,t,i),na._invokeStandardHandler(r,"onFocusIn",e)},onKeyDown:t=>{const i=na._getCharFromKeyCode(t.event);if(!i)return;let s=x.fn.constructor(t.element).find("input").eq(0),a=na._getCaretPosition(s.get(0));const n=s.val();a.start<0&&(a=n?n.length:0);const o=[n.slice(0,a.start),i,n.slice(a.end)].join("");e.test(o)||t.event.preventDefault(),s=null,na._invokeStandardHandler(r,"onKeyDown",t)},onPaste:t=>{const i=t.event.originalEvent.clipboardData||window.clipboardData||{},s=i.getData&&i.getData("Text");if("string"!=typeof s)return;let a=x.fn.constructor(t.element).find("input").eq(0);const n=na._getCaretPosition(a.get(0)),o=a.val();n.start<0&&(n.end=n.start=o?o.length:0);const d=[o.slice(0,n.start),s,o.slice(n.end)].join("");e.test(d)||t.event.preventDefault(),a=null,na._invokeStandardHandler(r,"onPaste",t)},onValueChanged:e=>{e.value!==i&&this.validateWidgetValue(e,t,e.previousValue),na._invokeStandardHandler(r,"onValueChanged",e)}})}static isValid(e,t,i){const r=na.editors[e]||na.editors[t];return r.regExpEditing.test(i)&&na._validate(i,r.minValue,r.maxValue)}static _invokeStandardHandler(e,t,i){x.isFunction(e[t])&&e[t](i)}}function oa(e,t,i){const r=""+e;return na.isValid(i,"integer",r)?r:t}function da(e,t,i){if(i.filter((t=>e===t.value))[0])return e;const r=i.filter((t=>e===t.displayName||e===t.name))[0];return r?r.value:t}function la(e){const t=x.Deferred();try{const i=[],r=(t,r,s=!1)=>{const a=Se(Ke("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),s?"?"+r:"["+r+"]"),n=x.Deferred();e.fieldListProvider.getItemByPath(new Nr(t)).done((e=>n.resolve({success:!0}))).fail((i=>{t===r?n.resolve({success:!1,message:a}):e.fieldListProvider.getItemByPath(new Nr([t.split(".")[0],r].join("."))).done((e=>n.resolve({success:!0}))).fail((e=>n.resolve({success:!1,message:a})))})),i.push(n)};Zs(aa.parse(e.expression),((t,i)=>{if(t instanceof Us){const s=0===t.propertyName.indexOf("^.")?t.propertyName.substring(2):t.propertyName;let a=s;-1===(e.rootItems||[]).indexOf(s.split(".")[0])&&i&&(a=s?[i,s].join("."):i),r(a,s)}else if(t instanceof Gs){const e=t.parameterName;r("Parameters."+e,e,!0)}}),e.path),x.when.apply(x,i).done(((...e)=>t.resolve(e.reduce(((e,t)=>(t.success||(e=e?[e,t.message].join("\n"):t.message),e)),""))))}catch(e){t.reject()}return t.promise()}function ua(e,t,i){const r=""+e;return na.isValid(i,"float",r)?r:t}na.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"}};let ca=e=>(e=e||Ds().current())&&["dark","contrast"].some((t=>-1!==e.indexOf(t)));function pa(e){ca=e}function ha(e,t,i){if(!e||e<=0)return;const r=t.getCursorPosition();let s=i.lastIndexOf("(");"'"===i.charAt(s+1)&&s++,t.gotoLine(r.row+1,r.column-(i.length-1-s))}function ga(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function ma(e,t=".dx-designer-viewport"){return x.fn.constructor(e).closest(t)}function xa(e){return null==e||""===e}function fa(e){return Pi(e).generateProperty("toolbarItems",this.mapActionToViewModels(Xe.unwrap(this.toolbarItems))).generateProperty("processShortcut",(e=>this.processShortcut(Xe.unwrap(this.toolbarItems),e))).getViewModel()}function va(e,t){const i=e.displayText&&e.displayText()||e.text;let r=this._isActionDisabled(e),s=Xe.unwrap(e.selected),a=Xe.unwrap(e.imageClassName);const n=()=>{const t=["dxrd-toolbar-item-image","dxd-state-normal","dxd-icon-highlighted"];return a&&t.push(Xe.unwrap(e.imageClassName)),r&&t.push("dxrd-disabled-button"),s&&t.push("dxd-button-back-color dxd-back-highlighted dxd-state-active"),t.join(" ")},o=e=>e?"true":"false",d=Pi().generateProperty("aria-disabled",o(this._isActionDisabled(e))).generateProperty("aria-label",i);void 0!==e.selected&&d.generateProperty("aria-pressed",o(Xe.unwrap(e.selected)));const l=Pi().createDefaultModel(e).generateProperty("ref",Br()).generateProperty("disabled",this._isActionDisabled(e)).generateProperty("displayText",i).generateProperty("selected",Xe.unwrap(e.selected)).generateProperty("visible",this._isActionVisible(e)).generateProperty("templateName",e.templateName).generateProperty("hasSeparator",e.hasSeparator).generateProperty("click",(t=>{this._isActionDisabled(e)||e.clickAction(t)})).generateProperty("actionClass",`dxrd-toolbar-item-${t} ${e.hasSeparator?"dxrd-toolbar-item-with-separator dxd-border-primary":""}`).generateProperty("block",Pi().generateProperty("attr",d.getViewModel()).getViewModel()).generateProperty("image",Pi().generateProperty("templateName",Xe.unwrap(e.imageTemplateName)).generateProperty("class",n()).getViewModel()).getViewModel();if(this.subscribe(e.imageTemplateName,(e=>{l.image.templateName=e}),e.setImageTemplateNameChangedEvent),this.subscribe(e.imageClassName,(e=>{a=e,l.image.class=n()}),e.setImageClassNameChangedEvent),this.subscribe(e.disabled,(e=>{r=e,l.disabled=e,l.block.attr["aria-disabled"]=o(e),l.image.class=n()}),e.setDisabledChangedEvent),this.subscribe(e.visible,(e=>{l.visible=e}),e.setVisibleChangedEvent),this.subscribe(e.selected,(e=>{s=e,l.image.class=n(),l.block.attr["aria-pressed"]=o(e)}),e.setSelectedChangedEvent),this.subscribeOnChanges(e,l,["disabled","visible","selected"]),"contentData"in e)return Pi(l).generateProperty("contentData",e.contentData).getViewModel();if("zoom"in e){const t=Pi(l).generateProperty("templateName",e.templateName).generateProperty("getPopupContainer",ma).generateProperty("widget",Pi().generateProperty("dataSource",Xe.unwrap(e.zoomLevels)).generateProperty("displayExpr",e.displayExpr).generateProperty("value",Xe.unwrap(e.zoom)).generateProperty("onCustomItemCreating",e.onCustomItemCreating).generateProperty("onValueChanged",(t=>{Xe.isSubscribable(e.zoom)?e.zoom(t.value):e.setZoom(t.value)})).getViewModel()).getViewModel();return this.subscribe(e.zoomLevels,(e=>{t.widget.dataSource=e}),e.setZoomLevelsChangedEvent),this.subscribe(e.zoom,(e=>{t.widget.value=e}),e.setZoomChangedEvent),t}return l}var ba=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class ya extends Mi{constructor(e){super(),this.toolbarItems=[],this.enabled=e||(()=>!0)}createViewModel(){return fa.call(this,super.createViewModel())}subscribeOnChanges(e,t,i){i.forEach((i=>{Xe.isSubscribable(e[i])&&this.subscribe(e[i],(()=>{t[i]=Xe.unwrap(e[i])}))}))}subscribe(e,t,i){Xe.isSubscribable(e)?this._disposables.push(e.subscribe((e=>{t(e),this.events.call("propertyChanged")}))):i&&this._disposables.push({dispose:i((e=>t(e)))})}_isActionDisabled(e){return e.getDisabled?e.getDisabled():Xe.unwrap(e.disabled)}_isActionVisible(e){return e.getVisible?e.getVisible():Xe.unwrap(e.visible)}createActionViewModel(e,t){return va.call(this,e,t)}onPropertyChanged(e){}updateViewModel(e){"toolbarItems"===e.propertyName&&(this.getViewModel().toolbarItems=this.mapActionToViewModels(Xe.unwrap(this.toolbarItems)))}mapActionToViewModels(e){return e.map(((e,t)=>this.createActionViewModel(e,t)))}processShortcut(e,t){for(let i=0;i<e.length;i++){const r=e[i];if(r.hotKey&&r.hotKey.ctrlKey===t.ctrlKey&&r.hotKey.keyCode===t.keyCode){const e=!this._isActionDisabled(r),i=this._isActionVisible(r);e&&i&&(r.clickAction(),t.preventDefault())}}}shouldIgnoreProcessing(e){if(e.altKey||!this.enabled())return!0;const t=x.fn.constructor(document.activeElement);return!!(t.is("textarea")||t.is(":input")&&-1!=["password","text","number"].indexOf(t.attr("type")))}}ba([Fi((()=>[]))],ya.prototype,"toolbarItems",void 0);class _a extends ya{constructor(e,t,i,r,s,a,n=zt.observable(.01),o=(e=>!1)){super(s),this.menuItems=[];const d=new Is(t,a),l=[];if(t){const r=zt.computed((()=>t.selectedItems.some((e=>e.locked||o(e)))));this._disposables.push(r),this._keyboardHelper=new De(t,i),l.push({id:Ss.Cut,text:"Cut",displayText:()=>Ke("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:zt.pureComputed((()=>!e()||!d.canCopy()||r())),visible:!0,clickAction:()=>{i().start(),d.cut(),i().end()},hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),l.push({id:Ss.Copy,text:"Copy",displayText:()=>Ke("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:zt.pureComputed((()=>!e()||!d.canCopy()||r())),visible:!0,clickAction:()=>{d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),l.push({id:Ss.Paste,text:"Paste",displayText:()=>Ke("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:zt.pureComputed((()=>!e()||!d.canPaste()||r())),visible:!0,clickAction:()=>{i().start(),d.paste(),i().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),l.push({id:Ss.Delete,text:"Delete",displayText:()=>Ke("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:zt.pureComputed((()=>!t.focused()||(t.focused().getControlModel().getMetaData().isDeleteDeny||r()))),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},hasSeparator:!0,clickAction:()=>{i().start(),ps(t),i().end()}})}l.push({id:Ss.Undo,text:"Undo",displayText:()=>Ke("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:zt.pureComputed((()=>!e()||!i()||i()&&!i().undoEnabled())),visible:!0,clickAction:()=>{i().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),l.push({id:Ss.Redo,text:"Redo",displayText:()=>Ke("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:zt.pureComputed((()=>!e()||!i()||i()&&!i().redoEnabled())),visible:!0,clickAction:()=>{i().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),l.push({id:Ss.ZoomOut,text:"Zoom Out",displayText:()=>Ke("Zoom Out","AnalyticsCoreStringId.ZoomOut"),imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:zt.pureComputed((()=>!e())),visible:!0,hotKey:{ctrlKey:!0,keyCode:109},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{e().zoom(Math.max(e().zoom()-n(),.01))},hasSeparator:!0}),l.push({id:Ss.ZoomSelector,text:"Zoom 100%",displayText:()=>Ke("Zoom 100%"),imageClassName:"dxrd-image-zoom",disabled:zt.pureComputed((()=>!e())),visible:!0,hotKey:{ctrlKey:!0,keyCode:187},displayExpr:function(e){return Math.round(100*(e||this.option("value")))+"%"},templateName:"dxrd-zoom-select-template",zoomLevels:zt.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:zt.pureComputed({read:()=>e()&&e().zoom(),write:t=>{e()&&e().zoom(t)}}),isContextMenuAction:!1,onCustomItemCreating:e=>{e.customItem=$s(e.text)}}),l.push({id:Ss.ZoomIn,text:"Zoom In",displayText:()=>Ke("Zoom In","AnalyticsCoreStringId.ZoomIn"),imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:zt.pureComputed((()=>!e())),visible:!0,hotKey:{ctrlKey:!0,keyCode:107},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{e().zoom(e().zoom()+n())}}),r&&r(l),l.forEach((e=>{Object.keys(e).forEach((t=>{zt.isComputed(e[t])&&this._disposables.push(e[t])})),this._registerAction("menu"===e.container?this.menuItems:zt.unwrap(this.toolbarItems),e)}))}createViewModel(){return Pi(super.createViewModel()).generateProperty("menuItems",this.mapActionToViewModels(zt.unwrap(this.menuItems))).generateProperty("toolbarItems",this.mapActionToViewModels(Xe.unwrap(this.toolbarItems))).generateProperty("processShortcut",(e=>this.processShortcut(Xe.unwrap(this.toolbarItems),e))).getViewModel()}_registerAction(e,t){t.index?e.splice(t.index,0,t):e.push(t)}processShortcut(e,t){this.shouldIgnoreProcessing(t)||(this._keyboardHelper.processShortcut(t)?t.preventDefault():super.processShortcut(e,t))}}function Ca(e){return e&&"length"in e?e[0]:e}const wa=e=>{let t=e;Array.isArray(t)||"string"==typeof e||(t=Ca(e));let i=null,r=0;const s={};return"string"==typeof t?(i=document.querySelector(t),r=document.querySelectorAll(t).length):Array.isArray(t)?(i=t[0],t.forEach(((e,t)=>s[t]=e)),r=t.length):t&&"object"==typeof t&&(i=t,s[0]=i,r=1),Object.assign(Object.assign({},s),{length:r,element:i,isVisible:()=>{if(!i)return;const e=getComputedStyle(i);return"none"!==e.display&&"hidden"!==e.visibility},is:e=>"string"==typeof e?null==i?void 0:i.matches(e):i===e,has:e=>null==i?void 0:i.contains(e),hasClass:e=>{if(i)return i.classList.contains(e)},width:()=>null==i?void 0:i.getBoundingClientRect().width,height:()=>null==i?void 0:i.getBoundingClientRect().height,outerWidth:()=>{if(!i)return;return i.offsetWidth+(parseFloat(getComputedStyle(i).paddingLeft)+parseFloat(getComputedStyle(i).paddingRight))+(parseFloat(getComputedStyle(i).borderLeftWidth)+parseFloat(getComputedStyle(i).borderRightWidth))},outerHeight:()=>{if(!i)return;return i.offsetHeight+(parseFloat(getComputedStyle(i).paddingTop)+parseFloat(getComputedStyle(i).paddingBottom))+(parseFloat(getComputedStyle(i).borderTopWidth)+parseFloat(getComputedStyle(i).borderBottomWidth))},empty:()=>{for(;null==i?void 0:i.firstChild;)i.removeChild(i.firstChild);return wa(i)},hide:()=>(i&&(i.style.display="none"),wa(i)),show:()=>(i&&(i.style.display="block"),wa(i)),find:(e,t=!1)=>{if(!i)return wa(void 0);-1!==e.indexOf(":visible")&&(t=!0,e=e.split(":visible")[0]);let r=Array.from(i.querySelectorAll(e)).map((e=>wa(e)));return t&&(r=r.filter((e=>e.isVisible()))),r[0]||wa(void 0)},closest:e=>wa(null==i?void 0:i.closest(e)),css:(e,t)=>{if(i){if("string"==typeof e)return t&&i.style.setProperty(e,t),getComputedStyle(i)[e]||"";if("object"==typeof e)for(const t in e)e.hasOwnProperty(t)&&i.style.setProperty(t,e[t])}},children:e=>{if(!i)return wa(void 0);const t=i.children;return Array.from(t).filter((t=>t.matches(e))).map((e=>wa(e)))[0]||wa(void 0)},addClass:e=>i?(i.classList.add(e),wa(i)):wa(i),removeClass:e=>i?(i.classList.remove(e),wa(i)):wa(i),parentElement:()=>wa(i?i.parentElement:i),offset:()=>{if(!i)return;const e=i.getBoundingClientRect();return{left:e.left+window.scrollX,top:e.top+window.scrollY}},position:()=>{if(!i)return;const e=i.getBoundingClientRect(),t=i.offsetParent,r=window.pageXOffset||document.documentElement.scrollLeft,s=window.pageYOffset||document.documentElement.scrollTop;return{left:e.left+r-(t?t.offsetLeft:0),top:e.top+s-(t?t.offsetTop:0)}},get:e=>s[e],append:e=>{if(!i)return;const t=document.createElement("div");for(t.innerHTML=e.trim();t.firstChild;)i.appendChild(t.firstChild)},prepend:e=>{i&&i.prepend(e)}})};class Aa extends F{constructor({actions:e,target:t,getClickAtionParams:i,contextMenusEnabled:r}){super(),this.hideOnOutsideClick=!0,this.actions=e,this.target=t;const s=()=>this.actions().reduce(((e,t)=>{var i;return t.group?[...e,{text:t.group,items:t.items.filter((e=>{var t;return null===(t=e.isContextMenuAction)||void 0===t||t}))}]:null===(i=t.isContextMenuAction)||void 0===i||i?[...e,t]:e}),[]);this.dataSource=zt.observable(s()),this.addDisposable(this.actions.subscribe((e=>{this.dataSource(s())}))),this.itemTemplate=(e,t,i)=>{if(e.hasSeparator){const e=document.createElement("div");e.style.borderBottomWidth="1px",e.style.borderBottomStyle="solid",e.style.color="#E6E6E6",e.style.width="100%",wa(i).parentElement().prepend(e)}return wa(i).css({padding:"3px 5px 5px"}),st("dxrd-context-menu-item")},this.onItemClick=e=>{if((!("disabled"in e.itemData)||!zt.unwrap(e.itemData.disabled))&&e.itemData.clickAction){const t=i&&i();e.itemData.clickAction(t&&t.getViewModel()),e.component.hide()}},this.onInitialized=e=>{this.component=e.component},this.onOptionChanged=e=>{var t,i;if("visible"===e.name&&e.value&&(null===(i=null===(t=e.component._overlay)||void 0===t?void 0:t._positionController)||void 0===i?void 0:i.$container[0])){const t=document.getElementsByClassName("dx-designer-viewport")[0];e.component._overlay._positionController.$container[0]=t}},this.disabled=zt.observable(!r()),this._disposables.push(r.subscribe((e=>{this.disabled(!e)})))}hide(){this.component&&this.component.hide()}}class Ea{isPropertyVisible(e){if(!e._get("_model"))return!1;const t=e._get("_model");let i=!t.isPropertyVisible||t.isPropertyVisible(e.name);return i&&(i=this._calculateAccessibilityByPropertyInfo(t,e._get("info").visible,!0)),i}isPropertyDisabled(e){if(!e._get("_model"))return!0;const t=e._get("_model");return t.isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(t,e._get("info").disabled,!1)}_calculateAccessibilityByPropertyInfo(e,t,i){let r;return r=Xe.isSubscribable(t)?t():"function"==typeof t?t(e):void 0!==t?t:i,r}}const Ia=new Ea,Sa=DevExpress.validationEngine;var $a=e.n(Sa);class ka extends F{constructor(e){super(),this._editor=e,this._lastValidatorOptions=null,this._lastModelOverridableRules=null,this._onValidatedHandler=void 0}dispose(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,super.dispose()}_isValid(e,t){return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach((e=>e&&(e.validator=this.validatorInstance))),this.validatorInstance.validate()):$a().validate(t,e,this._editor._get("displayName"))}get validatorInstance(){return this._validatorInstance}set validatorInstance(e){this._validatorInstance&&this.onValidatedHandler&&this._validatorInstance.off("validated",this._onValidatedHandler),this._validatorInstance=e}get onValidatedHandler(){return this._onValidatedHandler}set onValidatedHandler(e){this._onValidatedHandler&&this.validatorInstance&&(this.validatorInstance.off("validated",this._onValidatedHandler),this._onValidatedHandler=e,e&&this.validatorInstance.on("validated",this._onValidatedHandler))}getValidationRules(){const e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])}getValidatorOptions(e={}){const t=this._editor.peek(this._editor._get("info","wrapped"));if(!t)return;let i=this._lastValidatorOptions;const r=this._editor._getEditorValidationRules();if(i&&!this.areRulesChanged(r))return i;this._lastModelOverridableRules=r;const s=this._concatValidationRules(t.validatorOptions,r),a="function"==typeof t.editor.extendedOptions?t.editor.extendedOptions():t.editor.extendedOptions,n=null==a?void 0:a.validatorOptions;return i=D({},e,t.validatorOptions,{validationRules:s},n),this._wrapValidatorEvents(i),this._lastValidatorOptions=i,i}areRulesChanged(e){return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||!e.every((e=>this._lastModelOverridableRules.some((t=>e.message===t.message&&e.validationCallback===t.validationCallback&&e.type===t.type)))):e&&e.length}wrapOnValidatorInitialized(e){const t=e.onInitialized,i=this;e.onInitialized=function(e){i._onValidatorInitialized(e),t&&t.apply(this,arguments)}}_onValidatorInitialized(e){this.validatorInstance=e&&e.component}_concatValidationRules(e,t){return e&&e.validationRules||t?((e||{}).validationRules||[]).concat(t||[]):null}_wrapValidatorEvents(e){if(e&&e.validationRules&&e.validationRules.length)return this.wrapOnValidatorInitialized(e),e}assignWithValidation(e,t){const i=this.getValidationRules(),r=!i||i.some((e=>e.assignValueFirst));r&&t();const s=this._isValid(i,e);s.isValid?r||t():s.brokenRule&&s.brokenRule.isDeferred&&(this.onValidatedHandler=e=>{this.onValidatedHandler=void 0,e.isValid&&t()})}}function Pa(e){let t;const i=Pi(e).generateProperty("getOptions",(e=>this.getOptions(Object.assign({onValueChanged:e=>{this._set("value",e.value)}},e)))).generateProperty("onValueChanged",(e=>{this._set("value",e.value)})).generateProperty("getPopupContainer",ma).generateProperty("setCollapsed",(e=>{this._set("collapsed",e)})).generateProperty("editorOptions",this.unwrap(this.editorOptions)).generateProperty("extendedOptions",this._getExtendedOptions()).generateProperty("getCollapsed",(()=>this._get("collapsed"))).generateProperty("setCollapsedChangedEvent",(e=>(t=e,()=>t=void 0))).generateProperty("editorCreated",this.unwrap(this.editorCreated)).generateProperty("getLocalization",te).generateProperty("getValidatorOptions",(e=>this.getValidatorOptions(e))).generateProperty("onCustomItemCreating",(e=>({value:e.text,displayValue:e.text}))).generateProperty("value",this.unwrap(this.value)).generateProperty("disabled",this.unwrap(this.disabled)).generateProperty("displayName",this.unwrap(this.displayName)).generateProperty("description",this.unwrap(this.description)).generateProperty("editorDescriptionAddon",this.editorDescriptionAddon).generateProperty("validationRules",this.unwrap(this.validationRules)).generateProperty("validatorOptions",this.unwrap(this.validatorOptions)).generateProperty("level",this.unwrap(this.level)).generateProperty("padding",this.unwrap(this.padding)).generateProperty("editorInputId",this.editorInputId).generateProperty("values",this.unwrap(this.values)).generateProperty("info",this.unwrap(this.info)).generateProperty("templateName",this.unwrap(this.templateName)).generateProperty("contentTemplateName",this.unwrap(this.contentTemplateName)).generateProperty("editorTemplate",this.unwrap(this.editorTemplate)).generateProperty("isPropertyHighlighted",this.unwrap(this.isPropertyHighlighted)).generateProperty("collapsed",this.unwrap(this.collapsed)).generateProperty("isComplexEditor",this.isComplexEditor).generateProperty("headerId",this.headerId).generateProperty("contentId",this.contentId).generateProperty("alwaysShow",this.unwrap(this.alwaysShow)).generateProperty("textToSearch",this.unwrap(this.textToSearch)).generateProperty("isRequired",this.isRequired).generateProperty("isPropertyModified",this.unwrap(this.isPropertyModified)).generateProperty("visible",this.unwrap(this.visible)).generateProperty("setIsRendered",(e=>this.setIsRendered(e))).getViewModel();return this.subscribeOnChanges(i,["value","disabled","displayName","validationRules","validatorOptions","level","padding","values","info","templateName","isPropertyHighlighted","textToSearch","collapsed","alwaysShow","isPropertyModified","editorOptions","editorCreated","visible"]),this.addDisposable(this.subscribeProperty("collapsed",(e=>{t&&t()}))),i}var Da=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};function Ta(e){return e instanceof Fa?e:e.getModel()}class Fa extends Ni{constructor(e,t,i,r=void 0,s,a,n="multiplatform"){super(void 0,void 0,n),this.rtl=li()().rtlEnabled,this._validator=new ka(this),this._cachedValue=void 0,this.isRequired=!1,i||(i=this._getEngine().wrap(!1)),this.assignProperty("info",e),this.addDisposable(this.createComputedProperty("displayName",{read:()=>{const e=this._get("info");return e&&Ke(e.displayName,e.localizationId)},write:e=>{}},[L(this,["info"])])),this.addDisposable(this.createComputedProperty("description",{read:()=>{const e=this._get("info");return e&&Ke("",e.descriptionLocalizationId||`${e.localizationId}.Description`)},write:e=>{}},[L(this,["info"])])),a&&this.unwrap(this.description)&&(this.editorDescriptionAddon=Ba(this,a)),r&&(this.textToSearch=r,this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",(()=>this._get("isParentSearched")||!!Ce(this._get("displayName"),r())),[L(this,["isParentSearched","displayName"])])),this.padding=this._setPadding(this.rtl?"right":"left",t*Os()),this.assignProperty("defaultValue",null);const o=e.propertyName;this.addDisposable(this.createComputedProperty("_editorOptions",(()=>this._get("info").editorOptions),[L(this,["info"])])),this.validatorOptions=e.validatorOptions,this.isRequired=e.isRequired,void 0!==e.defaultVal&&this.assignProperty("defaultValue",e.defaultVal),e.from&&(this.defaultValue=e.from(e.defaultVal,"multiplatform"===this._engineType?W():j())),e.array&&this.assignArrayProperty("defaultValue",[]),this.addDisposable(this.createComputedProperty("values",(()=>{const e=this._get("info");let t=e.valueStore||e.valuesArray;return t||(t=this.unwrap(e.values),t?Object.keys(t).map((e=>({value:e,displayValue:t[e]}))):void 0)}),[L(this,[{propertyName:"info",subscribables:["values","valueStore","valuesArray"]}])])),this.level=t,this._init(e.editor,o),this.addDisposable(this.createComputedProperty("disabled",(()=>{const e=this._get("_accessibilityProvider"),t=this._get("_parent");return t&&t._get("disabled")||e&&e.isPropertyDisabled(this)}),[L(this,["_accessibilityProvider",{propertyName:"_parent",subscribables:["disabled"]},{propertyName:"_model",subscribables:"*"}]),L(this._get("_model"),"*")])),this.addDisposable(this.createComputedProperty("visible",(()=>{const e=this._get("_accessibilityProvider");return this._get("isSearchedProperty")&&e&&e.isPropertyVisible(this)}),[L(this,["_accessibilityProvider",{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyModified",(()=>{const e=this._get("_model");return!!(e&&e.isPropertyModified&&e.isPropertyModified(this.name))}),[L(this,[{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyHighlighted",(()=>{if(this._shouldSkipHighlighting(this.name))return!1;const e=this._get("_model");return!!(e&&e.isPropertyHighlighted&&e.isPropertyHighlighted(this.name))}),this._shouldSkipHighlighting(this.name)?[]:[L(this,[{propertyName:"_model",subscribables:"*"}])])),this.headerId=`dxrd-accordion-trigger-${Br()}`,this.contentId=`dxrd-accordion-pannel-${Br()}`,this.editorInputId=`dxrd-editor-${Br()}`}createViewModel(){return Pa.call(this,super.createViewModel())}_setPadding(e,t){const i={};return i["padding-"+e]=t,i}dispose(){this._validator&&this._validator.dispose(),this._validator=null,this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),super.dispose(),this._cachedValue=null,this._set("_model",null)}_shouldSkipHighlighting(e){return this.isComplexEditor}_assignValue(e,t,i,r){G.setPropertyValue(t,r,i,e)}_roundTwoDesemialsForUnitProperties(e,t,i){const r=t&&t.constructor&&t.constructor.unitProperties;return r&&-1!==r.indexOf(i)?Gt(e):e}_init(e,t){e=e||Ht.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this.addDisposable(this.createComputedProperty("value",{read:()=>{const e=this._get("_model");if(!e&&this._cachedValue)return this._cachedValue;const i=e&&void 0!==e[t]?e[t]:this._get("defaultValue","wrapped");if(i&&"object"!=typeof i&&!i.push){const r=this.unwrap(i),s=null!=r;return this._cachedValue=s?this._roundTwoDesemialsForUnitProperties(r,e,t):void 0,this._cachedValue}return this._cachedValue=i,this._cachedValue},write:e=>{const i=this._get("_model");if(!i)return;const r=i[t];this._validator.assignWithValidation(e,(()=>{this._assignValue(r,i,e,t)}))}},[L(this,["defaultValue",{propertyName:"_model",subscribables:[t]}])])),this.name=t,this.editorTemplate=e&&e.custom||"dx-property-editor"}_getInfoFromModel(e){if(!e)return null;const t=e.getInfo&&e.getInfo();return t?t.filter((e=>e.propertyName===this.name))[0]:null}onPropertyChanged(e){const t=this.__viewModel;t&&this.values&&("value"==e.propertyName||"values"==e.propertyName)&&(t.values=this.unwrap(this.values))}update(e){if(e){const t=this._getInfoFromModel(e),i=t&&_e(t.editor,this._get("info").editor);i&&this._get("info")!==t&&this._set("info",t),this._set("_model",!(this.name in e)||!i&&t?null:e)}else this._set("_model",null)}getOptions(e){return D(!0,{},e,this.editorOptions,this._getExtendedOptions())}_getExtendedOptions(){const e=this._get("info","peek").editor.extendedOptions;return"function"==typeof e?e():e}getValidatorOptions(e){return this._validator&&this._validator.getValidatorOptions(e)}registerAccessibilityProvider(e){this._get("_accessibilityProvider")!=e&&this._set("_accessibilityProvider",e)}assignParent(e){this._get("_parent")!=e&&this._set("_parent",e)}_getEditorValidationRules(){const e=this.unwrap(this.info);if(!e)return;const t=e.validationRules;return t||(null===t?null:[])}getValidationRules(){return this._validator&&this._validator.getValidationRules()}setIsRendered(e){this._set("isRendered",e)}get validationRules(){return this.getValidationRules()}get fullDisplayName(){var e;return this._get("displayName")+(null!==(e=this.parentName)&&void 0!==e?e:"")}getPopupServiceActions(){const e=this._get("_model");if(!e)return;const t=(e.actions||[]).concat();return(e.actionProviders||[]).forEach((e=>{(e&&e.getActions(this.name)||[]).forEach((e=>t.push(e)))})),t}get editorOptions(){return this.unwrap(this._editorOptions)}get isComplexEditor(){return!!this.contentTemplateName}}function Ba(e,t){const i=Ta(e);return{templateName:"dx-property-grid-editor-description",data:{onClick:e=>{t.data=i._get("description"),t.target=e.element,t.visible=!t.visible}}}}Da([Fi()],Fa.prototype,"_model",void 0),Da([Fi(null)],Fa.prototype,"_parent",void 0),Da([Fi(!0)],Fa.prototype,"isSearchedProperty",void 0),Da([Fi(!1)],Fa.prototype,"isParentSearched",void 0),Da([Fi((()=>Ia))],Fa.prototype,"_accessibilityProvider",void 0),Da([Fi(!1)],Fa.prototype,"isEditorSelected",void 0),Da([Fi(!1)],Fa.prototype,"isRendered",void 0),Da([Fi(!0)],Fa.prototype,"editorCreated",void 0),Da([Fi(!0)],Fa.prototype,"collapsed",void 0),Da([Fi(!1)],Fa.prototype,"alwaysShow",void 0);class Oa extends Ni{constructor(e,t,i){super(void 0,void 0,i),this.templateName=null,this._editor=e,this._popupService=t,this.addDisposable(this.createComputedProperty("_actions",(()=>(e.getPopupServiceActions()||[]).filter((e=>this.actionFilter(e)))),[],void 0,!0),this.createComputedProperty("visible",(()=>this._get("_actions").length>0),[],void 0,!0),this.createComputedProperty("hint",(()=>{const e=[];return this._get("_actions").forEach((t=>this._getTitles(t,[],e))),e.join("\n")}),[],void 0,!0),this.createComputedProperty("editorMenuButtonCss",(()=>{const t=e._get("_model");return t&&t.getActionClassName&&t.getActionClassName(e.name)||""}),[],void 0,!0),this.createComputedProperty("imageTemplateName",{read:()=>{if(void 0!==this._imageTemplateName)return this._imageTemplateName;const t=e._get("_model");return t&&t.getMenuBoxTemplate&&t.getMenuBoxTemplate(e.name)||""},write:e=>{this._imageTemplateName=e}},[],void 0,!0))}_updateActions(e){this._popupService.actions([]),e&&e.length&&(e.sort(((e,t)=>e.title<t.title?-1:e.title>t.title?1:0)).sort(((e,t)=>(e.weight||0)-(t.weight||0))),this._wrapVisibleItems(e,this._editor.name).forEach((e=>{this._popupService.actions.push(e)})))}_getTitles(e,t=[],i=[]){const r=Xe.unwrap(e.title);(e.items||[]).forEach((e=>{const s=r?t.concat([r]):t;this._getTitles(e,s,i)}));const s=Xe.unwrap(e.hint);if(!s||!r)return;const a=t.concat([r]).join(". ");return i.push(a+":\n"+s+"\n"),i}_wrapVisibleItems(e,t){if(e)return e.map((e=>this._wrapActionClick(e,t))).filter((e=>!!e))}_wrapActionClick(e,t){return this.actionFilter(e)?{id:e.id,items:this._wrapVisibleItems(e.items,t),innerTemplate:e.innerTemplate,itemTemplate:e.itemTemplate,action:()=>{e.action(t),this._popupService.visible(!1)},title:e.title,hint:e.hint,visible:()=>!0}:null}showPopup(e,t){this._popupService.title(this._editor._get("displayName")),this._updateActions(this._editor.getPopupServiceActions()),this._popupService.target(t),this._popupService.visible(!0)}actionFilter(e){return e.visible(this._editor.name)}}class Ma extends Ni{constructor(e,t,i=0,r=G.wrap(!1),s=!1,a,n,o,d="multiplatform"){super(void 0,void 0,d),this.recreateEditors=s,this.popover=o,this._viewModelSubscription=null,this._infoSubscription=null,this._getInfoComputed=null,this._accessibilityProvider=Ia,this.level=0,this.rtl=li()().rtlEnabled,n&&(this.createEditorAddOn=e=>{const t=Ta(e),i=new Oa(t,this.popupService,d);return t._disposables.push(i),{templateName:"dx-editor-addons",data:[i]}},this.popupService=n),o&&(this.createEditorDescriptionAddOn=e=>Ba(e,this.popover)),this.assignArrayProperty("_editors",[],{deferred:!0}),this.level=i,this._parentDisabled=r,this._textToSearch=a,this.addDisposable(this.createComputedProperty("visible",(()=>this._get("_editors").some((e=>e._get("visible")))),[L(this,[{propertyName:"_editors",subscribables:["visible"]}])])),this.updateModel=e=>{this._infoSubscription&&this._infoSubscription(),this._update(e,t,s)},this._viewModelSubscription=G.subscribeValue(e,(e=>{this.updateModel(e)})),this.updateModel(this.unwrap(e))}createViewModel(){var e;const t=()=>this.editors.map((e=>{const t=e.getViewModel();return this.createEditorAddOn&&(t.createEditorAddOn=e=>this.createEditorAddOn&&this.createEditorAddOn(e.getModel())),t})),i=Pi(super.createViewModel()).generateProperty("editors",t()).generateProperty("rtl",this.rtl).generateProperty("popover",null===(e=this.popover)||void 0===e?void 0:e.getViewModel()).getViewModel();return this.addDisposable(this.subscribeProperty("_editors",(e=>{i.editors=t()}))),i}update(e){e&&this._get("_editors").forEach((t=>{t.update(e)}))}_cleanEditorsSubscriptions(){this._get("_editors").forEach((e=>{e.dispose()}))}dispose(){super.dispose(),this._get("_editors").forEach((e=>e.dispose())),this._set("_editors",[]),this.cleanSubscriptions()}cleanSubscriptions(){this._infoSubscription&&this._infoSubscription(),this._viewModelSubscription&&this._viewModelSubscription(),this._cleanEditorsSubscriptions()}cleanEditors(){this._cleanEditorsSubscriptions(),this._set("_editors",[])}findEditorByInfo(e){return this._get("_editors").filter((t=>t.name===e.propertyName&&_e(t._get("info").editor,e.editor)))[0]}createEditor(e){const t=new(e.editor&&e.editor.editorType||Fa)(e,this.level,this._parentDisabled,this._textToSearch,this.popupService,this.popover,this._engineType);return t.assignParent(this._parent),t.registerAccessibilityProvider(this._accessibilityProvider),t}createEditors(e){return(e||[]).filter((e=>!!e.editor&&!this.findEditorByInfo(e))).map((e=>this.createEditor(e)))}registerAccessibilityProvider(e){this._accessibilityProvider=e,this._get("_editors").forEach((t=>{t.registerAccessibilityProvider(e)}))}assignParent(e){this._parent=e,this._get("_editors").forEach((t=>{t.assignParent(e)}))}_createEditors(e){if(!e||0===e.length)return!1;const t=this.createEditors(e);if(!t.length)return;let i=this._get("_editors");0===i.length?i=t:t.forEach((e=>{const t=i.map((e=>e.name)).indexOf(e.name);-1!==t?i.splice(t,0,e):i.push(e)})),this._set("_editors",i)}updateEditorsInfo(e,t){this.recreateEditors&&this.cleanEditors(),this._recreateEditors(e,t)}_update(e,t,i){i&&this.cleanEditors();const r=this.createComputedProperty("_getInfoComputed",(()=>t&&t.editors&&this.unwrap(t.editors)||e&&e.getInfo&&e.getInfo()),[L(e,["getInfo"])]),s=t=>{i&&this.cleanEditors(),this._recreateEditors(e,t)},a=this.subscribeProperty("_getInfoComputed",(e=>{s(e)}));this._infoSubscription=()=>{r(),a()},this._recreateEditors(e,this._get("_getInfoComputed"))}_recreateEditors(e,t){this._createEditors(t),this.update(e)}getEditors(){return this._get("_editors")}get editors(){return this.getEditors()}}class Na extends Fa{constructor(e,t,i,r,s,a,n){super(e,t,i,r,s,a,n),this._popupService=s,this._popover=a,this.addDisposable(this.createComputedProperty("_editorInfo",(()=>{const e=this._get("value");return e&&e.getInfo&&e.getInfo()||this._get("info").info}),[L(this,[{propertyName:"value",subscribables:["getInfo"]},"info"])])),this._set("editorCreated",!1),this.viewmodel=this.createObjectProperties(),k(this.viewmodel)||this.viewmodel.assignParent(this),this._disposables.push(this.viewmodel);const o=this.subscribeProperty("collapsed",(e=>{e||(o(),this._set("editorCreated",!0))}));this.addDisposable(o),r&&(this.addDisposable(this.createComputedProperty("visibleByName",(()=>{const e=!!Ce(this._get("displayName"),r());return k(this.viewmodel)||this.viewmodel._get("_editors").forEach((t=>t._set("isParentSearched",e))),e}),[L(this,["displayName",{propertyName:"viewModel",subscribables:["_editors"]}])])),this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",(()=>{if(this._get("visibleByName"))return!0;const e=this.viewmodel._get("visible");return e&&this._set("collapsed",!1),e}),[L(this,["visibleByName",{propertyName:"viewmodel",subscribables:["visible"]}])]))}createViewModel(){return Pi(super.createViewModel()).generateProperty("viewmodel",this.viewmodel&&this.viewmodel.getViewModel()).getViewModel()}createObjectProperties(){return this.addDisposable(this.subscribeProperty("value",(()=>{this.viewmodel.updateModel(this._get("value"))}))),new Ma(this._get("value"),{editors:this._get("_editorInfo","wrapped")},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch,this._popupService,this._popover,this._engineType)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.viewmodel.registerAccessibilityProvider(e)}}class Va extends Na{createObjectProperties(){return this._set("collapsed",!1),this._set("editorCreated",!0),this.level=-1,super.createObjectProperties()}}class za extends F{constructor(e,t,i,r=!0,s){if(super(),this.editors=zt.observableArray([]).extend({deferred:!0}),this.editorsCreated=zt.observable(!1),this.editorsRendered=zt.observable(!1),this._displayName=e,this.displayName=s||(()=>Ke(e)),this._serializationsInfo=t,this.collapsed=zt.observable(r),r){const e=this.collapsed.subscribe((t=>{e.dispose(),this.editorsRendered(!0)}));this._disposables.push(e)}this.recreate=()=>{this.editors(i(t)),this._accessibilityProvider&&this.editors().forEach((e=>{e.registerAccessibilityProvider(this._accessibilityProvider)}))},this.editors(i(t)),this.visible=zt.computed((()=>this.editors().some((e=>e._get("visible"))))),this._disposables.push(this.visible)}resetEditors(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}dispose(){super.dispose(),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}update(e){this._viewModel=e,this.editors().forEach((e=>{e.update(this._viewModel)}))}registerAccessibilityProvider(e){this._accessibilityProvider=e,this.editors().forEach((t=>{t.registerAccessibilityProvider(e)}))}}class La{constructor(){this.data=zt.observable(),this.title=zt.observable(),this.visible=zt.observable(!1),this.disabled=zt.observable(!1),this.actions=zt.observableArray([]),this.target=zt.observable()}}const Ha=DevExpress.ui.dxTextBox;var Ra=e.n(Ha),ja=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class Wa extends Mi{createViewModel(){return Pi(super.createViewModel()).generateProperty("data",this.data).generateProperty("target",this.target).generateProperty("visible",this.visible).generateProperty("onHiding",(()=>{this.onHiding()})).generateProperty("getPopupContainer",ma).getViewModel()}updateViewModel(e){const t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"target"===e.propertyName&&(t.target=this.target),"data"===e.propertyName&&(t.data=this.data)}onPropertyChanged(e){}onHiding(){this.visible=!1}}ja([Fi(!1)],Wa.prototype,"visible",void 0),ja([Fi(void 0)],Wa.prototype,"target",void 0),ja([Fi("")],Wa.prototype,"data",void 0);class Ga extends Ma{constructor(e,t,i=0,r=!0,s=!0){super(e,t,i,void 0,void 0,zt.observable(""),r&&new La,s&&new Wa),this.focusedItem=zt.observable(),this.editorsRendered=zt.observable(!1),this.isSortingByGroups=zt.observable(!0),this.isSearching=zt.observable(!1),this.allEditorsCreated=zt.observable(!1),this.textToSearch=zt.observable(""),this._searchBox=null,this.searchPlaceholder=()=>de(),this.switchSearchBox=()=>{this.isSearching()?(this.isSearching(!1),this.textToSearch("")):(this.isSearching(!0),this._searchBox&&this._searchBox.focus())},this.createGroups(t.groups),this.update(e()),this._disposables.push(this.focusedImageClassName=zt.pureComputed((()=>vi(e()&&e().controlType))));const a=this.isSortingByGroups.subscribe((e=>{e||(this.editorsRendered(!0),a.dispose())}));this._disposables.push(a),this.focusedItem=e,this._disposables.push(e.subscribe((e=>{this.isSearching()&&!this.textToSearch()&&this.switchSearchBox()}))),this.displayExpr=e=>fi(e);let n=null;this._disposables.push(this.textToSearch.subscribe((e=>{n&&clearTimeout(n),n=setTimeout((()=>{this._textToSearch(e),e&&this.groups.forEach((e=>e.collapsed()&&e.editors().some((e=>e._get("isSearchedProperty")))&&e.collapsed(!1)))}),200)})))}getEditors(){const e=super.getEditors(),t=e.map((e=>e._get("displayName"))).sort();return e.sort(((e,i)=>t.indexOf(e._get("displayName"))-t.indexOf(i._get("displayName")))),e}_update(e,t,i){return this.groups&&this.groups.forEach((e=>{0===e.editors().length&&e.recreate()})),super._update(e,t,i)}cleanEditors(){super.cleanEditors(),this.groups.forEach((e=>e.resetEditors()))}dispose(){super.dispose(),this.disposeArray(this.groups),this.disposeObservableArray(this._get("_editors","wrapped")),this.resetObservableArray(this._get("_editors","wrapped")),this.cleanSubscriptions(),this._searchBox=null,this.focusedItem=null}createGroups(e){this.groups=Object.keys(e).map((t=>new za(t,e[t].info,(e=>e.filter((e=>!!e.editor)).map((e=>{let t=this.findEditorByInfo(e);return t||(t=this.createEditor(e),this._get("_editors","wrapped").push(t),t)}))),!0,e[t].displayName))),this._disposables.push.apply(this._disposables,this.groups)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.groups.forEach((t=>{t.registerAccessibilityProvider(e)}))}searchBox(e){this._searchBox=Ra().getInstance(e.get(0))}}function Ua(e,t){Object.keys(e||{}).forEach((i=>{zt.isObservable(e[i])?t[i](e[i]()):x.isFunction(e[i])||Ua(e[i],t[i])}))}function qa(e,t){const i={};return e.reduce(((e,r)=>{const s=t(r);if(s)if(i[s])i[s].push(r);else{const t={group:s,items:[r]};e.push(t),i[s]=t.items}return e}),[])}function Ka(e,t){let i=e&&t&&!(e instanceof Array)&&!(t instanceof Array);return i=i&&Object.getOwnPropertyNames(e).length===Object.getOwnPropertyNames(t).length,i&&Object.keys(e||{}).some((r=>{if(0!==r.indexOf("_")&&("function"!=typeof e[r]||zt.isObservable(e[r]))){if(zt.isObservable(e[r]))i=zt.unwrap(e[r])===zt.unwrap(t[r]);else if(e[r]instanceof Array)if(t[r]instanceof Array&&e[r].length===t[r].length)for(let s=0;s<e[r].length&&(i=Ka(e[r][s],t[r][s]),!1!==i);s++);else i=!1;else i=e[r]instanceof Object?Ka(e[r],t[r]):e[r]===t[r];return!i}})),i}function Ya(e,t){return e+(t?"."+t:"")}function Ja(){const e=x.fn.constructor("script[type='text/html']").map((function(e,t){if(t.src){const e=x.Deferred();return x.get(t.src).done((function(i){t.text=i,-1===i.indexOf('type="text/html"')&&-1===i.indexOf("type='text/html'")||x.fn.constructor(document.body).append(i),e.resolve()})).fail((function(t,i,r){e.reject()})),e.promise()}}));return x.when.apply(x.when,e)}function Xa(e){return _i(e,(e=>{delete e["@Ref"]})),e}const Za={MenuButton:"dxrd-menubutton-template-base",Toolbar:"dxrd-toolbar-template-base",Toolbox:"dxrd-toolbox-template-base",GroupedToolbox:"dxrd-grouped-toolbox-template-base",Surface:"dxrd-surface-template-base",RightPanel:"dxrd-right-panel-template-base"};function Qa(e){var t;return[{id:Za.MenuButton,templateName:Za.MenuButton,model:e},{id:Za.Toolbar,templateName:Za.Toolbar,model:e},{id:Za.Toolbox,templateName:Za.Toolbox,model:e},{id:Za.Surface,templateName:Za.Surface,model:e},{id:Za.RightPanel,templateName:Za.RightPanel,model:e,viewModel:null===(t=e.tabPanel)||void 0===t?void 0:t.getViewModel()}]}function en(e,t){return i=>{i.forEach((i=>{if(!i.wrappedWith||-1===i.wrappedWith.indexOf(e)){const r=i.clickAction;i.clickAction=e=>t(e,r),i.wrappedWith=i.wrappedWith||[],i.wrappedWith.push(e)}}))}}function tn(e){const t=zt.unwrap(e);return"none"===t?Ke("none","DataAccessStringId.ParameterListEmpty"):"(none)"===t?"(none)"!==Ke("(none)","DxDesignerStringId.None")?Ke("(none)","DxDesignerStringId.None"):"("+Ke("none","DataAccessStringId.ParameterListEmpty")+")":t}function rn(e,t,i,r,s,a,n){const o=G.wrap(Xe.unwrap(n)),d=Xe.unwrap(i);return Xe.isSubscribable(n)&&n.subscribe((e=>{"function"==typeof o&&o(e)})),{starting:function(t){x.fn.constructor(e).css(r===s?"right":"left","")},handles:G.wrap(r===s?"e":"w"),stopped:x.noop,stop:x.noop,resize:function(i,n){const o=Yt(n.dataset.originalLeftMousePosition),l=Yt(n.dataset.originalWidth),u=i.x-o;x.fn.constructor(e).css({left:r===s?t+"px":"",right:r===s?"":t+"px"});const c=Math.min(Math.max(d,r===s?l+u:l-u),1e3);a&&a(c)},disabled:o,zoom:1,minimumWidth:G.wrap(Xe.unwrap(o)?0:d),maximumWidth:1e3,$element:e}}var sn=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class an extends Mi{constructor(e){super(),this.cssClasses=(e="")=>{const t=[e];return this.position===an.Position.Left&&t.push("dxrd-tab-panel-left"),this.position===an.Position.Right&&t.push("dxrd-tab-panel-right"),this.isEmpty&&t.push("dxrd-tab-panel-empty"),t.join(" ")};const t=e.tabs;this._autoSelectTab=e.autoSelectTab;let i=an.Position.Right;e.rtl&&(i=an.Position.Left),this.position=i;const r=Ve();this.zoomFactor=r;const s=this;this.tabs=t,this.toggleTabVisibility=e=>{e.model===this.tabs.filter((e=>e.active))[0]?this.collapsed=!this.collapsed:this.selectTab(e)},this.selectTab=e=>{const t=e.model;t.disabled||(this.tabs.forEach((function(e){e.active=e===t})),this.collapsed=!1)},t&&t.length&&(this.isEmpty=this.tabs.every((e=>!e.visible)),this.tabs.forEach((e=>{e.collapsed=this.collapsed}))),this._onVisibilityChanged(),this._onDisabledChanged(),this._disposables.push(...t.map((e=>({dispose:this._subscribeTab(e)})))),this._width=e.width||370*r,this.width=this.collapsed?0:this._width,this.headerWidth=this.isEmpty?0:50*r+this.width,this.getResizableOptions=(e,t,i)=>{if(!this._resizableOptions||this._resizableOptions.$element!==e){const a=function(e){if(0===arguments.length)return s.width;s.width=e};this._resizableOptions=rn(e,r*t,i,s.position,an.Position.Left,a,s.collapsed),s.addDisposable(s.events.on("positionChanged",(e=>{this._resizableOptions.handles(s.position===an.Position.Left?"e":"w")})),s.events.on("collapsedChanged",(e=>{"function"==typeof this._resizableOptions.minimumWidth?this._resizableOptions.minimumWidth(s.collapsed?0:i):this._resizableOptions.minimumWidth=s.collapsed?0:i,"function"==typeof this._resizableOptions.disabled?this._resizableOptions.disabled(this.collapsed):this._resizableOptions.disabled=this.collapsed})))}return this._resizableOptions},this._disposables.push({dispose:()=>{this._resizableOptions=null,this.getResizableOptions=null}});const a=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+a,template:"dxrd-svg-tabs"+a},this.toggleCollapsedText=(()=>{const e=this.collapsed?"Open":"Collapse";return Ke(e,"ASPxReportsStringId.SidePanel_"+e)})(),this.keyboardHelper=new Re(this),this._disposables.push(this.keyboardHelper)}mapToTabsCollection(){return this.tabs.map((e=>{const t=e.getViewModel();return t.click=()=>this.toggleTabVisibility({model:e}),t}))}createViewModel(){return Pi(super.createViewModel()).generateProperty("width",this.headerWidth).generateProperty("class",this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")).generateProperty("tabs",this.mapToTabsCollection()).generateProperty("tabsElement",Pi().generateProperty("class",this.cssClasses()).getViewModel()).generateProperty("contentElement",Pi().generateProperty("class",this.cssClasses()).generateProperty("width",this.width).getViewModel()).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("getResizableOptions",this.getResizableOptions).getViewModel()}dispose(){super.dispose(),this.disposeArray(this.tabs)}updateViewModel(e){const t=this.getViewModel();"width"===e.propertyName&&(t.contentElement.width=this.width),"headerWidth"===e.propertyName&&(t.width=this.headerWidth),"isEmpty"!==e.propertyName&&"position"!==e.propertyName||(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":""),t.tabsElement.class=this.cssClasses(),t.contentElement.class=this.cssClasses()),"collapsed"===e.propertyName&&(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")),"tabs"===e.propertyName&&(t.tabs=this.mapToTabsCollection())}onPropertyChanged(e){if("isEmpty"!==e.propertyName&&"width"!==e.propertyName||(this.headerWidth=this.isEmpty?0:50*this.zoomFactor+this.width),"collapsed"===e.propertyName){this.collapsed?this.width=0:this.width=this._width,this.tabs.forEach((e=>{e.collapsed=this.collapsed}));const e=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+e,template:"dxrd-svg-tabs"+e};const t=this.collapsed?"Open":"Collapse";this.toggleCollapsedText=Ke(t,"ASPxReportsStringId.SidePanel_"+t)}"width"===e.propertyName&&this.width&&(this._width=this.width,this.collapsed&&(this.width=0))}_onDisabledChanged(){const e=this.tabs.filter((e=>e.disabled));if(0!==e.length&&0!==e.filter((e=>e.active)).length){e.forEach((e=>e.active=!1));const t=this.tabs.filter((e=>!e.disabled&&e.visible))[0];t&&this.selectTab({model:t})}}_onVisibilityChanged(){const e=this.tabs.filter((e=>e.visible));this.isEmpty=this.tabs.every((e=>!e.visible)),0!==e.length?0===e.filter((e=>e.active)).length&&(e[0].active=!0,this._autoSelectTab&&(this.collapsed=!0)):this.collapsed=!0}_subscribeTab(e){const t=[e.events.on("visibleChanged",(e=>{this._onVisibilityChanged()})),e.events.on("disabledChanged",(e=>{this._onDisabledChanged()})),e.events.on("activeChanged",(t=>{this._autoSelectTab&&e.active&&this.selectTab({model:e})})),e.events.on("collapsedChanged",(t=>{this.collapsed=e.collapsed}))];return()=>t.forEach((e=>e()))}getTabByName(e){return this.tabs.filter((t=>t.name===e))[0]}removeTabs(){this.tabs.forEach((e=>e.events.dispose())),this.tabs.length=0}addTab(e){e.collapsed=this.collapsed,this.tabs.push(e),this._onVisibilityChanged(),this._onDisabledChanged(),this.addDisposable(this._subscribeTab(e))}}an.Position={Left:"Left",Right:"Right"},sn([Bi((()=>[]))],an.prototype,"tabs",void 0),sn([Fi(!0)],an.prototype,"isEmpty",void 0),sn([Fi(!1)],an.prototype,"collapsed",void 0),sn([Fi(0)],an.prototype,"width",void 0),sn([Fi(0)],an.prototype,"headerWidth",void 0),sn([Fi(an.Position.Right)],an.prototype,"position",void 0),sn([Fi(null)],an.prototype,"toggleCollapsedImage",void 0),sn([Fi("")],an.prototype,"toggleCollapsedText",void 0);class nn{constructor(e,t){this._context=e,this._rtl=t}addElement(e,t){return this._context[e]=t,this}addUndoEngine(e=zt.observable(new cs(this._context.model))){return this._context.undoEngine=e,this}addSurface(e){return this._context.surface=e,this}getContext(){return this._context}}class on{constructor(e){this._rtl=e}addModel(e){return new nn({model:e},this._rtl)}}class dn extends F{get handler(){return this._handler}set handler(e){this._disposables.push(e),this._handler=e}generate(){const e={};return this.handler&&(e.resizeHandler=this.handler),e}}class ln extends F{_actionUndoEngineWrappingFunction(e,t){return en("WrapWithUndoEngine",((e,i)=>{t().start(),i(e),t().end()}))(e)}_collectActions(e,t,i){const r=e(),s=[];return this.actionProviders.forEach((e=>{let t=e.getActions(r);i&&(t=t.filter((e=>i(e)))),s.push.apply(s,t)})),this._actionUndoEngineWrappingFunction(s,t),s}get actionProviders(){return this._actionProviders}set actionProviders(e){this._disposables.push.apply(this._disposables,e),this._actionProviders=e}get actions(){return this._actions}set actions(e){this._disposables.push(e),this._actions=e}get groupActions(){return this._groupActions}set groupActions(e){this._disposables.push(e),this._groupActions=e}createDefaultActions(e,t){this.actions=zt.computed((()=>this._collectActions(e,t,(e=>!(e.isContextMenuAction||e.group)))))}createDefaultGroupAction(e,t){this.groupActions=zt.computed((()=>qa(this._collectActions(e,t),(e=>e.group&&e.group()))))}createDefaultContextMenuActions(e,t){this.actions=zt.computed((()=>this._collectActions(e,t,(e=>e.isContextMenuAction&&!e.group))))}generate(){const e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),this.actions&&(e.contextActions=this.actions),this.groupActions&&(e.contextGroupActions=this.groupActions),e}generateContextMenu(e){const t=e,i={text:te("Properties","AnalyticsCoreStringId.Cmd_Properties"),clickAction:()=>{const i=t.tabPanel.getTabByName("Properties");e.tabPanel.selectTab({model:i})},imageTemplateName:"dxrd-svg-properties-propertiesmenu",disabled:zt.observable(!1),visible:!0,hasSeparator:!0},r=()=>{var e,r,s,a;return[...null!==(e=this.groupActions&&this.groupActions())&&void 0!==e?e:[],...null!==(r=this.actions&&this.actions())&&void 0!==r?r:[],...zt.unwrap(null!==(a=null===(s=t.actionLists)||void 0===s?void 0:s.toolbarItems)&&void 0!==a?a:[]),i]},s=zt.observable(r());this.groupActions&&this.addDisposable(this.groupActions.subscribe((e=>{s(r())}))),this.actions&&this.addDisposable(this.actions.subscribe((e=>{s(r())}))),e.ContextMenusEnabled||(e.ContextMenusEnabled=zt.observable(!0));const a=new Aa({actions:s,target:"."+t.containerClass+" .dxrd-context-menu-container",contextMenusEnabled:e.ContextMenusEnabled});return this._disposables.push(a),{contextMenu:a}}}class un extends F{constructor(){super(...arguments),this._model={}}get dragHelperContent(){return this._dragHelperContent}set dragHelperContent(e){this._disposables.push(e),this._dragHelperContent=e}get dragDropStarted(){return this._dragDropStarted}set dragDropStarted(e){this._disposables.push(e),this._dragDropStarted=e}addDragDropHandler(e,t){this._disposables.push(t),this._model[e]=t}generate(){const e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(e.dragDropStarted=this.dragDropStarted),e}}class cn extends F{constructor(e,t){super(),this._selection=e,this._context=t,this._model={}}generate(){const e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e}addControlsHelper(e){return this.controlsHelper=e||new wi(this._context.model,[{added:e=>{},deleted:e=>{e.surface===this._selection.focused()&&this._selection.focused(e.surface.findNextSelection())}}]),this._disposables.push(this.controlsHelper),this}addControlsStore(e){return e=e||new Er(this.controlsHelper.allControls),this._disposables.push(e),this._model.controlsStore=e,this}}class pn extends F{constructor(){super(...arguments),this.stopPropagation=!1}generate(){const 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}get appMenuVisible(){return this._appMenuVisible}set appMenuVisible(e){this._disposables.push(e),this._appMenuVisible=e}}class hn extends F{constructor(){super(...arguments),this._dragDropSettings=new un,this._resizeSettings=new dn}dispose(){this._editableObject(null),super.dispose(),this.removeProperties()}get selection(){return this._selection}set selection(e){this._disposables.push(e),this._selection=e}get snapHelper(){return this._snapHelper}set snapHelper(e){this._disposables.push(e),this._snapHelper=e}get editableObject(){return this._editableObject}set editableObject(e){this._disposables.push(e),this._editableObject=e}addDragDrop(e){e(this._dragDropSettings),this._disposables.push(this._dragDropSettings)}addResize(e){e(this._resizeSettings),this._disposables.push(this._resizeSettings)}generate(){const e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),this.editableObject&&(e.editableObject=this.editableObject),D(e,this._dragDropSettings.generate(),this._resizeSettings.generate())}}class gn extends F{constructor(e,t){super(),this._context=e,this._rtl=t,this._model={},this._selectionSettings=new hn,this._model.rtl=this._rtl,this._model.dispose=()=>{this.dispose()}}_createPopularProperties(e,t){const i=[];return t.forEach((t=>{const r=e.filter((e=>e.propertyName===t))[0];r&&i.push(r)})),i}_resetModel(){Object.keys(this._model).forEach((e=>{"dispose"!==e&&delete this._model[e]}))}get rtl(){return this._rtl}set rtl(e){this._rtl=e,this._model.rtl=e}dispose(){super.dispose(),this._resetModel()}initializeContext(e){return this._context=e,this}getPropertyByName(e){return this._model[e]}addElement(e,t){return this._model[e]=t(),this._disposables.push(this._model[e]),this}mapOnContext(){return this._model.model=this._context.model,this._model.surface=this._context.surface,this._model.undoEngine=this._context.undoEngine,this}addSelection(e){return e(this._selectionSettings),this._disposables.push(this._selectionSettings),D(this._model,this._selectionSettings.generate()),this}addPropertyGrid(e,t="propertyGrid"){return this._model[t]=e&&e(),this._disposables.push(this._model[t]),this}addContextMenu(e){this._model.contextMenus||(this._model.contextMenus=[]),this._model.contextMenus.push(e)}addDisposableContainer(){return this._model.disposableContainer=new F,this._model.addDisposables=(...e)=>this._model.disposableContainer._disposables.push(...e),this}addControlProperties(e,t,i){return this.addPropertyGrid((()=>this.createControlProperties(e,t,i)))}createControlProperties(e,t,i){const r=new Ga(this._model.editableObject,{groups:t,editors:e},null);return i&&r.registerAccessibilityProvider(i),r}addPopularProperties(e,t){return this.addPropertyGrid((()=>{const i=new Ma(zt.pureComputed((()=>{const t={getInfo:()=>[]},i=this._model.editableObject();if(i){const r=e.controlsMap[i.controlType],s=this._createPopularProperties(r&&r.info||[],r&&r.popularProperties||[]);s.forEach((e=>{e.propertyName in i&&(t[e.propertyName]=i[e.propertyName])})),t.getInfo=()=>s,t.root=i.root,t.actions=i.actions,t.actionProviders=i.actionProviders,t.getPath=e=>i.getPath&&i.getPath(e)||"",t.getModel=()=>i,t.isPropertyModified=e=>!!i.isPropertyModified&&i.isPropertyModified(e),t.getActionClassName=e=>i.getActionClassName?i.getActionClassName(e):"",t.getMenuBoxTemplate=e=>i.getMenuBoxTemplate?i.getMenuBoxTemplate(e):"",t.isPropertyVisible=e=>s.some((t=>t.propertyName===e))&&(!i.isPropertyVisible||i.isPropertyVisible(e,!0)),t.isPropertyHighlighted=e=>!!i.isPropertyHighlighted&&i.isPropertyHighlighted(e),t.isPropertyDisabled=e=>!!i.isPropertyDisabled&&i.isPropertyDisabled(e),t.isSame=e=>e===i,["name","displayName"].forEach((e=>{e in i&&(t[e]=i[e])}))}return t})),void 0,void 0,void 0);return t&&i.registerAccessibilityProvider(t),i}),"popularProperties")}addToolboxItems(e){return this._model.toolboxItems=e&&e(),this}addGroupedToolboxItems(){return this._model.groupedToolboxItems=qa(this._model.toolboxItems,(e=>e.info.group)),this}addTabPanel(e,t=(()=>[])){const i=e&&e()||new an({tabs:t(),rtl:this._rtl,width:396});return this._model.tabPanel=i,this._disposables.push(i),this}addIsLoading(e=(()=>zt.observable(!0))){return this._model.isLoading=e(),this._disposables.push(this._model.isLoading),this}addControlsHelper(e){const t=new cn(this._selectionSettings.selection,this._context);return e(t),this._disposables.push(t),D(this._model,t.generate()),this}addMenu(e){const t=new pn;return e(t),this._disposables.push(t),D(this._model,t.generate()),this}addContextActions(e){const t=new ln;e(t),this._disposables.push(t),D(this._model,t.generate());const i=t.generateContextMenu(this._model);return D(this._model,i),this.addContextMenu(i.contextMenu),this.addElement("hideContextMenu",(()=>()=>this._model.contextMenus.forEach((e=>e.hide())))),this}addParts(e=(e=>e),t=!0){let i=[];return t&&(i=Qa(this._model)),this._model.parts=e(i),this}getModel(){return this._model}addActionList(e){const t=e&&e()||new _a(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,(()=>{}));return this._disposables.push(t),this._model.actionLists=t,this}}const mn=zt.observable({});var xn=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class fn extends Mi{constructor(e){super(),this.visible=!("visible"in e)||e.visible,this.disabled="disabled"in e&&e.disabled;const t=e.imageClassName||e.text.toLowerCase();this._text=e.text,this.name=e.text,this._localizationId=e.localizationId,this.imageClassName="dxrd-image-"+t,this.imageTemplateName=e.imageTemplateName||it.getExistingTemplate("dxrd-svg-tabs-"+e.text.toLowerCase()),this.template=e.template,this._disposables.push(e.model,e.keyboardHelper),this.model=e.model,this.keyboardHelper=e.keyboardHelper}updateViewModel(e){const t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"imageClassName"===e.propertyName&&(t.image.class=this.imageClassName),"imageTemplateName"===e.propertyName&&(t.image.templateName=this.imageTemplateName),"active"!==e.propertyName&&"disabled"!==e.propertyName||(t.css.class=`${this.active?"dxd-state-active dxd-state-no-hover":""} ${this.disabled?"dxrd-tab-item-disabled":""}`),"disabled"===e.propertyName&&(t.disabled=this.disabled),"active"===e.propertyName&&(t.active=this.active),"model"===e.propertyName&&(t.model=this.model),!this.keyboardHelper||"active"!==e.propertyName&&"collapsed"!==e.propertyName||this.active&&!this.collapsed&&void 0!==e.oldValue&&setTimeout((()=>this.focus()))}onPropertyChanged(e){"visible"!==e.propertyName||e.newValue||(this.active=!1)}createViewModel(){return Pi(super.createViewModel()).generateProperty("text",this.text).generateProperty("image",Pi().generateProperty("class",this.imageClassName).generateProperty("templateName",this.imageTemplateName).getViewModel()).generateProperty("click",(()=>{})).generateProperty("css",Pi().generateProperty("class",`${this.active?"dxd-state-active dxd-state-no-hover":""} ${this.disabled?"dxrd-tab-item-disabled":""}`).getViewModel()).generateProperty("disabled",this.disabled).generateProperty("visible",this.visible).generateProperty("active",this.active).generateProperty("template",this.template).generateProperty("model",this.model).generateProperty("keyboardHelper",this.keyboardHelper).getViewModel()}focus(){this.keyboardHelper&&this.keyboardHelper.focus(document.getElementsByClassName("dxrd-tab-item dxd-state-active")[0])}get text(){return te(this._text,this._localizationId)}}function vn(e,t,i,r={},s=[],a,n,o,d,l,u,c,p){const h=new on(n).addModel(e).addSurface(t).addUndoEngine(l).getContext(),g=new gn(h,n);return g.addDisposableContainer().mapOnContext().addSelection((e=>{e.selection=o||new os,e.snapHelper=new ws(t,ws.snapTolerance,c||new _s),e.editableObject=ns.getEditableObject(e.selection,h.undoEngine,u).extend({throttle:1}),e.addDragDrop((t=>{t.dragHelperContent=new ti(e.selection),t.dragDropStarted=Zt.started,t.addDragDropHandler("dragHandler",new ii(h.surface,e.selection,h.undoEngine,e.snapHelper,t.dragHelperContent)),t.addDragDropHandler("toolboxDragHandler",new ri(h.surface,e.selection,h.undoEngine,e.snapHelper,t.dragHelperContent,i))})),e.addResize((t=>{t.handler={starting:()=>{o.expectClick=!0,h.undoEngine().start()},stopped:()=>{h.undoEngine().end(),setTimeout((()=>{o.expectClick=!1}),100)},disabled:Zt.started,snapHelper:e.snapHelper}}))})).addToolboxItems((()=>Sr(i.controlsMap))).addIsLoading().addControlProperties(s,r).addPopularProperties(i).addControlsHelper((e=>{e.addControlsHelper(d).addControlsStore()})).addTabPanel(void 0,(()=>{const t=new fn({text:"Properties",template:"dxrd-propertiestab",model:g.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:!!e(),disabled:g.getModel().propertyGrid.focusedItem()instanceof Array});return g._disposables.push(g.getModel().propertyGrid.focusedItem.subscribe((e=>{t.disabled=g.getModel().propertyGrid.focusedItem()instanceof Array}))),g._disposables.push(e.subscribe((e=>{t.visible=!!e}))),[t]})).addContextActions((e=>{e.actionProviders=[],e.createDefaultActions(g.getModel().editableObject,g.getModel().undoEngine)})).addMenu((e=>{e.appMenuVisible=zt.observable(!1),e.toggleAppMenu=function(){e.appMenuVisible(!e.appMenuVisible())},e.getMenuPopupContainer=e=>$.fn.constructor(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container"),e.getMenuPopupTarget=e=>$.fn.constructor(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")})).addElement("inlineTextEdit",(()=>new Ki(g.getModel().selection))).addElement("actionsGroupTitle",(()=>()=>Ke("Actions","AnalyticsCoreStringId.Actions"))).addElement("updateFont",(()=>e=>{mn(Object.assign(Object.assign({},mn()),e))})).addElement("sortFont",(()=>()=>{const e={},t=mn.peek();Object.keys(t).sort(((e,t)=>e.localeCompare(t))).forEach((i=>e[i]=t[i])),mn(e)})).addElement("surfaceSize",(()=>zt.observable(0))).addElement("popularVisible",(()=>zt.pureComputed((()=>g.getModel().popularProperties._get("_editors").some((e=>e._get("visible")))||g.getModel().contextActions&&g.getModel().contextActions().length>0)))).addElement("groupActionsVisible",(()=>zt.pureComputed((()=>!1)))).addActionList().addParts().getModel()}xn([Fi(!1)],fn.prototype,"active",void 0),xn([Fi(!0)],fn.prototype,"visible",void 0),xn([Fi(!1)],fn.prototype,"disabled",void 0),xn([Fi(null)],fn.prototype,"model",void 0),xn([Fi(void 0)],fn.prototype,"collapsed",void 0);class bn{constructor(e,t,i,r=!1){this.deferreds=[],this._extenders=i,this.getItems=i=>{const s=x.Deferred(),a=[];return this._beforeFieldListCallback(i,a)?s.resolve(a):t&&!i.fullPath?(a.push.apply(a,x.map(t(),(e=>{const t={name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}};return r&&delete t.dragData,t}))),this._afterFieldListCallBack(i,a),s.resolve(a)):(this._patchRequest(i,t),this.deferreds.push(s),e(i).done((e=>{a.push.apply(a,e),this._afterFieldListCallBack(i,a),s.resolve(a)})).fail((e=>s.reject(e))).always((()=>this.deferreds.splice(this.deferreds.indexOf(s),1)))),s.promise()},this.dispose=()=>{this.getItems=null,e=null,this.deferreds.forEach((e=>e.reject()))}}_patchRequest(e,t){if(!t)return;const i=t.peek();for(let t=0;t<i.length;t++){if(i[t].id===e.id&&e.id)return void(e.ref=void 0);if(i[t].ref===e.ref&&e.ref)return void(e.id=void 0)}}_beforeFieldListCallback(e,t){return!!this._extenders&&this._extenders.some((i=>i.beforeItemsFilled(e,t)))}_afterFieldListCallBack(e,t){this._extenders&&this._extenders.forEach((i=>{i.afterItemsFilled&&i.afterItemsFilled(e,t)}))}}function yn(e,t,i,r,s,a,n){let o=0;t[i]=zt.pureComputed({read:()=>{const t=Ut(r(e)(),s.peek(),a());return Math.abs(t-o)>.2?(o=t,o):o},write:t=>{if(Math.abs(t-o)<=.2)return;o=t;const i=qt(t,s.peek(),a());r(e)(i)}}),n(t[i])}function _n(e,t,i,r,s,a){i&&Object.keys(i).forEach((n=>{yn(e,t,n,i[n],r,s,a)}))}function Cn(e){return null!=e&&Object.keys(e).length>0}let wn=null;const An={getInstance:function(e){return wn||this._initialize(e),wn},_initialize:function(e){const{ajaxSetup:t,fetchSetup:i}=null!=e?e:{};if(Cn(null==t?void 0:t.ajaxSettings)&&Cn(null==i?void 0:i.fetchSettings))throw new Error("You cannot configure more than one type of request manager. Use either ajaxSetup or fetchSetup for configuration, but not both.");Cn(null==t?void 0:t.ajaxSettings)?An.initialize(new ci((()=>t.ajaxSettings))):An.initialize(new hi((()=>null==i?void 0:i.fetchSettings)))},initialize:function(e){wn=e}};function En(){return wn.useFetch}const In={fetchSettings:{}},Sn={ajaxSettings:{},sendRequest:function(e){if(!En())return An.getInstance().sendRequest((0,x.extend)({},this.ajaxSettings,e));throw new Error("The request manager is currently configured as Fetch. Use either ajaxSetup or fetchSetup for configuration, but not both.")}};function $n(e){Dn=e}function kn(e,t,i,r,s,a,n=(e=>!e.success),o=yt,d="POST"){const l=x.Deferred();let u;void 0!==t&&void 0!==i&&(u={actionKey:t,arg:i,dxversions:JSON.stringify(ui)});const c={ajaxSetup:Sn,fetchSetup:In};return An.getInstance(c).sendRequest(D({},{type:d,data:u,url:e},a)).fail(((t,i,a)=>{s&&s()?l.reject():(kt.call({jqXHR:t,textStatus:i,errorThrown:a,getRequestDetails:()=>u||e}),$t(a,l,t,i,r))})).done(((t,i,a)=>{if(t)if(n(t)){if(s&&s())return void l.reject();kt.call({jqXHR:a,textStatus:i,data:t,errorThrown:o(a),getRequestDetails:()=>u||e}),$t("Internal Server Error",l,a,i,r)}else l.resolve(t.result);else l.reject()})),l.promise()}function Pn(e){return kn(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage,e.method)}let Dn=(...e)=>e.length>1?kn.apply(void 0,e):Pn(e[0]);function Tn(e,t=!0){return e.editor=Ht.getEditor("text"),e.editorOptions={mode:"password"},t&&(e.editorOptions.inputAttr={autocomplete:"new-password"}),e}function Fn(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}const Bn={_static:{searchPlaceholder:()=>de(),selectPlaceholder:()=>ne(),noDataText:()=>oe(),ajaxSetup:Sn}},On=X({});function Mn(e,t=Bn,i){t&&(e.dx=Object.assign(Object.assign({},t),On())),e.getLocalization=function(){return Ke.apply(e,arguments)},e.getPopupContainer=ma,e.calculateWithZoomFactor=ze,e.containerClass="dx-designer-"+Br(),e.surfaceClass=t=>"dx-designer-viewport dx-designer-viewport-"+Fn(t.clientWidth)+" "+(ma(t,".dx-theme-generic").length?"":" dx-theme-generic")+" "+e.containerClass+(i?" "+i:"")}function Nn(e){return Xe.isSubscribable(e)?e:G.wrap(null)}class Vn extends F{constructor(e){super(),this.left=zt.observable(!1),this.right=zt.observable(!1),this.top=zt.observable(!1),this.bottom=zt.observable(!1),this.disabled=e.disabled||zt.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe((e=>{this.updateModel(e)})))}_setAllValues(e){this.left(e),this.bottom(e),this.right(e),this.top(e)}setValue(e){this.disabled()||(this[e](!this[e]()),this.updateValue())}setAll(){this.disabled()||(this._setAllValues(!0),this.updateValue())}setNone(){this.disabled()||(this._setAllValues(!1),this.updateValue())}updateModel(e){const t=e||"None";-1!==t.indexOf("All")?this._setAllValues(!0):-1!==t.indexOf("None")?this._setAllValues(!1):(this.left(-1!==t.indexOf("Left")),this.top(-1!==t.indexOf("Top")),this.right(-1!==t.indexOf("Right")),this.bottom(-1!==t.indexOf("Bottom")))}updateValue(){const 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(","))}}zt.bindingHandlers.dxBorderEditor={init:function(e,t,i,r,s){x.fn.constructor(e).children().remove();const a=st("dxrd-bordereditor"),n=x.fn.constructor(e).append(a),o=new Vn(t());return zt.applyBindings({value:o},n.children()[0]),J(e,(()=>o.dispose())),{controlsDescendantBindings:!0}}};const zn=DevExpress.registerComponent;var Ln=e.n(zn);const Hn=DevExpress.ui.dxButton;var Rn=e.n(Hn);const jn=e=>({render:function(t){const i=x.fn.constructor("<i />").addClass("dx-icon");e?(i.addClass(e),i.addClass("dx-icon-"+e),i.addClass("dx-icon-dxrd")):t.model.icon&&i.addClass(t.model.icon),t.model.icon&&i.html(st(t.model.icon));const r=i.get(0);if(x.fn.constructor(t.container).append(r),t.model.text){const e=x.fn.constructor("<span />").addClass("dx-button-text");e.text(t.model.text),x.fn.constructor(t.container).append(e)}}}),Wn={render:function(e){jn(e.model.iconClass).render(e)}};class Gn extends(Rn()){constructor(e,t){t.template=Wn,super(e,t)}_patchOptionValues(e){const t=super._patchOptionValues.call(this,e),i={iconClass:e.iconClass};return zt.utils.extend(t.templateData,i),t}}Ln()("dxButtonWithTemplate",Gn);class Un extends F{initActions(e){this.actions=e,this.actions.forEach((e=>{e.disabled||(e.disabled=zt.observable(!1))}))}getActions(e){return this.condition(e)?(this.setDisabled&&this.setDisabled(e),this.actions):[]}condition(e){return!0}}function qn(e,t,i){const{onInitialized:r,onDomUpdated:s,onDispose:a,controlElementClassName:n}=t,o=new MutationObserver((e=>((e,t)=>{e.some((e=>e.target.querySelector(`.${t}`)))&&s()})(e,n)));return o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]}),r(e,i),()=>{o.disconnect(),a()}}const Kn=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"];function Yn(e,t){for(let i=0;i<Kn.length;i++)e.style[Kn[i]]="scale("+t+")";wa(e).addClass("dxrd-transform-origin-left-top")}function Jn(e,t){return"parent"===t||t===e?e:e.find(t)}zt.bindingHandlers.cssArray={update:function(e,t,i,r,s){const a=zt.utils.unwrapObservable(t());for(let t=0;t<a.length;t++)zt.bindingHandlers.css.update(e,(()=>a[t]))}},zt.bindingHandlers.selectable={init:function(e,t,i,r,s){const a=t(),n=zt.unwrap(a.selection),o=D({filter:".dxd-selectable",distance:1},zt.unwrap(a),{selecting:function(e,t){const i={control:Jt(t),cancel:!1,ctrlKey:e.ctrlKey};n.selecting(i),i.cancel&&x.fn.constructor(t).removeClass("ui-selecting")},start:(e,t)=>{n.clickHandler(null,e),n.expectClick=!0,n.started=!0},stop:()=>{n.started=!1,setTimeout((()=>{n.expectClick=!1}),100),n.applySelection()},unselecting:function(e,t){n.unselecting(Jt(t))}}),d=new ur(e,o),l=[];n.disabled&&zt.isSubscribable(n.disabled)&&l.push(n.disabled.subscribe((e=>ur.disabled=e))),J(e,(()=>{d.dispose(),e=null,l.forEach((e=>e.dispose()))}))}},zt.bindingHandlers.updateTop={init:function(e,t,i,r,s){const a=t(),n=x.fn.constructor(e),o=t=>{const i=e.getBoundingClientRect().height/e.offsetHeight,r=0===t||t?t:n.prev().position().top/i+n.prev().outerHeight();n.css("top",r+"px")},d=a.subscribe((e=>{o(e)}));o(a()),J(e,(function(){d.dispose()}))}},zt.bindingHandlers.draggable={init:function(e,t,i,r,s){const a=t();if(!a)return;const n=x.fn.constructor(e),o=a.parent&&a.parent()||n.closest(".dx-designer-viewport"),d=a.containment||".dxrd-ghost-container";let l,u,c;const p={left:0,top:0},h=e=>{e.delta={left:(u&&u.left||0)-c.left,top:(u&&u.top||0)-c.top},e.scroll={left:l.scrollLeft()-p.left,top:l.scrollTop()-p.top}},g=D({},zt.unwrap(a),{start:function(e,t){Zt.started(!0),l=o.find(".dxrd-viewport"),u=o.find(".dxrd-ghost-container").offset(),c=Jn(o,d).offset(),p.left=l.scrollLeft(),p.top=l.scrollTop(),a.startDrag&&a.startDrag(Jt(t))},stop:function(e,t){h(t),a.stopDrag(t,Jt(t),e),Zt.started(!1)},drag:function(e,t){h(t),a.drag&&a.drag(e,t,Jt(t))},helper:function(e,t){let i;const r=function(e,t){if(!e)return{top:0,left:0};const i=Jn(e,t);return{top:i.offset().top,left:i.offset().left}}(o,g.containment);if(a.helper&&(i=a.helper(Jt(t),e),i))return i.css({position:"absolute"}),i[0].dataset.startLeftPosition=Kt(e.pageX-r.left),i[0].dataset.startTopPosition=Kt(e.pageY-r.top),i;const n=st(s.$root.dragHelperContent.template),d=Jt(t);return i=x.fn.constructor(n).css({display:a.helper?"block":"none",position:"absolute"}),i[0].dataset.startLeftPosition=Kt(d.absolutePosition?d.absolutePosition.x():e.pageX-r.left),i[0].dataset.startTopPosition=Kt(d.absolutePosition?d.absolutePosition.y():e.pageY-r.top),i.prependTo(Jn(o,g.containment)),zt.applyBindingsToDescendants(s.$root.dragHelperContent,i[0]),i}});g.containment=Jn(o,g.containment),function(e){const t=e.parentElement.classList.contains("dxrd-toolbox-item");t&&(e.dataset.startDragWithOffset="true")}(e),g.disabled=()=>s.$root.inlineTextEdit&&s.$root.inlineTextEdit._showInline()&&e===s.$root.inlineTextEdit.element;const m=new nr(e,g);J(e,(()=>{m.dispose(),e=null}))}};const Xn="dxd-track-cursor";zt.bindingHandlers.trackCursor={init:function(e,t,i,r,s){const a=x.fn.constructor(e);a.addClass(Xn);let n=t(),o=!1;n.recalculateBounds&&(o=n.recalculateBounds,n=n.underCursor);let d=e.getBoundingClientRect();const l=document.body,u=document.documentElement,c=e=>{s.$root.selection.started&&s.$root.resizeHandler.started||n().isNotDropTarget||(s.$root.selection.dropTarget=s.$data,e.stopPropagation())},p=t=>{n(D(n(),{isOver:!0})),s.$root.selection.started&&s.$root.resizeHandler.started||(d=e.getBoundingClientRect())},h=e=>{n(D(n(),{isOver:!1}))},g=t=>{if(o&&(d=e.getBoundingClientRect()),!s.$root.selection.started||!s.$root.resizeHandler.started){const e=window.pageYOffset||u.scrollTop||l.scrollTop,i=window.pageXOffset||u.scrollLeft||l.scrollLeft,r=u.clientTop||l.clientTop||0,s=u.clientLeft||l.clientLeft||0,a=t.pageY-(d.top+e-r),o=t.pageX-(d.left+i-s);n(D(n(),{x:o,y:a}))}};e.addEventListener("mousemove",g),!o&&e.addEventListener("mouseenter",p),e.addEventListener("mouseover",c),e.addEventListener("mouseleave",h),e.addEventListener("dragover",g),J(e,(function(){e.removeEventListener("dragover",g),e.removeEventListener("mousemove",g),e.removeEventListener("mouseover",c),e.removeEventListener("mouseleave",h),!o&&e.removeEventListener("mouseenter",p),a.removeClass(Xn)}))}},zt.bindingHandlers.templates={init:function(e,t){const i=x.fn.constructor(t()).text(),r=x.fn.constructor(i);return x.fn.constructor(e).append(r),{controlsDescendantBindings:!0}}},zt.bindingHandlers.zoom={update:(e,t)=>Yn(e,zt.unwrap(t()))},zt.bindingHandlers.keyDownActions=(()=>{const e=new Te(window);return{init:function(t,i){const r=i();e.bindHandler(t,(e=>r.processShortcut(e)))}}})(),zt.bindingHandlers.dxMutationObserver={init:function(e,t,i,r,s){if(!t())return;const a=zt.bindingEvent.subscribe(e,"childrenComplete",(()=>{J(e,qn(e,t(),s.$root.accessibilityCompliant))}));J(e,(()=>a.dispose()))}},zt.bindingHandlers.dxAction={init:(e,t)=>{const i=t(),r=function(e){i.action.call(i.model,i.model,e)},s=function(e){e.key!=$e.Enter&&e.key!=$e.Space||i.action.call(i.model,i.model,e)};e.addEventListener("click",r),e.addEventListener("keydown",s),J(e,(function(){e.removeEventListener("click",r),e.removeEventListener("keydown",s)}))}},zt.extenders.dxdnum=function(e,t){return e.subscribe((i=>{i=i||0,isNaN(t.max)?isNaN(t.min)?e(i):e(Math.max(i,t.min)):e(Math.min(i,t.max))})),e};const Zn={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"},Qn=[{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"}],InDateRange:[{paramCount:3,text:"InDateRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InDateRange"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalLastWeek: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"}],DateTimeFromParts:[{paramCount:3,text:"DateTimeFromParts(, , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts3"},{paramCount:4,text:"DateTimeFromParts(, , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts4"},{paramCount:5,text:"DateTimeFromParts(, , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts5"},{paramCount:6,text:"DateTimeFromParts(, , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts6"}],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"}],InRange:[{paramCount:3,text:"InRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InRange"}],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"}]}}],eo=(e,t)=>{if(Array.isArray(t))return t.forEach((t=>{const i=e.find((e=>e.display===t.display));i?i.items=Object.assign(Object.assign({},i.items),t.items):e.push(t)})),e;const i=[];return e.forEach((e=>{const r=t[e.display],s=D({},e.items,r);Object.keys(s).length&&i.push(r?{display:e.display,category:e.category,localizationId:e.localizationId,items:s}:e)})),i},to=X(Qn),io=()=>to(Qn);function ro(e){const t=D(!0,[],to());return eo(t,e)}const so="range";function ao(e,t,i,r){return{displayName:Ke(t,i),content:{showDescription:r,isSelected:zt.observable(!1),data:{items:e,selectedItem:zt.observable(null)},name:"dx-expressioneditor-collection"},dispose:()=>{}}}function no(e,t,i,r){if(!i||!e)return t;const s=zt.observable(t());i.toDisplayExpression(e(),t()).done((e=>{s(e)})).fail((()=>{s(t())}));const a=t.subscribe((t=>{i.toDisplayExpression(e(),t).done((e=>{s(e)})).fail((()=>{s(t)}))})),n=e.subscribe((e=>{i.toDisplayExpression(e,t()).done((e=>{s(e)})).fail((e=>{s(t())}))})),o=zt.pureComputed({read:()=>s(),write:r=>{s(r),i.toRealExpression(e(),r).done((e=>{t(e)})).fail((()=>{t(r)}))}});return r&&[o,a,n].forEach((e=>r.push(e))),o}const oo=[{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"}];class lo extends F{constructor(e){super(),this._options=e,this._contextPath=null,this._isInContext=()=>null!==this._contextPath,this._getPath=()=>this._contextPath?this._path()+"."+this._contextPath:this._path(),this.identifierRegexps=[/\./,/\[/],this._fieldListProvider=e.fieldListProvider,this._path=e.path,this._editor=e.editor,this._functions=zt.computed((()=>zt.unwrap(e.functions)||to())),this._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}],this._disposables.push(this._functions)}_previousSymbol(){const e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]}beforeInsertMatch(e,t,i){const r=e.getCursorPosition();if("Parameters."===i)(t=t||!this._isInContext()&&e.session.getTokenAt(r.row,r.column))&&("support.variable.other"===t.type||"support.function"===t.type?e.session.remove({start:{column:t.start-1||0,row:r.row},end:{column:Math.max(t.start+t.value.length||0,r.column),row:r.row}}):"support.variable.parameter"===t.type?e.session.remove({start:{column:t.start||0,row:r.row},end:{column:Math.max(t.start+t.value.length+1||0,r.column),row:r.row}}):"text"===t.type&&"?"===t.value[t.value.length-1]&&e.session.remove({start:{column:t.start+t.value.length-1||0,row:r.row},end:{column:t.start+t.value.length||0,row:r.row}}));else{if(!(t=t||e.session.getTokenAt(r.row,r.column)))return;let i=null;"support.variable.other"===t.type||"support.function"===t.type?i=Math.max(t.start+t.value.length||0,r.column):"support.context.start"===t.type&&r.column<t.start+t.value.length&&(i=t.start+t.value.length-1||0),null!==i&&e.session.remove({start:{column:t.start||0,row:r.row},end:{column:i,row:r.row}})}}insertMatch(e,t,i){"Parameters."===t?e.insert("?"+i):e.insert("["+(t||"")+i+"]")}generateFieldDisplayName(e,t){return"Parameters."===e?"?"+t:"["+t+"]"}_convertDataMemberInfoToCompletions(e,t,i=""){return(e||[]).map((e=>{const r=this.generateFieldDisplayName(i,e.displayName);return{caption:e.displayName||e.name,snippet:r,meta:ga(e)&&Ke("list","DxDesignerStringId.CodeCompletion_List")||Ke("field","DxDesignerStringId.CodeCompletion_Field"),score:ga(e)?200:100,completer:{insertMatch:(r,s)=>{this.beforeInsertMatch(r,t(),i),this.insertMatch(r,i,this._options.getRealExpression&&e.displayName||e.name)}}}}))}_combinePath(e){let t=this._getPath();if(e){const i=this._rootItems.filter((t=>0===e.indexOf(t.name)))[0];t=i&&i.rootPath?[i.rootPath,e].join("."):[t,e].join(".")}return t}_getParentPrefix(e){const t=this._editor.getCursorPosition().column-e.start-1;let i=e.value.lastIndexOf(".",t);const r=e.value.lastIndexOf("]",t);i=Math.max(r,i);const s="support.variable.other"===e.type||"support.context.start"===e.type?1:0;let a=e.value.substring(s,i);return"["===a[0]&&(a=a.substr(1)),"]"===a[a.length-1]&&(a=a.substring(0,a.length-1)),a}_getRealPath(e){const t=e.split("."),i=x.Deferred();return this._options.getRealExpression?this._options.getRealExpression(t[0],this.generateFieldDisplayName(null,t.splice(1).join("."))).done((e=>{e=e.slice(1,e.length-1),i.resolve(e&&[t[0],e].join(".")||t[0])})).fail((()=>{i.resolve(e)})):i.resolve(e),i.promise()}_getFields(e=(()=>null),t=[],i=!1){const r=x.Deferred();let s;const a=e();return!a||"support.variable.other"!==a.type&&"support.function"!==a.type&&"support.context.start"!==a.type||(s=this._getParentPrefix(a)),this._getRealPath(this._combinePath(s)).done((a=>{const n=[zt.unwrap(this._fieldListProvider).getItems(new Nr(a)).done((r=>{t.push.apply(t,this._convertDataMemberInfoToCompletions(lo._cleanupFields(r),e,i?null:s&&s+"."))}))],o=[];s||this._rootItems.forEach((i=>{const r=i.rootPath||i.name;-1===o.indexOf(r)&&(o.push(r),n.push(zt.unwrap(this._fieldListProvider).getItems(new Nr(r)).done((s=>{this._processFields(n,s,t,r,e,i.needPrefix?i.name+".":"",!0)}))))})),x.when(n).always((()=>{r.resolve(t)}))})),r.promise()}static _cleanupFields(e=[]){return e.filter((e=>"parameters"!==e.specifics&&"none"!==e.specifics))}_processFields(e,t,i,r,s,a="",n=!1){const o=e=>{i.push.apply(i,this._convertDataMemberInfoToCompletions(n?lo._cleanupFields(e):e,s,a))};t.forEach((t=>{t.specifics===so&&ga(t)?e.push(zt.unwrap(this._fieldListProvider).getItems(new Nr(r+"."+t.name)).done((e=>{o(e)})).fail((()=>{o([t])}))):o([t])}))}getFunctionsCompletions(){const e=[];return zt.unwrap(this._functions).filter((e=>"Aggregate"!==e.category)).forEach((t=>{Object.keys(t.items).forEach((i=>{t.items[i]&&e.push(uo(t.items[i][0],i))}))})),e}getAggregateCompletions(){const e=[],t=zt.unwrap(this._functions).filter((e=>"Aggregate"===e.category))[0];return t&&Object.keys(t.items).forEach((i=>{t.items[i]&&e.push(uo(t.items[i][0],i,i+"()"))})),e}getOperatorCompletions(e){return oo.map((t=>({caption:t.text,snippet:e+t.text,meta:Ke("operator","DxDesignerStringId.CodeCompletion_Operator")})))}_addFunctions(e){e.push.apply(e,this.getFunctionsCompletions())}_addAggregates(e){e.push.apply(e,this.getAggregateCompletions())}_addOperators(e,t){const i=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(i))}_addParameterOperators(e,t){const i=x.Deferred(),r=[],s="Parameters";return r.push(zt.unwrap(this._fieldListProvider).getItems(new Nr(s)).done((i=>{this._processFields(r,i,e,s,t,s+".")}))),x.when(r).always((()=>{i.resolve(e)})),i.promise()}_getOperands(e=(()=>null)){const t=[];return this._addFunctions(t),this._getFields(e,t)}_getOperandsOrOperators(e,t,i){let r;try{aa.parse(t)}catch(e){r=e.hash}const s=t.trim(),a=s[s.length-1];if("?"===a&&" "!==t[t.length-1])this._addParameterOperators(i,e);else{if((r||!s)&&"]"!==a&&")"!==a)return this._getOperands();this._addOperators(i,t)}}_findStartContextTokenPosition(e,t){let i=0;for(let r=t;r>-1;r--)if("support.context.end"===e[r].type)i++;else if("support.context.start"===e[r].type){if(!(i>0))return r;i--}}_findOpenedStartContext(e,t){const i=[],r=e.filter(((e,i)=>("support.context.start"===e.type||"support.context.end"===e.type)&&i<t));for(let t=0;t<r.length;t++)"support.context.start"===r[t].type?i.push(e.indexOf(r[t])):i.pop();return i}_findOpenedAggregates(e,t){const i=[],r=e.filter(((e,i)=>"support.other.aggregate"===e.type&&i<t));if(r.length>0){const s=e[t],a=this._editor.getCursorPosition().column-(s&&s.start||0);for(let s=r.length-1;s>-1;s--){const n=e.indexOf(r[s]);let o=0,d=0,l=!1;if(n+1===t&&-1!==e[n+1].value.substr(0,a).indexOf("()")||n+1<t&&-1!==e[n+1].value.indexOf("()"))l=!0,t=n;else{for(let i=n;i<t;i++)if("("===e[i].value.trim()?o++:")"===e[i].value.trim()&&d++,o===d&&0!==o){l=!0;break}l||i.splice(0,0,n),t=n}}}return i}_getContextPath(e,t){const i=[],r=this._findOpenedAggregates(e,t),s=this._findOpenedStartContext(e,t).concat(...r).sort(((e,t)=>e-t));if(s.length>0)for(let t=0;t<s.length;t++)if("support.other.aggregate"===e[s[t]].type)if("support.context.end"===e[s[t]-1].type){const r=co(e[this._findStartContextTokenPosition(e,s[t]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]);i.push(r)}else"support.variable.other"===e[s[t]-1].type&&i.push(co(e[s[t]-1].value));else{const r=co(e[s[t]].value.match(/^\[(?:[^\]\)])*\]/)[0]);i.push(r)}return i.filter((e=>!!e)).join(".")}_getCompletions(e,t,i,r){let s;const a=[],n=()=>t.getTokenAt(i.row,i.column),o=n(),d=e.session.getLine(i.row).substring(0,i.column),l=t.getTokens(i.row),u=o?o.index:-1;if(this._contextPath=this._getContextPath(l,u),o)if("support.context.start"===o.type){const e=this._editor.getCursorPosition().column-o.start===o.value.length;let t;e&&(t=[],this._addFunctions(t)),s=this._getFields(n,t,e)}else if("string.quoted.single"===o.type);else if(0===o.type.indexOf("support.variable"))s=this._getFields(n);else if("support.function"===o.type)s=this.defaultProcess(n,d.substring(0,o.start),a);else if("support.other.aggregate"===o.type){const e=l[u-1];this._addAggregates(a),e&&co(e.value).trim()&&(s=this._getFields((()=>({start:o.start-(e.value||"").length||0,value:e.value+o.value,type:"support.function"})),a))}else 0!==o.type.indexOf("comment")&&(s=this.defaultProcess(n,d,a));else s=this._getOperands();return s?s.promise():x.Deferred().resolve(a).promise()}defaultProcess(e,t,i){return this._getOperandsOrOperators(e,t,i)}getCompletions(e,t,i,r,s){this._getCompletions(e,t,i,r).done((e=>{s(null,e)}))}getDocTooltip(e){e.tooltip&&!e.docHTML&&(e.docHTML=[e.tooltip].join(""))}}function uo(e,t,i=null){let r=i||e.text;return{caption:t,snippet:r,meta:Ke("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:e.description||Ke(e.text,e.descriptionStringId)||null,score:10,completer:{insertMatch:(t,i)=>{const s=t.completer.completions;if(s.filterText){const e=t.selection.getAllRanges();for(let i,r=0;i=e[r];r++)i.start.column-=s.filterText.length,t.session.remove(i)}if("[]."===r.substr(0,3)){const e=t.selection.getAllRanges();for(let i,s=0;i=e[s];s++)i.start.column-=2,"]."===t.session.getTextRange(i)&&(r=r.substr(3))}t.insert(r),ha(e.paramCount,t,r)}}}}function co(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}class po extends Bs{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.property=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?(this.begin=e.rightPart[0],this.end=e.rightPart.length>1?e.rightPart[1]:Fs.process("value")):(this.begin=Fs.process("value"),this.end=Fs.process("value")):(this.begin=e.rightPart,this.end=Fs.process("value"))},this.operatorType="Between",this.type="between",this.property=e,this.begin=t||Fs.process("value"),this.end=i||Fs.process("value")}get leftPart(){return this.property}get rightPart(){return[this.begin,this.end]}get displayType(){return"Between"}get enumType(){return po}accept(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new po(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))}}Fs.register("between",(e=>new po(e.property,e.begin,e.end)),(e=>Fs.process("between",{property:Fs.process("property"),begin:Fs.process("value"),end:Fs.process("value")})));class ho extends Bs{constructor(e,t){super(),this.assignLeftPart=e=>{this.criteriaOperator=e.leftPart},this.assignRightPart=e=>{this.operands=[].concat(e.rightPart)},this.operatorType="In",this.type="in",this.operands=[],this.criteriaOperator=e||Fs.process("default"),(t||[]).forEach((e=>this.operands.push(e)))}get leftPart(){return this.criteriaOperator}get rightPart(){return this.operands}get displayType(){return"In"}get enumType(){return ho}accept(e){return e.visitInOperator?e.visitInOperator(this):new ho(this.criteriaOperator&&this.criteriaOperator.accept(e),this.operands&&this.operands.map((t=>t.accept(e))))}}Fs.register("in",(e=>new ho(e.criteriaOperator,e.operands)),(e=>Fs.process("in",{criteriaOperator:Fs.process("property"),operands:[Fs.process("value")]})));const go={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">=",Divide:"/",BitwiseAnd:"&",BitwiseOr:"|",BitwiseXor:"^",Modulo:"%",Multiply:"*"};class mo extends Bs{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.leftOperand=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length&&(this.rightOperand=e.rightPart[0]):this.rightOperand=e.rightPart},this.type="binary",this.leftOperand=e||Fs.process("default"),this.rightOperand=t||Fs.process("default"),this.operatorType=i}get leftPart(){return this.leftOperand}get rightPart(){return this.rightOperand}get displayType(){return go[Ks[this.operatorType]]||Ks[this.operatorType]}get enumType(){return Ks}accept(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new mo(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)}}Fs.register("binary",(e=>new mo(e.left,e.right,e.operatorType)),(e=>Fs.process("binary",{left:Fs.process("property"),right:Fs.process("value"),operatorType:e.value})));class xo extends Bs{constructor(e,t){super(),this.toString=e=>{const t=(go[this.displayType]||this.displayType)+"("+this.operands.map((e=>e.toString())).join(", ")+")";return e?"Not "+t:t},this.assignLeftPart=e=>{this.operands=[e.leftPart]},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?this.operands.push(e.rightPart[0]):this.operands.push(Fs.process("value")):this.operands.push(e.rightPart)},this.operands=[],this.type="function",this.operatorType=e,(t=t||[Fs.process("default")]).forEach((e=>this.operands.push(e)))}get leftPart(){return this.operands[0]}get rightPart(){return this.operands.filter(((e,t)=>0!==t))}get displayType(){return Js[this.operatorType]||this.operatorType.toString()}get enumType(){return Js}accept(e){return e.visitFunctionOperator?e.visitFunctionOperator(this):new xo(this.operatorType,this.operands&&this.operands.map((t=>t.accept(e))))}}Fs.register("function",(e=>new xo(e.operatorType,e.operands)),(e=>new xo(e.value,[Fs.process("property")])));class fo extends Ws{constructor(e,t){super(e),this.type="value",t&&!this.specifics&&(this.specifics=t)}accept(e){return e.visitConstantValue?e.visitConstantValue(this):new fo(this.value,this.specifics)}}Fs.register("const",(e=>new fo((null==e?void 0:e.value)||null)));class vo{constructor(e=go,t){this.operatorTokens=e,this.custom=t}serializeGroupOperand(e,t){const i=e.operands.map((e=>e instanceof Qs?"("+this.serialize(e)+")":this.serialize(e))).filter((e=>""!==e&&"()"!==e)).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&i?"Not("+i+")":i}serializeAggregateOperand(e,t){const i="Exists"===e.operatorType?"":"."+e.operatorType,r=e.condition?this.serialize(e.condition):"",s=this.serialize(e.property),a="["+r+"]";let n="";if("Exists"!==e.operatorType){let t="";e.aggregatedExpression?t=this.serialize(e.aggregatedExpression):e.customAggregatedExpression&&(t=e.customAggregatedExpression.map((e=>this.serialize(e))).join(", ")),n=`(${t})`}let o=s;return(!r&&!n||r)&&(o+=a),o+i+n}serializeOperandProperty(e){if(!e.propertyName)return e.circumflex?"^":"[]";let t=e.displayType;return t.length-co(t).length==2&&(t="["+co(t).replace(/\\/g,"\\\\").replace(/\]/g,"\\]")+"]"),e.circumflex?"^."+t:t}serializeOperandValue(e){let t=e.value;return null==t||!x.isNumeric(t)&&"true"!==String(t).toLowerCase()&&"false"!==String(t).toLowerCase()?t&&e.value instanceof Date?"#"+N(t,"-")+"#":"integer"===e.specifics||"integer"===e.specifics?t||"?":"guid"===e.specifics&&Vs(t)?"{"+t+"}":"string"===e.specifics?(t=t.replace(/'/g,"''"),t?"'"+t+"'":"?"):t||"?":"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&Vs(t)?"{"+t+"}":t}serializeOperandParameter(e){return e.displayType}serializeBetweenOperator(e,t){const i=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+i:i}serializeInOperator(e,t){const i=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map((e=>this.serialize(e))).join(", ")+")";return t?"Not "+i:i}serializeBinaryOperator(e,t){if(e.operatorType===Ks.Like){const i=t?" Not ":" ";return this.serialize(e.leftOperand)+i+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}return(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}serializeUnaryOperator(e,t){if(e.operatorType===Ps.IsNull){const i=t?" Not ":" ";return this.serialize(e.operand)+" Is"+i+"Null"}if(e.operatorType===Ps.Not)return this.serialize(e.operand,!0);const i=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand);return t?"Not "+i:i}serializeFunctionOperator(e,t){const i=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map((e=>this.serialize(e))).join(", ")+")";return t?"Not "+i:i}serialize(e,t=!1){if(e instanceof Xs)return this.serializeAggregateOperand(e,t);if(e instanceof po)return this.serializeBetweenOperator(e,t);if(e instanceof mo)return this.serializeBinaryOperator(e,t);if(e instanceof fo)return this.serializeOperandValue(e);if(e instanceof xo)return this.serializeFunctionOperator(e,t);if(e instanceof Qs)return this.serializeGroupOperand(e,t);if(e instanceof ho)return this.serializeInOperator(e,t);if(e instanceof Gs)return this.serializeOperandParameter(e);if(e instanceof Us)return this.serializeOperandProperty(e);if(e instanceof Ws)return this.serializeOperandValue(e);if(e instanceof qs)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")}deserialize(e){return this.deserializeOperand(aa.parse(e))}deserializeOperand(e){if(e instanceof Qs)return e;if(e instanceof qs&&e.operatorType===Ps.Not){const t=e.operand;return t instanceof Qs||t instanceof xo||t instanceof po||t instanceof ho?e:t instanceof qs&&e.operatorType===Ps.Not&&!(t.operand instanceof Us)?this.deserializeOperand(t.operand):new qs(Ps.Not,new Qs(Ys.And,t?[t]:[]))}return new Qs(Ys.And,e?[e]:[])}}class bo{constructor(e){this.displayNameProvider=e}_replaceNames(e,t,i){const r=x.Deferred();let s;if(!t)return r.resolve("").promise();try{s=aa.parse(t,!0)}catch(e){return r.reject().promise()}const a=[],n=[],o=new vo;if(Zs(s,((t,r)=>{if(t instanceof Us){const s=0===t.propertyName.indexOf("^.");let o=s?t.propertyName.substring(2):t.propertyName;o=r?[r,o].join("."):o;const d=i?this.displayNameProvider.getDisplayNameByPath(e,o):this.displayNameProvider.getRealName(e,o);a.push(d.done((e=>{let i=s?"^."+e:e;i=r?i.split(".").slice(r.split(".").length).join("."):i,n.push({operand:t,convertedName:i})})))}})),0===a.length)r.resolve(t);else{let e=0;const i=()=>{if(++e<a.length)return;const i=t.split("\n");for(let e=0;e<i.length;e++){const t=n.filter((t=>t.operand.startPosition.line===e)).sort(((e,t)=>e.operand.startPosition.column-t.operand.startPosition.column));for(let r=0,s=0;r<t.length;r++){const a=t[r].operand.startPosition.column,n=t[r].operand.propertyName;let d=0;t[r].operand.originalPropertyLength!==n.length&&(d=Math.max(0,t[r].operand.originalPropertyLength-o.serialize(t[r].operand,!1).length));const l=t[r].convertedName;!n||a<0||(i[e]=i[e].substring(0,a+s)+l+i[e].substring(a+n.length+d+s),s+=l.length-n.length-d)}}r.resolve(i.join("\n"))};a.forEach((e=>e.always(i)))}return r.promise()}toDisplayExpression(e,t){return this._replaceNames(e,t,!0)}toRealExpression(e,t){return this._replaceNames(e,t,!1)}}class yo extends F{constructor(e){super(),this._$spanProtect=x.fn.constructor("<span>"),this._$spanSearch=x.fn.constructor("<span>").addClass("dx-datagrid-search-text"),this._options=e,["text","textToSearch"].forEach((e=>{Xe.isSubscribable(this._options[e])&&this._disposables.push(this._options[e].subscribe((()=>{this._update()})))})),this._update()}_update(){this.content=this._getHighlightContent(Xe.unwrap(this._options.text),Xe.unwrap(this._options.textToSearch),Xe.unwrap(this._options.searchOptions))}update(e){this._options=e,this._update()}_getHighlightContent(e,t,i){let r=e;if(t){const e=Ce(r,t,i);if(e){let t="",i=0,s=r;return e.forEach(((a,n)=>{const o=s.indexOf(a),d=r.substr(i,o);s=s.substr(o+a.length),d&&(this._$spanProtect.text(d),t+=this._$spanProtect[0].outerHTML),this._$spanSearch.text(a),t+=this._$spanSearch[0].outerHTML,i=r.length-s.length,n===e.length-1&&s&&(this._$spanProtect.text(s),t+=this._$spanProtect[0].outerHTML)})),t}}return this._$spanProtect.text(r),r=this._$spanProtect[0].outerHTML,r}}function _o(e,t,i,r,s,a){J(t,(function(){e.dispose()})),setTimeout((()=>{let n=!1;zt.computed({read:()=>{!n&&zt.bindingHandlers.html.init&&(zt.bindingHandlers.html.init(t,(()=>e.content),r,s,a),n=!0),zt.bindingHandlers.html.update&&zt.bindingHandlers.html.update(t,(()=>(e.update(i()),e.content)),r,s,a)},disposeWhenNodeIsRemoved:t})}),1)}zt.bindingHandlers.searchHighlighting={init:function(e,t,i,r,s){_o(new yo(t()),e,t,i,r,s)}};class Co{constructor(){this._x=0,this._y=0,this.isOver=!1}get x(){return this._x}set x(e){this._x=e}get y(){return this._y}set y(e){this._y=e}}function wo(e,t){if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}var Ao=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class Eo extends fn{constructor(e){super(e),this.propertyGridModel=e.propertyGridModel,this.propertyGrid=new Ma(this.propertyGridModel,void 0,void 0,void 0,!0,void 0,void 0,new Wa,e.engineType),this.addDisposable(this.propertyGrid.createComputedProperty(`___${Br()}`,(()=>{this.propertyGrid.getEditors().some((e=>e.visible&&e._get("isRendered")))&&(this.keyboardHelper&&this.keyboardHelper.initialize(),this.focus())}),[L(this.propertyGrid,[{propertyName:"_editors",subscribables:["visible","isRendered"]}])])),this._disposables.push(this.propertyGrid)}createViewModel(){return Pi(super.createViewModel()).generateProperty("propertyGrid",this.propertyGrid.getViewModel()).generateProperty("propertyGridModel",this.propertyGridModel).getViewModel()}updateViewModel(e){if(super.updateViewModel(e),"propertyGridModel"===e.propertyName){this.propertyGrid.updateEditorsInfo(this.propertyGridModel,this.propertyGridModel.getInfo());this.getViewModel().propertyGridModel=this.propertyGridModel}}}Ao([Fi(void 0)],Eo.prototype,"propertyGridModel",void 0);class Io extends F{constructor(e,t,i){super(),this.actions=[],this.actionProviders=[],this.update=zt.observable(!1),this.controlType=this.controlType||this.getControlFactory().getControlType(e),this.preInitProperties(e,t,i),this.parentModel=zt.observable(t),(i=i||new ts).deserialize(this,e),this._disposables.push(this.displayName=zt.pureComputed((()=>{let e=this.name&&this.name();return e||(e="unnamed "+this.controlType),e}))),this.resetValue=e=>{this._resetProperty(e)},this.actions.push({action:this.resetValue,id:"dxd-reset",title:Ke("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:this.isResettableProperty,weight:1e3})}_resetProperty(e){if(this[e].resetValue)this[e].resetValue();else{const t=this.getPropertyDefaultValue(e);zt.isObservable(this[e])?this[e](t):Ua(t,this[e])}}getPropertyDefaultValue(e){const t=this.getPropertyInfo(e);return zt.unwrap(t&&(new ts).deserializeDefaultValue(t))}getPropertyInfo(e){return this.getInfo().filter((t=>t.propertyName===e))[0]}getInfo(){return this.getControlFactory().controlsMap[this.controlType].info}createControl(e,t){return this.getControlFactory().createControl(e,this,t)}dispose(){super.dispose(),this.surface&&this.surface.dispose()}preInitProperties(e,t,i){}getNearestParent(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel())}getControlInfo(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]}getMetaData(){const e=this.controlType?this.controlType:"Unknown",t=this.getControlFactory().controlsMap[e];return{isContainer:t.isContainer||!1,isCopyDeny:t.isCopyDeny||!1,isDeleteDeny:t.isDeleteDeny||!1,canDrop:t.canDrop||(()=>!0),isPasteDeny:t.isPasteDeny||!t.isContainer}}_hasModifiedValue(e){return this["_"+e]&&this["_"+e]()&&this.isPropertyModified(e)}createChild(e){const t=this.getControlFactory().createControl(e,this);return this.addChild(t),t}removeChilds(e){if(this.controls){const t=this.controls();for(let i=0;i<e.length;i++)t.splice(t.indexOf(e[i]),1);this.controls.valueHasMutated()}}addChilds(e){if(this.controls){const t=this.controls();for(let i=0;i<e.length;i++)t.splice(0,0,e[i]);this.controls.valueHasMutated()}}removeChild(e){this.controls&&(this.controls.splice(this.controls().indexOf(e),1),e.onDelete())}addChild(e){this.controls&&-1===this.controls().indexOf(e)&&(e.parentModel(this),this.controls.splice(0,0,e))}isPropertyVisible(e){return!0}isPropertyDisabled(e){return!1}isPropertyModified(e){const t=this["_"+e]?"_"+e:e;if(this[t].isPropertyModified)return this[t].isPropertyModified();if(this[t].isEmpty)return!this[t].isEmpty();{const i=this.getPropertyDefaultValue(e),r=zt.unwrap(this[t]);return i instanceof Object?!Ka(i,r):i!==r}}getControlFactory(){throw Error("Virtual method getControlFactory")}isResettableProperty(e){return-1===["name","size","location"].indexOf(e)}_getRoot(){let e=this;for(;e&&e.parentModel();)e=e.parentModel();return e}get root(){return this._getRoot()}rtl(){return!1}onDelete(){}}class So{constructor(){this.controlsMap={}}getControlInfo(e){return this.controlsMap[e]||null}getControlType(e){const t=gi(e["@ControlType"]||"");return this.controlsMap[t]?t:"Unknown"}createControl(e,t,i){const r=this.getControlType(e);return new(this.controlsMap[r]&&this.controlsMap[r].type||Io)(e,t,i)}registerControl(e,t){void 0!==t.isToolboxItem&&(t.nonToolboxItem=!t.isToolboxItem),Object.defineProperty(t,"isToolboxItem",{get:()=>!t.nonToolboxItem,set:e=>{t.nonToolboxItem=!e},enumerable:!0,configurable:!0}),this.controlsMap[e]=t,this.controlsMap[e].info=D(!0,[],t.info)}_getPropertyInfoByDisplayName(e,t,i){return e.filter((e=>te(e.displayName,e.localizationId)===t[i]))[0]}_getPropertyInfoByName(e,t,i){return e.filter((e=>e.propertyName===t[i]||e.modelName==="@"+t[i]||e.modelName===t[i]))[0]}_getPropertyInfo(e,t,i){const r=this._getPropertyInfoByDisplayName(e,t,i)||this._getPropertyInfoByName(e,t,i);if(i===t.length-1)return r||null;if(r.info)return this._getPropertyInfo(r.info,t,i+1);if(r.from){let e=null;try{e=r.from({})}catch(e){return null}const s=e.getInfo&&e.getInfo();if(s)return this._getPropertyInfo(s,t,i+1)}return null}getPropertyInfo(e,t){let i=t;return x.isArray(t)||(i=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,i,0)}}function $o(e,t){return("native"===(null==t?void 0:t.engineType)?R:G).wrap(null==e?null:parseFloat(e))}function Po(e,t){const i="native"===(null==t?void 0:t.engineType)?R:G,r=mi(e),s=this.valuesArray&&this.valuesArray.filter((e=>e.value==r))[0];return i.wrap(this.values&&void 0!==this.values[r]||s?r:e)}function Do(e,t){return("native"===(null==t?void 0:t.engineType)?R:G).wrap(void 0!==e?"true"===String(e).toLowerCase():e)}function To(e,t){const i="native"===(null==t?void 0:t.engineType)?R:G,r=(e||"").split(",");let s=i.wrap(e);if(3===r.length)s=i.wrap("rgb("+r.join(", ")+")");else if(4===r.length){const e=Math.round(parseFloat(r[0])/255*100)/100;r.shift(),r.push(e.toString()),s=i.wrap("rgba("+r.join(", ")+")")}return s}function Fo(e){return Math.round(e).toString()}function Bo(e){const t=Oo(e).split(",");return(parseInt(t[0])<<24)+(parseInt(t[1])<<16)+(parseInt(t[2])<<8)+parseInt(t[3])}function Oo(e){const t=(e||"").split(", ");let i=e;if(3===t.length)t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],i=t.join(",");else if(4===t.length){const e=Math.round(255*parseFloat(t[3]));t.pop(),t[0]=t[0].split("(")[1],i=e.toString()+","+t.join(",")}return i}const Mo={};function No(e,t){Vo(t?`${e}: ${t}`:e,function(e,t){return function(i,r){const s={};return s[e]=function(){return"$data"===t?i.$data:void 0===t?void 0:i.$data[t]},s}}(e,t))}function Vo(e,t){Mo[e]=t}function zo(e){return Mo[e]}function Lo(e,t){No(e,t)}function Ho(e,t){Vo(e,t)}function Ro(e,t){return Object.keys(e||{}).map((i=>t(e[i])))}function jo(e,t){return zt.observableArray(Ro(e,t))}No("svgAttrs"),No("dxButtonWithTemplate","options"),No("dxButton","options"),No("dxCheckBox","options"),No("dxToolbarBase","options"),No("dxToolbar","options"),No("treelist","options"),Vo("template: 'dxrd-designer'",(function(e,t){return{template:function(){return"dxrd-designer"}}}));class Wo extends F{constructor(e){super(),this.top=zt.observable(!1),this.middle=zt.observable(!1),this.bottom=zt.observable(!1),this.left=zt.observable(!1),this.right=zt.observable(!1),this.center=zt.observable(!1),this.justify=zt.observable(!1),this.horizontalString=zt.observable(te("Horizontal","ASPxReportsStringId.ReportDesigner_TextAlignment_Horizontal")),this.verticalString=zt.observable(te("Vertical","ASPxReportsStringId.ReportDesigner_TextAlignment_Vertical")),this.disabled=e.disabled||zt.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe((e=>{this.updateModel(e)})))}_resetHorizontalValues(){this.left(!1),this.right(!1),this.center(!1),this.justify(!1)}_resetVerticalValues(){this.top(!1),this.middle(!1),this.bottom(!1)}setValue(e,t){this.disabled()||this[e]()||("Horizontal"==t?this._resetHorizontalValues():this._resetVerticalValues(),this[e](!0),this.updateValue())}updateModel(e){const t=e||"TopLeft";this.top(-1!==t.indexOf("Top")),this.middle(-1!==t.indexOf("Middle")),this.bottom(-1!==t.indexOf("Bottom")),this.left(-1!==t.indexOf("Left")),this.right(-1!==t.indexOf("Right")),this.center(-1!==t.indexOf("Center")),this.justify(-1!==t.indexOf("Justify"))}updateValue(){const e=[];this.top()&&e.push("Top"),this.middle()&&e.push("Middle"),this.bottom()&&e.push("Bottom"),this.left()&&e.push("Left"),this.right()&&e.push("Right"),this.center()&&e.push("Center"),this.justify()&&e.push("Justify"),this.value(e.join(""))}}zt.bindingHandlers.dxTextAlignmentEditor={init:function(e,t,i,r,s){x.fn.constructor(e).children().remove();const a=st("dxrd-textalignment-editor"),n=x.fn.constructor(e).append(a),o=new Wo(t());return zt.applyBindings({value:o},n.children()[0]),J(e,(()=>o.dispose())),{controlsDescendantBindings:!0}}};const Go=DevExpress.ui.dxDropDownBox;var Uo=e.n(Go);class qo extends(Uo()){constructor(e,t){var i,r;super(e,D(t,{showClearButton:!0})),this._path=zt.observable(""),this._value=zt.observable(""),this._parentViewport=null,this._itemsProvider=zt.observable(null),this._hasDisplayNameOption=!1,this._defaultPosition=null;const s=x.fn.constructor(e);s.addClass("dx-fieldlistpicker"),this.option("path")&&this._path(null===(i=this.option("path"))||void 0===i?void 0:i.toString()),this.option("value")&&this._value(this.option("value")),this.option("itemsProvider")&&this._itemsProvider(this.option("itemsProvider")),this.option("valueChangeEvent","change"),this.option("openOnFieldClick",!1===this.option("acceptCustomValue")),this._parentViewport=s.parents(".dx-designer-viewport"),"displayValue"in t&&(this._hasDisplayNameOption=!0,this.option("displayValue",t.displayValue),this._setTitle(null===(r=this.option("displayValue"))||void 0===r?void 0:r.toString()))}updateOptions(e){e.showClearButton=!0}_showDropDown(){if(this._popup){const e=x.fn.constructor(this.element());this._popup.option("width",e.width());const t=D(!0,{},this._defaultPosition,{boundary:this._parentViewport[0],boundaryOffset:"0 20",collision:"none flip"});this._popup.option("position",t),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),x.fn.constructor(this._popup.content())[0].style.height="auto",this._popup._renderPosition()}}_getMaxHeight(){const e=x.fn.constructor(this.element()),t=e.offset(),i=x.fn.constructor(window).height(),r=Math.max(t.top,i-t.top-e.outerHeight());return Math.min(.5*i,r)}_closeOutsideDropDownHandler(e,t){super._closeOutsideDropDownHandler.apply(this,[e,!0])}_hideOnBlur(){return!1}_popupConfig(){const e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=super._popupConfig.apply(this);return this._defaultPosition=t.position,D(t,{container:this._parentViewport,contentTemplate:e&&e._template,hideOnOutsideClick:!0})}_setTitle(e){this.option("openOnFieldClick")&&x.fn.constructor(this.element()).attr("title",e)}_renderDisplayText(e){super._renderDisplayText.apply(this,[e])}_optionChanged(e){const t=e.name,i=e.value;switch(t){case"value":this._value(i),this._hasDisplayNameOption||this._renderDisplayText(i),setTimeout(x.proxy((()=>{this.option("opened",!1)}),this),50),this.option("onValueChanged")&&this.option("onValueChanged")({value:i});break;case"path":this._path(i);break;case"itemsProvider":this._itemsProvider(i);break;case"displayValue":this._renderDisplayText(i),this._setTitle(i);break;default:super._optionChanged.apply(this,arguments),"opened"===t&&i&&this._showDropDown()}}_clearValueHandler(){x.fn.constructor(this._input()).val(null),super._clearValueHandler.apply(this,arguments)}_renderPopupContent(){super._renderPopupContent.apply(this,arguments);const e=zt.pureComputed({read:()=>this._path()?this._path()+"."+this._value():this._value(),write:e=>{this._path()&&this._path().length>0?(this._value(e.substr(this._path().length+1)),this.option("value",this._value())):(this._value(e),this.option("value",this._value()))}}),t=x.fn.constructor("<div>").addClass("dx-treelist-wrapper").get(0),i=this._createComponent(t,"dxScrollView",{scrollByThumb:!0}),r=this,s=x.fn.constructor(i.content()),a=x.fn.constructor(this.element());s.append(x.fn.constructor('<div data-bind="treelist: options"></div>')[0]);const n=zt.contextFor(a.get(0)),o=this.option("treeListController"),d=zt.computed((()=>({itemsProvider:this._itemsProvider(),onItemsVisibilityChanged:()=>{r._popup&&r._popup._renderPosition()},selectedPath:e,treeListController:o,path:this._path}))),l=n.createChildContext({options:d});zt.applyBindingsToDescendants(l,s.get(0)),x.fn.constructor(this._popup.content()).append(t)}}Ln()("dxFieldListPicker",qo);class Ko extends F{constructor(){super(),this.popupVisible=zt.observable(!1),this.buttonItems=[],this._createMainPopupButtons()}_createMainPopupButtons(){const e=this;this._disposables.push(this._disableSaveButton=zt.pureComputed((()=>!e.canSave()))),this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.saveLocalization,type:"default",stylingMode:"contained",onClick:function(t){e.save(t)},disabled:this._disableSaveButton}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.cancelLocalization,type:"normal",stylingMode:"contained",onClick:function(){e.close()}}}],this._disposables.push(this._disableSaveButton)}canSave(){return!0}save(e){this.popupVisible(!1)}close(){this.popupVisible(!1)}get cancelLocalization(){return te("Cancel",Zn.DataAccessBtnCancel)}get saveLocalization(){return te("OK",Zn.DataAccessBtnOK)}}class Yo extends Fa{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(Xe.unwrap(null===(e=this.editorOptions)||void 0===e?void 0:e.showClearButton)?[]:js)}}function Jo(e,t){return{header:"dx-number-editor",editorType:class extends Yo{getOptions(i){const r=super.getOptions(i);return na.getNumberEditorOptions(e,t,r)}}}}var Xo=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};function Zo(e){const t=e.getModel(),i=()=>{return(t="addHandler",t?e.info&&e.info[t]:e.info).call(this);var t};return{values:[...t.value],addHandler:()=>i(),onValueChanged:(e,i)=>{t._set("value",[...e])},info:e.info,level:e.level,displayName:Ke(e.displayName)}}function Qo(e,t,i){let r;const s=G.wrap(i.disabled);let a=null;new Ma(e,void 0,i.level+1,s);const n=Pi().createDefaultModel({disabled:s}).generateProperty("index",t).generateProperty("disabled",i.disabled).generateProperty("level",i.level).generateProperty("name",i.displayPropertyName&&e[i.displayPropertyName]?Xe.unwrap(e[i.displayPropertyName]):t).generateProperty("select",((e,t)=>i.select(e,t))).generateProperty("padding",i.padding).generateProperty("selected",t===i.selectedIndex).generateProperty("collapsed",!0).generateProperty("setCollapsed",(e=>{n.collapsed=e,r()})).generateProperty("getProperties",(t=>{var r,n,o;return a||(a=new Ma(e,null!==(r=null==t?void 0:t.editorsInfo)&&void 0!==r?r:void 0,null!==(n=null==t?void 0:t.level)&&void 0!==n?n:i.level+1,null!==(o=null==t?void 0:t.disabled)&&void 0!==o?o:s),i._disposables.push(a)),a.getViewModel()})).generateProperty("getCollapsed",(()=>n.collapsed)).generateProperty("setCollapsedChangedEvent",(e=>(r=e,()=>r=void 0))).generateProperty("value",e).getViewModel();if(Xe.isSubscribable(e[i.displayPropertyName]))i._disposables.push(e[i.displayPropertyName].subscribe((()=>{n.name=Xe.unwrap(e[i.displayPropertyName])})));else if("object"==typeof e&&"events"in e){const t=e;i.addDisposable(t.events.on(`${i.displayPropertyName}Changed`,(t=>{t.propertyName===i.displayPropertyName&&(n.name=e[i.displayPropertyName])})))}return n}class ed extends Mi{constructor(e,t=!1){super(),this.buttonMap={delete:{text:"Delete",iconClass:"dx-image-remove",localizationId:"AnalyticsCoreStringId.Cmd_Delete"},add:{text:"Add",iconClass:"dx-image-add",localizationId:"DataAccessUIStringId.Button_Add"},down:{text:"Move Down",iconClass:"dx-image-movedown",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",iconClass:"dx-image-moveup",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}};const i=t=>t?e.info&&e.info[t]:e.info,r=i();this.collapsed=!1!==e.collapsed,this.addHandler=()=>(e.addHandler||i("addHandler")).call(this),this.removeHandler=(t,i)=>{e.removeHandler?e.removeHandler(t,i):this.values.splice(i,1)},this.values=e.values,this.hideButtons=e.hideButtons||i("hideButtons"),this.showButtons=!Xe.unwrap(this.hideButtons)&&!this.collapsed,Xe.isSubscribable(this.hideButtons)&&this._disposables.push(this.hideButtons.subscribe((e=>{this.showButtons=!Xe.unwrap(this.hideButtons)&&!this.collapsed}))),this._textEmptyArray=e.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},this.displayPropertyName=i("displayPropertyName"),this.showScroll=!!e.showScroll;const s=(t,i)=>e.isDisabledButton?e.isDisabledButton(t,i):"delete"===i?null===t:"add"!==i&&("up"===i?null===t||0===t:"down"===i?null===t||t===this.values.length-1:void 0);this.isDisabledButton=e=>this.disabled||s(this.selectedIndex,e),this.isVisibleButton=t=>!!this.showButtons&&(!e.isVisibleButton||e.isVisibleButton(this.selectedIndex,t)),this.level=void 0!==e.level?e.level:0,this.padding=this.level*Os(),this.displayName=r?Ke(r.displayName,r.localizationId):e.displayName,this.options=e,e.displayName||(this.collapsed=!1,this.alwaysShow=!0),e.alwaysShow&&(this.alwaysShow=!0);const a=Xe.unwrap(e.selectedItem);a&&(this._setSelectedIndex(a),this._disposables.push(e.selectedItem.subscribe((e=>{this._setSelectedIndex(e)})))),this.disabled=t,this.listKeyboardHelper=new He,this.keyboardHelper=new Oe((()=>this.getViewModel())),this.headerId=`dxrd-ce-trigger-${Br()}`,this.contentId=`dxrd-ce-pannel-${Br()}`}deferredUpdateViewModel(){return!1}createViewModel(){let e;const t=e=>Pi().generateProperty("action",(t=>this[e](t))).generateProperty("disabled",this.isDisabledButton(e)).generateProperty("text",this.getDisplayTextButton(e)).generateProperty("visible",this.isVisibleButton(e)).generateProperty("template",jn(this.buttonMap[e].iconClass)).getViewModel(),i=Pi(super.createViewModel()).generateProperty("alwaysShow",this.alwaysShow).generateProperty("showButtons",this.showButtons).generateProperty("collapsed",this.collapsed).generateProperty("setCollapsed",(e=>{this.collapsed=e})).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("buttons",Pi().generateProperty("add",t("add")).generateProperty("down",t("down")).generateProperty("delete",t("delete")).generateProperty("up",t("up")).getViewModel()).generateProperty("emptyAreaText",this.getDisplayTextEmptyArray()).generateProperty("disabled",this.disabled).generateProperty("getCollapsed",(()=>this.collapsed)).generateProperty("setCollapsedChangedEvent",(t=>(e=t,()=>e=void 0))).generateProperty("contentId",this.contentId).generateProperty("headerId",this.headerId).generateProperty("displayName",this.displayName).generateProperty("padding",this.padding).generateProperty("level",this.level).generateProperty("showScroll",this.showScroll).generateProperty("values",this.values.map(((e,t)=>Qo(e,t,this)))).getViewModel();return this.addDisposable(this.events.on("collapsedChanged",(t=>{e&&e()}))),i}updateViewModel(e){const t=this.getViewModel();if(t.collapsed=this.collapsed,t.alwaysShow=this.alwaysShow,t.showButtons=this.showButtons,"selectedIndex"===e.propertyName){const i=e.oldValue,r=e.newValue;t.values[i]&&(t.values[i].selected=!1),t.values[r]&&(t.values[r].selected=!0)}if("values"===e.propertyName)if("added"in e){const i=e;i.added.forEach((e=>{for(let i=e.index;i<t.values.length;i++)t.values[i].index++;t.values.splice(e.index,0,Qo(e.item,e.index,this))})),i.removed.forEach((e=>{for(let i=e.index;i<t.values.length;i++)t.values[i].index--;t.values.splice(e.index,1)})),this._timeoutItemRendered&&clearTimeout(this._timeoutItemRendered),this._timeoutItemRendered=setTimeout((()=>{this.listKeyboardHelper&&this.listKeyboardHelper.initialize()}),100)}else t.values=this.values.map(((e,t)=>Qo(e,t,this)));"values"!==e.propertyName&&"selectedIndex"!==e.propertyName&&"disabled"!==e.propertyName||Object.keys(t.buttons).forEach((e=>{t.buttons[e].disabled=this.isDisabledButton(e)})),"disabled"===e.propertyName&&(t.disabled=this.disabled,t.values.forEach((e=>{e.disabled=this.disabled,e.getModel().disabled(this.disabled)}))),"showButtons"===e.propertyName&&Object.keys(t.buttons).forEach((e=>{t.buttons[e].visible=this.isVisibleButton(e)}))}dispose(){super.dispose(),this.removeProperties()}_move(e,t){if(this.selectedIndex>=0){const i=this.selectedIndex,r=i+t;if(r>=e.length||r<0)return;this.values.splice(r,0,this.values.splice(i,1)[0]),this.selectedIndex=r}}_setSelectedIndex(e){const t=this.values.indexOf(e);this.selectedIndex=-1===t?null:t}onPropertyChanged(e){var t;"collapsed"===e.propertyName?this.showButtons=!Xe.unwrap(this.hideButtons)&&!this.collapsed:"values"===e.propertyName&&(null===(t=this.options)||void 0===t||t.onValueChanged(this.values,e))}getDisplayTextButton(e){return Ke(this.buttonMap[e].text,this.buttonMap[e].localizationId)}getDisplayTextEmptyArray(){return Ke(this._textEmptyArray.text,this._textEmptyArray.localizationId)}add(e){e.event.stopPropagation(),this.options.undoEngine&&this.options.undoEngine.start();const t=this.addHandler();if(!t)return;const i=this.values.push(t);this.options.undoEngine&&this.options.undoEngine.end(),this.options.selectedItem&&this.select(this.getViewModel().values[i-1])}up(e){this._move(this.values,-1),e.event.stopPropagation()}down(e){this._move(this.values,1),e.event.stopPropagation()}delete(e){if(e.event.stopPropagation(),this.selectedIndex<0)return;this.options.undoEngine&&this.options.undoEngine.start();const t=this.values[this.selectedIndex];this.removeHandler(t,this.selectedIndex),this.options.undoEngine&&this.options.undoEngine.end();const i=this.values.length;i>0?this.select(this.selectedIndex>=i?this.getViewModel().values[i-1]:this.getViewModel().values[this.selectedIndex],!0):this.select({index:null,value:null},!0)}select(e,t=!1){if(this.selectedIndex!==e.index||t){if(t&&this.selectedIndex===e.index){const e={propertyName:"selectedIndex",newValue:this.selectedIndex,oldValue:this.selectedIndex};this.onPropertyChanged(e),this.updateViewModel(e)}this.selectedIndex=e.index,this.options.selectedItem&&this.options.selectedItem(e.value)}}}Xo([Fi(null)],ed.prototype,"selectedIndex",void 0),Xo([Fi(!0)],ed.prototype,"collapsed",void 0),Xo([Fi(!1)],ed.prototype,"alwaysShow",void 0),Xo([Bi((()=>[]))],ed.prototype,"values",void 0),Xo([Fi(!1)],ed.prototype,"showButtons",void 0),Xo([Fi((()=>!1))],ed.prototype,"disabled",void 0);const td=(e,t)=>{const i=zt.computed((()=>zt.isObservableArray(e.values)?e.values:zt.unwrap(e.values))),r=e.addHandler,s=()=>{return(r||(t="addHandler",t?zt.unwrap(e.info)&&zt.unwrap(e.info)[t]:zt.unwrap(e.info))).call(void 0);var t};e.addHandler=()=>s();let a=!1;const n=e=>{a||(a=!0,e(),a=!1)};e.onValueChanged=(e,t)=>{n((()=>{var e,r;null===(e=t.added)||void 0===e||e.forEach((e=>i().splice(e.index,0,e.item))),null===(r=t.removed)||void 0===r||r.sort(((e,t)=>t.index-e.index)).forEach((e=>i().splice(e.index,1)))}))};const o=new ed(Object.assign(Object.assign({},e),{values:[...i()()],undoEngine:zt.unwrap(e.undoEngine),info:zt.unwrap(e.info)}),zt.unwrap(null==t?void 0:t.disabled));zt.isSubscribable(null==t?void 0:t.disabled)&&o._disposables.push(t.disabled.subscribe((e=>{o.disabled=e}))),o._disposables.push(i);const d=()=>i().subscribe((e=>{n((()=>{e.forEach((e=>{"added"===e.status&&o.values.splice(e.index,0,e.value),"deleted"===e.status&&o.values.splice(e.index,1)}))}))}),void 0,"arrayChange");let l=d();return o._disposables.push(l),o._disposables.push(i.subscribe((e=>{n((()=>{l.dispose(),o.values=[...zt.unwrap(e)],l=d(),o._disposables.push(l)}))}))),t&&zt.isSubscribable(t.disabled)&&o._disposables.push(t.disabled.subscribe((e=>{o.disabled=zt.unwrap(t.disabled)}))),o};zt.bindingHandlers.dxCollectionEditor={init:function(e,t,i,r,s){const a=t();let n="multiplatform";!r||r instanceof Fa||!r.getModel||(n=r.getModel()._engineType);const o="multiplatform"===n?td(t(),r):new ed(Zo(r)),d=st(a.editorTemplate||"#dx-collectioneditor"),l=x.fn.constructor(d),u=zt.unwrap(a.info),c=u&&u.template||a.template;if(c){const e=st(c);l.find(".dx-collection-item").append(x.fn.constructor(e))}else l.find(".dx-collection-item").append(x.fn.constructor(e).children());const p=x.fn.constructor(e).append(l),h=s.createChildContext(o.getViewModel());return zt.applyBindings(h,p.children()[0]),J(e,(()=>{o.dispose()})),{controlsDescendantBindings:!0}}};const id="dx-ellipsiseditor",rd=id+" dx-dropdowneditor",sd=id+"-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button",ad=id+"-icon dx-ellipsis-image dx-dropdowneditor-icon",nd="dx-ellipsiseditor-warning";class od extends(Ra()){constructor(e,t){super(e,t)}_init(){super._init.apply(this),this._$element||(this._$element=x.fn.constructor(this.element())),this._$element.addClass(rd),this._koContext=zt.contextFor(this._$element.get(0))}_render(){super._render.apply(this),this._renderButton(),this._updateWarningState(),this._attachInputEvents()}_updateWarningState(e=this.option("warningMessage")){e?(this._$element.attr("title",e.toString()),this._$element.addClass(nd)):(this._$element.removeAttr("title"),this._$element.removeClass(nd))}_renderButton(){this._$button=x.fn.constructor("<div />").addClass(sd),this._attachButtonEvents(),this._$buttonIcon=x.fn.constructor("<div />").addClass(ad).height("100%").append(it.templates["dxrd-svg-ellipsis"]).appendTo(this._$button),zt.applyBindingsToDescendants(this._koContext,this._$buttonIcon[0]);const e=this._buttonsContainer();this._$button.appendTo(e)}_updateButtonSize(){this._$buttonIcon.height(x.fn.constructor(this.element()).height())}_attachButtonEvents(){const e=[];this._$input||(this._$input=x.fn.constructor(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((e=>{e.on("click",this.buttonAction.bind(this))}))}_attachInputEvents(){const e=this._input()[0];if(!e)return;const t=e=>{(e.key==$e.Enter||e.key==$e.ArrowDown&&e.altKey)&&this.buttonAction(e)};e.addEventListener("keydown",t),J(e,(function(){e.removeEventListener("keydown",t)}))}_optionChanged(e){switch(e.name){case"disabled":this._attachButtonEvents();break;case"warningMessage":this._updateWarningState(e.value)}super._optionChanged.apply(this,arguments)}buttonAction(e){this.option("buttonAction")&&(this.option("buttonAction")(),e.stopPropagation())}}Ln()("dxEllipsisEditor",od);class dd extends od{constructor(e,t){t.placeholder=t.placeholder||Ke("(none)","DxDesignerStringId.None"),super(e,t)}_getDisplayValue(){const e=this.option("placeholderId");return this.option("value")&&e?Ke(e,{Image:"AnalyticsCoreStringId.ImagePicker_Placeholder",File:"AnalyticsCoreStringId.FilePicker_Placeholder"}[e]):this.option("value")}_handleResult(e){this.option("useFormat")&&this.option("format",e.format),this.option("value",e.content)}_renderInput(e){const t=e&&x.fn.constructor(e)||x.fn.constructor("<div />");t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),x.fn.constructor(this.element()).append(this._inputContainer),super._renderInput.apply(this,[e])}_attachButtonEvents(){this._$button.off("click"),this.option("disabled")||this._$button.on("click",(e=>{var t,i;e.stopPropagation(),e.preventDefault(),ve({accept:(null===(t=this.option("accept"))||void 0===t?void 0:t.toString())||"image/*",readMode:null===(i=this.option("readMode"))||void 0===i?void 0:i.toString()}).done((e=>{this._handleResult(e)}))}))}_renderValue(){this.option("text",this._getDisplayValue()),super._renderValue.apply(this)}}Ln()("dxFileImagePicker",dd);const ld=[{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"}];class ud extends F{constructor(e){super(),this.family=zt.observable(null),this.unit=zt.observable(null),this.isUpdateModel=!1,this.size=zt.observable(null),this.modificators={bold:zt.observable(!1),italic:zt.observable(!1),strikeout:zt.observable(!1),underline:zt.observable(!1)},this.updateModel(e()),this._disposables.push(e.subscribe((e=>{this.isUpdateModel=!0,this.updateModel(e),this.isUpdateModel=!1}))),this._disposables.push(this.modificators.bold.subscribe((t=>this.updateValue(e)))),this._disposables.push(this.modificators.italic.subscribe((t=>this.updateValue(e)))),this._disposables.push(this.modificators.strikeout.subscribe((t=>this.updateValue(e)))),this._disposables.push(this.modificators.underline.subscribe((t=>this.updateValue(e)))),this._disposables.push(this.family.subscribe((t=>this.updateValue(e)))),this._disposables.push(this.size.subscribe((t=>this.updateValue(e)))),this._disposables.push(this.unit.subscribe((t=>this.updateValue(e))))}_toString(){const e=[this.family(),this.size()+this.unit()].join(", "),t=[];this.modificators.bold()&&t.push("Bold"),this.modificators.italic()&&t.push("Italic"),this.modificators.underline()&&t.push("Underline"),this.modificators.strikeout()&&t.push("Strikeout");const i=t.join(", ");return i?[e,i].join(", style="):e}updateModel(e){e||(e=Ms());const t=e.split(",");this.family(t[0]);const i=this;ld.forEach((function(e){-1!=t[1].trim().indexOf(e.value)&&(i.size(parseFloat(t[1].split(e.value)[0])),i.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"))}updateValue(e){this.isUpdateModel||e(this._toString())}}const cd=zt.bindingProvider.prototype.parseBindingsString;zt.utils.extend(zt.bindingProvider.prototype,{parseBindingsString:function(e,t,i,r){try{const s=zo(e.trim());return s?s(t,i):cd.call(zt.bindingProvider.instance,e,t,i,r)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}}});const pd=li()().optionsParser;li()({optionsParser:function(e){const t=zo(e.trim());return t?t():pd(e)}}),it.extendTemplates({"dxrd-svg-fieldlist-list":"dxrd-svg-fieldlist-table","dxrd-svg-fieldlist-default":"dxrd-svg-fieldlist-column"});const hd=zt.templateEngine.prototype.makeTemplateSource;zt.templateEngine.prototype.makeTemplateSource=function(e,t){return"string"==typeof e&&it.getExistingTemplate(e,!1)&&!document.getElementById(e)?new tt(e,it._instance._data,it.templates):hd.apply(this,[e,t])};const gd=window.ace;var md=e.n(gd);const xd=function(){let e;return t=>(void 0!==t&&(e=t),void 0===e?!!md():e)}();class fd extends F{constructor(e,t,i,r){super(),this.searchPlaceholder=()=>de(),this._categories=zt.observableArray([]),this.toolBox=[],this.description=zt.observable(),this._defaultClick=e,oo.filter((e=>!!e.descriptionStringId)).forEach((e=>this._initDescription(e)));const s=zt.computed((()=>i()&&zt.unwrap(i().functions)||to())),a=zt.computed((()=>s().map((e=>this._createFunctionsCategoryItem(e.items,Ke(e.display,e.localizationId)))))),n=()=>[this._createFieldsCategory(r,t),this._createConstantCategory(),this._createFunctionsCategory(a),this._createOperatorsCategory(oo)],o=zt.observable(null),d=()=>{const e=this._categories()[0].content;o()&&o().isSelected(!1),o(e),e.isSelected(!0)},l=t=>{this._disposeCategories();const i=n();t&&t.customizeCategories&&t.customizeCategories(this,i,e),this._categories(i),d()};this.resetCategoriesSelection=d,[s,a].forEach((e=>this._disposables.push(e))),this._disposables.push(i.subscribe((e=>{l(e)}))),l(i()),this._disposables.push(this.showDescription=zt.computed((()=>o()&&o().showDescription))),this.toolBox=[this._generateTab(this._categories,"dx-expressioneditor-categories",(e=>{if(e.data&&e.data.selectedItem&&e.data.selectedItem()&&-1!==e.data.items.indexOf(e.data.selectedItem())){const t=e.data.selectedItem();this.description(this._localizedExpressionEditorItem(t))}else this.description(void 0);o()!==e&&(o().isSelected(!1),e.isSelected(!0),o(e))})),this._generateTab(o,"dx-expressioneditor-selectedcontent",(e=>{this.description(this._localizedExpressionEditorItem(e))}),this._defaultClick),this._generateTab(this.description,"dx-expressioneditor-description",void 0,void 0,this.showDescription)]}_generateTab(e,t=null,i,r,s){return{templateName:t,content:e,click:i,dblclick:r,visible:s||!0}}_localizedExpressionEditorItem(e){return e.descriptionStringId?Ke(e.text,e.descriptionStringId):e.description?e.description:e.text}_initDescription(e){e.description=this._localizedExpressionEditorItem(e)}_createFieldsCategory(e,t){return{displayName:Ke("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:zt.observable(!1),data:{fields:e,parameters:t},name:"dx-expressioneditor-fields"},dispose:()=>{}}}_createConstantCategory(){return ao([{text:"?",descriptionStringId:"ExpressionEditorStringId.Constant_Null"},{text:"False",descriptionStringId:"ExpressionEditorStringId.Constant_False"},{text:"True",descriptionStringId:"ExpressionEditorStringId.Constant_True"}],"Constants","DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants",!0)}_createOperatorsCategory(e){return ao(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)}_createFunctionsCategoryContent(e,t,i){return{showDescription:!0,isSelected:t,data:{textToSearch:e,items:i,availableItems:zt.observableArray(i),selectedItem:zt.observable(null)},name:"dx-expressioneditor-collection-function"}}_createFunctionsCategoryItem(e,t){const i={display:t,isSelected:zt.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return x.map(e,(e=>{e&&e.forEach((e=>{this._initDescription(e),i.data.push(e)}))})),i}_createFunctionsCategory(e){let t=null;const i=zt.observable(""),r=[],s=zt.observable(!1),a=zt.computed((()=>[].concat(...e().map((e=>e.data))))),n=this._createFunctionsCategoryContent(i,s,a()),o={displayName:Ke("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:e,allItems:a,isSelected:s,content:n,collapsed:zt.observable(!0),updateContent:(e,t)=>{n.isSelected&&n.isSelected(!1),n.isSelected=t,n.isSelected(!0),n.data.items=e,n.data.availableItems(n.data.items.filter((e=>!!Ce(e.text,i()))))},templateName:"dx-expressioneditor-category-accordion",dispose:()=>{r.forEach((e=>e.dispose())),r.splice(0,r.length)}};return r.push(a),r.push(i.subscribe((e=>{t&&clearTimeout(t),t=setTimeout((()=>{o.content.data.availableItems(o.content.data.items.filter((t=>!!Ce(t.text,e))))}),150)}))),o}_disposeCategories(){this._categories().forEach((e=>e.dispose&&e.dispose()))}dispose(){super.dispose(),this._disposeCategories()}}class vd{constructor(){this.selectedItem=null}dispose(){this.selectedItem=null}itemsFilter(e,t){return!0}hasItems(e){return"none"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList)}canSelect(e){return!e.hasItems}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0)}isDraggable(e){return!1}}class bd extends vd{constructor(e,t,i,r){super(),this.fieldName=e,this.putSelectionHandler=t,this.selectionHandler=i,this.customFilter=r}itemsFilter(e,t){return"none"!==e.specifics&&"ReportItems"!==e.name&&(!this.customFilter||this.customFilter(t))}select(e){this.selectionHandler?this.selectionHandler(e):super.select(e)}getActions(e){return[{clickAction:t=>this.putSelectionHandler(e,x.fn.constructor(t))}]}canSelect(e){return!0}}class yd extends vd{constructor(e,t,i){super(),this.customFilter=e,this.putSelectionHandler=t,this.selectionHandler=i}itemsFilter(e){return"none"!==e.specifics&&(!this.customFilter||this.customFilter(e))}select(e){this.selectionHandler(e)}getActions(e){return[{clickAction:t=>{e&&!e.hasItems&&this.putSelectionHandler(e.path,x.fn.constructor(t))}}]}canSelect(e){return!0}}class _d extends F{constructor(e,t,i,r,s){super(),this._filterPlaceHolder=de(),this.showPopup=(e,t)=>{this.dispose(),this._disposables.splice(0),this._popupService.title(""),this.target.isSelected(!0),this._updateActions(this.target),this._popupService.target(t),setTimeout((()=>{this._popupService.visible(!0)}),10)},this.popupContentTemplate="dx-filtereditor-popup-common",this.filterString=zt.observable(""),this.isFiltered=zt.observable(!1),this.target=e,this._action=i,this.propertyName=r,this._popupService=t,this.popupContentTemplate=s||this.popupContentTemplate}_updateActions(e){if(this._popupService.data(null),e){this._disposables.push(this._popupService.visible.subscribe((e=>{this.target.isSelected(e),this.filterString("")}))),this._popupService.viewModel=e;let t=e[this.propertyName];this.isFiltered(!1),t&&t.length>10&&(this.isFiltered(!0),this._disposables.push(t=zt.pureComputed((()=>this.filterString()?e[this.propertyName].filter((e=>-1!=(e.displayText||e.name).toLocaleLowerCase().indexOf(this.filterString().toLocaleLowerCase()))):e[this.propertyName])))),this._popupService.data({data:t,template:this.popupContentTemplate,click:t=>{e[this._action](t),this._popupService.visible(!1)},isFiltered:this.isFiltered,filterString:this.filterString,searchPlaceholder:()=>de()})}}}class Cd extends F{constructor(e,t,i,r){super(),this.isUpdated=zt.observable(!1),this.canRemove=!0,this.operatorType=zt.observable(null),this.templateName="dx-filtereditor-common",this.isSelected=zt.observable(!1),this.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",this.popupService=t.popupService||{visible:zt.observable(!1)},this.model=e,this.helper=t.helper,this.fieldListProvider=i,this.path=r,this.parent=t,this.operatorType(e.operatorType),this._disposables.push(this.operatorType.subscribe((e=>{this.model.assignType(e)})))}_createLeftPartProperty(e){let t;if(e instanceof Us)t=this.createChildSurface(e);else{t=this.createChildSurface(e);const i=Object.keys(this.helper.filterEditorOperators).reduce(((e,t)=>("_common"!==t&&"integer"===e&&this.helper._getFilterEditorOperator(this.model,this.helper.filterEditorOperators[t],this.reverse)&&(e=t),e)),"integer");t.specifics=t.specifics||zt.observable(i)}return t.canChange=!1,t.canRemove=!1,t&&"aggregate"===t.model.type?(this.specifics=zt.computed((()=>t.aggregatedExpression()&&t.aggregatedExpression().specifics()||"integer")),this.dataType=zt.computed((()=>t.aggregatedExpression()&&t.aggregatedExpression().dataType()||"integer")),this._disposables.push(this.specifics),this._disposables.push(this.dataType)):(this.specifics=t.specifics,this.dataType=t.dataType),this.isUpdated=t.isUpdated,t}createChildSurface(e,t,i){return new this.helper.mapper[e.type](e,this,this.fieldListProvider,t||this.path)}getDisplayType(){const e=this.operatorType&&this.operatorType()||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||Ke(t.name,t.localizationId))||this.model.displayType||e}get items(){return this.helper.filterEditorOperators[this.specifics()]||this.helper.filterEditorOperators._common}get displayType(){return this.getDisplayType()}get leftPart(){return null}get rightPart(){return null}get css(){return this.operatorClass+(this.isSelected()?" selected":"")}change(e,t){!t&&e&&this.model.enumType===e.type&&this.reverse===e.reverse&&e.type!==Js?this.operatorType(e.value):this.parent.change(e,this),this.helper.onChange()}remove(e){this.parent.remove(this),this.helper.onChange()}}class wd extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-unary",this.operand=zt.observable(null);let s=this.createChildSurface(e.operand);e.operatorType===Ps.Not?(this.templateName="dx-filtereditor-not",s.reverse=!0,this.specifics=s.specifics):(s.dispose(),s=this._createLeftPartProperty(e.operand)),this.operand(s)}get leftPart(){let e=this.operand();return this.operand()&&this.operand().reverse&&this.operand().leftPart&&(e=this.operand().leftPart),e}get rightPart(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null}createChildSurface(e,t,i){return this.operatorType()!==Ps.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new Qs(Ys.And,[e])),super.createChildSurface(this.model.operand,t,i)}dispose(){this.operand().dispose(),super.dispose()}}class Ad extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-aggregate",this.property=zt.observable(null),this.aggregatedExpression=zt.observable(null),this.condition=zt.observable(null),this.property(this._createLeftPartProperty(e.property));const s=zt.computed((()=>this.path()+"."+this.property().propertyName()));this._disposables.push(s),e.aggregatedExpression&&(this.aggregatedExpression(this.createChildSurface(e.aggregatedExpression,s)),this.templateName="dx-filtereditor-aggregate-common"),"Count"===e.operatorType&&(this.templateName="dx-filtereditor-aggregate-common");const a=this.createChildSurface(e.condition,s);a.canRemove=!1,a instanceof wd&&(a.operand().canRemove=!1),this.condition(a),this.change=(e,t)=>{if(t){const i=this.model.change(e,t.model),r=this.createChildSurface(i,s);r.canRemove=!1,r instanceof wd&&(r.operand().canRemove=!1),this.condition(r)}else"Exists"===this.operatorType()||"Count"===this.operatorType()?this.parent.change(e,this):!e||"Exists"!==e.value&&"Count"!==e.value?super.change(e,t):this.parent.change(e,this);this.helper.onChange()}}get leftPart(){return this.property&&this.property()}get rightPart(){return this.aggregatedExpression()}dispose(){this.property().dispose(),this.condition().dispose(),this.aggregatedExpression()&&this.aggregatedExpression().dispose(),super.dispose()}}class Ed extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.property=zt.observable(null),this.end=zt.observable(null),this.begin=zt.observable(null),this.contentTemplateName="dx-filtereditor-between",this.property(this._createLeftPartProperty(e.property)),this.begin(this.createChildSurface(e.begin)),this.end(this.createChildSurface(e.end))}get leftPart(){return this.property&&this.property()}get rightPart(){return[this.begin(),this.end()]}dispose(){this.property().dispose(),this.begin().dispose(),this.end().dispose(),super.dispose()}}class Id extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-binary",this.leftOperand=zt.observable(null),this.rightOperand=zt.observable(null),this.leftOperand(this._createLeftPartProperty(e.leftOperand)),this.rightOperand(this.createChildSurface(e.rightOperand))}get leftPart(){return this.leftOperand()}get rightPart(){return this.rightOperand()}dispose(){this.leftOperand().dispose(),this.rightOperand().dispose(),super.dispose()}}function Sd(e){e.displayText=Ke(e.name,e.localizationId)}class $d extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.canChange=!0,this.canRemove=!1,this.changeValueType=e=>{const t=this.getRealParent(this.parent),i=this.getRealProperty(this),r=this.getPropertyName(t,i),s=t.model.changeValueType(e.instance,r);null!==r.index?(t[r.name]()[r.index].dispose(),t[r.name].splice(r.index,1,t.createChildSurface(s))):(t[r.name]().dispose(),t[r.name](t.createChildSurface(s))),this.helper.onChange()}}getRealParent(e){return e instanceof wd?this.getRealParent(e.parent):e}getRealProperty(e){return e.parent instanceof wd?this.getRealProperty(e.parent):e}getPropertyName(e,t){let i=null,r=null;return x.each(e,((e,s)=>{if(Array.isArray(zt.unwrap(s))&&zt.isObservable(s)){const a=zt.unwrap(s).indexOf(t);if(a>-1)return i=a,void(r=e)}else if(t===zt.unwrap(s)&&zt.isObservable(s))return void(r=e)})),{index:i,name:r}}getConvertableParameters(e){return this.helper.parameters()?this.helper.parameters().filter((t=>{const i=t.specifics&&t.specifics.toLowerCase();return null!=i&&null!=e&&(i===e||("default"===e||("string"===e||("float"===e?"integer"===i:"enum"===e&&("integer"===i||"string"===i)))))})):[]}get changeTypeItems(){const e=[{name:"Value",instance:Ws,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:Us,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(this.getConvertableParameters(this.parent.specifics()).length>0||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:Gs,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(Sd),e}}class kd extends $d{constructor(e,t,i,r){if(super(e,t,i,r),this.canRemove=!0,this.contentTemplateName="dx-filtereditor-function",this.operands=zt.observableArray([]),0===e.operands.length)this.specifics=t instanceof wd?t.parent.specifics:t.specifics,this.contentTemplateName="dx-filtereditor-function-lightweight",this.canRemove=!1;else{this.operands.push(this._createLeftPartProperty(e.operands[0]));for(let t=1;t<e.operands.length;t++)this.operands.push(this.createChildSurface(e.operands[t]))}}get leftPart(){return this.operands&&this.operands()[0]}get rightPart(){return this.operands&&this.operands().filter(((e,t)=>0!==t))}get displayType(){const e=this.items.filter((e=>this.operatorType()===e.value&&this.reverse===e.reverse&&this.model.enumType===e.type))[0];return e&&e.name?e.displayText||Ke(e.name,e.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":Js[this.operatorType()]}dispose(){this.operands().forEach((e=>e.dispose())),super.dispose()}}class Pd extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.templateName="dx-filtereditor-group",this.operatorClass="criteria-operator-item-group dxd-filter-editor-group-back-color dxd-filter-editor-text-color",this.operands=zt.observableArray([]),this.createItems=null,this.createItems=[{name:"Add group",value:!0,localizationId:"StringId.FilterMenuGroupAdd"},{name:"Add condition",value:!1,localizationId:"StringId.FilterMenuConditionAdd"}],this.createItems.forEach(Sd),this.operands((e.operands||[]).map((e=>this.createChildSurface(e)))),this.specifics=zt.observable("group")}change(e,t){if(t){const i=t.specifics()||"integer",r=this.helper.filterEditorOperators[i]||this.helper.filterEditorOperators._common;if(!e){const i=r.filter((e=>t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type))[0];e=i||r[0]}const s=this.model.change(e,t.model,t.leftPart instanceof Ad&&"list"!==t.leftPart.leftPart.specifics()),a=this.operands().indexOf(t),n=this.createChildSurface(s);this.operands()[a].dispose(),this.operands.splice(a,1,n)}else super.change(e,t);this.helper.onChange()}remove(e){e?(this.model.remove(e.model),this.operands.remove(e),e.dispose()):(this.parent.remove(this),this.dispose()),this.helper.onChange()}create(e){const t=this.model.create(e.value,new Us);this.operands.push(this.createChildSurface(t)),this.helper.onChange()}get rightPart(){return this.operands()}dispose(){this.operands().forEach((e=>e.dispose())),super.dispose()}}class Dd extends Cd{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-in",this.operands=zt.observableArray([]),this.criteriaOperator=zt.observable(null),this.criteriaOperator(this._createLeftPartProperty(e.criteriaOperator)),this.operands((e.operands||[]).map((e=>this.createChildSurface(e)))),this.addValue=()=>{const e=new Ws(null);this.model.operands.push(e),this.operands.push(this.createChildSurface(e))}}get leftPart(){return this.criteriaOperator()}get rightPart(){return this.operands()}dispose(){this.criteriaOperator().dispose(),this.operands().forEach((e=>e.dispose())),super.dispose()}}class Td extends $d{constructor(e,t,i,r){super(e,t,i,r),this.changeParameter=e=>{this.model.parameterName=e.name,this.parameterName(e.name),this.helper.onChange()},this.operatorClass="criteria-operator-item-parameter dxd-filter-editor-parameter-back-color dxd-filter-editor-text-color",this.parameterName=zt.observable(""),this.templateName="dx-filtereditor-parameter",this.specifics=t.specifics,this.parameterName(e.parameterName),!this.parameterName()&&this.items.length>0&&this.changeParameter(this.items[0]),this.specifics&&this._disposables.push(this.specifics.subscribe((e=>{0==this.items.filter((e=>zt.unwrap(e.name)==this.parameterName())).length&&(this.items.length>0?this.changeParameter(this.items[0]):this.changeParameter({name:""}))})))}get items(){return this.getConvertableParameters(this.specifics())}get displayType(){return null}}class Fd extends $d{constructor(e,t,i,r){super(e,t,i,r),this._displayName=zt.observable(""),this.propertyName=zt.observable(""),this.specifics=zt.observable("integer"),this.dataType=zt.observable(""),this.valueType=zt.observable(""),this.changeProperty=e=>{this.fieldsOptions().selected(e)},this.templateName="dx-filtereditor-property",this.operatorClass="criteria-operator-item-field dxd-filter-editor-field-back-color dxd-filter-editor-field-back-color dxd-filter-editor-text-color",this.propertyName(e.propertyName);const s=this.helper.generateTreelistOptions(i,r);s.options&&s.subscription?(this.fieldsOptions=s.options,this._disposables.push(s.subscription)):this.fieldsOptions=s,this._disposables.push(this.fieldsOptions().selectedPath.subscribe((e=>{const t=this.fieldsOptions().selectedPath().substr(this.path&&this.path().length>0?this.path().length+1:0);this.propertyName(t),this.model.propertyName=t,this.popupService.visible(!1)}))),this._disposables.push(this.fieldsOptions().selected.subscribe((e=>{this._updateDisplayName(r,this.propertyName(),e.displayName);let t=e.specifics.toLowerCase();0===t.indexOf("calc")&&(t=t.split("calc")[1]),this.specifics()===t&&this.dataType()===e.dataType||(this.specifics(t),this.dataType(e.dataType),this.parent.change()),this.helper.onChange()}))),this.fieldsOptions().selectedPath(this.path&&zt.unwrap(this.path)?[zt.unwrap(this.path),this.propertyName()].join("."):this.propertyName()),this._updateSpecifics(),this._disposables.push(this.displayName=zt.computed((()=>this._displayName()||this.propertyName())))}_updateDisplayName(e,t,i){this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(zt.unwrap(e),t).done((e=>{this._displayName(e)})):this._displayName(i)}_updateSpecifics(){const e=this.propertyName().split(".");let t=e.pop();zt.unwrap(this.fieldsOptions).itemsProvider&&(this.isUpdated(!0),zt.unwrap(this.fieldsOptions).itemsProvider.getItems(new Nr([this.path()].concat(e).join("."))).done((e=>{const i=e.filter((e=>"List"!==e.specifics&&!e.isList));!this.propertyName()&&i.length>0&&(this.model.propertyName=i[0].name,this.propertyName(i[0].name),t=i[0].name);const r=e.filter((e=>e.name===t))[0];if(r){let e=r.specifics.toLowerCase();0===e.indexOf("calc")&&(e=e.split("calc")[1]),this.specifics(e),this.dataType(r.dataType),this._updateDisplayName(this.path,this.propertyName(),r.displayName)}})).always((()=>{this.isUpdated(!1)})))}get items(){return this.fieldsOptions}get displayType(){return null}}class Bd extends $d{constructor(e,t,i,r){super(e,t,i,r),this._value=zt.observable(null),this._scroll=null,this._updateDate=function(e){"date"===e?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},this.changeValue=()=>{const e=this.getRealParent(this.parent),t=this.getRealProperty(this),i=this.getPropertyName(e,t),r=e.model.changeValue(this.model,this.reverse,i);null!==i.index?(e[i.name]()[i.index].dispose(),e[i.name].splice(i.index,1,e.createChildSurface(r))):(e[i.name]().dispose(),e[i.name](e.createChildSurface(r)))},this.dataType=zt.observable(""),this.values=zt.observable([]),this.isEditable=zt.observable(!1),this.templateName="dx-filtereditor-value",this._getBaseOptions=e=>({value:this._value,onFocusOut:()=>this.isEditable(!1),onFocusIn:()=>this.scrollTo(e)}),this.getNumberEditorOptions=e=>na.getNumberEditorOptions(this.dataType(),this.specifics(),this._getBaseOptions(e)),this.getStringEditorOptions=e=>this._getBaseOptions(e),this.getBoolEditorOptions=(e,t)=>Object.assign({dataSource:[{val:"True",text:"Yes",localizationId:"AnalyticsCoreStringId.ParametersPanel_True"},{val:"False",text:"No",localizationId:"AnalyticsCoreStringId.ParametersPanel_False"}],valueExpr:"val",displayExpr:"text",dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e)),this.getDateEditorOptions=(e,t)=>Object.assign({closeOnValueChange:!0,type:"date",dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e)),this.getListEditOptions=(e,t)=>{const i="object"!=typeof this.items[0];return Object.assign({dataSource:this.dataSource,acceptCustomValue:i,valueExpr:i?void 0:"value",displayExpr:i?void 0:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e))};let s=null;this._disposables.push(this.dataSource=zt.computed((()=>(s&&s.dispose(),s=new(vr())({store:this.values(),paginate:this.values().length>200,pageSize:100}),s)))),t instanceof wd?(this.specifics=t.parent.specifics,this.isUpdated=t.parent.isUpdated,this.dataType=t.parent.dataType,t.model.operatorType===Ps.Minus&&(this.reverse=!0)):(this.specifics=t.specifics,this.isUpdated=t.isUpdated,this.dataType=t.dataType),e.specifics&&zt.isWritableObservable(this.specifics)&&this.specifics(e.specifics),this._disposables.push(this.specifics.subscribe((t=>{this.isUpdated&&this.isUpdated()||(e.specifics=t,this._updateDate(t))}))),this._value(e.value),this._disposables.push(this._value.subscribe((e=>{this.model.value=e,this.helper.onChange()}))),xa(this._value())&&this._updateDate(this.specifics()),this._disposables.push(this.value=zt.computed({read:()=>{let e=this._value();if(e instanceof Date&&(e=he(e)),this.items.length>0){const t=this.items.filter((t=>String(t.value)===String(e)))[0];if(t)return t.display}return this.reverse&&(e="-"+e),null!=e&&""!==e?e:this.getDefaultValue()},write:e=>{e>0&&!this.reverse||e<0&&this.reverse?this._value(e):(e>0&&this.reverse||e<0&&!this.reverse)&&(this.reverse=!this.reverse,this._value(e<0?(""+e).substring(1):e),this.changeValue())}})),this._disposables.push(zt.computed((()=>{const e=zt.unwrap(i);e&&e.getValues&&this.parent.leftPart instanceof Fd&&this.parent.leftPart.propertyName()&&e.getValues(new Nr(zt.unwrap(this.path)+"."+this.parent.leftPart.propertyName())).done((e=>{this.values(e)}))}))),e.specifics=this.specifics()}get items(){return this.values()}get displayType(){return null}isDefaultDisplay(){return this.value()===this.getDefaultValue()}getDefaultValue(){return Bd._defaultValue?Bd._defaultValue:Bd._defaultValue=Ke("Enter a value","StringId.FilterEmptyEnter")}scrollTo(e){if(!this._scroll){const t=e.closest(".dx-filtereditor-tree");this._scroll=mr().getInstance(t)}this._scroll.scrollToElement(e)}}class Od{constructor(e){this.selectedItem=e}itemsFilter(e){return!0}hasItems(e){return"none"!==e.specifics&&"List"!==e.specifics&&!0===e.isList}canSelect(e){return!e.data.isList||!0===e.data.isList&&"List"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem(e.data),e.isSelected=!0)}dispose(){this.selectedItem=null}isDraggable(e){return!1}}var Md;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.Unary=2]="Unary"}(Md||(Md={}));class Nd{customValidate(e,t){return!1}checkLeftPart(e){return e instanceof Us||this.customValidate(e,Md.Left)}_checkRightPart(e){return e instanceof Us||e instanceof Gs||e instanceof Ws||e instanceof fo||e instanceof qs&&this._checkRightPart(e.operand)||this.customValidate(e,Md.Right)}checkRightPart(e){if(Array.isArray(e)){for(let t=0;t<e.length;t++)if(!this._checkRightPart(e[t]))return!1;return!0}return this._checkRightPart(e)}aggregateIsValid(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||(e.aggregatedExpression instanceof Us||this.validateModel(e.aggregatedExpression)))}commonOperandValid(e){return e.leftPart instanceof Xs?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)}groupIsValid(e){for(let t=0;t<e.operands.length;t++)if(!this.validateModel(e.operands[t]))return!1;return!0}unaryIsValid(e){return e.operand instanceof Us||this.validateModel(e.operand)||this.customValidate(e.operand,Md.Unary)}validateModel(e){return e instanceof Xs?this.aggregateIsValid(e):e instanceof Qs?this.groupIsValid(e):e instanceof qs?this.unaryIsValid(e):this.commonOperandValid(e)}}class Vd{constructor(e){this.rtl=!1,this.parameters=zt.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new Nd,this.filterEditorOperators={_common:[{name:"Equals",_type:"binary",insertVal:"==",value:Ks.Equal,type:Ks,localizationId:"StringId.FilterClauseEquals"},{name:"Does not equal",_type:"binary",hidden:!0,reverse:!0,value:Ks.Equal,type:Ks,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Does not equal",_type:"binary",insertVal:"!=",value:Ks.NotEqual,type:Ks,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Equals",_type:"binary",reverse:!0,hidden:!0,value:Ks.NotEqual,type:Ks,localizationId:"StringId.FilterClauseEquals"},{name:"Is greater than",_type:"binary",insertVal:">",value:Ks.Greater,type:Ks,localizationId:"StringId.FilterClauseGreater"},{name:"Is less than or equal to",_type:"binary",hidden:!0,reverse:!0,value:Ks.Greater,type:Ks,localizationId:"StringId.FilterClauseGreater"},{name:"Is greater than or equal to",_type:"binary",insertVal:">=",value:Ks.GreaterOrEqual,type:Ks,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than",_type:"binary",hidden:!0,reverse:!0,value:Ks.GreaterOrEqual,type:Ks,localizationId:"StringId.FilterClauseLess"},{name:"Is less than",_type:"binary",insertVal:"<",value:Ks.Less,type:Ks,localizationId:"StringId.FilterClauseLess"},{name:"Is greater than or equal to",_type:"binary",reverse:!0,hidden:!0,value:Ks.Less,type:Ks,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than or equal to",_type:"binary",insertVal:"<=",value:Ks.LessOrEqual,type:Ks,localizationId:"StringId.FilterClauseLessOrEqual"},{name:"Is greater than",_type:"binary",reverse:!0,hidden:!0,value:Ks.LessOrEqual,type:Ks,localizationId:"StringId.FilterClauseGreater"},{name:"Is between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:po,localizationId:"StringId.FilterClauseBetween"},{name:"Is not between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:po,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"}],string:[],guid:[],integer:[],float:[],date:[],list:[],group:[],bool:[]},this.onChange=()=>{},this.onEditorFocusOut=e=>{},this.onSave=e=>{},this.onClosing=()=>{},this.handlers={create:(e,t)=>({data:new _d(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}),change:(e,t)=>({data:new _d(e,t,"change","items"),templateName:"dx-filtereditor-change"}),changeProperty:(e,t)=>({data:new _d(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}),changeValueType:(e,t)=>({data:new _d(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}),changeParameter:(e,t)=>({data:new _d(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"})},this.mapper={aggregate:Ad,property:Fd,parameter:Td,value:Bd,group:Pd,between:Ed,binary:Id,function:kd,in:Dd,unary:wd,default:Cd},this.serializer=e||new vo,this.filterEditorOperators.string=[].concat(this.filterEditorOperators._common,[{name:"Contains",_type:"function",insertVal:"Contains(, )",value:Js.Contains,type:Js,localizationId:"StringId.FilterClauseContains"},{name:"Does not contain",_type:"function",value:Js.Contains,type:Js,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},{name:"Begins with",_type:"function",insertVal:"StartsWith(, )",value:Js.StartsWith,type:Js,localizationId:"StringId.FilterClauseBeginsWith"},{name:"Ends with",_type:"function",insertVal:"StartsWith(, )",value:Js.EndsWith,type:Js,localizationId:"StringId.FilterClauseEndsWith"},{name:"Is like",_type:"binary",insertVal:"Like",value:Ks.Like,type:Ks,localizationId:"StringId.FilterClauseLike"},{name:"Is not like",_type:"binary",insertVal:"Not Like",value:Ks.Like,type:Ks,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:ho,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:ho,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is blank",_type:"function",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:Js.IsNullOrEmpty,type:Js,localizationId:"StringId.FilterClauseIsNullOrEmpty"},{name:"Is not blank",_type:"function",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:Js.IsNullOrEmpty,type:Js,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"}]),this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:Ps.IsNull,type:Ps,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:Ps.IsNull,type:Ps,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:ho,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:ho,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"}]),this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.bool=this.filterEditorOperators.integer,this.filterEditorOperators.date=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:Ps.IsNull,type:Ps,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:Ps.IsNull,type:Ps,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",type:ho,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:ho,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is beyond this year",_type:"function",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:Js.IsOutlookIntervalBeyondThisYear,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},{name:"Is next week",_type:"function",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:Js.IsOutlookIntervalNextWeek,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},{name:"Is tomorrow",_type:"function",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:Js.IsOutlookIntervalTomorrow,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},{name:"Is today",_type:"function",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:Js.IsOutlookIntervalToday,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},{name:"Is yesterday",_type:"function",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:Js.IsOutlookIntervalYesterday,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},{name:"Is last week",_type:"function",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:Js.IsOutlookIntervalLastWeek,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},{name:"Is prior this year",_type:"function",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:Js.IsOutlookIntervalPriorThisYear,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},{name:"Is same day",_type:"function",insertVal:"IsSameDay(, )",value:Js.IsSameDay,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},{name:"Is this month",_type:"function",insertVal:"IsThisMonth()",emptyRightPart:!0,value:Js.IsThisMonth,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},{name:"Is this week",_type:"function",insertVal:"IsThisWeek()",emptyRightPart:!0,value:Js.IsThisWeek,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},{name:"Is this year",_type:"function",insertVal:"IsThisYear()",emptyRightPart:!0,value:Js.IsThisYear,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},{name:"Is next month",_type:"function",insertVal:"IsNextMonth",emptyRightPart:!0,value:Js.IsNextMonth,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},{name:"Is next year",_type:"function",insertVal:"IsNextYear()",emptyRightPart:!0,value:Js.IsNextYear,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},{name:"Is last month",_type:"function",insertVal:"IsLastMonth()",emptyRightPart:!0,value:Js.IsLastMonth,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},{name:"Is last year",_type:"function",insertVal:"IsLastYear()",emptyRightPart:!0,value:Js.IsLastYear,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},{name:"Is the year-to-date period",_type:"function",insertVal:"IsYearToDate()",emptyRightPart:!0,value:Js.IsYearToDate,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},{name:"Is January",_type:"function",insertVal:"IsJanuary()",emptyRightPart:!0,value:Js.IsJanuary,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},{name:"Is February",_type:"function",insertVal:"IsFebruary()",emptyRightPart:!0,value:Js.IsFebruary,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},{name:"Is March",_type:"function",insertVal:"IsMarch()",emptyRightPart:!0,value:Js.IsMarch,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},{name:"Is April",_type:"function",insertVal:"IsApril()",emptyRightPart:!0,value:Js.IsApril,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},{name:"Is May",_type:"function",insertVal:"IsMay()",emptyRightPart:!0,value:Js.IsMay,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},{name:"Is June",_type:"function",insertVal:"IsJune()",emptyRightPart:!0,value:Js.IsJune,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},{name:"Is July",_type:"function",insertVal:"IsJuly()",emptyRightPart:!0,value:Js.IsJuly,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},{name:"Is August",_type:"function",insertVal:"IsAugust()",emptyRightPart:!0,value:Js.IsAugust,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},{name:"Is September",_type:"function",insertVal:"IsSeptember()",emptyRightPart:!0,value:Js.IsSeptember,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},{name:"Is October",_type:"function",insertVal:"IsOctober()",emptyRightPart:!0,value:Js.IsOctober,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},{name:"Is November",_type:"function",insertVal:"IsNovember()",emptyRightPart:!0,value:Js.IsNovember,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},{name:"Is December",_type:"function",insertVal:"IsDecember()",emptyRightPart:!0,value:Js.IsDecember,type:Js,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"}]),this.filterEditorOperators.list=[{name:"Exists",_type:"aggregate",value:"Exists",insertVal:"Exists()",type:Xs,localizationId:"StringId.FilterAggregateExists"},{name:"Count",_type:"aggregate",value:"Count",insertVal:"Count()",type:Xs,localizationId:"StringId.FilterAggregateCount"},{name:"Max",_type:"aggregate",value:"Max",insertVal:"Max()",type:Xs,localizationId:"StringId.FilterAggregateMax"},{name:"Min",_type:"aggregate",value:"Min",insertVal:"Min()",type:Xs,localizationId:"StringId.FilterAggregateMin"},{name:"Sum",_type:"aggregate",value:"Sum",insertVal:"Sum()",type:Xs,localizationId:"StringId.FilterAggregateSum"},{name:"Avg",_type:"aggregate",value:"Avg",insertVal:"Avg()",type:Xs,localizationId:"StringId.FilterAggregateAvg"}],this.filterEditorOperators.group=[{name:"And",_type:"group",insertVal:"And",value:Ys.And,type:Ys,localizationId:"StringId.FilterGroupAnd"},{name:"Or",_type:"group",insertVal:"Or",value:Ys.Or,type:Ys,localizationId:"StringId.FilterGroupOr"},{name:"Not And",_type:"group",value:Ys.And,reverse:!0,type:Ys,localizationId:"StringId.FilterGroupNotAnd"},{name:"Not Or",_type:"group",value:Ys.Or,reverse:!0,type:Ys,localizationId:"StringId.FilterGroupNotOr"}],this._initDisplayText()}get _allFilterEditorOperators(){const e=[];return Object.keys(this.filterEditorOperators).forEach((t=>{e.push(...this.filterEditorOperators[t])})),e}_getFilterEditorOperator(e,t,i){return t.filter((t=>t.value===e.operatorType&&t.type===e.enumType&&t.reverse===i))[0]}_initDisplayText(){Object.keys(this.filterEditorOperators).forEach((e=>{this.filterEditorOperators[e].forEach(Sd)}))}registrateOperator(e,t,i,r,s="function",a=!1,n){if(this.filterEditorOperators[e]){if(!t[i]){let e=0,r=0;x.each(t,((t,i)=>{r=parseInt(t),!isNaN(r)&&e<r&&(e=r)})),e++,t[e]=i,t[i]=e}const o={name:r,value:t[i],type:t,_type:s,reverse:a,displayText:Ke(r,n)};this.filterEditorOperators[e].push(o)}}generateTreelistOptions(e,t){const i=zt.observable(null),r=zt.observable(null);return{subscription:zt.computed((()=>{i({itemsProvider:zt.unwrap(e),selectedPath:zt.observable(""),selected:r,path:zt.unwrap(t),treeListController:new Od(r),rtl:this.rtl})})),options:i}}}const zd=X(Vd);function Ld(e){zd(e)}class Hd extends lo{constructor(e){super(e);const t=new Vd,i=[],r=[],s=[];Object.keys(t.filterEditorOperators).forEach((e=>{t.filterEditorOperators[e].forEach((e=>{if(e.insertVal){const t=e.name,a=e.insertVal,n=e.paramCount;e.type===Js&&0===i.filter((e=>e.name===t)).length?i.push({name:t,insertVal:a}):e.type===Xs&&0===r.filter((e=>e.name===t)).length?r.push({name:t,insertVal:a}):e.type!==Xs&&e.type!==Js&&0===s.filter((e=>e.name===t)).length&&s.push({name:t,insertVal:a,paramCount:n})}}))})),this.filterEditorAvailable={operators:s,aggregate:r,functions:i}}getFunctionsCompletions(){const e=[];return this.filterEditorAvailable.functions.forEach((t=>{e.push(uo({text:t.name,paramCount:t.insertVal.split(",").length},t.insertVal,t.insertVal))})),e}getAggregateCompletions(){const e=[];return this.filterEditorAvailable.aggregate.forEach((t=>{e.push(uo({text:t.name,paramCount:0},t.insertVal,t.insertVal))})),e}getOperatorCompletions(e){const t=[];return this.filterEditorAvailable.operators.forEach((i=>{t.push(i.insertVal.match(new RegExp("\\([^\\(\\)]*\\)","g"))?uo({text:i.name,paramCount:i.paramCount||i.insertVal.split(",").length},i.insertVal,i.insertVal):{caption:i.insertVal,snippet:e+i.insertVal,meta:"operator"})})),t}}const Rd={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"]}};var jd=function(e,t,i,r){var s,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var o=e.length-1;o>=0;o--)(s=e[o])&&(n=(a<3?s(n):a>3?s(t,i,n):s(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class Wd extends Ti{constructor(){super(...arguments),this.onContentReady=e=>{this._component=e.component},this.hideOnOutsideClick=e=>{const t=this.getComponent(),i=t&&wa(t.content());return!i||!(i.has(e.target)||i.is(e.target))}}onPropertyChanged(e){}getComponent(){return this._component}dispose(){super.dispose();const e=this._component;e&&e.dispose(),this._component=null}}jd([Fi(void 0)],Wd.prototype,"_component",void 0);class Gd extends(dr()){_setContentHeight(){this._$popupContent.css({height:"100%"})}}Ln()("dxPopupWithAutoHeight",Gd);class Ud{constructor(e={}){this.options=e,this._resize=(e,t,i,r)=>{if(this.options.resultSize)this.options.resultSize(this.options.resultSize()-(e||t)+i);else if(r)if(e){const t=r.offsetWidth-e+i;r.style.width=`${t}px`}else if(t){const e=r.offsetHeight+t-i;r.style.height=`${e}px`}return e||t}}resizable(e,t){e||(e={starting:()=>{},stopped:()=>{}});let i=0;return D({},e,{handles:t,$selectedNodes:x.fn.constructor(),stopped:()=>{i=0},resize:(e,t,r)=>{i=this._resize(-r.width,r.height,i,t),this.options.onResize&&this.options.onResize()},handleClassName:"dxd-back-secondary",disabled:this.options.disabled||zt.observable(!1)})}}class qd{constructor(){this.globalMatch=!0,this.autoLoadItems=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=me.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}}function Kd(e){const t=e.values,i=(e.element,Xe.unwrap(t));let r=null;const s=()=>{const i=Xe.unwrap(t),r=e.element.closest(".dx-scrollview"),s=r&&mr().getInstance(r);s&&s.update(),i.onItemsVisibilityChanged&&i.onItemsVisibilityChanged()},a=t=>{const i=t.treeListController||new vd;t.treeListController=i,i.dragDropHandler=i.dragDropHandler||e.dragDropHandler,t.factory=t.factory||new qr,t.store=new Gr,t.itemsProvider=Xe.unwrap(t.itemsProvider),t.pageSize=t.pageSize||-1,t&&t.itemsProvider&&(t.rtl||(t.rtl=!!e.element.closest(".dx-rtl")),r&&r.dispose(),r=t.factory.createRootItem(t,t.path,s,t.rtl),Xe.isSubscribable(i.root)?(i.searchEnabled=!0,i.searchOptions=i.searchOptions||new qd,i.root(r)):i.root=r,e.createChildContext(r.getViewModel()))};a(D({},i));let n=null;const o=e=>{e&&a(D({},e))};return Xe.isSubscribable(t)?n=t.subscribe((e=>o(e))):Xe.isSubscribable(t.itemsProvider)?n=t.itemsProvider.subscribe((e=>e&&o(t))):t.setTreeListChangedEvent&&(n={dispose:t.setTreeListChangedEvent(o)}),()=>{r&&r.dispose(),r=null,n&&n.dispose()}}class Yd extends F{constructor(){super(),this._processedNodes=[],this._currentProcess=[],this.searchTimeout=500,this._roots=[],this.searchPlaceholder=()=>de();const e=zt.observable("");let t=null;this._disposables.push(this.value=zt.computed({read:()=>e(),write:i=>{clearTimeout(t),t=setTimeout((()=>{e(i)}),this.searchTimeout)}})),this._disposables.push(this.value.subscribe((e=>this.valueChanged(e))))}static createController(e,t,i=Yd,r="dx-treelist-search-panel"){const s=new i,a=x.fn.constructor(e),n=[];t.forEach((e=>{e&&(e.root=e.root||zt.observable(),n.push(e.root.subscribe((e=>{s.addController(e),s.valueChanged("")}))))})),s._disposables.push({dispose:()=>{t.forEach((e=>{e&&zt.isSubscribable(e.root)&&(e.root(null),delete e.root)}))}});const o=st(r);a.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),a.children().remove(),a.append(o),zt.cleanNode(a.children()[0]),zt.applyBindings(s,a.children()[0]);const d=()=>{n.forEach((e=>e.dispose())),s&&s.dispose(),zt.utils.domNodeDisposal.removeDisposeCallback(e,d)};zt.utils.domNodeDisposal.addDisposeCallback(e,d)}dispose(){super.dispose(),this.clearProcess()}clearProcess(){this._currentProcess.forEach((e=>e.stop&&e.stop())),this._currentProcess=[],this._processedNodes=[]}valueChanged(e){e||this._processedNodes.forEach((e=>e.visible=!0)),this.clearProcess(),this._roots.forEach((t=>{t.treeListController.textToSearch(e),e?this._currentProcess.push(t.walkOnTree((i=>{const r=Ce(i.data[t.treeListController.searchOptions.searchExpr],e,t.treeListController.searchOptions);this._processedNodes.push(i),i.visible=!!r,r&&this._collapseTreeBranch(i)}))):t.itemsCollectionHasMutated()}))}_collapseTreeBranch(e){e.parent&&(e.parent.collapsed&&e.parent.toggleCollapsed(),this._collapseTreeBranch(e.parent))}addController(e){this._roots=this._roots.filter((e=>!e.isDisposing)),e.treeListController.textToSearch=e.treeListController.textToSearch||zt.observable(""),-1===this._roots.indexOf(e)&&this._roots.push(e),this.searchTimeout=Math.max.apply(Math,this._roots.map((e=>e.treeListController.searchOptions.searchTimeout)))||500}}zt.bindingHandlers.treelist={init:function(e,t,i,r,s){const a=zt.unwrap(t()),n=Kd({element:e,values:t(),createChildContext:t=>{const i=a.templateHtml||st("dx-treelist"),r=x.fn.constructor(e).html(i),n=s.createChildContext(t);zt.applyBindings(n,r.children()[0])},dragDropHandler:s.$root.fieldDragHandler});return J(e,n),{controlsDescendantBindings:!0}}},zt.bindingHandlers.treeListSearchPanel={init:function(e,t,i,r,s){const a=t(),n=zt.unwrap(a.template),o=zt.unwrap(a.modelType);let d=zt.unwrap(a.controllers);return Array.isArray(d)||(d=[d]),Yd.createController(e,d,o,n),{controlsDescendantBindings:!0}}};class Jd extends F{constructor(e){super(),this.dragHelperContent=e,this.droppableClassName="dxrd-treelist-droppable",this.approveClassName="dxrd-drop-approve",this.classDropBefore="drop-before",this.classDropAfter="drop-after",this.started=!1}_getElementViewModel(e){return e&&e.data&&e.data.data}dispose(){super.dispose(),this._targetElement=null,this._target=null,this._draggable=null}isDragToBottom(){return bs(this._draggable.parent.items,(e=>e===this._draggable||e===this._target))===this._draggable}start(e){this.started=!0,this._draggable=e.getModel(),this._draggableModel=this._getElementViewModel(this._draggable)}canDrop(){return this._draggable!==this._target&&this._draggable.parent===this._target.parent}reorderSiblings(e=this.isDragToBottom()){const t=this.getSiblings();if(t){const i=t.peek(),r=i.indexOf(this._draggableModel);r>-1&&i.splice(r,1),i.splice(i.indexOf(this._targetModel)+(e?1:0),0,this._draggableModel),t.valueHasMutated()}}clearDroppableClasses(){this._removeClass(this._targetElement)}getDroppablePosition(){return this.isDragToBottom()?this.classDropAfter:this.classDropBefore}drag(e,t){this.clearDroppableClasses(),this._target=e.getModel(),this._targetElement=x.fn.constructor(t).closest(".dx-treelist-item").get(0),this._targetModel=this._getElementViewModel(this._target)}stop(){this.clearDroppableClasses(),this.started=!1}helper(e,t){const i=x.fn.constructor(t.target).closest(".ui-draggable"),r=new Qt(6,6,null,i.height());r.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(r,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}})}addDroppableClass(){let e=this.droppableClassName;this.canDrop()&&(e=e+" "+this.approveClassName+" "+this.getDroppablePosition()),x.fn.constructor(this._targetElement).addClass(e)}_removeClass(e){x.fn.constructor(e).removeClass(this.droppableClassName+" "+this.approveClassName+" "+this.classDropBefore+" "+this.classDropAfter)}}class Xd{constructor(){this.selectedItem=null,this.suppressActions=!0}dispose(){this.selectedItem=null}itemsFilter(e){return"parameters"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList||"none"===e.specifics)}hasItems(e){return"none"!==e.specifics}canSelect(e){return this.hasItems(e.data)&&!!e.path&&("List"===e.data.specifics||"ListSource"===e.data.specifics)||"none"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0)}isDraggable(e){return!1}}const Zd=DevExpress.events;function Qd(e,t){const i=x.fn.constructor(e),r=i.find(".dx-accordion-content").first(),s=()=>{const e=i.parents(".dx-scrollview");if(e.length>0){const t=mr().getInstance(e.get(0));t&&t.update()}},a=i.find(".dx-accordion-header,.dx-accordion-button").get(0),n=()=>t.getCollapsed?t.getCollapsed():Xe.unwrap(t.collapsed);Zd.off(a,"dxclick");const o=function(){const e=!Xe.unwrap(t.alwaysShow)&&!Xe.unwrap(n());t.setCollapsed?t.setCollapsed(e):Xe.isSubscribable(t.collapsed)&&t.collapsed(e),i.addClass("dx-transition-style"),n()&&i.addClass("dx-accordion-collapsed"),setTimeout((()=>{i.removeClass("dx-accordion-collapsed"),n()||i.removeClass("dx-transition-style")}),500)};if(Zd.on(a,"dxclick",o),n()?r.hide():r.show(),Xe.isSubscribable(t.collapsed)){const e=t.collapsed.subscribe((e=>{r.slideToggle(t.timeout,(()=>s()))}));return()=>{Zd.off(a,"dxclick",o),e.dispose()}}if(t.setCollapsedChangedEvent){const e=t.setCollapsedChangedEvent((()=>r.slideToggle(t.timeout,(()=>s()))));return()=>{Zd.off(a,"dxclick",o),e()}}throw Error("Not working!")}zt.bindingHandlers.dxPropertyGrid={init:function(e,t,i,r,s){x.fn.constructor(e).children().remove();const a=st("dx-propertieseditor"),n=x.fn.constructor(e).append(a),o=t(),d=new Ma(o.target,o.editorsInfo,o.level,o.parentDisabled,o.recreateEditors,o.textToSearch);return e.setAttribute("role","tree"),zt.applyBindings(s.createChildContext(d.getViewModel()),n.children()[0]),J(e,(function(){d.dispose()})),{controlsDescendantBindings:!0}}},zt.virtualElements.allowedBindings.lazy=!0,zt.bindingHandlers.lazy={init:function(e,t,i,r,s){let a=t();const n=a.resolver||Mr,o=a.isResolved;a.innerBindings&&(a=a.innerBindings);let d=!1,l=[];return x.each(a,((t,a)=>{const u=zt.bindingHandlers[t];l.push(n.execute((()=>{if(!d){let t=!1;zt.computed({read:()=>{!t&&u.init&&(u.init(e,(()=>a),i,r,s),t=!0),u.update&&u.update(e,(()=>a),i,r,s)},disposeWhenNodeIsRemoved:e}),o&&o(!0)}}),1))})),J(e,(function(){d=!0,l.forEach((e=>e.dispose())),l=[]})),{controlsDescendantBindings:!0}}},zt.bindingHandlers.dxdAccordion={init:function(e,t){J(e,Qd(e,t()))}},zt.bindingHandlers.dxdAccordionExt={init:function(e,t,i,r,s){const a=t(),n=x.fn.constructor(e),o=()=>{const e=n.parents(".dx-scrollview");if(e.length>0){const t=mr().getInstance(e.get(0));t&&t.update()}},d=n.find(".dx-accordion-content").first();let l=null;a.collapsed&&!0===a.lazyContentRendering&&(l=d.html(),d.empty());const u=e=>{e?d.slideUp(a.timeout,(()=>{o()})):(l&&(d.html(l),zt.applyBindingsToDescendants(s,d.get(0)),l=null),d.slideDown(a.timeout,(()=>{o()})))};if(zt.isSubscribable(a.collapsed)){const t=a.collapsed.subscribe((e=>u(e)));J(e,(()=>t.dispose()))}else{if(!a.setCollapsedChangedEvent)throw Error("Not working!");{const t=a.setCollapsedChangedEvent((e=>u(e)));J(e,(()=>t()))}}a.collapsed?d.hide():d.show()}},zt.bindingHandlers.dxLocalizedSelectBox={init:function(e,t,i,r,s){const a=t(),n=a.displayExpr;a.placeholder=a.placeholder||ne(),a.noDataText=a.noDataText||oe(),a.encodeNoDataText=!0,a.displayExpr=function(e){return e?Ke(n?x.isFunction(n)?n(e):e[n]:e,e.localizationId):e},a.itemTemplate=function(e,t,i){const r=s.createChildContext({display:a.displayExpr(e)});x.fn.constructor(i).children().remove();const n=st("item-with-title"),o=x.fn.constructor(i).append(n);return zt.applyBindingsToDescendants(r,o[0]),i},a.useLocalizedTextAsValue&&(a.valueExpr=a.displayExpr);const o=r.getOptions?r.getOptions(a):a;return zt.bindingHandlers.dxSelectBox.init(e,(()=>o),i,r,s),{controlsDescendantBindings:!0}}},zt.bindingHandlers.styleunit={update:function(e,t){const i=zt.utils.unwrapObservable(t()||{});x.each(i,((t,i)=>{i=zt.utils.unwrapObservable(i)||0,e.style[t]=i+"px"}))}},zt.bindingHandlers.service={init:function(e,t,i,r,s){const a=(e=>{if(r[e])return r[e];const t=s.$parents.filter((t=>void 0!==t[e]))[0];return t?t[e]:null})(zt.unwrap(t()||{}).name),n=a&&a(r);if(n){const t=s.createChildContext(n.data);zt.renderTemplate(n.templateName,t,{},e,"replaceNode")}}};class el extends Fa{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(Hs).concat((null===(e=this.editorOptions)||void 0===e?void 0:e.isNullable)?[]:Rs)}}const tl={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:Ht.getEditor("combobox"),values:mn,editorOptions:{searchEnabled:!0}},il={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:Ht.getEditor("numeric")},rl={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:Ht.getEditor("combobox"),valuesArray:ld},sl=[tl,il,rl,{propertyName:"modificators",editor:Ht.getEditor("modificators")}];class al extends Na{constructor(e,t,i,r){super(e,t,i,r)}createObjectProperties(){const e=new ud(this.value);return this._disposables.push(e),new Ma(zt.observable(e),{editors:sl},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}function nl(e,t){let i=0,r=0;const s=t.split("\n");let a=s[1];const n=s[2].length;return 0===a.indexOf("...")&&(a=a.split("...")[1]),i=e.indexOf(a),r=i+n,{start:i,end:r}}zt.bindingHandlers.focus={init:function(e,t){const i=(t().on||t()).subscribe((t=>{t&&setTimeout((()=>{x.fn.constructor(e).find(":input").focus()}),1)}));J(e,(function(){i.dispose()}))}},zt.bindingHandlers.svgAttrs={update:function(e,t,i,r){e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink")}};class ol extends F{constructor(e,t,i=zt.observable(!1),r=!1,s,a=zt.observable(!1),n){if(super(),this.options=e,this._displayNameProvider=s,this.popupVisible=a,this._updateTextAreaValue=(e,t)=>{const i=this._getTextArea(t),r=this.textAreaValue().toString(),s=i&&i.selectionStart||r.length,a=" "==r[s-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";if(this.textAreaValue([r.slice(0,s),a,r.slice(s)].join("")),i&&i.setSelectionRange){i.focus();const e=s+(-1!==a.indexOf("(")?a.indexOf("(")+1:a.length);i.setSelectionRange(e,e)}},this._updateAceValue=(e,t)=>{const i=this.editorContainer(),{row:r,column:s}=i.getCursorPosition();let a=(e.val||e.text||e)+" ";s&&" "!==i.getSession().getValue().split("\n")[r][s-1]&&(a=" "+a),i.insert(a),i.focus(),ha(e.paramCount,i,a)},this._updateValue=(e,t)=>{this.aceAvailable?this._updateAceValue(e,x.fn.constructor(t)):this._updateTextAreaValue(e,x.fn.constructor(t))},this.patchFieldName=e=>e,this._parametersPutSelectionHandler=(e,t)=>{const i=e.split("."),r="?"+this.patchFieldName(i[i.length-1]);this._updateValue(r,t)},this._fieldsPutSelectionHandler=(e,t)=>{const i=this.koOptions.peek().path.peek(),r=e.substring(i.length+1),s="["+this.patchFieldName(r)+"]";this._displayNameProvider?this.displayExpressionConverter.toDisplayExpression(i,s).done((e=>{this._updateValue(e,t)})).fail((()=>{this._updateValue(s,t)})):this._updateValue(s,t)},this.aceAvailable=xd(),this.title=()=>Ke("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.value=zt.observable(""),this.textAreaValue=zt.observable(""),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const r=zt.computed((()=>i.koOptions()&&zt.unwrap(i.koOptions().path)||"")),s=zt.computed((()=>i.koOptions()&&zt.unwrap(i.koOptions().functions)||[])),a=new lo({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider,path:r,functions:s,rootItems:i.options.rootItems,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||x.Deferred().resolve(t).promise()});return[r,s].forEach((e=>a._disposables.push(e))),[a]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},this.additionalOptions={onChange:e=>{const t=e.getValue();try{const i=aa.parse(t);this.koOptions().validate&&this.isValid(this.koOptions().validate(i)),e.clearAnnotations()}catch(t){const i=t.hash&&t.hash.line||0,r=0,s=t.message.split("\n"),a=s[1]+"\n"+s[2];e.setAnnotations([{row:i,column:r,text:a,type:"error"}])}}},this.callbacks={focus:x.noop},this.koOptions=zt.observable(null),this.editorContainer=zt.observable(),this.isValid=zt.observable(!0),this.buttonItems=[],this.rtl=!1,this.modelValueValid=zt.computed((()=>{const e=this.koOptions();return!e||!zt.isObservable(e.isValid)||e.isValid()})),this.modelValueWarning=zt.computed((()=>{const e=this.koOptions();return e&&zt.unwrap(e.warningMessage)||""})),this.getPopupContainer=ma,this.koOptions(e),this.patchFieldName=e=>this.koOptions().patchFieldName&&this.koOptions().patchFieldName(e)||e,this.theme=this.koOptions()&&this.koOptions().theme,this._disposables.push(this.value=zt.computed({read:()=>{const e=this.koOptions()&&zt.unwrap(this.koOptions().value);return e&&e.toString()||""},write:e=>this.koOptions()&&this.koOptions().value(e)})),s&&e.path){this.displayExpressionConverter=new bo(s);const e=zt.pureComputed((()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()));this.displayValue=no(e,this.value,this.displayExpressionConverter,this._disposables),this._disposables.push(e)}else this.displayValue=this.value;this.rtl=r,this.validate=(e,t)=>{try{return aa.parse(e),this.isValid(!0),!0}catch(i){const r=nl(e,i.message),s=this._getTextArea(t&&t.element);s&&s.setSelectionRange(r.start,r.end),this.isValid(!1)}},this._disposables.push(this.popupVisible.subscribe((e=>{e?this.initDisplayValue():this.editorContainer(null)})));const o=zt.computed((()=>this.koOptions()&&this.koOptions().fieldName&&this.koOptions().fieldName()));this._disposables.push(this.fieldListProvider=function(e,t){return zt.computed((()=>{const i=zt.unwrap(e),r=zt.unwrap(t);return r?{getItems:e=>{const t=x.Deferred();return i.getItems(e).done((e=>{t.resolve(e.filter((e=>e.name!==r)))})).fail((()=>t.reject())),t.promise()},getValues:e=>i.getValues(e)}:i}))}(t,o)),this.disabled=i;this.save=e=>{const t=this.getValue();this.validate(t,e)&&(this.displayValue(t),this.popupVisible(!1))};let d=null;const l=e=>{zt.unwrap(e.data.type);d&&(d.isSelected=!1),d=e,e.isSelected=!0},u=zt.pureComputed((()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()&&this._createToolsOptions(this.koOptions().path(),this.fieldListProvider(),new bd(o,((e,t)=>{this._fieldsPutSelectionHandler(e.path,t)}),l))));this.parametersTreeListController=new yd(this._parametersCustomFilter,this._parametersPutSelectionHandler,l);const c=zt.pureComputed((()=>this._createToolsOptions("",this.fieldListProvider(),this.parametersTreeListController)));this._disposables.push(this.tools=new fd(this._updateValue,c,this.koOptions,u)),this._disposables.push(this.modelValueValid,this.modelValueWarning),this._createMainPopupButtons(),[o,u,c].forEach((e=>this._disposables.push(e))),this.resizeHelper=new Ud({onResize:()=>this.resizeAceEditor()}),this.editorInputId=n}dispose(){super.dispose(),this.koOptions(null),this.editorContainer(null),this.options=null}_createMainPopupButtons(){const e=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Ke("OK",Zn.DataAccessBtnOK),type:"default",stylingMode:"contained",onClick:function(t){e.save(t)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Ke("Cancel",Zn.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){e.popupVisible(!1)}}}]}_getTextArea(e){const t=x.fn.constructor(e);return t&&t.parents(".dx-expressioneditor").find(":input")[0]}_createToolsOptions(e,t,i){return{itemsProvider:t,selectedPath:zt.observable(""),path:zt.observable(e),templateName:"dx-ee-treelist-item",treeListController:i,rtl:this.rtl}}_parametersCustomFilter(e){return"parameters"===e.specifics||e.specifics===so||!ga(e)}onShown(){this.callbacks.focus()}onHiding(e){const t=this.koOptions();return t&&t.onHiding&&t.onHiding(e)}onShowing(e){const t=this.koOptions();return t&&t.onShowing&&t.onShowing(e)}onContentReady(e){const t=this.koOptions();return t&&t.onContentReady&&t.onContentReady(e)}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}initDisplayValue(){if(this.tools.resetCategoriesSelection&&this.tools.resetCategoriesSelection(),this.textAreaValue(this.displayValue()),this.aceAvailable){const e=this.editorContainer(),t=e&&e.getSession();t&&t.setValue(this.textAreaValue())}else this.validate(this.value())}getValue(){let e=this.textAreaValue();if(this.aceAvailable){const t=this.editorContainer(),i=t&&t.getSession();e=i&&i.getValue()}return e}}zt.bindingHandlers.dxExpressionEditor={init:function(e,t,i,r,s){let a=x.fn.constructor(e);a.children().remove();const n=t();x.fn.constructor(e).addClass(n.wrapper?"dx-expressioneditor-content":"dx-popup-general");const o=n.editorTemplateName||"dx-expressioneditor";let d=null,l=new ol(zt.unwrap(n.options),n.fieldListProvider,r.disabled,x.fn.constructor(e).closest(".dx-rtl").length>0,n.displayNameProvider,n.popupVisible,r.editorInputId);zt.isSubscribable(n.options)&&(d=n.options.subscribe((e=>{e&&l.koOptions(e)}))),n.wrapper&&n.wrapper.editor(l);const u=s.createChildContext(l),c=document.createElement("div");a=a.append(c),zt.renderTemplate(o,u,{},c,"replaceNode");return J(e,(()=>{l.dispose(),l=null,n.wrapper&&n.wrapper.editor(null),d&&d.dispose()})),{controlsDescendantBindings:!0}}};const dl=DevExpress.ui.dxTextArea;var ll=e.n(dl);class ul extends Ko{constructor(e,t,i=!1,r,s){super(),this.options=e,this._displayNameProvider=r,this._advancedMode=zt.observable(!1),this.textFocused=zt.observable(!1),this.aceAvailable=xd(),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const r=zt.computed((()=>this.path&&this.path())),s=new Hd({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider(),path:r,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||x.Deferred().resolve(t).promise()});return s._disposables.push(r),[s]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},this.additionalOptions={onChange:e=>this.onValueChange(e.getValue()),changeTimeout:200,onFocus:e=>this.onFocus(),onBlur:e=>this.onBlur()},this.editorContainer=zt.observable(),this.textVisible=zt.observable(!1),this.getPopupContainer=e=>ma(e,this.options().popupContainer),this.timeout=null,this.animationTimeout=null,this.advancedMode=zt.computed({read:()=>this._advancedMode(),write:e=>{this.timeout&&clearTimeout(this.timeout),this.animationTimeout&&clearTimeout(this.animationTimeout),e?(this.textVisible(!0),this.timeout=setTimeout((()=>{this._advancedMode(!0),this.options().disabled()||this.focusText()}),1),this.animationTimeout=setTimeout((()=>{this.editorContainer()&&this.editorContainer().resize&&this.editorContainer().resize()}),210)):(this._advancedMode(!1),this.timeout=setTimeout((()=>{this.textVisible(!1)}),200))}}),this.invalidMessage=()=>Ke("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError"),this.advancedModeText=zt.observable(Ke("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")),this.operandSurface=zt.observable(null),this.operand=null,this.popupService=new La,this.rtl=i,this.initializeInnerValue(),e()&&e().helper&&(e().helper.rtl=i),this._disposables.push(this.disabled=zt.computed((()=>zt.unwrap(this.options()&&this.options().disabled())))),this.displayExpressionConverter=r&&new bo(r),this.save=()=>{if(this.helper.onSave(this.value()),this.operandSurface()&&this.isSurfaceValid()){const t=e().helper.serializer.serialize(this.operand,!1);this.options().value(t)}else this.options().value(this.value());this.popupVisible(!1)},this.displayValue=no(this.path,this.value,this.displayExpressionConverter,this._disposables);const a=zt.computed({read:()=>{const e=this.options();return e&&e.value()},write:e=>{const t=this.options();t&&t.value(e)}});this.modelDisplayValue=no(this.path,a,this.displayExpressionConverter,this._disposables),this.fieldListProvider=t,this.modelValueIsValid=zt.computed((()=>e()&&this._validateValue(e().value()))),this.isValid=zt.computed((()=>this._validateValue(this.value()))),this.isSurfaceValid=zt.computed((()=>{try{return this.options()&&this.isValid()&&this.options().helper.criteriaTreeValidator.validateModel(this.options().helper.serializer.deserialize(this.value()))}catch(e){return!1}})),this._disposables.push(a),this._disposables.push(this.modelValueIsValid),this._disposables.push(this.isValid),this._disposables.push(this.isSurfaceValid),this._disposables.push(this.popupVisible.subscribe((t=>{t?(this.value(this.options().value()),this.isSurfaceValid()?(this.operand=this._generateOperand(this.value()),this.operandSurface(this._generateSurface(this.operand))):(this.textVisible(!0),this._advancedMode(!0),this.editorContainer()&&this.focusText()),e().helper.onChange=()=>{this.value(e().helper.serializer.serialize(this.operand,!1))}):(this.helper.onClosing(),this.value(null),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(null),this.operand=null)}))),this.createAddButton=t=>e().helper.handlers.create(t,this.popupService),this.createChangeType=t=>e().helper.handlers.change(t,this.popupService),this.createChangeProperty=t=>e().helper.handlers.changeProperty(t,this.popupService),this.createChangeParameter=t=>e().helper.handlers.changeParameter(t,this.popupService),this.createChangeValueType=t=>e().helper.handlers.changeValueType(t,this.popupService),this._disposables.push(this.advancedMode),this.buttonItems.push({toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:this.advancedMode,text:this.advancedModeText()}}),this.editorInputId=s}_generateOperand(e){return this.options().helper.serializer.deserialize(e)}_generateSurface(e){let t=null;t=e instanceof qs?this.options().helper.mapper.unary:this.options().helper.mapper.group;const i=new t(e,this,this.fieldListProvider,this.path);if(i instanceof wd){if(!(i.model.operand instanceof Qs))return this.operand=new Qs(Ys.And,[this.operand]),i.dispose(),this._generateSurface(this.operand);i.operand().canRemove=!1}return i.canRemove=!1,i}_validateValue(e){try{return!(!this.options()||!this.options().helper)&&(this.options().helper.serializer.deserialize(e),!0)}catch(e){return!1}}canSave(){return this.isValid()}initializeInnerValue(){this.value=zt.observable("")}change(e,t){this.operand=Fs.changeByType(e),this.operand.assignFrom(t.model);let i=null;i=this.operand instanceof qs?this.options().helper.mapper.unary:this.options().helper.mapper.group;const r=new i(this.operand,this,this.fieldListProvider,this.path);r.canRemove=!1,r instanceof wd&&(r.operand().canRemove=!1),this.operandSurface(r)}get helper(){return this.options()&&this.options().helper}get path(){return this.options()&&this.options().path}dispose(){super.dispose(),this.editorContainer(null),this.operandSurface()&&this.operandSurface().dispose()}onInput(e,t){const i=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((()=>{i.onValueChange(e.component.option("text"))}),200)}onFocus(){this.textFocused(!0)}onBlur(){this.textFocused(!1),this.helper.onEditorFocusOut(this.operand)}cacheElement(e){this.editorContainer(ll().getInstance(e.get(0)))}updateCriteria(){if(this.isSurfaceValid()){(this.operand&&this.options().helper.serializer.serialize(this.operand,!1))!==this.value()&&(this.operand=this._generateOperand(this.value()),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(this._generateSurface(this.operand)))}}onValueChange(e){this.displayValue()!==e.trim()&&(this.displayValue(e),this.displayExpressionConverter?this.displayExpressionConverter.toRealExpression(this.path(),e).done((e=>{this.value(e),this.updateCriteria()})).fail((()=>{this.value(e),this.updateCriteria()})):this.updateCriteria())}focusText(){const e=e=>{setTimeout((t=>{e.renderer&&e.renderer.updateText(),e.focus()}),1)};if(this.editorContainer())e(this.editorContainer());else{const t=this.editorContainer.subscribe((i=>{t.dispose(),e(i)}))}}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}get cancelLocalization(){return Ke("Cancel","StringId.Cancel")}get saveLocalization(){return Ke("OK","StringId.OK")}}zt.bindingHandlers.dxFilterEditor={init:function(e,t,i,r){x.fn.constructor(e).children().remove(),x.fn.constructor(e).addClass("dx-popup-general");const s=st("dx-filtereditor"),a=x.fn.constructor(e).append(s),n=t(),o=zt.observable(zt.unwrap(n.fieldListProvider)),d=[],l=zt.computed((()=>zt.unwrap(n.options)));d.push(zt.computed((()=>{l()&&l().itemsProvider?o(zt.unwrap(l().itemsProvider)):o(zt.unwrap(n.fieldListProvider))}))),d.push(zt.computed((()=>{n.getDisplayNameByPath&&l()&&l().helper&&!l().helper.getDisplayPropertyName&&(l().helper.getDisplayPropertyName=n.getDisplayNameByPath)})));const u=new ul(l,o,x.fn.constructor(e).closest(".dx-rtl").length>0,n.displayNameProvider,r.editorInputId);return zt.applyBindingsToDescendants(u,a.children()[0]),J(a.children()[0],(()=>{d.forEach((e=>e.dispose())),l.dispose(),u.dispose()})),{controlsDescendantBindings:!0}}};class cl extends ul{constructor(e,t,i,r=!1,s){super(t,i,r,s),this.element=e,this.advancedModeTop=()=>-1!==this.advancedModePosition.indexOf("Top"),this.advancedModeLeft=()=>-1!==this.advancedModePosition.indexOf("Left"),this.advancedModePosition="TopRight",this.advancedModePosition=t().advancedModePosition}initializeInnerValue(){if(this.options().realTimeUpdate){this.value=this.options().value;let e=null;this._disposables.push(this.value.subscribe((()=>{e&&clearTimeout(e),e=setTimeout((()=>{this.updateCriteria()}),100)})))}else super.initializeInnerValue()}getCheckBoxStyles(){const e={};return this.advancedModeTop()?e.top="0px":e.bottom="0px",this.advancedModeLeft()?e.left="0px":e.right="0px",e}getContentStyles(){const e={pointerEvents:this.options().disabled()?"none":""};return this.advancedModeTop()||(e.top="0px"),e}getTextCssClasses(){return{advanced:this.advancedMode(),"dx-filtereditor-text-container-bottom":!this.advancedModeTop(),"dx-filtereditor-text-container-top":this.advancedModeTop()}}}zt.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:(e,t)=>{const i=new cl(t.element,e.options,zt.observable(e.fieldListProvider),void 0,e.displayNameProvider);return i.popupVisible(!0),i}},template:st("dx-filtereditor-plain")}),zt.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:(e,t)=>{const i=new ul(e.options,zt.observable(e.fieldListProvider),void 0,e.displayNameProvider);return i.advancedMode(!0),i.popupVisible(!0),e.options().value.subscribe((()=>{i.popupVisible(!1),i.popupVisible(!0)})),i}},template:st("dx-filtereditor-advanced")}),zt.bindingHandlers.cacheElement={init:function(e,t,i,r,s){t().action(x.fn.constructor(e))}};class pl{constructor(e,t,i,r){this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=()=>{this.value("")},this.title=zt.pureComputed({read:()=>{const e=this._title();return Ke(e.text,e.localizationId)},write:e=>{this._title({text:e})}}),this.value=e,this.path=t||zt.observable(""),this.disabled=i||zt.observable(!1);const s=zd();this.helper=new s,this._title=zt.observable(r||{text:Ke("Filter Editor","DataAccessUIStringId.FiltersView")})}}class hl extends pl{constructor(){super(...arguments),this.realTimeUpdate=!0,this.advancedModePosition="TopRight"}}class gl extends F{constructor(e,t,i,r,s,a,n){super(),this._isDisabled=zt.observable(!1),this._timeout=null,this.currentType=zt.observable(),this.patternList=zt.observableArray([]),this.canAddCustomFormat=zt.observable(!1),this.formatPrefix=zt.observable(""),this.formatSuffix=zt.observable(""),this.previewString=zt.observable("Preview string"),this.formatResult=zt.observable(""),this.selectedFormats=zt.observable([]),this.selectedTypes=zt.observable([]),this.popupVisible=zt.observable(!1),this.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"}},this.option("value",e),this.option("disabled",t||!1),this.option("rtl",a||!1),this.option("popupContainer",n||".dx-designer-viewport");const o=this;this.popupService=new La,this._standardPatternSource=i||Rd,this._customPatternSource=r||{},this.types=this._convertArray(Object.keys(this._standardPatternSource)),this._disposables.push(this.currentType.subscribe((e=>{o.isGeneralType?(o.formatResult(""),o.selectedFormats([])):o._updateFormatList()}))),this.currentType(this.types[0].name),this._disposables.push(this.formatResult.subscribe((e=>{o._updateCanAddCustomFormat(e),o._updatePreview()}))),this._disposables.push(this.formatPrefix.subscribe((e=>{o._updatePreview()}))),this._disposables.push(this.formatSuffix.subscribe((e=>{o._updatePreview()}))),this._disposables.push(this.popupVisible.subscribe((t=>{t&&(o._initEditor(e()),o.selectedTypes(o.types.filter((e=>e.name===o.currentType()))))}))),this._createMainPopupButtons(),s&&s.updatePreview&&(this.updatePreview=s.updatePreview),this.setType=e=>{o.currentType(e.itemData.name),o._updateSelection()},this.setFormat=e=>{o.formatResult(e.itemData.name)},this.addCustomFormat=()=>{o.formatResult()&&o.canAddCustomFormat()&&(o.customPatterns.push(o.formatResult()),o._updateFormatList(),o._scrollToBottom(),s&&s.saveCustomPattern(o.currentType(),o.formatResult()),o._updateSelection(o.patternList().length-1),o.canAddCustomFormat(!1))},this.removeCustomFormat=e=>{const t=o.selectedFormats()[0],i=o.patternList(),r=i.map((e=>e.name)).indexOf(e.name);o.customPatterns.splice(o.customPatterns.indexOf(e.name),1),o._updateFormatList(),s&&s.removeCustomPattern(o.currentType(),e.name),t.name===e.name?o._updateSelection(r===i.length-1?o.patternList().length-1:r):o.selectedFormats(o.patternList().filter((e=>e.name===t.name)))}}okAction(){const e=this.isGeneralType?this._getGeneralPreview("{0}"):this._wrapFormat();this.option("value",e),this.popupVisible(!1)}_createMainPopupButtons(){const e=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Ke("OK",Zn.DataAccessBtnOK),type:"default",stylingMode:"contained",disabled:this._isDisabled,onClick:function(){e.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Ke("Cancel",Zn.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){e.popupVisible(!1)}}}]}_convertArray(e,t){return e.map((e=>({name:e,displayName:Ke(e),canRemove:!!t})))}_scrollToBottom(){const e=x.fn.constructor(".dx-format-string .dx-format-string-formats").find(".dx-scrollview").filter(":visible"),t=mr().getInstance(e.get(0));t&&t.scrollTo&&t.scrollTo(t.scrollHeight())}_updateFormatList(){this.selectedFormats([]);const e=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0)))}_updateSelection(e){const t=this.patternList()[e||0];t&&(this.selectedFormats([t]),this.formatResult(t.name))}_setPreviewString(e){this.previewString(e),this._isDisabled(!1)}_setErrorMessage(e){this.previewString(Ke("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(e)}_updatePreview(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout((()=>{if(this.isGeneralType)return void this.previewString(this._getGeneralPreview(void 0));const e=this._standardPatternSource[this.currentType()],t=this.updatePreview(e.value,e.type,this._wrapFormat());this._lastUpdatePreviewPromise=t,t.done((e=>{this._lastUpdatePreviewPromise===t&&(e.Result?this._setPreviewString(e.Result):this._setErrorMessage(e.IsError))})).fail((e=>{this._lastUpdatePreviewPromise===t&&this.previewString(Ke("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))}))}),100)}_getGeneralPreview(e="###"){return this.formatPrefix()+e+this.formatSuffix()}_wrapFormat(e){const t=e||this.formatResult();return t&&-1!==t.indexOf("{0:")?t:t?"{0:"+t+"}":""}_updateCanAddCustomFormat(e){if(!e)return void this.canAddCustomFormat(!1);let t=!0;Object.keys(this._standardPatternSource).some((i=>(t=-1===this._standardPatternSource[i].patterns.indexOf(e),!t))),this.canAddCustomFormat(t?-1===this.customPatterns.indexOf(e):t)}_initEditor(e){if(!e)return void this.setType({itemData:this.types[0]});if(-1!==e.indexOf("{0}"))return this.currentType("General"),this.formatPrefix(e.substring(0,e.indexOf("{0}"))),void this.formatSuffix(e.substring(e.indexOf("{0}")+3));const t=e.indexOf("{0:"),i=e.indexOf("}",t),r=e.substring(t+3,i);let s;const a=a=>{this.currentType(a),0===t&&i===e.length-1&&(this.selectedFormats(this.patternList().filter((e=>e.name===r))),this.formatResult(r),s=!0)};Object.keys(this._standardPatternSource).some((e=>{if(-1!==this._standardPatternSource[e].patterns.indexOf(r))return a(e),!0;const t=this._customPatternSource[this._standardPatternSource[e].type];return!(!t||-1===t.indexOf(r))&&(a(e),!0)})),s||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(e))}updateInputText(e,t){this[e](t.option("text"))}option(e,t){return void 0!==t&&(zt.isObservable(this[e])?this[e](t):this[e]=t),zt.unwrap(this[e])}updatePreview(e,t,i){return x.Deferred().resolve({Result:e||"preview string"}).promise()}get customPatterns(){const e=this._standardPatternSource[this.currentType()];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]}get isGeneralType(){return"General"===this.currentType()}getDisplayText(e){return Ke(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)}getPopupContainer(e){return x.fn.constructor(e).closest(this.option("popupContainer"))}}zt.bindingHandlers.dxFormatEditor={init:function(e,t){x.fn.constructor(e).children().remove(),x.fn.constructor(e).addClass("dx-popup-general");const i=st("dx-format-string"),r=x.fn.constructor(e).append(i),s=t(),a=new gl(s.value,s.disabled,s.standardPatterns,s.customPatterns,s.actions,s.rtl,s.popupContainer);return zt.applyBindings(a,r.children()[0]),J(e,(function(){a.dispose()})),{controlsDescendantBindings:!0}}};class ml extends Fa{constructor(e,t,i,r,s,a,n){super(e,t,i,r,s,a,n)}_checkBoxInitializedHandler(e){var t;const i=e.jquery||e.dxRenderer?e[0]:e,r=null===(t=null==i?void 0:i.closest(".dx-field"))||void 0===t?void 0:t.getElementsByTagName("label"),s=Array.from(r).filter((e=>e.getAttribute("for")===this.editorInputId))[0];if(s){const e="click",t=()=>i.dispatchEvent(new Event(e));s.addEventListener(e,t),J(s,(()=>s.removeEventListener(e,t)))}}getOptions(e){const t=this._get("info","peek").editor.extendedOptions,i={onInitialized:e=>this._checkBoxInitializedHandler(e.element)};return(0,x.extend)(!0,{},e,this.editorOptions,t,i)}}class xl extends Fa{constructor(e,t,i,r,s,a,n){super(e,t,i,r,s,a,n),this.addDisposable(this.createComputedProperty("displayValue",{read:()=>{const e=this._get("value");if(!e)return;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;const t=document.createElement("div");return t.style.backgroundColor=e,t.style.backgroundColor||"rgba(0,0,0,1)"},write:e=>{this._set("value",e)}},[L(this,["value"])]))}createViewModel(){const e=Pi(super.createViewModel()).generateProperty("displayValue",this.unwrap(this.displayValue)).getViewModel();return this.subscribeOnChanges(e,["displayValue"]),e}}class fl extends Fa{constructor(e,t,i,r){super(e,t,i,r),this.path=zt.pureComputed((()=>{const e=this._get("_model");return e&&e.getPath&&e.getPath(this.name)||""})),this.treeListController=new vd,this._disposables.push(this.path),this._disposables.push(this.treeListController)}createViewModel(){const e=Pi(super.createViewModel()).generateProperty("path",zt.unwrap(this.path)).generateProperty("treeListController",this.treeListController).generateProperty("getPath",(()=>zt.unwrap(this.path))).generateProperty("getDataMember",(()=>zt.unwrap(this.value))).getViewModel();return this.subscribeOnChanges(e,["path"]),e}}class vl extends fl{constructor(e,t,i,r){super(e,t,i,r),this.treeListController=new Xd,this._disposables.push(this.treeListController)}}let bl=!1;let yl=!1;yl||(yl=!0,Ht.registerEditors({bool:{header:"dx-boolean",editorType:ml},boolSelect:{header:"dx-boolean-select"},numeric:{header:"dx-numeric"},modificators:{custom:"dx-modificators"},combobox:{header:"dx-combobox"},text:{header:"dx-text"},commonCollection:{custom:"dx-commonCollection"},objecteditor:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:Na}})),Ht.registerEditors({comboboxEditable:{header:"dx-combobox-editable"},image:{header:"dx-image"},file:{header:"dx-file"},stringArray:{header:"dx-emptyHeader",content:"dx-string-array"},font:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:al},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:Va}}),bl||(bl=!0,Ht.registerEditors({guid:{header:"dxrd-guid",editorType:el},date:{header:"dx-date",editorType:Yo},customColorEditor:{header:"dxrd-colorpicker",editorType:xl},sbyte:Jo("System.SByte","integer"),decimal:Jo("System.Decimal","float"),int64:Jo("System.Int64","integer"),int32:Jo("System.Int32","integer"),int16:Jo("System.Int16","integer"),single:Jo("System.Single","float"),double:Jo("System.Double","float"),byte:Jo("System.Byte","integer"),uint16:Jo("System.UInt16","integer"),uint32:Jo("System.UInt32","integer"),uint64:Jo("System.UInt64","integer")})),Ht.registerEditors({borders:{header:"dxrd-borders"},textAlignment:{header:"dxrd-textalignment"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:Na},field:{header:"dxrd-field",editorType:fl},dataMember:{header:"dxrd-field",editorType:vl},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"}});class _l extends F{constructor(e,t,i){super(),this._createSurface=e=>e.surface||new(e.getControlFactory().controlsMap[e.controlType].surfaceType)(e,this._context),this.preInitProperties(e,t,i),this._control=e,this._context=t,e.surface=this,this._context&&_n(e,this,i,this._context.measureUnit,this._context.zoom,(e=>{this._disposables.push(e)})),this._x=this._x||zt.observable(0),this._y=this._y||zt.observable(0),this._width=this._width||zt.observable(0),this._height=this._height||zt.observable(0);const r=zt.pureComputed((()=>this.container()));this._disposables.push(r),this._container=r(),this._disposables.push(r.subscribe((e=>{if(this._container!==e&&this.rtlLayout()){const t=this._getX();this._container=e,this._setX(t)}else this._container=e})));const s=zt.computed({read:()=>this._getX(),write:e=>{this._setX(e)}}),a=this._y,n=this._width,o=this._height;this.position={top:a,left:s,width:n,height:o,lineHeight:o},this._disposables.push(s);const d=zt.observable();this._disposables.push(zt.computed((()=>{this._control.update()||d({top:a(),left:s(),right:s()+n(),bottom:a()+o(),width:n(),height:o()})}))),this._disposables.push(this.rect=zt.pureComputed({read:()=>d(),write:e=>{e=this.beforeRectUpdated(e),this._control.update(!0);try{void 0!==e.left?this._setX(e.left,e.width):void 0!==e.width&&this._setX(s(),e.width),void 0!==e.top&&a(e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&n(e.right-s()),void 0!==e.bottom&&void 0===e.top&&o(e.bottom-a()),void 0!==e.right&&void 0!==e.left&&void 0===e.width&&n(e.right-e.left),void 0!==e.bottom&&void 0!==e.top&&o(e.bottom-e.top),void 0!==e.width&&n(e.width),void 0!==e.height&&o(e.height)}finally{this._control.update(!1)}}}))}_getX(){return this.rtlLayout()&&this._container?this._container.rect().width-this._x()-this._width():this._x()}_setX(e,t){t=t||this._width(),this.rtlLayout()&&this._container?this._x(this._container.rect().width-e-t):this._x(e)}getRoot(){return this._context}preInitProperties(e,t,i){}container(){return this.parent}beforeRectUpdated(e){return e.left=e.left<0?0:e.left,e.top=e.top<0?0:e.top,e}rtlLayout(){return!!zt.unwrap(this._context.rtl)}getControlModel(){return this._control}}class Cl extends _l{constructor(e,t,i){if(super(e,t,i),this._countSelectedChildren=zt.observable(0),this.focused=zt.observable(!1),this.selected=zt.observable(!1),this.underCursor=zt.observable(new Co),this.allowMultiselect=!0,this.absolutePosition=new As(0,0),this.getControlModel=()=>e,this.cssCalculator=new Hi(e,t.rtl),this._getChildrenHolderName()&&e[this._getChildrenHolderName()]){const t=zt.observableArray();"controls"===this._getChildrenHolderName()?this._disposables.push(hs(e[this._getChildrenHolderName()],t,this._createSurface)):this._disposables.push(gs(e[this._getChildrenHolderName()],t,this._createSurface)),this[this._getChildrenHolderName()]=t,this._disposables.push(this.isSelected=zt.pureComputed((()=>!(!this.focused()&&!this.selected())||t().some((e=>e.isSelected())))))}else this._disposables.push(this.isSelected=zt.pureComputed((()=>this.focused()||this.selected())));this._disposables.push(this.css=zt.pureComputed((()=>D({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.textAlignmentCss())))),this._disposables.push(this.contentCss=zt.pureComputed((()=>D({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.angle(),this.cssCalculator.wordWrapCss(),this.cssCalculator.paddingsCss())))),this._disposables.push(zt.computed((()=>{this.updateAbsolutePosition()}))),this._disposables.push(this.absoluteRect=zt.pureComputed((()=>{const e=this.rect(),t=this.absolutePosition.y(),i=this.absolutePosition.x();return{top:t,left:i,right:i+e.width,bottom:t+e.height,width:e.width,height:e.height}}))),this.locked=!!e.lockedInUserDesigner&&e.lockedInUserDesigner()}_getParent(){return this.getControlModel().parentModel()&&this.getControlModel().parentModel().surface}get parent(){return this._getParent()}checkParent(e){return this.parent===e}_getChildrenHolderName(){return"controls"}getChildrenCollection(){return this._getChildrenHolderName()&&this[this._getChildrenHolderName()]||zt.observableArray([])}updateAbsolutePosition(){if(this.parent&&this.parent.absolutePosition){const e=this.parent.absolutePosition.x(),t=this.parent.absolutePosition.y(),i=e+this.rect().left,r=t+this.rect().top;this.absolutePosition.x(i),this.absolutePosition.y(r)}else this.absolutePosition.x(0),this.absolutePosition.y(0);this.afterUpdateAbsolutePosition()}canDrop(){return!this.locked&&this._control.getMetaData().isContainer}afterUpdateAbsolutePosition(){}findNextSelection(){const e=this.parent;let t=e;if(e){const i=e.getChildrenCollection()(),r=i.indexOf(this);-1===r&&i.length>0?t=i[i.length-1]:i.length>1&&r===i.length-1?t=i[r-1]:i.length>1&&0===r||i.length>1?t=i[i.length-1]:-1===r&&t.parent&&-1===t.parent.getChildrenCollection()().indexOf(t)&&(t=t.findNextSelection())}return t}}class wl{constructor(e,t,i,r){this.bottom=zt.observable(r),this.left=zt.observable(e),this.right=zt.observable(t),this.top=zt.observable(i)}getInfo(){return ki}isEmpty(){return this.toString()===wl.defaultVal}static fromString(e=wl.defaultVal){const t=e.split(",");return new wl(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]))}toString(){return this.left()+", "+this.right()+", "+this.top()+", "+this.bottom()}}wl.defaultVal="100, 100, 100, 100",wl.unitProperties=["left","right"];class Al extends F{preInitProperties(e,t,i){}constructor(e,t,i){super(),this.preInitProperties(e,t,i),i&&(this.getInfo=()=>i),(t=t||new ts).deserialize(this,e,i)}getInfo(){return null}}function El(e,t){return e.height===t.height&&e.width===t.width}function Il(e){Q(e)}function Sl(e){e.define("ace/theme/dreamweaver",["require","exports","module"],(function(e,t,i){return i.isDark=!1,i.cssClass="ace-dreamweaver",i})),e.define("ace/theme/ambiance",["require","exports","module"],(function(e,t,i){return i.isDark=!0,i.cssClass="ace-ambiance",i}))}function $l(e){return e&&-1!==e.indexOf("/")?e.split("/").pop():ca()?"ambiance":"dreamweaver"}var kl=e.n("");var Pl=e.n("/mode-json");var Dl=e.n("/mode-sql");var Tl=e.n("/mode-text");function Fl(e){e.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],(function(t,i,r){const s=e.require("ace/lib/oop"),a=e.require("ace/mode/text").Mode,n=e.require("ace/mode/criteria_highlight_rules").CriteriaHighlightRules,o=function(){this.HighlightRules=n};s.inherits(o,a),i.Mode=o})),e.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(t,i,r){const s=e.require("ace/lib/oop"),a=e.require("ace/mode/text_highlight_rules").TextHighlightRules,n=e.require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules,o=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()};s.inherits(o,a),i.CriteriaHighlightRules=o}))}function Bl(e){e.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(t,i,r){const s=e.require("ace/lib/oop"),a=e.require("ace/mode/text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},n.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};s.inherits(n,a),n.getTagRule=function(){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},n.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},n.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},i.DocCommentHighlightRules=n}))}var Ol=function(e,t,i,r){return new(i||(i=Promise))((function(s,a){function n(e){try{d(r.next(e))}catch(e){a(e)}}function o(e){try{d(r.throw(e))}catch(e){a(e)}}function d(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,o)}d((r=r.apply(e,t||[])).next())}))};let Ml=!1;function Nl(e){if(!Ml){Bl(e),Fl(e),Sl(e);try{e.config.set("useStrictCSP",!0)}catch(e){console.warn("Update 'ace' version to 1.4.13")}"setModuleLoader"in e.config&&(e.config.setModuleLoader("./theme/textmate",(()=>Ol(this,void 0,void 0,(function*(){return e.require("./theme/textmate")})))),e.config.setModuleLoader("ace/mode/criteria",(()=>Ol(this,void 0,void 0,(function*(){return e.require("ace/mode/criteria")})))),e.config.setModuleLoader("ace/mode/sql",(()=>Ol(this,void 0,void 0,(function*(){return e.require("ace/mode/sql")})))),e.config.setModuleLoader("ace/mode/text",(()=>Ol(this,void 0,void 0,(function*(){return e.require("ace/mode/text")})))),e.config.setModuleLoader("ace/mode/json",(()=>Ol(this,void 0,void 0,(function*(){return e.require("ace/mode/json")}))))),!window.ace&&xd()&&(e.config.setModuleUrl("ace/ext/language_tools",kl()),e.config.setModuleUrl("ace/mode/sql",Dl()),e.config.setModuleUrl("ace/mode/text",Tl()),e.config.setModuleUrl("ace/mode/json",Pl()))}Ml=!0}zt.bindingHandlers.dxAceEditor={init:function(e,t,i,r,s){const a=md()||window.ace;Nl(a);const n=t(),o=n.value,d=n.editorContainer;let l,u=!0;const c=(e,t)=>{u=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),u=!0};if(a){const t=null==n.options.showGutter||n.options.showGutter,i=n.additionalOptions,d=a.require("ace/ext/language_tools"),p="ace/theme/"+$l(n.theme);l=a.edit(e,{theme:p}),l.$blockScrolling=1/0;const h=r.languageHelper.getLanguageMode(),g=l.getSession();g.gutterRenderer={getWidth:(e,t,i)=>t.toString().length*i.characterWidth,getText:(e,t)=>t+1},g.setMode(h);let m,f,v,b=()=>{l.completer&&l.completer.popup&&l.completer.popup.hide()};if(i){if(i.onChange){let e=null;m=t=>{null!==e&&clearTimeout(e),u&&(e=setTimeout((()=>{(o()!==g.getValue()||(g.getAnnotations()||[]).some((e=>"error"===e.type)))&&i.onChange(g)}),i&&i.changeTimeout||1e3))},g.on("change",m)}i.overrideEditorFocus&&(l.focus=function(e,t){l.textInput.getElement().focus()}),i.onFocus&&(f=()=>{i.onFocus(g)},l.on("focus",f)),i.onBlur&&(b=()=>(l.completer&&l.completer.popup&&l.completer.popup.hide(),i.onBlur(g))),i.onChangeAnnotation&&(v=(e,t)=>{i.onChangeAnnotation(t)},g.on("changeAnnotation",v))}l.on("blur",b);const y=r.languageHelper.createCompleters(l,s,r);if(d.setCompleters(y),l.setOptions(Object.assign({autoScrollEditorIntoView:!1},n.options)),i&&"setUseWrapMode"in i&&l.getSession().setUseWrapMode(i.setUseWrapMode),t||l.renderer.setShowGutter(t),l.renderer.$gutter){const e=l.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary";l.renderer.$gutter.className=e}const _=l._defaultHandlers.guttermousemove;let C;l._defaultHandlers.guttermousemove=function(t){const i=e.getBoundingClientRect();t.x=t.x-i.left,t.y=t.y-i.top,_(t)},zt.isSubscribable(o)&&(C=o.subscribe((e=>{e!==g.getValue()&&c(l,e),i&&i.onValueChange&&i.onValueChange(l)}))),c(l,zt.unwrap(o)),n.callbacks&&(n.callbacks.focus=()=>{setTimeout((()=>{l.textInput.getElement().focus()}),10)}),J(e,(function(){l.completers&&l.completers.splice(0),l._defaultHandlers.guttermousemove=_,C.dispose(),n.callbacks&&(n.callbacks.focus=x.noop),y.forEach((e=>e.dispose&&e.dispose())),b&&l.off("blur",b),f&&l.off("focus",f),m&&g.off("change",m),v&&g.off("changeAnnotation",v),l.destroy()}))}zt.isObservable(d)&&d(l)}},Vo("template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom() && !left() && !top() && !right()), 'dxrd-disabled-button': disabled }, click: function() { setNone() }",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"},css:function(){return{"dxd-state-active":!(e.$data.bottom()||e.$data.left()||e.$data.top()||e.$data.right()),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setNone()}}}})),Vo("template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom() && left() && top() && right()), 'dxrd-disabled-button': disabled }, click: function() { setAll() }",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"},css:function(){return{"dxd-state-active":e.$data.bottom()&&e.$data.left()&&e.$data.top()&&e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setAll()}}}})),Vo("template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"},css:function(){return{"dxd-state-active":e.$data.left(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left")}}}})),Vo("template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"},css:function(){return{"dxd-state-active":e.$data.top(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top")}}}})),Vo("template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"},css:function(){return{"dxd-state-active":e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right")}}}})),Vo("template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom")}}}})),Vo("with: value",(function(e,t){return{with:function(){return e.$data.value}}})),Vo("dxBorderEditor: { value: value, disabled: disabled }",(function(e,t){return{dxBorderEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}})),Vo("dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), 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 } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }",(function(e,t){return{dxColorBox:function(){return{value:e.$data.displayValue,onValueChanged:e.$data.onValueChanged,placeholder:e.$root.getLocalization("(Not set)","ReportStringId.UD_PropertyGrid_NotSetText"),editAlphaChannel:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flipfit",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}}}})),Vo("dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })",(function(e,t){return{dxExpressionEditor:function(){return e.$data.getOptions({options:e.$data.value,fieldListProvider:e.$root.dataBindingsProvider,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()})}}})),Vo("if: value",(function(e,t){return{if:function(){return e.$data.value}}})),Vo("dxFieldListPicker: { path: path, onValueChanged: onValueChanged, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }",(function(e,t){return{dxFieldListPicker:function(){return{path:e.$data.path,onValueChanged:e.$data.onValueChanged,acceptCustomValue:!0,value:e.$data.value,displayValue:e.$data.$displayName,itemsProvider:e.$root.dataBindingsProvider,treeListController:e.$data.treeListController,disabled:e.$data.disabled,inputAttr:{id:e.$data.editorInputId}}}}})),Vo("displayNameExtender: { path: path, dataMember: value, getPath: getPath, getDataMember: getDataMember }",(function(e,t){return{displayNameExtender:function(){return{path:e.$data.path,dataMember:e.$data.value,getPath:e.$data.getPath,getDataMember:e.$data.getDataMember}}}})),Vo("if: visible",(function(e,t){return{if:function(){return e.$data.visible}}})),Vo("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",(function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.dataBindingsProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()}}}})),Vo("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",(function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.dataBindingsGroupProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()}}}})),Vo("dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }",(function(e,t){return{dxFormatEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled,actions:e.$data.actions,customPatterns:e.$data.customPatterns}}}})),Vo("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }",(function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),Vo("template: { name: 'dx-propertieseditor', data: viewmodel }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.viewmodel}}}})),Vo("template: { name: 'dx-propertieseditor', data: getProperties() }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties()}}}})),Vo("if: $data.visible() && editorCreated",(function(e,t){return{if:function(){return e.$data.visible()&&e.$data.editorCreated}}})),Vo("dxTextAlignmentEditor: { value: value, disabled: disabled }",(function(e,t){return{dxTextAlignmentEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}})),Vo("treelist: options",(function(e,t){return{treelist:function(){return e.$data.options}}})),Vo("if: options",(function(e,t){return{if:function(){return e.$data.options}}})),Vo("style: { transform: snapLineSurfaces[0].transform() }",(function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[0].transform()}}}})),Vo("style: { transform: snapLineSurfaces[1].transform() }",(function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[1].transform()}}}})),Vo("style: { transform: snapLineSurfaces[2].transform() }",(function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[2].transform()}}}})),Vo("style: { transform: snapLineSurfaces[3].transform() }",(function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[3].transform()}}}})),Vo("css: { 'dxrd-context-menu-container': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null",(function(e,t){return{css:function(){return{"dxrd-context-menu-container":e.$data.selected()}},template:function(){return e.$data.templateName},click:function(){return function(t,i){e.$data.clickHandler(e.$root.selection,i)}},event:function(){return e.$root.ContextMenusEnabled&&e.$root.ContextMenusEnabled()?{contextmenu:function(t,i){e.$data.reportContextMenuHandler&&e.$data.reportContextMenuHandler(e.$root.selection,i)}}:null}}})),Vo("cssArray: [surfaceClass($element), { 'dx-accessibility': $data.accessibilityCompliant } ]",(function(e,t){return{cssArray:function(){return[e.$data.surfaceClass(t),{"dx-accessibility":e.$data.accessibilityCompliant}]}}})),Vo("visible: (!designMode || designMode()), cssArray: [rootStyle, { 'dx-rtl' : rtl, 'dx-ltr': !rtl }]",(function(e,t){return{visible:function(){return!e.$data.designMode||e.$data.designMode()},cssArray:function(){return[e.$data.rootStyle,{"dx-rtl":e.$data.rtl,"dx-ltr":!e.$data.rtl}]}}})),Vo("ifnot: isLoading",(function(e,t){return{ifnot:function(){return e.$data.isLoading}}})),Vo("with: surface",(function(e,t){return{with:function(){return e.$data.surface}}})),Vo("if: isLoading",(function(e,t){return{if:function(){return e.$data.isLoading}}})),Vo("foreach: parts",(function(e,t){return{foreach:function(){return e.$data.parts}}})),Vo("template: { name: templateName, data: viewModel || model }",(function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.viewModel||e.$data.model}}}})),Vo("if: ($data.addOns)",(function(e,t){return{if:function(){return e.$data.addOns}}})),Vo("foreach: addOns",(function(e,t){return{foreach:function(){return e.$data.addOns}}})),Vo("template: { name: templateName, data: model }",(function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.model}}}})),Vo("text: verticalString",(function(e,t){return{text:function(){return e.$data.verticalString}}})),Vo("template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"},css:function(){return{"dxd-state-active":e.$data.top(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top","Vertical")}}}})),Vo("template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle(), 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"},css:function(){return{"dxd-state-active":e.$data.middle(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("middle","Vertical")}}}})),Vo("template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom","Vertical")}}}})),Vo("text: horizontalString",(function(e,t){return{text:function(){return e.$data.horizontalString}}})),Vo("template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"},css:function(){return{"dxd-state-active":e.$data.left(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left","Horizontal")}}}})),Vo("template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center(), 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"},css:function(){return{"dxd-state-active":e.$data.center(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("center","Horizontal")}}}})),Vo("template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"},css:function(){return{"dxd-state-active":e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right","Horizontal")}}}})),Vo("template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify(), 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"},css:function(){return{"dxd-state-active":e.$data.justify(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("justify","Horizontal")}}}})),Vo("dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.togglePopoverVisible,disabled:e.$data.disabled,icon:e.ko.unwrap(e.$data.imageTemplateName),iconClass:e.ko.unwrap(e.$data.imageClassName)}},attr:function(){return{id:e.$data.id,title:e.$data.text}}}})),Vo("dxPopup: { width: 235, height: 'auto', position: { my: $root.rtl ? 'left top': 'right top', at: 'bottom', of: ('#' + id) }, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, '.dxrd-action-items-container'), shading: false, visible: popoverVisible }",(function(e,t){return{dxPopup:function(){return{width:235,height:"auto",position:{my:e.$root.rtl?"left top":"right top",at:"bottom",of:"#"+e.$data.id},showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,container:(e.$data.getContainer||function(e,t){return t})(t,".dxrd-action-items-container"),shading:!1,visible:e.$data.popoverVisible}}}})),Vo("dxclick: clickAction, css: { 'dxrd-disabled-button': disabled }",(function(e,t){return{dxclick:function(){return e.$data.clickAction},css:function(){return{"dxrd-disabled-button":e.$data.disabled}}}})),Vo("css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }",(function(e,t){return{css:function(){return e.ko.unwrap(e.$data.imageClassName)},template:function(){return{name:e.ko.unwrap(e.$data.imageTemplateName),if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}})),Vo("if: $data.contentTemplate",(function(e,t){return{if:function(){return e.$data.contentTemplate}}})),Vo("template: contentTemplate",(function(e,t){return{template:function(){return e.$data.contentTemplate}}})),Vo("if: !$data.contentTemplate",(function(e,t){return{if:function(){return!e.$data.contentTemplate}}})),Vo("foreach: actions",(function(e,t){return{foreach:function(){return e.$data.actions}}})),Vo("styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { 'dxrd-locked': $data.isLocked }",(function(e,t){return{styleunit:function(){return{top:e.$data.top,left:e.$data.left,width:e.$data.width,height:e.$data.height}},css:function(){return{"dxrd-locked":e.$data.isLocked}}}})),Vo("styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className",(function(e,t){return{styleunit:function(){return{left:e.$data.left,top:e.$data.top,width:e.$data.width,height:e.$data.height}},css:function(){return e.$data.className}}})),Vo("template: { name: $data.template, data: $data.data }",(function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.data}}}})),Vo("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}",(function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}}}})),Vo("text: text, attr: { title: text }",(function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.text}}}})),Vo("foreach: $data.controls()",(function(e,t){return{foreach:function(){return e.$data.controls()}}})),Vo("with: $parent.customData()",(function(e,t){return{with:function(){return e.$parent.customData()}}})),Vo("dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: 'dxrd-svg-menu-menu', css: {'dxd-state-active': appMenuVisible }",(function(e,t){return{dxclick:function(){return function(t){e.$data.stopPropagation?e.$data.stopPropagation=!1:e.$data.toggleAppMenu()}},template:function(){return"dxrd-svg-menu-menu"},css:function(){return{"dxd-state-active":e.$data.appMenuVisible}}}})),Vo("dxPopup: { width: 250, wrapperAttr: { class: 'dxd-menu-back-color dxd-back-primary2' }, 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: {}, hideOnOutsideClick: 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 }",(function(e,t){return{dxPopup:function(){return{width:250,wrapperAttr:{class:"dxd-menu-back-color dxd-back-primary2"},height:"100%",position:e.$data.rtl?{my:"right top",at:"left top",offset:"-10 0"}:{my:"left top",at:"right top",offset:"10 0"},showTitle:!1,showCloseButton:!1,container:e.$data.getMenuPopupContainer(t),target:e.$data.getMenuPopupTarget(t),animation:{},hideOnOutsideClick:function(t){var i="dxrd-menu-button-image",r=t.target.parentNode&&t.target.parentNode.parentNode&&t.target.parentNode.parentNode.classList;return e.$data.stopPropagation=t.target.classList&&t.target.classList.contains(i)||r&&r.contains(i),!0},shading:!1,focusStateEnabled:!1,visible:e.$data.appMenuVisible}}}})),Vo("dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { 'dxrd-disabled-button': disabled }, visible: visible",(function(e,t){return{dxclick:function(){return function(t){(e.$data.disabled&&!e.$data.disabled()||!e.$data.disabled)&&(e.$root.toggleAppMenu(),e.$data.clickAction(e.$root.model(),t))}},css:function(){return{"dxrd-disabled-button":e.$data.disabled}},visible:function(){return e.$data.visible}}})),Vo("text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}",(function(e,t){return{text:function(){return e.$data.displayText&&e.$data.displayText()||e.$data.text},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}})),Vo("visible: $data.hasSeparator",(function(e,t){return{visible:function(){return e.$data.hasSeparator}}})),Vo("foreach: actionLists.menuItems",(function(e,t){return{foreach:function(){return e.$data.actionLists.menuItems}}})),Vo("dxdAccordion: { collapsed: collapsed }",(function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed}}}})),Vo("css: { 'dxrd-group-header-collapsed': collapsed() }",(function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.collapsed()}}}})),Vo("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed() }",(function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed()}}}})),Vo("text: $root.actionsGroupTitle()",(function(e,t){return{text:function(){return e.$root.actionsGroupTitle()}}})),Vo("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)",(function(e,t){return{dxclick:function(){return function(){(e.$data.disabled&&!e.$data.disabled()||!e.$data.disabled)&&e.$data.clickAction(e.$root.editableObject())}},css:function(){return{"dxrd-disabled-button":e.$data.disabled&&e.$data.disabled()}},visible:function(){return null==e.ko.unwrap(e.$data.visible)||e.ko.unwrap(e.$data.visible)}}})),Vo("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }",(function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}})),Vo("template: { name: 'dx-propertieseditor', data: $data }",(function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data}}}})),Vo("visible: items.some(x => !x.visible || ko.unwrap(x.visible))",(function(e,t){return{visible:function(){return e.$data.items.some((t=>!t.visible||e.ko.unwrap(t.visible)))}}})),Vo("text: group",(function(e,t){return{text:function(){return e.$data.group}}})),Vo("if: popularVisible",(function(e,t){return{if:function(){return e.$data.popularVisible}}})),Vo("foreach: (contextActions || [])",(function(e,t){return{foreach:function(){return e.$data.contextActions||[]}}})),Vo("if: $data.templateName && !isContextMenuAction",(function(e,t){return{if:function(){return e.$data.templateName&&!e.$data.isContextMenuAction}}})),Vo("template: templateName",(function(e,t){return{template:function(){return e.$data.templateName}}})),Vo("if: !$data.templateName && !isContextMenuAction",(function(e,t){return{if:function(){return!e.$data.templateName&&!e.$data.isContextMenuAction}}})),Vo("with: popularProperties",(function(e,t){return{with:function(){return e.$data.popularProperties}}})),Vo("if: groupActionsVisible",(function(e,t){return{if:function(){return e.$data.groupActionsVisible}}})),Vo("foreach: (groupActions || [])",(function(e,t){return{foreach:function(){return e.$data.groupActions||[]}}})),Vo("foreach: (items || [])",(function(e,t){return{foreach:function(){return e.$data.items||[]}}})),Vo("template: { name: $data.templateName, if: $data.templateName }",(function(e,t){return{template:function(){return{name:e.$data.templateName,if:e.$data.templateName}}}})),Vo("if: !$data.templateName",(function(e,t){return{if:function(){return!e.$data.templateName}}})),Vo("css: { 'dx-property-grid-search-collapsed': !isSearching() }",(function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":!e.$data.isSearching()}}}})),Vo("css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.isSearching}},dxButtonWithTemplate:function(){return{onClick:e.$data.switchSearchBox,icon:"dxrd-svg-properties-search",iconClass:"image-search"}},attr:function(){return{title:e.$root.getLocalization("Search","ASPxReportsStringId.SearchDialog_Header")}}}})),Vo("dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,valueChangeEvent:"keyup",placeholder:e.$data.searchPlaceholder(),showClearButton:!0}},cacheElement:function(){return{action:function(t){e.$data.searchBox(t)}}}}})),Vo("visible: active && visible",(function(e,t){return{visible:function(){return e.$data.active&&e.$data.visible}}})),Vo("text: text",(function(e,t){return{text:function(){return e.$data.text}}})),Vo("css: { 'dx-property-grid-search-collapsed': isSearching }",(function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":e.$data.isSearching}}}})),Vo("dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.controlsStore.dataSource,value:e.$data.focusedItem,displayExpr:e.$data.displayExpr,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),Vo("css: { 'dxd-state-active dxd-state-no-hover': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: 'dxrd-svg-properties-sortingbyalphabet', iconClass: 'image-sortingbyalphabet' }",(function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":!e.$data.isSortingByGroups()}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.isSortingByGroups(!1)},icon:"dxrd-svg-properties-sortingbyalphabet",iconClass:"image-sortingbyalphabet"}}}})),Vo("css: { 'dxd-state-active dxd-state-no-hover': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: 'dxrd-svg-properties-sortingbygroups', iconClass: 'image-sortingbygroups' }",(function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":e.$data.isSortingByGroups}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.isSortingByGroups(!0)},icon:"dxrd-svg-properties-sortingbygroups",iconClass:"image-sortingbygroups"}}}})),Vo("dxScrollView: { showScrollbar: 'onHover', useNative: false, scrollByThumb: true }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",useNative:!1,scrollByThumb:!0}}}})),Vo("visible: isSortingByGroups",(function(e,t){return{visible:function(){return e.$data.isSortingByGroups}}})),Vo("visible: visible",(function(e,t){return{visible:function(){return e.$data.visible}}})),Vo("text: displayName()",(function(e,t){return{text:function(){return e.$data.displayName()}}})),Vo("dxLoadIndicator: { visible: !editorsCreated() }",(function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.editorsCreated()}}}})),Vo("visible: editorsCreated",(function(e,t){return{visible:function(){return e.$data.editorsCreated}}})),Vo("visible: !isSortingByGroups()",(function(e,t){return{visible:function(){return!e.$data.isSortingByGroups()}}})),Vo("dxLoadIndicator: { visible: !allEditorsCreated() }",(function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.allEditorsCreated()}}}})),Vo("visible: allEditorsCreated",(function(e,t){return{visible:function(){return e.$data.allEditorsCreated}}})),Vo("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: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",(function(e,t){return{dxPopup:function(){return{width:250,height:"auto",position:e.$data.rtl?{my:"left top",at:"right top",of:e.$data.popupService.target,collision:"flipfit"}:{my:"right top",at:"left top",of:e.$data.popupService.target,collision:"flipfit"},container:e.$root.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}})),Vo("text: popupService.title, visible: popupService.title",(function(e,t){return{text:function(){return e.$data.popupService.title},visible:function(){return e.$data.popupService.title}}})),Vo("dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }",(function(e,t){return{dxMenu:function(){return{wrapperAttr:{class:"dxd-button-back-color"},disabled:e.$data.popupService.disabled,dataSource:e.$data.popupService.actions,displayExpr:"title",cssClass:"dxrd-editor-menu",orientation:"vertical",showFirstSubmenuMode:"onHover",onSubmenuShowing:function(i){i.submenu._overlay.option("container",e.$root.getPopupContainer(t))}}}}})),Vo("dxclick: action",(function(e,t){return{dxclick:function(){return e.$data.action}}})),Vo("attr: { title: title }, text: title",(function(e,t){return{attr:function(){return{title:e.$data.title}},text:function(){return e.$data.title}}})),Vo("visible: $data.items && $data.items.length",(function(e,t){return{visible:function(){return e.$data.items&&e.$data.items.length}}})),Vo("dxPopover: { container: getPopupContainer($element), target: target, position: 'bottom', showCloseButton: false, onHiding: onHiding, hideOnOutsideClick: true, hideOnParentScroll: true, width: '350px', visible: visible }",(function(e,t){return{dxPopover:function(){return{container:e.$data.getPopupContainer(t),target:e.$data.target,position:"bottom",showCloseButton:!1,onHiding:e.$data.onHiding,hideOnOutsideClick:!0,hideOnParentScroll:!0,width:"350px",visible:e.$data.visible}}}})),Vo("text: data",(function(e,t){return{text:function(){return e.$data.data}}})),Vo("if: $data.innerTemplate",(function(e,t){return{if:function(){return e.$data.innerTemplate}}})),Vo("template: $data.innerTemplate",(function(e,t){return{template:function(){return e.$data.innerTemplate}}})),Vo("with: model",(function(e,t){return{with:function(){return e.$data.model}}})),Vo("if: $root.controlsStore.visible()",(function(e,t){return{if:function(){return e.$root.controlsStore.visible()}}})),Vo("template: 'dx-propertygrid-searchbox'",(function(e,t){return{template:function(){return"dx-propertygrid-searchbox"}}})),Vo("template: { name: 'dxrd-group-actions', data: { groupActions: $root.contextGroupActions, groupActionsVisible: $root.groupActionsVisible() } }",(function(e,t){return{template:function(){return{name:"dxrd-group-actions",data:{groupActions:e.$root.contextGroupActions,groupActionsVisible:e.$root.groupActionsVisible()}}}}})),Vo("template: { name: 'dxrd-top-grid', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } }",(function(e,t){return{template:function(){return{name:"dxrd-top-grid",data:{contextActions:e.$root.contextActions,popularProperties:e.$root.popularProperties,collapsed:e.ko.observable(!1),popularVisible:e.$root.popularVisible()&&e.$data.isSortingByGroups(),actionsGroupTitle:e.$root.actionsGroupTitle}}}}})),Vo("foreach: groups",(function(e,t){return{foreach:function(){return e.$data.groups}}})),Vo("ifnot: editorsCreated",(function(e,t){return{ifnot:function(){return e.$data.editorsCreated}}})),Vo("if: $data.editorsRendered()",(function(e,t){return{if:function(){return e.$data.editorsRendered()}}})),Vo("foreach: editors",(function(e,t){return{foreach:function(){return e.$data.editors}}})),Vo("template: editorTemplate",(function(e,t){return{template:function(){return e.$data.editorTemplate}}})),Vo("if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true))",(function(e,t){return{if:function(){return e.$index()===e.$parent.editors().length-1&&e.$parent.editorsCreated(!0)}}})),Vo("foreach: $data.getEditors()",(function(e,t){return{foreach:function(){return e.$data.getEditors()}}})),Vo("if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true))",(function(e,t){return{if:function(){return e.$index()===e.$parent._editors().length-1&&e.$parent.allEditorsCreated(!0)}}})),Vo("template: 'dx-propertygrid-popupservice'",(function(e,t){return{template:function(){return"dx-propertygrid-popupservice"}}})),Vo("template: { name: 'dx-propertygrid-popoverservice', if: popover, data: popover.getViewModel() }",(function(e,t){return{template:function(){return{name:"dx-propertygrid-popoverservice",if:e.$data.popover,data:e.$data.popover.getViewModel()}}}})),Vo("if: $data.itemTemplate",(function(e,t){return{if:function(){return e.$data.itemTemplate}}})),Vo("template: $data.itemTemplate",(function(e,t){return{template:function(){return e.$data.itemTemplate}}})),Vo("ifnot: $data.itemTemplate",(function(e,t){return{ifnot:function(){return e.$data.itemTemplate}}})),Vo("dxTemplate: { name: 'content' }",(function(){return{dxTemplate:{name:"content"}}})),Vo("dxTemplate: { name: 'item' }",(function(){return{dxTemplate:{name:"item"}}})),Vo("styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))",(function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.class},resizable:function(){return e.$data.getResizableOptions(t,1,e.$root.calculateWithZoomFactor(325))}}})),Vo("styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper",(function(e,t){return{styleunit:function(){return{width:e.$data.width}},css:function(){return e.$data.class},dxMutationObserver:function(){return e.$data.keyboardHelper}}})),Vo("css: tabsElement.class",(function(e,t){return{css:function(){return e.$data.tabsElement.class}}})),Vo("dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, 'aria-label': text, 'aria-expanded': active }, visible: visible",(function(e,t){return{dxAction:function(){return{action:function(t){e.$data.click()}}},css:function(){return e.$data.css.class},attr:function(){return{title:e.$data.text,"aria-label":e.$data.text,"aria-expanded":e.$data.active}},visible:function(){return e.$data.visible}}})),Vo("css: image.class, template: {name: image.templateName, if: !!ko.unwrap($data.image.templateName)}",(function(e,t){return{css:function(){return e.$data.image.class},template:function(){return{name:e.$data.image.templateName,if:!!e.ko.unwrap(e.$data.image.templateName)}}}})),Vo("styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)",(function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.contentElement.class},resizable:function(){return e.$data.getResizableOptions(t,50,396)}}})),Vo("with: tabPanel.getViewModel()",(function(e,t){return{with:function(){return e.$data.tabPanel.getViewModel()}}})),Vo("foreach: tabs",(function(e,t){return{foreach:function(){return e.$data.tabs}}})),Vo("lazy: { template: $data.template }",(function(e,t){return{lazy:function(){return{template:e.$data.template}}}})),Vo("foreach: $data.tabs",(function(e,t){return{foreach:function(){return e.$data.tabs}}})),Vo("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', disabled: disabled, onClick: toogle, hint: title }",(function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",disabled:e.$data.disabled,onClick:e.$data.toogle,hint:e.$data.title}}}})),Vo("template: {name: 'dxrd-toolbar-tmplt', data: actionLists.getViewModel().toolbarItems }",(function(e,t){return{template:function(){return{name:"dxrd-toolbar-tmplt",data:e.$data.actionLists.getViewModel().toolbarItems}}}})),Vo("visible: visible, css: actionClass",(function(e,t){return{visible:function(){return e.$data.visible},css:function(){return e.$data.actionClass}}})),Vo("attr: block.attr",(function(e,t){return{attr:function(){return e.$data.block.attr}}})),Vo("template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: displayText }, dxclick: click",(function(e,t){return{template:function(){return{name:e.$data.image.templateName,if:!!e.$data.image.templateName}},attr:function(){return{class:e.$data.image.class,title:e.$data.displayText}},dxclick:function(){return e.$data.click}}})),Vo("visible: hasSeparator",(function(e,t){return{visible:function(){return e.$data.hasSeparator}}})),Vo("foreach: $data",(function(e,t){return{foreach:function(){return e.$data}}})),Vo("if: templateName",(function(e,t){return{if:function(){return e.$data.templateName}}})),Vo("template: { name: templateName, data: contentData || $data }",(function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.contentData||e.$data}}}})),Vo("if: !templateName",(function(e,t){return{if:function(){return!e.$data.templateName}}})),Vo("dxScrollView: { showScrollbar: 'onHover', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",scrollByContent:!1,bounceEnabled:!1,useNative:!1,scrollByThumb:!0}}}})),Vo("attr: { title: displayName }",(function(e,t){return{attr:function(){return{title:e.$data.displayName}}}})),Vo("template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler",(function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},css:function(){return e.$data.imageClassName},draggable:function(){return e.$root.toolboxDragHandler}}})),Vo("foreach: toolboxItems",(function(e,t){return{foreach:function(){return e.$data.toolboxItems}}})),Vo("foreach: groupedToolboxItems",(function(e,t){return{foreach:function(){return e.$data.groupedToolboxItems}}})),Vo("foreach: items",(function(e,t){return{foreach:function(){return e.$data.items}}})),Vo("dxSelectBox: { items: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }",(function(e,t){return{dxSelectBox:function(){return{items:e.$data.widget.dataSource,value:e.$data.widget.value,onValueChanged:e.$data.widget.onValueChanged,displayExpr:e.$data.widget.displayExpr,displayCustomValue:!0,acceptCustomValue:!0,onCustomItemCreating:e.$data.widget.onCustomItemCreating,disabled:e.$data.disabled,dropDownOptions:{container:e.$data.getPopupContainer(t)},useItemTextAsTitle:!0}}}})),Vo("dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }",(function(e,t){return{dxclick:function(){return function(t,i){e.$data.showPopup(t,i)}},css:function(){return e.$data.editorMenuButtonCss},attr:function(){return{title:e.$data.hint}}}})),Vo("dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",(function(e,t){return{dxclick:function(){return function(t,i){e.$data.showPopup(t,i)}},attr:function(){return{title:e.$data.hint}},css:function(){return e.$data.editorMenuButtonCss}}})),Vo("template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }",(function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:e.ko.unwrap(e.$data.imageTemplateName)}}}})),Vo("if: $data.visible",(function(e,t){return{if:function(){return e.$data.visible}}})),Vo("if: $data.templateName",(function(e,t){return{if:function(){return e.$data.templateName}}})),Vo("template: $data.templateName",(function(e,t){return{template:function(){return e.$data.templateName}}})),Vo("ifnot: $data.templateName",(function(e,t){return{ifnot:function(){return e.$data.templateName}}})),Vo("if: !ko.unwrap($data.imageTemplateName)",(function(e,t){return{if:function(){return!e.ko.unwrap(e.$data.imageTemplateName)}}})),Vo("if: ko.unwrap($data.imageTemplateName)",(function(e,t){return{if:function(){return e.ko.unwrap(e.$data.imageTemplateName)}}})),Vo("dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper",(function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed,setCollapsed:e.$data.setCollapsed,getCollapsed:e.$data.getCollapsed,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent,alwaysShow:e.$data.alwaysShow}},dxMutationObserver:function(){return e.$data.keyboardHelper}}})),Vo("attr: { 'aria-expanded': alwaysShow || !collapsed ? 'true' : 'false', 'aria-owns': contentId, 'id': headerId, }",(function(e,t){return{attr:function(){return{"aria-expanded":e.$data.alwaysShow||!e.$data.collapsed?"true":"false","aria-owns":e.$data.contentId,id:e.$data.headerId}}}})),Vo("dxButton: { onClick: up.action, disabled: up.disabled, icon: 'dxrd-svg-operations-moveup', template: up.template }, attr: { title: up.text }",(function(e,t){return{dxButton:function(){return{onClick:e.$data.up.action,disabled:e.$data.up.disabled,icon:"dxrd-svg-operations-moveup",template:e.$data.up.template}},attr:function(){return{title:e.$data.up.text}}}})),Vo("dxButton: { onClick: down.action, disabled: down.disabled, icon: 'dxrd-svg-operations-movedown', template: down.template }, attr: { title: down.text }",(function(e,t){return{dxButton:function(){return{onClick:e.$data.down.action,disabled:e.$data.down.disabled,icon:"dxrd-svg-operations-movedown",template:e.$data.down.template}},attr:function(){return{title:e.$data.down.text}}}})),Vo("dxButton: { onClick: add.action, disabled: add.disabled, icon: 'dxrd-svg-operations-add', template: add.template }, attr: { title: add.text }",(function(e,t){return{dxButton:function(){return{onClick:e.$data.add.action,disabled:e.$data.add.disabled,icon:"dxrd-svg-operations-add",template:e.$data.add.template}},attr:function(){return{title:e.$data.add.text}}}})),Vo("dxButton: { onClick: delete.action, disabled: delete.disabled, icon: 'dxrd-svg-operations-remove', template: delete.template }, attr: { title: delete.text }",(function(e,t){return{dxButton:function(){return{onClick:e.$data.delete.action,disabled:e.$data.delete.disabled,icon:"dxrd-svg-operations-remove",template:e.$data.delete.template}},attr:function(){return{title:e.$data.delete.text}}}})),Vo("styleunit: { 'paddingLeft': padding }",(function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding}}}})),Vo("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed }",(function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed}}}})),Vo("text: displayName, attr: { title: displayName }",(function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}})),Vo("attr: { 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false', 'aria-labelledby': headerId, 'id': contentId }",(function(e,t){return{attr:function(){return{"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false","aria-labelledby":e.$data.headerId,id:e.$data.contentId}}}})),Vo("visible: !disabled, dxScrollView: { showScrollbar: 'onHover', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option('useKeyboard', false); } }",(function(e,t){return{visible:function(){return!e.$data.disabled},dxScrollView:function(){return{showScrollbar:"onHover",disabled:!e.$data.showScroll,useNative:!1,scrollByThumb:!0,onInitialized:function(e){e.component.option("useKeyboard",!1)}}}}})),Vo("text: emptyAreaText",(function(e,t){return{text:function(){return e.$data.emptyAreaText}}})),Vo("foreach: values",(function(e,t){return{foreach:function(){return e.$data.values}}})),Vo("attr: { 'aria-selected': selected }, dxAction: { model: $data, action: select }, css: { 'dxd-state-selected' : selected }",(function(e,t){return{attr:function(){return{"aria-selected":e.$data.selected}},dxAction:function(){return{model:e.$data,action:e.$data.select}},css:function(){return{"dxd-state-selected":e.$data.selected}}}})),Vo("if: showButtons",(function(e,t){return{if:function(){return e.$data.showButtons}}})),Vo("with: buttons",(function(e,t){return{with:function(){return e.$data.buttons}}})),Vo("if: up.visible",(function(e,t){return{if:function(){return e.$data.up.visible}}})),Vo("if: down.visible",(function(e,t){return{if:function(){return e.$data.down.visible}}})),Vo("if: add.visible",(function(e,t){return{if:function(){return e.$data.add.visible}}})),Vo("if: delete.visible",(function(e,t){return{if:function(){return e.$data.delete.visible}}})),Vo("if: displayName",(function(e,t){return{if:function(){return e.$data.displayName}}})),Vo("if: values.length === 0",(function(e,t){return{if:function(){return 0===e.$data.values.length}}})),Vo("if: values.length !== 0",(function(e,t){return{if:function(){return 0!==e.$data.values.length}}})),Vo("dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { 'aria-label': displayName } }), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxCheckBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,elementAttr:{"aria-label":e.$data.displayName}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),Vo("dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:[{val:!0,text:e.$root.getLocalization("Yes","AnalyticsCoreStringId.ParametersPanel_True")},{val:!1,text:e.$root.getLocalization("No","AnalyticsCoreStringId.ParametersPanel_False")}],inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},valueExpr:"val",displayExpr:"text",value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),Vo("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }",(function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info}}}})),Vo("text: $data.display, attr: { title: $data.display }",(function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}})),Vo("dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }}, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: $data.validationRules || [] })",(function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]})}}})),Vo("dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }",(function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",disabled:e.$data.disabled,acceptCustomValue:!0,onCustomItemCreating:function(e){return{value:e.text,displayValue:e.text}},dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},useLocalizedTextAsValue:!0}}}})),Vo("dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId } }, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })",(function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.generateValue(e.$root.undoEngine),valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},inputAttr:{id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]})}}})),Vo("dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }",(function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed,setCollapsed:e.$data.setCollapsed,getCollapsed:e.$data.getCollapsed,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}})),Vo("attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}",(function(e,t){return{attr:function(){return{role:"treeitem",id:e.$data.isComplexEditor&&e.$data.headerId,"aria-owns":e.$data.isComplexEditor&&e.$data.contentId,"aria-expanded":e.$data.isComplexEditor&&(e.$data.alwaysShow||!e.$data.collapsed?"true":"false")}},css:function(){return{"dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented":e.$data.isComplexEditor}}}})),Vo("styleunit: padding, css: { 'dx-accordion-empty': templateName === 'dx-emptyHeader' }",(function(e,t){return{styleunit:function(){return e.$data.padding},css:function(){return{"dx-accordion-empty":"dx-emptyHeader"===e.$data.templateName}}}})),Vo("enable: templateName === 'dx-emptyHeader'",(function(e,t){return{enable:function(){return"dx-emptyHeader"===e.$data.templateName}}})),Vo("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !ko.unwrap(collapsed) }",(function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.ko.unwrap(e.$data.collapsed)}}}})),Vo("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",(function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}})),Vo("text: displayName, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",(function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}})),Vo("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-field-label-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",(function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-field-label-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}})),Vo("text: displayName, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",(function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-property-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}})),Vo("service: { name: 'createEditorDescriptionAddOn' }",(function(e,t){return{service:function(){return{name:"createEditorDescriptionAddOn"}}}})),Vo("css: { 'dxd-border-accented': $data.isPropertyHighlighted }",(function(e,t){return{css:function(){return{"dxd-border-accented":e.$data.isPropertyHighlighted}}}})),Vo("service: { name: 'createEditorAddOn' }",(function(e,t){return{service:function(){return{name:"createEditorAddOn"}}}})),Vo("attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }",(function(e,t){return{attr:function(){return{"aria-labelledby":e.$data.headerId,id:e.$data.contentId,"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false"}}}})),Vo("dxButtonWithTemplate: { onClick: onClick, icon: 'dxrd-svg-tabs-description_info' }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.onClick,icon:"dxrd-svg-tabs-description_info"}}}})),Vo("if: isComplexEditor",(function(e,t){return{if:function(){return e.$data.isComplexEditor}}})),Vo("ifnot: $data.hideCollapsingButton",(function(e,t){return{ifnot:function(){return e.$data.hideCollapsingButton}}})),Vo("if: !!$data.textToSearch",(function(e,t){return{if:function(){return!!e.$data.textToSearch}}})),Vo("ifnot: !!$data.textToSearch",(function(e,t){return{ifnot:function(){return!!e.$data.textToSearch}}})),Vo("if: !isComplexEditor",(function(e,t){return{if:function(){return!e.$data.isComplexEditor}}})),Vo("if: !$data.editorDescriptionAddon && $data.description",(function(e,t){return{if:function(){return!e.$data.editorDescriptionAddon&&e.$data.description}}})),Vo("if: $data.editorDescriptionAddon",(function(e,t){return{if:function(){return e.$data.editorDescriptionAddon}}})),Vo("template: { name: $data.editorDescriptionAddon.templateName, data: $data.editorDescriptionAddon.data }",(function(e,t){return{template:function(){return{name:e.$data.editorDescriptionAddon.templateName,data:e.$data.editorDescriptionAddon.data}}}})),Vo("if: templateName !== 'dx-emptyHeader'",(function(e,t){return{if:function(){return"dx-emptyHeader"!==e.$data.templateName}}})),Vo("lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } }",(function(e,t){return{lazy:function(){return{innerBindings:{template:e.$data.templateName},isResolved:function(t){e.$data.setIsRendered(t)}}}}})),Vo("if: editorCreated",(function(e,t){return{if:function(){return e.$data.editorCreated}}})),Vo("template: contentTemplateName",(function(e,t){return{template:function(){return e.$data.contentTemplateName}}})),Vo("dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId }, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxDateBox:function(){return e.$data.getOptions({value:e.$data.value,closeOnValueChange:!0,type:"datetime",disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flip",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),Vo("dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled }",(function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"File",disabled:e.$data.disabled}}}})),Vo("css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { bold(!bold()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.bold(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.bold(!e.$data.bold())}}}})),Vo("css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { italic(!italic()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.italic(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.italic(!e.$data.italic())}}}})),Vo("css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { underline(!underline()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.underline(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.underline(!e.$data.underline())}}}})),Vo("css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { strikeout(!strikeout()); } }",(function(e,t){return{css:function(){return{"dxd-state-active":e.$data.strikeout(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.strikeout(!e.$data.strikeout())}}}})),Vo("template: 'dxrd-svg-fontstyle-bold'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}})),Vo("template: 'dxrd-svg-fontstyle-italic'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}})),Vo("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline",(function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideUnderline}}})),Vo("template: 'dxrd-svg-fontstyle-underline'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}})),Vo("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout",(function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideStrikeout}}})),Vo("template: 'dxrd-svg-fontstyle-strikeout'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}})),Vo("dxFileImagePicker: { value: value, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }",(function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"Image",accept:"image/*",type:"img",disabled:e.$data.disabled}}}})),Vo("dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxNumberBox:function(){return e.$data.getOptions({value:e.$data.value,showSpinButtons:!0,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),Vo("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }",(function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}})),Vo("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: validationRules || [] })",(function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]})}}})),Vo("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})",(function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})}}})),Vo("value: value, disable: disabled",(function(e,t){return{value:function(){return e.$data.value},disable:function(){return e.$data.disabled},_ko_property_writers:function(){return{value:function(t){e.$data.value=t}}}}})),Vo("if: $data.validationRules",(function(e,t){return{if:function(){return e.$data.validationRules}}})),Vo("if: !$data.validationRules",(function(e,t){return{if:function(){return!e.$data.validationRules}}})),Vo("css: { 'dx-rtl' : rtl }",(function(e,t){return{css:function(){return{"dx-rtl":e.$data.rtl}}}})),Vo("dxPopup: { showTitle: true, width: '750px', height: '475px', title: title(), rtlEnabled: rtl, visible: popupVisible, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }",(function(e,t){return{dxPopup:function(){return{showTitle:!0,width:"750px",height:"475px",title:e.$data.title(),rtlEnabled:e.$data.rtl,visible:e.$data.popupVisible,wrapperAttr:{class:e.$data.className},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$root.getPopupContainer(t),position:{of:e.$root.getPopupContainer(t)}}}}})),Vo("dxDataGrid: queriesGrid",(function(e,t){return{dxDataGrid:function(){return e.$data.queriesGrid}}})),Vo("dxDropDownButton: $data",(function(e,t){return{dxDropDownButton:function(){return e.$data}}})),Vo("if: $data",(function(e,t){return{if:function(){return e.$data}}})),Vo("template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper }",(function(e,t){return{template:function(){return{name:e.$data._queriesPopupHelper.template,data:e.$data._queriesPopupHelper}}}})),Vo("foreach: $data.popupItems",(function(e,t){return{foreach:function(){return e.$data.popupItems}}})),Vo("template: { name: template, data: model }",(function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.model}}}})),Vo("with: options",(function(e,t){return{with:function(){return e.$data.options}}})),Vo("dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",(function(e,t){return{dxTextArea:function(){return{value:e.$data.textAreaValue,isValid:e.$data.isValid,spellcheck:!1,onKeyUp:function(){e.$data.isValid(!0)}}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}})),Vo("dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",(function(e,t){return{dxAceEditor:function(){return{value:e.$data.textAreaValue,editorContainer:e.$data.editorContainer,theme:e.$data.theme,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions,callbacks:e.$data.callbacks}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}})),Vo("visible: visible, attr: { class: 'dx-expressioneditor-tools-tab dxd-back-primary2 '+ ($data.templateName ? $data.templateName : '')}",(function(e,t){return{visible:function(){return e.$data.visible},attr:function(){return{class:"dx-expressioneditor-tools-tab dxd-back-primary2 "+(e.$data.templateName?e.$data.templateName:"")}}}})),Vo("dxEllipsisEditor: { value: displayValue, buttonAction: function() { popupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }",(function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.displayValue,buttonAction:function(){e.$data.popupVisible(!0)},disabled:e.$data.disabled,isValid:e.$data.modelValueValid,warningMessage:e.$data.modelValueWarning,inputAttr:{id:e.$data.editorInputId}}}}})),Vo("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }",(function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-expressioneditor dx-popup-general"},title:e.$data.title(),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,fullScreen:!1,height:"615px",maxHeight:"90%",maxWidth:"90%",minHeight:400,minWidth:500,width:"645px",container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onContentReady:e.$data.onContentReady,onShowing:e.$data.onShowing,onHiding:e.$data.onHiding,onShown:e.$data.onShown,resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()}}}}})),Vo("if: !aceAvailable",(function(e,t){return{if:function(){return!e.$data.aceAvailable}}})),Vo("if: aceAvailable",(function(e,t){return{if:function(){return e.$data.aceAvailable}}})),Vo("with: tools",(function(e,t){return{with:function(){return e.$data.tools}}})),Vo("foreach: toolBox",(function(e,t){return{foreach:function(){return e.$data.toolBox}}})),Vo("template: { name: $data.templateName }",(function(e,t){return{template:function(){return{name:e.$data.templateName}}}})),Vo("template: 'dx-expressioneditor-popup'",(function(e,t){return{template:function(){return"dx-expressioneditor-popup"}}})),Vo("if: popupVisible",(function(e,t){return{if:function(){return e.$data.popupVisible}}})),Vo('template: "dx-expressioneditor-main"',(function(e,t){return{template:function(){return"dx-expressioneditor-main"}}})),Vo("dxScrollView: { showScrollbar: 'onHover' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, 'e')",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},resizable:function(){return e.$parents[1].resizeHelper.resizable(e.$root.resizeHandler,"e")}}})),Vo("css: {'dxd-state-selected': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }",(function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.content.isSelected}},text:function(){return e.$data.displayName},dxclick:function(){return function(){e.$parent.click(e.$data.content)}}}})),Vo("css: {'dxd-state-selected': $data.isSelected }, dxclick: function() { $data.updateContent($data.allItems(), $data.isSelected); $parent.click($data.content) }",(function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},dxclick:function(){return function(){e.$data.updateContent(e.$data.allItems(),e.$data.isSelected),e.$parent.click(e.$data.content)}}}})),Vo("text: displayName",(function(e,t){return{text:function(){return e.$data.displayName}}})),Vo("css: {'dxd-state-selected': isSelected }, text: $data.display, dxclick: function() { $parent.updateContent($data.data, $data.isSelected); $parents[1].click($parent.content); }",(function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},text:function(){return e.$data.display},dxclick:function(){return function(){e.$parent.updateContent(e.$data.data,e.$data.isSelected),e.$parents[1].click(e.$parent.content)}}}})),Vo("foreach: content",(function(e,t){return{foreach:function(){return e.$data.content}}})),Vo("dxScrollView: { showScrollbar: 'onHover' }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}}}})),Vo("text: content",(function(e,t){return{text:function(){return e.$data.content}}})),Vo("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) ] }",(function(e,t){return{treeListSearchPanel:function(){return{controllers:[e.ko.unwrap(e.$data.parameters)?e.ko.unwrap(e.$data.parameters).treeListController:e.ko.unwrap(e.$data.parameters),e.ko.unwrap(e.$data.fields)?e.ko.unwrap(e.$data.fields).treeListController:e.ko.unwrap(e.$data.fields)]}}}})),Vo("treelist: fields",(function(e,t){return{treelist:function(){return e.$data.fields}}})),Vo("treelist: parameters",(function(e,t){return{treelist:function(){return e.$data.parameters}}})),Vo("visible: visible, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected': isSelected }",(function(e,t){return{visible:function(){return e.$data.visible},event:function(){return{dblclick:function(){e.$data.actions[0].clickAction(t)}}},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected":e.$data.isSelected}}}})),Vo("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed",(function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed}}})),Vo("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }",(function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.text}}}})),Vo("click: toggleSelected",(function(e,t){return{click:function(){return e.$data.toggleSelected}}})),Vo("if: fields",(function(e,t){return{if:function(){return e.$data.fields}}})),Vo("if: $data.parameters",(function(e,t){return{if:function(){return e.$data.parameters}}})),Vo("if: hasItems",(function(e,t){return{if:function(){return e.$data.hasItems}}})),Vo("ifnot: hasItems",(function(e,t){return{ifnot:function(){return e.$data.hasItems}}})),Vo("template: { name: 'dx-treelist-item-text-content' }",(function(e,t){return{template:function(){return{name:"dx-treelist-item-text-content"}}}})),Vo("attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, 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); } }",(function(e,t){return{attr:function(){return{class:"dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted "+(e.$data.class?e.$data.class:"")}},text:function(){return e.$data.displayName||e.$data.text},css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem()===e.$data}},dxclick:function(){return function(){e.$parent.selectedItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}}}})),Vo("dxTextBox: { value: textToSearch, showClearButton: true, valueChangeEvent: 'keyup', placeholder: $parents[2].searchPlaceholder() }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,showClearButton:!0,valueChangeEvent:"keyup",placeholder:e.$parents[2].searchPlaceholder()}}}})),Vo("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 }",(function(e,t){return{css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem()===e.$data}},dxclick:function(){return function(){e.$parent.selectedItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}},searchHighlighting:function(){return{text:e.$data.displayName||e.$data.text,textToSearch:e.$parent.textToSearch}}}})),Vo("with: content",(function(e,t){return{with:function(){return e.$data.content}}})),Vo("template: $data",(function(e,t){return{template:function(){return e.$data}}})),Vo("foreach: availableItems",(function(e,t){return{foreach:function(){return e.$data.availableItems}}})),Vo("css: { 'advanced': advancedMode }",(function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}}}})),Vo("css: { 'advanced': advancedMode }, visible: textVisible",(function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}},visible:function(){return e.$data.textVisible}}})),Vo("css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }",(function(e,t){return{css:function(){return e.$data.getTextCssClasses()},style:function(){return{height:e.$data.textContentHeightPerc}}}})),Vo("dxCheckBox: { value: advancedMode, text: advancedModeText }, style: $data.getCheckBoxStyles()",(function(e,t){return{dxCheckBox:function(){return{value:e.$data.advancedMode,text:e.$data.advancedModeText}},style:function(){return e.$data.getCheckBoxStyles()}}})),Vo("style: $data.getContentStyles()",(function(e,t){return{style:function(){return e.$data.getContentStyles()}}})),Vo("visible: $data.options().disabled()",(function(e,t){return{visible:function(){return e.$data.options().disabled()}}})),Vo("dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }",(function(e,t){return{dxTextArea:function(){return{value:e.$data.displayValue,isValid:e.$data.isValid,onInput:e.$data.onInput,spellcheck:!1}},cacheElement:function(){return{action:function(t){e.$data.cacheElement(t)}}}}})),Vo("css: {'dx-invalid': !$data.isValid(), 'dx-state-focused': textFocused }",(function(e,t){return{css:function(){return{"dx-invalid":!e.$data.isValid(),"dx-state-focused":e.$data.textFocused}}}})),Vo("dxAceEditor: { value: $data.displayValue, theme: helper.aceTheme, editorContainer: editorContainer, options: aceOptions, additionalOptions: additionalOptions }",(function(e,t){return{dxAceEditor:function(){return{value:e.$data.displayValue,theme:e.$data.helper.aceTheme,editorContainer:e.$data.editorContainer,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions}}}})),Vo("dxScrollView: { showScrollbar: 'onHover', direction: 'both' }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",direction:"both"}}}})),Vo("dxclick: function() { $data.advancedMode(true); }",(function(e,t){return{dxclick:function(){return function(){e.$data.advancedMode(!0)}}}})),Vo("text: invalidMessage()",(function(e,t){return{text:function(){return e.$data.invalidMessage()}}})),Vo("template: 'dx-filtereditor-content-tree'",(function(e,t){return{template:function(){return"dx-filtereditor-content-tree"}}})),Vo("template: 'dx-filtereditor-content-text'",(function(e,t){return{template:function(){return"dx-filtereditor-content-text"}}})),Vo("if: $data.advancedModeTop()",(function(e,t){return{if:function(){return e.$data.advancedModeTop()}}})),Vo("template: 'dx-filtereditor-plain-content-text'",(function(e,t){return{template:function(){return"dx-filtereditor-plain-content-text"}}})),Vo("ifnot: $data.advancedModeTop()",(function(e,t){return{ifnot:function(){return e.$data.advancedModeTop()}}})),Vo("with: operandSurface",(function(e,t){return{with:function(){return e.$data.operandSurface}}})),Vo("template: { name: $data.templateName, data: $data, if: $parent.isSurfaceValid }",(function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data,if:e.$parent.isSurfaceValid}}}})),Vo("ifnot: isSurfaceValid",(function(e,t){return{ifnot:function(){return e.$data.isSurfaceValid}}})),Vo("dxEllipsisEditor: { value: modelDisplayValue, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { popupVisible(true); }, inputAttr: { id: editorInputId } }",(function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.modelDisplayValue,isValid:e.$data.modelValueIsValid,disabled:e.$data.disabled,buttonAction:function(){e.$data.popupVisible(!0)},inputAttr:{id:e.$data.editorInputId}}}}})),Vo("style: { pointerEvents: $data.options().disabled() ? 'none' : '' }",(function(e,t){return{style:function(){return{pointerEvents:e.$data.options().disabled()?"none":""}}}})),Vo("template: 'dx-filtereditor-popup'",(function(e,t){return{template:function(){return"dx-filtereditor-popup"}}})),Vo("template: 'dx-filtereditor-content'",(function(e,t){return{template:function(){return"dx-filtereditor-content"}}})),Vo("template: 'dx-filtereditor-content-popups'",(function(e,t){return{template:function(){return"dx-filtereditor-content-popups"}}})),Vo("template: 'dx-filtereditor-content-plain'",(function(e,t){return{template:function(){return"dx-filtereditor-content-plain"}}})),Vo("service: { name: 'createChangeType' }",(function(e,t){return{service:function(){return{name:"createChangeType"}}}})),Vo("dxclick: function() { $data.remove && $data.remove(); }",(function(e,t){return{dxclick:function(){return function(){e.$data.remove&&e.$data.remove()}}}})),Vo("visible: !!$data.canRemove",(function(e,t){return{visible:function(){return!!e.$data.canRemove}}})),Vo("with: property",(function(e,t){return{with:function(){return e.$data.property}}})),Vo("template: { name: templateName, data: $data }",(function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}})),Vo("if: $data.aggregatedExpression()",(function(e,t){return{if:function(){return e.$data.aggregatedExpression()}}})),Vo("with: aggregatedExpression",(function(e,t){return{with:function(){return e.$data.aggregatedExpression}}})),Vo("template: 'dxrd-svg-filtereditor-remove'",(function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}})),Vo("template: { name: 'dx-filtereditor-aggregate-common' }",(function(e,t){return{template:function(){return{name:"dx-filtereditor-aggregate-common"}}}})),Vo("with: condition",(function(e,t){return{with:function(){return e.$data.condition}}})),Vo("with: begin",(function(e,t){return{with:function(){return e.$data.begin}}})),Vo("with: end",(function(e,t){return{with:function(){return e.$data.end}}})),Vo("with: leftOperand",(function(e,t){return{with:function(){return e.$data.leftOperand}}})),Vo("with: rightOperand",(function(e,t){return{with:function(){return e.$data.rightOperand}}})),Vo("if: $data.leftPart && $data.leftPart.condition",(function(e,t){return{if:function(){return e.$data.leftPart&&e.$data.leftPart.condition}}})),Vo("with: leftPart",(function(e,t){return{with:function(){return e.$data.leftPart}}})),Vo("css: css",(function(e,t){return{css:function(){return e.$data.css}}})),Vo("text: displayType",(function(e,t){return{text:function(){return e.$data.displayType}}})),Vo("service: { name: 'createChangeValueType' }",(function(e,t){return{service:function(){return{name:"createChangeValueType"}}}})),Vo("template: { name: $data.leftPart.templateName, data: $data.leftPart }",(function(e,t){return{template:function(){return{name:e.$data.leftPart.templateName,data:e.$data.leftPart}}}})),Vo("foreach: rightPart",(function(e,t){return{foreach:function(){return e.$data.rightPart}}})),Vo("template: { name: $data.templateName, data: $data }",(function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}})),Vo("service: { name: 'createAddButton' }",(function(e,t){return{service:function(){return{name:"createAddButton"}}}})),Vo("foreach: operands",(function(e,t){return{foreach:function(){return e.$data.operands}}})),Vo("dxclick: addValue",(function(e,t){return{dxclick:function(){return e.$data.addValue}}})),Vo("with: criteriaOperator",(function(e,t){return{with:function(){return e.$data.criteriaOperator}}})),Vo("if: $data.operands().length > 1",(function(e,t){return{if:function(){return e.$data.operands().length>1}}})),Vo("foreach: $data.operands()",(function(e,t){return{foreach:function(){return e.$data.operands()}}})),Vo("if: $data.operands().length == 1",(function(e,t){return{if:function(){return 1==e.$data.operands().length}}})),Vo("template: { name: $data.operands()[0].templateName, data: $data.operands()[0] }",(function(e,t){return{template:function(){return{name:e.$data.operands()[0].templateName,data:e.$data.operands()[0]}}}})),Vo("template: 'dxrd-svg-filtereditor-add'",(function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}})),Vo("service: { name: 'createChangeParameter' }",(function(e,t){return{service:function(){return{name:"createChangeParameter"}}}})),Vo("if: $data.canChange",(function(e,t){return{if:function(){return e.$data.canChange}}})),Vo("service: { name: 'createChangeProperty' }",(function(e,t){return{service:function(){return{name:"createChangeProperty"}}}})),Vo("if: $data.operand().reverse",(function(e,t){return{if:function(){return e.$data.operand().reverse}}})),Vo("template: {name: $data.operand().templateName, data: $data.operand() }",(function(e,t){return{template:function(){return{name:e.$data.operand().templateName,data:e.$data.operand()}}}})),Vo("ifnot: $data.operand().reverse",(function(e,t){return{ifnot:function(){return e.$data.operand().reverse}}})),Vo("with: operand",(function(e,t){return{with:function(){return e.$data.operand}}})),Vo("visible: isEditable",(function(e,t){return{visible:function(){return e.$data.isEditable}}})),Vo("dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }",(function(e,t){return{dxTextBox:function(){return e.$data.getStringEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}})),Vo("focus: isEditable, dxLocalizedSelectBox: getBoolEditorOptions($element, $root)",(function(e,t){return{focus:function(){return e.$data.isEditable},dxLocalizedSelectBox:function(){return e.$data.getBoolEditorOptions(t,e.$root)}}})),Vo("focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)",(function(e,t){return{focus:function(){return e.$data.isEditable},dxDateBox:function(){return e.$data.getDateEditorOptions(t,e.$root)}}})),Vo("dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }",(function(e,t){return{dxTextBox:function(){return e.$data.getNumberEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}})),Vo("focus: isEditable, dxSelectBox: getListEditOptions($element, $root)",(function(e,t){return{focus:function(){return e.$data.isEditable},dxSelectBox:function(){return e.$data.getListEditOptions(t,e.$root)}}})),Vo("visible: !isEditable()",(function(e,t){return{visible:function(){return!e.$data.isEditable()}}})),Vo("text: value, click: function() { isEditable(true); }, css: { 'default': $data.isDefaultDisplay() }",(function(e,t){return{text:function(){return e.$data.value},click:function(){return function(){e.$data.isEditable(!0)}},css:function(){return{default:e.$data.isDefaultDisplay()}}}})),Vo("if: $data.items.length === 0",(function(e,t){return{if:function(){return 0===e.$data.items.length}}})),Vo('if: $data.specifics() === "string" || $data.specifics() === "guid"',(function(e,t){return{if:function(){return"string"===e.$data.specifics()||"guid"===e.$data.specifics()}}})),Vo('if: $data.specifics() === "bool"',(function(e,t){return{if:function(){return"bool"===e.$data.specifics()}}})),Vo('if: $data.specifics() === "date"',(function(e,t){return{if:function(){return"date"===e.$data.specifics()}}})),Vo('if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid"',(function(e,t){return{if:function(){return"string"!==e.$data.specifics()&&"bool"!==e.$data.specifics()&&"date"!==e.$data.specifics()&&"guid"!==e.$data.specifics()}}})),Vo("if: $data.items.length > 0",(function(e,t){return{if:function(){return e.$data.items.length>0}}})),Vo("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, title: options() && options().title(), visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }",(function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-filtereditor dx-popup-general"},resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()},width:700,height:500,maxHeight:"95%",maxWidth:"95%",minHeight:300,minWidth:400,title:e.$data.options()&&e.$data.options().title(),visible:e.$data.popupVisible,onShown:function(){e.$data.focusText()},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)}}}}})),Vo("dxclick: showPopup",(function(e,t){return{dxclick:function(){return e.$data.showPopup}}})),Vo("text: target.displayType, dxclick: showPopup, css: target.css",(function(e,t){return{text:function(){return e.$data.target.displayType},dxclick:function(){return e.$data.showPopup},css:function(){return e.$data.target.css}}})),Vo("text: target.parameterName(), dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",(function(e,t){return{text:function(){return e.$data.target.parameterName()},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}})),Vo("text: target.displayName, dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",(function(e,t){return{text:function(){return e.$data.target.displayName},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}})),Vo("template: 'dxrd-svg-filtereditor-edit'",(function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}})),Vo("dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",(function(e,t){return{dxPopupWithAutoHeight:function(){return{minWidth:"170px",maxWidth:"500px",width:"auto",height:"300px",wrapperAttr:{class:"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay"},focusStateEnabled:!1,position:e.$data.rtl?{my:"right top",at:"right bottom",of:e.$data.popupService.target}:{my:"left top",at:"left bottom",of:e.$data.popupService.target},container:e.$data.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}})),Vo("dxTextBox: { placeholder: searchPlaceholder(), value: ($data.value || $data.filterString), height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }",(function(e,t){return{dxTextBox:function(){return{placeholder:e.$data.searchPlaceholder(),value:e.$data.value||e.$data.filterString,height:"100%",width:"100%",stylingMode:"underlined",valueChangeEvent:"keyup"}}}})),Vo("template: { name: 'dx-filtereditor-search-panel', data: $data }",(function(e,t){return{template:function(){return{name:"dx-filtereditor-search-panel",data:e.$data}}}})),Vo("dxScrollView: { showScrollbar: 'onHover' }, css: { 'dx-filtereditor-filtered': isFiltered }",(function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},css:function(){return{"dx-filtereditor-filtered":e.$data.isFiltered}}}})),Vo("text: $data.displayText || $data.name, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",(function(e,t){return{text:function(){return e.$data.displayText||e.$data.name},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}})),Vo("searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.filterString }, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",(function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayText||e.$data.name,textToSearch:e.$parent.filterString}},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}})),Vo("treeListSearchPanel: { controllers: data().treeListController, template: 'dx-filtereditor-search-panel' }",(function(e,t){return{treeListSearchPanel:function(){return{controllers:e.$data.data().treeListController,template:"dx-filtereditor-search-panel"}}}})),Vo("treelist: data",(function(e,t){return{treelist:function(){return e.$data.data}}})),Vo("with: popupService",(function(e,t){return{with:function(){return e.$data.popupService}}})),Vo("with: data",(function(e,t){return{with:function(){return e.$data.data}}})),Vo("template: template",(function(e,t){return{template:function(){return e.$data.template}}})),Vo("if: $data.isFiltered",(function(e,t){return{if:function(){return e.$data.isFiltered}}})),Vo("foreach: data",(function(e,t){return{foreach:function(){return e.$data.data}}})),Vo("if: !$data.hidden",(function(e,t){return{if:function(){return!e.$data.hidden}}})),Vo("ifnot: $parent.isFiltered",(function(e,t){return{ifnot:function(){return e.$parent.isFiltered}}})),Vo("if: $parent.isFiltered",(function(e,t){return{if:function(){return e.$parent.isFiltered}}})),Vo("dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: 'single', activeStateEnabled: false }",(function(e,t){return{dxList:function(){return{items:e.$data.items,selectedItems:e.$data.selectedItems,onItemClick:e.$data.action,selectionMode:"single",activeStateEnabled:!1}}}})),Vo("click: $parent.removeItem, visible: $data.canRemove",(function(e,t){return{click:function(){return e.$parent.removeItem},visible:function(){return e.$data.canRemove}}})),Vo("text: $data.displayName",(function(e,t){return{text:function(){return e.$data.displayName}}})),Vo("text: getDisplayText('types')",(function(e,t){return{text:function(){return e.$data.getDisplayText("types")}}})),Vo("dxButton:{ onClick: addCustomFormat, text: getDisplayText('add'), disabled: !canAddCustomFormat() }",(function(e,t){return{dxButton:function(){return{onClick:e.$data.addCustomFormat,text:e.$data.getDisplayText("add"),disabled:!e.$data.canAddCustomFormat()}}}})),Vo("dxTextBox: { value: formatResult, onInput: function(e) { updateInputText('formatResult', e.component); } }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.formatResult,onInput:function(t){e.$data.updateInputText("formatResult",t.component)}}}}})),Vo("text: getDisplayText('prefix')",(function(e,t){return{text:function(){return e.$data.getDisplayText("prefix")}}})),Vo("dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText('formatPrefix', e.component); } }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.formatPrefix,onInput:function(t){e.$data.updateInputText("formatPrefix",t.component)}}}}})),Vo("text: getDisplayText('suffix')",(function(e,t){return{text:function(){return e.$data.getDisplayText("suffix")}}})),Vo("dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText('formatSuffix', e.component); } }",(function(e,t){return{dxTextBox:function(){return{value:e.$data.formatSuffix,onInput:function(t){e.$data.updateInputText("formatSuffix",t.component)}}}}})),Vo("template: { name: 'dx-format-string-list', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } }",(function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.patternList,action:e.$data.setFormat,removeItem:e.$data.removeCustomFormat,selectedItems:e.$data.selectedFormats}}}}})),Vo("dxEllipsisEditor: { value: value, disabled: disabled, buttonAction: function() { popupVisible(true); } }",(function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled,buttonAction:function(){e.$data.popupVisible(!0)}}}}})),Vo("dxPopup: { wrapperAttr: { class: 'dx-format-string dx-popup-general' }, showTitle: true, width: '95%', height: '95%', minWidth: 650, title: getDisplayText('title'), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }",(function(e,t){return{dxPopup:function(){return{wrapperAttr:{class:"dx-format-string dx-popup-general"},showTitle:!0,width:"95%",height:"95%",minWidth:650,title:e.$data.getDisplayText("title"),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)}}}}})),Vo("text: getDisplayText('category')",(function(e,t){return{text:function(){return e.$data.getDisplayText("category")}}})),Vo("css: { 'dx-format-general': isGeneralType }",(function(e,t){return{css:function(){return{"dx-format-general":e.$data.isGeneralType}}}})),Vo("text: getDisplayText('preview')",(function(e,t){return{text:function(){return e.$data.getDisplayText("preview")}}})),Vo("text: previewString",(function(e,t){return{text:function(){return e.$data.previewString}}})),Vo("template: { name: 'dx-format-string-list', data: { items: types, action: setType, selectedItems: selectedTypes } }",(function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.types,action:e.$data.setType,selectedItems:e.$data.selectedTypes}}}}})),Vo("if: !isGeneralType",(function(e,t){return{if:function(){return!e.$data.isGeneralType}}})),Vo("template: 'dx-format-string-edit-area'",(function(e,t){return{template:function(){return"dx-format-string-edit-area"}}})),Vo("if: isGeneralType",(function(e,t){return{if:function(){return e.$data.isGeneralType}}})),Vo("template: 'dx-format-string-edit-area-general'",(function(e,t){return{template:function(){return"dx-format-string-edit-area-general"}}})),Vo("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 }",(function(e,t){return{dxButtonWithTemplate:function(){return{onClick:function(){e.$data.clickAction(e.$parent)},icon:e.ko.unwrap(e.$data.imageTemplateName),iconClass:e.$data.imageClassName,visible:null==e.ko.unwrap(e.$data.visible)||e.ko.unwrap(e.$data.visible),disabled:e.$data.disabled&&e.$data.disabled()}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}})),Vo("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: $parent.reverseCollapsed }, visible: $parent.hasContent, attr: { title: $data.displayText() }",(function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",onClick:e.$parent.reverseCollapsed}},visible:function(){return e.$parent.hasContent},attr:function(){return{title:e.$data.displayText()}}}})),Vo("template: { name: 'dx-treelist-edit-action', data: treeListEditAction }",(function(e,t){return{template:function(){return{name:"dx-treelist-edit-action",data:e.$data.treeListEditAction}}}})),Vo("template: 'dx-treelist-item-actions'",(function(e,t){return{template:function(){return"dx-treelist-item-actions"}}})),Vo("styleunit: padding, click: events.click",(function(e,t){return{styleunit:function(){return e.$data.padding},click:function(){return e.$data.events.click}}})),Vo("dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }",(function(e,t){return{dxdAccordionExt:function(){return{collapsed:e.$data.collapsed,lazyContentRendering:!0,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}})),Vo("visible: isSelected || isHovered",(function(e,t){return{visible:function(){return e.$data.isSelected||e.$data.isHovered}}})),Vo("event: events, styleunit: padding, css: cssRules, attr: attr",(function(e,t){return{event:function(){return e.$data.events},styleunit:function(){return e.$data.padding},css:function(){return e.$data.cssRules},attr:function(){return e.$data.attr}}})),Vo("style: { 'padding-left': hasItems ? '0px': '18px' }",(function(e,t){return{style:function(){return{"padding-left":e.$data.hasItems?"0px":"18px"}}}})),Vo("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null, draggable: dragDropHandler",(function(e,t){return{click:function(){return function(t,i){e.$root.hideContextMenu&&e.$root.hideContextMenu(),e.$data.toggleSelected(t,i)}},event:function(){return e.$root.ContextMenusEnabled&&e.$root.ContextMenusEnabled()?{contextmenu:e.$data.toggleSelected}:null},draggable:function(){return e.$data.dragDropHandler}}})),Vo("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null",(function(e,t){return{click:function(){return function(t,i){e.$root.hideContextMenu&&e.$root.hideContextMenu(),e.$data.toggleSelected(t,i)}},event:function(){return e.$root.ContextMenusEnabled&&e.$root.ContextMenusEnabled()?{contextmenu:e.$data.toggleSelected}:null}}})),Vo("searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }",(function(e,t){return{searchHighlighting:function(){return{text:e.$data.text,textToSearch:e.$data.searchModel.textToSearch,searchOptions:e.$data.searchModel.searchOptions}},attr:function(){return{title:e.$data.text}}}})),Vo("css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }",(function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.text}}}})),Vo("if: searchModel.searchEnabled",(function(e,t){return{if:function(){return e.$data.searchModel.searchEnabled}}})),Vo("ifnot: searchModel.searchEnabled",(function(e,t){return{ifnot:function(){return e.$data.searchModel.searchEnabled}}})),Vo("if: hasContent",(function(e,t){return{if:function(){return e.$data.hasContent}}})),Vo("template: templates.accordionItem",(function(e,t){return{template:function(){return e.$data.templates.accordionItem}}})),Vo("ifnot: hasContent",(function(e,t){return{ifnot:function(){return e.$data.hasContent}}})),Vo("template: templates.headerItem",(function(e,t){return{template:function(){return e.$data.templates.headerItem}}})),Vo("template: { name: contenttemplate }",(function(e,t){return{template:function(){return{name:e.$data.contenttemplate}}}})),Vo("template: actionsTemplate",(function(e,t){return{template:function(){return e.$data.actionsTemplate}}})),Vo("if: actions && actions.length > 0",(function(e,t){return{if:function(){return e.$data.actions&&e.$data.actions.length>0}}})),Vo("template: templates.actionsContainer",(function(e,t){return{template:function(){return e.$data.templates.actionsContainer}}})),Vo("if: isDraggable",(function(e,t){return{if:function(){return e.$data.isDraggable}}})),Vo("template: templates.headerItemContent",(function(e,t){return{template:function(){return e.$data.templates.headerItemContent}}})),Vo("ifnot: isDraggable",(function(e,t){return{ifnot:function(){return e.$data.isDraggable}}})),Vo("template: templates.itemTextContent",(function(e,t){return{template:function(){return e.$data.templates.itemTextContent}}})),Vo("event: events, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected dxd-back-secondary': isSelected || isMultiSelected }",(function(e,t){return{event:function(){return e.$data.events},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected dxd-back-secondary":e.$data.isSelected||e.$data.isMultiSelected}}}})),Vo("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed, style: { 'visibility': hasItems ? 'visible' : 'hidden' }",(function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed},style:function(){return{visibility:e.$data.hasItems?"visible":"hidden"}}}})),Vo("click: toggleSelected, draggable: isDraggable ? dragDropHandler : null",(function(e,t){return{click:function(){return e.$data.toggleSelected},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null}}})),Vo('template: "dx-treelist-accordion-item-with-hover"',(function(e,t){return{template:function(){return"dx-treelist-accordion-item-with-hover"}}})),Vo('template: "dx-treelist-header-item-with-hover"',(function(e,t){return{template:function(){return"dx-treelist-header-item-with-hover"}}})),Vo("dxTextBox: { mode: 'search', value:value, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}",(function(e,t){return{dxTextBox:function(){return{mode:"search",value:e.$data.value,valueChangeEvent:"keyup",showClearButton:!0,placeholder:e.$data.searchPlaceholder()}}}})),Vo("lazy: { resolver: resolver, innerBindings: { template: templateName } }",(function(e,t){return{lazy:function(){return{resolver:e.$data.resolver,innerBindings:{template:e.$data.templateName}}}}})),Vo("if: !collapsed",(function(e,t){return{if:function(){return!e.$data.collapsed}}})),Vo("template: { name: 'dx-treelist' }",(function(e,t){return{template:function(){return{name:"dx-treelist"}}}})),Vo("template: 'dxrd-svg-collapsed'",(function(e,t){return{template:function(){return"dxrd-svg-collapsed"}}})),Vo("template: 'dxrd-svg-ellipsis'",(function(e,t){return{template:function(){return"dxrd-svg-ellipsis"}}})),Vo("template: 'dxrd-svg-error'",(function(e,t){return{template:function(){return"dxrd-svg-error"}}})),Vo("template: 'dxrd-svg-expressioneditor-addition'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-addition"}}})),Vo("template: 'dxrd-svg-expressioneditor-and'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-and"}}})),Vo("template: 'dxrd-svg-expressioneditor-division'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-division"}}})),Vo("template: 'dxrd-svg-expressioneditor-edit'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-edit"}}})),Vo("template: 'dxrd-svg-expressioneditor-equal'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-equal"}}})),Vo("template: 'dxrd-svg-expressioneditor-greater'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater"}}})),Vo("template: 'dxrd-svg-expressioneditor-greater_or_equal'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater_or_equal"}}})),Vo("template: 'dxrd-svg-expressioneditor-less'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less"}}})),Vo("template: 'dxrd-svg-expressioneditor-less_or_equal'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less_or_equal"}}})),Vo("template: 'dxrd-svg-expressioneditor-modulus'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-modulus"}}})),Vo("template: 'dxrd-svg-expressioneditor-multiplication'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-multiplication"}}})),Vo("template: 'dxrd-svg-expressioneditor-not'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not"}}})),Vo("template: 'dxrd-svg-expressioneditor-not_equal'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not_equal"}}})),Vo("template: 'dxrd-svg-expressioneditor-or'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-or"}}})),Vo("template: 'dxrd-svg-expressioneditor-parenthesis'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-parenthesis"}}})),Vo("template: 'dxrd-svg-expressioneditor-subtraction'",(function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-subtraction"}}})),Vo("template: 'dxrd-svg-fieldlist-array'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-array"}}})),Vo("template: 'dxrd-svg-fieldlist-bitearray'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bitearray"}}})),Vo("template: 'dxrd-svg-fieldlist-bool'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bool"}}})),Vo("template: 'dxrd-svg-fieldlist-booleanfield'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-booleanfield"}}})),Vo("template: 'dxrd-svg-fieldlist-column'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-column"}}})),Vo("template: 'dxrd-svg-fieldlist-datasource'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datasource"}}})),Vo("template: 'dxrd-svg-fieldlist-date'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-date"}}})),Vo("template: 'dxrd-svg-fieldlist-datetimefield'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimefield"}}})),Vo("template: 'dxrd-svg-fieldlist-doublefield'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-doublefield"}}})),Vo("template: 'dxrd-svg-fieldlist-enum'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-enum"}}})),Vo("template: 'dxrd-svg-fieldlist-float'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-float"}}})),Vo("template: 'dxrd-svg-fieldlist-guid'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-guid"}}})),Vo("template: 'dxrd-svg-fieldlist-integer'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integer"}}})),Vo("template: 'dxrd-svg-fieldlist-integerfield'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integerfield"}}})),Vo("template: 'dxrd-svg-fieldlist-listsource'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-listsource"}}})),Vo("template: 'dxrd-svg-fieldlist-none'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-none"}}})),Vo("template: 'dxrd-svg-fieldlist-parameters'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-parameters"}}})),Vo("template: 'dxrd-svg-fieldlist-range'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-range"}}})),Vo("template: 'dxrd-svg-fieldlist-string'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-string"}}})),Vo("template: 'dxrd-svg-fieldlist-stringfield'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-stringfield"}}})),Vo("template: 'dxrd-svg-fieldlist-table'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-table"}}})),Vo("template: 'dxrd-svg-fieldlist-view'",(function(e,t){return{template:function(){return"dxrd-svg-fieldlist-view"}}})),Vo("template: 'dxrd-svg-filtereditor-add'",(function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}})),Vo("template: 'dxrd-svg-filtereditor-edit'",(function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}})),Vo("template: 'dxrd-svg-filtereditor-remove'",(function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}})),Vo("template: 'dxrd-svg-fontstyle-bold'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}})),Vo("template: 'dxrd-svg-fontstyle-italic'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}})),Vo("template: 'dxrd-svg-fontstyle-strikeout'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}})),Vo("template: 'dxrd-svg-fontstyle-underline'",(function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}})),Vo("template: 'dxrd-svg-menu-menu'",(function(e,t){return{template:function(){return"dxrd-svg-menu-menu"}}})),Vo("template: 'dxrd-svg-menu-open'",(function(e,t){return{template:function(){return"dxrd-svg-menu-open"}}})),Vo("template: 'dxrd-svg-menu-save'",(function(e,t){return{template:function(){return"dxrd-svg-menu-save"}}})),Vo("template: 'dxrd-svg-menu-saveas'",(function(e,t){return{template:function(){return"dxrd-svg-menu-saveas"}}})),Vo("template: 'dxrd-svg-operations-add'",(function(e,t){return{template:function(){return"dxrd-svg-operations-add"}}})),Vo("template: 'dxrd-svg-operations-add_calcfield'",(function(e,t){return{template:function(){return"dxrd-svg-operations-add_calcfield"}}})),Vo("template: 'dxrd-svg-operations-add_datasource'",(function(e,t){return{template:function(){return"dxrd-svg-operations-add_datasource"}}})),Vo("template: 'dxrd-svg-operations-add_query'",(function(e,t){return{template:function(){return"dxrd-svg-operations-add_query"}}})),Vo("template: 'dxrd-svg-operations-arrowdown'",(function(e,t){return{template:function(){return"dxrd-svg-operations-arrowdown"}}})),Vo("template: 'dxrd-svg-operations-arrowup'",(function(e,t){return{template:function(){return"dxrd-svg-operations-arrowup"}}})),Vo("template: 'dxrd-svg-operations-ascending'",(function(e,t){return{template:function(){return"dxrd-svg-operations-ascending"}}})),Vo("template: 'dxrd-svg-operations-descending'",(function(e,t){return{template:function(){return"dxrd-svg-operations-descending"}}})),Vo("template: 'dxrd-svg-operations-edit'",(function(e,t){return{template:function(){return"dxrd-svg-operations-edit"}}})),Vo("template: 'dxrd-svg-operations-movedown'",(function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}})),Vo("template: 'dxrd-svg-operations-moveleft'",(function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft"}}})),Vo("template: 'dxrd-svg-operations-moveleft_all'",(function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft_all"}}})),Vo("template: 'dxrd-svg-operations-moveright'",(function(e,t){return{template:function(){return"dxrd-svg-operations-moveright"}}})),Vo("template: 'dxrd-svg-operations-moveright_all'",(function(e,t){return{template:function(){return"dxrd-svg-operations-moveright_all"}}})),Vo("template: 'dxrd-svg-operations-moveup'",(function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}})),Vo("template: 'dxrd-svg-operations-rebuild_schema'",(function(e,t){return{template:function(){return"dxrd-svg-operations-rebuild_schema"}}})),Vo("template: 'dxrd-svg-operations-recycle_bin'",(function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}})),Vo("template: 'dxrd-svg-operations-recycle_bin_xl'",(function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin_xl"}}})),Vo("template: 'dxrd-svg-operations-remove'",(function(e,t){return{template:function(){return"dxrd-svg-operations-remove"}}})),Vo("template: 'dxrd-svg-operations-rename'",(function(e,t){return{template:function(){return"dxrd-svg-operations-rename"}}})),Vo("template: 'dxrd-svg-operations-unsorted'",(function(e,t){return{template:function(){return"dxrd-svg-operations-unsorted"}}})),Vo("template: 'dxrd-svg-properties-borders-all'",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"}}})),Vo("template: 'dxrd-svg-properties-borders-bottom'",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"}}})),Vo("template: 'dxrd-svg-properties-borders-left'",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"}}})),Vo("template: 'dxrd-svg-properties-borders-none'",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"}}})),Vo("template: 'dxrd-svg-properties-borders-right'",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"}}})),Vo("template: 'dxrd-svg-properties-borders-top'",(function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"}}})),Vo("template: 'dxrd-svg-properties-propertiesmenu'",(function(e,t){return{template:function(){return"dxrd-svg-properties-propertiesmenu"}}})),Vo("template: 'dxrd-svg-properties-propertyexpression'",(function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"}}})),Vo("template: 'dxrd-svg-properties-search'",(function(e,t){return{template:function(){return"dxrd-svg-properties-search"}}})),Vo("template: 'dxrd-svg-properties-sortingbyalphabet'",(function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbyalphabet"}}})),Vo("template: 'dxrd-svg-properties-sortingbygroups'",(function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbygroups"}}})),Vo("template: 'dxrd-svg-properties-tasksmarttag'",(function(e,t){return{template:function(){return"dxrd-svg-properties-tasksmarttag"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-bottom'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-center'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-justify'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-left'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-middle'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-right'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"}}})),Vo("template: 'dxrd-svg-properties-textAlignment-top'",(function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"}}})),Vo("template: 'dxrd-svg-queryBuilder-aggregate'",(function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-aggregate"}}})),Vo("template: 'dxrd-svg-queryBuilder-data_preview'",(function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-data_preview"}}})),Vo("template: 'dxrd-svg-queryBuilder-group_by'",(function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-group_by"}}})),Vo("template: 'dxrd-svg-queryBuilder-select_statment'",(function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-select_statment"}}})),Vo("template: 'dxrd-svg-queryBuilder-sorting_asc'",(function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_asc"}}})),Vo("template: 'dxrd-svg-queryBuilder-sorting_desc'",(function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_desc"}}})),Vo("template: 'dxrd-svg-tabs-description_info'",(function(e,t){return{template:function(){return"dxrd-svg-tabs-description_info"}}})),Vo("template: 'dxrd-svg-tabs-properties'",(function(e,t){return{template:function(){return"dxrd-svg-tabs-properties"}}})),Vo("template: 'dxrd-svg-toolbar-copy'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-copy"}}})),Vo("template: 'dxrd-svg-toolbar-cut'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-cut"}}})),Vo("template: 'dxrd-svg-toolbar-delete'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"}}})),Vo("template: 'dxrd-svg-toolbar-paste'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-paste"}}})),Vo("template: 'dxrd-svg-toolbar-redo'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-redo"}}})),Vo("template: 'dxrd-svg-toolbar-undo'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-undo"}}})),Vo("template: 'dxrd-svg-toolbar-validate'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-validate"}}})),Vo("template: 'dxrd-svg-toolbar-zoomin'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomin"}}})),Vo("template: 'dxrd-svg-toolbar-zoomout'",(function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomout"}}})),Vo("template: 'dxrd-svg-wizard-Download'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-Download"}}})),Vo("template: 'dxrd-svg-wizard-expressions'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-expressions"}}})),Vo("template: 'dxrd-svg-wizard-FederationDataSource'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-FederationDataSource"}}})),Vo("template: 'dxrd-svg-wizard-JsonDataSource'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-JsonDataSource"}}})),Vo("template: 'dxrd-svg-wizard-NoDataSource'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-NoDataSource"}}})),Vo("template: 'dxrd-svg-wizard-ObjectDataSource'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-ObjectDataSource"}}})),Vo("template: 'dxrd-svg-wizard-SqlDataSource'",(function(e,t){return{template:function(){return"dxrd-svg-wizard-SqlDataSource"}}})),it.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-error":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 64 64"><circle cx="32" cy="32" r="32" fill="#F05252"/><path fill="#FFF0F0" d="M18.733 22.27a2.502 2.502 0 013.538-3.537l22.996 22.996a2.502 2.502 0 01-3.538 3.538L18.733 22.271z"/><path fill="#FFF0F0" d="M41.73 18.733a2.502 2.502 0 013.537 3.538L22.271 45.267a2.502 2.502 0 01-3.538-3.538l22.996-22.996z"/></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-80" 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-80" 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-80" 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-80" 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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6L6 10.2 3.4 7.6 2 9l4 4 9-9z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6L6 10.2 3.4 7.6 2 9l4 4 9-9z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 6h14v4H1z"/><g class="dxd-opacity-50"><path class="dxd-icon-fill" d="M5 5H1V1h4v4zm5-4H6v4h4V1zm5 0h-4v4h4V1zM5 11H1v4h4v-4zm5 0H6v4h4v-4zm5 0h-4v4h4v-4z"/></g></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 16 16" xml:space="preserve"><g class="st1"><path class="dxd-icon-fill" d="M7.3 9V7H10V3c0-1.7-2-3-4.5-3S1 1.3 1 3v5c0 1.7 2 3 4.5 3 2 0 3.6-.8 4.2-2H7.3zm-4-6c0-.4.9-1 2.3-1s2.3.6 2.3 1-1 1-2.4 1-2.2-.6-2.2-1z"/></g><path class="dxd-icon-fill" d="M9.5 5C7 5 5 6.3 5 8v5c0 1.7 2 3 4.5 3s4.5-1.3 4.5-3V8c0-1.7-2-3-4.5-3zm0 4c-1.4 0-2.2-.6-2.2-1s.9-1 2.3-1 2.3.6 2.3 1-1 1-2.4 1z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm3-5v1H7V5h1v3h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm3-5v1H7V5h1v3h3z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></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" 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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4.1 4.6c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .6.1.7.3.2.2.3.4.3.7 0 .3-.1.6-.3.8-.1.1-.4.2-.7.2-.3 0-.5-.1-.7-.3zm-.1 1h1.7V12H4V5.6zM13 3v9h-1.6v-.7c-.4.6-1 .8-1.8.8-.5 0-1-.1-1.5-.4-.4-.3-.8-.7-1-1.2-.2-.5-.3-1.1-.3-1.7 0-.7.1-1.2.4-1.7.2-.5.6-.9 1-1.2.4-.3.9-.4 1.5-.4.7 0 1.3.3 1.7.8V3H13zm-2 7.1c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5-.4 0-.8.2-1 .5-.3.3-.4.7-.4 1.3 0 .5.1 1 .4 1.3.3.3.6.5 1 .5.4-.1.8-.2 1.1-.5z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 2C5.2 2 3 3.3 3 5v6c0 1.7 2.2 3 5 3s5-1.3 5-3V5c0-1.7-2.2-3-5-3zm0 4c-1.8 0-2.9-.8-3-1 .1-.2 1.2-1 3-1s2.9.8 3 1c-.1.2-1.2 1-3 1z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M9.4 8l3.3-3.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0L8 6.6 4.7 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4L6.6 8l-3.3 3.3c-.4.4-.4 1 0 1.4s1 .4 1.4 0L8 9.4l3.3 3.3c.4.4 1 .4 1.4 0s.4-1 0-1.4L9.4 8z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M7.2 8.3c.2-.3.5-.6.8-1l.7-.7c.1-.2.2-.4.2-.6 0-.3-.1-.6-.4-.8-.3-.2-.6-.3-1-.3s-.8.1-1.1.3c-.3.1-.6.3-.8.6L4 4.9c.4-.6.9-1.1 1.5-1.4.6-.3 1.3-.5 2.2-.5 1 0 1.8.2 2.4.7.6.4.9 1.1.9 1.9 0 .4-.1.7-.2 1-.1.3-.3.5-.4.7l-.7.7c-.3.3-.5.5-.7.8-.1.2-.2.4-.2.7h-2c.1-.5.2-.9.4-1.2zm-.3 4.3c-.2-.2-.4-.5-.4-.9s.1-.6.4-.9c.2-.2.5-.4.9-.4s.7.1.9.4c.2.2.4.5.4.9s-.1.7-.4.9c-.2.3-.5.4-.9.4-.3 0-.6-.1-.9-.4z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3 4v8h2v2H1V2h4v2H3zm10 0v8h-2v2h4V2h-4v2h2z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M14 1H2c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V2c0-.5-.5-1-1-1zM9 3v2H7V3h2zm0 4v2H7V7h2zM3 3h2v2H3V3zm0 4h2v2H3V7zm0 6v-2h2v2H3zm4 0v-2h2v2H7zm6 0h-2v-2h2v2zm0-4h-2V7h2v2zm0-4h-2V3h2v2z"/></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 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M14.7 13.3l-3.5-3.5C11.7 9 12 8 12 7c0-2.8-2.2-5-5-5S2 4.2 2 7s2.2 5 5 5c1 0 2-.3 2.8-.8l3.5 3.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM7 10c-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" 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" 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" 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" 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="M21 7H3V5h18v2zm0 4H3v2h18v-2zm0 6H3v2h18v-2z"/></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="M23 10h-4V7c0-.5-.5-1-1-1H9V4c0-.5-.5-1-1-1H2c-.5 0-1 .5-1 1v15c0 .5.5 1 1 1h17c.4 0 .7-.2.9-.6l4-8c.3-.6-.2-1.4-.9-1.4zM3 5h4v3h10v2H7.6c-.4 0-.7.2-.9.6L3 18V5z"/></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="M21 2H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V3c0-.5-.5-1-1-1zM8 4h4v4H8V4zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V4h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V4h2v16z"/></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 4H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zM8 6h4v4H8V6zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V6h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V6h2v16zm2.5-22c.8 0 1.5.7 1.5 1.5S23.3 3 22.5 3 21 2.3 21 1.5 21.7 0 22.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S19.3 3 18.5 3 17 2.3 17 1.5 17.7 0 18.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S15.3 3 14.5 3 13 2.3 13 1.5 13.7 0 14.5 0z"/></svg>',"dxrd-svg-operations-add":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v5H0v2h5v5h2V7h5V5H7V0z" fill="#000"/></svg>',"dxrd-svg-operations-add_calcfield":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M0 0h11v5H7v2H5v4H0V0zm3 4V1h2v1H4v2h1v1H4v3H2V7h1V5H2V4h1z"/><path class="dxd-icon-fill" d="M8 6h2v2h2v2h-2v2H8v-2H6V8h2V6z"/></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" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 0h11v2H0V0zm0 3h2v2H0V3zm5 0H3v2h2V3zm1 0h2v2H6V3zm5 0H9v2h2V3zM0 6h2v2H0V6zm5 0H3v2h2V6zM0 9h2v2H0V9zm5 0H3v2h2V9zm3-1V6h2v2h2v2h-2v2H8v-2H6V8h2z"/></svg>',"dxrd-svg-operations-arrowdown":'<svg data-bind="svgAttrs" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M.23.226a.75.75 0 011.058.02l3.704 3.927L8.696.245a.749.749 0 111.079 1.038L5.53 5.77a.749.749 0 01-1.078 0L.209 1.283A.748.748 0 01.23.226z" fill="#606060"/></svg>',"dxrd-svg-operations-arrowup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.77 5.774a.75.75 0 01-1.058-.02L5.008 1.828 1.304 5.755A.749.749 0 11.225 4.717L4.47.23a.749.749 0 011.078 0l4.244 4.488a.748.748 0 01-.02 1.057z" fill="#606060"/></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" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 12h2.667L0 9.333V12zm1.333-4L4 10.667l5.333-5.334-2.666-2.666L1.333 8zm8-8L8 1.333 10.667 4 12 2.667 9.333 0z"/></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-rebuild_schema":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.5 0L12 5h-1.5v2.36c0 2.489-2.382 4.285-4.775 3.601l.55-1.923A1.746 1.746 0 008.5 7.36V5H7l2.5-5zm-6 4.64V7H5l-2.5 5L0 7h1.5V4.64c0-2.489 2.382-4.285 4.775-3.602l-.55 1.924A1.746 1.746 0 003.5 4.64z"/></svg>',"dxrd-svg-operations-recycle_bin":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v2H1v1h10V2H7V0z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M2 4h8v7a1 1 0 01-1 1H3a1 1 0 01-1-1V4zm2 6h1V6H4v4zm3 0h1V6H7v4z"/></svg>',"dxrd-svg-operations-recycle_bin_xl":'<svg data-bind="svgAttrs" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm4-9v8H9v-8h1zm5 8v-8h-1v8h1z"/><path class="dxd-icon-fill" d="M19 4h-5V3h-4v1H5v2h14V4z"/></svg>',"dxrd-svg-operations-remove":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 5h12v2H0z"/></svg>',"dxrd-svg-operations-rename":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9 0h3v1h-1v10h1v1H9v-1h1V1H9V0z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M9 11H7l-.637-2.04H2.637L2 11H0L3.2 1h2.6L9 11zM5.75 7L4.5 3 3.25 7h2.5z"/></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" 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" 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" 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" 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" 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" d="M20 6h2v4h-2zM6 20h4v2H6zM20 12h2v4h-2zM4 20H2v-2H0v4h4zM12 20h4v2h-4zM2 4V2h18v2h2V0H0v4zM20 18v2h-2v2h4v-4zM0 12h2v4H0zM0 6h2v4H0z"/></svg>',"dxrd-svg-properties-propertiesmenu":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxd-icon-fill" d="M24 8h2V3c0-.5-.5-1-1-1H3c-.5 0-1 .5-1 1v5h22zM22 12H12v-2h10v2zm0 4v-2H12v2h10zM6 20h4v-2H6v2zm10-2h-4v2h4v-2zM6 16h4v-2H6v2zm0-4h4v-2H6v2zM32 25v-2l-2.5-.6c-.1-.4-.3-.8-.5-1.2l1.5-2.1-1.6-1.6-2.1 1.5c-.4-.2-.8-.4-1.2-.5L25 16h-2l-.6 2.5c-.4.1-.8.3-1.2.5l-2-1.5-1.7 1.7 1.5 2c-.2.4-.4.8-.5 1.2L16 23v2l2.5.6c.1.4.3.8.5 1.2l-1.5 2.1 1.6 1.6 2.1-1.5c.4.2.8.4 1.2.5L23 32h2l.6-2.5c.4-.1.8-.3 1.2-.5l2.1 1.5 1.6-1.6-1.5-2.1c.2-.4.4-.8.5-1.2L32 25zm-8 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-propertyexpression":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 12 12" xml:space="preserve"><path class="dxd-icon-fill" d="M4.8 6h-2l.4-2h1.9l.3-1.5c.1-.7.5-1.9 2.5-2.3C9 .1 10.2 0 11 0l-.5 2c-.2 0-1.1 0-1.9.2-.5 0-.6.3-.7.7L7.7 4H10l-.4 2H7.3l-.7 3.5c-.1.7-.5 1.9-2.5 2.3-1.1.1-2.3.2-3.1.2l.5-2c.2 0 1.1 0 1.9-.2.5-.1.6-.4.7-.7L4.8 6z" id="Background"/></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-properties-tasksmarttag":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="dxd-icon-fill" d="M14.6 6.9l-1.8-.3c-.1-.4-.3-.8-.5-1.1l1.1-1.4c.2-.2.1-.5-.1-.6l-.8-.8c-.2-.2-.5-.2-.7-.1l-1.4 1.1c-.4-.2-.7-.4-1.2-.5l-.1-1.8C9 1.2 8.8 1 8.6 1H7.4c-.2 0-.4.2-.5.4l-.2 1.8c-.4.1-.8.3-1.2.5L4.1 2.6c-.2-.1-.5-.1-.6.1l-.8.8c-.2.1-.2.4-.1.6l1.1 1.4c-.2.4-.4.8-.5 1.2l-1.8.2c-.2.1-.4.3-.4.5v1.1c0 .3.2.5.4.5l1.8.3c.1.4.3.8.5 1.1l-1.1 1.5c-.2.2-.1.5.1.6l.8.8c.2.2.5.2.7 0l1.4-1.1c.4.2.7.4 1.2.5l.3 1.8c-.1.3.1.5.3.5h1.1c.3 0 .5-.2.5-.4l.3-1.8c.4-.1.8-.3 1.2-.5l1.4 1.1c.2.1.5.1.7 0l.8-.8c.2-.2.2-.5.1-.6l-1.1-1.4c.2-.4.4-.7.5-1.1l1.8-.3c.1-.2.3-.4.3-.6V7.4c0-.2-.2-.4-.4-.5zM8 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-textAlignment-bottom":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 18H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-center":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-4 2H8v2h16v-2zm4 4H4v2h24v-2zm0 8H4v2h24v-2zm-4-4H8v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-justify":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-left":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-8 2H4v2h16v-2zm8 4H4v2h24v-2zm0 8H4v2h24v-2zm-8-4H4v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-middle":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 12H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-right":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H12v2h16v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H12v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-top":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path class="dxrd-svg-black" d="M28 6H4V4h24v2zm0 2H4v2h24V8zm0 4H4v2h24v-2z"/></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-description_info":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" class="dxd-description_info-icon dxd-icon-highlighted" width="18" height="18" fill="none"><circle class="dxd-description_info-icon-fill dxd-icon-fill" cx="9" cy="9" r="9"/><path class="dxd-description_info-icon-path-fill" d="M7.573 14l1.182-7.09h1.67L9.246 14H7.572zm2.262-8.107a.893.893 0 01-.665-.267.78.78 0 01-.23-.642.94.94 0 01.336-.642c.207-.178.442-.267.707-.267.268 0 .487.089.66.267a.78.78 0 01.23.642.916.916 0 01-.336.642 1.032 1.032 0 01-.702.267z"/></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"><path class="dxd-icon-fill" d="M21.6 10.4l-2.6-.3c-.2 0-.3-.2-.4-.3-.1-.3-.2-.6-.3-.8-.1-.2-.1-.4 0-.5l1.5-2.1c.1-.2.1-.5 0-.7l-1.5-1.5c-.2-.2-.5-.2-.7 0l-2.1 1.5c-.2.1-.4.1-.5 0-.3-.1-.5-.2-.8-.3-.1-.1-.2-.2-.3-.4l-.4-2.5c0-.2-.2-.4-.5-.4h-2.1c-.2 0-.5.2-.5.4L10.1 5c0 .2-.2.3-.3.4l-.9.3c-.2.1-.4.1-.5 0L6.3 4.1c-.2-.1-.4-.1-.6.1L4.2 5.7c-.2.2-.2.4-.1.6l1.5 2.1c.1.2.1.4 0 .5 0 .3-.1.6-.2.8-.1.2-.2.3-.4.4l-2.5.4c-.2 0-.4.2-.4.5v2.1c0 .2.2.5.4.5l2.5.3c.2 0 .3.2.4.3.1.3.2.6.3.8.1.2.1.4 0 .5l-1.5 2.1c-.1.2-.1.5 0 .7l1.5 1.5c.2.2.5.2.7 0l2.1-1.5c.2-.1.4-.1.5 0 .3.1.5.2.8.3.2.1.3.2.3.4.1.6.3 1.9.4 2.6 0 .2.2.4.5.4h2.1c.2 0 .5-.2.5-.4l.4-2.5c0-.2.2-.3.3-.4.3-.1.6-.2.8-.3.2-.1.4-.1.5 0l2.1 1.5c.2.1.5.1.7 0l1.5-1.5c.2-.2.2-.5 0-.7l-1.5-2.1c-.1-.2-.1-.4 0-.5.1-.3.2-.5.3-.8.1-.2.2-.3.4-.3l2.5-.4c.2 0 .4-.2.4-.5V11c0-.3-.2-.5-.4-.6zM12 17c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm2-5c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"/></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="M4 14h2v2H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h12c.5 0 1 .5 1 1v3h-2V4H4v10zm18-5v12c0 .5-.5 1-1 1H9c-.5 0-1-.5-1-1V9c0-.5.5-1 1-1h12c.5 0 1 .5 1 1zm-2 1H10v10h10V10z"/></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="M20.4 5.6l-5 5-2-2 6.4-6.4c.4-.4 1.2-.1 1.2.5v1.5c0 .5-.2 1-.6 1.4zM22 17.5c.3 2.6-1.9 4.9-4.5 4.5-1.6-.2-2.9-1.4-3.3-3-.2-.9-.1-1.8.2-2.6L12 14l-2.4 2.4c.4.7.5 1.6.3 2.6-.4 1.6-1.7 2.8-3.3 3-2.6.3-4.9-1.9-4.5-4.5.2-1.6 1.4-2.9 3-3.3.9-.3 1.8-.2 2.5.2L10 12 3.6 5.6c-.4-.4-.6-.9-.6-1.4V2.7c0-.6.8-.9 1.2-.5l12.1 12.1c.8-.3 1.7-.5 2.6-.2 1.6.4 2.9 1.8 3.1 3.4zM8 18c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm12 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 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="M13.4 12l5.3-5.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L12 10.6 6.7 5.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l5.3 5.3-5.3 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0l5.3-5.3 5.3 5.3c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4L13.4 12z"/></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="M21 8H9c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V9c0-.5-.5-1-1-1zm-1 12H10V10h10v10zM15 2v3H7V2h2V1c0-.6.4-1 1-1h2c.6 0 1 .4 1 1v1h2zm3 4h2V3c0-.5-.5-1-1-1h-3v2h2v2zM6 20H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h3v2H4v14h2v2z"/></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="M10 7c2.2 0 4.3.8 5.7 2.3l3.3 3.3V8c0-.6.4-1 1-1s1 .4 1 1v8h-8c-.6 0-1-.4-1-1s.4-1 1-1h4.6l-3.3-3.3C13.2 9.6 11.7 9 10 9c-3.3 0-6 2.7-6 6 0 .6-.4 1-1 1s-1-.4-1-1c0-4.4 3.6-8 8-8z"/></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="M14 7c-2.2 0-4.3.8-5.7 2.3L5 12.6V8c0-.6-.4-1-1-1s-1 .4-1 1v8h8c.6 0 1-.4 1-1s-.4-1-1-1H6.4l3.3-3.3C10.8 9.6 12.3 9 14 9c3.3 0 6 2.7 6 6 0 .6.4 1 1 1s1-.4 1-1c0-4.4-3.6-8-8-8z"/></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 id="ZoomIn" class="dxd-icon-fill" d="M19 11h-6V5c0-.5-.5-1-1-1s-1 .5-1 1v6H5c-.5 0-1 .5-1 1s.5 1 1 1h6v6c0 .5.5 1 1 1s1-.5 1-1v-6h6c.5 0 1-.5 1-1s-.5-1-1-1z"/></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 id="ZoomOut" class="dxd-icon-fill" d="M19 13H5c-.5 0-1-.4-1-1 0-.5.4-1 1-1h14c.5 0 1 .4 1 1s-.4 1-1 1z"/></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-FederationDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="32" cy="11" rx="21" ry="5"/></g><path class="dxrd-svg-blue" d="M63 44H51V32h-6v12H33v6h12v12h6V50h12z"/><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M65 55c-3.6 0-7-.2-10-.6V66H44v18c0 2.8 9.4 5 21 5s21-2.2 21-5V50c0 2.8-9.4 5-21 5z"/></g><g class="dxrd-svg-st1"><path class="dxrd-svg-black" d="M67 43v10c10.7-.2 19-2.4 19-5s-8.3-4.7-19-5z"/></g><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M32 18c-11.6 0-21-2.2-21-5v34c0 2.5 8.9 4.6 19 5V41h12V29h11V13c0 2.8-9.4 5-21 5z"/></g><path class="dxrd-svg-blue" d="M65 43H53V31h-9v12H32v9h12v12h9V52h12z"/></svg>',"dxrd-svg-wizard-JsonDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-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"/></svg>',"dxrd-svg-wizard-NoDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="20.5" rx="26" ry="7.5"/></g><circle class="dxrd-svg-red" cx="66" cy="68" r="20"/><path class="dxrd-svg-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"/></svg>',"dxrd-svg-wizard-ObjectDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-blue" d="M82 41H66v7H48v13H36v26h26V75h13V57h7V41zm-9 32H62V61H50V50h16v7h7v16z"/></svg>',"dxrd-svg-wizard-SqlDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><g class="dxrd-svg-st2"><path class="dxrd-svg-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="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g></svg>'}),it.addTemplates({"dxrd-bordereditor":"<div class=\"dxrd-bordereditor-content\"> \x3c!-- ko with: value--\x3e <div class=\"dxrd-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=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all dxrd-bordereditor-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=\"dxrd-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=\"dxrd-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=\"dxrd-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=\"dxrd-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> <p></p> \x3c!-- /ko --\x3e</div>","dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value, disabled: disabled }"></div>',"dxrd-colorpicker":"<div data-bind=\"dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), 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 } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }\"></div>","dxrd-expressionstring":'\x3c!-- ko if: 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, getPath: getPath, getDataMember: getDataMember } --\x3e \x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, onValueChanged: onValueChanged, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-filterstring":'\x3c!-- ko if: 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: 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, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }\"></div>","dxrd-emptyHeader":"","dxrd-objectEditorContent":"\x3c!-- ko if: $data.visible() && editorCreated --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-commonCollectionItem":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></div>","dxrd-textalignment":'<div class="dxrd-textalignment-editor" data-bind="dxTextAlignmentEditor: { value: value, disabled: 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="css: { \'dxrd-context-menu-container\': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"></div> \x3c!-- /ko --\x3e',"dxrd-designer":'<div tabindex="-1" data-bind="cssArray: [surfaceClass($element), { \'dx-accessibility\': $data.accessibilityCompliant } ]"> <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-scrollbar-color" data-bind="visible: (!designMode || designMode()), cssArray: [rootStyle, { \'dx-rtl\' : rtl, \'dx-ltr\': !rtl }]"> \x3c!-- ko foreach: parts --\x3e \x3c!-- ko template: { name: templateName, data: viewModel || 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 id="dxrd-designer-last-focus-item-blank" class="dxrd-visually-hidden" tabindex=\'-1\'></div> </div>',"dxrd-textalignment-editor":"<div class=\"dxrd-textalignment-editor-content\"> \x3c!-- ko with: value--\x3e <div> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: verticalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-top\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-middle\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle(), 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-bottom\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }\"></div> </div> <div class=\"dxrd-textalignment-margin-top\"> <br/> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: horizontalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-left\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-center\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center(), 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-right\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-justify\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify(), 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }\"></div> </div> \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: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible }"> \x3c!-- ko if: $data.contentTemplate--\x3e \x3c!-- ko template: contentTemplate--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.contentTemplate --\x3e \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 \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source":'<div class="dxrd-drag-helper-source" data-bind="styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { \'dxrd-locked\': $data.isLocked }"> \x3c!-- ko foreach: $data.controls() --\x3e <div class="dxrd-drag-helper-control" data-bind="styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className"> \x3c!-- ko with: $parent.customData() --\x3e <div data-bind="template: { name: $data.template, data: $data.data }"> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source-reorder-treelist":'<div class="dxrd-drag-helper-source-reorder-treelist dxd-back-primary dxd-text-primary dxd-ghost-border-color dxd-border-accented"> <div class="dxrd-drag-helper-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}"> </div> <div class="dxrd-drag-helper-treelist-text-wrapper"> <div class="dxrd-drag-helper-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div>',"dxrd-menubutton-template-base":'<div class="dxrd-menu-container dxrd-position-relative dxrd-width-0 dxrd-height-100" ></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place dxrd-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 data-bind="dxPopup: { width: 250, wrapperAttr: { class: \'dxd-menu-back-color dxd-back-primary2\' }, 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: {}, hideOnOutsideClick: 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 class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed() }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-group-header-text" data-bind="text: $root.actionsGroupTitle()"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-primary"> \x3c!-- ko foreach: (contextActions || []) --\x3e \x3c!-- ko if: $data.templateName && !isContextMenuAction --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName && !isContextMenuAction --\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 class="dxrd-position-relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-group-actions":'<div class="dxd-back-primary2 dxrd-property-grid-actions-group"> \x3c!-- ko if: groupActionsVisible --\x3e \x3c!-- ko foreach: (groupActions || []) --\x3e <div class="dxd-border-primary dxrd-properties-grid-actions-group-content" data-bind="visible: items.some(x => !x.visible || ko.unwrap(x.visible))"> <div class="dxd-text-primary dxrd-properties-grid-action-name" data-bind="text: group"></div> \x3c!-- ko foreach: (items || []) --\x3e \x3c!-- ko template: { name: $data.templateName, if: $data.templateName } --\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 </div> \x3c!-- /ko --\x3e \x3c!-- /ko--\x3e </div>',"dx-propertygrid-searchbox":"<div class=\"dx-property-grid-search-group dx-property-grid-search-collapsed\" data-bind=\"css: { 'dx-property-grid-search-collapsed': !isSearching() }\"> <div class=\"dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text\" 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 no-margin-right\" 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 class="dxd-text-primary dxrd-properties-sub-wrapper"> <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-grid-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) }, useItemTextAsTitle: true }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" 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-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" 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 }"> \x3c!-- ko template: { name: \'dxrd-group-actions\', data: { groupActions: $root.contextGroupActions, groupActionsVisible: $root.groupActionsVisible() } } --\x3e \x3c!-- /ko --\x3e \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 class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed() }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-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 \x3c!-- ko template: { name: \'dx-propertygrid-popoverservice\', if: popover, data: popover.getViewModel() } --\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: {}, hideOnOutsideClick: 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: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, 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' }\"> \x3c!-- ko if: $data.itemTemplate --\x3e \x3c!-- ko template: $data.itemTemplate --\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e \x3c!-- ko ifnot: $data.itemTemplate --\x3e <div data-bind=\"dxclick: action\"> <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.innerTemplate--\x3e \x3c!--ko template: $data.innerTemplate--\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e </div> \x3c!--/ko--\x3e </div> </div> </div> </div>","dx-propertygrid-popoverservice":'<div data-bind="dxPopover: { container: getPopupContainer($element), target: target, position: \'bottom\', showCloseButton: false, onHiding: onHiding, hideOnOutsideClick: true, hideOnParentScroll: true, width: \'350px\', visible: visible }"> <div class="propertygrid-editor-description-popover-content"> <span data-bind="text: data"></span> </div> </div>',"dx-right-panel-lightweight":'\x3c!-- ko with: tabPanel.getViewModel() --\x3e <div class="dxrd-right-panel dx-shadow dx-shadow-right dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))"> \x3c!-- ko foreach: tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dxrd-right-panel-template-base":'<div class="dx-shadow dx-shadow-right dxd-border-secondary dxrd-tab-panel-wrapper" data-bind="styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper"> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabsElement.class"> \x3c!-- ko foreach: $data.tabs --\x3e <div role="button" class="dxrd-tab-item dx-accessibility-rightpanel-button dxd-side-panel-tab-back-color dxd-back-highlighted dx-accessibility-focus-border-accented" data-bind="dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, \'aria-label\': text, \'aria-expanded\': active }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: image.class, template: {name: image.templateName, if: !!ko.unwrap($data.image.templateName)}"> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)"> \x3c!-- ko foreach: $data.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-right-panel-switcher":'<div class="dx-right-panel-switcher"> <div class="dxrd-collectioneditor-action" data-bind="dxButtonWithTemplate: { icon: \'dxrd-svg-operations-edit\', iconClass: \'dx-image-edit\', disabled: disabled, onClick: toogle, hint: title }"></div> </div>',"dxrd-toolbar-template-base":'<div class="dxrd-toolbar-wrapper dxd-back-secondary-invariant dx-shadow-top"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.getViewModel().toolbarItems }"></div> </div>',"dxrd-toolbar-tmplt":'\x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: templateName --\x3e \x3c!-- ko template: { name: templateName, data: contentData || $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !templateName --\x3e <div class="dxrd-toolbar-item" data-bind="visible: visible, css: actionClass"> <div role="button" class="dx-accessibility-toolbar-item dx-accessibility-focus-border-accented" data-bind="attr: block.attr" > <div data-bind="template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: displayText }, dxclick: click"> </div> <div class="dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary" data-bind="visible: hasSeparator"></div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2 dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: toolboxItems --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <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> \x3c!-- /ko --\x3e </div>',"dxrd-grouped-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2-invariant toolbox-grouped dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: groupedToolboxItems --\x3e <div class="dxrd-toolbox-group dxd-border-primary"> \x3c!-- ko foreach: items --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <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> \x3c!-- /ko --\x3e </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: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div>',"dx-editor-addons":'<div class="dxrd-editormenu-boxes"> \x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: $data.visible --\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 \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: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: 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 dxrd-editor-box-image" data-bind="dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss"> <div class="dxrd-editor-box-image-content" data-bind="template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-collectioneditor":'<div class="dx-collectioneditor"> <div data-bind="dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper"> <div class="dx-collectioneditor-header dx-accordion-header"> <div class="dx-editor-header"> <div role="treeitem" class="dx-field dx-accessibility-focus-border-accented dxrd-accessibility-accordion-trigger" data-bind="attr: { \'aria-expanded\': alwaysShow || !collapsed ? \'true\' : \'false\', \'aria-owns\': contentId, \'id\': headerId, }"> \x3c!-- ko if: showButtons--\x3e \x3c!-- ko with: buttons --\x3e <div class="dx-collectioneditor-actions-wrapper"> \x3c!-- ko if: up.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: up.action, disabled: up.disabled, icon: \'dxrd-svg-operations-moveup\', template: up.template }, attr: { title: up.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: down.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: down.action, disabled: down.disabled, icon: \'dxrd-svg-operations-movedown\', template: down.template }, attr: { title: down.text }"></div> \x3c!-- /ko --\x3e <div class="dx-collectioneditor-action-separator"></div> \x3c!-- ko if: add.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: add.action, disabled: add.disabled, icon: \'dxrd-svg-operations-add\', template: add.template }, attr: { title: add.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: delete.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: delete.action, disabled: delete.disabled, icon: \'dxrd-svg-operations-remove\', template: delete.template }, attr: { title: delete.text }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: displayName --\x3e <div class="dx-collectioneditor-header-text dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary dxrd-display-inline-block" data-bind="text: displayName, attr: { title: displayName }"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> <div role="group" class="dx-accordion-content" data-bind="attr: { \'aria-hidden\': !alwaysShow && collapsed ? \'true\' : \'false\', \'aria-labelledby\': headerId, \'id\': contentId }"> <div data-bind="visible: !disabled, dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option(\'useKeyboard\', false); } }"> \x3c!-- ko if: values.length === 0 --\x3e <div class="dx-collectioneditor-empty dxd-empty-area-placeholder-text-color dxd-text-info"> <span class="dx-collectioneditor-empty-text" data-bind="text: emptyAreaText"></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: values.length !== 0 --\x3e <div class="dx-collectioneditor-items" data-bind="foreach: values"> <div class="dx-collectioneditor-item-container dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-accessibility-list-item dx-accessibility-focus-border-accented" data-bind="attr: { \'aria-selected\': selected }, dxAction: { model: $data, action: select }, css: { \'dxd-state-selected\' : selected }"> <div class="dx-collection-item"></div> </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> </div>',"dx-boolean":'<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { \'aria-label\': displayName } }), 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') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, 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=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></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) }, inputAttr: { 'aria-label': displayName, id: editorInputId }}, dxValidator: getValidatorOptions($data.validatorOptions || { validationRules: $data.validationRules || [] })\"> </div>","dx-combobox-editable":"<div data-bind=\"dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }\"> </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) }, inputAttr: { id: editorInputId } }, 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, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }\"> <div class=\"dx-editor-header\"> <div class=\"dx-field\" data-bind=\"attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}\"> <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 data-bind=\"enable: templateName === 'dx-emptyHeader'\"> \x3c!-- ko ifnot: $data.hideCollapsingButton --\x3e <div class=\"dx-collapsing-image dxrd-display-inline-block\" data-bind=\"template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !ko.unwrap(collapsed) }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"text: displayName, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }\"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: !isComplexEditor --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <label class=\"propertygrid-editor-displayName\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-field-label-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}\"></label> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <label class=\"propertygrid-editor-displayName\" data-bind=\"text: displayName, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}\"></label> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.editorDescriptionAddon && $data.description --\x3e <div data-bind=\"service: { name: 'createEditorDescriptionAddOn' }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorDescriptionAddon --\x3e \x3c!-- ko template: { name: $data.editorDescriptionAddon.templateName, data: $data.editorDescriptionAddon.data } --\x3e\x3c!-- /ko --\x3e \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: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- ko if: isComplexEditor --\x3e <div class=\"dx-editor-content dx-accordion-content\" role=\"group\" data-bind=\"attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }\"> \x3c!-- ko if: editorCreated --\x3e \x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>","dx-emptyHeader":"","dx-property-grid-editor-description":'<div class="propertygrid-editor-description" data-bind="dxButtonWithTemplate: { onClick: onClick, icon: \'dxrd-svg-tabs-description_info\' }"></div>',"dx-date":"<div class=\"dx-datebox-container\"> <div data-bind=\" dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId }, 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(!ko.unwrap($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(!ko.unwrap($parent.disabled)) { italic(!italic()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-italic\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- ko ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline --\x3e <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(!ko.unwrap($parent.disabled)) { underline(!underline()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-underline\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout --\x3e <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(!ko.unwrap($parent.disabled)) { strikeout(!strikeout()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e </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, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }\"></div>","dx-number-editor":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }\"></div>","dx-text":"\x3c!-- ko if: $data.validationRules --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), 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, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})\"></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: editors --\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","dxrd-federated-manageQueries-editor":'\x3c!-- ko if: $data --\x3e<div> <div data-bind="dxPopup: { showTitle: true, width: \'750px\', height: \'475px\', title: title(), rtlEnabled: rtl, visible: popupVisible, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }"> <div class="dxrd-federated-manageQueries-grid-wrapper dxrd-cursor-default" > <div class="dxd-border-secondary dxrd-federated-manageQueries-grid" data-bind="dxDataGrid: queriesGrid"></div> </div> </div> </div>\x3c!-- ko template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper } --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e',"dx-querybuilder-federation-popup-templates":"\x3c!-- ko if: $data --\x3e \x3c!-- ko foreach: $data.popupItems --\x3e \x3c!-- ko template: { name: template, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-managequeries-selectbox":'\x3c!-- ko with: options --\x3e <div class="dxrd-managequeries-selectbox"> <div data-bind="dxDropDownButton: $data"></div> </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); } }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></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 }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></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 data-bind="visible: visible, attr: { class: \'dx-expressioneditor-tools-tab dxd-back-primary2 \'+ ($data.templateName ? $data.templateName : \'\')}"> \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, inputAttr: { id: editorInputId } }"></div> \x3c!-- ko template: \'dx-expressioneditor-popup\'--\x3e \x3c!--/ko--\x3e </div>',"dx-expressioneditor-popup":"<div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }\"> \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\' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, \'e\')"> \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 dxrd-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 dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></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-content 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 data-bind=\"attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, 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-plain-content-text":'<div class="dx-filtereditor-text-container" data-bind="css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }"> \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 }, style: $data.getCheckBoxStyles()"></div> <div class="dx-filtereditor-plain-content" data-bind="style: $data.getContentStyles()"> \x3c!-- ko if: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }"> \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-plain-disabled" data-bind="visible: $data.options().disabled()"></div> </div>',"dx-filtereditor-content-text":'\x3c!-- ko if: !aceAvailable --\x3e <div class="dx-filtereditor-text dx-default-border-style dxd-border-secondary" 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-default-border-style dxd-border-secondary dx-textarea dx-textbox dx-texteditor dx-editor-filled" 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, if: $parent.isSurfaceValid }--\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); }, inputAttr: { id: editorInputId } }"></div> \x3c!-- ko template: \'dx-filtereditor-popup\' --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-advanced":"<div class=\"dx-filtereditor dxrd-width-100 dxrd-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 dxrd-width-100 dxrd-height-100\"> \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: getStringEditorOptions($element), 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: getBoolEditorOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "date" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)"></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($element), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getListEditOptions($element, $root)"></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 data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, 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', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: 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-search-panel":"<div class=\"dx-filtereditor-popup-item dx-filtereditor-search dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted\"> <div class=\"dx-item-content dxd-border-secondary dxd-text-primary dx-list-item-content\" data-bind=\"dxTextBox: { placeholder: searchPlaceholder(), value: ($data.value || $data.filterString), height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }\"> </div> </div>","dx-filtereditor-popup-common":'\x3c!-- ko if: $data.isFiltered --\x3e <div data-bind="template: { name: \'dx-filtereditor-search-panel\', data: $data }"></div> \x3c!-- /ko --\x3e <div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }, css: { \'dx-filtereditor-filtered\': isFiltered }"> \x3c!-- ko foreach: data --\x3e \x3c!-- ko if: !$data.hidden --\x3e \x3c!-- ko ifnot: $parent.isFiltered --\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); }, attr: {\'title\': $data.displayText || $data.name } "></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $parent.isFiltered --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <div class="dx-item-content dx-list-item-content" data-bind="searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.filterString }, click: function() { $parent.click($data); }, attr: {\'title\': $data.displayText || $data.name } "> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-popup-treelist":'<div class="dx-filtereditor-search" data-bind="treeListSearchPanel: { controllers: data().treeListController, template: \'dx-filtereditor-search-panel\' } "></div> <div class="dx-widget dx-filtereditor-filtered" 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 data-bind="dxPopup: { wrapperAttr: { class: \'dx-format-string dx-popup-general\' }, 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: $parent.reverseCollapsed }, 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: events.click"> <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: text"></div> </div> </div> </div> </div>',"dx-treelist-item":"\x3c!-- ko if: visible --\x3e \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: templates.accordionItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: templates.headerItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-treelist-accordion-item":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }"> \x3c!-- ko template: templates.headerItem --\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-item-actions-container":'<div class="dx-treelist-action-container" data-bind="visible: isSelected || isHovered"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item":'<div role="treeitem" class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted dx-accessibility-treelist-item dx-accessibility-focus-border-accented" data-bind="event: events, styleunit: padding, css: cssRules, attr: attr"> \x3c!-- ko if: 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\': hasItems ? \'0px\': \'18px\' }"> \x3c!-- ko if: actions && actions.length > 0 --\x3e \x3c!-- ko template: templates.actionsContainer --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null, draggable: dragDropHandler"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-item-text-content":'<div class="dx-treelist-text-wrapper"> \x3c!--ko if: searchModel.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!--ko ifnot: searchModel.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: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> \x3c!-- ko template: templates.itemTextContent --\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, setCollapsedChangedEvent: setCollapsedChangedEvent }"> \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: events, 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: isSelected || 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: imageClassName, template: { name: imageTemplateName, if: !!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 role="group" class="dx-treelist dxd-text-primary"> \x3c!-- ko foreach: items --\x3e \x3c!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !collapsed --\x3e \x3c!-- ko template: { name: \'dx-treelist\' } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-search-panel":"<div class=\"dxrd-treelist-search-panel\" data-bind=\"dxTextBox: { mode: 'search', value:value, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}\"></div>"}),function(){const e=window.ko;let t=!1;window.DevExpress&&window.DevExpress.ui&&window.DevExpress.ui.dxTextBox?t=!0:console.error("The DevExtreme library is missing. Check whether a script is included on the page."),e?!e.bindingHandlers.dxPopup&&t&&console.error("The DevExtreme library is included before the Knockout library. Check the order in which the scripts appear on the page."):console.error("The Knockout library is missing. Check whether a script is included on the page."),window.$||window.jQuery||console.error("The jQuery library is missing. Check whether a script is included on the page.")}(),as();const Vl=window.DevExpress||{};var zl;(zl=Vl).Analytics=zl.Analytics||{},zl.Analytics.Internal=t,zl.Analytics.Serializer=zl.Analytics.Serializer||{},zl.Analytics.Serializer.Native=g,zl.Analytics.Utils=i,zl.Analytics.Widgets=s,zl.Analytics.Widgets.Ace=m,zl.Analytics.Widgets.Metadata=a,zl.Analytics.Widgets.Internal=r,zl.Analytics.Widgets.Filtering=n,zl.Analytics.Widgets.TreeList=l,zl.Analytics.Criteria=o,zl.Analytics.Criteria.Utils=d,zl.Analytics.Elements=u,zl.Analytics.Elements.Metadata=c,zl.Analytics.Tools=p,zl.Analytics.Localization=h,zl.Analytics.VERSION=ni,function(){const e=window.DevExpress,t=e.Analytics.VERSION,i=e.VERSION;i!=t&&console.warn(`Analytics-Core (v${t}) and DevExtreme (v${i}) versions do not match.`)}();Vl.Analytics})();
|