1"use strict";(self.webpackChunkwinerist=self.webpackChunkwinerist||[]).push([["default-src_app_shared_shared_module_ts"],{46444:(Je,Ae,a)=>{a.d(Ae,{Ul:()=>A,OS:()=>x,b0:()=>H,rN:()=>i,DZ:()=>K,kr:()=>I,gt:()=>u,_V:()=>Q,ZB:()=>E,jk:()=>Ce,SM:()=>w});var n=a(72954);const i={lockCount:0,lock(){this.lockCount++},callbacks:[],callEffects(){if(this.lockCount--,this.lockCount<0)throw new Error("Unexpected Effect Call");if(0===this.lockCount){const J=this.callbacks;this.callbacks=[],J.forEach(z=>z())}}},ie=(J,z)=>{if(!(J instanceof Object&&z instanceof Object))return J===z;const Oe=Object.keys(J),O=Object.keys(z);return Oe.length===O.length&&!Oe.some(G=>J[G]!==z[G])};class A extends n.wA{constructor(){super(...arguments),this._pendingContext=this.context}componentWillReceiveProps(z,le){this._pendingContext=le??{}}shouldComponentUpdate(z,le){return!ie(this.props,z)||!ie(this.state,le)||!ie(this.context,this._pendingContext)}}class x extends A{constructor(){super(...arguments),this._effects=[]}createEffects(){return[]}updateEffects(){}componentWillMount(){i.lock()}componentWillUpdate(z,le,Oe){i.lock()}componentDidMount(){i.callbacks.push(()=>{this._effects=this.createEffects()}),i.callEffects()}componentDidUpdate(){i.callbacks.push(()=>this.updateEffects()),i.callEffects()}destroyEffects(){this._effects.forEach(z=>z.dispose())}componentWillUnmount(){this.destroyEffects()}}class K extends x{constructor(){super(...arguments),this.vDomElement=null}vDomUpdateClasses(){const z=this.vDomElement,le=z.className.length?z.className.split(" "):[],Oe=le.filter(l=>z.dxClasses.previous.indexOf(l)<0),O=z.dxClasses.previous.filter(l=>le.indexOf(l)<0);Oe.forEach(l=>{const G=z.dxClasses.removed.indexOf(l);G>-1?z.dxClasses.removed.splice(G,1):z.dxClasses.added.push(l)}),O.forEach(l=>{const G=z.dxClasses.added.indexOf(l);G>-1?z.dxClasses.added.splice(G,1):z.dxClasses.removed.push(l)})}componentDidMount(){const z=(0,n.lN)(this.$LI,!0);this.vDomElement=z,super.componentDidMount(),z.dxClasses=z.dxClasses||{removed:[],added:[],previous:[]},z.dxClasses.previous=z?.className.length?z.className.split(" "):[]}componentDidUpdate(){super.componentDidUpdate();const z=this.vDomElement;null!==z&&(z.dxClasses.added.forEach(le=>z.classList.add(le)),z.dxClasses.removed.forEach(le=>z.classList.remove(le)),z.dxClasses.previous=z.className.length?z.className.split(" "):[])}shouldComponentUpdate(z,le){const Oe=super.shouldComponentUpdate(z,le);return Oe&&this.vDomUpdateClasses(),Oe}}let W=0;const I=function(J){const z=W++;return{id:z,defaultValue:J,Provider:class extends n.wA{getChildContext(){return Object.assign(Object.assign({},this.context),{[z]:this.props.value||J})}render(){return this.props.children}}}};class H{constructor(z,le){this.dependency=le,this.effect=z,this.destroy=z()}update(z){const le=this.dependency;z&&(this.dependency=z),(!z||z.some((Oe,O)=>le[O]!==Oe))&&(this.dispose(),this.destroy=this.effect())}dispose(){this.destroy&&this.destroy()}}const u=()=>new H(()=>{(0,n.k4)()},[]),d="a runtime error occured! Use Inferno in development environment to find the error.";function Y(J){return null===J}function N(J,z,le,Oe,O,l){const G=J.childFlags,ye=J.children,R=J.props,p=J.flags;if(1!==G){if(2===G)Y(le)?(0,n._M)(ye,z,Oe,O,null,l):le=(le=h(ye,z,le,Oe,O,l))?le.nextSibling:null;else if(16===G)Y(le)?z.appendChild(document.createTextNode(ye)):1!==z.childNodes.length||3!==le.nodeType?z.textContent=ye:le.nodeValue!==ye&&(le.nodeValue=ye),le=null;else if(12&G){let y=!1;for(let se=0,De=ye.length;se<De;++se){const ge=ye[se];Y(le)||y&&(16&ge.flags)>0?(0,n._M)(ge,z,Oe,O,le,l):le=(le=h(ge,z,le,Oe,O,l))?le.nextSibling:null,y=(16&ge.flags)>0}}if(!(8192&p)){let y=null;for(;le;)y=le.nextSibling,z.removeChild(le),le=y}}else!Y(z.firstChild)&&!function b(J,z){return Boolean(z&&z.dangerouslySetInnerHTML&&z.dangerouslySetInnerHTML.__html&&function c(J,z){const le=document.createElement("i");return le.innerHTML=z,le.innerHTML===J.innerHTML}(J,z.dangerouslySetInnerHTML.__html))}(z,R)&&(z.textContent="",448&p&&(z.defaultValue=""))}function V(J,z,le){if(3!==le.nodeType)z.replaceChild(J.dom=document.createTextNode(J.children),le);else{const Oe=J.children;le.nodeValue!==Oe&&(le.nodeValue=Oe),J.dom=le}return J.dom}function h(J,z,le,Oe,O,l){const G=J.flags|=16384;return 14&G?function ue(J,z,le,Oe,O,l,G){const R=J.ref;let y;if(l){const se=(0,n.NK)(J,J.type,J.props||n.kT,Oe,O,G);y=h(se.$LI,z,le,se.$CX,O,G),(0,n._7)(R,se,G)}else{const se=(0,n.Cc)((0,n.F1)(J,Oe));y=h(se,z,le,Oe,O,G),J.children=se,(0,n.vc)(J,G)}return y}(J,z,le,Oe,O,(4&G)>0,l):481&G?function Z(J,z,le,Oe,O,l){const G=J.props,ye=J.className,R=J.flags,p=J.ref;return O=O||(32&R)>0,1!==le.nodeType?((0,n._2)(J,null,Oe,O,null,l),z.replaceChild(J.dom,le)):(J.dom=le,N(J,le,le.firstChild,Oe,O,l),Y(G)||(0,n.w7)(J,R,G,le,O),function F(J){return null==J}(ye)?""!==le.className&&le.removeAttribute("class"):O?le.setAttribute("class",ye):le.className=ye,(0,n.j4)(p,le,l)),J.dom}(J,z,le,Oe,O,l):16&G?V(J,z,le):512&G?J.dom=le:8192&G?function ne(J,z,le,Oe,O,l){const G=J.children;return 2===J.childFlags?(V(G,z,le),G.dom):(N(J,z,le,Oe,O,l),function g(J){let z,le;for(;J;){if(z=J.flags,2033&z)return J.dom;le=J.children,J=8192&z?2===J.childFlags?le:le[le.length-1]:4&z?le.$LI:le}return null}(G[G.length-1]))}(J,z,le,Oe,O,l):(function S(J){throw J||(J=d),new Error(`Inferno Error: ${J}`)}(),null)}function E(J,z,le){let Oe=z.firstChild;if(Y(Oe))(0,n.sY)(J,z,le);else{const O=[];for(function q(J){return null===J||!1===J||!0===J||void 0===J}(J)||(Oe=h(J,z,Oe,{},!1,O));Oe&&(Oe=Oe.nextSibling);)z.removeChild(Oe);if(O.length>0){let l;for(;void 0!==(l=O.shift());)l()}}z.$V=J,function U(J){return"function"==typeof J}(le)&&le()}var L=a(77400);const M=J=>{var z,le;return(null===(z=J.container)||void 0===z?void 0:z.get(0))||(null===(le=J.item)||void 0===le?void 0:le.get(0))};function w(J,z,le){setTimeout(()=>{(0,n.sY)((0,L.a)(J,z),M(z))},0)}const Q=(J,z,le)=>{const Oe=z[J];return!!Oe&&"string"!=typeof Oe},ae=new Set(["animationIterationCount","borderImageOutset","borderImageSlice","border-imageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexNegative","flexOrder","flexPositive","flexShrink","floodOpacity","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","o
1pacity","order","orphans","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","zIndex","zoom"]),ce=J=>"number"==typeof J||!Number.isNaN(Number(J)),Me=(J,z)=>ae.has(J)?z:`${z}px`,pe=/[A-Z]/g,Se=J=>J.replace(pe,"-$&").toLowerCase();function Ce(J){if(J instanceof Object)return Object.entries(J).reduce((z,[le,Oe])=>(z[Se(le)]=ce(Oe)?Me(le,Oe):Oe,z),{})}},5013:(Je,Ae,a)=>{a.d(Ae,{m:()=>Qe});var n=a(36895),i=a(42720),ie=a(15697),A=a(11481),x=a(94650),K=a(35806),W=a(24006),I=a(37217);const H={provide:W.JU,useExisting:(0,x.Gpc)(()=>T),multi:!0};let T=(()=>{class We extends I.Ay{constructor(me,et,k,P,te,Te,Fe,Ke){super(me,et,k,P,Fe,Ke),this._watcherHelper=P,this._idh=te,this.touched=be=>{},this._createEventEmitters([{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"valueChanged",emit:"onValueChanged"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"cellTemplateChange"},{emit:"dateSerializationFormatChange"},{emit:"disabledChange"},{emit:"disabledDatesChange"},{emit:"elementAttrChange"},{emit:"firstDayOfWeekChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"isValidChange"},{emit:"maxChange"},{emit:"maxZoomLevelChange"},{emit:"minChange"},{emit:"minZoomLevelChange"},{emit:"nameChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"showTodayButtonChange"},{emit:"showWeekNumbersChange"},{emit:"tabIndexChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"visibleChange"},{emit:"weekNumberRuleChange"},{emit:"widthChange"},{emit:"zoomLevelChange"},{emit:"onBlur"}]),this._idh.setHost(this),Te.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(me){this._setOption("accessKey",me)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(me){this._setOption("activeStateEnabled",me)}get cellTemplate(){return this._getOption("cellTemplate")}set cellTemplate(me){this._setOption("cellTemplate",me)}get dateSerializationFormat(){return this._getOption("dateSerializationFormat")}set dateSerializationFormat(me){this._setOption("dateSerializationFormat",me)}get disabled(){return this._getOption("disabled")}set disabled(me){this._setOption("disabled",me)}get disabledDates(){return this._getOption("disabledDates")}set disabledDates(me){this._setOption("disabledDates",me)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(me){this._setOption("elementAttr",me)}get firstDayOfWeek(){return this._getOption("firstDayOfWeek")}set firstDayOfWeek(me){this._setOption("firstDayOfWeek",me)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(me){this._setOption("focusStateEnabled",me)}get height(){return this._getOption("height")}set height(me){this._setOption("height",me)}get hint(){return this._getOption("hint")}set hint(me){this._setOption("hint",me)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(me){this._setOption("hoverStateEnabled",me)}get isValid(){return this._getOption("isValid")}set isValid(me){this._setOption("isValid",me)}get max(){return this._getOption("max")}set max(me){this._setOption("max",me)}get maxZoomLevel(){return this._getOption("maxZoomLevel")}set maxZoomLevel(me){this._setOption("maxZoomLevel",me)}get min(){return this._getOption("min")}set min(me){this._setOption("min",me)}get minZoomLevel(){return this._getOption("minZoomLevel")}set minZoomLevel(me){this._setOption("minZoomLevel",me)}get name(){return this._getOption("name")}set name(me){this._setOption("name",me)}get readOnly(){return this._getOption("readOnly")}set readOnly(me){this._setOption("readOnly",me)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(me){this._setOption("rtlEnabled",me)}get showTodayButton(){return this._getOption("showTodayButton")}set showTodayButton(me){this._setOption("showTodayButton",me)}get showWeekNumbers(){return this._getOption("showWeekNumbers")}set showWeekNumbers(me){this._setOption("showWeekNumbers",me)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(me){this._setOption("tabIndex",me)}get validationError(){return this._getOption("validationError")}set validationError(me){this._setOption("validationError",me)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(me){this._setOption("validationErrors",me)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(me){this._setOption("validationMessageMode",me)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(me){this._setOption("validationMessagePosition",me)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(me){this._setOption("validationStatus",me)}get value(){return this._getOption("value")}set value(me){this._setOption("value",me)}get visible(){return this._getOption("visible")}set visible(me){this._setOption("visible",me)}get weekNumberRule(){return this._getOption("weekNumberRule")}set weekNumberRule(me){this._setOption("weekNumberRule",me)}get width(){return this._getOption("width")}set width(me){this._setOption("width",me)}get zoomLevel(){return this._getOption("zoomLevel")}set zoomLevel(me){this._setOption("zoomLevel",me)}change(me){}_createInstance(me,et){return new K.Z(me,et)}writeValue(me){this.eventHelper.lockedValueChangeEvent=!0,this.value=me,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(me){this.disabled=me}registerOnChange(me){this.change=me}registerOnTouched(me){this.touched=me}_createWidget(me){super._createWidget(me),this.instance.on("focusOut",et=>{this.eventHelper.fireNgEvent("onBlur",[et])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(me){super.ngOnChanges(me),this.setupChanges("disabledDates",me),this.setupChanges("validationErrors",me)}setupChanges(me,et){me in this._optionsToUpdate||this._idh.setup(me,et)}ngDoCheck(){this._idh.doCheck("disabledDates"),this._idh.doCheck("val
1idationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(me,et){let k=this._idh.setupSingle(me,et),P=null!==this._idh.getChanges(me,et);(k||P)&&super._setOption(me,et)}}return We.\u0275fac=function(me){return new(me||We)(x.Y36(x.SBq),x.Y36(x.R0b),x.Y36(I._5),x.Y36(I._h),x.Y36(I.i9),x.Y36(I.al),x.Y36(A.ki),x.Y36(x.Lbi))},We.\u0275cmp=x.Xpm({type:We,selectors:[["dx-calendar"]],hostBindings:function(me,et){1&me&&x.NdJ("valueChange",function(P){return et.change(P)})("onBlur",function(P){return et.touched(P)})},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",cellTemplate:"cellTemplate",dateSerializationFormat:"dateSerializationFormat",disabled:"disabled",disabledDates:"disabledDates",elementAttr:"elementAttr",firstDayOfWeek:"firstDayOfWeek",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",isValid:"isValid",max:"max",maxZoomLevel:"maxZoomLevel",min:"min",minZoomLevel:"minZoomLevel",name:"name",readOnly:"readOnly",rtlEnabled:"rtlEnabled",showTodayButton:"showTodayButton",showWeekNumbers:"showWeekNumbers",tabIndex:"tabIndex",validationError:"validationError",validationErrors:"validationErrors",validationMessageMode:"validationMessageMode",validationMessagePosition:"validationMessagePosition",validationStatus:"validationStatus",value:"value",visible:"visible",weekNumberRule:"weekNumberRule",width:"width",zoomLevel:"zoomLevel"},outputs:{onDisposing:"onDisposing",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",onValueChanged:"onValueChanged",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",cellTemplateChange:"cellTemplateChange",dateSerializationFormatChange:"dateSerializationFormatChange",disabledChange:"disabledChange",disabledDatesChange:"disabledDatesChange",elementAttrChange:"elementAttrChange",firstDayOfWeekChange:"firstDayOfWeekChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",isValidChange:"isValidChange",maxChange:"maxChange",maxZoomLevelChange:"maxZoomLevelChange",minChange:"minChange",minZoomLevelChange:"minZoomLevelChange",nameChange:"nameChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",showTodayButtonChange:"showTodayButtonChange",showWeekNumbersChange:"showWeekNumbersChange",tabIndexChange:"tabIndexChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",visibleChange:"visibleChange",weekNumberRuleChange:"weekNumberRuleChange",widthChange:"widthChange",zoomLevelChange:"zoomLevelChange",onBlur:"onBlur"},features:[x._Bn([I._5,I._h,H,I.al,I.i9]),x.qOj,x.TTD],decls:0,vars:0,template:function(me,et){},encapsulation:2}),We})(),u=(()=>{class We{}return We.\u0275fac=function(me){return new(me||We)},We.\u0275mod=x.oAB({type:We}),We.\u0275inj=x.cJS({imports:[[I.Lz,I.ie,A.Cu],I.ie]}),We})();var d=a(11020),F=a(67165),q=a(139),U=a(35431),Y=a(56836),S=a(64596),c=a(91553),g=a(48360),b=a(80316),ue=a(83520),N=a(24705),Z=a(83684),V=a(21374),ne=a(34500),L=a(67771),M=a(16129),w=a(93802),Q=a(13921),ae=a(68082),ce=a(37075),Me=ae.Z.getActiveElement,Se="content",Ce=Q.Z.real(),J=q.Z.inherit({_supportedKeys:function(){return(0,Z.l)({},this.callBase(),{tab:function(We){if(this.option("opened")){var Xe=this._getTabbableElements(),me=We.shiftKey?Xe.last():Xe.first();me&&N.Z.trigger(me,"focus"),We.preventDefault()}}})},_getTabbableElements:function(){return this._getElements().filter(g.ht)},_getElements:function(){return(0,ue.Z)(this.content()).find("*")},_getDefaultOptions:function(){return(0,Z.l)(this.callBase(),{acceptCustomValue:!1,contentTemplate:Se,openOnFieldClick:!0,displayValueFormatter:function(We){return Array.isArray(We)?We.join(", "):We},useHiddenSubmitElement:!0})},_getAnonymousTemplateName:function(){return Se},_initTemplates:function(){this.callBase()},_initMarkup:function(){this._initDataExpressions(),this.$element().addClass("dx-dropdownbox"),this.callBase()},_setSubmitValue:function(){var We=this.option("value"),Xe=this._shouldUseDisplayValue(We)?this._displayGetter(We):We;this._getSubmitElement().val(Xe)},_shouldUseDisplayValue:function(We){return"this"===this.option("valueExpr")&&(0,S.Kn)(We)},_sortValuesByKeysOrder:(We,Xe)=>Xe.sort((et,k)=>We.indexOf(et.itemKey)-We.indexOf(k.itemKey)).map(et=>et.itemDisplayValue),_renderInputValue:function(){this._rejectValueLoading();var We=[];if(!this._dataSource)return this.callBase(We),(new b.BH).resolve();var me=this._getCurrentValue()??[];me=Array.isArray(me)?me:[me];var et=(0,c.UI)(me,P=>{var te=new b.BH;return this._loadItem(P).always(Te=>{var Fe=this._displayGetter(Te);(0,S.$K)(Fe)?We.push({itemKey:P,itemDisplayValue:Fe}):this.option("acceptCustomValue")&&We.push({itemKey:P,itemDisplayValue:P}),te.resolve()}),te}
1),k=this.callBase.bind(this);return b.gx.apply(this,et).always(()=>{var P=this._sortValuesByKeysOrder(me,We);this.option("displayValue",P),k(We.length&&P)})},_loadItem:function(We){var Xe=new b.BH,me=this,et=(0,Y.h3)(this.option("items")||[],function(k){return this._isValueEquals(this._valueGetter(k),We)}.bind(this))[0];return void 0!==et?Xe.resolve(et):this._loadValue(We).done(function(k){Xe.resolve(k)}).fail(function(k){null!=k&&k.shouldSkipCallback||(me.option("acceptCustomValue")?Xe.resolve(We):Xe.reject())}),Xe.promise()},_popupElementTabHandler:function(We){if("tab"===(0,M.EV)(We)){var Xe=this._getTabbableElements().first().get(0),me=this._getTabbableElements().last().get(0),et=We.originalEvent.target,k=!(et!==Xe||!We.shift);(k||et===me&&!We.shift)&&(this.close(),N.Z.trigger(this._input(),"focus"),k&&We.originalEvent.preventDefault())}},_renderPopup:function(We){this.callBase(),this.option("focusStateEnabled")&&w.dG.on(this.content(),null,Xe=>this._popupElementTabHandler(Xe))},_renderPopupContent:function(){if(this.option("contentTemplate")!==Se){var We=this._getTemplateByOption("contentTemplate");if(We&&this.option("contentTemplate")){var Xe=this._popup.$content(),me={value:this._fieldRenderData(),component:this};Xe.empty(),We.render({container:(0,ce.u)(Xe),model:me})}}},_canShowVirtualKeyboard:function(){return Ce.mac},_isNestedElementActive:function(){var We=Me();return We&&this._popup.$content().get(0).contains(We)},_shouldHideOnParentScroll:function(){return"desktop"===Ce.deviceType&&this._canShowVirtualKeyboard()&&this._isNestedElementActive()},_popupHiddenHandler:function(){this.callBase(),this._popupPosition=void 0},_popupPositionedHandler:function(We){this.callBase(We),this._popupPosition=We.position},_getDefaultPopupPosition:function(We){var{my:Xe,at:me}=this.callBase(We);return{my:Xe,at:me,offset:{v:-1},collision:"flipfit"}},_popupConfig:function(){var{focusStateEnabled:We}=this.option();return(0,Z.l)(this.callBase(),{tabIndex:-1,dragEnabled:!1,focusStateEnabled:We,contentTemplate:Se,hideOnParentScroll:this._shouldHideOnParentScroll.bind(this),position:(0,Z.l)(this.option("popupPosition"),{of:this.$element()}),onKeyboardHandled:Xe=>this.option("focusStateEnabled")&&this._popupElementTabHandler(Xe),_ignoreFunctionValueDeprecation:!0,maxHeight:function(){var Xe,me=null===(Xe=this._popupPosition)||void 0===Xe?void 0:Xe.v.location;return((We,Xe)=>{var k,me=(0,ue.Z)((0,ne.Jj)()),{top:et}=We.offset();if((0,S.kE)(Xe)){if(Xe<et)return et-Xe;k=(0,V.fA)(me)-Xe+me.scrollTop()}else{var P=et-me.scrollTop(),te=(0,V.fA)(me)-P-(0,V.zp)(We);k=Math.max(P,te)}return.9*k})(this.$element(),me)}.bind(this)})},_popupShownHandler:function(){this.callBase();var We=this._getTabbableElements().first();N.Z.trigger(We,"focus")},_setCollectionWidgetOption:Y.ZT,_optionChanged:function(We){switch(this._dataExpressionOptionChanged(We),We.name){case"dataSource":this._renderInputValue();break;case"displayValue":this.option("text",We.value);break;case"displayExpr":this._renderValue();break;case"contentTemplate":this._invalidate();break;default:this.callBase(We)}}}).include(U.Z);(0,L.Z)("dxDropDownBox",J);const z=J;var le=a(84943);const Oe=["*"],O={provide:W.JU,useExisting:(0,x.Gpc)(()=>l),multi:!0};let l=(()=>{class We extends I.Ay{constructor(me,et,k,P,te,Te,Fe,Ke){super(me,et,k,P,Fe,Ke),this._watcherHelper=P,this._idh=te,this.touched=be=>{},this._createEventEmitters([{subscribe:"change",emit:"onChange"},{subscribe:"closed",emit:"onClosed"},{subscribe:"copy",emit:"onCopy"},{subscribe:"cut",emit:"onCut"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"enterKey",emit:"onEnterKey"},{subscribe:"focusIn",emit:"onFocusIn"},{subscribe:"focusOut",emit:"onFocusOut"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"input",emit:"onInput"},{subscribe:"keyDown",emit:"onKeyDown"},{subscribe:"keyUp",emit:"onKeyUp"},{subscribe:"opened",emit:"onOpened"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"paste",emit:"onPaste"},{subscribe:"valueChanged",emit:"onValueChanged"},{emit:"acceptCustomValueChange"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"buttonsChange"},{emit:"contentTemplateChange"},{emit:"dataSourceChange"},{emit:"deferRenderingChange"},{emit:"disabledChange"},{emit:"displayExprChange"},{emit:"displayValueFormatterChange"},{emit:"dropDownButtonTemplateChange"},{emit:"dropDownOptionsChange"},{emit:"elementAttrChange"},{emit:"fieldTemplateChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"inputAttrChange"},{emit:"isValidChange"},{emit:"itemsChange"},{emit:"labelChange"},{emit:"labelModeChange"},{emit:"maxLengthChange"},{emit:"nameChange"},{emit:"openedChange"},{emit:"openOnFieldClickChange"},{emit:"placeholderChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"showClearButtonChange"},{emit:"showDropDownButtonChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"textChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"valueChangeEventChange"},{emit:"valueExprChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"onBlur"}]),this._idh.setHost(this),Te.setHost(this)}get acceptCustomValue(){return this._getOption("acceptCustomValue")}set acceptCustomValue(me){this._setOption("acceptCustomValue",me)}get accessKey(){return this._getOption("accessKey")}set accessKey(me){this._setOption("accessKey",me)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(me){this._setOption("activeStateEnabled",me)}get buttons(){return this._getOption("buttons")}set buttons(me){this._setOption("buttons",me)}
1get contentTemplate(){return this._getOption("contentTemplate")}set contentTemplate(me){this._setOption("contentTemplate",me)}get dataSource(){return this._getOption("dataSource")}set dataSource(me){this._setOption("dataSource",me)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(me){this._setOption("deferRendering",me)}get disabled(){return this._getOption("disabled")}set disabled(me){this._setOption("disabled",me)}get displayExpr(){return this._getOption("displayExpr")}set displayExpr(me){this._setOption("displayExpr",me)}get displayValueFormatter(){return this._getOption("displayValueFormatter")}set displayValueFormatter(me){this._setOption("displayValueFormatter",me)}get dropDownButtonTemplate(){return this._getOption("dropDownButtonTemplate")}set dropDownButtonTemplate(me){this._setOption("dropDownButtonTemplate",me)}get dropDownOptions(){return this._getOption("dropDownOptions")}set dropDownOptions(me){this._setOption("dropDownOptions",me)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(me){this._setOption("elementAttr",me)}get fieldTemplate(){return this._getOption("fieldTemplate")}set fieldTemplate(me){this._setOption("fieldTemplate",me)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(me){this._setOption("focusStateEnabled",me)}get height(){return this._getOption("height")}set height(me){this._setOption("height",me)}get hint(){return this._getOption("hint")}set hint(me){this._setOption("hint",me)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(me){this._setOption("hoverStateEnabled",me)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(me){this._setOption("inputAttr",me)}get isValid(){return this._getOption("isValid")}set isValid(me){this._setOption("isValid",me)}get items(){return this._getOption("items")}set items(me){this._setOption("items",me)}get label(){return this._getOption("label")}set label(me){this._setOption("label",me)}get labelMode(){return this._getOption("labelMode")}set labelMode(me){this._setOption("labelMode",me)}get maxLength(){return this._getOption("maxLength")}set maxLength(me){this._setOption("maxLength",me)}get name(){return this._getOption("name")}set name(me){this._setOption("name",me)}get opened(){return this._getOption("opened")}set opened(me){this._setOption("opened",me)}get openOnFieldClick(){return this._getOption("openOnFieldClick")}set openOnFieldClick(me){this._setOption("openOnFieldClick",me)}get placeholder(){return this._getOption("placeholder")}set placeholder(me){this._setOption("placeholder",me)}get readOnly(){return this._getOption("readOnly")}set readOnly(me){this._setOption("readOnly",me)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(me){this._setOption("rtlEnabled",me)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(me){this._setOption("showClearButton",me)}get showDropDownButton(){return this._getOption("showDropDownButton")}set showDropDownButton(me){this._setOption("showDropDownButton",me)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(me){this._setOption("stylingMode",me)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(me){this._setOption("tabIndex",me)}get text(){return this._getOption("text")}set text(me){this._setOption("text",me)}get validationError(){return this._getOption("validationError")}set validationError(me){this._setOption("validationError",me)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(me){this._setOption("validationErrors",me)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(me){this._setOption("validationMessageMode",me)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(me){this._setOption("validationMessagePosition",me)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(me){this._setOption("validationStatus",me)}get value(){return this._getOption("value")}set value(me){this._setOption("value",me)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(me){this._setOption("valueChangeEvent",me)}get valueExpr(){return this._getOption("valueExpr")}set valueExpr(me){this._setOption("valueExpr",me)}get visible(){return this._getOption("visible")}set visible(me){this._setOption("visible",me)}get width(){return this._getOption("width")}set width(me){this._setOption("width",me)}change(me){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(me){this.setChildren("buttons",me)}get itemsChildren(){return this._getOption("items")}set itemsChildren(me){this.setChildren("items",me)}_createInstance(me,et){return new z(me,et)}writeValue(me){this.eventHelper.lockedValueChangeEvent=!0,this.value=me,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(me){this.disabled=me}registerOnChange(me){this.change=me}registerOnTouched(me){this.touched=me}_createWidget(me){super._createWidget(me),this.instance.on("focusOut",et=>{this.eventHelper.fireNgEvent("onBlur",[et])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(me){super.ngOnChanges(me),this.setupChanges("buttons",me),this.setupChanges("dataSource",me),this.setupChanges("items",me),this.setupChanges("validationErrors",me)}setupChanges(me,et){me in this._optionsToUpdate||this._idh.setup(me,et)}ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("dataSource"),this._idh.doCheck("items"),this._idh.doCheck("val
1idationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(me,et){let k=this._idh.setupSingle(me,et),P=null!==this._idh.getChanges(me,et);(k||P)&&super._setOption(me,et)}}return We.\u0275fac=function(me){return new(me||We)(x.Y36(x.SBq),x.Y36(x.R0b),x.Y36(I._5),x.Y36(I._h),x.Y36(I.i9),x.Y36(I.al),x.Y36(A.ki),x.Y36(x.Lbi))},We.\u0275cmp=x.Xpm({type:We,selectors:[["dx-drop-down-box"]],contentQueries:function(me,et,k){if(1&me&&(x.Suo(k,le.k4o,4),x.Suo(k,le.ZT3,4)),2&me){let P;x.iGM(P=x.CRH())&&(et.buttonsChildren=P),x.iGM(P=x.CRH())&&(et.itemsChildren=P)}},hostBindings:function(me,et){1&me&&x.NdJ("valueChange",function(P){return et.change(P)})("onBlur",function(P){return et.touched(P)})},inputs:{acceptCustomValue:"acceptCustomValue",accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",buttons:"buttons",contentTemplate:"contentTemplate",dataSource:"dataSource",deferRendering:"deferRendering",disabled:"disabled",displayExpr:"displayExpr",displayValueFormatter:"displayValueFormatter",dropDownButtonTemplate:"dropDownButtonTemplate",dropDownOptions:"dropDownOptions",elementAttr:"elementAttr",fieldTemplate:"fieldTemplate",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",inputAttr:"inputAttr",isValid:"isValid",items:"items",label:"label",labelMode:"labelMode",maxLength:"maxLength",name:"name",opened:"opened",openOnFieldClick:"openOnFieldClick",placeholder:"placeholder",readOnly:"readOnly",rtlEnabled:"rtlEnabled",showClearButton:"showClearButton",showDropDownButton:"showDropDownButton",stylingMode:"stylingMode",tabIndex:"tabIndex",text:"text",validationError:"validationError",validationErrors:"validationErrors",validationMessageMode:"validationMessageMode",validationMessagePosition:"validationMessagePosition",validationStatus:"validationStatus",value:"value",valueChangeEvent:"valueChangeEvent",valueExpr:"valueExpr",visible:"visible",width:"width"},outputs:{onChange:"onChange",onClosed:"onClosed",onCopy:"onCopy",onCut:"onCut",onDisposing:"onDisposing",onEnterKey:"onEnterKey",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onInitialized:"onInitialized",onInput:"onInput",onKeyDown:"onKeyDown",onKeyUp:"onKeyUp",onOpened:"onOpened",onOptionChanged:"onOptionChanged",onPaste:"onPaste",onValueChanged:"onValueChanged",acceptCustomValueChange:"acceptCustomValueChange",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",buttonsChange:"buttonsChange",contentTemplateChange:"contentTemplateChange",dataSourceChange:"dataSourceChange",deferRenderingChange:"deferRenderingChange",disabledChange:"disabledChange",displayExprChange:"displayExprChange",displayValueFormatterChange:"displayValueFormatterChange",dropDownButtonTemplateChange:"dropDownButtonTemplateChange",dropDownOptionsChange:"dropDownOptionsChange",elementAttrChange:"elementAttrChange",fieldTemplateChange:"fieldTemplateChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",inputAttrChange:"inputAttrChange",isValidChange:"isValidChange",itemsChange:"itemsChange",labelChange:"labelChange",labelModeChange:"labelModeChange",maxLengthChange:"maxLengthChange",nameChange:"nameChange",openedChange:"openedChange",openOnFieldClickChange:"openOnFieldClickChange",placeholderChange:"placeholderChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",showClearButtonChange:"showClearButtonChange",showDropDownButtonChange:"showDropDownButtonChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",textChange:"textChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",valueChangeEventChange:"valueChangeEventChange",valueExprChange:"valueExprChange",visibleChange:"visibleChange",widthChange:"widthChange",onBlur:"onBlur"},features:[x._Bn([I._5,I._h,O,I.al,I.i9]),x.qOj,x.TTD],ngContentSelectors:Oe,decls:1,vars:0,template:function(me,et){1&me&&(x.F$t(),x.Hsn(0))},encapsulation:2}),We})(),G=(()=>{class We{}return We.\u0275fac=function(me){return new(me||We)},We.\u0275mod=x.oAB({type:We}),We.\u0275inj=x.cJS({imports:[[le.idP,le.UxI,le.ggs,le.IOm,le.kOw,le.weU,le.D_l,le.JxK,le.zZW,le.ynY,le.lgR,le.sni,le.waX,le.pxS,le.pGy,le.Q8p,I.Lz,I.ie,A.Cu],le.idP,le.UxI,le.ggs,le.IOm,le.kOw,le.weU,le.D_l,le.JxK,le.zZW,le.ynY,le.lgR,le.sni,le.waX,le.pxS,le.pGy,le.Q8p,I.ie]}),We})();var ye=a(4012),R=a(460),p=a(87074),y=a(52599),se=a(89033);a(32110);let ke=(()=>{class We{}return We.\u0275fac=function(me){return new(me||We)},We.\u0275mod=x.oAB({type:We}),We.\u0275inj=x.cJS({imports:[[le.Q8p,I.Lz,I.ie,A.Cu],le.Q8p,I.ie]}),We})();var Ne=a(37705),Ge=a(4859),tt=a(4861),xe=a(27572),Pe=a(92333),fe=a(6750),He=a(28729),je=a(8198);let Qe=(()=>{const Xe=class{};let We=Xe;return Xe.\u0275fac=function(k){return new(k||Xe)},Xe.\u0275mod=x.oAB({type:Xe}),Xe.\u0275inj=x.cJS({imports:[Ne.Y4,n.ez,ke,tt.F,Pe.f,fe.E,y.D,u,d.W,G,F.k,R.C,ye.w,p.r,ie.e,se.a,i.Uo,Ge.ot,xe.S,He.Bz,je.Z,n.ez,tt.F,Pe.f,fe.E,xe.S]}),We})()},15697:(Je,Ae,a)=>{a.d(Ae,{K:()=>K,e:()=>W});
1var n=a(11481),i=a(94650),ie=a(73946),A=a(37217);const x=["*"];let K=(()=>{class I extends A.Ay{constructor(T,u,d,F,q,U,Y){super(T,u,d,F,U,Y),this._createEventEmitters([{subscribe:"click",emit:"onClick"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"iconChange"},{emit:"rtlEnabledChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"templateChange"},{emit:"textChange"},{emit:"typeChange"},{emit:"useSubmitBehaviorChange"},{emit:"validationGroupChange"},{emit:"visibleChange"},{emit:"widthChange"}]),q.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(T){this._setOption("accessKey",T)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(T){this._setOption("activeStateEnabled",T)}get disabled(){return this._getOption("disabled")}set disabled(T){this._setOption("disabled",T)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(T){this._setOption("elementAttr",T)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(T){this._setOption("focusStateEnabled",T)}get height(){return this._getOption("height")}set height(T){this._setOption("height",T)}get hint(){return this._getOption("hint")}set hint(T){this._setOption("hint",T)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(T){this._setOption("hoverStateEnabled",T)}get icon(){return this._getOption("icon")}set icon(T){this._setOption("icon",T)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(T){this._setOption("rtlEnabled",T)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(T){this._setOption("stylingMode",T)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(T){this._setOption("tabIndex",T)}get template(){return this._getOption("template")}set template(T){this._setOption("template",T)}get text(){return this._getOption("text")}set text(T){this._setOption("text",T)}get type(){return this._getOption("type")}set type(T){this._setOption("type",T)}get useSubmitBehavior(){return this._getOption("useSubmitBehavior")}set useSubmitBehavior(T){this._setOption("useSubmitBehavior",T)}get validationGroup(){return this._getOption("validationGroup")}set validationGroup(T){this._setOption("validationGroup",T)}get visible(){return this._getOption("visible")}set visible(T){this._setOption("visible",T)}get width(){return this._getOption("width")}set width(T){this._setOption("width",T)}_createInstance(T,u){return new ie.Z(T,u)}ngOnDestroy(){this._destroyWidget()}}return I.\u0275fac=function(T){return new(T||I)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(A._5),i.Y36(A._h),i.Y36(A.al),i.Y36(n.ki),i.Y36(i.Lbi))},I.\u0275cmp=i.Xpm({type:I,selectors:[["dx-button"]],inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",disabled:"disabled",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",icon:"icon",rtlEnabled:"rtlEnabled",stylingMode:"stylingMode",tabIndex:"tabIndex",template:"template",text:"text",type:"type",useSubmitBehavior:"useSubmitBehavior",validationGroup:"validationGroup",visible:"visible",width:"width"},outputs:{onClick:"onClick",onContentReady:"onContentReady",onDisposing:"onDisposing",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",disabledChange:"disabledChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",iconChange:"iconChange",rtlEnabledChange:"rtlEnabledChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",templateChange:"templateChange",textChange:"textChange",typeChange:"typeChange",useSubmitBehaviorChange:"useSubmitBehaviorChange",validationGroupChange:"validationGroupChange",visibleChange:"visibleChange",widthChange:"widthChange"},features:[i._Bn([A._5,A._h,A.al]),i.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(T,u){1&T&&(i.F$t(),i.Hsn(0))},encapsulation:2}),I})(),W=(()=>{class I{}return I.\u0275fac=function(T){return new(T||I)},I.\u0275mod=i.oAB({type:I}),I.\u0275inj=i.cJS({imports:[[A.Lz,A.ie,n.Cu],A.ie]}),I})()},11020:(Je,Ae,a)=>{a.d(Ae,{W:()=>I});var n=a(11481),i=a(94650),ie=a(24572),A=a(24006),x=a(37217);const K={provide:A.JU,useExisting:(0,i.Gpc)(()=>W),multi:!0};let W=(()=>{class H extends x.Ay{constructor(u,d,F,q,U,Y,S,c){super(u,d,F,q,S,c),this._watcherHelper=q,this._idh=U,this.touched=g=>{},this._createEventEmitters([{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"valueChanged",emit:"onValueChanged"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"enableThreeStateBehaviorChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"iconSizeChange"},{emit:"isValidChange"},{emit:"nameChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"tabIndexChange"},{emit:"textChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"onBlur"}]),this._idh.setHost(this),Y.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(u){this._setOption("accessKey",u)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(u){this._setOption("activeStateEnabled",u)}get disabled(){return this._getOption("disabled")}set disabled(u){this._setOption("disabled",u)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(u){this._setOption("elementAttr",u)}get enableThreeStateBehavior(){return this._getOption("enableThreeStateBehavior")}set enableThreeStateBehavior(u){this._setOption("enableThreeStateBehavior",u)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(u){this._setOption("focusStateEnabled",u)}get height(){return this._getOption("height")}set height(u){this._setOption("height",u)}get hint(){return this._getOption("hint")}set hint(u){this._setOption("hint",u)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(u){this._setOption("hoverStateEnabled",u)}get iconSize(){return this._getOption("iconSize")}set iconSize(u){this._setOption("iconSize",u)}get isValid(){return this._getOption("isValid")}set isValid(u){this._setOption("isValid",u)}get name(){return this._getOption("name")}set name(u){this._setOption("name",u)}get readOnly(){return this._getOption("readOnly")}set readOnly(u){this._setOption("readOnly",u)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(u){this._setOption("rtlEnabled",u)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(u){this._setOption("tabIndex",u)}get text(){return this._getOption("text")}set text(u){this._setOption("text",u)}get validationError(){return this._getOption("validationError")}set validationError(u){this._setOption("validationError",u)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(u){this._setOption("validationErrors",u)}
1get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(u){this._setOption("validationMessageMode",u)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(u){this._setOption("validationMessagePosition",u)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(u){this._setOption("validationStatus",u)}get value(){return this._getOption("value")}set value(u){this._setOption("value",u)}get visible(){return this._getOption("visible")}set visible(u){this._setOption("visible",u)}get width(){return this._getOption("width")}set width(u){this._setOption("width",u)}change(u){}_createInstance(u,d){return new ie.Z(u,d)}writeValue(u){this.eventHelper.lockedValueChangeEvent=!0,this.value=u,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(u){this.disabled=u}registerOnChange(u){this.change=u}registerOnTouched(u){this.touched=u}_createWidget(u){super._createWidget(u),this.instance.on("focusOut",d=>{this.eventHelper.fireNgEvent("onBlur",[d])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(u){super.ngOnChanges(u),this.setupChanges("validationErrors",u)}setupChanges(u,d){u in this._optionsToUpdate||this._idh.setup(u,d)}ngDoCheck(){this._idh.doCheck("validationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(u,d){let F=this._idh.setupSingle(u,d),q=null!==this._idh.getChanges(u,d);(F||q)&&super._setOption(u,d)}}return H.\u0275fac=function(u){return new(u||H)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(x._5),i.Y36(x._h),i.Y36(x.i9),i.Y36(x.al),i.Y36(n.ki),i.Y36(i.Lbi))},H.\u0275cmp=i.Xpm({type:H,selectors:[["dx-check-box"]],hostBindings:function(u,d){1&u&&i.NdJ("valueChange",function(q){return d.change(q)})("onBlur",function(q){return d.touched(q)})},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",disabled:"disabled",elementAttr:"elementAttr",enableThreeStateBehavior:"enableThreeStateBehavior",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",iconSize:"iconSize",isValid:"isValid",name:"name",readOnly:"readOnly",rtlEnabled:"rtlEnabled",tabIndex:"tabIndex",text:"text",validationError:"validationError",validationErrors:"validationErrors",validationMessageMode:"validationMessageMode",validationMessagePosition:"validationMessagePosition",validationStatus:"validationStatus",value:"value",visible:"visible",width:"width"},outputs:{onContentReady:"onContentReady",onDisposing:"onDisposing",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",onValueChanged:"onValueChanged",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",disabledChange:"disabledChange",elementAttrChange:"elementAttrChange",enableThreeStateBehaviorChange:"enableThreeStateBehaviorChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",iconSizeChange:"iconSizeChange",isValidChange:"isValidChange",nameChange:"nameChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",tabIndexChange:"tabIndexChange",textChange:"textChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",visibleChange:"visibleChange",widthChange:"widthChange",onBlur:"onBlur"},features:[i._Bn([x._5,x._h,K,x.al,x.i9]),i.qOj,i.TTD],decls:0,vars:0,template:function(u,d){},encapsulation:2}),H})(),I=(()=>{class H{}return H.\u0275fac=function(u){return new(u||H)},H.\u0275mod=i.oAB({type:H}),H.\u0275inj=i.cJS({imports:[[x.Lz,x.ie,n.Cu],x.ie]}),H})()},67165:(Je,Ae,a)=>{a.d(Ae,{M:()=>mn,k:()=>Dn});var f,n=a(11481),i=a(94650),ie=a(67771),A=a(16129),x=a(64596),K=a(43615),W=a(83684),I=a(92657),H=a(24705),T=a(34594),u=a(56836),d=f=>f.getMonth()+1,F=(f,oe)=>{var s=f.getDate(),C=c("M",f),j=(0,I.n$)(parseInt(oe),C.min,C.max);f.setMonth(j-1,1);var{min:_e,max:Re}=c("dM",f),Le=(0,I.n$)(s,_e,Re);f.setDate(Le)},q={a:f=>f.getHours()<12?0:1,E:"getDay",y:"getFullYear",M:d,L:d,d:"getDate",H:"getHours",h:"getHours",m:"getMinutes",s:"getSeconds",S:"getMilliseconds"},U=(0,W.l)({},(0,T.xe)(),{a:(f,oe)=>{var s=f.getHours();s>=12!=!!parseInt(oe)&&f.setHours((s+12)%24)},d:(f,oe)=>{oe>c("dM",f).max&&f.setMonth(f.getMonth()+1),f.setDate(oe)},h:(f,oe)=>{var s=f.getHours()>=12;f.setHours(+oe%12+(s?12:0))},M:F,L:F,E:(f,oe)=>{oe<0||f.setDate(f.getDate()-f.getDay()+parseInt(oe))},y:(f,oe)=>{var s=f.getFullYear(),C=String(oe).length,j=String(c("y",f).max).length,_e=parseInt(String(s).substr(0,j-C)+oe);f.setFullYear(_e)}}),c=(f,oe,s)=>{var C={y:{min:0,max:9999},M:{min:1,max:12},L:{min:1,max:12},d:{min:1,max:31},dM:{min:1,max:new Date(oe.getFullYear(),oe.getMonth()+1,0).getDate()},E:{min:0,max:6},H:{min:0,max:23},h:{min:0,max:12},m:{min:0,max:59},s:{min:0,max:59},S:{min:0,max:999},a:{min:0,max:1}};return C[s||f]||C.getAmPm},b=a(56821),ue=a(84904),N=a(34500),Z=a(91553),V=a(45303),ne=a(13921),h=a(30805),E=a(12429),L=a(56872),M=a(83520),w=a(47331),Q=["year","day","month","day"],ae=["hours","minutes","seconds","milliseconds"],Ce={SUPPORTED_FORMATS:["date","time","datetime"],ONE_MINUTE:6e4,ONE_DAY:864e5,ONE_YEAR:31536e6,MIN_DATEVIEW_DEFAULT_DATE:new Date(1900,0,1),MAX_DATEVIEW_DEFAULT_DATE:(f=new Date,new Date(f.getFullYear()+50,f.getMonth(),f.getDate(),23,59,59)),FORMATS_INFO:{date:{getStandardPattern:function(){return"yyyy-MM-dd"},components:Q},time:{getStandardPattern:function(){return"HH:mm"},components:ae},datetime:{getStandardPattern:function(){var f,oe;return(oe=(0,M.Z)("<input>").attr("type","datetime")).val("2000-01-01T01:01Z"),oe.val()&&(f="yyyy-MM-ddTHH:mmZ"),f||(f="yyyy-MM-ddTHH:mm:ssZ"),Ce.FORMATS_INFO.datetime.getStandardPattern=function(){return f},f},components:[...Q,...ae]},"datetime-local":{getStandardPattern:function(){return"yyyy-MM-ddTHH:mm:ss"},components:[...Q,"hours","minutes","seconds"]}},FORMATS_MAP:{date:"shortdate",time:"shorttime",datetime:"shortdateshorttime"},SUBMIT_FORMATS_MAP:{date:"date",time:"time",datetime:"datetime-local"},toStandardDateFormat:function(f,oe){var s=Ce.FORMATS_INFO[oe].getStandardPattern();return w.Z.serializeDate(f,s)},fromStandardDateFormat:function(f){var oe=w.Z.dateParser(f);return(0,x.J_)(oe)?oe:void 0},getMaxMonthDay:function(f,oe){return new Date(f,oe+1,0).getDate()},mergeDates:function(f,oe,s){if(!oe)return oe||null;if(!f||isNaN(f.getTime())){var C=new Date(null);f=new Date(C.getFullYear(),C.getMonth(),C.getDate())}var j=new Date(f.valueOf());return(0,Z.S6)(Ce.FORMATS_INFO[s].components,function(){var Re=Ce.DATE_COMPONENTS_INFO[this];j[Re.setter](oe[Re.getter]())}),j},getLongestCaptionIndex:function(f){var C,oe=0,s=0;for(C=0;C<f.length;++C)f[C].length>s&&(oe=C,s=f[C].length);return oe},formatUsesMonthName:function(f){return b.Z.formatUsesMonthName(f)},formatUsesDayName:function(f){return b.Z.formatUsesDayName(f)},getLongestDate:function(f,oe,s){var C=function(f){var oe=typeof f;return"string"===oe?"format":"object"===oe&&void 0!==f.type?f.type:null}(f),j=9;(!C||Ce.formatUsesMonthName(C))&&(j=Ce.getLongestCaptionIndex(oe));var _e=new Date(1888,j,21,23,59,59,999);if(!C||Ce.formatUsesDayName(C)){var Re=_e.getDate()-_e.getDay()+Ce.getLongestCaptionIndex(s);_e.setDate(Re)}return _e},normalizeTime:function(f){f.setSeconds(0),f.setMilliseconds(0)}};Ce.DATE_COMPONENTS_INFO={year:{getter:"getFullYear",setter:"setFullYear",formatter:function(f,oe){var s=new Date(oe.getTime());return s.setFullYear(f),b.Z.format(s,"yyyy")},startValue:void 0,endValue:void 0},day:{getter:"getDate",setter:"setDate",formatter:function(f,oe){var s=new Date(oe.getTime());return s.setDate(f),b.Z.format(s,"d")},startValue:1,endValue:void 0},month:{getter:"getMonth",setter:"setMonth",formatter:function(f){return b.Z.getMonthNames()[f]},startValue:0,endValue:11},hours:{getter:"getHours",setter:"setHours",formatter:function(f){return b.Z.format(new Date(0,0,0,f),"hour")},startValue:0,endValue:23},minutes:{getter:"getMinutes",setter:"setMinutes",formatter:function(f){return b.Z.format(new Date(0,0,0,0,f),"minute")},startValue:0,endValue:59},seconds:{getter:"getSeconds",setter:"setSeconds",formatter:function(f){return b.Z.format(new Date(0,0,0,0,0,f),"second")},startValue:0,endValue:59},milliseconds:{getter:"getMilliseconds",setter:"setMilliseconds",formatter:function(f){return b.Z.format(new Date(0,0,0,0,0,0,f),"millisecond")},startValue:0,endValue:999}};const J=Ce;var z=a(139),le=a(40911),Oe=a(35806),O=a(24245),l=O.Z.abstract,G=O.Z.inherit({ctor:function(f){this.dateBox=f},widgetOption:function(){return this._widget&&this._widget.option.apply(this._widget,arguments)},_renderWidget:function(f){f=f||(0,M.Z)("<div>"),this._widget=this._createWidget(f),this._widget.$element().appendTo(this._getWidgetContainer())}
1,_createWidget:function(f){var oe=this._getWidgetName(),s=this._getWidgetOptions();return this.dateBox._createComponent(f,oe,s)},_getWidgetOptions:l,_getWidgetName:l,getDefaultOptions:function(){return{mode:"text"}},getDisplayFormat:l,supportedKeys:u.ZT,getKeyboardListener:u.ZT,customizeButtons:u.ZT,getParsedText:function(f,oe){return b.Z.parse(f,oe)||b.Z.parse(f)},renderInputMinMax:u.ZT,renderOpenedState:function(){this._updateValue()},popupConfig:l,_dimensionChanged:function(){var f;null===(f=this._getPopup())||void 0===f||f.repaint()},renderPopupContent:function(){var f=this._getPopup();this._renderWidget();var oe=f.$content().parent();H.Z.off(oe,"mousedown"),H.Z.on(oe,"mousedown",this._preventFocusOnPopup.bind(this))},getFirstPopupElement:u.ZT,getLastPopupElement:u.ZT,_preventFocusOnPopup:function(f){f.preventDefault()},_getWidgetContainer:function(){return this._getPopup().$content()},_getPopup:function(){return this.dateBox._popup},popupShowingHandler:u.ZT,popupHiddenHandler:u.ZT,_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},useCurrentDateByDefault:u.ZT,getDefaultDate:function(){return new Date},textChangedHandler:u.ZT,renderValue:function(){this.dateBox.option("opened")&&this._updateValue()},getValue:function(){return this._widget.option("value")},isAdaptivityChanged:function(){return!1},dispose:function(){var f=this._getPopup();f&&f.$content().empty()},dateBoxValue:function(){return arguments.length?this.dateBox.dateValue.apply(this.dateBox,arguments):this.dateBox.dateOption.apply(this.dateBox,["value"])}});const ye=G;var R=ye.inherit({NAME:"Calendar",getDefaultOptions:function(){return(0,W.l)(this.callBase(),{todayButtonText:le.Z.format("dxCalendar-todayButtonText")})},supportedKeys:function(){var f=function(oe){return!!this.option("opened")&&(oe.preventDefault(),!0)};return{rightArrow:function(){if(this.option("opened"))return!0},leftArrow:function(){if(this.option("opened"))return!0},enter:function(oe){if(this.dateBox.option("opened")){if(oe.preventDefault(),this._widget.option("zoomLevel")===this._widget.option("maxZoomLevel")){var s=this._getContouredValue(),C=this._lastActionElement,j=this._closeDropDownByEnter();return j&&s&&"calendar"===C&&this.dateBoxValue(s,oe),j&&this.dateBox.close(),this.dateBox._valueChangeEventHandler(oe),!j}return!0}this.dateBox._valueChangeEventHandler(oe)}.bind(this),home:f,end:f}},getDisplayFormat:function(f){return f||"shortdate"},_closeDropDownByEnter:()=>!0,_getWidgetName:function(){return Oe.Z},_getContouredValue:function(){return this._widget._view.option("contouredDate")},getKeyboardListener(){return this._widget},_getWidgetOptions:function(){var f=this.dateBox.option("disabledDates");return(0,W.l)(this.dateBox.option("calendarOptions"),{value:this.dateBoxValue()||null,dateSerializationFormat:null,min:this.dateBox.dateOption("min"),max:this.dateBox.dateOption("max"),onValueChanged:this._valueChangedHandler.bind(this),onCellClick:this._cellClickHandler.bind(this),tabIndex:null,disabledDates:(0,x.mf)(f)?this._injectComponent(f.bind(this.dateBox)):f,onContouredChanged:this._refreshActiveDescendant.bind(this),skipFocusCheck:!0})},_injectComponent:function(f){var oe=this;return function(s){return(0,W.l)(s,{component:oe.dateBox}),f(s)}},_refreshActiveDescendant:function(f){this._lastActionElement="calendar",this.dateBox.setAria("activedescendant",f.actionValue)},_getTodayButtonConfig(){var f=this.dateBox.option("buttonsLocation"),s="default"===f?["bottom","center"]:(0,u.Um)(f);return{widget:"dxButton",toolbar:s[0],location:"after"===s[1]?"before":s[1],options:{onInitialized:function(C){C.component.registerKeyHandler("escape",this._escapeHandler.bind(this))}.bind(this),onClick:C=>{this._widget._toTodayView(C)},text:this.dateBox.option("todayButtonText"),type:"today"}}},_isCalendarVisible:function(){var{calendarOptions:f}=this.dateBox.option();return(0,x.Qr)(f)||!1!==f.visible},_getPopupToolbarItems(f){return"useButtons"===this.dateBox.option("applyValueMode")&&this._isCalendarVisible()?[this._getTodayButtonConfig(),...f]:f},popupConfig:function(f){return(0,W.l)(!0,f,{position:{collision:"flipfit flip"},width:"auto"})},_escapeHandler:function(){this.dateBox.close(),this.dateBox.focus()},_valueChangedHandler:function(f){var oe=f.value,s=f.previousValue;L.Z.sameDate(oe,s)&&L.Z.sameHoursAndMinutes(oe,s)||"instantly"===this.dateBox.option("applyValueMode")&&this.dateBoxValue(this.getValue(),f.event)}
1,_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},textChangedHandler:function(){this._lastActionElement="input",this.dateBox.option("opened")&&this._widget&&this._updateValue(!0)},_cellClickHandler:function(f){var oe=this.dateBox;"instantly"===oe.option("applyValueMode")&&(oe.option("opened",!1),this.dateBoxValue(this.getValue(),f.event))}});const p=R;var y=a(12598),se=a(21374),De=a(1037),ge=a(40530),ke=a(35922),Ne=a(46885),Ge=a(80261),He="dx-dateview-item";class Xe extends ge.Z{_getDefaultOptions(){return(0,W.l)(super._getDefaultOptions(),{showScrollbar:"never",useNative:!1,selectedIndex:0,bounceEnabled:!1,items:[],showOnClick:!1,onClick:null,onSelectedIndexChanged:null,scrollByContent:!0})}_init(){super._init(),this.option("onVisibilityChange",this._visibilityChangedHandler.bind(this)),this.option("onEnd",this._endActionHandler.bind(this))}_render(){super._render(),this._renderSelectedItemFrame(),this.$element().addClass("dx-dateviewroller"),this._renderContainerClick(),this._renderItems(),this._renderSelectedValue(),this._renderItemsClick(),this._renderWheelEvent(),this._renderSelectedIndexChanged()}_renderSelectedIndexChanged(){this._selectedIndexChanged=this._createActionByOption("onSelectedIndexChanged")}_renderWheelEvent(){H.Z.on((0,M.Z)(this.container()),"dxmousewheel",oe=>{this._isWheelScrolled=!0})}_renderContainerClick(){if(this.option("showOnClick")){var oe=(0,A.V4)(De.u,this.NAME),s=this._createActionByOption("onClick");H.Z.off((0,M.Z)(this.container()),oe),H.Z.on((0,M.Z)(this.container()),oe,function(C){s({event:C})})}}_renderItems(){var oe=this.option("items")||[],s=(0,M.Z)();(0,M.Z)(this.content()).empty(),oe.forEach(function(C){s=s.add((0,M.Z)("<div>").addClass(He).append(C))}),(0,M.Z)(this.content()).append(s),this._$items=s,this.update()}_renderSelectedItemFrame(){(0,M.Z)("<div>").addClass("dx-dateview-item-selected-frame").append((0,M.Z)("<div>").addClass("dx-dateview-item-selected-border")).appendTo((0,M.Z)(this.container()))}_renderSelectedValue(oe){var s=this._fitIndex(oe??this.option("selectedIndex"));this._moveTo({top:this._getItemPosition(s)}),this._renderActiveStateItem()}_fitIndex(oe){var C=(this.option("items")||[]).length;return oe>=C?C-1:oe<0?0:oe}_getItemPosition(oe){return Math.round(this._itemHeight()*oe)}_renderItemsClick(){var oe=this._getItemSelector(),s=(0,A.V4)(De.u,this.NAME);H.Z.off(this.$element(),s,oe),H.Z.on(this.$element(),s,oe,this._itemClickHandler.bind(this))}_getItemSelector(){return"."+He}_itemClickHandler(oe){this.option("selectedIndex",this._itemElementIndex(oe.currentTarget))}_itemElementIndex(oe){return this._itemElements().index(oe)}_itemElements(){return this.$element().find(this._getItemSelector())}_renderActiveStateItem(){var oe=this.option("selectedIndex");(0,Z.S6)(this._$items,function(s){(0,M.Z)(this).toggleClass("dx-dateview-item-selected",oe===s)})}_shouldScrollToNeighborItem(){return"desktop"===ne.Z.real().deviceType&&this._isWheelScrolled}_moveTo(oe){var{top:s,left:C}=function tt(f,oe){if((0,x.PO)(f)){var s=(0,u.IS)(f.left,f.x),C=(0,u.IS)(f.top,f.y);return{left:(0,x.$K)(s)?s:void 0,top:(0,x.$K)(C)?C:void 0}}var{isHorizontal:j,isVertical:_e}=new Ge.I(oe);return{left:j&&(0,x.$K)(f)?f:void 0,top:_e&&(0,x.$K)(f)?f:void 0}}(oe),j=this.scrollOffset(),_e={x:j.left-C,y:j.top-s};if(this._isVisible()&&(_e.x||_e.y))if(this._prepareDirections(!0),this._animation&&!this._shouldScrollToNeighborItem()){var Re=this;ke.Z.stop((0,M.Z)(this.content())),ke.Z.animate((0,M.Z)(this.content()),{duration:200,type:"slide",to:{top:Math.floor(_e.y)},complete(){(0,Ne.Kx)((0,M.Z)(Re.content())),Re.handleMove({delta:_e})}}),delete this._animation}else this.handleMove({delta:_e})}_validate(oe){return this._moveIsAllowed(oe)}_fitSelectedIndexInRange(oe){var s=this.option("items").length;return Math.max(Math.min(oe,s-1),0)}_isInNullNeighborhood(oe){return-.1<=oe&&oe<=.1}_getSelectedIndexAfterScroll(oe){var j=this.scrollOffset().top-oe*this._itemHeight();return this._isInNullNeighborhood(j)?oe:this._fitSelectedIndexInRange(oe+(j>0?1:-1))}_getNewSelectedIndex(oe){if(this._shouldScrollToNeighborItem())return this._getSelectedIndexAfterScroll(oe);this._animation=!0;var s=this.scrollOffset().top/this._itemHeight();return Math.round(s)}_endActionHandler(){var oe=this.option("selectedIndex"),s=this._getNewSelectedIndex(oe);s===oe?this._renderSelectedValue(s):this.option("selectedIndex",s),this._isWheelScrolled=!1}_itemHeight(){var oe=this._$items.first();return(0,se.Cr)(oe)}_toggleActive(oe){this.$element().toggleClass("dx-state-active",oe)}_isVisible(){return(0,M.Z)(this.container()).is(":visible")}_fireSelectedIndexChanged(oe,s){this._selectedIndexChanged({value:oe,previousValue:s,event:void 0})}_visibilityChanged(oe){super._visibilityChanged(oe),this._visibilityChangedH
1andler(oe)}_visibilityChangedHandler(oe){oe&&(this._visibilityTimer=setTimeout(()=>{this._renderSelectedValue(this.option("selectedIndex"))})),this.toggleActiveState(!1)}toggleActiveState(oe){this.$element().toggleClass("dx-dateviewroller-current",oe)}_refreshSelectedIndex(){var oe=this.option("selectedIndex"),s=this._fitIndex(oe);s===oe?this._renderActiveStateItem():this.option("selectedIndex",s)}_optionChanged(oe){switch(oe.name){case"selectedIndex":this._fireSelectedIndexChanged(oe.value,oe.previousValue),this._renderSelectedValue(oe.value);break;case"items":this._renderItems(),this._refreshSelectedIndex();break;case"onClick":case"showOnClick":this._renderContainerClick();break;case"onSelectedIndexChanged":this._renderSelectedIndexChanged();break;default:super._optionChanged(oe)}}_dispose(){clearTimeout(this._visibilityTimer),super._dispose()}}(0,ie.Z)("dxDateViewRoller",Xe);const me=Xe;var et="dx-dateview",be=y.Z.inherit({_valueOption:function(){var f=this.option("value"),oe=new Date(f);return!f||isNaN(oe)?this._getDefaultDate():oe},_getDefaultDate:function(){var f=new Date;return"date"===this.option("type")?new Date(f.getFullYear(),f.getMonth(),f.getDate()):f},_getDefaultOptions:function(){return(0,W.l)(this.callBase(),{minDate:J.MIN_DATEVIEW_DEFAULT_DATE,maxDate:J.MAX_DATEVIEW_DEFAULT_DATE,type:"date",value:new Date,applyCompactClass:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(f){return"desktop"!==f.deviceType},options:{applyCompactClass:!0}}])},_render:function(){this.callBase(),this.$element().addClass(et),this._toggleFormatClasses(this.option("type")),this._toggleCompactClass()},_toggleFormatClasses:function(f,oe){this.$element().addClass(et+"-"+f),oe&&this.$element().removeClass(et+"-"+oe)},_toggleCompactClass:function(){this.$element().toggleClass("dx-dateview-compact",this.option("applyCompactClass"))},_wrapper:function(){return this._$wrapper},_renderContentImpl:function(){this._$wrapper=(0,M.Z)("<div>").addClass("dx-dateview-wrapper"),this._renderRollers(),this._$wrapper.appendTo(this.$element())},_renderRollers:function(){this._$rollersContainer||(this._$rollersContainer=(0,M.Z)("<div>").addClass("dx-dateview-rollers")),this._$rollersContainer.empty(),this._createRollerConfigs(),this._rollers={};var f=this;(0,Z.S6)(f._rollerConfigs,function(oe){var s=(0,M.Z)("<div>").appendTo(f._$rollersContainer).addClass("dx-dateviewroller-"+f._rollerConfigs[oe].type);f._rollers[f._rollerConfigs[oe].type]=f._createComponent(s,me,{items:f._rollerConfigs[oe].displayItems,selectedIndex:f._rollerConfigs[oe].selectedIndex,showScrollbar:"never",scrollByContent:!0,onStart:function(C){var j=C.component;j._toggleActive(!0),f._setActiveRoller(f._rollerConfigs[oe],j.option("selectedIndex"))},onEnd:function(C){C.component._toggleActive(!1)},onClick:function(C){var j=C.component;j._toggleActive(!0),f._setActiveRoller(f._rollerConfigs[oe],j.option("selectedIndex")),f._setRollerState(f._rollerConfigs[oe],j.option("selectedIndex")),j._toggleActive(!1)},onSelectedIndexChanged:function(C){f._setRollerState(f._rollerConfigs[oe],C.component.option("selectedIndex"))}})}),f._$rollersContainer.appendTo(f._wrapper())},_createRollerConfigs:function(f){var oe=this;f=f||oe.option("type"),oe._rollerConfigs={},b.Z.getFormatParts(J.FORMATS_MAP[f]).forEach(function(s){oe._createRollerConfig(s)})},_createRollerConfig:function(f){for(var oe=J.DATE_COMPONENTS_INFO[f],s=this._calculateRollerConfigValueRange(f),C=s.startValue,j=s.endValue,_e=oe.formatter,Re=this._getCurrentDate(),Le={type:f,setValue:oe.setter,valueItems:[],displayItems:[],getIndex:function($e){return $e[oe.getter]()-C}},ze=C;ze<=j;ze++)Le.valueItems.push(ze),Le.displayItems.push(_e(ze,Re));Le.selectedIndex=Le.getIndex(Re),this._rollerConfigs[f]=Le},_setActiveRoller:function(f){var oe=f&&this._rollers[f.type];(0,Z.S6)(this._rollers,function(){this.toggleActiveState(this===oe)})},_updateRollersPosition:function(){var f=this;(0,Z.S6)(this._rollers,function(oe){var s=f._rollerConfigs[oe].getIndex(f._getCurrentDate());this.option("selectedIndex",s)})},_setRollerState:function(f,oe){if(oe!==f.selectedIndex){var s=f.valueItems[oe],C=f.setValue,j=new Date(this._getCurrentDate()),_e=j.getDate(),Re=this.option("minDate"),Le=this.option("maxDate");"month"===f.type?_e=Math.min(_e,J.getMaxMonthDay(j.getFullYear(),s)):"year"===f.type&&(_e=Math.min(_e,J.getMaxMonthDay(s,j.getMonth()))),j.setDate(_e),j[C](s);var ze=L.Z.normalizeDate(j,Re,Le);j=J.mergeDates(ze,j,"time"),j=L.Z.normalizeDate(j,Re,Le),this.option("value",j),f.selectedIndex=oe}"year"===f.type&&this._refreshRollers(),"month"===f.type&&(this._refreshRoller("day"),this._refreshRoller("hours"))},_refreshRoller:function(f){var oe=this._rollers[f];if(oe){this._createRollerConfig(f);var s=this._rollerConfigs[f];("day"===f||s.displayItems.toString()!==oe.option("items").toString())&&oe.option({items:s.displayItems,selectedIndex:s.selectedIndex})}},_getCurrentDate:function(){var f=this._valueOption(),oe=this.option("minDate"),s=this.option("maxDate");return L.Z.normalizeDate(f,oe,s)},_calculateRollerConfigValueRange:function(f){var oe=this._getCurrentDate(),s=this.option("minDate"),C=this.option("maxDate"),j=L.Z.sameYear(oe,s),_e=j&&oe.getMonth()===s.getMonth(),Re=L.Z.sameYear(oe,C),Le=Re&&oe.getMonth()===C.getMonth(),ze=_e&&oe.getDate()===s.getDate(),$e=Le&&oe.getDate()===C.getDate(),lt=J.DATE_COMPONENTS_INFO[f],st=lt.startValue,rt=lt.endValue;return"year"===f&&(st=s.getFullYear(),rt=C.getFullYear()),"month"===f&&(j&&(st=s.getMonth()),Re&&(rt=C.getMonth())),"day"===f&&(rt=J.getMaxMonthDay(oe.getFullYear(),oe.getMonth()),j&&_e&&(st=s.getDate()),Re&&Le&&(rt=C.getDate())),"hours"===f&&(st=ze?s.getHours():st,rt=$e?C.getHours():rt),{startValue:st,endValue:rt}},_refreshRollers:function(){this._refreshRoller("month"),this._refreshRoller("day"),this._refreshRoller("hours")},_optionChanged:function(f){switch(f.name){case"minDate":case"maxDate":case"type":this._renderRollers(),this._toggleFormatClasses(f.value,f.previousValue);break;case"visible":this.callBase(f),f.value&&this._renderRollers();break;case"value":this.option("value",this._valueOption()),this._refreshRollers(),this._updateRollersPosition();break;default:this.callBase(f)}
1},_clean:function(){this.callBase(),delete this._$rollersContainer}});(0,ie.Z)("dxDateView",be);const we=be;var B=(0,N.Jj)(),de=ye.inherit({NAME:"DateView",getDefaultOptions:function(){return(0,W.l)(this.callBase(),{openOnFieldClick:!0,applyButtonText:le.Z.format("OK"),"dropDownOptions.showTitle":!0})},getDisplayFormat:function(f){return f||J.FORMATS_MAP[this.dateBox.option("type")]},popupConfig:function(f){return{toolbarItems:this.dateBox._popupToolbarItemsConfig(),onInitialized:f.onInitialized,defaultOptionsRules:[{device:{platform:"android"},options:{width:333,height:331}},{device:function(oe){var s=oe.platform;return"generic"===s||"ios"===s},options:{width:"auto",height:"auto"}},{device:function(oe){return"generic"===oe.platform&&oe.phone},options:{width:333,maxWidth:"100%",maxHeight:"100%",height:"auto",position:{collision:"flipfit flip"}}},{device:{platform:"ios",phone:!0},options:{width:"100%",position:{my:"bottom",at:"bottom",of:B}}}]}},_renderWidget:function(){if((0,V.inputType)(this.dateBox.option("mode"))&&this.dateBox._isNativeType()||this.dateBox.option("readOnly"))this._widget&&(this._widget.$element().remove(),this._widget=null);else{var f=this._getPopup();if(this._widget)this._widget.option(this._getWidgetOptions());else{var oe=(0,M.Z)("<div>").appendTo(f.$content());this._widget=this._createWidget(oe)}this._widget.$element().appendTo(this._getWidgetContainer())}},_getWidgetName:function(){return we},renderOpenedState:function(){this.callBase(),this._widget&&this._widget.option("value",this._widget._getCurrentDate())},_getWidgetOptions:function(){return{value:this.dateBoxValue()||new Date,type:this.dateBox.option("type"),minDate:this.dateBox.dateOption("min")||new Date(1900,0,1),maxDate:this.dateBox.dateOption("max")||new Date(Date.now()+50*J.ONE_YEAR),onDisposing:function(){this._widget=null}.bind(this)}}});const D=de;var m=ye.inherit({NAME:"Native",popupConfig:function(f){return(0,W.l)({},f,{width:"auto"})},getParsedText:function(f){return f?"datetime"===this.dateBox.option("type")?new Date(f.replace(/-/g,"/").replace("T"," ").split(".")[0]):J.fromStandardDateFormat(f):null},renderPopupContent:u.ZT,_getWidgetName:u.ZT,_getWidgetOptions:u.ZT,_getDateBoxType:function(){var f=this.dateBox.option("type");return J.SUPPORTED_FORMATS.includes(f)?"datetime"===f&&!(0,V.inputType)(f)&&(f="datetime-local"):f="date",f},customizeButtons:function(){var f=this.dateBox.getButton("dropDown");ne.Z.real().android&&f&&f.on("click",function(){this.dateBox._input().get(0).click()}.bind(this))},getDefaultOptions:function(){return{mode:this._getDateBoxType()}},getDisplayFormat:function(f){var oe=this._getDateBoxType();return f||J.FORMATS_MAP[oe]},renderInputMinMax:function(f){f.attr({min:w.Z.serializeDate(this.dateBox.dateOption("min"),"yyyy-MM-dd"),max:w.Z.serializeDate(this.dateBox.dateOption("max"),"yyyy-MM-dd")})}});const ee=m;var ve=a(34666),Be=a(20903),Ue=a(68262),X=a(47455),v=a(69388),re=a(14385),it="dxBoxItemData",ut={row:"minWidth",col:"minHeight"},ct={row:"maxWidth",col:"maxHeight"},mt={start:"flex-start",end:"flex-end",center:"center","space-between":"space-between","space-around":"space-around"},Ot={start:"flex-start",end:"flex-end",center:"center",stretch:"stretch"},Ct={row:"row",col:"column"},xt=(f,oe,s)=>{if(s=(0,X.bh)(oe,s),f.style[(0,X.Hj)(oe)]=s,!(0,N.Ym)()){if(""===s||!(0,x.$K)(s))return;var j=(0,Ue.H0)(oe)+": "+s+";";f.attributes.style?f.attributes.style.value.indexOf(j)<0&&(f.attributes.style.value+=" "+j):f.setAttribute("style",j)}};class yt extends v.Z{_renderVisible(oe,s){super._renderVisible(oe),(0,x.$K)(s)&&this._options.fireItemStateChangedAction({name:"visible",state:oe,oldState:s})}}class Tt{constructor(oe,s){this._$element=oe,this._option=s}renderBox(){this._$element.css({display:(0,X.gC)("flexDirection")+"flex"}),xt(this._$element.get(0),"flexDirection",Ct[this._option("direction")])}renderAlign(){this._$element.css({justifyContent:this._normalizedAlign()})}_normalizedAlign(){var oe=this._option("align");return oe in mt?mt[oe]:oe}renderCrossAlign(){this._$element.css({alignItems:this._normalizedCrossAlign()})}_normalizedCrossAlign(){var oe=this._option("crossAlign");return oe in Ot?Ot[oe]:oe}renderItems(oe){var s=(0,X.gC)("flexDirection"),C=this._option("direction");(0,Z.S6)(oe,function(){var j=(0,M.Z)(this),_e=j.data(it);j.css({display:s+"flex"}).css(ct[C],_e.maxSize||"none").css(ut[C],_e.minSize||"0"),xt(j.get(0),"flexBasis",_e.baseSize||0),xt(j.get(0),"flexGrow",_e.ratio),xt(j.get(0),"flexShrink",(0,x.$K)(_e.shrink)?_e.shrink:1),j.children().each((Re,Le)=>{(0,M.Z)(Le).css({width:"auto",height:"auto",display:(0,X.gC)("flexDirection")+"flex",flexBasis:0}),xt(Le,"flexGrow",1),xt(Le,"flexDirection",(0,M.Z)(Le)[0].style.flexDirection||"column")})})}}let St=(()=>{class f extends re.Z{_getDefaultOptions(){return(0,W.l)(super._getDefaultOptions(),{direction:"row",align:"start",crossAlign:"stretch",activeStateEnabled:!1,focusStateEnabled:!1,onItemStateChanged:void 0,_queue:void 0})}_itemClass(){return"dx-box-item"}_itemDataKey(){return it}_itemElements(){return this._itemContainer().children(this._itemSelector())}_init(){super._init(),this.$element().addClass("dx-box-flex"),this._initLayout(),this._initBoxQueue()}_initLayout(){this._layout=new Tt(this.$element(),this.option.bind(this))}_initBoxQueue(){this._queue=this.option("_queue")||[]}_queueIsNotEmpty(){return!this.option("_queue")&&!!this._queue.length}_pushItemToQueue(s,C){this._queue.push({$item:s,config:C})}_shiftItemFromQueue(){return this._queue.shift()}_initMarkup(){this.$element().addClass("dx-box"),this._layout.renderBox(),super._initMarkup(),this._renderAlign(),this._renderActions()}_renderActions(){this._onItemStateChanged=this._createActionByOption("onItemStateChanged")}_renderAlign(){this._layout.renderAlign(),this._layout.renderCrossAlign()}_renderItems(s){for(super._renderItems(s);this._queueIsNotEmpty();){var C=this._shiftItemFromQueue();this._createComponent(C.$item,f,(0,W.l)({itemTemplate:this.option("itemTemplate"),itemHoldTimeout:this.option("itemHoldTimeout"),onItemHold:this.option("onItemHold"),onItemClick:this.option("onItemClick"),onItemContextMenu:this.option("onItemContextMenu"),onItemRendered:this.option("onItemRendered"),_queue:this._queue},C.config))}this._layout.renderItems(this._itemElements())}_renderItemContent(s){var C=s.itemData&&s.itemData.node;return C?this._renderItemContentByNode(s,C):super._renderItemContent(s)}_postprocessRenderItem(s){var C=s.itemData.box;C&&this._pushItemToQueue(s.itemContent,C)}_createItemByTemplate(s,C){return C.itemData.box?s.source?s.source():(0,M.Z)():super._createItemByTemplate(s,C)}_itemOptionChanged(s,C,j,_e){"visible"===C&&this._onItemStateChanged({name:C,state:j,oldState:!1!==_e}),super._itemOptionChanged(s,C,j)}_optionChanged(s){switch(s.name){case"_queue":case"direction":this._invalidate();break;case"align":this._layout.renderAlign();break;case"crossAlign":this._layout.renderCrossAlign();break;default:super._optionChanged(s)}}_itemOptions(){var s=super._itemOptions();return s.fireItemStateChangedAction=C=>{this._onItemStateChanged(C)},s}}return f.ItemClass=yt,f})();(0,ie.Z)("dxBox",St);const Et=St;var Wt=function(f,oe,s){Mt(f,oe,s)},Mt=function(f,oe,s){f.css("transform","rotate("+oe+"deg) translate(0,"+s+"px)")},Xt=y.Z.inherit({_getDefaultOptions:function(){return(0,W.l)(this.callBase(),{value:new Date(Date.now()),use24HourFormat:!0,_showClock:!0,_arrowOffset:5,stylingMode:void 0})},_getValue:function(){return this.option("value")||new Date},_init:function(){this.callBase(),this.$element().addClass("dx-timeview")},_render:function(){this.callBase(),this._renderBox(),this._updateTime()},_renderBox:function(){var f=(0,M.Z)("<div>").appendTo(this.$element()),oe=[];this.option("_showClock")&&oe.push({ratio:1,shrink:0,baseSize:"auto",template:this._renderClock.bind(this)}),oe.push({ratio:0,shrink:0,baseSize:"auto",template:this._renderField.bind(this)}),this._createComponent(f,Et,{height:"100%",width:"100%",direction:"col",items:oe})},_renderClock:function(f,oe,s){this._$hourArrow=(0,M.Z)("<div>").addClass("dx-timeview-hourarrow"),this._$minuteArrow=(0,M.Z)("<div>").addClass("dx-timeview-minutearrow");var C=(0,M.Z)(s);C.addClass("dx-timeview-clock").append(this._$hourArrow).append(this._$minuteArrow),this.setAria("role","presentation",C)},_updateClock:function(){var f=this._getValue(),oe=f.getHours()/12*360+f.getMinutes()/60*30,s=f.getMinutes()/60*360;Wt(this._$hourArrow,oe,this.option("_arrowOffset")),Wt(this._$minuteArrow,s,this.option("_arrowOffset"))},_getBoxItems:function(f){var oe=[{ratio:0,shrink:0,baseSize:"auto",template:()=>this._hourBox.$element()},{ratio:0,shrink:0,baseSize:"auto",template:(0,M.Z)("<div>").addClass("dx-timeview-time-separator").text(b.Z.getTimeSeparator())},{ratio:0,shrink:0,baseSize:"auto",template:()=>this._minuteBox.$element()}];return f&&oe.push({ratio:0,shrink:0,baseSize:"auto",template:()=>this._format12.$element()}),oe},_renderField:function(){var f=!this.option("use24HourFormat");return this._createHourBox(f),this._createMinuteBox(),f&&this._createFormat12Box(),this._createComponent((0,M.Z)("<div>").addClass("dx-timeview-field"),Et,{direction:"row",align:"center",crossAlign:"center",items:this._getBoxItems(f)}).$element()},_createHourBox:function(f){(this._hourBox=this._createComponent((0,M.Z)("<div>"),ve.Z,(0,W.l)({min:-1,max:f?13:24,value:this._getValue().getHours(),onValueChanged:this._onHourBoxValueChanged.bind(this),onKeyboardHandled:s=>this._keyboardHandler(s)},this._getNumberBoxConfig()))).setAria("label","hours")},_isPM:function(){return!this.option("use24HourFormat")&&1===this._format12.option("value")},_onHourBoxValueChanged:function(f){var{value:oe,component:s}=f,C=this._getValue(),j=new Date(C),_e=this._convertMaxHourToMin(oe);s.option("value",_e),this._isPM()&&(_e+=12),j.setHours(_e),J.normalizeTime(j),this.option("value",j)},_convertMaxHourToMin:function(f){var oe=this.option("use24HourFormat")?24:12;return(oe+f)%oe},_createMinuteBox:function(){(this._minuteBox=this._createComponent((0,M.Z)("<div>"),ve.Z,(0,W.l)({min:-1,max:60,value:this._getValue().getMinutes(),onKeyboardHandled:oe=>this._keyboardHandler(oe),onValueChanged:oe=>{var{value:s,component:C}=oe,j=(60+s)%60;C.option("value",j);var _e=new Date(this._getValue());_e.setMinutes(j),J.normalizeTime(_e),this.option("value",_e)}},this._getNumberBoxConfig()))).setAria("label","minutes")},_createFormat12Box:function(){var f=b.Z.getPeriodNames();(this._format12=this._createComponent((0,M.Z)("<div>").addClass("dx-timeview-format12"),Be.Z,{items:[{value:-1,text:f[0]},{value:1,text:f[1]}],valueExpr:"value",displayExpr:"text",onKeyboardHandled:s=>this._keyboardHandler(s),onValueChanged:s=>{var{value:C}=s,j=this._getValue().getHours(),_e=new Date(this._getValue());_e.setHours((j+12*C)%24),this.option("value",_e)},value:this._getValue().getHours()>=12?1:-1,stylingMode:this.option("stylingMode")})).setAria("label","type")},_refreshFormat12:function(){if(!this.option("use24HourFormat")){var oe=this._getValue().getHours();this._silentEditorValueUpdate(this._format12,oe>=12?1:-1)}},_silentEditorValueUpdate:function(f,oe){f&&(f._suppressValueChangeAction(),f.option("value",oe),f._resumeValueChangeAction())},_getNumberBoxConfig:function(){return{showSpinButtons:!0,displayValueFormatter:function(f){return(f<10?"0":"")+f},stylingMode:this.option("stylingMode")}},_normalizeHours:function(f){return this.option("use24HourFormat")?f:f%12||12},_updateField:function(){var f=this._normalizeHours(this._getValue().getHours());this._silentEditorValueUpdate(this._hourBox,f),this._silentEditorValueUpdate(this._minuteBox,this._getValue().getMinutes()),this._refreshFormat12()},_updateTime:function(){this.option("_showClock")&&this._updateClock(),this._updateField()},_visibilityChanged:function(f){f&&this._updateTime()},_optionChanged:function(f){switch(f.name){case"value":this._updateTime(),this.callBase(f);break;case"_arrowOffset":break;case"use24HourFormat":case"_showClock":case"stylingMode":this._invalidate();break;default:this.callBase(f)}
1}});(0,ie.Z)("dxTimeView",Xt);const he=Xt;var Ee=(0,N.Jj)(),dt="dx-datebox-datetime-time-side",pt=p.inherit({NAME:"CalendarWithTime",getDefaultOptions:function(){return(0,W.l)(this.callBase(),{applyValueMode:"useButtons",buttonsLocation:"bottom after","dropDownOptions.showTitle":!1})},_closeDropDownByEnter:function(){return L.Z.sameDate(this._getContouredValue(),this.widgetOption("value"))},getDisplayFormat:function(f){return f||"shortdateshorttime"},_is24HourFormat:function(){return b.Z.is24HourFormat(this.getDisplayFormat(this.dateBox.option("displayFormat")))},_getContouredValue:function(){var f=this.callBase();return this._updateDateTime(f)},_renderWidget:function(){this.callBase(),this._timeView=this.dateBox._createComponent((0,M.Z)("<div>"),he,{value:this.dateBoxValue(),_showClock:!this._isShrinkView(),use24HourFormat:this._is24HourFormat(),onValueChanged:this._valueChangedHandler.bind(this),stylingMode:this.dateBox.option("stylingMode")}),this._timeView.registerKeyHandler("escape",this._escapeHandler.bind(this))},renderOpenedState:function(){this.callBase();var f=this._getPopup();f&&f.$wrapper().toggleClass("dx-datebox-adaptivity-mode",this._isSmallScreen()),clearTimeout(this._repaintTimer),this._repaintTimer=setTimeout(function(){this._getPopup()&&this._getPopup().repaint()}.bind(this),0)},isAdaptivityChanged:function(){var f=this._isShrinkView(),oe=this._currentAdaptiveMode;return f!==oe?(this._currentAdaptiveMode=f,void 0!==oe):this.callBase()},_updateValue:function(f){var oe=this.dateBoxValue();!oe&&!f&&J.normalizeTime(oe=new Date),this.callBase(),this._timeView&&(oe&&this._timeView.option("value",oe),this._timeView.option("use24HourFormat",this._is24HourFormat()))},_isSmallScreen:function(){return(0,se.dz)(Ee)<=573},_isShrinkView:function(){return!this.dateBox.option("showAnalogClock")||this.dateBox.option("adaptivityEnabled")&&this._isSmallScreen()},_getBoxItems:function(){var f=[{ratio:0,shrink:0,baseSize:"auto",name:"calendar"}];return this._isShrinkView()||f.push({ratio:0,shrink:0,baseSize:"auto",name:"time"}),f},renderPopupContent:function(){this.callBase(),this._currentAdaptiveMode=this._isShrinkView();var f=this._getPopup().$content();this._box=this.dateBox._createComponent((0,M.Z)("<div>").appendTo(f),Et,{direction:"row",crossAlign:"stretch",items:this._getBoxItems(),itemTemplate:function(oe,s,C){var j=(0,M.Z)("<div>");switch(oe.name){case"calendar":j.append(this._widget.$element()),this._isShrinkView()&&(this._timeView.$element().addClass(dt),j.append(this._timeView.$element()));break;case"time":j.append(this._timeView.$element()),(0,M.Z)(C).addClass(dt)}return j}.bind(this)}),this._attachTabHandler()},popupConfig:function(f){var oe=this.callBase(f);return(0,W.l)(oe,{width:"auto"})},getFirstPopupElement:function(){return this._timeView._hourBox.$element().find("input")},_attachTabHandler:function(){var f=this.dateBox;this._timeView._hourBox.registerKeyHandler("tab",function(oe){oe.shiftKey&&(oe.preventDefault(),f.focus())})},_preventFocusOnPopup:function(f){(0,M.Z)(f.target).hasClass("dx-texteditor-input")||(this.callBase.apply(this,arguments),this.dateBox._hasFocusClass()||this.dateBox.focus())},_updateDateTime:function(f){var oe=this._timeView.option("value");return f.setHours(oe.getHours(),oe.getMinutes(),oe.getSeconds(),oe.getMilliseconds()),f},getValue:function(){var f,oe=null!==(f=this._widget.option("value"))&&void 0!==f?f:this._widget.getContouredDate();return oe=oe?new Date(oe):new Date,this._updateDateTime(oe)},dispose:function(){clearTimeout(this._removeMinWidthTimer),clearTimeout(this._repaintTimer),this.callBase()}});const bt=pt;var It=a(69246),Ut=(a(51061),a(8588)),rn=(0,N.Jj)(),gn={min:new Date(0,0,0,0,0),max:new Date(0,0,0,23,59)},bn=ye.inherit({NAME:"List",supportedKeys:function(){return{tab:function(){var{opened:f,applyValueMode:oe}=this.option();f&&"instantly"===oe&&this.close()},space:u.ZT,home:u.ZT,end:u.ZT}},getDefaultOptions:function(){return(0,W.l)(this.callBase(),{applyValueMode:"instantly"})},getDisplayFormat:function(f){return f||"shorttime"},popupConfig:function(f){return f},getValue:function(){var f=this._widget.option("selectedIndex");return-1===f?this.dateBox.option("value"):this._getDateByItemData(this._widgetItems[f])},useCurrentDateByDefault:function(){return!0},getDefaultDate:function(){return new Date(null)},popupShowingHandler:function(){this.dateBox._dimensionChanged()},_renderWidget:function(){this.callBase(),this._refreshItems()}
1,_getWidgetName:function(){return It.Z},_getWidgetOptions:function(){return{itemTemplate:this._timeListItemTemplate.bind(this),onItemClick:this._listItemClickHandler.bind(this),tabIndex:-1,onFocusedItemChanged:this._refreshActiveDescendant.bind(this),selectionMode:"single"}},_refreshActiveDescendant:function(f){this.dateBox.setAria("activedescendant",""),this.dateBox.setAria("activedescendant",f.actionValue)},_refreshItems:function(){this._widgetItems=this._getTimeListItems(),this._widget.option("items",this._widgetItems)},renderOpenedState:function(){this._widget&&(this._widget.option("focusedElement",null),this._setSelectedItemsByValue(),this._widget.option("templatesRenderAsynchronously")?this._asyncScrollTimeout=setTimeout(this._scrollToSelectedItem.bind(this)):this._scrollToSelectedItem())},dispose:function(){this.callBase(),clearTimeout(this._asyncScrollTimeout)},_updateValue:function(){this._widget&&(this._refreshItems(),this._setSelectedItemsByValue(),this._scrollToSelectedItem())},_setSelectedItemsByValue:function(){var f=this.dateBoxValue(),oe=this._getDateIndex(f);-1===oe?this._widget.option("selectedItems",[]):this._widget.option("selectedIndex",oe)},_scrollToSelectedItem:function(){this._widget.scrollToItem(this._widget.option("selectedIndex"))},_getDateIndex:function(f){for(var oe=-1,s=0,C=this._widgetItems.length;s<C;s++)if(this._areDatesEqual(f,this._widgetItems[s])){oe=s;break}return oe},_areDatesEqual:function(f,oe){return(0,x.J_)(f)&&(0,x.J_)(oe)&&f.getHours()===oe.getHours()&&f.getMinutes()===oe.getMinutes()},_getTimeListItems:function(){var f=this.dateBox.dateOption("min")||this._getBoundaryDate("min"),oe=this.dateBox.dateOption("max")||this._getBoundaryDate("max"),s=this.dateBox.dateOption("value")||null,C=oe-f,j=f.getMinutes()%this.dateBox.option("interval");return C<0?[]:(C>J.ONE_DAY&&(C=J.ONE_DAY),s-f<J.ONE_DAY||((f=this._getBoundaryDate("min")).setMinutes(j),s&&Math.abs(s-oe)<J.ONE_DAY&&(C=(60*oe.getHours()+Math.abs(oe.getMinutes()-j))*J.ONE_MINUTE)),this._getRangeItems(f,new Date(f),C))},_getRangeItems:function(f,oe,s){for(var C=[],j=this.dateBox.option("interval");oe-f<=s;)C.push(new Date(oe)),oe.setMinutes(oe.getMinutes()+j);return C},_getBoundaryDate:function(f){var oe=gn[f],s=new Date((0,u.IS)(this.dateBox.dateOption("value"),0));return new Date(s.getFullYear(),s.getMonth(),s.getDate(),oe.getHours(),oe.getMinutes())},_timeListItemTemplate:function(f){var oe=this.dateBox.option("displayFormat");return b.Z.format(f,this.getDisplayFormat(oe))},_listItemClickHandler:function(f){if("useButtons"!==this.dateBox.option("applyValueMode")){var oe=this._getDateByItemData(f.itemData);this.dateBox.option("opened",!1),this.dateBoxValue(oe,f.event)}},_getDateByItemData:function(f){var oe=this.dateBox.option("value"),s=f.getHours(),C=f.getMinutes(),j=f.getSeconds(),_e=f.getFullYear(),Re=f.getMonth(),Le=f.getDate();return oe?((oe=this.dateBox.option("dateSerializationFormat")?w.Z.deserializeDate(oe):new Date(oe)).setHours(s),oe.setMinutes(C),oe.setSeconds(j),oe.setFullYear(_e),oe.setMonth(Re),oe.setDate(Le)):oe=new Date(_e,Re,Le,s,C,0,0),oe},getKeyboardListener:function(){return this._widget},_updatePopupHeight:function(){var f=(0,Ut.T)(this.dateBox.option("dropDownOptions.height"));if(void 0===f||"auto"===f){this.dateBox._setPopupOption("height","auto");var oe=(0,se.zp)(this._widget.$element()),s=.45*(0,se.Cr)(rn);this.dateBox._setPopupOption("height",Math.min(oe,s))}this.dateBox._timeList&&this.dateBox._timeList.updateDimensions()},getParsedText:function(f,oe){var s=this.callBase(f,oe);return s&&(s=J.mergeDates(s,new Date(null),"date")),s}});const xn=bn;var ln=(0,N.Jj)(),dn="dx-datebox",un="dx-datebox-wrapper",Lt={calendar:"calendar",rollers:"rollers",list:"list",native:"native"},Vt={date:"date",datetime:"datetime",time:"time"},Cn={Calendar:p,DateView:D,Native:ee,CalendarWithTime:bt,List:xn},yn=z.Z.inherit({_supportedKeys:function(){return(0,W.l)(this.callBase(),this._strategy.supportedKeys())},_renderButtonContainers:function(){this.callBase.apply(this,arguments),this._strategy.customizeButtons()},_getDefaultOptions:function(){return(0,W.l)(this.callBase(),{type:"date",showAnalogClock:!0,value:null,dateSerializationFormat:void 0,min:void 0,max:void 0,displayFormat:null,interval:30,disabledDates:null,pickerType:Lt.calendar,invali
1dDateMessage:le.Z.format("dxDateBox-validation-datetime"),dateOutOfRangeMessage:le.Z.format("validation-range"),applyButtonText:le.Z.format("OK"),adaptivityEnabled:!1,calendarOptions:{},useHiddenSubmitElement:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{"dropDownOptions.showTitle":!0}},{device:{platform:"android"},options:{buttonsLocation:"bottom after"}},{device:function(){var oe=ne.Z.real().platform;return"ios"===oe||"android"===oe},options:{pickerType:Lt.native}},{device:{platform:"generic",deviceType:"desktop"},options:{buttonsLocation:"bottom after"}}])},_initOptions:function(f){this._userOptions=(0,W.l)({},f),this.callBase(f),this._updatePickerOptions()},_updatePickerOptions:function(){var f=this.option("pickerType"),oe=this.option("type");f===Lt.list&&(oe===Vt.datetime||oe===Vt.date)&&(f=Lt.calendar),oe===Vt.time&&f===Lt.calendar&&(f=Lt.list),this._pickerType=f,this._setShowDropDownButtonOption()},_setShowDropDownButtonOption(){var f=ne.Z.real().platform,oe="android"===f&&h.Z.mozilla,s=this._isNativeType(),C="generic"!==f||!s;s&&oe&&(C=!1),this.option({showDropDownButton:C})},_init:function(){this._initStrategy(),this.option((0,W.l)({},this._strategy.getDefaultOptions(),this._userOptions)),delete this._userOptions,this.callBase()},_toLowerCaseFirstLetter:function(f){return f.charAt(0).toLowerCase()+f.substr(1)},_initStrategy:function(){var f=this._getStrategyName(this._getFormatType());this._strategy&&this._strategy.NAME===f||(this._strategy=new(0,Cn[f])(this))},_getFormatType:function(){var f=this.option("type"),oe=/h|m|s/g.test(f),C="";
1return/d|M|Y/g.test(f)&&(C+=Vt.date),oe&&(C+=Vt.time),C},_getStrategyName:function(f){var oe=this._pickerType;return oe===Lt.rollers?"DateView":oe===Lt.native?"Native":f===Vt.date?"Calendar":f===Vt.datetime?"CalendarWithTime":"List"},_initMarkup:function(){this.$element().addClass(dn),this.callBase(),this._refreshFormatClass(),this._refreshPickerTypeClass(),this._strategy.renderInputMinMax(this._input())},_render:function(){this.callBase(),this._formatValidationIcon()},_renderDimensions:function(){this.callBase(),this.$element().toggleClass("dx-auto-width",!this.option("width")),this._updatePopupWidth(),this._updatePopupHeight()},_dimensionChanged:function(){this.callBase(),this._updatePopupHeight()},_updatePopupHeight:function(){var f,oe;this._popup&&(null===(f=(oe=this._strategy)._updatePopupHeight)||void 0===f||f.call(oe))},_refreshFormatClass:function(){var f=this.$element();(0,Z.S6)(Vt,function(oe,s){f.removeClass(dn+"-"+s)}),f.addClass(dn+"-"+this.option("type"))},_refreshPickerTypeClass:function(){var f=this.$element();(0,Z.S6)(Lt,function(oe,s){f.removeClass(dn+"-"+s)}),f.addClass(dn+"-"+this._pickerType)},_formatValidationIcon:function(){if((0,N.Ym)()){var f=this._input().get(0),oe=this.option("rtlEnabled"),s=this._getClearButtonWidth(),C=this._getLongestElementDimensions(),j=parseFloat(ln.getComputedStyle(f).width)-s,_e=C.width>j,Re=f.style;this.$element().toggleClass("dx-show-invalid-badge",!_e),_e?(void 0===this._storedPadding&&(this._storedPadding=oe?C.leftPadding:C.rightPadding),oe?Re.paddingLeft=0:Re.paddingRight=0):oe?Re.paddingLeft=this._storedPadding+"px":Re.paddingRight=this._storedPadding+"px"}},_getClearButtonWidth:function(){var f=0;if(this._isClearButtonVisible()&&""===this._input().val()){var oe=this.$element().find(".dx-clear-button-area").get(0);f=parseFloat(ln.getComputedStyle(oe).width)}return f},_getLongestElementDimensions:function(){var f=this._strategy.getDisplayFormat(this.option("displayFormat")),oe=b.Z.format(J.getLongestDate(f,b.Z.getMonthNames(),b.Z.getDayNames()),f),s=this._input(),C=s.get(0),j=(0,K.l5)(s,oe),Re=void 0!==this._storedPadding?this._storedPadding:0;j.appendTo(this.$element());var Le=parseFloat(ln.getComputedStyle(j.get(0)).width),ze=parseFloat(ln.getComputedStyle(C).paddingRight),$e=parseFloat(ln.getComputedStyle(C).paddingLeft),lt=Le+$e+ze+Re;return j.remove(),{width:lt,leftPadding:$e,rightPadding:ze}},_getKeyboardListeners(){return this.callBase().concat([this._strategy&&this._strategy.getKeyboardListener()])},_renderPopup:function(){this.callBase(),this._popup.$wrapper().addClass(un),this._renderPopupWrapper()},_getPopupToolbarItems(){var f,oe,s,C=this.callBase();return null!==(f=null===(oe=(s=this._strategy)._getPopupToolbarItems)||void 0===oe?void 0:oe.call(s,C))&&void 0!==f?f:C},_popupConfig:function(){var f=this.callBase();return(0,W.l)(this._strategy.popupConfig(f),{title:this._getPopupTitle(),dragEnabled:!1})},_renderPopupWrapper:function(){if(this._popup){var f=this.$element(),oe=(0,W.l)({},Vt,Lt);(0,Z.S6)(oe,function(s,C){f.removeClass(un+"-"+C)}.bind(this)),this._popup.$wrapper().addClass(un+"-"+this.option("type")).addClass(un+"-"+this._pickerType).addClass("dx-dropdowneditor-overlay")}},_renderPopupContent:function(){this.callBase(),this._strategy.renderPopupContent()},_getFirstPopupElement:function(){return this._strategy.getFirstPopupElement()||this.callBase()},_getLastPopupElement:function(){return this._strategy.getLastPopupElement()||this.callBase()},_popupShowingHandler:function(){this.callBase(),this._strategy.popupShowingHandler()},_popupShownHandler:function(){this.callBase(),this._strategy.renderOpenedState()},_popupHiddenHandler:function(){this.callBase(),this._strategy.renderOpenedState(),this._strategy.popupHiddenHandler()},_visibilityChanged:function(f){f&&this._formatValidationIcon()},_clearValueHandler:function(f){this.option("text",""),this.callBase(f)},_readOnlyPropValue:function(){if(this._pickerType===Lt.rollers)return!0;var f=ne.Z.real().platform;return!this._isNativeType()||"ios"!==f&&"android"!==f?this.callBase():this.option("readOnly")},_isClearButtonVisible:function(){return this.callBase()&&!this._isNativeType()},_renderValue:function(){var f=this.dateOption("value");return this.option("text",this._getDisplayedText(f)),this._strategy.renderValue(),this.callBase()},_setSubmitValue:function(){var f=this.dateOption("value"),oe=this.option("dateSerializationFormat"),s=J.SUBMIT_FORMATS_MAP[this.option("type")],C=oe?w.Z.serializeDate(f,oe):J.toStandardDateFormat(f,s);this._getSubmitElement().val(C)},_getDisplayedText:function(f){var s,oe=this.option("mode");if("text"===oe){var C=this._strategy.getDisplayFormat(this.option("displayFormat"));s=b.Z.format(f,C)}else{var j=this._getFormatByMode(oe);s=j?b.Z.format(f,j):J.toStandardDateFormat(f,oe)}return s},_getFormatByMode:function(f){return(0,V.inputType)(f)?null:J.FORMATS_MAP[f]},_valueChangeEventHandler:function(f){var{text:oe,type:s,validationError:C}=this.option(),j=this.dateOption("value");if(oe!==this._getDisplayedText(j)){var _e=this._getParsedDate(oe),Re=j??this._getDateByDefault(),Le=J.mergeDates(Re,_e,s);if(this._applyInternalValidation(_e&&"time"===s?Le:_e).isValid){var $e=this._getDisplayedText(Le);Re&&Le&&Re.getTime()===Le.getTime()&&$e!==oe?this._renderValue():this.dateValue(Le,f)}}else(!C||C.editorSpecific)&&(this._applyInternalValidation(j),this._applyCustomValidation(j))},_getDateByDefault:function(){return this._strategy.useCurrentDateByDefault()&&this._strategy.getDefaultDate()},_getParsedDate:function(f){var oe=this._strategy.getDisplayFormat(this.option("displayFormat"));return this._strategy.getParsedText(f,oe)??void 0},_applyInternalValidation(f){var s=!!this.option("text")&&null!==f,C=!!f&&(0,x.J_)(f)&&!isNaN(f.getTime()),j=C&&L.Z.dateInRange(f,this.dateOption("min"),this.dateOption("max"),this.option("type")),_e=!s&&!f||j,Re="";return C?j||(Re=this.option("dateOutOfRangeMessage")):Re=this.option("invalidDateMessage"),this.option({isValid:_e,validationError:_e?null:{editorSpecific:!0,message:Re}}),{isValid:_e,isDate:C}},_applyCustomValidation:function(f){this.validationRequest.fire({editor:this,value:this._serializeDate(f)})},_isValueChanged:function(f){var oe=this.dateOption("value");return(oe&&oe.getTime())!==(f&&f.getTime())},_isTextChanged:function(f){return this.option("text")!==(f&&this._getDisplayedText(f)||"")},_renderProps:function(){this.callBase(),this._input().attr("autocomplete","off")},_renderOpenedState:function(){this._isNativeType()||this.callBase(),this._strategy.isAdaptivityChanged()&&this._refreshStrategy()},_getPopupTitle:function(){var f=this.option("placeholder");if(f)return f;var oe=this.option("type");
1return oe===Vt.time?le.Z.format("dxDateBox-simulatedDataPickerTitleTime"):oe===Vt.date||oe===Vt.datetime?le.Z.format("dxDateBox-simulatedDataPickerTitleDate"):""},_refreshStrategy:function(){this._strategy.dispose(),this._initStrategy(),this.option(this._strategy.getDefaultOptions()),this._refresh()},_applyButtonHandler:function(f){var oe=this._strategy.getValue();this.dateValue(oe,f.event),this.callBase()},_dispose:function(){var f;this.callBase(),null===(f=this._strategy)||void 0===f||f.dispose()},_isNativeType:function(){return this._pickerType===Lt.native},_updatePopupTitle:function(){var f;null===(f=this._popup)||void 0===f||f.option("title",this._getPopupTitle())},_optionChanged:function(f){switch(f.name){case"showClearButton":case"buttons":case"isValid":case"readOnly":this.callBase.apply(this,arguments),this._formatValidationIcon();break;case"pickerType":this._updatePickerOptions({pickerType:f.value}),this._refreshStrategy(),this._refreshPickerTypeClass(),this._invalidate();break;case"type":this._updatePickerOptions({format:f.value}),this._refreshStrategy(),this._refreshFormatClass(),this._renderPopupWrapper(),this._formatValidationIcon(),this._updateValue();break;case"placeholder":this.callBase.apply(this,arguments),this._updatePopupTitle();break;case"min":case"max":var oe=this.option("isValid");this._applyInternalValidation(this.dateOption("value")),oe||this._applyCustomValidation(this.dateOption("value")),this._invalidate();break;case"dateSerializationFormat":case"interval":case"disabledDates":case"calendarOptions":this._invalidate();break;case"displayFormat":this.option("text",this._getDisplayedText(this.dateOption("value"))),this._renderInputValue();break;case"text":this._strategy.textChangedHandler(f.value),this.callBase.apply(this,arguments);break;case"showDropDownButton":this._formatValidationIcon(),this.callBase.apply(this,arguments);break;case"todayButtonText":this._setPopupOption("toolbarItems",this._getPopupToolbarItems());break;case"invalidDateMessage":case"dateOutOfRangeMessage":case"adaptivityEnabled":case"showAnalogClock":break;default:this.callBase.apply(this,arguments)}},_getSerializationFormat:function(){var f=this.option("value");return this.option("dateSerializationFormat")&&(0,E.Z)().forceIsoDateParsing?this.option("dateSerializationFormat"):(0,x.kE)(f)?"number":(0,x.HD)(f)?w.Z.getDateSerializationFormat(f):void 0}
1,_updateValue:function(f){this.callBase(),this._applyInternalValidation(f??this.dateOption("value"))},dateValue:function(f,oe){var s=this._isValueChanged(f);return s&&oe&&this._saveValueChangeEvent(oe),s||(this._isTextChanged(f)?this._updateValue(f):""===this.option("text")&&this._applyCustomValidation(f)),this.dateOption("value",f)},dateOption:function(f,oe){if(1===arguments.length)return w.Z.deserializeDate(this.option(f));this.option(f,this._serializeDate(oe))},_serializeDate:function(f){var oe=this._getSerializationFormat();return w.Z.serializeDate(f,oe)},_clearValue:function(){var f=this.option("value");this.callBase(),null===f&&this._applyCustomValidation(null)},reset:function(){var f=this.option("value");this.callBase(),null===f&&this._applyInternalValidation(null)}});const $t=yn;var cn=a(29147),qt="dateBoxMask",In=$t.inherit({_supportedKeys(f){var oe=this.callBase(f),s=j=>{var _e=oe[(0,A.EV)(j)];return _e&&_e.apply(this,[j])},C=(j,_e)=>this._shouldUseOriginalHandler(j)?s.apply(this,[j]):_e.apply(this,[j]);return(0,W.l)({},oe,{del:j=>C(j,_e=>{this._revertPart(1),this._isAllSelected()||_e.preventDefault()}),backspace:j=>C(j,_e=>{this._revertPart(-1),this._isAllSelected()||_e.preventDefault()}),home:j=>C(j,_e=>{this._selectFirstPart(),_e.preventDefault()}),end:j=>C(j,_e=>{this._selectLastPart(),_e.preventDefault()}),escape:j=>C(j,_e=>{this._revertChanges(_e)}),enter:j=>C(j,()=>{this._enterHandler()}),leftArrow:j=>C(j,_e=>{this._selectNextPart(-1),_e.preventDefault()}),rightArrow:j=>C(j,_e=>{this._selectNextPart(1),_e.preventDefault()}),upArrow:j=>C(j,_e=>{this._upDownArrowHandler(1),_e.preventDefault()}),downArrow:j=>C(j,_e=>{this._upDownArrowHandler(-1),_e.preventDefault()})})},_shouldUseOriginalHandler(f){var oe=this.option("opened")&&f&&-1===["backspace","del"].indexOf((0,A.EV)(f));return!this._useMaskBehavior()||oe||f&&f.altKey},_upDownArrowHandler(f){this._setNewDateIfEmpty();var oe=this._getActivePartValue(this._initialMaskValue),C=this._getActivePartValue()-oe;this._loadMaskValue(this._initialMaskValue),this._partIncrease(C+f,!0)},_getDefaultOptions(){return(0,W.l)(this.callBase(),{useMaskBehavior:!1,emptyDateValue:new Date(2e3,0,1,0,0,0)})},_isSingleCharKey(f){var{originalEvent:oe,alt:s}=f,C=oe.data||oe.key;return"string"==typeof C&&1===C.length&&!s&&!(0,A.j1)(oe)},_isSingleDigitKey(f){var oe,s=null===(oe=f.originalEvent)||void 0===oe?void 0:oe.data;return 1===s?.length&&parseInt(s,10)},_useBeforeInputEvent:function(){return ne.Z.real().android},_keyInputHandler(f,oe){var s=this._input().val();this._processInputKey(oe),f.preventDefault(),s!==this._input().val()&&H.Z.trigger(this._input(),"input")},_keyboardHandler(f){var oe=f.originalEvent.key,s=this.callBase(f);return!this._useMaskBehavior()||this._useBeforeInputEvent()||(h.Z.chrome&&"Process"===f.key&&0===f.code.indexOf("Digit")?(oe=f.code.replace("Digit",""),this._processInputKey(oe),this._maskInputHandler=()=>{this._renderSelectedPart()}):this._isSingleCharKey(f)&&this._keyInputHandler(f.originalEvent,oe)),s},_maskBeforeInputHandler(f){this._maskInputHandler=null;var{inputType:oe}=f.originalEvent;"insertCompositionText"===oe&&(this._maskInputHandler=()=>{this._renderSelectedPart()});var s="deleteContentBackward"===oe;if(s||"deleteContentForward"===oe){var j=s?-1:1;this._maskInputHandler=()=>{this._revertPart(),this._selectNextPart(j)}}if(this._useMaskBehavior()&&this._isSingleCharKey(f))return this._keyInputHandler(f,f.originalEvent.data),!0},_keyPressHandler(f){var{originalEvent:oe}=f;"insertCompositionText"===oe?.inputType&&this._isSingleDigitKey(f)&&(this._processInputKey(oe.data),this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._selectNextPart()),this.callBase(f),this._maskInputHandler&&(this._maskInputHandler(),this._maskInputHandler=null)},_processInputKey(f){this._isAllSelected()&&(this._activePartIndex=0),this._setNewDateIfEmpty(),isNaN(parseInt(f))?this._searchString(f):this._searchNumber(f)},_isAllSelected(){var f=this._caret();return f.end-f.start===this.option("text").length},_getFormatPattern(){if(this._formatPattern)return this._formatPattern;var f=this._strategy.getDisplayFormat(this.option("displayFormat")),oe=(0,x.HD)(f)&&!b.Z._getPatternByFormat(f);return this._formatPattern=oe?f:(0,ue.y)(function(s){return b.Z.format(s,f)}),this._formatPattern},_setNewDateIfEmpty(){if(!this._maskValue){var f="time"===this.option("type")?new Date(null):new Date;this._maskValue=f,this._initialMaskValue=f,this._renderDateParts()}},_partLimitsReached(f){var oe=String(f).length,s=this._getActivePartProp("pattern").length,j=1===s?oe:Math.min(s,oe),_e=this._searchValue.length===j,Re=parseInt(this._searchValue+"0")>f;return _e||Re},_searchNumber(f){var{max:oe}=this._getActivePartLimits(),s=String(oe).length;this._searchValue=(this._searchValue+f).substr(-s),isNaN(this._searchValue)&&(this._searchValue=f),this._setActivePartValue(this._searchValue),this._partLimitsReached(oe)&&this._selectNextPart(1)},_searchString(f){if(isNaN(parseInt(this._getActivePartProp("text")))){for(var oe=this._getActivePartProp("limits")(this._maskValue),s=this._searchValue+f.toLowerCase(),C=oe.max-oe.min,j=0;j<=C;j++)if(this._loadMaskValue(this._initialMaskValue),this._partIncrease(j+1),0===this._getActivePartProp("text").toLowerCase().indexOf(s))return void(this._searchValue=s);this._setNewDateIfEmpty(),this._searchValue&&(this._clearSearchValue(),this._searchString(f))}},_clearSearchValue(){this._searchValue=""},_revertPart:function(f){if(!this._isAllSelected()){var oe=this._getActivePartValue(this.option("emptyDateValue"));this._setActivePartValue(oe),this._selectNextPart(f)}this._clearSearchValue()},_useMaskBehavior(){return this.option("useMaskBehavior")&&"text"===this.option("mode")},_prepareRegExpInfo(){this._regExpInfo=(0,T.oo)(this._getFormatPattern(),b.Z);var f=this._regExpInfo.regexp,oe=f.source,s=f.flags,C=new RegExp(/(\{[0-9]+,?[0-9]*\})/),j=oe.split(C).map(_e=>C.test(_e)?_e:cn.Z.convertDigits(_e,!1)).join("");this._regExpInfo.regexp=new RegExp(j,s)},_initMaskState(){this._activePartIndex=0,this._formatPattern=null,this._prepareRegExpInfo(),this._loadMaskValue()},_renderMask(){this.callBase(),this._detachMaskEvents(),this._clearMaskState(),this._useMaskBehavior()&&(this._attachMaskEvents(),this._initMaskState(),this._renderDateParts())},_renderDateParts(){if(this._useMaskBehavior()){var f=this.option("text")||this._getDisplayedText(this._maskValue);f&&(this._dateParts=((f,oe)=>{for(var s=oe.regexp.exec(f),C=0,j=0,_e=[],Re=function(){j=(C=j)+s[Le].length;var ze=oe.patterns[Le-1].replace(/^'|'$/g,""),$e=(f=>q[f]||(()=>f))(ze[0]);_e.push({index:Le-1,isStub:ze===s[Le],caret:{start:C,end:j},pattern:ze,text:s[Le],limits:function(){for(var lt=arguments.length,st=ne
1w Array(lt),rt=0;rt<lt;rt++)st[rt]=arguments[rt];return c(ze[0],...st)},setter:U[ze[0]]||u.ZT,getter:$e})},Le=1;Le<s.length;Le++)Re();return _e})(f,this._regExpInfo),this._input().is(":hidden")||this._selectNextPart())}},_detachMaskEvents(){H.Z.off(this._input(),"."+qt)},_attachMaskEvents(){H.Z.on(this._input(),(0,A.V4)("dxclick",qt),this._maskClickHandler.bind(this)),H.Z.on(this._input(),(0,A.V4)("paste",qt),this._maskPasteHandler.bind(this)),H.Z.on(this._input(),(0,A.V4)("drop",qt),()=>{this._renderSelectedPart()}),H.Z.on(this._input(),(0,A.V4)("compositionend",qt),this._maskCompositionEndHandler.bind(this)),this._useBeforeInputEvent()&&H.Z.on(this._input(),(0,A.V4)("beforeinput",qt),this._maskBeforeInputHandler.bind(this))},_renderSelectedPart(){this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._selectNextPart()},_selectLastPart(){this.option("text")&&(this._activePartIndex=this._dateParts.length,this._selectNextPart(-1))},_selectFirstPart(){this.option("text")&&(this._activePartIndex=-1,this._selectNextPart(1))},_onMouseWheel(f){this._useMaskBehavior()&&this._partIncrease(f.delta>0?1:-1,f)},_selectNextPart(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.option("text")&&!this._disposed){f&&(this._initialMaskValue=new Date(this._maskValue));var oe=(0,I.n$)(this._activePartIndex+f,0,this._dateParts.length-1);if(this._dateParts[oe].isStub){if(!(0===oe&&f<0||oe===this._dateParts.length-1&&f>0))return void this._selectNextPart(f>=0?f+1:f-1);oe=this._activePartIndex}this._activePartIndex!==oe&&this._clearSearchValue(),this._activePartIndex=oe,this._caret(this._getActivePartProp("caret"))}},_getRealLimitsPattern(){if("d"===this._getActivePartProp("pattern")[0])return"dM"},_getActivePartLimits(f){return this._getActivePartProp("limits")(this._maskValue,f&&this._getRealLimitsPattern())},_getActivePartValue(f){f=f||this._maskValue;var oe=this._getActivePartProp("getter");return(0,x.mf)(oe)?oe(f):f[oe]()},_addLeadingZeroes(f){var oe=this._searchValue.match(/^0+/),s=this._getActivePartLimits(),C=String(s.max).length;return((oe&&oe[0]||"")+String(f)).substr(-C)},_setActivePartValue(f,oe){oe=oe||this._maskValue;var s=this._getActivePartProp("setter"),C=this._getActivePartLimits();f=(0,I.Z2)(f,C.min,C.max)?f:f%10,f=this._addLeadingZeroes((0,I.n$)(f,C.min,C.max)),(0,x.mf)(s)?s(oe,f):oe[s](f),this._renderDisplayText(this._getDisplayedText(oe)),this._renderDateParts()},_getActivePartProp(f){if(this._dateParts&&this._dateParts[this._activePartIndex])return this._dateParts[this._activePartIndex][f]},_loadMaskValue(){var f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dateOption("value");this._maskValue=f&&new Date(f),this._initialMaskValue=f&&new Date(f)},_saveMaskValue(){var f=this._maskValue&&new Date(this._maskValue);f&&"date"===this.option("type")&&f.setHours(0,0,0,0),this._initialMaskValue=new Date(f),this.dateOption("value",f)},_revertChanges(){this._loadMaskValue(),this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts()},_renderDisplayText(f){this.callBase(f),this._useMaskBehavior()&&this.option("text",f)},_partIncrease(f,oe){this._setNewDateIfEmpty();var{max:s,min:C}=this._getActivePartLimits(oe),j=s-C;1===j&&j++;var _e=f+this._getActivePartValue();_e>s?_e=this._applyLimits(_e,{limitBase:C,limitClosest:s,limitDelta:j}):_e<C&&(_e=this._applyLimits(_e,{limitBase:s,limitClosest:C,limitDelta:j})),this._setActivePartValue(_e)},_applyLimits(f,oe){var{limitBase:s,limitClosest:C,limitDelta:j}=oe,_e=(f-C)%j;return _e?s+_e-1*(0,I.Xx)(_e):C},_maskClickHandler(){this._loadMaskValue(this._maskValue),this.option("text")&&(this._activePartIndex=((f,oe)=>{for(var s=0;s<f.length;s++)if(!f[s].isStub&&f[s].caret.end>=oe)return s;return null})(this._dateParts,this._caret().start),this._isAllSelected()||((0,x.$K)(this._activePartIndex)?this._caret(this._getActivePartProp("caret")):this._selectLastPart()))},_maskCompositionEndHandler(f){this._input().val(this._getDisplayedText(this._maskValue)),this._selectNextPart(),this._maskInputHandler=()=>{this._renderSelectedPart()}},_maskPasteHandler(f){var oe=this._replaceSelectedText(this.option("text"),this._caret(),(0,K.Zx)(f)),s=b.Z.parse(oe,this._getFormatPattern());s&&this._isDateValid(s)&&(this._maskValue=s,this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts(),this._selectNextPart()),f.preventDefault()},_isDateValid:f=>(0,x.J_)(f)&&!isNaN(f),_isValueDirty(){var f=this.dateOption("value");return(this._maskValue&&this._maskValue.getTime())!==(f&&f.getTime())},_fireChangeEvent(){this._clearSearchValue(),this._isValueDirty()&&H.Z.trigger(this._input(),"change")},_enterHandler(){this._fireChangeEvent(),this._selectNextPart(1)},_focusOutHandler(f){this._useMaskBehavior()&&!f.isDefaultPrevented()?(this._fireChangeEvent(),this.callBase(f),this._selectFirstPart(f)):this.callBase(f)}
1,_valueChangeEventHandler(f){var oe=this.option("text");this._useMaskBehavior()?(this._saveValueChangeEvent(f),oe?null===this._maskValue&&this._loadMaskValue(oe):this._maskValue=null,this._saveMaskValue()):this.callBase(f)},_optionChanged(f){switch(f.name){case"useMaskBehavior":this._renderMask();break;case"displayFormat":case"mode":this.callBase(f),this._renderMask();break;case"value":this._loadMaskValue(),this.callBase(f),this._renderDateParts();break;case"emptyDateValue":break;default:this.callBase(f)}},_clearMaskState(){this._clearSearchValue(),delete this._dateParts,delete this._activePartIndex,delete this._maskValue},reset(){this._clearMaskState(),this._activePartIndex=0,this.callBase()},_clean(){this.callBase(),this._detachMaskEvents(),this._clearMaskState()}});const pn=In;(0,ie.Z)("dxDateBox",pn);const on=pn;var wn=a(24006),Pt=a(37217),ft=a(84943);const An={provide:wn.JU,useExisting:(0,i.Gpc)(()=>mn),multi:!0};let mn=(()=>{class f extends Pt.Ay{constructor(s,C,j,_e,Re,Le,ze,$e){super(s,C,j,_e,ze,$e),this._watcherHelper=_e,this._idh=Re,this.touched=lt=>{},this._createEventEmitters([{subscribe:"change",emit:"onChange"},{subscribe:"closed",emit:"onClosed"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"copy",emit:"onCopy"},{subscribe:"cut",emit:"onCut"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"enterKey",emit:"onEnterKey"},{subscribe:"focusIn",emit:"onFocusIn"},{subscribe:"focusOut",emit:"onFocusOut"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"input",emit:"onInput"},{subscribe:"keyDown",emit:"onKeyDown"},{subscribe:"keyUp",emit:"onKeyUp"},{subscribe:"opened",emit:"onOpened"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"paste",emit:"onPaste"},{subscribe:"valueChanged",emit:"onValueChanged"},{emit:"acceptCustomValueChange"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"adaptivityEnabledChange"},{emit:"applyButtonTextChange"},{emit:"applyValueModeChange"},{emit:"buttonsChange"},{emit:"calendarOptionsChange"},{emit:"cancelButtonTextChange"},{emit:"dateOutOfRangeMessageChange"},{emit:"dateSerializationFormatChange"},{emit:"deferRenderingChange"},{emit:"disabledChange"},{emit:"disabledDatesChange"},{emit:"displayFormatChange"},{emit:"dropDownButtonTemplateChange"},{emit:"dropDownOptionsChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"inputAttrChange"},{emit:"intervalChange"},{emit:"invalidDateMessageChange"},{emit:"isValidChange"},{emit:"labelChange"},{emit:"labelModeChange"},{emit:"maxChange"},{emit:"maxLengthChange"},{emit:"minChange"},{emit:"nameChange"},{emit:"openedChange"},{emit:"openOnFieldClickChange"},{emit:"pickerTypeChange"},{emit:"placeholderChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"showAnalogClockChange"},{emit:"showClearButtonChange"},{emit:"showDropDownButtonChange"},{emit:"spellcheckChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"textChange"},{emit:"todayButtonTextChange"},{emit:"typeChange"},{emit:"useMaskBehaviorChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"valueChangeEventChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"onBlur"}]),this._idh.setHost(this),Le.setHost(this)}get acceptCustomValue(){return this._getOption("acceptCustomValue")}set acceptCustomValue(s){this._setOption("acceptCustomValue",s)}get accessKey(){return this._getOption("accessKey")}set accessKey(s){this._setOption("accessKey",s)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(s){this._setOption("activeStateEnabled",s)}get adaptivityEnabled(){return this._getOption("adaptivityEnabled")}set adaptivityEnabled(s){this._setOption("adaptivityEnabled",s)}get applyButtonText(){return this._getOption("applyButtonText")}set applyButtonText(s){this._setOption("applyButtonText",s)}get applyValueMode(){return this._getOption("applyValueMode")}set applyValueMode(s){this._setOption("applyValueMode",s)}get buttons(){return this._getOption("buttons")}set buttons(s){this._setOption("buttons",s)}get calendarOptions(){return this._getOption("calendarOptions")}set calendarOptions(s){this._setOption("calendarOptions",s)}get cancelButtonText(){return this._getOption("cancelButtonText")}set cancelButtonText(s){this._setOption("cancelButtonText",s)}get dateOutOfRangeMessage(){return this._getOption("dateOutOfRangeMessage")}set dateOutOfRangeMessage(s){this._setOption("dateOutOfRangeMessage",s)}get dateSerializationFormat(){return this._getOption("dateSerializationFormat")}set dateSerializationFormat(s){this._setOption("dateSerializationFormat",s)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(s){this._setOption("deferRendering",s)}get disabled(){return this._getOption("disabled")}set disabled(s){this._setOption("disabled",s)}get disabledDates(){return this._getOption("disabledDates")}set disabledDates(s){this._setOption("disabledDates",s)}get displayFormat(){return this._getOption("displayFormat")}set displayFormat(s){this._setOption("displayFormat",s)}get dropDownButtonTemplate(){return this._getOption("dropDownButtonTemplate")}set dropDownButtonTemplate(s){this._setOption("dropDownButtonTemplate",s)}get dropDownOptions(){return this._getOption("dropDownOptions")}set dropDownOptions(s){this._setOption("dropDownOptions",s)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(s){this._setOption("elementAttr",s)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(s){this._setOption("focusStateEnabled",s)}get height(){return this._getOption("height")}set height(s){this._setOption("height",s)}get hint(){return this._getOption("hint")}set hint(s){this._setOption("hint",s)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(s){this._setOption("hoverStateEnabled",s)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(s){this._setOption("inputAttr",s)}get interval(){return this._getOption("interval")}set interval(s){this._setOption("interval",s)}get invalidDateMessage(){return this._getOption("invalidDateMessage")}set invalidDateMessage(s){this._setOption("invalidDateMessage",s)}get isValid(){return this._getOption("isValid")}set isValid(s){this._setOption("isValid",s)}get label(){return this._getOption("label")}set label(s){this._setOption("label",s)}get labelMode(){return this._getOption("labelMode")}set labelMode(s){this._setOption("labelMode",s)}get max(){return this._getOption("max")}set max(s){this._setOption("max",s)}get maxLength(){return this._getOption("maxLength")}set maxLength(s){this._setOption("maxLength",s)}get min(){return this._getOption("min")}set min(s){this._setOption("min",s)}get name(){return this._getOption("name")}set name(s){this._setOption("name",s)}get opened(){return this._getOption("opened")}set opened(s){this._setOption("opened",s)}get openOnFieldClick(){return this._getOption("openOnFieldClick")}set openOnFieldClick(s){this._setOption("openOnFieldClick",s)}get pickerType(){return this._getOption("pickerType")}set pickerType(s){this._setOption("pickerType",s)}get placeholder(){return this._getOption("placeholder")}set placeholder(s){this._setOption("placeholder",s)}get readOnly(){return this._getOption("readOnly")}set readOnly(s){this._setOption("readOnly",s)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(s){this._setOption("rtlEnabled",s)}get showAnalogClock(){return this._getOption("showAnalogClock")}set showAnalogClock(s){this._setOption("showAnalogClock",s)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(s){this._setOption("showClearButton",s)}get showDropDownButton(){return this._getOption("showDropDownButton")}set showDropDownButton(s){this._setOption("showDropDownButton",s)}get spellcheck(){return this._getOption("spellcheck")}set spellcheck(s){this._setOption("spellcheck",s)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(s){this._setOption("stylingMode",s)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(s){this._setOption("tabIndex",s)}get text(){return this._getOption("text")}set text(s){this._setOption("text",s)}get todayButtonText(){return this._getOption("todayButtonText")}set todayButtonText(s){this._setOption("todayButtonText",s)}get type(){return this._getOption("type")}set type(s){this._setOption("type",s)}get useMaskBehavior(){return this._getOption("useMaskBehavior")}set useMaskBehavior(s){this._setOption("useMaskBehavior",s)}get validationError(){return this._getOption("validationError")}set validationError(s){this._setOption("validationError",s)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(s){this._setOption("validationErrors",s)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(s){this._setOption("validationMessageMode",s)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(s){this._setOption("validationMessagePosition",s)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(s){this._setOption("validationStatus",s)}get value(){return this._getOption("value")}set value(s){this._setOption("value",s)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(s){this._setOption("valueChangeEvent",s)}get visible(){return this._getOption("visible")}set visible(s){this._setOption("visible",s)}get width(){return this._getOption("width")}set width(s){this._setOption("width",s)}change(s){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(s){this.setChildren("buttons",s)}_createInstance(s,C){return new on(s,C)}writeValue(s){this.eventHelper.lockedValueChangeEvent=!0,this.value=s,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(s){this.disabled=s}registerOnChange(s){this.change=s}registerOnTouched(s){this.touched=s}_createWidget(s){super._createWidget(s),this.instance.on("focusOut",C=>{this.eventHelper.fireNgEvent("onBlur",[C])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(s){super.ngOnChanges(s),this.setupChanges("buttons",s),this.setupChanges("disabledDates",s),this.setupChanges("validationErrors",s)}setupChanges(s,C){s in this._optionsToUpdate||this._idh.setup(s,C)}ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("disabledDates"),this._idh.doCheck("val
1idationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(s,C){let j=this._idh.setupSingle(s,C),_e=null!==this._idh.getChanges(s,C);(j||_e)&&super._setOption(s,C)}}return f.\u0275fac=function(s){return new(s||f)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(Pt._5),i.Y36(Pt._h),i.Y36(Pt.i9),i.Y36(Pt.al),i.Y36(n.ki),i.Y36(i.Lbi))},f.\u0275cmp=i.Xpm({type:f,selectors:[["dx-date-box"]],contentQueries:function(s,C,j){if(1&s&&i.Suo(j,ft.k4o,4),2&s){let _e;i.iGM(_e=i.CRH())&&(C.buttonsChildren=_e)}},hostBindings:function(s,C){1&s&&i.NdJ("valueChange",function(_e){return C.change(_e)})("onBlur",function(_e){return C.touched(_e)})},inputs:{acceptCustomValue:"acceptCustomValue",accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",adaptivityEnabled:"adaptivityEnabled",applyButtonText:"applyButtonText",applyValueMode:"applyValueMode",buttons:"buttons",calendarOptions:"calendarOptions",cancelButtonText:"cancelButtonText",dateOutOfRangeMessage:"dateOutOfRangeMessage",dateSerializationFormat:"dateSerializationFormat",deferRendering:"deferRendering",disabled:"disabled",disabledDates:"disabledDates",displayFormat:"displayFormat",dropDownButtonTemplate:"dropDownButtonTemplate",dropDownOptions:"dropDownOptions",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",inputAttr:"inputAttr",interval:"interval",invalidDateMessage:"invalidDateMessage",isValid:"isValid",label:"label",labelMode:"labelMode",max:"max",maxLength:"maxLength",min:"min",name:"name",opened:"opened",openOnFieldClick:"openOnFieldClick",pickerType:"pickerType",placeholder:"placeholder",readOnly:"readOnly",rtlEnabled:"rtlEnabled",showAnalogClock:"showAnalogClock",showClearButton:"showClearButton",showDropDownButton:"showDropDownButton",spellcheck:"spellcheck",stylingMode:"stylingMode",tabIndex:"tabIndex",text:"text",todayButtonText:"todayButtonText",type:"type",useMaskBehavior:"useMaskBehavior",validationError:"validationError",validationErrors:"validationErrors",validationMessageMode:"validationMessageMode",validationMessagePosition:"validationMessagePosition",validationStatus:"validationStatus",value:"value",valueChangeEvent:"valueChangeEvent",visible:"visible",width:"width"},outputs:{onChange:"onChange",onClosed:"onClosed",onContentReady:"onContentReady",onCopy:"onCopy",onCut:"onCut",onDisposing:"onDisposing",onEnterKey:"onEnterKey",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onInitialized:"onInitialized",onInput:"onInput",onKeyDown:"onKeyDown",onKeyUp:"onKeyUp",onOpened:"onOpened",onOptionChanged:"onOptionChanged",onPaste:"onPaste",onValueChanged:"onValueChanged",acceptCustomValueChange:"acceptCustomValueChange",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",adaptivityEnabledChange:"adaptivityEnabledChange",applyButtonTextChange:"applyButtonTextChange",applyValueModeChange:"applyValueModeChange",buttonsChange:"buttonsChange",calendarOptionsChange:"calendarOptionsChange",cancelButtonTextChange:"cancelButtonTextChange",dateOutOfRangeMessageChange:"dateOutOfRangeMessageChange",dateSerializationFormatChange:"dateSerializationFormatChange",deferRenderingChange:"deferRenderingChange",disabledChange:"disabledChange",disabledDatesChange:"disabledDatesChange",displayFormatChange:"displayFormatChange",dropDownButtonTemplateChange:"dropDownButtonTemplateChange",dropDownOptionsChange:"dropDownOptionsChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",inputAttrChange:"inputAttrChange",intervalChange:"intervalChange",invalidDateMessageChange:"invalidDateMessageChange",isValidChange:"isValidChange",labelChange:"labelChange",labelModeChange:"labelModeChange",maxChange:"maxChange",maxLengthChange:"maxLengthChange",minChange:"minChange",nameChange:"nameChange",openedChange:"openedChange",openOnFieldClickChange:"openOnFieldClickChange",pickerTypeChange:"pickerTypeChange",placeholderChange:"placeholderChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",showAnalogClockChange:"showAnalogClockChange",showClearButtonChange:"showClearButtonChange",showDropDownButtonChange:"showDropDownButtonChange",spellcheckChange:"spellcheckChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",textChange:"textChange",todayButtonTextChange:"todayButtonTextChange",typeChange:"typeChange",useMaskBehaviorChange:"useMaskBehaviorChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",valueChangeEventChange:"valueChangeEventChange",visibleChange:"visibleChange",widthChange:"widthChange",onBlur:"onBlur"},features:[i._Bn([Pt._5,Pt._h,An,Pt.al,Pt.i9]),i.qOj,i.TTD],decls:0,vars:0,template:function(s,C){},encapsulation:2}),f})(),Dn=(()=>{class f{}return f.\u0275fac=function(s){return new(s||f)},f.\u0275mod=i.oAB({type:f}),f.\u0275inj=i.cJS({imports:[[ft.idP,ft.UxI,ft.sRG,ft.o0O,ft.ggs,ft.IOm,ft.kOw,ft.weU,ft.D_l,ft.JxK,ft.zZW,ft.ynY,ft.lgR,ft.sni,ft.waX,ft.pxS,ft.pGy,Pt.Lz,Pt.ie,n.Cu],ft.idP,ft.UxI,ft.sRG,ft.o0O,ft.ggs,ft.IOm,ft.kOw,ft.weU,ft.D_l,ft.JxK,ft.zZW,ft.ynY,ft.lgR,ft.sni,ft.waX,ft.pxS,ft.pGy,Pt.ie]}),f})()},84943:(Je,Ae,a)=>{a.d(Ae,{$D5:()=>Ge,D_l:()=>oi,FZZ:()=>Zn,Fkd:()=>di,IOm:()=>q,JxK:()=>J,Q8p:()=>te,QjJ:()=>st,UxI:()=>ni,Vp2:()=>x,ZT3:()=>P,ggs:()=>_t,idP:()=>m,k4o:()=>D,kOw:()=>Yn,lgR:()=>qn,nT1:()=>$n,o0O:()=>Re,pGy:()=>rt,pxS:()=>ui,sRG:()=>v,sni:()=>ei,vrV:()=>Ne,waX:()=>vi,weU:()=>Nn,ynY:()=>Zt,zZW:()=>De});var n=a(94650),i=a(37217),ie=a(36895);let x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),J=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),De=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),ke=(()=>{class t extends i.Fx{get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get html(){return this._getOption("html")}set html(e){this._setOption("html",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get title(){return this._getOption("title")}set title(e){this._setOption("title",e)}get titleTemplate(){return this._getOption("titleTemplate")}set titleTemplate(e){this._setOption("titleTemplate",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get onClick(){return this._getOption("onClick")}set onClick(e){this._setOption("onClick",e)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(e){this._setOption("stylingMode",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}get baseSize(){return this._getOption("baseSize")}set baseSize(e){this._setOption("baseSize",e)}get box(){return this._getOption("box")}set box(e){this._setOption("box",e)}get ratio(){return this._getOption("ratio")}set ratio(e){this._setOption("ratio",e)}get shrink(){return this._getOption("shrink")}set shrink(e){this._setOption("shrink",e)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(e){this._setOption("elementAttr",e)}get hint(){return this._getOption("hint")}set hint(e){this._setOption("hint",e)}get beginGroup(){return this._getOption("beginGroup")}set beginGroup(e){this._setOption("beginGroup",e)}get closeMenuOnClick(){return this._getOption("closeMenuOnClick")}set closeMenuOnClick(e){this._setOption("closeMenuOnClick",e)}get items(){return this._getOption("items")}set items(e){this._setOption("items",e)}get selectable(){return this._getOption("selectable")}set selectable(e){this._setOption("selectable",e)}get selected(){return this._getOption("selected")}set selected(e){this._setOption("selected",e)}
1get colSpan(){return this._getOption("colSpan")}set colSpan(e){this._setOption("colSpan",e)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get dataField(){return this._getOption("dataField")}set dataField(e){this._setOption("dataField",e)}get editorOptions(){return this._getOption("editorOptions")}set editorOptions(e){this._setOption("editorOptions",e)}get editorType(){return this._getOption("editorType")}set editorType(e){this._setOption("editorType",e)}get helpText(){return this._getOption("helpText")}set helpText(e){this._setOption("helpText",e)}get isRequired(){return this._getOption("isRequired")}set isRequired(e){this._setOption("isRequired",e)}get itemType(){return this._getOption("itemType")}set itemType(e){this._setOption("itemType",e)}get label(){return this._getOption("label")}set label(e){this._setOption("label",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get validationRules(){return this._getOption("validationRules")}set validationRules(e){this._setOption("validationRules",e)}get visibleIndex(){return this._getOption("visibleIndex")}set visibleIndex(e){this._setOption("visibleIndex",e)}get alignItemLabels(){return this._getOption("alignItemLabels")}set alignItemLabels(e){this._setOption("alignItemLabels",e)}get caption(){return this._getOption("caption")}set caption(e){this._setOption("caption",e)}get colCount(){return this._getOption("colCount")}set colCount(e){this._setOption("colCount",e)}get colCountByScreen(){return this._getOption("colCountByScreen")}set colCountByScreen(e){this._setOption("colCountByScreen",e)}get tabPanelOptions(){return this._getOption("tabPanelOptions")}set tabPanelOptions(e){this._setOption("tabPanelOptions",e)}get tabs(){return this._getOption("tabs")}set tabs(e){this._setOption("tabs",e)}get badge(){return this._getOption("badge")}set badge(e){this._setOption("badge",e)}get tabTemplate(){return this._getOption("tabTemplate")}set tabTemplate(e){this._setOption("tabTemplate",e)}get buttonOptions(){return this._getOption("buttonOptions")}set buttonOptions(e){this._setOption("buttonOptions",e)}get horizontalAlignment(){return this._getOption("horizontalAlignment")}set horizontalAlignment(e){this._setOption("horizontalAlignment",e)}get verticalAlignment(){return this._getOption("verticalAlignment")}set verticalAlignment(e){this._setOption("verticalAlignment",e)}get locateInMenu(){return this._getOption("locateInMenu")}set locateInMenu(e){this._setOption("locateInMenu",e)}get location(){return this._getOption("location")}set location(e){this._setOption("location",e)}get menuItemTemplate(){return this._getOption("menuItemTemplate")}set menuItemTemplate(e){this._setOption("menuItemTemplate",e)}get options(){return this._getOption("options")}set options(e){this._setOption("options",e)}get showText(){return this._getOption("showText")}set showText(e){this._setOption("showText",e)}get widget(){return this._getOption("widget")}set widget(e){this._setOption("widget",e)}get height(){return this._getOption("height")}set height(e){this._setOption("height",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}get imageAlt(){return this._getOption("imageAlt")}set imageAlt(e){this._setOption("imageAlt",e)}get imageSrc(){return this._getOption("imageSrc")}set imageSrc(e){this._setOption("imageSrc",e)}get acceptedValues(){return this._getOption("acceptedValues")}set acceptedValues(e){this._setOption("acceptedValues",e)}get formatName(){return this._getOption("formatName")}set formatName(e){this._setOption("formatName",e)}get formatValues(){return this._getOption("formatValues")}set formatValues(e){this._setOption("formatValues",e)}get key(){return this._getOption("key")}set key(e){this._setOption("key",e)}get showChevron(){return this._getOption("showChevron")}set showChevron(e){this._setOption("showChevron",e)}get heightRatio(){return this._getOption("heightRatio")}set heightRatio(e){this._setOption("heightRatio",e)}get widthRatio(){return this._getOption("widthRatio")}set widthRatio(e){this._setOption("widthRatio",e)}get expanded(){return this._getOption("expanded")}set expanded(e){this._setOption("expanded",e)}get hasItems(){return this._getOption("hasItems")}set hasItems(e){this._setOption("hasItems",e)}get id(){return this._getOption("id")}set id(e){this._setOption("id",e)}get parentId(){return this._getOption("parentId")}set parentId(e){this._setOption("parentId",e)}}return t.\u0275fac=function(){let o;return function(r){return(o||(o=n.n5z(t)))(r||t)}}(),t.\u0275cmp=n.Xpm({type:t,selectors:[["ng-component"]],features:[n.qOj],decls:0,vars:0,template:function(e,r){},encapsulation:2}),t})(),Ne=(()=>{class t extends i.Fx{constructor(e,r){super(),e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this))}get message(){return this._getOption("message")}set message(e){this._setOption("message",e)}get trim(){return this._getOption("trim")}set trim(e){this._setOption("trim",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}get ignoreEmptyValue(){return this._getOption("ignoreEmptyValue")}set ignoreEmptyValue(e){this._setOption("ignoreEmptyValue",e)}get max(){return this._getOption("max")}set max(e){this._setOption("max",e)}get min(){return this._getOption("min")}set min(e){this._setOption("min",e)}get reevaluate(){return this._getOption("reevaluate")}set reevaluate(e){this._setOption("reevaluate",e)}get validationCallback(){return this._getOption("validationCallback")}set validationCallback(e){this._setOption("validationCallback",e)}
1get comparisonTarget(){return this._getOption("comparisonTarget")}set comparisonTarget(e){this._setOption("comparisonTarget",e)}get comparisonType(){return this._getOption("comparisonType")}set comparisonType(e){this._setOption("comparisonType",e)}get pattern(){return this._getOption("pattern")}set pattern(e){this._setOption("pattern",e)}get _optionPath(){return"validationRules"}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-validation-rule"]],inputs:{message:"message",trim:"trim",type:"type",ignoreEmptyValue:"ignoreEmptyValue",max:"max",min:"min",reevaluate:"reevaluate",validationCallback:"validationCallback",comparisonTarget:"comparisonTarget",comparisonType:"comparisonType",pattern:"pattern"},features:[n._Bn([i.al]),n.qOj],decls:0,vars:0,template:function(e,r){},styles:[""]}),t})(),Ge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),tt=(()=>{class t extends i.Fx{get alignItemLabels(){return this._getOption("alignItemLabels")}set alignItemLabels(e){this._setOption("alignItemLabels",e)}get badge(){return this._getOption("badge")}set badge(e){this._setOption("badge",e)}get colCount(){return this._getOption("colCount")}set colCount(e){this._setOption("colCount",e)}get colCountByScreen(){return this._getOption("colCountByScreen")}set colCountByScreen(e){this._setOption("colCountByScreen",e)}get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get items(){return this._getOption("items")}set items(e){this._setOption("items",e)}get tabTemplate(){return this._getOption("tabTemplate")}set tabTemplate(e){this._setOption("tabTemplate",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get title(){return this._getOption("title")}set title(e){this._setOption("title",e)}get commands(){return this._getOption("commands")}set commands(e){this._setOption("commands",e)}get groups(){return this._getOption("groups")}set groups(e){this._setOption("groups",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}}return t.\u0275fac=function(){let o;return function(r){return(o||(o=n.n5z(t)))(r||t)}}(),t.\u0275cmp=n.Xpm({type:t,selectors:[["ng-component"]],features:[n.qOj],decls:0,vars:0,template:function(e,r){},encapsulation:2}),t})(),xe=(()=>{class t extends i.Fx{get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get items(){return this._getOption("items")}set items(e){this._setOption("items",e)}get location(){return this._getOption("location")}set location(e){this._setOption("location",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}}return t.\u0275fac=function(){let o;return function(r){return(o||(o=n.n5z(t)))(r||t)}}(),t.\u0275cmp=n.Xpm({type:t,selectors:[["ng-component"]],features:[n.qOj],decls:0,vars:0,template:function(e,r){},encapsulation:2}),t})(),Pe=(()=>{class t extends xe{constructor(e,r){super(),e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this))}get _optionPath(){return"commands"}get itemsChildren(){return this._getOption("items")}set itemsChildren(e){this.setChildren("items",e)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-command"]],contentQueries:function(e,r,ot){if(1&e&&n.Suo(ot,P,4),2&e){let Ye;n.iGM(Ye=n.CRH())&&(r.itemsChildren=Ye)}},inputs:{icon:"icon",items:"items",location:"location",name:"name",text:"text"},features:[n._Bn([i.al]),n.qOj],decls:0,vars:0,template:function(e,r){},styles:[""]}),t})(),He=(()=>{class t extends i.Fx{constructor(e,r){super(),e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this))}
1get commands(){return this._getOption("commands")}set commands(e){this._setOption("commands",e)}get title(){return this._getOption("title")}set title(e){this._setOption("title",e)}get category(){return this._getOption("category")}set category(e){this._setOption("category",e)}get displayMode(){return this._getOption("displayMode")}set displayMode(e){this._setOption("displayMode",e)}get expanded(){return this._getOption("expanded")}set expanded(e){this._setOption("expanded",e)}get shapes(){return this._getOption("shapes")}set shapes(e){this._setOption("shapes",e)}get _optionPath(){return"groups"}get commandsChildren(){return this._getOption("commands")}set commandsChildren(e){this.setChildren("commands",e)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-group"]],contentQueries:function(e,r,ot){if(1&e&&n.Suo(ot,Pe,4),2&e){let Ye;n.iGM(Ye=n.CRH())&&(r.commandsChildren=Ye)}},inputs:{commands:"commands",title:"title",category:"category",displayMode:"displayMode",expanded:"expanded",shapes:"shapes"},features:[n._Bn([i.al]),n.qOj],decls:0,vars:0,template:function(e,r){},styles:[""]}),t})();const Qe=["*"];let We=(()=>{class t extends tt{constructor(e,r,ot,Ye,an,sn){super(),this.renderer=ot,this.document=Ye,this.element=sn,e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this)),an.setHost(this)}get _optionPath(){return"tabs"}get itemsChildren(){return this._getOption("items")}set itemsChildren(e){this.setChildren("items",e)}get commandsChildren(){return this._getOption("commands")}set commandsChildren(e){this.setChildren("commands",e)}get groupsChildren(){return this._getOption("groups")}set groupsChildren(e){this.setChildren("groups",e)}setTemplate(e){this.template=e}ngAfterViewInit(){(0,i.UX)(this,this.element,this.renderer,this.document)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1),n.Y36(n.Qsj),n.Y36(ie.K0),n.Y36(i._5,1),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-tab"]],contentQueries:function(e,r,ot){if(1&e&&(n.Suo(ot,P,4),n.Suo(ot,Pe,4),n.Suo(ot,He,4)),2&e){let Ye;n.iGM(Ye=n.CRH())&&(r.itemsChildren=Ye),n.iGM(Ye=n.CRH())&&(r.commandsChildren=Ye),n.iGM(Ye=n.CRH())&&(r.groupsChildren=Ye)}},inputs:{alignItemLabels:"alignItemLabels",badge:"badge",colCount:"colCount",colCountByScreen:"colCountByScreen",disabled:"disabled",icon:"icon",items:"items",tabTemplate:"tabTemplate",template:"template",title:"title",commands:"commands",groups:"groups",name:"name"},features:[n._Bn([i.al,i._5]),n.qOj],ngContentSelectors:Qe,decls:1,vars:0,template:function(e,r){1&e&&(n.F$t(),n.Hsn(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),t})(),me=(()=>{class t extends i.Fx{constructor(e,r){super(),e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this))}get lat(){return this._getOption("lat")}set lat(e){this._setOption("lat",e)}get lng(){return this._getOption("lng")}set lng(e){this._setOption("lng",e)}get col(){return this._getOption("col")}set col(e){this._setOption("col",e)}get colspan(){return this._getOption("colspan")}set colspan(e){this._setOption("colspan",e)}get row(){return this._getOption("row")}set row(e){this._setOption("row",e)}get rowspan(){return this._getOption("rowspan")}set rowspan(e){this._setOption("rowspan",e)}get screen(){return this._getOption("screen")}set screen(e){this._setOption("screen",e)}get _optionPath(){return"location"}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-location"]],inputs:{lat:"lat",lng:"lng",col:"col",colspan:"colspan",row:"row",rowspan:"rowspan",screen:"screen"},features:[n._Bn([i.al]),n.qOj],decls:0,vars:0,template:function(e,r){},styles:[""]}),t})();const k=["*"];let P=(()=>{class t extends ke{constructor(e,r,ot,Ye,an,sn){super(),this.renderer=ot,this.document=Ye,this.element=sn,e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this)),an.setHost(this)}get _optionPath(){return"items"}get itemsChildren(){return this._getOption("items")}set itemsChildren(e){this.setChildren("items",e)}get validationRulesChildren(){return this._getOption("validationRules")}set validationRulesChildren(e){this.setChildren("validationRules",e)}get tabsChildren(){return this._getOption("tabs")}
1set tabsChildren(e){this.setChildren("tabs",e)}get locationChildren(){return this._getOption("location")}set locationChildren(e){this.setChildren("location",e)}setTemplate(e){this.template=e}ngAfterViewInit(){(0,i.UX)(this,this.element,this.renderer,this.document)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1),n.Y36(n.Qsj),n.Y36(ie.K0),n.Y36(i._5,1),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-item"]],contentQueries:function(e,r,ot){if(1&e&&(n.Suo(ot,t,4),n.Suo(ot,Ne,4),n.Suo(ot,We,4),n.Suo(ot,me,4)),2&e){let Ye;n.iGM(Ye=n.CRH())&&(r.itemsChildren=Ye),n.iGM(Ye=n.CRH())&&(r.validationRulesChildren=Ye),n.iGM(Ye=n.CRH())&&(r.tabsChildren=Ye),n.iGM(Ye=n.CRH())&&(r.locationChildren=Ye)}},inputs:{disabled:"disabled",html:"html",icon:"icon",template:"template",text:"text",title:"title",titleTemplate:"titleTemplate",visible:"visible",onClick:"onClick",stylingMode:"stylingMode",type:"type",baseSize:"baseSize",box:"box",ratio:"ratio",shrink:"shrink",elementAttr:"elementAttr",hint:"hint",beginGroup:"beginGroup",closeMenuOnClick:"closeMenuOnClick",items:"items",selectable:"selectable",selected:"selected",colSpan:"colSpan",cssClass:"cssClass",dataField:"dataField",editorOptions:"editorOptions",editorType:"editorType",helpText:"helpText",isRequired:"isRequired",itemType:"itemType",label:"label",name:"name",validationRules:"validationRules",visibleIndex:"visibleIndex",alignItemLabels:"alignItemLabels",caption:"caption",colCount:"colCount",colCountByScreen:"colCountByScreen",tabPanelOptions:"tabPanelOptions",tabs:"tabs",badge:"badge",tabTemplate:"tabTemplate",buttonOptions:"buttonOptions",horizontalAlignment:"horizontalAlignment",verticalAlignment:"verticalAlignment",locateInMenu:"locateInMenu",location:"location",menuItemTemplate:"menuItemTemplate",options:"options",showText:"showText",widget:"widget",height:"height",width:"width",imageAlt:"imageAlt",imageSrc:"imageSrc",acceptedValues:"acceptedValues",formatName:"formatName",formatValues:"formatValues",key:"key",showChevron:"showChevron",heightRatio:"heightRatio",widthRatio:"widthRatio",expanded:"expanded",hasItems:"hasItems",id:"id",parentId:"parentId"},features:[n._Bn([i.al,i._5]),n.qOj],ngContentSelectors:k,decls:1,vars:0,template:function(e,r){1&e&&(n.F$t(),n.Hsn(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),t})(),te=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),de=(()=>{class t extends i.Fx{get location(){return this._getOption("location")}set location(e){this._setOption("location",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get options(){return this._getOption("options")}set options(e){this._setOption("options",e)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get hint(){return this._getOption("hint")}set hint(e){this._setOption("hint",e)}get icon(){return this._getOption("icon")}set icon(e){this._setOption("icon",e)}get onClick(){return this._getOption("onClick")}set onClick(e){this._setOption("onClick",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}}return t.\u0275fac=function(){let o;return function(r){return(o||(o=n.n5z(t)))(r||t)}}(),t.\u0275cmp=n.Xpm({type:t,selectors:[["ng-component"]],features:[n.qOj],decls:0,vars:0,template:function(e,r){},encapsulation:2}),t})(),D=(()=>{class t extends de{constructor(e,r){super(),e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this))}get _optionPath(){return"buttons"}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-button"]],inputs:{location:"location",name:"name",options:"options",cssClass:"cssClass",disabled:"disabled",hint:"hint",icon:"icon",onClick:"onClick",template:"template",text:"text",visible:"visible"},features:[n._Bn([i.al]),n.qOj],decls:0,vars:0,template:function(e,r){},styles:[""]}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Zt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Re=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})();const lt=["*"];let st=(()=>{class t extends i.Fx{constructor(e,r,ot,Ye,an,sn){super(),this.renderer=ot,this.document=Ye,this.element=sn,e.setNestedOption(this),r.setHost(this,this._fullOptionPath.bind(this)),an.setHost(this)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get disabled(){return this._getOption("disabled")}set disabled(e){this._setOption("disabled",e)}get html(){return this._getOption("html")}set html(e){this._setOption("html",e)}get locateInMenu(){return this._getOption("locateInMenu")}set locateInMenu(e){this._setOption("locateInMenu",e)}get location(){return this._getOption("location")}set location(e){this._setOption("location",e)}get menuItemTemplate(){return this._getOption("menuItemTemplate")}set menuItemTemplate(e){this._setOption("menuItemTemplate",e)}get options(){return this._getOption("options")}set options(e){this._setOption("options",e)}get showText(){return this._getOption("showText")}set showText(e){this._setOption("showText",e)}get template(){return this._getOption("template")}set template(e){this._setOption("template",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get toolbar(){return this._getOption("toolbar")}set toolbar(e){this._setOption("toolbar",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get widget(){return this._getOption("widget")}set widget(e){this._setOption("widget",e)}get _optionPath(){return"toolbarItems"}setTemplate(e){this.template=e}ngAfterViewInit(){(0,i.UX)(this,this.element,this.renderer,this.document)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(i.al,5),n.Y36(i.al,1),n.Y36(n.Qsj),n.Y36(ie.K0),n.Y36(i._5,1),n.Y36(n.SBq))},t.\u0275cmp=n.Xpm({type:t,selectors:[["dxi-toolbar-item"]],inputs:{cssClass:"cssClass",disabled:"disabled",html:"html",locateInMenu:"locateInMenu",location:"location",menuItemTemplate:"menuItemTemplate",options:"options",showText:"showText",template:"template",text:"text",toolbar:"toolbar",visible:"visible",widget:"widget"},features:[n._Bn([i.al,i._5]),n.qOj],ngContentSelectors:lt,decls:1,vars:0,template:function(e,r){1&e&&(n.F$t(),n.Hsn(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),t})(),rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),_t=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Zn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Nn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),$n=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),Yn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),qn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),ei=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),ni=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),oi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),di=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),ui=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})(),vi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({}),t})()},4012:(Je,Ae,a)=>{a.d(Ae,{j:()=>Ge,w:()=>tt});var n=a(11481),i=a(94650),A=(a(32110),a(21374)),x=a(83520),K=a(34500),W=a(37075),I=a(68082),H=a(24705),T=a(67771),u=a(83684),d=a(46885),F=a(71924),q=a(64596),U=a(92657),Y=a(16129),S=a(6795),c=a(258),g=a(17839),b=a(87462),ue=a(63366),N=a(56836),Z={left:"borderLeftWidth",top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth"},Q=a(31390),ae=["shading","target","$arrow"],ce={left:-1,top:-1,center:0,right:1,bottom:1},Me={top:{my:"bottom center",at:"top center",collision:"fit flip"},bottom:{my:"top center",at:"bottom center",collision:"fit flip"},right:{my:"left center",at:"right center",collision:"flip fit"},left:{my:"right center",at:"left center",collision:"flip fit"}},pe={h:10,v:10};class Se extends Q.H{constructor(Pe){var{shading:fe,target:He,$arrow:je}=Pe;super((0,ue.Z)(Pe,ae)),this._props=(0,b.Z)({},this._props,{shading:fe,target:He}),this._$arrow=je,this._positionSide=void 0,this.updatePosition(this._props.position)}positionWrapper(){this._props.shading&&this._$wrapper.css({top:0,left:0})}updateTarget(Pe){this._props.target=Pe,this.updatePosition(this._props.position)}_renderBoundaryOffset(){}_getContainerPosition(){var Pe=(0,N.TG)(this._position.offset||""),{h:fe,v:He}=Pe,je=this._isVerticalSide(),Qe=this._isHorizontalSide();if(je||Qe){var k=(this._isPopoverInside()?-1:1)*ce[this._positionSide]*((je?(0,A.Cr)(this._$arrow):(0,A.dz)(this._$arrow))-this._getContentBorderWidth(this._positionSide));je?He+=k:fe+=k}return(0,u.l)({},this._position,{offset:fe+" "+He})}_getContentBorderWidth(Pe){var fe=this._$content.css(Z[Pe]);return parseInt(fe)||0}_isPopoverInside(){var Pe=F.Z.setup.normalizeAlign(this._position.my),fe=F.Z.setup.normalizeAlign(this._position.at);return Pe.h===fe.h&&Pe.v===fe.v}_isVerticalSide(){var Pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._positionSide;return"top"===Pe||"bottom"===Pe}_isHorizontalSide(){var Pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._positionSide;return"left"===Pe||"right"===Pe}_getDisplaySide(Pe){var fe=F.Z.setup.normalizeAlign(Pe.my),He=F.Z.setup.normalizeAlign(Pe.at),je=ce[fe.h]===ce[He.h]&&ce[fe.v]===ce[He.v]?-1:1;return Math.abs(ce[fe.h]-je*ce[He.h])>Math.abs(ce[fe.v]-je*ce[He.v])?He.h:He.v}_normalizePosition(Pe){var He,fe={of:this._props.target,boundaryOffset:pe};return He=(0,q.$K)(Pe)?(0,u.l)(!0,{},fe,this._positionToObject(Pe)):fe,this._positionSide=this._getDisplaySide(He),He}_positionToObject(Pe){return(0,q.HD)(Pe)?(0,u.l)({},Me[Pe]):Pe}}
1var Oe={left:"right",top:"bottom",right:"left",bottom:"top",center:"center"},O=function(xe){return(0,q.Kn)(xe)?xe.name:xe},l=function(xe,Pe){var fe=xe.option(Pe);return O(fe)},ye=function(xe,Pe){var{target:fe,shading:He,disabled:je,hideEvent:Qe}=xe.option(),We=(0,q.HD)(fe),Xe=He&&"hide"===Pe,me=Xe?null:l(xe,"".concat(Pe,"Event"));if(Xe&&Qe&&S.Z.log("W1020"),me&&!je){var et=(0,Y.V4)(me,xe.NAME),k=xe._createAction(function(){var Fe=function(xe,Pe){var fe=xe.option(Pe);return(0,q.Kn)(fe)&&fe.delay}(xe,Pe+"Event");this._clearEventsTimeouts(),Fe?this._timeouts[Pe]=setTimeout(function(){xe[Pe]()},Fe):xe[Pe]()}.bind(xe),{validatingTargetName:"target"}),P=function(Fe){k({event:Fe,target:(0,x.Z)(Fe.currentTarget)})},te="_"+Pe+"EventHandler";if(We)xe[te]=P,H.Z.on(I.Z.getDocument(),et,fe,P);else{var Te=(0,W.u)((0,x.Z)(fe));xe[te]=void 0,H.Z.on(Te,et,P)}}},R=function(xe,Pe,fe,He){var je=He||l(xe,fe+"Event");if(je){je=(0,Y.V4)(je,xe.NAME);var Qe="_"+fe+"EventHandler";xe[Qe]?H.Z.off(I.Z.getDocument(),je,Pe,xe[Qe]):H.Z.off((0,W.u)((0,x.Z)(Pe)),je)}},p=c.Z.inherit({_getDefaultOptions:function(){return(0,u.l)(this.callBase(),{target:void 0,shading:!1,position:(0,u.l)({},Me.bottom),hideOnOutsideClick:!0,animation:{show:{type:"fade",from:0,to:1},hide:{type:"fade",from:1,to:0}},showTitle:!1,width:"auto",height:"auto",dragEnabled:!1,resizeEnabled:!1,fullScreen:!1,hideOnParentScroll:!0,arrowPosition:"",arrowOffset:0,_fixWrapperPosition:!0})},_defaultOptionsRules:function(){return[{device:{platform:"ios"},options:{arrowPosition:{boundaryOffset:{h:20,v:-10},collision:"fit"}}},{device:function(){return!(0,K.Ym)()},options:{animation:null}}]},_init:function(){this.callBase(),this._renderArrow(),this._timeouts={},this.$element().addClass("dx-popover"),this.$wrapper().addClass("dx-popover-wrapper")},_render:function(){this.callBase.apply(this,arguments),this._detachEvents(this.option("target")),this._attachEvents()},_detachEvents:function(xe){R(this,xe,"show"),R(this,xe,"hide")},_attachEvents:function(){ye(this,"show"),ye(this,"hide")},_renderArrow:function(){this._$arrow=(0,x.Z)("<div>").addClass("dx-popover-arrow").prependTo(this.$overlayContent())},_documentDownHandler:function(xe){return!this._isOutsideClick(xe)||this.callBase(xe)},_isOutsideClick:function(xe){return!(0,x.Z)(xe.target).closest(this.option("target")).length},_animate:function(xe){xe&&xe.to&&"object"==typeof xe.to&&(0,u.l)(xe.to,{position:this._getContainerPosition()}),this.callBase.apply(this,arguments)},_stopAnimation:function(){this.callBase.apply(this,arguments)},_renderTitle:function(){this.$wrapper().toggleClass("dx-popover-without-title",!this.option("showTitle")),this.callBase()},_renderPosition:function(){var xe=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.callBase(),this._renderOverlayPosition(xe),this._actions.onPositioned()},_renderOverlayPosition:function(xe){this._resetOverlayPosition(xe),this._updateContentSize(xe);var Pe=this._getContainerPosition(),fe=F.Z.setup(this.$overlayContent(),Pe),He=this._getSideByLocation(fe);this._togglePositionClass("dx-position-"+He),this._toggleFlippedClass(fe.h.flip,fe.v.flip),(this._isHorizontalSide()||this._isVerticalSide())&&this._renderArrowPosition(He)},_resetOverlayPosition:function(xe){this._setContentHeight(xe),this._togglePositionClass("dx-position-"+this._positionController._positionSide),(0,d.pB)(this.$overlayContent(),{left:0,top:0}),this._$arrow.css({top:"auto",right:"auto",bottom:"auto",left:"auto"})},_updateContentSize:function(xe){if(this.$content()&&xe){var Pe=F.Z.calculate(this.$overlayContent(),this._getContainerPosition());if(Pe.h.oversize>0&&this._isHorizontalSide()&&!Pe.h.fit){var fe=(0,A.dz)(this.$overlayContent())-Pe.h.oversize;(0,A.cl)(this.$overlayContent(),fe)}if(Pe.v.oversize>0&&this._isVerticalSide()&&!Pe.v.fit){var He=(0,A.Cr)(this.$overlayContent())-Pe.v.oversize,je=(0,A.Cr)(this.$content())-Pe.v.oversize;(0,A.QQ)(this.$overlayContent(),He),(0,A.QQ)(this.$content(),je)}}},_getContainerPosition:function(){return this._positionController._getContainerPosition()},_getHideOnParentScrollTarget:function(){return(0,x.Z)(this._positionController._position.of||this.callBase())},_getSideByLocation:function(xe){var Pe=xe.v.flip,fe=xe.h.flip;return this._isVerticalSide()&&Pe||this._isHorizontalSide()&&fe||this._isPopoverInside()?Oe[this._positionController._positionSide]:this._positionController._positionSide},_togglePositionClass:function(xe){this.$wrapper().removeClass("dx-position-left dx-position-right dx-position-top dx-position-bottom").addClass(xe)},_toggleFlippedClass:function(xe,Pe){this.$wrapper().toggleClass("dx-popover-flipped-horizontal",xe).toggleClass("dx-popover-flipped-vertical",Pe)},_renderArrowPosition:function(xe){var Pe=(0,g.l)(this._$arrow.get(0)),fe=-(this._isVerticalSide(xe)?Pe.height:Pe.width);this._$arrow.css(Oe[xe],fe);var be,He=this._isVerticalSide(xe)?"left":"top",je=this._isVerticalSide(xe)?"width":"height",Qe=(0,x.Z)(this._positionController._position.of),We=F.Z.offset(Qe)||{top:0,left:0},Xe=F.Z.offset(this.$overlayContent()),me=Pe[je],et=Xe[He],k=(0,g.l)(this.$overlayContent().get(0))[je],P=We[He],te=Qe.get(0),Te=te&&!te.preventDefault?(0,g.l)(te)[je]:0,Fe=Math.max(et,P),Ke=Math.min(et+k,P+Te);be="start"===this.option("arrowPosition")?Fe-et:"end"===this.option("arrowPosition")?Ke-et-me:(Fe+Ke)/2-et-me/2;var we=this._positionController._getContentBorderWidth(xe),B=(0,U.n$)(be-we+this.option("arrowOffset"),we,k-me-2*we);this._$arrow.css(He,B)},_isPopoverInside:function(){return this._positionController._isPopoverInside()},_setContentHeight:function(xe){xe&&this.callBase()},_getPositionControllerConfig(){var{shading:xe,target:Pe}=this.option();return(0,u.l)({},this.callBase(),{target:Pe,shading:xe,$arrow:this._$arrow})},_initPositionController(){this._positionController=new Se(this._getPositionControllerConfig())},_renderWrapperDimensions:function(){this.option("shading")&&this.$wrapper().css({width:"100%",height:"100%"})},_isVerticalSide:function(xe){return this._positionController._isVerticalSide(xe)},_isHorizontalSide:function(xe){return this._positionController._isHorizontalSide(xe)},_clearEventTimeout:function(xe){clearTimeout(this._timeouts[xe])},_clearEventsTimeouts:function(){this._clearEventTimeout("show"),this._clearEventTimeout("hide")},_clean:function(){this._detachEvents(this.option("target")),this.callBase.apply(this,arguments)}
1,_optionChanged:function(xe){switch(xe.name){case"arrowPosition":case"arrowOffset":this._renderGeometry();break;case"fullScreen":xe.value&&this.option("fullScreen",!1);break;case"target":xe.previousValue&&this._detachEvents(xe.previousValue),this._positionController.updateTarget(xe.value),this._invalidate();break;case"showEvent":case"hideEvent":var Pe=xe.name.substring(0,4),fe=O(xe.previousValue);this.hide(),R(this,this.option("target"),Pe,fe),ye(this,Pe);break;case"visible":this._clearEventTimeout(xe.value?"show":"hide"),this.callBase(xe);break;default:this.callBase(xe)}},show:function(xe){return xe&&this.option("target",xe),this.callBase()}});(0,T.Z)("dxPopover",p);const y=p;let se=(()=>{class xe extends y{_getToolbarName(){return"dxToolbar"}}return xe.defaultOptions=function(Pe){y.defaultOptions(Pe)},xe})();(0,T.Z)("dxPopover",se);const De=se;var ge=a(37217),ke=a(84943);const Ne=["*"];let Ge=(()=>{class xe extends ge.Ay{constructor(fe,He,je,Qe,We,Xe,me,et){super(fe,He,je,Qe,me,et),this._watcherHelper=Qe,this._idh=We,this._createEventEmitters([{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"hidden",emit:"onHidden"},{subscribe:"hiding",emit:"onHiding"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"showing",emit:"onShowing"},{subscribe:"shown",emit:"onShown"},{subscribe:"titleRendered",emit:"onTitleRendered"},{emit:"animationChange"},{emit:"closeOnOutsideClickChange"},{emit:"containerChange"},{emit:"contentTemplateChange"},{emit:"copyRootClassesToWrapperChange"},{emit:"deferRenderingChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"heightChange"},{emit:"hideEventChange"},{emit:"hideOnOutsideClickChange"},{emit:"hideOnParentScrollChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"maxHeightChange"},{emit:"maxWidthChange"},{emit:"minHeightChange"},{emit:"minWidthChange"},{emit:"positionChange"},{emit:"rtlEnabledChange"},{emit:"shadingChange"},{emit:"shadingColorChange"},{emit:"showCloseButtonChange"},{emit:"showEventChange"},{emit:"showTitleChange"},{emit:"targetChange"},{emit:"titleChange"},{emit:"titleTemplateChange"},{emit:"toolbarItemsChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"wrapperAttrChange"}]),this._idh.setHost(this),Xe.setHost(this)}get animation(){return this._getOption("animation")}set animation(fe){this._setOption("animation",fe)}get closeOnOutsideClick(){return this._getOption("closeOnOutsideClick")}set closeOnOutsideClick(fe){this._setOption("closeOnOutsideClick",fe)}get container(){return this._getOption("container")}set container(fe){this._setOption("container",fe)}get contentTemplate(){return this._getOption("contentTemplate")}set contentTemplate(fe){this._setOption("contentTemplate",fe)}get copyRootClassesToWrapper(){return this._getOption("copyRootClassesToWrapper")}set copyRootClassesToWrapper(fe){this._setOption("copyRootClassesToWrapper",fe)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(fe){this._setOption("deferRendering",fe)}get disabled(){return this._getOption("disabled")}set disabled(fe){this._setOption("disabled",fe)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(fe){this._setOption("elementAttr",fe)}get height(){return this._getOption("height")}set height(fe){this._setOption("height",fe)}get hideEvent(){return this._getOption("hideEvent")}set hideEvent(fe){this._setOption("hideEvent",fe)}get hideOnOutsideClick(){return this._getOption("hideOnOutsideClick")}set hideOnOutsideClick(fe){this._setOption("hideOnOutsideClick",fe)}get hideOnParentScroll(){return this._getOption("hideOnParentScroll")}set hideOnParentScroll(fe){this._setOption("hideOnParentScroll",fe)}get hint(){return this._getOption("hint")}set hint(fe){this._setOption("hint",fe)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(fe){this._setOption("hoverStateEnabled",fe)}get maxHeight(){return this._getOption("maxHeight")}set maxHeight(fe){this._setOption("maxHeight",fe)}get maxWidth(){return this._getOption("maxWidth")}set maxWidth(fe){this._setOption("maxWidth",fe)}get minHeight(){return this._getOption("minHeight")}set minHeight(fe){this._setOption("minHeight",fe)}get minWidth(){return this._getOption("minWidth")}set minWidth(fe){this._setOption("minWidth",fe)}get position(){return this._getOption("position")}set position(fe){this._setOption("position",fe)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(fe){this._setOption("rtlEnabled",fe)}get shading(){return this._getOption("shading")}set shading(fe){this._setOption("shading",fe)}get shadingColor(){return this._getOption("shadingColor")}set shadingColor(fe){this._setOption("shadingColor",fe)}get showCloseButton(){return this._getOption("showCloseButton")}set showCloseButton(fe){this._setOption("showCloseButton",fe)}get showEvent(){return this._getOption("showEvent")}set showEvent(fe){this._setOption("showEvent",fe)}get showTitle(){return this._getOption("showTitle")}set showTitle(fe){this._setOption("showTitle",fe)}get target(){return this._getOption("target")}set target(fe){this._setOption("target",fe)}get title(){return this._getOption("title")}set title(fe){this._setOption("title",fe)}get titleTemplate(){return this._getOption("titleTemplate")}set titleTemplate(fe){this._setOption("titleTemplate",fe)}get toolbarItems(){return this._getOption("toolbarItems")}set toolbarItems(fe){this._setOption("toolbarItems",fe)}get visible(){return this._getOption("visible")}set visible(fe){this._setOption("visible",fe)}get width(){return this._getOption("width")}set width(fe){this._setOption("width",fe)}get wrapperAttr(){return this._getOption("wrapperAttr")}set wrapperAttr(fe){this._setOption("wrapperAttr",fe)}get toolbarItemsChildren(){return this._getOption("toolbarItems")}set toolbarItemsChildren(fe){this.setChildren("toolbarItems",fe)}_createInstance(fe,He){return new De(fe,He)}ngOnDestroy(){this._destroyWidget()}ngOnChanges(fe){super.ngOnChanges(fe),this.setupChanges("toolbarItems",fe)}setupChanges(fe,He){fe in this._optionsToUpdate||this._idh.setup(fe,He)}ngDoCheck(){this._idh.doCheck("toolbarItems"),this._watcherHelper.checkWatchers(),super.ngDoC
1heck(),super.clearChangedOptions()}_setOption(fe,He){let je=this._idh.setupSingle(fe,He),Qe=null!==this._idh.getChanges(fe,He);(je||Qe)&&super._setOption(fe,He)}}return xe.\u0275fac=function(fe){return new(fe||xe)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(ge._5),i.Y36(ge._h),i.Y36(ge.i9),i.Y36(ge.al),i.Y36(n.ki),i.Y36(i.Lbi))},xe.\u0275cmp=i.Xpm({type:xe,selectors:[["dx-popover"]],contentQueries:function(fe,He,je){if(1&fe&&i.Suo(je,ke.QjJ,4),2&fe){let Qe;i.iGM(Qe=i.CRH())&&(He.toolbarItemsChildren=Qe)}},inputs:{animation:"animation",closeOnOutsideClick:"closeOnOutsideClick",container:"container",contentTemplate:"contentTemplate",copyRootClassesToWrapper:"copyRootClassesToWrapper",deferRendering:"deferRendering",disabled:"disabled",elementAttr:"elementAttr",height:"height",hideEvent:"hideEvent",hideOnOutsideClick:"hideOnOutsideClick",hideOnParentScroll:"hideOnParentScroll",hint:"hint",hoverStateEnabled:"hoverStateEnabled",maxHeight:"maxHeight",maxWidth:"maxWidth",minHeight:"minHeight",minWidth:"minWidth",position:"position",rtlEnabled:"rtlEnabled",shading:"shading",shadingColor:"shadingColor",showCloseButton:"showCloseButton",showEvent:"showEvent",showTitle:"showTitle",target:"target",title:"title",titleTemplate:"titleTemplate",toolbarItems:"toolbarItems",visible:"visible",width:"width",wrapperAttr:"wrapperAttr"},outputs:{onContentReady:"onContentReady",onDisposing:"onDisposing",onHidden:"onHidden",onHiding:"onHiding",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",onShowing:"onShowing",onShown:"onShown",onTitleRendered:"onTitleRendered",animationChange:"animationChange",closeOnOutsideClickChange:"closeOnOutsideClickChange",containerChange:"containerChange",contentTemplateChange:"contentTemplateChange",copyRootClassesToWrapperChange:"copyRootClassesToWrapperChange",deferRenderingChange:"deferRenderingChange",disabledChange:"disabledChange",elementAttrChange:"elementAttrChange",heightChange:"heightChange",hideEventChange:"hideEventChange",hideOnOutsideClickChange:"hideOnOutsideClickChange",hideOnParentScrollChange:"hideOnParentScrollChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",maxHeightChange:"maxHeightChange",maxWidthChange:"maxWidthChange",minHeightChange:"minHeightChange",minWidthChange:"minWidthChange",positionChange:"positionChange",rtlEnabledChange:"rtlEnabledChange",shadingChange:"shadingChange",shadingColorChange:"shadingColorChange",showCloseButtonChange:"showCloseButtonChange",showEventChange:"showEventChange",showTitleChange:"showTitleChange",targetChange:"targetChange",titleChange:"titleChange",titleTemplateChange:"titleTemplateChange",toolbarItemsChange:"toolbarItemsChange",visibleChange:"visibleChange",widthChange:"widthChange",wrapperAttrChange:"wrapperAttrChange"},features:[i._Bn([ge._5,ge._h,ge.al,ge.i9]),i.qOj,i.TTD],ngContentSelectors:Ne,decls:1,vars:0,template:function(fe,He){1&fe&&(i.F$t(),i.Hsn(0))},encapsulation:2}),xe})(),tt=(()=>{class xe{}return xe.\u0275fac=function(fe){return new(fe||xe)},xe.\u0275mod=i.oAB({type:xe}),xe.\u0275inj=i.cJS({imports:[[ke.IOm,ke.kOw,ke.weU,ke.D_l,ke.JxK,ke.zZW,ke.ynY,ke.lgR,ke.sni,ke.waX,ke.pxS,ke.nT1,ke.Fkd,ke.pGy,ge.Lz,ge.ie,n.Cu],ke.IOm,ke.kOw,ke.weU,ke.D_l,ke.JxK,ke.zZW,ke.ynY,ke.lgR,ke.sni,ke.waX,ke.pxS,ke.nT1,ke.Fkd,ke.pGy,ge.ie]}),xe})()},460:(Je,Ae,a)=>{a.d(Ae,{C:()=>I,x:()=>W});var n=a(11481),i=a(94650),ie=a(7864),A=a(37217),x=a(84943);const K=["*"];let W=(()=>{class H extends A.Ay{constructor(u,d,F,q,U,Y,S,c){super(u,d,F,q,S,c),this._watcherHelper=q,this._idh=U,this._createEventEmitters([{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"hidden",emit:"onHidden"},{subscribe:"hiding",emit:"onHiding"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"resize",emit:"onResize"},{subscribe:"resizeEnd",emit:"onResizeEnd"},{subscribe:"resizeStart",emit:"onResizeStart"},{subscribe:"showing",emit:"onShowing"},{subscribe:"shown",emit:"onShown"},{subscribe:"titleRendered",emit:"onTitleRendered"},{emit:"accessKeyChange"},{emit:"animationChange"},{emit:"closeOnOutsideClickChange"},{emit:"containerChange"},{emit:"contentTemplateChange"},{emit:"copyRootClassesToWrapperChange"},{emit:"deferRenderingChange"},{emit:"disabledChange"},{emit:"dragAndResizeAreaChange"},{emit:"dragEnabledChange"},{emit:"dragOutsideBoundaryChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"fullScreenChange"},{emit:"heightChange"},{emit:"hideOnOutsideClickChange"},{emit:"hideOnParentScrollChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"maxHeightChange"},{emit:"maxWidthChange"},{emit:"minHeightChange"},{emit:"minWidthChange"},{emit:"positionChange"},{emit:"resizeEnabledChange"},{emit:"restorePositionChange"},{emit:"rtlEnabledChange"},{emit:"shadingChange"},{emit:"shadingColorChange"},{emit:"showCloseButtonChange"},{emit:"showTitleChange"},{emit:"tabIndexChange"},{emit:"titleChange"},{emit:"titleTemplateChange"},{emit:"toolbarItemsChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"wrapperAttrChange"}]),this._idh.setHost(this),Y.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(u){this._setOption("accessKey",u)}get animation(){return this._getOption("animation")}set animation(u){this._setOption("animation",u)}get closeOnOutsideClick(){return this._getOption("closeOnOutsideClick")}set closeOnOutsideClick(u){this._setOption("closeOnOutsideClick",u)}
1get container(){return this._getOption("container")}set container(u){this._setOption("container",u)}get contentTemplate(){return this._getOption("contentTemplate")}set contentTemplate(u){this._setOption("contentTemplate",u)}get copyRootClassesToWrapper(){return this._getOption("copyRootClassesToWrapper")}set copyRootClassesToWrapper(u){this._setOption("copyRootClassesToWrapper",u)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(u){this._setOption("deferRendering",u)}get disabled(){return this._getOption("disabled")}set disabled(u){this._setOption("disabled",u)}get dragAndResizeArea(){return this._getOption("dragAndResizeArea")}set dragAndResizeArea(u){this._setOption("dragAndResizeArea",u)}get dragEnabled(){return this._getOption("dragEnabled")}set dragEnabled(u){this._setOption("dragEnabled",u)}get dragOutsideBoundary(){return this._getOption("dragOutsideBoundary")}set dragOutsideBoundary(u){this._setOption("dragOutsideBoundary",u)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(u){this._setOption("elementAttr",u)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(u){this._setOption("focusStateEnabled",u)}get fullScreen(){return this._getOption("fullScreen")}set fullScreen(u){this._setOption("fullScreen",u)}get height(){return this._getOption("height")}set height(u){this._setOption("height",u)}get hideOnOutsideClick(){return this._getOption("hideOnOutsideClick")}set hideOnOutsideClick(u){this._setOption("hideOnOutsideClick",u)}get hideOnParentScroll(){return this._getOption("hideOnParentScroll")}set hideOnParentScroll(u){this._setOption("hideOnParentScroll",u)}get hint(){return this._getOption("hint")}set hint(u){this._setOption("hint",u)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(u){this._setOption("hoverStateEnabled",u)}get maxHeight(){return this._getOption("maxHeight")}set maxHeight(u){this._setOption("maxHeight",u)}get maxWidth(){return this._getOption("maxWidth")}set maxWidth(u){this._setOption("maxWidth",u)}get minHeight(){return this._getOption("minHeight")}set minHeight(u){this._setOption("minHeight",u)}get minWidth(){return this._getOption("minWidth")}set minWidth(u){this._setOption("minWidth",u)}get position(){return this._getOption("position")}set position(u){this._setOption("position",u)}get resizeEnabled(){return this._getOption("resizeEnabled")}set resizeEnabled(u){this._setOption("resizeEnabled",u)}get restorePosition(){return this._getOption("restorePosition")}set restorePosition(u){this._setOption("restorePosition",u)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(u){this._setOption("rtlEnabled",u)}get shading(){return this._getOption("shading")}set shading(u){this._setOption("shading",u)}get shadingColor(){return this._getOption("shadingColor")}set shadingColor(u){this._setOption("shadingColor",u)}get showCloseButton(){return this._getOption("showCloseButton")}set showCloseButton(u){this._setOption("showCloseButton",u)}get showTitle(){return this._getOption("showTitle")}set showTitle(u){this._setOption("showTitle",u)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(u){this._setOption("tabIndex",u)}get title(){return this._getOption("title")}set title(u){this._setOption("title",u)}get titleTemplate(){return this._getOption("titleTemplate")}set titleTemplate(u){this._setOption("titleTemplate",u)}get toolbarItems(){return this._getOption("toolbarItems")}set toolbarItems(u){this._setOption("toolbarItems",u)}get visible(){return this._getOption("visible")}set visible(u){this._setOption("visible",u)}get width(){return this._getOption("width")}set width(u){this._setOption("width",u)}get wrapperAttr(){return this._getOption("wrapperAttr")}set wrapperAttr(u){this._setOption("wrapperAttr",u)}get toolbarItemsChildren(){return this._getOption("toolbarItems")}set toolbarItemsChildren(u){this.setChildren("toolbarItems",u)}_createInstance(u,d){return new ie.Z(u,d)}ngOnDestroy(){this._destroyWidget()}ngOnChanges(u){super.ngOnChanges(u),this.setupChanges("toolbarItems",u)}setupChanges(u,d){u in this._optionsToUpdate||this._idh.setup(u,d)}ngDoCheck(){this._idh.doCheck("toolbarItems"),this._watcherHelper.checkWatchers(),super.ngDoC
1heck(),super.clearChangedOptions()}_setOption(u,d){let F=this._idh.setupSingle(u,d),q=null!==this._idh.getChanges(u,d);(F||q)&&super._setOption(u,d)}}return H.\u0275fac=function(u){return new(u||H)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(A._5),i.Y36(A._h),i.Y36(A.i9),i.Y36(A.al),i.Y36(n.ki),i.Y36(i.Lbi))},H.\u0275cmp=i.Xpm({type:H,selectors:[["dx-popup"]],contentQueries:function(u,d,F){if(1&u&&i.Suo(F,x.QjJ,4),2&u){let q;i.iGM(q=i.CRH())&&(d.toolbarItemsChildren=q)}},inputs:{accessKey:"accessKey",animation:"animation",closeOnOutsideClick:"closeOnOutsideClick",container:"container",contentTemplate:"contentTemplate",copyRootClassesToWrapper:"copyRootClassesToWrapper",deferRendering:"deferRendering",disabled:"disabled",dragAndResizeArea:"dragAndResizeArea",dragEnabled:"dragEnabled",dragOutsideBoundary:"dragOutsideBoundary",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",fullScreen:"fullScreen",height:"height",hideOnOutsideClick:"hideOnOutsideClick",hideOnParentScroll:"hideOnParentScroll",hint:"hint",hoverStateEnabled:"hoverStateEnabled",maxHeight:"maxHeight",maxWidth:"maxWidth",minHeight:"minHeight",minWidth:"minWidth",position:"position",resizeEnabled:"resizeEnabled",restorePosition:"restorePosition",rtlEnabled:"rtlEnabled",shading:"shading",shadingColor:"shadingColor",showCloseButton:"showCloseButton",showTitle:"showTitle",tabIndex:"tabIndex",title:"title",titleTemplate:"titleTemplate",toolbarItems:"toolbarItems",visible:"visible",width:"width",wrapperAttr:"wrapperAttr"},outputs:{onContentReady:"onContentReady",onDisposing:"onDisposing",onHidden:"onHidden",onHiding:"onHiding",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",onResize:"onResize",onResizeEnd:"onResizeEnd",onResizeStart:"onResizeStart",onShowing:"onShowing",onShown:"onShown",onTitleRendered:"onTitleRendered",accessKeyChange:"accessKeyChange",animationChange:"animationChange",closeOnOutsideClickChange:"closeOnOutsideClickChange",containerChange:"containerChange",contentTemplateChange:"contentTemplateChange",copyRootClassesToWrapperChange:"copyRootClassesToWrapperChange",deferRenderingChange:"deferRenderingChange",disabledChange:"disabledChange",dragAndResizeAreaChange:"dragAndResizeAreaChange",dragEnabledChange:"dragEnabledChange",dragOutsideBoundaryChange:"dragOutsideBoundaryChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",fullScreenChange:"fullScreenChange",heightChange:"heightChange",hideOnOutsideClickChange:"hideOnOutsideClickChange",hideOnParentScrollChange:"hideOnParentScrollChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",maxHeightChange:"maxHeightChange",maxWidthChange:"maxWidthChange",minHeightChange:"minHeightChange",minWidthChange:"minWidthChange",positionChange:"positionChange",resizeEnabledChange:"resizeEnabledChange",restorePositionChange:"restorePositionChange",rtlEnabledChange:"rtlEnabledChange",shadingChange:"shadingChange",shadingColorChange:"shadingColorChange",showCloseButtonChange:"showCloseButtonChange",showTitleChange:"showTitleChange",tabIndexChange:"tabIndexChange",titleChange:"titleChange",titleTemplateChange:"titleTemplateChange",toolbarItemsChange:"toolbarItemsChange",visibleChange:"visibleChange",widthChange:"widthChange",wrapperAttrChange:"wrapperAttrChange"},features:[i._Bn([A._5,A._h,A.al,A.i9]),i.qOj,i.TTD],ngContentSelectors:K,decls:1,vars:0,template:function(u,d){1&u&&(i.F$t(),i.Hsn(0))},encapsulation:2}),H})(),I=(()=>{class H{}return H.\u0275fac=function(u){return new(u||H)},H.\u0275mod=i.oAB({type:H}),H.\u0275inj=i.cJS({imports:[[x.IOm,x.kOw,x.weU,x.D_l,x.JxK,x.zZW,x.ynY,x.lgR,x.sni,x.waX,x.pxS,x.pGy,A.Lz,A.ie,n.Cu],x.IOm,x.kOw,x.weU,x.D_l,x.JxK,x.zZW,x.ynY,x.lgR,x.sni,x.waX,x.pxS,x.pGy,A.ie]}),H})()},87074:(Je,Ae,a)=>{a.d(Ae,{N:()=>K,r:()=>W});var n=a(11481),i=a(94650),ie=a(56283),A=a(37217);const x=["*"];let K=(()=>{class I extends A.Ay{constructor(T,u,d,F,q,U,Y){super(T,u,d,F,U,Y),this._createEventEmitters([{subscribe:"disposing",emit:"onDisposing"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"pullDown",emit:"onPullDown"},{subscribe:"reachBottom",emit:"onReachBottom"},{subscribe:"scroll",emit:"onScroll"},{subscribe:"updated",emit:"onUpdated"},{emit:"bounceEnabledChange"},{emit:"directionChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"heightChange"},{emit:"pulledDownTextChange"},{emit:"pullingDownTextChange"},{emit:"reachBottomTextChange"},{emit:"refreshingTextChange"},{emit:"rtlEnabledChange"},{emit:"scrollByContentChange"},{emit:"scrollByThumbChange"},{emit:"showScrollbarChange"},{emit:"useNativeChange"},{emit:"widthChange"}]),q.setHost(this)}get bounceEnabled(){return this._getOption("bounceEnabled")}set bounceEnabled(T){this._setOption("bounceEnabled",T)}get direction(){return this._getOption("direction")}set direction(T){this._setOption("direction",T)}get disabled(){return this._getOption("disabled")}set disabled(T){this._setOption("disabled",T)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(T){this._setOption("elementAttr",T)}get height(){return this._getOption("height")}set height(T){this._setOption("height",T)}get pulledDownText(){return this._getOption("pulledDownText")}set pulledDownText(T){this._setOption("pulledDownText",T)}get pullingDownText(){return this._getOption("pullingDownText")}set pullingDownText(T){this._setOption("pullingDownText",T)}get reachBottomText(){return this._getOption("reachBottomText")}set reachBottomText(T){this._setOption("reachBottomText",T)}get refreshingText(){return this._getOption("refreshingText")}set refreshingText(T){this._setOption("refreshingText",T)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(T){this._setOption("rtlEnabled",T)}get scrollByContent(){return this._getOption("scrollByContent")}set scrollByContent(T){this._setOption("scrollByContent",T)}get scrollByThumb(){return this._getOption("scrollByThumb")}set scrollByThumb(T){this._setOption("scrollByThumb",T)}get showScrollbar(){return this._getOption("showScrollbar")}set showScrollbar(T){this._setOption("showScrollbar",T)}get useNative(){return this._getOption("useNative")}set useNative(T){this._setOption("useNative",T)}get width(){return this._getOption("width")}set width(T){this._setOption("width",T)}_createInstance(T,u){return new ie.Z(T,u)}ngOnDestroy(){this._destroyWidget()}}return I.\u0275fac=function(T){return new(T||I)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(A._5),i.Y36(A._h),i.Y36(A.al),i.Y36(n.ki),i.Y36(i.Lbi))},I.\u0275cmp=i.Xpm({type:I,selectors:[["dx-scroll-view"]],inputs:{bounceEnabled:"bounceEnabled",direction:"direction",disabled:"disabled",elementAttr:"elementAttr",height:"height",pulledDownText:"pulledDownText",pullingDownText:"pullingDownText",reachBottomText:"reachBottomText",refreshingText:"refreshingText",rtlEnabled:"rtlEnabled",scrollByContent:"scrollByContent",scrollByThumb:"scrollByThumb",showScrollbar:"showScrollbar",useNative:"useNative",width:"width"},outputs:{onDisposing:"onDisposing",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",onPullDown:"onPullDown",onReachBottom:"onReachBottom",onScroll:"onScroll",onUpdated:"onUpdated",bounceEnabledChange:"bounceEnabledChange",directionChange:"directionChange",disabledChange:"disabledChange",elementAttrChange:"elementAttrChange",height
1Change:"heightChange",pulledDownTextChange:"pulledDownTextChange",pullingDownTextChange:"pullingDownTextChange",reachBottomTextChange:"reachBottomTextChange",refreshingTextChange:"refreshingTextChange",rtlEnabledChange:"rtlEnabledChange",scrollByContentChange:"scrollByContentChange",scrollByThumbChange:"scrollByThumbChange",showScrollbarChange:"showScrollbarChange",useNativeChange:"useNativeChange",widthChange:"widthChange"},features:[i._Bn([A._5,A._h,A.al]),i.qOj],ngContentSelectors:x,decls:1,vars:0,template:function(T,u){1&T&&(i.F$t(),i.Hsn(0))},encapsulation:2}),I})(),W=(()=>{class I{}return I.\u0275fac=function(T){return new(T||I)},I.\u0275mod=i.oAB({type:I}),I.\u0275inj=i.cJS({imports:[[A.Lz,A.ie,n.Cu],A.ie]}),I})()},52599:(Je,Ae,a)=>{a.d(Ae,{D:()=>H});var n=a(11481),i=a(94650),ie=a(20903),A=a(24006),x=a(37217),K=a(84943);const W={provide:A.JU,useExisting:(0,i.Gpc)(()=>I),multi:!0};let I=(()=>{class T extends x.Ay{constructor(d,F,q,U,Y,S,c,g){super(d,F,q,U,c,g),this._watcherHelper=U,this._idh=Y,this.touched=b=>{},this._createEventEmitters([{subscribe:"change",emit:"onChange"},{subscribe:"closed",emit:"onClosed"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"copy",emit:"onCopy"},{subscribe:"customItemCreating",emit:"onCustomItemCreating"},{subscribe:"cut",emit:"onCut"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"enterKey",emit:"onEnterKey"},{subscribe:"focusIn",emit:"onFocusIn"},{subscribe:"focusOut",emit:"onFocusOut"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"input",emit:"onInput"},{subscribe:"itemClick",emit:"onItemClick"},{subscribe:"keyDown",emit:"onKeyDown"},{subscribe:"keyUp",emit:"onKeyUp"},{subscribe:"opened",emit:"onOpened"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"paste",emit:"onPaste"},{subscribe:"selectionChanged",emit:"onSelectionChanged"},{subscribe:"valueChanged",emit:"onValueChanged"},{emit:"acceptCustomValueChange"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"buttonsChange"},{emit:"customItemCreateEventChange"},{emit:"dataSourceChange"},{emit:"deferRenderingChange"},{emit:"disabledChange"},{emit:"displayExprChange"},{emit:"displayValueChange"},{emit:"dropDownButtonTemplateChange"},{emit:"dropDownOptionsChange"},{emit:"elementAttrChange"},{emit:"fieldTemplateChange"},{emit:"focusStateEnabledChange"},{emit:"groupedChange"},{emit:"groupTemplateChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"inputAttrChange"},{emit:"isValidChange"},{emit:"itemsChange"},{emit:"itemTemplateChange"},{emit:"labelChange"},{emit:"labelModeChange"},{emit:"maxLengthChange"},{emit:"minSearchLengthChange"},{emit:"nameChange"},{emit:"noDataTextChange"},{emit:"openedChange"},{emit:"openOnFieldClickChange"},{emit:"placeholderChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"searchEnabledChange"},{emit:"searchExprChange"},{emit:"searchModeChange"},{emit:"searchTimeoutChange"},{emit:"selectedItemChange"},{emit:"showClearButtonChange"},{emit:"showDataBeforeSearchChange"},{emit:"showDropDownButtonChange"},{emit:"showSelectionControlsChange"},{emit:"spellcheckChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"textChange"},{emit:"useItemTextAsTitleChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"valueChangeEventChange"},{emit:"valueExprChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"wrapItemTextChange"},{emit:"onBlur"}]),this._idh.setHost(this),S.setHost(this)}get acceptCustomValue(){return this._getOption("acceptCustomValue")}set acceptCustomValue(d){this._setOption("acceptCustomValue",d)}get accessKey(){return this._getOption("accessKey")}set accessKey(d){this._setOption("accessKey",d)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(d){this._setOption("activeStateEnabled",d)}get buttons(){return this._getOption("buttons")}set buttons(d){this._setOption("buttons",d)}get customItemCreateEvent(){return this._getOption("customItemCreateEvent")}set customItemCreateEvent(d){this._setOption("customItemCreateEvent",d)}get dataSource(){return this._getOption("dataSource")}set dataSource(d){this._setOption("dataSource",d)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(d){this._setOption("deferRendering",d)}get disabled(){return this._getOption("disabled")}set disabled(d){this._setOption("disabled",d)}get displayExpr(){return this._getOption("displayExpr")}set displayExpr(d){this._setOption("displayExpr",d)}get displayValue(){return this._getOption("displayValue")}set displayValue(d){this._setOption("displayValue",d)}get dropDownButtonTemplate(){return this._getOption("dropDownButtonTemplate")}set dropDownButtonTemplate(d){this._setOption("dropDownButtonTemplate",d)}get dropDownOptions(){return this._getOption("dropDownOptions")}set dropDownOptions(d){this._setOption("dropDownOptions",d)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(d){this._setOption("elementAttr",d)}get fieldTemplate(){return this._getOption("fieldTemplate")}set fieldTemplate(d){this._setOption("fieldTemplate",d)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(d){this._setOption("focusStateEnabled",d)}get grouped(){return this._getOption("grouped")}set grouped(d){this._setOption("grouped",d)}get groupTemplate(){return this._getOption("groupTemplate")}set groupTemplate(d){this._setOption("groupTemplate",d)}get height(){return this._getOption("height")}set height(d){this._setOption("height",d)}get hint(){return this._getOption("hint")}set hint(d){this._setOption("hint",d)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(d){this._setOption("hoverStateEnabled",d)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(d){this._setOption("inputAttr",d)}get isValid(){return this._getOption("isValid")}set isValid(d){this._setOption("isValid",d)}get items(){return this._getOption("items")}set items(d){this._setOption("items",d)}get itemTemplate(){return this._getOption("itemTemplate")}set itemTemplate(d){this._setOption("itemTemplate",d)}get label(){return this._getOption("label")}set label(d){this._setOption("label",d)}get labelMode(){return this._getOption("labelMode")}set labelMode(d){this._setOption("labelMode",d)}get maxLength(){return this._getOption("maxLength")}set maxLength(d){this._setOption("maxLength",d)}get minSearchLength(){return this._getOption("minSearchLength")}set minSearchLength(d){this._setOption("minSearchLength",d)}get name(){return this._getOption("name")}set name(d){this._setOption("name",d)}get noDataText(){return this._getOption("noDataText")}set noDataText(d){this._setOption("noDataText",d)}get opened(){return this._getOption("opened")}set opened(d){this._setOption("opened",d)}get openOnFieldClick(){return this._getOption("openOnFieldClick")}set openOnFieldClick(d){this._setOption("openOnFieldClick",d)}get placeholder(){return this._getOption("placeholder")}set placeholder(d){this._setOption("placeholder",d)}get readOnly(){return this._getOption("readOnly")}set readOnly(d){this._setOption("readOnly",d)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(d){this._setOption("rtlEnabled",d)}get searchEnabled(){return this._getOption("searchEnabled")}set searchEnabled(d){this._setOption("searchEnabled",d)}get searchExpr(){return this._getOption("searchExpr")}set searchExpr(d){this._setOption("searchExpr",d)}get searchMode(){return this._getOption("searchMode")}set searchMode(d){this._setOption("searchMode",d)}get searchTimeout(){return this._getOption("searchTimeout")}set searchTimeout(d){this._setOption("searchTimeout",d)}get selectedItem(){return this._getOption("selectedItem")}set selectedItem(d){this._setOption("selectedItem",d)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(d){this._setOption("showClearButton",d)}get showDataBeforeSearch(){return this._getOption("showDataBeforeSearch")}set showDataBeforeSearch(d){this._setOption("showDataBeforeSearch",d)}get showDropDownButton(){return this._getOption("showDropDownButton")}set showDropDownButton(d){this._setOption("showDropDownButton",d)}get showSelectionControls(){return this._getOption("showSelectionControls")}set showSelectionControls(d){this._setOption("showSelectionControls",d)}get spellcheck(){return this._getOption("spellcheck")}set spellcheck(d){this._setOption("spellcheck",d)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(d){this._setOption("stylingMode",d)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(d){this._setOption("tabIndex",d)}get text(){return this._getOption("text")}set text(d){this._setOption("text",d)}get useItemTextAsTitle(){return this._getOption("useItemTextAsTitle")}set useItemTextAsTitle(d){this._setOption("useItemTextAsTitle",d)}get validationError(){return this._getOption("validationError")}set validationError(d){this._setOption("validationError",d)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(d){this._setOption("validationErrors",d)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(d){this._setOption("validationMessageMode",d)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(d){this._setOption("validationMessagePosition",d)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(d){this._setOption("validationStatus",d)}get value(){return this._getOption("value")}set value(d){this._setOption("value",d)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(d){this._setOption("valueChangeEvent",d)}get valueExpr(){return this._getOption("valueExpr")}set valueExpr(d){this._setOption("valueExpr",d)}get visible(){return this._getOption("visible")}set visible(d){this._setOption("visible",d)}get width(){return this._getOption("width")}set width(d){this._setOption("width",d)}get wrapItemText(){return this._getOption("wrapItemText")}set wrapItemText(d){this._setOption("wrapItemText",d)}change(d){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(d){this.setChildren("buttons",d)}get itemsChildren(){return this._getOption("items")}set itemsChildren(d){this.setChildren("items",d)}_createInstance(d,F){return new ie.Z(d,F)}writeValue(d){this.eventHelper.lockedValueChangeEvent=!0,this.value=d,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(d){this.disabled=d}registerOnChange(d){this.change=d}registerOnTouched(d){this.touched=d}_createWidget(d){super._createWidget(d),this.instance.on("focusOut",F=>{this.eventHelper.fireNgEvent("onBlur",[F])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(d){super.ngOnChanges(d),this.setupChanges("buttons",d),this.setupChanges("dataSource",d),this.setupChanges("items",d),this.setupChanges("searchExpr",d),this.setupChanges("validationErrors",d)}setupChanges(d,F){d in this._optionsToUpdate||this._idh.setup(d,F)}ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("dataSource"),this._idh.doCheck("items"),this._idh.doCheck("searchExpr"),this._idh.doCheck("val
1idationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(d,F){let q=this._idh.setupSingle(d,F),U=null!==this._idh.getChanges(d,F);(q||U)&&super._setOption(d,F)}}return T.\u0275fac=function(d){return new(d||T)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(x._5),i.Y36(x._h),i.Y36(x.i9),i.Y36(x.al),i.Y36(n.ki),i.Y36(i.Lbi))},T.\u0275cmp=i.Xpm({type:T,selectors:[["dx-select-box"]],contentQueries:function(d,F,q){if(1&d&&(i.Suo(q,K.k4o,4),i.Suo(q,K.ZT3,4)),2&d){let U;i.iGM(U=i.CRH())&&(F.buttonsChildren=U),i.iGM(U=i.CRH())&&(F.itemsChildren=U)}},hostBindings:function(d,F){1&d&&i.NdJ("valueChange",function(U){return F.change(U)})("onBlur",function(U){return F.touched(U)})},inputs:{acceptCustomValue:"acceptCustomValue",accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",buttons:"buttons",customItemCreateEvent:"customItemCreateEvent",dataSource:"dataSource",deferRendering:"deferRendering",disabled:"disabled",displayExpr:"displayExpr",displayValue:"displayValue",dropDownButtonTemplate:"dropDownButtonTemplate",dropDownOptions:"dropDownOptions",elementAttr:"elementAttr",fieldTemplate:"fieldTemplate",focusStateEnabled:"focusStateEnabled",grouped:"grouped",groupTemplate:"groupTemplate",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",inputAttr:"inputAttr",isValid:"isValid",items:"items",itemTemplate:"itemTemplate",label:"label",labelMode:"labelMode",maxLength:"maxLength",minSearchLength:"minSearchLength",name:"name",noDataText:"noDataText",opened:"opened",openOnFieldClick:"openOnFieldClick",placeholder:"placeholder",readOnly:"readOnly",rtlEnabled:"rtlEnabled",searchEnabled:"searchEnabled",searchExpr:"searchExpr",searchMode:"searchMode",searchTimeout:"searchTimeout",selectedItem:"selectedItem",showClearButton:"showClearButton",showDataBeforeSearch:"showDataBeforeSearch",showDropDownButton:"showDropDownButton",showSelectionControls:"showSelectionControls",spellcheck:"spellcheck",stylingMode:"stylingMode",tabIndex:"tabIndex",text:"text",useItemTextAsTitle:"useItemTextAsTitle",validationError:"validationError",validationErrors:"validationErrors",validationMessageMode:"validationMessageMode",validationMessagePosition:"validationMessagePosition",validationStatus:"validationStatus",value:"value",valueChangeEvent:"valueChangeEvent",valueExpr:"valueExpr",visible:"visible",width:"width",wrapItemText:"wrapItemText"},outputs:{onChange:"onChange",onClosed:"onClosed",onContentReady:"onContentReady",onCopy:"onCopy",onCustomItemCreating:"onCustomItemCreating",onCut:"onCut",onDisposing:"onDisposing",onEnterKey:"onEnterKey",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onInitialized:"onInitialized",onInput:"onInput",onItemClick:"onItemClick",onKeyDown:"onKeyDown",onKeyUp:"onKeyUp",onOpened:"onOpened",onOptionChanged:"onOptionChanged",onPaste:"onPaste",onSelectionChanged:"onSelectionChanged",onValueChanged:"onValueChanged",acceptCustomValueChange:"acceptCustomValueChange",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",buttonsChange:"buttonsChange",customItemCreateEventChange:"customItemCreateEventChange",dataSourceChange:"dataSourceChange",deferRenderingChange:"deferRenderingChange",disabledChange:"disabledChange",displayExprChange:"displayExprChange",displayValueChange:"displayValueChange",dropDownButtonTemplateChange:"dropDownButtonTemplateChange",dropDownOptionsChange:"dropDownOptionsChange",elementAttrChange:"elementAttrChange",fieldTemplateChange:"fieldTemplateChange",focusStateEnabledChange:"focusStateEnabledChange",groupedChange:"groupedChange",groupTemplateChange:"groupTemplateChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",inputAttrChange:"inputAttrChange",isValidChange:"isValidChange",itemsChange:"itemsChange",itemTemplateChange:"itemTemplateChange",labelChange:"labelChange",labelModeChange:"labelModeChange",maxLengthChange:"maxLengthChange",minSearchLengthChange:"minSearchLengthChange",nameChange:"nameChange",noDataTextChange:"noDataTextChange",openedChange:"openedChange",openOnFieldClickChange:"openOnFieldClickChange",placeholderChange:"placeholderChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",searchEnabledChange:"searchEnabledChange",searchExprChange:"searchExprChange",searchModeChange:"searchModeChange",searchTimeoutChange:"searchTimeoutChange",selectedItemChange:"selectedItemChange",showClearButtonChange:"showClearButtonChange",showDataBeforeSearchChange:"showDataBeforeSearchChange",showDropDownButtonChange:"showDropDownButtonChange",showSelectionControlsChange:"showSelectionControlsChange",spellcheckChange:"spellcheckChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",textChange:"textChange",useItemTextAsTitleChange:"useItemTextAsTitleChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",valueChangeEventChange:"valueChangeEventChange",valueExprChange:"valueExprChange",visibleChange:"visibleChange",widthChange:"widthChange",wrapItemTextChange:"wrapItemTextChange",onBlur:"onBlur"},features:[i._Bn([x._5,x._h,W,x.al,x.i9]),i.qOj,i.TTD],decls:0,vars:0,template:function(d,F){},encapsulation:2}),T})(),H=(()=>{class T{}return T.\u0275fac=function(d){return new(d||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({imports:[[K.idP,K.UxI,K.ggs,K.IOm,K.kOw,K.weU,K.D_l,K.JxK,K.zZW,K.ynY,K.lgR,K.sni,K.waX,K.pxS,K.pGy,K.Q8p,x.Lz,x.ie,n.Cu],K.idP,K.UxI,K.ggs,K.IOm,K.kOw,K.weU,K.D_l,K.JxK,K.zZW,K.ynY,K.lgR,K.sni,K.waX,K.pxS,K.pGy,K.Q8p,x.ie]}),T})()},89033:(Je,Ae,a)=>{a.d(Ae,{a:()=>H});var n=a(11481),i=a(94650),ie=a(6536),A=a(24006),x=a(37217),K=a(84943);const W={provide:A.JU,useExisting:(0,i.Gpc)(()=>I),multi:!0};let I=(()=>{class T extends x.Ay{constructor(d,F,q,U,Y,S,c,g){super(d,F,q,U,c,g),this._watcherHelper=U,this._idh=Y,this.touched=b=>{},this._createEventEmitters([{subscribe:"change",emit:"onChange"},{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"copy",emit:"onCopy"},{subscribe:"cut",emit:"onCut"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"enterKey",emit:"onEnterKey"},{subscribe:"focusIn",emit:"onFocusIn"},{subscribe:"focusOut",emit:"onFocusOut"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"input",emit:"onInput"},{subscribe:"keyDown",emit:"onKeyDown"},{subscribe:"keyUp",emit:"onKeyUp"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"paste",emit:"onPaste"},{subscribe:"valueChanged",emit:"onValueChanged"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"buttonsChange"},{emit:"disabledChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"inputAttrChange"},{emit:"isValidChange"},{emit:"labelChange"},{emit:"labelModeChange"},{emit:"maskChange"},{emit:"maskCharChange"},{emit:"maskInvalidMessageChange"},{emit:"maskRulesChange"},{emit:"maxLengthChange"},{emit:"modeChange"},{emit:"nameChange"},{emit:"placeholderChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"showClearButtonChange"},{emit:"showMaskModeChange"},{emit:"spellcheckChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"textChange"},{emit:"useMaskedValueChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"valueChangeEventChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"onBlur"}]),this._idh.setHost(this),S.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(d){this._setOption("accessKey",d)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(d){this._setOption("activeStateEnabled",d)}get buttons(){return this._getOption("buttons")}set buttons(d){this._setOption("buttons",d)}get disabled(){return this._getOption("disabled")}set disabled(d){this._setOption("disabled",d)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(d){this._setOption("elementAttr",d)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(d){this._setOption("focusStateEnabled",d)}get height(){return this._getOption("height")}set height(d){this._setOption("height",d)}get hint(){return this._getOption("hint")}set hint(d){this._setOption("hint",d)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(d){this._setOption("hoverStateEnabled",d)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(d){this._setOption("inputAttr",d)}get isValid(){return this._getOption("isValid")}set isValid(d){this._setOption("isValid",d)}get label(){return this._getOption("label")}set label(d){this._setOption("label",d)}get labelMode(){return this._getOption("labelMode")}set labelMode(d){this._setOption("labelMode",d)}get mask(){return this._getOption("mask")}set mask(d){this._setOption("mask",d)}get maskChar(){return this._getOption("maskChar")}set maskChar(d){this._setOption("maskChar",d)}get maskInvalidMessage(){return this._getOption("maskInvalidMessage")}set maskInvalidMessage(d){this._setOption("maskInvalidMessage",d)}get maskRules(){return this._getOption("maskRules")}set maskRules(d){this._setOption("maskRules",d)}get maxLength(){return this._getOption("maxLength")}set maxLength(d){this._setOption("maxLength",d)}get mode(){return this._getOption("mode")}set mode(d){this._setOption("mode",d)}get name(){return this._getOption("name")}set name(d){this._setOption("name",d)}get placeholder(){return this._getOption("placeholder")}set placeholder(d){this._setOption("placeholder",d)}get readOnly(){return this._getOption("readOnly")}set readOnly(d){this._setOption("readOnly",d)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(d){this._setOption("rtlEnabled",d)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(d){this._setOption("showClearButton",d)}get showMaskMode(){return this._getOption("showMaskMode")}set showMaskMode(d){this._setOption("showMaskMode",d)}get spellcheck(){return this._getOption("spellcheck")}set spellcheck(d){this._setOption("spellcheck",d)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(d){this._setOption("stylingMode",d)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(d){this._setOption("tabIndex",d)}get text(){return this._getOption("text")}set text(d){this._setOption("text",d)}get useMaskedValue(){return this._getOption("useMaskedValue")}set useMaskedValue(d){this._setOption("useMaskedValue",d)}get validationError(){return this._getOption("validationError")}set validationError(d){this._setOption("validationError",d)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(d){this._setOption("validationErrors",d)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(d){this._setOption("validationMessageMode",d)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(d){this._setOption("validationMessagePosition",d)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(d){this._setOption("validationStatus",d)}get value(){return this._getOption("value")}set value(d){this._setOption("value",d)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(d){this._setOption("valueChangeEvent",d)}get visible(){return this._getOption("visible")}set visible(d){this._setOption("visible",d)}get width(){return this._getOption("width")}set width(d){this._setOption("width",d)}change(d){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(d){this.setChildren("buttons",d)}_createInstance(d,F){return new ie.Z(d,F)}writeValue(d){this.eventHelper.lockedValueChangeEvent=!0,this.value=d,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(d){this.disabled=d}registerOnChange(d){this.change=d}registerOnTouched(d){this.touched=d}_createWidget(d){super._createWidget(d),this.instance.on("focusOut",F=>{this.eventHelper.fireNgEvent("onBlur",[F])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(d){super.ngOnChanges(d),this.setupChanges("buttons",d),this.setupChanges("validationErrors",d)}setupChanges(d,F){d in this._optionsToUpdate||this._idh.setup(d,F)}
1ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("validationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(d,F){let q=this._idh.setupSingle(d,F),U=null!==this._idh.getChanges(d,F);(q||U)&&super._setOption(d,F)}}return T.\u0275fac=function(d){return new(d||T)(i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(x._5),i.Y36(x._h),i.Y36(x.i9),i.Y36(x.al),i.Y36(n.ki),i.Y36(i.Lbi))},T.\u0275cmp=i.Xpm({type:T,selectors:[["dx-text-box"]],contentQueries:function(d,F,q){if(1&d&&i.Suo(q,K.k4o,4),2&d){let U;i.iGM(U=i.CRH())&&(F.buttonsChildren=U)}},hostBindings:function(d,F){1&d&&i.NdJ("valueChange",function(U){return F.change(U)})("onBlur",function(U){return F.touched(U)})},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",buttons:"buttons",disabled:"disabled",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",inputAttr:"inputAttr",isValid:"isValid",label:"label",labelMode:"labelMode",mask:"mask",maskChar:"maskChar",maskInvalidMessage:"maskInvalidMessage",maskRules:"maskRules",maxLength:"maxLength",mode:"mode",name:"name",placeholder:"placeholder",readOnly:"readOnly",rtlEnabled:"rtlEnabled",showClearButton:"showClearButton",showMaskMode:"showMaskMode",spellcheck:"spellcheck",stylingMode:"stylingMode",tabIndex:"tabIndex",text:"text",useMaskedValue:"useMaskedValue",validationError:"validationError",validationErrors:"validationErrors",validationMessageMode:"validationMessageMode",validationMessagePosition:"validationMessagePosition",validationStatus:"validationStatus",value:"value",valueChangeEvent:"valueChangeEvent",visible:"visible",width:"width"},outputs:{onChange:"onChange",onContentReady:"onContentReady",onCopy:"onCopy",onCut:"onCut",onDisposing:"onDisposing",onEnterKey:"onEnterKey",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onInitialized:"onInitialized",onInput:"onInput",onKeyDown:"onKeyDown",onKeyUp:"onKeyUp",onOptionChanged:"onOptionChanged",onPaste:"onPaste",onValueChanged:"onValueChanged",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",buttonsChange:"buttonsChange",disabledChange:"disabledChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",inputAttrChange:"inputAttrChange",isValidChange:"isValidChange",labelChange:"labelChange",labelModeChange:"labelModeChange",maskChange:"maskChange",maskCharChange:"maskCharChange",maskInvalidMessageChange:"maskInvalidMessageChange",maskRulesChange:"maskRulesChange",maxLengthChange:"maxLengthChange",modeChange:"modeChange",nameChange:"nameChange",placeholderChange:"placeholderChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",showClearButtonChange:"showClearButtonChange",showMaskModeChange:"showMaskModeChange",spellcheckChange:"spellcheckChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",textChange:"textChange",useMaskedValueChange:"useMaskedValueChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",valueChangeEventChange:"valueChangeEventChange",visibleChange:"visibleChange",widthChange:"widthChange",onBlur:"onBlur"},features:[i._Bn([x._5,x._h,W,x.al,x.i9]),i.qOj,i.TTD],decls:0,vars:0,template:function(d,F){},encapsulation:2}),T})(),H=(()=>{class T{}return T.\u0275fac=function(d){return new(d||T)},T.\u0275mod=i.oAB({type:T}),T.\u0275inj=i.cJS({imports:[[K.idP,K.UxI,x.Lz,x.ie,n.Cu],K.idP,K.UxI,x.ie]}),T})()},75949:(Je,Ae,a)=>{a.d(Ae,{U:()=>I,W:()=>H});var n=a(34500),i=a(7554),ie=(0,n.Ym)()?(0,n.Jj)():{},x=function(T){return setTimeout(T,16.666666666666668)},K=function(T){clearTimeout(T)},W=(0,i.Z)(function(){var T=ie.requestAnimationFrame||ie.webkitRequestAnimationFrame||ie.mozRequestAnimationFrame||ie.oRequestAnimationFrame||ie.msRequestAnimationFrame,u=ie.cancelAnimationFrame||ie.webkitCancelAnimationFrame||ie.mozCancelAnimationFrame||ie.oCancelAnimationFrame||ie.msCancelAnimationFrame;T&&u&&(x=T,K=u)});function I(){return W(),x.apply(ie,arguments)}function H(){W(),K.apply(ie,arguments)}},35922:(Je,Ae,a)=>{a.d(Ae,{Z:()=>k});var n=a(83520),i=a(34500),ie=a(24705),A=a(47484),x=a(37075),K=a(83684),W=a(64596),I=a(91553),H=a(46885),T=/cubic-bezier\((\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\)/,u={linear:"cubic-bezier(0, 0, 1, 1)",swing:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",ease:"cubic-bezier(0.25, 0.1, 0.25, 1)","ease-in":"cubic-bezier(0.42, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.58, 1)","ease-in-out":"cubic-bezier(0.42, 0, 0.58, 1)"},F={},q=function(P){var Te,te=(P=u[P]||P).match(T);te||(te=u[Te="linear"].match(T)),te=te.slice(1,5);for(var Fe=0;Fe<te.length;Fe++)te[Fe]=parseFloat(te[Fe]);var Ke=Te||"cubicbezier_"+te.join("_").replace(/\./g,"p");return(0,W.mf)(F[Ke])||(F[Ke]=function(be,we,B,de,D){return de*function(P,te,Te,Fe){var Ke=3*P,be=3*(Te-P)-Ke,we=1-Ke-be,B=3*te,de=3*(Fe-te)-B,D=1-B-de,m=function(ve){return ve*(Ke+ve*(be+ve*we))},ee=function(ve){return Ke+ve*(2*be+3*ve*we)};return function(ve){return(Be=function(Be){for(var v,Ue=Be,X=0;X<14&&(v=m(Ue)-Be,!(Math.abs(v)<.001));)Ue-=v/ee(Ue),X++;return Ue}(ve))*(B+Be*(de+Be*D));var Be}}(te[0],te[1],te[2],te[3])(we/D)+B}),Ke},S=a(75949),c=a(45303),g=a(71924),b=a(79890),ue=a(16129),N=a(80316),Z=a(56836),V=(0,i.Jj)(),ne=(0,ue.V4)(b.x,"dxFX"),h=/^([+-]
1)=(.*)/i,E="dxAnimData",L="dxAnimQueue",M="transform",w={initAnimation:function(P,te){P.css({transitionProperty:"none"}),"string"==typeof te.from?P.addClass(te.from):Xe(P,te.from);var Te=this,Fe=new N.BH,Ke=te.cleanupWhen;te.transitionAnimation={deferred:Fe,finish:function(){Te._finishTransition(P),Ke?(0,N.gx)(Fe,Ke).always(function(){Te._cleanup(P,te)}):Te._cleanup(P,te),Fe.resolveWith(P,[te,P])}},this._completeAnimationCallback(P,te).done(function(){te.transitionAnimation.finish()}).fail(function(){Fe.rejectWith(P,[te,P])}),te.duration||te.transitionAnimation.finish(),P.css("transform")},animate:function(P,te){return this._startAnimation(P,te),te.transitionAnimation.deferred.promise()},_completeAnimationCallback:function(P,te){var B,Te=this,Fe=Date.now()+te.delay,Ke=new N.BH,be=new N.BH,we=new N.BH,de=(0,c.transitionEndEventName)()+".dxFX";te.transitionAnimation.cleanup=function(){clearTimeout(B),clearTimeout(D),ie.Z.off(P,de),ie.Z.off(P,ne)},ie.Z.one(P,de,function(){Date.now()-Fe>=te.duration&&be.reject()}),ie.Z.off(P,ne),ie.Z.on(P,ne,function(){Te.stop(P,te),Ke.reject()});var D=setTimeout(function(){B=setTimeout(function(){we.reject()},te.duration+te.delay+et._simulatedTransitionEndDelay),(0,N.gx)(be,we).fail(function(){Ke.resolve()}.bind(this))});return Ke.promise()},_startAnimation:function(P,te){P.css({transitionProperty:"all",transitionDelay:te.delay+"ms",transitionDuration:te.duration+"ms",transitionTimingFunction:te.easing}),"string"==typeof te.to?P[0].className+=" "+te.to:te.to&&Xe(P,te.to)},_finishTransition:function(P){P.css("transition","none")},_cleanup:function(P,te){te.transitionAnimation.cleanup(),"string"==typeof te.from&&(P.removeClass(te.from),P.removeClass(te.to))},stop:function(P,te,Te){te&&(Te?te.transitionAnimation.finish():((0,W.PO)(te.to)&&(0,I.S6)(te.to,function(Fe){P.css(Fe,P.css(Fe))}),this._finishTransition(P),this._cleanup(P,te)))}},Q={initAnimation:function(P,te){Xe(P,te.from)},animate:function(P,te){var Te=new N.BH,Fe=this;return te?((0,I.S6)(te.to,function(Ke){void 0===te.from[Ke]&&(te.from[Ke]=Fe._normalizeValue(P.css(Ke)))}),te.to[M]&&(te.from[M]=Fe._parseTransform(te.from[M]),te.to[M]=Fe._parseTransform(te.to[M])),te.frameAnimation={to:te.to,from:te.from,currentValue:te.from,easing:q(te.easing),duration:te.duration,startTime:(new Date).valueOf(),finish:function(){this.currentValue=this.to,this.draw(),(0,S.W)(te.frameAnimation.animationFrameId),Te.resolve()},draw:function(){if(te.draw)te.draw(this.currentValue);else{var Ke=(0,K.l)({},this.currentValue);
1Ke[M]&&(Ke[M]=(0,I.UI)(Ke[M],function(be,we){return"translate"===we?(0,H.B$)(be):"scale"===we?"scale("+be+")":"rotate"===we.substr(0,we.length-1)?we+"("+be+"deg)":void 0}).join(" ")),P.css(Ke)}}},te.delay?(te.frameAnimation.startTime+=te.delay,te.frameAnimation.delayTimeout=setTimeout(function(){Fe._startAnimation(P,te)},te.delay)):Fe._startAnimation(P,te),Te.promise()):Te.reject().promise()},_startAnimation:function(P,te){ie.Z.off(P,ne),ie.Z.on(P,ne,function(){te.frameAnimation&&(0,S.W)(te.frameAnimation.animationFrameId)}),this._animationStep(P,te)},_parseTransform:function(P){var te={};return(0,I.S6)(P.match(/\w+\d*\w*\([^)]*\)\s*/g),function(Te,Fe){var Ke=(0,H.XT)(Fe),be=Fe.match(/scale\((.+?)\)/),we=Fe.match(/(rotate.)\((.+)deg\)/);Ke&&(te.translate=Ke),be&&be[1]&&(te.scale=parseFloat(be[1])),we&&we[1]&&(te[we[1]]=parseFloat(we[2]))}),te},stop:function(P,te,Te){var Fe=te&&te.frameAnimation;Fe&&((0,S.W)(Fe.animationFrameId),clearTimeout(Fe.delayTimeout),Te&&Fe.finish(),delete te.frameAnimation)},_animationStep:function(P,te){var Te=te&&te.frameAnimation;if(Te){var Fe=(new Date).valueOf();if(Fe>=Te.startTime+Te.duration)return void Te.finish();Te.currentValue=this._calcStepValue(Te,Fe-Te.startTime),Te.draw();var Ke=this;Te.animationFrameId=(0,S.U)(function(){Ke._animationStep(P,te)})}},_calcStepValue:function(P,te){return function Te(Fe,Ke){var be=Array.isArray(Ke)?[]:{};return(0,I.S6)(Ke,function(we,B){if("string"==typeof B&&!1===parseFloat(B))return!0;var de,D,m,ee,ve,Be;be[we]="object"==typeof B?Te(Fe[we],B):(D=te/P.duration,m=te,ee=1*Fe[de=we],ve=Ke[de]-Fe[de],Be=P.duration,function Y(P){return F[P]}(P.easing)(D,m,ee,ve,Be))}),be}(P.from,P.to)},_normalizeValue:function(P){var te=parseFloat(P);return!1===te?P:te}},ae={initAnimation:function(){},animate:function(){return(new N.BH).resolve().promise()},stop:Z.ZT,isSynchronous:!0},Me=function(P,te,Te,Fe){(0,I.S6)(["from","to"],function(){if(!Te(P[this]))throw A.Z.Error("E0010",te,this,Fe)})},pe=function(P,te){return Me(P,te,function(Te){return(0,W.PO)(Te)},"a plain object")},z={top:{my:"bottom center",at:"top center"},bottom:{my:"top center",at:"bottom center"},right:{my:"left center",at:"right center"},left:{my:"right center",at:"left center"}},le={validateConfig:function(P){pe(P,"slide")},setup:function(P,te){var Te=(0,H.jt)(P);if("slide"!==te.type){var Fe="slideIn"===te.type?te.from:te.to;Fe.position=(0,K.l)({of:V},z[te.direction]),We(P,Fe)}this._setUpConfig(Te,te.from),this._setUpConfig(Te,te.to),(0,H.LK)(P)},_setUpConfig:function(P,te){te.left="left"in te?te.left:"+=0",te.top="top"in te?te.top:"+=0",this._initNewPosition(P,te)},_initNewPosition:function(P,te){var Te={left:te.left,top:te.top};delete te.left,delete te.top;var Fe=this._getRelativeValue(Te.left);void 0!==Fe?Te.left=Fe+P.left:te.left=0,void 0!==(Fe=this._getRelativeValue(Te.top))?Te.top=Fe+P.top:te.top=0,te[M]=(0,H.B$)({x:Te.left,y:Te.top})},_getRelativeValue:function(P){var te;if("string"==typeof P&&(te=h.exec(P)))return parseInt(te[1]+"1")*te[2]}},Oe={setup:function(P,te){var Te,Fe,Ke=te.from,be=te.to,we="fadeOut"===te.type?1:0,B="fadeOut"===te.type?0:1,de=(0,W.PO)(Ke)?String(null!==(Te=Ke.opacity)&&void 0!==Te?Te:we):String(Ke),D=(0,W.PO)(be)?String(null!==(Fe=be.opacity)&&void 0!==Fe?Fe:B):String(be);switch(te.skipElementInitialStyles||(de=P.css("opacity")),te.type){case"fadeIn":D=1;break;case"fadeOut":D=0}te.from={visibility:"visible",opacity:de},te.to={opacity:D}}},l={custom:{setup:function(){}},slide:le,slideIn:le,slideOut:le,fade:Oe,fadeIn:Oe,fadeOut:Oe,pop:{validateConfig:function(P){pe(P,"pop")},setup:function(P,te){var Te=te.from,Fe=te.to,Ke="opacity"in Te?Te.opacity:P.css("opacity"),be="opacity"in Fe?Fe.opacity:1,we="scale"in Te?Te.scale:0,B="scale"in Fe?Fe.scale:1;te.from={opacity:Ke};var de=(0,H.R6)(P);te.from[M]=this._getCssTransform(de,we),te.to={opacity:be},te.to[M]=this._getCssTransform(de,B)},_getCssTransform:function(P,te){return(0,H.B$)(P)+"scale("+te+")"}},css:{validateConfig:function(P){!function(P,te){Me(P,"css",function(Te){return"string"==typeof Te},"a string")}(P)},setup:function(){}}},ye={type:"custom",from:{},to:{},duration:400,start:Z.ZT,complete:Z.ZT,easing:"ease",delay:0},R={duration:400,easing:"ease",delay:0};function p(){var P=this.element,te=this.config;if(We(P,te.from),We(P,te.to),this.configurator.setup(P,te),P.data(E,this),et.off&&(te.duration=0,te.delay=0),this.strategy.initAnimation(P,te),te.start){var Te=(0,x.u)(P);te.start.apply(this,[Te,te])}}var se=function(){var P=this,te=P.element,Te=P.config;return P.isStarted=!0,P.strategy.animate(te,Te).done(function(){!function(P){var te=P.element,Te=P.config;if(te.removeData(E),Te.complete){var Fe=(0,x.u)(te);Te.complete.apply(this,[Fe,Te])}P.deferred.resolveWith(this,[te,Te])}(P)}).fail(function(){P.deferred.rejectWith(this,[te,Te])})},De=function(P){var te=this.element,Te=this.config;clearTimeout(this.startTimeout),this.isStarted||this.start(),this.strategy.stop(te,Te,P)},ge=(0,ue.V4)(b.x,"dxFXStartAnimation"),Ne=function(P,te){var Fe=(0,K.l)(!0,{},"css"===te.type?R:ye,te),Ke=function(P){var te=l[P.type];if(!te)throw A.Z.Error("E0011",P.type);return te}(Fe),be=function(P){P=P||{};var te={transition:(0,c.transition)()?w:Q,frame:Q,noAnimation:ae},Te=P.strategy||"transition";return"css"===P.type&&!(0,c.transition)()&&(Te="noAnimation"),te[Te]}(Fe),we={element:(0,n.Z)(P),config:Fe,configurator:Ke,strategy:be,isSynchronous:be.
1isSynchronous,setup:p,start:se,stop:De,deferred:new N.BH};return(0,W.mf)(Ke.validateConfig)&&Ke.validateConfig(Fe),function(P){ie.Z.off(P.element,ge),ie.Z.on(P.element,ge,function(){et.stop(P.element)}),P.deferred.always(function(){ie.Z.off(P.element,ge)})}(we),we};function xe(P){return P.data(L)||[]}var fe=function(P){P.removeData(L)};function He(P){return!!P.data(E)}function je(P,te){if((te=xe(P)).length){var Te=te.shift();0===te.length&&fe(P),function Qe(P){return P.setup(),et.off||P.isSynchronous?P.start():P.startTimeout=setTimeout(function(){P.start()}),P.deferred.promise()}(Te).done(function(){He(P)||je(P)})}}function We(P,te){if(te&&te.position){var Te=(0,n.Z)(V),Fe=0,Ke=0,be=g.Z.calculate(P,te.position),we=P.offset(),B=P.position();B.top>we.top&&(Ke=Te.scrollTop()),B.left>we.left&&(Fe=Te.scrollLeft()),(0,K.l)(te,{left:be.h.location-we.left+B.left-Fe,top:be.v.location-we.top+B.top-Ke}),delete te.position}}function Xe(P,te){(0,I.S6)(te,function(Te,Fe){try{P.css(Te,(0,W.mf)(Fe)?Fe():Fe)}catch{}})}var et={off:!1,animationTypes:l,animate:function(P,te){var Te=(0,n.Z)(P);if(!Te.length)return(new N.BH).resolve().promise();var Fe=Ne(Te,te);return function tt(P,te){var Te=xe(P);(function Pe(P,te){P.data(L,te)})(P,Te),Te.push(te),He(P)||je(P,Te)}(Te,Fe),Fe.deferred.promise()},createAnimation:Ne,isAnimating:He,stop:function(P,te){var Te=(0,n.Z)(P),Fe=xe(Te);(0,I.S6)(Fe,function(be,we){we.config.delay=0,we.config.duration=0,we.isSynchronous=!0}),He(Te)||je(Te,Fe);var Ke=Te.data(E);Ke&&Ke.stop(te),Te.removeData(E),fe(Te)},_simulatedTransitionEndDelay:100};const k=et},71924:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Ce});var M,n=a(21374),i=a(83520),ie=a(56836),A=a(91553),x=a(34500),K=a(68082),W=a(64596),I=a(83684),H=a(17839),T=a(30805),u=a(46885),d=a(45303),F=a(13921),q=(0,x.Jj)(),U=/left|right/,Y=/top|bottom/,S=/fit|flip|none/,c=/scale\(.+?\)/,g=T.Z.safari,b=function(J){var z={h:"center",v:"center"},le=(0,ie.Um)(J);return le&&(0,A.S6)(le,function(){var Oe=String(this).toLowerCase();U.test(Oe)?z.h=Oe:Y.test(Oe)&&(z.v=Oe)}),z},ue=function(J,z){return(0,ie.TG)(J,z)},Z=function(J){switch(J){case"center":return.5;case"right":case"bottom":return 1;default:return 0}},V=function(J){switch(J){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return J}},ne=function(J,z){var le=0;return J.myLocation<z.min&&(le+=z.min-J.myLocation),J.myLocation>z.max&&(le+=J.myLocation-z.max),le},h=function(J,z,le){return z.myLocation<le.min?"h"===J?"left":"top":z.myLocation>le.max?"h"===J?"right":"bottom":"none"},E=function(J){J.myLocation=J.atLocation+Z(J.atAlign)*J.atSize-Z(J.myAlign)*J.mySize+J.offset},L={fit:function(J,z){var le=!1;J.myLocation>z.max&&(J.myLocation=z.max,le=!0),J.myLocation<z.min&&(J.myLocation=z.min,le=!0),J.fit=le},flip:function(J,z){if(J.flip=!1,("center"!==J.myAlign||"center"!==J.atAlign)&&(J.myLocation<z.min||J.myLocation>z.max)){var le=(0,I.l)({},J,{myAlign:V(J.myAlign),atAlign:V(J.atAlign),offset:-J.offset});E(le),le.oversize=ne(le,z),(le.myLocation>=z.min&&le.myLocation<=z.max||J.oversize>le.oversize)&&(J.myLocation=le.myLocation,J.oversize=le.oversize,J.flip=!0)}},flipfit:function(J,z){this.flip(J,z),this.fit(J,z)},none:function(J){J.oversize=0}},w=function(){var J=(0,i.Z)("<div>").css({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).appendTo((0,i.Z)("body")),z=J.get(0).offsetWidth-J.get(0).clientWidth;J.remove(),M=z},Q={h:{location:0,flip:!1,fit:!1,oversize:0},v:{location:0,flip:!1,fit:!1,oversize:0}},ae=function(J,z){var le=(0,i.Z)(J),Oe=le.offset(),O=(0,I.l)(!0,{},Q,{h:{location:Oe.left},v:{location:Oe.top}});if(!z)return O;var l=b(z.my),G=b(z.at),ye=(0,i.Z)(z.of).length&&z.of||q,R=ue(z.offset,z.precise),p=function(J){var z=(0,ie.Um)(J),le=String(z&&z[0]).toLowerCase(),Oe=String(z&&z[1]).toLowerCase();return S.test(le)||(le="none"),S.test(Oe)||(Oe=le),{h:le,v:Oe}}(z.collision),y=z.boundary,se=ue(z.boundaryOffset,z.precise),De={mySize:(0,n.Y_)(le),myAlign:l.h,atAlign:G.h,offset:R.h,collision:p.h,boundaryOffset:se.h},ge={mySize:(0,n.zp)(le),myAlign:l.v,atAlign:G.v,offset:R.v,collision:p.v,boun
1daryOffset:se.v};if(ye.preventDefault)De.atLocation=ye.pageX,ge.atLocation=ye.pageY,De.atSize=0,ge.atSize=0;else if(ye=(0,i.Z)(ye),(0,W.FJ)(ye[0]))De.atLocation=ye.scrollLeft(),ge.atLocation=ye.scrollTop(),"phone"===F.Z.real().deviceType&&ye[0].visualViewport?(De.atLocation=Math.max(De.atLocation,ye[0].visualViewport.offsetLeft),ge.atLocation=Math.max(ge.atLocation,ye[0].visualViewport.offsetTop),De.atSize=ye[0].visualViewport.width,ge.atSize=ye[0].visualViewport.height):(De.atSize=ye[0].innerWidth>ye[0].outerWidth?ye[0].innerWidth:(0,n.dz)(ye),ge.atSize=ye[0].innerHeight>ye[0].outerHeight||g?ye[0].innerHeight:(0,n.Cr)(ye));else if(9===ye[0].nodeType)De.atLocation=0,ge.atLocation=0,De.atSize=(0,n.dz)(ye),ge.atSize=(0,n.Cr)(ye);else{var ke=(0,H.l)(ye.get(0)),Ne=Me(ye);De.atLocation=Ne.left,ge.atLocation=Ne.top,De.atSize=Math.max(ke.width,(0,n.Y_)(ye)),ge.atSize=Math.max(ke.height,(0,n.zp)(ye))}E(De),E(ge);var Ge=function(){var xe=(0,i.Z)(q),Pe=(0,n.dz)(xe),fe=(0,n.Cr)(xe),He=xe.scrollLeft(),je=xe.scrollTop(),Qe=K.Z.getDocumentElement(),We=d.touch?Qe.clientWidth/Pe:1,Xe=d.touch?Qe.clientHeight/fe:1;void 0===M&&w();var me=Pe,et=fe;if(y&&!(0,W.FJ)(y)){var k=(0,i.Z)(y),P=k.offset();He=P.left,je=P.top,me=(0,n.dz)(k),et=(0,n.Cr)(k)}return{h:{min:He+De.boundaryOffset,max:He+me/We-De.mySize-De.boundaryOffset},v:{min:je+ge.boundaryOffset,max:je+et/Xe-ge.mySize-ge.boundaryOffset}}}();De.oversize=ne(De,Ge.h),ge.oversize=ne(ge,Ge.v),De.collisionSide=h("h",De,Ge.h),ge.collisionSide=h("v",ge,Ge.v),L[De.collision]&&L[De.collision](De,Ge.h),L[ge.collision]&&L[ge.collision](ge,Ge.v);var tt=function(xe){return z.precise?xe:Math.round(xe)};return(0,I.l)(!0,O,{h:{location:tt(De.myLocation),oversize:tt(De.oversize),fit:De.fit,flip:De.flip,collisionSide:De.collisionSide},v:{location:tt(ge.myLocation),oversize:tt(ge.oversize),fit:ge.fit,flip:ge.flip,collisionSide:ge.collisionSide},precise:z.precise}),O},ce=function(J,z,le,Oe,O){(0,W.$K)(J.style)&&!K.Z.isNode(J.style)?J.style.transform=O?le.replace(z,""):le:J.setAttribute("style",O?Oe.replace(z,""):Oe)},Me=function J(z){var le,Oe,O,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z,G=l.get(0);if(!G)return z.offset();var y,ye=(null===(le=G.getAttribute)||void 0===le?void 0:le.call(G,"style"))||"",R=null===(Oe=G.style)||void 0===Oe?void 0:Oe.transform,p=null===(O=ye.match(c))||void 0===O?void 0:O[0];return p?(ce(G,p,R,ye,!0),y=J(z,l.parent()),ce(G,p,R,ye,!1)):y=J(z,l.parent()),y},pe=function(J,z){var le=(0,i.Z)(J);if(!z)return le.offset();(0,u.Kx)(le,!0);var Oe=Me(le),O=z.h&&z.v?z:ae(le,z),l=function(G){return z.precise?G:Math.round(G)};return(0,u.pB)(le,{left:O.h.location-l(Oe.left),top:O.v.location-l(Oe.top)}),O};pe.inverseAlign||(pe.inverseAlign=V),pe.normalizeAlign||(pe.normalizeAlign=b);const Ce={calculateScrollbarWidth:w,calculate:ae,setup:pe,offset:function(J){return J=(0,i.Z)(J).get(0),(0,W.FJ)(J)?null:J&&"pageY"in J&&"pageX"in J?{top:J.pageY,left:J.pageX}:(0,i.Z)(J).offset()}}},46885:(Je,Ae,a)=>{a.d(Ae,{B$:()=>u,Kx:()=>q,LK:()=>T,R6:()=>d,XT:()=>U,jt:()=>W,pB:()=>F});var n=a(83520),i=a(29694),ie=a(64596),A="dxTranslator",x=/matrix(3d)?\((.+?)\)/,K=/translate(?:3d)?\((.+?)\)/,W=function(Y){Y=(0,n.Z)(Y);var S=d(Y);return{left:S.x,top:S.y}};function I(Y){return"string"===(0,ie.dt)(Y)&&"%"===Y[Y.length-1]}function H(Y,S){Y.length&&(0,i.aT)(Y.get(0),A,S)}var T=function(Y){Y.length&&(0,i.NU)(Y.get(0),A)},u=function(Y){return Y.x=Y.x||0,Y.y=Y.y||0,"translate("+(I(Y.x)?Y.x:Y.x+"px")+", "+(I(Y.y)?Y.y:Y.y+"px")+")"},d=function(Y){var S=Y.length?(0,i.aT)(Y.get(0),A):null;if(!S){var g=(Y.css("transform")||u({x:0,y:0})).match(x),b=g&&g[1];g?(g=g[2].split(","),"3d"===b?g=g.slice(12,15):(g.push(0),g=g.slice(4,7))):g=[0,0,0],H(Y,S={x:parseFloat(g[0]),y:parseFloat(g[1]),z:parseFloat(g[2])})}return S},F=function(Y,S){Y=(0,n.Z)(Y);var b,c=S.left,g=S.top;void 0===c?(b=d(Y)).y=g||0:void 0===g?(b=d(Y)).x=c||0:H(Y,b={x:c||0,y:g||0,z:0}),Y.css({transform:u(b)}),(I(c)||I(g))&&T(Y)},q=function(Y,S){Y=(0,n.Z)(Y);var c,g={left:0,top:0,transform:"none"};S&&(c=Y.css("transition"),g.transition="none"),Y.css(g),T(Y),S&&(Y.get(0),Y.css("transition",c))},U=function(Y){var S=Y.match(K);if(S&&S[1])return S=S[1].split(","),{x:parseFloat(S[0]),y:parseFloat(S[1]),z:parseFloat(S[2])}}},24388:(Je,Ae,a)=>{a.d(Ae,{Z:()=>x});var n=a(83520),i=a(34500),ie=a(64596),A=a(91553);let x=(()=>{class W{constructor(H,T){T=T||{},this._action=H,this._context=T.context||(0,i.Jj)(),this._beforeE
1xecute=T.beforeExecute,this._afterExecute=T.afterExecute,this._component=T.component,this._validatingTargetName=T.validatingTargetName;var u=this._excludeValidators={};if(T.excludeValidators)for(var d=0;d<T.excludeValidators.length;d++)u[T.excludeValidators[d]]=!0}execute(){var H={action:this._action,args:Array.prototype.slice.call(arguments),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},T=this._beforeExecute,u=this._afterExecute,d=H.args[0]||{};if(this._validateAction(H)&&(T?.call(this._context,H),!H.cancel)){var F=this._executeAction(H);if(!d.cancel)return u?.call(this._context,H),F}}_validateAction(H){var T=this._excludeValidators,{executors:u}=W;for(var d in u)if(!T[d]){var F,q=u[d];if(null===(F=q.validate)||void 0===F||F.call(q,H),H.cancel)return!1}return!0}_executeAction(H){var T,{executors:u}=W;for(var d in u){var F,q=u[d];if(null===(F=q.execute)||void 0===F||F.call(q,H),H.handled){T=H.result;break}}return T}static registerExecutor(H,T){(0,ie.PO)(H)?(0,A.S6)(H,W.registerExecutor):W.executors[H]=T}static unregisterExecutor(){for(var H=arguments.length,T=new Array(H),u=0;u<H;u++)T[u]=arguments[u];(0,A.S6)(T,function(){delete W.executors[this]})}}return W.executors={},W})();var K=W=>I=>{if(I.args.length){var H=I.args[0],T=H[I.validatingTargetName]||H.element;T&&W((0,n.Z)(T))&&(I.cancel=!0)}};x.registerExecutor({disabled:{validate:K(W=>W.is(".dx-state-disabled, .dx-state-disabled *"))},readOnly:{validate:K(W=>W.is(".dx-state-readonly, .dx-state-readonly *:not(.dx-state-independent)"))},undefined:{execute:W=>{W.action||(W.result=void 0,W.handled=!0)}},func:{execute:W=>{(0,ie.mf)(W.action)&&(W.result=W.action.call(W.context,W.args[0]),W.handled=!0)}}})},67771:(Je,Ae,a)=>{a.d(Ae,{Z:()=>I});var n=a(83520);const ie=new(a(52535).Z);var A=a(47484),x=a(69055);ie.add(function(H,T){n.Z.fn[H]=function(u){var F;if("string"==typeof u){var q=u,U=[].slice.call(arguments).slice(1);this.each(function(){var Y=T.getInstance(this);if(!Y)throw A.Z.Error("E0009",H);var c=Y[q].apply(Y,U);void 0===F&&(F=c)})}else this.each(function(){var Y=T.getInstance(this);Y?Y.option(u):new T(this,u)}),F=this;return F}});const I=function(H,T,u){u?T[H]=u:u=T,(0,x.u2)(u,H),ie.fire(H,u)}},13921:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Z});var n=a(21374),i=a(83520),ie=a(34500),A=a(83684),x=a(64596),K=a(47484),W=a(47685),I=a(12395),H=a(46842),T=a(38852),u=(0,ie.Jj)(),F=a(50663),q=a(12429),U=(0,ie.Jj)(),Y={iPhone:"iPhone",iPhone5:"iPhone",iPhone6:"iPhone",iPhone6plus:"iPhone",iPad:"iPad",iPadMini:"iPad Mini",androidPhone:"Android Mobile",androidTablet:"Android",msSurface:"Windows ARM Tablet PC",desktop:"desktop"},S={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,generic:!0,grade:"A",mac:!1},c={generic(V){var ne=/windows phone/i.test(V)||V.match(/WPDesktop/),h=!ne&&/Windows(.*)arm(.*)Tablet PC/i.test(V),E=!ne&&!h&&/msapphost/i.test(V),L=/((intel|ppc) mac os x)/.test(V.toLowerCase());return ne||h||E||L?{deviceType:ne?"phone":h?"tablet":"desktop",platform:"generic",version:[],grade:"A",mac:L}:null},appleTouchDevice(V){var ne=(0,ie.jW)(),h=/Macintosh/i.test(V)&&ne?.maxTouchPoints>2;if(!/ip(hone|od|ad)/i.test(V)&&!h)return null;var L=/ip(hone|od)/i.test(V),M=V.match(/os\s{0,}X? (\d+)_(\d+)_?(\d+)?/i);return{deviceType:L?"phone":"tablet",platform:"ios",version:M?[parseInt(M[1],10),parseInt(M[2],10),parseInt(M[3]||0,10)]:[],grade:480===U.screen.height?"B":"A"}},android(V){var ne=/android|htc_|silk/i.test(V),h=/windows phone/i.test(V);if(!ne||h)return null;var E=/mobile/i.test(V),L=V.match(/android (\d+)\.?(\d+)?\.?(\d+)?/i),M=L?[parseInt(L[1],10),parseInt(L[2]||0,10),parseInt(L[3]||0,10)]:[];return{deviceType:E?"phone":"tablet",platform:"android",version:M,grade:M.length>1&&(M[0]<4||4===M[0]&&M[1]<4)?"B":"A"}}},g=[c.appleTouchDevice,c.android,c.generic],ue=new class b{constructor(ne){this._window=ne?.window||U,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this._eventsStrategy=new T.m(this),this.changed=(0,W.Z)(),(0,ie.Ym)()&&(I.Z.add(this._recalculateOrientation.bind(this)),H.Z.add(this._recalculateOrientation.bind(this)))}current(ne){if(ne)return this._currentDevice=this._getDevice(ne),this._forced=!0,void this.changed.fire();if(!this._currentDevice){ne=void 0;try{ne=this._getDeviceOrNameFromWindowScope()}catch{ne=this._getDeviceNameFromSessionStorage()}finally{ne||(ne=this._getDeviceNameFromSessionStorage()),ne&&(this._forced=!0)}this._currentDevice=this._getDevice(ne)}return this._currentDevice}real(ne){return(0,A.l)({},this._realDevice)}orientation(){return this._currentOrientation}isForced(){return this._forced}isRippleEmulator(){return!!this._window.tinyHippos}
1_getCssClasses(ne){var h=[],E=this._realDevice;return(ne=ne||this.current()).deviceType&&(h.push("dx-device-".concat(ne.deviceType)),"desktop"!==ne.deviceType&&h.push("dx-device-mobile")),h.push("dx-device-".concat(E.platform)),E.version&&E.version.length&&h.push("dx-device-".concat(E.platform,"-").concat(E.version[0])),this.isSimulator()&&h.push("dx-simulator"),(0,q.Z)().rtlEnabled&&h.push("dx-rtl"),h}attachCssClasses(ne,h){this._deviceClasses=this._getCssClasses(h).join(" "),(0,i.Z)(ne).addClass(this._deviceClasses)}detachCssClasses(ne){(0,i.Z)(ne).removeClass(this._deviceClasses)}isSimulator(){try{return this._isSimulator||(0,ie.Ym)()&&this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch{return!1}}forceSimulator(){this._isSimulator=!0}_getDevice(ne){if("genericPhone"===ne&&(ne={deviceType:"phone",platform:"generic",generic:!0}),(0,x.PO)(ne))return this._fromConfig(ne);var h;if(ne){if(!(h=Y[ne]))throw K.Z.Error("E0005")}else h=(0,ie.jW)().userAgent;return this._fromUA(h)}_getDeviceOrNameFromWindowScope(){var ne;return(0,ie.Ym)()&&(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(ne=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),ne}_getDeviceNameFromSessionStorage(){var ne=function(){var V;try{V=u.sessionStorage}catch{}return V}();if(ne){var h=ne.getItem("dx-force-device");try{return JSON.parse(h)}catch{return h}}}_fromConfig(ne){var h=(0,A.l)({},S,this._currentDevice,ne);return(0,A.l)(h,{phone:"phone"===h.deviceType,tablet:"tablet"===h.deviceType,android:"android"===h.platform,ios:"ios"===h.platform,generic:"generic"===h.platform})}_fromUA(ne){for(var h=0;h<g.length;h+=1){var L=(0,g[h])(ne);if(L)return this._fromConfig(L)}return S}_changeOrientation(){var ne=(0,i.Z)(this._window),h=(0,n.Cr)(ne)>(0,n.dz)(ne)?"portrait":"landscape";this._currentOrientation!==h&&(this._currentOrientation=h,this._eventsStrategy.fireEvent("orientationChanged",[{orientation:h}]))}_recalculateOrientation(){var ne=(0,n.dz)(this._window);this._currentWidth!==ne&&(this._currentWidth=ne,this._changeOrientation())}on(ne,h){return this._eventsStrategy.on(ne,h),this}off(ne,h){return this._eventsStrategy.off(ne,h),this}},N=(0,F.S3)();N&&ue.attachCssClasses(N),F.Wg.add((V,ne)=>{ue.detachCssClasses(ne),ue.attachCssClasses(V)});const Z=ue},48966:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ye});var n=a(83520),i=a(12429),ie=a(47484),A=a(46842),x=a(83684),K=a(87462),W=a(64596),I=a(56836),H=a(31996),T=a(68082),F=a(43540),q={},U={};class Y{constructor(p,y){this._options=p,this._optionsByReference=y}_setByReference(p,y){for(var se in(0,x.l)(!0,p,y),this._optionsByReference)Object.prototype.hasOwnProperty.call(y,se)&&(p[se]=y[se])}_setPreparedValue(p,y,se,De){var ge=this.get(this._options,p,!1);if(!function(R,p){return R=(0,H.Ex)(R,!0),p=(0,H.Ex)(p,!0),R&&p&&(0,W.ZU)(R)&&(0,W.ZU)(p)?p.is(R):!(R==R||p==p)||(0===R&&0===p?function(R,p){return 1/R==1/p}(R,p):!(null!==R&&"object"==typeof R&&!T.Z.isElementNode(R))&&R===p)}(ge,y)){var ke=(0,H.Zw)(p);!De&&this._changingCallback(p,ge,y),U[p]=U[p]||(0,H.OM)(p),U[p](this._options,y,{functionsAsIs:!0,merge:(0,W.$K)(se)?se:!this._optionsByReference[p],unwrapObservables:ke.length>1&&!!this._optionsByReference[ke[0]]}),!De&&this._changedCallback(p,y,ge)}}_prepareRelevantNames(p,y,se,De){if((0,W.PO)(se))for(var ge in se)this._prepareRelevantNames(p,"".concat(y,".").concat(ge),se[ge]);this._namePreparedCallbacks(p,y,se,De)}get(){var p=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._options,y=arguments.length>1?arguments[1]:void 0,se=arguments.length>2?arguments[2]:void 0;return q[y]=q[y]||(0,H.vb)(y),q[y](p,{functionsAsIs:!0,unwrapObservables:se})}set(p,y,se,De){for(var ge in p=(0,F.GR)(p,y))this._prepareRelevantNames(p,ge,p[ge],De);for(var ke in p)this._setPreparedValue(ke,p[ke],se,De)}onRelevantNamesPrepared(p){this._namePreparedCallbacks=p}onChanging(p){this._changingCallback=p}onChanged(p){this._changedCallback=p}dispose(){this._changingCallback=I.ZT,this._changedCallback=I.ZT}}class S{constructor(p,y,se,De){this._default=y,this._deprecated=De,this._deprecatedNames=[],this._initDeprecatedNames(),this._optionManager=new Y(p,se),this._optionManager.onRelevantNamesPrepared((ge,ke,Ne,Ge)=>this._setRelevantNames(ge,ke,Ne,Ge)),this._cachedOptions={},this._rules=[]}set _initial(p){this._initialOptions=p}get _initial(){if(!this._initialOptions){var p=this._getByRules(this.silent("defaultOptionsRules"));this._initialOptions=this._default,this._optionManager._setByReference(this._initialOptions,p)}return this._initialOptions}_initDeprecatedNames(){for(var p in this._deprecated)this._deprecatedNames.push(p)}_getByRules(p){return p=Array.isArray(p)?this._rules.concat(p):this._rules,(0,F.wt)(p)}_notifyDeprecated(p){var y=this._deprecated[p];y&&this._deprecatedCallback(p,y)}_setRelevantNames(p,y,se,De){if(y){var ge=this._normalizeName(y,De);ge&&ge!==y&&(this._setField(p,ge,se),this._clearField(p,y))}}_setField(p,y,se){var De="",ge=null;do{De=De?".".concat(De):"",De=(0,F.Ts)(y)+De,ge=(y=(0,F.u5)(y))?this._optionManager.get(p,y,!1):p}while(!ge);ge[De]=se}_clearField(p,y){delete p[y];var se=(0,F.u5)(y),De=se?this._optionManager.get(p,se,!1):p;De&&delete De[(0,F.Ts)(y)]}_normalizeName(p,y){if(this._deprecatedNames.length&&p)for(var se=0;se<this._deprecatedNames.length;se++)if(this._deprecatedNames[se]===p){var De=this._deprecated[p];if(De)return!y&&this._notifyDeprecated(p),De.alias||p}return p}addRules(p){this._rules=p.concat(this._rules)}applyRules(p){var y=this._getByRules(p);this.silent(y)}dispose(){this._deprecatedCallback=I.ZT,this._startChangeCallback=I.ZT,this._endChangeCallback=I.ZT,this._optionManager.dispose()}onChanging(p){this._optionManager.onChanging(p)}onChanged(p){this._optionManager.onChanged(p)}onDeprecated(p){this._deprecatedCallback=p}onStartChange(p){this._startChangeCallback=p}onEndChange(p){this._endChangeCallback=p}isInitial(p){var y=this.silent(p),se=this.initial(p);return(0,W.mf)(y)&&(0,W.mf)(se)?y.toString()===se.toString():(0,I.bY)(y,se)}initial(p){return(0,F.vH)(this._initial,p)}
1option(p,y){if(arguments.length<2&&"object"!==(0,W.dt)(p))return this._optionManager.get(void 0,this._normalizeName(p));this._startChangeCallback();try{this._optionManager.set(p,y)}finally{this._endChangeCallback()}}silent(p,y){if(arguments.length<2&&"object"!==(0,W.dt)(p))return this._optionManager.get(void 0,p,void 0,!0);this._optionManager.set(p,y,void 0,!0)}reset(p){if(p){var se=(0,H.Zw)(p).reduce((ge,ke)=>ge?ge[ke]:this.initial(ke),null),De=(0,W.Kn)(se)?(0,K.Z)({},se):se;this._optionManager.set(p,De,!1)}}getAliasesByName(p){return Object.keys(this._deprecated).filter(y=>p===this._deprecated[y].alias)}isDeprecated(p){return Object.prototype.hasOwnProperty.call(this._deprecated,p)}cache(p,y){if(arguments.length<2)return this._cachedOptions[p];this._cachedOptions[p]=(0,x.l)(this._cachedOptions[p],y)}}var c=a(24245),g=a(24388),b=a(47685),ue=a(38852),N=a(69055),Z=a(80316);class V{constructor(){this._postponedOperations={}}add(p,y,se){if(p in this._postponedOperations)se&&this._postponedOperations[p].promises.push(se);else{var De=new Z.BH;this._postponedOperations[p]={fn:y,completePromise:De,promises:se?[se]:[]}}return this._postponedOperations[p].completePromise.promise()}callPostponedOperations(){for(var p in this._postponedOperations){var y=this._postponedOperations[p];(0,W.$K)(y)&&(y.promises&&y.promises.length?(0,Z.gx)(...y.promises).done(y.fn).then(y.completePromise.resolve):y.fn().done(y.completePromise.resolve))}this._postponedOperations={}}}var ne=R=>R.charAt(2).toLowerCase()+R.substr(3),h=R=>0===R.indexOf("_",0),E=c.Z.inherit({_setDeprecatedOptions(){this._deprecatedOptions={}},_getDeprecatedOptions(){return this._deprecatedOptions},_getDefaultOptions:()=>({onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}),_defaultOptionsRules:()=>[],_setOptionsByDevice(R){this._options.applyRules(R)},_convertRulesToOptions:R=>(0,F.wt)(R),_isInitialOptionValue(R){return this._options.isInitial(R)},_setOptionsByReference(){this._optionsByReference={}},_getOptionsByReference(){return this._optionsByReference},ctor(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{_optionChangedCallbacks:p,_disposingCallbacks:y}=R;this.NAME=(0,N.u2)(this.constructor),this._eventsStrategy=ue.m.create(this,R.eventsStrategy),this._updateLockCount=0,this._optionChangedCallbacks=p||(0,b.Z)(),this._disposingCallbacks=y||(0,b.Z)(),this.postponedOperations=new V,this._createOptions(R)},_createOptions(R){this.beginUpdate();try{this._setOptionsByReference(),this._setDeprecatedOptions(),this._options=new S(this._getDefaultOptions(),this._getDefaultOptions(),this._getOptionsByReference(),this._getDeprecatedOptions()),this._options.onChanging((p,y,se)=>this._initialized&&this._optionChanging(p,y,se)),this._options.onDeprecated((p,y)=>this._logDeprecatedOptionWarning(p,y)),this._options.onChanged((p,y,se)=>this._notifyOptionChanged(p,y,se)),this._options.onStartChange(()=>this.beginUpdate()),this._options.onEndChange(()=>this.endUpdate()),this._options.addRules(this._defaultOptionsRules()),R&&R.onInitializing&&R.onInitializing.apply(this,[R]),this._setOptionsByDevice(R.defaultOptionsRules),this._initOptions(R)}finally{this.endUpdate()}},_initOptions(R){this.option(R)},_init(){this._createOptionChangedAction(),this.on("disposing",R=>{this._disposingCallbacks.fireWith(this,[R])})},_logDeprecatedOptionWarning(R,p){var y=p.message||"Use the '".concat(p.alias,"' option instead");ie.Z.log("W0001",this.NAME,R,p.since,y)},_logDeprecatedComponentWarning(R,p){ie.Z.log("W0000",this.NAME,R,"Use the '".concat(p,"' widget instead"))},_createOptionChangedAction(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly"]})},_createDisposingAction(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly"]})},_optionChanged(R){switch(R.name){case"onDisposing":case"onInitialized":break;case"onOptionChanged":this._createOptionChangedAction()}},_dispose(){this._optionChangedCallbacks.empty(),this._createDisposingAction(),this._disposingAction(),this._eventsStrategy.dispose(),this._options.dispose(),this._disposed=!0},_lockUpdate(){this._updateLockCount++},_unlockUpdate(){this._updateLockCount=Math.max(this._updateLockCount-1,0)},_isUpdateAllowed(){return 0===this._updateLockCount},_isInitializingRequired(){return!this._initializing&&!this._initialized},isInitialized(){return this._initialized},_commitUpdate(){this.postponedOperations.callPostponedOperations(),this._isInitializingRequired()&&this._initializeComponent()},_initializeComponent(){this._initializing=!0;try{this._init()}finally{this._initializing=!1,this._lockUpdate(),this._createActionByOption("onInitialized",{excludeValidators:["disabled","readOnly"]}
1)(),this._unlockUpdate(),this._initialized=!0}},instance(){return this},beginUpdate:function(){this._lockUpdate()},endUpdate:function(){this._unlockUpdate(),this._isUpdateAllowed()&&this._commitUpdate()},_optionChanging:I.ZT,_notifyOptionChanged(R,p,y){if(this._initialized)for(var se=[R].concat(this._options.getAliasesByName(R)),De=0;De<se.length;De++){var ge=se[De],ke={name:(0,H.Zw)(ge)[0],fullName:ge,value:p,previousValue:y};h(ge)||(this._optionChangedCallbacks.fireWith(this,[(0,x.l)(this._defaultActionArgs(),ke)]),this._optionChangedAction((0,x.l)({},ke))),!this._disposed&&this._cancelOptionChange!==ge&&this._optionChanged(ke)}},initialOption(R){return this._options.initial(R)},_defaultActionConfig(){return{context:this,component:this}},_defaultActionArgs(){return{component:this}},_createAction(R,p){var y;return se=>((0,W.$K)(se)||(se={}),(0,W.PO)(se)||(se={actionValue:se}),(y=y||new g.Z(R,(0,x.l)({},p,this._defaultActionConfig()))).execute.call(y,(0,x.l)(se,this._defaultActionArgs())))},_createActionByOption(R,p){var se,De,ge,y=this;p=(0,x.l)({},p);var ke=function(){if(!De){if(p=p||{},"string"!=typeof R)throw ie.Z.Error("E0008");0===R.indexOf("on")&&(De=ne(R)),ge=y.option(R)}if(se||ge||p.beforeExecute||p.afterExecute||y._eventsStrategy.hasEvent(De)){if(!se){var Ge=p.beforeExecute;p.beforeExecute=function(){for(var je=arguments.length,Qe=new Array(je),We=0;We<je;We++)Qe[We]=arguments[We];Ge&&Ge.apply(y,Qe),y._eventsStrategy.fireEvent(De,Qe[0].args)},se=y._createAction(ge,p)}for(var tt=arguments.length,xe=new Array(tt),Pe=0;Pe<tt;Pe++)xe[Pe]=arguments[Pe];return(0,i.Z)().wrapActionsBeforeExecute?((y.option("beforeActionExecute")||I.ZT)(y,se,p)||se).apply(y,xe):se.apply(y,xe)}};return(0,i.Z)().wrapActionsBeforeExecute?ke:(this.option("onActionCreated")||I.ZT)(this,ke,p)||ke},on(R,p){return this._eventsStrategy.on(R,p),this},off(R,p){return this._eventsStrategy.off(R,p),this},hasActionSubscription:function(R){return!!this._options.silent(R)||this._eventsStrategy.hasEvent(ne(R))},isOptionDeprecated(R){return this._options.isDeprecated(R)},_setOptionWithoutOptionChange(R,p){this._cancelOptionChange=R,this.option(R,p),this._cancelOptionChange=!1},_getOptionValue(R,p){var y=this.option(R);return(0,W.mf)(y)?y.bind(p)():y},option(){return this._options.option(...arguments)},resetOption(R){this.beginUpdate(),this._options.reset(R),this.endUpdate()}}),L=a(74609),M=a(8817),w=a(16667),pe=new L.k(R=>{var{model:p,parent:y}=R,se=p.widget;if(!se)return(0,n.Z)();var De=(0,n.Z)("<div>"),ge=p.options||{};return y?y._createComponent(De,se,ge):De[se](ge),De});class Se{constructor(p,y){this._tempTemplates=[],this._defaultTemplates={},this._anonymousTemplateName=y||"template",this._createElement=p||w.gi,this._createTemplateIfNeeded=this._createTemplateIfNeeded.bind(this)}static createDefaultOptions(){return{integrationOptions:{watchMethod:function(p,y){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipImmediate||y(p()),I.ZT},templates:{"dx-polymorph-widget":pe},useDeferUpdateForTemplates:!0}}}get anonymousTemplateName(){return this._anonymousTemplateName}addDefaultTemplates(p){this._defaultTemplates=(0,x.l)({},this._defaultTemplates,p)}
1dispose(){this._tempTemplates.forEach(p=>{p.template.dispose&&p.template.dispose()}),this._tempTemplates=[]}extractTemplates(p){return{templates:this._extractTemplates(p),anonymousTemplateMeta:this._extractAnonymousTemplate(p)}}_extractTemplates(p){var y=(0,w.hK)(p,"dxTemplate"),se=(0,w.ZE)(y);return y.forEach(De=>{var{element:ge,options:{name:ke}}=De;ge===se[ke]?(0,n.Z)(ge).addClass("dx-template-wrapper").detach():(0,n.Z)(ge).remove()}),Object.keys(se).map(De=>({name:De,template:this._createTemplate(se[De])}))}_extractAnonymousTemplate(p){var y=p.contents().detach();return y.filter((De,ge)=>{var ke=3===ge.nodeType,Ne=(0,n.Z)(ge).text().trim().length<1;return!(ke&&Ne)}).length>0?{template:this._createTemplate(y),name:this._anonymousTemplateName}:{}}_createTemplateIfNeeded(p){var y=this._tempTemplates.filter(De=>De.source===(0,w.TM)(p))[0];if(y)return y.template;var se=this._createTemplate(p);return this._tempTemplates.push({template:se,source:(0,w.TM)(p)}),se}_createTemplate(p){return this._createElement((0,w.v_)(p))}getTemplate(p,y,se,De){var{isAsyncTemplate:ge,skipTemplates:ke}=se;return(0,W.mf)(p)?new L.k(Ne=>{var Ge=p.apply(De,(0,w.Wl)(Ne));if(!(0,W.$K)(Ge))return new M.s;var tt=!1,xe=(0,w.t0)(Ge,fe=>fe.nodeType||(0,W.ZU)(fe)&&!(0,n.Z)(fe).is("script")?new L.k(()=>fe):(tt=!0,this._createTemplate(fe)),y,ge,ke,this._defaultTemplates),Pe=xe.render(Ne);return tt&&xe.dispose&&xe.dispose(),Pe}):(0,w.t0)(p,this._createTemplateIfNeeded,y,ge,ke,this._defaultTemplates)}}var Ce=a(30249),J=a(29694),z=a(91553),le=a(37075),Oe=a(34500),O=a(93802),{abstract:l}=E,G=E.inherit({_getDefaultOptions(){return(0,x.l)(this.callBase(),{width:void 0,height:void 0,rtlEnabled:(0,i.Z)().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}},this._useTemplates()?Se.createDefaultOptions():{})},ctor(R,p){this._customClass=null,this._createElement(R),(0,N.nf)(this._$element,this,this._dispose),this.callBase(p)},_createElement(R){this._$element=(0,n.Z)(R)},_getSynchronizableOptionsForCreateComponent:()=>["rtlEnabled","disabled","templatesRenderAsynchronously"],_checkFunctionValueDeprecation:function(R){this.option("_ignoreFunctionValueDeprecation")||R.forEach(p=>{(0,W.mf)(this.option(p))&&ie.Z.log("W0017",p)})},_visibilityChanged:l,_dimensionChanged:l,_init(){this.callBase(),this._checkFunctionValueDeprecation(["width","height","maxHeight","maxWidth","minHeight","minWidth","popupHeight","popupWidth"]),this._attachWindowResizeCallback(),this._initTemplateManager()},_setOptionsByDevice(R){this.callBase([].concat(this.constructor._classCustomRules||[],R||[]))},_isInitialOptionValue(R){return!(this.constructor._classCustomRules&&Object.prototype.hasOwnProperty.call(this._convertRulesToOptions(this.constructor._classCustomRules),R))&&this.callBase(R)},_attachWindowResizeCallback(){if(this._isDimensionChangeSupported()){var R=this._windowResizeCallBack=this._dimensionChanged.bind(this);A.Z.add(R)}},_isDimensionChangeSupported(){return this._dimensionChanged!==l},_renderComponent(){this._initMarkup(),(0,Oe.Ym)()&&this._render()},_initMarkup(){var{rtlEnabled:R}=this.option()||{};this._renderElementAttributes(),this._toggleRTLDirection(R),this._renderVisibilityChange(),this._renderDimensions()},_render(){this._attachVisibilityChangeHandlers(),(0,Ce.R)(this.$element())},_renderElementAttributes(){var{elementAttr:R}=this.option()||{},p=(0,x.l)({},R),y=p.class;delete p.class,this.$element().attr(p).removeClass(this._customClass).addClass(y),this._customClass=y},_renderVisibilityChange(){this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()&&this.$element().addClass("dx-visibility-change-handler")},_renderDimensions(){var R=this.$element(),p=R.get(0),y=this._getOptionValue("width",p),se=this._getOptionValue("height",p);this._isCssUpdateRequired(p,se,y)&&R.css({width:null===y?"":y,height:null===se?"":se})},_isCssUpdateRequired:(R,p,y)=>!!((0,W.$K)(y)||(0,W.$K)(p)||R.style.width||R.style.height),_attachDimensionChangeHandlers(){var R=this.$element(),p="".concat(this.NAME,"VisibilityChange");O.SI.off(R,{namespace:p}),O.SI.on(R,()=>this._dimensionChanged(),{namespace:p})},_attachVisibilityChangeHandlers(){if(this._isVisibilityChangeSupported()){var R=this.$element(),p="".concat(this.NAME,"VisibilityChange");this._isHidden=!this._isVisible(),O.WD.off(R,{namespace:p}),O.WD.on(R,()=>this._checkVisibilityChanged("shown"),()=>this._checkVisibilityChanged("hiding"),{namespace:p})}},_isVisible(){return this.$element().is(":visible")},_checkVisibilityChanged(R){this._isVisible()&&("hiding"!==R||this._isHidden?"shown"===R&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0)):(this._visibilityChanged(!1),this._isHidden=!0))},_isVisibilityChangeSupported(){return this._visibilityChanged!==l&&(0,Oe.Ym)()},_clean:I.ZT,_modelByElement(){var{modelByElement:R}=this.option(),p=this.$element();return R?R(p):void 0},_invalidate(){if(this._isUpdateAllowed())throw ie.Z.Error("E0007");this._requireRefresh=!0},_refresh(){this._clean(),this._renderComponent()},_dispose(){this._templateManager&&this._templateManager.dispose(),this.callBase(),this._clean(),this._detachWindowResizeCallback()},_detachWindowResizeCallback(){this._isDimensionChangeSupported()&&A.Z.remove(this._windowResizeCallBack)},_toggleRTLDirection(R){this.$element().toggleClass("dx-rtl",R)},_createComponent(R,p){var y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},se=(0,I.h3)(this._getSynchronizableOptionsForCreateComponent(),xe=>!(xe in y)),{integrationOptions:De}=this.option(),{nestedComponentOptions:ge}=this.option(),ke=(0,x.l)({integrationOptions:De},(ge=ge||I.ZT)(this));se.forEach(xe=>ke[xe]=this.option(xe)),this._extendConfig(y,ke);var Ne=void 0;if((0,W.HD)(p)){var Ge=(0,n.Z)(R)[p](y);Ne=Ge[p]("instance")}else R&&((Ne=p.getInstance(R))?Ne.option(y):Ne=new p(R,y));if(Ne){var tt=xe=>{var{name:Pe,value:fe}=xe;se.includes(Pe)&&Ne.option(Pe,fe)};this.on("optionChanged",tt),Ne.on("disposing",()=>this.off("optionChanged",tt))}return Ne},_extendConfig(R,p){(0,z.S6)(p,(y,se)=>{!Object.prototype.hasOwnProperty.call(R,y)&&(R[y]=se)})},_defaultActionConfig(){var R=this.$element(),p=this._modelByElement(R);return(0,x.l)(this.callBase(),{context:p})},_defaultActionArgs(){var R=this.$element(),p=this._modelByElement(R),y=this.element
1();return(0,x.l)(this.callBase(),{element:y,model:p})},_optionChanged(R){switch(R.name){case"width":case"height":this._renderDimensions();break;case"rtlEnabled":this._invalidate();break;case"elementAttr":this._renderElementAttributes();break;case"disabled":case"integrationOptions":break;default:this.callBase(R)}},_removeAttributes(R){for(var p=R.attributes,y=p.length-1;y>=0;y--){var se=p[y];if(se){var{name:De}=se;(!De.indexOf("aria-")||-1!==De.indexOf("dx-")||"role"===De||"style"===De||"tabindex"===De)&&R.removeAttribute(De)}}},_removeClasses(R){R.className=R.className.split(" ").filter(p=>0!==p.lastIndexOf("dx-",0)).join(" ")},_updateDOMComponent(R){R?this._renderComponent():this._requireRefresh&&(this._requireRefresh=!1,this._refresh())},endUpdate(){var R=this._isInitializingRequired();this.callBase(),this._isUpdateAllowed()&&this._updateDOMComponent(R)},$element(){return this._$element},element(){var R=this.$element();return(0,le.u)(R)},dispose(){var R=this.$element().get(0);(0,J.nK)(R,!0),R.textContent="",this._removeAttributes(R),this._removeClasses(R)},resetOption(R){if(this.callBase(R),"width"===R||"height"===R){var p=this.initialOption(R);!(0,W.$K)(p)&&this.$element().css(R,"")}},_getAnonymousTemplateName(){},_initTemplateManager(){if(!this._templateManager&&this._useTemplates()){var{integrationOptions:R={}}=this.option(),{createTemplate:p}=R;this._templateManager=new Se(p,this._getAnonymousTemplateName()),this._initTemplates()}},_initTemplates(){var{templates:R,anonymousTemplateMeta:p}=this._templateManager.extractTemplates(this.$element()),y=this.option("integrationOptions.templates.".concat(p.name));R.forEach(se=>{var{name:De,template:ge}=se;this._options.silent("integrationOptions.templates.".concat(De),ge)}),p.name&&!y&&(this._options.silent("integrationOptions.templates.".concat(p.name),p.template),this._options.silent("_hasAnonymousTemplateContent",!0))},_getTemplateByOption(R){return this._getTemplate(this.option(R))},_getTemplate(R){var p=this.option("integrationOptions.templates"),y=this.option("templatesRenderAsynchronously"),se=this.option("integrationOptions.skipTemplates");return this._templateManager.getTemplate(R,p,{isAsyncTemplate:y,skipTemplates:se},this)},_saveTemplate(R,p){this._setOptionWithoutOptionChange("integrationOptions.templates."+R,this._templateManager._createTemplate(p))},_useTemplates:()=>!0});G.getInstance=function(R){return(0,N.Bt)((0,n.Z)(R),this)},G.defaultOptions=function(R){this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(R)};const ye=G},37075:(Je,Ae,a)=>{a.d(Ae,{u:()=>i});var n=function(A){return A&&A.get(0)};function i(A){return n(A)}},38852:(Je,Ae,a)=>{a.d(Ae,{m:()=>A});var n=a(47685),i=a(91553),ie=a(64596);class A{constructor(K){var W=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._events={},this._owner=K,this._options=W}static create(K,W){return W?(0,ie.mf)(W)?W(K):W:new A(K)}hasEvent(K){var W=this._events[K];return!!W&&W.has()}fireEvent(K,W){var I=this._events[K];return I&&I.fireWith(this._owner,W),this._owner}on(K,W){if((0,ie.PO)(K))(0,i.S6)(K,(T,u)=>{this.on(T,u)});else{var I=this._events[K];I||(I=(0,n.Z)({syncStrategy:this._options.syncStrategy}),this._events[K]=I),(I.originalAdd||I.add).call(I,W)}}off(K,W){var I=this._events[K];I&&((0,ie.mf)(W)?I.remove(W):I.empty())}dispose(){(0,i.S6)(this._events,(K,W)=>{W.empty()})}}},43540:(Je,Ae,a)=>{a.d(Ae,{GR:()=>I,J3:()=>F,Ts:()=>T,u5:()=>u,vH:()=>d,wt:()=>W});var n=a(13921),i=a(64596),ie=a(56836),A=a(83684),x=a(31996),K={},W=q=>{var U=n.Z.current();return q.reduce((Y,S)=>{var{device:c,options:g}=S,b=c||{};return((0,i.mf)(b)?b(U):H(U,b))&&(0,A.l)(!0,Y,g),Y},{})},I=(q,U)=>"string"!=typeof q?q:{[q]:U},H=(q,U)=>(0,i.Qr)(U)||(0,ie.U3)(q,[U]).length>0,T=q=>q.substr(q.lastIndexOf(".")+1),u=q=>q.substr(0,q.lastIndexOf(".")),d=function(q,U){return K[U]=K[U]||(0,x.vb)(U),K[U](q,{functionsAsIs:!0})},F=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}},66896:(Je,Ae,a)=>{a.d(Ae,{Z:()=>W});var n=a(56836),i=a(34500),ie=(0,i.Jj)(),A={observe:n.ZT,unobserve:n.ZT,disconnect:n.ZT};const W=new class x{constructor(){if(!(0,i.Ym)()||!ie.ResizeObserver)return A;this._callbacksMap=new Map,this._observer=new ie.ResizeObserver(H=>{H.forEach(T=>{var u;null===(u=this._callbacksMap.get(T.target))||void 0===u||u(T)})})}observe(H,T){this._callbacksMap.set(H,T),this._observer.observe(H)}unobserve(H){this._callbacksMap.delete(H),this._observer.unobserve(H)}disconnect(){this._callbacksMap.clear(),this._observer.disconnect()}}},98595:(Je,Ae,a)=>{a.d(Ae,{c:()=>W});var n=a(83520),i=a(82946),ie=a(24705),A=a(79890),x=a(64596);class W extends i.S{constructor(H,T,u,d){super(),this._render=H,this._fields=T,this._fieldsMap=d||{},this._watchMethod=u}_renderCore(H){var T=(0,n.Z)(H.container),u=function(I,H,T,u,d){var F,U,q=(U=I,H(()=>U,function(U){var Y,S,c,g,b,ue,N,Z;F&&F(),(0,x.pt)(U)?d(U):(Y=U,S=H,g=u,b=d,ue={},N=(c=T).slice(),Z=c.map(function(V){var ne=g[V];return S(ne?()=>ne(Y):()=>Y[V],function(h){if(ue[V]=h,N.length){var E=N.indexOf(V);E>=0&&N.splice(E,1)}N.length||b(ue)})}),F=function(){Z.forEach(V=>V())})}));return function(){F&&F(),q&&q()}}(H.model,this._watchMethod,this._fields,this._fieldsMap,d=>{T.empty(),this._render(T,d,H.model)});return ie.Z.on(T,A.x,u),T.contents()}}},58437:(Je,Ae,a)=>{a.d(Ae,{s:()=>i});var n=a(82946);class i extends n.S{constructor(A){super(),this.name=A}}},8817:(Je,Ae,a)=>{a.d(Ae,{s:()=>ie});var n=a(83520),i=a(82946);class ie extends i.S{_renderCore(){return(0,n.Z)()}}},74609:(Je,Ae,a)=>{a.d(Ae,{k:()=>ie});var n=a(82946),i=a(43615);
1class ie extends n.S{constructor(x){super(),this._render=x}_renderCore(x){return(0,i.H_)(this._render(x))}}},82946:(Je,Ae,a)=>{a.d(Ae,{S:()=>I});var n=a(83520),i=a(68082),ie=a(47685),A=a(43615),x=a(71128),K=a(47484),W=(0,ie.Z)({syncStrategy:!0});class I{render(T){var d,u=(T=T||{}).onRendered;return delete T.onRendered,d=T.renovated&&T.transclude&&this._element?(0,n.Z)("<div>").append(this._element).contents():this._renderCore(T),this._ensureResultInContainer(d,T.container),W.fire(d,T.container),u&&u(),d}_ensureResultInContainer(T,u){if(u){var d=(0,n.Z)(u),F=(0,A.r3)(d.get(0),T.get(0));d.append(T),F||i.Z.getBody().contains(d.get(0))&&(0,x.Uo)(T)}}_renderCore(){throw K.Z.Error("E0001")}}},46769:(Je,Ae,a)=>{a.d(Ae,{R1:()=>I,rZ:()=>K,sE:()=>x,vM:()=>T}),a(64596),a(84797),a(12429);var x=function(u){return Array.isArray(u)?u:[u]},K=function(u){return[...new Set(u)]},I=function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],F=function A(u){return u.reduce((d,F)=>{var q,U=(null!==(q=d.get(F))&&void 0!==q?q:0)+1;return d.set(F,U),d},new Map)}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return u.filter(q=>{var U=F.get(q);return U&&F.set(q,U-1),!U})},T=(u,d)=>u.reduce((F,q)=>{var U,Y=d(q);return F[Y]=null!==(U=F[Y])&&void 0!==U?U:[],F[Y].push(q),F},{})},25193:(Je,Ae,a)=>{a.d(Ae,{E:()=>A,h:()=>x});var n=a(64596),i=function(K,W){var I=W(K);if((0,n.Kn)(I))try{return JSON.stringify(I)}catch{return I}return I},ie=function(K,W,I,H){return W[I[i(K,H)]]},A=function(K,W){if(K.length!==W.length)return!1;for(var I=0;I<W.length;I++)if(K[I]!==W[I])return!1;return!0},x=function(K,W,I,H){var T={},u={},d=0,F=0,q=[];K.forEach(function(V,ne){var h=i(V,I);T[h]=ne}),W.forEach(function(V,ne){var h=i(V,I);u[h]=ne});for(var U=Math.max(K.length,W.length),Y=0;Y<U+d;Y++){var S=W[Y],c=Y-d+F,g=K[c];if(!S||g&&!ie(g,W,u,I))g&&(q.push({type:"remove",key:I(g),index:Y,oldItem:g}),F++,Y--);else{var ue=i(S,I),N=T[ue],Z=K[N];if(Z){if(N!==c)return;H(Z,S)||q.push({type:"update",data:S,key:I(S),index:Y,oldItem:Z})}else d++,q.push({type:"insert",data:S,index:Y})}}return q}},30805:(Je,Ae,a)=>{a.d(Ae,{Z:()=>W});var n=a(83684),ie=(0,a(34500).jW)(),A=/(webkit)[ /]([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))/,K=I=>{I=I.toLowerCase();var H={},T=A.exec(I)||I.indexOf("compatible")<0&&x.exec(I)||[],u=T[1],d=T[2];return"webkit"===u&&(H.webkit=!0,I.indexOf("chrome")>=0||I.indexOf("crios")>=0?(u="chrome",d=(d=/(?:chrome|crios)\/(\d+\.\d+)/.exec(I))&&d[1]):I.indexOf("fxios")>=0?(u="mozilla",d=(d=/fxios\/(\d+\.\d+)/.exec(I))&&d[1]):I.indexOf("safari")>=0&&/version|phantomjs/.test(I)?(u="safari",d=(d=/(?:version|phantomjs)\/([0-9.]+)/.exec(I))&&d[1]):(u="unknown",d=(d=/applewebkit\/([0-9.]+)/.exec(I))&&d[1])),u&&(H[u]=!0,H.version=d),H};const W=(0,n.l)({_fromUA:K},K(ie.userAgent))},56872:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Ke});var n=a(64596),i=a(92657),ie=a(91553),A=a(68262),x={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,quarter:7776e6,year:31536e6};function K(be){return x[be]}var W=7,u=["millisecond","second","minute","hour","day","week","month","quarter","year"],q=function(be){var we,B,de,D=["millisecond","second","minute","hour","day","month","year"],m={};for(we=D.length-1;we>=0;we--)de=D[we],(B=Math.floor(be/K(de)))>0&&(m[de+"s"]=B,be-=Y(de,B));return m};function Y(be,we){return K(be)*we}function S(be){var B,we=-1;return(0,n.HD)(be)?be:(0,n.Kn)(be)?((0,ie.S6)(be,function(de,D){for(B=0;B<u.length;B++)D&&(de===u[B]+"s"||de===u[B])&&we<B&&(we=B)}),u[we]):""}var c={millisecond:"millisecond",second:"longtime",minute:"shorttime",hour:"shorttime",day:"day",week:"day",month:"month",quarter:"quarter",year:"year"},b=function(be){return Math.floor(be/3)},ue=function(be){return 3*b(be)};function N(be,we,B,de){be=new Date(be.getTime());var m,ee,D=new Date(be.getTime()),ve=S(we);switch(ve){case"second":be=new Date(1e3*Math.floor(D.getTime()/1e3));break;case"minute":be=new Date(6e4*Math.floor(D.getTime()/6e4));break;case"hour":be=new Date(36e5*Math.floor(D.getTime()/36e5));break;case"year":be.setMonth(0);case"month":be.setDate(1);case"day":be.setHours(0,0,0,0);break;case"week":(be=De(be,de||0)).setHours(0,0,0,0);break;case"quarter":m=ue(be.getMonth()),ee=be.getMonth(),be.setDate(1),be.setHours(0,0,0,0),ee!==m&&be.setMonth(m)}return B&&"hour"!==ve&&"minute"!==ve&&"second"!==ve&&Xe(D,be),be}function Z(be){return N(be,"day")}function h(be,we,B){var de=new Date(be.getTime()),D=(0,n.HD)(we)?J(we.toLowerCase()):(0,n.kE)(we)?q(we):we;return D.years&&de.setFullYear(de.getFullYear()+D.years*B),D.quarters&&de.setMonth(de.getMonth()+3*D.quarters*B),D.months&&de.setMonth(de.getMonth()+D.months*B),D.weeks&&de.setDate(de.getDate()+7*D.weeks*B),D.days&&de.setDate(de.getDate()+D.days*B),D.hours&&de.setTime(de.getTime()+36e5*D.hours*B),D.minutes&&de.setTime(de.getTime()+6e4*D.minutes*B
1),D.seconds&&de.setTime(de.getTime()+1e3*D.seconds*B),D.milliseconds&&de.setTime(de.getTime()+D.milliseconds*B),de}var E=function(be,we,B){var de=B?-1:1;return(0,n.J_)(be)?h(be,we,de):(0,i.zB)(be+we*de,we)};function ce(be){return te(be.getFullYear(),be.getMonth()+1,0).getDate()}function J(be){var we={};switch(be){case"year":we.years=1;break;case"month":we.months=1;break;case"quarter":we.months=3;break;case"week":we.weeks=1;break;case"day":we.days=1;break;case"hour":we.hours=1;break;case"minute":we.minutes=1;break;case"second":we.seconds=1;break;case"millisecond":we.milliseconds=1}return we}function le(be,we){return Oe(be,we)&&be.getMonth()===we.getMonth()}function Oe(be,we){return be&&we&&be.getFullYear()===we.getFullYear()}function ye(be){return be&&be.getFullYear()-be.getFullYear()%100}function R(be){return be&&be.getFullYear()-be.getFullYear()%10}function De(be,we){var B=(be.getDay()-we+W)%W,de=new Date(be);return de.setDate(be.getDate()-B),de}function ge(be){return Date.UTC(be.getFullYear(),be.getMonth(),be.getDate())}function Ne(be){return new Date(be,0,1)}function Ge(be){return new Date(be,11,31)}function tt(be,we){var B=be.getDay()-we+1;return B<=0&&(B+=W),B}function We(be,we,B){var de=be;return(0,n.$K)(be)?((0,n.$K)(we)&&be<we&&(de=we),(0,n.$K)(B)&&be>B&&(de=B),de):be}function Xe(be,we){if((0,n.$K)(be)){var B=we.getHours()-be.getHours();if(0!==B){var de=1===B||-23===B?-1:1,D=new Date(we.getTime()+36e5*de);(de>0||D.getDate()===we.getDate())&&we.setTime(D.getTime())}}}function et(be,we){return 60*(we.getTimezoneOffset()-be.getTimezoneOffset())*1e3}var te=function(be){var we=new Date(...arguments);return we.setFullYear(be),we},Fe={dateUnitIntervals:u,convertMillisecondsToDateUnits:q,dateToMilliseconds:function(be){var we=0;return(0,n.Kn)(be)&&(0,ie.S6)(be,function(B,de){we+=Y(B.substr(0,B.length-1),de)}),(0,n.HD)(be)&&(we=Y(be,1)),we},getNextDateUnit:function(be,we){switch(S(be)){case"millisecond":return"second";case"second":return"minute";case"minute":return"hour";case"hour":return"day";case"day":return we?"week":"month";case"week":return"month";case"month":return"quarter";case"quarter":case"year":return"year";default:return 0}},convertDateUnitToMilliseconds:Y,getDateUnitInterval:S,getDateFormatByTickInterval:function g(be){return c[S(be)]||""},getDatesDifferences:function(be,we){var B=0,de={year:be.getFullYear()!==we.getFullYear(),month:be.getMonth()!==we.getMonth(),day:be.getDate()!==we.getDate(),hour:be.getHours()!==we.getHours(),minute:be.getMinutes()!==we.getMinutes(),second:be.getSeconds()!==we.getSeconds(),millisecond:be.getMilliseconds()!==we.getMilliseconds()};return(0,ie.S6)(de,function(D,m){m&&B++}),0===B&&0!==et(be,we)&&(de.hour=!0,B++),de.count=B,de},correctDateWithUnitBeginning:N,trimTime:Z,setToDayEnd:function(be){var we=Z(be);return we.setDate(we.getDate()+1),new Date(we.getTime()-1)},roundDateByStartDayHour:function(be,we){var B=this.dateTimeFromDecimal(we),de=new Date(be);return(be.getHours()===B.hours&&be.getMinutes()<B.minutes||be.getHours()<B.hours)&&de.setHours(B.hours,B.minutes,0,0),de},dateTimeFromDecimal:function(be){return{hours:Math.floor(be),minutes:be%1*60}},addDateInterval:h,addInterval:E,getSequenceByInterval:function(be,we,B){var D,de=[];for(de.push((0,n.J_)(be)?new Date(be.getTime()):be),D=be;D<we;)D=E(D,B),de.push(D);return de},getDateIntervalByString:J,sameHoursAndMinutes:function O(be,we){return be&&we&&be.getHours()===we.getHours()&&be.getMinutes()===we.getMinutes()},sameDate:function z(be,we){return le(be,we)&&be.getDate()===we.getDate()},sameMonthAndYear:le,sameMonth:le,sameYear:Oe,sameDecade:function(be,we){if((0,n.$K)(be)&&(0,n.$K)(we)){var B=be.getFullYear()-be.getFullYear()%10,de=we.getFullYear()-we.getFullYear()%10;return be&&we&&B===de}},sameCentury:function(be,we){if((0,n.$K)(be)&&(0,n.$K)(we)){var B=be.getFullYear()-be.getFullYear()%100,de=we.getFullYear()-we.getFullYear()%100;return be&&we&&B===de}},getDifferenceInMonth:function(be){var we=1;return"year"===be&&(we=12),"decade"===be&&(we=120),"century"===be&&(we=1200),we},getDifferenceInMonthForCells:function(be){var we=1;return"decade"===be&&(we=12),"century"===be&&(we=120),we},getFirstYearInDecade:R,getFirstDecadeInCentury:ye,getShortDateFormat:function(){return"yyyy/MM/dd"},getViewFirstCellDate:function(be,we){return"month"===be?te(we.getFullYear(),we.getMonth(),1):"year"===be?te(we.getFullYear(),0,we.getDate()):"decade"===be?te(R(we),we.getMonth(),we.getDate()):"century"===be?te(ye(we),we.getMonth(),we.getDate()):void 0},getViewLastCellDate:function(be,we){return"month"===be?te(we.getFullYear(),we.getMonth(),ce(we)):"year"===be?te(we.getFullYear(),11,we.getDate()):"decade"===be?te(R(we)+9,we.getMonth(),we.getDate()):"century"===be?te(ye(we)+90,we.getMonth(),we.getDate()):void 0},getViewDown:function(be){switch(be){case"century":return"decade";case"decade":return"year";case"year":return"month"}},getViewUp:function(be){switch(be){case"month":return"year";case"year":return"decade";case"decade":return"century"}},getLastMonthDay:ce,getLastMonthDate:function(be){if((0,n.$K)(be))return te(be.getFullYear(),be.getMonth()+1,0)},getFirstMonthDate:function(be){if((0,n.$K)(be))return te(be.getFullYear(),be.getMonth(),1)},getFirstWeekDate:De,getWeekNumber:function xe(be,we,B){var de=tt(Ne(be.getFullYear()),we),D=tt(Ge(be.getFullYear()),we),m=W-de+1,ee=Math.ceil((function ke(be){var we=ge(be)-ge(Ne(be.getFullYear()));return 1+Math.floor(we/K("day"))}(be)-m)/7);switch(B){case"fullWeek":return m===W&&ee++,0===ee?xe(Ge(be.getFullYear()-1),we,B):ee;case"firstDay":return m>0&&ee++,(ee>52&&!(7===de||7===D)||54===ee)&&(ee=1),ee;case"firstFourDays":return m>3&&ee++,ee>52&&!(4===de||4===D)&&(ee=1),0===ee?xe(Ge(be.getFullYear()-1),we,B):ee}},normalizeDateByWeek:function(be,we){var B=Fe.getDatesInterval(be,we,"day"),de=new Date(be);return B>=6&&(de=new Date(de.setDate(de.getDate()+7))),de},getQuarter:b,getFirstQuarterMonth:ue,dateInRange:function(be,we,B,de){return"date"===de&&(we=we&&Fe.correctDateWithUnitBeginning(we,"day"),B=B&&Fe.correctDateWithUnitBeginning(B,"day"),be=be&&Fe.correctDateWithUnitBeginning(be,"day")),We(be,we,B)===be},intervalsOverlap:function(be){var{firstMin:we,firstMax:B,secondMin:de,secondMax:D}=be;return we<=de&&de<=B||we>de&&we<D||we<D&&B>D},roundToHour:function(be){var we=new Date(be.getTime());return we.setHours(we.getHours()+1),we.setMinutes(0),we},normalizeDate:We,getViewMinBoundaryDate:function(be,we){var B=te(we.getFullYear(),we.getMonth(),1);return"month"===be||(B.setMonth(0),"year"===be)||("decade"===be&&B.setFullYear(R(we)),"century"===be&&B.setFullYear(ye(we))),B}
1,getViewMaxBoundaryDate:function(be,we){var B=new Date(we);return B.setDate(ce(we)),"month"===be||(B.setMonth(11),B.setDate(ce(B)),"year"===be)||("decade"===be&&B.setFullYear(R(we)+9),"century"===be&&B.setFullYear(ye(we)+99)),B},fixTimezoneGap:Xe,getTimezonesDifference:et,makeDate:function(be){return new Date(be)},getDatesInterval:function(be,we,B){var de=we.getTime()-be.getTime(),D=K(B)||1;return Math.floor(de/D)},getDatesOfInterval:function(be,we,B){for(var de=[],D=new Date(be.getTime());D<we;)de.push(new Date(D.getTime())),D=this.addInterval(D,B);return de},createDateWithFullYear:te,getMachineTimezoneName:()=>typeof Intl<"u"?Intl.DateTimeFormat().resolvedOptions().timeZone:null,sameView:function(be,we,B){return Fe[(0,A._A)("same "+be)](we,B)}};const Ke=Fe},47331:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ue});var n=a(12429),i=a(64471),ie=a(76601),A=a(64596),x="number",K="yyyy/MM/dd",I=/^(\d{4,})(-)?(\d{2})(-)?(\d{2})(?:T(\d{2})(:)?(\d{2})?(:)?(\d{2}(?:\.(\d{1,3})\d*)?)?)?(Z|([+-])(\d{2})(:)?(\d{2})?)?$/,H=/^(\d{2}):(\d{2})(:(\d{2}))?$/,T=["","yyyy","","MM","","dd","THH","","mm","","ss",".SSS"],u=/^(\d{4})\/(\d{2})\/(\d{2})$/,F=function(N,Z){var V;return(0,A.HD)(N)&&!Z&&(V=function Y(N){var Z=N.match(I);if(!Z)return(Z=N.match(H))?new Date(0,0,0,q(Z[1]),q(Z[2]),q(Z[4])):void 0;var V=q(Z[1]),ne=--Z[3],h=Z[5],E=0,L=0;E=q(Z[14]),L=q(Z[16]),"-"===Z[13]&&(E=-E,L=-L);var Me,w=q(Z[6])-E,Q=q(Z[8])-L,ae=q(Z[10]),ce=q(Me=(Me=Z[11])||"")*Math.pow(10,3-Me.length);return(Me=>(V<100&&Me.setFullYear(V),Me))(Z[12]?new Date(Date.UTC(V,ne,h,w,Q,ae,ce)):new Date(V,ne,h,w,Q,ae,ce))}(N)),V||function U(N){var Z=b(N)===K,V=!(0,A.J_)(N)&&Date.parse(N);if(!V&&Z){var ne=N.match(u);if(ne){var h=new Date(q(ne[1]),q(ne[2]),q(ne[3]));return h.setFullYear(q(ne[1])),h.setMonth(q(ne[2])-1),h.setDate(q(ne[3])),h}}return(0,A.kE)(V)?new Date(V):N}(N)};function q(N){return+N||0}var b=function(N){return"number"==typeof N?x:(0,A.HD)(N)?((0,n.Z)().forceIsoDateParsing&&(Z=function(N,Z){var V=N.match(I),ne="";if(!V)return(V=N.match(H))?V[3]?"HH:mm:ss":"HH:mm":void 0;for(var h=1;h<T.length;h++)V[h]&&(ne+=T[h]||V[h]);return"Z"===V[12]&&(ne+="'Z'"),V[14]&&(ne+=V[15]?"xxx":V[16]?"xx":"x"),ne}(N)),Z||(N.indexOf(":")>=0?"yyyy/MM/dd HH:mm:ss":K)):N?null:void 0;var Z};const ue={dateParser:F,deserializeDate:function(N){return"number"==typeof N?new Date(N):F(N,!(0,n.Z)().forceIsoDateParsing)},serializeDate:function(N,Z){return Z?(0,A.J_)(N)?Z===x?N&&N.valueOf?N.valueOf():null:(0,i.P)(Z,ie.Z)(N):null:N},getDateSerializationFormat:b}},43615:(Je,Ae,a)=>{a.d(Ae,{H_:()=>d,Li:()=>u,M3:()=>I,MO:()=>H,Zx:()=>F,dL:()=>S,l5:()=>U,r3:()=>q});var n=a(68082),i=a(83520),ie=a(91553),A=a(64596),K=(0,a(34500).Jj)(),I=()=>{var b,g=n.Z.getActiveElement();g&&g!==n.Z.getBody()&&(null===(b=g.blur)||void 0===b||b.call(g))},H=()=>{var g=K.getSelection();if(g&&"Caret"!==g.type)if(g.empty)g.empty();else if(g.removeAllRanges)try{g.removeAllRanges()}catch{}},u=g=>{var b=(g=(0,i.Z)(g)).length&&g.filter(function(){var ue=(0,i.Z)(this);return ue.is("script[type]")&&ue.attr("type").indexOf("script")<0});return b.length?b.eq(0).html():(g=(0,i.Z)("<div>").append(g)).html()},d=g=>{var b=(0,A.$K)(g)&&(g.nodeType||(0,A.ZU)(g))?(0,i.Z)(g):(0,i.Z)("<div>").html(g).contents();return 1===b.length&&(b.is("script")?b=d(b.html().trim()):b.is("table")&&(b=b.children("tbody").contents())),b},F=(g,b)=>{var ue=g.originalEvent&&g.originalEvent.clipboardData||K.clipboardData;if(!b)return ue&&ue.getData("Text");ue&&ue.setData("Text",b)},q=(g,b)=>!!b&&((0,A.FJ)(g)?q(g.document,b):g.contains(b)||q(g,(g=>{if(g.getRootNode){var b=g.getRootNode().host;if(!(0,A.HD)(b))return b}})(b))),U=(g,b,ue)=>{var N=K.getComputedStyle((0,i.Z)(g).get(0)),Z=ue&&ue.includePaddings;return(0,i.Z)("<div>").text(b).css({fontStyle:N.fontStyle,fontVariant:N.fontVariant,fontWeight:N.fontWeight,fontSize:N.fontSize,fontFamily:N.fontFamily,letterSpacing:N.letterSpacing,border:N.border,paddingTop:Z?N.paddingTop:"",paddingRight:Z?N.paddingRight:"",paddingBottom:Z?N.paddingBottom:"",paddingLeft:Z?N.paddingLeft:"",visibility:"hidden",whiteSpace:"pre",position:"absolute",float:"left"})},S=(g,b)=>
1{if(b&&b[0])return b.is(g)?g:((0,ie.S6)(b,(ue,N)=>{((g,b)=>{b&&n.Z.insertElement(g.parentNode,b,g)})(g[0],N)}),g.remove(),b)}},84667:(Je,Ae,a)=>{a.d(Ae,{H:()=>x,P:()=>A});var n=a(83520),i="dx-icon",A=K=>!(!K||"string"!=typeof K)&&(/^\s*<svg[^>]*>(.|\r?\n)*?<\/svg>\s*$/i.test(K)?"svg":/data:.*base64|\.|[^<\s]\/{1,1}/.test(K)?"image":/^[\w-_]+$/.test(K)?"dxIcon":!!/^\s?([\w-_]\s?)+$/.test(K)&&"fontIcon"),x=K=>{switch(A(K)){case"image":return(0,n.Z)("<img>").attr("src",K).addClass(i);case"fontIcon":return(0,n.Z)("<i>").addClass("".concat(i," ").concat(K));case"dxIcon":return(0,n.Z)("<i>").addClass("".concat(i," ").concat(i,"-").concat(K));case"svg":return(0,n.Z)("<i>").addClass("".concat(i," ").concat("dx-svg-icon")).append(K);default:return null}}},92657:(Je,Ae,a)=>{a.d(Ae,{Ow:()=>W,Xx:()=>i,Z2:()=>A,n$:()=>ie,zB:()=>H});var n=a(64596),i=function(S){return 0===S?0:S/Math.abs(S)},ie=function(S,c,g){var b=!c&&0!==c,ue=!g&&0!==g;return b&&(c=ue?S:Math.min(S,g)),ue&&(g=b?S:Math.max(S,c)),Math.min(Math.max(S,c),g)},A=function(S,c,g){return S>=c&&S<=g};function x(S){return Math.abs(parseInt(S.toExponential().split("e")[1]))}function W(S,c){var g=function K(S){var c=S.toExponential().split("e"),g=parseFloat(c[0]);return{exponent:parseInt(c[1]),mantissa:g}}(S);return parseFloat("".concat(g.mantissa,"e").concat(g.exponent+c))}function H(S,c){var Z,g=function T(S){var c=S.toString();if(c.indexOf(".")<0)return 0;var g=c.split("."),b=g[1].indexOf("e");return b>=0?b:g[1].length}(c||0)+2,b=S.toString().split("."),ue=S,N=Math.abs(S),V=(0,n.Cp)(S),ne=N>1?10:0;return 1===b.length?S:(V||((0,n.Cp)(c)&&(g=b[0].length+x(c)),S=(S=N)-Math.floor(S)+ne),g=function I(){return"0.000300"!==3e-4.toPrecision(3)}()&&x(S)>6||g>7?15:7,V||(Z=parseFloat(S.toPrecision(g)).toString().split("."))[0]!==ne.toString()?parseFloat(ue.toPrecision(g)):parseFloat(b[0]+"."+Z[1]))}},17839:(Je,Ae,a)=>{a.d(Ae,{l:()=>A,q:()=>ie});var n=a(12429),i=a(64596),ie=x=>x??(0,n.Z)().rtlEnabled?"right":"left",A=x=>(0,i.FJ)(x)?{width:x.outerWidth,height:x.outerHeight}:x.getBoundingClientRect()},69055:(Je,Ae,a)=>{a.d(Ae,{Bt:()=>u,nf:()=>T,u2:()=>H});var n=a(29694),i=a(24705),ie=a(64596),A=a(79890),x="dxComponents",W=new WeakMap,I=0,H=function(d,F){if(!(0,ie.$K)(F)){if(!W.has(d)){var q="dxPrivateComponent"+I++;return W.set(d,q),q}return W.get(d)}W.set(d,F)};function T(d,F,q){var U=(0,n.aT)(d.get(0)),Y=H(F.constructor);U[Y]=F,q&&i.Z.one(d,A.x,function(){q.call(F)}),U[x]||(U[x]=[]),U[x].push(Y)}function u(d,F){var q=H(F);return(0,n.aT)(d.get(0),q)}},46842:(Je,Ae,a)=>{a.d(Ae,{Z:()=>W});var n=a(34500),i=a(68082),ie=a(47685),A=a(12395),x=a(7554);const W=function(){var I,H=(0,ie.Z)(),T=H.add,u=H.remove;if(!(0,n.Ym)())return H;var U,d=function(){var Y=(0,n.Jj)();return{width:Y.innerWidth,height:Y.innerHeight}},F=function(){var S,Y=d();Y.width===I.width&&Y.height===I.height||(Y.width===I.width&&(S="height"),Y.height===I.height&&(S="width"),I=Y,H.fire(S))},q=(0,x.Z)(function(){I=d()});return H.add=function(){var Y=T.apply(H,arguments);return q(),A.Z.add(function(){!U&&H.has()&&(U=i.Z.listen((0,n.Jj)(),"resize",F))}),Y},H.remove=function(){var Y=u.apply(H,arguments);return!H.has()&&U&&(U(),U=void 0),Y},H}()},45303:(Je,Ae,a)=>{a.r(Ae),a.d(Ae,{animation:()=>g,inputType:()=>T,nativeScrolling:()=>b,pointerEvents:()=>q,styleProp:()=>x.Hj,stylePropPrefix:()=>x.gC,supportProp:()=>I,touch:()=>Y,touchEvents:()=>F,transition:()=>S,transitionEndEventName:()=>c});var ue,N,n=a(68082),i=a(7554),ie=a(34500),A=a(13921),x=a(47455),{maxTouchPoints:K}=(0,ie.jW)(),W={webkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},I=function(ue){return!!(0,x.Hj)(ue)},T=function(ue){if("text"===ue)return!0;var N=n.Z.createElement("input");try{return N.setAttribute("type",ue),N.value="wrongValue",!N.value}catch{return!1}},F=(N=K,((ue=ie.l$)("ontouchstart")||!!N)&&!ue("callPhantom")),q=function(ue){return ue("PointerEvent")}(ie.l$),Y=F||q&&!!K,S=(0,i.Z)(function(){return I("transition")}),c=(0,i.Z)(function(){return W[(0,x.Hj)("transition")]}),g=(0,i.Z)(function(){return I("animation")}),b=function(){var{platform:ue,mac:N}=A.Z.real();return"ios"===ue||"android"===ue||N}()},16667:(Je,Ae,a)=>{a.d(Ae,{t0:()=>w,gi:()=>L,hK:()=>ue,Wl:()=>ne,ZE:()=>N,TM:()=>E,v_:()=>h});var F,n=a(87462),i=a(12429),ie=a(13921),A=a(37075),x=a(47484),K=a(83520),W=a(58437),I=a(8817),H=a(82946),T=a(43615),u=a(64596),d={};function q(Q,ae){d[Q]=ae}function Y(){return F}
1q("jquery-tmpl",{compile:Q=>(0,T.Li)(Q),render:(Q,ae)=>jQuery.tmpl(Q,ae)}),q("jsrender",{compile:Q=>(jQuery||jsrender).templates((0,T.Li)(Q)),render:(Q,ae)=>Q.render(ae)}),q("mustache",{compile:Q=>(0,T.Li)(Q),render:(Q,ae)=>Mustache.render(Q,ae)}),q("hogan",{compile:Q=>Hogan.compile((0,T.Li)(Q)),render:(Q,ae)=>Q.render(ae)}),q("underscore",{compile:Q=>_.template((0,T.Li)(Q)),render:(Q,ae)=>Q(ae)}),q("handlebars",{compile:Q=>Handlebars.compile((0,T.Li)(Q)),render:(Q,ae)=>Q(ae)}),q("doT",{compile:Q=>doT.template((0,T.Li)(Q)),render:(Q,ae)=>Q(ae)}),q("default",{compile:Q=>(0,T.H_)(Q),render:(Q,ae,ce)=>Q.clone()}),function U(Q){if((0,u.HD)(Q)){if(!(F=d[Q]))throw x.Z.Error("E0020",Q)}else F=Q}("default");class S extends H.S{constructor(ae){super(),this._element=ae}_renderCore(ae){var ce=ae.transclude;return!ce&&!this._compiledTemplate&&(this._compiledTemplate=Y().compile(this._element)),(0,K.Z)("<div>").append(ce?this._element:Y().render(this._compiledTemplate,ae.model,ae.index)).contents()}source(){return(0,K.Z)(this._element).clone()}}var c=a(46769),g=a(56836),b=a(83684),ue=(Q,ae)=>{var ce=(0,K.Z)(Q).contents().filter("[".concat("data-options",'*="').concat(ae,'"]'));return[].slice.call(ce).map(Me=>{var pe=(0,K.Z)(Me).attr("data-options")||"";return{element:Me,options:(0,i.Z)().optionsParser(pe)[ae]}}).filter(Me=>!!Me.options)},N=Q=>{var ae=(0,c.vM)(Q,Me=>Me.options.name);if(ae[void 0])throw x.Z.Error("E0023");var ce={};return Object.keys(ae).forEach(Me=>{var pe,Se=null===(pe=(0,g.U3)(ie.Z.current(),ae[Me],Ce=>Ce.options)[0])||void 0===pe?void 0:pe.element;Se&&(ce[Me]=Se)}),ce},Z=Q=>{var ae=Q.render.bind(Q);return(0,b.l)({},Q,{render(ce){var Me=ae(ce);return ce&&ce.onRendered&&ce.onRendered(),Me}})},ne=Q=>{var ae=[];return"model"in Q&&ae.push(Q.model),"index"in Q&&ae.push(Q.index),ae.push(Q.container),ae},h=Q=>"string"==typeof Q?(0,T.H_)(Q):Q,E=Q=>(0,u.ZU)(Q)&&Q[0]||Q,L=Q=>new S(Q),w=(Q,ae,ce,Me,pe,Se)=>null==Q?new I.s:Q instanceof W.s?Se[Q.name]:Q instanceof H.S?Q:(0,u.mf)(Q.render)&&!(0,u.ZU)(Q)?Me?Q:Z(Q):Q.nodeType||(0,u.ZU)(Q)?ae((0,K.Z)(Q)):((Q,ae,ce,Me)=>{var pe=null;return(!Me||-1===Me.indexOf(Q))&&(pe=ae[Q])&&!(pe instanceof H.S)&&((0,u.mf)(pe.render)&&(pe=(Q=>{var ae=Q.render.bind(Q);return(0,b.l)({},Q,{render(ce){var Me=(0,K.Z)(ce.container);return ae((0,n.Z)({},ce,{container:(0,A.u)(Me)}))}})})(pe)),ce||(pe=Z(pe))),pe})(Q,ce,Me,pe)||Se[Q]||ae(Q)},61764:(Je,Ae,a)=>{function n(i,ie,A){function x(T){return"string"==typeof T?T.split("."):"number"==typeof T?[T]:T}i=x(i),ie=x(ie);var K=Math.max(i.length,ie.length);isFinite(A)&&(K=Math.min(K,A));for(var W=0;W<K;W++){var I=parseInt(i[W]||0,10),H=parseInt(ie[W]||0,10);if(I<H)return-1;if(I>H)return 1}return 0}a.d(Ae,{q:()=>n})},50663:(Je,Ae,a)=>{a.d(Ae,{In:()=>I,S3:()=>W,Wg:()=>x});var H,n=a(83520),i=a(12395),ie=a(47685),A=i.Z.add,x=(0,ie.Z)(),K=(0,n.Z)(),W=function(T){if(!arguments.length)return H;var u=(0,n.Z)(T);K=u;var d=!!u.length,F=W();H=d?u:(0,n.Z)("body"),x.fire(d?W():(0,n.Z)(),F)};function I(){return K}A(function(){W(".dx-viewport")})},60577:(Je,Ae,a)=>{a.d(Ae,{Z:()=>q});var U,n=a(24245),i=a(38852),ie=a(91553),A=a(30389),x=a(83018),K=a(31996),W=a(2030),I=a(80316),H=a(56836),T=n.Z.abstract,u=W.Z.queryByOptions,d={},F=n.Z.inherit({ctor:function(U){var Y=this;U=U||{},this._eventsStrategy=new i.m(this),(0,ie.S6)(["onLoaded","onLoading","onInserted","onInserting","onUpdated","onUpdating","onPush","onRemoved","onRemoving","onModified","onModifying"],function(S,c){c in U&&Y.on(c.slice(2).toLowerCase(),U[c])}),this._key=U.key,this._errorHandler=U.errorHandler,this._useDefaultSearch=!0},_clearCache:H.ZT,_customLoadOptions:function(){return null},key:function(){return this._key},keyOf:function(U){return this._keyGetter||(this._keyGetter=(0,K.vb)(this.key())),this._keyGetter(U)},_requireKey:function(){if(!this.key())throw A.R0.Error("E4005")},load:function(U){var Y=this;return this._eventsStrategy.fireEvent("loading",[U=U||{}]),this._withLock(this._loadImpl(U)).done(function(S){Y._eventsStrategy.fireEvent("loaded",[S,U])})},_loadImpl:function(U){return u(this.createQuery(U),U).enumerate()},_withLock:function(U){var Y=new I.BH;return U.done(function(){var S=this,c=arguments;x.LE.promise().done(function(){Y.resolveWith(S,c)})}).fail(function(){Y.rejectWith(this,arguments)}),Y},createQuery:T,totalCount:function(U){return this._totalCountImpl(U)},_totalCountImpl:function(U){return u(this.createQuery(U),U,!0).count()},byKey:function(U,Y){return this._addFailHandlers(this._withLock(this._byKeyImpl(U,Y)))},_byKeyImpl:T,insert:function(U){var Y=this;return Y._eventsStrategy.fireEvent("modifying"),Y._eventsStrategy.fireEvent("inserting",[U]),Y._addFailHandlers(Y._insertImpl(U).done(function(S,c){Y._eventsStrategy.fireEvent("inserted",[S,c]),Y._eventsStrategy.fireEvent("modified")}))},_insertImpl:T,update:function(U,Y){var S=this;return S._eventsStrategy.fireEvent("modifying"),S._eventsStrategy.fireEvent("updating",[U,Y]),S._addFailHandlers(S._updateImpl(U,Y).done(function(){S._eventsStrategy.fireEvent("updated",[U,Y]),S._eventsStrategy.fireEvent("modified")}))},_updateImpl:T,push:function(U){var Y={changes:U,waitFor:[]};this._eventsStrategy.fireEvent("beforePushAggregation",[Y]),(0,I.gx)(...Y.waitFor).done(()=>{this._pushImpl(U),this._eventsStrategy.fireEvent("beforePush",[{changes:U}]),this._eventsStrategy.fireEvent("push",[U])})},_pushImpl:H.ZT,remove:function(U){var Y=this;return Y._eventsStrategy.fireEvent("modifying"),Y._eventsStrategy.fireEvent("remov
1ing",[U]),Y._addFailHandlers(Y._removeImpl(U).done(function(S){Y._eventsStrategy.fireEvent("removed",[S]),Y._eventsStrategy.fireEvent("modified")}))},_removeImpl:T,_addFailHandlers:function(U){return U.fail(this._errorHandler).fail(A.S3)},on(U,Y){return this._eventsStrategy.on(U,Y),this},off(U,Y){return this._eventsStrategy.off(U,Y),this}});F.create=function(U,Y){if(!(U in d))throw A.R0.Error("E4020",U);return new d[U](Y)},F.registerClass=function(U,Y){return Y&&(d[Y]=U),U},F.inherit=(U=F.inherit,function(Y,S){var c=U.apply(this,[Y]);return F.registerClass(c,S),c});const q=F},13055:(Je,Ae,a)=>{a.d(Ae,{Z:()=>b});var n=a(24245),i=a(64596),ie=a(91553),A=a(31996),x=a(80316),K=a(30389),W=a(83018),I=n.Z.inherit({toArray:function(){var ue=[];for(this.reset();this.next();)ue.push(this.current());return ue},countable:function(){return!1}}),H=I.inherit({ctor:function(ue){this.array=ue,this.index=-1},next:function(){return this.index+1<this.array.length&&(this.index++,!0)},current:function(){return this.array[this.index]},reset:function(){this.index=-1},toArray:function(){return this.array.slice(0)},countable:function(){return!0},count:function(){return this.array.length}}),T=I.inherit({ctor:function(ue){this.iter=ue},next:function(){return this.iter.next()},current:function(){return this.iter.current()},reset:function(){return this.iter.reset()}}),u=T.inherit({ctor:function(ue,N){this.callBase(ue),this.index=-1,this.mapper=N},current:function(){return this.mapper(this.callBase(),this.index)},next:function(){var ue=this.callBase();return ue&&this.index++,ue}}),d=function(ue,N){return ue=(0,A.Ex)(ue),N=(0,A.Ex)(N),null===ue&&null!==N?-1:null!==ue&&null===N||void 0===ue&&void 0!==N?1:void 0!==ue&&void 0===N||ue<N?-1:ue>N?1:0},F=I.inherit({ctor:function(ue,N,Z,V){ue instanceof u||(ue=new u(ue,this._wrap)),this.iter=ue,this.rules=[{getter:N,desc:Z,compare:V}]},thenBy:function(ue,N,Z){var V=new F(this.sortedIter||this.iter,ue,N,Z);return this.sortedIter||(V.rules=this.rules.concat(V.rules)),V},next:function(){return this._ensureSorted(),this.sortedIter.next()},current:function(){return this._ensureSorted(),this.sortedIter.current()},reset:function(){delete this.sortedIter},countable:function(){return this.sortedIter||this.iter.countable()},count:function(){return this.sortedIter?this.sortedIter.count():this.iter.count()},_ensureSorted:function(){var ue=this;ue.sortedIter||((0,ie.S6)(ue.rules,function(){this.getter=(0,A.vb)(this.getter)}),ue.sortedIter=new u(new H(this.iter.toArray().sort(function(N,Z){return ue._compare(N,Z)})),ue._unwrap))},_wrap:function(ue,N){return{index:N,value:ue}},_unwrap:function(ue){return ue.value},_compare:function(ue,N){var Z=ue.index,V=N.index;if((ue=ue.value)===(N=N.value))return Z-V;for(var ne=0,h=this.rules.length;ne<h;ne++){var E=this.rules[ne],L=E.getter(ue),M=E.getter(N),Q=(E.compare||d)(L,M);if(Q)return E.desc?-Q:Q}return Z-V}}),q=function(){var ue=function(Z){return(0,i.$K)(Z)?Z.toString():""};function N(Z,V,ne){return function(h){h=(0,A.Ex)(Z(h));var L,E=""===(L=V)||0===L||!1===L?h===V:h==V;return ne&&(E=!E),E}}return function(Z){return(0,i.mf)(Z)?Z:(0,W.IN)(Z)?(ne=[],h=!1,E=!1,(0,ie.S6)(Z,function(){if(Array.isArray(this)||(0,i.mf)(this)){if(ne.length>1&&h!==E)throw new K.R0.Error("E4019");ne.push(q(this)),h=E,E=!0}else E=(0,W.Lq)(this)}),function(L){for(var M=h,w=0;w<ne.length;w++)if(ne[w](L)!==h){M=!h;break}return M}):(0,W.hi)(Z)?function(V){var ne=V[0],h=q(V[1]);if("!"===ne)return function(E){return!h(E)};throw K.R0.Error("E4003",ne)}(Z):function(V){V=(0,W.DE)(V);var ne=(0,A.vb)(V[0]),h=V[1],E=V[2];E=(0,A.Ex)(E);var L=(M,w)=>(M=(0,A.Ex)(ne(M)),(null!=E&&null!=M||E===M)&&w(M,E));switch(h.toLowerCase()){case"=":return N(ne,E);case"<>":return N(ne,E,!0);case">":return M=>L(M,(w,Q)=>w>Q);case"<":return M=>L(M,(w,Q)=>w<Q);case">=":return M=>L(M,(w,Q)=>w>=Q);case"<=":return M=>L(M,(w,Q)=>w<=Q);case"startswith":return function(M){return 0===(0,A.Ex)(ue(ne(M))).indexOf(E)};case"endswith":return function(M){var w=(0,A.Ex)(ue(ne(M))),Q=ue(E);if(w.length<Q.length)return!1;var ae=w.lastIndexOf(E);return-1!==ae&&ae===w.length-E.length};case"contains":return function(M){return(0,A.Ex)(ue(ne(M))).indexOf(E)>-1};
1case"notcontains":return function(M){return-1===(0,A.Ex)(ue(ne(M))).indexOf(E)}}throw K.R0.Error("E4003",h)}(Z);var ne,h,E}}(),U=T.inherit({ctor:function(ue,N){this.callBase(ue),this.criteria=q(N)},next:function(){for(;this.iter.next();)if(this.criteria(this.current()))return!0;return!1}}),Y=I.inherit({ctor:function(ue,N){this.iter=ue,this.getter=N},next:function(){return this._ensureGrouped(),this.groupedIter.next()},current:function(){return this._ensureGrouped(),this.groupedIter.current()},reset:function(){delete this.groupedIter},countable:function(){return!!this.groupedIter},count:function(){return this.groupedIter.count()},_ensureGrouped:function(){if(!this.groupedIter){var ue={},N=[],Z=this.iter,V=(0,A.vb)(this.getter);for(Z.reset();Z.next();){var ne=Z.current(),h=V(ne);h in ue?ue[h].push(ne):(ue[h]=[ne],N.push(h))}this.groupedIter=new H((0,ie.UI)(N,function(E){return{key:E,items:ue[E]}}))}}}),S=T.inherit({ctor:function(ue,N){this.callBase(ue),this.getter=(0,A.vb)(N)},current:function(){return this.getter(this.callBase())},countable:function(){return this.iter.countable()},count:function(){return this.iter.count()}}),c=T.inherit({ctor:function(ue,N,Z){this.callBase(ue),this.skip=Math.max(0,N),this.take=Math.max(0,Z),this.pos=0},next:function(){if(this.pos>=this.skip+this.take)return!1;for(;this.pos<this.skip&&this.iter.next();)this.pos++;return this.pos++,this.iter.next()},reset:function(){this.callBase(),this.pos=0},countable:function(){return this.iter.countable()},count:function(){return Math.min(this.iter.count()-this.skip,this.take)}});const b=function ue(N,Z){Z=Z||{},N instanceof I||(N=new H(N));var V=function(w){var Q=Z.errorHandler;Q&&Q(w),(0,K.S3)(w)},ne=function(w){var Q=(new x.BH).fail(V),ce=w.step,Me=w.finalize;try{N.reset();for(var pe=("seed"in w?w.seed:N.next()?N.current():NaN);N.next();)pe=ce(pe,N.current());Q.resolve(Me?Me(pe):pe)}catch(Se){Q.reject(Se)}return Q.promise()},h=function(w){return ne(W.bG[w])},E=function(w){return!(0,i.mf)(w)&&!Array.isArray(w)&&(w=[].slice.call(arguments)),M(new S(N,w))},L=function(w){return E((0,A.vb)(w))};function M(w){return ue(w,Z)}return{toArray:function(){return N.toArray()},enumerate:function(){var w=(new x.BH).fail(V);try{w.resolve(N.toArray())}catch(Q){w.reject(Q)}return w.promise()},sortBy:function(w,Q,ae){return M(new F(N,w,Q,ae))},thenBy:function(w,Q,ae){if(N instanceof F)return M(N.thenBy(w,Q,ae));throw K.R0.Error("E4004")},filter:function(w){return Array.isArray(w)||(w=[].slice.call(arguments)),M(new U(N,w))},slice:function(w,Q){return void 0===Q&&(Q=Number.MAX_VALUE),M(new c(N,w,Q))},select:E,groupBy:function(w){return M(new Y(N,w))},aggregate:function(w,Q,ae){return ne(arguments.length<2?{step:arguments[0]}:{seed:w,step:Q,finalize:ae})},count:function(){if(N.countable()){var w=(new x.BH).fail(V);try{w.resolve(N.count())}catch(Q){w.reject(Q)}return w.promise()}return h("count")},sum:function(w){return w?L(w).sum():h("sum")},min:function(w){return w?L(w).min():h("min")},max:function(w){return w?L(w).max():h("max")},avg:function(w){return w?L(w).avg():h("avg")}}}},16714:(Je,Ae,a)=>{a.d(Ae,{Z:()=>W});var n=a(83018),i=a(82510),ie=a(30389),A=a(60577),x=a(23706);const W=A.Z.inherit({ctor:function(I){I=Array.isArray(I)?{data:I}:I||{},this.callBase(I);var H=I.data;if(H&&!Array.isArray(H))throw ie.R0.Error("E4006");this._array=H||[]},createQuery:function(){return(0,i.Z)(this._array,{errorHandler:this._errorHandler})},_byKeyImpl:function(I){var H=(0,x.qk)(this,this._array,I);return-1===H?(0,n.Q2)(ie.R0.Error("E4009")):(0,n.F$)(this._array[H])},_insertImpl:function(I){return(0,x.$T)(this,this._array,I)},_pushImpl:function(I){(0,x.ii)({keyInfo:this,data:this._array,changes:I})},_updateImpl:function(I,H){return(0,x.Vx)(this,this._array,I,H)},_removeImpl:function(I){return(0,x.Od)(this,this._array,I)},clear:function(){this._eventsStrategy.fireEvent("modifying"),this._array=[],this._eventsStrategy.fireEvent("modified")}},"array")},23706:(Je,Ae,a)=>{a.d(Ae,{$T:()=>Z,Od:()=>V,Vx:()=>N,ii:()=>g,qk:()=>ne});var n=a(87462),i=a(64596),ie=a(12429),A=a(41760),x=a(83684),K=a(30389),W=a(84797),H=(a(31996),a(83018));function u(h,E,L,M){var Q;if(M){for(var ae=0;ae<E.length;ae++)if(Q=u(h,E[ae].items||E[ae].collapsedItems||[]||[],L,M-1))return Q}else if(ne(h,E,L)>=0)return E}function d(h,E,L,M){return M?u(h,E,L,M)||[]:E}function Y(h,E,L){h._dataByKeyMap&&(h._dataByKeyMap[JSON.stringify(E)]=L,h._dataByKeyMapLength+=L?1:-1)}function S(h,E,L){L=L||new WeakMap;var M=h?Object.create(Object.getPrototypeOf(h)):{};h&&L.set(h,M);var w=(0,n.Z)({},h);for(var Q in(0,W.HR)(M,w,!0,!0),w){var ae=w[Q],ce=E?.[Q];(0,i.Kn)(ae)&&!(0,i.PO)(ae)&&(0,i.Kn)(ce)&&!L.has(ae)&&(M[Q]=S(ae,ce,L))}for(var Me in M){var pe=M[Me];(0,i.Kn)(pe)&&L.has(pe)&&(M[Me]=L.get(pe))}return M}function c(h,E){var L=S(h,E);return(0,W.HR)(L,E,!0,!0)}function g(h){var{keyInfo:E,data:L,changes:M,groupCount:w,useInsertIndex:Q,immutable:ae,disableCache:ce,logError:Me,skipCopying:pe}=h,Se=!0===ae?[...L]:L;return M.forEach(Ce=>{var J="insert"===Ce.type?Se:d(E,Se,Ce.key,w);switch(!ce&&function F(h,E){if(h.key()&&(!E._dataByKeyMap||E._dataByKeyMapLength!==E.length)){for(var L={},M=E.length,w=0;w<M;w++)L[JSON.stringify(h.keyOf(E[w]))]=E[w];E._dataByKeyMap=L,E._dataByKeyMapLength=M}}(E,J),Ce.type){case"update":N(E,J,Ce.key,Ce.data,!0,ae,Me);break;case"insert":Z(E,J,Ce.data,Q&&(0,i.$K)(Ce.index)?Ce.index:-1,!0,Me,pe);break;case"remove":V(E,J,Ce.key,!0,Me)}}),Se}function b(h,E,L){return h?E&&K.R0.log(L):(0,H.Q2)(K.R0.Error(L))}function N(h,E,L,M,w,Q,ae){var ce,Me=h.key();if(Me){if(function T(h,E){for(var M="string"==typeof E?E.split():E.slice();M.length;)if(M.shift()in h)return!0;return!1}(M,Me)&&!(0,H.OI)(Me,L,h.keyOf(M)))return b(w,ae,"E4017");if(ce=function q(h,E){if(h._dataByKeyMap)return h._dataByKeyMap[JSON.stringify(E)]}(E,L),!ce){var pe=ne(h,E,L);if(pe<0)return b(w,ae,"E4009");if(ce=E[pe],!0===Q&&(0,i.$K)(ce)){var Se=c(ce,M);return E[pe]=Se,!w&&(0,H.F$)(Se,L)}}}else ce=L;if((0,W.HR)(ce,M,!0),!w)return(0,ie.Z)().useLegacyStoreResult?(0,H.F$)(L,M):(0,H.F$)(ce,L)}function Z(h,E,L,M,w,Q,ae){var ce,Me=h.key(),pe=(0,i.PO)(L)&&!ae?(0,x.l)({},L):L;if(Me){if(void 0===(ce=h.keyOf(pe))||"object"==typeof ce&&(0,i.Qr)(ce)){
1if(Array.isArray(Me))throw K.R0.Error("E4007");ce=pe[Me]=String(new A.Z)}else if(void 0!==E[ne(h,E,ce)])return b(w,Q,"E4008")}else ce=pe;if(M>=0?E.splice(M,0,pe):E.push(pe),Y(E,ce,pe),!w)return(0,H.F$)((0,ie.Z)().useLegacyStoreResult?L:pe,ce)}function V(h,E,L,M,w){var Q=ne(h,E,L);return Q>-1&&(E.splice(Q,1),Y(E,L,null)),M?Q<0?b(M,w,"E4009"):void 0:(0,H.F$)(L)}function ne(h,E,L){var M=h.key();if(!function U(h,E){return!h._dataByKeyMap||h._dataByKeyMap[JSON.stringify(E)]}(E,L))return-1;for(var w=0,Q=E.length;w<Q;w++)if((0,H.OI)(M,h.keyOf(E[w]),L))return w;return-1}},32451:(Je,Ae,a)=>{a.d(Ae,{Z:()=>M});var n=a(83520),i=a(83018),ie=a(23706),A=a(64596),x=a(12429),K=a(30389),W=a(60577),I=a(13055),H=a(2030),T=a(80316),u="totalCount",d="load",F="byKey",q="insert",U="update",Y="remove";function S(w){return w&&(0,A.mf)(w.then)}function c(w){return(new T.BH).resolve(w).promise()}function g(w,Q){if(!(0,A.mf)(Q))throw K.R0.Error("E4011",w)}function b(w){throw K.R0.Error("E4012",w)}function ue(w){return function(ae){var ce;(ce=ae instanceof Error?ae:new Error(function Q(ae){var ce=ae[0];return ce&&ce.getResponseHeader?(0,i.ER)(ce,ae[1]):null}(arguments)||ae&&String(ae)||"Unknown error")).message!==i.C5&&w.reject(ce)}}function N(w,Q){var ce,ae=w._loadFunc;return g(d,ae),ce=ae.apply(w,[Q]),Array.isArray(ce)?ce=c(ce):null==ce?ce=c([]):S(ce)||b(d),(0,T.p4)(ce)}function ne(w,Q,ae,ce){if(Q.__rawData)ce(Q.__rawData);else{var Me=Q.__rawDataPromise||N(Q,ae);Q._cacheRawData&&(Q.__rawDataPromise=Me),Me.always(function(){delete Q.__rawDataPromise}).done(function(pe){Q._cacheRawData&&(Q.__rawData=pe),ce(pe)}).fail(ue(w))}}function h(w,Q,ae,ce){var Me={};"userData"in(ae=ae||{})&&(Me.userData=ae.userData),ne(w,Q,Me,function(pe){var Ce,J,le,Oe,Se=(0,I.Z)(pe,{errorHandler:Q._errorHandler}),z=[];ce||((Ce=H.Z.queryByOptions(Se,ae))===Se?le=pe.slice(0):z.push(Ce.enumerate().done(function(O){le=O}))),(ae.requireTotalCount||ce)&&((J=H.Z.queryByOptions(Se,ae,!0))===Se?Oe=pe.length:z.push(J.count().done(function(O){Oe=O}))),T.gx.apply(n.Z,z).done(function(){ce?w.resolve(Oe):ae.requireTotalCount?w.resolve(le,{totalCount:Oe}):w.resolve(le)}).fail(function(O){w.reject(O)})})}const M=W.Z.inherit({ctor:function(w){this.callBase(w=w||{}),this._useDefaultSearch=!!w.useDefaultSearch||"raw"===w.loadMode,this._loadMode=w.loadMode,this._cacheRawData=!1!==w.cacheRawData,this._loadFunc=w[d],this._totalCountFunc=w[u],this._byKeyFunc=w[F],this._insertFunc=w[q],this._updateFunc=w[U],this._removeFunc=w[Y]},_clearCache(){delete this.__rawData},createQuery:function(){throw K.R0.Error("E4010")},clearRawDataCache:function(){this._clearCache()},_totalCountImpl:function(w){var Q=new T.BH;return"raw"!==this._loadMode||this._totalCountFunc?(function Z(w,Q){var ce,ae=w._totalCountFunc;if(!(0,A.mf)(ae))throw K.R0.Error("E4021");return S(ce=ae.apply(w,[Q]))||(ce=Number(ce),isFinite(ce)||b(u),ce=c(ce)),(0,T.p4)(ce)}(this,w).done(function(ae){Q.resolve(Number(ae))}).fail(ue(Q)),Q=this._addFailHandlers(Q)):h(Q,this,w,!0),Q.promise()},_pushImpl:function(w){this.__rawData&&(0,ie.ii)({keyInfo:this,data:this.__rawData,changes:w})},_loadImpl:function(w){var Q=new T.BH;return"raw"===this._loadMode?h(Q,this,w,!1):(N(this,w).done(function(ae,ce){Q.resolve(ae,ce)}).fail(ue(Q)),Q=this._addFailHandlers(Q)),Q.promise()},_byKeyImpl:function(w,Q){var ae=new T.BH;return this._byKeyViaLoad()?(this._requireKey(),function E(w,Q,ae){ne(w,Q,{},function(ce){for(var pe,Me=Q.key(),Se=0,Ce=ce.length;Se<Ce;Se++)if(pe=ce[Se],(0,i.OI)(Me,Q.keyOf(ce[Se]),ae))return void w.resolve(pe);w.reject(K.R0.Error("E4009"))})}(ae,this,w)):function V(w,Q,ae){var Me,ce=w._byKeyFunc;return g(F,ce),S(Me=ce.apply(w,[Q,ae]))||(Me=c(Me)),(0,T.p4)(Me)}(this,w,Q).done(function(ce){ae.resolve(ce)}).fail(ue(ae)),ae.promise()},_byKeyViaLoad:function(){return"raw"===this._loadMode&&!this._byKeyFunc},_insertImpl:function(w){var ce,Q=this,ae=Q._insertFunc,Me=new T.BH;return g(q,ae),S(ce=ae.apply(Q,[w]))||(ce=c(ce)),(0,T.p4)(ce).done(function(pe){(0,x.Z)().useLegacyStoreResult?Me.resolve(w,pe):Me.resolve(pe||w,Q.keyOf(pe))}).fail(ue(Me)),Me.promise()},_updateImpl:function(w,Q){var ce,ae=this._updateFunc,Me=new T.BH;return g(U,ae),S(ce=ae.apply(this,[w,Q]))||(ce=c(ce)),(0,T.p4)(ce).done(function(pe){(0,x.Z)().useLegacyStoreResult?Me.resolve(w,Q):Me.resolve(pe||Q,w)}).fail(ue(Me)),Me.promise()},_removeImpl:function(w){var ae,Q=this._removeFunc,ce=new T.BH;return g(Y,Q),S(ae=Q.apply(this,[w]))||(ae=c()),(0,T.p4)(ae).done(function(){ce.resolve(w)}).fail(ue(ce)),ce.promise()}})},14422:(Je,Ae,a)=>{a.d(Ae,{o:()=>S});var n=a(24245),i=a(83684),ie=a(56836),A=a(91553),x=a(64596),K=a(83018),W=a(23706),I=a(32451),H=a(38852),T=a(30389),u=a(47484),d=a(80316);function F(c){var g=[],b=!1;function ue(){for(;g.length;){b=!0;var Z=g.shift()();if(void 0!==Z){if(Z.then)return void(0,d.gx)(Z).always(ue);throw u.Z.Error("E0015")}}b=!1}return{add:function(N,Z){c?(g[0]&&Z&&Z(g[0]),g=[N]):g.push(N),b||ue()},busy:function(){return b}}}F();var U=a(2928);class Y{constructor(){this._counter=-1,this._deferreds={}}add(g){return this._counter++,this._deferreds[this._counter]=g,this._counter}remove(g){return delete this._deferreds[g]}cancel(g){return g in this._deferreds&&(this._deferreds[g].reject(U.NE),!0)}cancelAll(){for(;this._counter>-1;)this.cancel(this._counter),this._counter--}}var S=n.Z.inherit({ctor(c){var g;if(c=(0,U.aN)(c),this._eventsStrategy=new H.m(this,{syncStrategy:!0}),this._store=c.store,this._changedTime=0,0!==c.pushAggregationTimeout){var N,Z,V=(0,K.xL)(ne=>{N.resolve(),(0,d.gx)(...Z).done(()=>this._onPush(ne)),Z=void 0,N=void 0},void 0===c.pushAggregationTimeout?()=>5*this._changedTime:c.pushAggregationTimeout);this._onPushHandler=ne=>{this._aggregationTimeoutId=V(ne.changes),N||(N=new d.BH),Z=ne.waitFor,ne.waitFor.push(N.promise())},this._store.on("beforePushAggregation",this._onPushHandler)}else this._onPushHandler=ne=>this._onPush(ne),this._store.on("push",this._onPushHandler);this._storeLoadOptions=this._extractLoadOptions(c),this._mapFunc=c.map,this._postProcessFunc=c.postProcess,this._pageIndex=void 0!==c.pageIndex?c.pageIndex:0,this._pageSize=void 0!==c.pageSize?c.pageSize:20,this._loadingCount=0,this._loadQueue=this._createLoadQueue(),this._searchValue="searchValue"in c?c.searchValue:null,this._searchOperation=c.searchOperation||"contains",this._searchExpr=c.searchExpr,this._paginate=c.paginate,this._reshapeOnPush=null!==(g=c.reshapeOnPush)&&void 0!==g&&g,(0,A.S6)(["onCh
1anged","onLoadError","onLoadingChanged","onCustomizeLoadResult","onCustomizeStoreLoadOptions"],(ne,h)=>{h in c&&this.on(h.substr(2,1).toLowerCase()+h.substr(3),c[h])}),this._operationManager=new Y,this._init()},_init(){this._items=[],this._userData={},this._totalCount=-1,this._isLoaded=!1,(0,x.$K)(this._paginate)||(this._paginate=!this.group()),this._isLastPage=!this._paginate},dispose(){var c;this._store.off("beforePushAggregation",this._onPushHandler),this._store.off("push",this._onPushHandler),this._eventsStrategy.dispose(),clearTimeout(this._aggregationTimeoutId),null===(c=this._delayedLoadTask)||void 0===c||c.abort(),this._operationManager.cancelAll(),delete this._store,delete this._items,delete this._delayedLoadTask,this._disposed=!0},_extractLoadOptions(c){var g={},b=["sort","filter","select","group","requireTotalCount"],ue=this._store._customLoadOptions();return ue&&(b=b.concat(ue)),(0,A.S6)(b,function(){g[this]=c[this]}),g},loadOptions(){return this._storeLoadOptions},items(){return this._items},pageIndex(c){if(!(0,x.kE)(c))return this._pageIndex;this._pageIndex=c,this._isLastPage=!this._paginate},paginate(c){if(!(0,x.jn)(c))return this._paginate;this._paginate!==c&&(this._paginate=c,this.pageIndex(0))},pageSize(c){if(!(0,x.kE)(c))return this._pageSize;this._pageSize=c},isLastPage(){return this._isLastPage},generateStoreLoadOptionAccessor(c){return g=>{var b=(0,U.ir)(g);if(void 0===b)return this._storeLoadOptions[c];this._storeLoadOptions[c]=b}},sort(){for(var c=arguments.length,g=new Array(c),b=0;b<c;b++)g[b]=arguments[b];return this.generateStoreLoadOptionAccessor("sort")(g)},filter(){var c=(0,U.ir)(arguments);if(void 0===c)return this._storeLoadOptions.filter;this._storeLoadOptions.filter=c,this.pageIndex(0)},group(){for(var c=arguments.length,g=new Array(c),b=0;b<c;b++)g[b]=arguments[b];return this.generateStoreLoadOptionAccessor("group")(g)},select(){for(var c=arguments.length,g=new Array(c),b=0;b<c;b++)g[b]=arguments[b];return this.generateStoreLoadOptionAccessor("select")(g)},requireTotalCount(c){if(!(0,x.jn)(c))return this._storeLoadOptions.requireTotalCount;this._storeLoadOptions.requireTotalCount=c},searchValue(c){if(arguments.length<1)return this._searchValue;this._searchValue=c,this.pageIndex(0)},searchOperation(c){if(!(0,x.HD)(c))return this._searchOperation;this._searchOperation=c,this.pageIndex(0)},searchExpr(c){var g=arguments.length;if(0===g)return this._searchExpr;g>1&&(c=[].slice.call(arguments)),this._searchExpr=c,this.pageIndex(0)},store(){return this._store},key(){var c;return null===(c=this._store)||void 0===c?void 0:c.key()},totalCount(){return this._totalCount},isLoaded(){return this._isLoaded},isLoading(){return this._loadingCount>0},beginLoading(){this._changeLoadingCount(1)},endLoading(){this._changeLoadingCount(-1)},_createLoadQueue:()=>F(),_changeLoadingCount(c){var g=this.isLoading();this._loadingCount+=c;var b=this.isLoading();g^b&&this._eventsStrategy.fireEvent("loadingChanged",[b])},_scheduleLoadCallbacks(c){this.beginLoading(),c.always(()=>{this.endLoading()})},_scheduleFailCallbacks(c){var g=this;c.fail(function(){for(var b=arguments.length,ue=new Array(b),N=0;N<b;N++)ue[N]=arguments[N];ue[0]!==U.NE&&g._eventsStrategy.fireEvent("loadError",ue)})},_fireChanged(c){var g=new Date;this._eventsStrategy.fireEvent("changed",c),this._changedTime=new Date-g},_scheduleChangedCallbacks(c){c.done(()=>this._fireChanged())},loadSingle(c,g){var b=new d.BH,ue=this.key(),N=this._store,Z=this._createStoreLoadOptions();return this._scheduleFailCallbacks(b),arguments.length<2&&(g=c,c=ue),delete Z.skip,delete Z.group,delete Z.refresh,delete Z.pageIndex,delete Z.searchString,(c===ue||N instanceof I.Z&&!N._byKeyViaLoad()?N.byKey(g,Z):(Z.take=1,Z.filter=Z.filter?[Z.filter,[c,g]]:[c,g],N.load(Z))).fail(b.reject).done(V=>{var ne=Array.isArray(V)&&!V.length;!(0,x.$K)(V)||ne?b.reject(new T.R0.Error("E4009")):(Array.isArray(V)||(V=[V]),b.resolve(this._applyMapFunction(V)[0]))}),b.promise()},load(){var c=new d.BH,g=()=>{if(!this._disposed&&(0,U.zR)(c))return this._loadFromStore(b,c)};this._scheduleLoadCallbacks(c),this._scheduleFailCallbacks(c),this._scheduleChangedCallbacks(c);var b=this._createLoadOperation(c);return this._eventsStrategy.fireEvent("customizeStoreLoadOptions",[b]),this._loadQueue.add(()=>("number"==typeof b.delay?this._delayedLoadTask=(0,ie.Wi)(g,b.delay):g(),c.promise())),c.promise({operationId:b.operationId})},_onPush(c){if(this._reshapeOnPush)this.load();else{var g={changes:c};this._eventsStrategy.fireEvent("changing",[g]);var b=this.group(),ue=this.items(),N=0,Z=this.paginate()||b?c.filter(V=>"update"===V.type):c;b&&(N=Array.isArray(b)?b.length:1),this._mapFunc&&Z.forEach(V=>{"insert"===V.type&&(V.data=this._mapFunc(V.data))}),g.postProcessChanges&&(Z=g.postProcessChanges(Z)),(0,W.ii)({keyInfo:this.store(
1),data:ue,changes:Z,groupCount:N,useInsertIndex:!0}),this._fireChanged([{changes:c}])}},_createLoadOperation(c){var g=this._operationManager.add(c),b=this._createStoreLoadOptions();return c.always(()=>this._operationManager.remove(g)),{operationId:g,storeLoadOptions:b}},reload(){return this.store()._clearCache(),this._init(),this.load()},cancel(c){return this._operationManager.cancel(c)},cancelAll(){return this._operationManager.cancelAll()},_addSearchOptions(c){this._disposed||(this.store()._useDefaultSearch?this._addSearchFilter(c):(c.searchOperation=this._searchOperation,c.searchValue=this._searchValue,c.searchExpr=this._searchExpr))},_createStoreLoadOptions(){var c=(0,i.l)({},this._storeLoadOptions);return this._addSearchOptions(c),this._paginate&&this._pageSize&&(c.skip=this._pageIndex*this._pageSize,c.take=this._pageSize),c.userData=this._userData,c},_addSearchFilter(c){var g=this._searchValue,b=this._searchOperation,ue=this._searchExpr,N=[];g&&(ue||(ue="this"),Array.isArray(ue)||(ue=[ue]),(0,A.S6)(ue,function(Z,V){N.length&&N.push("or"),N.push([V,b,g])}),c.filter=c.filter?[N,c.filter]:N)},_loadFromStore(c,g){var b=(ue,N)=>{if(!this._disposed&&(0,U.zR)(g)){var Z=(0,i.l)((0,U.r6)(ue,N),c);this._eventsStrategy.fireEvent("customizeLoadResult",[Z]),(0,d.gx)(Z.data).done(V=>{Z.data=V,this._processStoreLoadResult(Z,g)}).fail(g.reject)}};return c.data?(new d.BH).resolve(c.data).done(b):this.store().load(c.storeLoadOptions).done(b).fail(g.reject)},_processStoreLoadResult(c,g){var b=c.data,ue=c.extra,N=c.storeLoadOptions,Z=()=>(this._isLoaded=!0,this._totalCount=isFinite(ue.totalCount)?ue.totalCount:-1,g.resolve(b,ue));this._disposed||(b=this._applyPostProcessFunction(this._applyMapFunction(b)),(0,x.Kn)(ue)||(ue={}),this._items=b,(!b.length||!this._paginate||this._pageSize&&b.length<this._pageSize)&&(this._isLastPage=!0),N.requireTotalCount&&!isFinite(ue.totalCount)?this.store().totalCount(N).done(function(V){ue.totalCount=V,Z()}).fail(g.reject):Z())},_applyMapFunction(c){return this._mapFunc?(0,U.YI)(c,this._mapFunc,this.group()):c},_applyPostProcessFunction(c){return this._postProcessFunc?this._postProcessFunc(c):c},on(c,g){return this._eventsStrategy.on(c,g),this},off(c,g){return this._eventsStrategy.off(c,g),this}})},2928:(Je,Ae,a)=>{a.d(Ae,{NE:()=>d,YI:()=>S,aN:()=>N,ir:()=>q,r6:()=>c,zR:()=>F});var n=a(87462),i=a(63366),ie=a(68948),A=a(60577),x=a(16714),K=a(91553),W=a(32451),I=a(83684),H=a(64596),T=a(83018),u=["items"],d="canceled",F=Z=>"pending"===Z.state(),q=Z=>{switch(Z.length){case 0:return;case 1:return Z[0]}return[].slice.call(Z)},Y=(Z,V,ne)=>Array.isArray(Z)?V?((Z,V,ne)=>(0,K.UI)(Z,h=>{var E=(0,i.Z)(h,u);return(0,n.Z)({},E,{items:Y(h.items,V-1,ne)})}))(Z,V,ne):(0,K.UI)(Z,ne):Z,S=(Z,V,ne)=>{var h=ne?(0,T.G5)(ne).length:0;return Y(Z,h,V)},c=(Z,V)=>{var ne;return null!==(ne=Z)&&void 0!==ne&&ne.data&&(V=Z,Z=Z.data),Array.isArray(Z)||(Z=[Z]),{data:Z,extra:V}},g=Z=>{var V={};return(0,K.S6)(["useDefaultSearch","key","load","loadMode","cacheRawData","byKey","lookup","totalCount","insert","update","remove"],function(){V[this]=Z[this],delete Z[this]}),new W.Z(V)},ue=(Z,V)=>new W.Z({load:()=>ie.Z.sendRequest({url:Z,dataType:"json"}),loadMode:V?.fromUrlLoadMode}),N=(Z,V)=>{var ne;return"string"==typeof Z&&(Z={paginate:!1,store:ue(Z,V)}),void 0===Z&&(Z=[]),void 0===(Z=Array.isArray(Z)||Z instanceof A.Z?{store:Z}:(0,I.l)({},Z)).store&&(Z.store=[]),ne=Z.store,"load"in Z?ne=g(Z):Array.isArray(ne)?ne=new x.Z(ne):(0,H.PO)(ne)&&(ne=(Z=>{var V=Z.type;return delete Z.type,A.Z.create(V,Z)})((0,I.l)({},ne))),Z.store=ne,Z}},30389:(Je,Ae,a)=>{a.d(Ae,{R0:()=>ie,S3:()=>x});var n=a(32622),i=a(47484),ie=(0,n.Z)(i.Z.ERROR_MESSAGES,{E4000:"[DevExpress.data]: {0}",E4001:"Unknown aggregating function is detected: '{0}'",E4002:"Unsupported OData protocol version is used",E4003:"Unknown filter operation is used: {0}",E4004:"The thenby() method is called before the sortby() method",E4005:"Store requires a key expression for this operation",E4006:"ArrayStore 'data' option must be an array",E4007:"Compound keys cannot be auto-generated",E4008:"Attempt to insert an item with a duplicated key",E4009:"Data item cannot be found",E4010:"CustomStore does not support creating queries",E4011:"Custom Store method is not implemented or is not a function: {0}
1",E4012:"Custom Store method returns an invalid value: {0}",E4013:"Local Store requires the 'name' configuration option is specified",E4014:"Unknown data type is specified for ODataStore: {0}",E4015:"Unknown entity name or alias is used: {0}",E4016:"The compileSetter(expr) method is called with 'self' passed as a parameter",E4017:"Keys cannot be modified",E4018:"The server has returned a non-numeric value in a response to an item count request",E4019:"Mixing of group operators inside a single group of filter expression is not allowed",E4020:"Unknown store type is detected: {0}",E4021:"The server response does not provide the totalCount value",E4022:"The server response does not provide the groupCount value",E4023:"Could not parse the following XML: {0}",E4024:"String function {0} cannot be used with the data field {1} of type {2}.",W4000:"Data returned from the server has an incorrect structure",W4001:'The {0} field is listed in both "keyType" and "fieldTypes". The value of "fieldTypes" is used.',W4002:"Data loading has failed for some cells due to the following error: {0}"}),x=function(W){var I;null===(I=null)||void 0===I||I(W)}},82510:(Je,Ae,a)=>{a.d(Ae,{Z:()=>u});var n=a(13055);const i={};var ie=a(30389),A=a(91553),x=a(64596),K=a(80316),H={array:n.Z,remote:function d(F,q,U){U=U||[],q=q||{};var Y=function(g,b){return{name:g,args:b}},S=function(g){var ue,N,Z,V,ne,M,w,b=new K.BH,h=function(M){var w=q.errorHandler;w&&w(M),(0,ie.S3)(M),b.reject(M)};function E(M){switch(M.name){case"sortBy":return ne=[M.args],!0;case"thenBy":if(!ne)throw ie.R0.Error("E4004");return ne.push(M.args),!0}return!1}try{(0,x.mf)(ue=q.adapter)||(ue=i[ue]),N=ue(q),Z=[].concat(U).concat(g);var L=N.optimize;for(L&&L(Z);Z.length;){if(!E(V=Z[0])){if(ne){Z.unshift(Y("multiSort",[ne])),ne=null;continue}if("enumerate"!==String(V.name)&&(!N[V.name]||!1===N[V.name].apply(N,V.args)))break}Z.shift()}w=[],(M=Z[0])&&"multiSort"===M.name&&(Z.shift(),(0,A.S6)(M.args[0],function(){w.push(Y(w.length?"thenBy":"sortBy",this))})),Z=w.concat(Z),N.exec(F).done(function(M,w){if(Z.length){var Q=(0,n.Z)(M,{errorHandler:q.errorHandler});(0,A.S6)(Z,function(){Q=Q[this.name].apply(Q,this.args)}),Q.done(b.resolve).fail(b.reject)}else b.resolve(M,w)}).fail(h)}catch(M){h(M)}return b.promise()},c={};return(0,A.S6)(["sortBy","thenBy","filter","slice","select","groupBy"],function(){var g=String(this);c[g]=function(){return d(F,q,U.concat(Y(g,arguments)))}}),(0,A.S6)(["count","min","max","sum","avg","aggregate","enumerate"],function(){var g=String(this);c[g]=function(){return S.call(this,Y(g,arguments))}}),c}};const u=function(){var d=Array.isArray(arguments[0])?"array":"remote";return H[d].apply(this,arguments)}},2030:(Je,Ae,a)=>{a.d(Ae,{Z:()=>H});var n=a(56836),i=a(83684),ie=a(91553),A=a(13055),x=a(83018);function K(T,u){return T=T.groupBy(u[0].selector),u.length>1&&(T=T.select(function(d){return(0,i.l)({},d,{items:K((0,A.Z)(d.items),u.slice(1)).toArray()})})),T}function W(T,u){var d=[];return(0,ie.S6)(T,function(F,q){(0,n.h3)(u,function(Y){return q.selector===Y.selector}).length<1&&d.push(q)}),d.concat(u)}const H={multiLevelGroup:K,arrangeSortingInfo:W,queryByOptions:function I(T,u,d){var F=(u=u||{}).filter;if(F&&(T=T.filter(F)),d)return T;var q=u.sort,U=u.select,Y=u.group,S=u.skip,c=u.take;return Y&&((Y=(0,x.G5)(Y)).keepInitialKeyOrder=!!u.group.keepInitialKeyOrder),(q||Y)&&(q=(0,x.G5)(q||[]),Y&&!Y.keepInitialKeyOrder&&(q=W(Y,q)),(0,ie.S6)(q,function(g){T=T[g?"thenBy":"sortBy"](this.selector,this.desc,this.compare)})),U&&(T=T.select(U)),Y&&(T=K(T,Y)),(c||S)&&(T=T.slice(S||0,c)),T}}},83018:(Je,Ae,a)=>{a.d(Ae,{C5:()=>H,DE:()=>T,ER:()=>d,F$:()=>V,G5:()=>u,IN:()=>Z,LE:()=>q,Lq:()=>Y,OI:()=>S,Q2:()=>ne,bG:()=>F,hi:()=>ue,xL:()=>E});var M,L,n=a(64596),i=a(68082),ie=a(12395),A=a(34500),x=a(91553),K=a(80316),W=a(56836),H="DEVEXTREME_XHR_ERROR_UNLOAD",T=function(L){return[L[0],L.length<3?"=":String(L[1]).toLowerCase(),L.length<2||L[L.length-1]]},u=function(L){return Array.isArray(L)||(L=[L]),(0,x.UI)(L,function(M){var w={selector:(0,n.mf)(M)||"string"==typeof M?M:M.getter||M.field||M.selector,desc:!(!M.desc&&"d"!==String(M.dir).charAt(0).toLowerCase())};return M.compare&&(w.compare=M.compare),w})},d=(L={timeout:"Network connection timeout",error:"Unspecified network error",parsererror:"Unexpected server response"},(0,ie.Z.add)(function(){var w=(0,A.Jj)();i.Z.listen(w,"beforeunload",function(){M=!0})}),function(w,Q){return M?H:w.status<400?L[ae=Q]||ae:w.statusText;var ae}),F={count:{seed:0,step:function(L){return 1+L}},sum:{seed:0,step:function(L,M){return L+M}},min:{step:function(L,M){return M<L?M:L}},max:{step:function(L,M){return M>L?M:L}},avg:{seed:[0,0],step:function(L,M){return[L[0]+M,L[1]+1]},finalize:function(L){return L[1]?L[0]/L[1]:NaN}}},q=function(){var M,L=0;return{obtain:function(){0===L&&(M=new K.BH),L++},release:function(){--L<1&&M.resolve()},promise:function(){return(0===L?(new K.BH).resolve():M).promise()},reset:function(){L=0,M&&M.resolve()}}}();function Y(L){return/^(and|&&|&)$/i.test(L)}var S=function(L,M,w){if(Array.isArray(L)){for(var ae,Q=(0,x.UI)(M,function(Me,pe){return pe}),ce=0;ce<Q.length;ce++)if(!(0,W.bY)(M[ae=Q[ce]],w[ae],{strict:!1}))return!1;return!0}return(0,W.bY)(M,w,{strict:!1})},ue=function(L){return"!"===L[0]&&Array.isArray(L[1])},Z=function(L){var M=L[0],w=L[1];return!!(Array.isArray(M)||(0,n.mf)(M)&&(Array.isArray(w)||(0,n.mf)(w)||function(L){return"and"===L||"or"===L}(w)))},V=function(){var L=new K.BH;return L.resolve.apply(L,arguments).promise()},ne=function(){var L=new K.BH;return L.reject.apply(L,arguments).promise()};function E(L,M){var w=[],Q=function h(L,M){var w;return function(){return w||(w=setTimeout(()=>{w=void 0,L.call(this)},(0,n.mf)(M)?M():M)),w}}
1(function(){L.call(this,w),w=[]},M);return function(ae){return Array.isArray(ae)&&w.push(...ae),Q.call(this,w)}}},30469:(Je,Ae,a)=>{a.d(Ae,{Z:()=>S});var n=a(14422),i=a(83684),ie=a(2928),A=a(56836),x=a(80316),K={load:()=>(0,x.BH)().reject(),loadSingle:()=>(0,x.BH)().reject(),loadFromStore:()=>(0,x.BH)().reject(),loadNextPage:()=>(0,x.BH)().reject(),loadOptions:A.ZT,userData:A.ZT,cancel:A.ZT,cancelAll:A.ZT,filter:A.ZT,addSearchFilter:A.ZT,group:A.ZT,paginate:A.ZT,pageSize:A.ZT,pageIndex:A.ZT,resetDataSourcePageIndex:A.ZT,totalCount:A.ZT,isLastPage:A.ZT,isLoading:A.ZT,isLoaded:A.ZT,searchValue:A.ZT,searchOperation:A.ZT,searchExpr:A.ZT,select:A.ZT,key:A.ZT,keyOf:A.ZT,store:A.ZT,items:A.ZT,applyMapFunction:A.ZT,getDataSource:A.ZT,reload:A.ZT,on:A.ZT,off:A.ZT};var H="_dataSourceOptions",T="_dataSourceChangedHandler",u="_dataSourceLoadErrorHandler",d="_dataSourceLoadingChangedHandler",F="_dataSourceFromUrlLoadMode",q="_getSpecificDataSourceOption",U="_normalizeDataSource";const S={postCtor:function(){this.on("disposing",function(){this._disposeDataSource()}.bind(this))},_refreshDataSource:function(){this._initDataSource(),this._loadDataSource()},_initDataSource:function(){var g,b,c=q in this?this[q]():this.option("dataSource");this._disposeDataSource(),c&&(c instanceof n.o?(this._isSharedDataSource=!0,this._dataSource=c):(g=H in this?this[H]():{},b=this._dataSourceType?this._dataSourceType():n.o,c=(0,ie.aN)(c,{fromUrlLoadMode:F in this&&this[F]()}),this._dataSource=new b((0,i.l)(!0,{},g,c))),U in this&&(this._dataSource=this[U](this._dataSource)),this._addDataSourceHandlers(),this._initDataController())},_initDataController:function(){var c,g=null===(c=this.option)||void 0===c?void 0:c.call(this,"_dataController");this._dataController=g||new class W{constructor(g){if(!g)return K;this._dataSource=g}load(){return this._dataSource.load()}loadSingle(g,b){return arguments.length<2&&(b=g,g=this.key()),this._dataSource.loadSingle(g,b)}loadFromStore(g){return this.store().load(g)}loadNextPage(){return this.pageIndex(1+this.pageIndex()),this.load()}loadOptions(){return this._dataSource.loadOptions()}userData(){return this._dataSource._userData}cancel(g){this._dataSource.cancel(g)}cancelAll(){this._dataSource.cancelAll()}filter(g){return this._dataSource.filter(g)}addSearchFilter(g){this._dataSource._addSearchFilter(g)}group(g){return this._dataSource.group(g)}paginate(){return this._dataSource.paginate()}pageSize(){return this._dataSource._pageSize}pageIndex(g){return this._dataSource.pageIndex(g)}resetDataSourcePageIndex(){this.pageIndex()&&(this.pageIndex(0),this.load())}totalCount(){return this._dataSource.totalCount()}isLastPage(){return this._dataSource.isLastPage()||!this._dataSource._pageSize}isLoading(){return this._dataSource.isLoading()}isLoaded(){return this._dataSource.isLoaded()}searchValue(g){return arguments.length?this._dataSource.searchValue(g):this._dataSource.searchValue()}searchOperation(g){return this._dataSource.searchOperation(g)}searchExpr(g){return arguments.length?this._dataSource.searchExpr(g):this._dataSource.searchExpr()}select(){return this._dataSource.select(...arguments)}key(){return this._dataSource.key()}keyOf(g){return this.store().keyOf(g)}store(){return this._dataSource.store()}items(){return this._dataSource.items()}applyMapFunction(g){return this._dataSource._applyMapFunction(g)}getDataSource(){return this._dataSource||null}reload(){return this._dataSource.reload()}on(g,b){this._dataSource.on(g,b)}off(g,b){this._dataSource.off(g,b)}}(this._dataSource)},_addDataSourceHandlers:function(){T in this&&this._addDataSourceChangeHandler(),u in this&&this._addDataSourceLoadErrorHandler(),d in this&&this._addDataSourceLoadingChangedHandler(),this._addReadyWatcher()},_addReadyWatcher:function(){this._dataSource.on("loadingChanged",function(c){this._ready&&this._ready(!c)}.bind(this))},_addDataSourceChangeHandler:function(){var c=this._dataSource;this._proxiedDataSourceChangedHandler=function(g){this[T](c.items(),g)}.bind(this),c.on("changed",this._proxiedDataSourceChangedHandler)},_addDataSourceLoadErrorHandler:function(){this._proxiedDataSourceLoadErrorHandler=this[u].bind(this),this._dataSource.on("loadError",this._proxiedDataSourceLoadErrorHandler)},_addDataSourceLoadingChangedHandler:function(){this._proxiedDataSourceLoadingChangedHandler=this[d].bind(this),this._dataSource.on("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)}
1,_loadDataSource:function(){var c=this._dataSource;c&&(c.isLoaded()?this._proxiedDataSourceChangedHandler&&this._proxiedDataSourceChangedHandler():c.load())},_loadSingle:function(c,g){return c="this"===c?this._dataSource.key()||"this":c,this._dataSource.loadSingle(c,g)},_isLastPage:function(){return!this._dataSource||this._dataSource.isLastPage()||!this._dataSource._pageSize},_isDataSourceLoading:function(){return this._dataSource&&this._dataSource.isLoading()},_disposeDataSource:function(){this._dataSource&&(this._isSharedDataSource?(delete this._isSharedDataSource,this._proxiedDataSourceChangedHandler&&this._dataSource.off("changed",this._proxiedDataSourceChangedHandler),this._proxiedDataSourceLoadErrorHandler&&this._dataSource.off("loadError",this._proxiedDataSourceLoadErrorHandler),this._proxiedDataSourceLoadingChangedHandler&&this._dataSource.off("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)):this._dataSource.dispose(),delete this._dataSource,delete this._proxiedDataSourceChangedHandler,delete this._proxiedDataSourceLoadErrorHandler,delete this._proxiedDataSourceLoadingChangedHandler)},getDataSource:function(){return this._dataSource||null}}},1037:(Je,Ae,a)=>{a.d(Ae,{u:()=>U});var n=a(83520),i=a(24705),ie=a(13921),A=a(68082),x=a(43615),W=(a(75949),a(16129)),I=a(79890);function H(N){return N&&[N.target,N.delegateTarget,N.relatedTarget,N.currentTarget].filter(Z=>!!Z)}var d=a(45390),F=a(24155),q=a(30297),U="dxclick",S=null,c=null,g=()=>{c=null},b=function(N){var Z=N.originalEvent;(!N.which||1===N.which)&&!S&&!(c===Z||Z&&Z.DXCLICK_FIRED)&&(Z&&(Z.DXCLICK_FIRED=!0),((N,Z)=>{i.Z.off(H(N),I.x,Z)})(c,g),((N,Z)=>{i.Z.one(H(N),I.x,Z)})(c=Z,g),(0,W.BX)({type:U,originalEvent:N}))},ue=F.Z.inherit({ctor:function(N){this.callBase(N),i.Z.on(this.getElement(),"click",b)},start:function(N){S=null},cancel:function(){S=!0},dispose:function(){i.Z.off(this.getElement(),"click",b)}});(function(){if(!ie.Z.real().generic){var Z=null,V=!1,ne=A.Z.getDocument();i.Z.subscribeGlobal(ne,(0,W.V4)(d.Z.down,"NATIVE_CLICK_FIXER"),function(h){Z=h.target,V=h.isDefaultPrevented()}),i.Z.subscribeGlobal(ne,(0,W.V4)("click","NATIVE_CLICK_FIXER"),function(h){var E=(0,n.Z)(h.target);!V&&Z&&!E.is(Z)&&!(0,n.Z)(Z).is("label")&&(0,n.Z)(E).is("input, textarea, select, button ,:focus, :focus *")&&(0,x.M3)(),Z=null,V=!1})}})(),(0,q.Z)({emitter:ue,bubble:!0,events:[U]})},26463:(Je,Ae,a)=>{a.d(Ae,{dR:()=>Y});var q,n=a(24245),i=a(56836),ie=a(43615),A=a(13921),x=a(16129),K=a(45390),W=a(24155),I=a(30297),H="dxactive",T="dxinactive",F=n.Z.inherit({ctor:function(S,c){this._timeout=S,this._fire=c},start:function(){var S=this;this._schedule(function(){S.force()})},_schedule:function(S){this.stop(),this._timer=setTimeout(S,this._timeout)},stop:function(){clearTimeout(this._timer)},force:function(){this._fired||(this.stop(),this._fire(),this._fired=!0)},fired:function(){return this._fired}}),U=W.Z.inherit({ctor:function(){this.callBase.apply(this,arguments),this._active=new F(0,i.ZT),this._inactive=new F(0,i.ZT)},configure:function(S,c){switch(c){case H:S.activeTimeout=S.timeout;break;case T:S.inactiveTimeout=S.timeout}this.callBase(S)},start:function(S){if(q){var c=(0,ie.r3)(this.getElement().get(0),q.getElement().get(0)),g=!q._active.fired();if(c&&g)return void this._cancel();q._inactive.force()}q=this,this._initEvents(S),this._active.start()},_initEvents:function(S){var c=this,g=this._getEmitterTarget(S),b=(0,x.N5)(S),N=A.Z.isSimulator()||!b,Z=(0,i.IS)(this.activeTimeout,30),V=(0,i.IS)(this.inactiveTimeout,400);this._active=new F(N?Z:0,function(){c._fireEvent(H,S,{target:g})}),this._inactive=new F(N?V:0,function(){c._fireEvent(T,S,{target:g}),q=null})},cancel:function(S){this.end(S)},end:function(S){var c=S.type!==K.Z.up;c?this._active.stop():this._active.force(),this._inactive.start(),c&&this._inactive.force()},dispose:function(){this._active.stop(),this._inactive.stop(),q===this&&(q=null),this.callBase()},lockInactive:function(){return this._active.force(),this._inactive.stop(),q=null,this._cancel(),this._inactive.force.bind(this._inactive)}});U.lock=function(S){var c=q?q.lockInactive():i.ZT;S.done(c)},(0,I.Z)({emitter:U,events:[H,T]});var Y=U.lock},24155:(Je,Ae,a)=>{a.d(Ae,{Z:()=>I});var n=a(83520),i=a(56836),ie=a(24245),A=a(47685),x=a(83684),K=a(16129);const I=ie.Z.inherit({ctor:function(H){this._$element=(0,n.Z)(H),this._cancelCallback=(0,A.Z)(),this._acceptCallback=(0,A.Z)()},getElement:function(){return this._$element},validate:function(H){return!(0,K.pR)(H)},validatePointers:function(H){return 1===(0,K.G7)(H)},allowInterruptionByMouseWheel:function(){return!0},configure:function(H){(0,x.l)(this,H)},addCancelCallback:function(H){this._cancelCallback.add(H)},removeCancelCallback:function(){this._cancelCallback.empty()},_cancel:function(H){this._cancelCallback.fire(this,H)},addAcceptCallback:function(H){this._acceptCallback.add(H)},removeAcceptCallback:function(){this._acceptCallback.empty()},_accept:function(H){this._acceptCallback.fire(this,H)},_requestAccept:function(H){this._acceptRequestEvent=H},_forgetAccept:function(){this._accept(this._acceptRequestEvent),this._acceptRequestEvent=null},start:i.ZT,move:i.ZT,end:i.ZT,cancel:i.ZT,reset:function(){this._acceptRequestEvent&&this._accept(this._acceptRequestEvent)},_fireEvent:function(H,T,u){var d=(0,x.l)({type:H,originalEvent:T,target:this._getEmitterTarget(T),delegateTarget:this.getElement().get(0)},u);return(T=(0,K.BX)(d)).cancel&&this._cancel(T),T},_getEmitterTarget:function(H){return(this.delegateSelector?(0,n.Z)(H.target).closest(this.delegateSelector):this.getElement()).get(0)},dispose:i.ZT})},30297:(Je,Ae,a)=>{a.d(Ae,{Z:()=>g});
1var n=a(83520),i=a(12395),ie=a(68082),A=a(24705),x=a(29694),K=a(24245),W=a(83684),I=a(91553),H=a(3053),T=a(16129),u=a(45390),d=a(51144),F="dxEventManager",q="dxEmitter",Y=new(K.Z.inherit({ctor:function(){this._attachHandlers(),this.reset(),this._proxiedCancelHandler=this._cancelHandler.bind(this),this._proxiedAcceptHandler=this._acceptHandler.bind(this)},_attachHandlers:function(){i.Z.add(function(){var b=ie.Z.getDocument();A.Z.subscribeGlobal(b,(0,T.V4)(u.Z.down,F),this._pointerDownHandler.bind(this)),A.Z.subscribeGlobal(b,(0,T.V4)(u.Z.move,F),this._pointerMoveHandler.bind(this)),A.Z.subscribeGlobal(b,(0,T.V4)([u.Z.up,u.Z.cancel].join(" "),F),this._pointerUpHandler.bind(this)),A.Z.subscribeGlobal(b,(0,T.V4)(d.u,F),this._mouseWheelHandler.bind(this))}.bind(this))},_eachEmitter:function(b){for(var ue=this._activeEmitters||[],N=0;ue.length>N;){var Z=ue[N];if(!1===b(Z))break;ue[N]===Z&&N++}},_applyToEmitters:function(b,ue){this._eachEmitter(function(N){N[b].call(N,ue)})},reset:function(){this._eachEmitter(this._proxiedCancelHandler),this._activeEmitters=[]},resetEmitter:function(b){this._proxiedCancelHandler(b)},_pointerDownHandler:function(b){(0,T.N5)(b)&&b.which>1||this._updateEmitters(b)},_updateEmitters:function(b){this._isSetChanged(b)&&(this._cleanEmitters(b),this._fetchEmitters(b))},_isSetChanged:function(b){var ue=this._closestEmitter(b),N=this._emittersSet||[],Z=ue.length!==N.length;return(0,I.S6)(ue,function(V,ne){return!(Z=Z||N[V]!==ne)}),this._emittersSet=ue,Z},_closestEmitter:function(b){var ue=this,N=[],Z=(0,n.Z)(b.target);function V(h,E){E&&E.validatePointers(b)&&E.validate(b)&&(E.addCancelCallback(ue._proxiedCancelHandler),E.addAcceptCallback(ue._proxiedAcceptHandler),N.push(E))}for(;Z.length;){var ne=(0,x.aT)(Z.get(0),q)||[];(0,I.S6)(ne,V),Z=Z.parent()}return N},_acceptHandler:function(b,ue){var N=this;this._eachEmitter(function(Z){Z!==b&&N._cancelEmitter(Z,ue)})},_cancelHandler:function(b,ue){this._cancelEmitter(b,ue)},_cancelEmitter:function(b,ue){var N=this._activeEmitters;ue?b.cancel(ue):b.reset(),b.removeCancelCallback(),b.removeAcceptCallback();var Z=N.indexOf(b);Z>-1&&N.splice(Z,1)},_cleanEmitters:function(b){this._applyToEmitters("end",b),this.reset(b)},_fetchEmitters:function(b){this._activeEmitters=this._emittersSet.slice(),this._applyToEmitters("start",b)},_pointerMoveHandler:function(b){this._applyToEmitters("move",b)},_pointerUpHandler:function(b){this._updateEmitters(b)},_mouseWheelHandler:function(b){this._allowInterruptionByMouseWheel()&&(b.pointers=[null],this._pointerDownHandler(b),this._adjustWheelEvent(b),this._pointerMoveHandler(b),b.pointers=[],this._pointerUpHandler(b))},_allowInterruptionByMouseWheel:function(){var b=!0;return this._eachEmitter(function(ue){return b=ue.allowInterruptionByMouseWheel()&&b}),b},_adjustWheelEvent:function(b){var ue=null;if(this._eachEmitter(function(ne){if(ne.gesture){var h=ne.getDirection(b);if("horizontal"!==h&&!b.shiftKey||"vertical"!==h&&b.shiftKey)return ue=ne,!1}}),ue){var N=ue.getDirection(b);b["both"===N&&!b.shiftKey||"vertical"===N?"pageY":"pageX"]+=b.delta}},isActive:function(b){var ue=!1;return this._eachEmitter(function(N){ue=ue||N.getElement().is(b)}),ue}})),S="dxEmitterSubscription";const g=function(b){var ue=b.emitter,N=b.events[0],Z=b.events;(0,I.S6)(Z,function(V,ne){(0,H.Z)(ne,{noBubble:!b.bubble,setup:function(h){var E=(0,x.aT)(h,S)||{},L=(0,x.aT)(h,q)||{},M=L[N]||new ue(h);E[ne]=!0,L[N]=M,(0,x.aT)(h,q,L),(0,x.aT)(h,S,E)},add:function(h,E){(0,x.aT)(h,q)[N].configure((0,W.l)({delegateSelector:E.selector},E.data),E.type)},teardown:function(h){var E=(0,x.aT)(h,S),L=(0,x.aT)(h,q),M=L[N];delete E[ne];var w=!0;(0,I.S6)(Z,function(Q,ae){return w=w&&!E[ae]}),w&&(Y.isActive(h)&&Y.resetEmitter(M),M&&M.dispose(),delete L[N])}})})}},3053:(Je,Ae,a)=>{a.d(Ae,{Z:()=>A});var n=a(91553),i=a(38525),ie=function(x,K){var W={};"noBubble"in K&&(W.noBubble=K.noBubble),"bindType"in K&&(W.bindType=K.bindType),"delegateType"in K&&(W.delegateType=K.delegateType),(0,n.S6)(["setup","teardown","add","remove","trigger","handle","_default","dispose"],function(I,H){K[H]&&(W[H]=function(){var T=[].slice.call(arguments);return T.unshift(this),K[H].apply(K,T)})}),i.Z.fire(x,W)};ie.callbacks=i.Z;const A=ie},3987:(Je,Ae,a)=>{a.d(Ae,{Z:()=>u});var n=a(83520),i=a(24705),ie=a(24245),A=a(16129),x="compositionstart",I="KeyboardProcessor",H=d=>({keyName:(0,A.EV)(d),key:d.key,code:d.code,ctrl:d.ctrlKey,location:d.location,metaKey:d.metaKey,shift:d.shift
1Key,alt:d.altKey,which:d.which,originalEvent:d}),T=ie.Z.inherit({_keydown:(0,A.V4)("keydown",I),_compositionStart:(0,A.V4)(x,I),_compositionEnd:(0,A.V4)("compositionend",I),ctor:function(d){(d=d||{}).element&&(this._element=(0,n.Z)(d.element)),d.focusTarget&&(this._focusTarget=d.focusTarget),this._handler=d.handler,this._element&&(this._processFunction=F=>{var q=(0,n.Z)(this._focusTarget).toArray(),U=this._focusTarget&&this._focusTarget!==F.target&&!q.includes(F.target),Y=this._isComposingJustFinished&&229===F.which||this._isComposing||U;this._isComposingJustFinished=!1,Y||this.process(F)},this._toggleProcessingWithContext=this.toggleProcessing.bind(this),i.Z.on(this._element,this._keydown,this._processFunction),i.Z.on(this._element,this._compositionStart,this._toggleProcessingWithContext),i.Z.on(this._element,this._compositionEnd,this._toggleProcessingWithContext))},dispose:function(){this._element&&(i.Z.off(this._element,this._keydown,this._processFunction),i.Z.off(this._element,this._compositionStart,this._toggleProcessingWithContext),i.Z.off(this._element,this._compositionEnd,this._toggleProcessingWithContext)),this._element=void 0,this._handler=void 0},process:function(d){this._handler(H(d))},toggleProcessing:function(d){var{type:F}=d;this._isComposing=F===x,this._isComposingJustFinished=!this._isComposing}});T.createKeyDownOptions=H;const u=T},51144:(Je,Ae,a)=>{a.d(Ae,{u:()=>x});var n=a(83520),i=a(24705),ie=a(3053),A=a(16129),x="dxmousewheel",K="dxWheel",T={setup:function(u){var d=(0,n.Z)(u);i.Z.on(d,(0,A.V4)("wheel",K),T._wheelHandler.bind(T))},teardown:function(u){i.Z.off(u,".".concat(K))},_wheelHandler:function(u){var{deltaMode:d,deltaY:F,deltaX:q,deltaZ:U}=u.originalEvent;(0,A.BX)({type:x,originalEvent:u,delta:this._normalizeDelta(F,d),deltaX:q,deltaY:F,deltaZ:U,deltaMode:d,pointerType:"mouse"}),u.stopPropagation()},_normalizeDelta(u){return 0===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)?-u:-30*u}};(0,ie.Z)(x,T)},63429:(Je,Ae,a)=>{a.d(Ae,{BL:()=>T,pB:()=>u,ut:()=>d});var n=a(83520),i=a(29694),ie=a(46769),A=a(91553),x=a(43615),K=a(3053),W=a(16129),I=a(80707),H=a(30297),T="dxdragstart",u="dxdrag",d="dxdragend",F="dxdragenter",q="dxdragleave",U="dxdrop",Y="dxDragEventsCount",S=[],c=[],g=[],b={setup:function(h,E){S.includes(h)||(S.push(h),c.push([]),g.push(E||{}))},add:function(h,E){var L=S.indexOf(h);this.updateEventsCounter(h,E.type,1);var M=E.selector;c[L].includes(M)||c[L].push(M)},updateEventsCounter:function(h,E,L){if([F,q,U].indexOf(E)>-1){var M=(0,i.aT)(h,Y)||0;(0,i.aT)(h,Y,Math.max(0,M+L))}},remove:function(h,E){this.updateEventsCounter(h,E.type,-1)},teardown:function(h){if(!(0,i.aT)(h,Y)){var L=S.indexOf(h);S.splice(L,1),c.splice(L,1),g.splice(L,1),(0,i.NU)(h,Y)}}};(0,K.Z)(F,b),(0,K.Z)(q,b),(0,K.Z)(U,b);var ne=I.Z.inherit({ctor:function(h){this.callBase(h),this.direction="both"},_init:function(h){this._initEvent=h},_start:function(h){if(h=this._fireEvent(T,this._initEvent),this._maxLeftOffset=h.maxLeftOffset,this._maxRightOffset=h.maxRightOffset,this._maxTopOffset=h.maxTopOffset,this._maxBottomOffset=h.maxBottomOffset,h.targetElements||null===h.targetElements){var E=(0,ie.sE)(h.targetElements||[]);this._dropTargets=A.UI(E,function(L){return(0,n.Z)(L).get(0)})}else this._dropTargets=S},_move:function(h){var E=(0,W.a0)(h),L=this._calculateOffset(E);h=this._fireEvent(u,h,{offset:L}),this._processDropTargets(h),h._cancelPreventDefault||h.preventDefault()},_calculateOffset:function(h){return{x:this._calculateXOffset(h),y:this._calculateYOffset(h)}},_calculateXOffset:function(h){return"vertical"!==this.direction?this._fitOffset(h.x-this._startEventData.x,this._maxLeftOffset,this._maxRightOffset):0},_calculateYOffset:function(h){return"horizontal"!==this.direction?this._fitOffset(h.y-this._startEventData.y,this._maxTopOffset,this._maxBottomOffset):0},_fitOffset:function(h,E,L){return null!=E&&(h=Math.max(h,-E)),null!=L&&(h=Math.min(h,L)),h},_processDropTargets:function(h){var E=this._findDropTarget(h);E===this._currentDropTarget||(this._fireDropTargetEvent(h,q),this._currentDropTarget=E,this._fireDropTargetEvent(h,F))},_fireDropTargetEvent:function(h,E){if(this._currentDropTarget){var L={type:E,originalEvent:h,draggingElement:this._$element.get(0),target:this._currentDropTarget};(0,W.BX)(L)}},_findDropTarget:function(h){var L,E=this;return A.S6(S,function(M,w){if(E._checkDropTargetActive(w)){var Q=(0,n.Z)(w);A.S6(function(h){var E=S.indexOf(h.get(0)),L=c[E].filter(w=>w),M=h.find(L.join(", "));return c[E].includes(void 0)&&(M=M.add(h)),M}(Q),function(ae,ce){var Me=(0,n.Z)(ce);E._checkDropTarget(function(h){var E=S.indexOf(h.get(0));return g[E]}
1(Q),Me,(0,n.Z)(L),h)&&(L=ce)})}}),L},_checkDropTargetActive:function(h){var E=!1;return A.S6(this._dropTargets,function(L,M){return!(E=E||M===h||(0,x.r3)(M,h))}),E},_checkDropTarget:function(h,E,L,M){if(E.get(0)===(0,n.Z)(M.target).get(0))return!1;var Q=function(h,E){return h.itemPositionFunc?h.itemPositionFunc(E):E.offset()}(h,E);if(M.pageX<Q.left||M.pageY<Q.top)return!1;var ae=function(h,E){return h.itemSizeFunc?h.itemSizeFunc(E):{width:E.get(0).getBoundingClientRect().width,height:E.get(0).getBoundingClientRect().height}}(h,E);return!(M.pageX>Q.left+ae.width||M.pageY>Q.top+ae.height||L.length&&L.closest(E).length||h.checkDropTarget&&!h.checkDropTarget(E,M))&&E},_end:function(h){var E=(0,W.a0)(h);this._fireEvent(d,h,{offset:this._calculateOffset(E)}),this._fireDropTargetEvent(h,U),delete this._currentDropTarget}});(0,H.Z)({emitter:ne,events:[T,u,d]})},80707:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ne});var n=a(83520),i=a(24705),ie=a(13921),A=a(47455),x=a(7554),K=a(43615),W=a(12395),I=a(92657),H=a(56836),T=a(64596),u=a(16129),d=a(24155),F=W.Z.add,q=Math.abs,U=0,c=10,N=(0,x.Z)(function(){var h="desktop"===ie.Z.real().deviceType;if(!(0,A.Hj)("pointer-events")||!h)return H.ZT;var E=(0,n.Z)("<div>").addClass("dx-gesture-cover").css("pointerEvents","none");return i.Z.subscribeGlobal(E,"dxmousewheel",function(L){L.preventDefault()}),F(function(){E.appendTo("body")}),function(L,M){E.css("pointerEvents",L?"all":"none"),L&&E.css("cursor",M)}}),V=d.Z.inherit({gesture:!0,configure:function(h){this.getElement().css("msTouchAction",h.immediate?"pinch-zoom":""),this.callBase(h)},allowInterruptionByMouseWheel:function(){return 2!==this._stage},getDirection:function(){return this.direction},_cancel:function(){this.callBase.apply(this,arguments),this._toggleGestureCover(!1),this._stage=U},start:function(h){h._needSkipEvent||(0,u.r1)(h)?this._cancel(h):(this._startEvent=(0,u.yM)(h),this._startEventData=(0,u.a0)(h),this._stage=1,this._init(h),this._setupImmediateTimer())},_setupImmediateTimer:function(){var h;if(clearTimeout(this._immediateTimer),this._immediateAccepted=!1,this.immediate){if(0===this.immediateTimeout)return void(this._immediateAccepted=!0);this._immediateTimer=setTimeout(function(){this._immediateAccepted=!0}.bind(this),null!==(h=this.immediateTimeout)&&void 0!==h?h:180)}},move:function(h){if(1===this._stage&&this._directionConfirmed(h)){if(this._stage=2,this._resetActiveElement(),this._toggleGestureCover(!0),this._clearSelection(h),this._adjustStartEvent(h),this._start(this._startEvent),this._stage===U)return;this._requestAccept(h),this._move(h),this._forgetAccept()}else 2===this._stage&&(this._clearSelection(h),this._move(h))},_directionConfirmed:function(h){var E=this._getTouchBoundary(h),L=(0,u.hM)(this._startEventData,(0,u.a0)(h)),M=q(L.x),w=q(L.y),Q=this._validateMove(E,M,w),ae=this._validateMove(E,w,M),ce=this.getDirection(h);return"both"===ce&&(Q||ae)||"horizontal"===ce&&Q||"vertical"===ce&&ae||this._immediateAccepted},_validateMove:function(h,E,L){return E&&E>=h&&(!this.immediate||E>=L)},_getTouchBoundary:function(h){return this.immediate||(0,u.pR)(h)?0:c},_adjustStartEvent:function(h){var E=this._getTouchBoundary(h),L=(0,u.hM)(this._startEventData,(0,u.a0)(h));this._startEvent.pageX+=(0,I.Xx)(L.x)*E,this._startEvent.pageY+=(0,I.Xx)(L.y)*E},_resetActiveElement:function(){"ios"===ie.Z.real().platform&&this.getElement().find(":focus").length&&(0,K.M3)()},_toggleGestureCover:function(h){this._toggleGestureCoverImpl(h)},_toggleGestureCoverImpl:function(h){2===this._stage&&function(h,E){N()(h,E)}(h,this.getElement().css("cursor"))},_clearSelection:function(h){(0,u.pR)(h)||(0,u.z6)(h)||(0,K.MO)()},end:function(h){this._toggleGestureCover(!1),2===this._stage?this._end(h):1===this._stage&&this._stop(h),this._stage=U},dispose:function(){clearTimeout(this._immediateTimer),this.callBase.apply(this,arguments),this._toggleGestureCover(!1)},_init:H.ZT,_start:H.ZT,_move:H.ZT,_stop:H.ZT,_end:H.ZT});V.initialTouchBoundary=c,V.touchBoundary=function(h){if(!(0,T.$K)(h))return c;c=h};const ne=V},36844:(Je,Ae,a)=>{a.d(Ae,{Z:()=>N});var Z,n=a(24705),i=a(24245),ie=a(16129),A=a(80707),x=a(30297),K=a(75949),W=a(13921),I=i.Z.abstract,H=W.Z.real(),T="scroll",u="dxscrollinit",d="dxscrollstart",F="dxscroll",q="dxscrollend",U="dxscrollstop",Y="dxscrollcancel",S=i.Z.inherit((Z=(0,ie.V4)(T,"dxScrollEmitter"),{ctor:function(V){this._element=V,this._locked=!1,this._proxiedScroll=ne=>{this._disposed||this._scroll(ne)},n.Z.on(this._element,Z,this._proxiedScroll)},_scroll:I,check:function(V,ne){this._locked&&ne()},dispose:function(){this._disposed=!0,n.Z.off(this._element,Z,this._proxiedScroll)}})),c=S.inherit({ctor:function(Z,V){this.callBase(Z),this._timeout=V},_scroll:function(){this._prepare(),this._forget()},_prepare:function(){this._timer&&this._clearTimer(),this._locked=!0},_clearTimer:function(){clearTimeout(this._timer),this._locked=!1,this._timer=null},_forget:function(){var Z=this;this._timer=setTimeout(function(){Z._clearTimer()},this._timeout)},dispose:function(){this.callBase(),this._clearTimer()}}),g=c.inherit({ctor:function(Z){this.callBase(Z,400),this._lastWheelDirection=null},check:function(Z,V){this._checkDirectionChanged(Z),this.callBase(Z,V)},_checkDirectionChanged:function(Z){if((0,ie.pR)(Z)){var V=Z.shift
1Key||!1,ne=null!==this._lastWheelDirection&&V!==this._lastWheelDirection;this._lastWheelDirection=V,this._locked=this._locked&&!ne}else this._lastWheelDirection=null}}),b=c.inherit({ctor:function(Z){this.callBase(Z,400)}});!function(){var{ios:Z,android:V}=H;(Z||V)&&(b=S.inherit({_scroll:function(){this._locked=!0;var ne=this;(0,K.W)(this._scrollFrame),this._scrollFrame=(0,K.U)(function(){ne._locked=!1})},check:function(ne,h){(0,K.W)(this._scrollFrame),(0,K.W)(this._checkFrame);var E=this,L=this.callBase;this._checkFrame=(0,K.U)(function(){L.call(E,ne,h),E._locked=!1})},dispose:function(){this.callBase(),(0,K.W)(this._scrollFrame),(0,K.W)(this._checkFrame)}}))}();var ue=A.Z.inherit(function(){var Z=Math.round(16.666666666666668);return{ctor:function(V){this.callBase.apply(this,arguments),this.direction="both",this._pointerLocker=new b(V),this._wheelLocker=new g(V)},validate:function(){return!0},configure:function(V){V.scrollTarget&&(this._pointerLocker.dispose(),this._wheelLocker.dispose(),this._pointerLocker=new b(V.scrollTarget),this._wheelLocker=new g(V.scrollTarget)),this.callBase(V)},_init:function(V){this._wheelLocker.check(V,function(){(0,ie.pR)(V)&&this._accept(V)}.bind(this)),this._pointerLocker.check(V,function(){var ne=this.isNative&&(0,ie.N5)(V);!(0,ie.pR)(V)&&!ne&&this._accept(V)}.bind(this)),this._fireEvent(u,V),this._prevEventData=(0,ie.a0)(V)},move:function(V){this.callBase.apply(this,arguments),V.isScrollingEvent=this.isNative||V.isScrollingEvent},_start:function(V){this._savedEventData=(0,ie.a0)(V),this._fireEvent(d,V),this._prevEventData=(0,ie.a0)(V)},_move:function(V){var ne=(0,ie.a0)(V);this._fireEvent(F,V,{delta:(0,ie.hM)(this._prevEventData,ne)}),(0,ie.hM)(this._savedEventData,ne).time>200&&(this._savedEventData=this._prevEventData),this._prevEventData=(0,ie.a0)(V)},_end:function(V){var ne=(0,ie.hM)(this._prevEventData,(0,ie.a0)(V)),h={x:0,y:0};if(!(0,ie.pR)(V)&&ne.time<100){var E=(0,ie.hM)(this._savedEventData,this._prevEventData),L=Z/E.time;h={x:E.x*L,y:E.y*L}}this._fireEvent(q,V,{velocity:h})},_stop:function(V){this._fireEvent(U,V)},cancel:function(V){this.callBase.apply(this,arguments),this._fireEvent(Y,V)},dispose:function(){this.callBase.apply(this,arguments),this._pointerLocker.dispose(),this._wheelLocker.dispose()},_clearSelection:function(){if(!this.isNative)return this.callBase.apply(this,arguments)},_toggleGestureCover:function(){if(!this.isNative)return this.callBase.apply(this,arguments)}}}());(0,x.Z)({emitter:ue,events:[u,d,F,q,U,Y]});const N={init:u,start:d,move:F,end:q,stop:U,cancel:Y,scroll:T}},3813:(Je,Ae,a)=>{a.d(Ae,{Z:()=>F});var n=a(74589),i=a(24705),ie=a(48966),A=a(91553),x=a(16129),K=a(83684),W=a(69055),I="dxSwipeable",T={onStart:n.BL,onUpdated:n.aq,onEnd:n.ut,onCancel:"dxswipecancel"},d=ie.Z.inherit({_getDefaultOptions:function(){return(0,K.l)(this.callBase(),{elastic:!0,immediate:!1,immediateTimeout:180,direction:"horizontal",itemSizeFunc:null,onStart:null,onUpdated:null,onEnd:null,onCancel:null})},_render:function(){this.callBase(),this.$element().addClass("dx-swipeable"),this._attachEventHandlers()},_attachEventHandlers:function(){if(this._detachEventHandlers(),!this.option("disabled")){var q=this.NAME;this._createEventData(),(0,A.S6)(T,function(U,Y){var S=this._createActionByOption(U,{context:this});Y=(0,x.V4)(Y,q),i.Z.on(this.$element(),Y,this._eventData,function(c){return S({event:c})})}.bind(this))}},_createEventData:function(){this._eventData={elastic:this.option("elastic"),itemSizeFunc:this.option("itemSizeFunc"),direction:this.option("direction"),immediate:this.option("immediate"),immediateTimeout:this.option("immediateTimeout")}},_detachEventHandlers:function(){i.Z.off(this.$element(),"."+I)},_optionChanged:function(q){switch(q.name){case"disabled":case"onStart":case"onUpdated":case"onEnd":case"onCancel":case"elastic":case"immediate":case"itemSizeFunc":case"direction":this._detachEventHandlers(),this._attachEventHandlers();break;case"rtlEnabled":break;default:this.callBase(q)}},_useTemplates:function(){return!1}});(0,W.u2)(d,I);const F=d},61446:(Je,Ae,a)=>{a.d(Ae,{Z:()=>H});var n=a(16129),i=a(24155),ie=a(30297),A=Math.abs,x="dxhold",I=i.Z.inherit({start:function(T){this._startEventData=(0,n.a0)(T),this._startTimer(T)},_startTimer:function(T){var u="timeout"in this?this.timeout:750;this._holdTimer=setTimeout(function(){this._requestAccept(T),this._fireEvent(x,T,{target:T.target}),this._forgetAccept()}.bind(this),u)},move:function(T){this._touchWasMoved(T)&&this._cancel(T)},_touchWasMoved:function(T){var u=(0,n.hM)(this._startEventData,(0,n.a0)(T));return A(u.x)>5||A(u.y)>5},end:function(){this._stopTimer()},_stopTimer:function(){clearTimeout(this._holdTimer)},cancel:function(){this._stopTimer()},dispose:function(){this._stopTimer()}});(0,ie.Z)({emitter:I,bubble:!0,events:[x]});const H={name:x}},20920:(Je,Ae,a)=>{a.d(Ae,{B:()=>H,u:()=>d});var n=a(24705),i=a(29694),ie=a(24245),A=a(13921),x=a(3053),K=a(16129),W=a(45390),I="dxHoverStart",H="dxhoverstart",T=(0,K.V4)(W.Z.enter,I),u="dxHoverEnd",d="dxhoverend",F=(0,K.V4)(W.Z.leave,u),q=ie.Z.inherit({noBubble:!0,ctor:function(){this._handlerArrayKeyPath=this._eventNamespace+"_HandlerStore"},setup:function(S){(0,i.aT)(S,this._handlerArrayKeyPath,{})},add:function(S,c){var g=this,b=function(ue){g._handler(ue)};n.Z.on(S,this._originalEventName,c.selector,b),(0,i.aT)(S,this._handlerArrayKeyPath)[c.guid]=b},_handler:function(S){(0,K.z6)(S)||A.Z.isSimulator()||(0,K.BX)({type:this._eventName,originalEvent:S,delegateTarget:S.delegateTarget})},remove:function(S,c){var g=(0,i.aT)(S,this._handlerArrayKeyPath)[c.guid];n.Z.off(S,this._originalEventName,c.selector,g)},teardown:function(S){(0,i.NU)(S,this._handlerArrayKeyPath)}}),U=q.inherit({ctor:function(){this._eventNamespace=I,this._eventName=H,this._originalEventName=T,this.callBase()},_handler:function(S){(S.pointers||[]).length||this.callBase(S)}}),Y=q.inherit({ctor:function(){this._eventNamespace=u,this._eventName=d,this._originalEventName=F,this.callBase()}});(0,x.Z)(H,new U),(0,x.Z)(d,new Y)},45390:(Je,Ae,a)=>{a.d(Ae,{Z:()=>J});var n=a(45303),i=a(91553),ie=a(13921),A=a(3053),x=a(83684),K=a(24705),W=a(30805),I=a(68082),H=a(24245),T=a(16129),u="dxPointerEvents";const F=H.Z.inherit({ctor:function(z,le){this._eventName=z,this._originalEvents=(0,T.V4)(le,u),this._handlerCount=0,this.noBubble=this._isNoBubble()},_isNoBubble:function(){var z=this._eventName;return"dxpointerenter"===z||"dxpointerleave"===z},_handler:function(z){var le,Oe=this._getDelegateTarget(z),O={type:this._eventName,pointerType:z.pointerType||(0,T.J6)(z),originalEvent:z,delegateTarget:Oe,timeStamp:W.Z.mozilla?(new Date).getTime():z.timeStamp},l=z.originalEvent;if(null!=l&&null!==(le=l.target)&&void 0!==le&&le.shadowRoot){var G,ye,R=null!==(G=l.path)&&void 0!==G?G:null===(ye=l.composedPath)||void 0===ye?void 0:ye.call(l);O.target=R[0]}return this._fireEvent(O)},_getDelegateTarget:function(z){var le;return this.noBubble&&(le=z.delegateTarget),le},_fireEvent:function(z){return(0,T.BX)(z)},_setSelector:function(z){this._selector=this.noBubble&&z?z.selector:null},_getSelector:function(){return this._selector},setup:function(){return!0},add:function(z,le){if(this._handlerCount<=0||this.noBubble){z=this.noBubble?z:I.Z.getDocument(),this._setSelector(le);var Oe=this;K.Z.on(z,this._originalEvents,this._getSelector(),function(O){Oe._handler(O)})}this.noBubble||this._handlerCount++},remove:function(z){this._setSelector(z),this.noBubble||this._handlerCount--},teardown:function(z){this._handlerCount&&!this.noBubble||(z=this.noBubble?z:I.Z.getDocument(),this._originalEvents!=="."+u&&K.Z.off(z,this._originalEvents,this._getSelector()))},dispose:function(z){z=this.noBubble?z:I.Z.getDocument(),K.Z.off(z,this._originalEvents)}});var U=function(z){var le=[];return(0,i.S6)(z.touches,function(Oe,O){le.push((0,x.l)({pointerId:O.identifier},O))}),{pointers:le,pointerId:z.changedTouches[0].identifier}},Y=function(z){return"ios"===ie.Z.real().platform&&("dxpointerdown"===z||"dxpointerup"===z)},S=F.inherit({ctor:function(){this.callBase.apply(this,arguments),this._pointerId=0},_handler:function(z){if(Y(this._eventName)){var le=z.changedTouches[0];if(this._pointerId===le.identifier&&0!==this._pointerId)return;this._pointerId=le.identifier}return this.callBase.apply(this,arguments)},_fireEvent:function(z){return this.callBase((0,x.l)(U(z.originalEvent),z))}});S.map={dxpointerdown:"touchstart",dxpointermove:"touchmove",dxpointerup:"touchend",dxpointercancel:"touchcancel",dxpointerover:"",dxpointerout:"",dxpointerenter:"",dxpointerleave:""},S.normalize=U;const c=S;var g=a(12395),b=function(z,le){g.Z.add(function(){z.split(" ").forEach(function(Oe){I.Z.listen(I.Z.getDocument(),Oe,le,!0)})})};const N=function(z,le,Oe){Oe=Oe||function(){};var O=[],l=function(ye){var R=-1;
1return(0,i.S6)(O,function(p,y){return!le(ye,y)||(R=p,!1)}),R},G=function(ye){var R=l(ye);R>-1&&O.splice(R,1)};b(z.dxpointerdown,function(ye){-1===l(ye)&&(Oe(ye),O.push(ye))}),b(z.dxpointermove,function(ye){O[l(ye)]=ye}),b(z.dxpointerup,G),b(z.dxpointercancel,G),this.pointers=function(){return O},this.reset=function(){O=[]}};var ne,Z={dxpointerdown:"mousedown",dxpointermove:"mousemove",dxpointerup:"mouseup",dxpointercancel:"",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},V=function(z){return z.pointerId=1,{pointers:ne.pointers(),pointerId:1}},h=!1,E=function(){h||(ne=new N(Z,function(){return!0}),h=!0)},L=F.inherit({ctor:function(){this.callBase.apply(this,arguments),E()},_fireEvent:function(z){return this.callBase((0,x.l)(V(z.originalEvent),z))}});L.map=Z,L.normalize=V,L.activate=E,L.resetObserver=function(){ne.reset()};const M=L;var Q=!1,ae=function(){Q||(M.activate(),Q=!0)},ce=F.inherit({EVENT_LOCK_TIMEOUT:100,ctor:function(){this.callBase.apply(this,arguments),ae()},_handler:function(z){var le=(0,T.N5)(z);if(le||(this._skipNextEvents=!0),!le||!this._mouseLocked){if(le&&this._skipNextEvents){this._skipNextEvents=!1,this._mouseLocked=!0,clearTimeout(this._unlockMouseTimer);var Oe=this;return void(this._unlockMouseTimer=setTimeout(function(){Oe._mouseLocked=!1},this.EVENT_LOCK_TIMEOUT))}return this.callBase(z)}},_fireEvent:function(z){var le=(0,T.N5)(z.originalEvent)?M.normalize:c.normalize;return this.callBase((0,x.l)(le(z.originalEvent),z))},dispose:function(){this.callBase(),this._skipNextEvents=!1,this._mouseLocked=!1,clearTimeout(this._unlockMouseTimer)}});ce.map={dxpointerdown:"touchstart mousedown",dxpointermove:"touchmove mousemove",dxpointerup:"touchend mouseup",dxpointercancel:"touchcancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},ce.resetObserver=M.resetObserver;const Me=ce;var Se=((z,le)=>{var{tablet:Oe,phone:O}=le;return!z.touch||Oe||O?z.touch?c:M:Me})(n,ie.Z.real());(0,i.S6)(Se.map,(z,le)=>{(0,A.Z)(z,new Se(z,le))});const J={down:"dxpointerdown",up:"dxpointerup",move:"dxpointermove",cancel:"dxpointercancel",enter:"dxpointerenter",leave:"dxpointerleave",over:"dxpointerover",out:"dxpointerout"}},79890:(Je,Ae,a)=>{a.d(Ae,{x:()=>x});var n=a(83520),i=a(29694),ie=a(24705),A=a(3053),x="dxremove",K="dxRemoveEvent";(0,i.WD)(function(W){W=[].slice.call(W);for(var I=0;I<W.length;I++){var H=(0,n.Z)(W[I]);H.prop(K)&&(H[0][K]=null,ie.Z.triggerHandler(H,x))}}),(0,A.Z)(x,{noBubble:!0,setup:function(W){(0,n.Z)(W).prop(K,!0)}})},93802:(Je,Ae,a)=>{a.d(Ae,{Mr:()=>I,SI:()=>W,T_:()=>T,V4:()=>d,WD:()=>H,bB:()=>K,dG:()=>Y,wt:()=>u});var n=a(24705),i=a(3987),ie=a(16129);function A(S,c){return c?(0,ie.V4)(S,c):S}function x(S,c){return"function"==typeof S?S(c):S.execute(c)}var K={on:(S,c,g,b)=>{var{selector:ue,showTimeout:N,hideTimeout:Z,namespace:V}=b;n.Z.on(S,A("dxactive",V),ue,{timeout:N},ne=>x(c,{event:ne,element:ne.currentTarget})),n.Z.on(S,A("dxinactive",V),ue,{timeout:Z},ne=>x(g,{event:ne,element:ne.currentTarget}))},off:(S,c)=>{var{namespace:g,selector:b}=c;n.Z.off(S,A("dxactive",g),b),n.Z.off(S,A("dxinactive",g),b)}},W={on:function(S,c){var{namespace:g}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.Z.on(S,A("dxresize",g),c)},off:function(S){var{namespace:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.Z.off(S,A("dxresize",c))}},I={on:(S,c,g,b)=>{var{selector:ue,namespace:N}=b;n.Z.on(S,A("dxhoverend",N),ue,Z=>g(Z)),n.Z.on(S,A("dxhoverstart",N),ue,Z=>x(c,{element:Z.target,event:Z}))},off:(S,c)=>{var{selector:g,namespace:b}=c;n.Z.off(S,A("dxhoverstart",b),g),n.Z.off(S,A("dxhoverend",b),g)}},H={on:(S,c,g,b)=>{var{namespace:ue}=b;n.Z.on(S,A("dxhiding",ue),g),n.Z.on(S,A("dxshown",ue),c)},off:(S,c)=>{var{namespace:g}=c;n.Z.off(S,A("dxhiding",g)),n.Z.off(S,A("dxshown",g))}},T={on:(S,c,g,b)=>{var{namespace:ue}=b;n.Z.on(S,A("focusin",ue),c),n.Z.on(S,A("focusout",ue),g)},off:(S,c)=>{var{namespace:g}=c;n.Z.off(S,A("focusin",g)),n.Z.off(S,A("focusout",g))},trigger:S=>
1n.Z.trigger(S,"focus")},u={on:function(S,c){var{namespace:g}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.Z.on(S,A("dxclick",g),c)},off:function(S){var{namespace:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.Z.off(S,A("dxclick",c))}},d={on:function(S,c){var{namespace:g}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.Z.on(S,A("click",g),c)},off:function(S){var{namespace:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.Z.off(S,A("click",c))}},F=0,q={},Y={on:(S,c,g)=>{var b="keyboardProcessorId".concat(F++);return q[b]=new i.Z({element:S,focusTarget:c,handler:g}),b},off:S=>{S&&q[S]&&(q[S].dispose(),delete q[S])},_getProcessor:S=>q[S]}},74589:(Je,Ae,a)=>{a.d(Ae,{BL:()=>x,aq:()=>K,ut:()=>W});var n=a(21374),i=a(16129),ie=a(80707),A=a(30297),x="dxswipestart",K="dxswipe",W="dxswipeend",T={horizontal:{defaultItemSizeFunc:function(){return(0,n.dz)(this.getElement())},getBounds:function(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio:function(d){return((0,i.a0)(d).x-(this._savedEventData&&this._savedEventData.x||0))/this._itemSizeFunc().call(this,d)},isFastSwipe:function(d){var F=(0,i.a0)(d);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(F.x-this._tickData.x)>=F.time-this._tickData.time}},vertical:{defaultItemSizeFunc:function(){return(0,n.Cr)(this.getElement())},getBounds:function(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio:function(d){return((0,i.a0)(d).y-(this._savedEventData&&this._savedEventData.y||0))/this._itemSizeFunc().call(this,d)},isFastSwipe:function(d){var F=(0,i.a0)(d);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(F.y-this._tickData.y)>=F.time-this._tickData.time}}},u=ie.Z.inherit({TICK_INTERVAL:300,FAST_SWIPE_SPEED_LIMIT:10,ctor:function(d){this.callBase(d),this.direction="horizontal",this.elastic=!0},_getStrategy:function(){return T[this.direction]},_defaultItemSizeFunc:function(){return this._getStrategy().defaultItemSizeFunc.call(this)},_itemSizeFunc:function(){return this.itemSizeFunc||this._defaultItemSizeFunc},_init:function(d){this._tickData=(0,i.a0)(d)},_start:function(d){this._savedEventData=(0,i.a0)(d),(d=this._fireEvent(x,d)).cancel||(this._maxLeftOffset=d.maxLeftOffset,this._maxRightOffset=d.maxRightOffset,this._maxTopOffset=d.maxTopOffset,this._maxBottomOffset=d.maxBottomOffset)},_move:function(d){var F=this._getStrategy(),q=(0,i.a0)(d),U=F.calcOffsetRatio.call(this,d);U=this._fitOffset(U,this.elastic),q.time-this._tickData.time>this.TICK_INTERVAL&&(this._tickData=q),this._fireEvent(K,d,{offset:U}),!1!==d.cancelable&&d.preventDefault()},_end:function(d){var F=this._getStrategy(),q=F.calcOffsetRatio.call(this,d),U=F.isFastSwipe.call(this,d),Y=q,S=this._calcTargetOffset(q,U);Y=this._fitOffset(Y,this.elastic),S=this._fitOffset(S,!1),this._fireEvent(W,d,{offset:Y,targetOffset:S})},_fitOffset:function(d,F){var U=this._getStrategy().getBounds.call(this);return d<-U[0]?F?(-2*U[0]+d)/3:-U[0]:d>U[1]?F?(2*U[1]+d)/3:U[1]:d},_calcTargetOffset:function(d,F){var q;return F?(q=Math.ceil(Math.abs(d)),d<0&&(q=-q)):q=Math.round(d),q}});(0,A.Z)({emitter:u,events:[x,K,W]})},16129:(Je,Ae,a)=>{a.d(Ae,{V4:()=>Se,yM:()=>ae,a0:()=>V,hM:()=>ne,J6:()=>S,BX:()=>ce,qK:()=>pe,G7:()=>h,j1:()=>Ce,pR:()=>b,N5:()=>g,z6:()=>ue,r1:()=>w,EV:()=>Me});var n=a(83520),i=a(47484),ie=(J,z)=>{if(!z)throw i.Z.Error("E0017");return Array.isArray(J)?J.map(le=>ie(le,z)).join(" "):-1!==J.indexOf(" ")?ie(J.split(/\s+/g),z):"".concat(J,".").concat(z)};const A=ie;var x=a(24705),K=a(91553),W=a(83684),I=a(48360),H={backspace:"backspace",tab:"tab",enter:"enter",escape:"escape",pageup:"pageUp",pagedown:"pageDown",end:"end",home:"home",arrowleft:"leftArrow",arrowup:"upArrow",arrowright:"rightArrow",arrowdown:"downArrow",delete:"del"," ":"space",f:"F",a:"A","*":"asterisk","-":"minus",alt:"alt",control:"control",shift:"shift"},T={8:"backspace",9:"tab",13:"enter",27:"escape",33:"pageUp",34:"pageDown",35:"end",36:"home",37:"leftArrow",38:"upArrow",39:"rightArrow",40:"downArrow",46:"del",32:"space",70:"F",65:"A",106:"asterisk",109:"minus",189:"minus",173:"minus",16:"shift",17:"control",18:"alt"},u={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i},q=J=>"dx"===S(J),Y=J=>"touch"===S(J),S=J=>{var{type:z}=J,le="other";return(0,K.S6)(u,function(Oe){if(this.test(z))return le=Oe,!1}),le},c=J=>"pointer"===S(J),g=J=>(J=>
1"mouse"===S(J))(J)||(c(J)||q(J))&&"mouse"===J.pointerType,b=J=>J&&"dxmousewheel"===J.type,ue=J=>Y(J)||(c(J)||q(J))&&"touch"===J.pointerType,V=J=>{var{pageX:z,pageY:le,timeStamp:Oe}=J;return{x:z,y:le,time:Oe}},ne=(J,z)=>({x:z.x-J.x,y:z.y-J.y,time:z.time-J.time||1}),h=J=>{var{originalEvent:z,pointers:le}=J;return Y(J)?(z.touches||[]).length:q(J)?(le||[]).length:0},w=J=>{var{target:z}=J,le=(0,n.Z)(z),Oe=z?.isContentEditable||z?.hasAttribute("contenteditable"),O=le.is("input, textarea, select")||Oe;return b(J)?!(le.is("textarea")&&le.hasClass("dx-texteditor-input")||Oe)&&le.is("input[type='number'], textarea, select")&&le.is(":focus"):g(J)?O||J.which>1:ue(J)?O&&(0,I.si)(le):void 0},ae=(J,z)=>{var le=(J=>x.Z.Event(J,J))(J);return z&&(0,W.l)(le,z),le},ce=J=>{var{originalEvent:z,delegateTarget:le}=J,Oe=ae(z,J);return x.Z.trigger(le||Oe.target,Oe),Oe},Me=J=>{var{key:z,which:le}=J,Oe=H[z?.toLowerCase()]||z,O=T[le];return O&&Oe===z?O:!Oe&&le?String.fromCharCode(le):Oe},pe=J=>{var{key:z,which:le}=J;return z||String.fromCharCode(le)},Se=A,Ce=J=>{var{ctrlKey:z,metaKey:le}=J;return z||le}},71128:(Je,Ae,a)=>{a.d(Ae,{Ly:()=>x,U_:()=>K,Uo:()=>A});var n=a(83520),i=a(24705),ie=function(W){return function(I){for(var H=(0,n.Z)(I||"body"),T=H.filter(".dx-visibility-change-handler").add(H.find(".dx-visibility-change-handler")),u=0;u<T.length;u++)i.Z.triggerHandler(T[u],W)}},A=ie("dxshown"),x=ie("dxhiding"),K=ie("dxresize")},36948:(Je,Ae,a)=>{a.d(Ae,{Z:()=>K});var n=a(3568);const i={"en-150":"en-001","en-AG":"en-001","en-AI":"en-001","en-AU":"en-001","en-BB":"en-001","en-BM":"en-001","en-BS":"en-001","en-BW":"en-001","en-BZ":"en-001","en-CC":"en-001","en-CK":"en-001","en-CM":"en-001","en-CX":"en-001","en-CY":"en-001","en-DG":"en-001","en-DM":"en-001","en-ER":"en-001","en-FJ":"en-001","en-FK":"en-001","en-FM":"en-001","en-GB":"en-001","en-GD":"en-001","en-GG":"en-001","en-GH":"en-001","en-GI":"en-001","en-GM":"en-001","en-GY":"en-001","en-HK":"en-001","en-IE":"en-001","en-IL":"en-001","en-IM":"en-001","en-IN":"en-001","en-IO":"en-001","en-JE":"en-001","en-JM":"en-001","en-KE":"en-001","en-KI":"en-001","en-KN":"en-001","en-KY":"en-001","en-LC":"en-001","en-LR":"en-001","en-LS":"en-001","en-MG":"en-001","en-MO":"en-001","en-MS":"en-001","en-MT":"en-001","en-MU":"en-001","en-MV":"en-001","en-MW":"en-001","en-MY":"en-001","en-NA":"en-001","en-NF":"en-001","en-NG":"en-001","en-NR":"en-001","en-NU":"en-001","en-NZ":"en-001","en-PG":"en-001","en-PK":"en-001","en-PN":"en-001","en-PW":"en-001","en-RW":"en-001","en-SB":"en-001","en-SC":"en-001","en-SD":"en-001","en-SG":"en-001","en-SH":"en-001","en-SL":"en-001","en-SS":"en-001","en-SX":"en-001","en-SZ":"en-001","en-TC":"en-001","en-TK":"en-001","en-TO":"en-001","en-TT":"en-001","en-TV":"en-001","en-TZ":"en-001","en-UG":"en-001","en-VC":"en-001","en-VG":"en-001","en-VU":"en-001","en-WS":"en-001","en-ZA":"en-001","en-ZM":"en-001","en-ZW":"en-001","en-AT":"en-150","en-BE":"en-150","en-CH":"en-150","en-DE":"en-150","en-DK":"en-150","en-FI":"en-150","en-NL":"en-150","en-SE":"en-150","en-SI":"en-150","hi-Latn":"en-IN","es-AR":"es-419","es-BO":"es-419","es-BR":"es-419","es-BZ":"es-419","es-CL":"es-419","es-CO":"es-419","es-CR":"es-419","es-CU":"es-419","es-DO":"es-419","es-EC":"es-419","es-GT":"es-419","es-HN":"es-419","es-MX":"es-419","es-NI":"es-419","es-PA":"es-419","es-PE":"es-419","es-PR":"es-419","es-PY":"es-419","es-SV":"es-419","es-US":"es-419","es-UY":"es-419","es-VE":"es-419",nb:"no",nn:"no","pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT","az-Arab":"und","az-Cyrl":"und","bal-Latn":"und","blt-Latn":"und","bm-Nkoo":"und","bs-Cyrl":"und","byn-Latn":"und","cu-Glag":"und","dje-Arab":"und","dyo-Arab":"und","en-Dsrt":"und","en-Shaw":"und","ff-Adlm":"und","ff-Arab":"und","ha-Arab":"und","iu-Latn":"und","kk-Arab":"und","ks-Deva":"und","ku-Arab":"und","ky-Arab":"und","ky-Latn":"und","ml-Arab":"und","mn-Mong":"und","mni-Mtei":"und","ms-Arab":"und","pa-Arab":"und","sat-Deva":"und","sd-Deva":"und","sd-Khoj":"und","sd-Sind":"und","shi-Latn":"und","so-Arab":"und","sr-Latn":"und","sw-Arab":"und","tg-Arab":"und","ug-Cyrl":"und","uz-Arab":"und","uz-Cyrl":"und","vai-Latn":"und","wo-Arab":"und","yo-Arab":"und","yue-Hans":"und","zh-Hant":"und","zh-Hant-MO":"zh-Hant-HK"},A=(W,I)=>{var H=W[I];return H?"root"!==H&&H:I.substr(0,I.lastIndexOf("-"))};var x="en";const K=(0,n.Z)({locale:(W=x,I=>{if(!I)return W;W=I}),getValueByClosestLocale:function(W){for(var T,I=this.locale(),H=W(I);!H&&!T;)(I=A(i,I))?H=W(I):T=!0;return void 0===H&&I!==x?W(x):H}});var W},56821:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Me});var n=a(3568),i=a(64596),ie=a(91553),A=a(47484),x=a(64471),K=a(84904),W=a(34594),I=a(76601);const H={"af-NA":1,agq:1,ak:1,ar:6,"ar-EH":1,"ar-ER":1,"ar-KM":1,"ar-LB":1,"ar-MA":1,"ar-MR":1,"ar-PS":1,"ar-SO":1,"ar-SS":1,"ar-TD":1,"ar-TN":1,asa:1,ast:1,az:1,"az-Cyrl":1,bas:1,be:1,bem:1,bez:1,bg:1,bm:1,br:1,bs:1,"bs-Cyrl":1,ca:1,ce:1,cgg:1,ckb:6,cs:1,cy:1,da:1,de:1,dje:1,dsb:1,dua:1,dyo:1,ee:1,el:1,"en-001":1,"en-AE":6,"en-BI":1,"en-MP":1,"en-MV":5,"en-SD":6,eo:1,es:1,et:1,eu:1,ewo:1,fa:6,ff:1,"ff-Adlm":1,fi:1,fo:1,fr:1,"fr-DJ":6,"fr-DZ":6,"fr-SY":6,fur:1,fy:1,ga:1,gd:1,gl:1,gsw:1,gv:1,ha:1,hr:1,hsb:1,hu:1,hy:1,ia:1,ig:1,is:1,it:1,jgo:1,jmc:1,ka:1,kab:6,kde:1,kea:1,khq:1,kk:1,kkj:1,kl:1,"ko-KP":1,ksb:1,ksf:1,ksh:1,ku:1,kw:1,ky:1,lag:1,lb:1,lg:1,ln:1,lrc:6,lt:1,lu:1,lv:1,"mas-TZ":1,mfe:1,mg:1,mgo:1,mi:1,mk:1,mn:1,ms:1,mua:1,mzn:6,naq:1,nds:1,nl:1,nmg:1,nnh:1,no:1,nus:1,nyn:1,os:1,pcm:1,pl:1,ps:6,"pt-AO":1,"pt-CH":1,"pt-CV":1,"pt-GQ":1,"pt-GW":1,"pt-LU":1,"pt-ST":1,"pt-TL":1,"qu-BO":1,"qu-EC":1,rm:1,rn:1,ro:1,rof:1,ru:1,rw:1,rwk:1,sah:1,sbp:1,sc:1,se:1,ses:1,sg:1,shi:1,"shi-Latn":1,si:1,sk:1,sl:1,smn:1,so:1,"so-DJ":6,sq:1,sr:1,"sr-Latn":1,sv:1,sw:1,"ta-LK":1,"ta-MY":1,teo:1,tg:1,"ti-ER":1,tk:1,to:1,tr:1,tt:1,twq:1,tzm:1,uk:1,uz:1,"uz-Arab":6,"uz-Cyrl":1,vai:1,"vai-Latn":1,vi:1,vun:1,wae:1,wo:1,xog:1,yav:1,yi:1,yo:1,zgh:1};var T=a(36948),u=a(29147),d=a(83684),F=/[\u200E\u200F]/g,q=/[\u202F]/g,U=pe=>Se=>{if(!pe.timeZoneName){var Ce=Se.getFullYear(),J=String(Ce).length<3,le=new Date(Date.UTC(J?Ce+400:Ce,Se.getMonth(),Se.getDate(),Se.getHours(),Se.getMinutes(),Se.getSeconds(),Se.getMilliseconds()));return J&&le.setFullYear(Ce),c(le,(0,d.l)({timeZone:"UTC"},pe))}return c(Se,pe)},Y={},S=pe=>{var Se=T.Z.locale()+"/"+JSON.stringify(pe);return Y[Se]||(Y[Se]=new Intl.DateTimeFormat(T.Z.locale(),pe).format),Y[Se]};function c(pe,Se){return S(Se)(pe).replace(F,"").replace(q," ")}var pe,g=pe=>new Intl.NumberFormat(T.Z.locale()).format(pe),b=(pe={},Se=>
1{if(!(Se in pe)){if("0"===g(0))return pe[Se]=!1,!1;pe[Se]={};for(var Ce=0;Ce<10;++Ce)pe[Se][g(Ce)]=Ce}return pe[Se]}),ue=pe=>{var Se=b(T.Z.locale());return Se?pe.split("").map(Ce=>Ce in Se?String(Se[Ce]):Ce).join(""):pe},N=pe=>pe.replace(/(\D)0+(\d)/g,"$1$2"),V=pe=>pe.replace("d\u2019","de "),ne={day:{day:"numeric"},dayofweek:{weekday:"long"},longdate:{weekday:"long",year:"numeric",month:"long",day:"numeric"},longdatelongtime:{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},longtime:{hour:"numeric",minute:"numeric",second:"numeric"},month:{month:"long"},monthandday:{month:"long",day:"numeric"},monthandyear:{year:"numeric",month:"long"},shortdate:{},shorttime:{hour:"numeric",minute:"numeric"},shortyear:{year:"2-digit"},year:{year:"numeric"}};Object.defineProperty(ne,"shortdateshorttime",{get:function(){var pe=Intl.DateTimeFormat(T.Z.locale()).resolvedOptions();return{year:pe.year,month:pe.month,day:pe.day,hour:"numeric",minute:"numeric"}}});var h=pe=>"string"==typeof pe&&ne[pe.toLowerCase()],E={standalone:function(pe,Se){var Ce=new Date(1999,pe,13,1);return U({month:Se})(Ce)},format:function(pe,Se){var Ce=new Date(0,pe,13,1),z=V(U({day:"numeric",month:Se})(Ce)).split(" ").filter(le=>le.indexOf("13")<0);return 1===z.length?z[0]:2===z.length?z[0].length>z[1].length?z[0]:z[1]:E.standalone(pe,Se)}};const L={engine:function(){return"intl"},getMonthNames:function(pe,Se){var Ce={wide:"long",abbreviated:"short",narrow:"narrow"}[pe||"wide"];return Se="format"===Se?Se:"standalone",Array.apply(null,new Array(12)).map((J,z)=>E[Se](z,Ce))},getDayNames:function(pe){var Ce;return Ce={wide:"long",abbreviated:"short",short:"narrow",narrow:"narrow"}[pe||"wide"],Array.apply(null,new Array(7)).map((J,z)=>U({weekday:Ce})(new Date(0,0,z)))},getPeriodNames:function(){var pe=U({hour:"numeric",hour12:!0});return[1,13].map(Se=>{var Ce=g(1),J=pe(new Date(0,0,1,Se)).split(Ce);return 2!==J.length?"":(J[0].length>J[1].length?J[0]:J[1]).trim()})},format:function(pe,Se){if(pe){if(!Se)return pe;"function"!=typeof Se&&!Se.formatter&&(Se=Se.type||Se);var Ce=h(Se);if(Ce)return U(Ce)(pe);var J=typeof Se;return Se.formatter||"function"===J||"string"===J?this.callBase.apply(this,arguments):U(Se)(pe)}},parse:function(pe,Se){var Ce;return Se&&!Se.parser&&"string"==typeof pe&&(pe=V(pe),Ce=J=>V(this.format(J,Se))),this.callBase(pe,Ce||Se)},_parseDateBySimpleFormat:function(pe,Se){pe=ue(pe);var Ce=this.getFormatParts(Se),J=pe.split(/\D+/).filter(Oe=>Oe.length>0);if(Ce.length===J.length){var z=this._generateDateArgs(Ce,J),le=Oe=>{var l,O=(l=z,new Date(l.year,l.month,l.day,(l.hours+(Oe?12:0))%24,l.minutes,l.seconds));if(((pe,Se)=>N(pe)===N(Se))(ue(this.format(O,Se)),pe))return O};return le(!1)||le(!0)}},_generateDateArgs:function(pe,Se){var Ce=new Date,J={year:Ce.getFullYear(),month:Ce.getMonth(),day:Ce.getDate(),hours:0,minutes:0,seconds:0};return pe.forEach((z,le)=>{var O=parseInt(Se[le],10);"month"===z&&(O-=1),J[z]=O}),J},formatUsesMonthName:function(pe){return"object"!=typeof pe||pe.type||pe.format?this.callBase.apply(this,arguments):"long"===pe.month},formatUsesDayName:function(pe){return"object"!=typeof pe||pe.type||pe.format?this.callBase.apply(this,arguments):"long"===pe.weekday}
1,getTimeSeparator:function(){return ue(c(new Date(2001,1,1,11,11),{hour:"numeric",minute:"numeric",hour12:!1})).replace(/\d/g,"")},getFormatParts:function(pe){if("string"==typeof pe)return this.callBase(pe);var Se=(0,d.l)({},ne[pe.toLowerCase()]),Ce=new Date(2001,2,4,5,6,7),J=U(Se)(Ce);return J=ue(J),[{name:"year",value:1},{name:"month",value:3},{name:"day",value:4},{name:"hours",value:5},{name:"minutes",value:6},{name:"seconds",value:7}].map(z=>({name:z.name,index:J.indexOf(z.value)})).filter(z=>z.index>-1).sort((z,le)=>z.index-le.index).map(z=>z.name)}};var w=typeof Intl<"u",Q={shortdate:"M/d/y",shorttime:"h:mm a",longdate:"EEEE, MMMM d, y",longtime:"h:mm:ss a",monthandday:"MMMM d",monthandyear:"MMMM y",quarterandyear:"QQQ y",day:"d",year:"y",shortdateshorttime:"M/d/y, h:mm a",longdatelongtime:"EEEE, MMMM d, y, h:mm:ss a",month:"LLLL",shortyear:"yy",dayofweek:"EEEE",quarter:"QQQ",hour:"HH",minute:"mm",second:"ss",millisecond:"SSS","datetime-local":"yyyy-MM-ddTHH':'mm':'ss"},ae={year:["y","yy","yyyy"],day:["d","dd"],month:["M","MM","MMM","MMMM"],hours:["H","HH","h","hh","ah"],minutes:["m","mm"],seconds:["s","ss"],milliseconds:["S","SS","SSS"]},ce=(0,n.Z)({engine:function(){return"base"},_getPatternByFormat:function(pe){return Q[pe.toLowerCase()]},_expandPattern:function(pe){return this._getPatternByFormat(pe)||pe},formatUsesMonthName:function(pe){return-1!==this._expandPattern(pe).indexOf("MMMM")},formatUsesDayName:function(pe){return-1!==this._expandPattern(pe).indexOf("EEEE")},getFormatParts:function(pe){var Se=this._getPatternByFormat(pe)||pe,Ce=[];return(0,ie.S6)(Se.split(/\W+/),(J,z)=>{(0,ie.S6)(ae,(le,Oe)=>{Oe.includes(z)&&Ce.push(le)})}),Ce},getMonthNames:function(pe){return I.Z.getMonthNames(pe)},getDayNames:function(pe){return I.Z.getDayNames(pe)},getQuarterNames:function(pe){return I.Z.getQuarterNames(pe)},getPeriodNames:function(pe){return I.Z.getPeriodNames(pe)},getTimeSeparator:function(){return":"},is24HourFormat:function(pe){for(var Se=new Date(2017,0,20,11,0,0,0),Ce=new Date(2017,0,20,23,0,0,0),J=this.format(Se,pe),z=this.format(Ce,pe),le=0;le<J.length;le++)if(J[le]!==z[le])return!isNaN(parseInt(J[le]))},format:function(pe,Se){if(pe){if(!Se)return pe;var Ce;if("function"==typeof Se)Ce=Se;else if(Se.formatter)Ce=Se.formatter;else if((0,i.HD)(Se=Se.type||Se))return Se=Q[Se.toLowerCase()]||Se,u.Z.convertDigits((0,x.P)(Se,this)(pe));if(Ce)return Ce(pe)}},parse:function(pe,Se){var J,z,Ce=this;if(pe){if(!Se)return this.parse(pe,"shortdate");if(Se.parser)return Se.parser(pe);if("string"!=typeof Se||Q[Se.toLowerCase()]){z=Oe=>{var O=Ce.format(Oe,Se);return u.Z.convertDigits(O,!0)};try{J=(0,K.y)(z)}catch{}}else J=Se;if(J)return pe=u.Z.convertDigits(pe,!0),(0,W.MT)(J,this)(pe);A.Z.log("W0012");var le=new Date(pe);if(le&&!isNaN(le.getTime()))return le}},firstDayOfWeekIndex:function(){var pe=T.Z.getValueByClosestLocale(Se=>H[Se]);return void 0===pe?0:pe}});w&&ce.inject(L);const Me=ce},76601:(Je,Ae,a)=>{a.d(Ae,{Z:()=>W});var n=a(91553),i=["January","February","March","April","May","June","July","August","September","October","November","December"],ie=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],A=["AM","PM"],x=["Q1","Q2","Q3","Q4"],K=(I,H)=>{var T={abbreviated:3,short:2,narrow:1};return(0,n.UI)(I,u=>u.substr(0,T[H]))};const W={getMonthNames:function(I){return K(i,I)},getDayNames:function(I){return K(ie,I)},getQuarterNames:function(I){return x},getPeriodNames:function(I){return A}}},84904:(Je,Ae,a)=>{a.d(Ae,{y:()=>q});var n=a(29147),ie=" .,:;/\\<>()-[]\u060c",x=function(U){var Y=U&&n.Z.convertDigits(U,!1).charCodeAt(0),S=n.Z.convertDigits("0",!1).charCodeAt(0);return S<=Y&&Y<S+10},K=function(U,Y,S,c){var g=U[S],b=U[S+1];if(!c&&("."===g||" "===g&&". m."===U.slice(S-1,S+3)||"-"===g&&!x(b)))return!0;var ue=c&&Y.some(N=>U[S]!==N[S]);return ie.indexOf(g)<0&&c===x(g)&&(!c||ue)},W=function(U,Y){if(!x(U[Y]))for(;Y>0&&!x(U[Y-1])&&("."===U[Y-1]||ie.indexOf(U[Y-1])<0);)Y--;return Y},u=function(U,Y){return Array.isArray(U)?U.map(function(S){return(Y(S)||"").toString()}):(Y(U)||"").toString()},d=/[a-zA-Z]/g,q=function(U){var Y=[],S=u(new Date(2009,8,8,6,5,4),U),c=S.split("").map(function(N,Z){return Z}),g=S,b={},ue=[{date:new Date(2009,8,8,6,5,4,111),pattern:"S"},{date:new Date(2009,8,8,6,5,2),pattern:"s"},{date:new Date(2009,8,8,6,2,4),pattern:"m"},{date:new Date(2009,8,8,18,5,4),pattern:"H",isDigit:!0},{date:new Date(2009,8,8,2,5,4),pattern:"h",isDigit:!0},{date:new Date(2009,8,8,18,5,4),pattern:"a",isDigit:!1},{date:new Date(2009,8,1,6,5,4),pattern:"d"},{date:[new Date(2009,8,2,6,5,4),new Date(2009,8,3,6,5,4),new Date(2009,8,4,6,5,4)],pattern:"E"},{date:new Date(2009,9,6,6,5,4),pattern:"M"},{date:new Date(1998,8,8,6,5,4),pattern:"y"}];if(g&&(ue.forEach(function(N){var Z=function(U,Y,S,c){var g=0,b=[],ue=function(N){return U[g]!==N[g]&&(void 0===c||x(U[g])===c)};for(Array.isArray(Y)||(Y=[Y]),g=0;g<U.length;g++)if(S.indexOf(g)<0&&Y.filter(ue).length){g=W(U,g);do{if(c=x(U[g]),!b.length&&!c&&x(Y[0][g]))break;b.push(g),S.unshift(g),g++}while(U[g]&&K(U,Y,g,c));break}return 1===b.length&&("0"===U[S[0]-1]||"\u0660"===U[S[0]-1])&&S.unshift(S[0]-1),b}(S,u(N.date,U),Y,N.isDigit),V="M"!==N.pattern||b.d?N.pattern:"L";g=function(U,Y,S,c){var g,b,ue;if(!x(U[Y[0]]||"0")){for(var N=Math.max(Y.length<=3?3:4,S.length);Y.length>N;){for(ue=c[b=Y.pop()],c[b]=-1,g=b+1;g<c.length;g++)c[g]--;U=U.substr(0,ue)+U.substr(ue+1)}for(ue=(b=Y[Y.length-1]+1)<c.length?c[b]:b;Y.length<N;){for(Y.push(Y[Y.length-1]+1),g=b;g<c.length;g++)c[g]++;U=U.substr(0,ue)+" "+U.substr(ue)}}return U=function(U,Y,S,c){var g=Y[0],b=g<c.length?c[g]:g;return Y.forEach(function(ue,N){U=U.substr(0,b+N)+(S.length>1?S[N]:S)+U.substr(b+N+1)}),1===Y.length&&(U=(U=U.replace("0"+S,S+S)).replace("\u0660"+S,S+S)),U}(U,Y,S,c),U}(g,Z,V,c),b[V]=Z.length}),g=function(U,Y,S,c){var g=Y.split("").map(function(b,ue){return S.indexOf(ue)<0&&(b.match(d)||"'"===b)?c[ue]:-1});return U.split("").map(function(b,ue){var N=b,Z=g.indexOf(ue)>=0,V=ue>0&&g.indexOf(ue-1)>=0,ne=g.indexOf(ue+1)>=0;return Z&&(V||(N="'"+N),ne||(N+="'")),N}).join("")}(g,S,Y,c),Y.length))return g}},64471:(Je,Ae,a)=>{function n(x,K){for(;x.length<K;)x="0"+x;return x}a.d(Ae,{P:()=>A});var i={3:"abbreviated",4:"wide",5:"narrow"},ie={y:function(x,K,W){var I=x[W?"getUTCFullYear":"getFullYear"]();return 2===K&&(I%=100),n(I.toString(),K)},M:function(x,K,W,I){var H=x[W?"getUTCMonth":"getMonth"](),T=i[K];return T?I.getMonthNames(T,"format")[H]:n((H+1).toString(),Math.min(K,2))},L:function(x,K,W,I){var H=x[W?"getUTCMonth":"getMonth"](),T=i[K];return T?I.getMonthNames(T,"standalone")[H]:n((H+1).toString(),Math.min(K,2))},Q:function(x,K,W,I){var H=x[W?"getUTCMonth":"getMonth"](),T=Math.floor(H/3),u=i[K];return u?I.getQuarterNames(u)[T]:n((T+1).toString(),Math.min(K,2))},E:function(x,K,W,I){var H=x[W?"getUTCDay":"getDay"]();return I.getDayNames(i[K<3?3:K])[H]},a:function(x,K,W,I){var T=x[W?"getUTCHours":"getHours"]()<12?0:1;return I.getPeriodNames(i[K])[T]},d:function(x,K,W){return n(x[W?"getUTCDate":"getDate"]().toString(),Math.min(K,2))},H:function(x,K,W){return n(x[W?"getUTCHours":"getHours"]().toString(),Math.min(K,2))},h:function(x,K,W){return n((x[W?"getUTCHours":"getHours"]()%12||12).toString(),Math.min(K,2))},m:function(x,K,W){return n(x[W?"getUTCMinutes":"getMinutes"]().toString(),Math.min(K,2))},s:function(x,K,W){return n(x[W?"getUTCSeconds":"getSeconds"]().toString(),Math.min(K,2))},S:function(x,K,W){return n(x[W?"getUTCMilliseconds":"getMilliseconds"]().toString(),3).substr(0,K)},x:function(x,K,W){var I=W?0:x.getTimezoneOffset(),H=I>0?"-":"+",T=Math.abs(I),d=T%60,F=n(Math.floor(T/60).toString(),2),q=n(d.toString(),2);return H+F+(K>=3?":":"")+(K>1||d?q:"")},X:function(x,K,W){return W||!x.getTimezoneOffset()?"Z":ie.x(x,K,W)},Z:function(x,K,W){return ie.X(x,K>=5?3:2,W)}},A=function(x,K){return function(W){var I,H,T,F,u=0,d=!1,q="";if(!W)return null;if(!x)return W;var U="Z"===x[x.length-1]||"'Z'"===x.slice(-3);for(I=0;I<x.length;I++)H=ie[T=x[I]],u++,(F=T===x[I+1])||(H&&!d&&(q+=H(W,u,U,K)),u=0),"'"!==T||F?(d||!H)&&(q+=T):d=!d,"'"===T&&F&&I++;return q}}},34594:(Je,Ae,a)=>{a.d(Ae,{MT:()=>Z,oo:()=>q,xe:()=>S});var n=a(56836),i=a(19107),ie={3:"abbreviated",4:"wide",5:"narrow"},A=function(V,ne){return V>2?Object.keys(ie).map(function(h){return["format","standalone"].map(function(E){return ne.getMonthNames(ie[h],E).join("|")}).join("|")}).join("|"):2===V?"1[012]|0?[1-9]":"0??[1-9]|1[012]"},x={":":function(V,ne){var h=V>1?"{".concat(V,"}"):"",E=(0,n.hr)(ne.getTimeSeparator());return":"!==E&&(E="".concat(E,"|:")),"".concat(E).concat(h)},y:function(V){return 2===V?"[0-9]{".concat(V,"}"):"[0-9]+?"},M:A,L:A,Q:function(V,ne){return V>2?ne.getQuarterNames(ie[V],"format").join("|"):"0?[1-4]"},E:function(V,ne){return"\\D*"},a:function(V,ne){return ne.getPeriodNames(ie[V<3?3:V],"format").join("|")},d:function(V){return 2===V?"3[01]|[12][0-9]|0?[1-9]":"0??[1-9]|[12][0-9]|3[01]"},H:function(V){return 2===V?"2[0-3]|1[0-9]|0?[0-9]":"0??[0-9]|1[0-9]|2[0-3]"},h:function(V){return 2===V?"1[012]|0?[1-9]":"0??[1-9]|1[012]"},m:function(V){return 2===V?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},s:function(V){return 2===V?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},S:function(V){return"[0-9]{1,".concat(V,"}")},w:function(V){return 2===V?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"}},K=Number,W=function(V,ne){return V.map(h=>h.toLowerCase()).indexOf(ne.toLowerCase())},I=function(V,ne,h){return ne>2?["format","standalone"].map(function(E){return Object.keys(ie).map(function(L){var M=h.getMonthNames(ie[L],E);return W(M,V)})}).reduce(function(E,L){return E.concat(L)}).filter(function(E){return E>=0})[0]:K(V)-1},H={y:function(V,ne){var h=K(V);return 2===ne?h<30?2e3+h:1900+h:h},M:I,L:I,Q:function(V,ne,h){return ne>2?h.getQuarterNames(ie[ne],"format").indexOf(V):K(V)-1},E:function(V,ne,h){var E=h.getDayNames(ie[ne<3?3:ne],"format");return W(E,V)},a:function(V,ne,h){var E=h.getPeriodNames(ie[ne<3?3:ne],"format");return W(E,V)},d:K,H:K,h:K,m:K,s:K,S:function(V,ne){for(ne=Math.max(ne,3),V=V.slice(0,3);ne<3;)V+="0",ne++;return K(V)}},T=["y","M","d","h","m","s","S"],u={y:"setFullYear",M:"setMonth",L:"setMonth",a:function(V,ne,h){var E=V.getHours(),L=h.h;void 0!==L&&L!==E&&E--,ne||12!==E?ne&&12!==E&&(E+=12):E=0,V.setHours(E)},d:"setDate",H:"setHours",h:"setHours",m:"setMinutes",s:"setSeconds",S:"setMilliseconds"},d=function(V,ne){var h=V[ne];
1if(!h)return 0;var E=0;do{ne++,E++}while(V[ne]===h);return E},F=function(V,ne){for(var h="",E=0;E<ne;E++)h+=V;return h},q=function(V,ne){for(var L,h="",E="",M=[],w=function(){E&&(M.push("'".concat(E,"'")),h+="".concat((0,n.hr)(E),")"),E="")},Q=0;Q<V.length;Q++){var ae=V[Q],Me=x[ae];if("'"!==ae||(L=!L,"'"===V[Q-1]))if(Me&&!L){var pe=d(V,Q),Se=F(ae,pe);w(),M.push(Se),h+="(".concat(Me(pe,ne),")"),Q+=pe-1}else E||(h+="("),E+=ae}return w(),Y(M)||i.k.warn("The following format may be parsed incorrectly: ".concat(V,".")),{patterns:M,regexp:new RegExp("^".concat(h,"$"),"i")}},U=["d","H","h","m","s","w","M","L","Q"],Y=function(V){var ne=L=>{if(!L)return!1;var M=L[0];return["y","S"].includes(M)||U.includes(M)&&L.length<3},h=!0,E=0;return V.every((L,M,w)=>{return ne(L)&&("S"!==(Q=L)[0]&&2!==Q.length&&(h=++E<2),ne(w[M+1])||(E=0)),h;var Q})},S=function(){return u},Z=function(V,ne){var h=q(V,ne);return function(E){var L=h.regexp.exec(E);if(L){var M=new Date,w=new Date(M.getFullYear(),0,1),Q=function(V){return V.map(function(ne){return"'"===ne[0]?"":"H"===ne[0]?"h":ne[0]})}(h.patterns),ae=function(V){var ne=V.map(function(h){return T.indexOf(h)});return Math.max.apply(Math,ne)}(Q),ce=function(V){var ne=V.filter(function(h){return T.indexOf(h)<0});return T.concat(ne)}(Q),Me={};return ce.forEach(function(pe,Se){if(pe&&!(Se<T.length&&Se>ae)){var Ce=Q.indexOf(pe);Ce>=0?function(V,ne,h,E,L){var M=ne[0],w=u[M],Q=H[M];if(w&&Q){var ae=Q(h,ne.length,E);L[ne]=ae,V[w]?V[w](ae):w(V,ae,L)}}(w,h.patterns[Ce],L[Ce+1],ne,Me):function(V,ne,h){var E=u[ne],M=h["g"+E.substr(1)]();V[E](M)}(w,pe,M)}}),w}return null}}},87242:(Je,Ae,a)=>{a.d(Ae,{P:()=>c,y:()=>N});var n=a(92657),i=a(1017),ie={thousandsSeparator:",",decimalSeparator:"."},A="'",x=15,K=2;function H(Z){return Z.toString().split("").reverse().join("")}function u(Z){return Z.replace(/'.+'/g,"")}function d(Z){if(!Z)return 0;var V=u(Z);return V.length-V.replace(/[#]/g,"").length}function F(Z){if(!Z)return 0;var V=u(Z);return V.length-V.replace(/[0]/g,"").length}function q(Z,V,ne){if(!Z)return"";for(Z.length>ne&&(Z=Z.substr(0,ne));Z.length>V&&"0"===Z.slice(-1);)Z=Z.substr(0,Z.length-1);for(;Z.length<V;)Z+="0";return Z}function Y(Z,V){return Z.split(A).map(function(ne,h){var E=h%2;return!ne&&E?A:E?ne:ne.replace(/[,#0]+/,V)}).join("")}function c(Z,V){return V=V||ie,function(ne){if("number"!=typeof ne||isNaN(ne))return"";var h=function I(Z){var V=Z.split(";");return 1===V.length&&V.push("-"+V[0]),V}(Z),L=ne>0||1/ne==1/0,M=h[L?0:1],w=function S(Z){for(var V=!1,ne=0;ne<Z.length;ne++)if("'"===Z[ne]&&(V=!V),"."===Z[ne]&&!V)return ne;return Z.length}(M),Q=[M.substr(0,w),M.substr(w+1)],ae=F(Q[1]),ce=ae+d(Q[1]);(function T(Z){return-1!==Z.indexOf("%")&&!Z.match(/'[^']*%[^']*'/g)})(M)&&(ne=(0,n.Ow)(ne,K)),L||(ne=-ne);var Me=F(Q[0]),pe=d(Q[0])||V.unlimitedIntegerDigits?void 0:Me,Se=Math.floor(ne).toString().length,Ce=(0,n.n$)(ce,0,x-Se),J=function W(Z){return Z.split(",").slice(1).map(function(V){var ne=0;return V.split("").filter(function(h,E){return ne+="'"===h,!("#"!==h&&"0"!==h||ne%2)}).length})}(Q[0]).reverse(),z=(0,i.F)(ne,Ce<0?0:Ce).split("."),le=q(H(z[0]),Me,pe),Oe=q(z[1],ae,ce);le=function U(Z,V,ne){if(!V.length)return Z;for(var h=[],E=0;Z;){var L=V[E];if(!L)break;h.push(Z.slice(0,L)),Z=Z.slice(L),E<V.length-1&&E++}return h.join(ne)}(le,J,V.thousandsSeparator);var O=H(Y(H(Q[0]),le)),l=ce?Y(Q[1],Oe):"";return O+(l.match(/\d/)?V.decimalSeparator:"")+l}}function g(Z,V,ne){var h=(V?.01:1)*parseFloat(Z)||0;return ne?-h:h}function b(Z,V,ne,h){var L,M,w,E=Z;do{w&&(L=M.length===w.length?"0":"1",Z=h?L+Z:Z+L),M=w||V(g(E,ne)),w=V(g(E=h?"1"+E:E+"1",ne))}while(M!==w&&(h?M.length===w.length:M.length<=w.length));if(h&&w.length>M.length){var Q=-1===V(12345).indexOf("12345");do{Z="1"+Z}while(Q&&g(Z,ne)<1e5)}return Z}function ue(Z,V,ne,h){var E=V(g(Z,ne,h)),L=Z.split("."),Q=V(g(L[0]+".3"+L[1].slice(1),ne,h)).indexOf("3")-1;return E=E.replace(/(\d)\D(\d)/g,"$1,$2"),Q>=0&&(E=E.slice(0,Q)+"."+E.slice(Q+1)),E=E.replace(/1+/,"1").replace(/1/g,"#"),ne||(E=E.replace(/%/g,"'%'")),E}function N(Z){var V=".",ne=Z(1).indexOf("100")>=0;V=b(V,Z,ne,!0);var h=ue(V=b(V,Z,ne,!1),Z,ne,!1),E=ue(V,Z,ne,!0);return E==="-"+h?h:h+";"+E}},40911:(Je,Ae,a)=>{a.d(Ae,{Z:()=>u});var n=a(3568),i=a(83684),ie=a(83626),A=a(68262),x=a(36948),W=(0,i.l)(!0,{},{en:{Yes:"Yes",No:"No",Cancel:"Cancel",Close:"Close",Clear:"Clear",Done:"Done",Loading:"Loading...",Select:"Select...",Search:"Search",Back:"Back",OK:"OK","dxCollectionWidget-noDataText":"No data to display","dxDropDownEditor-selectLabel":"Select","validation-required":"Required","validation-required-formatted":"{0} is required","validation-numeric":"Value must be a number","validation-numeric-formatted":"{0} must be a number","validation-range":"Value is out of range","validation-range-formatted":"{0} is out of range","validation-stringLength":"The length of the value is not correct","validation-stringLength-formatted":"The length of {0}
1 is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0} is invalid","validation-async":"Value is invalid","validation-async-formatted":"{0} is invalid","validation-compare":"Values do not match","validation-compare-formatted":"{0} does not match","validation-pattern":"Value does not match pattern","validation-pattern-formatted":"{0} does not match pattern","validation-email":"Email is invalid","validation-email-formatted":"{0} is invalid","validation-mask":"Value is invalid","dxLookup-searchPlaceholder":"Minimum character number: {0}","dxList-pullingDownText":"Pull down to refresh...","dxList-pulledDownText":"Release to refresh...","dxList-refreshingText":"Refreshing...","dxList-pageLoadingText":"Loading...","dxList-nextButtonText":"More","dxList-selectAll":"Select All","dxListEditDecorator-delete":"Delete","dxListEditDecorator-more":"More","dxScrollView-pullingDownText":"Pull down to refresh...","dxScrollView-pulledDownText":"Release to refresh...","dxScrollView-refreshingText":"Refreshing...","dxScrollView-reachBottomText":"Loading...","dxDateBox-simulatedDataPickerTitleTime":"Select time","dxDateBox-simulatedDataPickerTitleDate":"Select date","dxDateBox-simulatedDataPickerTitleDateTime":"Select date and time","dxDateBox-validation-datetime":"Value must be a date or time","dxFileUploader-selectFile":"Select a file","dxFileUploader-dropFile":"or Drop a file here","dxFileUploader-bytes":"bytes","dxFileUploader-kb":"KB","dxFileUploader-Mb":"MB","dxFileUploader-Gb":"GB","dxFileUploader-upload":"Upload","dxFileUploader-uploaded":"Uploaded","dxFileUploader-readyToUpload":"Ready to upload","dxFileUploader-uploadAbortedMessage":"Upload cancelled","dxFileUploader-uploadFailedMessage":"Upload failed","dxFileUploader-invalidFileExtension":"File type is not allowed","dxFileUploader-invalidMaxFileSize":"File is too large","dxFileUploader-invalidMinFileSize":"File is too small","dxRangeSlider-ariaFrom":"From","dxRangeSlider-ariaTill":"Till","dxSwitch-switchedOnText":"ON","dxSwitch-switchedOffText":"OFF","dxForm-optionalMark":"optional","dxForm-requiredMessage":"{0} is required","dxNumberBox-invalidValueMessage":"Value must be a number","dxNumberBox-noDataText":"No data","dxDataGrid-columnChooserTitle":"Column Chooser","dxDataGrid-columnChooserEmptyText":"Drag a column here to hide it","dxDataGrid-groupContinuesMessage":"Continues on the next page","dxDataGrid-groupContinuedMessage":"Continued from the previous page","dxDataGrid-groupHeaderText":"Group by This Column","dxDataGrid-ungroupHeaderText":"Ungroup","dxDataGrid-ungroupAllText":"Ungroup All","dxDataGrid-editingEditRow":"Edit","dxDataGrid-editingSaveRowChanges":"Save","dxDataGrid-editingCancelRowChanges":"Cancel","dxDataGrid-editingDeleteRow":"Delete","dxDataGrid-editingUndeleteRow":"Undelete","dxDataGrid-editingConfirmDeleteMessage":"Are you sure you want to delete this record?","dxDataGrid-validationCancelChanges":"Cancel changes","dxDataGrid-groupPanelEmptyText":"Drag a column header here to group by that column","dxDataGrid-noDataText":"No data","dxDataGrid-searchPanelPlaceholder":"Search...","dxDataGrid-filterRowShowAllText":"(All)","dxDataGrid-filterRowResetOperationText":"Reset","dxDataGrid-filterRowOperationEquals":"Equals","dxDataGrid-filterRowOperationNotEquals":"Does not equal","dxDataGrid-filterRowOperationLess":"Less than","dxDataGrid-filterRowOperationLessOrEquals":"Less than or equal to","dxDataGrid-filterRowOperationGreater":"Greater than","dxDataGrid-filterRowOperationGreaterOrEquals":"Greater than or equal to","dxDataGrid-filterRowOperationStartsWith":"Starts with","dxDataGrid-filterRowOperationContains":"Contains","dxDataGrid-filterRowOperationNotContains":"Does not contain","dxDataGrid-filterRowOperationEndsWith":"Ends with","dxDataGrid-filterRowOperationBetween":"Between","dxDataGrid-filterRowOperationBetweenStartText":"Start","dxDataGrid-filterRowOperationBetweenEndText":"End","dxDataGrid-ariaSearchBox":"Search box","dxDataGrid-applyFilterText":"Apply filter","dxDataGrid-trueText":"true","dxDataGrid-falseText":"false","dxDataGrid-sortingAscendingText":"Sort Ascending","dxDataGrid-sortingDescendingText":"Sort Descending","dxDataGrid-sortingClearText":"Clear Sorting","dxDataGrid-editingSaveAllChanges":"Save changes","dxDataGrid-editingCancelAllChanges":"Discard changes","dxDataGrid-editingAddRow":"Add a row","dxDataGrid-summaryMin":"Min: {0}","dxDataGrid-summaryMinOtherColumn":"Min of {1} is {0}","dxDataGrid-summaryMax":"Max: {0}","dxDataGrid-summaryMaxOtherColumn":"Max of {1} is {0}","dxDataGrid-summaryAvg":"Avg: {0}","dxDataGrid-summaryAvgOtherColumn":"Avg of {1} is {0}","dxDataGrid-summarySum":"Sum: {0}","dxDataGrid-summarySumOtherColumn":"Sum of {1} is {0}","dxDataGrid-summaryCount":"Count: {0}","dxDataGrid-columnFixingFix":"Fix","dxDataGrid-columnFixingUnfix":"Unfix","dxDataGrid-columnFixingLeftPosition":"To the left","dxDataGrid-columnFixingRightPosition":"To the right","dxDataGrid-exportTo":"Export","dxDataGrid-exportToExcel":"Export to Excel file","dxDataGrid-exporting":"Exporting...","dxDataGrid-excelFormat":"Excel file","dxDataGrid-selectedRows":"Selected rows","dxDataGrid-exportSelectedRows":"Export selected rows to {0}","dxDataGrid-exportAll":"Export all data to {0}","dxDataGrid-headerFilterLabel":"Filter options","dxDataGrid-headerFilterIndicatorLabel":"Show filter options for c
1olumn '{0}'","dxDataGrid-headerFilterEmptyValue":"(Blanks)","dxDataGrid-headerFilterOK":"OK","dxDataGrid-headerFilterCancel":"Cancel","dxDataGrid-ariaAdaptiveCollapse":"Hide additional data","dxDataGrid-ariaAdaptiveExpand":"Display additional data","dxDataGrid-ariaColumn":"Column","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaDataGrid":"Data grid with {0} rows and {1} columns","dxDataGrid-ariaSearchInGrid":"Search in the data grid","dxDataGrid-ariaSelectAll":"Select all","dxDataGrid-ariaSelectRow":"Select row","dxDataGrid-ariaToolbar":"Data grid toolbar","dxDataGrid-ariaEditForm":"Edit form","dxDataGrid-filterBuilderPopupTitle":"Filter Builder","dxDataGrid-filterPanelCreateFilter":"Create Filter","dxDataGrid-filterPanelClearFilter":"Clear","dxDataGrid-filterPanelFilterEnabledHint":"Enable the filter","dxTreeList-ariaTreeList":"Tree list with {0} rows and {1} columns","dxTreeList-ariaSearchInGrid":"Search in the tree list","dxTreeList-ariaToolbar":"Tree list toolbar","dxTreeList-editingAddRowToNode":"Add","dxPager-infoText":"Page {0} of {1} ({2} items)","dxPager-pagesCountText":"of","dxPager-pageSize":"Items per page: {0}","dxPager-pageSizesAllText":"All","dxPager-page":"Page {0}","dxPager-prevPage":"Previous Page","dxPager-nextPage":"Next Page","dxPager-ariaLabel":"Page Navigation","dxPager-ariaPageSize":"Page size","dxPager-ariaPageNumber":"Page number","dxPivotGrid-grandTotal":"Grand Total","dxPivotGrid-total":"{0} Total","dxPivotGrid-fieldChooserTitle":"Field Chooser","dxPivotGrid-showFieldChooser":"Show Field Chooser","dxPivotGrid-expandAll":"Expand All","dxPivotGrid-collapseAll":"Collapse All","dxPivotGrid-sortColumnBySummary":'Sort "{0}" by This Column',"dxPivotGrid-sortRowBySummary":'Sort "{0}" by This Row',"dxPivotGrid-removeAllSorting":"Remove All Sorting","dxPivotGrid-dataNotAvailable":"N/A","dxPivotGrid-rowFields":"Row Fields","dxPivotGrid-columnFields":"Column Fields","dxPivotGrid-dataFields":"Data Fields","dxPivotGrid-filterFields":"Filter Fields","dxPivotGrid-allFields":"All Fields","dxPivotGrid-columnFieldArea":"Drop Column Fields Here","dxPivotGrid-dataFieldArea":"Drop Data Fields Here","dxPivotGrid-rowFieldArea":"Drop Row Fields Here","dxPivotGrid-filterFieldArea":"Drop Filter Fields Here","dxScheduler-editorLabelTitle":"Subject","dxScheduler-editorLabelStartDate":"Start Date","dxScheduler-editorLabelEndDate":"End Date","dxScheduler-editorLabelDescription":"Description","dxScheduler-editorLabelRecurrence":"Repeat","dxScheduler-openAppointment":"Open appointment","dxScheduler-recurrenceNever":"Never","dxScheduler-recurrenceMinutely":"Every minute","dxScheduler-recurrenceHourly":"Hourly","dxScheduler-recurrenceDaily":"Daily","dxScheduler-recurrenceWeekly":"Weekly","dxScheduler-recurrenceMonthly":"Monthly","dxScheduler-recurrenceYearly":"Yearly","dxScheduler-recurrenceRepeatEvery":"Repeat Every","dxScheduler-recurrenceRepeatOn":"Repeat On","dxScheduler-recurrenceEnd":"End repeat","dxScheduler-recurrenceAfter":"After","dxScheduler-recurrenceOn":"On","dxScheduler-recurrenceRepeatMinutely":"minute(s)","dxScheduler-recurrenceRepeatHourly":"hour(s)","dxScheduler-recurrenceRepeatDaily":"day(s)","dxScheduler-recurrenceRepeatWeekly":"week(s)","dxScheduler-recurrenceRepeatMonthly":"month(s)","dxScheduler-recurrenceRepeatYearly":"year(s)","dxScheduler-switcherDay":"Day","dxScheduler-switcherWeek":"Week","dxScheduler-switcherWorkWeek":"Work Week","dxScheduler-switcherMonth":"Month","dxScheduler-switcherAgenda":"Agenda","dxScheduler-switcherTimelineDay":"Timeline Day","dxScheduler-switcherTimelineWeek":"Timeline Week","dxScheduler-switcherTimelineWorkWeek":"Timeline Work Week","dxScheduler-switcherTimelineMonth":"Timeline Month","dxScheduler-recurrenceRepeatOnDate":"on date","dxScheduler-recurrenceRepeatCount":"occurrence(s)","dxScheduler-allDay":"All day","dxScheduler-confirmRecurrenceEditMessage":"Do you want to edit only this appointment or the whole series?","dxScheduler-confirmRecurrenceDeleteMessage":"Do you want to delete only this appointment or the whole series?","dxScheduler-confirmRecurrenceEditSeries":"Edit series","dxScheduler-confirmRecurrenceDeleteSeries":"Delete series","dxScheduler-confirmRecurrenceEditOccurrence":"Edit appointment","dxScheduler-confirmRecurrenceDeleteOccurrence":"Delete appointment","dxScheduler-noTimezoneTitle":"No timezone","dxScheduler-moreAppointments":"{0} more","dxCalendar-todayButtonText":"Today","dxCalendar-ariaWidgetName":"Calendar","dxCalendar-ariaHotKeysInfo":"To navigate between views, press Control, and then Left Arrow or Right Arrow. To zoom in on a view, press Control, and then Down Arrow. To zoom out, press Control, and then Up Arrow.","dxColorView-ariaRed":"Red","dxColorView-ariaGreen":"Green","dxColorView-ariaBlue":"Blue","dxColorView-ariaAlpha":"Trans
1parency","dxColorView-ariaHex":"Color code","dxTagBox-selected":"{0} selected","dxTagBox-allSelected":"All selected ({0})","dxTagBox-moreSelected":"{0} more","vizExport-printingButtonText":"Print","vizExport-titleMenuText":"Exporting/Printing","vizExport-exportButtonText":"{0} file","dxFilterBuilder-and":"And","dxFilterBuilder-or":"Or","dxFilterBuilder-notAnd":"Not And","dxFilterBuilder-notOr":"Not Or","dxFilterBuilder-addCondition":"Add Condition","dxFilterBuilder-addGroup":"Add Group","dxFilterBuilder-enterValueText":"<enter a value>","dxFilterBuilder-filterOperationEquals":"Equals","dxFilterBuilder-filterOperationNotEquals":"Does not equal","dxFilterBuilder-filterOperationLess":"Is less than","dxFilterBuilder-filterOperationLessOrEquals":"Is less than or equal to","dxFilterBuilder-filterOperationGreater":"Is greater than","dxFilterBuilder-filterOperationGreaterOrEquals":"Is greater than or equal to","dxFilterBuilder-filterOperationStartsWith":"Starts with","dxFilterBuilder-filterOperationContains":"Contains","dxFilterBuilder-filterOperationNotContains":"Does not contain","dxFilterBuilder-filterOperationEndsWith":"Ends with","dxFilterBuilder-filterOperationIsBlank":"Is blank","dxFilterBuilder-filterOperationIsNotBlank":"Is not blank","dxFilterBuilder-filterOperationBetween":"Is between","dxFilterBuilder-filterOperationAnyOf":"Is any of","dxFilterBuilder-filterOperationNoneOf":"Is none of","dxHtmlEditor-dialogColorCaption":"Change Font Color","dxHtmlEditor-dialogBackgroundCaption":"Change Background Color","dxHtmlEditor-dialogLinkCaption":"Add Link","dxHtmlEditor-dialogLinkUrlField":"URL","dxHtmlEditor-dialogLinkTextField":"Text","dxHtmlEditor-dialogLinkTargetField":"Open link in new window","dxHtmlEditor-dialogImageCaption":"Add Image","dxHtmlEditor-dialogImageUrlField":"URL","dxHtmlEditor-dialogImageAltField":"Alternate text","dxHtmlEditor-dialogImageWidthField":"Width (px)","dxHtmlEditor-dialogImageHeightField":"Height (px)","dxHtmlEditor-dialogInsertTableRowsField":"Rows","dxHtmlEditor-dialogInsertTableColumnsField":"Columns","dxHtmlEditor-dialogInsertTableCaption":"Insert Table","dxHtmlEditor-dialogUpdateImageCaption":"Update Image","dxHtmlEditor-dialogImageUpdateButton":"Update","dxHtmlEditor-dialogImageAddButton":"Add","dxHtmlEditor-dialogImageSpecifyUrl":"From the Web","dxHtmlEditor-dialogImageSelectFile":"From This Device","dxHtmlEditor-dialogImageKeepAspectRatio":"Keep Aspect Ratio","dxHtmlEditor-dialogImageEncodeToBase64":"Encode to Base64","dxHtmlEditor-heading":"Heading","dxHtmlEditor-normalText":"Normal text","dxHtmlEditor-background":"Background Color","dxHtmlEditor-bold":"Bold","dxHtmlEditor-color":"Font Color","dxHtmlEditor-font":"Font","dxHtmlEditor-italic":"Italic","dxHtmlEditor-link":"Add Link","dxHtmlEditor-image":"Add Image","dxHtmlEditor-size":"Size","dxHtmlEditor-strike":"Strikethrough","dxHtmlEditor-subscript":"Subscript","dxHtmlEditor-superscript":"Superscript","dxHtmlEditor-underline":"Underline","dxHtmlEditor-blockquote":"Blockquote","dxHtmlEditor-header":"Header","dxHtmlEditor-increaseIndent":"Increase Indent","dxHtmlEditor-decreaseIndent":"Decrease Indent","dxHtmlEditor-orderedList":"Ordered List","dxHtmlEditor-bulletList":"Bullet List","dxHtmlEditor-alignLeft":"Align Left","dxHtmlEditor-alignCenter":"Align Center","dxHtmlEditor-alignRight":"Align Right","dxHtmlEditor-alignJustify":"Align Justify","dxHtmlEditor-codeBlock":"Code Block","dxHtmlEditor-variable":"Add Variable","dxHtmlEditor-undo":"Undo","dxHtmlEditor-redo":"Redo","dxHtmlEditor-clear":"Clear Formatting","dxHtmlEditor-insertTable":"Insert Table","dxHtmlEditor-insertHeaderRow":"Insert Header Row","dxHtmlEditor-insertRowAbove":"Insert Row Above","dxHtmlEditor-insertRowBelow":"Insert Row Below","dxHtmlEditor-insertColumnLeft":"Insert Column Left","dxHtmlEditor-insertColumnRight":"Insert Column Right","dxHtmlEditor-deleteColumn":"Delete Column","dxHtmlEditor-deleteRow":"Delete Row","dxHtmlEditor-deleteTable":"Delete Table","dxHtmlEditor-cellProperties":"Cell Properties","dxHtmlEditor-tableProperties":"Table Properties","dxHtmlEditor-insert":"Insert","dxHtmlEditor-delete":"Delete","dxHtmlEditor-border":"Border","dxHtmlEditor-style":"Style","dxHtmlEditor-width":"Width","dxHtmlEditor-height":"Height","dxHtmlEditor-borderColor":"Color","dxHtmlEditor-tableBackgroun
1d":"Background","dxHtmlEditor-dimensions":"Dimensions","dxHtmlEditor-alignment":"Alignment","dxHtmlEditor-horizontal":"Horizontal","dxHtmlEditor-vertical":"Vertical","dxHtmlEditor-paddingVertical":"Vertical Padding","dxHtmlEditor-paddingHorizontal":"Horizontal Padding","dxHtmlEditor-pixels":"Pixels","dxHtmlEditor-list":"List","dxHtmlEditor-ordered":"Ordered","dxHtmlEditor-bullet":"Bullet","dxHtmlEditor-align":"Align","dxHtmlEditor-center":"Center","dxHtmlEditor-left":"Left","dxHtmlEditor-right":"Right","dxHtmlEditor-indent":"Indent","dxHtmlEditor-justify":"Justify","dxHtmlEditor-borderStyleNone":"none","dxHtmlEditor-borderStyleHidden":"hidden","dxHtmlEditor-borderStyleDotted":"dotted","dxHtmlEditor-borderStyleDashed":"dashed","dxHtmlEditor-borderStyleSolid":"solid","dxHtmlEditor-borderStyleDouble":"double","dxHtmlEditor-borderStyleGroove":"groove","dxHtmlEditor-borderStyleRidge":"ridge","dxHtmlEditor-borderStyleInset":"inset","dxHtmlEditor-borderStyleOutset":"outset","dxFileManager-newDirectoryName":"Untitled directory","dxFileManager-rootDirectoryName":"Files","dxFileManager-errorNoAccess":"Access Denied. Operation could not be completed.","dxFileManager-errorDirectoryExistsFormat":"Directory '{0}' already exists.","dxFileManager-errorFileExistsFormat":"File '{0}' already exists.","dxFileManager-errorFileNotFoundFormat":"File '{0}' not found.","dxFileManager-errorDirectoryNotFoundFormat":"Directory '{0}' not found.","dxFileManager-errorWrongFileExtension":"File extension is not allowed.","dxFileManager-errorMaxFileSizeExceeded":"File size exceeds the maximum allowed size.","dxFileManager-errorInvalidSymbols":"This name contains invalid characters.","dxFileManager-errorDefault":"Unspecified error.","dxFileManager-errorDirectoryOpenFailed":"The directory cannot be opened","dxFileManager-commandCreate":"New directory","dxFileManager-commandRename":"Rename","dxFileManager-commandMove":"Move to","dxFileManager-commandCopy":"Copy to","dxFileManager-commandDelete":"Delete","dxFileManager-commandDownload":"Download","dxFileManager-commandUpload":"Upload files","dxFileManager-commandRefresh":"Refresh","dxFileManager-commandThumbnails":"Thumbnails View","dxFileManager-commandDetails":"Details View","dxFileManager-commandClearSelection":"Clear selection","dxFileManager-commandShowNavPane":"Toggle navigation pane","dxFileManager-dialogDirectoryChooserMoveTitle":"Move to","dxFileManager-dialogDirectoryChooserMoveButtonText":"Move","dxFileManager-dialogDirectoryChooserCopyTitle":"Copy to","dxFileManager-dialogDirectoryChooserCopyButtonText":"Copy","dxFileManager-dialogRenameItemTitle":"Rename","dxFileManager-dialogRenameItemButtonText":"Save","dxFileManager-dialogCreateDirectoryTitle":"New directory","dxFileManager-dialogCreateDirectoryButtonText":"Create","dxFileManager-dialogDeleteItemTitle":"Delete","dxFileManager-dialogDeleteItemButtonText":"Delete","dxFileManager-dialogDeleteItemSingleItemConfirmation":"Are you sure you want to delete {0}?","dxFileManager-dialogDeleteItemMultipleItemsConfirmation":"Are you sure you want to delete {0} items?","dxFileManager-dialogButtonCancel":"Cancel","dxFileManager-editingCreateSingleItemProcessingMessage":"Creating a directory inside {0}","dxFileManager-editingCreateSingleItemSuccessMessage":"Created a directory inside {0}","dxFileManager-editingCreateSingleItemErrorMessage":"Directory was not created","dxFileManager-editingCreateCommonErrorMessage":"Directory was not created","dxFileManager-editingRenameSingleItemProcessingMessage":"Renaming an item inside {0}","dxFileManager-editingRenameSingleItemSuccessMessage":"Renamed an item inside {0}","dxFileManager-editingRenameSingleItemErrorMessage":"Item was not renamed","dxFileManager-editingRenameCommonErrorMessage":"Item was not renamed","dxFileManager-editingDeleteSingleItemProcessingMessage":"Deleting an item from {0}","dxFileManager-editingDeleteMultipleItemsProcessingMessage":"Deleting {0} items from {1}","dxFileManager-editingDeleteSingleItemSuccessMessage":"Deleted an item from {0}","dxFileManager-editingDeleteMultipleItemsSuccessMessage":"Deleted {0} items from {1}","dxFileManager-editingDeleteSingleItemErrorMessage":"Item was not deleted","dxFileManager-editingDeleteMultipleItemsErrorMessage":"{0} items were not deleted","dxFileManager-editingDeleteCommonErrorMessage":"Some items were not deleted","dxFileManager-editingMoveSingleItemProcessingMessage":"Moving an item to {0}","dxFileManager-editingMoveMultipleItemsProcessingMessage":"Moving {0} items to {1}","dxFileManager-editingMoveSingleItemSuccessMessage":"Moved an item to {0}","dxFileManager-editingMoveMultipleItemsSuccessMessage":"Moved {0} items to {1}","dxFileManager-editingMoveSingleItemErrorMessage":"Item was not moved","dxFileManager-editingMoveMultipleItemsErrorMessage":"{0} items were not moved","dxFileManager-editingMoveCommonErrorMessage":"Some items were not moved","dxFileManager-editingCopySingleItemProcessingMessage":"Copying an item to {0}","dxFileManager-editingCopyMultipleItemsProcessingMessage":"Copying {0} items to {1}","dxFileManager-editingCopySingleItemSuccessMessage":"Copied an item to {0}","dxFileManager-editingCopyMultipleItemsSuccessMessage":"Copied {0} items to {1}","dxFileManager-editingCopySingleItemErrorMessage":"Item was not copied","dxFileManager-editingCopyMultipleItemsErrorMessage":"{0} items were not copied","dxFileManager-editingCopyCommonErrorMessage":"Some items were not copied","dxFileManager-editingUploadSingleItemProcessingMessage":"Uploading an item to {0}","dxFileManager-editingUploadMultipleItemsProcessingMessage":"Uploading {0} items to {1}","dxFileManager-editingUploadSingleItemSuccessMessage":"Uploaded an item to {0}","dxFileManager-editingUploadMultipleItemsSuccessMessage":"Uploaded {0} items to {1}","dxFileManager-editingUploadSingleItemErrorMessage":"Item was not uploaded","dxFileManager-editingUploadMultipleItemsErrorMessage":"{0} items were not uploaded","dxFileManager-editingUploadCanceledMessage":"Canceled","dxFileManager-editingDownloadSingleItemErrorMessage":"Item was not downloaded","dxFileManager-editingDownloadMultipleItemsErrorMessage":"{0} items were not downloaded","dxFileManager-listDetailsColumnCaptionName":"Name","dxFileManager-listDetailsColumnCaptionDateModified":"Date Modified","dxFileManager-listDetailsColumnCaptionFileSize":"File Size","dxFileManager-listThumbnailsTooltipTextSize":"Size","dxFileManager-listThumbnailsTooltipTextDateModified":"Date Modified","dxFileManager-notificationProgressPanelTitle":"Progress","dxFileManager-notificationProgressPanelEmptyListText":"No operations","dxFileManager-notificationProgressPanelOperationCanceled":"Canceled","dxDiagram-categoryGeneral":"General","dxDiagram-categoryFlowchart":"Flowchart","dxDiagram-categoryOrgChart":"Org Chart","dxDiagram-categoryContainers":"Containers","dxDiagram-categoryCustom":"Custom","dxDiagram-commandExportToSvg":"Export to SVG","dxDiagram-commandExportToPng":"Export to PNG","dxDiagram-commandExportToJpg":"Export to JPEG","dxDiagram-commandUndo":"Undo","dxDiagram-commandRedo":"Redo","dxDiagram-commandFontName":"Font Name","dxDiagram-commandFontSize":"Font Size","dxDiagram-commandBold":"Bold","dxDiagram-commandItalic":"Italic","dxDiagram-commandUnderline":"Underline","dxDiagram-commandTextColor":"Font Color","dxDiagram-commandLineColor":"Line Color","dxDiagram-commandLineWidth":"Line Width","dxDiagram-commandLineStyle":"Line Style","dxDiagram-commandLineStyleSolid":"Solid","dxDiagram-commandLineStyleDotted":"Dotted","dxDiagram-commandLineStyleDashed":"Dashed","dxDiagram-commandFillColor":"Fill Color","dxDiagram-commandAlignLeft":"Align Left","dxDiagram-commandAlignCenter":"Align Center","dxDiagram-commandAlignRight":"Align Right","dxDiagram-commandConnectorLineType":"Connector Line Type","dxDiagram-commandConnectorLineStraight":"Straight","dxDiagram-commandConnectorLineOrthogonal":"Orthogonal","dxDiagram-commandConnectorLineStart":"Connector Line Start","dxDiagram-commandConnectorLineEnd":"Connector Line End","dxDiagram-commandConnectorLineNone":"None","dxDiagram-commandConnectorLineArrow":"Arrow","dxDiagram-commandFullscreen":"Full Screen","dxDiagram-commandUnits":"Units","dxDiagram-commandPageSize":"Page Size","dxDiagram-commandPageOrientation":"Page Orientation","dxDiagram-commandPageOrientationLandscape":"Landscape","dxDiagram-commandPageOrientationPortrait":"Portrait","dxDiagram-commandPageColor":"Page Color","dxDiagram-commandShowGrid":"Show Grid","dxDiagram-commandSnapToGri
1d":"Snap to Grid","dxDiagram-commandGridSize":"Grid Size","dxDiagram-commandZoomLevel":"Zoom Level","dxDiagram-commandAutoZoom":"Auto Zoom","dxDiagram-commandFitToContent":"Fit to Content","dxDiagram-commandFitToWidth":"Fit to Width","dxDiagram-commandAutoZoomByContent":"Auto Zoom by Content","dxDiagram-commandAutoZoomByWidth":"Auto Zoom by Width","dxDiagram-commandSimpleView":"Simple View","dxDiagram-commandCut":"Cut","dxDiagram-commandCopy":"Copy","dxDiagram-commandPaste":"Paste","dxDiagram-commandSelectAll":"Select All","dxDiagram-commandDelete":"Delete","dxDiagram-commandBringToFront":"Bring to Front","dxDiagram-commandSendToBack":"Send to Back","dxDiagram-commandLock":"Lock","dxDiagram-commandUnlock":"Unlock","dxDiagram-commandInsertShapeImage":"Insert Image...","dxDiagram-commandEditShapeImage":"Change Image...","dxDiagram-commandDeleteShapeImage":"Delete Image","dxDiagram-commandLayoutLeftToRight":"Left-to-right","dxDiagram-commandLayoutRightToLeft":"Right-to-left","dxDiagram-commandLayoutTopToBottom":"Top-to-bottom","dxDiagram-commandLayoutBottomToTop":"Bottom-to-top","dxDiagram-unitIn":"in","dxDiagram-unitCm":"cm","dxDiagram-unitPx":"px","dxDiagram-dialogButtonOK":"OK","dxDiagram-dialogButtonCancel":"Cancel","dxDiagram-dialogInsertShapeImageTitle":"Insert Image","dxDiagram-dialogEditShapeImageTitle":"Change Image","dxDiagram-dialogEditShapeImageSelectButton":"Select image","dxDiagram-dialogEditShapeImageLabelText":"or drop a file here","dxDiagram-uiExport":"Export","dxDiagram-uiProperties":"Properties","dxDiagram-uiSettings":"Settings","dxDiagram-uiShowToolbox":"Show Toolbox","dxDiagram-uiSearch":"Search","dxDiagram-uiStyle":"Style","dxDiagram-uiLayout":"Layout","dxDiagram-uiLayoutTree":"Tree","dxDiagram-uiLayoutLayered":"Layered","dxDiagram-uiDiagram":"Diagram","dxDiagram-uiText":"Text","dxDiagram-uiObject":"Object","dxDiagram-uiConnector":"Connector","dxDiagram-uiPage":"Page","dxDiagram-shapeText":"Text","dxDiagram-shapeRectangle":"Rectangle","dxDiagram-shapeEllipse":"Ellipse","dxDiagram-shapeCross":"Cross","dxDiagram-shapeTriangle":"Triangle","dxDiagram-shapeDiamond":"Diamond","dxDiagram-shapeHeart":"Heart","dxDiagram-shapePentagon":"Pentagon","dxDiagram-shapeHexagon":"Hexagon","dxDiagram-shapeOctagon":"Octagon","dxDiagram-shapeStar":"Star","dxDiagram-shapeArrowLeft":"Left Arrow","dxDiagram-shapeArrowUp":"Up Arrow","dxDiagram-shapeArrowRight":"Right Arrow","dxDiagram-shapeArrowDown":"Down Arrow","dxDiagram-shapeArrowUpDown":"Up Down Arrow","dxDiagram-shapeArrowLeftRight":"Left Right Arrow","dxDiagram-shapeProcess":"Process","dxDiagram-shapeDecision":"Decision","dxDiagram-shapeTerminator":"Terminator","dxDiagram-shapePredefinedProcess":"Predefined Process","dxDiagram-shapeDocument":"Document","dxDiagram-shapeMultipleDocuments":"Multiple Documents","dxDiagram-shapeManualInput":"Manual Input","dxDiagram-shapePreparation":"Preparation","dxDiagram-shapeData":"Data","dxDiagram-shapeDatabase":"Database","dxDiagram-shapeHardDisk":"Hard Disk","dxDiagram-shapeInternalStorage":"Internal Storage","dxDiagram-shapePaperTape":"Paper Tape","dxDiagram-shapeManualOperation":"Manual Operation","dxDiagram-shapeDelay":"Delay","dxDiagram-shapeStoredData":"Stored Data","dxDiagram-shapeDisplay":"Display","dxDiagram-shapeMerge":"Merge","dxDiagram-shapeConnector":"Connector","dxDiagram-shapeOr":"Or","dxDiagram-shapeSummingJunction":"Summing Junction","dxDiagram-shapeContainerDefaultText":"Container","dxDiagram-shapeVerticalContainer":"Vertical Container","dxDiagram-shapeHorizontalContainer":"Horizontal Container","dxDiagram-shapeCardDefaultText":"Person's Name","dxDiagram-shapeCardWithImageOnLeft":"Card with Image on the Left","dxDiagram-shapeCardWithImageOnTop":"Card with Image on the Top","dxDiagram-shapeCardWithImageOnRight":"Card with Image on the Right","dxGantt-dialogTitle":"Title","dxGantt-dialogStartTitle":"Start","dxGantt-dialogEndTitle":"End","dxGantt-dialogProgressTitle":"Progress","dxGantt-dialogResourcesTitle":"Resources","dxGantt-dialogResourceManagerTitle":"Resource Manager","dxGantt-dialogTaskDetailsTitle":"Task Details","dxGantt-dialogEditResourceListHint":"Edit Resource List","dxGantt-dialogEditNoResources":"No resources","dxGantt-dialogButtonAdd":"Add","dxGantt-contextMenuNewTask":"New Task","dxGantt-contextMenuNewSubtask":"New Subtask","dxGantt-contextMenuDeleteTask":"Delete Task","dxGantt-contextMenuDeleteDependency":"Delete Dependency","dxGantt-dialogTaskDeleteConfirmation":"Deleting a task also deletes all its dependencies and subtasks. Are you sure you want to delete this task?","dxGantt-dialogDependencyDeleteConfirmation":"Are you sure you want to delete the dependency from the task?","dxGantt-dialogResourcesDeleteConfirmation":"Deleting a resource also deletes it from tasks to which this resource is assigned. Are you sure you want to delete these resources? Resources: {0}","dxGantt-dialogConstraintCriticalViolationMessage":"The task you are attempting to move is linked to a second task by a dependency relation. This change would conflict with dependency rules. How would you like to proceed?","dxGantt-dialogConstraintViolationMessage":"The task you are attempting to move is linked to a second task by a dependency relation. How would you like to proceed?","dxGantt-dialogCancelOperationMessage":"Cancel the operation","dxGantt-dialogDeleteDependencyMessage":"Delete the dependency","dxGantt-dialogMoveTaskAndKeepDependencyMessage":"Move the task and keep the dependency","dxGantt-dialogConstraintCriticalViolationSeveralTasksMessage":"The task you are attempting to move is linked to another tasks by depen
1dency relations. This change would conflict with dependency rules. How would you like to proceed?","dxGantt-dialogConstraintViolationSeveralTasksMessage":"The task you are attempting to move is linked to another tasks by dependency relations. How would you like to proceed?","dxGantt-dialogDeleteDependenciesMessage":"Delete the dependency relations","dxGantt-dialogMoveTaskAndKeepDependenciesMessage":"Move the task and keep the dependencies","dxGantt-undo":"Undo","dxGantt-redo":"Redo","dxGantt-expandAll":"Expand All","dxGantt-collapseAll":"Collapse All","dxGantt-addNewTask":"Add New Task","dxGantt-deleteSelectedTask":"Delete Selected Task","dxGantt-zoomIn":"Zoom In","dxGantt-zoomOut":"Zoom Out","dxGantt-fullScreen":"Full Screen","dxGantt-quarter":"Q{0}","dxGantt-sortingAscendingText":"Sort Ascending","dxGantt-sortingDescendingText":"Sort Descending","dxGantt-sortingClearText":"Clear Sorting","dxGantt-showResources":"Show Resources","dxGantt-showDependencies":"Show Dependencies","dxGantt-dialogStartDateValidation":"Start date must be after {0}","dxGantt-dialogEndDateValidation":"End date must be after {0}"}}),H={};const u=(0,n.Z)({engine:function(){return"base"},_dictionary:W,load:function(d){(0,i.l)(!0,this._dictionary,d)},_localizablePrefix:"@",setup:function(d){this._localizablePrefix=d},localizeString:function(d){var F=this,q=new RegExp("(^|[^a-zA-Z_0-9"+F._localizablePrefix+"-]+)("+F._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),U=F._localizablePrefix+F._localizablePrefix;return d.replace(q,(Y,S,c,g)=>{var ue,b=F._localizablePrefix+g;return c!==U&&(ue=F.format(g)),ue||(H[g]=(0,A.OI)(g)),S+(ue||b)})},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(d){return d?H:(0,i.l)({},H,this.getMessagesByLocales()[x.Z.locale()])},getFormatter:function(d){return this._getFormatterBase(d)||this._getFormatterBase(d,"en")},_getFormatterBase:function(d,F){var q=x.Z.getValueByClosestLocale(U=>((d,F)=>this._dictionary[F]||{})(0,U)[d]);if(q)return function(){var U=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return U.unshift(q),ie.WU.apply(this,U)}},format:function(d){var F=this.getFormatter(d),q=Array.prototype.slice.call(arguments,1);return F&&F.apply(this,q)||""}})},29147:(Je,Ae,a)=>{a.d(Ae,{Z:()=>L});var n=a(3568),i=a(56836),ie=a(91553),A=a(64596),x=a(87242),K=a(12429),W=a(47484),I=a(1017),H=a(83684);const T={_formatNumberCore:function(M,w,Q){if("currency"===w){Q.precision=Q.precision||0;var ae=this.format(M,(0,H.l)({},Q,{type:"fixedpoint"})),ce=this.getCurrencySymbol().symbol.replace(/\$/g,"$$$$");return ae.replace(/^(\D*)(\d.*)/,"$1"+ce+"$2")}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}};var u=a(36948);const F={af:"\xa4#,##0.00;(\xa4#,##0.00)","af-NA":"\xa4#,##0.00;(\xa4#,##0.00)",agq:"#,##0.00\xa4",ak:"\xa4#,##0.00",am:"\xa4#,##0.00;(\xa4#,##0.00)",ar:"\xa4#,##0.00;(\xa4#,##0.00)","ar-AE":"\xa4#,##0.00;(\xa4#,##0.00)","ar-BH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-DZ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EG":"\xa4#,##0.00;(\xa4#,##0.00)","ar-EH":"\xa4#,##0.00;(\xa4#,##0.00)","ar-ER":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IL":"\xa4#,##0.00;(\xa4#,##0.00)","ar-IQ":"\xa4#,##0.00;(\xa4#,##0.00)","ar-JO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-KW":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LB":"\xa4#,##0.00;(\xa4#,##0.00)","ar-LY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-MR":"\xa4#,##0.00;(\xa4#,##0.00)","ar-OM":"\xa4#,##0.00;(\xa4#,##0.00)","ar-PS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-QA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SA":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SO":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SS":"\xa4#,##0.00;(\xa4#,##0.00)","ar-SY":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TD":"\xa4#,##0.00;(\xa4#,##0.00)","ar-TN":"\xa4#,##0.00;(\xa4#,##0.00)","ar-YE":"\xa4#,##0.00;(\xa4#,##0.00)",as:"\xa4\xa0#,##,##0.00",asa:"#,##0.00\xa0\xa4",ast:"#,##0.00\xa0\xa4",az:"#,##0.00\xa0\xa4","az-Cyrl":"#,##0.00\xa0\xa4","az-Latn":"#,##0.00\xa0\xa4",bas:"#,##0.00\xa0\xa4",be:"#,##0.00\xa0\xa4","be-tarask":"#,##0.00\xa0\xa4",bem:"\xa4#,##0.00;(\xa4#,##0.00)",bez:"#,##0.00\xa4",bg:"0.00\xa0\xa4;(0.00\xa0\xa4)",bm:"\xa4#,##0.00;(\xa4#,##0.00)",bn:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","bn-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",bo:"\xa4\xa0#,##0.00","bo-IN":"\xa4\xa0#,##0.00",br:"#,##0.00\xa0\xa4",brx:"\xa4\xa0#,##,##0.00",bs:"#,##0.00\xa0\xa4","bs-Cyrl":"#,##0.00\xa0\xa4","bs-Latn":"#,##0.00\xa0\xa4",ca:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-AD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-ES-valencia":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-FR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ca-IT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ccp:"#,##,##0.00\xa4;(#,##,##0.00\xa4)","ccp-IN":"#,##,##0.00\xa4;(#,##,##0.00\xa4)",ce:"#,##0.00\xa0\xa4",ceb:"\xa4#,##0.00;(\xa4#,##0.00)",cgg:"\xa4#,##0.00",chr:"\xa4#,##0.00;(\xa4#,##0.00)",ckb:"\xa4\xa0#,##0.00","ckb-IR":"\xa4\xa0#,##0.00",cs:"#,##0.00\xa0\xa4",cy:"\xa4#,##0.00;(\xa4#,##0.00)",da:"#,##0.00\xa0\xa4","da-GL":"#,##0.00\xa0\xa4",dav:"\xa4#,##0.00;(\xa4#,##0.00)",de:"#,##0.00\xa0\xa4","de-AT":"#,##0.00\xa0\xa4","de-BE":"#,##0.00\xa0\xa4","de-CH":"#,##0.00\xa0\xa4","de-IT":"#,##0.00\xa0\xa4","de-LI":"#,##0.00\xa0\xa4","de-LU":"#,##0.00\xa0\xa4",dje:"#,##0.00\xa4",doi:"\xa4#,##0.00",dsb:"#,##0.00\xa0\xa4",dua:"#,##0.00\xa0\xa4",dyo:"#,##0.00\xa0\xa4",dz:"\xa4#,##,##0.00",ebu:"\xa4#,##0.00;(\xa4#,##0.00)",ee:"\xa4#,##0.00;(\xa4#,##0.00)","ee-TG":"\xa4#,##0.00;(\xa4#,##0.00)",el:"#,##0.00\xa0\xa4","el-CY":"#,##0.00\xa0\xa4",en:"\xa4#,##0.00;(\xa4#,##0.00)","en-001":"\xa4#,##0.00;(\xa4#,##0.00)","en-150":"#,##0.00\xa0\xa4","en-AE":"\xa4#,##0.00;(\xa4#,##0.00)","en-AG":"\xa4#,##0.00;(\xa4#,##0.00)","en-AI":"\xa4#,##0.00;(\xa4#,##0.00)","en-AS":"\xa4#,##0.00;(\xa4#,##0.00)","en-AT":"\xa4\xa0#,##0.00","en-AU":"\xa4#,##0.00;(\xa4#,##0.00)","en-BB":"\xa4#,##0.00;(\xa4#,##0.00)","en-BE":"#,##0.00\xa0\xa4","en-BI":"\xa4#,##0.00;(\xa4#,##0.00)","en-BM":"\xa4#,##0.00;(\xa4#,##0.00)","en-BS":"\xa4#,##0.00;(\xa4#,##0.00)","en-BW":"\xa4#,##0.00;(\xa4#,##0.00)","en-BZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-CA":"\xa4#,##0.00;(\xa4#,##0.00)","en-CC":"\xa4#,##0.00;(\xa4#,##0.00)","en-CH":"\xa4\xa0#,##0.00;\xa4-#,##0.00","en-CK":"\xa4#,##0.00;(\xa4#,##0.00)","en-CM":"\xa4#,##0.00;(\xa4#,##0.00)","en-CX":"\xa4#,##0.00;(\xa4#,##0.00)","en-CY":"\xa4#,##0.00;(\xa4#,##0.00)","en-DE":"#,##0.00\xa0\xa4","en-DG":"\xa4#,##0.00;(\xa4#,##0.00)","en-DK":"#,##0.00\xa0\xa4","en-DM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ER":"\xa4#,##0.00;(\xa4#,##0.00)","en-FI":"#,##0.00\xa0\xa4","en-FJ":"\xa4#,##0.00;(\xa4#,##0.00)","en-FK":"\xa4#,##0.00;(\xa4#,##0.00)","en-FM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GB":"\xa4#,##0.00;(\xa4#,##0.00)","en-GD":"\xa4#,##0.00;(\xa4#,##0.00)","en-GG":"\xa4#,##0.00;(\xa4#,##0.00)","en-GH":"\xa4#,##0.00;(\xa4#,##0.00)","en-GI":"\xa4#,##0.00;(\xa4#,##0.00)","en-GM":"\xa4#,##0.00;(\xa4#,##0.00)","en-GU":"\xa4#,##0.00;(\xa4#,##0.00)","en-GY":"\xa4#,##0.00;(\xa4#,##0.00)","en-HK":"\xa4#,##0.00;(\xa4#,##0.00)","en-IE":"\xa4#,##0.00;(\xa4#,##0.00)","en-IL":"\xa4#,##0.00;(\xa4#,##0.00)","en-IM":"\xa4#,##0.00;(\xa4#,##0.00)","en-IN":"\xa4#,##0.00;(\xa4#,##0.00)","en-IO":"\xa4#,##0.00;(\xa4#,##0.00)","en-JE":"\xa4#,##0.00;(\xa4#,##0.00)","en-JM":"\xa4#,##0.00;(\xa4#,##0.00)","en-KE":"\xa4#,##0.00;(\xa4#,##0.00)","en-KI":"\xa4#,##0.00;(\xa4#,##0.00)","en-KN":"\xa4#,##0.00;(\xa4#,##0.00)","en-KY":"\xa4#,##0.00;(\xa4#,##0.00)","en-LC":"\xa4#,##0.00;(\xa4#,##0.00)","en-LR":"\xa4#,##0.00;(\xa4#,##0.00)","en-LS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MG":"\xa4#,##0.00;(\xa4#,##0.00)","en-MH":"\xa4#,##0.00;(\xa4#,##0.00)","en-MO":"\xa4#,##0.00;(\xa4#,##0.00)","en-MP":"\xa4#,##0.00;(\xa4#,##0.00)","en-MS":"\xa4#,##0.00;(\xa4#,##0.00)","en-MT":"\xa4#,##0.00;(\xa4#,##0.00)","en-MU":"\xa4#,##0.00;(\xa4#,##0.00)","en-MV":"\xa4\xa0#,##0.00","en-MW":"\xa4#,##0.00;(\xa4#,##0.00)","en-MY":"\xa4#,##0.00;(\xa4#,##0.00)","en-NA":"\xa4#,##0.00;(\xa4#,##0.00)","en-NF":"\xa4#,##0.00;(\xa4#,##0.00)","en-NG":"\xa4#,##0.00;(\xa4#,##0.00)","en-NL":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","en-NR":"\xa4#,##0.00;(\xa4#,##0.00)","en-NU":"\xa4#,##0.00;(\xa4#,##0.00)","en-NZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-PG":"\xa4#,##0.00;(\xa4#,##0.00)","en-PH":"\xa4#,##0.00;(\xa4#,##0.00)","en-PK":"\xa4#,##0.00;(\xa4#,##0.00)","en-PN":"\xa4#,##0.00;(\xa4#,##0.00)","en-PR":"\xa4#,##0.00;(\xa4#,##0.00)","en-PW":"\xa4#,##0.00;(\xa4#,##0.00)","en-RW":"\xa4#,##0.00;(\xa4#,##0.00)","en-SB":"\xa4#,##0.00;(\xa4#,##0.00)","en-SC":"\xa4#,##0.00;(\xa4#,##0.00)","en-SD":"\xa4#,##0.00;(\xa4#,##0.00)","en-SE":"#,##0.00\xa0\xa4","en-SG":"\xa4#,##0.00;(\xa4#,##0.00)","en-SH":"\xa4#,##0.00;(\xa4#,##0.00)","en-SI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","en-SL":"\xa4#,##0.00;(\xa4#,##0.00)","en-SS":"\xa4#,##0.00;(\xa4#,##0.00)","en-SX":"\xa4#,##0.00;(\xa4#,##0.00)","en-SZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-TC":"\xa4#,##0.00;(\xa4#,##0.00)","en-TK":"\xa4#,##0.00;(\xa4#,##0.00)","en-TO":"\xa4#,##0.00;(\xa4#,##0.00)","en-TT":"\xa4#,##0.00;(\xa4#,##0.00)","en-TV":"\xa4#,##0.00;(\xa4#,##0.00)","en-TZ":"\xa4#,##0.00;(\xa4#,##0.00)","en-UG":"\xa4#,##0.00;(\xa4#,##0.00)","en-UM":"\xa4#,##0.00;(\xa4#,##0.00)","en-VC":"\xa4#,##0.00;(\xa4#,##0.00)","en-VG":"\xa4#,##0.00;(\xa4#,##0.00)","en-VI":"\xa4#,##0.00;(\xa4#,##0.00)","en-VU":"\xa4#,##0.00;(\xa4#,##0.00)","en-WS":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZA":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZM":"\xa4#,##0.00;(\xa4#,##0.00)","en-ZW":"\xa4#,##0.00;(\xa4#,##0.00)",eo:"\xa4\xa0#,##0.00",es:"#,##0.00\xa0\xa4","es-419":"\xa4#,##0.00","es-AR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-BO":"\xa4#,##0.00","es-BR":"\xa4#,##0.00","es-BZ":"\xa4#,##0.00","es-CL":"\xa4#,##0.00","es-CO":"\xa4#,##0.00","es-CR":"\xa4#,##0.00","es-CU":"\xa4#,##0.00","es-DO":"\xa4#,##0.00;(\xa4#,##0.00)","es-EA":"#,##0.00\xa0\xa4","es-EC":"\xa4#,##0.00","es-GQ":"#,##0.00\xa0\xa4","es-GT":"\xa4#,##0.00","es-HN":"\xa4#,##0.00","es-IC":"#,##0.00\xa0\xa4","es-MX":"\xa4#,##0.00","es-NI":"\xa4#,##0.00","es-PA":"\xa4#,##0.00","es-PE":"\xa4#,##0.00","es-PH":"#,##0.00\xa0\xa4","es-PR":"\xa4#,##0.00","es-PY":"\xa4#,##0.00","es-SV":"\xa4#,##0.00","es-US":"\xa4#,##0.00","es-UY":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","es-VE":"\xa4#,##0.00",et:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",eu:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ewo:"#,##0.00\xa0\xa4",fa:"\u200e\xa4\xa0#,##0.00;\u200e(\xa4\xa0#,##0.00)","fa-AF":"\xa4\xa0#,##0.00;
1\u200e(\xa4\xa0#,##0.00)",ff:"#,##0.00\xa0\xa4","ff-Adlm":"\xa4\xa0#,##0.00","ff-Adlm-BF":"\xa4\xa0#,##0.00","ff-Adlm-CM":"\xa4\xa0#,##0.00","ff-Adlm-GH":"\xa4\xa0#,##0.00","ff-Adlm-GM":"\xa4\xa0#,##0.00","ff-Adlm-GW":"\xa4\xa0#,##0.00","ff-Adlm-LR":"\xa4\xa0#,##0.00","ff-Adlm-MR":"\xa4\xa0#,##0.00","ff-Adlm-NE":"\xa4\xa0#,##0.00","ff-Adlm-NG":"\xa4\xa0#,##0.00","ff-Adlm-SL":"\xa4\xa0#,##0.00","ff-Adlm-SN":"\xa4\xa0#,##0.00","ff-Latn":"#,##0.00\xa0\xa4","ff-Latn-BF":"#,##0.00\xa0\xa4","ff-Latn-CM":"#,##0.00\xa0\xa4","ff-Latn-GH":"#,##0.00\xa0\xa4","ff-Latn-GM":"#,##0.00\xa0\xa4","ff-Latn-GN":"#,##0.00\xa0\xa4","ff-Latn-GW":"#,##0.00\xa0\xa4","ff-Latn-LR":"#,##0.00\xa0\xa4","ff-Latn-MR":"#,##0.00\xa0\xa4","ff-Latn-NE":"#,##0.00\xa0\xa4","ff-Latn-NG":"#,##0.00\xa0\xa4","ff-Latn-SL":"#,##0.00\xa0\xa4",fi:"#,##0.00\xa0\xa4",fil:"\xa4#,##0.00;(\xa4#,##0.00)",fo:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fo-DK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-BL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CI":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-CM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DJ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-DZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GP":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-HT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-KM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-ML":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MR":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-MU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-NE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-PM":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RE":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-RW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SC":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-SY":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TG":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-TN":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-VU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-WF":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","fr-YT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",fur:"\xa4\xa0#,##0.00",fy:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",ga:"\xa4#,##0.00;(\xa4#,##0.00)","ga-GB":"\xa4#,##0.00;(\xa4#,##0.00)",gd:"\xa4#,##0.00;(\xa4#,##0.00)",gl:"#,##0.00\xa0\xa4",gsw:"#,##0.00\xa0\xa4","gsw-FR":"#,##0.00\xa0\xa4","gsw-LI":"#,##0.00\xa0\xa4",gu:"\xa4#,##,##0.00;(\xa4#,##,##0.00)",guz:"\xa4#,##0.00;(\xa4#,##0.00)",gv:"\xa4#,##0.00",ha:"\xa4\xa0#,##0.00","ha-GH":"\xa4\xa0#,##0.00","ha-NE":"\xa4\xa0#,##0.00",haw:"\xa4#,##0.00;(\xa4#,##0.00)",he:"#,##0.00\xa0\xa4",hi:"\xa4#,##,##0.00","hi-Latn":"\xa4#,##,##0.00",hr:"#,##0.00\xa0\xa4","hr-BA":"#,##0.00\xa0\xa4",hsb:"#,##0.00\xa0\xa4",hu:"#,##0.00\xa0\xa4",hy:"#,##0.00\xa0\xa4",ia:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",id:"\xa4#,##0.00",ig:"\xa4#,##0.00;(\xa4#,##0.00)",ii:"\xa4\xa0#,##0.00",is:"#,##0.00\xa0\xa4",it:"#,##0.00\xa0\xa4","it-CH":"#,##0.00\xa0\xa4","it-SM":"#,##0.00\xa0\xa4","it-VA":"#,##0.00\xa0\xa4",ja:"\xa4#,##0.00;(\xa4#,##0.00)",jgo:"\xa4\xa0#,##0.00",jmc:"\xa4#,##0.00",jv:"\xa4\xa0#,##0.00",ka:"#,##0.00\xa0\xa4",kab:"#,##0.00\xa4",kam:"\xa4#,##0.00;(\xa4#,##0.00)",kde:"\xa4#,##0.00;(\xa4#,##0.00)",kea:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kgp:"\xa4\xa0#,##0.00",khq:"#,##0.00\xa4",ki:"\xa4#,##0.00;(\xa4#,##0.00)",kk:"#,##0.00\xa0\xa4",kkj:"\xa4\xa0#,##0.00",kl:"\xa4#,##0.00;\xa4-#,##0.00",kln:"\xa4#,##0.00;(\xa4#,##0.00)",km:"#,##0.00\xa4;(#,##0.00\xa4)",kn:"\xa4#,##0.00;(\xa4#,##0.00)",ko:"\xa4#,##0.00;(\xa4#,##0.00)","ko-KP":"\xa4#,##0.00;(\xa4#,##0.00)",kok:"\xa4#,##0.00;(\xa4#,##0.00)",ks:"\xa4#,##0.00","ks-Arab":"\xa4#,##0.00","ks-Deva":"\xa4\xa0#,##0.00",ksb:"#,##0.00\xa4",ksf:"#,##0.00\xa0\xa4",ksh:"#,##0.00\xa0\xa4",ku:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",kw:"\xa4#,##0.00",ky:"#,##0.00\xa0\xa4",lag:"\xa4\xa0#,##0.00",lb:"#,##0.00\xa0\xa4",lg:"#,##0.00\xa4",lkt:"\xa4\xa0#,##0.00",ln:"#,##0.00\xa0\xa4","ln-AO":"#,##0.00\xa0\xa4","ln-CF":"#,##0.00\xa0\xa4","ln-CG":"#,##0.00\xa0\xa4",lo:"\xa4#,##0.00;\xa4-#,##0.00",lrc:"\xa4\xa0#,##0.00","lrc-IQ":"\xa4\xa0#,##0.00",lt:"#,##0.00\xa0\xa4",lu:"#,##0.00\xa4",luo:"#,##0.00\xa4",luy:"\xa4#,##0.00;\xa4-\xa0#,##0.00",lv:"#,##0.00\xa0\xa4",mai:"\xa4\xa0#,##0.00",mas:"\xa4#,##0.00;(\xa4#,##0.00)","mas-TZ":"\xa4#,##0.00;(\xa4#,##0.00)",mer:"\xa4#,##0.00;(\xa4#,##0.00)",mfe:"\xa4\xa0#,##0.00",mg:"\xa4#,##0.00",mgh:"\xa4\xa0#,##0.00",mgo:"\xa4\xa0#,##0.00",mi:"\xa4\xa0#,##0.00",mk:"#,##0.00\xa0\xa4",ml:"\xa4#,##0.00;(\xa4#,##0.00)",mn:"\xa4\xa0#,##0.00",mni:"\xa4\xa0#,##0.00","mni-Beng":"\xa4\xa0#,##0.00",mr:"\xa4#,##0.00;(\xa4#,##0.00)",ms:"\xa4#,##0.00;(\xa4#,##0.00)","ms-BN":"\xa4#,##0.00;(\xa4#,##0.00)","ms-ID":"\xa4#,##0.00","ms-SG":"\xa4#,##0.00;(\xa4#,##0.00)",mt:"\xa4#,##0.00",mua:"\xa4#,##0.00;(\xa4#,##0.00)",my:"\xa4\xa0#,##0.00",mzn:"\xa4\xa0#,##0.00",naq:"\xa4#,##0.00",nb:"\xa4\xa0#,##0.00;
1(\xa4\xa0#,##0.00)","nb-SJ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nd:"\xa4#,##0.00;(\xa4#,##0.00)",nds:"\xa4\xa0#,##0.00","nds-NL":"\xa4\xa0#,##0.00",ne:"\xa4\xa0#,##,##0.00","ne-IN":"\xa4\xa0#,##,##0.00",nl:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-AW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BE":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-BQ":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-CW":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SR":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)","nl-SX":"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nmg:"#,##0.00\xa0\xa4",nn:"#,##0.00\xa0\xa4",nnh:"\xa4\xa0#,##0.00",no:"\xa4\xa0#,##0.00;(\xa4\xa0#,##0.00)",nus:"\xa4#,##0.00;(\xa4#,##0.00)",nyn:"\xa4#,##0.00",om:"\xa4#,##0.00","om-KE":"\xa4#,##0.00",or:"\xa4#,##0.00;(\xa4#,##0.00)",os:"\xa4\xa0#,##0.00","os-RU":"\xa4\xa0#,##0.00",pa:"\xa4\xa0#,##0.00","pa-Arab":"\xa4\xa0#,##0.00","pa-Guru":"\xa4\xa0#,##0.00",pcm:"\xa4#,##0.00",pl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",ps:"\xa4#,##0.00;(\xa4#,##0.00)","ps-PK":"\xa4#,##0.00;(\xa4#,##0.00)",pt:"\xa4\xa0#,##0.00","pt-AO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CH":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-CV":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GQ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-GW":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-LU":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MO":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-MZ":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-PT":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-ST":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","pt-TL":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",qu:"\xa4\xa0#,##0.00","qu-BO":"\xa4\xa0#,##0.00","qu-EC":"\xa4\xa0#,##0.00",rm:"#,##0.00\xa0\xa4",rn:"#,##0.00\xa4",ro:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","ro-MD":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",rof:"\xa4#,##0.00",ru:"#,##0.00\xa0\xa4","ru-BY":"#,##0.00\xa0\xa4","ru-KG":"#,##0.00\xa0\xa4","ru-KZ":"#,##0.00\xa0\xa4","ru-MD":"#,##0.00\xa0\xa4","ru-UA":"#,##0.00\xa0\xa4",rw:"\xa4\xa0#,##0.00",rwk:"#,##0.00\xa4",sa:"\xa4\xa0#,##0.00",sah:"#,##0.00\xa0\xa4",saq:"\xa4#,##0.00;(\xa4#,##0.00)",sat:"\xa4\xa0#,##0.00","sat-Olck":"\xa4\xa0#,##0.00",sbp:"#,##0.00\xa4",sc:"#,##0.00\xa0\xa4",sd:"\xa4\xa0#,##0.00","sd-Arab":"\xa4\xa0#,##0.00","sd-Deva":"\xa4\xa0#,##0.00",se:"#,##0.00\xa0\xa4","se-FI":"#,##0.00\xa0\xa4","se-SE":"#,##0.00\xa0\xa4",seh:"#,##0.00\xa4",ses:"#,##0.00\xa4",sg:"\xa4#,##0.00;\xa4-#,##0.00",shi:"#,##0.00\xa4","shi-Latn":"#,##0.00\xa4","shi-Tfng":"#,##0.00\xa4",si:"\xa4#,##0.00;(\xa4#,##0.00)",sk:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sl:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",smn:"#,##0.00\xa0\xa4",sn:"\xa4#,##0.00;(\xa4#,##0.00)",so:"\xa4#,##0.00;(\xa4#,##0.00)","so-DJ":"\xa4#,##0.00;(\xa4#,##0.00)","so-ET":"\xa4#,##0.00;(\xa4#,##0.00)","so-KE":"\xa4#,##0.00;(\xa4#,##0.00)",sq:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-MK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sq-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",sr:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Cyrl-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-BA":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-ME":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)","sr-Latn-XK":"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",su:"\xa4#,##0.00","su-Latn":"\xa4#,##0.00",sv:"#,##0.00\xa0\xa4","sv-AX":"#,##0.00\xa0\xa4","sv-FI":"#,##0.00\xa0\xa4",sw:"\xa4\xa0#,##0.00","sw-CD":"\xa4\xa0#,##0.00","sw-KE":"\xa4\xa0#,##0.00","sw-UG":"\xa4\xa0#,##0.00",ta:"\xa4#,##0.00;(\xa4#,##0.00)","ta-LK":"\xa4#,##0.00;(\xa4#,##0.00)","ta-MY":"\xa4#,##0.00;(\xa4#,##0.00)","ta-SG":"\xa4#,##0.00;(\xa4#,##0.00)",te:"\xa4#,##0.00;(\xa4#,##0.00)",teo:"\xa4#,##0.00;(\xa4#,##0.00)","teo-KE":"\xa4#,##0.00;(\xa4#,##0.00)",tg:"#,##0.00\xa0\xa4",th:"\xa4#,##0.00;(\xa4#,##0.00)",ti:"\xa4#,##0.00","ti-ER":"\xa4#,##0.00",tk:"#,##0.00\xa0\xa4",to:"\xa4\xa0#,##0.00",tr:"\xa4#,##0.00;(\xa4#,##0.00)","tr-CY":"\xa4#,##0.00;(\xa4#,##0.00)",tt:"#,##0.00\xa0\xa4",twq:"#,##0.00\xa4",tzm:"#,##0.00\xa0\xa4",ug:"\xa4#,##0.00;(\xa4#,##0.00)",uk:"#,##0.00\xa0\xa4",und:"\xa4\xa0#,##0.00",ur:"\xa4#,##0.00;(\xa4#,##0.00)","ur-IN":"\xa4#,##0.00;(\xa4#,##0.00)",uz:"#,##0.00\xa0\xa4","uz-Arab":"\xa4\xa0#,##0.00","uz-Cyrl":"#,##0.00\xa0\xa4","uz-Latn":"#,##0.00\xa0\xa4",vai:"\xa4#,##0.00;(\xa4#,##0.00)","vai-Latn":"\xa4#,##0.00;(\xa4#,##0.00)","vai-Vaii":"\xa4#,##0.00;(\xa4#,##0.00)",vi:"#,##0.00\xa0\xa4",vun:"\xa4#,##0.00",wae:"\xa4\xa0#,##0.00",wo:"\xa4\xa0#,##0.00",xh:"\xa4#,##0.00",xog:"#,##0.00\xa0\xa4",yav:"#,##0.00\xa0\xa4;(#,##0.00\xa0\xa4)",yi:"\xa4\xa0#,##0.00",yo:"\xa4#,##0.00;(\xa4#,##0.00)","yo-BJ":"\xa4#,##0.00;(\xa4#,##0.00)",yrl:"\xa4\xa0#,##0.00","yrl-CO":"\xa4\xa0#,##0.00","yrl-VE":"\xa4\xa0#,##0.00",yue:"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hans":"\xa4#,##0.00;(\xa4#,##0.00)","yue-Hant":"\xa4#,##0.00;(\xa4#,##0.00)",zgh:"#,##0.00\xa4",zh:"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans":"\xa4#,##0.00;
1(\xa4#,##0.00)","zh-Hans-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-MO":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hans-SG":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-HK":"\xa4#,##0.00;(\xa4#,##0.00)","zh-Hant-MO":"\xa4#,##0.00;(\xa4#,##0.00)",zu:"\xa4#,##0.00;(\xa4#,##0.00)"};var q=["standard","accounting"],Y=/([^\s0]+)?(\s*)0*[.,]*0*(\s*)([^\s0]+)?/,S={},c=M=>{var w=u.Z.locale()+"/"+JSON.stringify(M);return S[w]||(S[w]=new Intl.NumberFormat(u.Z.locale(),M).format),S[w]};const b={engine:function(){return"intl"},_formatNumberCore:function(M,w,Q){return"exponential"===w?this.callBase.apply(this,arguments):c(this._normalizeFormatConfig(w,Q,M))(M)},_normalizeFormatConfig:function(M,w,Q){var ae;if("decimal"===M){var ce=String(Q).split(".")[1];ae={minimumIntegerDigits:w.precision||void 0,useGrouping:!1,maximumFractionDigits:ce&&ce.length,round:Q<0?"ceil":"floor"}}else ae=this._getPrecisionConfig(w.precision);if("percent"===M)ae.style="percent";else if("currency"===M){var Me,pe=null!==(Me=w.useCurrencyAccountingStyle)&&void 0!==Me?Me:(0,K.Z)().defaultUseCurrencyAccountingStyle;ae.style="currency",ae.currency=w.currency||(0,K.Z)().defaultCurrency,ae.currencySign=q[+pe]}return ae},_getPrecisionConfig:function(M){return null===M?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:M||0,maximumFractionDigits:M||0}},format:function(M,w){return"number"!=typeof M?M:("default"===(w=this._normalizeFormat(w)).currency&&(w.currency=(0,K.Z)().defaultCurrency),w&&("function"==typeof w||w.type||w.formatter)?this.callBase.apply(this,arguments):c(w)(M))},_getCurrencySymbolInfo:function(M){var w=(M=>new Intl.NumberFormat(u.Z.locale(),{style:"currency",currency:M}))(M);return this._extractCurrencySymbolInfo(w.format(0))},_extractCurrencySymbolInfo:function(M){var w=Y.exec(M)||[];return{position:w[1]?"before":"after",symbol:w[1]||w[4]||"",delimiter:w[2]||w[3]||""}},getCurrencySymbol:function(M){return M||(M=(0,K.Z)().defaultCurrency),{symbol:this._getCurrencySymbolInfo(M).symbol}},getOpenXmlCurrencyFormat:function(M){var w=M||(0,K.Z)().defaultCurrency;return((M,w)=>{if(w){var Q=M;if("string"==typeof M){Q="";for(var ae=0;ae<M.length;ae++)"$"!==M[ae]&&(Q+="\\"),Q+=M[ae]}for(var ce={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':""","\\\xa4":Q},Me=w.split(";"),pe=0;pe<Me.length;pe++)for(var Se in ce)Object.prototype.hasOwnProperty.call(ce,Se)&&(Me[pe]=Me[pe].replace(new RegExp(Se,"g"),ce[Se]));return 2===Me.length?Me[0]+"_);"+Me[1]:Me[0]}})(this._getCurrencySymbolInfo(w).symbol,u.Z.getValueByClosestLocale(ce=>F[ce]))}};var ue=typeof Intl<"u",V=["currency","fixedpoint","exponential","percent","decimal"],ne={1:"K",2:"M",3:"B",4:"T"},h={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},E=(0,n.Z)({engine:function(){return"base"},numericFormats:V,defaultLargeNumberFormatPostfixes:ne,_parseNumberFormatString:function(M){var w={};if(M&&"string"==typeof M){var Q=M.toLowerCase().split(" ");if((0,ie.S6)(Q,(ae,ce)=>{V.includes(ce)?w.formatType=ce:ce in h&&(w.power=h[ce])}),w.power&&!w.formatType&&(w.formatType="fixedpoint"),w.formatType)return w}},_calculateNumberPower:function(M,w,Q,ae){var ce=Math.abs(M),Me=0;if(ce>1)for(;ce&&ce>=w&&(void 0===ae||Me<ae);)Me++,ce/=w;else if(ce>0&&ce<1)for(;ce<1&&(void 0===Q||Me>Q);)Me--,ce*=w;return Me},_getNumberByPower:function(M,w,Q){for(var ae=M;w>0;)ae/=Q,w--;for(;w<0;)ae*=Q,w++;return ae},_formatNumber:function(M,w,Q){"auto"===w.power&&(w.power=this._calculateNumberPower(M,1e3,0,4)),w.power&&(M=this._getNumberByPower(M,w.power,1e3));var ae=this.defaultLargeNumberFormatPostfixes[w.power]||"",ce=this._formatNumberCore(M,w.formatType,Q);return ce.replace(/(\d|.$)(\D*)$/,"$1"+ae+"$2")},_formatNumberExponential:function(M,w){var Q=this._calculateNumberPower(M,10),ae=this._getNumberByPower(M,Q,10);void 0===w.precision&&(w.precision=1),ae.toFixed(w.precision||0)>=10&&(Q++,ae/=10);var ce=(Q>=0?"+":"")+Q.toString();return this._formatNumberCore(ae,"fixedpoint",w)+"E"+ce},_addZeroes:function(M,w){for(var Q=Math.pow(10,w),ae=M<0?"-":"",ce=(M=(Math.abs(M)*Q>>>0)/Q).toString();ce.length<w;)ce="0"+ce;return ae+ce},_addGroupSeparators:function(M){var w=M.toString().split(".");return w[0].replace(/\B(?=(\d{3})+(?!\d))/g,(0,K.Z)().thousandsSeparator)+(w[1]?(0,K.Z)().decimalSeparator+w[1]:"")},_formatNumberCore:function(M,w,Q){return"exponential"===w?this._formatNumberExponential(M,Q):("decimal"!==w&&null!==Q.precision&&(Q.precision=Q.precision||0),"percent"===w&&(M*=100),void 0!==Q.precision&&(M="decimal"===w?this._addZeroes(M,Q.precision):null===Q.precision?M.toPrecision():(0,I.F)(M,Q.precision)),M="decimal"!==w?this._addGroupSeparators(M):M.toString().replace(".",(0,K.Z)().decimalSeparator),"percent"===w&&(M+="%"),M)},_normalizeFormat:function(M){return M?("function"==typeof M||(0,A.PO)(M)||(M={type:M}),M):{}},_getSeparators:function(){return{decimalSeparator:this.getDecimalSeparator(),thousandsSeparator:this.getThousandsSeparator()}},getThousandsSeparator:function(){return this.format(1e4,"fixedPoint")[2]},getDecimalSeparator:function(){return this.format(1.2,{type:"fixedPoint",precision:1})[1]},convertDigits:function(M,w){var Q=this.format(90,"decimal");if("string"!=typeof M||"0"===Q[1])return M;var ae=w?Q[1]:"0",ce=w?"0":Q[1],pe=new RegExp("["+ae+"-"+(w?Q[0]:"9")+"]","g");return M.replace(pe,Se=>String.fromCharCode(Se.charCodeAt(0)+(ce.charCodeAt(0)-ae.charCodeAt(0))))},getNegativeEtalonRegExp:function(M){var w=this._getSeparators(),Q=new RegExp("[0-9"+(0,i.hr)(w.decimalSeparator+w.thousandsSeparator)+"]+","g"),ae=this.format(-1,M).replace(Q,"1");return["\\","(",")","[","]","*","+","$","^","?","|","{","}"].forEach(ce=>{ae=ae.replace(new RegExp("\\".concat(ce),"g"),"\\".concat(ce))}),ae=(ae=ae.replace(/ /g,"\\s")).replace(/1/g,".*"),new RegExp(ae,"g")},getSign:function(M,w){if(!w)return"-"===M.replace(/[^0-9-]/g,"").charAt(0)?-1:1;var Q=this.getNegativeEtalonRegExp(w);return M.match(Q)?-1:1},format:function(M,w){if("number"!=typeof M||"number"==typeof w)return M;if("function"==typeof(w=w&&w.formatter||w))return w(M);(w=this._normalizeFormat(w)).type||(w.type="decimal");var Q=this._parseNumberFormatString(w.type);if(!Q){var ae=this._getSeparators();return ae.unlimitedIntegerDigits=w.unlimitedIntegerDigits,this.convertDigits((0,x.P)(w.type,ae)(M))}return this._formatNumber(M,Q,w)},parse:function(M,w){if(M){if(w&&w.parser)return w.parser(M);M=this.convertDigits(M,!0),w&&"string"!=typeof w&&W.Z.log("W0011");var Q=this.getDecimalSeparator(),ae=new RegExp("[^0-9"+(0,i.hr)(Q)+"]","g"),ce=M.replace(ae,"").replace(Q,".").replace(/\.$/g,"");if("."===ce||""===ce)return null;if(this._calcSignificantDigits(ce)>
115)return NaN;var Me=+ce*this.getSign(M,w);w=this._normalizeFormat(w);var pe=this._parseNumberFormatString(w.type),Se=pe?.power;if(Se){if("auto"===Se){var Ce=M.match(/\d(K|M|B|T)/);Ce&&(Se=Object.keys(ne).find(J=>ne[J]===Ce[1]))}Me*=Math.pow(10,3*Se)}return"percent"===pe?.formatType&&(Me/=100),Me}},_calcSignificantDigits:function(M){var[w,Q]=M.split("."),ae=Me=>{for(var pe=-1,Se=0;Se<Me.length;Se++)if("0"!==Me[Se]){pe=Se;break}return pe>-1?Me.length-pe:0},ce=0;return w&&(ce+=ae(w.split(""))),Q&&(ce+=ae(Q.split("").reverse())),ce}});E.inject(T),ue&&E.inject(b);const L=E},1017:(Je,Ae,a)=>{a.d(Ae,{F:()=>x});var n=a(92657),i=10;function x(K,W){var I=W||0;return(I>0?function A(K,W){var I=Math.pow(i,W);return function ie(K){return(0,n.Xx)(K)*Math.round(Math.abs(K))}((0,n.Ow)(K,W))/I}(...arguments):K).toFixed(I)}},32845:(Je,Ae,a)=>{a.d(Ae,{E:()=>i});var i=(0,a(46444).kr)(void 0)},16755:(Je,Ae,a)=>{a.d(Ae,{Z:()=>M});var n=a(87462),i=a(72954),ie=a(3987),A=a(46444),x=a(77400),K=a(68082),W=a(29694),I=a(3568),H=w=>{var{parentNode:Q}=w;if(Q){var ae=w.nextSibling;(0,W.nK)(w),Q.$V=w.$V,(0,i.sY)(null,Q),Q.insertBefore(w,ae),w.innerHTML="",delete Q.$V}delete w.$V};const T=(0,I.Z)({createElement:(w,Q)=>(0,x.a)(w,Q),remove:H,onAfterRender:()=>{A.rN.callEffects()},onPreRender:()=>{A.rN.lock()},render:(w,Q,ae,ce)=>{if(ce)(0,i.sY)((0,x.a)(w,Q),ae);else{var{parentNode:Me}=ae,pe=ae?.nextSibling,Se=K.Z.createElement("div");Se.appendChild(ae);var Ce=K.Z.createDocumentFragment().appendChild(Se);!!ae.$V&&H(ae),(0,A.ZB)((0,x.a)(w,Q),Ce),ae.$V=Ce.$V,Me&&Me.insertBefore(ae,pe)}}});var u=a(83520),d=a(48966),F=a(83684),q=a(37075),U=a(64596),S=a(43615),c=a(91553);class b extends A.OS{constructor(Q){super(Q),this.renderTemplate=this.renderTemplate.bind(this)}renderTemplate(){var Q,ae=(0,i.lN)(this.$LI,!0),ce=ae.parentNode,Me=(0,u.Z)(ce),pe=Me.contents(),{data:Se,index:Ce}=null!==(Q=this.props.model)&&void 0!==Q?Q:{data:{}};Se&&Object.keys(Se).forEach(z=>{Se[z]&&K.Z.isNode(Se[z])&&(Se[z]=(0,q.u)((0,u.Z)(Se[z])))});var J=(0,u.Z)(this.props.template.render((0,n.Z)({container:(0,q.u)(Me),transclude:this.props.transclude},{renovated:this.props.renovated},this.props.transclude?{}:{model:Se},!this.props.transclude&&Number.isFinite(Ce)?{index:Ce}:{})));return(0,S.dL)((0,u.Z)(ae),J),()=>{((w,Q)=>{(0,c.S6)(Q,(ae,ce)=>{var Me=!1;(0,c.S6)(w,(pe,Se)=>{ce===Se&&(Me=!0)}),!Me&&ce.parentNode&&(0,u.Z)(ce).remove()})})(pe,Me.contents()),ce.appendChild(ae)}}shouldComponentUpdate(Q){var{model:ae,template:ce}=this.props,{model:Me,template:pe}=Q;if(ce!==pe)return!0;if((0,U.$K)(ae)&&(0,U.$K)(Me)){var{data:Ce,index:J}=ae,{data:z,index:le}=Me;return J!==le||!((w,Q)=>Object.keys(w).length===Object.keys(Q).length&&Object.keys(w).every(ae=>w[ae]===Q[ae]))(Ce,z)}return!(ae===Me)}createEffects(){return[new A.b0(this.renderTemplate,[this.props.template,this.props.model])]}updateEffects(){this._effects[0].update([this.props.template,this.props.model])}componentWillUnmount(){}render(){return null}}var ue=a(31996);function N(w){return Array.isArray(w)?[...w]:(0,n.Z)({},w)}function Z(w,Q,ae){var ce=N(ae.length>0&&Q&&w!==Q?Q:w),Me=ae[0];return ae.length>1?ce[Me]=Z(w[Me],Q?.[Me],ae.slice(1)):Me&&(ce[Me]=(0,U.PO)(w[Me])?N(w[Me]):w[Me]),ce}function V(w,Q,ae,ce){var Me=Q[ae],pe=w[ae];w[ae]=(0,U.PO)(Me)||ae!==ce&&Array.isArray(Me)?Z(Me,pe,(0,ue.Zw)(ce).slice(1)):Me}a(1037),a(26463),a(20920);var L=(w,Q)=>ae=>{Object.prototype.hasOwnProperty.call(w,ae)&&void 0===w[ae]&&(w[ae]=Q(ae))};let M=(()=>{class w extends d.Z{constructor(ae,ce){super(ae,ce),this._shouldRaiseContentReady=!1,this.validateKeyDownHandler()}get _propsInfo(){return{allowNull:[],twoWay:[],elements:[],templates:[],props:[]}}validateKeyDownHandler(){if(this.getSupportedKeyNames().length>0&&"function"!=typeof this._viewComponent.prototype.keyDown)throw Error("Component's declaration must have 'keyDown' method.")}get viewRef(){var ae;return null===(ae=this._viewRef)||void 0===ae?void 0:ae.current}_checkContentReadyOption(ae){var ce=this._getContentReadyOptions().reduce((Me,pe)=>(Me[pe]=!0,Me),{});return this._checkContentReadyOption=Me=>!!ce[Me],this._checkContentReadyOption(ae)}_getContentReadyOptions(){return["rtlEnabled"]}_fireContentReady(){this._actionsMap.onContentReady({})}_getDefaultOptions(){var ae=this._getViewComponentDefaultProps();return(0,F.l)(!0,super._getDefaultOptions(),ae,this._propsInfo.twoWay.reduce((ce,Me)=>{var[pe,Se,Ce]=Me;return(0,n.Z)({},ce,{[pe]:ae[Se],[Ce]:J=>this.option(pe,J)})},{}),this._propsInfo.templates.reduce((ce,Me)=>(0,n.Z)({},ce,{[Me]:null}),{}))}_getUnwrappedOption(){var ae={};
1return Object.keys(this.option()).forEach(ce=>{ae[ce]=this.option(ce)}),ae}_initializeComponent(){var ae;super._initializeComponent(),null===(ae=this._templateManager)||void 0===ae||ae.addDefaultTemplates(this.getDefaultTemplates());var ce=this._getUnwrappedOption();this._props=this._optionsWithDefaultTemplates(ce),this._propsInfo.templates.forEach(Me=>{this._componentTemplates[Me]=this._createTemplateComponent(this._props[Me])}),Object.keys(this._getActionConfigsFull()).forEach(Me=>this._addAction(Me)),this._viewRef=(0,i.Vf)(),this.defaultKeyHandlers=this._createDefaultKeyHandlers()}_initMarkup(){var ae=this.getProps();this._renderWrapper(ae)}_renderWrapper(ae){var ce=this.$element()[0];this._isNodeReplaced||T.onPreRender(),T.render(this._viewComponent,ae,ce,this._isNodeReplaced),this._isNodeReplaced||(this._isNodeReplaced=!0,T.onAfterRender(),this._shouldRaiseContentReady=!0),this._shouldRaiseContentReady&&(this._fireContentReady(),this._shouldRaiseContentReady=!1)}_silent(ae,ce){this._options.silent(ae,ce)}_render(){}_removeWidget(){T.remove(this.$element()[0])}_dispose(){this._removeWidget(),super._dispose()}get elementAttr(){var ae=this.$element()[0];if(!this._elementAttr){var{attributes:ce}=ae,Me=Array.from(ce).filter(J=>{var z;return!this._propsInfo.templates.includes(J.name)&&(null===(z=ce[J.name])||void 0===z?void 0:z.specified)}).reduce((J,z)=>{var{name:le,value:Oe}=z,O=J;return O[le]=""===Oe&&le in ae?ae[le]:Oe,O},{});this._elementAttr=Me,this._storedClasses=ae.getAttribute("class")||""}for(var pe=ae.style,Se={},Ce=0;Ce<pe.length;Ce+=1)Se[pe[Ce]]=pe.getPropertyValue(pe[Ce]);return this._elementAttr.style=Se,this._elementAttr.class=this._storedClasses,this._elementAttr}_getAdditionalActionConfigs(){return{onContentReady:{excludeValidators:["disabled","readOnly"]}}}_getAdditionalProps(){return[]}_patchOptionValues(ae){var{allowNull:ce,elements:Me,props:pe,twoWay:Se}=this._propsInfo,Ce=this._getViewComponentDefaultProps(),J=Object.keys(Ce),z=this._getDefaultOptions(),{children:le,onKeyboardHandled:Oe,ref:O}=ae,G={ref:O,children:le,onKeyDown:Oe?(ye,R)=>{Oe(R)}:void 0};return[...pe,...this._getAdditionalProps()].forEach(ye=>{Object.prototype.hasOwnProperty.call(ae,ye)&&(G[ye]=ae[ye])}),ce.forEach(L(G,()=>null)),J.forEach(L(G,ye=>z[ye])),Se.forEach(ye=>{var[R,p]=ye;L(G,()=>z[p])(R)}),Me.forEach(ye=>{if(ye in G){var R=G[ye];(0,U.ZU)(R)&&(G[ye]=this._patchElementParam(R))}}),G}getSupportedKeyNames(){return[]}prepareStyleProp(ae){return"string"==typeof ae.style?(0,n.Z)({},ae,{style:{},cssText:ae.style}):ae}getProps(){var ae,ce,{elementAttr:Me}=this.option(),pe=this._patchOptionValues((0,n.Z)({},this._props,{ref:this._viewRef,children:this._extractDefaultSlot(),aria:this._aria}));
1return this._propsInfo.templates.forEach(Se=>{pe[Se]=this._componentTemplates[Se]}),this.prepareStyleProp((0,n.Z)({},pe,this.elementAttr,Me,{className:[...(null!==(ae=this.elementAttr.class)&&void 0!==ae?ae:"").split(" "),...(null!==(ce=Me?.class)&&void 0!==ce?ce:"").split(" ")].filter((Se,Ce,J)=>Se&&J.indexOf(Se)===Ce).join(" ").trim(),class:""},this._actionsMap))}_getActionConfigs(){return{}}_getActionConfigsFull(){return(0,n.Z)({},this._getActionConfigs(),this._getAdditionalActionConfigs())}getDefaultTemplates(){var ae=Object.values(this._templatesInfo),ce={};return ae.forEach(Me=>{ce[Me]="dx-renovation-template-mock"}),ce}get _templatesInfo(){return{}}_optionsWithDefaultTemplates(ae){var ce=Object.entries(this._templatesInfo).reduce((Me,pe)=>{var Se,[Ce,J]=pe;return(0,n.Z)({},Me,{[Ce]:null!==(Se=ae[Ce])&&void 0!==Se?Se:J})},{});return(0,n.Z)({},ae,ce)}_init(){super._init(),this.customKeyHandlers={},this._actionsMap={},this._aria={},this._componentTemplates={}}_createDefaultKeyHandlers(){var ae={};return this.getSupportedKeyNames().forEach(Me=>{ae[Me]=pe=>this.viewRef.keyDown(ie.Z.createKeyDownOptions(pe))}),ae}_addAction(ae,ce){var Me=ce;if(!Me){var pe=this._createActionByOption(ae,this._getActionConfigsFull()[ae]);Me=Se=>(Object.keys(Se).forEach(Ce=>{(0,U.$K)(Se[Ce])&&K.Z.isNode(Se[Ce])&&(Se[Ce]=(0,q.u)((0,u.Z)(Se[Ce])))}),pe(Se))}this._actionsMap[ae]=Me}_optionChanged(ae){var{fullName:ce,name:Me,previousValue:pe,value:Se}=ae;V(this._props,this.option(),Me,ce),this._propsInfo.templates.includes(Me)&&Se!==pe&&(this._componentTemplates[Me]=this._createTemplateComponent(Se)),Me&&this._getActionConfigsFull()[Me]&&this._addAction(Me),this._shouldRaiseContentReady=this._shouldRaiseContentReady||this._checkContentReadyOption(ce),super._optionChanged(ae),this._invalidate()}_extractDefaultSlot(){return this.option("_hasAnonymousTemplateContent")?T.createElement(b,{template:this._getTemplate(this._templateManager.anonymousTemplateName),transclude:!0,renovated:!0}):null}_createTemplateComponent(ae){if(ae){var ce=this._getTemplate(ae);if(!(0,U.HD)(ce)||"dx-renovation-template-mock"!==ce)return Me=>T.createElement(b,{template:ce,model:Me})}}_wrapKeyDownHandler(ae){return ce=>{var{keyName:Me,originalEvent:pe,which:Se}=ce,Ce=this.customKeyHandlers,J=Ce[Me]||Ce[Se];return void 0===J||J.bind(this)(pe,ce)?ae?.(pe,ce):(pe.cancel=!0,pe)}}_toPublicElement(ae){return(0,q.u)((0,u.Z)(ae))}_patchElementParam(ae){try{var Me=(0,u.Z)(ae)?.get(0);return null!=Me&&Me.nodeType?Me:ae}catch{return ae}}repaint(){this._isNodeReplaced=!1,this._shouldRaiseContentReady=!0,this._removeWidget(),this._refresh()}_supportedKeys(){return(0,n.Z)({},this.defaultKeyHandlers,this.customKeyHandlers)}registerKeyHandler(ae,ce){this.customKeyHandlers[ae]=ce}setAria(ae,ce){this._aria[ae]=ce,this._initMarkup()}_getViewComponentDefaultProps(){return this._viewComponent.defaultProps||{}}}return w.IS_RENOVATED_WIDGET=!1,w.IS_RENOVATED_WIDGET=!0,w})()},24849:(Je,Ae,a)=>{a.d(Ae,{O:()=>n});var n={className:"",activeStateEnabled:!1,disabled:!1,focusStateEnabled:!1,hoverStateEnabled:!1,tabIndex:0,visible:!0}},70533:(Je,Ae,a)=>{a.d(Ae,{$L:()=>tt,W6:()=>Ge});var n=a(63366),i=a(87462),ie=a(72954),A=a(46444),x=a(1037),W=(a(20920),a(64596)),I=a(93802),H=a(24705),T=a(16129),u=a(36844),d=a(45390);function F(xe){return(Pe,fe,He,je)=>{var Qe=je?(0,T.V4)(xe,je):xe;if(fe)return H.Z.on(Pe,Qe,He,fe),()=>{H.Z.off(Pe,Qe,fe)}}}F(x.u),F(u.Z.scroll),F(u.Z.init),F(u.Z.start),F(u.Z.move),F(u.Z.end),F(u.Z.stop),F(u.Z.cancel),F(d.Z.down),F(d.Z.up),F(d.Z.move),F("mouseenter"),F("mouseleave"),F("keydown");var L=F("dxactive"),M=F("dxinactive"),w=F("dxhoverstart"),Q=F("dxhoverend"),ae=F("focusin"),ce=F("focusout"),Me=a(96499),pe=a(83684),Se=a(47455),Ce=a(24849),J=a(32845),z=["children","rtlEnabled"],Oe={};let O=(()=>{class xe extends A.Ul{constructor(fe){super(fe),this.state={},this.__getterCache={}}getChildContext(){return(0,i.Z)({},this.context,{[J.E.id]:this.config||J.E.defaultValue})}get config(){return void 0!==this.__getterCache.config?this.__getterCache.config:this.__getterCache.config=(()=>({rtlEnabled:this.props.rtlEnabled}))()}get restAttributes(){return(0,n.Z)(this.props,z)}componentWillUpdate(fe,He,je){this.props.rtlEnabled!==fe.rtlEnabled&&(this.__getterCache.config=void 0)}render(){return(xe=>xe.props.children)({props:(0,i.Z)({},this.props),config:this.config,restAttributes:this.restAttributes})}}return xe.defaultProps=Oe,xe})();var l=a(12429),R=a(46842),p=a(47484),y=a(68082),se=["_feedbackHideTimeout","_feedbackShowTimeout","accessKey","activeStateEnabled","activeStateUnit","addWidgetClass","aria","children","className","classes","cssText","disabled","focusStateEnabled","height","hint","hoverStateEnabled","name","onActive","onClick","onDimensionChanged","onFocusIn","onFocusOut","onHoverEnd","onHoverStart","onInactive","onKeyDown","onRootElementRendered","onVisibilityChange","rootElementRef","rtlEnabled","tabIndex","visible","width"],Ge=Object.create(Object.prototype,(0,i.Z)(Object.getOwnPropertyDescriptors(Ce.O),Object.getOwnPropertyDescriptors({_feedbackHideTimeout:400,_feedbackShowTimeout:30,cssText:"",aria:Object.freeze({}),classes:"",name:"",addWidgetClass:!0})));let tt=(()=>{class xe extends A.DZ{constructor(fe){super(fe),this.widgetElementRef=(0,ie.Vf)(),this.state={active:!1,focused:!1,hovered:!1},this.setRootElementRef=this.setRootElementRef.bind(this),this.activeEffect=this.activeEffect.bind(this),this.inactiveEffect=this.inactiveEffect.bind(this),this.clickEffect=this.clickEffect.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.activate=this.activate.bind(this),this.deactivate=this.deactivate.bind(this),this.focusInEffect=this.focusInEffect.bind(this),this.focusOutEffect=this.focusOutEffect.bind(this),this.hoverStartEffect=this.hoverStartEffect.bind(this),this.hoverEndEffect=this.hoverEndEffect.bind(this),this.keyboardEffect=this.keyboardEffect.bind(this),this.resizeEffect=this.resizeEffect.bind(this),this.windowResizeEffect=this.windowResizeEffect.bind(this),this.visibilityEffect=this.visibilityEffect.bind(this),this.checkDeprecation=this.checkDeprecation.bind(this),this.applyCssTextEffe
1ct=this.applyCssTextEffect.bind(this)}get config(){return this.context[J.E.id]?this.context[J.E.id]:J.E.defaultValue}createEffects(){return[new A.b0(this.setRootElementRef,[]),new A.b0(this.activeEffect,[this.props._feedbackShowTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.disabled,this.props.onActive]),new A.b0(this.inactiveEffect,[this.props._feedbackHideTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.onInactive,this.state.active]),new A.b0(this.clickEffect,[this.props.disabled,this.props.name,this.props.onClick]),new A.b0(this.focusInEffect,[this.props.disabled,this.props.focusStateEnabled,this.props.name,this.props.onFocusIn]),new A.b0(this.focusOutEffect,[this.props.focusStateEnabled,this.props.name,this.props.onFocusOut,this.state.focused]),new A.b0(this.hoverStartEffect,[this.props.activeStateUnit,this.props.disabled,this.props.hoverStateEnabled,this.props.onHoverStart,this.state.active]),new A.b0(this.hoverEndEffect,[this.props.activeStateUnit,this.props.hoverStateEnabled,this.props.onHoverEnd,this.state.hovered]),new A.b0(this.keyboardEffect,[this.props.focusStateEnabled,this.props.onKeyDown]),new A.b0(this.resizeEffect,[this.props.name,this.props.onDimensionChanged]),new A.b0(this.windowResizeEffect,[this.props.onDimensionChanged]),new A.b0(this.visibilityEffect,[this.props.name,this.props.onVisibilityChange]),new A.b0(this.checkDeprecation,[this.props.height,this.props.width]),new A.b0(this.applyCssTextEffe
1ct,[this.props.cssText]),(0,A.gt)()]}updateEffects(){var fe,He,je,Qe,We,Xe,me,et,k,P,te,Te,Fe;null===(fe=this._effects[1])||void 0===fe||fe.update([this.props._feedbackShowTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.disabled,this.props.onActive]),null===(He=this._effects[2])||void 0===He||He.update([this.props._feedbackHideTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.onInactive,this.state.active]),null===(je=this._effects[3])||void 0===je||je.update([this.props.disabled,this.props.name,this.props.onClick]),null===(Qe=this._effects[4])||void 0===Qe||Qe.update([this.props.disabled,this.props.focusStateEnabled,this.props.name,this.props.onFocusIn]),null===(We=this._effects[5])||void 0===We||We.update([this.props.focusStateEnabled,this.props.name,this.props.onFocusOut,this.state.focused]),null===(Xe=this._effects[6])||void 0===Xe||Xe.update([this.props.activeStateUnit,this.props.disabled,this.props.hoverStateEnabled,this.props.onHoverStart,this.state.active]),null===(me=this._effects[7])||void 0===me||me.update([this.props.activeStateUnit,this.props.hoverStateEnabled,this.props.onHoverEnd,this.state.hovered]),null===(et=this._effects[8])||void 0===et||et.update([this.props.focusStateEnabled,this.props.onKeyDown]),null===(k=this._effects[9])||void 0===k||k.update([this.props.name,this.props.onDimensionChanged]),null===(P=this._effects[10])||void 0===P||P.update([this.props.onDimensionChanged]),null===(te=this._effects[11])||void 0===te||te.update([this.props.name,this.props.onVisibilityChange]),null===(Te=this._effects[12])||void 0===Te||Te.update([this.props.height,this.props.width]),null===(Fe=this._effects[13])||void 0===Fe||Fe.update([this.props.cssText])}setRootElementRef(){var{onRootElementRendered:fe,rootElementRef:He}=this.props;He&&(He.current=this.widgetElementRef.current),fe?.(this.widgetElementRef.current)}activeEffect(){var{_feedbackShowTimeout:fe,activeStateEnabled:He,activeStateUnit:je,disabled:Qe,onActive:We}=this.props;if(He&&!Qe)return L(this.widgetElementRef.current,me=>{this.setState(et=>({active:!0})),We?.(me)},{timeout:fe,selector:je},"UIFeedback")}inactiveEffect(){var{_feedbackHideTimeout:fe,activeStateEnabled:He,activeStateUnit:je,onInactive:Qe}=this.props;if(He)return M(this.widgetElementRef.current,Xe=>{this.state.active&&(this.setState(me=>({active:!1})),Qe?.(Xe))},{timeout:fe,selector:je},"UIFeedback")}clickEffect(){var{disabled:fe,name:He,onClick:je}=this.props,Qe=He;if(je&&!fe)return I.wt.on(this.widgetElementRef.current,je,{namespace:Qe}),()=>I.wt.off(this.widgetElementRef.current,{namespace:Qe})}focusInEffect(){var{disabled:fe,focusStateEnabled:He,name:je,onFocusIn:Qe}=this.props,We="".concat(je,"Focus");if(He&&!fe)return ae(this.widgetElementRef.current,Xe=>{Xe.isDefaultPrevented()||(this.setState(me=>({focused:!0})),Qe?.(Xe))},null,We)}focusOutEffect(){var{focusStateEnabled:fe,name:He,onFocusOut:je}=this.props,Qe="".concat(He,"Focus");if(fe)return ce(this.widgetElementRef.current,We=>{!We.isDefaultPrevented()&&this.state.focused&&(this.setState(Xe=>({focused:!1})),je?.(We))},null,Qe)}hoverStartEffect(){var{activeStateUnit:fe,disabled:He,hoverStateEnabled:je,onHoverStart:Qe}=this.props;if(je&&!He)return w(this.widgetElementRef.current,Xe=>{!this.state.active&&this.setState(me=>({hovered:!0})),Qe?.(Xe)},{selector:fe},"UIFeedback")}hoverEndEffect(){var{activeStateUnit:fe,hoverStateEnabled:He,onHoverEnd:je}=this.props;if(He)return Q(this.widgetElementRef.current,We=>{this.state.hovered&&(this.setState(Xe=>({hovered:!1})),je?.(We))},{selector:fe},"UIFeedback")}keyboardEffect(){var{focusStateEnabled:fe,onKeyDown:He}=this.props;if(fe&&He){var je=I.dG.on(this.widgetElementRef.current,this.widgetElementRef.current,Qe=>He(Qe));return()=>I.dG.off(je)}}resizeEffect(){var fe="".concat(this.props.name,"VisibilityChange"),{onDimensionChanged:He}=this.props;if(He)return I.SI.on(this.widgetElementRef.current,He,{namespace:fe}),()=>I.SI.off(this.widgetElementRef.current,{namespace:fe})}windowResizeEffect(){var{onDimensionChanged:fe}=this.props;if(fe)return R.Z.add(fe),()=>{R.Z.remove(fe)}}visibilityEffect(){var{name:fe,onVisibilityChange:He}=this.props,je="".concat(fe,"VisibilityChange");if(He)return I.WD.on(this.widgetElementRef.current,()=>He(!0),()=>He(!1),{namespace:je}),()=>I.WD.off(this.widgetElementRef.current,{namespace:je})}checkDeprecation(){var{height:fe,width:He}=this.props;(0,W.mf)(He)&&p.Z.log("W0017","width"),(0,W.mf)(fe)&&p.Z.log("W0017","height")}
1applyCssTextEffect(){var{cssText:fe}=this.props;""!==fe&&(this.widgetElementRef.current.style.cssText=fe)}get shouldRenderConfigProvider(){var{rtlEnabled:fe}=this.props;return function ye(xe,Pe){var fe=(0,W.$K)(xe),He=(0,W.$K)((0,l.Z)().rtlEnabled)&&!fe&&!(0,W.$K)(Pe?.rtlEnabled);return fe&&xe!==Pe?.rtlEnabled||He}(fe,this.config)}get rtlEnabled(){var{rtlEnabled:fe}=this.props;return function G(xe,Pe){return void 0!==xe?xe:void 0!==Pe?.rtlEnabled?Pe.rtlEnabled:(0,l.Z)().rtlEnabled}(fe,this.config)}get attributes(){var{aria:fe,disabled:He,focusStateEnabled:je,visible:Qe}=this.props,We=je&&!He&&this.props.accessKey;return(0,i.Z)({},(0,pe.l)({},We&&{accessKey:We}),(xe=>Object.keys(xe).reduce((Pe,fe)=>xe[fe]?(0,i.Z)({},Pe,{["role"===fe||"id"===fe?fe:"aria-".concat(fe)]:String(xe[fe])}):Pe,{}))((0,i.Z)({},fe,{disabled:He,hidden:!Qe})),(0,pe.l)({},this.restAttributes))}get styles(){var{height:fe,width:He}=this.props,je=this.restAttributes.style||{},Qe=(0,Se.bh)("width",(0,W.mf)(He)?He():He),We=(0,Se.bh)("height",(0,W.mf)(fe)?fe():fe);return(0,i.Z)({},je,{height:We??je.height,width:Qe??je.width})}get cssClasses(){var{activeStateEnabled:fe,addWidgetClass:He,className:je,classes:Qe,disabled:We,focusStateEnabled:Xe,hoverStateEnabled:me,onVisibilityChange:et,visible:k}=this.props,P=!!Xe&&!We,te=!!me&&!We,Te=!!fe&&!We,Fe={"dx-widget":!!He,[String(Qe)]:!!Qe,[String(je)]:!!je,"dx-state-disabled":!!We,"dx-state-invisible":!k,"dx-state-focused":!!this.state.focused&&P,"dx-state-active":!!this.state.active&&Te,"dx-state-hover":!!this.state.hovered&&te&&!this.state.active,"dx-rtl":!!this.rtlEnabled,"dx-visibility-change-handler":!!et};return(0,Me.G)(Fe)}get tabIndex(){var{disabled:fe,focusStateEnabled:He,tabIndex:je}=this.props;return He&&!fe?je:void 0}get restAttributes(){return(0,n.Z)(this.props,se)}focus(){I.T_.trigger(this.widgetElementRef.current)}blur(){var fe=y.Z.getActiveElement(this.widgetElementRef.current);this.widgetElementRef.current===fe&&fe.blur()}activate(){this.setState(fe=>({active:!0}))}deactivate(){this.setState(fe=>({active:!1}))}render(){return(xe=>{var Pe=(0,ie.vs)((0,ie.Wm)(1,"div",xe.cssClasses,xe.props.children,0,(0,i.Z)({},xe.attributes,{tabIndex:xe.tabIndex,title:xe.props.hint,style:(0,A.jk)(xe.styles)}),null,xe.widgetElementRef));return xe.shouldRenderConfigProvider?(0,ie.Iz)(2,O,{rtlEnabled:xe.rtlEnabled,children:Pe}):Pe})({props:(0,i.Z)({},this.props),active:this.state.active,focused:this.state.focused,hovered:this.state.hovered,widgetElementRef:this.widgetElementRef,config:this.config,shouldRenderConfigProvider:this.shouldRenderConfigProvider,rtlEnabled:this.rtlEnabled,attributes:this.attributes,styles:this.styles,cssClasses:this.cssClasses,tabIndex:this.tabIndex,restAttributes:this.restAttributes})}}return xe.defaultProps=Ge,xe})()},97118:(Je,Ae,a)=>{a.d(Ae,{Et:()=>i,Xv:()=>ie,b$:()=>A,hj:()=>K});var i="vertical",ie="horizontal",A="both",K="dx-scrollable-content"},80261:(Je,Ae,a)=>{a.d(Ae,{I:()=>i});var n=a(97118);class i{constructor(A){this.DIRECTION_HORIZONTAL="horizontal",this.DIRECTION_VERTICAL="vertical",this.DIRECTION_BOTH="both",this.direction=A??n.Et}get isHorizontal(){return this.direction===n.Xv||this.direction===n.b$}get isVertical(){return this.direction===n.Et||this.direction===n.b$}get isBoth(){return this.direction===n.b$}}},96499:(Je,Ae,a)=>{function n(i){return Object.keys(i).filter(ie=>i[ie]).join(" ")}a.d(Ae,{G:()=>n})},73946:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Oe});var n=a(67771),i=a(87462),ie=a(59150),A=a(16755),x=a(84667);class K extends A.Z{get _validationGroupConfig(){return ie.Z.getGroupConfig(this._findGroup())}getDefaultTemplateNames(){return["content"]}getSupportedKeyNames(){return["space","enter"]}getProps(){var l=super.getProps();return l.onClick=ye=>{var{event:R}=ye;this._clickAction({event:R,validationGroup:this._validationGroupConfig})},"svg"===(0,x.P)(l.icon)&&(l.iconTemplate=this._createTemplateComponent(()=>l.icon)),l}get _templatesInfo(){return{template:"content"}}_toggleActiveState(l,G){var ye=this.viewRef;G?ye.activate():ye.deactivate()}_getSubmitAction(){var l=!0,G="valid";return this._createAction(ye=>{var{event:R,submitInput:p}=ye;
1if(l){var y=this._validationGroupConfig;if(void 0!==y&&""!==y){var se=y.validate();G=se.status,"pending"===se.status&&(l=!1,this.option("disabled",!0),se.complete.then(De=>{var{status:ge}=De;this.option("disabled",!1),"valid"===(G=ge)&&p.click(),l=!0}))}}"valid"!==G&&R.preventDefault(),R.stopPropagation()})}_initializeComponent(){super._initializeComponent(),this._addAction("onSubmit",this._getSubmitAction()),this._clickAction=this._createClickAction()}_initMarkup(){super._initMarkup();var l=this.$element().find(".dx-button-content"),G=l.children().filter(".dx-template-wrapper"),ye=l.children().filter(".dx-button-submit-input");G.length&&(G.addClass("dx-button-content"),G.append(ye),l.replaceWith(G))}_patchOptionValues(l){return super._patchOptionValues((0,i.Z)({},l,{templateData:l._templateData}))}_findGroup(){var l=this.$element(),G=this.option("validationGroup");return void 0!==G&&""!==G?G:ie.Z.findGroup(l,this._modelByElement(l))}_createClickAction(){return this._createActionByOption("onClick",{excludeValidators:["readOnly"]})}_optionChanged(l){"onClick"===l.name&&(this._clickAction=this._createClickAction()),super._optionChanged(l)}}var W=a(63366),I=a(72954),H=a(46444),T=a(43540),u=a(13921),d=a(28961),F=a(93802),q=a(96499),U=a(68262),Y=["iconTemplate","position","source"],c={position:"left",source:""},g=O=>O&&(O.defaultProps?l=>(0,I.vs)((0,I.Iz)(2,O,(0,i.Z)({},l))):O);let b=(()=>{class O extends H.Ul{constructor(G){super(G),this.state={}}get sourceType(){return(0,x.P)(this.props.source)}get cssClass(){return"left"!==this.props.position?"dx-icon-right":""}get iconClassName(){var G={"dx-icon":!0,[this.cssClass]:!!this.cssClass},{source:ye}=this.props;return"dxIcon"===this.sourceType?(0,q.G)((0,i.Z)({},G,{["dx-icon-".concat(ye)]:!0})):"fontIcon"===this.sourceType?(0,q.G)((0,i.Z)({},G,{[String(ye)]:!!ye})):"image"===this.sourceType?(0,q.G)(G):"svg"===this.sourceType?(0,q.G)((0,i.Z)({},G,{"dx-svg-icon":!0})):""}get restAttributes(){return(0,W.Z)(this.props,Y)}render(){var G=this.props;return(O=>{var{iconClassName:l,props:{iconTemplate:G,source:ye},sourceType:R}=O;return(0,I.xJ)(["dxIcon"===R&&(0,I.Wm)(1,"i",l),"fontIcon"===R&&(0,I.Wm)(1,"i",l),"image"===R&&(0,I.Wm)(1,"img",l,null,1,{alt:"",src:ye}),G&&(0,I.Wm)(1,"i",l,G({}),0)],0)})({props:(0,i.Z)({},G,{iconTemplate:g(G.iconTemplate)}),sourceType:this.sourceType,cssClass:this.cssClass,iconClassName:this.iconClassName,restAttributes:this.restAttributes})}}return O.defaultProps=c,O})();var ue=a(47484),N=a(22528),Z=["config"],ne={config:Object.freeze({})};let h=(()=>{class O extends H.Ul{constructor(G){super(G),this.state={},this.__getterCache={},this.hideWave=this.hideWave.bind(this),this.showWave=this.showWave.bind(this)}get getConfig(){return void 0!==this.__getterCache.getConfig?this.__getterCache.getConfig:this.__getterCache.getConfig=(()=>{var{config:G}=this.props;return(0,N.py)(G)})()}get restAttributes(){return(0,W.Z)(this.props,Z)}hideWave(G){(0,N.OM)(this.getConfig,G)}showWave(G){(0,N.bI)(this.getConfig,G)}componentWillUpdate(G,ye,R){this.props.config!==G.config&&(this.__getterCache.getConfig=void 0)}render(){return(O=>(0,I.vs)((0,I.Wm)(1,"div","dx-inkripple",null,1,(0,i.Z)({},O.restAttributes))))({props:(0,i.Z)({},this.props),getConfig:this.getConfig,restAttributes:this.restAttributes})}}return O.defaultProps=ne,O})();var E=a(70533),L=a(24849),M=a(40911),w=["accessKey","activeStateEnabled","children","className","disabled","focusStateEnabled","height","hint","hoverStateEnabled","icon","iconPosition","iconTemplate","onClick","onKeyDown","onSubmit","pressed","rtlEnabled","stylingMode","tabIndex","template","templateData","text","type","useInkRipple","useSubmitBehavior","visible","width"],Q=["outlined","text","contained"],Me=Object.create(Object.prototype,(0,i.Z)(Object.getOwnPropertyDescriptors(L.O),Object.getOwnPropertyDescriptors({activeStateEnabled:!0,hoverStateEnabled:!0,icon:"",iconPosition:"left",stylingMode:"contained",text:"",type:"normal",useInkRipple:!1,useSubmitBehavior:!1,templateData:Object.freeze({})}))),pe=(0,T.J3)([{device:()=>"desktop"===u.Z.real().deviceType&&!u.Z.isSimulator(),options:{focusStateEnabled:!0}},{device:()=>(0,d.x2)((0,d.Vk)()),options:{useInkRipple:!0}}]),Se=O=>O&&(O.defaultProps?l=>(0,I.vs)((0,I.Iz)(2,O,(0,i.Z)({},l))):O);class Ce extends H.DZ{constructor(l){super(l),this.state={},this.contentRef=(0,I.Vf)(),this.inkRippleRef=(0,I.Vf)(),this.submitInputRef=(0,I.Vf)(),this.widgetRef
1=(0,I.Vf)(),this.__getterCache={},this.focus=this.focus.bind(this),this.activate=this.activate.bind(this),this.deactivate=this.deactivate.bind(this),this.submitEffect=this.submitEffect.bind(this),this.checkDeprecation=this.checkDeprecation.bind(this),this.onActive=this.onActive.bind(this),this.onInactive=this.onInactive.bind(this),this.onWidgetClick=this.onWidgetClick.bind(this),this.keyDown=this.keyDown.bind(this),this.emitClickEvent=this.emitClickEvent.bind(this)}createEffects(){return[new H.b0(this.submitEffect,[this.props.onSubmit,this.props.useSubmitBehavior]),new H.b0(this.checkDeprecation,[this.props.type]),(0,H.gt)()]}updateEffects(){var l,G;null===(l=this._effects[0])||void 0===l||l.update([this.props.onSubmit,this.props.useSubmitBehavior]),null===(G=this._effects[1])||void 0===G||G.update([this.props.type])}submitEffect(){var{onSubmit:l,useSubmitBehavior:G}=this.props;if(G&&l)return F.V4.on(this.submitInputRef.current,ye=>l({event:ye,submitInput:this.submitInputRef.current}),{namespace:"UIFeedback"}),()=>F.V4.off(this.submitInputRef.current,{namespace:"UIFeedback"})}checkDeprecation(){var{type:l}=this.props;"back"===l&&ue.Z.log("W0016","type","back","22.2","Use the 'back' icon instead")}onActive(l){var{useInkRipple:G}=this.props;G&&this.inkRippleRef.current.showWave({element:this.contentRef.current,event:l})}onInactive(l){var{useInkRipple:G}=this.props;G&&this.inkRippleRef.current.hideWave({element:this.contentRef.current,event:l})}onWidgetClick(l){var{onClick:G,useSubmitBehavior:ye}=this.props;G?.({event:l}),ye&&this.submitInputRef.current.click()}keyDown(l){var{onKeyDown:G}=this.props,{keyName:ye,originalEvent:R,which:p}=l,y=G?.(l);if(null!=y&&y.cancel)return y;("space"===ye||"space"===p||"enter"===ye||"enter"===p)&&(R.preventDefault(),this.emitClickEvent())}emitClickEvent(){this.contentRef.current.click()}get aria(){var{icon:l,text:G}=this.props,ye=G??"";if(!G&&l)switch((0,x.P)(l)){case"image":ye=!l.includes("base64")&&/^(?!(?:https?:\/\/)|(?:ftp:\/\/)|(?:www\.))[^\s]+$/.test(l)?l.replace(/.+\/([^.]+)\..+$/,"$1"):"";break;case"dxIcon":ye=M.Z.format((0,U._A)(l,!0))||l;break;case"fontIcon":ye=l;break;case"svg":var y,se;ye=null!==(y=null===(se=/<title>(.*?)<\/title>/.exec(l))||void 0===se?void 0:se[1])&&void 0!==y?y:""}return(0,i.Z)({role:"button"},ye?{label:ye}:{})}get cssClasses(){return(O=>{var{icon:l,iconPosition:G,stylingMode:ye,text:R,type:p}=O,y=ye&&Q.includes(ye),se={"dx-button":!0,["dx-button-mode-".concat(y?ye:"contained")]:!0,["dx-button-".concat(p??"normal")]:!0,"dx-button-has-text":!!R,"dx-button-has-icon":!!l,"dx-button-icon-right":"left"!==G};return(0,q.G)(se)})(this.props)}get iconSource(){var{icon:l,type:G}=this.props;return l||"back"===G?(l??"")||"back":""}get inkRippleConfig(){return void 0!==this.__getterCache.inkRippleConfig?this.__getterCache.inkRippleConfig:this.__getterCache.inkRippleConfig=(()=>{var{icon:l,text:G,type:ye}=this.props;return!G&&l||"back"===ye?{isCentered:!0,useHoldAnimation:!1,waveSizeCoefficient:1}:{}})()}get buttonTemplateData(){var{icon:l,templateData:G,text:ye}=this.props;return(0,i.Z)({icon:l,text:ye},G)}get restAttributes(){return(0,W.Z)(this.props,w)}focus(){this.widgetRef.current.focus()}activate(){this.widgetRef.current.activate()}deactivate(){this.widgetRef.current.deactivate()}componentWillUpdate(l,G,ye){super.componentWillUpdate(),(this.props.icon!==l.icon||this.props.text!==l.text||this.props.type!==l.type)&&(this.__getterCache.inkRippleConfig=void 0)}render(){var l=this.props;return(O=>{var{children:l,iconPosition:G,iconTemplate:ye,template:R,text:p}=O.props,y=!O.props.template&&!l&&""!==p,se="left"===G,De=!O.props.template&&!l&&(O.iconSource||O.props.iconTemplate)&&(0,I.Iz)(2,b,{source:O.iconSource,position:G,iconTemplate:ye});return(0,I.vs)((0,I.Iz)(2,E.$L,(0,i.Z)({accessKey:O.props.accessKey,activeStateEnabled:O.props.activeStateEnabled,aria:O.aria,className:O.props.className,classes:O.cssClasses,disabled:O.props.disabled,focusStateEnabled:O.props.focusStateEnabled,height:O.props.height,hint:O.props.hint,hoverStateEnabled:O.props.hoverStateEnabled,onActive:O.onActive,onClick:O.onWidgetClick,onInactive:O.onInactive,onKeyDown:O.keyDown,rtlEnabled:O.props.rtlEnabled,tabIndex:O.props.tabIndex,visible:O.props.visible,width:O.props.width},O.restAttributes,{children:(0,I.Wm)(1,"div","dx-button-content",[O.props.template&&R({data:O.buttonTemplateData}),!O.props.template&&l,se&&De,y&&(0,I.Wm)(1,"span","dx-button-text",p,0),!se&&De,O.props.useSubmitBehavior&&(0,I.Wm)(64,"input","dx-button-submit-input",null,1,{type:"submit",tabIndex:-1},null,O.submitInputRef),O.props.useInkRipple&&(0,I.Iz)(2,h,{config:O.inkRippleConfig},null,O.inkRippleRef)],0,null,null,O.contentRef)}),null,O.widgetRef))})({props:(0,i.Z)({},l,{template:Se(l.template),iconTemplate:Se(l.iconTemplate)}),contentRef:this.contentRef,submitInputRef:this.submitInputRef,inkRippleRef:this.inkRippleRef,widgetRef:this.widgetRef,onActive:this.onActive,onInactive:this.onInactive,onWidgetClick:this.onWidgetClick,keyDown:this.keyDown,emitClickEvent:this.emitClickEvent,aria:this.aria,cssClasse
1s:this.cssClasses,iconSource:this.iconSource,inkRippleConfig:this.inkRippleConfig,buttonTemplateData:this.buttonTemplateData,restAttributes:this.restAttributes})}}Ce.defaultProps=Object.create(Object.prototype,(0,i.Z)(Object.getOwnPropertyDescriptors(Me),Object.getOwnPropertyDescriptors((0,i.Z)({},(0,T.wt)(pe)))));var J=[];class le extends K{getProps(){var l=super.getProps();return l.onKeyDown=this._wrapKeyDownHandler(l.onKeyDown),l}focus(){var l;return null===(l=this.viewRef)||void 0===l?void 0:l.focus(...arguments)}activate(){var l;return null===(l=this.viewRef)||void 0===l?void 0:l.activate(...arguments)}deactivate(){var l;return null===(l=this.viewRef)||void 0===l?void 0:l.deactivate(...arguments)}_getActionConfigs(){return{onClick:{excludeValidators:["readOnly"]},onSubmit:{}}}get _propsInfo(){return{twoWay:[],allowNull:[],elements:["onSubmit"],templates:["template","iconTemplate"],props:["activeStateEnabled","hoverStateEnabled","icon","iconPosition","onClick","onSubmit","pressed","stylingMode","template","iconTemplate","text","type","useInkRipple","useSubmitBehavior","templateData","className","accessKey","disabled","focusStateEnabled","height","hint","onKeyDown","rtlEnabled","tabIndex","visible","width"]}}get _viewComponent(){return Ce}}(0,n.Z)("dxButton",le),le.defaultOptions=function z(O){J.push(O),Ce.defaultProps=Object.create(Object.prototype,(0,i.Z)(Object.getOwnPropertyDescriptors(Ce.defaultProps),Object.getOwnPropertyDescriptors((0,T.wt)(pe)),Object.getOwnPropertyDescriptors((0,T.wt)(J))))};const Oe=le},35806:(Je,Ae,a)=>{a.d(Ae,{Z:()=>we});var n=a(21374),i=a(83520),ie=a(41760),A=a(67771),x=a(56836),K=a(64596),W=a(92657),I=a(83684),H=a(73946),T=a(12598),u=a(3813),d=a(46068);const ue=d.Z.inherit({_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{onClick:null,onCaptionClick:null,text:""})},_init:function(){this.callBase(),this._initActions()},_initActions:function(){this._clickAction=this._createActionByOption("onClick"),this._captionClickAction=this._createActionByOption("onCaptionClick")},_initMarkup:function(){this.callBase(),this.$element().addClass("dx-calendar-navigator"),this._renderButtons(),this._renderCaption()},_renderButtons:function(){var B=this,de=this.option("rtlEnabled")?-1:1;this._prevButton=this._createComponent((0,i.Z)("<a>"),H.Z,{focusStateEnabled:!1,icon:"chevronleft",onClick:function(ve){B._clickAction({direction:-de,event:ve})},integrationOptions:{}});var D=this._prevButton.$element().addClass("dx-calendar-navigator-previous-view").addClass("dx-calendar-navigator-previous-month");this._nextButton=this._createComponent((0,i.Z)("<a>"),H.Z,{focusStateEnabled:!1,icon:"chevronright",onClick:function(ve){B._clickAction({direction:de,event:ve})},integrationOptions:{}});var m=this._nextButton.$element().addClass("dx-calendar-navigator-next-view").addClass("dx-calendar-navigator-next-month");this._caption=this._createComponent((0,i.Z)("<a>").addClass("dx-calendar-caption-button"),H.Z,{focusStateEnabled:!1,onClick:function(ve){B._captionClickAction({event:ve})},integrationOptions:{}});var ee=this._caption.$element();this.$element().append(D,ee,m)},_renderCaption:function(){this._caption.option("text",this.option("text"))},toggleButton:function(B,de){var m=this["_"+B+"Button"];m&&(m.option("disabled",de),m.$element().toggleClass("dx-calendar-disabled-navigator-link",de))},_optionChanged:function(B){"text"===B.name?this._renderCaption():this.callBase(B)}});var N=a(68082),Z=a(24705),V=a(29694),ne=a(37075),h=a(56872),E=a(47331),L=a(40911),M=a(16129),w=a(1037),{abstract:Q}=d.Z,pe="dx-calendar-empty-cell",Ce="dx-calendar-selected-date",J="dx-calendar-contoured-date",z=(0,M.V4)(w.u,"dxCalendar"),le="dxDateValueKey";const O=d.Z.inherit({_getViewName:function(){return"base"},_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{date:new Date,focusStateEnabled:!1,cellTemplate:null,disabledDates:null,onCellClick:null,rowCount:3,colCount:4,allowValueSelection:!0,_todayDate:()=>new Date})},_initMarkup:function(){this.callBase(),this._renderImpl()},_renderImpl:function(){this.$element().append(this._createTable()),this._createDisabledDatesHandler(),this._renderBody(),this._renderContouredDate(),this._renderValue(),this._renderEvents()},_createTable:function(){this._$table=(0,i.Z)("<table>");var B=L.Z.format("dxCalendar-ariaWidgetName"),de=L.Z.format("dxCalendar-ariaHotKeysInfo");return this.setAria({label:"".concat(B,". ").concat(de),role:"grid"},this._$table),this._$table},_renderBody:function(){this.$body=(0,i.Z)("<tbody>").appendTo(this._$table);for(var B={cellDate:this._getFirstCellData(),prevCellDate:null},de=0,D=this.option("rowCount");de<D;de++){B.row=this._createRow();for(var m=0,ee=this.option("colCount");m<ee;m++)this._renderCell(B,m);this._renderWeekNumberCell(B)}},_createRow:function(){var B=N.Z.createElement("tr");return this.setAria("role","row",(0,i.Z)(B)),this.$body.get(0).appendChild(B),B},_appendCell:function(B,de){this._appendMethodName||this._cacheAppendMethodName(),(0,i.Z)(B)[this._appendMethodName](de)},_cacheAppendMethodName:function(B){this._appendMethodName=B??this.option("rtlEnabled")?"prepe
1nd":"append"},_createCell:function(B){var de=N.Z.createElement("td"),D=(0,i.Z)(de);return de.className=this._getClassNameByDate(B),de.setAttribute("data-value",E.Z.serializeDate(B,h.Z.getShortDateFormat())),(0,V.aT)(de,le,B),this.setAria({role:"gridcell",label:this.getCellAriaLabel(B)},D),{cell:de,$cell:D}},_renderCell:function(B,de){var{cellDate:D,prevCellDate:m,row:ee}=B;m&&h.Z.fixTimezoneGap(m,D),B.prevCellDate=D;var{cell:ve,$cell:Be}=this._createCell(D),Ue=this.option("cellTemplate");this._appendCell(ee,ve),Ue?Ue.render(this._prepareCellTemplateData(D,de,Be)):ve.innerHTML=this._getCellText(D),B.cellDate=this._getNextCellData(D)},_getClassNameByDate:function(B){var de="dx-calendar-cell";return this._isTodayCell(B)&&(de+=" ".concat("dx-calendar-today")),(this._isDateOutOfRange(B)||this.isDateDisabled(B))&&(de+=" ".concat(pe)),this._isOtherView(B)&&(de+=" ".concat("dx-calendar-other-view")),de},_prepareCellTemplateData:function(B,de,D){var m=B instanceof Date;return{model:{text:m?this._getCellText(B):B,date:m?B:void 0,view:this._getViewName()},container:(0,ne.u)(D),index:de}},_renderEvents:function(){this._createCellClickAction(),Z.Z.off(this._$table,z),Z.Z.on(this._$table,z,"td:not(.".concat("dx-calendar-week-number-cell",")"),B=>{(0,i.Z)(B.currentTarget).hasClass(pe)||this._cellClickAction({event:B,value:(0,i.Z)(B.currentTarget).data(le)})})},_createCellClickAction:function(){this._cellClickAction=this._createActionByOption("onCellClick")},_createDisabledDatesHandler:function(){var B=this.option("disabledDates");this._disabledDatesHandler=Array.isArray(B)?this._getDefaultDisabledDatesHandler(B):B||x.ZT},_getDefaultDisabledDatesHandler:function(B){return x.ZT},_isTodayCell:Q,_isDateOutOfRange:Q,isDateDisabled:function(B){var de={date:B,view:this._getViewName()};return this._disabledDatesHandler(de)},_isOtherView:Q,_getCellText:Q,_getFirstCellData:Q,_getNextCellData:Q,_renderContouredDate:function(B){if(this.option("focusStateEnabled")){B=B||this.option("contouredDate");var de=this._getContouredCell(),D=this._getCellByDate(B);de.removeClass(J),B&&D.addClass(J)}},_getContouredCell:function(){return this._$table.find(".".concat(J))},_changeValue:function(B){if(B){var de=this.option("value"),D=de?new Date(de):new Date;D.setDate(B.getDate()),D.setMonth(B.getMonth()),D.setFullYear(B.getFullYear()),D.setDate(B.getDate()),this.option("value",D)}else this.option("value",null)},_renderValue:function(){if(this.option("allowValueSelection")){var B=this.option("value"),de=this._getCellByDate(B);this._selectedCell&&this._selectedCell.removeClass(Ce),de.addClass(Ce),this._selectedCell=de}},getCellAriaLabel:function(B){return this._getCellText(B)},_getFirstAvailableDate:function(){var B=this.option("date"),de=this.option("min");return B=h.Z.getFirstDateView(this._getViewName(),B),new Date(de&&B<de?de:B)},_getCellByDate:Q,isBoundary:Q,_optionChanged:function(B){var{name:de,value:D}=B;switch(de){case"value":this._renderValue();break;case"contouredDate":this._renderContouredDate(D);break;case"onCellClick":this._createCellClickAction();break;case"disabledDates":case"cellTemplate":this._invalidate();break;case"rtlEnabled":this._cacheAppendMethodName(D),this.callBase(B);break;case"_todayDate":this._renderBody();break;default:this.callBase(B)}}});var l=a(56821);const y={month:O.inherit({_getViewName:function(){return"month"},_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{firstDayOfWeek:0,rowCount:6,colCount:7})},_renderImpl:function(){this.callBase(),this._renderHeader()},_renderBody:function(){this.callBase(),this._$table.find(".".concat("dx-calendar-other-view")).addClass("dx-calendar-other-month")},_renderFocusTarget:x.ZT,getCellAriaLabel:function(B){return l.Z.format(B,"longdate")},_renderHeader:function(){var B=(0,i.Z)("<tr>"),de=(0,i.Z)("<thead>").append(B);this._$table.prepend(de);for(var D=0,m=this.option("colCount");D<m;D++)this._renderHeaderCell(D,B);this.option("showWeekNumbers")&&this._renderWeekHeaderCell(B)},_renderHeaderCell:function(B,de){var{firstDayOfWeek:D}=this.option(),{full:m,abbreviated:ee}=this._getDayCaption(D+B),ve=(0,i.Z)("<th>").attr({scope:"col",abbr:m}).text(ee);this._appendCell(de,ve)},_renderWeekHeaderCell:function(B){var de=(0,i.Z)("<th>").attr({scope:"col",abbr:"WeekNumber",class:"dx-week-number-header"}).text("#");this.option("rtlEnabled")?B.append(de):B.prepend(de)},_renderWeekNumberCell:function(B){var{showWeekNumbers:de,rtlEnabled:D,cellTemplate:m}=this.option();if(de){var ee=this._getWeekNumber(B.prevCellDate),ve=N.Z.createElement("td"),Be=(0,i.Z)(ve);ve.className="dx-calendar-week-number-cell",m?m.render(this._prepareCellTemplateData(ee,-1,Be)):ve.innerHTML=ee,D?B.row.append(ve):B.row.prepend(ve),this.setAria({role:"gridcell",label:"Week ".concat(ee)},Be)}},_getWeekNumber:function(B){var{weekNumberRule:de,firstDayOfWeek:D}=this.option();return h.Z.getWeekNumber(B,D,"auto"===de?1===D?"firstFourDays":"firstDay":de)},getNavigatorCaption:function(){return l.Z.format(this.option("date"),"monthandyear")},_isTodayCell:function(B){var de=this.option("_todayDate")();return h.Z.sameDate(B,de)},_isDateOutOfRange:function(B){var de=this.option("min"),D=this.option("max");return!h.Z.dateInRange(B,de,D,"date")},_isOtherView:function(B){return B.getMonth()!==this.option("date").getMonth()},_getCellText:function(B){return l.Z.format(B,"d")},_getDayCaption:function(B){var D=B%this.option("colCount");return{full:l.Z.getDayNames()[D],abbreviated:l.Z.getDayNames("abbreviated")[D]}},_getFirstCellData:function(){var{firstDayOfWeek:B}=this.option(),de=h.Z.getFirstMonthDate(this.option("date")),D=B-de.getDay(),m=this.option("colCount");return D>=0&&(D-=m),de.setDate(de.getDate()+D),de},_getNextCellData:function(B){return(B=new Date(B)).setDate(B.getDate()+1),B}
1,_getCellByDate:function(B){return this._$table.find("td[data-value='".concat(E.Z.serializeDate(B,h.Z.getShortDateFormat()),"']"))},isBoundary:function(B){return h.Z.sameMonthAndYear(B,this.option("min"))||h.Z.sameMonthAndYear(B,this.option("max"))},_getDefaultDisabledDatesHandler:function(B){return function(de){if(B.some(function(m){return h.Z.sameDate(m,de.date)}))return!0}}}),year:O.inherit({_getViewName:function(){return"year"},_isTodayCell:function(B){var de=this.option("_todayDate")();return h.Z.sameMonthAndYear(B,de)},_isDateOutOfRange:function(B){return!h.Z.dateInRange(B,h.Z.getFirstMonthDate(this.option("min")),h.Z.getLastMonthDate(this.option("max")))},_isOtherView:function(){return!1},_getCellText:function(B){return l.Z.getMonthNames("abbreviated")[B.getMonth()]},_getFirstCellData:function(){var B=this.option("date"),de=new Date(B);return de.setDate(1),de.setMonth(0),de},_getNextCellData:function(B){return(B=new Date(B)).setMonth(B.getMonth()+1),B},_getCellByDate:function(B){var de=new Date(B);return de.setDate(1),this._$table.find("td[data-value='".concat(E.Z.serializeDate(de,h.Z.getShortDateFormat()),"']"))},getCellAriaLabel:function(B){return l.Z.format(B,"monthandyear")},getNavigatorCaption:function(){return l.Z.format(this.option("date"),"yyyy")},isBoundary:function(B){return h.Z.sameYear(B,this.option("min"))||h.Z.sameYear(B,this.option("max"))},_renderWeekNumberCell:x.ZT}),decade:O.inherit({_getViewName:function(){return"decade"},_isTodayCell:function(B){var de=this.option("_todayDate")();return h.Z.sameYear(B,de)},_isDateOutOfRange:function(B){var de=this.option("min"),D=this.option("max");return!h.Z.dateInRange(B.getFullYear(),de&&de.getFullYear(),D&&D.getFullYear())},_isOtherView:function(B){var de=new Date(B);return de.setMonth(1),!h.Z.sameDecade(de,this.option("date"))},_getCellText:function(B){return l.Z.format(B,"yyyy")},_getFirstCellData:function(){var B=h.Z.getFirstYearInDecade(this.option("date"))-1;return h.Z.createDateWithFullYear(B,0,1)},_getNextCellData:function(B){return(B=new Date(B)).setFullYear(B.getFullYear()+1),B},getNavigatorCaption:function(){var B=this.option("date"),de=h.Z.getFirstYearInDecade(B),D=new Date(B),m=new Date(B);return D.setFullYear(de),m.setFullYear(de+9),l.Z.format(D,"yyyy")+"-"+l.Z.format(m,"yyyy")},_isValueOnCurrentView:function(B,de){return h.Z.sameDecade(B,de)},_getCellByDate:function(B){var de=new Date(B);return de.setDate(1),de.setMonth(0),this._$table.find("td[data-value='".concat(E.Z.serializeDate(de,h.Z.getShortDateFormat()),"']"))},isBoundary:function(B){return h.Z.sameDecade(B,this.option("min"))||h.Z.sameDecade(B,this.option("max"))},_renderWeekNumberCell:x.ZT}),century:O.inherit({_getViewName:function(){return"century"},_isTodayCell:function(B){var de=this.option("_todayDate")();return h.Z.sameDecade(B,de)},_isDateOutOfRange:function(B){var de=h.Z.getFirstYearInDecade(B),D=h.Z.getFirstYearInDecade(this.option("min")),m=h.Z.getFirstYearInDecade(this.option("max"));return!h.Z.dateInRange(de,D,m)},_isOtherView:function(B){var de=new Date(B);return de.setMonth(1),!h.Z.sameCentury(de,this.option("date"))},_getCellText:function(B){var de=l.Z.format(B,"yyyy"),D=new Date(B);return D.setFullYear(D.getFullYear()+9),de+" - "+l.Z.format(D,"yyyy")},_getFirstCellData:function(){var B=h.Z.getFirstDecadeInCentury(this.option("date"))-10;return h.Z.createDateWithFullYear(B,0,1)},_getNextCellData:function(B){return(B=new Date(B)).setFullYear(B.getFullYear()+10),B},_getCellByDate:function(B){var de=new Date(B);return de.setDate(1),de.setMonth(0),de.setFullYear(h.Z.getFirstYearInDecade(de)),this._$table.find("td[data-value='".concat(E.Z.serializeDate(de,h.Z.getShortDateFormat()),"']"))},getNavigatorCaption:function(){var B=this.option("date"),de=h.Z.getFirstDecadeInCentury(B),D=new Date(B),m=new Date(B);return D.setFullYear(de),m.setFullYear(de+99),l.Z.format(D,"yyyy")+"-"+l.Z.format(m,"yyyy")},isBoundary:function(B){return h.Z.sameCentury(B,this.option("min"))||h.Z.sameCentury(B,this.option("max"))},_renderWeekNumberCell:x.ZT})};var se=a(46885),De=a(13921),ge=a(35922),ke=a(34500),Ne=a(74609),Qe="dx-calendar-view",te={month:3,year:2,decade:1,century:0},Ke=T.Z.inherit({_activeStateUnit:".dx-calendar-cell",_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,currentDate:new Date,value:null,dateSerializationFormat:void 0,min:new Date(1e3,0),max:new Date(3e3,0),firstDayOfWeek:void 0,zoomLevel:"month",maxZoomLevel:"month",minZoomLevel:"century",showTodayButton:!1,showWeekNumbers:!1,weekNumberRule:"auto",cellTemplate:"cell",disabledDates:null,onCellClick:null,onContouredChanged:null,skipFocusCheck:!1,_todayDate:()=>new Date})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===De.Z.real().deviceType&&!De.Z.isSimulator()},options:{focusStateEnabled:!0}}])},_supportedKeys:function(){return(0,I.l)(this.callBase(),{rightArrow:function(B){B.preventDefault(),(0,M.j1)(B)?this._waitRenderView(1):this._moveCurrentDateByOffset(1*this._getRtlCorrection())},leftArrow:function(B){B.preventDefault(),(0,M.j1)(B)?this._waitRenderView(-1):this._moveCurrentDateByOffset(-1*this._getRtlCorrection())},upArrow:function(B){if(B.preventDefault(),(0,M.j1)(B))this._navigateUp();else{if(ge.Z.isAnimating(this._view.$element()))return;this._moveCurrentDateByOffset(-1*this._view.option("colCount"))}},downArrow:function(B){if(B.preventDefault(),(0,M.j1)(B))this._navigateDown();else{if(ge.Z.isAnimating(this._view.$element()))return;this._moveCurrentDateByOffset(1*this._view.option("colCount"))}},home:function(B){B.preventDefault();var de=this.option("zoomLevel"),D=this.option("currentDate"),m=this._dateOption("min");if(!this._view.isDateDisabled(D)){var ee=h.Z.sameView(de,D,m)?m:h.Z.getViewFirstCellDate(de,D);
1this._moveToClosestAvailableDate(ee)}},end:function(B){B.preventDefault();var de=this.option("zoomLevel"),D=this.option("currentDate"),m=this._dateOption("max");if(!this._view.isDateDisabled(D)){var ee=h.Z.sameView(de,D,m)?m:h.Z.getViewLastCellDate(de,D);this._moveToClosestAvailableDate(ee)}},pageUp:function(B){B.preventDefault(),this._waitRenderView(-1*this._getRtlCorrection())},pageDown:function(B){B.preventDefault(),this._waitRenderView(1*this._getRtlCorrection())},tab:x.ZT,enter:function(B){if(this._isMaxZoomLevel()){if(!this._view.isDateDisabled(this.option("currentDate"))){var de=this._updateTimeComponent(this.option("currentDate"));this._dateValue(de,B)}}else this._navigateDown()}})},_getSerializationFormat:function(B){var de=this.option(B||"value");return this.option("dateSerializationFormat")?this.option("dateSerializationFormat"):(0,K.kE)(de)?"number":(0,K.HD)(de)?E.Z.getDateSerializationFormat(de):void 0},_convertToDate:function(B,de){return E.Z.deserializeDate(B)},_dateValue:function(B,de){if(de){if("keydown"===de.type){var D=this._view._getContouredCell().get(0);de.target=D}this._saveValueChangeEvent(de)}this._dateOption("value",B)},_dateOption:function(B,de){if(1===arguments.length)return this._convertToDate(this.option(B),B);var D=this._getSerializationFormat(B);this.option(B,E.Z.serializeDate(de,D))},_shiftDate:function(B,de,D,m){switch(B){case"month":de.setDate(de.getDate()+D*m);break;case"year":de.setMonth(de.getMonth()+D*m);break;case"decade":de.setFullYear(de.getFullYear()+D*m);break;case"century":de.setFullYear(de.getFullYear()+10*D*m)}},_moveCurrentDateByOffset:function(B){var de=this.option("currentDate"),D=new Date(de),m=this.option("zoomLevel");this._shiftDate(m,D,B,1);for(var ee=this._getMaxDate(),ve=this._getMinDate(),Be=this._areDatesInNeighborView(m,D,de),Ue=(0,W.Z2)(D,ve,ee)&&Be,X=new Date(D);Ue;){if(!this._view.isDateDisabled(X)){D=X;break}this._shiftDate(m,X,B,1),Be=this._areDatesInNeighborView(m,X,de),Ue=(0,W.Z2)(X,ve,ee)&&Be}this._view.isDateDisabled(de)||this._view.isDateDisabled(D)?this._waitRenderView(B>0?1:-1):this.option("currentDate",D)},_areDatesInSameView(B,de,D){switch(B){case"month":return de.getMonth()===D.getMonth();case"year":return de.getYear()===D.getYear();case"decade":return parseInt(de.getYear()/10)===parseInt(D.getYear()/10);case"century":return parseInt(de.getYear()/100)===parseInt(D.getYear()/100)}},_areDatesInNeighborView(B,de,D){switch(B){case"month":return m=de.getMonth(),ee=D.getMonth(),ve=Math.abs(m-ee),Math.min(ve,12-ve)<=1;case"year":return Math.abs(de.getYear()-D.getYear())<=1;case"decade":return Math.abs(de.getYear()-D.getYear())<=10;case"century":return Math.abs(de.getYear()-D.getYear())<=100}var m,ee,ve},_moveToClosestAvailableDate:function(){var Be,Ue,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.option("currentDate"),de=new Date(B),D=this.option("zoomLevel"),m=!this._isDateNotAvailable(de),ee=m,ve=m,X=new Date(de),v=new Date(de);do{if(ee){de=X;break}if(ve){de=v;break}this._shiftDate(D,X,1,1),this._shiftDate(D,v,1,-1),Be=this._areDatesInSameView(D,X,B),Ue=this._areDatesInSameView(D,v,B),ee=Be&&!this._isDateNotAvailable(X),ve=Ue&&!this._isDateNotAvailable(v)}while(Be||Ue);this.option("currentDate",de)},_isDateNotAvailable:function(B){var de=this._getMaxDate(),D=this._getMinDate();return!(0,W.Z2)(B,D,de)||this._view.isDateDisabled(B)},_init:function(){this.callBase(),this._correctZoomLevel(),this._initCurrentDate(),this._initActions()},_correctZoomLevel:function(){var B=this.option("minZoomLevel"),de=this.option("maxZoomLevel"),D=this.option("zoomLevel");te[de]<te[B]||(te[D]>te[de]?this.option("zoomLevel",de):te[D]<te[B]&&this.option("zoomLevel",B))},_initCurrentDate:function(){var B=this._getNormalizedDate(this._dateOption("value"))||this._getNormalizedDate(this.option("currentDate"));this.option("currentDate",B)},_getNormalizedDate:function(B){return B=h.Z.normalizeDate(B,this._getMinDate(),this._getMaxDate()),(0,K.$K)(B)?this._getDate(B):B},_initActions:function(){this._cellClickAction=this._createActionByOption("onCellClick"),this._onContouredChanged=this._createActionByOption("onContouredChanged")},_initTemplates:function(){this._templateManager.addDefaultTemplates({cell:new Ne.k(function(B){var de=B.model;
1(0,i.Z)(B.container).append((0,i.Z)("<span>").text(de&&de.text||String(de)))})}),this.callBase()},_updateCurrentDate:function(B){if(ge.Z.isAnimating(this._$viewsWrapper)&&ge.Z.stop(this._$viewsWrapper,!0),this._getMinDate()>this._getMaxDate())this.option("currentDate",new Date);else{var m=this._getNormalizedDate(B);if(B.getTime()===m.getTime()){var ee=this._getViewsOffset(this._view.option("date"),m);0!==ee&&!this._isMaxZoomLevel()&&this._isOtherViewCellClicked&&(ee=0),this._view&&0!==ee&&!this._suppressNavigation?this._navigate(ee,m):(this._renderNavigator(),this._setViewContoured(m),this._updateAriaId(m))}else this.option("currentDate",new Date(m))}},_setViewContoured:function(B){(this.option("skipFocusCheck")||function Fe(B){return B.hasClass("dx-state-focused")}(this._focusTarget()))&&this._view.option("contouredDate",B)},_getMinDate:function(){return this.min||(this.min=this._dateOption("min")||new Date(1e3,0)),this.min},_getMaxDate:function(){return this.max||(this.max=this._dateOption("max")||new Date(3e3,0)),this.max},_getViewsOffset:function(B,de){var m,D=this.option("zoomLevel");if("month"===D)return this._getMonthsOffset(B,de);switch(D){case"century":m=100;break;case"decade":m=10;break;default:m=1}return parseInt(de.getFullYear()/m)-parseInt(B.getFullYear()/m)},_getMonthsOffset:function(B,de){return 12*(de.getFullYear()-B.getFullYear())+(de.getMonth()-B.getMonth())},_waitRenderView:function(B){if(!this._alreadyViewRender){this._alreadyViewRender=!0;var de=this._getDateByOffset(B*this._getRtlCorrection());this._moveToClosestAvailableDate(de),this._waitRenderViewTimeout=setTimeout(()=>{this._alreadyViewRender=!1})}},_getRtlCorrection:function(){return this.option("rtlEnabled")?-1:1},_getDateByOffset:function(B,de){var D,m=(de=this._getDate(null!==(D=de)&&void 0!==D?D:this.option("currentDate"))).getDate(),ee=h.Z.getDifferenceInMonth(this.option("zoomLevel"))*B;de.setDate(1),de.setMonth(de.getMonth()+ee);var ve=h.Z.getLastMonthDate(de).getDate();return de.setDate(m>ve?ve:m),de},_focusTarget:function(){return this.$element()},_initMarkup:function(){this._renderSubmitElement(),this.callBase();var B=this.$element();B.addClass("dx-calendar"),this._renderBody(),B.append(this.$body),this._renderViews(),this._renderNavigator(),B.append(this._navigator.$element()),this._renderSwipeable(),this._renderFooter(),this._updateAriaSelected(),this._updateAriaId(),this._moveToClosestAvailableDate()},_render:function(){this.callBase(),this._setViewContoured(this.option("currentDate"))},_renderBody:function(){this._$viewsWrapper||(this.$body=(0,i.Z)("<div>").addClass("dx-calendar-body"),this._$viewsWrapper=(0,i.Z)("<div>").addClass("dx-calendar-views-wrapper"),this.$body.append(this._$viewsWrapper))},_getKeyboardListeners(){return this.callBase().concat([this._view])},_renderViews:function(){this.$element().addClass(Qe+"-"+this.option("zoomLevel"));var B=this.option("currentDate");if(this._view=this._renderSpecificView(B),(0,ke.Ym)()){var de=this._getDateByOffset(-1,B);this._beforeView=this._isViewAvailable(de)?this._renderSpecificView(de):null;var D=this._getDateByOffset(1,B);D.setDate(1),this._afterView=this._isViewAvailable(D)?this._renderSpecificView(D):null}this._translateViews()},_renderSpecificView:function(B){var de=y[this.option("zoomLevel")],D=(0,i.Z)("<div>").appendTo(this._$viewsWrapper),m=this._viewConfig(B);return this._createComponent(D,de,m)},_viewConfig:function(B){var de,D=this.option("disabledDates");return D=(0,K.mf)(D)?this._injectComponent(D.bind(this)):D,{date:B,min:this._getMinDate(),max:this._getMaxDate(),firstDayOfWeek:null!==(de=this.option("firstDayOfWeek"))&&void 0!==de?de:l.Z.firstDayOfWeekIndex(),showWeekNumbers:this.option("showWeekNumbers"),weekNumberRule:this.option("weekNumberRule"),zoomLevel:this.option("zoomLevel"),value:this._dateOption("value"),tabIndex:void 0,focusStateEnabled:this.option("focusStateEnabled"),hoverStateEnabled:this.option("hoverStateEnabled"),disabledDates:D,onCellClick:this._cellClickHandler.bind(this),cellTemplate:this._getTemplateByOption("cellTemplate"),allowValueSelection:this._isMaxZoomLevel(),_todayDate:this.option("_todayDate")}},_injectComponent:function(B){var de=this;return function(D){return(0,I.l)(D,{component:de}),B(D)}},_isViewAvailable:function(B){var de=this.option("zoomLevel"),D=h.Z.getViewMinBoundaryDate(de,this._getMinDate()),m=h.Z.getViewMaxB
1oundaryDate(de,this._getMaxDate());return h.Z.dateInRange(B,D,m)},_translateViews:function(){(0,se.pB)(this._view.$element(),{left:0,top:0}),this._beforeView&&(0,se.pB)(this._beforeView.$element(),{left:this._getViewPosition(-1),top:0}),this._afterView&&(0,se.pB)(this._afterView.$element(),{left:this._getViewPosition(1),top:0})},_getViewPosition:function(B){return 100*B*(this.option("rtlEnabled")?-1:1)+"%"},_cellClickHandler:function(B){var de=this.option("zoomLevel"),D=h.Z.getViewDown(de),m=this._isMaxZoomLevel();if(D&&!m)this._navigateDown(B.event.currentTarget);else{var ee=this._updateTimeComponent(B.value);this._dateValue(ee,B.event),this._cellClickAction(B)}},_updateTimeComponent:function(B){var de=new Date(B),D=this._dateOption("value");return D&&(de.setHours(D.getHours()),de.setMinutes(D.getMinutes()),de.setSeconds(D.getSeconds()),de.setMilliseconds(D.getMilliseconds())),de},_isMaxZoomLevel:function(){return this.option("zoomLevel")===this.option("maxZoomLevel")},_navigateDown:function(B){var de=this.option("zoomLevel");if(!this._isMaxZoomLevel()){var D=h.Z.getViewDown(de);if(D){var m=this._view.option("contouredDate")||this._view.option("date");B&&(m=(0,i.Z)(B).data("dxDateValueKey")),this._isOtherViewCellClicked=!0,this.option("currentDate",m),this.option("zoomLevel",D),this._isOtherViewCellClicked=!1,this._renderNavigator(),this._animateShowView(),this._moveToClosestAvailableDate(),this._setViewContoured(this._getNormalizedDate(this.option("currentDate")))}}},_renderNavigator:function(){this._navigator||(this._navigator=new ue((0,i.Z)("<div>"),this._navigatorConfig())),this._navigator.option("text",this._view.getNavigatorCaption()),this._updateButtonsVisibility()},_navigatorConfig:function(){return{text:this._view.getNavigatorCaption(),onClick:this._navigatorClickHandler.bind(this),onCaptionClick:this._navigateUp.bind(this),rtlEnabled:this.option("rtlEnabled")}},_navigatorClickHandler:function(B){var de=this._getDateByOffset(B.direction,this.option("currentDate"));this._moveToClosestAvailableDate(de)},_navigateUp:function(){var B=this.option("zoomLevel"),de=h.Z.getViewUp(B);!de||this._isMinZoomLevel(B)||(this.option("zoomLevel",de),this._renderNavigator(),this._animateShowView(),this._moveToClosestAvailableDate(),this._setViewContoured(this._getNormalizedDate(this.option("currentDate"))))},_isMinZoomLevel:function(B){var de=this._getMinDate(),D=this._getMaxDate();return h.Z.sameView(B,de,D)||this.option("minZoomLevel")===B},_updateButtonsVisibility:function(){this._navigator.toggleButton("next",!(0,K.$K)(this._getRequiredView("next"))),this._navigator.toggleButton("prev",!(0,K.$K)(this._getRequiredView("prev")))},_renderSwipeable:function(){this._swipeable||(this._swipeable=this._createComponent(this.$element(),u.Z,{onStart:this._swipeStartHandler.bind(this),onUpdated:this._swipeUpdateHandler.bind(this),onEnd:this._swipeEndHandler.bind(this),itemSizeFunc:this._viewWidth.bind(this)}))},_swipeStartHandler:function(B){ge.Z.stop(this._$viewsWrapper,!0),B.event.maxLeftOffset=this._getRequiredView("next")?1:0,B.event.maxRightOffset=this._getRequiredView("prev")?1:0},_getRequiredView:function(B){var de,D=this.option("rtlEnabled");return"next"===B?de=D?this._beforeView:this._afterView:"prev"===B&&(de=D?this._afterView:this._beforeView),de},_swipeUpdateHandler:function(B){var de=B.event.offset;(0,se.pB)(this._$viewsWrapper,{left:de*this._viewWidth(),top:0}),this._updateNavigatorCaption(de)},_swipeEndHandler:function(B){var de=B.event.targetOffset,D=de?de/Math.abs(de):0;if(0!==D){var m=this._getDateByOffset(-D*this._getRtlCorrection());this._isDateInInvalidRange(m)&&(m=D>=0?new Date(this._getMinDate()):new Date(this._getMaxDate())),this.option("currentDate",m)}else this._animateWrapper(0,250)},_viewWidth:function(){return this._viewWidthValue||(this._viewWidthValue=(0,n.dz)(this.$element())),this._viewWidthValue},_updateNavigatorCaption:function(B){B*=this._getRtlCorrection();var de=this._view;B>.5&&this._beforeView?de=this._beforeView:B<-.5&&this._afterView&&(de=this._afterView),this._navigator.option("text",de.getNavigatorCaption())},_isDateInInvalidRange:function(B){if(!this._view.isBoundary(B)){var de=this._getMinDate(),D=this._getMaxDate(),m=h.Z.normalizeDate(B,de,D);return m===de||m===D}},_renderFooter:function(){var B=this.option("showTodayButton");if(B){var de=this._createComponent((0,i.Z)("<a>"),H.Z,{focusStateEnabled:!1,text:L.Z.format("dxCalendar-todayButtonText"),onClick:function(D){this._toTodayView(D)}.bind(this),integrationOptions:{}}).$element().addClass("dx-calendar-today-button");this._$footer=(0,i.Z)("<div>").addClass("dx-calendar-footer").append(de),this.$element().append(this._$footer)}this.$element().toggleClass("dx-calendar-with-footer",B)},_renderSubmitElement:function(){this._$submitElement=(0,i.Z)("<input>").attr("type","hidden").appendTo(this.$element()),this._setSubmitValue(this.option("value"))},_setSubmitValue:function(B){var de=this._convertToDate(B);this._getSubmitElement().val(E.Z.serializeDate(de,"yyyy-MM-dd"))},_getSubmitElement:function(){return this._$submitElement},_animateShowView:function(){return ge.Z.stop(this._view.$element(),!0),this._popAnimationView(this._view,.6,1,250).promise()},_popAnimationView:function(B,de,D,m){return ge.Z.animate(B.$element(),{type:"pop",from:{scale:de,opacity:de},to:{scale:D,opacity:D},duration:m})},_navigate:function(B,de){if(0!==B&&1!==Math.abs(B)&&this._isViewAvailable(de)){var D=this._renderSpecificView(de);B>0?(this._afterView&&this._afterView.$element().remove(),this._afterView=D):(this._beforeView&&this._beforeView.$element().remove(),this._beforeView=D),this._translateViews()}var ve=-this._getRtlCorrection()*(B>0?1:B<0?-1:0)*this._viewWidth();this._$viewsWrapper.position().left!==ve&&(this._preventViewChangeAnimation?this._wrapperAnimationEndHandler(B,de):this._animateWrapper(ve,250).done(this._wrapperAnimationEndHandler.bind(this,B,de)))},_animateWrapper:function(B,de){return ge.Z.animate(this._$viewsWrapper,{type:"slide",from:{left:this._$viewsWrapper.position().left},to:{left:B},duration:de})},_getDate:B=>new Date(B),_toTodayView:function(B){this._saveValueChangeEvent(B.event);var de=new Date;this._isMaxZoomLevel()?this._dateOption("value",de):(this._preventViewChangeAnimation=!0,this.option("zoomLevel",this.option("maxZoomLevel")),this._dateOption("value",de),this._animateShowView(),this._preventViewChangeAnimation=!1)},_wrapperAnimationEndHandler:function(B,de){this._rearrangeViews(B),this._translateViews(),this._resetLocation(),this._renderNavigator(),this._setVie
1wContoured(de),this._updateAriaId(de),this._updateAriaSelected()},_rearrangeViews:function(B){var de,D,m;if(0!==B&&(B<0?(de=1,D="_beforeView",m="_afterView"):(de=-1,D="_afterView",m="_beforeView"),this[D])){var ee=this[D].option("date");this[m]&&this[m].$element().remove(),B===de?this[m]=this._view:(this[m]=this._renderSpecificView(this._getDateByOffset(de,ee)),this._view.$element().remove()),this._view=this[D];var ve=this._getDateByOffset(-de,ee);this[D]=this._isViewAvailable(ve)?this._renderSpecificView(ve):null}},_resetLocation:function(){(0,se.pB)(this._$viewsWrapper,{left:0,top:0})},_clean:function(){this.callBase(),this._clearViewWidthCache(),delete this._$viewsWrapper,delete this._navigator,delete this._$footer},_clearViewWidthCache:function(){delete this._viewWidthValue},_disposeViews:function(){this._view.$element().remove(),this._beforeView&&this._beforeView.$element().remove(),this._afterView&&this._afterView.$element().remove(),delete this._view,delete this._beforeView,delete this._afterView},_dispose:function(){clearTimeout(this._waitRenderViewTimeout),this.callBase()},_refreshViews:function(){this._disposeViews(),this._renderViews()},_visibilityChanged:function(){this._translateViews()},_focusInHandler:function(){this.callBase.apply(this,arguments),this._view.option("contouredDate",this.option("currentDate"))},_focusOutHandler:function(){this.callBase.apply(this,arguments),this._view.option("contouredDate",null)},_updateViewsValue:function(B){var de=B?new Date(B):null;this._view.option("value",de),this._beforeView&&this._beforeView.option("value",de),this._afterView&&this._afterView.option("value",de)},_updateAriaSelected:function(B,de){var D;B=null!==(D=B)&&void 0!==D?D:this._dateOption("value");var m=this._view._getCellByDate(de),ee=this._view._getCellByDate(B);this.setAria("selected",void 0,m),this.setAria("selected",!0,ee),B&&this.option("currentDate").getTime()===B.getTime()&&this._updateAriaId(B)},_updateAriaId:function(B){var de;B=null!==(de=B)&&void 0!==de?de:this.option("currentDate");var D="dx-"+new ie.Z,m=this._view._getCellByDate(B);this.setAria("id",D,m),this.setAria("activedescendant",D),this._onContouredChanged(D)},_suppressingNavigation:function(B,de){this._suppressNavigation=!0,B.apply(this,de),delete this._suppressNavigation},_optionChanged:function(B){var de=B.value,D=B.previousValue;switch(B.name){case"width":this.callBase(B),this._clearViewWidthCache();break;case"min":case"max":this.min=void 0,this.max=void 0,this._suppressingNavigation(this._updateCurrentDate,[this.option("currentDate")]),this._refreshViews(),this._renderNavigator();break;case"firstDayOfWeek":this._refreshViews(),this._updateButtonsVisibility();break;case"currentDate":this.setAria("id",void 0,this._view._getCellByDate(D)),this._updateCurrentDate(de);break;case"zoomLevel":this.$element().removeClass(Qe+"-"+D),this._correctZoomLevel(),this._refreshViews(),this._renderNavigator(),this._updateAriaId();break;case"minZoomLevel":case"maxZoomLevel":this._correctZoomLevel(),this._updateButtonsVisibility();break;case"value":de=this._convertToDate(de),D=this._convertToDate(D),this._updateAriaSelected(de,D),this.option("currentDate",(0,K.$K)(de)?new Date(de):new Date),this._updateViewsValue(de),this._setSubmitValue(de),this.callBase(B);break;case"onCellClick":this._view.option("onCellClick",de);break;case"onContouredChanged":this._onContouredChanged=this._createActionByOption("onContouredChanged");break;case"disabledDates":case"dateSerializationFormat":case"cellTemplate":case"showTodayButton":this._invalidate();break;case"skipFocusCheck":break;case"_todayDate":case"showWeekNumbers":case"weekNumberRule":this._refreshViews();break;default:this.callBase(B)}},getContouredDate:function(){return this._view.option("contouredDate")}});(0,A.Z)("dxCalendar",Ke);const we=Ke},24572:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Ue});var n=a(67771),i=a(64596),ie=a(16755),A=a(59150),x=a(83684),K=a(83520),W=a(29694),I=a(47685),H=a(12598),u="dx-invalid-message-auto",d="dx-validation-target";class F extends ie.Z{getProps(){var v=super.getProps();return v.onFocusIn=()=>
1{if("auto"===this.option("validationMessageMode")){var Ie=(0,K.Z)(function T(X,v){var re,Ie;return(null!==(re=null===(Ie=X.getRootNode)||void 0===Ie?void 0:Ie.call(X))&&void 0!==re?re:document).querySelector(v)}(this.element(),".dx-invalid-message.dx-overlay-wrapper"));Ie?.removeClass(u),this.showValidationMessageTimeout&&clearTimeout(this.showValidationMessageTimeout),this.showValidationMessageTimeout=setTimeout(()=>{Ie?.addClass(u)},150)}},v.saveValueChangeEvent=re=>{this._valueChangeEventInstance=re},v}_createElement(v){super._createElement(v),this.showValidationMessageTimeout=void 0,this.validationRequest=(0,I.Z)(),(0,W.aT)(this.$element()[0],d,this)}_render(){var v;null===(v=this.option("_onMarkupRendered"))||void 0===v||v()}_initializeComponent(){super._initializeComponent(),this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})}_initOptions(v){super._initOptions(v),this.option(A.Z.initValidationOptions(v))}_getDefaultOptions(){return(0,x.l)(super._getDefaultOptions(),{validationMessageOffset:{h:0,v:0},validationTooltipOptions:{}})}_bindInnerWidgetOptions(v,re){var Ie=(0,x.l)({},v.option()),Ze=()=>this._silent(re,Ie);Ze(),v.on("optionChanged",Ze)}_raiseValidation(v,re){var Ie=!(0,i.$K)(v)&&!(0,i.$K)(re);v!==re&&!Ie&&this.validationRequest.fire({value:v,editor:this})}_raiseValueChangeAction(v,re){var Ie;null===(Ie=this._valueChangeAction)||void 0===Ie||Ie.call(this,{element:this.$element(),previousValue:re,value:v,event:this._valueChangeEventInstance}),this._valueChangeEventInstance=void 0}_optionChanged(v){var{name:re,previousValue:Ie,value:Ze}=v;switch(re&&void 0!==this._getActionConfigs()[re]&&this._addAction(re),re){case"value":this._raiseValidation(Ze,Ie),this._raiseValueChangeAction(Ze,Ie);break;case"onValueChanged":this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]});break;case"isValid":case"validationError":case"validationErrors":case"validationStatus":this.option(A.Z.synchronizeValidationOptions(v,this.option()))}super._optionChanged(v)}reset(){var{value:v}=this._getDefaultOptions();this.option({value:v})}_dispose(){super._dispose(),(0,W.aT)(this.element(),d,null),this.showValidationMessageTimeout&&clearTimeout(this.showValidationMessageTimeout)}}var q=H.Z.isEditor,U=X=>q(X)||X instanceof F;F.isEditor=U,H.Z.isEditor=U;class Y extends F{_useTemplates(){return!1}_isFocused(){return this.$element()[0].classList.contains("dx-state-focused")}getSupportedKeyNames(){return["space"]}getProps(){var v=super.getProps();return null!==v.value&&(v.value=Boolean(v.value)),v}}var S=a(63366),c=a(87462),g=a(72954),b=a(46444),ue=a(13921),N=a(41760),Z=a(70533),V=a(24849),ne=a(96499),h=a(1751),E=a(32845),L=["dataSource","selectedRowKeys"],M={integrationOptions:!0};function w(X,v,re){return{path:X,value:v,previousValue:re}}function Q(X,v,re,Ie,Ze,nt){if(!M[Ie]){var it=(0,i.dt)(v),at=(0,i.dt)(re);if(v!==re)if(it!==at)X.push(w(Ie,re,v));else if("object"===it)if((0,i.PO)(re)){var ut=ce(v,re,Ze,nt);X.push(...ut.map(Ot=>(0,c.Z)({},Ot,{path:"".concat(Ie,".").concat(Ot.path)})))}else X.push(w(Ie,re,v));else if("array"===it)if(nt.some(Ot=>Ze.includes(Ot))&&v!==re)X.push(w(Ie,re,v));else if(v.length!==re.length)X.push(w(Ie,re,v));else{var mt=ce(v,re,Ze,nt);[].push.apply(X,mt.map(Ot=>(0,c.Z)({},Ot,{path:"".concat(Ie).concat(Ot.path)})))}else X.push(w(Ie,re,v))}}var ae=X=>(v,re,Ie,Ze)=>{var nt=[],it=Array.isArray(v)?at=>{Q(nt,v[at],re[at],"[".concat(at,"]"),"".concat(Ie,".").concat(at),Ze)}:at=>{Q(nt,v[at],re[at],at,"".concat(Ie,".").concat(at),Ze)};return X(v).forEach(it),Object.keys(re).filter(at=>!Object.prototype.hasOwnProperty.call(v,at)&&v[at]!==re[at]).forEach(at=>{nt.push({path:at,value:re[at],previousValue:v[at]})}),nt},ce=ae(X=>Object.keys(X)),Me={key:!0,ref:!0,children:!0,style:!0},pe=ae(X=>Object.keys(X).filter(v=>!Me[v])),Ce=["valueChange"],J=["componentProps","componentType","templateNames"],z=X=>Object.keys(X).reduce((v,re)=>(void 0!==X[re]&&(v[re]=X[re]),v),{}),Oe={};let O=(()=>{class X extends b.OS{constructor(re){super(re),this.state={}
1,this.widgetRef=(0,g.Vf)(),this.getInstance=this.getInstance.bind(this),this.setupWidget=this.setupWidget.bind(this),this.updateWidget=this.updateWidget.bind(this)}get config(){return this.context[E.E.id]?this.context[E.E.id]:E.E.defaultValue}createEffects(){return[new b.b0(this.setupWidget,[]),new b.b0(this.updateWidget,[this.props.componentProps,this.config,this.props.templateNames])]}updateEffects(){var re;null===(re=this._effects[1])||void 0===re||re.update([this.props.componentProps,this.config,this.props.templateNames])}setupWidget(){var re=new this.props.componentType(this.widgetRef.current,this.properties);return this.instance=re,()=>{re.dispose(),this.instance=null}}updateWidget(){var re=this.getInstance();if(re){var Ie=function Se(X,v){return pe(X,v,"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:L)}(this.prevProps||{},this.properties);Ie.length&&(re.beginUpdate(),Ie.forEach(Ze=>{var{path:nt,value:it}=Ze;re.option(nt,it)}),re.endUpdate()),this.prevProps=this.properties}}get properties(){var re,Ie=z(this.props.componentProps),{valueChange:Ze}=Ie,nt=(0,S.Z)(Ie,Ce),it=(0,c.Z)({rtlEnabled:!(null===(re=this.config)||void 0===re||!re.rtlEnabled),isRenovated:!0},nt);return Ze&&(it.onValueChanged=ut=>{var{value:ct}=ut;return Ze(ct)}),this.props.templateNames.forEach(ut=>{(0,b._V)(ut,it,this)&&(it[ut]=(ct,mt,Ot)=>{(0,b.SM)(this.props.componentProps[ut],{item:ct,index:mt,container:Ot},this)})}),it}get restAttributes(){return(0,S.Z)(this.props,J)}getInstance(){return this.instance}render(){return(X=>{var{props:{componentProps:{className:v}},restAttributes:re,widgetRef:Ie}=X;return z((0,g.Wm)(1,"div",v,null,1,(0,c.Z)({},re),null,Ie))})({props:(0,c.Z)({},this.props),widgetRef:this.widgetRef,config:this.config,properties:this.properties,restAttributes:this.restAttributes})}}return X.defaultProps=Oe,X})();var l=["accessKey","activeStateEnabled","boundary","className","contentId","disabled","focusStateEnabled","height","hint","hoverStateEnabled","mode","offset","onClick","onKeyDown","positionSide","rtlEnabled","tabIndex","target","validationErrors","visible","visualContainer","width"],ye=Object.create(Object.prototype,(0,c.Z)(Object.getOwnPropertyDescriptors(V.O),Object.getOwnPropertyDescriptors({mode:"auto",positionSide:"top",offset:Object.freeze({h:0,v:0}),isReactComponentWrapper:!0})));let R=(()=>{class X extends b.Ul{constructor(re){super(re),this.state={}}get componentProps(){return this.props}get restAttributes(){return(0,S.Z)(this.props,l)}render(){return(X=>{var{componentProps:v,restAttributes:re}=X;return(0,g.vs)((0,g.Iz)(2,O,(0,c.Z)({componentType:h.Z,componentProps:v,templateNames:[]},re)))})({props:(0,c.Z)({},this.props),componentProps:this.componentProps,restAttributes:this.restAttributes})}}return X.defaultProps=ye,X})();var p=a(43540),y=["accessKey","activeStateEnabled","aria","children","className","classes","defaultValue","disabled","focusStateEnabled","height","hint","hoverStateEnabled","inputAttr","isValid","name","onClick","onFocusIn","onKeyDown","readOnly","rtlEnabled","tabIndex","validationError","validationErrors","validationMessageMode","validationMessagePosition","validationStatus","value","valueChange","visible","width"],ge=Object.create(Object.prototype,(0,c.Z)(Object.getOwnPropertyDescriptors(V.O),Object.getOwnPropertyDescriptors({readOnly:!1,name:"",validationError:null,validationErrors:null,validationMessageMode:"auto",validationMessagePosition:"bottom",validationStatus:"valid",isValid:!0,inputAttr:Object.freeze({}),defaultValue:null,valueChange:()=>{}}))),ke={get readOnly(){return ge.readOnly},get name(){return ge.name},get validationError(){return ge.validationError},get validationErrors(){return ge.validationErrors},get validationMessageMode(){return ge.validationMessageMode},get validationMessagePosition(){return ge.validationMessagePosition},get validationStatus(){return ge.validationStatus},get isValid(){return ge.isValid},get inputAttr(){return ge.inputAttr},get defaultValue(){return ge.defaultValue},get valueChange(){return ge.valueChange},get className(){return ge.className},get activeStateEnabled(){return ge.activeStateEnabled},get disabled(){return ge.disabled},get focusStateEnabled(){return ge.focusStateEnabled},get hoverStateEnabled(){return ge.hoverStateEnabled},get tabIndex(){return ge.tabIndex},get visible(){return ge.visible},get aria(){return Z.W6.aria},get classes(){return Z.W6.classes}};
1class Ne extends b.DZ{constructor(v){super(v),this.widgetRef=(0,g.Vf)(),this.rootElementRef=(0,g.Vf)(),this.__getterCache={},this.state={validationMessageGuid:"dx-".concat(new N.Z),isValidationMessageVisible:!1,value:void 0!==this.props.value?this.props.value:this.props.defaultValue},this.updateValidationMessageVisibility=this.updateValidationMessageVisibility.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.onFocusIn=this.onFocusIn.bind(this)}createEffects(){return[new b.b0(this.updateValidationMessageVisibility,[this.props.isValid,this.props.validationStatus,this.props.validationError,this.props.validationErrors]),(0,b.gt)()]}updateEffects(){var v;null===(v=this._effects[0])||void 0===v||v.update([this.props.isValid,this.props.validationStatus,this.props.validationError,this.props.validationErrors])}updateValidationMessageVisibility(){this.setState(v=>({isValidationMessageVisible:this.shouldShowValidationMessage}))}onFocusIn(v){var{onFocusIn:re}=this.props;re?.(v)}get cssClasses(){return"".concat((X=>{var{classes:v,isValid:re,readOnly:Ie}=X,Ze={"dx-state-readonly":!!Ie,"dx-invalid":!re,["".concat(v)]:!!v};return(0,ne.G)(Ze)})((0,c.Z)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value})))}get shouldShowValidationMessage(){var v,{isValid:re,validationStatus:Ie}=this.props,Ze=null!==(v=this.validationErrors)&&void 0!==v?v:[];return!(re&&"invalid"!==Ie)&&Ze.length>0}get aria(){var{isValid:v,readOnly:re}=this.props,Ie={readonly:re?"true":"false",invalid:v?"false":"true"};return this.shouldShowValidationMessage&&(Ie.describedBy=this.state.validationMessageGuid),(0,c.Z)({},Ie,this.props.aria)}get validationErrors(){return void 0!==this.__getterCache.validationErrors?this.__getterCache.validationErrors:this.__getterCache.validationErrors=(()=>{var{validationError:v,validationErrors:re}=this.props,Ie=re&&[...re];return!Ie&&v&&(Ie=[(0,c.Z)({},v)]),Ie})()}get validationMessageTarget(){var v;return null===(v=this.rootElementRef)||void 0===v?void 0:v.current}get restAttributes(){var v=(0,c.Z)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value});return(0,S.Z)(v,y)}focus(){this.widgetRef.current.focus()}blur(){this.widgetRef.current.blur()}componentWillUpdate(v,re,Ie){super.componentWillUpdate(),(this.props.validationError!==v.validationError||this.props.validationErrors!==v.validationErrors)&&(this.__getterCache.validationErrors=void 0)}render(){return(X=>{var{aria:v,cssClasses:re,isValidationMessageVisible:Ie,onFocusIn:Ze,props:{accessKey:nt,activeStateEnabled:it,children:at,className:ut,disabled:ct,focusStateEnabled:mt,height:Ot,hint:Ct,hoverStateEnabled:xt,onClick:yt,onKeyDown:Tt,rtlEnabled:St,tabIndex:Et,validationMessageMode:wt,validationMessagePosition:Zt,visible:Nt,width:Yt},restAttributes:Jt,rootElementRef:Kt,validationErrors:kt,validationMessageGuid:At,validationMessageTarget:Ht,widgetRef:Wt}=X;return(0,g.vs)((0,g.Iz)(2,Z.$L,(0,c.Z)({rootElementRef:Kt,aria:v,classes:re,activeStateEnabled:it,focusStateEnabled:mt,hoverStateEnabled:xt,accessKey:nt,className:ut,rtlEnabled:St,hint:Ct,disabled:ct,height:Ot,width:Yt,onFocusIn:Ze,onClick:yt,onKeyDown:Tt,tabIndex:Et,visible:Nt},Jt,{children:(0,g.xJ)([at,Ie&&(0,g.Iz)(2,R,{validationErrors:kt,mode:wt,positionSide:Zt,rtlEnabled:St,target:Ht,boundary:Ht,visualContainer:Ht,contentId:At})],0)}),null,Wt))})({props:(0,c.Z)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value}),validationMessageGuid:this.state.validationMessageGuid,isValidationMessageVisible:this.state.isValidationMessageVisible,rootElementRef:this.rootElementRef,widgetRef:this.widgetRef,onFocusIn:this.onFocusIn,cssClasses:this.cssClasses,shouldShowValidationMessage:this.shouldShowValidationMessage,aria:this.aria,validationErrors:this.validationErrors,validationMessageTarget:this.validationMessageTarget,restAttributes:this.restAttributes})}}Ne.defaultProps=ke;var Pe=a(34500),He=a(47455),je=a(28961),Qe=[[22,16],[18,16]],We=[[[12,8],[20,18]],[[16,10],[16,14]]];function Xe(){var X=(0,je.Vk)();return{isMaterialTheme:(0,je.x2)(X),isCompactTheme:(0,je.f5)(X)}}var P=["isChecked","size"],Te={isChecked:!1}
1;let Fe=(()=>{class X extends b.OS{constructor(re){super(re),this.state={},this.elementRef=(0,g.Vf)(),this.__getterCache={},this.updateFontSize=this.updateFontSize.bind(this),this.setIconFontSize=this.setIconFontSize.bind(this),this.getIconSize=this.getIconSize.bind(this),this.getComputedIconSize=this.getComputedIconSize.bind(this)}createEffects(){return[new b.b0(this.updateFontSize,[this.props.isChecked,this.props.size])]}updateEffects(){var re;null===(re=this._effects[0])||void 0===re||re.update([this.props.isChecked,this.props.size])}updateFontSize(){var{isChecked:re,size:Ie}=this.props;if((0,Pe.Ym)()&&Ie){var nt=function k(X,v){var re=function et(X){var{isCompactTheme:v,isMaterialTheme:re}=Xe();return We[+X][+re][+v]}(v),Ie=function me(){var{isCompactTheme:X,isMaterialTheme:v}=Xe();return Qe[+v][+X]}();return Math.ceil(re/Ie*X)}(this.getIconSize(Ie),re);this.setIconFontSize(nt)}}setIconFontSize(re){this.elementRef.current.style.fontSize="".concat(re,"px")}getIconSize(re){return(0,i.kE)(re)?re:re.endsWith("px")?parseInt(re,10):this.getComputedIconSize()}getComputedIconSize(){var Ie=function fe(X){var v,re=(0,Pe.Jj)();return X?null===(v=re.getComputedStyle)||void 0===v?void 0:v.call(re,X):null}(this.elementRef.current);return parseInt(Ie?.width,10)}get cssStyles(){return void 0!==this.__getterCache.cssStyles?this.__getterCache.cssStyles:this.__getterCache.cssStyles=(()=>{var{size:re}=this.props,Ie=(0,He.bh)("width",re);return{height:(0,He.bh)("height",re),width:Ie}})()}get restAttributes(){return(0,S.Z)(this.props,P)}componentWillUpdate(re,Ie,Ze){super.componentWillUpdate(),this.props.size!==re.size&&(this.__getterCache.cssStyles=void 0)}render(){return(X=>{var{cssStyles:v,elementRef:re}=X;return(0,g.Wm)(1,"span","dx-checkbox-icon",null,1,{style:(0,b.jk)(v)},null,re)})({props:(0,c.Z)({},this.props),elementRef:this.elementRef,setIconFontSize:this.setIconFontSize,getIconSize:this.getIconSize,getComputedIconSize:this.getComputedIconSize,cssStyles:this.cssStyles,restAttributes:this.restAttributes})}}return X.defaultProps=Te,X})();var Ke=["accessKey","activeStateEnabled","aria","className","defaultValue","disabled","enableThreeStateBehavior","focusStateEnabled","height","hint","hoverStateEnabled","iconSize","inputAttr","isValid","name","onClick","onFocusIn","onKeyDown","readOnly","rtlEnabled","saveValueChangeEvent","tabIndex","text","validationError","validationErrors","validationMessageMode","validationMessagePosition","validationStatus","value","valueChange","visible","width"],B=Object.create(Object.prototype,(0,c.Z)(Object.getOwnPropertyDescriptors(ge),Object.getOwnPropertyDescriptors({text:"",enableThreeStateBehavior:!1,activeStateEnabled:!0,hoverStateEnabled:!0,get focusStateEnabled(){return"desktop"===ue.Z.real().deviceType&&!ue.Z.isSimulator()},defaultValue:!1,valueChange:()=>{}}))),de={get text(){return B.text},get enableThreeStateBehavior(){return B.enableThreeStateBehavior},get activeStateEnabled(){return B.activeStateEnabled},get hoverStateEnabled(){return B.hoverStateEnabled},get focusStateEnabled(){return B.focusStateEnabled},get defaultValue(){return B.defaultValue},get valueChange(){return B.valueChange},get readOnly(){return B.readOnly},get name(){return B.name},get validationError(){return B.validationError},get validationErrors(){return B.validationErrors},get validationMessageMode(){return B.validationMessageMode},get validationMessagePosition(){return B.validationMessagePosition},get validationStatus(){return B.validationStatus},get isValid(){return B.isValid},get inputAttr(){return B.inputAttr},get className(){return B.className},get disabled(){return B.disabled},get tabIndex(){return B.tabIndex},get visible(){return B.visible},get aria(){return Z.W6.aria}};class D extends b.DZ{constructor(v){super(v),this.editorRef=(0,g.Vf)(),this.state={value:void 0!==this.props.value?this.props.value:this.props.defaultValue},this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.onWidgetClick=this.onWidgetClick.bind(this),this.keyDown=this.keyDown.bind(this)}createEffects(){return[(0,b.gt)()]}onWidgetClick(v){var{enableThreeStateBehavior:re,readOnly:Ie,saveValueChangeEvent:Ze}=this.props;if(!Ie)if(Ze?.(v),re){var nt;this.setState(at=>({value:nt=null===(void 0!==this.props.value?this.props.value:at.value)||!(void 0!==this.props.value?this.props.value:at.value)&&null})),this.props.valueChange(nt)}else{var it;this.setState(at=>{var ut;return{value:it=!(null!==(ut=void 0!==this.props.value?this.props.value:at.value)&&void 0!==ut&&ut)}}),this.props.valueChange(it)}}keyDown(v){var{onKeyDown:re}=this.props,{keyName:Ie,originalEvent:Ze,which:nt}=v,it=re?.(v);if(null!=it&&it.cancel)return it;
1("space"===Ie||"space"===nt)&&(Ze.preventDefault(),this.onWidgetClick(Ze))}get cssClasses(){return(X=>{var{text:v,value:re}=X;return(0,ne.G)({"dx-checkbox":!0,"dx-checkbox-checked":!0===re,"dx-checkbox-has-text":!!v,"dx-checkbox-indeterminate":null===re})})((0,c.Z)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value}))}get aria(){var Ie={role:"checkbox",checked:null===(void 0!==this.props.value?this.props.value:this.state.value)?"mixed":"".concat(!0===(void 0!==this.props.value?this.props.value:this.state.value))};return(0,c.Z)({},Ie,this.props.aria)}get restAttributes(){var v=(0,c.Z)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value});return(0,S.Z)(v,Ke)}focus(){this.editorRef.current.focus()}blur(){this.editorRef.current.blur()}render(){return(X=>{var{aria:v,cssClasses:re,editorRef:Ie,keyDown:Ze,onWidgetClick:nt,props:{accessKey:it,activeStateEnabled:at,className:ut,disabled:ct,focusStateEnabled:mt,height:Ot,hint:Ct,hoverStateEnabled:xt,iconSize:yt,isValid:Tt,name:St,onFocusIn:Et,readOnly:wt,rtlEnabled:Zt,tabIndex:Nt,text:Yt,validationError:Jt,validationErrors:Kt,validationMessageMode:kt,validationMessagePosition:At,validationStatus:Ht,value:Wt,visible:Mt,width:Xt},restAttributes:he}=X;return(0,g.vs)((0,g.Iz)(2,Ne,(0,c.Z)({aria:v,classes:re,onClick:nt,onKeyDown:Ze,accessKey:it,activeStateEnabled:at,focusStateEnabled:mt,hoverStateEnabled:xt,className:ut,disabled:ct,readOnly:wt,hint:Ct,height:Ot,width:Xt,rtlEnabled:Zt,tabIndex:Nt,visible:Mt,validationError:Jt,validationErrors:Kt,validationMessageMode:kt,validationMessagePosition:At,validationStatus:Ht,isValid:Tt,onFocusIn:Et},he,{children:(0,g.xJ)([(0,g.vs)((0,g.Wm)(64,"input",null,null,1,(0,c.Z)({type:"hidden",value:"".concat(Wt)},St&&{name:St}))),(0,g.Wm)(1,"div","dx-checkbox-container",[(0,g.Iz)(2,Fe,{size:yt,isChecked:!0===Wt}),Yt&&(0,g.Wm)(1,"span","dx-checkbox-text",Yt,0)],0)],4)}),null,Ie))})({props:(0,c.Z)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value}),editorRef:this.editorRef,onWidgetClick:this.onWidgetClick,keyDown:this.keyDown,cssClasses:this.cssClasses,aria:this.aria,restAttributes:this.restAttributes})}}D.defaultProps=de;var ee=[];class Be extends Y{getProps(){var v=super.getProps();return v.onKeyDown=this._wrapKeyDownHandler(v.onKeyDown),v}focus(){var v;return null===(v=this.viewRef)||void 0===v?void 0:v.focus(...arguments)}blur(){var v;return null===(v=this.viewRef)||void 0===v?void 0:v.blur(...arguments)}_getActionConfigs(){return{onFocusIn:{},onClick:{}}}get _propsInfo(){return{twoWay:[["value","defaultValue","valueChange"]],allowNull:["defaultValue","validationError","validationErrors","value"],elements:[],templates:[],props:["text","iconSize","enableThreeStateBehavior","activeStateEnabled","hoverStateEnabled","focusStateEnabled","saveValueChangeEvent","defaultValue","valueChange","readOnly","name","validationError","validationErrors","validationMessageMode","validationMessagePosition","validationStatus","isValid","inputAttr","onFocusIn","className","accessKey","disabled","height","hint","onClick","onKeyDown","rtlEnabled","tabIndex","visible","width","aria","value"]}}get _viewComponent(){return D}}(0,n.Z)("dxCheckBox",Be),Be.defaultOptions=function ve(X){ee.push(X),D.defaultProps=Object.create(Object.prototype,(0,c.Z)(Object.getOwnPropertyDescriptors(D.defaultProps),Object.getOwnPropertyDescriptors(function m(X){var v=["value"];return Object.keys(X).reduce((re,Ie)=>{var Ze=X[Ie];return re[v.some(it=>it===Ie)?"default"+Ie.charAt(0).toUpperCase()+Ie.slice(1):Ie]=Ze,re},{})}((0,p.wt)(ee)))))};const Ue=Be},69388:(Je,Ae,a)=>{a.d(Ae,{Z:()=>T});var n=a(83520),i=a(24245),ie=a(91553),A=a(69055),H=i.Z.inherit({ctor:function(u,d,F){this._$element=u,this._options=d,this._rawData=F,(0,A.nf)(u,this,this._dispose),this._render()},_render:function(){var u=(0,n.Z)("<div>").addClass("dx-item-content-placeholder");this._$element.append(u),this._watchers=[],this._renderWatchers()},_renderWatchers:function(){this._startWatcher("disabled",this._renderDisabled.bind(this)),this._startWatcher("visible",this._renderVisible.bind(this))},_startWatcher:function(u,d){var F=this._rawData,q=this._options.fieldGetter(u),U=function(u,d,F){var U,q=function(Y){U!==Y&&(F(Y,U),U=Y)};return{dispose:u(d,q),force:function(){q(d())}}}(this._options.watchMethod(),function(){return q(F)},function(Y,S){this._dirty=!0,d(Y,S)}.bind(this));this._watchers.push(U)},setDataField:function(){if(this._dirty=!1,(0,ie.S6)(this._watchers,function(u,d){d.force()}),this._dirty)return!0},_renderDisabled:function(u,d){this._$element.toggleClass("dx-state-disabled",!!u),this._updateOwnerFocus(u)},_updateOwnerFocus:function(u){var d=this._options.owner;d&&u&&d._resetItemFocus(this._$element)},_renderVisible:function(u,d){this._$element.toggleClass("dx-state-invisible",void 0!==u&&!u)},_dispose:function(){(0,ie.S6)(this._watchers,function(u,d){d.dispose()})}});H.getInstance=function(u){return(0,A.Bt)(u,this)};const T=H},14385:(Je,Ae,a)=>{a.d(Ae,{Z:()=>de});var n=a(83520),i=a(24705),ie=a(21374),A=a(56836),x=a(16667),K=a(37075),W=a(68082),I=a(64596),H=a(80316),T=a(83684),u=a(91553),d=a(24388),F=a(41760),q=a(46068),U=a(16129),Y=a(45390),S=a(30469),c=a(69388),g=
1a(48360),b=a(40911),ue=a(61446),N=a(31996),Z=a(1037),V=a(45303),ne=a(13921),h=a(24245),E=a(3053),L="dxContexMenu",M=(0,U.V4)("contextmenu",L),w=(0,U.V4)(ue.Z.name,L),Q="dxcontextmenu",ae=h.Z.inherit({setup:function(D){var m=(0,n.Z)(D);i.Z.on(m,M,this._contextMenuHandler.bind(this)),(V.touch||ne.Z.isSimulator())&&i.Z.on(m,w,this._holdHandler.bind(this))},_holdHandler:function(D){(0,U.N5)(D)&&!ne.Z.isSimulator()||this._fireContextMenu(D)},_contextMenuHandler:function(D){this._fireContextMenu(D)},_fireContextMenu:function(D){return(0,U.BX)({type:Q,originalEvent:D})},teardown:function(D){i.Z.off(D,"."+L)}});(0,E.Z)(Q,new ae);var ce=Q,Me=a(98595),Se="dx-item",Ce="-content",J="dx-item-content-placeholder",R="dx-template-wrapper",p=/^([^.]+\[\d+\]\.)+([\w.]+)$/,De="down",Pe=q.Z.inherit({_activeStateUnit:"."+Se,_supportedKeys:function(){var D=function(ee){var ve=(0,n.Z)(this.option("focusedElement"));ve.length&&this._itemClickHandler((0,T.l)({},ee,{target:ve.get(0),currentTarget:ve.get(0)}))},m=function(ee,ve){(0,U.j1)(ve)||(ve.preventDefault(),ve.stopPropagation(),this._moveFocus(ee,ve))};return(0,T.l)(this.callBase(),{space:function(ee){ee.preventDefault(),D.call(this,ee)},enter:D,leftArrow:m.bind(this,"left"),rightArrow:m.bind(this,"right"),upArrow:m.bind(this,"up"),downArrow:m.bind(this,De),pageUp:m.bind(this,"up"),pageDown:m.bind(this,De),home:m.bind(this,"first"),end:m.bind(this,"last")})},_getDefaultOptions:function(){return(0,T.l)(this.callBase(),{selectOnFocus:!1,loopItemFocus:!0,items:[],itemTemplate:"item",onItemRendered:null,onItemClick:null,onItemHold:null,itemHoldTimeout:750,onItemContextMenu:null,onFocusedItemChanged:null,noDataText:b.Z.format("dxCollectionWidget-noDataText"),encodeNoDataText:!1,dataSource:null,_dataController:null,_itemAttributes:{},itemTemplateProperty:"template",focusOnSelectedItem:!0,focusedElement:null,displayExpr:void 0,disabledExpr:function(D){return D?D.disabled:void 0},visibleExpr:function(D){return D?D.visible:void 0}})},_init:function(){this._compileDisplayGetter(),this._initDataController(),this.callBase(),this._cleanRenderedItems(),this._refreshDataSource()},_compileDisplayGetter:function(){var D=this.option("displayExpr");this._displayGetter=D?(0,N.vb)(this.option("displayExpr")):void 0},_initTemplates:function(){this._initItemsFromMarkup(),this._initDefaultItemTemplate(),this.callBase()},_getAnonymousTemplateName:function(){return"item"},_initDefaultItemTemplate:function(){var D=this._getFieldsMap();this._templateManager.addDefaultTemplates({item:new Me.c(function(m,ee){(0,I.PO)(ee)?this._prepareDefaultItemTemplate(ee,m):(D&&(0,I.mf)(D.text)&&(ee=D.text(ee)),m.text(String((0,A.IS)(ee,""))))}.bind(this),this._getBindableFields(),this.option("integrationOptions.watchMethod"),D)})},_getBindableFields:function(){return["text","html"]},_getFieldsMap:function(){if(this._displayGetter)return{text:this._displayGetter}},_prepareDefaultItemTemplate:function(D,m){(0,I.$K)(D.text)&&m.text(D.text),(0,I.$K)(D.html)&&m.html(D.html)},_initItemsFromMarkup:function(){var D=(0,x.hK)(this.$element(),"dxItem");if(D.length&&!this.option("items").length){var m=D.map(ee=>{var{element:ve,options:Be}=ee;return/\S/.test(ve.innerHTML)&&!Be.template?Be.template=this._prepareItemTemplate(ve):(0,n.Z)(ve).remove(),Be});this.option("items",m)}},_prepareItemTemplate:function(D){var m="tmpl-"+new F.Z,ee=(0,n.Z)(D).detach().clone().removeAttr("data-options").addClass(R);return this._saveTemplate(m,ee),m},_dataSourceOptions:function(){return{paginate:!1}},_cleanRenderedItems:function(){this._renderedItemsCount=0},_focusTarget:function(){return this.$element()},_focusInHandler:function(D){if(this.callBase.apply(this,arguments),this._isFocusTarget(D.target)){var m=(0,n.Z)(this.option("focusedElement"));if(m.length)this._setFocusedItem(m);else{var ee=this._getActiveItem();ee.length&&this.option("focusedElement",(0,K.u)(ee))}}},_focusOutHandler:function(){this.callBase.apply(this,arguments);var D=(0,n.Z)(this.option("focusedElement"));this._updateFocusedItemState(D,!1)},_getActiveItem:function(D){var m=(0,n.Z)(this.option("focusedElement"));if(m.length)return m;var ee=this.option("focusOnSelectedItem")?this.option("selectedIndex"):0,ve=this._getActiveElement();return ee<0&&(ee=D?ve.length-1:0),ve.eq(ee)},_moveFocus:function(D){var ee,m=this._getAvailableItems();switch(D){case"pageup":case"up":ee=this._prevItem(m);break;case"pagedown":case De:ee=this._nextItem(m);break;case"right":ee=this.option("rtlEnabled")?this._prevItem(m):this._nextItem(m);break;case"left":ee=this.option("rtlEnabled")?this._nextItem(m):this._prevItem(m);break;case"first":ee=m.first();break;case"last":ee=m.last();break;default:return!1}0!==ee.length&&this.option("focusedElement",(0,K.u)(ee))},_getVisibleItems:function(D){return(D=D||this._itemElements()).filter(":visible")},_getAvailableItems:function(D){return this._getVisibleItems(D).not(".dx-state-disabled")},_prevItem:function(D){var m=this._getActiveItem(),ee=D.index(m),ve=D.last(),Be=(0,n.Z)(D[ee-1]),Ue=this.option("loopItemFocus");return 0===Be.length&&Ue&&(Be=ve),Be},_nextItem:function(D){var m=this._getActiveItem(!0),ee=D.index(m),ve=D.first(),Be=(0,n.Z)(D[ee+1]),Ue=this.option("loopItemFocus");return 0===Be.length&&Ue&&(Be=ve),Be},_selectFocusedItem:function(D){this.selectItem(D)},_updateFocusedItemState:function(D,m,ee){var ve=(0,n.Z)(D);ve.length&&(this._refreshActiveDescendant(),this._refreshItemId(ve,ee),this._toggleFocusClass(m,ve)),this._updateParentActiveDescendant()},_refreshActiveDescendant:function(D){this.setAria("activedescendant",(0,I.$K)(this.option("focusedElement"))?this.getFocusedItemId():null,D)},_refreshItemId:function(D,m){!m&&this.option("focusedElement")?this.setAria("id",this.getFocusedItemId(),D):this.setAria("id",null,D)},_setFocusedItem:function(D){!D||!D.length||(this._updateFocusedItemState(D,!0),this.onFocusedItemChanged(this.getFocusedItemId()),this.option("selectOnFocus")&&this._selectFocusedItem(D))},_findItemElementByItem:function(D){var m=(0,n.Z)(),ee=this;return this.itemElements().each(function(){var ve=(0,n.Z)(this);if(ve.data(ee._itemDataKey())===D)return m=ve,!1}),m},_getIndexByItem:function(D){return this.option("items").indexOf(D)},_itemOptionChanged:function(D,m,ee,ve){var Be=this._findItemElementByItem(D);Be.length&&(this.constructor.ItemClass.getInstance(Be).setDataField(m,ee)||this._refreshItem(Be,D),"disabled"===m&&ee&&this._resetItemFocus(Be))},_resetItemFocus(D){D.is(this.option("focusedElement"))&&this.option("focusedElement",null)},_refreshItem:function(D){var m=this._getItemData(D),ee=D.data(this._itemIndexKey());this._renderItem(this._renderedItemsCount+ee,m,null,D)},_updateParentActiveDescendant:A.ZT,_optionChanged:function(D){if("items"===D.name){var m=D.fullName.match(p);if(m&&m.length){var ee=m[m.length-1],ve=D.fullName.replace("."+ee,""),Be=this.option(ve);return void this._itemOptionChanged(Be,ee,D.value,D.previousValue)}}switch(D.name){case"items":case"_itemAttributes":case"itemTemplateProperty":case"useItemTextAsTitle":this._cleanRenderedItems(),this._invalidate();break;case"dataSource":this._refreshDataSource(),this._renderEmptyMessage();break;case"noDataText":case"encodeNoDataText":this._renderEmptyMessage();break;case"itemTemplate":case"visibleExpr":case"disabledExpr":this._invalidate();break;case"onItemRendered":this._createItemRenderAction();break;case"onItemClick":case"selectOnFocus":case"loopItemFocus":case"focusOnSelectedItem":break;case"onItemHold":case"itemHoldTimeout":this._attachHoldEvent();break;case"onItemContextMenu":this._attachContextMenuEvent();break;case"onFocusedItemChanged":this.onFocusedItemChanged=this._createActionByOption("onFocusedItemChanged");break;case"focusedElement":this._updateFocusedItemState(D.previousValue,!1,!0),this._setFocusedItem((0,n.Z)(D.value));break;case"displayExpr":this._compileDisplayGetter(),this._initDefaultItemTemplate(),this._invalidate();break;default:this.callBase(D)}},_invalidate:function(){return this.option("focusedElement",null),this.callBase.apply(this,arguments)},_loadNextPage:function(){return this._expectNextPageLoading(),this._dataController.loadNextPage()},_expectNextPageLoading:function(){this._startIndexForAppendedItems=0},_expectLastItemLoading:function(){this._startIndexForAppendedItems=-1},_forgetNextPageLoading:function(){this._startIndexForAppendedItems=null},_dataSourceChangedHandler:function(D){var m=this.option("items");this._initialized&&m&&this._shouldAppendItems()?(this._renderedItemsCount=m.length,(!this._isLastPage()||-1!==this._startIndexForAppendedItems)&&(this.option().items=m.concat(D.slice(this._startIndexForAppendedItems))),this._forgetNextPageLoading(),this._refreshContent()):this.option("items",D.slice())},_refreshContent:function(){this._prepareContent(),this._renderContent()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this.option("items",this.option("items"))},_shouldAppendItems:function(){return null!=this._startIndexForAppendedItems&&this._allowDynamicItemsAppend()},_allowDynamicItemsAppend:function(){return!1},_clean:function(){this._cleanFocusState(),this._cleanItemContainer(),this._inkRipple&&delete this._inkRipple,this._resetActiveState()},_cleanItemContainer:function(){(0,n.Z)(this._itemContainer()).empty()},_dispose:function(){this.callBase(),clearTimeout(this._itemFocusTimeout)},_refresh:function(){this._cleanRenderedItems(),this.callBase.apply(this,arguments)},_itemContainer:function(){return this.$element()},_itemClass:function(){return Se},_itemContentClass:function(){return this._itemClass()+Ce},_selectedItemClass:function(){return"dx-item-selected"},_itemResponseWaitClass:function(){return"dx-item-response-wait"},_itemSelector:function(){return"."+this._itemClass()},_itemDataKey:function(){return"dxItemData"},_itemIndexKey:function(){return"dxItemIndex"},_itemElements:function(){return this._itemContainer().find(this._itemSelector())},_initMarkup:function(){this.callBase(),this.onFocusedItemChanged=this._createActionByOption("onFocusedItemChanged"),this.$element().addClass("dx-collection"),this._prepareContent()},_prepareContent:(0,A.Rg)(function(){this._renderContentImpl()}),_renderContent:function(){this._fireContentReadyAction()},_render:function(){this.callBase(),this._attachClickEvent(),this._attachHoldEvent(),this._attachContextMenuEvent()},_attachClickEvent:function(){var D=this._itemSelector(),m=(0,U.V4)(Z.u,this.NAME),ee=(0,U.V4)(Y.Z.down,this.NAME),ve=this,Be=new d.Z(function(Ue){ve._itemPointerDownHandler(Ue.event)});i.Z.off(this._itemContainer(),m,D),i.Z.off(this._itemContainer(),ee,D),i.Z.on(this._itemContainer(),m,D,function(Ue){this._itemClickHandler(Ue)}.bind(this)),i.Z.on(this._itemContainer(),ee,D,function(Ue){Be.execute({element:(0,n.Z)(Ue.target),event:Ue})})},_itemClickHandler:function(D,m,ee){this._itemDXEventHandler(D,"onItemClick",m,ee)},_itemPointerDownHandler:function(D){this.option("focusStateEnabled")&&(this._itemFocusHandler=function(){if(clearTimeout(this._itemFocusTimeout),this._itemFocusHandler=null,!D.isDefaultPrevented()){var m=(0,n.Z)(D.target),ee=m.closest(this._itemElements()),ve=this._closestFocusable(m);ee.length&&this._isFocusTarget(ve?.get(0))&&this.option("focusedElement",(0,K.u)(ee))}}.bind(this),this._itemFocusTimeout=setTimeout(this._forcePointerDownFocus.bind(this)))},_closestFocusable:function(D){if(D.is(g.KW))return D;for(D=D.parent();D.length&&!W.Z.isDocument(D.get(0))&&!W.Z.isDocumentFragment(D.get(0));){if(D.is(g.KW))return D;D=D.parent()}},_forcePointerDownFocus:function(){this._itemFocusHandler&&this._itemFocusHandler()},_updateFocusState:function(){this.callBase.apply(this,arguments),this._forcePointerDownFocus()},_attachHoldEvent:function(){var D=this._itemContainer(),m=this._itemSelector(),ee=(0,U.V4)(ue.Z.name,this.NAME);i.Z.off(D,ee,m),i.Z.on(D,ee,m,{timeout:this._getHoldTimeout()},this._itemHoldHandler.bind(this))},_getHoldTimeout:function(){return this.option("itemHoldTimeout")},_shouldFireHoldEvent:function(){return this.hasActionSubscription("onItemHold")},_itemHoldHandler:function(D){this._shouldFireHoldEvent()?this._itemDXEventHandler(D,"onItemHold"):D.cancel=!0},_attachContextMenuEvent:function(){var D=this._itemContainer(),m=this._itemSelector(),ee=(0,U.V4)(ce,this.NAME);i.Z.off(D,ee,m),i.Z.on(D,ee,m,this._itemContextMenuHandler.bind(this))},_shouldFireContextMenuEvent:function(){return this.hasActionSubscription("onItemContextMenu")},_itemContextMenuHandler:function(D){this._shouldFireContextMenuEvent()?this._itemDXEventHandler(D,"onItemContextMenu"):D.cancel=!0},_renderContentImpl:function(){var D=this.option("items")||[];this._renderItems(this._renderedItemsCount?D.slice(this._renderedItemsCount):D)},_renderItems:function(D){D.length&&(0,u.S6)(D,function(m,ee){this._renderItem(this._renderedItemsCount+m,ee)}.bind(this)),this._renderEmptyMessage()},_renderItem:function(D,m,ee,ve){var Be,Ue=null!==(Be=D?.item)&&void 0!==Be?Be:D;ee=ee||this._itemContainer();var X=this._renderItemFrame(Ue,m,ee,ve);this._setElementData(X,m,Ue),X.attr(this.option("_itemAttributes")),this._attachItemClickEvent(m,X);var v=this._getItemContent(X),re=this._renderItemContent({index:Ue,itemData:m,container:(0,K.u)(v),contentClass:this._itemContentClass(),defaultTemplateName:this.option("itemTemplate")}),Ie=this;return(0,H.gx)(re).done(function(Ze){Ie._postprocessRenderItem({itemElement:X,itemContent:Ze,itemData:m,itemIndex:Ue}),Ie._executeItemRenderAction(D,m,(0,K.u)(X))}),X},_getItemContent:function(D){var m=D.find("."+J);return m.removeClass(J),m},_attachItemClickEvent:function(D,m){!D||!D.onClick||i.Z.on(m,Z.u,function(ee){this._itemEventHandlerByHandler(m,D.onClick,{event:ee})}.bind(this))},_renderItemContent:function(D){var m=this._getItemTemplateName(D),ee=this._getTemplate(m);this._addItemContentClasses(D);var ve=(0,n.Z)(this._createItemByTemplate(ee,D));return ve.hasClass(R)?this._renderItemContentByNode(D,ve):D.container},_renderItemContentByNode:function(D,m){return(0,n.Z)(D.container).replaceWith(m),D.container=(0,K.u)(m),this._addItemContentClasses(D),m},_addItemContentClasses:function(D){var m=[Se+Ce,D.contentClass];(0,n.Z)(D.container).addClass(m.join(" "))},_appendItemToContainer:function(D,m,ee){m.appendTo(D)},_renderItemFrame:function(D,m,ee,ve){var Be=(0,n.Z)("<div>");if(new this.constructor.ItemClass(Be,this._itemOptions(),m||{}),ve&&ve.length?ve.replaceWith(Be):this._appendItemToContainer.call(this,ee,Be,D),this.option("useItemTextAsTitle")){var Ue=this._displayGetter?this._displayGetter(m):m;Be.attr("title",Ue)}return Be},_itemOptions:function(){var D=this;
1return{watchMethod:function(){return D.option("integrationOptions.watchMethod")},owner:D,fieldGetter:function(m){var ee=D.option(m+"Expr");return(0,N.vb)(ee)}}},_postprocessRenderItem:A.ZT,_executeItemRenderAction:function(D,m,ee){this._getItemRenderAction()({itemElement:ee,itemIndex:D,itemData:m})},_setElementData:function(D,m,ee){D.addClass([Se,this._itemClass()].join(" ")).data(this._itemDataKey(),m).data(this._itemIndexKey(),ee)},_createItemRenderAction:function(){return this._itemRenderAction=this._createActionByOption("onItemRendered",{element:this.element(),excludeValidators:["disabled","readOnly"],category:"rendering"})},_getItemRenderAction:function(){return this._itemRenderAction||this._createItemRenderAction()},_getItemTemplateName:function(D){var m=D.itemData,ee=D.templateProperty||this.option("itemTemplateProperty");return m&&m[ee]||D.defaultTemplateName},_createItemByTemplate:function(D,m){return D.render({model:m.itemData,container:m.container,index:m.index,onRendered:this._onItemTemplateRendered(D,m)})},_onItemTemplateRendered:function(){return A.ZT},_emptyMessageContainer:function(){return this._itemContainer()},_renderEmptyMessage:function(D){D=D||this.option("items");var m=this.option("noDataText"),ee=!m||D&&D.length||this._dataController.isLoading();ee&&this._$noData&&(this._$noData.remove(),this._$noData=null,this.setAria("label",void 0)),ee||(this._$noData=this._$noData||(0,n.Z)("<div>").addClass("dx-empty-message"),this._$noData.appendTo(this._emptyMessageContainer()),this.option("encodeNoDataText")?this._$noData.text(m):this._$noData.html(m),this.setAria("label",m)),this.$element().toggleClass("dx-empty-collection",!ee)},_itemDXEventHandler:function(D,m,ee,ve){this._itemEventHandler(D.target,m,(0,T.l)(ee,{event:D}),ve)},_itemEventHandler:function(D,m,ee,ve){var Be=this._createActionByOption(m,(0,T.l)({validatingTargetName:"itemElement"},ve));return this._itemEventHandlerImpl(D,Be,ee)},_itemEventHandlerByHandler:function(D,m,ee,ve){var Be=this._createAction(m,(0,T.l)({validatingTargetName:"itemElement"},ve));return this._itemEventHandlerImpl(D,Be,ee)},_itemEventHandlerImpl:function(D,m,ee){var ve=this._closestItemElement((0,n.Z)(D)),Be=(0,T.l)({},ee);return m((0,T.l)(ee,this._extendActionArgs(ve),Be))},_extendActionArgs:function(D){return{itemElement:(0,K.u)(D),itemIndex:this._itemElements().index(D),itemData:this._getItemData(D)}},_closestItemElement:function(D){return(0,n.Z)(D).closest(this._itemSelector())},_getItemData:function(D){return(0,n.Z)(D).data(this._itemDataKey())},_getSummaryItemsWidth:function(D,m){var ee=0;return D&&(0,u.S6)(D,function(ve,Be){ee+=(0,ie.Y_)(Be,m||!1)}),ee},getFocusedItemId:function(){return this._focusedItemId||(this._focusedItemId="dx-"+new F.Z),this._focusedItemId},itemElements:function(){return this._itemElements()},itemsContainer:function(){return this._itemContainer()}}).include(S.Z);Pe.ItemClass=c.Z;const fe=Pe;var He=a(6795),je=a(86523),Qe=a(14422),We=a(2928),Xe=a(82510);class me{constructor(m){this.options=m,this._setOption("disabledItemKeys",[]),this._clearItemKeys()}_clearItemKeys(){this._setOption("addedItemKeys",[]),this._setOption("removedItemKeys",[]),this._setOption("removedItems",[]),this._setOption("addedItems",[])}validate(){}_setOption(m,ee){this.options[m]=ee}onSelectionChanged(){var m=this.options.addedItemKeys,ee=this.options.removedItemKeys,ve=this.options.addedItems,Be=this.options.removedItems,Ue=this.options.selectedItems,X=this.options.selectedItemKeys,v=this.options.onSelectionChanged||A.ZT;this._clearItemKeys(),v({selectedItems:Ue,selectedItemKeys:X,addedItemKeys:m,removedItemKeys:ee,addedItems:ve,removedItems:Be})}equalKeys(m,ee){return this.options.equalByReference&&(0,I.Kn)(m)&&(0,I.Kn)(ee)?m===ee:(0,A.bY)(m,ee)}getSelectableItems(m){return m.filter(function(ee){return!(null!=ee&&ee.disabled)})}_clearSelection(m,ee,ve,Be){return m=m||[],m=Array.isArray(m)?m:[m],this.validate(),this.selectedItemKeys(m,ee,ve,Be)}_removeTemplateProperty(m){return Array.isArray(m)?m.map(ee=>this._removeTemplateProperty(ee)):((0,I.Kn)(m)&&delete m.template,m)}_loadFilteredData(m,ee,ve,Be){var Ue=encodeURI(JSON.stringify(this._removeTemplateProperty(m))).length,X=this.options.maxFilterLengthInRequest&&Ue>this.options.maxFilterLengthInRequest,v=new H.BH,re={filter:X?void 0:m,select:X?this.options.dataFields():ve||this.options.dataFields()};return m&&0===m.length?v.resolve([]):this.options.load(re).done(function(Ie){var Ze=(0,I.PO)(Ie)?Ie.data:Ie;ee&&!Be?Ze=Ze.filter(ee):X&&(Ze=(0,Xe.Z)(Ze).filter(m).toArray()),v.resolve(Ze)}).fail(v.reject.bind(v)),v}updateSelectedItemKeyHash(m){for(var ee=0;ee<m.length;ee++){var ve=(0,A.k3)(m[ee]);(0,I.Kn)(ve)||(this.options.keyHashIndices[ve]=this.options.keyHashIndices[ve]||[],this.options.keyHashIndices[ve].push(ee))}}_isAnyItemSelected(m){for(var ee=0;ee<m.length;ee++)if(this.options.isItemSelected(m[ee]))return;return!1}_getFullSelectAllState(){var m=this.options.plainItems(),ee=this.options.filter(),ve=this.options.ignoreDisabledItems?this.options.selectedItems:this.options.selectedItems.filter(X=>!(null!=X&&X.disabled));ee&&(ve=(0,Xe.Z)(ve).filter(ee).toArray());var Be=ve.length,Ue=m.length-this.getSelectableItems(m).length;return Be?Be>=this.options.totalCount()-Ue||void 0:this._isAnyItemSelected(m)}_getVisibleSelectAllState(){for(var m=this.getSelectableItems(this.options.plainItems()),ee=!1,ve=!1,Be=0;Be<m.length;Be++){var Ue=m[Be],X=this.options.getItemData(Ue),v=this.options.keyOf(X);this.options.isSelectableItem(Ue)&&(this.isItemKeySelected(v)?ee=!0:ve=!0)}return!!ee&&(!ve||void 0)}}class et extends me{getSelectedItems(){return this._loadFilteredData(this.options.selectionFilter)}getSelectedItemKeys(){var m=new H.BH,ee=this,ve=this.options.key(),Be=(0,I.HD)(ve)?[ve]:ve;return this._loadFilteredData(this.options.selectionFilter,null,Be).done(function(Ue){var X=Ue.map(function(v){return ee.options.keyOf(v)});m.resolve(X)}).fail(m.reject),m.promise()}selectedItemKeys(m,ee,ve,Be){if(Be){var Ue=this.options.filter();!Ue||JSON.stringify(Ue)===JSON.stringify(this.options.selectionFilter)&&ve?this._setOption("selectionFilter",ve?[]:null):this._addSelectionFilter(ve,Ue,Be)}else{ee||this._setOption("selectionFilter",[]);for(var v=0;v<m.length;v++)ve?this.removeSelectedItem(m[v]):this.addSelectedItem(m[v],Be,!ee)}return this.onSelectionChanged(),(new H.BH).resolve()}setSelectedItems(m){this._setOption("selectionFilter",null);for(var ee=0;ee<m.length;ee++)this.addSelectedItem(m[ee])}isItemDataSelected(m){return this.isItemKeySelected(m)}isItemKeySelected(m){var ee=this.options.selectionFilter;return!ee||!!(0,Xe.Z)([m]).filter(ee).toArray().length}_getKeyExpr(){var m=this.options.key();return Array.isArray(m)&&1===m.length?m[0]:m}_normalizeKey(m){var ee=this.options.key();return Array.isArray(ee)&&1===ee.length?m[ee[0]]:m}_getFilterByKey(m){var ee=this._getKeyExpr(),ve=[ee,"=",this._normalizeKey(m)];if(Array.isArray(ee)){ve=[];for(var Be=0;Be<ee.length;Be++)ve.push([ee[Be],"=",m[ee[Be]]]),Be!==ee.length-1&&ve.push("and")}return ve}addSelectedItem(m,ee,ve){var Be=this._getFilterByKey(m);this._addSelectionFilter(!1,Be,ee,ve)}removeSelectedItem(m){var ee=this._getFilterByKey(m);this._addSelectionFilter(!0,ee)}validate(){var m=this.options.key;if(m&&void 0===m())throw He.Z.Error("E1042","Deferred selection")}_findSubFilter(m,ee){if(!m)return-1;for(var ve=JSON.stringify(ee),Be=0;Be<m.length;Be++){var Ue=m[Be];if(Ue&&JSON.stringify(Ue)===ve)return Be}return-1}_isLastSubFilter(m,ee){return!(!m||!ee||this._findSubFilter(m,ee)!==m.length-1&&0!==this._findSubFilter([m],ee))}_addFilterOperator(m,ee){return m.length>1&&(0,I.HD)(m[1])&&m[1]!==ee&&(m=[m]),m.length&&m.push(ee),m}_denormalizeFilter(m){return m&&(0,I.HD)(m[0])&&(m=[m]),m}_isOnlyNegativeFiltersLeft(m){return m.every((ee,ve)=>ve%2==0?Array.isArray(ee)&&"!"===ee[0]:"and"===ee)}_addSelectionFilter(m,ee,ve,Be){var Ue,X=m?["!",ee]:ee,v=m?"and":"or",re=!0,Ie=this.options.selectionFilter||[];if(null!==(Ue=Ie=this._denormalizeFilter(Ie))&&void 0!==Ue&&Ue.length&&!Be){var Ze=this._removeSameFilter(Ie,ee,m,ve),nt=this._removeSameFilter(Ie,ee,!m);m&&(-1!==Ze||-1!==nt)&&this._isOnlyNegativeFiltersLeft(Ie)&&(Ie=[]);
1var at=this._isKeyFilter(ee)&&this._hasKeyFiltersOnlyStartingFromIndex(Ie,nt);re=ee.length&&!at}re&&(Ie=this._addFilterOperator(Ie,v)).push(X),Ie=this._normalizeFilter(Ie),this._setOption("selectionFilter",m||Ie.length?Ie:null)}_normalizeFilter(m){return m&&1===m.length&&(m=m[0]),m}_removeFilterByIndex(m,ee,ve){var Be=m[1];m.splice(ee>0?ee-1:ee,2),ve&&"and"===Be&&m.splice(0,m.length)}_isSimpleKeyFilter(m,ee){return 3===m.length&&m[0]===ee&&"="===m[1]}_isKeyFilter(m){if(2===m.length&&"!"===m[0])return this._isKeyFilter(m[1]);var ee=this._getKeyExpr();if(Array.isArray(ee)){if(m.length!==2*ee.length-1)return!1;for(var ve=0;ve<ee.length;ve++)if(ve>0&&"and"!==m[2*ve-1]||!this._isSimpleKeyFilter(m[2*ve],ee[ve]))return!1;return!0}return this._isSimpleKeyFilter(m,ee)}_hasKeyFiltersOnlyStartingFromIndex(m,ee){if(ee>=0){for(var ve=ee;ve<m.length;ve++)if("string"!=typeof m[ve]&&!this._isKeyFilter(m[ve]))return!1;return!0}return!1}_removeSameFilter(m,ee,ve,Be){if(ee=ve?["!",ee]:ee,JSON.stringify(ee)===JSON.stringify(m))return m.splice(0,m.length),0;var Ue=this._findSubFilter(m,ee);if(Ue>=0)return this._removeFilterByIndex(m,Ue,Be),Ue;for(var X=0;X<m.length;X++)if(Array.isArray(m[X])&&m[X].length>2){var v=this._removeSameFilter(m[X],ee,!1,Be);if(v>=0)return m[X].length?1===m[X].length&&(m[X]=m[X][0]):this._removeFilterByIndex(m,X,Be),v}return-1}getSelectAllState(){var m=this.options.filter(),ee=this.options.selectionFilter;if(!ee)return!0;if(!ee.length)return!1;if(m&&m.length){if(ee=this._denormalizeFilter(ee),this._isLastSubFilter(ee,m))return!0;if(this._isLastSubFilter(ee,["!",m]))return!1}}loadSelectedItemsWithFilter(){var m=this.options.filter(),ee=this.options.selectionFilter;return this._loadFilteredData(m?[m,"and",ee]:ee)}}var k=a(46769),P=a(25193),te=function(D,m){this.getLocalFilter=function(X,v,re,Ie){return Be.bind(this,v=void 0===v?A.bY:v,X,re,Ie)},this.getExpr=function(X){var v;if(X)return D.forEach(function(re,Ie){var Ze;v=v||[],Ie>0&&v.push(m?"and":"or"),Ze=(0,I.HD)(X)?Ue(X,re):function(nt,it){for(var at=[],ut=0,ct=nt.length;ut<ct;ut++){var mt=nt[ut],Ct=Ue(mt,it&&it[mt]);if(!Ct)break;ut>0&&at.push(m?"or":"and"),at.push(Ct)}return at}(X,re),v.push(Ze)}),v&&1===v.length&&(v=v[0]),v},this.getCombinedFilter=function(X,v){var re=arguments.length>2&&void 0!==arguments[2]&&arguments[2],Ie=this.getExpr(X),Ze=Ie;return(re||m)&&v&&(Ie?((Ze=[]).push(Ie),Ze.push(v)):Ze=v),Ze};var ee,ve=function(X,v,re){return Array.isArray(re)?X.map(Ie=>v(Ie)):X};function Be(X,v,re,Ie,Ze){var it,at,nt=v(Ze);if(!re&&(it=(0,A.k3)(nt),!(0,I.Kn)(it)))return function(ct,mt){if(!ee){ee={};for(var Ot=ve(D,ct,mt),Ct=0;Ct<Ot.length;Ct++)ee[(0,A.k3)(Ot[Ct])]=!0}return ee}(v,Ie)[it]?!m:!!m;for(at=0;at<D.length;at++)if(X(D[at],nt))return!m;return!!m}function Ue(X,v){if(void 0!==v)return[X,m?"<>":"=",v]}};class Te extends me{constructor(m){super(m),this._initSelectedItemKeyHash()}_initSelectedItemKeyHash(){this._setOption("keyHashIndices",this.options.equalByReference?null:{})}getSelectedItemKeys(){return this.options.selectedItemKeys.slice(0)}getSelectedItems(){return this.options.selectedItems.slice(0)}_preserveSelectionUpdate(m,ee){var Be,Ue,X,ve=this.options.keyOf;if(ve){var v=ee&&m.length>1&&!this.options.equalByReference;for(v&&(Be={}),X=0;X<m.length;X++){var re=m[X],Ie=ve(re);ee?(Ue=this.removeSelectedItem(Ie,Be,re?.disabled),Be&&Ue>=0&&(Be[Ue]=!0)):this.addSelectedItem(Ie,re)}v&&this._batchRemoveSelectedItems(Be)}}_batchRemoveSelectedItems(m){var ee=this.options.selectedItemKeys.slice(0),ve=this.options.selectedItems.slice(0);this.options.selectedItemKeys.length=0,this.options.selectedItems.length=0;for(var Be=0;Be<ee.length;Be++)m[Be]||(this.options.selectedItemKeys.push(ee[Be]),this.options.selectedItems.push(ve[Be]));this._initSelectedItemKeyHash(),this.updateSelectedItemKeyHash(this.options.selectedItemKeys)}_loadSelectedItemsCore(m,ee,ve,Be){var Ue=arguments.length>4&&void 0!==arguments[4]&&arguments[4],X=new H.BH,v=this.options.key();if(!m.length&&!ve)return X.resolve([]),X;if(ve&&ee&&!Be)return X.resolve(this.getSelectedItems()),X;var re=new te(m,ve),Ie=re.getCombinedFilter(v,Be,Ue),Ze=[];if(ee){var nt=this.options.selectedItems;Ze=Ie&&m.length!==nt.length?(0,Xe.Z)(nt).filter(Ie).toArray():nt.slice(0)}var it=Ze.length?Ze:this.options.plainItems(!0).filter(this.options.isSelectableItem).map(this.options.getItemData),at=re.getLocalFilter(this.options.keyOf,this.equalKeys.bind(this),this.options.equalByReference,v);return it=it.filter(at),Ze.length||!ve&&it.length===m.length?X.resolve(it):X=this._loadFilteredData(Ie,at,null,ve),X}_replaceSelectionUpdate(m){var ee=[],ve=this.options.keyOf;if(ve){for(var Be=0;Be<m.length;Be++){var X=ve(m[Be]);ee.push(X)}this.setSelectedItems(ee,m)}}_warnOnIncorrectKeys(m){for(var ee=this.options.allowNullValue,ve=0;ve<m.length;ve++){var Be=m[ve];(!ee||null!==Be)&&!this.isItemKeySelected(Be)&&He.Z.log("W1002",Be)}}_isMultiSelectEnabled(){var m=this.options.mode;return"all"===m||"multiple"===m}_requestInProgress(){var m;return"pending"===(null===(m=this._lastLoadDeferred)||void 0===m?void 0:m.state())}_concatRequestsItems(m,ee,ve,Be){var Ue,X=ee?m:[];return Ue=Be||(0,k.R1)(m,this.options.selectedItemKeys),{addedItems:ve.added.concat(Ue),removedItems:ve.removed.concat(X),keys:m}}_collectLastRequestData(m,ee,ve,Be){var Ue=ee&&ve,X={added:[],removed:[]},v=this._isMultiSelectEnabled(),re=v?this._lastRequestData:{};return v&&(this._shouldMergeWithLastRequest&&(Ue?(this._lastLoadDeferred.reject(),re={}):(0,P.E)(m,this.options.selectedItemKeys)||(X.added=re.addedItems,X.removed=re.removedItems,ee||this._lastLoadDeferred.reject())),re=this._concatRequestsItems(m,ee,X,this._shouldMergeWithLastRequest?void 0:Be)),re}_updateKeysByLastRequestData(m,ee,ve){var Ue,X,Be=m;return this._isMultiSelectEnabled()&&this._shouldMergeWithLastRequest&&!ee&&!ve&&(Be=(0,k.R1)(m.concat(null===(Ue=this._lastRequestData)||void 0===Ue?void 0:Ue.addedItems),null===(X=this._lastRequestData)||void 0===X?void 0:X.removedItems),Be=(0,k.rZ)(Be)),Be}_loadSelectedItems(m,ee,ve,Be){var Ue=arguments.length>4&&void 0!==arguments[4]&&arguments[4],X=this,v=new H.BH,re=X.options.filter();return this._shouldMergeWithLastRequest=this._requestInProgress(),this._lastRequestData=this._collectLastRequestData(m,ee,ve,Be),(0,H.gx)(X._lastLoadDeferred).always(function(){var Ie=X._updateKeysByLastRequestData(m,ee,ve);X._shouldMergeWithLastRequest=!1,X._loadSelectedItemsCore(Ie,ee,ve,re,Ue).done(v.resolve).fail(v.reject)}),X._lastLoadDeferred=v,v}selectedItemKeys(m,ee,ve,Be,Ue){var v=this,re=v._loadSelectedItems(m,ve,Be,Ue,arguments.length>5&&void 0!==arguments[5]&&arguments[5]);return re.done(function(Ie){ee?v._preserveSelectionUpdate(Ie,ve):v._replaceSelectionUpdate(Ie),v.onSelectionChanged()}),re}addSelectedItem(m,ee){if((0,I.$K)(ee)&&!this.options.ignoreDisabledItems&&ee.disabled)-1===this.options.disabledItemKeys.indexOf(m)&&this.options.disabledItemKeys.push(m);else{var ve=this._getKeyHash(m);-1===this._indexOfSelectedItemKey(ve)&&(!(0,I.Kn)(ve)&&this.options.keyHashIndices&&(this.options.keyHashIndices[ve]=[this.options.selectedItemKeys.length]),this.options.selectedItemKeys.push(m),this.options.addedItemKeys.push(m),this.options.addedItems.push(ee),this.options.selectedItems.push(ee))}}_getSelectedIndexByKey(m,ee){for(var ve=this.options.selectedItemKeys,Be=0;Be<ve.length;Be++)if((!ee||!ee[Be])&&this.equalKeys(ve[Be],m))return Be;return-1}_getSelectedIndexByHash(m,ee){var ve=this.options.keyHashIndices[m];return ve&&ve.length>1&&ee&&(ve=ve.filter(function(Be){return!ee[Be]})),ve&&ve[0]>=0?ve[0]:-1}_indexOfSelectedItemKey(m,ee){return this.options.equalByReference?this.options.selectedItemKeys.indexOf(m):(0,I.Kn)(m)?this._getSelectedIndexByKey(m,ee):this._getSelectedIndexByHash(m,ee)}_shiftSelectedKeyIndices(m){for(var ee=m;ee<this.options.selectedItemKeys.length;ee++){var Be=(0,A.k3)(this.options.selectedItemKeys[ee]),Ue=this.options.keyHashIndices[Be];if(Ue)for(var X=0;X<Ue.length;X++)Ue[X]>m&&Ue[X]--}}removeSelectedItem(m,ee,ve){if(this.options.ignoreDisabledItems||!ve){var Be=this._getKeyHash(m),Ue=!!ee,X=this._indexOfSelectedItemKey(Be,ee);if(X<0||(this.options.removedItemKeys.push(m),this.options.removedItems.push(this.options.selectedItems[X]),Ue)||(this.options.selectedItemKeys.splice(X,1),this.options.selectedItems.splice(X,1),(0,I.Kn)(Be)||!this.options.keyHashIndices))return X;var v=this.options.keyHashIndices[Be];return v&&(v.shift(),v.length||delete this.options.keyHashIndices[Be],this._shiftSelectedKeyIndices(X)),X}}_updateAddedItemKeys(m,ee){for(var ve=0;ve<m.length;ve++)this.isItemKeySelected(m[ve])||(this.options.addedItemKeys.push(m[ve]),this.options.addedItems.push(ee[ve]))}_updateRemovedItemKeys(m,ee,ve){for(var Be=0;Be<ee.length;Be++)this.isItemKeySelected(ee[Be])||(this.options.removedItemKeys.push(ee[Be]),this.options.removedItems.push(ve[Be]))}_isItemSelectionInProgress(m,ee){var Be;return!!(ee&&this._lastRequestData&&this._requestInProgress())&&(null!==(Be=this._lastRequestData.addedItems)&&void 0!==Be?Be:[]).includes(m)}_getKeyHash(m){return this.options.equalByReference?m:(0,A.k3)(m)}setSelectedItems(m,ee){this._updateAddedItemKeys(m,ee);var ve=this.options.selectedItemKeys,Be=this.options.selectedItems;this.options.equalByReference||(this._initSelectedItemKeyHash(),this.updateSelectedItemKeyHash(m)),this._setOption("selectedItemKeys",m),this._setOption("selectedItems",ee),this._updateRemovedItemKeys(m,ve,Be)}isItemDataSelected(m){var ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ve=this.options.keyOf(m);return this.isItemKeySelected(ve,ee)}isItemKeySelected(m){var ve=this._isItemSelectionInProgress(m,(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkPending);
1if(!ve){var Be=this._getKeyHash(m);ve=-1!==this._indexOfSelectedItemKey(Be)}return ve}getSelectAllState(m){return m?this._getVisibleSelectAllState():this._getFullSelectAllState()}loadSelectedItemsWithFilter(){var m=this.options.key(),ee=this.getSelectedItemKeys(),ve=this.options.filter();if(!ee.length)return(0,H.BH)().resolve([]);var Ue=new te(ee).getCombinedFilter(m,ve,!0);return this._loadFilteredData(Ue)}}class Fe{constructor(m){this.options=(0,T.l)(this._getDefaultOptions(),m,{selectedItemKeys:m.selectedKeys||[]}),this._selectionStrategy=this.options.deferred?new et(this.options):new Te(this.options),this._focusedItemIndex=-1,this.options.equalByReference||this._selectionStrategy.updateSelectedItemKeyHash(this.options.selectedItemKeys)}_getDefaultOptions(){return{allowNullValue:!1,deferred:!1,equalByReference:!1,mode:"multiple",selectedItems:[],selectionFilter:[],maxFilterLengthInRequest:0,onSelectionChanged:A.ZT,key:A.ZT,keyOf:function(m){return m},load:function(){return(new H.BH).resolve([])},totalCount:function(){return-1},isSelectableItem:function(){return!0},isItemSelected:function(){return!1},getItemData:function(m){return m},dataFields:A.ZT,filter:A.ZT}}validate(){this._selectionStrategy.validate()}getSelectedItemKeys(){return this._selectionStrategy.getSelectedItemKeys()}getSelectedItems(){return this._selectionStrategy.getSelectedItems()}selectionFilter(m){if(void 0===m)return this.options.selectionFilter;var ee=this.options.selectionFilter!==m&&JSON.stringify(this.options.selectionFilter)!==JSON.stringify(m);this.options.selectionFilter=m,ee&&this.onSelectionChanged()}setSelection(m,ee){return this.selectedItemKeys(m,!1,!1,!1,ee)}select(m){return this.selectedItemKeys(m,!0)}deselect(m){return this.selectedItemKeys(m,!0,!0)}selectedItemKeys(m,ee,ve,Be,Ue){var X;return m=null!==(X=m)&&void 0!==X?X:[],m=Array.isArray(m)?m:[m],this.validate(),this._selectionStrategy.selectedItemKeys(m,ee,ve,Be,Ue)}clearSelection(){return this.selectedItemKeys([])}_addSelectedItem(m,ee){this._selectionStrategy.addSelectedItem(ee,m)}_removeSelectedItem(m){this._selectionStrategy.removeSelectedItem(m)}_setSelectedItems(m,ee){this._selectionStrategy.setSelectedItems(m,ee)}onSelectionChanged(){this._selectionStrategy.onSelectionChanged()}changeItemSelection(m,ee,ve){var Be,Ue,X,Ie,nt,v=this.options.plainItems(),re=v[m],it=!1,at=!1,ut=xt=>xt>=0&&!v.filter(yt=>yt.loadIndex===xt).length;if((null===(Be=(Ue=this.options).allowLoadByRange)||void 0===Be?void 0:Be.call(Ue))&&(0,I.$K)(re)&&(nt=re.loadIndex-m,m=re.loadIndex,it=ut(this._focusedItemIndex),(0,I.$K)(this._shiftFocusedItemIndex)&&(at=ut(this._shiftFocusedItemIndex))),!this.isSelectable()||!this.isDataItem(re))return!1;var ct=this.options.getItemData(re),mt=this.options.keyOf(ct);if((ee=ee||{}).shift&&"multiple"===this.options.mode&&this._focusedItemIndex>=0)it||at?(X=m!==this._shiftFocusedItemIndex||this._focusedItemIndex!==this._shiftFocusedItemIndex)&&(Ie=this.changeItemSelectionWhenShiftKeyInVirtualPaging(m)):X=this.changeItemSelectionWhenShiftKeyPressed(m,v,nt);else if(ee.control){if(this._resetItemSelectionWhenShiftKeyPressed(),!ve){var Ot=this._selectionStrategy.isItemDataSelected(ct);"single"===this.options.mode&&this.clearSelectedItems(),Ot?this._removeSelectedItem(mt):this._addSelectedItem(ct,mt)}X=!0}else{this._resetItemSelectionWhenShiftKeyPressed();var Ct=this._selectionStrategy.equalKeys(this.options.selectedItemKeys[0],mt);(1!==this.options.selectedItemKeys.length||!Ct)&&(this._setSelectedItems([mt],[ct]),X=!0)}return X?((0,H.gx)(Ie).done(()=>{this._focusedItemIndex=m,!ve&&this.onSelectionChanged()}),!0):void 0}isDataItem(m){return this.options.isSelectableItem(m)}isSelectable(){return"single"===this.options.mode||"multiple"===this.options.mode}isItemDataSelected(m){return this._selectionStrategy.isItemDataSelected(m,{checkPending:!0})}isItemSelected(m,ee){return this._selectionStrategy.isItemKeySelected(m,ee)}_resetItemSelectionWhenShiftKeyPressed(){delete this._shiftFocusedItemIndex}_resetFocusedItemIndex(){this._focusedItemIndex=-1}changeItemSelectionWhenShiftKeyInVirtualPaging(m){var ee=this.options.getLoadOptions(m,this._focusedItemIndex,this._shiftFocusedItemIndex),ve=new H.BH,Be=ee.skip;return this.options.load(ee).done(Ue=>{this.changeItemSelectionWhenShiftKeyPressed(m,Ue,Be),ve.resolve()}),ve.promise()}changeItemSelectionWhenShiftKeyPressed(m,ee,ve){var Ue,at,ut,mt,Be=!1,X=(0,I.$K)(ve),v=X?this._focusedItemIndex-ve:this._focusedItemIndex,re=this.options.keyOf,Ie=ee[v],Ze=this.options.getItemData(Ie),nt=re(Ze),it=Ie&&this.isItemDataSelected(Ze);if((0,I.$K)(this._shiftFocusedItemIndex)||(this._shiftFocusedItemIndex=this._focusedItemIndex),this._shiftFocusedItemIndex!==this._focusedItemIndex)for(Ue=this._focusedItemIndex<this._shiftFocusedItemIndex?1:-1,mt=X?this._shiftFocusedItemIndex-ve:this._shiftFocusedItemIndex,v=X?this._focusedItemIndex-ve:this._focusedItemIndex;v!==mt;v+=Ue)(X||this.isDataItem(ee[v]))&&(ut=re(this.options.getItemData(ee[v])),this._removeSelectedItem(ut),Be=!0);if(m!==this._shiftFocusedItemIndex)for(Ue=m<this._shiftFocusedItemIndex?1:-1,mt=X?this._shiftFocusedItemIndex-ve:this._shiftFocusedItemIndex,v=X?m-ve:m;v!==mt;v+=Ue)(X||this.isDataItem(ee[v]))&&(ut=re(at=this.options.getItemData(ee[v])),this._addSelectedItem(at,ut),Be=!0);return(X||this.isDataItem(Ie))&&!it&&(this._addSelectedItem(Ze,nt),Be=!0),Be}clearSelectedItems(){this._setSelectedItems([],[])}selectAll(m){return this._resetFocusedItemIndex(),m?this._onePageSelectAll(!1):this.selectedItemKeys([],!0,!1,!0)}deselectAll(m){return this._resetFocusedItemIndex(),m?this._onePageSelectAll(!0):this.selectedItemKeys([],!0,!0,!0)}_onePageSelectAll(m){for(var ee=this._selectionStrategy.getSelectableItems(this.options.plainItems()),ve=0;ve<ee.length;ve++){var Be=ee[ve];if(this.isDataItem(Be)){var Ue=this.options.getItemData(Be),X=this.options.keyOf(Ue),v=this.isItemSelected(X);!v&&!m&&this._addSelectedItem(Ue,X),v&&m&&this._removeSelectedItem(X)}}return this.onSelectionChanged(),(new H.BH).resolve()}getSelectAllState(m){return this._selectionStrategy.getSelectAllState(m)}loadSelectedItemsWithFilter(){return this._selectionStrategy.loadSelectedItemsWithFilter()}}var Ke="dxItemDeleting",we=function(D){return-1!==D};const de=fe.inherit({_setOptionsByReference:function(){this.callBase(),(0,T.l)(this._optionsByReference,{selectedItem:!0})},_getDefaultOptions:function(){return(0,T.l)(this.callBase(),{selectionMode:"none",selectionRequired:!1,selectionByClick:!0,selectedItems:[],selectedItemKeys:[],maxFilterLengthInRequest:1500,keyExpr:null,selectedIndex:-1,selectedItem:null,onSelectionChanged:null,onItemReordered:null,onItemDeleting:null,onItemDeleted:null})},ctor:function(D,m){this._userOptions=m||{},this.callBase(D,m)},_init:function(){this._initEditStrategy(),this.callBase(),this._initKeyGetter(),this._initSelectionModule()},_initKeyGetter:function(){this._keyGetter=(0,N.vb)(this.option("keyExpr"))},_getKeysByItems:function(D){return this._editStrategy.getKeysByItems(D)},_getItemsByKeys:function(D,m){return this._editStrategy.getItemsByKeys(D,m)},_getKeyByIndex:function(D){return this._editStrategy.getKeyByIndex(D)},_getIndexByKey:function(D){return this._editStrategy.getIndexByKey(D)},_getIndexByItemData:function(D){return this._editStrategy.getIndexByItemData(D)}
1,_isKeySpecified:function(){return!!this._dataController.key()},_getCombinedFilter:function(){return this._dataController.filter()},key:function(){return this.option("keyExpr")?this.option("keyExpr"):this._dataController.key()},keyOf:function(D){var m=D;return this.option("keyExpr")?m=this._keyGetter(D):this._dataController.store()&&(m=this._dataController.keyOf(D)),m},_nullValueSelectionSupported:function(){return!1},_initSelectionModule:function(){var D=this,m=D._editStrategy.itemsGetter;this._selection=new Fe({allowNullValue:this._nullValueSelectionSupported(),mode:this.option("selectionMode"),maxFilterLengthInRequest:this.option("maxFilterLengthInRequest"),equalByReference:!this._isKeySpecified(),onSelectionChanged:function(ee){(ee.addedItemKeys.length||ee.removedItemKeys.length)&&(D.option("selectedItems",D._getItemsByKeys(ee.selectedItemKeys,ee.selectedItems)),D._updateSelectedItems(ee))},filter:D._getCombinedFilter.bind(D),totalCount:function(){var ee=D.option("items"),ve=D._dataController.totalCount();return ve>=0?ve:D._getItemsCount(ee)},key:D.key.bind(D),keyOf:D.keyOf.bind(D),load:function(ee){var ve,Be=D._dataController;return ee.customQueryParams=null===(ve=Be.loadOptions())||void 0===ve?void 0:ve.customQueryParams,ee.userData=Be.userData(),Be.store()?Be.loadFromStore(ee).done(function(Ue){if(!D._disposed){var X=(0,We.r6)(Ue).data;Be.applyMapFunction(X)}}):(new H.BH).resolve(this.plainItems())},dataFields:function(){return D._dataController.select()},plainItems:m.bind(D._editStrategy)})},_getItemsCount:function(D){return D.reduce((m,ee)=>m+(ee.items?this._getItemsCount(ee.items):1),0)},_initEditStrategy:function(){this._editStrategy=new(0,je.Z)(this)},_getSelectedItemIndices:function(D){var m=this,ee=[];return D=D||this._selection.getSelectedItemKeys(),m._editStrategy.beginCache(),(0,u.S6)(D,function(ve,Be){var Ue=m._getIndexByKey(Be);we(Ue)&&ee.push(Ue)}),m._editStrategy.endCache(),ee},_initMarkup:function(){this._rendering=!0,this._dataController.isLoading()||this._syncSelectionOptions().done(()=>this._normalizeSelectedItems()),this.callBase()},_render:function(){this.callBase(),this._rendering=!1},_fireContentReadyAction:function(){this._rendering=!1,this._rendered=!0,this.callBase.apply(this,arguments)},_syncSelectionOptions:function(D){var m,ee,ve,Be;switch(D=D||this._chooseSelectOption()){case"selectedIndex":m=this._editStrategy.getItemDataByIndex(this.option("selectedIndex")),(0,I.$K)(m)?(this._setOptionWithoutOptionChange("selectedItems",[m]),this._setOptionWithoutOptionChange("selectedItem",m),this._setOptionWithoutOptionChange("selectedItemKeys",this._editStrategy.getKeysByItems([m]))):(this._setOptionWithoutOptionChange("selectedItems",[]),this._setOptionWithoutOptionChange("selectedItemKeys",[]),this._setOptionWithoutOptionChange("selectedItem",null));break;case"selectedItems":if(ee=(Be=this.option("selectedItems")||[]).length?this._editStrategy.getIndexByItemData(Be[0]):-1,this.option("selectionRequired")&&!we(ee))return this._syncSelectionOptions("selectedIndex");this._setOptionWithoutOptionChange("selectedItem",Be[0]),this._setOptionWithoutOptionChange("selectedIndex",ee),this._setOptionWithoutOptionChange("selectedItemKeys",this._editStrategy.getKeysByItems(Be));break;case"selectedItem":if(m=this.option("selectedItem"),ee=this._editStrategy.getIndexByItemData(m),this.option("selectionRequired")&&!we(ee))return this._syncSelectionOptions("selectedIndex");(0,I.$K)(m)?(this._setOptionWithoutOptionChange("selectedItems",[m]),this._setOptionWithoutOptionChange("selectedIndex",ee),this._setOptionWithoutOptionChange("selectedItemKeys",this._editStrategy.getKeysByItems([m]))):(this._setOptionWithoutOptionChange("selectedItems",[]),this._setOptionWithoutOptionChange("selectedItemKeys",[]),this._setOptionWithoutOptionChange("selectedIndex",-1));break;case"selectedItemKeys":if(ve=this.option("selectedItemKeys"),this.option("selectionRequired")){var Ue=this._getIndexByKey(ve[0]);if(!we(Ue))return this._syncSelectionOptions("selectedIndex")}return this._selection.setSelection(ve)}return(new H.BH).resolve().promise()},_chooseSelectOption:function(){var D="selectedIndex",m=function(ee){var ve=this.option(ee);return(0,I.$K)(ve)&&ve.length||ee in this._userOptions}.bind(this);return m("selectedItems")?D="selectedItems":m("selectedItem")?D="selectedItem":m("selectedItemKeys")&&(D="selectedItemKeys"),D},_compareKeys:function(D,m){if(D.length!==m.length)return!1;for(var ee=0;ee<m.length;ee++)if(D[ee]!==m[ee])return!1;return!0},_normalizeSelectedItems:function(){if("none"===this.option("selectionMode"))this._setOptionWithoutOptionChange("selectedItems",[]),this._syncSelectionOptions("selectedItems");else if("single"===this.option("selectionMode")){var D=this.option("selectedItems");if(D.length>1||!D.length&&this.option("selectionRequired")&&this.option("items")&&this.option("items").length){var m=this._selection.getSelectedItems(),ee=void 0===D[0]?m[0]:D[0];return void 0===ee&&(ee=this._editStrategy.itemsGetter()[0]),this.option("grouped")&&ee&&ee.items&&(ee.items=[ee.items[0]]),this._selection.setSelection(this._getKeysByItems([ee])),this._setOptionWithoutOptionChange("selectedItems",[ee]),this._syncSelectionOptions("selectedItems")}this._selection.setSelection(this._getKeysByItems(D))}else{var ve=this._getKeysByItems(this.option("selectedItems")),Be=this._selection.getSelectedItemKeys();this._compareKeys(Be,ve)||this._selection.setSelection(ve)}return(new H.BH).resolve().promise()},_itemClickHandler:function(D){var m=(new H.BH).resolve(),ee=this.callBase;this._createAction(function(ve){var Be;m=null!==(Be=this._itemSelectHandler(ve.event))&&void 0!==Be?Be:m}.bind(this),{validatingTargetName:"itemElement"})({itemElement:(0,n.Z)(D.currentTarget),event:D}),m.always(()=>{ee.apply(this,arguments)})},_itemSelectHandler:function(D){var m,ee;if(this.option("selectionByClick"))return this.isItemSelected(D.currentTarget)?this.unselectItem(D.currentTarget):ee=this.selectItem(D.currentTarget),null===(m=ee)||void 0===m?void 0:m.promise()},_selectedItemElement:function(D){return this._itemElements().eq(D)},_postprocessRenderItem:function(D){if("none"!==this.option("selectionMode")){var m=(0,n.Z)(D.itemElement),ee=this._editStrategy.getNormalizedIndex(m),ve=this._isItemSelected(ee);this._processSelectableItem(m,ve)}},_processSelectableItem:function(D,m){D.toggleClass(this._selectedItemClass(),m),this._setAriaSelected(D,String(m))},_updateSelectedItems:function(D){var m=this,ee=D.addedItemKeys,ve=D.removedItemKeys;if(m._rendered&&(ee.length||ve.length)){var Be=m._selectionChangePromise;if(!m._rendering){var X,Ue=[],v=[];m._editStrategy.beginCache();for(var re=0;re<ee.length;re++)X=m._getIndexByKey(ee[re]),Ue.push(X),m._addSelection(X);for(var Ie=0;Ie<ve.length;Ie++)X=m._getIndexByKey(ve[Ie]),v.push(X),m._removeSelection(X);m._editStrategy.endCache(),m._updateSelection(Ue,v)}(0,H.gx)(Be).done(function(){m._fireSelectionChangeEvent(D.addedItems,D.removedItems)})}},_fireSelectionChangeEvent:function(D,m){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]}
1)({addedItems:D,removedItems:m})},_updateSelection:A.ZT,_setAriaSelected:function(D,m){this.setAria("selected",m,D)},_removeSelection:function(D){var m=this._editStrategy.getItemElement(D);we(D)&&(this._processSelectableItem(m,!1),i.Z.triggerHandler(m,"stateChanged",!1))},_addSelection:function(D){var m=this._editStrategy.getItemElement(D);we(D)&&(this._processSelectableItem(m,!0),i.Z.triggerHandler(m,"stateChanged",!0))},_isItemSelected:function(D){var m=this._getKeyByIndex(D);return this._selection.isItemSelected(m,{checkPending:!0})},_optionChanged:function(D){switch(D.name){case"selectionMode":this._invalidate();break;case"dataSource":(!D.value||Array.isArray(D.value)&&!D.value.length)&&this.option("selectedItemKeys",[]),this.callBase(D);break;case"selectedIndex":case"selectedItem":case"selectedItems":case"selectedItemKeys":this._syncSelectionOptions(D.name).done(()=>this._normalizeSelectedItems());break;case"keyExpr":this._initKeyGetter();break;case"selectionRequired":this._normalizeSelectedItems();break;case"selectionByClick":case"onSelectionChanged":case"onItemDeleting":case"onItemDeleted":case"onItemReordered":case"maxFilterLengthInRequest":break;default:this.callBase(D)}},_clearSelectedItems:function(){this._setOptionWithoutOptionChange("selectedItems",[]),this._syncSelectionOptions("selectedItems")},_waitDeletingPrepare:function(D){if(D.data(Ke))return(new H.BH).resolve().promise();D.data(Ke,!0);var m=new H.BH,ee={cancel:!1},ve=this._itemEventHandler(D,"onItemDeleting",ee,{excludeValidators:["disabled","readOnly"]});return(0,H.gx)(ve).always(function(Be){var Ue=!ve,X=!Ue&&"resolved"===ve.state(),re=Ue||X&&!arguments.length||X&&Be;(0,H.gx)((0,H.p4)(ee.cancel)).always(function(){D.data(Ke,!1)}).done(function(Ie){re&&!Ie?m.resolve():m.reject()}).fail(m.reject)}.bind(this)),m.promise()},_deleteItemFromDS:function(D){var m=this._dataController,ee=new H.BH,ve=this.option("disabled"),Be=m.store();if(!Be)return(new H.BH).resolve().promise();if(!Be.remove)throw He.Z.Error("E1011");return this.option("disabled",!0),Be.remove(m.keyOf(this._getItemData(D))).done(function(Ue){void 0!==Ue?ee.resolve():ee.reject()}).fail(function(){ee.reject()}),ee.always(function(){this.option("disabled",ve)}.bind(this)),ee},_tryRefreshLastPage:function(){var D=new H.BH;return this._isLastPage()||this.option("grouped")?D.resolve():this._refreshLastPage().done(function(){D.resolve()}),D.promise()},_refreshLastPage:function(){return this._expectLastItemLoading(),this._dataController.load()},_updateSelectionAfterDelete:function(D){var m=this._getKeyByIndex(D);this._selection.deselect([m])},_updateIndicesAfterIndex:function(D){for(var m=this._itemElements(),ee=D+1;ee<m.length;ee++)(0,n.Z)(m[ee]).data(this._itemIndexKey(),ee-1)},_simulateOptionChange:function(D){var m=this.option(D);m instanceof Qe.o||this._optionChangedAction({name:D,fullName:D,value:m})},isItemSelected:function(D){return this._isItemSelected(this._editStrategy.getNormalizedIndex(D))},selectItem:function(D){if("none"!==this.option("selectionMode")){var m=this._editStrategy.getNormalizedIndex(D);if(we(m)){var ee=this._getKeyByIndex(m);if(!this._selection.isItemSelected(ee)){if("single"===this.option("selectionMode"))return this._selection.setSelection([ee]);var ve=this.option("selectedItemKeys")||[];return this._selection.setSelection([...ve,ee],[ee])}}}},unselectItem:function(D){var m=this._editStrategy.getNormalizedIndex(D);if(we(m)){var ee=this._selection.getSelectedItemKeys();if(!(this.option("selectionRequired")&&ee.length<=1)){var ve=this._getKeyByIndex(m);this._selection.isItemSelected(ve,{checkPending:!0})&&this._selection.deselect([ve])}}},_deleteItemElementByIndex:function(D){this._updateSelectionAfterDelete(D),this._updateIndicesAfterIndex(D),this._editStrategy.deleteItemAtIndex(D)},_afterItemElementDeleted:function(D,m){var ee=this._dataController.getDataSource()?"dataSource":"items";this._simulateOptionChange(ee),this._itemEventHandler(D,"onItemDeleted",m,{beforeExecute:function(){D.remove()},excludeValidators:["disabled","readOnly"]}),this._renderEmptyMessage()},deleteItem:function(D){var m=this,ee=new H.BH,ve=this._editStrategy.getItemElement(D),Be=this._editStrategy.getNormalizedIndex(D),Ue=this._itemResponseWaitClass();return we(Be)?this._waitDeletingPrepare(ve).done(function(){ve.addClass(Ue);var X=m._extendActionArgs(ve);m._deleteItemFromDS(ve).done(function(){m._deleteItemElementByIndex(Be),m._afterItemElementDeleted(ve,X),m._tryRefreshLastPage().done(function(){ee.resolveWith(m)})}).fail(function(){ve.removeClass(Ue),ee.rejectWith(m)})}).fail(function(){ee.rejectWith(m)}):ee.rejectWith(m),ee.promise()},reorderItem:function(D,m){var ee=new H.BH,ve=this,Be=this._editStrategy,Ue=Be.getItemElement(D),X=Be.getItemElement(m),v=Be.getNormalizedIndex(D),re=Be.getNormalizedIndex(m),Ie=this._dataController.getDataSource()?"dataSource":"items";return we(v)&&we(re)&&v!==re?ee.resolveWith(this):ee.rejectWith(this),ee.promise().done(function(){X[Be.itemPlacementFunc(v,re)](Ue),Be.moveItemAtIndexToIndex(v,re),this._updateIndicesAfterIndex(v),ve.option("selectedItems",ve._getItemsByKeys(ve._selection.getSelectedItemKeys(),ve._selection.getSelectedItems())),"items"===Ie&&ve._simulateOptionChange(Ie),ve._itemEventHandler(Ue,"onItemReordered",{fromIndex:Be.getIndex(v),toIndex:Be.getIndex(re)},{excludeValidators:["disabled","readOnly"]}
1)})}})},86523:(Je,Ae,a)=>{a.d(Ae,{Z:()=>T});var n=a(83520),i=a(24245),ie=a(56836),A=a(68082),x=a(64596),K=i.Z.abstract;const T=i.Z.inherit({ctor:function(u){this._collectionWidget=u},getIndexByItemData:K,getItemDataByIndex:K,getKeysByItems:K,getItemsByKeys:K,itemsGetter:K,getKeyByIndex:function(u){var d=this._denormalizeItemIndex(u);return this.getKeysByItems([this.getItemDataByIndex(d)])[0]},_equalKeys:function(u,d){return this._collectionWidget._isKeySpecified()?(0,ie.bY)(u,d):u===d},beginCache:function(){this._cache={}},endCache:function(){this._cache=null},getIndexByKey:K,getNormalizedIndex:function(u){return this._isNormalizedItemIndex(u)?u:this._isItemIndex(u)?this._normalizeItemIndex(u):this._isNode(u)?this._getNormalizedItemIndex(u):this._normalizeItemIndex(this.getIndexByItemData(u))},getIndex:function(u){return this._isNormalizedItemIndex(u)?this._denormalizeItemIndex(u):this._isItemIndex(u)?u:this._isNode(u)?this._denormalizeItemIndex(this._getNormalizedItemIndex(u)):this.getIndexByItemData(u)},getItemElement:function(u){if(this._isNormalizedItemIndex(u))return this._getItemByNormalizedIndex(u);if(this._isItemIndex(u))return this._getItemByNormalizedIndex(this._normalizeItemIndex(u));if(this._isNode(u))return(0,n.Z)(u);var d=this._normalizeItemIndex(this.getIndexByItemData(u));return this._getItemByNormalizedIndex(d)},_isNode:u=>A.Z.isNode(u&&(0,x.ZU)(u)?u.get(0):u),deleteItemAtIndex:K,itemPlacementFunc:function(u,d){return this._itemsFromSameParent(u,d)&&u<d?"after":"before"},moveItemAtIndexToIndex:K,_isNormalizedItemIndex:function(u){return"number"==typeof u&&Math.round(u)===u},_isItemIndex:K,_getNormalizedItemIndex:K,_normalizeItemIndex:K,_denormalizeItemIndex:K,_getItemByNormalizedIndex:K,_itemsFromSameParent:K}).inherit({_getPlainItems:function(){return this._collectionWidget.option("items")||[]},getIndexByItemData:function(u){var d=this._collectionWidget.keyOf.bind(this._collectionWidget);return d?this.getIndexByKey(d(u)):this._getPlainItems().indexOf(u)},getItemDataByIndex:function(u){return this._getPlainItems()[u]},deleteItemAtIndex:function(u){this._getPlainItems().splice(u,1)},itemsGetter:function(){return this._getPlainItems()},getKeysByItems:function(u){var d=this._collectionWidget.keyOf.bind(this._collectionWidget),F=u;if(d){F=[];for(var q=0;q<u.length;q++)F.push(d(u[q]))}return F},getIndexByKey:function(u){var d=this._cache,F=d&&d.keys||this.getKeysByItems(this._getPlainItems());if(d&&!d.keys&&(d.keys=F),"object"!=typeof u)return F.indexOf(u);for(var q=0,U=F.length;q<U;q++)if(this._equalKeys(u,F[q]))return q;return-1},getItemsByKeys:function(u,d){return(d||u).slice()},moveItemAtIndexToIndex:function(u,d){var F=this._getPlainItems(),q=F[u];F.splice(u,1),F.splice(d,0,q)},_isItemIndex:function(u){return"number"==typeof u&&Math.round(u)===u},_getNormalizedItemIndex:function(u){return this._collectionWidget._itemElements().index(u)},_normalizeItemIndex:function(u){return u},_denormalizeItemIndex:function(u){return u},_getItemByNormalizedIndex:function(u){return u>-1?this._collectionWidget._itemElements().eq(u):null},_itemsFromSameParent:function(){return!0}})},63029:(Je,Ae,a)=>{a.d(Ae,{Z:()=>d});var n=a(83520),i=a(14385),ie=a(83684),A=a(91553),x=a(23706),K=a(83018),W=a(80316),I=a(25193),H=a(68082),T=a(56836),u="__dx_key__";const d=i.Z.inherit({_getDefaultOptions:function(){return(0,ie.l)(this.callBase(),{repaintChangesOnly:!1})},ctor:function(){var F;this.callBase.apply(this,arguments),this._customizeStoreLoadOptions=q=>{this._dataController.getDataSource()&&!this._dataController.isLoaded()&&(this._correctionIndex=0),this._correctionIndex&&q.storeLoadOptions&&(q.storeLoadOptions.skip+=this._correctionIndex)},null===(F=this._dataController)||void 0===F||F.on("customizeStoreLoadOptions",this._customizeStoreLoadOptions)},reload:function(){this._correctionIndex=0},_init:function(){this.callBase(),this._refreshItemsCache(),this._correctionIndex=0},_findItemElementByKey:function(F){var q=(0,n.Z)(),U=this.key();return this.itemElements().each((Y,S)=>{var c=(0,n.Z)(S),g=this._getItemData(c);if(U?(0,K.OI)(U,this.keyOf(g),F):this._isItemEquals(g,F))return q=c,!1}),q},_dataSourceChangedHandler:function(F,q){null!=q&&q.changes?this._modifyByChanges(q.changes):(this.callBase(F,q),this._refreshItemsCache())},_isItemEquals:function(F,q){F&&F[u]&&(F=F.data);try{return JSON.stringify(F)===JSON.stringify(q)}catch{return F===q}},_isItemStrictEquals:function(F,q){return this._isItemEquals(F,q)},_shouldAddNewGroup:function(F,q){var U=!1;return this.option("grouped")&&(F.length||(U=!0),(0,A.S6)(F,(Y,S)=>{"insert"===S.type&&(U=!0,(0,A.S6)(q,(c,g)=>{if(void 0!==S.data.key&&S.data.key===g.key)return U=!1,!1}))})),U},_partialRefresh:function(){if(this.option("repaintChangesOnly")){var F=(0,I.h)(this._itemsCache,this._editStrategy.itemsGetter(),q=>q&&void 0!==q[u]?q[u]:this.keyOf(q),this._isItemStrictEquals.bind(this));if(F&&this._itemsCache.length&&!this._shouldAddNewGroup(F,this._itemsCache))return this._modifyByChanges(F,!0),this._renderEmptyMessage(),!0;this._refreshItemsCache()}return!1},_refreshItemsCache:function(){if(this.option("repaintChangesOnly")){var F=this._editStrategy.itemsGetter();try{this._itemsCache=(0,ie.l)(!0,[],F),this.key()||(this._itemsCache=this._itemsCache.map((q,U)=>({[u]:F[U],data:q})))}catch{this._itemsCache=(0,ie.l)([],F)}}},_dispose:function(){this._dataController.off("customizeStoreLoadOptions",this._customizeStoreLoadOptions),this.callBase()},_updateByChange:function(F,q,U,Y){if(Y)this._renderItem(U.index,U.data,null,this._findItemElementByKey(U.key));else{var S=q[(0,x.qk)(F,q,U.key)];S&&(0,x.Vx)(F,q,U.key,U.data).done(()=>{this._renderItem(q.indexOf(S),S,null,this._findItemElementByKey(U.key))})}},_insertByChange:function(F,q,U,Y){(0,W.gx)(Y||(0,x.$T)(F,q,U.data,U.index)).done(()=>{var S;this._beforeItemElementInserted(U);var c=this._getItemContainer(U.data);this._renderItem(null!==(S=U.index)&&void 0!==S?S:q.length,U.data,c),this._afterItemElementInserted(),this._correctionIndex++})},_getItemContainer:function(F){return this._itemContainer()},_updateSelectionAfterRemoveByChange:function(F){var q=this.option("selectedIndex");q>F?this.option("selectedIndex",q-1):q===F&&1===this.option("selectedItems").length?this.option("selectedItems",[]):this._normalizeSelectedItems()},_beforeItemElementInserted:function(F){var q=this.option("selectedIndex");
1F.index<=q&&this.option("selectedIndex",q+1)},_afterItemElementInserted:T.ZT,_removeByChange:function(F,q,U,Y){var S=Y?U.index:(0,x.qk)(F,q,U.key);if(Y?U.oldItem:q[S]){var g=this._findItemElementByKey(U.key),b=this._extendActionArgs(g);this._waitDeletingPrepare(g).done(()=>{Y?(this._updateIndicesAfterIndex(S-1),this._afterItemElementDeleted(g,b),this._updateSelectionAfterRemoveByChange(S)):(this._deleteItemElementByIndex(S),this._afterItemElementDeleted(g,b))}),this._correctionIndex--}},_modifyByChanges:function(F,q){var U=this._editStrategy.itemsGetter(),Y={key:this.key.bind(this),keyOf:this.keyOf.bind(this)},S=this._dataController,c=S.paginate(),g=S.group();(c||g)&&(F=F.filter(b=>"insert"!==b.type||void 0!==b.index)),F.forEach(b=>this["_".concat(b.type,"ByChange")](Y,U,b,q)),this._renderedItemsCount=U.length,this._refreshItemsCache(),this._fireContentReadyAction()},_appendItemToContainer:function(F,q,U){var Y=F.children(this._itemSelector()).get(U);H.Z.insertElement(F.get(0),q.get(0),Y)},_optionChanged:function(F){switch(F.name){case"items":this._partialRefresh(F.value)||this.callBase(F);break;case"dataSource":(!this.option("repaintChangesOnly")||!F.value)&&this.option("items",[]),this.callBase(F);break;case"repaintChangesOnly":break;default:this.callBase(F)}}})},139:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Oe});var n=a(83520),i=a(24705),ie=a(41760),A=a(67771),x=a(56836),K=a(48360),W=a(91553),I=a(64596),H=a(83684),T=a(37075),u=a(6795),d=a(71924),F=a(17839),q=a(40911),U=a(91799),Y=a(73946);class b extends U.Z{constructor(l,G,ye){super(l,G,ye),this.currentTemplate=null}_attachEvents(l){var{editor:G}=this;l.option("onClick",ye=>{!G.option("openOnFieldClick")&&G._openHandler(ye)}),i.Z.on(l.$element(),"mousedown",ye=>{G.$element().is(".dx-state-focused")&&ye.preventDefault()})}_create(){var{editor:l}=this,G=(0,n.Z)("<div>"),ye=this._getOptions();this._addToContainer(G);var R=l._createComponent(G,Y.Z,(0,H.l)({},ye,{elementAttr:{"aria-label":q.Z.format("dxDropDownEditor-selectLabel")}}));return this._legacyRender(l.$element(),G,ye.visible),{$element:G,instance:R}}_getOptions(){var{editor:l}=this,G=this._isVisible(),R={focusStateEnabled:!1,hoverStateEnabled:!1,activeStateEnabled:!1,useInkRipple:!1,disabled:l.option("readOnly"),visible:G};return this._addTemplate(R),R}_isVisible(){var{editor:l}=this;return super._isVisible()&&l.option("showDropDownButton")}_legacyRender(l,G,ye){l.toggleClass("dx-dropdowneditor-button-visible",ye),G&&G.removeClass("dx-button").addClass("dx-dropdowneditor-button")}_isSameTemplate(){return this.editor.option("dropDownButtonTemplate")===this.currentTemplate}_addTemplate(l){this._isSameTemplate()||(l.template=this.editor._getTemplateByOption("dropDownButtonTemplate"),this.currentTemplate=this.editor.option("dropDownButtonTemplate"))}update(){if(super.update()){var{editor:G,instance:ye}=this,R=G.$element(),p=this._getOptions();ye?.option(p),this._legacyRender(R,ye?.$element(),p.visible)}}}var ue=a(46068),N=a(16129),Z=a(6536),V=a(1037),ne=a(13921),h=a(74609),E=a(258),L=a(34500),M=a(8588),w=a(46885),ae="dx-dropdowneditor-input-wrapper",Me="dx-dropdowneditor-overlay",z="ios"===ne.Z.current().platform,le=Z.Z.inherit({_supportedKeys:function(){return(0,H.l)({},this.callBase(),{tab:function(O){if(this.option("opened")){if("instantly"===this.option("applyValueMode"))return void this.close();var l=O.shiftKey?this._getLastPopupElement():this._getFirstPopupElement();l&&(i.Z.trigger(l,"focus"),l.select()),O.preventDefault()}},escape:function(O){return this.option("opened")&&O.preventDefault(),this.close(),!0},upArrow:function(O){return!(!(0,N.j1)(O)&&(O.preventDefault(),O.stopPropagation(),O.altKey)&&(this.close(),1))},downArrow:function(O){return!(!(0,N.j1)(O)&&(O.preventDefault(),O.stopPropagation(),O.altKey)&&(this._validatedOpening(),1))},enter:function(O){return this.option("opened")&&(O.preventDefault(),this._valueChangeEventHandler(O)),!0}})},_getDefaultButtons:function(){return this.callBase().concat([{name:"dropDown",Ctor:b}])},_getDefaultOptions:function(){return(0,H.l)(this.callBase(),{value:null,onOpened:null,onClosed:null,opened:!1,acceptCustomValue:!0,applyValueMode:"instantly",deferRendering:!0,activeStateEnabled:!0,dropDownButtonTemplate:"dropDownButton",fieldTemplate:null,openOnFieldClick:!1,showDropDownButton:!0,buttons:void 0,dropDownOptions:{showTitle:!1},popupPosition:this._getDefaultPopupPosition(),onPopupInitialized:null,applyButtonText:q.Z.format("OK"),cancelButtonText:q.Z.format("Cancel"),buttonsLocation:"default",useHiddenSubmitElement:!1,validationMessagePosition:"auto"})},_useTemplates:function(){return!0},_getDefaultPopupPosition:function(O){var l=(0,F.q)(O);return{offset:{h:0,v:-1},my:l+" top",at:l+" bottom",collision:"flip flip"}},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(O){return"generic"===O.platform},options:{popupPosition:{offset:{v:0}}}}])},_inputWrapper:function(){return this.$element().find("."+ae).first()},_init:function(){this.callBase(),this._initVisibilityActions(),this._initPopupInitializedAction(),this._updatePopupPosition(this.option("rtlEnabled")),this._options.cache("dropDownOptions",this.option("dropDownOptions"))},_updatePopupPosition:function(O){var{my:l,at:G}=this._getDefaultPopupPosition(O),ye=this.option("popupPosition");this.option("popupPosition",(0,H.l)({},ye,{my:l,at:G}))},_initVisibilityActions:function(){this._openAction=this._createActionByOption("onOpened",{excludeValidators:["disabled","readOnly"]}
1),this._closeAction=this._createActionByOption("onClosed",{excludeValidators:["disabled","readOnly"]})},_initPopupInitializedAction:function(){this._popupInitializedAction=this._createActionByOption("onPopupInitialized",{excludeValidators:["disabled","readOnly"]})},_initMarkup:function(){this._renderSubmitElement(),this.callBase(),this.$element().addClass("dx-dropdowneditor"),this.setAria("role","combobox")},_render:function(){this.callBase(),this._renderOpenHandler(),this._attachFocusOutHandler(),this._renderOpenedState()},_renderContentImpl:function(){this.option("deferRendering")||this._createPopup()},_renderInput:function(){this.callBase(),this._wrapInput(),this._setDefaultAria()},_wrapInput:function(){this._$container=this.$element().wrapInner((0,n.Z)("<div>").addClass(ae)).children().eq(0)},_setDefaultAria:function(){this.setAria({haspopup:"true",autocomplete:"list"})},_readOnlyPropValue:function(){return!this._isEditable()||this.callBase()},_cleanFocusState:function(){this.callBase(),this.option("fieldTemplate")&&this._detachFocusEvents()},_getFieldTemplate:function(){return this.option("fieldTemplate")&&this._getTemplateByOption("fieldTemplate")},_renderMask:function(){this.option("fieldTemplate")||this.callBase()},_renderField:function(){var O=this._getFieldTemplate();O&&this._renderTemplatedField(O,this._fieldRenderData())},_renderPlaceholder:function(){this._getFieldTemplate()||this.callBase()},_renderValue:function(){this.option("useHiddenSubmitElement")&&this._setSubmitValue(),this.callBase().always(this._renderField.bind(this))},_renderTemplatedField:function(O,l){var G=(0,K.si)(this._input()),ye=this._$container;this._detachKeyboardEvents(),this._refreshButtonsContainer(),this._detachWrapperContent(),this._detachFocusEvents(),ye.empty();var R=(0,n.Z)("<div>").addClass("dx-dropdowneditor-field-template-wrapper").appendTo(ye);O.render({model:l,container:(0,T.u)(R),onRendered:()=>{if(this.$element().find(R).length){var y=this._input();if(!y.length)throw u.Z.Error("E1010");this._integrateInput(),G&&i.Z.trigger(y,"focus")}}}),this._attachWrapperContent(ye)},_detachWrapperContent(){var O,l,G;this.option("useHiddenSubmitElement")&&(null===(O=this._$submitElement)||void 0===O||O.detach());var R=null===(l=this._$beforeButtonsContainer)||void 0===l?void 0:l[0].parentNode,p=null===(G=this._$afterButtonsContainer)||void 0===G?void 0:G[0].parentNode;R?.removeChild(this._$beforeButtonsContainer[0]),p?.removeChild(this._$afterButtonsContainer[0])},_attachWrapperContent(O){var l,G=this.option("useHiddenSubmitElement");O.prepend(this._$beforeButtonsContainer),G&&(null===(l=this._$submitElement)||void 0===l||l.appendTo(O)),O.append(this._$afterButtonsContainer)},_refreshButtonsContainer(){this._$buttonsContainer=this.$element().children().eq(0)},_integrateInput:function(){this._renderFocusState(),this._refreshValueChangeEvent(),this._refreshEvents(),this._refreshEmptinessEvent()},_refreshEmptinessEvent:function(){i.Z.off(this._input(),"input blur",this._toggleEmptinessEventHandler),this._renderEmptinessEvent()},_fieldRenderData:function(){return this.option("value")},_initTemplates:function(){this._templateManager.addDefaultTemplates({dropDownButton:new h.k(function(O){var l=(0,n.Z)("<div>").addClass("dx-dropdowneditor-icon");(0,n.Z)(O.container).append(l)})}),this.callBase()},_renderOpenHandler:function(){var O=this._inputWrapper(),l=(0,N.V4)(V.u,this.NAME),G=this.option("openOnFieldClick");i.Z.off(O,l),i.Z.on(O,l,this._getInputClickHandler(G)),this.$element().toggleClass("dx-dropdowneditor-field-clickable",G),G&&(this._openOnFieldClickAction=this._createAction(this._openHandler.bind(this)))},_attachFocusOutHandler:function(){z&&(this._detachFocusOutEvents(),i.Z.on(this._inputWrapper(),(0,N.V4)("focusout",this.NAME),O=>{var l=O.relatedTarget,G=this.content?(0,n.Z)(this.content()).closest("."+Me):this._$popup;l&&this.option("opened")&&0===(0,n.Z)(l).closest("."+Me,G).length&&this.close()}))},_detachFocusOutEvents:function(){z&&i.Z.off(this._inputWrapper(),(0,N.V4)("focusout",this.NAME))},_getInputClickHandler:function(O){return O?l=>{this._executeOpenAction(l)}:l=>{this._focusInput()}},_openHandler:function(){this._toggleOpenState()},_executeOpenAction:function(O){this._openOnFieldClickAction({event:O})},_keyboardEventBindingTarget:function(){return this._input()},_focusInput:function(){return!this.option("disabled")&&(this.option("focusStateEnabled")&&!(0,K.si)(this._input())&&(this._resetCaretPosition(),i.Z.trigger(this._input(),"focus")),!0)},_resetCaretPosition:function(){var O=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=this._input().get(0);if(l){var{value:G}=l,ye=(0,I.$K)(G)&&(O||this._isEditable())?G.length:0;this._caret({start:ye,end:ye},!0)}},_isEditable:function(){return this.option("acceptCustomValue")},_toggleOpenState:function(O){this._focusInput()&&(this.option("readOnly")||(O=arguments.length?O:!this.option("opened"),this.option("opened",O)))},_getControlsAria(){return this._popup&&this._popupContentId},_renderOpenedState:function(){var O=this.option("opened");O&&this._createPopup(),this.$element().toggleClass("dx-dropdowneditor-active",O),this._setPo
1pupOption("visible",O);var l={expanded:O,controls:this._getControlsAria()};this.setAria(l),this.setAria("owns",O?this._popupContentId:void 0,this.$element())},_createPopup:function(){this._$popup||(this._$popup=(0,n.Z)("<div>").addClass(Me).appendTo(this.$element()),this._renderPopup(),this._renderPopupContent())},_renderPopupContent:x.ZT,_renderPopup:function(){var O=(0,H.l)(this._popupConfig(),this._options.cache("dropDownOptions"));delete O.closeOnOutsideClick,O.elementAttr&&!Object.keys(O.elementAttr).length&&delete O.elementAttr,this._popup=this._createComponent(this._$popup,E.Z,O),this._popup.on({showing:this._popupShowingHandler.bind(this),shown:this._popupShownHandler.bind(this),hiding:this._popupHidingHandler.bind(this),hidden:this._popupHiddenHandler.bind(this),contentReady:this._contentReadyHandler.bind(this)}),this._contentReadyHandler(),this._setPopupContentId(this._popup.$content()),this._bindInnerWidgetOptions(this._popup,"dropDownOptions")},_setPopupContentId(O){this._popupContentId="dx-"+new ie.Z,this.setAria("id",this._popupContentId,O)},_contentReadyHandler:x.ZT,_popupConfig:function(){return{onInitialized:this._popupInitializedHandler(),position:(0,H.l)(this.option("popupPosition"),{of:this.$element()}),showTitle:this.option("dropDownOptions.showTitle"),_ignoreFunctionValueDeprecation:!0,width:()=>(0,M.m)(this.$element()),height:"auto",shading:!1,hideOnParentScroll:!0,hideOnOutsideClick:O=>this._closeOutsideDropDownHandler(O),animation:{show:{type:"fade",duration:0,from:0,to:1},hide:{type:"fade",duration:400,from:1,to:0}},deferRendering:!1,focusStateEnabled:!1,showCloseButton:!1,dragEnabled:!1,toolbarItems:this._getPopupToolbarItems(),onPositioned:this._popupPositionedHandler.bind(this),fullScreen:!1,contentTemplate:null,_hideOnParentScrollTarget:this.$element(),_wrapperClassExternal:Me}},_popupInitializedHandler:function(){return this.option("onPopupInitialized")?O=>{this._popupInitializedAction({popup:O.component})}:null},_dimensionChanged:function(){!(0,L.Ym)()||this.$element().is(":visible")?this._updatePopupWidth():this.close()},_updatePopupWidth:function(){void 0===(0,M.T)(this.option("dropDownOptions.width"))&&this._setPopupOption("width",()=>(0,M.m)(this.$element()))},_popupPositionedHandler:function(O){var l,G,{labelMode:ye,stylingMode:R}=this.option();if(this._popup){var p=this._popup.$overlayContent(),y=null===(l=O.position)||void 0===l||null===(G=l.v)||void 0===G?void 0:G.flip,se="hidden"!==ye&&"outlined"===R;if(O.position&&p.toggleClass("dx-dropdowneditor-overlay-flipped",y),y&&se&&this._label.isVisible()){var De=this._label.$element();(0,w.pB)(p,{top:(0,w.jt)(p).top-parseInt(De.css("fontSize"))})}}},_popupShowingHandler:x.ZT,_popupHidingHandler:function(){this.option("opened",!1)},_popupShownHandler:function(){var O;this._openAction(),null===(O=this._validationMessage)||void 0===O||O.option("positionSide",this._getValidationMessagePositionSide())},_popupHiddenHandler:function(){var O;this._closeAction(),null===(O=this._validationMessage)||void 0===O||O.option("positionSide",this._getValidationMessagePositionSide())},_getValidationMessagePositionSide:function(){var O=this.option("validationMessagePosition");if("auto"!==O)return O;var l="bottom";if(this._popup&&this._popup.option("visible")){var{top:G}=d.Z.setup(this.$element()),{top:ye}=d.Z.setup(this._popup.$content());l=G+this.option("popupPosition").offset.v>ye?"bottom":"top"}return l},_closeOutsideDropDownHandler:function(O){var{target:l}=O,G=(0,n.Z)(l),ye=this.getButton("dropDown"),R=ye&&ye.$element(),p=!!G.closest(this.$element()).length,y=!!G.closest(R).length;return!p&&!y},_clean:function(){delete this._openOnFieldClickAction,this._$popup&&(this._$popup.remove(),delete this._$popup,delete this._popup),this.callBase()},_setPopupOption:function(O,l){this._setWidgetOption("_popup",arguments)},_validatedOpening:function(){this.option("readOnly")||this._toggleOpenState(!0)},_getPopupToolbarItems:function(){return"useButtons"===this.option("applyValueMode")?this._popupToolbarItemsConfig():[]},_getFirstPopupElement:function(){return this._popup.$wrapper().find(".dx-popup-done.dx-button")},_getLastPopupElement:function(){return this._popup.$wrapper().find(".dx-popup-cancel.dx-button")},_popupElementTabHandler:function(O){var l=(0,n.Z)(O.currentTarget);(O.shiftKey&&l.is(this._getFirstPopupElement())||!O.shiftKey&&l.is(this._getLastPopupElement()))&&(i.Z.trigger(this._input(),"focus"),O.preventDefault())},_popupElementEscHandler:function(){i.Z.trigger(this._input(),"focus"),this.close()},_popupButtonInitializedHandler:function(O){O.component.registerKeyHandler("tab",this._popupElementTabHandler.bind(this)),O.component.registerKeyHandler("escape",this._popupElementEscHandler.bind(this))},_popupToolbarItemsConfig:function(){var O=[{shortcut:"done",options:{onClick:this._applyButtonHandler.bind(this),text:this.option("applyButtonText"),onInitialized:this._popupButtonInitializedHandler.bind(this)}},{shortcut:"cancel",options:{onClick:this._cancelButtonHandler.bind(this),text:this.option("cancelButtonText"),onInitialized:this._popupButtonInitializedHandler.bind(this)}}];return this._applyButtonsLocation(O)},_applyButtonsLocation:function(O){var l=this.option("buttonsLocation"),G=O;if("default"!==l){var ye=(0,x.Um)(l);(0,W.S6)(G,function(R,p){(0,H.l)(p,{toolbar:ye[0],location:ye[1]})})}return G},_applyButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_cancelButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_popupOptionChanged:function(O){var l=ue.Z.getOptionsFromContainer(O);
1this._setPopupOption(l);var G=Object.keys(l);(-1!==G.indexOf("width")||-1!==G.indexOf("height"))&&this._dimensionChanged()},_renderSubmitElement:function(){this.option("useHiddenSubmitElement")&&(this._$submitElement=(0,n.Z)("<input>").attr("type","hidden").appendTo(this.$element()))},_setSubmitValue:function(){this._getSubmitElement().val(this.option("value"))},_getSubmitElement:function(){return this.option("useHiddenSubmitElement")?this._$submitElement:this.callBase()},_dispose:function(){this._detachFocusOutEvents(),this.callBase()},_optionChanged:function(O){var l;switch(O.name){case"width":case"height":this.callBase(O),null===(l=this._popup)||void 0===l||l.repaint();break;case"opened":this._renderOpenedState();break;case"onOpened":case"onClosed":this._initVisibilityActions();break;case"onPopupInitialized":this._initPopupInitializedAction();break;case"fieldTemplate":(0,I.$K)(O.value)?this._renderField():this._invalidate();break;case"acceptCustomValue":case"openOnFieldClick":this._invalidate();break;case"dropDownButtonTemplate":case"showDropDownButton":this._updateButtons(["dropDown"]);break;case"dropDownOptions":this._popupOptionChanged(O),this._options.cache("dropDownOptions",this.option("dropDownOptions"));break;case"popupPosition":break;case"deferRendering":(0,L.Ym)()&&this._createPopup();break;case"applyValueMode":case"applyButtonText":case"cancelButtonText":case"buttonsLocation":this._setPopupOption("toolbarItems",this._getPopupToolbarItems());break;case"useHiddenSubmitElement":this._$submitElement&&(this._$submitElement.remove(),this._$submitElement=void 0),this._renderSubmitElement();break;case"rtlEnabled":this._updatePopupPosition(O.value),this.callBase(O);break;default:this.callBase(O)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)},field:function(){return(0,T.u)(this._input())},content:function(){return this._popup?this._popup.content():null}});(0,A.Z)("dxDropDownEditor",le);const Oe=le},8588:(Je,Ae,a)=>{a.d(Ae,{T:()=>A,m:()=>ie});var n=a(21374),i=a(34500),ie=function(x){if((0,i.Ym)())return(0,n.Y_)(x)},A=function(x){return null===x&&(x=void 0),"function"==typeof x&&(x=x()),x}},12598:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ne});var n=a(83520),i=a(29694),ie=a(47685),A=a(34500),x=a(16129),K=a(83684),W=a(46068),I=a(59150),H=a(24705),T=a(1751),u=a(41760),d=a(56836),F=a(43615),q="dx-invalid-message-auto",c="dx-validation-target",b="invalid",N=["outlined","filled","underlined"],Z={validationMessageMode:"mode",validationMessagePosition:"positionSide",validationMessageOffset:"offset",validationBoundary:"boundary"},V=W.Z.inherit({ctor:function(){this.showValidationMessageTimeout=null,this.validationRequest=(0,ie.Z)(),this.callBase.apply(this,arguments)},_createElement:function(h){this.callBase(h);var E=this.$element();E&&(0,i.aT)(E[0],c,this)},_initOptions:function(h){this.callBase.apply(this,arguments),this.option(I.Z.initValidationOptions(h))},_init:function(){this.callBase(),this._options.cache("validationTooltipOptions",this.option("validationTooltipOptions")),this.$element().addClass("dx-show-invalid-badge")},_getDefaultOptions:function(){return(0,K.l)(this.callBase(),{value:null,name:"",onValueChanged:null,readOnly:!1,isValid:!0,validationError:null,validationErrors:null,validationStatus:"valid",validationMessageMode:"auto",validationMessagePosition:"bottom",validationBoundary:void 0,validationMessageOffset:{h:0,v:0},validationTooltipOptions:{}})},_attachKeyboardEvents:function(){this.option("readOnly")||this.callBase()},_setOptionsByReference:function(){this.callBase(),(0,K.l)(this._optionsByReference,{validationError:!0})},_createValueChangeAction:function(){this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})},_suppressValueChangeAction:function(){this._valueChangeActionSuppressed=!0},_resumeValueChangeAction:function(){this._valueChangeActionSuppressed=!1},_initMarkup:function(){var h;this._toggleReadOnlyState(),this._setSubmitElementName(this.option("name")),this.callBase(),this._renderValidationState(),null===(h=this.option("_onMarkupRendered"))||void 0===h||h()},_raiseValueChangeAction:function(h,E){this._valueChangeAction||this._createValueChangeAction(),this._valueChangeAction(this._valueChangeArgs(h,E)
1)},_valueChangeArgs:function(h,E){return{value:h,previousValue:E,event:this._valueChangeEventInstance}},_saveValueChangeEvent:function(h){this._valueChangeEventInstance=h},_focusInHandler:function(h){var E="auto"===this.option("validationMessageMode");if(this._canValueBeChangedByClick()&&E){var L,M=null===(L=this._validationMessage)||void 0===L?void 0:L.$wrapper();M?.removeClass(q),clearTimeout(this.showValidationMessageTimeout),this.showValidationMessageTimeout=setTimeout(()=>M?.addClass(q),150)}return this.callBase(h)},_canValueBeChangedByClick:function(){return!1},_getStylingModePrefix:function(){return"dx-editor-"},_renderStylingMode:function(){var h=this.option("stylingMode"),E=this._getStylingModePrefix(),L=N.map(ae=>E+ae);L.forEach(ae=>this.$element().removeClass(ae));var M=E+h;if(-1===L.indexOf(M)){var w=this._getDefaultOptions().stylingMode,Q=this._convertRulesToOptions(this._defaultOptionsRules()).stylingMode;M=E+(Q||w)}this.$element().addClass(M)},_getValidationErrors:function(){var h=this.option("validationErrors");return!h&&this.option("validationError")&&(h=[this.option("validationError")]),h},_disposeValidationMessage:function(){this._$validationMessage&&(this._$validationMessage.remove(),this.setAria("describedby",null),this._$validationMessage=void 0,this._validationMessage=void 0)},_toggleValidationClasses:function(h){this.$element().toggleClass("dx-invalid",h),this.setAria(b,h||void 0)},_renderValidationState:function(){var h=this.option("isValid")&&this.option("validationStatus")!==b,E=this._getValidationErrors(),L=this.$element();if(this._toggleValidationClasses(!h),(0,A.Ym)()&&(this._disposeValidationMessage(),!h&&E)){var{validationMessageMode:M,validationMessagePosition:w,validationMessageOffset:Q,validationBoundary:ae,rtlEnabled:ce}=this.option();this._$validationMessage=(0,n.Z)("<div>").appendTo(L);var Me="dx-".concat(new u.Z);this.setAria("describedby",Me),this._validationMessage=new T.Z(this._$validationMessage,(0,K.l)({validationErrors:E,rtlEnabled:ce,target:this._getValidationMessageTarget(),visualContainer:L,mode:M,positionSide:w,offset:Q,boundary:ae,contentId:Me},this._options.cache("validationTooltipOptions"))),this._bindInnerWidgetOptions(this._validationMessage,"validationTooltipOptions")}},_getValidationMessageTarget:function(){return this.$element()},_toggleReadOnlyState:function(){var h=this.option("readOnly");this._toggleBackspaceHandler(h),this.$element().toggleClass("dx-state-readonly",!!h),this.setAria("readonly",h||void 0)},_toggleBackspaceHandler:function(h){var E=this._keyboardEventBindingTarget(),L=(0,x.V4)("keydown","editorReadOnly");H.Z.off(E,L),h&&H.Z.on(E,L,M=>{"backspace"===(0,x.EV)(M)&&M.preventDefault()})},_dispose:function(){var h=this.$element()[0];(0,i.aT)(h,c,null),clearTimeout(this.showValidationMessageTimeout),this._disposeValidationMessage(),this.callBase()},_setSubmitElementName:function(h){var E=this._getSubmitElement();E&&(h.length>0?E.attr("name",h):E.removeAttr("name"))},_getSubmitElement:function(){return null},_setValidationMessageOption:function(h){var E,{name:L,value:M}=h;null===(E=this._validationMessage)||void 0===E||E.option(Z[L]?Z[L]:L,M)},_hasActiveElement:d.ZT,_optionChanged:function(h){var E;switch(h.name){case"onValueChanged":this._createValueChangeAction();break;case"readOnly":this._toggleReadOnlyState(),this._refreshFocusState();break;case"value":h.value!=h.previousValue&&this.validationRequest.fire({value:h.value,editor:this}),this._valueChangeActionSuppressed||(this._raiseValueChangeAction(h.value,h.previousValue),this._saveValueChangeEvent(void 0));break;case"width":this.callBase(h),null===(E=this._validationMessage)||void 0===E||E.updateMaxWidth();break;case"name":this._setSubmitElementName(h.value);break;case"isValid":case"validationError":case"validationErrors":case"validationStatus":this.option(I.Z.synchronizeValidationOptions(h,this.option())),this._renderValidationState();break;case"validationBoundary":case"validationMessageMode":case"validationMessagePosition":case"validationMessageOffset":this._setValidationMessageOption(h);break;case"rtlEnabled":this._setValidationMessageOption(h),this.callBase(h);break;case"validationTooltipOptions":this._innerWidgetOptionChanged(this._val
1idationMessage,h);break;default:this.callBase(h)}},blur:function(){this._hasActiveElement()&&(0,F.M3)()},reset:function(){var h=this._getDefaultOptions();this.option("value",h.value)}});V.isEditor=h=>h instanceof V;const ne=V},35431:(Je,Ae,a)=>{a.d(Ae,{Z:()=>u});var n=a(66619),i=a(31996),ie=a(56836),A=a(64596),x=a(83684),K=a(30469),W=a(14422),I=a(16714),H=a(80316);const u=(0,x.l)({},K.Z,{_dataExpressionDefaultOptions:function(){return{items:[],dataSource:null,itemTemplate:"item",value:null,valueExpr:"this",displayExpr:void 0}},_initDataExpressions:function(){this._compileValueGetter(),this._compileDisplayGetter(),this._initDynamicTemplates(),this._initDataSource(),this._itemsToDataSource()},_itemsToDataSource:function(){this.option("dataSource")||(this._dataSource=new W.o({store:new I.Z(this.option("items")),pageSize:0}),this._initDataController())},_compileDisplayGetter:function(){this._displayGetter=(0,i.vb)(this._displayGetterExpr())},_displayGetterExpr:function(){return this.option("displayExpr")},_compileValueGetter:function(){this._valueGetter=(0,i.vb)(this._valueGetterExpr())},_valueGetterExpr:function(){return this.option("valueExpr")||"this"},_loadValue:function(d){var F=new H.BH;return d=this._unwrappedValue(d),(0,A.$K)(d)?(this._loadSingle(this._valueGetterExpr(),d).done(function(q){this._isValueEquals(this._valueGetter(q),d)?F.resolve(q):F.reject()}.bind(this)).fail(function(){F.reject()}),this._loadValueDeferred=F,F.promise()):F.reject().promise()},_rejectValueLoading:function(){var d;null===(d=this._loadValueDeferred)||void 0===d||d.reject({shouldSkipCallback:!0})},_getCurrentValue:function(){return this.option("value")},_unwrappedValue:function(d){var F;return(d=null!==(F=d)&&void 0!==F?F:this._getCurrentValue())&&this._dataSource&&"this"===this._valueGetterExpr()&&(d=this._getItemKey(d)),n.Z.unwrap(d)},_getItemKey:function(d){var F=this._dataSource.key();if(Array.isArray(F)){for(var q={},U=0,Y=F.length;U<Y;U++)q[F[U]]=d[F[U]];return q}return F&&"object"==typeof d&&(d=d[F]),d},_isValueEquals:function(d,F){var q=this._dataSource&&this._dataSource.key(),U=this._compareValues(d,F);return!U&&q&&(0,A.$K)(d)&&(0,A.$K)(F)&&(U=Array.isArray(q)?this._compareByCompositeKey(d,F,q):this._compareByKey(d,F,q)),U},_compareByCompositeKey:function(d,F,q){var U=A.Kn;if(!U(d)||!U(F))return!1;for(var Y=0,S=q.length;Y<S;Y++)if(d[q[Y]]!==F[q[Y]])return!1;return!0},_compareByKey:function(d,F,q){var U=n.Z.unwrap,Y=(0,ie.IS)(U(d[q]),d),S=(0,ie.IS)(U(F[q]),F);return this._compareValues(Y,S)},_compareValues:function(d,F){return(0,i.Ex)(d,!0)===(0,i.Ex)(F,!0)},_initDynamicTemplates:ie.ZT,_setCollectionWidgetItemTemplate:function(){this._initDynamicTemplates(),this._setCollectionWidgetOption("itemTemplate",this.option("itemTemplate"))},_getCollectionKeyExpr:function(){var d=this.option("valueExpr");return(0,A.HD)(d)&&"this"!==d||(0,A.mf)(d)?d:null},_dataExpressionOptionChanged:function(d){switch(d.name){case"items":this._itemsToDataSource(),this._setCollectionWidgetOption("items");break;case"dataSource":this._initDataSource();break;case"itemTemplate":this._setCollectionWidgetItemTemplate();break;case"valueExpr":this._compileValueGetter();break;case"displayExpr":this._compileDisplayGetter(),this._initDynamicTemplates(),this._setCollectionWidgetOption("displayExpr")}}})},51061:(Je,Ae,a)=>{var n=a(83520),i=a(24705),ie=a(1037),A=a(83684),x=a(6795),K=a(24572),W=a(13921),I=a(67771),H=a(12598),T=a(16129),d="dx-radiobutton-icon",Y=H.Z.inherit({_supportedKeys:function(){return(0,A.l)(this.callBase(),{space:function(z){z.preventDefault(),this._clickAction({event:z})}})},_getDefaultOptions:function(){return(0,A.l)(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,value:!1})},_canValueBeChangedByClick:function(){return!0},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===W.Z.real().deviceType&&!W.Z.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this.$element().addClass("dx-radiobutton")},_initMarkup:function(){this.callBase(),this._renderIcon(),this._renderCheckedState(this.option("value")),this._renderClick(),this.setAria("role","radio")},_renderIcon:function(){this._$icon=(0,n.Z)("<div>").addClass(d),(0,n.Z)("<div>").addClass("dx-radiobutton-icon-dot").appendTo(this._$icon),this.$element().append(this._$icon)},_renderCheckedState:function(z){this.$element().toggleClass("dx-radiobutton-checked",z).find("."+d).toggleClass("dx-radiobutton-icon-checked",z),this.setAria("checked",z)},_renderClick:function(){var z=(0,T.V4)(ie.u,this.NAME);this._clickAction=this._createAction(function(le){this._clickHandler(le.event)}.bind(this)),i.Z.off(this.$element(),z),i.Z.on(this.$element(),z,function(le){this._clickAction({event:le})}.bind(this))},_clickHandler:function(z){this._saveValueChangeEvent(z),this.option("value",!0)},_optionChanged:function(z){"value"===z.name?(this._renderCheckedState(z.value),this.callBase(z)):this.callBase(z)}
1});(0,I.Z)("dxRadioButton",Y);const S=Y;var c=a(37011),g=a(21374),b=a(56836),ue=a(24245),N=a(74589),Z="dxListEditDecorator",V=(0,T.V4)(N.BL,Z),ne=(0,T.V4)(N.aq,Z),h=(0,T.V4)(N.ut,Z);const L=ue.Z.inherit({ctor:function(z){this._list=z,this._init()},_init:b.ZT,_shouldHandleSwipe:!1,_attachSwipeEvent:function(z){var le={itemSizeFunc:function(){return this._clearSwipeCache&&(this._itemWidthCache=(0,g.dz)(this._list.$element()),this._clearSwipeCache=!1),this._itemWidthCache}.bind(this)};i.Z.on(z.$itemElement,V,le,this._itemSwipeStartHandler.bind(this)),i.Z.on(z.$itemElement,ne,this._itemSwipeUpdateHandler.bind(this)),i.Z.on(z.$itemElement,h,this._itemSwipeEndHandler.bind(this))},_itemSwipeStartHandler:function(z){var le=(0,n.Z)(z.currentTarget);le.is(".dx-state-disabled, .dx-state-disabled *")?z.cancel=!0:(clearTimeout(this._list._inkRippleTimer),this._swipeStartHandler(le,z))},_itemSwipeUpdateHandler:function(z){var le=(0,n.Z)(z.currentTarget);this._swipeUpdateHandler(le,z)},_itemSwipeEndHandler:function(z){var le=(0,n.Z)(z.currentTarget);this._swipeEndHandler(le,z),this._clearSwipeCache=!0},beforeBag:b.ZT,afterBag:b.ZT,_commonOptions:function(){return{activeStateEnabled:this._list.option("activeStateEnabled"),hoverStateEnabled:this._list.option("hoverStateEnabled"),focusStateEnabled:this._list.option("focusStateEnabled")}},modifyElement:function(z){this._shouldHandleSwipe&&(this._attachSwipeEvent(z),this._clearSwipeCache=!0)},afterRender:b.ZT,handleClick:b.ZT,handleKeyboardEvents:b.ZT,handleEnterPressing:b.ZT,handleContextMenu:b.ZT,_swipeStartHandler:b.ZT,_swipeUpdateHandler:b.ZT,_swipeEndHandler:b.ZT,visibilityChange:b.ZT,getExcludedSelectors:b.ZT,dispose:b.ZT});var M="dx-list-select-decorator-enabled",ce="dx-list-select-checkbox-container",Me="dx-list-select-checkbox",pe="dx-list-select-radiobutton-container",Se="dx-list-select-radiobutton",J=(0,T.V4)(ie.u,"dxListEditDecorator");(0,c.z)("selection","default",L.inherit({_init:function(){this.callBase.apply(this,arguments);var z=this._list.option("selectionMode");this._singleStrategy="single"===z,this._containerClass=this._singleStrategy?pe:ce,this._controlClass=this._singleStrategy?Se:Me,this._controlWidget=this._singleStrategy?S:K.Z,this._list.$element().addClass(M)},beforeBag:function(z){var le=z.$itemElement,Oe=z.$container.addClass(this._containerClass),O=(0,n.Z)("<div>").addClass(this._controlClass).appendTo(Oe);new this._controlWidget(O,(0,A.l)(this._commonOptions(),{value:this._isSelected(le),elementAttr:{"aria-label":"Check State"},focusStateEnabled:!1,hoverStateEnabled:!1,onValueChanged:function(l){l.event&&this._list._saveSelectionChangeEvent(l.event),this._processCheckedState(le,l.value),l.event&&l.event.stopPropagation()}.bind(this)}))},modifyElement:function(z){this.callBase.apply(this,arguments);var le=z.$itemElement,Oe=this._controlWidget.getInstance(le.find("."+this._controlClass));i.Z.on(le,"stateChanged",function(O,l){Oe.option("value",l)}.bind(this))},_updateSelectAllState:function(){this._$selectAll&&this._selectAllCheckBox.option("value",this._list.isSelectAll())},afterRender:function(){"all"===this._list.option("selectionMode")&&(this._$selectAll?this._updateSelectAllState():this._renderSelectAll())},handleKeyboardEvents:function(z,le){var Oe=!le,O=this._list,l=this._$selectAll,G=O._getLastItemIndex();return!(!l||!(le&&0===z||Oe&&z===G)||(O.option("focusedElement",l),O.scrollToItem(O.option("focusedElement")),0))},handleEnterPressing:function(z){if(this._$selectAll&&this._$selectAll.hasClass("dx-state-focused"))return z.target=this._$selectAll.get(0),this._list._saveSelectionChangeEvent(z),this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value")),!0},_renderSelectAll:function(){var z=this._$selectAll=(0,n.Z)("<div>").addClass("dx-list-select-all"),le=this._list,Oe=le._supportedKeys().downArrow.bind(le);this._selectAllCheckBox=le._createComponent((0,n.Z)("<div>").addClass("dx-list-select-all-checkbox").appendTo(z),K.Z,{elementAttr:{"aria-label":"Select All"},focusStateEnabled:!1,hoverStateEnabled:!1}),this._selectAllCheckBox.registerKeyHandler("downArrow",Oe),(0,n.Z)("<div>").addClass("dx-list-select-all-label").text(this._list.option("selectAllText")).appendTo(z),this._list.itemsContainer().prepend(z),this._updateSelectAllState(),this._attachSelectAllHandler()},_attachSelectAllHandler:function(){this._selectAllCheckBox.option("onValueChanged",this._selectAllHandler.bind(this)),i.Z.off(this._$selectAll,J),i.Z.on(this._$selectAll,J,this._selectAllClickHandler.bind(this))},_selectAllHandler:function(z){z.event&&z.event.stopPropagation();var le=this._selectAllCheckBox.option("value");z.event&&this._list._saveSelectionChangeEvent(z.event),!0===le?this._selectAllItems():!1===le&&this._unselectAllItems(),this._list._createActionByOption("onSelectAllValueChanged")({value:le})},_checkSelectAllCapability:function(){var z=this._list,le=z._dataController;return!("allPages"===z.option("selectAllMode")&&z.option("grouped")&&!le.group()&&(x.Z.log("W1010"),1))},_selectAllItems:function(){this._checkSelectAllCapability()&&this._list._selection.selectAll("page"===this._list.option("selectAllMode"))},_unselectAllItems:function(){this._checkSelectAllCapability()&&this._list._selection.deselectAll("page"===this._list.option("selectAllMode"))},_selectAllClickHandler:function(z){this._list._saveSelectionChangeEvent(z),this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value"))},_isSelected:function(z){return this._list.isItemSelected(z)},_processCheckedState:function(z,le){le?this._list.selectItem(z):this._list.unselectItem(z)},dispose:function(){this._disposeSelectAll(),this._list.$element().removeClass(M),this.callBase.apply(this,arguments)},_disposeSelectAll:function(){this._$selectAll&&(this._$selectAll.remove(),this._$selectAll=null)}}))},63394:(Je,Ae,a)=>{a.d(Ae,{K:()=>Xe});var n=a(21374),i=a(83520),ie=a(24705),A=a(56836),x=a(64596),K=a(84667),W=a(37075),I=a(91553),H=a(31996),T=a(83684),u=a(35922),d=a(1037),F=a(74589),q=a(45303),U=a(40911),Y=a(22528),S=a(13921),c=a(69388),g="dx-list-item-badge-container",N="dx-list-item-chevron-container";const ne=c.Z.inherit({_renderWatchers:function(){this.callBase(),this._startWatcher("badge",this._renderBadge.bind(this)),this._startWatcher("showChevron",this._renderShowChevron.bind(this))},_renderBadge:function(k){if(this._$element.children("."+g).remove(),k){var P=(0,i.Z)("<div>").addClass(g).append((0,i.Z)("<div>").addClass("dx-list-item-badge").addClass("dx-badge").text(k)),te=this._$element.children("."+N).first();te.length>0?P.insertBefore(te):P.appendTo(this._$element)}},_renderShowChevron:function(k){if(this._$element.children("."+N).remove(),k){var P=(0,i.Z)("<div>").addClass(N),te=(0,i.Z)("<div>").addClass("dx-list-item-chevron");P.append(te).appendTo(this._$element)}}});
1var h=a(73946),E=a(16129),L=a(28961),M=a(34500),w=a(56283),Q=a(54463),ae=a(63029),ce=a(98595),Me=a(80316),pe=a(98166),Se=a(68262);function z(k,P){var te=function J(k){var P,te;return k&&(0,M.Ym)()?null===(P=(te=(0,M.Jj)()).getComputedStyle)||void 0===P?void 0:P.call(te,k):null}(k);return te?function Ce(k){return k?Number(k.replace("px","")):0}(te["margin".concat((0,Se.MI)(P))]):0}var ye="dx-list-item",R="."+ye,se="dx-list-group",De="dx-list-group-header",ge="dx-list-group-body",Ne="dx-list-group-collapsed",Pe="dx-wrap-item-text",je=70,Qe=(0,H.vb)("items"),Xe=ae.Z.inherit({_activeStateUnit:[R,".dx-list-select-all"].join(","),_supportedKeys:function(){var k=this,P=function(Te){var be,we,B,Fe=te(Te);Fe.is(k.option("focusedElement"))&&(we=Te,B=(be=Fe).position().top,"prev"===we&&(B=be.position().top-(0,n.Cr)(k.$element())+(0,n.zp)(be)),k.scrollTo(B),Fe=te(Te)),k.option("focusedElement",(0,W.u)(Fe)),k.scrollToItem(Fe)};function te(Te){var Fe=k.scrollTop(),Ke=(0,n.Cr)(k.$element()),be=(0,i.Z)(k.option("focusedElement")),we=!0;if(!be.length)return(0,i.Z)();for(;we;){var B=be[Te]();if(!B.length)break;var de=B.position().top+(0,n.zp)(B)/2;(we=de<Ke+Fe&&de>Fe)&&(be=B)}return be}return(0,T.l)(this.callBase(),{leftArrow:A.ZT,rightArrow:A.ZT,pageUp:function(){return P("prev"),!1},pageDown:function(){return P("next"),!1}})},_getDefaultOptions:function(){return(0,T.l)(this.callBase(),{hoverStateEnabled:!0,pullRefreshEnabled:!1,scrollingEnabled:!0,showScrollbar:"onScroll",useNativeScrolling:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,pullingDownText:U.Z.format("dxList-pullingDownText"),pulledDownText:U.Z.format("dxList-pulledDownText"),refreshingText:U.Z.format("dxList-refreshingText"),pageLoadingText:U.Z.format("dxList-pageLoadingText"),onScroll:null,onPullRefresh:null,onPageLoading:null,pageLoadMode:"scrollBottom",nextButtonText:U.Z.format("dxList-nextButtonText"),onItemSwipe:null,grouped:!1,onGroupRendered:null,collapsibleGroups:!1,groupTemplate:"group",indicateLoading:!0,activeStateEnabled:!0,_itemAttributes:{role:"option"},_listAttributes:{role:"listbox"},useInkRipple:!1,wrapItemText:!1,_swipeEnabled:!0,showChevronExpr:function(k){return k?k.showChevron:void 0},badgeExpr:function(k){return k?k.badge:void 0}})},_defaultOptionsRules:function(){var k=(0,L.Vk)();return this.callBase().concat((0,Q.i)(),[{device:function(){return!q.nativeScrolling},options:{useNativeScrolling:!1}},{device:function(P){return!q.nativeScrolling&&!S.Z.isSimulator()&&"desktop"===S.Z.real().deviceType&&"generic"===P.platform},options:{showScrollbar:"onHover",pageLoadMode:"nextButton"}},{device:function(){return"desktop"===S.Z.real().deviceType&&!S.Z.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return(0,L.x2)(k)},options:{pullingDownText:"",pulledDownText:"",refreshingText:"",pageLoadingText:"",useInkRipple:!0}}])},_visibilityChanged:function(k){k&&this._updateLoadingState(!0)},_itemClass:function(){return ye},_itemDataKey:function(){return"dxListItemData"},_itemContainer:function(){return this._$container},_saveSelectionChangeEvent:function(k){this._selectionChangeEventInstance=k},_getSelectionChangeEvent:function(){return this._selectionChangeEventInstance},_refreshItemElements:function(){this._itemElementsCache=this.option("grouped")?this._itemContainer().children("."+se).children("."+ge).children(this._itemSelector()):this._itemContainer().children(this._itemSelector())},_modifyByChanges:function(){this.callBase.apply(this,arguments),this._refreshItemElements(),this._updateLoadingState(!0)},reorderItem:function(k,P){return this.callBase(k,P).done(function(){this._refreshItemElements()})},deleteItem:function(k){return this.callBase(k).done(function(){this._refreshItemElements()})},_itemElements:function(){return this._itemElementsCache},_itemSelectHandler:function(k){if("single"!==this.option("selectionMode")||!this.isItemSelected(k.currentTarget))return this.callBase(k)},_allowDynamicItemsAppend:function(){return!0},_init:function(){this.callBase(),this._dataController.resetDataSourcePageIndex(),this._$container=this.$element(),this._initScrollView(),this._feedbackShowTimeout=je,this._createGroupRenderAction()},_scrollBottomMode:function(){return"scrollBottom"===this.option("pageLoadMode")},_nextButtonMode:function(){return"nextButton"===this.option("pageLoadMode")},_dataSourceOptions:function(){var k=this._scrollBottomMode(),P=this._nextButtonMode();return(0,T.l)(this.callBase(),{paginate:(0,A.IS)(k||P,!0)})},_getGroupedOption:function(){return this.option("grouped")},_getGroupContainerByIndex:function(k){return this._itemContainer().find(".".concat(se)).eq(k).find(".".concat(ge))},_dataSourceFromUrlLoadMode:function(){return"raw"},_initScrollView:function(){var k=this.option("scrollingEnabled"),P=k&&this.option("pullRefreshEnabled"),te=k&&this._scrollBottomMode()&&!!this._dataController.getDataSource();this._scrollView=this._createComponent(this.$element(),function me(){return w.Z}(),{height:this.option("height"),width:this.option("width"),disabled:this.option("disabled")||!k,onScroll:this._scrollHandler.bind(this),onPullDown:P?this._pullDownHandler.bind(this):null,onReachBottom:te?this._scrollBottomHandler.bind(this):null,showScrollbar:this.option("showScrollbar"),useNative:this.option("useNativeScrolling"),bounceEnabled:this.option("bounceEnabled"),scrollByContent:this.option("scrollByContent"),scrollByThumb:this.option("scrollByThumb"),pullingDownText:this.option("pullingDownText"),pulledDownText:this.option("pulledDownText"),refreshingText:this.option("refreshingText"),reachBottomText:this.option("pageLoadingText"),useKeyboard:!1}),this._$container=(0,i.Z)(this._scrollView.content()),this.option("wrapItemText")&&this._$container.addClass(Pe),this._createScrollViewActions()},_createScrollViewActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._pullRefreshAction=this._createActionByOption("onPullRefresh"),this._pageLoadingAction=this._createActionByOption("onPageLoading")},_scrollHandler:function(k){this._scrollAction&&this._scrollAction(k)},_initTemplates:function(){this._templateManager.addDefaultTemplates({group:new ce.c(function(k,P){(0,x.PO)(P)?P.key&&k.text(P.key):k.text(String(P))},["key"],this.option("integrationOptions.watchMethod"))}),this.callBase()},_prepareDefaultItemTemplate:function(k,P){if(this.callBase(k,P),k.icon){var te=(0,K.H)(k.icon).addClass("dx-list-item-icon"),Te=(0,i.Z)("<div>").addClass("dx-list-item-icon-container");Te.append(te),P.prepend(Te)}},_getBindableFields:function(){return["text","html","icon"]},_updateLoadingState:function(k){var P=this._dataController,te=this._scrollBottomMode()&&k&&!P.isLoading()&&!this._isLastPage();this._shouldContinueLoading(te)?this._infiniteDataLoading():(this._scrollView.release(!te&&!P.isLoading()),this._toggleNextButton(this._shouldRenderNextButton()&&!this._isLastPage()),this._loadIndicationSuppressed(!1))},_shouldRenderNextButton:function(){return this._nextButtonMode()&&this._dataController.isLoaded()},_isDataSourceFirstLoadCompleted:function(k){return(0,x.$K)(k)&&(this._isFirstLoadCompleted=k),this._isFirstLoadCompleted},_dataSourceLoadingChangedHandler:function(k){this._loadIndicationSuppressed()||(k&&this.option("indicateLoading")?this._showLoadingIndicatorTimer=setTimeout(function(){var Te;!this._itemElements().length&&!this._isDataSourceFirstLoadCompleted()||null===(Te=this._scrollView)||void 0===Te||Te.startLoading()}.bind(this)):(clearTimeout(this._showLoadingIndicatorTimer),this._scrollView&&this._scrollView.finishLoading()),k||this._isDataSourceFirstLoadCompleted(!1))},_dataSourceChangedHandler:function(){!this._shouldAppendItems()&&(0,M.Ym)()&&this._scrollView&&this._scrollView.scrollTo(0),this.callBase.apply(this,arguments),this._isDataSourceFirstLoadCompleted(!0)},_refreshContent:function(){this._prepareContent(),this._fireContentReadyAction()},_hideLoadingIfLoadIndicationOff:function(){this.option("indicateLoading")||this._dataSourceLoadingChangedHandler(!1)},_loadIndicationSuppressed:function(k){if(!arguments.length)return this._isLoadIndicationSuppressed;this._isLoadIndicationSuppressed=k},_scrollViewIsFull:function(){var k=this._scrollView;return!k||(0,n.Cr)(k.content())>(0,n.Cr)(k.container())},_pullDownHandler:function(k){this._pullRefreshAction(k);var P=this._dataController;P.getDataSource()&&!P.isLoading()?(this._clearSelectedItems(),P.pageIndex(0),P.reload()):this._updateLoadingState()},_shouldContinueLoading:function(k){var P,te,Te=(0,n.Cr)(this._scrollView.content())-(0,n.Cr)(this._scrollView.container())<(null!==(P=null===(te=this._scrollView.scrollOffset())||void 0===te?void 0:te.top)&&void 0!==P?P:0);return k&&(!this._scrollViewIsFull()||Te)},_infiniteDataLoading:function(){this.$element().is(":visible")&&(clearTimeout(this._loadNextPageTimer),this._loadNextPageTimer=setTimeout(()=>{this._loadNextPage()}))},_scrollBottomHandler:function(k){this._pageLoadingAction(k),this._dataController.isLoading()||this._isLastPage()?this._updateLoadingState():this._loadNextPage()},_renderItems:function(k){this.option("grouped")?((0,I.S6)(k,this._renderGroup.bind(this)),this._attachGroupCollapseEvent(),this._renderEmptyMessage(),(0,L.x2)()&&this.attachGroupHeaderInkRippleEvents()):this.callBase.apply(this,arguments),this._refreshItemElements(),this._updateLoadingState(!0)},_attachGroupCollapseEvent:function(){var k=(0,E.V4)(d.u,this.NAME),P="."+De,te=this.$element(),Te=this.option("collapsibleGroups");te.toggleClass("dx-list-collapsible-groups",Te),ie.Z.off(te,k,P),Te&&ie.Z.on(te,k,P,function(Fe){this._createAction(function(Ke){var be=(0,i.Z)(Ke.event.currentTarget).parent();this._collapseGroupHandler(be),this.option("focusStateEnabled")&&this.option("focusedElement",(0,W.u)(be.find("."+ye).eq(0)))}.bind(this),{validatingTargetName:"element"})({event:Fe})}.bind(this))},_collapseGroupHandler:function(k,P){var te=new Me.BH;if(k.hasClass(Ne)===P)return te.resolve();var Te=k.children("."+ge),Fe=(0,n.zp)(Te),Ke=0;return 0===Fe&&((0,n.QQ)(Te,"auto"),Ke=(0,n.zp)(Te)),k.toggleClass(Ne,P),u.Z.animate(Te,{type:"custom",from:{height:Fe},to:{height:Ke},duration:200,complete:function(){this.updateDimensions(),this._updateLoadingState(!0),te.resolve()}.bind(this)}),te.promise()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this._initialized&&(this._renderEmptyMessage(),this._updateLoadingState())},_initMarkup:function(){this._itemElementsCache=(0,i.Z)(),this.$element().addClass("dx-list"),this.callBase(),this.option("useInkRipple")&&this._renderInkRipple(),this.setAria("role",this.option("_listAttributes").role)},_renderInkRipple:function(){this._inkRipple=(0,Y.sY)()},_toggleActiveState:function(k,P,te){this.callBase.apply(this,arguments);var Te=this;if(this._inkRipple){var Fe={element:k,event:te};P?(0,L.x2)()?this._inkRippleTimer=setTimeout(function(){Te._inkRipple.showWave(Fe)},je/2):Te._inkRipple.showWave(Fe):(clearTimeout(this._inkRippleTimer),this._inkRipple.hideWave(Fe))}},_postprocessRenderItem:function(k){this._refreshItemElements(),this.callBase.apply(this,arguments),this.option("_swipeEnabled")&&this._attachSwipeEvent((0,i.Z)(k.itemElement))},_attachSwipeEvent:function(k){var P=(0,E.V4)(F.ut,this.NAME);ie.Z.on(k,P,this._itemSwipeEndHandler.bind(this))},_itemSwipeEndHandler:function(k){this._itemDXEventHandler(k,"onItemSwipe",{direction:k.offset<0?"left":"right"})},_nextButtonHandler:function(k){this._pageLoadingAction(k);var P=this._dataController;P.getDataSource()&&!P.isLoading()&&(this._scrollView.toggleLoading(!0),this._$nextButton.detach(),this._loadIndicationSuppressed(!0),this._loadNextPage())},_renderGroup:function(k,P){var te=(0,i.Z)("<div>").addClass(se).appendTo(this._itemContainer()),Te=(0,i.Z)("<div>").addClass(De).appendTo(te),Fe=this.option("groupTemplate"),Ke=this._getTemplate(P.template||Fe,P,k,Te),be={index:k,itemData:P,container:(0,W.u)(Te)};this._createItemByTemplate(Ke,be),(0,L.x2)()&&(0,i.Z)("<div>").addClass("dx-list-group-header-indicator").prependTo(Te),this._renderingGroupIndex=k;var we=(0,i.Z)("<div>").addClass(ge).appendTo(te);(0,I.S6)(Qe(P)||[],function(B,de){this._renderItem({group:k,item:B},de,we)}.bind(this)),this._groupRenderAction({groupElement:(0,W.u)(te),groupIndex:k,groupData:P})},downInkRippleHandler:function(k){this._toggleActiveState((0,i.Z)(k.currentTarget),!0,k)},upInkRippleHandler:function(k){this._toggleActiveState((0,i.Z)(k.currentTarget),!1)},attachGroupHeaderInkRippleEvents:function(){var k="."+De,P=this.$element();this._downInkRippleHandler=this._downInkRippleHandler||this.downInkRippleHandler.bind(this),this._upInkRippleHandler=this._upInkRippleHandler||this.upInkRippleHandler.bind(this);var te=[P,"dxpointerdown",k,this._downInkRippleHandler],Te=[P,"dxpointerup dxpointerout",k,this._upInkRippleHandler];ie.Z.off(...te),ie.Z.on(...te),ie.Z.off(...Te),ie.Z.on(...Te)},_createGroupRenderAction:function(){this._groupRenderAction=this._createActionByOption("onGroupRendered")},_clean:function(){clearTimeout(this._inkRippleTimer),this._$nextButton&&(this._$nextButton.remove(),this._$nextButton=null),this.callBase.apply(this,arguments)},_dispose:function(){this._isDataSourceFirstLoadCompleted(!1),clearTimeout(this._holdTimer),clearTimeout(this._loadNextPageTimer),clearTimeout(this._showLoadingIndicatorTimer),this.callBase()},_toggleDisabledState:function(k){this.callBase(k),this._scrollView.option("disabled",k||!this.option("scrollingEnabled"))},_toggleNextButton:function(k){var P=this._dataController,te=this._getNextButton();this.$element().toggleClass("dx-has-next",k),k&&P.isLoaded()&&te.appendTo(this._itemContainer()),k||te.detach()},_getNextButton:function(){return this._$nextButton||(this._$nextButton=this._createNextButton()),this._$nextButton},_createNextButton:function(){var k=(0,i.Z)("<div>").addClass("dx-list-next-button"),P=(0,i.Z)("<div>").appendTo(k);return this._createComponent(P,h.Z,{text:this.option("nextButtonText"),onClick:this._nextButtonHandler.bind(this),type:(0,L.x2)()?"default":void 0,integrationOptions:{}}),k},_moveFocus:function(){this.callBase.apply(this,arguments),this.scrollToItem(this.option("focusedElement"))},_refresh:function(){if((0,M.Ym)()){var k=this._scrollView.scrollTop();this.callBase(),k&&this._scrollView.scrollTo(k)}else this.callBase()},_optionChanged:function(k){switch(k.name){case"pageLoadMode":this._toggleNextButton(k.value),this._initScrollView();break;case"dataSource":this.callBase(k),this._initScrollView(),this._isDataSourceFirstLoadCompleted(!1);break;case"items":this.callBase(k),this._isDataSourceFirstLoadCompleted(!1);break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"pageLoadingText":case"showScrollbar":case"bounceEnabled":case"scrollByContent":case"scrollByThumb":case"useNativeScrolling":case"scrollingEnabled":case"pullRefreshEnabled":this._initScrollView(),this._updateLoadingState(!0);break;case"nextButtonText":case"onItemSwipe":case"useInkRipple":case"grouped":case"collapsibleGroups":case"groupTemplate":case"showChevronExpr":case"badgeExpr":this._invalidate();break;case"onScroll":case"onPullRefresh":case"onPageLoading":this._createScrollViewActions();break;case"wrapItemText":this._$container.toggleClass(Pe,k.value);break;case"onGroupRendered":this._createGroupRenderAction();break;case"width":case"height":this.callBase(k),this._scrollView.option(k.name,k.value),this._scrollView.update();break;case"indicateLoading":this._hideLoadingIfLoadIndicationOff();break;case"visible":this.callBase(k),this._scrollView.update();break;case"rtlEnabled":this._initScrollView(),this.callBase(k);break;case"_swipeEnabled":case"_listAttributes":break;default:this.callBase(k)}},_extendActionArgs:function(k){if(!this.option("grouped"))return this.callBase(k);var P=k.closest("."+se),te=P.find("."+ye);return(0,T.l)(this.callBase(k),{itemIndex:{group:P.index(),item:te.index(k)}})},expandGroup:function(k){var P=new Me.BH,te=this._itemContainer().find("."+se).eq(k);return this._collapseGroupHandler(te,!1).done(function(){P.resolveWith(this)}.bind(this)),P.promise()},collapseGroup:function(k){var P=new Me.BH,te=this._itemContainer().find("."+se).eq(k);return this._collapseGroupHandler(te,!0).done(function(){P.resolveWith(this)}.bind(this)),P},updateDimensions:function(){var k=this,P=new Me.BH;return k._scrollView?k._scrollView.update().done(function(){!k._scro
1llViewIsFull()&&k._updateLoadingState(!0),P.resolveWith(k)}):P.resolveWith(k),P.promise()},reload:function(){this.callBase(),this.scrollTo(0),this._pullDownHandler()},repaint:function(){this.scrollTo(0),this.callBase()},scrollTop:function(){return this._scrollView.scrollOffset().top},clientHeight:function(){return this._scrollView.clientHeight()},scrollHeight:function(){return this._scrollView.scrollHeight()},scrollBy:function(k){this._scrollView.scrollBy(k)},scrollTo:function(k){this._scrollView.scrollTo(k)},scrollToItem:function(k){var te=this._editStrategy.getItemElement(k)?.get(0);this._scrollView.scrollToElement(te,{bottom:z(te,"bottom")})},_dimensionChanged:function(){this.updateDimensions()}}).include(pe.Z);Xe.ItemClass=ne},37011:(Je,Ae,a)=>{a.d(Ae,{i:()=>i,z:()=>ie});var n=a(83684),i={};function ie(A,x,K){var W=i,I={};I[A]=W[A]?W[A]:{},I[A][x]=K,(0,n.l)(W,I)}},69246:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ye});var n=a(83520),i=a(16129),ie=a(83684),A=a(64596),x=a(91553),K=a(2030),W=a(82510),I=a(86523),T="dx-list-group",F=function(R){return(R.group<<20)+R.item},q=function(R){return{group:R>>20,item:1048575&R}};const Y=I.Z.inherit({_groupElements:function(){return this._collectionWidget._itemContainer().find("."+T)},_groupItemElements:function(R){return R.find(".dx-list-item")},getIndexByItemData:function(R){var p=this._collectionWidget.option("items"),y=!1;return!!R&&(R.items&&R.items.length&&(R=R.items[0]),(0,x.S6)(p,function(se,De){if(!De.items||((0,x.S6)(De.items,function(ge,ke){return ke!==R||(y={group:se,item:ge},!1)}),y))return!1}),y)},getItemDataByIndex:function(R){var p=this._collectionWidget.option("items");return(0,A.kE)(R)?this.itemsGetter()[R]:R&&p[R.group]&&p[R.group].items[R.item]||null},itemsGetter:function(){for(var R=[],p=this._collectionWidget.option("items"),y=0;y<p.length;y++)p[y]&&p[y].items?R=R.concat(p[y].items):R.push(p[y]);return R},deleteItemAtIndex:function(R){var p=q(R);this._collectionWidget.option("items")[p.group].items.splice(p.item,1)},getKeysByItems:function(R){var y,p=[];for(y=0;y<R.length;y++)R[y]&&R[y].items?p=p.concat(R[y].items):p.push(R[y]);var se=[];for(y=0;y<p.length;y++)se.push(this._collectionWidget.keyOf(p[y]));return se},getIndexByKey:function(R,p){var y=p||this._collectionWidget.option("items"),se=-1,De=this;return(0,x.S6)(y,function(ge,ke){if(ke.items&&((0,x.S6)(ke.items,function(Ne,Ge){var tt=De._collectionWidget.keyOf(Ge);if(De._equalKeys(tt,R))return se={group:ge,item:Ne},!1}),-1!==se))return!1}),se},_getGroups:function(R){var y=this._collectionWidget._dataController.group();return y?K.Z.queryByOptions((0,W.Z)(R),{group:y}).toArray():this._collectionWidget.option("items")},getItemsByKeys:function(R,p){var y=[],se=this._getGroups(p),De={},ge=ke=>{var Ne=this.getIndexByKey(ke,se),Ge=Ne&&se[Ne.group];if(Ge)return{groupKey:Ge.key,item:Ge.items[Ne.item]}};return(0,x.S6)(R,function(ke,Ne){var Ge=ge(Ne);if(Ge){var tt=Ge.groupKey,xe=Ge.item,Pe=De[tt];Pe||(De[tt]=Pe={key:tt,items:[]},y.push(Pe)),Pe.items.push(xe)}}),y},moveItemAtIndexToIndex:function(R,p){var y=this._collectionWidget.option("items"),se=q(R),De=q(p),ge=y[se.group].items,ke=y[De.group].items,Ne=ge[se.item];ge.splice(se.item,1),ke.splice(De.item,0,Ne)},_isItemIndex:function(R){return R&&(0,A.kE)(R.group)&&(0,A.kE)(R.item)},_getNormalizedItemIndex:function(R){var p=(0,n.Z)(R),y=p.closest("."+T);return y.length?F({group:this._groupElements().index(y),item:this._groupItemElements(y).index(p)}):-1},_normalizeItemIndex:function(R){return F(R)},_denormalizeItemIndex:function(R){return q(R)},_getItemByNormalizedIndex:function(R){var p=q(R),y=this._groupElements().eq(p.group);return this._groupItemElements(y).eq(p.item)},_itemsFromSameParent:function(R,p){return q(R).group===q(p).group}});var S=a(40911),c=a(56836),g=a(24245),b=a(6795),ue=a(37011),N=[],Z=function(R,p,y){N.push({enabled:R,decoratorType:p,decoratorSubType:y})};Z(function(){return this.option("menuItems").length},function(){return"menu"},function(){return this.option("menuMode")}),Z(function(){return!this.option("menuItems").length&&this.option("allowItemDeleting")},function(){var R=this.option("itemDeleteMode");return"toggle"===R||"slideButton"===R||"swipe"===R||"static"===R?"delete":"menu"},function(){var R=this.option("itemDeleteMode");return"slideItem"===R&&(R="slide"),R}),Z(function(){return"none"!==this.option("selectionMode")&&this.option("showSelectionControls")},function(){return"selection"},function(){return"default"}),Z(function(){return this.option("itemDragging.allowReordering")||this.option("itemDragging.allowDropInsideItem")||this.option("itemDragging.group")},function(){return"reorder"},function(){return"default"});const ae=g.Z.inherit({ctor:function(R){this._list=R,this._fetchRequiredDecorators()},dispose:function(){this._decorators&&this._decorators.length&&(0,x.S6)(this._decorators,function(R,p){p.dispose()})},_fetchRequiredDecorators:function(){this._decorators=[],(0,x.S6)(N,function(R,p){
1if(p.enabled.call(this._list)){var se=p.decoratorType.call(this._list),De=p.decoratorSubType.call(this._list),ge=this._createDecorator(se,De);this._decorators.push(ge)}}.bind(this))},_createDecorator:function(R,p){return new(this._findDecorator(R,p))(this._list)},_findDecorator:function(R,p){var y,se=null===(y=ue.i[R])||void 0===y?void 0:y[p];if(!se)throw b.Z.Error("E1012",R,p);return se},modifyItemElement:function(R){var p=(0,n.Z)(R.itemElement),y={$itemElement:p};this._prependBeforeBags(p,y),this._appendAfterBags(p,y),this._applyDecorators("modifyElement",y)},afterItemsRendered:function(){this._applyDecorators("afterRender")},_prependBeforeBags:function(R,p){var y=this._collectDecoratorsMarkup("beforeBag",p,"dx-list-item-before-bag");R.prepend(y)},_appendAfterBags:function(R,p){var y=this._collectDecoratorsMarkup("afterBag",p,"dx-list-item-after-bag");R.append(y)},_collectDecoratorsMarkup:function(R,p,y){var se=(0,n.Z)("<div>");return(0,x.S6)(this._decorators,function(){var De=(0,n.Z)("<div>").addClass(y);this[R]((0,ie.l)({$container:De},p)),De.children().length&&se.append(De)}),se.children()},_applyDecorators:function(R,p){(0,x.S6)(this._decorators,function(){this[R](p)})},_handlerExists:function(R){if(!this._decorators)return!1;for(var p=this._decorators,y=p.length,se=0;se<y;se++)if(p[se][R]!==c.ZT)return!0;return!1},_eventHandler:function(R,p,y){if(!this._decorators)return!1;for(var se=!1,De=this._decorators,ge=De.length,ke=0;ke<ge&&!(se=De[ke][R](p,y));ke++);return se},handleClick:function(R,p){return this._eventHandler("handleClick",R,p)},handleKeyboardEvents:function(R,p){return this._eventHandler("handleKeyboardEvents",R,p)},handleEnterPressing:function(R){return this._eventHandler("handleEnterPressing",R)},contextMenuHandlerExists:function(){return this._handlerExists("handleContextMenu")},handleContextMenu:function(R,p){return this._eventHandler("handleContextMenu",R,p)},getExcludedItemSelectors:function(){var R=[];return this._applyDecorators("getExcludedSelectors",R),R.join(",")}});const Ce=a(63394).K.inherit({_supportedKeys(){var R=this,p=this.callBase(),y=(se,De)=>{var ge=this._editStrategy,ke=this.option("focusedElement"),Ne=ge.getNormalizedIndex(ke);if(Ne!==this._getLastItemIndex()||!this._dataController.isLoading())if(se.shiftKey&&R.option("itemDragging.allowReordering")){var xe=ge.getItemElement(Ne+(De?-1:1));this.reorderItem(ke,xe),this.scrollToItem(ke),se.preventDefault()}else this._editProvider.handleKeyboardEvents(Ne,De)||(De?p.upArrow(se):p.downArrow(se))};return(0,ie.l)({},p,{del:se=>{R.option("allowItemDeleting")&&(se.preventDefault(),R.deleteItem(R.option("focusedElement")))},upArrow:se=>y(se,!0),downArrow:se=>y(se),enter:function(se){this._editProvider.handleEnterPressing(se)||p.enter.apply(this,arguments)},space:function(se){this._editProvider.handleEnterPressing(se)||p.space.apply(this,arguments)}})},_updateSelection(){this._editProvider.afterItemsRendered(),this.callBase()},_getLastItemIndex(){return this._itemElements().length-1},_refreshItemElements(){this.callBase();var R=this._editProvider.getExcludedItemSelectors();R.length&&(this._itemElementsCache=this._itemElementsCache.not(R))},_isItemStrictEquals:function(R,p){var y=R&&R.__dx_key__;return!(y&&!this.key()&&this._selection.isItemSelected(y))&&this.callBase(R,p)},_getDefaultOptions(){return(0,ie.l)(this.callBase(),{showSelectionControls:!1,selectionMode:"none",selectAllMode:"page",onSelectAllValueChanged:null,selectAllText:S.Z.format("dxList-selectAll"),menuItems:[],menuMode:"context",allowItemDeleting:!1,itemDeleteMode:"static",itemDragging:{}})},_defaultOptionsRules(){return this.callBase().concat([{device:R=>"ios"===R.platform,options:{menuMode:"slide",itemDeleteMode:"slideItem"}},{device:{platform:"android"},options:{itemDeleteMode:"swipe"}}])},_init(){this.callBase(),this._initEditProvider()},_initDataSource(){this.callBase(),this._isPageSelectAll()||this._dataSource&&this._dataSource.requireTotalCount(!0)},_isPageSelectAll(){return"page"===this.option("selectAllMode")},_initEditProvider(){this._editProvider=new ae(this)},_disposeEditProvider(){this._editProvider&&this._editProvider.dispose()},_refreshEditProvider(){this._disposeEditProvider(),this._initEditProvider()},_initEditStrategy(){this.option("grouped")?this._editStrategy=new Y(this):this.callBase()},_initMarkup(){this._refreshEditProvider(),this.callBase()},_renderItems(){this.callBase(...arguments),this._editProvider.afterItemsRendered()},_selectedItemClass:()=>"dx-list-item-selected",_itemResponseWaitClass:()=>"dx-list-item-response-wait",_itemClickHandler(R){var p=(0,n.Z)(R.currentTarget);p.is(".dx-state-disabled, .dx-state-disabled *")||this._editProvider.handleClick(p,R)||(this._saveSelectionChangeEvent(R),this.callBase(...arguments))},_shouldFireContextMenuEvent(){return this.callBase(...arguments)||this._editProvider.contextMenuHandlerExists()},_itemHoldHandler(R){var p=(0,n.Z)(R.currentTarget);if(!p.is(".dx-state-disabled, .dx-state-disabled *")){if((0,i.z6)(R)&&this._editProvider.handleContextMenu(p,R))return void(R.handledByEditProvider=!0);this.callBase(...arguments)}},_getItemContainer:function(R){if(this.option("grouped")){var p,y=null===(p=this._editStrategy.getIndexByItemData(R))||void 0===p?void 0:p.group;return this._getGroupContainerByIndex(y)}return this.callBase(R)},_itemContextMenuHandler(R){var p=(0,n.Z)(R.currentTarget);if(!p.is(".dx-state-disabled, .dx-state-disabled *")){if(!R.handledByEditProvider&&this._editProvider.handleContextMenu(p,R))return void R.preventDefault();this.callBase(...arguments)}},_postprocessRenderItem(R){this.callBase(...arguments),this._editProvider.modifyItemElement(R)},_clean(){this._disposeEditProvider(),this.callBase()},focusListItem(R){var p=this._editStrategy.getItemElement(R);this.option("focusedElement",p),this.focus(),this.scrollToItem(this.option("focusedElement"))},_optionChanged(R){switch(R.name){case"selectAllMode":this._initDataSource(),this._dataController.pageIndex(0),this._dataController.load();break;case"grouped":this._clearSelectedItems(),delete this._renderingGroupIndex,this._initEditStrategy(),this.callBase(R);break;case"showSelectionControls":case"menuItems":case"menuMode":case"allowItemDeleting":case"itemDeleteMode":case"itemDragging":case"selectAllText":this._invalidate();break;case"onSelectAllValueChanged":break;default:this.callBase(R)}},selectAll(){return this._selection.selectAll(this._isPageSelectAll())},unselectAll(){return this._selection.deselectAll(this._isPageSelectAll())},isSelectAll(){return this._selection.getSelectAllState(this._isPageSelectAll())},getFlatIndexByItemElement(R){return this._itemElements().index(R)},getItemElementByFlatIndex(R){var p=this._itemElements();return R<0||R>=p.length?(0,n.Z)():p.eq(R)},getItemByIndex(R){return this._editStrategy.getItemDataByIndex(R)},deleteItem(R){var p=this._editStrategy,y=p.getNormalizedIndex(R),se=this.option("focusedElement"),De=se?p.getNormalizedIndex(se):y,ke=De===this._getLastItemIndex()||y<De?De-1:De;return this.callBase(R).done(function(){return this.focusListItem(ke)})}});var J=a(80316),le=function z(R){return class{constructor(){throw new Error("Module '".concat(R,"' not found"))}static getInstance(){}}}("TextBox");const Oe={_getDefaultOptions:function(){return(0,ie.l)(this.callBase(),{searchMode:"",searchExpr:null,searchValue:"",searchEnabled:!1,searchEditorOptions:{}})},_initMarkup:function(){this._renderSearch(),this.callBase()},_renderSearch:function(){var R=this.$element(),p=this.option("searchEnabled"),y=this._addWidgetPrefix("search"),se=this._addWidgetPrefix("with-search");if(!p)return R.removeClass(se),void this._removeSearchBox();var De=this._getSearchEditorOptions();this._searchEditor?this._searchEditor.option(De):(R.addClass(se),this._$searchEditorElement=(0,n.Z)("<div>").addClass(y).prependTo(R),this._searchEditor=this._createComponent(this._$searchEditorElement,le,De))},_removeSearchBox:function(){this._$searchEditorElement&&this._$searchEditorElement.remove(),delete this._$searchEditorElement,delete this._searchEditor},_getSearchEditorOptions:function(){var R=this,p=R.option("searchEditorOptions"),y=S.Z.format("Search");return(0,ie.l)({mode:"search",placeholder:y,tabIndex:R.option("tabIndex"),value:R.option("searchValue"),valueChangeEvent:"input",inputAttr:{"aria-label":y},onValueChanged:function(se){var De=R.option("searchTimeout");R._valueChangeDeferred=new J.BH,clearTimeout(R._valueChangeTimeout),R._valueChangeDeferred.done(function(){this.option("searchValue",se.value)}.bind(R)),se.event&&"input"===se.event.type&&De?R._valueChangeTimeout=setTimeout(function(){R._valueChangeDeferred.resolve()},De):R._valueChangeDeferred.resolve()}},p)},_getAriaTarget:function(){return this.option("searchEnabled")?this._itemContainer(!0):this.$element()},_focusTarget:function(){return this.option("searchEnabled")?this._itemContainer(!0):this.callBase()},_updateFocusState:function(R,p){this.option("searchEnabled")&&this._toggleFocusClass(p,this.$element()),this.callBase(R,p)},getOperationBySearchMode:function(R){return"equals"===R?"=":R},_optionChanged:function(R){switch(R.name){case"searchEnabled":case"searchEditorOptions":this._invalidate();break;case"searchExpr":case"searchMode":case"searchValue":if(!this._dataSource)return void b.Z.log("W1009");"searchMode"===R.name?this._dataSource.searchOperation(this.getOperationBySearchMode(R.value)):this._dataSource[R.name](R.value),this._dataSource.load();break;case"searchTimeout":break;default:this.callBase(R)}},focus:function(){this.option("focusedElement")||!this.option("searchEnabled")?this.callBase():this._searchEditor&&this._searchEditor.focus()},_cleanAria:function(R){this.setAria({role:null,activedescendant:null},R),R.attr("tabIndex",null)},_clean(){this.callBase(),this._cleanAria(this._itemContainer()),this._cleanAria(this.$element())},_refresh:function(){this._valueChangeDeferred&&this._valueChangeDeferred.resolve(),this.callBase()},setEditorClass:function(R){le=R}},l=Ce.inherit(Oe).inherit({_addWidgetPrefix:function(R){return"dx-list-"+R},_getCombinedFilter:function(){var R=this._dataController,p={filter:R.filter()};return R.addSearchFilter(p),p.filter},_initDataSource:function(){var R=this.option("searchValue"),p=this.option("searchExpr"),y=this.option("searchMode");this.callBase();var se=this._dataController;R&&R.length&&se.searchValue(R),y.length&&se.searchOperation(Oe.getOperationBySearchMode(y)),p&&se.searchExpr(p)}});(0,a(67771).Z)("dxList",l);const ye=l},4046:(Je,Ae,a)=>{a.d(Ae,{Z:()=>g});var n=a(21374),i=a(83520),ie=a(34500),A=a(45303),x=a(28961),K=a(83684),W=a(13921),I=a(67771),H=a(46068),T=(0,ie.jW)(),U="dx-loadindicator-segment",c=H.Z.inherit({_getDefaultOptions:function(){return(0,K.l)(this.callBase(),{indicatorSrc:"",activeStateEnabled:!1,hoverStateEnabled:!1,_animatingSegmentCount:1,_animatingSegmentInner:!1})},_defaultOptionsRules:function(){var b=(0,x.Vk)();return this.callBase().concat([{device:function(){return"android"===W.Z.real().platform&&!/chrome/i.test(T.userAgent)},options:{viaImage:!0}},{device:function(){return(0,x.x2)(b)},options:{_animatingSegmentCount:2,_animatingSegmentInner:!0}},{device:function(){return(0,x.OD)(b)},options:{_animatingSegmentCount:7}}])},_useTemplates:function(){return!1},_init:function(){this.callBase(),this.$element().addClass("dx-loadindicator")},_initMarkup:function(){this.callBase(),this._renderWrapper(),this._renderIndicatorContent(),this._renderMarkup()},_renderWrapper:function(){this._$wrapper=(0,i.Z)("<div>").addClass("dx-loadindicator-wrapper"),this.$element().append(this._$wrapper)},_renderIndicatorContent:function(){this._$content=(0,i.Z)("<div>").addClass("dx-loadindicator-content"),this._$wrapper.append(this._$content)},_renderMarkup:function(){!(0,A.animation)()||this.option("viaImage")||this.option("indicatorSrc")?this._renderMarkupForImage():this._renderMarkupForAnimation()},_renderMarkupForAnimation:function(){var b=this.option("_animatingSegmentInner");this._$indicator=(0,i.Z)("<div>").addClass("dx-loadindicator-icon"),this._$content.append(this._$indicator);for(var ue=this.option("_animatingSegmentCount");ue>=0;--ue){var N=(0,i.Z)("<div>").addClass(U).addClass(U+ue);b&&N.append((0,i.Z)("<div>").addClass("dx-loadindicator-segment-inner")),this._$indicator.append(N)}},_renderMarkupForImage:function(){var b=this.option("indicatorSrc");this._$wrapper.addClass("dx-loadindicator-image"),b&&this._$wrapper.css("backgroundImage","url("+b+")")},_renderDimensions:function(){this.callBase(),this._updateContentSizeForAnimation()},_updateContentSizeForAnimation:function(){if(this._$indicator){var b=this.option("width"),ue=this.option("height");if(b||ue){b=(0,n.dz)(this.$element()),ue=(0,n.Cr)(this.$element());var N=Math.min(ue,b);this._$wrapper.css({height:N,width:N,fontSize:N})}}},_clean:function(){this.callBase(),this._removeMarkupForAnimation(),this._removeMarkupForImage()},_removeMarkupForAnimation:function(){this._$indicator&&(this._$indicator.remove(),delete this._$indicator)},_removeMarkupForImage:function(){this._$wrapper.css("backgroundImage","none")},_optionChanged:function(b){switch(b.name){case"_animatingSegmentCount":case"_animatingSegmentInner":case"indicatorSrc":this._invalidate();break;default:this.callBase(b)}}});(0,I.Z)("dxLoadIndicator",c);const g=c},34666:(Je,Ae,a)=>{a.d(Ae,{Z:()=>et});var n=a(67771),i=a(24705),ie=a(83684),A=a(64596),x=a(13921),K=a(92657),W=a(29147),I=a(56836),H=function(k){for(var P=0,te=0,Te=0;Te<k.length;++Te)if("'"===k[Te]&&P++,"."===k[Te]&&(++te,P%2==0))return{occurrence:te,index:Te};return{occurrence:1,index:-1}},T=function(k,P,te){for(var Te=-1;te--&&Te++<k.length;)Te=k.indexOf(P,Te);return Te},u=function(k,P){return-1===P?[k]:[k.slice(0,P),k.slice(P+1)]},F=function(k,P){if("string"==typeof P){var te=P.split(";"),Te=W.Z.getSign(k,P);te[1]=te[1]||"-"+te[0],P=(P=te[Te<0?1:0]).replace(/'([^']*)'/g,we=>we.split("").map(()=>" ").join("").substr(2));var Fe=/^[^#0.,]*/.exec(P)[0].length,Ke=/[^#0.,]*$/.exec(P)[0].length;return{start:Fe,end:k.length-Ke}}return{start:0,end:k.length}},q=function(k,P){var te=W.Z.getDecimalSeparator(),Te=new RegExp("[^0-9"+(0,I.hr)(te)+"]","g");return P.slice(0,k).replace(Te,"").length},U=function(k){return k.split("").reverse().join("")},Y=function(k,P){if(!k)return-1;for(var te=/[0-9]/g,Te=1,Fe=null,Ke=te.exec(P);Ke;){if(Fe=Ke.index,Te>=k)return Fe;Te++,Ke=te.exec(P)}return null===Fe?P.length:Fe},c=function(k,P){return void 0===k.start&&(k={start:k,end:k}),{start:k.start+P,end:k.end+P}};function N(k,P,te){k=c(k,0);var Te=F(P,te);return{start:(0,K.n$)(k.start,Te.start,Te.end),end:(0,K.n$)(k.end,Te.start,Te.end)}}var V=a(87242),ne=a(83520),h=a(68082),E=a(30805),L=a(33871),M=a(16129),w=a(91799),Q=a(46068),ae=a(45390),ce=a(26463),Me=a(61446),pe=a(80316),z="dxNumberBox",le=(0,M.V4)(ae.Z.up,z),Oe=(0,M.V4)(ae.Z.cancel,z);const l=Q.Z.inherit({_getDefaultOptions:function(){return(0,ie.l)(this.callBase(),{direction:"up",onChange:null,activeStateEnabled:!0,hoverStateEnabled:!0})},_initMarkup:function(){this.callBase();var k="dx-numberbox-spin-"+this.option("direction");this.$element().addClass("dx-numberbox-spin-button").addClass(k),this._spinIcon=(0,ne.Z)("<div>").addClass(k+"-icon").appendTo(this.$element())},_render:function(){this.callBase();var k=(0,M.V4)(ae.Z.down,this.NAME),P=this.$element();i.Z.off(P,k),i.Z.on(P,k,this._spinDownHandler.bind(this)),this._spinChangeHandler=this._createActionByOption("onChange")},_spinDownHandler:function(k){k.preventDefault(),this._clearTimer(),i.Z.on(this.$element(),Me.Z.name,function(){this._feedBackDeferred=new pe.BH,(0,ce.dR)(this._feedBackDeferred),this._spinChangeHandler({event:k}),this._holdTimer=setInterval(this._spinChangeHandler,100,{event:k})}.bind(this));var P=h.Z.getDocument();i.Z.on(P,le,this._clearTimer.bind(this)),i.Z.on(P,Oe,this._clearTimer.bind(this)),this._spinChangeHandler({event:k})},_dispose:function(){this._clearTimer(),this.callBase()},_clearTimer:function(){i.Z.off(this.$element(),Me.Z.name);var k=h.Z.getDocument();i.Z.off(k,le),i.Z.off(k,Oe),this._feedBackDeferred&&this._feedBackDeferred.resolve(),this._holdTimer&&clearInterval(this._holdTimer)},_optionChanged:function(k){switch(k.name){case"onChange":case"direction":this._invalidate();break;default:this.callBase(k)}}});class p extends w.Z{_attachEvents(P,te){var{editor:Te}=this,Fe=(0,M.V4)(ae.Z.down,
1Te.NAME),Ke=te.children(),be=Te._createAction(we=>Te._spinButtonsPointerDownHandler(we));i.Z.off(te,Fe),i.Z.on(te,Fe,we=>be({event:we})),l.getInstance(Ke.eq(0)).option("onChange",we=>Te._spinUpChangeHandler(we)),l.getInstance(Ke.eq(1)).option("onChange",we=>Te._spinDownChangeHandler(we))}_create(){var{editor:P}=this,te=(0,ne.Z)("<div>").addClass("dx-numberbox-spin-container"),Te=(0,ne.Z)("<div>").appendTo(te),Fe=(0,ne.Z)("<div>").appendTo(te),Ke=this._getOptions();return this._addToContainer(te),P._createComponent(Te,l,(0,ie.l)({direction:"up"},Ke)),P._createComponent(Fe,l,(0,ie.l)({direction:"down"},Ke)),this._legacyRender(P.$element(),this._isTouchFriendly(),Ke.visible),{instance:te,$element:te}}_getOptions(){var{editor:P}=this;return{visible:this._isVisible(),disabled:P.option("disabled")}}_isVisible(){var{editor:P}=this;return super._isVisible()&&P.option("showSpinButtons")}_isTouchFriendly(){var{editor:P}=this;return P.option("showSpinButtons")&&P.option("useLargeSpinButtons")}_legacyRender(P,te,Te){P.toggleClass("dx-numberbox-spin-touch-friendly",te),P.toggleClass("dx-numberbox-spin",Te)}update(){if(super.update()){var{editor:te,instance:Te}=this,Fe=te.$element(),Ke=this._isVisible(),be=this._isTouchFriendly(),we=Te.children(),B=l.getInstance(we.eq(0)),de=l.getInstance(we.eq(1)),D=this._getOptions();B.option(D),de.option(D),this._legacyRender(Fe,be,Ke)}}}var y=a(40911),se=Math,ge=["tab","del","backspace","leftArrow","rightArrow","home","end","enter"],Ne=L.Z.inherit({_supportedKeys:function(){return(0,ie.l)(this.callBase(),{upArrow:function(k){(0,M.j1)(k)||(k.preventDefault(),k.stopPropagation(),this._spinUpChangeHandler(k))},downArrow:function(k){(0,M.j1)(k)||(k.preventDefault(),k.stopPropagation(),this._spinDownChangeHandler(k))},enter:function(){}})},_getDefaultOptions:function(){return(0,ie.l)(this.callBase(),{value:0,min:void 0,max:void 0,step:1,showSpinButtons:!1,useLargeSpinButtons:!0,mode:"text",invalidValueMessage:y.Z.format("dxNumberBox-invalidValueMessage"),buttons:void 0})},_useTemplates:function(){return!1},_getDefaultButtons:function(){return this.callBase().concat([{name:"spins",Ctor:p}])},_isSupportInputMode:function(){var k=parseFloat(E.Z.version);return E.Z.chrome&&k>=66||E.Z.safari&&k>=12},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return x.Z.real().generic&&!x.Z.isSimulator()},options:{useLargeSpinButtons:!1}},{device:function(){return"desktop"!==x.Z.real().deviceType&&!this._isSupportInputMode()}.bind(this),options:{mode:"number"}}])},_initMarkup:function(){this._renderSubmitElement(),this.$element().addClass("dx-numberbox"),this.callBase()},_getDefaultAttributes:function(){var k=this.callBase();return k.inputmode="decimal",k},_renderContentImpl:function(){this.option("isValid")&&this._validateValue(this.option("value")),this.setAria("role","spinbutton")},_renderSubmitElement:function(){this._$submitElement=(0,ne.Z)("<input>").attr("type","hidden").appendTo(this.$element()),this._setSubmitValue(this.option("value"))},_setSubmitValue:function(k){this._getSubmitElement().val((0,I.FH)(k))},_getSubmitElement:function(){return this._$submitElement},_keyPressHandler:function(k){this.callBase(k);var P=(0,M.qK)(k);if(!/[\d.,eE\-+]/.test(P)){var Te=(0,M.EV)(k);return(0,M.j1)(k)||Te&&ge.includes(Te)?void 0:(k.preventDefault(),!1)}this._keyPressed=!0},_onMouseWheel:function(k){this._spinValueChange(k.delta>0?1:-1,k)},_renderValue:function(){var k=this._input().val(),P=this.option("value");(!k.length||Number(k)!==P)&&(this._forceValueRender(),this._toggleEmptinessEventHandler());var te=(0,A.$K)(P)?null:y.Z.format("dxNumberBox-noDataText");return this.setAria({valuenow:(0,I.IS)(P,""),valuetext:te}),this.option("text",this._input().val()),this._updateButtons(),(new pe.BH).resolve()},_forceValueRender:function(){var k=this.option("value"),P=Number(k),te=isNaN(P)?"":this._applyDisplayValueFormatter(k);this._renderDisplayText(te)},_applyDisplayValueFormatter:function(k){return this.option("displayValueFormatter")(k)},_renderProps:function(){this._input().prop({min:this.option("min"),max:this.option("max"),step:this.option("step")}),this.setAria({valuemin:(0,I.IS)(this.option("min"),""),valuemax:(0,I.IS)(this.option("max"),"")})},_spinButtonsPointerDownHandler:function(){var k=this._input();!this.option("useLargeSpinButtons")&&h.Z.getActiveElement()!==k[0]&&i.Z.trigger(k,"focus")},_spinUpChangeHandler:function(k){this.option("readOnly")||this._spinValueChange(1,k.event||k)},_spinDownChangeHandler:function(k){this.option("readOnly")||this._spinValueChange(-1,k.event||k)},_spinValueChange:function(k,P){var te=parseFloat(this.option("step"));if(0!==te){var Te=parseFloat(this._normalizeInputValue())||0;Te=this._correctRounding(Te,te*k);var Fe=this.option("min"),Ke=this.option("max");(0,A.$K)(Fe)&&(Te=Math.max(Fe,Te)),(0,A.$K)(Ke)&&(Te=Math.min(Ke,Te)),this._saveValueChangeEvent(P),this.option("value",Te)}},_correctRounding:function(k,P){var te=/[,.](.*)/,Te=te.test(k),Fe=te.test(P);if(Te||Fe){var Ke=Te?te.exec(k)[0].length:0,be=Fe?te.exec(P)[0].length:0,we=se.max(Ke,be);return this._round(k+P,we)}return k+P}
1,_round:function(k,P){P=P||0;var te=Math.pow(10,P);return k*=te,Math.round(k)/te},_renderValueChangeEvent:function(){this.callBase();var k=(0,M.V4)("focusout","NumberBoxForceValueChange");i.Z.off(this.element(),k),i.Z.on(this.element(),k,this._forceRefreshInputValue.bind(this))},_forceRefreshInputValue:function(){if("number"!==this.option("mode")){var k=this._input(),P=this._applyDisplayValueFormatter(this.option("value"));k.val(null),k.val(P)}},_valueChangeEventHandler:function(k){var P=this._input(),te=this._normalizeText(),Te=this._parseValue(te),Fe="."!==te&&"-"!==te;!this._isValueValid()||this._validateValue(Te)?(Fe&&this.callBase(k,isNaN(Te)?null:Te),this._applyValueBoundaries(te,Te),this.validationRequest.fire({value:Te,editor:this})):P.val(this._applyDisplayValueFormatter(Te))},_applyValueBoundaries:function(k,P){var te=this._isValueIncomplete(k),Te=this._isValueInRange(k);!te&&!Te&&null!==P&&Number(k)!==P&&this._input().val(this._applyDisplayValueFormatter(P))},_replaceCommaWithPoint:function(k){return k.replace(",",".")},_inputIsInvalid:function(){var k="number"===this.option("mode"),P=this._input().get(0).validity;return k&&P&&P.badInput},_renderDisplayText:function(k){this._inputIsInvalid()||this.callBase(k)},_isValueIncomplete:function(k){return/(^-$)|(^-?\d*\.$)|(\d+e-?$)/i.test(k)},_isValueInRange:function(k){return(0,K.Z2)(k,this.option("min"),this.option("max"))},_isNumber:function(k){return null!==this._parseValue(k)},_validateValue:function(k){var P=this._normalizeText(),te=this._isValueValid(),Te=!0,Fe=this._isNumber(P);return isNaN(Number(k))&&(Te=!1),!k&&te?Te=!0:!Fe&&!te&&(Te=!1),this.option({isValid:Te,validationError:Te?null:{editorSpecific:!0,message:this.option("invalidValueMessage")}}),Te},_normalizeInputValue:function(){return this._parseValue(this._normalizeText())},_normalizeText:function(){var k=this._input().val().trim();return this._replaceCommaWithPoint(k)},_parseValue:function(k){var P=parseFloat(k);return isNaN(P)?null:(0,K.n$)(P,this.option("min"),this.option("max"))},_clearValue:function(){this._inputIsInvalid()&&(this._input().val(""),this._validateValue()),this.callBase()},reset:function(){null===this.option("value")?(this.option("text",""),this._input().length&&this._renderValue()):this.option("value",null)},_optionChanged:function(k){switch(k.name){case"value":this._validateValue(k.value),this._setSubmitValue(k.value),this.callBase(k),this._resumeValueChangeAction();break;case"step":this._renderProps();break;case"min":case"max":this._renderProps(),this.option("value",this._parseValue(this.option("value")));break;case"showSpinButtons":case"useLargeSpinButtons":this._updateButtons(["spins"]);break;case"invalidValueMessage":break;default:this.callBase(k)}}}),tt="dxNumberFormatter",He="minus";const Xe=Ne.inherit({_getDefaultOptions:function(){return(0,ie.l)(this.callBase(),{useMaskBehavior:!0,format:null})},_isDeleteKey:function(k){return"del"===k},_supportedKeys:function(){return this._useMaskBehavior()?(0,ie.l)(this.callBase(),{minus:this._revertSign.bind(this),del:this._removeHandler.bind(this),backspace:this._removeHandler.bind(this),leftArrow:this._arrowHandler.bind(this,-1),rightArrow:this._arrowHandler.bind(this,1),home:this._moveCaretToBoundaryEventHandler.bind(this,1),enter:this._updateFormattedValue.bind(this),end:this._moveCaretToBoundaryEventHandler.bind(this,-1)}):this.callBase()},_getTextSeparatorIndex:function(k){var P=W.Z.getDecimalSeparator(),te=H(this.option("format")).occurrence;return T(k,P,te)},_focusInHandler:function(k){this._preventNestedFocusEvent(k)||(this.clearCaretTimeout(),this._caretTimeout=setTimeout(function(){this._caretTimeout=void 0;var P=this._caret();if(P.start===P.end&&this._useMaskBehavior()){var te=this._getInputVal(),Te=this._getTextSeparatorIndex(te);Te>=0?this._caret({start:Te,end:Te}):this._moveCaretToBoundaryEventHandler(-1,k)}}.bind(this),0)),this.callBase(k)},_focusOutHandler:function(k){var P=!this._preventNestedFocusEvent(k);P&&(this._focusOutOccurs=!0,this._useMaskBehavior()&&this._updateFormattedValue()),this.callBase(k),P&&(this._focusOutOccurs=!1)},_hasValueBeenChanged(k){var P=this._getFormatPattern(),te=this.option("value");return(this._format(te,P)||"")!==k},_updateFormattedValue:function(){var k=this._getInputVal();this._hasValueBeenChanged(k)&&(this._updateParsedValue(),this._adjustParsedValue(),this._setTextByParsedValue(),this._parsedValue!==this.option("value")&&i.Z.trigger(this._input(),"change"))},_arrowHandler:function(k,P){if(this._useMaskBehavior()){var te=this._getInputVal(),Te=this._getFormatPattern(),Fe=c(this._caret(),k);(function(k,P,te){var Te=N(k=c(k,0),P,te);return k.start>=Te.start&&k.end<=Te.end})(Fe,te,Te)||(Fe=1===k?Fe.end:Fe.start,P.preventDefault(),this._caret(N(Fe,te,Te)))}},_moveCaretToBoundary:function(k){var P=F(this._getInputVal(),this._getFormatPattern()),te=c(1===k?P.start:P.end,0);this._caret(te)},_moveCaretToBoundaryEventHandler:function(k,P){!this._useMaskBehavior()||P&&P.shiftKey||(this._moveCaretToBoundary(k),P&&P.preventDefault())},_shouldMoveCaret:function(k,P){var te=W.Z.getDecimalSeparator(),Te=k.charAt(P.end
1)===te;return(this._lastKey===te||"."===this._lastKey||","===this._lastKey)&&Te},_getInputVal:function(){return W.Z.convertDigits(this._input().val(),!0)},_keyboardHandler:function(k){if(this.clearCaretTimeout(),this._lastKey=W.Z.convertDigits((0,M.qK)(k),!0),this._lastKeyName=(0,M.EV)(k),!this._shouldHandleKey(k.originalEvent))return this.callBase(k);var P=this._getInputVal(),te=this._caret(),Fe=this._tryParse(P,te,this._lastKeyName===He?"":this._lastKey);return this._shouldMoveCaret(P,te)&&(this._moveCaret(1),k.originalEvent.preventDefault()),void 0===Fe?this._lastKeyName!==He&&k.originalEvent.preventDefault():this._parsedValue=Fe,this.callBase(k)},_keyPressHandler:function(k){this._useMaskBehavior()||this.callBase(k)},_removeHandler:function(k){var P=this._caret(),te=this._getInputVal(),Te=P.start,Fe=P.end;this._lastKey=(0,M.qK)(k),this._lastKeyName=(0,M.EV)(k);var Ke=this._isDeleteKey(this._lastKeyName),be=!Ke;if(Te===Fe){if(!(be&&Te>0||Ke&&Te<te.length))return void k.preventDefault();Ke&&Fe++,be&&Te--}var de=te.slice(Te,Fe);if(this._isStub(de))this._moveCaret(Ke?1:-1),(this._parsedValue<0||1/this._parsedValue==-1/0)&&(this._revertSign(k),this._setTextByParsedValue(),this.option("valueChangeEvent").split(" ").includes("input")&&i.Z.trigger(this._input(),"input")),k.preventDefault();else{var m=W.Z.getDecimalSeparator();if(de!==m){if(Fe-Te<te.length&&this._replaceSelectedText(te,{start:Te,end:Fe},"").search(/[0-9]/)<0&&this._isValueInRange(0))return void(this._parsedValue=this._parsedValue<0||1/this._parsedValue==-1/0?-0:0);var Ue=this._tryParse(te,{start:Te,end:Fe},"");void 0===Ue?k.preventDefault():this._parsedValue=Ue}else{var ee=te.indexOf(m);this._isNonStubAfter(ee+1)&&(this._moveCaret(Ke?1:-1),k.preventDefault())}}},_isPercentFormat:function(){return-1!==this._getFormatPattern().replace(/'[^']+'/g,"").indexOf("%")},_parse:function(k,P){var te=this.option("format"),Te=(0,A.mf)(te.parser),Fe=Te?te.parser:W.Z.parse,Ke=0;if(!Te){var be=H(P).index,we=this._getTextSeparatorIndex(k),B=-1!==be?be:P.length,de=-1!==we?we:k.length;de>B&&-1===P.indexOf("#")&&(Ke=de-B)}return Fe(k=k.substr(Ke),P)},_format:function(k,P){var te=this.option("format"),Te=te?.formatter||te,Fe=(0,A.mf)(Te)?Te:W.Z.format;return null===k?"":Fe(k,P)},_getFormatPattern:function(){return this._currentFormat||this._updateFormat(),this._currentFormat},_updateFormat:function(){var k=this.option("format"),P=(0,A.mf)(k?.parser),te=(0,A.HD)(k)&&(k.indexOf("0")>=0||k.indexOf("#")>=0);this._currentFormat=P||te||"exponential"===k||"exponential"===k?.type?k:(0,V.y)(Ke=>{var be=this._format(Ke,k);return W.Z.convertDigits(be,!0)})},_getFormatForSign:function(k){var P=this._getFormatPattern();if((0,A.HD)(P)){var te=P.split(";"),Te=W.Z.getSign(k,P);return te[1]=te[1]||"-"+te[0],Te<0?te[1]:te[0]}return W.Z.getSign(k)<0?"-":""},_removeStubs:function(k,P){var te=this._getFormatForSign(k),Te=W.Z.getThousandsSeparator(),Fe=this._getStubs(te),Ke=k;if(Fe.length){var be=Fe[0],we=new RegExp("("+(0,I.hr)(Fe[1]||"")+")$","g"),B=new RegExp("[-"+(0,I.hr)(P?"":Te)+"]","g");Ke=Ke.replace(be,"").replace(we,"").replace(B,"")}return Ke},_getStubs:function(k){var P=/[^']([#0.,]+)/g.exec(k),te=P&&P[0].trim();return k.split(te).map(function(Te){return Te.replace(/'/g,"")})},_truncateToPrecision:function(k,P){if((0,A.$K)(k)){var te=k.toString(),Te=te.indexOf(".");if(te&&Te>-1){var Fe=parseFloat(te.substr(0,Te+P+1));return isNaN(Fe)?k:Fe}}return k},_tryParse:function(k,P,te){var Te=P.start!==P.end,Fe=Te&&0===P.start&&P.end===k.length,Ke=W.Z.getDecimalSeparator();if(Fe&&te===Ke)return 0;var be=this._replaceSelectedText(k,P,te),we=this._getFormatPattern(),B=this._getParsedValue(be,we),de=!we.parser&&this._getPrecisionLimits(be).max,m=te===Ke&&0===de,ee=!Te&&!(B!==this._parsedValue)&&"-"!==te&&!this._isValueIncomplete(be)&&this._isStub(te);return m||ee||(""===this._removeStubs(be)&&(B=Math.abs(0*this._parsedValue)),isNaN(B))?void 0:(B=de?this._truncateToPrecision(null===B?this._parsedValue:B,de):B,!we.parser&&this._isPercentFormat()?function(k,P){return k&&(0,K.zB)(k/100,P)}(B,de):B)},_getParsedValue:function(k,P){var te=W.Z.getSign(k,P?.formatter||P),Te=this._removeStubs(k,!0),Fe=this._parse(Te,P),Ke=Fe<0?-1:1;return(0,A.kE)(Fe)&&te!==Ke?te*Fe:Fe},_isValueIncomplete:function(k){if(!this._useMaskBehavior())return this.callBase(k);var P=this._caret(),te=W.Z.getDecimalSeparator(),Te=this._getTextSeparatorIndex(k),Fe=Te>=0&&Te<P.start,Ke=this._removeStubs(k,!0).split(te);if(!Fe||2!==Ke.length)return!1;var be=Ke[1].length,B=!!this._getFormatPattern().parser,de=!B&&this._getPrecisionLimits(this._getFormatPattern(),k),D=!!B||(0,K.Z2)(be,de.min,de.max),m="0"===Ke[1].charAt(be-1);return D&&(m||!be)},_isValueInRange:function(k){var P=(0,I.IS)(this.option("min"),-1/0),te=(0,I.IS)(this.option("max"),1/0);return(0,K.Z2)(k,P,te)},_setInputText:function(k){var P=W.Z.convertDigits(k,!0),te=function(k,P,te,Te){te=c(te,0);var Fe=W.Z.getDecimalSeparator(),Ke=function b(k){return 1===k.length&&!!k.match(/^[,.][0-9]*$/g)}(k),be=H(Te).occurrence,we=Ke?0:T(k,Fe,be),B=T(P,Fe,be),de=u(k,we),D=u(P,B);if(-1!==we&&te.start>we){var ve=q(te.start-we-1,de[1]);return N(D[1]?B+1+Y(ve,D[1])+1:P.length,P,Te)}var Ue=function(k){return k.replace(/[^0-9e]+$/,"")}(D[0]),v=q(de[0].length-te.start,U(de[0])),re=Y(v,U(Ue));return N(Ue.length-(re+1),P,Te)}(this._getInputVal(),P,this._caret(),this._getFormatPattern());this._input().val(k),this._toggleEmptinessEventHandler(),this._formattedValue=k,this._focusOutOccurs||this._caret(te)},_useMaskBehavior:function(){return!!this.option("format")&&this.option("useMaskBehavior")},_renderInputType:function(){var k="number"===this.option("mode"),P="desktop"===x.Z.real().deviceType;this._useMaskBehavior()&&k?this._setInputType(P||this._isSupportInputMode()?"text":"tel"):this.callBase()},_isChar:function(k){return(0,A.HD)(k)&&1===k.length},_moveCaret:function(k){if(k){var te=N(c(this._caret(),k),this._getInputVal(),this._getFormatPattern());this._caret(te)}},_shouldHandleKey:function(k){var P=(0,M.EV)(k),te=(0,M.j1)(k)||k.altKey||k.shift
1Key||!this._isChar(P),Te=P===He;return this._useMaskBehavior()&&!te&&!Te},_renderInput:function(){this.callBase(),this._renderFormatter()},_renderFormatter:function(){this._clearCache(),this._detachFormatterEvents(),this._useMaskBehavior()&&this._attachFormatterEvents()},_detachFormatterEvents:function(){i.Z.off(this._input(),"."+tt)},_isInputFromPaste:function(k){var P=k.originalEvent&&k.originalEvent.inputType;return(0,A.$K)(P)?"insertFromPaste"===P:this._isValuePasted},_attachFormatterEvents:function(){var k=this._input();i.Z.on(k,(0,M.V4)("input",tt),function(P){this._formatValue(P),this._isValuePasted=!1}.bind(this)),i.Z.on(k,(0,M.V4)("dxclick",tt),function(){this._caretTimeout||(this._caretTimeout=setTimeout(function(){this._caretTimeout=void 0,this._caret(N(this._caret(),this._getInputVal(),this._getFormatPattern()))}.bind(this),0))}.bind(this)),i.Z.on(k,"dxdblclick",function(){this.clearCaretTimeout()}.bind(this))},clearCaretTimeout:function(){clearTimeout(this._caretTimeout),this._caretTimeout=void 0},_forceRefreshInputValue:function(){if(!this._useMaskBehavior())return this.callBase()},_isNonStubAfter:function(k){var P=this._getInputVal().slice(k);return P&&!this._isStub(P,!0)},_isStub:function(k,P){var te=(0,I.hr)(W.Z.getDecimalSeparator());return new RegExp("^[^0-9"+te+"]+$","g").test(k)&&(P||this._isChar(k))},_parseValue:function(k){return this._useMaskBehavior()?this._parsedValue:this.callBase(k)},_getPrecisionLimits:function(k){var P=this._getFormatForSign(k),te=H(P).index,Te=(u(P,te)[1]||"").replace(/[^#0]/g,"");return{min:Te.replace(/^(0*)#*/,"$1").length,max:Te.length}},_revertSign:function(k){if(this._useMaskBehavior()){var P=this._caret();if(P.start!==P.end){if((0,M.EV)(k)===He)return void this._applyRevertedSign(k,P,!0);this._caret(N(0,this._getInputVal(),this._getFormatPattern()))}this._applyRevertedSign(k,P)}},_applyRevertedSign:function(k,P,te){var Te=-1*(0,I.IS)(this._parsedValue,null);if((this._isValueInRange(Te)||0===Te)&&(this._parsedValue=Te,te)){var Fe=this._getFormatPattern(),Ke=this._getInputVal();this._setTextByParsedValue(),k.preventDefault();var be=this._getInputVal(),we=function(k,P,te){var Te=F(k,te);return F(P,te).start-Te.start}(Ke,be,Fe),B=N(P=c(P,we),be,Fe);this._caret(B)}},_removeMinusFromText:function(k,P){return this._lastKeyName===He&&"-"===k.charAt(P.start-1)?this._replaceSelectedText(k,{start:P.start-1,end:P.start},""):k},_setTextByParsedValue:function(){var k=this._getFormatPattern(),P=this._parseValue(),te=this._format(P,k)||"";this._setInputText(te)},_formatValue:function(k){var P=this._getInputVal(),te=this._caret(),Te=this._removeMinusFromText(P,te),Fe=Te!==P;if(P=Te,!this._isInputFromPaste(k)&&this._isValueIncomplete(Te))return this._formattedValue=P,void(Fe&&this._setTextByParsedValue());if(W.Z.convertDigits(this._formattedValue,!0)!==P){var be=this._tryParse(P,te,"");(0,A.$K)(be)&&(this._parsedValue=be)}this._setTextByParsedValue()},_renderDisplayText:function(){this._useMaskBehavior()?this._toggleEmptinessEventHandler():this.callBase.apply(this,arguments)},_renderValue:function(){return this._useMaskBehavior()&&(this._parsedValue=this.option("value"),this._setTextByParsedValue()),this.callBase()},_updateParsedValue:function(){var k=this._getInputVal();this._parsedValue=this._tryParse(k,this._caret())},_adjustParsedValue:function(){if(this._useMaskBehavior()){var P=this._removeStubs(this._getInputVal())?this._parseValue():null;if(!(0,A.kE)(P))return void(this._parsedValue=P);this._parsedValue=(0,K.n$)(P,this.option("min"),this.option("max"))}},_valueChangeEventHandler:function(k){if(!this._useMaskBehavior())return this.callBase(k);var P=this._caret();this._saveValueChangeEvent(k),this._lastKey=null,this._lastKeyName=null,this._updateParsedValue(),this._adjustParsedValue(),this.option("value",this._parsedValue),P&&this._caret(P)},_optionChanged:function(k){switch(k.name){case"format":case"useMaskBehavior":this._renderInputType(),this._updateFormat(),this._renderFormatter(),this._renderValue(),this._refreshValueChangeEvent(),this._refreshEvents();break;case"min":case"max":this._adjustParsedValue(),this.callBase(k);break;default:this.callBase(k)}},_clearCache:function(){delete this._formattedValue,delete this._lastKey,delete this._lastKeyName,delete this._parsedValue,delete this._focusOutOccurs,clearTimeout(this._caretTimeout),delete this._caretTimeout},_clean:function(){this._clearCache(),this.callBase()}});(0,n.Z)("dxNumberBox",Xe);const et=Xe},31390:(Je,Ae,a)=>{a.d(Ae,{a:()=>d,H:()=>q});var n=a(83520),i=a(64596),ie=a(83684),A=a(71924),x=a(46885),K=a(34500),W=a(50663),I="dx-swatch-";var u=(0,K.Jj)(),d={top:{my:"top center",at:"top center"},bottom:{my:"bottom center",at:"bottom center"},right:{my:"right center",at:"right center"},left:{my:"left center",at:"left center"},center:{my:"center",at:"center"},"right bottom":{my:"right bottom",at:"right bottom"},"right top":{my:"right top",at:"right top"},"left bottom":{my:"left bottom",at:"left bottom"},"left top":{my:"left top",at:"left top"}},F={h:0,v:0};class q{constructor(Y){var{position:S,container:c,visualContainer:g,$root:b,$content:ue,$wrapper:N,onPositioned:Z,onVisualPositionChanged:V,restorePosition:ne,_fixWrapperPosition:h}=Y;this._props={position:S,container:c,visualContainer:g,restorePosition:ne,onPositioned:Z,onVisualPositionChanged:V,_fixWrapperPosition:h},this._$root=b,this._$content=ue,this._$wrapper=N,this._$markupContainer=void 0,this._$visualContainer=void 0,this._shouldRenderContentInitialPosition=!0,this._visualPosition=void 0,this._initialPosition=void 0,this._previousVisualPosition=void 0,this.updateContainer(c),this.updatePosition(S),this.updateVisualContainer(g)}get $container(){return this.updateContainer(),this._$markupContainer}get $visualContainer(){return this._$visualContainer}get position(){return this._position}set fixWrapperPosition(Y){this._props._fixWrapperPosition=Y,this.styleWrapperPosition()}set restorePosition(Y){this._props.restorePosition=Y}restorePositionOnNextRender(Y){this._shouldRenderContentInitialPosition=Y||!this._visualPosition}openingHandled(){this.restorePositionOnNextRender(this._props.restorePosition)}updatePosition(Y){this._props.position=Y,this._position=this._normalizePosition(Y),this.updateVisualContainer()}updateContainer(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._props.container;this._props.container=Y,this._$markupContainer=Y?(0,n.Z)(Y):(U=>{var S=(0,n.Z)(U).closest('[class^="'.concat(I,'"], [class*=" ').concat(I,'"]')),c=(0,W.S3)();if(!S.length)return c;var g=new RegExp("(\\s|^)(".concat(I,".*?)(\\s|$)")),b=S[0].className.match(g)[2],ue=c.children("."+b);return ue.length||(ue=(0,n.Z)("<div>").addClass(b).appendTo(c)),ue})(this._$root),this.updateVisualContainer(this._props.visualContainer)}updateVisualContainer(){this._props.visualContainer=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._props.visualContainer,this._$visualContainer=this._getVisualContainer()}detectVisualPositionChange(Y){this._updateVisualPositionValue(),this._raisePositionedEvents(Y)}positionContent(){this._shouldRenderContentInitialPosition?this._renderContentInitialPosition():((0,x.pB)(this._$content,this._visualPosition),this.detectVisualPositionChange())}positionWrapper(){this._$visualContainer&&A.Z.setup(this._$wrapper,{my:"top left",at:"top left",of:this._$visualContainer})}styleWrapperPosition(){var Y=(0,i.FJ)(this.$visualContainer.get(0))||this._props._fixWrapperPosition;this._$wrapper.css("position",Y?"fixed":"absolute")}_updateVisualPositionValue(){this._previousVisualPosition=this._visualPosition,this._visualPosition=(0,x.jt)(this._$content)}_renderContentInitialPosition(){this._renderBoundaryOffset(),(0,x.Kx)(this._$content);var Y=this._$wrapper.css("overflow");this._$wrapper.css("overflow","hidden");var S=A.Z.setup(this._$content,this._position);this._$wrapper.css("overflow",Y),this._initialPosition=S,this.detectVisualPositionChange()}_raisePositionedEvents(Y){var S=this._previousVisualPosition,c=this._visualPosition;(S?.top!==c.top||S?.left!==c.left)&&this._props.onVisualPositionChanged({previousPosition:S,position:c,event:Y}),this._props.onPositioned({position:this._initialPosition})}_renderBoundaryOffset(){var Y,S=null!==(Y=this._position)&&void 0!==Y?Y:{boundaryOffset:F};this._$content.css("margin","".concat(S.v,"px ").concat(S.h,"px"))}_getVisualContainer(){var Y,S,c=this._props.container,g=this._props.visualContainer,b=(0,i.cO)(null===(Y=this._props.position)||void 0===Y?void 0:Y.of)?this._props.position.of.target:null===(S=this._props.position)||void 0===S?void 0:S.of;return(0,n.Z)(g||c||b||u)}_normalizePosition(Y){var S={boundaryOffset:F};return(0,i.$K)(Y)?(0,ie.l)(!0,{},S,this._positionToObject(Y)):S}_positionToObject(Y){return(0,i.HD)(Y)?(0,ie.l)({},d[Y]):Y}}},21855:(Je,Ae,a)=>{a.d(Ae,{Z:()=>p});var y,n=a(21374),i=a(35922),ie=a(67771),A=a(13921),x=a(68082),K=a(37075),W=a(83520),I=a(8817),H=a(56836),T=a(80316),u=a(43615),d=a(83684),F=a(91553),q=a(12395),U=a(64596),Y=a(50663),S=a(34500),c=a(47484),g=a(6795),b=a(24705),ue=a(63429),N=a(45390),Z=a(93802),V=a(16129),ne=a(71128),h=(y=[],{add:function(se){y.includes(se)||y.push(se)},remove:function(se){var De=y.indexOf(se);-1!==De&&y.splice(De,1)},fire:function(){var se=y.pop(),De=!!se;return De&&se(),De},hasCallback:function(){return y.length>0}}),E=a(48360),L=a(46068),M=a(30805),w=a(37064),Q=a(31390),ae=q.Z.add,ce=(0,S.Jj)(),Me=Y.Wg,z="dx-inner-overlay",le="dx-state-invisible",l=[],G="dx-prevent-safari-scrolling";ae(()=>{b.Z.subscribeGlobal(x.Z.getDocument(),N.Z.down,y=>{for(var se=l.length-1;se>=0;se--)if(!l[se]._proxiedDocumentDownHandler(y))return})});var R=L.Z.inherit({_supportedKeys:function(){return(0,d.l)(this.callBase(),{escape:function(){this.hide()}})},_getDefaultOptions:function(){return(0,d.l)(this.callBase(),{activeStateEnabled:!1,visible:!1,deferRendering:!0,shading:!0,shadingColor:"",wrapperAttr:{},position:(0,d.l)({},Q.a.center),width:"80vw",minWidth:null,maxWidth:null,height:"80vh",minHeight:null,maxHeight:null,animation:{show:{type:"pop",duration:300,from:{scale:.55}},hide:{type:"pop",duration:300,from:{opacity:1,scale:1},to:{opacity:0,scale:.55}}},closeOnOutsideClick:!1,hideOnOutsideClick:!1,copyRootClassesToWrapper:!1,_ignoreCopyRootClassesToWrapperDeprecation:!1,_ignoreElementAttrDeprecation:!1,onShowing:null,onShown:null,onHiding:null,onHidden:null,contentTemplate:"content",innerOverlay:!1,restorePosition:!0,container:void 0,visualContainer:void 0,hideTopOverlayHandler:()=>{this.hide()},hideOnParentScroll:!1,onPositioned:null,propagateOutsideClick:!1,ignoreChildEvents:!0,_checkParentVisibility:!0,_hideOnParentScrollTarget:void 0,_fixWrapperPosition:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return!(0,S.Ym)()},options:{width:null,height:null,animation:null,_checkParentVisibility:!1}}])},_setOptionsByReference:function(){this.callBase(),(0,d.l)(this._optionsByReference,{animation:!0})},$wrapper:function(){return this._$wrapper},_eventBindingTarget:function(){return this._$content},_setDeprecatedOptions(){this.callBase(),(0,d.l)(this._deprecatedOptions,{closeOnOutsideClick:{since:"22.1",alias:"hideOnOutsideClick"}})},ctor:function(y,se){this.callBase(y,se),se&&(se.copyRootClassesToWrapper&&!se._ignoreCopyRootClassesToWrapperDeprecation&&this._logDeprecatedOptionWarning("copyRootClassesToWrapper",{since:"21.2",message:'Use the "wrapperAttr" option instead'}),se.elementAttr&&!se._ignoreElementAttrDeprecation&&this._logDeprecatedOptionWarning("elementAttr",{since:"21.2",message:'Use the "wrapperAttr" option instead'}))},_init:function(){this.callBase(),this._initActions(),this._initHideOnOutsideClickHandler(),this._initTabTerminatorHandler(),this._customWrapperClass=null,this._$wrapper=(0,W.Z)("<div>").addClass("dx-overlay-wrapper"),this._$content=(0,W.Z)("<div>").addClass("dx-overlay-content"),this._initInnerOverlayClass();var y=this.$element();this.option("copyRootClassesToWrapper")&&this._$wrapper.addClass(y.attr("class")),y.addClass("dx-overlay"),this._$wrapper.attr("data-bind","dxControl
1sDescendantBindings: true"),this._toggleViewPortSubscription(!0),this._initHideTopOverlayHandler(this.option("hideTopOverlayHandler")),this._parentsScrollSubscriptionInfo={handler:se=>{this._hideOnParentsScrollHandler(se)}},this.warnPositionAsFunction()},warnPositionAsFunction(){(0,U.mf)(this.option("position"))&&c.Z.log("W0018")},_initInnerOverlayClass:function(){this._$content.toggleClass(z,this.option("innerOverlay"))},_initHideTopOverlayHandler:function(y){this._hideTopOverlayHandler=y},_getActionsList:function(){return["onShowing","onShown","onHiding","onHidden","onPositioned","onVisualPositionChanged"]},_initActions:function(){this._actions={};var y=this._getActionsList();(0,F.S6)(y,(se,De)=>{this._actions[De]=this._createActionByOption(De,{excludeValidators:["disabled","readOnly"]})||H.ZT})},_initHideOnOutsideClickHandler:function(){var y=this;this._proxiedDocumentDownHandler=function(){return y._documentDownHandler(...arguments)}},_initMarkup(){this.callBase(),this._renderWrapperAttributes(),this._initPositionController()},_documentDownHandler:function(y){this._showAnimationProcessing&&this._stopAnimation();var se=(0,W.Z)(ce.document).is(y.target)||(0,u.r3)(ce.document,y.target),De=(0,W.Z)(y.target).closest(".".concat(z)).length;return se&&!De&&!(this._$content.is(y.target)||(0,u.r3)(this._$content.get(0),y.target))&&this._shouldHideOnOutsideClick(y)&&this._outsideClickHandler(y),this.option("propagateOutsideClick")},_shouldHideOnOutsideClick:function(y){var{hideOnOutsideClick:se}=this.option();return(0,U.mf)(se)?se(y):se},_outsideClickHandler(y){this.option("shading")&&y.preventDefault(),this.hide()},_getAnonymousTemplateName:function(){return"content"},_initTemplates:function(){this._templateManager.addDefaultTemplates({content:new I.s}),this.callBase()},_isTopOverlay:function(){for(var y=this._overlayStack(),se=y.length-1;se>=0;se--){var De=y[se]._findTabbableBounds();if(De.first||De.last)return y[se]===this}return!1},_overlayStack:function(){return l},_zIndexInitValue:function(){return R.baseZIndex()},_toggleViewPortSubscription:function(y){var se=this;Me.remove(this._viewPortChangeHandle),y&&(this._viewPortChangeHandle=function(){se._viewPortChangeHandler(...arguments)},Me.add(this._viewPortChangeHandle))},_viewPortChangeHandler:function(){this._positionController.updateContainer(this.option("container")),this._refresh()},_renderWrapperAttributes(){var{wrapperAttr:y}=this.option(),se=(0,d.l)({},y),De=se.class;delete se.class,this.$wrapper().attr(se).removeClass(this._customWrapperClass).addClass(De),this._customWrapperClass=De},_renderVisibilityAnimate:function(y){return this._stopAnimation(),y?this._show():this._hide()},_getAnimationConfig:function(){return this._getOptionValue("animation",this)},_animateShowing:function(){var y,se,De,ge=this,ke=null!==(y=this._getAnimationConfig())&&void 0!==y?y:{},Ne=this._normalizeAnimation(ke.show,"to"),Ge=null!==(se=Ne?.start)&&void 0!==se?se:H.ZT,tt=null!==(De=Ne?.complete)&&void 0!==De?De:H.ZT;this._animate(Ne,function(){if(!ge._isAnimationPaused){ge.option("focusStateEnabled")&&b.Z.trigger(ge._focusTarget(),"focus");for(var xe=arguments.length,Pe=new Array(xe),fe=0;fe<xe;fe++)Pe[fe]=arguments[fe];tt.call(ge,...Pe),ge._showAnimationProcessing=!1,ge._isHidden=!1,ge._actions.onShown(),ge._toggleSafariScrolling(),ge._showingDeferred.resolve()}},function(){if(!ge._isAnimationPaused){for(var xe=arguments.length,Pe=new Array(xe),fe=0;fe<xe;fe++)Pe[fe]=arguments[fe];Ge.call(ge,...Pe),ge._showAnimationProcessing=!0}})},_processShowingHidingCancel:function(y,se,De){(0,U.tI)(y)?y.then(ge=>{ge?De():se()}).catch(()=>se()):y?De():se()},_show:function(){if(this._showingDeferred=new T.BH,this._parentHidden=this._isParentHidden(),this._showingDeferred.done(()=>{delete this._parentHidden}),this._parentHidden)return this._isHidden=!0,this._showingDeferred.resolve();if(this._currentVisible)return(new T.BH).resolve().promise();if(this._currentVisible=!0,this._isHidingActionCanceled)delete this._isHidingActionCanceled,this._showingDeferred.reject();else{var y=()=>{this._stopAnimation(),this._toggleVisibility(!0),this._$content.css("visibility","hidden"),this._$content.toggleClass(le,!1),this._updateZIndexStackPosition(!0),this._positionController.openingHandled(),this._renderContent();var se={cancel:!1};this._actions.onShowing(se),this._processShowingHidingCancel(se.cancel,()=>{this._$content.css("visibility",""),this._renderVisibility(!0),this._animateShowing()},()=>{this._toggleVisibility(!1),this._$content.css("visibility",""),this._$content.toggleClass(le,!0),this._isShowingActionCanceled=!0,this._moveFromContainer(),this.option("visible",!1),this._showingDeferred.resolve()})};this.option("templatesRenderAsynchronously")?(this._stopShowTimer(),this._asyncShowTimeout=setTimeout(y)):y()}return this._showingDeferred.promise()},_normalizeAnimation:function(y,se){return y&&(y=(0,d.l)({type:"slide",skipElementInitialStyles:!0},y),(0,U.Kn)(y[se])&&(0,d.l)(y[se],{position:this._positionController.position})),y},_animateHiding:function(){var y,se,De,ge=this,ke=null!==(y=this._getAnimationConfig())&&void 0!==y?y:{}
1,Ne=this._normalizeAnimation(ke.hide,"from"),Ge=null!==(se=Ne?.start)&&void 0!==se?se:H.ZT,tt=null!==(De=Ne?.complete)&&void 0!==De?De:H.ZT;this._animate(Ne,function(){var xe;ge._$content.css("pointerEvents",""),ge._renderVisibility(!1);for(var Pe=arguments.length,fe=new Array(Pe),He=0;He<Pe;He++)fe[He]=arguments[He];tt.call(ge,...fe),ge._hideAnimationProcessing=!1,null===(xe=ge._actions)||void 0===xe||xe.onHidden(),ge._hidingDeferred.resolve()},function(){ge._$content.css("pointerEvents","none");for(var xe=arguments.length,Pe=new Array(xe),fe=0;fe<xe;fe++)Pe[fe]=arguments[fe];Ge.call(ge,...Pe),ge._hideAnimationProcessing=!0})},_hide:function(){if(!this._currentVisible)return(new T.BH).resolve().promise();this._currentVisible=!1,this._hidingDeferred=new T.BH;var y={cancel:!1};return this._isShowingActionCanceled?(delete this._isShowingActionCanceled,this._hidingDeferred.reject()):(this._actions.onHiding(y),this._toggleSafariScrolling(),this._processShowingHidingCancel(y.cancel,()=>{this._forceFocusLost(),this._toggleShading(!1),this._toggleSubscriptions(!1),this._stopShowTimer(),this._animateHiding()},()=>{this._isHidingActionCanceled=!0,this.option("visible",!0),this._hidingDeferred.resolve()})),this._hidingDeferred.promise()},_forceFocusLost:function(){var y=x.Z.getActiveElement();this._$content.find(y).length&&(0,u.M3)()},_animate:function(y,se,De){y?i.Z.animate(this._$content,(0,d.l)({},y,{start:De=De||y.start||H.ZT,complete:se})):se()},_stopAnimation:function(){i.Z.stop(this._$content,!0)},_renderVisibility:function(y){y&&this._isParentHidden()||(this._currentVisible=y,this._stopAnimation(),y||(0,ne.Ly)(this._$content),y?(this._checkContainerExists(),this._moveToContainer(),this._renderGeometry(),(0,ne.Uo)(this._$content),(0,ne.U_)(this._$content)):(this._toggleVisibility(y),this._$content.toggleClass(le,!y),this._updateZIndexStackPosition(y),this._moveFromContainer()),this._toggleShading(y),this._toggleSubscriptions(y))},_updateZIndexStackPosition:function(y){var se=this._overlayStack(),De=se.indexOf(this);y?(-1===De&&(this._zIndex=w.Ue(this._zIndexInitValue()),se.push(this)),this._$wrapper.css("zIndex",this._zIndex),this._$content.css("zIndex",this._zIndex)):-1!==De&&(se.splice(De,1),w.Od(this._zIndex))},_toggleShading:function(y){this._$wrapper.toggleClass("dx-overlay-shader",y&&this.option("shading")),this._$wrapper.css("backgroundColor",this.option("shading")?this.option("shadingColor"):""),this._toggleTabTerminator(y&&this.option("shading"))},_initTabTerminatorHandler:function(){var y=this;this._proxiedTabTerminatorHandler=function(){y._tabKeyHandler(...arguments)}},_toggleTabTerminator:function(y){var se=(0,V.V4)("keydown",this.NAME);y?b.Z.on(x.Z.getDocument(),se,this._proxiedTabTerminatorHandler):b.Z.off(x.Z.getDocument(),se,this._proxiedTabTerminatorHandler)},_findTabbableBounds:function(){for(var y=this._$wrapper.find("*"),se=y.length-1,De={first:null,last:null},ge=0;ge<=se&&(!De.first&&y.eq(ge).is(E.ht)&&(De.first=y.eq(ge)),!De.last&&y.eq(se-ge).is(E.ht)&&(De.last=y.eq(se-ge)),!De.first||!De.last);ge++);return De},_tabKeyHandler:function(y){if("tab"===(0,V.EV)(y)&&this._isTopOverlay()){var se=this._findTabbableBounds(),De=se.first,ge=se.last,ke=!y.shiftKey&&y.target===ge.get(0),Ne=y.shiftKey&&y.target===De.get(0),Ge=0===se.length,tt=!(0,u.r3)(this._$wrapper.get(0),y.target);if(ke||Ne||Ge||tt){y.preventDefault();var xe=y.shiftKey?ge:De;b.Z.trigger(xe,"focusin"),b.Z.trigger(xe,"focus")}}},_toggleSubscriptions:function(y){(0,S.Ym)()&&(this._toggleHideTopOverlayCallback(y),this._toggleHideOnParentsScrollSubscription(y))},_toggleHideTopOverlayCallback:function(y){this._hideTopOverlayHandler&&(y?h.add(this._hideTopOverlayHandler):h.remove(this._hideTopOverlayHandler))},_toggleHideOnParentsScrollSubscription:function(y){var se,De=(0,V.V4)("scroll",this.NAME),{prevTargets:ge,handler:ke}=null!==(se=this._parentsScrollSubscriptionInfo)&&void 0!==se?se:{};b.Z.off(ge,De,ke);var Ne=this.option("hideOnParentScroll");if(y&&Ne){var Ge=this._getHideOnParentScrollTarget().parents();"desktop"===A.Z.real().deviceType&&(Ge=Ge.add(ce)),b.Z.on(Ge,De,ke),this._parentsScrollSubscriptionInfo.prevTargets=Ge}},_hideOnParentsScrollHandler:function(y){var se=!1,De=this.option("hideOnParentScroll");(0,U.mf)(De)&&(se=De(y)),!se&&!this._showAnimationProcessing&&this.hide()},_getHideOnParentScrollTarget:function(){var y=(0,W.Z)(this.option("_hideOnParentScrollTarget"));return y.length?y:this._$wrapper},_render:function(){this.callBase(),this._appendContentToElement(),this._renderVisibilityAnimate(this.option("visible"))},_appendContentToElement:function(){this._$content.parent().is(this.$element())||this._$content.appendTo(this.$element())},_renderContent:function(){var y=!this._currentVisible&&this.option("deferRendering");this.option("visible")&&this._isParentHidden()?this._isHidden=!0:this._contentAlreadyRendered||y||(this._contentAlreadyRendered=!0,this._appendContentToElement(),this.callBase())},_isParentHidden:function(){if(!this.option("_checkParentVisibility"))return!1;if(void 0!==this._parentHidden)return this._parentHidden;var y=this.$element().parent();if(y.is(":visible"))return!1;var se=!1;return y.add(y.parents()).each(function(){if("none"===(0,W.Z)(this).css("display"))return se=!0,!1}),se||!x.Z.getBody().contains(y.get(0))},_renderContentImpl:function(){var y=new T.BH,se=this.option("contentTemplate"),De=this._getTemplate(se),ge=this._templateManager.anonymousTemplateName===se;return De&&De.render({container:(0,K.u)(this.$content()),noModel:!0,transclude:ge,onRendered:()=>{y.resolve(),this.option("templatesRenderAsynchronously")&&this._dimensionChanged()}}),this._renderScrollTerminator(),y.done(()=>{this.option("visible")&&this._moveToContainer()}),y.promise()},_getPositionControllerConfig(){var{container:y,visualContainer:se,_fixWrapperPosition:De,restorePosition:ge}=this.option();return{container:y,visualContainer:se,$root:this.$element(),$content:this._$content,$wrapper:this._$wrapper,onPositioned:this._actions.onPositioned,onVisualPositionChanged:this._actions.onVisualPositionChanged,restorePosition:ge,_fixWrapperPosition:De}},_initPositionController(){this._positionController=new Q.H(this._getPositionControllerConfig())},_renderScrollTerminator:function(){var y=this._$wrapper,se=(0,V.V4)(ue.pB,this.NAME);
1b.Z.off(y,se),b.Z.on(y,se,{validate:function(){return!0},getDirection:function(){return"both"},_toggleGestureCover:function(De){De||this._toggleGestureCoverImpl(De)},_clearSelection:H.ZT,isNative:!0},De=>{var ge=De.originalEvent.originalEvent,{type:ke}=ge||{},Ne="wheel"===ke,Ge="mousemove"===ke,tt=Ne&&!(0,V.j1)(De);De._cancelPreventDefault=!0,ge&&!1!==De.cancelable&&(!Ge&&!Ne||tt)&&De.preventDefault()})},_moveFromContainer:function(){this._$content.appendTo(this.$element()),this._$wrapper.detach()},_checkContainerExists(){var y=this._positionController.$container;void 0!==y&&(y.length>0||g.Z.log("W1021",this.NAME))},_moveToContainer:function(){this._$wrapper.appendTo(this._positionController.$container),this._$content.appendTo(this._$wrapper)},_renderGeometry:function(y){var{visible:se}=this.option();se&&(0,S.Ym)()&&(this._stopAnimation(),this._renderGeometryImpl())},_renderGeometryImpl:function(){this._positionController.updatePosition(this._getOptionValue("position")),this._renderWrapper(),this._renderDimensions(),this._renderPosition()},_renderPosition(){this._positionController.positionContent()},_isAllWindowCovered:function(){return(0,U.FJ)(this._positionController.$visualContainer.get(0))&&this.option("shading")},_toggleSafariScrolling:function(){var y=this.option("visible"),se=(0,W.Z)(x.Z.getBody()),De="ios"===A.Z.real().platform&&M.Z.safari,ge=this._isAllWindowCovered(),ke=se.hasClass(G);De&&(!ke||y&&ge&&!this._disposed?!ke&&y&&ge&&(this._cachedBodyScrollTop=ce.pageYOffset,se.addClass(G)):(se.removeClass(G),ce.scrollTo(0,this._cachedBodyScrollTop),this._cachedBodyScrollTop=void 0))},_renderWrapper:function(){this._positionController.styleWrapperPosition(),this._renderWrapperDimensions(),this._positionController.positionWrapper()},_renderWrapperDimensions:function(){var y=this._positionController.$visualContainer,se=x.Z.getDocumentElement(),De=(0,U.FJ)(y.get(0)),ge=De?se.clientWidth:(0,n.Y_)(y),ke=De?ce.innerHeight:(0,n.zp)(y);this._$wrapper.css({width:ge,height:ke})},_renderDimensions:function(){var y=this._$content.get(0);this._$content.css({minWidth:this._getOptionValue("minWidth",y),maxWidth:this._getOptionValue("maxWidth",y),minHeight:this._getOptionValue("minHeight",y),maxHeight:this._getOptionValue("maxHeight",y),width:this._getOptionValue("width",y),height:this._getOptionValue("height",y)})},_focusTarget:function(){return this._$content},_attachKeyboardEvents:function(){this._keyboardListenerId=Z.dG.on(this._$content,null,y=>this._keyboardHandler(y))},_keyboardHandler:function(y){((0,W.Z)(y.originalEvent.target).is(this._$content)||!this.option("ignoreChildEvents"))&&this.callBase(...arguments)},_isVisible:function(){return this.option("visible")},_visibilityChanged:function(y){y?this.option("visible")&&this._renderVisibilityAnimate(y):this._renderVisibilityAnimate(y)},_dimensionChanged:function(){this._renderGeometry()},_clean:function(){var y=this.option();!this._contentAlreadyRendered&&!y.isRenovated&&this.$content().empty(),this._renderVisibility(!1),this._stopShowTimer(),this._cleanFocusState()},_stopShowTimer(){this._asyncShowTimeout&&clearTimeout(this._asyncShowTimeout),this._asyncShowTimeout=null},_dispose:function(){i.Z.stop(this._$content,!1),clearTimeout(this._deferShowTimer),this._toggleViewPortSubscription(!1),this._toggleSubscriptions(!1),this._updateZIndexStackPosition(!1),this._toggleTabTerminator(!1),this._actions=null,this._parentsScrollSubscriptionInfo=null,this.callBase(),this._toggleSafariScrolling(),this.option("visible")&&w.Od(this._zIndex),this._$wrapper.remove(),this._$content.remove()},_toggleRTLDirection:function(y){this._$content.toggleClass("dx-rtl",y)},_optionChanged:function(y){var se=y.value;if(this._getActionsList().includes(y.name))this._initActions();else switch(y.name){case"animation":case"closeOnOutsideClick":case"hideOnOutsideClick":case"propagateOutsideClick":break;case"shading":this._toggleShading(this.option("visible")),this._toggleSafariScrolling();break;case"shadingColor":this._toggleShading(this.option("visible"));break;case"width":case"height":case"minWidth":case"maxWidth":case"minHeight":case"maxHeight":this._renderGeometry();break;case"position":this._positionController.updatePosition(this.option("position")),this._positionController.restorePositionOnNextRender(!0),this._renderGeometry(),this._toggleSafariScrolling();break;case"visible":this._renderVisibilityAnimate(se).done(()=>{var De;return null===(De=this._animateDeferred)||void 0===De?void 0:De.resolveWith(this)}).fail(()=>{var De;return null===(De=this._animateDeferred)||void 0===De?void 0:De.reject()});break;case"container":this._positionController.updateContainer(se),this._invalidate(),this._toggleSafariScrolling();break;case"visualContainer":this._positionController.updateVisualContainer(se),this._renderWrapper(),this._toggleSafariScrolling();break;case"innerOverlay":this._initInnerOverlayClass();break;case"deferRendering":case"contentTemplate":this._contentAlreadyRendered=!1,this._clean(),this._invalidate();break;case"hideTopOverlayHandler":this._toggleHideTopOverlayCallback(!1),this._initHideTopOverlayHandler(y.value),this._toggleHideTopOverlayCallback(this.option("visible"));break;case"hideOnParentScroll":case"_hideOnParentScrollTarget":this._toggleHideOnParentsScrollSubscription(this.option("visible"));break;case"rtlEnabled":this._contentAlreadyRendered=!1,this.callBase(y);break;case"_fixWrapperPosition":this._positionController.fixWrapperPosition=se;break;case"wrapperAttr":this._renderWrapperAttributes();break;case"restorePosition":this._positionController.restorePosition=y.value;break;default:this.callBase(y)}},toggle:function(y){y=void 0===y?!this.option("visible"):y;var se=new T.BH;if(y===this.option("visible"))return se.resolveWith(this,[y]).promise();var De=new T.BH;return this._animateDeferred=De,this.option("visible",y),De.promise().done(()=>{delete this._animateDeferred,se.resolveWith(this,[this.option("visible")])}).fail(()=>{delete this._animateDeferred,se.reject()}),se.promise()},$content:function(){return this._$content},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)},content:function(){return(0,K.u)(this._$content)},repaint:function(){this._contentAlreadyRendered?(this._positionController.restorePositionOnNextRender(!0),this._renderGeometry({forceStopAnimation:!0}),(0,ne.U_)(this._$content)):this.callBase()}});R.baseZIndex=y=>w.ue(y),(0,ie.Z)("dxOverlay",R);const p=R},37064:(Je,Ae,a)=>{a.d(Ae,{Ao:()=>W,Od:()=>K,Ue:()=>x,ue:()=>A});var n=a(56836),i=1500,ie=[],A=H=>i=(0,n.IS)(H,i),x=function(){var T=ie.length,u=(T?ie[T-1]:arguments.length>0&&void 0!==arguments[0]?arguments[0]:i)+1;return ie.push(u),u},K=H=>{var T=ie.indexOf(H);T>=0&&ie.splice(T,1)},W=H=>ie.length&&ie[ie.length-1]===H},7864:(Je,Ae,a)=>{a.d(Ae,{Z:()=>x}),a(32110);var i=a(258),ie=a(67771);let A=(()=>{class K extends i.Z{_getToolbarName(){return"dxToolbar"}}return K.defaultOptions=function(W){i.Z.defaultOptions(W)},K})();(0,ie.Z)("dxPopup",A);const x=A},258:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Ue});var n=a(67771),i=a(13921),ie=a(37075),A=a(83520),x=a(8817),K=a(30805),W=a(56836),I=a(83684),H=a(68262),T=a(91553),u=a(21374),d=a(17839),F=a(64596),q=a(61764),U=a(34500),Y=a(71128),S=a(40911),c=a(46885),g=a(68082),b=a(92657),ue=a(24705),N=a(63429),Z=a(16129);var E=a(87462),L=a(48966),M="dxResizable",ae="dx-resizable-handle",Ce="dx-resizable-handle-corner",J=(0,Z.V4)(N.BL,M),z=(0,Z.V4)(N.pB,M),le=(0,Z.V4)(N.ut,M),Oe={left:"borderLeftWidth",top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth"},O=L.Z.inherit({_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{handles:"all",step:"1",stepPrecision:"simple",area:void 0,minWidth:30,maxWidth:1/0,minHeight:30,maxHeight:1/0,onResizeStart:null,onResize:null,onResizeEnd:null,roundStepValue:!0,keepAspectRatio:!0})},_init:function(){this.callBase(),this.$element().addClass("dx-resizable")},_initMarkup:function(){this.callBase(),this._renderHandles()},_render:function(){this.callBase(),this._renderActions()},_renderActions:function(){this._resizeStartAction=this._createActionByOption("onResizeStart"),this._resizeEndAction=this._createActionByOption("onResizeEnd"),this._resizeAction=this._createActionByOption("onResize")},_renderHandles:function(){this._handles=[];var X=this.option("handles");if("none"!==X&&X){var v="all"===X?["top","bottom","left","right"]:X.split(" "),re={};(0,T.S6)(v,(Ie,Ze)=>{re[Ze]=!0,this._renderHandle(Ze)}),re.bottom&&re.right&&this._renderHandle("corner-bottom-right"),re.bottom&&re.left&&this._renderHandle("corner-bottom-left"),re.top&&re.right&&this._renderHandle("corner-top-right"),re.top&&re.left&&this._renderHandle("corner-top-left"),this._attachEventHandlers()}},_renderHandle:function(X){var v=(0,A.Z)("<div>").addClass(ae).addClass(ae+"-"+X).appendTo(this.$element());this._handles.push(v)},_attachEventHandlers:function(){if(!this.option("disabled")){var X={};X[J]=this._dragStartHandler.bind(this),X[z]=this._dragHandler.bind(this),X[le]=this._dragEndHandler.bind(this),this._handles.forEac
1h(v=>{ue.Z.on(v,X,{direction:"both",immediate:!0})})}},_detachEventHandlers:function(){this._handles.forEach(X=>{ue.Z.off(X)})},_toggleEventHandlers:function(X){X?this._attachEventHandlers():this._detachEventHandlers()},_getElementSize:function(){var X=this.$element();return"border-box"===X.css("boxSizing")?{width:(0,u.Y_)(X),height:(0,u.zp)(X)}:{width:(0,u.dz)(X),height:(0,u.Cr)(X)}},_dragStartHandler:function(X){var v=this.$element();v.is(".dx-state-disabled, .dx-state-disabled *")?X.cancel=!0:(this._toggleResizingClass(!0),this._movingSides=this._getMovingSides(X),this._elementLocation=(0,c.jt)(v),this._elementSize=this._getElementSize(),this._renderDragOffsets(X),this._resizeStartAction({event:X,width:this._elementSize.width,height:this._elementSize.height,handles:this._movingSides}),X.targetElements=null)},_toggleResizingClass:function(X){this.$element().toggleClass("dx-resizable-resizing",X)},_renderDragOffsets:function(X){var v=this._getArea();if(v){var re=(0,A.Z)(X.target).closest("."+ae),Ie=(0,u.Y_)(re),Ze=(0,u.zp)(re),nt=re.offset(),it=v.offset,at=this._getAreaScrollOffset();X.maxLeftOffset=this._leftMaxOffset=nt.left-it.left-at.scrollX,X.maxRightOffset=this._rightMaxOffset=it.left+v.width-nt.left-Ie+at.scrollX,X.maxTopOffset=this._topMaxOffset=nt.top-it.top-at.scrollY,X.maxBottomOffset=this._bottomMaxOffset=it.top+v.height-nt.top-Ze+at.scrollY}},_getBorderWidth:function(X,v){if((0,F.FJ)(X.get(0)))return 0;var re=X.css(Oe[v]);return parseInt(re)||0},_proportionate:function(X,v){var re=this._elementSize;return v*("x"===X?re.width/re.height:re.height/re.width)},_getProportionalDelta:function(X){var{x:v,y:re}=X,Ie=this._proportionate("y",v);if(Ie>=re)return{x:v,y:Ie};var Ze=this._proportionate("x",re);return Ze>=v?{x:Ze,y:re}:{x:0,y:0}},_getDirectionName:function(X){var v=this._movingSides;
1return"x"===X?v.left?"left":"right":v.top?"top":"bottom"},_fitIntoArea:function(X,v){var re,Ie=this._getDirectionName(X);return Math.min(v,null!==(re=this["_".concat(Ie,"MaxOffset")])&&void 0!==re?re:1/0)},_fitDeltaProportionally:function(X){var v=(0,E.Z)({},X),re=this._elementSize,{minWidth:Ie,minHeight:Ze,maxWidth:nt,maxHeight:it}=this.option(),at=()=>re.width+v.x,ut=()=>re.height+v.y,ct=yt=>v[yt]===this._fitIntoArea(yt,v[yt]),mt=()=>(0,b.Z2)(at(),Ie,nt)&&ct("x"),Ot=()=>(0,b.Z2)(ut(),Ze,it)&&ct("y");if(!mt()){var Ct=this._fitIntoArea("x",(0,b.n$)(at(),Ie,nt)-re.width);v={x:Ct,y:this._proportionate("y",Ct)}}if(!Ot()){var xt=this._fitIntoArea("y",(0,b.n$)(ut(),Ze,it)-re.height);v={x:this._proportionate("x",xt),y:xt}}return mt()&&Ot()?v:{x:0,y:0}},_fitDelta:function(X){var{x:v,y:re}=X,Ie=this._elementSize,{minWidth:Ze,minHeight:nt,maxWidth:it,maxHeight:at}=this.option();return{x:(0,b.n$)(Ie.width+v,Ze,it)-Ie.width,y:(0,b.n$)(Ie.height+re,nt,at)-Ie.height}},_getDeltaByOffset:function(X){var v=this._movingSides,re=this._isCornerHandler(v)&&this.option("keepAspectRatio"),Ie={x:X.x*(v.left?-1:1),y:X.y*(v.top?-1:1)};if(re){var Ze=this._getProportionalDelta(Ie);Ie=this._fitDeltaProportionally(Ze)}else{var it=this._fitDelta(Ie);Ie=this._roundByStep(it)}return Ie},_updatePosition:function(X,v){var{width:re,height:Ie}=v,Ze=this._elementLocation,nt=this._movingSides,it=this.$element(),at=this._getElementSize();(0,c.pB)(it,{top:Ze.top+(nt.top?X.y*(nt.top?-1:1)-((at.height||Ie)-Ie):0),left:Ze.left+(nt.left?X.x*(nt.left?-1:1)-((at.width||re)-re):0)})},_dragHandler:function(X){var v=this._getOffset(X),re=this._getDeltaByOffset(v),Ie=this._updateDimensions(re);this._updatePosition(re,Ie),this._triggerResizeAction(X,Ie)},_updateDimensions:function(X){var v=ct=>"px"===ct.substring(ct.length-2),re="strict"===this.option("stepPrecision"),Ie=this._elementSize,Ze=Ie.width+X.x,nt=Ie.height+X.y,it=this.$element().get(0).style,at=X.x||re||v(it.width),ut=X.y||re||v(it.height);return at&&this.option({width:Ze}),ut&&this.option({height:nt}),{width:at?Ze:Ie.width,height:ut?nt:Ie.height}},_triggerResizeAction:function(X,v){var{width:re,height:Ie}=v;this._resizeAction({event:X,width:this.option("width")||re,height:this.option("height")||Ie,handles:this._movingSides}),(0,Y.U_)(this.$element())},_isCornerHandler:X=>0===Object.values(X).reduce((v,re)=>v^re,0),_getOffset:function(X){var v=X.offset,re=this._movingSides;return!re.left&&!re.right&&(v.x=0),!re.top&&!re.bottom&&(v.y=0),v},_roundByStep:function(X){return"strict"===this.option("stepPrecision")?this._roundStrict(X):this._roundNotStrict(X)},_getSteps:function(){return(0,W.TG)(this.option("step"),!this.option("roundStepValue"))},_roundNotStrict:function(X){var v=this._getSteps();return{x:X.x-X.x%v.h,y:X.y-X.y%v.v}},_roundStrict:function(X){var v=this._movingSides,re={x:X.x*(v.left?-1:1),y:X.y*(v.top?-1:1)},Ie=this._getSteps(),Ze=this._elementLocation,nt=this._elementSize,ut=((v.left?Ze.left:Ze.left+nt.width)+re.x)%Ie.h,ct=((v.top?Ze.top:Ze.top+nt.height)+re.y)%Ie.v,mt=Math.sign||(Et=>0==(Et=+Et)||isNaN(Et)?Et:Et>0?1:-1),Ot=(Et,wt)=>(1+.2*mt(wt))%1*Et,Ct=(Et,wt)=>Math.abs(Et)<.2*wt,xt=re.x-ut,yt=re.y-ct;ut>Ot(Ie.h,re.x)&&(xt+=Ie.h),ct>Ot(Ie.v,re.y)&&(yt+=Ie.v);var Tt=!v.left&&!v.right||Ct(re.x,Ie.h)?0:xt,St=!v.top&&!v.bottom||Ct(re.y,Ie.v)?0:yt;return{x:Tt*(v.left?-1:1),y:St*(v.top?-1:1)}},_getMovingSides:function(X){var v=(0,A.Z)(X.target),re=v.hasClass(Ce+"-top-left"),Ie=v.hasClass(Ce+"-top-right"),Ze=v.hasClass(Ce+"-bottom-left"),nt=v.hasClass(Ce+"-bottom-right");return{top:v.hasClass("dx-resizable-handle-top")||re||Ie,left:v.hasClass("dx-resizable-handle-left")||re||Ze,bottom:v.hasClass("dx-resizable-handle-bottom")||Ze||nt,right:v.hasClass("dx-resizable-handle-right")||Ie||nt}},_getArea:function(){var X=this.option("area");return(0,F.mf)(X)&&(X=X.call(this)),(0,F.PO)(X)?this._getAreaFromObject(X):this._getAreaFromElement(X)},_getAreaScrollOffset:function(){var X=this.option("area"),re={scrollY:0,scrollX:0};if(!(0,F.mf)(X)&&!(0,F.PO)(X)){var Ie=(0,A.Z)(X)[0];(0,F.FJ)(Ie)&&(re.scrollX=Ie.pageXOffset,re.scrollY=Ie.pageYOffset)}return re},_getAreaFromObject:function(X){var v={width:X.right-X.left,height:X.bottom-X.top,offset:{left:X.left,top:X.top}};return this._correctAreaGeometry(v),v},_getAreaFromElement:function(X){var re,v=(0,A.Z)(X);
1return v.length&&(re={width:(0,u.Xt)(v),height:(0,u.fA)(v),offset:(0,I.l)({top:0,left:0},(0,F.FJ)(v[0])?{}:v.offset())},this._correctAreaGeometry(re,v)),re},_correctAreaGeometry:function(X,v){var re=v?this._getBorderWidth(v,"left"):0,Ie=v?this._getBorderWidth(v,"top"):0;X.offset.left+=re+this._getBorderWidth(this.$element(),"left"),X.offset.top+=Ie+this._getBorderWidth(this.$element(),"top"),X.width-=(0,u.Y_)(this.$element())-(0,u.Xt)(this.$element()),X.height-=(0,u.zp)(this.$element())-(0,u.fA)(this.$element())},_dragEndHandler:function(X){var v=this.$element();this._resizeEndAction({event:X,width:(0,u.Y_)(v),height:(0,u.zp)(v),handles:this._movingSides}),this._toggleResizingClass(!1)},_renderWidth:function(X){this.option("width",(0,b.n$)(X,this.option("minWidth"),this.option("maxWidth")))},_renderHeight:function(X){this.option("height",(0,b.n$)(X,this.option("minHeight"),this.option("maxHeight")))},_optionChanged:function(X){switch(X.name){case"disabled":this._toggleEventHandlers(!X.value),this.callBase(X);break;case"handles":this._invalidate();break;case"minWidth":case"maxWidth":(0,U.Ym)()&&this._renderWidth((0,u.Y_)(this.$element()));break;case"minHeight":case"maxHeight":(0,U.Ym)()&&this._renderHeight((0,u.zp)(this.$element()));break;case"onResize":case"onResizeStart":case"onResizeEnd":this._renderActions();break;case"area":case"stepPrecision":case"step":case"roundStepValue":case"keepAspectRatio":break;default:this.callBase(X)}},_clean:function(){this.$element().find("."+ae).remove()},_useTemplates:function(){return!1}});(0,n.Z)(M,O);const l=O;var G=a(73946),ye=a(21855),R=a(28961),y=(a(79644),a(66896)),se=a(37064),De=a(63366),ge=a(50663),ke=a(31390),Ne=["fullScreen","forceApplyBindings","dragOutsideBoundary","dragAndResizeArea","outsideDragFactor"],Ge=(0,U.Jj)();class tt extends ke.H{constructor(v){var{fullScreen:re,forceApplyBindings:Ie,dragOutsideBoundary:Ze,dragAndResizeArea:nt,outsideDragFactor:it}=v;super((0,De.Z)(v,Ne)),this._props=(0,E.Z)({},this._props,{fullScreen:re,forceApplyBindings:Ie,dragOutsideBoundary:Ze,dragAndResizeArea:nt,outsideDragFactor:it}),this._$dragResizeContainer=void 0,this._outsideDragFactor=void 0,this._lastPositionBeforeFullScreen=void 0,this._updateDragResizeContainer(),this._updateOutsideDragFactor()}set fullScreen(v){this._props.fullScreen=v,v?this._fullScreenEnabled():this._fullScreenDisabled()}get $dragResizeContainer(){return this._$dragResizeContainer}get outsideDragFactor(){return this._outsideDragFactor}set dragAndResizeArea(v){this._props.dragAndResizeArea=v,this._updateDragResizeContainer()}set dragOutsideBoundary(v){this._props.dragOutsideBoundary=v,this._updateDragResizeContainer(),this._updateOutsideDragFactor()}set outsideDragFactor(v){this._props.outsideDragFactor=v,this._updateOutsideDragFactor()}updateContainer(v){super.updateContainer(v),this._updateDragResizeContainer()}dragHandled(){this.restorePositionOnNextRender(!1)}resizeHandled(){this.restorePositionOnNextRender(!1)}positionContent(){var v,re;this._props.fullScreen?((0,c.pB)(this._$content,{top:0,left:0}),this.detectVisualPositionChange()):(null===(v=(re=this._props).forceApplyBindings)||void 0===v||v.call(re),!this._shouldRenderContentInitialPosition&&this._lastPositionBeforeFullScreen?((0,c.pB)(this._$content,this._lastPositionBeforeFullScreen),this._lastPositionBeforeFullScreen=void 0,this.detectVisualPositionChange()):super.positionContent())}_updateOutsideDragFactor(){this._outsideDragFactor=this._getOutsideDragFactor()}_getOutsideDragFactor(){return this._props.dragOutsideBoundary?1:this._props.outsideDragFactor}_updateDragResizeContainer(){this._$dragResizeContainer=this._getDragResizeContainer()}_getDragResizeContainer(){return this._props.dragOutsideBoundary?(0,A.Z)(Ge):this._props.dragAndResizeArea?(0,A.Z)(this._props.dragAndResizeArea):(0,ge.In)().get(0)||this._props.container?this._$markupContainer:(0,A.Z)(Ge)}_getVisualContainer(){return this._props.fullScreen?(0,A.Z)(Ge):super._getVisualContainer()}_fullScreenEnabled(){this.restorePositionOnNextRender(!1),this._lastPositionBeforeFullScreen=this._visualPosition}_fullScreenDisabled(){this.restorePositionOnNextRender(!1)}}var xe=(0,U.Jj)(),Pe="dx-popup",fe="dx-popup-wrapper",Xe="dx-state-disabled",et="dx-popup-title",P="dx-popup-bottom",be=["cancel","clear","done"],m=K.Z.safari&&(0,q.q)(K.Z.version,[11])<0,ee={static:"",inherit:"dx-popup-inherit-height",flex:"dx-popup-flex-height"},Be=ye.Z.inherit({_supportedKeys:function(){return(0,I.l)(this.callBase(),{upArrow:X=>{var v;null===(v=this._drag)||void 0===v||v.moveUp(X)},downArrow:X=>{var v;null===(v=this._drag)||void 0===v||v.moveDown(X)},leftArrow:X=>{var v;null===(v=this._drag)||void 0===v||v.moveLeft(X)},rightArrow:X=>{var v;null===(v=this._drag)||void 0===v||v.moveRight(X)}})},_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{fullScreen:!1,title:"",showTitle:!0,titleTemplate:"title",onTitleRendered:null,dragOutsideBoundary:!1,dragEnabled:!1,dragAndResizeArea:void 0,outsideDragFactor:0,onResizeStart:null,onResize:null,onResizeEnd:null,resizeEnabled:!1,toolbarItems:[],showCloseButton:!1,bottomTemplate:"bottom",useDefaultToolbarButtons:!1,useFlatToolbarButtons:!1,autoResizeEnabled:!0})},_defaultOptionsRules:function(){var X=(0,R.Vk)();return this.callBase().concat([{device:{platform:"ios"},options:{animation:this._iosAnimation}},{device:{platform:"android"},options:{animation:this._androidAnimation}},{device:{platform:"generic"},options:{showCloseButton:!0}},{device:function(v){return"desktop"===i.Z.real().deviceType&&"generic"===v.platform},options:{dragEnabled:!0}},{device:function(){return"desktop"===i.Z.real().deviceType&&!i.Z.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return(0,R.x2)(X)},options:{useDefaultToolbarButtons:!0,useFlatToolbarButtons:!0,showCloseButton:!1}}])},_iosAnimation:{show:{type:"slide",duration:400,from:{position:{my:"top",at:"bottom"}},to:{position:{my:"center",at:"center"}}},hide:{type:"slide",duration:400,from:{opacity:1,position:{my:"center",at:"center"}},to:{opacity:1,position:{my:"top",at:"bottom"}}}},_androidAnimation:function(){return this.option("fullScreen")?{show:{type:"slide",duration:300,from:{top:"30%",opacity:0}
1,to:{top:0,opacity:1}},hide:{type:"slide",duration:300,from:{top:0,opacity:1},to:{top:"30%",opacity:0}}}:{show:{type:"fade",duration:400,from:0,to:1},hide:{type:"fade",duration:400,from:1,to:0}}},_init:function(){var X=this.option("_wrapperClassExternal"),v=X?"".concat(fe," ").concat(X):fe;this.callBase(),this._updateResizeCallbackSkipCondition(),this.$element().addClass(Pe),this.$wrapper().addClass(v),this._$popupContent=this._$content.wrapInner((0,A.Z)("<div>").addClass("dx-popup-content")).children().eq(0)},_render:function(){var X=this.option("fullScreen");this._toggleFullScreenClass(X),this.callBase()},_toggleFullScreenClass:function(X){this.$overlayContent().toggleClass("dx-popup-fullscreen",X).toggleClass("dx-popup-normal",!X)},_initTemplates:function(){this.callBase(),this._templateManager.addDefaultTemplates({title:new x.s,bottom:new x.s})},_getActionsList:function(){return this.callBase().concat(["onResizeStart","onResize","onResizeEnd"])},_contentResizeHandler:function(X){this._shouldSkipContentResize(X)||this._renderGeometry({shouldOnlyReposition:!0})},_doesShowAnimationChangeDimensions:function(){var X=this.option("animation");return["to","from"].some(v=>{var re,Ie=null==X||null===(re=X.show)||void 0===re?void 0:re[v];return(0,F.Kn)(Ie)&&("width"in Ie||"height"in Ie)})},_updateResizeCallbackSkipCondition(){var X=this._doesShowAnimationChangeDimensions();this._shouldSkipContentResize=v=>X&&this._showAnimationProcessing||this._areContentDimensionsRendered(v)},_observeContentResize:function(X){if(this.option("useResizeObserver")){var v=this._$content.get(0);X?y.Z.observe(v,re=>{this._contentResizeHandler(re)}):y.Z.unobserve(v)}},_areContentDimensionsRendered:function(X){var v,re,Ie,nt,it,Ze=null===(v=X.contentBoxSize)||void 0===v?void 0:v[0];if(Ze)return parseInt(Ze.inlineSize,10)===(null===(nt=this._renderedDimensions)||void 0===nt?void 0:nt.width)&&parseInt(Ze.blockSize,10)===(null===(it=this._renderedDimensions)||void 0===it?void 0:it.height);var at=X.contentRect;return parseInt(at.width,10)===(null===(re=this._renderedDimensions)||void 0===re?void 0:re.width)&&parseInt(at.height,10)===(null===(Ie=this._renderedDimensions)||void 0===Ie?void 0:Ie.height)},_renderContent(){this.callBase(),this._observeContentResize(!0)},_renderContentImpl:function(){this._renderTitle(),this.callBase(),this._renderResize(),this._renderBottom()},_renderTitle:function(){var X=this._getToolbarItems("top"),v=this.option("title"),re=this.option("showTitle");if(re&&v&&X.unshift({location:i.Z.current().ios?"center":"before",text:v}),re||X.length>0){this._$title&&this._$title.remove();var Ie=(0,A.Z)("<div>").addClass(et).insertBefore(this.$content());this._$title=this._renderTemplateByType("titleTemplate",X,Ie).addClass(et),this._renderDrag(),this._executeTitleRenderAction(this._$title),this._$title.toggleClass("dx-has-close-button",this._hasCloseButton())}else this._$title&&this._$title.detach()},_renderTemplateByType:function(X,v,re,Ie){var{rtlEnabled:Ze,useDefaultToolbarButtons:nt,useFlatToolbarButtons:it,disabled:at}=this.option(),ut=this._getTemplateByOption(X);if(ut instanceof x.s){var mt=(0,I.l)({},this.option("integrationOptions"),{skipTemplates:["content","title"]}),Ot=(0,I.l)(Ie,{items:v,rtlEnabled:Ze,useDefaultButtons:nt,useFlatButtons:it,disabled:at,integrationOptions:mt});this._getTemplate("dx-polymorph-widget").render({container:re,model:{widget:this._getToolbarName(),options:Ot}});var Ct=re.children("div");return re.replaceWith(Ct),Ct}var xt=(0,A.Z)(ut.render({container:(0,ie.u)(re)}));return xt.hasClass("dx-template-wrapper")&&(re.replaceWith(xt),re=xt),re},_getToolbarName:function(){return"dxToolbarBase"},_renderVisibilityAnimate:function(X){return this.callBase(X)},_hide(){return this._observeContentResize(!1),this.callBase()},_executeTitleRenderAction:function(X){this._getTitleRenderAction()({titleElement:(0,ie.u)(X)})},_getTitleRenderAction:function(){return this._titleRenderAction||this._createTitleRenderAction()},_createTitleRenderAction:function(){return this._titleRenderAction=this._createActionByOption("onTitleRendered",{element:this.element
1(),excludeValidators:["disabled","readOnly"]})},_getCloseButton:function(){return{toolbar:"top",location:"after",template:this._getCloseButtonRenderer()}},_getCloseButtonRenderer:function(){return(X,v,re)=>{var Ie=(0,A.Z)("<div>").addClass("dx-closebutton");this._createComponent(Ie,G.Z,{icon:"close",onClick:this._createToolbarItemAction(void 0),stylingMode:"text",integrationOptions:{}}),(0,A.Z)(re).append(Ie)}},_getToolbarItems:function(X){var v=this.option("toolbarItems"),re=[];this._toolbarItemClasses=[];var Ie=i.Z.current().platform,Ze=0;return(0,T.S6)(v,(nt,it)=>{var at=(0,F.$K)(it.shortcut),ut=at?(X=>{var re=i.Z.current().platform,Ie="bottom",Ze="before";if("ios"===re)switch(X){case"cancel":Ie="top";break;case"clear":Ie="top",Ze="after";break;case"done":Ze="after"}else if("android"===re)switch(X){case"cancel":case"done":Ze="after"}return{toolbar:Ie,location:Ze}})(it.shortcut):it;if(at&&"ios"===Ie&&Ze<2&&(ut.toolbar="top",Ze++),ut.toolbar=it.toolbar||ut.toolbar||"top",ut&&ut.toolbar===X){at&&(0,I.l)(ut,{location:it.location},this._getToolbarItemByAlias(it));var ct="generic"===Ie;"done"===it.shortcut&&ct||"cancel"===it.shortcut&&!ct?re.unshift(ut):re.push(ut)}}),"top"===X&&this._hasCloseButton()&&re.push(this._getCloseButton()),re},_hasCloseButton(){return this.option("showCloseButton")&&this.option("showTitle")},_getLocalizationKey:X=>"done"===X.toLowerCase()?"OK":(0,H._A)(X,!0),_getToolbarItemByAlias:function(X){var v=this,re=X.shortcut;if(!be.includes(re))return!1;var Ie=(0,I.l)({text:S.Z.format(this._getLocalizationKey(re)),onClick:this._createToolbarItemAction(X.onClick),integrationOptions:{},type:v.option("useDefaultToolbarButtons")?"default":"normal",stylingMode:v.option("useFlatToolbarButtons")?"text":"contained"},X.options||{}),Ze=Pe+"-"+re;return this._toolbarItemClasses.push(Ze),{template:function(nt,it,at){var ut=(0,A.Z)("<div>").addClass(Ze).appendTo(at);v._createComponent(ut,G.Z,Ie)}}},_createToolbarItemAction:function(X){return this._createAction(X,{afterExecute:function(v){v.component.hide()}})},_renderBottom:function(){var X=this._getToolbarItems("bottom");if(X.length){this._$bottom&&this._$bottom.remove();var v=(0,A.Z)("<div>").addClass(P).insertAfter(this.$content());this._$bottom=this._renderTemplateByType("bottomTemplate",X,v,{compactMode:!0}).addClass(P),this._toggleClasses()}else this._$bottom&&this._$bottom.detach()},_toggleDisabledState:function(X){this.callBase(...arguments),this.$content().toggleClass(Xe,Boolean(X))},_toggleClasses:function(){(0,T.S6)(be,(v,re)=>{var Ie=Pe+"-"+re;this._toolbarItemClasses.includes(Ie)?(this.$wrapper().addClass(Ie+"-visible"),this._$bottom.addClass(Ie)):(this.$wrapper().removeClass(Ie+"-visible"),this._$bottom.removeClass(Ie))})},_toggleFocusClass(X,v){if(this.callBase(X,v),X&&!se.Ao(this._zIndex)){var re=se.Ue(this._zIndexInitValue());se.Od(this._zIndex),this._zIndex=re,this._$wrapper.css("zIndex",re),this._$content.css("zIndex",re)}},_getPositionControllerConfig(){var{fullScreen:X,forceApplyBindings:v,dragOutsideBoundary:re,dragAndResizeArea:Ie,outsideDragFactor:Ze}=this.option();return(0,I.l)({},this.callBase(),{fullScreen:X,forceApplyBindings:v,dragOutsideBoundary:re,dragAndResizeArea:Ie,outsideDragFactor:Ze})},_initPositionController(){this._positionController=new tt(this._getPositionControllerConfig())},_getDragTarget:function(){return this.topToolbar()},_renderGeometry:function(X){var{visible:v,useResizeObserver:re}=this.option();if(v&&(0,U.Ym)()){var Ze=this._showAnimationProcessing&&!(null!=X&&X.forceStopAnimation)&&re;this._isAnimationPaused=Ze||void 0,this._stopAnimation(),null!=X&&X.shouldOnlyReposition?this._renderPosition(!1):this._renderGeometryImpl(X?.isDimensionChange),Ze&&(this._animateShowing(),this._isAnimationPaused=void 0)}},_cacheDimensions:function(){this.option("useResizeObserver")&&(this._renderedDimensions={width:parseInt((0,u.dz)(this._$content),10),height:parseInt((0,u.Cr)(this._$content),10)})},_renderGeometryImpl:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this._resetContentHeight(),this.callBase(),this._cacheDimensions(),this._setContentHeight()},_resetContentHeight:function(){"auto"===this._getOptionValue("height")&&this.$content().css({height:"auto",maxHeight:"none"})},_renderDrag:function(){var X=this._getDragTarget(),v=this.option("dragEnabled");if(X){var re={dragEnabled:v,handle:X.get(0),draggableElement:this._$content.get(0),positionController:this._positionController};
1this._drag?this._drag.init(re):this._drag=new class ne{constructor(v){this.init(v)}init(v){var{dragEnabled:re,handle:Ie,draggableElement:Ze,positionController:nt}=v;this._positionController=nt,this._draggableElement=Ze,this._handle=Ie,this._dragEnabled=re,this.unsubscribe(),re&&this.subscribe()}moveDown(v){this._moveTo(5,0,v)}moveUp(v){this._moveTo(-5,0,v)}moveLeft(v){this._moveTo(0,-5,v)}moveRight(v){this._moveTo(0,5,v)}subscribe(){var v=this._getEventNames();ue.Z.on(this._handle,v.startEventName,re=>{this._dragStartHandler(re)}),ue.Z.on(this._handle,v.updateEventName,re=>{this._dragUpdateHandler(re)}),ue.Z.on(this._handle,v.endEventName,re=>{this._dragEndHandler(re)})}unsubscribe(){var v=this._getEventNames();ue.Z.off(this._handle,v.startEventName),ue.Z.off(this._handle,v.updateEventName),ue.Z.off(this._handle,v.endEventName)}_getEventNames(){return{startEventName:(0,Z.V4)(N.BL,"overlayDrag"),updateEventName:(0,Z.V4)(N.pB,"overlayDrag"),endEventName:(0,Z.V4)(N.ut,"overlayDrag")}}_dragStartHandler(v){var re=this._getAllowedOffsets();this._prevOffset={x:0,y:0},v.targetElements=[],v.maxTopOffset=re.top,v.maxBottomOffset=re.bottom,v.maxLeftOffset=re.left,v.maxRightOffset=re.right}_dragUpdateHandler(v){this._moveByOffset({top:v.offset.y-this._prevOffset.y,left:v.offset.x-this._prevOffset.x}),this._prevOffset=v.offset}_dragEndHandler(v){this._positionController.dragHandled(),this._positionController.detectVisualPositionChange(v)}_moveTo(v,re,Ie){if(this._dragEnabled){Ie.preventDefault(),Ie.stopPropagation();var Ze=this._fitOffsetIntoAllowedRange(v,re);this._moveByOffset(Ze),this._dragEndHandler(Ie)}}_fitOffsetIntoAllowedRange(v,re){var Ie=this._getAllowedOffsets();return{top:(0,b.n$)(v,-Ie.top,Ie.bottom),left:(0,b.n$)(re,-Ie.left,Ie.right)}}_getContainerDimensions(){var v=g.Z.getDocument(),re=this._positionController.$dragResizeContainer.get(0),Ie=(0,u.Y_)(re),Ze=(0,u.zp)(re);return(0,F.FJ)(re)&&(Ze=Math.max(v.body.clientHeight,Ze),Ie=Math.max(v.body.clientWidth,Ie)),{width:Ie,height:Ze}}_getContainerPosition(){var v=this._positionController.$dragResizeContainer.get(0);return(0,F.FJ)(v)?{top:0,left:0}:(0,u.os)(v)}_getElementPosition(){return(0,u.os)(this._draggableElement)}_getInnerDelta(){var v=this._getContainerDimensions(),re=this._getElementDimensions();return{x:v.width-re.width,y:v.height-re.height}}_getOuterDelta(){var{width:v,height:re}=this._getElementDimensions(),Ie=this._positionController.outsideDragFactor;return{x:v*Ie,y:re*Ie}}_getFullDelta(){var v=this._getInnerDelta(),re=this._getOuterDelta();return{x:v.x+re.x,y:v.y+re.y}}_getElementDimensions(){return{width:this._draggableElement.offsetWidth,height:this._draggableElement.offsetHeight}}_getAllowedOffsets(){var v=this._getFullDelta();if(!(v.y>=0&&v.x>=0))return{top:0,bottom:0,left:0,right:0};var Ie=this._getElementPosition(),Ze=this._getContainerPosition(),nt=this._getOuterDelta();return{top:Ie.top-Ze.top+nt.y,bottom:-Ie.top+Ze.top+v.y,left:Ie.left-Ze.left+nt.x,right:-Ie.left+Ze.left+v.x}}_moveByOffset(v){var re=(0,c.jt)(this._draggableElement);(0,c.pB)(this._draggableElement,{left:re.left+v.left,top:re.top+v.top})}}(re),this.$overlayContent().toggleClass("dx-popup-draggable",v)}},_renderResize:function(){this._resizable=this._createComponent(this._$content,l,{handles:this.option("resizeEnabled")?"all":"none",onResizeEnd:X=>{this._resizeEndHandler(X),this._observeContentResize(!0)},onResize:X=>{this._setContentHeight(),this._actions.onResize(X)},onResizeStart:X=>{this._observeContentResize(!1),this._actions.onResizeStart(X)},minHeight:100,minWidth:100,area:this._positionController.$dragResizeContainer,keepAspectRatio:!1})},_resizeEndHandler:function(X){var v=this._resizable.option("width"),re=this._resizable.option("height");v&&this._setOptionWithoutOptionChange("width",v),re&&this._setOptionWithoutOptionChange("height",re),this._cacheDimensions(),this._positionController.resizeHandled(),this._positionController.detectVisualPositionChange(X.event),this._actions.onResizeEnd(X)},_setContentHeight:function(){(this.option("forceApplyBindings")||W.ZT)();var X=this.$overlayContent().get(0),v=this._chooseHeightStrategy(X);
1this.$content().css(this._getHeightCssStyles(v,X)),this._setHeightClasses(this.$overlayContent(),v)},_heightStrategyChangeOffset:function(X,v){return X===ee.flex?-v:0},_chooseHeightStrategy:function(X){var v="auto"===X.style.width||""===X.style.width,re=ee.static;return this._isAutoHeight()&&this.option("autoResizeEnabled")&&(re=v||m?ee.inherit:ee.flex),re},_getHeightCssStyles:function(X,v){var re={},Ie=this._getOptionValue("maxHeight",v),Ze=this._getOptionValue("minHeight",v),nt=this._splitPopupHeight(),it=nt.header+nt.footer+nt.contentVerticalOffsets+nt.popupVerticalOffsets+this._heightStrategyChangeOffset(X,nt.popupVerticalPaddings);if(X===ee.static){if(!this._isAutoHeight()||Ie||Ze){var at=this.option("fullScreen")?Math.min((0,d.l)(v).height,(0,U.Jj)().innerHeight):(0,d.l)(v).height;re={height:Math.max(0,at-it),minHeight:"auto",maxHeight:"auto"}}}else{var ct=(0,A.Z)(this._positionController.$visualContainer).get(0),mt=(0,u.n2)(Ie,-it,ct);re={height:"auto",minHeight:(0,u.eK)(Ze,-it,ct),maxHeight:mt}}return re},_setHeightClasses:function(X,v){var re="";for(var Ie in ee)ee[Ie]!==v&&(re+=" "+ee[Ie]);X.removeClass(re).addClass(v)},_isAutoHeight:function(){return"auto"===this.$overlayContent().get(0).style.height},_splitPopupHeight:function(){var X=this.topToolbar(),v=this.bottomToolbar();return{header:(0,u.$D)(X&&X.get(0)),footer:(0,u.$D)(v&&v.get(0)),contentVerticalOffsets:(0,u.sQ)(this.$overlayContent().get(0),!0),popupVerticalOffsets:(0,u.sQ)(this.$content().get(0),!0),popupVerticalPaddings:(0,u.sQ)(this.$content().get(0),!1)}},_isAllWindowCovered:function(){return this.callBase()||this.option("fullScreen")},_renderDimensions:function(){this.option("fullScreen")?this.$overlayContent().css({width:"100%",height:"100%",minWidth:"",maxWidth:"",minHeight:"",maxHeight:""}):this.callBase(),(0,U.Ym)()&&this._renderFullscreenWidthClass()},_dimensionChanged:function(){this._renderGeometry({isDimensionChange:!0})},_clean:function(){this.callBase(),this._observeContentResize(!1)},_renderFullscreenWidthClass:function(){this.$overlayContent().toggleClass("dx-popup-fullscreen-width",(0,u.Y_)(this.$overlayContent())===(0,u.dz)(xe))},refreshPosition:function(){this._renderPosition()},_optionChanged:function(X){var v,re=X.value;switch(X.name){case"disabled":this.callBase(X),this._renderTitle(),this._renderBottom();break;case"animation":this._updateResizeCallbackSkipCondition();break;case"showTitle":case"title":case"titleTemplate":this._renderTitle(),this._renderGeometry(),(0,Y.U_)(this.$overlayContent());break;case"bottomTemplate":this._renderBottom(),this._renderGeometry(),(0,Y.U_)(this.$overlayContent());break;case"container":var Ie;this.callBase(X),this.option("resizeEnabled")&&(null===(Ie=this._resizable)||void 0===Ie||Ie.option("area",this._positionController.$dragResizeContainer));break;case"width":case"height":this.callBase(X),null===(v=this._resizable)||void 0===v||v.option(X.name,X.value);break;case"onTitleRendered":this._createTitleRenderAction(X.value);break;case"toolbarItems":case"useDefaultToolbarButtons":case"useFlatToolbarButtons":var Ze=!X.fullName.match(/^toolbarItems((\[\d+\])(\.(options|visible).*)?)?$/);this._renderTitle(),this._renderBottom(),Ze&&(this._renderGeometry(),(0,Y.U_)(this.$overlayContent()));break;case"dragEnabled":this._renderDrag();break;case"dragAndResizeArea":this._positionController.dragAndResizeArea=re,this.option("resizeEnabled")&&this._resizable.option("area",this._positionController.$dragResizeContainer),this._positionController.positionContent();break;case"dragOutsideBoundary":this._positionController.dragOutsideBoundary=re,this.option("resizeEnabled")&&this._resizable.option("area",this._positionController.$dragResizeContainer);break;case"outsideDragFactor":this._positionController.outsideDragFactor=re;break;case"resizeEnabled":this._renderResize(),this._renderGeometry();break;case"autoResizeEnabled":this._renderGeometry(),(0,Y.U_)(this.$overlayContent());break;case"fullScreen":this._positionController.fullScreen=X.value,this._toggleFullScreenClass(X.value),this._toggleSafariScrolling(),this._renderGeometry(),(0,Y.U_)(this.$overlayContent());break;case"showCloseButton":this._renderTitle();break;default:this.callBase(X)}},bottomToolbar:function(){return this._$bottom},topToolbar:function(){return this._$title},$content:function(){return this._$popupContent},content:function(){return(0,ie.u)(this.$content())},$overlayContent:function(){return this._$content}});(0,n.Z)("dxPopup",Be);const Ue=Be},56283:(Je,Ae,a)=>{a.d(Ae,{Z:()=>X});var n=a(83520),i=a(13921),ie=a(34500),A=a(40911),x=a(67771),K=a(37075),W=a(83684),I=a(56836),H=a(47685),T=a(46885),u=a(89337),d=a(4046),F=a(91553),q=a(80316),U="dx-scrollview-pull-down-loading",Y="dx-scrollview-pull-down-ready";const E=u.Z.inherit({_init:function(v){this.callBase(v),this._$topPocket=v._$topPocket,this._$pullDown=v._$pullDown,this._$refreshingText=v._$refreshingText,this._$scrollViewContent=(0,n.Z)(v.content()),this._$container=(0,n.Z)(v.container()),this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=(0,H.Z)(),this.releaseCallbacks=(0,H.Z)(),this.reachBottomCallbacks=(0,H.Z)()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var v=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-image"),re=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-indicator"),Ie=new d.Z((0,n.Z)("<div>")).$element(),Ze=this._$pullDownText=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=(0,n.Z)("<div>").text(this.option("pullingDownText")).appendTo(Ze),this._$pulledDownText=(0,n.Z)("<div>").text(this.option("pulledDownText")).appendTo(Ze),this._$refreshingText=(0,n.Z)("<div>").text(this.option("refreshingText")).appendTo(Ze),this._$pullDown.empty().append(v).append(re.append(Ie)).append(Ze)},_releaseState:function(){this._state=0,this._refreshPullDownText()},_refreshPullDownText:function(){var v=this;(0,F.S6)([{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}],function(Ie,Ze){Ze.element[v._state===Ze.visibleState?"addClass":"removeClass"]("dx-scrollview-pull-down-text-visible")})},update:function(){this.callBase(),this._setTopPocketOffset()},_updateDimensions:function(){this.callBase(),this._topPocketSize=this._$topPocket.get(0).clientHeight;var v=this._$scrollViewContent.get(0),re=this._$container.get(0);this._bottomBoundary=Math.max(v.clientHeight-re.clientHeight,0)},_allowedDirections:function(){var v=this.callBase();return v.vertical=v.vertical||this._pullDownEnabled,v},_setTopPocketOffset:function(){this._$topPocket.css({top:-this._topPocketSize})},handleEnd:function(){this.callBase(),this._complete()},handleStop:function(){this.callBase(),this._complete()},_complete:function(){1===this._state&&(this._setPullDownOffset(this._topPocketSize),clearTimeout(this._pullDownRefreshTimeout),this._pullDownRefreshTimeout=setTimeout(function(){this._pullDownRefreshing()}.bind(this),400))},_setPullDownOffset:function(v){(0,T.pB)(this._$topPocket,{top:v}),(0,T.pB)(this._$scrollViewContent,{top:v})},handleScroll:function(v){if(this.callBase(v),2!==this._state){var re=this.location().top,Ie=(this._location||0)-re;this._location=re,this._isPullDown()?this._pullDownReady():Ie>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}},_isPullDown:function(){return this._pullDownEnabled&&this._location>=this._topPocketSize},_isReachBottom:function(){return this._reachBottomEnabled&&Math.round(this._bottomBoundary+Math.floor(this._location))<=1},_reachBottom:function(){3!==this._state&&(this._state=3,this.reachBottomCallbacks.fire())},_pullDownReady:function(){1!==this._state&&(this._state=1,this._$pullDown.addClass(Y),this._refreshPullDownText())},_stateReleased:function(){0!==this._state&&(this._$pullDown.removeClass(U).removeClass(Y),this._releaseState())},_pullDownRefreshing:function(){2!==this._state&&(this._state=2,this._$pullDown.addClass(U).removeClass(Y),this._refreshPullDownText(),this.pullDownCallbacks.fire())},pullDownEnable:function(v){v&&(this._updateDimensions(),this._setTopPocketOffset()),this._pullDownEnabled=v},reachBottomEnable:function(v){this._reachBottomEnabled=v},pendingRelease:function(){this._state=1},release:function(){var v=new q.BH;return this._updateDimensions(),clearTimeout(this._releaseTimeout),3===this._state&&(this._state=0),this._releaseTimeout=setTimeout(function(){this._setPullDownOffset(0),this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),v.resolve()}.bind(this),400),v.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});var L=a(21374),M=a(16129),w="dx-scrollview-pull-down-loading";const le=u.Z.inherit({_init:function(v){this.callBase(v),this._$topPocket=v._$topPocket,this._$pullDown=v._$pullDown,this._$scrollViewContent=(0,n.Z)(v.content()),this._$container=(0,n.Z)(v.container()),this._initCallbacks(),this._location=0}
1,_initCallbacks:function(){this.pullDownCallbacks=(0,H.Z)(),this.releaseCallbacks=(0,H.Z)(),this.reachBottomCallbacks=(0,H.Z)()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var v=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-indicator"),re=new d.Z((0,n.Z)("<div>")).$element();this._$icon=(0,n.Z)("<div>").addClass("dx-icon-pulldown"),this._$pullDown.empty().append(this._$icon).append(v.append(re))},_releaseState:function(){this._state=0,this._releasePullDown(),this._updateDimensions()},_releasePullDown:function(){this._$pullDown.css({opacity:0})},_updateDimensions:function(){this.callBase(),this._topPocketSize=this._$topPocket.get(0).clientHeight;var v=this._$scrollViewContent.get(0),re=this._$container.get(0);this._bottomBoundary=Math.max(v.clientHeight-re.clientHeight,0)},_allowedDirections:function(){var v=this.callBase();return v.vertical=v.vertical||this._pullDownEnabled,v},handleInit:function(v){this.callBase(v),0===this._state&&0===this._location&&(this._startClientY=(0,M.a0)(v.originalEvent).y,this._state=4)},handleMove:function(v){this.callBase(v),this._deltaY=(0,M.a0)(v.originalEvent).y-this._startClientY,4===this._state&&(this._pullDownEnabled&&this._deltaY>0?this._state=5:this._complete()),5===this._state&&(v.preventDefault(),this._movePullDown())},_movePullDown:function(){var v=this._getPullDownHeight(),re=Math.min(3*v,this._deltaY+this._getPullDownStartPosition()),Ie=180*re/v/3;this._$pullDown.css({opacity:1}).toggleClass("dx-scrollview-pull-down-refreshing",re<v),(0,T.pB)(this._$pullDown,{top:re}),this._$icon.css({transform:"rotate("+Ie+"deg)"})},_isPullDown:function(){return this._pullDownEnabled&&5===this._state&&this._deltaY>=this._getPullDownHeight()-this._getPullDownStartPosition()},_getPullDownHeight:function(){return Math.round(.05*(0,L.zp)(this._$element))},_getPullDownStartPosition:function(){return-Math.round(1.5*(0,L.zp)(this._$pullDown))},handleEnd:function(){this._isPullDown()&&this._pullDownRefreshing(),this._complete()},handleStop:function(){this._complete()},_complete:function(){(4===this._state||5===this._state)&&this._releaseState()},handleScroll:function(v){if(this.callBase(v),2!==this._state){var re=this.location().top,Ie=this._location-re;this._location=re,Ie>0&&this._isReachBottom()?this._reachBottom():this._stateReleased()}},_isReachBottom:function(){return this._reachBottomEnabled&&Math.round(this._bottomBoundary+Math.floor(this._location))<=1},_reachBottom:function(){this.reachBottomCallbacks.fire()},_stateReleased:function(){0!==this._state&&(this._$pullDown.removeClass(w),this._releaseState())},_pullDownRefreshing:function(){this._state=2,this._pullDownRefreshHandler()},_pullDownRefreshHandler:function(){this._refreshPullDown(),this.pullDownCallbacks.fire()},_refreshPullDown:function(){this._$pullDown.addClass(w),(0,T.pB)(this._$pullDown,{top:this._getPullDownHeight()})},pullDownEnable:function(v){this._$topPocket.toggle(v),this._pullDownEnabled=v},reachBottomEnable:function(v){this._reachBottomEnabled=v},pendingRelease:function(){this._state=1},release:function(){var v=new q.BH;return this._updateDimensions(),clearTimeout(this._releaseTimeout),this._releaseTimeout=setTimeout(function(){this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),v.resolve()}.bind(this),800),v.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});var Oe=a(23409),O=Math,l="dx-scrollview-pull-down-loading",G="dx-scrollview-pull-down-ready",Ne=Oe.T.inherit({ctor:function(){this._topPocketSize=0,this._bottomPocketSize=0,this.callBase.apply(this,arguments),this._initCallbacks(),this._releaseState()},_releaseState:function(){this._state=0,this._refreshPullDownText()},_refreshPullDownText:function(){var v=this;(0,F.S6)([{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}],function(Ie,Ze){Ze.element[v._state===Ze.visibleState?"addClass":"removeClass"]("dx-scrollview-pull-down-text-visible")})},_initCallbacks:function(){this.pullDownCallbacks=(0,H.Z)(),this.releaseCallbacks=(0,H.Z)(),this.reachBottomCallbacks=(0,H.Z)()},_updateBounds:function(){if("horizontal"!==this._direction){this._topPocketSize=this._$topPocket.get(0).clientHeight,this._bottomPocketSize=this._$bottomPocket.get(0).clientHeight;var re=this._$container.get(0),Ie=this._$content.get(0);this._bottomBoundary=Math.max(Ie.clientHeight-this._bottomPocketSize-re.clientHeight,0)}this.callBase()},_updateScrollbar:function(){this._scrollbar.option({containerSize:this._containerSize(),contentSize:this._contentSize()-this._topPocketSize-this._bottomPocketSize,scaleRatio:this._getScaleRatio()})}
1,_moveContent:function(){this.callBase(),this._isPullDown()?this._pullDownReady():this._isReachBottom()?this._reachBottomReady():0!==this._state&&this._stateReleased()},_moveScrollbar:function(){this._scrollbar.moveTo(this._topPocketSize+this._location)},_isPullDown:function(){return this._pullDownEnabled&&this._location>=0},_isReachBottom:function(){var v=this._$container.get(0);return this._reachBottomEnabled&&Math.round(this._bottomBoundary-Math.ceil(v.scrollTop))<=1},_scrollComplete:function(){this._inBounds()&&1===this._state?this._pullDownRefreshing():this._inBounds()&&3===this._state?this._reachBottomLoading():this.callBase()},_reachBottomReady:function(){3!==this._state&&(this._state=3,this._minOffset=this._getMinOffset())},_getMaxOffset:function(){return-this._topPocketSize},_getMinOffset:function(){return O.min(this.callBase(),-this._topPocketSize)},_reachBottomLoading:function(){this.reachBottomCallbacks.fire()},_pullDownReady:function(){1!==this._state&&(this._state=1,this._maxOffset=0,this._$pullDown.addClass(G),this._refreshPullDownText())},_stateReleased:function(){0!==this._state&&(this._releaseState(),this._updateBounds(),this._$pullDown.removeClass(l).removeClass(G),this.releaseCallbacks.fire())},_pullDownRefreshing:function(){2!==this._state&&(this._state=2,this._$pullDown.addClass(l).removeClass(G),this._refreshPullDownText(),this.pullDownCallbacks.fire())},_releaseHandler:function(){return 0===this._state&&this._moveToBounds(),this._update(),this._releaseTask&&this._releaseTask.abort(),this._releaseTask=(0,I.Wi)(this._release.bind(this)),this._releaseTask.promise},_release:function(){this._stateReleased(),this._scrollComplete()},_reachBottomEnablingHandler:function(v){this._reachBottomEnabled!==v&&(this._reachBottomEnabled=v,this._updateBounds())},_pullDownEnablingHandler:function(v){this._pullDownEnabled!==v&&(this._pullDownEnabled=v,this._considerTopPocketChange(),this._updateHandler())},_considerTopPocketChange:function(){this._location-=(0,L.Cr)(this._$topPocket)||-this._topPocketSize,this._maxOffset=0,this._move()},_pendingReleaseHandler:function(){this._state=1},dispose:function(){this._releaseTask&&this._releaseTask.abort(),this.callBase()}});const tt=Oe.L.inherit({_init:function(v){this.callBase(v),this._$pullDown=v._$pullDown,this._$topPocket=v._$topPocket,this._$bottomPocket=v._$bottomPocket,this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=(0,H.Z)(),this.releaseCallbacks=(0,H.Z)(),this.reachBottomCallbacks=(0,H.Z)()},render:function(){this._renderPullDown(),this.callBase()},_renderPullDown:function(){var v=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-image"),re=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-indicator"),Ie=new d.Z((0,n.Z)("<div>")).$element(),Ze=this._$pullDownText=(0,n.Z)("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=(0,n.Z)("<div>").text(this.option("pullingDownText")).appendTo(Ze),this._$pulledDownText=(0,n.Z)("<div>").text(this.option("pulledDownText")).appendTo(Ze),this._$refreshingText=(0,n.Z)("<div>").text(this.option("refreshingText")).appendTo(Ze),this._$pullDown.empty().append(v).append(re.append(Ie)).append(Ze)},pullDownEnable:function(v){this._eventHandler("pullDownEnabling",v)},reachBottomEnable:function(v){this._eventHandler("reachBottomEnabling",v)},_createScroller:function(v){var re=this,Ie=re._scrollers[v]=new Ne(re._scrollerOptions(v));Ie.pullDownCallbacks.add(function(){re.pullDownCallbacks.fire()}),Ie.releaseCallbacks.add(function(){re.releaseCallbacks.fire()}),Ie.reachBottomCallbacks.add(function(){re.reachBottomCallbacks.fire()})},_scrollerOptions:function(v){return(0,W.l)(this.callBase(v),{$topPocket:this._$topPocket,$bottomPocket:this._$bottomPocket,$pullDown:this._$pullDown,$pullDownText:this._$pullDownText,$pullingDownText:this._$pullingDownText,$pulledDownText:this._$pulledDownText,$refreshingText:this._$refreshingText})},pendingRelease:function(){this._eventHandler("pendingRelease")},release:function(){return this._eventHandler("release").done(this._updateAction)},location:function(){var v=this.callBase();return v.top+=(0,L.Cr)(this._$topPocket),v},dispose:function(){(0,F.S6)(this._scrollers,function(){this.dispose()}),this.callBase()}});var xe=a(52070),Pe=a(28961),fe=a(21855),Qe="dx-loadpanel-indicator",We="dx-loadpanel-message",k=fe.Z.inherit({_supportedKeys:function(){return(0,W.l)(this.callBase(),{escape:I.ZT})},_getDefaultOptions:function(){return(0,W.l)(this.callBase(),{message:A.Z.format("Loading"),width:222,height:90,animation:null,showIndicator:!0,indicatorSrc:"",showPane:!0,delay:0,templatesRenderAsynchronously:!1,hideTopOverlayHandler:null,focusStateEnabled:!1,prop
1agateOutsideClick:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{shadingColor:"transparent"}},{device:function(){return(0,Pe.x2)()},options:{message:"",width:60,height:60,maxHeight:60,maxWidth:60}}])},_init:function(){this.callBase.apply(this,arguments)},_render:function(){this.callBase(),this.$element().addClass("dx-loadpanel"),this.$wrapper().addClass("dx-loadpanel-wrapper")},_renderContentImpl:function(){this.callBase(),this.$content().addClass("dx-loadpanel-content"),this._$loadPanelContentWrapper=(0,n.Z)("<div>").addClass("dx-loadpanel-content-wrapper"),this._$loadPanelContentWrapper.appendTo(this.$content()),this._togglePaneVisible(),this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage()},_show:function(){var v=this.option("delay");if(!v)return this.callBase();var re=new q.BH,Ie=this.callBase.bind(this);return this._clearShowTimeout(),this._showTimeout=setTimeout(function(){Ie().done(function(){re.resolve()})},v),re.promise()},_hide:function(){return this._clearShowTimeout(),this.callBase()},_clearShowTimeout:function(){clearTimeout(this._showTimeout)},_renderMessage:function(){if(this._$loadPanelContentWrapper){var v=this.option("message");if(v){var re=(0,n.Z)("<div>").addClass(We).text(v);this._$loadPanelContentWrapper.append(re)}}},_renderLoadIndicator:function(){!this._$loadPanelContentWrapper||!this.option("showIndicator")||(this._$indicator||(this._$indicator=(0,n.Z)("<div>").addClass(Qe).appendTo(this._$loadPanelContentWrapper)),this._createComponent(this._$indicator,d.Z,{indicatorSrc:this.option("indicatorSrc")}))},_cleanPreviousContent:function(){this.$content().find("."+We).remove(),this.$content().find("."+Qe).remove(),delete this._$indicator},_togglePaneVisible:function(){this.$content().toggleClass("dx-loadpanel-pane-hidden",!this.option("showPane"))},_optionChanged:function(v){switch(v.name){case"delay":break;case"message":case"showIndicator":this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage();break;case"showPane":this._togglePaneVisible();break;case"indicatorSrc":this._renderLoadIndicator();break;default:this.callBase(v)}},_dispose:function(){this._clearShowTimeout(),this.callBase()}});(0,x.Z)("dxLoadPanel",k);const P=k;var te="dx-scrollview",Te=te+"-content",Fe=te+"-top-pocket",Ke=te+"-bottom-pocket",be=te+"-pull-down",we=te+"-scrollbottom",B=we+"-indicator",de=we+"-text",D=te+"-loadpanel",m={pullDown:E,swipeDown:le,simulated:tt},ee=!(0,ie.Ym)(),Be=xe.Z.inherit(ee?{finishLoading:I.ZT,release:I.ZT,refresh:I.ZT,scrollOffset:()=>({top:0,left:0}),_optionChanged:function(v){if("onUpdated"!==v.name)return this.callBase.apply(this,arguments)}}:{_getDefaultOptions:function(){return(0,W.l)(this.callBase(),{pullingDownText:A.Z.format("dxScrollView-pullingDownText"),pulledDownText:A.Z.format("dxScrollView-pulledDownText"),refreshingText:A.Z.format("dxScrollView-refreshingText"),reachBottomText:A.Z.format("dxScrollView-reachBottomText"),onPullDown:null,onReachBottom:null,refreshStrategy:"pullDown"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"android"===i.Z.real().platform},options:{refreshStrategy:"swipeDown"}},{device:function(){return(0,Pe.x2)()},options:{pullingDownText:"",pulledDownText:"",refreshingText:"",reachBottomText:""}}])},_init:function(){this.callBase(),this._loadingIndicatorEnabled=!0},_initScrollableMarkup:function(){this.callBase(),this.$element().addClass(te),this._initContent(),this._initTopPocket(),this._initBottomPocket(),this._initLoadPanel()},_initContent:function(){var v=(0,n.Z)("<div>").addClass(Te);this._$content.wrapInner(v)},_initTopPocket:function(){var v=this._$topPocket=(0,n.Z)("<div>").addClass(Fe),re=this._$pullDown=(0,n.Z)("<div>").addClass(be);v.append(re),this._$content.prepend(v)},_initBottomPocket:function(){var v=this._$bottomPocket=(0,n.Z)("<div>").addClass(Ke),re=this._$reachBottom=(0,n.Z)("<div>").addClass(we),Ie=(0,n.Z)("<div>").addClass(B),Ze=new d.Z((0,n.Z)("<div>")).$element(),nt=this._$reachBottomText=(0,n.Z)("<div>").addClass(de);this._updateReachBottomText(),re.append(Ie.append(Ze)).append(nt),v.a
1ppend(re),this._$content.append(v)},_initLoadPanel:function(){var v=(0,n.Z)("<div>").addClass(D).appendTo(this.$element()),re={shading:!1,delay:400,message:this.option("refreshingText"),position:{of:this.$element()}};this._loadPanel=this._createComponent(v,P,re)},_updateReachBottomText:function(){this._$reachBottomText.text(this.option("reachBottomText"))},_createStrategy:function(){var v=this.option("useNative")?this.option("refreshStrategy"):"simulated";this._strategy=new(0,m[v])(this),this._strategy.pullDownCallbacks.add(this._pullDownHandler.bind(this)),this._strategy.releaseCallbacks.add(this._releaseHandler.bind(this)),this._strategy.reachBottomCallbacks.add(this._reachBottomHandler.bind(this))},_createActions:function(){this.callBase(),this._pullDownAction=this._createActionByOption("onPullDown"),this._reachBottomAction=this._createActionByOption("onReachBottom"),this._tryRefreshPocketState()},_tryRefreshPocketState:function(){this._pullDownEnable(this.hasActionSubscription("onPullDown")),this._reachBottomEnable(this.hasActionSubscription("onReachBottom"))},on:function(v){var re=this.callBase.apply(this,arguments);return("pullDown"===v||"reachBottom"===v)&&this._tryRefreshPocketState(),re},_pullDownEnable:function(v){if(0===arguments.length)return this._pullDownEnabled;this._$pullDown&&this._strategy&&(this._$pullDown.toggle(v),this._strategy.pullDownEnable(v),this._pullDownEnabled=v)},_reachBottomEnable:function(v){if(0===arguments.length)return this._reachBottomEnabled;this._$reachBottom&&this._strategy&&(this._$reachBottom.toggle(v),this._strategy.reachBottomEnable(v),this._reachBottomEnabled=v)},_pullDownHandler:function(){this._loadingIndicator(!1),this._pullDownLoading()},_loadingIndicator:function(v){if(arguments.length<1)return this._loadingIndicatorEnabled;this._loadingIndicatorEnabled=v},_pullDownLoading:function(){this.startLoading(),this._pullDownAction()},_reachBottomHandler:function(){this._loadingIndicator(!1),this._reachBottomLoading()},_reachBottomLoading:function(){this.startLoading(),this._reachBottomAction()},_releaseHandler:function(){this.finishLoading(),this._loadingIndicator(!0)},_optionChanged:function(v){switch(v.name){case"onPullDown":case"onReachBottom":this._createActions();break;case"pullingDownText":case"pulledDownText":case"refreshingText":case"refreshStrategy":this._invalidate();break;case"reachBottomText":this._updateReachBottomText();break;default:this.callBase(v)}},content:function(){return(0,K.u)(this._$content.children().eq(1))},release:function(v){return void 0!==v&&this.toggleLoading(!v),this._strategy.release()},toggleLoading:function(v){this._reachBottomEnable(v)},refresh:function(){this.hasActionSubscription("onPullDown")&&(this._strategy.pendingRelease(),this._pullDownLoading())},startLoading:function(){this._loadingIndicator()&&this.$element().is(":visible")&&this._loadPanel.show(),this._lock()},finishLoading:function(){this._loadPanel.hide(),this._unlock()},_dispose:function(){this._strategy.dispose(),this.callBase(),this._loadPanel&&this._loadPanel.$element().remove()}});(0,x.Z)("dxScrollView",Be);const X=Be},54463:(Je,Ae,a)=>{a.d(Ae,{i:()=>ie});var n=a(13921),i=a(45303),ie=function(){return[{device:function(){return!i.nativeScrolling},options:{useNative:!1}},{device:function(A){return!n.Z.isSimulator()&&"desktop"===n.Z.real().deviceType&&"generic"===A.platform},options:{bounceEnabled:!1,scrollByThumb:!0,scrollByContent:i.touch,showScrollbar:"onHover"}}]}},52070:(Je,Ae,a)=>{a.d(Ae,{Z:()=>i});const i=a(40530).Z},89337:(Je,Ae,a)=>{a.d(Ae,{Z:()=>c});var n=a(21374),i=a(83520),ie=a(24705),A=a(16129),x=a(56836),K=a(91553),W=a(13921),I=a(24245),H=a(2519),T="dxNativeScrollable",u="dx-scrollable-native",q="vertical",U="horizontal";const c=I.Z.inherit({ctor:function(g){this._init(g)},_init:function(g){this._component=g,this._$element=g.$element(),this._$container=(0,i.Z)(g.container()),this._$content=g.$content(),this._direction=g.option("direction"),this._useSimulatedScrollbar=g.option("useSimulatedScrollbar"),this.option=g.option.bind(g),this._createActionByOption=g._createActionByOption.bind(g),this._isLocked=g._isLocked.bind(g),this._isDirection=g._isDirection.bind(g),this._allowedDirection=g._allowedDirection.bind(g),this._getMaxOffset=g._getMaxOffset.bind(g),this._isRtlNativeStrategy=g._isRtlNativeStrategy.bind(g)},render:function(){var b=W.Z.real().platform;this._$element.addClass(u).addClass(u+"-"+b).toggleClass("dx-scrollable-scrollbars-hidden",!this._isScrollbarVisible()),this._isScrollbarVisible()&&this._useSimulatedScrollbar&&this._renderScrollbars()},updateRtlPosition:function(g){g&&this.option("rtlEnabled")&&this._isScrollbarVisible()&&this._useSimulatedScrollbar&&this._moveScrollbars()},_renderScrollbars:function(){this._scrollbars={},this._hideScrollbarTimeout=0,this._$element.addClass("dx-scrollable-scrollbar-simulated"),this._renderScrollbar(q),this._renderScrollbar(U)},_renderScrollbar:function(g){this._isDirection(g)&&(this._scrollbars[g]=new H.Z((0,i.Z)("<div>").appendTo(this._$element),{direction:g,expandable:this._component.option("scrollByThumb")}))},handleInit:x.ZT,handleStart:x.ZT,handleMove:function(g){this._isLocked()?g.cancel=!0:this._allowedDirection()&&(g.originalEvent.isScrollingEvent=!0)},handleEnd:x.ZT,handleCancel:x.ZT,handleStop:x.ZT,_eachScrollbar:function(g){g=g.bind(this),(0,K.S6)(this._scrollbars||{},function(b,ue){g(ue,b)})},createActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._updateAction=this._createActionByOption("onUp
1dated")},_createActionArgs:function(){var{left:g,top:b}=this.location();return{event:this._eventForUserAction,scrollOffset:this._getScrollOffset(),reachedLeft:this._isRtlNativeStrategy()?this._isReachedRight(-g):this._isReachedLeft(g),reachedRight:this._isRtlNativeStrategy()?this._isReachedLeft(-Math.abs(g)):this._isReachedRight(g),reachedTop:this._isDirection(q)?Math.round(b)>=0:void 0,reachedBottom:this._isDirection(q)?Math.round(Math.abs(b)-this._getMaxOffset().top)>=0:void 0}},_getScrollOffset:function(){var{top:g,left:b}=this.location();return{top:-g,left:this._normalizeOffsetLeft(-b)}},_normalizeOffsetLeft(g){return this._isRtlNativeStrategy()?this._getMaxOffset().left+g:g},_isReachedLeft:function(g){return this._isDirection(U)?Math.round(g)>=0:void 0},_isReachedRight:function(g){return this._isDirection(U)?Math.round(Math.abs(g)-this._getMaxOffset().left)>=0:void 0},_isScrollbarVisible:function(){var{showScrollbar:g}=this.option();return"never"!==g&&!1!==g},handleScroll:function(g){this._eventForUserAction=g,this._moveScrollbars(),this._scrollAction(this._createActionArgs())},_moveScrollbars:function(){var{top:g,left:b}=this._getScrollOffset();this._eachScrollbar(function(ue){ue.moveTo({top:-g,left:-b}),ue.option("visible",!0)}),this._hideScrollbars()},_hideScrollbars:function(){clearTimeout(this._hideScrollbarTimeout),this._hideScrollbarTimeout=setTimeout(function(){this._eachScrollbar(function(g){g.option("visible",!1)})}.bind(this),500)},location:function(){return{left:-this._$container.scrollLeft(),top:-this._$container.scrollTop()}},disabledChanged:x.ZT,update:function(){this._update(),this._updateAction(this._createActionArgs())},_update:function(){this._updateDimensions(),this._updateScrollbars()},_updateDimensions:function(){this._containerSize={height:(0,n.Cr)(this._$container),width:(0,n.dz)(this._$container)},this._componentContentSize={height:(0,n.Cr)(this._component.$content()),width:(0,n.dz)(this._component.$content())},this._contentSize={height:(0,n.Cr)(this._$content),width:(0,n.dz)(this._$content)}},_updateScrollbars:function(){this._eachScrollbar(function(g,b){var ue=b===q?"height":"width";g.option({containerSize:this._containerSize[ue],contentSize:this._componentContentSize[ue]}),g.update()})},_allowedDirections:function(){return{vertical:this._isDirection(q)&&this._contentSize.height>this._containerSize.height,horizontal:this._isDirection(U)&&this._contentSize.width>this._containerSize.width}},dispose:function(){var g=this._$element.get(0).className,b=new RegExp(u+"\\S*","g");b.test(g)&&this._$element.removeClass(g.match(b).join(" ")),ie.Z.off(this._$element,"."+T),ie.Z.off(this._$container,"."+T),this._removeScrollbars(),clearTimeout(this._hideScrollbarTimeout)},_removeScrollbars:function(){this._eachScrollbar(function(g){g.$element().remove()})},scrollBy:function(g){var b=this.location();this._$container.scrollTop(Math.round(-b.top-g.top)),this._$container.scrollLeft(Math.round(-b.left-g.left))},validate:function(g){return!(this.option("disabled")||(0,A.pR)(g)&&this._isScrolledInMaxDirection(g)||!this._allowedDirection())},_isScrolledInMaxDirection(g){var b=this._$container.get(0);return g.delta>0?g.shiftKey?!b.scrollLeft:!b.scrollTop:g.shiftKey?b.scrollLeft>=this._getMaxOffset().left:b.scrollTop>=this._getMaxOffset().top},getDirection:function(){return this._allowedDirection()}})},40530:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Se});var n=a(21374),i=a(83520),ie=a(24705),A=a(45303),x=a(30805),K=a(56836),W=a(64596),I=a(83684),H=a(37075),T=a(34500),u=a(13921),d=a(67771),F=a(48966),q=a(16129),U=a(36844),Y=a(23409),S=a(89337),c=a(54463),g=a(80316),b=a(87462),ue=a(68262),Z=a(97118),ne="dxScrollable",E="dx-scrollable",Q="dx-scrollable-content",ae="vertical",ce="horizontal",Me="both",pe=F.Z.inherit({_getDefaultOptions:function(){return(0,I.l)(this.callBase(),{disabled:!1,onScroll:null,direction:ae,showScrollbar:"onScroll",useNative:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,onUpdated:null,onStart:null,onEnd:null,onBounce:null,useSimulatedScrollbar:!1,useKeyboard:!0,inertiaEnabled:!0,updateManually:!1})},_defaultOptionsRules:function(){return this.callBase().concat((0,c.i)(),[{device:function(){return A.nativeScrolling&&"android"===u.Z.real().platform&&!x.Z.mozilla},options:{useSimulatedScrollbar:!0}}])},_initOptions:function(Ce){this.callBase(Ce),"useSimulatedScrollbar"in Ce||this._setUseSimulatedScrollbar()}
1,_setUseSimulatedScrollbar:function(){this.initialOption("useSimulatedScrollbar")||this.option("useSimulatedScrollbar",!this.option("useNative"))},_init:function(){this.callBase(),this._initScrollableMarkup(),this._locked=!1},_visibilityChanged:function(Ce){Ce?(this.update(),this._updateRtlPosition(),this._savedScrollOffset&&this.scrollTo(this._savedScrollOffset),delete this._savedScrollOffset):this._savedScrollOffset=this.scrollOffset()},_initScrollableMarkup:function(){var Ce=this.$element().addClass(E),J=this._$container=(0,i.Z)("<div>").addClass("dx-scrollable-container"),z=this._$wrapper=(0,i.Z)("<div>").addClass("dx-scrollable-wrapper");(this._$content=(0,i.Z)("<div>").addClass(Q)).append(Ce.contents()).appendTo(J),J.appendTo(z),z.appendTo(Ce)},_dimensionChanged:function(){this.update(),this._updateRtlPosition()},_initMarkup:function(){this.callBase(),this._renderDirection()},_render:function(){this._renderStrategy(),this._attachEventHandlers(),this._renderDisabledState(),this._createActions(),this.update(),this.callBase(),this._updateRtlPosition(!0)},_updateRtlPosition:function(Ce){this._strategy.updateRtlPosition(Ce)},_getMaxOffset:function(){var{scrollWidth:Ce,clientWidth:J,scrollHeight:z,clientHeight:le}=(0,i.Z)(this.container()).get(0);return{left:Ce-J,top:z-le}},_attachEventHandlers:function(){var Ce=this._strategy,J={getDirection:Ce.getDirection.bind(Ce),validate:this._val
1idate.bind(this),isNative:this.option("useNative"),scrollTarget:this._$container};ie.Z.off(this._$wrapper,"."+ne),ie.Z.on(this._$wrapper,(0,q.V4)(U.Z.init,ne),J,this._initHandler.bind(this)),ie.Z.on(this._$wrapper,(0,q.V4)(U.Z.start,ne),Ce.handleStart.bind(Ce)),ie.Z.on(this._$wrapper,(0,q.V4)(U.Z.move,ne),Ce.handleMove.bind(Ce)),ie.Z.on(this._$wrapper,(0,q.V4)(U.Z.end,ne),Ce.handleEnd.bind(Ce)),ie.Z.on(this._$wrapper,(0,q.V4)(U.Z.cancel,ne),Ce.handleCancel.bind(Ce)),ie.Z.on(this._$wrapper,(0,q.V4)(U.Z.stop,ne),Ce.handleStop.bind(Ce)),ie.Z.off(this._$container,"."+ne),ie.Z.on(this._$container,(0,q.V4)("scroll",ne),Ce.handleScroll.bind(Ce))},_validate:function(Ce){return!this._isLocked()&&(this._updateIfNeed(),this._moveIsAllowed(Ce))},_moveIsAllowed(Ce){return this._strategy.validate(Ce)},handleMove(Ce){this._strategy.handleMove(Ce)},_prepareDirections(Ce){this._strategy._prepareDirections(Ce)},_initHandler:function(){var Ce=this._strategy;Ce.handleInit.apply(Ce,arguments)},_renderDisabledState:function(){this.$element().toggleClass("dx-scrollable-disabled",this.option("disabled")),this.option("disabled")?this._lock():this._unlock()},_renderDirection:function(){this.$element().removeClass("dx-scrollable-"+ce).removeClass("dx-scrollable-"+ae).removeClass("dx-scrollable-"+Me).addClass("dx-scrollable-"+this.option("direction"))},_renderStrategy:function(){this._createStrategy(),this._strategy.render(),this.$element().data("dxScrollableStrategy",this._strategy)},_createStrategy:function(){this._strategy=this.option("useNative")?new S.Z(this):new Y.L(this)},_createActions:function(){this._strategy&&this._strategy.createActions()},_clean:function(){this._strategy&&this._strategy.dispose()},_optionChanged:function(Ce){switch(Ce.name){case"onStart":case"onEnd":case"onUpdated":case"onScroll":case"onBounce":this._createActions();break;case"direction":this._resetInactiveDirection(),this._invalidate();break;case"useNative":this._setUseSimulatedScrollbar(),this._invalidate();break;case"inertiaEnabled":case"scrollByThumb":case"bounceEnabled":case"useKeyboard":case"showScrollbar":case"useSimulatedScrollbar":this._invalidate();break;case"disabled":this._renderDisabledState(),this._strategy&&this._strategy.disabledChanged();break;case"updateManually":case"scrollByContent":break;case"width":this.callBase(Ce),this._updateRtlPosition();break;default:this.callBase(Ce)}},_resetInactiveDirection:function(){var Ce=this._getInactiveProp();if(Ce&&(0,T.Ym)()){var J=this.scrollOffset();J[Ce]=0,this.scrollTo(J)}},_getInactiveProp:function(){var Ce=this.option("direction");return Ce===ae?"left":Ce===ce?"top":void 0},_location:function(){return this._strategy.location()},_normalizeLocation:function(Ce){if((0,W.PO)(Ce)){var J=(0,K.IS)(Ce.left,Ce.x),z=(0,K.IS)(Ce.top,Ce.y);return{left:(0,W.$K)(J)?-J:void 0,top:(0,W.$K)(z)?-z:void 0}}var le=this.option("direction");return{left:le!==ae?-Ce:void 0,top:le!==ce?-Ce:void 0}},_isLocked:function(){return this._locked},_lock:function(){this._locked=!0},_unlock:function(){this.option("disabled")||(this._locked=!1)},_isDirection:function(Ce){var J=this.option("direction");return Ce===ae?J!==ce:Ce===ce?J!==ae:J===Ce},_updateAllowedDirection:function(){var Ce=this._strategy._allowedDirections();this._allowedDirectionValue=this._isDirection(Me)&&Ce.vertical&&Ce.horizontal?Me:this._isDirection(ce)&&Ce.horizontal?ce:this._isDirection(ae)&&Ce.vertical?ae:null},_allowedDirection:function(){return this._allowedDirectionValue},$content:function(){return this._$content},content:function(){return(0,H.u)(this._$content)},container:function(){return(0,H.u)(this._$container)},scrollOffset:function(){return this._strategy._getScrollOffset()},_isRtlNativeStrategy:function(){var{useNative:Ce,rtlEnabled:J}=this.option();return Ce&&J},scrollTop:function(){return this.scrollOffset().top},scrollLeft:function(){return this.scrollOffset().left},clientHeight:function(){return(0,n.Cr)(this._$container)},scrollHeight:function(){return(0,n.zp)(this.$content())},clientWidth:function(){return(0,n.dz)(this._$container)},scrollWidth:function(){return(0,n.Y_)(this.$content())},update:function(){if(this._strategy)return(0,g.gx)(this._strategy.update()).done(function(){this._updateAllowedDirection()}.bind(this))},scrollBy:function(Ce){((Ce=this._normalizeLocation(Ce)).top||Ce.left)&&(this._updateIfNeed(),this._strategy.scrollBy(Ce))},scrollTo:function(Ce){Ce=this._normalizeLocation(Ce),this._updateIfNeed();var J=this._location();this.option("useNative")||(Ce=this._strategy._applyScaleRatio(Ce),J=this._strategy._applyScaleRatio(J)),this._isRtlNativeStrategy()&&(J.left=J.left-this._getMaxOffset().left);var z=this._normalizeLocation({left:J.left-(0,K.IS)(Ce.left,J.left),top:J.top-(0,K.IS)(Ce.top,J.top)});!z.top&&!z.left||this._strategy.scrollBy(z)},scrollToElement:function(Ce,J){var z=(0,i.Z)(Ce),le=this.$content().find(Ce).length,Oe=z.parents("."+E).length-z.parents("."+Q).length==0;if(le&&Oe){var O={top:0,left:0},l=this.option("direction");
1l!==ae&&(O.left=this.getScrollElementPosition(z,ce,J)),l!==ce&&(O.top=this.getScrollElementPosition(z,ae,J)),this.scrollTo(O)}},getScrollElementPosition:function(Ce,J,z){var le=this.scrollOffset();return function V(Ce,J,z,le,Oe){var O=(0,b.Z)({top:0,left:0,right:0,bottom:0},Oe),l=J===Z.Et,G=l?"top":"left",ye=l?"bottom":"right",R=l?"height":"width",p=z["offset".concat((0,ue.MI)(R))],y=z["client".concat((0,ue.MI)(R))],se=z.getBoundingClientRect()[R],De=Ce.getBoundingClientRect()[R],ge=1;Math.abs(se-p)>1&&(ge=se/p);var ke=function N(Ce,J){for(var z={left:0,top:0},le=J;null!==(Oe=le)&&void 0!==Oe&&Oe.offsetParent&&!le.classList.contains(Ce);){var Oe,O=le.offsetParent,l=le.getBoundingClientRect(),G=O.getBoundingClientRect();z.left+=l.left-G.left,z.top+=l.top-G.top,le=le.offsetParent}return z}(Z.hj,Ce)[G]/ge,Ne=le[G],Ge=Ne-ke+O[G],tt=Ne-ke-De/ge+y-O[ye];return Ge<=0&&tt>=0?Ne:Ne-(Math.abs(Ge)>Math.abs(tt)?tt:Ge)}(Ce.get(0),J,(0,i.Z)(this.container()).get(0),le,z)},_updateIfNeed:function(){this.option("updateManually")||this.update()},_useTemplates:function(){return!1},isRenovated:function(){return!!pe.IS_RENOVATED_WIDGET}});(0,d.Z)(ne,pe);const Se=pe},23409:(Je,Ae,a)=>{a.d(Ae,{T:()=>l,L:()=>R});var n=a(21374),i=a(83520),ie=a(68082),A=a(24705),x=a(68262),K=a(83684),W=a(34500),I=a(91553),H=a(64596),T=a(17839),u=a(46885),d=a(24245),F=a(56836),q=a(75949);const S=d.Z.inherit({ctor:function(){this._finished=!0,this._stopped=!1,this._proxiedStepCore=this._stepCore.bind(this)},start:function(){this._stopped=!1,this._finished=!1,this._stepCore()},stop:function(){this._stopped=!0,(0,q.W)(this._stepAnimationFrame)},_stepCore:function(){if(!this._isStopped())return this._isFinished()?(this._finished=!0,void this._complete()):(this._step(),void(this._stepAnimationFrame=(0,q.U)(this._proxiedStepCore)));this._stop()},_step:d.Z.abstract,_isFinished:F.ZT,_stop:F.ZT,_complete:F.ZT,_isStopped:function(){return this._stopped},inProgress:function(){return!(this._stopped||this._finished)}});var G,ye,c=a(16129),g=a(2519),b=a(80316),ue="dxSimulatedScrollable",Z=ue+"Cursor",V=ue+"Keyboard",ne="dx-scrollable-simulated",L="vertical",M="horizontal",w=.92,ce=Math.round(1e3/60),z=(1-Math.pow(w,400/ce))/(1-w),Oe=S.inherit({ctor:function(p){this.callBase(),this.scroller=p},VELOCITY_LIMIT:1,_isFinished:function(){return Math.abs(this.scroller._velocity)<=this.VELOCITY_LIMIT},_step:function(){this.scroller._scrollStep(this.scroller._velocity),this.scroller._velocity*=this._acceleration()},_acceleration:function(){return this.scroller._inBounds()?w:.5},_complete:function(){this.scroller._scrollComplete()}}),O=Oe.inherit({VELOCITY_LIMIT:.2,_isFinished:function(){return this.scroller._crossBoundOnNextStep()||this.callBase()},_acceleration:function(){return w},_complete:function(){this.scroller._move(this.scroller._bounceLocation),this.callBase()}}),l=d.Z.inherit({ctor:function(p){this._initOptions(p),this._initAnimators(),this._initScrollbar()},_initOptions:function(p){this._location=0,this._topReached=!1,this._bottomReached=!1,this._axis=p.direction===M?"x":"y",this._prop=p.direction===M?"left":"top",this._dimension=p.direction===M?"width":"height",this._scrollProp=p.direction===M?"scrollLeft":"scrollTop",(0,I.S6)(p,(y,se)=>{this["_"+y]=se})},_initAnimators:function(){this._inertiaAnimator=new Oe(this),this._bounceAnimator=new O(this)},_initScrollbar:function(){this._scrollbar=new g.Z((0,i.Z)("<div>").appendTo(this._$container),{direction:this._direction,visible:this._scrollByThumb,visibilityMode:this._visibilityModeNormalize(this._scrollbarVisible),expandable:this._scrollByThumb}),this._$scrollbar=this._scrollbar.$element()},_visibilityModeNormalize:function(p){return!0===p?"onScroll":!1===p?"never":p},_scrollStep:function(p){var y=this._location;this._location+=p,this._suppressBounce(),this._move(),!(Math.abs(y-this._location)<1)&&A.Z.triggerHandler(this._$container,{type:"scroll"})},_suppressBounce:function(){this._bounceEnabled||this._inBounds(this._location)||(this._velocity=0,this._location=this._boundLocation())},_boundLocation:function(p){return p=void 0!==p?p:this._location,Math.max(Math.min(p,this._maxOffset),this._minOffset)},_move:function(p){this._location=void 0!==p?p*this._getScaleRatio():this._location,this._moveContent(),this._moveScrollbar()}
1,_moveContent:function(){var p=this._location;this._$container[this._scrollProp](-p/this._getScaleRatio()),this._moveContentByTranslator(p)},_getScaleRatio:function(){if((0,W.Ym)()&&!this._scaleRatio){var p=this._$element.get(0),y=this._getRealDimension(p,this._dimension),se=this._getBaseDimension(p,this._dimension);this._scaleRatio=Math.round(y/se*100)/100}return this._scaleRatio||1},_getRealDimension:function(p,y){return Math.round((0,T.l)(p)[y])},_getBaseDimension:function(p,y){return p["offset"+(0,x.MI)(y)]},_moveContentByTranslator:function(p){var y,se=-this._maxScrollPropValue;if(this._translateOffset!==(y=p>0?p:p<=se?p-se:p%1)){var De={};if(De[this._prop]=y,this._translateOffset=y,0===y)return void(0,u.Kx)(this._$content);(0,u.pB)(this._$content,De)}},_moveScrollbar:function(){this._scrollbar.moveTo(this._location)},_scrollComplete:function(){this._inBounds()&&(this._hideScrollbar(),this._completeDeferred&&this._completeDeferred.resolve()),this._scrollToBounds()},_scrollToBounds:function(){this._inBounds()||(this._bounceAction(),this._setupBounce(),this._bounceAnimator.start())},_setupBounce:function(){var p=this._bounceLocation=this._boundLocation();this._velocity=(p-this._location)/z},_inBounds:function(p){return this._boundLocation(p=void 0!==p?p:this._location)===p},_crossBoundOnNextStep:function(){var p=this._location,y=p+this._velocity;return p<this._minOffset&&y>=this._minOffset||p>this._maxOffset&&y<=this._maxOffset},_initHandler:function(p){this._stopScrolling(),this._prepareThumbScrolling(p)},_stopScrolling:(0,F.Rg)(function(){this._hideScrollbar(),this._inertiaAnimator.stop(),this._bounceAnimator.stop()}),_prepareThumbScrolling:function(p){if(!(0,c.pR)(p.originalEvent)){var y=(0,i.Z)(p.originalEvent.target),se=this._isScrollbar(y);se&&this._moveToMouseLocation(p),this._thumbScrolling=se||this._isThumb(y),this._crossThumbScrolling=!this._thumbScrolling&&this._isAnyThumbScrolling(y),this._thumbScrolling&&this._scrollbar.feedbackOn()}},_isThumbScrollingHandler:function(p){return this._isThumb(p)},_moveToMouseLocation:function(p){var y=p["page"+this._axis.toUpperCase()]-this._$element.offset()[this._prop],se=this._location+y/this._containerToContentRatio()-(0,n.Cr)(this._$container)/2;this._scrollStep(-Math.round(se))},_startHandler:function(){this._showScrollbar()},_moveHandler:function(p){this._crossThumbScrolling||(this._thumbScrolling&&(p[this._axis]=-Math.round(p[this._axis]
1/this._containerToContentRatio())),this._scrollBy(p))},_scrollBy:function(p){p=p[this._axis],this._inBounds()||(p*=.5),this._scrollStep(p)},_scrollByHandler:function(p){this._scrollBy(p),this._scrollComplete()},_containerToContentRatio:function(){return this._scrollbar.containerToContentRatio()},_endHandler:function(p){return this._completeDeferred=new b.BH,this._velocity=p[this._axis],this._inertiaHandler(),this._resetThumbScrolling(),this._completeDeferred.promise()},_inertiaHandler:function(){this._suppressInertia(),this._inertiaAnimator.start()},_suppressInertia:function(){(!this._inertiaEnabled||this._thumbScrolling)&&(this._velocity=0)},_resetThumbScrolling:function(){this._thumbScrolling=!1,this._crossThumbScrolling=!1},_stopHandler:function(){this._thumbScrolling&&this._scrollComplete(),this._resetThumbScrolling(),this._scrollToBounds()},_disposeHandler:function(){this._stopScrolling(),this._$scrollbar.remove()},_updateHandler:function(){this._update(),this._moveToBounds()},_update:function(){return this._stopScrolling(),(0,F.Su)(()=>{this._resetScaleRatio(),this._updateLocation(),this._updateBounds(),this._updateScrollbar(),(0,F.g0)(()=>{this._moveScrollbar(),this._scrollbar.update()})})},_resetScaleRatio:function(){this._scaleRatio=null},_updateLocation:function(){this._location=((0,u.jt)(this._$content)[this._prop]-this._$container[this._scrollProp]())*this._getScaleRatio()},_updateBounds:function(){this._maxOffset=this._getMaxOffset(),this._minOffset=this._getMinOffset()},_getMaxOffset:function(){return 0},_getMinOffset:function(){return this._maxScrollPropValue=Math.max(this._contentSize()-this._containerSize(),0),-this._maxScrollPropValue},_updateScrollbar:(0,F.bN)(function(){var p=this._containerSize(),y=this._contentSize(),se=this._getBaseDimension(this._$container.get(0),this._dimension),De=this._getBaseDimension(this._$content.get(0),this._dimension);(0,F.g0)(()=>{this._scrollbar.option({containerSize:p,contentSize:y,baseContainerSize:se,baseContentSize:De,scaleRatio:this._getScaleRatio()})})}),_moveToBounds:(0,F.Rg)((0,F.bN)((0,F.Rg)(function(){var p=this._boundLocation(),y=p!==this._location;this._location=p,this._move(),y&&this._scrollAction()}))),_createActionsHandler:function(p){this._scrollAction=p.scroll,this._bounceAction=p.bounce},_showScrollbar:function(){this._scrollbar.option("visible",!0)},_hideScrollbar:function(){this._scrollbar.option("visible",!1)},_containerSize:function(){return this._getRealDimension(this._$container.get(0),this._dimension)},_contentSize:function(){var p="hidden"===this._$content.css("overflow"+this._axis.toUpperCase()),y=this._getRealDimension(this._$content.get(0),this._dimension);if(!p){var se=this._$content[0]["scroll"+(0,x.MI)(this._dimension)]*this._getScaleRatio();y=Math.max(se,y)}return y},_validateEvent:function(p){var y=(0,i.Z)(p.originalEvent.target);return this._isThumb(y)||this._isScrollbar(y)},_isThumb:function(p){return this._scrollByThumb&&this._scrollbar.isThumb(p)},_isScrollbar:function(p){return this._scrollByThumb&&p&&p.is(this._$scrollbar)},_reachedMin:function(){return Math.round(this._location-this._minOffset)<=0},_reachedMax:function(){return Math.round(this._location-this._maxOffset)>=0},_cursorEnterHandler:function(){this._resetScaleRatio(),this._updateScrollbar(),this._scrollbar.cursorEnter()},_cursorLeaveHandler:function(){this._scrollbar.cursorLeave()},dispose:F.ZT}),R=d.Z.inherit({ctor:function(p){this._init(p)},_init:function(p){this._component=p,this._$element=p.$element(),this._$container=(0,i.Z)(p.container()),this._$wrapper=p._$wrapper,this._$content=p.$content(),this.option=p.option.bind(p),this._createActionByOption=p._createActionByOption.bind(p),this._isLocked=p._isLocked.bind(p),this._isDirection=p._isDirection.bind(p),this._allowedDirection=p._allowedDirection.bind(p),this._getMaxOffset=p._getMaxOffset.bind(p)},render:function(){this._$element.addClass(ne),this._createScrollers(),this.option("useKeyboard")&&this._$container.prop("tabIndex",0),this._attachKeyboardHandler(),this._attachCursorHandlers()},_createScrollers:function(){this._scrollers={},this._isDirection(M)&&this._createScroller(M),this._isDirection(L)&&this._createScroller(L),this._$element.toggleClass("dx-scrollable-scrollbars-alwaysvisible","always"===this.option("showScrollbar"))},_createScroller:function(p){this._scrollers[p]=new l(this._scrollerOptions(p))},_scrollerOptions:function(p){return{direction:p,$content:this._$content,$container:this._$container,$wrapper:this._$wrapper,$element:this._$element,scrollByThumb:this.option("scrollByThumb"),scrollbarVisible:this.option("showScrollbar"),bounceEnabled:this.option("bounceEnabled"),inertiaEnabled:this.option("inertiaEnabled"),isAnyThumbScrolling:this._isAnyThumbScrolling.bind(this)}},_applyScaleRatio:function(p){for(var y in this._scrollers){var se=this._getPropByDirection(y);(0,H.$K)(p[se])&&(p[se]*=this._scrollers[y]._getScaleRatio())}return p},_isAnyThumbScrolling:function(p){var y=!1;return this._eventHandler("isThumbScrolling",p).done(function(se,De){y=se||De}),y},handleInit:function(p){this._suppressDirections(p),this._eventForUserAction=p,this._eventHandler("init",p)},_suppressDirections:function(p){(0,c.pR)(p.originalEvent)?this._prepareDirections(!0):(this._prepareDirections(),this._eachScroller(function(y,se){var De=(0,i.Z)(p.originalEvent.target),ge=y._validateEvent(p)||this.option("scrollByContent")&&this._isContent(De);
1this._validDirections[se]=ge}))},_isContent:function(p){return!!p.closest(this._$element).length},_prepareDirections:function(p){p=p||!1,this._validDirections={},this._validDirections[M]=p,this._validDirections[L]=p},_eachScroller:function(p){p=p.bind(this),(0,I.S6)(this._scrollers,function(y,se){p(se,y)})},handleStart:function(p){this._eventForUserAction=p,this._eventHandler("start").done(this._startAction)},_saveActive:function(){ye=this},_resetActive:function(){ye===this&&(ye=null)},handleMove:function(p){if(this._isLocked())return p.cancel=!0,void this._resetActive();this._saveActive(),p.preventDefault&&p.preventDefault(),this._adjustDistance(p,p.delta),this._eventForUserAction=p,this._eventHandler("move",p.delta)},_adjustDistance:function(p,y){y.x*=this._validDirections[M],y.y*=this._validDirections[L];var se=this._tryGetDevicePixelRatio();se&&(0,c.pR)(p.originalEvent)&&(y.x=Math.round(y.x/se*100)/100,y.y=Math.round(y.y/se*100)/100)},_tryGetDevicePixelRatio:function(){if((0,W.Ym)())return(0,W.Jj)().devicePixelRatio},handleEnd:function(p){return this._resetActive(),this._refreshCursorState(p.originalEvent&&p.originalEvent.target),this._adjustDistance(p,p.velocity),this._eventForUserAction=p,this._eventHandler("end",p.velocity).done(this._endAction)},handleCancel:function(p){return this._resetActive(),this._eventForUserAction=p,this._eventHandler("end",{x:0,y:0})},handleStop:function(){this._resetActive(),this._eventHandler("stop")},handleScroll:function(){this._updateRtlConfig(),this._scrollAction()},_attachKeyboardHandler:function(){A.Z.off(this._$element,".".concat(V)),!this.option("disabled")&&this.option("useKeyboard")&&A.Z.on(this._$element,(0,c.V4)("keydown",V),this._keyDownHandler.bind(this))},_keyDownHandler:function(p){if(clearTimeout(this._updateHandlerTimeout),this._updateHandlerTimeout=setTimeout(()=>{"tab"===(0,c.EV)(p)&&this._eachScroller(se=>{se._updateHandler()})}),this._$container.is(ie.Z.getActiveElement(this._$container.get(0)))){var y=!0;switch((0,c.EV)(p)){case"downArrow":this._scrollByLine({y:1});break;case"upArrow":this._scrollByLine({y:-1});break;case"rightArrow":this._scrollByLine({x:1});break;case"leftArrow":this._scrollByLine({x:-1});break;case"pageDown":this._scrollByPage(1);break;case"pageUp":this._scrollByPage(-1);break;case"home":this._scrollToHome();break;case"end":this._scrollToEnd();break;default:y=!1}y&&(p.stopPropagation(),p.preventDefault())}},_scrollByLine:function(p){var y=this._tryGetDevicePixelRatio(),se=40;y&&(se=Math.abs(se/y*100)/100),this.scrollBy({top:(p.y||0)*-se,left:(p.x||0)*-se})},_scrollByPage:function(p){var y=this._wheelProp(),se=this._dimensionByProp(y),De={};De[y]=p*-("width"===se?n.dz:n.Cr)(this._$container),this.scrollBy(De)},_dimensionByProp:function(p){return"left"===p?"width":"height"},_getPropByDirection:function(p){return p===M?"left":"top"},_scrollToHome:function(){var y={};y[this._wheelProp()]=0,this._component.scrollTo(y)},_scrollToEnd:function(){var p=this._wheelProp(),se={},De="width"===this._dimensionByProp(p)?n.dz:n.Cr;se[p]=De(this._$content)-De(this._$container),this._component.scrollTo(se)},createActions:function(){this._startAction=this._createActionHandler("onStart"),this._endAction=this._createActionHandler("onEnd"),this._updateAction=this._createActionHandler("onUpdated"),this._createScrollerActions()},_createScrollerActions:function(){this._scrollAction=this._createActionHandler("onScroll"),this._bounceAction=this._createActionHandler("onBounce"),this._eventHandler("createActions",{scroll:this._scrollAction,bounce:this._bounceAction})},_createActionHandler:function(p){var y=this._createActionByOption(p);return()=>{y((0,K.l)(this._createActionArgs(),arguments))}},_createActionArgs:function(){var{horizontal:p,vertical:y}=this._scrollers,se=this._getScrollOffset();return this._scrollOffset={top:y&&se.top,left:p&&se.left},{event:this._eventForUserAction,scrollOffset:this._scrollOffset,reachedLeft:p&&p._reachedMax(),reachedRight:p&&p._reachedMin(),reachedTop:y&&y._reachedMax(),reachedBottom:y&&y._reachedMin()}}
1,_getScrollOffset(){return{top:-this.location().top,left:-this.location().left}},_eventHandler:function(p){var y=[].slice.call(arguments).slice(1),se=(0,I.UI)(this._scrollers,De=>De["_"+p+"Handler"].apply(De,y));return b.gx.apply(i.Z,se).promise()},location:function(){var p=(0,u.jt)(this._$content);return p.top-=this._$container.scrollTop(),p.left-=this._$container.scrollLeft(),p},disabledChanged:function(){this._attachCursorHandlers()},_attachCursorHandlers:function(){A.Z.off(this._$element,".".concat(Z)),!this.option("disabled")&&this._isHoverMode()&&(A.Z.on(this._$element,(0,c.V4)("mouseenter",Z),this._cursorEnterHandler.bind(this)),A.Z.on(this._$element,(0,c.V4)("mouseleave",Z),this._cursorLeaveHandler.bind(this)))},_isHoverMode:function(){return"onHover"===this.option("showScrollbar")},_cursorEnterHandler:function(p){(p=p||{}).originalEvent=p.originalEvent||{},!ye&&!p.originalEvent._hoverHandled&&(G&&G._cursorLeaveHandler(),G=this,this._eventHandler("cursorEnter"),p.originalEvent._hoverHandled=!0)},_cursorLeaveHandler:function(p){G!==this||ye===G||(this._eventHandler("cursorLeave"),G=null,this._refreshCursorState(p&&p.relatedTarget))},_refreshCursorState:function(p){if(this._isHoverMode()||p&&!ye){var se=(0,i.Z)(p).closest(".".concat(ne,":not(.dx-state-disabled)")),De=se.length&&se.data("dxScrollableStrategy");G&&G!==De&&G._cursorLeaveHandler(),De&&De._cursorEnterHandler()}},update:function(){var p=this._eventHandler("update").done(this._updateAction);return(0,b.gx)(p,(0,F.Su)(()=>{var y=this._allowedDirections();return(0,F.g0)(()=>{var se=y.vertical?"pan-x":"";se=y.horizontal?"pan-y":se,this._$container.css("touchAction",se=y.vertical&&y.horizontal?"none":se)}),(0,b.gx)().promise()}))},_allowedDirections:function(){var p=this.option("bounceEnabled"),y=this._scrollers[L],se=this._scrollers[M];return{vertical:y&&(y._minOffset<0||p),horizontal:se&&(se._minOffset<0||p)}},_updateBounds:function(){this._scrollers[M]&&this._scrollers[M]._updateBounds()},_isHorizontalAndRtlEnabled:function(){return this.option("rtlEnabled")&&this.option("direction")!==L},updateRtlPosition:function(p){if(p&&(this._rtlConfig={scrollRight:0,clientWidth:this._$container.get(0).clientWidth,windowPixelRatio:this._getWindowDevicePixelRatio()}),this._updateBounds(),this._isHorizontalAndRtlEnabled()){var y=this._getMaxOffset().left-this._rtlConfig.scrollRight;y<=0&&(y=0,this._rtlConfig.scrollRight=this._getMaxOffset().left),this._getScrollOffset().left!==y&&(this._rtlConfig.skipUpdating=!0,this._component.scrollTo({left:y}),this._rtlConfig.skipUpdating=!1)}},_updateRtlConfig:function(){if(this._isHorizontalAndRtlEnabled()&&!this._rtlConfig.skipUpdating){var{clientWidth:p,scrollLeft:y}=this._$container.get(0),se=this._getWindowDevicePixelRatio();this._rtlConfig.windowPixelRatio===se&&this._rtlConfig.clientWidth===p&&(this._rtlConfig.scrollRight=this._getMaxOffset().left-y),this._rtlConfig.clientWidth=p,this._rtlConfig.windowPixelRatio=se}},_getWindowDevicePixelRatio:function(){return(0,W.Ym)()?(0,W.Jj)().devicePixelRatio:1},scrollBy:function(p){var y=this._scrollers[L],se=this._scrollers[M];y&&(p.top=y._boundLocation(p.top+y._location)-y._location),se&&(p.left=se._boundLocation(p.left+se._location)-se._location),this._prepareDirections(!0),this._startAction(),this._eventHandler("scrollBy",{x:p.left,y:p.top}),this._endAction(),this._updateRtlConfig()},validate:function(p){return!((0,c.pR)(p)&&(0,c.j1)(p)||this.option("disabled"))&&(!!this.option("bounceEnabled")||((0,c.pR)(p)?this._validateWheel(p):this._validateMove(p)))},_validateWheel:function(p){var y=this._scrollers[this._wheelDirection(p)],se=y._reachedMin(),De=y._reachedMax(),tt=(!se||!De)&&(!se&&!De||se&&p.delta>0||De&&p.delta<0);return(tt=tt||void 0!==this._validateWheelTimer)&&(clearTimeout(this._val
1idateWheelTimer),this._validateWheelTimer=setTimeout(()=>{this._validateWheelTimer=void 0},500)),tt},_validateMove:function(p){return!(!this.option("scrollByContent")&&!(0,i.Z)(p.target).closest(".".concat("dx-scrollable-scrollbar")).length)&&this._allowedDirection()},getDirection:function(p){return(0,c.pR)(p)?this._wheelDirection(p):this._allowedDirection()},_wheelProp:function(){return this._wheelDirection()===M?"left":"top"},_wheelDirection:function(p){switch(this.option("direction")){case M:return M;case L:return L;default:return p&&p.shiftKey?M:L}},dispose:function(){this._resetActive(),G===this&&(G=null),this._eventHandler("dispose"),this._detachEventHandlers(),this._$element.removeClass(ne),this._eventForUserAction=null,clearTimeout(this._validateWheelTimer),clearTimeout(this._updateHandlerTimeout)},_detachEventHandlers:function(){A.Z.off(this._$element,".".concat(Z)),A.Z.off(this._$container,".".concat(V))}})},2519:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Z});var n=a(83520),i=a(68082),ie=a(24705),A=a(12395),x=a(46885),K=a(46068),W=a(16129),I=a(56836),H=a(64596),T=a(83684),u=a(45390),d="dxScrollbar",F="dx-scrollable-scrollbar",q="".concat(F,"-active"),c="horizontal",ue=null,N=K.Z.inherit({_getDefaultOptions:function(){return(0,T.l)(this.callBase(),{direction:null,visible:!1,activeStateEnabled:!1,visibilityMode:"onScroll",containerSize:0,contentSize:0,expandable:!0,scaleRatio:1})},_init:function(){this.callBase(),this._isHovered=!1},_initMarkup:function(){this._renderThumb(),this.callBase()},_render:function(){this.callBase(),this._renderDirection(),this._update(),this._attachPointerDownHandler(),this.option("hoverStateEnabled",this._isHoverMode()),this.$element().toggleClass("dx-scrollbar-hoverable",this.option("hoverStateEnabled"))},_renderThumb:function(){this._$thumb=(0,n.Z)("<div>").addClass("dx-scrollable-scroll"),(0,n.Z)("<div>").addClass("dx-scrollable-scroll-content").appendTo(this._$thumb),this.$element().addClass(F).append(this._$thumb)},isThumb:function(V){return!!this.$element().find(V).length},_isHoverMode:function(){var V=this.option("visibilityMode");return("onHover"===V||"always"===V)&&this.option("expandable")},_renderDirection:function(){var V=this.option("direction");this.$element().addClass("dx-scrollbar-"+V),this._dimension=V===c?"width":"height",this._prop=V===c?"left":"top"},_attachPointerDownHandler:function(){ie.Z.on(this._$thumb,(0,W.V4)(u.Z.down,d),this.feedbackOn.bind(this))},feedbackOn:function(){this.$element().addClass(q),ue=this},feedbackOff:function(){this.$element().removeClass(q),ue=null},cursorEnter:function(){this._isHovered=!0,this._needScrollbar()&&this.option("visible",!0)},cursorLeave:function(){this._isHovered=!1,this.option("visible",!1)},_renderDimensions:function(){this._$thumb.css({width:this.option("width"),height:this.option("height")})},_toggleVisibility:function(V){"onScroll"===this.option("visibilityMode")&&this._$thumb.css("opacity"),V=this._adjustVisibility(V),this.option().visible=V,this._$thumb.toggleClass("dx-state-invisible",!V)},_adjustVisibility:function(V){if(this._baseContainerToContentRatio&&!this._needScrollbar())return!1;switch(this.option("visibilityMode")){case"onScroll":break;case"onHover":V=V||!!this._isHovered;break;case"never":V=!1;break;case"always":V=!0}return V},moveTo:function(V){if(!this._isHidden()){(0,H.PO)(V)&&(V=V[this._prop]||0);var ne={};ne[this._prop]=this._calculateScrollBarPosition(V),(0,x.pB)(this._$thumb,ne)}},_calculateScrollBarPosition:function(V){return-V*this._thumbRatio},_update:function(){var V=Math.round(this.option("containerSize")),ne=Math.round(this.option("contentSize")),h=Math.round(this.option("baseContainerSize")),E=Math.round(this.option("baseContentSize"));isNaN(h)&&(h=V,E=ne),this._baseContainerToContentRatio=E?h/E:h,this._realContainerToContentRatio=ne?V/ne:V;var L=Math.round(Math.max(Math.round(V*this._realContainerToContentRatio),15));this._thumbRatio=(V-L)/(this.option("scaleRatio")*(ne-V)),this.option(this._dimension,L/this.option("scaleRatio")),this.$element().css("display",this._needScrollbar()?"":"none")},_isHidden:function(){return"never"===this.option("visibilityMode")},_needScrollbar:function(){return!this._isHidden()&&this._baseContainerToContentRatio<1},containerToContentRatio:function(){return this._realContainerToContentRatio},_normalizeSize:function(V){return(0,H.PO)(V)?V[this._dimension]||0:V},_clean:function(){this.callBase(),this===ue&&(ue=null),ie.Z.off(this._$thumb,"."+d)},_optionChanged:function(V){if(!this._isHidden())switch(V.name){case"containerSize":case"contentSize":this.option()[V.name]=this._normalizeSize(V.value),this._update();break;case"baseContentSize":case"baseContainerSize":case"scaleRatio":this._update();break;case"visibilityMode":case"direction":this._invalidate();break;default:this.callBase.apply(this,arguments)}},update:(0,I.Rg)(function(){this._adjustVisibility()&&this.option("visible",!0)})});A.Z.add(function(){ie.Z.subscribeGlobal(i.Z.getDocument(),(0,W.V4)(u.Z.up,d),function(){ue&&ue.feedbackOff()})});const Z=N},20903:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Oe});var n=a(83520),i=a(56836),ie=a(64596),A=a(83684),x=a(91553),K=a(80316),W=a(37075),I=a(47484),H=a(68082),T=a(40911),u=a(67771),d=a(21374),F=a(34500),q=a(24705),U=a(41760),Y=a(139),S=a(69246),c=a(6795),g=a(16129),b=a(13921),ue=a(82510),N=a(35431),Z=a(58437),V=a(98166),ne=(0,F.Jj)(),w=["startswith","contains","endwith","notcontains"],Q="android"!==b.Z.real().platform,ae=Y.Z.inherit({_supportedKeys:function(){var O=this.callBase();return(0,A.l)({},O,{tab:function(l){if(this._allowSelectItemByTab()){this._saveValueChangeEvent(l);var G=(0,n.Z)(this._list.option("focusedElement"));G.length&&this._setSelectedElement(G)}O.tab.apply(this,arguments)},space:i.ZT,home:i.ZT,end:i.ZT})},_allowSelectItemByTab:function(){return this.option("opened")&&"instantly"===this.option("applyValueMode")},_setSelectedElement:function(O){var l=this._valueGetter(this._list._getItemData(O));this._setValue(l)},_setValue:function(O){this.option("value",O)},_getDefaultOptions:function(){return(0,A.l)(this.callBase(),(0,A.l)(N.Z._dataExpressionDefaultOptions(),{displayValue:void 0,searchEnabled:!1,searchMode:"contains",searchTimeout:500,minSearchLength:0,searchExpr:null,valueChangeEvent:"input change keyup",selectedItem:null,noDataText:T.Z.format("dxCollectionWidget-noDataText"),encodeNoDataText:!1,onSelectionChanged:null,onItemClick:i.ZT,showDataBeforeSearch:!1,grouped:!1,groupTemplate:"group",popupPosition:{my:"left top",at:"left bottom",offset:{h:0,v:0},collision:"flip"},wrapItemText:!1,useItemTextAsTitle:!1}))},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{popupPosition:{offset:{v:-1}}}},{device:{platform:"generic"},options:{buttonsLocation:"bottom center"}}])},_setOptionsByReference:function(){this.callBase(),(0,A.l)(this._optionsByReference,{value:!0,selectedItem:!0,displayValue:!0})},_init:function(){this.callBase(),this._initDataExpressions(),this._initActions(),this._setListDataSource(),this._val
1idateSearchMode(),this._clearSelectedItem(),this._initItems()},_setListFocusedElementOptionChange:function(){this._list._updateParentActiveDescendant=this._updateActiveDescendant.bind(this)},_initItems:function(){var O=this.option().items;O&&!O.length&&this._dataSource&&(this.option().items=this._dataSource.items())},_initActions:function(){this._initContentReadyAction(),this._initSelectionChangedAction(),this._initItemClickAction()},_initContentReadyAction:function(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]})},_initSelectionChangedAction:function(){this._selectionChangedAction=this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})},_initItemClickAction:function(){this._itemClickAction=this._createActionByOption("onItemClick")},_initTemplates:function(){this.callBase(),this._templateManager.addDefaultTemplates({item:new Z.s("item")})},_isEditable:function(){return this.callBase()||this.option("searchEnabled")},_saveFocusOnWidget:function(O){this._list&&this._list.initialOption("focusStateEnabled")&&this._focusInput()},_fitIntoRange:function(O,l,G){return O>G?l:O<l?G:O},_items:function(){var O=this._getPlainItems(!this._list&&this._dataSource.items());return new ue.Z(O).filter("disabled","<>",!0).toArray()},_calcNextItem:function(O){var l=this._items();return l[this._fitIntoRange(this._getSelectedIndex()+O,0,l.length-1)]},_getSelectedIndex:function(){var O=this._items(),l=this.option("selectedItem"),G=-1;return(0,x.S6)(O,function(ye,R){if(this._isValueEquals(R,l))return G=ye,!1}.bind(this)),G},_createPopup:function(){this.callBase(),this._updateCustomBoundaryContainer(),this._popup.$wrapper().addClass(this._popupWrapperClass());var O=this._popup.$content();q.Z.off(O,"mouseup"),q.Z.on(O,"mouseup",this._saveFocusOnWidget.bind(this))},_updateCustomBoundaryContainer:function(){var O=this.option("dropDownOptions.container"),l=O&&(0,n.Z)(O);if(l&&l.length&&!(0,ie.FJ)(l.get(0))){var G=[].slice.call(l.parents());G.unshift(l.get(0)),(0,x.S6)(G,function(ye,R){return R!==(0,n.Z)("body").get(0)&&("hidden"===ne.getComputedStyle(R).overflowY?(this._$customBoundaryContainer=(0,n.Z)(R),!1):void 0)}.bind(this))}},_popupWrapperClass:function(){return"dx-dropdownlist-popup-wrapper"},_renderInputValue:function(){var O=this._getCurrentValue();return this._rejectValueLoading(),this._loadInputValue(O,this._setSelectedItem.bind(this)).always(this.callBase.bind(this,O))},_loadInputValue:function(O,l){return this._loadItem(O).always(l)},_getItemFromPlain:function(O,l){var G,ye;return l&&"object"!=typeof O&&(l.itemByValue||(l.itemByValue={},(G=this._getPlainItems()).forEach(function(R){l.itemByValue[this._valueGetter(R)]=R},this)),ye=l.itemByValue[O]),ye||(G=this._getPlainItems(),ye=(0,i.h3)(G,function(R){return this._isValueEquals(this._valueGetter(R),O)}.bind(this))[0]),ye},_loadItem:function(O,l){var G=this._getItemFromPlain(O,l);return void 0!==G?(new K.BH).resolve(G).promise():this._loadValue(O)},_getPlainItems:function(O){var l=[];O=O||this.option("items")||this._dataSource.items()||[];for(var G=0;G<O.length;G++)O[G]&&O[G].items?l=l.concat(O[G].items):l.push(O[G]);return l},_updateActiveDescendant(){var O,l=this.option("opened"),G=null===(O=this._list)||void 0===O?void 0:O.getFocusedItemId(),ye=(0,n.Z)("#".concat(G)).length>0;this.setAria({activedescendant:l&&ye&&G||null})},_setSelectedItem:function(O){var l=this._displayValue(O);this.option("selectedItem",(0,i.IS)(O,null)),this.option("displayValue",l)},_displayValue:function(O){return this._displayGetter(O)},_refreshSelected:function(){var O={};this._listItemElements().each(function(l,G){var ye=(0,n.Z)(G),R=this._valueGetter(ye.data("dxListItemData"));this._isSelectedValue(R,O)?this._list.selectItem(ye):this._list.unselectItem(ye)}.bind(this))},_popupShownHandler:function(){this.callBase(),this._setFocusPolicy()},_setFocusPolicy:function(){!this.option("focusStateEnabled")||!this._list||this._list.option("focusedElement",null)},_isSelectedValue:function(O){return this._isValueEquals(O,this.option("value"))},_validateSearchMode:function(){var O=this.option("searchMode"),l=O.toLowerCase();if(!w.includes(l))throw c.Z.Error("E1019",O)},_clearSelectedItem:function(){this.option("selectedItem",null)},_processDataSourceChanging:function(){this._initDataController(),this._setListOption("_dataController",this._dataController),this._setListDataSource(),this._renderInputValue().fail(function(){this._isCustomValueAllowed()||this._clearSelectedItem()}.bind(this))},_isCustomValueAllowed:function(){return this.option("displayCustomValue")},reset:function(){this.callBase(),this._clearFilter(),this._clearSelectedItem()},_listItemElements:function(){return this._$list?this._$list.find(".dx-list-item"):(0,n.Z)()},_popupConfig:function(){return(0,A.l)(this.callBase(),{templatesRenderAsynchronously:!1,autoResizeEnabled:!1,maxHeight:this._getMaxHeight.bind(this)})},_renderPopupContent:function(){this.callBase(),this._renderList()},_getKeyboardListeners(){var O=this._canListHaveFocus();return this.callBase().concat([!O&&this._list])},_setAriaTargetForList:function(){this._list._getAriaTarget=this._getAriaTarget.bind(this)},_renderList:function(){this._listId="dx-"+(new U.Z)._value;var O=this._$list=(0,n.Z)("<div>").attr("id",this._listId).appendTo(this._popup.$content());this._list=this._createComponent(O,S.Z,this._listConfig()),this._refreshList(),this._setAriaTargetForList(
1),this._list.option("_listAttributes",{role:"combobox"}),this._renderPreventBlurOnListClick(),this._setListFocusedElementOptionChange()},_renderPreventBlurOnListClick:function(){var O=(0,g.V4)("mousedown","dxDropDownList");q.Z.off(this._$list,O),q.Z.on(this._$list,O,l=>l.preventDefault())},_getControlsAria(){return this._list&&this._listId},_renderOpenedState:function(){this.callBase(),this._list&&this._updateActiveDescendant(),this.setAria("owns",this._popup&&this._popupContentId)},_setDefaultAria:function(){this.setAria({haspopup:"listbox",autocomplete:"list"})},_refreshList:function(){this._list&&this._shouldRefreshDataSource()&&this._setListDataSource()},_shouldRefreshDataSource:function(){return!!this._list.option("dataSource")!==this._needPassDataSourceToList()},_isDesktopDevice:function(){return"desktop"===b.Z.real().deviceType},_listConfig:function(){var O={selectionMode:"single",_templates:this.option("_templates"),templateProvider:this.option("templateProvider"),noDataText:this.option("noDataText"),encodeNoDataText:this.option("encodeNoDataText"),grouped:this.option("grouped"),wrapItemText:this.option("wrapItemText"),useItemTextAsTitle:this.option("useItemTextAsTitle"),onContentReady:this._listContentReadyHandler.bind(this),itemTemplate:this.option("itemTemplate"),indicateLoading:!1,keyExpr:this._getCollectionKeyExpr(),displayExpr:this._displayGetterExpr(),groupTemplate:this.option("groupTemplate"),onItemClick:this._listItemClickAction.bind(this),dataSource:this._getDataSource(),_dataController:this._dataController,hoverStateEnabled:!!this._isDesktopDevice()&&this.option("hoverStateEnabled"),focusStateEnabled:!!this._isDesktopDevice()&&this.option("focusStateEnabled")};return this._canListHaveFocus()||(O.tabIndex=null),O},_canListHaveFocus:()=>!1,_getDataSource:function(){return this._needPassDataSourceToList()?this._dataSource:null},_dataSourceOptions:function(){return{paginate:!1}},_getGroupedOption:function(){return this.option("grouped")},_dataSourceFromUrlLoadMode:function(){return"raw"},_listContentReadyHandler:function(){this._list=this._list||this._$list.dxList("instance"),this.option("deferRendering")||this._refreshSelected(),this._updatePopupWidth(),this._updateListDimensions(),this._contentReadyAction()},_setListOption:function(O,l){this._setWidgetOption("_list",arguments)},_listItemClickAction:function(O){this._listItemClickHandler(O),this._itemClickAction(O)},_listItemClickHandler:i.ZT,_setListDataSource:function(){this._list&&(this._setListOption("dataSource",this._getDataSource()),this._needPassDataSourceToList()||this._setListOption("items",[]))},_needPassDataSourceToList:function(){return this.option("showDataBeforeSearch")||this._isMinSearchLengthExceeded()},_isMinSearchLengthExceeded:function(){return this._searchValue().toString().length>=this.option("minSearchLength")},_needClearFilter:function(){return!this._canKeepDataSource()&&this._needPassDataSourceToList()},_canKeepDataSource:function(){var O=this._isMinSearchLengthExceeded();return this._dataController.isLoaded()&&this.option("showDataBeforeSearch")&&this.option("minSearchLength")&&!O&&!this._isLastMinSearchLengthExceeded},_searchValue:function(){return this._input().val()||""},_getSearchEvent:function(){return(0,g.V4)("input",this.NAME+"Search")},_getCompositionStartEvent:function(){return(0,g.V4)("compositionstart",this.NAME+"CompositionStart")},_getCompositionEndEvent:function(){return(0,g.V4)("compositionend",this.NAME+"CompositionEnd")},_getSetFocusPolicyEvent:function(){return(0,g.V4)("input",this.NAME+"FocusPolicy")},_renderEvents:function(){this.callBase(),q.Z.on(this._input(),this._getSetFocusPolicyEvent(),()=>{this._setFocusPolicy()}),this._shouldRenderSearchEvent()&&(q.Z.on(this._input(),this._getSearchEvent(),O=>{this._searchHandler(O)}),Q&&(q.Z.on(this._input(),this._getCompositionStartEvent(),()=>{this._isTextCompositionInProgress(!0)}),q.Z.on(this._input(),this._getCompositionEndEvent(),O=>{this._isTextCompositionInProgress(void 0),this._searchHandler(O,this._searchValue())})))},_shouldRenderSearchEvent:function(){return this.option("searchEnabled")},_refreshEvents:function(){q.Z.off(this._input(),this._getSearchEvent()),q.Z.off(this._input(),this._getSetFocusPolicyEvent()),Q&&(q.Z.off(this._input(),this._getCompositionStartEvent()),q.Z.off(this._input(),this._getCompositionEndEvent())),this.callBase()},_isTextCompositionInProgress:function(O){if(!arguments.length)return this._isTextComposition;this._isTextComposition=O},_searchHandler:function(O,l){if(!this._isTextCompositionInProgress()){if
1(!this._isMinSearchLengthExceeded())return void this._searchCanceled();var G=this.option("searchTimeout");G?(this._clearSearchTimer(),this._searchTimer=setTimeout(()=>{this._searchDataSource(l)},G)):this._searchDataSource(l)}},_searchCanceled:function(){this._clearSearchTimer(),this._needClearFilter()&&this._filterDataSource(null),this._refreshList()},_searchDataSource:function(){var O=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._searchValue();this._filterDataSource(O)},_filterDataSource:function(O){this._clearSearchTimer();var l=this._dataController;l.searchExpr(this.option("searchExpr")||this._displayGetterExpr()),l.searchOperation(this.option("searchMode")),l.searchValue(O),l.load().done(this._dataSourceFiltered.bind(this,O))},_clearFilter:function(){var O=this._dataController;O.searchValue()&&O.searchValue(null)},_dataSourceFiltered:function(){this._isLastMinSearchLengthExceeded=this._isMinSearchLengthExceeded(),this._refreshList(),this._refreshPopupVisibility()},_shouldOpenPopup:function(){return this._hasItemsToShow()},_refreshPopupVisibility:function(){if(!this.option("readOnly")&&this._searchValue()){var O=this._shouldOpenPopup();O&&!this._isFocused()||(this.option("opened",O),O&&(this._updatePopupWidth(),this._updateListDimensions()))}},_dataSourceChangedHandler:function(O){0===this._dataController.pageIndex()?this.option().items=O:this.option().items=this.option().items.concat(O)},_hasItemsToShow:function(){var G=(this._dataController.items()||[]).length;return!(!this._needPassDataSourceToList()||!G)},_clearSearchTimer:function(){clearTimeout(this._searchTimer),delete this._searchTimer},_popupShowingHandler:function(){this._updatePopupWidth(),this._updateListDimensions()},_dimensionChanged:function(){this.callBase(),this._updateListDimensions()},_needPopupRepaint:function(){var O=this._dataController,l=O.pageIndex(),G=(0,ie.$K)(this._pageIndex)&&l<=this._pageIndex||O.isLastPage()&&!this._list._scrollViewIsFull();return this._pageIndex=l,G},_updateListDimensions:function(){this._popup&&(this._needPopupRepaint()&&this._popup.repaint(),this._list&&this._list.updateDimensions())},_getMaxHeight:function(){var O=this.$element(),l=this._$customBoundaryContainer,G=O.offset().top-(l?l.offset().top:0),ye=(0,d.zp)(ne),R=l?Math.min((0,d.zp)(l),ye):ye,p=Math.max(G,R-G-(0,d.zp)(O));return Math.min(.5*R,p)},_clean:function(){this._list&&delete this._list,delete this._isLastMinSearchLengthExceeded,this.callBase()},_dispose:function(){this._clearSearchTimer(),this.callBase()},_setCollectionWidgetOption:function(){this._setListOption.apply(this,arguments)},_setSubmitValue:function(){var O=this.option("value"),l=this._shouldUseDisplayValue(O)?this._displayGetter(O):O;this._getSubmitElement().val(l)},_shouldUseDisplayValue:function(O){return"this"===this.option("valueExpr")&&(0,ie.Kn)(O)},_optionChanged:function(O){switch(this._dataExpressionOptionChanged(O),O.name){case"hoverStateEnabled":case"focusStateEnabled":this._isDesktopDevice()&&this._setListOption(O.name,O.value),this.callBase(O);break;case"items":this.option("dataSource")||this._processDataSourceChanging();break;case"dataSource":this._processDataSourceChanging();break;case"valueExpr":this._renderValue(),this._setListOption("keyExpr",this._getCollectionKeyExpr());break;case"displayExpr":this._renderValue(),this._setListOption("displayExpr",this._displayGetterExpr());break;case"searchMode":this._validateSearchMode();break;case"minSearchLength":this._refreshList();break;case"searchEnabled":case"showDataBeforeSearch":case"searchExpr":this._invalidate();break;case"onContentReady":this._initContentReadyAction();break;case"onSelectionChanged":this._initSelectionChangedAction();break;case"onItemClick":this._initItemClickAction();break;case"grouped":case"groupTemplate":case"wrapItemText":case"noDataText":case"encodeNoDataText":case"useItemTextAsTitle":this._setListOption(O.name);break;case"displayValue":this.option("text",O.value);break;case"itemTemplate":case"searchTimeout":break;case"selectedItem":O.previousValue!==O.value&&this._selectionChangedAction({selectedItem:O.value});break;default:this.callBase(O)}}}).include(N.Z,V.Z);(0,u.Z)("dxDropDownList",ae);const ce=ae;a(51061);var z="dx-selectbox-popup-wrapper",le=ce.inherit({_supportedKeys:function(){var O=this,l=this.callBase(),G=function(R){this._isEditable()?this._valueSubstituted()&&(this._preventFiltering=!0):this.option("showClearButton")&&(R.preventDefault(),this.reset()),this._savedTextRemoveEvent=R,this._preventSubstitution=!0},ye=function(){O.option("searchEnabled")&&O._valueSubstituted()&&O._searchHandler()};return(0,A.l)({},l,{tab:function(){this.option("opened")&&"instantly"===this.option("applyValueMode")&&this._resetCaretPosition(!0),l.tab&&l.tab.apply(this,arguments),this._cancelSearchIfNeed()},upArrow:function(R){if(l.upArrow&&l.upArrow.apply(this,arguments))return this.option("opened")||this._setNextValue(R),!0},downArrow:function(R){if(l.downArrow&&l.downArrow.apply(this,arguments))return this.option("opened")||this._setNextValue(R),!0},leftArrow:function(){ye(),l.leftArrow&&l.leftArrow.apply(this,arguments)},rightArrow:function(){ye(),l.rightArrow&&l.rightArrow.apply(this,arguments)},home:function(){ye(),l.home&&l.home.apply(this,arguments)},end:function(){ye(),l.end&&l.end.apply(this,arguments)},escape:function(){var R=l.escape&&l.escape.apply(this,arguments);return this._cancelEditing(),R??!0},enter:function(R){var p=this.option("opened"),y=this._input().val().trim(),se=y&&this._list&&!this._list.option("focusedElement");
1if(!y&&(0,ie.$K)(this.option("value"))&&this.option("allowClearing"))this._saveValueChangeEvent(R),this.option({selectedItem:null,value:null}),this.close();else{if(this.option("acceptCustomValue"))return R.preventDefault(),se&&(p&&this._toggleOpenState(),this._valueChangeEventHandler(R)),p;if(l.enter&&l.enter.apply(this,arguments))return p}},space:function(R){var p=this.option("opened"),y=this.option("searchEnabled"),se=this.option("acceptCustomValue");if(p&&!y&&!se)return R.preventDefault(),this._valueChangeEventHandler(R),!0},backspace:G,del:G})},_getDefaultOptions:function(){return(0,A.l)(this.callBase(),{placeholder:T.Z.format("Select"),fieldTemplate:null,customItemCreateEvent:"change",valueChangeEvent:"change",acceptCustomValue:!1,onCustomItemCreating:function(O){(0,ie.$K)(O.customItem)||(O.customItem=O.text)},showSelectionControls:!1,allowClearing:!0,tooltipEnabled:!1,openOnFieldClick:!0,showDropDownButton:!0,displayCustomValue:!1,useHiddenSubmitElement:!0})},_init:function(){this.callBase(),this._initCustomItemCreatingAction()},_initMarkup:function(){this.$element().addClass("dx-selectbox"),this._renderTooltip(),this.callBase(),this._$container.addClass("dx-selectbox-container")},_createPopup:function(){this.callBase(),this._popup.$element().addClass("dx-selectbox-popup"),this._popup.$overlayContent().attr("tabindex",-1)},_popupWrapperClass:function(){return this.callBase()+" "+z},_setDeprecatedOptions(){this.callBase(),(0,A.l)(this._deprecatedOptions,{valueChangeEvent:{since:"22.2",alias:"customItemCreateEvent"}})},_cancelEditing:function(){!this.option("searchEnabled")&&this._list&&(this._focusListElement(null),this._updateField(this.option("selectedItem")))},_renderOpenedState:function(){this.callBase(),this.option("opened")&&(this._scrollToSelectedItem(),this._focusSelectedElement())},_focusSelectedElement:function(){var O;if(this._searchValue()){var{items:G,selectedItem:ye}=this.option(),R=this._list._itemElements(),p=null!==(O=G?.indexOf(ye))&&void 0!==O?O:-1,y=-1===p||this._isCustomItemSelected()?null:R.eq(p);this._focusListElement(y)}else this._focusListElement(null)},_renderFocusedElement:function(){if(this._list){if(!this._searchValue()||this.option("acceptCustomValue"))return void this._focusListElement(null);var G=this._list._itemElements().not(".dx-state-disabled").eq(0);this._focusListElement(G)}},_focusListElement:function(O){this._preventInputValueRender=!0,this._list.option("focusedElement",(0,W.u)(O)),delete this._preventInputValueRender},_scrollToSelectedItem:function(){this._list&&this._list.scrollToItem(this._list.option("selectedItem"))},_listContentReadyHandler:function(){this.callBase(),this._dataController.paginate()&&this._needPopupRepaint()||this._scrollToSelectedItem()},_renderValue:function(){return this._renderInputValue(),this._setSubmitValue(),(new K.BH).resolve()},_renderInputValue:function(){return this.callBase().always(function(){this._renderInputValueAsync()}.bind(this))},_renderInputValueAsync:function(){this._renderTooltip(),this._renderInputValueImpl().always(function(){this._refreshSelected()}.bind(this))},_renderInputValueImpl:function(){return this._renderField(),(new K.BH).resolve()},_setNextItem:function(O){var l=this._calcNextItem(O),G=this._valueGetter(l);this._setValue(G)},_setNextValue:function(O){(this._dataController.isLoaded()?(new K.BH).resolve():this._dataController.load()).done(function(){var G=this._getSelectedIndex(),ye=this._dataController.pageSize(),R=this._dataController.isLastPage(),p=G===this._items().length-1;this._saveValueChangeEvent(O);var y="downArrow"===(0,g.EV)(O)?1:-1;ye&&!R&&p&&y>0?(this._popup||this._createPopup(),this._dataController.isLoading()||this._list._loadNextPage().done(this._setNextItem.bind(this,y))):this._setNextItem(y)}.bind(this))},_setSelectedItem:function(O){var l=!this._isCustomValueAllowed()&&void 0===O;this.callBase(l?null:O),!l&&(!this._isEditable()||this._isCustomItemSelected())&&this._setListOption("selectedItem",this.option("selectedItem"))},_isCustomValueAllowed:function(){return this.option("acceptCustomValue")||this.callBase()},_displayValue:function(O){return O=!(0,ie.$K)(O)&&this._isCustomValueAllowed()?this.option("value"):O,this.callBase(O)},_listConfig:function(){var O=(0,A.l)(this.callBase(),{pageLoadMode:"scrollBottom",onSelectionChanged:this._getSelectionChangeHandler(),selectedItem:this.option("selectedItem"),onFocusedItemChanged:this._listFocusedItemChangeHandler.bind(this)});return this.option("showSelectionControls")&&(0,A.l)(O,{showSelectionControls:!0,selectionByClick:!0}),O},_listFocusedItemChangeHandler:function(O){if(!this._preventInputValueRender){var l=O.component,G=(0,n.Z)(l.option("focusedElement")),ye=l._getItemData(G);this._updateField(ye)}},_updateField:function(O){if(!this._getTemplateByOption("fieldTemplate")||!this.option("fieldTemplate")){var G=this._displayGetter(O);return this.option("text",G),void this._renderDisplayText(G)}this._renderField()},_getSelectionChangeHandler:function(){return this.option("showSelectionControls")?this._selectionChangeHandler.bind(this):i.ZT},_selectionChangeHandler:function(O){(0,x.S6)(O.addedItems||[],function(l,G){this._setValue(this._valueGetter(G))}.bind(this))},_getActualSearchValue:function(){return this._dataController.searchValue()},_toggleOpenState:function(O){if(!this.option("disabled")){if(!(O=arguments.length?O:!this.option("opened"))&&!this._shouldClearFilter()&&this._restoreInputText(!0),this._wasSearch()&&O)if(this._wasSearch(!1),(this.option("showDataBeforeSearch")||this._isMinSearchLengthExceeded())&&this._dataController.getDataSource()){if(this._searchTimer)return;var G=this._getActualSearchValue();G&&this._wasSearch(!0),this._filterDataSource(G||null)}else this._setListOption("items",[]);O&&this._scrollToSelectedItem(),this.callBase(O)}},_renderTooltip:function(){this.option("tooltipEnabled")&&this.$element().attr("title",this.option("displayValue"))},_renderDimensions:function(){this.callBase(),this._updatePopupWidth(),this._updateListDimensions()},_isValueEqualInputText:function(){var O=this.option("selectedItem");if(null===O)return!1;var l=this._displayGetter(O);return(l?String(l):"")===this._searchValue()},_popupHidingHandler:function(){this._isValueEqualInputText()&&this._cancelEditing(),this.callBase()},_popupHiddenHandler:function(){this.callBase(),this._shouldCancelSearch()&&(this._wasSearch(!1),this._searchCanceled(),this._shouldCancelSearch(!1))},_restoreInputText:function(O){this.option("readOnly")||this._loadItemDeferred&&this._loadItemDeferred.always(function(){var{acceptCustomValue:l,text:G,selectedItem:ye}=this.option();l?!O&&!this._isValueChanging&&(this._updateField(ye??this._createCustomItem(G)),this._clearFilter()):this.option("searchEnabled")&&!this._searchValue()&&this.option("allowClearing")?this._clearTextValue():this._isValueEqualInputText()||this._renderInputValue().always(function(R){var p=(0,i.IS)(R,ye);this._setSelectedItem(p),this._updateField(p),this._clearFilter()}.bind(this))}.bind(this))},_valueChangeEventIncludesBlur:function(){return this.option(this._getValueChangeEventOptionName()).includes("blur")},_isPreventedFocusOutEvent:function(O){return this._preventNestedFocusEvent(O)||this._valueChangeEventIncludesBlur()},_focusOutHandler:function(O){this._isPreventedFocusOutEvent(O)||(this._isOverlayNestedTarget(O.relatedTarget)||(this._restoreInputText(),this._clearSearchTimer()),this._cancelSearchIfNeed(O)),O.target=this._input().get(0),this.callBase(O)},_cancelSearchIfNeed:function(O){var{searchEnabled:l}=this.option(),G=this._isOverlayNestedTarget(O?.relatedTarget);if(this._wasSearch()&&l&&!G){var R,p=null===(R=this._popup)||void 0===R?void 0:R._hideAnimationProcessing;this._clearSearchTimer(),p?this._shouldCancelSearch(!0):(this._wasSearch(!1),this._searchCanceled())}},_shouldCancelSearch:function(O){if(!arguments.length)return this._shouldCancelSearchValue;this._shouldCancelSearchValue=O},_isOverlayNestedTarget:function(O){return!!(0,n.Z)(O).closest(".".concat(z)).length},_clearTextValue:function(){var O=this.option("selectedItem"),l=this._displayGetter(O);O&&""!==l&&(this._savedTextRemoveEvent&&this._saveValueChangeEvent(this._savedTextRemoveEvent),this.option("value",null)),delete this._savedTextRemoveEvent},_shouldOpenPopup:function(){return this._needPassDataSourceToList()&&this._wasSearch()}
1,_isFocused:function(){var O=H.Z.getActiveElement(this.element());return this.callBase()&&(0,n.Z)(O).closest(this._input()).length>0},_getValueChangeEventOptionName:function(){return"customItemCreateEvent"},_renderValueChangeEvent:function(){this._isEditable()&&this.callBase()},_fieldRenderData:function(){var O=this._list&&this.option("opened")&&(0,n.Z)(this._list.option("focusedElement"));return O&&O.length?this._list._getItemData(O):this.option("selectedItem")},_isSelectedValue:function(O){return this._isValueEquals(O,this.option("value"))},_shouldCloseOnItemClick:function(){return!(this.option("showSelectionControls")&&"single"!==this.option("selectionMode"))},_listItemClickHandler:function(O){var l=this._getCurrentValue();this._focusListElement((0,n.Z)(O.itemElement)),this._saveValueChangeEvent(O.event),this._completeSelection(this._valueGetter(O.itemData)),this._shouldCloseOnItemClick()&&this.option("opened",!1),this.option("searchEnabled")&&l===this._valueGetter(O.itemData)&&this._updateField(O.itemData),this._shouldClearFilter()&&this._cancelSearchIfNeed()},_shouldClearFilter:function(){return this._wasSearch()},_completeSelection:function(O){this._setValue(O)},_loadItem:function(O,l){var G=this,ye=new K.BH;return this.callBase(O,l).done(function(R){ye.resolve(R)}.bind(this)).fail(function(R){if(null==R||!R.shouldSkipCallback){var p=G.option("selectedItem");G.option("acceptCustomValue")&&O===G._valueGetter(p)?ye.resolve(p):ye.reject()}}.bind(this)),ye.promise()},_loadInputValue:function(O,l){return this._loadItemDeferred=this._loadItem(O).always(l),this._loadItemDeferred},_isCustomItemSelected:function(){var O=this.option("selectedItem"),l=this._searchValue(),G=this._displayGetter(O);return!G||l!==G.toString()},_valueChangeEventHandler:function(O){this.option("acceptCustomValue")&&this._isCustomItemSelected()&&!this._isValueChanging&&(this._isValueChanging=!0,this._customItemAddedHandler(O))},_initCustomItemCreatingAction:function(){this._customItemCreatingAction=this._createActionByOption("onCustomItemCreating")},_createCustomItem:function(O){var l={text:O},G=this._customItemCreatingAction(l),ye=(0,i.IS)(G,l.customItem);return(0,ie.$K)(G)&&I.Z.log("W0015","onCustomItemCreating","customItem"),ye},_customItemAddedHandler:function(O){var l=this._searchValue(),G=this._createCustomItem(l);if(this._saveValueChangeEvent(O),void 0===G)throw this._renderValue(),I.Z.Error("E0121");(0,ie.tI)(G)?(0,K.p4)(G).done(this._setCustomItem.bind(this)).fail(this._setCustomItem.bind(this,null)):this._setCustomItem(G)},_setCustomItem:function(O){this._disposed||(this.option("selectedItem",O=O||null),this._cancelSearchIfNeed(),this._setValue(this._valueGetter(O)),this._renderDisplayText(this._displayGetter(O)),this._isValueChanging=!1)},_clearValueHandler:function(O){return this._preventFiltering=!0,this.callBase(O),this._searchCanceled(),!1},_wasSearch:function(O){if(!arguments.length)return!!this._wasSearchValue;this._wasSearchValue=O},_searchHandler:function(){this._preventFiltering?delete this._preventFiltering:(this._needPassDataSourceToList()&&this._wasSearch(!0),this.callBase(arguments))},_dataSourceFiltered:function(O){this.callBase(),null!==O&&(this._renderInputSubstitution(),this._renderFocusedElement())},_valueSubstituted:function(){var O=this._input().get(0),l=this._searchValue().length,G=0===O.selectionStart&&O.selectionEnd===l,ye=O.selectionStart!==O.selectionEnd,R=l===O.selectionEnd;return this._wasSearch()&&ye&&!G&&R&&this._shouldSubstitutionBeRendered()},_shouldSubstitutionBeRendered:function(){return!this._preventSubstitution&&this.option("searchEnabled")&&!this.option("acceptCustomValue")&&"startswith"===this.option("searchMode")},_renderInputSubstitution:function(){if(this._shouldSubstitutionBeRendered()){var O=this._list&&this._getPlainItems(this._list.option("items"))[0];if(O){var l=this._input(),G=l.val().length;if(0!==G){var ye=l.get(0),R=this._displayGetter(O).toString();ye.value=R,this._caret({start:G,end:R.length})}}}else delete this._preventSubstitution},_dispose:function(){this._renderInputValueAsync=i.ZT,delete this._loadItemDeferred,this.callBase()},_optionChanged:function(O){switch(O.name){case"customItemCreateEvent":this._refreshValueChangeEvent(),this._refreshFocusEvent(),this._refreshEvents();break;case"onCustomItemCreating":this._initCustomItemCreatingAction();break;case"tooltipEnabled":this._renderTooltip();break;case"displayCustomValue":case"acceptCustomValue":case"showSelectionControls":this._invalidate();break;case"allowClearing":break;default:this.callBase(O)}}});(0,u.Z)("dxSelectBox",le);const Oe=le},98166:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ie});var n=a(64596);const ie={_getSpecificDataSourceOption:function(){var A=this.option("dataSource"),x=!1,K={};return this._getGroupedOption()&&(A=>Array.isArray(A)&&A.every(x=>2===Object.keys(x).length&&"key"in x&&"items"in x&&Array.isArray(x.items)))(A)&&(K=A.reduce((W,I)=>{var H=I.items.map(T=>((0,n.Kn)(T)||(T={text:T},x=!0),"key"in T||(T.key=I.key),T));return W.concat(H)},[]),A={store:{type:"array",data:K},group:{selector:"key",keepInitialKeyOrder:!0}},x&&(A.searchExpr="text")),A}}},6536:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Y});var n=a(83520),i=a(34500),ie=a(83684),A=a(67771),x=a(33871),K=a(16129),W=a(21374),I=(0,i.Jj)(),H=["backspace","tab","enter","pageUp","pageDown","end","home","leftArrow","rightArrow","downArrow","upArrow","del"],u="dx-searchbox",q=x.Z.inherit({ctor:function(S,c){c&&(this._showClearButton=c.showClearButton),this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return(0,ie.l)(this.callBase(),{value:"",mode:"text",maxLength:null})},_initMarkup:function(){this.$element().addClass("dx-textbox"),this.callBase(),this.setAria("role","textbox")},_renderInputType:function(){this.callBase(),this._renderSearchMode()},_useTemplates:function(){return!1},_renderProps:function(){this.callBase(),this._toggleMaxLengthProp()},_toggleMaxLengthProp:function(){var S=this._getMaxLength();S&&S>0?this._input().attr("maxLength",S):this._input().removeAttr("maxLength")},_renderSearchMode:function(){var S=this._$element;"search"===this.option("mode")?(S.addClass(u),this._renderSearchIcon(),void 0===this._showClearButton&&(this._showClearButton=this.option("showClearButton"),this.option("showClearButton",!0))):(S.removeClass(u),this._$searchIcon&&this._$searchIcon.remove(),this.option("showClearButton",void 0===this._showClearButton?this.option("showClearButton"):this._showClearButton),delete this._showClearButton)},_renderSearchIcon:function(){var S=(0,n.Z)("<div>").addClass("dx-icon").addClass("dx-icon-search");S.prependTo(this._input().parent()),this._$searchIcon=S},_getLabelContainerWidth:function(){if(this._$searchIcon){var S=this._input().parent();return(0,W.dz)(S)-this._getLabelBeforeWidth()}return this.callBase()},_getLabelBeforeWidth:function(){var S=this.callBase();return this._$searchIcon&&(S+=(0,W.Y_)(this._$searchIcon)),S},_optionChanged:function(S){switch(S.name){case"maxLength":this._toggleMaxLengthProp();break;case"mode":this.callBase(S),this._updateLabelWidth();break;case"mask":this.callBase(S),this._toggleMaxLengthProp();break;default:this.callBase(S)}},_onKeyDownCutOffHandler:function(S){var c=this._getMaxLength();if(!c||S.ctrlKey||this._hasSelection())return!0;var g=(0,n.Z)(S.target),b=(0,K.EV)(S);return this._cutOffExtraChar(g),g.val().length<c||H.includes(b)||""!==I.getSelection().toString()},_onChangeCutOffHandler:function(S){var c=(0,n.Z)(S.target);this.option("maxLength")&&this._cutOffExtraChar(c)},_cutOffExtraChar:function(S){var c=this._getMaxLength(),g=S.val();c&&g.length>c&&S.val(g.substr(0,c))},_getMaxLength:function(){return this.option("mask")?null:this.option("maxLength")}});(0,A.Z)("dxTextBox",q);const Y=q},91799:(Je,Ae,a)=>{a.d(Ae,{Z:()=>i});var n=a(83520);class i{constructor(A,x,K){this.instance=null,this.$container=null,this.$placeMarker=null,this.editor=x,this.name=A,this.options=K||{}}_addPlaceMarker(A){this.$placeMarker=(0,n.Z)("<div>").appendTo(A)}_addToContainer(A){var{$placeMarker:x,$container:K}=this;x?x.replaceWith(A):A.appendTo(K)}_attachEvents(){throw"Not implemented"}_create(){throw"Not implemented"}_isRendered(){return!!this.instance}_isVisible(){var{editor:A,options:x}=this;return x.visible||!A.option("readOnly")}_isDisabled(){throw"Not implemented"}_shouldRender(){return this._isVisible()&&!this._isRendered()}dispose(){var{instance:A,$placeMarker:x}=this;A&&(A.dispose?A.dispose():A.remove(),this.instance=null),x&&x.remove()}render(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$container;if(this.$container=A,this._isVisible()){var{instance:x,$element:K}=this._create();this.instance=x,this._attachEvents(x,K)}else this._addPlaceMarker(A)}update(){return this._shouldRender()&&this.render(),!!this.instance}}},33871:(Je,Ae,a)=>{a.d(Ae,{Z:()=>Xt});var n=a(67771),i=a(83520),ie=a(64596),A=a(13921),x=a(68082),{ios:K,mac:W}=A.Z.real(),I=K||W,H=function(he){var Ee;try{Ee={start:he.selectionStart,end:he.selectionEnd}}catch{Ee={start:0,end:0}}return Ee},T=function(he,Ee){var Ve=x.Z.getBody();if(Ve.contains(he)||Ve.contains(he.getRootNode().host))try{he.selectionStart=Ee.start,he.selectionEnd=Ee.end}catch{}};const d=function(he,Ee){var Ve=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(he=(0,i.Z)(he).get(0),!(0,ie.$K)(Ee))return H(he);!Ve&&I&&x.Z.getActiveElement(he)!==he||T(he,Ee)};var F=a(30805);var Y=a(91553),S=a(16129),c=a(24705),g=a(83684),b=a(48360),ue=a(40911),N=a(56836),Z=a(83
1626),V=a(51144),ne=a(24245),h=" ",E=ne.Z.inherit({ctor:function(he){this._value=h,(0,g.l)(this,he)},next:function(he){if(!arguments.length)return this._next;this._next=he},text:N.ZT,value:N.ZT,rawValue:N.ZT,handle:N.ZT,_prepareHandlingArgs:function(he,Ee){var Ve,qe,dt;Ee=Ee||{};var pt=Object.prototype.hasOwnProperty.call(he,"value")?"value":"text";return he[pt]=null!==(Ve=Ee.str)&&void 0!==Ve?Ve:he[pt],he.start=null!==(qe=Ee.start)&&void 0!==qe?qe:he.start,he.length=null!==(dt=Ee.length)&&void 0!==dt?dt:he.length,he.index=he.index+1,he},reset:N.ZT,clear:N.ZT,first:function(he){return he=he||0,this.next().first(he+1)},isAccepted:function(){return!1},adjustedCaret:function(he,Ee,Ve){return Ee?this._adjustedForward(he,0,Ve):this._adjustedBackward(he,0,Ve)},_adjustedForward:N.ZT,_adjustedBackward:N.ZT,isValid:N.ZT}),L=E.inherit({next:N.ZT,handle:function(){return 0},text:function(){return""},value:function(){return""},first:function(){return 0},rawValue:function(){return""},adjustedCaret:function(){return 0},isValid:function(){return!0}}),M=E.inherit({text:function(){return(this._value!==h?this._value:this.maskChar)+this.next().text()},value:function(){return this._value+this.next().value()},rawValue:function(){return this._value+this.next().rawValue()},handle:function(he){var Ee=Object.prototype.hasOwnProperty.call(he,"value")?he.value:he.text;if(!Ee||!Ee.length||!he.length)return 0;if(he.start)return this.next().handle(this._prepareHandlingArgs(he,{start:he.start-1}));var Ve=Ee[0],qe=Ee.substring(1);return this._tryAcceptChar(Ve,he),this._accepted()?this.next().handle(this._prepareHandlingArgs(he,{str:qe,length:he.length-1}))+1:this.handle(this._prepareHandlingArgs(he,{str:qe,length:he.length-1}))},clear:function(he){this._tryAcceptChar(h,he),this.next().clear(this._prepareHandlingArgs(he))},reset:function(){this._accepted(!1),this.next().reset()},_tryAcceptChar:function(he,Ee){if(this._accepted(!1),this._isAllowed(he,Ee)){var Ve=he===h?this.maskChar:he;Ee.fullText=Ee.fullText.substring(0,Ee.index)+Ve+Ee.fullText.substring(Ee.index+1),this._accepted(!0),this._value=he}},_accepted:function(he){if(!arguments.length)return!!this._isAccepted;this._isAccepted=!!he},first:function(he){return this._value===h?he||0:this.callBase(he)},_isAllowed:function(he,Ee){return he===h||this._isValid(he,Ee)},_isValid:function(he,Ee){var Ve=this.allowedChars;return Ve instanceof RegExp?Ve.test(he):(0,ie.mf)(Ve)?Ve(he,Ee.index,Ee.fullText):Array.isArray(Ve)?Ve.includes(he):Ve===he},isAccepted:function(he){return 0===he?this._accepted():this.next().isAccepted(he-1)},_adjustedForward:function(he,Ee,Ve){return Ee>=he?Ee:this.next()._adjustedForward(he,Ee+1,Ve)||Ee+1},_adjustedBackward:function(he,Ee){return Ee>=he-1?he:this.next()._adjustedBackward(he,Ee+1)||Ee+1},isValid:function(he){return this._isValid(this._value,he)&&this.next().isValid(this._prepareHandlingArgs(he))}}),w=M.inherit({value:function(){return this.next().value()},handle:function(he){var Ee=Object.prototype.hasOwnProperty.call(he,"value"),Ve=Ee?he.value:he.text;if(!Ve.length||!he.length)return 0;if(he.start||Ee)return this.next().handle(this._prepareHandlingArgs(he,{start:he.start&&he.start-1}));var qe=Ve[0],dt=Ve.substring(1);this._tryAcceptChar(qe);var pt=this._isAllowed(qe)?this._prepareHandlingArgs(he,{str:dt,length:he.length-1}):he;return this.next().handle(pt)+1},clear:function(he){this._accepted(!1),this.next().clear(this._prepareHandlingArgs(he))},_tryAcceptChar:function(he){this._accepted(this._isValid(he))},_isValid:function(he){return he===this.maskChar},first:function(he){return he=he||0,this.next().first(he+1)},_adjustedForward:function(he,Ee,Ve){return Ee>=he&&Ve===this.maskChar?Ee:he===Ee+1&&this._accepted()?he:this.next()._adjustedForward(he,Ee+1,Ve)},_adjustedBackward:function(he,Ee){return Ee>=he-1?0:this.next()._adjustedBackward(he,Ee+1)},isValid:function(he){return this.next().isValid(this._prepareHandlingArgs(he))}}),Q=a(28961),ae=a(12598),ce=a(45390),Me=a(91799),pe=a(1037),Se=ce.Z.down;class O extends Me.Z{_create(){var Ee=(0,i.Z)("<span>").addClass("dx-clear-button-area").append((0,i.Z)("<span>").addClass("dx-icon").addClass("dx-icon-clear"));return this._addToContainer(Ee),this.update(!0),{instance:Ee,$element:Ee}}_isVisible(){var{editor:Ee}=this;return Ee._isClearButtonVisible()}_attachEvents(Ee,Ve){var{editor:qe}=this,dt=qe.NAME;c.Z.on(Ve,(0,S.V4)(Se,dt),pt=>{pt.preventDefault(),"mouse"!==pt.pointerType&&qe._clearValueHandler(pt)}),c.Z.on(Ve,(0,S.V4)(pe.u,dt),pt=>qe._clearValueHandler(pt))}_legacyRender(Ee,Ve){Ee.toggleClass("dx-show-clear-button",Ve)}update(){!(arguments.length>
10&&void 0!==arguments[0]&&arguments[0])&&super.update();var{editor:Ve,instance:qe}=this,dt=Ve.$element(),pt=this._isVisible();qe&&qe.toggleClass("dx-state-invisible",!pt),this._legacyRender(dt,pt)}}var l=a(73946),G=a(20920),ye="dx-custom-button-hovered";class R extends Me.Z{_attachEvents(Ee,Ve){var{editor:qe}=this;c.Z.on(Ve,G.B,()=>{qe.$element().addClass(ye)}),c.Z.on(Ve,G.u,()=>{qe.$element().removeClass(ye)}),c.Z.on(Ve,pe.u,dt=>{dt.stopPropagation()})}_create(){var{editor:Ee}=this,Ve=(0,i.Z)("<div>");return this._addToContainer(Ve),{$element:Ve,instance:Ee._createComponent(Ve,l.Z,(0,g.l)({},this.options,{ignoreParentReadOnly:!0,disabled:this._isDisabled(),integrationOptions:this._prepareIntegrationOptions(Ee)}))}}_prepareIntegrationOptions(Ee){return(0,g.l)({},Ee.option("integrationOptions"),{skipTemplates:["content"]})}update(){var Ee=super.update();return this.instance&&this.instance.option("disabled",this._isDisabled()),Ee}_isVisible(){var{editor:Ee}=this;return Ee.option("visible")}_isDisabled(){return void 0!==this.options.disabled?this.instance?this.instance.option("disabled"):this.options.disabled:this.editor.option("readOnly")}}var p=a(6795);function De(he,Ee){if(-1!==he.indexOf(Ee))throw p.Z.Error("E1055",Ee);he.push(Ee)}class ke{constructor(Ee,Ve){this.buttons=[],this.defaultButtonsInfo=Ve,this.editor=Ee}_compileButtonInfo(Ee){var Ve=[];return Ee.map(qe=>{var dt="string"==typeof qe;dt||function se(he){(()=>{if(!he||"object"!=typeof he||Array.isArray(he))throw p.Z.Error("E1053")})(),(()=>{if(!("name"in he))throw p.Z.Error("E1054")})(),(()=>{var{name:Ee}=he;if("string"!=typeof Ee)throw p.Z.Error("E1055")})(),(()=>{var{location:Ee}=he;"location"in he&&"after"!==Ee&&"before"!==Ee&&(he.location="after")})()}(qe);var pt=dt||function ge(he,Ee){return!!Ee.find(Ve=>Ve.name===he)}(qe.name,this.defaultButtonsInfo);if(pt){var bt=this.defaultButtonsInfo.find(Qt=>{var{name:Ut}=Qt;return Ut===qe||Ut===qe.name});if(!bt)throw p.Z.Error("E1056",this.editor.NAME,qe);return De(Ve,qe),bt}var{name:It}=qe;return De(Ve,It),(0,g.l)(qe,{Ctor:R})})}_createButton(Ee){var{Ctor:Ve,options:qe,name:dt}=Ee,pt=new Ve(dt,this.editor,qe);return this.buttons.push(pt),pt}_renderButtons(Ee,Ve,qe){var dt=null;return(Ee?this._compileButtonInfo(Ee):this.defaultButtonsInfo).forEach(bt=>{var{location:It="after"}=bt;It===qe&&this._createButton(bt).render((dt=dt||(0,i.Z)("<div>").addClass("dx-texteditor-buttons-container"),"before"===qe?Ve.prepend(dt):Ve.append(dt),dt))}),dt}clean(){this.buttons.forEach(Ee=>Ee.dispose()),this.buttons=[]}getButton(Ee){var Ve=this.buttons.find(qe=>{var{name:dt}=qe;return dt===Ee});return Ve&&Ve.instance}renderAfterButtons(Ee,Ve){return this._renderButtons(Ee,Ve,"after")}renderBeforeButtons(Ee,Ve){return this._renderButtons(Ee,Ve,"before")}updateButtons(Ee){this.buttons.forEach(Ve=>{(!Ee||-1!==Ee.indexOf(Ve.name))&&Ve.update()})}}var Ne=a(12429),Ge=a(80316),tt=a(4046),xe=a(41760),Pe="dx-texteditor-label",fe="dx-texteditor-with-label",He="dx-texteditor-with-floating-label",je="dx-texteditor-with-before-buttons",et=a(21374),k=a(66896),Te="dx-texteditor-input",Fe="."+Te,we="dx-placeholder",m="dx-validation-pending",ve=["KeyDown","KeyPress","KeyUp","Change","Cut","Copy","Paste","Input"],Be=["tab","enter","shift","control","alt","escape","pageUp","pageDown","end","home","leftArrow","upArrow","rightArrow","downArrow"];function X(he){if((0,ie.$K)(he)&&!Array.isArray(he))throw p.Z.Error("E1053")}const re=ae.Z.inherit({ctor:function(he,Ee){Ee&&X(Ee.buttons),this._buttonCollection=new ke(this,this._getDefaultButtons()),this._$beforeButtonsContainer=null,this._$afterButtonsContainer=null,this._labelContainerElement=null,this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return(0,g.l)(this.callBase(),{buttons:void 0,value:"",spellcheck:!1,showClearButton:!1,valueChangeEvent:"change",placeholder:"",inputAttr:{},onFocusIn:null,onFocusOut:null,onKeyDown:null,onKeyUp:null,onChange:null,onInput:null,onCut:null,onCopy:null,onPaste:null,onEnterKey:null,mode:"text",hoverStateEnabled:!0,focusStateEnabled:!0,text:void 0,displayValueFormatter:function(he){return(0,ie.$K)(he)&&!1!==he?he:""},stylingMode:(0,Ne.Z)().editorStylingMode||"outlined",showValidationMark:!0,label:"",labelMode:"static",labelMark:""})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var he=(0,Q.Vk)();return(0,Q.x2)(he)},options:{stylingMode:(0,Ne.Z)().editorStylingMode||"filled",labelMode:"floating"}}])},_getDefaultButtons:function(){return[{name:"clear",Ctor:O}]},_isClearButtonVisible:function(){return this.option("showClearButton")&&!this.option("readOnly")},_input:function(){return this.$element().find(Fe).first()},_isFocused:function(){return(0,b.si)(this._input())||this.callBase()},_inputWrapper:function(){return this.$element()},_buttonsContainer:function(){return this._inputWrapper().find(".dx-texteditor-buttons-container").eq(0)},_isControlKey:function(he){return-1!==Be.indexOf(he)},_renderStylingMode:function(){this.callBase(),this._updateButtonsStyling(this.option("stylingMode"))},_initMarkup:function(){this.$element().addClass("dx-texteditor"),this._renderInput(),this._renderStylingMode(),this._renderInputType(),this._renderPlaceholder(),this._renderProps(),this.callBase(),this._renderValue(),this._renderLabel()},_render:function(){this.callBase(),this._refreshValueChangeEvent(),this._renderEvents(),this._renderEnterKeyAction(),this._renderEmptinessEvent()},_renderInput:function(){this._$buttonsContainer=this._$textEditorContainer=(0,i.Z)("<div>").addClass("dx-texteditor-container").appendTo(this.$element()),this._$textEditorInputContainer=(0,i.Z)("<div>").addClass("dx-texteditor-input-container").appendTo(this._$textEditorContainer),this._$textEditorInputContainer.append(this._createInput()),this._renderButtonContainers()},_getInputContainer(){return this._$textEditorInputContainer},_renderPendingIndicator:function(){this.$element().addClass(m);var he=this._getInputContainer(),Ee=(0,i.Z)("<div>").addClass("dx-pending-indicator").appendTo(he);this._pendingIndicator=this._createComponent(Ee,tt.Z)},_disposePendingIndicator:function(){this._pendingIndicator&&(this._pe
1ndingIndicator.dispose(),this._pendingIndicator.$element().remove(),this._pendingIndicator=null,this.$element().removeClass(m))},_renderValidationState:function(){this.callBase();var he="pending"===this.option("validationStatus"),Ee=this.$element();he?(!this._pendingIndicator&&this._renderPendingIndicator(),this._showValidMark=!1):("invalid"===this.option("validationStatus")&&(this._showValidMark=!1),!this._showValidMark&&!0===this.option("showValidationMark")&&(this._showValidMark="valid"===this.option("validationStatus")&&!!this._pendingIndicator),this._disposePendingIndicator()),Ee.toggleClass("dx-valid",!!this._showValidMark)},_renderButtonContainers:function(){var he=this.option("buttons");this._$beforeButtonsContainer=this._buttonCollection.renderBeforeButtons(he,this._$buttonsContainer),this._$afterButtonsContainer=this._buttonCollection.renderAfterButtons(he,this._$buttonsContainer)},_cleanButtonContainers:function(){var he,Ee;null===(he=this._$beforeButtonsContainer)||void 0===he||he.remove(),null===(Ee=this._$afterButtonsContainer)||void 0===Ee||Ee.remove(),this._buttonCollection.clean()},_clean(){this._buttonCollection.clean(),this._disposePendingIndicator(),this._unobserveLabelContainerResize(),this._$beforeButtonsContainer=null,this._$afterButtonsContainer=null,this._$textEditorContainer=null,this._$buttonsContainer=null,this.callBase()},_createInput:function(){var he=(0,i.Z)("<input>");return this._applyInputAttributes(he,this.option("inputAttr")),he},_setSubmitElementName:function(he){var Ee=this.option("inputAttr.name");return this.callBase(he||Ee||"")},_applyInputAttributes:function(he,Ee){var Ve=(0,g.l)(this._getDefaultAttributes(),Ee);he.attr(Ve).addClass(Te),this._setInputMinHeight(he)},_setInputMinHeight:function(he){he.css("minHeight",this.option("height")?"0":"")},_getDefaultAttributes:function(){var he={autocomplete:"off"},{ios:Ee,mac:Ve}=A.Z.real();return(Ee||Ve)&&(he.placeholder=" "),he},_updateButtons:function(he){this._buttonCollection.updateButtons(he)},_updateButtonsStyling:function(he){(0,Y.S6)(this.option("buttons"),(Ee,Ve)=>{var{options:qe,name:dt}=Ve;if(qe&&!qe.stylingMode&&this.option("visible")){var pt=this.getButton(dt);pt.option&&pt.option("stylingMode","underlined"===he?"text":"contained")}})},_renderValue:function(){return this._renderInputValue().promise()},_renderInputValue:function(he){var Ee;he=null!==(Ee=he)&&void 0!==Ee?Ee:this.option("value");var Ve=this.option("text"),qe=this.option("displayValue"),dt=this.option("displayValueFormatter");return void 0!==qe&&null!==he?Ve=dt(qe):(0,ie.$K)(Ve)||(Ve=dt(he)),this.option("text",Ve),this._input().val()!==((0,ie.$K)(Ve)?Ve:"")?this._renderDisplayText(Ve):this._toggleEmptinessEventHandler(),(new Ge.BH).resolve()},_renderDisplayText:function(he){this._input().val(he),this._toggleEmptinessEventHandler()},_isValueValid:function(){if(this._input().length){var he=this._input().get(0).validity;if(he)return he.valid}return!0},_toggleEmptiness:function(he){this.$element().toggleClass("dx-texteditor-empty",he),this._togglePlaceholder(he)},_togglePlaceholder:function(he){this.$element().find(".".concat(we)).eq(0).toggleClass("dx-state-invisible",!he)},_renderProps:function(){this._toggleReadOnlyState(),this._toggleSpellcheckState(),this._toggleTabIndex()},_toggleDisabledState:function(he){this.callBase.apply(this,arguments),this._input().prop("disabled",he)},_toggleTabIndex:function(){var he=this._input(),Ee=this.option("disabled"),Ve=this.option("focusStateEnabled");Ee||!Ve?he.attr("tabIndex",-1):he.removeAttr("tabIndex")},_toggleReadOnlyState:function(){this._input().prop("readOnly",this._readOnlyPropValue()),this.callBase()},_readOnlyPropValue:function(){return this.option("readOnly")},_toggleSpellcheckState:function(){this._input().prop("spellcheck",this.option("spellcheck"))},_unobserveLabelContainerResize:function(){this._labelContainerElement&&(k.Z.unobserve(this._labelContainerElement),this._labelContainerElement=null)},_getLabelContainer:function(){return this._input()},_getLabelContainerWidth:function(){return(0,et.dz)(this._getLabelContainer())},_getLabelBeforeWidth:function(){return(this._$beforeButtonsContainer&&(0,et.dz)(this._$beforeButtonsContainer))??0},_updateLabelWidth:function(){this._label.updateBeforeWidth(this._getLabelBeforeWidth()),this._label.updateMaxWidth(this._getLabelContainerWidth())},_setLabelContainerAria:function(he){var Ee=this._label.getId()||void 0;(Ee||he)&&this.setAria("labelledby",Ee,this._getLabelContainer())},_renderLabel:function(){this._unobserveLabelContainerResize(),this._labelContainerElement=(0,i.Z)(this._getLabelContainer()).get(0);var{label:he,labelMode:Ee,labelMark:Ve}=this.option(),qe={$editor:this.$element(),text:he,mark:Ve,mode:Ee,containsButtonsBefore:!!this._$beforeButtonsContainer,getContainerWidth:()=>this._getLabelContainerWidth(),getBeforeWidth:()=>this._getLabelBeforeWidth()};this._label=new class me{constructor(Ee){this._props=Ee,this._id="".concat(Pe,"-").concat(new xe.Z),this._render(),this._toggleMarkupVisibility()}
1_isVisible(){return!!this._props.text&&"hidden"!==this._props.mode}_render(){this._$before=(0,i.Z)("<div>").addClass("dx-label-before"),this._$labelSpan=(0,i.Z)("<span>"),this._$label=(0,i.Z)("<div>").addClass("dx-label").append(this._$labelSpan),this._$after=(0,i.Z)("<div>").addClass("dx-label-after"),this._$root=(0,i.Z)("<div>").addClass(Pe).attr("id",this._id).append(this._$before).append(this._$label).append(this._$after),this._updateMark(),this._updateText(),this._updateBeforeWidth(),this._updateMaxWidth()}_toggleMarkupVisibility(){var Ee=this._isVisible();this._updateEditorBeforeButtonsClass(Ee),this._updateEditorLabelClass(Ee),Ee?this._$root.appendTo(this._props.$editor):this._$root.detach()}_updateEditorLabelClass(Ee){this._props.$editor.removeClass(He).removeClass(fe),Ee&&this._props.$editor.addClass("floating"===this._props.mode?He:fe)}_updateEditorBeforeButtonsClass(){var Ee=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible();this._props.$editor.removeClass(je),Ee&&this._props.$editor.addClass(this._props.containsButtonsBefore?je:"")}_updateMark(){this._$labelSpan.attr("data-mark",this._props.mark)}_updateText(){this._$labelSpan.text(this._props.text)}_updateBeforeWidth(){if(this._isVisible()){var Ee,Ve=null!==(Ee=this._props.beforeWidth)&&void 0!==Ee?Ee:this._props.getBeforeWidth();this._$before.css({width:Ve})}}_updateMaxWidth(){if(this._isVisible()){var Ee,Ve=null!==(Ee=this._props.containerWidth)&&void 0!==Ee?Ee:this._props.getContainerWidth();this._$label.css({maxWidth:Ve})}}$element(){return this._$root}isVisible(){return this._isVisible()}getId(){if(this._isVisible())return this._id}updateMode(Ee){this._props.mode=Ee,this._toggleMarkupVisibility(),this._updateBeforeWidth(),this._updateMaxWidth()}updateText(Ee){this._props.text=Ee,this._updateText(),this._toggleMarkupVisibility(),this._updateBeforeWidth(),this._updateMaxWidth()}updateMark(Ee){this._props.mark=Ee,this._updateMark()}updateContainsButtonsBefore(Ee){this._props.containsButtonsBefore=Ee,this._updateEditorBeforeButtonsClass()}updateBeforeWidth(Ee){this._props.beforeWidth=Ee,this._updateBeforeWidth()}updateMaxWidth(Ee){this._props.containerWidth=Ee,this._updateMaxWidth()}}(qe),this._setLabelContainerAria(),this._labelContainerElement&&k.Z.observe(this._labelContainerElement,this._updateLabelWidth.bind(this))},_renderPlaceholder:function(){this._renderPlaceholderMarkup(),this._attachPlaceholderEvents()},_renderPlaceholderMarkup:function(){this._$placeholder&&(this._$placeholder.remove(),this._$placeholder=null);var he=this._input(),Ee=this.option("placeholder"),Ve=this._$placeholder=(0,i.Z)("<div>").attr("data-dx_placeholder",Ee);Ve.insertAfter(he),Ve.addClass(we)},_attachPlaceholderEvents:function(){var he=(0,S.V4)(ce.Z.up,this.NAME);c.Z.on(this._$placeholder,he,()=>{c.Z.trigger(this._input(),"focus")}),this._toggleEmptinessEventHandler()},_placeholder:function(){return this._$placeholder||(0,i.Z)()},_clearValueHandler:function(he){var Ee=this._input();he.stopPropagation(),this._saveValueChangeEvent(he),this._clearValue(),!this._isFocused()&&c.Z.trigger(Ee,"focus"),c.Z.trigger(Ee,"input")},_clearValue:function(){this.reset()},_renderEvents:function(){var he=this._input();(0,Y.S6)(ve,(Ee,Ve)=>{if(this.hasActionSubscription("on"+Ve)){var qe=this._createActionByOption("on"+Ve,{excludeValidators:["readOnly"]});c.Z.on(he,(0,S.V4)(Ve.toLowerCase(),this.NAME),dt=>{this._disposed||qe({event:dt})})}})},_refreshEvents:function(){var he=this._input();(0,Y.S6)(ve,(Ee,Ve)=>{c.Z.off(he,(0,S.V4)(Ve.toLowerCase(),this.NAME))}),this._renderEvents()},_keyPressHandler:function(){this.option("text",this._input().val())},_keyDownHandler:function(he){var Ee=this._input(),Ve=he.ctrlKey&&"enter"===(0,S.EV)(he),qe=Ee.val()!==this.option("value");Ve&&qe&&c.Z.trigger(Ee,"change")},_getValueChangeEventOptionName:function(){return"valueChangeEvent"},_renderValueChangeEvent:function(){var he=(0,S.V4)(this._renderValueEventName(),"".concat(this.NAME,"TextChange")),Ee=(0,S.V4)(this.option(this._getValueChangeEventOptionName()),"".concat(this.NAME,"ValueChange")),Ve=(0,S.V4)("keydown","".concat(this.NAME,"TextChange")),qe=this._input();c.Z.on(qe,he,this._keyPressHandler.bind(this)),c.Z.on(qe,Ee,this._valueChangeEventHandler.bind(this)),c.Z.on(qe,Ve,this._keyDownHandler.bind(this))},_cleanValueChangeEvent:function(){var he=".".concat(this.NAME,"ValueChange"),Ee=".".concat(this.NAME,"TextChange");c.Z.off(this._input(),he),c.Z.off(this._input(),Ee)},_refreshValueChangeEvent:function(){this._cleanValueChangeEvent(),this._renderValueChangeEvent()},_renderValueEventName:function(){return"input change keypress"},_focusTarget:function(){return this._input()}
1,_focusEventTarget:function(){return this.element()},_isInput:function(he){return he===this._input().get(0)},_preventNestedFocusEvent:function(he){if(he.isDefaultPrevented())return!0;var Ee=this._isNestedTarget(he.relatedTarget);return"focusin"===he.type?Ee=Ee&&this._isNestedTarget(he.target)&&!this._isInput(he.target):Ee||this._toggleFocusClass(!1,this.$element()),Ee&&he.preventDefault(),Ee},_isNestedTarget:function(he){return!!this.$element().find(he).length},_focusClassTarget:function(){return this.$element()},_focusInHandler:function(he){this._preventNestedFocusEvent(he),this.callBase.apply(this,arguments)},_focusOutHandler:function(he){this._preventNestedFocusEvent(he),this.callBase.apply(this,arguments)},_toggleFocusClass:function(he,Ee){this.callBase(he,this._focusClassTarget(Ee))},_hasFocusClass:function(he){return this.callBase((0,i.Z)(he||this.$element()))},_renderEmptinessEvent:function(){var he=this._input();c.Z.on(he,"input blur",this._toggleEmptinessEventHandler.bind(this))},_toggleEmptinessEventHandler:function(){var he=this._input().val(),Ee=(""===he||null===he)&&this._isValueValid();this._toggleEmptiness(Ee)},_valueChangeEventHandler:function(he,Ee){this.option("readOnly")||(this._saveValueChangeEvent(he),this.option("value",arguments.length>1?Ee:this._input().val()),this._saveValueChangeEvent(void 0))},_renderEnterKeyAction:function(){this._enterKeyAction=this._createActionByOption("onEnterKey",{excludeValidators:["readOnly"]}),c.Z.off(this._input(),"keyup.onEnterKey.dxTextEditor"),c.Z.on(this._input(),"keyup.onEnterKey.dxTextEditor",this._enterKeyHandlerUp.bind(this))},_enterKeyHandlerUp:function(he){this._disposed||"enter"===(0,S.EV)(he)&&this._enterKeyAction({event:he})}
1,_updateValue:function(){this._options.silent("text",null),this._renderValue()},_dispose:function(){this._enterKeyAction=void 0,this.callBase()},_getSubmitElement:function(){return this._input()},_hasActiveElement:function(){return this._input().is(x.Z.getActiveElement(this._input()[0]))},_optionChanged:function(he){var{name:Ee,fullName:Ve,value:qe}=he,dt=Ee.replace("on","");if(ve.includes(dt))this._refreshEvents();else switch(Ee){case"valueChangeEvent":this._refreshValueChangeEvent(),this._refreshFocusEvent(),this._refreshEvents();break;case"onValueChanged":this._createValueChangeAction();break;case"focusStateEnabled":this.callBase(he),this._toggleTabIndex();break;case"spellcheck":this._toggleSpellcheckState();break;case"mode":this._renderInputType();break;case"onEnterKey":this._renderEnterKeyAction();break;case"placeholder":this._renderPlaceholder();break;case"label":this._label.updateText(qe),this._setLabelContainerAria(!0);break;case"labelMark":this._label.updateMark(qe);break;case"labelMode":this._label.updateMode(qe),this._setLabelContainerAria(!0);break;case"width":this.callBase(he),this._label.updateMaxWidth(this._getLabelContainerWidth());break;case"readOnly":case"disabled":this._updateButtons(),this.callBase(he);break;case"showClearButton":this._updateButtons(["clear"]);break;case"text":case"showValidationMark":break;case"value":this._updateValue(),this.callBase(he);break;case"inputAttr":this._applyInputAttributes(this._input(),this.option(Ee));break;case"stylingMode":this._renderStylingMode(),this._updateLabelWidth();break;case"buttons":Ve===Ee&&X(qe),this._cleanButtonContainers(),this._renderButtonContainers(),this._updateButtonsStyling(this.option("stylingMode")),this._updateLabelWidth(),this._label.updateContainsButtonsBefore(!!this._$beforeButtonsContainer);break;case"visible":this.callBase(he),qe&&this.option("buttons")&&(this._cleanButtonContainers(),this._renderButtonContainers(),this._updateButtonsStyling(this.option("stylingMode")));break;case"displayValueFormatter":this._invalidate();break;default:this.callBase(he)}},_renderInputType:function(){this._setInputType(this.option("mode"))},_setInputType:function(he){var Ee=this._input();"search"===he&&(he="text");try{Ee.prop("type",he)}catch{Ee.prop("type","text")}},getButton(he){return this._buttonCollection.getButton(he)},focus:function(){c.Z.trigger(this._input(),"focus")},reset:function(){this._showValidMark&&(this._showValidMark=!1,this._renderValidationState());var he=this._getDefaultOptions();this.option("value")===he.value?(this._options.silent("text",""),this._renderValue()):this.option("value",he.value)},on:function(he,Ee){var Ve=this.callBase(he,Ee),qe=he.charAt(0).toUpperCase()+he.substr(1);return ve.indexOf(qe)>=0&&this._refreshEvents(),Ve}});var Ie=a(43615),Ze="dxMask";class at{constructor(Ee){this.editor=Ee,this.DIRECTION={FORWARD:"forward",BACKWARD:"backward"},this.NAME=this._getStrategyName()}_getStrategyName(){return"base"}editorOption(){return this.editor.option(...arguments)}editorInput(){return this.editor._input()}editorCaret(Ee){if(!Ee)return this.editor._caret();this.editor._caret(Ee)}getHandler(Ee){return(this["_".concat(Ee,"Handler")]||function(){}).bind(this)}attachEvents(){var Ee=this.editorInput();this.getHandleEventNames().forEach(Ve=>{var qe=(0,S.V4)(Ve.toLowerCase(),Ze);c.Z.on(Ee,qe,this.getEventHandler(Ve))}),this._attachChangeEventHandlers()}getHandleEventNames(){return["focusIn","focusOut","keyDown","input","paste","cut","drop"]}getEventHandler(Ee){return this["_".concat(Ee,"Handler")].bind(this)}detachEvents(){c.Z.off(this.editorInput(),".".concat(Ze))}_attachChangeEventHandlers(){this.editorOption("valueChangeEvent").split(" ").includes("change")&&c.Z.on(this.editorInput(),(0,S.V4)("blur beforedeactivate",Ze),function(Ee){this._suppressCaretChanging(this._changeHandler,[Ee]),this._changeHandler(Ee)}.bind(this.editor))}_focusInHandler(){if(this.editor._showMaskPlaceholder(),this.editor._direction(this.DIRECTION.FORWARD),!this.editor._isValueEmpty()&&this.editorOption("isValid"))this.editor._adjustCaret();else{var Ee=this.editor._maskRulesChain.first();this._caretTimeout=setTimeout(function(){this._caret({start:Ee,end:Ee})}.bind(this.editor),0)}}_focusOutHandler(Ee){this.editor._changeHandler(Ee),"onFocus"===this.editorOption("showMaskMode")&&this.editor._isValueEmpty()&&(this.editorOption("text",""),this.editor._renderDisplayText(""))}_cutHandler(Ee){var Ve=this.editorCaret(),qe=this.editorInput().val().substring(Ve.start,Ve.end);this.editor._maskKeyHandler(Ee,()=>(0,Ie.Zx)(Ee,qe))}_dropHandler(){this._clearDragTimer(),this._dragTimer=setTimeout(function(){this.option("value",this._convertToValue(this._input().val()))}.bind(this.editor))}_clearDragTimer(){clearTimeout(this._dragTimer)}_keyDownHandler(){this._keyPressHandled=!1}_pasteHandler(Ee){var{editor:Ve}=this;if(!Ve.option("disabled")){this._keyPressHandled=!0;var qe=this.editorCaret();Ve._maskKeyHandler(Ee,()=>{var dt=(0,Ie.Zx)(Ee),pt=Ve._maskRulesChain.text().substring(qe.end
1),bt=Ve._handleChain({text:dt,start:qe.start,length:dt.length}),It=qe.start+bt;Ve._handleChain({text:pt,start:It,length:pt.length}),Ve._caret({start:It,end:It})})}}_autoFillHandler(Ee){var{editor:Ve}=this,qe=this.editorInput().val();this._inputHandlerTimer=setTimeout(()=>{this._keyPressHandled=!0,this._isAutoFill()&&(this._keyPressHandled=!0,Ve._maskKeyHandler(Ee,()=>{Ve._handleChain({text:qe,start:0,length:qe.length})}),Ve._validateMask())})}_isAutoFill(){var Ee=this.editor._input(),Ve=!1;if(F.Z.webkit){var qe=Ee.get(0);Ve=qe&&qe.matches(":-webkit-autofill")}return Ve}runWithoutEventProcessing(Ee){var Ve=this._keyPressHandled;this._keyPressHandled=!0,Ee(),this._keyPressHandled=Ve}_backspaceHandler(){}_delHandler(Ee){var{editor:Ve}=this;this._keyPressHandled=!0,Ve._maskKeyHandler(Ee,()=>!Ve._hasSelection()&&Ve._handleKey(" "))}clean(){this._clearDragTimer(),clearTimeout(this._backspaceHandlerTimeout),clearTimeout(this._caretTimeout),clearTimeout(this._inputHandlerTimer)}}const Ot=class mt extends at{_getStrategyName(){return"default"}getHandleEventNames(){return[...super.getHandleEventNames(),"keyPress"]}_keyPressHandler(Ee){if(!this._keyPressHandled&&(this._keyPressHandled=!0,!this.editor._isControlKeyFired(Ee))){var{editor:Ve}=this;Ve._maskKeyHandler(Ee,()=>Ve._handleKey((0,S.qK)(Ee)))}}_inputHandler(Ee){if(this._backspaceInputHandled(Ee.originalEvent&&Ee.originalEvent.inputType)&&this._handleBackspaceInput(Ee),Ee.originalEvent&&this._autoFillHandler(Ee),!this._keyPressHandled){this._keyPressHandled=!0;var Ve=this.editorInput().val(),qe=this.editorCaret();if(qe.end){qe.start=qe.end-1;
1var dt=Ve.substring(0,qe.start)+Ve.substring(qe.end),pt=Ve[qe.start],{editor:bt}=this;this.editorInput().val(dt),bt._caret({start:qe.start,end:qe.start}),bt._maskKeyHandler(Ee,()=>bt._handleKey(pt))}}}_backspaceHandler(Ee){var{editor:Ve}=this;this._keyPressHandled=!0;var qe=(dt,pt)=>{dt&&(Ve._direction(this.DIRECTION.FORWARD),Ve._adjustCaret());var bt=this.editorCaret();return new Promise(It=>{clearTimeout(this._backspaceHandlerTimeout),this._backspaceHandlerTimeout=setTimeout(function(){pt(bt),It()})})};Ve._maskKeyHandler(Ee,()=>Ve._hasSelection()?qe(!0,dt=>{Ve._displayMask(dt),Ve._maskRulesChain.reset()}):Ve._tryMoveCaretBackward()?qe(!1,dt=>{this.editorCaret(dt)}):(Ve._handleKey(" ",this.DIRECTION.BACKWARD),qe(!0,dt=>{Ve._displayMask(dt),Ve._maskRulesChain.reset()})))}_backspaceInputHandled(Ee){return"deleteContentBackward"===Ee&&!this._keyPressHandled}_handleBackspaceInput(Ee){var{start:Ve,end:qe}=this.editorCaret();this.editorCaret({start:Ve+1,end:qe+1}),this._backspaceHandler(Ee)}},yt=class xt extends at{_getStrategyName(){return"inputEvents"}getHandleEventNames(){return[...super.getHandleEventNames(),"beforeInput"]}_beforeInputHandler(){this._prevCaret=this.editorCaret()}_inputHandler(Ee){var{originalEvent:Ve}=Ee;if(Ve){var{inputType:qe,data:dt}=Ve,pt=this.editorCaret();if("deleteContentBackward"===qe){var bt=this._prevCaret.end-this._prevCaret.start||1;this.editor.setBackwardDirection(),this._updateEditorMask({start:pt.start,length:bt,text:this._getEmptyString(bt)})}else{var It,Qt,Ut;if(!pt.end)return;this._autoFillHandler(Ve),this.editorCaret(pt);var rn=(null===(It=this._prevCaret)||void 0===It?void 0:It.end)-(null===(Qt=this._prevCaret)||void 0===Qt?void 0:Qt.start),Ft=dt+(rn?this._getEmptyString(rn-dt.length):"");this.editor.setForwardDirection(),this._updateEditorMask({start:null===(Ut=this._prevCaret)||void 0===Ut?void 0:Ut.start,length:rn||Ft.length,text:Ft})||this.editorCaret(this._prevCaret)}}}_getEmptyString(Ee){return Array(Ee+1).join(" ")}_updateEditorMask(Ee){var Ve=Ee.text.length,qe=this.editor._handleChain(Ee);if(this.editor.isForwardDirection()){var{start:dt,end:pt}=this.editorCaret(),bt=qe-Ve;dt<=qe&&qe>1&&this.editorCaret({start:dt+bt,end:pt+bt}),this.editor.isForwardDirection()&&this.editor._adjustCaret()}return this.editor._displayMask(),!!qe}};var Tt=function(){return{}},St=d,Zt="dx-texteditor-masked",Nt="forward",Kt={0:/[0-9]/,9:/[0-9\s]/,"#":/[-+0-9\s]/,L:function(he){return At(he)},l:function(he){return At(he)||Ht(he)},C:/\S/,c:/./,A:function(he){return At(he)||kt(he)},a:function(he){return At(he)||kt(he)||Ht(he)}};function kt(he){return/[0-9]/.test(he)}function At(he){var Ee=he.charCodeAt();return 64<Ee&&Ee<91||96<Ee&&Ee<123||Ee>127}function Ht(he){return" "===he}const Mt=re.inherit({_getDefaultOptions:function(){return(0,g.l)(this.callBase(),{mask:"",maskChar:"_",maskRules:{},maskInvalidMessage:ue.Z.format("validation-mask"),useMaskedValue:!1,showMaskMode:"always"})},_supportedKeys:function(){var he=this,Ee={backspace:he._maskStrategy.getHandler("backspace"),del:he._maskStrategy.getHandler("del"),enter:he._changeHandler},Ve=he.callBase();return(0,Y.S6)(Ee,function(qe,dt){var pt=Ve[qe];Ve[qe]=function(bt){he.option("mask")&&dt.call(he,bt),pt&&pt(bt)}}),Ve},_getSubmitElement:function(){return this.option("mask")?this._$hiddenElement:this.callBase()},_init:function(){this.callBase(),this._initMaskStrategy()},_initMaskStrategy:function(){this._maskStrategy=function U(){return"onbeforeinput"in x.Z.createElement("input")&&!F.Z.chrome||function q(){var{android:he,version:Ee}=A.Z.real();return he&&Ee[0]>4}()}()?new yt(this):new Ot(this)},_initMarkup:function(){this._renderHiddenElement(),this.callBase()},_attachMouseWheelEventHandlers:function(){if(this._onMouseWheel!==N.ZT){var Ee=this._input(),Ve=(0,S.V4)(V.u,this.NAME),qe=this._createAction(function(dt){var{event:pt}=dt;(0,b.si)(Ee)&&!(0,S.j1)(pt)&&(this._onMouseWheel(pt),pt.preventDefault(),pt.stopPropagation())}.bind(this));c.Z.off(Ee,Ve),c.Z.on(Ee,Ve,function(dt){qe({event:dt})})}},_onMouseWheel:N.ZT,_useMaskBehavior(){return Boolean(this.option("mask"))},_attachDropEventHandler(){if(this._useMaskBehavior()){var Ee=(0,S.V4)("drop",this.NAME),Ve=this._input();c.Z.off(Ve,Ee),c.Z.on(Ve,Ee,qe=>qe.preventDefault())}},_render:function(){this._renderMask(),this.callBase(),this._attachDropEventHandler(),this._attachMouseWheelEventHandlers()},_renderHiddenElement:function(){this.option("mask")&&(this._$hiddenElement=(0,i.Z)("<input>").attr("type","hidden").appendTo(this._inputWrapper()))},_removeHiddenElement:function(){this._$hiddenElement&&this._$hiddenElement.remove()},_renderMask:function(){this.$element().removeClass(Zt),this._maskRulesChain=null,this._maskStrategy.detachEvents(),this.option("mask")&&(this.$element().addClass(Zt),this._maskStrategy.attachEvents(),this._parseMask(),this._renderMaskedValue())},_suppressCaretChanging:function(he,Ee){St=Tt;try{he.apply(this,Ee)}finally{St=d}},_changeHandler:function(he){var Ee=this._input(),Ve=Ee.val();if(Ve!==this._changedValue){this._changedValue=Ve;var qe=(0,S.yM)(he,{type:"change"});c.Z.trigger(Ee,qe)}},_parseMask:function(){this._maskRules=(0,g.l)({},Kt,this.option("maskRules")),this._maskRulesChain=this._parseMaskRule(0)},_parseMaskRule:function(he){var Ee=this.option("mask");if(he>=Ee.length)return new L;var Ve=Ee[he],qe="\\"===Ve,dt=qe?new w({maskChar:Ee[he+1]}):this._getMaskRule(Ve);return dt.next(this._parseMaskRule(he+1+qe)),dt},_getMaskRule:function(he){var Ee;return(0,Y.S6)(this._maskRules,function(Ve,qe){if(Ve===he)return Ee={pattern:Ve,allowedChars:qe},!1}),(0,ie.$K)(Ee)?new M((0,g.l)({maskChar:this.option("maskChar")||" "},Ee)):new w({maskChar:he})},_renderMaskedValue:function(){if(this._maskRulesChain){var he=this.option("value")||"";this._maskRulesChain.clear(this._normalizeChainArguments());var Ee={length:he.length};Ee[this._isMaskedValueMode()?"text":"value"]=he,this._handleChain(Ee),this._displayMask()}},_replaceSelectedText:function(he,Ee,Ve){return void 0===Ve?he:he.slice(0,Ee.start)+Ve+he.slice(Ee.end)},_isMaskedValueMode:function(){return this.option("useMaskedValue")},_displayMask:function(he){he=he||this._caret(),this._renderValue(),this._caret(he)},_isValueEmpty:function(){return(0,Z.xb)(this._value)},_shouldShowMask:function(){return"onFocus"!==this.option("showMaskMode")||(0,b.si)(this._input())||!this._isValueEmpty()},_showMaskPlaceholder:function(){if(this._shouldShowMask()){var he=this._maskRulesChain.text();this.option("text",he),"onFocus"===this.option("showMaskMode")&&this._renderDisplayText(he)}},_renderValue:function(){if(this._maskRulesChain&&(this._showMaskPlaceholder(),this._$hiddenElement)){var he=this._maskRulesChain.value(),Ee=(0,Z.xb)(he)?"":this._getPreparedValue();this._$hiddenElement.val(Ee)}return this.callBase()},_getPreparedValue:function(){return this._convertToValue().replace(/\s+$/,"")},_valueChangeEventHandler:function(he){this._maskRulesChain?(this._saveValueChangeEvent(he),this.option("value",this._getPreparedValue())):this.callBase.apply(this,arguments)},_isControlKeyFired:function(he){return this._isControlKey((0,S.EV)(he))||(0,S.j1)(he)},_handleChain:function(he){var Ee=this._maskRulesChain.handle(this._normalizeChainArguments(he));return this._updateMaskInfo(),Ee}
1,_normalizeChainArguments:function(he){return(he=he||{}).index=0,he.fullText=this._maskRulesChain.text(),he},_convertToValue:function(he){return this._isMaskedValueMode()?this._replaceMaskCharWithEmpty(he||this._textValue||""):he||this._value||""},_replaceMaskCharWithEmpty:function(he){return he.replace(new RegExp(this.option("maskChar"),"g")," ")},_maskKeyHandler:function(he,Ee){if(!this.option("readOnly")){this.setForwardDirection(),he.preventDefault(),this._handleSelection();var Ve=this._input().val(),qe=()=>{Ve!==this._input().val()&&this._maskStrategy.runWithoutEventProcessing(()=>c.Z.trigger(this._input(),"input"))},dt=Ee();dt?dt.then(qe):(this.setForwardDirection(),this._adjustCaret(),this._displayMask(),this._maskRulesChain.reset(),qe())}},_handleKey:function(he,Ee){this._direction(Ee||Nt),this._adjustCaret(he),this._handleKeyChain(he),this._moveCaret()},_handleSelection:function(){if(this._hasSelection()){var he=this._caret(),Ee=new Array(he.end-he.start+1).join(" ");this._handleKeyChain(Ee)}},_handleKeyChain:function(he){var Ee=this._caret(),Ve=this.isForwardDirection()?Ee.start:Ee.start-1,qe=this.isForwardDirection()?Ee.end:Ee.end-1;this._handleChain({text:he,start:Ve,length:Ve===qe?1:qe-Ve})},_tryMoveCaretBackward:function(){this.setBackwardDirection();var he=this._caret().start;return this._adjustCaret(),!he||he!==this._caret().start},_adjustCaret:function(he){var Ee=this._caret().start,Ve=this.isForwardDirection(),qe=this._maskRulesChain.adjustedCaret(Ee,Ve,he);this._caret({start:qe,end:qe})},_moveCaret:function(){var he=this._caret().start,Ee=he+(this.isForwardDirection()?0:-1),Ve=this._maskRulesChain.isAccepted(Ee)?he+(this.isForwardDirection()?1:-1):he;this._caret({start:Ve,end:Ve})},_caret:function(he,Ee){var Ve=this._input();if(Ve.length){if(!arguments.length)return St(Ve);St(Ve,he,Ee)}},_hasSelection:function(){var he=this._caret();return he.start!==he.end},_direction:function(he){if(!arguments.length)return this._typingDirection;this._typingDirection=he},setForwardDirection:function(){this._direction(Nt)},setBackwardDirection:function(){this._direction("backward")},isForwardDirection:function(){return this._direction()===Nt},_updateMaskInfo(){this._textValue=this._maskRulesChain.text(),this._value=this._maskRulesChain.value()},_clean:function(){this._maskStrategy&&this._maskStrategy.clean(),this.callBase()},_validateMask:function(){if(this._maskRulesChain){var he=(0,Z.xb)(this.option("value"))||this._maskRulesChain.isValid(this._normalizeChainArguments());this.option({isValid:he,validationError:he?null:{editorSpecific:!0,message:this.option("maskInvalidMessage")}})}},_updateHiddenElement:function(){this._removeHiddenElement(),this.option("mask")&&(this._input().removeAttr("name"),this._renderHiddenElement()),this._setSubmitElementName(this.option("name"))},_updateMaskOption:function(){this._updateHiddenElement(),this._renderMask(),this._validateMask()},_processEmptyMask:function(he){if(!he){var Ee=this.option("value");this.option({text:Ee,isValid:!0}),this.validationRequest.fire({value:Ee,editor:this}),this._renderValue()}},_optionChanged:function(he){switch(he.name){case"mask":this._updateMaskOption(),this._processEmptyMask(he.value);break;case"maskChar":case"maskRules":case"useMaskedValue":this._updateMaskOption();break;case"value":this._renderMaskedValue(),this._validateMask(),this.callBase(he),this._changedValue=this._input().val();break;case"maskInvalidMessage":break;case"showMaskMode":this.option("text",""),this._renderValue();break;default:this.callBase(he)}},reset:function(){var{value:he}=this._getDefaultOptions();this.option("value")===he&&this._renderMaskedValue(),this.callBase()}});(0,n.Z)("dxTextEditor",Mt);const Xt=Mt},28961:(Je,Ae,a)=>{a.d(Ae,{Vk:()=>J,f5:()=>y,OD:()=>R,x2:()=>ye,Ih:()=>De});var V,ne,h,E,L,le,n=a(21374),i=a(13921),ie=a(68082),A=a(83520),x=a(80316),K=a(66108),W=a(91553),I=a(12395),H=a(50663),T=a(34500),d=(0,a(47685).Z)(),F=a(6795),q=(0,T.Jj)(),U=I.Z.add,Y=H.S3,S=H.Wg,c=new x.BH,g="link[rel=dx-theme]",b="data-theme",ue="data-active",N="dx-hairlines",Z="any",M=15e3,w="dx.";function Q(){if(!(0,T.Ym)())return null;var Pe,xe=(0,A.Z)("<div>",V).addClass("dx-theme-marker").appendTo(V.documentElement);try{return(Pe=q.getComputedStyle(xe.get(0)).fontFamily)&&(Pe=Pe.replace(/["']/g,"")).substr(0,w.length)===w?Pe.
1substr(w.length):null}finally{xe.remove()}}function ae(xe){var Pe,fe,He=!0;function je(){L=null,clearInterval(fe),He=!0,d.fire(),d.empty(),c.resolve()}if(L=xe,ce()||!M)je();else{if(!He)return void(L&&(L=xe));Pe=Date.now(),He=!1,fe=setInterval(function(){var Qe=ce(),We=!Qe&&Date.now()-Pe>M;We&&F.Z.log("W0004",L),(Qe||We)&&je()},10)}}function ce(){if(!L)return!0;var xe=L===Z;if("resolved"===c.state()&&xe)return!0;var Pe=Q();return!(!Pe||!xe)||Pe===L}function Ce(xe){(function Se(xe){try{xe!==V&&(h=null)}catch{h=null}V=xe})((xe=xe||{}).context||ie.Z.getDocument()),V&&(function Me(){var xe=(0,A.Z)(g,V);xe.length&&(h={},ne=(0,A.Z)((0,K.r)("<link rel=stylesheet>"),V),xe.each(function(){var Pe=(0,A.Z)(this,V),fe=Pe.attr(b),He=Pe.attr("href"),je="true"===Pe.attr(ue);h[fe]={url:He,isActive:je}}),xe.last().after(ne),xe.remove())}(),E=void 0,J(xe))}function J(xe){if(!arguments.length)return E=E||Q();O(Y()),"string"==typeof(xe=xe||{})&&(xe={theme:xe});var He,Pe=xe._autoInit,fe=xe.loadCallback;if(E=function pe(xe){var Pe=xe?xe.split("."):[],fe=null;if(h){if(xe in h)return xe;(0,W.S6)(h,function(He,je){var Qe=He.split(".");if((!Pe[0]||Qe[0]===Pe[0])&&(!Pe[1]||Pe[1]===Qe[1])&&(!Pe[2]||Pe[2]===Qe[2])&&((!fe||je.isActive)&&(fe=He),je.isActive))return!1})}return fe}(xe.theme||E),E&&(He=h[E]),fe&&d.add(fe),He)ne.attr("href",h[E].url),(d.has()||"resolved"!==c.state()||xe._forceTimeout)&&ae(E);else{if(!Pe)throw F.Z.Error("E0021",E);(0,T.Ym)()&&ae(Z),d.fire(),d.empty()}c.done(()=>Oe((0,H.In)(),E))}function Oe(xe,Pe){le=function z(xe){var Pe=[],fe=(xe=xe||J())&&xe.split(".");return fe&&(Pe.push("dx-theme-"+fe[0],"dx-theme-"+fe[0]+"-typography"),fe.length>1&&Pe.push("dx-color-scheme-"+fe[1]+(ye(xe)?"-"+fe[2]:""))),Pe}(Pe).join(" "),(0,A.Z)(xe).addClass(le),function(){var fe=(0,T.Ym)()&&q.devicePixelRatio;if(fe&&!(fe<2)){var He=(0,A.Z)("<div>");He.css("border",".5px solid transparent"),(0,A.Z)("body").append(He),1===(0,n.zp)(He)&&((0,A.Z)(xe).addClass(N),le+=" "+N),He.remove()}}()}function O(xe){(0,A.Z)(xe).removeClass(le)}function G(xe,Pe){return Pe||(Pe=E||Q()),new RegExp(xe).test(Pe)}function ye(xe){return G("material",xe)}function R(xe){return G("generic",xe)}function y(xe){return G("compact",xe)}function De(xe,Pe){return new Promise(fe=>{var He=()=>{clearInterval(je),clearTimeout(Qe),fe()},je=setInterval(()=>{(function se(xe,Pe){var fe=ie.Z.getDocument(),He=fe.createElement("span");He.style.position="absolute",He.style.top="-9999px",He.style.left="-9999px",He.style.visibility="hidden",He.style.fontFamily="Arial",He.style.fontSize="250px",He.style.fontWeight=Pe,He.innerHTML=xe,fe.body.appendChild(He);var je=He.offsetWidth;He.style.fontFamily="Roboto, RobotoFallback, Arial";var Qe=He.offsetWidth;return He.parentNode.removeChild(He),je!==Qe})(xe,Pe)&&He()},15),Qe=setTimeout(He,2e3)})}function ge(){if(Ce({_autoInit:!0,_forceTimeout:!0}),(0,A.Z)(g,V).length)throw F.Z.Error("E0022")}(0,T.Ym)()?ge():U(ge),S.add(function(xe,Pe){c.done(function(){O(Pe),Oe(xe)})}),i.Z.changed.add(function(){Ce({_autoInit:!0})})},32110:(Je,Ae,a)=>{a.d(Ae,{Z:()=>se});var n=a(67771),i=a(83684),ie=a(79644),A=a(83520),x="dx-buttongroup",K=["dxAutocomplete","dxButton","dxCheckBox","dxDateBox","dxMenu","dxSelectBox","dxTabs","dxTextBox","dxButtonGroup","dxDropDownButton"],W=function(De){var ge=De.data&&De.data(),ke=ge&&ge.dxComponents,Ne=ke&&ke[0];return Ne&&ge[Ne]};function I(De,ge){var ke;if(De){var Ne=De._findItemElementByItem(ge);if(Ne.length){var Ge=De._getItemData(Ne),tt=!!(null!==(ke=Ge.options)&&void 0!==ke&&ke.disabled||Ge.disabled||De.option("disabled")),{widget:xe}=Ge;if(xe&&-1!==K.indexOf(xe)){var Pe=Ne.find(xe.toLowerCase().replace("dx",".dx-"));if(Pe.length){var fe,He,je=W(Pe);if(!je)return;var We,Qe=null===(fe=je._focusTarget)||void 0===fe?void 0:fe.call(je);Qe="dxDropDownButton"===xe?Qe&&Qe.find(".".concat(x)):null!==(We=Qe)&&void 0!==We?We:(0,A.Z)(je.element());var Xe=null===(He=Ge.options)||void 0===He?void 0:He.tabIndex;Qe.attr("tabIndex",tt?-1:Xe??0)}}}}}var H=a(21374);class u{constructor(ge){this._toolbar=ge}_initMarkup(){}_updateMenuVisibility(){}_renderMenuItems(){}_renderItem(){}_getMenuItems(){}_getToolbarItems(){var ge;return null!==(ge=this._toolbar.option("items"))&&void 0!==ge?ge:[]}_getItemsWidth(){return this._toolbar._getSummaryItemsWidth(this._toolbar.itemElements(),!0)}_arrangeItems(){var ge=this._toolbar._$toolbarItemsContainer.find(".".concat("dx-toolbar-label")).eq(0);if(ge.length){var ke=(0,H.dz)(this._toolbar.$element()),Ne=(0,H.Y_)(ge)-(0,H.dz)(ge);ge.css("maxWidth",ke-Ne)}}_hideOverflowItems(){}_dimensionChanged(){}_itemOptionChanged(){}_optionChanged(){}}var d=a(91553),F=a(56836),q=a(13921),U=a(46068),Y=a(73946),S=a(63394),c="dx-toolbar-menu-action",b="dx-toolbar-hidden-button-group",ue="dx-toolbar-menu-section",Z="dx-toolbar-menu-last-section";class ne extends S.K{_init(){super._init(),this._activeStateUnit=".".concat(c,":not(.").concat(b,")")}_initMarkup(){this._renderSections(),super._initMarkup(),this._setMenuRole()}_getSections(){return this._itemContainer().children()}_itemElements(){return this._getSections().children(this._itemSelector())}_renderSections(){var ge=this._itemContainer();(0,d.S6)(["before","center","after","menu"],(ke,Ne)=>{var Ge="_$".concat(Ne,"Section");this[Ge]||(this[Ge]=(0,A.Z)("<div>").addClass(ue)),this[Ge].appendTo(ge)})}_renderItems(){super._renderItems.apply(this,arguments),this._updateSections()}_setMenuRole(){this.$element().find(".".concat("dx-scrollview-content")).attr("role","menu")}_updateSections(){var ge=this.$element().find(".".concat(ue));ge.removeClass(Z),ge.not(":empty").eq(-1).addClass(Z)}_renderItem(ge,ke,Ne,Ge){var tt,xe=null!==(tt=ke.location)&&void 0!==tt?tt:"menu",Pe=this["_$".concat(xe,"Section")],fe=super._renderItem(ge,ke,Pe,Ge);return this._getItemTemplateName({itemData:ke})&&fe.addClass("dx-toolbar-menu-custom"),("menu"===xe||"dxButton"===ke.widget||"dxButtonGroup"===ke.widget||ke.isAction)&&fe.addClass(c),"dxButton"===ke.widget&&fe.addClass("dx-toolbar-hidden-button"),"dxButtonGroup"===ke.widget&&fe.addClass(b),fe.addClass(ke.cssClass),fe}_getItemTemplateName(ge){var ke=super._getItemTemplateName(ge),Ne=ge.itemData;return Ne&&Ne.menuItemTemplate||ke}_dataSourceOptions(){return{paginate:!1}}_itemClickHandler(ge,ke,Ne){(0,A.Z)(ge.target).closest(".".concat(c)).length&&super._itemClickHandler(ge,ke,Ne)}_getAriaTarget(){var ge;return null!==(ge=this.option("_areaTarget"))&&void 0!==ge?ge:super._getAriaTarget()}_clean(){this._getSections().empty(),super._clean()}}var h=a(28961),E=a(58437),L=a(34500);a(7864);class Ce extends U.Z{_supportedKeys(){var ge={};return(!this.option("opened")||!this._list.option("focusedElement"))&&(ge=this._button._supportedKeys()),(0,i.l)(super._supportedKeys(),ge,{tab:function(){this._popup&&this._popup.hide()}})}_getDefaultOptions(){return(0,i.l)(super._getDefaultOptions(),{items:[],onItemClick:null,dataSource:null,itemTemplate:"item",onButtonClick:null,activeStateEnabled:!0,hoverStateEnabled:!0,opened:!1,onItemRendered:null,closeOnClick:!0,useInkRipple:!1,container:void 0,animation:{show:{type:"fade",from:0,to:1},hide:{type:"fade",to:0}}})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:function(){return"desktop"===q.Z.real().deviceType&&!q.Z.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return(0,h.x2)()},options:{useInkRipple:!0,animation:{show:{type:"pop",duration:200,from:{scale:0},to:{scale:1}},hide:{type:"pop",duration:200,from:{scale:1},to:{scale:0}}}}}])}_init(){super._init(),this.$element().addClass("dx-dropdownmenu"),this._initItemClickAction(),this._initButtonClickAction()}_initItemClickAction(){this._itemClickAction=this._createActionByOption("onItemClick")}_initButtonClickAction(){this._buttonClickAction=this._createActionByOption("onButtonClick")}_initTemplates(){this._templateManager.addDefaultTemplates({content:new E.s("content")}),super._initTemplates()}_initMarkup(){this._renderButton(),super._initMarkup()}_render(){super._render(),this.setAria({haspopup:!0,expanded:this.option("opened")})}_renderContentImpl(){this.option("opened")&&this._renderPopup()}_clean(){this._cleanFocusState(),this._list&&this._list.$element().remove(),this._popup&&this._popup.$element().remove(),delete this._list,delete this._popup}_renderButton(){var ge=this.$element().addClass("dx-dropdownmenu-button");this._button=this._createComponent(ge,Y.Z,{icon:"overflow",template:"content",useInkRipple:this.option("useInkRipple"),hoverStateEnabled:!1,focusStateEnabled:!1,onClick:ke=>{this.option("opened",!this.option("opened")),this._buttonClickAction(ke)}})}_toggleActiveState(ge,ke,Ne){this._button._toggleActiveState(ge,ke,Ne)}_toggleMenuVisibility(ge){var ke=ge??!this._popup.option("visible");ge&&this._renderPopup(),this._popup.toggle(ke),this.setAria("expanded",ke)}_renderPopup(){if(!this._$popup){this._$popup=(0,A.Z)("<div>").appendTo(this.$element());var{rtlEnabled:ge,container:ke,animation:Ne}=this.option();this._popup=this._createComponent(this._$popup,"dxPopup",{onInitialized(Ge){var{component:tt}=Ge;tt.$wrapper().addClass("dx-dropdownmenu-popup-wrapper").addClass("dx-dropdownmenu-popup")},deferRendering:!1,contentTemplate:Ge=>this._renderList(Ge),_ignoreFunctionValueDeprecation:!0,maxHeight:()=>this._getMaxHeight(),position:{my:"top ".concat(ge?"left":"right"),at:"bottom ".concat(ge?"left":"right"),collision:"fit flip",offset:{v:3},of:this.$element()},animation:Ne,onOptionChanged:Ge=>{var{name:tt,value:xe}=Ge;"visible"===tt&&this.option("opened",xe)},container:ke,autoResizeEnabled:!1,height:"auto",width:"auto",hideOnOutsideClick:Ge=>
1this._closeOutsideDropDownHandler(Ge),hideOnParentScroll:!0,shading:!1,dragEnabled:!1,showTitle:!1,fullScreen:!1,_fixWrapperPosition:!0})}}_getMaxHeight(){var ge=this.$element(),ke=ge.offset().top,Ne=(0,H.zp)((0,L.Jj)()),Ge=Math.max(ke,Ne-ke-(0,H.zp)(ge));return Math.min(Ne,Ge-3-10)}_closeOutsideDropDownHandler(ge){return!(0,A.Z)(ge.target).closest(this.$element()).length}_renderList(ge){var ke=(0,A.Z)(ge);ke.addClass("dx-dropdownmenu-list"),this._list=this._createComponent(ke,ne,{dataSource:this._getListDataSource(),pageLoadMode:"scrollBottom",indicateLoading:!1,noDataText:"",itemTemplate:this.option("itemTemplate"),onItemClick:Ne=>{this.option("closeOnClick")&&this.option("opened",!1),this._itemClickAction(Ne)},tabIndex:-1,focusStateEnabled:!1,activeStateEnabled:!0,onItemRendered:this.option("onItemRendered"),_areaTarget:this.$element(),_itemAttributes:{role:"menuitem"},_listAttributes:{role:"button"}})}_itemOptionChanged(ge,ke,Ne){var Ge;null===(Ge=this._list)||void 0===Ge||Ge._itemOptionChanged(ge,ke,Ne),I(this._list,ge)}_getListDataSource(){var ge;return null!==(ge=this.option("dataSource"))&&void 0!==ge?ge:this.option("items")}_setListDataSource(){var ge;null===(ge=this._list)||void 0===ge||ge.option("dataSource",this._getListDataSource()),delete this._deferRendering}_getKeyboardListeners(){return super._getKeyboardListeners().concat([this._list])}_toggleVisibility(ge){super._toggleVisibility(ge),this._button.option("visible",ge)}_optionChanged(ge){var ke,Ne,Ge,{name:tt,value:xe}=ge;switch(tt){case"items":case"dataSource":this.option("opened")?this._setListDataSource():this._deferRendering=!0;break;case"itemTemplate":null===(ke=this._list)||void 0===ke||ke.option(tt,this._getTemplate(xe));break;case"onItemClick":this._initItemClickAction();break;case"onButtonClick":this._buttonClickAction();break;case"useInkRipple":this._invalidate();break;case"focusStateEnabled":null===(Ne=this._list)||void 0===Ne||Ne.option(tt,xe),super._optionChanged(ge);break;case"onItemRendered":null===(Ge=this._list)||void 0===Ge||Ge.option(tt,xe);break;case"opened":this._deferRendering&&this._setListDataSource(),this._toggleMenuVisibility(xe),this._updateFocusableItemsTabIndex();break;case"closeOnClick":break;case"container":this._popup&&this._popup.option(tt,xe);break;case"disabled":this._list&&this._updateFocusableItemsTabIndex();break;default:super._optionChanged(ge)}}_updateFocusableItemsTabIndex(){this.option("items").forEach(ge=>I(this._list,ge))}}var J=a(31996),z="dx-state-invisible",O="dx-toolbar-item-auto-hide",l="dx-toolbar-item-invisible";class G{constructor(ge){this._toolbar=ge}_initMarkup(){(0,F.g0)(()=>{this._renderOverflowMenu(),this._renderMenuItems()})}_renderOverflowMenu(){if(this._hasVisibleMenuItems()){this._renderMenuButtonContainer();var ge=(0,A.Z)("<div>").appendTo(this._overflowMenuContainer()),ke=this._toolbar._createActionByOption("onItemClick"),Ne=this._toolbar._getTemplateByOption("menuItemTemplate");this._menu=this._toolbar._createComponent(ge,Ce,{disabled:this._toolbar.option("disabled"),itemTemplate:()=>Ne,onItemClick:Ge=>{ke(Ge)},container:this._toolbar.option("menuContainer"),onOptionChanged:Ge=>{var{name:tt,value:xe}=Ge;"opened"===tt&&this._toolbar.option("overflowMenuVisible",xe),"items"===tt&&this._updateMenuVisibility(xe)}})}}renderMenuItems(){this._menu||this._renderOverflowMenu(),this._menu&&this._menu.option("items",this._getMenuItems()),this._menu&&!this._menu.option("items").length&&this._menu.option("opened",!1)}_renderMenuButtonContainer(){this._$overflowMenuContainer=(0,A.Z)("<div>").appendTo(this._toolbar._$afterSection).addClass("dx-toolbar-button").addClass("dx-toolbar-menu-container")}_overflowMenuContainer(){return this._$overflowMenuContainer}_updateMenuVisibility(ge){var ke=ge??this._getMenuItems(),Ne=ke.length&&this._hasVisibleMenuItems(ke);this._toggleMenuVisibility(Ne)}_toggleMenuVisibility(ge){this._overflowMenuContainer()&&this._overflowMenuContainer().toggleClass(z,!ge)}_renderMenuItems(){(0,F.g0)(()=>{this.renderMenuItems()})}_dimensionChanged(){this.renderMenuItems()}_getToolbarItems(){var ge;return(0,F.h3)(null!==(ge=this._toolbar.option("items"))&&void 0!==ge?ge:[],ke=>!this._toolbar._isMenuItem(ke))}_getHiddenItems(){return this._toolbar._itemContainer().children(".".concat(O,".").concat(l)).not(".".concat(z))}_getMenuItems(){var ge,ke,Ne=(0,F.h3)(null!==(ge=this._toolbar.option("items"))&&void 0!==ge?ge:[],xe=>this._toolbar._isMenuItem(xe)),Ge=this._getHiddenItems();return this._restoreItems=null!==(ke=this._restoreItems)&&void 0!==ke?ke:[],[...[].slice.call(Ge).map(xe=>{var Pe=this._toolbar._getItemData(xe),fe=(0,A.Z)(xe),He=fe.children();return(0,i.l)({menuItemTemplate:()=>(this._restoreItems.push({container:fe,item:He}),(0,A.Z)("<div>").addClass(O).append(He))},Pe)}),...Ne]}_hasVisibleMenuItems(ge){var ke=ge??this._toolbar.option("items"),Ne=!1,Ge=(0,J.vb)("visible"),tt=(0,J.vb)("locateInMenu");return(0,d.S6)(ke,function(xe,Pe){var fe=Ge(Pe,{functionsAsIs:!0}),He=tt(Pe,{functionsAsIs:!0});(!1!==fe&&("auto"===He||"always"===He)||"menu"===Pe.location)&&(Ne=!0)}),Ne}_arrangeItems(){var ge;this._toolbar._$centerSection.css({margin:"0 auto",float:"none"}),(0,d.S6)(null!==(ge=this._restoreItems)&&void 0!==ge?ge:[],function(Ne,Ge){(0,A.Z)(Ge.container).append(Ge.
1item)}),this._restoreItems=[];var ke=(0,H.dz)(this._toolbar.$element());return this._hideOverflowItems(ke),ke}_hideOverflowItems(ge){var ke,Ne=this._toolbar.$element().find(".".concat(O));if(Ne.length){ge=null!==(ke=ge)&&void 0!==ke?ke:(0,H.dz)(this._toolbar.$element()),(0,A.Z)(Ne).removeClass(l);for(var Ge=this._getItemsWidth();Ne.length&&ge<Ge;)Ne.eq(-1).addClass(l),Ge=this._getItemsWidth(),Ne.splice(-1,1)}}_getItemsWidth(){return this._toolbar._getSummaryItemsWidth([this._toolbar._$beforeSection,this._toolbar._$centerSection,this._toolbar._$afterSection])}_itemOptionChanged(ge,ke,Ne){var Ge;"disabled"!==ke&&"options.disabled"!==ke||!this._toolbar._isMenuItem(ge)?this.renderMenuItems():null===(Ge=this._menu)||void 0===Ge||Ge._itemOptionChanged(ge,ke,Ne)}_renderItem(ge,ke){"auto"===ge.locateInMenu&&ke.addClass(O)}_optionChanged(ge,ke){var Ne,Ge,tt,xe,Pe;switch(ge){case"disabled":null===(Ne=this._menu)||void 0===Ne||Ne.option(ge,ke);break;case"overflowMenuVisible":null===(Ge=this._menu)||void 0===Ge||Ge.option("opened",ke);break;case"onItemClick":null===(tt=this._menu)||void 0===tt||tt.option(ge,ke);break;case"menuContainer":null===(xe=this._menu)||void 0===xe||xe.option("container",ke);break;case"menuItemTemplate":null===(Pe=this._menu)||void 0===Pe||Pe.option("itemTemplate",ke)}}}class p extends ie.Z{_getDefaultOptions(){return(0,i.l)(super._getDefaultOptions(),{menuItemTemplate:"menuItem",menuContainer:void 0,overflowMenuVisible:!1,multiline:!1})}_isMultiline(){return this.option("multiline")}_dimensionChanged(ge){"height"!==ge&&(super._dimensionChanged(),this._layoutStrategy._dimensionChanged())}_initMarkup(){super._initMarkup(),this._updateFocusableItemsTabIndex(),this._layoutStrategy._initMarkup()}_renderToolbar(){super._renderToolbar(),this._renderLayoutStrategy()}_itemContainer(){return this._isMultiline()?this._$toolbarItemsContainer:super._itemContainer()}_renderLayoutStrategy(){this.$element().toggleClass("dx-toolbar-multiline",this._isMultiline()),this._layoutStrategy=this._isMultiline()?new u(this):new G(this)}_renderSections(){if(!this._isMultiline())return super._renderSections()}_postProcessRenderItems(){this._layoutStrategy._hideOverflowItems(),this._layoutStrategy._updateMenuVisibility(),super._postProcessRenderItems(),this._layoutStrategy._renderMenuItems()}_renderItem(ge,ke,Ne,Ge){var tt=super._renderItem(ge,ke,Ne,Ge);this._layoutStrategy._renderItem(ke,tt);var{widget:xe,showText:Pe}=ke;return"dxButton"===xe&&"inMenu"===Pe&&tt.toggleClass("dx-toolbar-text-auto-hide"),tt}_getItemsWidth(){return this._layoutStrategy._getItemsWidth()}_getMenuItems(){return this._layoutStrategy._getMenuItems()}_getToolbarItems(){return this._layoutStrategy._getToolbarItems()}_arrangeItems(){if(!this.$element().is(":hidden")){var ge=this._layoutStrategy._arrangeItems();this._isMultiline()||super._arrangeItems(ge)}}_itemOptionChanged(ge,ke,Ne){this._isMenuItem(ge)||super._itemOptionChanged(ge,ke,Ne),this._layoutStrategy._itemOptionChanged(ge,ke,Ne),("disabled"===ke||"options.disabled"===ke)&&I(this,ge),"location"===ke&&this.repaint()}
1_updateFocusableItemsTabIndex(){this._getToolbarItems().forEach(ge=>I(this,ge))}_isMenuItem(ge){return"menu"===ge.location||"always"===ge.locateInMenu}_isToolbarItem(ge){return void 0===ge.location||"never"===ge.locateInMenu}_optionChanged(ge){var{name:ke,value:Ne}=ge;switch(this._layoutStrategy._optionChanged(ke,Ne),ke){case"menuContainer":case"menuItemTemplate":case"overflowMenuVisible":break;case"multiline":this._invalidate();break;case"disabled":super._optionChanged.apply(this,arguments),this._updateFocusableItemsTabIndex();break;default:super._optionChanged.apply(this,arguments)}}updateDimensions(){this._dimensionChanged()}}(0,n.Z)("dxToolbar",p);const se=p},79644:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ce});var n=a(21374),i=a(83520),ie=a(28961),A=a(64596),x=a(67771),K=a(83684),W=a(91553),I=a(17839),H=a(14385),T=a(80316),u=a(56836);const F=H.Z.inherit({_initMarkup(){this._deferredItems=[],this.callBase()},_renderItemContent(Me){var pe=new T.BH,Se=new T.BH;this._deferredItems[Me.index]=Se;var Ce=this.callBase.call(this,Me);return Se.done(()=>{pe.resolve(Ce)}),pe.promise()},_onItemTemplateRendered:function(Me,pe){return()=>{this._deferredItems[pe.index].resolve()}},_postProcessRenderItems:u.ZT,_renderItemsAsync(){var Me=new T.BH;return T.gx.apply(this,this._deferredItems).done(()=>{this._postProcessRenderItems(),Me.resolve()}),Me.promise()},_clean(){this.callBase(),this._deferredItems=[]}});var q=a(98595),U=a(35922),S="dx-toolbar-before",g="dx-toolbar-after",N="dx-toolbar-label",h="dx-toolbar-compact",E="text";class ae extends F{_getSynchronizableOptionsForCreateComponent(){return super._getSynchronizableOptionsForCreateComponent().filter(pe=>"disabled"!==pe)}_initTemplates(){super._initTemplates();var pe=new q.c(function(Se,Ce,J){if((0,A.PO)(Ce)){var O,l,G,ye,R,{text:z,html:le,widget:Oe}=Ce;if(z&&Se.text(z).wrapInner("<div>"),le&&Se.html(le),"dxDropDownButton"===Oe&&(Ce.options=null!==(O=Ce.options)&&void 0!==O?O:{},(0,A.$K)(Ce.options.stylingMode)||(Ce.options.stylingMode=this.option("useFlatButtons")?E:"contained")),"dxButton"===Oe)this.option("useFlatButtons")&&(Ce.options=null!==(l=Ce.options)&&void 0!==l?l:{},Ce.options.stylingMode=null!==(G=Ce.options.stylingMode)&&void 0!==G?G:E),this.option("useDefaultButtons")&&(Ce.options=null!==(ye=Ce.options)&&void 0!==ye?ye:{},Ce.options.type=null!==(R=Ce.options.type)&&void 0!==R?R:"default")}else Se.text(String(Ce));this._getTemplate("dx-polymorph-widget").render({container:Se,model:J,parent:this})}.bind(this),["text","html","widget","options"],this.option("integrationOptions.watchMethod"));this._templateManager.addDefaultTemplates({item:pe,menuItem:pe})}_getDefaultOptions(){return(0,K.l)(super._getDefaultOptions(),{renderAs:"topToolbar",grouped:!1,useFlatButtons:!1,useDefaultButtons:!1})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:function(){return(0,ie.x2)()},options:{useFlatButtons:!0}}])}_itemContainer(){return this._$toolbarItemsContainer.find([".".concat(S),".".concat("dx-toolbar-center"),".".concat(g)].join(","))}_itemClass(){return"dx-toolbar-item"}_itemDataKey(){return"dxToolbarItemDataKey"}_dimensionChanged(){this._disposed||(this._arrangeItems(),this._applyCompactMode())}_initMarkup(){this._renderToolbar(),this._renderSections(),super._initMarkup()}_render(){super._render(),this._renderItemsAsync(),this._updateDimensionsInMaterial()}_postProcessRenderItems(){this._arrangeItems()}_renderToolbar(){this.$element().addClass("dx-toolbar"),this._$toolbarItemsContainer=(0,i.Z)("<div>").addClass("dx-toolbar-items-container").appendTo(this.$element()),this.setAria("role","toolbar")}_renderSections(){var pe=this._$toolbarItemsContainer;(0,W.S6)(["before","center","after"],(Se,Ce)=>{var J="dx-toolbar-".concat(Ce);pe.find(".".concat(J)).length||(this["_$".concat(Ce,"Section")]=(0,i.Z)("<div>").addClass(J).appendTo(pe))})}_arrangeItems(pe){var Se;pe=null!==(Se=pe)&&void 0!==Se?Se:(0,n.dz)(this.$element()),this._$centerSection.css({margin:"0 auto",float:"none"});var Ce=(0,I.l)(this._$beforeSection.get(0)),J=(0,I.l)(this._$afterSection.get(0));this._alignCenterSection(Ce,J,pe);var z=this._$toolbarItemsContainer.find(".".concat(N)).eq(0),le=z.parent();if(z.length){var Oe=Ce.width?Ce.width:z.position().left,O=le.hasClass(S)?0:Oe,l=le.hasClass(g)?0:J.width,G=0;le.children().not(".".concat(N)).each(function(){G+=(0,n.Y_)(this)});var R=Math.max(pe-G-O-l,0);if(le.hasClass(S))this._alignSection(this._$beforeSection,R);else{var p=(0,n.Y_)(z)-(0,n.dz)(z);z.css("maxWidth",R-p)}}}_alignCenterSection(pe,Se,Ce){this._alignSection(this._$centerSection,Ce-pe.width-Se.width);var J=this.option("rtlEnabled"),z=J?Se:pe,le=J?pe:Se,Oe=(0,I.l)(this._$centerSection.get(0));(z.right>Oe.left||Oe.right>le.left)&&this._$centerSection.css({marginLeft:z.width,marginRight:le.width,float:z.width>le.width?"none":"right"})}_alignSection(pe,Se){var J=pe.find(".".concat(N)).toArray();Se-=this._getCurrentLabelsPaddings(J);var z=this._getCurrentLabelsWidth(J),le=Math.abs(z-Se);Se<z?(J=J.reverse(),this._alignSectionLabels(J,le,!1)):this._alignSectionLabels(J,le,!0)}_alignSectionLabels(pe,Se,Ce){for(var J=function(G){return(0,I.l)(G).width},z=0;z<pe.length;z++){var le=(0,i.Z)(pe[z]),Oe=Math.ceil(J(pe[z]));Ce&&le.css("maxWidth","inherit");var l=Math.ceil(Ce?J(pe[z]):Oe);if(!(l<Se)){le.css("maxWidth",Ce?Oe+Se:Oe-Se);break}Se-=l,le.css("maxWidth",Ce?l:0)}}_applyCompactMode(){var pe=this.$element();pe.removeClass(h),this.option("compactMode")&&this._getSummaryItemsWidth(this.itemElements(),!0)>(0,n.dz)(pe)&&pe.addClass(h)}_getCurrentLabelsWidth(pe){var Se=0;return pe.forEach(function(Ce,J){Se+=(0,n.Y_)(Ce)}),Se}_getCurrentLabelsPaddings(pe){var Se=0;return pe.forEach(function(Ce,J){Se+=(0,n.Y_)(Ce)-(0,n.dz)(Ce)}),Se}_renderItem(pe,Se,Ce,J){var z,le,Oe=null!==(z=Se.location)&&void 0!==z?z:"center",O=Ce??this["_$".concat(Oe,"Section")],l=!!(null!==(le=Se.text)&&void 0!==le?le:Se.html),G=super._renderItem(pe,Se,O,J);return G.toggleClass("dx-toolbar-button",!l).toggleClass(N,l).addClass(Se.cssClass),G}_renderGroupedItems(){(0,W.S6)(this.option("items"),(pe,Se)=>{var Ce,J=Se.items,z=(0,i.Z)("<div>").addClass("dx-toolbar-group"),le=null!==(Ce=Se.location)&&void 0!==Ce?Ce:"center";!J||!J.length||((0,W.S6)(J,(Oe,O)=>{this._renderItem(Oe,O,z,null)}),this._$toolbarItemsContainer.find(".dx-toolbar-".concat(le)).append(z))})}_renderItems(pe){this.option("grouped")&&pe.length&&pe[0].items?this._renderGroupedItems():super._renderItems(pe)}_getToolbarItems(){var pe;return null!==(pe=this.option("items"))&&void 0!==pe?pe:[]}_renderContentImpl(){var pe=this._getToolbarItems();this.$element().toggleClass("dx-toolbar-mini",0===pe.length),this._renderItems(this._renderedItemsCount?pe.slice(this._renderedItemsCount):pe),this._applyCompactMode()}_renderEmptyMessage(){}_clean(){this._$toolbarItemsContainer.children().empty(),this.$element().empty(),delete this._$beforeSection,delete this._$centerSection,delete this._$afterSection}_visibilityChanged(pe){pe&&this._arrangeItems()}_isVisible(){return(0,n.dz)(this.$element())>0&&(0,n.Cr)(this.$element())>0}_getIndexByItem(pe){return this._getToolbarItems().indexOf(pe)}_itemOptionChanged(pe,Se,Ce){super._itemOptionChanged.apply(this,[pe,Se,Ce]),this._arrangeItems()}_optionChanged(pe){var{name:Se}=pe;switch(Se){case"width":super._optionChanged.apply(this,arguments),this._dimensionChanged();break;case"renderAs":case"useFlatButtons":case"useDefaultButtons":this._invalidate();break;case"compactMode":this._applyCompactMode();break;case"grouped":break;default:super._optionChanged.apply(this,arguments)}}_dispose(){super._dispose(),clearTimeout(this._waitParentAnimationTimeout)}_updateDimensionsInMaterial(){(0,ie.x2)()&&Promise.all([(()=>new Promise(pe=>{var Se=()=>{var J=!0;return this.$element().parents().each((z,le)=>{if(U.Z.isAnimating((0,i.Z)(le)))return J=!1,!1}),J&&pe(),J},Ce=()=>{clearTimeout(this._waitParentAnimationTimeout),this._waitParentAnimationTimeout=setTimeout(()=>Se()||Ce(),15)};Ce()}))(),(()=>{var pe=this.$element().find(".".concat(N)),Se=[];return pe.each((Ce,J)=>{var z=(0,i.Z)(J).text(),le=(0,i.Z)(J).css("fontWeight");Se.push((0,ie.Ih)(z,le))}),Promise.all(Se)})()]).then(()=>{this._dimensionChanged()})}}(0,x.Z)("dxToolbarBase",ae);const ce=ae},59150:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ne});var n=a(24245),i=a(83684),ie=a(91553),A=a(38852),x=a(47484),K=a(56836),W=a(64596),I=a(29147),H=a(40911),T=a(80316);class d{constructor(){this.NAME="base"}defaultMessage(E){return H.Z.getFormatter("validation-".concat(this.NAME))(E)}defaultFormattedMessage(E){return H.Z.getFormatter("validation-".concat(this.NAME,"-formatted"))(E)}_isValueEmpty(E){return!N.required.validate(E,{})}validate(E,L){var M=Array.isArray(E)?E:[E],w=!0;return M.length?M.every(Q=>
1w=this._validate(Q,L)):w=this._validate(null,L),w}}class S extends d{constructor(){super(),this.NAME="custom"}validate(E,L){if(L.ignoreEmptyValue&&this._isValueEmpty(E))return!0;var M=L.validator,w=M&&(0,W.mf)(M.option)&&M.option("dataGetter"),Q=(0,W.mf)(w)&&w(),ae={value:E,validator:M,rule:L};return Q&&(0,i.l)(ae,Q),L.validationCallback(ae)}}var N={required:new class F extends d{constructor(){super(),this.NAME="required"}_validate(E,L){return!(!(0,W.$K)(E)||!1===E)&&(E=String(E),(L.trim||!(0,W.$K)(L.trim))&&(E=E.trim()),""!==E)}},numeric:new class q extends d{constructor(){super(),this.NAME="numeric"}_validate(E,L){return!(!1===L.ignoreEmptyValue||!this._isValueEmpty(E))||(L.useCultureSettings&&(0,W.HD)(E)?!isNaN(I.Z.parse(E)):(0,W.kE)(E))}},range:new class U extends d{constructor(){super(),this.NAME="range"}_validate(E,L){if(!1!==L.ignoreEmptyValue&&this._isValueEmpty(E))return!0;var M=N.numeric.validate(E,L),w=(0,W.$K)(E)&&""!==E,Q=M?parseFloat(E):w&&E.valueOf(),ae=L.min,ce=L.max;if(!M&&!(0,W.J_)(E)&&!w)return!1;if((0,W.$K)(ae))return(0,W.$K)(ce)?Q>=ae&&Q<=ce:Q>=ae;if((0,W.$K)(ce))return Q<=ce;throw x.Z.Error("E0101")}},stringLength:new class Y extends d{constructor(){super(),this.NAME="stringLength"}_validate(E,L){var M;return E=String(null!==(M=E)&&void 0!==M?M:""),(L.trim||!(0,W.$K)(L.trim))&&(E=E.trim()),!(!L.ignoreEmptyValue||!this._isValueEmpty(E))||N.range.validate(E.length,(0,i.l)({},L))}},custom:new S,async:new class c extends S{constructor(){super(),this.NAME="async"}
1validate(E,L){if((0,W.$K)(L.reevaluate)||(0,i.l)(L,{reevaluate:!0}),L.ignoreEmptyValue&&this._isValueEmpty(E))return!0;var M=L.validator,w=M&&(0,W.mf)(M.option)&&M.option("dataGetter"),Q=(0,W.mf)(w)&&w(),ae={value:E,validator:M,rule:L};Q&&(0,i.l)(ae,Q);var ce=L.validationCallback(ae);if(!(0,W.tI)(ce))throw x.Z.Error("E0103");return this._getWrappedPromise((0,T.p4)(ce).promise())}_getWrappedPromise(E){var L=new T.BH;return E.then(function(M){L.resolve(M)},function(M){var w={isValid:!1};(0,W.$K)(M)&&((0,W.HD)(M)?w.message=M:(0,W.Kn)(M)&&(0,W.$K)(M.message)&&(0,W.HD)(M.message)&&(w.message=M.message)),L.resolve(w)}),L.promise()}},compare:new class g extends d{constructor(){super(),this.NAME="compare"}_validate(E,L){if(!L.comparisonTarget)throw x.Z.Error("E0102");if(L.ignoreEmptyValue&&this._isValueEmpty(E))return!0;(0,i.l)(L,{reevaluate:!0});var M=L.comparisonTarget();switch(L.comparisonType||"=="){case"==":return E==M;case"!=":return E!=M;case"===":return E===M;case"!==":return E!==M;case">":return E>M;case">=":return E>=M;case"<":return E<M;case"<=":return E<=M}}},pattern:new class b extends d{constructor(){super(),this.NAME="pattern"}
1_validate(E,L){if(!1!==L.ignoreEmptyValue&&this._isValueEmpty(E))return!0;var M=L.pattern;return(0,W.HD)(M)&&(M=new RegExp(M)),M.test(E)}},email:new class ue extends d{constructor(){super(),this.NAME="email"}_validate(E,L){return!(!1===L.ignoreEmptyValue||!this._isValueEmpty(E))||N.pattern.validate(E,(0,i.l)({},L,{pattern:/^[\d\w._-]+@[\d\w._-]+\.[\w]+$/i}))}}},Z=n.Z.inherit({ctor(h){this.group=h,this.validators=[],this._pendingValidators=[],this._onValidatorStatusChanged=this._onValidatorStatusChanged.bind(this),this._resetValidationInfo(),this._eventsStrategy=new A.m(this)},validate(){var h={isValid:!0,brokenRules:[],validators:[],status:"valid",complete:null};return this._unsubscribeFromAllChangeEvents(),this._pendingValidators=[],this._resetValidationInfo(),(0,ie.S6)(this.validators,(E,L)=>{var M=L.validate();h.isValid=h.isValid&&M.isValid,M.brokenRules&&(h.brokenRules=h.brokenRules.concat(M.brokenRules)),h.validators.push(L),"pending"===M.status&&this._addPendingValidator(L),this._subscribeToChangeEvents(L)}),this._pendingValidators.length?h.status="pending":(h.status=h.isValid?"valid":"invalid",this._unsubscribeFromAllChangeEvents(),this._raiseValidatedEvent(h)),this._updateValidationInfo(h),(0,i.l)({},this._validationInfo.result)},_subscribeToChangeEvents(h){h.on("validating",this._onValidatorStatusChanged),h.on("validated",this._onValidatorStatusChanged)},_unsubscribeFromChangeEvents(h){h.off("validating",this._onValidatorStatusChanged),h.off("validated",this._onValidatorStatusChanged)},_unsubscribeFromAllChangeEvents(){(0,ie.S6)(this.validators,(h,E)=>{this._unsubscribeFromChangeEvents(E)})},_updateValidationInfo(h){this._validationInfo.result=h,"pending"===h.status&&(this._validationInfo.deferred||(this._validationInfo.deferred=new T.BH,this._validationInfo.result.complete=this._validationInfo.deferred.promise()))},_addPendingValidator(h){(0,K.h3)(this._pendingValidators,function(L){return L===h})[0]||this._pendingValidators.push(h)},_removePendingValidator(h){var E=this._pendingValidators.indexOf(h);E>=0&&this._pendingValidators.splice(E,1)},_orderBrokenRules(h){var E=[];return(0,ie.S6)(this.validators,function(L,M){var w=(0,K.h3)(h,function(Q){return Q.validator===M});w.length&&(E=E.concat(w))}),E},_updateBrokenRules(h){if(this._validationInfo.result){var E=this._validationInfo.result.brokenRules,L=(0,K.h3)(E,function(M){return M.validator!==h.validator});h.brokenRules&&(E=L.concat(h.brokenRules)),this._validationInfo.result.brokenRules=this._orderBrokenRules(E)}},_onValidatorStatusChanged(h){"pending"!==h.status?this._resolveIfComplete(h):this._addPendingValidator(h.validator)},_resolveIfComplete(h){if(this._removePendingValidator(h.validator),this._updateBrokenRules(h),!this._pendingValidators.length){if(this._unsubscribeFromAllChangeEvents(),!this._validationInfo.result)return;this._validationInfo.result.status=0===this._validationInfo.result.brokenRules.length?"valid":"invalid",this._validationInfo.result.isValid="valid"===this._validationInfo.result.status;var E=(0,i.l)({},this._validationInfo.result,{complete:null}),L=this._validationInfo.deferred;this._validationInfo.deferred=null,this._raiseValidatedEvent(E),L&&setTimeout(()=>{L.resolve(E)})}},_raiseValidatedEvent(h){this._eventsStrategy.fireEvent("validated",[h])},_resetValidationInfo(){this._validationInfo={result:null,deferred:null}},_synchronizeValidationInfo(){this._validationInfo.result&&(this._validationInfo.result.validators=this.validators)},removeRegisteredValidator(h){var E=this.validators.indexOf(h);E>-1&&(this.validators.splice(E,1),this._synchronizeValidationInfo(),this._resolveIfComplete({validator:h}))},registerValidator(h){this.validators.includes(h)||(this.validators.push(h),this._synchronizeValidationInfo())},reset(){(0,ie.S6)(this.validators,function(h,E){E.reset()}),this._pendingValidators=[],this._resetValidationInfo()},on(h,E){return this._eventsStrategy.on(h,E),this},off(h,E){return this._eventsStrategy.off(h,E),this}}),V={groups:[],getGroupConfig(h){var E=(0,K.h3)(this.groups,function(L){return L.group===h});if(E.length)return E[0]},findGroup(h,E){var L,M,Q=(null===(L=h.data())||void 0===L||null===(M=L.dxComponents)||void 0===M?void 0:M.includes("dxValidationGroup"))&&h.dxValidationGroup("instance");if(Q)return Q;
1var ae=h.parents(".dx-validationgroup").first();return ae.length?ae.dxValidationGroup("instance"):E},initGroups(){this.groups=[],this.addGroup()},addGroup(h){var E=this.getGroupConfig(h);return E||(E=new Z(h),this.groups.push(E)),E},removeGroup(h){var E=this.getGroupConfig(h),L=this.groups.indexOf(E);return L>-1&&this.groups.splice(L,1),E},_setDefaultMessage(h){var{rule:E,validator:L,name:M}=h;(0,W.$K)(E.message)||(E.message=L.defaultFormattedMessage&&(0,W.$K)(M)?L.defaultFormattedMessage(M):L.defaultMessage())},_addBrokenRule(h){var{result:E,rule:L}=h;E.brokenRule||(E.brokenRule=L),E.brokenRules||(E.brokenRules=[]),E.brokenRules.push(L)},validate(h,E,L){var M,w={name:L,value:h,brokenRule:null,brokenRules:null,isValid:!0,validationRules:E,pendingRules:null,status:"valid",complete:null},Q=null==E||null===(M=E[0])||void 0===M?void 0:M.validator,ae=[];return(0,ie.S6)(E||[],(ce,Me)=>{var Se,pe=N[Me.type];if(!pe)throw x.Z.Error("E0100");return(0,W.$K)(Me.isValid)&&Me.value===h&&!Me.reevaluate?!!Me.isValid||(w.isValid=!1,this._addBrokenRule({result:w,rule:Me}),!1):(Me.value=h,"async"===Me.type?(ae.push({rule:Me,ruleValidator:pe}),!0):(Se=pe.validate(h,Me),Me.isValid=Se,Se||(w.isValid=!1,this._setDefaultMessage({rule:Me,validator:pe,name:L}),this._addBrokenRule({result:w,rule:Me})),!!Me.isValid&&void 0))}),w.isValid&&!w.brokenRules&&ae.length&&(w=this._validateAsyncRules({value:h,items:ae,result:w,name:L})),this._synchronizeGroupValidationInfo(Q,w),w.status=w.pendingRules?"pending":w.isValid?"valid":"invalid",w},_synchronizeGroupValidationInfo(h,E){var L;if(h){var M=V.getGroupConfig(h._validationGroup);M._updateBrokenRules.call(M,{validator:h,brokenRules:null!==(L=E.brokenRules)&&void 0!==L?L:[]})}},_validateAsyncRules(h){var{result:E,value:L,items:M,name:w}=h,Q=[];return(0,ie.S6)(M,(ae,ce)=>{var Me=ce.ruleValidator.validate(L,ce.rule);if((0,W.tI)(Me)){E.pendingRules||(E.pendingRules=[]),E.pendingRules.push(ce.rule);var pe=Me.then(Se=>{var Ce=this._getPatchedRuleResult(Se);return this._updateRuleConfig({rule:ce.rule,ruleResult:Ce,validator:ce.ruleValidator,name:w}),Ce});Q.push(pe)}else this._updateRuleConfig({rule:ce.rule,ruleResult:this._getPatchedRuleResult(Me),validator:ce.ruleValidator,name:w})}),Q.length&&(E.complete=Promise.all(Q).then(ae=>this._getAsyncRulesResult({result:E,values:ae}))),E},_updateRuleConfig(h){var{rule:E,ruleResult:L,validator:M,name:w}=h;E.isValid=L.isValid,L.isValid||((0,W.$K)(L.message)&&(0,W.HD)(L.message)&&L.message.length?E.message=L.message:this._setDefaultMessage({rule:E,validator:M,name:w}))},_getPatchedRuleResult(h){var E;return(0,W.Kn)(h)?(E=(0,i.l)({},h),(0,W.$K)(E.isValid)||(E.isValid=!0)):E={isValid:!(0,W.jn)(h)||h},E},_getAsyncRulesResult(h){var{values:E,result:L}=h;return(0,ie.S6)(E,(M,w)=>{!1===w.isValid&&(L.isValid=w.isValid,this._addBrokenRule({result:L,rule:L.pendingRules[M]}))}),L.pendingRules=null,L.complete=null,L.status=L.isValid?"valid":"invalid",L},registerValidatorInGroup(h,E){var L=V.addGroup(h);L.registerValidator.call(L,E)},_shouldRemoveGroup:(h,E)=>!(void 0===h||h&&"dxValidationGroup"===h.NAME||E.length),removeRegisteredValidator(h,E){var L=V.getGroupConfig(h);L&&(L.removeRegisteredValidator.call(L,E),this._shouldRemoveGroup(h,L.validators)&&this.removeGroup(h))},initValidationOptions(h){var E={};return h&&["isValid","validationStatus","validationError","validationErrors"].forEach(L=>{L in h&&(0,i.l)(E,this.synchronizeValidationOptions({name:L,value:h[L]},h))}),E},synchronizeValidationOptions(h,E){var{name:L,value:M}=h;switch(L){case"validationStatus":var w="valid"===M||"pending"===M;return E.isValid!==w?{isValid:w}:{};case"isValid":var{validationStatus:Q}=E,ae=Q;return M&&"invalid"===Q?ae="valid":!M&&"invalid"!==Q&&(ae="invalid"),ae!==Q?{validationStatus:ae}:{};case"validationErrors":var ce=M&&M.length?M[0]:null;return E.validationError!==ce?{validationError:ce}:{};case"validationError":var{validationErrors:Me}=E;if(!M&&Me)return{validationErrors:null};if(M&&!Me)return{validationErrors:[M]};if(M&&Me&&M!==Me[0])return Me[0]=M,{validationErrors:Me.slice()}}return{}},validateGroup(h){var E=V.getGroupConfig(h);if(!E)throw x.Z.Error("E0110");return E.validate()},resetGroup(h){var E=V.getGroupConfig(h);if(!E)throw x.Z.Error("E0110");return E.reset()}};V.initGroups();const ne=V},1751:(Je,Ae,a)=>{a.d(Ae,{Z:()=>U});var n=a(87462),i=a(21374),ie=a(83520),A=a(67771),x=a(21855),K=a(83684),W=a(83626),I=a(17839),H="dx-invalid-message",q=x.Z.inherit({_getDefaultOptions(){return(0,K.l)(this.callBase(),{integrationOptions:{},templatesRenderAsynchronously:!1,shading:!1,width:"auto",height:"auto",hideOnOutsideClick:!1,animation:null,visible:!0,propagateOutsideClick:!0,_checkParentVisibility:!1,rtlEnabled:!1,contentTemplate:this._renderInnerHtml,maxWidth:"100%",container:this.$element(),target:void 0,mode:"auto",validationErrors:void 0,positionSide:"top",boundary:void 0,offset:{h:0,v:0},contentId:void 0})},_init(){this.callBase(),this.updateMaxWidth(),this._updatePosition()},_initMarkup(){this.callBase(),this._ensureMessageNotEmpty(),this._updatePositionByTarget(),this._toggleModeClass(),this._updateContentId()},_updatePositionByTarget:function(){var{target:Y}=this.option();this.option("position.of",Y)},_ensureMessageNotEmpty:function(){this._textMarkup=this._getTextMarkup();var Y=this.option("visible")&&this._textMarkup;this._toggleVisibilityClasses(Y)},_toggleVisibilityClasses:function(Y){Y?(this.$element().addClass(H),this.$wrapper().addClass(H)):(this.$element().removeClass(H),this.$wrapper().removeClass(H))},_updateContentId(){var{container:Y,contentId:S}=this.option(),c=S??(0,ie.Z)(Y).attr("aria-describedby");this.$content().addClass("dx-invalid-message-content").attr("id",c)},_renderInnerHtml(Y){(Y&&(0,ie.Z)(Y))?.html(this._textMarkup)},_getTextMarkup(){var Y,S=null!==(Y=this.option("validationErrors"))&&void 0!==Y?Y:[],c="";
1return S.forEach(g=>{var b;c+=(c?"<br />":"")+(0,W.HZ)(null!==(b=g?.message)&&void 0!==b?b:"")}),c},_toggleModeClass(){var Y=this.option("mode");this.$wrapper().toggleClass("dx-invalid-message-auto","auto"===Y).toggleClass("dx-invalid-message-always","always"===Y)},updateMaxWidth(){var Y=this.option("target"),S=(0,i.Y_)(Y),c="100%";S&&(c=Math.max(S,100)),this.option({maxWidth:c})},_getPositionsArray:function(Y,S){switch(Y){case"top":return["".concat(S," bottom"),"".concat(S," top")];case"left":return["right","left"];case"right":return["left","right"];default:return["".concat(S," top"),"".concat(S," bottom")]}},_updatePosition:function(){var{positionSide:Y,rtlEnabled:S,offset:c,boundary:g}=this.option(),b=(0,I.q)(S),ue=this._getPositionsArray(Y,b),N=(0,n.Z)({},c);this.$element().addClass("dx-invalid-message-".concat(Y)),S&&"left"!==Y&&"right"!==Y&&(N.h=-N.h),"top"===Y&&(N.v=-N.v),"left"===Y&&(N.h=-N.h),this.option("position",{offset:N,boundary:g,my:ue[0],at:ue[1],collision:"none flip"})},_optionChanged(Y){var{name:S,value:c,previousValue:g}=Y;switch(S){case"target":this._updatePositionByTarget(),this.updateMaxWidth(),this.callBase(Y);break;case"boundary":this.option("position.boundary",c);break;case"mode":this._toggleModeClass(c);break;case"rtlEnabled":case"offset":case"positionSide":this.$element().removeClass("dx-invalid-message-".concat(g)),this._updatePosition();break;case"container":this._updateContentId(),this.callBase(Y);break;case"contentId":this._updateContentId();break;case"validationErrors":this._ensureMessageNotEmpty(),this._renderInnerHtml(this.$content());break;default:this.callBase(Y)}}});(0,A.Z)("dxValidationMessage",q);const U=q},48360:(Je,Ae,a)=>{a.d(Ae,{KW:()=>x,ht:()=>K,si:()=>W});var n=a(83520),i=a(68082),ie=function(I,H){if(!function A(I){var H=(0,n.Z)(I);return H.is(":visible")&&"hidden"!==H.css("visibility")&&"hidden"!==H.parents().css("visibility")}(I))return!1;var T=I.nodeName.toLowerCase(),u=!isNaN(H),d=I.disabled;return/^(input|select|textarea|button|object|iframe)$/.test(T)||I.isContentEditable?!d:"a"===T&&I.href||u},x=function(I,H){return ie(H,(0,n.Z)(H).attr("tabIndex"))},K=function(I,H){var T=(0,n.Z)(H).attr("tabIndex");return(isNaN(T)||T>=0)&&ie(H,T)},W=function(I){var H=(0,n.Z)(I).get(0);return i.Z.getActiveElement(H)===H}},6795:(Je,Ae,a)=>{a.d(Ae,{Z:()=>ie});var n=a(32622),i=a(47484);const ie=(0,n.Z)(i.Z.ERROR_MESSAGES,{E1001:"Module '{0}'. Controller '{1}' is already registered",E1002:"Module '{0}'. Controller '{1}' does not inherit from DevExpress.ui.dxDataGrid.Controller",E1003:"Module '{0}'. View '{1}' is already registered",E1004:"Module '{0}'. View '{1}' does not inherit from DevExpress.ui.dxDataGrid.View",E1005:"Public method '{0}' is already registered",E1006:"Public method '{0}.{1}' does not exist",E1007:"State storing cannot be provided due to the restrictions of the browser",E1010:"The template does not contain the TextBox widget",E1011:'Items cannot be deleted from the List. Implement the "remove" function in the data store',E1012:"Editing type '{0}' with the name '{1}' is unsupported",E1016:"Unexpected type of data source is provided for a lookup column",E1018:"The 'collapseAll' method cannot be called if you use a remote data source",E1019:"Search mode '{0}' is unavailable",E1020:"The type cannot be changed after initialization",E1021:"{0} '{1}' you are trying to remove does not exist",E1022:'The "markers" option is given an invalid value. Assign an array instead',E1023:'The "routes" option is given an invalid value. Assign an array instead',E1025:"This layout is too complex to render",E1026:'The "calculateCustomSummary" function is missing from a field whose "summaryType" option is set to "custom"',E1031:"Unknown subscription in the Scheduler widget: '{0}'",E1032:"Unknown start date in an appointment: '{0}'",E1033:"Unknown step in the date navigator: '{0}'",E1034:"The browser does not implement an API for saving files",E1035:"The editor cannot be created: {0}",E1037:"Invalid structure of grouped data",E1038:"The browser does not support local storages for local web pages",E1039:"A cell's position cannot be calculated",E1040:"The '{0}' key value is not unique within the data array",E1041:"The '{0}' script is referenced after the DevExtreme scripts or not referenced at all",E1042:"{0} requires the key field to be specified",E1043:"Changes cannot be processed due to the incorrectly set key",E1044:"The key field specified by the keyExpr option does not match the key field specified in the data store",E1045:"Editing requires the key field to be specified in the data store",E1046:"The '{0}
1' key field is not found in data objects",E1047:'The "{0}" field is not found in the fields array',E1048:'The "{0}" operation is not found in the filterOperations array',E1049:"Column '{0}': filtering is allowed but the 'dataField' or 'name' option is not specified",E1050:"The validationRules option does not apply to third-party editors defined in the editCellTemplate",E1051:'HtmlEditor\'s valueType is "{0}", but the {0} converter was not imported.',E1052:'{0} should have the "dataSource" option specified',E1053:'The "buttons" option accepts an array that contains only objects or string values',E1054:"All text editor buttons must have names",E1055:'One or several text editor buttons have invalid or non-unique "name" values',E1056:'The {0} widget does not support buttons of the "{1}" type',E1058:'The "startDayHour" must be earlier than the "endDayHour"',E1059:"The following column names are not unique: {0}",E1060:"All editable columns must have names",W1001:'The "key" option cannot be modified after initialization',W1002:"An item with the key '{0}' does not exist",W1003:"A group with the key '{0}' in which you are trying to select items does not exist",W1004:"The item '{0}' you are trying to select in the group '{1}' does not exist",W1005:"Due to column data types being unspecified, data has been loaded twice in order to apply initial filter settings. To resolve this issue, specify data types for all grid columns.",W1006:"The map service returned the following error: '{0}'",W1007:"No item with key {0} was found in the data source, but this key was used as the parent key for item {1}",W1008:"Cannot scroll to the '{0}' date because it does not exist on the current view",W1009:"Searching works only if data is specified using the dataSource option",W1010:"The capability to select all items works with source data of plain structure only",W1011:'The "keyExpr" option is not applied when dataSource is not an array',W1012:"The '{0}' key field is not found in data objects",W1013:'The "message" field in the dialog component was renamed to "messageHtml". Change your code correspondingly. In addition, if you used HTML code in the message, make sure that it is secure',W1014:"The Floating Action Button exceeds the recommended speed dial action count. If you need to display more speed dial actions, increase the maxSpeedDialActionCount option value in the global config.",W1015:'The "cellDuration" should divide the range from the "startDayHour" to the "endDayHour" into even intervals',W1016:"The '{0}' field in the HTML Editor toolbar item configuration was renamed to '{1}'. Please make a corresponding change in your code.",W1017:"The 'key' property is not specified for a lookup data source. Please specify it to prevent requests for the entire dataset when users filter data.",W1018:"Infinite scrolling may not work properly with multiple selection. To use these features together, set 'selection.deferred' to true or set 'selection.selectAllMode' to 'page'.",W1019:"Filter query string exceeds maximum length limit of {0} characters.",W1020:"hideEvent is ignored when the shading property is true",W1021:"The '{0}' is not rendered because none of the DOM elements match the value of the \"container\" property.",W1022:"{0} JSON parsing error: '{1}'",W1023:"Appointments require unique keys. Otherwise, the agenda view may not work correctly.",W1025:"'scrolling.mode' is set to 'virtual' or 'infinite'. Specify the height of the component."})},46068:(Je,Ae,a)=>{a.d(Ae,{Z:()=>S});var n=a(83520),i=a(24388),ie=a(48966),A=a(93802),x=a(56836),K=a(91553),W=a(83684),I=a(48360),H=a(64596),T=a(13921),u=a(61764);function U(c,g,b){c="role"===c||"id"===c?c:"aria-".concat(c),g=(0,H.$K)(g)?g.toString():null,b.attr(c,g)}a(1037),a(26463),a(20920);var Y=ie.Z.inherit({_feedbackHideTimeout:400,_feedbackShowTimeout:30,_supportedKeys:()=>({}),_getDefaultOptions(){return(0,W.l)(this.callBase(),{hoveredElement:null,isActive:!1,disabled:!1,visible:!0,hint:void 0,activeStateEnabled:!1,onContentReady:null,hoverStateEnabled:!1,focusStateEnabled:!1,tabIndex:0,accessKey:void 0,onFocusIn:null,onFocusOut:null,onKeyboardHandled:null,ignoreParentReadOnly:!1,useResizeObserver:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var c=T.Z.real();return"ios"===c.platform&&(0,u.q)(c.version,"13.3")<=0},options:{useResizeObserver:!1}}])},_init(){this.callBase(),this._initContentReadyAction()},_innerWidgetOptionChanged:function(c,g){var b=Y.getOptionsFromContainer(g);c&&c.option(b),this._options.cache(g.name,b)},_bindInnerWidgetOptions(c,g){var b=()=>this._options.silent(g,(0,W.l)({},c.option()));b(),c.on("optionChanged",b)},_getAriaTarget(){return this._focusTarget()},_initContentReadyAction(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]}
1)},_initMarkup(){var{disabled:c,visible:g}=this.option();this.$element().addClass("dx-widget"),this._toggleDisabledState(c),this._toggleVisibility(g),this._renderHint(),this._isFocusable()&&this._renderFocusTarget(),this.callBase()},_render(){this.callBase(),this._renderContent(),this._renderFocusState(),this._attachFeedbackEvents(),this._attachHoverEvents(),this._toggleIndependentState()},_renderHint(){var{hint:c}=this.option();this.$element().attr("title",c||null)},_renderContent(){(0,x.g0)(()=>this._disposed?void 0:this._renderContentImpl()).done(()=>this._disposed?void 0:this._fireContentReadyAction())},_renderContentImpl:x.ZT,_fireContentReadyAction:(0,x.Rg)(function(){return this._contentReadyAction()}),_dispose(){this._contentReadyAction=null,this._detachKeyboardEvents(),this.callBase()},_resetActiveState(){this._toggleActiveState(this._eventBindingTarget(),!1)},_clean(){this._cleanFocusState(),this._resetActiveState(),this.callBase(),this.$element().empty()},_toggleVisibility(c){this.$element().toggleClass("dx-state-invisible",!c),this.setAria("hidden",!c||void 0)},_renderFocusState(){this._attachKeyboardEvents(),this._isFocusable()&&(this._renderFocusTarget(),this._attachFocusEvents(),this._renderAccessKey())},_renderAccessKey(){var c=this._focusTarget(),{accessKey:g}=this.option();c.attr("accesskey",g)},_isFocusable(){var{focusStateEnabled:c,disabled:g}=this.option();return c&&!g},_eventBindingTarget(){return this.$element()},_focusTarget(){return this._getActiveElement()},_isFocusTarget:function(c){return(0,n.Z)(this._focusTarget()).toArray().includes(c)},_getActiveElement(){var c=this._eventBindingTarget();return this._activeStateUnit?c.find(this._activeStateUnit).not(".dx-state-disabled"):c},_renderFocusTarget(){var{tabIndex:c}=this.option();this._focusTarget().attr("tabIndex",c)},_keyboardEventBindingTarget(){return this._eventBindingTarget()},_refreshFocusEvent(){this._detachFocusEvents(),this._attachFocusEvents()},_focusEventTarget(){return this._focusTarget()},_focusInHandler(c){c.isDefaultPrevented()||this._createActionByOption("onFocusIn",{beforeExecute:()=>this._updateFocusState(c,!0),excludeValidators:["readOnly"]})({event:c})},_focusOutHandler(c){c.isDefaultPrevented()||this._createActionByOption("onFocusOut",{beforeExecute:()=>this._updateFocusState(c,!1),excludeValidators:["readOnly","disabled"]})({event:c})},_updateFocusState(c,g){var{target:b}=c;this._isFocusTarget(b)&&this._toggleFocusClass(g,(0,n.Z)(b))},_toggleFocusClass(c,g){(g&&g.length?g:this._focusTarget()).toggleClass("dx-state-focused",c)},_hasFocusClass(c){return(0,n.Z)(c||this._focusTarget()).hasClass("dx-state-focused")},_isFocused(){return this._hasFocusClass()},_getKeyboardListeners:()=>[],_attachKeyboardEvents(){this._detachKeyboardEvents();var{focusStateEnabled:c,onKeyboardHandled:g}=this.option(),b=this._getKeyboardListeners().length;(c||b||g)&&(this._keyboardListenerId=A.dG.on(this._keyboardEventBindingTarget(),this._focusTarget(),Z=>this._keyboardHandler(Z)))},_keyboardHandler(c,g){if(!g){var{originalEvent:b,keyName:ue,which:N}=c,Z=this._supportedKeys(b),V=Z[ue]||Z[N];if(void 0!==V&&!V.bind(this)(b,c))return!1}var E=this._getKeyboardListeners(),{onKeyboardHandled:L}=this.option();return E.forEach(M=>M&&M._keyboardHandler(c)),L&&L(c),!0},_refreshFocusState(){this._cleanFocusState(),this._renderFocusState()},_cleanFocusState(){this._focusTarget().removeAttr("tabIndex"),this._toggleFocusClass(!1),this._detachFocusEvents(),this._detachKeyboardEvents()},_detachKeyboardEvents(){A.dG.off(this._keyboardListenerId),this._keyboardListenerId=null},_attachHoverEvents(){var{hoverStateEnabled:c}=this.option(),g=this._activeStateUnit,b=this._eventBindingTarget();A.Mr.off(b,{selector:g,namespace:"UIFeedback"}),c&&A.Mr.on(b,new i.Z(ue=>{var{event:N,element:Z}=ue;this._hoverStartHandler(N),this.option("hoveredElement",(0,n.Z)(Z))},{excludeValidators:["readOnly"]}),ue=>{this.option("hoveredElement",null),this._hoverEndHandler(ue)},{selector:g,namespace:"UIFeedback"})},_attachFeedbackEvents(){var{activeStateEnabled:c}=this.option(),g=this._activeStateUnit,b=this._eventBindingTarget();A.bB.off(b,{namespace:"UIFeedback",selector:g}),c&&A.bB.on(b,new i.Z(ue=>{var{event:N,element:Z}=ue;return this._toggleActiveState((0,n.Z)(Z),!0,N)}),new i.Z(ue=>{var{event:N,element:Z}=ue;return this._toggleActiveState((0,n.Z)(Z),!1,N)},{excludeValidators:["disabled","readOnly"]}
1),{showTimeout:this._feedbackShowTimeout,hideTimeout:this._feedbackHideTimeout,selector:g,namespace:"UIFeedback"})},_detachFocusEvents(){var c=this._focusEventTarget();A.T_.off(c,{namespace:"".concat(this.NAME,"Focus")})},_attachFocusEvents(){var c=this._focusEventTarget();A.T_.on(c,g=>this._focusInHandler(g),g=>this._focusOutHandler(g),{namespace:"".concat(this.NAME,"Focus"),isFocusable:(g,b)=>(0,n.Z)(b).is(I.KW)})},_hoverStartHandler:x.ZT,_hoverEndHandler:x.ZT,_toggleActiveState(c,g){this.option("isActive",g),c.toggleClass("dx-state-active",g)},_updatedHover(){var c=this._options.silent("hoveredElement");this._hover(c,c)},_findHoverTarget(c){return c&&c.closest(this._activeStateUnit||this._eventBindingTarget())},_hover(c,g){var{hoverStateEnabled:b,disabled:ue,isActive:N}=this.option();if((g=this._findHoverTarget(g))&&g.toggleClass("dx-state-hover",!1),c&&b&&!ue&&!N){var Z=this._findHoverTarget(c);Z&&Z.toggleClass("dx-state-hover",!0)}},_toggleDisabledState(c){this.$element().toggleClass("dx-state-disabled",Boolean(c)),this.setAria("disabled",c||void 0)},_toggleIndependentState(){this.$element().toggleClass("dx-state-independent",this.option("ignoreParentReadOnly"))},_setWidgetOption(c,g){if(this[c]){if((0,H.PO)(g[0]))return void(0,K.S6)(g[0],(Z,V)=>this._setWidgetOption(c,[Z,V]));var b=g[0],ue=g[1];1===g.length&&(ue=this.option(b));var N=this["".concat(c,"OptionMap")];this[c].option(N?N(b):b,ue)}},_optionChanged(c){var{name:g,value:b,previousValue:ue}=c;switch(g){case"disabled":this._toggleDisabledState(b),this._updatedHover(),this._refreshFocusState();break;case"hint":this._renderHint();break;case"ignoreParentReadOnly":this._toggleIndependentState();break;case"activeStateEnabled":this._attachFeedbackEvents();break;case"hoverStateEnabled":this._attachHoverEvents(),this._updatedHover();break;case"tabIndex":case"focusStateEnabled":this._refreshFocusState();break;case"onFocusIn":case"onFocusOut":case"useResizeObserver":break;case"accessKey":this._renderAccessKey();break;case"hoveredElement":this._hover(b,ue);break;case"isActive":this._updatedHover();break;case"visible":this._toggleVisibility(b),this._isVisibilityChangeSupported()&&this._checkVisibilityChanged(b?"shown":"hiding");break;case"onKeyboardHandled":this._attachKeyboardEvents();break;case"onContentReady":this._initContentReadyAction();break;default:this.callBase(c)}},_isVisible(){var{visible:c}=this.option();return this.callBase()&&c},beginUpdate(){this._ready(!1),this.callBase()},endUpdate(){this.callBase(),this._initialized&&this._ready(!0)},_ready(c){if(0===arguments.length)return this._isReady;this._isReady=c},setAria(){if((0,H.PO)(arguments.length<=0?void 0:arguments[0])){var c=(arguments.length<=1?void 0:arguments[1])||this._getAriaTarget();(0,K.S6)(arguments.length<=0?void 0:arguments[0],(g,b)=>U(g,b,c))}else U(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],(arguments.length<=2?void 0:arguments[2])||this._getAriaTarget())},isReady(){return this._ready()},repaint(){this._refresh()},focus(){A.T_.trigger(this._focusTarget())},registerKeyHandler(c,g){var b=this._supportedKeys();this._supportedKeys=()=>(0,W.l)(b,{[c]:g})}});Y.getOptionsFromContainer=c=>{var{name:g,fullName:b,value:ue}=c,N={};return g===b?N=ue:N[b.split(".").pop()]=ue,N};const S=Y},22528:(Je,Ae,a)=>{a.d(Ae,{OM:()=>ue,bI:()=>S,py:()=>d,sY:()=>F});var n=a(21374),i=a(83520),ie="dx-inkripple",A="dx-inkripple-wave",x="dx-inkripple-showing",K="dx-inkripple-hiding",W=2,H=300,T=1e3,u=0,d=function(){var N=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{useHoldAnimation:Z,waveSizeCoefficient:V,isCentered:ne,wavesNumber:h}=N;return{waveSizeCoefficient:V||W,isCentered:ne||!1,wavesNumber:h||1,durations:g(Z??!0)}},F=function(N){var Z=d(N);return{showWave:S.bind(this,Z),hideWave:ue.bind(this,Z)}},U=function(N,Z){for(var V=function(N){var Z=N.children("."+ie);return 0===Z.length&&(Z=(0,i.Z)("<div>").addClass(ie).appendTo(N)),Z}((0,i.Z)(N)),ne=V.children("."+A).toArray(),h=ne.length;h<Z;h++){var E=(0,i.Z)("<div>").appendTo(V).addClass(A);ne.push(E[0])}return(0,i.Z)(ne)},Y=function(N,Z){var M,w,V=(0,i.Z)(Z.element),ne=(0,n.Y_)(V),h=(0,n.zp)(V),E=parseInt(Math.sqrt(ne*ne+h*h)),L=Math.min(4e3,parseInt(E*N.waveSizeCoefficient));if(N.isCentered)M=(ne-L)/2,w=(h-L)/2;else{var Q=Z.event,ae=V.offset();M=Q.pageX-ae.left-L/2,w=Q.pageY-ae.top-L/2}return{left:M,top:w,height:L,width:L}};function S(N,Z){var V=U(Z.element,N.wavesNumber).eq(Z.wave||u);N.hidingTimeout&&clearTimeout(N.hidingTimeout),b(V),V.css(Y(N,Z)),N.showingTimeout=setTimeout(c.bind(this,N,V),0)}function c(N,Z){var V=N.durations.showingScale+"ms";Z.addClass(x).css("transitionDuration",V)}function g(N){return{showingScale:N?T:H,hidingScale:H,hidingOpacity:H}}function b(N){N.removeClass(K).css("transitionDuration","")}function ue(N,Z){N.showingTimeout&&clearTimeout(N.showingTimeout);var V=U(Z.element,Z.wavesNumber).eq(Z.wave||u),ne=N.durations,h=ne.hidingScale+"ms, "+ne.hidingOpacity+"ms";V.addClass(K).removeClass(x).css("transitionDuration",h);var E=Math.max(ne.hidingScale,ne.hidingOpacity);N.hidingTimeout=setTimeout(b.bind(this,V),E)}},77400:(Je,Ae,a)=>{a.d(Ae,{a:()=>K});var n=a(72954);function i(W){return null==W}function A(W){return void 0===W}var x={onComponentDidMount:1,onComponentDidUpdate:1,onComponentShouldUpdate:1,onComponentWillMount:1,onComponentWillUnmount:1,onComponentWillUpdate:1};function K(W,I,H){var u,Y,T=arguments,d=null,F=null,q=null,U=0,S=arguments.length-2;if(1===S)u=H;else if(S>1)for(u=[];S-- >0;)u[S]=T[S+2];if(!function ie(W){return"string"==typeof W}(W)){if(U=2,A(u)||(I||(I={}),I.children=u),!i(I))for(var g in Y={},I)"key"===g?F=I.key:"ref"===g?d=I.ref:1===x[g]?(d||(d={}),d[g]=I[g]):Y[g]=I[g];return(0,n.Iz)(U,W,Y,F,d)}if(U=(0,n.Dm)(W),!i(I))for(var c in Y={},I)"className"===c||"class"===c?q=I[c]:"key"===c?F=I.key:"children"===c&&A(u)?u=I.children:"ref"===c?d=I.ref:("contenteditable"===c&&(U|=4096),Y[c]=I[c]);return 8192&U?(0,n.xJ)(1===S?[u]:u,0,F):(0,n.Wm)(U,W,q,u,0,Y,F,d)}},72954:(Je,Ae,a)=>{a.d(Ae,{wA:()=>f,kT:()=>F,NK:()=>Ht,Cc:()=>De,_M:()=>Mt,_7:()=>It,_2:()=>Ve,vc:()=>Ut,w7:()=>kt,j4:()=>xt,F1:()=>Wt,Iz:()=>z,xJ:()=>Oe,Vf:()=>mt,Wm:()=>pe,lN:()=>Z,Dm:()=>y,vs:()=>O,sY:()=>pn,k4:()=>mn});var n=Array.isArray;function i(s){var C=typeof s;return"string"===C||"number"===C}function ie(s){return null==s}function A(s){return null===s||!1===s||!0===s||void 0===s}function x(s){return"function"==typeof s}function K(s){return"string"==typeof s}function I(s){return null===s}function H(s){return void 0===s}function T(s,C){var j={};if(s)for(var _e in s)j[_e]=s[_e];if(C)for(var Re in C)j[Re]=C[Re];return j}function d(s){return!I(s)&&"object"==typeof s}var F={},q="$F";function U(s){return s.substr(2).toLowerCase()}function Y(s,C){s.appendChild(C)}function S(s,C,j){I(j)?Y(s,C):s.insertBefore(C,j)}function b(s,C){s.removeChild(C)}function ue(s){for(var C=0;C<s.length;C++)s[C]()}function N(s,C,j){var _e=s.children;return 4&j?_e.$LI:8192&j?2===s.childFlags?_e:_e[C?0:_e.length-1]:_e}function Z(s,C){for(var j;s;){if(2033&(j=s.flags))return s.dom;s=N(s,C,j)}return null}function V(s,C){do{var j=s.flags;if(2033&j)return void b(C,s.dom);var _e=s.children;
1if(4&j&&(s=_e.$LI),8&j&&(s=_e),8192&j){if(2!==s.childFlags){for(var Re=0,Le=_e.length;Re<Le;++Re)V(_e[Re],C);return}s=_e}}while(s)}function ne(s,C,j){do{var _e=s.flags;if(2033&_e)return void S(C,s.dom,j);var Re=s.children;if(4&_e&&(s=Re.$LI),8&_e&&(s=Re),8192&_e){if(2!==s.childFlags){for(var Le=0,ze=Re.length;Le<ze;++Le)ne(Re[Le],C,j);return}s=Re}}while(s)}function h(s,C,j){return s.constructor.getDerivedStateFromProps?T(j,s.constructor.getDerivedStateFromProps(C,j)):j}var E={v:!1},L={componentComparator:null,createVNode:null,renderComplete:null};function M(s,C){s.textContent=C}function w(s,C){return d(s)&&s.event===C.event&&s.data===C.data}function Q(s,C){for(var j in C)H(s[j])&&(s[j]=C[j]);return s}function ae(s,C){return!!x(s)&&(s(C),!0)}var ce="$";function Me(s,C,j,_e,Re,Le,ze,$e){this.childFlags=s,this.children=C,this.className=j,this.dom=null,this.flags=_e,this.key=void 0===Re?null:Re,this.props=void 0===Le?null:Le,this.ref=void 0===ze?null:ze,this.type=$e}function pe(s,C,j,_e,Re,Le,ze,$e){var lt=void 0===Re?1:Re,st=new Me(lt,_e,j,s,ze,Le,$e,C);return L.createVNode&&L.createVNode(st),0===lt&&se(st,st.children),st}function z(s,C,j,_e,Re){s=function J(s,C){return 12&s?s:C.prototype&&C.prototype.render?4:C.render?32776:8}(s,C);var Le=new Me(1,null,null,s,_e,function Ce(s,C,j){var _e=(32768&s?C.render:C).defaultProps;return ie(_e)?j:ie(j)?T(_e,null):Q(j,_e)}(s,C,j),function Se(s,C,j){if(4&s)return j;var _e=(32768&s?C.render:C).defaultHooks;return ie(_e)?j:ie(j)?_e:Q(j,_e)}(s,C,Re),C);return L.createVNode&&L.createVNode(Le),Le}function le(s,C){return new Me(1,ie(s)||!0===s||!1===s?"":s,null,16,C,null,null,null)}function Oe(s,C,j){var _e=pe(8192,8192,null,s,C,null,j,null);switch(_e.childFlags){case 1:_e.children=ye(),_e.childFlags=2;break;case 16:_e.children=[le(s)],_e.childFlags=4}return _e}function O(s){var C=s.props;if(C){var j=s.flags;481&j&&(void 0!==C.children&&ie(s.children)&&se(s,C.children),void 0!==C.className&&(ie(s.className)&&(s.className=C.className||null),C.className=void 0)),void 0!==C.key&&(s.key=C.key,C.key=void 0),void 0!==C.ref&&(s.ref=8&j?T(s.ref,C.ref):C.ref,C.ref=void 0)}return s}function G(s){var C=-16385&s.flags,j=s.props;if(14&C&&!I(j)){var _e=j;for(var Re in j={},_e)j[Re]=_e[Re]}return 8192&C?function l(s){var C=s.children,j=s.childFlags;return Oe(2===j?G(C):C.map(G),j,s.key)}(s):new Me(s.childFlags,s.children,s.className,C,s.key,j,s.ref,s.type)}function ye(){return le("",null)}function p(s,C,j,_e){for(var Re=s.length;j<Re;j++){var Le=s[j];if(!A(Le)){var ze=_e+ce+j;
1if(n(Le))p(Le,C,0,ze);else{if(i(Le))Le=le(Le,ze);else{var $e=Le.key,lt=K($e)&&$e[0]===ce;(81920&Le.flags||lt)&&(Le=G(Le)),Le.flags|=65536,lt?$e.substring(0,_e.length)!==_e&&(Le.key=_e+$e):Le.key=I($e)?ze:_e+$e}C.push(Le)}}}}function y(s){switch(s){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case q:return 8192;default:return 1}}function se(s,C){var j,_e=1;if(A(C))j=C;else if(i(C))_e=16,j=C;else if(n(C)){for(var Re=C.length,Le=0;Le<Re;++Le){var ze=C[Le];if(A(ze)||n(ze)){j=j||C.slice(0,Le),p(C,j,Le,"");break}if(i(ze))(j=j||C.slice(0,Le)).push(le(ze,ce+Le));else{var $e=ze.key,lt=(81920&ze.flags)>0,st=I($e),rt=K($e)&&$e[0]===ce;lt||st||rt?(j=j||C.slice(0,Le),(lt||rt)&&(ze=G(ze)),(st||rt)&&(ze.key=ce+Le),j.push(ze)):j&&j.push(ze),ze.flags|=65536}}_e=0===(j=j||C).length?1:8}else(j=C).flags|=65536,81920&C.flags&&(j=G(C)),_e=2;return s.children=j,s.childFlags=_e,s}function De(s){return A(s)||i(s)?le(s,null):n(s)?Oe(s,0,null):16384&s.flags?G(s):s}var ge="http://www.w3.org/1999/xlink",ke="http://www.w3.org/XML/1998/namespace",Ne={"xlink:actuate":ge,"xlink:arcrole":ge,"xlink:href":ge,"xlink:role":ge,"xlink:show":ge,"xlink:title":ge,"xlink:type":ge,"xml:base":ke,"xml:lang":ke,"xml:space":ke};function Ge(s){return{onClick:s,onDblClick:s,onFocusIn:s,onFocusOut:s,onKeyDown:s,onKeyPress:s,onKeyUp:s,onMouseDown:s,onMouseMove:s,onMouseUp:s,onTouchEnd:s,onTouchMove:s,onTouchStart:s}}var tt=Ge(0),xe=Ge(null),Pe=Ge(!0);function fe(s,C){var j=C.$EV;return j||(j=C.$EV=Ge(null)),j[s]||1==++tt[s]&&(xe[s]=function Te(s){var C="onClick"===s||"onDblClick"===s?function P(s){return function(C){0===C.button?We(C,!0,s,k(C)):C.stopPropagation()}}(s):function te(s){return function(C){We(C,!1,s,k(C))}}(s);return document.addEventListener(U(s),C),C}(s)),j}function He(s,C){var j=C.$EV;j&&j[s]&&(0==--tt[s]&&(document.removeEventListener(U(s),xe[s]),xe[s]=null),j[s]=null)}function We(s,C,j,_e){var Re=function Qe(s){return x(s.composedPath)?s.composedPath()[0]:s.target}(s);do{if(C&&Re.disabled)return;var Le=Re.$EV;if(Le){var ze=Le[j];if(ze&&(_e.dom=Re,ze.event?ze.event(ze.data,s):ze(s),s.cancelBubble))return}Re=Re.parentNode}while(!I(Re))}function Xe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function me(){return this.defaultPrevented}function et(){return this.cancelBubble}function k(s){var C={dom:document};return s.isDefaultPrevented=me,s.isPropagationStopped=et,s.stopPropagation=Xe,Object.defineProperty(s,"currentTarget",{configurable:!0,get:function(){return C.dom}}),C}function Ke(s,C,j){if(s[C]){var _e=s[C];_e.event?_e.event(_e.data,j):_e(j)}else{var Re=C.toLowerCase();s[Re]&&s[Re](j)}}function be(s,C){var j=function(_e){var Re=this.$V;if(Re){var Le=Re.props||F,ze=Re.dom;if(K(s))Ke(Le,s,_e);else for(var $e=0;$e<s.length;++$e)Ke(Le,s[$e],_e);if(x(C)){var lt=this.$V;C(lt.props||F,ze,!1,lt)}}};return Object.defineProperty(j,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),j}function we(s,C,j){var _e="$"+C,Re=s[_e];if(Re){if(Re[1].wrapped)return;s.removeEventListener(Re[0],Re[1]),s[_e]=null}x(j)&&(s.addEventListener(C,j),s[_e]=[C,j])}function B(s){return"checkbox"===s||"radio"===s}var de=be("onInput",ve),D=be(["onClick","onChange"],ve);function m(s){s.stopPropagation()}function ve(s,C){var j=s.type,_e=s.value,Re=s.checked,Le=s.multiple,ze=s.defaultValue,$e=!ie(_e);j&&j!==C.type&&C.setAttribute("type",j),!ie(Le)&&Le!==C.multiple&&(C.multiple=Le),!ie(ze)&&!$e&&(C.defaultValue=ze+""),B(j)?($e&&(C.value=_e),ie(Re)||(C.checked=Re)):$e&&C.value!==_e?(C.defaultValue=_e,C.value=_e):ie(Re)||(C.checked=Re)}function Be(s,C){if("option"===s.type)!function Ue(s,C){var j=s.props||F,_e=s.dom;_e.value=j.value,j.value===C||n(C)&&-1!==C.indexOf(j.value)?_e.selected=!0:(!ie(C)||!ie(j.selected))&&(_e.selected=j.selected||!1)}(s,C);else{var j=s.children,_e=s.flags;if(4&_e)Be(j.$LI,C);else if(8&_e)Be(j,C);else if(2===s.childFlags)Be(j,C);else if(12&s.childFlags)for(var Re=0,Le=j.length;Re<Le;++Re)Be(j[Re],C)}}m.wrapped=!0;var X=be("onChange",re);function re(s,C,j,_e){var Re=Boolean(s.multiple);!ie(s.multiple)&&Re!==C.multiple&&(C.multiple=Re);var Le=s.selectedIndex;if(-1===Le&&(C.selectedIndex=-1),1!==_e.childFlags){var $e=s.value;(function W(s){return"number"==typeof s})(Le)&&Le>-1&&C.options[Le]&&($e=C.options[Le].value),j&&ie($e)&&($e=s.defaultValue),Be(_e,$e)}}var Ie=be("onInput",it),Ze=be("onChange");function it(s,C,j){var _e=s.value,Re=C.value;if(ie(_e)){if(j){var Le=s.defaultValue;!ie(Le)&&Le!==Re&&(C.defaultValue=Le,C.value=Le)}}else Re!==_e&&(C.defaultValue=_e,C.value=_e)}
1function at(s,C,j,_e,Re,Le){64&s?ve(_e,j):256&s?re(_e,j,Re,C):128&s&&it(_e,j,Re),Le&&(j.$V=C)}function ct(s){return s.type&&B(s.type)?!ie(s.checked):!ie(s.value)}function mt(){return{current:null}}function Ct(s){s&&!ae(s,null)&&s.current&&(s.current=null)}function xt(s,C,j){s&&(x(s)||void 0!==s.current)&&j.push(function(){!ae(s,C)&&void 0!==s.current&&(s.current=C)})}function yt(s,C){Tt(s),V(s,C)}function Tt(s){var _e,C=s.flags,j=s.children;if(481&C){var Re=s.props;Ct(_e=s.ref);var Le=s.childFlags;if(!I(Re))for(var ze=Object.keys(Re),$e=0,lt=ze.length;$e<lt;$e++){var st=ze[$e];Pe[st]&&He(st,s.dom)}12&Le?St(j):2===Le&&Tt(j)}else j&&(4&C?(x(j.componentWillUnmount)&&j.componentWillUnmount(),Ct(s.ref),j.$UN=!0,Tt(j.$LI)):8&C?(!ie(_e=s.ref)&&x(_e.onComponentWillUnmount)&&_e.onComponentWillUnmount(Z(s,!0),s.props||F),Tt(j)):1024&C?yt(j,s.ref):8192&C&&12&s.childFlags&&St(j))}function St(s){for(var C=0,j=s.length;C<j;++C)Tt(s[C])}function Et(s){s.textContent=""}function wt(s,C,j){St(j),8192&C.flags?V(C,s):Et(s)}function Kt(s,C,j,_e,Re,Le,ze){switch(s){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":_e.autofocus=!!j;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":_e[s]=!!j;break;case"defaultChecked":case"value":case"volume":if(Le&&"value"===s)break;var $e=ie(j)?"":j;_e[s]!==$e&&(_e[s]=$e);break;case"style":!function Yt(s,C,j){if(ie(C))j.removeAttribute("style");else{var Re,Le,_e=j.style;if(K(C))_e.cssText=C;else if(ie(s)||K(s))for(Re in C)_e.setProperty(Re,Le=C[Re]);else{for(Re in C)(Le=C[Re])!==s[Re]&&_e.setProperty(Re,Le);for(Re in s)ie(C[Re])&&_e.removeProperty(Re)}}}(C,j,_e);break;case"dangerouslySetInnerHTML":!function Jt(s,C,j,_e){var Le=C&&C.__html||"";(s&&s.__html||"")!==Le&&!ie(Le)&&!function Fe(s,C){var j=document.createElement("i");return j.innerHTML=C,j.innerHTML===s.innerHTML}(_e,Le)&&(I(j)||(12&j.childFlags?St(j.children):2===j.childFlags&&Tt(j.children),j.children=null,j.childFlags=1),_e.innerHTML=Le)}(C,j,ze,_e);break;default:Pe[s]?function je(s,C,j,_e){if(x(j))fe(s,_e)[s]=j;else if(d(j)){if(w(C,j))return;fe(s,_e)[s]=j}else He(s,_e)}(s,C,j,_e):111===s.charCodeAt(0)&&110===s.charCodeAt(1)?function Nt(s,C,j,_e){if(d(j)){if(w(C,j))return;j=function Zt(s){var C=s.event;return function(j){C(s.data,j)}}(j)}we(_e,U(s),j)}(s,C,j,_e):ie(j)?_e.removeAttribute(s):Re&&Ne[s]?_e.setAttributeNS(Ne[s],s,j):_e.setAttribute(s,j)}}function kt(s,C,j,_e,Re){var Le=!1,ze=(448&C)>0;for(var $e in ze&&(Le=ct(j))&&function ut(s,C,j){64&s?function ee(s,C){B(C.type)?(we(s,"change",D),we(s,"click",m)):we(s,"input",de)}(C,j):256&s?function v(s){we(s,"change",X)}(C):128&s&&function nt(s,C){we(s,"input",Ie),C.onChange&&we(s,"change",Ze)}(C,j)}(C,_e,j),j)Kt($e,null,j[$e],_e,Re,Le,null);ze&&at(C,s,_e,j,!0,Le)}function At(s,C,j){var _e=De(s.render(C,s.state,j)),Re=j;return x(s.getChildContext)&&(Re=T(j,s.getChildContext())),s.$CX=Re,_e}function Ht(s,C,j,_e,Re,Le){var ze=new C(j,_e),$e=ze.$N=Boolean(C.getDerivedStateFromProps||ze.getSnapshotBeforeUpdate);if(ze.$SVG=Re,ze.$L=Le,s.children=ze,ze.$BS=!1,ze.context=_e,ze.props===F&&(ze.props=j),$e)ze.state=h(ze,j,ze.state);else if(x(ze.componentWillMount)){ze.$BR=!0,ze.componentWillMount();var lt=ze.$PS;if(!I(lt)){var st=ze.state;if(I(st))ze.state=lt;else for(var rt in lt)st[rt]=lt[rt];ze.$PS=null}ze.$BR=!1}return ze.$LI=At(ze,j,_e),ze}function Wt(s,C){var j=s.props||F;return 32768&s.flags?s.type.render(j,s.ref,C):s.type(j,C)}function Mt(s,C,j,_e,Re,Le){var ze=s.flags|=16384;481&ze?Ve(s,C,j,_e,Re,Le):4&ze?function dt(s,C,j,_e,Re,Le){var ze=Ht(s,s.type,s.props||F,j,_e,Le);Mt(ze.$LI,C,ze.$CX,_e,Re,Le),It(s.ref,ze,Le)}(s,C,j,_e,Re,Le):8&ze?(function pt(s,C,j,_e,Re,Le){Mt(s.children=De(Wt(s,j)),C,j,_e,Re,Le)}(s,C,j,_e,Re,Le),Ut(s,Le)):512&ze||16&ze?Ee(s,C,Re):8192&ze?function he(s,C,j,_e,Re,Le){var ze=s.children,$e=s.childFlags;12&$e&&0===ze.length&&($e=s.childFlags=2,ze=s.children=ye()),2===$e?Mt(ze,j,C,_e,Re,Le):qe(ze,j,C,_e,Re,Le)}(s,j,C,_e,Re,Le):1024&ze&&function Xt(s,C,j,_e,Re){Mt(s.children,s.ref,C,!1,null,Re);var Le=ye();Ee(Le,j,_e),s.dom=Le.dom}(s,j,C,Re,Le)}function Ee(s,C,j){var _e=s.dom=document.createTextNode(s.children);I(C)||S(C,_e,j)}function Ve(s,C,j,_e,Re,Le){var ze=s.flags,$e=s.props,lt=s.className,st=s.childFlags,rt=s.dom=function c(s,C){return C?document.createElementNS("http://www.w3.org/2000/svg",s):document.createElement(s)}(s.type,_e=_e||(32&ze)>0),ht=s.children;if(!ie(lt)&&""!==lt&&(_e?rt.setAttribute("class",lt):rt.className=lt),16===st)M(rt,ht);else if(1!==st){var _t=_e&&"foreignObject"!==s.type;2===st?(16384&ht.flags&&(s.children=ht=G(ht)),Mt(ht,rt,j,_t,null,Le)):(8===st||4===st)&&qe(ht,rt,j,_t,null,Le)}I(C)||S(C,rt,Re),I($e)||kt(s,ze,$e,rt,_e),xt(s.ref,rt,Le)}function qe(s,C,j,_e,Re,Le){for(var ze=0;ze<s.length;++ze){var $e=s[ze];16384&$e.flags&&(s[ze]=$e=G($e)),Mt($e,C,j,_e,Re,Le)}}function It(s,C,j){xt(s,C,j),x(C.componentDidMount)&&j.push(function bt(s){return function(){s.componentDidMount()}}(C))}function Ut(s,C){var j=s.ref;ie(j)||(ae(j.onComponentWillMount,s.props||F),x(j.onComponentDidMount)&&C.push(function Qt(s,C){return function(){s.onComponentDidMount(Z(C,!0),C.props||F)}}(j,s)))}function Ft(s,C,j,_e,Re,Le,ze){var $e=C.flags|=16384;s.flags!==$e||s.type!==C.type||s.key!==C.key||2048&$e?16384&s.flags?function rn(s,C,j,_e,Re,Le){Tt(s),C.flags&s.flags&2033?(Mt(C,null,_e,Re,null,Le),function g(s,C,j){s.replaceChild(C,j)}(j,C.dom,s.dom)):(Mt(C,j,_e,Re,Z(s,!0),Le),V(s,j))}(s,C,j,_e,Re,ze):Mt(C,j,_e,Re,Le,ze):481&$e?function dn(s,C,j,_e,Re,Le){var ht,ze=C.dom=s.dom,$e=s.props,lt=C.props,st=!1,rt=!1;if(_e=_e||(32&Re)>0,$e!==lt){var _t=$e||F;if((ht=lt||F)!==F)for(var Dt in(st=(448&Re)>0)&&(rt=ct(ht)),ht){var gt=_t[Dt],Bt=ht[Dt];gt!==Bt&&Kt(Dt,gt,Bt,ze,_e,rt,s)}if(_t!==F)for(var vt in _t)ie(ht[vt])&&!ie(_t[vt])&&Kt(vt,_t[vt],null,ze,_e,rt,s)}var en=C.children,zt=C.className;s.className!==zt&&(ie(zt)?ze.removeAttribute("class"):_e?ze.setAttribute("class",zt):ze.className=zt),4096&Re?function bn(s,C){s.textContent!==C&&(s.textContent=C)}(ze,en):_n(s.childFlags,C.childFlags,s.children,en,ze,j,_e&&"foreignObject"!==C.type,null,s,Le),st&&at(Re,C,ze,ht,!1,rt);var fn=C.ref,jt=s.ref;jt!==fn&&(Ct(jt),xt(fn,ze,Le))}(s,C,_e,Re,$e,ze):4&$e?function Tn(s,C,j,_e,Re,Le,ze){var $e=C.children=s.children;if(!I($e)){$e.$L=ze;var lt=C.props||F,st=C.ref,rt=s.ref,ht=$e.state;
1if(!$e.$N){if(x($e.componentWillReceiveProps)){if($e.$BR=!0,$e.componentWillReceiveProps(lt,_e),$e.$UN)return;$e.$BR=!1}I($e.$PS)||(ht=T(ht,$e.$PS),$e.$PS=null)}un($e,ht,lt,j,_e,Re,!1,Le,ze),rt!==st&&(Ct(rt),xt(st,$e,ze))}}(s,C,j,_e,Re,Le,ze):8&$e?function Lt(s,C,j,_e,Re,Le,ze){var $e=!0,lt=C.props||F,st=C.ref,rt=s.props,ht=!ie(st),_t=s.children;if(ht&&x(st.onComponentShouldUpdate)&&($e=st.onComponentShouldUpdate(rt,lt)),!1!==$e){ht&&x(st.onComponentWillUpdate)&&st.onComponentWillUpdate(rt,lt);var Dt=De(Wt(C,_e));Ft(_t,Dt,j,_e,Re,Le,ze),C.children=Dt,ht&&x(st.onComponentDidUpdate)&&st.onComponentDidUpdate(rt,lt)}else C.children=_t}(s,C,j,_e,Re,Le,ze):16&$e?function Vt(s,C){var j=C.children,_e=C.dom=s.dom;j!==s.children&&(_e.nodeValue=j)}(s,C):512&$e?C.dom=s.dom:8192&$e?function xn(s,C,j,_e,Re,Le){var ze=s.children,$e=C.children,lt=s.childFlags,st=C.childFlags,rt=null;12&st&&0===$e.length&&(st=C.childFlags=2,$e=C.children=ye());var ht=0!=(2&st);if(12<){var _t=ze.length;(8<&&8&st||ht||!ht&&$e.length>_t)&&(rt=Z(ze[_t-1],!1).nextSibling)}_n(lt,st,ze,$e,j,_e,Re,rt,s,Le)}(s,C,j,_e,Re,ze):function ln(s,C,j,_e){var Re=s.ref,Le=C.ref,ze=C.children;if(_n(s.childFlags,C.childFlags,s.children,ze,Re,j,!1,null,s,_e),C.dom=s.dom,Re!==Le&&!A(ze)){var $e=ze.dom;b(Re,$e),Y(Le,$e)}}(s,C,_e,ze)}function _n(s,C,j,_e,Re,Le,ze,$e,lt,st){switch(s){case 2:switch(C){case 2:Ft(j,_e,Re,Le,ze,$e,st);break;case 1:yt(j,Re);break;case 16:Tt(j),M(Re,_e);break;default:!function Mn(s,C,j,_e,Re,Le){Tt(s),qe(C,j,_e,Re,Z(s,!0),Le),V(s,j)}(j,_e,Re,Le,ze,st)}break;case 1:switch(C){case 2:Mt(_e,Re,Le,ze,$e,st);break;case 1:break;case 16:M(Re,_e);break;default:qe(_e,Re,Le,ze,$e,st)}break;case 16:switch(C){case 16:!function gn(s,C,j){s!==C&&(""!==s?j.firstChild.nodeValue=C:M(j,C))}(j,_e,Re);break;case 2:Et(Re),Mt(_e,Re,Le,ze,$e,st);break;case 1:Et(Re);break;default:Et(Re),qe(_e,Re,Le,ze,$e,st)}break;default:switch(C){case 16:St(j),M(Re,_e);break;case 2:wt(Re,lt,j),Mt(_e,Re,Le,ze,$e,st);break;case 1:wt(Re,lt,j);break;default:var rt=0|j.length,ht=0|_e.length;0===rt?ht>0&&qe(_e,Re,Le,ze,$e,st):0===ht?wt(Re,lt,j):8===C&&8===s?function Cn(s,C,j,_e,Re,Le,ze,$e,lt,st){var Bt,vt,rt=Le-1,ht=ze-1,_t=0,Dt=s[_t],gt=C[_t];e:{for(;Dt.key===gt.key;){if(16384>.flags&&(C[_t]=gt=G(gt)),Ft(Dt,gt,j,_e,Re,$e,st),s[_t]=gt,++_t>rt||_t>ht)break e;Dt=s[_t],gt=C[_t]}for(Dt=s[rt],gt=C[ht];Dt.key===gt.key;){if(16384>.flags&&(C[ht]=gt=G(gt)),Ft(Dt,gt,j,_e,Re,$e,st),s[rt]=gt,ht--,_t>--rt||_t>ht)break e;Dt=s[rt],gt=C[ht]}}if(_t>rt){if(_t<=ht)for(vt=(Bt=ht+1)<ze?Z(C[Bt],!0):$e;_t<=ht;)16384&(gt=C[_t]).flags&&(C[_t]=gt=G(gt)),++_t,Mt(gt,j,_e,Re,vt,st)}else if(_t>ht)for(;_t<=rt;)yt(s[_t++],j);else!function yn(s,C,j,_e,Re,Le,ze,$e,lt,st,rt,ht,_t){var Dt,gt,Bt,vt=0,en=$e,zt=$e,fn=Le-$e+1,jt=ze-$e+1,vn=new Int32Array(jt+1),tn=fn===_e,En=!1,Rt=0,On=0;if(Re<4||(fn|jt)<32)for(vt=en;vt<=Le;++vt)if(Dt=s[vt],On<jt){for($e=zt;$e<=ze;$e++)if(Dt.key===(gt=C[$e]).key){if(vn[$e-zt]=vt+1,tn)for(tn=!1;en<vt;)yt(s[en++],lt);Rt>$e?En=!0:Rt=$e,16384>.flags&&(C[$e]=gt=G(gt)),Ft(Dt,gt,lt,j,st,rt,_t),++On;break}!tn&&$e>ze&&yt(Dt,lt)}else tn||yt(Dt,lt);else{var Pn={};for(vt=zt;vt<=ze;++vt)Pn[C[vt].key]=vt;for(vt=en;vt<=Le;++vt)if(Dt=s[vt],On<jt)if(void 0!==($e=Pn[Dt.key])){if(tn)for(tn=!1;vt>en;)yt(s[en++],lt);vn[$e-zt]=vt+1,Rt>$e?En=!0:Rt=$e,16384&(gt=C[$e]).flags&&(C[$e]=gt=G(gt)),Ft(Dt,gt,lt,j,st,rt,_t),++On}else tn||yt(Dt,lt);else tn||yt(Dt,lt)}if(tn)wt(lt,ht,s),qe(C,lt,j,st,rt,_t);else if(En){var Rn=function Gt(s){var C=0,j=0,_e=0,Re=0,Le=0,ze=0,$e=0,lt=s.length;for(lt>qt&&(qt=lt,$t=new Int32Array(lt),cn=new Int32Array(lt));j<lt;++j)if(0!==(C=s[j])){if(s[_e=$t[Re]]<C){cn[j]=_e,$t[++Re]=j;continue}for(Le=0,ze=Re;Le<ze;)s[$t[$e=Le+ze>>1]]<C?Le=$e+1:ze=$e;C<s[$t[Le]]&&(Le>0&&(cn[j]=$t[Le-1]),$t[Le]=j)}Le=Re+1;var st=new Int32Array(Le);for(ze=$t[Le-1];Le-- >0;)st[Le]=ze,ze=cn[ze],$t[Le]=0;return st}(vn);for($e=Rn.length-1,vt=jt-1;vt>=0;vt--)0===vn[vt]?(16384&(gt=C[Rt=vt+zt]).flags&&(C[Rt]=gt=G(gt)),Mt(gt,lt,j,st,(Bt=Rt+1)<Re?Z(C[Bt],!0):rt,_t)):$e<0||vt!==Rn[$e]?ne(gt=C[Rt=vt+zt],lt,(Bt=Rt+1)<Re?Z(C[Bt],!0):rt):$e--}else if(On!==jt)for(vt=jt-1;vt>=0;vt--)0===vn[vt]&&(16384&(gt=C[Rt=vt+zt]).flags&&(C[Rt]=gt=G(gt)),Mt(gt,lt,j,st,(Bt=Rt+1)<Re?Z(C[Bt],!0):rt,_t))}(s,C,_e,Le,ze,rt,ht,_t,j,Re,$e,lt,st)}
1(j,_e,Re,Le,ze,rt,ht,$e,lt,st):function hn(s,C,j,_e,Re,Le,ze,$e,lt){for(var ht,_t,st=Le>ze?ze:Le,rt=0;rt<st;++rt)_t=s[rt],16384&(ht=C[rt]).flags&&(ht=C[rt]=G(ht)),Ft(_t,ht,j,_e,Re,$e,lt),s[rt]=ht;if(Le<ze)for(rt=st;rt<ze;++rt)16384&(ht=C[rt]).flags&&(ht=C[rt]=G(ht)),Mt(ht,j,_e,Re,$e,lt);else if(Le>ze)for(rt=st;rt<Le;++rt)yt(s[rt],j)}(j,_e,Re,Le,ze,rt,ht,$e,st)}}}function un(s,C,j,_e,Re,Le,ze,$e,lt){var st=s.state,rt=s.props,ht=Boolean(s.$N),_t=x(s.shouldComponentUpdate);if(ht&&(C=h(s,j,C!==st?T(st,C):C)),ze||!_t||_t&&s.shouldComponentUpdate(j,C,Re)){!ht&&x(s.componentWillUpdate)&&s.componentWillUpdate(j,C,Re),s.props=j,s.state=C,s.context=Re;var Dt=null,gt=At(s,j,Re);ht&&x(s.getSnapshotBeforeUpdate)&&(Dt=s.getSnapshotBeforeUpdate(rt,st)),Ft(s.$LI,gt,_e,s.$CX,Le,$e,lt),s.$LI=gt,x(s.componentDidUpdate)&&function Sn(s,C,j,_e,Re){Re.push(function(){s.componentDidUpdate(C,j,_e)})}(s,rt,st,Dt,lt)}else s.props=j,s.state=C,s.context=Re}var $t,cn,qt=0;function pn(s,C,j,_e){void 0===j&&(j=null),void 0===_e&&(_e=F),function In(s,C,j,_e){var Re=[],Le=C.$V;E.v=!0,ie(Le)?ie(s)||(16384&s.flags&&(s=G(s)),Mt(s,C,_e,!1,null,Re),C.$V=s,Le=s):ie(s)?(yt(Le,C),C.$V=null):(16384&s.flags&&(s=G(s)),Ft(Le,s,C,_e,!1,null,Re),Le=C.$V=s),ue(Re),E.v=!1,x(j)&&j(),x(L.renderComplete)&&L.renderComplete(Le,C)}(s,C,j,_e)}typeof document<"u"&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var on=[],wn=typeof Promise<"u"?Promise.resolve().then.bind(Prom
1ise.resolve()):function(s){window.setTimeout(s,0)},Pt=!1;function ft(s,C,j,_e){var Re=s.$PS;if(x(C)&&(C=C(Re?T(s.state,Re):s.state,s.props,s.context)),ie(Re))s.$PS=C;else for(var Le in C)Re[Le]=C[Le];if(s.$BR)x(j)&&s.$L.push(j.bind(s));else{if(!E.v&&0===on.length)return Dn(s,_e),void(x(j)&&j.call(s));if(-1===on.indexOf(s)&&on.push(s),_e&&(s.$F=!0),Pt||(Pt=!0,wn(mn)),x(j)){var ze=s.$QU;ze||(ze=s.$QU=[]),ze.push(j)}}}function An(s){for(var C=s.$QU,j=0;j<C.length;++j)C[j].call(s);s.$QU=null}function mn(){var s;for(Pt=!1;s=on.shift();)if(!s.$UN){var C=s.$F;s.$F=!1,Dn(s,C),s.$QU&&An(s)}}function Dn(s,C){if(C||!s.$BR){var j=s.$PS;s.$PS=null;var _e=[];E.v=!0,un(s,T(s.state,j),s.props,Z(s.$LI,!0).parentNode,s.context,s.$SVG,C,null,_e),ue(_e),E.v=!1}else s.state=s.$PS,s.$PS=null}var f=function(C,j){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=C||F,this.context=j||F};f.prototype.forceUpdate=function(C){this.$UN||ft(this,{},C,!0)},f.prototype.setState=function(C,j){this.$UN||this.$BS||ft(this,C,j,!1)},f.prototype.render=function(C,j,_e){return null}},37705:(Je,Ae,a)=>{a.d(Ae,{O_:()=>E,Y4:()=>J,b6:()=>Y});var n=a(94650),i=a(36895),ie=a(591),A=a(56498),W=(a(5529),a(36053),a(87545));a(72986),a(24850),a(7625);const u=["*"];class d{constructor(O){this._ngZone=O,this._pending=[],this._listeners=[],this._targetStream=new ie.X(void 0)}_clearListeners(){for(const O of this._listeners)O.remove();this._listeners=[]}getLazyEmitter(O){return this._targetStream.pipe((0,W.w)(l=>{const G=new A.y(ye=>{if(!l)return void this._pending.push({observable:G,observer:ye});const R=l.addListener(O,p=>{this._ngZone.run(()=>ye.next(p))});return this._listeners.push(R),()=>R.remove()});return G}))}setTarget(O){const l=this._targetStream.value;O!==l&&(l&&(this._clearListeners(),this._pending=[]),this._targetStream.next(O),this._pending.forEach(G=>G.observable.subscribe(G.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}}const F={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"},q="500px",U="500px";let Y=(()=>{class Oe{constructor(l,G,ye){if(this._elementRef=l,this._ngZone=G,this._eventManager=new d(this._ngZone),this.height=q,this.width=U,this._options=F,this.mapInitialized=new n.vpe,this.authFailure=new n.vpe,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=(0,i.NF)(ye),this._isBrowser){const R=window;this._existingAuthFailureCallback=R.gm_authFailure,R.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}set center(l){this._center=l}set zoom(l){this._zoom=l}set options(l){this._options=l||F}ngOnChanges(l){(l.height||l.width)&&this._setSize();const G=this.googleMap;G&&(l.options&&G.setOptions(this._combineOptions()),l.center&&this._center&&G.setCenter(this._center),l.zoom&&null!=this._zoom&&G.setZoom(this._zoom),l.mapTypeId&&this.mapTypeId&&G.setMapTypeId(this.mapTypeId)
1)}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._ngZone.runOutsideAngular(()=>{this.googleMap=new google.maps.Map(this._mapEl,this._combineOptions())}),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap))}ngOnDestroy(){this._eventManager.destroy(),this._isBrowser&&(window.gm_authFailure=this._existingAuthFailureCallback)}fitBounds(l,G){this._assertInitialized(),this.googleMap.fitBounds(l,G)}panBy(l,G){this._assertInitialized(),this.googleMap.panBy(l,G)}panTo(l){this._assertInitialized(),this.googleMap.panTo(l)}panToBounds(l,G){this._assertInitialized(),this.googleMap.panToBounds(l,G)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_setSize(){if(this._mapEl){const l=this._mapEl.style;l.height=null===this.height?"":c(this.height)||q,l.width=null===this.width?"":c(this.width)||U}}_combineOptions(){const l=this._options||{};return{...l,center:this._center||l.center||F.center,zoom:this._zoom??l.zoom??F.zoom,mapTypeId:this.mapTypeId||l.mapTypeId||F.mapTypeId}}_assertInitialized(){}}return Oe.\u0275fac=function(l){return new(l||Oe)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.Lbi))},Oe.\u0275cmp=n.Xpm({type:Oe,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[n.TTD],ngContentSelectors:u,decls:2,vars:0,consts:[[1,"map-container"]],template:function(l,G){1&l&&(n.F$t(),n._UZ(0,"div",0),n.Hsn(1))},encapsulation:2,changeDetection:0}),Oe})();const S=/([A-Za-z%]+)$/;function c(Oe){return null==Oe?"":S.test(Oe)?Oe:`${Oe}px`}const h={position:{lat:37.421995,lng:-122.084092}};let E=(()=>{class Oe{constructor(l,G){this._googleMap=l,this._ngZone=G,this._eventManager=new d(this._ngZone),this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}set title(l){this._title=l}set position(l){this._position=l}set label(l){this._label=l}set clickable(l){this._clickable=l}set options(l){this._options=l}set icon(l){this._icon=l}set visible(l){this._visible=l}ngOnInit(){this._googleMap._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this.marker=new google.maps.Marker(this._combineOptions())}),this._assertInitialized(),this.marker.setMap(this._googleMap.googleMap),this._eventManager.setTarget(this.marker))}ngOnChanges(l){const{marker:G,_title:ye,_position:R,_label:p,_clickable:y,_icon:se,_visible:De}=this;G&&(l.options&&G.setOptions(this._combineOptions()),l.title&&void 0!==ye&&G.setTitle(ye),l.position&&R&&G.setPosition(R),l.label&&void 0!==p&&G.setLabel(p),l.clickable&&void 0!==y&&G.setClickable(y),l.icon&&se&&G.setIcon(se),l.visible&&void 0!==De&&G.setVisible(De))}ngOnDestroy(){this._eventManager.destroy(),this.marker&&this.marker.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_combineOptions(){const l=this._options||h;return{...l,title:this._title||l.title,position:this._position||l.position,label:this._label||l.label,clickable:this._clickable??l.clickable,map:this._googleMap.googleMap,icon:this._icon||l.icon,visible:this._visible??l.visible}}_assertInitialized(){}}return Oe.\u0275fac=function(l){return new(l||Oe)(n.Y36(Y),n.Y36(n.R0b))},Oe.\u0275dir=n.lG2({type:Oe,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapM
1ouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged"},exportAs:["mapMarker"],features:[n.TTD]}),Oe})(),J=(()=>{class Oe{}return Oe.\u0275fac=function(l){return new(l||Oe)},Oe.\u0275mod=n.oAB({type:Oe}),Oe.\u0275inj=n.cJS({}),Oe})()},63366:(Je,Ae,a)=>{function n(i,ie){if(null==i)return{};var K,W,A={},x=Object.keys(i);for(W=0;W<x.length;W++)!(ie.indexOf(K=x[W])>=0)&&(A[K]=i[K]);return A}a.d(Ae,{Z:()=>n})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.