PageSourceSearch

https://cyclix.ch/main.31b4365eb86f1c69.js

js cyclix.ch collected 2026-10-08 08:30:23 UTC 2,454,685 bytes, 1 lines download raw bytes

1(self.webpackChunkcyclix_app=self.webpackChunkcyclix_app||[]).push([[792],{6806:(Nt,Le,a)=>{"use strict";a.d(Le,{eh:()=>x,JP:()=>_,Lt:()=>N,R3:()=>c,oe:()=>b,q6:()=>M,h2:()=>P,rJ:()=>le,Qv:()=>J,gs:()=>_e,Xm:()=>re});var t=a(1522);const c={lockCount:0,lock(){this.lockCount++},callbacks:[],callEffects(){if(this.lockCount--,this.lockCount<0)throw new Error("Unexpected Effect Call");if(0===this.lockCount){const ne=this.callbacks;this.callbacks=[],ne.forEach(Z=>Z())}}},m=(ne,Z)=>{if(!(ne instanceof Object&&Z instanceof Object))return ne===Z;const ke=Object.keys(ne),Ne=Object.keys(Z);return ke.length===Ne.length&&!ke.some(De=>ne[De]!==Z[De])};class x extends t.uA{constructor(){super(...arguments),this._pendingContext=this.context}componentWillReceiveProps(Z,ve){this._pendingContext=ve??{}}shouldComponentUpdate(Z,ve){return!m(this.props,Z)||!m(this.state,ve)||!m(this.context,this._pendingContext)}}class _ extends x{constructor(){super(...arguments),this._effects=[]}createEffects(){return[]}updateEffects(){}componentWillMount(){c.lock()}componentWillUpdate(Z,ve,ke){c.lock()}componentDidMount(){c.callbacks.push(()=>{this._effects=this.createEffects()}),c.callEffects()}componentDidUpdate(){c.callbacks.push(()=>this.updateEffects()),c.callEffects()}destroyEffects(){this._effects.forEach(Z=>Z.dispose())}componentWillUnmount(){this.destroyEffects()}}class b extends _{constructor(){super(...arguments),this.vDomElement=null}vDomUpdateClasses(){const Z=this.vDomElement,ve=Z.className.length?Z.className.split(" "):[],ke=ve.filter(Ie=>Z.dxClasses.previous.indexOf(Ie)<0),Ne=Z.dxClasses.previous.filter(Ie=>ve.indexOf(Ie)<0);ke.forEach(Ie=>{const De=Z.dxClasses.removed.indexOf(Ie);De>-1?Z.dxClasses.removed.splice(De,1):Z.dxClasses.added.push(Ie)}),Ne.forEach(Ie=>{const De=Z.dxClasses.added.indexOf(Ie);De>-1?Z.dxClasses.added.splice(De,1):Z.dxClasses.removed.push(Ie)})}componentDidMount(){const Z=(0,t.UV)(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(ve=>Z.classList.add(ve)),Z.dxClasses.removed.forEach(ve=>Z.classList.remove(ve)),Z.dxClasses.previous=Z.className.length?Z.className.split(" "):[])}shouldComponentUpdate(Z,ve){const ke=super.shouldComponentUpdate(Z,ve);return ke&&this.vDomUpdateClasses(),ke}}let v=0;const M=function(ne){const Z=v++;return{id:Z,defaultValue:ne,Provider:class extends t.uA{getChildContext(){return Object.assign(Object.assign({},this.context),{[Z]:this.props.value||ne})}render(){return this.props.children}}}};class N{constructor(Z,ve){this.dependency=ve,this.effect=Z,this.destroy=Z()}update(Z){const ve=this.dependency;Z&&(this.dependency=Z),(!Z||Z.some((ke,Ne)=>ve[Ne]!==ke))&&(this.dispose(),this.destroy=this.effect())}dispose(){this.destroy&&this.destroy()}}const P=()=>new N(()=>{(0,t.mM)()},[]),g="a runtime error occured! Use Inferno in development environment to find the error.";function K(ne){return null===ne}function R(ne,Z,ve,ke,Ne,Ie){const De=ne.childFlags,et=ne.children,yt=ne.props,dt=ne.flags;if(1!==De){if(2===De)K(ve)?(0,t._M)(et,Z,ke,Ne,null,Ie):ve=(ve=H(et,Z,ve,ke,Ne,Ie))?ve.nextSibling:null;else if(16===De)K(ve)?Z.appendChild(document.createTextNode(et)):1!==Z.childNodes.length||3!==ve.nodeType?Z.textContent=et:ve.nodeValue!==et&&(ve.nodeValue=et),ve=null;else if(12&De){let Je=!1;for(let Ce=0,we=et.length;Ce<we;++Ce){const Ee=et[Ce];K(ve)||Je&&(16&Ee.flags)>0?(0,t._M)(Ee,Z,ke,Ne,ve,Ie):ve=(ve=H(Ee,Z,ve,ke,Ne,Ie))?ve.nextSibling:null,Je=(16&Ee.flags)>0}}if(!(8192&dt)){let Je=null;for(;ve;)Je=ve.nextSibling,Z.removeChild(ve),ve=Je}}else!K(Z.firstChild)&&!function f(ne,Z){return!!(Z&&Z.dangerouslySetInnerHTML&&Z.dangerouslySetInnerHTML.__html&&function ee(ne,Z){const ve=document.createElement("i");return ve.innerHTML=Z,ve.innerHTML===ne.innerHTML}(ne,Z.dangerouslySetInnerHTML.__html))}(Z,yt)&&(Z.textContent="",448&dt&&(Z.defaultValue=""))}function j(ne,Z,ve){if(3!==ve.nodeType)Z.replaceChild(ne.dom=document.createTextNode(ne.children),ve);
1else{const ke=ne.children;ve.nodeValue!==ke&&(ve.nodeValue=ke),ne.dom=ve}return ne.dom}function H(ne,Z,ve,ke,Ne,Ie){const De=ne.flags|=16384;return 14&De?function D(ne,Z,ve,ke,Ne,Ie,De){const yt=ne.ref;let Je;if(Ie){const Ce=(0,t.EW)(ne,ne.type,ne.props||t.MZ,ke,Ne,De);Je=H(Ce.$LI,Z,ve,Ce.$CX,Ne,De),(0,t.Gg)(yt,Ce,De)}else{const Ce=(0,t.zF)((0,t.F1)(ne,ke));Je=H(Ce,Z,ve,ke,Ne,De),ne.children=Ce,(0,t.Hq)(ne,De)}return Je}(ne,Z,ve,ke,Ne,(4&De)>0,Ie):481&De?function S(ne,Z,ve,ke,Ne,Ie){const De=ne.props,et=ne.className,yt=ne.flags,dt=ne.ref;return Ne=Ne||(32&yt)>0,1!==ve.nodeType?((0,t.C4)(ne,null,ke,Ne,null,Ie),Z.replaceChild(ne.dom,ve)):(ne.dom=ve,R(ne,ve,ve.firstChild,ke,Ne,Ie),K(De)||(0,t.vI)(ne,yt,De,ve,Ne),function U(ne){return null==ne}(et)?""!==ve.className&&ve.removeAttribute("class"):Ne?ve.setAttribute("class",et):ve.className=et,(0,t.J4)(dt,ve,Ie)),ne.dom}(ne,Z,ve,ke,Ne,Ie):16&De?j(ne,Z,ve):512&De?ne.dom=ve:8192&De?function fe(ne,Z,ve,ke,Ne,Ie){const De=ne.children;return 2===ne.childFlags?(j(De,Z,ve),De.dom):(R(ne,Z,ve,ke,Ne,Ie),function L(ne){let Z,ve;for(;ne;){if(Z=ne.flags,2033&Z)return ne.dom;ve=ne.children,ne=8192&Z?2===ne.childFlags?ve:ve[ve.length-1]:4&Z?ve.$LI:ve}return null}(De[De.length-1]))}(ne,Z,ve,ke,Ne,Ie):(function z(ne){throw ne||(ne=g),new Error(`Inferno Error: ${ne}`)}(),null)}function J(ne,Z,ve){let ke=Z.firstChild;if(K(ke))(0,t.XX)(ne,Z,ve);else{const Ne=[];for(function G(ne){return null===ne||!1===ne||!0===ne||void 0===ne}(ne)||(ke=H(ne,Z,ke,{},!1,Ne));ke&&(ke=ke.nextSibling);)Z.removeChild(ke);if(Ne.length>0){let Ie;for(;void 0!==(Ie=Ne.shift());)Ie()}}Z.$V=ne,function A(ne){return"function"==typeof ne}(ve)&&ve()}var Y=a(5937);const W=ne=>{var Z,ve;return(null===(Z=ne.container)||void 0===Z?void 0:Z.get(0))||(null===(ve=ne.item)||void 0===ve?void 0:ve.get(0))};function re(ne,Z,ve){setTimeout(()=>{(0,t.XX)((0,Y.n)(ne,Z),W(Z))},0)}const le=(ne,Z,ve)=>{const ke=Z[ne];return!!ke&&"string"!=typeof ke},Re=new Set(["animationIterationCount","borderImageOutset","borderImageSlice","border-imageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexNegative","flexOrder","flexPositive","flexShrink","floodOpacity","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","zIndex","zoom"]),Be=ne=>"number"==typeof ne||!Number.isNaN(Number(ne)),Fe=(ne,Z)=>Re.has(ne)?Z:`${Z}px`,ue=/[A-Z]/g,ce=ne=>ne.replace(ue,"-$&").toLowerCase();function _e(ne){if(ne instanceof Object)return Object.entries(ne).reduce((Z,[ve,ke])=>(Z[ce(ve)]=Be(ke)?Fe(ve,ke):ke,Z),{})}},9308:(Nt,Le,a)=>{"use strict";a.d(Le,{$:()=>Ve});const t=[0,2e3,1e4,3e4,null];class c{constructor(V){this._retryDelays=void 0!==V?[...V,null]:t}nextRetryDelayInMilliseconds(V){return this._retryDelays[V.previousRetryCount]}}var m=a(467);let x=(()=>{class at{}return at.Authorization="Authorization",at.Cookie="Cookie",at})();class _{constructor(V,pe,Te){this.statusCode=V,this.statusText=pe,this.content=Te}}class b{get(V,pe){return this.send({...pe,method:"GET",url:V})}post(V,pe){return this.send({...pe,method:"POST",url:V})}delete(V,pe){return this.send({...pe,method:"DELETE",url:V})}getCookieString(V){return""}}class v extends b{constructor(V,pe){super(),this._innerClient=V,this._accessTokenFactory=pe}send(V){var pe=this;return(0,m.A)(function*(){let Te=!0;pe._accessTokenFactory&&(!pe._accessToken||V.url&&V.url.indexOf("/negotiate?")>0)&&(Te=!1,pe._accessToken=yield pe._accessTokenFactory()),pe._setAuthorizationHeader(V);
1const ft=yield pe._innerClient.send(V);return Te&&401===ft.statusCode&&pe._accessTokenFactory?(pe._accessToken=yield pe._accessTokenFactory(),pe._setAuthorizationHeader(V),yield pe._innerClient.send(V)):ft})()}_setAuthorizationHeader(V){V.headers||(V.headers={}),this._accessToken?V.headers[x.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&V.headers[x.Authorization]&&delete V.headers[x.Authorization]}getCookieString(V){return this._innerClient.getCookieString(V)}}class M extends Error{constructor(V,pe){const Te=new.target.prototype;super(`${V}: Status code '${pe}'`),this.statusCode=pe,this.__proto__=Te}}class N extends Error{constructor(V="A timeout occurred."){const pe=new.target.prototype;super(V),this.__proto__=pe}}class p extends Error{constructor(V="An abort occurred."){const pe=new.target.prototype;super(V),this.__proto__=pe}}class P extends Error{constructor(V,pe){const Te=new.target.prototype;super(V),this.transport=pe,this.errorType="UnsupportedTransportError",this.__proto__=Te}}class g extends Error{constructor(V,pe){const Te=new.target.prototype;super(V),this.transport=pe,this.errorType="DisabledTransportError",this.__proto__=Te}}class U extends Error{constructor(V,pe){const Te=new.target.prototype;super(V),this.transport=pe,this.errorType="FailedToStartTransportError",this.__proto__=Te}}class G extends Error{constructor(V){const pe=new.target.prototype;super(V),this.errorType="FailedToNegotiateWithServerError",this.__proto__=pe}}class A extends Error{constructor(V,pe){const Te=new.target.prototype;super(V),this.innerErrors=pe,this.__proto__=Te}}var K=a(2757);class z{constructor(){}log(V,pe){}}z.instance=new z;const ee="8.0.0";class L{static isRequired(V,pe){if(null==V)throw new Error(`The '${pe}' argument is required.`)}static isNotEmpty(V,pe){if(!V||V.match(/^\s*$/))throw new Error(`The '${pe}' argument should not be empty.`)}static isIn(V,pe,Te){if(!(V in pe))throw new Error(`Unknown ${Te} value: ${V}.`)}}class f{static get isBrowser(){return!f.isNode&&"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return!f.isNode&&"object"==typeof self&&"importScripts"in self}static get isReactNative(){return!f.isNode&&"object"==typeof window&&typeof window.document>"u"}static get isNode(){return typeof process<"u"&&process.release&&"node"===process.release.name}}function D(at,V){let pe="";return S(at)?(pe=`Binary data of length ${at.byteLength}`,V&&(pe+=`. Content: '${function R(at){const V=new Uint8Array(at);let pe="";return V.forEach(Te=>{pe+=`0x${Te<16?"0":""}${Te.toString(16)} `}),pe.substr(0,pe.length-1)}(at)}'`)):"string"==typeof at&&(pe=`String data of length ${at.length}`,V&&(pe+=`. Content: '${at}'`)),pe}function S(at){return at&&typeof ArrayBuffer<"u"&&(at instanceof ArrayBuffer||at.constructor&&"ArrayBuffer"===at.constructor.name)}function j(at,V,pe,Te,ft,At){return fe.apply(this,arguments)}function fe(){return(fe=(0,m.A)(function*(at,V,pe,Te,ft,At){const sn={},[Bt,Ut]=W();sn[Bt]=Ut,at.log(K.$.Trace,`(${V} transport) sending data. ${D(ft,At.logMessageContent)}.`);
1const zt=S(ft)?"arraybuffer":"text",wt=yield pe.post(Te,{content:ft,headers:{...sn,...At.headers},responseType:zt,timeout:At.timeout,withCredentials:At.withCredentials});at.log(K.$.Trace,`(${V} transport) request complete. Response status: ${wt.statusCode}.`)})).apply(this,arguments)}class J{constructor(V,pe){this._subject=V,this._observer=pe}dispose(){const V=this._subject.observers.indexOf(this._observer);V>-1&&this._subject.observers.splice(V,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(pe=>{})}}class Y{constructor(V){this._minLevel=V,this.out=console}log(V,pe){if(V>=this._minLevel){const Te=`[${(new Date).toISOString()}] ${K.$[V]}: ${pe}`;switch(V){case K.$.Critical:case K.$.Error:this.out.error(Te);break;case K.$.Warning:this.out.warn(Te);break;case K.$.Information:this.out.info(Te);break;default:this.out.log(Te)}}}}function W(){let at="X-SignalR-User-Agent";return f.isNode&&(at="User-Agent"),[at,re(ee,le(),f.isNode?"NodeJS":"Browser",Re())]}function re(at,V,pe,Te){let ft="Microsoft SignalR/";const At=at.split(".");return ft+=`${At[0]}.${At[1]}`,ft+=` (${at}; `,ft+=V&&""!==V?`${V}; `:"Unknown OS; ",ft+=`${pe}`,ft+=Te?`; ${Te}`:"; Unknown Runtime Version",ft+=")",ft}function le(){if(!f.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function Re(){if(f.isNode)return process.versions.node}function Fe(at){return at.stack?at.stack:at.message?at.message:`${at}`}class ve extends b{constructor(V){super(),this._logger=V;const pe={_fetchType:void 0,_jar:void 0};!function ce(at){return!!(typeof fetch>"u"||f.isNode)&&(at._jar=new(a(8611).CookieJar),at._fetchType=typeof fetch>"u"?a(295):fetch,at._fetchType=a(6236)(at._fetchType,at._jar),!0)}(pe)?this._fetchType=fetch.bind(function ue(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}()):(this._fetchType=pe._fetchType,this._jar=pe._jar),this._abortControllerType=AbortController;const Te={_abortControllerType:this._abortControllerType};(function _e(at){return typeof AbortController>"u"&&(at._abortControllerType=a(6720),!0)})(Te)&&(this._abortControllerType=Te._abortControllerType)}send(V){var pe=this;return(0,m.A)(function*(){if(V.abortSignal&&V.abortSignal.aborted)throw new p;if(!V.method)throw new Error("No method defined.");if(!V.url)throw new Error("No url defined.");const Te=new pe._abortControllerType;let ft;V.abortSignal&&(V.abortSignal.onabort=()=>{Te.abort(),ft=new p});let sn,At=null;V.timeout&&(At=setTimeout(()=>{Te.abort(),pe._logger.log(K.$.Warning,"Timeout from HTTP request."),ft=new N},V.timeout)),""===V.content&&(V.content=void 0),V.content&&(V.headers=V.headers||{},V.headers["Content-Type"]=S(V.content)?"application/octet-stream":"text/plain;charset=UTF-8");try{sn=yield pe._fetchType(V.url,{body:V.content,cache:"no-cache",credentials:!0===V.withCredentials?"include":"same-origin",headers:{"X-Requested-With":"XMLHttpRequest",...V.headers},method:V.method,mode:"cors",redirect:"follow",signal:Te.signal})}catch(zt){throw ft||(pe._logger.log(K.$.Warning,`Error from HTTP request. ${zt}.`),zt)}finally{At&&clearTimeout(At),V.abortSignal&&(V.abortSignal.onabort=null)}if(!sn.ok){const zt=yield ke(sn,"text");throw new M(zt||sn.statusText,sn.status)}const Ut=yield ke(sn,V.responseType);return new _(sn.status,sn.statusText,Ut)})()}getCookieString(V){let pe="";return f.isNode&&this._jar&&this._jar.getCookies(V,(Te,ft)=>pe=ft.join("; ")),pe}}function ke(at,V){let pe;switch(V){case"arraybuffer":pe=at.arrayBuffer();break;case"text":default:pe=at.text();break;case"blob":case"document":case"json":throw new Error(`${V} is not supported.`)}return pe}class Ne extends b{constructor(V){super(),this._logger=V}send(V){return V.abortSignal&&V.abortSignal.aborted?Promise.reject(new p):V.method?V.url?new Promise((pe,Te)=>{const ft=new XMLHttpRequest;ft.open(V.method,V.url,!0),ft.withCredentials=void 0===V.withCredentials||V.withCredentials,ft.setRequestHeader("X-Requested-With","XMLHttpRequest"),""===V.content&&(V.content=void 0),V.content&&(S(V.content)?ft.setRequestHeader("Content-Type","application/octet-stream"):ft.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const At=V.headers;At&&Object.keys(At).forEach(sn=>{ft.setRequestHeader(sn,At[sn])}),V.responseType&&(ft.responseType=V.responseType),V.abortSignal&&(V.abort
1Signal.onabort=()=>{ft.abort(),Te(new p)}),V.timeout&&(ft.timeout=V.timeout),ft.onload=()=>{V.abortSignal&&(V.abortSignal.onabort=null),ft.status>=200&&ft.status<300?pe(new _(ft.status,ft.statusText,ft.response||ft.responseText)):Te(new M(ft.response||ft.responseText||ft.statusText,ft.status))},ft.onerror=()=>{this._logger.log(K.$.Warning,`Error from HTTP request. ${ft.status}: ${ft.statusText}.`),Te(new M(ft.statusText,ft.status))},ft.ontimeout=()=>{this._logger.log(K.$.Warning,"Timeout from HTTP request."),Te(new N)},ft.send(V.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class Ie extends b{constructor(V){if(super(),typeof fetch<"u"||f.isNode)this._httpClient=new ve(V);else{if(!(typeof XMLHttpRequest<"u"))throw new Error("No usable HttpClient found.");this._httpClient=new Ne(V)}}send(V){return V.abortSignal&&V.abortSignal.aborted?Promise.reject(new p):V.method?V.url?this._httpClient.send(V):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(V){return this._httpClient.getCookieString(V)}}var De=a(2016);class et{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class yt{get pollAborted(){return this._pollAbort.aborted}constructor(V,pe,Te){this._httpClient=V,this._logger=pe,this._pollAbort=new et,this._options=Te,this._running=!1,this.onreceive=null,this.onclose=null}connect(V,pe){var Te=this;return(0,m.A)(function*(){if(L.isRequired(V,"url"),L.isRequired(pe,"transferFormat"),L.isIn(pe,De.B,"transferFormat"),Te._url=V,Te._logger.log(K.$.Trace,"(LongPolling transport) Connecting."),pe===De.B.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[ft,At]=W(),sn={[ft]:At,...Te._options.headers},Bt={abortSignal:Te._pollAbort.signal,headers:sn,timeout:1e5,withCredentials:Te._options.withCredentials};pe===De.B.Binary&&(Bt.responseType="arraybuffer");const Ut=`${V}&_=${Date.now()}`;Te._logger.log(K.$.Trace,`(LongPolling transport) polling: ${Ut}.`);
1const zt=yield Te._httpClient.get(Ut,Bt);200!==zt.statusCode?(Te._logger.log(K.$.Error,`(LongPolling transport) Unexpected response code: ${zt.statusCode}.`),Te._closeError=new M(zt.statusText||"",zt.statusCode),Te._running=!1):Te._running=!0,Te._receiving=Te._poll(Te._url,Bt)})()}_poll(V,pe){var Te=this;return(0,m.A)(function*(){try{for(;Te._running;)try{const ft=`${V}&_=${Date.now()}`;Te._logger.log(K.$.Trace,`(LongPolling transport) polling: ${ft}.`);const At=yield Te._httpClient.get(ft,pe);204===At.statusCode?(Te._logger.log(K.$.Information,"(LongPolling transport) Poll terminated by server."),Te._running=!1):200!==At.statusCode?(Te._logger.log(K.$.Error,`(LongPolling transport) Unexpected response code: ${At.statusCode}.`),Te._closeError=new M(At.statusText||"",At.statusCode),Te._running=!1):At.content?(Te._logger.log(K.$.Trace,`(LongPolling transport) data received. ${D(At.content,Te._options.logMessageContent)}.`),Te.onreceive&&Te.onreceive(At.content)):Te._logger.log(K.$.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(ft){Te._running?ft instanceof N?Te._logger.log(K.$.Trace,"(LongPolling transport) Poll timed out, reissuing."):(Te._closeError=ft,Te._running=!1):Te._logger.log(K.$.Trace,`(LongPolling transport) Poll errored after shutdown: ${ft.message}`)}}finally{Te._logger.log(K.$.Trace,"(LongPolling transport) Polling complete."),Te.pollAborted||Te._raiseOnClose()}})()}send(V){var pe=this;return(0,m.A)(function*(){return pe._running?j(pe._logger,"LongPolling",pe._httpClient,pe._url,V,pe._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var V=this;return(0,m.A)(function*(){V._logger.log(K.$.Trace,"(LongPolling transport) Stopping polling."),V._running=!1,V._pollAbort.abort();try{yield V._receiving,V._logger.log(K.$.Trace,`(LongPolling transport) sending DELETE request to ${V._url}.`);const pe={},[Te,ft]=W();pe[Te]=ft;const At={headers:{...pe,...V._options.headers},timeout:V._options.timeout,withCredentials:V._options.withCredentials};let sn;try{yield V._httpClient.delete(V._url,At)}catch(Bt){sn=Bt}sn?sn instanceof M&&V._logger.log(K.$.Trace,404===sn.statusCode?"(LongPolling transport) A 404 response was returned from sending a DELETE request.":`(LongPolling transport) Error sending a DELETE request: ${sn}`):V._logger.log(K.$.Trace,"(LongPolling transport) DELETE request accepted.")}finally{V._logger.log(K.$.Trace,"(LongPolling transport) Stop finished."),V._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let V="(LongPolling transport) Firing onclose event.";this._closeError&&(V+=" Error: "+this._closeError),this._logger.log(K.$.Trace,V),this.onclose(this._closeError)}}}class dt{constructor(V,pe,Te,ft){this._httpClient=V,this._accessToken=pe,this._logger=Te,this._options=ft,this.onreceive=null,this.onclose=null}connect(V,pe){var Te=this;return(0,m.A)(function*(){return L.isRequired(V,"url"),L.isRequired(pe,"transferFormat"),L.isIn(pe,De.B,"transferFormat"),Te._logger.log(K.$.Trace,"(SSE transport) Connecting."),Te._url=V,Te._accessToken&&(V+=(V.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(Te._accessToken)}`),new Promise((ft,At)=>{let Bt,sn=!1;if(pe===De.B.Text){if(f.isBrowser||f.isWebWorker)Bt=new Te._options.EventSource(V,{withCredentials:Te._options.withCredentials});else{const Ut=Te._httpClient.getCookieString(V),zt={};zt.Cookie=Ut;const[wt,Qe]=W();zt[wt]=Qe,Bt=new Te._options.EventSource(V,{withCredentials:Te._options.withCredentials,headers:{...zt,...Te._options.headers}})}try{Bt.onmessage=Ut=>{if(Te.onreceive)try{Te._logger.log(K.$.Trace,`(SSE transport) data received. ${D(Ut.data,Te._options.logMessageContent)}.`),Te.onreceive(Ut.data)}catch(zt){return void Te._close(zt)}},Bt.onerror=Ut=>{sn?Te._close():At(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},Bt.onopen=()=>{Te._logger.log(K.$.Information,`SSE connected to ${Te._url}`),Te._eventSource=Bt,sn=!0,ft()}}catch(Ut){return void At(Ut)}}else At(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(V){var pe=this;return(0,m.A)(function*(){return pe._eventSource?j(pe._logger,"SSE",pe._httpClient,pe._url,V,pe._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(V){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(V))}}class Je{constructor(V,pe,Te,ft,At,sn){this._logger=Te,this._accessTokenFactory=pe,this._logMessageContent=ft,this._webSocketConstructor=At,this._httpClient=V,this.onreceive=null,this.onclose
1=null,this._headers=sn}connect(V,pe){var Te=this;return(0,m.A)(function*(){let ft;return L.isRequired(V,"url"),L.isRequired(pe,"transferFormat"),L.isIn(pe,De.B,"transferFormat"),Te._logger.log(K.$.Trace,"(WebSockets transport) Connecting."),Te._accessTokenFactory&&(ft=yield Te._accessTokenFactory()),new Promise((At,sn)=>{let Bt;V=V.replace(/^http/,"ws");const Ut=Te._httpClient.getCookieString(V);let zt=!1;if(f.isNode||f.isReactNative){const wt={},[Qe,ot]=W();wt[Qe]=ot,ft&&(wt[x.Authorization]=`Bearer ${ft}`),Ut&&(wt[x.Cookie]=Ut),Bt=new Te._webSocketConstructor(V,void 0,{headers:{...wt,...Te._headers}})}else ft&&(V+=(V.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(ft)}`);Bt||(Bt=new Te._webSocketConstructor(V)),pe===De.B.Binary&&(Bt.binaryType="arraybuffer"),Bt.onopen=wt=>{Te._logger.log(K.$.Information,`WebSocket connected to ${V}.`),Te._webSocket=Bt,zt=!0,At()},Bt.onerror=wt=>{let Qe=null;Qe=typeof ErrorEvent<"u"&&wt instanceof ErrorEvent?wt.error:"There was an error with the transport",Te._logger.log(K.$.Information,`(WebSockets transport) ${Qe}.`)},Bt.onmessage=wt=>{if(Te._logger.log(K.$.Trace,`(WebSockets transport) data received. ${D(wt.data,Te._logMessageContent)}.`),Te.onreceive)try{Te.onreceive(wt.data)}catch(Qe){return void Te._close(Qe)}},Bt.onclose=wt=>{if(zt)Te._close(wt);else{let Qe=null;Qe=typeof ErrorEvent<"u"&&wt instanceof ErrorEvent?wt.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",sn(new Error(Qe))}}})})()}send(V){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(K.$.Trace,`(WebSockets transport) sending data. ${D(V,this._logMessageContent)}.`),this._webSocket.send(V),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(V){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(K.$.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(V)||!1!==V.wasClean&&1e3===V.code?V instanceof Error?this.onclose(V):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${V.code} (${V.reason||"no reason given"}).`)))}_isCloseEvent(V){return V&&"boolean"==typeof V.wasClean&&"number"==typeof V.code}}class we{constructor(V,pe={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,L.isRequired(V,"url"),this._logger=function H(at){return void 0===at?new Y(K.$.Information):null===at?z.instance:void 0!==at.log?at:new Y(at)}(pe.logger),this.baseUrl=this._resolveUrl(V),(pe=pe||{}).logMessageContent=void 0!==pe.logMessageContent&&pe.logMessageContent,"boolean"!=typeof pe.withCredentials&&void 0!==pe.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");pe.withCredentials=void 0===pe.withCredentials||pe.withCredentials,pe.timeout=void 0===pe.timeout?1e5:pe.timeout;let Te=null,ft=null;f.isNode&&(Te=function ne(){return a(6449)}(),ft=function Z(){return a(194)}()),!f.isNode&&typeof WebSocket<"u"&&!pe.WebSocket?pe.WebSocket=WebSocket:f.isNode&&!pe.WebSocket&&Te&&(pe.WebSocket=Te),!f.isNode&&typeof EventSource<"u"&&!pe.EventSource?pe.EventSource=EventSource:f.isNode&&!pe.EventSource&&typeof ft<"u"&&(pe.EventSource=ft),this._httpClient=new v(pe.httpClient||new Ie(this._logger),pe.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=pe,this.onreceive=null,this.onclose=null}start(V){var pe=this;return(0,m.A)(function*(){if(L.isIn(V=V||De.B.Binary,De.B,"transferFormat"),pe._logger.log(K.$.Debug,`Starting connection with transfer format '${De.B[V]}'.`),"Disconnected"!==pe._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(pe._connectionState="Connecting",pe._startInternalPromise=pe._startInternal(V),yield pe._startInternalPromise,"Disconnecting"===pe._connectionState){const Te="Failed to start the HttpConnection before stop() was called.";return pe._logger.log(K.$.Error,Te),yield pe._stopPromise,Promise.reject(new p(Te))}if("Connected"!==pe._connectionState){const Te="HttpConnection.startInternal 
1completed gracefully but didn't enter the connection into the connected state!";return pe._logger.log(K.$.Error,Te),Promise.reject(new p(Te))}pe._connectionStarted=!0})()}send(V){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new He(this.transport)),this._sendQueue.send(V))}stop(V){var pe=this;return(0,m.A)(function*(){return"Disconnected"===pe._connectionState?(pe._logger.log(K.$.Debug,`Call to HttpConnection.stop(${V}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===pe._connectionState?(pe._logger.log(K.$.Debug,`Call to HttpConnection.stop(${V}) ignored because the connection is already in the disconnecting state.`),pe._stopPromise):(pe._connectionState="Disconnecting",pe._stopPromise=new Promise(Te=>{pe._stopPromiseResolver=Te}),yield pe._stopInternal(V),void(yield pe._stopPromise))})()}_stopInternal(V){var pe=this;return(0,m.A)(function*(){pe._stopError=V;try{yield pe._startInternalPromise}catch{}if(pe.transport){try{yield pe.transport.stop()}catch(Te){pe._logger.log(K.$.Error,`HttpConnection.transport.stop() threw error '${Te}'.`),pe._stopConnection()}pe.transport=void 0}else pe._logger.log(K.$.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(V){var pe=this;return(0,m.A)(function*(){let Te=pe.baseUrl;pe._accessTokenFactory=pe._options.accessTokenFactory,pe._httpClient._accessTokenFactory=pe._accessTokenFactory;try{if(pe._options.skipNegotiation){if(pe._options.transport!==De.w.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");pe.transport=pe._constructTransport(De.w.WebSockets),yield pe._startTransport(Te,V)}else{let ft=null,At=0;do{if(ft=yield pe._getNegotiationResponse(Te),"Disconnecting"===pe._connectionState||"Disconnected"===pe._connectionState)throw new p("The connection was stopped during negotiation.");if(ft.error)throw new Error(ft.error);if(ft.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(ft.url&&(Te=ft.url),ft.accessToken){const sn=ft.accessToken;pe._accessTokenFactory=()=>sn,pe._httpClient._accessToken=sn,pe._httpClient._accessTokenFactory=void 0}At++}while(ft.url&&At<100);if(100===At&&ft.url)throw new Error("Negotiate redirection limit exceeded.");yield pe._createTransport(Te,pe._options.transport,ft,V)}pe.transport instanceof yt&&(pe.features.inherentKeepAlive=!0),"Connecting"===pe._connectionState&&(pe._logger.log(K.$.Debug,"The HttpConnection connected successfully."),pe._connectionState="Connected")}catch(ft){return pe._logger.log(K.$.Error,"Failed to start the connection: "+ft),pe._connectionState="Disconnected",pe.transport=void 0,pe._stopPromiseResolver(),Promise.reject(ft)}})()}_getNegotiationResponse(V){var pe=this;return(0,m.A)(function*(){const Te={},[ft,At]=W();Te[ft]=At;const sn=pe._resolveNegotiateUrl(V);pe._logger.log(K.$.Debug,`Sending negotiation request: ${sn}.`);try{const Bt=yield pe._httpClient.post(sn,{content:"",headers:{...Te,...pe._options.headers},timeout:pe._options.timeout,withCredentials:pe._options.withCredentials});if(200!==Bt.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${Bt.statusCode}'`));const Ut=JSON.parse(Bt.content);return(!Ut.negotiateVersion||Ut.negotiateVersion<1)&&(Ut.connectionToken=Ut.connectionId),Ut.useStatefulReconnect&&!0!==pe._options._useStatefulReconnect?Promise.reject(new G("Client didn't negotiate Stateful Reconnect but the server did.")):Ut}catch(Bt){let Ut="Failed to complete negotiation with the server: "+Bt;return Bt instanceof M&&404===Bt.statusCode&&(Ut+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),pe._logger.log(K.$.Error,Ut),Promise.reject(new G(Ut))}})()}_createConnectUrl(V,pe){return pe?V+(-1===V.indexOf("?")?"?":"&")+`id=${pe}`:V}_createTransport(V,pe,Te,ft){var At=this;return(0,m.A)(function*(){let sn=At._createConnectUrl(V,Te.connectionToken);if(At._isITransport(pe))return At._logger.log(K.$.Debug,"Connection was provided an instance of ITransport, using that directly."),At.transport=pe,yield At._startTransport(sn,ft),void(At.connectionId=Te.connectionId);const Bt=[],Ut=Te.availableTransports||[];let zt=Te;for(const wt of Ut){const Qe=At._resolveTransportOrError(wt,pe,ft,!0===zt?.useStatefulReconnect);if(Qe instanceof Error)Bt.push(`${wt.transport} failed:`),Bt.push(Qe);else if(At._isITransport(Qe)){if(At.transport=Qe,!zt){try{zt=yield At._getNegotiationResponse(V)}catch(ot){return Promise.reject(ot)}sn=At._createConnectUrl(V,zt.connectionToken)}try{return yield At._startTransport(sn,ft),void(At.connectionId=zt.connectionId)}catch(ot){if(At._logger.log(K.$.Error,`Failed to start the transport '${wt.transport}': ${ot}`),zt=void 0,Bt.push(new U(`${wt.transport} failed: ${ot}`,De.w[wt.transport])),"Connecting"!==At._connectionState){const Vt="Failed to select transport before stop() was called.";return At._logger.log(K.$.Debug,Vt),Promise.reject(new p(Vt))}}}}return Promise.reject(Bt.length>0?new A(`Unable to connect to the server with any of the available transports. ${Bt.join(" ")}`,Bt):new Error("None of the transports supported by the client are supported by the server."))})()}
1_constructTransport(V){switch(V){case De.w.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new Je(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case De.w.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new dt(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case De.w.LongPolling:return new yt(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${V}.`)}}_startTransport(V,pe){var Te=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=this.features.reconnect?function(){var ft=(0,m.A)(function*(At){let sn=!1;if(Te.features.reconnect){try{Te.features.disconnected(),yield Te.transport.connect(V,pe),yield Te.features.resend()}catch{sn=!0}sn&&Te._stopConnection(At)}else Te._stopConnection(At)});return function(At){return ft.apply(this,arguments)}}():ft=>this._stopConnection(ft),this.transport.connect(V,pe)}_resolveTransportOrError(V,pe,Te,ft){const At=De.w[V.transport];if(null==At)return this._logger.log(K.$.Debug,`Skipping transport '${V.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${V.transport}' because it is not supported by this client.`);if(!function Ee(at,V){return!at||!!(V&at)}(pe,At))return this._logger.log(K.$.Debug,`Skipping transport '${De.w[At]}' because it was disabled by the client.`),new g(`'${De.w[At]}' is disabled by the client.`,At);if(!(V.transferFormats.map(Bt=>De.B[Bt]).indexOf(Te)>=0))return this._logger.log(K.$.Debug,`Skipping transport '${De.w[At]}' because it does not support the requested transfer format '${De.B[Te]}'.`),new Error(`'${De.w[At]}' does not support ${De.B[Te]}.`);if(At===De.w.WebSockets&&!this._options.WebSocket||At===De.w.ServerSentEvents&&!this._options.EventSource)return this._logger.log(K.$.Debug,`Skipping transport '${De.w[At]}' because it is not supported in your environment.'`),new P(`'${De.w[At]}' is not supported in your environment.`,At);this._logger.log(K.$.Debug,`Selecting transport '${De.w[At]}'.`);try{return this.features.reconnect=At===De.w.WebSockets?ft:void 0,this._constructTransport(At)}catch(Bt){return Bt}}_isITransport(V){return V&&"object"==typeof V&&"connect"in V}_stopConnection(V){if(this._logger.log(K.$.Debug,`HttpConnection.stopConnection(${V}) called while in state ${this._connectionState}.`),this.transport=void 0,V=this._stopError||V,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(K.$.Warning,`Call to HttpConnection.stopConnection(${V}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${V}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),V?this._logger.log(K.$.Error,`Connection disconnected with error '${V}'.`):this._logger.log(K.$.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(pe=>{this._logger.log(K.$.Error,`TransportSendQueue.stop() threw error '${pe}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(V)}catch(pe){this._logger.log(K.$.Error,`HttpConnection.onclose(${V}) threw error '${pe}'.`)}}}else this._logger.log(K.$.Debug,`Call to HttpConnection.stopConnection(${V}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(V){if(0===V.lastIndexOf("https://",0)||0===V.lastIndexOf("http://",0))return V;if(!f.isBrowser)throw new Error(`Cannot resolve '${V}'.`);const pe=window.document.createElement("a");return pe.href=V,this._logger.log(K.$.Information,`Normalizing '${V}' to '${pe.href}'.`),pe.href}_resolveNegotiateUrl(V){const pe=new URL(V);pe.pathname.endsWith("/")?pe.pathname+="negotiate":pe.pathname+="/negotiate";const Te=new URLSearchParams(pe.searchParams);return Te.has("negotiateVersion")||Te.append("negotiateVersion",this._negotiateVersion.toString()),Te.has("useStatefulReconnect")?"true"===Te.get("useStatefulReconnect")&&(this._options._useStatefulReconnect=!0):!0===this._options._useStatefulReconnect&&Te.append("useStatefulReconnect","true"),pe.search=Te.toString(),pe.toString()}}class He{constructor(V){this._transport=V,this._buffer=[],this._executing=!0,this._sendBufferedData=new Ot,this._transportResult=new Ot,this._sendLoopPromise=this._sendLoop()}send(V){return this._bufferData(V),this._transportResult||(this._transportResult=new Ot),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(V){if(this._buffer.length&&typeof this._buffer[0]!=typeof V)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof V}`);this._buffer.push(V),this._sendBufferedData.resolve()}_sendLoop(){var V=this;return(0,m.A)(function*(){for(;;){if(yield V._sendBufferedData.promise,!V._executing){V._transportResult&&V._transportResult.reject("Connection stopped.");break}V._sendBufferedData=new Ot;const pe=V._transportResult;V._transportResult=void 0;const Te="string"==typeof V._buffer[0]?V._buffer.join(""):He._concatBuffers(V._buffer);V._buffer.length=0;try{yield V._transport.send(Te),pe.resolve()}catch(ft){pe.reject(ft)}}})()}static _concatBuffers(V){const pe=V.map(At=>At.byteLength).reduce((At,sn)=>At+sn),Te=new Uint8Array(pe);let ft=0;for(const At of V)Te.set(new Uint8Array(At),ft),ft+=At.byteLength;return Te.buffer}}class Ot{constructor(){this.promise=new Promise((V,pe)=>
1[this._resolver,this._rejecter]=[V,pe])}resolve(){this._resolver()}reject(V){this._rejecter(V)}}class It{static write(V){return`${V}${It.RecordSeparator}`}static parse(V){if(V[V.length-1]!==It.RecordSeparator)throw new Error("Message is incomplete.");const pe=V.split(It.RecordSeparator);return pe.pop(),pe}}It.RecordSeparatorCode=30,It.RecordSeparator=String.fromCharCode(It.RecordSeparatorCode);class un{writeHandshakeRequest(V){return It.write(JSON.stringify(V))}parseHandshakeResponse(V){let pe,Te;if(S(V)){const Bt=new Uint8Array(V),Ut=Bt.indexOf(It.RecordSeparatorCode);if(-1===Ut)throw new Error("Message is incomplete.");const zt=Ut+1;pe=String.fromCharCode.apply(null,Array.prototype.slice.call(Bt.slice(0,zt))),Te=Bt.byteLength>zt?Bt.slice(zt).buffer:null}else{const Bt=V,Ut=Bt.indexOf(It.RecordSeparator);if(-1===Ut)throw new Error("Message is incomplete.");const zt=Ut+1;pe=Bt.substring(0,zt),Te=Bt.length>zt?Bt.substring(zt):null}const ft=It.parse(pe),At=JSON.parse(ft[0]);if(At.type)throw new Error("Expected a handshake response from the server.");return[Te,At]}}var ln=function(at){return at[at.Invocation=1]="Invocation",at[at.StreamItem=2]="StreamItem",at[at.Completion=3]="Completion",at[at.StreamInvocation=4]="StreamInvocation",at[at.CancelInvocation=5]="CancelInvocation",at[at.Ping=6]="Ping",at[at.Close=7]="Close",at[at.Ack=8]="Ack",at[at.Sequence=9]="Sequence",at}(ln||{});class Ln{constructor(){this.observers=[]}next(V){for(const pe of this.observers)pe.next(V)}error(V){for(const pe of this.observers)pe.error&&pe.error(V)}complete(){for(const V of this.observers)V.complete&&V.complete()}subscribe(V){return this.observers.push(V),new J(this,V)}}class Zt{constructor(V,pe,Te){this._bufferSize=1e5,this._messages=[],this._totalMessageCount=0,this._waitForSequenceMessage=!1,this._nextReceivingSequenceId=1,this._latestReceivedSequenceId=0,this._bufferedByteCount=0,this._reconnectInProgress=!1,this._protocol=V,this._connection=pe,this._bufferSize=Te}_send(V){var pe=this;return(0,m.A)(function*(){const Te=pe._protocol.writeMessage(V);let ft=Promise.resolve();if(pe._isInvocationMessage(V)){pe._totalMessageCount++;let At=()=>{},sn=()=>{};S(Te)?pe._bufferedByteCount+=Te.byteLength:pe._bufferedByteCount+=Te.length,pe._bufferedByteCount>=pe._bufferSize&&(ft=new Promise((Bt,Ut)=>{At=Bt,sn=Ut})),pe._messages.push(new ct(Te,pe._totalMessageCount,At,sn))}try{pe._reconnectInProgress||(yield pe._connection.send(Te))}catch{pe._disconnected()}yield ft})()}_ack(V){let pe=-1;for(let Te=0;Te<this._messages.length;Te++){const ft=this._messages[Te];if(ft._id<=V.sequenceId)pe=Te,S(ft._message)?this._bufferedByteCount-=ft._message.byteLength:this._bufferedByteCount-=ft._message.length,ft._resolver();else{if(!(this._bufferedByteCount<this._bufferSize))break;ft._resolver()}}-1!==pe&&(this._messages=this._messages.slice(pe+1))}_shouldProcessMessage(V){if(this._waitForSequenceMessage)return V.type===ln.Sequence&&(this._waitForSequenceMessage=!1,!0);if(!this._isInvocationMessage(V))return!0;const pe=this._nextReceivingSequenceId;return this._nextReceivingSequenceId++,pe<=this._latestReceivedSequenceId?(pe===this._latestReceivedSequenceId&&this._ackTimer(),!1):(this._latestReceivedSequenceId=pe,this._ackTimer(),!0)}_resetSequence(V){V.sequenceId>this._nextReceivingSequenceId?this._connection.stop(new Error("Sequence ID greater than amount of messages we've received.")):this._nextReceivingSequenceId=V.sequenceId}_disconnected(){this._reconnectInProgress=!0,this._waitForSequenceMessage=!0}_resend(){var V=this;return(0,m.A)(function*(){const pe=0!==V._messages.length?V._messages[0]._id:V._totalMessageCount+1;yield V._connection.send(V._protocol.writeMessage({type:ln.Sequence,sequenceId:pe}));const Te=V._messages;for(const ft of Te)yield V._connection.send(ft._message);V._reconnectInProgress=!1})()}_dispose(V){V??(V=new Error("Unable to reconnect to server."));for(const pe of this._messages)pe._rejector(V)}_isInvocationMessage(V){switch(V.type){case ln.Invocation:case ln.StreamItem:case ln.Completion:case ln.StreamInvocation:case ln.CancelInvocation:return!0;case ln.Close:case ln.Sequence:case ln.Ping:case ln.Ack:return!1}}_ackTimer(){var V=this;void 0===this._ackTimerHandle&&(this._ackTimerHandle=setTimeout((0,m.A)(function*(){try{V._reconnectInProgress||(yield V._connection.send(V._protocol.writeMessage({type:ln.Ack,sequenceId:V._latestReceivedSequenceId})))}catch{}clearTimeout(V._ackTimerHandle),V._ackTimerHandle=void 0}),1e3))}}class ct{constructor(V,pe,Te,ft){this._message=V,this._id=pe,this._resolver=Te,this._rejector=ft}}var vt=function(at){return at.Disconnected="Disconnected",at.Connecting="Connecting",at.Connected="Connected",at.Disconnecting="Disconnecting",at.Reconnecting="Reconnecting",at}(vt||{});class Wt{static create(V,pe,Te,ft,At,sn,Bt){return new Wt(V,pe,Te,ft,At,sn,Bt)}constructor(V,pe,Te,ft,At,sn,Bt){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(K.$.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},L.isRequired(V,"connection"),L.isRequired(pe,"logger"),L.isRequired(Te,"protocol"),this.serverTimeoutInMilliseconds=At??3e4,this.keepAliveIntervalInMilliseconds=sn??15e3,this._statefulReconnectBufferSize=Bt??1e5,this._logger=pe,this._protocol=Te,this.connection=V,this._reconnectPolicy=ft,this._handshakeProtocol=new un,this.connection.onreceive=Ut=>
1this._processIncomingData(Ut),this.connection.onclose=Ut=>this._connectionClosed(Ut),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=vt.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:ln.Ping})}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(V){if(this._connectionState!==vt.Disconnected&&this._connectionState!==vt.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!V)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=V}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var V=this;return(0,m.A)(function*(){if(V._connectionState!==vt.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));V._connectionState=vt.Connecting,V._logger.log(K.$.Debug,"Starting HubConnection.");try{yield V._startInternal(),f.isBrowser&&window.document.addEventListener("freeze",V._freezeEventListener),V._connectionState=vt.Connected,V._connectionStarted=!0,V._logger.log(K.$.Debug,"HubConnection connected successfully.")}catch(pe){return V._connectionState=vt.Disconnected,V._logger.log(K.$.Debug,`HubConnection failed to start successfully because of error '${pe}'.`),Promise.reject(pe)}})()}_startInternal(){var V=this;return(0,m.A)(function*(){V._stopDuringStartError=void 0,V._receivedHandshakeResponse=!1;const pe=new Promise((Te,ft)=>{V._handshakeResolver=Te,V._handshakeRejecter=ft});yield V.connection.start(V._protocol.transferFormat);try{let Te=V._protocol.version;V.connection.features.reconnect||(Te=1);
1const ft={protocol:V._protocol.name,version:Te};if(V._logger.log(K.$.Debug,"Sending handshake request."),yield V._sendMessage(V._handshakeProtocol.writeHandshakeRequest(ft)),V._logger.log(K.$.Information,`Using HubProtocol '${V._protocol.name}'.`),V._cleanupTimeout(),V._resetTimeoutPeriod(),V._resetKeepAliveInterval(),yield pe,V._stopDuringStartError)throw V._stopDuringStartError;!!V.connection.features.reconnect&&(V._messageBuffer=new Zt(V._protocol,V.connection,V._statefulReconnectBufferSize),V.connection.features.disconnected=V._messageBuffer._disconnected.bind(V._messageBuffer),V.connection.features.resend=()=>{if(V._messageBuffer)return V._messageBuffer._resend()}),V.connection.features.inherentKeepAlive||(yield V._sendMessage(V._cachedPingMessage))}catch(Te){throw V._logger.log(K.$.Debug,`Hub handshake failed with error '${Te}' during start(). Stopping HubConnection.`),V._cleanupTimeout(),V._cleanupPingTimer(),yield V.connection.stop(Te),Te}})()}stop(){var V=this;return(0,m.A)(function*(){const pe=V._startPromise;V.connection.features.reconnect=!1,V._stopPromise=V._stopInternal(),yield V._stopPromise;try{yield pe}catch{}})()}_stopInternal(V){if(this._connectionState===vt.Disconnected)return this._logger.log(K.$.Debug,`Call to HubConnection.stop(${V}) ignored because it is already in the disconnected state.`),Promise.resolve();if(this._connectionState===vt.Disconnecting)return this._logger.log(K.$.Debug,`Call to HttpConnection.stop(${V}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;const pe=this._connectionState;return this._connectionState=vt.Disconnecting,this._logger.log(K.$.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(K.$.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(pe===vt.Connected&&this._sendCloseMessage(),this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=V||new p("The connection was stopped before the hub handshake could complete."),this.connection.stop(V))}_sendCloseMessage(){var V=this;return(0,m.A)(function*(){try{yield V._sendWithProtocol(V._createCloseMessage())}catch{}})()}stream(V,...pe){const[Te,ft]=this._replaceStreamingParams(pe),At=this._createStreamInvocation(V,pe,ft);let sn;const Bt=new Ln;return Bt.cancelCallback=()=>{const Ut=this._createCancelInvocation(At.invocationId);return delete this._callbacks[At.invocationId],sn.then(()=>this._sendWithProtocol(Ut))},this._callbacks[At.invocationId]=(Ut,zt)=>{zt?Bt.error(zt):Ut&&(Ut.type===ln.Completion?Ut.error?Bt.error(new Error(Ut.error)):Bt.complete():Bt.next(Ut.item))},sn=this._sendWithProtocol(At).catch(Ut=>{Bt.error(Ut),delete this._callbacks[At.invocationId]}),this._launchStreams(Te,sn),Bt}_sendMessage(V){return this._resetKeepAliveInterval(),this.connection.send(V)}_sendWithProtocol(V){return this._messageBuffer?this._messageBuffer._send(V):this._sendMessage(this._protocol.writeMessage(V))}send(V,...pe){const[Te,ft]=this._replaceStreamingParams(pe),At=this._sendWithProtocol(this._createInvocation(V,pe,!0,ft));return this._launchStreams(Te,At),At}invoke(V,...pe){const[Te,ft]=this._replaceStreamingParams(pe),At=this._createInvocation(V,pe,!1,ft);return new Promise((Bt,Ut)=>{this._callbacks[At.invocationId]=(wt,Qe)=>{Qe?Ut(Qe):wt&&(wt.type===ln.Completion?wt.error?Ut(new Error(wt.error)):Bt(wt.result):Ut(new Error(`Unexpected message type: ${wt.type}`)))};const zt=this._sendWithProtocol(At).catch(wt=>{Ut(wt),delete this._callbacks[At.invocationId]});this._launchStreams(Te,zt)})}on(V,pe){!V||!pe||(V=V.toLowerCase(),this._methods[V]||(this._methods[V]=[]),-1===this._methods[V].indexOf(pe)&&this._methods[V].push(pe))}off(V,pe){if(!V)return;V=V.toLowerCase();const Te=this._methods[V];if(Te)if(pe){const ft=Te.indexOf(pe);-1!==ft&&(Te.splice(ft,1),0===Te.length&&delete this._methods[V])}else delete this._methods[V]}onclose(V){V&&this._closedCallbacks.push(V)}onreconnecting(V){V&&this._reconnectingCallbacks.push(V)}onreconnected(V){V&&this._reconnectedCallbacks.push(V)}_processIncomingData(V){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(V=this._processHandshakeResponse(V),this._receivedHandshakeResponse=!0),V){const pe=this._protocol.parseMessages(V,this._logger);for(const Te of pe)if(!this._messageBuffer||this._messageBuffer._shouldProcessMessage(Te))switch(Te.type){case ln.Invocation:this._invokeClientMethod(Te);break;
1case ln.StreamItem:case ln.Completion:{const ft=this._callbacks[Te.invocationId];if(ft){Te.type===ln.Completion&&delete this._callbacks[Te.invocationId];try{ft(Te)}catch(At){this._logger.log(K.$.Error,`Stream callback threw error: ${Fe(At)}`)}}break}case ln.Ping:break;case ln.Close:{this._logger.log(K.$.Information,"Close message received from server.");const ft=Te.error?new Error("Server returned an error on close: "+Te.error):void 0;!0===Te.allowReconnect?this.connection.stop(ft):this._stopPromise=this._stopInternal(ft);break}case ln.Ack:this._messageBuffer&&this._messageBuffer._ack(Te);break;case ln.Sequence:this._messageBuffer&&this._messageBuffer._resetSequence(Te);break;default:this._logger.log(K.$.Warning,`Invalid message type: ${Te.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(V){let pe,Te;try{[Te,pe]=this._handshakeProtocol.parseHandshakeResponse(V)}catch(ft){const At="Error parsing handshake response: "+ft;this._logger.log(K.$.Error,At);const sn=new Error(At);throw this._handshakeRejecter(sn),sn}if(pe.error){const ft="Server returned handshake error: "+pe.error;this._logger.log(K.$.Error,ft);const At=new Error(ft);throw this._handshakeRejecter(At),At}return this._logger.log(K.$.Debug,"Server handshake complete."),this._handshakeResolver(),Te}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var V=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let pe=this._nextKeepAlive-(new Date).getTime();pe<0&&(pe=0),this._pingServerHandle=setTimeout((0,m.A)(function*(){if(V._connectionState===vt.Connected)try{yield V._sendMessage(V._cachedPingMessage)}catch{V._cleanupPingTimer()}}),pe)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(V){var pe=this;return(0,m.A)(function*(){const Te=V.target.toLowerCase(),ft=pe._methods[Te];if(!ft)return pe._logger.log(K.$.Warning,`No client method with the name '${Te}' found.`),void(V.invocationId&&(pe._logger.log(K.$.Warning,`No result given for '${Te}' method and invocation ID '${V.invocationId}'.`),yield pe._sendWithProtocol(pe._createCompletionMessage(V.invocationId,"Client didn't provide a result.",null))));const At=ft.slice(),sn=!!V.invocationId;let Bt,Ut,zt;for(const wt of At)try{const Qe=Bt;Bt=yield wt.apply(pe,V.arguments),sn&&Bt&&Qe&&(pe._logger.log(K.$.Error,`Multiple results provided for '${Te}'. Sending error to server.`),zt=pe._createCompletionMessage(V.invocationId,"Client provided multiple results.",null)),Ut=void 0}catch(Qe){Ut=Qe,pe._logger.log(K.$.Error,`A callback for the method '${Te}' threw error '${Qe}'.`)}zt?yield pe._sendWithProtocol(zt):sn?(Ut?zt=pe._createCompletionMessage(V.invocationId,`${Ut}`,null):void 0!==Bt?zt=pe._createCompletionMessage(V.invocationId,null,Bt):(pe._logger.log(K.$.Warning,`No result given for '${Te}' method and invocation ID '${V.invocationId}'.`),zt=pe._createCompletionMessage(V.invocationId,"Client didn't provide a result.",null)),yield pe._sendWithProtocol(zt)):Bt&&pe._logger.log(K.$.Error,`Result given for '${Te}' method but server is not expecting a result.`)})()}_connectionClosed(V){this._logger.log(K.$.Debug,`HubConnection.connectionClosed(${V}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||V||new p("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(V||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===vt.Disconnecting?this._completeClose(V):this._connectionState===vt.Connected&&this._reconnectPolicy?this._reconnect(V):this._connectionState===vt.Connected&&this._completeClose(V)}_completeClose(V){if(this._connectionStarted){this._connectionState=vt.Disconnected,this._connectionStarted=!1,this._messageBuffer&&(this._messageBuffer._dispose(V??new Error("Connection closed.")),this._messageBuffer=void 0),f.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(pe=>pe.apply(this,[V]))}catch(pe){this._logger.log(K.$.Error,`An onclose callback called with error '${V}' threw error '${pe}'.`)}}}_reconnect(V){var pe=this;return(0,m.A)(function*(){const Te=Date.now();
1let ft=0,At=void 0!==V?V:new Error("Attempting to reconnect due to a unknown error."),sn=pe._getNextRetryDelay(ft++,0,At);if(null===sn)return pe._logger.log(K.$.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void pe._completeClose(V);if(pe._connectionState=vt.Reconnecting,pe._logger.log(K.$.Information,V?`Connection reconnecting because of error '${V}'.`:"Connection reconnecting."),0!==pe._reconnectingCallbacks.length){try{pe._reconnectingCallbacks.forEach(Bt=>Bt.apply(pe,[V]))}catch(Bt){pe._logger.log(K.$.Error,`An onreconnecting callback called with error '${V}' threw error '${Bt}'.`)}if(pe._connectionState!==vt.Reconnecting)return void pe._logger.log(K.$.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==sn;){if(pe._logger.log(K.$.Information,`Reconnect attempt number ${ft} will start in ${sn} ms.`),yield new Promise(Bt=>{pe._reconnectDelayHandle=setTimeout(Bt,sn)}),pe._reconnectDelayHandle=void 0,pe._connectionState!==vt.Reconnecting)return void pe._logger.log(K.$.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield pe._startInternal(),pe._connectionState=vt.Connected,pe._logger.log(K.$.Information,"HubConnection reconnected successfully."),0!==pe._reconnectedCallbacks.length)try{pe._reconnectedCallbacks.forEach(Bt=>Bt.apply(pe,[pe.connection.connectionId]))}catch(Bt){pe._logger.log(K.$.Error,`An onreconnected callback called with connectionId '${pe.connection.connectionId}; threw error '${Bt}'.`)}return}catch(Bt){if(pe._logger.log(K.$.Information,`Reconnect attempt failed because of error '${Bt}'.`),pe._connectionState!==vt.Reconnecting)return pe._logger.log(K.$.Debug,`Connection moved to the '${pe._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(pe._connectionState===vt.Disconnecting&&pe._completeClose());At=Bt instanceof Error?Bt:new Error(Bt.toString()),sn=pe._getNextRetryDelay(ft++,Date.now()-Te,At)}}pe._logger.log(K.$.Information,`Reconnect retries have been exhausted after ${Date.now()-Te} ms and ${ft} failed attempts. Connection disconnecting.`),pe._completeClose()})()}_getNextRetryDelay(V,pe,Te){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:pe,previousRetryCount:V,retryReason:Te})}catch(ft){return this._logger.log(K.$.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${V}, ${pe}) threw error '${ft}'.`),null}}_cancelCallbacksWithError(V){const pe=this._callbacks;this._callbacks={},Object.keys(pe).forEach(Te=>{const ft=pe[Te];try{ft(null,V)}catch(At){this._logger.log(K.$.Error,`Stream 'error' callback called with '${V}' threw error: ${Fe(At)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(V,pe,Te,ft){if(Te)return 0!==ft.length?{arguments:pe,streamIds:ft,target:V,type:ln.Invocation}:{arguments:pe,target:V,type:ln.Invocation};{const At=this._invocationId;return this._invocationId++,0!==ft.length?{arguments:pe,invocationId:At.toString(),streamIds:ft,target:V,type:ln.Invocation}:{arguments:pe,invocationId:At.toString(),target:V,type:ln.Invocation}}}_launchStreams(V,pe){if(0!==V.length){pe||(pe=Promise.resolve());for(const Te in V)V[Te].subscribe({complete:()=>{pe=pe.then(()=>this._sendWithProtocol(this._createCompletionMessage(Te)))},error:ft=>{let At;At=ft instanceof Error?ft.message:ft&&ft.toString?ft.toString():"Unknown error",pe=pe.then(()=>this._sendWithProtocol(this._createCompletionMessage(Te,At)))},next:ft=>{pe=pe.then(()=>this._sendWithProtocol(this._createStreamItemMessage(Te,ft)))}})}}_replaceStreamingParams(V){const pe=[],Te=[];for(let ft=0;ft<V.length;ft++){const At=V[ft];if(this._isObservable(At)){const sn=this._invocationId;this._invocationId++,pe[sn]=At,Te.push(sn.toString()),V.splice(ft,1)}}return[pe,Te]}_isObservable(V){return V&&V.subscribe&&"function"==typeof V.subscribe}
1_createStreamInvocation(V,pe,Te){const ft=this._invocationId;return this._invocationId++,0!==Te.length?{arguments:pe,invocationId:ft.toString(),streamIds:Te,target:V,type:ln.StreamInvocation}:{arguments:pe,invocationId:ft.toString(),target:V,type:ln.StreamInvocation}}_createCancelInvocation(V){return{invocationId:V,type:ln.CancelInvocation}}_createStreamItemMessage(V,pe){return{invocationId:V,item:pe,type:ln.StreamItem}}_createCompletionMessage(V,pe,Te){return pe?{error:pe,invocationId:V,type:ln.Completion}:{invocationId:V,result:Te,type:ln.Completion}}_createCloseMessage(){return{type:ln.Close}}}class pt{constructor(){this.name="json",this.version=2,this.transferFormat=De.B.Text}parseMessages(V,pe){if("string"!=typeof V)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!V)return[];null===pe&&(pe=z.instance);const Te=It.parse(V),ft=[];for(const At of Te){const sn=JSON.parse(At);if("number"!=typeof sn.type)throw new Error("Invalid payload.");switch(sn.type){case ln.Invocation:this._isInvocationMessage(sn);break;case ln.StreamItem:this._isStreamItemMessage(sn);break;case ln.Completion:this._isCompletionMessage(sn);break;case ln.Ping:case ln.Close:break;case ln.Ack:this._isAckMessage(sn);break;case ln.Sequence:this._isSequenceMessage(sn);break;default:pe.log(K.$.Information,"Unknown message type '"+sn.type+"' ignored.");continue}ft.push(sn)}return ft}writeMessage(V){return It.write(JSON.stringify(V))}_isInvocationMessage(V){this._assertNotEmptyString(V.target,"Invalid payload for Invocation message."),void 0!==V.invocationId&&this._assertNotEmptyString(V.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(V){if(this._assertNotEmptyString(V.invocationId,"Invalid payload for StreamItem message."),void 0===V.item)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(V){if(V.result&&V.error)throw new Error("Invalid payload for Completion message.");!V.result&&V.error&&this._assertNotEmptyString(V.error,"Invalid payload for Completion message."),this._assertNotEmptyString(V.invocationId,"Invalid payload for Completion message.")}_isAckMessage(V){if("number"!=typeof V.sequenceId)throw new Error("Invalid SequenceId for Ack message.")}_isSequenceMessage(V){if("number"!=typeof V.sequenceId)throw new Error("Invalid SequenceId for Sequence message.")}_assertNotEmptyString(V,pe){if("string"!=typeof V||""===V)throw new Error(pe)}}const Ze={trace:K.$.Trace,debug:K.$.Debug,info:K.$.Information,information:K.$.Information,warn:K.$.Warning,warning:K.$.Warning,error:K.$.Error,critical:K.$.Critical,none:K.$.None};class Ve{configureLogging(V){if(L.isRequired(V,"logging"),function st(at){return void 0!==at.log}(V))this.logger=V;else if("string"==typeof V){const pe=function X(at){const V=Ze[at.toLowerCase()];if(typeof V<"u")return V;throw new Error(`Unknown log level: ${at}`)}(V);this.logger=new Y(pe)}else this.logger=new Y(V);return this}withUrl(V,pe){return L.isRequired(V,"url"),L.isNotEmpty(V,"url"),this.url=V,this.httpConnectionOptions="object"==typeof pe?{...this.httpConnectionOptions,...pe}:{...this.httpConnectionOptions,transport:pe},this}withHubProtocol(V){return L.isRequired(V,"protocol"),this.protocol=V,this}withAutomaticReconnect(V){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=V?Array.isArray(V)?new c(V):V:new c,this}withServerTimeout(V){return L.isRequired(V,"milliseconds"),this._serverTimeoutInMilliseconds=V,this}withKeepAliveInterval(V){return L.isRequired(V,"milliseconds"),this._keepAliveIntervalInMilliseconds=V,this}withStatefulReconnect(V){return void 0===this.httpConnectionOptions&&(this.httpConnectionOptions={}),this.httpConnectionOptions._useStatefulReconnect=!0,this._statefulReconnectBufferSize=V?.bufferSize,this}build(){const V=this.httpConnectionOptions||{};if(void 0===V.logger&&(V.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");const pe=new we(this.url,V);return Wt.create(pe,this.logger||z.instance,this.protocol||new pt,this.reconnectPolicy,this._serverTimeoutInMilliseconds,this._keepAliveIntervalInMilliseconds,this._statefulReconnectBufferSize)}}},2757:(Nt,Le,a)=>{"use strict";a.d(Le,{$:()=>t});var t=function(c){return c[c.Trace=0]="Trace",c[c.Debug=1]="Debug",c[c.Information=2]="Information",c[c.Warning=3]="Warning",c[c.Error=4]="Error",c[c.Critical=5]="Critical",c[c.None=6]="None",c}(t||{})},2016:(Nt,Le,a)=>{"use strict";a.d(Le,{B:()=>c,w:()=>t});var t=function(m){return m[m.None=0]="None",m[m.WebSockets=1]="WebSockets",m[m.ServerSentEvents=2]="ServerSentEvents",m[m.LongPolling=4]="LongPolling",m}(t||{}),c=function(m){return m[m.Text=1]="Text",m[m.Binary=2]="Binary",m}(c||{})},289:(Nt,Le,a)=>{"use strict";a.d(Le,{o:()=>m});var t=a(2820),c=a(4438);let m=(()=>{class x{constructor(b){this.appConfig=b,x.ConfigStatic=b,this.Config=b}static#e=this.\u0275fac=function(v){return new(v||x)(c.KVO(t.vQ))};static#t=this.\u0275prov=c.jDH({token:x,factory:x.\u0275fac})}return x})()},2820:(Nt,Le,a)=>{"use strict";a.d(Le,{vQ:()=>ll,kR:()=>va});var t=a(4438),c=a(345),m=a(5812),x=a(2791),_=a(177);let b=(()=>{class oe{constructor(E,Se){this.router=E,this.location=Se,this.history=[]}startSaveHistory(){this.router.events.subscribe(E=>{E instanceof x.wF&&this.history.push(E.urlAfterRedirects)})}getHistory(){return this.history}goBack(){this.history.pop(),this.history.length>0?this.location.back():this.router.navigateByUrl("/")}
1getPreviousUrl(){return this.history.length>0?this.history[this.history.length-2]:""}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(x.Ix),t.KVO(_.aZ))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac})}return oe})();var v=a(3955),M=a(289),N=a(4412),p=a(2771),P=a(5964),g=a(6354),U=a(8839),G=a(8793),A=a(6697),K=a(9974),z=a(4360),ee=a(5343),f=a(3703),D=a(1397),R=a(8750);function S(oe,qe){return qe?E=>(0,G.x)(qe.pipe((0,A.s)(1),function L(){return(0,K.N)((oe,qe)=>{oe.subscribe((0,z._)(qe,ee.l))})}()),E.pipe(S(oe))):(0,D.Z)((E,Se)=>(0,R.Tg)(oe(E,Se)).pipe((0,A.s)(1),(0,f.u)(E)))}var j=a(1584);class H{constructor(){this.pageTracking={autoTrackVirtualPages:!0,basePath:"",excludedRoutes:[],clearIds:!1,clearHash:!1,clearQueryParams:!1,idsRegExp:/^\d+$|^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/},this.developerMode=!1,this.ga={},this.appInsights={},this.gtm={},this.gst={}}}const J=new t.nKC("ANGULARTICS2");class Y{trackLocation(qe){return new N.t({url:"/"})}prepareExternalUrl(qe){return qe}}let W=(()=>{class oe{constructor(E,Se){this.tracker=E,this.pageTrack=new p.m(10),this.eventTrack=new p.m(10),this.exceptionTrack=new p.m(10),this.setAlias=new p.m(10),this.setUsername=new p.m(10),this.setUserProperties=new p.m(10),this.setUserPropertiesOnce=new p.m(10),this.setSuperProperties=new p.m(10),this.setSuperPropertiesOnce=new p.m(10),this.userTimings=new p.m(10);const tt=new H;this.settings={...tt,...Se.settings},this.settings.pageTracking={...tt.pageTracking,...Se.settings.pageTracking},this.tracker.trackLocation(this.settings).subscribe(Et=>this.trackUrlChange(Et.url))}filterDeveloperMode(){return(0,P.p)((E,Se)=>!this.settings.developerMode)}trackUrlChange(E){if(this.settings.pageTracking.autoTrackVirtualPages&&!this.matchesExcludedRoute(E)){const Se=this.clearUrl(E);let tt;tt=this.settings.pageTracking.basePath.length?this.settings.pageTracking.basePath+Se:this.tracker.prepareExternalUrl(Se),this.pageTrack.next({path:tt})}}matchesExcludedRoute(E){for(const Se of this.settings.pageTracking.excludedRoutes)if(Se instanceof RegExp&&Se.test(E)||-1!==E.indexOf(Se))return!0;return!1}clearUrl(E){return this.settings.pageTracking.clearIds||this.settings.pageTracking.clearQueryParams||this.settings.pageTracking.clearHash?E.split("/").map(Se=>this.settings.pageTracking.clearQueryParams?Se.split("?")[0]:Se).map(Se=>this.settings.pageTracking.clearHash?Se.split("#")[0]:Se).filter(Se=>!this.settings.pageTracking.clearIds||!Se.match(this.settings.pageTracking.idsRegExp)).join("/"):E}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(Y),t.KVO(J))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),re=(()=>{class oe{constructor(E,Se){this.router=E,this.location=Se}trackLocation(E){return this.router.events.pipe((0,P.p)(Se=>Se instanceof x.wF),(0,P.p)(()=>!E.developerMode),(0,g.T)(Se=>({url:Se.urlAfterRedirects})),function fe(oe,qe=U.E){const E=(0,j.O)(oe,qe);return S(()=>E)}(0))}prepareExternalUrl(E){return this.location.prepareExternalUrl(E)}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(x.Ix),t.KVO(_.aZ))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),Re=(()=>{class oe{}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({}),oe})(),Be=(()=>{class oe{static forRoot(E={}){return{ngModule:oe,providers:[{provide:J,useValue:{settings:E}},{provide:Y,useClass:re},W]}}}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({imports:[Re]}),oe})();class ke{constructor(){this.additionalAccountNames=[],this.userId=null,this.transport="",this.anonymizeIp=!1}}let Ne=(()=>{class oe{constructor(E){this.angulartics2=E,this.dimensionsAndMetrics=[];const Se=new ke;this.angulartics2.settings.ga={...Se,...this.angulartics2.settings.ga},this.settings=this.angulartics2.settings.ga,this.angulartics2.setUsername.subscribe(tt=>this.setUsername(tt)),this.angulartics2.setUserProperties.subscribe(tt=>this.setUserProperties(tt))}startTracking(){this.angulartics2.pageTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(E=>this.pageTrack(E.path)),this.angulartics2.eventTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(E=>this.eventTrack(E.action,E.properties)),this.angulartics2.exceptionTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(E=>this.exceptionTrack(E)),this.angulartics2.userTimings.pipe(this.angulartics2.filterDeveloperMode()).subscribe(E=>this.userTimings(E))}pageTrack(E){if(typeof _gaq<"u"&&_gaq){_gaq.push(["_trackPageview",E]);for(const Se of this.angulartics2.settings.ga.additionalAccountNames)_gaq.push([Se+"._trackPageview",E])}if(typeof ga<"u"&&ga){if(this.angulartics2.settings.ga.userId){ga("set","&uid",this.angulartics2.settings.ga.userId);for(const Se of this.angulartics2.settings.ga.additionalAccountNames)ga(Se+".set","&uid",this.angulartics2.settings.ga.userId)}
1if(this.angulartics2.settings.ga.anonymizeIp){ga("set","anonymizeIp",!0);for(const Se of this.angulartics2.settings.ga.additionalAccountNames)ga(Se+".set","anonymizeIp",!0)}ga("send","pageview",E);for(const Se of this.angulartics2.settings.ga.additionalAccountNames)ga(Se+".send","pageview",E)}}eventTrack(E,Se){if((!Se||!Se.category)&&((Se=Se||{}).category="Event"),Se.value){const tt=parseInt(Se.value,10);Se.value=isNaN(tt)?0:tt}if(typeof ga<"u"){const tt={eventCategory:Se.category,eventAction:E,eventLabel:Se.label,eventValue:Se.value,nonInteraction:Se.noninteraction,page:Se.page||location.hash.substring(1)||location.pathname,userId:this.angulartics2.settings.ga.userId,hitCallback:Se.hitCallback,...this.angulartics2.settings.ga.transport&&{transport:this.angulartics2.settings.ga.transport}};this.setDimensionsAndMetrics(Se),ga("send","event",tt);for(const Et of this.angulartics2.settings.ga.additionalAccountNames)ga(Et+".send","event",tt)}else typeof _gaq<"u"&&_gaq.push(["_trackEvent",Se.category,E,Se.label,Se.value,Se.noninteraction])}exceptionTrack(E){void 0===E.fatal&&(console.log('No "fatal" provided, sending with fatal=true'),E.fatal=!0),E.exDescription=E.description;const Se={exFatal:E.fatal,exDescription:E.description};ga("send","exception",Se);for(const tt of this.angulartics2.settings.ga.additionalAccountNames)ga(tt+".send","exception",Se)}userTimings(E){if(E&&E.timingCategory&&E.timingVar&&E.timingValue){if(typeof ga<"u"){ga("send","timing",E);for(const Se of this.angulartics2.settings.ga.additionalAccountNames)ga(Se+".send","timing",E)}}else console.error("Properties timingCategory, timingVar, and timingValue are required to be set.")}setUsername(E){this.angulartics2.settings.ga.userId=E,!(typeof ga>"u")&&ga("set","userId",E)}setUserProperties(E){this.setDimensionsAndMetrics(E)}setDimensionsAndMetrics(E){typeof ga>"u"||(this.dimensionsAndMetrics.forEach(Se=>{E.hasOwnProperty(Se)||(ga("set",Se,void 0),this.angulartics2.settings.ga.additionalAccountNames.forEach(tt=>{ga(`${tt}.set`,Se,void 0)}))}
1),this.dimensionsAndMetrics=[],Object.keys(E).forEach(Se=>{(0===Se.lastIndexOf("dimension",0)||0===Se.lastIndexOf("metric",0))&&(ga("set",Se,E[Se]),this.angulartics2.settings.ga.additionalAccountNames.forEach(tt=>{ga(`${tt}.set`,Se,E[Se])}),this.dimensionsAndMetrics.push(Se))}))}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(W))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();var vt=a(8359),Wt=a(8483);function ze(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",2),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.dismiss())}),t.k0s()}}function pt(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",3)(1,"div",4),t.qSk(),t.j41(2,"svg",5),t.nrm(3,"circle",6)(4,"path",7),t.k0s()(),t.joV(),t.j41(5,"div",8),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.j41(8,"div",9),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.dismiss())}),t.EFF(9),t.nI1(10,"translate"),t.k0s()()}2&oe&&(t.R7$(6),t.JRh(t.bMT(7,2,"i18n.app.popup.text.fill-data")),t.R7$(3),t.JRh(t.bMT(10,4,"i18n.app.popup.text.fill-data.button")))}let Ze=(()=>{class oe{constructor(E){this.popupService=E,this.showButton=!1,this.showPopup=!1,this.routerLink="",this.subscriptions=new vt.yU,this.subscriptions.add(this.popupService.onPopupOpened$.subscribe(({showButton:Se,time:tt,routerLink:Et})=>{this.showPopup||(null!=Et&&(this.routerLink=Et),this.showButton=Se,this.showPopup=!0,setTimeout(()=>{this.showPopup=!1},tt))}))}dismiss(){this.showPopup=!1}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(Wt.Y))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-error-popup"]],decls:2,vars:2,consts:[["class","backdrop",3,"click",4,"ngIf"],["class","popup-container",4,"ngIf"],[1,"backdrop",3,"click"],[1,"popup-container"],[1,"icon"],["xmlns","http://www.w3.org/2000/svg","width","49","height","49","viewBox","0 0 49 49","fill","none"],["cx","24.5","cy","24.5","r","24.5","fill","#FFE0DF"],["d","M36.7793 31.9204L25.8113 13.4763C25.5341 13.0101 25.0364 12.7251 24.4996 12.7251C23.9627 12.7251 23.465 13.0101 23.1879 13.4763L12.22 31.9204C11.9348 32.4002 11.9263 32.9985 12.198 33.4862C12.4697 33.974 12.9793 34.2756 13.5317 34.2756H35.4675C36.02 34.2756 36.5296 33.974 36.8012 33.4862C37.0729 32.9984 37.0645 32.4002 36.7793 31.9204ZM24.5078 19.1051C25.1377 19.1051 25.6707 19.4655 25.6707 20.1042C25.6707 22.0531 25.4446 24.8537 25.4446 26.8026C25.4446 27.3103 24.8954 27.5232 24.5078 27.5232C23.991 27.5232 23.5549 27.3103 23.5549 26.8026C23.5549 24.8537 23.3288 22.0531 23.3288 20.1042C23.3288 19.4655 23.8456 19.1051 24.5078 19.1051ZM24.524 31.1754C23.8133 31.1754 23.2803 30.5858 23.2803 29.9144C23.2803 29.2265 23.8133 28.6533 24.524 28.6533C25.1861 28.6533 25.7515 29.2265 25.7515 29.9144C25.7515 30.5858 25.1861 31.1754 24.524 31.1754Z","fill","#DC5A54"],[1,"text"],[1,"button","cursor_pointer",3,"click"]],template:function(Se,tt){1&Se&&t.DNE(0,ze,1,0,"div",0)(1,pt,11,6,"div",1),2&Se&&(t.Y8G("ngIf",tt.showPopup),t.R7$(),t.Y8G("ngIf",tt.showPopup))},dependencies:[_.bT,v.D9],styles:[".backdrop[_ngcontent-%COMP%]{opacity:.6;background:#4c4c4c;position:absolute;inset:0;z-index:30}.popup-container[_ngcontent-%COMP%]{position:absolute;inset:0;margin:auto;width:389px;height:254px;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #a1a1a140;z-index:31;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:0 54px;row-gap:35px}.popup-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-align:center;font-size:16px;font-weight:500}.popup-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{display:flex;width:-moz-fit-content;width:fit-content;padding:0 30px;height:40px;justify-content:center;align-items:center;border-radius:24px;background:#5fba34;color:#fff;font-size:16px;font-weight:500}@media (max-width: 580px){.popup-container[_ngcontent-%COMP%]{width:225px;height:261px;padding:0 25px}.popup-container[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:45px;height:45px}.popup-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:14px}.popup-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{height:36px;font-size:14px;padding:0 20px}}"]})}return oe})();var X=a(3657),Ve=a(7917);const st=()=>({of:"#employee"});function at(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"dx-load-panel",1),t.mxI("visibleChange",function(tt){t.eBV(E);const Et=t.XpG();return t.DH7(Et.showLoader,tt)||(Et.showLoader=tt),t.Njj(tt)}),t.k0s()}if(2&oe){const E=t.XpG();t.Y8G("position",t.lJ4(6,st)),t.R50("visible",E.showLoader),t.Y8G("showIndicator",!0)("showPane",!0)("shading",!0)("hideOnOutsideClick",!1)}}let V=(()=>{class oe{constructor(E){this.loaderService=E,this.showLoader=!1,this.subscriptions=new vt.yU,this.subscriptions.add(this.loaderService.onLoadShow$.subscribe(Se=>{this.loaderService.hide||(this.showLoader=Se,document.body.style.overflow=Se?"hidden":"visible")}))}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(X.Z))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-loader"]],decls:1,vars:1,consts:[["shadingColor","rgba(0,0,0,0.4)",3,"position","visible","showIndicator","showPane","shading","hideOnOutsideClick","visibleChange",4,"ngIf"],["shadingColor","rgba(0,0,0,0.4)",3,"visibleChange","position","visible","showIndicator","showPane","shading","hideOnOutsideClick"]],template:function(Se,tt){1&Se&&t.DNE(0,at,1,7,"dx-load-panel",0),2&Se&&t.Y8G("ngIf",!tt.loaderService.hide)},dependencies:[_.bT,Ve.S]})}return oe})();var pe=a(6029);let Te=(()=>{class oe{constructor(E,Se,tt,Et,vn){this.authService=E,this.navigation=Se,this.translateService=tt,this.appConfig=Et,this.angulartics2GoogleAnalytics=vn,this.title="detect-route-change";const ri=localStorage.getItem("version");(!ri||"1.0"!==ri)&&(localStorage.clear(),localStorage.setItem("version","1.0")),this.navigation.startSaveHistory(),this.authService.availableLanguages(),this.authService.setLanguageFromLocalStorage();const pi=document.createElement("script");
1pi.src=`https://maps.googleapis.com/maps/api/js?v=quarterly&key=${this.appConfig.Config.GOOGLE_API_KEY}&libraries=places&language=${this.translateService.currentLang}&loading=async`,document.head.appendChild(pi),this.loadGoogleAnalytics(),this.angulartics2GoogleAnalytics.startTracking()}loadGoogleAnalytics(){const E=document.createElement("script");E.async=!0,E.src=`https://www.googletagmanager.com/gtag/js?id=${this.appConfig.Config.GOOGLE_ANALYTIC_MEASUREMENT_ID}`,document.head.appendChild(E);const Se=document.createElement("script");Se.innerHTML=`\n      window.dataLayer = window.dataLayer || [];\n      function gtag(){dataLayer.push(arguments);}\n      gtag('js', new Date());\n      gtag('config', '${this.appConfig.Config.GOOGLE_ANALYTIC_MEASUREMENT_ID}');\n    `,document.head.appendChild(Se)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(m.u),t.rXU(b),t.rXU(v.c$),t.rXU(M.o),t.rXU(Ne))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-root"]],decls:6,vars:0,consts:[[1,"app-container"],[1,"body"],[1,"loader"]],template:function(Se,tt){1&Se&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"router-outlet"),t.k0s(),t.nrm(3,"app-loader",2),t.k0s(),t.nrm(4,"app-error-popup")(5,"app-toast"))},dependencies:[x.n3,Ze,V,pe.d],styles:["[_nghost-%COMP%]{background-color:#f2f2f2}.app-container[_ngcontent-%COMP%]{position:relative}"]})}return oe})();a(8321);var At=a(7283),sn=a(1837);let Ut=(()=>{class oe{}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({imports:[[sn.POb,sn.B9H,sn.GIV,sn.u4t,At.p_,At.xZ],sn.POb,sn.B9H,sn.GIV,sn.u4t,At.xZ]}),oe})();var zt=a(2600),wt=a(8688),Qe=a(1291),ot=a(6445),Vt=a(6502);const rn=["*"],wn=oe=>({compactMode:oe});function jn(oe,qe){1&oe&&t.nrm(0,"div",35)}function Pt(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.module.dashboard.home.header")))}function Lt(oe,qe){1&oe&&t.nrm(0,"div",35)}function Jt(oe,qe){1&oe&&(t.qSk(),t.j41(0,"svg",43),t.nrm(1,"path",44),t.k0s())}function pn(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.module.dashboard.service-jobs")))}function Dn(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",18),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.navigateToPage(tt.PagesNavigationEnum.ServiceJobsShop))}),t.DNE(1,Lt,1,0,"div",19),t.qSk(),t.j41(2,"svg",40),t.bIt("mouseenter",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.ServiceJobsShop)})("mouseleave",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.UnSet)}),t.nrm(3,"path",41)(4,"path",42),t.k0s(),t.DNE(5,Jt,2,0,"svg",33),t.joV(),t.j41(6,"p",23),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.DNE(9,pn,6,3,"div",24),t.k0s()}if(2&oe){const E=t.XpG();t.R7$(),t.Y8G("ngIf",E.checkActivatedRoute(E.PagesNavigationEnum.ServiceJobsShop)),t.R7$(4),t.Y8G("ngIf",E.isServiceJobsUpdates()),t.R7$(2),t.JRh(t.bMT(8,4,"i18n.app.module.dashboard.service-jobs")),t.R7$(2),t.Y8G("ngIf",E.burgerService.sideNavbarCompact&&E.hoverLink===E.PagesNavigationEnum.ServiceJobsShop)}}function zn(oe,qe){1&oe&&t.nrm(0,"div",25)}function Dt(oe,qe){1&oe&&t.nrm(0,"div",35)}function it(oe,qe){1&oe&&(t.qSk(),t.j41(0,"svg",43),t.nrm(1,"path",44),t.k0s())}function Ht(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.module.dashboard.service-requests")))}function d(oe,qe){1&oe&&t.nrm(0,"div",25)}function O(oe,qe){1&oe&&t.nrm(0,"div",35)}function T(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.module.dashboard.bikes")))}function Me(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",18),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.navigateToPage(tt.PagesNavigationEnum.MyBikes))}),t.DNE(1,O,1,0,"div",19),t.qSk(),t.j41(2,"svg",45),t.bIt("mouseenter",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.MyBikes)})("mouseleave",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.UnSet)}),t.nrm(3,"path",46),t.k0s(),t.joV(),t.j41(4,"p",23),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.DNE(7,T,6,3,"div",24),t.k0s()}if(2&oe){const E=t.XpG();t.R7$(),t.Y8G("ngIf",E.checkActivatedRoute(E.PagesNavigationEnum.MyBikes)),t.R7$(4),t.JRh(t.bMT(6,3,"i18n.app.module.dashboard.bikes")),t.R7$(2),t.Y8G("ngIf",E.burgerService.sideNavbarCompact&&E.hoverLink===E.PagesNavigationEnum.MyBikes)}}function be(oe,qe){1&oe&&t.nrm(0,"div",35)}function h(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.admin.shop-list")))}function w(oe,qe){1&oe&&t.nrm(0,"div",35)}function Oe(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.admin.service-management")))}function en(oe,qe){1&oe&&t.nrm(0,"div",35)}function Kn(oe,qe){1&oe&&(t.j41(0,"div",36),t.qSk(),t.j41(1,"svg",37),t.nrm(2,"path",38),t.k0s(),t.joV(),t.j41(3,"div",39),t.EFF(4),t.nI1(5,"translate"),t.k0s()()),2&oe&&(t.R7$(4),t.JRh(t.bMT(5,1,"i18n.app.admin.customers-list")))}function xi(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",47)(1,"p",48),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",18),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.navigateToPage(tt.PagesNavigationEnum.AdminShops))}),t.DNE(5,be,1,0,"div",19),t.qSk(),t.j41(6,"svg",49),t.bIt("mouseenter",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.AdminShops)})("mouseleave",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.UnSet)}),t.nrm(7,"path",50)(8,"path",51),t.k0s(),t.joV(),t.j41(9,"p",23),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.DNE(12,h,6,3,"div",24),t.k0s(),t.nrm(13,"div",25),t.j41(14,"div",18),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.navigateToPage(tt.PagesNavigationEnum.AdminServicesManagement))}),t.DNE(15,w,1,0,"div",19),t.qSk(),t.j41(16,"svg",52),t.bIt("mouseenter",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.AdminServicesManagement)})("mouseleave",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.UnSet)}),t.nrm(17,"path",53)(18,"path",54)(19,"path",55)(20,"path",56)(21,"rect",57),t.k0s(),t.joV(),t.j41(22,"p",23),t.EFF(23),t.nI1(24,"translate"),t.k0s(),t.DNE(25,Oe,6,3,"div",24),t.k0s(),t.nrm(26,"div",25),t.j41(27,"div",18),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.navigateToPage(tt.PagesNavigationEnum.AdminCustomers))}),t.DNE(28,en,1,0,"div",19),t.qSk(),t.j41(29,"svg",58),t.bIt("mouseenter",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.AdminCustomers)})("mouseleave",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.hoverLink=tt.PagesNavigationEnum.UnSet)}),t.j41(30,"g",59),t.nrm(31,"path",60)(32,"path",61)(33,"path",62)(34,"path",63),t.k0s(),t.j41(35,"def
1s")(36,"clipPath",64),t.nrm(37,"rect",65),t.k0s()()(),t.joV(),t.j41(38,"p",23),t.EFF(39),t.nI1(40,"translate"),t.k0s(),t.DNE(41,Kn,6,3,"div",24),t.k0s()()}if(2&oe){const E=t.XpG();t.R7$(2),t.JRh(t.bMT(3,10,"i18n.app.admin.admin-panel")),t.R7$(3),t.Y8G("ngIf",E.checkActivatedRoute(E.PagesNavigationEnum.AdminShops)),t.R7$(5),t.JRh(t.bMT(11,12,"i18n.app.admin.shop-list")),t.R7$(2),t.Y8G("ngIf",E.burgerService.sideNavbarCompact&&E.hoverLink===E.PagesNavigationEnum.AdminShops),t.R7$(3),t.Y8G("ngIf",E.checkActivatedRoute(E.PagesNavigationEnum.AdminServicesManagement)),t.R7$(8),t.JRh(t.bMT(24,14,"i18n.app.admin.service-management")),t.R7$(2),t.Y8G("ngIf",E.burgerService.sideNavbarCompact&&E.hoverLink===E.PagesNavigationEnum.AdminServicesManagement),t.R7$(3),t.Y8G("ngIf",E.checkActivatedRoute(E.PagesNavigationEnum.AdminCustomers)),t.R7$(11),t.JRh(t.bMT(40,16,"i18n.app.admin.customers-list")),t.R7$(2),t.Y8G("ngIf",E.burgerService.sideNavbarCompact&&E.hoverLink===E.PagesNavigationEnum.AdminCustomers)}}let Tt=(()=>{class oe{constructor(E,Se,tt,Et){this.router=E,this.authService=Se,this.burgerService=tt,this.notificationService=Et,this.hoverLink=wt.c.UnSet,this.userRole=Qe.kX.NotSet,this.isAdmin=!1,this.PagesNavigationEnum=wt.c,this.UserRoleEnum=Qe.kX}ngOnInit(){this.userRole=this.authService.getUserRole(),this.isAdmin=this.authService.isAdmin()}navigateToPage(E){this.router.navigate([this.authService.getRoute(E)])}checkActivatedRoute(E){return this.authService.getRoute(E).startsWith(location.pathname)}goToMain(){this.router.navigate([""],{queryParams:{show:!0}})}isServiceJobsUpdates(){return this.notificationService.notifications.some(E=>(E.notificationType===Qe._n.CustomerAskForCall||E.notificationType===Qe._n.NewMessage||E.notificationType===Qe._n.CustomerAcceptedShopServiceReply||E.notificationType===Qe._n.ShopCreatedNewOffer||E.notificationType===Qe._n.ShopAddShopServiceReply||E.notificationType===Qe._n.CustomerPaidForService||E.notificationType===Qe._n.ShopCreateReport)&&!1===E.checked)}isNewService(){return this.notificationService.notifications.some(E=>E.notificationType===Qe._n.NewService&&!1===E.checked)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(x.Ix),t.rXU(m.u),t.rXU(ot.o),t.rXU(Vt.J))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-side-navigation-menu"]],ngContentSelectors:rn,decls:46,vars:19,consts:[[1,"menu-container",3,"ngClass"],[1,"switcher-container",3,"click"],[1,"switcher","flex-center","cursor_pointer"],["xmlns","http://www.w3.org/2000/svg","width","7","height","10","viewBox","0 0 7 10","fill","none"],["d","M6 1L2 5L6 9","stroke","white","stroke-width","1.5"],[1,"top"],["xmlns","http://www.w3.org/2000/svg","width","17","height","25","viewBox","0 0 17 25","fill","none",1,"logo-mobile","cursor_pointer",3,"click"],["y","21","width","17","height","3.5","fill","#FF5E3A"],["d","M8.76192 14.6264C7.35106 14.6264 6.05539 14.3131 4.87488 13.6863C3.70877 13.0596 2.7802 12.2031 2.08917 11.1167C1.41254 10.0304 1.07422 8.81871 1.07422 7.48168C1.07422 6.15857 1.41254 4.95385 2.08917 3.86751C2.7802 2.76725 3.70877 1.90375 4.87488 1.27701C6.05539 0.650281 7.35826 0.336914 8.78351 0.336914C10.2088 0.336914 11.49 0.664209 12.6274 1.3188C13.7647 1.95946 14.6573 2.86474 15.3051 4.03464L12.4762 5.89395C11.5548 4.38979 10.3167 3.63771 8.76192 3.63771C8.0133 3.63771 7.34387 3.79788 6.75361 4.11821C6.16336 4.43854 5.70267 4.89118 5.37155 5.47613C5.04044 6.06108 4.87488 6.73656 4.87488 7.50257C4.87488 8.64461 5.23479 9.57079 5.95461 10.2811C6.68883 10.9775 7.6246 11.3256 8.76192 11.3256C10.3167 11.3256 11.5548 10.5736 12.4762 9.0694L15.3051 10.9287C14.6573 12.0986 13.7647 13.0109 12.6274 13.6654C11.49 14.3061 10.2016 14.6264 8.76192 14.6264Z","fill","white"],["xmlns","http://www.w3.org/2000/svg","width","99","height","25","viewBox","0 0 99 25","fill","none",1,"logo-pc","cursor_pointer",3,"click"],["x","0.382812","y","21.3394","width","98.6156","height","3.48185","fill","#FF5E3A"],["d","M8.76192 14.6264C7.35106 14.6264 6.05539 14.3131 4.87488 13.6863C3.70877 13.0596 2.7802 12.2031 2.08917 11.1167C1.41253 10.0304 1.07422 8.81871 1.07422 7.48168C1.07422 6.15857 1.41253 4.95385 2.08917 3.86751C2.7802 2.76725 3.70877 1.90375 4.87488 1.27701C6.05539 0.650281 7.35826 0.336914 8.78351 0.336914C10.2088 0.336914 11.49 0.664209 12.6274 1.3188C13.7647 1.95946 14.6573 2.86474 15.3051 4.03464L12.4762 5.89395C11.5548 4.38979 10.3167 3.63771 8.76192 3.63771C8.0133 3.63771 7.34387 3.79788 6.75361 4.11821C6.16336 4.43854 5.70267 4.89118 5.37155 5.47613C5.04044 6.06108 4.87488 6.73656 4.87488 7.50257C4.87488 8.64461 5.23479 9.57079 5.95461 10.2811C6.68883 10.9775 7.6246 11.3256 8.76192 11.3256C10.3167 11.3256 11.5548 10.5736 12.4762 9.0694L15.3051 10.9287C14.6573 12.0986 13.7647 13.0109 12.6274 13.6654C11.49 14.3061 10.2016 14.6264 8.76192 14.6264Z","fill","white"],["d","M28.5453 9.09029V14.3757H24.831V9.13207L19.9291 0.587608H24.032L26.6882 5.39256L29.3443 0.587608H33.4257L28.5453 9.09029Z","fill","white"],["d","M45.5108 14.6264C44.0999 14.6264 42.8043 14.3131 41.6237 13.6863C40.4576 13.0596 39.5291 12.2031 38.838 11.1167C38.1614 10.0304 37.8231 8.81871 37.8231 7.48168C37.8231 6.15857 38.1614 4.95385 38.838 3.86751C39.5291 2.76725 40.4576 1.90375 41.6237 1.27701C42.8043 0.650281 44.1071 0.336914 45.5324 0.336914C46.9576 0.336914 48.2389 0.664209 49.3762 1.3188C50.5135 1.95946 51.4061 2.86474 52.054 4.03464L49.2251 5.89395C48.3037 4.38979 47.0656 3.63771 45.5108 3.63771C44.7622 3.63771 44.0927 3.79788 43.5025 4.11821C42.9122 4.43854 42.4515 4.89118 42.1204 5.47613C41.7893 6.06108 41.6237 6.73656 41.6237 7.50257C41.6237 8.64461 41.9837 9.57079 42.7035 10.2811C43.4377 10.9775 44.3735 11.3256 45.5108 11.3256C47.0656 11.3256 48.3037 10.5736 49.2251 9.0694L52.054 10.9287C51.4061 12.0986 50.5135 13.0109 49.3762 13.6654C48.2389 14.3061 46.9504 14.6264 45.5108 14.6264Z","fill","white"],["d","M58.4817 0.587608H62.196V11.1376H68.0914V14.3757H58.4817V0.587608Z","fill","white"],["d","M74.3572 0.587608H78.0715V14.3757H74.3572V0.587608Z","fill","white"],["d","M93.0303 14.3757L90.5253 10.5109L88.042 14.3757H83.8526L88.4954 7.37722L84.1117 0.587608H88.3011L90.5253 4.26444L92.7496 0.587608H96.939L92.62 7.37722L97.2197 14.3757H93.0303Z","fill","white"],[1,"links","cera-400-white"],[1,"link",3,"click"],["class","activated",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","18","height","18","viewBox","0 0 18 18","fill","none",1,"icon",3,"mouseenter","mouseleave"],["d","M17.6976 7.7002L9.62166 0.341399C9.26718 0.01835 8.73263 0.0183852 8.37829 0.341364L0.302274 7.70024C0.0183178 7.95899 -0.0754786 8.35765 0.0632473 8.71586C0.202008 9.07407 0.539858 9.3055 0.924009 9.3055H2.21389V16.6785C2.21389 16.9708 2.45091 17.2078 2.74323 17.2078H5.88416C6.17649 17.2078 6.41351 16.9708 6.41351 16.6785V12.2018H11.5865V16.6785C11.5865 16.9708 11.8236 17.2078 12.1159 17.2078H15.2566C15.5489 17.2078 15.786 16.9709 15.786 16.6785V9.3055H17.0761C17.4602 9.3055 17.7981 9.07403 17.9368 8.71586C18.0754 8.35762 17.9816 7.95898 17.6976 7.7002Z","fill","white"],["d","M15.6487 1.60156H12.0938L16.178 5.31531V2.13087C16.178 1.83855 15.9411 1.60156 15.6487 1.60156Z","fill","white"],[1,"text"],["class","hover-box-container",4,"ngIf"],[1,"underline"],["class","link",3,"click",4,"ngIf"],["class","underline",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none",1,"icon",3,"mouseenter","mouseleave"],["fill-rule","evenodd","clip-rule","evenodd","d","M1.88 0C0.862166 0 0 0.862174 0 1.88V5.47999C0 6.49783 0.862166 7.35999 1.88 7.35999H5.47999C6.49785 7.35999 7.36001 6.49783 7.36001 5.47999V1.88C7.36001 0.862174 6.49785 0 5.47999 0H1.88ZM1.6 1.88C1.6 1.74583 1.74582 1.6 1.88 1.6H5.47999C5.61416 1.6 5.75999 1.74583 5.75999 1.88V5.47999C5.75999 5.61416 5.614
116 5.75999 5.47999 5.75999H1.88C1.74582 5.75999 1.6 5.61416 1.6 5.47999V1.88Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.5206 0C9.50278 0 8.64062 0.862174 8.64062 1.88V5.47999C8.64062 6.49783 9.50278 7.35999 10.5206 7.35999H14.1206C15.1384 7.35999 16.0006 6.49783 16.0006 5.47999V1.88C16.0006 0.862174 15.1384 0 14.1206 0H10.5206ZM10.2406 1.88C10.2406 1.74583 10.3865 1.6 10.5206 1.6H14.1206C14.2548 1.6 14.4006 1.74583 14.4006 1.88V5.47999C14.4006 5.61416 14.2548 5.75999 14.1206 5.75999H10.5206C10.3865 5.75999 10.2406 5.61416 10.2406 5.47999V1.88Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M0 10.5196C0 9.50181 0.862166 8.63965 1.88 8.63965H5.47999C6.49785 8.63965 7.36001 9.50181 7.36001 10.5196V14.1196C7.36001 15.1375 6.49785 15.9996 5.47999 15.9996H1.88C0.862166 15.9996 0 15.1375 0 14.1196V10.5196ZM1.88 10.2396C1.74582 10.2396 1.6 10.3855 1.6 10.5196V14.1196C1.6 14.2538 1.74582 14.3996 1.88 14.3996H5.47999C5.61416 14.3996 5.75999 14.2538 5.75999 14.1196V10.5196C5.75999 10.3855 5.61416 10.2396 5.47999 10.2396H1.88Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.5206 8.63965C9.50278 8.63965 8.64062 9.50181 8.64062 10.5196V14.1196C8.64062 15.1375 9.50278 15.9996 10.5206 15.9996H14.1206C15.1384 15.9996 16.0006 15.1375 16.0006 14.1196V10.5196C16.0006 9.50181 15.1384 8.63965 14.1206 8.63965H10.5206ZM10.2406 10.5196C10.2406 10.3855 10.3865 10.2396 10.5206 10.2396H14.1206C14.2548 10.2396 14.4006 10.3855 14.4006 10.5196V14.1196C14.4006 14.2538 14.2548 14.3996 14.1206 14.3996H10.5206C10.3865 14.3996 10.2406 14.2538 10.2406 14.1196V10.5196Z","fill","white"],["class","dot","xmlns","http://www.w3.org/2000/svg","width","12","height","12","viewBox","0 0 12 12","fill","none",4,"ngIf"],["class","admin-menu",4,"ngIf"],[1,"activated"],[1,"hover-box-container"],["xmlns","http://www.w3.org/2000/svg","width","6","height","8","viewBox","0 0 6 8","fill","none"],["d","M-1.27146e-07 4L6 8L6 4.76837e-07L-1.27146e-07 4Z","fill","#36363F"],[1,"box"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 20 20","fill","none",1,"icon",3,"mouseenter","mouseleave"],["d","M12.5 16.2406C12.1825 16.3681 11.8544 16.475 11.515 16.5531L11.3775 18.3444C11.36 18.5731 11.1687 18.75 10.9394 18.75H9.06C8.83063 18.75 8.64 18.5731 8.6225 18.345L8.485 16.5538C7.74875 16.3844 7.06063 16.0938 6.43875 15.7044L5.07312 16.875C4.89875 17.0244 4.63937 17.0144 4.47688 16.8519L3.14813 15.5231C2.98563 15.3606 2.97625 15.1012 3.125 14.9269L4.29563 13.5612C3.90688 12.9394 3.61625 12.2513 3.44625 11.515L1.655 11.3775C1.42687 11.36 1.25 11.1687 1.25 10.9394V9.06C1.25 8.83063 1.42687 8.64 1.655 8.6225L3.44625 8.485C3.61562 7.74875 3.90625 7.06063 4.29563 6.43875L3.12562 5.07312C2.97625 4.89937 2.98625 4.63937 3.14813 4.4775L4.47688 3.14875C4.63875 2.98688 4.89875 2.97687 5.07312 3.12562L6.43875 4.29625C7.06063 3.9075 7.74875 3.61687 8.485 3.44687L8.6225 1.65562C8.64 1.42687 8.83125 1.25 9.06063 1.25H10.94C11.1694 1.25 11.36 1.42687 11.3775 1.655L11.3856 1.75938C10.9006 2.50375 10.625 3.38125 10.625 4.30938C10.625 5.06063 10.8025 5.78063 11.1269 6.42313C10.7712 6.31063 10.3925 6.25 10 6.25C7.92875 6.25 6.25 7.92875 6.25 10C6.25 12.0712 7.92875 13.75 10 13.75C10.9619 13.75 11.8363 13.385 12.5 12.7894V16.2406Z","fill","white"],["d","M16.875 7.36837V17.1877C16.875 18.0509 16.1756 18.7502 15.3125 18.7502C14.4494 18.7502 13.75 18.0509 13.75 17.1877V7.36837C12.6375 6.79899 11.875 5.64462 11.875 4.30899C11.875 3.01837 12.5875 1.89587 13.64 1.30837C13.6881 1.28212 13.75 1.31962 13.75 1.37462V5.00024L15.3125 5.62524L16.875 5.00024V1.37462C16.875 1.31962 16.9369 1.28212 16.985 1.30899C18.0375 1.89649 18.75 3.01837 18.75 4.30962C18.75 5.64462 17.9875 6.79962 16.875 7.36837Z","fill","white"],["xmlns","http://www.w3.org/2000/svg","width","12","height","12","viewBox","0 0 12 12","fill","none",1,"dot"],["d","M5.99993 0.5C2.9669 0.5 0.5 2.96692 0.5 6.00007C0.5 9.03309 2.96691 11.5 5.99993 11.5C9.03308 11.5 11.5 9.0331 11.5 6.00007C11.5 2.96691 9.03309 0.5 5.99993 0.5Z","fill","#FF5E3A","stroke","#0D0F1E"],["xmlns","http://www.w3.org/2000/svg","width","21","height","13","viewBox","0 0 21 13","fill","none",1,"icon",3,"mouseenter","mouseleave"],["d","M17.0899 5.23488C16.774 5.23488 16.4669 5.27251 16.1725 5.34305L14.6174 1.63712L15.9665 1.19064C16.2888 1.08393 16.463 0.737963 16.3556 0.417895C16.2481 0.0978677 15.8999 -0.0752598 15.5773 0.0315652L13.5583 0.701554C13.2447 0.831349 13.0964 1.18897 13.227 1.5004L13.6136 2.42159L8.22117 3.81369L7.6673 2.53065H8.52305C8.86282 2.53065 9.13828 2.25714 9.13828 1.91976C9.13828 1.58238 8.86282 1.30886 8.52305 1.30886H5.8871C5.54732 1.30886 5.27186 1.58238 5.27186 1.91976C5.27186 2.25714 5.54732 2.53065 5.8871 2.53065H6.32855L7.14771 4.42825L5.9553 5.80961C5.35992 5.44535 4.65938 5.23488 3.91018 5.23488C1.75412 5.23488 0 6.97658 0 9.11744C0 11.2583 1.75412 13 3.91014 13C5.85691 13 7.47575 11.58 7.77172 9.72834H9.84096C10.0375 9.72834 10.2222 9.63507 10.3381 9.47734L14.3066 4.07316L15.0371 5.81421C13.9232 6.49915 13.1796 7.72358 13.1796 9.1174C13.1796 11.2583 14.9337 13 17.0897 13C19.2458 13 21 11.2583 21 9.11744C21 6.97658 19.2459 5.23488 17.0899 5.23488ZM3.91014 11.7783C2.4326 11.7783 1.23047 10.5846 1.23047 9.11744C1.23047 7.65028 2.4326 6.45667 3.91014 6.45667C4.35319 6.45667 4.7711 6.56463 5.13963 6.7545L3.44302 8.71991C3.28662 8.90106 3.25078 9.15601 3.35118 9.37275C3.45159 9.5895 3.66987 9.72838 3.91014 9.72838H6.51771C6.23889 10.9019 5.17601 11.7783 3.91014 11.7783ZM5.24783 8.50655L7.68793 5.67981L8.90798 8.50655H5.24783ZM9.9807 7.89032L8.71143 4.94951L12.9424 3.85719L9.9807 7.89032ZM17.0899 11.7783C15.6123 11.7783 14.4102 10.5846 14.4102 9.11748C14.4102 8.23246 14.848 7.44746 15.5195 6.96347L16.5219 9.35243C16.
16526 9.66387 17.0128 9.81113 17.3264 9.68138C17.6401 9.55158 17.7884 9.19397 17.6577 8.88253L16.6547 6.49231C16.7964 6.46921 16.9416 6.45667 17.0898 6.45667C18.5674 6.45667 19.7695 7.65032 19.7695 9.11744C19.7695 10.5846 18.5674 11.7783 17.0899 11.7783Z","fill","white"],[1,"admin-menu"],[1,"admin-label"],["xmlns","http://www.w3.org/2000/svg","width","20","height","17","viewBox","0 0 20 17","fill","none",1,"icon",3,"mouseenter","mouseleave"],["d","M19.4104 5.31736L18.3114 0.919214C18.1766 0.378857 17.6909 0 17.1336 0H2.29621C1.73886 0 1.25314 0.378857 1.11714 0.919214L0.0182143 5.31736C0.00607143 5.36471 0 5.4145 0 5.46428C0 7.13757 1.29321 8.5 2.88393 8.5C3.808 8.5 4.6325 8.03978 5.16071 7.32578C5.68893 8.03978 6.51343 8.5 7.4375 8.5C8.36157 8.5 9.18607 8.03978 9.71428 7.32578C10.2425 8.03978 11.0658 8.5 11.9911 8.5C12.9164 8.5 13.7396 8.03978 14.2679 7.32578C14.7961 8.03978 15.6194 8.5 16.5446 8.5C18.1354 8.5 19.4286 7.13757 19.4286 5.46428C19.4286 5.4145 19.4225 5.36471 19.4104 5.31736Z","fill","#FF5E3A"],["d","M16.5452 9.714C15.7183 9.714 14.9326 9.46143 14.2684 9C12.94 9.92407 11.0433 9.92407 9.71484 9C8.38641 9.92407 6.4897 9.92407 5.16127 9C4.49706 9.46143 3.71141 9.714 2.88449 9.714C2.28827 9.714 1.72606 9.57436 1.21484 9.33636V15.7854C1.21484 16.4557 1.75884 16.9997 2.42913 16.9997H7.28627V12.1426H12.1434V16.9997H17.0006C17.6708 16.9997 18.2148 16.4557 18.2148 15.7854V9.33636C17.7036 9.57436 17.1414 9.714 16.5452 9.714Z","fill","#FF5E3A"],["xmlns","http://www.w3.org/2000/svg","width","16","height","17","viewBox","0 0 16 17","fill","none",1,"icon",3,"mouseenter","mouseleave"],["d","M5.00017 6.99902C4.82483 6.99902 4.65417 6.92969 4.52883 6.80369L3.1955 5.47035C2.93483 5.20969 2.93483 4.78835 3.1955 4.52769C3.45617 4.26702 3.8775 4.26702 4.13817 4.52769L4.8175 5.20702L5.7375 3.36769C5.90283 3.03835 6.3035 2.90702 6.63217 3.06969C6.9615 3.23435 7.09483 3.63502 6.93017 3.96435L5.59683 6.63102C5.50083 6.82235 5.31883 6.95635 5.1075 6.99102C5.07083 6.99635 5.0355 6.99902 5.00017 6.99902Z","fill","#FF5E3A"],["d","M3.9974 9H5.33073C5.51473 9 5.66406 9.14933 5.66406 9.33333V10C5.66406 10.184 5.51473 10.3333 5.33073 10.3333H3.9974C3.8134 10.3333 3.66406 10.184 3.66406 10V9.33333C3.66406 9.14933 3.8134 9 3.9974 9Z","fill","#FF5E3A"],["d","M3.66406 13.3281V12.6615C3.66406 12.4775 3.8134 12.3281 3.9974 12.3281H5.33073C5.51473 12.3281 5.66406 12.4775 5.66406 12.6615V13.3281C5.66406 13.5121 5.51473 13.6615 5.33073 13.6615H3.9974C3.8134 13.6615 3.66406 13.5121 3.66406 13.3281Z","fill","#FF5E3A"],["d","M12.332 7.71096V12.9996C12.332 13.7363 11.7354 14.333 10.9987 14.333C10.262 14.333 9.66536 13.7363 9.66536 12.9996V7.71096C8.87136 7.24896 8.33203 6.39896 8.33203 5.41429C8.33203 4.35229 8.9547 3.43762 9.85336 3.00962C9.92003 2.97762 9.9987 3.02962 9.9987 3.10362V5.27896L10.9987 5.77896L11.9987 5.27896V3.10362C11.9987 3.03029 12.0774 2.97762 12.144 3.00962C13.0427 3.43762 13.6654 4.35162 13.6654 5.41362C13.6654 6.39829 13.126 7.24896 12.332 7.71096Z","fill","#FF5E3A"],["x","0.75","y","0.75","width","14.5","height","15.5","rx","1.25","stroke","#FF5E3A","stroke-width","1.5"],["xmlns","http://www.w3.org/2000/svg","width","16","height","17","viewBox","0 0 32 29","fill","none",3,"mouseenter","mouseleave"],["clip-path","url(#clip0_483_40169)"],["d","M25.1621 15.7812C24.9414 15.7812 24.7194 15.7916 24.5014 15.8115C24.2081 15.8386 23.9934 16.0905 24.0214 16.3739C24.0494 16.6574 24.3101 16.8648 24.6034 16.8378C24.7874 16.8204 24.9754 16.812 25.1621 16.812C28.3494 16.8126 30.932 19.3096 30.9313 22.3896C30.9306 25.4696 28.3467 27.9653 25.1594 27.9647C21.9722 27.964 19.3895 25.467 19.3902 22.387C19.3902 20.542 20.3355 18.8161 21.9142 17.7783C22.1575 17.6179 22.2201 17.2971 22.0542 17.062C21.8882 16.8268 21.5562 16.7663 21.3128 16.9267C18.1896 18.9804 17.3809 23.0918 19.5062 26.11C21.6315 29.1281 25.8861 29.9095 29.0093 27.8558C32.1326 25.802 32.9413 21.6906 30.816 18.6725C29.5427 16.8642 27.4254 15.7819 25.1621 15.7812Z","fill","#FF5E3A"],["d","M24.6919 4.70312L24.6812 4.73405C24.6859 4.72374 24.6892 4.71343 24.6926 4.70312H24.6919ZM19.8127 5.16052C19.7447 5.16052 19.678 5.18757 19.6307 5.23396C19.5827 5.28034 
119.5547 5.34412 19.5547 5.40983C19.5547 5.47554 19.5827 5.53996 19.6307 5.58634C19.678 5.63273 19.7447 5.65914 19.8127 5.65914C19.8807 5.65914 19.9473 5.63273 19.9947 5.58634C20.0427 5.53996 20.0707 5.47554 20.0707 5.40983C20.0707 5.34412 20.0427 5.28034 19.9947 5.23396C19.9473 5.18757 19.8807 5.16052 19.8127 5.16052Z","fill","#FF5E3A"],["d","M20.0707 5.40947C20.0707 5.47518 20.0427 5.5396 19.9947 5.58598C19.9473 5.63237 19.8807 5.65878 19.8127 5.65878C19.7447 5.65878 19.678 5.63237 19.6307 5.58598C19.5827 5.5396 19.5547 5.47518 19.5547 5.40947C19.5547 5.34376 19.5827 5.27998 19.6307 5.2336C19.678 5.18721 19.7447 5.16016 19.8127 5.16016C19.8807 5.16016 19.9473 5.18721 19.9947 5.2336C20.0427 5.27998 20.0707 5.34376 20.0707 5.40947Z","fill","#FF5E3A"],["d","M26.9471 10.7193C26.8971 10.7045 26.8451 10.6968 26.7925 10.6968H24.4445C24.4085 10.6968 24.3732 10.7006 24.3379 10.7071L22.6686 11.0356L21.3019 10.0455L20.6779 8.02393C20.7433 7.51565 20.7539 7.00221 20.7106 6.49199C20.7333 6.54997 20.7586 6.61375 20.7859 6.68396C20.9073 6.99641 21.1926 7.22253 21.5339 7.27664C21.5886 7.28502 21.6439 7.28953 21.6992 7.29017C21.9859 7.29017 22.2579 7.16648 22.4412 6.95325L22.8725 6.45591H23.2719C23.5479 6.45591 23.7779 6.25234 23.8025 5.98692L23.8959 4.98968L23.9485 5.01416C24.1672 5.11594 24.4218 5.06119 24.5758 4.89498C24.6098 4.85955 24.6378 4.81896 24.6605 4.77387C24.6672 4.76034 24.6738 4.74681 24.6785 4.73264L24.6892 4.70171L24.8845 4.11677C25.4298 2.48819 24.5018 0.734636 22.8165 0.207668L22.6346 0.150977C22.2212 0.0214898 21.8006 -0.0216726 21.3926 0.00989396C20.3386 0.0923535 19.3713 0.676013 18.8433 1.58693C18.7413 1.7628 18.656 1.95027 18.5893 2.14933L18.3366 2.905H18.3353C18.3006 2.99197 18.282 3.10664 18.3073 3.17428C18.4206 3.47964 18.7446 3.44034 18.8546 3.49252C18.2246 3.37205 15.1814 2.85024 12.9821 3.52731C11.0735 4.11483 9.67482 6.0172 9.42083 6.38118C9.0655 6.70458 7.15687 8.53608 7.60686 10.2362C6.87088 10.2549 6.29022 10.8462 6.31022 11.5575C6.32889 12.2551 6.91954 12.8111 7.64153 12.8111H10.0208C10.0481 12.8111 10.0755 12.8085 10.1028 12.8047C10.3135 12.9522 10.5428 13.1081 10.7948 13.2749L11.5714 15.2185L7.94486 20.045C6.60555 19.4542 5.02425 20.025 4.41293 21.3199C3.80161 22.6141 4.39226 24.1422 5.73224 24.7329C7.07154 25.3237 8.65351 24.7529 9.26416 23.458C9.3075 23.3659 9.3455 23.2719 9.37749 23.1759L11.8668 23.4336C11.8728 23.8349 11.9681 24.2298 12.1454 24.5932C10.8841 27.4206 7.48953 28.7251 4.56293 27.5063C1.63699 26.2874 0.287016 23.0071 1.54832 20.179C2.77896 17.4198 6.05023 16.0998 8.94617 17.1924C9.22016 17.2961 9.53016 17.166 9.63749 16.9006C9.74482 16.6358 9.60949 16.3362 9.33549 16.2325C8.51684 15.9227 7.67286 15.7758 6.84355 15.7758C4.11027 15.7758 1.52899 17.3696 0.472345 19.978C-0.904293 23.3769 0.830338 27.2112 4.34827 28.5422C7.57153 29.7617 11.2288 28.4623 12.8668 25.5157C14.0827 26.5477 15.9347 26.4317 17.0027 25.2567C17.1173 25.1304 17.22 24.9945 17.31 24.8502C17.4967 24.8103 17.646 24.6763 17.702 24.4997L18.1126 23.2029C18.294 22.6296 18.002 22.0156 17.434 21.7747L17.1153 21.6394L21.8406 15.0298C22.5059 16.7917 23.3652 19.0922 23.9592 20.6853C22.9865 21.3263 22.7365 22.6083 23.4005 23.5482C24.0645 24.4881 25.3912 24.7297 26.3631 24.0881C27.3358 23.4464 27.5858 22.1645 26.9225 21.2252C26.5245 20.6621 25.8652 20.3259 25.1598 20.3265C25.0932 20.3265 25.0278 20.3297 24.9625 20.3355C24.3099 18.5839 23.3359 15.9774 22.6499 14.1678L23.4445 14.6259C23.4772 14.6445 23.5119 14.66 23.5479 14.6716L24.6772 15.0375C25.1705 15.1953 25.7132 15.0671 26.0758 14.707L26.8131 13.9707C27.1725 13.6086 27.2091 13.0482 26.8991 12.6455L27.3025 11.3623C27.3885 11.0898 27.2291 10.8018 26.9471 10.7193ZM19.8293 2.57452C20.0566 1.75121 20.8406 1.14951 21.7139 1.17786C21.8952 1.1843 22.0786 1.21393 22.2599 1.27062L22.4419 1.32796C23.4885 1.65458 24.0639 2.74394 23.7259 3.75472L23.7072 3.81012L23.5979 4.10775L19.6466 3.17686L19.8293 2.57452ZM6.83888 23.9348C5.9549 23.9348 5.23825 23.2429 5.23758 22.3893C5.23758 21.5351 5.95356 20.8425 6.83688 20.8425C6.99288 20.8419 7.14821 20.8638 7.29687 20.9076L6.40689 22.0917C6.23423 22.3223 6.28689 22.6444 6.52555 22.8119C6.60088 22.8647 6.68888 22.8976 6.78155 22.9072L8.27818 23.0619C8.01086 23.5953 7.45153 23.9341 6.83888 23.9348ZM7.81153 21.977L8.15819 21.5157C8.27085 21.6736 8.35151 21.8507 8.39618 22.0375L7.81153 21.977ZM24.1105 22.2076C24.1432 22.0292 24.2245 21.8623 24.3459 21.7238C24.5358 22.2334 24.6525 22.5484 24.6578 22.5626C24.7558 22.8312 25.0605 22.9723 25.3385 22.8776C25.6165 22.7829 25.7618 22.4885 25.6645 22.2199C25.6638 22.2179 25.6625 22.216 25.6618 22.2141C25.6565 22.1999 25.5398 21.8849 25.3498 21.3747C25.9298 21.4758 26.3158 22.0118 26.2118 22.5729C26.1071 23.1334 25.5525 23.5064 24.9725 23.4052C24.3918 23.3047 24.0059 22.7687 24.1105 22.2076ZM22.8559 4.66048L22.7845 5.42517H22.6239C22.4659 5.42517 22.3166 5.49281 22.2152 5.60941L21.7259 6.17375C21.474
16 5.53855 21.4559 5.50247 21.4392 5.47026C21.3132 5.22611 21.0106 5.11917 20.7513 5.22804L20.4939 5.33498C20.3786 4.98452 20.2126 4.65146 20.0006 4.34546L20.2046 4.23723C20.3913 4.3242 20.5833 4.40731 20.7706 4.47688C21.6446 4.80286 22.4859 4.63923 22.8899 4.52198C22.8719 4.56643 22.8605 4.61346 22.8559 4.66048ZM19.6279 5.23255C19.6753 5.18616 19.7419 5.15911 19.8099 5.15911C19.8779 5.15911 19.9446 5.18616 19.9919 5.23255C20.0399 5.27893 20.0679 5.34271 20.0679 5.40842C20.0679 5.47413 20.0399 5.53855 19.9919 5.58493C19.9446 5.63132 19.8779 5.65773 19.8099 5.65773C19.7419 5.65773 19.6753 5.63132 19.6279 5.58493C19.5799 5.53855 19.552 5.47413 19.552 5.40842C19.552 5.34271 19.5799 5.27893 19.6279 5.23255ZM7.64153 11.781C7.4942 11.781 7.37487 11.6657 7.37487 11.5233C7.37487 11.3809 7.4942 11.2656 7.64153 11.2656H8.21752C8.39018 11.4466 8.57218 11.6187 8.76284 11.781H7.64153ZM8.72617 10.1994C8.24085 9.28466 9.31016 7.99494 9.87148 7.41064L10.6648 8.02587C10.8941 8.20367 11.2301 8.16824 11.4141 7.94598C11.5988 7.72437 11.5621 7.39969 11.3321 7.22188L10.5595 6.62276C11.0341 6.02687 12.0674 4.89111 13.3061 4.50974C14.0141 4.29199 14.844 4.2192 15.6407 4.2192C16.666 4.22757 17.688 4.32614 18.6946 4.5136C18.9886 4.65404 19.5193 5.33305 19.6226 6.30195C19.7326 7.32947 19.6106 7.95242 19.6099 7.95629C19.5926 8.03939 19.5966 8.12507 19.6213 8.20625L19.7866 8.74288L18.512 8.99283L18.3233 8.60695C18.2213 8.39822 17.9886 8.28033 17.7533 8.31834L13.6101 8.98832L12.5301 8.15084C12.3008 7.9724 11.9648 8.00783 11.7808 8.23008C11.5961 8.45234 11.6328 8.77638 11.8628 8.95482L14.5014 11.0814L12.5174 13.1377C10.7381 12.0367 9.07617 10.8604 8.72617 10.1994ZM12.5234 14.7392L12.3234 14.238C12.5694 14.3868 12.8094 14.5299 13.0401 14.6651L12.5234 14.7392ZM14.4974 15.4975C14.5974 15.5529 14.6881 15.6031 14.7667 15.6463L13.9814 18.3868L12.9174 15.7249C13.3154 15.6675 13.8647 15.5883 14.4974 15.4975ZM11.2828 18.8255C11.9581 19.6082 12.3968 20.5559 12.5508 21.5647C12.3314 21.8172 12.1588 22.1045 12.0421 22.4151L9.49349 22.1509C9.44016 21.5924 9.1995 21.0661 8.80684 20.6518L12.0294 16.3633L13.5041 20.0527L13.3854 20.4663C13.1214 19.6243 12.6854 18.8422 12.1028 18.1665C11.9148 17.9474 11.5781 17.9178 11.3521 18.0995C11.1255 18.2818 11.0941 18.6065 11.2828 18.8255ZM14.7987 25.1891C13.7687 25.1903 12.9334 24.3844 12.9321 23.3891C12.9321 23.2847 12.9414 23.1797 12.9601 23.0767C12.9914 23.154 13.0294 23.2287 13.0734 23.2996C13.2887 23.6423 13.6381 23.8864 14.0421 23.9779L16.182 24.5957C15.8287 24.9739 15.326 25.1891 14.7987 25.1891ZM17.0927 22.9021L16.8373 23.7093L14.3294 22.9852C14.3161 22.9813 14.3027 22.9781 14.2894 22.9755C14.0354 22.9221 13.8741 22.6798 13.9287 22.4344C13.9307 22.426 13.9327 22.4176 13.9354 22.4093L14.0161 22.1277L14.724 22.3088C14.7687 22.3204 14.814 22.3262 14.86 22.3262C14.8674 22.3262 14.8747 22.3262 14.882 22.3255L15.976 22.2824L17.0053 22.7185C17.078 22.7494 17.116 22.828 17.0927 22.9021ZM15.686 21.2619L14.9187 21.2922L14.3007 21.1344L15.906 15.5329C15.972 15.3029 15.866 15.0594 15.65 14.9441C14.9987 14.5962 14.2267 14.1633 13.4374 13.695L15.3214 11.7423L17.868 13.7955C18.0313 13.9275 18.0946 14.1427 18.028 14.3379L15.686 21.2619ZM17.4533 19.3525L18.9753 14.8565C19.8046 14.7386 20.4139 14.6523 20.8586 14.5898L17.4533 19.3525ZM19.072 13.8013C18.99 13.4907 18.8093 13.2131 18.5553 13.0069L14.6887 9.85866L17.5313 9.39933L18.6993 11.7887C18.7446 11.8815 18.8173 11.9588 18.908 12.011L21.1926 13.3284V13.3303C21.2132 13.3819 21.2346 13.4366 21.2559 13.492C20.8346 13.5507 20.1599 13.646 19.072 13.8013ZM25.3085 13.9913C25.2325 14.0667 25.1185 14.0937 25.0152 14.0602L23.9405 13.7124L19.5933 11.2064L18.98 9.95207L20.0919 9.73433L20.3293 10.5029C20.3619 10.6092 20.4286 10.7019 20.5199 10.7683L23.9212 13.2331C24.0472 13.3239 24.2085 13.3567 24.3619 13.3226L25.7412 13.0127C25.7625 13.0076 25.7852 13.014 25.8012 13.0295L26.0411 13.2588L25.3085 13.9913ZM25.9858 12.0026C25.8252 11.9704 25.6592 11.9723 25.4992 12.0084L24.3625 12.2642L23.8092 11.8635L24.4978 11.7282H26.0725L25.9858 12.0026Z","fill","#FF5E3A"],["id","clip0_483_40169"],["width","32","height","29","fill","#FF5E3A"]],template:function(Se,tt){1&Se&&(t.NAR(),t.SdG(0),t.j41(1,"div",0)(2,"div",1),t.bIt("click",function(){return tt.burgerService.sideNavbarCompact=!tt.burgerService.sideNavbarCompact}),t.j41(3,"div",2),t.qSk(),t.j41(4,"svg",3),t.nrm(5,"path",4),t.k0s()()(),t.joV(),t.j41(6,"div",5),t.qSk(),t.j41(7,"svg",6),t.bIt("click",function(){return tt.goToMain()}),t.nrm(8,"rect",7)(9,"path",8),t.k0s(),t.j41(10,"svg",9),t.bIt("click",function(){return tt.goToMain()}),t.nrm(11,"rect",10)(12,"path",11)(13,"path",12)(14,"path",13)(15,"path",14)(16,"path",15)(17,"path",16),t.k0s()(),t.joV(),t.j41(18,"div",17)(19,"div",18),t.bIt("click",function(){return tt.navigateToPage(tt.PagesNavigationEnum.Home)}),t.DNE(20,jn,1,0,"div",19),t.qSk(),t.j41(21,"svg",20),t.bIt("mouseenter",function(){return tt.hoverLink=tt.PagesNavigationEnum.HomeCustomer})("mouseleave",function(){return tt.hoverLink=tt.PagesNavigationEnum.UnSet}),t.nrm(22,"path",21)(23,"path",22),t.k0s(),t.joV(),t.j41(24,"p",23),t.EFF(25),t.nI1(26,"translate"),t.k0s(),t.DNE(27,Pt,6,3,"div",24),t.k0s(),t.nrm(28,"div",25),t.DNE(29,Dn,10,6,"div",26)(30,zn,1,0,"div",27),t.j41(31,"div",18),t.bIt("click",function(){return tt.navigateToPage(tt.PagesNavigationEnum.ServiceRequests)}),t.DNE(32,Dt,1,0,"div",19),t.qSk(),t.j41(33,"svg",28),t.bIt("mouseenter",function(){return tt.hoverLink=tt.PagesNavigationEnum.ServiceRequestsCustomer})("mouseleave",function(){return tt.hoverLink=tt.PagesNavigationEnum.UnSet}),t.nrm(34,"path",29)(35,"path",30)(36,"path",31)(37,"path",32),t.k0s(),t.DNE(38,it,2,0,"svg",33),t.joV(),t.j41(39,"p",23),t.EFF(40),t.nI1(41,"translate"),t.k0s(),t.DNE(42,Ht,6,3,"div",24),t.k0s(),t.DNE(43,d,1,0,"div",27)(44,Me,8,5,"div",26)(45,xi,42,18,"div",34),t.k0s()()),2&Se&&(t.R7$(),t.Y8G("ngClass",t.eq3(17,wn,tt.burgerService.sideNavbarCompact)),t.R7$(19),t.Y8G("ngIf",tt.checkActivatedRoute(tt.PagesNavigationEnum.Home)),t.R7$(5),t.JRh(t.bMT(26,13,"
1i18n.app.module.dashboard.home.header")),t.R7$(2),t.Y8G("ngIf",tt.burgerService.sideNavbarCompact&&tt.hoverLink===tt.PagesNavigationEnum.HomeCustomer),t.R7$(2),t.Y8G("ngIf",tt.userRole===tt.UserRoleEnum.Shop),t.R7$(),t.Y8G("ngIf",tt.userRole===tt.UserRoleEnum.Shop),t.R7$(2),t.Y8G("ngIf",tt.checkActivatedRoute(tt.PagesNavigationEnum.ServiceRequests)),t.R7$(6),t.Y8G("ngIf",tt.isNewService()&&tt.userRole===tt.UserRoleEnum.Shop||tt.isServiceJobsUpdates()&&tt.userRole===tt.UserRoleEnum.Customer),t.R7$(2),t.JRh(t.bMT(41,15,"i18n.app.module.dashboard.service-requests")),t.R7$(2),t.Y8G("ngIf",tt.burgerService.sideNavbarCompact&&tt.hoverLink===tt.PagesNavigationEnum.ServiceRequestsCustomer),t.R7$(),t.Y8G("ngIf",tt.userRole===tt.UserRoleEnum.Customer),t.R7$(),t.Y8G("ngIf",tt.userRole===tt.UserRoleEnum.Customer),t.R7$(),t.Y8G("ngIf",tt.isAdmin))},dependencies:()=>[_.YU,_.bT,v.D9],styles:[".menu-container[_ngcontent-%COMP%]{transition:width .2s ease-in-out;width:258px;height:100%;z-index:20;background:var(--color-dark-ocean);padding-top:30px;padding-left:34px;padding-right:34px;position:relative}.menu-container[_ngcontent-%COMP%]   .switcher-container[_ngcontent-%COMP%]{position:absolute;top:89px;z-index:20;right:-13px}.menu-container[_ngcontent-%COMP%]   .switcher-container[_ngcontent-%COMP%]   .switcher[_ngcontent-%COMP%]{width:26px;height:25px;background:var(--color-dark-ocean);border-radius:50%}.menu-container[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{height:50px;display:flex;column-gap:20px;align-items:center;width:150px}.menu-container[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .logo-mobile[_ngcontent-%COMP%]{display:none}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:50px}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .admin-menu[_ngcontent-%COMP%]   .admin-label[_ngcontent-%COMP%]{min-width:max-content;margin-left:-18px;margin-top:35px;color:var(--color-theme);font-size:10px}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .admin-menu[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:var(--color-theme)}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{width:150px;text-decoration:none;cursor:pointer;display:flex;column-gap:15px;align-items:center;height:52px;position:relative}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{min-width:20px;display:flex;justify-content:flex-start;position:relative}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{position:absolute;top:11px;left:15px}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:14px;font-style:normal;font-weight:700;white-space:nowrap;overflow:hidden!important}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .hover-box-container[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;left:58px;z-index:4}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .hover-box-container[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{margin-left:-1px;display:flex;align-items:center;padding-left:10px;padding-right:10px;width:max-content;height:26px;border-radius:7px;background:var(--color-dark-ocean)}.menu-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{width:168px;stroke-width:1px;border:1px solid #444450;transition:width .5s ease-in-out}.activated[_ngcontent-%COMP%]{margin-left:-34px;margin-right:15px;width:4px;height:35px;border-radius:0 3px 3px 0;background:#ff5e3a}.compactMode[_ngcontent-%COMP%]{transition:width .5s ease-in-out;width:88px}.compactMode[_ngcontent-%COMP%]   .switcher-container[_ngcontent-%COMP%]   .switcher[_ngcontent-%COMP%]{rotate:180deg}.compactMode[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .logo-pc[_ngcontent-%COMP%]{display:none}.compactMode[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .logo-mobile[_ngcontent-%COMP%]{display:flex}.compactMode[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .vector[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden!important}.compactMode[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{width:40px}.compactMode[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:none}.compactMode[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{width:21px}"]})}return oe})(),Qt=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275mod=t.$C({type:oe});static#n=this.\u0275inj=t.G2t({imports:[Ut,zt.t,v.h]})}return oe})();var kt=a(4292),xn=a(1269),Rn=a(2463),Tn=a(181),Qn=a(4905),fi=a(7951),ni=a(448),oi=a(8041),Ai=a(7465),Ti=a(4435),Pi=a(3930),Gi=a(8745),nr={moveTo(oe){var Et,qe=oe.$element,E=oe.position,tt={};switch(oe.direction||"left"){case"right":tt.transform="translate("+E+"px, 0px)",Et="custom";break;case"left":tt.left=E,Et="slide";break;case"top":case"bottom":tt.top=E,Et="slide"}Pi.A.animate(qe,{type:Et,to:tt,duration:oe.duration,complete:oe.complete})},margin(oe){var qe=oe.$element,E=oe.margin,tt={};tt["margin"+(0,Gi.PT)(oe.direction||"left",!0)]=E,Pi.A.animate(qe,{to:tt,duration:oe.duration,complete:oe.complete})},fade(oe,qe,E,Se){Pi.A.animate(oe,{type:"fade",to:qe.to,from:qe.from,duration:E,complete:Se})},size(oe){var qe=oe.$element,E=oe.size,Se=oe.direction||"left",tt=oe.marginTop||0,Et=oe.duration,vn={};"right"===Se||"left"===Se?vn.width=E:vn.height=E,"bottom"===Se&&(vn.marginTop=tt),Pi.A.animate(qe,{to:vn,duration:Et,complete:oe.complete})},complete(oe){Pi.A.stop(oe,!0)}},Zn=a(186),Mi=a(2984);const oo=class lr{constructor(qe){this._drawer=qe}getDrawerInstance(){return this._drawer}renderPanelContent(qe){var E=this.getDrawerInstance(),Se=E._getTemplate(E.option("template"));Se&&Se.render({container:E.content(),onRendered:()=>{qe.resolve()}})}renderPosition(qe,E){var Se=new Mi.cY,tt=new Mi.cY,Et=this.getDrawerInstance();qe&&Mi.z7.apply(kt.A,[Se,tt]).done(()=>{Et._animationCompleteHandler()}),this._internalRenderPosition(qe,Se),qe||Et.resizeViewContent(),this.renderShaderVisibility(qe,E,tt)}_getPanelOffset(qe){var E=this.getDrawerInstance(),Se=E.isHorizontalDirection()?E.getRealPanelWidth():E.getRealPanelHeight();return qe?-(Se-E.getMaxSize()):-(Se-E.getMinSize())}_getPanelSize(qe){return qe?this.getDrawerInstance().getMaxSize():this.getDrawerInstance().getMinSize()}renderShaderVisibility(qe,E,Se){var tt=this.getDrawerInstance(),Et=tt.option("opened"),vn=Et?{from:0,to:1}:{from:1,to:0};qe?nr.fade((0,kt.A)(tt._$shader),vn,E,()=>{this._drawer._toggleShaderVisibility(Et),Se.resolve()}):(tt._toggleShaderVisibility(Et),tt._$shader.css("opacity",vn.to))}getPanelContent(){return(0,kt.A)(this.getDrawerInstance().content())}setPanelSize(qe){this.refreshPanelElementSize(qe)}refreshPanelElementSize(qe){var E=this.getDrawerInstance(),Se=this._getPanelSize(E.option("opened"));E.isHorizontalDirection()?(0,Zn.zj)((0,kt.A)(E.content()),qe?E.getRealPanelWidth():Se):(0,Zn.k$)((0,kt.A)(E.content()),qe?E.getRealPanelHeight():Se)}isViewContentFirst(){return!1}onPanelContentRendered(){}};var ji=a(2824);const Qi=class uo extends oo{_internalRenderPosition(qe,E){var Se=this.getDrawerInstance(),tt=this._getPanelSize(!0),Et=this._getPanelSize(Se.option("opened"))*Se._getPositionCorrection();if((0,kt.A)(Se.content()).css(Se.isHorizontalDirection()?"width":"height",tt),Se.getMinSize()){var vn="padding";switch(Se.calcTargetPosition()){case"left":vn+="Right";break;case"right":vn+="Left";break;case"top":vn+="Bottom";break;case"bottom":vn+="Top"}(0,kt.A)(Se.viewContent()).css(vn,Se.getMinSize())}qe?nr.moveTo({$element:(0,kt.A)(Se.viewContent()),position:Et,direction:Se.calcTargetPosition(),duration:Se.option("animationDuration"),complete:()=>{E.resolve()}}):Se.isHorizontalDirection()?(0,ji.Cy)((0,kt.A)(Se.viewContent()),{left:Et}):(0,ji.Cy)((0,kt.A)(Se.viewContent()),{top:Et})}onPanelContentRendered(){(0,kt.A)(this.getDrawerInstance().viewContent()).addClass("dx-theme-background-color")}},so=class vr extends oo{_internalRenderPosition(qe,E){var Se=this.getDrawerInstance(),tt=Se.calcTargetPosition(),Et=(0,kt.A)(Se.content()),vn=this._getPanelSize(Se.option("opened")),ri=this._getPanelOffset(Se.option("opened")),pi=Se.option("revealMode");qe?"slide"===pi?nr.margin({complete:()=>{E.resolve()},$element:Et,duration:Se.option("animationDuration"),direction:tt,margin:ri}):"expand"===pi&&nr.size({complete:()=>{E.resolve()},$element:Et,duration:Se.option("animationDuration"),direction:tt,size:vn}):"slide"===pi?Et.css("margin"+(0,Gi.PT)(tt,!0),ri):"expand"===pi&&Et.css(Se.isHorizontalDirection()?"width":"height",vn)}isViewContentFirst(qe,E){return(E?"left"===qe:"right"===qe)||"bottom"===qe}};var bi=a(6022),Li=a(5042);const no=class br extends oo{renderPanelContent(qe){delete this._initialPosition;var E=this.getDrawerInstance(),{opened:Se,minSize:tt}=E.option();E._overlay=E._createComponent(E.content(),bi.A,{shading:!1,container:E.content(),visualContainer:E.getOverlayTarget(),position:this._getOverlayPosition(),width:Se?"auto":tt||0,height:"100%",templatesRenderAsynchronously:E.option("templatesRenderAsynchronously"),animation:{show:{duration:0}},onPositioned:function(Et){this._fixOverlayPosition(Et.component.$content())}.bind(this),contentTemplate:E.option("template"),onContentReady:Et=>{qe.resolve(),this._processOverlayZIndex(Et.component.content())},visible:!0,propagateOutsideClick:!0})}_fixOverlayPosition(qe){var E=(0,Li.YD)(this._initialPosition,{left:0,top:0});(0,ji.Cy)(qe,E),"right"===this.getDrawerInstance().calcTargetPosition()&&qe.css("left","auto"),"bottom"===this.getDrawerInstance().calcTargetPosition()&&(qe.css("top","auto"),qe.css("bottom","0px"))}_getOverlayPosition(){var qe=this.getDrawerInstance(),E=qe.calcTargetPosition(),Se={};switch(E){case"left":Se={my:"top left",at:"top left"};break;
1case"right":Se={my:qe.option("rtlEnabled")?"top left":"top right",at:"top right"};break;case"top":case"bottom":Se={my:E,at:E}}return Se.of=qe.getOverlayTarget(),Se}refreshPanelElementSize(qe){var E=this.getDrawerInstance(),Se=E.getOverlay();E.isHorizontalDirection()?(Se.option("height","100%"),Se.option("width",qe?E.getRealPanelWidth():this._getPanelSize(E.option("opened")))):(Se.option("width",(0,Zn.RG)(E.getOverlayTarget())),Se.option("height",qe?E.getRealPanelHeight():this._getPanelSize(E.option("opened"))))}onPanelContentRendered(){this._updateViewContentStyles()}_updateViewContentStyles(){var qe=this.getDrawerInstance();(0,kt.A)(qe.viewContent()).css("padding"+(0,Gi.PT)(qe.calcTargetPosition(),!0),qe.option("minSize")),(0,kt.A)(qe.viewContent()).css("transform","inherit")}_internalRenderPosition(qe,E){var Se=this.getDrawerInstance(),tt=(0,kt.A)(Se.content()),Et=Se.getOverlay().$content(),vn=Se.option("revealMode"),ri=Se.calcTargetPosition(),pi=this._getPanelSize(Se.option("opened")),hi=this._getPanelOffset(Se.option("opened"))*Se._getPositionCorrection(),zr=Se.getRealPanelHeight()-pi;this._updateViewContentStyles(),qe?"slide"===vn?(this._initialPosition=Se.isHorizontalDirection()?{left:hi}:{top:hi},nr.moveTo({complete:()=>{E.resolve()},duration:Se.option("animationDuration"),direction:ri,$element:tt,position:hi})):"expand"===vn&&(this._initialPosition=Se.isHorizontalDirection()?{left:0}:{top:0},(0,ji.Cy)(Et,this._initialPosition),nr.size({complete:()=>{E.resolve()},duration:Se.option("animationDuration"),direction:ri,$element:Et,size:pi,marginTop:zr})):"slide"===vn?(this._initialPosition=Se.isHorizontalDirection()?{left:hi}:{top:hi},(0,ji.Cy)(tt,this._initialPosition)):"expand"===vn&&(this._initialPosition=Se.isHorizontalDirection()?{left:0}:{top:0},(0,ji.Cy)(Et,this._initialPosition),Se.isHorizontalDirection()?(0,kt.A)(Et).css("width",pi):((0,kt.A)(Et).css("height",pi),"bottom"===ri&&(0,kt.A)(Et).css("marginTop",zr)))}getPanelContent(){return(0,kt.A)(this.getDrawerInstance().getOverlay().content())}_processOverlayZIndex(qe){var Se=(0,kt.A)(qe).get(0).style.zIndex||1;this.getDrawerInstance().setZIndex(Se)}isViewContentFirst(qe){return"right"===qe||"bottom"===qe}};var Ao=a(8060),ls=a(5822),Tr="dx-drawer",Bi="dx-drawer-panel-content",Rr="dx-drawer-shader",gr="dx-state-invisible",Hr="content",Cr=oi.A.inherit({_getDefaultOptions(){return(0,fi.X)(this.callBase(),{position:"left",opened:!1,minSize:null,maxSize:null,shading:!1,template:"panel",openedStateMode:"shrink",revealMode:"slide",animationEnabled:!0,animationDuration:400,closeOnOutsideClick:!1,contentTemplate:Hr})},_init(){this.callBase(),this._initStrategy(),this.$element().addClass(Tr),this._whenAnimationCompleted=void 0,this._whenPanelContentRendered=void 0,this._whenPanelContentRefreshed=void 0,this._$wrapper=(0,kt.A)("<div>").addClass("dx-drawer-wrapper"),this._$viewContentWrapper=(0,kt.A)("<div>").addClass("dx-drawer-content"),this._$wrapper.append(this._$viewContentWrapper),this.$element().append(this._$wrapper)},_initStrategy(){switch(this.option("openedStateMode")){case"push":default:this._strategy=new Qi(this);break;case"shrink":this._strategy=new so(this);break;case"overlap":this._strategy=new no(this)}},_getAnonymousTemplateName:function(){return Hr},_initTemplates(){var oe={};oe.panel=new Ai.A,oe[Hr]=new Ai.A,this._templateManager.addDefaultTemplates(oe),this.callBase()},_viewContentWrapperClickHandler(oe){var qe=this.option("closeOnOutsideClick");(0,Rn.Tn)(qe)&&(qe=qe(oe)),qe&&this.option("opened")&&(this.stopAnimations(),this.option("shading")&&oe.preventDefault(),this.hide())},_initMarkup(){this.callBase(),this._toggleOpenedStateClass(this.option("opened")),this._renderPanelContentWrapper(),this._refreshOpenedStateModeClass(),this._refreshRevealModeClass(),this._renderShader(),this._refreshPositionClass(),this._whenPanelContentRendered=new Mi.cY,this._strategy.renderPanelContent(this._whenPanelContentRendered),this._strategy.onPanelContentRendered(),this._renderViewContent(),xn.A.off(this._$viewContentWrapper,Ao.U),xn.A.on(this._$viewContentWrapper,Ao.U,this._viewContentWrapperClickHandler.bind(this)),this._refreshWrapperChildrenOrder()},_render(){this._initMinMaxSize(),this.callBase(),this._whenPanelContentRendered.always(()=>{this._initMinMaxSize(),this._strategy.refreshPanelElementSize("slide"===this.option("revealMode")),this._renderPosition(this.option("opened"),!0),this._removePanelManualPosition()})},_removePanelManualPosition(){this._$panelContentWrapper.attr("manualposition")&&(this._$panelContentWrapper.removeAttr("manualPosition"),this._$panelContentWrapper.css({position:"",top:"",left:"",right:"",bottom:""}))},_renderPanelContentWrapper(){this._$panelContentWrapper=(0,kt.A)("<div>").addClass(Bi);var oe=this.calcTargetPosition();"push"===this.option("openedStateMode")&&["top","bottom"].indexOf(oe)>-1&&this._$panelContentWrapper.addClass(Bi+"-push-top-or-bottom"),"overlap"
1!==this.option("openedStateMode")&&!this.option("opened")&&!this.option("minSize")&&(this._$panelContentWrapper.attr("manualposition",!0),this._$panelContentWrapper.css({position:"absolute",top:"-10000px",left:"-10000px",right:"auto",bottom:"auto"})),this._$wrapper.append(this._$panelContentWrapper)},_refreshOpenedStateModeClass(oe){oe&&this.$element().removeClass(Tr+"-"+oe),this.$element().addClass(Tr+"-"+this.option("openedStateMode"))},_refreshPositionClass(oe){oe&&this.$element().removeClass(Tr+"-"+oe),this.$element().addClass(Tr+"-"+this.calcTargetPosition())},_refreshWrapperChildrenOrder(){var oe=this.calcTargetPosition();this._strategy.isViewContentFirst(oe,this.option("rtlEnabled"))?this._$wrapper.prepend(this._$viewContentWrapper):this._$wrapper.prepend(this._$panelContentWrapper)},_refreshRevealModeClass(oe){oe&&this.$element().removeClass(Tr+"-"+oe),this.$element().addClass(Tr+"-"+this.option("revealMode"))},_renderViewContent(){var oe=this.option("contentTemplate"),qe=this._getTemplate(oe);if(qe){var E=qe.render({container:this.viewContent(),noModel:!0,transclude:this._templateManager.anonymousTemplateName===oe});E.hasClass("ng-scope")&&(0,kt.A)(this._$viewContentWrapper).children().not(".".concat(Rr)).replaceWith(E)}},_renderShader(){this._$shader=this._$shader||(0,kt.A)("<div>").addClass(Rr),this._$shader.appendTo(this.viewContent()),this._toggleShaderVisibility(this.option("opened"))},_initSize(){this._initMinMaxSize()},_initMinMaxSize(){var oe=this.isHorizontalDirection()?this.getRealPanelWidth():this.getRealPanelHeight();this._maxSize=this.option("maxSize")||oe,this._minSize=this.option("minSize")||0},calcTargetPosition(){var oe=this.option("position"),qe=this.option("rtlEnabled"),E=oe;return"before"===oe?E=qe?"right":"left":"after"===oe&&(E=qe?"left":"right"),E},getOverlayTarget(){return this._$wrapper},getOverlay(){return this._overlay},getMaxSize(){return this._maxSize},getMinSize(){return this._minSize},getRealPanelWidth(){return(0,Ti.Vd)()?(0,Rn.O9)(this.option("templateSize"))?this.option("templateSize"):(0,ni.N)(this._getPanelTemplateElement()).width:0},getRealPanelHeight(){return(0,Ti.Vd)()?(0,Rn.O9)(this.option("templateSize"))?this.option("templateSize"):(0,ni.N)(this._getPanelTemplateElement()).height:0},_getPanelTemplateElement(){var oe=this._strategy.getPanelContent(),qe=oe;return oe.children().length&&(qe=oe.children().eq(0),oe.hasClass("dx-overlay-content")&&qe.hasClass("dx-template-wrapper")&&qe.children().length&&(qe=qe.children().eq(0))),qe.get(0)},getElementHeight(oe){var qe=oe.children();return qe.length?(0,ni.N)(qe.eq(0).get(0)).height:(0,ni.N)(oe.get(0)).height},isHorizontalDirection(){var oe=this.calcTargetPosition();return"left"===oe||"right"===oe},stopAnimations(oe){Pi.A.stop(this._$shader,oe),Pi.A.stop((0,kt.A)(this.content()),oe),Pi.A.stop((0,kt.A)(this.viewContent()),oe);var qe=this.getOverlay();qe&&Pi.A.stop((0,kt.A)(qe.$content()),oe)},setZIndex(oe){this._$shader.css("zIndex",oe-1),this._$panelContentWrapper.css("zIndex",oe)},resizeContent(){},resizeViewContent(){(0,ls.ho)(this.viewContent())},_isInvertedPosition(){var oe=this.calcTargetPosition();return"right"===oe||"bottom"===oe},_renderPosition(oe,qe,E){if(this.stopAnimations(E),(0,Ti.Vd)()){(0,kt.A)(this.viewContent()).css("paddingLeft",0),(0,kt.A)(this.viewContent()).css("paddingRight",0),(0,kt.A)(this.viewContent()).css("paddingTop",0),(0,kt.A)(this.viewContent()).css("paddingBottom",0);var Se=this.option("animationEnabled");!0===qe&&(Se=!1),oe&&this._toggleShaderVisibility(oe),this._strategy.renderPosition(Se,this.option("animationDuration"))}},_animationCompleteHandler(){this.resizeViewContent(),this._whenAnimationCompleted&&this._whenAnimationCompleted.resolve()},_getPositionCorrection(){return this._isInvertedPosition()?-1:1},_dispose(){nr.complete((0,kt.A)(this.viewContent())),this.callBase()},_visibilityChanged(oe){oe&&this._dimensionChanged()},_dimensionChanged(){this._initMinMaxSize(),this._strategy.refreshPanelElementSize("slide"===this.option("revealMode")),this._renderPosition(this.option("opened"),!0)},_toggleShaderVisibility(oe){this.option("shading")?(this._$shader.toggleClass(gr,!oe),this._$shader.css("visibility",oe?"visible":"hidden")):this._$shader.toggleClass(gr,!0)},_toggleOpenedStateClass(oe){this.$element().toggleClass("dx-drawer-opened",oe)},_refreshPanel(){(0,kt.A)(this.viewContent()).css("left",0),(0,kt.A)(this.viewContent()).css("transform","translate(0px, 0px)"),(0,kt.A)(this.viewContent()).removeClass("dx-theme-background-color"),this._removePanelContentWrapper(),this._removeOverlay(),this._renderPanelContentWrapper(),this._refreshWrapperChildrenOrder(),this._whenPanelContentRefreshed=new Mi.cY,this._strategy.renderPanelContent(this._whenPanelContentRefreshed),this._strategy.onPanelContentRendered(),(0,Ti.Vd)()&&this._whenPanelContentRefreshed.always(()=>{this._strategy.refreshPanelElementSize("slide"===this.option("revealMode")),this._renderPosition(this.option("opened"),!0,!0),this._removePanelManualPosition()})},_clean(){this._cleanFocusState(),this._removePanelContentWrapper(),this._removeOverlay()},_removePanelContentWrapper(){this._$panelContentWrapper&&this._$panelContentWrapper.remove()},_removeOverlay(){this._overlay&&(this._overlay.dispose(),delete this._overlay,delete this._$panelContentWrapper)},_optionChanged(oe){switch(oe.name){case"width":this.callBase(oe),this._dimensionChanged();break;case"opened":this._renderPosition(this.option("opened")),this._toggleOpenedStateClass(oe.value);break;case"position":this._refreshPositionClass(oe.previousValue),this._refreshWrapperChildrenOrder(),this._invalidate();break;case"contentTemplate":case"template":this._invalidate();break;case"openedStateMode":this._initStrategy(),this._refreshOpenedStateModeClass(oe.previousValue),this._refreshPanel();break;case"minSize":case"maxSize":this._initMinMaxSize(),this._renderPosition(this.option("opened"),!0);break;case"revealMode":this._refreshRevealModeClass(oe.previousValue),this._refreshPanel();break;case"shading":this._toggleShaderVisibility(this.option("opened"));break;case"animationEnabled":case"animationDuration":case"closeOnOutsideClick":break;default:this.callBase(oe)}},content(){return(0,Tn.c)(this._$panelContentWrapper)},viewContent(){return(0,Tn.c)(this._$viewContentWrapper)},show(){return this.toggle(!0)},hide(){return this.toggle(!1)},toggle(oe){var qe=void 0===oe?!this.option("opened"):oe;return this._whenAnimationCompleted=new Mi.cY,this.option("opened",qe),this._whenAnimationCompleted.promise()}});(0,Qn.A)("dxDrawer",Cr);let Zr=(()=>{class oe{}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({imports:[[At.p_,At.xZ],At.xZ]}),oe})();
1a(6121);let Ue=(()=>{class oe{}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({imports:[[At.p_,At.xZ],At.xZ]}),oe})();var ht=a(21),bt=a(9381),Xt=a(2249),Yt=a(4353);const an=["*"];function gn(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",7),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.burgerService.sideNavbarCompact=!0)}),t.k0s()}}let bn=(()=>{class oe{constructor(E){this.burgerService=E,this.window=window}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(ot.o))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-side-nav-outer-toolbar"]],ngContentSelectors:an,decls:10,vars:2,consts:[[1,"main-container"],[1,"side-navigation-container"],[1,"side-navigation"],[1,"header-content",3,"ngClass"],[1,"header"],[1,"main"],["class","backdrop",3,"click",4,"ngIf"],[1,"backdrop",3,"click"]],template:function(Se,tt){1&Se&&(t.NAR(),t.nrm(0,"app-browser-version-check"),t.j41(1,"div",0)(2,"div",1),t.nrm(3,"app-side-navigation-menu",2),t.k0s(),t.j41(4,"div",3),t.nrm(5,"app-header",4),t.j41(6,"div",5),t.SdG(7),t.k0s(),t.nrm(8,"app-footer-page"),t.k0s()(),t.DNE(9,gn,1,0,"div",6)),2&Se&&(t.R7$(4),t.Y8G("ngClass",tt.burgerService.sideNavbarCompact?"side-open":"side-close"),t.R7$(5),t.Y8G("ngIf",!tt.burgerService.sideNavbarCompact&&tt.window.innerWidth<=1130))},styles:["[_nghost-%COMP%]{width:100%}.main-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;background:#f6f4f3}.main-container[_ngcontent-%COMP%]   .side-open[_ngcontent-%COMP%]{width:calc(100% - 88px);transition:width .5s ease-in-out}.main-container[_ngcontent-%COMP%]   .side-close[_ngcontent-%COMP%]{width:calc(100% - 258px);transition:width .2s ease-in-out}.main-container[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]   .main[_ngcontent-%COMP%]{min-height:calc(100svh - 58px);margin-bottom:50px}@media (max-width: 1130px){.main-container[_ngcontent-%COMP%]   .side-navigation-container[_ngcontent-%COMP%]{position:relative}.main-container[_ngcontent-%COMP%]   .side-navigation-container[_ngcontent-%COMP%]   .side-navigation[_ngcontent-%COMP%]{position:absolute;z-index:20;height:100%}.main-container[_ngcontent-%COMP%]   .side-close[_ngcontent-%COMP%]{width:calc(100% - 88px)}}@media (max-width: 580px){.main-container[_ngcontent-%COMP%]   .side-navigation-container[_ngcontent-%COMP%]{display:none}.main-container[_ngcontent-%COMP%]   .header-content[_ngcontent-%COMP%]{width:100%}}.backdrop[_ngcontent-%COMP%]{width:100%;opacity:.6;background:#4c4c4c;position:absolute;inset:0;z-index:8}"]})}return oe})(),ti=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275mod=t.$C({type:oe});static#n=this.\u0275inj=t.G2t({imports:[Qt,Zr,Ue,_.MD,ht.G]})}return oe})();t.wjB(bn,[Tt,_.YU,_.bT,bt.l,Xt.O,Yt.m],[]);let gi=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275mod=t.$C({type:oe});static#n=this.\u0275inj=t.G2t({imports:[_.MD,Ue]})}return oe})(),_i=(()=>{class oe{constructor(E,Se,tt){this.authService=E,this.activatedRoute=Se,this.router=tt,this.activatedRoute.queryParams.subscribe(Et=>{const vn=Et.code;vn?this.authService.getAuth0AuthorizationData(vn,Qe.kX.Shop):this.router.navigate([""])})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(m.u),t.rXU(x.nX),t.rXU(x.Ix))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-shop-sign-in"]],decls:0,vars:0,template:function(Se,tt){}})}return oe})();class qi{constructor(){this.image="",this.blockText="",this.slideTitle="",this.slideText=""}}const Ci=oe=>({"max-width.px":oe}),or=oe=>({"active-navigation":oe}),Di=oe=>({"selected-slide":oe}),Yr=oe=>({"selected-dot":oe});function sr(oe,qe){1&oe&&(t.qSk(),t.j41(0,"svg",85),t.nrm(1,"path",86),t.k0s())}function Sr(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",81),t.bIt("click",function(){const tt=t.eBV(E).index,Et=t.XpG();return t.Njj(Et.selectSlide(tt))}),t.j41(1,"p",82),t.EFF(2),t.k0s(),t.j41(3,"p",83),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.DNE(6,sr,2,0,"svg",84),t.k0s()}if(2&oe){const E=qe.$implicit,Se=qe.index,tt=t.XpG();t.Y8G("ngClass",t.eq3(6,Di,tt.selectedSlide===E)),t.R7$(2),t.SpI("0",Se+1,""),t.R7$(2),t.JRh(t.bMT(5,4,E.blockText)),t.R7$(2),t.Y8G("ngIf",tt.selectedSlide===E)}}function io(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",87),t.bIt("click",function(){const tt=t.eBV(E).index,Et=t.XpG();return t.Njj(Et.selectSlide(tt))}),t.k0s()}
1if(2&oe){const E=qe.index,Se=t.XpG();t.Y8G("ngClass",t.eq3(1,Yr,Se.sliders.indexOf(Se.selectedSlide)===E))}}let lo=(()=>{class oe{constructor(E,Se,tt,Et){this.authService=E,this.el=Se,this.router=tt,this.activatedRoute=Et,this.sliders=[],this.selectedSlide=new qi}ngOnInit(){this.addContentToSlider(),this.isAuthorized()}isAuthorized(){"true"===this.activatedRoute.snapshot.queryParams.show||this.authService.isAuthenticated()&&(this.authService.getUserRole()===Qe.kX.Shop&&this.router.navigate(["shop/dashboard"]),this.authService.getUserRole()===Qe.kX.Customer&&this.router.navigate(["customer/dashboard"]))}getStarted(){const E=this.authService.getUserRole();this.router.navigate(E==Qe.kX.Customer?["customer/service-requests/add"]:E===Qe.kX.Shop?["shop/service-jobs"]:["login"])}addContentToSlider(){let E=1;for(;E<9;){const Se=new qi;Se.image="./assets/images/landing.slide"+E.toString()+".svg",Se.blockText="i18n.app.pages.landing.slide."+E.toString()+".block-text",Se.slideTitle="i18n.app.pages.landing.slide."+E.toString()+".slide-title",Se.slideText="i18n.app.pages.landing.slide."+E.toString()+".slide-text",E++,this.sliders.push(Se)}this.selectedSlide=this.sliders[0]}nextSlide(){const E=this.el.nativeElement,Se=E.querySelector(".slides-wrapper"),Et=E.querySelector(".slide").offsetWidth;Se.scrollTo({left:Et+Se.scrollLeft,behavior:"smooth"});const ri=this.sliders.indexOf(this.selectedSlide);ri<this.sliders.length-1&&(this.selectedSlide=this.sliders[ri+1])}getWidth(){if(window.innerWidth<680)return window.innerWidth-54}previousSlide(){const E=this.el.nativeElement,Se=E.querySelector(".slides-wrapper"),Et=E.querySelector(".slide").offsetWidth;Se.scrollTo({left:Se.scrollLeft-Et,behavior:"smooth"});const ri=this.sliders.indexOf(this.selectedSlide);ri>0&&(this.selectedSlide=this.sliders[ri-1])}selectSlide(E){const Se=this.el.nativeElement,tt=Se.querySelector(".slides-wrapper"),vn=Se.querySelector(".slide").offsetWidth;tt.scrollTo({left:vn*E,behavior:"smooth"}),this.selectedSlide=this.sliders[E]}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(m.u),t.rXU(t.aKT),t.rXU(x.Ix),t.rXU(x.nX))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-landing-page"]],decls:149,vars:81,consts:[[1,"landing-container","cera-400"],[1,"landing-body"],[1,"first-block-wrapper"],[1,"first-block"],[1,"prime-text-container"],[1,"prime-text-header"],[1,"prime-text-description"],[1,"prime-text-navigate","flex-center","mt-50",3,"click"],[1,"text-navigate-link"],[1,"image-container"],["src","./assets/images/landing-prime-image.jpeg","alt","landing-main-img",1,"landing-prime-image"],["media","(max-width: 900px)","srcset","./assets/images/landing-line-1-phone.svg"],["media","(max-width: 1200px)","srcset","./assets/images/landing-line-1-tablet.svg"],["media","(min-width: 1201px)","srcset","./assets/images/landing-line-1.svg"],["src","./assets/images/landing-line-1.svg","alt","landing-main-img",1,"line-first"],["media","(max-width: 900px)","srcset","./assets/images/landing-line-2-phone.svg"],["media","(max-width: 1200px)","srcset","./assets/images/landing-line-2-tablet.svg"],["media","(min-width: 1201px)","srcset","./assets/images/landing-line-2.svg"],["src","./assets/images/landing-line-2.svg","alt","landing-main-img",1,"line-second"],[1,"second-block"],[1,"second-block","flex-center"],[1,"offer-label"],[1,"offer-header"],[1,"offer-items"],[1,"offer-item"],[1,"offer-image-container"],["src","./assets/images/landing-offer-1.svg","alt","tools",1,"offer-item-icon"],[1,"offer-item-header"],[1,"offer-item-text"],["src","./assets/images/landing-offer-2.svg","alt","tools",1,"offer-item-icon"],["src","./assets/images/landing-offer-3.svg","alt","tools",1,"offer-item-icon"],[1,"third-block-wrapper"],[1,"third-block"],["media","(max-width: 900px)","srcset","./assets/images/landing-line-3-phone.svg"],["media","(max-width: 1200px)","srcset","./assets/images/landing-line-3-tablet.svg"],["media","(min-width: 1201px)","srcset","./assets/images/landing-line-3.svg"],["src","./assets/images/landing-line-3.svg",1,"line-third"],["media","(max-width: 900px)","srcset","./assets/images/landing-line-3-phone-second.svg"],["src","./assets/images/landing-line-3-phone-second.svg",1,"line-third-second"],[1,"third-block-label"],[1,"third-block-title"],[1,"slider-container"],[1,"slides-wrapper"],[1,"slides",3,"ngStyle"],["class","slide cursor_pointer",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"slider-dots"],["class","dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"slide-content"],[1,"text-container"],[1,"slide-title"],[1,"slider-navigation"],[1,"navigation",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","9","height","14","viewBox","0 0 9 14","fill","none"],["d","M7.49999 12.6512L1.5 7.00042L7.49999 1.34961","stroke","#FF5E3A","stroke-width","2",3,"ngClass"],["d","M1.50001 1.34877L7.5 6.99958L1.50001 12.6504","stroke","#FF5E3A","stroke-width","2",3,"ngClass"],[1,"slide-image",3,"src"],[1,"third-block-content"],["xmlns","http://www.w3.org/2000/svg","width","96","height","25","viewBox","0 0 96 25","fill","none",1,"text-container-icon"],["y","21.3359","width","95.5527","height","3.48733","fill","#FF5E3A"],["d","M8.1169 14.6128C6.74986 14.6128 5.49443 14.2989 4.35058 13.6712C3.22069 13.0435 2.32096 12.1856 1.65139 11.0975C0.995777 10.0095 0.667969 8.79591 0.667969 7.45677C0.667969 6.13159 0.995777 4.92498 1.65139 3.83693C2.32096 2.73494 3.22069 
11.87008 4.35058 1.24236C5.49443 0.614641 6.75684 0.300781 8.13782 0.300781C9.5188 0.300781 10.7603 0.62859 11.8623 1.28421C12.9643 1.92588 13.8291 2.83258 14.4569 4.00432L11.7158 5.86655C10.8231 4.36003 9.62342 3.60677 8.1169 3.60677C7.39153 3.60677 6.74289 3.76718 6.17097 4.08802C5.59905 4.40885 5.15267 4.8622 4.83184 5.44807C4.511 6.03395 4.35058 6.71049 4.35058 7.4777C4.35058 8.62154 4.69932 9.54917 5.39678 10.2606C6.1082 10.9581 7.0149 11.3068 8.1169 11.3068C9.62342 11.3068 10.8231 10.5535 11.7158 9.047L14.4569 10.9092C13.8291 12.081 12.9643 12.9946 11.8623 13.6503C10.7603 14.2919 9.51183 14.6128 8.1169 14.6128Z","fill","black"],["d","M27.2859 9.06792V14.3617H23.6869V9.10977L18.9372 0.551869H22.9127L25.4864 5.36438L28.06 0.551869H32.0147L27.2859 9.06792Z","fill","black"],["d","M43.7244 14.6128C42.3574 14.6128 41.1019 14.2989 39.9581 13.6712C38.8282 13.0435 37.9285 12.1856 37.2589 11.0975C36.6033 10.0095 36.2755 8.79591 36.2755 7.45677C36.2755 6.13159 36.6033 4.92498 37.2589 3.83693C37.9285 2.73494 38.8282 1.87008 39.9581 1.24236C41.1019 0.614641 42.3643 0.300781 43.7453 0.300781C45.1263 0.300781 46.3678 0.62859 47.4698 1.28421C48.5718 1.92588 49.4366 2.83258 50.0644 4.00432L47.3233 5.86655C46.4306 4.36003 45.2309 3.60677 43.7244 3.60677C42.999 3.60677 42.3504 3.76718 41.7785 4.08802C41.2065 4.40885 40.7602 4.8622 40.4393 5.44807C40.1185 6.03395 39.9581 6.71049 39.9581 7.4777C39.9581 8.62154 40.3068 9.54917 41.0043 10.2606C41.7157 10.9581 42.6224 11.3068 43.7244 11.3068C45.2309 11.3068 46.4306 10.5535 47.3233 9.047L50.0644 10.9092C49.4366 12.081 48.5718 12.9946 47.4698 13.6503C46.3678 14.2919 45.1193 14.6128 43.7244 14.6128Z","fill","black"],["d","M56.2925 0.551869H59.8914V11.1185H65.6037V14.3617H56.2925V0.551869Z","fill","black"],["d","M71.6749 0.551869H75.2738V14.3617H71.6749V0.551869Z","fill","black"],["d","M89.768 14.3617L87.3409 10.4907L84.9346 14.3617H80.8754L85.374 7.35216L81.1264 0.551869H85.1857L87.3409 4.23449L89.496 0.551869H93.5553L89.3705 7.35216L93.8273 14.3617H89.768Z","fill","black"],[1,"text-container-title"],[1,"text-container-text","pc"],[1,"find-service","flex-center","pc",3,"click"],[1,"images-container"],["src","../../../assets/images/landing.images.1.jpeg","alt","",1,"third-block-image","second-image"],["src","../../../assets/images/landing.images.2.jpeg","alt","",1,"third-block-image","main-image"],[1,"text-container","phone"],[1,"text-container-text"],[1,"find-service","flex-center",3,"click"],[1,"fourth-block-wrapper"],[1,"fourth-block"],[1,"block-title"],[1,"text-title"],[1,"text"],["src","./assets/images/landing.block4.svg","alt","landing-main-img",1,"image"],[1,"mt-50"],[1,"slide","cursor_pointer",3,"click","ngClass"],[1,"number"],[1,"block-text"],["class","selected-icon","xmlns","http://www.w3.org/2000/svg","width","24","height","18","viewBox","0 0 24 18","fill","none",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","24","height","18","viewBox","0 0 24 18","fill","none",1,"selected-icon"],["d","M12.9664 17.5384C12.6319 18.0155 11.9252 18.0155 11.5908 17.5384L0.838703 2.20173C0.448433 1.64505 0.846658 0.87953 1.52651 0.87953L23.0307 0.879532C23.7105 0.879532 24.1088 1.64505 23.7185 2.20173L12.9664 17.5384Z","fill","#FF5E3A"],[1,"dot",3,"click","ngClass"]],template:function(Se,tt){1&Se&&(t.j41(0,"div",0),t.nrm(1,"app-browser-version-check")(2,"app-header-page"),t.j41(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"p",5),t.EFF(8,"Don't worry - keep cycling."),t.k0s(),t.j41(9,"p",6),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"div",7),t.bIt("click",function(){return tt.getStarted()}),t.j41(13,"a",8),t.EFF(14),t.nI1(15,"translate"),t.k0s()()(),t.j41(16,"div",9),t.nrm(17,"img",10),t.j41(18,"picture"),t.nrm(19,"source",11)(20,"source",12)(21,"source",13)(22,"img",14),t.k0s(),t.j41(23,"picture"),t.nrm(24,"source",15)(25,"source",16)(26,"source",17)(27,"img",18),t.k0s()()()(),t.j41(28,"div",19)(29,"div",20)(30,"p",21),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.j41(33,"p",22),t.EFF(34),t.nI1(35,"translate"),t.k0s(),t.j41(36,"div",23)(37,"div",24)(38,"div",25),t.nrm(39,"img",26),t.k0s(),t.j41(40,"p",27),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.j41(43,"p",28),t.EFF(44),t.nI1(45,"translate"),t.k0s()(),t.j41(46,"div",24)(47,"div",25),t.nrm(48,"img",29),t.k0s(),t.j41(49,"p",27),t.EFF(50),t.nI1(51,"translate"),t.k0s(),t.j41(52,"p",28),t.EFF(53),t.nI1(54,"translate"),t.k0s()(),t.j41(55,"div",24)(56,"div",25),t.nrm(57,"img",30),t.k0s(),t.j41(58,"p",27),t.EFF(59),t.nI1(60,"translate"),t.k0s(),t.j41(61,"p",28),t.EFF(62),t.nI1(63,"translate"),t.k0s()()()()(),t.j41(64,"div",31)(65,"div",32)(66,"picture"),t.nrm(67,"source",33)(68,"source",34)(69,"source",35)(70,"img",36),t.k0s(),t.j41(71,"picture"),t.nrm(72,"source",37)(73,"img",38),t.k0s(),t.j41(74,"p",39),t.EFF(75),t.nI1(76,"translate"),t.k0s(),t.j41(77,"p",40),t.EFF(78),t.nI1(79,"translate"),t.k0s(),t.j41(80,"div",41)(81,"div",42)(82,"div",43),t.DNE(83,Sr,7,8,"div",44),t.k0s()(),t.j41(84,"div",45),t.DNE(85,io,1,3,"div",46),t.k0s(),t.j41(86,"div",47)(87,"div",48)(88,"span")(89,"p",49),t.EFF(90),t.nI1(91,"translate"),t.k0s(),t.j41(92,"p",47),t.EFF(93),t.nI1(94,"translate"),t.k0s()(),t.j41(95,"div",50)(96,"div",51),t.bIt("click",function(){return tt.previousSlide()}),t.qSk(),t.j41(97,"svg",52),t.nrm(98,"path",53),t.k0s()(),t.joV(),t.j41(99,"div",51),t.bIt("click",function(){return tt.nextSlide()}),t.qSk(),t.j41(100,"svg",52),t.nrm(101,"path",54),t.k0s()()()(),t.joV(),t.nrm(102,"img",55),t.k0s()(),t.j41(103,"div",56)(104,"div",48),t.qSk(),t.j41(105,"svg",57),t.nrm(106,"rect",58)(107,"path",59)(108,"path",60)(109,"path",61)(110,"path",62)(111,"path",63)(112,"path",64),t.k0s(),t.joV(),t.j41(113,"p",65),t.EFF(114),t.nI1(115,"translate"),t.k0s(),t.j41(116,"p",66),t.EFF(117),t.nI1(118,"translate"),t.k0s(),t.j41(119,"div",67),t.bIt("click",function(){return tt.getStarted()}),t.EFF(120),t.nI1(121,"translate"),t.k0s()(),t.j41(122,"div",68),t.nrm(123,"img",69)(124,"img",70),t.k0s(),t.j41(125,"div",71)(126,"p",72),t.EFF(127),t.nI1(128,"translate"),t.k0s(),t.j41(129,"div",73),t.bIt("click",function(){return tt.getStarted()}),t.EFF(130),t.nI1(131,"translate"),t.k0s()()()()(),t.j41(132,"div",74)(133,"div",75)(134,"div",48)(135,"p",76),t.EFF(136),t.nI1(137,"translate"),t.k0s(),t.j41(138,"p",77),t.EFF(139),t.nI1(140,"translate"),t.k0s(),t.j41(141,"p",78),t.EFF(142),t.nI1(143,"translate"),t.k0s(),t.j41(144,"p",78),t.EFF(145),t.nI1(146,"translate"),t.k0s()(),t.nrm(147,"img",79),t.k0s()()(),t.nrm(148,"app-footer-page",80),t.k0s()),2&Se&&(t.R7$(10),t.SpI(" ",t.bMT(11,29,"i18n.app.pages.landing.inner.text")," "),t.R7$(4),t.JRh(t.bMT(15,31,"i18n.app.pages.landing.button.text")),t.R7$(17),t.JRh(t.bMT(32,33,"i18n.app.pages.landing.offer.offers")),t.R7$(3),t.JRh(t.bMT(35,35,"i18n.app.pages.landing.offer.text")),t.R7$(7),t.JRh(t.bMT(42,37,"i18n.app.pages.landing.money.header")),t.R7$(3),t.JRh(t.bMT(45,39,"i18n.app.pages.landing.money.inner.text")),t.R7$(6),t.JRh(t.bMT(51,41,"i18n.app.pages.landing.setting.header")),t.R7$(3),t.JRh(t.bMT(54,43,"i18n.app.pages.landing.setting.inner.text")),t.R7$(6),t.JRh(t.bMT(60,45,"i18n.app.pages.landing.time.header")),t.R7$(3),t.JRh(t.bMT(63,47,"i18n.app.pages.landing.time.inner.text")),t.R7$(13),t.JRh(t.bMT(76,49,"i18n.app.pages.landing.functionality")),t.R7$(3),t.JRh(t.bMT(79,51,"i18n.app.pages.landing.slider.header.label")),t.R7$(4),t.Y8G("ngStyle",t.eq3(75,Ci,tt.getWidth())),t.R7$(),t.Y8G("ngForOf",tt.sliders),t.R7$(2),t.Y8G("ngForOf",tt.sliders),t.R7$(5),t.JRh(t.bMT(91,53,tt.selectedSlide.slideTitle)),t.R7$(3),t.JRh(t.bMT(94,55,tt.selectedSlide.slideText)),t.R7$(5),t.Y8G("ngClass",t.eq3(77,or,0===tt.sliders.indexOf(tt.selectedSlide))),t.R7$(3),t.Y8G("ngClass",t.eq3(79,or,7===tt.sliders.indexOf(tt.selectedSlide))),t.R7$(),t.FS9("src",tt.selectedSlide.image,t.B4B),t.R7$(12),t.JRh(t.bMT(115,57,"i18n.app.pages.landing.body.item1.title")),t.R7$(3),t.JRh(t.bMT(118,59,"i18n.app.pages.landing.body.item1.text")),t.R7$(3),t.JRh(t.bMT(121,61,"i18n.app.pages.landing.button.text")),t.R7$(7),t.JRh(t.bMT(128,63,"i18n.app.pages.landing.body.item1.text")),t.R7$(3),t.JRh(t.bMT(131,65,"i18n.app.pages.landing.button.text")),t.R7$(6),t.JRh(t.bMT(137,67,"i18n.app.pages.landing.environmental-benefit")),t.R7$(3),t.JRh(t.bMT(140,69,"i18n.app.pages.landing.body.item2.header")),t.R7$(3),t.JRh(t.bMT(143,71,"i18n.app.pages.landing.body.item2.text.one")),t.R7$(3),t.JRh(t.bMT(146,73,"i18n.app.pages.landing.body.item2.text.two")))},styles:[".landing-container[_ngcontent-%COMP%]{width:100%}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]{overflow:hidden}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]{padding:0 20px;display:flex;justify-content:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]{height:930px;background:var(--color-white);display:flex;justify-content:space-between;width:100%;max-width:1130px;position:relative}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-first[_ngcontent-%COMP%]{position:absolute;top:-67px;left:-925px;z-index:-1}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-second[_ngcontent-%COMP%]{position:absolute;top:100px;right:-500px;z-index:-1}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]{z-index:10;max-width:400px;margin-top:270px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-header[_ngcontent-%COMP%]{font-size:65px;font-weight:700;line-height:68px;letter-spacing:-3.25px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-description[_ngcontent-%COMP%]{margin-top:20px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-navigate[_ngcontent-%COMP%]{cursor:pointer;width:-moz-fit-content;width:fit-content;min-width:-moz-fit-content;min-width:fit-content;margin-top:60px;padding:0 45px;height:44px;border-radius:22px;border:3px solid var(--color-theme);background:var(--color-white);box-shadow:3px 3px 16.9px 2px #a1a1a140;font-size:16px;font-weight:500;color:var(--color-theme)}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-navigate[_ngcontent-%COMP%]   .text-navigate-link[_ngcontent-%COMP%]{text-decoration:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{z-index:2;position:relative;margin-top:100px;width:100%;max-width:600px;max-height:600px;border-radius:50%;background:#ff5e3a;box-shadow:4px 4px 9px #00000040}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .landing-prime-image[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;object-fit:cover}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]{height:750px;background:#f6f4f3;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-label[_ngcontent-%COMP%]{margin-top:130px;color:var(--color-theme);font-size:20px;font-weight:500}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-header[_ngcontent-%COMP%]{margin-top:10px;font-size:40px;font-weight:700}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]{margin-top:55px;display:flex;column-gap:21px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]{width:328px;height:330px;border-radius:10px;background:var(--color-white);box-shadow:3px 3px 16.9px 2px #a1a1a140;display:flex;flex-direction:column;align-items:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-image-container[_ngcontent-%COMP%]{margin-top:44px;width:100px;height:100px;border-radius:15px;background:#f6f4f3;display:flex;justify-content:center;align-items:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-item-header[_ngcontent-%COMP%]{text-align:center;margin-top:37px;font-size:20px;font-weight:700}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-item-text[_ngcontent-%COMP%]{margin-top:15px;padding:0 24px;text-align:center;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;height:2150px;position:relative}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third-second[_ngcontent-%COMP%]{display:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third[_ngcontent-%COMP%]{position:absolute;top:721px;left:-338px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-label[_ngcontent-%COMP%]{margin-top:160px;color:var(--color-theme);font-size:20px;font-weight:500}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-title[_ngcontent-%COMP%]{margin-top:7px;font-size:40px;font-weight:700}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]{margin-top:40px;max-width:1054px;z-index:2}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]{margin-left:-20px;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]{display:flex;column-gap:13px;margin:20px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%] 
1  .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]{position:relative;width:246px;height:208px;flex-shrink:0;border-radius:10px;background:var(--color-white);box-shadow:3px 3px 16.9px 2px #a1a1a140;padding:0 30px 0 35px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{margin-top:40px;-webkit-text-stroke-width:.8px;-webkit-text-stroke-color:#989898;font-size:48px;font-weight:700;line-height:22px;color:var(--color-white)}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .block-text[_ngcontent-%COMP%]{margin-top:25px;color:#989898;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .selected-icon[_ngcontent-%COMP%]{position:absolute;bottom:-17px;left:0;right:0;margin:0 auto}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .selected-slide[_ngcontent-%COMP%]{background:var(--color-theme)}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .selected-slide[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{-webkit-text-stroke-width:1.8px;-webkit-text-stroke-color:var(--color-white);color:var(--color-theme)}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .selected-slide[_ngcontent-%COMP%]   .block-text[_ngcontent-%COMP%]{color:var(--color-white)}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slider-dots[_ngcontent-%COMP%]{margin-top:20px;display:flex;column-gap:5px;justify-content:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slider-dots[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{cursor:pointer;width:4px;height:4px;background:#989898;border-radius:50%}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slider-dots[_ngcontent-%COMP%]   .selected-dot[_ngcontent-%COMP%]{background:var(--color-theme)}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;margin-top:70px;max-width:358px;height:265px;display:flex;flex-direction:column;justify-content:space-between}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slide-title[_ngcontent-%COMP%]{color:#1e2e34;font-size:20px;font-weight:700}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]{margin-top:25px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slider-navigation[_ngcontent-%COMP%]{margin-top:10px;display:flex;column-gap:12px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slider-navigation[_ngcontent-%COMP%]   .navigation[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:50%;box-shadow:2.52px 2.52px 14.196px 1.68px #a1a1a140;width:32px;height:32px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slider-navigation[_ngcontent-%COMP%]   .active-navigation[_ngcontent-%COMP%]{stroke:#bcbcbc}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .slide-image[_ngcontent-%COMP%]{-webkit-user-select:none;
1-o-user-select:none;user-select:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]{z-index:2;margin-top:200px;display:flex;max-width:1075px;width:100%;justify-content:space-between}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{display:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{max-width:460px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-icon[_ngcontent-%COMP%]{margin-top:60px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-title[_ngcontent-%COMP%]{margin-top:15px;font-size:40px;font-weight:700;letter-spacing:-.8px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-text[_ngcontent-%COMP%]{margin-top:22px;font-size:16px;letter-spacing:-.32px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .find-service[_ngcontent-%COMP%]{cursor:pointer;margin-top:60px;height:44px;max-width:-moz-fit-content;max-width:fit-content;border-radius:22px;border:3px solid var(--color-theme);background:var(--color-white);box-shadow:3px 3px 16.9px 2px #a1a1a140;padding:0 70px;color:var(--color-theme);text-align:center;font-size:16px;font-weight:500}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]{position:relative}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .third-block-image[_ngcontent-%COMP%]{border-radius:10px;width:100%;height:100%;box-shadow:2.058px 2.058px 11.592px 1.372px #a1a1a140}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .main-image[_ngcontent-%COMP%]{max-width:514px;max-height:384px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .second-image[_ngcontent-%COMP%]{max-width:292px;max-height:205px;top:286px;left:-80px;position:absolute;border:4px solid #FFF}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]{background:#f6f4f3;display:flex;justify-content:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]{max-width:1075px;display:flex;height:700px;padding-top:195px;justify-content:flex-start;column-gap:20px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{max-width:500px;min-width:500px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .block-title[_ngcontent-%COMP%]{color:var(--color-theme);font-size:20px;font-weight:700;letter-spacing:-.4px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-title[_ngcontent-%COMP%]{margin-top:10px;font-size:40px;font-weight:700;letter-spacing:-.8px;margin-bottom:55px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{margin-top:25px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{object-fit:contain;width:auto;height:auto;max-width:700px;max-height:450px}@media (max-width: 1500px){.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{max-width:600px}}@media (max-width: 1200px){.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]{height:750px;max-width:840px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-first[_ngcontent-%COMP%]{top:74px;left:-624px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-second[_ngcontent-%COMP%]{top:165px;right:-409px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]{max-width:290px;margin-top:200px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-header[_ngcontent-%COMP%]{font-size:46px;font-weight:700;letter-spacing:-2.3px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-description[_ngcontent-%COMP%]{margin-top:10px;font-size:14px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-navigate[_ngcontent-%COMP%]{margin-top:26px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{max-width:49
10px;max-height:490px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]{height:517px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-label[_ngcontent-%COMP%]{margin-top:70px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-header[_ngcontent-%COMP%]{font-size:36px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]{margin-top:40px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]{width:271px;height:252px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-image-container[_ngcontent-%COMP%]{margin-top:30px;height:82px;width:82px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-image-container[_ngcontent-%COMP%]   .offer-item-icon[_ngcontent-%COMP%]{max-width:40px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-item-header[_ngcontent-%COMP%]{text-align:center;margin-top:23px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-item-text[_ngcontent-%COMP%]{margin-top:20px;font-size:13px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]{height:1730px;align-items:flex-start}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third[_ngcontent-%COMP%]{top:685px;left:-120px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-label[_ngcontent-%COMP%]{margin-top:100px;align-self:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-title[_ngcontent-%COMP%]{font-size:36px;align-self:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]{max-width:860px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]{width:205px;height:190px;padding:0 19px 0 24px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{font-size:40px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .block-text[_ngcontent-%COMP%]{margin-top:20px;font-size:13px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]{max-width:800px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{max-width:344px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-icon[_ngcontent-%COMP%]{margin-top:10px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-title[_ngcontent-%COMP%]{font-size:36px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .main-image[_ngcontent-%COMP%]{width:350px;height:260px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .second-image[_ngcontent-%COMP%]{top:196px;left:-55px;
1max-width:200px;max-height:140px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]{max-width:860px;flex-wrap:wrap;justify-content:space-between;width:100%}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{min-width:405px;max-width:400px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-title[_ngcontent-%COMP%]{font-size:36px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{max-width:420px}}@media (max-width: 900px){.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]{height:660px;max-width:100%;flex-direction:column-reverse;align-items:center;justify-content:flex-end}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-first[_ngcontent-%COMP%]{top:64px;left:-230px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-second[_ngcontent-%COMP%]{top:188px;right:-187px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]{max-width:311px;margin-top:50px;display:flex;flex-direction:column;align-items:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-header[_ngcontent-%COMP%]{text-align:center;line-height:110%;font-size:42px;letter-spacing:-2.1px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-description[_ngcontent-%COMP%]{text-align:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-navigate[_ngcontent-%COMP%]{margin-top:30px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{margin-top:40px;max-width:330px;max-height:330px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;padding-bottom:40px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-label[_ngcontent-%COMP%]{margin-top:40px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]{margin-top:30px;flex-direction:column;row-gap:15px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]{max-width:500px;width:100%;height:238px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-item-header[_ngcontent-%COMP%]{font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]   .offer-item-text[_ngcontent-%COMP%]{font-size:13px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]{height:1500px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third[_ngcontent-%COMP%]{top:649px;left:522px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third-second[_ngcontent-%COMP%]{display:flex;position:absolute;
1left:-301px;top:1210px;z-index:-1}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-label[_ngcontent-%COMP%]{margin-top:40px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-title[_ngcontent-%COMP%]{font-size:20px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]{max-width:500px;padding:0 24px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]{column-gap:9px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]{width:157.032px;height:132.775px;padding:0 5px 0 16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .number[_ngcontent-%COMP%]{margin-top:20px;font-size:30px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .block-text[_ngcontent-%COMP%]{margin-top:15px;font-size:12px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slides-wrapper[_ngcontent-%COMP%]   .slides[_ngcontent-%COMP%]   .slide[_ngcontent-%COMP%]   .selected-icon[_ngcontent-%COMP%]{display:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slider-dots[_ngcontent-%COMP%]{margin-top:0}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{margin-top:24px;max-width:274px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slide-title[_ngcontent-%COMP%]{font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]{font-size:14px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .slide-image[_ngcontent-%COMP%]{max-width:238.641px;max-height:214px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]{margin-top:130px;max-width:500px;flex-direction:column;align-items:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{display:flex}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]{display:none}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;max-width:337px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-icon[_ngcontent-%COMP%]{margin-top:10px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-title[_ngcontent-%COMP%]{text-align:center;max-width:287px;font-size:20px;align-items:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-container-text[_ngcontent-%COMP%]{margin-top:100px;text-align:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .find-service[_ngcontent-%COMP%]{margin-top:32px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]{margin-top:45px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .main-image[_ngcontent-%COMP%]{margin-right:-27.5px;width:350px;height:260px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .second-image[_ngcontent-%COMP%]{top:196px;left:-55px;
1max-width:200px;max-height:140px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]{flex-wrap:unset;flex-direction:column;padding-top:0;align-items:center;height:640px;justify-content:unset}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{max-width:500px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .block-title[_ngcontent-%COMP%]{margin-top:65px;font-size:16px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text-title[_ngcontent-%COMP%]{font-size:20px;margin-bottom:30px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{margin-top:10px;font-size:14px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{margin-top:20px;max-width:500px}}@media (max-width: 680px){.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-first[_ngcontent-%COMP%]{top:-11px;left:-94px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .line-second[_ngcontent-%COMP%]{top:159px;right:-187px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-header[_ngcontent-%COMP%]{font-size:40px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .prime-text-container[_ngcontent-%COMP%]   .prime-text-description[_ngcontent-%COMP%]{max-width:251px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .first-block-wrapper[_ngcontent-%COMP%]   .first-block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{max-width:285px;max-height:285px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-header[_ngcontent-%COMP%]{font-size:20px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .second-block[_ngcontent-%COMP%]   .offer-items[_ngcontent-%COMP%]   .offer-item[_ngcontent-%COMP%]{width:271px;height:252px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]{height:1650px;padding:0 24px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third[_ngcontent-%COMP%]{top:780px;left:400px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .line-third-second[_ngcontent-%COMP%]{top:1340px;left:-189px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]{margin-top:18px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]{flex-direction:column;align-items:center}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{height:230px;max-width:400px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .slider-container[_ngcontent-%COMP%]   .slide-content[_ngcontent-%COMP%]   .slide-image[_ngcontent-%COMP%]{max-width:360px;max-height:360px;width:100%;object-fit:scale-down}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]{margin-top:20px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .main-image[_ngcontent-%COMP%]{width:265px;height:197px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .third-block-wrapper[_ngcontent-%COMP%]   .third-block[_ngcontent-%COMP%]   .third-block-content[_ngcontent-%COMP%]   .images-container[_ngcontent-%COMP%]   .second-image[_ngcontent-%COMP%]{top:161px;left:-31px;width:150px;height:105px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]{padding:0 24px}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .text-container[_ngcontent-%COMP%]{min-width:unset;max-width:unset}.landing-container[_ngcontent-%COMP%]   .landing-body[_ngcontent-%COMP%]   .fourth-block-wrapper[_ngcontent-%COMP%]   .fourth-block[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{max-width:300px}}"]})}return oe})(),Qr=(()=>{class oe{constructor(E,Se,tt){this.auth=E,this.activatedRoute=Se,this.router=tt,this.activatedRoute.queryParams.subscribe(Et=>{const vn=Et.code;vn?this.auth.getAuth0AuthorizationData(vn,Qe.kX.Customer):this.router.navigate([""])})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(m.u),t.rXU(x.nX),t.rXU(x.Ix))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-customer-sign-in"]],decls:0,vars:0,template:function(Se,tt){}})}return oe})();var qr=a(2676),Nr=a(5714);let ro=(()=>{class oe{constructor(E){this.client=E}isUserExist(E,Se){return this.client.getIsUserExistByRoleAndEmailAndApiVersion(E,Se,void 0)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(Qe.Bm))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();var Zo=a(9173);const Er=(oe,qe)=>({"un-selected":oe,selected:qe});function Pr(oe,qe){1&oe&&(t.j41(0,"div",72),t.qSk(),t.j41(1,"svg",73),t.nrm(2,"path",74),t.k0s()())}function wo(oe,qe){1&oe&&(t.j41(0,"div",72),t.qSk(),t.j41(1,"svg",73),t.nrm(2,"path",74),t.k0s()())}function Ei(oe,qe){1&oe&&(t.qSk(),t.j41(0,"svg",75),t.nrm(1,"path",76)(2,"path",77)(3,"path",78)(4,"path",79),t.k0s())}function gs(oe,qe){1&oe&&(t.qSk(),t.j41(0,"svg",80),t.nrm(1,"path",81)(2,"path",82)(3,"path",83)(4,"path",84),t.k0s())}function po(oe,qe){if(1&oe){const E=t.RV6();t.qSk(),t.j41(0,"svg",85),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.resetEmail())}),t.nrm(1,"path",86)(2,"path",87),t.k0s()}}function Ji(oe,qe){1&oe&&(t.j41(0,"ul",91)(1,"li"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"li"),t.EFF(5),t.nI1(6,"translate"),t.k0s()()),2&oe&&(t.R7$(2),t.JRh(t.bMT(3,2,"i18n.app.login.password-requirement.1")),t.R7$(3),t.JRh(t.bMT(6,4,"i18n.app.login.password-requirement.2")))}function Ho(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",88)(1,"input",89),t.mxI("ngModelChange",function(tt){t.eBV(E);const Et=t.XpG();return t.DH7(Et.password,tt)||(Et.password=tt),t.Njj(tt)}),t.k0s(),t.DNE(2,Ji,7,6,"ul",90),t.k0s()}if(2&oe){const E=t.XpG();t.R7$(),t.R50("ngModel",E.password),t.R7$(),t.Y8G("ngIf",E.signUpButton)}}function go(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",92),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.confirm())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&oe&&(t.R7$(),t.JRh(t.bMT(2,1,"i18n.app.login.label.confirm")))}function Po(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",93),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.login())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&oe&&(t.R7$(),t.JRh(t.bMT(2,1,"i18n.app.login.label.sign-in")))}function cs(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",94),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.signUp())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&oe&&(t.R7$(),t.JRh(t.bMT(2,1,"i18n.app.login.label.sign-up")))}function ai(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",95),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.passwordLess())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&oe&&(t.R7$(),t.JRh(t.bMT(2,1,"i18n.app.login.label.reset-password")))}function $r(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",96),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.passwordLessShow())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&oe&&(t.R7$(),t.JRh(t.bMT(2,1,"i18n.app.login.label.forgot-password")))}function kr(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",96),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return t.Njj(tt.loginShow())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}2&oe&&(t.R7$(),t.JRh(t.bMT(2,1,"i18n.app.login.label.sign-in")))}function vo(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",97),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();
1return tt.successSignUp=!1,t.Njj(tt.loginClick())}),t.k0s()}}function fr(oe,qe){if(1&oe){const E=t.RV6();t.j41(0,"div",98),t.qSk(),t.j41(1,"svg",99),t.bIt("click",function(){t.eBV(E);const tt=t.XpG();return tt.successSignUp=!1,t.Njj(tt.loginClick())}),t.nrm(2,"path",100),t.k0s(),t.joV(),t.j41(3,"div",101),t.qSk(),t.j41(4,"svg",102),t.nrm(5,"path",103),t.k0s()(),t.joV(),t.j41(6,"div",29),t.EFF(7),t.nI1(8,"translate"),t.k0s()()}2&oe&&(t.R7$(7),t.JRh(t.bMT(8,1,"i18n.app.pages.success-sign-up.message.text")))}let Xe=(()=>{class oe{constructor(E,Se,tt,Et,vn){this.authService=E,this.router=Se,this.activatedRoute=tt,this.auth0Service=Et,this.toastService=vn,this.role=Qe.kX.Customer,this.showLogin=!1,this.email="",this.password="",this.passwordInput=!1,this.signUpButton=!1,this.signInButton=!1,this.confirmButton=!0,this.editButton=!1,this.passwordLessLabel=!0,this.passwordLessButton=!1,this.signInLabel=!1,this.successSignUp=!1,this.UserRoleEnum=Qe.kX}ngOnInit(){this.authService.silentLogin(),this.activatedRoute.queryParams.subscribe(E=>{const Se=E.role;Se&&(this.showLogin=!0,this.role=Se)})}login(){this.authService.login(this.email,this.password,this.role)}signUp(){this.authService.signUp(this.email,this.password,this.role).then(E=>
1{E&&(this.successSignUp=!0)})}confirm(){this.email.length>2&&!this.email.includes("+")?this.auth0Service.isUserExist(this.role,this.email).subscribe(E=>{this.passwordInput=!0,this.confirmButton=!1,this.editButton=!0,E?this.signInButton=!0:this.signUpButton=!0}):this.toastService.showToast("i18n.app.pages.profile.saved.error",Nr.m.Fail)}clearQueryParams(){this.router.navigate([],{queryParams:{role:null}})}resetEmail(){this.passwordInput=!1,this.signInButton=!1,this.signUpButton=!1,this.confirmButton=!0,this.editButton=!1,this.passwordLessLabel=!0,this.signInLabel=!1,this.passwordLessButton=!1}loginShow(){this.passwordLessLabel=!0,this.signInLabel=!1,this.confirmButton=!0,this.passwordLessButton=!1}passwordLessShow(){this.passwordLessLabel=!1,this.signInLabel=!0,this.signUpButton=!1,this.passwordInput=!1,this.confirmButton=!1,this.passwordLessButton=!0,this.signInButton=!1}passwordLess(){this.signInButton=!1,this.authService.passwordLess(this.email,this.role)}googleLogIn(){this.authService.googleLogIn(this.role)}facebookLogIn(){this.authService.facebookLogIn(this.role)}appleLogIn(){this.authService.appleLogIn(this.role)}goBack(){this.router.navigate([""])}loginClick(){this.passwordInput=!0,this.signInButton=!0,this.signUpButton=!1,this.confirmButton=!1,this.successSignUp=!1}goBackPhone(){this.showLogin?this.showLogin=!1:this.goBack()}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(m.u),t.rXU(x.Ix),t.rXU(x.nX),t.rXU(ro),t.rXU(Zo.f))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-login"]],decls:117,vars:70,consts:[[3,"hideButtons"],[1,"login-container"],[1,"back-button-phone",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","9","height","14","viewBox","0 0 9 14","fill","none"],["d","M8 1L2 7L8 13","stroke","black","stroke-width","2"],[1,"selection-container","cera-400-happy-orange",3,"ngClass"],[1,"phone-background"],[1,"selection"],[1,"back-button-container","cursor_pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","9","height","14","viewBox","0 0 9 14","fill","none",1,"back-button-phone"],["xmlns","http://www.w3.org/2000/svg","width","42","height","16","viewBox","0 0 42 16","fill","none",1,"back-button-pc"],["d","M0.292892 7.29289C-0.0976295 7.68342 -0.0976295 8.31658 0.292892 8.70711L6.65685 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41422 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928932C7.68054 0.538408 7.04738 0.538408 6.65685 0.928932L0.292892 7.29289ZM42 7L1 7V9L42 9V7Z","fill","#0E0E0E"],[1,"back-button-text"],[1,"header-container","flex-center"],[1,"header","pc"],[1,"description","pc"],[1,"phone-header"],[1,"login-type","flex-center"],[1,"customer","block",3,"click","ngClass"],["class","checked flex-center",4,"ngIf"],[1,"image-container"],["xmlns","http://www.w3.org/2000/svg","width","58","height","54","viewBox","0 0 70 66","fill","none",1,"image"],["clip-path","url(#clip0_3142_2243)"],["d","M55.0386 35.9117C54.556 35.9117 54.0703 35.9352 53.5935 35.9807C52.9518 36.0422 52.4822 36.6155 52.5435 37.2606C52.6047 37.9057 53.1749 38.3778 53.8166 38.3162C54.2191 38.2766 54.6303 38.2576 55.0386 38.2576C62.0108 38.259 67.6603 43.9418 67.6588 50.9515C67.6573 57.9611 62.005 63.6409 55.0328 63.6395C48.0607 63.638 42.4112 57.9552 42.4127 50.9456C42.4127 46.7466 44.4805 42.8188 47.9338 40.4568C48.4661 40.0917 48.6032 39.3616 48.24 38.8264C47.8769 38.2913 47.1507 38.1535 46.6184 38.5185C39.7863 43.1926 38.0173 52.5496 42.6664 59.4184C47.3155 66.2873 56.6224 68.0658 63.4545 63.3917C70.2867 58.7176 72.0556 49.3607 67.4065 42.4918C64.6212 38.3763 59.9896 35.9132 55.0386 35.9117Z","fill","black"],["d","M54.0092 10.7L53.9858 10.7703C53.996 10.7469 54.0033 10.7234 54.0106 10.7H54.0092ZM43.3358 11.7409C43.1871 11.7409 43.0413 11.8025 42.9377 11.9081C42.8327 12.0136 42.7715 12.1588 42.7715 12.3083C42.7715 12.4579 42.8327 12.6045 42.9377 12.71C43.0413 12.8156 43.1871 12.8757 43.3358 12.8757C43.4846 12.8757 43.6304 12.8156 43.734 12.71C43.839 12.6045 43.9002 12.4579 43.9002 12.3083C43.9002 12.1588 43.839 12.0136 43.734 11.9081C43.6304 11.8025 43.4846 11.7409 43.3358 11.7409Z","fill","black"],["d","M43.9002 12.3082C43.9002 12.4578 43.839 12.6044 43.734 12.71C43.6304 12.8155 43.4846 12.8756 43.3358 12.8756C43.1871 12.8756 43.0413 
112.8155 42.9377 12.71C42.8327 12.6044 42.7715 12.4578 42.7715 12.3082C42.7715 12.1587 42.8327 12.0135 42.9377 11.908C43.0413 11.8024 43.1871 11.7408 43.3358 11.7408C43.4846 11.7408 43.6304 11.8024 43.734 11.908C43.839 12.0135 43.9002 12.1587 43.9002 12.3082Z","fill","black"],["d","M58.9468 24.3951C58.8375 24.3614 58.7237 24.3438 58.6085 24.3438H53.4724C53.3936 24.3438 53.3163 24.3526 53.239 24.3672L49.5875 25.115L46.5979 22.8615L45.233 18.2608C45.3759 17.104 45.3992 15.9354 45.3044 14.7743C45.354 14.9062 45.4094 15.0514 45.4692 15.2112C45.7346 15.9223 46.3588 16.4369 47.1054 16.56C47.225 16.5791 47.346 16.5893 47.4671 16.5908C48.0941 16.5908 48.6891 16.3093 49.0902 15.824L50.0337 14.6922H50.9072C51.511 14.6922 52.0141 14.2289 52.068 13.6248L52.2722 11.3552L52.3874 11.4109C52.8657 11.6426 53.4228 11.518 53.7597 11.1397C53.834 11.059 53.8953 10.9667 53.9449 10.864C53.9594 10.8333 53.974 10.8025 53.9842 10.7702L54.0076 10.6998L54.4348 9.36858C55.6277 5.66217 53.5978 1.67132 49.9112 0.472014L49.5131 0.342993C48.6089 0.0482975 47.6887 -0.0499342 46.7963 0.0219069C44.4907 0.209574 42.3747 1.5379 41.2197 3.61103C40.9966 4.01129 40.8099 4.43794 40.6641 4.89098L40.1114 6.61076H40.1085C40.0326 6.80869 39.9918 7.06967 40.0472 7.22361C40.2951 7.91857 41.0039 7.82913 41.2445 7.94789C39.8664 7.67372 33.2093 6.48614 28.3983 8.02706C24.2232 9.36418 21.1637 13.6937 20.6081 14.5221C19.8308 15.2581 15.6557 19.4263 16.64 23.2955C15.03 23.338 13.7599 24.6839 13.8036 26.3026C13.8444 27.8904 15.1365 29.1557 16.7158 29.1557H21.9205C21.9803 29.1557 22.0401 29.1498 22.0999 29.141C22.5607 29.4768 23.0624 29.8316 23.6136 30.2113L25.3125 34.6347L17.3794 45.619C14.4496 44.2746 10.9905 45.5736 9.65328 48.5205C8.31602 51.466 9.60808 54.9437 12.5393 56.2882C15.469 57.6326 18.9295 56.3336 20.2654 53.3867C20.3601 53.177 20.4433 52.9629 20.5133 52.7445L25.9586 53.3309C25.9717 54.2444 26.1802 55.1431 26.5681 55.97C23.809 62.4049 16.3834 65.3739 9.9814 62.5999C3.58091 59.826 0.627847 52.3604 3.38696 45.924C6.07898 39.6445 13.2349 36.6403 19.5697 39.1269C20.1691 39.363 20.8472 39.0668 21.082 38.4628C21.3168 37.8602 21.0208 37.1784 20.4214 36.9424C18.6306 36.2372 16.7844 35.9029 14.9703 35.9029C8.99121 35.9029 3.34467 39.5301 1.03326 45.4665C-1.97814 53.2019 1.81636 61.9284 9.51183 64.9575C16.5627 67.7329 24.563 64.7757 28.146 58.0695C30.806 60.4183 34.8571 60.1544 37.1933 57.4801C37.4442 57.1928 37.6687 56.8834 37.8656 56.555C38.2739 56.4641 38.6006 56.1591 38.7231 55.7574L39.6214 52.8061C40.0181 51.5012 39.3793 50.104 38.1369 49.5556L37.4398 49.2477L47.7762 34.2051C49.2316 38.215 51.1114 43.4506 52.4107 47.0764C50.2831 48.5352 49.7362 51.4528 51.1887 53.5919C52.6411 55.731 55.5432 56.2808 57.6694 54.8205C59.797 53.3603 60.3439 50.4426 58.8929 48.305C58.0223 47.0236 56.58 46.2583 55.0371 46.2597C54.8913 46.2597 54.7484 46.2671 54.6055 46.2803C53.1778 42.2938 51.0472 36.3618 49.5466 32.2434L51.2849 33.2858C51.3564 33.3283 51.4322 33.3635 51.511 33.3899L53.9813 34.2227C55.0605 34.5819 56.2475 34.2901 57.0408 33.4705L58.6537 31.7947C59.4397 30.9708 59.52 29.6952 58.8418 28.7789L59.7241 25.8583C59.9122 25.2381 59.5637 24.5828 58.9468 24.3951ZM43.3765 5.85863C43.8738 3.9849 45.5888 2.61552 47.4992 2.68003C47.8958 2.69469 48.2969 2.76213 48.6935 2.89115L49.0916 3.02164C51.3812 3.76498 52.6397 6.24423 51.9003 8.54461L51.8595 8.6707L51.6203 9.34806L42.977 7.22948L43.3765 5.85863ZM14.96 54.4716C13.0263 54.4716 11.4587 52.897 11.4572 50.9543C11.4572 49.0102 13.0234 47.4341 14.9557 47.4341C15.2969 47.4326 15.6367 47.4825 15.9619 47.5822L14.0151 50.277C13.6374 50.8018 13.7526 51.5349 14.2746 51.9161C14.4394 52.0363 14.6319 52.1111 14.8346 52.1331L18.1085 52.485C17.5237 53.6989 16.3002 54.4701 14.96 54.4716ZM17.0877 50.016L17.846 48.9662C18.0925 49.3254 18.2689 49.7286 18.3666 50.1538L17.0877 50.016ZM52.7418 50.5409C52.8132 50.1348 52.9911 49.755 53.2565 49.4398C53.6722 50.5995 53.9274 51.3165 53.939 51.3487C54.1534 51.9601 54.8198 52.2812 55.428 52.0657C56.0361 51.8501 56.354 51.1801 56.1411 50.5687C56.1396 50.5643 56.1367 50.5599 56.1352 50.5555C56.1236 50.5233 55.8684 49.8063 55.4527 48.6451C56.7215 48.8753 57.5658 50.0952 57.3383 51.3722C57.1094 52.6477 55.8961 53.4966 54.6273 53.2664C53.3572 53.0377 52.5128 51.8179 52.7418 50.5409ZM49.9972 10.606L49.8412 12.3463H49.4897C49.1441 12.3463 48.8175 12.5003 48.5958 12.7656L47.5254 14.05C46.9756 12.6044 46.9348 12.5223 46.8983 12.449C46.6227 11.8933 45.9607 11.6499 45.3934 11.8977L44.8305 12.1411C44.5782 11.3435 44.2151 10.5855 43.7513 9.88906L44.1976 9.64275C44.6059 9.84068 45.0259 10.0298 45.4357 10.1882C47.3475 10.93 49.1879 10.5576 50.0716 10.2908C50.0322 10.392 50.0074 10.499 49.9972 10.606ZM42.9361 11.9079C43.0397 11.8024 43.1855 11.74
108 43.3342 11.7408C43.483 11.7408 43.6288 11.8024 43.7324 11.9079C43.8374 12.0135 43.8986 12.1587 43.8986 12.3082C43.8986 12.4577 43.8374 12.6044 43.7324 12.7099C43.6288 12.8155 43.483 12.8756 43.3342 12.8756C43.1855 12.8756 43.0397 12.8155 42.9361 12.7099C42.8311 12.6044 42.7699 12.4577 42.7699 12.3082C42.7699 12.1587 42.8311 12.0135 42.9361 11.9079ZM16.7158 26.8113C16.3936 26.8113 16.1325 26.5489 16.1325 26.2249C16.1325 25.9008 16.3936 25.6384 16.7158 25.6384H17.9758C18.3535 26.0504 18.7516 26.4418 19.1687 26.8113H16.7158ZM19.0885 23.2119C18.0269 21.13 20.366 18.1948 21.5939 16.865L23.3292 18.2652C23.8309 18.6698 24.5659 18.5892 24.9684 18.0833C25.3723 17.579 25.2921 16.8401 24.789 16.4354L23.0988 15.0719C24.1371 13.7157 26.3975 11.1309 29.107 10.2629C30.6558 9.76737 32.4713 9.6017 34.214 9.6017C36.4569 9.62076 38.6925 9.84508 40.8945 10.2717C41.5376 10.5913 42.6984 12.1367 42.9245 14.3417C43.1651 16.6802 42.8982 18.098 42.8968 18.1068C42.8588 18.2959 42.8676 18.4909 42.9215 18.6757L43.2832 19.897L40.4949 20.4658L40.0822 19.5876C39.8591 19.1126 39.3502 18.8443 38.8354 18.9308L29.772 20.4556L27.4096 18.5496C26.9079 18.1435 26.1729 18.2241 25.7704 18.7299C25.3665 19.2357 25.4467 19.9732 25.9498 20.3793L31.7218 25.2191L27.3819 29.899C23.4897 27.3934 19.8541 24.7162 19.0885 23.2119ZM27.395 33.5438L26.9575 32.4032C27.4956 32.7419 28.0206 33.0674 28.5252 33.3752L27.395 33.5438ZM31.713 35.2695C31.9318 35.3956 32.1301 35.51 32.3022 35.6082L30.5843 41.8452L28.2569 35.7871C29.1275 35.6566 30.3291 35.4762 31.713 35.2695ZM24.6811 42.8436C26.1584 44.625 27.1179 46.7817 27.4548 49.0777C26.975 49.6524 26.5973 50.3063 26.3421 51.013L20.767 50.4118C20.6503 49.1407 20.1239 47.9429 19.265 47.0001L26.3144 37.24L29.5402 45.6366L29.2806 46.5779C28.7031 44.6616 27.7494 42.8817 26.4748 41.3437C26.0636 40.8453 25.3271 40.7778 24.8328 41.1913C24.3369 41.6062 24.2684 42.3451 24.6811 42.8436ZM32.3722 57.3262C30.1191 57.3291 28.2919 55.495 28.2889 53.2298C28.2889 52.9923 28.3094 52.7533 28.3502 52.5187C28.4187 52.6946 28.5018 52.8647 28.5981 53.026C29.0691 53.806 29.8333 54.3616 30.717 54.5698L35.3982 55.9759C34.6253 56.8365 33.5257 57.3262 32.3722 57.3262ZM37.3902 52.1214L36.8317 53.9585L31.3455 52.3105C31.3164 52.3017 31.2872 52.2944 31.258 52.2885C30.7024 52.1668 30.3495 51.6156 30.4691 51.057C30.4735 51.0379 30.4778 51.0188 30.4837 50.9998L30.6601 50.3591L32.2089 50.7711C32.3066 50.7974 32.4057 50.8106 32.5063 50.8106C32.5224 50.8106 32.5384 50.8106 32.5545 50.8092L34.9475 50.7109L37.1992 51.7035C37.3581 51.7739 37.4412 51.9528 37.3902 52.1214ZM34.3132 48.3886L32.6347 48.4575L31.2828 48.0983L34.7944 35.3501C34.9388 34.8267 34.7069 34.2725 34.2344 34.0101C32.8097 33.2184 31.121 32.2331 29.3943 31.1672L33.5155 26.7233L39.0862 31.3959C39.4435 31.6965 39.582 32.1862 39.4362 32.6304L34.3132 48.3886ZM38.1791 44.0429L41.5085 33.8107C43.3226 33.5424 44.6555 33.3459 45.6282 33.2037L38.1791 44.0429ZM41.7199 31.4091C41.5405 30.7025 41.1453 30.0706 40.5897 29.6014L32.1316 22.4363L38.3498 21.391L40.9047 26.8289C41.0039 27.04 41.1628 27.216 41.3612 27.3347L46.3588 30.333V30.3374C46.404 30.4547 46.4506 30.5793 46.4973 30.7054C45.5757 30.8388 44.0999 31.0558 41.7199 31.4091ZM55.3623 31.8417C55.1961 32.0132 54.9467 32.0748 54.7207 31.9985L52.3699 31.2068L42.8603 25.5035L41.5187 22.6489L43.9511 22.1534L44.4703 23.9025C44.5417 24.1444 44.6876 24.3555 44.8873 24.5065L52.3276 30.116C52.6032 30.3227 52.9561 30.3975 53.2915 30.3198L56.3088 29.6146C56.3554 29.6029 56.405 29.6175 56.44 29.6527L56.965 30.1747L55.3623 31.8417ZM56.844 27.3157C56.4925 27.2424 56.1294 27.2468 55.7794 27.3289L53.293 27.9109L52.0826 26.999L53.589 26.6911H57.0335L56.844 27.3157Z","fill","black"],["id","clip0_3142_2243"],["width","70","height","66","fill","white"],[1,"text"],[1,"header"],[1,"description"],[1,"shop","block",3,"click","ngClass"],["class","image","xmlns","http://www.w3.org/2000/svg","width","49","height","50","viewBox","0 0 49 50","fill","none",4,"ngIf"],["class","image","xmlns","http://www.w3.org/2000/svg","width","49","height","49","viewBox","0 0 49 49","fill","none",4,"ngIf"],[1,"button-container","flex-center"],[1,"button","flex-center","cursor_pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","17","height","16","viewBox","0 0 17 16","fill","none",1,"icon-pc"],["d","M16.2071 8.70711C16.5976 8.31658 16.5976 7.68342 16.2071 7.29289L9.84315 0.928932C9.45262 0.538408 8.81946 0.538408 8.42893 0.928932C8.03841 1.31946 8.03841 1.95262 8.42893 2.34315L14.0858 8L8.42893 13.6569C8.03841 14.0474 8.03841 14.6805 8.42893 15.0711C8.81946 15.4616 9.45262 15.4616 9.84315 15.0711L16.2071 8.70711ZM0.5 9H15.5V7H0.5V9Z","fill","white"],["xmlns","http://www.w3.org/2000/svg","width","16","height","8","viewBox","0 0 16 8","fill","none",1,"icon-phone"],["d","M15.3536 4.35355C15.5488 4.15829 15.5488 3.84171 15.3536 3.64645L12.1716 0.464466C11.9763 0.269204 11.6597 0.269204 11.4645 0.464466C11.2692 0.659728 11.2692 0.976311 11.4645 1.17157L14.2929 4L11.4645 6.82843C11.2692 7.02369 11.2692 7.34027 11.4645 7.53553C11.6597 7.7308 11.9763 7.7308 12.1716 7.53553L15.3536 4.35355ZM0 4.5H15V3.5H0V4.5Z","fill","white"],[1,"image-container-side",3,"ngClass"],["src","assets/images/login-background-image.jpg",1,"image-main"],["src","assets/images/login-2.jpeg",1,"image-login"],[1,"login-side",3,"ngClass"],["xmlns","http://www.w3.org/2000/svg","width","42","height","16","viewBox","0 0 42 16","fill","none",1,"arrow","back","cursor_pointer",3,"click"],["d","M0.292896 7.29289C-0.0976295 7.68342 -0.0976295 8.31658 0.292896 8.70711L6.65686 15.0711C7.04738 15.4616 7.68055 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41422 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928932C7.68055 0.538408 7.04738 0.538408 6.65686 0.928932L0.292896 7.29289ZM42 7L1 7V9L42 9V7Z","fill","#0E0E0E"],[1,"login-methods"],[1,"label"],[1,"google","method",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","33","height","33","viewBox","0 0 33 33","fill","none",1,"logo"],["fill-rule","evenodd","clip-rule","evenodd","d","M30.7082 16.0228C30.7082 14.9119 30.6085 13.8437 30.4233 12.8182H15.668V18.8785H24.0996C23.7364 20.8368 22.6326 22.4961 20.9734 23.607V27.538H26.0366C28.9991 24.8105 30.7082 20.7941 30.7082 16.0228Z","fill","#4285F4"],["fill-rule","evenodd","clip-rule","evenodd","d","M15.6685 31.3335C19.8986 31.3335 23.445 29.9306 26.0371 27.5378
1L20.9739 23.6069C19.571 24.5469 17.7764 25.1023 15.6685 25.1023C11.588 25.1023 8.13413 22.3464 6.90214 18.6433H1.66797V22.7025C4.24589 27.8227 9.54415 31.3335 15.6685 31.3335Z","fill","#34A853"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.90056 18.6438C6.58722 17.7038 6.40919 16.6997 6.40919 15.6671C6.40919 14.6345 6.58722 13.6304 6.90056 12.6904V8.63123H1.66639C0.605312 10.7463 0 13.139 0 15.6671C0 18.1952 0.605312 20.5879 1.66639 22.703L6.90056 18.6438Z","fill","#FBBC05"],["fill-rule","evenodd","clip-rule","evenodd","d","M15.6685 6.23116C17.9687 6.23116 20.0339 7.02162 21.6575 8.57407L26.1511 4.08052C23.4379 1.55245 19.8914 0 15.6685 0C9.54415 0 4.24589 3.51081 1.66797 8.63104L6.90214 12.6902C8.13413 8.98711 11.588 6.23116 15.6685 6.23116Z","fill","#EA4335"],[1,"facebook","method",3,"click"],["d","M33 16.6008C33 7.43244 25.6127 0 16.5 0C7.3873 0 0 7.43244 0 16.6008C0 24.8868 6.03381 31.7546 13.9219 33V21.3995H9.73242V16.6008H13.9219V12.9435C13.9219 8.78288 16.3852 6.4847 20.1542 6.4847C21.9594 6.4847 23.8477 6.80894 23.8477 6.80894V10.8943H21.767C19.7173 10.8943 19.0781 12.174 19.0781 13.4868V16.6008H23.6543L22.9228 21.3995H19.0781V33C26.9662 31.7546 33 24.8868 33 16.6008Z","fill","white"],[1,"apple","method",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","33","height","33","fill","currentColor","viewBox","0 0 16 16",1,"logo",2,"color","white"],["d","M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282z","fill","white"],[1,"or"],[1,"email","box"],["placeholder","Email","type","email","id","email","name","email","autocomplete","user-name",1,"box-input",3,"ngModelChange","ngModel","disabled"],["class","edit-button","xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none",3,"click",4,"ngIf"],["class","password box",4,"ngIf"],["class","login-button confirm button flex-center",3,"click",4,"ngIf"],["class","login-button sign-in button flex-center",3,"click",4,"ngIf"],["class","sign-up button flex-center",3,"click",4,"ngIf"],["class","reset-password button flex-center",3,"click",4,"ngIf"],["class","forgot-password",3,"click",4,"ngIf"],["class","backdrop",3,"click",4,"ngIf"],["class","success-sign-up-container",4,"ngIf"],[1,"checked","flex-center"],["xmlns","http://www.w3.org/2000/svg","width","7","height","5","viewBox","0 0 11 8","fill","none",1,"checked-image"],["d","M10.6618 1.95645L4.87498 7.66865C4.64328 7.88564 4.35394 8 4.0533 8C3.75266 8 3.46332 7.88564 3.23162 7.66865L0.338222 4.81255C-0.11274
11 4.36684 -0.112741 3.63608 0.338222 3.19038C0.789186 2.74467 1.53062 2.74467 1.98158 3.19038L4.0533 5.24654L9.01842 0.33428C9.46938 -0.111427 10.2108 -0.111427 10.6618 0.33428C11.1127 0.779988 11.1127 1.51075 10.6618 1.95645Z","fill","white"],["xmlns","http://www.w3.org/2000/svg","width","49","height","50","viewBox","0 0 49 50","fill","none",1,"image"],["d","M44.0927 26.7594L40.0541 26.1856L37.567 25.1753V23.2733C38.4726 22.5991 39.2272 21.7436 39.7827 20.7616C40.3381 19.7795 40.6821 18.6925 40.7927 17.5701H40.8336C41.6218 17.5696 42.3832 17.2845 42.9774 16.7675C43.5716 16.2505 43.9586 15.5364 44.0669 14.7569C44.1752 13.9774 43.9976 13.185 43.5668 12.526C43.1361 11.867 42.4812 11.3857 41.7229 11.1709C41.8884 10.5456 41.8631 9.88511 41.6502 9.27423V6.1548C41.6502 4.64103 41.0479 3.18927 39.9759 2.11888C38.9038 1.04848 37.4498 0.447144 35.9337 0.447144H29.4006C27.8845 0.447144 26.4304 1.04848 25.3584 2.11888C24.2863 3.18927 23.6841 4.64103 23.6841 6.1548V9.27423C23.4712 9.88511 23.4459 10.5456 23.6114 11.1709C22.8531 11.3857 22.1982 11.867 21.7674 12.526C21.3367 13.185 21.1591 13.9774 21.2674 14.7569C21.3757 15.5364 21.7627 16.2505 22.3569 16.7675C22.9511 17.2845 23.7125 17.5696 24.5007 17.5701H24.5415C24.6521 18.6926 24.9961 19.7797 25.5516 20.7618C26.107 21.744 26.8617 22.5995 27.7673 23.2738V25.2103L25.2357 26.4232L20.848 27.3568C19.6744 27.6168 18.6115 28.2367 17.8082 29.1296C17.0049 30.0226 16.5012 31.1439 16.3678 32.3368C15.8563 31.874 15.2976 31.466 14.701 31.1194V18.6988C16.6457 17.5815 18.1463 15.8303 18.9509 13.739C19.7554 11.6478 19.8149 9.34384 19.1193 7.21397C19.076 7.08176 18.9996 6.96282 18.8972 6.86845C18.7949 6.77407 18.67 6.70742 18.5346 6.67481C18.3992 6.6422 18.2576 6.64473 18.1234 6.68216C17.9893 6.71959 17.8669 6.79067 17.768 6.88864L12.4966 12.1111C12.2741 12.329 11.9747 12.4505 11.6631 12.4494C11.3585 12.447 11.0672 12.3248 10.8523 12.1093L7.92052 9.18189C7.70478 8.96737 7.5824 8.67662 7.57988 8.37263C7.57848 8.06346 7.69867 7.7661 7.9146 7.54451L13.1493 2.27716C13.2474 2.17839 13.3187 2.05619 13.3562 1.92217C13.3937 1.78816 13.3962 1.64679 13.3635 1.51153C13.3308 1.37627 13.264 1.25161 13.1694 1.14942C13.0748 1.04723 12.9556 0.970902 12.8231 0.927707C10.5209 0.180105 8.02291 0.310358 5.81118 1.29333C3.59946 2.27631 1.83073 4.04234 0.846293 6.25067C-0.138146 8.459 -0.268533 10.9531 0.480291 13.2518C1.22911 15.5504 2.80408 17.4907 4.90129 18.6983V31.1182C2.95655 32.2355 1.45597 33.9867 0.651442 36.078C-0.153086 38.1692 -0.212581 40.4732 0.482947 42.603C0.52626 42.7353 0.602729 42.8542 0.705079 42.9486C0.807429 43.0429 0.932259 43.1096 1.06769 43.1422C1.20313 43.1748 1.34467 43.1723 1.47885 43.1349C1.61303 43.0974 1.73539 43.0264 1.83429 42.9284L7.10572 37.7059C7.32815 37.488 7.62762 37.3665 7.9392 37.3676C8.24377 37.37 8.53511 37.4922 8.75003 37.7077L11.6818 40.6348C11.8976 40.8494 12.02 41.1404 12.0224 41.4445C12.0238 41.7537 11.9036 42.051 11.6877 42.2726L6.45291 47.5399C6.35475 47.6387 6.28356 47.7609 6.2461 47.8949C6.20863 48.029 6.20616 48.1704 6.2389 48.3056C6.27165 48.4409 6.33852 48.5656 6.43316 48.6677C6.5278 48.7699 6.64705 48.8462 6.77957 48.8893C10.1622 49.9926 14.0131 49.0838 16.5635 46.6361C16.8433 47.4341 17.3644 48.1257 18.0548 48.6154C18.7451 49.105 19.5707 49.3687 20.4175 49.3699H22.8674C22.9241 49.3699 31.8505 47.4952 31.8505 47.4952V49.3699H33.4838V47.4995L42.2986 49.3524C42.354 49.364 42.4103 49.3698 42.4669 49.3699H44.9168C45.9993 49.3687 47.0372 48.9387 47.8027 48.1744C48.5682 47.4101 48.9988 46.3739 49 45.293V32.41C48.992 31.0384 48.4929 29.7149 47.5929 28.6786C46.6929 27.6423 45.4514 26.9616 44.0927 26.7594ZM32.6671 35.5274L31.4913 32.2469H33.8391L32.6671 35.5274ZM29.4006 24.2242C30.4303 24.6756 31.5426 24.9087 32.6671 24.9087C33.7917 24.9087 34.904 24.6756 35.9337 24.2242V25.6002L34.367 30.6162H30.9677L29.4006 25.5996V24.2242ZM35.7398 31.6992L37.2657 26.8136L38.9806 27.5102L38.4932 33.3503L35.7444 31.7821L35.7705 31.7101L35.7398 31.6992ZM36.0235 11.5944C33.8013 11.2238 31.533 11.2238 29.3107 11.5944L27.0711 11.967C26.825 12.0077 26.5728 11.9925 26.3334 11.9225C26.0939 11.8526 25.8733 11.7297 25.688 11.563C25.5026 11.3963 25.3572 11.1901 25.2625 10.9596C25.1679 10.7291 25.1264 10.4803 25.1413 10.2317H40.193C40.2078 10.4803 40.1664 10.7291 40.0718 10.9596C39.9771 11.1901 39.8317 11.3963 39.6463 11.563C39.461 11.7297 39.2404 11.8526 39.0009 11.9225C38.7615 11.9925 38.5093 12.0077 38.2632 11.967L36.0235 11.5944ZM35.1171 8.60093H30.2172V6.97017H35.1171V8.60093ZM42.4669 14.3086C42.4659 14.7408 42.2935 15.155 41.9874 15.4607C41.6813 15.7663 41.2665 15.9384 40.8336 15.9393V12.688C40.8368 12.6848 40.8403 12.6818 40.8438 12.6786C41.2749 12.6817 41.6874 12.8547 41.9914 13.16C42.2953 13.4653 42.4662 13.8781 42.4669 14.3086ZM25.3174 6.1548C25.3174 5.07354 25.7476 4.03656 26.5133 3.272C27.2791 2.50743 28.3176 2.0779 29.4006 2.0779H35.9337C37.0167 2.0779 38.0552 2.50743 38.821 3.272C39.5867 4.03656 40.0169 5.07354 40.0169 6.1548V8.60093H36.7504V6.1548C36.7504 5.93854 36.6643 5.73115 36.5112 5.57824C36.358 5.42532 36.1503 5.33942 35.9337 5.33942H29.4006C29.184 5.33942 28.9763 5.42532 28.8231 5.57824C28.67 5.73115 28.5839 5.93854 28.5839 6.1548V8.60093H25.3174V6.1548ZM23.3472 15.4603C23.119 15.2331 22.9633 14.9434 22.8998 14.6279C22.8362 14.3124 22.8677 13.9852 22.9902 13.6876C23.1128 13.3899 23.3208 13.1352 23.5882 12.9555C23.8556 12.7758 24.1702 12.6792 24.4925 12.6778L24.5007 12.6862V15.9393C24.0681 15.9374 23.6536 15.7653 23.3472 15.4603ZM26.134 16.7547V13.5561C26.5313 13.636 26.9399 13.6426 27.3397 13.5757L27.8389 13.4925C27.7673 13.693 27.7493 13.9087 27.7867 14.1182C27.8242 14.3278 27.9157 14.524 28.0524 14.6874C28.189 14.8508 28.366 14.9757 28.5659 15.0499C28.7657 15.1241 28.9815 15.1449 29.1918 15.1103C29.4022 15.0757 29.5999 14.9869 29.7653 14.8526C29.9308 14.7183 30.0582 14.5433 30.1352 14.3447C30.2121 14.1462 30.2357 13.931 30.2039 13.7206C30.172 13.5101 30.0856 13.3116 29.9533 13.1446C31.753 12.8816 33.5813 12.8816 35.3809 13.1446C35.2484 13.3116 35.1618 13.5103 35.1297 13.7209C35.0977 13.9316 35.1213 14.1469 35.1982 14.3457C35.27
151 14.5444 35.4026 14.7197 35.5682 14.8541C35.7337 14.9886 35.9316 15.0775 36.1422 15.1121C36.3527 15.1468 36.5687 15.1259 36.7687 15.0516C36.9687 14.9774 37.1458 14.8522 37.2825 14.6886C37.4192 14.525 37.5108 14.3286 37.5481 14.1188C37.5854 13.909 37.5672 13.6931 37.4953 13.4925L37.9946 13.5757C38.3454 13.6461 38.9891 13.5991 39.2003 13.5565V16.7547C39.2003 18.4847 38.512 20.1439 37.2868 21.3672C36.0616 22.5905 34.3998 23.2778 32.6671 23.2778C30.9344 23.2778 29.2727 22.5905 28.0475 21.3672C26.8223 20.1439 26.134 18.4847 26.134 16.7547ZM28.0855 26.8671L29.5934 31.6948L29.5628 31.7058L29.5905 31.7821L26.8414 33.3503L26.3688 27.6895L28.0855 26.8671ZM21.192 28.9512L24.7716 28.1895L25.3201 34.7608C25.3315 34.8974 25.3772 35.0289 25.453 35.1432C25.5288 35.2575 25.6323 35.3509 25.7538 35.4147C25.8729 35.4772 26.4138 35.4726 26.5392 35.401L30.1513 33.34L31.8505 38.0956V39.9592L27.1482 39.5981L23.6841 38.1158V34.6931H22.0508V37.4169L21.5558 37.2051C21.4542 37.1616 21.3447 37.1392 21.2341 37.1392H17.9676V32.94C17.9727 32.0087 18.2946 31.1067 18.8804 30.382C19.4663 29.6573 20.2813 29.1528 21.192 28.9512ZM10.8147 47.6797C10.0915 47.7676 9.35984 47.7596 8.63876 47.6557L12.8512 43.417C13.3687 42.8906 13.6577 42.182 13.6557 41.4444C13.6559 41.0794 13.5837 40.718 13.4431 40.3811C13.3025 40.0442 13.0964 39.7385 12.8367 39.4817L9.90496 36.5545C9.64773 36.2952 9.34154 36.0894 9.00412 35.949C8.66669 35.8086 8.30474 35.7365 7.9392 35.7367C7.19836 35.735 6.48672 36.0251 5.95884 36.5441L1.71832 40.7458C1.47496 39.0627 1.76571 37.3457 2.54974 35.836C3.33377 34.3263 4.57171 33.0997 6.08971 32.3285C6.22359 32.2601 6.33596 32.1562 6.41446 32.0281C6.49296 31.9001 6.53452 31.7529 6.53458 31.6028V18.2142C6.53458 18.0641 6.49308 17.917 6.41466 17.7889C6.33624 17.6608 6.22393 17.5569 6.09012 17.4885C4.67258 16.7637 3.49749 15.6419 2.70879 14.2605C1.92009 12.8791 1.552 11.298 1.64962 9.71087C1.88553 5.87349 4.95621 2.61707 8.78759 2.13732C9.51079 2.04946 10.2425 2.05751 10.9635 2.16127L6.75109 6.40002C6.23361 6.92638 5.94459 7.63506 5.94659 8.37263C5.94637 8.73759 6.01864 9.09898 6.15921 9.43588C6.29979 9.77278 6.50589 10.0785 6.76558 10.3353L9.69733 13.2626C9.95457 13.5219 10.2608 13.7276 10.5982 13.868C10.9356 14.0084 11.2976 14.0805 11.6631 14.0803C12.4038 14.0819 13.1152 13.7918 13.6429 13.273L17.884 9.0712C18.1273 10.7543 17.8366 12.4713 17.0526 13.981C16.2685 15.4907 15.0306 16.7173 13.5126 17.4886C13.3787 17.5569 13.2663 17.6608 13.1878 17.7889C13.1093 17.9169 13.0678 18.0641 13.0677 18.2142V31.6028C13.0677 31.7528 13.1092 31.9 13.1876 32.028C13.266 32.1561 13.3782 32.26 13.512 32.3285C14.6202 32.8983 15.585 33.7111 16.3343 34.7058V44.4368C15.6796 45.3198 14.8534 46.0621 13.9051 46.6192C12.9568 47.1764 11.9057 47.5371 10.8147 47.6797ZM22.7822 47.7391H20.4175C19.768 47.7384 19.1452 47.4804 18.6859 47.0219C18.2267 46.5633 17.9683 45.9415 17.9676 45.293V44.4776H20.896L22.29 45.8696C22.3658 45.9453 22.4558 46.0053 22.5549 46.0463C22.654 46.0873 22.7602 46.1084 22.8674 46.1084H26.8656L28.6961 46.4931L22.7822 47.7391ZM47.3667 45.293C47.366 45.9415 47.1076 46.5633 46.6483 47.0219C46.189 47.4804 45.5663 47.7384 44.9168 47.7391H42.5519L27.1189 44.495C27.0635 44.4835 23.2056 44.4776 23.2056 44.4776L21.8116 43.0856C21.7358 43.0099 21.6458 42.9499 21.5467 42.9089C21.4476 42.8679 21.3414 42.8468 21.2341 42.8468H17.9676V38.77H21.0664C21.0664 38.77 26.7987 41.2068 26.8881 41.2137L47.3667 42.7865V45.293ZM47.3667 41.151L40.0233 40.5869L44.2683 38.77H47.3667V41.151ZM47.3667 37.1392H44.1001C43.9892 37.1392 43.2835 37.4176 43.2835 37.4176V34.6931H41.6502V37.1392H35.1171V38.77H40.1243L38.1862 39.5981L33.4838 39.9608V38.0956L35.183 33.3399L38.7951 35.4009C38.9143 35.4689 39.0488 35.5058 39.1861 35.5082C39.3233 35.5106 39.459 35.4785 39.5805 35.4146C39.702 35.3508 39.8055 35.2575 39.8812 35.1432C39.9571 35.0289 40.0028 34.8973 40.0142 34.7607L40.5858 27.9083L43.8598 28.3739C44.8305 28.5183 45.7175 29.0044 46.3606 29.7446C47.0037 30.4848 47.3606 31.4301 47.3667 32.41V37.1392Z","fill","#989898"],["d","M30.2192 36.3237H28.5859V37.9545H30.2192V36.3237Z","fill","#989898"],["d","M36.1658 18.8326L35.6924 17.2719C35.5286 17.3212 35.3495 17.409 35.1601 17.5207C33.2858 18.6263 31.3254 18.4667 29.5547 17.2019V18.8327C31.3254 20.0974 33.3756 20.4234 35.2331 19.29C35.5671 19.0862 35.8835 18.9176 36.1658 18.8326Z","fill","#989898"],["d","M10.6177 17.5701H8.98438V32.2469H10.6177V17.5701Z","fill","#989898"],["xmlns","http://www.w3.org/2000/svg","width","49","height","49","viewBox","0 0 49 49","fill","none",1,"image"],["d","M44.0927 26.3123L40.0541 25.7385L37.567 24.7282V22.8261C38.4726 22.152 39.2272 21.2965 39.7827 20.3144C40.3381 19.3324 40.6821 18.2454 40.7927 17.123H40.8336C41.6218 17.1224 42.3832 16.8373 42.9774 16.3203C43.5716 15.8033 43.9586 15.0892 44.0669 14.3097C44.1752 13.5302 43.9976 12.7379 43.5668 12.0789C43.1361 11.4198 42.4812 10.9386 41.7229 10.7238C41.8884 10.0984 41.8631 9.43797 41.6502 8.82709V5.70765C41.6502 4.19389 41.0479 2.74212 39.9759 1.67173C38.9038 0.60134 37.4498 0 35.9337 0H29.4006C27.8845 0 26.4304 0.60134 25.3584 1.67173C24.2863 2.74212 23.6841 4.19389 23.6841 5.70765V8.82709C23.4712 9.43797 23.4459 10.0984 23.6114 10.7238C22.8531 10.9386 22.1982 11.4198 21.7674 12.0789C21.3367 12.7379 21.1591 13.5302 21.2674 14.3097C21.3757 15.0892 21.7627 15.8033 22.3569 16.3203C22.9511 16.8373 23.7125 17.1224 24.5007 17.123H24.5415C24.6521 18.2455 24.9961 19.3325 25.5516 20.3147C26.107 21.2968 26.861
17 22.1524 27.7673 22.8266V24.7632L25.2357 25.976L20.848 26.9096C19.6744 27.1697 18.6115 27.7895 17.8082 28.6825C17.0049 29.5754 16.5012 30.6968 16.3678 31.8897C15.8563 31.4269 15.2976 31.0188 14.701 30.6722V18.2516C16.6457 17.1344 18.1463 15.3831 18.9509 13.2919C19.7554 11.2006 19.8149 8.89669 19.1193 6.76683C19.076 6.63462 18.9996 6.51567 18.8972 6.4213C18.7949 6.32693 18.67 6.26027 18.5346 6.22767C18.3992 6.19506 18.2576 6.19759 18.1234 6.23502C17.9893 6.27244 17.8669 6.34352 17.768 6.44149L12.4966 11.664C12.2741 11.8819 11.9747 12.0034 11.6631 12.0023C11.3585 11.9999 11.0672 11.8776 10.8523 11.6622L7.92052 8.73475C7.70478 8.52023 7.5824 8.22947 7.57988 7.92548C7.57848 7.61632 7.69867 7.31895 7.9146 7.09736L13.1493 1.83002C13.2474 1.73125 13.3187 1.60905 13.3562 1.47503C13.3937 1.34102 13.3962 1.19965 13.3635 1.06439C13.3308 0.929126 13.264 0.804467 13.1694 0.702275C13.0748 0.600083 12.9556 0.523758 12.8231 0.480564C10.5209 -0.267038 8.02291 -0.136785 5.81118 0.84619C3.59946 1.82917 1.83073 3.5952 0.846293 5.80353C-0.138146 8.01186 -0.268533 10.506 0.480291 12.8046C1.22911 15.1033 2.80408 17.0436 4.90129 18.2511V30.6711C2.95655 31.7884 1.45597 33.5396 0.651442 35.6308C-0.153086 37.7221 -0.212581 40.026 0.482947 42.1559C0.52626 42.2881 0.602729 42.4071 0.705079 42.5014C0.807429 42.5958 0.932259 42.6625 1.06769 42.6951C1.20313 42.7277 1.34467 42.7251 1.47885 42.6877C1.61303 42.6503 1.73539 42.5792 1.83429 42.4812L7.10572 37.2587C7.32815 37.0409 7.62762 36.9193 7.9392 36.9205C8.24377 36.9229 8.53511 37.0451 8.75003 37.2606L11.6818 40.1877C11.8976 40.4023 12.02 40.6932 12.0224 40.9973C12.0238 41.3065 11.9036 41.6039 11.6877 41.8255L6.45291 47.0927C6.35475 47.1915 6.28356 47.3138 6.2461 47.4478C6.20863 47.5818 6.20616 47.7232 6.2389 47.8585C6.27165 47.9938 6.33852 48.1184 6.43316 48.2206C6.5278 48.3228 6.64705 48.399 6.77957 48.4422C10.1622 49.5455 14.0131 48.6366 16.5635 46.189C16.8433 46.987 17.3644 47.6785 18.0548 48.1682C18.7451 48.6579 19.5707 48.9215 20.4175 48.9227H22.8674C22.9241 48.9227 31.8505 47.0481 31.8505 47.0481V48.9227H33.4838V47.0524L42.2986 48.9053C42.354 48.9169 42.4103 48.9227 42.4669 48.9227H44.9168C45.9993 48.9215 47.0372 48.4916 47.8027 47.7273C48.5682 46.963 48.9988 45.9267 49 44.8458V31.9629C48.992 30.5913 48.4929 29.2678 47.5929 28.2315C46.6929 27.1952 45.4514 26.5145 44.0927 26.3123ZM32.6671 35.0802L31.4913 31.7998H33.8391L32.6671 35.0802ZM29.4006 23.7771C30.4303 24.2284 31.5426 24.4615 32.6671 24.4615C33.7917 24.4615 34.904 24.2284 35.9337 23.7771V25.153L34.367 30.169H30.9677L29.4006 25.1525V23.7771ZM35.7398 31.252L37.2657 26.3665L38.9806 27.063L38.4932 32.9032L35.7444 31.3349L35.7705 31.263L35.7398 31.252ZM36.0235 11.1472C33.8013 10.7767 31.533 10.7767 29.3107 11.1472L27.0711 11.5199C26.825 11.5605 26.5728 11.5453 26.3334 11.4754C26.0939 11.4055 25.8733 11.2826 25.688 11.1159C25.5026 10.9492 25.3572 10.7429 25.2625 10.5125C25.1679 10.282 25.1264 10.0332 25.1413 9.78455H40.193C40.2078 10.0332 40.1664 10.282 40.0718 10.5125C39.9771 10.7429 39.8317 10.9492 39.6463 11.1159C39.461 11.2826 39.2404 11.4055 39.0009 11.4754C38.7615 11.5453 38.5093 11.5605 38.2632 11.5199L36.0235 11.1472ZM35.1171 8.15379H30.2172V6.52303H35.1171V8.15379ZM42.4669 13.8614C42.4659 14.2937 42.2935 14.7079 41.9874 15.0135C41.6813 15.3191 41.2665 15.4913 40.8336 15.4922V12.2409C40.8368 12.2376 40.8403 12.2347 40.8438 12.2315C41.2749 12.2346 41.6874 12.4076 41.9914 12.7129C42.2953 13.0181 42.4662 13.431 42.4669 13.8614ZM25.3174 5.70765C25.3174 4.62639 25.7476 3.58942 26.5133 2.82485C27.2791 2.06029 28.3176 1.63076 29.4006 1.63076H35.9337C37.0167 1.63076 38.0552 2.06029 38.821 2.82485C39.5867 3.58942 40.0169 4.62639 40.0169 5.70765V8.15379H36.7504V5.70765C36.7504 5.4914 36.6643 5.28401 36.5112 5.13109C36.358 4.97818 36.1503 4.89227 35.9337 4.89227H29.4006C29.184 4.89227 28.9763 4.97818 28.8231 5.13109C28.67 5.28401 28.5839 5.4914 28.5839 5.70765V8.15379H25.3174V5.70765ZM23.3472 15.0132C23.119 14.7859 22.9633 14.4963 22.8998 14.1808C22.8362 13.8653 22.8677 13.5381 22.9902 13.2404C23.1128 12.9428 23.3208 12.688 23.5882 12.5083C23.8556 12.3286 24.1702 12.232 24.4926 12.2307L24.5007 12.239V15.4922C24.0681 15.4903 23.6536 15.3181 23.3472 15.0132ZM26.134 16.3076V13.1089C26.5313 13.1888 26.9399 13.1955 27.3397 13.1285L27.8389 13.0453C27.7673 13.2458 27.7493 13.4615 27.7867 13.6711C27.8242 13.8807 27.9157 14.0768 28.0524 14.2402C28.189 14.4036 28.366 14.5286 28.5659 14.6028C28.7657 14.6769 28.9815 14.6978 29.1918 14.6631C29.4022 14.6285 29.5999 14.5397 29.7653 14.4054C29.9308 14.2712 30.0582 14.0961 30.1352 13.8976C30.2121 13.699 30.2357 13.4839 30.2039 13.2734C30.172 13.063 30.0856 12.8644 29.9533 12.6975C31.753 12.4344 33.5813 12.4344 35.3809 12.6975C35.2484 12.8645 35.1618 13.0631 35.1297 13.2738C35.0977 13.4844 35.1213 13.6998 35.1982 13.8985C35.2751 14.0973 35.4026 14.2726 35.5682 14.407C35.7337 14.5414 35.9316 14.6304 36.1421 14.665C36.3527 14.6996 36.5687 14.6788 36.7687 14.6045C36.9687 14.5302 37.1458 14.4051 37.2825 14.2415C37.4192 14.0778 37.5108 13.8814 37.5481 13.6716C37.5854 13.4618 37.5672 13.246 37.4953 13.0453L37.9946 13.1285C38.3454 13.1989 38.9891 13.152 39.2003 13.1094V16.3076C39.2003 18.0376 38.512 19.6968 37.2868 20.9201C36.0616 22.1434 34.3998 22.8306 32.6671 22.8306C30.9344 22.8306 29.2727 22.1434 28.0475 20.9201C26.8223 19.6968 26.134 18.0376 26.134 16.3076ZM28.0855 26.4199L29.5934 31.2477L29.5628 31.2587L29.5905 31.3349L26.8414 32.9032L26.3688 27.2423L28.0855 26.4199ZM21.192 28.504L24.7716 27.7423L25.3201 34.3137C25.3315 34.4503 25.3772 34.5818 25.453 34.6961C25.5288 34.8104 25.6323 34.9037 25.7538 34.9675C25.8729 35.0301 26.4138 35.0254 26.5392 34.9539L30.1513 32.8929L31.8505 37.6485V39.512L27.1482 39.1509L23.6841 37.6687V34.2459H22.0508V36.9
1698L21.5558 36.758C21.4542 36.7145 21.3447 36.6921 21.2341 36.692H17.9676V32.4928C17.9727 31.5615 18.2946 30.6596 18.8804 29.9349C19.4663 29.2101 20.2813 28.7056 21.192 28.504ZM10.8147 47.2326C10.0915 47.3205 9.35984 47.3124 8.63876 47.2086L12.8512 42.9699C13.3687 42.4435 13.6577 41.7348 13.6557 40.9972C13.6559 40.6323 13.5837 40.2709 13.4431 39.934C13.3025 39.5971 13.0964 39.2914 12.8367 39.0345L9.90496 36.1073C9.64773 35.848 9.34154 35.6422 9.00412 35.5019C8.66669 35.3615 8.30474 35.2894 7.9392 35.2896C7.19836 35.2878 6.48672 35.5779 5.95884 36.0969L1.71832 40.2987C1.47496 38.6155 1.76571 36.8986 2.54974 35.3889C3.33377 33.8791 4.57171 32.6526 6.08971 31.8813C6.22359 31.813 6.33596 31.709 6.41446 31.581C6.49296 31.453 6.53452 31.3058 6.53458 31.1556V17.7671C6.53458 17.617 6.49308 17.4698 6.41466 17.3417C6.33624 17.2137 6.22393 17.1097 6.09012 17.0413C4.67258 16.3166 3.49749 15.1948 2.70879 13.8134C1.92009 12.4319 1.552 10.8508 1.64962 9.26372C1.88553 5.42635 4.95621 2.16993 8.78759 1.69018C9.51079 1.60231 10.2425 1.61037 10.9635 1.71413L6.75109 5.95288C6.23361 6.47924 5.94459 7.18792 5.94659 7.92548C5.94637 8.29045 6.01864 8.65184 6.15921 8.98874C6.29979 9.32564 6.50589 9.63135 6.76558 9.8882L9.69733 12.8154C9.95457 13.0747 10.2608 13.2805 10.5982 13.4209C10.9356 13.5612 11.2976 13.6334 11.6631 13.6331C12.4038 13.6348 13.1152 13.3447 13.6429 12.8258L17.884 8.62406C18.1273 10.3072 17.8366 12.0242 17.0526 13.5339C16.2685 15.0436 15.0306 16.2702 13.5126 17.0414C13.3787 17.1098 13.2663 17.2137 13.1878 17.3417C13.1093 17.4698 13.0678 17.617 13.0677 17.7671V31.1556C13.0677 31.3057 13.1092 31.4528 13.1876 31.5809C13.266 31.7089 13.3782 31.8129 13.512 31.8813C14.6202 32.4512 15.585 33.2639 16.3343 34.2587V43.9897C15.6796 44.8727 14.8534 45.6149 13.9051 46.1721C12.9568 46.7293 11.9057 47.0899 10.8147 47.2326ZM22.7822 47.292H20.4175C19.768 47.2912 19.1452 47.0333 18.6859 46.5747C18.2267 46.1161 17.9683 45.4944 17.9676 44.8458V44.0305H20.896L22.29 45.4224C22.3658 45.4981 22.4558 45.5582 22.5549 45.5992C22.654 45.6401 22.7602 45.6612 22.8674 45.6612H26.8656L28.6961 46.046L22.7822 47.292ZM47.3667 44.8458C47.366 45.4944 47.1076 46.1161 46.6483 46.5747C46.189 47.0333 45.5663 47.2912 44.9168 47.292H42.5519L27.1189 44.0479C27.0635 44.0364 23.2056 44.0305 23.2056 44.0305L21.8116 42.6385C21.7358 42.5628 21.6458 42.5027 21.5467 42.4618C21.4476 42.4208 21.3414 42.3997 21.2341 42.3997H17.9676V38.3228H21.0664C21.0664 38.3228 26.7987 40.7597 26.8881 40.7666L47.3667 42.3394V44.8458ZM47.3667 40.7038L40.0233 40.1398L44.2683 38.3228H47.3667V40.7038ZM47.3667 36.692H44.1001C43.9892 36.692 43.2835 36.9705 43.2835 36.9705V34.2459H41.6502V36.692H35.1171V38.3228H40.1243L38.1862 39.1509L33.4838 39.5137V37.6485L35.183 32.8928L38.7951 34.9538C38.9143 35.0218 39.0488 35.0587 39.1861 35.0611C39.3233 35.0635 39.459 35.0313 39.5805 34.9675C39.702 34.9037 39.8054 34.8103 39.8813 34.696C39.9571 34.5817 40.0028 34.4502 40.0142 34.3136L40.5858 27.4611L43.8598 27.9267C44.8305 28.0711 45.7175 28.5573 46.3606 29.2975C47.0037 30.0376 47.3606 30.983 47.3667 31.9629V36.692Z","fill","black"],["d","M30.2192 35.8766H28.5859V37.5073H30.2192V35.8766Z","fill","black"],["d","M36.1658 18.3855L35.6924 16.8247C35.5286 16.874 35.3495 16.9619 35.1601 17.0736C33.2858 18.1792 31.3254 18.0195 29.5547 16.7548V16.7548V18.3855V18.3855C31.3254 19.6503 33.3756 19.9763 35.2331 18.8428C35.5671 18.639 35.8835 18.4705 36.1658 18.3855Z","fill","black"],["d","M10.6177 17.1229H8.98438V31.7997H10.6177V17.1229Z","fill","black"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none",1,"edit-button",3,"click"],["d","M12.9692 6.93691C12.7103 6.93691 12.5004 7.14679 12.5004 7.40568V14.2809C12.5004 14.7117 12.1499 15.0622 11.7191 15.0622H1.71881C1.28801 15.0622 0.937531 14.7117 0.937531 14.2809V4.28057C0.937531 3.84978 1.28801 3.4993 1.71881 3.4993H8.59403C8.85292 3.4993 9.0628 3.28942 9.0628 3.03053C9.0628 2.77165 8.85292 2.56177 8.59403 2.56177H1.71881C0.771057 2.56177 0 3.33282 0 4.28057V14.2809C0 15.2287 0.771057 15.9997 1.71881 15.9997H11.7191C12.6669 15.9997 13.4379 15.2287 13.4379 14.2809V7.40568C13.4379 7.14679 13.2281 6.93691 12.9692 6.93691Z","fill","#989898"],["d","M15.6829 1.20377L14.799 0.319839C14.3725 -0.106613 13.6787 -0.106613 13.2521 0.319839L6.18087 7.39113C6.11543 7.45657 6.07084 7.53992 6.05265 7.63067L5.61067 9.84047C5.57995 9.99416 5.62804 10.153 5.73889 10.2639C5.82767 10.3526 5.94727 10.4012 6.07034 10.4012C6.10093 10.4012 6.13168 10.3982 6.16225 10.3921L8.37204 9.9501C8.46279 9.93194 8.54614 9.88731 8.61158 9.82187L15.6829 2.75061C15.6829 2.75061 15.6829 2.75061 15.6829 2.75058C16.1094 2.32415 16.1094 
11.63026 15.6829 1.20377ZM8.04903 9.0586L6.66792 9.33486L6.94418 7.95375L12.6997 2.19815L13.8046 3.30306L8.04903 9.0586ZM15.02 2.08768L14.4675 2.64013L13.3626 1.53522L13.915 0.982798C13.976 0.921859 14.0751 0.921827 14.136 0.982767L15.0199 1.8667C15.0809 1.92761 15.0809 2.02677 15.02 2.08768Z","fill","#989898"],[1,"password","box"],["placeholder","Password","type","password","id","pwd","name","password","autocomplete","current-password",1,"box-input","password",3,"ngModelChange","ngModel"],["class","password-requirement",4,"ngIf"],[1,"password-requirement"],[1,"login-button","confirm","button","flex-center",3,"click"],[1,"login-button","sign-in","button","flex-center",3,"click"],[1,"sign-up","button","flex-center",3,"click"],[1,"reset-password","button","flex-center",3,"click"],[1,"forgot-password",3,"click"],[1,"backdrop",3,"click"],[1,"success-sign-up-container"],["xmlns","http://www.w3.org/2000/svg","width","15","height","15","viewBox","0 0 15 15","fill","none",1,"close-icon",3,"click"],["d","M5.31585 7.07443L0.22618 1.98476L2.06712 0.143814L7.15679 5.23348L12.3006 0.0896688L14.3581 2.14719L9.21432 7.29101L14.1686 12.2453L12.3277 14.0863L7.37337 9.13195L2.14834 14.357L0.0908169 12.2995L5.31585 7.07443Z","fill","#989898"],[1,"icon"],["xmlns","http://www.w3.org/2000/svg","width","49","height","49","viewBox","0 0 49 49","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M24.5 49C38.031 49 49 38.031 49 24.5C49 10.969 38.031 0 24.5 0C10.969 0 0 10.969 0 24.5C0 38.031 10.969 49 24.5 49ZM23.5121 31.0892L32.6589 22.0602C33.3717 21.3557 33.3717 20.2006 32.6589 19.4961C31.9461 18.7916 30.7742 18.7916 30.0614 19.4961L22.2133 27.2607L18.9386 24.0106C18.2258 23.3061 17.0539 23.3061 16.3411 24.0106C15.6282 24.7151 15.6282 25.8702 16.3411 26.5747L20.9145 31.0892C21.2807 31.4321 21.7381 31.6129 22.2133 31.6129C22.6885 31.6129 23.1458 31.4321 23.5121 31.0892Z","fill","#FF5E3A"]],template:function(Se,tt){1&Se&&(t.nrm(0,"app-browser-version-check")(1,"app-header-page",0),t.j41(2,"div",1)(3,"div",2),t.bIt("click",function(){return tt.goBackPhone()}),t.qSk(),t.j41(4,"svg",3),t.nrm(5,"path",4),t.k0s()(),t.joV(),t.j41(6,"div",5),t.nrm(7,"div",6),t.j41(8,"div",7)(9,"div",8),t.bIt("click",function(){return tt.goBack()}),t.qSk(),t.j41(10,"svg",9),t.nrm(11,"path",4),t.k0s(),t.j41(12,"svg",10),t.nrm(13,"path",11),t.k0s(),t.joV(),t.j41(14,"div",12),t.EFF(15),t.nI1(16,"translate"),t.k0s()(),t.j41(17,"div",13)(18,"div",14),t.EFF(19),t.nI1(20,"translate"),t.k0s(),t.j41(21,"div",15),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.j41(24,"div",16),t.EFF(25),t.nI1(26,"translate"),t.k0s()(),t.j41(27,"div",17)(28,"div",18),t.bIt("click",function(){return tt.role=tt.UserRoleEnum.Customer}),t.DNE(29,Pr,3,0,"div",19),t.j41(30,"div",20),t.qSk(),t.j41(31,"svg",21)(32,"g",22),t.nrm(33,"path",23)(34,"path",24)(35,"path",25)(36,"path",26),t.k0s(),t.j41(37,"defs")(38,"clipPath",27),t.nrm(39,"rect",28),t.k0s()()()(),t.joV(),t.j41(40,"div",29)(41,"div",30),t.EFF(42),t.nI1(43,"translate"),t.k0s(),t.j41(44,"div",31),t.EFF(45),t.nI1(46,"translate"),t.k0s()()(),t.j41(47,"div",32),t.bIt("click",function(){return tt.role=tt.UserRoleEnum.Shop}),t.DNE(48,wo,3,0,"div",19),t.j41(49,"div",20),t.DNE(50,Ei,5,0,"svg",33)(51,gs,5,0,"svg",34),t.k0s(),t.j41(52,"div",29)(53,"div",30),t.EFF(54),t.nI1(55,"translate"),t.k0s(),t.j41(56,"div",31),t.EFF(57),t.nI1(58,"translate"),t.k0s()()()(),t.j41(59,"div",35)(60,"div",36),t.bIt("click",function(){return tt.showLogin=!0}),t.j41(61,"div",29),t.EFF(62),t.nI1(63,"translate"),t.k0s(),t.qSk(),t.j41(64,"svg",37),t.nrm(65,"path",38),t.k0s(),t.j41(66,"svg",39),t.nrm(67,"path",40),t.k0s()()()()(),t.joV(),t.j41(68,"div",41),t.nrm(69,"img",42)(70,"img",43),t.k0s(),t.j41(71,"div",44),t.qSk(),t.j41(72,"svg",45),t.bIt("click",function(){return tt.showLogin=!1,tt.clearQueryParams()}),t.nrm(73,"path",46),t.k0s(),t.joV(),t.j41(74,"div",47)(75,"div",48),t.EFF(76),t.nI1(77,"translate"),t.k0s(),t.j41(78,"div",49),t.bIt("click",function(){return tt.googleLogIn()}),t.qSk(),t.j41(79,"svg",50),t.nrm(80,"path",51)(81,"path",52)(82,"path",53)(83,"path",54),t.k0s(),t.joV(),t.j41(84,"div",29),t.EFF(85),t.nI1(86,"translate"),t.k0s()(),t.j41(87,"div",55),t.bIt("click",function(){return tt.facebookLogIn()}),t.qSk(),t.j41(88,"svg",50),t.nrm(89,"path",56),t.k0s(),t.joV(),t.j41(90,"div",29),t.EFF(91),t.nI1(92,"translate"),t.k0s()(),t.j41(93,"div",57),t.bIt("click",function(){return tt.appleLogIn()}),t.qSk(),t.j41(94,"svg",58),t.nrm(95,"path",59)(96,"path",59),t.k0s(),t.joV(),t.j41(97,"div",29),t.EFF(98),t.nI1(99,"translate"),t.k0s()(),t.j41(100,"div",60),t.EFF(101),t.nI1(102,"translate"),t.k0s(),t.j41(103,"form")(104,"div",61)(105,"input",62),t.mxI("ngModelChange",function(vn){return t.DH7(tt.email,vn)||(tt.email=vn),vn}),t.k0s(),t.DNE(106,po,3,0,"svg",63),t.k0s(),t.DNE(107,Ho,3,2,"div",64),t.k0s(),t.DNE(108,go,3,3,"div",65)(109,Po,3,3,"div",66)(110,cs,3,3,"div",67)(111,ai,3,3,"div",68)(112,$r,3,3,"div",69)(113,kr,3,3,"div",69),t.k0s()()(),t.DNE(114,vo,1,0,"div",70)(115,fr,9,3,"div",71),t.nrm(116,"app-footer-page")),2&Se&&(t.R7$(),t.Y8G("hideButtons",!0),t.R7$(5),t.Y8G("ngClass",tt.showLogin?"hide-section":"show-section"),t.R7$(9),t.JRh(t.bMT(16,36,"i18n.app.pages.selection.back")),t.R7$(4),t.JRh(t.bMT(20,38,"i18n.app.pages.selection.status.header")),t.R7$(3),t.JRh(t.bMT(23,40,"i18n.app.pages.selection.status.description")),t.R7$(3),t.JRh(t.bMT(26,42,"i18n.app.login.label.phone")),t.R7$(3),t.Y8G("ngClass",t.l_i(64,Er,tt.role===tt.UserRoleEnum.Shop,tt.role===tt.UserRoleEnum.Customer)),t.R7$(),t.Y8G("ngIf",tt.role===tt.UserRoleEnum.Customer),t.R7$(13),t.JRh(t.bMT(43,44,"i18n.app.pages.selection.status.customer")),t.R7$(3),t.JRh(t.bMT(46,46,"i18n.app.pages.selection.status.customer.description")),t.R7$(2),t.Y8G("ngClass",t.l_i(67,Er,tt.role===tt.UserRoleEnum.Customer,tt.role===tt.UserRoleEnum.Shop)),t.R7$(),t.Y8G("ngIf",tt.role===tt.UserRoleEnum.Shop),t.R7$(2),t.Y8G("ngIf",tt.role!==tt.UserRoleEnum.Shop),t.R7$(),t.Y8G("ngIf",tt.role===tt.UserRoleEnum.Shop),t.R7$(3),t.JRh(t.bMT(55,48,"i18n.app.pages.selection.status.shop")),t.R7$(3),t.JRh(t.bMT(58,50,"i18n.app.pages.selection.status.shop.description")),t.R7$(5),t.JRh(t.bMT(63,52,"i18n.app.pages.selection.status.button")),t.R7$(6),t.Y8G("ngClass",tt.showLogin?"show-login":"hide-login"),t.R7$(3),t.Y8G("ngClass",tt.showLogin?"show":"hide"),t.R7$(5),t.JRh(t.bMT(77,54,"i18n.app.login.label")),t.R7$(9),t.JRh(t.bMT(86,56,"i18n.app.login.label.google")),t.R7$(6),t.JRh(t.bMT(92,58,"i18n.app.login.label.facebook")),t.R7$(7),t.JRh(t.bMT(99,60,"i18n.app.login.label.apple")),t.R7$(3),t.JRh(t.bMT(102,62,"i18n.app.login.label.or")),t.R7$(4),t.R50("ngModel",tt.email),t.Y8G("disabled",tt.signUpButton||tt.signInButton),t.R7$(),t.Y8G("ngIf",tt.editButton),t.R7$(),t.Y8G("ngIf",tt.passwordInput),t.R7$(),t.Y8G("ngIf",tt.confirmButton),t.R7$(),t.Y8G("ngIf",tt.signInButton),t.R7$(),t.Y8G("ngIf",tt.signUpButton),t.R7$(),t.Y8G("ngIf",tt.passwordLessButton),t.R7$(),t.Y8G("ngIf",tt.passwordLessLabel),t.R7$(),t.Y8G("ngIf",tt.signInLabel),t.R7$(),t.Y8G("ngIf",tt.successSignUp),t.R7$(),t.Y8G("ngIf",tt.successSignUp))},styles:['.login-container[_ngcontent-%COMP%]{display:flex;min-height:calc(100svh - 108px);position:relative;justify-content:space-between}.login-container[_ngcontent-%COMP%]   .back-button-phone[_ngcontent-%COMP%]{display:none;position:absolute;top:38px;left:29px;z-index:3}.login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%]{width:55%;display:flex;overflow:hidden;z-index:3;top:0;right:0;height:100%;background:#fff;position:absolute}.login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%]   .image-main[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:right}.login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%]   .image-login[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:50% 35%}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]{z-index:2;border-radius:10px 10px 0 0;background:#fff;box-shadow:2.586px 2.586px 14.566px 1.724px #a1a1a140;color:var(--color-black);overflow:hidden}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .phone-background[_ngcontent-%COMP%]{display:none;height:220px;position:relative}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .phone-background[_ngcontent-%COMP%]:before{content:"";position:absolute;display:flex;inset:0;background:linear-gradient(180deg,#fff0,#fff 92.98%),url(login-background-image-phone.16b6d98fa9d50534.jpeg);background-repeat:no-repeat;background-position:center;background-size:cover}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .background-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{height:100%;width:100%}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]{width:100%;padding-right:30px;padding-left:30px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .back-button-container[_ngcontent-%COMP%]{margin-left:90px;margin-top:50px;display:flex;align-items:center;column-gap:15px;font-size:20px;font-weight:700;line-height:25px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .back-button-container[_ngcontent-%COMP%]   .back-button-phone[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]{margin-top:50px;width:100%;flex-direction:column;row-gap:20px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:32px;font-weight:500}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{text-align:center;font-size:18px;font-weight:400}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]   .phone-header[_ngcontent-%COMP%]{display:none;font-size:16px;font-weight:700}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]{margin-top:50px;width:100%;display:flex;flex-direction:column;row-gap:15px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;position:relative;width:399px;
1height:104px;flex-shrink:0;border-radius:10px;background:var(--color-white);box-shadow:3px 3px 16.9px 2px #bebebe40;padding-left:48px;padding-right:48px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .checked[_ngcontent-%COMP%]{position:absolute;right:17px;top:17px;border-radius:50%;display:flex;width:15px;height:15px;background:var(--color-theme)}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .checked[_ngcontent-%COMP%]   .checked-image[_ngcontent-%COMP%]{z-index:2}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{margin-right:32px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:100%;height:100%}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{width:168px;font-style:normal;font-size:14px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:16px;font-weight:700}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin-top:5px;font-weight:400}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{margin-top:45px;width:226px;height:56px;border-radius:39px;background:var(--color-theme);column-gap:25px;font-size:20px;font-weight:700;line-height:25px;color:var(--color-white)}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .icon-phone[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]{border-radius:10px 10px 0 0;background:#fff;width:45%;box-shadow:2.586px 2.586px 14.566px 1.724px #a1a1a140;flex-direction:column}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-left:116px;margin-top:50px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]{margin-top:50px;width:100%;display:flex;align-items:center;flex-direction:column;padding-bottom:30px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:32px;font-weight:500;letter-spacing:-.64px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .method[_ngcontent-%COMP%]{width:346px;height:56px;border-radius:10px;display:flex;padding-left:22px;column-gap:41px;margin-top:15px;font-size:20px;align-items:center;cursor:pointer}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .google[_ngcontent-%COMP%]{margin-top:50px;border:1px solid #000;color:var(--color-dark-ocean)}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .facebook[_ngcontent-%COMP%]{background:#1877f2;color:#fff}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .apple[_ngcontent-%COMP%]{color:#fff;border:1px solid var(--Pure-white, #FFF);background:#000}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .or[_ngcontent-%COMP%]{margin-top:15px;font-size:16px;font-weight:500}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .box-input[_ngcontent-%COMP%]{width:346px;height:58px;border-radius:10px;border:1px solid #000;margin-top:15px;font-size:20px;padding-left:19px;-webkit-box-shadow:0 0 0 1000px white inset;color:#000}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .box-input[_ngcontent-%COMP%]::placeholder{color:#000}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .password[_ngcontent-%COMP%]{letter-spacing:3px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .password[_ngcontent-%COMP%]::placeholder{letter-spacing:1px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .password-requirement[_ngcontent-%COMP%]{margin-top:5px;color:#989898;padding-left:1rem;margin-bottom:-20px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{position:relative}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]   .edit-button[_ngcontent-%COMP%]{background:#fff;z-index:2;top:35px;right:16px;cursor:pointer;position:absolute}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{cursor:pointer;width:-moz-fit-content;width:fit-content;padding:0 40px;height:56px;flex-shrink:0;border-radius:39px;background:var(--color-theme);color:#fff;font-size:20px;font-weight:700;margin-top:50px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .login-button[_ngcontent-%COMP%]{padding:0 60px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .forgot-password[_ngcontent-%COMP%]{color:#999;font-weight:500;line-height:25px;cursor:pointer;margin-top:11px}.login-container[_ngcontent-%COMP%]   .hide-login[_ngcontent-%COMP%]{transform:translate(0);transition:.5s transform ease-in-out}.login-container[_ngcontent-%COMP%]   .hide-login[_ngcontent-%COMP%]   .image-main[_ngcontent-%COMP%]{-webkit-animation-name:_ngcontent-%COMP%_fadeIn;-webkit-animation-duration:.5s;animation-name:_ngcontent-%COMP%_fadeIn;animation-duration:.5s}.login-container[_ngcontent-%COMP%]   .hide-login[_ngcontent-%COMP%]   .image-login[_ngcontent-%COMP%]{-webkit-animation-name:_ngcontent-%COMP%_fadeOut;-webkit-animation-duration:.5s;animation-name:_ngcontent-%COMP%_fadeOut;animation-duration:.5s;display:none}.login-container[_ngcontent-%COMP%]   .show-login[_ngcontent-%COMP%]{transform:translate(-82%);transition:.5s transform ease-in-out}.login-container[_ngcontent-%COMP%]   .show-login[_ngcontent-%COMP%]   .image-main[_ngcontent-%COMP%]{-webkit-animation-name:_ngcontent-%COMP%_fadeOut;-webkit-animation-duration:.5s;animation-name:_ngcontent-%COMP%_fadeOut;animation-duration:.5s;display:none}.login-container[_ngcontent-%COMP%]   .show-login[_ngcontent-%COMP%]   .image-login[_ngcontent-%COMP%]{-webkit-animation-name:_ngcontent-%COMP%_fadeIn;-webkit-animation-duration:.5s;animation-name:_ngcontent-%COMP%_fadeIn;animation-duration:.5s}.login-container[_ngcontent-%COMP%]   .show-section[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .hide-section[_ngcontent-%COMP%]{width:45%}.backdrop[_ngcontent-%COMP%]{opacity:.6;background:#4c4c4c;position:absolute;inset:0;z-index:20}.success-sign-up-container[_ngcontent-%COMP%]{z-index:21;position:fixed;inset:0;margin:auto;width:389px;height:273px;flex-shrink:0;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #a1a1a140;display:flex;align-items:center;justify-content:center;flex-direction:column;row-gap:35px;padding:0 51px}.success-sign-up-container[_ngcontent-%COMP%]   .close-icon[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px}.success-sign-up-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-align:center}.success-sign-up-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{color:#fff;font-size:16px;font-weight:500;display:flex;width:144px;height:40px;justify-content:center;align-items:center;border-radius:24px;background:#ff5e3a}@media (max-width: 1100px){.login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%]   .image-login[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]{width:100%}.login-container[_ngcontent-%COMP%]   .show-section[_ngcontent-%COMP%]{display:flex}.login-container[_ngcontent-%COMP%]   .hide-section[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .show-login[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .hide-login[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .hide[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%]{display:flex}}@media (max-width: 650px){.login-container[_ngcontent-%COMP%]{height:640px}.login-container[_ngcontent-%COMP%]   .back-button-phone[_ngcontent-%COMP%]{display:flex}.login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .image-container-side[_ngcontent-%COMP%]   .image-login[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .show-login[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]{width:100%;flex-direction:column}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .phone-background[_ngcontent-%COMP%]{display:flex}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]{margin-top:25px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .header-container[_ngcontent-%COMP%]   .phone-header[_ngcontent-%COMP%]{display:flex}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .back-button-container[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]{margin-top:24px;row-gap:12px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]{width:288px;height:76px;padding-left:21px;padding-right:21px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .checked[_ngcontent-%COMP%]{right:13px;top:13px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{height:35px;width:35px;margin-right:24px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:14px;font-weight:600}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .login-type[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin-top:2px}.login-container[_ngcontent-%COMP%]   .selection-container[_ngcontent-%COMP%]   .selection[_ngcontent-%COMP%]   .button-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{margin-top:34px;font-size:14px;width:207px;height:43px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]{width:100%}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .back[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]{margin-top:70px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .method[_ngcontent-%COMP%]{width:288px;height:48px;padding-left:17px;font-size:14px;column-gap:17px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .or[_ngcontent-%COMP%]{margin-top:20px;font-weight:400;font-size:14px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]   .box-input[_ngcontent-%COMP%]{width:288px;height:48px;font-size:14px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{position:relative}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]   .edit-button[_ngcontent-%COMP%]{top:31p
1x}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{height:43px;font-size:14px}.login-container[_ngcontent-%COMP%]   .login-side[_ngcontent-%COMP%]   .login-methods[_ngcontent-%COMP%]   .login-button[_ngcontent-%COMP%]{padding:0 40px}.login-container[_ngcontent-%COMP%]   .show-section[_ngcontent-%COMP%]{display:flex;border-radius:0}.login-container[_ngcontent-%COMP%]   .hide-section[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .show-login[_ngcontent-%COMP%], .login-container[_ngcontent-%COMP%]   .hide-login[_ngcontent-%COMP%]{display:none}.login-container[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:25px;height:25px}.success-sign-up-container[_ngcontent-%COMP%]{width:227px;height:273px;padding:0 21px}.success-sign-up-container[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:41px;height:41px}.success-sign-up-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:13px}.success-sign-up-container[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:128px;height:36px;font-size:14px}}@media (max-width: 820px){.login-container[_ngcontent-%COMP%]{min-height:calc(100svh - 58px)}}@keyframes _ngcontent-%COMP%_fadeOut{0%{opacity:.8}20%{opacity:.5}40%{opacity:.3}80%{opacity:0}to{opacity:0}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}20%{opacity:0}40%{opacity:.3}60%{opacity:.5}80%{opacity:.9}to{opacity:1}}.hide[_ngcontent-%COMP%]{display:none}.selected[_ngcontent-%COMP%]{border:1px solid var(--color-theme)}.un-selected[_ngcontent-%COMP%]{opacity:50%;border:0 solid var(--color-theme)}.un-selected[_ngcontent-%COMP%]   .checked[_ngcontent-%COMP%]{display:none}.shop-selected[_ngcontent-%COMP%]{filter:invert(0%) sepia(6%) saturate(18%) hue-rotate(180deg) brightness(97%) contrast(100%)}.overlay[_ngcontent-%COMP%]{position:var(--position-absolute);inset:0;width:var(--width-100);height:var(--height-100);opacity:.9;transition:.5s ease;background:var(--color-light-grey)}']})}return oe})();function ut(oe,qe){1&oe&&(t.qex(0),t.nrm(1,"app-shop-sign-in"),t.bVm())}function $e(oe,qe){1&oe&&(t.qex(0),t.nrm(1,"app-customer-sign-in"),t.bVm())}let St=(()=>{class oe{constructor(E,Se){this.activatedRoute=E,this.router=Se,this.auth0Customer=!1,this.auth0Shop=!1}goToLoginPage(){switch(this.activatedRoute.snapshot.queryParamMap.get("type")){case"customer":this.auth0Customer=!0,this.auth0Shop=!1;break;case"shop":this.auth0Customer=!1,this.auth0Shop=!0;break;default:this.router.navigate(["/login"])}}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.rXU(x.nX),t.rXU(x.Ix))};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-success-sign-up"]],decls:23,vars:9,consts:[[3,"hideButtons"],["rel","stylesheet","href",t.wXG`https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css`],[1,"container","flex-center","cera-400-white"],[1,"success-container","flex-center","p"],[1,"cover","flex-center"],[1,"icon"],[1,"circle","flex-center"],[1,"fas","fa-solid","fa-check","check"],[1,"label"],[1,"label-text"],[1,"cover-bottom"],[1,"success-text-container"],[1,"success-text"],[1,"login-button-container","flex-center","cursor_pointer"],[1,"login-button","flex-center",3,"click"],[4,"ngIf"]],template:function(Se,tt){1&Se&&(t.nrm(0,"app-browser-version-check")(1,"app-header-page",0)(2,"link",1),t.j41(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6),t.nrm(8,"i",7),t.k0s()(),t.j41(9,"div",8)(10,"p",9),t.EFF(11),t.nI1(12,"translate"),t.k0s()()(),t.j41(13,"div",10)(14,"div",11)(15,"p",12),t.EFF(16),t.nI1(17,"translate"),t.k0s()(),t.j41(18,"div",13)(19,"div",14),t.bIt("click",function(){return tt.goToLoginPage()}),t.EFF(20,"Login"),t.k0s()()()()(),t.DNE(21,ut,2,0,"ng-container",15)(22,$e,2,0,"ng-container",15)),2&Se&&(t.R7$(),t.Y8G("hideButtons",!0),t.R7$(10),t.SpI(" ",t.bMT(12,5,"i18n.app.pages.success-sign-up.label.text")," "),t.R7$(5),t.SpI(" ",t.bMT(17,7,"i18n.app.pages.success-sign-up.message.text")," "),t.R7$(5),t.Y8G("ngIf",tt.auth0Shop),t.R7$(),t.Y8G("ngIf",tt.auth0Customer))},styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%;background:var(--color-broken-white);margin:unset;max-width:100%}.container[_ngcontent-%COMP%]   .success-container[_ngcontent-%COMP%]{flex-direction:column;max-width:350px;justify-content:unset;height:450px;border-radius:10px;background:var(--color-white)}.container[_ngcontent-%COMP%]   .success-container[_ngcontent-%COMP%]   .cover[_ngcontent-%COMP%]{height:50%;width:100%;background:var(--color-theme);border-top-left-radius:10px;border-top-right-radius:10px;flex-direction:column;row-gap:20px;font-size:36px}.container[_ngcontent-%COMP%]   .success-container[_ngcontent-%COMP%]   .cover[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   .circle[_ng
1content-%COMP%]{height:50px;width:50px;border:#FFFFFF 2px solid;border-radius:50%}.container[_ngcontent-%COMP%]   .success-container[_ngcontent-%COMP%]   .cover-bottom[_ngcontent-%COMP%]{height:50%}.container[_ngcontent-%COMP%]   .success-container[_ngcontent-%COMP%]   .cover-bottom[_ngcontent-%COMP%]   .success-text-container[_ngcontent-%COMP%]{font-size:18px;color:var(--color-dark-ocean);padding:20px 15px 30px;text-align:center}.container[_ngcontent-%COMP%]   .success-container[_ngcontent-%COMP%]   .cover-bottom[_ngcontent-%COMP%]   .login-button-container[_ngcontent-%COMP%]   .login-button[_ngcontent-%COMP%]{background:var(--color-theme);height:40px;border-radius:10px;width:100px;font-size:20px;font-weight:500}"]})}return oe})();var nn=a(6876);const yi=()=>[];function ki(oe,qe){if(1&oe&&(t.j41(0,"div",6)(1,"p",7),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p",8),t.EFF(5),t.nI1(6,"translate"),t.k0s()()),2&oe){const E=qe.index;t.R7$(2),t.JRh(t.bMT(3,2,"i18n.app.pages.terms."+E+".title")),t.R7$(3),t.JRh(t.bMT(6,4,"i18n.app.pages.terms."+E+".text"))}}let Or=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275cmp=t.VBU({type:oe,selectors:[["app-terms"]],decls:14,vars:12,consts:[[3,"hideButtons"],[1,"terms-container"],[1,"title"],[1,"overview-title"],[1,"overview-text"],["class","term",4,"ngFor","ngForOf"],[1,"term"],[1,"term-title"],[1,"term-text"]],template:function(Se,tt){1&Se&&(t.nrm(0,"app-browser-version-check")(1,"app-header-page",0),t.j41(2,"div",1)(3,"p",2),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"p",3),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.j41(9,"p",4),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.DNE(12,ki,7,6,"div",5),t.k0s(),t.nrm(13,"app-footer-page")),2&Se&&(t.R7$(),t.Y8G("hideButtons",!1),t.R7$(3),t.JRh(t.bMT(5,5,"i18n.app.pages.terms.title")),t.R7$(3),t.JRh(t.bMT(8,7,"i18n.app.pages.terms.overview.title")),t.R7$(3),t.JRh(t.bMT(11,9,"i18n.app.pages.terms.overview.text")),t.R7$(2),t.Y8G("ngForOf",t.lJ4(11,yi).constructor(20)))},styles:[".terms-container[_ngcontent-%COMP%]{background:#f6f4f3;border-radius:10px;margin:10px 60px;padding:30px 60px}.terms-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{white-space:pre-wrap}.terms-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:24px;font-weight:700}.terms-container[_ngcontent-%COMP%]   .overview-title[_ngcontent-%COMP%]{margin-top:20px;font-size:18px;font-weight:700}.terms-container[_ngcontent-%COMP%]   .overview-text[_ngcontent-%COMP%]{margin-top:5px}.terms-container[_ngcontent-%COMP%]   .term[_ngcontent-%COMP%]{margin-top:20px}.terms-container[_ngcontent-%COMP%]   .term[_ngcontent-%COMP%]   .term-title[_ngcontent-%COMP%]{font-size:18px;font-weight:700}.terms-container[_ngcontent-%COMP%]   .term[_ngcontent-%COMP%]   .term-text[_ngcontent-%COMP%]{margin-top:5px}@media (max-width: 900px){.terms-container[_ngcontent-%COMP%]{margin:10px 30px;padding:20px 30px}}@media (max-width: 580px){.terms-container[_ngcontent-%COMP%]{margin:0 0 20px;padding:10px 25px}.title[_ngcontent-%COMP%]{font-size:20px;font-weight:700}.overview-title[_ngcontent-%COMP%]{margin-top:20px;font-size:16px;font-weight:700}.term[_ngcontent-%COMP%]   .term-title[_ngcontent-%COMP%]{font-size:16px}.term[_ngcontent-%COMP%]   .term-text[_ngcontent-%COMP%]{font-size:12px}}"]})}return oe})();var Ir=a(8695),dr=a(7865);const Fo=[{path:"login",component:Xe},{path:"terms",component:Or},{path:"impressum",component:Ir.X},{path:"policy",component:dr.u},{path:"customer-login",component:Qr},{path:"success-signup",component:St},{path:"shop-login",component:_i},{path:"shop",canActivate:[qr.r],loadChildren:()=>Promise.all([a.e(76),a.e(499)]).then(a.bind(a,7499)).then(oe=>oe.ShopRoutingModule)},{path:"customer",canActivate:[qr.r],loadChildren:()=>Promise.all([a.e(76),a.e(511)]).then(a.bind(a,8511)).then(oe=>oe.CustomerRoutingModule)},{path:"admin",canActivate:[nn.t],loadChildren:()=>Promise.all([a.e(76),a.e(457)]).then(a.bind(a,5457)).then(oe=>oe.AdminRoutingModule)},{path:"",component:lo}];let pr=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275mod=t.$C({type:oe});static#n=this.\u0275inj=t.G2t({providers:[qr.r,nn.t],imports:[x.iI.forRoot(Fo,{useHash:!1}),x.iI]})}return oe})();var fo=a(1626),ir=a(7673),B=a(4402),se=a(8810),je=a(3669),Gt=a(9568),fn=a(9437),Gn=a(274),li={},wi={};function Xi(oe){for(var qe=[],E=0,Se=0,tt=0;tt<oe.length;tt+=1){var Et=li[oe[tt]];if(void 0===Et)throw new Error("Invalid character ("+oe[tt]+")");var vn=32&Et;if(Se+=(Et&=31)<<E,vn)E+=5;else{var ri=1&Se;Se>>>=1,qe.push(ri?0===Se?-2147483648:-Se:Se),Se=E=0}}return qe}
1"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(oe,qe){li[oe]=qe,wi[qe]=oe});const Lr="TOKEN_LOGGER_CONFIG";class Ki{constructor(qe){this.config=this._clone(qe)}get level(){return this.config.level}get serverLogLevel(){return this.config.serverLogLevel}updateConfig(qe){this.config=this._clone(qe)}partialUpdateConfig(qe){qe&&Object.keys(qe).forEach(E=>{this.config[E]=qe[E]})}getConfig(){return this._clone(this.config)}_clone(qe){const E={level:null};return Object.keys(qe).forEach(Se=>{E[Se]=qe[Se]}),E}}const Zi="TOKEN_LOGGER_CONFIG_ENGINE_FACTORY";class Br{provideConfigEngine(qe){return new Ki(qe)}}const yo="TOKEN_LOGGER_MAPPER_SERVICE";let Vr=(()=>{class oe{constructor(E){this.httpBackend=E,this.sourceMapCache=new Map,this.logPositionCache=new Map}getLogPosition(E,Se){const tt=this.getStackLine(E);if(!tt)return(0,ir.of)({fileName:"",lineNumber:0,columnNumber:0});const Et=this.getLocalPosition(tt);if(!E.enableSourceMaps)return(0,ir.of)(Et);const vn=this.getSourceMapLocation(tt);return this.getSourceMap(vn,Et)}getStackLine(E){const Se=new Error;try{throw Se}catch{try{let Et=4;return Se.stack.split("\n")[0].includes(".js:")||(Et+=1),Se.stack.split("\n")[Et+(E.proxiedSteps||0)]}catch{return null}}}getLocalPosition(E){const Se=E.lastIndexOf("/");let tt=E.indexOf(")");tt<0&&(tt=void 0);const vn=E.substring(Se+1,tt).split(":");return 3===vn.length?{fileName:vn[0],lineNumber:+vn[1],columnNumber:+vn[2]}:{fileName:"unknown",lineNumber:0,columnNumber:0}}getTranspileLocation(E){let Se=E.indexOf("(");Se<0&&(Se=E.lastIndexOf("@"),Se<0&&(Se=E.lastIndexOf(" ")));let tt=E.indexOf(")");return tt<0&&(tt=void 0),E.substring(Se+1,tt)}getSourceMapLocation(E){const Se=this.getTranspileLocation(E),tt=Se.substring(0,Se.lastIndexOf(":"));return tt.substring(0,tt.lastIndexOf(":"))+".map"}getMapping(E,Se){let tt=0,Et=0,vn=0;const ri=E.mappings.split(";");for(let pi=0;pi<ri.length;pi++){let hi=0;const zr=ri[pi].split(",");for(let co=0;co<zr.length;co++){const to=Xi(zr[co]);if(to.length>=4&&(hi+=to[0],tt+=to[1],Et+=to[2],vn+=to[3]),pi===Se.lineNumber){if(hi===Se.columnNumber)return{fileName:E.sources[tt],lineNumber:Et,columnNumber:vn};if(co+1===zr.length)return{fileName:E.sources[tt],lineNumber:Et,columnNumber:0}}}}return{fileName:"unknown",lineNumber:0,columnNumber:0}}getSourceMap(E,Se){const tt=new fo.Kd("GET",E),Et=`${Se.fileName}:${Se.lineNumber}:${Se.columnNumber}`;if(this.logPositionCache.has(Et))return this.logPositionCache.get(Et);this.sourceMapCache.has(E)||(this.httpBackend?this.sourceMapCache.set(E,this.httpBackend.handle(tt).pipe((0,P.p)(ri=>ri instanceof fo.cS),(0,g.T)(ri=>ri.body),function xt(oe=1/0){let qe;qe=oe&&"object"==typeof oe?oe:{count:oe};const{count:E=1/0,delay:Se,resetOnSuccess:tt=!1}=qe;return E<=0?je.D:(0,K.N)((Et,vn)=>{let pi,ri=0;const hi=()=>{let zr=!1;pi=Et.subscribe((0,z._)(vn,co=>{tt&&(ri=0),vn.next(co)},void 0,co=>{if(ri++<E){const to=()=>{pi?(pi.unsubscribe(),pi=null,hi()):zr=!0};if(null!=Se){const Xs="number"==typeof Se?(0,j.O)(Se):(0,R.Tg)(Se(co,ri)),hs=(0,z._)(vn,()=>{hs.unsubscribe(),to()},()=>{vn.complete()});Xs.subscribe(hs)}else to()}else vn.error(co)})),zr&&(pi.unsubscribe(),pi=null,hi())};hi()})}(3),(0,Gt.t)(1))):(console.error("NGXLogger : Can't get sourcemap because HttpBackend is not provided. You need to import HttpClientModule"),this.sourceMapCache.set(E,(0,ir.of)(null))));const vn=this.sourceMapCache.get(E).pipe((0,g.T)(ri=>ri?this.getMapping(ri,Se):Se),(0,fn.W)(()=>(0,ir.of)(Se)),(0,Gt.t)(1));return this.logPositionCache.set(Et,vn),vn}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(fo.JV,8))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac}),oe})();const Yo="TOKEN_LOGGER_METADATA_SERVICE";let Cs=(()=>{class oe{constructor(E){this.datePipe=E}computeTimestamp(E){const Se=()=>(new Date).toISOString();return E.timestampFormat?this.datePipe?this.datePipe.transform(new Date,E.timestampFormat):(console.error("NGXLogger : Can't use timeStampFormat because DatePipe is not provided. You need to provide DatePipe"),Se()):Se()}getMetadata(E,Se,tt,Et){const vn={level:E,additional:Et};return vn.message=tt&&"function"==typeof tt?tt():tt,vn.timestamp=this.computeTimestamp(Se),vn}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(_.vh,8))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac}),oe})();const fs="TOKEN_LOGGER_RULES_SERVICE";let na=(()=>{class oe{shouldCallWriter(E,Se,tt,Et){return!Se.disableConsoleLogging&&E>=Se.level}shouldCallServer(E,Se,tt,Et){return!!Se.serverLoggingUrl&&E>=Se.serverLogLevel}shouldCallMonitor(E,Se,tt,Et){return this.shouldCallWriter(E,Se,tt,Et)||this.shouldCallServer(E,Se,tt,Et)}}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac}),oe})();const Do="TOKEN_LOGGER_SERVER_SERVICE";let Ns=(()=>{class oe{constructor(E,Se){this.httpBackend=E,this.ngZone=Se,this.serverCallsQueue=[],this.flushingQueue=new N.t(!1)}ngOnDestroy(){this.flushingQueue&&(this.flushingQueue.complete(),this.flushingQueue=null),this.addToQueueTimer&&(this.addToQueueTimer.unsubscribe(),this.addToQueueTimer=null)}secureErrorObject(E){return E?.stack}secureAdditionalParameters(E){return null==E?null:E.map((Se,tt)=>{try{return Se instanceof Error?this.secureErrorObject(Se):("object"==typeof Se&&JSON.stringify(Se),Se)}catch{return`The additional[${tt}] value could not be parsed using JSON.stringify().`}})}secureMessage(E){try{if(E instanceof Error)return this.secureErrorObject(E);"string"!=typeof E&&(E=JSON.stringify(E,null,2))}catch{E='The provided "message" value could not be parsed with JSON.stringify().'}return E}alterHttpRequest(E){return E}logOnServer(E,Se,tt){if(!this.httpBackend)return console.error("NGXLogger : Can't log on server because HttpBackend is not provided. You need to import HttpClientModule"),(0,ir.of)(null);let Et=new fo.Kd("POST",E,Se,tt||{}),vn=(0,ir.of)(Et);const ri=this.alterHttpRequest(Et);return(0,B.A)(ri)?vn=ri:ri?vn=(0,ir.of)(ri):console.warn("NGXLogger : alterHttpRequest returned an invali
1d request. Using default one instead"),vn.pipe((0,Gn.H)(pi=>pi?this.httpBackend.handle(pi):(console.warn("NGXLogger : alterHttpRequest returned an invalid request (observable). Using default one instead"),this.httpBackend.handle(Et))),(0,P.p)(pi=>pi instanceof fo.cS),(0,g.T)(pi=>pi.body))}customiseRequestBody(E){return E}flushQueue(E){this.flushingQueue.next(!0),this.addToQueueTimer&&(this.addToQueueTimer.unsubscribe(),this.addToQueueTimer=null),this.serverCallsQueue&&this.serverCallsQueue.length>0&&this.sendToServerAction(this.serverCallsQueue,E),this.serverCallsQueue=[],this.flushingQueue.next(!1)}sendToServerAction(E,Se){let tt;const Et=pi=>{const hi={...pi};return hi.additional=this.secureAdditionalParameters(hi.additional),hi.message=this.secureMessage(hi.message),hi};Array.isArray(E)?(tt=[],E.forEach(pi=>{tt.push(Et(pi))})):tt=Et(E),tt=this.customiseRequestBody(tt);const vn=Se.customHttpHeaders||new fo.Lr;vn.has("Content-Type")||vn.set("Content-Type","application/json");const ri=()=>{this.logOnServer(Se.serverLoggingUrl,tt,{headers:vn,params:Se.customHttpParams||new fo.Nl,responseType:Se.httpResponseType||"json",withCredentials:Se.withCredentials||!1}).pipe((0,fn.W)(pi=>(console.error("NGXLogger: Failed to log on server",pi),(0,se.$)(pi)))).subscribe()};if(!0===Se.serverCallsOutsideNgZone){if(!this.ngZone)return void console.error("NGXLogger: NgZone is not provided and serverCallsOutsideNgZone is set to true");this.ngZone.runOutsideAngular(ri)}else ri()}sendToServer(E,Se){if((!Se.serverCallsBatchSize||Se.serverCallsBatchSize<=0)&&(!Se.serverCallsTimer||Se.serverCallsTimer<=0))return void this.sendToServerAction(E,Se);const tt=()=>{this.serverCallsQueue.push({...E}),Se.serverCallsBatchSize&&this.serverCallsQueue.length>Se.serverCallsBatchSize&&this.flushQueue(Se),Se.serverCallsTimer>0&&!this.addToQueueTimer&&(this.addToQueueTimer=(0,j.O)(Se.serverCallsTimer).subscribe(Et=>{this.flushQueue(Se)}))};!0===this.flushingQueue.value?this.flushingQueue.pipe((0,P.p)(Et=>!1===Et),(0,A.s)(1)).subscribe(Et=>{tt()}):tt()}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(fo.JV,8),t.KVO(t.SKi,8))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac}),oe})();const Qo="TOKEN_LOGGER_WRITER_SERVICE";var Ui=function(oe){return oe[oe.TRACE=0]="TRACE",oe[oe.DEBUG=1]="DEBUG",oe[oe.INFO=2]="INFO",oe[oe.LOG=3]="LOG",oe[oe.WARN=4]="WARN",oe[oe.ERROR=5]="ERROR",oe[oe.FATAL=6]="FATAL",oe[oe.OFF=7]="OFF",oe}(Ui||{});const Vs=["purple","teal","gray","gray","red","red","red"];let zs=(()=>{class oe{constructor(E){this.platformId=E,this.prepareMetaStringFuncs=[this.getTimestampToWrite,this.getLevelToWrite,this.getFileDetailsToWrite,this.getContextToWrite],this.isIE=(0,_.UE)(E)&&navigator&&navigator.userAgent&&!(-1===navigator.userAgent.indexOf("MSIE")&&!navigator.userAgent.match(/Trident\//)&&!navigator.userAgent.match(/Edge\//)),this.logFunc=this.isIE?this.logIE.bind(this):this.logModern.bind(this)}getTimestampToWrite(E,Se){return E.timestamp}getLevelToWrite(E,Se){return Ui[E.level]}getFileDetailsToWrite(E,Se){return!0===Se.disableFileDetails?"":`[${E.fileName}:${E.lineNumber}:${E.columnNumber}]`}getContextToWrite(E,Se){return Se.context?`{${Se.context}}`:""}prepareMetaString(E,Se){let tt="";return this.prepareMetaStringFuncs.forEach(Et=>{const vn=Et(E,Se);vn&&(tt=tt+" "+vn)}),tt.trim()}getColor(E,Se){if(E.level!==Ui.OFF)return(Se.colorScheme??Vs)[E.level]}logIE(E,Se,tt){const Et=E.additional||[];switch(E.level){case Ui.WARN:console.warn(`${tt} `,E.message,...Et);break;case Ui.ERROR:case Ui.FATAL:console.error(`${tt} `,E.message,...Et);break;case Ui.INFO:console.info(`${tt} `,E.message,...Et);break;default:console.log(`${tt} `,E.message,...Et)}}logModern(E,Se,tt){const Et=this.getColor(E,Se),vn=E.additional||[];switch(E.level){case Ui.WARN:console.warn(`%c${tt}`,`color:${Et}`,E.message,...vn);break;case Ui.ERROR:case Ui.FATAL:console.error(`%c${tt}`,`color:${Et}`,E.message,...vn);break;case Ui.INFO:console.info(`%c${tt}`,`color:${Et}`,E.message,...vn);break;case Ui.DEBUG:console.debug(`%c${tt}`,`color:${Et}`,E.message,...vn);break;default:console.log(`%c${tt}`,`color:${Et}`,E.message,...vn)}}writeMessage(E,Se){const tt=this.prepareMetaString(E,Se);this.logFunc(E,Se,tt)}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(t.Agw))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac}),oe})(),rs=(()=>{class oe{constructor(E,Se,tt,Et,vn,ri,pi){this.metadataService=tt,this.ruleService=Et,this.mapperService=vn,this.writerService=ri,this.serverService=pi,this.configEngine=Se.provideConfigEngine(E)}get level(){return this.configEngine.level}get serverLogLevel(){return this.configEngine.serverLogLevel}trace(E,...Se){this._log(Ui.TRACE,E,Se)}debug(E,...Se){this._log(Ui.DEBUG,E,Se)}info(E,...Se){this._log(Ui.INFO,E,Se)}log(E,...Se){this._log(Ui.LOG,E,Se)}warn(E,...Se){this._log(Ui.WARN,E,Se)}error(E,...Se){this._log(Ui.ERROR,E,Se)}fatal(E,...Se){this._log(Ui.FATAL,E,Se)}setCustomHttpHeaders(E){const Se=this.getConfigSnapshot();Se.customHttpHeaders=E,this.updateConfig(Se)}setCustomParams(E){const Se=this.getConfigSnapshot();Se.customHttpParams=E,this.updateConfig(Se)}setWithCredentialsOptionValue(E){const Se=this.getConfigSnapshot();Se.withCredentials=E,this.updateConfig(Se)}registerMonitor(E){this._loggerMonitor=E}updateConfig(E){this.configEngine.updateConfig(E)}
1partialUpdateConfig(E){this.configEngine.partialUpdateConfig(E)}getConfigSnapshot(){return this.configEngine.getConfig()}flushServerQueue(){this.serverService.flushQueue(this.getConfigSnapshot())}_log(E,Se,tt=[]){const Et=this.configEngine.getConfig(),vn=this.ruleService.shouldCallWriter(E,Et,Se,tt),ri=this.ruleService.shouldCallServer(E,Et,Se,tt),pi=this.ruleService.shouldCallMonitor(E,Et,Se,tt);if(!vn&&!ri&&!pi)return;const hi=this.metadataService.getMetadata(E,Et,Se,tt);this.mapperService.getLogPosition(Et,hi).pipe((0,A.s)(1)).subscribe(zr=>{zr&&(hi.fileName=zr.fileName,hi.lineNumber=zr.lineNumber,hi.columnNumber=zr.columnNumber),pi&&this._loggerMonitor&&this._loggerMonitor.onLog(hi,Et),vn&&this.writerService.writeMessage(hi,Et),ri&&this.serverService.sendToServer(hi,Et)})}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(Lr),t.KVO(Zi),t.KVO(Yo),t.KVO(fs),t.KVO(yo),t.KVO(Qo),t.KVO(Do))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),ha=(()=>{class oe{constructor(E,Se,tt,Et,vn,ri,pi){this.logger=E,this.configEngineFactory=Se,this.metadataService=tt,this.ruleService=Et,this.mapperService=vn,this.writerService=ri,this.serverService=pi}create(E,Se,tt,Et){return this.getNewInstance({config:E,serverService:Se,logMonitor:tt,mapperService:Et})}getNewInstance(E){const Se=new rs(E?.config??this.logger.getConfigSnapshot(),E?.configEngineFactory??this.configEngineFactory,E?.metadataService??this.metadataService,E?.ruleService??this.ruleService,E?.mapperService??this.mapperService,E?.writerService??this.writerService,E?.serverService??this.serverService);return E?.partialConfig&&Se.partialUpdateConfig(E.partialConfig),E?.logMonitor&&Se.registerMonitor(E.logMonitor),Se}}return oe.\u0275fac=function(E){return new(E||oe)(t.KVO(rs),t.KVO(Zi),t.KVO(Yo),t.KVO(fs),t.KVO(yo),t.KVO(Qo),t.KVO(Do))},oe.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})(),qo=(()=>{class oe{static forRoot(E,Se){if(Se||(Se={}),Se.configProvider){if(Se.configProvider.provide!==Lr)throw new Error(`Wrong injection token for configProvider, it should be ${Lr} and you used ${Se.configProvider.provide}`)}else Se.configProvider={provide:Lr,useValue:E||{}};if(Se.configEngineFactoryProvider){if(Se.configEngineFactoryProvider.provide!==Zi)throw new Error(`Wrong injection token for configEngineFactoryProvider, it should be '${Zi}' and you used '${Se.configEngineFactoryProvider.provide}'`)}else Se.configEngineFactoryProvider={provide:Zi,useClass:Br};if(Se.metadataProvider){if(Se.metadataProvider.provide!==Yo)throw new Error(`Wrong injection token for metadataProvider, it should be '${Yo}' and you used '${Se.metadataProvider.provide}'`)}else Se.metadataProvider={provide:Yo,useClass:Cs};if(Se.ruleProvider){if(Se.ruleProvider.provide!==fs)throw new Error(`Wrong injection token for ruleProvider, it should be '${fs}' and you used '${Se.ruleProvider.provide}'`)}else Se.ruleProvider={provide:fs,useClass:na};if(Se.mapperProvider){if(Se.mapperProvider.provide!==yo)throw new Error(`Wrong injection token for mapperProvider, it should be '${yo}' and you used '${Se.mapperProvider.provide}'`)}else Se.mapperProvider={provide:yo,useClass:Vr};if(Se.writerProvider){if(Se.writerProvider.provide!==Qo)throw new Error(`Wrong injection token for writerProvider, it should be '${Qo}' and you used '${Se.writerProvider.provide}'`)}else Se.writerProvider={provide:Qo,useClass:zs};if(Se.serverProvider){if(Se.serverProvider.provide!==Do)throw new Error(`Wrong injection token for serverProvider, it should be '${Do}' and you used '${Se.writerProvider.provide}'`)}else Se.serverProvider={provide:Do,useClass:Ns};return{ngModule:oe,providers:[rs,Se.configProvider,Se.configEngineFactoryProvider,Se.metadataProvider,Se.ruleProvider,Se.mapperProvider,Se.writerProvider,Se.serverProvider,ha]}}static forChild(){return{ngModule:oe}}}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({imports:[[_.MD]]}),oe})();var Us=a(5312),Ps=a(4085),bo=a(1413),_s=a(4572),Is=a(1985),Ks=a(152),ms=a(9172),ys=a(6977),$o=a(6860);const Io=new Set;let No,us=(()=>{class oe{constructor(E,Se){this._platform=E,this._nonce=Se,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ts}matchMedia(E){return(this._platform.WEBKIT||this._platform.BLINK)&&function Wo(oe,qe){if(!Io.has(oe))try{No||(No=document.createElement("style"),qe&&(No.nonce=qe),No.setAttribute("type","text/css"),document.head.appendChild(No)),No.sheet&&(No.sheet.insertRule(`@media ${oe} {body{ }}`,0),Io.add(oe))}catch(E){console.error(E)}}(E,this._nonce),this._matchMedia(E)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO($o.OD),t.KVO(t.BIS,8))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function ts(oe){return{matches:"all"===oe||""===oe,media:oe,addListener:()=>{},removeListener:()=>{}}}let Gs=(()=>{class oe{constructor(E,Se){this._mediaMatcher=E,this._zone=Se,this._queries=new Map,this._destroySubject=ne
1w bo.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(E){return Js((0,Ps.FG)(E)).some(tt=>this._registerQuery(tt).mql.matches)}observe(E){const tt=Js((0,Ps.FG)(E)).map(vn=>this._registerQuery(vn).observable);let Et=(0,_s.z)(tt);return Et=(0,G.x)(Et.pipe((0,A.s)(1)),Et.pipe(function os(oe){return(0,P.p)((qe,E)=>oe<=E)}(1),(0,Ks.B)(0))),Et.pipe((0,g.T)(vn=>{const ri={matches:!1,breakpoints:{}};return vn.forEach(({matches:pi,query:hi})=>{ri.matches=ri.matches||pi,ri.breakpoints[hi]=pi}),ri}))}_registerQuery(E){if(this._queries.has(E))return this._queries.get(E);const Se=this._mediaMatcher.matchMedia(E),Et={observable:new Is.c(vn=>{const ri=pi=>this._zone.run(()=>vn.next(pi));return Se.addListener(ri),()=>{Se.removeListener(ri)}}).pipe((0,ms.Z)(Se),(0,g.T)(({matches:vn})=>({query:E,matches:vn})),(0,ys.Q)(this._destroySubject)),mql:Se};return this._queries.set(E,Et),Et}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(us),t.KVO(t.SKi))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function Js(oe){return oe.map(qe=>qe.split(",")).reduce((qe,E)=>qe.concat(E)).map(qe=>qe.trim())}let Oo=(()=>{class oe{constructor(E){this.breakpointObserver=E,this.changed=new t.bkB,this.breakpointObserver.observe(["(max-width: 599.98px)","(min-width: 600px) and (max-width: 959.98px)","(min-width: 960px) and (max-width: 1279.98px)","(min-width: 1280px) and (max-width: 1919.98px)"]).subscribe(()=>this.changed.next(!0))}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(Gs))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac})}return oe})(),Hs=(()=>{class oe{constructor(){}get title(){return"Cyclix App"}get currentYear(){return(new Date).getFullYear()}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac})}return oe})();var Ts=a(9938);class me{http;prefix;suffix;constructor(qe,E="/assets/i18n/",Se=".json"){this.http=qe,this.prefix=E,this.suffix=Se}getTranslation(qe){return this.http.get(`${this.prefix}${qe}${this.suffix}`)}}var mt=a(2360),We=a(3495),lt=a(5558),jt=a(5328);let Mn=(()=>{class oe{constructor(E){this.authService=E,this.isRefreshing=!1,this.refreshTokenSubject=new N.t(null)}intercept(E,Se){const tt=localStorage.getItem(jt.b.AccessToken);return E=this.addTokenHeader(E,tt),Se.handle(E).pipe((0,fn.W)(Et=>Et instanceof fo.yz&&401===Et.status?this.handle401Error(E,Se):(0,se.$)(Et)))}handle401Error(E,Se){if(!this.isRefreshing){this.isRefreshing=!0,this.refreshTokenSubject.next(null);const tt=localStorage.getItem(jt.b.RefreshToken),Et=this.authService.getUserRole();if(tt)return this.authService.getNewAccessToken(tt,Et).pipe((0,lt.n)(vn=>{const ri=this.authService.mapAuth0Result(vn);return this.authService.setAuth0DataToLocalStorage(ri),this.isRefreshing=!1,this.refreshTokenSubject.next(ri.accessToken),Se.handle(this.addTokenHeader(E,ri.accessToken))}),(0,fn.W)(vn=>(this.isRefreshing=!1,this.authService.logOut(),(0,se.$)(vn))))}return this.refreshTokenSubject.pipe((0,P.p)(tt=>null!==tt),(0,A.s)(1),(0,lt.n)(tt=>Se.handle(this.addTokenHeader(E,tt))))}addTokenHeader(E,Se){const Et=E.headers.set("Authorization","Bearer "+Se);return E.clone({headers:Et})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(m.u))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();a(6536),a(9700);const hr={_menuEnabled:function(){return!!this._menuItems().length},_menuItems:function(){return this._list.option("menuItems")},_deleteEnabled:function(){return this._list.option("allowItemDeleting")},_fireMenuAction:function(oe,qe){this._list._itemEventHandlerByHandler(oe,qe,{},{excludeValidators:["disabled","readOnly"]})}};var er=a(736),Fi=a(2836),ar=a(8180),zi=a(1207),Ni="dx-list-context-menu";(0,Fi.k)("menu","context",ar.A.inherit({_init:function(){var oe=(0,kt.A)("<div>").addClass(Ni);this._list.$element().append(oe),this._menu=this._renderOverlay(oe)},_renderOverlay:function(oe){return this._list._createComponent(oe,bi.A,{shading:!1,deferRendering:!0,hideOnParentScroll:!0,hideOnOutsideClick:function(qe){return!(0,kt.A)(qe.target).closest("."+Ni).length},animation:{show:{type:"slide",duration:300,from:{height:0,opacity:1},to:{height:function(){return(0,Zn.P$)(this._$menuList)}.bind(this),opacity:1}},hide:{type:"slide",duration:0,from:{opacity:1},to:{opacity:0}
1}},_ignoreFunctionValueDeprecation:!0,height:function(){return this._$menuList?(0,Zn.P$)(this._$menuList):0}.bind(this),width:function(){return(0,Zn.Ot)(this._list.$element())}.bind(this),onContentReady:this._renderMenuContent.bind(this)})},_renderMenuContent:function(oe){var qe=oe.component.$content(),E=this._menuItems().slice();this._deleteEnabled()&&E.push({text:er.A.format("dxListEditDecorator-delete"),action:this._deleteItem.bind(this)}),this._$menuList=(0,kt.A)("<div>"),this._list._createComponent(this._$menuList,zi.i,{items:E,onItemClick:this._menuItemClickHandler.bind(this),height:"auto",integrationOptions:{}}),qe.addClass("dx-list-context-menucontent"),qe.append(this._$menuList)},_menuItemClickHandler:function(oe){this._menu.hide(),this._fireMenuAction(this._$itemWithMenu,oe.itemData.action)},_deleteItem:function(){this._list.deleteItem(this._$itemWithMenu)},handleContextMenu:function(oe){return this._$itemWithMenu=oe,this._menu.option({position:{my:"top",at:"bottom",of:oe,collision:"flip"}}),this._menu.show(),!0},dispose:function(){this._menu&&this._menu.$element().remove(),this.callBase.apply(this,arguments)}}).include(hr));var tr=a(2839),Jn=a(9104),mi=a(4159),Yi=a(5424),Wr=ar.A.abstract,Ar="dxListEditDecorator",_o=(0,Jn.b4)(mi.A.down,Ar),xs=(0,Jn.b4)(Yi.vu,Ar),jr="dx-list-switchable-delete-ready",zo="dx-list-switchable-menu-item-shield-positioning";const ye=ar.A.inherit({_init:function(){this._$topShield=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-top-shield"),this._$bottomShield=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-bottom-shield"),this._$itemContentShield=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-item-content-shield"),xn.A.on(this._$topShield,_o,this._cancelDeleteReadyItem.bind(this)),xn.A.on(this._$bottomShield,_o,this._cancelDeleteReadyItem.bind(this)),this._list.$element().append(this._$topShield.toggle(!1)).append(this._$bottomShield.toggle(!1))},handleClick:function(){return this._cancelDeleteReadyItem()},_cancelDeleteReadyItem:function(){return!!this._$readyToDeleteItem&&(this._cancelDelete(this._$readyToDeleteItem),!0)},_cancelDelete:function(oe){this._toggleDeleteReady(oe,!1)},_toggleDeleteReady:function(oe,qe){void 0===qe&&(qe=!this._isReadyToDelete(oe)),this._toggleShields(oe,qe),this._toggleScrolling(qe),this._cacheReadyToDeleteItem(oe,qe),this._animateToggleDelete(oe,qe)},_isReadyToDelete:function(oe){return oe.hasClass(jr)},_toggleShields:function(oe,qe){this._list.$element().toggleClass("dx-list-switchable-menu-shield-positioning",qe),this._$topShield.toggle(qe),this._$bottomShield.toggle(qe),qe&&this._updateShieldsHeight(oe),this._toggleContentShield(oe,qe)},_updateShieldsHeight:function(oe){var qe=this._list.$element(),E=qe.offset().top,Se=(0,Zn.P$)(qe),vn=oe.offset().top-E,ri=Se-(0,Zn.P$)(oe)-vn;(0,Zn.k$)(this._$topShield,Math.max(vn,0)),(0,Zn.k$)(this._$bottomShield,Math.max(ri,0))},_toggleContentShield:function(oe,qe){qe?oe.find(".dx-list-item-content").first().append(this._$itemContentShield):this._$itemContentShield.detach()},_toggleScrolling:function(oe){var qe=this._list.$element().dxScrollView("instance");oe?qe.on("start",this._cancelScrolling):qe.off("start",this._cancelScrolling)},_cancelScrolling:function(oe){oe.event.cancel=!0},_cacheReadyToDeleteItem:function(oe,qe){qe?this._$readyToDeleteItem=oe:delete this._$readyToDeleteItem},_animateToggleDelete:function(oe,qe){qe?(this._enablePositioning(oe),this._prepareDeleteReady(oe),this._animatePrepareDeleteReady(oe),xn.A.off(oe,mi.A.up)):(this._forgetDeleteReady(oe),this._animateForgetDeleteReady(oe).done(this._disablePositioning.bind(this,oe)))},_enablePositioning:function(oe){oe.addClass(zo),xn.A.on(oe,xs,Li.lQ),xn.A.one(oe,mi.A.up,this._disablePositioning.bind(this,oe))},_disablePositioning:function(oe){oe.removeClass(zo),xn.A.off(oe,xs)},_prepareDeleteReady:function(oe){oe.addClass(jr)},_forgetDeleteReady:function(oe){oe.removeClass(jr)},_animatePrepareDeleteReady:Wr,_animateForgetDeleteReady:Wr,_getDeleteButtonContainer:function(oe){return(oe=oe||this._$readyToDeleteItem).children(".dx-list-switchable-delete-button-container")},_deleteItem:function(oe){this._getDeleteButtonContainer(oe=oe||this._$readyToDeleteItem).detach(),!oe.is(".dx-state-disabled, .dx-state-disabled *")&&this._list.deleteItem(oe).always(this._cancelDelete.bind(this,oe))},_isRtlEnabled:function(){return this._list.option("rtlEnabled")},dispose:function(){this._$topShield&&this._$topShield.remove(),this._$bottomShield&&this._$bottomShield.remove(),this.callBase.apply(this,arguments)}});var Ye=a(1299),qt=ye.inherit({_init:function(){this.callBase.apply(this,arguments);var oe=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-button-container"),qe=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-button-wrapper"),E=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-button-inner-wrapper"),Se=(0,kt.A)("<div>").addClass("dx-list-switchable-delete-button");this._list._createComponent(Se,tr.A,{text:er.A.format("dxListEditDecorator-delete"),type:"danger",stylingMode:(0,Ye.Nt)()?"text":"contained",onClick:function(tt){this._deleteItem(),tt.event.stopPropagation()}.bind(this),integrationOptions:{}}),oe.append(qe),qe.append(E),E.append(Se),this._$buttonContainer=oe},_enablePositioning:function(oe){this.callBase.apply(this,arguments),Pi.A.stop(this._$buttonContainer,!0),this._$buttonContainer.appendTo(oe)},_disablePositioning:function(){this.callBase.apply(this,arguments),this._$buttonContainer.detach()},_animatePrepareDeleteReady:function(){var oe=this._isRtlEnabled(),qe=(0,Zn.RG)(this._list.$element()),E=this._buttonWidth();return Pi.A.animate(this._$buttonContainer,{type:"custom",duration:200,from:{right:oe?qe:-E},to:{right:oe?qe-E:0}})},_animateForgetDeleteReady:function(){var oe=this._isRtlEnabled(),qe=(0,Zn.RG)(this._list.$element()),E=this._buttonWidth();return Pi.A.animate(this._$buttonContainer,{type:"custom",duration:200,from:{right:oe?qe-E:0},to:{right:oe?qe:-E}})},_buttonWidth:function(){return this._buttonContainerWidth||(this._buttonContainerWidth=(0,Zn.Ot)(this._$buttonContainer)),this._buttonContainerWidth},dispose:function(){this._$buttonContainer&&this._$buttonContainer.remove(),this.callBase.apply(this,arguments)}});(0,Fi.k)("delete","toggle",qt.inherit({beforeBag:function(oe){var qe=oe.$itemElement,E=oe.$container,Se=(0,kt.A)("<div>").addClass("dx-list-toggle-delete-switch");this._list._createComponent(Se,tr.A,{icon:"toggle-delete",onClick:function(tt){Pi.A.stop(this._$buttonContainer,!1),this._toggleDeleteReady(qe),tt.event.stopPropagation()}.bind(this),integrationOptions:{}}),E.addClass("dx-list-toggle-delete-switch-container"),E.append(Se)}})),(0,Fi.k)("delete","slideButton",qt.inherit({_shouldHandleSwipe:!0,_swipeEndHandler:function(oe,qe){return 0!==qe.targetOffset&&(Pi.A.stop(this._$buttonContainer,!1),this._toggleDeleteReady(oe)),!0}}));var En=a(6311),Pn=a(4874),Bn=a(7669),kn=a(4441),Cn=a(2209),Un=a(7310),Oi=a(4633),Si=a(8168),mn=a(8587),_n={left:"borderLeftWidth",top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth"},mr=a(7420),Eo=["shading","target","$arrow"],ss={left:-1,top:-1,center:0,right:1,bottom:1},ae={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 de extends mr.A{constructor(qe){var{shading:E,target:Se,$arrow:tt}=qe;super((0,mn.A)(qe,Eo)),this._props=(0,Si.A)({},this._props,{shading:E,target:Se}),this._$arrow=tt,this._positionSide=void 0,this.updatePosition(this._props.position)}positionWrapper(){this._props.shading&&this._$wrapper.css({top:0,left:0})}updateTarget(qe){this._props.target=qe,this.updatePosition(this._props.position)}_renderBoundaryOffset(){}_getContainerPosition(){var qe=(0,Li.Li)(this._position.offset||""),{h:E,v:Se}=qe,tt=this._isVerticalSide(),Et=this._isHorizontalSide();if(tt||Et){var zr=(this._isPopoverInside()?-1:1)*ss[this._positionSide]*((tt?(0,Zn.Oq)(this._$arrow):(0,Zn.RG)(this._$arrow))-this._getContentBorderWidth(this._positionSide));tt?Se+=zr:E+=zr}return(0,fi.X)({},this._position,{offset:E+" "+Se})}_getContentBorderWidth(qe){var E=this._$content.css(_n[qe]);return parseInt(E)||0}_isPopoverInside(){var qe=kn.A.setup.normalizeAlign(this._position.my),E=kn.A.setup.normalizeAlign(this._position.at);return qe.h===E.h&&qe.v===E.v}_isVerticalSide(){var qe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._positionSide;return"top"===qe||"bottom"===qe}_isHorizontalSide(){var qe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._positionSide;return"left"===qe||"right"===qe}_getDisplaySide(qe){var E=kn.A.setup.normalizeAlign(qe.my),Se=kn.A.setup.normalizeAlign(qe.at),tt=ss[E.h]===ss[Se.h]&&ss[E.v]===ss[Se.v]?-1:1;return Math.abs(ss[E.h]-tt*ss[Se.h])>Math.abs(ss[E.v]-tt*ss[Se.v])?Se.h:Se.v}_normalizePosition(qe){var Se,E={of:this._props.target,boundaryOffset:Pe};return Se=(0,Rn.O9)(qe)?(0,fi.X)(!0,{},E,this._positionToObject(qe)):E,this._positionSide=this._getDisplaySide(Se),Se}_positionToObject(qe){return(0,Rn.Kg)(qe)?(0,fi.X)({},ae[qe]):qe}}
1var Ft={left:"right",top:"bottom",right:"left",bottom:"top",center:"center"},$t=function(oe){return(0,Rn.Gv)(oe)?oe.name:oe},dn=function(oe,qe){var E=oe.option(qe);return $t(E)},ci=function(oe,qe){var{target:E,shading:Se,disabled:tt,hideEvent:Et}=oe.option(),vn=(0,Rn.Kg)(E),ri=Se&&"hide"===qe,pi=ri?null:dn(oe,"".concat(qe,"Event"));if(ri&&Et&&Un.A.log("W1020"),pi&&!tt){var hi=(0,Jn.b4)(pi,oe.NAME),zr=oe._createAction(function(){var hs=function(oe,qe){var E=oe.option(qe);return(0,Rn.Gv)(E)&&E.delay}(oe,qe+"Event");this._clearEventsTimeouts(),hs?this._timeouts[qe]=setTimeout(function(){oe[qe]()},hs):oe[qe]()}.bind(oe),{validatingTargetName:"target"}),co=function(hs){zr({event:hs,target:(0,kt.A)(hs.currentTarget)})},to="_"+qe+"EventHandler";if(vn)oe[to]=co,xn.A.on(Bn.A.getDocument(),hi,E,co);else{var Xs=(0,Tn.c)((0,kt.A)(E));oe[to]=void 0,xn.A.on(Xs,hi,co)}}},Hi=function(oe,qe,E,Se){var tt=Se||dn(oe,E+"Event");if(tt){tt=(0,Jn.b4)(tt,oe.NAME);var Et="_"+E+"EventHandler";oe[Et]?xn.A.off(Bn.A.getDocument(),tt,qe,oe[Et]):xn.A.off((0,Tn.c)((0,kt.A)(qe)),tt)}},Fr=Oi.A.inherit({_getDefaultOptions:function(){return(0,fi.X)(this.callBase(),{target:void 0,shading:!1,position:(0,fi.X)({},ae.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,Ti.Vd)()},options:{animation:null}},{device:function(){return(0,Ye.Nt)()},options:{useFlatToolbarButtons:!0}},{device:function(){return(0,Ye.gx)()},options:{useDefaultToolbarButtons:!0,showCloseButton:!1}}]},_init:function(){var oe;this.callBase(),this._renderArrow(),this._timeouts={},this.$element().addClass("dx-popover"),this.$wrapper().addClass("dx-popover-wrapper");var qe=null===(oe=this.option("toolbarItems"))||void 0===oe?void 0:oe.length;this.setAria("role",qe?"dialog":"tooltip")},_render:function(){this.callBase.apply(this,arguments),this._detachEvents(this.option("target")),this._attachEvents()},_detachEvents:function(oe){Hi(this,oe,"show"),Hi(this,oe,"hide")},_attachEvents:function(){ci(this,"show"),ci(this,"hide")},_renderArrow:function(){this._$arrow=(0,kt.A)("<div>").addClass("dx-popover-arrow").prependTo(this.$overlayContent())},_documentDownHandler:function(oe){return!this._isOutsideClick(oe)||this.callBase(oe)},_isOutsideClick:function(oe){return!(0,kt.A)(oe.target).closest(this.option("target")).length},_animate:function(oe){oe&&oe.to&&"object"==typeof oe.to&&(0,fi.X)(oe.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 oe=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.callBase(),this._renderOverlayPosition(oe),this._actions.onPositioned()},_renderOverlayPosition:function(oe){this._resetOverlayPosition(oe),this._updateContentSize(oe);var qe=this._getContainerPosition(),E=kn.A.setup(this.$overlayContent(),qe),Se=this._getSideByLocation(E);this._togglePositionClass("dx-position-"+Se),this._toggleFlippedClass(E.h.flip,E.v.flip),(this._isHorizontalSide()||this._isVerticalSide())&&this._renderArrowPosition(Se)},_resetOverlayPosition:function(oe){this._setContentHeight(oe),this._togglePositionClass("dx-position-"+this._positionController._positionSide),(0,ji.Cy)(this.$overlayContent(),{left:0,top:0}),this._$arrow.css({top:"auto",right:"auto",bottom:"auto",left:"auto"})},_updateContentSize:function(oe){if(this.$content()&&oe){var qe=kn.A.calculate(this.$overlayContent(),this._getContainerPosition());if(qe.h.oversize>0&&this._isHorizontalSide()&&!qe.h.fit){var E=(0,Zn.RG)(this.$overlayContent())-qe.h.oversize;(0,Zn.zj)(this.$overlayContent(),E)}if(qe.v.oversize>0&&this._isVerticalSide()&&!qe.v.fit){var Se=(0,Zn.Oq)(this.$overlayContent())-qe.v.oversize,tt=(0,Zn.Oq)(this.$content())-qe.v.oversize;(0,Zn.k$)(this.$overlayContent(),Se),(0,Zn.k$)(this.$content(),tt)}}},_getContainerPosition:function(){return this._positionController._getContainerPosition()},_getHideOnParentScrollTarget:function(){return(0,kt.A)(this._positionController._position.of||this.callBase())},_getSideByLocation:function(oe){var qe=oe.v.flip,E=oe.h.flip;return this._isVerticalSide()&&qe||this._isHorizontalSide()&&E||this._isPopoverInside()?Ft[this._positionController._positionSide]:this._positionController._positionSide},_togglePositionClass:function(oe){this.$wrapper().removeClass("dx-position-left dx-position-right dx-position-top dx-position-bottom").addClass(oe)},_toggleFlippedClass:function(oe,qe){this.$wrapper().toggleClass("dx-popover-flipped-horizontal",oe).toggleClass("dx-popover-flipped-vertical",qe)},_renderArrowPosition:function(oe){var qe=(0,ni.N)(this._$arrow.get(0)),E=-(this._isVerticalSide(oe)?qe.height:qe.width);this._$arrow.css(Ft[oe],E);var Va,Se=this._isVerticalSide(oe)?"left":"top",tt=this._isVerticalSide(oe)?"width":"height",Et=(0,kt.A)(this._positionController._position.of),vn=kn.A.offset(Et)||{top:0,left:0},ri=kn.A.offset(this.$overlayContent()),pi=qe[tt],hi=ri[Se],zr=(0,ni.N)(this.$overlayContent().get(0))[tt],co=vn[Se],to=Et.get(0),Xs=to&&!to.preventDefault?(0,ni.N)(to)[tt]:0,hs=Math.max(hi,co),lc=Math.min(hi+zr,co+Xs);Va="start"===this.option("arrowPosition")?hs-hi:"end"===this.option("arrowPosition")?lc-hi-pi:(hs+lc)/2-hi-pi/2;var Ua=this._positionController._getContentBorderWidth(oe),Ko=(0,Cn.df)(Va-Ua+this.option("arrowOffset"),Ua,zr-pi-2*Ua);this._$arrow.css(Se,Ko)},_isPopoverInside:function(){return this._positionController._isPopoverInside()},_setContentHeight:function(oe){oe&&this.callBase()},_getPositionControllerConfig(){var{shading:oe,target:qe}=this.option();return(0,fi.X)({},this.callBase(),{target:qe,shading:oe,$arrow:this._$arrow})},_initPositionController(){this._positionController=new de(this._getPositionControllerConfig())},_renderWrapperDimensions:function(){this.option("shading")&&this.$wrapper().css({width:"100%",height:"100%"})},_isVerticalSide:function(oe){return this._positionController._isVerticalSide(oe)},_isHorizontalSide:function(oe){return this._positionController._isHorizontalSide(oe)},_clearEventTimeout:function(oe){clearTimeout(this._timeouts[oe])},_clearEventsTimeouts:function(){this._clearEventTimeout("show"),this._clearEventTimeout("hide")},_clean:function(){this._detachEvents(this.option("target")),this.callBase.apply(this,arguments)},_optionChanged:function(oe){switch(oe.name){case"arrowPosition":case"arrowOffset":this._renderGeometry();break;case"fullScreen":oe.value&&this.option("fullScreen",!1);break;case"target":oe.previousValue&&this._detachEvents(oe.previousValue),this._positionController.updateTarget(oe.value),this._invalidate();break;case"showEvent":case"hideEvent":var qe=oe.name.substring(0,4),E=$t(oe.previousValue);this.hide(),Hi(this,this.option("target"),qe,E),ci(this,qe);break;case"visible":this._clearEventTimeout(oe.value?"show":"hide"),this.callBase(oe);break;default:this.callBase(oe)}},show:function(oe){return oe&&this.option("target",oe),this.callBase()}});(0,Qn.A)("dxPopover",Fr);const Mo=Fr;var mo=(0,Ti.zk)(),ba="outlined",tc=Pn.A.inherit({_getDefaultOptions(){return(0,fi.X)(this.callBase(),{usePopover:!1,target:null,title:"",showTitle:!0,showCancelButton:!0,cancelText:er.A.format("Cancel"),onCancelClick:null,visible:!1,noDataText:"",focusStateEnabled:!1,selectByClick:!1})},_defaultOptionsRules(){return this.callBase().concat([{device:{platform:"ios",tablet:!0},options:{usePopover:!0}}])},_initTemplates(){this.callBase(),this._templateManager.addDefaultTemplates({item:new En.U((oe,qe)=>{var E=new tr.A((0,kt.A)("<div>"),(0,fi.X)({onClick:qe&&qe.click,stylingMode:qe&&qe.stylingMode||ba},qe));oe.append(E.$element())}
1,["disabled","icon","text","type","onClick","click","stylingMode"],this.option("integrationOptions.watchMethod"))})},_itemContainer(){return this._$itemContainer},_itemClass:()=>"dx-actionsheet-item",_itemDataKey:()=>"dxActionSheetItemData",_toggleVisibility:Li.lQ,_renderDimensions:Li.lQ,_initMarkup(){this.callBase(),this.$element().addClass("dx-actionsheet"),this._createItemContainer()},_render(){this._renderPopup()},_createItemContainer(){this._$itemContainer=(0,kt.A)("<div>").addClass("dx-actionsheet-container"),this._renderDisabled()},_renderDisabled(){this._$itemContainer.toggleClass("dx-state-disabled",this.option("disabled"))},_renderPopup(){this._$popup=(0,kt.A)("<div>").appendTo(this.$element()),this._isPopoverMode()?this._createPopover():this._createPopup(),this._renderPopupTitle(),this._mapPopupOption("visible")},_mapPopupOption(oe){this._popup&&this._popup.option(oe,this.option(oe))},_isPopoverMode(){return this.option("usePopover")&&this.option("target")},_renderPopupTitle(){this._mapPopupOption("showTitle"),this._popup&&this._popup.$wrapper().toggleClass("dx-actionsheet-without-title",!this.option("showTitle"))},_clean(){this._$popup&&this._$popup.remove(),this.callBase()},_overlayConfig(){return{onInitialized:function(oe){this._popup=oe.component}.bind(this),disabled:!1,showTitle:!0,title:this.option("title"),deferRendering:!mo.angular,onContentReady:this._popupContentReadyAction.bind(this),onHidden:this.hide.bind(this)}},_createPopover(){this._createComponent(this._$popup,Mo,(0,fi.X)(this._overlayConfig(),{width:this.option("width")||200,height:this.option("height")||"auto",target:this.option("target")})),this._popup.$overlayContent().attr("role","dialog"),this._popup.$wrapper().addClass("dx-actionsheet-popover-wrapper")},_createPopup(){this._createComponent(this._$popup,Oi.A,(0,fi.X)(this._overlayConfig(),{dragEnabled:!1,width:this.option("width")||"100%",height:this.option("height")||"auto",showCloseButton:!1,position:{my:"bottom",at:"bottom",of:mo},animation:{show:{type:"slide",duration:400,from:{position:{my:"top",at:"bottom",of:mo}},to:{position:{my:"bottom",at:"bottom",of:mo}}},hide:{type:"slide",duration:400,from:{position:{my:"bottom",at:"bottom",of:mo}},to:{position:{my:"top",at:"bottom",of:mo}}}}})),this._popup.$wrapper().addClass("dx-actionsheet-popup-wrapper")},_popupContentReadyAction(){this._popup.$content().append(this._$itemContainer),this._attachClickEvent(),this._attachHoldEvent(),this._prepareContent(),this._renderContent(),this._renderCancelButton()},_renderCancelButton(){if(!this._isPopoverMode()&&(this._$cancelButton&&this._$cancelButton.remove(),this.option("showCancelButton"))){var oe=this._createActionByOption("onCancelClick")||Li.lQ,qe=this;this._$cancelButton=(0,kt.A)("<div>").addClass("dx-actionsheet-cancel").appendTo(this._popup&&this._popup.$content()),this._createComponent(this._$cancelButton,tr.A,{disabled:!1,stylingMode:ba,text:this.option("cancelText"),onClick(E){var Se={event:E,cancel:!1};oe(Se),Se.cancel||qe.hide()},integrationOptions:{}})}},_attachItemClickEvent:Li.lQ,_itemClickHandler(oe){this.callBase(oe),(0,kt.A)(oe.target).is(".dx-state-disabled, .dx-state-disabled *")||this.hide()},_itemHoldHandler(oe){this.callBase(oe),(0,kt.A)(oe.target).is(".dx-state-disabled, .dx-state-disabled *")||this.hide()},_optionChanged(oe){switch(oe.name){case"width":case"height":case"visible":case"title":this._mapPopupOption(oe.name);break;case"disabled":this._renderDisabled();break;case"showTitle":this._renderPopupTitle();break;case"showCancelButton":case"onCancelClick":case"cancelText":this._renderCancelButton();break;case"target":case"usePopover":case"items":this._invalidate();break;default:this.callBase(oe)}},toggle(oe){var qe=this,E=new Mi.cY;return qe._popup.toggle(oe).done(()=>{qe.option("visible",oe),E.resolveWith(qe)}),E.promise()},show(){return this.toggle(!0)},hide(){return this.toggle(!1)}});(0,Qn.A)("dxActionSheet",tc);const tl=tc;var nl="dxListEditDecorator",il=(0,Jn.b4)(Ao.U,nl),du=(0,Jn.b4)(Yi.vu,nl),Ea="dx-list-slide-menu-content",nc="dx-list-slide-menu-button";(0,Fi.k)("menu","slide",ye.inherit({_shouldHandleSwipe:!0,_init:function(){this.callBase.apply(this,arguments),this._$buttonsContainer=(0,kt.A)("<div>").addClass("dx-list-slide-menu-buttons-container"),xn.A.on(this._$buttonsContainer,du,Li.lQ),this._$buttons=(0,kt.A)("<div>").addClass("dx-list-slide-menu-buttons").appendTo(this._$buttonsContainer),this._renderMenu(),this._renderDeleteButton()},_renderMenu:function(){if(this._menuEnabled()){var oe=this._menuItems();if(1===oe.length){var qe=oe[0];this._renderMenuButton(qe.text,function(tt){tt.stopPropagation(),this._fireAction(qe)}.bind(this))}else{var E=(0,kt.A)("<div>").addClass("dx-list-slide-menu");this._menu=this._list._createComponent(E,tl,{showTitle:!1,items:oe,onItemClick:function(tt){this._fireAction(tt.itemData)}.bind(this),integrationOptions:{}}),E.appendTo(this._list.$element());var Se=this._renderMenuButton(er.A.format("dxListEditDecorator-more"),function(tt){tt.stopPropagation(),this._menu.show()}.bind(this));this._menu.option("target",Se)}}},_renderMenuButton:function(oe,qe){var E=(0,kt.A)("<div>").addClass(nc).addClass("dx-list-slide-menu-button-menu").text(oe);return this._$buttons.append(E),xn.A.on(E,il,qe),E},_renderDeleteButton:function(){if(this._deleteEnabled()){var oe=(0,kt.A)("<div>").addClass(nc).addClass("dx-list-slide-menu-button-delete").text((0,Ye.Nt)()?"":er.A.format("dxListEditDecorator-delete"));xn.A.on(oe,il,function(qe){qe.stopPropagation(),this._deleteItem()}.bind(this)),this._$buttons.append(oe)}},_fireAction:function(oe){this._fireMenuAction((0,kt.A)(this._cachedNode),oe.action),this._cancelDeleteReadyItem()},modifyElement:function(oe){this.callBase.apply(this,arguments);var qe=oe.$itemElement;qe.addClass("dx-list-slide-menu-wrapper");var E=(0,kt.A)("<div>").addClass(Ea);qe.wrapInner(E)},_getDeleteButtonContainer:function(){return this._$buttonsContainer},handleClick:function(oe,qe){return!!(0,kt.A)(qe.target).closest("."+Ea).length&&this.callBase.apply(this,arguments)},_swipeStartHandler:function(oe){this._enablePositioning(oe),this._cacheItemData(oe),this._setPositions(this._getPositions(0))},_swipeUpdateHandler:function(oe,qe){var Se=this._isRtlEnabled()?-1:1,tt=this._isReadyToDelete(oe);
1if(this._getCurrentPositions().content!==this._getStartPositions().content||tt||!(qe.offset*Se>0)){var vn=this._cachedItemWidth*qe.offset,ri=tt?-this._cachedButtonWidth*Se:0,hi=(vn+ri)*Se<0?Math.abs((vn+ri)/this._cachedButtonWidth):0;return this._setPositions(this._getPositions(hi)),!0}qe.cancel=!0},_getStartPositions:function(){var oe=this._isRtlEnabled();return{content:0,buttonsContainer:oe?-this._cachedButtonWidth:this._cachedItemWidth,buttons:-this._cachedButtonWidth*(oe?-1:1)}},_getPositions:function(oe){var E=this._isRtlEnabled()?-1:1,Se=this._getStartPositions();return{content:Se.content-oe*this._cachedButtonWidth*E,buttonsContainer:Se.buttonsContainer-Math.min(oe,1)*this._cachedButtonWidth*E,buttons:Se.buttons+Math.min(oe,1)*this._cachedButtonWidth*E}},_getCurrentPositions:function(){return{content:(0,ji.x5)(this._$cachedContent).left,buttonsContainer:(0,ji.x5)(this._$buttonsContainer).left,buttons:(0,ji.x5)(this._$buttons).left}},_setPositions:function(oe){(0,ji.Cy)(this._$cachedContent,{left:oe.content}),(0,ji.Cy)(this._$buttonsContainer,{left:oe.buttonsContainer}),(0,ji.Cy)(this._$buttons,{left:oe.buttons})},_cacheItemData:function(oe){oe[0]!==this._cachedNode&&(this._$cachedContent=oe.find("."+Ea),this._cachedItemWidth=(0,Zn.Ot)(oe),this._cachedButtonWidth=this._cachedButtonWidth||(0,Zn.Ot)(this._$buttons),(0,Zn.zj)(this._$buttonsContainer,this._cachedButtonWidth),this._$cachedContent.length&&(this._cachedNode=oe[0]))},_minButtonContainerLeftOffset:function(){return this._cachedItemWidth-this._cachedButtonWidth},_swipeEndHandler:function(oe,qe){this._cacheItemData(oe);var E=this._isRtlEnabled()?1:-1,Se=this._cachedItemWidth*qe.offset,tt=!this._isReadyToDelete(oe)&&Se*E>.2*this._cachedButtonWidth;return this._toggleDeleteReady(oe,qe.targetOffset===E&&tt),!0},_enablePositioning:function(oe){Pi.A.stop(this._$cachedContent,!0),this.callBase.apply(this,arguments),this._$buttonsContainer.appendTo(oe)},_disablePositioning:function(){this.callBase.apply(this,arguments),this._$buttonsContainer.detach()},_animatePrepareDeleteReady:function(){return this._animateToPositions(this._getPositions(1))},_animateForgetDeleteReady:function(oe){return this._cacheItemData(oe),this._animateToPositions(this._getPositions(0))},_animateToPositions:function(oe){var qe=this,E=this._getCurrentPositions(),Se=Math.min(Math.abs(E.content-oe.content)/this._cachedButtonWidth,1);return Pi.A.animate(this._$cachedContent,{from:E,to:oe,easing:"cubic-bezier(0.075, 0.82, 0.165, 1)",duration:400*Se,strategy:"frame",draw:function(tt){qe._setPositions(tt)}})},dispose:function(){this._menu&&this._menu.$element().remove(),this._$buttonsContainer&&this._$buttonsContainer.remove(),this.callBase.apply(this,arguments)}}).include(hr)),(0,Fi.k)("delete","static",ar.A.inherit({afterBag:function(oe){var qe=oe.$itemElement,E=oe.$container,Se=(0,kt.A)("<div>").addClass("dx-list-static-delete-button");this._list._createComponent(Se,tr.A,{icon:"remove",onClick:function(tt){tt.event.stopPropagation(),this._deleteItem(qe)}.bind(this),integrationOptions:{}}),E.addClass("dx-list-static-delete-button-container").append(Se)},_deleteItem:function(oe){oe.is(".dx-state-disabled, .dx-state-disabled *")||this._list.deleteItem(oe)}})),(0,Fi.k)("delete","swipe",ar.A.inherit({_shouldHandleSwipe:!0,_renderItemPosition:function(oe,qe,E){var Se=new Mi.cY,tt=qe*this._itemElementWidth;return E?Pi.A.animate(oe,{to:{left:tt},type:"slide",complete:function(){Se.resolve(oe,qe)}}):((0,ji.Cy)(oe,{left:tt}),Se.resolve()),Se.promise()},_swipeStartHandler:function(oe){return this._itemElementWidth=(0,Zn.RG)(oe),!0},_swipeUpdateHandler:function(oe,qe){return this._renderItemPosition(oe,qe.offset),!0},_swipeEndHandler:function(oe,qe){return this._renderItemPosition(oe,qe.targetOffset,!0).done(function(Se,tt){Math.abs(tt)&&this._list.deleteItem(Se).fail(function(){this._renderItemPosition(Se,0,!0)}.bind(this))}.bind(this)),!0}}));var Ds=a(400),rc="dx-list-reorder-handle";(0,Fi.k)("reorder","default",ar.A.inherit({_init:function(){var oe=this._list;this._groupedEnabled=this._list.option("grouped"),this._lockedDrag=!1;var qe=this._groupedEnabled?"> .dx-list-items > .dx-list-group > .dx-list-group-body > .dx-list-item":"> .dx-list-items > .dx-list-item";this._sortable=oe._createComponent(oe._scrollView.content(),Ds.A,(0,fi.X)({component:oe,contentTemplate:null,allowReordering:!1,filter:qe,container:oe.$element(),dragDirection:oe.option("itemDragging.group")?"both":"vertical",handle:".".concat(rc),dragTemplate:this._dragTemplate,onDragStart:this._dragStartHandler.bind(this),onDragChange:this._dragChangeHandler.bind(this),onReorder:this._reorderHandler.bind(this)},oe.option("itemDragging")))}
1,afterRender:function(){this._sortable.update()},_dragTemplate:function(oe){var qe=(0,kt.A)(oe.itemElement).clone().addClass("dx-list-item-ghost-reordering").addClass("dx-state-hover");return(0,Zn.zj)(qe,(0,Zn.RG)(oe.itemElement)),qe},_dragStartHandler:function(oe){this._lockedDrag&&(oe.cancel=!0)},_dragChangeHandler:function(oe){!this._groupedEnabled||this._sameParent(oe.fromIndex,oe.toIndex)||(oe.cancel=!0)},_sameParent:function(oe,qe){var E=this._list.getItemElementByFlatIndex(oe);return this._list.getItemElementByFlatIndex(qe).parent().get(0)===E.parent().get(0)},_reorderHandler:function(oe){var qe=this._list.getItemElementByFlatIndex(oe.toIndex);this._list.reorderItem((0,kt.A)(oe.itemElement),qe)},afterBag:function(oe){var qe=(0,kt.A)("<div>").addClass(rc);xn.A.on(qe,"dxpointerdown",E=>{this._lockedDrag=!(0,Jn.Er)(E)}),xn.A.on(qe,"dxhold",{timeout:30},E=>{E.cancel=!0,this._lockedDrag=!1}),oe.$container.addClass("dx-list-reorder-handle-container").append(qe)}})),a(9067);let al=(()=>{class oe{}return oe.\u0275fac=function(E){return new(E||oe)},oe.\u0275mod=t.$C({type:oe}),oe.\u0275inj=t.G2t({imports:[[sn.iiR,sn.XUe,sn.POb,sn.S2P,sn.B9H,sn.GIV,sn.u4t,At.p_,At.xZ],sn.iiR,sn.XUe,sn.POb,sn.S2P,sn.B9H,sn.GIV,sn.u4t,At.xZ]}),oe})();var ia=a(9523),$i=a(1596),ac=a(980);let Xd=(()=>{class oe{constructor(E){this.loadingService=E,this.totalRequests=0}intercept(E,Se){return this.totalRequests++,this.loadingService.onLoadShow$.next(!0),Se.handle(E).pipe((0,ac.j)(()=>{this.totalRequests--,0==this.totalRequests&&this.loadingService.onLoadShow$.next(!1)}))}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(X.Z))};static#t=this.\u0275prov=t.jDH({token:oe,factory:oe.\u0275fac})}return oe})();var Na=a(1445),ma=a(9417);function gu(oe){return new me(oe)}const ll=new t.nKC("Application Configuration");let va=(()=>{class oe{constructor(E,Se){this.logger=E,this.appConfig=Se,this.printStartupInfo()}printStartupInfo(){const E="Client startup info: "+(new Date).toLocaleTimeString()+"\nEnvironment: "+this.appConfig.ENV_NAME+"\nRelease Version: "+this.appConfig.RELEASE_VERSION;this.logger.log(E)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(t.KVO(rs),t.KVO(ll))};static#t=this.\u0275mod=t.$C({type:oe,bootstrap:[Te]});static#n=this.\u0275inj=t.G2t({providers:[Ne,{provide:fo.a7,useClass:Mn,multi:!0},{provide:fo.a7,useClass:Xd,multi:!0},m.u,{provide:Qe.JR,useValue:(0,t.Rfq)(()=>M.o.ConfigStatic.API_BASE_URL)},Ts.z,Oo,Hs,fo.Qq,M.o,mt.g,b],imports:[c.Bb,_.MD,ti,gi,pr,fo.q1,ht.G,v.h.forRoot({useDefaultLang:!0,loader:{provide:v.Wr,useFactory:gu,deps:[fo.Qq]}}),qo.forRoot({level:Us.c.production?Ui.OFF:Ui.DEBUG}),Be.forRoot(),al,ia.l,$i.L]})}return oe})();t.wjB(We.$,function(){return[bn,x.n3]},[]),t.wjB(lo,function(){return[_.YU,_.Sq,_.bT,_.B3,Na.w,Xt.O,Yt.m]},function(){return[v.D9]}),t.wjB(Or,function(){return[_.Sq,Na.w,Xt.O,Yt.m]},function(){return[v.D9]}),t.wjB(Xe,function(){return[_.YU,_.bT,ma.qT,ma.me,ma.BC,ma.cb,ma.vS,ma.cV,Na.w,Xt.O,Yt.m]},function(){return[v.D9]}),t.wjB(St,function(){return[_.bT,Na.w,Yt.m,_i,Qr]},function(){return[v.D9]})},1291:(Nt,Le,a)=>{"use strict";a.d(Le,{$V:()=>ne,A:()=>et,AW:()=>R,B2:()=>vt,Bm:()=>P,CR:()=>g,Cp:()=>Fe,EQ:()=>Ee,GF:()=>ot,IE:()=>Ne,J2:()=>Y,JR:()=>M,Kj:()=>p,Kl:()=>Ut,L7:()=>Be,M5:()=>D,NQ:()=>Re,PJ:()=>H,Q4:()=>Ot,S0:()=>He,Tz:()=>Wt,Uw:()=>Lt,Wf:()=>rt,XS:()=>pn,_n:()=>st,b5:()=>J,dX:()=>ft,dm:()=>At,e0:()=>ze,eE:()=>Z,g3:()=>re,hZ:()=>Ie,hx:()=>Dn,hy:()=>z,id:()=>ln,jO:()=>Zt,k5:()=>Jt,kX:()=>zt,mD:()=>Pt,mU:()=>G,nF:()=>ee,oU:()=>pe,ob:()=>un,od:()=>Ae,p0:()=>L,qZ:()=>A,rG:()=>ce,rz:()=>K,s2:()=>U,s9:()=>S,sD:()=>Vt,tX:()=>ct,tr:()=>It,u2:()=>wn,ur:()=>Ze,zZ:()=>_e,zu:()=>Ke});var t=a(1397),c=a(9437),m=a(7673),x=a(8810),_=a(1985),b=a(4438),v=a(1626);const M=new b.nKC("API_BASE_URL");class N{transformResult(d,O,T){if(201===O.status&&O.headers){let be={};for(let h of O.headers.keys())be[h]=O.headers.get(h);return T(O).pipe((0,t.Z)(h=>{let w=h||{};return w.headers=w.headers?Object.assign(w.headers,be):be,(0,m.of)(w)}))}return T(O)}}let p=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getShopsByApiVersion(O){let T=this.baseUrl+"/api/admins/shops?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetShopsByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetShopsByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetShopsByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(ot.fromJS(en))}else w=null;return(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(ot.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getServiceRequestsByApiVersion(O){let T=this.baseUrl+"/api/admins/service-requests?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetServiceRequestsByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetServiceRequestsByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetServiceRequestsByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(le.fromJS(en))}else w=null;return(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(le.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getShopByShopIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/admins/shop/{shopId}?";if(null==O)throw new Error("The parameter 'shopId' must be defined.");Me=Me.replace("{shopId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetShopByShopIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetShopByShopIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetShopByShopIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ot.fromJS(Oe),(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)}
1)):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ot.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postShopByShopIdAndIsApproveAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/admins/shop/{shopId}/approve={isApprove}?";if(null==O)throw new Error("The parameter 'shopId' must be defined.");if(be=be.replace("{shopId}",encodeURIComponent(""+O)),null==T)throw new Error("The parameter 'isApprove' must be defined.");be=be.replace("{isApprove}",encodeURIComponent(""+T)),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",be,h).pipe((0,t.Z)(w=>this.processPostShopByShopIdAndIsApproveAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostShopByShopIdAndIsApproveAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostShopByShopIdAndIsApproveAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteByCommentIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/admins/commentId={commentId}?";if(null==O)throw new Error("The parameter 'commentId' must be defined.");Me=Me.replace("{commentId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",Me,be).pipe((0,t.Z)(h=>this.processDeleteByCommentIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processDeleteByCommentIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processDeleteByCommentIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteByMediaIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/admins/mediaId={mediaId}?";if(null==O)throw new Error("The parameter 'mediaId' must be defined.");Me=Me.replace("{mediaId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",Me,be).pipe((0,t.Z)(h=>this.processDeleteByMediaIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processDeleteByMediaIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processDeleteByMediaIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postServiceRequestsCloseByShopServiceJobIdAndApiVersionAndBody(O,T,Me){let be=this.baseUrl+"/api/admins/service-requests/{shopServiceJobId}/close?";if(null==O)throw new Error("The parameter 'shopServiceJobId' must be defined.");be=be.replace("{shopServiceJobId}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");let w={body:JSON.stringify(Me),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json"})};return this.http.request("post",be,w).pipe((0,t.Z)(Oe=>this.processPostServiceRequestsCloseByShopServiceJobIdAndApiVersionAndBody(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPostServiceRequestsCloseByShopServiceJobIdAndApiVersionAndBody(Oe)}catch(en){return(0,x.$)(en)}}))}processPostServiceRequestsCloseByShopServiceJobIdAndApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getCustomersByApiVersion(O){let T=this.baseUrl+"/api/admins/customers?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetCustomersByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetCustomersByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetCustomersByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Ee.fromJS(en))}else w=null;return(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Ee.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),P=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getIsUserExistByRoleAndEmailAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/auth/isUserExist/{email}/{role}?";if(null==O)throw new Error("The parameter 'role' must be defined.");if(be=be.replace("{role}",encodeURIComponent(""+O)),null==T)throw new Error("The parameter 'email' must be defined.");be=be.replace("{email}",encodeURIComponent(""+T)),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",be,h).pipe((0,t.Z)(w=>this.processGetIsUserExistByRoleAndEmailAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processGetIsUserExistByRoleAndEmailAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processGetIsUserExistByRoleAndEmailAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),g=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByApiVersion(O){let T=this.baseUrl+"/api/bikes?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(ne.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/bikes?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("post",Me,h).pipe((0,t.Z)(w=>this.processPostByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/bikes/{id}?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ne.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}patchByIdAndApiVersionAndBody(O,T,Me){let be=this.baseUrl+"/api/bikes/{id}?";if(null==O)throw new Error("The parameter 'id' must be defined.");be=be.replace("{id}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");let w={body:JSON.stringify(Me),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json"})};return this.http.request("patch",be,w).pipe((0,t.Z)(Oe=>this.processPatchByIdAndApiVersionAndBody(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPatchByIdAndApiVersionAndBody(Oe)}catch(en){return(0,x.$)(en)}}))}processPatchByIdAndApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteDeleteImageByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/bikes/{id}/deleteImage?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",Me,be).pipe((0,t.Z)(h=>this.processDeleteDeleteImageByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processDeleteDeleteImageByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processDeleteDeleteImageByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteDeleteByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/bikes/{id}/delete?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",Me,be).pipe((0,t.Z)(h=>this.processDeleteDeleteByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processDeleteDeleteByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processDeleteDeleteByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postBikeImageByIdAndApiVersionAndBikeImage(O,T,Me){let be=this.baseUrl+"/api/bikes/{id}/bikeImage?";if(null==O)throw new Error("The parameter 'id' must be defined.");be=be.replace("{id}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");const h=new FormData;
1null!=Me&&h.append("bikeImage",Me.data,Me.fileName?Me.fileName:"bikeImage");let w={body:h,observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("post",be,w).pipe((0,t.Z)(Oe=>this.processPostBikeImageByIdAndApiVersionAndBikeImage(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPostBikeImageByIdAndApiVersionAndBikeImage(Oe)}catch(en){return(0,x.$)(en)}}))}processPostBikeImageByIdAndApiVersionAndBikeImage(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ne.fromJS(Oe),(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ne.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),U=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByPageAndPageSizeAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/bikeTypes?";null!=O&&(be+="page="+encodeURIComponent(""+O)+"&"),null!=T&&(be+="pageSize="+encodeURIComponent(""+T)+"&"),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",be,h).pipe((0,t.Z)(w=>this.processGetByPageAndPageSizeAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processGetByPageAndPageSizeAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processGetByPageAndPageSizeAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ke.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),G=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByPageAndPageSizeAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/brands?";null!=O&&(be+="page="+encodeURIComponent(""+O)+"&"),null!=T&&(be+="pageSize="+encodeURIComponent(""+T)+"&"),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",be,h).pipe((0,t.Z)(w=>this.processGetByPageAndPageSizeAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processGetByPageAndPageSizeAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processGetByPageAndPageSizeAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=De.fromJS(Oe),(0,m.of)(w)}
1)):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),A=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByPageAndPageSizeAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/countries?";null!=O&&(be+="page="+encodeURIComponent(""+O)+"&"),null!=T&&(be+="pageSize="+encodeURIComponent(""+T)+"&"),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",be,h).pipe((0,t.Z)(w=>this.processGetByPageAndPageSizeAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processGetByPageAndPageSizeAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processGetByPageAndPageSizeAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=dt.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),K=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByPageAndPageSizeAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/currencies?";null!=O&&(be+="page="+encodeURIComponent(""+O)+"&"),null!=T&&(be+="pageSize="+encodeURIComponent(""+T)+"&"),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",be,h).pipe((0,t.Z)(w=>this.processGetByPageAndPageSizeAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processGetByPageAndPageSizeAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processGetByPageAndPageSizeAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ce.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),z=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}putByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/customers?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("put",Me,h).pipe((0,t.Z)(w=>this.processPutByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPutByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPutByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)}
1)):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getByApiVersion(O){let T=this.baseUrl+"/api/customers?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ee.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}putChangeProfileLanguageByLanguageAndApiVersion(O,T){let Me=this.baseUrl+"/api/customers/changeProfileLanguage?";null!=O&&(Me+="language="+encodeURIComponent(""+O)+"&"),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("put",Me,be).pipe((0,t.Z)(h=>this.processPutChangeProfileLanguageByLanguageAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPutChangeProfileLanguageByLanguageAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPutChangeProfileLanguageByLanguageAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getInformationByApiVersion(O){let T=this.baseUrl+"/api/customers/information?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetInformationByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetInformationByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetInformationByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)}
1)):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ee.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getIsCustomerProfileCompletedByApiVersion(O){let T=this.baseUrl+"/api/customers/is-customer-profile-completed?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetIsCustomerProfileCompletedByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetIsCustomerProfileCompletedByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetIsCustomerProfileCompletedByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postProfilePictureByApiVersionAndFile(O,T){let Me=this.baseUrl+"/api/customers/profile-picture?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");const be=new FormData;null!=T&&be.append("file",T.data,T.fileName?T.fileName:"file");let h={body:be,observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("post",Me,h).pipe((0,t.Z)(w=>this.processPostProfilePictureByApiVersionAndFile(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostProfilePictureByApiVersionAndFile(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostProfilePictureByApiVersionAndFile(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ee.fromJS(Oe),(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ee.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteProfilePictureByApiVersion(O){let T=this.baseUrl+"/api/customers/profile-picture?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",T,Me).pipe((0,t.Z)(be=>this.processDeleteProfilePictureByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processDeleteProfilePictureByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processDeleteProfilePictureByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteProfileByApiVersion(O){let T=this.baseUrl+"/api/customers/profile?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("delete",T,Me).pipe((0,t.Z)(be=>this.processDeleteProfileByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processDeleteProfileByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processDeleteProfileByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getShopProfilePreviewByShopIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customers/shop-profile-preview/{shopId}?";if(null==O)throw new Error("The parameter 'shopId' must be defined.");Me=Me.replace("{shopId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetShopProfilePreviewByShopIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetShopProfilePreviewByShopIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetShopProfilePreviewByShopIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Vt.fromJS(Oe),(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Vt.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),ee=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}postByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/customerServiceRequests?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("post",Me,h).pipe((0,t.Z)(w=>this.processPostByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getByApiVersion(O){let T=this.baseUrl+"/api/customerServiceRequests?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Ot.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/{id}?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ot.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postAcceptByShopServiceRequestReplyIdAndPaymentTokenAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/customerServiceRequests/accept/{shopServiceRequestReplyId}/{paymentToken}?";if(null==O)throw new Error("The parameter 'shopServiceRequestReplyId' must be defined.");if(be=be.replace("{shopServiceRequestReplyId}",encodeURIComponent(""+O)),null==T)throw new Error("The parameter 'paymentToken' must be defined.");be=be.replace("{paymentToken}",encodeURIComponent(""+T)),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("post",be,h).pipe((0,t.Z)(w=>this.processPostAcceptByShopServiceRequestReplyIdAndPaymentTokenAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostAcceptByShopServiceRequestReplyIdAndPaymentTokenAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostAcceptByShopServiceRequestReplyIdAndPaymentTokenAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>Dt("Created",T,h,be))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postCreatePaymentLinkByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/{id}/createPaymentLink?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostCreatePaymentLinkByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostCreatePaymentLinkByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostCreatePaymentLinkByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postCreateFeedbackByIdAndApiVersionAndBody(O,T,Me){let be=this.baseUrl+"/api/customerServiceRequests/{id}/createFeedback?";if(null==O)throw new Error("The parameter 'id' must be defined.");be=be.replace("{id}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");let w={body:JSON.stringify(Me),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json"})};return this.http.request("post",be,w).pipe((0,t.Z)(Oe=>this.processPostCreateFeedbackByIdAndApiVersionAndBody(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPostCreateFeedbackByIdAndApiVersionAndBody(Oe)}catch(en){return(0,x.$)(en)}}))}processPostCreateFeedbackByIdAndApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postCompleteByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/{id}/complete?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostCompleteByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostCompleteByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostCompleteByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postAcceptByBikeAssessmentReportIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/{bikeAssessmentReportId}/accept?";if(null==O)throw new Error("The parameter 'bikeAssessmentReportId' must be defined.");Me=Me.replace("{bikeAssessmentReportId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostAcceptByBikeAssessmentReportIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostAcceptByBikeAssessmentReportIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostAcceptByBikeAssessmentReportIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postAskForCallByBikeAssessmentReportIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/{bikeAssessmentReportId}/askForCall?";if(null==O)throw new Error("The parameter 'bikeAssessmentReportId' must be defined.");Me=Me.replace("{bikeAssessmentReportId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostAskForCallByBikeAssessmentReportIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostAskForCallByBikeAssessmentReportIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostAskForCallByBikeAssessmentReportIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postRejectByBikeAssessmentReportIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/{bikeAssessmentReportId}/reject?";if(null==O)throw new Error("The parameter 'bikeAssessmentReportId' must be defined.");Me=Me.replace("{bikeAssessmentReportId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostRejectByBikeAssessmentReportIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostRejectByBikeAssessmentReportIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostRejectByBikeAssessmentReportIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}putByStatusByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/customerServiceRequests/byStatus?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("put",Me,h).pipe((0,t.Z)(w=>this.processPutByStatusByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPutByStatusByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPutByStatusByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Ot.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),L=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByPageAndPageSizeAndApiVersion(O,T,Me){let be=this.baseUrl+"/api/eMotors?";null!=O&&(be+="page="+encodeURIComponent(""+O)+"&"),null!=T&&(be+="pageSize="+encodeURIComponent(""+T)+"&"),null!=Me&&(be+="api-version="+encodeURIComponent(""+Me)+"&"),be=be.replace(/[?&]$/,"");let h={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",be,h).pipe((0,t.Z)(w=>this.processGetByPageAndPageSizeAndApiVersion(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processGetByPageAndPageSizeAndApiVersion(w)}catch(Oe){return(0,x.$)(Oe)}}))}processGetByPageAndPageSizeAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Ln.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),D=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}postByMediaIdAndOwnerIdAndMediaAssignmentAndApiVersionAndFile(O,T,Me,be,h){let w=this.baseUrl+"/api/media/{mediaId}?";if(null==O)throw new Error("The parameter 'mediaId' must be defined.");w=w.replace("{mediaId}",encodeURIComponent(""+O)),null!=T&&(w+="ownerId="+encodeURIComponent(""+T)+"&"),null!=Me&&(w+="mediaAssignment="+encodeURIComponent(""+Me)+"&"),null!=be&&(w+="api-version="+encodeURIComponent(""+be)+"&"),w=w.replace(/[?&]$/,"");const Oe=new FormData;null!=h&&Oe.append("file",h.data,h.fileName?h.fileName:"file");let en={body:Oe,observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("post",w,en).pipe((0,t.Z)(Kn=>
1this.processPostByMediaIdAndOwnerIdAndMediaAssignmentAndApiVersionAndFile(Kn))).pipe((0,c.W)(Kn=>{if(!(Kn instanceof v.xB))return(0,x.$)(Kn);try{return this.processPostByMediaIdAndOwnerIdAndMediaAssignmentAndApiVersionAndFile(Kn)}catch(xi){return(0,x.$)(xi)}}))}processPostByMediaIdAndOwnerIdAndMediaAssignmentAndApiVersionAndFile(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/media/{id}?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",Me,be).pipe((0,t.Z)(h=>this.processDeleteByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processDeleteByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processDeleteByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getAllMediaByOwnerIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/media/{ownerId}/allMedia?";if(null==O)throw new Error("The parameter 'ownerId' must be defined.");Me=Me.replace("{ownerId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetAllMediaByOwnerIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetAllMediaByOwnerIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetAllMediaByOwnerIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Ae.fromJS(en))}else w=null;return(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Ae.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),R=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}postByCustomerServiceRequestIdAndApiVersionAndBody(O,T,Me){let be=this.baseUrl+"/api/messages/{customerServiceRequestId}?";if(null==O)throw new Error("The parameter 'customerServiceRequestId' must be defined.");be=be.replace("{customerServiceRequestId}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");let w={body:JSON.stringify(Me),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json"})};return this.http.request("post",be,w).pipe((0,t.Z)(Oe=>this.processPostByCustomerServiceRequestIdAndApiVersionAndBody(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPostByCustomerServiceRequestIdAndApiVersionAndBody(Oe)}catch(en){return(0,x.$)(en)}}))}processPostByCustomerServiceRequestIdAndApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postViewMessagesByCustomerServiceRequestIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/messages/{customerServiceRequestId}/viewMessages?";if(null==O)throw new Error("The parameter 'customerServiceRequestId' must be defined.");Me=Me.replace("{customerServiceRequestId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostViewMessagesByCustomerServiceRequestIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostViewMessagesByCustomerServiceRequestIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostViewMessagesByCustomerServiceRequestIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),S=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByApiVersion(O){let T=this.baseUrl+"/api/notifications?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(X.fromJS(en))}else w=null;return(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(X.fromJS(en))}else w=null;return(0,m.of)(w)}
1)):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}patchReadAllByApiVersion(O){let T=this.baseUrl+"/api/notifications/read-all?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("patch",T,Me).pipe((0,t.Z)(be=>this.processPatchReadAllByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processPatchReadAllByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processPatchReadAllByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),H=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByApiVersion(O){let T=this.baseUrl+"/api/serviceDefinitions?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(wt.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),J=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}putByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/shops?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("put",Me,h).pipe((0,t.Z)(w=>this.processPutByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPutByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPutByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)}
1)):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getByApiVersion(O){let T=this.baseUrl+"/api/shops?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ot.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}putChangeProfileLanguageByLanguageAndApiVersion(O,T){let Me=this.baseUrl+"/api/shops/changeProfileLanguage?";null!=O&&(Me+="language="+encodeURIComponent(""+O)+"&"),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("put",Me,be).pipe((0,t.Z)(h=>this.processPutChangeProfileLanguageByLanguageAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPutChangeProfileLanguageByLanguageAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPutChangeProfileLanguageByLanguageAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getIsShopProfileCompletedByApiVersion(O){let T=this.baseUrl+"/api/shops/is-shop-profile-completed?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetIsShopProfileCompletedByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetIsShopProfileCompletedByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetIsShopProfileCompletedByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)}
1)):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postShopReplyByShopServiceRequestIdAndApiVersionAndBody(O,T,Me){let be=this.baseUrl+"/api/shops/{shopServiceRequestId}/shopReply?";if(null==O)throw new Error("The parameter 'shopServiceRequestId' must be defined.");be=be.replace("{shopServiceRequestId}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");let w={body:JSON.stringify(Me),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json"})};return this.http.request("post",be,w).pipe((0,t.Z)(Oe=>this.processPostShopReplyByShopServiceRequestIdAndApiVersionAndBody(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPostShopReplyByShopServiceRequestIdAndApiVersionAndBody(Oe)}catch(en){return(0,x.$)(en)}}))}processPostShopReplyByShopServiceRequestIdAndApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getInformationByApiVersion(O){let T=this.baseUrl+"/api/shops/information?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",T,Me).pipe((0,t.Z)(be=>this.processGetInformationByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processGetInformationByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processGetInformationByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ot.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postProfilePictureByApiVersionAndFile(O,T){let Me=this.baseUrl+"/api/shops/profile-picture?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");const be=new FormData;null!=T&&be.append("file",T.data,T.fileName?T.fileName:"file");let h={body:be,observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("post",Me,h).pipe((0,t.Z)(w=>this.processPostProfilePictureByApiVersionAndFile(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostProfilePictureByApiVersionAndFile(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostProfilePictureByApiVersionAndFile(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ot.fromJS(Oe),(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=ot.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteProfilePictureByApiVersion(O){let T=this.baseUrl+"/api/shops/profile-picture?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("delete",T,Me).pipe((0,t.Z)(be=>this.processDeleteProfilePictureByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processDeleteProfilePictureByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processDeleteProfilePictureByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}deleteProfileByApiVersion(O){let T=this.baseUrl+"/api/shops/profile?";null!=O&&(T+="api-version="+encodeURIComponent(""+O)+"&"),T=T.replace(/[?&]$/,"");let Me={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("delete",T,Me).pipe((0,t.Z)(be=>this.processDeleteProfileByApiVersion(be))).pipe((0,c.W)(be=>{if(!(be instanceof v.xB))return(0,x.$)(be);try{return this.processDeleteProfileByApiVersion(be)}catch(h){return(0,x.$)(h)}}))}processDeleteProfileByApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})(),Y=(()=>{class Ht extends N{constructor(O,T){super(),this.jsonParseReviver=void 0,this.http=O,this.baseUrl=T??""}getByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/shopServiceRequests/{id}?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Pt.fromJS(Oe),(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postConfirmBikeDeliveryByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/shopServiceRequests/{id}/confirmBikeDelivery?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostConfirmBikeDeliveryByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostConfirmBikeDeliveryByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostConfirmBikeDeliveryByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postCreateReportByIdAndApiVersionAndBody(O,T,Me){let be=this.baseUrl+"/api/shopServiceRequests/{id}/createReport?";if(null==O)throw new Error("The parameter 'id' must be defined.");be=be.replace("{id}",encodeURIComponent(""+O)),null!=T&&(be+="api-version="+encodeURIComponent(""+T)+"&"),be=be.replace(/[?&]$/,"");let w={body:JSON.stringify(Me),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json"})};return this.http.request("post",be,w).pipe((0,t.Z)(Oe=>this.processPostCreateReportByIdAndApiVersionAndBody(Oe))).pipe((0,c.W)(Oe=>{if(!(Oe instanceof v.xB))return(0,x.$)(Oe);try{return this.processPostCreateReportByIdAndApiVersionAndBody(Oe)}catch(en){return(0,x.$)(en)}}))}processPostCreateReportByIdAndApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}putByStatusByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/shopServiceRequests/byStatus?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("put",Me,h).pipe((0,t.Z)(w=>this.processPutByStatusByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPutByStatusByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPutByStatusByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};
1if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Pt.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}getShopServiceRequestsByShopIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/shopServiceRequests/{shopId}/shopServiceRequests?";if(null==O)throw new Error("The parameter 'shopId' must be defined.");Me=Me.replace("{shopId}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({Accept:"application/json"})};return this.http.request("get",Me,be).pipe((0,t.Z)(h=>this.processGetShopServiceRequestsByShopIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processGetShopServiceRequestsByShopIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processGetShopServiceRequestsByShopIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);if(Array.isArray(Oe)){w=[];for(let en of Oe)w.push(Pt.fromJS(en))}else w=null;return(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postCreateBikeAssessmentReportByApiVersionAndBody(O,T){let Me=this.baseUrl+"/api/shopServiceRequests/createBikeAssessmentReport?";null!=O&&(Me+="api-version="+encodeURIComponent(""+O)+"&"),Me=Me.replace(/[?&]$/,"");let h={body:JSON.stringify(T),observe:"response",responseType:"blob",headers:new v.Lr({"Content-Type":"application/json",Accept:"application/json"})};return this.http.request("post",Me,h).pipe((0,t.Z)(w=>this.processPostCreateBikeAssessmentReportByApiVersionAndBody(w))).pipe((0,c.W)(w=>{if(!(w instanceof v.xB))return(0,x.$)(w);try{return this.processPostCreateBikeAssessmentReportByApiVersionAndBody(w)}catch(Oe){return(0,x.$)(Oe)}}))}processPostCreateBikeAssessmentReportByApiVersionAndBody(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>
1Dt("Internal Server Error",T,h,be))):200===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=void 0!==Oe?Oe:null,(0,m.of)(w)})):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}postStartFixingBikeByIdAndApiVersion(O,T){let Me=this.baseUrl+"/api/shopServiceRequests/{id}/startFixingBike?";if(null==O)throw new Error("The parameter 'id' must be defined.");Me=Me.replace("{id}",encodeURIComponent(""+O)),null!=T&&(Me+="api-version="+encodeURIComponent(""+T)+"&"),Me=Me.replace(/[?&]$/,"");let be={observe:"response",responseType:"blob",headers:new v.Lr({})};return this.http.request("post",Me,be).pipe((0,t.Z)(h=>this.processPostStartFixingBikeByIdAndApiVersion(h))).pipe((0,c.W)(h=>{if(!(h instanceof v.xB))return(0,x.$)(h);try{return this.processPostStartFixingBikeByIdAndApiVersion(h)}catch(w){return(0,x.$)(w)}}))}processPostStartFixingBikeByIdAndApiVersion(O){const T=O.status,Me=O instanceof v.cS?O.body:O.error instanceof Blob?O.error:void 0;let be={};if(O.headers)for(let h of O.headers.keys())be[h]=O.headers.get(h);return 201===T?it(Me).pipe((0,t.Z)(h=>(0,m.of)(null))):400===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Bad Request",T,h,be,w)})):403===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Forbidden",T,h,be,w)})):404===T?it(Me).pipe((0,t.Z)(h=>{let w=null,Oe=""===h?null:JSON.parse(h,this.jsonParseReviver);return w=Bt.fromJS(Oe),Dt("Not Found",T,h,be,w)})):500===T?it(Me).pipe((0,t.Z)(h=>Dt("Internal Server Error",T,h,be))):200!==T&&204!==T?it(Me).pipe((0,t.Z)(h=>Dt("An unexpected server error occurred.",T,h,be))):(0,m.of)(null)}static#e=this.\u0275fac=function(T){return new(T||Ht)(b.KVO(v.Qq),b.KVO(M,8))};static#t=this.\u0275prov=b.jDH({token:Ht,factory:Ht.\u0275fac,providedIn:"root"})}return Ht})();class W{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.countryId=d.countryId,this.street=d.street,this.streetNumber=d.streetNumber,this.city=d.city,this.zipcode=d.zipcode,this.phone=d.phone,this.mobilePhoneCountryId=d.mobilePhoneCountryId,this.phoneCountryId=d.phoneCountryId,this.mobilePhone=d.mobilePhone,this.longitude=d.longitude,this.latitude=d.latitude,this.country=d.country?yt.fromJS(d.country):void 0,this.mobilePhoneCountry=d.mobilePhoneCountry?yt.fromJS(d.mobilePhoneCountry):void 0,this.phoneCountry=d.phoneCountry?yt.fromJS(d.phoneCountry):void 0)}static fromJS(d){d="object"==typeof d?d:{};let O=new W;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).countryId=this.countryId,d.street=this.street,d.streetNumber=this.streetNumber,d.city=this.city,d.zipcode=this.zipcode,d.phone=this.phone,d.mobilePhoneCountryId=this.mobilePhoneCountryId,d.phoneCountryId=this.phoneCountryId,d.mobilePhone=this.mobilePhone,d.longitude=this.longitude,d.latitude=this.latitude,d.country=this.country?this.country.toJSON():void 0,d.mobilePhoneCountry=this.mobilePhoneCountry?this.mobilePhoneCountry.toJSON():void 0,d.phoneCountry=this.phoneCountry?this.phoneCountry.toJSON():void 0,d}}class re{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.countryId=d.countryId,this.street=d.street,this.streetNumber=d.streetNumber,this.city=d.city,this.zipcode=d.zipcode,this.phone=d.phone,this.mobilePhoneCountryId=d.mobilePhoneCountryId,this.phoneCountryId=d.phoneCountryId,this.mobilePhone=d.mobilePhone,this.longitude=d.longitude,this.latitude=d.latitude,this.country=d.country?yt.fromJS(d.country):void 0,this.mobilePhoneCountry=d.mobilePhoneCountry?yt.fromJS(d.mobilePhoneCountry):void 0,this.phoneCountry=d.phoneCountry?yt.fromJS(d.phoneCountry):void 0,this.id=d.id)}static fromJS(d){d="object"==typeof d?d:{};let O=new re;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).countryId=this.countryId,d.street=this.street,d.streetNumber=this.streetNumber,d.city=this.city,d.zipcode=this.zipcode,d.phone=this.phone,d.mobilePhoneCountryId=this.mobilePhoneCountryId,d.phoneCountryId=this.phoneCountryId,d.mobilePhone=this.mobilePhone,d.longitude=this.longitude,d.latitude=this.latitude,d.country=this.country?this.country.toJSON():void 0,d.mobilePhoneCountry=this.mobilePhoneCountry?this.mobilePhoneCountry.toJSON():void 0,d.phoneCountry=this.phoneCountry?this.phoneCountry.toJSON():void 0,d.id=this.id,d}}class le{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.shopServiceJobId=d.shopServiceJobId,this.serviceAddress=d.serviceAddress?re.fromJS(d.serviceAddress):void 0,this.shopAddress=d.shopAddress?re.fromJS(d.shopAddress):void 0,this.customerServiceRequestStatus=d.customerServiceRequestStatus,this.shopServiceRequestStatus=d.shopServiceRequestStatus,this.serviceNumber=d.serviceNumber,this.shopAccountNumber=d.shopAccountNumber,this.customerAccountNumber=d.customerAccountNumber,this.shopName=d.shopName,this.customerFirstName=d.customerFirstName,this.customerLastName=d.customerLastName,this.closedComment=d.closedComment,this.closed=d.closed,this.closedUrl=d.closedUrl,this.created=d.created?new Date(d.created.toString()):void 0)}static fromJS(d){d="object"==typeof d?d:{};let O=new le;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).shopServiceJobId=this.shopServiceJobId,d.serviceAddress=this.serviceAddress?this.serviceAddress.toJSON():void 0,d.shopAddress=this.shopAddress?this.shopAddress.toJSON():void 0,d.customerServiceRequestStatus=this.customerServiceRequestStatus,d.shopServiceRequestStatus=this.shopServiceRequestStatus,d.serviceNumber=this.serviceNumber,d.shopAccountNumber=this.shopAccountNumber,d.customerAccountNumber=this.customerAccountNumber,d.shopName=this.shopName,d.customerFirstName=this.customerFirstName,d.customerLastName=this.customerLastName,d.closedComment=this.closedComment,d.closed=this.closed,d.closedUrl=this.closedUrl,d.created=this.created?this.created.toISOString():void 0,d}}class Re{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.comment=d.comment,this.price=d.price,this.mediaId=d.mediaId,this.jobEndDate=d.jobEndDate?new Date(d.jobEndDate.toString()):void 0,Array.isArray(d.mediaToUpload)){this.mediaToUpload=[];for(let O of d.mediaToUpload)this.mediaToUpload.push(O)}this.shopServiceRequestId=d.shopServiceRequestId}}static fromJS(d){d="object"==typeof d?d:{};let O=new Re;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).comment=this.comment,d.price=this.price,d.mediaId=this.mediaId,d.jobEndDate=this.jobEndDate?this.jobEndDate.toISOString():void 0,Array.isArray(this.mediaToUpload)){d.mediaToUpload=[];for(let O of this.mediaToUpload)d.mediaToUpload.push(O)}return d.shopServiceRequestId=this.shopServiceRequestId,d}}class Be{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.comment=d.comment,this.price=d.price,this.mediaId=d.mediaId,this.jobEndDate=d.jobEndDate?new Date(d.jobEndDate.toString()):void 0,this.id=d.id,Array.isArray(d.media)){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}this.bikeAssessmentReportStatus=d.bikeAssessmentReportStatus,this.created=d.created?new Date(d.created.toString()):void 0}}static fromJS(d){d="object"==typeof d?d:{};let O=new Be;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).comment=this.comment,d.price=this.price,d.mediaId=this.mediaId,d.jobEndDate=this.jobEndDate?this.jobEndDate.toISOString():void 0,d.id=this.id,Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}return d.bikeAssessmentReportStatus=this.bikeAssessmentReportStatus,d.created=this.created?this.created.toISOString():void 0,d}}var Fe=function(Ht){return Ht.NotSet="NotSet",Ht.Accepted="Accepted",Ht.CustomerRejected="CustomerRejected",Ht.CustomerAskForCall="CustomerAskForCall",Ht.WaitingForAnswer="WaitingForAnswer",Ht.ShopCanceled="ShopCanceled",Ht}(Fe||{});class ue{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.frame=d.frame,this.fork=d.fork,this.bottomBracket=d.bottomBracket,this.headset=d.headset,this.stem=d.stem,this.handlebar=d.handlebar,this.saddle=d.saddle,this.seatpost=d.seatpost,this.pedals=d.pedals,this.rims=d.rims,this.frontHub=d.frontHub,this.rearHub=d.rearHub,this.tires=d.tires,this.crank=d.crank,this.shifters=d.shifters,this.cassette=d.cassette,this.chain=d.chain,this.brakes=d.brakes,this.brakeLevers=d.brakeLevers,this.motor=d.motor,this.battery=d.battery)}static fromJS(d){d="object"==typeof d?d:{};let O=new ue;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).frame=this.frame,d.fork=this.fork,d.bottomBracket=this.bottomBracket,d.headset=this.headset,d.stem=this.stem,d.handlebar=this.handlebar,d.saddle=this.saddle,d.seatpost=this.seatpost,d.pedals=this.pedals,d.rims=this.rims,d.frontHub=this.frontHub,d.rearHub=this.rearHub,d.tires=this.tires,d.crank=this.crank,d.shifters=this.shifters,d.cassette=this.cassette,d.chain=this.chain,d.brakes=this.brakes,d.brakeLevers=this.brakeLevers,d.motor=this.motor,d.battery=this.battery,d}}class ce{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.frame=d.frame,this.fork=d.fork,this.bottomBracket=d.bottomBracket,this.headset=d.headset,this.stem=d.stem,this.handlebar=d.handlebar,this.saddle=d.saddle,this.seatpost=d.seatpost,this.pedals=d.pedals,this.rims=d.rims,this.frontHub=d.frontHub,this.rearHub=d.rearHub,this.tires=d.tires,this.crank=d.crank,this.shifters=d.shifters,this.cassette=d.cassette,this.chain=d.chain,this.brakes=d.brakes,this.brakeLevers=d.brakeLevers,this.motor=d.motor,this.battery=d.battery)}static fromJS(d){d="object"==typeof d?d:{};let O=new ce;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).frame=this.frame,d.fork=this.fork,d.bottomBracket=this.bottomBracket,d.headset=this.headset,d.stem=this.stem,d.handlebar=this.handlebar,d.saddle=this.saddle,d.seatpost=this.seatpost,d.pedals=this.pedals,d.rims=this.rims,d.frontHub=this.frontHub,d.rearHub=this.rearHub,d.tires=this.tires,d.crank=this.crank,d.shifters=this.shifters,d.cassette=this.cassette,d.chain=this.chain,d.brakes=this.brakes,d.brakeLevers=this.brakeLevers,d.motor=this.motor,d.battery=this.battery,d}}class _e{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.bikeTypeId=d.bikeTypeId,this.brandId=d.brandId,this.eMotorId=d.eMotorId,this.year=d.year,this.isEBike=d.isEBike,this.model=d.model,this.nickname=d.nickname,this.comments=d.comments,this.custom=d.custom,this.bikeDetails=d.bikeDetails?ue.fromJS(d.bikeDetails):void 0,this.brandName=d.brandName,this.bikeTypeName=d.bikeTypeName,this.eMotorName=d.eMotorName,this.bikeAvatar=d.bikeAvatar,this.bike99SpokesId=d.bike99SpokesId)}static fromJS(d){d="object"==typeof d?d:{};let O=new _e;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).bikeTypeId=this.bikeTypeId,d.brandId=this.brandId,d.eMotorId=this.eMotorId,d.year=this.year,d.isEBike=this.isEBike,d.model=this.model,d.nickname=this.nickname,d.comments=this.comments,d.custom=this.custom,d.bikeDetails=this.bikeDetails?this.bikeDetails.toJSON():void 0,d.brandName=this.brandName,d.bikeTypeName=this.bikeTypeName,d.eMotorName=this.eMotorName,d.bikeAvatar=this.bikeAvatar,d.bike99SpokesId=this.bike99SpokesId,d}}class ne{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.bikeTypeId=d.bikeTypeId,this.brandId=d.brandId,this.eMotorId=d.eMotorId,this.year=d.year,this.isEBike=d.isEBike,this.model=d.model,this.nickname=d.nickname,this.comments=d.comments,this.custom=d.custom,this.id=d.id,this.bikeType=d.bikeType?ve.fromJS(d.bikeType):void 0,this.brand=d.brand?Ie.fromJS(d.brand):void 0,this.eMotor=d.eMotor?ln.fromJS(d.eMotor):void 0,Array.isArray(d.media)){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}if(Array.isArray(d.customerServiceRequests)){this.customerServiceRequests=[];for(let O of d.customerServiceRequests)this.customerServiceRequests.push(Ot.fromJS(O))}this.bikeDetails=d.bikeDetails?ce.fromJS(d.bikeDetails):void 0,this.bikeAvatar=d.bikeAvatar}}static fromJS(d){d="object"==typeof d?d:{};let O=new ne;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).bikeTypeId=this.bikeTypeId,d.brandId=this.brandId,d.eMotorId=this.eMotorId,d.year=this.year,d.isEBike=this.isEBike,d.model=this.model,d.nickname=this.nickname,d.comments=this.comments,d.custom=this.custom,d.id=this.id,d.bikeType=this.bikeType?this.bikeType.toJSON():void 0,d.brand=this.brand?this.brand.toJSON():void 0,d.eMotor=this.eMotor?this.eMotor.toJSON():void 0,Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}if(Array.isArray(this.customerServiceRequests)){d.customerServiceRequests=[];for(let O of this.customerServiceRequests)d.customerServiceRequests.push(O.toJSON())}return d.bikeDetails=this.bikeDetails?this.bikeDetails.toJSON():void 0,d.bikeAvatar=this.bikeAvatar,d}}var Z=function(Ht){return Ht.NotSet="NotSet",Ht.Bikes="Bikes",Ht.EBikes="EBikes",Ht.SpecialsBikes="SpecialsBikes",Ht}(Z||{});class ve{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.name=d.name,this.isEBike=d.isEBike,this.id=d.id,this.bikeTypeCategory=d.bikeTypeCategory,this.selected=d.selected)}static fromJS(d){d="object"==typeof d?d:{};let O=new ve;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).name=this.name,d.isEBike=this.isEBike,d.id=this.id,d.bikeTypeCategory=this.bikeTypeCategory,d.selected=this.selected,d}}class ke{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.currentPage=d.currentPage,this.currentPageCount=d.currentPageCount,this.hasNextPage=d.hasNextPage,this.pageSize=d.pageSize,Array.isArray(d.results)){this.results=[];for(let O of d.results)this.results.push(ve.fromJS(O))}this.totalCount=d.totalCount,this.totalPages=d.totalPages}}static fromJS(d){d="object"==typeof d?d:{};let O=new ke;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).currentPage=this.currentPage,d.currentPageCount=this.currentPageCount,d.hasNextPage=this.hasNextPage,d.pageSize=this.pageSize,Array.isArray(this.results)){d.results=[];for(let O of this.results)d.results.push(O.toJSON())}return d.totalCount=this.totalCount,d.totalPages=this.totalPages,d}}var Ne=function(Ht){return Ht.NotSet="NotSet",Ht.TopLeft="TopLeft",Ht.BottomLeft="BottomLeft",Ht.TopRight="TopRight",Ht.BottomRight="BottomRight",Ht.LeftCenter="LeftCenter",Ht.TopCenter="TopCenter",Ht.BottomCenter="BottomCenter",Ht.RightCenter="RightCenter",Ht}(Ne||{});class Ie{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.name=d.name,this.description=d.description?Ze.fromJS(d.description):void 0,this.url=d.url?Ze.fromJS(d.url):void 0)}static fromJS(d){d="object"==typeof d?d:{};let O=new Ie;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.name=this.name,d.description=this.description?this.description.toJSON():void 0,d.url=this.url?this.url.toJSON():void 0,d}}class De{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.currentPage=d.currentPage,this.currentPageCount=d.currentPageCount,this.hasNextPage=d.hasNextPage,this.pageSize=d.pageSize,Array.isArray(d.results)){this.results=[];for(let O of d.results)this.results.push(Ie.fromJS(O))}this.totalCount=d.totalCount,this.totalPages=d.totalPages}}static fromJS(d){d="object"==typeof d?d:{};let O=new De;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).currentPage=this.currentPage,d.currentPageCount=this.currentPageCount,d.hasNextPage=this.hasNextPage,d.pageSize=this.pageSize,Array.isArray(this.results)){d.results=[];for(let O of this.results)d.results.push(O.toJSON())}return d.totalCount=this.totalCount,d.totalPages=this.totalPages,d}}class et{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.comment=d.comment,this.url=d.url)}static fromJS(d){d="object"==typeof d?d:{};let O=new et;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).comment=this.comment,d.url=this.url,d}}class yt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.name=d.name?Ze.fromJS(d.name):void 0,this.flagImage=d.flagImage,this.isoCode
1=d.isoCode,this.id=d.id,this.numberCode=d.numberCode)}static fromJS(d){d="object"==typeof d?d:{};let O=new yt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).name=this.name?this.name.toJSON():void 0,d.flagImage=this.flagImage,d.isoCode=this.isoCode,d.id=this.id,d.numberCode=this.numberCode,d}}class dt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.currentPage=d.currentPage,this.currentPageCount=d.currentPageCount,this.hasNextPage=d.hasNextPage,this.pageSize=d.pageSize,Array.isArray(d.results)){this.results=[];for(let O of d.results)this.results.push(yt.fromJS(O))}this.totalCount=d.totalCount,this.totalPages=d.totalPages}}static fromJS(d){d="object"==typeof d?d:{};let O=new dt;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).currentPage=this.currentPage,d.currentPageCount=this.currentPageCount,d.hasNextPage=this.hasNextPage,d.pageSize=this.pageSize,Array.isArray(this.results)){d.results=[];for(let O of this.results)d.results.push(O.toJSON())}return d.totalCount=this.totalCount,d.totalPages=this.totalPages,d}}class Je{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.name=d.name?Ze.fromJS(d.name):void 0,this.isoCode=d.isoCode)}static fromJS(d){d="object"==typeof d?d:{};let O=new Je;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.name=this.name?this.name.toJSON():void 0,d.isoCode=this.isoCode,d}}class Ce{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.currentPage=d.currentPage,this.currentPageCount=d.currentPageCount,this.hasNextPage=d.hasNextPage,this.pageSize=d.pageSize,Array.isArray(d.results)){this.results=[];for(let O of d.results)this.results.push(Je.fromJS(O))}this.totalCount=d.totalCount,this.totalPages=d.totalPages}}static fromJS(d){d="object"==typeof d?d:{};let O=new Ce;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).currentPage=this.currentPage,d.currentPageCount=this.currentPageCount,d.hasNextPage=this.hasNextPage,d.pageSize=this.pageSize,Array.isArray(this.results)){d.results=[];for(let O of this.results)d.results.push(O.toJSON())}return d.totalCount=this.totalCount,d.totalPages=this.totalPages,d}}class Ee{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.firstname=d.firstname,this.lastname=d.lastname,this.email=d.email,this.language=d.language,this.messenger=d.messenger,this.notificationSettings=d.notificationSettings?Ve.fromJS(d.notificationSettings):void 0,this.accountNumber=d.accountNumber,this.id=d.id,this.address=d.address?re.fromJS(d.address):void 0,this.\u0441ompletedProfile=d.\u0441ompletedProfile,this.profilePicture=d.profilePicture,Array.isArray(d.notifications)){this.notifications=[];for(let O of d.notifications)this.notifications.push(X.fromJS(O))}this.profileCreated=d.profileCreated}}static fromJS(d){d="object"==typeof d?d:{};let O=new Ee;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).firstname=this.firstname,d.lastname=this.lastname,d.email=this.email,d.language=this.language,d.messenger=this.messenger,d.notificationSettings=this.notificationSettings?this.notificationSettings.toJSON():void 0,d.accountNumber=this.accountNumber,d.id=this.id,d.address=this.address?this.address.toJSON():void 0,d.\u0441ompletedProfile=this.\u0441ompletedProfile,d.profilePicture=this.profilePicture,Array.isArray(this.notifications)){d.notifications=[];for(let O of this.notifications)d.notifications.push(O.toJSON())}return d.profileCreated=this.profileCreated,d}}class He{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.serviceDefinitionId=d.serviceDefinitionId,this.bikeId=d.bikeId,this.description=d.description,this.spendingLimit=d.spendingLimit,this.currencyId=d.currencyId,this.mediaId=d.mediaId,this.requestedPickUpDate=d.requestedPickUpDate?new Date(d.requestedPickUpDate.toString()):void 0,this.pickUpService=d.pickUpService,this.serviceDefinition=d.serviceDefinition?wt.fromJS(d.serviceDefinition):void 0,this.currency=d.currency?Je.fromJS(d.currency):void 0,this.address=d.address?W.fromJS(d.address):void 0,Array.isArray(d.mediaToUpload)){this.mediaToUpload=[];for(let O of d.mediaToUpload)this.mediaToUpload.push(O)}this.isDraft=d.isDraft,this.bikeModel=d.bikeModel?_e.fromJS(d.bikeModel):void 0}}static fromJS(d){d="object"==typeof d?d:{};let O=new He;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).serviceDefinitionId=this.serviceDefinitionId,d.bikeId=this.bikeId,d.description=this.description,d.spendingLimit=this.spendingLimit,d.currencyId=this.currencyId,d.mediaId=this.mediaId,d.requestedPickUpDate=this.requestedPickUpDate?this.requestedPickUpDate.toISOString():void 0,d.pickUpService=this.pickUpService,d.serviceDefinition=this.serviceDefinition?this.serviceDefinition.toJSON():void 0,d.currency=this.currency?this.currency.toJSON():void 0,d.address=this.address?this.address.toJSON():void 0,Array.isArray(this.mediaToUpload)){d.mediaToUpload=[];for(let O of this.mediaToUpload)d.mediaToUpload.push(O)}return d.isDraft=this.isDraft,d.bikeModel=this.bikeModel?this.bikeModel.toJSON():void 0,d}}class Ot{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.serviceDefinitionId=d.serviceDefinitionId,this.bikeId=d.bikeId,this.description=d.description,this.spendingLimit=d.spendingLimit,this.currencyId=d.currencyId,this.mediaId=d.mediaId,this.requestedPickUpDate=d.requestedPickUpDate?new Date(d.requestedPickUpDate.toString()):void 0,this.pickUpService=d.pickUpService,this.serviceDefinition=d.serviceDefinition?wt.fromJS(d.serviceDefinition):void 0,this.currency=d.currency?Je.fromJS(d.currency):void 0,this.number=d.number,this.id=d.id,this.status=d.status,this.paymentDetails=d.paymentDetails?at.fromJS(d.paymentDetails):void 0,this.customer=d.customer?Ee.fromJS(d.customer):void 0,this.bike=d.bike?ne.fromJS(d.bike):void 0,Array.isArray(d.media)){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}if(Array.isArray(d.messages)){this.messages=[];for(let O of d.messages)this.messages.push(Wt.fromJS(O))}if(this.shopServiceJobReport=d.shopServiceJobReport?jn.fromJS(d.shopServiceJobReport):void 0,Array.isArray(d.shopServiceRequestReplies)){this.shopServiceRequestReplies=[];for(let O of d.shopServiceRequestReplies)this.shopServiceRequestReplies.push(Jt.fromJS(O))}if(this.shopServiceRequestQrCode=d.shopServiceRequestQrCode,this.shopName=d.shopName,this.shopPicture=d.shopPicture,this.pickUpServicePrice=d.pickUpServicePrice,this.servicePrice=d.servicePrice,this.created=d.created?new Date(d.created.toString()):void 0,this.modified=d.modified?new Date(d.modified.toString()):void 0,this.address=d.address?re.fromJS(d.address):void 0,Array.isArray(d.bikeAssessmentReports)){this.bikeAssessmentReports=[];for(let O of d.bikeAssessmentReports)this.bikeAssessmentReports.push(Be.fromJS(O))}}}static fromJS(d){d="object"==typeof d?d:{};let O=new Ot;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).serviceDefinitionId=this.serviceDefinitionId,d.bikeId=this.bikeId,d.description=this.description,d.spendingLimit=this.spendingLimit,d.currencyId=this.currencyId,d.mediaId=this.mediaId,d.requestedPickUpDate=this.requestedPickUpDate?this.requestedPickUpDate.toISOString():void 0,d.pickUpService=this.pickUpService,d.serviceDefinition=this.serviceDefinition?this.serviceDefinition.toJSON():void 0,d.currency=this.currency?this.currency.toJSON():void 0,d.number=this.number,d.id=this.id,d.status=this.status,d.paymentDetails=this.paymentDetails?this.paymentDetails.toJSON():void 0,d.customer=this.customer?this.customer.toJSON():void 0,d.bike=this.bike?this.bike.toJSON():void 0,Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}if(Array.isArray(this.messages)){d.messages=[];for(let O of this.messages)d.messages.push(O.toJSON())}if(d.shopServiceJobReport=this.shopServiceJobReport?this.shopServiceJobReport.toJSON():void 0,Array.isArray(this.shopServiceRequestReplies)){d.shopServiceRequestReplies=[];for(let O of this.shopServiceRequestReplies)d.shopServiceRequestReplies.push(O.toJSON())}if(d.shopServiceRequestQrCode=this.shopServiceRequestQrCode,d.shopName=this.shopName,d.shopPicture=this.shopPicture,d.pickUpServicePrice=this.pickUpServicePrice,d.servicePrice=this.servicePrice,d.created=this.created?this.created.toISOString():void 0,d.modified=this.modified?this.modified.toISOString():void 0,d.address=this.address?this.address.toJSON():void 0,Array.isArray(this.bikeAssessmentReports)){d.bikeAssessmentReports=[];for(let O of this.bikeAssessmentReports)d.bikeAssessmentReports.push(O.toJSON())}return d}}var It=function(Ht){return Ht.Undefined="Undefined",Ht.Draft="Draft",Ht.WaitingForOffers="WaitingForOffers",Ht.OffersReceived="OffersReceived",Ht.WaitingForDelivery="WaitingForDelivery",Ht.AssessingBike="AssessingBike",Ht.AssessingCompleted="AssessingCompleted",Ht.InProgress="InProgress",Ht.WaitingForPayment="WaitingForPayment",Ht.WaitingForPickUp="WaitingForPickUp",Ht.Finished="Finished",Ht.NoOffers="NoOffers",Ht.Closed="Closed",Ht.Deleted="Deleted",Ht.ClosedByCyclix="ClosedByCyclix",Ht}(It||{}),un=function(Ht){return Ht.Sunday="Sunday",Ht.Monday="Monday",Ht.Tuesday="Tuesday",Ht.Wednesday="Wednesday",Ht.Thursday="Thursday",Ht.Friday="Friday",Ht.Saturday="Saturday",Ht}(un||{});class ln{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.name=d.name,this.selected=d.selected)}static fromJS(d){d="object"==typeof d?d:{};let O=new ln;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.name=this.name,d.selected=this.selected,d}}class Ln{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.currentPage=d.currentPage,this.currentPageCount=d.currentPageCount,this.hasNextPage=d.hasNextPage,this.pageSize=d.pageSize,Array.isArray(d.results)){this.results=[];for(let O of d.results)this.results.push(ln.fromJS(O))}this.totalCount=d.totalCount,this.totalPages=d.totalPages}}static fromJS(d){d="object"==typeof d?d:{};let O=new Ln;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).currentPage=this.currentPage,d.currentPageCount=this.currentPageCount,d.hasNextPage=this.hasNextPage,d.pageSize=this.pageSize,Array.isArray(this.results)){d.results=[];for(let O of this.results)d.results.push(O.toJSON())}return d.totalCount=this.totalCount,d.totalPages=this.totalPages,d}}class Zt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.shopRanking=d.shopRanking,this.cyclixRanking=d.cyclixRanking,this.shopMessage=d.shopMessage,this.cyclixMessage=d.cyclixMessage)}static fromJS(d){d="object"==typeof d?d:{};let O=new Zt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).shopRanking=this.shopRanking,d.cyclixRanking=this.cyclixRanking,d.shopMessage=this.shopMessage,d.cyclixMessage=this.cyclixMessage,d}}var ct=function(Ht){return Ht.Undefined="Undefined",Ht.De="De",Ht.En="En",Ht}(ct||{}),rt=function(Ht){return Ht.NotSet="NotSet",Ht.CustomerServiceRequest="CustomerServiceRequest",Ht.Bike="Bike",Ht.ShopServiceJobReport="ShopServiceJobReport",Ht.Shop="Shop",Ht.BikeAssessmentReport="BikeAssessmentReport",Ht}(rt||{});class Ae{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.position=d.position,this.mediaType=d.mediaType,this.filename=d.filename,this.size=d.size,this.contentType=d.contentType,this.blobName=d.blobName,this.fullImageUri=d.fullImageUri,this.thumbnail=d.thumbnail)}static fromJS(d){d="object"==typeof d?d:{};let O=new Ae;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.position=this.position,d.mediaType=this.mediaType,d.filename=this.filename,d.size=this.size,d.contentType=this.contentType,d.blobName=this.blobName,d.fullImageUri=this.fullImageUri,d.thumbnail=this.thumbnail,d}}var Ke=function(Ht){return Ht.Unknown="Unknown",Ht.Image="Image",Ht.Video="Video",Ht}(Ke||{});class vt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.messageText=d.messageText)}static fromJS(d){d="object"==typeof d?d:{};let O=new vt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).messageText=this.messageText,d}}class Wt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.messageText=d.messageText,this.id=d.id,this.ownerId=d.ownerId,this.createdTime=d.createdTime?new Date(d.createdTime.toString()):void 0,this.sendingError=d.sendingError,this.viewed=d.viewed)}static fromJS(d){d="object"==typeof d?d:{};let O=new Wt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).messageText=this.messageText,d.id=this.id,d.ownerId=this.ownerId,d.createdTime=this.createdTime?this.createdTime.toISOString():void 0,d.sendingError=this.sendingError,d.viewed=this.viewed,d}}var ze=function(Ht){return Ht.NotSet="NotSet",Ht.Sms="Sms",Ht.WhatsApp="WhatsApp",Ht}(ze||{});class pt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.de=d.de,this.en=d.en,this.fr=d.fr,this.it=d.it,this.rm=d.rm)}static fromJS(d){d="object"==typeof d?d:{};let O=new pt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).de=this.de,d.en=this.en,d.fr=this.fr,d.it=this.it,d.rm=this.rm,d}}class Ze{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.de=d.de,this.en=d.en,this.fr=d.fr,this.it=d.it,this.rm=d.rm)}static fromJS(d){d="object"==typeof d?d:{};let O=new Ze;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).de=this.de,d.en=this.en,d.fr=this.fr,d.it=this.it,d.rm=this.rm,d}}class X{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.text=d.text?pt.fromJS(d.text):void 0,this.checked=d.checked,this.role=d.role,this.serviceRequestId=d.serviceRequestId,this.userId=d.userId,this.createdTime=d.createdTime?new Date(d.createdTime.toString()):void 0,this.notificationType=d.notificationType)}static fromJS(d){d="object"==typeof d?d:{};let O=new X;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.text=this.text?this.text.toJSON():void 0,d.checked=this.checked,d.role=this.role,d.serviceRequestId=this.serviceRequestId,d.userId=this.userId,d.createdTime=this.createdTime?this.createdTime.toISOString():void 0,d.notificationType=this.notificationType,d}}class Ve{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.email=d.email,this.sms=d.sms)}static fromJS(d){d="object"==typeof d?d:{};let O=new Ve;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).email=this.email,d.sms=this.sms,d}}var st=function(Ht){return Ht.NotSet="NotSet",Ht.CustomerCreateServiceRequest="CustomerCreateServiceRequest",Ht.NewMessage="NewMessage",Ht.NewService="NewService",Ht.ShopAddShopServiceReply="ShopAddShopServiceReply",Ht.CustomerAcceptedShopServiceReply="CustomerAcceptedShopServiceReply",Ht.ShopCreatedNewOffer="ShopCreatedNewOffer",Ht.ShopCreateReport="ShopCreateReport",Ht.ShopCreateReportWithOutstandingAmount="ShopCreateReportWithOutstandingAmount",Ht.ShopCreateReportAndCustomerShopPay="ShopCreateReportAndCustomerShopPay",Ht.CustomerPaidForService="CustomerPaidForService",Ht.CustomerAskForCall="CustomerAskForCall",Ht.CustomerAcceptedNewOffer="CustomerAcceptedNewOffer",Ht.CustomerRejectedNewOffer="CustomerRejectedNewOffer",Ht.ShopReceivedBike="ShopReceivedBike",Ht.CustomerRefused="CustomerRefused",Ht}(st||{});class at{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d&&(this.paymentLink=d.paymentLink,this.status=d.status,Array.isArray(d.payments))){this.payments=[];for(let O of d.payments)this.payments.push(Te.fromJS(O))}}static fromJS(d){d="object"==typeof d?d:{};let O=new at;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).paymentLink=this.paymentLink,d.status=this.status,Array.isArray(this.payments)){d.payments=[];for(let O of this.payments)d.payments.push(O.toJSON())}return d}}class pe{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.iban=d.iban,this.stipeAccountId=d.stipeAccountId)}static fromJS(d){d="object"==typeof d?d:{};let O=new pe;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).iban=this.iban,d.stipeAccountId=this
1.stipeAccountId,d}}class Te{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.last4=d.last4,this.brand=d.brand,this.operationDate=d.operationDate?new Date(d.operationDate.toString()):void 0,this.amount=d.amount,this.type=d.type,this.currency=d.currency?Je.fromJS(d.currency):void 0)}static fromJS(d){d="object"==typeof d?d:{};let O=new Te;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).last4=this.last4,d.brand=this.brand,d.operationDate=this.operationDate?this.operationDate.toISOString():void 0,d.amount=this.amount,d.type=this.type,d.currency=this.currency?this.currency.toJSON():void 0,d}}var ft=function(Ht){return Ht.NotSet="NotSet",Ht.WaitingForPayment="WaitingForPayment",Ht.ChargeSuccess="ChargeSuccess",Ht.CaptureFail="CaptureFail",Ht.PaymentSuccess="PaymentSuccess",Ht.ChargeFail="ChargeFail",Ht}(ft||{}),At=function(Ht){return Ht.UnSet="UnSet",Ht.Charge="Charge",Ht.CaptureSuccess="CaptureSuccess",Ht.CaptureFail="CaptureFail",Ht.PaymentSuccess="PaymentSuccess",Ht.WaitingForPayment="WaitingForPayment",Ht.Refund="Refund",Ht}(At||{});class Bt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O]);this.type=d.type,this.title=d.title,this.status=d.status,this.detail=d.detail,this.instance=d.instance}}static fromJS(d){d="object"==typeof d?d:{};let O=new Bt;return O.init(d),O}toJSON(d){for(var O in d="object"==typeof d?d:{},this)this.hasOwnProperty(O)&&(d[O]=this[O]);
1return d.type=this.type,d.title=this.title,d.status=this.status,d.detail=this.detail,d.instance=this.instance,d}}var Ut=function(Ht){return Ht.NotSet="NotSet",Ht.NoCapacity="NoCapacity",Ht.BrandDontSupport="BrandDontSupport",Ht.LowCost="LowCost",Ht.TimeExpire="TimeExpire",Ht}(Ut||{}),zt=function(Ht){return Ht.NotSet="NotSet",Ht.Customer="Customer",Ht.Shop="Shop",Ht}(zt||{});class wt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.currencyId=d.currencyId,this.currency=d.currency?Je.fromJS(d.currency):void 0,this.price=d.price,this.description=d.description?Ze.fromJS(d.description):void 0,this.serviceType=d.serviceType?Ze.fromJS(d.serviceType):void 0,this.title=d.title?Ze.fromJS(d.title):void 0,this.position=d.position,this.isActive=d.isActive,this.isDefault=d.isDefault,this.isCustom=d.isCustom)}static fromJS(d){d="object"==typeof d?d:{};let O=new wt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.currencyId=this.currencyId,d.currency=this.currency?this.currency.toJSON():void 0,d.price=this.price,d.description=this.description?this.description.toJSON():void 0,d.serviceType=this.serviceType?this.serviceType.toJSON():void 0,d.title=this.title?this.title.toJSON():void 0,d.position=this.position,d.isActive=this.isActive,d.isDefault=this.isDefault,d.isCustom=this.isCustom,d}}class ot{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.shopName=d.shopName,this.website=d.website,this.email=d.email,this.firstName=d.firstName,this.language=d.language,this.lastName=d.lastName,this.aboutUs=d.aboutUs,this.mediaId=d.mediaId,Array.isArray(d.media)){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}if(Array.isArray(d.providedBrands)){this.providedBrands=[];for(let O of d.providedBrands)this.providedBrands.push(Ie.fromJS(O))}if(Array.isArray(d.providedBikeTypes)){this.providedBikeTypes=[];for(let O of d.providedBikeTypes)this.providedBikeTypes.push(ve.fromJS(O))}if(Array.isArray(d.providedEMotors)){this.providedEMotors=[];for(let O of d.providedEMotors)this.providedEMotors.push(ln.fromJS(O))}if(Array.isArray(d.workingHours)){this.workingHours=[];for(let O of d.workingHours)this.workingHours.push(Dn.fromJS(O))}if(this.messenger=d.messenger,this.notificationSettings=d.notificationSettings?Ve.fromJS(d.notificationSettings):void 0,this.accountNumber=d.accountNumber,this.id=d.id,this.address=d.address?re.fromJS(d.address):void 0,this.\u0441ompletedProfile=d.\u0441ompletedProfile,this.profilePicture=d.profilePicture,this.paymentInformation=d.paymentInformation?pe.fromJS(d.paymentInformation):void 0,Array.isArray(d.notifications)){this.notifications=[];for(let O of d.notifications)this.notifications.push(X.fromJS(O))}this.approved=d.approved,this.profileCreated=d.profileCreated}}static fromJS(d){d="object"==typeof d?d:{};let O=new ot;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).shopName=this.shopName,d.website=this.website,d.email=this.email,d.firstName=this.firstName,d.language=this.language,d.lastName=this.lastName,d.aboutUs=this.aboutUs,d.mediaId=this.mediaId,Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}if(Array.isArray(this.providedBrands)){d.providedBrands=[];for(let O of this.providedBrands)d.providedBrands.push(O.toJSON())}if(Array.isArray(this.providedBikeTypes)){d.providedBikeTypes=[];for(let O of this.providedBikeTypes)d.providedBikeTypes.push(O.toJSON())}if(Array.isArray(this.providedEMotors)){d.providedEMotors=[];for(let O of this.providedEMotors)d.providedEMotors.push(O.toJSON())}if(Array.isArray(this.workingHours)){d.workingHours=[];for(let O of this.workingHours)d.workingHours.push(O.toJSON())}if(d.messenger=this.messenger,d.notificationSettings=this.notificationSettings?this.notificationSettings.toJSON():void 0,d.accountNumber=this.accountNumber,d.id=this.id,d.address=this.address?this.address.toJSON():void 0,d.\u0441ompletedProfile=this.\u0441ompletedProfile,d.profilePicture=this.profilePicture,d.paymentInformation=this.paymentInformation?this.paymentInformation.toJSON():void 0,Array.isArray(this.notifications)){d.notifications=[];for(let O of this.notifications)d.notifications.push(O.toJSON())}return d.approved=this.approved,d.profileCreated=this.profileCreated,d}}class Vt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.aboutUs=d.aboutUs,Array.isArray(d.rewies)){this.rewies=[];for(let O of d.rewies)this.rewies.push(rn.fromJS(O))}if(Array.isArray(d.media)){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}if(Array.isArray(d.providedBrands)){this.providedBrands=[];for(let O of d.providedBrands)this.providedBrands.push(Ie.fromJS(O))}if(Array.isArray(d.providedBikeTypes)){this.providedBikeTypes=[];for(let O of d.providedBikeTypes)this.providedBikeTypes.push(ve.fromJS(O))}if(Array.isArray(d.workingHours)){this.workingHours=[];for(let O of d.workingHours)this.workingHours.push(Dn.fromJS(O))}this.address=d.address?re.fromJS(d.address):void 0,this.shopName=d.shopName,this.website=d.website,this.rating=d.rating,this.approved=d.approved,this.email=d.email}}static fromJS(d){d="object"==typeof d?d:{};let O=new Vt;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).aboutUs=this.aboutUs,Array.isArray(this.rewies)){d.rewies=[];for(let O of this.rewies)d.rewies.push(O.toJSON())}if(Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}if(Array.isArray(this.providedBrands)){d.providedBrands=[];for(let O of this.providedBrands)d.providedBrands.push(O.toJSON())}if(Array.isArray(this.providedBikeTypes)){d.providedBikeTypes=[];for(let O of this.providedBikeTypes)d.providedBikeTypes.push(O.toJSON())}if(Array.isArray(this.workingHours)){d.workingHours=[];for(let O of this.workingHours)d.workingHours.push(O.toJSON())}return d.address=this.address?this.address.toJSON():void 0,d.shopName=this.shopName,d.website=this.website,d.rating=this.rating,d.approved=this.approved,d.email=this.email,d}}class rn{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.id=d.id,this.ranking=d.ranking,this.customerName=d.customerName,this.customerProfilePicture=d.customerProfilePicture,this.message=d.message,this.shopI
1d=d.shopId)}static fromJS(d){d="object"==typeof d?d:{};let O=new rn;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).id=this.id,d.ranking=this.ranking,d.customerName=this.customerName,d.customerProfilePicture=this.customerProfilePicture,d.message=this.message,d.shopId=this.shopId,d}}class wn{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.work=d.work,this.mediaId=d.mediaId,Array.isArray(d.mediaToUpload)){this.mediaToUpload=[];for(let O of d.mediaToUpload)this.mediaToUpload.push(O)}this.newPrice=d.newPrice}}static fromJS(d){d="object"==typeof d?d:{};let O=new wn;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).work=this.work,d.mediaId=this.mediaId,Array.isArray(this.mediaToUpload)){d.mediaToUpload=[];for(let O of this.mediaToUpload)d.mediaToUpload.push(O)}return d.newPrice=this.newPrice,d}}class jn{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d&&(this.work=d.work,this.mediaId=d.mediaId,this.id=d.id,Array.isArray(d.media))){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}}static fromJS(d){d="object"==typeof d?d:{};let O=new jn;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).work=this.work,d.mediaId=this.mediaId,d.id=this.id,Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}return d}}class Pt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){if(d){if(this.number=d.number,this.shopId=d.shopId,this.correlationId=d.correlationId,this.customerServiceRequestId=d.customerServiceRequestId,this.id=d.id,this.bike=d.bike?ne.fromJS(d.bike):void 0,this.status=d.status,this.serviceDefinitionId=d.serviceDefinitionId,this.serviceDefinition=d.serviceDefinition?wt.fromJS(d.serviceDefinition):void 0,this.description=d.description,this.spendingLimit=d.spendingLimit,this.currencyId=d.currencyId,this.currency=d.currency?Je.fromJS(d.currency):void 0,this.shopDistanceInMeters=d.shopDistanceInMeters,this.address=d.address?re.fromJS(d.address):void 0,Array.isArray(d.media)){this.media=[];for(let O of d.media)this.media.push(Ae.fromJS(O))}if(this.requestedPickUpDate=d.requestedPickUpDate?new Date(d.requestedPickUpDate.toString()):void 0,Array.isArray(d.messages)){this.messages=[];for(let O of d.messages)this.messages.push(Wt.fromJS(O))}if(this.shopServiceRequestReply=d.shopServiceRequestReply?Jt.fromJS(d.shopServiceRequestReply):void 0,this.shopServiceRequestReplyId=d.shopServiceRequestReplyId,this.created=d.created?new Date(d.created.toString()):void 0,this.modified=d.modified?new Date(d.modified.toString()):void 0,this.customerName=d.customerName,this.customerPicture=d.customerPicture,this.picUpService=d.picUpService,this.servicePrice=d.servicePrice,this.pickUpServicePrice=d.pickUpServicePrice,Array.isArray(d.bikeAssessmentReports)){this.bikeAssessmentReports=[];for(let O of d.bikeAssessmentReports)this.bikeAssessmentReports.push(Be.fromJS(O))}}}static fromJS(d){d="object"==typeof d?d:{};let O=new Pt;return O.init(d),O}toJSON(d){if((d="object"==typeof d?d:{}).number=this.number,d.shopId=this.shopId,d.correlationId=this.correlationId,d.customerServiceRequestId=this.customerServiceRequestId,d.id=this.id,d.bike=this.bike?this.bike.toJSON():void 0,d.status=this.status,d.serviceDefinitionId=this.serviceDefinitionId,d.serviceDefinition=this.serviceDefinition?this.serviceDefinition.toJSON():void 0,d.description=this.description,d.spendingLimit=this.spendingLimit,d.currencyId=this.currencyId,d.currency=this.currency?this.currency.toJSON():void 0,d.shopDistanceInMeters=this.shopDistanceInMeters,d.address=this.address?this.address.toJSON():void 0,Array.isArray(this.media)){d.media=[];for(let O of this.media)d.media.push(O.toJSON())}if(d.requestedPickUpDate=this.requestedPickUpDate?this.requestedPickUpDate.toISOString():void 0,Array.isArray(this.messages)){d.messages=[];for(let O of this.messages)d.messages.push(O.toJSON())}if(d.shopServiceRequestReply=this.shopServiceRequestReply?this.shopServiceRequestReply.toJSON():void 0,d.shopServiceRequestReplyId=this.shopServiceRequestReplyId,d.created=this.created?this.created.toISOString():void 0,d.modified=this.modified?this.modified.toISOString():void 0,d.customerName=this.customerName,d.customerPicture=this.customerPicture,d.picUpService=this.picUpService,d.servicePrice=this.servicePrice,d.pickUpServicePrice=this.pickUpServicePrice,Array.isArray(this.bikeAssessmentReports)){d.bikeAssessmentReports=[];for(let O of this.bikeAssessmentReports)d.bikeAssessmentReports.push(O.toJSON())}return d}}class Lt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.estimatedCost=d.estimatedCost,this.message=d.message,this.estimatedJobEndDate=d.estimatedJobEndDate?new Date(d.estimatedJobEndDate.toString()):void 0,this.rejectReason=d.rejectReason,this.rejectDescription=d.rejectDescription,this.rejected=d.rejected)}static fromJS(d){d="object"==typeof d?d:{};let O=new Lt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).estimatedCost=this.estimatedCost,d.message=this.message,d.estimatedJobEndDate=this.estimatedJobEndDate?this.estimatedJobEndDate.toISOString():void 0,d.rejectReason=this.rejectReason,d.rejectDescription=this.rejectDescription,d.rejected=this.rejected,d}}class Jt{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.estimatedCost=d.estimatedCost,this.message=d.message,this.estimatedJobEndDate=d.estimatedJobEndDate?new Date(d.estimatedJobEndDate.toString()):void 0,this.rejectReason=d.rejectReason,this.rejectDescription=d.rejectDescription,this.rejected=d.rejected,this.id=d.id,this.shopName=d.shopName,this.shopPicture=d.shopPicture,this.shopDistanceInMeters=d.shopDistanceInMeters,this.shopAddress=d.shopAddress?re.fromJS(d.shopAddress):void 0,this.shopRating=d.shopRating,this.created=d.created?new Date(d.created.toString()):void 0,this.shopI
1d=d.shopId)}static fromJS(d){d="object"==typeof d?d:{};let O=new Jt;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).estimatedCost=this.estimatedCost,d.message=this.message,d.estimatedJobEndDate=this.estimatedJobEndDate?this.estimatedJobEndDate.toISOString():void 0,d.rejectReason=this.rejectReason,d.rejectDescription=this.rejectDescription,d.rejected=this.rejected,d.id=this.id,d.shopName=this.shopName,d.shopPicture=this.shopPicture,d.shopDistanceInMeters=this.shopDistanceInMeters,d.shopAddress=this.shopAddress?this.shopAddress.toJSON():void 0,d.shopRating=this.shopRating,d.created=this.created?this.created.toISOString():void 0,d.shopId=this.shopId,d}}var pn=function(Ht){return Ht.Undefined="Undefined",Ht.WaitingForAccept="WaitingForAccept",Ht.WaitingForAnswer="WaitingForAnswer",Ht.WaitingForDelivery="WaitingForDelivery",Ht.AssessingBike="AssessingBike",Ht.AssessingCompleted="AssessingCompleted",Ht.InProgress="InProgress",Ht.WaitingForPayment="WaitingForPayment",Ht.WaitingForPickUp="WaitingForPickUp",Ht.Expired="Expired",Ht.Finished="Finished",Ht.Closed="Closed",Ht.ClosedByCyclix="ClosedByCyclix",Ht.Refused="Refused",Ht}(pn||{});class Dn{constructor(d){if(d)for(var O in d)d.hasOwnProperty(O)&&(this[O]=d[O])}init(d){d&&(this.dayOfWeek=d.dayOfWeek,this.start=d.start?new Date(d.start.toString()):void 0,this.end=d.end?new Date(d.end.toString()):void 0)}static fromJS(d){d="object"==typeof d?d:{};let O=new Dn;return O.init(d),O}toJSON(d){return(d="object"==typeof d?d:{}).dayOfWeek=this.dayOfWeek,d.start=this.start?this.start.toISOString():void 0,d.end=this.end?this.end.toISOString():void 0,d}}class zn extends Error{constructor(d,O,T,Me,be){super(),this.isApiException=!0,this.message=d,this.status=O,this.response=T,this.headers=Me,this.result=be}static isApiException(d){return!0===d.isApiException}}function Dt(Ht,d,O,T,Me){return(0,x.$)(null!=Me?Me:new zn(Ht,d,O,T,null))}function it(Ht){return new _.c(d=>{if(Ht){let O=new FileReader;O.onload=T=>{d.next(T.target.result),d.complete()},O.readAsText(Ht)}else d.next(""),d.complete()})}},5154:(Nt,Le,a)=>{"use strict";a.d(Le,{G6:()=>c,QB:()=>t,n4:()=>x,qB:()=>m});var t=function(_){return _.ReceiveEventMessageOnClient="ReceiveEventMessageOnClient",_.AddToGroupAsync="AddToGroupAsync",_.ReceiveMessageEventOnServer="ReceiveMessageEventOnServer",_}(t||{}),c=function(_){return _.ReceiveEventCustomerServiceRequestOnClient="ReceiveEventCustomerServiceRequestOnClient",_.ReceiveEventShopServiceRequestOnClient="ReceiveEventShopServiceRequestOnClient",_.AddToGroupAsync="AddToGroupAsync",_}(c||{}),m=function(_){return _.ReceiveNotificationEventOnClient="ReceiveNotificationEventOnClient",_.AddToGroupAsync="AddToGroupAsync",_.ReceiveNotificationEventOnServer="ReceiveNotificationEventOnServer",_}(m||{}),x=function(_){return _.ReceiveEventShopServiceRequestOnClient="ReceiveEventShopServiceRequestOnClient",_.AddToGroupAsync="AddToGroupAsync",_}(x||{})},738:(Nt,Le,a)=>{"use strict";a.d(Le,{R:()=>t});var t=function(c){return c.customer_default="customer_default",c.customer_admin="customer_admin",c}(t||{})},5328:(Nt,Le,a)=>{"use strict";a.d(Le,{b:()=>t});
1var t=function(c){return c[c.NotSet=0]="NotSet",c.AccessToken="access_token",c.RefreshToken="refresh_token",c.Expires="expires_in",c.IdToken="id_token",c.Language="language",c.UserData="user_data",c.Version="version",c}(t||{})},2999:(Nt,Le,a)=>{"use strict";a.d(Le,{y:()=>t});var t=function(c){return c[c.NotSet=0]="NotSet",c[c.ShopServiceJobs=1]="ShopServiceJobs",c[c.ShopServiceRequests=2]="ShopServiceRequests",c[c.AdminMenu=3]="AdminMenu",c[c.ShopProfile=4]="ShopProfile",c}(t||{})},8688:(Nt,Le,a)=>{"use strict";a.d(Le,{c:()=>t});var t=function(c){return c.UnSet="",c.HomeCustomer="customer/dashboard",c.HomeShop="shop/dashboard",c.ServiceRequestsShop="shop/service-requests",c.ServiceJobsShop="shop/service-jobs",c.ServiceRequestsCustomer="customer/service-requests",c.MyBikes="customer/bikes",c.CustomerProfile="customer/profile",c.ShopProfile="shop/profile",c.Profile="profile",c.ServiceRequests="service requests",c.Home="home",c.AdminShops="admin/shops",c.AdminServicesManagement="admin/service-requests",c.AdminCustomers="admin/customers",c}(t||{})},4770:(Nt,Le,a)=>{"use strict";a.d(Le,{z:()=>t});var t=function(c){return c.shop_default="shop_default",c.shop_admin="shop_admin",c}(t||{})},5714:(Nt,Le,a)=>{"use strict";a.d(Le,{m:()=>t});var t=function(c){return c[c.UnSet=0]="UnSet",c[c.Success=1]="Success",c[c.Fail=2]="Fail",c}(t||{})},8695:(Nt,Le,a)=>{"use strict";a.d(Le,{X:()=>x});var t=a(4438);const c=()=>[];function m(_,b){if(1&_&&(t.j41(0,"div",5)(1,"p",6),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p",7),t.EFF(5),t.nI1(6,"translate"),t.k0s()()),2&_){const v=b.index;t.R7$(2),t.JRh(t.bMT(3,2,"i18n.app.pages.impressum."+v+".title")),t.R7$(3),t.JRh(t.bMT(6,4,"i18n.app.pages.impressum."+v+".text"))}}let x=(()=>{class _{static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=t.VBU({type:_,selectors:[["app-impressum"]],decls:20,vars:7,consts:[[3,"hideButtons"],[1,"impressum-container"],[1,"title"],[1,"data"],["class","impressum",4,"ngFor","ngForOf"],[1,"impressum"],[1,"impressum-title"],[1,"impressum-text"]],template:function(M,N){1&M&&(t.nrm(0,"app-browser-version-check")(1,"app-header-page",0),t.j41(2,"div",1)(3,"p",2),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"p",3),t.EFF(7,"Alain Mazenauer"),t.k0s(),t.j41(8,"p",3),t.EFF(9,"Bertastrasse 35"),t.k0s(),t.j41(10,"p",3),t.EFF(11,"Z\xfcrich 8003"),t.k0s(),t.j41(12,"p",3),t.EFF(13,"Schweiz"),t.k0s(),t.j41(14,"p",3)(15,"b"),t.EFF(16,"Email:"),t.k0s(),t.EFF(17),t.k0s(),t.DNE(18,m,7,6,"div",4),t.k0s(),t.nrm(19,"app-footer-page")),2&M&&(t.R7$(),t.Y8G("hideButtons",!1),t.R7$(3),t.JRh(t.bMT(5,4,"i18n.app.pages.impressum.title")),t.R7$(13),t.SpI(" ","[email protected]",""),t.R7$(),t.Y8G("ngForOf",t.lJ4(6,c).constructor(3)))},styles:[".impressum-container[_ngcontent-%COMP%]{background:#f6f4f3;border-radius:10px;margin:10px 60px;padding:30px 60px;min-height:100svh}.impressum-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{white-space:pre-wrap}.impressum-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px;font-weight:700}.impressum-container[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]{font-size:16px}.impressum-container[_ngcontent-%COMP%]   .impressum[_ngcontent-%COMP%]{margin-top:30px}.impressum-container[_ngcontent-%COMP%]   .impressum[_ngcontent-%COMP%]   .impressum-title[_ngcontent-%COMP%]{font-weight:700;margin-top:20px;font-size:20px}@media (max-width: 900px){.impressum-container[_ngcontent-%COMP%]{margin:10px 30px;padding:20px 30px}}@media (max-width: 580px){.impressum-container[_ngcontent-%COMP%]{margin:0 0 20px;padding:10px 25px}.title[_ngcontent-%COMP%]{font-size:18px;font-weight:700}.impressum[_ngcontent-%COMP%]   .impressum-title[_ngcontent-%COMP%]{font-size:16px}.impressum[_ngcontent-%COMP%]   .impressum-text[_ngcontent-%COMP%]{font-size:12px}}"]})}return _})()},3495:(Nt,Le,a)=>{"use strict";a.d(Le,{$:()=>c});var t=a(4438);let c=(()=>{class m{static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275cmp=t.VBU({type:m,selectors:[["app-main"]],decls:3,vars:0,template:function(b,v){1&b&&(t.qex(0),t.j41(1,"app-side-nav-outer-toolbar"),t.nrm(2,"router-outlet"),t.k0s(),t.bVm())},styles:["[_nghost-%COMP%]{background-color:#f2f2f2;display:flex;width:100%}"]})}return m})()},7865:(Nt,Le,a)=>{"use strict";a.d(Le,{u:()=>x});var t=a(4438);const c=()=>[];function m(_,b){if(1&_&&(t.j41(0,"div",5)(1,"p",6),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p",7),t.EFF(5),t.nI1(6,"translate"),t.k0s()()),2&_){const v=b.index;t.R7$(2),t.JRh(t.bMT(3,2,"i18n.app.pages.policy."+v+".title")),t.R7$(3),t.JRh(t.bMT(6,4,"i18n.app.pages.policy."+v+".text"))}}let x=(()=>{class _{static#e=this.\u0275fac=function(M){return new(M||_)};static#t=this.\u0275cmp=t.VBU({type:_,selectors:[["app-policy"]],decls:11,vars:9,consts:[[3,"hideButtons"],[1,"policy-container"],[1,"title"],[1,"text"],["class","policy",4,"ngFor","ngForOf"],[1,"policy"],[1,"policy-title"],[1,"policy-text"]],template:function(M,N){1&M&&(t.nrm(0,"app-browser-version-check")(1,"app-header-page",0),t.j41(2,"div",1)(3,"p",2),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"p",3),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.DNE(9,m,7,6,"div",4),t.k0s(),t.nrm(10,"app-footer-page")),2&M&&(t.R
17$(),t.Y8G("hideButtons",!1),t.R7$(3),t.JRh(t.bMT(5,4,"i18n.app.pages.policy.title")),t.R7$(3),t.JRh(t.bMT(8,6,"i18n.app.pages.policy.text")),t.R7$(2),t.Y8G("ngForOf",t.lJ4(8,c).constructor(12)))},styles:[".policy-container[_ngcontent-%COMP%]{background:#f6f4f3;border-radius:10px;margin:10px 60px;padding:30px 60px}.policy-container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{white-space:pre-wrap}.policy-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:22px;font-weight:700}.policy-container[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{margin:20px 0}.policy-container[_ngcontent-%COMP%]   .data[_ngcontent-%COMP%]{font-size:16px}.policy-container[_ngcontent-%COMP%]   .policy[_ngcontent-%COMP%]{margin-top:30px}.policy-container[_ngcontent-%COMP%]   .policy[_ngcontent-%COMP%]   .policy-title[_ngcontent-%COMP%]{font-weight:700;margin-top:20px;font-size:18px}@media (max-width: 900px){.policy-container[_ngcontent-%COMP%]{margin:10px 30px;padding:20px 30px}}@media (max-width: 580px){.policy-container[_ngcontent-%COMP%]{margin:0 0 20px;padding:10px 25px}.title[_ngcontent-%COMP%]{font-size:18px;font-weight:700}.text[_ngcontent-%COMP%]{font-size:12px}.policy[_ngcontent-%COMP%]   .policy-title[_ngcontent-%COMP%]{font-size:14px}.policy[_ngcontent-%COMP%]   .policy-text[_ngcontent-%COMP%]{font-size:12px}}"]})}return _})()},6502:(Nt,Le,a)=>{"use strict";a.d(Le,{J:()=>m});var t=a(4438),c=a(1291);let m=(()=>{class x{constructor(b){this.client=b,this.notifications=[]}readAllNotifications(){return this.client.patchReadAllByApiVersion(void 0)}static#e=this.\u0275fac=function(v){return new(v||x)(t.KVO(c.s9))};static#t=this.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},3465:(Nt,Le,a)=>{"use strict";a.d(Le,{n:()=>x});var t=a(4438),c=a(1394);function m(_,b){if(1&_){const v=t.RV6();t.j41(0,"app-bikes-99-spokes",5),t.bIt("close",function(){t.eBV(v);const N=t.XpG();return t.Njj(N.showModal=!1)}),t.k0s()}if(2&_){const v=t.XpG();t.Y8G("bikes99",v.bikes99)}}let x=(()=>{class _{constructor(v){this.spokes99BikesService=v,this.showModal=!1,this.searchTerm="",this.bikes99=[],this.searchTermChange=new t.bkB}set options(v){this.showModal=this.searchTerm.length>0,this.bikes99=v}onSearchTermChange(v){this.searchTerm=v,this.searchTermChange.emit(this.searchTerm)}ngOnInit(){this.spokes99BikesService.selectedBike.subscribe(v=>{this.searchTerm=v.model,this.showModal=!1})}static#e=this.\u0275fac=function(M){return new(M||_)(t.rXU(c.j))};static#t=this.\u0275cmp=t.VBU({type:_,selectors:[["app-bike-search"]],inputs:{options:"options"},outputs:{searchTermChange:"searchTermChange"},decls:6,vars:5,consts:[[1,"search-container",3,"clickOutside"],["type","text",1,"search-input",3,"ngModelChange","placeholder","ngModel"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","viewBox","0 0 16 16","fill","none",1,"search-icon"],["d","M6.43951 12.8742C7.86961 12.8742 9.25881 12.397 10.3871 11.5181L14.6436 15.7753C14.9616 16.0824 15.4682 16.0736 15.7753 15.7556C16.0749 15.4454 16.0749 14.9536 15.7753 14.6434L11.5188 10.3862C13.6994 7.57875 13.1916 3.53486 10.3846 1.35393C7.57756 -0.827011 3.53433 -0.319146 1.35372 2.48831C-0.826885 5.29577 -0.319097 9.33965 2.48793 11.5206C3.61802 12.3986 5.00846 12.8749 6.43951 12.8742ZM3.01943 3.01743C4.90831 1.12824 7.97077 1.1282 9.85968 3.01736C11.7486 4.90652 11.7486 7.96945 9.85975 9.85865C7.97088 11.7478 4.90841 11.7479 3.0195 9.85872C3.01947 9.85868 3.01947 9.85868 3.01943 9.85865C1.13056 7.98325 1.11943 4.93149 2.99454 3.04233C3.00283 3.034 3.01111 3.02572 3.01943 3.01743Z","fill","#989898"],[3,"bikes99","close",4,"ngIf"],[3,"close","bikes99"]],template:function(M,N){1&M&&(t.j41(0,"div",0),t.bIt("clickOutside",function(){return N.showModal=!1}),t.j41(1,"input",1),t.nI1(2,"translate"),t.mxI("ngModelChange",function(P){return t.DH7(N.searchTerm,P)||(N.searchTerm=P),P}),t.bIt("ngModelChange",function(P){return N.onSearchTermChange(P)}),t.k0s(),t.qSk(),t.j41(3,"svg",2),t.nrm(4,"path",3),t.k0s(),t.DNE(5,m,1,1,"app-bikes-99-spokes",4),t.k0s()),2&M&&(t.R7$(),t.FS9("placeholder",t.bMT(2,3,"i18n.app.pages.customer.bikes.search")),t.R50("ngModel",N.searchTerm),t.R7$(4),t.Y8G("ngIf",N.showModal))},styles:[".search-container[_ngcontent-%COMP%]{position:relative}.search-container[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{position:relative;width:100%;height:51px;flex-shrink:0;border-radius:10px;border:1px solid #CED3DB;padding-left:15px;font-size:16px;color:#000}.search-container[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]::placeholder{color:#989898}.search-container[_ngcontent-%COMP%]   .search-icon[_ngcontent-%COMP%]{position:absolute;top:17.5px;right:19px}@media (max-width: 580px){.search-container[_ngcontent-%COMP%]{position:relative}.search-container[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{height:49px;font-size:14px}}"]})}return _})()},4353:(Nt,Le,a)=>{"use strict";a.d(Le,{m:()=>v});var t=a(3349),c=a.n(t),m=a(4438),x=a(177),_=a(3955);function b(M,N){1&M&&(m.j41(0,"div",1),m.EFF(1),m.nI1(2,"translate"),m.k0s()),2&M&&(m.R7$(),m.JRh(m.bMT(2,1,"i18n.app.pages.browser-version-error")))}let v=(()=>{class M{constructor(){this.showError=!1}ngOnInit(){this.showError=!this.checkBrowserVersion()}checkBrowserVersion(){const P=c().getParser(window.navigator.userAgent).getBrowser(),g=parseFloat(P.version||"0"),A={Chrome:104,Firefox:91,Safari:15,"Microsoft Edge":104,Opera:91}[P.name];return!(A&&g<A)}static#e=this.\u0275fac=function(P){return new(P||M)};static#t=this.\u0275cmp=m.VBU({type:M,selectors:[["app-browser-version-check"]],decls:1,vars:1,consts:[["class","error-container",4,"ngIf"],[1,"error-container"]],template:function(P,g){1&P&&m.DNE(0,b,3,3,"div",0),2&P&&m.Y8G("ngIf",g.showError)},dependencies:[x.bT,_.D9],styles:[".error-container[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content;padding:20px;background-color:red;color:#fff;font-size:22px;display:flex;align-items:center;justify-content:center;text-align:center}@media (max-width: 580px){.error-container[_ngcontent-%COMP%]{font-size:16px;padding:10px}}"]})}return M})()},2249:(Nt,Le,a)=>{"use strict";a.d(Le,{O:()=>x});var t=a(4438),c=a(2791),m=a(3955);let x=(()=>{class _{constructor(v){this.router=v}goToMain(){this.router.navigate([""],{queryParams:{show:!0}})}static#e=this.\u0275fac=function(M){return new(M||_)(t.rXU(c.Ix))};static#t=this.\u0275cmp=t.VBU({type:_,selectors:[["app-footer-page"]],decls:39,vars:12,consts:[[1,"cera-400-white"],[1,"footer-container"],[1,"footer-info"],[1,"footer-info-logo"],["xmlns","http://www.w3.org/2000/svg","width","154","height","40","viewBox","0 0 154 40","fill","none",1,"logo",3,"click"],["y","33.9026","width","154","height","5.62044","fill","#FF5E3A"],["d","M13.0853 23.0663C10.8821 23.0663 8.85876 22.5604 7.01526 21.5488C5.19424 20.5371 3.74417 19.1545 2.66504 17.4009C1.6084 15.6473 1.08008 13.6914 1.08008 11.5331C1.08008 9.39737 1.6084 7.4527 2.66504 5.69912C3.74417 3.92307 5.19424 2.5292 7.01526 1.51752C8.85876 0.50584 10.8934 0 13.1191 0C15.3448 0 17.3456 0.528322 19.1217 1.58497C20.8977 2.61912 22.2916 4.08044 23.3033 5.96891L18.8856 8.97022C17.4468 6.54219 15.5134 5.32818 13.0853 5.32818C11.9163 5.32818 10.8709 5.58672 9.94913 6.1038C9.02738 6.62088 8.30796 7.35153 7.79088 8.29577C7.2738 9.24 7.01526 10.3304 7.01526 11.5669C7.01526 13.4104 7.5773 14.9054 8.70139 16.052C9.84796 17.1761 11.3093 17.7381 13.0853 17.7381C15.5134 17.7381 17.4468 16.5241 18.8856 14.0961L23.3033 17.0974C22.2916 18.9858 20.8977 20.4584 19.1217 21.515C17.3456 22.5492 15.3335 23.0663 13.0853 23.0663Z","fill","white"],["d","M43.9795 14.1298V22.6616H38.1792V14.1972L30.5241 0.404672H36.9314L41.0793 8.16088L45.2272 0.404672H51.6008L43.9795 14.1298Z","fill","white"],["d","M70.4731 23.0663C68.2699 23.0663 
166.2465 22.5604 64.403 21.5488C62.582 20.5371 61.1319 19.1545 60.0528 17.4009C58.9961 15.6473 58.4678 13.6914 58.4678 11.5331C58.4678 9.39737 58.9961 7.4527 60.0528 5.69912C61.1319 3.92307 62.582 2.5292 64.403 1.51752C66.2465 0.50584 68.2811 0 70.5068 0C72.7325 0 74.7334 0.528322 76.5094 1.58497C78.2855 2.61912 79.6794 4.08044 80.691 5.96891L76.2734 8.97022C74.8345 6.54219 72.9011 5.32818 70.4731 5.32818C69.304 5.32818 68.2586 5.58672 67.3369 6.1038C66.4151 6.62088 65.6957 7.35153 65.1786 8.29577C64.6615 9.24 64.403 10.3304 64.403 11.5669C64.403 13.4104 64.965 14.9054 66.0891 16.052C67.2357 17.1761 68.697 17.7381 70.4731 17.7381C72.9011 17.7381 74.8345 16.5241 76.2734 14.0961L80.691 17.0974C79.6794 18.9858 78.2855 20.4584 76.5094 21.515C74.7334 22.5492 72.7213 23.0663 70.4731 23.0663Z","fill","white"],["d","M90.7288 0.404672H96.5291V17.4346H105.735V22.6616H90.7288V0.404672Z","fill","white"],["d","M115.52 0.404672H121.32V22.6616H115.52V0.404672Z","fill","white"],["d","M144.681 22.6616L140.769 16.4229L136.891 22.6616H130.348L137.599 11.3645L130.753 0.404672H137.295L140.769 6.33985L144.242 0.404672H150.784L144.04 11.3645L151.223 22.6616H144.681Z","fill","white"],[1,"links"],[1,"terms"],["href","/terms","target","_blank",1,"link"],[1,"privacy"],["href","/policy","target","_blank",1,"link"],[1,"imprint"],["href","/impressum","target","_blank",1,"link"],[1,"footer-social","mt-50"],[1,"social-info-lebel","text-white"],[1,"social-links","mt-20"],["href","https://www.facebook.com/profile.php?id=100070651192751","target","_blank","rel","noopener"],["src","../../../../assets/images/facebook.svg","alt","facebook",1,"social-img-width"],["href","https://instagram.com/cyclix.ch","target","_blank","rel","noopener"],["src","../../../../assets/images/instagram.svg","alt","instagram",1,"social-img-width"],["href","https://www.linkedin.com/company/cyclix-ch","target","_blank","rel","noopener"],["src","../../../../assets/images/linkedin.svg","alt","linkedin",1,"social-img-width"]],template:function(M,N){1&M&&(t.j41(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3),t.qSk(),t.j41(4,"svg",4),t.bIt("click",function(){return N.goToMain()}),t.nrm(5,"rect",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11),t.k0s()(),t.joV(),t.j41(12,"div",12)(13,"p",13)(14,"a",14),t.EFF(15),t.nI1(16,"translate"),t.k0s()(),t.j41(17,"p",15)(18,"a",16),t.EFF(19),t.nI1(20,"translate"),t.k0s()(),t.j41(21,"p",17)(22,"a",18),t.EFF(23),t.nI1(24,"translate"),t.k0s()()()(),t.j41(25,"div",19)(26,"p",20),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.j41(29,"div",21)(30,"div")(31,"a",22),t.nrm(32,"img",23),t.k0s()(),t.j41(33,"div")(34,"a",24),t.nrm(35,"img",25),t.k0s()(),t.j41(36,"div")(37,"a",26),t.nrm(38,"img",27),t.k0s()()()()()()),2&M&&(t.R7$(15),t.SpI(" ",t.bMT(16,4,"i18n.app.pages.footer.info.text.one")," "),t.R7$(4),t.SpI("",t.bMT(20,6,"i18n.app.pages.footer.info.text.two")," "),t.R7$(4),t.SpI("",t.bMT(24,8,"i18n.app.pages.footer.info.text.three")," "),t.R7$(4),t.SpI(" ",t.bMT(28,10,"i18n.app.pages.footer.social.text")," "))},dependencies:[m.D9],styles:[".footer-container[_ngcontent-%COMP%]{background:var(--color-dark-ocean);height:431px;padding:51px 0 0 123px;font-size:20px}.footer-container[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{margin-top:50px}.footer-container[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{font-size:20px;color:var(--color-white);text-decoration:none}.footer-container[_ngcontent-%COMP%]   .footer-social[_ngcontent-%COMP%]{font-size:12px;font-weight:500;width:165px}.footer-container[_ngcontent-%COMP%]   .footer-social[_ngcontent-%COMP%]   .social-links[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media (max-width: 1100px){.footer-container[_ngcontent-%COMP%]{padding-left:60px}}@media (max-width: 900px){.footer-container[_ngcontent-%COMP%]{padding-left:30px}}@media (max-width: 550px){.footer-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;height:340px;padding:45px 0 0}.footer-container[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .footer-info-logo[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:83.864px;height:21.523px}.footer-container[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{margin-top:22px}.footer-container[_ngcontent-%COMP%]   .footer-info[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{font-size:14px}.footer-container[_ngcontent-%COMP%]   .footer-social[_ngcontent-%COMP%]{margin-top:44px;width:94.258px}.social-img-width[_ngcontent-%COMP%]{height:24px;width:24px}}"]})}return _})()},1445:(Nt,Le,a)=>{"use strict";a.d(Le,{w:()=>Y});var t=a(8359),c=a(1291),m=a(4438),x=a(6445),_=a(3955),b=a(2791),v=a(5812),M=a(638),N=a(9002),p=a(2360);const P=()=>({my:"top",at:"bottom",offset:"30 0"});function g(W,re){1&W&&m.nrm(0,"div",27)}function U(W,re){if(1&W){const le=m.RV6();m.j41(0,"div",31)(1,"div",32),m.bIt("click",function(){m.eBV(le);const Be=m.XpG(2);return m.Njj(Be.goLoginPage(Be.UserRoleEnum.Customer))}),m.qSk(),m.j41(2,"svg",33),m.nrm(3,"path",34)(4,"path",35),m.k0s(),m.j41(5,"svg",36),m.nrm(6,"path",37)(7,"path",38),m.k0s(),m.joV(),m.j41(8,"div",39),m.qSk(),m.j41(9,"svg",40)(10,"g",41)(11,"g",42),m.nrm(12,"path",43),m.k0s()(),m.j41(13,"defs")(14,"filter",44),m.nrm(15,"feFlood",45)(16,"feColorMatrix",46)(17,"feMorphology",47)(18,"feOffset",48)(19,"feGaussianBlur",49)(20,"feComposite",50)(21,"feColorMatrix",51)(22,"feBlend",52)(23,"feBlend",53),m.k0s(),m.j41(24,"clipPath",54),m.nrm(25,"rect",55),m.k0s()()(),m.joV(),m.j41(26,"div",56),m.EFF(27),m.nI1(28,"translate"),m.k0s()()(),m.qSk(),m.j41(29,"svg",57),m.nrm(30,"path",58),m.k0s(),m.joV(),m.j41(31,"div",59),m.bIt("click",function(){m.eBV(le);const Be=m.XpG(2);return m.Njj(Be.goLoginPage(Be.UserRoleEnum.Shop))}),m.qSk(),m.j41(32,"svg",60),m.nrm(33,"path",61)(34,"path",62)(35,"path",63)(36,"path",64),m.k0s(),m.j41(37,"svg",65),m.nrm(38,"path",66)(39,"path",67)(40,"path",68)(41,"path",69),m.k0s(),m.joV(),m.j41(42,"div",39),m.qSk(),m.j41(43,"svg",40)(44,"g",41)(45,"g",42),m.nrm(46,"path",43),m.k0s()(),m.j41(47,"defs")(48,"filter",44),m.nrm(49,"feFlood",45)(50,"feColorMatrix",46)(51,"feMorphology",47)(52,"feOffset",48)(53,"feGaussianBlur",49)(54,"feComposite",50)(55,"feC
1olorMatrix",51)(56,"feBlend",52)(57,"feBlend",53),m.k0s(),m.j41(58,"clipPath",54),m.nrm(59,"rect",55),m.k0s()()(),m.joV(),m.j41(60,"div",56),m.EFF(61),m.nI1(62,"translate"),m.k0s()()()()}2&W&&(m.R7$(27),m.JRh(m.bMT(28,2,"i18n.app.pages.selection.status.customer")),m.R7$(34),m.JRh(m.bMT(62,4,"i18n.app.pages.selection.status.shop")))}function G(W,re){if(1&W){const le=m.RV6();m.j41(0,"div",28),m.bIt("mouseenter",function(){m.eBV(le);const Be=m.XpG();return m.Njj(Be.profileSelection=!0)})("mouseleave",function(){m.eBV(le);const Be=m.XpG();return m.Njj(Be.profileSelection=!1)}),m.j41(1,"a",29),m.EFF(2),m.nI1(3,"translate"),m.k0s(),m.DNE(4,U,63,6,"div",30),m.k0s()}if(2&W){const le=m.XpG();m.R7$(2),m.SpI(" ",m.bMT(3,2,"i18n.app.pages.landing.header.login")," "),m.R7$(2),m.Y8G("ngIf",le.profileSelection)}}function A(W,re){1&W&&(m.j41(0,"div",70)(1,"a",71),m.EFF(2),m.nI1(3,"translate"),m.k0s()()),2&W&&(m.R7$(2),m.SpI(" ",m.bMT(3,1,"i18n.app.pages.landing.header.join-us")," "))}function K(W,re){1&W&&m.nrm(0,"img",76)}function z(W,re){if(1&W&&m.nrm(0,"img",77),2&W){const le=m.XpG(2);m.Y8G("src",le.profileImage,m.B4B)}}function ee(W,re){if(1&W){const le=m.RV6();m.j41(0,"div",72),m.bIt("click",function(){m.eBV(le);const Be=m.XpG();return m.Njj(Be.goToProfile())}),m.j41(1,"div",73),m.DNE(2,K,1,0,"img",74)(3,z,1,1,"img",75),m.k0s()()}if(2&W){const le=m.XpG();m.R7$(2),m.Y8G("ngIf",!le.profileImage),m.R7$(),m.Y8G("ngIf",le.profileImage)}}function L(W,re){1&W&&m.nrm(0,"img",76)}function f(W,re){if(1&W&&m.nrm(0,"img",77),2&W){const le=m.XpG(2);m.Y8G("src",le.profileImage,m.B4B)}}function D(W,re){1&W&&(m.qSk(),m.j41(0,"svg",95),m.nrm(1,"path",96)(2,"path",97),m.k0s())}function R(W,re){if(1&W){const le=m.RV6();m.j41(0,"div",93),m.bIt("click",function(){m.eBV(le);const Be=m.XpG(3);return m.Njj(Be.goToProfile())}),m.DNE(1,D,3,0,"svg",94),m.j41(2,"div",92),m.EFF(3),m.nI1(4,"translate"),m.k0s()()}if(2&W){const le=m.XpG(3);m.R7$(),m.Y8G("ngIf",le.toolPopUp),m.R7$(2),m.JRh(m.bMT(4,2,"i18n.app.pages.customer.profile.title"))}}function S(W,re){if(1&W){const le=m.RV6();m.j41(0,"div",84),m.bIt("clickOutside",function(){m.eBV(le);const Be=m.XpG(2);return m.Njj(Be.toolPopUp=!1)}),m.DNE(1,R,5,4,"div",85),m.qSk(),m.j41(2,"svg",86),m.nrm(3,"path",87),m.k0s(),m.joV(),m.j41(4,"div",88),m.bIt("click",function(){m.eBV(le);const Be=m.XpG(2);return m.Njj(Be.logOut())}),m.qSk(),m.j41(5,"svg",89),m.nrm(6,"path",90)(7,"path",91),m.k0s(),m.joV(),m.j41(8,"p",92),m.EFF(9),m.nI1(10,"translate"),m.k0s()()()}if(2&W){const le=m.XpG(2);m.R7$(),m.Y8G("ngIf",le.toolPopUp),m.R7$(8),m.JRh(m.bMT(10,2,"i18n.app.logout"))}}function j(W,re){if(1&W){const le=m.RV6();m.j41(0,"div",78,0),m.bIt("click",function(){m.eBV(le);const Be=m.XpG();return m.Njj(Be.toolPopUp=!Be.toolPopUp)}),m.j41(2,"div",73),m.DNE(3,L,1,0,"img",74)(4,f,1,1,"img",75),m.k0s(),m.j41(5,"div",79)(6,"div",80),m.EFF(7),m.k0s(),m.qSk(),m.j41(8,"svg",81),m.nrm(9,"path",82),m.k0s()(),m.DNE(10,S,11,4,"div",83),m.k0s()}if(2&W){const le=m.XpG();m.R7$(3),m.Y8G("ngIf",!le.profileImage),m.R7$(),m.Y8G("ngIf",le.profileImage),m.R7$(3),m.JRh(le.userName),m.R7$(3),m.Y8G("ngIf",le.toolPopUp)}}function fe(W,re){if(1&W){const le=m.RV6();m.qSk(),m.j41(0,"svg",98),m.bIt("click",function(){m.eBV(le);const Be=m.XpG();return m.Njj(Be.burgerMenuService.openBurger())}),m.nrm(1,"line",99)(2,"line",100)(3,"line",101),m.k0s()}}function H(W,re){if(1&W){const le=m.RV6();m.qSk(),m.j41(0,"svg",102),m.bIt("click",function(){m.eBV(le);const Be=m.XpG();return m.Njj(Be.burgerMenuService.closeBurger())}),m.nrm(1,"path",103),m.k0s()}}function J(W,re){1&W&&m.nrm(0,"app-burger-menu")}let Y=(()=>{class W{constructor(le,Re,Be,Fe,ue,ce,_e){this.burgerMenuService=le,this.translateService=Re,this.router=Be,this.authService=Fe,this.customerService=ue,this.shopService=ce,this.languageService=_e,this.hideButtons=!1,this.profileSelection=!1,this.userName="",this.hideLoginButton=!1,this.toolPopUp=!1,this.userRole=c.kX.NotSet,this.authenticated=!1,this.subscriptions=new t.yU,this.userMenuItems=[{text:this.translateService.instant("English"),onClick:()=>{this.languageService.selectLanguage(c.tX.En,this.userRole)}
1},{text:this.translateService.instant("Deutsch"),onClick:()=>{this.languageService.selectLanguage(c.tX.De,this.userRole)}}],this.window=window,this.UserRoleEnum=c.kX}ngOnDestroy(){this.subscriptions.unsubscribe()}ngOnInit(){this.isAuthenticated(),this.subscriptions.add(this.translateService.onDefaultLangChange.subscribe(()=>{this.checkLanguage()}))}checkLanguage(){this.languageService.selectedLanguage=this.languageService.languages.find(le=>le.code===this.translateService.currentLang)}isAuthenticated(){this.authService.isAuthenticated()&&(this.hideLoginButton=!0,this.getUserData())}goToProfile(){switch(this.toolPopUp=!1,this.authService.getUserRole()){case c.kX.Customer:this.router.navigate(["customer/profile"]);break;case c.kX.Shop:this.router.navigate(["shop/profile"])}}getUserData(){this.authService.getUserRole()===c.kX.Customer?this.customerService.getCustomerInformation().subscribe(le=>{le&&(this.profileImage=this.customerService.getProfilePicture(le.profilePicture),le.lastname&&le.firstname&&(this.userName=`${le.firstname} ${le.lastname.charAt(0).toUpperCase()}.`),this.authenticated=!0)},()=>{this.authService.logOut()}):this.authService.getUserRole()===c.kX.Shop&&this.shopService.getInformation().subscribe(le=>{this.profileImage=this.shopService.getProfilePicture(le),this.authenticated=!0,this.userName=le.shopName},()=>{this.authService.logOut()})}goLoginPage(le){this.router.navigate(["login"],{queryParams:{role:le}})}logOut(){this.toolPopUp=!1,this.authService.logOut()}static#e=this.\u0275fac=function(Re){return new(Re||W)(m.rXU(x.o),m.rXU(_.c$),m.rXU(b.Ix),m.rXU(v.u),m.rXU(M.m),m.rXU(N.s),m.rXU(p.g))};static#t=this.\u0275cmp=m.VBU({type:W,selectors:[["app-header-page"]],inputs:{hideButtons:"hideButtons"},decls:28,vars:12,consts:[["userContainer",""],[1,"header-container","cera-400-white"],[1,"header"],["routerLink","",1,"logo","cursor_pointer"],["xmlns","http://www.w3.org/2000/svg","width","122","height","32","viewBox","0 0 122 32","fill","none",1,"cyclix-logo-img"],["y","27.2656","width","122","height","4.45255","fill","#FF5E3A"],["d","M10.3661 18.6815C8.62072 18.6815 7.0178 18.2808 5.55737 17.4793C4.11474 16.6778 2.96598 15.5825 2.11109 14.1933C1.27401 12.8041 0.855469 11.2546 0.855469 9.54485C0.855469 7.85288 1.27401 6.31229 2.11109 4.92309C2.96598 3.51609 4.11474 2.41185 5.55737 1.61039C7.0178 0.808933 8.62963 0.408203 10.3928 0.408203C12.1561 0.408203 13.7412 0.826744 15.1482 1.66382C16.5552 2.48309 17.6594 3.64076 18.4609 5.13682L14.9612 7.51448C13.8213 5.59098 12.2896 4.62923 10.3661 4.62923C9.43999 4.62923 8.61182 4.83404 7.8816 5.24368C7.15138 5.65331 6.58145 6.23215 6.17182 6.98017C5.76218 7.7282 5.55737 8.592 5.55737 9.57156C5.55737 11.032 6.00262 12.2164 6.89313 13.1247C7.80145 14.0152 8.95912 14.4605 10.3661 14.4605C12.2896 14.4605 13.8213 13.4987 14.9612 11.5752L18.4609 13.9529C17.6594 15.4489 16.5552 16.6155 15.1482 17.4526C13.7412 18.2719 12.1471 18.6815 10.3661 18.6815Z","fill","#0D0F1E"],["d","M34.8407 11.6019V18.3609H30.2457V11.6554L24.1813 0.728788H29.2572L32.5432 6.87331L35.8292 0.728788H40.8784L34.8407 11.6019Z","fill","#0D0F1E"],["d","M55.8291 18.6815C54.0837 18.6815 52.4808 18.2808 51.0204 17.4793C49.5778 16.6778 48.429 15.5825 47.5741 14.1933C46.737 12.8041 46.3185 11.2546 46.3185 9.54485C46.3185 7.85288 46.737 6.31229 47.5741 4.92309C48.429 3.51609 49.5778 2.41185 51.0204 1.61039C52.4808 0.808933 54.0926 0.408203 55.8559 0.408203C57.6191 0.408203 59.2042 0.826744 60.6112 1.66382C62.0182 2.48309 63.1224 3.64076 63.9239 5.13682L60.4242 7.51448C59.2843 5.59098 57.7526 4.62923 55.8291 4.62923C54.903 4.62923 54.0748 4.83404 53.3446 5.24368C52.6144 5.65331 52.0445 6.23215 51.6348 6.98017C51.2252 7.7282 51.0204 8.592 51.0204 9.57156C51.0204 11.032 51.4656 12.2164 52.3561 13.1247C53.2645 14.0152 54.4221 14.4605 55.8291 14.4605C57.7526 14.4605 59.2843 13.4987 60.4242 11.5752L63.9239 13.9529C63.1224 15.4489 62.0182 16.6155 60.6112 17.4526C59.2042 18.2719 57.6102 18.6815 55.8291 18.6815Z","fill","#0D0F1E"],["d","M71.8759 0.728788H76.4709V14.22H83.7642V18.3609H71.8759V0.728788Z","fill","#0D0F1E"],["d","M91.5158 0.728788H96.1108V18.3609H91.5158V0.728788Z","fill","#0D0F1E"],["d","M114.617 18.3609L111.518 13.4186L108.446 18.3609H103.263L109.007 9.41127L103.583 0.728788H108.766L111.518 5.43069L114.27 0.728788H119.452L114.109 9.41127L119.8 18.3609H114.617Z","fill","#0D0F1E"],[1,"components"],[1,"language","cursor_pointer"],[1,"selected-language"],["xmlns","http://www.w3.org/2000/svg","width","8","height","6","viewBox","0 0 8 6","fill","none",1,"language-arrow"],["d","M3.64645 4.94723L0.853553 2.15433C0.538571 1.83935 0.761654 1.30078 1.20711 1.30078H6.79289C7.23835 1.30078 7.46143 1.83935 7.14645 2.15433L4.35355 4.94723C4.15829 5.14249 3.84171 5.14249 3.64645 4.94723Z","fill","black","stroke","black","stroke-width","1.3"],["class","vector",4,"ngIf"],["class","login  flex-center cursor_pointer",3,"mouseenter","mouseleave",4,"ngIf"],["class","registration cursor_pointer flex-center",4,"ngIf"],["class","user-image-phone",3,"click",4,"ngIf"],["class","user-info cursor_pointer",3,"click",4,"ngIf"],[1,"burger-logo","cursor_pointer"],["class","burger-logo-image","xmlns","http://www.w3.org/2000/svg","width","16","height","14","viewBox","0 0 16 14","fill","none",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","14","height","14","viewBox","0 0 14 14","fill","none",3,"click",4,"ngIf"],[4,"ngIf"],["target",".language","showEvent","dxclick","width","130px","cssClass","user-menu",3,"items","position"],[1,"vector"],[1,"login","flex-center","cursor_pointer",3,"mouseenter","mouseleave"],[1,"login-label"],["class","login-selector",4,"ngIf"],[1,"login-selector"],[1,"customer","role",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","viewBox","0 0 30 28","fill","none",1,"un-hovered"],["d","M23.3377 15.1459C23.1332 15.1459 22.927 15.1557 22.7249 15.1751C22.5943 15.1877 22.474 15.2516 22.3905 15.3528C22.307 15.454 22.2671 15.5843 22.2797 15.7149C22.2922 15.8455 22.3561 15.9658 22.4574 16.0492C22.5586 16.1327 22.6888 16.1726 22.8194 16.1601C22.9903 16.1437 23.1647 16.
11353 23.3377 16.1353C24.6193 16.1356 25.8583 16.5957 26.8295 17.4319C27.8006 18.2682 28.4395 19.4251 28.6301 20.6925C28.8206 21.9598 28.5502 23.2535 27.8678 24.3383C27.1855 25.4232 26.1366 26.2272 24.9117 26.6043C23.6868 26.9815 22.3673 26.9066 21.193 26.3934C20.0186 25.8802 19.0674 24.9627 18.5121 23.8076C17.9568 22.6525 17.8344 21.3366 18.167 20.0989C18.4997 18.8612 19.2653 17.784 20.3249 17.0629C20.3785 17.0263 20.4245 16.9795 20.4601 16.9251C20.4956 16.8708 20.5202 16.8099 20.5322 16.7461C20.5443 16.6823 20.5437 16.6167 20.5304 16.5531C20.5171 16.4895 20.4915 16.4291 20.4548 16.3754C20.4182 16.3218 20.3714 16.2758 20.3171 16.2402C20.2627 16.2047 20.2019 16.1801 20.138 16.1681C20.0742 16.156 20.0086 16.1566 19.945 16.1699C19.8814 16.1832 19.821 16.2088 19.7674 16.2455C18.5115 17.1001 17.604 18.377 17.2097 19.844C16.8154 21.311 16.9605 22.8708 17.6187 24.2399C18.2768 25.609 19.4044 26.6965 20.7964 27.3048C22.1884 27.9131 23.7524 28.0017 25.2042 27.5547C26.656 27.1076 27.8992 26.1545 28.708 24.8686C29.5167 23.5827 29.8372 22.0493 29.6112 20.5471C29.3853 19.0449 28.6278 17.6737 27.4766 16.6825C26.3254 15.6914 24.8568 15.1462 23.3377 15.1461V15.1459Z","fill","#989898"],["d","M16.1705 20.9005L15.875 20.7706L20.2579 14.4258C20.8755 16.1175 21.6726 18.3256 22.2234 19.8545C21.8324 20.1215 21.5501 20.5198 21.4279 20.9772C21.3056 21.4346 21.3515 21.9207 21.5572 22.3471C21.7628 22.7735 22.1147 23.112 22.5487 23.3011C22.9828 23.4902 23.4702 23.5172 23.9226 23.3774C24.3749 23.2376 24.7621 22.9402 25.0137 22.5391C25.2654 22.1381 25.3648 21.6601 25.294 21.192C25.2231 20.7239 24.9867 20.2967 24.6277 19.9881C24.2686 19.6795 23.8108 19.5099 23.3374 19.5102C23.2755 19.5102 23.2146 19.5135 23.1542 19.5191C22.5485 17.8377 21.645 15.3354 21.0089 13.5985L21.7457 14.038C21.7761 14.0561 21.8084 14.071 21.842 14.0822L22.8893 14.433C23.1135 14.5073 23.3541 14.517 23.5835 14.461C23.813 14.405 24.022 14.2855 24.1867 14.1163L24.8708 13.4091C25.0323 13.2407 25.1289 13.0206 25.1435 12.7877C25.1581 12.5549 25.0897 12.3244 24.9505 12.1372L25.3248 10.9052C25.3472 10.8313 25.3521 10.7531 25.3389 10.677C25.3257 10.6008 25.2949 10.5288 25.2489 10.4668C25.2029 10.4047 25.1429 10.3543 25.0739 10.3195C25.0049 10.2848 24.9287 10.2667 24.8514 10.2667H22.6735C22.6403 10.2667 22.6071 10.27 22.5746 10.2766L21.0261 10.592L19.7584 9.64114L19.1797 7.70053C19.2402 7.21283 19.2503 6.72017 19.2096 6.23041C19.2309 6.28606 19.2541 6.34679 19.2798 6.41426C19.3351 6.56179 19.4284 6.69211 19.5502 6.79201C19.672 6.89192 19.8181 6.95787 19.9736 6.98319C20.0243 6.99176 20.0756 6.99608 20.127 6.99611C20.2585 6.99618 20.3883 6.96725 20.5073 6.91137C20.6263 6.8555 20.7314 6.77406 20.8153 6.67287L21.2156 6.19547H21.5855C21.709 6.19547 21.8281 6.14929 21.9193 6.066C22.0104 5.98271 22.0672 5.86832 22.0783 5.74533L22.1649 4.78798L22.2134 4.81148C22.2776 4.84246 22.3477 4.85922 22.4189 4.8606C22.4901 4.86199 22.5608 4.84798 22.6261 4.81952C22.6914 4.79107 22.7498 4.74884 22.7973 4.69573C22.8448 4.64262 22.8803 4.57988 22.9013 4.51181C22.9276 4.42653 23.5243 2.40615 21.6311 0.989082C19.9646 -0.258172 17.4883 0.0232005 17.3838 0.0356922C17.2978 0.0460451 17.216 0.0787994 17.1466 0.130679C17.0772 0.182558 17.0227 0.251743 16.9884 0.331314C16.9542 0.410885 16.9415 0.498053 16.9515 0.584097C16.9615 0.670141 16.9939 0.752046 17.0456 0.821619C17.0505 0.828359 17.5439 1.51188 17.5439 2.16602C17.5439 2.27499 17.4504 2.59557 17.3665 2.81491C17.3315 2.90626 17.3244 3.00593 17.346 3.10133C17.3677 3.19673 17.4171 3.28357 17.4881 3.35088C16.9039 3.23549 14.0807 2.73458 12.0409 3.38446C10.2703 3.94857 8.97282 5.77452 8.73727 6.12398C8.40747 6.43417 6.63736 8.19259 7.05453 9.82418C6.72967 9.83278 6.42125 9.96896 6.19604 10.2033C5.97082 10.4375 5.84693 10.7511 5.85116 11.076C5.8554 11.401 5.98742 11.7112 6.21867 11.9396C6.44991 12.1679 6.76177 12.296 7.08675 12.2961H9.29408C9.31941 12.296 9.34469 12.2939 9.36971 12.2899C9.56531 12.4315 9.77785 12.5815 10.0119 12.7414L10.7324 14.607L7.36831 19.24C6.91202 19.0319 6.40322 18.9674 5.90943 19.0551C5.41564 19.1428 4.96018 19.3786 4.60347 19.7311C4.24677 20.0837 4.00568 20.5363 3.91219 21.0291C3.8187 21.5218 3.87722 22.0313 4.07999 22.49C4.28276 22.9487 4.62021 23.3349 5.04755 23.5974C5.4749 23.8599 5.97195 23.9863 6.47277 23.9598C6.97359 23.9332 7.45451 23.7551 7.85173 23.4489C8.24896 23.1427 8.54371 22.723 8.69689 22.2455L11.006 22.4928C11.0119 22.8781 11.1 23.2576 11.2646 23.6059C10.8487 24.5708 10.158 25.3919 9.27866 25.9669C8.39929 26.5419 7.37014 26.8453 6.31948 26.8394C5.26883 26.8335 4.24315 26.5185 3.37032 25.9336C2.49748 25.3487 1.81609 24.5199 1.41109 23.5504C1.00609 22.581 0.895398 21.5137 1.0928
11 20.4818C1.29021 19.4498 1.78699 18.4988 2.52122 17.7472C3.25544 16.9957 4.19463 16.4768 5.2217 16.2554C6.24878 16.034 7.31831 16.1198 8.29696 16.5021C8.41915 16.5499 8.55535 16.5473 8.67559 16.4947C8.79583 16.4422 8.89026 16.344 8.93812 16.2218C8.98598 16.0996 8.98334 15.9634 8.93078 15.8432C8.87822 15.7229 8.78005 15.6285 8.65786 15.5806C7.51948 15.135 6.27657 15.0276 5.07864 15.2716C3.88071 15.5156 2.77877 16.1004 1.90535 16.9558C1.03194 17.8112 0.424244 18.9007 0.155363 20.0933C-0.113518 21.2859 -0.0321344 22.5308 0.389724 23.6782C0.811582 24.8256 1.55595 25.8268 2.5333 26.5612C3.51065 27.2956 4.67935 27.732 5.89885 27.8179C7.11835 27.9038 8.3367 27.6356 9.40738 27.0455C10.478 26.4554 11.3554 25.5686 11.934 24.4916C12.2329 24.7541 12.5856 24.9478 12.9675 25.0591C13.3493 25.1703 13.751 25.1964 14.144 25.1355C14.537 25.0747 14.9119 24.9282 15.2422 24.7067C15.5725 24.4851 15.8502 24.1937 16.0556 23.8531C16.1405 23.8341 16.2188 23.793 16.2827 23.7339C16.3466 23.6748 16.3937 23.5999 16.4193 23.5167L16.7999 22.2718C16.8811 22.0058 16.8619 21.7193 16.7459 21.4665C16.6299 21.2137 16.4252 21.0123 16.1705 20.9005ZM22.5823 20.8516C22.7582 21.3409 22.8668 21.6432 22.8718 21.6568C22.8934 21.7183 22.927 21.775 22.9707 21.8235C23.0143 21.8719 23.0671 21.9113 23.126 21.9393C23.1849 21.9673 23.2488 21.9834 23.3139 21.9866C23.3791 21.9899 23.4442 21.9802 23.5056 21.9581C23.567 21.9361 23.6234 21.9021 23.6717 21.8582C23.7199 21.8142 23.7589 21.7612 23.7865 21.7021C23.8142 21.643 23.8299 21.579 23.8327 21.5139C23.8355 21.4487 23.8254 21.3836 23.8029 21.3224C23.798 21.3086 23.6894 21.0062 23.5133 20.5167C23.7279 20.5553 23.9237 20.6636 24.0705 20.8248C24.2173 20.9861 24.3067 21.1912 24.3249 21.4085C24.3432 21.6258 24.2892 21.843 24.1714 22.0264C24.0536 22.2099 23.8785 22.3493 23.6734 22.4231C23.4682 22.4969 23.2444 22.501 23.0368 22.4346C22.8291 22.3683 22.6491 22.2352 22.5248 22.0561C22.4004 21.877 22.3386 21.6619 22.349 21.4441C22.3595 21.2263 22.4414 21.0181 22.5823 20.8516ZM6.34195 22.9738C6.12882 22.9739 5.91817 22.928 5.72433 22.8395C5.53049 22.7509 5.358 22.6216 5.2186 22.4603C5.0792 22.2991 4.97615 22.1098 4.91647 21.9052C4.85679 21.7006 4.84188 21.4855 4.87275 21.2746C4.90361 21.0638 4.97954 20.862 5.09535 20.6831C5.21117 20.5042 5.36416 20.3523 5.54392 20.2378C5.72367 20.1233 5.92598 20.0489 6.13709 20.0195C6.34819 19.9902 6.56313 20.0067 6.76729 20.0679L5.9416 21.2051C5.89063 21.2753 5.85901 21.3576 5.84992 21.4439C5.84083 21.5302 5.85458 21.6173 5.8898 21.6966C5.92502 21.7759 5.98047 21.8445 6.05058 21.8956C6.12069 21.9467 6.203 21.9784 6.28926 21.9876L7.67757 22.1361C7.55595 22.3869 7.36621 22.5985 7.13002 22.7467C6.89384 22.8948 6.62074 22.9735 6.34195 22.9738ZM7.24444 21.0948L7.56601 20.6517C7.67023 20.8035 7.74517 20.9733 7.78697 21.1526L7.24444 21.0948ZM13.4462 14.8749C13.539 14.9282 13.6233 14.9764 13.6964 15.018L12.9678 17.6484L11.9808 15.0932C12.3501 15.0379 12.8593 14.9621 13.4462 14.8749ZM11.6154 14.147L11.4299 13.6661C11.6577 13.8087 11.8804 13.9458 12.0944 14.0758L11.6154 14.147ZM14.7531 14.9088C14.7828 14.8016 14.7754 14.6875 14.7323 14.585C14.6892 14.4825 14.6128 14.3975 14.5154 14.3437C13.9112 14.0098 13.1952 13.594 12.4633 13.1449L14.2109 11.2704L16.5732 13.2407C16.6473 13.3027 16.701 13.3856 16.7275 13.4785C16.754 13.5714 16.7519 13.6701 16.7216 13.7618L14.549 20.4082L13.8375 20.4373L13.2643 20.2859L14.7531 14.9088ZM16.1887 18.5756L17.5999 14.2597C18.3695 14.1463 18.9345 14.0635 19.3473 14.0033L16.1887 18.5756ZM17.6897 13.2464C17.6137 12.9484 17.4463 12.6818 17.2109 12.4841L13.6242 9.46223L16.2607 9.02131L17.3442 11.3147C17.3862 11.4036 17.4537 11.4779 17.538 11.5283L19.6573 12.7927L19.6579 12.7944C19.6764 12.8443 19.6958 12.8967 19.7157 12.9501C19.3252 13.0062 18.6994 13.0976 17.6899 13.2464H17.6897ZM22.7231 11.2563H24.1837L24.1033 11.5201C23.9542 11.4893 23.8002 11.4912 23.6519 11.5258L22.5974 11.7712L22.0845 11.3865L22.7231 11.2563ZM22.1883 12.701C22.2461 12.7443 22.3126 12.7744 22.3832 12.7893C22.4538 12.8042 22.5269 12.8034 22.5972 12.7871L23.8762 12.4896C23.886 12.4873 23.8963 12.4875 23.9061 12.4903C23.9158 
112.4931 23.9247 12.4983 23.9318 12.5055L24.1549 12.726L23.4751 13.4289C23.4405 13.4644 23.3967 13.4895 23.3486 13.5012C23.3004 13.5129 23.25 13.5109 23.203 13.4953L22.2062 13.1613L18.1737 10.7557L17.6048 9.5519L18.6358 9.34233L18.856 10.0806C18.8863 10.1823 18.9484 10.2715 19.0333 10.335L22.1883 12.701ZM21.2 4.47229L21.1336 5.20627H20.9847C20.9124 5.20627 20.841 5.22211 20.7755 5.25268C20.71 5.28325 20.652 5.3278 20.6056 5.3832L20.1517 5.92448C19.9188 5.31486 19.9015 5.28029 19.8861 5.24956C19.8296 5.13649 19.7319 5.04935 19.6132 5.00603C19.4944 4.96271 19.3636 4.96649 19.2475 5.01661L19.0092 5.11957C18.9022 4.78299 18.7481 4.46322 18.5516 4.16977L18.7404 4.06557C18.9136 4.14924 19.092 4.22895 19.2656 4.29592C20.0762 4.60859 20.8565 4.45188 21.2314 4.33921C21.2148 4.3819 21.2042 4.42669 21.2 4.47229ZM21.0381 1.7815C21.8265 2.37146 22.0072 3.10315 22.021 3.61073C22.0181 3.61247 22.0152 3.61407 22.0123 3.61587L21.4795 3.35861C21.4154 3.32769 21.3454 3.31094 21.2743 3.30952C21.2032 3.3081 21.1326 3.32204 21.0673 3.35039C21.0603 3.35342 20.3399 3.64969 19.6217 3.37277C19.2082 3.20276 18.8078 3.0026 18.4237 2.77391C18.4866 2.57702 18.5235 2.37274 18.5334 2.16627C18.5235 1.7612 18.4325 1.36222 18.2656 0.992978C19.0244 1.00912 20.1936 1.14931 21.0381 1.7815ZM7.08675 11.3071C7.02115 11.3071 6.95823 11.2811 6.91184 11.2347C6.86545 11.1883 6.83939 11.1254 6.83939 11.0598C6.83939 10.9941 6.86545 10.9312 6.91184 10.8848C6.95823 10.8385 7.02115 10.8124 7.08675 10.8124H7.62136C7.78099 10.9861 7.94974 11.1513 8.1269 11.3071H7.08675ZM8.09289 9.789C7.643 8.91087 8.63436 7.67289 9.15512 7.11188L9.89102 7.70233C9.99336 7.78444 10.1241 7.82253 10.2546 7.80823C10.385 7.79392 10.5044 7.72839 10.5865 7.62605C10.6686 7.5237 10.7067 7.39293 10.6924 7.26251C10.6781 7.13208 10.6126 7.01267 10.5102 6.93056L9.79325 6.35545C10.2339 5.78349 11.1926 4.69374 12.3416 4.32765C12.9979 4.1185 13.7682 4.04838 14.5068 4.04838C15.4579 4.05662 16.4062 4.15117 17.3402 4.33086C17.6128 4.46611 18.1046 5.11778 18.2008 6.04761C18.3028 7.0342 18.1895 7.63183 18.1887 7.63591C18.1726 7.71556 18.1762 7.79797 18.1995 7.87585L18.353 8.39073L17.1705 8.63086L16.9954 8.26031C16.9494 8.1629 16.8728 8.08317 16.7774 8.03324C16.6819 7.9833 16.5728 7.96588 16.4665 7.98364L12.6235 8.6264L11.6217 7.82248C11.571 7.78182 11.5128 7.75154 11.4504 7.73336C11.3881 7.71519 11.3227 7.70947 11.2581 7.71655C11.1936 7.72363 11.131 7.74336 11.0741 7.77461C11.0171 7.80586 10.9669 7.84803 10.9262 7.8987C10.8855 7.94937 10.8552 8.00755 10.8371 8.06993C10.8189 8.1323 10.8132 8.19764 10.8203 8.26223C10.8273 8.32681 10.8471 8.38936 10.8783 8.44632C10.9096 8.50328 10.9517 8.55352 11.0024 8.59418L13.4501 10.6357L11.6096 12.6098C9.95929 11.5526 8.41761 10.4233 8.09289 9.789ZM10.4645 18.0694C11.0909 18.821 11.498 19.7308 11.641 20.6987C11.4371 20.9411 11.2773 21.2174 11.169 21.515L8.80486 21.2619C8.75548 20.7255 8.53176 20.2201 8.1679 19.8229L11.1569 15.7063L12.5247 19.2479L12.4149 19.6446C12.1699 18.8365 11.7654 18.0858 11.2252 17.4369C11.1413 17.336 11.0208 17.2725 10.8902 17.2605C10.7595 17.2484 10.6294 17.2888 10.5285 17.3727C10.4276 17.4565 10.3641 17.5771 10.3521 17.7077C10.34 17.8384 10.3804 17.9685 10.4643 18.0694H10.4645ZM13.7261 24.1785C13.4735 24.1787 13.224 24.1237 12.995 24.0172C12.766 23.9107 12.5631 23.7554 12.4005 23.5621C12.238 23.3688 12.1197 23.1423 12.054 22.8984C11.9884 22.6545 11.9769 22.3992 12.0205 22.1505C12.0495 22.2245 12.0846 22.296 12.1256 22.3641C12.2245 22.527 12.3548 22.6685 12.5091 22.7804C12.6633 22.8923 12.8383 22.9722 13.0238 23.0156L15.0093 23.6088C14.8471 23.7881 14.649 23.9315 14.428 24.0296C14.2069 24.1276 13.9677 24.1783 13.7259 24.1782L13.7261 24.1785ZM15.8538 21.9831L15.617 22.7579L13.2906 22.0625C13.2783 22.0589 13.2659 22.0557 13.2535 22.053C13.1954 22.0404 13.1405 22.0161 13.0921 21.9816C13.0437 21.947 13.0029 21.9029 12.9721 21.8521C12.9414 21.8012 12.9213 21.7445 12.9132 21.6856C12.9051 21.6267 12.9091 21.5668 12.925 21.5095L12.9997 21.2396L13.6565 21.4132C13.6978 21.4241 13.7403 21.4296 13.7829 21.4297C13.7897 21.4297 13.7964 21.4297 13.8031 21.4292L14.8181 21.3877L15.7728 21.8068C15.8055 21.8211 15.8318 21.8469 15.8467 21.8793C15.8617 21.9117 15.8642 21.9484 15.8538 21.9826V21.9831Z","fill","#989898"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","viewBox","0 0 30 28","fill","none",1,"hovered"],["d","M23.3377 15.1459C23.1332 15.1459 22.927 15.1557 22.7249 15.1751C22.5943 15.1877 22.474 15.2516 22.3905 15.3528C22.307 15.454 22.2671 15.5843 22.2797 15.7149C22.2922 15.8455 22.3561 15.9658 22.4574 16.0492C22.5586 16.1327 22.6888 16.1726 22.8194 16.1601C22.9903 16.1437 23.1647 16.
11353 23.3377 16.1353C24.6193 16.1356 25.8583 16.5957 26.8295 17.4319C27.8006 18.2682 28.4395 19.4251 28.6301 20.6925C28.8206 21.9598 28.5502 23.2535 27.8678 24.3383C27.1855 25.4232 26.1366 26.2272 24.9117 26.6043C23.6868 26.9815 22.3673 26.9066 21.193 26.3934C20.0186 25.8802 19.0674 24.9627 18.5121 23.8076C17.9568 22.6525 17.8344 21.3366 18.167 20.0989C18.4997 18.8612 19.2653 17.784 20.3249 17.0629C20.3785 17.0263 20.4245 16.9795 20.4601 16.9251C20.4956 16.8708 20.5202 16.8099 20.5322 16.7461C20.5443 16.6823 20.5437 16.6167 20.5304 16.5531C20.5171 16.4895 20.4915 16.4291 20.4548 16.3754C20.4182 16.3218 20.3714 16.2758 20.3171 16.2402C20.2627 16.2047 20.2019 16.1801 20.138 16.1681C20.0742 16.156 20.0086 16.1566 19.945 16.1699C19.8814 16.1832 19.821 16.2088 19.7674 16.2455C18.5115 17.1001 17.604 18.377 17.2097 19.844C16.8154 21.311 16.9605 22.8708 17.6187 24.2399C18.2768 25.609 19.4044 26.6965 20.7964 27.3048C22.1884 27.9131 23.7524 28.0017 25.2042 27.5547C26.656 27.1076 27.8992 26.1545 28.708 24.8686C29.5167 23.5827 29.8372 22.0493 29.6112 20.5471C29.3853 19.0449 28.6278 17.6737 27.4766 16.6825C26.3254 15.6914 24.8568 15.1462 23.3377 15.1461V15.1459Z","fill","black"],["d","M16.1705 20.9005L15.875 20.7706L20.2579 14.4258C20.8755 16.1175 21.6726 18.3256 22.2234 19.8545C21.8324 20.1215 21.5501 20.5198 21.4279 20.9772C21.3056 21.4346 21.3515 21.9207 21.5572 22.3471C21.7628 22.7735 22.1147 23.112 22.5487 23.3011C22.9828 23.4902 23.4702 23.5172 23.9226 23.3774C24.3749 23.2376 24.7621 22.9402 25.0137 22.5391C25.2654 22.1381 25.3648 21.6601 25.294 21.192C25.2231 20.7239 24.9867 20.2967 24.6277 19.9881C24.2686 19.6795 23.8108 19.5099 23.3374 19.5102C23.2755 19.5102 23.2146 19.5135 23.1542 19.5191C22.5485 17.8377 21.645 15.3354 21.0089 13.5985L21.7457 14.038C21.7761 14.0561 21.8084 14.071 21.842 14.0822L22.8893 14.433C23.1135 14.5073 23.3541 14.517 23.5835 14.461C23.813 14.405 24.022 14.2855 24.1867 14.1163L24.8708 13.4091C25.0323 13.2407 25.1289 13.0206 25.1435 12.7877C25.1581 12.5549 25.0897 12.3244 24.9505 12.1372L25.3248 10.9052C25.3472 10.8313 25.3521 10.7531 25.3389 10.677C25.3257 10.6008 25.2949 10.5288 25.2489 10.4668C25.2029 10.4047 25.1429 10.3543 25.0739 10.3195C25.0049 10.2848 24.9287 10.2667 24.8514 10.2667H22.6735C22.6403 10.2667 22.6071 10.27 22.5746 10.2766L21.0261 10.592L19.7584 9.64114L19.1797 7.70053C19.2402 7.21283 19.2503 6.72017 19.2096 6.23041C19.2309 6.28606 19.2541 6.34679 19.2798 6.41426C19.3351 6.56179 19.4284 6.69211 19.5502 6.79201C19.672 6.89192 19.8181 6.95787 19.9736 6.98319C20.0243 6.99176 20.0756 6.99608 20.127 6.99611C20.2585 6.99618 20.3883 6.96725 20.5073 6.91137C20.6263 6.8555 20.7314 6.77406 20.8153 6.67287L21.2156 6.19547H21.5855C21.709 6.19547 21.8281 6.14929 21.9193 6.066C22.0104 5.98271 22.0672 5.86832 22.0783 5.74533L22.1649 4.78798L22.2134 4.81148C22.2776 4.84246 22.3477 4.85922 22.4189 4.8606C22.4901 4.86199 22.5608 4.84798 22.6261 4.81952C22.6914 4.79107 22.7498 4.74884 22.7973 4.69573C22.8448 4.64262 22.8803 4.57988 22.9013 4.51181C22.9276 4.42653 23.5243 2.40615 21.6311 0.989082C19.9646 -0.258172 17.4883 0.0232005 17.3838 0.0356922C17.2978 0.0460451 17.216 0.0787994 17.1466 0.130679C17.0772 0.182558 17.0227 0.251743 16.9884 0.331314C16.9542 0.410885 16.9415 0.498053 16.9515 0.584097C16.9615 0.670141 16.9939 0.752046 17.0456 0.821619C17.0505 0.828359 17.5439 1.51188 17.5439 2.16602C17.5439 2.27499 17.4504 2.59557 17.3665 2.81491C17.3315 2.90626 17.3244 3.00593 17.346 3.10133C17.3677 3.19673 17.4171 3.28357 17.4881 3.35088C16.9039 3.23549 14.0807 2.73458 12.0409 3.38446C10.2703 3.94857 8.97282 5.77452 8.73727 6.12398C8.40747 6.43417 6.63736 8.19259 7.05453 9.82418C6.72967 9.83278 6.42125 9.96896 6.19604 10.2033C5.97082 10.4375 5.84693 10.7511 5.85116 11.076C5.8554 11.401 5.98742 11.7112 6.21867 11.9396C6.44991 12.1679 6.76177 12.296 7.08675 12.2961H9.29408C9.31941 12.296 9.34469 12.2939 9.36971 12.2899C9.56531 12.4315 9.77785 12.5815 10.0119 12.7414L10.7324 14.607L7.36831 19.24C6.91202 19.0319 6.40322 18.9674 5.90943 19.0551C5.41564 19.1428 4.96018 19.3786 4.60347 19.7311C4.24677 20.0837 4.00568 20.5363 3.91219 21.0291C3.8187 21.5218 3.87722 22.0313 4.07999 22.49C4.28276 22.9487 4.62021 23.3349 5.04755 23.5974C5.4749 23.8599 5.97195 23.9863 6.47277 23.9598C6.97359 23.9332 7.45451 23.7551 7.85173 23.4489C8.24896 23.1427 8.54371 22.723 8.69689 22.2455L11.006 22.4928C11.0119 22.8781 11.1 23.2576 11.2646 23.6059C10.8487 24.5708 10.158 25.3919 9.27866 25.9669C8.39929 26.5419 7.37014 26.8453 6.31948 26.8394C5.26883 26.8335 4.24315 26.5185 3.37032 25.9336C2.49748 25.3487 1.81609 24.5199 1.41109 23.5504C1.00609 22.581 0.895398 21.5137 1.0928
11 20.4818C1.29021 19.4498 1.78699 18.4988 2.52122 17.7472C3.25544 16.9957 4.19463 16.4768 5.2217 16.2554C6.24878 16.034 7.31831 16.1198 8.29696 16.5021C8.41915 16.5499 8.55535 16.5473 8.67559 16.4947C8.79583 16.4422 8.89026 16.344 8.93812 16.2218C8.98598 16.0996 8.98334 15.9634 8.93078 15.8432C8.87822 15.7229 8.78005 15.6285 8.65786 15.5806C7.51948 15.135 6.27657 15.0276 5.07864 15.2716C3.88071 15.5156 2.77877 16.1004 1.90535 16.9558C1.03194 17.8112 0.424244 18.9007 0.155363 20.0933C-0.113518 21.2859 -0.0321344 22.5308 0.389724 23.6782C0.811582 24.8256 1.55595 25.8268 2.5333 26.5612C3.51065 27.2956 4.67935 27.732 5.89885 27.8179C7.11835 27.9038 8.3367 27.6356 9.40738 27.0455C10.478 26.4554 11.3554 25.5686 11.934 24.4916C12.2329 24.7541 12.5856 24.9478 12.9675 25.0591C13.3493 25.1703 13.751 25.1964 14.144 25.1355C14.537 25.0747 14.9119 24.9282 15.2422 24.7067C15.5725 24.4851 15.8502 24.1937 16.0556 23.8531C16.1405 23.8341 16.2188 23.793 16.2827 23.7339C16.3466 23.6748 16.3937 23.5999 16.4193 23.5167L16.7999 22.2718C16.8811 22.0058 16.8619 21.7193 16.7459 21.4665C16.6299 21.2137 16.4252 21.0123 16.1705 20.9005ZM22.5823 20.8516C22.7582 21.3409 22.8668 21.6432 22.8718 21.6568C22.8934 21.7183 22.927 21.775 22.9707 21.8235C23.0143 21.8719 23.0671 21.9113 23.126 21.9393C23.1849 21.9673 23.2488 21.9834 23.3139 21.9866C23.3791 21.9899 23.4442 21.9802 23.5056 21.9581C23.567 21.9361 23.6234 21.9021 23.6717 21.8582C23.7199 21.8142 23.7589 21.7612 23.7865 21.7021C23.8142 21.643 23.8299 21.579 23.8327 21.5139C23.8355 21.4487 23.8254 21.3836 23.8029 21.3224C23.798 21.3086 23.6894 21.0062 23.5133 20.5167C23.7279 20.5553 23.9237 20.6636 24.0705 20.8248C24.2173 20.9861 24.3067 21.1912 24.3249 21.4085C24.3432 21.6258 24.2892 21.843 24.1714 22.0264C24.0536 22.2099 23.8785 22.3493 23.6734 22.4231C23.4682 22.4969 23.2444 22.501 23.0368 22.4346C22.8291 22.3683 22.6491 22.2352 22.5248 22.0561C22.4004 21.877 22.3386 21.6619 22.349 21.4441C22.3595 21.2263 22.4414 21.0181 22.5823 20.8516ZM6.34195 22.9738C6.12882 22.9739 5.91817 22.928 5.72433 22.8395C5.53049 22.7509 5.358 22.6216 5.2186 22.4603C5.0792 22.2991 4.97615 22.1098 4.91647 21.9052C4.85679 21.7006 4.84188 21.4855 4.87275 21.2746C4.90361 21.0638 4.97954 20.862 5.09535 20.6831C5.21117 20.5042 5.36416 20.3523 5.54392 20.2378C5.72367 20.1233 5.92598 20.0489 6.13709 20.0195C6.34819 19.9902 6.56313 20.0067 6.76729 20.0679L5.9416 21.2051C5.89063 21.2753 5.85901 21.3576 5.84992 21.4439C5.84083 21.5302 5.85458 21.6173 5.8898 21.6966C5.92502 21.7759 5.98047 21.8445 6.05058 21.8956C6.12069 21.9467 6.203 21.9784 6.28926 21.9876L7.67757 22.1361C7.55595 22.3869 7.36621 22.5985 7.13002 22.7467C6.89384 22.8948 6.62074 22.9735 6.34195 22.9738ZM7.24444 21.0948L7.56601 20.6517C7.67023 20.8035 7.74517 20.9733 7.78697 21.1526L7.24444 21.0948ZM13.4462 14.8749C13.539 14.9282 13.6233 14.9764 13.6964 15.018L12.9678 17.6484L11.9808 15.0932C12.3501 15.0379 12.8593 14.9621 13.4462 14.8749ZM11.6154 14.147L11.4299 13.6661C11.6577 13.8087 11.8804 13.9458 12.0944 14.0758L11.6154 14.147ZM14.7531 14.9088C14.7828 14.8016 14.7754 14.6875 14.7323 14.585C14.6892 14.4825 14.6128 14.3975 14.5154 14.3437C13.9112 14.0098 13.1952 13.594 12.4633 13.1449L14.2109 11.2704L16.5732 13.2407C16.6473 13.3027 16.701 13.3856 16.7275 13.4785C16.754 13.5714 16.7519 13.6701 16.7216 13.7618L14.549 20.4082L13.8375 20.4373L13.2643 20.2859L14.7531 14.9088ZM16.1887 18.5756L17.5999 14.2597C18.3695 14.1463 18.9345 14.0635 19.3473 14.0033L16.1887 18.5756ZM17.6897 13.2464C17.6137 12.9484 17.4463 12.6818 17.2109 12.4841L13.6242 9.46223L16.2607 9.02131L17.3442 11.3147C17.3862 11.4036 17.4537 11.4779 17.538 11.5283L19.6573 12.7927L19.6579 12.7944C19.6764 12.8443 19.6958 12.8967 19.7157 12.9501C19.3252 13.0062 18.6994 13.0976 17.6899 13.2464H17.6897ZM22.7231 11.2563H24.1837L24.1033 11.5201C23.9542 11.4893 23.8002 11.4912 23.6519 11.5258L22.5974 11.7712L22.0845 11.3865L22.7231 11.2563ZM22.1883 12.701C22.2461 12.7443 22.3126 12.7744 22.3832 12.7893C22.4538 12.8042 22.5269 12.8034 22.5972 12.7871L23.8762 12.4896C23.886 12.4873 23.8963 12.4875 23.9061 12.4903C23.9158 
112.4931 23.9247 12.4983 23.9318 12.5055L24.1549 12.726L23.4751 13.4289C23.4405 13.4644 23.3967 13.4895 23.3486 13.5012C23.3004 13.5129 23.25 13.5109 23.203 13.4953L22.2062 13.1613L18.1737 10.7557L17.6048 9.5519L18.6358 9.34233L18.856 10.0806C18.8863 10.1823 18.9484 10.2715 19.0333 10.335L22.1883 12.701ZM21.2 4.47229L21.1336 5.20627H20.9847C20.9124 5.20627 20.841 5.22211 20.7755 5.25268C20.71 5.28325 20.652 5.3278 20.6056 5.3832L20.1517 5.92448C19.9188 5.31486 19.9015 5.28029 19.8861 5.24956C19.8296 5.13649 19.7319 5.04935 19.6132 5.00603C19.4944 4.96271 19.3636 4.96649 19.2475 5.01661L19.0092 5.11957C18.9022 4.78299 18.7481 4.46322 18.5516 4.16977L18.7404 4.06557C18.9136 4.14924 19.092 4.22895 19.2656 4.29592C20.0762 4.60859 20.8565 4.45188 21.2314 4.33921C21.2148 4.3819 21.2042 4.42669 21.2 4.47229ZM21.0381 1.7815C21.8265 2.37146 22.0072 3.10315 22.021 3.61073C22.0181 3.61247 22.0152 3.61407 22.0123 3.61587L21.4795 3.35861C21.4154 3.32769 21.3454 3.31094 21.2743 3.30952C21.2032 3.3081 21.1326 3.32204 21.0673 3.35039C21.0603 3.35342 20.3399 3.64969 19.6217 3.37277C19.2082 3.20276 18.8078 3.0026 18.4237 2.77391C18.4866 2.57702 18.5235 2.37274 18.5334 2.16627C18.5235 1.7612 18.4325 1.36222 18.2656 0.992978C19.0244 1.00912 20.1936 1.14931 21.0381 1.7815ZM7.08675 11.3071C7.02115 11.3071 6.95823 11.2811 6.91184 11.2347C6.86545 11.1883 6.83939 11.1254 6.83939 11.0598C6.83939 10.9941 6.86545 10.9312 6.91184 10.8848C6.95823 10.8385 7.02115 10.8124 7.08675 10.8124H7.62136C7.78099 10.9861 7.94974 11.1513 8.1269 11.3071H7.08675ZM8.09289 9.789C7.643 8.91087 8.63436 7.67289 9.15512 7.11188L9.89102 7.70233C9.99336 7.78444 10.1241 7.82253 10.2546 7.80823C10.385 7.79392 10.5044 7.72839 10.5865 7.62605C10.6686 7.5237 10.7067 7.39293 10.6924 7.26251C10.6781 7.13208 10.6126 7.01267 10.5102 6.93056L9.79325 6.35545C10.2339 5.78349 11.1926 4.69374 12.3416 4.32765C12.9979 4.1185 13.7682 4.04838 14.5068 4.04838C15.4579 4.05662 16.4062 4.15117 17.3402 4.33086C17.6128 4.46611 18.1046 5.11778 18.2008 6.04761C18.3028 7.0342 18.1895 7.63183 18.1887 7.63591C18.1726 7.71556 18.1762 7.79797 18.1995 7.87585L18.353 8.39073L17.1705 8.63086L16.9954 8.26031C16.9494 8.1629 16.8728 8.08317 16.7774 8.03324C16.6819 7.9833 16.5728 7.96588 16.4665 7.98364L12.6235 8.6264L11.6217 7.82248C11.571 7.78182 11.5128 7.75154 11.4504 7.73336C11.3881 7.71519 11.3227 7.70947 11.2581 7.71655C11.1936 7.72363 11.131 7.74336 11.0741 7.77461C11.0171 7.80586 10.9669 7.84803 10.9262 7.8987C10.8855 7.94937 10.8552 8.00755 10.8371 8.06993C10.8189 8.1323 10.8132 8.19764 10.8203 8.26223C10.8273 8.32681 10.8471 8.38936 10.8783 8.44632C10.9096 8.50328 10.9517 8.55352 11.0024 8.59418L13.4501 10.6357L11.6096 12.6098C9.95929 11.5526 8.41761 10.4233 8.09289 9.789ZM10.4645 18.0694C11.0909 18.821 11.498 19.7308 11.641 20.6987C11.4371 20.9411 11.2773 21.2174 11.169 21.515L8.80486 21.2619C8.75548 20.7255 8.53176 20.2201 8.1679 19.8229L11.1569 15.7063L12.5247 19.2479L12.4149 19.6446C12.1699 18.8365 11.7654 18.0858 11.2252 17.4369C11.1413 17.336 11.0208 17.2725 10.8902 17.2605C10.7595 17.2484 10.6294 17.2888 10.5285 17.3727C10.4276 17.4565 10.3641 17.5771 10.3521 17.7077C10.34 17.8384 10.3804 17.9685 10.4643 18.0694H10.4645ZM13.7261 24.1785C13.4735 24.1787 13.224 24.1237 12.995 24.0172C12.766 23.9107 12.5631 23.7554 12.4005 23.5621C12.238 23.3688 12.1197 23.1423 12.054 22.8984C11.9884 22.6545 11.9769 22.3992 12.0205 22.1505C12.0495 22.2245 12.0846 22.296 12.1256 22.3641C12.2245 22.527 12.3548 22.6685 12.5091 22.7804C12.6633 22.8923 12.8383 22.9722 13.0238 23.0156L15.0093 23.6088C14.8471 23.7881 14.649 23.9315 14.428 24.0296C14.2069 24.1276 13.9677 24.1783 13.7259 24.1782L13.7261 24.1785ZM15.8538 21.9831L15.617 22.7579L13.2906 22.0625C13.2783 22.0589 13.2659 22.0557 13.2535 22.053C13.1954 22.0404 13.1405 22.0161 13.0921 21.9816C13.0437 21.947 13.0029 21.9029 12.9721 21.8521C12.9414 21.8012 12.9213 21.7445 12.9132 21.6856C12.9051 21.6267 12.9091 21.5668 12.925 21.5095L12.9997 21.2396L13.6565 21.4132C13.6978 21.4241 13.7403 21.4296 13.7829 21.4297C13.7897 21.4297 13.7964 21.4297 13.8031 21.4292L14.8181 21.3877L15.7728 21.8068C15.8055 21.8211 15.8318 21.8469 15.8467 21.8793C15.8617 21.9117 15.8642 21.9484 15.8538 21.9826V21.9831Z","fill","black"],[1,"role-name-box","flex-center"],["width","6","height","8","viewBox","0 0 6 8","fill","none","xmlns","http://www.w3.org/2000/svg",1,"arrow"],["clip-path","url(#clip0_3299_196)"],["filter","url(#filter0_d_3299_196)"],["d","M-1.27147e-07 4L6 8L6 0L-1.27147e-07 4Z","fill","white"],["id","filter0_d_3299_196","x","-15.9","y","-15.9","width","43.8","height","45.8","filterUnits","userSpaceOnUse","color-interpolation-filters","sRGB"],["flood-opacity","0","result","Backgroun
1dImageFix"],["in","SourceAlpha","type","matrix","values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0","result","hardAlpha"],["radius","2","operator","dilate","in","SourceAlpha","result","effect1_dropShadow_3299_196"],["dx","3","dy","3"],["stdDeviation","8.45"],["in2","hardAlpha","operator","out"],["type","matrix","values","0 0 0 0 0.632763 0 0 0 0 0.632763 0 0 0 0 0.632763 0 0 0 0.25 0"],["mode","normal","in2","BackgroundImageFix","result","effect1_dropShadow_3299_196"],["mode","normal","in","SourceGraphic","in2","effect1_dropShadow_3299_196","result","shape"],["id","clip0_3299_196"],["width","6","height","8","fill","white"],[1,"box","flex-center"],["xmlns","http://www.w3.org/2000/svg","width","55","height","2","viewBox","0 0 55 2","fill","none"],["d","M55 1L2.38419e-07 1","stroke","#DEE5F4"],[1,"shop","role",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","viewBox","0 0 25 25","fill","none",1,"hovered"],["d","M22.4963 13.4246L20.4358 13.1319L19.1668 12.6164V11.646C19.6289 11.302 20.0139 10.8656 20.2973 10.3645C20.5807 9.86346 20.7562 9.30886 20.8126 8.7362H20.8335C21.2356 8.73593 21.6241 8.59048 21.9272 8.3267C22.2304 8.06291 22.4278 7.69858 22.4831 7.30087C22.5384 6.90317 22.4478 6.49893 22.228 6.16269C22.0082 5.82645 21.6741 5.58089 21.2872 5.47131C21.3716 5.15226 21.3587 4.81529 21.2501 4.50362V2.91207C21.2501 2.13974 20.9428 1.39904 20.3959 0.852925C19.8489 0.306806 19.1071 0 18.3335 0H15.0003C14.2268 0 13.4849 0.306806 12.938 0.852925C12.391 1.39904 12.0837 2.13974 12.0837 2.91207V4.50362C11.9751 4.81529 11.9622 5.15226 12.0466 5.47131C11.6598 5.58089 11.3256 5.82645 11.1058 6.16269C10.8861 6.49893 10.7954 6.90317 10.8507 7.30087C10.906 7.69858 11.1034 8.06291 11.4066 8.3267C11.7098 8.59048 12.0982 8.73593 12.5004 8.7362H12.5212C12.5776 9.3089 12.7531 9.86355 13.0365 10.3646C13.3199 10.8657 13.7049 11.3022 14.167 11.6462V12.6343L12.8754 13.2531L10.6367 13.7294C10.0379 13.8621 9.49568 14.1783 9.08582 14.6339C8.67596 15.0895 8.419 15.6616 8.3509 16.2702C8.08994 16.0341 7.80492 15.8259 7.50051 15.6491V9.31206C8.49273 8.74203 9.25833 7.84854 9.6688 6.78157C10.0793 5.71461 10.1096 4.53913 9.75477 3.45246C9.73267 3.38501 9.69366 3.32432 9.64144 3.27617C9.58922 3.22803 9.52553 3.19402 9.45643 3.17738C9.38733 3.16074 9.31511 3.16204 9.24666 3.18113C9.1782 3.20023 9.11577 3.23649 9.06531 3.28648L6.37581 5.95102C6.26232 6.06217 6.10953 6.12418 5.95056 6.12361C5.79517 6.12237 5.64652 6.06002 5.53687 5.95008L4.04108 4.4565C3.93101 4.34706 3.86857 4.19871 3.86729 4.04361C3.86657 3.88588 3.92789 3.73416 4.03806 3.6211L6.70882 0.933682C6.7589 0.883291 6.79524 0.820942 6.81437 0.752567C6.8335 0.684192 6.83478 0.612067 6.8181 0.543056C6.80142 0.474044 6.76733 0.410443 6.71908 0.358304C6.67082 0.306165 6.61001 0.267224 6.54242 0.245186C5.3678 -0.136244 4.09332 -0.0697884 2.96489 0.43173C1.83646 0.933248 0.934047 1.83429 0.431782 2.96098C-0.0704827 4.08768 -0.137007 5.36019 0.245046 6.53298C0.627099 7.70577 1.43065 8.69571 2.50066 9.3118V15.6485C1.50845 16.2185 0.742842 17.112 0.332368 18.179C-0.0781054 19.246 -0.108459 20.4214 0.246402 21.5081C0.2685 21.5756 0.307515 21.6363 0.359734 21.6844C0.411954 21.7326 0.475642 21.7666 0.544742 21.7832C0.613842 21.7998 0.686055 21.7985 0.754514 21.7794C0.822973 21.7603 0.885401 21.7241 0.935861 21.6741L3.62537 19.0096C3.73885 18.8984 3.89164 18.8364 4.05061 18.837C4.20601 18.8382 4.35465 18.9006 4.4643 19.0105L5.96009 20.5039C6.07021 20.6134 6.13266 20.7618 6.13389 20.917C6.1346 21.0748 6.07328 21.2265 5.96311 21.3395L3.2923 24.0269C3.24222 24.0773 3.2059 24.1397 3.18678 24.2081C3.16767 24.2764 3.16641 24.3486 3.18311 24.4176C3.19982 24.4866 3.23394 24.5502 3.28222 24.6023C3.33051 24.6545 3.39135 24.6934 3.45896 24.7154C5.1848 25.2783 7.14953 24.8146 8.45074 23.5658C8.59354 23.9729 8.8594 24.3258 9.21161 24.5756C9.56383 24.8255 9.98504 24.96 10.4171 24.9606H11.6671C11.696 24.9606 16.2503 24.0041 16.2503 24.0041V24.9606H17.0836V24.0063L21.5809 24.9517C21.6092 24.9576 21.6379 24.9606 21.6668 24.9606H22.9167C23.4691 24.96 23.9986 24.7406 24.3891 24.3507C24.7797 23.9607 24.9994 23.432 25 22.8805V16.3076C24.9959 15.6078 24.7413 14.9325 24.2821 14.4038C23.8229 13.8751 23.1895 13.5278 22.4963 
113.4246ZM16.6669 17.8981L16.067 16.2244H17.2649L16.6669 17.8981ZM15.0003 12.1312C15.5256 12.3615 16.0932 12.4804 16.6669 12.4804C17.2407 12.4804 17.8082 12.3615 18.3335 12.1312V12.8332L17.5342 15.3924H15.7999L15.0003 12.8329V12.1312ZM18.2346 15.9449L19.0131 13.4523L19.8881 13.8077L19.6394 16.7873L18.2369 15.9872L18.2502 15.9505L18.2346 15.9449ZM18.3794 5.68737C17.2456 5.4983 16.0882 5.4983 14.9545 5.68737L13.8118 5.87749C13.6862 5.89823 13.5576 5.89047 13.4354 5.85479C13.3132 5.81911 13.2007 5.75642 13.1061 5.67137C13.0115 5.58632 12.9373 5.48109 12.889 5.3635C12.8408 5.24592 12.8196 5.11898 12.8272 4.99212H20.5066C20.5142 5.11898 20.4931 5.24592 20.4448 5.3635C20.3965 5.48109 20.3223 5.58632 20.2277 5.67137C20.1331 5.75642 20.0206 5.81911 19.8984 5.85479C19.7763 5.89047 19.6476 5.89823 19.522 5.87749L18.3794 5.68737ZM17.9169 4.1601H15.4169V3.32808H17.9169V4.1601ZM21.6668 7.07216C21.6663 7.29268 21.5783 7.50403 21.4222 7.65996C21.266 7.81589 21.0543 7.9037 20.8335 7.90418V6.24534C20.8351 6.24368 20.8369 6.24217 20.8387 6.24056C21.0586 6.24214 21.2691 6.33041 21.4242 6.48616C21.5793 6.64191 21.6665 6.85253 21.6668 7.07216ZM12.917 2.91207C12.917 2.3604 13.1365 1.83134 13.5272 1.44125C13.9179 1.05117 14.4478 0.832019 15.0003 0.832019H18.3335C18.886 0.832019 19.4159 1.05117 19.8066 1.44125C20.1973 1.83134 20.4168 2.3604 20.4168 2.91207V4.1601H18.7502V2.91207C18.7502 2.80173 18.7063 2.69592 18.6281 2.6179C18.55 2.53989 18.444 2.49606 18.3335 2.49606H15.0003C14.8898 2.49606 14.7838 2.53989 14.7057 2.6179C14.6275 2.69592 14.5836 2.80173 14.5836 2.91207V4.1601H12.917V2.91207ZM11.9118 7.65978C11.7954 7.54384 11.716 7.39606 11.6836 7.2351C11.6511 7.07413 11.6672 6.90719 11.7297 6.75533C11.7922 6.60347 11.8984 6.47349 12.0348 6.38181C12.1712 6.29012 12.3318 6.24082 12.4962 6.24014L12.5004 6.24441V7.90418C12.2796 7.90319 12.0682 7.81538 11.9118 7.65978ZM13.3337 8.32019V6.68824C13.5364 6.72899 13.7449 6.73237 13.9488 6.69822L14.2035 6.65579C14.167 6.75808 14.1578 6.86813 14.1769 6.97505C14.196 7.08197 14.2427 7.18206 14.3124 7.26543C14.3822 7.3488 14.4725 7.41255 14.5744 7.4504C14.6764 7.48824 14.7865 7.49886 14.8938 7.4812C15.0011 7.46354 15.102 7.41822 15.1864 7.34972C15.2708 7.28121 15.3358 7.1919 15.3751 7.0906C15.4143 6.98931 15.4264 6.87954 15.4101 6.77216C15.3939 6.66477 15.3498 6.56348 15.2823 6.47831C16.2005 6.34409 17.1333 6.34409 18.0515 6.47831C17.9839 6.5635 17.9397 6.66485 17.9233 6.77233C17.907 6.8798 17.919 6.98968 17.9582 7.09109C17.9975 7.1925 18.0625 7.28192 18.147 7.3505C18.2315 7.41909 18.3324 7.46447 18.4399 7.48214C18.5473 7.49982 18.6575 7.48918 18.7595 7.45127C18.8616 7.41337 18.952 7.34953 19.0217 7.26605C19.0914 7.18257 19.1381 7.08236 19.1572 6.97532C19.1762 6.86829 19.167 6.75814 19.1303 6.65579L19.385 6.69822C19.564 6.73416 19.8924 6.71018 20.0001 6.68845V8.32019C20.0001 9.20285 19.649 10.0494 19.0239 10.6735C18.3988 11.2976 17.5509 11.6483 16.6669 11.6483C15.7829 11.6483 14.9351 11.2976 14.31 10.6735C13.6849 10.0494 13.3337 9.20285 13.3337 8.32019ZM14.3293 13.4795L15.0987 15.9427L15.083 15.9483L15.0972 15.9872L13.6946 16.7873L13.4535 13.8991L14.3293 13.4795ZM10.8122 14.5429L12.6386 14.1543L12.9184 17.507C12.9243 17.5767 12.9476 17.6438 12.9862 17.7021C13.0249 17.7604 13.0777 17.808 13.1397 17.8406C13.2004 17.8725 13.4764 17.8701 13.5404 17.8336L15.3833 16.7821L16.2503 19.2084V20.1592L13.8511 19.975L12.0837 19.2187V17.4724H11.2504V18.8621L10.9979 18.7541C10.946 18.7319 10.8902 18.7204 10.8337 18.7204H9.16713V16.578C9.16975 16.1028 9.33397 15.6426 9.63287 15.2729C9.93177 14.9031 10.3476 14.6457 10.8122 14.5429ZM5.51771 24.0982C5.14873 24.1431 4.77543 24.139 4.40753 24.086L6.55674 21.9234C6.82076 21.6548 6.96822 21.2933 6.96719 20.917C6.96731 20.7308 6.93044 20.5464 6.85871 20.3745C6.78699 20.2026 6.68184 20.0466 6.54934 19.9156L5.05355 18.4221C4.92231 18.2898 4.76609 18.1848 4.59394 18.1132C4.42178 18.0416 4.23711 18.0048 4.05061 18.0049C3.67263 18.004 3.30955 18.152 3.04023 18.4168L0.876696 20.5605C0.752529 19.7018 0.90087 18.8258 1.30089 18.0555C1.7009 17.2853 2.33251 16.6595 3.10699 16.266C3.1753 16.2311 3.23263 16.1781 3.27268 16.1128C3.31273 16.0474 3.33394 15.9723 3.33397 15.8957V9.06485C3.33397 8.98827 3.3128 8.91317 3.27279 8.84783C3.23277 8.78249 3.17548 8.72945 3.1072 8.69455C2.38397 8.32478 1.78444 7.75245 1.38204 7.
104764C0.979636 6.34283 0.791839 5.53615 0.841645 4.72639C0.962006 2.76854 2.52868 1.10711 4.48347 0.862336C4.85244 0.817507 5.22574 0.821616 5.59364 0.874556L3.44443 3.03718C3.18042 3.30573 3.03295 3.6673 3.03398 4.04361C3.03386 4.22982 3.07073 4.4142 3.14246 4.58609C3.21418 4.75798 3.31933 4.91396 3.45183 5.045L4.94762 6.53848C5.07886 6.67077 5.23508 6.77577 5.40723 6.84738C5.57939 6.91899 5.76406 6.9558 5.95056 6.95568C6.32845 6.95652 6.69142 6.80851 6.96068 6.54378L9.12448 4.40003C9.24864 5.25877 9.1003 6.13478 8.70028 6.90504C8.30027 7.6753 7.66867 8.30111 6.89418 8.6946C6.82587 8.72947 6.76854 8.78249 6.72849 8.84782C6.68844 8.91315 6.66723 8.98825 6.6672 9.06485V15.8957C6.6672 15.9723 6.68836 16.0474 6.72835 16.1127C6.76835 16.178 6.82562 16.2311 6.89386 16.266C7.45929 16.5567 7.95155 16.9714 8.33382 17.4789V22.4437C7.9998 22.8942 7.57828 23.2729 7.09444 23.5572C6.6106 23.8415 6.07435 24.0255 5.51771 24.0982ZM11.6236 24.1286H10.4171C10.0857 24.1282 9.76798 23.9966 9.53365 23.7626C9.29931 23.5286 9.1675 23.2114 9.16713 22.8805V22.4645H10.6612L11.3724 23.1747C11.4111 23.2133 11.4571 23.244 11.5076 23.2649C11.5582 23.2858 11.6123 23.2965 11.6671 23.2965H13.7069L14.6409 23.4928L11.6236 24.1286ZM24.1667 22.8805C24.1663 23.2114 24.0345 23.5286 23.8002 23.7626C23.5658 23.9966 23.2481 24.1282 22.9167 24.1286H21.7101L13.8362 22.4734C13.8079 22.4675 11.8396 22.4645 11.8396 22.4645L11.1284 21.7543C11.0897 21.7157 11.0437 21.6851 10.9932 21.6642C10.9426 21.6433 10.8885 21.6325 10.8337 21.6325H9.16713V19.5525H10.7482C10.7482 19.5525 13.6728 20.7957 13.7184 20.7993L24.1667 21.6017V22.8805ZM24.1667 20.7673L20.42 20.4795L22.5859 19.5525H24.1667V20.7673ZM24.1667 18.7204H22.5001C22.4435 18.7204 22.0834 18.8625 22.0834 18.8625V17.4724H21.2501V18.7204H17.9169V19.5525H20.4716L19.4828 19.975L17.0836 20.16V19.2084L17.9505 16.782L19.7934 17.8336C19.8542 17.8683 19.9228 17.8871 19.9929 17.8883C20.0629 17.8895 20.1321 17.8731 20.1941 17.8406C20.2561 17.808 20.3089 17.7604 20.3476 17.7021C20.3862 17.6437 20.4096 17.5766 20.4154 17.5069L20.7071 14.0108L22.3775 14.2483C22.8727 14.322 23.3253 14.57 23.6534 14.9477C23.9815 15.3253 24.1636 15.8076 24.1667 16.3076V18.7204Z","fill","black"],["d","M15.4173 18.3044H14.584V19.1364H15.4173V18.3044Z","fill","black"],["d","M18.4531 9.38037L18.2115 8.58407C18.128 8.60922 18.0366 8.65405 17.94 8.71104C16.9837 9.27511 15.9835 9.19366 15.0801 8.54837V9.38039C15.9835 10.0257 17.0295 10.192 17.9772 9.61371C18.1476 9.50972 18.3091 9.42374 18.4531 9.38037Z","fill","black"],["d","M5.41729 8.73618H4.58398V16.2243H5.41729V8.73618Z","fill","black"],["xmlns","http://www.w3.org/2000/svg","width","25","height","25","viewBox","0 0 25 25","fill","none",1,"un-hovered"],["d","M22.4963 13.4246L20.4358 13.1319L19.1668 12.6164V11.646C19.6289 11.302 20.0139 10.8656 20.2973 10.3645C20.5807 9.86346 20.7562 9.30886 20.8126 8.7362H20.8335C21.2356 8.73593 21.6241 8.59048 21.9272 8.3267C22.2304 8.06291 22.4278 7.69858 22.4831 7.30087C22.5384 6.90317 22.4478 6.49893 22.228 6.16269C22.0082 5.82645 21.6741 5.58089 21.2872 5.47131C21.3716 5.15226 21.3587 4.81529 21.2501 4.50362V2.91207C21.2501 2.13974 20.9428 1.39904 20.3959 0.852925C19.8489 0.306806 19.1071 0 18.3335 0H15.0003C14.2268 0 13.4849 0.306806 12.938 0.852925C12.391 1.39904 12.0837 2.13974 12.0837 2.91207V4.50362C11.9751 4.81529 11.9622 5.15226 12.0466 5.47131C11.6598 5.58089 11.3256 5.82645 11.1058 6.16269C10.8861 6.49893 10.7954 6.90317 10.8507 7.30087C10.906 7.69858 11.1034 8.06291 11.4066 8.3267C11.7098 8.59048 12.0982 8.73593 12.5004 8.7362H12.5212C12.5776 9.3089 12.7531 9.86355 13.0365 10.3646C13.3199 10.8657 13.7049 11.3022 14.167 11.6462V12.6343L12.8754 13.2531L10.6367 13.7294C10.0379 13.8621 9.49568 14.1783 9.08582 14.6339C8.67596 15.0895 8.419 15.6616 8.3509 16.2702C8.08994 16.0341 7.80492 15.8259 7.50051 15.6491V9.31206C8.49273 8.74203 9.25833 7.84854 9.6688 6.78157C10.0793 5.71461 10.1096 4.53913 9.75477 3.45246C9.73267 3.38501 9.69366 3.32432 9.64144 3.27617C9.58922 3.22803 9.52553 3.19402 9.45643 3.17738C9.38733 3.16074 9.31511 3.16204 9.24666 3.18113C9.1782 3.20023 9.11577 3.23649 9.06531 3.28648L6.37581 5.95102C6.26232 6.06217 6.10953 6.12418 5.95056 6.12361C5.79517 6.12237 5.64652 6.06002 5.53687 5.95008L4.04108 4.4565C3.93101 4.34706 3.86857 4.19871 3.86729 4.04361C3.8
16657 3.88588 3.92789 3.73416 4.03806 3.6211L6.70882 0.933682C6.7589 0.883291 6.79524 0.820942 6.81437 0.752567C6.8335 0.684192 6.83478 0.612067 6.8181 0.543056C6.80142 0.474044 6.76733 0.410443 6.71908 0.358304C6.67082 0.306165 6.61001 0.267224 6.54242 0.245186C5.3678 -0.136244 4.09332 -0.0697884 2.96489 0.43173C1.83646 0.933248 0.934047 1.83429 0.431782 2.96098C-0.0704827 4.08768 -0.137007 5.36019 0.245046 6.53298C0.627099 7.70577 1.43065 8.69571 2.50066 9.3118V15.6485C1.50845 16.2185 0.742842 17.112 0.332368 18.179C-0.0781054 19.246 -0.108459 20.4214 0.246402 21.5081C0.2685 21.5756 0.307515 21.6363 0.359734 21.6844C0.411954 21.7326 0.475642 21.7666 0.544742 21.7832C0.613842 21.7998 0.686055 21.7985 0.754514 21.7794C0.822973 21.7603 0.885401 21.7241 0.935861 21.6741L3.62537 19.0096C3.73885 18.8984 3.89164 18.8364 4.05061 18.837C4.20601 18.8382 4.35465 18.9006 4.4643 19.0105L5.96009 20.5039C6.07021 20.6134 6.13266 20.7618 6.13389 20.917C6.1346 21.0748 6.07328 21.2265 5.96311 21.3395L3.2923 24.0269C3.24222 24.0773 3.2059 24.1397 3.18678 24.2081C3.16767 24.2764 3.16641 24.3486 3.18311 24.4176C3.19982 24.4866 3.23394 24.5502 3.28222 24.6023C3.33051 24.6545 3.39135 24.6934 3.45896 24.7154C5.1848 25.2783 7.14953 24.8146 8.45074 23.5658C8.59354 23.9729 8.8594 24.3258 9.21161 24.5756C9.56383 24.8255 9.98504 24.96 10.4171 24.9606H11.6671C11.696 24.9606 16.2503 24.0041 16.2503 24.0041V24.9606H17.0836V24.0063L21.5809 24.9517C21.6092 24.9576 21.6379 24.9606 21.6668 24.9606H22.9167C23.4691 24.96 23.9986 24.7406 24.3891 24.3507C24.7797 23.9607 24.9994 23.432 25 22.8805V16.3076C24.9959 15.6078 24.7413 14.9325 24.2821 14.4038C23.8229 13.8751 23.1895 13.5278 22.4963 13.4246ZM16.6669 17.8981L16.067 16.2244H17.2649L16.6669 17.8981ZM15.0003 12.1312C15.5256 12.3615 16.0932 12.4804 16.6669 12.4804C17.2407 12.4804 17.8082 12.3615 18.3335 12.1312V12.8332L17.5342 15.3924H15.7999L15.0003 12.8329V12.1312ZM18.2346 15.9449L19.0131 13.4523L19.8881 13.8077L19.6394 16.7873L18.2369 15.9872L18.2502 15.9505L18.2346 15.9449ZM18.3794 5.68737C17.2456 5.4983 16.0882 5.4983 14.9545 5.68737L13.8118 5.87749C13.6862 5.89823 13.5576 5.89047 13.4354 5.85479C13.3132 5.81911 13.2007 5.75642 13.1061 5.67137C13.0115 5.58632 12.9373 5.48109 12.889 5.3635C12.8408 5.24592 12.8196 5.11898 12.8272 4.99212H20.5066C20.5142 5.11898 20.4931 5.24592 20.4448 5.3635C20.3965 5.48109 20.3223 5.58632 20.2277 5.67137C20.1331 5.75642 20.0206 5.81911 19.8984 5.85479C19.7763 5.89047 19.6476 5.89823 19.522 5.87749L18.3794 5.68737ZM17.9169 4.1601H15.4169V3.32808H17.9169V4.1601ZM21.6668 7.07216C21.6663 7.29268 21.5783 7.50403 21.4222 7.65996C21.266 7.81589 21.0543 7.9037 20.8335 7.90418V6.24534C20.8351 6.24368 20.8369 6.24217 20.8387 6.24056C21.0586 6.24214 21.2691 6.33041 21.4242 6.48616C21.5793 6.64191 21.6665 6.85253 21.6668 7.07216ZM12.917 2.91207C12.917 2.3604 13.1365 1.83134 13.5272 1.44125C13.9179 1.05117 14.4478 0.832019 15.0003 0.832019H18.3335C18.886 0.832019 19.4159 1.05117 19.8066 1.44125C20.1973 1.83134 20.4168 2.3604 20.4168 2.91207V4.1601H18.7502V2.91207C18.7502 2.80173 18.7063 2.69592 18.6281 2.6179C18.55 2.53989 18.444 2.49606 18.3335 2.49606H15.0003C14.8898 2.49606 14.7838 2.53989 14.7057 2.6179C14.6275 2.69592 14.5836 2.80173 14.5836 2.91207V4.1601H12.917V2.91207ZM11.9118 7.65978C11.7954 7.54384 11.716 7.39606 11.6836 7.2351C11.6511 7.07413 11.6672 6.90719 11.7297 6.75533C11.7922 6.60347 11.8984 6.47349 12.0348 6.38181C12.1712 6.29012 12.3318 6.24082 12.4962 6.24014L12.5004 6.24441V7.90418C12.2796 7.90319 12.0682 7.81538 11.9118 7.65978ZM13.3337 8.32019V6.68824C13.5364 6.72899 13.7449 6.73237 13.9488 6.69822L14.2035 6.65579C14.167 6.75808 14.1578 6.86813 14.1769 6.97505C14.196 7.08197 14.2427 7.18206 14.3124 7.26543C14.3822 7.3488 14.4725 7.41255 14.5744 7.4504C14.6764 7.48824 14.7865 7.49886 14.8938 7.4812C15.0011 7.46354 15.102 7.41822 15.1864 7.34972C15.2708 7.28121 15.3358 7.1919 15.3751 7.0906C15.4143 6.98931 15.4264 6.87954 15.4101 6.77216C15.3939 6.66477 15.3498 6.56348 15.2823 6.47831C16.2005 6.34409 17.1333 6.34409 18.0515 6.47831C17.9839 6.5635 17.9397 6.66485 17.9233 6.77233C17.907 6.8798 17.919 6.98968 17.9582 7.09109C17.9975 7.1925 18.0625 7.28192 18.147 7.3505C18.2315 7.41909 18.3324 7.46447 18.4399 7.48214C18.5473 7.49982 18.6575 7.48918 18.7595 7.45127C18.8616 7.41337 18.952 7.34953 19.0217 7.26605C19.0914 7.18257 19.1381 7.08236 19.1572 6.97532C19.1762 6.86829 19.167 6.75814 19.1303 6.65579L19.385 6.69822C19.564 6.73416 19.8924 6.71018 20.0001 6.68845V8.32019C20.0001 9.20285 19.649 10.0494 19.0239 10.6735C18.3988 11.2976 17.5509 11.6483 16.6669 11.6483C15.7829 11.6483 14.9351 11.2976 14.31 10.6735C13.6849 10.
10494 13.3337 9.20285 13.3337 8.32019ZM14.3293 13.4795L15.0987 15.9427L15.083 15.9483L15.0972 15.9872L13.6946 16.7873L13.4535 13.8991L14.3293 13.4795ZM10.8122 14.5429L12.6386 14.1543L12.9184 17.507C12.9243 17.5767 12.9476 17.6438 12.9862 17.7021C13.0249 17.7604 13.0777 17.808 13.1397 17.8406C13.2004 17.8725 13.4764 17.8701 13.5404 17.8336L15.3833 16.7821L16.2503 19.2084V20.1592L13.8511 19.975L12.0837 19.2187V17.4724H11.2504V18.8621L10.9979 18.7541C10.946 18.7319 10.8902 18.7204 10.8337 18.7204H9.16713V16.578C9.16975 16.1028 9.33397 15.6426 9.63287 15.2729C9.93177 14.9031 10.3476 14.6457 10.8122 14.5429ZM5.51771 24.0982C5.14873 24.1431 4.77543 24.139 4.40753 24.086L6.55674 21.9234C6.82076 21.6548 6.96822 21.2933 6.96719 20.917C6.96731 20.7308 6.93044 20.5464 6.85871 20.3745C6.78699 20.2026 6.68184 20.0466 6.54934 19.9156L5.05355 18.4221C4.92231 18.2898 4.76609 18.1848 4.59394 18.1132C4.42178 18.0416 4.23711 18.0048 4.05061 18.0049C3.67263 18.004 3.30955 18.152 3.04023 18.4168L0.876696 20.5605C0.752529 19.7018 0.90087 18.8258 1.30089 18.0555C1.7009 17.2853 2.33251 16.6595 3.10699 16.266C3.1753 16.2311 3.23263 16.1781 3.27268 16.1128C3.31273 16.0474 3.33394 15.9723 3.33397 15.8957V9.06485C3.33397 8.98827 3.3128 8.91317 3.27279 8.84783C3.23277 8.78249 3.17548 8.72945 3.1072 8.69455C2.38397 8.32478 1.78444 7.75245 1.38204 7.04764C0.979636 6.34283 0.791839 5.53615 0.841645 4.72639C0.962006 2.76854 2.52868 1.10711 4.48347 0.862336C4.85244 0.817507 5.22574 0.821616 5.59364 0.874556L3.44443 3.03718C3.18042 3.30573 3.03295 3.6673 3.03398 4.04361C3.03386 4.22982 3.07073 4.4142 3.14246 4.58609C3.21418 4.75798 3.31933 4.91396 3.45183 5.045L4.94762 6.53848C5.07886 6.67077 5.23508 6.77577 5.40723 6.84738C5.57939 6.91899 5.76406 6.9558 5.95056 6.95568C6.32845 6.95652 6.69142 6.80851 6.96068 6.54378L9.12448 4.40003C9.24864 5.25877 9.1003 6.13478 8.70028 6.90504C8.30027 7.6753 7.66867 8.30111 6.89418 8.6946C6.82587 8.72947 6.76854 8.78249 6.72849 8.84782C6.68844 8.91315 6.66723 8.98825 6.6672 9.06485V15.8957C6.6672 15.9723 6.68836 16.0474 6.72835 16.1127C6.76835 16.178 6.82562 16.2311 6.89386 16.266C7.45929 16.5567 7.95155 16.9714 8.33382 17.4789V22.4437C7.9998 22.8942 7.57828 23.2729 7.09444 23.5572C6.6106 23.8415 6.07435 24.0255 5.51771 24.0982ZM11.6236 24.1286H10.4171C10.0857 24.1282 9.76798 23.9966 9.53365 23.7626C9.29931 23.5286 9.1675 23.2114 9.16713 22.8805V22.4645H10.6612L11.3724 23.1747C11.4111 23.2133 11.4571 23.244 11.5076 23.2649C11.5582 23.2858 11.6123 23.2965 11.6671 23.2965H13.7069L14.6409 23.4928L11.6236 24.1286ZM24.1667 22.8805C24.1663 23.2114 24.0345 23.5286 23.8002 23.7626C23.5658 23.9966 23.2481 24.1282 22.9167 24.1286H21.7101L13.8362 22.4734C13.8079 22.4675 11.8396 22.4645 11.8396 22.4645L11.1284 21.7543C11.0897 21.7157 11.0437 21.6851 10.9932 21.6642C10.9426 21.6433 10.8885 21.6325 10.8337 21.6325H9.16713V19.5525H10.7482C10.7482 19.5525 13.6728 20.7957 13.7184 20.7993L24.1667 21.6017V22.8805ZM24.1667 20.7673L20.42 20.4795L22.5859 19.5525H24.1667V20.7673ZM24.1667 18.7204H22.5001C22.4435 18.7204 22.0834 18.8625 22.0834 18.8625V17.4724H21.2501V18.7204H17.9169V19.5525H20.4716L19.4828 19.975L17.0836 20.16V19.2084L17.9505 16.782L19.7934 17.8336C19.8542 17.8683 19.9228 17.8871 19.9929 17.8883C20.0629 17.8895 20.1321 17.8731 20.1941 17.8406C20.2561 17.808 20.3089 17.7604 20.3476 17.7021C20.3862 17.6437 20.4096 17.5766 20.4154 17.5069L20.7071 14.0108L22.3775 14.2483C22.8727 14.322 23.3253 14.57 23.6534 14.9477C23.9815 15.3253 24.1636 15.8076 24.1667 16.3076V18.7204Z","fill","#989898"],["d","M15.4173 18.3044H14.584V19.1364H15.4173V18.3044Z","fill","#989898"],["d","M18.4531 9.38034L18.2115 8.58404C18.128 8.60918 18.0366 8.65402 17.94 8.71101C16.9837 9.27508 15.9835 9.19363 15.0801 8.54834V9.38036C15.9835 10.0256 17.0295 10.192 17.9772 9.61368C18.1476 9.50969 18.3091 9.42371 18.4531 9.38034Z","fill","#989898"],["d","M5.41729 8.73621H4.58398V16.2244H5.41729V8.73621Z","fill","#989898"],[1,"registration","cursor_pointer","flex-center"],["href","/login",1,"registration-label"],[1,"user-image-phone",3,"click"],[1,"image-container","flex-center"],["src","assets/images/no-image.svg","class","no-image","alt","Avatar img",4,"ngIf"],["class","image","alt","Avatar img",3,"src",4,"ngIf"],["src","assets/images/no-image.svg","alt","Avatar img",1,"no-image"],["alt","Avatar img",1,"image",3,"src"],[1,"user-info","cursor_pointer",3,"click"],[1,"name-symbol"],[1,"name"],["xmlns","http://www.w3.org/2000/svg","width","10","height","6","viewBox","0 0 10 6","fill","none"],["d","M1 1L5 5L9 1","stroke","black","stroke-width","1.3"],["class","user-info-tools",3,"clickOutside",4,"ngIf"],[1,"user-info-tools",3,"clickOutside"],["class","tool",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","126","height","2","viewBox","0 0 126 2","fill","none",1,"underline"],["d","M0 1H126","stroke","#F6F4F3"],[1,"tool","cursor_pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","13","height","13","viewBox","0 0 13 13","fill","none"],["d","M5.30615 11.0101C5.28954 10.9659 5.28382 10.9283 5.28945 10.8979C5.29506 10.8677 5.27574 10.8427 5.23146 10.8234C5.18718 10.8041 5.16508 10.7888 5.16508 10.7779C5.16508 10.7668 5.13334 10.7585 5.06971 10.753C5.00612 10.7475 4.97438 10.7447 4.97438 10.7447H4.86664H4.77546H2.3877C2.02291 10.7447 1.7106 10.6149 1.45079 10.355C1.19103 10.0952 1.06117 9.78294 1.06117 9.41821V3.58143C1.06117 3.21665 1.191 2.90445 1.45079 2.64466C1.7106 2.38485 2.02291 2.2549 2.3877 2.2549H5.04073C5.1126 2.2549 5.
116911 2.23707 5.21067 2.20106C5.25205 2.16514 5.27964 2.11122 5.29352 2.03938C5.30734 1.96753 5.31567 1.90266 5.31846 1.84461C5.32119 1.78662 5.31986 1.71333 5.31428 1.6249C5.30879 1.53651 5.30603 1.48125 5.30603 1.45903C5.30603 1.38719 5.27975 1.32513 5.22728 1.27251C5.17475 1.22013 5.1126 1.19385 5.04076 1.19385H2.3877C1.73003 1.19385 1.1676 1.42738 0.700507 1.89441C0.233532 2.36145 0 2.92379 0 3.58152V9.41818C0 10.0759 0.233532 10.6383 0.700507 11.1052C1.1676 11.5725 1.73003 11.806 2.3877 11.806H5.04085C5.11272 11.806 5.16926 11.7879 5.21078 11.7522C5.25217 11.7162 5.27975 11.6623 5.29363 11.5904C5.30746 11.5186 5.31579 11.4534 5.31858 11.3956C5.32131 11.3376 5.31997 11.2644 5.3144 11.176C5.30885 11.0875 5.30615 11.0323 5.30615 11.0101Z","fill","#989898"],["d","M12.8424 6.1268L8.33226 1.61649C8.22732 1.5116 8.10291 1.45898 7.9592 1.45898C7.81549 1.45898 7.69108 1.5116 7.58602 1.61649C7.48099 1.72153 7.42851 1.84602 7.42851 1.98964V4.3774H3.71425C3.57045 4.3774 3.44614 4.43002 3.3411 4.53491C3.23607 4.63994 3.18359 4.76435 3.18359 4.90806V8.09178C3.18359 8.23547 3.23607 8.35987 3.3411 8.46484C3.44625 8.56967 3.57054 8.62244 3.71425 8.62244H7.42854V11.0102C7.42854 11.1538 7.48102 11.2783 7.58605 11.3832C7.69108 11.4883 7.81549 11.5409 7.95923 11.5409C8.10291 11.5409 8.22732 11.4883 8.33229 11.3832L12.8424 6.87313C12.9475 6.76801 13 6.64378 13 6.50004C13 6.35635 12.9475 6.23183 12.8424 6.1268Z","fill","#989898"],[1,"text"],[1,"tool",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","11","height","14","viewBox","0 0 11 14","fill","none",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","11","height","14","viewBox","0 0 11 14","fill","none"],["d","M5.49791 6.562C7.36716 6.562 8.88255 5.09306 8.88255 3.28101C8.88255 1.46896 7.36716 0 5.49791 0C3.62863 0 2.11328 1.46896 2.11328 3.28101C2.11328 5.09306 3.62863 6.562 5.49791 6.562Z","fill","#989898"],["d","M7.26285 7.9292H3.73719C1.69231 7.9292 0 9.56978 0 11.552C0 12.0305 0.211538 12.4407 0.63462 12.6457C1.26923 12.9875 2.6795 13.3975 5.50002 13.3975C8.32057 13.3975 9.73077 12.9875 10.3654 12.6457C10.718 12.4407 11 12.0305 11 11.552C11 9.50139 9.30775 7.9292 7.26285 7.9292Z","fill","#989898"],["xmlns","http://www.w3.org/2000/svg","width","16","height","14","viewBox","0 0 16 14","fill","none",1,"burger-logo-image",3,"click"],["y1","1.65039","x2","16","y2","1.65039","stroke","#0D0F1E","stroke-width","2"],["y1","6.84961","x2","16","y2","6.84961","stroke","#0D0F1E","stroke-width","2"],["y1","12.0508","x2","16","y2","12.0508","stroke","#0D0F1E","stroke-width","2"],["xmlns","http://www.w3.org/2000/svg","width","14","height","14","viewBox","0 0 14 14","fill","none",3,"click"],["d","M14 12.6L12.6 14L7 8.4L1.4 14L0 12.6L5.6 7L0 1.4L1.4 -9.53674e-07L7 5.6L12.6 -9.53674e-07L14 1.4L8.4 7L14 12.6Z","fill","#0D0F1E"]],template:function(Re,Be){1&Re&&(m.j41(0,"div",1)(1,"div",2)(2,"div",3),m.qSk(),m.j41(3,"svg",4),m.nrm(4,"rect",5)(5,"path",6)(6,"path",7)(7,"path",8)(8,"path",9)(9,"path",10)(10,"path",11),m.k0s()(),m.joV(),m.j41(11,"div",12)(12,"div",13)(13,"div",14),m.EFF(14),m.k0s(),m.qSk(),m.j41(15,"svg",15),m.nrm(16,"path",16),m.k0s()(),m.DNE(17,g,1,0,"div",17)(18,G,5,4,"div",18)(19,A,4,3,"div",19)(20,ee,4,2,"div",20)(21,j,11,4,"div",21),m.joV(),m.j41(22,"div",22),m.DNE(23,fe,4,0,"svg",23)(24,H,2,0,"svg",24),m.k0s()()()(),m.DNE(25,J,1,0,"app-burger-menu",25),m.nrm(26,"dx-context-menu",26)(27,"app-email-not-confirmed")),2&Re&&(m.R7$(14),m.JRh(null==Be.languageService.selectedLanguage?null:Be.languageService.selectedLanguage.name),m.R7$(3),m.Y8G("ngIf",!Be.hideButtons),m.R7$(),m.Y8G("ngIf",!Be.hideButtons&&!Be.hideLoginButton),m.R7$(),m.Y8G("ngIf",!Be.hideButtons&&!Be.hideLoginButton),m.R7$(),m.Y8G("ngIf",Be.authenticated),m.R7$(),m.Y8G("ngIf",Be.authenticated),m.R7$(2),m.Y8G("ngIf",!Be.burgerMenuService.opened),m.R7$(),m.Y8G("ngIf",Be.burgerMenuService.opened),m.R7$(),m.Y8G("ngIf",Be.window.innerWidth<=820),m.R7$(),m.Y8G("items",Be.userMenuItems)("position",m.lJ4(11,P)))},styles:[".header-container[_ngcontent-%COMP%]{width:var(--width-100);background:var(--color-white);position:relative;z-index:8}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{color:var(--pure-white, #FFF);height:108px;display:flex;justify-content:space-between;align-items:center;margin:0 120px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]{display:flex;align-items:center}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .language[_ngcontent-%COMP%]{margin-right:45px;max-width:215px;padding-bottom:20px;padding-top:20px;
1display:flex;align-items:center;font-size:20px;border-radius:10px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .language[_ngcontent-%COMP%]   .selected-language[_ngcontent-%COMP%]{margin-left:13px;margin-right:10px;font-weight:500;color:var(--color-black)}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .language[_ngcontent-%COMP%]   .selected-language[_ngcontent-%COMP%]   .language-arrow[_ngcontent-%COMP%]{width:8px;height:4px;flex-shrink:0;fill:var(--color-black);stroke-width:1.3px;stroke:var(--color-black)}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .vector[_ngcontent-%COMP%]{border:1px solid var(--color-black);height:34px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .registration[_ngcontent-%COMP%]{font-size:20px;font-style:normal;font-weight:500;width:190px;height:56px;flex-shrink:0;border-radius:40px;background:var(--color-theme)}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .registration[_ngcontent-%COMP%]   .registration-label[_ngcontent-%COMP%]{color:var(--color-white);text-decoration:none}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]{margin-left:45px;margin-right:33px;font-size:20px;font-style:normal;font-weight:500;height:108px;position:relative}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-label[_ngcontent-%COMP%]{color:var(--color-black);text-align:center;text-decoration-line:none}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]{position:absolute;width:67px;height:104px;top:85px;left:-6px;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #a1a1a140;display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:14px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]{position:relative}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]   .role-name-box[_ngcontent-%COMP%]{display:none;position:absolute;top:2px;left:54px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]   .role-name-box[_ngcontent-%COMP%]   .arrow[_ngcontent-%COMP%]{margin-right:-.5px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]   .role-name-box[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{width:84px;height:26px;background:#fff;border-radius:10px;filter:drop-shadow(3px 3px 16.9px rgba(161,161,161,.25));color:#000;font-size:14px;font-weight:500}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]   .hovered[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]:hover   .un-hovered[_ngcontent-%COMP%]{display:none}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]:hover   .hovered[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]   .login-selector[_ngcontent-%COMP%]   .role[_ngcontent-%COMP%]:hover   .role-name-box[_ngcontent-%COMP%]{display:flex}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-image-phone[_ngcontent-%COMP%]{overflow:hidden;display:none;width:34px;height:34px;border:1px solid #000;background:#ececec;border-radius:8px;align-items:center;justify-content:center}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-image-phone[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{border-radius:8px;width:100%;height:100%;object-fit:cover}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]{margin-left:40px;width:203px;height:48px;border-radius:10px;display:flex;align-items:center;position:relative}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{max-width:48px;min-width:48px;height:48px;border:1px solid #000;background:#ececec;border-radius:8px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:8px;object-fit:cover}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .no-image[_ngcontent-%COMP%]{width:25px;height:25px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin-left:12px;font-size:20px;font-weight:500;white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;padding-top:5px;max-width:96px;overflow-x:clip;color:var(--color-black)}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]   .symbol[_ngcontent-%COMP%]{margin-left:20px;margin-right:15px;height:20px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .user-info-tools[_ngcontent-%COMP%]{top:54px;left:0;position:absolute;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #a1a1a140;width:155px;height:94px;z-index:10;display:flex;flex-direction:column}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .user-info-tools[_ngcontent-%COMP%]   .tool[_ngcontent-%COMP%]{margin-left:12px;height:47px;cursor:pointer;align-items:center;display:flex;column-gap:16px;color:var(--color-black)}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .user-info-tools[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{margin-left:14px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .burger-logo[_ngcontent-%COMP%]{display:none;align-items:center;justify-content:center;width:20px;margin-left:20px}@media (max-width: 900px){.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{margin:0 30px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .language[_ngcontent-%COMP%]{font-size:18px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .language[_ngcontent-%COMP%]   .selected-language[_ngcontent-%COMP%]{margin-right:25px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .registration[_ngcontent-%COMP%]{font-size:18px;width:180px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]{margin-left:40px;margin-right:28px;font-size:18px}}@media (max-width: 820px){.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   .cyclix-logo-img[_ngcontent-%COMP%]{width:130px;height:35px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]{display:flex}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .language[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .vector[_ngcontent-%COMP%]{display:none}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .registration[_ngcontent-%COMP%]{font-size:16px;width:160px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]{font-size:16px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .burger-logo[_ngcontent-%COMP%]{display:flex}}@media (max-width: 580px){.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{height:58px;margin:0 25px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   .cyclix-logo-img[_ngcontent-%COMP%]{width:65.374px;height:16.778px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]{display:none}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .user-image-phone[_ngcontent-%COMP%]{display:flex}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .registration[_ngcontent-%COMP%]{width:unset;padding:0 30px;font-size:11.45px;font-weight:700;max-width:150px;height:36.498px}.header-container[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .components[_ngcontent-%COMP%]   .login[_ngcontent-%COMP%]{margin-left:unset;margin-right:17px;font-size:11.45px;font-weight:700}}  .dx-context-menu .dx-menu-items-container{padding:0}  .dx-context-menu .dx-submenu{border-radius:10px}  .dx-overlay-content .dx-inner-overlay .dx-context-menu .user-menu .dx-menu-phone-overlay .dx-menu-base{top:10px}  .dx-menu-base .dx-menu-item .dx-menu-item-content .dx-menu-item-text{font-weight:500}"]})}return W})()},9381:(Nt,Le,a)=>{"use strict";a.d(Le,{l:()=>yt});var t=a(1291),c=a(8359),m=a(8688),x=a(2999),_=a(4438),b=a(5812),v=a(2360),M=a(3955),N=a(8345),p=a(638),P=a(9002),g=a(228),U=a(5928),G=a(2791),A=a(6445),K=a(6502);const z=dt=>({"tool-popup-opened":dt}),ee=()=>({my:"top",at:"bottom",offset:"38 25"});function L(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",49),_.nrm(1,"path",50)(2,"path",51),_.k0s())}function f(dt,Je){1&dt&&(_.j41(0,"div",52),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&dt&&(_.R7$(),_.JRh(_.bMT(2,1,"i18n.app.pages.selection.status.customer")))}function D(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",53),_.nrm(1,"path",54)(2,"path",55),_.k0s())}function R(dt,Je){1&dt&&(_.j41(0,"div",52),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&dt&&(_.R7$(),_.JRh(_.bMT(2,1,"i18n.app.pages.selection.status.shop")))}function S(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",56),_.nrm(1,"path",57)(2,"path",58),_.k0s())}function j(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",59),_.nrm(1,"path",60)(2,"path",61),_.k0s())}function fe(dt,Je){if(1&dt&&(_.j41(0,"div",62),_.EFF(1),_.k0s()),2&dt){const Ce=_.XpG();_.R7$(),_.JRh(Ce.unCheckedNotifications())}}function H(dt,Je){if(1&dt&&_.nrm(0,"img",63),2&dt){const Ce=_.XpG();_.Y8G("src",Ce.profileImage,_.B4B)}}
1function J(dt,Je){1&dt&&_.nrm(0,"img",64)}function Y(dt,Je){if(1&dt&&(_.j41(0,"p",65),_.EFF(1),_.k0s()),2&dt){const Ce=_.XpG();_.R7$(),_.JRh(Ce.userName)}}function W(dt,Je){1&dt&&(_.j41(0,"p",66),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&dt&&(_.R7$(),_.JRh(_.bMT(2,1,"i18n.app.pages.customer.bikes.nickName")))}function re(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",78),_.nrm(1,"path",79)(2,"path",80),_.k0s())}function le(dt,Je){if(1&dt){const Ce=_.RV6();_.j41(0,"div",76),_.bIt("click",function(){_.eBV(Ce);const Ee=_.XpG(2);return _.Njj(Ee.goToProfile())}),_.DNE(1,re,3,0,"svg",77),_.j41(2,"div",75),_.EFF(3),_.nI1(4,"translate"),_.k0s()()}if(2&dt){const Ce=_.XpG(2);_.R7$(),_.Y8G("ngIf",Ce.toolPopUp),_.R7$(2),_.JRh(_.bMT(4,2,"i18n.app.pages.customer.profile.title"))}}function Re(dt,Je){1&dt&&_.nrm(0,"div",70)}function Be(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",82),_.nrm(1,"path",83)(2,"path",84),_.k0s())}function Fe(dt,Je){if(1&dt){const Ce=_.RV6();_.j41(0,"div",76),_.bIt("click",function(){_.eBV(Ce);const Ee=_.XpG(2);return _.Njj(Ee.goToShopPreview())}),_.DNE(1,Be,3,0,"svg",81),_.j41(2,"div",75),_.EFF(3),_.nI1(4,"translate"),_.k0s()()}if(2&dt){const Ce=_.XpG(2);_.R7$(),_.Y8G("ngIf",Ce.toolPopUp),_.R7$(2),_.JRh(_.bMT(4,2,"i18n.app.pages.shop.profile.shop-overview"))}}function ue(dt,Je){if(1&dt){const Ce=_.RV6();_.j41(0,"div",67),_.bIt("clickOutside",function(){_.eBV(Ce);const Ee=_.XpG();return _.Njj(Ee.toolPopUp=!1)}),_.DNE(1,le,5,4,"div",68)(2,Re,1,0,"div",69)(3,Fe,5,4,"div",68),_.nrm(4,"div",70),_.j41(5,"div",71),_.bIt("click",function(){_.eBV(Ce);const Ee=_.XpG();return _.Njj(Ee.logOut())}),_.qSk(),_.j41(6,"svg",72),_.nrm(7,"path",73)(8,"path",74),_.k0s(),_.joV(),_.j41(9,"p",75),_.EFF(10),_.nI1(11,"translate"),_.k0s()()()}if(2&dt){const Ce=_.XpG();_.R7$(),_.Y8G("ngIf",Ce.toolPopUp),_.R7$(),_.Y8G("ngIf",Ce.toolPopUp&&Ce.userRole==Ce.RoleType.Shop),_.R7$(),_.Y8G("ngIf",Ce.toolPopUp&&Ce.userRole==Ce.RoleType.Shop),_.R7$(7),_.JRh(_.bMT(11,4,"i18n.app.logout"))}}function ce(dt,Je){1&dt&&(_.j41(0,"div",52),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&dt&&(_.R7$(),_.JRh(_.bMT(2,1,"i18n.app.pages.selection.status.customer")))}function _e(dt,Je){1&dt&&(_.j41(0,"div",52),_.EFF(1),_.nI1(2,"translate"),_.k0s()),2&dt&&(_.R7$(),_.JRh(_.bMT(2,1,"i18n.app.pages.selection.status.shop")))}function ne(dt,Je){if(1&dt&&(_.j41(0,"div",85),_.DNE(1,ce,3,3,"div",5)(2,_e,3,3,"div",5),_.k0s()),2&dt){const Ce=_.XpG();_.R7$(),_.Y8G("ngIf",Ce.userRole===Ce.RoleType.Customer),_.R7$(),_.Y8G("ngIf",Ce.userRole===Ce.RoleType.Shop)}}function Z(dt,Je){if(1&dt){const Ce=_.RV6();_.qSk(),_.j41(0,"svg",86),_.bIt("click",function(){_.eBV(Ce);const Ee=_.XpG();return _.Njj(Ee.burgerMenuService.closeBurger())}),_.nrm(1,"path",87),_.k0s()}}function ve(dt,Je){if(1&dt){const Ce=_.RV6();_.qSk(),_.j41(0,"svg",88),_.bIt("click",function(){_.eBV(Ce);const Ee=_.XpG();return _.Njj(Ee.burgerMenuService.openBurger())}),_.nrm(1,"line",89)(2,"line",90)(3,"line",91),_.k0s()}}function ke(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",92),_.nrm(1,"path",93)(2,"path",94),_.k0s())}function Ne(dt,Je){1&dt&&(_.qSk(),_.j41(0,"svg",95),_.nrm(1,"path",96)(2,"path",97),_.k0s())}function Ie(dt,Je){if(1&dt&&(_.j41(0,"div",62),_.EFF(1),_.k0s()),2&dt){const Ce=_.XpG();_.R7$(),_.JRh(Ce.unCheckedNotifications())}}function De(dt,Je){if(1&dt&&_.nrm(0,"img",63),2&dt){const Ce=_.XpG();_.Y8G("src",Ce.profileImage,_.B4B)}}function et(dt,Je){1&dt&&_.nrm(0,"app-burger-menu",98),2&dt&&_.Y8G("profileVersion",!0)}let yt=(()=>{class dt{constructor(Ce,we,Ee,He,Ot,It,un,ln,Ln,Zt,ct){this.authService=Ce,this.languageService=we,this.translateService=Ee,this.notificationCenterService=He,this.customerService=Ot,this.shopService=It,this.customerStoreService=un,this.shopStoreService=ln,this.router=Ln,this.burgerMenuService=Zt,this.notificationService=ct,this.toolPopUp=!1,this.notifications=[],this.subscriptions=new c.yU,this.userRole=t.kX.NotSet,this.currentServiceRequestId="",this.shopId="",this.userMenuItems=[{text:this.translateService.instant("English"),onClick:()=>{this.languageService.selectLanguage(t.tX.En,this.userRole)}},{text:this.translateService.instant("Deutsch"),onClick:()=>{this.languageService.selectLanguage(t.tX.De,this.userRole)}
1}],this.window=window,this.location=location,this.PagesNavigationEnum=m.c,this.RoleType=t.kX}ngOnInit(){this.getAccount(),this.subscriptions.add(this.notificationCenterService.retrieveMappedObjectForNotifications().subscribe(Ce=>{this.addToInbox(Ce)})),this.subscriptions.add(this.notificationCenterService.viewedServiceRequest.subscribe(Ce=>{this.currentServiceRequestId=Ce,this.viewedServiceRequest(Ce)})),this.subscribeToProfileInformation()}subscribeToProfileInformation(){this.authService.getUserRole()==t.kX.Customer&&this.subscriptions.add(this.customerStoreService.customer.subscribe(Ce=>{this.profileImage=this.customerService.getProfilePicture(Ce.profilePicture),Ce.lastname=Ce.lastname,(Ce.firstname||Ce.lastname)&&(this.userName=`${Ce.firstname} ${Ce.lastname.charAt(0).toUpperCase()}.`)})),this.authService.getUserRole()==t.kX.Shop&&this.subscriptions.add(this.shopStoreService.shop.subscribe(Ce=>{this.profileImage=this.shopService.getProfilePicture(Ce),this.userName=Ce.shopName}))}checkLanguage(Ce){const we=this.getLanguage();Ce!==we&&we!==t.tX.Undefined&&this.languageService.selectLanguage(we,this.userRole)}getLanguage(){return"en"===this.translateService.currentLang?t.tX.En:"de"===this.translateService.currentLang?t.tX.De:t.tX.Undefined}unCheckedNotifications(){let Ce=0;return this.notifications.forEach(we=>{we.checked||Ce++}),Ce}goToProfile(){switch(this.toolPopUp=!1,this.authService.getUserRole()){case t.kX.Customer:this.router.navigate(["customer/profile"]);break;case t.kX.Shop:this.router.navigate(["shop/profile"])}}goToShopPreview(){this.router.navigate(["/customer/shop-profile-preview/"+this.shopId],{queryParams:{page:x.y.AdminMenu}})}openNotificationsMenu(){this.notificationCenterService.openNotificationsMenu()}logOut(){this.toolPopUp=!1,this.authService.logOut()}ngOnDestroy(){this.subscriptions.unsubscribe()}viewedServiceRequest(Ce){this.notifications.forEach(we=>{we.serviceRequestId===Ce&&(we.checked=!0)})}goToMain(){this.router.navigate([""],{queryParams:{show:!0}})}getCustomer(){this.customerService.getCustomerInformation().subscribe(Ce=>{this.profileImage=this.customerService.getProfilePicture(Ce.profilePicture),Ce.notifications&&(this.notifications=Ce.notifications.sort((we,Ee)=>(Ee.createdTime?.getTime()||0)-(we.createdTime?.getTime()||0)),this.notifications.forEach(we=>{we.serviceRequestId===this.currentServiceRequestId&&(we.checked=!0)})),Ce.lastname&&Ce.firstname&&(this.userName=`${Ce.firstname} ${Ce.lastname.charAt(0).toUpperCase()}.`),Ce.notifications&&(this.notificationService.notifications=Ce.notifications),this.checkLanguage(Ce.language)})}getShop(){this.shopService.getInformation().subscribe(Ce=>{this.profileImage=this.shopService.getProfilePicture(Ce),Ce.notifications&&(this.notifications=Ce.notifications.sort((we,Ee)=>(Ee.createdTime?.getTime()||0)-(we.createdTime?.getTime()||0))),this.notifications.forEach(we=>{we.serviceRequestId===this.currentServiceRequestId&&(we.checked=!0)}),this.userName=Ce.shopName,this.notificationService.notifications=this.notifications,this.shopId=Ce.id?Ce.id:"",Ce.workingHours&&(this.shopService.shopWorkingHours=Ce.workingHours),this.checkLanguage(Ce.language)})}addToInbox(Ce){if(this.notifications.some(we=>we.id===Ce.id))this.notifications.forEach(we=>{we.id===Ce.id&&(we.checked=!0)});else{const we=Object.values(t.kX),Ee=Object.values(t._n);Ce.createdTime&&(Ce.createdTime=new Date(Ce.createdTime.toString())),Ce.notificationType=Ee[parseInt(Ce.notificationType.toString())],Ce.role=we[parseInt(Ce.role.toString())],Ce.serviceRequestId===this.currentServiceRequestId&&(Ce.checked=!0,this.notificationCenterService.checkNotification(Ce.id)),this.notifications.unshift(Ce)}this.notificationService.notifications=this.notifications}getAccount(){const Ce=this.authService.getUserRole();switch(this.userRole=Ce,Ce){case t.kX.Customer:return void this.getCustomer();case t.kX.Shop:return void this.getShop()}}goToPage(Ce){this.router.navigate([this.authService.getRoute(Ce)])}static#e=this.\u0275fac=function(we){return new(we||dt)(_.rXU(b.u),_.rXU(v.g),_.rXU(M.c$),_.rXU(N.G),_.rXU(p.m),_.rXU(P.s),_.rXU(g.R),_.rXU(U.v),_.rXU(G.Ix),_.rXU(A.o),_.rXU(K.J))};static#t=this.\u0275cmp=_.VBU({type:dt,selectors:[["app-header"]],decls:56,vars:28,consts:[["userContainer",""],[1,"header-container","cera-400-white"],[1,"pc"],[1,"user-role"],["class","icon","xmlns","http://www.w3.org/2000/svg","width","29","height","28","viewBox","0 0 29 28","fill","none",4,"ngIf"],["class","user-role-text",4,"ngIf"],["class","icon","xmlns","http://www.w3.org/2000/svg","width","26","height","24","viewBox","0 0 26 24","fill","none",4,"ngIf"],[1,"tools"],["id","language",1,"language-select","cursor_pointer"],[1,"selected-language"],["xmlns","http://www.w3.org/2000/svg","width","10","height","6","viewBox","0 0 10 6","fill","none",1,"symbol"],["d","M1 1L5 5L9 1","stroke","black","stroke-width","1.3"],["xmlns","http://www.w3.org/2000/svg","width","2","height","34","viewBox","0 0 2 34","fill","none"],["d","M1 0L1 34","stroke","#CED3DB"],[1,"n
1otifications","cursor_pointer",3,"click"],["class","vector","width","17","height","21","viewBox","0 0 17 21","fill","none","xmlns","http://www.w3.org/2000/svg",4,"ngIf"],["class","vector","xmlns","http://www.w3.org/2000/svg","width","17","height","21","viewBox","0 0 28 35","fill","none",4,"ngIf"],["class","count-container flex-center",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","2","height","34","viewBox","0 0 2 34","fill","none",1,"vector"],[1,"user-info","cursor_pointer",3,"click"],[1,"image-container","flex-center"],["class","image","alt","Avatar img",3,"src",4,"ngIf"],["src","assets/images/no-image.svg","class","no-image","alt","Avatar img",4,"ngIf"],[1,"name-symbol"],["class","name",4,"ngIf"],["class","no-name",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","10","height","6","viewBox","0 0 10 6","fill","none",1,"symbol",3,"ngClass"],["d","M1 1L5 5L9 1","stroke","black"],["class","user-info-tools",3,"clickOutside",4,"ngIf"],[1,"phones"],["class","user-role flex-center",4,"ngIf"],[1,"burger-logo"],["xmlns","http://www.w3.org/2000/svg","width","14","height","14","viewBox","0 0 14 14","fill","none",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","16","height","15","viewBox","0 0 16 15","fill","none",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","65","height","17","viewBox","0 0 65 17","fill","none",3,"click"],["y","13.8433","width","65","height","2.29498","fill","#FF5E3A"],["d","M5.52418 9.41858C4.59426 9.41858 3.74024 9.21203 2.96214 8.79894C2.19353 8.38584 1.58148 7.82128 1.12601 7.10525C0.680024 6.38921 0.457031 5.59056 0.457031 4.70929C0.457031 3.8372 0.680024 3.04314 1.12601 2.32711C1.58148 1.60189 2.19353 1.03274 2.96214 0.619644C3.74024 0.206548 4.599 0 5.53842 0C6.47783 0 7.32236 0.215728 8.07199 0.647184C8.82163 1.06946 9.40995 1.66615 9.83696 2.43726L7.97236 3.66278C7.36506 2.67135 6.549 2.17564 5.52418 2.17564C5.03075 2.17564 4.58951 2.28121 4.20046 2.49234C3.81141 2.70348 3.50776 3.00183 3.28951 3.38738C3.07126 3.77294 2.96214 4.21817 2.96214 4.72306C2.96214 5.47581 3.19937 6.08628 3.67382 6.55445C4.15776 7.01345 4.77455 7.24294 5.52418 7.24294C6.549 7.24294 7.36506 6.74723 7.97236 5.7558L9.83696 6.98132C9.40995 7.75243 8.82163 8.35371 8.07199 8.78517C7.32236 9.20744 6.47309 9.41858 5.52418 9.41858Z","fill","white"],["d","M18.5639 5.76957V9.25334H16.1157V5.79711L12.8847 0.165239H15.5891L17.3398 3.33231L19.0906 0.165239H21.7807L18.5639 5.76957Z","fill","white"],["d","M29.7463 9.41858C28.8164 9.41858 27.9623 9.21203 27.1842 8.79894C26.4156 8.38584 25.8036 7.82128 25.3481 7.10525C24.9021 6.38921 24.6791 5.59056 24.6791 4.70929C24.6791 3.8372 24.9021 3.04314 25.3481 2.32711C25.8036 1.60189 26.4156 1.03274 27.1842 0.619644C27.9623 0.206548 28.8211 0 29.7605 0C30.6999 0 31.5445 0.215728 32.2941 0.647184C33.0437 1.06946 33.632 1.66615 34.0591 2.43726L32.1945 3.66278C31.5872 2.67135 30.7711 2.17564 29.7463 2.17564C29.2529 2.17564 28.8116 2.28121 28.4226 2.49234C28.0335 2.70348 27.7299 3.00183 27.5116 3.38738C27.2934 3.77294 27.1842 4.21817 27.1842 4.72306C27.1842 5.47581 27.4215 6.08628 27.8959 6.55445C28.3799 7.01345 28.9966 7.24294 29.7463 7.24294C30.7711 7.24294 31.5872 6.74723 32.1945 5.7558L34.0591 6.98132C33.632 7.75243 33.0437 8.35371 32.2941 8.78517C31.5445 9.20744 30.6952 9.41858 29.7463 9.41858Z","fill","white"],["d","M38.2958 0.165239H40.7439V7.11902H44.6297V9.25334H38.2958V0.165239Z","fill","white"],["d","M48.7597 0.165239H51.2078V9.25334H48.7597V0.165239Z","fill","white"],["d","M61.0676 9.25334L59.4165 6.70592L57.7796 9.25334H55.0183L58.0786 4.64044L55.1891 0.165239H57.9504L59.4165 2.58873L60.8826 0.165239H63.6439L60.7972 4.64044L63.8289 9.25334H61.0676Z","fill","white"],[1,"notifications",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","15","height","18","viewBox","0 0 15 18","fill","none",4,"ngIf"],["class","vector","xmlns","http://www.w3.org/2000/svg","width","15","height","18","viewBox","0 0 15 18","fill","none",4,"ngIf"],[1,"profile-picture",3,"click"],[3,"profileVersion",4,"ngIf"],[3,"notifications"],["target","#language","showEvent","dxclick","width","146px","cssClass","user-menu",3,"items","position"],["xmlns","http://www.w3.org/2000/svg","width","29","height","28","viewBox","0 0 29 28","fill","none",1,"icon"],["d","M22.8014 14.7979C22.6016 14.7979 22.4001 14.8075 22.2026 14.8264C22.075 14.8387 21.9575 14.9011 21.8759 15C21.7944 15.0989 21.7554 15.2262 21.7677 15.3538C21.7799 15.4814 21.8424 15.5989 21.9413 15.6805C22.0402 15.7621 22.1674 15.801 22.295 15.7887C22.462 15.7727 22.6324 15.7646 22.8014 15.7646C24.0536 15.7648 25.2641 16.2143 26.213 17.0314C27.1619 17.8485 27.7861 18.9788 27.9723 20.2171C28.1585 21.4554 27.8942 22.7193 27.2275 23.7793C26.5608 24.8392 25.536 25.6248 24.3393 25.9933C23.1425 26.3617 21.8533 26.2886 20.7059 25.7872C19.5585 25.2857 18.629
11 24.3893 18.0866 23.2607C17.5441 22.1322 17.4244 20.8464 17.7494 19.6372C18.0745 18.4279 18.8225 17.3754 19.8577 16.6709C19.9102 16.6351 19.9551 16.5894 19.9898 16.5363C20.0246 16.4832 20.0485 16.4237 20.0603 16.3613C20.0721 16.299 20.0715 16.2349 20.0586 16.1727C20.0456 16.1106 20.0205 16.0516 19.9847 15.9992C19.949 15.9467 19.9032 15.9019 19.8501 15.8671C19.797 15.8323 19.7376 15.8084 19.6752 15.7966C19.6128 15.7848 19.5487 15.7854 19.4866 15.7984C19.4245 15.8113 19.3655 15.8364 19.313 15.8722C18.086 16.7072 17.1993 17.9548 16.814 19.3881C16.4288 20.8214 16.5706 22.3454 17.2137 23.6831C17.8567 25.0208 18.9584 26.0833 20.3184 26.6776C21.6784 27.2719 23.2066 27.3586 24.625 26.9218C26.0435 26.485 27.2582 25.5538 28.0484 24.2974C28.8385 23.041 29.1517 21.5428 28.9309 20.0751C28.7101 18.6074 27.9701 17.2676 26.8453 16.2992C25.7205 15.3309 24.2856 14.7982 22.8014 14.798V14.7979Z","fill","#FCFCFE"],["d","M15.7993 20.4207L15.5106 20.2938L19.7928 14.0947C20.3962 15.7475 21.1751 17.9049 21.7132 19.3987C21.3312 19.6595 21.0554 20.0487 20.9359 20.4956C20.8165 20.9425 20.8613 21.4174 21.0623 21.834C21.2632 22.2507 21.607 22.5814 22.031 22.7661C22.4551 22.9509 22.9314 22.9773 23.3734 22.8407C23.8153 22.7041 24.1936 22.4135 24.4394 22.0217C24.6853 21.6299 24.7825 21.1629 24.7133 20.7055C24.644 20.2481 24.4131 19.8308 24.0623 19.5292C23.7115 19.2277 23.2642 19.062 22.8016 19.0623C22.7412 19.0623 22.6816 19.0655 22.6227 19.0709C22.0309 17.4282 21.1481 14.9833 20.5266 13.2863L21.2465 13.7157C21.2762 13.7334 21.3077 13.7479 21.3406 13.7589L22.3638 14.1017C22.5829 14.1743 22.8179 14.1838 23.0421 14.129C23.2663 14.0743 23.4705 13.9576 23.6315 13.7922L24.2998 13.1012C24.4576 12.9367 24.552 12.7216 24.5663 12.4941C24.5805 12.2666 24.5137 12.0415 24.3777 11.8586L24.7434 10.6549C24.7653 10.5826 24.7701 10.5062 24.7572 10.4319C24.7443 10.3575 24.7142 10.2871 24.6692 10.2265C24.6243 10.1658 24.5657 10.1166 24.4983 10.0826C24.4309 10.0486 24.3564 10.031 24.2809 10.031H22.153C22.1205 10.031 22.0881 10.0342 22.0563 10.0407L20.5434 10.3488L19.3048 9.4198L18.7393 7.52375C18.7985 7.04724 18.8083 6.56589 18.7686 6.08737C18.7894 6.14175 18.8121 6.20108 18.8372 6.267C18.8912 6.41115 18.9823 6.53847 19.1014 6.63608C19.2204 6.73369 19.3631 6.79813 19.515 6.82287C19.5646 6.83124 19.6147 6.83547 19.665 6.8355C19.7934 6.83556 19.9203 6.80729 20.0365 6.7527C20.1527 6.69811 20.2555 6.61855 20.3375 6.51968L20.7285 6.05323H21.09C21.2107 6.05324 21.327 6.00812 21.416 5.92674C21.5051 5.84536 21.5605 5.7336 21.5714 5.61343L21.656 4.67806L21.7034 4.70102C21.7661 4.73129 21.8346 4.74766 21.9042 4.74901C21.9738 4.75037 22.0429 4.73668 22.1067 4.70888C22.1705 4.68107 22.2275 4.63982 22.2739 4.58793C22.3203 4.53604 22.355 4.47474 22.3755 4.40823C22.4012 4.32491 22.9842 2.35091 21.1345 0.966375C19.5063 -0.252245 17.0868 0.0226678 16.9847 0.0348728C16.9006 0.044988 16.8207 0.0769904 16.753 0.127679C16.6852 0.178367 16.6319 0.245964 16.5984 0.323708C16.565 0.401452 16.5525 0.486619 16.5623 0.570688C16.5721 0.654757 16.6038 0.734781 16.6542 0.802756C16.6591 0.809342 17.1412 1.47717 17.1412 2.1163C17.1412 2.22276 17.0498 2.53598 16.9678 2.75029C16.9336 2.83954 16.9267 2.93692 16.9478 3.03013C16.9689 3.12334 17.0172 3.20819 17.0866 3.27395C16.5158 3.16121 13.7574 2.6718 11.7645 3.30676C10.0346 3.85792 8.76682 5.64195 8.53668 5.98339C8.21446 6.28646 6.48498 8.00451 6.89258 9.59864C6.57517 9.60705 6.27383 9.7401 6.05379 9.96901C5.83375 10.1979 5.71269 10.5043 5.71683 10.8218C5.72097 11.1393 5.84997 11.4424 6.0759 11.6655C6.30184 11.8885 6.60654 12.0137 6.92406 12.0138H9.0807C9.10545 12.0137 9.13016 12.0117 9.1546 12.0078C9.34571 12.1461 9.55337 12.2926 9.782 12.4489L10.486 14.2716L7.19915 18.7983C6.75333 18.595 6.25622 18.532 5.77376 18.6177C5.2913 18.7033 4.8463 18.9337 4.49779 19.2782C4.14927 19.6226 3.91372 20.0649 3.82237 20.5463C3.73103 21.0277 3.78821 21.5255 3.98632 21.9737C4.18444 22.4219 4.51414 22.7992 4.93167 23.0557C5.34921 23.3122 5.83485 23.4356 6.32417 23.4097C6.81349 23.3838 7.28337 23.2097 7.67148 22.9106C8.05958 22.6114 8.34756 22.2014 8.49722 21.7348L10.7533 21.9764C10.759 22.3528 10.8452 22.7236 11.006 23.064C10.5997 24.0067 9.92483 24.809 9.06565 25.3708C8.20647 25.9325 7.20093 26.229 6.1744 26.2232C5.14787 26.2175 4.14574 25.9097 3.29294 25.3382C2.44014 24.7668 1.7744 23.957 1.3787 23.0098C0.982996 22.0626 0.874842 21.0198 1.06772 20.0115C1.26059 19.0033 1.74597 18.0741 2.46334 17.3398C3.1807 16.6055 4.09833 16.0986 5.10182 15.8822C6.10532 15.6659 7.15029 15.7497 8.10648 16.1232C8.22587 16.17 8.35894 16.1674 8.47642 16.116C8.5939 16.0647 8.68616 15.9688 8.73292 15.8494C8.77968 15.73 8.7771 15.5969 8.72575 15.4795C8.6744 15.362 8.57848 15.2697 8.4591 15.2229C7.34685 14.7875 6.13248 14.6826 4.96205 14.921C3.79162 15.1594 2.71497 15.7308 1.86161 16.5666C1.00825 17.4023 0.414504 18.4668 0.151796 19.632C-0.110911 20.7972 -0.0313967 22.0135 0.380777 23.1346C0.79295 24.2557 1.52023 25.2338 2.47514 25.9514C3.43005 26.6689 4.57192 27.0953 5.76343 27.1793C6.95493 27.2632 8.14531 27.0012 9.1914 26.4246C10.2375 25.8481 11.0947 24.9816 11.6601 23.9293C11.952 24.1858 12.2967 24.3751 12.6698 24.4838C13.0429 24.5925 13.4353 24.618 13.8193 24.5585C14.2033 24.499 14.5696 24.356 14.8923 24.1395C15.215 23.923 15.4863 23.6383 15.687 23.3055C15.7699 23.2869 15.8465 23.2467 15.9089 23.189C15.9713 23.1313 16.
10174 23.0581 16.0423 22.9768L16.4142 21.7605C16.4936 21.5006 16.4748 21.2206 16.3615 20.9737C16.2481 20.7267 16.0481 20.5299 15.7993 20.4207ZM22.0638 20.3729C22.2357 20.8509 22.3418 21.1463 22.3467 21.1596C22.3678 21.2197 22.4007 21.2751 22.4433 21.3224C22.4859 21.3698 22.5375 21.4083 22.5951 21.4357C22.6526 21.463 22.7151 21.4787 22.7787 21.4819C22.8424 21.485 22.906 21.4756 22.966 21.454C23.026 21.4325 23.0811 21.3993 23.1282 21.3564C23.1753 21.3134 23.2135 21.2616 23.2405 21.2039C23.2675 21.1461 23.2828 21.0836 23.2855 21.02C23.2883 20.9563 23.2784 20.8927 23.2565 20.8329C23.2517 20.8194 23.1456 20.524 22.9735 20.0457C23.1831 20.0834 23.3745 20.1892 23.5179 20.3467C23.6613 20.5043 23.7487 20.7047 23.7665 20.917C23.7843 21.1293 23.7316 21.3415 23.6165 21.5208C23.5014 21.7 23.3303 21.8362 23.1299 21.9084C22.9294 21.9805 22.7108 21.9844 22.5079 21.9196C22.305 21.8547 22.1291 21.7247 22.0076 21.5498C21.8861 21.3748 21.8258 21.1646 21.836 20.9518C21.8461 20.739 21.9262 20.5355 22.0638 20.3729ZM6.19635 22.4463C5.98812 22.4464 5.7823 22.4017 5.59291 22.3151C5.40352 22.2286 5.23499 22.1022 5.09879 21.9447C4.96259 21.7872 4.86191 21.6022 4.8036 21.4023C4.74529 21.2024 4.73072 20.9923 4.76088 20.7862C4.79104 20.5802 4.86522 20.3831 4.97837 20.2083C5.09153 20.0334 5.24101 19.8851 5.41664 19.7732C5.59227 19.6613 5.78994 19.5886 5.99619 19.5599C6.20245 19.5313 6.41245 19.5474 6.61192 19.6072L5.80519 20.7182C5.75539 20.7868 5.7245 20.8673 5.71562 20.9516C5.70674 21.0359 5.72018 21.121 5.75459 21.1985C5.789 21.2759 5.84317 21.343 5.91167 21.3929C5.98018 21.4428 6.0606 21.4738 6.14487 21.4829L7.50131 21.6279C7.38248 21.873 7.1971 22.0797 6.96633 22.2244C6.73557 22.3692 6.46875 22.4461 6.19635 22.4463ZM7.07813 20.6105L7.39232 20.1776C7.49414 20.3259 7.56735 20.4918 7.6082 20.667L7.07813 20.6105ZM13.1375 14.5334C13.2281 14.5854 13.3105 14.6326 13.3819 14.6732L12.67 17.2433L11.7057 14.7466C12.0666 14.6926 12.5641 14.6186 13.1375 14.5334ZM11.3488 13.8222L11.1675 13.3523C11.3901 13.4917 11.6077 13.6256 11.8167 13.7526L11.3488 13.8222ZM14.4144 14.5665C14.4434 14.4618 14.4362 14.3503 14.3941 14.2502C14.352 14.15 14.2773 14.0669 14.1822 14.0144C13.5918 13.6881 12.8923 13.2819 12.1771 12.8431L13.8847 11.0116L16.1927 12.9368C16.2651 12.9973 16.3176 13.0783 16.3435 13.169C16.3693 13.2598 16.3673 13.3562 16.3377 13.4459L14.215 19.9397L13.5198 19.9681L12.9598 19.8202L14.4144 14.5665ZM15.817 18.1492L17.1959 13.9324C17.9478 13.8215 18.4998 13.7406 18.9031 13.6819L15.817 18.1492ZM17.2836 12.9423C17.2094 12.6512 17.0458 12.3907 16.8158 12.1974L13.3114 9.245L15.8874 8.81421L16.946 11.055C16.987 11.1418 17.053 11.2144 17.1354 11.2637L19.206 12.499L19.2066 12.5007C19.2247 12.5494 19.2437 12.6006 19.2631 12.6528C18.8816 12.7076 18.2701 12.7969 17.2838 12.9423H17.2836ZM22.2014 10.9979H23.6285L23.5499 11.2556C23.4043 11.2255 23.2538 11.2274 23.1089 11.2612L22.0786 11.5009L21.5775 11.1251L22.2014 10.9979ZM21.6789 12.4094C21.7353 12.4517 21.8003 12.4811 21.8694 12.4957C21.9384 12.5102 22.0097 12.5095 22.0784 12.4935L23.328 12.2028C23.3377 12.2006 23.3477 12.2008 23.3572 12.2035C23.3667 12.2063 23.3754 12.2114 23.3824 12.2184L23.6004 12.4338L22.9361 13.1206C22.9024 13.1553 22.8596 13.1798 22.8125 13.1913C22.7655 13.2027 22.7162 13.2007 22.6703 13.1854L21.6964 12.8592L17.7565 10.5088L17.2006 9.33261L18.208 9.12785L18.4232 9.84921C18.4527 9.9485 18.5134 10.0356 18.5963 10.0978L21.6789 12.4094ZM20.7133 4.36962L20.6484 5.08675H20.5029C20.4323 5.08675 20.3626 5.10223 20.2986 5.13209C20.2346 5.16196 20.1779 5.20548 20.1325 5.25961L19.6891 5.78847C19.4615 5.19285 19.4446 5.15907 19.4296 5.12904C19.3743 5.01857 19.2789 4.93343 19.1629 4.8911C19.0468 4.84877 18.919 4.85247 18.8056 4.90144L18.5728 5.00204C18.4683 4.67318 18.3177 4.36075 18.1257 4.07404L18.3102 3.97223C18.4793 4.05398 18.6537 4.13186 18.8233 4.1973C19.6152 4.50278 20.3776 4.34968 20.744 4.23959C20.7277 4.2813 20.7174 4.32506 20.7133 4.36962ZM20.5552 1.7406C21.3254 2.31701 21.5019 3.03191 21.5154 3.52784C21.5126 3.52953 21.5097 3.5311 21.507 3.53285L20.9864 3.28151C20.9238 3.25129 20.8554 3.23493 20.7859 3.23354C20.7164 3.23216 20.6474 3.24577 20.5837 3.27347C20.5768 3.27643 19.8729 3.5659 19.1712 3.29534C18.7673 3.12923 18.3761 2.93367 18.0008 2.71023C18.0622 2.51786 18.0983 2.31826 18.1079 2.11654C18.0983 1.72076 18.0093 1.33094 17.8463 
10.970181C18.5876 0.985951 19.73 1.12292 20.5552 1.7406ZM6.92406 11.0475C6.85996 11.0475 6.79849 11.0221 6.75316 10.9767C6.70784 10.9314 6.68237 10.8699 6.68237 10.8058C6.68237 10.7417 6.70784 10.6803 6.75316 10.6349C6.79849 10.5896 6.85996 10.5642 6.92406 10.5642H7.44639C7.60236 10.7339 7.76723 10.8953 7.94033 11.0475H6.92406ZM7.9071 9.56426C7.46754 8.70629 8.43614 7.49674 8.94494 6.9486L9.66394 7.5255C9.76394 7.60572 9.8917 7.64294 10.0191 7.62897C10.1466 7.61499 10.2632 7.55096 10.3435 7.45097C10.4237 7.35098 10.4609 7.22321 10.4469 7.09577C10.433 6.96834 10.3689 6.85168 10.2689 6.77145L9.56842 6.20954C9.99897 5.65071 10.9356 4.58598 12.0582 4.22829C12.6995 4.02395 13.4521 3.95543 14.1738 3.95543C15.103 3.96349 16.0296 4.05586 16.9421 4.23144C17.2085 4.36357 17.6889 5.00029 17.7829 5.90877C17.8826 6.87271 17.7719 7.45662 17.7712 7.46061C17.7554 7.53843 17.759 7.61894 17.7817 7.69504L17.9317 8.1981L16.7763 8.43271L16.6052 8.07067C16.5603 7.9755 16.4855 7.8976 16.3922 7.84881C16.299 7.80002 16.1923 7.78301 16.0885 7.80035L12.3337 8.42836L11.3549 7.64289C11.3054 7.60317 11.2485 7.57358 11.1876 7.55582C11.1266 7.53806 11.0628 7.53248 10.9997 7.5394C10.9366 7.54631 10.8755 7.56559 10.8198 7.59612C10.7642 7.62666 10.7151 7.66785 10.6754 7.71736C10.6356 7.76687 10.606 7.82372 10.5883 7.88466C10.5705 7.9456 10.5649 8.00945 10.5719 8.07254C10.5788 8.13564 10.598 8.19676 10.6286 8.25241C10.6591 8.30806 10.7003 8.35715 10.7498 8.39688L13.1413 10.3915L11.3431 12.3203C9.73065 11.2874 8.22437 10.184 7.9071 9.56426ZM10.2243 17.6546C10.8363 18.3889 11.234 19.2778 11.3737 20.2235C11.1745 20.4603 11.0184 20.7303 10.9126 21.0211L8.60272 20.7738C8.55448 20.2497 8.33589 19.7559 7.98039 19.3678L10.9008 15.3457L12.2372 18.806L12.1299 19.1936C11.8906 18.4041 11.4953 17.6706 10.9675 17.0366C10.8856 16.938 10.7678 16.876 10.6401 16.8642C10.5125 16.8525 10.3854 16.8919 10.2868 16.9738C10.1882 17.0558 10.1262 17.1735 10.1144 17.3012C10.1027 17.4289 10.1421 17.556 10.224 17.6546H10.2243ZM13.411 23.6234C13.1642 23.6236 12.9204 23.5699 12.6967 23.4658C12.4729 23.3618 12.2747 23.21 12.1158 23.0212C11.957 22.8323 11.8415 22.611 11.7773 22.3727C11.7132 22.1344 11.702 21.885 11.7445 21.642C11.7728 21.7143 11.8072 21.7841 11.8472 21.8507C11.9438 22.0098 12.0712 22.1481 12.2219 22.2574C12.3726 22.3667 12.5436 22.4448 12.7248 22.4872L14.6647 23.0668C14.5062 23.242 14.3127 23.3821 14.0967 23.4779C13.8808 23.5737 13.6471 23.6232 13.4108 23.6231L13.411 23.6234ZM15.4899 21.4785L15.2585 22.2355L12.9855 21.556C12.9734 21.5525 12.9613 21.5494 12.9492 21.5467C12.8925 21.5344 12.8388 21.5107 12.7915 21.4769C12.7442 21.4432 12.7044 21.4001 12.6743 21.3504C12.6443 21.3007 12.6247 21.2453 12.6167 21.1878C12.6088 21.1302 12.6127 21.0717 12.6282 21.0157L12.7013 20.752L13.343 20.9216C13.3833 20.9323 13.4248 20.9377 13.4665 20.9377C13.4731 20.9377 13.4797 20.9377 13.4863 20.9373L14.4779 20.8967L15.4107 21.3061C15.4426 21.3201 15.4683 21.3453 15.4829 21.377C15.4975 21.4086 15.5 21.4446 15.4899 21.4779V21.4785Z","fill","#FCFCFE"],[1,"user-role-text"],["xmlns","http://www.w3.org/2000/svg","width","26","height","24","viewBox","0 0 26 24","fill","none",1,"icon"],["d","M25.9756 7.74088L24.505 1.85512C24.3246 1.132 23.6746 0.625 22.9287 0.625H3.07288C2.327 0.625 1.677 1.132 1.495 1.85512L0.024375 7.74088C0.008125 7.80425 0 7.87087 0 7.9375C0 10.1768 1.73063 12 3.85938 12C5.096 12 6.19938 11.3841 6.90625 10.4286C7.61312 11.3841 8.7165 12 9.95312 12C11.1897 12 12.2931 11.3841 13 10.4286C13.7069 11.3841 14.8086 12 16.0469 12C17.2851 12 18.3869 11.3841 19.0938 10.4286C19.8006 11.3841 20.9024 12 22.1406 12C24.2694 12 26 10.1768 26 7.9375C26 7.87087 25.9919 7.80425 25.9756 7.74088Z","fill","#FCFCFE"],["d","M22.1406 13.6249C21.034 13.6249 19.9826 13.2869 19.0938 12.6694C17.316 13.9061 14.7778 13.9061 13 12.6694C11.2222 13.9061 8.684 13.9061 6.90625 12.6694C6.01737 13.2869 4.966 13.6249 3.85938 13.6249C3.0615 13.6249 2.30913 13.4381 1.625 13.1196V21.7499C1.625 22.6469 2.353 23.3749 3.25 23.3749H9.75V16.8749H16.25V23.3749H22.75C23.647 23.3749 24.375 22.6469 24.375 21.7499V13.1196C23.6909 13.4381 22.9385 13.6249 22.1406 13.6249Z","fill","#FCFCFE"],["width","17","height","21","viewBox","0 0 17 21","fill","none","xmlns","http://www.w3.org/2000/svg",1,"vector"],["d","M8.5 21C10.2253 21 11.6686 19.7089 12 18H5C5.3316 19.7089 6.77486 21 8.5 21Z","fill","#989898"],["d","M14.9395 12.3215C14.9174 12.3215 14.897 12.3249 14.8749 12.3249C11.1256 12.3249 8.07503 9.27438 8.07503 5.52504C8.07503 4.05191 8.55097 2.69116 9.35002 1.57585V0.849946C9.35002 0.379915 8.96917 0 8.49992 0C8.03083 0 7.64998 0.379915 7.64998 0.849946V1.76806C4.77096 2.18284 2.54999 4.6589 2.54999 7.64998V10.0197C2.54999 11.7019 1.81304 13.2897 0.520146 14.3828C0.189569 14.6659 0 15.0772 0 15.5124C0 16.3328 0.667225 17 1.48744 17H15.5124C16.3328 17 17 16.3328 17 15.5124C17 15.0772 16.8104 14.6659 16.4713 14.3761C15.8014 13.8091 15.2847 13.1036 14.9395 12.3215Z","fill","#989898"],["xmlns","http://www.w3.org/2000/svg","width","17","height","21","viewBox","0 0 28 35","fill","none",1,"vector"],["d","M14 35C16.9577 35 19.4318 32.8482 20 30H8C8.56845 32.8482 11.0426 35 14 35Z","fill","#989898"],["d","M13.9995 0C15.3221 0 16.3873 0.813458 16.3873 2.06439C16.3873 2.85176 16.4148 3.43926 16.9108 3.58974C21.1282 4.86025 23.8325 7.83827 23.8325 11.7057V18.2059C23.8325 21.1839 25.0537 21.7868 26.5906 22.9259C28.8163 24.5729 28.3082 28.0023 25.7542 28H2.24579C-0.308196 28.0023 -0.816283 24.5729 1.4094 22.9259C2.94441 21.7868 4.16746 21.1839 4.16746 18.2059V11.7057C4.16746 7.83827 6.87182 4.86025 11.0892 3.58974C11.5838 3.43926 11.6127 2.85176 11.6127 2.06439C11.6132 0.813458 12.6789 0 13.9995 0Z","fill","#989898"],[1,"count-container","flex-center"],["alt","Avatar img",1,"image",3,"src"],["src","assets/images/no-image.svg","alt","Avatar img",1,"no-image"],[1,"name"],[1,"no-name"],[1,"user-info-tools",3,"clickOutside"],["class","tool",3,"click",4,"ngIf"],["class","underline",4,"ngIf"],[1,"underline"],[1,"tool","cursor_pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","13","height","13","viewBox","0 0 13 13","fill","none"],["d","M5.30615 11.0101C5.28954 10.9659 5.28382 10.9283 5.28945 10.8979C5.29506 10.8677 5.27574 10.8427 5.23146 10.8234C5.18718 10.8041 5.16508 10.7888 5.16508 10.7779C5.16508 10.7668 5.13334 10.7585 5.06971 10.753C5.00612 10.7475 4.97438 10.7447 4.97438 10.7447H4.86664H4.77546H2.3877C2.02291 10.7447 1.7106 10.6149 1.45079 10.355C1.19103 10.0952 1.06117 9.78294 1.06117 9.41821V3.58143C1.06117 3.21665 1.191 2.90445 1.45079 2.64466C1.7106 2.38485 2.02291 2.2549 2.3877 2.2549H5.04073C5.1126 2.2549 5.
116911 2.23707 5.21067 2.20106C5.25205 2.16514 5.27964 2.11122 5.29352 2.03938C5.30734 1.96753 5.31567 1.90266 5.31846 1.84461C5.32119 1.78662 5.31986 1.71333 5.31428 1.6249C5.30879 1.53651 5.30603 1.48125 5.30603 1.45903C5.30603 1.38719 5.27975 1.32513 5.22728 1.27251C5.17475 1.22013 5.1126 1.19385 5.04076 1.19385H2.3877C1.73003 1.19385 1.1676 1.42738 0.700507 1.89441C0.233532 2.36145 0 2.92379 0 3.58152V9.41818C0 10.0759 0.233532 10.6383 0.700507 11.1052C1.1676 11.5725 1.73003 11.806 2.3877 11.806H5.04085C5.11272 11.806 5.16926 11.7879 5.21078 11.7522C5.25217 11.7162 5.27975 11.6623 5.29363 11.5904C5.30746 11.5186 5.31579 11.4534 5.31858 11.3956C5.32131 11.3376 5.31997 11.2644 5.3144 11.176C5.30885 11.0875 5.30615 11.0323 5.30615 11.0101Z","fill","#989898"],["d","M12.8424 6.1268L8.33226 1.61649C8.22732 1.5116 8.10291 1.45898 7.9592 1.45898C7.81549 1.45898 7.69108 1.5116 7.58602 1.61649C7.48099 1.72153 7.42851 1.84602 7.42851 1.98964V4.3774H3.71425C3.57045 4.3774 3.44614 4.43002 3.3411 4.53491C3.23607 4.63994 3.18359 4.76435 3.18359 4.90806V8.09178C3.18359 8.23547 3.23607 8.35987 3.3411 8.46484C3.44625 8.56967 3.57054 8.62244 3.71425 8.62244H7.42854V11.0102C7.42854 11.1538 7.48102 11.2783 7.58605 11.3832C7.69108 11.4883 7.81549 11.5409 7.95923 11.5409C8.10291 11.5409 8.22732 11.4883 8.33229 11.3832L12.8424 6.87313C12.9475 6.76801 13 6.64378 13 6.50004C13 6.35635 12.9475 6.23183 12.8424 6.1268Z","fill","#989898"],[1,"text"],[1,"tool",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","11","height","14","viewBox","0 0 11 14","fill","none",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","11","height","14","viewBox","0 0 11 14","fill","none"],["d","M5.49791 6.562C7.36716 6.562 8.88255 5.09306 8.88255 3.28101C8.88255 1.46896 7.36716 0 5.49791 0C3.62863 0 2.11328 1.46896 2.11328 3.28101C2.11328 5.09306 3.62863 6.562 5.49791 6.562Z","fill","#989898"],["d","M7.26285 7.9292H3.73719C1.69231 7.9292 0 9.56978 0 11.552C0 12.0305 0.211538 12.4407 0.63462 12.6457C1.26923 12.9875 2.6795 13.3975 5.50002 13.3975C8.32057 13.3975 9.73077 12.9875 10.3654 12.6457C10.718 12.4407 11 12.0305 11 11.552C11 9.50139 9.30775 7.9292 7.26285 7.9292Z","fill","#989898"],["xmlns","http://www.w3.org/2000/svg","width","15","height","13","viewBox","0 0 15 13","fill","none",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","15","height","13","viewBox","0 0 15 13","fill","none"],["d","M14.9799 4.06622L14.1396 0.702929C14.0365 0.289714 13.6651 0 13.2389 0H1.89265C1.46643 0 1.095 0.289714 0.991005 0.702929L0.150647 4.06622C0.141362 4.10243 0.136719 4.1405 0.136719 4.17857C0.136719 5.45814 1.12565 6.5 2.34208 6.5C3.04872 6.5 3.67922 6.14807 4.08315 5.60207C4.48708 6.14807 5.11758 6.5 5.82422 6.5C6.53086 6.5 7.16136 6.14807 7.56529 5.60207C7.96922 6.14807 8.59879 6.5 9.30636 6.5C10.0139 6.5 10.6435 6.14807 11.0474 5.60207C11.4514 6.14807 12.0809 6.5 12.7885 6.5C14.0049 6.5 14.9939 5.45814 14.9939 4.17857C14.9939 4.1405 14.9892 4.10243 14.9799 4.06622Z","fill","#989898"],["d","M12.7935 7.42881C12.1612 7.42881 11.5604 7.23567 11.0525 6.88281C10.0366 7.58946 8.58617 7.58946 7.57031 6.88281C6.55446 7.58946 5.10403 7.58946 4.08817 6.88281C3.58024 7.23567 2.97946 7.42881 2.3471 7.42881C1.89117 7.42881 1.46124 7.32203 1.07031 7.14003V12.0717C1.07031 12.5842 1.48631 13.0002 1.99888 13.0002H5.71317V9.28596H9.42746V13.0002H13.1417C13.6543 13.0002 14.0703 12.5842 14.0703 12.0717V7.14003C13.6794 7.32203 13.2495 7.42881 12.7935 7.42881Z","fill","#989898"],[1,"user-role","flex-center"],["xmlns","http://www.w3.org/2000/svg","width","14","height","14","viewBox","0 0 14 14","fill","none",3,"click"],["d","M14 12.6L12.6 14L7 8.4L1.4 14L0 12.6L5.6 7L0 1.4L1.4 -9.53674e-07L7 5.6L12.6 -9.53674e-07L14 1.4L8.4 7L14 12.6Z","fill","white"],["xmlns","http://www.w3.org/2000/svg","width","16","height","15","viewBox","0 0 16 15","fill","none",3,"click"],["y1","1.6499","x2","16","y2","1.6499","stroke","white","stroke-width","2"],["y1","7.6499","x2","16","y2","7.6499","stroke","white","stroke-width","2"],["y1","13.6499","x2","16","y2","13.6499","stroke","white","stroke-width","2"],["xmlns","http://www.w3.org/2000/svg","width","15","height","18","viewBox","0 0 15 18","fill","none"],["d","M7 17.9731C8.47884 17.9731 9.71592 16.6821 10 14.9731H4C4.28423 16.6821 5.52131 17.9731 7 17.9731Z","fill","white"],["fill-rule","evenodd","clip-rule","evenodd","d","M8.41595 1.19359C7.8084 2.11029 7.45598 3.19868 7.45598 4.36495C7.45598 7.20202 9.54171 9.57837 12.3122 10.143C12.4796 10.921 12.9159 11.2368 13.4543 11.6266C13.5196 11.6739 13.5865 11.7223 13.6546 11.7728C14.7975 12.6185 14.5366 14.3796 13.2251 14.3784H1.15324C-0.158263 14.3796 -0.419172 12.6185 0.723747 11.7728C0.792214 11.722 0.859473 11.6732 0.925217 11.6256C1.61636 11.1248 2.14004 10.7454 2.14004 9.34897V6.01103C2.14004 4.02506 3.52877 2.4958 5.69446 1.84338C5.94842 1.76611 5.96328 1.46442 5.96328 1.06009C5.96352 0.417721 6.51076 0 7.18893 0C7.86807 0 8.41507 0.417721 8.41507 1.06009C8.41507 1.10598 8.41525 1.15053 8.41595 1.19359Z","fill","white"],["xmlns","http://www.w3.org/2000/svg","width","15","height","18","viewBox","0 0 15 18","fill","none",1,"vector"],["d","M7.199 18.0001C8.72011 18.0001 9.99253 16.8935 10.2847 15.4287H4.11328C4.40563 16.8935 5.67806 18.0001 7.199 18.0001Z","fill","white"],["d","M7.19978 0C7.87994 0 8.42776 0.418351 8.42776 1.06169C8.42776 1.46662 8.44193 1.76877 8.69699 1.84616C10.866 2.49956 12.2568 4.03112 12.2568 6.02009V9.36306C12.2568 10.8946 12.8848 11.2047 13.6752 11.7905C14.8198 12.6375 14.5585 14.4012 13.2451 14.4H1.15498C-0.158501 14.4012 -0.419804 12.6375 0.724839 11.7905C1.51427 11.2047 2.14327 10.8946 2.14327 9.36306V6.02009C2.14327 4.03112 3.53409 2.49956 5.70305 1.84616C5.95739 1.76877 5.97228 1.46662 5.97228 1.06169C5.97252 0.418351 6.52059 0 7.19978 0Z","fill","white"],[3,"profileVersion"]],template:function(we,Ee){if(1&we){const He=_.RV6();_.j41(0,"header")(1,"div",1)(2,"div",2)(3,"div",3),_.DNE(4,L,3,0,"svg",4)(5,f,3,3,"div",5)(6,D,3,0,"svg",6)(7,R,3,3,"div",5),_.k0s(),_.j41(8,"div",7)(9,"div",8)(10,"div",9),_.EFF(11),_.k0s(),_.qSk(),_.j41(12,"svg",10),_.nrm(13,"path",11),_.k0s()(),_.j41(14,"svg",12),_.nrm(15,"path",13),_.k0s(),_.joV(),_.j41(16,"div",14),_.bIt("click",function(){return _.eBV(He),_.Njj(Ee.openNotificationsMenu())}),_.DNE(17,S,3,0,"svg",15)(18,j,3,0,"svg",16)(19,fe,2,1,"div",17),_.k0s(),_.qSk(),_.j41(20,"svg",18),_.nrm(21,"path",13),_.k0s(),_.joV(),_.j41(22,"div",19,0),_.bIt("click",function(){return _.eBV(He),_.Njj(Ee.toolPopUp=!Ee.toolPopUp)}),_.j41(24,"div",20),_.DNE(25,H,1,1,"img",21)(26,J,1,0,"img",22),_.k0s(),_.j41(27,"div",23),_.DNE(28,Y,2,1,"p",24)(29,W,3,3,"p",25),_.qSk(),_.j41(30,"svg",26),_.nrm(31,"path",27),_.k0s()(),_.DNE(32,ue,12,6,"div",28),_.k0s()()(),_.joV(),_.j41(33,"div",29),_.DNE(34,ne,3,2,"div",30),_.j41(35,"div",31),_.DNE(36,Z,2,0,"svg",32)(37,ve,4,0,"svg",33),_.qSk(),_.j41(38,"svg",34),_.bIt("click",function(){return _.eBV(He),_.Njj(Ee.goToMain())}),_.nrm(39,"rect",35)(40,"path",36)(41,"path",37)(42,"path",38)(43,"path",39)(44,"path",40)(45,"path",41),_.k0s()(),_.joV(),_.j41(46,"div",7)(47,"div",42),_.bIt("click",function(){return _.eBV(He),_.Njj(Ee.openNotificationsMenu())}),_.DNE(48,ke,3,0,"svg",43)(49,Ne,3,0,"svg",44)(50,Ie,2,1,"div",17),_.k0s(),_.j41(51,"div",45),_.bIt("click",function(){return _.eBV(He),_.Njj(Ee.goToPage(Ee.PagesNavigationEnum.Profile))}),_.DNE(52,De,1,1,"img",21),_.k0s()()()(),_.DNE(53,et,1,1,"app-burger-menu",46),_.nrm(54,"app-notification-center",47),_.k0s(),_.nrm(55,"dx-context-menu",48)}2&we&&(_.R7$(4),_.Y8G("ngIf",Ee.userRole===Ee.RoleType.Customer),_.R7$(),_.Y8G("ngIf",Ee.userRole===Ee.RoleType.Customer),_.R7$(),_.Y8G("ngIf",Ee.userRole===Ee.RoleType.Shop),_.R7$(),_.Y8G("ngIf",Ee.userRole===Ee.RoleType.Shop),_.R7$(4),_.JRh(null==Ee.languageService.selectedLanguage?null:Ee.languageService.selectedLanguage.shortName),_.R7$(6),_.Y8G("ngIf",Ee.unCheckedNotifications()>0),_.R7$(),_.Y8G("ngIf",0===Ee.unCheckedNotifications()),_.R7$(),_.Y8G("ngIf",Ee.unCheckedNotifications()>0),_.R7$(6),_.Y8G("ngIf",Ee.profileImage),_.R7$(),_.Y8G("ngIf",!Ee.profileImage),_.R7$(2),_.Y8G("ngIf",Ee.userName&&Ee.userName.length>0),_.R7$(),_.Y8G("ngIf",0===(null==Ee.userName?null:Ee.userName.length)||!Ee.userName),_.R7$(),_.Y8G("ngClass",_.eq3(25,z,Ee.toolPopUp)),_.R7$(2),_.Y8G("ngIf",Ee.toolPopUp),_.R7$(2),_.Y8G("ngIf",Ee.burgerMenuService.showRole),_.R7$(2),_.Y8G("ngIf",Ee.burgerMenuService.opened),_.R7$(),_.Y8G("ngIf",!Ee.burgerMenuService.opened),_.R7$(11),_.Y8G("ngIf",Ee.unCheckedNotifications()>0),_.R7$(),_.Y8G("ngIf",0===Ee.unCheckedNotifications()),_.R7$(),_.Y8G("ngIf",Ee.unCheckedNotifications()>0),_.R7$(2),_.Y8G("ngIf",Ee.profileImage),_.R7$(),_.Y8G("ngIf",Ee.window.innerWidth<=600),_.R7$(),_.Y8G("notifications",Ee.notifications),_.R7$(),_.Y8G("items",Ee.userMenuItems)("position",_.lJ4(27,ee)))},styles:[".header-container[_ngcontent-%COMP%]{background:var(--color-light-grey);position:relative;z-index:18}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]{display:none}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;padding-bottom:35px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]{margin-top:22px;display:flex;align-items:center;padding-left:64px;border-bottom-right-radius:10px;border-top-right-radius:10px;background:var(--color-theme);width:288px;height:55px;column-gap:21px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]   .user-role-text[_ngcontent-%COMP%]{color:#fcfcfe;font-size:20px;font-weight:500;line-height:11.098px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]{display:flex;margin-right:32px;width:-moz-fit-content;width:fit-content;align-items:center;height:-moz-fit-content;height:fit-content;margin-top:29px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .language-select[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:6px;margin-right:21px;position:relative}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .language-select[_ngcontent-%COMP%]   .selected-language[_ngcontent-%COMP%]{color:#000;font-weight:500}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .language-select[_ngcontent-%COMP%]   .languages[_ngcontent-%COMP%]{padding-left:22px;position:absolute;width:146px;background:#fff;box-shadow:3px 3px 16.9px #a1a1a140;top:36px;display:flex;flex-direction:column;row-gap:21px;padding-top:22px;padding-bottom:22px;border-radius:10px;left:-24px;color:#000;z-index:3}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]{position:relative;width:-moz-fit-content;width:fit-content;margin-right:20px;margin-left:20px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .count-container[_ngcontent-%COMP%]{position:absolute;top:-2.2px;left:9px;width:14px;border-radius:50%;height:14px;background:var(--color-theme);font-size:11px;font-weight:700}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]{margin-left:20px;width:203px;height:48px;border-radius:10px;background:var(--color-white);display:flex;align-items:center;position:relative}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]{max-width:48px;min-width:48px;height:48px;border:1px solid #000;background:#ececec;border-radius:9px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{height:100%;width:100%;border-radius:8px;object-fit:cover}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .image-container[_ngcontent-%COMP%]   .no-image[_ngcontent-%COMP%]{width:25px;height:25px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin-left:12px;color:var(--color-black);font-size:14px;white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;padding-top:5px;max-width:96px;overflow-x:clip}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]   .no-name[_ng
1content-%COMP%]{margin-left:12px;color:#ced3db}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .name-symbol[_ngcontent-%COMP%]   .symbol[_ngcontent-%COMP%]{margin-left:20px;margin-right:15px;height:20px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .user-info-tools[_ngcontent-%COMP%]{top:54px;left:49px;position:absolute;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #a1a1a140;width:160px;z-index:10;display:flex;flex-direction:column}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .user-info-tools[_ngcontent-%COMP%]   .tool[_ngcontent-%COMP%]{margin-left:12px;height:47px;cursor:pointer;align-items:center;display:flex;column-gap:16px;color:var(--color-black)}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]   .user-info-tools[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{border-bottom:1px solid #F6F4F3;margin:0 14px}@media (max-width: 980px){.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]{padding-left:45px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]{margin-right:18px}}@media (max-width: 783px){.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;padding-right:20px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]   .user-role-text[_ngcontent-%COMP%]{font-size:16px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:none;max-width:22px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .language-select[_ngcontent-%COMP%]{display:flex;column-gap:6px;margin-right:15px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]{margin-right:15px;margin-left:15px}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .user-info[_ngcontent-%COMP%]{margin-left:15px}}@media (max-width: 580px){.header-container[_ngcontent-%COMP%]{height:58px;background:var(--color-dark-ocean)}.header-container[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]{display:none}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;height:100%;padding-left:25px;padding-right:25px;position:relative}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]{position:absolute;width:104px;height:25px;flex-shrink:0;border-radius:0 0 10px 10px;background:var(--color-theme);top:58px;left:25px;z-index:6}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .user-role[_ngcontent-%COMP%]   .user-role-text[_ngcontent-%COMP%]{color:#fcfcfe;font-size:14px;font-weight:500;line-height:11.098px}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .burger-logo[_ngcontent-%COMP%]{display:flex;column-gap:20px;align-items:center;cursor:pointer}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]{display:flex;align-items:center}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]{position:relative}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .count-container[_ngcontent-%COMP%]{position:absolute;width:11px;top:-.4px;right:-4px;border-radius:50%;font-size:8px;font-weight:500;background:var(--color-theme);height:11px}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .profile-picture[_ngcontent-%COMP%]{margin-left:16px;width:34px;height:34px}.header-container[_ngcontent-%COMP%]   .phones[_ngcontent-%COMP%]   .tools[_ngcontent-%COMP%]   .profile-picture[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{border-radius:8px;width:100%;height:100%;object-fit:cover}}  .dx-context-menu .dx-menu-items-container{padding:0}  .dx-context-menu .dx-submenu{border-radius:10px}"]})}return dt})()},6029:(Nt,Le,a)=>{"use strict";a.d(Le,{d:()=>M});var t=a(8359),c=a(5714),m=a(4438),x=a(9173),_=a(177),b=a(3955);const v=N=>({active:N});let M=(()=>{class N{constructor(P){this.toastService=P,this.isShowSuccess=!1,this.isShowFail=!1,this.subscriptions=new t.yU,this.timerId=0,this.message="",this.toastTime=3500,this.subscriptions.add(this.toastService.onToastOpened$.subscribe(g=>{clearInterval(this.timerId),this.isShowSuccess||this.isShowFail?(this.isShowSuccess=!1,this.isShowFail=!1,setTimeout(()=>{this.showToast(g)},100)):this.showToast(g)}))}showToast(P){P.toastStatus===c.m.Fail?(this.isShowFail=!0,this.message=P.message,this.timerId=setTimeout(()=>{this.isShowFail=!1},this.toastTime)):(this.isShowSuccess=!0,this.message=P.message,this.timerId=setTimeout(()=>{this.isShowSuccess=!1},this.toastTime))}hide(){this.isShowSuccess=!1,this.isShowFail=!1}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(g){return new(g||N)(m.rXU(x.f))};static#t=this.\u0275cmp=m.VBU({type:N,selectors:[["app-toast"]],decls:24,vars:18,consts:[[1,"toast-container",3,"ngClass"],[1,"toast-content"],[1,"left-boarder"],["xmlns","http://www.w3.org/2000/svg","width","15","height","15","viewBox","0 0 15 15","fill","none",1,"icon"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.5 15C11.6421 15 15 11.6421 15 7.5C15 3.35786 11.6421 0 7.5 0C3.35786 0 0 3.35786 0 7.5C0 11.6421 3.35786 15 7.5 15ZM7.19757 9.51709L9.99763 6.75312C10.2158 6.53746 10.2158 6.18387 9.99763 5.9682C9.77943 5.75254 9.42067 5.75254 9.20246 5.9682L6.79998 8.3451L5.79754 7.35018C5.57933 7.13452 5.22057 7.13452 5.00237 7.35018C4.78416 7.56
1585 4.78416 7.91944 5.00237 8.13511L6.4024 9.51709C6.51451 9.62209 6.65451 9.67742 6.79998 9.67742C6.94546 9.67742 7.08546 9.62209 7.19757 9.51709Z","fill","#5FBA34"],[1,"text"],[1,"title"],[1,"description"],[1,"toast-container","error",3,"ngClass"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.5 15C11.6421 15 15 11.6421 15 7.5C15 3.35786 11.6421 0 7.5 0C3.35786 0 0 3.35786 0 7.5C0 11.6421 3.35786 15 7.5 15ZM8.25593 3.46619H6.73184L6.97376 8.72792H8.02611L8.25593 3.46619ZM6.82861 11.3165C7.01408 11.4939 7.23987 11.5826 7.50598 11.5826C7.77209 11.5826 7.99385 11.4939 8.17126 11.3165C8.34867 11.139 8.43737 10.9173 8.43737 10.6512C8.43737 10.377 8.34867 10.1512 8.17126 9.97381C7.99385 9.7964 7.77209 9.7077 7.50598 9.7077C7.23987 9.7077 7.01408 9.7964 6.82861 9.97381C6.6512 10.1512 6.5625 10.377 6.5625 10.6512C6.5625 10.9173 6.6512 11.139 6.82861 11.3165Z","fill","#DC5A54"]],template:function(g,U){1&g&&(m.j41(0,"div",0)(1,"div",1),m.nrm(2,"div",2),m.qSk(),m.j41(3,"svg",3),m.nrm(4,"path",4),m.k0s(),m.joV(),m.j41(5,"div",5)(6,"div",6),m.EFF(7),m.nI1(8,"translate"),m.k0s(),m.j41(9,"div",7),m.EFF(10),m.nI1(11,"translate"),m.k0s()()()(),m.j41(12,"div",8)(13,"div",1),m.nrm(14,"div",2),m.qSk(),m.j41(15,"svg",3),m.nrm(16,"path",9),m.k0s(),m.joV(),m.j41(17,"div",5)(18,"div",6),m.EFF(19),m.nI1(20,"translate"),m.k0s(),m.j41(21,"div",7),m.EFF(22),m.nI1(23,"translate"),m.k0s()()()()),2&g&&(m.Y8G("ngClass",m.eq3(14,v,U.isShowSuccess)),m.R7$(7),m.JRh(m.bMT(8,6,"i18n.app.success")),m.R7$(3),m.JRh(m.bMT(11,8,U.message)),m.R7$(2),m.Y8G("ngClass",m.eq3(16,v,U.isShowFail)),m.R7$(7),m.JRh(m.bMT(20,10,"i18n.app.error")),m.R7$(3),m.JRh(m.bMT(23,12,U.message)))},dependencies:[_.YU,b.D9],styles:[".toast-container[_ngcontent-%COMP%]{position:fixed;top:110px;right:30px;border-radius:5px;overflow:hidden;transform:translate(calc(100% + 30px));transition:all .5s cubic-bezier(.68,-.55,.265,1.35);width:-moz-fit-content;width:fit-content;padding-right:10px;height:49px;z-index:200;background:#e6f4e7}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]{display:flex;column-gap:12px;align-items:center}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .left-boarder[_ngcontent-%COMP%]{width:5px;height:49px;flex-shrink:0;border-radius:5px 0 0 5px;background:#5fba34}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;font-weight:500}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{font-size:14px}.active[_ngcontent-%COMP%]{transform:translate(0)}.error[_ngcontent-%COMP%]{background:#ffe6df}.error[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .left-boarder[_ngcontent-%COMP%]{background:#dc5a54}@media (max-width: 580px){.toast-container[_ngcontent-%COMP%]{box-shadow:3px 3px 16.9px 2px #a1a1a140;display:none;border-radius:17px;width:137px;height:-moz-fit-content;height:fit-content;min-height:136px;max-height:200px;inset:0;margin:auto;padding:28px 0}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]{width:100%;flex-direction:column}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:25px;height:25px}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .left-boarder[_ngcontent-%COMP%]{width:0;height:0}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{width:100%;margin-top:15px;padding:0 17px;display:flex;flex-direction:column;row-gap:10px;text-align:center}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:14px;font-weight:500}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{word-wrap:break-word;font-size:12px}.active[_ngcontent-%COMP%]{display:unset}}.toast-container[_ngcontent-%COMP%]   .toast-content[_ngcontent-%COMP%]{display:flex;align-items:center}@keyframes _ngcontent-%COMP%_progress{to{right:100%}}.toast-container.active[_ngcontent-%COMP%] ~ button[_ngcontent-%COMP%]{pointer-events:none}"]})}return N})()},7660:(Nt,Le,a)=>{"use strict";a.d(Le,{z:()=>b});var t=a(4438),c=a(177),m=a(8359),x=a(3726),_=a(5964);let b=(()=>{class v{constructor(N,p){this.element=N,this.document=p,this.outsideClick=new t.bkB,this.subscription=new m.yU}ngOnInit(){setTimeout(()=>{this.subscription=(0,x.R)(this.document,"click").pipe((0,_.p)(N=>!this.isOrContainsClickTarget(this.element.nativeElement,N.target))).subscribe(()=>this.outsideClick.emit())},0)}isOrContainsClickTarget(N,p){return N==p||N.contains(p)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}static#e=this.\u0275fac=function(p){return new(p||v)(t.rXU(t.aKT),t.rXU(c.qQ,8))};static#t=this.\u0275dir=t.FsC({type:v,selectors:[["","clickOutside",""]],outputs:{outsideClick:"clickOutside"}})}return v})()},7733:(Nt,Le,a)=>{"use strict";a.d(Le,{b:()=>c});var t=a(4438);let c=(()=>{class m{transform(_){if(!_)return"";const b=new Date(_);return`${b.getHours().toString().padStart(2,"0")}:${b.getMinutes().toString().padStart(2,"0")}`}static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275pipe=t.EJ8({name:"customTimeForMessenger",type:m,pure:!0})}return m})()},9938:(Nt,Le,a)=>{"use strict";a.d(Le,{z:()=>m});var t=a(4438),c=a(3955);let m=(()=>{class x{constructor(b){this.translate=b}transform(b){if(!b)return null;const v=this.translate.currentLang?.toLowerCase();return null!==b[v]?b[v]?.toString():b.en||null}static#e=this.\u0275fac=function(v){return new(v||x)(t.rXU(c.c$,16))};static#t=this.\u0275pipe=t.EJ8({name:"multilingualPropertyTranslate",type:x,pure:!1})}return x})()},6876:(Nt,Le,a)=>{"use strict";a.d(Le,{t:()=>b});var t=a(738),c=a(4770),m=a(4438),x=a(2791),_=a(5812);let b=(()=>{class v{constructor(N,p){this.router=N,this.authService=p,this.userRoles=[],this.userRoles=this.authService.getUserRoles()}canActivate(){return(!this.authService.isAuthenticated()||!this.canRoleActive())&&this.router.navigate(["login"]),!0}canActivateChild(){return this.canActivate()?(this.canRoleActive()||this.router.navigate(["/customer/unauthorized"]),!0):(this.router.navigate([""]),!1)}canRoleActive(){return this.userRoles.includes(t.R.customer_admin)||this.userRoles.includes(c.z.shop_admin)}static#e=this.\u0275fac=function(p){return new(p||v)(m.KVO(x.Ix),m.KVO(_.u))};static#t=this.\u0275prov=m.jDH({token:v,factory:v.\u0275fac})}return v})()},2676:(Nt,Le,a)=>{"use strict";a.d(Le,{r:()=>x});var t=a(4438),c=a(2791),m=a(5812);let x=(()=>{class _{constructor(v,M){this.router=v,this.authService=M,this.userRoles=[],this.userRoles=this.authService.getUserRoles()}canActivate(){return this.authService.isAuthenticated()||this.router.navigate(["login"]),!0}canActivateChild(v){return this.canActivate()?(this.canRoleActive(v)||this.router.navigate(["/customer/unauthorized"]),!0):(this.router.navigate([""]),!1)}canRoleActive(v){return 0!=this.userRoles.filter(N=>v.data.role.includes(N)).length}static#e=this.\u0275fac=function(M){return new(M||_)(t.KVO(c.Ix),t.KVO(m.u))};static#t=this.\u0275prov=t.jDH({token:_,factory:_.\u0275fac})}return _})()},5812:(Nt,Le,a)=>{"use strict";a.d(Le,{u:()=>zo});var t=a(467),c=a(738),m=a(4770),x=a(980),_=a(9350),v=a(1626),M=a(8688),N=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
1function p(F,Q){return F(Q={exports:{}},Q.exports),Q.exports}var P=p(function(F){var Q,he;Q=N,he=function(){return function(){return function ye(Ye){var _t=[];if(0===Ye.length)return"";if("string"!=typeof Ye[0])throw new TypeError("Url must be a string. Received "+Ye[0]);if(Ye[0].match(/^[^/:]+:\/*$/)&&Ye.length>1){var Ct=Ye.shift();Ye[0]=Ct+Ye[0]}Ye[0]=Ye[0].match(/^file:\/\/\//)?Ye[0].replace(/^([^/:]+):\/*/,"$1:///"):Ye[0].replace(/^([^/:]+):\/*/,"$1://");for(var Mt=0;Mt<Ye.length;Mt++){var Kt=Ye[Mt];if("string"!=typeof Kt)throw new TypeError("Url must be a string. Received "+Kt);""!==Kt&&(Mt>0&&(Kt=Kt.replace(/^[\/]+/,"")),Kt=Kt.replace(/[\/]+$/,Mt<Ye.length-1?"":"/"),_t.push(Kt))}var tn=_t.join("/"),qt=(tn=tn.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return qt.shift()+(qt.length>0?"?":"")+qt.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},F.exports?F.exports=he():Q.urljoin=he()}),g=typeof Symbol<"u"&&Symbol,U={foo:{}},G=Object,K=Object.prototype.toString,z=Math.max,ee=function(F,Q){for(var he=[],ye=0;ye<F.length;ye+=1)he[ye]=F[ye];for(var Ye=0;Ye<Q.length;Ye+=1)he[Ye+F.length]=Q[Ye];return he},D=Function.prototype.bind||function(F){var Q=this;if("function"!=typeof Q||"[object Function]"!==K.apply(Q))throw new TypeError("Function.prototype.bind called on incompatible "+Q);for(var he,ye=function(F,Q){for(var he=[],ye=1,Ye=0;ye<F.length;ye+=1,Ye+=1)he[Ye]=F[ye];return he}(arguments),_t=z(0,Q.length-ye.length),Ct=[],Mt=0;Mt<_t;Mt++)Ct[Mt]="$"+Mt;if(he=Function("binder","return function ("+function(F,Q){for(var he="",ye=0;ye<F.length;ye+=1)he+=F[ye],ye+1<F.length&&(he+=",");return he}(Ct)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof he){var tn=Q.apply(this,ee(ye,arguments));return Object(tn)===tn?tn:this}return Q.apply(F,ee(ye,arguments))}),Q.prototype){var Kt=function(){};Kt.prototype=Q.prototype,he.prototype=new Kt,Kt.prototype=null}return he},R=D.call(Function.call,Object.prototype.hasOwnProperty),S=SyntaxError,j=Function,fe=TypeError,H=function(F){try{return j('"use strict"; return ('+F+").constructor;")()}catch{}},J=Object.getOwnPropertyDescriptor;if(J)try{J({},"")}catch{J=null}var Y=function(){throw new fe},W=J?function(){try{return Y}catch{try{return J(arguments,"callee").get}catch{return Y}}}():Y,re="function"==typeof g&&"function"==typeof Symbol&&"symbol"==typeof g("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var F={},Q=Symbol("test"),he=Object(Q);if("string"==typeof Q||"[object Symbol]"!==Object.prototype.toString.call(Q)||"[object Symbol]"!==Object.prototype.toString.call(he))return!1;for(Q in F[Q]=42,F)return!1;if("function"==typeof Object.keys&&0!==Object.keys(F).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(F).length)return!1;var ye=Object.getOwnPropertySymbols(F);if(1!==ye.length||ye[0]!==Q||!Object.prototype.propertyIsEnumerable.call(F,Q))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var Ye=Object.getOwnPropertyDescriptor(F,Q);if(42!==Ye.value||!0!==Ye.enumerable)return!1}return!0}(),Re=Object.getPrototypeOf||({__proto__:U}.foo!==U.foo||{__proto__:null}instanceof G?null:function(F){return F.__proto__}),Be={},Fe=typeof Uint8Array<"u"&&Re?Re(Uint8Array):void 0,ue={"%AggregateError%":typeof AggregateError>"u"?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":re&&Re?Re([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":Be,"%AsyncGenerator%":Be,"%AsyncGeneratorFunction%":Be,"%AsyncIteratorPrototype%":Be,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%BigInt%":typeof BigInt>"u"?void 0:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?void 0:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry,"%Function%":j,"%GeneratorFunction%":Be,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int32Array%":typeof Int32Array>
1"u"?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":re&&Re?Re(Re([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&re&&Re?Re((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&re&&Re?Re((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":re&&Re?Re(""[Symbol.iterator]()):void 0,"%Symbol%":re?Symbol:void 0,"%SyntaxError%":S,"%ThrowTypeError%":W,"%TypedArray%":Fe,"%TypeError%":fe,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakRef%":typeof WeakRef>"u"?void 0:WeakRef,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet};if(Re)try{null.error}catch(F){var ce=Re(Re(F));ue["%Error.prototype%"]=ce}var F,_e={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=D.call(Function.call,Array.prototype.concat),Z=D.call(Function.apply,Array.prototype.splice),ve=D.c
1all(Function.call,String.prototype.replace),ke=D.call(Function.call,String.prototype.slice),Ne=D.call(Function.call,RegExp.prototype.exec),Ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,De=/\\(\\)?/g,dt=function(F,Q){if("string"!=typeof F||0===F.length)throw new fe("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Q)throw new fe('"allowMissing" argument must be a boolean');if(null===Ne(/^%?[^%]*%?$/,F))throw new S("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var he=function(F){var Q=ke(F,0,1),he=ke(F,-1);if("%"===Q&&"%"!==he)throw new S("invalid intrinsic syntax, expected closing `%`");if("%"===he&&"%"!==Q)throw new S("invalid intrinsic syntax, expected opening `%`");var ye=[];return ve(F,Ie,function(Ye,_t,Ct,Mt){ye[ye.length]=Ct?ve(Mt,De,"$1"):_t||Ye}),ye}(F),ye=he.length>0?he[0]:"",Ye=function(F,Q){var he,ye=F;if(R(_e,ye)&&(ye="%"+(he=_e[ye])[0]+"%"),R(ue,ye)){var Ye=ue[ye];if(Ye===Be&&(Ye=function _t(Ct){var Mt;if("%AsyncFunction%"===Ct)Mt=H("async function () {}");else if("%GeneratorFunction%"===Ct)Mt=H("function* () {}");else if("%AsyncGeneratorFunction%"===Ct)Mt=H("async function* () {}");else if("%AsyncGenerator%"===Ct){var Kt=_t("%AsyncGeneratorFunction%");Kt&&(Mt=Kt.prototype)}else if("%AsyncIteratorPrototype%"===Ct){var tn=_t("%AsyncGenerator%");tn&&Re&&(Mt=Re(tn.prototype))}return ue[Ct]=Mt,Mt}(ye)),void 0===Ye&&!Q)throw new fe("intrinsic "+F+" exists, but is not available. Please file an issue!");return{alias:he,name:ye,value:Ye}}throw new S("intrinsic "+F+" does not exist!")}("%"+ye+"%",Q),_t=Ye.name,Ct=Ye.value,Mt=!1,Kt=Ye.alias;Kt&&(ye=Kt[0],Z(he,ne([0,1],Kt)));for(var tn=1,qt=!0;tn<he.length;tn+=1){var hn=he[tn],yn=ke(hn,0,1),In=ke(hn,-1);if(('"'===yn||"'"===yn||"`"===yn||'"'===In||"'"===In||"`"===In)&&yn!==In)throw new S("property names with quotes must have matching quotes");if("constructor"!==hn&&qt||(Mt=!0),R(ue,_t="%"+(ye+="."+hn)+"%"))Ct=ue[_t];else if(null!=Ct){if(!(hn in Ct)){if(!Q)throw new fe("base intrinsic for "+F+" exists, but the property is not available.");return}if(J&&tn+1>=he.length){var En=J(Ct,hn);Ct=(qt=!!En)&&"get"in En&&!("originalValue"in En.get)?En.get:Ct[hn]}else qt=R(Ct,hn),Ct=Ct[hn];qt&&!Mt&&(ue[_t]=Ct)}}return Ct},Je=p(function(F){var Q=dt("%Function.prototype.apply%"),he=dt("%Function.prototype.call%"),ye=dt("%Reflect.apply%",!0)||D.call(he,Q),Ye=dt("%Object.getOwnPropertyDescriptor%",!0),_t=dt("%Object.defineProperty%",!0),Ct=dt("%Math.max%");if(_t)try{_t({},"a",{value:1})}catch{_t=null}F.exports=function(Kt){var tn=ye(D,he,arguments);return Ye&&_t&&Ye(tn,"length").configurable&&_t(tn,"length",{value:1+Ct(0,Kt.length-(arguments.length-1))}),tn};var Mt=function(){return ye(D,Q,arguments)};_t?_t(F.exports,"apply",{value:Mt}):F.exports.apply=Mt}),Ce=Je(dt("String.prototype.indexOf")),we=function(F,Q){var he=dt(F,!!Q);return"function"==typeof he&&Ce(F,".prototype.")>-1?Je(he):he},Ee=(F=Object.freeze({__proto__:null,default:{}}))&&F.default||F,He="function"==typeof Map&&Map.prototype,Ot=Object.getOwnPropertyDescriptor&&He?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,It=He&&Ot&&"function"==typeof Ot.get?Ot.get:null,un=He&&Map.prototype.forEach,ln="function"==typeof Set&&Set.prototype,Ln=Object.getOwnPropertyDescriptor&&ln?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Zt=ln&&Ln&&"function"==typeof Ln.get?Ln.get:null,ct=ln&&Set.prototype.forEach,rt="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Ae="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Ke="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,vt=Boolean.prototype.valueOf,Wt=Object.prototype.toString,ze=Function.prototype.toString,pt=String.prototype.match,Ze=String.prototype.slice,X=String.prototype.replace,Ve=String.prototype.toUpperCase,st=String.prototype.toLowerCase,at=RegExp.prototype.test,V=Array.prototype.concat,pe=Array.prototype.join,Te=Array.prototype.slice,ft=Math.floor,At="function"==typeof BigInt?BigInt.prototype.valueOf:null,sn=Object.getOwnPropertySymbols,Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ut="function"==typeof Symbol&&"object"==typeof Symbol.iterator,zt="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,wt=Object.prototype.propertyIsEnumerable,Qe=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(F){return F.__proto__}:null);function ot(F,Q){if(F===1/0||F===-1/0||F!=F||F&&F>-1e3&&F<1e3||at.call(/e/,Q))return Q;var he=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof F){var ye=F<0?-ft(-F):ft(F);if(ye!==F){var Ye=String(ye),_t=Ze.call(Q,Ye.length+1);return X.call(Ye,he,"$&_")+"."+X.call(X.call(_t,/([0-9]{3})/g,"$&_"),/_$/,"")}}return X.call(Q,he,"$&_")}var Vt=Ee.custom,rn=pn(Vt)?Vt:null,wn=function F(Q,he,ye,Ye){var _t=he||{};if(zn(_t,"quoteStyle")&&"single"!==_t.quoteStyle&&"double"!==_t.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(zn(_t,"maxStringLength")&&("number"==typeof _t.maxStringLength?_t.maxStringLength<0&&_t.maxStringLength!==1/0:null!==_t.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ct=!zn(_t,"customInspect")||_t.customInspect;if("boolean"!=typeof Ct&&"symbol"!==Ct)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
vendor: 5,383 bytes, line 1
1if(zn(_t,"indent")&&null!==_t.indent&&"\t"!==_t.indent&&!(parseInt(_t.indent,10)===_t.indent&&_t.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(zn(_t,"numericSeparator")&&"boolean"!=typeof _t.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Mt=_t.numericSeparator;if(void 0===Q)return"undefined";if(null===Q)return"null";if("boolean"==typeof Q)return Q?"true":"false";if("string"==typeof Q)return function Hn(Ii,di){if(Ii.length>di.maxStringLength){var mr=Ii.length-di.maxStringLength,Eo="... "+mr+" more character"+(mr>1?"s":"");return Hn(Ze.call(Ii,0,di.maxStringLength),di)+Eo}return jn(X.call(X.call(Ii,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ht),"single",di)}(Q,_t);if("number"==typeof Q){if(0===Q)return 1/0/Q>0?"0":"-0";var Kt=String(Q);return Mt?ot(Q,Kt):Kt}if("bigint"==typeof Q){var tn=String(Q)+"n";return Mt?ot(Q,tn):tn}var qt=void 0===_t.depth?5:_t.depth;if(void 0===ye&&(ye=0),ye>=qt&&qt>0&&"object"==typeof Q)return Lt(Q)?"[Array]":"[Object]";var Hn,hn=function(Hn,Ii){var di;if("\t"===Hn.indent)di="\t";else{if(!("number"==typeof Hn.indent&&Hn.indent>0))return null;di=pe.call(Array(Hn.indent+1)," ")}return{base:di,prev:pe.call(Array(Ii+1),di)}}(_t,ye);if(void 0===Ye)Ye=[];else if(it(Ye,Q)>=0)return"[Circular]";function yn(Hn,Ii,di){if(Ii&&(Ye=Te.call(Ye)).push(Ii),di){var mr={depth:_t.depth};return zn(_t,"quoteStyle")&&(mr.quoteStyle=_t.quoteStyle),F(Hn,mr,ye+1,Ye)}return F(Hn,_t,ye+1,Ye)}if("function"==typeof Q&&!Jt(Q)){var In=function(Hn){if(Hn.name)return Hn.name;var Ii=pt.call(ze.call(Hn),/^function\s*([\w$]+)/);return Ii?Ii[1]:null}(Q),En=be(Q,yn);return"[Function"+(In?": "+In:" (anonymous)")+"]"+(En.length>0?" { "+pe.call(En,", ")+" }":"")}if(pn(Q)){var Pn=Ut?X.call(String(Q),/^(Symbol\(.*\))_[^)]*$/,"$1"):Bt.call(Q);return"object"!=typeof Q||Ut?Pn:d(Pn)}if((Hn=Q)&&"object"==typeof Hn&&(typeof HTMLElement<"u"&&Hn instanceof HTMLElement||"string"==typeof Hn.nodeName&&"function"==typeof Hn.getAttribute)){for(var Bn="<"+st.call(String(Q.nodeName)),kn=Q.attributes||[],Cn=0;Cn<kn.length;Cn++)Bn+=" "+kn[Cn].name+"="+jn(Pt(kn[Cn].value),"double",_t);return Bn+=">",Q.childNodes&&Q.childNodes.length&&(Bn+="..."),Bn+"</"+st.call(String(Q.nodeName))+">"}if(Lt(Q)){if(0===Q.length)return"[]";var Un=be(Q,yn);return hn&&!function(Hn){for(var Ii=0;Ii<Hn.length;Ii++)if(it(Hn[Ii],"\n")>=0)return!1;return!0}(Un)?"["+Me(Un,hn)+"]":"[ "+pe.call(Un,", ")+" ]"}if(function(Hn){return!("[object Error]"!==Dt(Hn)||zt&&"object"==typeof Hn&&zt in Hn)}(Q)){var Oi=be(Q,yn);return"cause"in Error.prototype||!("cause"in Q)||wt.call(Q,"cause")?0===Oi.length?"["+String(Q)+"]":"{ ["+String(Q)+"] "+pe.call(Oi,", ")+" }":"{ ["+String(Q)+"] "+pe.call(V.call("[cause]: "+yn(Q.cause),Oi),", ")+" }"}if("object"==typeof Q&&Ct){if(rn&&"function"==typeof Q[rn]&&Ee)return Ee(Q,{depth:qt-ye});if("symbol"!==Ct&&"function"==typeof Q.inspect)return Q.inspect()}if(function(Hn){if(!It||!Hn||"object"!=typeof Hn)return!1;try{It.call(Hn);try{Zt.call(Hn)}catch{return!0}return Hn instanceof Map}catch{}return!1}(Q)){var Si=[];return un&&un.call(Q,function(Hn,Ii){Si.push(yn(Ii,Q,!0)+" => "+yn(Hn,Q))}),T("Map",It.call(Q),Si,hn)}if(function(Hn){if(!Zt||!Hn||"object"!=typeof Hn)return!1;try{Zt.call(Hn);try{It.call(Hn)}catch{return!0}return Hn instanceof Set}catch{}return!1}(Q)){var mn=[];return ct&&ct.call(Q,function(Hn){mn.push(yn(Hn,Q))}),T("Set",Zt.call(Q),mn,hn)}if(function(Hn){if(!rt||!Hn||"object"!=typeof Hn)return!1;try{rt.call(Hn,rt);try{Ae.call(Hn,Ae)}catch{return!0}return Hn instanceof WeakMap}catch{}return!1}(Q))return O("WeakMap");if(function(Hn){if(!Ae||!Hn||"object"!=typeof Hn)return!1;try{Ae.call(Hn,Ae);try{rt.call(Hn,rt)}catch{return!0}return Hn instanceof WeakSet}catch{}return!1}(Q))return O("WeakSet");if(function(Hn){if(!Ke||!Hn||"object"!=typeof Hn)return!1;try{return Ke.call(Hn),!0}catch{}return!1}(Q))return O("WeakRef");if(function(Hn){return!("[object Number]"!==Dt(Hn)||zt&&"object"==typeof Hn&&zt in Hn)}(Q))return d(yn(Number(Q)));if(function(Hn){if(!Hn||"object"!=typeof Hn||!At)return!1;try{return At.call(Hn),!0}catch{}return!1}(Q))return d(yn(At.call(Q)));if(function(Hn){return!("[object Boolean]"!==Dt(Hn)||zt&&"object"==typeof Hn&&zt in Hn)}(Q))return d(vt.call(Q));if(function(Hn){return!("[object String]"!==Dt(Hn)||zt&&"object"==typeof Hn&&zt in Hn)}(Q))return d(yn(String(Q)));if(!function(Hn){return!("[object Date]"!==Dt(Hn)||zt&&"object"==typeof Hn&&zt in Hn)}(Q)&&!Jt(Q)){var _n=be(Q,yn),Sn=Qe?Qe(Q)===Object.prototype:Q instanceof Object||Q.constructor===Object,Wn=Q instanceof Object?"":"null prototype",si=!Sn&&zt&&Object(Q)===Q&&zt in Q?Ze.call(Dt(Q),8,-1):Wn?"Object":"",vi=(Sn||"function"!=typeof Q.constructor?"":Q.constructor.name?Q.constructor.name+" ":"")+(si||Wn?"["+pe.call(V.call([],si||[],Wn||[]),": ")+"] ":"");return 0===_n.length?vi+"{}":hn?vi+"{"+Me(_n,hn)+"}":vi+"{ "+pe.call(_n,", ")+" }"}return String(Q)};function jn(F,Q,he){var ye="double"===(he.quoteStyle||Q)?'"':"'";return ye+F+ye}function Pt(F){return X.call(String(F),/"/g,"&quot;")}function Lt(F){return!("[object Array]"!==Dt(F)||zt&&"object"==typeof F&&zt in F)}function Jt(F){return!("[object RegExp]"!==Dt(F)||zt&&"object"==typeof F&&zt in F)}function pn(F){if(Ut)return F&&"object"==typeof F&&F instanceof Symbol;if("symbol"==typeof F)return!0;
1if(!F||"object"!=typeof F||!Bt)return!1;try{return Bt.call(F),!0}catch{}return!1}var Dn=Object.prototype.hasOwnProperty||function(F){return F in this};function zn(F,Q){return Dn.call(F,Q)}function Dt(F){return Wt.call(F)}function it(F,Q){if(F.indexOf)return F.indexOf(Q);for(var he=0,ye=F.length;he<ye;he++)if(F[he]===Q)return he;return-1}function Ht(F){var Q=F.charCodeAt(0),he={8:"b",9:"t",10:"n",12:"f",13:"r"}[Q];return he?"\\"+he:"\\x"+(Q<16?"0":"")+Ve.call(Q.toString(16))}function d(F){return"Object("+F+")"}function O(F){return F+" { ? }"}function T(F,Q,he,ye){return F+" ("+Q+") {"+(ye?Me(he,ye):pe.call(he,", "))+"}"}function Me(F,Q){if(0===F.length)return"";var he="\n"+Q.prev+Q.base;return he+pe.call(F,","+he)+"\n"+Q.prev}function be(F,Q){var he=Lt(F),ye=[];if(he){ye.length=F.length;for(var Ye=0;Ye<F.length;Ye++)ye[Ye]=zn(F,Ye)?Q(F[Ye],F):""}var _t,Ct="function"==typeof sn?sn(F):[];if(Ut){_t={};for(var Mt=0;Mt<Ct.length;Mt++)_t["$"+Ct[Mt]]=Ct[Mt]}for(var Kt in F)zn(F,Kt)&&(he&&String(Number(Kt))===Kt&&Kt<F.length||Ut&&_t["$"+Kt]instanceof Symbol||(at.call(/[^\w$]/,Kt)?ye.push(Q(Kt,F)+": "+Q(F[Kt],F)):ye.push(Kt+": "+Q(F[Kt],F))));if("function"==typeof sn)for(var tn=0;tn<Ct.length;tn++)wt.call(F,Ct[tn])&&ye.push("["+Q(Ct[tn])+"]: "+Q(F[Ct[tn]],F));return ye}var h=dt("%TypeError%"),w=dt("%WeakMap%",!0),Oe=dt("%Map%",!0),en=we("WeakMap.prototype.get",!0),Kn=we("WeakMap.prototype.set",!0),xi=we("WeakMap.prototype.has",!0),Tt=we("Map.prototype.get",!0),Qt=we("Map.prototype.set",!0),kt=we("Map.prototype.has",!0),xn=function(F,Q){for(var he,ye=F;null!==(he=ye.next);ye=he)if(he.key===Q)return ye.next=he.next,he.next=F.next,F.next=he,he},Rn=function(){var F,Q,he,ye={assert:function(Ye){if(!ye.has(Ye))throw new h("Side channel does not contain "+wn(Ye))},get:function(Ye){if(w&&Ye&&("object"==typeof Ye||"function"==typeof Ye)){if(F)return en(F,Ye)}else if(Oe){if(Q)return Tt(Q,Ye)}else if(he)return(Mt=xn(he,Ye))&&Mt.value;var Mt},has:function(Ye){if(w&&Ye&&("object"==typeof Ye||"function"==typeof Ye)){if(F)return xi(F,Ye)}else if(Oe){if(Q)return kt(Q,Ye)}else if(he)return!!xn(he,Ye);return!1},set:function(Ye,_t){var Ct,Mt,Kt,tn;w&&Ye&&("object"==typeof Ye||"function"==typeof Ye)?(F||(F=new w),Kn(F,Ye,_t)):Oe?(Q||(Q=new Oe),Qt(Q,Ye,_t)):(he||(he={key:{},next:null}
vendor: 6,592 bytes, line 1
1),Kt=_t,(tn=xn(Ct=he,Mt=Ye))?tn.value=Kt:Ct.next={key:Mt,next:Ct.next,value:Kt})}};return ye},Tn=String.prototype.replace,Qn=/%20/g,fi="RFC3986",ni={default:fi,formatters:{RFC1738:function(F){return Tn.call(F,Qn,"+")},RFC3986:function(F){return String(F)}},RFC1738:"RFC1738",RFC3986:fi},oi=Object.prototype.hasOwnProperty,Ai=Array.isArray,Ti=function(){for(var F=[],Q=0;Q<256;++Q)F.push("%"+((Q<16?"0":"")+Q.toString(16)).toUpperCase());return F}(),Pi=function(F,Q){for(var he=Q&&Q.plainObjects?Object.create(null):{},ye=0;ye<F.length;++ye)void 0!==F[ye]&&(he[ye]=F[ye]);return he},Gi={arrayToObject:Pi,assign:function(F,Q){return Object.keys(Q).reduce(function(he,ye){return he[ye]=Q[ye],he},F)},combine:function(F,Q){return[].concat(F,Q)},compact:function(F){for(var Q=[{obj:{o:F},prop:"o"}],he=[],ye=0;ye<Q.length;++ye)for(var Ye=Q[ye],_t=Ye.obj[Ye.prop],Ct=Object.keys(_t),Mt=0;Mt<Ct.length;++Mt){var Kt=Ct[Mt],tn=_t[Kt];"object"==typeof tn&&null!==tn&&-1===he.indexOf(tn)&&(Q.push({obj:_t,prop:Kt}),he.push(tn))}return function(qt){for(;qt.length>1;){var hn=qt.pop(),yn=hn.obj[hn.prop];if(Ai(yn)){for(var In=[],En=0;En<yn.length;++En)void 0!==yn[En]&&In.push(yn[En]);hn.obj[hn.prop]=In}}}(Q),F},decode:function(F,Q,he){var ye=F.replace(/\+/g," ");if("iso-8859-1"===he)return ye.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(ye)}catch{return ye}},encode:function(F,Q,he,ye,Ye){if(0===F.length)return F;var _t=F;if("symbol"==typeof F?_t=Symbol.prototype.toString.call(F):"string"!=typeof F&&(_t=String(F)),"iso-8859-1"===he)return escape(_t).replace(/%u[0-9a-f]{4}/gi,function(tn){return"%26%23"+parseInt(tn.slice(2),16)+"%3B"});for(var Ct="",Mt=0;Mt<_t.length;++Mt){var Kt=_t.charCodeAt(Mt);45===Kt||46===Kt||95===Kt||126===Kt||Kt>=48&&Kt<=57||Kt>=65&&Kt<=90||Kt>=97&&Kt<=122||Ye===ni.RFC1738&&(40===Kt||41===Kt)?Ct+=_t.charAt(Mt):Kt<128?Ct+=Ti[Kt]:Kt<2048?Ct+=Ti[192|Kt>>6]+Ti[128|63&Kt]:Kt<55296||Kt>=57344?Ct+=Ti[224|Kt>>12]+Ti[128|Kt>>6&63]+Ti[128|63&Kt]:(Kt=65536+((1023&Kt)<<10|1023&_t.charCodeAt(Mt+=1)),Ct+=Ti[240|Kt>>18]+Ti[128|Kt>>12&63]+Ti[128|Kt>>6&63]+Ti[128|63&Kt])}return Ct},isBuffer:function(F){return!(!F||"object"!=typeof F||!(F.constructor&&F.constructor.isBuffer&&F.constructor.isBuffer(F)))},isRegExp:function(F){return"[object RegExp]"===Object.prototype.toString.call(F)},maybeMap:function(F,Q){if(Ai(F)){for(var he=[],ye=0;ye<F.length;ye+=1)he.push(Q(F[ye]));return he}return Q(F)},merge:function F(Q,he,ye){if(!he)return Q;if("object"!=typeof he){if(Ai(Q))Q.push(he);else{if(!Q||"object"!=typeof Q)return[Q,he];(ye&&(ye.plainObjects||ye.allowPrototypes)||!oi.call(Object.prototype,he))&&(Q[he]=!0)}return Q}if(!Q||"object"!=typeof Q)return[Q].concat(he);var Ye=Q;return Ai(Q)&&!Ai(he)&&(Ye=Pi(Q,ye)),Ai(Q)&&Ai(he)?(he.forEach(function(_t,Ct){if(oi.call(Q,Ct)){var Mt=Q[Ct];Mt&&"object"==typeof Mt&&_t&&"object"==typeof _t?Q[Ct]=F(Mt,_t,ye):Q.push(_t)}else Q[Ct]=_t}),Q):Object.keys(he).reduce(function(_t,Ct){var Mt=he[Ct];return _t[Ct]=oi.call(_t,Ct)?F(_t[Ct],Mt,ye):Mt,_t},Ye)}},nr=Object.prototype.hasOwnProperty,Zn={brackets:function(F){return F+"[]"},comma:"comma",indices:function(F,Q){return F+"["+Q+"]"},repeat:function(F){return F}},Mi=Array.isArray,lr=Array.prototype.push,oo=function(F,Q){lr.apply(F,Mi(Q)?Q:[Q])},ji=Date.prototype.toISOString,uo=ni.default,Qi={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Gi.encode,encodeValuesOnly:!1,format:uo,formatter:ni.formatters[uo],indices:!1,serializeDate:function(F){return ji.call(F)},skipNulls:!1,strictNullHandling:!1},vr={},so=function F(Q,he,ye,Ye,_t,Ct,Mt,Kt,tn,qt,hn,yn,In,En,Pn,Bn){for(var kn=Q,Cn=Bn,Un=0,Oi=!1;void 0!==(Cn=Cn.get(vr))&&!Oi;){var Si=Cn.get(Q);if(Un+=1,void 0!==Si){if(Si===Un)throw new RangeError("Cyclic object value");Oi=!0}void 0===Cn.get(vr)&&(Un=0)}if("function"==typeof Kt?kn=Kt(he,kn):kn instanceof Date?kn=hn(kn):"comma"===ye&&Mi(kn)&&(kn=Gi.maybeMap(kn,function(mr){return mr instanceof Date?hn(mr):mr})),null===kn){if(_t)return Mt&&!En?Mt(he,Qi.encoder,Pn,"key",yn):he;kn=""}if(function(mr){return"string"==typeof mr||"number"==typeof mr||"boolean"==typeof mr||"symbol"==typeof mr||"bigint"==typeof mr}(kn)||Gi.isBuffer(kn))return Mt?[In(En?he:Mt(he,Qi.encoder,Pn,"key",yn))+"="+In(Mt(kn,Qi.encoder,Pn,"value",yn))]:[In(he)+"="+In(String(kn))];var mn,_n=[];if(void 0===kn)return _n;if("comma"===ye&&Mi(kn))En&&Mt&&(kn=Gi.maybeMap(kn,Mt)),mn=[{value:kn.length>0?kn.join(",")||null:void 0}];else if(Mi(Kt))mn=Kt;else{var Sn=Object.keys(kn);mn=tn?Sn.sort(tn):Sn}for(var Wn=Ye&&Mi(kn)&&1===kn.length?he+"[]":he,si=0;si<mn.length;++si){var vi=mn[si],Hn="object"==typeof vi&&void 0!==vi.value?vi.value:kn[vi];if(!Ct||null!==Hn){var Ii=Mi(kn)?"function"==typeof ye?ye(Wn,vi):Wn:Wn+(qt?"."+vi:"["+vi+"]");Bn.set(Q,Un);var di=Rn();di.set(vr,Bn),oo(_n,F(Hn,Ii,ye,Ye,_t,Ct,"comma"===ye&&En&&Mi(kn)?null:Mt,Kt,tn,qt,hn,yn,In,En,Pn,di))}}return _n},bi=Object.prototype.hasOwnProperty,Li=Array.isArray,br={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Gi.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},no=function(F){return F.replace(/&#(\d+);/g,function(Q,he){return String.fromCharCode(parseInt(he,10))})},Ao=function(F,Q){return F&&"string"==typeof F&&Q.comma&&F.indexOf(",")>-1?F.split(","):F},ls=function(F,Q,he,ye){if(F){var Ye=he.allowDots?F.replace(/\.([^.[]+)/g,"[$1]"):F,_t=/(\[[^[\]]*])/g,Ct=he.depth>0&&/(\[[^[\]]*])/.exec(Ye),Mt=Ct?Ye.slice(0,Ct.index):Ye,Kt=[];if(Mt){if(!he.plainObjects&&bi.call(Object.prototype,Mt)&&!he.allowPrototypes)return;Kt.push(Mt)}for(var tn=0;he.depth>0&&null!==(Ct=_t.exec(Ye))&&tn<he.depth;){if(tn+=1,!he.plainObjects&&bi.call(Object.prototype,Ct[1].slice(1,-1))&&!he.allowPrototypes)return;Kt.push(Ct[1])}return Ct&&Kt.push("["+Ye.slice(Ct.index)+"]"),function(qt,hn,yn,In){for(var En=In?hn:Ao(hn,yn),Pn=qt.length-1;Pn>=0;--Pn){var Bn,kn=qt[Pn];if("[]"===kn&&yn.parseArrays)Bn=[].concat(En);else{Bn=yn.plainObjects?Object.create(null):{};var Cn="["===kn.charAt(0)&&"]"===kn.charAt(kn.length-1)?kn.slice(1,-1):kn,Un=parseInt(Cn,10);yn.parseArrays||""!==Cn?!isNaN(Un)&&kn!==Cn&&String(Un)===Cn&&Un>=0&&yn.parseArrays&&Un<=yn.arrayLimit?(Bn=[])[Un]=En:"__proto__"!==Cn&&(Bn[Cn]=En):Bn={0:En}}En=Bn}return En}(Kt,Q,he,ye)}},Tr={formats:ni,parse:function(F,Q){var he=function(tn){if(!tn)return br;if(null!=tn.decoder&&"function"!=typeof tn.decoder)throw new TypeError("Decoder has to be a function.");
vendor: 1,776 bytes, line 1
1if(void 0!==tn.charset&&"utf-8"!==tn.charset&&"iso-8859-1"!==tn.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:void 0===tn.allowDots?br.allowDots:!!tn.allowDots,allowPrototypes:"boolean"==typeof tn.allowPrototypes?tn.allowPrototypes:br.allowPrototypes,allowSparse:"boolean"==typeof tn.allowSparse?tn.allowSparse:br.allowSparse,arrayLimit:"number"==typeof tn.arrayLimit?tn.arrayLimit:br.arrayLimit,charset:void 0===tn.charset?br.charset:tn.charset,charsetSentinel:"boolean"==typeof tn.charsetSentinel?tn.charsetSentinel:br.charsetSentinel,comma:"boolean"==typeof tn.comma?tn.comma:br.comma,decoder:"function"==typeof tn.decoder?tn.decoder:br.decoder,delimiter:"string"==typeof tn.delimiter||Gi.isRegExp(tn.delimiter)?tn.delimiter:br.delimiter,depth:"number"==typeof tn.depth||!1===tn.depth?+tn.depth:br.depth,ignoreQueryPrefix:!0===tn.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof tn.interpretNumericEntities?tn.interpretNumericEntities:br.interpretNumericEntities,parameterLimit:"number"==typeof tn.parameterLimit?tn.parameterLimit:br.parameterLimit,parseArrays:!1!==tn.parseArrays,plainObjects:"boolean"==typeof tn.plainObjects?tn.plainObjects:br.plainObjects,strictNullHandling:"boolean"==typeof tn.strictNullHandling?tn.strictNullHandling:br.strictNullHandling}}(Q);if(""===F||null==F)return he.plainObjects?Object.create(null):{};for(var ye="string"==typeof F?function(tn,qt){var hn,yn={__proto__:null},Pn=(qt.ignoreQueryPrefix?tn.replace(/^\?/,""):tn).split(qt.delimiter,qt.parameterLimit===1/0?void 0:qt.parameterLimit),Bn=-1,kn=qt.charset;if(qt.charsetSentinel)for(hn=0;hn<Pn.length;++hn)0===Pn[hn].indexOf("utf8=")&&("utf8=%E2%9C%93"===Pn[hn]?kn="utf-8":"utf8=%26%2310003%3B"===Pn[hn]&&
1(kn="iso-8859-1"),Bn=hn,hn=Pn.length);for(hn=0;hn<Pn.length;++hn)if(hn!==Bn){var Cn,Un,Oi=Pn[hn],Si=Oi.indexOf("]="),mn=-1===Si?Oi.indexOf("="):Si+1;-1===mn?(Cn=qt.decoder(Oi,br.decoder,kn,"key"),Un=qt.strictNullHandling?null:""):(Cn=qt.decoder(Oi.slice(0,mn),br.decoder,kn,"key"),Un=Gi.maybeMap(Ao(Oi.slice(mn+1),qt),function(_n){return qt.decoder(_n,br.decoder,kn,"value")})),Un&&qt.interpretNumericEntities&&"iso-8859-1"===kn&&(Un=no(Un)),Oi.indexOf("[]=")>-1&&(Un=Li(Un)?[Un]:Un),yn[Cn]=bi.call(yn,Cn)?Gi.combine(yn[Cn],Un):Un}return yn}(F,he):F,Ye=he.plainObjects?Object.create(null):{},_t=Object.keys(ye),Ct=0;Ct<_t.length;++Ct){var Mt=_t[Ct],Kt=ls(Mt,ye[Mt],he,"string"==typeof F);Ye=Gi.merge(Ye,Kt,he)}return!0===he.allowSparse?Ye:Gi.compact(Ye)},stringify:function(F,Q){var he,ye=F,Ye=function(En){if(!En)return Qi;if(null!=En.encoder&&"function"!=typeof En.encoder)throw new TypeError("Encoder has to be a function.");var Pn=En.charset||Qi.charset;if(void 0!==En.charset&&"utf-8"!==En.charset&&"iso-8859-1"!==En.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var Bn=ni.default;if(void 0!==En.format){if(!nr.call(ni.formatters,En.format))throw new TypeError("Unknown format option provided.");Bn=En.format}var kn=ni.formatters[Bn],Cn=Qi.filter;return("function"==typeof En.filter||Mi(En.filter))&&(Cn=En.filter),{addQueryPrefix:"boolean"==typeof En.addQueryPrefix?En.addQueryPrefix:Qi.addQueryPrefix,allowDots:void 0===En.allowDots?Qi.allowDots:!!En.allowDots,charset:Pn,charsetSentinel:"boolean"==typeof En.charsetSentinel?En.charsetSentinel:Qi.charsetSentinel,delimiter:void 0===En.delimiter?Qi.delimiter:En.delimiter,encode:"boolean"==typeof En.encode?En.encode:Qi.encode,encoder:"function"==typeof En.encoder?En.encoder:Qi.encoder,encodeValuesOnly:"boolean"==typeof En.encodeValuesOnly?En.encodeValuesOnly:Qi.encodeValuesOnly,filter:Cn,format:Bn,formatter:kn,serializeDate:"function"==typeof En.serializeDate?En.serializeDate:Qi.serializeDate,skipNulls:"boolean"==typeof En.skipNulls?En.skipNulls:Qi.skipNulls,sort:"function"==typeof En.sort?En.sort:null,strictNullHandling:"boolean"==typeof En.strictNullHandling?En.strictNullHandling:Qi.strictNullHandling}}(Q);"function"==typeof Ye.filter?ye=(0,Ye.filter)("",ye):Mi(Ye.filter)&&(he=Ye.filter);var Ct=[];if("object"!=typeof ye||null===ye)return"";var Mt=Zn[Q&&Q.arrayFormat in Zn?Q.arrayFormat:Q&&"indices"in Q?Q.indices?"indices":"repeat":"indices"];if(Q&&"commaRoundTrip"in Q&&"boolean"!=typeof Q.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var Kt="comma"===Mt&&Q&&Q.commaRoundTrip;he||(he=Object.keys(ye)),Ye.sort&&he.sort(Ye.sort);for(var tn=Rn(),qt=0;qt<he.length;++qt){var hn=he[qt];Ye.skipNulls&&null===ye[hn]||oo(Ct,so(ye[hn],hn,Mt,Kt,Ye.strictNullHandling,Ye.skipNulls,Ye.encode?Ye.encoder:null,Ye.filter,Ye.sort,Ye.allowDots,Ye.serializeDate,Ye.format,Ye.formatter,Ye.encodeValuesOnly,Ye.charset,tn))}var yn=Ct.join(Ye.delimiter),In=!0===Ye.addQueryPrefix?"?":"";return Ye.charsetSentinel&&(In+="iso-8859-1"===Ye.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),yn.length>0?In+yn:""}},Ur=p(function(F){function Q(he){if(he)return function(ye){for(var Ye in Q.prototype)ye[Ye]=Q.prototype[Ye];return ye}(he)}F.exports=Q,Q.prototype.on=Q.prototype.addEventListener=function(he,ye){return this._callbacks=this._callbacks||{},(this._callbacks["$"+he]=this._callbacks["$"+he]||[]).push(ye),this},Q.prototype.once=function(he,ye){function Ye(){this.off(he,Ye),ye.apply(this,arguments)}return Ye.fn=ye,this.on(he,Ye),this},Q.prototype.off=Q.prototype.removeListener=Q.prototype.removeAllListeners=Q.prototype.removeEventListener=function(he,ye){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var Ye,_t=this._callbacks["$"+he];if(!_t)return this;if(1==arguments.length)return delete this._callbacks["$"+he],this;for(var Ct=0;Ct<_t.length;Ct++)if((Ye=_t[Ct])===ye||Ye.fn===ye){_t.splice(Ct,1);break}return 0===_t.length&&delete this._callbacks["$"+he],this},Q.prototype.emit=function(he){this._callbacks=this._callbacks||{};for(var ye=new Array(arguments.length-1),Ye=this._callbacks["$"+he],_t=1;_t<arguments.length;_t++)ye[_t-1]=arguments[_t];if(Ye){_t=0;for(var Ct=(Ye=Ye.slice(0)).length;_t<Ct;++_t)Ye[_t].apply(this,ye)}return this},Q.prototype.listeners=function(he){return this._callbacks=this._callbacks||{},this._callbacks["$"+he]||[]},Q.prototype.hasListeners=function(he){return!!this.listeners(he).length}}),Bi=ho;ho.default=ho,ho.stable=Cr,ho.stableStringify=Cr;var Jr=[],Rr=[];function gr(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function ho(F,Q,he,ye){var Ye;void 0===ye&&(ye=gr()),function Ct(Mt,Kt,tn,qt,hn,yn,In){var En;if(yn+=1,"object"==typeof Mt&&null!==Mt){for(En=0;En<qt.length;En++)if(qt[En]===Mt)return void Hr("[Circular]",Mt,Kt,hn);if(void 0!==In.depthLimit&&yn>In.depthLimit||void 0!==In.edgesLimit&&tn+1>In.edgesLimit)return void Hr("[...]",Mt,Kt,hn);if(qt.push(Mt),Array.isArray(Mt))for(En=0;En<Mt.length;En++)Ct(Mt[En],En,En,qt,Mt,yn,In);else{var Pn=Object.keys(Mt);for(En=0;En<Pn.length;En++){var Bn=Pn[En];Ct(Mt[Bn],Bn,En,qt,Mt,yn,In)}}qt.pop()}}(F,"",0,[],void 0,0,ye);try{Ye=0===Rr.length?JSON.stringify(F,Q,he):JSON.stringify(F,Bo(Q),he)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==Jr.length;){var _t=Jr.pop();4===_t.length?Object.defineProperty(_t[0],_t[1],_t[3]):_t[0][_t[1]]=_t[2]}}return Ye}function Hr(F,Q,he,ye){var Ye=Object.getOwnPropertyDescriptor(ye,he);void 0!==Ye.get?Ye.configurable?(Object.defineProperty(ye,he,{value:F}),Jr.push([ye,he,Q,Ye])):Rr.push([Q,he,F]):(ye[he]=F,Jr.push([ye,he,Q]))}function ao(F,Q){return F<Q?-1:F>Q?1:0}function Cr(F,Q,he,ye){void 0===ye&&(ye=gr());var Ye,_t=function Mt(Kt,tn,qt,hn,yn,In,En){var Pn;if(In+=1,"object"==typeof Kt&&null!==Kt){for(Pn=0;Pn<hn.length;Pn++)if(hn[Pn]===Kt)return void Hr("[Circular]",Kt,tn,yn);try{if("function"==typeof Kt.toJSON)return}catch{return}if(void 0!==En.depthLimit&&In>En.depthLimit||void 0!==En.edgesLimit&&qt+1>En.edgesLimit)return void Hr("[...]",Kt,tn,yn);if(hn.push(Kt),Array.isArray(Kt))for(Pn=0;Pn<Kt.length;Pn++)Mt(Kt[Pn],Pn,Pn,hn,Kt,In,En);else{var Bn={},kn=Object.keys(Kt).sort(ao);for(Pn=0;Pn<kn.length;Pn++){var Cn=kn[Pn];Mt(Kt[Cn],Cn,Pn,hn,Kt,In,En),Bn[Cn]=Kt[Cn]}if(void 0===yn)return Bn;Jr.push([yn,tn,Kt]),yn[tn]=Bn}hn.pop()}}(F,"",0,[],void 0,0,ye)||F;try{Ye=0===Rr.length?JSON.stringify(_t,Q,he):JSON.stringify(_t,Bo(Q),he)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==Jr.length;
1){var Ct=Jr.pop();4===Ct.length?Object.defineProperty(Ct[0],Ct[1],Ct[3]):Ct[0][Ct[1]]=Ct[2]}}return Ye}function Bo(F){return F=void 0!==F?F:function(Q,he){return he},function(Q,he){if(Rr.length>0)for(var ye=0;ye<Rr.length;ye++){var Ye=Rr[ye];if(Ye[1]===Q&&Ye[0]===he){he=Ye[2],Rr.splice(ye,1);break}}return F.call(this,Q,he)}}var ur=p(function(F,Q){function he(_t){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ct){return typeof Ct}:function(Ct){return Ct&&"function"==typeof Symbol&&Ct.constructor===Symbol&&Ct!==Symbol.prototype?"symbol":typeof Ct})(_t)}function ye(_t,Ct){var Mt=typeof Symbol<"u"&&_t[Symbol.iterator]||_t["@@iterator"];if(!Mt){if(Array.isArray(_t)||(Mt=function(In,En){if(In){if("string"==typeof In)return Ye(In,void 0);var Pn=Object.prototype.toString.call(In).slice(8,-1);if("Object"===Pn&&In.constructor&&(Pn=In.constructor.name),"Map"===Pn||"Set"===Pn)return Array.from(In);if("Arguments"===Pn||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Pn))return Ye(In,void 0)}}(_t))||Ct&&_t&&"number"==typeof _t.length){Mt&&(_t=Mt);var Kt=0,tn=function(){};return{s:tn,n:function(){return Kt>=_t.length?{done:!0}:{done:!1,value:_t[Kt++]}},e:function(In){throw In},f:tn}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var qt,hn=!0,yn=!1;return{s:function(){Mt=Mt.call(_t)},n:function(){var In=Mt.next();return hn=In.done,In},e:function(In){yn=!0,qt=In},f:function(){try{hn||null==Mt.return||Mt.return()}finally{if(yn)throw qt}}}}function Ye(_t,Ct){(null==Ct||Ct>_t.length)&&(Ct=_t.length);for(var Mt=0,Kt=new Array(Ct);Mt<Ct;Mt++)Kt[Mt]=_t[Mt];return Kt}Q.type=function(_t){return _t.split(/ *; */).shift()},Q.params=function(_t){var Ct,Mt={},Kt=ye(_t.split(/ *; */));try{for(Kt.s();!(Ct=Kt.n()).done;){var tn=Ct.value.split(/ *= */),qt=tn.shift(),hn=tn.shift();qt&&hn&&(Mt[qt]=hn)}}catch(yn){Kt.e(yn)}finally{Kt.f()}return Mt},Q.parseLinks=function(_t){var Ct,Mt={},Kt=ye(_t.split(/ *, */));try{for(Kt.s();!(Ct=Kt.n()).done;){var tn=Ct.value.split(/ *; */),qt=tn[0].slice(1,-1);Mt[tn[1].split(/ *= */)[1].slice(1,-1)]=qt}}catch(hn){Kt.e(hn)}finally{Kt.f()}return Mt},Q.cleanHeader=function(_t,Ct){return delete _t["content-type"],delete _t["content-length"],delete _t["transfer-encoding"],delete _t.host,Ct&&(delete _t.authorization,delete _t.cookie),_t},Q.isObject=function(_t){return null!==_t&&"object"===he(_t)},Q.hasOwn=Object.hasOwn||function(_t,Ct){if(null==_t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(_t),Ct)},Q.mixin=function(_t,Ct){for(var Mt in Ct)Q.hasOwn(Ct,Mt)&&(_t[Mt]=Ct[Mt])}});function Uo(F){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Q){return typeof Q}:function(Q){return Q&&"function"==typeof Symbol&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q})(F)}var Xr=ur.isObject,Zr=ur.hasOwn,yr=Ri;function Ri(){}Ri.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},Ri.prototype.parse=function(F){return this._parser=F,this},Ri.prototype.responseType=function(F){return this._responseType=F,this},Ri.prototype.serialize=function(F){return this._serializer=F,this},Ri.prototype.timeout=function(F){if(!F||"object"!==Uo(F))return this._timeout=F,this._responseTimeout=0,this._uploadTimeout=0,this;for(var Q in F)if(Zr(F,Q))switch(Q){case"deadline":this._timeout=F.deadline;break;case"response":this._responseTimeout=F.response;break;case"upload":this._uploadTimeout=F.upload;break;default:console.warn("Unknown timeout option",Q)}return this},Ri.prototype.retry=function(F,Q){return 0!==arguments.length&&!0!==F||(F=1),F<=0&&(F=0),this._maxRetries=F,this._retries=0,this._retryCallback=Q,this};var is=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),Ue=new Set([408,413,429,500,502,503,504,521,522,524]);Ri.prototype._shouldRetry=function(F,Q){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var he=this._retryCallback(F,Q);if(!0===he)return!0;
1if(!1===he)return!1}catch(ye){console.error(ye)}return!!(Q&&Q.status&&Ue.has(Q.status)||F&&(F.code&&is.has(F.code)||F.timeout&&"ECONNABORTED"===F.code||F.crossDomain))},Ri.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},Ri.prototype.then=function(F,Q){var he=this;if(!this._fullfilledPromise){var ye=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(Ye,_t){ye.on("abort",function(){if(!(he._maxRetries&&he._maxRetries>he._retries))if(he.timedout&&he.timedoutError)_t(he.timedoutError);else{var Ct=new Error("Aborted");Ct.code="ABORTED",Ct.status=he.status,Ct.method=he.method,Ct.url=he.url,_t(Ct)}}),ye.end(function(Ct,Mt){Ct?_t(Ct):Ye(Mt)})})}return this._fullfilledPromise.then(F,Q)},Ri.prototype.catch=function(F){return this.then(void 0,F)},Ri.prototype.use=function(F){return F(this),this},Ri.prototype.ok=function(F){if("function"!=typeof F)throw new Error("Callback required");return this._okCallback=F,this},Ri.prototype._isResponseOK=function(F){return!!F&&(this._okCallback?this._okCallback(F):F.status>=200&&F.status<300)},Ri.prototype.get=function(F){return this._header[F.toLowerCase()]},Ri.prototype.getHeader=Ri.prototype.get,Ri.prototype.set=function(F,Q){if(Xr(F)){for(var he in F)Zr(F,he)&&this.set(he,F[he]);return this}return this._header[F.toLowerCase()]=Q,this.header[F]=Q,this},Ri.prototype.unset=function(F){return delete this._header[F.toLowerCase()],delete this.header[F],this},Ri.prototype.field=function(F,Q,he){if(null==F)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(Xr(F)){for(var ye in F)Zr(F,ye)&&this.field(ye,F[ye]);return this}if(Array.isArray(Q)){for(var Ye in Q)Zr(Q,Ye)&&this.field(F,Q[Ye]);return this}if(null==Q)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof Q&&(Q=String(Q)),he?this._getFormData().append(F,Q,he):this._getFormData().append(F,Q),this},Ri.prototype.abort=function(){if(this._aborted)return this;if(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req){if(Ee.gte(process.version,"v13.0.0")&&Ee.lt(process.version,"v14.0.0"))throw new Error("Superagent does not work in v13 properly with abort() due to Node.js core changes");Ee.gte(process.version,"v14.0.0")&&(this.req.destroyed=!0),this.req.abort()}return this.clearTimeout(),this.emit("abort"),this},Ri.prototype._auth=function(F,Q,he,ye){switch(he.type){case"basic":this.set("Authorization","Basic ".concat(ye("".concat(F,":").concat(Q))));break;case"auto":this.username=F,this.password=Q;break;case"bearer":this.set("Authorization","Bearer ".concat(F))}return this},Ri.prototype.withCredentials=function(F){return void 0===F&&(F=!0),this._withCredentials=F,this},Ri.prototype.redirects=function(F){return this._maxRedirects=F,this},Ri.prototype.maxResponseSize=function(F){if("number"!=typeof F)throw new TypeError("Invalid argument");return this._maxResponseSize=F,this},Ri.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},Ri.prototype.send=function(F){var Q=Xr(F),he=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(Q&&!this._data)Array.isArray(F)?this._data=[]:this._isHost(F)||(this._data={});else if(F&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(Q&&Xr(this._data))for(var ye in F)Zr(F,ye)&&(this._data[ye]=F[ye]);else"string"==typeof F?(he||this.type("form"),(he=this._header["content-type"])&&(he=he.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===he?this._data?"".concat(this._data,"&").concat(F):F:(this._data||"")+F):this._data=F;return!Q||this._isHost(F)||he||this.type("json"),this},Ri.prototype.sortQuery=function(F){return this._sort=void 0===F||F,this},Ri.prototype._finalizeQueryString=function(){var F=this._query.join("&");if(F&&(this.url+=(this.url.includes("?")?"&":"?")+F),this._query.length=0,this._sort){var Q=this.url.indexOf("?");if(Q>=0){var he=this.url.slice(Q+1).split("&");"function"==typeof this._sort?he.sort(this._sort):he.sort(),this.url=this.url.slice(0,Q)+"?"+he.join("&")}}},Ri.prototype._appendQueryString=function(){console.warn("Unsupported")},Ri.prototype._timeoutError=function(F,Q,he){if(!this._aborted){var ye=new Error("".concat(F+Q,"ms exceeded"));ye.timeout=Q,ye.code="ECONNABORTED",ye.errno=he,this.timedout=!0,this.timedoutError=ye,this.abort(),this.callback(ye)}},Ri.prototype._setTimeouts=function(){var F=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){F._timeoutError("Timeout of ",F._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){F._timeoutError("Response timeout of ",F._responseTimeout,"ETIMEDOUT")},this._responseTimeout))};var ht=bt;function bt(){}function Xt(F){return function(Q){if(Array.isArray(Q))return an(Q)}(F)||function(Q){if(typeof Symbol<"u"&&null!=Q[Symbol.iterator]||null!=Q["@@iterator"])return Array.from(Q)}(F)||Yt(F)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yt(F,Q){if(F){if("string"==typeof F)return an(F,Q);var he=Object.prototype.toString.call(F).slice(8,-1);return"Object"===he&&F.constructor&&(he=F.constructor.name),"Map"===he||"
1Set"===he?Array.from(F):"Arguments"===he||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(he)?an(F,Q):void 0}}function an(F,Q){(null==Q||Q>F.length)&&(Q=F.length);for(var he=0,ye=new Array(Q);he<Q;he++)ye[he]=F[he];return ye}function gn(){this._defaults=[]}bt.prototype.get=function(F){return this.header[F.toLowerCase()]},bt.prototype._setHeaderProperties=function(F){var Q=F["content-type"]||"";this.type=ur.type(Q);var he=ur.params(Q);for(var ye in he)Object.prototype.hasOwnProperty.call(he,ye)&&(this[ye]=he[ye]);this.links={};try{F.link&&(this.links=ur.parseLinks(F.link))}catch{}},bt.prototype._setStatusProperties=function(F){var Q=Math.trunc(F/100);this.statusCode=F,this.status=this.statusCode,this.statusType=Q,this.info=1===Q,this.ok=2===Q,this.redirect=3===Q,this.clientError=4===Q,this.serverError=5===Q,this.error=(4===Q||5===Q)&&this.toError(),this.created=201===F,this.accepted=202===F,this.noContent=204===F,this.badRequest=400===F,this.unauthorized=401===F,this.notAcceptable=406===F,this.forbidden=403===F,this.notFound=404===F,this.unprocessableEntity=422===F};for(var bn=function(){var F=qn[ti];gn.prototype[F]=function(){for(var Q=arguments.length,he=new Array(Q),ye=0;ye<Q;ye++)he[ye]=arguments[ye];return this._defaults.push({fn:F,args:he}),this}},ti=0,qn=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];ti<qn.length;ti++)bn();gn.prototype._setDefaults=function(F){var Q,he=function(Ye,_t){var Ct=typeof Symbol<"u"&&Ye[Symbol.iterator]||Ye["@@iterator"];if(!Ct){if(Array.isArray(Ye)||(Ct=Yt(Ye))){Ct&&(Ye=Ct);var Mt=0,Kt=function(){};return{s:Kt,n:function(){return Mt>=Ye.length?{done:!0}:{done:!1,value:Ye[Mt++]}},e:function(yn){throw yn},f:Kt}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var tn,qt=!0,hn=!1;return{s:function(){Ct=Ct.call(Ye)},n:function(){var yn=Ct.next();return qt=yn.done,yn},e:function(yn){hn=!0,tn=yn},f:function(){try{qt||null==Ct.return||Ct.return()}finally{if(hn)throw tn}}}}(this._defaults);try{for(he.s();!(Q=he.n()).done;){var ye=Q.value;F[ye.fn].apply(F,Xt(ye.args))}}catch(Ye){he.e(Ye)}finally{he.f()}};for(var ii=gn,gi=p(function(F,Q){function he(mn){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_n){return typeof _n}:function(_n){return _n&&"function"==typeof Symbol&&_n.constructor===Symbol&&_n!==Symbol.prototype?"symbol":typeof _n})(mn)}function Ye(mn,_n){(null==_n||_n>mn.length)&&(_n=mn.length);for(var Sn=0,Wn=new Array(_n);Sn<_n;Sn++)Wn[Sn]=mn[Sn];return Wn}var _t;typeof window<"u"?_t=window:typeof self>"u"?(console.warn("Using browser-only version of superagent in non-browser environment"),_t=void 0):_t=self;var Ct=ur.isObject,Mt=ur.mixin,Kt=ur.hasOwn;function tn(){}F.exports=function(mn,_n){return"function"==typeof _n?new Q.Request("GET",mn).end(_n):1===arguments.length?new Q.Request("GET",mn):new Q.Request(mn,_n)};var qt=Q=F.exports;Q.Request=kn,qt.getXHR=function(){if(_t.XMLHttpRequest&&(!_t.location||"file:"!==_t.location.protocol||!_t.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch{}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch{}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch{}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch{}throw new Error("Browser-only version of superagent could not find XHR")};var hn="".trim?function(mn){return mn.trim()}:function(mn){return mn.replace(/(^\s*|\s*$)/g,"")};function yn(mn){if(!Ct(mn))return mn;var _n=[];for(var Sn in mn)Kt(mn,Sn)&&In(_n,Sn,mn[Sn]);return _n.join("&")}function In(mn,_n,Sn){if(void 0!==Sn)if(null!==Sn)if(Array.isArray(Sn)){var Wn,si=function ye(mn,_n){var Sn=typeof Symbol<"u"&&mn[Symbol.iterator]||mn["@@iterator"];if(!Sn){if(Array.isArray(mn)||(Sn=function(di,mr){if(di){if("string"==typeof di)return Ye(di,void 0);var Eo=Object.prototype.toString.call(di).slice(8,-1);if("Object"===Eo&&di.constructor&&(Eo=di.constructor.name),"Map"===Eo||"Set"===Eo)return Array.from(di);if("Arguments"===Eo||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Eo))return Ye(di,void 0)}}(mn))||_n&&mn&&"number"==typeof mn.length){Sn&&(mn=Sn);var Wn=0,si=function(){};return{s:si,n:function(){return Wn>=mn.length?{done:!0}:{done:!1,value:mn[Wn++]}},e:function(di){throw di},f:si}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var vi,Hn=!0,Ii=!1;return{s:function(){Sn=Sn.call(mn)},n:function(){var di=Sn.next();return Hn=di.done,di},e:function(di){Ii=!0,vi=di},f:function(){try{Hn||null==Sn.return||Sn.return()}finally{if(Ii)throw vi}}}}(Sn);try{for(si.s();!(Wn=si.n()).done;)In(mn,_n,Wn.value)}catch(Hn){si.e(Hn)}finally{si.f()}}else if(Ct(Sn))for(var vi in Sn)Kt(Sn,vi)&&In(mn,"".concat(_n,"[").concat(vi,"]"),Sn[vi]);else mn.push(encodeURI(_n)+"="+encodeURIComponent(Sn));else mn.push(encodeURI(_n))}function En(mn){for(var _n,Sn,Wn={},si=mn.split("&"),vi=0,Hn=si.length;vi<Hn;++vi)-1===(Sn=(_n=si[vi]).indexOf("="))?Wn[decodeURIComponent(_n)]="":Wn[decodeURIComponent(_n.slice(0,Sn))]=decodeURIComponent(_n.slice(Sn+1));return Wn}function Pn(mn){return/[/+]json($|[^-\w])/i.test(mn)}function Bn(mn){this.req=mn,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var _n=this.xhr.status;
vendor: 4,088 bytes, line 1
11223===_n&&(_n=204),this._setStatusProperties(_n),this.headers=function(Sn){for(var Wn,si,vi,Hn,Ii=Sn.split(/\r?\n/),di={},mr=0,Eo=Ii.length;mr<Eo;++mr)-1!==(Wn=(si=Ii[mr]).indexOf(":"))&&(vi=si.slice(0,Wn).toLowerCase(),Hn=hn(si.slice(Wn+1)),di[vi]=Hn);return di}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.body=null===this.text&&mn._responseType?this.xhr.response:"HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function kn(mn,_n){var Sn=this;this._query=this._query||[],this.method=mn,this.url=_n,this.header={},this._header={},this.on("end",function(){var Wn,si=null,vi=null;try{vi=new Bn(Sn)}catch(Hn){return(si=new Error("Parser is unable to parse the response")).parse=!0,si.original=Hn,Sn.xhr?(si.rawResponse=void 0===Sn.xhr.responseType?Sn.xhr.responseText:Sn.xhr.response,si.status=Sn.xhr.status?Sn.xhr.status:null,si.statusCode=si.status):(si.rawResponse=null,si.status=null),Sn.callback(si)}Sn.emit("response",vi);try{Sn._isResponseOK(vi)||(Wn=new Error(vi.statusText||vi.text||"Unsuccessful HTTP response"))}catch(Hn){Wn=Hn}Wn?(Wn.original=si,Wn.response=vi,Wn.status=vi.status,Sn.callback(Wn,vi)):Sn.callback(null,vi)})}qt.serializeObject=yn,qt.parseString=En,qt.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},qt.serialize={"application/x-www-form-urlencoded":Tr.stringify,"application/json":Bi},qt.parse={"application/x-www-form-urlencoded":En,"application/json":JSON.parse},Mt(Bn.prototype,ht.prototype),Bn.prototype._parseBody=function(mn){var _n=qt.parse[this.type];return this.req._parser?this.req._parser(this,mn):(!_n&&Pn(this.type)&&(_n=qt.parse["application/json"]),_n&&mn&&(mn.length>0||mn instanceof Object)?_n(mn):null)},Bn.prototype.toError=function(){var mn=this.req,_n=mn.method,Sn=mn.url,Wn="cannot ".concat(_n," ").concat(Sn," (").concat(this.status,")"),si=new Error(Wn);return si.status=this.status,si.method=_n,si.url=Sn,si},qt.Response=Bn,Ur(kn.prototype),Mt(kn.prototype,yr.prototype),kn.prototype.type=function(mn){return this.set("Content-Type",qt.types[mn]||mn),this},kn.prototype.accept=function(mn){return this.set("Accept",qt.types[mn]||mn),this},kn.prototype.auth=function(mn,_n,Sn){return 1===arguments.length&&(_n=""),"object"===he(_n)&&null!==_n&&(Sn=_n,_n=""),Sn||(Sn={type:"function"==typeof btoa?"basic":"auto"}),this._auth(mn,_n,Sn,Sn.encoder?Sn.encoder:function(si){if("function"==typeof btoa)return btoa(si);throw new Error("Cannot use basic auth, btoa is not a function")})},kn.prototype.query=function(mn){return"string"!=typeof mn&&(mn=yn(mn)),mn&&this._query.push(mn),this},kn.prototype.attach=function(mn,_n,Sn){if(_n){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(mn,_n,Sn||_n.name)}return this},kn.prototype._getFormData=function(){return this._formData||(this._formData=new _t.FormData),this._formData},kn.prototype.callback=function(mn,_n){if(this._shouldRetry(mn,_n))return this._retry();var Sn=this._callback;this.clearTimeout(),mn&&(this._maxRetries&&(mn.retries=this._retries-1),this.emit("error",mn)),Sn(mn,_n)},kn.prototype.crossDomainError=function(){var mn=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");mn.crossDomain=!0,mn.status=this.status,mn.method=this.method,mn.url=this.url,this.callback(mn)},kn.prototype.buffer=kn.prototype.ca=kn.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},kn.prototype.pipe=kn.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},kn.prototype._isHost=function(mn){return mn&&"object"===he(mn)&&!Array.isArray(mn)&&"[object Object]"!==Object.prototype.toString.call(mn)}
1,kn.prototype.end=function(mn){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=mn||tn,this._finalizeQueryString(),this._end()},kn.prototype._setUploadTimeout=function(){var mn=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(function(){mn._timeoutError("Upload timeout of ",mn._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},kn.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var mn=this;this.xhr=qt.getXHR();var _n=this.xhr,Sn=this._formData||this._data;this._setTimeouts(),_n.addEventListener("readystatechange",function(){var Ii=_n.readyState;if(Ii>=2&&mn._responseTimeoutTimer&&clearTimeout(mn._responseTimeoutTimer),4===Ii){var di;try{di=_n.status}catch{di=0}if(!di)return mn.timedout||mn._aborted?void 0:mn.crossDomainError();mn.emit("end")}});var Wn=function(Ii,di){di.total>0&&(di.percent=di.loaded/di.total*100,100===di.percent&&clearTimeout(mn._uploadTimeoutTimer)),di.direction=Ii,mn.emit("progress",di)};if(this.hasListeners("progress"))try{_n.addEventListener("progress",Wn.bind(null,"download")),_n.upload&&_n.upload.addEventListener("progress",Wn.bind(null,"upload"))}catch{}_n.upload&&this._setUploadTimeout();try{this.username&&this.password?_n.open(this.method,this.url,!0,this.username,this.password):_n.open(this.method,this.url,!0)}catch(Ii){return this.callback(Ii)}if(this._withCredentials&&(_n.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof Sn&&!this._isHost(Sn)){var si=this._header["content-type"],vi=this._serializer||qt.serialize[si?si.split(";")[0]:""];!vi&&Pn(si)&&(vi=qt.serialize["application/json"]),vi&&(Sn=vi(Sn))}for(var Hn in this.header)null!==this.header[Hn]&&Kt(this.header,Hn)&&_n.setRequestHeader(Hn,this.header[Hn]);this._responseType&&(_n.responseType=this._responseType),this.emit("request",this),_n.send(void 0===Sn?null:Sn)},qt.agent=function(){return new ii};for(var Cn=function(){var mn=Oi[Un];ii.prototype[mn.toLowerCase()]=function(_n,Sn){var Wn=new qt.Request(mn,_n);return this._setDefaults(Wn),Sn&&Wn.end(Sn),Wn}},Un=0,Oi=["GET","POST","OPTIONS","PATCH","PUT","DELETE"];Un<Oi.length;Un++)Cn();function Si(mn,_n,Sn){var Wn=qt("DELETE",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.send(_n),Sn&&Wn.end(Sn),Wn}ii.prototype.del=ii.prototype.delete,qt.get=function(mn,_n,Sn){var Wn=qt("GET",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.query(_n),Sn&&Wn.end(Sn),Wn},qt.head=function(mn,_n,Sn){var Wn=qt("HEAD",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.query(_n),Sn&&Wn.end(Sn),Wn},qt.options=function(mn,_n,Sn){var Wn=qt("OPTIONS",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.send(_n),Sn&&Wn.end(Sn),Wn},qt.del=Si,qt.delete=Si,qt.patch=function(mn,_n,Sn){var Wn=qt("PATCH",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.send(_n),Sn&&Wn.end(Sn),Wn},qt.post=function(mn,_n,Sn){var Wn=qt("POST",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.send(_n),Sn&&Wn.end(Sn),Wn},qt.put=function(mn,_n,Sn){var Wn=qt("PUT",mn);return"function"==typeof _n&&(Sn=_n,_n=null),_n&&Wn.send(_n),Sn&&Wn.end(Sn),Wn}}),or=[],Di=[],sr=(typeof Uint8Array<"u"&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Sr=0;Sr<64;++Sr)or[Sr]=sr[Sr],Di[sr.charCodeAt(Sr)]=Sr;function Qr(F,Q,he){for(var Ye,_t=[],Ct=Q;Ct<he;Ct+=3)_t.push(or[(Ye=(F[Ct]<<16&16711680)+(F[Ct+1]<<8&65280)+(255&F[Ct+2]))>>18&63]+or[Ye>>12&63]+or[Ye>>6&63]+or[63&Ye]);return _t.join("")}Di[45]=62,Di[95]=63;var Nr_encode=function(F){return function(F){for(var Q,he=F.length,ye=he%3,Ye=[],_t=0,Ct=he-ye;_t<Ct;_t+=16383)Ye.push(Qr(F,_t,_t+16383>Ct?Ct:_t+16383));return 1===ye?Ye.push(or[(Q=F[he-1])>>2]+or[Q<<4&63]+"=="):2===ye&&Ye.push(or[(Q=(F[he-2]<<8)+F[he-1])>>10]+or[Q>>4&63]+or[Q<<2&63]+"="),Ye.join("")}(function(Q){for(var he=new Array(Q.length),ye=0;ye<Q.length;ye++)he[ye]=Q.charCodeAt(ye);return he}(F)).replace(/\+/g,"-").replace(/\//g,"_")},ro={raw:"9.24.1"},Zo=Object.prototype.toString;function Er(F,Q,he,ye){if(he="array"===he?"object":he,F&&typeof F[Q]!==he)throw new Error(ye)}function Pr(F,Q,he){if(typeof F!==Q)throw new Error(he)}function wo(F,Q,he){if(-1===Q.indexOf(F))throw new Error(he)}var Ei={check:function(F,Q,he){if(Q.optional&&!F||Pr(F,Q.type,Q.message),"object"===Q.type&&he)for(var ye=Object.keys(he),Ye=0;Ye<ye.length;Ye++){var _t=ye[Ye];he[_t].optional&&!F[_t]||he[_t].condition&&!he[_t].condition(F)||(Er(F,_t,he[_t].type,he[_t].message),he[_t].values&&wo(F[_t],he[_t].values,he[_t].value_message))}},attribute:Er,variable:Pr,value:wo,isArray:function(F){return this.supportsIsArray()?Array.isArray(F):"[object Array]"===Zo.call(F)},supportsIsArray:function(){return null!=Array.isArray}};function gs(F){if(null==F)throw new TypeError("Cannot convert first argument to object");for(var Q=Object(F),he=1;he<arguments.length;he++){var ye=arguments[he];if(null!=ye)for(var Ye=Object.keys(Object(ye)),_t=0,Ct=Ye.length;_t<Ct;_t++){var Mt=Ye[_t],Kt=Object.getOwnPropertyDescriptor(ye,Mt);void 0!==Kt&&Kt.enumerable&&(Q[Mt]=ye[Mt])}}return Q}var po={get:function(){return Object.assign?Object.assign:gs},objectAssignPolyfill:gs};function Ji(F,Q){return Q.reduce(function(he,ye){return F[ye]&&(he[ye]=F[ye]),he},{})}function go(){var F=function Ho(F){var Q=[];for(var he in F)Q.push(F[he]);return Q}(arguments);return F.unshift({}),po.get().apply(void 0,F)}function Po(F){var Q=F.match(/^(https?:|file:|chrome-extension:)\/\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);return Q&&{href:F,protocol:Q[1],host:Q[2],hostname:Q[3],port:Q[4],pathname:Q[5],search:Q[6],hash:Q[7]}}
1function cs(F,Q){var he=go(F);return F[Q]&&(he[Q]=F[Q].trim()),he}var ai={toSnakeCase:function F(Q,he){return"object"!=typeof Q||Ei.isArray(Q)||null===Q?Q:(he=he||[],Object.keys(Q).reduce(function(ye,Ye){return ye[-1===he.indexOf(Ye)?function(_t){for(var Ct,Mt="",Kt=0,tn=!0,qt=!0;Kt<_t.length;)Ct=_t.charCodeAt(Kt),(!qt&&Ct>=65&&Ct<=90||!tn&&Ct>=48&&Ct<=57)&&(Mt+="_"),Mt+=_t[Kt].toLowerCase(),tn=Ct>=48&&Ct<=57,qt=Ct>=65&&Ct<=90,Kt++;return Mt}(Ye):Ye]=F(Q[Ye]),ye},{}))},toCamelCase:function F(Q,he,ye){return"object"!=typeof Q||Ei.isArray(Q)||null===Q?Q:(he=he||[],ye=ye||{},Object.keys(Q).reduce(function(Ye,_t){var Ct,Mt=-1===he.indexOf(_t)?(Ct=_t.split("_")).reduce(function(Kt,tn){return Kt+tn.charAt(0).toUpperCase()+tn.slice(1)},Ct.shift()):_t;return Ye[Mt]=F(Q[Mt]||Q[_t],[],ye),ye.keepOriginal&&(Ye[_t]=F(Q[_t],[],ye)),Ye},{}))},blacklist:function(F,Q){return Object.keys(F).reduce(function(he,ye){return-1===Q.indexOf(ye)&&(he[ye]=F[ye]),he},{})},merge:function(F,Q){return{base:Q?Ji(F,Q):F,with:function(he,ye){return he=ye?Ji(he,ye):he,go(this.base,he)}}},pick:Ji,getKeysNotIn:function(F,Q){var he=[];for(var ye in F)-1===Q.indexOf(ye)&&he.push(ye);return he},extend:go,getOriginFromUrl:function(F){if(F){var Q=Po(F);if(!Q)return null;var he=Q.protocol+"//"+Q.hostname;return Q.port&&(he+=":"+Q.port),he}},getLocationFromUrl:Po,trimUserDetails:function(F){return["username","email","phoneNumber"].reduce(cs,F)},updatePropertyOn:function F(Q,he,ye){"string"==typeof he&&(he=he.split("."));var Ye=he[0];Q.hasOwnProperty(Ye)&&(1===he.length?Q[Ye]=ye:F(Q[Ye],he.slice(1),ye))}};function $r(F){this.request=F,this.method=F.method,this.url=F.url,this.body=F._data,this.headers=F._header}function kr(F){this.request=F}function vo(F){this._sendTelemetry=!1!==F._sendTelemetry||F._sendTelemetry,this._telemetryInfo=F._telemetryInfo||null,this._timesToRetryFailedRequests=F._timesToRetryFailedRequests,this.headers=F.headers||{},this._universalLoginPage=F.universalLoginPage}function fr(){return window}$r.prototype.abort=function(){this.request.abort()},$r.prototype.getMethod=function(){return this.method},$r.prototype.getBody=function(){return this.body},$r.prototype.getUrl=function(){return this.url},$r.prototype.getHeaders=function(){return this.headers},kr.prototype.set=function(F,Q){return this.request=this.request.set(F,Q),this},kr.prototype.send=function(F){return this.request=this.request.send(ai.trimUserDetails(F)),this},kr.prototype.withCredentials=function(){return this.request=this.request.withCredentials(),this},kr.prototype.end=function(F){return this.request.end(F),new $r(this.request)},vo.prototype.setCommonConfiguration=function(F,Q){if(Q=Q||{},this._timesToRetryFailedRequests>0&&(F=F.retry(this._timesToRetryFailedRequests)),Q.noHeaders)return F;var he=this.headers;F=F.set("Content-Type","application/json"),Q.xRequestLanguage&&(F=F.set("X-Request-Language",Q.xRequestLanguage));for(var ye=Object.keys(this.headers),Ye=0;Ye<ye.length;Ye++)F=F.set(ye[Ye],he[ye[Ye]]);return this._sendTelemetry&&(F=F.set("Auth0-Client",this.getTelemetryData())),F},vo.prototype.getTelemetryData=function(){var F=this._universalLoginPage?"auth0.js-ulp":"auth0.js",Q={name:F,version:ro.raw};this._telemetryInfo&&((Q=ai.extend({},this._telemetryInfo)).env=ai.extend({},this._telemetryInfo.env),Q.env[F]=ro.raw);var he=JSON.stringify(Q);return Nr_encode(he)},vo.prototype.get=function(F,Q){return new kr(this.setCommonConfiguration(gi.get(F),Q))},vo.prototype.post=function(F,Q){return new kr(this.setCommonConfiguration(gi.post(F),Q))},vo.prototype.patch=function(F,Q){return new kr(this.setCommonConfiguration(gi.patch(F),Q))};var Xe={redirect:function(F){fr().location=F},getDocument:function(){return fr().document},getWindow:fr,getOrigin:function(){var F=fr().location,Q=F.origin;return Q||(Q=ai.getOriginFromUrl(F.href)),Q}};function ut(){}ut.prototype.getItem=function(){return null},ut.prototype.removeItem=function(){},ut.prototype.setItem=function(){};var $e=p(function(F,Q){var he;he=function(){function ye(){for(var _t=0,Ct={};_t<arguments.length;_t++){var Mt=arguments[_t];
1for(var Kt in Mt)Ct[Kt]=Mt[Kt]}return Ct}function Ye(_t){return _t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function _t(Ct){function Mt(){}function Kt(qt,hn,yn){if(typeof document<"u"){"number"==typeof(yn=ye({path:"/"},Mt.defaults,yn)).expires&&(yn.expires=new Date(1*new Date+864e5*yn.expires)),yn.expires=yn.expires?yn.expires.toUTCString():"";try{var In=JSON.stringify(hn);/^[\{\[]/.test(In)&&(hn=In)}catch{}hn=Ct.write?Ct.write(hn,qt):encodeURIComponent(String(hn)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),qt=encodeURIComponent(String(qt)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var En="";for(var Pn in yn)yn[Pn]&&(En+="; "+Pn,!0!==yn[Pn]&&(En+="="+yn[Pn].split(";")[0]));return document.cookie=qt+"="+hn+En}}function tn(qt,hn){if(typeof document<"u"){for(var yn={},In=document.cookie?document.cookie.split("; "):[],En=0;En<In.length;En++){var Pn=In[En].split("="),Bn=Pn.slice(1).join("=");hn||'"'!==Bn.charAt(0)||(Bn=Bn.slice(1,-1));try{var kn=Ye(Pn[0]);if(Bn=(Ct.read||Ct)(Bn,kn)||Ye(Bn),hn)try{Bn=JSON.parse(Bn)}catch{}if(yn[kn]=Bn,qt===kn)break}catch{}}return qt?yn[qt]:yn}}return Mt.set=Kt,Mt.get=function(qt){return tn(qt,!1)},Mt.getJSON=function(qt){return tn(qt,!0)},Mt.remove=function(qt,hn){Kt(qt,"",ye(hn,{expires:-1}))},Mt.defaults={},Mt.withConverter=_t,Mt}(function(){})},F.exports=he()});function St(F){return"_"+F+"_compat"}function nn(F){this._options=F||{}}function yi(F){this.disableWarnings=F.disableWarnings}function ki(F){if(this.warn=new yi({}),this.storage=new nn(F),!0===F.__tryLocalStorageFirst)try{var Q=Xe.getWindow().localStorage;Q&&(this.storage=Q)}catch(he){this.warn.warning(he),this.warn.warning("Can't use localStorage. Using CookieStorage instead.")}}function Or(F){this.handler=new ki(F)}function Ir(F){this.storage=new Or(F)}function dr(F,Q){return{error:F,errorDescription:Q}}nn.prototype.getItem=function(F){return $e.get(F)||$e.get(St(F))},nn.prototype.removeItem=function(F){var Q={};this._options.cookieDomain&&(Q.domain=this._options.cookieDomain),$e.remove(F,Q),$e.remove(St(F),Q)},nn.prototype.setItem=function(F,Q,he){var ye=ai.extend({expires:1},he);if("https:"===Xe.getWindow().location.protocol&&(ye.secure=!0,ye.sameSite="none",this._options.legacySameSiteCookie)){var Ye=ai.blacklist(ye,["sameSite"]);$e.set(St(F),Q,Ye)}this._options.cookieDomain&&(ye.domain=this._options.cookieDomain),$e.set(F,Q,ye)},yi.prototype.warning=function(F){this.disableWarnings||console.warn(F)},ki.prototype.failover=function(){this.storage instanceof ut?this.warn.warning("DummyStorage: ignore failover"):this.storage instanceof nn?(this.warn.warning("CookieStorage: failing over DummyStorage"),this.storage=new ut):(this.warn.warning("LocalStorage: failing over CookieStorage"),this.storage=new nn)},ki.prototype.getItem=function(F){try{return this.storage.getItem(F)}catch(Q){return this.warn.warning(Q),this.failover(),this.getItem(F)}},ki.prototype.removeItem=function(F){try{return this.storage.removeItem(F)}catch(Q){return this.warn.warning(Q),this.failover(),this.removeItem(F)}},ki.prototype.setItem=function(F,Q,he){try{return this.storage.setItem(F,Q,he)}catch(ye){return this.warn.warning(ye),this.failover(),this.setItem(F,Q,he)}},Or.prototype.getItem=function(F){var Q=this.handler.getItem(F);try{return JSON.parse(Q)}catch{return Q}},Or.prototype.removeItem=function(F){return this.handler.removeItem(F)},Or.prototype.setItem=function(F,Q,he){var ye=JSON.stringify(Q);return this.handler.setItem(F,ye,he)},Ir.prototype.set=function(F,Q){this.storage.setItem("auth0.ssodata",JSON.stringify({lastUsedConnection:F,lastUsedSub:Q}))},Ir.prototype.get=function(){var F=this.storage.getItem("auth0.ssodata");if(F)return JSON.parse(F)};var Fo={buildResponse:dr,invalidToken:function(F){return dr("invalid_token",F)}};function pr(F,Q){return(Q=Q||{}).ignoreCasing=!!Q.ignoreCasing&&Q.ignoreCasing,function(he,ye){var Ye;return he||ye?(!he&&ye.err&&(he=ye.err,ye=null),!he&&ye.error&&(he=ye,ye=null),he?(ai.updatePropertyOn(Ye={original:he},"original.response.req._data.password","*****"),he.response&&he.response.statusCode&&(Ye.statusCode=he.response.statusCode),he.response&&he.response.statusText&&(Ye.statusText=he.response.statusText),he.response&&he.response.body&&(he=he.response.body),he.err&&(he=he.err),Ye.code=he.code||he.error||he.error_code||he.status||null,Ye.description=he.errorDescription||he.error_description||he.description||he.error||he.details||he.err||null,Q.forceLegacyError&&(Ye.error=Ye.code,Ye.error_description=Ye.description),he.error_codes&&he.error_details&&(Ye.errorDetails={codes:he.error_codes,details:he.error_details}),he.name&&(Ye.name=he.name),he.policy&&(Ye.policy=he.policy),F(Ye)):F(null,!ye.type||"text/html"!==ye.type&&"text/plain"!==ye.type?Q.ignoreCasing?ye.body||ye:ai.toCamelCase(ye.body||ye,[],{keepOriginal:Q.keepOriginalCasing}):ye.text)):F(Fo.buildResponse("generic_error","Something went wrong"))}}var fo=["realm","audience","otp","client_id","client_secret","redirect_uri","scope","code","grant_type","username","password","refresh_token","assertion","client_assertion","client_assertion_type","code_verifier"],ir=["connection","connection_scope","auth0Client","owp","device","realm","organization","invitation","protocol","_csrf","_intstate","login_ticket","client_id","response_type","response_mode","redirect_uri","audie
1nce","scope","state","nonce","display","prompt","screen_hint","max_age","ui_locales","claims_locales","id_token_hint","login_hint","acr_values","claims","registration","request","request_uri","code_challenge","code_challenge_method","access_type","display"],se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function je(F){var Q={exports:{}};return F(Q,Q.exports),Q.exports}var xt=je(function(F,Q){F.exports=function(){function he(q){return"function"==typeof q}var ye=Array.isArray?Array.isArray:function(q){return"[object Array]"===Object.prototype.toString.call(q)},Ye=0,_t=void 0,Ct=void 0,Mt=function(q,xe){En[Ye]=q,En[Ye+1]=xe,2===(Ye+=2)&&(Ct?Ct(Pn):Oi())},Kt=typeof window<"u"?window:void 0,tn=Kt||{},qt=tn.MutationObserver||tn.WebKitMutationObserver,hn=typeof self>"u"&&typeof process<"u"&&"[object process]"==={}.toString.call(process),yn=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function In(){var q=setTimeout;return function(){return q(Pn,1)}}var En=new Array(1e3);function Pn(){for(var q=0;q<Ye;q+=2)(0,En[q])(En[q+1]),En[q]=void 0,En[q+1]=void 0;Ye=0}var Bn,kn,Cn,Un,Oi=void 0;function Si(q,xe){var nt=this,Ft=new this.constructor(Sn);void 0===Ft[_n]&&Pe(Ft);var $t=nt._state;if($t){var dn=arguments[$t-1];Mt(function(){return ss($t,Ft,dn,nt._result)})}else mr(nt,Ft,q,xe);return Ft}function mn(q){if(q&&"object"==typeof q&&q.constructor===this)return q;var xe=new this(Sn);return vi(xe,q),xe}Oi=hn?function(){return process.nextTick(Pn)}:qt?(kn=0,Cn=new qt(Pn),Un=document.createTextNode(""),Cn.observe(Un,{characterData:!0}),function(){Un.data=kn=++kn%2}):yn?((Bn=new MessageChannel).port1.onmessage=Pn,function(){return Bn.port2.postMessage(0)}):void 0===Kt?function(){try{var q=Function("return this")().require("vertx");return void 0!==(_t=q.runOnLoop||q.runOnContext)?function(){_t(Pn)}:In()}catch{return In()}}():In();var _n=Math.random().toString(36).substring(2);function Sn(){}var Wn=void 0;function si(q,xe,nt){var Ft,$t;xe.constructor===q.constructor&&nt===Si&&xe.constructor.resolve===mn?(Ft=q,1===($t=xe)._state?Ii(Ft,$t._result):2===$t._state?di(Ft,$t._result):mr($t,void 0,function(dn){return vi(Ft,dn)},function(dn){return di(Ft,dn)})):void 0===nt?Ii(q,xe):he(nt)?function(Ft,$t,dn){Mt(function(Fn){var ci=!1,Hi=function(Fr,Mo,mo,xo){try{Fr.call(Mo,function(eo){ci||(ci=!0,$t!==eo?vi(Fn,eo):Ii(Fn,eo))},function(eo){ci||(ci=!0,di(Fn,eo))})}catch(eo){return eo}}(dn,$t);!ci&&Hi&&(ci=!0,di(Fn,Hi))},Ft)}(q,xe,nt):Ii(q,xe)}function vi(q,xe){if(q===xe)di(q,new TypeError("You cannot resolve a promise with itself"));else if($t=typeof(Ft=xe),null===Ft||"object"!==$t&&"function"!==$t)Ii(q,xe);else{var nt=void 0;try{nt=xe.then}catch(dn){return void di(q,dn)}si(q,xe,nt)}var Ft,$t}function Hn(q){q._onerror&&q._onerror(q._result),Eo(q)}function Ii(q,xe){q._state===Wn&&(q._result=xe,q._state=1,0!==q._subscribers.length&&Mt(Eo,q))}function di(q,xe){q._state===Wn&&(q._state=2,q._result=xe,Mt(Hn,q))}function mr(q,xe,nt,Ft){var $t=q._subscribers,dn=$t.length;q._onerror=null,$t[dn]=xe,$t[dn+1]=nt,$t[dn+2]=Ft,0===dn&&q._state&&Mt(Eo,q)}function Eo(q){var xe=q._subscribers,nt=q._state;if(0!==xe.length){for(var Ft=void 0,$t=void 0,dn=q._result,Fn=0;Fn<xe.length;Fn+=3)$t=xe[Fn+nt],(Ft=xe[Fn])?ss(nt,Ft,$t,dn):$t(dn);q._subscribers.length=0}}function ss(q,xe,nt,Ft){var $t=he(nt),dn=void 0,Fn=void 0,ci=!0;if($t){try{dn=nt(Ft)}catch(Hi){ci=!1,Fn=Hi}if(xe===dn)return void di(xe,new TypeError("A promises callback cannot return that same promise."))}else dn=Ft;xe._state!==Wn||($t&&ci?vi(xe,dn):!1===ci?di(xe,Fn):1===q?Ii(xe,dn):2===q&&di(xe,dn))}var ae=0;function Pe(q){q[_n]=ae++,q._state=void 0,q._result=void 0,q._subscribers=[]}var de=function(){function q(xe,nt){this._instanceConstructor=xe,this.promise=new xe(Sn),this.promise[_n]||Pe(this.promise),ye(nt)?(this.length=nt.length,this._remaining=nt.length,this._result=new Array(this.length),0===this.length?Ii(this.promise,this._result):(this.length=this.length||0,this._enumerate(nt),0===this._remaining&&Ii(this.promise,this._result))):di(this.promise,new Error("Array Methods must be provided an Array"))}return q.prototype._enumerate=function(xe){for(var nt=0;this._state===Wn&&nt<xe.length;nt++)this._eachEntry(xe[nt],nt)},q.prototype._eachEntry=function(xe,nt){var Ft=this._instanceConstructor,$t=Ft.resolve;if($t===mn){var dn=void 0,Fn=void 0,ci=!1;try{dn=xe.then}catch(Fr){ci=!0,Fn=Fr}if(dn===Si&&xe._state!==Wn)this._settledAt(xe._state,nt,xe._result);else if("function"!=typeof dn)this._remaining--,this._result[nt]=xe;else if(Ft===k){var Hi=new Ft(Sn);ci?di(Hi,Fn):si(Hi,xe,dn),this._willSettleAt(Hi,nt)}
vendor: 15,793 bytes, line 1
1else this._willSettleAt(new Ft(function(Fr){return Fr(xe)}),nt)}else this._willSettleAt($t(xe),nt)},q.prototype._settledAt=function(xe,nt,Ft){var $t=this.promise;$t._state===Wn&&(this._remaining--,2===xe?di($t,Ft):this._result[nt]=Ft),0===this._remaining&&Ii($t,this._result)},q.prototype._willSettleAt=function(xe,nt){var Ft=this;mr(xe,void 0,function($t){return Ft._settledAt(1,nt,$t)},function($t){return Ft._settledAt(2,nt,$t)})},q}(),k=function(){function q(xe){this[_n]=ae++,this._result=this._state=void 0,this._subscribers=[],Sn!==xe&&("function"!=typeof xe&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof q?function(nt,Ft){try{Ft(function($t){vi(nt,$t)},function($t){di(nt,$t)})}catch($t){di(nt,$t)}}(this,xe):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return q.prototype.catch=function(xe){return this.then(null,xe)},q.prototype.finally=function(xe){var Ft=this.constructor;return he(xe)?this.then(function($t){return Ft.resolve(xe()).then(function(){return $t})},function($t){return Ft.resolve(xe()).then(function(){throw $t})}):this.then(xe,xe)},q}();return k.prototype.then=Si,k.all=function(q){return new de(this,q).promise},k.race=function(q){var xe=this;return ye(q)?new xe(function(nt,Ft){for(var $t=q.length,dn=0;dn<$t;dn++)xe.resolve(q[dn]).then(nt,Ft)}):new xe(function(nt,Ft){return Ft(new TypeError("You must pass an array to race."))})},k.resolve=mn,k.reject=function(q){var xe=new this(Sn);return di(xe,q),xe},k._setScheduler=function(q){Ct=q},k._setAsap=function(q){Mt=q},k._asap=Mt,k.polyfill=function(){var q=void 0;if(void 0!==se)q=se;else if(typeof self<"u")q=self;else try{q=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var xe=q.Promise;if(xe){var nt=null;try{nt=Object.prototype.toString.call(xe.resolve())}catch{}if("[object Promise]"===nt&&!xe.cast)return}q.Promise=k},k.Promise=k,k}()}),Gt={__proto__:null,default:{}},fn=je(function(F,Q){var he;F.exports=he=he||function(ye,Ye){var _t;if(typeof window<"u"&&window.crypto&&(_t=window.crypto),typeof self<"u"&&self.crypto&&(_t=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(_t=globalThis.crypto),!_t&&typeof window<"u"&&window.msCrypto&&(_t=window.msCrypto),!_t&&void 0!==se&&se.crypto&&(_t=se.crypto),!_t)try{_t=Gt}catch{}var Ct=function(){if(_t){if("function"==typeof _t.getRandomValues)try{return _t.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof _t.randomBytes)try{return _t.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},Mt=Object.create||function(){function Cn(){}return function(Un){var Oi;return Cn.prototype=Un,Oi=new Cn,Cn.prototype=null,Oi}}(),Kt={},tn=Kt.lib={},qt=tn.Base={extend:function(Cn){var Un=Mt(this);return Cn&&Un.mixIn(Cn),Un.hasOwnProperty("init")&&this.init!==Un.init||(Un.init=function(){Un.$super.init.apply(this,arguments)}),Un.init.prototype=Un,Un.$super=this,Un},create:function(){var Cn=this.extend();return Cn.init.apply(Cn,arguments),Cn},init:function(){},mixIn:function(Cn){for(var Un in Cn)Cn.hasOwnProperty(Un)&&(this[Un]=Cn[Un]);Cn.hasOwnProperty("toString")&&(this.toString=Cn.toString)},clone:function(){return this.init.prototype.extend(this)}},hn=tn.WordArray=qt.extend({init:function(Cn,Un){Cn=this.words=Cn||[],this.sigBytes=Un??4*Cn.length},toString:function(Cn){return(Cn||In).stringify(this)},concat:function(Cn){var Un=this.words,Oi=Cn.words,Si=this.sigBytes,mn=Cn.sigBytes;if(this.clamp(),Si%4)for(var _n=0;_n<mn;_n++)Un[Si+_n>>>2]|=(Oi[_n>>>2]>>>24-_n%4*8&255)<<24-(Si+_n)%4*8;else for(var Sn=0;Sn<mn;Sn+=4)Un[Si+Sn>>>2]=Oi[Sn>>>2];return this.sigBytes+=mn,this},clamp:function(){var Cn=this.words,Un=this.sigBytes;Cn[Un>>>2]&=4294967295<<32-Un%4*8,Cn.length=ye.ceil(Un/4)},clone:function(){var Cn=qt.clone.call(this);return Cn.words=this.words.slice(0),Cn},random:function(Cn){for(var Un=[],Oi=0;Oi<Cn;Oi+=4)Un.push(Ct());return new hn.init(Un,Cn)}}),yn=Kt.enc={},In=yn.Hex={stringify:function(Cn){for(var Un=Cn.words,Oi=Cn.sigBytes,Si=[],mn=0;mn<Oi;mn++){var _n=Un[mn>>>2]>>>24-mn%4*8&255;Si.push((_n>>>4).toString(16)),Si.push((15&_n).toString(16))}return Si.join("")},parse:function(Cn){for(var Un=Cn.length,Oi=[],Si=0;Si<Un;Si+=2)Oi[Si>>>3]|=parseInt(Cn.substr(Si,2),16)<<24-Si%8*4;return new hn.init(Oi,Un/2)}},En=yn.Latin1={stringify:function(Cn){for(var Un=Cn.words,Oi=Cn.sigBytes,Si=[],mn=0;mn<Oi;mn++)Si.push(String.fromCharCode(Un[mn>>>2]>>>24-mn%4*8&255));return Si.join("")},parse:function(Cn){for(var Un=Cn.length,Oi=[],Si=0;Si<Un;Si++)Oi[Si>>>2]|=(255&Cn.charCodeAt(Si))<<24-Si%4*8;return new hn.init(Oi,Un)}},Pn=yn.Utf8={stringify:function(Cn){try{return decodeURIComponent(escape(En.stringify(Cn)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Cn){return En.parse(unescape(encodeURIComponent(Cn)))}},Bn=tn.BufferedBlockAlgorithm=qt.extend({reset:function(){this._data=new hn.init,this._nDataBytes=0},_append:function(Cn){"string"==typeof Cn&&(Cn=Pn.parse(Cn)),this._data.concat(Cn),this._nDataBytes+=Cn.sigBytes},_process:function(Cn){var Un,Oi=this._data,Si=Oi.words,mn=Oi.sigBytes,_n=this.blockSize,Sn=mn/(4*_n),Wn=(Sn=Cn?ye.ceil(Sn):ye.max((0|Sn)-this._minBufferSize,0))*_n,si=ye.min(4*Wn,mn);if(Wn){for(var vi=0;vi<Wn;vi+=_n)this._doProcessBlock(Si,vi);Un=Si.splice(0,Wn),Oi.sigBytes-=si}return new hn.init(Un,si)},clone:function(){var Cn=qt.clone.call(this);return Cn._data=this._data.clone(),Cn},_minBufferSize:0});tn.Hasher=Bn.extend({cfg:qt.extend(),init:function(Cn){this.cfg=this.cfg.extend(Cn),this.reset()},reset:function(){Bn.reset.call(this),this._doReset()},update:function(Cn){return this._append(Cn),this._process(),this},finalize:function(Cn){return Cn&&this._append(Cn),this._doFinalize()},blockSize:16,_createHelper:function(Cn){return function(Un,Oi){return new Cn.init(Oi).finalize(Un)}},_createHmacHelper:function(Cn){return function(Un,Oi){return new kn.HMAC.init(Cn,Oi).finalize(Un)}}});var kn=Kt.algo={};return Kt}(Math)}),Gn=je(function(F,Q){var he;F.exports=(he=fn,function(ye){var Ye=he,_t=Ye.lib,Ct=_t.WordArray,Mt=_t.Hasher,Kt=Ye.algo,tn=[],qt=[];!function(){function In(kn){for(var Cn=ye.sqrt(kn),Un=2;Un<=Cn;Un++)if(!(kn%Un))return!1;return!0}function En(kn){return 4294967296*(kn-(0|kn))|0}for(var Pn=2,Bn=0;Bn<64;)In(Pn)&&(Bn<8&&(tn[Bn]=En(ye.pow(Pn,.5))),qt[Bn]=En(ye.pow(Pn,1/3)),Bn++),Pn++}();var hn=[],yn=Kt.SHA256=Mt.extend({_doReset:function(){this._hash=new Ct.init(tn.slice(0))},_doProcessBlock:function(In,En){for(var Pn=this._hash.words,Bn=Pn[0],kn=Pn[1],Cn=Pn[2],Un=Pn[3],Oi=Pn[4],Si=Pn[5],mn=Pn[6],_n=Pn[7],Sn=0;Sn<64;Sn++){if(Sn<16)hn[Sn]=0|In[En+Sn];else{var Wn=hn[Sn-15],si=hn[Sn-2];hn[Sn]=((Wn<<25|Wn>>>7)^(Wn<<14|Wn>>>18)^Wn>>>3)+hn[Sn-7]+((si<<15|si>>>17)^(si<<13|si>>>19)^si>>>10)+hn[Sn-16]}var vi=Bn&kn^Bn&Cn^kn&Cn,Hn=_n+((Oi<<26|Oi>>>6)^(Oi<<21|Oi>>>11)^(Oi<<7|Oi>>>25))+(Oi&Si^~Oi&mn)+qt[Sn]+hn[Sn];_n=mn,mn=Si,Si=Oi,Oi=Un+Hn|0,Un=Cn,Cn=kn,kn=Bn,Bn=Hn+(((Bn<<30|Bn>>>2)^(Bn<<19|Bn>>>13)^(Bn<<10|Bn>>>22))+vi)|0}Pn[0]=Pn[0]+Bn|0,Pn[1]=Pn[1]+kn|0,Pn[2]=Pn[2]+Cn|0,Pn[3]=Pn[3]+Un|0,Pn[4]=Pn[4]+Oi|0,Pn[5]=Pn[5]+Si|0,Pn[6]=Pn[6]+mn|0,Pn[7]=Pn[7]+_n|0},_doFinalize:function(){var In=this._data,En=In.words,Pn=8*this._nDataBytes,Bn=8*In.sigBytes;return En[Bn>>>5]|=128<<24-Bn%32,En[14+(Bn+64>>>9<<4)]=ye.floor(Pn/4294967296),En[15+(Bn+64>>>9<<4)]=Pn,In.sigBytes=4*En.length,this._process(),this._hash},clone:function(){var In=Mt.clone.call(this);return In._hash=this._hash.clone(),In}});Ye.SHA256=Mt._createHelper(yn),Ye.HmacSHA256=Mt._createHmacHelper(yn)}(Math),he.SHA256)}),li=je(function(F,Q){var he,ye;F.exports=(ye=(he=fn).lib.WordArray,he.enc.Base64={stringify:function(Ye){var _t=Ye.words,Ct=Ye.sigBytes,Mt=this._map;Ye.clamp();for(var Kt=[],tn=0;tn<Ct;tn+=3)for(var qt=(_t[tn>>>2]>>>24-tn%4*8&255)<<16|(_t[tn+1>>>2]>>>24-(tn+1)%4*8&255)<<8|_t[tn+2>>>2]>>>24-(tn+2)%4*8&255,hn=0;hn<4&&tn+.75*hn<Ct;hn++)Kt.push(Mt.charAt(qt>>>6*(3-hn)&63));var yn=Mt.charAt(64);if(yn)for(;Kt.length%4;)Kt.push(yn);return Kt.join("")},parse:function(Ye){var _t=Ye.length,Ct=this._map,Mt=this._reverseMap;if(!Mt){Mt=this._reverseMap=[];for(var Kt=0;Kt<Ct.length;Kt++)Mt[Ct.charCodeAt(Kt)]=Kt}var tn=Ct.charAt(64);if(tn){var qt=Ye.indexOf(tn);-1!==qt&&(_t=qt)}return function(hn,yn,In){for(var En=[],Pn=0,Bn=0;Bn<yn;Bn++)if(Bn%4){var kn=In[hn.charCodeAt(Bn-1)]<<Bn%4*2,Cn=In[hn.charCodeAt(Bn)]>>>6-Bn%4*2;En[Pn>>>2]|=(kn|Cn)<<24-Pn%4*8,Pn++}return ye.create(En,Pn)}(Ye,_t,Mt)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},he.enc.Base64)}),wi=je(function(F,Q){F.exports=fn.enc.Hex}),Xi=je(function(F,Q){(function(){var he;function ye(k,q,xe){null!=k&&("number"==typeof k?this.fromNumber(k,q,xe):this.fromString(k,null==q&&"string"!=typeof k?256:q))}function Ye(){return new ye(null)}var _t=typeof navigator<"u";_t&&"Microsoft Internet Explorer"==navigator.appName?(ye.prototype.am=function(k,q,xe,nt,Ft,$t){for(var dn=32767&q,Fn=q>>15;--$t>=0;){var ci=32767&this[k],Hi=this[k++]>>15,Fr=Fn*ci+Hi*dn;Ft=((ci=dn*ci+((32767&Fr)<<15)+xe[nt]+(1073741823&Ft))>>>30)+(Fr>>>15)+Fn*Hi+(Ft>>>30),xe[nt++]=1073741823&ci}return Ft},he=30):_t&&"Netscape"!=navigator.appName?(ye.prototype.am=function(k,q,xe,nt,Ft,$t){for(;--$t>=0;){var dn=q*this[k++]+xe[nt]+Ft;Ft=Math.floor(dn/67108864),xe[nt++]=67108863&dn}return Ft},he=26):(ye.prototype.am=function(k,q,xe,nt,Ft,$t){for(var dn=16383&q,Fn=q>>14;--$t>=0;){var ci=16383&this[k],Hi=this[k++]>>14,Fr=Fn*ci+Hi*dn;Ft=((ci=dn*ci+((16383&Fr)<<14)+xe[nt]+Ft)>>28)+(Fr>>14)+Fn*Hi,xe[nt++]=268435455&ci}return Ft},he=28),ye.prototype.DB=he,ye.prototype.DM=(1<<he)-1,ye.prototype.DV=1<<he,ye.prototype.FV=Math.pow(2,52),ye.prototype.F1=52-he,ye.prototype.F2=2*he-52;var Ct,Mt,Kt=new Array;for(Ct=48,Mt=0;Mt<=9;++Mt)Kt[Ct++]=Mt;for(Ct=97,Mt=10;Mt<36;++Mt)Kt[Ct++]=Mt;for(Ct=65,Mt=10;Mt<36;++Mt)Kt[Ct++]=Mt;function tn(k){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(k)}function qt(k,q){return Kt[k.charCodeAt(q)]??-1}function hn(k){var q=Ye();return q.fromInt(k),q}function yn(k){var q,xe=1;return 0!=(q=k>>>16)&&(k=q,xe+=16),0!=(q=k>>8)&&(k=q,xe+=8),0!=(q=k>>4)&&(k=q,xe+=4),0!=(q=k>>2)&&(k=q,xe+=2),0!=(q=k>>1)&&(k=q,xe+=1),xe}function In(k){this.m=k}function En(k){this.m=k,this.mp=k.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<k.DB-15)-1,this.mt2=2*k.t}function Pn(k,q){return k&q}function Bn(k,q){return k|q}function kn(k,q){return k^q}function Cn(k,q){return k&~q}function Un(k){if(0==k)return-1;var q=0;return!(65535&k)&&(k>>=16,q+=16),!(255&k)&&(k>>=8,q+=8),!(15&k)&&(k>>=4,q+=4),!(3&k)&&(k>>=2,q+=2),!(1&k)&&++q,q}function Oi(k){for(var q=0;0!=k;)k&=k-1,++q;return q}function Si(){}function mn(k){return k}function _n(k){this.r2=Ye(),this.q3=Ye(),ye.ONE.dlShiftTo(2*k.t,this.r2),this.mu=this.r2.divide(k),this.m=k}In.prototype.convert=function(k){return k.s<0||k.compareTo(this.m)>=0?k.mod(this.m):k},In.prototype.revert=function(k){return k},In.prototype.reduce=function(k){k.divRemTo(this.m,null,k)},In.prototype.mulTo=function(k,q,xe){k.multiplyTo(q,xe),this.reduce(xe)},In.prototype.sqrTo=function(k,q){k.squareTo(q),this.reduce(q)},En.prototype.convert=function(k){var q=Ye();return k.abs().dlShiftTo(this.m.t,q),q.divRemTo(this.m,null,q),k.s<0&&q.compareTo(ye.ZERO)>0&&this.m.subTo(q,q),q},En.prototype.revert=function(k){var q=Ye();return k.copyTo(q),this.reduce(q),q},En.prototype.reduce=function(k){for(;k.t<=this.mt2;)k[k.t++]=0;for(var q=0;q<this.m.t;++q){var xe=32767&k[q],nt=xe*this.mpl+((xe*this.mph+(k[q]>>15)*this.mpl&this.um)<<15)&k.DM;for(k[xe=q+this.m.t]+=this.m.am(0,nt,k,q,0,this.m.t);k[xe]>=k.DV;)k[xe]-=k.DV,k[++xe]++}k.clamp(),k.drShiftTo(this.m.t,k),k.compareTo(this.m)>=0&&k.subTo(this.m,k)},En.prototype.mulTo=function(k,q,xe){k.multiplyTo(q,xe),this.reduce(xe)},En.prototype.sqrTo=function(k,q){k.squareTo(q),this.reduce(q)},ye.prototype.copyTo=function(k){for(var q=this.t-1;q>=0;--q)k[q]=this[q];k.t=this.t,k.s=this.s},ye.prototype.fromInt=function(k){this.t=1,this.s=k<0?-1:0,k>0?this[0]=k:k<-1?this[0]=k+this.DV:this.t=0},ye.prototype.fromString=function(k,q){var xe;if(16==q)xe=4;else if(8==q)xe=3;else if(256==q)xe=8;else if(2==q)xe=1;else if(32==q)xe=5;else{if(4!=q)return void this.fromRadix(k,q);xe=2}this.t=0,this.s=0;for(var nt=k.length,Ft=!1,$t=0;--nt>=0;){var dn=8==xe?255&k[nt]:qt(k,nt);dn<0?"-"==k.charAt(nt)&&(Ft=!0):(Ft=!1,0==$t?this[this.t++]=dn:$t+xe>this.DB?(this[this.t-1]|=(dn&(1<<this.DB-$t)-1)<<$t,this[this.t++]=dn>>this.DB-$t):this[this.t-1]|=dn<<$t,($t+=xe)>=this.DB&&($t-=this.DB))}8==xe&&128&k[0]&&(this.s=-1,$t>0&&(this[this.t-1]|=(1<<this.DB-$t)-1<<$t)),this.clamp(),Ft&&ye.ZERO.subTo(this,this)},ye.prototype.clamp=function(){for(var k=this.s&this.DM;this.t>0&&this[this.t-1]==k;)--this.t},ye.prototype.dlShiftTo=function(k,q){var xe;for(xe=this.t-1;xe>=0;--xe)q[xe+k]=this[xe];for(xe=k-1;xe>=0;--xe)q[xe]=0;q.t=this.t+k,q.s=this.s},ye.prototype.drShiftTo=function(k,q){for(var xe=k;xe<this.t;++xe)q[xe-k]=this[xe];q.t=Math.max(this.t-k,0),q.s=this.s},ye.prototype.lShiftTo=function(k,q){var xe,nt=k%this.DB,Ft=this.DB-nt,$t=(1<<Ft)-1,dn=Math.floor(k/this.DB),Fn=this.s<<nt&this.DM;for(xe=this.t-1;xe>=0;--xe)q[xe+dn+1]=this[xe]>>Ft|Fn,Fn=(this[xe]&$t)<<nt;for(xe=dn-1;xe>=0;--xe)q[xe]=0;q[dn]=Fn,q.t=this.t+dn+1,q.s=this.s,q.clamp()},ye.prototype.rShiftTo=function(k,q){q.s=this.s;var xe=Math.floor(k/this.DB);if(xe>=this.t)q.t=0;else{var nt=k%this.DB,Ft=this.DB-nt,$t=(1<<nt)-1;q[0]=this[xe]>>nt;for(var dn=xe+1;dn<this.t;++dn)q[dn-xe-1]|=(this[dn]&$t)<<Ft,q[dn-xe]=this[dn]>>nt;nt>0&&(q[this.t-xe-1]|=(this.s&$t)<<Ft),q.t=this.t-xe,q.clamp()}},ye.prototype.subTo=function(k,q){for(var xe=0,nt=0,Ft=Math.min(k.t,this.t);xe<Ft;)nt+=this[xe]-k[xe],q[xe++]=nt&this.DM,nt>>=this.DB;if(k.t<this.t){for(nt-=k.s;xe<this.t;)nt+=this[xe],q[xe++]=nt&this.DM,nt>>=this.DB;nt+=this.s}else{for(nt+=this.s;xe<k.t;)nt-=k[xe],q[xe++]=nt&this.DM,nt>>=this.DB;nt-=k.s}q.s=nt<0?-1:0,nt<-1?q[xe++]=this.DV+nt:nt>0&&(q[xe++]=nt),q.t=xe,q.clamp()},ye.prototype.multiplyTo=function(k,q){var xe=this.abs(),nt=k.abs(),Ft=xe.t;for(q.t=Ft+nt.t;--Ft>=0;)q[Ft]=0;for(Ft=0;Ft<nt.t;++Ft)q[Ft+xe.t]=xe.am(0,nt[Ft],q,Ft,0,xe.t);q.s=0,q.clamp(),this.s!=k.s&&ye.ZERO.subTo(q,q)},ye.prototype.squareTo=function(k){for(var q=this.abs(),xe=k.t=2*q.t;--xe>=0;)k[xe]=0;for(xe=0;xe<q.t-1;++xe){var nt=q.am(xe,q[xe],k,2*xe,0,1);(k[xe+q.t]+=q.am(xe+1,2*q[xe],k,2*xe+1,nt,q.t-xe-1))>=q.DV&&(k[xe+q.t]-=q.DV,k[xe+q.t+1]=1)}k.t>0&&(k[k.t-1]+=q.am(xe,q[xe],k,2*xe,0,1)),k.s=0,k.clamp()},ye.prototype.divRemTo=function(k,q,xe){var nt=k.abs();if(!(nt.t<=0)){var Ft=this.abs();if(Ft.t<nt.t)return q?.fromInt(0),void(null!=xe&&this.copyTo(xe));null==xe&&(xe=Ye());var $t=Ye(),dn=this.s,Fn=k.s,ci=this.DB-yn(nt[nt.t-1]);ci>0?(nt.lShiftTo(ci,$t),Ft.lShiftTo(ci,xe)):(nt.copyTo($t),Ft.copyTo(xe));var Hi=$t.t,Fr=$t[Hi-1];if(0!=Fr){var Mo=Fr*(1<<this.F1)+(Hi>1?$t[Hi-2]>>this.F2:0),mo=this.FV/Mo,xo=(1<<this.F1)/Mo,eo=1<<this.F2,So=xe.t,pa=So-Hi,ks=q??Ye();for($t.dlShiftTo(pa,ks),xe.compareTo(ks)>=0&&(xe[xe.t++]=1,xe.subTo(ks,xe)),ye.ONE.dlShiftTo(Hi,ks),ks.subTo($t,$t);$t.t<Hi;)$t[$t.t++]=0;for(;--pa>=0;){var fa=xe[--So]==Fr?this.DM:Math.floor(xe[So]*mo+(xe[So-1]+eo)*xo);if((xe[So]+=$t.am(0,fa,xe,pa,0,Hi))<fa)for($t.dlShiftTo(pa,ks),xe.subTo(ks,xe);xe[So]<--fa;)xe.subTo(ks,xe)}null!=q&&(xe.drShiftTo(Hi,q),dn!=Fn&&ye.ZERO.subTo(q,q)),xe.t=Hi,xe.clamp(),ci>0&&xe.rShiftTo(ci,xe),dn<0&&ye.ZERO.subTo(xe,xe)}}},ye.prototype.invDigit=function(){if(this.t<1)return 0;var k=this[0];if(!(1&k))return 0;var q=3&k;return(q=(q=(q=(q=q*(2-(15&k)*q)&15)*(2-(255&k)*q)&255)*(2-((65535&k)*q&65535))&65535)
vendor: 4,608 bytes, line 1
1*(2-k*q%this.DV)%this.DV)>0?this.DV-q:-q},ye.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},ye.prototype.exp=function(k,q){if(k>4294967295||k<1)return ye.ONE;var xe=Ye(),nt=Ye(),Ft=q.convert(this),$t=yn(k)-1;for(Ft.copyTo(xe);--$t>=0;)if(q.sqrTo(xe,nt),(k&1<<$t)>0)q.mulTo(nt,Ft,xe);else{var dn=xe;xe=nt,nt=dn}return q.revert(xe)},ye.prototype.toString=function(k){if(this.s<0)return"-"+this.negate().toString(k);var q;if(16==k)q=4;else if(8==k)q=3;else if(2==k)q=1;else if(32==k)q=5;else{if(4!=k)return this.toRadix(k);q=2}var xe,nt=(1<<q)-1,Ft=!1,$t="",dn=this.t,Fn=this.DB-dn*this.DB%q;if(dn-- >0)for(Fn<this.DB&&(xe=this[dn]>>Fn)>0&&(Ft=!0,$t=tn(xe));dn>=0;)Fn<q?(xe=(this[dn]&(1<<Fn)-1)<<q-Fn,xe|=this[--dn]>>(Fn+=this.DB-q)):(xe=this[dn]>>(Fn-=q)&nt,Fn<=0&&(Fn+=this.DB,--dn)),xe>0&&(Ft=!0),Ft&&($t+=tn(xe));return Ft?$t:"0"},ye.prototype.negate=function(){var k=Ye();return ye.ZERO.subTo(this,k),k},ye.prototype.abs=function(){return this.s<0?this.negate():this},ye.prototype.compareTo=function(k){var q=this.s-k.s;if(0!=q)return q;var xe=this.t;if(0!=(q=xe-k.t))return this.s<0?-q:q;for(;--xe>=0;)if(0!=(q=this[xe]-k[xe]))return q;return 0},ye.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+yn(this[this.t-1]^this.s&this.DM)},ye.prototype.mod=function(k){var q=Ye();return this.abs().divRemTo(k,null,q),this.s<0&&q.compareTo(ye.ZERO)>0&&k.subTo(q,q),q},ye.prototype.modPowInt=function(k,q){var xe;return xe=k<256||q.isEven()?new In(q):new En(q),this.exp(k,xe)},ye.ZERO=hn(0),ye.ONE=hn(1),Si.prototype.convert=mn,Si.prototype.revert=mn,Si.prototype.mulTo=function(k,q,xe){k.multiplyTo(q,xe)},Si.prototype.sqrTo=function(k,q){k.squareTo(q)},_n.prototype.convert=function(k){if(k.s<0||k.t>2*this.m.t)return k.mod(this.m);if(k.compareTo(this.m)<0)return k;var q=Ye();return k.copyTo(q),this.reduce(q),q},_n.prototype.revert=function(k){return k},_n.prototype.reduce=function(k){for(k.drShiftTo(this.m.t-1,this.r2),k.t>this.m.t+1&&(k.t=this.m.t+1,k.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);k.compareTo(this.r2)<0;)k.dAddOffset(1,this.m.t+1);for(k.subTo(this.r2,k);k.compareTo(this.m)>=0;)k.subTo(this.m,k)},_n.prototype.mulTo=function(k,q,xe){k.multiplyTo(q,xe),this.reduce(xe)},_n.prototype.sqrTo=function(k,q){k.squareTo(q),this.reduce(q)};var Sn,Wn,si,vi=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Hn=(1<<26)/vi[vi.length-1];function Ii(){var k;k=(new Date).getTime(),Wn[si++]^=255&k,Wn[si++]^=k>>8&255,Wn[si++]^=k>>16&255,Wn[si++]^=k>>24&255,si>=de&&(si-=de)}if(ye.prototype.chunkSize=function(k){return Math.floor(Math.LN2*this.DB/Math.log(k))},ye.prototype.toRadix=function(k){if(null==k&&(k=10),0==this.signum()||k<2||k>36)return"0";var q=this.chunkSize(k),xe=Math.pow(k,q),nt=hn(xe),Ft=Ye(),$t=Ye(),dn="";for(this.divRemTo(nt,Ft,$t);Ft.signum()>0;)dn=(xe+$t.intValue()).toString(k).substr(1)+dn,Ft.divRemTo(nt,Ft,$t);return $t.intValue().toString(k)+dn},ye.prototype.fromRadix=function(k,q){this.fromInt(0),null==q&&(q=10);for(var xe=this.chunkSize(q),nt=Math.pow(q,xe),Ft=!1,$t=0,dn=0,Fn=0;Fn<k.length;++Fn){var ci=qt(k,Fn);ci<0?"-"==k.charAt(Fn)&&0==this.signum()&&(Ft=!0):(dn=q*dn+ci,++$t>=xe&&(this.dMultiply(nt),this.dAddOffset(dn,0),$t=0,dn=0))}$t>0&&(this.dMultiply(Math.pow(q,$t)),this.dAddOffset(dn,0)),Ft&&ye.ZERO.subTo(this,this)},ye.prototype.fromNumber=function(k,q,xe){if("number"==typeof q)if(k<2)this.fromInt(1);else for(this.fromNumber(k,xe),this.testBit(k-1)||this.bitwiseTo(ye.ONE.shiftLeft(k-1),Bn,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(q);)this.dAddOffset(2,0),this.bitLength()>k&&this.subTo(ye.ONE.shiftLeft(k-1),this);else{var nt=new Array,Ft=7&k;nt.length=1+(k>>3),q.nextBytes(nt),Ft>0?nt[0]&=(1<<Ft)-1:nt[0]=0,this.fromString(nt,256)}},ye.prototype.bitwiseTo=function(k,q,xe){var nt,Ft,$t=Math.min(k.t,this.t);for(nt=0;nt<$t;++nt)xe[nt]=q(this[nt],k[nt]);if(k.t<this.t){for(Ft=k.s&this.DM,nt=$t;nt<this.t;++nt)xe[nt]=q(this[nt],Ft);
vendor: 5,713 bytes, line 1
1xe.t=this.t}else{for(Ft=this.s&this.DM,nt=$t;nt<k.t;++nt)xe[nt]=q(Ft,k[nt]);xe.t=k.t}xe.s=q(this.s,k.s),xe.clamp()},ye.prototype.changeBit=function(k,q){var xe=ye.ONE.shiftLeft(k);return this.bitwiseTo(xe,q,xe),xe},ye.prototype.addTo=function(k,q){for(var xe=0,nt=0,Ft=Math.min(k.t,this.t);xe<Ft;)nt+=this[xe]+k[xe],q[xe++]=nt&this.DM,nt>>=this.DB;if(k.t<this.t){for(nt+=k.s;xe<this.t;)nt+=this[xe],q[xe++]=nt&this.DM,nt>>=this.DB;nt+=this.s}else{for(nt+=this.s;xe<k.t;)nt+=k[xe],q[xe++]=nt&this.DM,nt>>=this.DB;nt+=k.s}q.s=nt<0?-1:0,nt>0?q[xe++]=nt:nt<-1&&(q[xe++]=this.DV+nt),q.t=xe,q.clamp()},ye.prototype.dMultiply=function(k){this[this.t]=this.am(0,k-1,this,0,0,this.t),++this.t,this.clamp()},ye.prototype.dAddOffset=function(k,q){if(0!=k){for(;this.t<=q;)this[this.t++]=0;for(this[q]+=k;this[q]>=this.DV;)this[q]-=this.DV,++q>=this.t&&(this[this.t++]=0),++this[q]}},ye.prototype.multiplyLowerTo=function(k,q,xe){var nt,Ft=Math.min(this.t+k.t,q);for(xe.s=0,xe.t=Ft;Ft>0;)xe[--Ft]=0;for(nt=xe.t-this.t;Ft<nt;++Ft)xe[Ft+this.t]=this.am(0,k[Ft],xe,Ft,0,this.t);for(nt=Math.min(k.t,q);Ft<nt;++Ft)this.am(0,k[Ft],xe,Ft,0,q-Ft);xe.clamp()},ye.prototype.multiplyUpperTo=function(k,q,xe){--q;var nt=xe.t=this.t+k.t-q;for(xe.s=0;--nt>=0;)xe[nt]=0;for(nt=Math.max(q-this.t,0);nt<k.t;++nt)xe[this.t+nt-q]=this.am(q-nt,k[nt],xe,0,0,this.t+nt-q);xe.clamp(),xe.drShiftTo(1,xe)},ye.prototype.modInt=function(k){if(k<=0)return 0;var q=this.DV%k,xe=this.s<0?k-1:0;if(this.t>0)if(0==q)xe=this[0]%k;else for(var nt=this.t-1;nt>=0;--nt)xe=(q*xe+this[nt])%k;return xe},ye.prototype.millerRabin=function(k){var q=this.subtract(ye.ONE),xe=q.getLowestSetBit();if(xe<=0)return!1;var nt=q.shiftRight(xe);(k=k+1>>1)>vi.length&&(k=vi.length);for(var Ft=Ye(),$t=0;$t<k;++$t){Ft.fromInt(vi[Math.floor(Math.random()*vi.length)]);var dn=Ft.modPow(nt,this);if(0!=dn.compareTo(ye.ONE)&&0!=dn.compareTo(q)){for(var Fn=1;Fn++<xe&&0!=dn.compareTo(q);)if(0==(dn=dn.modPowInt(2,this)).compareTo(ye.ONE))return!1;if(0!=dn.compareTo(q))return!1}}return!0},ye.prototype.clone=function(){var k=Ye();return this.copyTo(k),k},ye.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},ye.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},ye.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},ye.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},ye.prototype.toByteArray=function(){var k=this.t,q=new Array;q[0]=this.s;var xe,nt=this.DB-k*this.DB%8,Ft=0;if(k-- >0)for(nt<this.DB&&(xe=this[k]>>nt)!=(this.s&this.DM)>>nt&&(q[Ft++]=xe|this.s<<this.DB-nt);k>=0;)nt<8?(xe=(this[k]&(1<<nt)-1)<<8-nt,xe|=this[--k]>>(nt+=this.DB-8)):(xe=this[k]>>(nt-=8)&255,nt<=0&&(nt+=this.DB,--k)),128&xe&&(xe|=-256),0==Ft&&(128&this.s)!=(128&xe)&&++Ft,(Ft>0||xe!=this.s)&&(q[Ft++]=xe);return q},ye.prototype.equals=function(k){return 0==this.compareTo(k)},ye.prototype.min=function(k){return this.compareTo(k)<0?this:k},ye.prototype.max=function(k){return this.compareTo(k)>0?this:k},ye.prototype.and=function(k){var q=Ye();return this.bitwiseTo(k,Pn,q),q},ye.prototype.or=function(k){var q=Ye();return this.bitwiseTo(k,Bn,q),q},ye.prototype.xor=function(k){var q=Ye();return this.bitwiseTo(k,kn,q),q},ye.prototype.andNot=function(k){var q=Ye();return this.bitwiseTo(k,Cn,q),q},ye.prototype.not=function(){for(var k=Ye(),q=0;q<this.t;++q)k[q]=this.DM&~this[q];return k.t=this.t,k.s=~this.s,k},ye.prototype.shiftLeft=function(k){var q=Ye();return k<0?this.rShiftTo(-k,q):this.lShiftTo(k,q),q},ye.prototype.shiftRight=function(k){var q=Ye();return k<0?this.lShiftTo(-k,q):this.rShiftTo(k,q),q},ye.prototype.getLowestSetBit=function(){for(var k=0;k<this.t;++k)if(0!=this[k])return k*this.DB+Un(this[k]);return this.s<0?this.t*this.DB:-1},ye.prototype.bitCount=function(){for(var k=0,q=this.s&this.DM,xe=0;xe<this.t;++xe)k+=Oi(this[xe]^q);return k},ye.prototype.testBit=function(k){var q=Math.floor(k/this.DB);return q>=this.t?0!=this.s:!!(this[q]&1<<k%this.DB)},ye.prototype.setBit=function(k){return this.changeBit(k,Bn)},ye.prototype.clearBit=function(k){return this.changeBit(k,Cn)},ye.prototype.flipBit=function(k){return this.changeBit(k,kn)},ye.prototype.add=function(k){var q=Ye();return this.addTo(k,q),q},ye.prototype.subtract=function(k){var q=Ye();return this.subTo(k,q),q},ye.prototype.multiply=function(k){var q=Ye();return this.multiplyTo(k,q),q},ye.prototype.divide=function(k){var q=Ye();return this.divRemTo(k,q,null),q},ye.prototype.remainder=function(k){var q=Ye();return this.divRemTo(k,null,q),q},ye.prototype.divideAndRemainder=function(k){var q=Ye(),xe=Ye();return this.divRemTo(k,q,xe),new Array(q,xe)},ye.prototype.modPow=function(k,q){var xe,nt,Ft=k.bitLength(),$t=hn(1);if(Ft<=0)return $t;xe=Ft<18?1:Ft<48?3:Ft<144?4:Ft<768?5:6,nt=Ft<8?new In(q):q.isEven()?new _n(q):new En(q);var dn=new Array,Fn=3,ci=xe-1,Hi=(1<<xe)-1;if(dn[1]=nt.convert(this),xe>1){var Fr=Ye();for(nt.sqrTo(dn[1],Fr);Fn<=Hi;)dn[Fn]=Ye(),nt.mulTo(Fr,dn[Fn-2],dn[Fn]),Fn+=2}var Mo,mo,xo=k.t-1,eo=!0,So=Ye();for(Ft=yn(k[xo])-1;xo>=0;){for(Ft>=ci?Mo=k[xo]>>Ft-ci&Hi:(Mo=(k[xo]&(1<<Ft+1)-1)<<ci-Ft,xo>0&&(Mo|=k[xo-1]>>this.DB+Ft-ci)),Fn=xe;!(1&Mo);)Mo>>=1,--Fn;if((Ft-=Fn)<0&&(Ft+=this.DB,--xo),eo)dn[Mo].copyTo($t),eo=!1;else{for(;Fn>1;)nt.sqrTo($t,So),nt.sqrTo(So,$t),Fn-=2;Fn>0?nt.sqrTo($t,So):(mo=$t,$t=So,So=mo),nt.mulTo(So,dn[Mo],$t)}for(;xo>=0&&!(k[xo]&1<<Ft);)nt.sqrTo($t,So),mo=$t,$t=So,So=mo,--Ft<0&&(Ft=this.DB-1,--xo)}return nt.revert($t)},ye.prototype.modInverse=function(k){var q=k.isEven();if(this.isEven()&&q||0==k.signum())return ye.ZERO;
vendor: 2,408 bytes, line 1
1for(var xe=k.clone(),nt=this.clone(),Ft=hn(1),$t=hn(0),dn=hn(0),Fn=hn(1);0!=xe.signum();){for(;xe.isEven();)xe.rShiftTo(1,xe),q?(Ft.isEven()&&$t.isEven()||(Ft.addTo(this,Ft),$t.subTo(k,$t)),Ft.rShiftTo(1,Ft)):$t.isEven()||$t.subTo(k,$t),$t.rShiftTo(1,$t);for(;nt.isEven();)nt.rShiftTo(1,nt),q?(dn.isEven()&&Fn.isEven()||(dn.addTo(this,dn),Fn.subTo(k,Fn)),dn.rShiftTo(1,dn)):Fn.isEven()||Fn.subTo(k,Fn),Fn.rShiftTo(1,Fn);xe.compareTo(nt)>=0?(xe.subTo(nt,xe),q&&Ft.subTo(dn,Ft),$t.subTo(Fn,$t)):(nt.subTo(xe,nt),q&&dn.subTo(Ft,dn),Fn.subTo($t,Fn))}return 0!=nt.compareTo(ye.ONE)?ye.ZERO:Fn.compareTo(k)>=0?Fn.subtract(k):Fn.signum()<0?(Fn.addTo(k,Fn),Fn.signum()<0?Fn.add(k):Fn):Fn},ye.prototype.pow=function(k){return this.exp(k,new Si)},ye.prototype.gcd=function(k){var q=this.s<0?this.negate():this.clone(),xe=k.s<0?k.negate():k.clone();if(q.compareTo(xe)<0){var nt=q;q=xe,xe=nt}var Ft=q.getLowestSetBit(),$t=xe.getLowestSetBit();if($t<0)return q;for(Ft<$t&&($t=Ft),$t>0&&(q.rShiftTo($t,q),xe.rShiftTo($t,xe));q.signum()>0;)(Ft=q.getLowestSetBit())>0&&q.rShiftTo(Ft,q),(Ft=xe.getLowestSetBit())>0&&xe.rShiftTo(Ft,xe),q.compareTo(xe)>=0?(q.subTo(xe,q),q.rShiftTo(1,q)):(xe.subTo(q,xe),xe.rShiftTo(1,xe));return $t>0&&xe.lShiftTo($t,xe),xe},ye.prototype.isProbablePrime=function(k){var q,xe=this.abs();if(1==xe.t&&xe[0]<=vi[vi.length-1]){for(q=0;q<vi.length;++q)if(xe[0]==vi[q])return!0;return!1}if(xe.isEven())return!1;for(q=1;q<vi.length;){for(var nt=vi[q],Ft=q+1;Ft<vi.length&&nt<Hn;)nt*=vi[Ft++];for(nt=xe.modInt(nt);q<Ft;)if(nt%vi[q++]==0)return!1}return xe.millerRabin(k)},ye.prototype.square=function(){var k=Ye();return this.squareTo(k),k},ye.prototype.Barrett=_n,null==Wn){var di;if(Wn=new Array,si=0,typeof window<"u"&&window.crypto)if(window.crypto.getRandomValues){var mr=new Uint8Array(32);for(window.crypto.getRandomValues(mr),di=0;di<32;++di)Wn[si++]=mr[di]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var Eo=window.crypto.random(32);for(di=0;di<Eo.length;++di)Wn[si++]=255&Eo.charCodeAt(di)}for(;si<de;)di=Math.floor(65536*Math.random()),Wn[si++]=di>>>8,Wn[si++]=255&di;si=0,Ii()}function ss(){if(null==Sn){for(Ii(),(Sn=new Pe).init(Wn),si=0;si<Wn.length;++si)Wn[si]=0;si=0}return Sn.next()}function ae(){}function Pe(){this.i=0,this.j=0,this.S=new Array}ae.prototype.nextBytes=function(k){var q;for(q=0;q<k.length;++q)k[q]=ss()},Pe.prototype.init=function(k){var q,xe,nt;
vendor: 6,167 bytes, line 1
1for(q=0;q<256;++q)this.S[q]=q;for(xe=0,q=0;q<256;++q)nt=this.S[q],this.S[q]=this.S[xe=xe+this.S[q]+k[q%k.length]&255],this.S[xe]=nt;this.i=0,this.j=0},Pe.prototype.next=function(){var k;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,k=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=k,this.S[k+this.S[this.i]&255]};var de=256;F.exports={default:ye,BigInteger:ye,SecureRandom:ae}}).call(se)}),Co={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},xr={sha256:Gn};function Lr(F,Q){if(this.n=null,this.e=0,!(null!=F&&null!=Q&&F.length>0&&Q.length>0))throw new Error("Invalid key data");this.n=new Xi.BigInteger(F,16),this.e=parseInt(Q,16)}Lr.prototype.verify=function(F,Q){Q=Q.replace(/[^0-9a-f]|[\s\n]]/gi,"");var he=new Xi.BigInteger(Q,16);if(he.bitLength()>this.n.bitLength())throw new Error("Signature does not match with the key modulus.");var ye=function(_t){for(var Ct in Co){var Mt=Co[Ct],Kt=Mt.length;if(_t.substring(0,Kt)===Mt)return{alg:Ct,hash:_t.substring(Kt)}}return[]}(he.modPowInt(this.e,this.n).toString(16).replace(/^1f+00/,""));if(0===ye.length)return!1;if(!xr.hasOwnProperty(ye.alg))throw new Error("Hashing algorithm is not supported.");var Ye=xr[ye.alg](F).toString();return ye.hash===Ye};for(var Ki=[],Zi=[],Br=typeof Uint8Array<"u"?Uint8Array:Array,yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Vr=0;Vr<64;++Vr)Ki[Vr]=yo[Vr],Zi[yo.charCodeAt(Vr)]=Vr;Zi[45]=62,Zi[95]=63;var Yo=function(F){var Q,he,hn,ye=function(tn){var qt=tn.length;if(qt%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var hn=tn.indexOf("=");return-1===hn&&(hn=qt),[hn,hn===qt?0:4-hn%4]}(F),Ye=ye[0],_t=ye[1],Ct=new Br(3*(Ye+(hn=_t))/4-hn),Mt=0,Kt=_t>0?Ye-4:Ye;for(he=0;he<Kt;he+=4)Q=Zi[F.charCodeAt(he)]<<18|Zi[F.charCodeAt(he+1)]<<12|Zi[F.charCodeAt(he+2)]<<6|Zi[F.charCodeAt(he+3)],Ct[Mt++]=Q>>16&255,Ct[Mt++]=Q>>8&255,Ct[Mt++]=255&Q;return 2===_t&&(Q=Zi[F.charCodeAt(he)]<<2|Zi[F.charCodeAt(he+1)]>>4,Ct[Mt++]=255&Q),1===_t&&(Q=Zi[F.charCodeAt(he)]<<10|Zi[F.charCodeAt(he+1)]<<4|Zi[F.charCodeAt(he+2)]>>2,Ct[Mt++]=Q>>8&255,Ct[Mt++]=255&Q),Ct};function Cs(F){var Q=F.length%4;return 0===Q?F:F+new Array(4-Q+1).join("=")}function ws(F){return F=Cs(F).replace(/\-/g,"+").replace(/_/g,"/"),decodeURIComponent(function(Q){for(var he="",ye=0;ye<Q.length;ye++)he+=String.fromCharCode(Q[ye]);return he}(Yo(F)).split("").map(function(Q){return"%"+("00"+Q.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function fs(F){return function(Q){for(var he="",ye=0;ye<Q.length;ye++){var Ye=Q[ye].toString(16);he+=2===Ye.length?Ye:"0"+Ye}return he}(Yo(Cs(F)))}var na=je(function(F){var Q,he;Q=se,he=function(){return function(){return function(ye){var Ye=[];if(0===ye.length)return"";if("string"!=typeof ye[0])throw new TypeError("Url must be a string. Received "+ye[0]);if(ye[0].match(/^[^/:]+:\/*$/)&&ye.length>1){var _t=ye.shift();ye[0]=_t+ye[0]}ye[0]=ye[0].match(/^file:\/\/\//)?ye[0].replace(/^([^/:]+):\/*/,"$1:///"):ye[0].replace(/^([^/:]+):\/*/,"$1://");for(var Ct=0;Ct<ye.length;Ct++){var Mt=ye[Ct];if("string"!=typeof Mt)throw new TypeError("Url must be a string. Received "+Mt);""!==Mt&&(Ct>0&&(Mt=Mt.replace(/^[\/]+/,"")),Mt=Mt.replace(/[\/]+$/,Ct<ye.length-1?"":"/"),Ye.push(Mt))}var Kt=Ye.join("/"),tn=(Kt=Kt.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return tn.shift()+(tn.length>0?"?":"")+tn.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},F.exports?F.exports=he():Q.urljoin=he()});function Do(F,Q){return Q=Q||{},new Promise(function(he,ye){var Ye=new XMLHttpRequest,_t=[],Ct=[],Mt={},Kt=function(){return{ok:2==(Ye.status/100|0),statusText:Ye.statusText,status:Ye.status,url:Ye.responseURL,text:function(){return Promise.resolve(Ye.responseText)},json:function(){return Promise.resolve(Ye.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([Ye.response]))},clone:Kt,headers:{keys:function(){return _t},entries:function(){return Ct},get:function(qt){return Mt[qt.toLowerCase()]},has:function(qt){return qt.toLowerCase()in Mt}}}};for(var tn in Ye.open(Q.method||"get",F,!0),Ye.onload=function(){Ye.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(qt,hn,yn){_t.push(hn=hn.toLowerCase()),Ct.push([hn,yn]),Mt[hn]=Mt[hn]?Mt[hn]+","+yn:yn}),he(Kt())},Ye.onerror=ye,Ye.withCredentials="include"==Q.credentials,Q.headers)Ye.setRequestHeader(tn,Q.headers[tn]);Ye.send(Q.body||null)})}function Ns(F){if(F.ok)return F.json();var Q=new Error(F.statusText);return Q.response=F,Promise.reject(Q)}function Qo(F){this.name="ConfigurationError",this.message=F||""}function Ui(F){this.name="TokenValidationError",this.message=F||""}Qo.prototype=Error.prototype,Ui.prototype=Error.prototype;var Vs=function(){function F(){}var Q=F.prototype;return Q.get=function(){return null},Q.has=function(){return null},Q.set=function(){return null},F}();xt.polyfill();var zs="RS256",rs=function(F){return"number"==typeof F},ha=function(){return new Date};function qo(F){var Q=F||{};if(this.jwksCache=Q.jwksCache||new Vs,this.expectedAlg=Q.expectedAlg||"RS256",this.issuer=Q.issuer,this.audience=Q.audience,this.leeway=0===Q.leeway?0:Q.leeway||60,this.jwksURI=Q.jwksURI,this.maxAge=Q.maxAge,this.__clock="function"==typeof Q.__clock?Q.__clock:ha,this.leeway<0||this.leeway>300)throw new Qo("The leeway should be positive and lower than five minutes.");if(zs!==this.expectedAlg)throw new Qo('Signature algorithm of "'+this.expectedAlg+'" is not supported. Expected the ID token to be signed with "'+zs+'".')}function Us(F,Q){this.plugins=Q;for(var he=0;he<this.plugins.length;he++){if(this.plugins[he].version!==ro.raw){var ye="";throw this.plugins[he].constructor&&this.plugins[he].constructor.name&&(ye=this.plugins[he].constructor.name),new Error("Plugin "+ye+" version ("+this.plugins[he].version+") is not compatible with the SDK ver
1sion ("+ro.raw+")")}this.plugins[he].setWebAuth(F)}}qo.prototype.verify=function(F,Q,he){if(!he&&Q&&"function"==typeof Q&&(he=Q,Q=void 0),!F)return he(new Ui("ID token is required but missing"),null);var ye=this.decode(F);if(ye instanceof Error)return he(new Ui("ID token could not be decoded"),null);var Ye=ye.encoded.header+"."+ye.encoded.payload,_t=fs(ye.encoded.signature),Ct=ye.header.alg,Mt=ye.header.kid,Kt=ye.payload.aud,tn=ye.payload.sub,qt=ye.payload.iss,hn=ye.payload.exp,yn=ye.payload.nbf,In=ye.payload.iat,En=ye.payload.azp,Pn=ye.payload.auth_time,Bn=ye.payload.nonce,kn=this.__clock(),Cn=this;if(Cn.expectedAlg!==Ct)return he(new Ui('Signature algorithm of "'+Ct+'" is not supported. Expected the ID token to be signed with "'+zs+'".'),null);this.getRsaVerifier(qt,Mt,function(Un,Oi){if(Un)return he(Un,null);if(!Oi.verify(Ye,_t))return he(new Ui("Invalid ID token signature."),null);if(!qt||"string"!=typeof qt)return he(new Ui("Issuer (iss) claim must be a string present in the ID token"),null);if(Cn.issuer!==qt)return he(new Ui('Issuer (iss) claim mismatch in the ID token, expected "'+Cn.issuer+'", found "'+qt+'"'),null);if(!tn||"string"!=typeof tn)return he(new Ui("Subject (sub) claim must be a string present in the ID token"),null);if(!Kt||"string"!=typeof Kt&&!Array.isArray(Kt))return he(new Ui("Audience (aud) claim must be a string or array of strings present in the ID token"),null);if(Array.isArray(Kt)&&!Kt.includes(Cn.audience))return he(new Ui('Audience (aud) claim mismatch in the ID token; expected "'+Cn.audience+'" but was not one of "'+Kt.join(", ")+'"'),null);if("string"==typeof Kt&&Cn.audience!==Kt)return he(new Ui('Audience (aud) claim mismatch in the ID token; expected "'+Cn.audience+'" but found "'+Kt+'"'),null);if(Q){if(!Bn||"string"!=typeof Bn)return he(new Ui("Nonce (nonce) claim must be a string present in the ID token"),null);if(Bn!==Q)return he(new Ui('Nonce (nonce) claim value mismatch in the ID token; expected "'+Q+'", found "'+Bn+'"'),null)}if(Array.isArray(Kt)&&Kt.length>1){if(!En||"string"!=typeof En)return he(new Ui("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values"),null);if(En!==Cn.audience)return he(new Ui('Authorized Party (azp) claim mismatch in the ID token; expected "'+Cn.audience+'", found "'+En+'"'),null)}if(!hn||!rs(hn))return he(new Ui("Expiration Time (exp) claim must be a number present in the ID token"),null);if(!In||!rs(In))return he(new Ui("Issued At (iat) claim must be a number present in the ID token"),null);var Si=hn+Cn.leeway,mn=new Date(0);if(mn.setUTCSeconds(Si),kn>mn)return he(new Ui('Expiration Time (exp) claim error in the ID token; current time "'+kn+'" is after expiration time "'+mn+'"'),null);if(yn&&rs(yn)){var _n=yn-Cn.leeway,Sn=new Date(0);if(Sn.setUTCSeconds(_n),kn<Sn)return he(new Ui('Not Before Time (nbf) claim error in the ID token; current time "'+kn+'" is before the not before time "'+Sn+'"'),null)}if(Cn.maxAge){if(!Pn||!rs(Pn))return he(new Ui("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified"),null);var Wn=Pn+Cn.maxAge+Cn.leeway,si=new Date(0);if(si.setUTCSeconds(Wn),kn>si)return he(new Ui('Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time "'+kn+'" is after last auth time at "'+si+'"'),null)}return he(null,ye.payload)})},qo.prototype.getRsaVerifier=function(F,Q,he){var ye=this,Ye=F+Q;Promise.resolve(this.jwksCache.has(Ye)).then(function(_t){return _t?ye.jwksCache.get(Ye):(Mt=(Ct={jwksURI:ye.jwksURI,iss:F,kid:Q}).jwksURI||na(Ct.iss,".well-known","jwks.json"),("undefined"==fetch?Do:fetch)(Mt).then(Ns).then(function(Kt){var tn,qt,hn,yn=null;for(tn=0;tn<Kt.keys.length&&null===yn;tn++)(qt=Kt.keys[tn]).kid===Ct.kid&&(yn=qt);if(!yn)throw new Error('Could not find a public key for Key ID (kid) "'+Ct.kid+'"');return{modulus:fs((hn=yn).n),exp:fs(hn.e)}}).catch(function(Kt){throw Kt}));var Ct,Mt}).then(function(_t){if(!_t||!_t.modulus||!_t.exp)throw new Error("Empty keyInfo in response");return Promise.resolve(ye.jwksCache.set(Ye,_t)).then(function(){he&&he(null,new Lr(_t.modulus,_t.exp))})}).catch(function(_t){he&&he(_t)})},qo.prototype.decode=function(F){var Q,he,ye=F.split(".");if(3!==ye.length)return new Ui("Cannot decode a malformed JWT");try{Q=JSON.parse(ws(ye[0])),he=JSON.parse(ws(ye[1]))}
1catch{return new Ui("Token header or payload is not valid JSON")}return{header:Q,payload:he,encoded:{header:ye[0],payload:ye[1],signature:ye[2]}}},qo.prototype.validateAccessToken=function(F,Q,he,ye){if(this.expectedAlg!==Q)return ye(new Ui('Signature algorithm of "'+Q+'" is not supported. Expected "'+this.expectedAlg+'"'));var Ye,_t=Gn(F),Ct=wi.stringify(_t),Mt=Ct.substring(0,Ct.length/2),Kt=wi.parse(Mt),tn=li.stringify(Kt);return ye((Ye={"+":"-","/":"_","=":""},tn.replace(/[+/=]/g,function(qt){return Ye[qt]})!==he?new Ui("Invalid access_token"):null))},Us.prototype.get=function(F){for(var Q=0;Q<this.plugins.length;Q++)if(this.plugins[Q].supports(F))return this.plugins[Q].init();return null};var Ps_randomString=function(F){var Q=new Uint8Array(F),he=[],Ye=Xe.getWindow().crypto||Xe.getWindow().msCrypto;if(!Ye)return null;for(var _t=Ye.getRandomValues(Q),Ct=0;Ct<_t.length;Ct++)he.push("0123456789ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz-._~"[_t[Ct]%65]);return he.join("")};function bo(F){var Q=F.transaction||{};this.namespace=Q.namespace||"com.auth0.auth.",this.keyLength=Q.keyLength||32,this.stateExpiration=F.stateExpiration?F.stateExpiration/60/24:1/48,this.storage=new Or(F),this.options=F}function _s(F){if(this.url=F.url,this.callback=F.callback,this.timeout=F.timeout||6e4,this.timeoutCallback=F.timeoutCallback||null,this.eventListenerType=F.eventListenerType||"message",this.iframe=null,this.timeoutHandle=null,this._destroyTimeout=null,this.transientMessageEventListener=null,this.proxyEventListener=null,this.eventValidator=F.eventValidator||{isValid:function(){return!0}},"function"!=typeof this.callback)throw new Error("options.callback must be a function")}function Is(F){this.webAuth=F,this.warn=new yi(F.baseOptions)}function os(F,Q){this.webAuth=F,this.baseOptions=Q,this.request=new vo(Q),this.webMessageHandler=new Is(F),this.storage=new Or(Q)}function Ks(F,Q){return["co/verifier",encodeURIComponent(F),encodeURIComponent(Q)].join("/")}function ms(F,Q){this.webAuth=F,this.baseOptions=Q,this.crossOriginAuthentication=new os(F,this.baseOptions),this.warn=new yi({disableWarnings:!!Q._disableDeprecationWarnings})}bo.prototype.process=function(F){if(!F.responseType)throw new Error("responseType is required");var Q=F.realm||F.connection,he=-1!==F.responseType.indexOf("id_token"),ye=this.generateTransaction(F.appState,F.state,F.nonce,Q,he,F.organization);return F.state||(F.state=ye.state),he&&!F.nonce&&(F.nonce=ye.nonce),F},bo.prototype.generateTransaction=function(F,Q,he,ye,Ye,_t){if(Q=Q||Ps_randomString(this.keyLength),he=he||(Ye?Ps_randomString(this.keyLength):null),Xe.getWindow().location.host!==this.options.domain){var Ct={nonce:he,appState:F,state:Q,lastUsedConnection:ye};_t&&(Ct.organization=_t),this.storage.setItem(this.namespace+Q,Ct,{expires:this.stateExpiration})}return{state:Q,nonce:he}},bo.prototype.getStoredTransaction=function(F){var Q;return Q=this.storage.getItem(this.namespace+F),this.clearTransaction(F),Q},bo.prototype.clearTransaction=function(F){this.storage.removeItem(this.namespace+F)},_s.prototype.init=function(){var F=this,Q=Xe.getWindow();switch(this.iframe=Q.document.createElement("iframe"),this.iframe.style.display="none",this.proxyEventListener=function(he){F.eventListener(he)},this.eventListenerType){case"message":this.eventSourceObject=Q;break;case"load":this.eventSourceObject=this.iframe;break;default:throw new Error("Unsupported event listener type: "+this.eventListenerType)}this.eventSourceObject.addEventListener(this.eventListenerType,this.proxyEventListener,!1),Q.document.body.appendChild(this.iframe),this.iframe.src=this.url,this.timeoutHandle=setTimeout(function(){F.timeoutHandler()},this.timeout)},_s.prototype.eventListener=function(F){var Q={event:F,sourceObject:this.eventSourceObject};this.eventValidator.isValid(Q)&&(this.destroy(),this.callback(Q))},_s.prototype.timeoutHandler=function(){this.destroy(),this.timeoutCallback&&this.timeoutCallback()},_s.prototype.destroy=function(){var F=this;clearTimeout(this.timeoutHandle),this._destroyTimeout=setTimeout(function(){F.eventSourceObject.removeEventListener(F.eventListenerType,F.proxyEventListener,!1),F.iframe.parentNode&&F.iframe.parentNode.removeChild(F.iframe)},0)},Is.prototype.run=function(F,Q){var he=this;F.responseMode="web_message",F.prompt="none";var _t,Ct,Mt,ye=Xe.getOrigin(),Ye=ai.getOriginFromUrl(F.redirectUri);if(Ye&&ye!==Ye)return Q({error:"origin_mismatch",error_description:"The redirectUri's origin ("+Ye+") should match the window's origin ("+ye+")."});_t=this.webAuth.client.buildAuthorizeUrl(F),Mt=function(_t,Ct){var Mt=_t;return!_t&&Ct.event.data.response.error&&(Mt=Ct.event.data.response),Mt?("consent_required"===Mt.error&&"localhost"===Xe.getWindow().location.hostname&&he.warn.warning("Consent Required. Consent can't be skipped on localhost. Read more here: https://auth0.com/docs/api-auth/user-consent#skipping-consent-for-first-party-clients"),he.webAuth.transactionManager.clearTransaction(Mt.state),Q(ai.pick(Mt,["error","error_description"]))):he.webAuth.validateAuthenticationResponse(F,Ct.event.data.response,Q)},new _s({url:_t,eventListenerType:"message",callback:function(Kt){Mt(null,Kt)}
vendor: 9,287 bytes, line 1
1,timeout:(Ct=F).timeout,eventValidator:{isValid:function(Kt){return!(!Kt.event.data||"authorization_response"!==Kt.event.data.type||Ct.state!==Kt.event.data.response.state)}},timeoutCallback:function(){Mt({error:"timeout",error_description:"Timeout during executing web_message communication",state:Ct.state})}}).init()},os.prototype.login=function(F,Q){var he=this,ye=P(this.baseOptions.rootUrl,"/co/authenticate");F.username=F.username||F.email,delete F.email;var Ye={client_id:F.clientID||this.baseOptions.clientID,username:F.username};F.password&&(Ye.password=F.password),F.otp&&(Ye.otp=F.otp);var _t=F.realm||this.baseOptions.realm;if(_t){var Ct=F.credentialType||this.baseOptions.credentialType||"http://auth0.com/oauth/grant-type/password-realm";Ye.realm=_t,Ye.credential_type=Ct}else Ye.credential_type="password";this.request.post(ye).withCredentials().send(Ye).end(function(Mt,Kt){if(Mt){var tn=Mt.response&&Mt.response.body||{error:"request_error",error_description:JSON.stringify(Mt)};return pr(Q,{forceLegacyError:!0})(tn)}function qt(){var hn=!0===F.popup;F=ai.blacklist(F,["password","credentialType","otp","popup","onRedirecting"]);var yn=ai.merge(F).with({loginTicket:Kt.body.login_ticket}),In=Ks(he.baseOptions.rootUrl,Kt.body.co_id);he.storage.setItem(In,Kt.body.co_verifier,{expires:1/96}),hn?he.webMessageHandler.run(yn,pr(Q,{forceLegacyError:!0})):he.webAuth.authorize(yn)}"function"==typeof F.onRedirecting?F.onRedirecting(qt):qt()})},os.prototype.callback=function(){var F=decodeURIComponent(function(ye){var Ye=("&"+Xe.getWindow().location.hash.substring(1)).split("&origin=");if(2===Ye.length)return Ye.pop().split("&").shift()}()),Q=Xe.getWindow(),he=this;Q.addEventListener("message",function(ye){if("co_verifier_request"===ye.data.type){var Ye=Ks(ye.origin,ye.data.request.id),_t=function(Ct,Mt){try{var Kt=Ct.getItem(Mt);return Ct.removeItem(Mt),Kt||""}catch{return""}}(he.storage,Ye);ye.source.postMessage({type:"co_verifier_response",response:{verifier:_t}},ye.origin)}}),Q.parent.postMessage({type:"ready"},F)},ms.prototype.loginWithCredentials=function(F,Q){F.realm=F.realm||F.connection,delete F.connection,this.crossOriginAuthentication.login(F,Q)},ms.prototype.signupAndLogin=function(F,Q){var he=this;return this.webAuth.client.dbConnection.signup(F,function(ye){return ye?Q(ye):(F.realm=F.realm||F.connection,delete F.connection,he.webAuth.login(F,Q))})};var ys=p(function(F){var Q=function(){function he(Ct,Mt,Kt){Ct.attachEvent?Ct.attachEvent("on"+Mt,Kt):Ct.addEventListener&&Ct.addEventListener(Mt,Kt,!1)}function ye(Ct,Mt,Kt){Ct.detachEvent?Ct.detachEvent("on"+Mt,Kt):Ct.removeEventListener&&Ct.removeEventListener(Mt,Kt,!1)}function Ye(Ct){/^https?:\/\//.test(Ct)||(Ct=window.location.href);var Mt=/^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(Ct);return Mt?Mt[1]:Ct}var _t=function(){if(typeof navigator>"u")return!1;var Ct=-1,Mt=navigator.userAgent;return"Microsoft Internet Explorer"===navigator.appName?null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(Mt)&&(Ct=parseFloat(RegExp.$1)):Mt.indexOf("Trident")>-1&&null!==new RegExp("rv:([0-9]{2,2}[.0-9]{0,})").exec(Mt)&&(Ct=parseFloat(RegExp.$1)),Ct>=8}();return typeof window<"u"&&window.JSON&&window.JSON.stringify&&window.JSON.parse&&window.postMessage?{open:function(Ct,Mt){if(!Mt)throw"missing required callback argument";var Kt,tn;Ct.url||(Kt="missing required 'url' parameter"),Ct.relay_url||(Kt="missing required 'relay_url' parameter"),Kt&&setTimeout(function(){Mt(Kt)},0),Ct.window_name||(Ct.window_name=null),Ct.window_features&&!function(){try{var kn=navigator.userAgent;return-1!=kn.indexOf("Fennec/")||-1!=kn.indexOf("Firefox/")&&-1!=kn.indexOf("Android")}catch{}return!1}()||(Ct.window_features=void 0);var qt,hn=Ct.origin||Ye(Ct.url);if(hn!==Ye(Ct.relay_url))return setTimeout(function(){Mt("invalid arguments: origin of url and relay_url must match")},0);_t&&((tn=document.createElement("iframe")).setAttribute("src",Ct.relay_url),tn.style.display="none",tn.setAttribute("name","__winchan_relay_frame"),document.body.appendChild(tn),qt=tn.contentWindow);var yn=Ct.popup||window.open(Ct.url,Ct.window_name,Ct.window_features);Ct.popup&&(yn.location.href=Ct.url),qt||(qt=yn);var In=setInterval(function(){yn&&yn.closed&&(Pn(),Mt&&(Mt("User closed the popup window"),Mt=null))},500),En=JSON.stringify({a:"request",d:Ct.params});function Pn(){if(tn&&document.body.removeChild(tn),tn=void 0,In&&(In=clearInterval(In)),ye(window,"message",Bn),ye(window,"unload",Pn),yn)try{yn.close()}catch{qt.postMessage("die",hn)}yn=qt=void 0}function Bn(kn){if(kn.origin===hn){try{var Cn=JSON.parse(kn.data)}catch(Un){if(Mt)return Mt(Un);throw Un}"ready"===Cn.a?qt.postMessage(En,hn):"error"===Cn.a?(Pn(),Mt&&(Mt(Cn.d),Mt=null)):"response"===Cn.a&&(Pn(),Mt&&(Mt(null,Cn.d),Mt=null))}}return he(window,"unload",Pn),he(window,"message",Bn),{originalPopup:yn,close:Pn,focus:function(){if(yn)try{yn.focus()}catch{}}}},onOpen:function(Ct){var Mt="*",Kt=_t?function(){for(var yn=window.opener.frames,In=yn.length-1;In>=0;In--)try{if(yn[In].location.protocol===window.location.protocol&&yn[In].location.host===window.location.host&&"__winchan_relay_frame"===yn[In].name)return yn[In]}catch{}}():window.opener;if(!Kt)throw"can't find relay frame";function tn(yn){yn=JSON.stringify(yn),_t?Kt.doPost(yn,Mt):Kt.postMessage(yn,Mt)}function qt(yn){if("die"===yn.data)try{window.close()}catch{}}he(_t?Kt:window,"message",function yn(In){var En;try{En=JSON.parse(In.data)}catch{}En&&"request"===En.a&&(ye(window,"message",yn),Mt=In.origin,Ct&&setTimeout(function(){Ct(Mt,En.d,function(Pn){Ct=void 0,tn({a:"response",d:Pn})})},0))}),he(_t?Kt:window,"message",qt);try{tn({a:"ready"})}catch{he(Kt,"load",function(In){tn({a:"ready"})})}var hn=function(){try{ye(_t?Kt:window,"message",qt)}catch{}Ct&&tn({a:"error",d:"client closed window"}),Ct=void 0;try{window.close()}catch{}};return he(window,"unload",hn),{detach:function(){ye(window,"unload",hn)}}}}:{open:function(Ct,Mt,Kt,tn){setTimeout(function(){tn("unsupported browser")},0)},onOpen:function(Ct){setTimeout(function(){Ct("unsupported browser")},0)}}}();F.exports&&(F.exports=Q)});function es(){this._current_popup=null}function Io(F,Q){this.baseOptions=Q,this.baseOptions.popupOrigin=Q.popupOrigin,this.client=F.client,this.webAuth=F,this.transactionManager=new bo(this.baseOptions),this.crossOriginAuthentication=new os(F,this.baseOptions),this.warn=new yi({disableWarnings:!!Q._disableDeprecationWarnings})}function No(F){this.authenticationUrl=F.authenticationUrl,this.timeout=F.timeout||6e4,this.handler=null,this.postMessageDataType=F.postMessageDataType||!1,this.postMessageOrigin=F.postMessageOrigin||Xe.getWindow().location.origin||Xe.getWindow().location.protocol+"//"+Xe.getWindow().location.hostname+(Xe.getWindow().location.port?":"+Xe.getWindow().location.port:"")}function us(F){this.baseOptions=F,this.request=new vo(F),this.transactionManager=new bo(this.baseOptions)}function Wo(F,Q){this.baseOptions=Q,this.client=F,this.baseOptions.universalLoginPage=!0,this.request=new vo(this.baseOptions),this.warn=new yi({disableWarnings:!!Q._disableDeprecationWarnings})}es.prototype.calculatePosition=function(F){var Q=F.width||500,he=F.height||600,ye=Xe.getWindow();return{width:Q,height:he,left:F.left||(void 0!==ye.screenX?ye.screenX:ye.screenLeft)+((void 0!==ye.outerWidth?ye.outerWidth:ye.document.body.clientWidth)-Q)/2,top:F.top||(void 0!==ye.screenY?ye.screenY:ye.screenTop)+((void 0!==ye.outerHeight?ye.outerHeight:ye.document.body.clientHeight)-he)/2}},es.prototype.preload=function(F){var Q=this,he=Xe.getWindow(),ye=this.calculatePosition(F.popupOptions||{}),Ye=ai.merge(ye).with(F.popupOptions),_t=F.url||"about:blank",Ct=Tr.stringify(Ye,{encode:!1,delimiter:","});return this._current_popup&&!this._current_popup.closed||(this._current_popup=he.open(_t,"auth0_signup_popup",Ct),this._current_popup.kill=function(){this.close(),Q._current_popup=null}),this._current_popup},es.prototype.load=function(F,Q,he,ye){var Ye=this,_t=this.calculatePosition(he.popupOptions||{}),Ct=ai.merge(_t).with(he.popupOptions),Mt=ai.merge({url:F,relay_url:Q,window_features:Tr.stringify(Ct,{delimiter:",",encode:!1}),popup:this._current_popup}).with(he),Kt=ys.open(Mt,function(tn,qt){if(!tn||"SyntaxError"!==tn.name)return Ye._current_popup=null,ye(tn,qt)});return Kt.focus(),Kt},Io.prototype.buildPopupHandler=function(){var F=this.baseOptions.plugins.get("popup.getPopupHandler");return F?F.getPopupHandler():new es},Io.prototype.preload=function(F){F=F||{};var Q=this.buildPopupHandler();return Q.preload(F),Q},Io.prototype.getPopupHandler=function(F,Q){return F.popupHandler?F.popupHandler:Q?this.preload(F):this.buildPopupHandler()},Io.prototype.callback=function(F){var Q=this,he=Xe.getWindow(),ye=(F=F||{}).popupOrigin||this.baseOptions.popupOrigin||Xe.getOrigin();he.opener?ys.onOpen(function(Ye,_t,Ct){if(Ye!==ye)return Ct({error:"origin_mismatch",error_description:"The popup's origin ("+Ye+") should match the `popupOrigin` parameter ("+ye+")."});Q.webAuth.parseHash(F||{},function(Mt,Kt){return Ct(Mt||Kt)})}):he.doPost=function(Ye){he.parent&&he.parent.postMessage(Ye,ye)}},Io.prototype.authorize=function(F,Q){var he,ye,Ye={},_t=this.baseOptions.plugins.get("popup.authorize"),Ct=ai.merge(this.baseOptions,["clientID","scope","domain","audie
1nce","tenant","responseType","redirectUri","_csrf","state","_intstate","nonce","organization","invitation"]).with(ai.blacklist(F,["popupHandler"]));return Ei.check(Ct,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),ye=P(this.baseOptions.rootUrl,"relay.html"),F.owp?Ct.owp=!0:(Ye.origin=function(F){/^https?:\/\//.test(F)||(F=window.location.href);var Q=/^(https?:\/\/[-_a-zA-Z.0-9:]+)/.exec(F);return Q?Q[1]:F}(Ct.redirectUri),ye=Ct.redirectUri),F.popupOptions&&(Ye.popupOptions=ai.pick(F.popupOptions,["width","height","top","left"])),_t&&(Ct=_t.processParams(Ct)),(Ct=this.transactionManager.process(Ct)).scope=Ct.scope||"openid profile email",delete Ct.domain,he=this.client.buildAuthorizeUrl(Ct),this.getPopupHandler(F).load(he,ye,Ye,pr(Q,{keepOriginalCasing:!0}))},Io.prototype.loginWithCredentials=function(F,Q){F.realm=F.realm||F.connection,F.popup=!0,F=ai.merge(this.baseOptions,["redirectUri","responseType","state","nonce","timeout"]).with(ai.blacklist(F,["popupHandler","connection"])),F=this.transactionManager.process(F),this.crossOriginAuthentication.login(F,Q)},Io.prototype.passwordlessVerify=function(F,Q){var he=this;return this.client.passwordless.verify(ai.blacklist(F,["popupHandler"]),function(ye){if(ye)return Q(ye);F.username=F.phoneNumber||F.email,F.password=F.verificationCode,delete F.email,delete F.phoneNumber,delete F.verificationCode,delete F.type,he.client.loginWithResourceOwner(F,Q)})},Io.prototype.signupAndLogin=function(F,Q){var he=this;return this.client.dbConnection.signup(F,function(ye){if(ye)return Q(ye);he.loginWithCredentials(F,Q)})},No.create=function(F){return new No(F)},No.prototype.login=function(F,Q){this.handler=new _s({auth0:this.auth0,url:this.authenticationUrl,eventListenerType:F?"message":"load",callback:this.getCallbackHandler(Q,F),timeout:this.timeout,eventValidator:this.getEventValidator(),timeoutCallback:function(){Q(null,"#error=timeout&error_description=Timeout+during+authentication+renew.")},usePostMessage:F||!1}),this.handler.init()},No.prototype.getEventValidator=function(){var F=this;return{isValid:function(Q){switch(Q.event.type){case"message":return Q.event.origin===F.postMessageOrigin&&Q.event.source===F.handler.iframe.contentWindow&&(!1===F.postMessageDataType||Q.event.data.type&&Q.event.data.type===F.postMessageDataType);case"load":if("about:"===Q.sourceObject.contentWindow.location.protocol)return!1;default:return!0}}}},No.prototype.getCallbackHandler=function(F,Q){return function(he){F(null,Q?"object"==typeof he.event.data&&he.event.data.hash?he.event.data.hash:he.event.data:he.sourceObject.contentWindow.location.hash)}},us.prototype.login=function(F,Q){var he,ye;return he=P(this.baseOptions.rootUrl,"usernamepassword","login"),F.username=F.username||F.email,F=ai.blacklist(F,["email","onRedirecting"]),ye=ai.merge(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience"]).with(F),ye=this.transactionManager.process(ye),ye=ai.toSnakeCase(ye,["auth0Client"]),this.request.post(he).send(ye).end(pr(Q))},us.prototype.callback=function(F){var Q,he=Xe.getDocument();(Q=he.createElement("div")).innerHTML=F,he.body.appendChild(Q).children[0].submit()},Wo.prototype.login=function(F,Q){if(Xe.getWindow().location.host!==this.baseOptions.domain)throw new Error("This method is meant to be used only inside the Universal Login Page.");var he,ye=ai.merge(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience","_csrf","state","_intstate","nonce"]).with(F);return Ei.check(ye,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(he=new us(this.baseOptions)).login(ye,function(Ye,_t){if(Ye)return Q(Ye);function Ct(){he.callback(_t)}if("function"==typeof F.onRedirecting)return F.onRedirecting(function(){Ct()});Ct()})},Wo.prototype.signupAndLogin=function(F,Q){var he=this;return he.client.client.dbConnection.signup(F,function(ye){return ye?Q(ye):he.login(F,Q)})},Wo.prototype.getSSOData=function(F,Q){var he,ye="";return"function"==typeof F&&(Q=F,F=!1),Ei.check(F,{type:"boolean",message:"withActiveDirectories parameter is not val
1id"}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),F&&(ye="?"+Tr.stringify({ldaps:1,client_id:this.baseOptions.clientID})),he=P(this.baseOptions.rootUrl,"user","ssodata",ye),this.request.get(he,{noHeaders:!0}).withCredentials().end(pr(Q))};var ts=function(){},Gs=ts,Js={lang:"en",templates:{auth0:function(F){return'<div class="captcha-challenge">\n  <img src="'+F.image+'" />\n  <button type="button" class="captcha-reload">\u21ba</button>\n</div>\n<input type="text" name="captcha"\n  class="form-control captcha-control"\n  placeholder="'+("code"===F.type?"Enter the code shown above":"Solve the formula shown above")+'" />'},recaptcha_v2:function(){return'<div class="recaptcha" ></div><input type="hidden" name="captcha" />'},recaptcha_enterprise:function(){return'<div class="recaptcha" ></div><input type="hidden" name="captcha" />'},hcaptcha:function(){return'<div class="hcaptcha" ></div><input type="hidden" name="captcha" />'},friendly_captcha:function(){return'<div class="friendly-captcha" ></div><input type="hidden" name="captcha" />'},arkose:function(){return'<div class="arkose" ></div><input type="hidden" name="captcha" />'},auth0_v2:function(){return'<div class="auth0_v2" ></div><input type="hidden" name="captcha" />'},error:function(){return'<div class="error" style="color: red;">Error getting the bot detection challenge. Please contact the system administrator.</div>'}}};function Os(F,Q,he,ye){F.innerHTML=Q.templates[he.provider](he),F.querySelector(".captcha-reload").addEventListener("click",function(Ye){Ye.preventDefault(),ye()})}function Oo(F){switch(F){case"recaptcha_v2":return window.grecaptcha;case"recaptcha_enterprise":return window.grecaptcha.enterprise;case"hcaptcha":return window.hcaptcha;case"friendly_captcha":return window.friendlyChallenge;case"arkose":return window.arkose;case"auth0_v2":return window.turnstile;default:throw new Error("Unknown captcha provider")}}function Hs(F,Q){var he=window.document.createElement("script");for(var ye in Q)ye.startsWith("data-")?he.dataset[ye.replace("data-","")]=Q[ye]:he[ye]=Q[ye];he.src=F,window.document.body.appendChild(he)}function Ts(F){window.document.querySelectorAll('script[src="'+F+'"]').forEach(function(Q){Q.remove()})}function mt(F,Q,he){var ye,Ye=F.hasAttribute("data-wid")&&F.getAttribute("data-wid");function _t(Mt){F.querySelector('input[name="captcha"]').value=Mt||""}if("friendly_captcha"===he.provider&&window.auth0FCInstance)return _t(),void window.auth0FCInstance.reset();if("arkose"===he.provider&&Oo(he.provider))return _t(),void Oo(he.provider).reset();if(Ye)return _t(),void Oo(he.provider).reset(Ye);switch(F.innerHTML=Q.templates[he.provider](he),he.provider){case"recaptcha_enterprise":case"recaptcha_v2":ye=".recaptcha";break;case"hcaptcha":ye=".hcaptcha";break;case"friendly_captcha":ye=".friendly-captcha";break;case"arkose":ye=".arkose";break;case"auth0_v2":ye=".auth0_v2"}var Ct=F.querySelector(ye);!function me(F,Q,he,ye){var Ye=Q.provider+"Callback_"+Math.floor(1000001*Math.random()),_t={async:!0,defer:!0},Ct=function(Kt,tn,qt,hn,yn){switch(Kt){case"recaptcha_v2":return"https://www.recaptcha.net/recaptcha/api.js?hl="+tn+"&onload="+qt;case"recaptcha_enterprise":return"https://www.recaptcha.net/recaptcha/enterprise.js?render=explicit&hl="+tn+"&onload="+qt;case"hcaptcha":return"https://js.hcaptcha.com/1/api.js?hl="+tn+"&onload="+qt;case"friendly_captcha":return"https://cdn.jsdelivr.net/npm/[email protected]/widget.min.js";case"arkose":return"https://"+hn+".arkoselabs.com/v2/"+yn+"/api.js";case"auth0_v2":return"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload="+qt;default:throw new Error("Unknown captcha provider")}}(Q.provider,Q.lang,Ye,Q.clientSubdomain,Q.siteKey);if("arkose"===Q.provider||"auth0_v2"===Q.provider){var Mt=0;_t["data-callback"]=Ye,_t.onerror=function(){if(Mt<3)return Ts(Ct),Hs(Ct,_t),void Mt++;Ts(Ct),ye("BYPASS_CAPTCHA")},window[Ye]=function(Kt){window.arkose=Kt,he(Kt)}}else window[Ye]=function(){delete window[Ye],he()},"friendly_captcha"===Q.provider&&(_t.onload=window[Ye]);Hs(Ct,_t)}(0,{lang:Q.lang,provider:he.provider,clientSubdomain:he.clientSubdomain,siteKey:he.siteKey},function(Mt){var Kt=Oo(he.provider);if("arkose"===he.provider){var tn=0;Mt.setConfig({onCompleted:function(hn){_t(hn.token),Gs()},onError:function(){tn<3?(_t(),Mt.reset(),setTimeout(function(){Mt.run()},500),tn++):_t("BYPASS_CAPTCHA")}})}else if("friendly_captcha"===he.provider)window.auth0FCInstance=new Kt.WidgetInstance(Ct,{sitekey:he.siteKey,language:Q.lang,doneCallback:function(hn){_t(hn)},errorCallback:function(){_t()}});else{var qt={callback:_t,"expired-callback":function(){_t()},"error-callback":function(){_t()},sitekey:he.siteKey};"auth0_v2"===he.provider&&(tn=0,qt.language=Q.lang,qt.theme="light",qt.retry="never",qt["response-field"]=!1,qt["error-callback"]=function(){return tn<3?(_t(),Oo(he.provider).reset(Ye),tn++):_t("BYPASS_CAPTCHA"),!0}),Ye=Kt.render(Ct,qt),F.setAttribute("data-wid",Ye)}},_t)}function lt(){return new Date}function jt(F){Ei.check(F,{type:"object",message:"options parameter is not val
1id"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},popupOrigin:{optional:!0,type:"string",message:"popupOrigin is not valid"},leeway:{optional:!0,type:"number",message:"leeway is not valid"},plugins:{optional:!0,type:"array",message:"plugins is not valid"},maxAge:{optional:!0,type:"number",message:"maxAge is not valid"},stateExpiration:{optional:!0,type:"number",message:"stateExpiration is not valid"},legacySameSiteCookie:{optional:!0,type:"boolean",message:"legacySameSiteCookie option is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"},_timesToRetryFailedRequests:{optional:!0,type:"number",message:"_timesToRetryFailedRequests option is not valid"}}),F.overrides&&Ei.check(F.overrides,{type:"object",message:"overrides option is not valid"},{__tenant:{optional:!0,type:"string",message:"__tenant option is required"},__token_issuer:{optional:!0,type:"string",message:"__token_issuer option is required"},__jwks_uri:{optional:!0,type:"string",message:"__jwks_uri is required"}}),this.baseOptions=F,this.baseOptions.plugins=new Us(this,this.baseOptions.plugins||[]),this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions._timesToRetryFailedRequests=F._timesToRetryFailedRequests?parseInt(F._timesToRetryFailedRequests):0,this.baseOptions.tenant=this.baseOptions.overrides&&this.baseOptions.overrides.__tenant||this.baseOptions.domain.split(".")[0],this.baseOptions.token_issuer=this.baseOptions.overrides&&this.baseOptions.overrides.__token_issuer||"https://"+this.baseOptions.domain+"/",this.baseOptions.jwksURI=this.baseOptions.overrides&&this.baseOptions.overrides.__jwks_uri,!1!==F.legacySameSiteCookie&&(this.baseOptions.legacySameSiteCookie=!0),this.transactionManager=new bo(this.baseOptions),this.client=new ei(this.baseOptions),this.redirect=new ms(this,this.baseOptions),this.popup=new Io(this,this.baseOptions),this.crossOriginAuthentication=new os(this,this.baseOptions),this.webMessageHandler=new Is(this),this._universalLogin=new Wo(this,this.baseOptions),this.ssodataStorage=new Ir(this.baseOptions)}function Mn(F,Q){this.baseOptions=Q,this.request=F}function Vn(F,Q){this.baseOptions=Q,this.request=F}function ei(F,Q){2===arguments.length?this.auth0=F:Q=F,Ei.check(Q,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=Q,this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions.rootUrl=this.baseOptions.domain&&0===this.baseOptions.domain.toLowerCase().indexOf("http")?this.baseOptions.domain:"https://"+this.baseOptions.domain,this.request=new vo(this.baseOptions),this.passwordless=new Mn(this.request,this.baseOptions),this.dbConnection=new Vn(this.request,this.baseOptions),this.warn=new yi({disableWarnings:!!Q._disableDeprecationWarnings}),this.ssodataStorage=new Ir(this.baseOptions)}function cr(F){Ei.check(F,{type:"object",message:"options parameter is not val
1id"},{domain:{type:"string",message:"domain option is required"},token:{type:"string",message:"token option is required"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=F,this.baseOptions.headers={Authorization:"Bearer "+this.baseOptions.token},this.request=new vo(this.baseOptions),this.baseOptions.rootUrl=P("https://"+this.baseOptions.domain,"api","v2")}jt.prototype.parseHash=function(F,Q){var he,ye;Q||"function"!=typeof F?F=F||{}:(Q=F,F={});var Ye=void 0===F.hash?Xe.getWindow().location.hash:F.hash;if(Ye=Ye.replace(/^#?\/?/,""),(he=Tr.parse(Ye)).hasOwnProperty("error"))return ye=Fo.buildResponse(he.error,he.error_description),he.state&&(ye.state=he.state),Q(ye);if(!he.hasOwnProperty("access_token")&&!he.hasOwnProperty("id_token")&&!he.hasOwnProperty("refresh_token"))return Q(null,null);var _t=(this.baseOptions.responseType||F.responseType||"").split(" ");return _t.length>0&&-1!==_t.indexOf("token")&&!he.hasOwnProperty("access_token")?Q(Fo.buildResponse("invalid_hash","response_type contains `token`, but the parsed hash does not contain an `access_token` property")):_t.length>0&&-1!==_t.indexOf("id_token")&&!he.hasOwnProperty("id_token")?Q(Fo.buildResponse("invalid_hash","response_type contains `id_token`, but the parsed hash does not contain an `id_token` property")):this.validateAuthenticationResponse(F,he,Q)},jt.prototype.validateAuthenticationResponse=function(F,Q,he){var ye=this;F.__enableIdPInitiatedLogin=F.__enableIdPInitiatedLogin||F.__enableImpersonation;var Ye=Q.state,_t=this.transactionManager.getStoredTransaction(Ye),Ct=F.state||_t&&_t.state||null;if((Ye||Ct||!F.__enableIdPInitiatedLogin)&&Ct!==Ye)return he({error:"invalid_token",errorDescription:"`state` does not match."});var Kt=F.nonce||_t&&_t.nonce||null,tn=_t&&_t.organization,qt=F.state||_t&&_t.appState||null,hn=function(yn,In){return yn?he(yn):(_t&&_t.lastUsedConnection&&(In&&(En=In.sub),ye.ssodataStorage.set(_t.lastUsedConnection,En)),he(null,{accessToken:(Pn=Q).access_token||null,idToken:Pn.id_token||null,idTokenPayload:In||null,appState:qt||null,refreshToken:Pn.refresh_token||null,state:Pn.state||null,expiresIn:Pn.expires_in?parseInt(Pn.expires_in,10):null,tokenType:Pn.token_type||null,scope:Pn.scope||null}));var En,Pn};return Q.id_token?this.validateToken(Q.id_token,Kt,function(yn,In){if(!yn){if(tn)if(0===tn.indexOf("org_")){if(!In.org_id)return hn(Fo.invalidToken("Organization Id (org_id) claim must be a string present in the ID token"));if(In.org_id!==tn)return hn(Fo.invalidToken('Organization Id (org_id) claim value mismatch in the ID token; expected "'+tn+'", found "'+In.org_id+'"'))}else{if(!In.org_name)return hn(Fo.invalidToken("Organization Name (org_name) claim must be a string present in the ID token"));if(In.org_name!==tn.toLowerCase())return hn(Fo.invalidToken('Organization Name (org_name) claim value mismatch in the ID token; expected "'+tn+'", found "'+In.org_name+'"'))}return Q.access_token&&In.at_hash?(new qo).validateAccessToken(Q.access_token,"RS256",In.at_hash,function(Pn){return Pn?hn(Fo.invalidToken(Pn.message)):hn(null,In)}):hn(null,In)}if("invalid_token"!==yn.error||yn.errorDescription&&yn.errorDescription.indexOf("Nonce (nonce) claim value mismatch in the ID token")>-1)return hn(yn);var En=(new qo).decode(Q.id_token);return"HS256"!==En.header.alg?hn(yn):(En.payload.nonce||null)!==Kt?hn({error:"invalid_token",errorDescription:'Nonce (nonce) claim value mismatch in the ID token; expected "'+Kt+'", found "'+En.payload.nonce+'"'}):Q.access_token?ye.client.userInfo(Q.access_token,function(Pn,Bn){return Pn?hn(Pn):hn(null,Bn)}):hn({error:"invalid_token",description:"The id_token cannot be validated because it was signed with the HS256 algorithm and public clients (like a browser) can\u2019t store secrets. Please read the associated doc for possible ways to fix this. Read more: https://auth0.com/docs/errors/libraries/auth0-js/invalid-token#parsing-an-hs256-signed-id-token-without-an-access-token"})}):hn(null,null)},jt.prototype.validateToken=function(F,Q,he){new qo({issuer:this.baseOptions.token_issuer,jwksURI:this.baseOptions.jwksURI,audience:this.baseOptions.clientID,leeway:this.baseOptions.leeway||60,maxAge:this.baseOptions.maxAge,__clock:this.baseOptions.__clock||lt}).verify(F,Q,function(ye,Ye){if(ye)return he(Fo.invalidToken(ye.message));he(null,Ye)})},jt.prototype.renewAuth=function(F,Q){var he=!!F.usePostMessage,ye=F.postMessageDataType||!1,Ye=F.postMessageOrigin||Xe.getWindow().origin,_t=F.timeout,Ct=this,Mt=ai.merge(this.baseOptions,["clientID","redirectUri","responseType","scope","audience","_csrf","state","_intstate","nonce"]).with(F);Mt.responseType=Mt.responseType||"token",Mt.responseMode=Mt.responseMode||"fragment",Mt=this.transactionManager.process(Mt),Ei.check(Mt,{type:"object",message:"options parameter is not val
1id"}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),Mt.prompt="none",Mt=ai.blacklist(Mt,["usePostMessage","tenant","postMessageDataType","postMessageOrigin"]),No.create({authenticationUrl:this.client.buildAuthorizeUrl(Mt),postMessageDataType:ye,postMessageOrigin:Ye,timeout:_t}).login(he,function(Kt,tn){if("object"==typeof tn)return Q(Kt,tn);Ct.parseHash({hash:tn},Q)})},jt.prototype.checkSession=function(F,Q){var he=ai.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(F);return"code"===he.responseType?Q({error:"error",error_description:"responseType can't be `code`"}):(F.nonce||(he=this.transactionManager.process(he)),he.redirectUri?(Ei.check(he,{type:"object",message:"options parameter is not valid"}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=ai.blacklist(he,["usePostMessage","tenant","postMessageDataType"]),void this.webMessageHandler.run(he,pr(Q,{forceLegacyError:!0,ignoreCasing:!0}))):Q({error:"error",error_description:"redirectUri can't be empty"}))},jt.prototype.changePassword=function(F,Q){return this.client.dbConnection.changePassword(F,Q)},jt.prototype.passwordlessStart=function(F,Q){var he=ai.merge(this.baseOptions,["responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(F.authParams);return F.authParams=this.transactionManager.process(he),this.client.passwordless.start(F,Q)},jt.prototype.signup=function(F,Q){return this.client.dbConnection.signup(F,Q)},jt.prototype.authorize=function(F){var Q=ai.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","organization","invitation"]).with(F);Ei.check(Q,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(Q=this.transactionManager.process(Q)).scope=Q.scope||"openid profile email",Xe.redirect(this.client.buildAuthorizeUrl(Q))},jt.prototype.signupAndAuthorize=function(F,Q){var he=this;return this.client.dbConnection.signup(ai.blacklist(F,["popupHandler"]),function(ye){if(ye)return Q(ye);F.realm=F.connection,F.username||(F.username=F.email),he.client.login(F,Q)})},jt.prototype.login=function(F,Q){var he=ai.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting","organization","invitation"]).with(F);he=this.transactionManager.process(he),Xe.getWindow().location.host===this.baseOptions.domain?(he.connection=he.realm,delete he.realm,this._universalLogin.login(he,Q)):this.crossOriginAuthentication.login(he,Q)},jt.prototype.passwordlessLogin=function(F,Q){var he=ai.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(F);if(he=this.transactionManager.process(he),Xe.getWindow().location.host===this.baseOptions.domain)this.passwordlessVerify(he,Q);else{var ye=ai.extend({credentialType:"http://auth0.com/oauth/grant-type/passwordless/otp",realm:he.connection,username:he.email||he.phoneNumber,otp:he.verificationCode},ai.blacklist(he,["connection","email","phoneNumber","verificationCode"]));this.crossOriginAuthentication.login(ye,Q)}},jt.prototype.crossOriginAuthenticationCallback=function(){this.crossOriginVerification()},jt.prototype.crossOriginVerification=function(){this.crossOriginAuthentication.callback()},jt.prototype.logout=function(F){Xe.redirect(this.client.buildLogoutUrl(F))},jt.prototype.passwordlessVerify=function(F,Q){var he=this,ye=ai.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(F);return Ei.check(ye,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),ye=this.transactionManager.process(ye),this.client.passwordless.verify(ye,function(Ye){if(Ye)return Q(Ye);function _t(){Xe.redirect(he.client.passwordless.buildVerifyUrl(ye))}if("function"==typeof F.onRedirecting)return F.onRedirecting(function(){_t()});_t()})},jt.prototype.renderCaptcha=function(F,Q,he){return function(F,Q,he,ye){function Ye(_t){_t=_t||ts,F.getChallenge(function(Ct,Mt){return Ct?(Q.innerHTML=he.templates.error(Ct),_t(Ct)):Mt.required?(Q.style.display="","auth0"===Mt.provider?Os(Q,he,Mt,Ye):"recaptcha_v2"!==Mt.provider&&"recaptcha_enterprise"!==Mt.provider&&"hcaptcha"!==Mt.provider&&"friendly_captcha"!==Mt.provider&&"arkose"!==Mt.provider&&"auth0_v2"!==Mt.provider||mt(Q,he,Mt),void("arkose"===Mt.provider?_t(null,{triggerCaptcha:function(Kt){Oo(Mt.provider).run(),Gs=Kt}}):_t())):(Q.style.display="none",void(Q.innerHTML=""))})}return he=ai.merge(Js).with(he||{}),Ye(ye),{reload:Ye,getValue:function(){var _t=Q.querySelector('input[name="captcha"]');if(_t)return _t.value}}}(this.client,F,Q,he)},jt.prototype.renderPasswordlessCaptcha=function(F,Q,he){return function(F,Q,he,ye){function Ye(_t){_t=_t||ts,F.passwordless.getChallenge(function(Ct,Mt){return Ct?(Q.innerHTML=he.templates.error(Ct),_t(Ct)):Mt.required?(Q.style.display="","auth0"===Mt.provider?Os(Q,he,Mt,Ye):"recaptcha_v2"!==Mt.provider&&"recaptcha_enterprise"!==Mt.provider&&"hcaptcha"!==Mt.provider&&"friendly_captcha"!==Mt.provider&&"arkose"!==Mt.provider&&"auth0_v2"!==Mt.provider||mt(Q,he,Mt),void("arkose"===Mt.provider?_t(null,{triggerCaptcha:function(Kt){Oo(Mt.provider).run(),Gs=Kt}}):_t())):(Q.style.display="none",void(Q.innerHTML=""))})}return he=ai.merge(Js).with(he||{}),Ye(ye),{reload:Ye,getValue:function(){var _t=Q.querySelector('input[name="captcha"]');if(_t)return _t.value}}}(this.client,F,Q,he)},Mn.prototype.buildVerifyUrl=function(F){var Q,he;return Ei.check(F,{type:"object",message:"options parameter is not val
1id"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(ye){return!ye.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(ye){return!ye.phoneNumber}}}),Q=ai.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","protocol","nonce"]).with(F),this.baseOptions._sendTelemetry&&(Q.auth0Client=this.request.getTelemetryData()),Q=ai.toSnakeCase(Q,["auth0Client"]),he=Tr.stringify(Q),P(this.baseOptions.rootUrl,"passwordless","verify_redirect","?"+he)},Mn.prototype.start=function(F,Q){var he,ye;Ei.check(F,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},send:{type:"string",message:"send option is required",values:["link","code"],value_message:"send is not valid ([link, code])"},phoneNumber:{optional:!0,type:"string",message:"phoneNumber option is required",condition:function(Ct){return"code"===Ct.send||!Ct.email}},email:{optional:!0,type:"string",message:"email option is required",condition:function(Ct){return"link"===Ct.send||!Ct.phoneNumber}},authParams:{optional:!0,type:"object",message:"authParams option is required"}}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"passwordless","start");var Ye=F.xRequestLanguage;return delete F.xRequestLanguage,(ye=ai.merge(this.baseOptions,["clientID","responseType","redirectUri","scope"]).with(F)).scope&&(ye.authParams=ye.authParams||{},ye.authParams.scope=ye.authParams.scope||ye.scope),ye.redirectUri&&(ye.authParams=ye.authParams||{},ye.authParams.redirect_uri=ye.authParams.redirectUri||ye.redirectUri),ye.responseType&&(ye.authParams=ye.authParams||{},ye.authParams.response_type=ye.authParams.responseType||ye.responseType),delete ye.redirectUri,delete ye.responseType,delete ye.scope,ye=ai.toSnakeCase(ye,["auth0Client","authParams"]),this.request.post(he,Ye?{xRequestLanguage:Ye}:void 0).send(ye).end(pr(Q))},Mn.prototype.verify=function(F,Q){var he,ye;return Ei.check(F,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(Ye){return!Ye.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(Ye){return!Ye.phoneNumber}}}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),ye=ai.pick(F,["connection","verificationCode","phoneNumber","email","auth0Client","clientID"]),ye=ai.toSnakeCase(ye,["auth0Client"]),he=P(this.baseOptions.rootUrl,"passwordless","verify"),this.request.post(he).send(ye).end(pr(Q))},Mn.prototype.getChallenge=function(F){if(Ei.check(F,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return F();var Q=P(this.baseOptions.rootUrl,"passwordless","challenge");return this.request.post(Q).send({state:this.baseOptions.state}).end(pr(F,{ignoreCasing:!0}))},Vn.prototype.signup=function(F,Q){var he,ye,Ye;return Ei.check(F,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"},password:{type:"string",message:"password option is required"}}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"dbconnections","signup"),Ye=(ye=ai.merge(this.baseOptions,["clientID","state"]).with(F)).user_metadata||ye.userMetadata,ye=ai.blacklist(ye,["scope","userMetadata","user_metadata"]),ye=ai.toSnakeCase(ye,["auth0Client"]),Ye&&(ye.user_metadata=Ye),this.request.post(he).send(ye).end(pr(Q))},Vn.prototype.changePassword=function(F,Q){var he,ye;return Ei.check(F,{type:"object",message:"options parameter is not val
1id"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"}}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"dbconnections","change_password"),ye=ai.merge(this.baseOptions,["clientID"]).with(F,["email","connection"]),ye=ai.toSnakeCase(ye,["auth0Client"]),this.request.post(he).send(ye).end(pr(Q))},ei.prototype.buildAuthorizeUrl=function(F){var Q,he;return Ei.check(F,{type:"object",message:"options parameter is not valid"}),Q=ai.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience"]).with(F),Ei.check(Q,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},redirectUri:{optional:!0,type:"string",message:"redirectUri option is required"},responseType:{type:"string",message:"responseType option is required"},nonce:{type:"string",message:"nonce option is required",condition:function(ye){return-1===ye.responseType.indexOf("code")&&-1!==ye.responseType.indexOf("id_token")}},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),this.baseOptions._sendTelemetry&&(Q.auth0Client=this.request.getTelemetryData()),Q.connection_scope&&Ei.isArray(Q.connection_scope)&&(Q.connection_scope=Q.connection_scope.join(",")),Q=ai.blacklist(Q,["username","popupOptions","domain","tenant","timeout","appState"]),Q=ai.toSnakeCase(Q,["auth0Client"]),Q=function(F,Q){var he=ai.getKeysNotIn(Q,ir);return he.length>0&&F.warning("Following parameters are not allowed on the `/authorize` endpoint: ["+he.join(",")+"]"),Q}(this.warn,Q),he=Tr.stringify(Q),P(this.baseOptions.rootUrl,"authorize","?"+he)},ei.prototype.buildLogoutUrl=function(F){var Q,he;return Ei.check(F,{optional:!0,type:"object",message:"options parameter is not valid"}),Q=ai.merge(this.baseOptions,["clientID"]).with(F||{}),this.baseOptions._sendTelemetry&&(Q.auth0Client=this.request.getTelemetryData()),Q=ai.toSnakeCase(Q,["auth0Client","returnTo"]),he=Tr.stringify(ai.blacklist(Q,["federated"])),F&&void 0!==F.federated&&!1!==F.federated&&"false"!==F.federated&&(he+="&federated"),P(this.baseOptions.rootUrl,"v2","logout","?"+he)},ei.prototype.loginWithDefaultDirectory=function(F,Q){return Ei.check(F,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),F.grantType="password",this.oauthToken(F,Q)},ei.prototype.login=function(F,Q){return Ei.check(F,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},realm:{type:"string",message:"realm option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),F.grantType="http://auth0.com/oauth/grant-type/password-realm",this.oauthToken(F,Q)},ei.prototype.oauthToken=function(F,Q){var he,ye;return Ei.check(F,{type:"object",message:"options parameter is not valid"}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"oauth","token"),ye=ai.merge(this.baseOptions,["clientID","scope","audience"]).with(F),Ei.check(ye,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},grantType:{type:"string",message:"grantType option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),ye=function(F,Q){return ai.pick(Q,fo)}(0,ye=ai.toSnakeCase(ye,["auth0Client"])),this.request.post(he).send(ye).end(pr(Q))},ei.prototype.loginWithResourceOwner=function(F,Q){var he,ye;return Ei.check(F,{type:"object",message:"options parameter is not val
1id"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},connection:{type:"string",message:"connection option is required"},scope:{optional:!0,type:"string",message:"scope option is required"}}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"oauth","ro"),ye=ai.merge(this.baseOptions,["clientID","scope"]).with(F,["username","password","scope","connection","device"]),(ye=ai.toSnakeCase(ye,["auth0Client"])).grant_type=ye.grant_type||"password",this.request.post(he).send(ye).end(pr(Q))},ei.prototype.getSSOData=function(F,Q){if(this.auth0||(this.auth0=new jt(this.baseOptions)),Xe.getWindow().location.host===this.baseOptions.domain)return this.auth0._universalLogin.getSSOData(F,Q);"function"==typeof F&&(Q=F),Ei.check(Q,{type:"function",message:"cb parameter is not valid"});var he=this.baseOptions.clientID,ye=this.ssodataStorage.get()||{};this.auth0.checkSession({responseType:"token id_token",scope:"openid profile email",connection:ye.lastUsedConnection,timeout:5e3},function(Ye,_t){return Ye?"login_required"===Ye.error?Q(null,{sso:!1}):("consent_required"===Ye.error&&(Ye.error_description="Consent required. When using `getSSOData`, the user has to be authenticated with the following scope: `openid profile email`."),Q(Ye,{sso:!1})):ye.lastUsedSub&&ye.lastUsedSub!==_t.idTokenPayload.sub?Q(Ye,{sso:!1}):Q(null,{lastUsedConnection:{name:ye.lastUsedConnection},lastUsedUserID:_t.idTokenPayload.sub,lastUsedUsername:_t.idTokenPayload.email||_t.idTokenPayload.name,lastUsedClientID:he,sessionClients:[he],sso:!0})})},ei.prototype.userInfo=function(F,Q){var he;return Ei.check(F,{type:"string",message:"accessToken parameter is not valid"}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"userinfo"),this.request.get(he).set("Authorization","Bearer "+F).end(pr(Q,{ignoreCasing:!0}))},ei.prototype.getChallenge=function(F){if(Ei.check(F,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return F();var Q=P(this.baseOptions.rootUrl,"usernamepassword","challenge");return this.request.post(Q).send({state:this.baseOptions.state}).end(pr(F,{ignoreCasing:!0}))},ei.prototype.delegation=function(F,Q){var he,ye;return Ei.check(F,{type:"object",message:"options parameter is not valid"},{grant_type:{type:"string",message:"grant_type option is required"}}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"delegation"),ye=ai.merge(this.baseOptions,["clientID"]).with(F),ye=ai.toSnakeCase(ye,["auth0Client"]),this.request.post(he).send(ye).end(pr(Q))},ei.prototype.getUserCountry=function(F){var Q;return Ei.check(F,{type:"function",message:"cb parameter is not valid"}),Q=P(this.baseOptions.rootUrl,"user","geoloc","country"),this.request.get(Q).end(pr(F))},cr.prototype.getUser=function(F,Q){var he;return Ei.check(F,{type:"string",message:"userId parameter is not valid"}),Ei.check(Q,{type:"function",message:"cb parameter is not valid"}),he=P(this.baseOptions.rootUrl,"users",F),this.request.get(he).end(pr(Q,{ignoreCasing:!0}))},cr.prototype.patchUserMetadata=function(F,Q,he){var ye;return Ei.check(F,{type:"string",message:"userId parameter is not valid"}),Ei.check(Q,{type:"object",message:"userMetadata parameter is not valid"}),Ei.check(he,{type:"function",message:"cb parameter is not valid"}),ye=P(this.baseOptions.rootUrl,"users",F),this.request.patch(ye).send({user_metadata:Q}).end(pr(he,{ignoreCasing:!0}))},cr.prototype.patchUserAttributes=function(F,Q,he){var ye;return Ei.check(F,{type:"string",message:"userId parameter is not valid"}),Ei.check(Q,{type:"object",message:"user parameter is not valid"}),Ei.check(he,{type:"function",message:"cb parameter is not valid"}),ye=P(this.baseOptions.rootUrl,"users",F),this.request.patch(ye).send(Q).end(pr(he,{ignoreCasing:!0}))},cr.prototype.linkUser=function(F,Q,he){var ye;return Ei.check(F,{type:"string",message:"userId parameter is not valid"}),Ei.check(Q,{type:"string",message:"secondaryUserToken parameter is not val
1id"}),Ei.check(he,{type:"function",message:"cb parameter is not valid"}),ye=P(this.baseOptions.rootUrl,"users",F,"identities"),this.request.post(ye).send({link_with:Q}).end(pr(he,{ignoreCasing:!0}))};const er={Authentication:ei,Management:cr,WebAuth:jt,version:ro};class Fi{}var ar=a(5714),zi=a(1291),Ni=a(5328);class _r extends Error{}_r.prototype.name="InvalidTokenError";var Yi=a(4438),Wr=a(2791),Ar=a(289),_o=a(638),xs=a(9002),Mr=a(3955),jr=a(8483),jo=a(3657),Vi=a(9173),Rs=a(4678);let zo=(()=>{class F{constructor(he,ye,Ye,_t,Ct,Mt,Kt,tn,qt,hn){this.router=he,this.appConfig=ye,this.customerService=Ye,this.shopService=_t,this.translateService=Ct,this.errorPopupService=Mt,this.loaderService=Kt,this.httpClient=tn,this.toastService=qt,this.emailNotConfirmedService=hn}login(he,ye,Ye){this.loaderService.onLoadShow$.next(!0);const _t=Ye===zi.kX.Customer,tn=new er.Authentication({clientID:_t?this.appConfig.Config.CUSTOMER_CLIENT_ID:this.appConfig.Config.SHOP_CLIENT_ID,audience:this.appConfig.Config.CUSTOMER_AUDIENCE,domain:_t?this.appConfig.Config.CUSTOMER_DOMAIN:this.appConfig.Config.SHOP_DOMAIN,redirectUri:_t?this.appConfig.Config.CUSTOMER_REDIRECT_URL:this.appConfig.Config.SHOP_REDIRECT_URL,responseType:"code"});tn.login({realm:"Username-Password-Authentication",password:ye,scope:"openid profile email offline_access",username:he},(qt,hn)=>{qt?(this.loaderService.onLoadShow$.next(!1),"invalid_grant"==qt.code&&this.toastService.showToast("i18n.app.login.label.incorrect-password",ar.m.Fail)):(this.setAuth0DataToLocalStorage(hn),this.loaderService.onLoadShow$.next(!1),tn.userInfo(hn.accessToken,(yn,In)=>{In.email_verified?In&&(localStorage.setItem(Ni.b.UserData,JSON.stringify(In)),this.router.navigate([`${Ye.toLowerCase()}/profile`])):(this.emailNotConfirmedService.showWindow=!0,localStorage.clear())}))})}googleLogIn(he){this.createWebAuth(he).authorize({connection:"google-oauth2",scope:"openid profile email offline_access",responseType:"code"})}facebookLogIn(he){this.createWebAuth(he).authorize({connection:"facebook",scope:"openid profile email offline_access",responseType:"code"})}appleLogIn(he){this.createWebAuth(he).authorize({connection:"apple",scope:"openid profile email offline_access",responseType:"code"})}passwordLess(he,ye){this.loaderService.onLoadShow$.next(!0),this.createWebAuth(ye).changePassword({connection:"Username-Password-Authentication",email:he},(_t,Ct)=>{_t?this.toastService.showToast("i18n.app.pages.profile.saved.error",ar.m.Fail):this.toastService.showToast("i18n.app.login.label.reset",ar.m.Success),this.loaderService.onLoadShow$.next(!1)})}createWebAuth(he){const ye=he===zi.kX.Customer;return new er.WebAuth({clientID:ye?this.appConfig.Config.CUSTOMER_CLIENT_ID:this.appConfig.Config.SHOP_CLIENT_ID,audience:this.appConfig.Config.CUSTOMER_AUDIENCE,domain:ye?this.appConfig.Config.CUSTOMER_DOMAIN:this.appConfig.Config.SHOP_DOMAIN,redirectUri:ye?this.appConfig.Config.CUSTOMER_REDIRECT_URL:this.appConfig.Config.SHOP_REDIRECT_URL,responseType:"code"})}signUp(he,ye,Ye){return new Promise((_t,Ct)=>{this.loaderService.onLoadShow$.next(!0),this.createWebAuth(Ye).signup({connection:"Username-Password-Authentication",password:ye,email:he},(Kt,tn)=>{"PasswordStrengthError"==Kt?.name?(this.loaderService.onLoadShow$.next(!1),_t(!1),this.toastService.showToast("i18n.app.login.label.password-weak",ar.m.Fail)):Kt&&(_t(!1),this.toastService.showToast("i18n.app.pages.profile.saved.error",ar.m.Fail)),Kt||(this.loaderService.onLoadShow$.next(!1),_t(!0))})})}getAuth0AuthorizationData(he,ye){const Ye=ye===zi.kX.Customer,_t=Ye?this.appConfig.Config.CUSTOMER_DOMAIN:this.appConfig.Config.SHOP_DOMAIN,Ct=Ye?this.appConfig.Config.CUSTOMER_CLIENT_ID:this.appConfig.Config.SHOP_CLIENT_ID,Mt=Ye?this.appConfig.Config.CUSTOMER_REDIRECT_URL:this.appConfig.Config.SHOP_REDIRECT_URL,Kt=new URLSearchParams;Kt.set("grant_type","authorization_code"),Kt.set("client_id",Ct),Kt.set("code",he),Kt.set("redirect_uri",Mt),this.httpClient.post(`https://${_t}/oauth/token`,Kt.toString(),{headers:new v.Lr({"Content-Type":"application/x-www-form-urlencoded"})}).subscribe(tn=>{const qt=this.mapAuth0Result(tn);this.setAuth0DataToLocalStorage(qt),this.getUserDataByAccessToken(qt.accessToken,ye)})}getNewAccessToken(he,ye){const Ye=ye===zi.kX.Customer,_t=Ye?this.appConfig.Config.CUSTOMER_DOMAIN:this.appConfig.Config.SHOP_DOMAIN,Ct=Ye?this.appConfig.Config.CUSTOMER_CLIENT_ID:this.appConfig.Config.SHOP_CLIENT_ID,Mt=new URLSearchParams;return Mt.set("grant_type",Ni.b.RefreshToken),Mt.set("client_id",Ct),Mt.set(Ni.b.RefreshToken,he),this.httpClient.post(`https://${_t}/oauth/token`,Mt.toString(),{headers:new v.Lr({"Content-Type":"application/x-www-form-urlencoded"})})}getUserDataByAccessToken(he,ye){const Ye=ye===zi.kX.Customer;new er.Authentication({clientID:Ye?this.appConfig.Config.CUSTOMER_CLIENT_ID:this.appConfig.Config.SHOP_CLIENT_ID,domain:Ye?this.appConfig.Config.CUSTOMER_DOMAIN:this.appConfig.Config.SHOP_DOMAIN,redirectUri:Ye?this.appConfig.Config.CUSTOMER_REDIRECT_URL:this.appConfig.Config.SHOP_REDIRECT_URL,audience:this.appConfig.Config.CUSTOMER_AUDIENCE,responseType:"code",scope:"openid profile email offline_access"}).userInfo(he,(tn,qt)=>{qt&&(localStorage.setItem(Ni.b.UserData,JSON.stringify(qt)),ye===zi.kX.Shop&&this.shopService.isShopProfileCompleted().subscribe(hn=>{this.router.navigate(hn?[`${ye.toLowerCase()}/dashboard`]:[`${ye.toLowerCase()}/profile`])}),ye===zi.kX.Customer&&this.customerService.isCustomerProfileCompleted().subscribe(hn=>{this.router.navigate(hn?[`${ye.toLowerCase()}/dashboard`]:[`${ye.toLowerCase()}/profile`])}))})}setAuth0DataToLocalStorage(he){localStorage.setItem(Ni.b.RefreshToken,he.refreshToken),localStorage.setItem(Ni.b.IdToken,he.idToken),localStorage.setItem(Ni.b.Expires,he.expires
1In?.toString()),localStorage.setItem(Ni.b.AccessToken,he.accessToken)}mapAuth0Result(he){const ye=new Fi;return ye.accessToken=he[Ni.b.AccessToken],ye.refreshToken=he[Ni.b.RefreshToken],ye.idToken=he[Ni.b.IdToken],ye.expiresIn=he[Ni.b.Expires],ye}getUserClaim(){return JSON.parse(localStorage.getItem(Ni.b.UserData))}getUserAuthId(){return this.getUserClaim()["user_uuid.read"]??""}getUserRoles(){const he=localStorage.getItem(Ni.b.UserData);return he?JSON.parse(he)["roles.read"]:[]}isAdmin(){const he=this.getUserRoles();return he.includes(c.R.customer_admin)||he.includes(m.z.shop_admin)}silentLogin(){const he=this.getUserRoles();null!=he&&Object.values(he).length>0&&he.forEach(ye=>{switch(ye){case c.R.customer_admin:case c.R.customer_default:return void this.router.navigate(["/customer/profile"]);case m.z.shop_admin:case m.z.shop_default:return void this.router.navigate(["/shop/profile"])}})}checkCustomerProfile(){this.customerService.isCustomerProfileCompleted().pipe((0,x.j)(()=>!1)).subscribe(he=>{he||this.goToCustomerProfile()})}checkShopProfile(){this.shopService.isShopProfileCompleted().pipe((0,x.j)(()=>!1)).subscribe(he=>{he||this.goToShopProfile()})}goToCustomerProfile(){this.router.navigate(["/customer/profile"]).then(he=>{he&&this.errorPopupService.showPopup("i18n.app.popup.text.fill-data",5e3,!0,"/customer/profile","i18n.app.popup.text.fill-data.button")})}goToShopProfile(){this.router.navigate(["/shop/profile"]).then(he=>{he&&this.errorPopupService.showPopup("i18n.app.popup.text.fill-data",5e3,!0,"/customer/profile","i18n.app.popup.text.fill-data.button")})}logOut(){const he=this.getUserRoles();Object.values(he).includes(c.R.customer_default)||Object.values(he).includes(c.R.customer_admin)?window.location.href="https://"+this.appConfig.Config.CUSTOMER_DOMAIN+"/v2/logout?client_id="+this.appConfig.Config.CUSTOMER_CLIENT_ID+"&returnTo="+this.appConfig.Config.LOGIN_REDIRECT_URL:window.location.href="https://"+this.appConfig.Config.SHOP_DOMAIN+"/v2/logout?client_id="+this.appConfig.Config.SHOP_CLIENT_ID+"&returnTo="+this.appConfig.Config.LOGIN_REDIRECT_URL,localStorage.removeItem(Ni.b.AccessToken),localStorage.removeItem(Ni.b.IdToken),localStorage.removeItem(Ni.b.Expires),localStorage.removeItem(Ni.b.UserData),localStorage.removeItem(Ni.b.RefreshToken)}isTokenExpired(){const he=this.getAccessToken();if(!he)return!0;try{const Ye=function mi(F,Q){if("string"!=typeof F)throw new _r("Invalid token specified: must be a string");Q||(Q={});const he=!0===Q.header?0:1,ye=F.split(".")[he];if("string"!=typeof ye)throw new _r(`Invalid token specified: missing part #${he+1}`);let Ye;try{Ye=function Jn(F){let Q=F.replace(/-/g,"+").replace(/_/g,"/");switch(Q.length%4){case 0:break;case 2:Q+="==";break;case 3:Q+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function tr(F){return decodeURIComponent(atob(F).replace(/(.)/g,(Q,he)=>{let ye=he.charCodeAt(0).toString(16).toUpperCase();return ye.length<2&&(ye="0"+ye),"%"+ye}))}(Q)}catch{return atob(Q)}}(ye)}catch(_t){throw new _r(`Invalid token specified: invalid base64 for part #${he+1} (${_t.message})`)}try{return JSON.parse(Ye)}catch(_t){throw new _r(`Invalid token specified: invalid json for part #${he+1} (${_t.message})`)}}(he).exp;return!Ye||1e3*Ye<Date.now()}catch{return!0}}getRefreshToken(){return localStorage.getItem(Ni.b.RefreshToken)}getAccessTokenForHub(){var he=this;return(0,t.A)(function*(){let ye=he.getAccessToken();if(he.isTokenExpired())try{const Ye=he.getRefreshToken(),_t=he.getUserRole(),
1Ct=yield function b(F,Q){const he="object"==typeof Q;return new Promise((ye,Ye)=>{let Ct,_t=!1;F.subscribe({next:Mt=>{Ct=Mt,_t=!0},error:Ye,complete:()=>{_t?ye(Ct):he?ye(Q.defaultValue):Ye(new _.G)}})})}(he.getNewAccessToken(Ye,_t)),Mt=he.mapAuth0Result(Ct);return he.setAuth0DataToLocalStorage(Mt),Mt.accessToken}catch(Ye){console.error("Failed to refresh token",Ye)}return ye})()}setLanguageFromLocalStorage(){const he=localStorage.getItem(Ni.b.Language),ye=this.translateService.getLangs();if(null!==he)ye.some(Ye=>Ye.includes(he))?(this.translateService.use(he),localStorage.setItem(Ni.b.Language,he)):(this.translateService.use("en"),localStorage.setItem(Ni.b.Language,"en"));else{const Ye=this.translateService.getBrowserLang();ye.some(_t=>_t.includes(Ye))?(this.translateService.setDefaultLang(Ye),this.translateService.use(Ye),localStorage.setItem(Ni.b.Language,Ye)):(this.translateService.setDefaultLang("en"),this.translateService.use("en"),localStorage.setItem(Ni.b.Language,"en"))}}availableLanguages(){this.translateService.langs.push("en"),this.translateService.langs.push("de")}getAccessToken(){return localStorage.getItem(Ni.b.AccessToken)}isAuthenticated(){return this.getUserRoles().length>0}getUserRole(){let he=zi.kX.NotSet;const ye=this.getUserRoles();return null!=ye&&Object.values(ye).length>0&&ye.forEach(Ye=>{switch(Ye){case c.R.customer_admin:case c.R.customer_default:he=zi.kX.Customer;break;case m.z.shop_admin:case m.z.shop_default:he=zi.kX.Shop}}),he}getRoute(he){const ye=this.getUserRole();let Ye=M.c.UnSet;switch(he){case M.c.ServiceRequests:Ye=ye===zi.kX.Customer?M.c.ServiceRequestsCustomer:M.c.ServiceRequestsShop;break;case M.c.AdminShops:Ye=M.c.AdminShops;break;case M.c.Home:Ye=ye===zi.kX.Customer?M.c.HomeCustomer:M.c.HomeShop;break;case M.c.Profile:Ye=ye===zi.kX.Customer?M.c.CustomerProfile:M.c.ShopProfile;break;case M.c.MyBikes:Ye=M.c.MyBikes;break;case M.c.ServiceJobsShop:Ye=M.c.ServiceJobsShop;break;case M.c.AdminServicesManagement:Ye=M.c.AdminServicesManagement;break;case M.c.AdminCustomers:Ye=M.c.AdminCustomers}return"/"+Ye}static#e=this.\u0275fac=function(ye){return new(ye||F)(Yi.KVO(Wr.Ix),Yi.KVO(Ar.o),Yi.KVO(_o.m),Yi.KVO(xs.s),Yi.KVO(Mr.c$),Yi.KVO(jr.Y),Yi.KVO(jo.Z),Yi.KVO(v.Qq),Yi.KVO(Vi.f),Yi.KVO(Rs.U))};static#t=this.\u0275prov=Yi.jDH({token:F,factory:F.\u0275fac})}return F})()},6445:(Nt,Le,a)=>{"use strict";a.d(Le,{o:()=>m});var t=a(1413),c=a(4438);let m=(()=>{class x{constructor(){this.onToastOpened$=new t.B,this.opened=!1,this.sideNavbarCompact=!0,this.showRole=!0}openBurger(){this.onToastOpened$.next(!0),document.body.style.overflow="hidden",this.opened=!0}closeBurger(){this.onToastOpened$.next(!1),document.body.style.overflow="visible",this.opened=!1}hideUserRole(){window.innerWidth<=580&&(this.showRole=!1)}shopUserRole(){window.innerWidth<=580&&(this.showRole=!0)}static#e=this.\u0275fac=function(v){return new(v||x)};static#t=this.\u0275prov=c.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},638:(Nt,Le,a)=>{"use strict";a.d(Le,{m:()=>m});var t=a(4438),c=a(1291);let m=(()=>{class x{constructor(b){this.client=b}getCustomerByUserAuthId(){return this.client.getByApiVersion(void 0)}isCustomerProfileCompleted(){return this.client.getIsCustomerProfileCompletedByApiVersion(void 0)}updateCustomer(b){return this.client.putByApiVersionAndBody(void 0,b)}updateProfilePicture(b){return this.client.postProfilePictureByApiVersionAndFile(void 0,b)}deleteProfilePicture(){return this.client.deleteProfilePictureByApiVersion(void 0)}getCustomerInformation(){return this.client.getInformationByApiVersion(void 0)}getShopProfilePreview(b){return this.client.getShopProfilePreviewByShopIdAndApiVersion(b,void 0)}deleteProfile(){return this.client.deleteProfileByApiVersion(void 0)}changeLanguage(b){return this.client.putChangeProfileLanguageByLanguageAndApiVersion(b,void 0)}getProfilePicture(b){if(b)return b?.startsWith("http")||b?.startsWith("data:image")?b:"data:image/png;base64,"+b}static#e=this.\u0275fac=function(v){return new(v||x)(t.KVO(c.hy))};static#t=this.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},4678:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>c});var t=a(4438);let c=(()=>{class m{constructor(){this.showWindow=!1}static#e=this.\u0275fac=function(b){return new(b||m)};static#t=this.\u0275prov=t.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},8483:(Nt,Le,a)=>{"use strict";a.d(Le,{Y:()=>m});var t=a(1413),c=a(4438);let m=(()=>{class x{constructor(){this.onPopupOpened$=new t.B,this.isShown=!1}showPopup(b,v,M,N,p){this.onPopupOpened$.next({message:b,showButton:M,buttonText:p,time:v,routerLink:N}),setTimeout(()=>{this.isShown=!1},v)}static#e=this.\u0275fac=function(v){return new(v||x)};static#t=this.\u0275prov=c.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},2360:(Nt,Le,a)=>{"use strict";a.d(Le,{g:()=>v});
1var t=a(1291),c=a(5328),m=a(4438),x=a(3955),_=a(638),b=a(9002);let v=(()=>{class M{constructor(p,P,g){this.translateService=p,this.customerService=P,this.shopService=g,this.languages=[],p.addLangs(["en","de"]),this.languages=this.getLanguages(),this.selectedLanguage=this.languages.find(U=>U.code===this.translateService.currentLang)}changeProfileLanguage(p,P){P===t.kX.Customer?this.customerService.changeLanguage(p).subscribe():this.shopService.changeLanguage(p).subscribe()}selectLanguage(p,P){p&&p!==t.tX.Undefined?(this.translateService.use(p.toLowerCase()),localStorage.setItem(c.b.Language,p.toLowerCase()),this.selectedLanguage=this.languages.find(g=>g.code===p.toLowerCase()),this.changeProfileLanguage(p,P)):this.selectLanguage(t.tX.En,P)}getLanguages(){return[{name:"Deutsch",code:"de",shortName:"De"},{name:"English",code:"en",shortName:"Eng"}]}static#e=this.\u0275fac=function(P){return new(P||M)(m.KVO(x.c$),m.KVO(_.m),m.KVO(b.s))};static#t=this.\u0275prov=m.jDH({token:M,factory:M.\u0275fac})}return M})()},3657:(Nt,Le,a)=>{"use strict";a.d(Le,{Z:()=>m});var t=a(1413),c=a(4438);let m=(()=>{class x{constructor(){this.onLoadShow$=new t.B,this.hide=!1}static#e=this.\u0275fac=function(v){return new(v||x)};static#t=this.\u0275prov=c.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},8345:(Nt,Le,a)=>{"use strict";a.d(Le,{G:()=>p});var t=a(467),c=a(1413),m=a(9308),x=a(2016),_=a(2757),b=a(5154),v=a(4438),M=a(289),N=a(5812);let p=(()=>{class P{constructor(U,G){this.appConfig=U,this.authService=G,this.sharedObj=new c.B,this.viewedServiceRequest=new c.B,this.onToastOpened$=new c.B,this.opened=!1,this.start()}setConnection(){var G,U=this;this.connection=(new m.$).withUrl(`${this.appConfig.Config.API_BASE_URL}/hubs/notificationHub`,{accessTokenFactory:(G=(0,t.A)(function*(){return U.authService.getAccessTokenForHub()}),function(){return G.apply(this,arguments)}),skipNegotiation:!0,transport:x.w.WebSockets}).configureLogging(_.$.None).build(),this.connection.on(b.qB.ReceiveNotificationEventOnClient,G=>{this.mapReceivedNotifications(G)}),this.connection.onclose(()=>{setTimeout(()=>{this.start()},5e3)})}checkNotification(U){this.connection.invoke(b.qB.ReceiveNotificationEventOnServer,U)}mapReceivedNotifications(U){this.sharedObj.next(U)}retrieveMappedObjectForNotifications(){return this.sharedObj.asObservable()}start(){var U=this;return(0,t.A)(function*(){U.setConnection();try{yield U.connection.start(),yield U.connection.invoke(b.qB.AddToGroupAsync)}catch(G){console.log(G),setTimeout(()=>{U.start()},5e3)}})()}openNotificationsMenu(){this.onToastOpened$.next(!0),document.body.style.overflow="hidden",this.opened=!0}closeNotificationsMenu(){this.onToastOpened$.next(!1),document.body.style.overflow="visible",this.opened=!1}static#e=this.\u0275fac=function(G){return new(G||P)(v.KVO(M.o),v.KVO(N.u))};static#t=this.\u0275prov=v.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}return P})()},9002:(Nt,Le,a)=>{"use strict";a.d(Le,{s:()=>x});var t=a(4438),c=a(1291),m=a(1626);let x=(()=>{class _{constructor(v,M){this.client=v,this.http=M,this.shopWorkingHours=[]}getShopUserByUserAuthId(){return this.client.getByApiVersion(void 0)}isShopProfileCompleted(){return this.client.getIsShopProfileCompletedByApiVersion(void 0)}updateShop(v){return this.client.putByApiVersionAndBody(void 0,v)}acceptShopServiceRequest(v,M){return this.client.postShopReplyByShopServiceRequestIdAndApiVersionAndBody(M,void 0,v)}updateProfilePicture(v){return this.client.postProfilePictureByApiVersionAndFile(void 0,v)}getInformation(){return this.client.getInformationByApiVersion(void 0)}deleteProfilePicture(){return this.client.deleteProfilePictureByApiVersion(void 0)}deleteProfile(){return this.client.deleteProfileByApiVersion(void 0)}changeLanguage(v){return this.client.putChangeProfileLanguageByLanguageAndApiVersion(v,void 0)}getProfilePicture(v){if(v.profilePicture)return v.profilePicture?.startsWith("http")||v.profilePicture?.startsWith("data:image")?v.profilePicture:"data:image/png;base64,"+v.profilePicture}static#e=this.\u0275fac=function(M){return new(M||_)(t.KVO(c.b5),t.KVO(m.Qq))};static#t=this.\u0275prov=t.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},1394:(Nt,Le,a)=>{"use strict";a.d(Le,{j:()=>v});var t=a(467);class c{constructor(){this.image="",this.model="",this.brand="",this.bikeType="",this.id="",this.year=0}}var m=a(1291),x=a(1413),_=a(4438),b=a(289);let v=(()=>{class M{constructor(p){this.appConfig=p,this.selectedBike=new x.B,this.authToken=this.appConfig.Config.BIKES_99_SPOKES_API_KEY,this.apiUrl="https://api.99spokes.com/v1/"}getBikes(p){var P=this;return(0,t.A)(function*(){const g=new URL(`${P.apiUrl}bikes`);g.searchParams.set("q",p),g.searchParams.set("limit","10"),g.searchParams.set("isFrameset","false"),g.searchParams.set("include","thumbnailUrl");const U=yield fetch(g,{headers:{accept:"application/json",Authorization:`Bearer ${P.authToken}`}});if(!U.ok)throw new Error(`Error ${U.status}`);const G=yield U.json(),A=[];for(const K of G.items){const z=new c;z.brand=K.maker,z.id=K.id,z.image=K.thumbnailUrl,z.model=K.model,z.year=K.year,z.bikeType=K.category,A.push(z)}return A})()}getBike(p){var P=this;return(0,t.A)(function*(){const g=new URL(`${P.apiUrl}bikes/${p}`);g.searchParams.set("include","weight,components,thumbnailUrl");const U=yield fetch(g,{headers:{accept:"application/json",Authorization:`Bearer ${P.authToken}`}});if(!U.ok)throw new Error(`Error ${U.status}`);const G=yield U.json(),A=new m.rG;A.frame=G.components?.frame?.description,A.fork=G.components?.fork?.description,A.bottomBracket=G.components?.bottomBracket?.description,A.headset=G.components?.headset?.description,A.stem=G.components?.stem?.description,A.handlebar=G.components?.handlebar?.description,A.saddle=G.components?.saddle?.description,A.seatpost=G.components?.seatpost?.description,A.pedals=G.components?.pedals?.description,A.rims=G.components?.rims?.description,A.frontHub=G.components?.frontHub?.description,A.rearHub=G.components?.rearHub?.description,A.tires=G.components?.tires?.description,A.crank=G.components?.crank?.description,A.shifters=G.components?.shifters?.description,A.cassette=G.components?.cassette?.description,A.chain=G.components?.chain?.description,A.brakes=G.components?.brakes?.description,A.brakeLevers=G.components?.brakeLevers?.description,A.motor=G.components?.motor?.description,A.battery=G.components?.battery?.description;const K=new m.zZ;return K.bikeAvatar=G.thumbnailUrl,K.brandName=G.maker,K.eMotorName=G.components?.motor?.maker,K.model=G.model,K.bikeTypeName=`${G.category}-${G.subcategory}`,K.isEBike=G.isEbike,K.year=G.year,K.bikeDetails=A,K})()}static#e=this.\u0275fac=function(P){return new(P||M)(_.KVO(b.o))};static#t=this.\u0275prov=_.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},9173:(Nt,Le,a)=>{"use strict";a.d(Le,{f:()=>_});var t=a(1413),c=a(5714);class m{constructor(){this.message="",this.toastStatus=c.m.UnSet}}var x=a(4438);let _=(()=>{class b{constructor(){this.onToastOpened$=new t.B,this.isShown=!1}showToast(M,N){const p=new m;p.message=M,p.toastStatus=N,this.onToastOpened$.next(p),this.isShown=!0}static#e=this.\u0275fac=function(N){return new(N||b)};static#t=this.\u0275prov=x.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},21:(Nt,Le,a)=>{"use strict";a.d(Le,{G:()=>Ln});var t=a(177),c=a(9417),m=a(3955),x=a(9938),_=a(2791),b=a(1445),v=a(8359),M=a(8688),N=a(1291),p=a(4438),P=a(6445),g=a(5812),U=a(2360),G=a(9523);const A=Zt=>({active:Zt}),K=(Zt,ct,rt,Ae)=>({active:Zt,close:ct,landing:rt,profile:Ae}),z=()=>({my:"top",at:"bottom",offset:"0 9"});function ee(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",16),p.bIt("click",function(){p.eBV(rt);const Ke=p.XpG(2);return p.Njj(Ke.goToPage(Ke.PagesNavigationEnum.ServiceJobsShop))}),p.qSk(),p.j41(1,"svg",26),p.nrm(2,"path",27)(3,"path",28),p.k0s(),p.joV(),p.j41(4,"p",10),p.EFF(5),p.nI1(6,"translate"),p.k0s()()}2&Zt&&(p.R7$(5),p.JRh(p.bMT(6,1,"i18n.app.module.dashboard.service-jobs")))}function L(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",16),p.bIt("click",function(){p.eBV(rt);const Ke=p.XpG(2);return p.Njj(Ke.goToPage(Ke.PagesNavigationEnum.MyBikes))}),p.qSk(),p.j41(1,"svg",29),p.nrm(2,"path",30),p.k0s(),p.joV(),p.j41(3,"p",10),p.EFF(4),p.nI1(5,"translate"),p.k0s()()}2&Zt&&(p.R7$(4),p.JRh(p.bMT(5,1,"i18n.app.module.dashboard.bikes")))}function f(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",14)(1,"div",15)(2,"div",16),p.bIt("click",function(){p.eBV(rt);const Ke=p.XpG();return p.Njj(Ke.goToPage(Ke.PagesNavigationEnum.Home))}),p.qSk(),p.j41(3,"svg",17),p.nrm(4,"path",18)(5,"path",19),p.k0s(),p.joV(),p.j41(6,"p",10),p.EFF(7),p.nI1(8,"translate"),p.k0s()(),p.DNE(9,ee,7,3,"div",20),p.j41(10,"div",16),p.bIt("click",function(){p.eBV(rt);const Ke=p.XpG();return p.Njj(Ke.goToPage(Ke.PagesNavigationEnum.ServiceRequests))}),p.qSk(),p.j41(11,"svg",21),p.nrm(12,"path",22)(13,"path",23)(14,"path",24)(15,"path",25),p.k0s(),p.joV(),p.j41(16,"p",10),p.EFF(17),p.nI1(18,"translate"),p.k0s()(),p.DNE(19,L,6,3,"div",20),p.k0s()()}if(2&Zt){const rt=p.XpG();p.R7$(7),p.JRh(p.bMT(8,4,"i18n.app.module.dashboard.home.header")),p.R7$(2),p.Y8G("ngIf",rt.userRole===rt.UserRoleEnum.Shop),p.R7$(8),p.JRh(p.bMT(18,6,"i18n.app.module.dashboard.service-requests")),p.R7$(2),p.Y8G("ngIf",rt.userRole===rt.UserRoleEnum.Customer)}}let D=(()=>{class Zt{constructor(rt,Ae,Ke,vt,Wt){this.translateService=rt,this.burgerMenuService=Ae,this.router=Ke,this.authService=vt,this.languageService=Wt,this.subscriptions=new v.yU,this.showBurgerMenu=!1,this.userRole=N.kX.NotSet,this.userMenuItems=[{text:this.translateService.instant("English"),onClick:()=>{this.languageService.selectLanguage(N.tX.En,this.userRole)}
1},{text:this.translateService.instant("Deutsch"),onClick:()=>{this.languageService.selectLanguage(N.tX.De,this.userRole)}}],this.profileVersion=!1,this.PagesNavigationEnum=M.c,this.UserRoleEnum=N.kX}ngOnInit(){this.subscriptions.add(this.burgerMenuService.onToastOpened$.subscribe(rt=>{this.showBurgerMenu=rt})),this.userRole=this.authService.getUserRole()}goToPage(rt){this.burgerMenuService.closeBurger(),this.router.navigate([this.authService.getRoute(rt)])}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(Ae){return new(Ae||Zt)(p.rXU(m.c$),p.rXU(P.o),p.rXU(_.Ix),p.rXU(g.u),p.rXU(U.g))};static#t=this.\u0275cmp=p.VBU({type:Zt,selectors:[["app-burger-menu"]],inputs:{profileVersion:"profileVersion"},decls:15,vars:17,consts:[[1,"backdrop",3,"click","ngClass"],[1,"content",3,"ngClass"],[1,"container",3,"ngClass"],["class","cabinet-navigations",4,"ngIf"],[1,"underline"],[1,"language-container"],["id","language-burger",1,"language-burger","cursor_pointer"],[1,"selected-language"],["xmlns","http://www.w3.org/2000/svg","width","12","height","12","viewBox","0 0 12 12","fill","none",1,"globe"],["d","M11.1177 9.13244C11.6961 8.19014 12.0015 7.10576 12 6.00011V5.9999C12.0015 4.89423 11.6961 3.80985 11.1177 2.86753L11.1144 2.86239C10.5778 1.98779 9.82586 1.26541 8.93046 0.764277C8.03507 0.263144 7.02611 4.19298e-06 6.00002 0C4.97392 -4.19288e-06 3.96497 0.263128 3.06957 0.764252C2.17417 1.26538 1.42223 1.98775 0.885622 2.86235L0.882289 2.86756C0.305325 3.81052 4.28257e-06 4.89451 0 5.99998C-4.28248e-06 7.10545 0.305308 8.18945 0.882264 9.13242L0.885654 9.1377C1.42227 10.0123 2.1742 10.7346 3.0696 11.2358C3.96499 11.7369 4.97394 12 6.00002 12C7.02611 12 8.03505 11.7369 8.93044 11.2357C9.82583 10.7346 10.5778 10.0122 11.1144 9.13765L11.1177 9.13244ZM6.76694 10.9717C6.6526 11.082 6.52101 11.1729 6.37735 11.2408C6.25944 11.2968 6.13054 11.3258 6 11.3258C5.86945 11.3258 5.74055 11.2968 5.62264 11.2408C5.34927 11.1011 5.11526 10.8952 4.942 10.6418C4.58815 10.1305 4.32592 9.56152 4.16704 8.96035C4.77741 8.92279 5.38839 8.90366 6 8.90296C6.61135 8.90296 7.22237 8.92209 7.83306 8.96036C7.74511 9.26945 7.63526 9.57189 7.50434 9.86538C7.33194 10.2781 7.08157 10.6537 6.76694 10.9717ZM0.685888 6.33708H3.10598C3.12174 7.01238 3.19493 7.6851 3.32477 8.34798C2.66322 8.4062 2.00335 8.48616 1.34517 8.58785C0.959753 7.89638 0.734455 7.12722 0.685888 6.33708ZM1.34516 3.41215C2.00308 3.5141 2.66319 3.59408 3.32547 3.65207C3.19537 4.31491 3.12201 4.98763 3.10619 5.66292H0.685888C0.734452 4.87279 0.95975 4.10362 1.34516 3.41215ZM5.23306 1.02831C5.34739 0.917991 5.47898 0.827102 5.62264 0.759241C5.74055 0.703217 5.86945 0.674149 6 0.674149C6.13054 0.674149 6.25944 0.703217 6.37735 0.759241C6.65073 0.898877 6.88474 1.10481 7.058 1.35821C7.41184 1.86952 7.67406 2.43848 7.83295 3.03964C7.22258 3.0772 6.6116 3.09634 6 3.09704C5.38865 3.09704 4.77763 3.0779 4.16693 3.03964C4.25488 2.73054 4.36473 2.42811 4.49565 2.13462C4.66805 1.72188 4.91842 1.34625 5.23306 1.02831ZM11.3141 5.66292H8.89402C8.87826 4.98763 8.80506 4.3149 8.67523 3.65201C9.33679 3.5938 9.99666 3.51384 10.6548 3.41215C11.0402 4.10362 11.2655 4.87278 11.3141 5.66292ZM4.00282 8.29557C3.87098 7.65059 3.79652 6.9952 3.78031 6.33708H8.21976C8.2037 6.9952 8.12937 7.6506 7.99765 8.2956C7.3325 8.25194 6.66661 8.22968 6 8.22881C5.33387 8.2288 4.66814 8.25105 4.00282 8.29557ZM7.99717 3.70442C8.12901 4.34941 8.20347 5.0048 8.21968 5.66292H3.78023C3.79629 5.0048 3.87062 4.3494 4.00234 3.70439C4.66749 3.74803 5.33338 3.7703 6 3.77119C6.66613 3.77119 7.33186 3.74893 7.99717 3.70442ZM8.89379 6.33708H11.3141C11.2655 7.12722 11.0402 7.89638 10.6548 8.58785C9.99691 8.48588 9.33681 8.40591 8.67453 8.34793C8.80463 7.68509 8.87798 7.01238 8.89379 6.33708ZM10.2506 2.79166C9.67538 2.87465 9.09842 2.94036 8.51974 2.98878C8.41574 2.60156 8.2816 2.22306 8.11856 1.85676C7.96971 1.51968 7.7824 1.20092 7.56038 0.906832C8.63335 1.23589 9.57491 1.89557 10.2506 2.79166ZM2.23404 2.23404C2.84954 1.61797 3.60676 1.16227 4.43933 0.906912C4.4267 0.923272 4.41371 0.938907 4.40125 0.955605C3.97331 1.57165 3.6616 2.26073 3.48148 2.98888C2.90277 2.93987 2.3254 2.87413 1.74938 2.79166C1.89794 2.59488 2.05988 2.40857 2.23404 2.23404ZM1.74938 9.20834C2.32461 9.12534 2.90156 9.05963 3.48025 9.01122C3.58425 9.39844 3.71839 9.77694 3.88143 10.1432C4.03029 10.4803 4.21759 10.7991 4.43961 11.0932C3.36664 10.7641 2.42508 10.1044 1.74938 9.20834ZM9.76595 9.76595C9.15046 10.382 8.39323 10.8377 7.56066 11.0931C7.57329 11.0767 7.58628 11.0611 7.59874 11.
10444C8.02668 10.4284 8.3384 9.73926 8.51852 9.01112C9.09723 9.06013 9.67459 9.12587 10.2506 9.20834C10.1021 9.40512 9.94012 9.59143 9.76595 9.76595Z","fill","#0D0F1E"],[1,"text"],["xmlns","http://www.w3.org/2000/svg","width","6","height","4","viewBox","0 0 6 4","fill","none",1,"language-arrow"],["d","M0.279297 0.600098L2.64209 3.00008L5.00488 0.600098","stroke","#0D0F1E","stroke-width","0.767907"],["target","#language-burger","showEvent","dxclick","width","176px","cssClass","user-menu",3,"items","position"],[1,"cabinet-navigations"],[1,"links"],[1,"link",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","14","height","15","viewBox","0 0 14 15","fill","none"],["d","M13.7649 6.81285L7.48353 1.08932C7.20783 0.838057 6.79207 0.838084 6.51647 1.08929L0.235102 6.81287C0.0142473 7.01412 -0.0587057 7.3242 0.0491925 7.60281C0.157118 7.88141 0.419891 8.06141 0.718676 8.06141H1.72192V13.796C1.72192 14.0233 1.90627 14.2077 2.13363 14.2077H4.57658C4.80395 14.2077 4.9883 14.0234 4.9883 13.796V10.3141H9.01179V13.796C9.01179 14.0234 9.19614 14.2077 9.4235 14.2077H11.8663C12.0937 14.2077 12.278 14.0234 12.278 13.796V8.06141H13.2814C13.5802 8.06141 13.843 7.88138 13.9509 7.60281C14.0587 7.32417 13.9857 7.01412 13.7649 6.81285Z","fill","#36363F"],["d","M12.1712 2.06934H9.40625L12.5829 4.95782V2.48102C12.5829 2.25366 12.3986 2.06934 12.1712 2.06934Z","fill","#36363F"],["class","link",3,"click",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","14","height","14","viewBox","0 0 16 16","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M1.88 0C0.862166 0 0 0.862174 0 1.88V5.47999C0 6.49783 0.862166 7.35999 1.88 7.35999H5.47999C6.49785 7.35999 7.36001 6.49783 7.36001 5.47999V1.88C7.36001 0.862174 6.49785 0 5.47999 0H1.88ZM1.6 1.88C1.6 1.74583 1.74582 1.6 1.88 1.6H5.47999C5.61416 1.6 5.75999 1.74583 5.75999 1.88V5.47999C5.75999 5.61416 5.61416 5.75999 5.47999 5.75999H1.88C1.74582 5.75999 1.6 5.61416 1.6 5.47999V1.88Z","fill","white",1,"color-black"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.5206 0C9.50278 0 8.64062 0.862174 8.64062 1.88V5.47999C8.64062 6.49783 9.50278 7.35999 10.5206 7.35999H14.1206C15.1384 7.35999 16.0006 6.49783 16.0006 5.47999V1.88C16.0006 0.862174 15.1384 0 14.1206 0H10.5206ZM10.2406 1.88C10.2406 1.74583 10.3865 1.6 10.5206 1.6H14.1206C14.2548 1.6 14.4006 1.74583 14.4006 1.88V5.47999C14.4006 5.61416 14.2548 5.75999 14.1206 5.75999H10.5206C10.3865 5.75999 10.2406 5.61416 10.2406 5.47999V1.88Z","fill","white",1,"color-black"],["fill-rule","evenodd","clip-rule","evenodd","d","M0 10.5206C0 9.50278 0.862166 8.64062 1.88 8.64062H5.47999C6.49785 8.64062 7.36001 9.50278 7.36001 10.5206V14.1206C7.36001 15.1384 6.49785 16.0006 5.47999 16.0006H1.88C0.862166 16.0006 0 15.1384 0 14.1206V10.5206ZM1.88 10.2406C1.74582 10.2406 1.6 10.3865 1.6 10.5206V14.1206C1.6 14.2548 1.74582 14.4006 1.88 14.4006H5.47999C5.61416 14.4006 5.75999 14.2548 5.75999 14.1206V10.5206C5.75999 10.3865 5.61416 10.2406 5.47999 10.2406H1.88Z","fill","white",1,"color-black"],["fill-rule","evenodd","clip-rule","evenodd","d","M10.5206 8.64062C9.50278 8.64062 8.64062 9.50278 8.64062 10.5206V14.1206C8.64062 15.1384 9.50278 16.0006 10.5206 16.0006H14.1206C15.1384 16.0006 16.0006 15.1384 16.0006 14.1206V10.5206C16.0006 9.50278 15.1384 8.64062 14.1206 8.64062H10.5206ZM10.2406 10.5206C10.2406 10.3865 10.3865 10.2406 10.5206 10.2406H14.1206C14.2548 10.2406 14.4006 10.3865 14.4006 10.5206V14.1206C14.4006 14.2548 14.2548 14.4006 14.1206 14.4006H10.5206C10.3865 14.4006 10.2406 14.2548 10.2406 14.1206V10.5206Z","fill","white",1,"color-black"],["xmlns","http://www.w3.org/2000/svg","width","13","height","14","viewBox","0 0 13 14","fill","none"],["d","M9 11.1359C8.746 11.2306 8.4835 11.31 8.212 11.368L8.102 12.6987C8.088 12.8686 7.935 13 7.7515 13H6.248C6.0645 13 5.912 12.8686 5.898 12.6991L5.788 11.3685C5.199 11.2427 4.6485 11.0268 4.151 10.7375L3.0585 11.6071C2.919 11.7181 2.7115 11.7107 2.5815 11.59L1.5185 10.6029C1.3885 10.4822 1.381 10.2895 1.5 10.16L2.4365 9.1455C2.1255 8.68354 1.893 8.17236 1.757 7.62543L0.324 7.52329C0.1415 7.51029 0 7.36821 0 7.19782V5.80171C0 5.
163132 0.1415 5.48971 0.324 5.47671L1.757 5.37457C1.8925 4.82764 2.125 4.31646 2.4365 3.8545L1.5005 2.84004C1.381 2.71096 1.389 2.51782 1.5185 2.39757L2.5815 1.4105C2.711 1.29025 2.919 1.28282 3.0585 1.39332L4.151 2.26293C4.6485 1.97414 5.199 1.75825 5.788 1.63196L5.898 0.301321C5.912 0.131393 6.065 0 6.2485 0H7.752C7.9355 0 8.088 0.131393 8.102 0.300857L8.1085 0.378393C7.7205 0.931357 7.5 1.58321 7.5 2.27268C7.5 2.83075 7.642 3.36561 7.9015 3.84289C7.617 3.75932 7.314 3.71429 7 3.71429C5.343 3.71429 4 4.96136 4 6.5C4 8.03864 5.343 9.28571 7 9.28571C7.7695 9.28571 8.469 9.01457 9 8.57211V11.1359Z","fill","#36363F"],["d","M11.6364 4.86864V12.7465C11.6364 13.4389 11.1277 14 10.5 14C9.87227 14 9.36364 13.4389 9.36364 12.7465V4.86864C8.55455 4.41185 8 3.48572 8 2.41419C8 1.37876 8.51818 0.478205 9.28364 0.00687039C9.31864 -0.0141892 9.36364 0.0158959 9.36364 0.0600209V2.96876L10.5 3.47018L11.6364 2.96876V0.0600209C11.6364 0.0158959 11.6814 -0.0141892 11.7164 0.0073719C12.4818 0.478707 13 1.37876 13 2.41469C13 3.48572 12.4455 4.41235 11.6364 4.86864Z","fill","#36363F"],["xmlns","http://www.w3.org/2000/svg","width","17","height","11","viewBox","0 0 17 11","fill","none"],["d","M13.8346 4.42951C13.5789 4.42951 13.3303 4.46136 13.0921 4.52104L11.8332 1.38525L12.9252 1.00746C13.1862 0.917174 13.3272 0.62443 13.2402 0.353603C13.1532 0.0828111 12.8713 -0.0636814 12.6102 0.0267091L10.9758 0.593623C10.7219 0.703449 10.6018 1.00605 10.7076 1.26957L11.0205 2.04904L6.65523 3.22697L6.20686 2.14132H6.89961C7.17466 2.14132 7.39766 1.90988 7.39766 1.62441C7.39766 1.33894 7.17466 1.1075 6.89961 1.1075H4.76574C4.49069 1.1075 4.2677 1.33894 4.2677 1.62441C4.2677 1.90988 4.49069 2.14132 4.76574 2.14132H5.12311L5.78624 3.74698L4.82096 4.91582C4.33898 4.60761 3.77188 4.42951 3.16539 4.42951C1.42 4.42951 0 5.90326 0 7.71476C0 9.52625 1.42 11 3.16535 11C4.74131 11 6.0518 9.79842 6.29139 8.23167H7.96649C8.1256 8.23167 8.27515 8.15275 8.36891 8.01929L11.5815 3.44652L12.1729 4.91972C11.2712 5.49928 10.6692 6.53534 10.6692 7.71472C10.6692 9.52622 12.0892 11 13.8345 11C15.5799 11 17 9.52625 17 7.71476C17 5.90326 15.58 4.42951 13.8346 4.42951ZM3.16535 9.96621C1.96924 9.96621 0.996094 8.9562 0.996094 7.71476C0.996094 6.47331 1.96924 5.46334 3.16535 5.46334C3.52401 5.46334 3.86232 5.55469 4.16065 5.71535L2.7872 7.37839C2.6606 7.53167 2.63158 7.74739 2.71286 7.93079C2.79414 8.11419 2.97085 8.2317 3.16535 8.2317H5.27624C5.05053 9.22469 4.1901 9.96621 3.16535 9.96621ZM4.24824 7.19785L6.22356 4.806L7.21122 7.19785H4.24824ZM8.07962 6.67642L7.05211 4.18805L10.4772 3.26378L8.07962 6.67642ZM13.8346 9.96621C12.6385 9.96621 11.6654 8.9562 11.6654 7.71479C11.6654 6.96593 12.0198 6.3017 12.5634 5.89216L13.3749 7.9136C13.4807 8.17712 13.7723 8.30173 14.0262 8.19193C14.2801 8.08211 14.4001 7.77951 14.2943 7.51599L13.4824 5.49349C13.5971 5.47395 13.7147 5.46334 13.8346 5.46334C15.0308 5.46334 16.0039 6.47334 16.0039 7.71476C16.0039 8.95617 15.0308 9.96621 13.8346 9.96621Z","fill","#36363F"]],template:function(Ae,Ke){1&Ae&&(p.j41(0,"div",0),p.bIt("click",function(){return Ke.burgerMenuService.closeBurger()}),p.k0s(),p.j41(1,"div",1)(2,"div",2),p.DNE(3,f,20,8,"div",3),p.nrm(4,"div",4),p.j41(5,"div",5)(6,"div",6)(7,"div",7),p.qSk(),p.j41(8,"svg",8),p.nrm(9,"path",9),p.k0s(),p.joV(),p.j41(10,"p",10),p.EFF(11),p.k0s()(),p.qSk(),p.j41(12,"svg",11),p.nrm(13,"path",12),p.k0s()()()()(),p.joV(),p.nrm(14,"dx-context-menu",13)),2&Ae&&(p.Y8G("ngClass",p.eq3(7,A,Ke.showBurgerMenu)),p.R7$(),p.Y8G("ngClass",p.eq3(9,A,Ke.showBurgerMenu)),p.R7$(),p.Y8G("ngClass",p.ziG(11,K,Ke.showBurgerMenu,!Ke.showBurgerMenu,!Ke.profileVersion,Ke.profileVersion)),p.R7$(),p.Y8G("ngIf",Ke.profileVersion),p.R7$(8),p.JRh(null==Ke.languageService.selectedLanguage?null:Ke.languageService.selectedLanguage.name),p.R7$(3),p.Y8G("items",Ke.userMenuItems)("position",p.lJ4(16,z)))},dependencies:[t.YU,t.bT,G.w,m.D9],styles:["[_nghost-%COMP%]   body[_ngcontent-%COMP%]{overflow:hidden!important}.backdrop[_ngcontent-%COMP%]{position:fixed;display:none;justify-content:center;inset:0;width:100%;z-index:17;overflow:hidden;opacity:.6;background:#4c4c4c}.content[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{z-index:18;position:fixed;justify-self:center;width:221px;height:100%;background:#fff;padding:0 20px;display:flex;flex-direction:column}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{margin-top:42px;display:flex;flex-direction:column;row-gap:18px;margin-bottom:27px}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{display:flex;column-gap:18px;align-items:center}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{position:relative}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   .dot[_ngcontent-%COMP%]{position:absolute;top:0;left:0}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .underline[_ngcontent-%COMP%]{max-width:151px;width:100%;border-bottom:1px solid #CED3DB}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .language-container[_ngcontent-%COMP%]   .language-burger[_ngcontent-%COMP%]{width:176px;position:relative;margin-top:30px;height:28px;flex-shrink:0;border-radius:5.907px;border:.591px solid #0D0F1E;display:flex;align-items:center;justify-content:space-between;font-size:12px;line-height:5.175px;color:var(--color-black);padding-left:12px;padding-right:12px}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .language-container[_ngcontent-%COMP%]   .language-burger[_ngcontent-%COMP%]   .selected-language[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:9px}.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .language-container[_ngcontent-%COMP%]   .language-burger[_ngcontent-%COMP%]   .selected-language[_ngcontent-%COMP%]   .language-arrow[_ngcontent-%COMP%]{width:4.726px;height:2.4px;
1fill:var(--color-white);stroke-width:1.3px;stroke:var(--color-white)}@media (max-width: 580px){.content[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{top:58px}}.profile[_ngcontent-%COMP%]{top:58px;left:0;border-radius:0 7px 7px 0;transform:translate(-150%);animation:_ngcontent-%COMP%_ani-profile .7s forwards}.profile[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_aniClose-profile .7s forwards}.landing[_ngcontent-%COMP%]{right:0;top:108px;animation:_ngcontent-%COMP%_ani .7s forwards;transform:translate(150%);border-radius:7px 0 0 7px}.landing[_ngcontent-%COMP%]   .close[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_aniClose .7s forwards}@keyframes _ngcontent-%COMP%_ani{0%{transform:translate(150%)}to{transform:translateY(0)}}@keyframes _ngcontent-%COMP%_aniClose{0%{transform:translateY(0)}to{transform:translate(150%)}}@keyframes _ngcontent-%COMP%_ani-profile{0%{transform:translate(-150%)}to{transform:translateY(0)}}@keyframes _ngcontent-%COMP%_aniClose-profile{0%{transform:translateY(0)}to{transform:translate(-150%)}}.active[_ngcontent-%COMP%]{display:flex}  .dx-context-menu .dx-menu-items-container{padding:0}  .dx-context-menu .dx-submenu{border-radius:10px}.color-black[_ngcontent-%COMP%]{fill:#36363f}"]})}return Zt})();var R=a(7917),S=a(3514),j=a(3281),fe=a(7018),H=a(9462),J=a(7711),Y=a(2249),W=a(8345),re=a(6502),le=a(7733);const Re=Zt=>({active:Zt}),Be=(Zt,ct)=>({active:Zt,close:ct});function Fe(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",14),p.bIt("click",function(){const Ke=p.eBV(rt).$implicit,vt=p.XpG(3);return p.Njj(vt.navigate(Ke))}),p.nrm(1,"div",15),p.j41(2,"div",16)(3,"div",17)(4,"div",4),p.EFF(5),p.nI1(6,"multilingualPropertyTranslate"),p.k0s(),p.j41(7,"div",18),p.EFF(8),p.nI1(9,"customTimeForMessenger"),p.nI1(10,"date"),p.k0s()(),p.j41(11,"div",19),p.qSk(),p.j41(12,"svg",20),p.nrm(13,"path",21),p.k0s(),p.j41(14,"svg",22),p.nrm(15,"path",23),p.k0s()()()()}if(2&Zt){const rt=ct.$implicit;p.R7$(),p.Y8G("ngClass",rt.checked?"un-checked":"checked"),p.R7$(4),p.JRh(p.bMT(6,4,rt.text)),p.R7$(3),p.Lme("",p.bMT(9,6,rt.createdTime)," ",p.bMT(10,8,rt.createdTime),"")}}function ue(Zt,ct){if(1&Zt&&(p.j41(0,"div",12),p.DNE(1,Fe,16,10,"div",13),p.k0s()),2&Zt){const rt=p.XpG(2);p.R7$(),p.Y8G("ngForOf",rt.notifications)}}function ce(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",24),p.bIt("click",function(){p.eBV(rt);const Ke=p.XpG(2);return p.Njj(Ke.readAllNotifications())}),p.qSk(),p.j41(1,"svg",25),p.nrm(2,"path",26),p.k0s(),p.joV(),p.j41(3,"p",4),p.EFF(4),p.nI1(5,"translate"),p.k0s()()}2&Zt&&(p.R7$(4),p.JRh(p.bMT(5,1,"i18n.app.popup.notifications.read-all")))}function _e(Zt,ct){if(1&Zt&&(p.j41(0,"div",9),p.DNE(1,ue,2,1,"div",10)(2,ce,6,3,"div",11),p.k0s()),2&Zt){const rt=p.XpG();p.R7$(),p.Y8G("ngIf",rt.notifications),p.R7$(),p.Y8G("ngIf",rt.unCheckedNotifications()>0)}}function ne(Zt,ct){1&Zt&&(p.j41(0,"div",27),p.qSk(),p.j41(1,"svg",28),p.nrm(2,"path",29)(3,"path",30),p.k0s(),p.joV(),p.j41(4,"p",4),p.EFF(5),p.nI1(6,"translate"),p.k0s()()),2&Zt&&(p.R7$(5),p.JRh(p.bMT(6,1,"i18n.app.popup.notifications.empty")))}let Z=(()=>{class Zt{constructor(rt,Ae){this.notificationCenterService=rt,this.notificationService=Ae,this.notifications=[],this.showNotifications=!1,this.subscriptions=new v.yU}ngOnInit(){this.subscriptions.add(this.notificationCenterService.onToastOpened$.subscribe(rt=>{this.showNotifications=rt}))}navigate(rt){location.href=rt.role===N.kX.Customer?`/customer/service-requests/info/${rt.serviceRequestId}`:`/shop/service-requests/info/${rt.serviceRequestId}`,this.close(),this.notifications.forEach(Ae=>{Ae.serviceRequestId===rt.serviceRequestId&&(Ae.checked=!0)})}readAllNotifications(){this.unCheckedNotifications()&&this.notificationService.readAllNotifications().subscribe(()=>{this.notifications.forEach(rt=>{rt.checked=!0}),this.notificationService.notifications=this.notifications})}unCheckedNotifications(){let rt=0;return this.notifications.forEach(Ae=>{Ae.checked||rt++}),rt}close(){this.notificationCenterService.closeNotificationsMenu()}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(Ae){return new(Ae||Zt)(p.rXU(W.G),p.rXU(re.J))};static#t=this.\u0275cmp=p.VBU({type:Zt,selectors:[["app-notification-center"]],inputs:{notifications:"notifications"},decls:11,vars:15,consts:[[1,"backdrop",3,"click","ngClass"],[1,"content-notifications",3,"ngClass"],[1,"n
1otifications-container",3,"ngClass"],[1,"label"],[1,"text"],["xmlns","http://www.w3.org/2000/svg","width","15","height","15","viewBox","0 0 15 15","fill","none",1,"icon",3,"click"],["d","M5.31585 7.07443L0.22618 1.98476L2.06712 0.143814L7.15679 5.23348L12.3006 0.0896688L14.3581 2.14719L9.21432 7.29101L14.1686 12.2453L12.3277 14.0863L7.37337 9.13195L2.14834 14.357L0.0908169 12.2995L5.31585 7.07443Z","fill","#989898"],["class","notifications__read-notifications",4,"ngIf"],["class","no-notifications flex-center",4,"ngIf"],[1,"notifications__read-notifications"],["class","notifications",4,"ngIf"],["class","read-notifications",3,"click",4,"ngIf"],[1,"notifications"],["class","notification-container cursor_pointer",3,"click",4,"ngFor","ngForOf"],[1,"notification-container","cursor_pointer",3,"click"],[1,"status",3,"ngClass"],[1,"notification"],[1,"message"],[1,"date"],[1,"line"],["xmlns","http://www.w3.org/2000/svg","width","311","height","2","viewBox","0 0 311 2","fill","none",1,"pc"],["d","M0 1H311","stroke","#CED3DB","stroke-dasharray","2 2"],["xmlns","http://www.w3.org/2000/svg","width","136","height","2","viewBox","0 0 136 2","fill","none",1,"phone"],["d","M0 1H136","stroke","#CED3DB","stroke-dasharray","2 2"],[1,"read-notifications",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","13","height","13","viewBox","0 0 13 13","fill","none"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.6026 6.87786L2.98177 6.4987L6.5026 10.0195L5.96094 10.5612C5.79844 10.7237 5.74427 10.7779 5.6901 10.7779C5.63594 10.7779 5.58177 10.832 5.5276 10.832C5.47344 10.832 5.41927 10.832 5.14844 10.832H4.2276C3.95677 10.832 3.9026 10.832 3.84844 10.832C3.79427 10.832 3.7401 10.7779 3.68594 10.7779C3.63177 10.7779 3.63177 10.7237 3.4151 10.5612L2.6026 9.7487C2.2776 9.4237 2.06094 9.20703 1.89844 9.04453C1.73594 8.88203 1.68177 8.7737 1.68177 8.66536C1.6276 8.4487 1.6276 8.23203 1.68177 8.01536C1.73594 7.90703 1.7901 7.7987 1.89844 7.6362C2.06094 7.41953 2.2776 7.1487 2.6026 6.87786ZM8.6151 1.67786C8.39844 1.6237 8.18177 1.6237 7.9651 1.67786C7.85677 1.73203 7.74844 1.7862 7.58594 1.89453C7.42344 2.05703 7.20677 2.2737 6.88177 2.5987L3.79427 5.6862L7.3151 9.20703L10.4026 6.11953C10.7276 5.79453 10.9443 5.57786 11.1068 5.41536C11.2693 5.25286 11.3234 5.14453 11.3234 5.0362C11.3776 4.81953 11.3776 4.60286 11.3234 4.3862C11.2693 4.27786 11.2151 4.16953 11.1068 4.00703C10.9443 3.84453 10.7276 3.62786 10.4026 3.30286L9.69844 2.5987C9.37344 2.2737 9.15677 2.05703 8.99427 1.89453C8.7776 1.7862 8.66927 1.67786 8.6151 1.67786ZM4.17344 11.9154C3.95677 11.9154 3.79427 11.9154 3.5776 11.8612C3.4151 11.807 3.2526 11.7529 3.0901 11.6445C2.9276 11.5362 2.81927 11.4279 2.65677 11.2654L1.7901 10.3987C1.4651 10.0737 1.24844 9.85703 1.03177 9.64036C0.815104 9.4237 0.652604 9.15286 0.598437 8.88203C0.435938 8.4487 0.435938 8.01536 0.598437 7.58203C0.706771 7.3112 0.869271 7.09453 1.03177 6.8237C1.19427 6.60703 1.4651 6.3362 1.7901 6.06536L6.06927 1.7862C6.39427 1.4612 6.61094 1.24453 6.8276 1.02786C7.04427 0.811198 7.3151 0.648698 7.58594 0.594531C8.01927 0.432031 8.4526 0.432031 8.88594 0.594531C9.21094 0.757031 9.4276 0.919531 9.69844 1.08203C9.9151 1.24453 10.1859 1.51536 10.4568 1.84036L11.1609 2.54453C11.4859 2.86953 11.7026 3.0862 11.9193 3.30286C12.1359 3.51953 12.2984 3.79036 12.3526 4.0612C12.5151 4.49453 12.5151 4.92786 12.3526 5.3612C12.2443 5.63203 12.0818 5.8487 11.9193 6.11953C11.7568 6.3362 11.4859 6.60703 11.1609 6.87786L7.26094 10.832H11.9193C12.2443 10.832 12.4609 11.0487 12.4609 11.3737C12.4609 11.6987 12.2443 11.9154 11.9193 11.9154H5.3651H5.31094H4.17344Z","fill","#FF5E3A"],[1,"no-notifications","flex-center"],["xmlns","http://www.w3.org/2000/svg","width","28","height","35","viewBox","0 0 28 35","fill","none"],["d","M14 35C16.9577 35 19.4318 32.8482 20 30H8C8.56845 32.8482 11.0426 35 14 35Z","fill","#989898"],["d","M13.9995 0C15.3221 0 16.3873 0.813458 16.3873 2.06439C16.3873 2.85176 16.4148 3.43926 16.9108 3.58974C21.1282 4.86025 23.8325 7.83827 23.8325 11.7057V18.2059C23.8325 21.1839 25.0537 21.7868 26.5906 22.9259C28.8163 24.5729 28.3082 28.0023 25.7542 28H2.24579C-0.308196 28.0023 -0.816283 24.5729 1.4094 22.9259C2.94441 21.7868 4.16746 21.1839 4.16746 18.2059V11.7057C4.16746 7.83827 6.87182 4.86025 11.0892 3.58974C11.5838 3.43926 11.6127 2.85176 11.6127 2.06439C11.6132 0.813458 12.6789 0 13.9995 0Z","fill","#989898"]],template:function(Ae,Ke){1&Ae&&(p.j41(0,"div",0),p.bIt("click",function(){return Ke.close()}),p.k0s(),p.j41(1,"div",1)(2,"div",2)(3,"div",3)(4,"p",4),p.EFF(5),p.nI1(6,"translate"),p.k0s(),p.qSk(),p.j41(7,"svg",5),p.bIt("click",function(){return Ke.close()}),p.nrm(8,"path",6),p.k0s()(),p.DNE(9,_e,3,2,"div",7)(10,ne,7,3,"div",8),p.k0s()()),2&Ae&&(p.Y8G("ngClass",p.eq3(8,Re,Ke.showNotifications)),p.R7$(),p.Y8G("ngClass",p.eq3(10,Re,Ke.showNotifications)),p.R7$(),p.Y8G("ngClass",p.l_i(12,Be,Ke.showNotifications,!Ke.showNotifications)),p.R7$(3),p.JRh(p.bMT(6,6,"i18n.app.popup.notifications.label")),p.R7$(4),p.Y8G("ngIf",Ke.notifications.length>
10),p.R7$(),p.Y8G("ngIf",0===Ke.notifications.length))},dependencies:[t.YU,t.Sq,t.bT,t.vh,m.D9,x.z,le.b],styles:[".backdrop[_ngcontent-%COMP%]{position:fixed;display:none;justify-content:center;inset:0;width:100%;z-index:20;overflow:hidden;opacity:.6;background:#4c4c4c}.content-notifications[_ngcontent-%COMP%]{display:none}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]{top:100px;z-index:21;position:fixed;justify-self:center;width:421px;height:100%;background:#fff;display:flex;flex-direction:column;right:0;animation:_ngcontent-%COMP%_ani .5s forwards;transform:translate(150%);border-radius:7px 0 0 7px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:flex;justify-content:space-between;height:79px;min-height:79px;align-items:center;padding-left:35px;padding-right:25px;font-size:16px;font-weight:700;border-bottom:1px solid #CED3DB}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:space-between;max-height:calc(100svh - 179px)}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]{margin-top:30px;display:flex;padding-left:35px;padding-right:40px;flex-direction:column;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]{display:flex;column-gap:10px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .status[_ngcontent-%COMP%]{margin-top:5px;min-width:10px;min-height:10px;width:10px;height:10px;border-radius:50%}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]{display:flex;flex-direction:column}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{margin-top:10px;color:#989898;font-size:11px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{display:none}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .read-notifications[_ngcontent-%COMP%]{cursor:pointer;padding-left:33px;display:flex;align-items:center;column-gap:10px;color:var(--color-theme);font-size:16px;min-height:60px;border-top:1px solid #CED3DB}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .no-notifications[_ngcontent-%COMP%]{text-align:center;margin-top:60px;flex-direction:column;row-gap:10px;padding:0 40px}@media (max-width: 580px){.content-notifications[_ngcontent-%COMP%]{display:none}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]{top:58px;width:221px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{padding:0 24px;font-size:14px;min-height:60px;height:60px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:10px;height:10px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]{max-height:calc(100svh - 118px)}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]{margin-top:20px;padding-left:24px;padding-right:15px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]{display:flex;column-gap:10px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]{display:flex;flex-direction:column}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .message[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-size:13px}
1.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]{margin-top:13px;margin-bottom:21px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{display:flex}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .notifications[_ngcontent-%COMP%]   .notification-container[_ngcontent-%COMP%]   .notification[_ngcontent-%COMP%]   .line[_ngcontent-%COMP%]   .pc[_ngcontent-%COMP%]{display:none}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .notifications__read-notifications[_ngcontent-%COMP%]   .read-notifications[_ngcontent-%COMP%]{min-height:50px;font-size:14px}.content-notifications[_ngcontent-%COMP%]   .notifications-container[_ngcontent-%COMP%]   .no-notifications[_ngcontent-%COMP%]{margin-top:60px;font-size:12px}}.checked[_ngcontent-%COMP%]{background:var(--color-theme)}.un-checked[_ngcontent-%COMP%]{background:#989898}.active[_ngcontent-%COMP%]{display:flex}.close[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_aniClose .7s forwards}@keyframes _ngcontent-%COMP%_ani{0%{transform:translate(150%)}to{transform:translateY(0)}}@keyframes _ngcontent-%COMP%_aniClose{0%{transform:translateY(0)}to{transform:translate(150%)}}"]})}return Zt})();var ve=a(6029),ke=a(7660),Ne=a(3465),Ie=a(1394);function De(Zt,ct){if(1&Zt&&p.nrm(0,"img",11),2&Zt){const rt=p.XpG().$implicit;p.FS9("src",rt.image,p.B4B)}}function et(Zt,ct){1&Zt&&p.nrm(0,"img",12)}function yt(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",3),p.bIt("click",function(){const Ke=p.eBV(rt).$implicit,vt=p.XpG();return p.Njj(vt.selectBike(Ke))}),p.j41(1,"div",4),p.DNE(2,De,1,1,"img",5)(3,et,1,0,"img",6),p.k0s(),p.j41(4,"div",7)(5,"div",8),p.EFF(6),p.k0s(),p.j41(7,"div",9),p.EFF(8),p.k0s(),p.j41(9,"div",10),p.EFF(10),p.k0s()()()}if(2&Zt){const rt=ct.$implicit;p.R7$(2),p.Y8G("ngIf",rt.image),p.R7$(),p.Y8G("ngIf",!rt.image),p.R7$(3),p.SpI("",rt.year," "),p.R7$(2),p.JRh(rt.model),p.R7$(2),p.JRh(rt.brand)}}let dt=(()=>{class Zt{constructor(rt){this.spokes99BikesService=rt,this.bikes99=[]}selectBike(rt){this.spokes99BikesService.getBike(rt.id).then(Ae=>{Ae&&this.spokes99BikesService.selectedBike.next(Ae)})}static#e=this.\u0275fac=function(Ae){return new(Ae||Zt)(p.rXU(Ie.j))};static#t=this.\u0275cmp=p.VBU({type:Zt,selectors:[["app-bikes-99-spokes"]],inputs:{bikes99:"bikes99"},decls:3,vars:1,consts:[[1,"result-bikes-container"],[1,"result-bikes"],["class","result-bike cursor_pointer",3,"click",4,"ngFor","ngForOf"],[1,"result-bike","cursor_pointer",3,"click"],[1,"result-bike-image-container"],["alt","","class","result-bike-image",3,"src",4,"ngIf"],["src","https://99spokes.com/static/no-bike-image.svg","alt","","class","result-bike-image",4,"ngIf"],[1,"bike-description"],[1,"year"],[1,"model"],[1,"brand"],["alt","",1,"result-bike-image",3,"src"],["src","https://99spokes.com/static/no-bike-image.svg","alt","",1,"result-bike-image"]],template:function(Ae,Ke){1&Ae&&(p.j41(0,"div",0)(1,"div",1),p.DNE(2,yt,11,5,"div",2),p.k0s()()),2&Ae&&(p.R7$(2),p.Y8G("ngForOf",Ke.bikes99))},dependencies:[t.Sq,t.bT],styles:[".result-bikes-container[_ngcontent-%COMP%]{z-index:10;position:absolute;top:62px;width:100%;max-height:290px;flex-shrink:0;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #bebebe40}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]{display:flex;flex-direction:column;overflow-y:scroll;height:-moz-fit-content;height:fit-content;max-height:290px;column-gap:15px;padding:0 21px}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{height:50px;background-color:var(--color-theme);border-radius:10px}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]{display:flex;align-items:center;padding:15px;width:100%;height:-moz-fit-content;height:fit-content;border-bottom:1px solid #CED3DB;column-gap:18px}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]:last-child{border-bottom:none}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]   .result-bike-image-container[_ngcontent-%COMP%]{border-radius:10px;width:83px;
1height:44px}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]   .result-bike-image-container[_ngcontent-%COMP%]   .result-bike-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]   .bike-description[_ngcontent-%COMP%]   .year[_ngcontent-%COMP%]{font-size:10px}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]   .bike-description[_ngcontent-%COMP%]   .model[_ngcontent-%COMP%]{margin-top:7px;font-size:16px;font-weight:500}.result-bikes-container[_ngcontent-%COMP%]   .result-bikes[_ngcontent-%COMP%]   .result-bike[_ngcontent-%COMP%]   .bike-description[_ngcontent-%COMP%]   .brand[_ngcontent-%COMP%]{color:#989898}"]})}return Zt})();var Je=a(9381),Ce=a(4678);function we(Zt,ct){1&Zt&&p.nrm(0,"div",2)}function Ee(Zt,ct){if(1&Zt){const rt=p.RV6();p.j41(0,"div",3),p.bIt("clickOutside",function(){p.eBV(rt);const Ke=p.XpG();return p.Njj(Ke.emailNotConfirmedService.showWindow=!1)}),p.qSk(),p.j41(1,"svg",4),p.nrm(2,"circle",5)(3,"path",6),p.k0s(),p.joV(),p.j41(4,"p"),p.EFF(5),p.nI1(6,"translate"),p.k0s(),p.j41(7,"p",7),p.EFF(8),p.nI1(9,"translate"),p.k0s()()}2&Zt&&(p.R7$(5),p.JRh(p.bMT(6,2,"i18n.app.login.email-dont-confirmed.title")),p.R7$(3),p.JRh(p.bMT(9,4,"i18n.app.login.email-dont-confirmed.label")))}let He=(()=>{class Zt{constructor(rt){this.emailNotConfirmedService=rt}static#e=this.\u0275fac=function(Ae){return new(Ae||Zt)(p.rXU(Ce.U))};static#t=this.\u0275cmp=p.VBU({type:Zt,selectors:[["app-email-not-confirmed"]],decls:2,vars:2,consts:[["class","backdrop",4,"ngIf"],["class","container",3,"clickOutside",4,"ngIf"],[1,"backdrop"],[1,"container",3,"clickOutside"],["xmlns","http://www.w3.org/2000/svg","width","49","height","49","viewBox","0 0 49 49","fill","none",1,"icon"],["cx","24.5","cy","24.5","r","24.5","fill","#FF5E3A"],["d","M36.7793 31.9219L25.8113 13.4777C25.5341 13.0116 25.0364 12.7266 24.4996 12.7266C23.9627 12.7266 23.465 13.0115 23.1879 13.4777L12.22 31.9219C11.9348 32.4016 11.9263 33 12.198 33.4877C12.4697 33.9755 12.9793 34.2771 13.5317 34.2771H35.4675C36.02 34.2771 36.5296 33.9754 36.8012 33.4877C37.0729 32.9999 37.0645 32.4016 36.7793 31.9219ZM24.5078 19.1066C25.1377 19.1066 25.6707 19.4669 25.6707 20.1056C25.6707 22.0545 25.4446 24.8552 25.4446 26.804C25.4446 27.3118 24.8954 27.5246 24.5078 27.5246C23.991 27.5246 23.5549 27.3117 23.5549 26.804C23.5549 24.8552 23.3288 22.0545 23.3288 20.1056C23.3288 19.4669 23.8456 19.1066 24.5078 19.1066ZM24.524 31.1769C23.8133 31.1769 23.2803 30.5873 23.2803 29.9158C23.2803 29.228 23.8133 28.6548 24.524 28.6548C25.1861 28.6548 25.7515 29.228 25.7515 29.9158C25.7515 30.5873 25.1861 31.1769 24.524 31.1769Z","fill","white"],[1,"label"]],template:function(Ae,Ke){1&Ae&&p.DNE(0,we,1,0,"div",0)(1,Ee,10,6,"div",1),2&Ae&&(p.Y8G("ngIf",Ke.emailNotConfirmedService.showWindow),p.R7$(),p.Y8G("ngIf",Ke.emailNotConfirmedService.showWindow))},dependencies:[t.bT,ke.z,m.D9],styles:[".backdrop[_ngcontent-%COMP%]{width:100%;opacity:.6;background:#4c4c4c;position:absolute;inset:0;z-index:20}.container[_ngcontent-%COMP%]{z-index:21;position:fixed;inset:0;margin:auto;width:389px;flex-shrink:0;height:-moz-fit-content;height:fit-content;border-radius:10px;background:#fff;box-shadow:3px 3px 16.9px 2px #a1a1a140;display:flex;align-items:center;justify-content:center;flex-direction:column;padding-bottom:35px}.container[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{margin-top:26px;margin-bottom:27px}.container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:273px;font-size:16px;text-align:center}.container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{margin-top:15px;font-weight:700}@media (max-width: 580px){.container[_ngcontent-%COMP%]{width:235px;height:226px}.container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:175px;font-size:14px}}"]})}return Zt})();var Ot=a(8695),It=a(7865),un=a(9830),ln=a(4353);let Ln=(()=>{class Zt{static#e=this.\u0275fac=function(Ae){return new(Ae||Zt)};static#t=this.\u0275mod=p.$C({type:Zt});static#n=this.\u0275inj=p.G2t({providers:[(0,un.Dw)(),x.z,{provide:ve.d}],imports:[t.MD,c.YN,c.X1,m.h,G.l,R.X,S.L,j.Z,fe.S,H.W,J.p,m.h,c.YN,c.X1]})}return Zt})();p.wjB(It.u,[t.Sq,ln.m,b.w,Y.O],[m.D9]),p.wjB(Ot.X,[t.Sq,ln.m,b.w,Y.O],[m.D9]),p.wjB(b.w,[t.bT,_.Wk,G.w,D,ke.z,He],[m.D9]),p.wjB(Je.l,[t.YU,t.bT,G.w,D,Z,ke.z],[m.D9]),p.wjB(Ne.n,[t.bT,c.me,c.BC,c.vS,ke.z,dt],[m.D9])},228:(Nt,Le,a)=>{"use strict";a.d(Le,{R:()=>m});var t=a(1413),c=a(4438);let m=(()=>{class x{constructor(){this.customer=new t.B}static#e=this.\u0275fac=function(v){return new(v||x)};static#t=this.\u0275prov=c.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},5928:(Nt,Le,a)=>{"use strict";a.d(Le,{v:()=>m});var t=a(1413),c=a(4438);let m=(()=>{class x{constructor(){this.shop=new t.B}static#e=this.\u0275fac=function(v){return new(v||x)};static#t=this.\u0275prov=c.jDH({token:x,factory:x.\u0275fac,providedIn:"root"})}return x})()},5312:(Nt,Le,a)=>{"use strict";a.d(Le,{c:()=>t});const t={production:!0}
vendor: 7,690 bytes, line 1
1},4429:(Nt,Le,a)=>{"use strict";var t=a(467),c=a(345),m=a(1299),x=a(4438),_=a(2820),b=a(5312);m.Ay.initialized((0,t.A)(function*(){yield fetch("assets/config/appconfig.json").then(v=>v.json()).then(v=>{b.c.production&&(0,x.SmG)(),c.sG([{provide:_.vQ,useValue:v}]).bootstrapModule(_.kR,{preserveWhitespaces:!0}).catch(M=>console.error(M))})}))},3349:function(Nt){Nt.exports=function(Le){var a={};function t(c){if(a[c])return a[c].exports;var m=a[c]={i:c,l:!1,exports:{}};return Le[c].call(m.exports,m,m.exports,t),m.l=!0,m.exports}return t.m=Le,t.c=a,t.d=function(c,m,x){t.o(c,m)||Object.defineProperty(c,m,{enumerable:!0,get:x})},t.r=function(c){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},t.t=function(c,m){if(1&m&&(c=t(c)),8&m||4&m&&"object"==typeof c&&c&&c.__esModule)return c;var x=Object.create(null);if(t.r(x),Object.defineProperty(x,"default",{enumerable:!0,value:c}),2&m&&"string"!=typeof c)for(var _ in c)t.d(x,_,function(b){return c[b]}.bind(null,_));return x},t.n=function(c){var m=c&&c.__esModule?function(){return c.default}:function(){return c};return t.d(m,"a",m),m},t.o=function(c,m){return Object.prototype.hasOwnProperty.call(c,m)},t.p="",t(t.s=90)}({17:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;var c=t(18),m=function(){function x(){}return x.getFirstMatch=function(_,b){var v=b.match(_);return v&&v.length>0&&v[1]||""},x.getSecondMatch=function(_,b){var v=b.match(_);return v&&v.length>1&&v[2]||""},x.matchAndReturnConst=function(_,b,v){if(_.test(b))return v},x.getWindowsVersionName=function(_){switch(_){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},x.getMacOSVersionName=function(_){var b=_.split(".").splice(0,2).map(function(v){return parseInt(v,10)||0});if(b.push(0),10===b[0])switch(b[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},x.getAndroidVersionName=function(_){var b=_.split(".").splice(0,2).map(function(v){return parseInt(v,10)||0});if(b.push(0),!(1===b[0]&&b[1]<5))return 1===b[0]&&b[1]<6?"Cupcake":1===b[0]&&b[1]>=6?"Donut":2===b[0]&&b[1]<2?"Eclair":2===b[0]&&2===b[1]?"Froyo":2===b[0]&&b[1]>2?"Gingerbread":3===b[0]?"Honeycomb":4===b[0]&&b[1]<1?"Ice Cream Sandwich":4===b[0]&&b[1]<4?"Jelly Bean":4===b[0]&&b[1]>=4?"KitKat":5===b[0]?"Lollipop":6===b[0]?"Marshmallow":7===b[0]?"Nougat":8===b[0]?"Oreo":9===b[0]?"Pie":void 0},x.getVersionPrecision=function(_){return _.split(".").length},x.compareVersions=function(_,b,v){void 0===v&&(v=!1);var M=x.getVersionPrecision(_),N=x.getVersionPrecision(b),p=Math.max(M,N),P=0,g=x.map([_,b],function(U){var G=p-x.getVersionPrecision(U),A=U+new Array(G+1).join(".0");return x.map(A.split("."),function(K){return new Array(20-K.length).join("0")+K}).reverse()});for(v&&(P=p-Math.min(M,N)),p-=1;p>=P;){if(g[0][p]>g[1][p])return 1;if(g[0][p]===g[1][p]){if(p===P)return 0;p-=1}else if(g[0][p]<g[1][p])return-1}},x.map=function(_,b){var v,M=[];if(Array.prototype.map)return Array.prototype.map.call(_,b);for(v=0;v<_.length;v+=1)M.push(b(_[v]));return M},x.find=function(_,b){var v,M;if(Array.prototype.find)return Array.prototype.find.call(_,b);for(v=0,M=_.length;v<M;v+=1){var N=_[v];if(b(N,v))return N}},x.assign=function(_){for(var b,v,M=_,N=arguments.length,p=new Array(N>1?N-1:0),P=1;P<N;P++)p[P-1]=arguments[P];if(Object.assign)return Object.assign.apply(Object,[_].concat(p));var g=function(){var U=p[b];"object"==typeof U&&null!==U&&Object.keys(U).forEach(function(G){M[G]=U[G]})};for(b=0,v=p.length;b<v;b+=1)g();return _},x.getBrowserAlias=function(_){return c.BROWSER_ALIASES_MAP[_]},x.getBrowserTypeByAlias=function(_){return c.BROWSER_MAP[_]||""},x}();a.default=m,Le.exports=a.default},18:function(Le,a,t){"use strict";a.__esModule=!0,a.ENGINE_MAP=a.OS_MAP=a.PLATFORMS_MAP=a.BROWSER_MAP=a.BROWSER_ALIASES_MAP=void 0,a.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},a.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},a.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},a.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},a.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;var c,m=(c=t(91))&&c.__esModule?c:{default:c},x=t(18);function _(v,M){for(var N=0;N<M.length;N++){var p=M[N];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(v,p.key,p)}}var b=function(){function v(){}var M,p;return v.getParser=function(P,g){if(void 0===g&&(g=!1),"string"!=typeof P)throw new Error("UserAgent should be a string");return new m.default(P,g)},v.parse=function(P){return new m.default(P).getResult()},M=v,p=[{key:"BROWSER_MAP",get:function(){return x.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return x.ENGINE_MAP}},{key:"OS_MAP",get:function(){return x.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return x.PLATFORMS_MAP}}],null&&_(M.prototype,null),p&&_(M,p),v}();a.default=b,Le.exports=a.default},91:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;var c=v(t(92)),m=v(t(93)),x=v(t(94)),_=v(t(95)),b=v(t(17));function v(N){return N&&N.__esModule?N:{default:N}}var M=function(){function N(P,g){if(void 0===g&&(g=!1),null==P||""===P)throw new Error("UserAgent parameter can't be empty");this._ua=P,this.parsedResult={},!0!==g&&this.parse()}var p=N.prototype;return p.getUA=function(){return this._ua},p.test=function(P){return P.test(this._ua)},p.parseBrowser=function(){var P=this;this.parsedResult.browser={};
vendor: 4,158 bytes, line 1
1var g=b.default.find(c.default,function(U){if("function"==typeof U.test)return U.test(P);if(U.test instanceof Array)return U.test.some(function(G){return P.test(G)});throw new Error("Browser's test function is not valid")});return g&&(this.parsedResult.browser=g.describe(this.getUA())),this.parsedResult.browser},p.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},p.getBrowserName=function(P){return P?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},p.getBrowserVersion=function(){return this.getBrowser().version},p.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},p.parseOS=function(){var P=this;this.parsedResult.os={};var g=b.default.find(m.default,function(U){if("function"==typeof U.test)return U.test(P);if(U.test instanceof Array)return U.test.some(function(G){return P.test(G)});throw new Error("Browser's test function is not valid")});return g&&(this.parsedResult.os=g.describe(this.getUA())),this.parsedResult.os},p.getOSName=function(P){var g=this.getOS().name;return P?String(g).toLowerCase()||"":g||""},p.getOSVersion=function(){return this.getOS().version},p.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},p.getPlatformType=function(P){void 0===P&&(P=!1);var g=this.getPlatform().type;return P?String(g).toLowerCase()||"":g||""},p.parsePlatform=function(){var P=this;this.parsedResult.platform={};var g=b.default.find(x.default,function(U){if("function"==typeof U.test)return U.test(P);if(U.test instanceof Array)return U.test.some(function(G){return P.test(G)});throw new Error("Browser's test function is not valid")});return g&&(this.parsedResult.platform=g.describe(this.getUA())),this.parsedResult.platform},p.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},p.getEngineName=function(P){return P?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},p.parseEngine=function(){var P=this;this.parsedResult.engine={};var g=b.default.find(_.default,function(U){if("function"==typeof U.test)return U.test(P);if(U.test instanceof Array)return U.test.some(function(G){return P.test(G)});throw new Error("Browser's test function is not valid")});return g&&(this.parsedResult.engine=g.describe(this.getUA())),this.parsedResult.engine},p.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},p.getResult=function(){return b.default.assign({},this.parsedResult)},p.satisfies=function(P){var g=this,U={},G=0,A={},K=0;if(Object.keys(P).forEach(function(j){var fe=P[j];"string"==typeof fe?(A[j]=fe,K+=1):"object"==typeof fe&&(U[j]=fe,G+=1)}),G>0){var z=Object.keys(U),ee=b.default.find(z,function(j){return g.isOS(j)});if(ee){var L=this.satisfies(U[ee]);if(void 0!==L)return L}var f=b.default.find(z,function(j){return g.isPlatform(j)});if(f){var D=this.satisfies(U[f]);if(void 0!==D)return D}}if(K>0){var R=Object.keys(A),S=b.default.find(R,function(j){return g.isBrowser(j,!0)});if(void 0!==S)return this.compareVersion(A[S])}},p.isBrowser=function(P,g){void 0===g&&(g=!1);var U=this.getBrowserName().toLowerCase(),G=P.toLowerCase(),A=b.default.getBrowserTypeByAlias(G);return g&&A&&(G=A.toLowerCase()),G===U},p.compareVersion=function(P){var g=[0],U=P,G=!1,A=this.getBrowserVersion();if("string"==typeof A)return">"===P[0]||"<"===P[0]?(U=P.substr(1),"="===P[1]?(G=!0,U=P.substr(2)):g=[],g.push(">"===P[0]?1:-1)):"="===P[0]?U=P.substr(1):"~"===P[0]&&(G=!0,U=P.substr(1)),g.indexOf(b.default.compareVersions(A,U,G))>-1},p.isOS=function(P){return this.getOSName(!0)===String(P).toLowerCase()},p.isPlatform=function(P){return this.getPlatformType(!0)===String(P).toLowerCase()},p.isEngine=function(P){return this.getEngineName(!0)===String(P).toLowerCase()},p.is=function(P,g){return void 0===g&&(g=!1),this.isBrowser(P,g)||this.isOS(P)||this.isPlatform(P)},p.some=function(P){var g=this;return void 0===P&&(P=[]),P.some(function(U){return g.is(U)})},N}();a.default=M,Le.exports=a.default},92:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;
vendor: 7,768 bytes, line 1
1var c,m=(c=t(17))&&c.__esModule?c:{default:c},x=/version\/(\d+(\.?_?\d+)+)/i;a.default=[{test:[/googlebot/i],describe:function(b){var v={name:"Googlebot"},M=m.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/opera/i],describe:function(b){var v={name:"Opera"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/opr\/|opios/i],describe:function(b){var v={name:"Opera"},M=m.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/SamsungBrowser/i],describe:function(b){var v={name:"Samsung Internet for Android"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/Whale/i],describe:function(b){var v={name:"NAVER Whale Browser"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/MZBrowser/i],describe:function(b){var v={name:"MZ Browser"},M=m.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/focus/i],describe:function(b){var v={name:"Focus"},M=m.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/swing/i],describe:function(b){var v={name:"Swing"},M=m.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/coast/i],describe:function(b){var v={name:"Opera Coast"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(b){var v={name:"Opera Touch"},M=m.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/yabrowser/i],describe:function(b){var v={name:"Yandex Browser"},M=m.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/ucbrowser/i],describe:function(b){var v={name:"UC Browser"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/Maxthon|mxios/i],describe:function(b){var v={name:"Maxthon"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/epiphany/i],describe:function(b){var v={name:"Epiphany"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/puffin/i],describe:function(b){var v={name:"Puffin"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/sleipnir/i],describe:function(b){var v={name:"Sleipnir"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/k-meleon/i],describe:function(b){var v={name:"K-Meleon"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/micromessenger/i],describe:function(b){var v={name:"WeChat"},M=m.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/qqbrowser/i],describe:function(b){var v={name:/qqbrowserlite/i.test(b)?"QQ Browser Lite":"QQ Browser"},M=m.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/msie|trident/i],describe:function(b){var v={name:"Internet Explorer"},M=m.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/\sedg\//i],describe:function(b){var v={name:"Microsoft Edge"},M=m.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/edg([ea]|ios)/i],describe:function(b){var v={name:"Microsoft Edge"},M=m.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/vivaldi/i],describe:function(b){var v={name:"Vivaldi"},M=m.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/seamonkey/i],describe:function(b){var v={name:"SeaMonkey"},M=m.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/sailfish/i],describe:function(b){var v={name:"Sailfish"},M=m.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,b);return M&&(v.version=M),v}},{test:[/silk/i],describe:function(b){var v={name:"Amazon Silk"},M=m.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/phantom/i],describe:function(b){var v={name:"PhantomJS"},M=m.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/slimerjs/i],describe:function(b){var v={name:"SlimerJS"},M=m.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(b){var v={name:"BlackBerry"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/(web|hpw)[o0]s/i],describe:function(b){var v={name:"WebOS Browser"},M=m.default.getFirstMatch(x,b)||m.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/bada/i],describe:function(b){var v={name:"Bada"},M=m.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/tizen/i],describe:function(b){var v={name:"Tizen"},M=m.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/qupzilla/i],describe:function(b){var v={name:"QupZilla"},M=m.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/firefox|iceweasel|fxios/i],describe:function(b){var v={name:"Firefox"},M=m.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/electron/i],describe:function(b){var v={name:"Electron"},M=m.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/MiuiBrowser/i],describe:function(b){var v={name:"Miui"},M=m.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/chromium/i],describe:function(b){var v={name:"Chromium"},M=m.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,b)||m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/chrome|crios|crmo/i],describe:function(b){var v={name:"Chrome"},M=m.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/GSA/i],describe:function(b){var v={name:"Google Search"},M=m.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:function(b){var v=!b.test(/like android/i),M=b.test(/android/i);return v&&M},describe:function(b){var v={name:"Android Browser"},M=m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/playstation 4/i],describe:function(b){var v={name:"PlayStation 4"},M=m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/safari|applewebkit/i],describe:function(b){var v={name:"Safari"},M=m.default.getFirstMatch(x,b);return M&&(v.version=M),v}},{test:[/.*/i],describe:function(b){var v=-1!==b.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:m.default.getFirstMatch(v,b),version:m.default.getSecondMatch(v,b)}}}
vendor: 2,529 bytes, line 1
1],Le.exports=a.default},93:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;var c,m=(c=t(17))&&c.__esModule?c:{default:c},x=t(18);a.default=[{test:[/Roku\/DVP/],describe:function(b){var v=m.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,b);return{name:x.OS_MAP.Roku,version:v}}},{test:[/windows phone/i],describe:function(b){var v=m.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,b);return{name:x.OS_MAP.WindowsPhone,version:v}}},{test:[/windows /i],describe:function(b){var v=m.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,b),M=m.default.getWindowsVersionName(v);return{name:x.OS_MAP.Windows,version:v,versionName:M}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(b){var v={name:x.OS_MAP.iOS},M=m.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,b);return M&&(v.version=M),v}},{test:[/macintosh/i],describe:function(b){var v=m.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,b).replace(/[_\s]/g,"."),M=m.default.getMacOSVersionName(v),N={name:x.OS_MAP.MacOS,version:v};return M&&(N.versionName=M),N}},{test:[/(ipod|iphone|ipad)/i],describe:function(b){var v=m.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,b).replace(/[_\s]/g,".");return{name:x.OS_MAP.iOS,version:v}}},{test:function(b){var v=!b.test(/like android/i),M=b.test(/android/i);return v&&M},describe:function(b){var v=m.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,b),M=m.default.getAndroidVersionName(v),N={name:x.OS_MAP.Android,version:v};return M&&(N.versionName=M),N}},{test:[/(web|hpw)[o0]s/i],describe:function(b){var v=m.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,b),M={name:x.OS_MAP.WebOS};return v&&v.length&&(M.version=v),M}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(b){var v=m.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,b)||m.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,b)||m.default.getFirstMatch(/\bbb(\d+)/i,b);return{name:x.OS_MAP.BlackBerry,version:v}}},{test:[/bada/i],describe:function(b){var v=m.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,b);return{name:x.OS_MAP.Bada,version:v}}},{test:[/tizen/i],describe:function(b){var v=m.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,b);return{name:x.OS_MAP.Tizen,version:v}}},{test:[/linux/i],describe:function(){return{name:x.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:x.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(b){var v=m.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,b);return{name:x.OS_MAP.PlayStation4,version:v}}}
1],Le.exports=a.default},94:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;var c,m=(c=t(17))&&c.__esModule?c:{default:c},x=t(18);a.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(b){var v=m.default.getFirstMatch(/(can-l01)/i,b)&&"Nova",M={type:x.PLATFORMS_MAP.mobile,vendor:"Huawei"};return v&&(M.model=v),M}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:x.PLATFORMS_MAP.tablet}}},{test:function(b){var v=b.test(/ipod|iphone/i),M=b.test(/like (ipod|iphone)/i);return v&&!M},describe:function(b){var v=m.default.getFirstMatch(/(ipod|iphone)/i,b);return{type:x.PLATFORMS_MAP.mobile,vendor:"Apple",model:v}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:x.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:x.PLATFORMS_MAP.mobile}}},{test:function(b){return"blackberry"===b.getBrowserName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(b){return"bada"===b.getBrowserName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.mobile}}},{test:function(b){return"windows phone"===b.getBrowserName()},describe:function(){return{type:x.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(b){var v=Number(String(b.getOSVersion()).split(".")[0]);return"android"===b.getOSName(!0)&&v>=3},describe:function(){return{type:x.PLATFORMS_MAP.tablet}}},{test:function(b){return"android"===b.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.mobile}}},{test:function(b){return"macos"===b.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(b){return"windows"===b.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.desktop}}},{test:function(b){return"linux"===b.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.desktop}}},{test:function(b){return"playstation 4"===b.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.tv}}},{test:function(b){return"roku"===b.getOSName(!0)},describe:function(){return{type:x.PLATFORMS_MAP.tv}}}],Le.exports=a.default},95:function(Le,a,t){"use strict";a.__esModule=!0,a.default=void 0;var c,m=(c=t(17))&&c.__esModule?c:{default:c},x=t(18);a.default=[{test:function(b){return"microsoft edge"===b.getBrowserName(!0)},describe:function(b){if(/\sedg\//i.test(b))return{name:x.ENGINE_MAP.Blink};var v=m.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,b);return{name:x.ENGINE_MAP.EdgeHTML,version:v}}},{test:[/trident/i],describe:function(b){var v={name:x.ENGINE_MAP.Trident},M=m.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:function(b){return b.test(/presto/i)},describe:function(b){var v={name:x.ENGINE_MAP.Presto},M=m.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:function(b){var v=b.test(/gecko/i),M=b.test(/like gecko/i);return v&&!M},describe:function(b){var v={name:x.ENGINE_MAP.Gecko},M=m.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:x.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(b){var v={name:x.ENGINE_MAP.WebKit},M=m.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,b);return M&&(v.version=M),v}}],Le.exports=a.default}})},7283:(Nt,Le,a)=>{"use strict";a.d(Le,{l9:()=>le,ic:()=>_e,PF:()=>ne,p_:()=>et,eC:()=>fe,zF:()=>ee,xZ:()=>H,$M:()=>dt,t$:()=>re,fH:()=>Fe,jS:()=>D,ym:()=>Be});var t=a(4438),c=a(177),m=a(345),x=a(7669),_=a(1269),v=_.A.one,p=_.A.triggerHandler,g=a(5042),U=a(4292),G=a(207),A=a(2535);a(4461),a(2984);class ee{setHost(we){this.host=we}setTemplate(we){this.host.setTemplate(we)}}class L{constructor(we,Ee){this.instance=we,this.zone=Ee,this.subscriptions={},this.events={}}hasEvent(we){return 0!==this.getEmitter(we).observers.length}fireEvent(we,Ee){const He=this.getEmitter(we);He.observers.length&&((this.subscriptions[we]||[]).length===He.observers.length?He.next(Ee&&Ee[0]):this.zone.run(()=>He.next(Ee&&Ee[0])))}on(we,Ee){if("string"==typeof we){const He=this.subscriptions[we]||[],Ot=this.getEmitter(we).subscribe(Ee?.bind(this.instance)),It=Ot.unsubscribe.bind(Ot);He.push({handler:Ee,unsubscribe:It}),this.subscriptions[we]=He}else{const He=we;Object.keys(He).forEach(Ot=>this.on(Ot,He[Ot]))}}off(we,Ee){const He=this.subscriptions[we]||[];Ee?He.some((Ot,It)=>Ot.handler===Ee&&(Ot.unsubscribe(),He.splice(It,1),!0)):(He.forEach(Ot=>{Ot.unsubscribe()}),He.splice(0,He.length))}dispose(){}addEmitter(we,Ee){this.events[we]=Ee}getEmitter(we){return this.events[we]||(this.events[we]=new t.bkB),this.events[we]}}class f{constructor(we,Ee){this.zone=we,this.component=Ee,this.lockedValueChangeEvent=!1}fireNgEvent(we,Ee){if(this.lockedValueChangeEvent&&"valueChange"===we)return;const He=this.component[we];He&&He.observers.length&&this.zone.run(()=>{He.next(Ee&&Ee[0])})}createEmitters(we){we.forEach(Ee=>{this.component[Ee.emit]=new t.bkB})}}let D=(()=>{class Ce{constructor(){this._watchers=[]}getWatchMethod(){return(He,Ot,It)=>{let un=He();(It=It||{}).skipImmediate||Ot(un);const ln=()=>{const Ln=He();this._isDifferentValues(un,Ln,It.deep)&&(Ot(Ln),un=Ln)};return this._watchers.push(ln),()=>{const Ln=this._watchers.indexOf(ln);-1!==Ln&&this._watchers.splice(Ln,1)}}}_isDifferentValues(Ee,He,Ot){const It=this._toComparable(He),un=this._toComparable(Ee);return Ot&&It instanceof Object&&un instanceof Object?this._checkObjectsFields(He,Ee):It!==un}_toComparable(Ee){return Ee instanceof Date?Ee.getTime():Ee}_checkObjectsFields(Ee,He){for(const Ot in Ee){const It=this._toComparable(Ee[Ot]),un=this._toComparable(He[Ot]);let ln=!1;if("object"==typeof It&&"object"==typeof un&&(ln=(0,g.RL)(It,un)),It!==un&&!ln)return!0}}checkWatchers(){for(const Ee of this._watchers)Ee()}}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)},Ce.\u0275prov=t.jDH({token:Ce,factory:Ce.\u0275fac}),Ce})();function R(Ce){return Ce.get?Ce.get(0):Ce}const S="dx-template-wrapper";let fe=(()=>{class Ce{constructor(Ee,He,Ot,It,un){this.templateRef=Ee,this.viewContainerRef
1=He,this.renderer=It,this.zone=un,Ot.setTemplate(this)}set dxTemplateOf(Ee){this.name=Ee}renderTemplate(Ee){const He=this.viewContainerRef.createEmbeddedView(this.templateRef,{$implicit:Ee.model,index:Ee.index}),Ot=R(Ee.container);return Ee.container&&He.rootNodes.forEach(It=>{this.renderer.appendChild(Ot,It)}),He}render(Ee){let He;return He=this.zone.isStable?this.zone.run(()=>this.renderTemplate(Ee)):this.renderTemplate(Ee),He.detectChanges(),He.rootNodes.forEach(Ot=>{1===Ot.nodeType&&x.A.setClass(Ot,S,!0),v(Ot,"dxremove",({},It)=>{(!It||!It._angularIntegration)&&He.destroy()})}),He.rootNodes}}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)(t.rXU(t.C4Q),t.rXU(t.c1b),t.rXU(ee),t.rXU(t.sFG),t.rXU(t.SKi))},Ce.\u0275dir=t.FsC({type:Ce,selectors:[["","dxTemplate",""]],inputs:{dxTemplateOf:"dxTemplateOf"}}),Ce})(),H=(()=>{class Ce{}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)},Ce.\u0275mod=t.$C({type:Ce}),Ce.\u0275inj=t.G2t({}),Ce})();const J="dx-visibility-change-handler";let Y=(()=>{class Ce{constructor(){this._initialOptions={},this._collectionContainerImpl=new W(this._setOption.bind(this),this._filterItems.bind(this))}
1_optionChangedHandler(Ee){const He=this._fullOptionPath();if(0===Ee.fullName.indexOf(He)){const It=this[`${Ee.fullName.slice(He.length)}Change`];It&&It.next(Ee.value)}}_createEventEmitters(Ee){Ee.forEach(He=>{this[He.emit]=new t.bkB})}_getOption(Ee){return this.isLinked?this.instance.option(this._fullOptionPath()+Ee):this._initialOptions[Ee]}_setOption(Ee,He){if(this.isLinked){const Ot=this._fullOptionPath()+Ee;this.instance.option(Ot,He)}else this._initialOptions[Ee]=He}_addRemovedOption(Ee){this.instance&&this.removedNestedComponents&&this.removedNestedComponents.push(Ee)}_deleteRemovedOptions(Ee){this.instance&&this.removedNestedComponents&&(this.removedNestedComponents=this.removedNestedComponents.filter(He=>!He.startsWith(Ee)))}_addRecreatedComponent(){this.instance&&this.recreatedNestedComponents&&this.recreatedNestedComponents.push({getOptionPath:()=>this._getOptionPath()})}_getOptionPath(){return this._hostOptionPath()+this._optionPath}setHost(Ee,He){this._host=Ee,this._hostOptionPath=He,this.optionChangedHandlers.subscribe(this._optionChangedH
1andler.bind(this))}setChildren(Ee,He){return this.resetOptions(Ee),this._collectionContainerImpl.setChildren(Ee,He)}_filterItems(Ee){return Ee.filter(He=>He!==this)}get instance(){return this._host&&this._host.instance}get resetOptions(){return this._host&&this._host.resetOptions}get isRecreated(){return this._host&&this._host.isRecreated}get removedNestedComponents(){return this._host&&this._host.removedNestedComponents}set removedNestedComponents(Ee){this._host.removedNestedComponents=Ee}get recreatedNestedComponents(){return this._host&&this._host.recreatedNestedComponents}set recreatedNestedComponents(Ee){this._host.recreatedNestedComponents=Ee}get isLinked(){return!!this.instance&&this._host.isLinked}get optionChangedHandlers(){return this._host&&this._host.optionChangedHandlers}}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)},Ce.\u0275cmp=t.VBU({type:Ce,selectors:[["ng-component"]],decls:0,vars:0,template:function(Ee,He){},encapsulation:2}),Ce})();class W{constructor(we,Ee){this._setOption=we,this._filterItems=Ee,this._activatedQueries={}}setChildren(we,Ee){if(this._filterItems&&(Ee=this._filterItems(Ee)),Ee.length&&(this._activatedQueries[we]=!0),this._activatedQueries[we]){const He=Ee.map((Ot,It)=>(Ot._index=It,Ot._value));this._setOption(we,He)}}}let re=(()=>{class Ce extends Y{setHost(Ee,He){super.setHost(Ee,He),this._host[this._optionPath]=this._initialOptions}_fullOptionPath(){return`${this._getOptionPath()}.`}}return Ce.\u0275fac=function(){let we;return function(He){return(we||(we=t.xGo(Ce)))(He||Ce)}}(),Ce.\u0275cmp=t.VBU({type:Ce,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(Ee,He){},encapsulation:2}),Ce})(),le=(()=>{class Ce extends Y{_fullOptionPath(){return`${this._getOptionPath()}[${this._index}].`}get _value(){return this._initialOptions}get isLinked(){return void 0!==this._index&&!!this.instance&&this._host.isLinked}}return Ce.\u0275fac=function(){let we;return function(He){return(we||(we=t.xGo(Ce)))(He||Ce)}}(),Ce.\u0275cmp=t.VBU({type:Ce,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(Ee,He){},encapsulation:2}),Ce})();const Re=function(Ce){const we=[];(0,U.A)(Ce).hasClass(J)||we.push(Ce),we.push.apply(we,Ce.querySelectorAll(`.${J}`));for(let Ee=0;Ee<we.length;Ee++)p(we[Ee],"dxshown")};function Be(Ce,we,Ee,He){void 0===!Ce.template||!we.nativeElement.hasChildNodes()||![].slice.call(we.nativeElement.childNodes).filter(un=>{if(un.tagName){const ln=un.tagName.toLowerCase().substr(0,3);return!("dxi"===ln||"dxo"===ln)}return"#comment"!==un.nodeName&&un.textContent.replace(/\s/g,"").length}).length||(Ce.template={render:un=>{const ln=we.nativeElement;if(x.A.setClass(ln,S,!0),un.container){const Ln=R(un.container),Zt=Ln.contains(we.nativeElement);Ee.appendChild(Ln,we.nativeElement),Zt||He.body.contains(Ln)&&Re(ln)}return ln}})}class Fe{getHost(){return this._host}setHost(we,Ee){this._host=we,this._optionPath=Ee||(()=>"")}setNestedOption(we){we.setHost(this._host,this._optionPath)}}let ue;const ce=()=>(ue||(ue=(0,m.zw)("DX_isPlatformServer")),ue);let _e=(()=>{class Ce{constructor(Ee,He,Ot,It,un,ln){this.element=Ee,this.ngZone=He,this.watcherHelper=It,this.transferState=un,this.platformId=ln,this._initialOptions={},this._optionsToUpdate={}
1,this.optionChangedHandlers=new t.bkB,this.isLinked=!0,this.changedOptions={},this.removedNestedComponents=[],this.widgetUpdateLocked=!1,this.templateUpdateRequired=!1,this.templates=[],Ot.setHost(this),this._collectionContainerImpl=new W(this._setOption.bind(this)),this.eventHelper=new f(He,this)}_updateTemplates(){if(this.templates.length&&this.templateUpdateRequired){const Ee={};this.templates.forEach(He=>{Ee[He.name]=He}),this.instance.option("integrationOptions.templates",Ee),this.templates=Object.values(Ee),this.templateUpdateRequired=!1}}_initEvents(){this.instance.on("optionChanged",Ee=>{this.changedOptions[Ee.name]=Ee.value;const He=Ee.name===Ee.fullName?Ee.value:Ee.component.option(Ee.name);this.eventHelper.fireNgEvent(`${Ee.name}Change`,[He]),this.optionChangedHandlers.emit(Ee)})}_initOptions(){this._initialOptions.integrationOptions.watchMethod=this.watcherHelper.getWatchMethod()}_initPlatform(){this.transferState.hasKey(ce())?this._initialOptions.integrationOptions.renderedOnServer=this.transferState.get(ce(),null):(0,c.Vy)(this.platformId)&&this.transferState.set(ce(),!0)}_createEventEmitters(Ee){const He=this.ngZone;this.eventHelper.createEmitters(Ee),this._initialOptions.eventsStrategy=Ot=>{const It=new L(Ot,He);return Ee.filter(un=>un.subscribe).forEach(un=>{It.addEmitter(un.subscribe,this[un.emit])}),It},this._initialOptions.nestedComponentOptions=function(Ot){return{eventsStrategy:It=>new L(It,He),nestedComponentOptions:Ot.option("nestedComponentOptions")}}}_shouldOptionChange(Ee,He){if(this.changedOptions.hasOwnProperty(Ee)){const Ot=this.changedOptions[Ee];return delete this.changedOptions[Ee],He!==Ot}return!0}clearChangedOptions(){this.changedOptions={}}_getOption(Ee){return this.instance?this.instance.option(Ee):this._initialOptions[Ee]}lockWidgetUpdate(){!this.widgetUpdateLocked&&this.instance&&(this.instance.beginUpdate(),this.widgetUpdateLocked=!0)}unlockWidgetUpdate(){this.widgetUpdateLocked&&(this.widgetUpdateLocked=!1,this.instance.endUpdate())}_setOption(Ee,He){this.lockWidgetUpdate(),this._shouldOptionChange(Ee,He)&&(this.instance?this.instance.option(Ee,He):this._initialOptions[Ee]=He)}_createWidget(Ee){this._initialOptions.integrationOptions={},this._initPlatform(),this._initOptions(),this._initialOptions.onInitializing=function(){this.beginUpdate()},this.instance=this._createInstance(Ee,this._initialOptions),this._initEvents(),this._initialOptions={}}_destroyWidget(){if(this.removedNestedComponents=[],this.instance){const Ee=this.instance.element();p(Ee,"dxremove",{_angularIntegration:!0}),this.instance.dispose(),x.A.removeElement(Ee)}}ngOnChanges(Ee){for(const He in Ee)Ee[He].currentValue!==this[He]&&(this._optionsToUpdate[He]=Ee[He].currentValue)}ngOnInit(){this._createWidget(this.element.nativeElement)}ngDoCheck(){this.applyOptions()}ngAfterContentChecked(){this.applyOptions(),this.resetOptions(),this.unlockWidgetUpdate()}ngAfterViewInit(){this._updateTemplates(),this.instance.endUpdate(),this.recreatedNestedComponents=[]}ngAfterViewChecked(){this._updateTemplates()}applyOptions(){Object.keys(this._optionsToUpdate).length&&(this.instance&&this.instance.option(this._optionsToUpdate),this._optionsToUpdate={})}resetOptions(Ee){this.instance&&(this.removedNestedComponents.filter(He=>!(He&&!this.isRecreated(He)&&Ee)||He.startsWith(Ee)).forEach(He=>{this.instance.resetOption(He)}),this.removedNestedComponents=[],this.recreatedNestedComponents=[])}isRecreated(Ee){return this.recreatedNestedComponents&&this.recreatedNestedComponents.some(He=>He.getOptionPath()===Ee)}setTemplate(Ee){this.templates.push(Ee),this.templateUpdateRequired=!0}setChildren(Ee,He){return this.resetOptions(Ee),this._collectionContainerImpl.setChildren(Ee,He)}}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)(t.rXU(t.aKT),t.rXU(t.SKi),t.rXU(ee),t.rXU(D),t.rXU(m.pJ),t.rXU(t.Agw))},Ce.\u0275cmp=t.VBU({type:Ce,selectors:[["ng-component"]],features:[t.OA$],decls:0,vars:0,template:function(Ee,He){},encapsulation:2}),Ce})(),ne=(()=>{class Ce extends _e{createInstance(Ee){this._createWidget(Ee)}ngOnInit(){}ngAfterViewInit(){this._createWidget(this.element.nativeElement),this.instance.endUpdate()}}return Ce.\u0275fac=function(){let we;return function(He){return(we||(we=t.xGo(Ce)))(He||Ce)}}(),Ce.\u0275cmp=t.VBU({type:Ce,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(Ee,He){},encapsulation:2}),Ce})();const Z=["mousemove","mouseover","mouseout"],ve=["mouseup","click","mousedown","transitionend","wheel"];
1let ke,Ne=[],Ie=function(Ce){ke||(ke=this.callBase.bind(this)),Ne.push(Ce)};A.A.inject({add(Ce){return Ie.call(this,Ce)}});let De=(Ce,we,Ee)=>{Number(t.xvI.major)<12&&console.warn("Your version of Angular is not supported. Please update your project to version 12 or later. Please refer to the Angular Update Guide for more information: https://update.angular.io"),x.A.inject({_document:Ce,listen(...Ot){const It=Ot[1];return Z.includes(It)?we.runOutsideAngular(()=>this.callBase.apply(this,Ot)):we.isStable&&ve.includes(It)?we.run(()=>this.callBase.apply(this,Ot)):this.callBase.apply(this,Ot)},isElementNode:Ot=>Ot&&1===Ot.nodeType,isTextNode:Ot=>Ot&&3===Ot.nodeType,isDocument:Ot=>Ot&&9===Ot.nodeType}),G.A.inject({getXhr(){if(!Ee)return this.callBase.apply(this);const Ot=Ee.build();return"withCredentials"in Ot||(Ot.withCredentials=!1),Ot}});const He=()=>{we.run(()=>{_.A.set({}),Ne.forEach(Ot=>ke.call(null,Ot)),Ne=[],A.A.fire()})};He(),Ie=Ot=>we.run(()=>Ot()),De=He},et=(()=>{class Ce{constructor(Ee,He,Ot){De(Ee,He,Ot)}}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)(t.KVO(c.qQ),t.KVO(t.SKi),t.KVO(c.N0,8))},Ce.\u0275mod=t.$C({type:Ce}),Ce.\u0275inj=t.G2t({}),Ce})(),dt=(()=>{class Ce{constructor(Ee){this._differs=Ee,this._propertyDiffers={}}setHost(Ee){this._host=Ee}setup(Ee,He){Ee in He&&this.setupSingle(Ee,He[Ee].currentValue)}setupSingle(Ee,He){if(He&&Array.isArray(He)){if(!this._propertyDiffers[Ee])try{return this._propertyDiffers[Ee]=this._differs.find(He).create(null),!0}catch{}}else delete this._propertyDiffers[Ee];return!1}getChanges(Ee,He){if(this._propertyDiffers[Ee])return this._propertyDiffers[Ee].diff(He)}checkChangedOptions(Ee,He){return this._host.changedOptions[Ee]===He}doCheck(Ee){if(this._propertyDiffers[Ee]&&this._host.instance){const He=this._host[Ee];(function yt(Ce){return Ce&&"function"==typeof Ce[Symbol.iterator]})(He)&&this.getChanges(Ee,He)&&!this.checkChangedOptions(Ee,He)&&(this._host.lockWidgetUpdate(),this._host.instance.option(Ee,He))}}}return Ce.\u0275fac=function(Ee){return new(Ee||Ce)(t.KVO(t._q3))},Ce.\u0275prov=t.jDH({token:Ce,factory:Ce.\u0275fac}),Ce})()},3514:(Nt,Le,a)=>{"use strict";a.d(Le,{L:()=>v}),a(345);var c=a(4438),x=(a(2839),a(7283));let v=(()=>{class M{}return M.\u0275fac=function(p){return new(p||M)},M.\u0275mod=c.$C({type:M}),M.\u0275inj=c.G2t({imports:[[x.p_,x.xZ],x.xZ]}),M})()},9523:(Nt,Le,a)=>{"use strict";a.d(Le,{l:()=>v,w:()=>b});var t=a(345),c=a(4438),m=a(458),x=a(7283),_=a(1837);let b=(()=>{class M extends x.ic{constructor(p,P,g,U,G,A,K,z){super(p,P,g,U,K,z),this._watcherHelper=U,this._idh=G,this._createEventEmitters([{subscribe:"contentReady",emit:"onContentReady"},{subscribe:"disposing",emit:"onDisposing"},{subscribe:"hidden",emit:"onHidden"},{subscribe:"hiding",emit:"onHiding"},{subscribe:"initialized",emit:"onInitialized"},{subscribe:"itemClick",emit:"onItemClick"},{subscribe:"itemContextMenu",emit:"onItemContextMenu"},{subscribe:"itemRendered",emit:"onItemRendered"},{subscribe:"optionChanged",emit:"onOptionChanged"},{subscribe:"positioning",emit:"onPositioning"},{subscribe:"selectionChanged",emit:"onSelectionChanged"},{subscribe:"showing",emit:"onShowing"},{subscribe:"shown",emit:"onShown"},{emit:"accessKeyChange"},{emit:"activeStateEnabledChange"},{emit:"animationChange"},{emit:"closeOnOutsideClickChange"},{emit:"cssClassChange"},{emit:"dataSourceChange"},{emit:"disabledChange"},{emit:"disabledExprChange"},{emit:"displayExprChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hideOnOutsideClickChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"itemsChange"},{emit:"itemsExprChange"},{emit:"itemTemplateChange"},{emit:"positionChange"},{emit:"rtlEnabledChange"},{emit:"selectByClickChange"},{emit:"selectedExprChange"},{emit:"selectedItemChange"},{emit:"selectionModeChange"},{emit:"showEventChange"},{emit:"showSubmenuModeChange"},{emit:"submenuDirectionChange"},{emit:"tabIndexChange"},{emit:"targetChange"},{emit:"visibleChange"},{emit:"widthChange"}]),this._idh.setHost(this),A.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(p){this._setOption("accessKey",p)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(p){this._setOption("activeStateEnabled",p)}get animation(){return this._getOption("animation")}set animation(p){this._setOption("animation",p)}get closeOnOutsideClick(){return this._getOption("closeOnOutsideClick")}set closeOnOutsideClick(p){this._setOption("closeOnOutsideClick",p)}get cssClass(){return this._getOption("cssClass")}set cssClass(p){this._setOption("cssClass",p)}get dataSource(){return this._getOption("dataSource")}set dataSource(p){this._setOption("dataSource",p)}get disabled(){return this._getOption("disabled")}set disabled(p){this._setOption("disabled",p)}get disabledExpr(){return this._getOption("disabledExpr")}set disabledExpr(p){this._setOption("disabledExpr",p)}get displayExpr(){return this._getOption("displayExpr")}set displayExpr(p){this._setOption("displayExpr",p)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(p){this._setOption("elementAttr",p)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(p){this._setOption("focusStateEnabled",p)}get height(){return this._getOption("height")}set height(p){this._setOption("height",p)}get hideOnOutsideClick(){return this._getOption("hideOnOutsideClick")}set hideOnOutsideClick(p){this._setOption("hideOnOutsideClick",p)}get hint(){return this._getOption("hint")}set hint(p){this._setOption("hint",p)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(p){this._setOption("hoverStateEnabled",p)}get items(){return this._getOption("items")}set items(p){this._setOption("items",p)}get itemsExpr(){return this._getOption("itemsExpr")}set itemsExpr(p){this._setOption("itemsExpr",p)}get itemTemplate(){return this._getOption("itemTemplate")}set itemTemplate(p){this._setOption("itemTemplate",p)}get position(){return this._getOption("position")}set position(p){this._setOption("position",p)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(p){this._setOption("rtlEnabled",p)}get selectByClick(){return this._getOption("selectByClick")}set selectByClick(p){this._setOption("selectByClick",p)}get selectedExpr(){return this._getOption("selectedExpr")}set selectedExpr(p){this._setOption("selectedExpr",p)}get selectedItem(){return this._getOption("selectedItem")}set selectedItem(p){this._setOption("selectedItem",p)}get selectionMode(){return this._getOption("selectionMode")}set selectionMode(p){this._setOption("selectionMode",p)}get showEvent(){return this._getOption("showEvent")}set showEvent(p){this._setOption("showEvent",p)}get showSubmenuMode(){return this._getOption("showSubmenuMode")}set showSubmenuMode(p){this._setOption("showSubmenuMode",p)}get submenuDirection(){return this._getOption("submenuDirection")}set submenuDirection(p){this._setOption("submenuDirection",p)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(p){this._setOption("tabIndex",p)}get target(){return this._getOption("target")}set target(p){this._setOption("target",p)}get visible(){return this._getOption("visible")}set visible(p){this._setOption("visible",p)}get width(){return this._getOption("width")}set width(p){this._setOption("width",p)}get itemsChildren(){return this._getOption("items")}set itemsChildren(p){this.setChildren("items",p)}_createInstance(p,P){return new m.A(p,P)}ngOnDestroy(){this._destroyWidget()}ngOnChanges(p){super.ngOnChanges(p),this.setupChanges("dataSource",p),this.setupChanges("items",p)}setupChanges(p,P){p in this._optionsToUpdate||this._idh.setup(p,P)}ngDoCheck(){this._idh.doCheck("dataSource"),this._idh.doCheck("items"),this._watcherHelper.checkWatchers(),super.ngDoC
1heck(),super.clearChangedOptions()}_setOption(p,P){let g=this._idh.setupSingle(p,P),U=null!==this._idh.getChanges(p,P);(g||U)&&super._setOption(p,P)}}return M.\u0275fac=function(p){return new(p||M)(c.rXU(c.aKT),c.rXU(c.SKi),c.rXU(x.zF),c.rXU(x.jS),c.rXU(x.$M),c.rXU(x.fH),c.rXU(t.pJ),c.rXU(c.Agw))},M.\u0275cmp=c.VBU({type:M,selectors:[["dx-context-menu"]],contentQueries:function(p,P,g){if(1&p&&c.wni(g,_.CVf,4),2&p){let U;c.mGM(U=c.lsd())&&(P.itemsChildren=U)}},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",animation:"animation",closeOnOutsideClick:"closeOnOutsideClick",cssClass:"cssClass",dataSource:"dataSource",disabled:"disabled",disabledExpr:"disabledExpr",displayExpr:"displayExpr",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hideOnOutsideClick:"hideOnOutsideClick",hint:"hint",hoverStateEnabled:"hoverStateEnabled",items:"items",itemsExpr:"itemsExpr",itemTemplate:"itemTemplate",position:"position",rtlEnabled:"rtlEnabled",selectByClick:"selectByClick",selectedExpr:"selectedExpr",selectedItem:"selectedItem",selectionMode:"selectionMode",showEvent:"showEvent",showSubmenuMode:"showSubmenuMode",submenuDirection:"submenuDirection",tabIndex:"tabIndex",target:"target",visible:"visible",width:"width"},outputs:{onContentReady:"onContentReady",onDisposing:"onDisposing",onHidden:"onHidden",onHiding:"onHiding",onInitialized:"onInitialized",onItemClick:"onItemClick",onItemContextMenu:"onItemContextMenu",onItemRendered:"onItemRendered",onOptionChanged:"onOptionChanged",onPositioning:"onPositioning",onSelectionChanged:"onSelectionChanged",onShowing:"onShowing",onShown:"onShown",accessKeyChange:"accessKeyChange",activeStateEnabledChange:"activeStateEnabledChange",animationChange:"animationChange",closeOnOutsideClickChange:"closeOnOutsideClickChange",cssClassChange:"cssClassChange",dataSourceChange:"dataSourceChange",disabledChange:"disabledChange",disabledExprChange:"disabledExprChange",displayExprChange:"displayExprChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",heightChange:"heightChange",hideOnOutsideClickChange:"hideOnOutsideClickChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",itemsChange:"itemsChange",itemsExprChange:"itemsExprChange",itemTemplateChange:"itemTemplateChange",positionChange:"positionChange",rtlEnabledChange:"rtlEnabledChange",selectByClickChange:"selectByClickChange",selectedExprChange:"selectedExprChange",selectedItemChange:"selectedItemChange",selectionModeChange:"selectionModeChange",showEventChange:"showEventChange",showSubmenuModeChange:"showSubmenuModeChange",submenuDirectionChange:"submenuDirectionChange",tabIndexChange:"tabIndexChange",targetChange:"targetChange",visibleChange:"visibleChange",widthChange:"widthChange"},features:[c.Jv_([x.zF,x.jS,x.fH,x.$M]),c.Vt3,c.OA$],decls:0,vars:0,template:function(p,P){},encapsulation:2}),M})(),v=(()=>{class M{}return M.\u0275fac=function(p){return new(p||M)},M.\u0275mod=c.$C({type:M}),M.\u0275inj=c.G2t({imports:[[_.YLo,_.YaD,_.eNx,_.Bkf,_.nwt,_.hXw,_.YGc,_.gf0,_.rvW,_.Tob,_.$Ql,_.POb,_.TBD,_.vwi,_.pGU,x.p_,x.xZ],_.YLo,_.YaD,_.eNx,_.Bkf,_.nwt,_.hXw,_.YGc,_.gf0,_.rvW,_.Tob,_.$Ql,_.POb,_.TBD,_.vwi,_.pGU,x.xZ]}),M})()},9462:(Nt,Le,a)=>{"use strict";a.d(Le,{W:()=>N,z:()=>M});var t=a(345),c=a(4438),m=a(1214),x=a(9417),_=a(7283),b=a(1837);const v={provide:x.kq,useExisting:(0,c.Rfq)(()=>M),multi:!0};let M=(()=>{class p extends _.ic{constructor(g,U,G,A,K,z,ee,L){super(g,U,G,A,ee,L),this._watcherHelper=A,this._idh=K,this.touched=f=>{},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:"isDirtyChange"},{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),z.setHost(this)}get acceptCustomValue(){return this._getOption("acceptCustomValue")}set acceptCustomValue(g){this._setOption("acceptCustomValue",g)}get accessKey(){return this._getOption("accessKey")}set accessKey(g){this._setOption("accessKey",g)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(g){this._setOption("activeStateEnabled",g)}get adaptivityEnabled(){return this._getOption("adaptivityEnabled")}set adaptivityEnabled(g){this._setOption("adaptivityEnabled",g)}get applyButtonText(){return this._getOption("applyButtonText")}set applyButtonText(g){this._setOption("applyButtonText",g)}get applyValueMode(){return this._getOption("applyValueMode")}set applyValueMode(g){this._setOption("applyValueMode",g)}get buttons(){return this._getOption("buttons")}set buttons(g){this._setOption("buttons",g)}get calendarOptions(){return this._getOption("calendarOptions")}set calendarOptions(g){this._setOption("calendarOptions",g)}get cancelButtonText(){return this._getOption("cancelButtonText")}set cancelButtonText(g){this._setOption("cancelButtonText",g)}get dateOutOfRangeMessage(){return this._getOption("dateOutOfRangeMessage")}set dateOutOfRangeMessage(g){this._setOption("dateOutOfRangeMessage",g)}get dateSerializationFormat(){return this._getOption("dateSerializationFormat")}set dateSerializationFormat(g){this._setOption("dateSerializationFormat",g)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(g){this._setOption("deferRendering",g)}get disabled(){return this._getOption("disabled")}set disabled(g){this._setOption("disabled",g)}get disabledDates(){return this._getOption("disabledDates")}set disabledDates(g){this._setOption("disabledDates",g)}get displayFormat(){return this._getOption("displayFormat")}set displayFormat(g){this._setOption("displayFormat",g)}get dropDownButtonTemplate(){return this._getOption("dropDownButtonTemplate")}set dropDownButtonTemplate(g){this._setOption("dropDownButtonTemplate",g)}get dropDownOptions(){return this._getOption("dropDownOptions")}set dropDownOptions(g){this._setOption("dropDownOptions",g)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(g){this._setOption("elementAttr",g)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(g){this._setOption("focusStateEnabled",g)}get height(){return this._getOption("height")}set height(g){this._setOption("height",g)}get hint(){return this._getOption("hint")}set hint(g){this._setOption("hint",g)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(g){this._setOption("hoverStateEnabled",g)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(g){this._setOption("inputAttr",g)}get interval(){return this._getOption("interval")}set interval(g){this._setOption("interval",g)}get invalidDateMessage(){return this._getOption("invalidDateMessage")}set invalidDateMessage(g){this._setOption("invalidDateMessage",g)}get isDirty(){return this._getOption("isDirty")}set isDirty(g){this._setOption("isDirty",g)}get isValid(){return this._getOption("isValid")}set isValid(g){this._setOption("isValid",g)}get label(){return this._getOption("label")}set label(g){this._setOption("label",g)}get labelMode(){return this._getOption("labelMode")}set labelMode(g){this._setOption("labelMode",g)}get max(){return this._getOption("max")}set max(g){this._setOption("max",g)}get maxLength(){return this._getOption("maxLength")}set maxLength(g){this._setOption("maxLength",g)}get min(){return this._getOption("min")}set min(g){this._setOption("min",g)}get name(){return this._getOption("name")}set name(g){this._setOption("name",g)}get opened(){return this._getOption("opened")}set opened(g){this._setOption("opened",g)}get openOnFieldClick(){return this._getOption("openOnFieldClick")}set openOnFieldClick(g){this._setOption("openOnFieldClick",g)}get pickerType(){return this._getOption("pickerType")}set pickerType(g){this._setOption("pickerType",g)}get placeholder(){return this._getOption("placeholder")}set placeholder(g){this._setOption("placeholder",g)}get readOnly(){return this._getOption("readOnly")}set readOnly(g){this._setOption("readOnly",g)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(g){this._setOption("rtlEnabled",g)}get showAnalogClock(){return this._getOption("showAnalogClock")}set showAnalogClock(g){this._setOption("showAnalogClock",g)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(g){this._setOption("showClearButton",g)}get showDropDownButton(){return this._getOption("showDropDownButton")}set showDropDownButton(g){this._setOption("showDropDownButton",g)}get spellcheck(){return this._getOption("spellcheck")}set spellcheck(g){this._setOption("spellcheck",g)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(g){this._setOption("stylingMode",g)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(g){this._setOption("tabIndex",g)}get text(){return this._getOption("text")}set text(g){this._setOption("text",g)}get todayButtonText(){return this._getOption("todayButtonText")}set todayButtonText(g){this._setOption("todayButtonText",g)}get type(){return this._getOption("type")}set type(g){this._setOption("type",g)}get useMaskBehavior(){return this._getOption("useMaskBehavior")}set useMaskBehavior(g){this._setOption("useMaskBehavior",g)}get validationError(){return this._getOption("validationError")}set validationError(g){this._setOption("validationError",g)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(g){this._setOption("validationErrors",g)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(g){this._setOption("validationMessageMode",g)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(g){this._setOption("validationMessagePosition",g)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(g){this._setOption("validationStatus",g)}get value(){return this._getOption("value")}set value(g){this._setOption("value",g)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(g){this._setOption("valueChangeEvent",g)}get visible(){return this._getOption("visible")}set visible(g){this._setOption("visible",g)}get width(){return this._getOption("width")}set width(g){this._setOption("width",g)}
1change(g){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(g){this.setChildren("buttons",g)}_createInstance(g,U){return new m.A(g,U)}writeValue(g){this.eventHelper.lockedValueChangeEvent=!0,this.value=g,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(g){this.disabled=g}registerOnChange(g){this.change=g}registerOnTouched(g){this.touched=g}_createWidget(g){super._createWidget(g),this.instance.on("focusOut",U=>{this.eventHelper.fireNgEvent("onBlur",[U])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(g){super.ngOnChanges(g),this.setupChanges("buttons",g),this.setupChanges("disabledDates",g),this.setupChanges("validationErrors",g)}setupChanges(g,U){g in this._optionsToUpdate||this._idh.setup(g,U)}ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("disabledDates"),this._idh.doCheck("validationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(g,U){let G=this._idh.setupSingle(g,U),A=null!==this._idh.getChanges(g,U);(G||A)&&super._setOption(g,U)}}return p.\u0275fac=function(g){return new(g||p)(c.rXU(c.aKT),c.rXU(c.SKi),c.rXU(_.zF),c.rXU(_.jS),c.rXU(_.$M),c.rXU(_.fH),c.rXU(t.pJ),c.rXU(c.Agw))},p.\u0275cmp=c.VBU({type:p,selectors:[["dx-date-box"]],contentQueries:function(g,U,G){if(1&g&&c.wni(G,b.BrI,4),2&g){let A;c.mGM(A=c.lsd())&&(U.buttonsChildren=A)}},hostBindings:function(g,U){1&g&&c.bIt("valueChange",function(A){return U.change(A)})("onBlur",function(A){return U.touched(A)})},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",isDirty:"isDirty",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",height
1Change:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",inputAttrChange:"inputAttrChange",intervalChange:"intervalChange",invalidDateMessageChange:"invalidDateMessageChange",isDirtyChange:"isDirtyChange",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:[c.Jv_([_.zF,_.jS,v,_.fH,_.$M]),c.Vt3,c.OA$],decls:0,vars:0,template:function(g,U){},encapsulation:2}),p})(),N=(()=>{class p{}return p.\u0275fac=function(g){return new(g||p)},p.\u0275mod=c.$C({type:p}),p.\u0275inj=c.G2t({imports:[[b.GIV,b.u4t,b.QWP,b.f8z,b.df_,b.YLo,b.YaD,b.eNx,b.Bkf,b.nwt,b.hXw,b.YGc,b.gf0,b.rvW,b.Tob,b.$Ql,b.isg,_.p_,_.xZ],b.GIV,b.u4t,b.QWP,b.f8z,b.df_,b.YLo,b.YaD,b.eNx,b.Bkf,b.nwt,b.hXw,b.YGc,b.gf0,b.rvW,b.Tob,b.$Ql,b.isg,_.xZ]}),p})()}
1,1596:(Nt,Le,a)=>{"use strict";a.d(Le,{L:()=>Ce}),a(345);var c=a(4438),m=a(186),x=a(4292),_=a(1269),b=a(4905),v=a(5042),M=a(2463),N=a(4435),p=a(7951),P=a(181),g=a(3930),U=a(8060),G=a(2824),A=a(3862),K=a(8041),z=a(9104),ee=a(4874),L=a(2273),f=a(6311),D=a(2984),R=a(5822),S=a(736),j="dx-gallery",H=j+"-wrapper",J="dx-gallery-loop",Y=j+"-container",W=j+"-active",re=j+"-item",le=j+"-item-invisible",Re=re+"-loop",Be="."+re,Fe=re+"-selected",ue=j+"-indicator",ce=ue+"-item",_e="."+ce,ne=ce+"-selected",Z=".dx-item-content",Ie=K.A.inherit({_supportedKeys:function(){return(0,p.X)(this.callBase(),{pageUp:v.lQ,pageDown:v.lQ})},_getDefaultOptions:function(){return(0,p.X)(this.callBase(),{direction:"next",onClick:null,hoverStateEnabled:!0,activeStateEnabled:!0})},_render:function(){this.callBase();var we=this,Ee=this.$element(),He=(0,z.b4)(U.U,this.NAME);Ee.addClass(j+"-nav-button-"+this.option("direction")),_.A.off(Ee,He),_.A.on(Ee,He,function(Ot){we._createActionByOption("onClick")({event:Ot})})},_optionChanged:function(we){switch(we.name){case"onClick":case"direction":this._invalidate();break;default:this.callBase(we)}}}),De=ee.A.inherit({_activeStateUnit:Be,_wasAnyItemTemplateRendered:!1,_getDefaultOptions:function(){return(0,p.X)(this.callBase(),{activeStateEnabled:!1,animationDuration:400,animationEnabled:!0,loop:!1,swipeEnabled:!0,indicatorEnabled:!0,showIndicator:!0,selectedIndex:0,slideshowDelay:0,showNavButtons:!1,wrapAround:!1,initialItemWidth:void 0,stretchImages:!1,_itemAttributes:{role:"option","aria-label":S.A.format("dxGallery-itemName")},loopItemFocus:!1,selectOnFocus:!0,selectionMode:"single",selectionRequired:!0,selectByClick:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===A.A.real().deviceType&&!A.A.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this.option("loopItemFocus",this.option("loop"))},_initTemplates:function(){this.callBase(),this._templateManager.addDefaultTemplates({item:new f.U(function(we,Ee){var He=(0,x.A)("<img>").addClass("dx-gallery-item-image");(0,M.Qd)(Ee)?(this._prepareDefaultItemTemplate(Ee,we),He.attr({src:Ee.imageSrc,alt:Ee.imageAlt}).appendTo(we)):He.attr("src",String(Ee)).appendTo(we)}.bind(this),["imageSrc","imageAlt","text","html"],this.option("integrationOptions.watchMethod"))})},_dataSourceOptions:function(){return{paginate:!1}},_itemContainer:function(){return this._$container},_itemClass:function(){return re},_itemDataKey:function(){return"dxGalleryItemData"},_actualItemWidth:function(){var we=this.option("wrapAround");return this.option("stretchImages")?1/(we?this._itemsPerPage()+1:this._itemsPerPage()):we?this._itemPercentWidth()*this._itemsPerPage()/(this._itemsPerPage()+1):this._itemPercentWidth()},_itemPercentWidth:function(){var Ee=(0,m.Ot)(this.$element()),He=this.option("initialItemWidth");return He&&He<=Ee?He/Ee:1},_itemsPerPage:function(){var we=(0,N.Vd)()?Math.floor(1/this._itemPercentWidth()):1;return Math.min(we,this._itemsCount())},_pagesCount:function(){return Math.ceil(this._itemsCount()/this._itemsPerPage())},_itemsCount:function(){return(this.option("items")||[]).length},_offsetDirection:function(){return this.option("rtlEnabled")?-1:1},_initMarkup:function(){this._renderWrapper(),this._renderItemsContainer(),this.$element().addClass(j),this.$element().toggleClass(J,this.option("loop")),this.callBase();var we=this._itemsCount()>0;this.setAria({role:we?"listbox":void 0,label:"gallery"})},_render:function(){this._renderDragHandler(),this._renderContainerPosition(),this._renderItemSizes(),this._renderItemPositions(),this._renderNavButtons(),this._renderIndicator(),this._renderSelectedItem(),this._renderItemVisibility(),this._renderUserInteraction(),this._setupSlideShow(),this._reviseDimensions(),this.callBase()},_dimensionChanged:function(){var we=this.option("selectedIndex")||0;this._stopItemAnimations(),this._clearCacheWidth(),this._cloneDuplicateItems(),this._renderItemSizes(),this._renderItemPositions(),this._renderIndicator(),this._renderContainerPosition(this._calculateIndexOffset(we),!0),this._renderItemVisibility()},_renderDragHandler:function(){var we=(0,z.b4)("dragstart",this.NAME);_.A.off(this.$element(),we),_.A.on(this.$element(),we,"img",function(){return!1})},_renderWrapper:function(){this._$wrapper||(this._$wrapper=(0,x.A)("<div>").addClass(H).appendTo(this.$element()))},_renderItems:function(we){if(!(0,N.Vd)()){var Ee=this.option("selectedIndex");we=we.length>Ee?we.slice(Ee,Ee+1):we.slice(0,1)}this.callBase(we),this._loadNextPageIfNeeded()},_onItemTemplateRendered(){return()=>{this._wasAnyItemTemplateRendered||(this._wasAnyItemTemplateRendered=!0,(0,R.ho)(this.$element()))}},_renderItemsContainer:function(){this._$container||(this._$container=(0,x.A)("<div>").addClass(Y).appendTo(this._$wrapper))},_cloneDuplicateItems:function(){if(this.option("loop")){var Ot,Ee=(this.option("items")||[]).length,He=Ee-1;if(Ee){this._getLoopedItems().remove();var It=Math.min(this._itemsPerPage(),Ee),un=this._getRealItems(),ln=this._itemContainer();for(Ot=0;Ot<It;Ot++)this._cloneItemForDuplicate(un[Ot],ln);for(Ot=0;Ot<It;Ot++)this._cloneItemForDuplicate(un[He-Ot],ln)}}},_cloneItemForDuplicate:function(we,Ee){if(we){var He=(0,x.A)(we).clone(!1).addClass(Re).removeAttr("id").css("margin",0).appendTo(Ee);this.setAria({hidden:!0},He)}},_getRealItems:function(){var we="."+re+":not(."+Re+")";return this.$element().find(we)},_getLoopedItems:function(){return this.$element().find("."+Re)},_emptyMessageContainer:function(){return this._$wrapper},_renderItemSizes:function(we){var Ee=this._itemElements(),He=this._actualItemWidth();void 0!==we&&(Ee=Ee.slice(we)),Ee.each(function(Ot){(0,m.iT)((0,x.A)(Ee[Ot]),100*He+"%")})},_renderItemPositions:function(){var we=this._actualItemWidth(),Ee=this._itemsCount(),He=this._itemsPerPage(),Ot=this.$element().find("."+Re).length,It=Ee+Ot-1,un=this.option("wrapAround")?.5:0,ln=this._itemFreeSpace(),Ln=!!ln,Zt=this.option("rtlEnabled"),ct=this.option("selectedIndex"),rt=Zt?"Right":"Left";this._itemElements().each(function(Ae){var Ke=Ae,vt=(0,x.A)(this).hasClass(Re);if(Ae>Ee+He-1&&(Ke=It-Ke-He),vt||0===Ke){var Wt=we*(Ke+un)+ln*(Ke+1-un),ze=vt?rt.toLowerCase():"margin"+rt;(0,x.A)(this).css(ze,100*Wt+"%")}else Ln&&(0,x.A)(this).css("margin"+rt,100*ln+"%")}),this._relocateItems(ct,ct,!0)},_itemFreeSpace:function(){var we=this._itemsPerPage();return this.option("wrapAround")&&(we+=1),(1-this._actualItemWidth()*we)/(we+1)},_renderContainerPosition:function(we,Ee,He){this._releaseInvisibleItems(),we=we||0;var Ln,Ot=this,It=this._actualItemWidth(),un=we,ln=this._offsetDirection()*un*(It+this._itemFreeSpace());return(0,M.O9)(this._animationOverride)&&(He=this._animationOverride,delete this._animationOverride),He?(Ot._startSwipe(),Ln=Ot._animate(ln).done(Ot._endSwipe.bind(Ot))):((0,G.Cy)(this._$container,{left
1:ln*this._elementWidth(),top:0}),Ln=(new D.cY).resolveWith(Ot)),Ln.done(function(){this._deferredAnimate&&Ot._deferredAnimate.resolveWith(Ot),Ee&&this._renderItemVisibility()}),Ln.promise()},_startSwipe:function(){this.$element().addClass(W)},_endSwipe:function(){this.$element().removeClass(W)},_animate:function(we,Ee){var He=this,Ot=this._$container,It=new D.cY;return g.A.animate(this._$container,(0,p.X)({type:"slide",to:{left:we*this._elementWidth()},duration:He.option("animationDuration"),complete:function(){He._needMoveContainerForward()&&(0,G.Cy)(Ot,{left:0,top:0}),He._needMoveContainerBack()&&(0,G.Cy)(Ot,{left:He._maxContainerOffset()*He._elementWidth(),top:0}),It.resolveWith(He)}},Ee||{})),It},_needMoveContainerForward:function(){return this._$container.position().left*this._offsetDirection()<=-this._maxItemWidth()*this._elementWidth()*this._itemsCount()+1},_needMoveContainerBack:function(){return this._$container.position().left*this._offsetDirection()>=this._actualItemWidth()*this._elementWidth()-1},_maxContainerOffset:function(){return-this._maxItemWidth()*(this._itemsCount()-this._itemsPerPage())*this._offsetDirection()},_maxItemWidth:function(){return this._actualItemWidth()+this._itemFreeSpace()},_reviseDimensions:function(){var we=this._itemElements().first().find(Z);!we||we.is(":hidden")||(this.option("height")||this.option("height",(0,m.P$)(we)),this.option("width")||this.option("width",(0,m.Ot)(we)),this._dimensionChanged())},_renderIndicator:function(){var{showIndicator:we}=this.option();if(this._cleanIndicators(),this.$element().toggleClass("dx-gallery-indicator-visible",we),we){for(var Ee=this._$indicator=(0,x.A)("<div>").addClass(ue).appendTo(this._$wrapper),He=this.option("indicatorEnabled"),Ot=0;Ot<this._pagesCount();Ot++){var It=(0,x.A)("<div>").addClass(ce).appendTo(Ee);He&&this._attachIndicatorClickHandler(It,Ot)}this._renderSelectedPageIndicator()}},_attachIndicatorClickHandler:function(we,Ee){_.A.on(we,(0,z.b4)(U.U,this.NAME),function(He){this._indicatorSelectHandler(He,Ee)}.bind(this))},_detachIndicatorClickHandler:function(we){_.A.off(we,(0,z.b4)(U.U,this.NAME))},_toggleIndicatorInteraction:function(we){var Ee,He=(null===(Ee=this._$indicator)||void 0===Ee?void 0:Ee.find(_e))||[];He.length&&He.each(function(Ot,It){we?this._attachIndicatorClickHandler((0,x.A)(It),Ot):this._detachIndicatorClickHandler((0,x.A)(It))}.bind(this))},_cleanIndicators:function(){this._$indicator&&this._$indicator.remove()},_renderSelectedItem:function(){var we=this.option("selectedIndex");this._itemElements().removeClass(Fe).eq(we).addClass(Fe)},_renderItemVisibility:function(){if(this.option("initialItemWidth")||this.option("wrapAround"))this._releaseInvisibleItems();else{var we=this.option("selectedIndex");this._itemElements().each((Ee,He)=>{we!==Ee&&(0,x.A)(He).find(Z).addClass(le)})}},_releaseInvisibleItems:function(){this._itemElements().find(Z).removeClass(le)},_renderSelectedPageIndicator:function(){if(this._$indicator){var we=this.option("selectedIndex"),Ee=this._pagesCount()-1,He=Math.ceil(we/this._itemsPerPage());He=Math.min(Ee,He),this._$indicator.find(_e).removeClass(ne).eq(He).addClass(ne)}},_renderUserInteraction:function(){var we=this.$element(),Ee=this.option("swipeEnabled")&&this._itemsCount()>1;this._createComponent(we,L.A,{disabled:this.option("disabled")||!Ee,onStart:this._swipeStartHandler.bind(this),onUpdated:this._swipeUpdateHandler.bind(this),onEnd:this._swipeEndHandler.bind(this),itemSizeFunc:this._elementWidth.bind(this)})},_indicatorSelectHandler:function(we,Ee){if(this.option("indicatorEnabled")){var He=this._fitPaginatedIndex(Ee*this._itemsPerPage());this._needLongMove=!0,this.option("selectedIndex",He),this._loadNextPageIfNeeded(He)}},_renderNavButtons:function(){var we=this;we.option("showNavButtons")?(we._prevNavButton=(0,x.A)("<div>").appendTo(this._$wrapper),we._createComponent(we._prevNavButton,Ie,{direction:"prev",onClick:function(){we._prevPage()}}),we._nextNavButton=(0,x.A)("<div>").appendTo(this._$wrapper),we._createComponent(we._nextNavButton,Ie,{direction:"next",onClick:function(){we._nextPage()}}),this._renderNavButtonsVisibility()):we._cleanNavButtons()},_prevPage:function(){var we=this._itemsPerPage(),Ee=this.option("selectedIndex")-we;return Ee===-we&&we===this._itemsCount()?this._relocateItems(Ee,0):this.goToItem(this._fitPaginatedIndex(Ee))},_nextPage:function(){var we=this._itemsPerPage(),Ee=this.option("selectedIndex")+we;return Ee===we&&we===this._itemsCount()?this._relocateItems(Ee,0):this.goToItem(this._fitPaginatedIndex(Ee)).done(this._loadNextPageIfNeeded)},_loadNextPageIfNeeded:function(we){we=void 0===we?this.option("selectedIndex"):we,this._dataSource&&this._dataSource.paginate()&&this._shouldLoadNextPage(we)&&!this._isDataSourceLoading()&&!this._isLastPage()&&this._loadNextPage().done(function(){this._renderIndicator(),this._cloneDuplicateItems(),this._renderItemPositions(),this._renderNavButtonsVisibility(),this._renderItemSizes(we)}.bind(this))},_shouldLoadNextPage:function(we){return we+2*this._itemsPerPage()>this.option("items").length},_allowDynamicItemsAppend:function(){return!0},_fitPaginatedIndex:function(we){var Ee=this._itemsPerPage(),He=we<0?Ee+we:this._itemsCount()-we;return we>this._itemsCount()-1?(we=0,this._goToGhostItem=!0):He<Ee&&He>0&&(we>0?we-=Ee-He:we+=Ee-He),we},_cleanNavButtons:function(){this._prevNavButton&&(this._prevNavButton.remove(),delete this._prevNavButton),this._nextNavButton&&(this._nextNavButton.remove(),delete this._nextNavButton)},_renderNavButtonsVisibility:function(){if(this.option("showNavButtons")&&this._prevNavButton&&this._nextNavButton){var we=this.option("selectedIndex"),Ee=this.option("loop"),He=this._itemsCount();if(this._prevNavButton.show(),this._nextNavButton.show(),0===He&&(this._prevNavButton.hide(),this._nextNavButton.hide()),!Ee){var Ot=we===He-this._itemsPerPage(),It=He<2||0===we;Ot=this._dataSource&&this._dataSource.paginate()?Ot&&this._isLastPage():Ot||He<2,It&&this._prevNavButton.hide(),Ot&&this._nextNavButton.hide()}}},_setupSlideShow:function(){var we=this,Ee=we.option("slideshowDelay");clearTimeout(we._slideshowTimer),Ee&&(we._slideshowTimer=setTimeout(function(){we._userInteraction?we._setupSlideShow():we.nextItem(!0).done(we._setupSlideShow)},Ee))},_elementWidth:function(){return this._cacheElementWidth||(this._cacheElementWidth=(0,m.RG)(this.$element())),this._cacheElementWidth},_clearCacheWidth:function(){delete this._cacheElementWidth},_swipeStartHandler:function(we){this._releaseInvisibleItems(),this._clearCacheWidth(),this._elementWidth();var Ee=this._itemsCount();if(Ee){if(this._stopItemAnimations(),this._startSwipe(),this._userInteraction=!0,!this.option("loop")){var He=this.option("selectedIndex"),Ot=Ee-He-this._itemsPerPage(),It=He,un=this.option("rtlEnabled");we.event.maxLeftOffset=un?It:Ot,we.event.maxRightOffset=un?Ot:It}}else we.event.cancel=!0},_stopItemAnimations:function(){g.A.stop(this._$container,!0)},_swipeUpdateHandler:function(we){var Ee=this.option("wrapAround")?1:0,He=this._offsetDirection()*we.event.offset*(this._itemsPerPage()+Ee)-this.option("selectedIndex");He<0&&this._loadNextPageIfNeeded(Math.ceil(Math.abs(He))),this._renderContainerPosition(He)},_swipeEndHandler:function(we){var Ee=we.event.targetOffset*this._offsetDirection()*this._itemsPerPage(),He=this.option("selectedIndex"),Ot=this._fitIndex(He-Ee),It=this._fitPaginatedIndex(Ot);Math.abs(Ee)<this._itemsPerPage()?this._relocateItems(He):this._itemsPerPage()!==this._itemsCount()?this.option("selectedIndex",It):this._relocateItems(Ee>0?-Ee:0)},_setFocusOnSelect:function(){this._userInteraction=!0;var we=this._getRealItems().filter("."+Fe);this.option("focusedElement",(0,P.c)(we)),this._userInteraction=!1},_flipIndex:function(we){var Ee=this._itemsCount();return(we%=Ee)>(Ee+1)/2&&(we-=Ee),we<-(Ee-1)/2&&(we+=Ee),we},_fitIndex:function(we){if(!this.option("loop"))return we;var Ee=this._itemsCount();return(we>=Ee||we<0)&&(this._goToGhostItem=!0),we>=Ee&&(we=Ee-we),(we%=Ee)<0&&(we+=Ee),we},_clean:function(){this.callBase(),this._cleanIndicators(),this._cleanNavButtons()},_dispose:function(){this._wasAnyItemTemplateRendered=null,clearTimeout(this._slideshowTimer),this.callBase()},_updateSelection:function(we,Ee){this._stopItemAnimations(),this._renderNavButtonsVisibility(),this._renderSelectedItem(),this._relocateItems(we[0],Ee[0]),this._renderSelectedPageIndicator()},_relocateItems:function(we,Ee,He){void 0===Ee&&(Ee=we);var Ot=this._calculateIndexOffset(we,Ee);this._renderContainerPosition(Ot,!0,this.option("animationEnabled")&&!He).done(function(){this._setFocusOnSelect(),this._userInteraction=!1,this._setupSlideShow()})},_focusInHandler:function(){g.A.isAnimating(this._$container)||this._userInteraction||this.callBase.apply(this,arguments)},_focusOutHandler:function(){g.A.isAnimating(this._$container)||this._userInteraction||this.callBase.apply(this,arguments)},_selectFocusedItem:v.lQ,_moveFocus:function(){this._stopItemAnimations(),this.callBase.apply(this,arguments);var we=this.itemElements().index((0,x.A)(this.option("focusedElement")));this.goToItem(we,this.option("animationEnabled"))},_visibilityChanged:function(we){we&&this._reviseDimensions()}
1,_calculateIndexOffset:function(we,Ee){void 0===Ee&&(Ee=we);var He=Ee-we;return this.option("loop")&&!this._needLongMove&&this._goToGhostItem&&(this._isItemOnFirstPage(we)&&this._isItemOnLastPage(Ee)?He=-this._itemsPerPage():this._isItemOnLastPage(we)&&this._isItemOnFirstPage(Ee)&&(He=this._itemsPerPage()),this._goToGhostItem=!1),this._needLongMove=!1,He-Ee},_isItemOnLastPage:function(we){return we>=this._itemsCount()-this._itemsPerPage()},_isItemOnFirstPage:function(we){return we<=this._itemsPerPage()},_optionChanged:function(we){switch(we.name){case"width":case"initialItemWidth":this.callBase.apply(this,arguments),this._dimensionChanged();break;case"animationDuration":this._renderNavButtonsVisibility();break;case"animationEnabled":break;case"loop":this.$element().toggleClass(J,we.value),this.option("loopItemFocus",we.value),(0,N.Vd)()&&(this._cloneDuplicateItems(),this._renderItemPositions(),this._renderNavButtonsVisibility());break;case"showIndicator":this._renderIndicator();break;case"showNavButtons":this._renderNavButtons();break;case"slideshowDelay":this._setupSlideShow();break;case"wrapAround":case"stretchImages":(0,N.Vd)()&&(this._renderItemSizes(),this._renderItemPositions(),this._renderItemVisibility());break;case"swipeEnabled":this._renderUserInteraction();break;case"indicatorEnabled":this._toggleIndicatorInteraction(we.value);break;default:this.callBase(we)}},goToItem:function(we,Ee){var He=this.option("selectedIndex"),Ot=this._itemsCount();return void 0!==Ee&&(this._animationOverride=Ee),we=this._fitIndex(we),this._deferredAnimate=new D.cY,we>Ot-1||we<0||He===we?this._deferredAnimate.resolveWith(this).promise():(this.option("selectedIndex",we),this._deferredAnimate.promise())},prevItem:function(we){return this.goToItem(this.option("selectedIndex")-1,we)},nextItem:function(we){return this.goToItem(this.option("selectedIndex")+1,we)}});(0,b.A)("dxGallery",De);var yt=a(7283),dt=a(1837);let Ce=(()=>{class we{}return we.\u0275fac=function(He){return new(He||we)},we.\u0275mod=c.$C({type:we}),we.\u0275inj=c.G2t({imports:[[dt.POb,yt.p_,yt.xZ],dt.POb,yt.xZ]}),we})()},7917:(Nt,Le,a)=>{"use strict";a.d(Le,{S:()=>b,X:()=>v});var t=a(345),c=a(4438),m=a(8543),x=a(7283),_=a(1837);let b=(()=>{class M extends x.ic{constructor(p,P,g,U,G,A,K){super(p,P,g,U,A,K),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"},{emit:"animationChange"},{emit:"closeOnOutsideClickChange"},{emit:"containerChange"},{emit:"copyRootClassesToWrapperChange"},{emit:"deferRenderingChange"},{emit:"delayChange"},{emit:"elementAttrChange"},{emit:"focusStateEnabledChange"},{emit:"heightChange"},{emit:"hideOnOutsideClickChange"},{emit:"hideOnParentScrollChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"indicatorSrcChange"},{emit:"maxHeightChange"},{emit:"maxWidthChange"},{emit:"messageChange"},{emit:"minHeightChange"},{emit:"minWidthChange"},{emit:"positionChange"},{emit:"rtlEnabledChange"},{emit:"shadingChange"},{emit:"shadingColorChange"},{emit:"showIndicatorChange"},{emit:"showPaneChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"wrapperAttrChange"}]),G.setHost(this)}get animation(){return this._getOption("animation")}set animation(p){this._setOption("animation",p)}get closeOnOutsideClick(){return this._getOption("closeOnOutsideClick")}set closeOnOutsideClick(p){this._setOption("closeOnOutsideClick",p)}get container(){return this._getOption("container")}set container(p){this._setOption("container",p)}get copyRootClassesToWrapper(){return this._getOption("copyRootClassesToWrapper")}set copyRootClassesToWrapper(p){this._setOption("copyRootClassesToWrapper",p)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(p){this._setOption("deferRendering",p)}get delay(){return this._getOption("delay")}set delay(p){this._setOption("delay",p)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(p){this._setOption("elementAttr",p)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(p){this._setOption("focusStateEnabled",p)}get height(){return this._getOption("height")}set height(p){this._setOption("height",p)}get hideOnOutsideClick(){return this._getOption("hideOnOutsideClick")}set hideOnOutsideClick(p){this._setOption("hideOnOutsideClick",p)}get hideOnParentScroll(){return this._getOption("hideOnParentScroll")}set hideOnParentScroll(p){this._setOption("hideOnParentScroll",p)}get hint(){return this._getOption("hint")}set hint(p){this._setOption("hint",p)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(p){this._setOption("hoverStateEnabled",p)}get indicatorSrc(){return this._getOption("indicatorSrc")}set indicatorSrc(p){this._setOption("indicatorSrc",p)}get maxHeight(){return this._getOption("maxHeight")}set maxHeight(p){this._setOption("maxHeight",p)}get maxWidth(){return this._getOption("maxWidth")}set maxWidth(p){this._setOption("maxWidth",p)}get message(){return this._getOption("message")}set message(p){this._setOption("message",p)}get minHeight(){return this._getOption("minHeight")}set minHeight(p){this._setOption("minHeight",p)}get minWidth(){return this._getOption("minWidth")}set minWidth(p){this._setOption("minWidth",p)}get position(){return this._getOption("position")}set position(p){this._setOption("position",p)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(p){this._setOption("rtlEnabled",p)}get shading(){return this._getOption("shading")}set shading(p){this._setOption("shading",p)}get shadingColor(){return this._getOption("shadingColor")}set shadingColor(p){this._setOption("shadingColor",p)}get showIndicator(){return this._getOption("showIndicator")}set showIndicator(p){this._setOption("showIndicator",p)}get showPane(){return this._getOption("showPane")}set showPane(p){this._setOption("showPane",p)}get visible(){return this._getOption("visible")}set visible(p){this._setOption("visible",p)}get width(){return this._getOption("width")}set width(p){this._setOption("width",p)}get wrapperAttr(){return this._getOption("wrapperAttr")}set wrapperAttr(p){this._setOption("wrapperAttr",p)}_createInstance(p,P){return new m.A(p,P)}ngOnDestroy(){this._destroyWidget()}}return M.\u0275fac=function(p){return new(p||M)(c.rXU(c.aKT),c.rXU(c.SKi),c.rXU(x.zF),c.rXU(x.jS),c.rXU(x.fH),c.rXU(t.pJ),c.rXU(c.Agw))},M.\u0275cmp=c.VBU({type:M,selectors:[["dx-load-panel"]],inputs:{animation:"animation",closeOnOutsideClick:"closeOnOutsideClick",container:"container",copyRootClassesToWrapper:"copyRootClassesToWrapper",deferRendering:"deferRendering",delay:"delay",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hideOnOutsideClick:"hideOnOutsideClick",hideOnParentScroll:"hideOnParentScroll",hint:"hint",hoverStateEnabled:"hoverStateEnabled",indicatorSrc:"indicatorSrc",maxHeight:"maxHeight",maxWidth:"maxWidth",message:"message",minHeight:"minHeight",minWidth:"minWidth",position:"position",rtlEnabled:"rtlEnabled",shading:"shading",shadingColor:"shadingColor",showIndicator:"showIndicator",showPane:"showPane",visible:"visible",width:"width",wrapperAttr:"wrapperAttr"},outputs:{onContentReady:"onContentReady",onDisposing:"onDisposing",onHidden:"onHidden",onHiding:"onHiding",onInitialized:"onInitialized",onOptionChanged:"onOptionChanged",onShowing:"onShowing",onShown:"onShown",animationChange:"animationChange",closeOnOutsideClickChange:"closeOnOutsideClickChange",containerChange:"containerChange",copyRootClassesToWrapperChange:"copyRootClassesToWrapperChange",deferRenderingChange:"deferRenderingChange",delayChange:"delayChange",elementAttrChange:"elementAttrChange",focusStateEnabledChange:"focusStateEnabledChange",height
1Change:"heightChange",hideOnOutsideClickChange:"hideOnOutsideClickChange",hideOnParentScrollChange:"hideOnParentScrollChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",indicatorSrcChange:"indicatorSrcChange",maxHeightChange:"maxHeightChange",maxWidthChange:"maxWidthChange",messageChange:"messageChange",minHeightChange:"minHeightChange",minWidthChange:"minWidthChange",positionChange:"positionChange",rtlEnabledChange:"rtlEnabledChange",shadingChange:"shadingChange",shadingColorChange:"shadingColorChange",showIndicatorChange:"showIndicatorChange",showPaneChange:"showPaneChange",visibleChange:"visibleChange",widthChange:"widthChange",wrapperAttrChange:"wrapperAttrChange"},features:[c.Jv_([x.zF,x.jS,x.fH]),c.Vt3],decls:0,vars:0,template:function(p,P){},encapsulation:2}),M})(),v=(()=>{class M{}return M.\u0275fac=function(p){return new(p||M)},M.\u0275mod=c.$C({type:M}),M.\u0275inj=c.G2t({imports:[[_.YLo,_.YaD,_.eNx,_.Bkf,_.nwt,_.hXw,_.YGc,_.gf0,_.rvW,_.Tob,_.$Ql,x.p_,x.xZ],_.YLo,_.YaD,_.eNx,_.Bkf,_.nwt,_.hXw,_.YGc,_.gf0,_.rvW,_.Tob,_.$Ql,x.xZ]}),M})()},1837:(Nt,Le,a)=>{"use strict";a.d(Le,{$Ql:()=>cl,$lK:()=>Ln,B9H:()=>pi,BR_:()=>Ir,Bkf:()=>Ls,BrI:()=>Ut,CVf:()=>st,CWj:()=>ws,FOK:()=>Ns,GCl:()=>zn,GIV:()=>zt,GQ:()=>Kr,HKo:()=>pt,Hl$:()=>gl,Inh:()=>ln,Ixj:()=>ot,JjR:()=>Ci,L0X:()=>ai,MBy:()=>$e,Mru:()=>wf,MtA:()=>ho,POb:()=>at,Pxf:()=>ir,QWP:()=>wn,S2P:()=>Cn,Sn2:()=>fr,Sy5:()=>pr,T0t:()=>kn,TBD:()=>fu,Tob:()=>vh,U9o:()=>Ko,W6p:()=>Vi,WC8:()=>zr,WXx:()=>ch,Wnt:()=>Ds,X1G:()=>Ps,X6g:()=>sh,XUe:()=>Jr,YC7:()=>Tn,YGc:()=>Oe,YLo:()=>G,YaD:()=>ms,ZaD:()=>Fr,Zac:()=>Kt,_RO:()=>mc,_zS:()=>Xs,a6E:()=>ec,aJg:()=>lo,df_:()=>Yr,eNx:()=>je,f8z:()=>qn,gf0:()=>di,hUd:()=>Pu,hXw:()=>Ot,hyP:()=>fi,iiR:()=>mt,isg:()=>or,joz:()=>zs,k61:()=>Me,kYc:()=>Ou,l4W:()=>Oh,lkr:()=>Et,m1r:()=>mo,nj_:()=>Rn,nrj:()=>kt,nwt:()=>ne,nz1:()=>_,oCB:()=>kr,pGU:()=>Xt,qCh:()=>Ft,rER:()=>$i,rvW:()=>q,s5o:()=>xs,tWd:()=>na,u4t:()=>dn,uE7:()=>Fi,uIe:()=>qr,vwi:()=>cc,x$q:()=>Ca,x_w:()=>hr,yA4:()=>yr,zkV:()=>go});var t=a(4438),c=a(7283),m=a(177);let _=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),G=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ne=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ot=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),un=(()=>{class r extends c.l9{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 linkAttr(){return this._getOption("linkAttr")}set linkAttr(e){this._setOption("linkAttr",e)}get url(){return this._getOption("url")}set url(e){this._setOption("url",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 r.\u0275fac=function(){let y;return function(te){return(y||(y=t.xGo(r)))(te||r)}}(),r.\u0275cmp=t.VBU({type:r,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(e,te){},encapsulation:2}),r})(),ln=(()=>{class r extends c.l9{constructor(e,te){super(),e.setNestedOption(this),te.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 r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,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:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})(),Ln=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Zt=(()=>{class r extends c.l9{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 r.\u0275fac=function(){let y;return function(te){return(y||(y=t.xGo(r)))(te||r)}}(),r.\u0275cmp=t.VBU({type:r,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(e,te){},encapsulation:2}),r})(),ct=(()=>{class r extends c.l9{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 r.\u0275fac=function(){let y;return function(te){return(y||(y=t.xGo(r)))(te||r)}}(),r.\u0275cmp=t.VBU({type:r,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(e,te){},encapsulation:2}),r})(),rt=(()=>{class r extends ct{constructor(e,te){super(),e.setNestedOption(this),te.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 r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-command"]],contentQueries:function(e,te,Xn){if(1&e&&t.wni(Xn,st,4),2&e){let An;t.mGM(An=t.lsd())&&(te.itemsChildren=An)}},inputs:{icon:"icon",items:"items",location:"location",name:"name",text:"text"},features:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})(),Ke=(()=>{class r extends c.l9{constructor(e,te){super(),e.setNestedOption(this),te.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 r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-group"]],contentQueries:function(e,te,Xn){if(1&e&&t.wni(Xn,rt,4),2&e){let An;t.mGM(An=t.lsd())&&(te.commandsChildren=An)}},inputs:{commands:"commands",title:"title",category:"category",displayMode:"displayMode",expanded:"expanded",shapes:"shapes"},features:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})();const Wt=["*"];let ze=(()=>{class r extends Zt{constructor(e,te,Xn,An,Ws,qs){super(),this.renderer=Xn,this.document=An,this.element=qs,e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this)),Ws.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,c.ym)(this,this.element,this.renderer,this.document)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1),t.rXU(t.sFG),t.rXU(m.qQ),t.rXU(c.zF,1),t.rXU(t.aKT))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-tab"]],contentQueries:function(e,te,Xn){if(1&e&&(t.wni(Xn,st,4),t.wni(Xn,rt,4),t.wni(Xn,Ke,4)),2&e){let An;t.mGM(An=t.lsd())&&(te.itemsChildren=An),t.mGM(An=t.lsd())&&(te.commandsChildren=An),t.mGM(An=t.lsd())&&(te.groupsChildren=A
1n)}},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:[t.Jv_([c.fH,c.zF]),t.Vt3],ngContentSelectors:Wt,decls:1,vars:0,template:function(e,te){1&e&&(t.NAR(),t.SdG(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),r})(),pt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ze=(()=>{class r extends c.l9{constructor(e,te){super(),e.setNestedOption(this),te.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 r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-location"]],inputs:{lat:"lat",lng:"lng",col:"col",colspan:"colspan",row:"row",rowspan:"rowspan",screen:"screen"},features:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})();const Ve=["*"];let st=(()=>{class r extends un{constructor(e,te,Xn,An,Ws,qs){super(),this.renderer=Xn,this.document=An,this.element=qs,e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this)),Ws.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")}set 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,c.ym)(this,this.element,this.renderer,this.document)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1),t.rXU(t.sFG),t.rXU(m.qQ),t.rXU(c.zF,1),t.rXU(t.aKT))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-item"]],contentQueries:function(e,te,Xn){if(1&e&&(t.wni(Xn,r,4),t.wni(Xn,ln,4),t.wni(Xn,ze,4),t.wni(Xn,Ze,4)),2&e){let An;t.mGM(An=t.lsd())&&(te.itemsChildren=An),t.mGM(An=t.lsd())&&(te.validationRulesChildren=An),t.mGM(An=t.lsd())&&(te.tabsChildren=An),t.mGM(An=t.lsd())&&(te.locationChildren=An)}},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",linkAttr:"linkAttr",url:"url",heightRatio:"heightRatio",widthRatio:"widthRatio",expanded:"expanded",hasItems:"hasItems",id:"id",parentId:"parentId"},features:[t.Jv_([c.fH,c.zF]),t.Vt3],ngContentSelectors:Ve,decls:1,vars:0,template:function(e,te){1&e&&(t.NAR(),t.SdG(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),r})(),at=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Bt=(()=>{class r extends c.l9{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 r.\u0275fac=function(){let y;return function(te){return(y||(y=t.xGo(r)))(te||r)}}(),r.\u0275cmp=t.VBU({type:r,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(e,te){},encapsulation:2}),r})(),Ut=(()=>{class r extends Bt{constructor(e,te){super(),e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this))}get _optionPath(){return"buttons"}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,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:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})(),zt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ot=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),wn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),zn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Me=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Oe=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),kt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),xn=(()=>{class r extends c.l9{get alignment(){return this._getOption("alignment")}set alignment(e){this._setOption("alignment",e)}get allowEditing(){return this._getOption("allowEditing")}set allowEditing(e){this._setOption("allowEditing",e)}get allowExporting(){return this._getOption("allowExporting")}set allowExporting(e){this._setOption("allowExporting",e)}get allowFiltering(){return this._getOption("allowFiltering")}set allowFiltering(e){this._setOption("allowFiltering",e)}get allowFixing(){return this._getOption("allowFixing")}set allowFixing(e){this._setOption("allowFixing",e)}get allowGrouping(){return this._getOption("allowGrouping")}set allowGrouping(e){this._setOption("allowGrouping",e)}get allowHeaderFiltering(){return this._getOption("allowHeaderFiltering")}set allowHeaderFiltering(e){this._setOption("allowHeaderFiltering",e)}get allowHiding(){return this._getOption("allowHiding")}set allowHiding(e){this._setOption("allowHiding",e)}get allowReordering(){return this._getOption("allowReordering")}set allowReordering(e){this._setOption("allowReordering",e)}get allowResizing(){return this._getOption("allowResizing")}set allowResizing(e){this._setOption("allowResizing",e)}get allowSearch(){return this._getOption("allowSearch")}set allowSearch(e){this._setOption("allowSearch",e)}get allowSorting(){return this._getOption("allowSorting")}set allowSorting(e){this._setOption("allowSorting",e)}get autoExpandGroup(){return this._getOption("autoExpandGroup")}set autoExpandGroup(e){this._setOption("autoExpandGroup",e)}get buttons(){return this._getOption("buttons")}set buttons(e){this._setOption("buttons",e)}get calculateCellValue(){return this._getOption("calculateCellValue")}set calculateCellValue(e){this._setOption("calculateCellValue",e)}get calculateDisplayValue(){return this._getOption("calculateDisplayValue")}set calculateDisplayValue(e){this._setOption("calculateDisplayValue",e)}get calculateFilterExpression(){return this._getOption("calculateFilterExpression")}set calculateFilterExpression(e){this._setOption("calculateFilterExpression",e)}get calculateGroupValue(){return this._getOption("calculateGroupValue")}set calculateGroupValue(e){this._setOption("calculateGroupValue",e)}get calculateSortValue(){return this._getOption("calculateSortValue")}set calculateSortValue(e){this._setOption("calculateSortValue",e)}get caption(){return this._getOption("caption")}set caption(e){this._setOption("caption",e)}get cellTemplate(){return this._getOption("cellTemplate")}set cellTemplate(e){this._setOption("cellTemplate",e)}
1get columns(){return this._getOption("columns")}set columns(e){this._setOption("columns",e)}get cssClass(){return this._getOption("cssClass")}set cssClass(e){this._setOption("cssClass",e)}get customizeText(){return this._getOption("customizeText")}set customizeText(e){this._setOption("customizeText",e)}get dataField(){return this._getOption("dataField")}set dataField(e){this._setOption("dataField",e)}get dataType(){return this._getOption("dataType")}set dataType(e){this._setOption("dataType",e)}get editCellTemplate(){return this._getOption("editCellTemplate")}set editCellTemplate(e){this._setOption("editCellTemplate",e)}get editorOptions(){return this._getOption("editorOptions")}set editorOptions(e){this._setOption("editorOptions",e)}get encodeHtml(){return this._getOption("encodeHtml")}set encodeHtml(e){this._setOption("encodeHtml",e)}get falseText(){return this._getOption("falseText")}set falseText(e){this._setOption("falseText",e)}get filterOperations(){return this._getOption("filterOperations")}set filterOperations(e){this._setOption("filterOperations",e)}get filterType(){return this._getOption("filterType")}set filterType(e){this._setOption("filterType",e)}get filterValue(){return this._getOption("filterValue")}set filterValue(e){this._setOption("filterValue",e)}get filterValues(){return this._getOption("filterValues")}set filterValues(e){this._setOption("filterValues",e)}get fixed(){return this._getOption("fixed")}set fixed(e){this._setOption("fixed",e)}get fixedPosition(){return this._getOption("fixedPosition")}set fixedPosition(e){this._setOption("fixedPosition",e)}get format(){return this._getOption("format")}set format(e){this._setOption("format",e)}get formItem(){return this._getOption("formItem")}set formItem(e){this._setOption("formItem",e)}get groupCellTemplate(){return this._getOption("groupCellTemplate")}set groupCellTemplate(e){this._setOption("groupCellTemplate",e)}get groupIndex(){return this._getOption("groupIndex")}set groupIndex(e){this._setOption("groupIndex",e)}get headerCellTemplate(){return this._getOption("headerCellTemplate")}set headerCellTemplate(e){this._setOption("headerCellTemplate",e)}get headerFilter(){return this._getOption("headerFilter")}set headerFilter(e){this._setOption("headerFilter",e)}get hidingPriority(){return this._getOption("hidingPriority")}set hidingPriority(e){this._setOption("hidingPriority",e)}get isBand(){return this._getOption("isBand")}set isBand(e){this._setOption("isBand",e)}get lookup(){return this._getOption("lookup")}set lookup(e){this._setOption("lookup",e)}get minWidth(){return this._getOption("minWidth")}set minWidth(e){this._setOption("minWidth",e)}get name(){return this._getOption("name")}set name(e){this._setOption("name",e)}get ownerBand(){return this._getOption("ownerBand")}set ownerBand(e){this._setOption("ownerBand",e)}get renderAsync(){return this._getOption("renderAsync")}set renderAsync(e){this._setOption("renderAsync",e)}get selectedFilterOperation(){return this._getOption("selectedFilterOperation")}set selectedFilterOperation(e){this._setOption("selectedFilterOperation",e)}get setCellValue(){return this._getOption("setCellValue")}set setCellValue(e){this._setOption("setCellValue",e)}get showEditorAlways(){return this._getOption("showEditorAlways")}set showEditorAlways(e){this._setOption("showEditorAlways",e)}get showInColumnChooser(){return this._getOption("showInColumnChooser")}set showInColumnChooser(e){this._setOption("showInColumnChooser",e)}get showWhenGrouped(){return this._getOption("showWhenGrouped")}set showWhenGrouped(e){this._setOption("showWhenGrouped",e)}get sortIndex(){return this._getOption("sortIndex")}set sortIndex(e){this._setOption("sortIndex",e)}get sortingMethod(){return this._getOption("sortingMethod")}set sortingMethod(e){this._setOption("sortingMethod",e)}get sortOrder(){return this._getOption("sortOrder")}set sortOrder(e){this._setOption("sortOrder",e)}get trueText(){return this._getOption("trueText")}set trueText(e){this._setOption("trueText",e)}get type(){return this._getOption("type")}set type(e){this._setOption("type",e)}get validationRules(){return this._getOption("validationRules")}set validationRules(e){this._setOption("validationRules",e)}get visible(){return this._getOption("visible")}set visible(e){this._setOption("visible",e)}get visibleIndex(){return this._getOption("visibleIndex")}set visibleIndex(e){this._setOption("visibleIndex",e)}get width(){return this._getOption("width")}set width(e){this._setOption("width",e)}}return r.\u0275fac=function(){let y;return function(te){return(y||(y=t.xGo(r)))(te||r)}}(),r.\u0275cmp=t.VBU({type:r,selectors:[["ng-component"]],features:[t.Vt3],decls:0,vars:0,template:function(e,te){},encapsulation:2}),r})(),Rn=(()=>{class r extends xn{constructor(e,te){super(),this._createEventEmitters([{emit:"filterValueChange"},{emit:"filterValuesChange"},{emit:"groupIndexChange"},{emit:"selectedFilterOperationChange"},{emit:"sortIndexChange"},{emit:"sortOrderChange"},{emit:"visibleChange"},{emit:"visibleIndexChange"}]),e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this))}get _optionPath(){return"columns"}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(e){this.setChildren("buttons",e)}
1get columnsChildren(){return this._getOption("columns")}set columnsChildren(e){this.setChildren("columns",e)}get validationRulesChildren(){return this._getOption("validationRules")}set validationRulesChildren(e){this.setChildren("validationRules",e)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-column"]],contentQueries:function(e,te,Xn){if(1&e&&(t.wni(Xn,Ut,4),t.wni(Xn,r,4),t.wni(Xn,ln,4)),2&e){let An;t.mGM(An=t.lsd())&&(te.buttonsChildren=An),t.mGM(An=t.lsd())&&(te.columnsChildren=An),t.mGM(An=t.lsd())&&(te.validationRulesChildren=An)}},inputs:{alignment:"alignment",allowEditing:"allowEditing",allowExporting:"allowExporting",allowFiltering:"allowFiltering",allowFixing:"allowFixing",allowGrouping:"allowGrouping",allowHeaderFiltering:"allowHeaderFiltering",allowHiding:"allowHiding",allowReordering:"allowReordering",allowResizing:"allowResizing",allowSearch:"allowSearch",allowSorting:"allowSorting",autoExpandGroup:"autoExpandGroup",buttons:"buttons",calculateCellValue:"calculateCellValue",calculateDisplayValue:"calculateDisplayValue",calculateFilterExpression:"calculateFilterExpression",calculateGroupValue:"calculateGroupValue",calculateSortValue:"calculateSortValue",caption:"caption",cellTemplate:"cellTemplate",columns:"columns",cssClass:"cssClass",customizeText:"customizeText",dataField:"dataField",dataType:"dataType",editCellTemplate:"editCellTemplate",editorOptions:"editorOptions",encodeHtml:"encodeHtml",falseText:"falseText",filterOperations:"filterOperations",filterType:"filterType",filterValue:"filterValue",filterValues:"filterValues",fixed:"fixed",fixedPosition:"fixedPosition",format:"format",formItem:"formItem",groupCellTemplate:"groupCellTemplate",groupIndex:"groupIndex",headerCellTemplate:"headerCellTemplate",headerFilter:"headerFilter",hidingPriority:"hidingPriority",isBand:"isBand",lookup:"lookup",minWidth:"minWidth",name:"name",ownerBand:"ownerBand",renderAsync:"renderAsync",selectedFilterOperation:"selectedFilterOperation",setCellValue:"setCellValue",showEditorAlways:"showEditorAlways",showInColumnChooser:"showInColumnChooser",showWhenGrouped:"showWhenGrouped",sortIndex:"sortIndex",sortingMethod:"sortingMethod",sortOrder:"sortOrder",trueText:"trueText",type:"type",validationRules:"validationRules",visible:"visible",visibleIndex:"visibleIndex",width:"width"},outputs:{filterValueChange:"filterValueChange",filterValuesChange:"filterValuesChange",groupIndexChange:"groupIndexChange",selectedFilterOperationChange:"selectedFilterOperationChange",sortIndexChange:"sortIndexChange",sortOrderChange:"sortOrderChange",visibleChange:"visibleChange",visibleIndexChange:"visibleIndexChange"},features:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})(),Tn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),fi=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Jr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ho=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),yr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Xt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),qn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})();const qi=["*"];let Ci=(()=>{class r extends c.l9{constructor(e,te,Xn,An,Ws,qs){super(),this.renderer=Xn,this.document=An,this.element=qs,e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this)),Ws.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,c.ym)(this,this.element,this.renderer,this.document)}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1),t.rXU(t.sFG),t.rXU(m.qQ),t.rXU(c.zF,1),t.rXU(t.aKT))},r.\u0275cmp=t.VBU({type:r,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:[t.Jv_([c.fH,c.zF]),t.Vt3],ngContentSelectors:qi,decls:1,vars:0,template:function(e,te){1&e&&(t.NAR(),t.SdG(0))},styles:["[_nghost-%COMP%] { display: block; }"]}),r})(),or=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Yr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),lo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),qr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),go=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ai=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),kr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),fr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),$e=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ir=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),pr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ir=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),je=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ws=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),na=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ns=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),zs=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ps=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ms=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),mt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),hr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Fi=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),xs=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Vi=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Kt=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),kn=(()=>{class r extends c.l9{constructor(e,te){super(),e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this))}get action(){return this._getOption("action")}set action(e){this._setOption("action",e)}get text(){return this._getOption("text")}set text(e){this._setOption("text",e)}get _optionPath(){return"menuItems"}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-menu-item"]],inputs:{action:"action",text:"text"},features:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})(),Cn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),di=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),q=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ft=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),dn=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Fr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),mo=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ec=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ls=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ds=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),$i=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Et=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),pi=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),zr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Xs=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ko=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),fu=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),cc=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),cl=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ca=(()=>{class r extends c.l9{constructor(e,te){super(),e.setNestedOption(this),te.setHost(this,this._fullOptionPath.bind(this))}get groupColumn(){return this._getOption("groupColumn")}set groupColumn(e){this._setOption("groupColumn",e)}get sortOrder(){return this._getOption("sortOrder")}set sortOrder(e){this._setOption("sortOrder",e)}get summaryItem(){return this._getOption("summaryItem")}set summaryItem(e){this._setOption("summaryItem",e)}get _optionPath(){return"sortByGroupSummaryInfo"}ngOnDestroy(){this._deleteRemovedOptions(this._fullOptionPath())}}return r.\u0275fac=function(e){return new(e||r)(t.rXU(c.fH,5),t.rXU(c.fH,1))},r.\u0275cmp=t.VBU({type:r,selectors:[["dxi-sort-by-group-summary-info"]],inputs:{groupColumn:"groupColumn",sortOrder:"sortOrder",summaryItem:"summaryItem"},features:[t.Jv_([c.fH]),t.Vt3],decls:0,vars:0,template:function(e,te){},styles:[""]}),r})(),Kr=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Ou=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),sh=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),gl=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),ch=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Pu=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),mc=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),vh=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),Oh=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})(),wf=(()=>{class r{}return r.\u0275fac=function(e){return new(e||r)},r.\u0275mod=t.$C({type:r}),r.\u0275inj=t.G2t({}),r})()},7711:(Nt,Le,a)=>{"use strict";a.d(Le,{p:()=>N});var t=a(345),c=a(4438),m=a(8709),x=a(9417),_=a(7283),b=a(1837);
1const v={provide:x.kq,useExisting:(0,c.Rfq)(()=>M),multi:!0};let M=(()=>{class p extends _.ic{constructor(g,U,G,A,K,z,ee,L){super(g,U,G,A,ee,L),this._watcherHelper=A,this._idh=K,this.touched=f=>{},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:"formatChange"},{emit:"heightChange"},{emit:"hintChange"},{emit:"hoverStateEnabledChange"},{emit:"inputAttrChange"},{emit:"invalidValueMessageChange"},{emit:"isDirtyChange"},{emit:"isValidChange"},{emit:"labelChange"},{emit:"labelModeChange"},{emit:"maxChange"},{emit:"minChange"},{emit:"modeChange"},{emit:"nameChange"},{emit:"placeholderChange"},{emit:"readOnlyChange"},{emit:"rtlEnabledChange"},{emit:"showClearButtonChange"},{emit:"showSpinButtonsChange"},{emit:"stepChange"},{emit:"stylingModeChange"},{emit:"tabIndexChange"},{emit:"textChange"},{emit:"useLargeSpinButtonsChange"},{emit:"validationErrorChange"},{emit:"validationErrorsChange"},{emit:"validationMessageModeChange"},{emit:"validationMessagePositionChange"},{emit:"validationStatusChange"},{emit:"valueChange"},{emit:"valueChangeEventChange"},{emit:"visibleChange"},{emit:"widthChange"},{emit:"onBlur"}]),this._idh.setHost(this),z.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(g){this._setOption("accessKey",g)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(g){this._setOption("activeStateEnabled",g)}get buttons(){return this._getOption("buttons")}set buttons(g){this._setOption("buttons",g)}get disabled(){return this._getOption("disabled")}set disabled(g){this._setOption("disabled",g)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(g){this._setOption("elementAttr",g)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(g){this._setOption("focusStateEnabled",g)}get format(){return this._getOption("format")}set format(g){this._setOption("format",g)}get height(){return this._getOption("height")}set height(g){this._setOption("height",g)}get hint(){return this._getOption("hint")}set hint(g){this._setOption("hint",g)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(g){this._setOption("hoverStateEnabled",g)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(g){this._setOption("inputAttr",g)}get invalidValueMessage(){return this._getOption("invalidValueMessage")}set invalidValueMessage(g){this._setOption("invalidValueMessage",g)}get isDirty(){return this._getOption("isDirty")}set isDirty(g){this._setOption("isDirty",g)}get isValid(){return this._getOption("isValid")}set isValid(g){this._setOption("isValid",g)}get label(){return this._getOption("label")}set label(g){this._setOption("label",g)}get labelMode(){return this._getOption("labelMode")}set labelMode(g){this._setOption("labelMode",g)}get max(){return this._getOption("max")}set max(g){this._setOption("max",g)}get min(){return this._getOption("min")}set min(g){this._setOption("min",g)}get mode(){return this._getOption("mode")}set mode(g){this._setOption("mode",g)}get name(){return this._getOption("name")}set name(g){this._setOption("name",g)}get placeholder(){return this._getOption("placeholder")}set placeholder(g){this._setOption("placeholder",g)}get readOnly(){return this._getOption("readOnly")}set readOnly(g){this._setOption("readOnly",g)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(g){this._setOption("rtlEnabled",g)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(g){this._setOption("showClearButton",g)}get showSpinButtons(){return this._getOption("showSpinButtons")}set showSpinButtons(g){this._setOption("showSpinButtons",g)}get step(){return this._getOption("step")}set step(g){this._setOption("step",g)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(g){this._setOption("stylingMode",g)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(g){this._setOption("tabIndex",g)}get text(){return this._getOption("text")}set text(g){this._setOption("text",g)}get useLargeSpinButtons(){return this._getOption("useLargeSpinButtons")}set useLargeSpinButtons(g){this._setOption("useLargeSpinButtons",g)}get validationError(){return this._getOption("validationError")}set validationError(g){this._setOption("validationError",g)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(g){this._setOption("validationErrors",g)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(g){this._setOption("validationMessageMode",g)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(g){this._setOption("validationMessagePosition",g)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(g){this._setOption("validationStatus",g)}get value(){return this._getOption("value")}set value(g){this._setOption("value",g)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(g){this._setOption("valueChangeEvent",g)}get visible(){return this._getOption("visible")}set visible(g){this._setOption("visible",g)}get width(){return this._getOption("width")}set width(g){this._setOption("width",g)}
1change(g){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(g){this.setChildren("buttons",g)}_createInstance(g,U){return new m.A(g,U)}writeValue(g){this.eventHelper.lockedValueChangeEvent=!0,this.value=g,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(g){this.disabled=g}registerOnChange(g){this.change=g}registerOnTouched(g){this.touched=g}_createWidget(g){super._createWidget(g),this.instance.on("focusOut",U=>{this.eventHelper.fireNgEvent("onBlur",[U])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(g){super.ngOnChanges(g),this.setupChanges("buttons",g),this.setupChanges("validationErrors",g)}setupChanges(g,U){g in this._optionsToUpdate||this._idh.setup(g,U)}ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("validationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(g,U){let G=this._idh.setupSingle(g,U),A=null!==this._idh.getChanges(g,U);(G||A)&&super._setOption(g,U)}}return p.\u0275fac=function(g){return new(g||p)(c.rXU(c.aKT),c.rXU(c.SKi),c.rXU(_.zF),c.rXU(_.jS),c.rXU(_.$M),c.rXU(_.fH),c.rXU(t.pJ),c.rXU(c.Agw))},p.\u0275cmp=c.VBU({type:p,selectors:[["dx-number-box"]],contentQueries:function(g,U,G){if(1&g&&c.wni(G,b.BrI,4),2&g){let A;c.mGM(A=c.lsd())&&(U.buttonsChildren=A)}},hostBindings:function(g,U){1&g&&c.bIt("valueChange",function(A){return U.change(A)})("onBlur",function(A){return U.touched(A)})},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",buttons:"buttons",disabled:"disabled",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",format:"format",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",inputAttr:"inputAttr",invalidValueMessage:"invalidValueMessage",isDirty:"isDirty",isValid:"isValid",label:"label",labelMode:"labelMode",max:"max",min:"min",mode:"mode",name:"name",placeholder:"placeholder",readOnly:"readOnly",rtlEnabled:"rtlEnabled",showClearButton:"showClearButton",showSpinButtons:"showSpinButtons",step:"step",stylingMode:"stylingMode",tabIndex:"tabIndex",text:"text",useLargeSpinButtons:"useLargeSpinButtons",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",formatChange:"formatChange",heightChange:"heightChange",hintChange:"hintChange",hoverStateEnabledChange:"hoverStateEnabledChange",inputAttrChange:"inputAttrChange",invalidValueMessageChange:"invalidValueMessageChange",isDirtyChange:"isDirtyChange",isValidChange:"isValidChange",labelChange:"labelChange",labelModeChange:"labelModeChange",maxChange:"maxChange",minChange:"minChange",modeChange:"modeChange",nameChange:"nameChange",placeholderChange:"placeholderChange",readOnlyChange:"readOnlyChange",rtlEnabledChange:"rtlEnabledChange",showClearButtonChange:"showClearButtonChange",showSpinButtonsChange:"showSpinButtonsChange",stepChange:"stepChange",stylingModeChange:"stylingModeChange",tabIndexChange:"tabIndexChange",textChange:"textChange",useLargeSpinButtonsChange:"useLargeSpinButtonsChange",validationErrorChange:"validationErrorChange",validationErrorsChange:"validationErrorsChange",validationMessageModeChange:"validationMessageModeChange",validationMessagePositionChange:"validationMessagePositionChange",validationStatusChange:"validationStatusChange",valueChange:"valueChange",valueChangeEventChange:"valueChangeEventChange",visibleChange:"visibleChange",widthChange:"widthChange",onBlur:"onBlur"},features:[c.Jv_([_.zF,_.jS,v,_.fH,_.$M]),c.Vt3,c.OA$],decls:0,vars:0,template:function(g,U){},encapsulation:2}),p})(),N=(()=>{class p{}
1return p.\u0275fac=function(g){return new(g||p)},p.\u0275mod=c.$C({type:p}),p.\u0275inj=c.G2t({imports:[[b.GIV,b.u4t,b.Pxf,_.p_,_.xZ],b.GIV,b.u4t,b.Pxf,_.xZ]}),p})()},7018:(Nt,Le,a)=>{"use strict";a.d(Le,{S:()=>N,l:()=>M});var t=a(345),c=a(4438),m=a(1493),x=a(9417),_=a(7283),b=a(1837);const v={provide:x.kq,useExisting:(0,c.Rfq)(()=>M),multi:!0};let M=(()=>{class p extends _.ic{constructor(g,U,G,A,K,z,ee,L){super(g,U,G,A,ee,L),this._watcherHelper=A,this._idh=K,this.touched=f=>{},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:"isDirtyChange"},{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),z.setHost(this)}get acceptCustomValue(){return this._getOption("acceptCustomValue")}set acceptCustomValue(g){this._setOption("acceptCustomValue",g)}get accessKey(){return this._getOption("accessKey")}set accessKey(g){this._setOption("accessKey",g)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(g){this._setOption("activeStateEnabled",g)}get buttons(){return this._getOption("buttons")}set buttons(g){this._setOption("buttons",g)}get customItemCreateEvent(){return this._getOption("customItemCreateEvent")}set customItemCreateEvent(g){this._setOption("customItemCreateEvent",g)}get dataSource(){return this._getOption("dataSource")}set dataSource(g){this._setOption("dataSource",g)}get deferRendering(){return this._getOption("deferRendering")}set deferRendering(g){this._setOption("deferRendering",g)}get disabled(){return this._getOption("disabled")}set disabled(g){this._setOption("disabled",g)}get displayExpr(){return this._getOption("displayExpr")}set displayExpr(g){this._setOption("displayExpr",g)}get displayValue(){return this._getOption("displayValue")}set displayValue(g){this._setOption("displayValue",g)}get dropDownButtonTemplate(){return this._getOption("dropDownButtonTemplate")}set dropDownButtonTemplate(g){this._setOption("dropDownButtonTemplate",g)}get dropDownOptions(){return this._getOption("dropDownOptions")}set dropDownOptions(g){this._setOption("dropDownOptions",g)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(g){this._setOption("elementAttr",g)}get fieldTemplate(){return this._getOption("fieldTemplate")}set fieldTemplate(g){this._setOption("fieldTemplate",g)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(g){this._setOption("focusStateEnabled",g)}get grouped(){return this._getOption("grouped")}set grouped(g){this._setOption("grouped",g)}get groupTemplate(){return this._getOption("groupTemplate")}set groupTemplate(g){this._setOption("groupTemplate",g)}get height(){return this._getOption("height")}set height(g){this._setOption("height",g)}get hint(){return this._getOption("hint")}set hint(g){this._setOption("hint",g)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(g){this._setOption("hoverStateEnabled",g)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(g){this._setOption("inputAttr",g)}get isDirty(){return this._getOption("isDirty")}set isDirty(g){this._setOption("isDirty",g)}get isValid(){return this._getOption("isValid")}set isValid(g){this._setOption("isValid",g)}get items(){return this._getOption("items")}set items(g){this._setOption("items",g)}get itemTemplate(){return this._getOption("itemTemplate")}set itemTemplate(g){this._setOption("itemTemplate",g)}get label(){return this._getOption("label")}set label(g){this._setOption("label",g)}get labelMode(){return this._getOption("labelMode")}set labelMode(g){this._setOption("labelMode",g)}get maxLength(){return this._getOption("maxLength")}set maxLength(g){this._setOption("maxLength",g)}get minSearchLength(){return this._getOption("minSearchLength")}set minSearchLength(g){this._setOption("minSearchLength",g)}get name(){return this._getOption("name")}set name(g){this._setOption("name",g)}get noDataText(){return this._getOption("noDataText")}set noDataText(g){this._setOption("noDataText",g)}get opened(){return this._getOption("opened")}set opened(g){this._setOption("opened",g)}get openOnFieldClick(){return this._getOption("openOnFieldClick")}set openOnFieldClick(g){this._setOption("openOnFieldClick",g)}get placeholder(){return this._getOption("placeholder")}set placeholder(g){this._setOption("placeholder",g)}get readOnly(){return this._getOption("readOnly")}set readOnly(g){this._setOption("readOnly",g)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(g){this._setOption("rtlEnabled",g)}get searchEnabled(){return this._getOption("searchEnabled")}set searchEnabled(g){this._setOption("searchEnabled",g)}get searchExpr(){return this._getOption("searchExpr")}set searchExpr(g){this._setOption("searchExpr",g)}get searchMode(){return this._getOption("searchMode")}set searchMode(g){this._setOption("searchMode",g)}get searchTimeout(){return this._getOption("searchTimeout")}set searchTimeout(g){this._setOption("searchTimeout",g)}get selectedItem(){return this._getOption("selectedItem")}set selectedItem(g){this._setOption("selectedItem",g)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(g){this._setOption("showClearButton",g)}get showDataBeforeSearch(){return this._getOption("showDataBeforeSearch")}set showDataBeforeSearch(g){this._setOption("showDataBeforeSearch",g)}get showDropDownButton(){return this._getOption("showDropDownButton")}set showDropDownButton(g){this._setOption("showDropDownButton",g)}get showSelectionControls(){return this._getOption("showSelectionControls")}set showSelectionControls(g){this._setOption("showSelectionControls",g)}get spellcheck(){return this._getOption("spellcheck")}set spellcheck(g){this._setOption("spellcheck",g)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(g){this._setOption("stylingMode",g)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(g){this._setOption("tabIndex",g)}get text(){return this._getOption("text")}set text(g){this._setOption("text",g)}get useItemTextAsTitle(){return this._getOption("useItemTextAsTitle")}set useItemTextAsTitle(g){this._setOption("useItemTextAsTitle",g)}get validationError(){return this._getOption("validationError")}set validationError(g){this._setOption("validationError",g)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(g){this._setOption("validationErrors",g)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(g){this._setOption("validationMessageMode",g)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(g){this._setOption("validationMessagePosition",g)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(g){this._setOption("validationStatus",g)}get value(){return this._getOption("value")}set value(g){this._setOption("value",g)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(g){this._setOption("valueChangeEvent",g)}get valueExpr(){return this._getOption("valueExpr")}set valueExpr(g){this._setOption("valueExpr",g)}get visible(){return this._getOption("visible")}set visible(g){this._setOption("visible",g)}get width(){return this._getOption("width")}set width(g){this._setOption("width",g)}get wrapItemText(){return this._getOption("wrapItemText")}set wrapItemText(g){this._setOption("wrapItemText",g)}change(g){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(g){this.setChildren("buttons",g)}get itemsChildren(){return this._getOption("items")}set itemsChildren(g){this.setChildren("items",g)}_createInstance(g,U){return new m.A(g,U)}writeValue(g){this.eventHelper.lockedValueChangeEvent=!0,this.value=g,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(g){this.disabled=g}registerOnChange(g){this.change=g}registerOnTouched(g){this.touched=g}_createWidget(g){super._createWidget(g),this.instance.on("focusOut",U=>{this.eventHelper.fireNgEvent("onBlur",[U])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(g){super.ngOnChanges(g),this.setupChanges("buttons",g),this.setupChanges("dataSource",g),this.setupChanges("items",g),this.setupChanges("searchExpr",g),this.setupChanges("validationErrors",g)}setupChanges(g,U){g in this._optionsToUpdate||this._idh.setup(g,U)}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(g,U){let G=this._idh.setupSingle(g,U),A=null!==this._idh.getChanges(g,U);(G||A)&&super._setOption(g,U)}}return p.\u0275fac=function(g){return new(g||p)(c.rXU(c.aKT),c.rXU(c.SKi),c.rXU(_.zF),c.rXU(_.jS),c.rXU(_.$M),c.rXU(_.fH),c.rXU(t.pJ),c.rXU(c.Agw))},p.\u0275cmp=c.VBU({type:p,selectors:[["dx-select-box"]],contentQueries:function(g,U,G){if(1&g&&(c.wni(G,b.BrI,4),c.wni(G,b.CVf,4)),2&g){let A;c.mGM(A=c.lsd())&&(U.buttonsChildren=A),c.mGM(A=c.lsd())&&(U.itemsChildren=A)}},hostBindings:function(g,U){1&g&&c.bIt("valueChange",function(A){return U.change(A)})("onBlur",function(A){return U.touched(A)})},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",isDirty:"isDirty",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",isDirtyChange:"isDirtyChange",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:[c.Jv_([_.zF,_.jS,v,_.fH,_.$M]),c.Vt3,c.OA$],decls:0,vars:0,template:function(g,U){},encapsulation:2}),p})(),N=(()=>{class p{}
1return p.\u0275fac=function(g){return new(g||p)},p.\u0275mod=c.$C({type:p}),p.\u0275inj=c.G2t({imports:[[b.GIV,b.u4t,b.df_,b.YLo,b.YaD,b.eNx,b.Bkf,b.nwt,b.hXw,b.YGc,b.gf0,b.rvW,b.Tob,b.$Ql,b.isg,b.POb,_.p_,_.xZ],b.GIV,b.u4t,b.df_,b.YLo,b.YaD,b.eNx,b.Bkf,b.nwt,b.hXw,b.YGc,b.gf0,b.rvW,b.Tob,b.$Ql,b.isg,b.POb,_.xZ]}),p})()},3281:(Nt,Le,a)=>{"use strict";a.d(Le,{Z:()=>N});var t=a(345),c=a(4438),m=a(2934),x=a(9417),_=a(7283),b=a(1837);const v={provide:x.kq,useExisting:(0,c.Rfq)(()=>M),multi:!0};let M=(()=>{class p extends _.ic{constructor(g,U,G,A,K,z,ee,L){super(g,U,G,A,ee,L),this._watcherHelper=A,this._idh=K,this.touched=f=>{},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:"isDirtyChange"},{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),z.setHost(this)}get accessKey(){return this._getOption("accessKey")}set accessKey(g){this._setOption("accessKey",g)}get activeStateEnabled(){return this._getOption("activeStateEnabled")}set activeStateEnabled(g){this._setOption("activeStateEnabled",g)}get buttons(){return this._getOption("buttons")}set buttons(g){this._setOption("buttons",g)}get disabled(){return this._getOption("disabled")}set disabled(g){this._setOption("disabled",g)}get elementAttr(){return this._getOption("elementAttr")}set elementAttr(g){this._setOption("elementAttr",g)}get focusStateEnabled(){return this._getOption("focusStateEnabled")}set focusStateEnabled(g){this._setOption("focusStateEnabled",g)}get height(){return this._getOption("height")}set height(g){this._setOption("height",g)}get hint(){return this._getOption("hint")}set hint(g){this._setOption("hint",g)}get hoverStateEnabled(){return this._getOption("hoverStateEnabled")}set hoverStateEnabled(g){this._setOption("hoverStateEnabled",g)}get inputAttr(){return this._getOption("inputAttr")}set inputAttr(g){this._setOption("inputAttr",g)}get isDirty(){return this._getOption("isDirty")}set isDirty(g){this._setOption("isDirty",g)}get isValid(){return this._getOption("isValid")}set isValid(g){this._setOption("isValid",g)}get label(){return this._getOption("label")}set label(g){this._setOption("label",g)}get labelMode(){return this._getOption("labelMode")}set labelMode(g){this._setOption("labelMode",g)}get mask(){return this._getOption("mask")}set mask(g){this._setOption("mask",g)}get maskChar(){return this._getOption("maskChar")}set maskChar(g){this._setOption("maskChar",g)}get maskInvalidMessage(){return this._getOption("maskInvalidMessage")}set maskInvalidMessage(g){this._setOption("maskInvalidMessage",g)}get maskRules(){return this._getOption("maskRules")}set maskRules(g){this._setOption("maskRules",g)}get maxLength(){return this._getOption("maxLength")}set maxLength(g){this._setOption("maxLength",g)}get mode(){return this._getOption("mode")}set mode(g){this._setOption("mode",g)}get name(){return this._getOption("name")}set name(g){this._setOption("name",g)}get placeholder(){return this._getOption("placeholder")}set placeholder(g){this._setOption("placeholder",g)}get readOnly(){return this._getOption("readOnly")}set readOnly(g){this._setOption("readOnly",g)}get rtlEnabled(){return this._getOption("rtlEnabled")}set rtlEnabled(g){this._setOption("rtlEnabled",g)}get showClearButton(){return this._getOption("showClearButton")}set showClearButton(g){this._setOption("showClearButton",g)}get showMaskMode(){return this._getOption("showMaskMode")}set showMaskMode(g){this._setOption("showMaskMode",g)}get spellcheck(){return this._getOption("spellcheck")}set spellcheck(g){this._setOption("spellcheck",g)}get stylingMode(){return this._getOption("stylingMode")}set stylingMode(g){this._setOption("stylingMode",g)}get tabIndex(){return this._getOption("tabIndex")}set tabIndex(g){this._setOption("tabIndex",g)}get text(){return this._getOption("text")}set text(g){this._setOption("text",g)}get useMaskedValue(){return this._getOption("useMaskedValue")}set useMaskedValue(g){this._setOption("useMaskedValue",g)}get validationError(){return this._getOption("validationError")}set validationError(g){this._setOption("validationError",g)}get validationErrors(){return this._getOption("validationErrors")}set validationErrors(g){this._setOption("validationErrors",g)}get validationMessageMode(){return this._getOption("validationMessageMode")}set validationMessageMode(g){this._setOption("validationMessageMode",g)}get validationMessagePosition(){return this._getOption("validationMessagePosition")}set validationMessagePosition(g){this._setOption("validationMessagePosition",g)}get validationStatus(){return this._getOption("validationStatus")}set validationStatus(g){this._setOption("validationStatus",g)}get value(){return this._getOption("value")}set value(g){this._setOption("value",g)}get valueChangeEvent(){return this._getOption("valueChangeEvent")}set valueChangeEvent(g){this._setOption("valueChangeEvent",g)}get visible(){return this._getOption("visible")}set visible(g){this._setOption("visible",g)}get width(){return this._getOption("width")}set width(g){this._setOption("width",g)}
1change(g){}get buttonsChildren(){return this._getOption("buttons")}set buttonsChildren(g){this.setChildren("buttons",g)}_createInstance(g,U){return new m.A(g,U)}writeValue(g){this.eventHelper.lockedValueChangeEvent=!0,this.value=g,this.eventHelper.lockedValueChangeEvent=!1}setDisabledState(g){this.disabled=g}registerOnChange(g){this.change=g}registerOnTouched(g){this.touched=g}_createWidget(g){super._createWidget(g),this.instance.on("focusOut",U=>{this.eventHelper.fireNgEvent("onBlur",[U])})}ngOnDestroy(){this._destroyWidget()}ngOnChanges(g){super.ngOnChanges(g),this.setupChanges("buttons",g),this.setupChanges("validationErrors",g)}setupChanges(g,U){g in this._optionsToUpdate||this._idh.setup(g,U)}ngDoCheck(){this._idh.doCheck("buttons"),this._idh.doCheck("validationErrors"),this._watcherHelper.checkWatchers(),super.ngDoCheck(),super.clearChangedOptions()}_setOption(g,U){let G=this._idh.setupSingle(g,U),A=null!==this._idh.getChanges(g,U);(G||A)&&super._setOption(g,U)}}return p.\u0275fac=function(g){return new(g||p)(c.rXU(c.aKT),c.rXU(c.SKi),c.rXU(_.zF),c.rXU(_.jS),c.rXU(_.$M),c.rXU(_.fH),c.rXU(t.pJ),c.rXU(c.Agw))},p.\u0275cmp=c.VBU({type:p,selectors:[["dx-text-box"]],contentQueries:function(g,U,G){if(1&g&&c.wni(G,b.BrI,4),2&g){let A;c.mGM(A=c.lsd())&&(U.buttonsChildren=A)}},hostBindings:function(g,U){1&g&&c.bIt("valueChange",function(A){return U.change(A)})("onBlur",function(A){return U.touched(A)})},inputs:{accessKey:"accessKey",activeStateEnabled:"activeStateEnabled",buttons:"buttons",disabled:"disabled",elementAttr:"elementAttr",focusStateEnabled:"focusStateEnabled",height:"height",hint:"hint",hoverStateEnabled:"hoverStateEnabled",inputAttr:"inputAttr",isDirty:"isDirty",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",isDirtyChange:"isDirtyChange",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:[c.Jv_([_.zF,_.jS,v,_.fH,_.$M]),c.Vt3,c.OA$],decls:0,vars:0,template:function(g,U){},encapsulation:2}),p})(),N=(()=>{class p{}
1return p.\u0275fac=function(g){return new(g||p)},p.\u0275mod=c.$C({type:p}),p.\u0275inj=c.G2t({imports:[[b.GIV,b.u4t,_.p_,_.xZ],b.GIV,b.u4t,_.xZ]}),p})()},2600:(Nt,Le,a)=>{"use strict";a.d(Le,{t:()=>v}),a(345);var c=a(4438),x=(a(9433),a(7283));let v=(()=>{class M{}return M.\u0275fac=function(p){return new(p||M)},M.\u0275mod=c.$C({type:M}),M.\u0275inj=c.G2t({imports:[[x.p_,x.xZ],x.xZ]}),M})()},5581:(Nt,Le,a)=>{"use strict";a.d(Le,{u:()=>N,x:()=>M});var t=a(4435),c=a(435),m=(0,t.Vd)()?(0,t.zk)():{},_=function(p){return setTimeout(p,16.666666666666668)},b=function(p){clearTimeout(p)},v=(0,c.A)(function(){var p=m.requestAnimationFrame||m.webkitRequestAnimationFrame||m.mozRequestAnimationFrame||m.oRequestAnimationFrame||m.msRequestAnimationFrame,P=m.cancelAnimationFrame||m.webkitCancelAnimationFrame||m.mozCancelAnimationFrame||m.oCancelAnimationFrame||m.msCancelAnimationFrame;p&&P&&(_=p,b=P)});function M(){return v(),_.apply(m,arguments)}function N(){v(),b.apply(m,arguments)}},3930:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>pt});var t=a(4292),c=a(4435),m=a(1269),x=a(7550),_=a(181),b=a(7951),v=a(2463),M=a(2101),N=a(2824),p=/cubic-bezier\((\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\)/,P={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)"},U={},G=function(Ze){var Ve,X=(Ze=P[Ze]||Ze).match(p);X||(X=P[Ve="linear"].match(p)),X=X.slice(1,5);for(var st=0;st<X.length;st++)X[st]=parseFloat(X[st]);var at=Ve||"cubicbezier_"+X.join("_").replace(/\./g,"p");return(0,v.Tn)(U[at])||(U[at]=function(V,pe,Te,ft,At){return ft*function(Ze,X,Ve,st){var at=3*Ze,V=3*(Ve-Ze)-at,pe=1-at-V,Te=3*X,ft=3*(st-X)-Te,At=1-Te-ft,sn=function(Ut){return Ut*(at+Ut*(V+Ut*pe))},Bt=function(Ut){return at+Ut*(2*V+3*Ut*pe)};return function(Ut){return(zt=function(zt){for(var ot,wt=zt,Qe=0;Qe<14&&(ot=sn(wt)-zt,!(Math.abs(ot)<.001));)wt-=ot/Bt(wt),Qe++;return wt}(Ut))*(Te+zt*(ft+zt*At));var zt}}(X[0],X[1],X[2],X[3])(pe/At)+Te}),at},z=a(5581),ee=a(9900),L=a(4441),f=a(675),D=a(9104),R=a(2984),S=a(5042),j=(0,c.zk)(),fe=(0,D.b4)(f.N,"dxFX"),H=/^([+-])=(.*)/i,J="dxAnimData",Y="dxAnimQueue",W="transform",re={initAnimation:function(Ze,X){Ze.css({transitionProperty:"none"}),"string"==typeof X.from?Ze.addClass(X.from):vt(Ze,X.from);var Ve=this,st=new R.cY,at=X.cleanupWhen;X.transitionAnimation={deferred:st,finish:function(){Ve._finishTransition(Ze),at?(0,R.z7)(st,at).always(function(){Ve._cleanup(Ze,X)}):Ve._cleanup(Ze,X),st.resolveWith(Ze,[X,Ze])}},this._completeAnimationCallback(Ze,X).done(function(){X.transitionAnimation.finish()}).fail(function(){st.rejectWith(Ze,[X,Ze])}),X.duration||X.transitionAnimation.finish(),Ze.css("transform")},animate:function(Ze,X){return this._startAnimation(Ze,X),X.transitionAnimation.deferred.promise()},_completeAnimationCallback:function(Ze,X){var Te,Ve=this,st=Date.now()+X.delay,at=new R.cY,V=new R.cY,pe=new R.cY,ft=(0,ee.transitionEndEventName)()+".dxFX";X.transitionAnimation.cleanup=function(){clearTimeout(Te),clearTimeout(At),m.A.off(Ze,ft),m.A.off(Ze,fe)},m.A.one(Ze,ft,function(){Date.now()-st>=X.duration&&V.reject()}),m.A.off(Ze,fe),m.A.on(Ze,fe,function(){Ve.stop(Ze,X),at.reject()});var At=setTimeout(function(){Te=setTimeout(function(){pe.reject()},X.duration+X.delay+ze._simulatedTransitionEndDelay),(0,R.z7)(V,pe).fail(function(){at.resolve()}.bind(this))});return at.promise()},_startAnimation:function(Ze,X){Ze.css({transitionProperty:"all",transitionDelay:X.delay+"ms",transitionDuration:X.duration+"ms",transitionTimingFunction:X.easing}),"string"==typeof X.to?Ze[0].className+=" "+X.to:X.to&&vt(Ze,X.to)},_finishTransition:function(Ze){Ze.css("transition","none")},_cleanup:function(Ze,X){X.transitionAnimation.cleanup(),"string"==typeof X.from&&(Ze.removeClass(X.from),Ze.removeClass(X.to))},stop:function(Ze,X,Ve){X&&(Ve?X.transitionAnimation.finish():((0,v.Qd)(X.to)&&(0,M.__)(X.to,function(st){Ze.css(st,Ze.css(st))}),this._finishTransition(Ze),this._cleanup(Ze,X)))}},le={initAnimation:function(Ze,X){vt(Ze,X.from)},animate:function(Ze,X){var Ve=new R.cY,st=this;return X?((0,M.__)(X.to,function(at){void 0===X.from[at]&&(X.from[at]=st._normalizeValue(Ze.css(at)))}),X.to[W]&&(X.from[W]=st._parseTransform(X.from[W]),X.to[W]=st._parseTransform(X.to[W])),X.frameAnimation={to:X.to,from:X.from,currentValue:X.from,easing:G(X.easing),duration:X.duration,startTime:(new Date).valueOf(),finish:function(){this.currentValue=this.to,this.draw(),(0,z.u)(X.frameAnimation.animationFrameId),Ve.resolve()},draw:function(){if(X.draw)X.draw(this.currentValue);else{var at=(0,b.X)({},this.currentValue);at[W]&&(at[W]=(0,M.Tj)(at[W],function(V,pe){return"translate"===pe?(0,N.Oj)(V):"scale"===pe?"scale("+V+")":"rotate"===pe.substr(0,pe.length-1)?pe+"("+V+"deg)":void 0}).join(" ")),Ze.css(at)}}},X.delay?(X.frameAnimation.startTime+=X.delay,X.frameAnimation.delayTimeout=setTimeout(function(){st._startAnimation(Ze,X)},X.delay)):st._startAnimation(Ze,X),Ve.promise()):Ve.reject().promise()},_startAnimation:function(Ze,X){m.A.off(Ze,fe),m.A.on(Ze,fe,function(){X.frameAnimation&&(0,z.u)(X.frameAnimation.animationFrameId)}),this._animationStep(Ze,X)},_parseTransform:function(Ze){var X={};return(0,M.__)(Ze.match(/\w+\d*\w*\([^)]*\)\s*/g),function(Ve,st){var at=(0,N.g)(st),V=st.match(/scale\((.+?)\)/),pe=st.match(/(rotate.)\((.+)deg\)/);at&&(X.translate=at),V&&V[1]&&(X.scale=parseFloat(V[1])),pe&&pe[1]&&(X[pe[1]]=parseFloat(pe[2]))}),X},stop:function(Ze,X,Ve){var st=X&&X.frameAnimation;st&&((0,z.u)(st.animationFrameId),clearTimeout(st.delayTimeout),Ve&&st.finish(),delete X.frameAnimation)},_animationStep:function(Ze,X){var Ve=X&&X.frameAnimation;if(Ve){var st=(new Date).valueOf();if(st>=Ve.startTime+Ve.duration)return void Ve.finish();Ve.currentValue=this._calcStepValue(Ve,st-Ve.startTime),Ve.draw();var at=this;Ve.animationFrameId=(0,z.x)(function(){at._animationStep(Ze,X)})}},_calcStepValue:function(Ze,X){return function Ve(st,at){var V=Array.isArray(at)?[]:{};return(0,M.__)(at,function(pe,Te){if("string"==typeof Te&&!1===parseFloat(Te))return!0;var ft,At,sn,Bt,Ut,zt;V[pe]="object"==typeof Te?Ve(st[pe],Te):(At=X/Ze.duration,sn=X,Bt=1*st[ft=pe],Ut=at[ft]-st[ft],zt=Ze.duration,function K(Ze){return U[Ze]}(Ze.easing)(At,sn,Bt,Ut,zt))}),V}(Ze.from,Ze.to)},_normalizeValue:function(Ze){var X=parseFloat(Ze);return!1===X?Ze:X}},Re={initAnimation:function(){},animate:function(){return(new R.cY).resolve().promise()},stop:S.lQ,isSynchronous:!0},Fe=function(Ze,X,Ve,st){(0,M.__)(["from","to"],function(){if(!Ve(Ze[this]))throw x.A.Error("E0010",X,this,st)})},ue=function(Ze,X){return Fe(Ze,X,function(Ve){return(0,v.Qd)(Ve)},"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"}},ve={validateConfig:function(Ze){ue(Ze,"slide")},setup:function(Ze,X){var Ve=(0,N.x5)(Ze);
1if("slide"!==X.type){var st="slideIn"===X.type?X.from:X.to;st.position=(0,b.X)({of:j},Z[X.direction]),Ke(Ze,st)}this._setUpConfig(Ve,X.from),this._setUpConfig(Ve,X.to),(0,N.IL)(Ze)},_setUpConfig:function(Ze,X){X.left="left"in X?X.left:"+=0",X.top="top"in X?X.top:"+=0",this._initNewPosition(Ze,X)},_initNewPosition:function(Ze,X){var Ve={left:X.left,top:X.top};delete X.left,delete X.top;var st=this._getRelativeValue(Ve.left);void 0!==st?Ve.left=st+Ze.left:X.left=0,void 0!==(st=this._getRelativeValue(Ve.top))?Ve.top=st+Ze.top:X.top=0,X[W]=(0,N.Oj)({x:Ve.left,y:Ve.top})},_getRelativeValue:function(Ze){var X;if("string"==typeof Ze&&(X=H.exec(Ze)))return parseInt(X[1]+"1")*X[2]}},ke={setup:function(Ze,X){var Ve,st,at=X.from,V=X.to,pe="fadeOut"===X.type?1:0,Te="fadeOut"===X.type?0:1,ft=(0,v.Qd)(at)?String(null!==(Ve=at.opacity)&&void 0!==Ve?Ve:pe):String(at),At=(0,v.Qd)(V)?String(null!==(st=V.opacity)&&void 0!==st?st:Te):String(V);switch(X.skipElementInitialStyles||(ft=Ze.css("opacity")),X.type){case"fadeIn":At=1;break;case"fadeOut":At=0}X.from={visibility:"visible",opacity:ft},X.to={opacity:At}}},Ie={custom:{setup:function(){}},slide:ve,slideIn:ve,slideOut:ve,fade:ke,fadeIn:ke,fadeOut:ke,pop:{validateConfig:function(Ze){ue(Ze,"pop")},setup:function(Ze,X){var Ve=X.from,st=X.to,at="opacity"in Ve?Ve.opacity:Ze.css("opacity"),V="opacity"in st?st.opacity:1,pe="scale"in Ve?Ve.scale:0,Te="scale"in st?st.scale:1;X.from={opacity:at};var ft=(0,N.ro)(Ze);X.from[W]=this._getCssTransform(ft,pe),X.to={opacity:V},X.to[W]=this._getCssTransform(ft,Te)},_getCssTransform:function(Ze,X){return(0,N.Oj)(Ze)+"scale("+X+")"}},css:{validateConfig:function(Ze){!function(Ze,X){Fe(Ze,"css",function(Ve){return"string"==typeof Ve},"a string")}(Ze)},setup:function(){}}},et={type:"custom",from:{},to:{},duration:400,start:S.lQ,complete:S.lQ,easing:"ease",delay:0},yt={duration:400,easing:"ease",delay:0};function dt(){var Ze=this.element,X=this.config;if(Ke(Ze,X.from),Ke(Ze,X.to),this.configurator.setup(Ze,X),Ze.data(J,this),ze.off&&(X.duration=0,X.delay=0),this.strategy.initAnimation(Ze,X),X.start){var Ve=(0,_.c)(Ze);X.start.apply(this,[Ve,X])}}var Ce=function(){var Ze=this,X=Ze.element,Ve=Ze.config;return Ze.isStarted=!0,Ze.strategy.animate(X,Ve).done(function(){!function(Ze){var X=Ze.element,Ve=Ze.config;if(X.removeData(J),Ve.complete){var st=(0,_.c)(X);Ve.complete.apply(this,[st,Ve])}Ze.deferred.resolveWith(this,[X,Ve])}(Ze)}).fail(function(){Ze.deferred.rejectWith(this,[X,Ve])})},we=function(Ze){var X=this.element,Ve=this.config;clearTimeout(this.startTimeout),this.isStarted||this.start(),this.strategy.stop(X,Ve,Ze)},Ee=(0,D.b4)(f.N,"dxFXStartAnimation"),Ot=function(Ze,X){var st=(0,b.X)(!0,{},"css"===X.type?yt:et,X),at=function(Ze){var X=Ie[Ze.type];if(!X)throw x.A.Error("E0011",Ze.type);return X}(st),V=function(Ze){Ze=Ze||{};var X={transition:(0,ee.transition)()?re:le,frame:le,noAnimation:Re},Ve=Ze.strategy||"transition";return"css"===Ze.type&&!(0,ee.transition)()&&(Ve="noAnimation"),X[Ve]}(st),pe={element:(0,t.A)(Ze),config:st,configurator:at,strategy:V,isSynchronous:V.isSynchronous,setup:dt,start:Ce,stop:we,deferred:new R.cY};return(0,v.Tn)(at.validateConfig)&&at.validateConfig(st),function(Ze){m.A.off(Ze.element,Ee),m.A.on(Ze.element,Ee,function(){ze.stop(Ze.element)}),Ze.deferred.always(function(){m.A.off(Ze.element,Ee)})}(pe),pe};function ln(Ze){return Ze.data(Y)||[]}var Zt=function(Ze){Ze.removeData(Y)};function ct(Ze){return!!Ze.data(J)}function rt(Ze,X){if((X=ln(Ze)).length){var Ve=X.shift();0===X.length&&Zt(Ze),function Ae(Ze){return Ze.setup(),ze.off||Ze.isSynchronous?Ze.start():Ze.startTimeout=setTimeout(function(){Ze.start()}),Ze.deferred.promise()}(Ve).done(function(){ct(Ze)||rt(Ze)})}}function Ke(Ze,X){if(X&&X.position){var Ve=(0,t.A)(j),st=0,at=0,V=L.A.calculate(Ze,X.position),pe=Ze.offset(),Te=Ze.position();Te.top>pe.top&&(at=Ve.scrollTop()),Te.left>pe.left&&(st=Ve.scrollLeft()),(0,b.X)(X,{left:V.h.location-pe.left+Te.left-st,top:V.v.location-pe.top+Te.top-at}),delete X.position}}function vt(Ze,X){(0,M.__)(X,function(Ve,st){try{Ze.css(Ve,(0,v.Tn)(st)?st():st)}catch{}})}var ze={off:!1,animationTypes:Ie,animate:function(Ze,X){var Ve=(0,t.A)(Ze);if(!Ve.length)return(new R.cY).resolve().promise();var st=Ot(Ve,X);return function un(Ze,X){var Ve=ln(Ze);(function Ln(Ze,X){Ze.data(Y,X)})(Ze,Ve),Ve.push(X),ct(Ze)||rt(Ze,Ve)}(Ve,st),st.deferred.promise()},createAnimation:Ot,isAnimating:ct,stop:function(Ze,X){var Ve=(0,t.A)(Ze),st=ln(Ve);(0,M.__)(st,function(V,pe){pe.config.delay=0,pe.config.duration=0,pe.isSynchronous=!0}),ct(Ve)||rt(Ve,st);var at=Ve.data(J);at&&at.stop(X),Ve.removeData(J),Zt(Ve)},_simulatedTransitionEndDelay:100};const pt=ze},4441:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ne});var re,t=a(186),c=a(4292),m=a(5042),x=a(2101),_=a(4435),b=a(7669),v=a(2463),M=a(7951),N=a(448),p=a(9263),P=a(2824),g=a(9900),U=a(3862),G=a(5918),A=(0,_.zk)(),K=/left|right/,z=/top|bottom/,ee=/fit|flip|none/,L=/scale\(.+?\)/,f=p.A.safari,D=function(Z){var ve={h:"center",v:"center"},ke=(0,m.T6)(Z);return ke&&(0,x.__)(ke,function(){var Ne=String(this).toLowerCase();K.test(Ne)?ve.h=Ne:z.test(Ne)&&(ve.v=Ne)}),ve},R=function(Z,ve){return(0,m.Li)(Z,ve)},j=function(Z){switch(Z){case"center":return.5;case"right":case"bottom":return 1;default:return 0}},fe=function(Z){switch(Z){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return Z}},H=function(Z,ve){var ke=0;return Z.myLocation<ve.min&&(ke+=ve.min-Z.myLocation),Z.myLocation>ve.max&&(ke+=Z.myLocation-ve.max),ke},J=function(Z,ve,ke){return ve.myLocation<ke.min?"h"===Z?"left":"top":ve.myLocation>ke.max?"h"===Z?"right":"bottom":"none"},Y=function(Z){Z.myLocation=Z.atLocation+j(Z.atAlign)*Z.atSize-j(Z.myAlign)*Z.mySize+Z.offset},W={fit:function(Z,ve){var ke=!1;Z.myLocation>ve.max&&(Z.myLocation=ve.max,ke=!0),Z.myLocation<ve.min&&(Z.myLocation=ve.min,ke=!0),Z.fit=ke},flip:function(Z,ve){if(Z.flip=!1,("center"!==Z.myAlign||"center"!==Z.atAlign)&&(Z.myLocation<ve.min||Z.myLocation>ve.max)){var ke=(0,M.X)({},Z,{myAlign:fe(Z.myAlign),atAlign:fe(Z.atAlign),offset:-Z.offset});Y(ke),ke.oversize=H(ke,ve),(ke.myLocation>=ve.min&&ke.myLocation<=ve.max||Z.oversize>ke.oversize)&&(Z.myLocation=ke.myLocation,Z.oversize=ke.oversize,Z.flip=!0)}},flipfit:function(Z,ve){this.flip(Z,ve),this.fit(Z,ve)},none:function(Z){Z.oversize=0}},le=function(){var Z=(0,c.A)("<div>").css({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).appendTo((0,c.A)("body")),ve=Z.get(0).offsetWidth-Z.get(0).clientWidth;Z.remove(),re=ve},Re={h:{location:0,flip:!1,fit:!1,oversize:0},v:{location:0,flip:!1,fit:!1,oversize:0}},Be=function(Z,ve){var ke=(0,c.A)(Z),Ne=ke.offset(),Ie=(0,M.X)(!0,{},Re,{h:{location:Ne.left},v:{location:Ne.top}});if(!ve)return Ie;var De=D(ve.my),et=D(ve.at),yt=(0,c.A)(ve.of).length&&ve.of||A,dt=R(ve.offset,ve.precise),Je=function(Z){var ve=(0,m.T6)(Z),ke=String(ve&&ve[0]).toLowerCase(),Ne=String(ve&&ve[1]).toLowerCase();return ee.test(ke)||(ke="none"),ee.test(Ne)||(Ne=ke),{h:ke,v:Ne}}
1(ve.collision),Ce=ve.boundary,we=R(ve.boundaryOffset,ve.precise),Ee={mySize:(0,t.Ot)(ke),myAlign:De.h,atAlign:et.h,offset:dt.h,collision:Je.h,boundaryOffset:we.h},He={mySize:(0,t.P$)(ke),myAlign:De.v,atAlign:et.v,offset:dt.v,collision:Je.v,boundaryOffset:we.v};if(yt.preventDefault)Ee.atLocation=yt.pageX,He.atLocation=yt.pageY,Ee.atSize=0,He.atSize=0;else if(yt=(0,c.A)(yt),(0,v.l6)(yt[0]))Ee.atLocation=yt.scrollLeft(),He.atLocation=yt.scrollTop(),"phone"===U.A.real().deviceType&&yt[0].visualViewport?(Ee.atLocation=Math.max(Ee.atLocation,yt[0].visualViewport.offsetLeft),He.atLocation=Math.max(He.atLocation,yt[0].visualViewport.offsetTop),Ee.atSize=yt[0].visualViewport.width,He.atSize=yt[0].visualViewport.height):(Ee.atSize=yt[0].innerWidth>yt[0].outerWidth?yt[0].innerWidth:(0,t.RG)(yt),He.atSize=yt[0].innerHeight>yt[0].outerHeight||f?yt[0].innerHeight:(0,t.Oq)(yt));else if(9===yt[0].nodeType)Ee.atLocation=0,He.atLocation=0,Ee.atSize=(0,t.RG)(yt),He.atSize=(0,t.Oq)(yt);else{var Ot=(0,N.N)(yt.get(0)),It=ue(yt);Ee.atLocation=It.left,He.atLocation=It.top,Ee.atSize=Math.max(Ot.width,(0,t.Ot)(yt)),He.atSize=Math.max(Ot.height,(0,t.P$)(yt))}Y(Ee),Y(He);var un=function(){var Ln=(0,c.A)(A),Zt=(0,t.RG)(Ln),ct=(0,t.Oq)(Ln),rt=Ln.scrollLeft(),Ae=Ln.scrollTop(),Ke=b.A.getDocumentElement(),vt=g.touch?Ke.clientWidth/Zt:1,Wt=g.touch?Ke.clientHeight/ct:1;void 0===re&&le();var ze=Zt,pt=ct;if(Ce&&!(0,v.l6)(Ce)){var Ze=(0,c.A)(Ce),X=Ze.offset();rt=X.left,Ae=X.top,ze=(0,t.RG)(Ze),pt=(0,t.Oq)(Ze)}return{h:{min:rt+Ee.boundaryOffset,max:rt+ze/vt-Ee.mySize-Ee.boundaryOffset},v:{min:Ae+He.boundaryOffset,max:Ae+pt/Wt-He.mySize-He.boundaryOffset}}}();Ee.oversize=H(Ee,un.h),He.oversize=H(He,un.v),Ee.collisionSide=J("h",Ee,un.h),He.collisionSide=J("v",He,un.v),W[Ee.collision]&&W[Ee.collision](Ee,un.h),W[He.collision]&&W[He.collision](He,un.v);var ln=function(Ln){return ve.precise?Ln:Math.round(Ln)};return(0,M.X)(!0,Ie,{h:{location:ln(Ee.myLocation),oversize:ln(Ee.oversize),fit:Ee.fit,flip:Ee.flip,collisionSide:Ee.collisionSide},v:{location:ln(He.myLocation),oversize:ln(He.oversize),fit:He.fit,flip:He.flip,collisionSide:He.collisionSide},precise:ve.precise}),Ie},Fe=function(Z,ve,ke,Ne){var Ie=(0,v.O9)(Z.style)&&!b.A.isNode(Z.style),De=Ne?ke.replace(ve,""):ke;if(Ie)(0,G.eC)(Z,De,!1);else{var et=b.A.createAttribute("style");et.value=De,Z.setAttributeNode(et)}},ue=function Z(ve){var ke,Ne,Ie=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ve,De=Ie.get(0);if(!De)return ve.offset();var dt,et=(null===(ke=De.getAttribute)||void 0===ke?void 0:ke.call(De,"style"))||"",yt=null===(Ne=et.match(L))||void 0===Ne?void 0:Ne[0];return yt?(Fe(De,yt,et,!0),dt=Z(ve,Ie.parent()),Fe(De,yt,et,!1)):dt=Z(ve,Ie.parent()),dt},ce=function(Z,ve){var ke=(0,c.A)(Z);if(!ve)return ke.offset();(0,P.fw)(ke,!0);var Ne=ue(ke),Ie=ve.h&&ve.v?ve:Be(ke,ve),De=function(et){return ve.precise?et:Math.round(et)};return(0,P.Cy)(ke,{left:Ie.h.location-De(Ne.left),top:Ie.v.location-De(Ne.top)}),Ie};ce.inverseAlign||(ce.inverseAlign=fe),ce.normalizeAlign||(ce.normalizeAlign=D);const ne={calculateScrollbarWidth:le,calculate:Be,setup:ce,offset:function(Z){return Z=(0,c.A)(Z).get(0),(0,v.l6)(Z)?null:Z&&"pageY"in Z&&"pageX"in Z?{top:Z.pageY,left:Z.pageX}:(0,c.A)(Z).offset()}}},2824:(Nt,Le,a)=>{"use strict";a.d(Le,{Cy:()=>U,IL:()=>p,Oj:()=>P,fw:()=>G,g:()=>A,ro:()=>g,x5:()=>v});var t=a(4292),c=a(8332),m=a(2463),x="dxTranslator",_=/matrix(3d)?\((.+?)\)/,b=/translate(?:3d)?\((.+?)\)/,v=function(K){K=(0,t.A)(K);var z=g(K);return{left:z.x,top:z.y}};function M(K){return"string"===(0,m.NW)(K)&&"%"===K[K.length-1]}function N(K,z){K.length&&(0,c.p)(K.get(0),x,z)}var p=function(K){K.length&&(0,c.jf)(K.get(0),x)},P=function(K){return K.x=K.x||0,K.y=K.y||0,"translate("+(M(K.x)?K.x:K.x+"px")+", "+(M(K.y)?K.y:K.y+"px")+")"},g=function(K){var z=K.length?(0,c.p)(K.get(0),x):null;if(!z){var L=(K.css("transform")||P({x:0,y:0})).match(_),f=L&&L[1];L?(L=L[2].split(","),"3d"===f?L=L.slice(12,15):(L.push(0),L=L.slice(4,7))):L=[0,0,0],N(K,z={x:parseFloat(L[0]),y:parseFloat(L[1]),z:parseFloat(L[2])})}return z},U=function(K,z){K=(0,t.A)(K);var f,ee=z.left,L=z.top;void 0===ee?(f=g(K)).y=L||0:void 0===L?(f=g(K)).x=ee||0:N(K,f={x:ee||0,y:L||0,z:0}),K.css({transform:P(f)}),(M(ee)||M(L))&&p(K)},G=function(K,z){K=(0,t.A)(K);var ee,L={left:0,top:0,transform:"none"};z&&(ee=K.css("transition"),L.transition="none"),K.css(L),p(K),z&&(K.get(0),K.css("transition",ee))},A=function(K){var z=K.match(b);if(z&&z[1])return z=z[1].split(","),{x:parseFloat(z[0]),y:parseFloat(z[1]),z:parseFloat(z[2])}}},5135:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>_});var t=a(4292),c=a(4435),m=a(2463),x=a(2101);let _=(()=>{class v{constructor(N,p){p=p||{},this._action=N,this._context=p.context||(0,c.zk)(),this._beforeE
1xecute=p.beforeExecute,this._afterExecute=p.afterExecute,this._component=p.component,this._validatingTargetName=p.validatingTargetName;var P=this._excludeValidators={};if(p.excludeValidators)for(var g=0;g<p.excludeValidators.length;g++)P[p.excludeValidators[g]]=!0}execute(){var N={action:this._action,args:Array.prototype.slice.call(arguments),context:this._context,component:this._component,validatingTargetName:this._validatingTargetName,cancel:!1,handled:!1},p=this._beforeExecute,P=this._afterExecute,g=N.args[0]||{};if(this._validateAction(N)&&(p?.call(this._context,N),!N.cancel)){var U=this._executeAction(N);if(!g.cancel)return P?.call(this._context,N),U}}_validateAction(N){var p=this._excludeValidators,{executors:P}=v;for(var g in P)if(!p[g]){var U,G=P[g];if(null===(U=G.validate)||void 0===U||U.call(G,N),N.cancel)return!1}return!0}_executeAction(N){var p,{executors:P}=v;for(var g in P){var U,G=P[g];if(null===(U=G.execute)||void 0===U||U.call(G,N),N.handled){p=N.result;break}}return p}static registerExecutor(N,p){(0,m.Qd)(N)?(0,x.__)(N,v.registerExecutor):v.executors[N]=p}static unregisterExecutor(){for(var N=arguments.length,p=new Array(N),P=0;P<N;P++)p[P]=arguments[P];(0,x.__)(p,function(){delete v.executors[this]})}}return v.executors={},v})();var b=v=>M=>{if(M.args.length){var N=M.args[0],p=N[M.validatingTargetName]||N.element;p&&v((0,t.A)(p))&&(M.cancel=!0)}};_.registerExecutor({disabled:{validate:b(v=>v.is(".dx-state-disabled, .dx-state-disabled *"))},readOnly:{validate:b(v=>v.is(".dx-state-readonly, .dx-state-readonly *:not(.dx-state-independent)"))},undefined:{execute:v=>{v.action||(v.result=void 0,v.handled=!0)}},func:{execute:v=>{(0,m.Tn)(v.action)&&(v.result=v.action.call(v.context,v.args[0]),v.handled=!0)}}})},6221:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(7550),c=a(2463),m=function(g,U,G){return function(){var A=this.callBase;this.callBase=g[U];try{return G.apply(this,arguments)}finally{this.callBase=A}}},_=function(g){var G,A;if(!g)return this;for(G in g)A=g[G],this.prototype[G]="function"==typeof this.prototype[G]&&"function"==typeof A?m(this.parent.prototype,G,A):A;return this},b=function(){var U,G,A,g=this,K=Object.prototype.hasOwnProperty.bind(g);for(!K("_includedCtors")&&!K("_includedPostCtors")&&(g._includedCtors=g._includedCtors.slice(0),g._includedPostCtors=g._includedPostCtors.slice(0)),A=0;A<arguments.length;A++)for(G in(U=arguments[A]).ctor&&g._includedCtors.push(U.ctor),U.postCtor&&g._includedPostCtors.push(U.postCtor),U)"ctor"===G||"postCtor"===G||"default"===G||(g.prototype[G]=U[G]);return g},v=function(g){if(!Object.prototype.hasOwnProperty.bind(this)("parent")&&this.parent){var A=Object.getPrototypeOf(this);return A===g||A.subclassOf(g)}return this.parent===g||!(!this.parent||!this.parent.subclassOf)&&this.parent.subclassOf(g)},M=function(){throw t.A.Error("E0001")},N=function(){var g=Object.prototype.hasOwnProperty;return function(U,G){for(var A in U){if(!g.call(U,A))return;G[A]=U[A]}}}(),p=function(){};p.inherit=function(g){var U=function(){if(!this||(0,c.l6)(this)||"function"!=typeof this.constructor)throw t.A.Error("E0003");var ee,G=this,A=G.ctor,K=G.constructor._includedCtors,z=G.constructor._includedPostCtors;for(ee=0;ee<K.length;ee++)K[ee].call(G);for(A&&A.apply(G,arguments),ee=0;ee<z.length;ee++)z[ee].call(G)};return U.prototype=function(g){var U=function(){};return U.prototype=g.prototype,new U}(this),N(this,U),U.inherit=this.inherit,U.abstract=M,U.redefine=_,U.include=b,U.subclassOf=v,U.parent=this,U._includedCtors=this._includedCtors?this._includedCtors.slice(0):[],U._includedPostCtors=this._includedPostCtors?this._includedPostCtors.slice(0):[],U.prototype.constructor=U,U.redefine(g),U},p.abstract=M;const P=p},4905:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>M});var t=a(4292);const m=new(a(7544).A);var x=a(7550),_=a(9690);m.add(function(N,p){t.A.fn[N]=function(P){var U;if("string"==typeof P){var G=P,A=[].slice.call(arguments).slice(1);this.each(function(){var K=p.getInstance(this);if(!K)throw x.A.Error("E0009",N);var ee=K[G].apply(K,A);void 0===U&&(U=ee)})}else this.each(function(){var K=p.getInstance(this);K?K.option(P):new p(this,P)}),U=this;return U}});const M=function(N,p,P){P?p[N]=P:P=p,(0,_.UU)(P,N),m.fire(N,P)}}
1,3771:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>v});var t=a(7951),c=a(7550),m={rtlEnabled:!1,defaultCurrency:"USD",defaultUseCurrencyAccountingStyle:!0,oDataFilterToLower:!0,serverDecimalSeparator:".",decimalSeparator:".",thousandsSeparator:",",forceIsoDateParsing:!0,wrapActionsBeforeExecute:!0,useLegacyStoreResult:!1,useJQuery:void 0,editorStylingMode:void 0,useLegacyVisibleIndex:!1,floatingActionButtonConfig:{icon:"add",closeIcon:"close",label:"",position:{at:"right bottom",my:"right bottom",offset:{x:-16,y:-16}},maxSpeedDialActionCount:5,shading:!1,direction:"auto"},optionsParser:M=>{"{"!==M.trim().charAt(0)&&(M="{"+M+"}");try{return JSON.parse(M)}catch(N){try{return JSON.parse(x(M))}catch{throw c.A.Error("E3018",N,M)}}}},x=M=>M.replace(/'/g,'"').replace(/,\s*([\]}])/g,"$1").replace(/([{,])\s*([^":\s]+)\s*:/g,'$1"$2":'),_=["decimalSeparator","thousandsSeparator"],b=function(){if(!arguments.length)return m;var M=arguments.length<=0?void 0:arguments[0];_.forEach(N=>{if(M[N]){var p="Now, the ".concat(N," is selected based on the specified locale.");c.A.log("W0003","config",N,"19.2",p)}}),(0,t.X)(m,M)};typeof DevExpress<"u"&&DevExpress.config&&b(DevExpress.config);const v=b},3862:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>R});var t=a(186),c=a(4292),m=a(4435),x=a(7951),_=a(2463),b=a(7550),v=a(4423),M=a(2535),N=a(348),p=a(7278),P=a(2378),g=a(3558),U=a(3771),G=(0,m.zk)(),A={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"},K={deviceType:"desktop",platform:"generic",version:[],phone:!1,tablet:!1,android:!1,ios:!1,generic:!0,grade:"A",mac:!1},z={generic(S){var j=/windows phone/i.test(S)||S.match(/WPDesktop/),fe=!j&&/Windows(.*)arm(.*)Tablet PC/i.test(S),H=!j&&!fe&&/msapphost/i.test(S),J=/((intel|ppc) mac os x)/.test(S.toLowerCase());return j||fe||H||J?{deviceType:j?"phone":fe?"tablet":"desktop",platform:"generic",version:[],grade:"A",mac:J}:null},appleTouchDevice(S){var j=(0,m.w3)(),fe=/Macintosh/i.test(S)&&j?.maxTouchPoints>2;if(!/ip(hone|od|ad)/i.test(S)&&!fe)return null;var J=/ip(hone|od)/i.test(S),Y=S.match(/os\s{0,}X? (\d+)_(\d+)_?(\d+)?/i);return{deviceType:J?"phone":"tablet",platform:"ios",version:Y?[parseInt(Y[1],10),parseInt(Y[2],10),parseInt(Y[3]||0,10)]:[],grade:480===G.screen.height?"B":"A"}},android(S){var j=/android|htc_|silk/i.test(S),fe=/windows phone/i.test(S);if(!j||fe)return null;var H=/mobile/i.test(S),J=S.match(/android (\d+)\.?(\d+)?\.?(\d+)?/i),Y=J?[parseInt(J[1],10),parseInt(J[2]||0,10),parseInt(J[3]||0,10)]:[];return{deviceType:H?"phone":"tablet",platform:"android",version:Y,grade:Y.length>1&&(Y[0]<4||4===Y[0]&&Y[1]<4)?"B":"A"}}},ee=[z.appleTouchDevice,z.android,z.generic],f=new class L{constructor(j){this._window=j?.window||G,this._realDevice=this._getDevice(),this._currentDevice=void 0,this._currentOrientation=void 0,this._eventsStrategy=new p.h(this),this.changed=(0,v.A)(),(0,m.Vd)()&&(M.A.add(this._recalculateOrientation.bind(this)),N.A.add(this._recalculateOrientation.bind(this)))}current(j){if(j)return this._currentDevice=this._getDevice(j),this._forced=!0,void this.changed.fire();if(!this._currentDevice){j=void 0;try{j=this._getDeviceOrNameFromWindowScope()}catch{j=this._getDeviceNameFromSessionStorage()}finally{j||(j=this._getDeviceNameFromSessionStorage()),j&&(this._forced=!0)}this._currentDevice=this._getDevice(j)}return this._currentDevice}real(j){return(0,x.X)({},this._realDevice)}orientation(){return this._currentOrientation}isForced(){return this._forced}isRippleEmulator(){return!!this._window.tinyHippos}_getCssClasses(j){var fe=[],H=this._realDevice;return(j=j||this.current()).deviceType&&(fe.push("dx-device-".concat(j.deviceType)),"desktop"!==j.deviceType&&fe.push("dx-device-mobile")),fe.push("dx-device-".concat(H.platform)),H.version&&H.version.length&&fe.push("dx-device-".concat(H.platform,"-").concat(H.version[0])),this.isSimulator()&&fe.push("dx-simulator"),(0,U.A)().rtlEnabled&&fe.push("dx-rtl"),fe}
1attachCssClasses(j,fe){this._deviceClasses=this._getCssClasses(fe).join(" "),(0,c.A)(j).addClass(this._deviceClasses)}detachCssClasses(j){(0,c.A)(j).removeClass(this._deviceClasses)}isSimulator(){try{return this._isSimulator||(0,m.Vd)()&&this._window.top!==this._window.self&&this._window.top["dx-force-device"]||this.isRippleEmulator()}catch{return!1}}forceSimulator(){this._isSimulator=!0}_getDevice(j){if("genericPhone"===j&&(j={deviceType:"phone",platform:"generic",generic:!0}),(0,_.Qd)(j))return this._fromConfig(j);var fe;if(j){if(!(fe=A[j]))throw b.A.Error("E0005")}else fe=(0,m.w3)().userAgent;return this._fromUA(fe)}_getDeviceOrNameFromWindowScope(){var j;return(0,m.Vd)()&&(this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"])&&(j=this._window.top["dx-force-device-object"]||this._window.top["dx-force-device"]),j}_getDeviceNameFromSessionStorage(){var j=(0,P.s)();if(j){var fe=j.getItem("dx-force-device");try{return JSON.parse(fe)}catch{return fe}}}_fromConfig(j){var fe=(0,x.X)({},K,this._currentDevice,j);return(0,x.X)(fe,{phone:"phone"===fe.deviceType,tablet:"tablet"===fe.deviceType,android:"android"===fe.platform,ios:"ios"===fe.platform,generic:"generic"===fe.platform})}_fromUA(j){for(var fe=0;fe<ee.length;fe+=1){var J=(0,ee[fe])(j);if(J)return this._fromConfig(J)}return K}_changeOrientation(){var j=(0,c.A)(this._window),fe=(0,t.Oq)(j)>(0,t.RG)(j)?"portrait":"landscape";this._currentOrientation!==fe&&(this._currentOrientation=fe,this._eventsStrategy.fireEvent("orientationChanged",[{orientation:fe}]))}_recalculateOrientation(){var j=(0,t.RG)(this._window);this._currentWidth!==j&&(this._currentWidth=j,this._changeOrientation())}on(j,fe){return this._eventsStrategy.on(j,fe),this}off(j,fe){return this._eventsStrategy.off(j,fe),this}},D=(0,g.Uq)();D&&f.attachCssClasses(D),g.WV.add((S,j)=>{f.detachCssClasses(j),f.attachCssClasses(S)});const R=f},7669:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>N});var t=a(7041),c=a(5042),m=a(4852),M={querySelectorAll:(p,P)=>p.querySelectorAll(P),elementMatches(p,P){return(p.matches||p.matchesSelector||p.mozMatchesSelector||p.msMatchesSelector||p.oMatchesSelector||p.webkitMatchesSelector||(U=>{var G=p.document||p.ownerDocument;if(!G)return!1;for(var A=this.querySelectorAll(G,U),K=0;K<A.length;K++)if(A[K]===p)return!0})).call(p,P)},createElement(p,P){return(P=P||this._document).createElement(p)},createElementNS(p,P,g){return(g=g||this._document).createElementNS(p,P)},createTextNode(p,P){return(P=P||this._document).createTextNode(p)},createAttribute(p,P){return(P=P||this._document).createAttribute(p)},isNode:p=>p&&"object"==typeof p&&"nodeType"in p&&"nodeName"in p,isElementNode:p=>p&&1===p.nodeType,isTextNode:p=>p&&3===p.nodeType,isDocument:p=>p&&9===p.nodeType,isDocumentFragment:p=>p&&11===p.nodeType,removeElement(p){var P=p&&p.parentNode;P&&P.removeChild(p)},insertElement(p,P,g){p&&P&&p!==P&&(g?p.insertBefore(P,g):p.appendChild(P))},getAttribute:(p,P)=>p.getAttribute(P),setAttribute(p,P,g){"style"===P?p.style.cssText=g:p.setAttribute(P,g)},removeAttribute(p,P){p.removeAttribute(P)},setProperty(p,P,g){p[P]=g},setText(p,P){p&&(p.textContent=P)},setClass(p,P,g){1===p.nodeType&&P&&(g?p.classList.add(P):p.classList.remove(P))},setStyle(p,P,g){p.style[P]=g||""},_document:typeof document>"u"?void 0:document,getDocument(){return this._document},getActiveElement(p){return this.getRootNode(p).activeElement},getRootNode(p){var P,g;return null!==(P=null==p||null===(g=p.getRootNode)||void 0===g?void 0:g.call(p))&&void 0!==P?P:this._document},getBody(){return this._document.body},createDocumentFragment(){return this._document.createDocumentFragment()},getDocumentElement(){return this._document.documentElement},getLocation(){return this._document.location},getSelection(){return this._document.selection},getReadyState(){return this._document.readyState},getHead(){return this._document.head},hasDocumentProperty(p){return p in this._document},listen:(p,P,g,U)=>p&&"addEventListener"in p?(p.addEventListener(P,g,U),()=>{p.removeEventListener(P,g)}):c.lQ,elementsFromPoint(p,P,g){var U=this.getRootNode(g);return U.host?(0,m.c)(p,P,U):U.elementsFromPoint(p,P)}};const N=(0,t.A)(M)}
1,8365:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>wt});var t=a(4292),c=a(3771),m=a(7550),x=a(348),_=a(7951),b=a(8168),v=a(2463),M=a(5042),N=a(9407),p=a(7669),U=a(1557),G={},A={};class K{constructor(ot,Vt){this._options=ot,this._optionsByReference=Vt}_setByReference(ot,Vt){for(var rn in(0,_.X)(!0,ot,Vt),this._optionsByReference)Object.prototype.hasOwnProperty.call(Vt,rn)&&(ot[rn]=Vt[rn])}_setPreparedValue(ot,Vt,rn,wn){var jn=this.get(this._options,ot,!1);if(!function(Qe,ot){return Qe=(0,N.ao)(Qe,!0),ot=(0,N.ao)(ot,!0),Qe&&ot&&(0,v.Kb)(Qe)&&(0,v.Kb)(ot)?ot.is(Qe):!(Qe==Qe||ot==ot)||(0===Qe&&0===ot?function(Qe,ot){return 1/Qe==1/ot}(Qe,ot):!(null!==Qe&&"object"==typeof Qe&&!p.A.isElementNode(Qe))&&Qe===ot)}(jn,Vt)){var Pt=(0,N.u7)(ot);!wn&&this._changingCallback(ot,jn,Vt),A[ot]=A[ot]||(0,N.vL)(ot),A[ot](this._options,Vt,{functionsAsIs:!0,merge:(0,v.O9)(rn)?rn:!this._optionsByReference[ot],unwrapObservables:Pt.length>1&&!!this._optionsByReference[Pt[0]]}),!wn&&this._changedCallback(ot,Vt,jn)}}_prepareRelevantNames(ot,Vt,rn,wn){if((0,v.Qd)(rn))for(var jn in rn)this._prepareRelevantNames(ot,"".concat(Vt,".").concat(jn),rn[jn]);this._namePreparedCallbacks(ot,Vt,rn,wn)}get(){var ot=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._options,Vt=arguments.length>1?arguments[1]:void 0,rn=arguments.length>2?arguments[2]:void 0;return G[Vt]=G[Vt]||(0,N.Hz)(Vt),G[Vt](ot,{functionsAsIs:!0,unwrapObservables:rn})}set(ot,Vt,rn,wn){for(var jn in ot=(0,U.a5)(ot,Vt))this._prepareRelevantNames(ot,jn,ot[jn],wn);for(var Pt in ot)this._setPreparedValue(Pt,ot[Pt],rn,wn)}onRelevantNamesPrepared(ot){this._namePreparedCallbacks=ot}onChanging(ot){this._changingCallback=ot}onChanged(ot){this._changedCallback=ot}dispose(){this._changingCallback=M.lQ,this._changedCallback=M.lQ}}class z{constructor(ot,Vt,rn,wn){this._default=Vt,this._deprecated=wn,this._deprecatedNames=[],this._initDeprecatedNames(),this._optionManager=new K(ot,rn),this._optionManager.onRelevantNamesPrepared((jn,Pt,Lt,Jt)=>this._setRelevantNames(jn,Pt,Lt,Jt)),this._cachedOptions={},this._rules=[]}set _initial(ot){this._initialOptions=ot}get _initial(){if(!this._initialOptions){var ot=this._getByRules(this.silent("defaultOptionsRules"));this._initialOptions=this._default,this._optionManager._setByReference(this._initialOptions,ot)}return this._initialOptions}_initDeprecatedNames(){for(var ot in this._deprecated)this._deprecatedNames.push(ot)}_getByRules(ot){return ot=Array.isArray(ot)?this._rules.concat(ot):this._rules,(0,U.a6)(ot)}_notifyDeprecated(ot){var Vt=this._deprecated[ot];Vt&&this._deprecatedCallback(ot,Vt)}_setRelevantNames(ot,Vt,rn,wn){if(Vt){var jn=this._normalizeName(Vt,wn);jn&&jn!==Vt&&(this._setField(ot,jn,rn),this._clearField(ot,Vt))}}_setField(ot,Vt,rn){var wn="",jn=null;do{wn=wn?".".concat(wn):"",wn=(0,U.MO)(Vt)+wn,jn=(Vt=(0,U.E1)(Vt))?this._optionManager.get(ot,Vt,!1):ot}while(!jn);jn[wn]=rn}_clearField(ot,Vt){delete ot[Vt];var rn=(0,U.E1)(Vt),wn=rn?this._optionManager.get(ot,rn,!1):ot;wn&&delete wn[(0,U.MO)(Vt)]}_normalizeName(ot,Vt){if(this._deprecatedNames.length&&ot)for(var rn=0;rn<this._deprecatedNames.length;rn++)if(this._deprecatedNames[rn]===ot){var wn=this._deprecated[ot];if(wn)return!Vt&&this._notifyDeprecated(ot),wn.alias||ot}return ot}addRules(ot){this._rules=ot.concat(this._rules)}applyRules(ot){var Vt=this._getByRules(ot);this.silent(Vt)}dispose(){this._deprecatedCallback=M.lQ,this._startChangeCallback=M.lQ,this._endChangeCallback=M.lQ,this._optionManager.dispose()}onChanging(ot){this._optionManager.onChanging(ot)}onChanged(ot){this._optionManager.onChanged(ot)}onDeprecated(ot){this._deprecatedCallback=ot}onStartChange(ot){this._startChangeCallback=ot}onEndChange(ot){this._endChangeCallback=ot}isInitial(ot){var Vt=this.silent(ot),rn=this.initial(ot);return(0,v.Tn)(Vt)&&(0,v.Tn)(rn)?Vt.toString()===rn.toString():(0,M.RL)(Vt,rn)}initial(ot){return(0,U.Ov)(this._initial,ot)}option(ot,Vt){if(arguments.length<2&&"object"!==(0,v.NW)(ot))return this._optionManager.get(void 0,this._normalizeName(ot));this._startChangeCallback();try{this._optionManager.set(ot,Vt)}finally{this._endChangeCallback()}}silent(ot,Vt){if(arguments.length<2&&"object"!==(0,v.NW)(ot))return this._optionManager.get(void 0,ot,void 0,!0);this._optionManager.set(ot,Vt,void 0,!0)}
1reset(ot){if(ot){var rn=(0,N.u7)(ot).reduce((jn,Pt)=>jn?jn[Pt]:this.initial(Pt),null),wn=(0,v.Gv)(rn)?(0,b.A)({},rn):rn;this._optionManager.set(ot,wn,!1)}}getAliasesByName(ot){return Object.keys(this._deprecated).filter(Vt=>ot===this._deprecated[Vt].alias)}isDeprecated(ot){return Object.prototype.hasOwnProperty.call(this._deprecated,ot)}cache(ot,Vt){if(arguments.length<2)return this._cachedOptions[ot];this._cachedOptions[ot]=(0,_.X)(this._cachedOptions[ot],Vt)}}var ee=a(6221),L=a(5135),f=a(4423),D=a(7278),R=a(9690),S=a(2984);class j{constructor(){this._postponedOperations={}}add(ot,Vt,rn){if(ot in this._postponedOperations)rn&&this._postponedOperations[ot].promises.push(rn);else{var wn=new S.cY;this._postponedOperations[ot]={fn:Vt,completePromise:wn,promises:rn?[rn]:[]}}return this._postponedOperations[ot].completePromise.promise()}callPostponedOperations(){for(var ot in this._postponedOperations){var Vt=this._postponedOperations[ot];(0,v.O9)(Vt)&&(Vt.promises&&Vt.promises.length?(0,S.z7)(...Vt.promises).done(Vt.fn).then(Vt.completePromise.resolve):Vt.fn().done(Vt.completePromise.resolve))}this._postponedOperations={}}}var fe=Qe=>Qe.charAt(2).toLowerCase()+Qe.substr(3),H=Qe=>0===Qe.indexOf("_",0),J=ee.A.inherit({_setDeprecatedOptions(){this._deprecatedOptions={}},_getDeprecatedOptions(){return this._deprecatedOptions},_getDefaultOptions:()=>({onInitialized:null,onOptionChanged:null,onDisposing:null,defaultOptionsRules:null}),_defaultOptionsRules:()=>[],_setOptionsByDevice(Qe){this._options.applyRules(Qe)},_convertRulesToOptions:Qe=>(0,U.a6)(Qe),_isInitialOptionValue(Qe){return this._options.isInitial(Qe)},_setOptionsByReference(){this._optionsByReference={}},_getOptionsByReference(){return this._optionsByReference},ctor(){var Qe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{_optionChangedCallbacks:ot,_disposingCallbacks:Vt}=Qe;this.NAME=(0,R.UU)(this.constructor),this._eventsStrategy=D.h.create(this,Qe.eventsStrategy),this._updateLockCount=0,this._optionChangedCallbacks=ot||(0,f.A)(),this._disposingCallbacks=Vt||(0,f.A)(),this.postponedOperations=new j,this._createOptions(Qe)},_createOptions(Qe){this.beginUpdate();try{this._setOptionsByReference(),this._setDeprecatedOptions(),this._options=new z(this._getDefaultOptions(),this._getDefaultOptions(),this._getOptionsByReference(),this._getDeprecatedOptions()),this._options.onChanging((ot,Vt,rn)=>this._initialized&&this._optionChanging(ot,Vt,rn)),this._options.onDeprecated((ot,Vt)=>this._logDeprecatedOptionWarning(ot,Vt)),this._options.onChanged((ot,Vt,rn)=>this._notifyOptionChanged(ot,Vt,rn)),this._options.onStartChange(()=>this.beginUpdate()),this._options.onEndChange(()=>this.endUpdate()),this._options.addRules(this._defaultOptionsRules()),Qe&&Qe.onInitializing&&Qe.onInitializing.apply(this,[Qe]),this._setOptionsByDevice(Qe.defaultOptionsRules),this._initOptions(Qe)}finally{this.endUpdate()}},_initOptions(Qe){this.option(Qe)},_init(){this._createOptionChangedAction(),this.on("disposing",Qe=>{this._disposingCallbacks.fireWith(this,[Qe])})},_logDeprecatedOptionWarning(Qe,ot){var Vt=ot.message||"Use the '".concat(ot.alias,"' option instead");m.A.log("W0001",this.NAME,Qe,ot.since,Vt)},_logDeprecatedComponentWarning(Qe,ot){m.A.log("W0000",this.NAME,Qe,"Use the '".concat(ot,"' widget instead"))},_createOptionChangedAction(){this._optionChangedAction=this._createActionByOption("onOptionChanged",{excludeValidators:["disabled","readOnly"]})},_createDisposingAction(){this._disposingAction=this._createActionByOption("onDisposing",{excludeValidators:["disabled","readOnly"]})},_optionChanged(Qe){switch(Qe.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:M.lQ,_notifyOptionChanged(Qe,ot,Vt){if(this._initialized)for(var rn=[Qe].concat(this._options.getAliasesByName(Qe)),wn=0;wn<rn.length;wn++){var jn=rn[wn],Pt={name:(0,N.u7)(jn)[0],fullName:jn,value:ot,previousValue:Vt};H(jn)||(this._optionChangedCallbacks.fireWith(this,[(0,_.X)(this._defaultActionArgs(),Pt)]),this._optionChangedAction((0,_.X)({},Pt))),!this._disposed&&this._cancelOptionChange!==jn&&this._optionChanged(Pt)}},initialOption(Qe){return this._options.initial(Qe)},_defaultActionConfig(){return{context:this,component:this}},_defaultActionArgs(){return{component:this}},_createAction(Qe,ot){var Vt;return rn=>((0,v.O9)(rn)||(rn={}),(0,v.Qd)(rn)||(rn={actionValue:rn}),(Vt=Vt||new L.A(Qe,(0,_.X)({},ot,this._defaultActionConfig()))).execute.call(Vt,(0,_.X)(rn,this._defaultActionArgs())))},_createActionByOption(Qe,ot){var rn,wn,jn,Vt=this;ot=(0,_.X)({},ot);var Pt=function(){if(!wn){if(ot=ot||{},"string"!=typeof Qe)throw m.A.Error("E0008");0===Qe.indexOf("on")&&(wn=fe(Qe)),jn=Vt.option(Qe)}if(rn||jn||ot.beforeExecute||ot.afterExecute||Vt._eventsStrategy.hasEvent(wn)){if(!rn){var Jt=ot.beforeExecute;ot.beforeExecute=function(){for(var Ht=arguments.length,d=new Array(Ht),O=0;O<Ht;O++)d[O]=arguments[O];Jt&&Jt.apply(Vt,d),Vt._eventsStrategy.fireEvent(wn,d[0].args)},rn=Vt._createAction(jn,ot)}for(var pn=arguments.length,Dn=new Array(pn),zn=0;zn<pn;zn++)Dn[zn]=arguments[zn];return(0,c.A)().wrapActionsBeforeExecute?((Vt.option("beforeActionExecute")||M.lQ)(Vt,rn,ot)||rn).apply(Vt,Dn):rn.apply(Vt,Dn)}};return(0,c.A)().wrapActionsBeforeExecute?Pt:(this.option("onActionCreated")||M.lQ)(this,Pt,ot)||Pt},on(Qe,ot){return this._eventsStrategy.on(Qe,ot),this},off(Qe,ot){return this._eventsStrategy.off(Qe,ot),this},hasActionSubscription:function(Qe){return!!this._options.silent(Qe)||this._eventsStrategy.hasEvent(fe(Qe))},isOptionDeprecated(Qe){return this._options.isDeprecated(Qe)},_setOptionWithoutOptionChange(Qe,ot){this._cancelOptionChange=Qe,this.option(Qe,ot),this._cancelOptionChange=!1},_getOptionValue(Qe,ot){var Vt=this.option(Qe);return(0,v.Tn)(Vt)?Vt.bind(ot)():Vt},option(){return this._options.option(...arguments)},resetOption(Qe){this.beginUpdate(),this._options.reset(Qe),this.endUpdate()}}),Y=a(3798),W=a(7465),re=a(3468),ue=new Y.l(Qe=>{var{model:ot,parent:Vt}=Qe,rn=ot.widget;if(!rn)return(0,t.A)();var wn=(0,t.A)("<div>"),jn=ot.options||{};return Vt?Vt._createComponent(wn,rn,jn):wn[rn](jn),wn});class ce{constructor(ot,Vt){this._tempTemplates=[],this._defaultTemplates={},this._anonymousTemplateName=Vt||"template",this._createElement=ot||re.SN,this._createTemplateIfNeeded=this._createTemplateIfNeeded.bind(this)}static createDefaultOptions(){return{integrationOptions:{watchMethod:function(ot,Vt){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipImmediate||Vt(ot()),M.lQ},templates:{"dx-polymorph-widget":ue},useDeferUpdateForTemplates:!0}}}get anonymousTemplateName(){return this._anonymousTemplateName}addDefaultTemplates(ot){this._defaultTemplates=(0,_.X)({},this._defaultTemplates,ot)}
1dispose(){this._tempTemplates.forEach(ot=>{ot.template.dispose&&ot.template.dispose()}),this._tempTemplates=[]}extractTemplates(ot){return{templates:this._extractTemplates(ot),anonymousTemplateMeta:this._extractAnonymousTemplate(ot)}}_extractTemplates(ot){var Vt=(0,re.zD)(ot,"dxTemplate"),rn=(0,re.pK)(Vt);return Vt.forEach(wn=>{var{element:jn,options:{name:Pt}}=wn;jn===rn[Pt]?(0,t.A)(jn).addClass("dx-template-wrapper").detach():(0,t.A)(jn).remove()}),Object.keys(rn).map(wn=>({name:wn,template:this._createTemplate(rn[wn])}))}_extractAnonymousTemplate(ot){var Vt=ot.contents().detach();return Vt.filter((wn,jn)=>{var Pt=3===jn.nodeType,Lt=(0,t.A)(jn).text().trim().length<1;return!(Pt&&Lt)}).length>0?{template:this._createTemplate(Vt),name:this._anonymousTemplateName}:{}}_createTemplateIfNeeded(ot){var Vt=this._tempTemplates.filter(wn=>wn.source===(0,re.AY)(ot))[0];if(Vt)return Vt.template;var rn=this._createTemplate(ot);return this._tempTemplates.push({template:rn,source:(0,re.AY)(ot)}),rn}_createTemplate(ot){return this._createElement((0,re.I3)(ot))}getTemplate(ot,Vt,rn,wn){var{isAsyncTemplate:jn,skipTemplates:Pt}=rn;return(0,v.Tn)(ot)?new Y.l(Lt=>{var Jt=ot.apply(wn,(0,re.jJ)(Lt));if(!(0,v.O9)(Jt))return new W.A;var pn=!1,Dn=(0,re.Xl)(Jt,Dt=>Dt.nodeType||(0,v.Kb)(Dt)&&!(0,t.A)(Dt).is("script")?new Y.l(()=>Dt):(pn=!0,this._createTemplate(Dt)),Vt,jn,Pt,this._defaultTemplates),zn=Dn.render(Lt);return pn&&Dn.dispose&&Dn.dispose(),zn}):(0,re.Xl)(ot,this._createTemplateIfNeeded,Vt,jn,Pt,this._defaultTemplates)}}var _e=a(4852),ne=a(8332),Z=a(2101),ve=a(181),ke=a(4435),Ne=a(8257),Ie=a(1721);function De(Qe){return new Uint8Array(atob(Qe).split("").map(ot=>ot.charCodeAt(0)))}function Ee(Qe,ot){return(Qe<<ot|Qe>>>32-ot)>>>0}function He(Qe,ot){var Vt=new Uint8Array(Qe.length+ot.length);return Vt.set(Qe,0),Vt.set(ot,Qe.length),Vt}var rt,Qe,Ot={e:65537,n:new Uint8Array([200,219,153,203,140,7,228,253,193,243,62,137,139,60,68,242,48,142,113,88,185,235,253,105,80,74,32,170,96,74,111,250,7,205,154,3,146,115,153,53,45,132,123,56,61,208,184,201,63,24,109,223,0,179,169,102,139,224,73,233,45,173,138,66,98,88,69,76,177,111,113,218,192,33,101,152,25,134,34,173,32,82,230,44,247,200,253,170,192,246,30,12,96,205,100,249,181,93,0,231])},un="3021300906052b0e03021a05000414";function ln(Qe){var ot=(8*Ot.n.length+6)/8,Vt=He(function et(Qe){var ot,Vt;return new Uint8Array(null!==(Vt=null===(ot=Qe.match(/.{1,2}/g))||void 0===ot?void 0:ot.map(rn=>parseInt(rn,16)))&&void 0!==Vt?Vt:[])}(un),Qe);if(Vt.length+10>ot)throw Error("Key is too short for SHA1 signing algorithm");var rn=new Uint8Array(ot-Vt.length);return rn.fill(255,0,rn.length-1),rn[0]=0,rn[1]=1,rn[rn.length-1]=0,He(rn,Vt)}function ct(Qe){for(var ot=function Zt(Qe){var ot=new Uint8Array(Qe.length+1);ot.set(function yt(Qe){for(var ot=new Uint8Array(Qe.length),Vt=0;Vt<Qe.length;Vt+=1)ot[Vt]=255&Qe.charCodeAt(Vt);return ot}(Qe)),ot[ot.length-1]=128;var Vt=function Je(Qe){for(var ot=new Uint32Array(1+(Qe.length-1>>2)),Vt=0;Vt<Qe.length;Vt+=1)ot[Vt>>2]|=Qe[Vt]<<8*(3-Vt%4);return ot}(new Uint8Array(ot)),rn=new Uint32Array(16*Math.ceil((Vt.length+2)/16));return rn.set(Vt,0),rn[rn.length-1]=8*(ot.length-1),rn}(Qe),Vt=new Uint32Array([1732584193,4023233417,2562383102,271733878,3285377520]),rn=0;rn<ot.length;rn+=16){for(var wn=new Uint32Array(80),jn=0;jn<16;jn+=1)wn[jn]=ot[rn+jn];for(var Pt=16;Pt<80;Pt+=1){var Lt=wn[Pt-3]^wn[Pt-8]^wn[Pt-14]^wn[Pt-16];wn[Pt]=Lt<<1|Lt>>>31}for(var Jt=Vt[0],pn=Vt[1],Dn=Vt[2],zn=Vt[3],Dt=Vt[4],it=0;it<80;it+=1){var[Ht,d]=it<20?[pn&Dn|~pn&zn,1518500249]:it<40?[pn^Dn^zn,1859775393]:it<60?[pn&Dn|pn&zn|Dn&zn,2400959708]:[pn^Dn^zn,3395469782],O=Ee(Jt,5)+Ht+Dt+d+wn[it];Dt=zn,zn=Dn,Dn=Ee(pn,30),pn=Jt,Jt=O}Vt[0]+=Jt,Vt[1]+=pn,Vt[2]+=Dn,Vt[3]+=zn,Vt[4]+=Dt}return function dt(Qe){for(var ot=new Uint8Array(4*Qe.length),Vt=0;Vt<ot.length;Vt+=1)ot[Vt]=Qe[Vt>>2]>>>8*(3-Vt%4);return ot}(Vt)}(Qe=rt||(rt={})).corrupted="corrupted",Qe.verified="verified",Qe.internal="internal";var ze={kind:rt.corrupted,error:"general"},pt={kind:rt.corrupted,error:"verification"},Ze={kind:rt.corrupted,error:"decoding"},X={kind:rt.corrupted,error:"deserialization"},Ve={kind:rt.corrupted,error:"payload"},st={kind:rt.corrupted,error:"version"},at=!1;
1function Te(Qe){var{licenseKey:ot,version:Vt}=Qe,rn=!1;try{var[wn,jn,Pt]=Vt.split(".").map(Number);if(rn=isNaN(Pt)||Pt<3,!ot)return{preview:rn,error:"W0019"};var Lt=function pe(Qe){if(void 0===Qe)return ze;var ot=Qe.split(".");if(2!==ot.length||0===ot[0].length||0===ot[1].length)return ze;if(!function V(Qe){var{text:ot,signature:Vt}=Qe;return function Ln(Qe){try{var ot=BigInt(0),Vt=BigInt(1),rn=BigInt(8),wn=Dn=>Dn.reduce((zn,Dt)=>(zn<<rn)+BigInt(Dt),ot),jn=wn(Qe.actual);return((Dn,zn,Dt)=>{for(var it=Vt,Ht=Dn,d=zn;d;)d&Vt&&(it=it*Ht%Dt),Ht=Ht*Ht%Dt,d>>=Vt;return it})(wn(Qe.signature),BigInt(Qe.key.e),wn(Qe.key.n))===jn}catch{return!0}}({key:Ot,signature:De(Vt),actual:ln(ct(ot))})}({text:ot[0],signature:ot[1]}))return pt;var Vt="";try{Vt=atob(ot[0])}catch{return Ze}var rn={};try{rn=JSON.parse(Vt)}catch{return X}var{customerId:wn,maxVersionAllowed:jn,format:Pt,internalUsageId:Lt}=rn,Jt=function(Qe,ot){var Vt={};for(var rn in Qe)Object.prototype.hasOwnProperty.call(Qe,rn)&&ot.indexOf(rn)<0&&(Vt[rn]=Qe[rn]);if(null!=Qe&&"function"==typeof Object.getOwnPropertySymbols){var wn=0;for(rn=Object.getOwnPropertySymbols(Qe);wn<rn.length;
1wn++)ot.indexOf(rn[wn])<0&&Object.prototype.propertyIsEnumerable.call(Qe,rn[wn])&&(Vt[rn[wn]]=Qe[rn[wn]])}return Vt}(rn,["customerId","maxVersionAllowed","format","internalUsageId"]);return void 0!==Lt?{kind:rt.internal,internalUsageId:Lt}:void 0===wn||void 0===jn||void 0===Pt?Ve:1!==Pt?st:{kind:rt.verified,payload:(0,b.A)({customerId:wn,maxVersionAllowed:jn},Jt)}}(ot);return Lt.kind===rt.corrupted?{preview:rn,error:"W0021"}:Lt.kind===rt.internal?{preview:rn,internal:!0,error:"5rAVv9FUI0-DvPTlA2YOQA"===Lt.internalUsageId?void 0:"W0020"}:wn&&jn?10*wn+jn>Lt.payload.maxVersionAllowed?{preview:rn,error:"W0020"}:{preview:rn,error:void 0}:{preview:rn,error:"W0021"}}catch{return{preview:rn,error:"W0021"}}}function At(){return at}const Bt_validateLicense=function ft(Qe){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ie.r;if(!at){at=!0;var{preview:Vt,internal:rn,error:wn}=Te({licenseKey:Qe,version:ot});if(wn)return void m.A.log(Vt?"W0022":wn);Vt&&!rn&&m.A.log("W0022")}};var{abstract:Ut}=J,zt=J.inherit({_getDefaultOptions(){return(0,_.X)(this.callBase(),{width:void 0,height:void 0,rtlEnabled:(0,c.A)().rtlEnabled,elementAttr:{},disabled:!1,integrationOptions:{}},this._useTemplates()?ce.createDefaultOptions():{})},ctor(Qe,ot){this._customClass=null,this._createElement(Qe),(0,R.UK)(this._$element,this,this._dispose),this.callBase(ot);var Vt=At();Bt_validateLicense((0,c.A)().licenseKey),!Vt&&At()&&(0,c.A)({licenseKey:""})},_createElement(Qe){this._$element=(0,t.A)(Qe)},_getSynchronizableOptionsForCreateComponent:()=>["rtlEnabled","disabled","templatesRenderAsynchronously"],_checkFunctionValueDeprecation:function(Qe){this.option("_ignoreFunctionValueDeprecation")||Qe.forEach(ot=>{(0,v.Tn)(this.option(ot))&&m.A.log("W0017",ot)})},_visibilityChanged:Ut,_dimensionChanged:Ut,_init(){this.callBase(),this._checkFunctionValueDeprecation(["width","height","maxHeight","maxWidth","minHeight","minWidth","popupHeight","popupWidth"]),this._attachWindowResizeCallback(),this._initTemplateManager()},_setOptionsByDevice(Qe){this.callBase([].concat(this.constructor._classCustomRules||[],Qe||[]))},_isInitialOptionValue(Qe){return!(this.constructor._classCustomRules&&Object.prototype.hasOwnProperty.call(this._convertRulesToOptions(this.constructor._classCustomRules),Qe))&&this.callBase(Qe)},_attachWindowResizeCallback(){if(this._isDimensionChangeSupported()){var Qe=this._windowResizeCallBack=this._dimensionChanged.bind(this);x.A.add(Qe)}},_isDimensionChangeSupported(){return this._dimensionChanged!==Ut},_renderComponent(){this._initMarkup(),(0,ke.Vd)()&&this._render()},_initMarkup(){var{rtlEnabled:Qe}=this.option()||{};this._renderElementAttributes(),this._toggleRTLDirection(Qe),this._renderVisibilityChange(),this._renderDimensions()},_render(){this._attachVisibilityChangeHandlers(),(0,_e.m)(this.$element())},_renderElementAttributes(){var{elementAttr:Qe}=this.option()||{},ot=(0,_.X)({},Qe),Vt=ot.class;delete ot.class,this.$element().attr(ot).removeClass(this._customClass).addClass(Vt),this._customClass=Vt},_renderVisibilityChange(){this._isDimensionChangeSupported()&&this._attachDimensionChangeHandlers(),this._isVisibilityChangeSupported()&&this.$element().addClass("dx-visibility-change-handler")},_renderDimensions(){var Qe=this.$element(),ot=Qe.get(0),Vt=this._getOptionValue("width",ot),rn=this._getOptionValue("height",ot);this._isCssUpdateRequired(ot,rn,Vt)&&Qe.css({width:null===Vt?"":Vt,height:null===rn?"":rn})},_isCssUpdateRequired:(Qe,ot,Vt)=>!!((0,v.O9)(Vt)||(0,v.O9)(ot)||Qe.style.width||Qe.style.height),_attachDimensionChangeHandlers(){var Qe=this.$element(),ot="".concat(this.NAME,"VisibilityChange");Ne.XR.off(Qe,{namespace:ot}),Ne.XR.on(Qe,()=>this._dimensionChanged(),{namespace:ot})},_attachVisibilityChangeHandlers(){if(this._isVisibilityChangeSupported()){var Qe=this.$element(),ot="".concat(this.NAME,"VisibilityChange");this._isHidden=!this._isVisible(),Ne.XD.off(Qe,{namespace:ot}),Ne.XD.on(Qe,()=>this._checkVisibilityChanged("shown"),()=>this._checkVisibilityChanged("hiding"),{namespace:ot})}},_isVisible(){return this.$element().is(":visible")},_checkVisibilityChanged(Qe){this._isVisible()&&("hiding"!==Qe||this._isHidden?"shown"===Qe&&this._isHidden&&(this._isHidden=!1,this._visibilityChanged(!0)):(this._visibilityChanged(!1),this._isHidden=!0))},_isVisibilityChangeSupported(){return this._visibilityChanged!==Ut&&(0,ke.Vd)()},_clean:M.lQ,_modelByElement(){var{modelByElement:Qe}=this.option(),ot=this.$element();return Qe?Qe(ot):void 0},_invalidate(){if(this._isUpdateAllowed())throw m.A.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()&&x.A.remove(this._windowResizeCallBack)},_toggleRTLDirection(Qe){this.$element().toggleClass("dx-rtl",Qe)},_createComponent(Qe,ot){var Vt=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},rn=(0,M.VM)(this._getSynchronizableOptionsForCreateComponent(),Dn=>!(Dn in Vt)),{integrationOptions:wn}=this.option(),{nestedComponentOptions:jn}=this.option(),Pt=(0,_.X)({integrationOptions:wn},(jn=jn||M.lQ)(this));
1rn.forEach(Dn=>Pt[Dn]=this.option(Dn)),this._extendConfig(Vt,Pt);var Lt=void 0;if((0,v.Kg)(ot)){var Jt=(0,t.A)(Qe)[ot](Vt);Lt=Jt[ot]("instance")}else Qe&&((Lt=ot.getInstance(Qe))?Lt.option(Vt):Lt=new ot(Qe,Vt));if(Lt){var pn=Dn=>{var{name:zn,value:Dt}=Dn;rn.includes(zn)&&Lt.option(zn,Dt)};this.on("optionChanged",pn),Lt.on("disposing",()=>this.off("optionChanged",pn))}return Lt},_extendConfig(Qe,ot){(0,Z.__)(ot,(Vt,rn)=>{!Object.prototype.hasOwnProperty.call(Qe,Vt)&&(Qe[Vt]=rn)})},_defaultActionConfig(){var Qe=this.$element(),ot=this._modelByElement(Qe);return(0,_.X)(this.callBase(),{context:ot})},_defaultActionArgs(){var Qe=this.$element(),ot=this._modelByElement(Qe),Vt=this.element();return(0,_.X)(this.callBase(),{element:Vt,model:ot})},_optionChanged(Qe){switch(Qe.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(Qe)}},_removeAttributes(Qe){for(var ot=Qe.attributes,Vt=ot.length-1;Vt>=0;Vt--){var rn=ot[Vt];if(rn){var{name:wn}=rn;(!wn.indexOf("aria-")||-1!==wn.indexOf("dx-")||"role"===wn||"style"===wn||"tabindex"===wn)&&Qe.removeAttribute(wn)}}},_removeClasses(Qe){Qe.className=Qe.className.split(" ").filter(ot=>0!==ot.lastIndexOf("dx-",0)).join(" ")},_updateDOMComponent(Qe){Qe?this._renderComponent():this._requireRefresh&&(this._requireRefresh=!1,this._refresh())},endUpdate(){var Qe=this._isInitializingRequired();this.callBase(),this._isUpdateAllowed()&&this._updateDOMComponent(Qe)},$element(){return this._$element},element(){var Qe=this.$element();return(0,ve.c)(Qe)},dispose(){var Qe=this.$element().get(0);(0,ne.Gf)(Qe,!0),Qe.textContent="",this._removeAttributes(Qe),this._removeClasses(Qe)},resetOption(Qe){if(this.callBase(Qe),"width"===Qe||"height"===Qe){var ot=this.initialOption(Qe);!(0,v.O9)(ot)&&this.$element().css(Qe,"")}},_getAnonymousTemplateName(){},_initTemplateManager(){if(!this._templateManager&&this._useTemplates()){var{integrationOptions:Qe={}}=this.option(),{createTemplate:ot}=Qe;this._templateManager=new ce(ot,this._getAnonymousTemplateName()),this._initTemplates()}},_initTemplates(){var{templates:Qe,anonymousTemplateMeta:ot}=this._templateManager.extractTemplates(this.$element()),Vt=this.option("integrationOptions.templates.".concat(ot.name));Qe.forEach(rn=>{var{name:wn,template:jn}=rn;this._options.silent("integrationOptions.templates.".concat(wn),jn)}),ot.name&&!Vt&&(this._options.silent("integrationOptions.templates.".concat(ot.name),ot.template),this._options.silent("_hasAnonymousTemplateContent",!0))},_getTemplateByOption(Qe){return this._getTemplate(this.option(Qe))},_getTemplate(Qe){var ot=this.option("integrationOptions.templates"),Vt=this.option("templatesRenderAsynchronously"),rn=this.option("integrationOptions.skipTemplates");return this._templateManager.getTemplate(Qe,ot,{isAsyncTemplate:Vt,skipTemplates:rn},this)},_saveTemplate(Qe,ot){this._setOptionWithoutOptionChange("integrationOptions.templates."+Qe,this._templateManager._createTemplate(ot))},_useTemplates:()=>!0});zt.getInstance=function(Qe){return(0,R.pV)((0,t.A)(Qe),this)},zt.defaultOptions=function(Qe){this._classCustomRules=this._classCustomRules||[],this._classCustomRules.push(Qe)};const wt=zt},181:(Nt,Le,a)=>{"use strict";a.d(Le,{c:()=>c});var t=function(x){return x&&x.get(0)};function c(x){return t(x)}},8332:(Nt,Le,a)=>{"use strict";a.d(Le,{Gf:()=>K,jf:()=>A,p:()=>P,z:()=>g});var _,t=a(7669),c=a(1269),m=a(7544),x=new WeakMap,b=new m.A,v=function(){};function P(){return _.data.apply(this,arguments)}function g(z){v=z}function A(z,ee){return _.removeData.call(this,z,ee)}function K(z,ee){if(t.A.isElementNode(z)){var L=z.getElementsByTagName("*");_.cleanData(L),ee&&_.cleanData([z])}}!function(z){b.fire(z);var ee=(_=z).cleanData;_.cleanData=function(L){return v(L),ee.call(this,L)}}({data:function(){var z=arguments[0],ee=arguments[1],L=arguments[2];if(z){var f=x.get(z);return f||x.set(z,f={}),void 0===ee?f:2===arguments.length?f[ee]:(f[ee]=L,L)}},removeData:function(z,ee){if(z)if(void 0===ee)x.delete(z);else{var L=x.get(z);L&&delete L[ee]}},cleanData:function(z){for(var ee=0;ee<z.length;ee++)c.A.off(z[ee]),x.delete(z[ee])}})},7550:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});const c=(0,a(6161).A)({E0001:"Method is not implemented",E0002:"Member name collision: {0}",E0003:"A class must be instantiated using the 'new' keyword",E0004:"The NAME property of the component is not specified",E0005:"Unknown device",E0006:"Unknown endpoint key is requested",E0007:"'Invalidate' method is called outside the update transaction",E0008
1:"Type of the option name is not appropriate to create an action",E0009:"Component '{0}' has not been initialized for an element",E0010:"Animation configuration with the '{0}' type requires '{1}' configuration as {2}",E0011:"Unknown animation type '{0}'",E0012:"jQuery version is too old. Please upgrade jQuery to 1.10.0 or later",E0013:"KnockoutJS version is too old. Please upgrade KnockoutJS to 2.3.0 or later",E0014:"The 'release' method shouldn't be called for an unlocked Lock object",E0015:"Queued task returned an unexpected result",E0017:"Event namespace is not defined",E0018:"DevExpress.ui.DevExpressPopup widget is required",E0020:"Template engine '{0}' is not supported",E0021:"Unknown theme is set: {0}",E0022:"LINK[rel=DevExpress-theme] tags must go before DevExpress included scripts",E0023:"Template name is not specified",E0024:"DevExtreme bundle already included",E0025:"Unexpected argument type",E0100:"Unknown validation type is detected",E0101:"Misconfigured range validation rule is detected",E0102:"Misconfigured comparison validation rule is detected",E0103:"validationCallback of an asynchronous rule should return a jQuery or a native promise",E0110:"Unknown validation group is detected",E0120:"Adapter for a DevExpressValidator component cannot be configured",E0121:"The 'customItem' parameter of the 'onCustomItemCreating' function is empty or contains invalid data. Assign a custom object or a Promise that is resolved after the item is created.",W0000:"'{0}' is deprecated in {1}. {2}",W0001:"{0} - '{1}' option is deprecated in {2}. {3}",W0002:"{0} - '{1}' method is deprecated in {2}. {3}",W0003:"{0} - '{1}' property is deprecated in {2}. {3}",W0004:"Timeout for theme loading is over: {0}",W0005:"'{0}' event is deprecated in {1}. {2}",W0006:"Invalid recurrence rule: '{0}'",W0007:"'{0}' Globalize culture is not defined",W0008:"Invalid view name: '{0}'",W0009:"Invalid time zone name: '{0}'",W0010:"{0} is deprecated in {1}. {2}",W0011:"Number parsing is invoked while the parser is not defined",W0012:"Date parsing is invoked while the parser is not defined",W0013:"'{0}' file is deprecated in {1}. {2}",W0014:"{0} - '{1}' type is deprecated in {2}. {3}",W0015:"Instead of returning a value from the '{0}' function, write it into the '{1}' field of the function's parameter.",W0016:'The "{0}" option does not accept the "{1}" value since v{2}. {3}.',W0017:'Setting the "{0}" property with a function is deprecated since v21.2',W0018:'Setting the "position" property with a function is deprecated since v21.2',W0019:"DevExtreme: Unable to Locate a Valid License Key.\n\nIf you are using a 30-day trial version of DevExtreme, you must uninstall all copies of DevExtreme once your 30-day trial period expires. For terms and conditions that govern use of DevExtreme UI components/libraries, please refer to the DevExtreme End User License Agreement: https://js.devexpress.com/EULAs/DevExtremeComplete.\n\nTo use DevExtreme in a commercial project, you must purchase a license. For pricing/licensing options, please visit: https://js.devexpress.com/Buy.\n\nIf you have licensing-related questions or need help with a purchase, please email [email protected].\n\n",W0020:"DevExtreme: License Key Has Expired.\n\nA mismatch exists between the license key used and the DevExtreme version referenced in this project.\n\nTo proceed, you can:\n\u2022 use a version of DevExtreme linked to your license key: https://www.devexpress.com/ClientCenter/DownloadManager\n\u2022 renew your DevExpress Subscription: https://www.devexpress.com/buy/renew (once you renew your subscription, you will be entitled to product updates and support service as defined in the DevExtreme End User License Agreement)\n\nIf you have licensing-related questions or need help with a renewal, please email [email protected].\n\n",W0021:"DevExtreme: License Key Verification Has Failed.\n\nTo verify your DevExtreme license, make certain to specify a correct key in the GlobalConfig. If you continue to encounter this error, please visit https://www.devexpress.com/ClientCenter/DownloadManager to obtain a valid license key.\n\nIf you have a valid license and this problem persists, please submit a support ticket via the DevExpress Support Center. We will be happy to follow-up: https://supportcenter.devexpress.com/ticket/create.\n\n",W0022:"DevExtreme: Pre-release softw
1are. Not suitable for commercial use.\n\nPre-release software may contain deficiencies and as such, should not be considered for use or integrated in any mission critical application.\n\n"})},7278:(Nt,Le,a)=>{"use strict";a.d(Le,{h:()=>x});var t=a(4423),c=a(2101),m=a(2463);class x{constructor(b){var v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._events={},this._owner=b,this._options=v}static create(b,v){return v?(0,m.Tn)(v)?v(b):v:new x(b)}hasEvent(b){var v=this._events[b];return!!v&&v.has()}fireEvent(b,v){var M=this._events[b];return M&&M.fireWith(this._owner,v),this._owner}on(b,v){if((0,m.Qd)(b))(0,c.__)(b,(p,P)=>{this.on(p,P)});else{var M=this._events[b];M||(M=(0,t.A)({syncStrategy:this._options.syncStrategy}),this._events[b]=M),(M.originalAdd||M.add).call(M,v)}}off(b,v){var M=this._events[b];M&&((0,m.Tn)(v)?M.remove(v):M.empty())}dispose(){(0,c.__)(this._events,(b,v)=>{v.empty()})}}},3992:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});const m=a(6221).A.inherit({ctor:function(x){x&&(x=String(x)),this._value=this._normalize(x||this._generate())},_normalize:function(x){for(x=x.replace(/[^a-f0-9]/gi,"").toLowerCase();x.length<32;)x+="0";return[x.substr(0,8),x.substr(8,4),x.substr(12,4),x.substr(16,4),x.substr(20,12)].join("-")},_generate:function(){for(var x="",_=0;_<32;_++)x+=Math.round(15*Math.random()).toString(16);return x},toString:function(){return this._value},valueOf:function(){return this._value},toJSON:function(){return this._value}})},207:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>_});var t=a(4435),c=a(7041),m=(0,t.zk)();const _=(0,c.A)({getXhr:function(){return new m.XMLHttpRequest}})},7544:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=a(2101),c=a(4423);class m{constructor(){this.memory=[],this.callbacks=(0,c.A)()}add(_){(0,t.__)(this.memory,(b,v)=>_.apply(_,v)),this.callbacks.add(_)}remove(_){this.callbacks.remove(_)}fire(){for(var _=arguments.length,b=new Array(_),v=0;v<_;v++)b[v]=arguments[v];this.memory.push(b),this.callbacks.fire.apply(this.callbacks,b)}}},1557:(Nt,Le,a)=>{"use strict";a.d(Le,{E1:()=>P,MO:()=>p,Ov:()=>g,a5:()=>M,a6:()=>v,gO:()=>U});var t=a(3862),c=a(2463),m=a(5042),x=a(7951),_=a(9407),b={},v=G=>{var A=t.A.current();return G.reduce((K,z)=>{var{device:ee,options:L}=z,f=ee||{};return((0,c.Tn)(f)?f(A):N(A,f))&&(0,x.X)(!0,K,L),K},{})},M=(G,A)=>"string"!=typeof G?G:{[G]:A},N=(G,A)=>(0,c.RI)(A)||(0,m.hm)(G,[A]).length>0,p=G=>G.substr(G.lastIndexOf(".")+1),P=G=>G.substr(0,G.lastIndexOf(".")),g=function(G,A){return b[A]=b[A]||(0,_.Hz)(A),b[A](G,{functionsAsIs:!0})},U=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]}},4292:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>L});var N,t=a(8332),c=a(7669),m=a(4435),x=a(2463),_=a(5918),b=a(186),v=a(1242),M=(0,m.zk)(),p=function(f,D){return f?"string"==typeof f?"body"===f?(this[0]=D?D.body:c.A.getBody(),this.length=1,this):(D=D||c.A.getDocument(),"<"===f[0]?(this[0]=c.A.createElement(f.slice(1,-1),D),this.length=1,this):([].push.apply(this,c.A.querySelectorAll(D,f)),this)):c.A.isNode(f)||(0,x.l6)(f)?(this[0]=f,this.length=1,this):Array.isArray(f)?([].push.apply(this,f),this):N(f.toArray?f.toArray():[f]):(this.length=0,this)};(N=function(f,D){return new p(f,D)}).fn={dxRenderer:!0};var P=function(f,D){for(var R=0;R<this.length;R++){var S=N(this[R]);S[f].apply(S,D)}return this},g=function(f,D,R){null!=R&&!1!==R?c.A.setAttribute(f,D,R):c.A.removeAttribute(f,D)};(p.prototype=N.fn).show=function(){return this.toggle(!0)},p.prototype.hide=function(){return this.toggle(!1)},p.prototype.toggle=function(f){return this[0]&&this.toggleClass("dx-state-invisible",!f),this},p.prototype.attr=function(f,D){if(this.length>1&&arguments.length>1)return P.call(this,"attr",arguments);if(!this[0])return(0,x.Gv)(f)||void 0!==D?this:void 0;if(!this[0].getAttribute)return this.prop(f,D);if("string"==typeof f&&1===arguments.length)return this[0].getAttribute(f)??void 0;if((0,x.Qd)(f))for(var S in f)this.attr(S,f[S]);else g(this[0],f,D);return this},p.prototype.removeAttr=function(f){return this[0]&&c.A.removeAttribute(this[0],f),this},p.prototype.prop=function(f,D){if(!this[0])return this;if("string"==typeof f&&1===arguments.length)return this[0][f];if((0,x.Qd)(f))for(var R in f)this.prop(R,f[R]);else c.A.setProperty(this[0],f,D);return this},p.prototype.addClass=function(f){return this.toggleClass(f,!0)},p.prototype.removeClass=function(f){return this.toggleClass(f,!1)},p.prototype.hasClass=function(f){if(!this[0]||void 0===this[0].className)return!1;for(var D=f.split(" "),R=0;R<D.length;R++)if(this[0].classList){if(this[0].classList.contains(D[R]))return!0}else if((((0,x.Kg)(this[0].className)?this[0].className:c.A.getAttribute(this[0],"class"))||"").split(" ").indexOf(D[R])>=0)return!0;return!1},p.prototype.toggleClass=function(f,D){if(this.length>1)return P.call(this,"toggleClass",arguments);if(!this[0]||!f)return this;D=void 0===D?!this.hasClass(f):D;for(var R=f.split(" "),S=0;S<R.length;S++)c.A.setClass(this[0],R[S],D);return this},p.prototype.html=function(f){return arguments.length?(this.empty(),"string"==typeof f&&!(0,v.a)(f)||"number"==typeof f?(this[0].innerHTML=f,this):this.append((0,v.B)(f))):this[0].innerHTML};var U=function(f,D){if(this[0]&&f){"string"==typeof f?f=(0,v.B)(f):f.nodeType?f=[f]:(0,x.kf)(f)&&(f=[c.A.createTextNode(f)]);for(var R=0;R<f.length;R++){var S=f[R],j=this[0];"TABLE"===j.tagName&&"TR"===S.tagName&&j.tBodies&&j.tBodies.length&&(j=j.tBodies[0]),c.A.insertElement(j,S.nodeType?S:S[0],D)}}},G=function(f,D){if(this[0]&&this[0].style&&!(null===D||"number"==typeof D&&isNaN(D))){f=(0,_.jA)(f);for(var R=0;R<this.length;R++)this[R].style[f]=(0,_.CC)(f,D)}};p.prototype.css=function(f,D){if((0,x.Kg)(f)){if(2!==arguments.length){if(!this[0])return;f=(0,_.jA)(f);var R=M.getComputedStyle(this[0])[f]||this[0].style[f];return(0,x.kf)(R)?R.toString():R}G.call(this,f,D)}else if((0,x.Qd)(f))for(var S in f)G.call(this,S,f[S]);return this},p.prototype.prepend=function(f){if(arguments.length>1){for(var D=0;D<arguments.length;D++)this.prepend(arguments[D]);return this}return U.apply(this,[f,this[0].firstChild]),this},p.prototype.append=function(f){if(arguments.length>1){for(var D=0;D<arguments.length;D++)this.append(arguments[D]);return this}return U.apply(this,[f]),this},p.prototype.prependTo=function(f){if(this.length>1){for(var D=this.length-1;D>=0;D--)N(this[D]).prependTo(f);return this}return(f=N(f))[0]&&c.A.insertElement(f[0],this[0],f[0].firstChild),this},p.prototype.appendTo=function(f){return this.length>1?P.call(this,"appendTo",arguments):(c.A.insertElement(N(f)[0],this[0]),this)},p.prototype.insertBefore=function(f){return f&&f[0]&&c.A.insertElement(f[0].parentNode,this[0],f[0]),this},p.prototype.insertAfter=function(f){return f&&f[0]&&c.A.insertElement(f[0].parentNode,this[0],f[0].nextSibling),this},p.prototype.before=function(f){return this[0]&&c.A.insertElement(this[0].parentNode,f[0],this[0]),this},p.prototype.after=function(f){return this[0]&&c.A.insertElement(this[0].parentNode,f[0],this[0].nextSibling),this},p.prototype.wrap=function(f){if(this[0]){var D=N(f);D.insertBefore(this),D.append(this)}return this},p.prototype.wrapInner=function(f){var D=this.contents();return D.length?D.wrap(f):this.append(f),this},p.prototype.replaceWith=function(f){if(f&&f[0])return f.is(this)?this:(f.insertBefore(this),this.remove(),f)},p.prototype.remove=function(){return this.length>1?P.call(this,"remove",arguments):((0,t.Gf)(this[0],!0),c.A.removeElement(this[0]),this)},p.prototype.detach=function(){return this.length>1?P.call(this,"detach",arguments):(c.A.removeElement(this[0]),this)},p.prototype.empty=function(){return this.length>1?P.call(this,"empty",arguments):((0,t.Gf)(this[0]),c.A.setText(this[0],""),this)},p.prototype.clone=function(){for(var f=[],D=0;D<this.length;D++)f.push(this[D].cloneNode(!0));return N(f)},p.prototype.text=function(f){if(!arguments.length){for(var D="",R=0;R<this.length;R++)D+=this[R]&&this[R].textContent||"";return D}var S=(0,x.Tn)(f)?f():f;return(0,t.Gf)(this[0],!1),c.A.setText(this[0],(0,x.O9)(S)?S:""),this},p.prototype.val=function(f){return 1===arguments.length?this.prop("value",(0,x.O9)(f)?f:""):this.prop("value")},p.prototype.contents=function(){if(!this[0])return N();var f=[];return f.push.apply(f,this[0].childNodes),N(f)},p.prototype.find=function(f){var D=N();if(!f)return D;var S,R=[];if("string"==typeof f)for(f=f.trim(),S=0;S<this.length;S++){var j=this[S];if(c.A.isElementNode(j)){var fe=j.getAttribute("id"),H=fe||"dx-query-children";fe||g(j,"id",H);var J=(H="[id='"+H+"'] ")+f.replace(/([^\\])(,)/g,"$1, "+H);R.push.apply(R,c.A.querySelectorAll(j,J)),g(j,"id",fe)}else(c.A.isDocument(j)||c.A.isDocumentFragment(j))&&R.push.apply(R,c.A.querySelectorAll(j,f))}else for(S=0;S<this.length;S++)f=c.A.isNode(f)?f:f[0],this[S]!==f&&this[S].contains(f)&&R.push(f);return D.add(R)};var A=function(f,D){var R;return!(D=null!==(R=D.host)&&void 0!==R?R:D).nodeType||!!(D.offsetWidth||D.offsetHeight||D.getClientRects().length)};p.prototype.filter=function(f){if(!f)return N();if(":visible"===f)return this.filter(A);
1if(":hidden"===f)return this.filter(function(fe,H){return!A(0,H)});for(var D=[],R=0;R<this.length;R++){var S=this[R];if(c.A.isElementNode(S)&&"string"===(0,x.NW)(f))c.A.elementMatches(S,f)&&D.push(S);else if(c.A.isNode(f)||(0,x.l6)(f))f===S&&D.push(S);else if((0,x.Tn)(f))f.call(S,R,S)&&D.push(S);else for(var j=0;j<f.length;j++)f[j]===S&&D.push(S)}return N(D)},p.prototype.not=function(f){for(var D=[],R=this.filter(f).toArray(),S=0;S<this.length;S++)-1===R.indexOf(this[S])&&D.push(this[S]);return N(D)},p.prototype.is=function(f){return!!this.filter(f).length},p.prototype.children=function(f){for(var D=[],R=0;R<this.length;R++)for(var S=this[R]?this[R].childNodes:[],j=0;j<S.length;j++)c.A.isElementNode(S[j])&&D.push(S[j]);return D=N(D),f?D.filter(f):D},p.prototype.siblings=function(){var f=this[0];if(!f||!f.parentNode)return N();for(var D=[],R=f.parentNode.childNodes||[],S=0;S<R.length;S++){var j=R[S];c.A.isElementNode(j)&&j!==f&&D.push(j)}return N(D)},p.prototype.each=function(f){for(var D=0;D<this.length&&!1!==f.call(this[D],D,this[D]);D++);},p.prototype.index=function(f){return f?(f=N(f),this.toArray().indexOf(f[0])):this.parent().children().index(this)},p.prototype.get=function(f){return this[f<0?this.length+f:f]},p.prototype.eq=function(f){return N(this[f=f<0?this.length+f:f])},p.prototype.first=function(){return this.eq(0)},p.prototype.last=function(){return this.eq(-1)},p.prototype.select=function(){for(var f=0;f<this.length;f+=1)this[f].select&&this[f].select();return this},p.prototype.parent=function(f){if(!this[0])return N();var D=N(this[0].parentNode);return!f||D.is(f)?D:N()},p.prototype.parents=function(f){for(var D=[],R=this.parent();R&&R[0]&&!c.A.isDocument(R[0]);)c.A.isElementNode(R[0])&&(!f||R.is(f))&&D.push(R.get(0)),R=R.parent();return N(D)},p.prototype.closest=function(f){if(this.is(f))return this;for(var D=this.parent();D&&D.length;){if(D.is(f))return D;D=D.parent()}return N()},p.prototype.next=function(f){if(!this[0])return N();var D=N(this[0].nextSibling);if(!arguments.length)return D;for(;D&&D.length;){if(D.is(f))return D;D=D.next()}return N()},p.prototype.prev=function(){return this[0]?N(this[0].previousSibling):N()},p.prototype.add=function(f){for(var D=N(f),R=this.toArray(),S=0;S<D.length;S++){var j=D[S];-1===R.indexOf(j)&&R.push(j)}return N(R)};var K=[];p.prototype.splice=function(){return N(K.splice.apply(this,arguments))},p.prototype.slice=function(){return N(K.slice.apply(this,arguments))},p.prototype.toArray=function(){return K.slice.call(this)},p.prototype.offset=function(){if(this[0])return(0,b.A3)(this[0])},p.prototype.offsetParent=function(){if(!this[0])return N();for(var f=N(this[0].offsetParent);f[0]&&"static"===f.css("position");)f=N(f[0].offsetParent);return f[0]?f:N(c.A.getDocumentElement())},p.prototype.position=function(){if(this[0]){var f,D=parseFloat(this.css("marginTop")),R=parseFloat(this.css("marginLeft"));if("fixed"===this.css("position"))return{top:(f=this[0].getBoundingClientRect()).top-D,left:f.left-R};f=this.offset();var S=this.offsetParent(),j={top:0,left:0};return"HTML"!==S[0].nodeName&&(j=S.offset()),j={top:j.top+parseFloat(S.css("borderTopWidth")),left:j.left+parseFloat(S.css("borderLeftWidth"))},{top:f.top-j.top-D,left:f.left-j.left-R}}},[{name:"scrollLeft",offsetProp:"pageXOffset",scrollWindow:function(f,D){f.scrollTo(D,f.pageYOffset)}},{name:"scrollTop",offsetProp:"pageYOffset",scrollWindow:function(f,D){f.scrollTo(f.pageXOffset,D)}}
1].forEach(function(f){var D=f.name;p.prototype[D]=function(R){if(this[0]){var S=(0,b.OP)(this[0]);return void 0===R?S?S[f.offsetProp]:this[0][D]:(S?f.scrollWindow(S,R):this[0][D]=R,this)}}}),p.prototype.data=function(f,D){if(this[0])return arguments.length<2?t.p.call(N,this[0],f):(t.p.call(N,this[0],f,D),this)},p.prototype.removeData=function(f){return this[0]&&(0,t.jf)(this[0],f),this};var z=function(){return N.apply(this,arguments)};Object.defineProperty(z,"fn",{enumerable:!0,configurable:!0,get:function(){return N.fn},set:function(f){N.fn=f}});const L=z},7558:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>v});var t=a(5042),c=a(4435),m=(0,c.zk)(),x={observe:t.lQ,unobserve:t.lQ,disconnect:t.lQ};const v=new class _{constructor(){if(!(0,c.Vd)()||!m.ResizeObserver)return x;this._callbacksMap=new Map,this._observer=new m.ResizeObserver(N=>{N.forEach(p=>{var P;null===(P=this._callbacksMap.get(p.target))||void 0===P||P(p)})})}observe(N,p){this._callbacksMap.set(N,p),this._observer.observe(N)}unobserve(N){this._callbacksMap.delete(N),this._observer.unobserve(N)}disconnect(){this._callbacksMap.clear(),this._observer.disconnect()}}},6311:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>v});var t=a(4292),c=a(2663),m=a(1269),x=a(675),_=a(2463);class v extends c.o{constructor(N,p,P,g){super(),this._render=N,this._fields=p,this._fieldsMap=g||{},this._watchMethod=P}_renderCore(N){var p=(0,t.A)(N.container),P=function(M,N,p,P,g){var U,A,G=(A=M,N(()=>A,function(A){var K,z,ee,L,f,D,R,S;U&&U(),(0,_.sO)(A)?g(A):(K=A,z=N,L=P,f=g,D={},R=(ee=p).slice(),S=ee.map(function(j){var fe=L[j];return z(fe?()=>fe(K):()=>K[j],function(H){if(D[j]=H,R.length){var J=R.indexOf(j);J>=0&&R.splice(J,1)}R.length||f(D)})}),U=function(){S.forEach(j=>j())})}));return function(){U&&U(),G&&G()}}(N.model,this._watchMethod,this._fields,this._fieldsMap,g=>{p.empty(),this._render(p,g,N.model)});return m.A.on(p,x.N,P),p.contents()}}},9902:(Nt,Le,a)=>{"use strict";a.d(Le,{M:()=>c});var t=a(2663);class c extends t.o{constructor(x){super(),this.name=x}}},7465:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=a(4292),c=a(2663);class m extends c.o{_renderCore(){return(0,t.A)()}}},3798:(Nt,Le,a)=>{"use strict";a.d(Le,{l:()=>m});var t=a(2663),c=a(7963);class m extends t.o{constructor(_){super(),this._render=_}_renderCore(_){return(0,c.ki)(this._render(_))}}},2663:(Nt,Le,a)=>{"use strict";a.d(Le,{o:()=>M});var t=a(4292),c=a(7669),m=a(4423),x=a(7963),_=a(5822),b=a(7550),v=(0,m.A)({syncStrategy:!0});class M{render(p){var g,P=(p=p||{}).onRendered;return delete p.onRendered,g=p.renovated&&p.transclude&&this._element?(0,t.A)("<div>").append(this._element).contents():this._renderCore(p),this._ensureResultInContainer(g,p.container),v.fire(g,p.container),P&&P(),g}_ensureResultInContainer(p,P){if(P){var g=(0,t.A)(P),U=(0,x.gR)(g.get(0),p.get(0));g.append(p),U||c.A.getBody().contains(g.get(0))&&(0,_.I9)(p)}}_renderCore(){throw b.A.Error("E0001")}}},4461:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Be});var t=a(2984),c=a(7669),m=a(207),x=a(4435),_=a(7951),b=a(2463),v=a(7041),M=(0,x.zk)(),N="success",p="error",z=function(Fe){var ue=c.A.createElement("script");for(var ce in Fe)ue[ce]=Fe[ce];return ue},ee=function(Fe){Fe.parentNode.removeChild(Fe)},L=function(Fe){return c.A.getHead().appendChild(Fe)},f=function(Fe){var ue=z({text:Fe});L(ue),ee(ue)};function re(Fe){return(Fe.method||"GET").toUpperCase()}const Be=(0,v.A)({sendRequest:function(Fe){var ke,ue=m.A.getXhr(),ce=new t.cY,_e=ce.promise(),ne=!(0,b.O9)(Fe.async)||Fe.async,Z=Fe.dataType,ve=Fe.timeout||0;Fe.crossDomain=function(Fe){if(!(0,x.Vd)())return!0;var ue=!1,ce=c.A.createElement("a"),_e=c.A.createElement("a");ce.href=M.location.href;try{_e.href=Fe,_e.href=_e.href,ue=ce.protocol+"//"+ce.host!=_e.protocol+"//"+_e.host}catch{ue=!0}return ue}(Fe.url);var Ne="jsonp"===Z||"script"===Z;void 0===Fe.cache&&(Fe.cache=!Ne);var Ie=function(Fe){if("jsonp"===Fe.dataType){var ue=Math.random().toString().replace(/\D/g,""),ce=Fe.jsonpCallback||"dxCallback"+Date.now()+"_"+ue,_e=Fe.jsonp||"callback";return Fe.data=Fe.data||{},Fe.data[_e]=ce,ce}}(Fe),De=function(Fe){var ue=Fe.headers||{};return ue["Content-Type"]=ue["Content-Type"]||function(Fe){var ue;return Fe.data&&!Fe.upload&&"GET"!==re(Fe)&&(ue="application/x-www-form-urlencoded;charset=utf-8"),Fe.contentType||ue}(Fe),ue.Accept=ue.Accept||function(Fe){var ue=Fe.dataType||"*",ce="text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",_e={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",jsonp:ce,script:ce};return(0,_.a)(_e,Fe.accepts,!0),_e[ue]?_e[ue]+("*"!==ue?", */*; q=0.01":""):_e["*"]}(Fe),!Fe.crossDomain&&!ue["X-Requested-With"]&&(ue["X-Requested-With"]="XMLHttpRequest"),ue}(Fe),et=function(Fe,ue){var ce=Fe.data,_e="string"==typeof ce,ne=Fe.url||M.location.href;return!_e&&!Fe.cache&&((ce=ce||{})._=Date.now()),ce&&!Fe.upload&&(_e||(ce=function(Fe){var ue=[];for(var ce in Fe){var _e=Fe[ce];void 0!==_e&&(null===_e&&(_e=""),"function"==typeof _e&&(_e=_e()),ue.push(encodeURIComponent(ce)+"="+encodeURIComponent(_e)))}return ue.join("&")}(ce)),"GET"===re(Fe)?(""!==ce&&(ne+=(ne.indexOf("?")>-1?"&":"?")+ce),ce=null):ue["Content-Type"]&&ue["Content-Type"].indexOf("application/x-www-form-urlencoded")>-1&&(ce=ce.replace(/%20/g,"+"))),{url:ne,parameters:ce}}(Fe,De),yt=et.url,dt=et.parameters;if(Ie&&(M[Ie]=function(we){ce.resolve(we,N,ue)}),Fe.crossDomain&&Ne)return function(Fe){var ue=z({src:Fe});return new Promise(function(ce,_e){var ne={load:ce,error:_e},Z=function(ke){ne[ke.type](),ee(ue)}
1;for(var ve in ne)c.A.listen(ue,ve,Z);L(ue)})}(yt).then(function(){"jsonp"!==Z&&ce.resolve(null,N,ue)},function(){ce.reject(ue,p)}),_e;if(Fe.crossDomain&&!("withCredentials"in ue))return ce.reject(ue,p),_e;if(ue.open(re(Fe),yt,ne,Fe.username,Fe.password),ne&&(ue.timeout=ve,ke=function(Fe,ue){return Fe&&setTimeout(function(){ue.customStatus="timeout",ue.abort()},Fe)}(ve,ue)),ue.onreadystatechange=function(we){4===ue.readyState&&(clearTimeout(ke),function(Fe){return 200<=Fe&&Fe<300}(ue.status)?function(Fe){return 204!==Fe}(ue.status)?function(Fe,ue,ce){var _e=function(Fe){return Fe.responseType&&"text"!==Fe.responseType||"string"!=typeof Fe.responseText?Fe.response:Fe.responseText}(ue);switch(ce){case"jsonp":f(_e);break;case"script":f(_e),Fe.resolve(_e,N,ue);break;case"json":try{Fe.resolve(JSON.parse(_e),N,ue)}catch(ne){Fe.reject(ue,"parsererror",ne)}break;default:Fe.resolve(_e,N,ue)}}(ce,ue,Z):ce.resolve(null,"nocontent",ue):ce.reject(ue,ue.customStatus||p))},Fe.upload&&(ue.upload.onprogress=Fe.upload.onprogress,ue.upload.onloadstart=Fe.upload.onloadstart,ue.upload.onabort=Fe.upload.onabort),Fe.xhrFields)for(var Je in Fe.xhrFields)ue[Je]=Fe.xhrFields[Je];for(var Ce in"arraybuffer"===Fe.responseType&&(ue.responseType=Fe.responseType),De)Object.prototype.hasOwnProperty.call(De,Ce)&&(0,b.O9)(De[Ce])&&ue.setRequestHeader(Ce,De[Ce]);return Fe.beforeSend&&Fe.beforeSend(ue),ue.send(dt),_e.abort=function(){ue.abort()},_e}})},9518:(Nt,Le,a)=>{"use strict";a.d(Le,{$z:()=>p,BO:()=>_,Gn:()=>b,Il:()=>N,R3:()=>M,_N:()=>v});var t=a(2463),c=a(5652),m=a(3771);function x(P){return P.reduce((g,U)=>{var G,A=(null!==(G=g.get(U))&&void 0!==G?G:0)+1;return g.set(U,A),g},new Map)}var _=function(P){return Array.isArray(P)?P:[P]},b=function(P){return[...new Set(P)]},v=function(P,g){var U=x(g);return P.filter(G=>{var A=U.get(G);return A&&U.set(G,A-1),A})},M=function(){var P=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],U=x(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]);return P.filter(G=>{var A=U.get(G);return A&&U.set(G,A-1),!A})},N=function(P,g,U,G){var A={},{useLegacyVisibleIndex:K}=(0,m.A)(),z=0,ee=L=>!(0,t.O9)(L[g])&&(!G||G(L));P.forEach(L=>{var f=L[g];f>=0?(A[f]=A[f]||[],L===U?A[f].unshift(L):A[f].push(L)):L[g]=void 0}),K||P.forEach(L=>{if(ee(L)){for(;A[z];)z++;A[z]=[L],z++}}),z=0,(0,c.ap)(A,function(L,f){f.forEach(D=>{L>=0&&(D[g]=z++)})}),K&&P.forEach(L=>{ee(L)&&(L[g]=z++)})},p=(P,g)=>P.reduce((U,G)=>{var A,K=g(G);return U[K]=null!==(A=U[K])&&void 0!==A?A:[],U[K].push(G),U},{})},4014:(Nt,Le,a)=>{"use strict";a.d(Le,{V:()=>x,p:()=>_});var t=a(2463),c=function(b,v){var M=v(b);if((0,t.Gv)(M))try{return JSON.stringify(M)}catch{return M}return M},m=function(b,v,M,N){return v[M[c(b,N)]]},x=function(b,v){if(b.length!==v.length)return!1;for(var M=0;M<v.length;M++)if(b[M]!==v[M])return!1;return!0},_=function(b,v,M,N){var p={},P={},g=0,U=0,G=[];b.forEach(function(j,fe){var H=c(j,M);p[H]=fe}),v.forEach(function(j,fe){var H=c(j,M);P[H]=fe});for(var A=Math.max(b.length,v.length),K=0;K<A+g;K++){var z=v[K],ee=K-g+U,L=b[ee];if(!z||L&&!m(L,v,P,M))L&&(G.push({type:"remove",key:M(L),index:K,oldItem:L}),U++,K--);else{var D=c(z,M),R=p[D],S=b[R];if(S){if(R!==ee)return;N(S,z)||G.push({type:"update",data:z,key:M(z),index:K,oldItem:S})}else g++,G.push({type:"insert",data:z,index:K})}}return G}},9263:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>v});var t=a(7951),m=(0,a(4435).w3)(),x=/(webkit)[ /]([\w.]+)/,_=/(mozilla)(?:.*? rv:([\w.]+))/,b=M=>{M=M.toLowerCase();var N={},p=x.exec(M)||M.indexOf("compatible")<0&&_.exec(M)||[],P=p[1],g=p[2];return"webkit"===P&&(N.webkit=!0,M.indexOf("chrome")>=0||M.indexOf("crios")>=0?(P="chrome",g=(g=/(?:chrome|crios)\/(\d+\.\d+)/.exec(M))&&g[1]):M.indexOf("fxios")>=0?(P="mozilla",g=(g=/fxios\/(\d+\.\d+)/.exec(M))&&g[1]):M.indexOf("safari")>=0&&/version|phantomjs/.test(M)?(P="safari",g=(g=/(?:version|phantomjs)\/([0-9.]+)/.exec(M))&&g[1]):(P="unknown",g=(g=/applewebkit\/([0-9.]+)/.exec(M))&&g[1])),P&&(N[P]=!0,N.version=g),N};const v=(0,t.X)({_fromUA:b},b(m.userAgent))},435:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});const c=function(m){var x,_=function(){return x=m.apply(this,arguments),_=function(){return x},x};return function(){return _.apply(this,arguments)}}},4423:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=function(x){this._options=x||{},this._list=[],this._queue=[],this._firing=!1,this._fired=!1,this._firingIndexes=[]};t.prototype._fireCore=function(x,_){var b=this._firingIndexes,v=this._list,M=this._options.stopOnFalse,N=b.length;for(b[N]=0;b[N]<v.length&&(!1!==v[b[N]].apply(x,_)||!M);b[N]++);b.pop()},t.prototype.add=function(x){return"function"==typeof x&&(!this._options.unique||!this.has(x))&&this._list.push(x),this},t.prototype.remove=function(x){var _=this._list,b=this._firingIndexes,v=_.indexOf(x);if(v>-1&&(_.splice(v,1),this._firing&&b.length))for(var M=0;M<b.length;M++)v<=b[M]&&b[M]--;return this},t.prototype.has=function(x){var _=this._list;return x?_.indexOf(x)>-1:!!_.length},t.prototype.empty=function(x){return this._list=[],this},t.prototype.fireWith=function(x,_){var b=this._queue;if(_=(_=_||[]).slice?_.slice():_,this._options.syncStrategy)this._firing=!0,this._fireCore(x,_);else{if(b.push([x,_]),this._firing)return;for(this._firing=!0;b.length;){var v=b.shift();this._fireCore(v[0],v[1])}}return this._firing=!1,this._fired=!0,this},t.prototype.fire=function(){this.fireWith(this,arguments)},t.prototype.fired=function(){return this._fired};const m=function(x){return new t(x)}},5042:(Nt,Le,a)=>{"use strict";a.d(Le,{EG:()=>J,GP:()=>fe,Li:()=>j,Mb:()=>z,Nt:()=>H,OX:()=>K,RL:()=>ue,T6:()=>D,TA:()=>W,VM:()=>re,YD:()=>M,a0:()=>
1ee,hm:()=>L,lQ:()=>Y,uG:()=>N,zE:()=>A});var U,t=a(8168),c=a(3771),m=a(3992),x=a(2984),_=a(9407),b=a(2101),v=a(2463),M=function(ce,_e){return(0,v.O9)(ce)?ce:_e},N=function(ce,_e){var ne=new x.cY,Z=_e||this,ve={promise:ne.promise(),abort:function(){clearTimeout(Ne),ne.rejectWith(Z)}},Ne=(arguments[2]||setTimeout)(function(){var Ie=ce.call(Z);Ie&&Ie.done&&(0,v.Tn)(Ie.done)?Ie.done(function(){ne.resolveWith(Z)}):ne.resolveWith(Z)},"number"==typeof _e?_e:0);return ve},p=[],P=[],g=[],G=function(ce,_e,ne){if(U&&U!==ce)return p.push(_e),P.push(ce),ne=ne||new x.cY,g.push(ne),ne;var Z=U,ve=g.length;U=ce;var ke=_e();return ke||(g.length>ve?ke=x.z7.apply(this,g.slice(ve)):ne&&ne.resolve()),U=Z,ne&&ke&&ke.done&&ke.done(ne.resolve).fail(ne.reject),!U&&p.length&&("render"===P.shift()?A:K)(p.shift(),g.shift()),ke||(0,x.z7)()},A=function(ce,_e){return G("render",ce,_e)},K=function(ce,_e){return G("update",ce,_e)},z=function(ce){return function(){var _e=this;return G("render",function(){return ce.call(_e)})}},ee=function(ce){return function(){var _e=this;return G("update",function(){return ce.call(_e)})}},L=function(ce,_e,ne){var Z=[],ve=0;return(0,b.__)(_e,(ke,Ne)=>{var Ie=0,De=ne?ne(Ne):Ne;(0,b.__)(ce,(et,yt)=>{var dt=De[et];if(void 0!==dt)return f(dt,yt)?void Ie++:(Ie=-1,!1)}),!(Ie<ve)&&(Ie>ve&&(Z.length=0,ve=Ie),Z.push(Ne))}),Z},f=function(ce,_e){if(Array.isArray(ce)&&Array.isArray(_e)){var ne=!1;return(0,b.__)(ce,(Z,ve)=>{if(ve!==_e[Z])return ne=!0,!1}),!ne}return ce===_e},D=function(ce){var _e,ne;switch((0,v.NW)(ce)){case"string":return ce.split(/\s+/,2);case"object":return[null!==(_e=ce.x)&&void 0!==_e?_e:ce.h,null!==(ne=ce.y)&&void 0!==ne?ne:ce.v];case"number":return[ce];case"array":return ce;default:return null}},j=function(ce,_e){var ne=D(ce),Z=_e?parseFloat(ne&&ne[0]):parseInt(ne&&ne[0],10),ve=_e?parseFloat(ne&&ne[1]):parseInt(ne&&ne[1],10);return isFinite(Z)||(Z=0),isFinite(ve)||(ve=Z),{h:Z,v:ve}},fe=function(ce){if(ce instanceof m.A)return ce.toString();if((0,v.Gv)(ce)||Array.isArray(ce))try{var _e=JSON.stringify(ce);return"{}"===_e?ce:_e}catch{return ce}return ce},H=function(ce){return ce.replace(/[[\]{}\-()*+?.\\^$|\s]/g,"\\$&")},J=function(ce){var _e=(0,c.A)().serverDecimalSeparator;return(0,v.O9)(ce)&&(ce=ce.toString().replace(".",_e)),ce},Y=function(){},W=function(){return(new x.cY).resolve().promise()},re=function(ce,_e,ne){for(var Z=[],ke=!ne,Ne=0;Ne<ce.length;Ne++)!!_e(ce[Ne],Ne)===ke&&Z.push(ce[Ne]);return Z},Be={maxDepth:3,strict:!0},Fe=(ce,_e,ne,Z)=>{var{strict:ve,maxDepth:ke}=Z,Ne=(0,_.ao)(ce,!0),Ie=(0,_.ao)(_e,!0);switch(!0){case ve?Ne===Ie:Ne==Ie:case ne>=ke:return!0;case(0,v.Gv)(Ne)&&(0,v.Gv)(Ie):return((ce,_e,ne,Z)=>{var ve=Object.keys(ce),ke=Object.keys(_e);if(ve.length!==ke.length)return!1;var Ne=new Set(ke);return!ve.some(Ie=>!Ne.has(Ie)||!Fe(ce[Ie],_e[Ie],ne+1,Z))})(Ne,Ie,ne,Z);case Array.isArray(Ne)&&Array.isArray(Ie):return((ce,_e,ne,Z)=>ce.length===_e.length&&!ce.some((ve,ke)=>!Fe(ve,_e[ke],ne+1,(0,t.A)({},Z,{strict:!0}))))(Ne,Ie,ne,Z);default:return!1}},ue=function(ce,_e){var Z=(0,t.A)({},Be,arguments.length>2&&void 0!==arguments[2]?arguments[2]:Be);return Fe(ce,_e,0,Z)}},5978:(Nt,Le,a)=>{"use strict";a.d(Le,{v:()=>x});var t=a(2463),c=function(){},m=function(b){return typeof console>"u"||!(0,t.Tn)(console[b])?c:console[b].bind(console)},x={log:m("log"),info:m("info"),warn:m("warn"),error:m("error")}},9407:(Nt,Le,a)=>{"use strict";a.d(Le,{Hz:()=>K,ao:()=>f,u7:()=>P,vL:()=>L});var t=a(7550),c=a(6221),m=a(5652),x=a(2463),_=a(2101),b=a(8059),v=b.A.unwrap,M=b.A.isWrapped,N=b.A.assign,P=function(D){return function(D){return D.replace(/\[/g,".").replace(/\]/g,"")}(D).split(".")},U=function(D,R,S,j){if("this"===R)throw new t.A.Error("E4016");var fe=D[R];j.unwrapObservables&&M(fe)?N(fe,S):D[R]=S},G=function(D){return(D=D||{}).unwrapObservables=void 0===D.unwrapObservables||D.unwrapObservables,D};function A(D,R){return R.unwrapObservables?v(D):D}var K=function(D){if(arguments.length>1&&(D=[].slice.call(arguments)),!D||"this"===D)return function(S){return S};if("string"==typeof D){var R=P(D);return function(S,j){for(var fe=(j=G(j)).functionsAsIs,H=("defaultValue"in j),J=A(S,j),Y=0;Y<R.length;Y++){if(!J){if(null==J&&H)return j.defaultValue;break}var W=R[Y];if(H&&(0,x.Gv)(J)&&!(W in J))return j.defaultValue;var re=A(J[W],j);!fe&&(0,x.Tn)(re)&&(re=re.call(J)),J=re}return J}}return Array.isArray(D)?function z(D){for(var R={},S=0,j=D.length;S<j;S++){var fe=D[S];R[fe]=K(fe)}return function(H,J){var Y;return(0,_.__)(R,function(W){var re=this(H,J);if(void 0!==re){for(var le=Y||(Y={}),Re=W.split("."),Be=Re.length-1,Fe=0;Fe<Be;Fe++){var ue=Re[Fe];ue in le||(le[ue]={}),le=le[ue]}le[Re[Be]]=re}}),Y}}(D):(0,x.Tn)(D)?D:void 0},ee=function(D,R,S,j){if((0,x.O9)(S))return S;var fe={};return U(D,R,fe,j),fe},L=function(D){var R=(D=P(D||"this")).length-1;return function(S,j,fe){var H=A(S,fe=G(fe));D.forEach(function(J,Y){var W=function(D,R,S){return A("this"===R?D:D[R],S=S||{})}(H,J,fe),re=!fe.functionsAsIs&&(0,x.Tn)(W)&&!M(W);Y===R?fe.merge&&(0,x.Qd)(j)&&(!(0,x.O9)(W)||(0,x.Qd)(W))?(W=ee(H,J,W,fe),(0,m.tm)(W,j,!1,!0)):re?H[J](j):U(H,J,j,fe):(W=ee(H,J,W,fe),re&&(W=W.call(H)),H=W)})}},f=function(D,R){var j,S=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return D instanceof Date?D.getTime():D&&D instanceof c.A&&D.valueOf?D.valueOf():R||"string"!=typeof D?D:("base"===(null==S||null===(j=S.collatorOptions)||void 0===j?void 0:j.sensitivity)&&(D=D.normalize("NFD").replace(/[\u0300-\u036f]/g,"")),null!=S&&S.locale?D.toLocaleLowerCase(S.locale):D.toLowerCase())}},1437:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>at});var t=a(2463),c=a(2209),m=a(2101),x=a(8745),_={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,quarter:7776e6,year:31536e6};function b(V){return _[V]}var v=7,P=["millisecond","second","minute","hour","day","week","month","quarter","year"],G=function(V){var pe,Te,ft,At=["millisecond","second","minute","hour","day","month","year"],sn={};for(pe=At.length-1;pe>=0;pe--)ft=At[pe],(Te=Math.floor(V/b(ft)))>0&&(sn[ft+"s"]=Te,V-=K(ft,Te));return sn};function K(V,pe){return b(V)*pe}function z(V){var Te,pe=-1;return(0,t.Kg)(V)?V:(0,t.Gv)(V)?((0,m.__)(V,function(ft,At){for(Te=0;Te<P.length;Te++)At&&(ft===P[Te]+"s"||ft===P[Te])&&pe<Te&&(pe=Te)}),P[pe]):""}var ee={millisecond:"millisecond",second:"longtime",minute:"shorttime",hour:"shorttime",day:"day",week:"day",month:"month",quarter:"quarter",year:"year"},f=function(V){return Math.floor(V/3)},D=function(V){return 3*f(V)};function R(V,pe,Te,ft){V=new Date(V.getTime());var sn,Bt,At=new Date(V.getTime()),Ut=z(pe);switch(Ut){case"second":V=new Date(1e3*Math.floor(At.getTime()/1e3));break;case"minute":V=new Date(6e4*Math.floor(At.getTime()/6e4));break;case"hour":V=new Date(36e5*Math.floor(At.getTime()/36e5));break;case"year":V.setMonth(0);case"month":V.setDate(1);case"day":V.setHours(0,0,0,0);break;case"week":(V=we(V,ft||0)).setHours(0,0,0,0);break;case"quarter":sn=D(V.getMonth()),Bt=V.getMonth(),V.setDate(1),V.setHours(0,0,0,0),Bt!==sn&&V.setMonth(sn)}return Te&&"hour"!==Ut&&"minute"!==Ut&&"second"!==Ut&&vt(At,V),V}function S(V){return R(V,"day")}function H(V,pe,Te){var ft=new Date(V.getTime()),At=(0,t.Kg)(pe)?ne(pe.toLowerCase()):(0,t.kf)(pe)?G(pe):pe;return At.years&&ft.setFullYear(ft.getFullYear()+At.years*Te),At.quarters&&ft.setMonth(ft.getMonth()+3*At.quarters*Te),At.months&&ft.setMonth(ft.getMonth()+At.months*Te),At.weeks&&ft.setDate(ft.getDate()+7*At.weeks*Te),At.days&&ft.setDate(ft.getDate()+At.days*Te),At.hours&&ft.setTime(ft.getTime()+36e5*At.hours*Te),At.minutes&&ft.setTime(ft.getTime()+6e4*At.minutes*Te),At.seconds&&ft.setTime(ft.getTime()+1e3*At.seconds*Te),At.milliseconds&&ft.setTime(ft.getTime()+At.milliseconds*Te),ft}var J=function(V,pe,Te){var ft=Te?-1:1;return(0,t.$P)(V)?H(V,pe,ft):(0,c.Ai)(V+pe*ft,pe)};function Be(V){return X(V.getFullYear(),V.getMonth()+1,0).getDate()}function ne(V){var pe={};switch(V){case"year":pe.years=1;break;case"month":pe.months=1;break;case"quarter":pe.months=3;break;case"week":pe.weeks=1;break;case"day":pe.days=1;break;case"hour":pe.hours=1;break;case"minute":pe.minutes=1;break;case"second":pe.seconds=1;break;case"millisecond":pe.milliseconds=1}return pe}function ve(V,pe){return ke(V,pe)&&V.getMonth()===pe.getMonth()}function ke(V,pe){return V&&pe&&V.getFullYear()===pe.getFullYear()}function et(V){return V&&V.getFullYear()-V.getFullYear()%100}function yt(V){return V&&V.getFullYear()-V.getFullYear()%10}function we(V,pe){var Te=(V.getDay()-pe+v)%v,ft=new Date(V);return ft.setDate(V.getDate()-Te),ft}function Ee(V){return Date.UTC(V.getFullYear(),V.getMonth(),V.getDate())}function Ot(V){return new Date(V,0,1)}function It(V){return new Date(V,11,31)}function un(V,pe){var Te=V.getDay()-pe+1;return Te<=0&&(Te+=v),Te}function Ke(V,pe,Te){var ft=V;return(0,t.O9)(V)?((0,t.O9)(pe)&&V<pe&&(ft=pe),(0,t.O9)(Te)&&V>Te&&(ft=Te),ft):V}function vt(V,pe){if((0,t.O9)(V)){var Te=pe.getHours()-V.getHours();if(0!==Te){var ft=1===Te||-23===Te?-1:1,At=new Date(pe.getTime()+36e5*ft);(ft>0||At.getDate()===pe.getDate())&&pe.setTime(At.getTime())}}}function ze(V,pe){return 60*(pe.getTimezoneOffset()-V.getTimezoneOffset())*1e3}var X=function(V){var pe=new Date(...arguments);return pe.setFullYear(V),pe},st={dateUnitIntervals:P,convertMillisecondsToDateUnits:G,dateToMilliseconds:function(V){var pe=0;return(0,t.Gv)(V)&&(0,m.__)(V,function(Te,ft){pe+=K(Te.substr(0,Te.length-1),ft)}),(0,t.Kg)(V)&&(pe=K(V,1)),pe},getNextDateUnit:function(V,pe){switch(z(V)){case"millisecond":return"second";case"second":return"minute";case"minute":return"hour";case"hour":return"day";case"day":return pe?"week":"month";case"week":return"month";case"month":return"quarter";case"quarter":case"year":return"year";default:return 0}},convertDateUnitToMilliseconds:K,getDateUnitInterval:z,getDateFormatByTickInterval:function L(V){return ee[z(V)]||""},getDatesDifferences:function(V,pe){var Te=0,ft={year:V.getFullYear()!==pe.getFullYear(),month:V.getMonth()!==pe.getMonth(),day:V.getDate()!==pe.getDate(),hour:V.getHours()!==pe.getHours(),minute:V.getMinutes()!==pe.getMinutes(),second:V.getSeconds()!==pe.getSeconds(),millisecond:V.getMilliseconds()!==pe.getMilliseconds()};return(0,m.__)(ft,function(At,sn){sn&&Te++}),0===Te&&0!==ze(V,pe)&&(ft.hour=!0,Te++),ft.count=Te,ft},correctDateWithUnitBeginning:R,trimTime:S,setToDayEnd:function(V){var pe=S(V);return pe.setDate(pe.getDate()+1),new Date(pe.getTime()-1)},roundDateByStartDayHour:function(V,pe){var Te=this.dateTimeFromDecimal(pe),ft=new Date(V);return(V.getHours()===Te.hours&&V.getMinutes()<Te.minutes||V.getHours()<Te.hours)&&ft.setHours(Te.hours,Te.minutes,0,0),ft},dateTimeFromDecimal:function(V){return{hours:Math.floor(V),minutes:V%1*60}},addDateInterval:H,addInterval:J,getSequenceByInterval:function(V,pe,Te){var At,ft=[];
1for(ft.push((0,t.$P)(V)?new Date(V.getTime()):V),At=V;At<pe;)At=J(At,Te),ft.push(At);return ft},getDateIntervalByString:ne,sameHoursAndMinutes:function Ne(V,pe){return V&&pe&&V.getHours()===pe.getHours()&&V.getMinutes()===pe.getMinutes()},sameDate:function Z(V,pe){return ve(V,pe)&&V.getDate()===pe.getDate()},sameMonthAndYear:ve,sameMonth:ve,sameYear:ke,sameDecade:function(V,pe){if((0,t.O9)(V)&&(0,t.O9)(pe)){var Te=V.getFullYear()-V.getFullYear()%10,ft=pe.getFullYear()-pe.getFullYear()%10;return V&&pe&&Te===ft}},sameCentury:function(V,pe){if((0,t.O9)(V)&&(0,t.O9)(pe)){var Te=V.getFullYear()-V.getFullYear()%100,ft=pe.getFullYear()-pe.getFullYear()%100;return V&&pe&&Te===ft}},getDifferenceInMonth:function(V){var pe=1;return"year"===V&&(pe=12),"decade"===V&&(pe=120),"century"===V&&(pe=1200),pe},getDifferenceInMonthForCells:function(V){var pe=1;return"decade"===V&&(pe=12),"century"===V&&(pe=120),pe},getFirstYearInDecade:yt,getFirstDecadeInCentury:et,getShortDateFormat:function(){return"yyyy/MM/dd"},getViewFirstCellDate:function(V,pe){return"month"===V?X(pe.getFullYear(),pe.getMonth(),1):"year"===V?X(pe.getFullYear(),0,pe.getDate()):"decade"===V?X(yt(pe),pe.getMonth(),pe.getDate()):"century"===V?X(et(pe),pe.getMonth(),pe.getDate()):void 0},getViewLastCellDate:function(V,pe){return"month"===V?X(pe.getFullYear(),pe.getMonth(),Be(pe)):"year"===V?X(pe.getFullYear(),11,pe.getDate()):"decade"===V?X(yt(pe)+9,pe.getMonth(),pe.getDate()):"century"===V?X(et(pe)+90,pe.getMonth(),pe.getDate()):void 0},getViewDown:function(V){switch(V){case"century":return"decade";case"decade":return"year";case"year":return"month"}},getViewUp:function(V){switch(V){case"month":return"year";case"year":return"decade";case"decade":return"century"}},getLastMonthDay:Be,getLastMonthDate:function(V){if((0,t.O9)(V))return X(V.getFullYear(),V.getMonth()+1,0)},getFirstMonthDate:function(V){if((0,t.O9)(V))return X(V.getFullYear(),V.getMonth(),1)},getFirstWeekDate:we,getWeekNumber:function ln(V,pe,Te){var ft=un(Ot(V.getFullYear()),pe),At=un(It(V.getFullYear()),pe),sn=v-ft+1,Bt=Math.ceil((function He(V){var pe=Ee(V)-Ee(Ot(V.getFullYear()));return 1+Math.floor(pe/b("day"))}(V)-sn)/7);switch(Te){case"fullWeek":return sn===v&&Bt++,0===Bt?ln(It(V.getFullYear()-1),pe,Te):Bt;case"firstDay":return sn>0&&Bt++,(Bt>52&&!(7===ft||7===At)||54===Bt)&&(Bt=1),Bt;case"firstFourDays":return sn>3&&Bt++,Bt>52&&!(4===ft||4===At)&&(Bt=1),0===Bt?ln(It(V.getFullYear()-1),pe,Te):Bt}},normalizeDateByWeek:function(V,pe){var Te=st.getDatesInterval(V,pe,"day"),ft=new Date(V);return Te>=6&&(ft=new Date(ft.setDate(ft.getDate()+7))),ft},getQuarter:f,getFirstQuarterMonth:D,dateInRange:function(V,pe,Te,ft){return"date"===ft&&(pe=pe&&st.correctDateWithUnitBeginning(pe,"day"),Te=Te&&st.correctDateWithUnitBeginning(Te,"day"),V=V&&st.correctDateWithUnitBeginning(V,"day")),Ke(V,pe,Te)===V},intervalsOverlap:function(V){var{firstMin:pe,firstMax:Te,secondMin:ft,secondMax:At}=V;return pe<=ft&&ft<=Te||pe>ft&&pe<At||pe<At&&Te>At},roundToHour:function(V){var pe=new Date(V.getTime());return pe.setHours(pe.getHours()+1),pe.setMinutes(0),pe},normalizeDate:Ke,getViewMinBoundaryDate:function(V,pe){var Te=X(pe.getFullYear(),pe.getMonth(),1);return"month"===V||(Te.setMonth(0),"year"===V)||("decade"===V&&Te.setFullYear(yt(pe)),"century"===V&&Te.setFullYear(et(pe))),Te},getViewMaxBoundaryDate:function(V,pe){var Te=new Date(pe);return Te.setDate(Be(pe)),"month"===V||(Te.setMonth(11),Te.setDate(Be(Te)),"year"===V)||("decade"===V&&Te.setFullYear(yt(pe)+9),"century"===V&&Te.setFullYear(et(pe)+99)),Te},fixTimezoneGap:vt,getTimezonesDifference:ze,makeDate:function(V){return new Date(V)},getDatesInterval:function(V,pe,Te){var ft=pe.getTime()-V.getTime(),At=b(Te)||1;return Math.floor(ft/At)},getDatesOfInterval:function(V,pe,Te){for(var ft=[],At=new Date(V.getTime());At<pe;)ft.push(new Date(At.getTime())),At=this.addInterval(At,Te);return ft},createDateWithFullYear:X,getMachineTimezoneName:()=>typeof Intl<"u"?Intl.DateTimeFormat().resolvedOptions().timeZone:null,sameView:function(V,pe,Te){return st[(0,x.PT)("same "+V)](pe,Te)}};const at=st},9504:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>D});var t=a(3771),c=a(6773),m=a(8029),x=a(2463),_="number",b="yyyy/MM/dd",M=/^(\d{4,})(-)?(\d{2})(-)?(\d{2})(?:T(\d{2})(:)?(\d{2})?(:)?(\d{2}(?:\.(\d{1,3})\d*)?)?)?(Z|([+-])(\d{2})(:)?(\d{2})?)?$/,N=/^(\d{2}):(\d{2})(:(\d{2}))?$/,p=["","yyyy","","MM","","dd","THH","","mm","","ss",".SSS"],P=/^(\d{4})\/(\d{2})\/(\d{2})$/,U=function(R,S){var j;return(0,x.Kg)(R)&&!S&&(j=function K(R){var S=R.match(M);if(!S)return(S=R.match(N))?new Date(0,0,0,G(S[1]),G(S[2]),G(S[4])):void 0;var j=G(S[1]),fe=--S[3],H=S[5],J=0,Y=0;J=G(S[14]),Y=G(S[16]),"-"===S[13]&&(J=-J,Y=-Y);var Fe,re=G(S[6])-J,le=G(S[8])-Y,Re=G(S[10]),Be=G(Fe=(Fe=S[11])||"")*Math.pow(10,3-Fe.length);return(Fe=>(j<100&&Fe.setFullYear(j),Fe))(S[12]?new Date(Date.UTC(j,fe,H,re,le,Re,Be)):new Date(j,fe,H,re,le,Re,Be))}(R)),j||function A(R){var S=f(R)===b,j=!(0,x.$P)(R)&&Date.parse(R);if(!j&&S){var fe=R.match(P);if(fe){var H=new Date(G(fe[1]),G(fe[2]),G(fe[3]));return H.setFullYear(G(fe[1])),H.setMonth(G(fe[2])-1),H.setDate(G(fe[3])),H}}return(0,x.kf)(j)?new Date(j):R}(R)};function G(R){return+R||0}var f=function(R){return"number"==typeof R?_:(0,x.Kg)(R)?((0,t.A)().forceIsoDateParsing&&(S=function(R,S){var j=R.match(M),fe="";if(!j)return(j=R.match(N))?j[3]?"HH:mm:ss":"HH:mm":void 0;for(var H=1;H<p.length;
1H++)j[H]&&(fe+=p[H]||j[H]);return"Z"===j[12]&&(fe+="'Z'"),j[14]&&(fe+=j[15]?"xxx":j[16]?"xx":"x"),fe}(R)),S||(R.indexOf(":")>=0?"yyyy/MM/dd HH:mm:ss":b)):R?null:void 0;var S};const D={dateParser:U,deserializeDate:function(R){return"number"==typeof R?new Date(R):U(R,!(0,t.A)().forceIsoDateParsing)},serializeDate:function(R,S){return S?(0,x.$P)(R)?S===_?R&&R.valueOf?R.valueOf():null:(0,c.f)(S,m.A)(R):null:R},getDateSerializationFormat:f}},2984:(Nt,Le,a)=>{"use strict";a.d(Le,{Sx:()=>b,cY:()=>N,z7:()=>p});var t=a(2463),c=a(7951),m=a(4423),x=[{method:"resolve",handler:"done",state:"resolved"},{method:"reject",handler:"fail",state:"rejected"},{method:"notify",handler:"progress"}],_=function(){var P=this;this._state="pending",this._promise={},x.forEach(function(g){var U=g.method;this[U+"Callbacks"]=(0,m.A)(),this[U]=function(){return this[U+"With"](this._promise,arguments)}.bind(this),this._promise[g.handler]=function(G){if(!G)return this;var A=P[U+"Callbacks"];return A.fired()?G.apply(P[U+"Context"],P[U+"Args"]):A.add(function(K,z){G.apply(K,z)}.bind(this)),this}}.bind(this)),this._promise.always=function(g){return this.done(g).fail(g)},this._promise.catch=function(g){return this.then(null,g)},this._promise.then=function(g,U){var G=new _;return["done","fail"].forEach(function(A){var K="done"===A?g:U;this[A](function(){if(K){var z=K&&K.apply(this,arguments);(0,t.uF)(z)?z.done(G.resolve).fail(G.reject):(0,t.yL)(z)?z.then(G.resolve,G.reject):G.resolve.apply(this,(0,t.O9)(z)?[z]:arguments)}else G["done"===A?"resolve":"reject"].apply(this,arguments)})}.bind(this)),G.promise()},this._promise.state=function(){return P._state},this._promise.promise=function(g){return g?(0,c.X)(g,P._promise):P._promise},this._promise.promise(this)};function b(P,g){if((0,t.uF)(P))return P;if((0,t.yL)(P)){var U=new _;return P.then(function(){U.resolveWith.apply(U,[g].concat([[].slice.call(arguments)]))},function(){U.rejectWith.apply(U,[g].concat([[].slice.call(arguments)]))}),U}return(new _).resolveWith(g,[P])}x.forEach(function(P){var g=P.method,U=P.state;_.prototype[g+"With"]=function(G,A){var K=this[g+"Callbacks"];return"pending"===this.state()&&(this[g+"Args"]=A,this[g+"Context"]=G,U&&(this._state=U),K.fire(G,A)),this}});var v=function(){if(1===arguments.length)return b(arguments[0]);for(var P=[].slice.call(arguments),g=[],U=0,G=new _,A=function(z){return function(ee){g[z]=this,P[z]=arguments.length>1?[].slice.call(arguments):ee,++U===P.length&&G.resolveWith(g,P)}},K=0;K<P.length;K++)(0,t.uF)(P[K])?P[K].promise().done(A(K)).fail(G.reject):U++;return U===P.length&&G.resolveWith(g,P),G.promise()};function N(){return new _}function p(){return v.apply(this,arguments)}},7041:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>_});var t=a(7951),c=a(2463),m=a(2101),x=a(6221);function _(b){var v=x.A.inherit(b),M=v,N=new M(b),p={},P=function(g,U){(0,m.__)(g,function(G){(0,c.Tn)(N[G])?(U||!b[G])&&(b[G]=function(){return N[G].apply(b,arguments)}):(U&&(p[G]=b[G]),b[G]=N[G])})};return P(b,!0),b.inject=function(g){M=M.inherit(g),N=new M,P(g)},b.resetInjection=function(){(0,t.X)(b,p),M=v,N=new v},b}},7963:(Nt,Le,a)=>{"use strict";a.d(Le,{A1:()=>ee,D2:()=>A,GX:()=>M,KR:()=>U,bG:()=>z,gR:()=>G,ki:()=>g,tc:()=>p,wr:()=>N});var t=a(7669),c=a(4292),m=a(2101),x=a(2463),_=a(4435),b=(0,_.zk)(),M=()=>{var f,L=t.A.getActiveElement();L&&L!==t.A.getBody()&&(null===(f=L.blur)||void 0===f||f.call(L))},N=()=>{var L=b.getSelection();if(L&&"Caret"!==L.type)if(L.empty)L.empty();else if(L.removeAllRanges)try{L.removeAllRanges()}catch{}},p=(L,f)=>{var D=(0,c.A)(L),R=(0,c.A)(f);if(D[0]===R[0])return D[0];for(var S=D.parents(),j=R.parents(),H=-Math.min(S.length,j.length);H<0;H++)if(S.get(H)===j.get(H))return S.get(H)},g=L=>{var f=(0,x.O9)(L)&&(L.nodeType||(0,x.Kb)(L))?(0,c.A)(L):(0,c.A)("<div>").html(L).contents();return 1===f.length&&(f.is("script")?f=g(f.html().trim()):f.is("table")&&(f=f.children("tbody").contents())),f},U=(L,f)=>{var D=L.originalEvent&&L.originalEvent.clipboardData||b.clipboardData;if(!f)return D&&D.getData("Text");D&&D.setData("Text",f)},G=(L,f)=>!!f&&((0,x.l6)(L)?G(L.document,f):L.contains(f)||G(L,(L=>{if(L.getRootNode){var f=L.getRootNode().host;if(!(0,x.Kg)(f))return f}})(f))),A=(L,f,D)=>{var R=b.getComputedStyle((0,c.A)(L).get(0)),S=D&&D.includePaddings;return(0,c.A)("<div>").text(f).css({fontStyle:R.fontStyle,fontVariant:R.fontVariant,fontWeight:R.fontWeight,fontSize:R.fontSize,fontFamily:R.fontFamily,letterSpacing:R.letterSpacing,border:R.border,paddingTop:S?R.paddingTop:"",paddingRight:S?R.paddingRight:"",paddingBottom:S?R.paddingBottom:"",paddingLeft:S?R.paddingLeft:"",visibility:"hidden",
1whiteSpace:"pre",position:"absolute",float:"left"})},z=(L,f)=>{if(f&&f[0])return f.is(L)?L:((0,m.__)(f,(D,R)=>{((L,f)=>{f&&t.A.insertElement(L.parentNode,f,L)})(L[0],R)}),L.remove(),f)},ee=L=>{var f=L?.get(0),D=f?.getRootNode().host;return!!(0,c.A)(D||f).closest((0,_.zk)().document).length}},6161:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>b});var t=a(7951),c=a(5978),m=a(370),_="https://js.devexpress.com/error/"+a(1721).r.split(".").slice(0,2).join("_")+"/";function b(v,M){var N={ERROR_MESSAGES:(0,t.X)(M,v),Error:function(){return function U(A){var K=A[0],z=P(K,A=A.slice(1)),ee=G(K),L=g(K,z);return(0,t.X)(new Error(L),{__id:K,__details:z,url:ee})}([].slice.call(arguments))},log:function(A){var K="log";/^E\d+$/.test(A)?K="error":/^W\d+$/.test(A)&&(K="warn"),c.v[K]("log"===K?A:function p(A){var K=A[0];return g(K,P(K,A=A.slice(1)))}([].slice.call(arguments)))}};function P(A,K){return K=[N.ERROR_MESSAGES[A]].concat(K),m.GP.apply(this,K).replace(/\.*\s*?$/,"")}function g(A,K){var z=null!=A&&A.startsWith("W")?"warning":"error";return m.GP.apply(this,["{0} - {1}.\n\nFor additional information on this {2} message, see: {3}",A,K,z,G(A)])}function G(A){return _+A}return N}},7951:(Nt,Le,a)=>{"use strict";a.d(Le,{X:()=>m,a:()=>c});var t=a(2463),c=function(x,_,b){for(var v in x=x||{},_)Object.prototype.hasOwnProperty.call(_,v)&&(!(v in x)||b)&&(x[v]=_[v]);return x},m=function x(_){var b=1,v=!1;for("boolean"==typeof(_=_||{})&&(v=_,_=arguments[1]||{},b++);b<arguments.length;b++){var M=arguments[b];if(null!=M)for(var N in M){var p=_[N],P=M[N],g=!1,U=void 0;"__proto__"===N||"constructor"===N||_===P||(v&&P&&((0,t.Qd)(P)||(g=Array.isArray(P)))?(U=g?p&&Array.isArray(p)?p:[]:p&&(0,t.Qd)(p)?p:{},_[N]=x(v,U,P)):void 0!==P&&(_[N]=P))}}return _}},1242:(Nt,Le,a)=>{"use strict";a.d(Le,{B:()=>x,a:()=>_});var t=a(7669),c=/<([a-z][^/\0>\x20\t\r\n\f]+)/i,m={default:{tagsCount:0,startTags:"",endTags:""},thead:{tagsCount:1,startTags:"<table>",endTags:"</table>"},td:{tagsCount:3,startTags:"<table><tbody><tr>",endTags:"</tr></tbody></table>"},col:{tagsCount:2,startTags:"<table><colgroup>",endTags:"</colgroup></table>"},tr:{tagsCount:2,startTags:"<table><tbody>",endTags:"</tbody></table>"}};m.tbody=m.colgroup=m.caption=m.tfoot=m.thead,m.th=m.td;var x=function(b){if("string"!=typeof b)return null;var M=t.A.createDocumentFragment().appendChild(t.A.createElement("div")),N=c.exec(b),p=N&&N[1].toLowerCase(),P=m[p]||m.default;M.innerHTML=P.startTags+b+P.endTags;for(var g=0;g<P.tagsCount;g++)M=M.lastChild;return[...M.childNodes]},_=function(b){var v=c.exec(b);return v&&v[1]in m}},6018:(Nt,Le,a)=>{"use strict";a.d(Le,{F:()=>x,N:()=>_});var t=a(4292),c="dx-icon",x=b=>!(!b||"string"!=typeof b)&&(/^\s*<svg[^>]*>(.|\r?\n)*?<\/svg>\s*$/i.test(b)?"svg":/data:.*base64|\.|[^<\s]\/{1,1}/.test(b)?"image":/^[\w-_]+$/.test(b)?"dxIcon":!!/^\s?([\w-_:]\s?)+$/.test(b)&&"fontIcon"),_=b=>{switch(x(b)){case"image":return(0,t.A)("<img>").attr("src",b).addClass(c);case"fontIcon":return(0,t.A)("<i>").addClass("".concat(c," ").concat(b));case"dxIcon":return(0,t.A)("<i>").addClass("".concat(c," ").concat(c,"-").concat(b));case"svg":return(0,t.A)("<i>").addClass("".concat(c," ").concat("dx-svg-icon")).append(b);default:return null}}},8745:(Nt,Le,a)=>{"use strict";a.d(Le,{Bc:()=>P,I3:()=>M,Ns:()=>N,PT:()=>v,_k:()=>_});var t=a(2101),c=function(g){return null==g?"":String(g)},m=function(g){return c(g).charAt(0).toUpperCase()+g.substr(1)},x=function(g){return c(g).replace(/([a-z\d])([A-Z])/g,"$1 $2").split(/[\s_-]+/)},_=function(g){return(0,t.Tj)(x(g),function(U){return U.toLowerCase()}).join("-")},v=function(g,U){return(0,t.Tj)(x(g),function(G,A){return G=G.toLowerCase(),(U||A>0)&&(G=m(G)),G}).join("")},M=function(g){return m(_(g).replace(/-/g," "))},N=function(g){return(0,t.Tj)(x(g),function(U){return m(U.toLowerCase())}).join(" ")},p=["0","1","2","3","4","5","6","7","8","9"],P=function(g){var G,A,U=[],K=!1,z=!1;for(G=0;G<g.length;G++)z=(A=g.charAt(G))===A.toUpperCase()&&"-"!==A&&")"!==A&&"/"!==A||A in p,"_"===A||"."===A?(A=" ",z=!0):0===G?(A=A.toUpperCase(),z=!0):!K&&z&&U.length>0&&U.push(" "),U.push(A),K=z;return U.join("")}},2101:(Nt,Le,a)=>{"use strict";a.d(Le,{Tj:()=>t,__:()=>c});var t=(x,_)=>{if(Array.isArray(x))return x.map(_);var b=[];for(var v in x)b.push(_(x[v],v));return b},c=(x,_)=>{if(x){if("length"in x)for(var b=0;b<x.length&&!1!==_.call(x[b],b,x[b]);b++);else for(var v in x)if(!1===_.call(x[v],v,x[v]))break;return x}}},2209:(Nt,Le,a)=>{"use strict";a.d(Le,{Ai:()=>N,T0:()=>v,_S:()=>c,df:()=>m,r4:()=>x});var t=a(2463),c=function(z){return 0===z?0:z/Math.abs(z)},m=function(z,ee,L){var f=!ee&&0!==ee,D=!L&&0!==L;
1return f&&(ee=D?z:Math.min(z,L)),D&&(L=f?z:Math.max(z,ee)),Math.min(Math.max(z,ee),L)},x=function(z,ee,L){return z>=ee&&z<=L};function _(z){return Math.abs(parseInt(z.toExponential().split("e")[1]))}function v(z,ee){var L=function b(z){var ee=z.toExponential().split("e"),L=parseFloat(ee[0]);return{exponent:parseInt(ee[1]),mantissa:L}}(z);return parseFloat("".concat(L.mantissa,"e").concat(L.exponent+ee))}function N(z,ee){var S,L=function p(z){var ee=z.toString();if(ee.indexOf(".")<0)return 0;var L=ee.split("."),f=L[1].indexOf("e");return f>=0?f:L[1].length}(ee||0)+2,f=z.toString().split("."),D=z,R=Math.abs(z),j=(0,t.O4)(z),fe=R>1?10:0;return 1===f.length?z:(j||((0,t.O4)(ee)&&(L=f[0].length+_(ee)),z=(z=R)-Math.floor(z)+fe),L=function M(){return"0.000300"!==3e-4.toPrecision(3)}()&&_(z)>6||L>7?15:7,j||(S=parseFloat(z.toPrecision(L)).toString().split("."))[0]!==fe.toString()?parseFloat(D.toPrecision(L)):parseFloat(f[0]+"."+S[1]))}},5652:(Nt,Le,a)=>{"use strict";a.d(Le,{ap:()=>x,tm:()=>b});var t=a(2463),c=a(8059),x=function(v,M){var p,P,N=[];for(p in v)Object.prototype.hasOwnProperty.call(v,p)&&N.push(p);for(N.sort(function(g,U){var G=(0,t.kf)(g),A=(0,t.kf)(U);return G&&A?g-U:G&&!A?-1:!G&&A?1:g<U?-1:g>U?1:0}),P=0;P<N.length;P++)M(p=N[P],v[p])},_=function(v,M,N,p){!p&&c.A.isWrapped(v[M])?c.A.assign(v[M],N):v[M]=N},b=function v(M,N,p,P){var g,U;for(var G in N)g=M[G],U=N[G],"__proto__"!==G&&"constructor"!==G&&M!==U&&((0,t.Qd)(U)&&(U=v((p?(0,t.Gv)(g):(0,t.Qd)(g))?g:{},U,p,P)),void 0!==U&&g!==U&&_(M,G,U,P));return M}},448:(Nt,Le,a)=>{"use strict";a.d(Le,{N:()=>x,n:()=>m});var t=a(3771),c=a(2463),m=_=>_??(0,t.A)().rtlEnabled?"right":"left",x=_=>(0,c.l6)(_)?{width:_.outerWidth,height:_.outerHeight}:_.getBoundingClientRect()}
1,9690:(Nt,Le,a)=>{"use strict";a.d(Le,{UK:()=>p,UU:()=>N,pV:()=>P});var t=a(8332),c=a(1269),m=a(2463),x=a(675),_="dxComponents",v=new WeakMap,M=0,N=function(g,U){if(!(0,m.O9)(U)){if(!v.has(g)){var G="dxPrivateComponent"+M++;return v.set(g,G),G}return v.get(g)}v.set(g,U)};function p(g,U,G){var A=(0,t.p)(g.get(0)),K=N(U.constructor);A[K]=U,G&&c.A.one(g,x.N,function(){G.call(U)}),A[_]||(A[_]=[]),A[_].push(K)}function P(g,U){var G=N(U);return(0,t.p)(g.get(0),G)}},2535:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>M});var t=a(7669),c=a(7041),m=a(4435),x=a(435),_=[],b=(0,x.A)(()=>{var N=t.A.listen(t.A.getDocument(),"DOMContentLoaded",()=>{v.fire(),N()})}),v={add:N=>{var p=(0,m.Vd)();p&&"loading"!==t.A.getReadyState()?N():(_.push(N),p&&b())},fire:()=>{_.forEach(N=>N()),_=[]}};const M=(0,c.A)(v)},348:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>v});var t=a(4435),c=a(7669),m=a(4423),x=a(2535),_=a(435);const v=function(){var M,N=(0,m.A)(),p=N.add,P=N.remove;if(!(0,t.Vd)())return N;var A,g=function(){var K=(0,t.zk)();return{width:K.innerWidth,height:K.innerHeight}},U=function(){var z,K=g();K.width===M.width&&K.height===M.height||(K.width===M.width&&(z="height"),K.height===M.height&&(z="width"),M=K,N.fire(z))},G=(0,_.A)(function(){M=g()});return N.add=function(){var K=p.apply(N,arguments);return G(),x.A.add(function(){!A&&N.has()&&(A=c.A.listen((0,t.zk)(),"resize",U))}),K},N.remove=function(){var K=P.apply(N,arguments);return!N.has()&&A&&(A(),A=void 0),K},N}()},6830:(Nt,Le,a)=>{"use strict";a.d(Le,{H:()=>x});var t=a(5042),c=a(2463),m=a(9407),x=function(_,b){this.getLocalFilter=function(P,g,U,G){return N.bind(this,g=void 0===g?t.RL:g,P,U,G)},this.getExpr=function(P){var g;if(P)return _.forEach(function(U,G){var A;g=g||[],G>0&&g.push(b?"and":"or"),A=(0,c.Kg)(P)?p(P,U):function(K,z){for(var ee=[],L=0,f=K.length;L<f;L++){var D=K[L],R=(0,m.Hz)(D),j=p(D,z&&R(z));if(!j)break;L>0&&ee.push(b?"or":"and"),ee.push(j)}return ee}(P,U),g.push(A)}),g&&1===g.length&&(g=g[0]),g},this.getCombinedFilter=function(P,g){var U=arguments.length>2&&void 0!==arguments[2]&&arguments[2],G=this.getExpr(P),A=G;return(U||b)&&g&&(G?((A=[]).push(G),A.push(g)):A=g),A};var v,M=function(P,g,U){return Array.isArray(U)?P.map(G=>g(G)):P};function N(P,g,U,G,A){var z,ee,K=g(A);if(!U&&(z=(0,t.GP)(K),!(0,c.Gv)(z)))return function(f,D){if(!v){v={};for(var R=M(_,f,D),S=0;S<R.length;S++)v[(0,t.GP)(R[S])]=!0}return v}(g,G)[z]?!b:!!b;for(ee=0;ee<_.length;ee++)if(P(_[ee],K))return!b;return!!b}function p(P,g){if(void 0!==g)return[P,b?"<>":"=",g]}}},4852:(Nt,Le,a)=>{"use strict";a.d(Le,{c:()=>N,m:()=>b});var t="dx-",c=null;function m(p){try{return new CSSStyleSheet}catch{var P=p.ownerDocument.createElement("style");return p.appendChild(P),P.sheet}}function x(p,P,g){for(var U=0;U<P.length;U++){var G=P[U];try{for(var A=0;A<G.cssRules.length;A++)_(p,G.cssRules[A],g)}catch{}}}function _(p,P,g){var U,G,A,K,z,ee;(g||(null===(U=P.selectorText)||void 0===U?void 0:U.includes(t))||(null===(G=P.cssRules)||void 0===G||null===(A=G[0])||void 0===A||null===(K=A.selectorText)||void 0===K?void 0:K.includes(t))||(null===(z=P.name)||void 0===z?void 0:z.startsWith(t))||"DXIcons"===(null===(ee=P.style)||void 0===ee?void 0:ee.fontFamily))&&p.insertRule(P.cssText,p.cssRules.length)}function b(p){var P,g=p.get(0),U=null===(P=g.getRootNode)||void 0===P?void 0:P.call(g);if(null!=U&&U.host){c||x(c=m(U),g.ownerDocument.styleSheets,!1);var G=m(U);x(G,U.styleSheets,!0),U.adoptedStyleSheets=[c,G]}}function v(p,P,g){var U=p.getBoundingClientRect();return U&&P>=U.left&&P<U.right&&g>=U.top&&g<U.bottom}function N(p,P,g){for(var U=function M(){var p=0,P=[];return{push(g){return P.push(g),this},shift:()=>(p++,P[p-1]),get length(){return P.length-p},get items(){return P}}}().push(g);U.length;)for(var G=U.shift(),A=0;A<G.childNodes.length;A++){var K=G.childNodes[A];K.nodeType===Node.ELEMENT_NODE&&v(K,p,P)&&"none"!==getComputedStyle(K).pointerEvents&&U.push(K)}var z=U.items.reverse();return z.pop(),z}},186:(Nt,Le,a)=>{"use strict";a.d(Le,{A3:()=>_e,GU:()=>v,NG:()=>re,OP:()=>ce,Oq:()=>fe,Ot:()=>J,P$:()=>W,RG:()=>S,d6:()=>ee,dh:()=>z,gP:()=>f,hP:()=>A,hh:()=>le,iT:()=>Y,k$:()=>H,pD:()=>L,yV:()=>Be,zj:()=>j});
1var t=a(4435),c=a(7669),m=a(2463),x=(0,t.zk)(),_=["auto","none","inherit","initial"],b=function(ne,Z){var ve=0;return Z.forEach(function(ke){ve+=parseFloat(ne[ke])||0}),ve},v=function(ne,Z){var ve="width"===ne?"Left":"Top",ke="width"===ne?"Right":"Bottom";return{padding:b(Z,["padding"+ve,"padding"+ke]),border:b(Z,["border"+ve+"Width","border"+ke+"Width"]),margin:b(Z,["margin"+ve,"margin"+ke])}},M=function(ne){var Z,ve=(null==ne||null===(Z=ne.ownerDocument)||void 0===Z?void 0:Z.defaultView)||x;return ve.getComputedStyle&&ve.getComputedStyle(ne)},N=function(ne,Z,ve,ke){var Ne;return Z?.[ve]||(null===(Ne=ne.style)||void 0===Ne?void 0:Ne[ve])||ke},p={content:0,padding:1,border:2,margin:3,"content-box":0,"border-box":2},P={width:["left","right"],height:["top","bottom"]};function g(ne,Z,ve,ke){var Ne=(De,et,yt)=>parseFloat(N(De,et,yt,"0"))||0,Ie="border"===ve?"-width":"";return Ne(ne,ke,"".concat(ve,"-").concat(P[Z][0]).concat(Ie))+Ne(ne,ke,"".concat(ve,"-").concat(P[Z][1]).concat(Ie))}var A=function(ne,Z,ve){return ne.indexOf("px")>0?ne=parseInt(ne.replace("px","")):ne.indexOf("%")>0?ne=parseInt(ne.replace("%",""))*function(ne){return(0,m.l6)(ne)?ne.innerHeight:ne.offsetHeight}(Z)/100:isNaN(ne)?ne.indexOf("vh")>0?ne=x.innerHeight/100*parseInt(ne.replace("vh","")):ve&&ne.indexOf("em")>0&&(ne=parseFloat(ne.replace("em",""))*parseFloat(x.getComputedStyle(ve).fontSize)):ne=parseInt(ne),ne},K=function(ne,Z,ve){return ne?_.indexOf(ne)>-1?Z?null:ne:((0,m.Kg)(ne)&&(ne=A(ne,ve)),(0,m.kf)(ne)?Math.max(0,ne+Z):"calc("+ne+(Z<0?" - ":" ")+Math.abs(Z)+"px)"):null},z=function(ne,Z,ve){var ke=K(ne,Z,ve);return null!==ke?ke:"none"},ee=function(ne,Z,ve){var ke=K(ne,Z,ve);return null!==ke?ke:0},L=function(ne,Z){if(!ne)return 0;var ve=v("height",x.getComputedStyle(ne));return ve.padding+ve.border+(Z?ve.margin:0)},f=function(ne){if(ne){var Z=ne.getBoundingClientRect();if(Z.height)return Z.height}return 0};function R(ne,Z,ve){return 2===arguments.length?ue(Z,ne):ue(Z,ne,ve)}var S=ne=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("width",...Z)}(ne),j=(ne,Z)=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("width",...Z)}(ne,Z),fe=ne=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("height",...Z)}(ne),H=(ne,Z)=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("height",...Z)}(ne,Z),J=(ne,Z)=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("outerWidth",...Z)}(ne,Z||!1),Y=(ne,Z)=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("outerWidth",...Z)}(ne,Z),W=(ne,Z)=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("outerHeight",...Z)}(ne,Z||!1),re=(ne,Z)=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("outerHeight",...Z)}(ne,Z),le=ne=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("innerWidth",...Z)}(ne),Be=ne=>function(){for(var ne=arguments.length,Z=new Array(ne),ve=0;ve<ne;ve++)Z[ve]=arguments[ve];return R("innerHeight",...Z)}(ne),ue=function ne(Z,ve,ke){var Ne=ve.toLowerCase().indexOf("width")>=0?"Width":"Height",Ie=Ne.toLowerCase(),De=0===ve.indexOf("outer"),et=0===ve.indexOf("inner"),yt=2===arguments.length||"boolean"==typeof ke;if((0,m.Kb)(Z)){if(Z.length>1&&!yt){for(var dt=0;dt<Z.length;dt++)ne(Z[dt],ve,ke);return}Z=Z[0]}if(Z){if((0,m.l6)(Z))return De?Z["inner"+Ne]:c.A.getDocumentElement()["client"+Ne];if(c.A.isDocument(Z)){var Je=c.A.getDocumentElement(),Ce=c.A.getBody();return Math.max(Ce["scroll"+Ne],Ce["offset"+Ne],Je["scroll"+Ne],Je["offset"+Ne],Je["client"+Ne])}if(yt){var we="content";return De&&(we=ke?"margin":"border"),et&&(we="padding"),function(ne,Z,ve){var ke="width"===Z?"offsetWidth":"offsetHeight",Ne=M(ne),Ie=N(ne,Ne,Z);(""===Ie||"auto"===Ie)&&(Ie=ne[ke]),Ie=parseFloat(Ie)||0;
1var De=N(ne,Ne,"boxSizing","content-box"),yt=p[ve||De],dt=p[De];if(void 0===yt||void 0===dt)throw new Error;if(dt===yt)return Ie;var Je=Math.sign(yt-dt),Ce=!1,we=!1,Ee=!1,He=!1;1===Je&&(yt+=1,dt+=1);for(var Ot=dt;Ot!==yt;Ot+=Je)switch(Ot){case p.content:break;case p.padding:Ce=Je*g(ne,Z,"padding",Ne);break;case p.border:we=Je*g(ne,Z,"border",Ne);break;case p.margin:Ee=Je*g(ne,Z,"margin",Ne)}if(Ce||we){var It=(!1===Ce?Je*g(ne,Z,"padding",Ne):Ce)+(!1===we?Je*g(ne,Z,"border",Ne):we);He=Je*Math.max(0,Math.floor(ne[ke]-Ie-Je*It))||0}return Ie+Ee+Ce+we+He}(Z,Ie,we)}if((0,m.kf)(ke)){var Ee=M(Z),He=v(Ie,Ee),Ot="border-box"===Ee.boxSizing;ke=Number(ke),De?ke-=Ot?0:He.border+He.padding:et?ke+=Ot?He.border:-He.padding:Ot&&(ke+=He.border+He.padding)}return ke+=(0,m.kf)(ke)?"px":"",c.A.setStyle(Z,Ie,ke),null}},ce=ne=>(0,m.l6)(ne)?ne:ne.defaultView,_e=ne=>{if(!ne.getClientRects().length)return{top:0,left:0};var Z=ne.getBoundingClientRect(),ve=ce(ne.ownerDocument),ke=ne.ownerDocument.documentElement;return{top:Z.top+ve.pageYOffset-ke.clientTop,left:Z.left+ve.pageXOffset-ke.clientLeft}}},2378:(Nt,Le,a)=>{"use strict";a.d(Le,{s:()=>m});var c=(0,a(4435).zk)(),m=function(){var x;try{x=c.sessionStorage}catch{}return x}},370:(Nt,Le,a)=>{"use strict";a.d(Le,{GP:()=>_,Im:()=>b,o4:()=>c,oN:()=>x});var v,t=a(2463),c=(v=[new RegExp("&","g"),new RegExp('"',"g"),new RegExp("'","g"),new RegExp("<","g"),new RegExp(">","g")],function(M){return String(M).replace(v[0],"&amp;").replace(v[1],"&quot;").replace(v[2],"&#39;").replace(v[3],"&lt;").replace(v[4],"&gt;")}),x=function(v){var M=function(v){switch(typeof v){case"string":return v.split(/\s+/,4);case"object":return[v.x||v.h||v.left,v.y||v.v||v.top,v.x||v.h||v.right,v.y||v.v||v.bottom];case"number":return[v];default:return v}}(v),N=parseInt(M&&M[0],10),p=parseInt(M&&M[1],10),P=parseInt(M&&M[2],10),g=parseInt(M&&M[3],10);return isFinite(N)||(N=0),isFinite(p)||(p=N),isFinite(P)||(P=N),isFinite(g)||(g=p),{top:p,right:P,bottom:g,left:N}};function _(v){for(var M=arguments.length,N=new Array(M>1?M-1:0),p=1;p<M;p++)N[p-1]=arguments[p];return(0,t.Tn)(v)?v(...N):(N.forEach((P,g)=>{(0,t.Kg)(P)&&(P=P.replace(/\$/g,"$$$$"));var U=new RegExp("\\{"+g+"\\}","gm");v=v.replace(U,P)}),v)}var b=function(){var v=/\s/g;return function(M){return!M||!M.replace(v,"")}}()},5918:(Nt,Le,a)=>{"use strict";a.d(Le,{CC:()=>U,Rb:()=>p,eC:()=>z,jA:()=>N,k$:()=>K,zj:()=>A});var t=a(8745),c=a(435),m=a(2463),x=a(7669),_=["","Webkit","Moz","O","Ms"],b={"":"",Webkit:"-webkit-",Moz:"-moz-",O:"-o-",ms:"-ms-"},v=(0,c.A)(function(){return x.A.createElement("dx").style}),N=function(ee){if(ee in v())return ee;var L=ee;ee=ee.charAt(0).toUpperCase()+ee.substr(1);for(var f=1;f<_.length;f++){var D=_[f].toLowerCase()+ee;if(D in v())return D}return L},p=function(ee){return function(ee,L){ee=(0,t.PT)(ee,!0);for(var f,D=0,R=_.length;D<R;D++){var S=_[D],j=S+ee;if(void 0===(f=L((0,t.PT)(j),S))&&(f=L(j,S)),void 0!==f)break}return f||""}(ee,function(L,f){if(L in v())return b[f]})},P=["fillOpacity","columnCount","flexGrow","flexShrink","fontWeight","lineHeight","opacity","zIndex","zoom"],U=function(ee,L){return(0,m.kf)(L)&&-1===P.indexOf(ee)&&(L+="px"),L},G=function(ee,L,f){if(ee){f=(0,m.kf)(f)?f+="px":f;for(var D=0;D<ee.length;++D)ee[D].style[L]=f}},A=function(ee,L){G(ee,"width",L)},K=function(ee,L){G(ee,"height",L)},z=function(ee,L){arguments.length>2&&void 0!==arguments[2]&&!arguments[2]||[].slice.call(ee.style).forEach(R=>{ee.style.removeProperty(R)}),L.split(";").forEach(R=>{var S=R.split(":").map(H=>H.trim());if(2===S.length){var[j,fe]=S;ee.style[j]=fe}})}},9900:(Nt,Le,a)=>{"use strict";a.r(Le),a.d(Le,{animation:()=>L,inputType:()=>p,nativeScrolling:()=>f,pointerEvents:()=>G,styleProp:()=>_.jA,stylePropPrefix:()=>_.Rb,supportProp:()=>M,touch:()=>K,touchEvents:()=>U,transition:()=>z,transitionEndEventName:()=>ee});var D,R,t=a(7669),c=a(435),m=a(4435),x=a(3862),_=a(5918),{maxTouchPoints:b}=(0,m.w3)(),v={webkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},M=function(D){return!!(0,_.jA)(D)},p=function(D){if("text"===D)return!0;var R=t.A.createElement("input");try{return R.setAttribute("type",D),R.value="wrongValue",!R.value}catch{return!1}},U=(R=b,((D=m.i5)("ontouchstart")||!!R)&&!D("callPhantom")),G=function(D){return D("PointerEvent")}(m.i5),K=U||G&&!!b,z=(0,c.A)(function(){return M("transition")}),ee=(0,c.A)(function(){return v[(0,_.jA)("transition")]}),L=(0,c.A)(function(){return M("animation")}),f=function(){var{platform:D,mac:R}=x.A.real();return"ios"===D||"android"===D||R}()},3468:(Nt,Le,a)=>{"use strict";a.d(Le,{Xl:()=>re,SN:()=>Y,zD:()=>D,jJ:()=>fe,pK:()=>R,AY:()=>J,I3:()=>H});var U,t=a(8168),c=a(3771),m=a(3862),x=a(181),_=a(7550),b=a(4292),v=a(9902),M=a(7465),N=a(2663),p=a(7963),P=a(2463),g={};function K(){return U}(function G(le,Re){g[le]=Re})("default",{compile:le=>(0,p.ki)(le),render:(le,Re,Be)=>le.clone()}),function A(le){if((0,P.Kg)(le)){if(!(U=g[le]))throw _.A.Error("E0020",le)}else U=le}("default");class z extends N.o{constructor(Re){super(),this._element=Re}_renderCore(Re){var Be=Re.transclude;return!Be&&!this._compiledTemplate&&(this._compiledTemplate=K().compile(this._element)),(0,b.A)("<div>").append(Be?this._element:K().render(this._compiledTemplate,Re.model,Re.index)).contents()}source(){return(0,b.A)(this._element).clone()}}var ee=a(9518),L=a(5042),f=a(7951),D=(le,Re)=>{var Be=(0,b.A)(le).contents().filter("[".concat("data-options",'*="').concat(Re,'"]'));return[].slice.call(Be).map(Fe=>{var ue=(0,b.A)(Fe).attr("data-options")||"";return{element:Fe,options:(0,c.A)().optionsParser(ue)[Re]}}).filter(Fe=>!!Fe.options)},R=le=>{var Re=(0,ee.$z)(le,Fe=>Fe.options.name);if(Re[void 0])throw _.A.Error("E0023");var Be={};return Object.keys(Re).forEach(Fe=>{var ue,ce=null===(ue=(0,L.hm)(m.A.current(),Re[Fe],_e=>_e.options)[0])||void 0===ue?void 0:ue.element;ce&&(Be[Fe]=ce)}),Be},S=le=>{var Re=le.render.bind(le);return(0,f.X)({},le,{render(Be){var Fe=Re(Be);return Be&&Be.onRendered&&Be.onRendered(),Fe}})},fe=le=>{var Re=[];return"model"in le&&Re.push(le.model),"index"in le&&Re.push(le.index),Re.push(le.container),Re},H=le=>"string"==typeof le?(0,p.ki)(le):le,J=le=>(0,P.Kb)(le)&&le[0]||le,Y=le=>new z(le),re=(le,Re,Be,Fe,ue,ce)=>null==le?new M.A:le instanceof v.M?ce[le.name]:le instanceof N.o?le:(0,P.Tn)(le.render)&&!(0,P.Kb)(le)?Fe?le:S(le):le.nodeType||(0,P.Kb)(le)?Re((0,b.A)(le)):((le,Re,Be,Fe)=>{var ue=null;return(!Fe||-1===Fe.indexOf(le))&&(ue=Re[le])&&!(ue instanceof N.o)&&((0,P.Tn)(ue.render)&&(ue=(le=>{var Re=le.render.bind(le);return(0,f.X)({},le,{render(Be){var Fe=(0,b.A)(Be.container);return Re((0,t.A)({},Be,{container:(0,x.c)(Fe)}))}})})(ue)),Be||(ue=S(ue))),ue})(le,Be,Fe,ue)||ce[le]||Re(le)},2463:(Nt,Le,a)=>{"use strict";a.d(Le,{$P:()=>_,Gv:()=>p,Kb:()=>A,Kg:()=>M,Lm:()=>m,NW:()=>c,O4:()=>x,O9:()=>b,Qd:()=>g,RI:()=>P,Tn:()=>v,kf:()=>N,l6:()=>G,sO:()=>U,uF:()=>z,xH:()=>ee,yL:()=>K});var t={"[object Array]":"array","[object Date]":"date","[object Object]":"object","[object String]":"string"},c=function(L){if(null===L)return"null";var f=Object.prototype.toString.call(L);return"object"==typeof L?t[f]||"object":typeof L},m=function(L){return"boolean"==typeof L},x=function(L){return N(L)&&-1!==L.toString().indexOf("e")},_=function(L){return"date"===c(L)},b=function(L){return null!=L},v=function(L){return"function"==typeof L},M=function(L){return"string"==typeof L},N=function(L){return"number"==typeof L&&isFinite(L)||!isNaN(L-parseFloat(L))},p=function(L){return"object"===c(L)},P=function(L){var f;for(f in L)return!1;return!0},g=function(L){if(!L||"object"!==c(L))return!1;var f=Object.getPrototypeOf(L);if(!f)return!0;var D=Object.hasOwnProperty.call(f,"constructor")&&f.constructor;return"function"==typeof D&&Object.toString.call(D)===Object.toString.call(Object)},U=function(L){return-1===["object","array","function"].indexOf(c(L))},G=function(L){return null!=L&&L===L.window},A=function(L){return!(!L||!L.jquery&&!L.dxRenderer)},K=function(L){return!!L&&v(L.then)},z=function(L){return!!L&&v(L.done)&&v(L.fail)},ee=function(L){return!(!L||!L.preventDefault)}},8059:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=a(5978);const m=(0,a(7041).A)({isWrapped:function(){return!1},isWritableWrapped:function(){return!1},wrap:function(x){return x},unwrap:function(x){return x},assign:function(){t.v.error("Method 'assign' should not be used for not wrapped variables. Use 'isWrapped' method for ensuring.")}})},9011:(Nt,Le,a)=>{"use strict";function t(c,m,x){function _(p){return"string"==typeof p?p.split("."):"number"==typeof p?[p]:p}c=_(c),m=_(m);var b=Math.max(c.length,m.length);isFinite(x)&&(b=Math.min(b,x));for(var v=0;v<b;v++){var M=parseInt(c[v]||0,10),N=parseInt(m[v]||0,10);if(M<N)return-1;if(M>N)return 1}return 0}a.d(Le,{U:()=>t})},3558:(Nt,Le,a)=>{"use strict";a.d(Le,{Uq:()=>v,WV:()=>_,s$:()=>M});var t=a(4292),c=a(2535),m=a(4423),x=c.A.add,_=(0,m.A)(),b=(0,t.A)(),v=function(){var N;return function(p){if(!arguments.length)return N;var P=(0,t.A)(p);b=P;var g=!!P.length,U=v();N=g?P:(0,t.A)("body"),_.fire(g?v():(0,t.A)(),U)}}();function M(){return b}x(function(){v(".dx-viewport")})},4435:(Nt,Le,a)=>{"use strict";a.d(Le,{Vd:()=>m,i5:()=>v,ne:()=>N,w3:()=>p,zY:()=>M,zk:()=>_});var t=a(7669),c=typeof window<"u",m=()=>c,x=m()?window:void 0;x||((x={}).window=x);var _=()=>x,v=P=>m()&&P in x,M=P=>P<768?"xs":P<992?"sm":P<1200?"md":"lg",N=P=>(P||M)(t.A.getDocumentElement().clientWidth),p=()=>m()?x.navigator:{userAgent:""}},1721:(Nt,Le,a)=>{"use strict";a.d(Le,{r:()=>t});var t="23.2.5"},4168:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>K});var t=a(8168),c=a(6221),m=a(7278),x=a(2101),_=a(1591),b=a(5571),v=a(9407),M=a(7514),N=a(2984),p=a(5042),P=a(2463),g=c.A.abstract,U=M.A.queryByOptions,G={},A=c.A.inherit({_langParams:{},ctor:function(z){var ee=this;z=z||{},this._eventsStrategy=new m.h(this),(0,x.__)(["onLoaded","onLoading","onInserted","onInserting","onUpdated","onUpdating","onPush","onRemoved","onRemoving","onModified","onModifying"],function(L,f){f in z&&ee.on(f.slice(2).toLowerCase(),z[f])}),this._key=z.key,this._errorHandler=z.errorHandler,this._useDefaultSearch=!0},_clearCache:p.lQ,_customLoadOptions:function(){return null},key:function(){return this._key},keyOf:function(z){return this._keyGetter||(this._keyGetter=(0,v.Hz)(this.key())),this._keyGetter(z)},_requireKey:function(){if(!this.key())throw _.sO.Error("E4005")},load:function(z){var ee=this;return this._eventsStrategy.fireEvent("loading",[z=z||{}]),this._withLock(this._loadImpl(z)).done(function(L){ee._eventsStrategy.fireEvent("loaded",[L,z])})},_loadImpl:function(z){return(0,P.RI)(this._langParams)||((z=z||{})._langParams=(0,t.A)({},this._langParams,z._langParams)),U(this.createQuery(z),z).enumerate()},_withLock:function(z){var ee=new N.cY;return z.done(function(){var L=this,f=arguments;b.D9.promise().done(function(){ee.resolveWith(L,f)})}).fail(function(){ee.rejectWith(this,arguments)}),ee},createQuery:g,totalCount:function(z){return this._totalCountImpl(z)},_totalCountImpl:function(z){return U(this.createQuery(z),z,!0).count()},byKey:function(z,ee){return this._addFailHandlers(this._withLock(this._byKeyImpl(z,ee)))}
1,_byKeyImpl:g,insert:function(z){var ee=this;return ee._eventsStrategy.fireEvent("modifying"),ee._eventsStrategy.fireEvent("inserting",[z]),ee._addFailHandlers(ee._insertImpl(z).done(function(L,f){ee._eventsStrategy.fireEvent("inserted",[L,f]),ee._eventsStrategy.fireEvent("modified")}))},_insertImpl:g,update:function(z,ee){var L=this;return L._eventsStrategy.fireEvent("modifying"),L._eventsStrategy.fireEvent("updating",[z,ee]),L._addFailHandlers(L._updateImpl(z,ee).done(function(){L._eventsStrategy.fireEvent("updated",[z,ee]),L._eventsStrategy.fireEvent("modified")}))},_updateImpl:g,push:function(z){var ee={changes:z,waitFor:[]};this._eventsStrategy.fireEvent("beforePushAggregation",[ee]),(0,N.z7)(...ee.waitFor).done(()=>{this._pushImpl(z),this._eventsStrategy.fireEvent("beforePush",[{changes:z}]),this._eventsStrategy.fireEvent("push",[z])})},_pushImpl:p.lQ,remove:function(z){var ee=this;return ee._eventsStrategy.fireEvent("modifying"),ee._eventsStrategy.fireEvent("removing",[z]),ee._addFailHandlers(ee._removeImpl(z).done(function(L){ee._eventsStrategy.fireEvent("removed",[L]),ee._eventsStrategy.fireEvent("modified")}))},_removeImpl:g,_addFailHandlers:function(z){return z.fail(this._errorHandler).fail(_.H4)},on(z,ee){return this._eventsStrategy.on(z,ee),this},off(z,ee){return this._eventsStrategy.off(z,ee),this}});A.create=function(z,ee){if(!(z in G))throw _.sO.Error("E4020",z);return new G[z](ee)},A.registerClass=function(z,ee){return ee&&(G[ee]=z),z},A.inherit=function(z){return function(ee,L){var f=z.apply(this,[ee]);return A.registerClass(f,L),f}}(A.inherit);const K=A},4472:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>f});var t=a(6221),c=a(2463),m=a(2101),x=a(9407),_=a(2984),b=a(1591),v=a(5571),M=t.A.inherit({toArray:function(){var D=[];for(this.reset();this.next();)D.push(this.current());return D},countable:function(){return!1}}),N=M.inherit({ctor:function(D){this.array=D,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}}
1),p=M.inherit({ctor:function(D){this.iter=D},next:function(){return this.iter.next()},current:function(){return this.iter.current()},reset:function(){return this.iter.reset()}}),P=p.inherit({ctor:function(D,R){this.callBase(D),this.index=-1,this.mapper=R},current:function(){return this.mapper(this.callBase(),this.index)},next:function(){var D=this.callBase();return D&&this.index++,D}}),U=M.inherit({ctor:function(D,R,S,j){this.langParams=D.langParams,D instanceof P||((D=new P(D,this._wrap)).langParams=this.langParams),this.iter=D,this.rules=[{getter:R,desc:S,compare:j,langParams:this.langParams}]},thenBy:function(D,R,S){var j=new U(this.sortedIter||this.iter,D,R,S);return this.sortedIter||(j.rules=this.rules.concat(j.rules)),j},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 D=this;D.sortedIter||((0,m.__)(D.rules,function(){this.getter=(0,x.Hz)(this.getter)}),D.sortedIter=new P(new N(this.iter.toArray().sort(function(R,S){return D._compare(R,S)})),D._unwrap))},_wrap:function(D,R){return{index:R,value:D}},_unwrap:function(D){return D.value},_getDefaultCompare:D=>(R,S)=>function(D,R,S){return(0,c.Kg)(D)&&(0,c.Kg)(R)&&(null!=S&&S.locale||null!=S&&S.collatorOptions)?new Intl.Collator(S?.locale||void 0,S?.collatorOptions||void 0).compare(D,R):(D=(0,x.ao)(D,!1,S),R=(0,x.ao)(R,!1,S),null===D&&null!==R?-1:null!==D&&null===R||void 0===D&&void 0!==R?1:void 0!==D&&void 0===R||D<R?-1:D>R?1:0)}(R,S,D),_compare:function(D,R){var S=D.index,j=R.index;if((D=D.value)===(R=R.value))return S-j;for(var fe=0,H=this.rules.length;fe<H;fe++){var J=this.rules[fe],Y=J.getter(D),W=J.getter(R),le=(J.compare||this._getDefaultCompare(J.langParams))(Y,W);if(le)return J.desc?-le:le}return S-j}}),G=function(){var D={},R=fe=>(0,x.ao)(fe,!1,D),S=function(fe){var H;return(0,c.O9)(fe)?null!==(H=D)&&void 0!==H&&H.locale?fe.toLocaleString(D.locale):fe.toString():""};function j(fe,H,J){return function(Y){Y=R(fe(Y));var W=function(re){return""===re||0===re||!1===re}(H)?Y===H:Y==H;return J&&(W=!W),W}}return function(fe,H){return D=H||{},(0,c.Tn)(fe)?fe:(0,v.$A)(fe)?(Y=[],W=!1,re=!1,(0,m.__)(fe,function(){if(Array.isArray(this)||(0,c.Tn)(this)){if(Y.length>1&&W!==re)throw new b.sO.Error("E4019");Y.push(G(this,D)),W=re,re=!0}else re=(0,v.LO)(this)}),function(le){for(var Re=W,Be=0;Be<Y.length;Be++)if(Y[Be](le)!==W){Re=!W;break}return Re}):(0,v.bF)(fe)?function(J){var Y=J[0],W=G(J[1],D);if("!"===Y)return function(re){return!W(re)};throw b.sO.Error("E4003",Y)}(fe):function(J){J=(0,v.aE)(J);var Y=(0,x.Hz)(J[0]),W=J[1],re=J[2];re=R(re);var le=(Re,Be)=>(Re=R(Y(Re)),(null!=re&&null!=Re||re===Re)&&Be(Re,re));switch(W.toLowerCase()){case"=":return j(Y,re);case"<>":return j(Y,re,!0);case">":return Re=>le(Re,(Be,Fe)=>Be>Fe);case"<":return Re=>le(Re,(Be,Fe)=>Be<Fe);case">=":return Re=>le(Re,(Be,Fe)=>Be>=Fe);case"<=":return Re=>le(Re,(Be,Fe)=>Be<=Fe);case"startswith":return function(Re){return 0===R(S(Y(Re))).indexOf(re)};case"endswith":return function(Re){var Be=R(S(Y(Re))),Fe=S(re);if(Be.length<Fe.length)return!1;var ue=Be.lastIndexOf(re);return-1!==ue&&ue===Be.length-re.length};case"contains":return function(Re){return R(S(Y(Re))).indexOf(re)>-1};case"notcontains":return function(Re){return-1===R(S(Y(Re))).indexOf(re)}}throw b.sO.Error("E4003",W)}(fe);var Y,W,re}}(),A=p.inherit({ctor:function(D,R){this.callBase(D),this.langParams=D.langParams,this.criteria=G(R,this.langParams)},next:function(){for(;this.iter.next();)if(this.criteria(this.current()))return!0;return!1}}),K=M.inherit({ctor:function(D,R){this.iter=D,this.getter=R},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 D={},R=[],S=this.iter,j=(0,x.Hz)(this.getter);for(S.reset();S.next();){var fe=S.current(),H=j(fe);H in D?D[H].push(fe):(D[H]=[fe],R.push(H))}
1this.groupedIter=new N((0,m.Tj)(R,function(J){return{key:J,items:D[J]}}))}}}),z=p.inherit({ctor:function(D,R){this.callBase(D),this.getter=(0,x.Hz)(R)},current:function(){return this.getter(this.callBase())},countable:function(){return this.iter.countable()},count:function(){return this.iter.count()}}),ee=p.inherit({ctor:function(D,R,S){this.callBase(D),this.skip=Math.max(0,R),this.take=Math.max(0,S),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 f=function D(R,S){S=S||{},R instanceof M||(R=new N(R)),S.langParams&&(R.langParams=S.langParams);var j=function(re){var le=S.errorHandler;le&&le(re),(0,b.H4)(re)},fe=function(re){var le=(new _.cY).fail(j),Be=re.step,Fe=re.finalize;try{R.reset();for(var ue=("seed"in re?re.seed:R.next()?R.current():NaN);R.next();)ue=Be(ue,R.current());le.resolve(Fe?Fe(ue):ue)}catch(ce){le.reject(ce)}return le.promise()},H=function(re){return fe(v.zL[re])},J=function(re){return!(0,c.Tn)(re)&&!Array.isArray(re)&&(re=[].slice.call(arguments)),W(new z(R,re))},Y=function(re){return J((0,x.Hz)(re))};function W(re){return D(re,S)}return{toArray:function(){return R.toArray()},enumerate:function(){var re=(new _.cY).fail(j);try{re.resolve(R.toArray())}catch(le){re.reject(le)}return re.promise()},setLangParams(re){R.langParams=re},sortBy:function(re,le,Re){return W(new U(R,re,le,Re))},thenBy:function(re,le,Re){if(R instanceof U)return W(R.thenBy(re,le,Re));throw b.sO.Error("E4004")},filter:function(re){return Array.isArray(re)||(re=[].slice.call(arguments)),W(new A(R,re))},slice:function(re,le){return void 0===le&&(le=Number.MAX_VALUE),W(new ee(R,re,le))},select:J,groupBy:function(re){return W(new K(R,re))},aggregate:function(re,le,Re){return fe(arguments.length<2?{step:arguments[0]}:{seed:re,step:le,finalize:Re})},count:function(){if(R.countable()){var re=(new _.cY).fail(j);try{re.resolve(R.count())}catch(le){re.reject(le)}return re.promise()}return H("count")},sum:function(re){return re?Y(re).sum():H("sum")},min:function(re){return re?Y(re).min():H("min")},max:function(re){return re?Y(re).max():H("max")},avg:function(re){return re?Y(re).avg():H("avg")}}}},2097:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>v});var t=a(5571),c=a(9845),m=a(1591),x=a(4168),_=a(1774);const v=x.A.inherit({ctor:function(M){M=Array.isArray(M)?{data:M}:M||{},this.callBase(M);var N=M.data;if(N&&!Array.isArray(N))throw m.sO.Error("E4006");this._array=N||[]},createQuery:function(){return(0,c.A)(this._array,{errorHandler:this._errorHandler})},_byKeyImpl:function(M){var N=(0,_.Xb)(this,this._array,M);return-1===N?(0,t.OE)(m.sO.Error("E4009")):(0,t.DO)(this._array[N])},_insertImpl:function(M){return(0,_.Yr)(this,this._array,M)},_pushImpl:function(M){(0,_.VK)({keyInfo:this,data:this._array,changes:M})},_updateImpl:function(M,N){return(0,_.yo)(this,this._array,M,N)},_removeImpl:function(M){return(0,_.TF)(this,this._array,M)},clear:function(){this._eventsStrategy.fireEvent("modifying"),this._array=[],this._eventsStrategy.fireEvent("modified")}},"array")},1774:(Nt,Le,a)=>{"use strict";a.d(Le,{TF:()=>j,VK:()=>L,Xb:()=>fe,Yr:()=>S,lj:()=>ee,yo:()=>R});var t=a(8168),c=a(2463),m=a(3771),x=a(3992),_=a(7951),b=a(1591),v=a(5652),N=(a(9407),a(5571));function P(H,J,Y,W){var le;if(W){for(var Re=0;Re<J.length;Re++)if(le=P(H,J[Re].items||J[Re].collapsedItems||[]||[],Y,W-1))return le}else if(fe(H,J,Y)>=0)return J}function g(H,J,Y,W){return W?P(H,J,Y,W)||[]:J}function K(H,J,Y){H._dataByKeyMap&&(H._dataByKeyMap[JSON.stringify(J)]=Y,H._dataByKeyMapLength+=Y?1:-1)}function z(H,J,Y){Y=Y||new WeakMap;var W=H?Object.create(Object.getPrototypeOf(H)):{};H&&Y.set(H,W);var re=(0,t.A)({},H);for(var le in(0,v.tm)(W,re,!0,!0),re){var Re=re[le],Be=J?.[le];(0,c.Gv)(Re)&&!(0,c.Qd)(Re)&&(0,c.Gv)(Be)&&!Y.has(Re)&&(W[le]=z(Re,Be,Y))}for(var Fe in W){var ue=W[Fe];(0,c.Gv)(ue)&&Y.has(ue)&&(W[Fe]=Y.get(ue))}return W}function ee(H,J){var Y=z(H,J);return(0,v.tm)(Y,J,!0,!0)}function L(H){var{keyInfo:J,data:Y,changes:W,groupCount:re,useInsertIndex:le,immutable:Re,disableCache:Be,logError:Fe,skipCopying:ue}=H,ce=!0===Re?[...Y]:Y;return W.forEach(_e=>{var ne="insert"===_e.type?ce:g(J,ce,_e.key,re);switch(!Be&&function U(H,J){if(H.key()&&(!J._dataByKeyMap||J._dataByKeyMapLength!==J.length)){for(var Y={},W=J.length,re=0;re<W;re++)Y[JSON.stringify(H.keyOf(J[re]))]=J[re];J._dataByKeyMap=Y,J._dataByKeyMapLength=W}}(J,ne),_e.type){case"update":R(J,ne,_e.key,_e.data,!0,Re,Fe);break;case"insert":S(J,ne,_e.data,le&&(0,c.O9)(_e.index)?_e.index:-1,!0,Fe,ue);break;case"remove":j(J,ne,_e.key,!0,Fe)}}),ce}function f(H,J,Y){return H?J&&b.sO.log(Y):(0,N.OE)(b.sO.Error(Y))}function R(H,J,Y,W,re,le,Re){var Be,Fe=H.key();if(Fe){if(function p(H,J){for(var W="string"==typeof J?J.split():J.slice();W.length;)if(W.shift()in H)return!0;return!1}(W,Fe)&&!(0,N.t7)(Fe,Y,H.keyOf(W)))return f(re,Re,"E4017");if(Be=function G(H,J){if(H._dataByKeyMap)return H._dataByKeyMap[JSON.stringify(J)]}(J,Y),!Be){var ue=fe(H,J,Y);if(ue<0)return f(re,Re,"E4009");if(Be=J[ue],!0===le&&(0,c.O9)(Be)){var ce=ee(Be,W);return J[ue]=ce,!re&&(0,N.DO)(ce,Y)}}}else Be=Y;if((0,v.tm)(Be,W,!0),!re)return(0,m.A)().useLegacyStoreResult?(0,N.DO)(Y,W):(0,N.DO)(Be,Y)}function S(H,J,Y,W,re,le,Re){var Be,Fe=H.key(),ue=(0,c.Qd)(Y)&&!
1Re?(0,_.X)({},Y):Y;if(Fe){if(void 0===(Be=H.keyOf(ue))||"object"==typeof Be&&(0,c.RI)(Be)){if(Array.isArray(Fe))throw b.sO.Error("E4007");Be=ue[Fe]=String(new x.A)}else if(void 0!==J[fe(H,J,Be)])return f(re,le,"E4008")}else Be=ue;if(W>=0?J.splice(W,0,ue):J.push(ue),K(J,Be,ue),!re)return(0,N.DO)((0,m.A)().useLegacyStoreResult?Y:ue,Be)}function j(H,J,Y,W,re){var le=fe(H,J,Y);return le>-1&&(J.splice(le,1),K(J,Y,null)),W?le<0?f(W,re,"E4009"):void 0:(0,N.DO)(Y)}function fe(H,J,Y){var W=H.key();if(!function A(H,J){return!H._dataByKeyMap||H._dataByKeyMap[JSON.stringify(J)]}(J,Y))return-1;for(var re=0,le=J.length;re<le;re++)if((0,N.t7)(W,H.keyOf(J[re]),Y))return re;return-1}},6305:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>W});var t=a(4292),c=a(5571),m=a(1774),x=a(2463),_=a(3771),b=a(1591),v=a(4168),M=a(4472),N=a(7514),p=a(2984),P="totalCount",g="load",U="byKey",G="insert",A="update",K="remove";function z(re){return re&&(0,x.Tn)(re.then)}function ee(re){return(new p.cY).resolve(re).promise()}function L(re,le){if(!(0,x.Tn)(le))throw b.sO.Error("E4011",re)}function f(re){throw b.sO.Error("E4012",re)}function D(re){return function(Re){var Be;(Be=Re instanceof Error?Re:new Error(function le(Re){var Be=Re[0];return Be&&Be.getResponseHeader?(0,c.m9)(Be,Re[1]):null}(arguments)||Re&&String(Re)||"Unknown error")).message!==c.SR&&re.reject(Be)}}function R(re,le){var Be,Re=re._loadFunc;return L(g,Re),Be=Re.apply(re,[le]),Array.isArray(Be)?Be=ee(Be):null==Be?Be=ee([]):z(Be)||f(g),(0,p.Sx)(Be)}function fe(re,le,Re,Be){if(le.__rawData)Be(le.__rawData);else{var Fe=le.__rawDataPromise||R(le,Re);le._cacheRawData&&(le.__rawDataPromise=Fe),Fe.always(function(){delete le.__rawDataPromise}).done(function(ue){le._cacheRawData&&(le.__rawData=ue),Be(ue)}).fail(D(re))}}function H(re,le,Re,Be){var Fe={};"userData"in(Re=Re||{})&&(Fe.userData=Re.userData),fe(re,le,Fe,function(ue){var _e,ne,ve,ke,ce=(0,M.A)(ue,{errorHandler:le._errorHandler}),Z=[];Be||((_e=N.A.queryByOptions(ce,Re))===ce?ve=ue.slice(0):Z.push(_e.enumerate().done(function(Ne){ve=Ne}))),(Re.requireTotalCount||Be)&&((ne=N.A.queryByOptions(ce,Re,!0))===ce?ke=ue.length:Z.push(ne.count().done(function(Ne){ke=Ne}))),p.z7.apply(t.A,Z).done(function(){Be?re.resolve(ke):Re.requireTotalCount?re.resolve(ve,{totalCount:ke}):re.resolve(ve)}).fail(function(Ne){re.reject(Ne)})})}const W=v.A.inherit({ctor:function(re){this.callBase(re=re||{}),this._useDefaultSearch=!!re.useDefaultSearch||"raw"===re.loadMode,this._loadMode=re.loadMode,this._cacheRawData=!1!==re.cacheRawData,this._loadFunc=re[g],this._totalCountFunc=re[P],this._byKeyFunc=re[U],this._insertFunc=re[G],this._updateFunc=re[A],this._removeFunc=re[K]},_clearCache(){delete this.__rawData},createQuery:function(){throw b.sO.Error("E4010")},clearRawDataCache:function(){this._clearCache()},_totalCountImpl:function(re){var le=new p.cY;return"raw"!==this._loadMode||this._totalCountFunc?(function S(re,le){var Be,Re=re._totalCountFunc;if(!(0,x.Tn)(Re))throw b.sO.Error("E4021");return z(Be=Re.apply(re,[le]))||(Be=Number(Be),isFinite(Be)||f(P),Be=ee(Be)),(0,p.Sx)(Be)}(this,re).done(function(Re){le.resolve(Number(Re))}).fail(D(le)),le=this._addFailHandlers(le)):H(le,this,re,!0),le.promise()},_pushImpl:function(re){this.__rawData&&(0,m.VK)({keyInfo:this,data:this.__rawData,changes:re})},_loadImpl:function(re){var le=new p.cY;return"raw"===this._loadMode?H(le,this,re,!1):(R(this,re).done(function(Re,Be){le.resolve(Re,Be)}).fail(D(le)),le=this._addFailHandlers(le)),le.promise()},_byKeyImpl:function(re,le){var Re=new p.cY;return this._byKeyViaLoad()?(this._requireKey(),function J(re,le,Re){fe(re,le,{},function(Be){for(var ue,Fe=le.key(),ce=0,_e=Be.length;ce<_e;ce++)if(ue=Be[ce],(0,c.t7)(Fe,le.keyOf(Be[ce]),Re))return void re.resolve(ue);re.reject(b.sO.Error("E4009"))})}(Re,this,re)):function j(re,le,Re){var Fe,Be=re._byKeyFunc;return L(U,Be),z(Fe=Be.apply(re,[le,Re]))||(Fe=ee(Fe)),(0,p.Sx)(Fe)}(this,re,le).done(function(Be){Re.resolve(Be)}).fail(D(Re)),Re.promise()},_byKeyViaLoad:function(){return"raw"===this._loadMode&&!this._byKeyFunc},_insertImpl:function(re){var Be,le=this,Re=le._insertFunc,Fe=new p.cY;return L(G,Re),z(Be=Re.apply(le,[re]))||(Be=ee(Be)),(0,p.Sx)(Be).done(function(ue){(0,_.A)().useLegacyStoreResult?Fe.resolve(re,ue):Fe.resolve(ue||re,le.keyOf(ue))}).fail(D(Fe)),Fe.promise()},_updateImpl:function(re,le){var Be,Re=this._updateFunc,Fe=new p.cY;return L(A,Re),z(Be=Re.apply(this,[re,le]))||(Be=ee(Be)),(0,p.Sx)(Be).done(function(ue){(0,_.A)().useLegacyStoreResult?Fe.resolve(re,le):Fe.resolve(ue||le,re)}).fail(D(Fe)),Fe.promise()},_removeImpl:function(re){var Re,le=this._removeFunc,Be=new p.cY;return L(K,le),z(Re=le.apply(this,[re]))||(Re=ee()),(0,p.Sx)(Re).done(function(){Be.resolve(re)}).fail(D(Be)),Be.promise()}})},5333:(Nt,Le,a)=>{"use strict";a.d(Le,{q:()=>ee});var t=a(8168),c=a(6221),m=a(7951),x=a(5042),_=a(2101),b=a(2463),v=a(5571),M=a(1774),N=a(6305),p=a(7278),P=a(1591),g=a(7550),U=a(2984);function G(L){var f=[],D=!1;function R(){for(;f.length;){D=!0;var j=f.shift()();
1if(void 0!==j){if(j.then)return void(0,U.z7)(j).always(R);throw g.A.Error("E0015")}}D=!1}return{add:function(S,j){L?(f[0]&&j&&j(f[0]),f=[S]):f.push(S),D||R()},busy:function(){return D}}}G();var K=a(1076);class z{constructor(){this._counter=-1,this._deferreds={}}add(f){return this._counter++,this._deferreds[this._counter]=f,this._counter}remove(f){return delete this._deferreds[f]}cancel(f){return f in this._deferreds&&(this._deferreds[f].reject(K.uK),!0)}cancelAll(){for(;this._counter>-1;)this.cancel(this._counter),this._counter--}}var ee=c.A.inherit({ctor(L){var f;if(L=(0,K.ho)(L),this._eventsStrategy=new p.h(this,{syncStrategy:!0}),this._store=L.store,this._changedTime=0,0!==L.pushAggregationTimeout){var S,j,fe=(0,v.oK)(H=>{S.resolve(),(0,U.z7)(...j).done(()=>this._onPush(H)),j=void 0,S=void 0},void 0===L.pushAggregationTimeout?()=>5*this._changedTime:L.pushAggregationTimeout);this._onPushHandler=H=>{this._aggregationTimeoutId=fe(H.changes),S||(S=new U.cY),j=H.waitFor,H.waitFor.push(S.promise())},this._store.on("beforePushAggregation",this._onPushHandler)}else this._onPushHandler=H=>this._onPush(H),this._store.on("push",this._onPushHandler);this._storeLoadOptions=this._extractLoadOptions(L),this._mapFunc=L.map,this._postProcessFunc=L.postProcess,this._pageIndex=void 0!==L.pageIndex?L.pageIndex:0,this._pageSize=void 0!==L.pageSize?L.pageSize:20,this._loadingCount=0,this._loadQueue=this._createLoadQueue(),this._searchValue="searchValue"in L?L.searchValue:null,this._searchOperation=L.searchOperation||"contains",this._searchExpr=L.searchExpr,this._paginate=L.paginate,this._reshapeOnPush=null!==(f=L.reshapeOnPush)&&void 0!==f&&f,(0,_.__)(["onChanged","onLoadError","onLoadingChanged","onCustomizeLoadResult","onCustomizeStoreLoadOptions"],(H,J)=>{J in L&&this.on(J.substr(2,1).toLowerCase()+J.substr(3),L[J])}),this._operationManager=new z,this._init()},_init(){this._items=[],this._userData={},this._totalCount=-1,this._isLoaded=!1,(0,b.O9)(this._paginate)||(this._paginate=!this.group()),this._isLastPage=!this._paginate},dispose(){var L;this._store.off("beforePushAggregation",this._onPushHandler),this._store.off("push",this._onPushHandler),this._eventsStrategy.dispose(),clearTimeout(this._aggregationTimeoutId),null===(L=this._delayedLoadTask)||void 0===L||L.abort(),this._operationManager.cancelAll(),delete this._store,delete this._items,delete this._delayedLoadTask,this._disposed=!0},_extractLoadOptions(L){var f={},D=["sort","filter","langParams","select","group","requireTotalCount"],R=this._store._customLoadOptions();return R&&(D=D.concat(R)),(0,_.__)(D,function(){f[this]=L[this]}),f},loadOptions(){return this._storeLoadOptions},items(){return this._items},pageIndex(L){if(!(0,b.kf)(L))return this._pageIndex;this._pageIndex=L,this._isLastPage=!this._paginate},paginate(L){if(!(0,b.Lm)(L))return this._paginate;this._paginate!==L&&(this._paginate=L,this.pageIndex(0))},pageSize(L){if(!(0,b.kf)(L))return this._pageSize;this._pageSize=L},isLastPage(){return this._isLastPage},generateStoreLoadOptionAccessor(L){return f=>{var D=(0,K.Rc)(f);if(void 0===D)return this._storeLoadOptions[L];this._storeLoadOptions[L]=D}},sort(){for(var L=arguments.length,f=new Array(L),D=0;D<L;D++)f[D]=arguments[D];return this.generateStoreLoadOptionAccessor("sort")(f)},filter(){var L=(0,K.Rc)(arguments);if(void 0===L)return this._storeLoadOptions.filter;this._storeLoadOptions.filter=L,this.pageIndex(0)},group(){for(var L=arguments.length,f=new Array(L),D=0;D<L;D++)f[D]=arguments[D];return this.generateStoreLoadOptionAccessor("group")(f)},select(){for(var L=arguments.length,f=new Array(L),D=0;D<L;D++)f[D]=arguments[D];return this.generateStoreLoadOptionAccessor("select")(f)},requireTotalCount(L){if(!(0,b.Lm)(L))return this._storeLoadOptions.requireTotalCount;this._storeLoadOptions.requireTotalCount=L},searchValue(L){if(arguments.length<1)return this._searchValue;this._searchValue=L,this.pageIndex(0)},searchOperation(L){if(!(0,b.Kg)(L))return this._searchOperation;this._searchOperation=L,this.pageIndex(0)},searchExpr(L){var f=arguments.length;if(0===f)return this._searchExpr;f>1&&(L=[].slice.call(arguments)),this._searchExpr=L,this.pageIndex(0)},store(){return this._store},key(){var L;return null===(L=this._store)||void 0===L?void 0:L.key()},totalCount(){return this._totalCount},isLoaded(){return this._isLoaded},isLoading(){return this._loadingCount>0},beginLoading(){this._changeLoadingCount(1)},endLoading(){this._changeLoadingCount(-1)},_createLoadQueue:()=>G(),_changeLoadingCount(L){var f=this.isLoading();this._loadingCount+=L;var D=this.isLoading();f^D&&this._eventsStrategy.fireEvent("loadingChanged",[D])}
1,_scheduleLoadCallbacks(L){this.beginLoading(),L.always(()=>{this.endLoading()})},_scheduleFailCallbacks(L){var f=this;L.fail(function(){for(var D=arguments.length,R=new Array(D),S=0;S<D;S++)R[S]=arguments[S];R[0]!==K.uK&&f._eventsStrategy.fireEvent("loadError",R)})},_fireChanged(L){var f=new Date;this._eventsStrategy.fireEvent("changed",L),this._changedTime=new Date-f},_scheduleChangedCallbacks(L){L.done(()=>this._fireChanged())},loadSingle(L,f){var D=new U.cY,R=this.key(),S=this._store,j=this._createStoreLoadOptions();return this._scheduleFailCallbacks(D),arguments.length<2&&(f=L,L=R),delete j.skip,delete j.group,delete j.refresh,delete j.pageIndex,delete j.searchString,(L===R||S instanceof N.A&&!S._byKeyViaLoad()?S.byKey(f,j):(j.take=1,j.filter=j.filter?[j.filter,[L,f]]:[L,f],S.load(j))).fail(D.reject).done(fe=>{var H=Array.isArray(fe)&&!fe.length;!(0,b.O9)(fe)||H?D.reject(new P.sO.Error("E4009")):(Array.isArray(fe)||(fe=[fe]),D.resolve(this._applyMapFunction(fe)[0]))}),D.promise()},load(){var L=new U.cY,f=()=>{if(!this._disposed&&(0,K.mm)(L))return this._loadFromStore(D,L)};this._scheduleLoadCallbacks(L),this._scheduleFailCallbacks(L),this._scheduleChangedCallbacks(L);var D=this._createLoadOperation(L);return this._eventsStrategy.fireEvent("customizeStoreLoadOptions",[D]),this._loadQueue.add(()=>("number"==typeof D.delay?this._delayedLoadTask=(0,x.uG)(f,D.delay):f(),L.promise())),L.promise({operationId:D.operationId})},_onPush(L){if(this._reshapeOnPush)this.load();else{var f={changes:L};this._eventsStrategy.fireEvent("changing",[f]);var D=this.group(),R=this.items(),S=0,j=this.paginate()||D?L.filter(fe=>"update"===fe.type):L;D&&(S=Array.isArray(D)?D.length:1),this._mapFunc&&j.forEach(fe=>{"insert"===fe.type&&(fe.data=this._mapFunc(fe.data))}),f.postProcessChanges&&(j=f.postProcessChanges(j)),(0,M.VK)({keyInfo:this.store(),data:R,changes:j,groupCount:S,useInsertIndex:!0}),this._fireChanged([{changes:L}])}},_createLoadOperation(L){var f=this._operationManager.add(L),D=this._createStoreLoadOptions();return this._store&&!(0,b.RI)(D?.langParams)&&(this._store._langParams=(0,t.A)({},this._store._langParams,D.langParams)),L.always(()=>this._operationManager.remove(f)),{operationId:f,storeLoadOptions:D}},reload(){return this.store()._clearCache(),this._init(),this.load()},cancel(L){return this._operationManager.cancel(L)},cancelAll(){return this._operationManager.cancelAll()},_addSearchOptions(L){this._disposed||(this.store()._useDefaultSearch?this._addSearchFilter(L):(L.searchOperation=this._searchOperation,L.searchValue=this._searchValue,L.searchExpr=this._searchExpr))},_createStoreLoadOptions(){var L=(0,m.X)({},this._storeLoadOptions);return this._addSearchOptions(L),this._paginate&&this._pageSize&&(L.skip=this._pageIndex*this._pageSize,L.take=this._pageSize),L.userData=this._userData,L},_addSearchFilter(L){var f=this._searchValue,D=this._searchOperation,R=this._searchExpr,S=[];f&&(R||(R="this"),Array.isArray(R)||(R=[R]),(0,_.__)(R,function(j,fe){S.length&&S.push("or"),S.push([fe,D,f])}),L.filter=L.filter?[S,L.filter]:S)},_loadFromStore(L,f){var D=(R,S)=>{if(!this._disposed&&(0,K.mm)(f)){var j=(0,m.X)((0,K.Xp)(R,S),L);this._eventsStrategy.fireEvent("customizeLoadResult",[j]),(0,U.z7)(j.data).done(fe=>{j.data=fe,this._processStoreLoadResult(j,f)}).fail(f.reject)}};return L.data?(new U.cY).resolve(L.data).done(D):this.store().load(L.storeLoadOptions).done(D).fail(f.reject)},_processStoreLoadResult(L,f){var D=L.data,R=L.extra,S=L.storeLoadOptions,j=()=>(this._isLoaded=!0,this._totalCount=isFinite(R.totalCount)?R.totalCount:-1,f.resolve(D,R));this._disposed||(D=this._applyPostProcessFunction(this._applyMapFunction(D)),(0,b.Gv)(R)||(R={}),this._items=D,(!D.length||!this._paginate||this._pageSize&&D.length<this._pageSize)&&(this._isLastPage=!0),S.requireTotalCount&&!isFinite(R.totalCount)?this.store().totalCount(S).done(function(fe){R.totalCount=fe,j()}).fail(f.reject):j())},_applyMapFunction(L){return this._mapFunc?(0,K.Kl)(L,this._mapFunc,this.group()):L},_applyPostProcessFunction(L){return this._postProcessFunc?this._postProcessFunc(L):L},on(L,f){return this._eventsStrategy.on(L,f),this},off(L,f){return this._eventsStrategy.off(L,f),this}})},1076:(Nt,Le,a)=>{"use strict";a.d(Le,{Kl:()=>z,Rc:()=>G,Xp:()=>ee,ho:()=>R,mm:()=>U,uK:()=>g});var t=a(8168),c=a(8587),m=a(4461),x=a(4168),_=a(2097),b=a(2101),v=a(6305),M=a(7951),N=a(2463),p=a(5571),P=["items"],g="canceled",U=S=>"pending"===S.state(),G=S=>{switch(S.length){case 0:return;case 1:return S[0]}return[].slice.call(S)},K=(S,j,fe)=>Array.isArray(S)?j?((S,j,fe)=>(0,b.Tj)(S,H=>{var J=(0,c.A)(H,P);return(0,t.A)({},J,{items:K(H.items,j-1,fe)})}))(S,j,fe):(0,b.Tj)(S,fe):S,z=(S,j,fe)=>{var H=fe?(0,p.st)(fe).length:0;return K(S,H,j)},ee=(S,j)=>{var fe;return null!==(fe=S)&&void 0!==fe&&fe.data&&(j=S,S=S.data),Array.isArray(S)||(S=[S]),{data:S,extra:j}},L=S=>{var j={};return(0,b.__)(["useDefaultSearch","key","load","loadMode","cacheRawData","byKey","lookup","totalCount","insert","update","remove"],function(){j[this]=S[this],delete S[this]}),new v.A(j)},D=(S,j)=>new v.A({load:()=>m.A.sendRequest({url:S,dataType:"json"}
1),loadMode:j?.fromUrlLoadMode}),R=(S,j)=>{var fe;return"string"==typeof S&&(S={paginate:!1,store:D(S,j)}),void 0===S&&(S=[]),void 0===(S=Array.isArray(S)||S instanceof x.A?{store:S}:(0,M.X)({},S)).store&&(S.store=[]),fe=S.store,"load"in S?fe=L(S):Array.isArray(fe)?fe=new _.A(fe):(0,N.Qd)(fe)&&(fe=(S=>{var j=S.type;return delete S.type,x.A.create(j,S)})((0,M.X)({},fe))),S.store=fe,S}},1591:(Nt,Le,a)=>{"use strict";a.d(Le,{H4:()=>_,sO:()=>m});var t=a(6161),c=a(7550),m=(0,t.A)(c.A.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}",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}"}),_=function(v){var M;null===(M=null)||void 0===M||M(v)}},9845:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(4472);const c={};var m=a(1591),x=a(2101),_=a(2463),b=a(2984),N={array:t.A,remote:function g(U,G,A){A=A||[],G=G||{};var K=function(L,f){return{name:L,args:f}},z=function(L){var D,R,S,j,fe,W,re,f=new b.cY,H=function(W){var re=G.errorHandler;re&&re(W),(0,m.H4)(W),f.reject(W)};function J(W){switch(W.name){case"sortBy":return fe=[W.args],!0;case"thenBy":if(!fe)throw m.sO.Error("E4004");return fe.push(W.args),!0}return!1}try{(0,_.Tn)(D=G.adapter)||(D=c[D]),R=D(G),S=[].concat(A).concat(L);var Y=R.optimize;for(Y&&Y(S);S.length;){if(!J(j=S[0])){if(fe){S.unshift(K("multiSort",[fe])),fe=null;continue}if("enumerate"!==String(j.name)&&(!R[j.name]||!1===R[j.name].apply(R,j.args)))break}S.shift()}re=[],(W=S[0])&&"multiSort"===W.name&&(S.shift(),(0,x.__)(W.args[0],function(){re.push(K(re.length?"thenBy":"sortBy",this))})),S=re.concat(S),R.exec(U).done(function(W,re){if(S.length){var le=(0,t.A)(W,{errorHandler:G.errorHandler});(0,x.__)(S,function(){le=le[this.name].apply(le,this.args)}),le.done(f.resolve).fail(f.reject)}else f.resolve(W,re)}).fail(H)}catch(W){H(W)}return f.promise()},ee={};return(0,x.__)(["sortBy","thenBy","filter","slice","select","groupBy"],function(){var L=String(this);ee[L]=function(){return g(U,G,A.concat(K(L,arguments)))}}),(0,x.__)(["count","min","max","sum","avg","aggregate","enumerate"],function(){var L=String(this);ee[L]=function(){return z.call(this,K(L,arguments))}}),ee}};const P=function(){var g=Array.isArray(arguments[0])?"array":"remote";return N[g].apply(this,arguments)}},7514:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>N});var t=a(5042),c=a(7951),m=a(2101),x=a(4472),_=a(5571);function b(p,P){return p=p.groupBy(P[0].selector),P.length>1&&(p=p.select(function(g){return(0,c.X)({},g,{items:b((0,x.A)(g.items),P.slice(1)).toArray()})})),p}function v(p,P){var g=[];return(0,m.__)(p,function(U,G){(0,t.VM)(P,function(K){return G.selector===K.selector}).length<1&&g.push(G)}),g.concat(P)}const N={multiLevelGroup:b,arrangeSortingInfo:v,queryByOptions:function M(p,P,g){var U,A,K,G=(P=P||{}).filter;if(null!==(U=P)&&void 0!==U&&U.langParams&&(null===(A=(K=p).setLangParams)||void 0===A||A.call(K,P.langParams)),G&&(p=p.filter(G)),g)return p;var z=P.sort,ee=P.select,L=P.group,f=P.skip,D=P.take;return L&&((L=(0,_.st)(L)).keepInitialKeyOrder=!!P.group.keepInitialKeyOrder),(z||L)&&(z=(0,_.st)(z||[]),L&&!L.keepInitialKeyOrder&&(z=v(L,z)),(0,m.__)(z,function(R){p=p[R?"thenBy":"sortBy"](this.selector,this.desc,this.compare)})),ee&&(p=p.select(ee)),L&&(p=b(p,L)),(D||f)&&(p=p.slice(f||0,D)),p}}},5571:(Nt,Le,a)=>{"use strict";a.d(Le,{$A:()=>S,D9:()=>G,DO:()=>j,LO:()=>K,OE:()=>fe,SR:()=>N,aE:()=>p,bF:()=>D,m9:()=>g,oK:()=>J,st:()=>P,t7:()=>z,zL:()=>U});var W,Y,t=a(2463),c=a(7669),m=a(2535),x=a(4435),_=a(2101),b=a(2984),v=a(5042),N="DEVEXTREME_XHR_ERROR_UNLOAD",p=function(Y){return[Y[0],Y.length<3?"=":String(Y[1]).toLowerCase(),Y.length<2||Y[Y.length-1]]},P=function(Y){return Array.isArray(Y)||(Y=[Y]),(0,_.Tj)(Y,function(W){var re={selector:(0,t.Tn)(W)||"string"==typeof W?W:W.getter||W.field||W.selector,desc:!(!W.desc&&"d"!==String(W.dir).charAt(0).toLowerCase())};return W.compare&&(re.compare=W.compare),re})},g=(Y={timeout:"Network connection timeout",error:"Unspecified network error",parsererror:"Unexpected server response"},(0,m.A.add)(function(){var re=(0,x.zk)();c.A.listen(re,"beforeunload",function(){W=!0})}),function(re,le){return W?N:re.status<400?Y[Re=le]||Re:re.statusText;var Re}),U={count:{seed:0,step:function(Y){return 1+Y}},sum:{seed:0,step:function(Y,W){return Y+W}},min:{step:function(Y,W){return W<Y?W:Y}},max:{step:function(Y,W){return W>Y?W:Y}},avg:{seed:[0,0],step:function(Y,W){return[Y[0]+W,Y[1]+1]},finalize:function(Y){return Y[1]?Y[0]/Y[1]:NaN}}},G=function(){var W,Y=0;return{obtain:function(){0===Y&&(W=new b.cY),Y++},release:function(){--Y<1&&W.resolve()},promise:function(){return(0===Y?(new b.cY).resolve():W).promise()},reset:function(){Y=0,W&&W.resolve()}}}();function K(Y){return/^(and|&&|&)$/i.test(Y)}var z=function(Y,W,re){if(Array.isArray(Y)){for(var Re,le=(0,_.Tj)(W,function(Fe,ue){return ue}),Be=0;Be<le.length;Be++)if(!(0,v.RL)(W[Re=le[Be]],re[Re],{strict:!1}))return!1;return!0}return(0,v.RL)(W,re,{strict:!1})},D=function(Y){return"!"===Y[0]&&Array.isArray(Y[1])},S=function(Y){var W=Y[0],re=Y[1];return!!(Array.isArray(W)||(0,t.Tn)(W)&&(Array.isArray(re)||(0,t.Tn)(re)||function(Y){return"and"===Y||"or"===Y}(re)))},j=function(){var Y=new b.cY;return Y.resolve.apply(Y,arguments).promise()},fe=function(){var Y=new b.cY;return Y.reject.apply(Y,arguments).promise()};function J(Y,W){var re=[],le=function H(Y,W){var re;return function(){return re||(re=setTimeout(()=>{re=void 0,Y.call(this)},(0,t.Tn)(W)?W():W)),re}}(function(){Y.call(this,re),re=[]},W);return function(Re){return Array.isArray(Re)&&re.push(...Re),le.call(this,re)}}},2236:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>U});var t=a(5333),c=a(7951),m=a(1076),x=a(6208),_="_dataSourceOptions",b="_dataSourceChangedHandler",v="_dataSourceLoadErrorHandler",M="_dataSourceLoadingChangedHandler",N="_dataSourceFromUrlLoadMode",p="_getSpecificDataSourceOption",P="_normalizeDataSource";const U={postCtor:function(){this.on("disposing",function(){this._disposeDataSource()}.bind(this))},_refreshDataSource:function(){this._initDataSource(),this._loadDataSource()},_initDataSource:function(){var A,K,G=p in this?this[p]():this.option("dataSource");this._disposeDataSource(),G&&(G instanceof t.q?(this._isSharedDataSource=!0,this._dataSource=G):(A=_ in this?this[_]():{},K=this._dataSourceType?this._dataSourceType():t.q,G=(0,m.ho)(G,{fromUrlLoadMode:N in this&&this[N]()}),this._dataSource=new K((0,c.X)(!0,{},A,G))),P in this&&(this._dataSource=this[P](this._dataSource)),this._addDataSourceHandlers(),this._initDataController())},_initDataController:function(){var G,A=null===(G=this.option)||void 0===G?void 0:G.call(this,"_dataController");this._dataController=A||new x.A(this._dataSource)},_addDataSourceHandlers:function(){b in this&&this._addDataSourceChangeHandler(),v in this&&this._addDataSourceLoadErrorHandler(),M in this&&this._addDataSourceLoadingChangedHandler(),this._addReadyWatcher()},_addReadyWatcher:function(){this.readyWatcher=function(G){this._ready&&this._ready(!G)}.bind(this),this._dataSource.on("loadingChanged",this.readyWatcher)},_addDataSourceChangeHandler:function(){var G=this._dataSource;this._proxiedDataSourceChangedHandler=function(A){this[b](G.items(),A)}.bind(this),G.on("changed",this._proxiedDataSourceChangedHandler)},_addDataSourceLoadErrorHandler:function(){this._proxiedDataSourceLoadErrorHandler=this[v].bind(this),this._dataSource.on("loadError",this._proxiedDataSourceLoadErrorHandler)},_addDataSourceLoadingChangedHandler:function(){this._proxiedDataSourceLoadingChangedHandler=this[M].bind(this),this._dataSource.on("loadingChanged",this._proxiedDataSourceLoadingChangedHandler)}
1,_loadDataSource:function(){var G=this._dataSource;G&&(G.isLoaded()?this._proxiedDataSourceChangedHandler&&this._proxiedDataSourceChangedHandler():G.load())},_loadSingle:function(G,A){return G="this"===G?this._dataSource.key()||"this":G,this._dataSource.loadSingle(G,A)},_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._eventsStrategy&&this._dataSource._eventsStrategy.off("loadingChanged",this.readyWatcher)):this._dataSource.dispose(),delete this._dataSource,delete this._proxiedDataSourceChangedHandler,delete this._proxiedDataSourceLoadErrorHandler,delete this._proxiedDataSourceLoadingChangedHandler)},getDataSource:function(){return this._dataSource||null}}},8060:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>A});var t=a(4292),c=a(1269),m=a(3862),x=a(7669),_=a(7963),v=(a(5581),a(9104)),M=a(675);function N(R){return R&&[R.target,R.delegateTarget,R.relatedTarget,R.currentTarget].filter(S=>!!S)}var g=a(4159),U=a(4469),G=a(8642),A="dxclick",z=null,ee=null,L=()=>{ee=null},f=function(R){var S=R.originalEvent;(!R.which||1===R.which)&&!z&&!(ee===S||S&&S.DXCLICK_FIRED)&&(S&&(S.DXCLICK_FIRED=!0),((R,S)=>{c.A.off(N(R),M.N,S)})(ee,L),((R,S)=>{c.A.one(N(R),M.N,S)})(ee=S,L),(0,v.rC)({type:A,originalEvent:R}))},D=U.A.inherit({ctor:function(R){this.callBase(R),c.A.on(this.getElement(),"click",f)},start:function(R){z=null},cancel:function(){z=!0},dispose:function(){c.A.off(this.getElement(),"click",f)}});(function(){if(!m.A.real().generic){var S=null,j=!1,fe=x.A.getDocument();c.A.subscribeGlobal(fe,(0,v.b4)(g.A.down,"NATIVE_CLICK_FIXER"),function(H){S=H.target,j=H.isDefaultPrevented()}),c.A.subscribeGlobal(fe,(0,v.b4)("click","NATIVE_CLICK_FIXER"),function(H){var J=(0,t.A)(H.target);!j&&S&&!J.is(S)&&!(0,t.A)(S).is("label")&&(0,t.A)(J).is("input, textarea, select, button ,:focus, :focus *")&&(0,_.GX)(),S=null,j=!1})}})(),(0,G.A)({emitter:D,bubble:!0,events:[A]})},4935:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>G});var t=a(4292),c=a(1269),m=a(9900),x=a(3862),_=a(6221),b=a(396),v=a(9104),M=a(4602),N="dxContexMenu",p=(0,v.b4)("contextmenu",N),P=(0,v.b4)(M.A.name,N),g="dxcontextmenu",U=_.A.inherit({setup:function(A){var K=(0,t.A)(A);c.A.on(K,p,this._contextMenuHandler.bind(this)),(m.touch||x.A.isSimulator())&&c.A.on(K,P,this._holdHandler.bind(this))},_holdHandler:function(A){(0,v.Er)(A)&&!x.A.isSimulator()||this._fireContextMenu(A)},_contextMenuHandler:function(A){this._fireContextMenu(A)},_fireContextMenu:function(A){return(0,v.rC)({type:g,originalEvent:A})},teardown:function(A){c.A.off(A,"."+N)}});(0,b.A)(g,new U);var G=g},5424:(Nt,Le,a)=>{"use strict";a.d(Le,{s2:()=>K,vu:()=>N});var G,t=a(6221),c=a(5042),m=a(7963),x=a(3862),_=a(9104),b=a(4159),v=a(4469),M=a(8642),N="dxactive",p="dxinactive",U=t.A.inherit({ctor:function(z,ee){this._timeout=z,this._fire=ee},start:function(){var z=this;this._schedule(function(){z.force()})},_schedule:function(z){this.stop(),this._timer=setTimeout(z,this._timeout)},stop:function(){clearTimeout(this._timer)},force:function(){this._fired||(this.stop(),this._fire(),this._fired=!0)},fired:function(){return this._fired}}),A=v.A.inherit({ctor:function(){this.callBase.apply(this,arguments),this._active=new U(0,c.lQ),this._inactive=new U(0,c.lQ)},configure:function(z,ee){switch(ee){case N:z.activeTimeout=z.timeout;break;case p:z.inactiveTimeout=z.timeout}this.callBase(z)},start:function(z){if(G){var ee=(0,m.gR)(this.getElement().get(0),G.getElement().get(0)),L=!G._active.fired();if(ee&&L)return void this._cancel();G._inactive.force()}G=this,this._initEvents(z),this._active.start()},_initEvents:function(z){var ee=this,L=this._getEmitterTarget(z),f=(0,_.Er)(z),R=x.A.isSimulator()||!f,S=(0,c.YD)(this.activeTimeout,30),j=(0,c.YD)(this.inactiveTimeout,400);this._active=new U(R?S:0,function(){ee._fireEvent(N,z,{target:L})}),this._inactive=new U(R?j:0,function(){ee._fireEvent(p,z,{target:L}),G=null})},cancel:function(z){this.end(z)},end:function(z){var ee=z.type!==b.A.up;ee?this._active.stop():this._active.force(),this._inactive.start(),ee&&this._inactive.force()},dispose:function(){this._active.stop(),this._inactive.stop(),G===this&&(G=null),this.callBase()},lockInactive:function(){return this._active.force(),this._inactive.stop(),G=null,this._cancel(),this._inactive.force.bind(this._inactive)}
1});A.lock=function(z){var ee=G?G.lockInactive():c.lQ;z.done(ee)},(0,M.A)({emitter:A,events:[N,p]});var K=A.lock},4469:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>M});var t=a(4292),c=a(5042),m=a(6221),x=a(4423),_=a(7951),b=a(9104);const M=m.A.inherit({ctor:function(N){this._$element=(0,t.A)(N),this._cancelCallback=(0,x.A)(),this._acceptCallback=(0,x.A)()},getElement:function(){return this._$element},validate:function(N){return!(0,b.X1)(N)},validatePointers:function(N){return 1===(0,b.Ic)(N)},allowInterruptionByMouseWheel:function(){return!0},configure:function(N){(0,_.X)(this,N)},addCancelCallback:function(N){this._cancelCallback.add(N)},removeCancelCallback:function(){this._cancelCallback.empty()},_cancel:function(N){this._cancelCallback.fire(this,N)},addAcceptCallback:function(N){this._acceptCallback.add(N)},removeAcceptCallback:function(){this._acceptCallback.empty()},_accept:function(N){this._acceptCallback.fire(this,N)},_requestAccept:function(N){this._acceptRequestEvent=N},_forgetAccept:function(){this._accept(this._acceptRequestEvent),this._acceptRequestEvent=null},start:c.lQ,move:c.lQ,end:c.lQ,cancel:c.lQ,reset:function(){this._acceptRequestEvent&&this._accept(this._acceptRequestEvent)},_fireEvent:function(N,p,P){var g=(0,_.X)({type:N,originalEvent:p,target:this._getEmitterTarget(p),delegateTarget:this.getElement().get(0)},P);return(p=(0,b.rC)(g)).cancel&&this._cancel(p),p},_getEmitterTarget:function(N){return(this.delegateSelector?(0,t.A)(N.target).closest(this.delegateSelector):this.getElement()).get(0)},dispose:c.lQ})},8642:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>L});var t=a(4292),c=a(2535),m=a(7669),x=a(1269),_=a(8332),b=a(6221),v=a(7951),M=a(2101),N=a(396),p=a(9104),P=a(4159),g=a(9544),U="dxEventManager",G="dxEmitter",K=new(b.A.inherit({ctor:function(){this._attachHandlers(),this.reset(),this._proxiedCancelHandler=this._cancelHandler.bind(this),this._proxiedAcceptHandler=this._acceptHandler.bind(this)},_attachHandlers:function(){c.A.add(function(){var f=m.A.getDocument();x.A.subscribeGlobal(f,(0,p.b4)(P.A.down,U),this._pointerDownHandler.bind(this)),x.A.subscribeGlobal(f,(0,p.b4)(P.A.move,U),this._pointerMoveHandler.bind(this)),x.A.subscribeGlobal(f,(0,p.b4)([P.A.up,P.A.cancel].join(" "),U),this._pointerUpHandler.bind(this)),x.A.subscribeGlobal(f,(0,p.b4)(g.U,U),this._mouseWheelHandler.bind(this))}.bind(this))},_eachEmitter:function(f){for(var D=this._activeEmitters||[],R=0;D.length>R;){var S=D[R];if(!1===f(S))break;D[R]===S&&R++}},_applyToEmitters:function(f,D){this._eachEmitter(function(R){R[f].call(R,D)})},reset:function(){this._eachEmitter(this._proxiedCancelHandler),this._activeEmitters=[]},resetEmitter:function(f){this._proxiedCancelHandler(f)},_pointerDownHandler:function(f){(0,p.Er)(f)&&f.which>1||this._updateEmitters(f)},_updateEmitters:function(f){this._isSetChanged(f)&&(this._cleanEmitters(f),this._fetchEmitters(f))},_isSetChanged:function(f){var D=this._closestEmitter(f),R=this._emittersSet||[],S=D.length!==R.length;return(0,M.__)(D,function(j,fe){return!(S=S||R[j]!==fe)}),this._emittersSet=D,S},_closestEmitter:function(f){var D=this,R=[],S=(0,t.A)(f.target);function j(H,J){J&&J.validatePointers(f)&&J.validate(f)&&(J.addCancelCallback(D._proxiedCancelHandler),J.addAcceptCallback(D._proxiedAcceptHandler),R.push(J))}for(;S.length;){var fe=(0,_.p)(S.get(0),G)||[];(0,M.__)(fe,j),S=S.parent()}return R},_acceptHandler:function(f,D){var R=this;this._eachEmitter(function(S){S!==f&&R._cancelEmitter(S,D)})},_cancelHandler:function(f,D){this._cancelEmitter(f,D)},_cancelEmitter:function(f,D){var R=this._activeEmitters;D?f.cancel(D):f.reset(),f.removeCancelCallback(),f.removeAcceptCallback();var S=R.indexOf(f);S>-1&&R.splice(S,1)},_cleanEmitters:function(f){this._applyToEmitters("end",f),this.reset(f)},_fetchEmitters:function(f){this._activeEmitters=this._emittersSet.slice(),this._applyToEmitters("start",f)},_pointerMoveHandler:function(f){this._applyToEmitters("move",f)},_pointerUpHandler:function(f){this._updateEmitters(f)},_mouseWheelHandler:function(f){this._allowInterruptionByMouseWheel()&&(f.pointers=[null],this._pointerDownHandler(f),this._adjustWheelEvent(f),this._pointerMoveHandler(f),f.pointers=[],this._pointerUpHandler(f))},_allowInterruptionByMouseWheel:function(){var f=!0;return this._eachEmitter(function(D){return f=D.allowInterruptionByMouseWheel()&&f}),f},_adjustWheelEvent:function(f){var D=null;if(this._eachEmitter(function(fe){if(fe.gesture){var H=fe.getDirection(f);if("horizontal"!==H&&!f.shiftKey||"vertical"!==H&&f.shiftKey)return D=fe,!1}}),D){var R=D.getDirection(f);f["both"===R&&!f.shiftKey||"vertical"===R?"pageY":"pageX"]+=f.delta}},isActive:function(f){var D=!1;return this._eachEmitter(function(R){D=D||R.getElement().is(f)}),D}})),z="dxEmitterSubscription";const L=function(f){var D=f.emitter,R=f.events[0],S=f.events;(0,M.__)(S,function(j,fe){(0,N.A)(fe,{noBubble:!f.bubble,setup:function(H){var J=(0,_.p)(H,z)||{},Y=(0,_.p)(H,G)||{},W=Y[R]||new D(H);J[fe]=!0,Y[R]=W,(0,_.p)(H,G,Y),(0,_.p)(H,z,J)},add:function(H,J){(0,_.p)(H,G)[R].configure((0,v.X)({delegateSelector:J.selector},J.data),J.type)},teardown:function(H){var J=(0,_.p)(H,z),Y=(0,_.p)(H,G),W=Y[R];delete J[fe];var re=!0;(0,M.__)(S,function(le,Re){return re=re&&!J[Re]}),re&&(K.isActive(H)&&K.resetEmitter(W),W&&W.dispose(),delete Y[R])}})})}},396:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>x});var t=a(2101),c=a(7724),m=function(_,b){var v={};"noBubble"in b&&(v.noBubble=b.noBubble),"bindType"in b&&(v.bindType=b.bindType),"delegateType"in b&&(v.delegateType=b.delegateType),
1(0,t.__)(["setup","teardown","add","remove","trigger","handle","_default","dispose"],function(M,N){b[N]&&(v[N]=function(){var p=[].slice.call(arguments);return p.unshift(this),b[N].apply(b,p)})}),c.A.fire(_,v)};m.callbacks=c.A;const x=m},7724:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});const c=new(a(7544).A)},1269:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>yt});var t=a(8168),c=a(7724),m=a(7951),x=a(7669),_=a(4435),b=a(7041),v=a(2463),M=a(4423),N=a(7550),p=["pageX","pageY","screenX","screenY","clientX","clientY"],U=a(435),G=(0,_.zk)(),A="dxEmptyEventType",K={mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},z={focusin:"focus",focusout:"blur"},ee=["blur","focus","load"],L=["touchmove","wheel","mousewheel","touchstart"];function D(dt,Je){return!(0,v.l6)(dt)&&"#document"!==dt.nodeName&&x.A.elementMatches(dt,Je)}var j,dt,R=new WeakMap,S=0,fe=(dt={},c.A.add(function(Je,Ce){dt[Je]=Ce}),{getField:function(Je,Ce){return dt[Je]&&dt[Je][Ce]},callMethod:function(Je,Ce,we,Ee){return dt[Je]&&dt[Je][Ce]&&dt[Je][Ce].apply(we,Ee)}}),H=(0,b.A)({on:Y(ue(Z(function(dt,Je,Ce,we,Ee){Re(dt,Je).addHandler(Ee,Ce,we)}))),one:Y(ue(function(dt,Je,Ce,we,Ee){H.on(dt,Je,Ce,we,function He(){H.off(dt,Je,Ce,He),Ee.apply(this,arguments)})})),off:Y(function ce(dt){return function(Je,Ce,we,Ee){"function"==typeof we&&(Ee=we,we=void 0),dt(Je,Ce,we,Ee)}}(Z(function(dt,Je,Ce,we){Re(dt,Je).removeHandler(we,Ce)}))),trigger:Y(_e(function(dt,Je,Ce){var we=Je.type,Ee=Re(dt,Je.type);if(fe.callMethod(we,"trigger",dt,[Je,Ce]),Ee.callHandlers(Je,Ce),!fe.getField(we,"noBubble")&&!Je.isPropagationStopped()&&-1===ee.indexOf(we)){var Ot=[];(function ln(Ln){var Zt,ct=null!==(Zt=Ln.parentNode)&&void 0!==Zt?Zt:(0,v.Gv)(Ln.host)?Ln.host:null;ct&&(Ot.push(ct),ln(ct))})(dt),Ot.push(G);for(var It=0;Ot[It]&&!Je.isPropagationStopped();)Re(Ot[It],Je.type).callHandlers((0,m.X)(Je,{currentTarget:Ot[It]}),Ce),It++}(dt.nodeType||(0,v.l6)(dt))&&(fe.callMethod(we,"_default",dt,[Je,Ce]),function ve(dt,Je){var Ce=z[dt]||dt;(function(we,Ee){return"click"===we&&"a"===Ee.localName})(dt,Je)||(0,v.Tn)(Je[Ce])&&(j=dt,Je[Ce](),j=void 0)}(we,dt))})),triggerHandler:Y(_e(function(dt,Je,Ce){Re(dt,Je.type).callHandlers(Je,Ce)}))});function J(dt,Je){var Ce=dt[0];if(Ce)if(x.A.isNode(Ce)||(0,v.l6)(Ce))Je.apply(H,dt);else{if((0,v.Kg)(Ce)||!("length"in Ce))throw N.A.Error("E0025");var we=Array.prototype.slice.call(dt,0);Array.prototype.forEach.call(Ce,function(Ee){we[0]=Ee,J(we,Je)})}}function Y(dt){return function(){J(arguments,dt)}}var re=(0,U.A)(function W(){var dt=!1;try{var Je=Object.defineProperty({},"passive",{get:function(){return dt=!0,!0}});G.addEventListener("test",null,Je)}catch{}return dt}),le=(dt,Je)=>(0,v.l6)(dt)?le(dt.document,Je):dt.contains?dt.contains(Je):!!(Je.compareDocumentPosition(dt)&Je.DOCUMENT_POSITION_CONTAINS);function Re(dt,Je){var Ce=R.get(dt),we=(Je=Je||"").split("."),Ee=we.slice(1),He=!!we[0];Je=we[0]||A,Ce||R.set(dt,Ce={}),Ce[Je]||(Ce[Je]={handleObjects:[],nativeHandler:null});var Ot=Ce[Je];return{addHandler:function(It,un,ln){var Ln=function(Ke,vt){var Ze,X,Wt=[Ke],ze=Ke.currentTarget,pt=Ke.relatedTarget;Je in K&&(Ze=pt&&ze&&(pt===ze||le(ze,pt))),void 0!==vt&&Wt.push(vt),fe.callMethod(Je,"handle",dt,[Ke,ln]),Ze||(X=It.apply(ze,Wt)),!1===X&&(Ke.preventDefault(),Ke.stopPropagation())},Zt={handler:It,wrappedHandler:function(Ke,vt){if(!j||Ke.type!==j)if(Ke.data=ln,Ke.delegateTarget=dt,un)for(var Wt=Ke.target;Wt&&Wt!==dt;)D(Wt,un)&&(Ke.currentTarget=Wt,Ln(Ke,vt)),Wt=Wt.parentNode;else Ke.currentTarget=Ke.delegateTarget||Ke.target,Ln(Ke,vt)},selector:un,type:Je,data:ln,namespace:Ee.join("."),namespaces:Ee,guid:++S};Ot.handleObjects.push(Zt);var Ae,rt=1===Ot.handleObjects.length&&He;rt&&(rt=!fe.callMethod(Je,"setup",dt,[ln,Ee,It])),rt&&(Ot.nativeHandler=function Be(dt){return function(Je,Ce){var we=Re(this,dt);Je=H.Event(Je),we.callHandlers(Je,Ce)}}(Je),re()&&L.indexOf(Je)>-1&&(Ae={passive:!1}),Ot.removeListener=x.A.listen(dt,K[Je]||Je,Ot.nativeHandler,Ae)),fe.callMethod(Je,"add",dt,[Zt])},removeHandler:function(It,un){var ln=function(ct){var Ae,rt=Ce[ct];rt.handleObjects.length?(rt.handleObjects=rt.handleObjects.filter(function(Wt){var ze=Ee.length&&!Fe(Wt.namespaces,Ee)||It&&Wt.handler!==It||un&&Wt.selector!==un;return ze||(Ae=Wt.handler,fe.callMethod(ct,"remove",dt,[Wt])),ze}),!rt.handleObjects.length&&ct!==A&&(fe.callMethod(ct,"teardown",dt,[Ee,Ae]),rt.nativeHandler&&rt.removeListener(),delete Ce[ct])):delete Ce[ct]};if(He)ln(Je);else for(var Ln in Ce)ln(Ln);
10===Object.keys(Ce).length&&R.delete(dt)},callHandlers:function(It,un){var ln=!1,Ln=function(Zt){ln||(!Ee.length||Fe(Zt.namespaces,Ee))&&(Zt.wrappedHandler(It,un),ln=It.isImmediatePropagationStopped())};Ot.handleObjects.forEach(Ln),Ee.length&&Ce[A]&&Ce[A].handleObjects.forEach(Ln)}}}function Fe(dt,Je){for(var Ce=0;Ce<Je.length;Ce++)if(dt.indexOf(Je[Ce])<0)return!1;return!0}function ue(dt){return function(Je,Ce,we,Ee,He){He||(He=Ee,Ee=void 0),"string"!=typeof we&&(Ee=we,we=void 0),!He&&"string"==typeof Ce&&(He=Ee||we,we=void 0,Ee=void 0),dt(Je,Ce,we,Ee,He)}}function _e(dt){return function(Je,Ce,we){"string"==typeof Ce&&(Ce={type:Ce}),Ce.target||(Ce.target=Je),Ce.currentTarget=Je,Ce.delegateTarget||(Ce.delegateTarget=Je),!Ce.type&&Ce.originalEvent&&(Ce.type=Ce.originalEvent.type),dt(Je,Ce instanceof H.Event?Ce:H.Event(Ce),we)}}function Z(dt){var Je=function(Ce,we){if(we&&we.indexOf(" ")>-1){var Ee=Array.prototype.slice.call(arguments,0);we.split(" ").forEach(function(He){Ee[1]=He,dt.apply(this,Ee)})}else dt.apply(this,arguments)};return function(Ce,we){if("object"==typeof we){var Ee=Array.prototype.slice.call(arguments,0);for(var He in we)Ee[1]=He,Ee[Ee.length-1]=we[He],Je.apply(this,Ee)}else Je.apply(this,arguments)}}function ke(dt){return null==(Je=dt).which&&0===Je.type.indexOf("key")?null!=dt.charCode?dt.charCode:dt.keyCode:function(Je){return!Je.which&&void 0!==Je.button&&/^(?:mouse|pointer|contextmenu|drag|drop)|click/.test(Je.type)}(dt)?{1:1,2:3,3:1,4:2}[dt.button]:dt.which;var Je}function Ne(dt){dt&&(H.Event=dt,H.Event.prototype=dt.prototype)}function Ie(dt,Je,Ce){Object.defineProperty(Ce||H.Event.prototype,dt,{enumerable:!0,configurable:!0,get:function(){return this.originalEvent&&Je(this.originalEvent)},set:function(we){Object.defineProperty(this,dt,{enumerable:!0,configurable:!0,writable:!0,value:we})}})}Ne(function ne(dt){return H.Event=function(Je,Ce){if(!(this instanceof H.Event))return new H.Event(Je,Ce);Je||(Je={}),"string"==typeof Je&&(Je={type:Je}),Ce||(Ce={}),dt.call(this,Je,Ce)},(0,t.A)(H.Event.prototype,{_propagationStopped:!1,_immediatePropagationStopped:!1,_defaultPrevented:!1,isPropagationStopped:function(){return!!(this._propagationStopped||this.originalEvent&&this.originalEvent.propagationStopped)},stopPropagation:function(){this._propagationStopped=!0,this.originalEvent&&this.originalEvent.stopPropagation()},isImmediatePropagationStopped:function(){return this._immediatePropagationStopped},stopImmediatePropagation:function(){this.stopPropagation(),this._immediatePropagationStopped=!0,this.originalEvent&&this.originalEvent.stopImmediatePropagation()},isDefaultPrevented:function(){return!!(this._defaultPrevented||this.originalEvent&&this.originalEvent.defaultPrevented)},preventDefault:function(){this._defaultPrevented=!0,this.originalEvent&&this.originalEvent.preventDefault()}}),H.Event}(function(dt,Je){var Ce;dt instanceof H.Event||(0,_.Vd)()&&dt instanceof G.Event||(null===(Ce=dt.view)||void 0===Ce?void 0:Ce.Event)&&dt instanceof dt.view.Event?(this.originalEvent=dt,this.type=dt.type,this.currentTarget=void 0,Object.prototype.hasOwnProperty.call(dt,"isTrusted")&&(this.isTrusted=dt.isTrusted),this.timeStamp=dt.timeStamp||Date.now()):(0,t.A)(this,dt),Ie("which",ke,this),0===dt.type.indexOf("touch")&&(delete Je.pageX,delete Je.pageY),(0,t.A)(this,Je),this.guid=++S})),["target","relatedTarget","delegateTarget","altKey","bubbles","cancelable","changedTouches","ctrlKey","detail","eventPhase","metaKey","shiftKey","view","char","code","charCode","key","keyCode","button","buttons","offsetX","offsetY","pointerId","pointerType","targetTouches","toElement","touches"].forEach(dt=>Ie(dt,Je=>Je[dt])),function g(dt){p.forEach(function(Je){dt(Je,function(Ce){return function(dt,Je){if(Je[dt]&&!Je.touches||!Je.touches)return Je[dt];var Ce=Je.touches.length?Je.touches:Je.changedTouches;return Ce.length?Ce[0][dt]:void 0}(Je,Ce)})},this)}(Ie);var De=(0,M.A)(),et=(0,M.A)();H.set=function(dt){De.fire(),H.inject(dt),Ne(dt.Event),et.fire()},H.subscribeGlobal=function(){J(arguments,ue(function(){var dt=arguments;H.on.apply(this,dt),De.add(function(){var Je=Array.prototype.slice.call(dt,0);Je.splice(3,1),H.off.apply(this,Je)}),et.add(function(){H.on.apply(this,dt)})}))},H.forcePassiveFalseEventNames=L,H.passiveEventHandlersSupported=re;const yt=H},6297:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(4292),c=a(1269),m=a(6221),x=a(9104),_="compositionstart",M="KeyboardProcessor",N=g=>({keyName:(0,x.YD)(g),key:g.key,code:g.code,ctrl:g.ctrlKey,location:g.location,metaKey:g.metaKey,shift:g.shiftKey,alt:g.altKey,which:g.which,originalEvent:g}),p=m.A.inherit({_keydown:(0,x.b4)("keydown",M),_compositionStart:(0,x.b4)(_,M),_compositionEnd:(0,x.b4)("compositionend",M),ctor:function(g){(g=g||{}
1).element&&(this._element=(0,t.A)(g.element)),g.focusTarget&&(this._focusTarget=g.focusTarget),this._handler=g.handler,this._element&&(this._processFunction=U=>{var G=(0,t.A)(this._focusTarget).toArray(),A=this._focusTarget&&this._focusTarget!==U.target&&!G.includes(U.target),K=this._isComposingJustFinished&&229===U.which||this._isComposing||A;this._isComposingJustFinished=!1,K||this.process(U)},this._toggleProcessingWithContext=this.toggleProcessing.bind(this),c.A.on(this._element,this._keydown,this._processFunction),c.A.on(this._element,this._compositionStart,this._toggleProcessingWithContext),c.A.on(this._element,this._compositionEnd,this._toggleProcessingWithContext))},dispose:function(){this._element&&(c.A.off(this._element,this._keydown,this._processFunction),c.A.off(this._element,this._compositionStart,this._toggleProcessingWithContext),c.A.off(this._element,this._compositionEnd,this._toggleProcessingWithContext)),this._element=void 0,this._handler=void 0},process:function(g){this._handler(N(g))},toggleProcessing:function(g){var{type:U}=g;this._isComposing=U===_,this._isComposingJustFinished=!this._isComposing}});p.createKeyDownOptions=N;const P=p},9544:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>_});var t=a(4292),c=a(1269),m=a(396),x=a(9104),_="dxmousewheel",b="dxWheel",p={setup:function(P){var g=(0,t.A)(P);c.A.on(g,(0,x.b4)("wheel",b),p._wheelHandler.bind(p))},teardown:function(P){c.A.off(P,".".concat(b))},_wheelHandler:function(P){var{deltaMode:g,deltaY:U,deltaX:G,deltaZ:A}=P.originalEvent;(0,x.rC)({type:_,originalEvent:P,delta:this._normalizeDelta(U,g),deltaX:G,deltaY:U,deltaZ:A,deltaMode:g,pointerType:"mouse"}),P.stopPropagation()},_normalizeDelta(P){return 0===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)?-P:-30*P}};(0,m.A)(_,p)},1707:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>v});var t=a(6221),c=a(7669),m=a(7963),x=a(8060),_=a(1269),b=a(9104),v="dxdblclick",N=(0,b.b4)(x.U,"dxDblClick"),g=new(t.A.inherit({ctor(){this._handlerCount=0,this._forgetLastClick()},_forgetLastClick(){this._firstClickTarget=null,this._lastClickTimeStamp=-300},add(){this._handlerCount<=0&&_.A.on(c.A.getDocument(),N,this._clickHandler.bind(this)),this._handlerCount+=1},_clickHandler(G){var A=G.timeStamp||Date.now(),K=A-this._lastClickTimeStamp;!(K<0)&&K<300?((0,b.rC)({type:v,target:(0,m.tc)(this._firstClickTarget,G.target),originalEvent:G}),this._forgetLastClick()):(this._firstClickTarget=G.target,this._lastClickTimeStamp=A)},remove(){this._handlerCount-=1,this._handlerCount<=0&&(this._forgetLastClick(),_.A.off(c.A.getDocument(),N,void 0),this._handlerCount=0)}}));(0,a(396).A)(v,g)},9393:(Nt,Le,a)=>{"use strict";a.d(Le,{Cy:()=>P,Ve:()=>U,_N:()=>g,ni:()=>p,qG:()=>G});var t=a(4292),c=a(8332),m=a(9518),x=a(2101),_=a(7963),b=a(396),v=a(9104),M=a(9776),N=a(8642),p="dxdragstart",P="dxdrag",g="dxdragend",U="dxdragenter",G="dxdragleave",A="dxdrop",K="dxDragEventsCount",z=[],ee=[],L=[],f={setup:function(H,J){z.includes(H)||(z.push(H),ee.push([]),L.push(J||{}))},add:function(H,J){var Y=z.indexOf(H);this.updateEventsCounter(H,J.type,1);var W=J.selector;ee[Y].includes(W)||ee[Y].push(W)},updateEventsCounter:function(H,J,Y){if([U,G,A].indexOf(J)>-1){var W=(0,c.p)(H,K)||0;(0,c.p)(H,K,Math.max(0,W+Y))}},remove:function(H,J){this.updateEventsCounter(H,J.type,-1)},teardown:function(H){if(!(0,c.p)(H,K)){var Y=z.indexOf(H);z.splice(Y,1),ee.splice(Y,1),L.splice(Y,1),(0,c.jf)(H,K)}}};(0,b.A)(U,f),(0,b.A)(G,f),(0,b.A)(A,f);var fe=M.A.inherit({ctor:function(H){this.callBase(H),this.direction="both"},_init:function(H){this._initEvent=H},_start:function(H){if(H=this._fireEvent(p,this._initEvent),this._maxLeftOffset=H.maxLeftOffset,this._maxRightOffset=H.maxRightOffset,this._maxTopOffset=H.maxTopOffset,this._maxBottomOffset=H.maxBottomOffset,H.targetElements||null===H.targetElements){var J=(0,m.BO)(H.targetElements||[]);this._dropTargets=x.Tj(J,function(Y){return(0,t.A)(Y).get(0)})}else this._dropTargets=z},_move:function(H){var J=(0,v.rw)(H),Y=this._calculateOffset(J);H=this._fireEvent(P,H,{offset:Y}),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,J,Y){return null!=J&&(H=Math.max(H,-J)),null!=Y&&(H=Math.min(H,Y)),H},_processDropTargets:function(H){var J=this._findDropTarget(H);J===this._currentDropTarget||(this._fireDropTargetEvent(H,G),this._currentDropTarget=J,this._fireDropTargetEvent(H,U))},_fireDropTargetEvent:function(H,J){if(this._currentDropTarget){var Y={type:J,originalEvent:H,draggingElement:this._$element.get(0),target:this._currentDropTarget};(0,v.rC)(Y)}},_findDropTarget:function(H){var Y,J=this;return x.__(z,function(W,re){if(J._checkDropTargetActive(re)){var le=(0,t.A)(re);x.__(function(H){var J=z.indexOf(H.get(0)),Y=ee[J].filter(re=>re),W=H.find(Y.join(", "));return ee[J].includes(void 0)&&(W=W.add(H)),W}(le),function(Re,Be){var Fe=(0,t.A)(Be);J._checkDropTarget(function(H){var J=z.indexOf(H.get(0));return L[J]}(le),Fe,(0,t.A)(Y),H)&&(Y=Be)})}}),Y},_checkDropTargetActive:function(H){var J=!1;return x.__(this._dropTargets,function(Y,W){return!(J=J||W===H||(0,_.gR)(W,H))}),J},_checkDropTarget:function(H,J,Y,W){if(J.get(0)===(0,t.A)(W.target).get(0))return!1;var le=function(H,J){return H.itemPositionFunc?H.itemPositionFunc(J):J.offset()}(H,J);if(W.pageX<le.left||W.pageY<le.top)return!1;var Re=function(H,J){return H.itemSizeFunc?H.itemSizeFunc(J):{width:J.get(0).getBoundingClientRect().width,height:J.get(0).getBoundingClientRect().height}}(H,J);return!(W.pageX>le.left+Re.width||W.pageY>le.top+Re.height||Y.length&&Y.closest(J).length||H.checkDropTarget&&!H.checkDropTarget(J,W))&&J},_end:function(H){var J=(0,v.rw)(H);this._fireEvent(g,H,{offset:this._calculateOffset(J)}),this._fireDropTargetEvent(H,A),delete this._currentDropTarget}});(0,N.A)({emitter:fe,events:[p,P,g]})},9776:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>fe});var t=a(4292),c=a(1269),m=a(3862),x=a(5918),_=a(435),b=a(7963),v=a(2535),M=a(2209),N=a(5042),p=a(2463),P=a(9104),g=a(4469),U=v.A.add,G=Math.abs,ee=10,R=(0,_.A)(function(){var H="desktop"===m.A.real().deviceType;if(!(0,x.jA)("pointer-events")||!H)return N.lQ;var J=(0,t.A)("<div>").addClass("dx-gesture-cover").css("pointerEvents","none");return c.A.subscribeGlobal(J,"dxmousewheel",function(Y){Y.preventDefault()}),U(function(){J.appendTo("body")}),function(Y,W){J.css("pointerEvents",Y?"all":"none"),Y&&J.css("cursor",W)}}),j=g.A.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=0},start:function(H){H._needSkipEvent||(0,P.eT)(H)?this._cancel(H):(this._startEvent=(0,P.lh)(H),this._startEventData=(0,P.rw)(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),0===this._stage)return;this._requestAccept(H),this._move(H),this._forgetAccept()}else 2===this._stage&&(this._clearSelection(H),this._move(H))},_directionConfirmed:function(H){var J=this._getTouchBoundary(H),Y=(0,P.nm)(this._startEventData,(0,P.rw)(H)),W=G(Y.x),re=G(Y.y),le=this._val
1idateMove(J,W,re),Re=this._validateMove(J,re,W),Be=this.getDirection(H);return"both"===Be&&(le||Re)||"horizontal"===Be&&le||"vertical"===Be&&Re||this._immediateAccepted},_validateMove:function(H,J,Y){return J&&J>=H&&(!this.immediate||J>=Y)},_getTouchBoundary:function(H){return this.immediate||(0,P.X1)(H)?0:ee},_adjustStartEvent:function(H){var J=this._getTouchBoundary(H),Y=(0,P.nm)(this._startEventData,(0,P.rw)(H));this._startEvent.pageX+=(0,M._S)(Y.x)*J,this._startEvent.pageY+=(0,M._S)(Y.y)*J},_resetActiveElement:function(){"ios"===m.A.real().platform&&this.getElement().find(":focus").length&&(0,b.GX)()},_toggleGestureCover:function(H){this._toggleGestureCoverImpl(H)},_toggleGestureCoverImpl:function(H){2===this._stage&&function(H,J){R()(H,J)}(H,this.getElement().css("cursor"))},_clearSelection:function(H){(0,P.X1)(H)||(0,P.kH)(H)||(0,b.wr)()},end:function(H){this._toggleGestureCover(!1),2===this._stage?this._end(H):1===this._stage&&this._stop(H),this._stage=0},dispose:function(){clearTimeout(this._immediateTimer),this.callBase.apply(this,arguments),this._toggleGestureCover(!1)},_init:N.lQ,_start:N.lQ,_move:N.lQ,_stop:N.lQ,_end:N.lQ});j.initialTouchBoundary=ee,j.touchBoundary=function(H){if(!(0,p.O9)(H))return ee;ee=H};const fe=j},6961:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>R});var S,t=a(1269),c=a(6221),m=a(9104),x=a(9776),_=a(8642),b=a(5581),v=a(3862),M=c.A.abstract,N=v.A.real(),p="scroll",P="dxscrollinit",g="dxscrollstart",U="dxscroll",G="dxscrollend",A="dxscrollstop",K="dxscrollcancel",z=c.A.inherit((S=(0,m.b4)(p,"dxScrollEmitter"),{ctor:function(j){this._element=j,this._locked=!1,this._proxiedScroll=fe=>{this._disposed||this._scroll(fe)},t.A.on(this._element,S,this._proxiedScroll)},_scroll:M,check:function(j,fe){this._locked&&fe()},dispose:function(){this._disposed=!0,t.A.off(this._element,S,this._proxiedScroll)}})),ee=z.inherit({ctor:function(S,j){this.callBase(S),this._timeout=j},_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 S=this;this._timer=setTimeout(function(){S._clearTimer()},this._timeout)},dispose:function(){this.callBase(),this._clearTimer()}}),L=ee.inherit({ctor:function(S){this.callBase(S,400),this._lastWheelDirection=null},check:function(S,j){this._checkDirectionChanged(S),this.callBase(S,j)},_checkDirectionChanged:function(S){if((0,m.X1)(S)){var j=S.shiftKey||!1,fe=null!==this._lastWheelDirection&&j!==this._lastWheelDirection;this._lastWheelDirection=j,this._locked=this._locked&&!fe}else this._lastWheelDirection=null}}),f=ee.inherit({ctor:function(S){this.callBase(S,400)}});!function(){var{ios:S,android:j}=N;(S||j)&&(f=z.inherit({_scroll:function(){this._locked=!0;var fe=this;(0,b.u)(this._scrollFrame),this._scrollFrame=(0,b.x)(function(){fe._locked=!1})},check:function(fe,H){(0,b.u)(this._scrollFrame),(0,b.u)(this._checkFrame);var J=this,Y=this.callBase;this._checkFrame=(0,b.x)(function(){Y.call(J,fe,H),J._locked=!1})},dispose:function(){this.callBase(),(0,b.u)(this._scrollFrame),(0,b.u)(this._checkFrame)}}))}();var D=x.A.inherit(function(){var S=Math.round(16.666666666666668);return{ctor:function(j){this.callBase.apply(this,arguments),this.direction="both",this._pointerLocker=new f(j),this._wheelLocker=new L(j)},validate:function(){return!0},configure:function(j){j.scrollTarget&&(this._pointerLocker.dispose(),this._wheelLocker.dispose(),this._pointerLocker=new f(j.scrollTarget),this._wheelLocker=new L(j.scrollTarget)),this.callBase(j)},_init:function(j){this._wheelLocker.check(j,function(){(0,m.X1)(j)&&this._accept(j)}.bind(this)),this._pointerLocker.check(j,function(){var fe=this.isNative&&(0,m.Er)(j);!(0,m.X1)(j)&&!fe&&this._accept(j)}.bind(this)),this._fireEvent(P,j),this._prevEventData=(0,m.rw)(j)},move:function(j){this.callBase.apply(this,arguments),j.isScrollingEvent=this.isNative||j.isScrollingEvent},_start:function(j){this._savedEventData=(0,m.rw)(j),this._fireEvent(g,j),this._prevEventData=(0,m.rw)(j)},_move:function(j){var fe=(0,m.rw)(j);this._fireEvent(U,j,{delta:(0,m.nm)(this._prevEventData,fe)}),(0,m.nm)(this._savedEventData,fe).time>200&&(this._savedEventData=this._prevEventData),this._prevEventData=(0,m.rw)(j)},_end:function(j){var fe=(0,m.nm)(this._prevEventData,(0,m.rw)(j)),H={x:0,y:0};if(!(0,m.X1)(j)&&fe.time<100){var J=(0,m.nm)(this._savedEventData,this._prevEventData),Y=S/J.time;H={x:J.x*Y,y:J.y*Y}}this._fireEvent(G,j,{velocity:H})},_stop:function(j){this._fireEvent(A,j)},cancel:function(j){this.callBase.apply(this,arguments),this._fireEvent(K,j)},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)}}}());
1(0,_.A)({emitter:D,events:[P,g,U,G,A,K]});const R={init:P,start:g,move:U,end:G,stop:A,cancel:K,scroll:p}},2273:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>U});var t=a(4361),c=a(1269),m=a(8365),x=a(2101),_=a(9104),b=a(7951),v=a(9690),M="dxSwipeable",p={onStart:t.ni,onUpdated:t.By,onEnd:t._N,onCancel:"dxswipecancel"},g=m.A.inherit({_getDefaultOptions:function(){return(0,b.X)(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 G=this.NAME;this._createEventData(),(0,x.__)(p,function(A,K){var z=this._createActionByOption(A,{context:this});K=(0,_.b4)(K,G),c.A.on(this.$element(),K,this._eventData,function(ee){return z({event:ee})})}.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(){c.A.off(this.$element(),"."+M)},_optionChanged:function(G){switch(G.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(G)}},_useTemplates:function(){return!1}});(0,v.UU)(g,M);const U=g},4602:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>N});var t=a(9104),c=a(4469),m=a(8642),x=Math.abs,_="dxhold",M=c.A.inherit({start:function(p){this._startEventData=(0,t.rw)(p),this._startTimer(p)},_startTimer:function(p){var P="timeout"in this?this.timeout:750;this._holdTimer=setTimeout(function(){this._requestAccept(p),this._fireEvent(_,p,{target:p.target}),this._forgetAccept()}.bind(this),P)},move:function(p){this._touchWasMoved(p)&&this._cancel(p)},_touchWasMoved:function(p){var P=(0,t.nm)(this._startEventData,(0,t.rw)(p));return x(P.x)>5||x(P.y)>5},end:function(){this._stopTimer()},_stopTimer:function(){clearTimeout(this._holdTimer)},cancel:function(){this._stopTimer()},dispose:function(){this._stopTimer()}});(0,m.A)({emitter:M,bubble:!0,events:[_]});const N={name:_}},4017:(Nt,Le,a)=>{"use strict";a.d(Le,{_:()=>g,n:()=>N});var t=a(1269),c=a(8332),m=a(6221),x=a(3862),_=a(396),b=a(9104),v=a(4159),M="dxHoverStart",N="dxhoverstart",p=(0,b.b4)(v.A.enter,M),P="dxHoverEnd",g="dxhoverend",U=(0,b.b4)(v.A.leave,P),G=m.A.inherit({noBubble:!0,ctor:function(){this._handlerArrayKeyPath=this._eventNamespace+"_HandlerStore"},setup:function(z){(0,c.p)(z,this._handlerArrayKeyPath,{})},add:function(z,ee){var L=this,f=function(D){L._handler(D)};t.A.on(z,this._originalEventName,ee.selector,f),(0,c.p)(z,this._handlerArrayKeyPath)[ee.guid]=f},_handler:function(z){(0,b.kH)(z)||x.A.isSimulator()||(0,b.rC)({type:this._eventName,originalEvent:z,delegateTarget:z.delegateTarget})},remove:function(z,ee){var L=(0,c.p)(z,this._handlerArrayKeyPath)[ee.guid];t.A.off(z,this._originalEventName,ee.selector,L)},teardown:function(z){(0,c.jf)(z,this._handlerArrayKeyPath)}}),A=G.inherit({ctor:function(){this._eventNamespace=M,this._eventName=N,this._originalEventName=p,this.callBase()},_handler:function(z){(z.pointers||[]).length||this.callBase(z)}}),K=G.inherit({ctor:function(){this._eventNamespace=P,this._eventName=g,this._originalEventName=U,this.callBase()}});(0,_.A)(N,new A),(0,_.A)(g,new K)},4159:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ve});var t=a(3771),c=a(9900),m=a(2101),x=a(3862),_=a(396),b=a(7951),v=a(1269),M=a(9263),N=a(7669),p=a(6221),P=a(9104),g="dxPointerEvents";const G=p.A.inherit({ctor:function(ke,Ne){this._eventName=ke,this._originalEvents=(0,P.b4)(Ne,g),this._handlerCount=0,this.noBubble=this._isNoBubble()},_isNoBubble:function(){var ke=this._eventName;return"dxpointerenter"===ke||"dxpointerleave"===ke},_handler:function(ke){var Ne,Ie=this._getDelegateTarget(ke),De={type:this._eventName,pointerType:ke.pointerType||(0,P.KN)(ke),originalEvent:ke,delegateTarget:Ie,timeStamp:M.A.mozilla?(new Date).getTime():ke.timeStamp},et=ke.originalEvent;if(null!=et&&null!==(Ne=et.target)&&void 0!==Ne&&Ne.shadowRoot){var yt,dt,Je=null!==(yt=et.path)&&void 0!==yt?yt:null===(dt=et.composedPath)||void 0===dt?void 0:dt.call(et);De.target=Je[0]}return this._fireEvent(De)},_getDelegateTarget:function(ke){var Ne;return this.noBubble&&(Ne=ke.delegateTarget),Ne},_fireEvent:function(ke){return(0,P.rC)(ke)},_setSelector:function(ke){this._selector=this.noBubble&&ke?ke.selector:null},_getSelector:function(){return this._selector},setup:function(){return!0},add:function(ke,Ne){if(this._handlerCount<=0||this.noBubble){ke=this.noBubble?ke:N.A.getDocument(),this._setSelector(Ne);var Ie=this;v.A.on(ke,this._originalEvents,this._getSelector(),function(De){Ie._handler(De)})}this.noBubble||this._handlerCount++},remove:function(ke){this._setSelector(ke),this.noBubble||this._handlerCount--},teardown:function(ke){this._handlerCount&&!this.noBubble||(ke=this.noBubble?ke:N.A.getDocument(),this._originalEvents!=="."+g&&v.A.off(ke,this._originalEvents,this._getSelector()))},dispose:function(ke){ke=this.noBubble?ke:N.A.getDocument(),v.A.off(ke,this._originalEvents)}});var K=function(ke){var Ne=[];return(0,m.__)(ke.touches,function(Ie,De){Ne.push((0,b.X)({pointerId:De.identifier},De))}),{pointers:Ne,pointerId:ke.changedTouches[0].identifier}},ee=G.inherit({ctor:function(){this.callBase.apply(this,arguments),this._pointerId=0},_handler:function(ke){if(function(ke){return"ios"===x.A.real().platform&&("dxpointerdown"===ke||"dxpointerup"===ke)}(this._eventName)){var Ne=ke.changedTouches[0];if(this._pointerId===Ne.identifier&&0!==this._pointerId)return;this._pointerId=Ne.identifier}return this.callBase.apply(this,arguments)},_fireEvent:function(ke){return this.callBase((0,b.X)(K(ke.originalEvent),ke))}});ee.map={dxpointerdown:"touchstart",dxpointermove:"touchmove",dxpointerup:"touchend",dxpointercancel:"touchcancel",dxpointerover:"",dxpointerout:"",dxpointerenter:"",dxpointerleave:""},ee.normalize=K;const L=ee;var f=a(2535),D=function(ke,Ne){f.A.add(function(){ke.split(" ").forEach(function(Ie){N.A.listen(N.A.getDocument(),Ie,Ne,!0)})})};const S=function(ke,Ne,Ie){Ie=Ie||function(){};var De=[],et=function(dt){var Je=-1;return(0,m.__)(De,function(Ce,we){return!Ne(dt,we)||(Je=Ce,!1)}),Je},yt=function(dt){var Je=et(dt);Je>-1&&De.splice(Je,1)};D(ke.dxpointerdown,function(dt){-1===et(dt)&&(Ie(dt),De.push(dt))}),D(ke.dxpointermove,function(dt){De[et(dt)]=dt}),D(ke.dxpointerup,yt),D(ke.dxpointercancel,yt),this.pointers=function(){return De},this.reset=function(){De=[]}};
1var H,j={dxpointerdown:"mousedown",dxpointermove:"mousemove",dxpointerup:"mouseup",dxpointercancel:"",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},fe=function(ke){return ke.pointerId=1,{pointers:H.pointers(),pointerId:1}},J=!1,Y=function(){J||(H=new S(j,function(){return!0}),J=!0)},W=G.inherit({ctor:function(){this.callBase.apply(this,arguments),Y()},_fireEvent:function(ke){return this.callBase((0,b.X)(fe(ke.originalEvent),ke))}});W.map=j,W.normalize=fe,W.activate=Y,W.resetObserver=function(){H.reset()};const re=W;var Re=!1,Fe=G.inherit({EVENT_LOCK_TIMEOUT:100,ctor:function(){this.callBase.apply(this,arguments),Re||(re.activate(),Re=!0)},_handler:function(ke){var Ne=(0,P.Er)(ke);if(Ne||(this._skipNextEvents=!0),!Ne||!this._mouseLocked){if(Ne&&this._skipNextEvents){this._skipNextEvents=!1,this._mouseLocked=!0,clearTimeout(this._unlockMouseTimer);var Ie=this;return void(this._unlockMouseTimer=setTimeout(function(){Ie._mouseLocked=!1},this.EVENT_LOCK_TIMEOUT))}return this.callBase(ke)}},_fireEvent:function(ke){var Ne=(0,P.Er)(ke.originalEvent)?re.normalize:L.normalize;return this.callBase((0,b.X)(Ne(ke.originalEvent),ke))},dispose:function(){this.callBase(),this._skipNextEvents=!1,this._mouseLocked=!1,clearTimeout(this._unlockMouseTimer)}});Fe.map={dxpointerdown:"touchstart mousedown",dxpointermove:"touchmove mousemove",dxpointerup:"touchend mouseup",dxpointercancel:"touchcancel",dxpointerover:"mouseover",dxpointerout:"mouseout",dxpointerenter:"mouseenter",dxpointerleave:"mouseleave"},Fe.resetObserver=re.resetObserver;const ue=Fe;var _e=((ke,Ne)=>{var{tablet:Ie,phone:De}=Ne,et=function Z(){var ke=(0,t.A)().pointerEventStrategy;return{"mouse-and-touch":ue,touch:L,mouse:re}[ke]}();return et||(!ke.touch||Ie||De?ke.touch?L:re:ue)})(c,x.A.real());(0,m.__)(_e.map,(ke,Ne)=>{(0,_.A)(ke,new _e(ke,Ne))});const ve={down:"dxpointerdown",up:"dxpointerup",move:"dxpointermove",cancel:"dxpointercancel",enter:"dxpointerenter",leave:"dxpointerleave",over:"dxpointerover",out:"dxpointerout"}},675:(Nt,Le,a)=>{"use strict";a.d(Le,{N:()=>_});var t=a(4292),c=a(8332),m=a(1269),x=a(396),_="dxremove",b="dxRemoveEvent";(0,c.z)(function(v){v=[].slice.call(v);for(var M=0;M<v.length;M++){var N=(0,t.A)(v[M]);N.prop(b)&&(N[0][b]=null,m.A.triggerHandler(N,_))}}),(0,x.A)(_,{noBubble:!0,setup:function(v){(0,t.A)(v).prop(b,!0)}})},8257:(Nt,Le,a)=>{"use strict";a.d(Le,{PT:()=>M,QJ:()=>K,Rz:()=>P,XC:()=>p,XD:()=>N,XR:()=>v,jM:()=>g,vu:()=>b});var t=a(1269),c=a(6297),m=a(9104);function x(z,ee){return ee?(0,m.b4)(z,ee):z}function _(z,ee){return"function"==typeof z?z(ee):z.execute(ee)}var b={on:(z,ee,L,f)=>{var{selector:D,showTimeout:R,hideTimeout:S,namespace:j}=f;t.A.on(z,x("dxactive",j),D,{timeout:R},fe=>_(ee,{event:fe,element:fe.currentTarget})),t.A.on(z,x("dxinactive",j),D,{timeout:S},fe=>_(L,{event:fe,element:fe.currentTarget}))},off:(z,ee)=>{var{namespace:L,selector:f}=ee;t.A.off(z,x("dxactive",L),f),t.A.off(z,x("dxinactive",L),f)}},v={on:function(z,ee){var{namespace:L}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.A.on(z,x("dxresize",L),ee)},off:function(z){var{namespace:ee}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.A.off(z,x("dxresize",ee))}},M={on:(z,ee,L,f)=>{var{selector:D,namespace:R}=f;t.A.on(z,x("dxhoverend",R),D,S=>L(S)),t.A.on(z,x("dxhoverstart",R),D,S=>_(ee,{element:S.target,event:S}))},off:(z,ee)=>{var{selector:L,namespace:f}=ee;t.A.off(z,x("dxhoverstart",f),L),t.A.off(z,x("dxhoverend",f),L)}},N={on:(z,ee,L,f)=>{var{namespace:D}=f;t.A.on(z,x("dxhiding",D),L),t.A.on(z,x("dxshown",D),ee)},off:(z,ee)=>{var{namespace:L}=ee;t.A.off(z,x("dxhiding",L)),t.A.off(z,x("dxshown",L))}},p={on:(z,ee,L,f)=>{var{namespace:D}=f;t.A.on(z,x("focusin",D),ee),t.A.on(z,x("focusout",D),L)},off:(z,ee)=>{var{namespace:L}=ee;t.A.off(z,x("focusin",L)),t.A.off(z,x("focusout",L))},trigger:z=>t.A.trigger(z,"focus")},P={on:function(z,ee){var{namespace:L}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.A.on(z,x("dxclick",L),ee)},off:function(z){var{namespace:ee}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.A.off(z,x("dxclick",ee))}},g={on:function(z,ee){var{namespace:L}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.A.on(z,x("click",L),ee)},off:function(z){var{namespace:ee}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.A.off(z,x("click",ee))}},U=0,G={}
1,K={on:(z,ee,L)=>{var f="keyboardProcessorId".concat(U++);return G[f]=new c.A({element:z,focusTarget:ee,handler:L}),f},off:z=>{z&&G[z]&&(G[z].dispose(),delete G[z])},_getProcessor:z=>G[z]}},4361:(Nt,Le,a)=>{"use strict";a.d(Le,{By:()=>b,_N:()=>v,ni:()=>_});var t=a(186),c=a(9104),m=a(9776),x=a(8642),_="dxswipestart",b="dxswipe",v="dxswipeend",p={horizontal:{defaultItemSizeFunc:function(){return(0,t.RG)(this.getElement())},getBounds:function(){return[this._maxLeftOffset,this._maxRightOffset]},calcOffsetRatio:function(g){return((0,c.rw)(g).x-(this._savedEventData&&this._savedEventData.x||0))/this._itemSizeFunc().call(this,g)},isFastSwipe:function(g){var U=(0,c.rw)(g);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(U.x-this._tickData.x)>=U.time-this._tickData.time}},vertical:{defaultItemSizeFunc:function(){return(0,t.Oq)(this.getElement())},getBounds:function(){return[this._maxTopOffset,this._maxBottomOffset]},calcOffsetRatio:function(g){return((0,c.rw)(g).y-(this._savedEventData&&this._savedEventData.y||0))/this._itemSizeFunc().call(this,g)},isFastSwipe:function(g){var U=(0,c.rw)(g);return this.FAST_SWIPE_SPEED_LIMIT*Math.abs(U.y-this._tickData.y)>=U.time-this._tickData.time}}},P=m.A.inherit({TICK_INTERVAL:300,FAST_SWIPE_SPEED_LIMIT:10,ctor:function(g){this.callBase(g),this.direction="horizontal",this.elastic=!0},_getStrategy:function(){return p[this.direction]},_defaultItemSizeFunc:function(){return this._getStrategy().defaultItemSizeFunc.call(this)},_itemSizeFunc:function(){return this.itemSizeFunc||this._defaultItemSizeFunc},_init:function(g){this._tickData=(0,c.rw)(g)},_start:function(g){this._savedEventData=(0,c.rw)(g),(g=this._fireEvent(_,g)).cancel||(this._maxLeftOffset=g.maxLeftOffset,this._maxRightOffset=g.maxRightOffset,this._maxTopOffset=g.maxTopOffset,this._maxBottomOffset=g.maxBottomOffset)},_move:function(g){var U=this._getStrategy(),G=(0,c.rw)(g),A=U.calcOffsetRatio.call(this,g);A=this._fitOffset(A,this.elastic),G.time-this._tickData.time>this.TICK_INTERVAL&&(this._tickData=G),this._fireEvent(b,g,{offset:A}),!1!==g.cancelable&&g.preventDefault()},_end:function(g){var U=this._getStrategy(),G=U.calcOffsetRatio.call(this,g),A=U.isFastSwipe.call(this,g),K=G,z=this._calcTargetOffset(G,A);K=this._fitOffset(K,this.elastic),z=this._fitOffset(z,!1),this._fireEvent(v,g,{offset:K,targetOffset:z})},_fitOffset:function(g,U){var A=this._getStrategy().getBounds.call(this);return g<-A[0]?U?(-2*A[0]+g)/3:-A[0]:g>A[1]?U?(2*A[1]+g)/3:A[1]:g},_calcTargetOffset:function(g,U){var G;return U?(G=Math.ceil(Math.abs(g)),g<0&&(G=-G)):G=Math.round(g),G}});(0,x.A)({emitter:P,events:[_,b,v]})},9104:(Nt,Le,a)=>{"use strict";a.d(Le,{b4:()=>ce,lh:()=>Re,rw:()=>j,nm:()=>fe,KN:()=>z,rC:()=>Be,Pg:()=>ue,Ic:()=>H,By:()=>_e,X1:()=>f,Er:()=>L,kH:()=>D,eT:()=>re,YD:()=>Fe});var t=a(4292),c=a(7550),m=(ne,Z)=>{if(!Z)throw c.A.Error("E0017");return Array.isArray(ne)?ne.map(ve=>m(ve,Z)).join(" "):-1!==ne.indexOf(" ")?m(ne.split(/\s+/g),Z):"".concat(ne,".").concat(Z)};const x=m;var _=a(1269),b=a(2101),v=a(7951),M=a(1063),N={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"},p={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"},P={dx:/^dx/i,mouse:/(mouse|wheel)/i,touch:/^touch/i,keyboard:/^key/i,pointer:/^(ms)?pointer/i},G=ne=>"dx"===z(ne),K=ne=>"touch"===z(ne),z=ne=>{var{type:Z}=ne,ve="other";return(0,b.__)(P,function(ke){if(this.test(Z))return ve=ke,!1}),ve},ee=ne=>"pointer"===z(ne),L=ne=>(ne=>"mouse"===z(ne))(ne)||(ee(ne)||G(ne))&&"mouse"===ne.pointerType,f=ne=>ne&&"dxmousewheel"===ne.type,D=ne=>K(ne)||(ee(ne)||G(ne))&&"touch"===ne.pointerType,j=ne=>{var{pageX:Z,pageY:ve,timeStamp:ke}=ne;return{x:Z,y:ve,time:ke}},fe=(ne,Z)=>({x:Z.x-ne.x,y:Z.y-ne.y,time:Z.time-ne.time||1}),H=ne=>{var{originalEvent:Z,pointers:ve}=ne;return K(ne)?(Z.touches||[]).length:G(ne)?(ve||[]).length:0},re=ne=>{var{target:Z}=ne,ve=(0,t.A)(Z),ke=Z?.isContentEditable||Z?.hasAttribute("contenteditable"),Ne=ve.is("input, textarea, select")||ke;return f(ne)?!(ve.is("textarea")&&ve.hasClass("dx-texteditor-input")||ke)&&ve.is("input[type='number'], textarea, select")&&ve.is(":focus"):L(ne)?Ne||ne.which>1:D(ne)?Ne&&(0,M.in)(ve):void 0},Re=(ne,Z)=>{var ve=(ne=>_.A.Event(ne,ne))(ne);return Z&&(0,v.X)(ve,Z),ve},Be=ne=>{var{originalEvent:Z,delegateTarget:ve}=ne,ke=Re(Z,ne);return _.A.trigger(ve||ke.target,ke),ke},Fe=ne=>{var{key:Z,which:ve}=ne,ke=N[Z?.toLowerCase()]||Z,Ne=p[ve];return Ne&&ke===Z?Ne:!ke&&ve?String.fromCharCode(ve):ke},ue=ne=>{var{key:Z,which:ve}=ne;return Z||String.fromCharCode(ve)},ce=x,_e=ne=>{var{ctrlKey:Z,metaKey:ve}=ne;return Z||ve}},5822:(Nt,Le,a)=>{"use strict";a.d(Le,{EH:()=>_,I9:()=>x,ho:()=>b});var t=a(4292),c=a(1269),m=function(v){return function(M){for(var N=(0,t.A)(M||"body"),p=N.filter(".dx-visibility-change-handler").add(N.find(".dx-visibility-change-handler")),P=0;P<p.length;P++)c.A.triggerHandler(p[P],v)}},x=m("dxshown"),_=m("dxhiding"),b=m("dxresize")},3437:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>b});var t=a(7041);const c={"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"},x=(v,M)=>
1{var N=v[M];return N?"root"!==N&&N:M.substr(0,M.lastIndexOf("-"))};var _="en";const b=(0,t.A)({locale:(()=>{var v=_;return M=>{if(!M)return v;v=M}})(),getValueByClosestLocale:function(v){for(var p,M=this.locale(),N=v(M);!N&&!p;)(M=x(c,M))?N=v(M):p=!0;return void 0===N&&M!==_?v(_):N}})},1364:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});var t=a(7951);const c={_formatNumberCore:function(m,x,_){if("currency"===x){_.precision=_.precision||0;var b=this.format(m,(0,t.X)({},_,{type:"fixedpoint"})),v=this.getCurrencySymbol().symbol.replace(/\$/g,"$$$$");return b.replace(/^(\D*)(\d.*)/,"$1"+v+"$2")}return this.callBase.apply(this,arguments)},getCurrencySymbol:function(){return{symbol:"$"}},getOpenXmlCurrencyFormat:function(){return"$#,##0{0}_);\\($#,##0{0}\\)"}}},9259:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Fe});var t=a(7041),c=a(2463),m=a(2101),x=a(7550),_=a(6773),b=a(5276),v=a(7336),M=a(8029);const N={"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 p=a(3437),P=a(5655),g=a(7951),U=/[\u200E\u200F]/g,G=/[\u202F]/g,A=ue=>ce=>{if(!ue.timeZoneName){var _e=ce.getFullYear(),ne=String(_e).length<3,ve=new Date(Date.UTC(ne?_e+400:_e,ce.getMonth(),ce.getDate(),ce.getHours(),ce.getMinutes(),ce.getSeconds(),ce.getMilliseconds()));return ne&&ve.setFullYear(_e),ee(ve,(0,g.X)({timeZone:"UTC"},ue))}return ee(ce,ue)},K={},z=ue=>{var ce=p.A.locale()+"/"+JSON.stringify(ue);return K[ce]||(K[ce]=new Intl.DateTimeFormat(p.A.locale(),ue).format),K[ce]};function ee(ue,ce){return z(ce)(ue).replace(U,"").replace(G," ")}var L=ue=>new Intl.NumberFormat(p.A.locale()).format(ue),f=(()=>{var ue={};return ce=>{if(!(ce in ue)){if("0"===L(0))return ue[ce]=!1,!1;ue[ce]={};for(var _e=0;_e<10;++_e)ue[ce][L(_e)]=_e}return ue[ce]}})(),D=ue=>{var ce=f(p.A.locale());return ce?ue.split("").map(_e=>_e in ce?String(ce[_e]):_e).join(""):ue},R=ue=>ue.replace(/(\D)0+(\d)/g,"$1$2"),j=ue=>ue.replace("d\u2019","de "),fe={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(fe,"shortdateshorttime",{get:function(){var ue=Intl.DateTimeFormat(p.A.locale()).resolvedOptions();return{year:ue.year,month:ue.month,day:ue.day,hour:"numeric",minute:"numeric"}}});var J={standalone:function(ue,ce){var _e=new Date(1999,ue,13,1);return A({month:ce})(_e)},format:function(ue,ce){var _e=new Date(0,ue,13,1),Z=j(A({day:"numeric",month:ce})(_e)).split(" ").filter(ve=>ve.indexOf("13")<0);return 1===Z.length?Z[0]:2===Z.length?Z[0].length>Z[1].length?Z[0]:Z[1]:J.standalone(ue,ce)}};const Y={engine:function(){return"intl"},getMonthNames:function(ue,ce){var _e={wide:"long",abbreviated:"short",narrow:"narrow"}[ue||"wide"];return ce="format"===ce?ce:"standalone",Array.apply(null,new Array(12)).map((ne,Z)=>J[ce](Z,_e))},getDayNames:function(ue){var _e;return _e={wide:"long",abbreviated:"short",short:"narrow",narrow:"narrow"}[ue||"wide"],Array.apply(null,new Array(7)).map((ne,Z)=>A({weekday:_e})(new Date(0,0,Z)))},getPeriodNames:function(){var ue=A({hour:"numeric",hour12:!0});return[1,13].map(ce=>{var _e=L(1),ne=ue(new Date(0,0,1,ce)).split(_e);return 2!==ne.length?"":(ne[0].length>ne[1].length?ne[0]:ne[1]).trim()})},format:function(ue,ce){if(ue){if(!ce)return ue;"function"!=typeof ce&&!ce.formatter&&(ce=ce.type||ce);var _e=(ue=>"string"==typeof ue&&fe[ue.toLowerCase()])(ce);if(_e)return A(_e)(ue);var ne=typeof ce;return ce.formatter||"function"===ne||"string"===ne?this.callBase.apply(this,arguments):A(ce)(ue)}},parse:function(ue,ce){var _e;return ce&&!ce.parser&&"string"==typeof ue&&(ue=j(ue),_e=ne=>j(this.format(ne,ce))),this.callBase(ue,_e||ce)},_parseDateBySimpleFormat:function(ue,ce){ue=D(ue);var _e=this.getFormatParts(ce),ne=ue.split(/\D+/).filter(ke=>ke.length>0);
1if(_e.length===ne.length){var Z=this._generateDateArgs(_e,ne),ve=ke=>{var Ie,Ne=(Ie=Z,new Date(Ie.year,Ie.month,Ie.day,(Ie.hours+(ke?12:0))%24,Ie.minutes,Ie.seconds));if(((ue,ce)=>R(ue)===R(ce))(D(this.format(Ne,ce)),ue))return Ne};return ve(!1)||ve(!0)}},_generateDateArgs:function(ue,ce){var _e=new Date,ne={year:_e.getFullYear(),month:_e.getMonth(),day:_e.getDate(),hours:0,minutes:0,seconds:0};return ue.forEach((Z,ve)=>{var Ne=parseInt(ce[ve],10);"month"===Z&&(Ne-=1),ne[Z]=Ne}),ne},formatUsesMonthName:function(ue){return"object"!=typeof ue||ue.type||ue.format?this.callBase.apply(this,arguments):"long"===ue.month},formatUsesDayName:function(ue){return"object"!=typeof ue||ue.type||ue.format?this.callBase.apply(this,arguments):"long"===ue.weekday},getTimeSeparator:function(){return D(ee(new Date(2001,1,1,11,11),{hour:"numeric",minute:"numeric",hour12:!1})).replace(/\d/g,"")},getFormatParts:function(ue){if("string"==typeof ue)return this.callBase(ue);var ce=(0,g.X)({},fe[ue.toLowerCase()]),_e=new Date(2001,2,4,5,6,7),ne=A(ce)(_e);return ne=D(ne),[{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:ne.indexOf(Z.value)})).filter(Z=>Z.index>-1).sort((Z,ve)=>Z.index-ve.index).map(Z=>Z.name)}};var re=typeof Intl<"u",le={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"},Re={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"]},Be=(0,t.A)({engine:function(){return"base"},_getPatternByFormat:function(ue){return le[ue.toLowerCase()]},_expandPattern:function(ue){return this._getPatternByFormat(ue)||ue},formatUsesMonthName:function(ue){return-1!==this._expandPattern(ue).indexOf("MMMM")},formatUsesDayName:function(ue){return-1!==this._expandPattern(ue).indexOf("EEEE")},getFormatParts:function(ue){var ce=this._getPatternByFormat(ue)||ue,_e=[];return(0,m.__)(ce.split(/\W+/),(ne,Z)=>{(0,m.__)(Re,(ve,ke)=>{ke.includes(Z)&&_e.push(ve)})}),_e},getMonthNames:function(ue){return M.A.getMonthNames(ue)},getDayNames:function(ue){return M.A.getDayNames(ue)},getQuarterNames:function(ue){return M.A.getQuarterNames(ue)},getPeriodNames:function(ue){return M.A.getPeriodNames(ue)},getTimeSeparator:function(){return":"},is24HourFormat:function(ue){for(var ce=new Date(2017,0,20,11,0,0,0),_e=new Date(2017,0,20,23,0,0,0),ne=this.format(ce,ue),Z=this.format(_e,ue),ve=0;ve<ne.length;ve++)if(ne[ve]!==Z[ve])return!isNaN(parseInt(ne[ve]))},format:function(ue,ce){if(ue){if(!ce)return ue;var _e;if("function"==typeof ce)_e=ce;else if(ce.formatter)_e=ce.formatter;else if((0,c.Kg)(ce=ce.type||ce))return ce=le[ce.toLowerCase()]||ce,P.A.convertDigits((0,_.f)(ce,this)(ue));if(_e)return _e(ue)}},parse:function(ue,ce){var ne,Z,_e=this;if(ue){if(!ce)return this.parse(ue,"shortdate");if(ce.parser)return ce.parser(ue);if("string"!=typeof ce||le[ce.toLowerCase()]){Z=ke=>{var Ne=_e.format(ke,ce);return P.A.convertDigits(Ne,!0)};try{ne=(0,b.g)(Z)}catch{}}else ne=ce;if(ne)return ue=P.A.convertDigits(ue,!0),(0,v.SQ)(ne,this)(ue);x.A.log("W0012");var ve=new Date(ue);if(ve&&!isNaN(ve.getTime()))return ve}},firstDayOfWeekIndex:function(){var ue=p.A.getValueByClosestLocale(ce=>N[ce]);return void 0===ue?0:ue}});re&&Be.inject(Y);const Fe=Be},8029:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>v});var t=a(2101),c=["January","February","March","April","May","June","July","August","September","October","November","December"],m=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],x=["AM","PM"],_=["Q1","Q2","Q3","Q4"],b=(M,N)=>{var p={abbreviated:3,short:2,narrow:1};return(0,t.Tj)(M,P=>P.substr(0,p[N]))};const v={getMonthNames:function(M){return b(c,M)},getDayNames:function(M){return b(m,M)},getQuarterNames:function(M){return _},getPeriodNames:function(M){return x}}},5276:(Nt,Le,a)=>{"use strict";a.d(Le,{g:()=>G});var t=a(5655),m=" .,:;/\\<>()-[]\u060c",_=function(A){var K=A&&t.A.convertDigits(A,!1).charCo
1deAt(0),z=t.A.convertDigits("0",!1).charCodeAt(0);return z<=K&&K<z+10},b=function(A,K,z,ee){var L=A[z],f=A[z+1];if(!ee&&("."===L||" "===L&&". m."===A.slice(z-1,z+3)||"-"===L&&!_(f)))return!0;var D=ee&&K.some(R=>A[z]!==R[z]);return m.indexOf(L)<0&&ee===_(L)&&(!ee||D)},v=function(A,K){if(!_(A[K]))for(;K>0&&!_(A[K-1])&&("."===A[K-1]||m.indexOf(A[K-1])<0);)K--;return K},P=function(A,K){return Array.isArray(A)?A.map(function(z){return(K(z)||"").toString()}):(K(A)||"").toString()},g=/[a-zA-Z]/g,G=function(A){var K=[],z=P(new Date(2009,8,8,6,5,4),A),ee=z.split("").map(function(R,S){return S}),L=z,f={},D=[{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(L&&(D.forEach(function(R){var S=function(A,K,z,ee){var L=0,f=[],D=function(R){return A[L]!==R[L]&&(void 0===ee||_(A[L])===ee)};for(Array.isArray(K)||(K=[K]),L=0;L<A.length;L++)if(z.indexOf(L)<0&&K.filter(D).length){L=v(A,L);do{if(ee=_(A[L]),!f.length&&!ee&&_(K[0][L]))break;f.push(L),z.unshift(L),L++}while(A[L]&&b(A,K,L,ee));break}return 1===f.length&&("0"===A[z[0]-1]||"\u0660"===A[z[0]-1])&&z.unshift(z[0]-1),f}(z,P(R.date,A),K,R.isDigit),j="M"!==R.pattern||f.d?R.pattern:"L";L=function(A,K,z,ee){var L,f,D;if(!_(A[K[0]]||"0")){for(var R=Math.max(K.length<=3?3:4,z.length);K.length>R;){for(D=ee[f=K.pop()],ee[f]=-1,L=f+1;L<ee.length;L++)ee[L]--;A=A.substr(0,D)+A.substr(D+1)}for(D=(f=K[K.length-1]+1)<ee.length?ee[f]:f;K.length<R;){for(K.push(K[K.length-1]+1),L=f;L<ee.length;L++)ee[L]++;A=A.substr(0,D)+" "+A.substr(D)}}return A=function(A,K,z,ee){var L=K[0],f=L<ee.length?ee[L]:L;return K.forEach(function(D,R){A=A.substr(0,f+R)+(z.length>1?z[R]:z)+A.substr(f+R+1)}),1===K.length&&(A=(A=A.replace("0"+z,z+z)).replace("\u0660"+z,z+z)),A}(A,K,z,ee),A}(L,S,j,ee),f[j]=S.length}),L=function(A,K,z,ee){var L=K.split("").map(function(f,D){return z.indexOf(D)<0&&(f.match(g)||"'"===f)?ee[D]:-1});return A.split("").map(function(f,D){var R=f,S=L.indexOf(D)>=0,j=D>0&&L.indexOf(D-1)>=0,fe=L.indexOf(D+1)>=0;return S&&(j||(R="'"+R),fe||(R+="'")),R}).join("")}(L,z,K,ee),K.length))return L}},6773:(Nt,Le,a)=>{"use strict";function t(_,b){for(;_.length<b;)_="0"+_;return _}a.d(Le,{f:()=>x});var c={3:"abbreviated",4:"wide",5:"narrow"},m={y:function(_,b,v){var M=_[v?"getUTCFullYear":"getFullYear"]();return 2===b&&(M%=100),t(M.toString(),b)},M:function(_,b,v,M){var N=_[v?"getUTCMonth":"getMonth"](),p=c[b];return p?M.getMonthNames(p,"format")[N]:t((N+1).toString(),Math.min(b,2))},L:function(_,b,v,M){var N=_[v?"getUTCMonth":"getMonth"](),p=c[b];return p?M.getMonthNames(p,"standalone")[N]:t((N+1).toString(),Math.min(b,2))},Q:function(_,b,v,M){var N=_[v?"getUTCMonth":"getMonth"](),p=Math.floor(N/3),P=c[b];return P?M.getQuarterNames(P)[p]:t((p+1).toString(),Math.min(b,2))},E:function(_,b,v,M){var N=_[v?"getUTCDay":"getDay"]();return M.getDayNames(c[b<3?3:b])[N]},a:function(_,b,v,M){var p=_[v?"getUTCHours":"getHours"]()<12?0:1;return M.getPeriodNames(c[b])[p]},d:function(_,b,v){return t(_[v?"getUTCDate":"getDate"]().toString(),Math.min(b,2))},H:function(_,b,v){return t(_[v?"getUTCHours":"getHours"]().toString(),Math.min(b,2))},h:function(_,b,v){return t((_[v?"getUTCHours":"getHours"]()%12||12).toString(),Math.min(b,2))},m:function(_,b,v){return t(_[v?"getUTCMinutes":"getMinutes"]().toString(),Math.min(b,2))},s:function(_,b,v){return t(_[v?"getUTCSeconds":"getSeconds"]().toString(),Math.min(b,2))},S:function(_,b,v){return t(_[v?"getUTCMilliseconds":"getMilliseconds"]().toString(),3).substr(0,b)},x:function(_,b,v){var M=v?0:_.getTimezoneOffset(),N=M>0?"-":"+",p=Math.abs(M),g=p%60,U=t(Math.floor(p/60).toString(),2),G=t(g.toString(),2);return N+U+(b>=3?":":"")+(b>1||g?G:"")},X:function(_,b,v){return v||!_.getTimezoneOffset()?"Z":m.x(_,b,v)},Z:function(_,b,v){return m.X(_,b>=5?3:2,v)}},x=function(_,b){return function(v){var M,N,p,U,P=0,g=!1,G="";if(!v)return null;if(!_)return v;var A="Z"===_[_.length-1]||"'Z'"===_.slice(-3);for(M=0;M<_.length;M++)N=m[p=_[M]],P++,(U=p===_[M+1])||(N&&!g&&(G+=N(v,P,A,b)),P=0),"'"!==p||U?(g||!N)&&(G+=p
1):g=!g,"'"===p&&U&&M++;return G}}},7336:(Nt,Le,a)=>{"use strict";a.d(Le,{SQ:()=>S,rt:()=>z,wu:()=>G});var t=a(5042),c=a(5978),m={3:"abbreviated",4:"wide",5:"narrow"},x=function(j,fe){return j>2?Object.keys(m).map(function(H){return["format","standalone"].map(function(J){return fe.getMonthNames(m[H],J).join("|")}).join("|")}).join("|"):2===j?"1[012]|0?[1-9]":"0??[1-9]|1[012]"},_={":":function(j,fe){var H=j>1?"{".concat(j,"}"):"",J=(0,t.Nt)(fe.getTimeSeparator());return":"!==J&&(J="".concat(J,"|:")),"".concat(J).concat(H)},y:function(j){return 2===j?"[0-9]{".concat(j,"}"):"[0-9]+?"},M:x,L:x,Q:function(j,fe){return j>2?fe.getQuarterNames(m[j],"format").join("|"):"0?[1-4]"},E:function(j,fe){return"\\D*"},a:function(j,fe){return fe.getPeriodNames(m[j<3?3:j],"format").join("|")},d:function(j){return 2===j?"3[01]|[12][0-9]|0?[1-9]":"0??[1-9]|[12][0-9]|3[01]"},H:function(j){return 2===j?"2[0-3]|1[0-9]|0?[0-9]":"0??[0-9]|1[0-9]|2[0-3]"},h:function(j){return 2===j?"1[012]|0?[1-9]":"0??[1-9]|1[012]"},m:function(j){return 2===j?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},s:function(j){return 2===j?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"},S:function(j){return"[0-9]{1,".concat(j,"}")},w:function(j){return 2===j?"[1-5][0-9]|0?[0-9]":"0??[0-9]|[1-5][0-9]"}},b=Number,v=function(j,fe){return j.map(H=>H.toLowerCase()).indexOf(fe.toLowerCase())},M=function(j,fe,H){return fe>2?["format","standalone"].map(function(J){return Object.keys(m).map(function(Y){var W=H.getMonthNames(m[Y],J);return v(W,j)})}).reduce(function(J,Y){return J.concat(Y)}).filter(function(J){return J>=0})[0]:b(j)-1},N={y:function(j,fe){var H=b(j);return 2===fe?H<30?2e3+H:1900+H:H},M,L:M,Q:function(j,fe,H){return fe>2?H.getQuarterNames(m[fe],"format").indexOf(j):b(j)-1},E:function(j,fe,H){var J=H.getDayNames(m[fe<3?3:fe],"format");return v(J,j)},a:function(j,fe,H){var J=H.getPeriodNames(m[fe<3?3:fe],"format");return v(J,j)},d:b,H:b,h:b,m:b,s:b,S:function(j,fe){for(fe=Math.max(fe,3),j=j.slice(0,3);fe<3;)j+="0",fe++;return b(j)}},p=["y","M","d","h","m","s","S"],P={y:"setFullYear",M:"setMonth",L:"setMonth",a:function(j,fe,H){var J=j.getHours(),Y=H.h;void 0!==Y&&Y!==J&&J--,fe||12!==J?fe&&12!==J&&(J+=12):J=0,j.setHours(J)},d:"setDate",H:"setHours",h:"setHours",m:"setMinutes",s:"setSeconds",S:"setMilliseconds"},g=function(j,fe){var H=j[fe];if(!H)return 0;var J=0;do{fe++,J++}while(j[fe]===H);return J},U=function(j,fe){for(var H="",J=0;J<fe;J++)H+=j;return H},G=function(j,fe){for(var Y,H="",J="",W=[],re=function(){J&&(W.push("'".concat(J,"'")),H+="".concat((0,t.Nt)(J),")"),J="")},le=0;le<j.length;le++){var Re=j[le],Fe=_[Re];if("'"!==Re||(Y=!Y,"'"===j[le-1]))if(Fe&&!Y){var ue=g(j,le),ce=U(Re,ue);re(),W.push(ce),H+="(".concat(Fe(ue,fe),")"),le+=ue-1}else J||(H+="("),J+=Re}return re(),K(W)||c.v.warn("The following format may be parsed incorrectly: ".concat(j,".")),{patterns:W,regexp:new RegExp("^".concat(H,"$"),"i")}},A=["d","H","h","m","s","w","M","L","Q"],K=function(j){var fe=Y=>{if(!Y)return!1;var W=Y[0];return["y","S"].includes(W)||A.includes(W)&&Y.length<3},H=!0,J=0;return j.every((Y,W,re)=>{return fe(Y)&&("S"!==(le=Y)[0]&&2!==le.length&&(H=++J<2),fe(re[W+1])||(J=0)),H;var le})},z=function(){return P},S=function(j,fe){var H=G(j,fe);return function(J){var Y=H.regexp.exec(J);if(Y){var W=new Date,re=new Date(W.getFullYear(),0,1),le=function(j){return j.map(function(fe){return"'"===fe[0]?"":"H"===fe[0]?"h":fe[0]})}(H.patterns),Re=function(j){var fe=j.map(function(H){return p.indexOf(H)});return Math.max.apply(Math,fe)}(le),Be=function(j){var fe=j.filter(function(H){return p.indexOf(H)<0});return p.concat(fe)}(le),Fe={};return Be.forEach(function(ue,ce){if(ue&&!(ce<p.length&&ce>Re)){var _e=le.indexOf(ue);_e>=0?function(j,fe,H,J,Y){var W=fe[0],re=P[W],le=N[W];if(re&&le){var Re=le(H,fe.length,J);Y[fe]=Re,j[re]?j[re](Re):re(j,Re,Y)}}(re,H.patterns[_e],Y[_e+1],fe,Fe):function(j,fe,H){var J=P[fe],W=H["g"+J.substr(1)]();j[J](W)}(re,ue,W)}}),re}return null}}},1979:(Nt,Le,a)=>{"use strict";a.d(Le,{f:()=>ee,g:()=>R});var t=a(2209),c=a(18),m={thousandsSeparator:",",decimalSeparator:"."},x="'",_=15,b=2;function N(S){return S.toString().split("").reverse().join("")}function P(S){return S.replace(/'.+'/g,"")}function g(S){if(!S)return 0;var j=P(S);return j.length-j.replace(/[#]/g,"").length}function U(S){if(!S)return 0;var j=P(S);return j.length-j.replace(/[0]/g,"").length}function G(S,j,fe){if(!S)return"";for(S.length>fe&&(S=S.substr(0,fe));S.length>j&&"0"===S.slice(-1);)S=S.substr(0,S.length-1);for(;S.length<j;)S+="0";return S}function K(S,j){return S.split(x).map(function(fe,H){var J=H%2;return!fe&&J?x:J?fe:fe.replace(/[,#0]+/,j)}).join("")}function ee(S,j){return j=j||m,function(fe){if("number"!=typeof fe||isNaN(fe))return"";var H=function M(S){var j=S.split(";");return 1===j.length&&j.push("-"+j[0]),j}(S),Y=fe>
10||1/fe==1/0,W=H[Y?0:1],re=function z(S){for(var j=!1,fe=0;fe<S.length;fe++)if("'"===S[fe]&&(j=!j),"."===S[fe]&&!j)return fe;return S.length}(W),le=[W.substr(0,re),W.substr(re+1)],Re=U(le[1]),Be=Re+g(le[1]);(function p(S){return-1!==S.indexOf("%")&&!S.match(/'[^']*%[^']*'/g)})(W)&&(fe=(0,t.T0)(fe,b)),Y||(fe=-fe);var Fe=U(le[0]),ue=g(le[0])||j.unlimitedIntegerDigits?void 0:Fe,ce=Math.floor(fe).toString().length,_e=(0,t.df)(Be,0,_-ce),ne=function v(S){return S.split(",").slice(1).map(function(j){var fe=0;return j.split("").filter(function(H,J){return fe+="'"===H,!("#"!==H&&"0"!==H||fe%2)}).length})}(le[0]).reverse(),Z=(0,c.M)(fe,_e<0?0:_e).split("."),ve=G(N(Z[0]),Fe,ue),ke=G(Z[1],Re,Be);ve=function A(S,j,fe){if(!j.length)return S;for(var H=[],J=0;S;){var Y=j[J];if(!Y)break;H.push(S.slice(0,Y)),S=S.slice(Y),J<j.length-1&&J++}return H.join(fe)}(ve,ne,j.thousandsSeparator);var Ne=N(K(N(le[0]),ve)),Ie=Be?K(le[1],ke):"";return Ne+(Ie.match(/\d/)?j.decimalSeparator:"")+Ie}}function L(S,j,fe){var H=(j?.01:1)*parseFloat(S)||0;return fe?-H:H}function f(S,j,fe,H){var Y,W,re,J=S;do{re&&(Y=W.length===re.length?"0":"1",S=H?Y+S:S+Y),W=re||j(L(J,fe)),re=j(L(J=H?"1"+J:J+"1",fe))}while(W!==re&&(H?W.length===re.length:W.length<=re.length));if(H&&re.length>W.length){var le=-1===j(12345).indexOf("12345");do{S="1"+S}while(le&&L(S,fe)<1e5)}return S}function D(S,j,fe,H){var J=j(L(S,fe,H)),Y=S.split("."),le=j(L(Y[0]+".3"+Y[1].slice(1),fe,H)).indexOf("3")-1;return J=J.replace(/(\d)\D(\d)/g,"$1,$2"),le>=0&&(J=J.slice(0,le)+"."+J.slice(le+1)),J=J.replace(/1+/,"1").replace(/1/g,"#"),fe||(J=J.replace(/%/g,"'%'")),J}function R(S){var j=".",fe=S(1).indexOf("100")>=0;j=f(j,S,fe,!0);var H=D(j=f(j,S,fe,!1),S,fe,!1),J=D(j,S,fe,!0);return J==="-"+H?H:H+";"+J}},736:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(7041),c=a(7951),m=a(370),x=a(8745),_=a(3437),v=(0,c.X)(!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} is not correct","validation-custom":"Value is invalid","validation-custom-formatted":"{0}
1 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","dxDateRangeBox-invalidStartDateMessage":"Start value must be a date","dxDateRangeBox-invalidEndDateMessage":"End value must be a date","dxDateRangeBox-startDateOutOfRangeMessage":"Start date is out of range","dxDateRangeBox-endDateOutOfRangeMessage":"End date is out of range","dxDateRangeBox-startDateLabel":"Start Date","dxDateRangeBox-endDateLabel":"End Date","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-emptyHeaderWithColumnChooserText":"Use {0} to display columns","dxDataGrid-emptyHeaderWithGroupPanelText":"Drag a column from the group panel here","dxDataGrid-emptyHeaderWithColumnChooserAndGroupPanelText":"Use {0} or drag a column from the group panel","dxDataGrid-emptyHeaderColumnChooserText":"column chooser","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-ariaNotSortedColumn":"Not sorted column","dxDataGrid-ariaSortedAscendingColumn":"Column sorted in ascending order","dxDataGrid-ariaSortedDescendingColumn":"Column sorted in descending order","dxDataGrid-ariaSortIndex":"Sort index {0}","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-ariaColumnHeader":"Column header","dxDataGrid-ariaValue":"Value","dxDataGrid-ariaError":"Error","dxDataGrid-ariaRevertButton":"Press Escape to discard the changes","dxDataGrid-ariaFilterCell":"Filter cell","dxDataGrid-ariaCollapse":"Collapse","dxDataGrid-ariaModifiedCell":"Modified","dxDataGrid-ariaDeletedCell":"Deleted","dxDataGrid-ariaEditableCell":"Editable","dxDataGrid-ariaExpand":"Expand","dxDataGrid-ariaCollapsedRow":"Collapsed row","dxDataGrid-ariaExpandedRow":"Expanded row","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-confirmRecurrenceEditTitle":"Edit Recurring Appointment","dxScheduler-confirmRecurrenceDeleteTitle":"Delete Recurring Appointment","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-previousMonthButtonLabel":"Previous month","dxCalendar-previousYearButtonLabel":"Previous year","dxCalendar-previousDecadeButtonLabel":"Previous decade","dxCalendar-previousCenturyButtonLabel":"Previous century","dxCalendar-nextMonthButtonLabel":"Next month","dxCalendar-nextYearButtonLabel":"Next year","dxCalendar-nextDecadeButtonLabel":"Next decade","dxCalendar-nextCenturyButtonLabel":"Next century","dxCalendar-captionMonthLabel":"Month selection","dxCalendar-captionYearLabel":"Year selection","dxCalendar-captionDecadeLabel":"Decade selection","dxCalendar-captionCenturyLabel":"Century selection","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}","dxGallery-itemName":"Gallery item","dxMultiView-elementAriaRoleDescription":"MultiView","dxMultiView-elementAriaLabel":"Use the arrow keys or swipe to navigate between views","dxMultiView-itemAriaRoleDescription":"View","dxMultiView-itemAriaLabel":"{0} of {1}"}}),N={};const P=(0,t.A)({engine:function(){return"base"},_dictionary:v,load:function(g){(0,c.X)(!0,this._dictionary,g)},_localizablePrefix:"@",setup:function(g){this._localizablePrefix=g},localizeString:function(g){var U=this,G=new RegExp("(^|[^a-zA-Z_0-9"+U._localizablePrefix+"-]+)("+U._localizablePrefix+"{1,2})([a-zA-Z_0-9-]+)","g"),A=U._localizablePrefix+U._localizablePrefix;return g.replace(G,(K,z,ee,L)=>{var D,f=U._localizablePrefix+L;return ee!==A&&(D=U.format(L)),D||(N[L]=(0,x.I3)(L)),z+(D||f)})},getMessagesByLocales:function(){return this._dictionary},getDictionary:function(g){return g?N:(0,c.X)({},N,this.getMessagesByLocales()[_.A.locale()])},getFormatter:function(g){return this._getFormatterBase(g)||this._getFormatterBase(g,"en")},_getFormatterBase:function(g,U){var G=_.A.getValueByClosestLocale(A=>((g,U)=>{var G;return g[U]||U?.toLowerCase&&(null===(G=Object.entries(g).find(A=>{var[K]=A;return K.toLowerCase()===U.toLowerCase()}))||void 0===G?void 0:G[1])||{}})(this._dictionary,A)[g]);if(G)return function(){var A=1===arguments.length&&Array.isArray(arguments[0])?arguments[0].slice(0):Array.prototype.slice.call(arguments,0);return A.unshift(G),m.GP.apply(this,A)}},format:function(g){var U=this.getFormatter(g),G=Array.prototype.slice.call(arguments,1);return U&&U.apply(this,G)||""}})},5655:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>J});var t=a(7041),c=a(5042),m=a(2101),x=a(2463),_=a(1979),b=a(3771),v=a(7550),M=a(18),N=a(1364),p=a(3437);const g={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 U=["standard","accounting"],A=/([^\s0]+)?(\s*)0*[.,]*0*(\s*)([^\s0]+)?/,K={},z=Y=>{var W=p.A.locale()+"/"+JSON.stringify(Y);return K[W]||(K[W]=new Intl.NumberFormat(p.A.locale(),Y).format),K[W]};const L={engine:function(){return"intl"},_formatNumberCore:function(Y,W,re){return"exponential"===W?this.callBase.apply(this,arguments):z(this._normalizeFormatConfig(W,re,Y))(Y)},_normalizeFormatConfig:function(Y,W,re){var le;if("decimal"===Y){var Re=String(re).split(".")[1];le={minimumIntegerDigits:W.precision||void 0,useGrouping:!1,maximumFractionDigits:Re&&Re.length,round:re<0?"ceil":"floor"}}else le=this._getPrecisionConfig(W.precision);if("percent"===Y)le.style="percent";else if("currency"===Y){var Be,Fe=null!==(Be=W.useCurrencyAccountingStyle)&&void 0!==Be?Be:(0,b.A)().defaultUseCurrencyAccountingStyle;le.style="currency",le.currency=W.currency||(0,b.A)().defaultCurrency,le.currencySign=U[+Fe]}return le},_getPrecisionConfig:function(Y){return null===Y?{minimumFractionDigits:0,maximumFractionDigits:20}:{minimumFractionDigits:Y||0,maximumFractionDigits:Y||0}},format:function(Y,W){return"number"!=typeof Y?Y:("default"===(W=this._normalizeFormat(W)).currency&&(W.currency=(0,b.A)().defaultCurrency),W&&("function"==typeof W||W.type||W.formatter)?this.callBase.apply(this,arguments):z(W)(Y))},_getCurrencySymbolInfo:function(Y){var W=(Y=>new Intl.NumberFormat(p.A.locale(),{style:"currency",currency:Y}))(Y);return this._extractCurrencySymbolInfo(W.format(0))},_extractCurrencySymbolInfo:function(Y){var W=A.exec(Y)||[];return{position:W[1]?"before":"after",symbol:W[1]||W[4]||"",delimiter:W[2]||W[3]||""}},getCurrencySymbol:function(Y){return Y||(Y=(0,b.A)().defaultCurrency),{symbol:this._getCurrencySymbolInfo(Y).symbol}},getOpenXmlCurrencyFormat:function(Y){var W=Y||(0,b.A)().defaultCurrency;return((Y,W)=>{if(W){var re=Y;if("string"==typeof Y){re="";for(var le=0;le<Y.length;le++)"$"!==Y[le]&&(re+="\\"),re+=Y[le]}for(var Re={".00":"{0}","'":"\\'","\\(":"\\(","\\)":"\\)"," ":"\\ ",'"':"&quot;","\\\xa4":re},Be=W.split(";"),Fe=0;Fe<Be.length;Fe++)for(var ue in Re)Object.prototype.hasOwnProperty.call(Re,ue)&&(Be[Fe]=Be[Fe].replace(new RegExp(ue,"g"),Re[ue]));return 2===Be.length?Be[0]+"_);"+Be[1]:Be[0]}})(this._getCurrencySymbolInfo(W).symbol,p.A.getValueByClosestLocale(Re=>g[Re]))}};var f=typeof Intl<"u",S=["currency","fixedpoint","exponential","percent","decimal"],j={1:"K",2:"M",3:"B",4:"T"},fe={largenumber:"auto",thousands:1,millions:2,billions:3,trillions:4},H=(0,t.A)({engine:function(){return"base"},numericFormats:S,defaultLargeNumberFormatPostfixes:j,_parseNumberFormatString:function(Y){var W={};if(Y&&"string"==typeof Y){var re=Y.toLowerCase().split(" ");if((0,m.__)(re,(le,Re)=>{S.includes(Re)?W.formatType=Re:Re in fe&&(W.power=fe[Re])}),W.power&&!W.formatType&&(W.formatType="fixedpoint"),W.formatType)return W}},_calculateNumberPower:function(Y,W,re,le){var Re=Math.abs(Y),Be=0;if(Re>1)for(;Re&&Re>=W&&(void 0===le||Be<le);)Be++,Re/=W;else if(Re>0&&Re<1)for(;Re<1&&(void 0===re||Be>re);)Be--,Re*=W;return Be},_getNumberByPower:function(Y,W,re){for(var le=Y;W>0;)le/=re,W--;for(;W<0;)le*=re,W++;return le},_formatNumber:function(Y,W,re){"auto"===W.power&&(W.power=this._calculateNumberPower(Y,1e3,0,4)),W.power&&(Y=this._getNumberByPower(Y,W.power,1e3));var le=this.defaultLargeNumberFormatPostfixes[W.power]||"",Re=this._formatNumberCore(Y,W.formatType,re);return Re.replace(/(\d|.$)(\D*)$/,"$1"+le+"$2")},_formatNumberExponential:function(Y,W){var re=this._calculateNumberPower(Y,10),le=this._getNumberByPower(Y,re,10);void 0===W.precision&&(W.precision=1),le.toFixed(W.precision||0)>=10&&(re++,le/=10);var Re=(re>=0?"+":"")+re.toString();return this._formatNumberCore(le,"fixedpoint",W)+"E"+Re},_addZeroes:function(Y,W){for(var re=Math.pow(10,W),le=Y<0?"-":"",Re=(Y=(Math.abs(Y)*re>>>0)/re).toString();Re.length<W;)Re="0"+Re;return le+Re},_addGroupSeparators:function(Y){var W=Y.toString().split(".");return W[0].replace(/\B(?=(\d{3})+(?!\d))/g,(0,b.A)().thousandsSeparator)+(W[1]?(0,b.A)().decimalSeparator+W[1]:"")},_formatNumberCore:function(Y,W,re){return"exponential"===W?this._formatNumberExponential(Y,re):("decimal"!==W&&null!==re.precision&&(re.precision=re.precision||0),"percent"===W&&(Y*=100),void 0!==re.precision&&(Y="decimal"===W?this._addZeroes(Y,re.precision):null===re.precision?Y.toPrecision():(0,M.M)(Y,re.precision)),Y="decimal"!==W?this._addGroupSeparators(Y):Y.toString().replace(".",(0,b.A)().decimalSeparator),"percent"===W&&(Y+="%"),Y)},_normalizeFormat:function(Y){return Y?("function"==typeof Y||(0,x.Qd)(Y)||(Y={type:Y}),Y):{}},_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(Y,W){var re=this.format(90,"decimal");if("string"!=typeof Y||"0"===re[1])return Y;var le=W?re[1]:"0",Re=W?"0":re[1],Fe=new RegExp("["+le+"-"+(W?re[0]:"9")+"]","g");return Y.replace(Fe,ue=>String.fromCharCode(ue.charCodeAt(0)+(Re.charCodeAt(0)-le.charCodeAt(0))))},getNegativeEtalonRegExp:function(Y){var W=this._getSeparators(),re=new RegExp("[0-9"+(0,c.Nt)(W.decimalSeparator+W.thousandsSeparator)+"]+","g"),le=this.format(-1,Y).replace(re,"1");return["\\","(",")","[","]","*","+","$","^","?","|","{","}"].forEach(Re=>{le=le.replace(new RegExp("\\".concat(Re),"g"),"\\".concat(Re))}),le=(le=le.replace(/ /g,"\\s")).replace(/1/g,".*"),new RegExp(le,"g")},getSign:function(Y,W){if(!W)return"-"===Y.replace(/[^0-9-]/g,"").charAt(0)?-1:1;var re=this.getNegativeEtalonRegExp(W);return Y.match(re)?-1:1},format:function(Y,W){if("number"!=typeof Y||"number"==typeof W)return Y;if("function"==typeof(W=W&&W.formatter||W))return W(Y);(W=this._normalizeFormat(W)).type||(W.type="decimal");var re=this._parseNumberFormatString(W.type);if(!re){var le=this._getSeparators();return le.unlimitedIntegerDigits=W.unlimitedIntegerDigits,this.convertDigits((0,_.f)(W.type,le)(Y))}return this._formatNumber(Y,re,W)},parse:function(Y,W){if(Y){if(W&&W.parser)return W.parser(Y);Y=this.convertDigits(Y,!0),W&&"string"!=typeof W&&v.A.log("W0011");var re=this.getDecimalSeparator(),le=new RegExp("[^0-9"+(0,c.Nt)(re)+"]","g"),Re=Y.replace(le,"").replace(re,".").replace(/\.$/g,"");if("."===Re||""===Re)return null;if(this._calcSignificantDigits(Re)>15)return NaN;var Be=+Re*this.getSign(Y,W);W=this._normalizeFormat(W);var Fe=this._parseNumberFormatString(W.type),ue=Fe?.power;if(ue){if("auto"===ue){var ce=Y.match(/\d(K|M|B|T)/);ce&&(ue=Object.keys(j).find(_e=>j[_e]===ce[1]))}Be*=Math.pow(10,3*ue)}return"percent"===Fe?.formatType&&(Be/=100),Be}},_calcSignificantDigits:function(Y){var[W,re]=Y.split("."),le=Be=>{for(var Fe=-1,ue=0;ue<Be.length;ue++)if("0"!==Be[ue]){Fe=ue;break}return Fe>-1?Be.length-Fe:0},Re=0;return W&&(Re+=le(W.split(""))),re&&(Re+=le(re.split("").reverse())),Re}});H.inject(N.A),f&&H.inject(L);const J=H},18:(Nt,Le,a)=>{"use strict";a.d(Le,{M:()=>_});var t=a(2209),c=10;function _(b,v){var M=v||0;return(M>0?function x(b,v){var M=Math.pow(c,v);return function m(b){return(0,t._S)(b)*Math.round(Math.abs(b))}((0,t.T0)(b,v))/M}(...arguments):b).toFixed(M)}},3435:(Nt,Le,a)=>{"use strict";a.d(Le,{Q:()=>c});var c=(0,a(6806).q6)(void 0)},8887:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Be});var t=a(8168),c=a(1522),m=a(6297),x=a(6806),_=a(5937),b=a(7669),v=a(8332),M=a(7041),N=Fe=>{var{parentNode:ue}=Fe;if(ue){var ce=Fe.nextSibling;(0,v.Gf)(Fe),ue.$V=Fe.$V,(0,c.XX)(null,ue),ue.insertBefore(Fe,ce),Fe.innerHTML="",delete ue.$V}delete Fe.$V};const p=(0,M.A)({createElement:(Fe,ue)=>(0,_.n)(Fe,ue),remove:N,onAfterRender:()=>{x.R3.callEffects()},onPreRender:()=>{x.R3.lock()},render:(Fe,ue,ce,_e)=>{if(_e)(0,c.XX)((0,_.n)(Fe,ue),ce);else{var{parentNode:ne}=ce,Z=ce?.nextSibling,ve=b.A.createElement("div");ve.appendChild(ce);var ke=b.A.createDocumentFragment().appendChild(ve);!!ce.$V&&N(ce),(0,x.Qv)((0,_.n)(Fe,ue),ke),ce.$V=ke.$V,ne&&ne.insertBefore(ce,Z)}}});var P=a(4292),g=a(8365),U=a(7951),G=a(181),A=a(2463),K=a(8587),z=a(
17963),ee=(Fe,ue)=>Object.keys(Fe).length===Object.keys(ue).length&&Object.keys(Fe).every(ce=>Fe[ce]===ue[ce]),L=["isEqual"];class j extends x.JP{constructor(ue){super(ue),this.renderTemplate=this.renderTemplate.bind(this)}renderTemplate(){var ue=(0,c.UV)(this.$LI,!0);if(null==ue||!ue.parentNode)return()=>{};var ce=ue.parentNode,_e=(0,P.A)(ce),ne=_e.contents().toArray(),Z=function R(Fe,ue){var ce,{data:_e,index:ne}=null!==(ce=Fe.model)&&void 0!==ce?ce:{data:{}};_e&&Object.keys(_e).forEach(ve=>{_e[ve]&&b.A.isNode(_e[ve])&&(_e[ve]=(0,G.c)((0,P.A)(_e[ve])))});var Z=Fe.template.render((0,t.A)({container:ue,transclude:Fe.transclude},{renovated:Fe.renovated},Fe.transclude?{}:{model:_e},!Fe.transclude&&Number.isFinite(ne)?{index:ne}:{}));return void 0===Z?[]:function f(Fe){return!!Fe.toArray}(Z)?Z.toArray():[(0,P.A)(Z).get(0)]}(this.props,(0,G.c)(_e));return(0,z.bG)((0,P.A)(ue),(0,P.A)(Z)),()=>{var ve=(0,P.A)(ce).contents().toArray();(function S(Fe,ue){ue.forEach(ce=>{!Fe.find(ne=>ce===ne)&&ce.parentNode&&(0,P.A)(ce).remove()})})(ne,ve),ce.appendChild(ue)}}shouldComponentUpdate(ue){var{model:ce,template:_e}=this.props,{isEqual:ne,model:Z,template:ve}=ue,ke=ne??ee;if(_e!==ve)return!0;if(!(0,A.O9)(ce)||!(0,A.O9)(Z))return ce!==Z;var{data:Ne,index:Ie}=ce,{data:De,index:et}=Z;return Ie!==et||!ke(Ne,De)}createEffects(){return[new x.Lt(this.renderTemplate,[this.props.template,this.props.model])]}updateEffects(){this._effects[0].update([this.props.template,this.props.model])}componentWillUnmount(){}render(){return null}}var fe=a(9407);function H(Fe){return Array.isArray(Fe)?[...Fe]:(0,t.A)({},Fe)}function J(Fe,ue,ce){var _e=H(ce.length>0&&ue&&Fe!==ue?ue:Fe),ne=ce[0];return ce.length>1?_e[ne]=J(Fe[ne],ue?.[ne],ce.slice(1)):ne&&(_e[ne]=(0,A.Qd)(Fe[ne])?H(Fe[ne]):Fe[ne]),_e}function Y(Fe,ue,ce,_e){var ne=ue[ce],Z=Fe[ce];Fe[ce]=(0,A.Qd)(ne)||ce!==_e&&Array.isArray(ne)?J(ne,Z,(0,fe.u7)(_e).slice(1)):ne}a(8060),a(5424),a(4017);var Re=(Fe,ue)=>ce=>{Object.prototype.hasOwnProperty.call(Fe,ce)&&void 0===Fe[ce]&&(Fe[ce]=ue(ce))};let Be=(()=>{class Fe extends g.A{constructor(ce,_e){super(ce,_e),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 ce;return null===(ce=this._viewRef)||void 0===ce?void 0:ce.current}_checkContentReadyOption(ce){var _e=this._getContentReadyOptions().reduce((ne,Z)=>(ne[Z]=!0,ne),{});return this._checkContentReadyOption=ne=>!!_e[ne],this._checkContentReadyOption(ce)}_getContentReadyOptions(){return["rtlEnabled"]}_fireContentReady(){this._actionsMap.onContentReady({})}_getDefaultOptions(){var ce=this._getViewComponentDefaultProps();return(0,U.X)(!0,super._getDefaultOptions(),ce,this._propsInfo.twoWay.reduce((_e,ne)=>{var[Z,ve,ke]=ne;return(0,t.A)({},_e,{[Z]:ce[ve],[ke]:Ne=>this.option(Z,Ne)})},{}),this._propsInfo.templates.reduce((_e,ne)=>(0,t.A)({},_e,{[ne]:null}),{}))}_getUnwrappedOption(){var ce={};return Object.keys(this.option()).forEach(_e=>{ce[_e]=this.option(_e)}),ce}_initializeComponent(){var ce;super._initializeComponent(),null===(ce=this._templateManager)||void 0===ce||ce.addDefaultTemplates(this.getDefaultTemplates());var _e=this._getUnwrappedOption();this._props=this._optionsWithDefaultTemplates(_e),this._propsInfo.templates.forEac
1h(ne=>{this._componentTemplates[ne]=this._createTemplateComponent(this._props[ne])}),Object.keys(this._getActionConfigsFull()).forEach(ne=>this._addAction(ne)),this._viewRef=(0,c._3)(),this.defaultKeyHandlers=this._createDefaultKeyHandlers()}_initMarkup(){var ce=this.getProps();this._renderWrapper(ce)}_renderWrapper(ce){var _e=this.$element()[0];this._isNodeReplaced||p.onPreRender(),p.render(this._viewComponent,ce,_e,this._isNodeReplaced),this._isNodeReplaced||(this._isNodeReplaced=!0,p.onAfterRender(),this._shouldRaiseContentReady=!0),this._shouldRaiseContentReady&&(this._fireContentReady(),this._shouldRaiseContentReady=!1)}_silent(ce,_e){this._options.silent(ce,_e)}_render(){}_removeWidget(){p.remove(this.$element()[0])}_dispose(){this._removeWidget(),super._dispose()}get elementAttr(){var ce=this.$element()[0];if(!this._elementAttr){var{attributes:_e}=ce,ne=Array.from(_e).filter(Ne=>{var Ie;return!this._propsInfo.templates.includes(Ne.name)&&(null===(Ie=_e[Ne.name])||void 0===Ie?void 0:Ie.specified)}).reduce((Ne,Ie)=>{var{name:De,value:et}=Ie,yt=Ne;return yt[De]=""===et&&De in ce?ce[De]:et,yt},{});this._elementAttr=ne,this._storedClasses=ce.getAttribute("class")||""}for(var Z=ce.style,ve={},ke=0;ke<Z.length;ke+=1)ve[Z[ke]]=Z.getPropertyValue(Z[ke]);return this._elementAttr.style=ve,this._elementAttr.class=this._storedClasses,this._elementAttr}_getAdditionalActionConfigs(){return{onContentReady:{excludeValidators:["disabled","readOnly"]}}}_getAdditionalProps(){return[]}_patchOptionValues(ce){var{allowNull:_e,elements:ne,props:Z,twoWay:ve}=this._propsInfo,ke=this._getViewComponentDefaultProps(),Ne=Object.keys(ke),Ie=this._getDefaultOptions(),{children:De,onKeyboardHandled:et,ref:yt}=ce,Je={ref:yt,children:De,onKeyDown:et?(Ce,we)=>{et(we)}:void 0};return[...Z,...this._getAdditionalProps()].forEach(Ce=>{Object.prototype.hasOwnProperty.call(ce,Ce)&&(Je[Ce]=ce[Ce])}),_e.forEach(Re(Je,()=>null)),Ne.forEach(Re(Je,Ce=>Ie[Ce])),ve.forEach(Ce=>{var[we,Ee]=Ce;Re(Je,()=>Ie[Ee])(we)}),ne.forEach(Ce=>{if(Ce in Je){var we=Je[Ce];(0,A.Kb)(we)&&(Je[Ce]=this._patchElementParam(we))}}),Je}getSupportedKeyNames(){return[]}prepareStyleProp(ce){return"string"==typeof ce.style?(0,t.A)({},ce,{style:{},cssText:ce.style}):ce}getProps(){var ce,_e,{elementAttr:ne}=this.option(),Z=this._patchOptionValues((0,t.A)({},this._props,{ref:this._viewRef,children:this._extractDefaultSlot(),aria:this._aria}));
1return this._propsInfo.templates.forEach(ve=>{Z[ve]=this._componentTemplates[ve]}),this.prepareStyleProp((0,t.A)({},Z,this.elementAttr,ne,{className:[...(null!==(ce=this.elementAttr.class)&&void 0!==ce?ce:"").split(" "),...(null!==(_e=ne?.class)&&void 0!==_e?_e:"").split(" ")].filter((ve,ke,Ne)=>ve&&Ne.indexOf(ve)===ke).join(" ").trim(),class:""},this._actionsMap))}_getActionConfigs(){return{}}_getActionConfigsFull(){return(0,t.A)({},this._getActionConfigs(),this._getAdditionalActionConfigs())}getDefaultTemplates(){var ce=Object.values(this._templatesInfo),_e={};return ce.forEach(ne=>{_e[ne]="dx-renovation-template-mock"}),_e}get _templatesInfo(){return{}}_optionsWithDefaultTemplates(ce){var _e=Object.entries(this._templatesInfo).reduce((ne,Z)=>{var ve,[ke,Ne]=Z;return(0,t.A)({},ne,{[ke]:null!==(ve=ce[ke])&&void 0!==ve?ve:Ne})},{});return(0,t.A)({},ce,_e)}_init(){super._init(),this.customKeyHandlers={},this._actionsMap={},this._aria={},this._componentTemplates={}}_createDefaultKeyHandlers(){var ce={};return this.getSupportedKeyNames().forEach(ne=>{ce[ne]=Z=>this.viewRef.keyDown(m.A.createKeyDownOptions(Z))}),ce}_addAction(ce,_e){var ne=_e;if(!ne){var Z=this._createActionByOption(ce,this._getActionConfigsFull()[ce]);ne=ve=>(Object.keys(ve).forEach(ke=>{(0,A.O9)(ve[ke])&&b.A.isNode(ve[ke])&&(ve[ke]=(0,G.c)((0,P.A)(ve[ke])))}),Z(ve))}this._actionsMap[ce]=ne}_optionChanged(ce){var{fullName:_e,name:ne,previousValue:Z,value:ve}=ce;Y(this._props,this.option(),ne,_e),this._propsInfo.templates.includes(ne)&&ve!==Z&&(this._componentTemplates[ne]=this._createTemplateComponent(ve)),ne&&this._getActionConfigsFull()[ne]&&this._addAction(ne),this._shouldRaiseContentReady=this._shouldRaiseContentReady||this._checkContentReadyOption(_e),super._optionChanged(ce),this._invalidate()}_extractDefaultSlot(){return this.option("_hasAnonymousTemplateContent")?p.createElement(j,{template:this._getTemplate(this._templateManager.anonymousTemplateName),transclude:!0,renovated:!0}):null}_createTemplateComponent(ce){if(ce){var _e=this._getTemplate(ce);if(!(0,A.Kg)(_e)||"dx-renovation-template-mock"!==_e)return ne=>p.createElement(j,function D(Fe,ue){var ce,_e={template:ue,model:(0,t.A)({},Fe)},ne=null!==(ce=Fe.data)&&void 0!==ce?ce:{},{isEqual:Z}=ne,ve=(0,K.A)(ne,L);return Z&&(_e.model.data=ve,_e.isEqual=Z),_e}(ne,_e))}}_wrapKeyDownHandler(ce){return _e=>{var{keyName:ne,originalEvent:Z,which:ve}=_e,ke=this.customKeyHandlers,Ne=ke[ne]||ke[ve];return void 0===Ne||Ne.bind(this)(Z,_e)?ce?.(Z,_e):(Z.cancel=!0,Z)}}_toPublicElement(ce){return(0,G.c)((0,P.A)(ce))}_patchElementParam(ce){try{var _e=(0,P.A)(ce),ne=_e?.get(0);return null!=ne&&ne.nodeType?ne:ce}catch{return ce}}repaint(){this._isNodeReplaced=!1,this._shouldRaiseContentReady=!0,this._removeWidget(),this._refresh()}_supportedKeys(){return(0,t.A)({},this.defaultKeyHandlers,this.customKeyHandlers)}registerKeyHandler(ce,_e){this.customKeyHandlers[ce]=_e}setAria(ce,_e){this._aria[ce]=_e,this._initMarkup()}_getViewComponentDefaultProps(){return this._viewComponent.defaultProps||{}}}return Fe.IS_RENOVATED_WIDGET=!1,Fe.IS_RENOVATED_WIDGET=!0,Fe})()},3440:(Nt,Le,a)=>{"use strict";a.d(Le,{s:()=>t});var t={className:"",activeStateEnabled:!1,disabled:!1,focusStateEnabled:!1,hoverStateEnabled:!1,tabIndex:0,visible:!0}},8854:(Nt,Le,a)=>{"use strict";a.d(Le,{FU:()=>D});var t=a(8587),c=a(8168),m=a(1522),x=a(6806),_=a(3435),b=a(2463),v=["dataSource","selectedRowKeys"],M={integrationOptions:!0};function N(R,S,j){return{path:R,value:S,previousValue:j}}function p(R,S,j,fe,H,J){if(!M[fe]){var Y=(0,b.NW)(S),W=(0,b.NW)(j);if(S!==j)if(Y!==W)R.push(N(fe,j,S));else if("object"===Y)if((0,b.Qd)(j)){var re=g(S,j,H,J);R.push(...re.map(Be=>(0,c.A)({},Be,{path:"".concat(fe,".").concat(Be.path)})))}else R.push(N(fe,j,S));else if("array"===Y)if(J.some(Be=>H.includes(Be))&&S!==j)R.push(N(fe,j,S));else if(S.length!==j.length)R.push(N(fe,j,S));else{var Re=g(S,j,H,J);[].push.apply(R,Re.map(Be=>(0,c.A)({},Be,{path:"".concat(fe).concat(Be.path)})))}else R.push(N(fe,j,S))}}var P=R=>(S,j,fe,H)=>{var J=[],Y=Array.isArray(S)?W=>{p(J,S[W],j[W],"[".concat(W,"]"),"".concat(fe,".").concat(W),H)}:W=>{p(J,S[W],j[W],W,"".concat(fe,".").concat(W),H)};
1return R(S).forEach(Y),Object.keys(j).filter(W=>!Object.prototype.hasOwnProperty.call(S,W)&&S[W]!==j[W]).forEach(W=>{J.push({path:W,value:j[W],previousValue:S[W]})}),J},g=P(R=>Object.keys(R)),U={key:!0,ref:!0,children:!0,style:!0},G=P(R=>Object.keys(R).filter(S=>!U[S])),K=["valueChange"],z=["componentProps","componentType","templateNames"],ee=R=>Object.keys(R).reduce((S,j)=>(void 0!==R[j]&&(S[j]=R[j]),S),{}),f={};let D=(()=>{class R extends x.JP{constructor(j){super(j),this.state={},this.widgetRef=(0,m._3)(),this.getInstance=this.getInstance.bind(this),this.setupWidget=this.setupWidget.bind(this),this.updateWidget=this.updateWidget.bind(this)}get config(){return this.context[_.Q.id]?this.context[_.Q.id]:_.Q.defaultValue}createEffects(){return[new x.Lt(this.setupWidget,[]),new x.Lt(this.updateWidget,[this.props.componentProps,this.config,this.props.templateNames])]}updateEffects(){var j;null===(j=this._effects[1])||void 0===j||j.update([this.props.componentProps,this.config,this.props.templateNames])}setupWidget(){var j=new this.props.componentType(this.widgetRef.current,this.properties);return this.instance=j,()=>{j.dispose(),this.instance=null}}updateWidget(){var j=this.getInstance();if(j){var fe=function A(R,S){return G(R,S,"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:v)}(this.prevProps||{},this.properties);fe.length&&(j.beginUpdate(),fe.forEach(H=>{var{path:J,value:Y}=H;j.option(J,Y)}),j.endUpdate()),this.prevProps=this.properties}}get properties(){var j,fe=ee(this.props.componentProps),{valueChange:H}=fe,J=(0,t.A)(fe,K),Y=(0,c.A)({rtlEnabled:!(null===(j=this.config)||void 0===j||!j.rtlEnabled),isRenovated:!0},J);return H&&(Y.onValueChanged=re=>{var{value:le}=re;return H(le)}),this.props.templateNames.forEach(re=>{(0,x.rJ)(re,Y,this)&&(Y[re]=(le,Re,Be)=>{(0,x.Xm)(this.props.componentProps[re],{item:le,index:Re,container:Be},this)})}),Y}get restAttributes(){return(0,t.A)(this.props,z)}getInstance(){return this.instance}render(){return(R=>{var{props:{componentProps:{className:S}},restAttributes:j,widgetRef:fe}=R;return ee((0,m.bF)(1,"div",S,null,1,(0,c.A)({},j),null,fe))})({props:(0,c.A)({},this.props),widgetRef:this.widgetRef,config:this.config,properties:this.properties,restAttributes:this.restAttributes})}}return R.defaultProps=f,R})()},7476:(Nt,Le,a)=>{"use strict";a.d(Le,{x0:()=>le,b7:()=>re});var t=a(8587),c=a(8168),m=a(1522),x=a(6806),v=(a(8060),a(4017),a(2463)),M=a(8257),N=a(410),p=a(2243),P=a(7951),g=a(5918),U=a(3440),G=a(3435),A=["children","rtlEnabled"],z={};let ee=(()=>{class Re extends x.eh{constructor(Fe){super(Fe),this.state={},this.__getterCache={}}getChildContext(){return(0,c.A)({},this.context,{[G.Q.id]:this.config||G.Q.defaultValue})}get config(){return void 0!==this.__getterCache.config?this.__getterCache.config:this.__getterCache.config={rtlEnabled:this.props.rtlEnabled}}get restAttributes(){return(0,t.A)(this.props,A)}componentWillUpdate(Fe,ue,ce){this.props.rtlEnabled!==Fe.rtlEnabled&&(this.__getterCache.config=void 0)}render(){return(Re=>Re.props.children)({props:(0,c.A)({},this.props),config:this.config,restAttributes:this.restAttributes})}}return Re.defaultProps=z,Re})();var L=a(3771),R=a(348),S=a(7550),j=a(7669),fe=["_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"],re=Object.create(Object.prototype,(0,c.A)(Object.getOwnPropertyDescriptors(U.s),Object.getOwnPropertyDescriptors({_feedbackHideTimeout:400,_feedbackShowTimeout:30,cssText:"",aria:Object.freeze({}),classes:"",name:"",addWidgetClass:!0})));let le=(()=>{class Re extends x.oe{constructor(Fe){super(Fe),this.widgetElementRef=(0,m._3)(),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[G.Q.id]?this.context[G.Q.id]:G.Q.defaultValue}createEffects(){return[new x.Lt(this.setRootElementRef,[]),new x.Lt(this.activeEffect,[this.props._feedbackShowTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.disabled,this.props.onActive]),new x.Lt(this.inactiveEffect,[this.props._feedbackHideTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.onInactive,this.state.active]),new x.Lt(this.clickEffect,[this.props.disabled,this.props.name,this.props.onClick]),new x.Lt(this.focusInEffect,[this.props.disabled,this.props.focusStateEnabled,this.props.name,this.props.onFocusIn]),new x.Lt(this.focusOutEffect,[this.props.focusStateEnabled,this.props.name,this.props.onFocusOut,this.state.focused]),new x.Lt(this.hoverStartEffect,[this.props.activeStateUnit,this.props.disabled,this.props.hoverStateEnabled,this.props.onHoverStart,this.state.active]),new x.Lt(this.hoverEndEffect,[this.props.activeStateUnit,this.props.hoverStateEnabled,this.props.onHoverEnd,this.state.hovered]),new x.Lt(this.keyboardEffect,[this.props.focusStateEnabled,this.props.onKeyDown]),new x.Lt(this.resizeEffect,[this.props.name,this.props.onDimensionChanged]),new x.Lt(this.windowResizeEffect,[this.props.onDimensionChanged]),new x.Lt(this.visibilityEffect,[this.props.name,this.props.onVisibilityChange]),new x.Lt(this.checkDeprecation,[this.props.height,this.props.width]),new x.Lt(this.applyCssTextEffe
1ct,[this.props.cssText]),(0,x.h2)()]}updateEffects(){var Fe,ue,ce,_e,ne,Z,ve,ke,Ne,Ie,De,et,yt;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===(ue=this._effects[2])||void 0===ue||ue.update([this.props._feedbackHideTimeout,this.props.activeStateEnabled,this.props.activeStateUnit,this.props.onInactive,this.state.active]),null===(ce=this._effects[3])||void 0===ce||ce.update([this.props.disabled,this.props.name,this.props.onClick]),null===(_e=this._effects[4])||void 0===_e||_e.update([this.props.disabled,this.props.focusStateEnabled,this.props.name,this.props.onFocusIn]),null===(ne=this._effects[5])||void 0===ne||ne.update([this.props.focusStateEnabled,this.props.name,this.props.onFocusOut,this.state.focused]),null===(Z=this._effects[6])||void 0===Z||Z.update([this.props.activeStateUnit,this.props.disabled,this.props.hoverStateEnabled,this.props.onHoverStart,this.state.active]),null===(ve=this._effects[7])||void 0===ve||ve.update([this.props.activeStateUnit,this.props.hoverStateEnabled,this.props.onHoverEnd,this.state.hovered]),null===(ke=this._effects[8])||void 0===ke||ke.update([this.props.focusStateEnabled,this.props.onKeyDown]),null===(Ne=this._effects[9])||void 0===Ne||Ne.update([this.props.name,this.props.onDimensionChanged]),null===(Ie=this._effects[10])||void 0===Ie||Ie.update([this.props.onDimensionChanged]),null===(De=this._effects[11])||void 0===De||De.update([this.props.name,this.props.onVisibilityChange]),null===(et=this._effects[12])||void 0===et||et.update([this.props.height,this.props.width]),null===(yt=this._effects[13])||void 0===yt||yt.update([this.props.cssText])}setRootElementRef(){var{onRootElementRendered:Fe,rootElementRef:ue}=this.props;ue&&(ue.current=this.widgetElementRef.current),Fe?.(this.widgetElementRef.current)}activeEffect(){var{_feedbackShowTimeout:Fe,activeStateEnabled:ue,activeStateUnit:ce,disabled:_e,onActive:ne}=this.props;if(ue&&!_e)return(0,N.wD)(this.widgetElementRef.current,ve=>{this.setState(ke=>({active:!0})),ne?.(ve)},{timeout:Fe,selector:ce},"UIFeedback")}inactiveEffect(){var{_feedbackHideTimeout:Fe,activeStateEnabled:ue,activeStateUnit:ce,onInactive:_e}=this.props;if(ue)return(0,N.Lh)(this.widgetElementRef.current,Z=>{this.state.active&&(this.setState(ve=>({active:!1})),_e?.(Z))},{timeout:Fe,selector:ce},"UIFeedback")}clickEffect(){var{disabled:Fe,name:ue,onClick:ce}=this.props,_e=ue;if(ce&&!Fe)return M.Rz.on(this.widgetElementRef.current,ce,{namespace:_e}),()=>M.Rz.off(this.widgetElementRef.current,{namespace:_e})}focusInEffect(){var{disabled:Fe,focusStateEnabled:ue,name:ce,onFocusIn:_e}=this.props,ne="".concat(ce,"Focus");if(ue&&!Fe)return(0,N.lT)(this.widgetElementRef.current,Z=>{Z.isDefaultPrevented()||(this.setState(ve=>({focused:!0})),_e?.(Z))},null,ne)}focusOutEffect(){var{focusStateEnabled:Fe,name:ue,onFocusOut:ce}=this.props,_e="".concat(ue,"Focus");if(Fe)return(0,N.oo)(this.widgetElementRef.current,ne=>{!ne.isDefaultPrevented()&&this.state.focused&&(this.setState(Z=>({focused:!1})),ce?.(ne))},null,_e)}hoverStartEffect(){var{activeStateUnit:Fe,disabled:ue,hoverStateEnabled:ce,onHoverStart:_e}=this.props;if(ce&&!ue)return(0,N.mg)(this.widgetElementRef.current,Z=>{!this.state.active&&this.setState(ve=>({hovered:!0})),_e?.(Z)},{selector:Fe},"UIFeedback")}hoverEndEffect(){var{activeStateUnit:Fe,hoverStateEnabled:ue,onHoverEnd:ce}=this.props;if(ue)return(0,N.Jj)(this.widgetElementRef.current,ne=>{this.state.hovered&&(this.setState(Z=>({hovered:!1})),ce?.(ne))},{selector:Fe},"UIFeedback")}keyboardEffect(){var{focusStateEnabled:Fe,onKeyDown:ue}=this.props;if(Fe&&ue){var ce=M.QJ.on(this.widgetElementRef.current,this.widgetElementRef.current,_e=>ue(_e));return()=>M.QJ.off(ce)}}resizeEffect(){var Fe="".concat(this.props.name,"VisibilityChange"),{onDimensionChanged:ue}=this.props;if(ue)return M.XR.on(this.widgetElementRef.current,ue,{namespace:Fe}),()=>M.XR.off(this.widgetElementRef.current,{namespace:Fe})}windowResizeEffect(){var{onDimensionChanged:Fe}=this.props;if(Fe)return R.A.add(Fe),()=>{R.A.remove(Fe)}}visibilityEffect(){var{name:Fe,onVisibilityChange:ue}=this.props,ce="".concat(Fe,"VisibilityChange");if(ue)return M.XD.on(this.widgetElementRef.current,()=>ue(!0),()=>ue(!1),{namespace:ce}),()=>M.XD.off(this.widgetElementRef.current,{namespace:ce})}checkDeprecation(){var{height:Fe,width:ue}=this.props;(0,v.Tn)(ue)&&S.A.log("W0017","width"),(0,v.Tn)(Fe)&&S.A.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 D(Re,Be){var Fe=(0,v.O9)(Re),ue=(0,v.O9)((0,L.A)().rtlEnabled)&&!Fe&&!(0,v.O9)(Be?.rtlEnabled);return Fe&&Re!==Be?.rtlEnabled||ue}(Fe,this.config)}get rtlEnabled(){var{rtlEnabled:Fe}=this.props;return function f(Re,Be){return void 0!==Re?Re:void 0!==Be?.rtlEnabled?Be.rtlEnabled:(0,L.A)().rtlEnabled}(Fe,this.config)}get attributes(){var{aria:Fe,disabled:ue,focusStateEnabled:ce,visible:_e}=this.props,ne=ce&&!ue&&this.props.accessKey;return(0,c.A)({},(0,P.X)({},ne&&{accessKey:ne}),(Re=>Object.keys(Re).reduce((Be,Fe)=>Re[Fe]?(0,c.A)({},Be,{["role"===Fe||"id"===Fe?Fe:"aria-".concat(Fe)]:String(Re[Fe])}):Be,{}))((0,c.A)({},Fe,{disabled:ue,hidden:!_e})),(0,P.X)({},this.restAttributes))}get styles(){var{height:Fe,width:ue}=this.props,ce=this.restAttributes.style||{},_e=(0,g.CC)("width",(0,v.Tn)(ue)?ue():ue),ne=(0,g.CC)("height",(0,v.Tn)(Fe)?Fe():Fe);return(0,c.A)({},ce,{height:ne??ce.height,width:_e??ce.width})}get cssClasses(){var{activeStateEnabled:Fe,addWidgetClass:ue,className:ce,classes:_e,disabled:ne,focusStateEnabled:Z,hoverStateEnabled:ve,onVisibilityChange:ke,visible:Ne}=this.props,Ie=!!Z&&!ne,De=!!ve&&!ne,et=!!Fe&&!ne,yt={"dx-widget":!!ue,[String(_e)]:!!_e,[String(ce)]:!!ce,"dx-state-disabled":!!ne,"dx-state-invisible":!Ne,"dx-state-focused":!!this.state.focused&&Ie,"dx-state-active":!!this.state.active&&et,"dx-state-hover":!!this.state.hovered&&De&&!this.state.active,"dx-rtl":!!this.rtlEnabled,"dx-visibility-change-handler":!!ke};return(0,p.g)(yt)}get tabIndex(){var{disabled:Fe,focusStateEnabled:ue,tabIndex:ce}=this.props;return ue&&!Fe?ce:void 0}get restAttributes(){return(0,t.A)(this.props,fe)}focus(){M.XC.trigger(this.widgetElementRef.current)}blur(){var Fe=j.A.getActiveElement(this.widgetElementRef.current);this.widgetElementRef.current===Fe&&Fe.blur()}activate(){this.setState(Fe=>({active:!0}))}deactivate(){this.setState(Fe=>({active:!1}))}render(){return(Re=>{var Be=(0,m._B)((0,m.bF)(1,"div",Re.cssClasses,Re.props.children,0,(0,c.A)({},Re.attributes,{tabIndex:Re.tabIndex,title:Re.props.hint,style:(0,x.gs)(Re.styles)}),null,Re.widgetElementRef));return Re.shouldRenderConfigProvider?(0,m.sO)(2,ee,{rtlEnabled:Re.rtlEnabled,children:Be}):Be})({props:(0,c.A)({},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 Re.defaultProps=re,Re})()},9060:(Nt,Le,a)=>{"use strict";a.d(Le,{KE:()=>D,eH:()=>L});var t=a(8587),c=a(8168),m=a(1522),x=a(6806),_=a(3992),b=a(7476),v=a(3440),M=a(2243),N=a(9465),p=a(8854),P=["accessKey","activeStateEnabled","boundary","className","contentId","disabled","focusStateEnabled","height","hint","hoverStateEnabled","mode","offset","onClick","onKeyDown","positionSide","rtlEnabled","tabIndex","target","validationErrors","visible","visualContainer","width"],U=Object.create(Object.prototype,(0,c.A)(Object.getOwnPropertyDescriptors(v.s),Object.getOwnPropertyDescriptors({mode:"auto",positionSide:"top",offset:Object.freeze({h:0,v:0}),isReactComponentWrapper:!0})));let G=(()=>{class fe extends x.eh{constructor(J){super(J),this.state={}}get componentProps(){return this.props}get restAttributes(){return(0,t.A)(this.props,P)}render(){return(fe=>{var{componentProps:H,restAttributes:J}=fe;return(0,m._B)((0,m.sO)(2,p.FU,(0,c.A)({componentType:N.A,componentProps:H,templateNames:[]},J)))})({props:(0,c.A)({},this.props),componentProps:this.componentProps,restAttributes:this.restAttributes})}}return fe.defaultProps=U,fe})();a(1557);var K=["accessKey","activeStateEnabled","aria","children","className","classes","defaultValue","disabled","focusStateEnabled","height","hint","hoverStateEnabled","inputAttr","isDirty","isValid","name","onClick","onFocusIn","onKeyDown","readOnly","rtlEnabled","tabIndex","validationError","validationErrors","validationMessageMode","validationMessagePosition","validationStatus","value","valueChange","visible","width"],L=Object.create(Object.prototype,(0,c.A)(Object.getOwnPropertyDescriptors(v.s),Object.getOwnPropertyDescriptors({readOnly:!1,name:"",validationError:null,validationErrors:null,validationMessageMode:"auto",validationMessagePosition:"bottom",validationStatus:"val
1id",isValid:!0,isDirty:!1,inputAttr:Object.freeze({}),defaultValue:null,valueChange:()=>{}}))),f={get readOnly(){return L.readOnly},get name(){return L.name},get validationError(){return L.validationError},get validationErrors(){return L.validationErrors},get validationMessageMode(){return L.validationMessageMode},get validationMessagePosition(){return L.validationMessagePosition},get validationStatus(){return L.validationStatus},get isValid(){return L.isValid},get isDirty(){return L.isDirty},get inputAttr(){return L.inputAttr},get defaultValue(){return L.defaultValue},get valueChange(){return L.valueChange},get className(){return L.className},get activeStateEnabled(){return L.activeStateEnabled},get disabled(){return L.disabled},get focusStateEnabled(){return L.focusStateEnabled},get hoverStateEnabled(){return L.hoverStateEnabled},get tabIndex(){return L.tabIndex},get visible(){return L.visible},get aria(){return b.b7.aria},get classes(){return b.b7.classes}};class D extends x.oe{constructor(H){super(H),this.widgetRef=(0,m._3)(),this.rootElementRef=(0,m._3)(),this.__getterCache={},this.state={validationMessageGuid:"dx-".concat(new _.A),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 x.Lt(this.updateValidationMessageVisibility,[this.props.isValid,this.props.validationStatus,this.props.validationError,this.props.validationErrors]),(0,x.h2)()]}updateEffects(){var H;null===(H=this._effects[0])||void 0===H||H.update([this.props.isValid,this.props.validationStatus,this.props.validationError,this.props.validationErrors])}updateValidationMessageVisibility(){this.setState(H=>({isValidationMessageVisible:this.shouldShowValidationMessage}))}onFocusIn(H){var{onFocusIn:J}=this.props;J?.(H)}get cssClasses(){return"".concat((fe=>{var{classes:H,isValid:J,readOnly:Y}=fe,W={"dx-state-readonly":!!Y,"dx-invalid":!J,["".concat(H)]:!!H};return(0,M.g)(W)})((0,c.A)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value})))}get shouldShowValidationMessage(){var H,{isValid:J,validationStatus:Y}=this.props,W=null!==(H=this.validationErrors)&&void 0!==H?H:[];return!(J&&"invalid"!==Y)&&W.length>0}get aria(){var{isValid:H,readOnly:J}=this.props,Y={readonly:J?"true":"false",invalid:H?"false":"true"};return this.shouldShowValidationMessage&&(Y.describedBy=this.state.validationMessageGuid),(0,c.A)({},Y,this.props.aria)}get validationErrors(){return void 0!==this.__getterCache.validationErrors?this.__getterCache.validationErrors:this.__getterCache.validationErrors=(()=>{var{validationError:H,validationErrors:J}=this.props,Y=J&&[...J];return!Y&&H&&(Y=[(0,c.A)({},H)]),Y})()}get validationMessageTarget(){var H;return null===(H=this.rootElementRef)||void 0===H?void 0:H.current}get restAttributes(){var H=(0,c.A)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value});return(0,t.A)(H,K)}focus(){this.widgetRef.current.focus()}blur(){this.widgetRef.current.blur()}componentWillUpdate(H,J,Y){super.componentWillUpdate(),(this.props.validationError!==H.validationError||this.props.validationErrors!==H.validationErrors)&&(this.__getterCache.validationErrors=void 0)}render(){return(fe=>
1{var{aria:H,cssClasses:J,isValidationMessageVisible:Y,onFocusIn:W,props:{accessKey:re,activeStateEnabled:le,children:Re,className:Be,disabled:Fe,focusStateEnabled:ue,height:ce,hint:_e,hoverStateEnabled:ne,onClick:Z,onKeyDown:ve,rtlEnabled:ke,tabIndex:Ne,validationMessageMode:Ie,validationMessagePosition:De,visible:et,width:yt},restAttributes:dt,rootElementRef:Je,validationErrors:Ce,validationMessageGuid:we,validationMessageTarget:Ee,widgetRef:He}=fe;return(0,m._B)((0,m.sO)(2,b.x0,(0,c.A)({rootElementRef:Je,aria:H,classes:J,activeStateEnabled:le,focusStateEnabled:ue,hoverStateEnabled:ne,accessKey:re,className:Be,rtlEnabled:ke,hint:_e,disabled:Fe,height:ce,width:yt,onFocusIn:W,onClick:Z,onKeyDown:ve,tabIndex:Ne,visible:et},dt,{children:(0,m.nl)([Re,Y&&(0,m.sO)(2,G,{validationErrors:Ce,mode:Ie,positionSide:De,rtlEnabled:ke,target:Ee,boundary:Ee,visualContainer:Ee,contentId:we})],0)}),null,He))})({props:(0,c.A)({},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})}}D.defaultProps=f},8500:(Nt,Le,a)=>{"use strict";a.d(Le,{JU:()=>b,fK:()=>m,ig:()=>x,lm:()=>c});var c="vertical",m="horizontal",x="both",b="dx-scrollable-content"},8221:(Nt,Le,a)=>{"use strict";function t(c,m){for(var x={left:0,top:0},_=m;null!==(b=_)&&void 0!==b&&b.offsetParent&&!_.classList.contains(c);){var b,v=_.offsetParent,M=_.getBoundingClientRect(),N=v.getBoundingClientRect();x.left+=M.left-N.left,x.top+=M.top-N.top,_=_.offsetParent}return x}a.d(Le,{Y:()=>t})},9193:(Nt,Le,a)=>{"use strict";a.d(Le,{D:()=>c});var t=a(8500);class c{constructor(x){this.DIRECTION_HORIZONTAL="horizontal",this.DIRECTION_VERTICAL="vertical",this.DIRECTION_BOTH="both",this.direction=x??t.lm}get isHorizontal(){return this.direction===t.fK||this.direction===t.ig}get isVertical(){return this.direction===t.lm||this.direction===t.ig}get isBoth(){return this.direction===t.ig}}},2243:(Nt,Le,a)=>{"use strict";function t(c){return Object.keys(c).filter(m=>c[m]).join(" ")}a.d(Le,{g:()=>t})},505:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});var t=a(4435);function c(m){var x,_=(0,t.zk)();return m?null===(x=_.getComputedStyle)||void 0===x?void 0:x.call(_,m):null}},410:(Nt,Le,a)=>{"use strict";a.d(Le,{Ao:()=>v,Jj:()=>j,Lh:()=>R,lT:()=>fe,mg:()=>S,oo:()=>H,wD:()=>D});var t=a(1269),c=a(8060),m=a(9104),x=a(6961),_=a(4159);function b(J){return(Y,W,re,le)=>{var Re=le?(0,m.b4)(J,le):J;if(W)return t.A.on(Y,Re,re,W),()=>{t.A.off(Y,Re,W)}}}var v=b(c.U),D=(b(x.A.scroll),b(x.A.init),b(x.A.start),b(x.A.move),b(x.A.end),b(x.A.stop),b(x.A.cancel),b(_.A.down),b(_.A.up),b(_.A.move),b("mouseenter"),b("mouseleave"),b("keydown"),b("dxactive")),R=b("dxinactive"),S=b("dxhoverstart"),j=b("dxhoverend"),fe=b("focusin"),H=b("focusout")},9228:(Nt,Le,a)=>{"use strict";function t(c){return c?Number(c.replace("px","")):0}a.d(Le,{R:()=>t})},6543:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>H});var t=a(4905),c=a(4292),m=a(7951),x=a(8745),_=a(2101),b=a(5918),v=a(2463),M=a(4435),N=a(4874),p=a(2338),G="dxBoxItemData",K={row:"minWidth",col:"minHeight"},z={row:"maxWidth",col:"maxHeight"},ee={start:"flex-start",end:"flex-end",center:"center","space-between":"space-between","space-around":"space-around"},L={start:"flex-start",end:"flex-end",center:"center",stretch:"stretch"},f={row:"row",col:"column"},D=(J,Y,W)=>{if(W=(0,b.CC)(Y,W),J.style[(0,b.jA)(Y)]=W,!(0,M.Vd)()){if(""===W||!(0,v.O9)(W))return;var re=(0,x._k)(Y),le="".concat(re,": ").concat(W,";");(0,b.eC)(J,le,!1)}};class R extends p.A{_renderVisible(Y,W){super._renderVisible(Y),(0,v.O9)(W)&&this._options.fireItemStateChangedAction({name:"visible",state:Y,oldState:W})}}class S{constructor(Y,W){this._$element=Y,this._option=W}renderBox(){this._$element.css({display:"".concat((0,b.Rb)("flexDirection"),"flex")}),D(this._$element.get(0),"flexDirection",f[this._option("direction")])}renderAlign(){this._$element.css({justifyContent:this._normalizedAlign()})}_normalizedAlign(){var Y=this._option("align");return Y in ee?ee[Y]:Y}renderCrossAlign(){this._$element.css({alignItems:this._normalizedCrossAlign()})}_normalizedCrossAlign(){var Y=this._option("crossAlign");return Y in L?L[Y]:Y}renderItems(Y){var W=(0,b.Rb)("flexDirection"),re=this._option("direction");(0,_.__)(Y,function(){var le=(0,c.A)(this),Re=le.data(G);le.css({display:"".concat(W,"flex")}).css(z[re],Re.maxSize||"none").css(K[re],Re.minSize||"0"),D(le.get(0),"flexBasis",Re.baseSize||0),D(le.get(0),"flexGrow",Re.ratio),D(le.get(0),"flexShrink",(0,v.O9)(Re.shrink)?Re.shrink:1),le.children().each((Be,Fe)=>{(0,c.A)(Fe).css({width:"auto",height:"auto",display:"".concat((0,b.Rb)("flexDirection"),"flex"),flexBasis:0}),D(Fe,"flexGrow",1),D(Fe,"flexDirection",(0,c.A)(Fe)[0].style.flexDirection||"column")})})}}let j=(()=>{class J extends N.A{_getDefaultOptions(){return(0,m.X)(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 G}_itemElements(){return this._itemContainer().children(this._itemSelector())}_init(){super._init(),this.$element().addClass("dx-box-flex"),this._initLayout(),this._initBoxQueue()}_initLayout(){this._layout=new S(this.$element(),this.option.bind(this))}_initBoxQueue(){this._queue=this.option("_queue")||[]}_queueIsNotEmpty(){return!this.option("_queue")&&!!this._queue.length}_pushItemToQueue(W,re){this._queue.push({$item:W,config:re})}_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(W){for(super._renderItems(W);this._queueIsNotEmpty();){var re=this._shiftItemFromQueue();this._createComponent(re.$item,J,(0,m.X)({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},re.config))}this._layout.renderItems(this._itemElements())}_renderItemContent(W){var re=W.itemData&&W.itemData.node;return re?this._renderItemContentByNode(W,re):super._renderItemContent(W)}_postprocessRenderItem(W){var re=W.itemData.box;re&&this._pushItemToQueue(W.itemContent,re)}_createItemByTemplate(W,re){return re.itemData.box?W.source?W.source():(0,c.A)():super._createItemByTemplate(W,re)}_itemOptionChanged(W,re,le,Re){"visible"===re&&this._onItemStateChanged({name:re,state:le,oldState:!1!==Re}),super._itemOptionChanged(W,re,le)}_optionChanged(W){switch(W.name){case"_queue":case"direction":this._invalidate();break;case"align":this._layout.renderAlign();break;case"crossAlign":this._layout.renderCrossAlign();break;default:super._optionChanged(W)}}_itemOptions(){var W=super._itemOptions();
1return W.fireItemStateChangedAction=re=>{this._onItemStateChanged(re)},W}}return J.ItemClass=R,J})();(0,t.A)("dxBox",j);const H=j},2839:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ve});var t=a(4905),c=a(8168),m=a(9130),x=a(8887),_=a(6018);class b extends x.A{get _validationGroupConfig(){return m.A.getGroupConfig(this._findGroup())}getDefaultTemplateNames(){return["content"]}getSupportedKeyNames(){return["space","enter"]}getProps(){var Ne=super.getProps();return Ne.onClick=De=>{var{event:et}=De;this._clickAction({event:et,validationGroup:this._validationGroupConfig})},"svg"===(0,_.F)(Ne.icon)&&(Ne.iconTemplate=this._createTemplateComponent(()=>Ne.icon)),Ne}get _templatesInfo(){return{template:"content"}}_toggleActiveState(Ne,Ie){var De=this.viewRef;Ie?De.activate():De.deactivate()}_getSubmitAction(){var Ne=!0,Ie="valid";return this._createAction(De=>{var{event:et,submitInput:yt}=De;if(Ne){var dt=this._validationGroupConfig;if(void 0!==dt&&""!==dt){var Je=dt.validate();Ie=Je.status,"pending"===Je.status&&(Ne=!1,this.option("disabled",!0),Je.complete.then(Ce=>{var{status:we}=Ce;this.option("disabled",!1),"valid"===(Ie=we)&&yt.click(),Ne=!0}))}}"valid"!==Ie&&et.preventDefault(),et.stopPropagation()})}_initializeComponent(){super._initializeComponent(),this._addAction("onSubmit",this._getSubmitAction()),this._clickAction=this._createClickAction()}_initMarkup(){super._initMarkup();var Ne=this.$element().find(".dx-button-content"),Ie=Ne.children().filter(".dx-template-wrapper"),De=Ne.children().filter(".dx-button-submit-input");Ie.length&&(Ie.addClass("dx-button-content"),Ie.append(De),Ne.replaceWith(Ie))}_patchOptionValues(Ne){return super._patchOptionValues((0,c.A)({},Ne,{templateData:Ne._templateData}))}_findGroup(){var Ne=this.$element(),Ie=this.option("validationGroup");return void 0!==Ie&&""!==Ie?Ie:m.A.findGroup(Ne,this._modelByElement(Ne))}_createClickAction(){return this._createActionByOption("onClick",{excludeValidators:["readOnly"]})}_optionChanged(Ne){"onClick"===Ne.name&&(this._clickAction=this._createClickAction()),super._optionChanged(Ne)}}var v=a(8587),M=a(1522),N=a(6806),p=a(1557),P=a(3862),g=a(1299),U=a(8257),G=a(2243),A=a(8745),K=["iconTemplate","position","source"],ee={position:"left",source:""},L=ke=>ke&&(ke.defaultProps?Ne=>(0,M._B)((0,M.sO)(2,ke,(0,c.A)({},Ne))):ke);let f=(()=>{class ke extends N.eh{constructor(Ie){super(Ie),this.state={}}get sourceType(){return(0,_.F)(this.props.source)}get cssClass(){return"left"!==this.props.position?"dx-icon-right":""}get iconClassName(){var Ie={"dx-icon":!0,[this.cssClass]:!!this.cssClass},{source:De}=this.props;return"dxIcon"===this.sourceType?(0,G.g)((0,c.A)({},Ie,{["dx-icon-".concat(De)]:!0})):"fontIcon"===this.sourceType?(0,G.g)((0,c.A)({},Ie,{[String(De)]:!!De})):"image"===this.sourceType?(0,G.g)(Ie):"svg"===this.sourceType?(0,G.g)((0,c.A)({},Ie,{"dx-svg-icon":!0})):""}get restAttributes(){return(0,v.A)(this.props,K)}render(){var Ie=this.props;return(ke=>{var{iconClassName:Ne,props:{iconTemplate:Ie,source:De},sourceType:et}=ke;return(0,M.nl)(["dxIcon"===et&&(0,M.bF)(1,"i",Ne),"fontIcon"===et&&(0,M.bF)(1,"i",Ne),"image"===et&&(0,M.bF)(1,"img",Ne,null,1,{alt:"",src:De}),Ie&&(0,M.bF)(1,"i",Ne,Ie({}),0)],0)})({props:(0,c.A)({},Ie,{iconTemplate:L(Ie.iconTemplate)}),sourceType:this.sourceType,cssClass:this.cssClass,iconClassName:this.iconClassName,restAttributes:this.restAttributes})}}return ke.defaultProps=ee,ke})();var D=a(6115),R=["config"],j={config:Object.freeze({})};let fe=(()=>{class ke extends N.eh{constructor(Ie){super(Ie),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:Ie}=this.props;return(0,D.pw)(Ie)})()}get restAttributes(){return(0,v.A)(this.props,R)}hideWave(Ie){(0,D.SK)(this.getConfig,Ie)}showWave(Ie){(0,D.vF)(this.getConfig,Ie)}componentWillUpdate(Ie,De,et){this.props.config!==Ie.config&&(this.__getterCache.getConfig=void 0)}render(){return(ke=>(0,M._B)((0,M.bF)(1,"div","dx-inkripple",null,1,(0,c.A)({},ke.restAttributes))))({props:(0,c.A)({},this.props),getConfig:this.getConfig,restAttributes:this.restAttributes})}}return ke.defaultProps=j,ke})();var H=a(7476),J=a(3440),Y=a(736),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"],re=["outlined","text","contained"],Be=Object.create(Object.prototype,(0,c.A)(Object.getOwnPropertyDescriptors(J.s),Object.getOwnPropertyDescriptors({activeStateEnabled:!0,hoverStateEnabled:!0,icon:"",iconPosition:"left",stylingMode:"contained",text:"",type:"normal",useInkRipple:!1,useSubmitBehavior:!1,templateData:Object.freeze({})}))),Fe=(0,p.gO)([{device:()=>"desktop"===P.A.real().deviceType&&!P.A.isSimulator(),options:{focusStateEnabled:!0}},{device:()=>(0,g.gx)((0,g.ss)()),options:{useInkRipple:!0}}]),ue=ke=>ke&&(ke.defaultProps?Ne=>(0,M._B)((0,M.sO)(2,ke,(0,c.A)({},Ne))):ke);class ce extends N.oe{constructor(Ne){super(Ne),this.state={},this.contentRef=(0,M._3)(),this.inkRippleRef=(0,M._3)(),this.submitInputRef=(0,M._3)(),this.widgetRef
1=(0,M._3)(),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.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 N.Lt(this.submitEffect,[this.props.onSubmit,this.props.useSubmitBehavior]),(0,N.h2)()]}updateEffects(){var Ne;null===(Ne=this._effects[0])||void 0===Ne||Ne.update([this.props.onSubmit,this.props.useSubmitBehavior])}submitEffect(){var{onSubmit:Ne,useSubmitBehavior:Ie}=this.props;if(Ie&&Ne)return U.jM.on(this.submitInputRef.current,De=>Ne({event:De,submitInput:this.submitInputRef.current}),{namespace:"UIFeedback"}),()=>U.jM.off(this.submitInputRef.current,{namespace:"UIFeedback"})}onActive(Ne){var{useInkRipple:Ie}=this.props;Ie&&this.inkRippleRef.current.showWave({element:this.contentRef.current,event:Ne})}onInactive(Ne){var{useInkRipple:Ie}=this.props;Ie&&this.inkRippleRef.current.hideWave({element:this.contentRef.current,event:Ne})}onWidgetClick(Ne){var{onClick:Ie,useSubmitBehavior:De}=this.props;Ie?.({event:Ne}),De&&this.submitInputRef.current.click()}keyDown(Ne){var{onKeyDown:Ie}=this.props,{keyName:De,originalEvent:et,which:yt}=Ne,dt=Ie?.(Ne);if(null!=dt&&dt.cancel)return dt;("space"===De||"space"===yt||"enter"===De||"enter"===yt)&&(et.preventDefault(),this.emitClickEvent())}emitClickEvent(){this.contentRef.current.click()}get aria(){var{icon:Ne,text:Ie}=this.props,De=Ie??"";if(!Ie&&Ne)switch((0,_.F)(Ne)){case"image":De=!Ne.includes("base64")&&/^(?!(?:https?:\/\/)|(?:ftp:\/\/)|(?:www\.))[^\s]+$/.test(Ne)?Ne.replace(/.+\/([^.]+)\..+$/,"$1"):"";break;case"dxIcon":De=Y.A.format((0,A.PT)(Ne,!0))||Ne;break;case"fontIcon":De=Ne;break;case"svg":var dt,Je;De=null!==(dt=null===(Je=/<title>(.*?)<\/title>/.exec(Ne))||void 0===Je?void 0:Je[1])&&void 0!==dt?dt:""}return(0,c.A)({role:"button"},De?{label:De}:{})}get cssClasses(){return(ke=>{var{icon:Ne,iconPosition:Ie,stylingMode:De,text:et,type:yt}=ke,dt=De&&re.includes(De),Je={"dx-button":!0,["dx-button-mode-".concat(dt?De:"contained")]:!0,["dx-button-".concat(yt??"normal")]:!0,"dx-button-has-text":!!et,"dx-button-has-icon":!!Ne,"dx-button-icon-right":"left"!==Ie};return(0,G.g)(Je)})(this.props)}get iconSource(){var{icon:Ne}=this.props;return Ne??""}get inkRippleConfig(){return void 0!==this.__getterCache.inkRippleConfig?this.__getterCache.inkRippleConfig:this.__getterCache.inkRippleConfig=(()=>{var{icon:Ne,text:Ie}=this.props;return!Ie&&Ne?{isCentered:!0,useHoldAnimation:!1,waveSizeCoefficient:1}:{}})()}get buttonTemplateData(){var{icon:Ne,templateData:Ie,text:De}=this.props;return(0,c.A)({icon:Ne,text:De},Ie)}get restAttributes(){return(0,v.A)(this.props,W)}focus(){this.widgetRef.current.focus()}activate(){this.widgetRef.current.activate()}deactivate(){this.widgetRef.current.deactivate()}componentWillUpdate(Ne,Ie,De){super.componentWillUpdate(),(this.props.icon!==Ne.icon||this.props.text!==Ne.text)&&(this.__getterCache.inkRippleConfig=void 0)}render(){var Ne=this.props;return(ke=>{var{children:Ne,iconPosition:Ie,iconTemplate:De,template:et,text:yt}=ke.props,dt=!ke.props.template&&!Ne&&""!==yt,Je="left"===Ie,Ce=!ke.props.template&&!Ne&&(ke.iconSource||ke.props.iconTemplate)&&(0,M.sO)(2,f,{source:ke.iconSource,position:Ie,iconTemplate:De});return(0,M._B)((0,M.sO)(2,H.x0,(0,c.A)({accessKey:ke.props.accessKey,activeStateEnabled:ke.props.activeStateEnabled,aria:ke.aria,className:ke.props.className,classes:ke.cssClasses,disabled:ke.props.disabled,focusStateEnabled:ke.props.focusStateEnabled,height:ke.props.height,hint:ke.props.hint,hoverStateEnabled:ke.props.hoverStateEnabled,onActive:ke.onActive,onClick:ke.onWidgetClick,onInactive:ke.onInactive,onKeyDown:ke.keyDown,rtlEnabled:ke.props.rtlEnabled,tabIndex:ke.props.tabIndex,visible:ke.props.visible,width:ke.props.width},ke.restAttributes,{children:(0,M.bF)(1,"div","dx-button-content",[ke.props.template&&et({data:ke.buttonTemplateData}),!ke.props.template&&Ne,Je&&Ce,dt&&(0,M.bF)(1,"span","dx-button-text",yt,0),!Je&&Ce,ke.props.useSubmitBehavior&&(0,M.bF)(64,"input","dx-button-submit-input",null,1,{type:"submit",tabIndex:-1},null,ke.submitInputRef),ke.props.useInkRipple&&(0,M.sO)(2,fe,{config:ke.inkRippleConfig},null,ke.inkRippleRef)],0,null,null,ke.contentRef)}),null,ke.widgetRef))})({props:(0,c.A)({},Ne,{template:ue(Ne.template),iconTemplate:ue(Ne.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,c.A)(Object.getOwnPropertyDescriptors(Be),Object.getOwnPropertyDescriptors((0,c.A)({},(0,p.a6)(Fe)))));var _e=[];class Z extends b{getProps(){var Ne=super.getProps();return Ne.onKeyDown=this._wrapKeyDownHandler(Ne.onKeyDown),Ne}focus(){var Ne;return null===(Ne=this.viewRef)||void 0===Ne?void 0:Ne.focus(...arguments)}activate(){var Ne;return null===(Ne=this.viewRef)||void 0===Ne?void 0:Ne.activate(...arguments)}deactivate(){var Ne;return null===(Ne=this.viewRef)||void 0===Ne?void 0:Ne.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,t.A)("dxButton",Z),Z.defaultOptions=function ne(ke){_e.push(ke),ce.defaultProps=Object.create(Object.prototype,(0,c.A)(Object.getOwnPropertyDescriptors(ce.defaultProps),Object.getOwnPropertyDescriptors((0,p.a6)(Fe)),Object.getOwnPropertyDescriptors((0,p.a6)(_e))))};const ve=Z},9454:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>we});var t=a(4905),c=a(2463),m=a(8887),x=a(9130),_=a(7951),b=a(4292),v=a(8332),M=a(4423),N=a(4831),P="dx-invalid-message-auto",g="dx-validation-target";class U extends m.A{getProps(){var He=super.getProps();return He.onFocusIn=()=>{if("auto"===this.option("validationMessageMode")){var It=(0,b.A)(function p(Ee,He){var Ot,It;return(null!==(Ot=null===(It=Ee.getRootNode)||void 0===It?void 0:It.call(Ee))&&void 0!==Ot?Ot:document).querySelector(He)}(this.element(),".dx-invalid-message.dx-overlay-wrapper"));It?.removeClass(P),this.showValidationMessageTimeout&&clearTimeout(this.showValidationMessageTimeout),this.showValidationMessageTimeout=setTimeout(()=>{It?.addClass(P)},150)}},He.saveValueChangeEvent=Ot=>{this._valueChangeEventInstance=Ot},He}_createElement(He){super._createElement(He),this.showValidationMessageTimeout=void 0,this.validationRequest=(0,M.A)(),(0,v.p)(this.$element()[0],g,this)}_render(){var He;null===(He=this.option("_onMarkupRendered"))||void 0===He||He()}_init(){super._init(),this._initialValue=this.option("value")}_initializeComponent(){super._initializeComponent(),this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]})}_initOptions(He){super._initOptions(He),this.option(x.A.initValidationOptions(He))}_getDefaultOptions(){return(0,_.X)(super._getDefaultOptions(),{validationMessageOffset:{h:0,v:0},validationTooltipOptions:{}})}_bindInnerWidgetOptions(He,Ot){var It=(0,_.X)({},He.option()),un=()=>this._silent(Ot,It);un(),He.on("optionChanged",un)}_raiseValidation(He,Ot){var It=!(0,c.O9)(He)&&!(0,c.O9)(Ot);He!==Ot&&!It&&this.validationRequest.fire({value:He,editor:this})}_raiseValueChangeAction(He,Ot){var It;null===(It=this._valueChangeAction)||void 0===It||It.call(this,{element:this.$element(),previousValue:Ot,value:He,event:this._valueChangeEventInstance}),this._valueChangeEventInstance=void 0}_optionChanged(He){var{name:Ot,previousValue:It,value:un}=He;switch(Ot&&void 0!==this._getActionConfigs()[Ot]&&this._addAction(Ot),Ot){case"value":this._raiseValidation(un,It),this.option("isDirty",this._initialValue!==un),this._raiseValueChangeAction(un,It);break;case"onValueChanged":this._valueChangeAction=this._createActionByOption("onValueChanged",{excludeValidators:["disabled","readOnly"]});break;case"isValid":case"validationError":case"validationErrors":case"validationStatus":this.option(x.A.synchronizeValidationOptions(He,this.option()))}super._optionChanged(He)}clear(){var{value:He}=this._getDefaultOptions();this.option({value:He})}reset(){arguments.length&&(this._initialValue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0),this.option("value",this._initialValue),this.option("isDirty",!1),this.option("isValid",!0)}
1_dispose(){super._dispose(),(0,v.p)(this.element(),g,null),this.showValidationMessageTimeout&&clearTimeout(this.showValidationMessageTimeout)}}var G=N.A.isEditor,A=Ee=>G(Ee)||Ee instanceof U;U.isEditor=A,N.A.isEditor=A;class K extends U{_useTemplates(){return!1}_isFocused(){return this.$element()[0].classList.contains("dx-state-focused")}getSupportedKeyNames(){return["space"]}getProps(){var He=super.getProps();return null!==He.value&&(He.value=!!He.value),He}}var z=a(8587),ee=a(8168),L=a(1522),f=a(6806),D=a(3862),R=a(9060),S=a(2243),j=a(505),fe=a(4435),H=a(5918),J=a(1299),Y=[[22,16],[18,16]],W=[[[12,8],[20,18]],[[16,10],[16,14]]];function re(){var Ee=(0,J.ss)();return{isMaterialTheme:(0,J.gx)(Ee),isCompactTheme:(0,J.ip)(Ee)}}var Fe=["isChecked","size"],ce={isChecked:!1};let _e=(()=>{class Ee extends f.JP{constructor(Ot){super(Ot),this.state={},this.elementRef=(0,L._3)(),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 f.Lt(this.updateFontSize,[this.props.isChecked,this.props.size])]}updateEffects(){var Ot;null===(Ot=this._effects[0])||void 0===Ot||Ot.update([this.props.isChecked,this.props.size])}updateFontSize(){var{isChecked:Ot,size:It}=this.props;if((0,fe.Vd)()&&It){var ln=function Be(Ee,He){var Ot=function Re(Ee){var{isCompactTheme:He,isMaterialTheme:Ot}=re();return W[+Ee][+Ot][+He]}(He),It=function le(){var{isCompactTheme:Ee,isMaterialTheme:He}=re();return Y[+He][+Ee]}();return Math.ceil(Ot/It*Ee)}(this.getIconSize(It),Ot);this.setIconFontSize(ln)}}setIconFontSize(Ot){this.elementRef.current.style.fontSize="".concat(Ot,"px")}getIconSize(Ot){return(0,c.kf)(Ot)?Ot:Ot.endsWith("px")?parseInt(Ot,10):this.getComputedIconSize()}getComputedIconSize(){var It=(0,j.A)(this.elementRef.current);return parseInt(It?.width,10)}get cssStyles(){return void 0!==this.__getterCache.cssStyles?this.__getterCache.cssStyles:this.__getterCache.cssStyles=(()=>{var{size:Ot}=this.props,It=(0,H.CC)("width",Ot);return{height:(0,H.CC)("height",Ot),width:It}})()}get restAttributes(){return(0,z.A)(this.props,Fe)}componentWillUpdate(Ot,It,un){super.componentWillUpdate(),this.props.size!==Ot.size&&(this.__getterCache.cssStyles=void 0)}render(){return(Ee=>{var{cssStyles:He,elementRef:Ot}=Ee;return(0,L.bF)(1,"span","dx-checkbox-icon",null,1,{style:(0,f.gs)(He)},null,Ot)})({props:(0,ee.A)({},this.props),elementRef:this.elementRef,setIconFontSize:this.setIconFontSize,getIconSize:this.getIconSize,getComputedIconSize:this.getComputedIconSize,cssStyles:this.cssStyles,restAttributes:this.restAttributes})}}return Ee.defaultProps=ce,Ee})();var ne=a(7476),Z=a(1557),ve=["accessKey","activeStateEnabled","aria","className","defaultValue","disabled","enableThreeStateBehavior","focusStateEnabled","height","hint","hoverStateEnabled","iconSize","inputAttr","isDirty","isValid","name","onClick","onFocusIn","onKeyDown","readOnly","rtlEnabled","saveValueChangeEvent","tabIndex","text","validationError","validationErrors","validationMessageMode","validationMessagePosition","validationStatus","value","valueChange","visible","width"],Ie=Object.create(Object.prototype,(0,ee.A)(Object.getOwnPropertyDescriptors(R.eH),Object.getOwnPropertyDescriptors({text:"",enableThreeStateBehavior:!1,activeStateEnabled:!0,hoverStateEnabled:!0,get focusStateEnabled(){return"desktop"===D.A.real().deviceType&&!D.A.isSimulator()},defaultValue:!1,valueChange:()=>{}}))),De={get text(){return Ie.text},get enableThreeStateBehavior(){return Ie.enableThreeStateBehavior},get activeStateEnabled(){return Ie.activeStateEnabled},get hoverStateEnabled(){return Ie.hoverStateEnabled},get focusStateEnabled(){return Ie.focusStateEnabled},get defaultValue(){return Ie.defaultValue},get valueChange(){return Ie.valueChange},get readOnly(){return Ie.readOnly},get name(){return Ie.name},get validationError(){return Ie.validationError},get validationErrors(){return Ie.validationErrors},get validationMessageMode(){return Ie.validationMessageMode},get validationMessagePosition(){return Ie.validationMessagePosition},get validationStatus(){return Ie.validationStatus},get isValid(){return Ie.isValid},get isDirty(){return Ie.isDirty},get inputAttr(){return Ie.inputAttr},get className(){return Ie.className},get disabled(){return Ie.disabled},get tabIndex(){return Ie.tabIndex},get visible(){return Ie.visible},get aria(){return ne.b7.aria}};class et extends f.oe{constructor(He){super(He),this.editorRef=(0,L._3)(),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)}
1createEffects(){return[(0,f.h2)()]}onWidgetClick(He){var{enableThreeStateBehavior:Ot,readOnly:It,saveValueChangeEvent:un}=this.props;if(!It)if(un?.(He),Ot){var ln;this.setState(Zt=>({value:ln=null===(void 0!==this.props.value?this.props.value:Zt.value)||!(void 0!==this.props.value?this.props.value:Zt.value)&&null})),this.props.valueChange(ln)}else{var Ln;this.setState(Zt=>{var ct;return{value:Ln=!(null!==(ct=void 0!==this.props.value?this.props.value:Zt.value)&&void 0!==ct&&ct)}}),this.props.valueChange(Ln)}}keyDown(He){var{onKeyDown:Ot}=this.props,{keyName:It,originalEvent:un,which:ln}=He,Ln=Ot?.(He);if(null!=Ln&&Ln.cancel)return Ln;("space"===It||"space"===ln)&&(un.preventDefault(),this.onWidgetClick(un))}get cssClasses(){return(Ee=>{var{text:He,value:Ot}=Ee;return(0,S.g)({"dx-checkbox":!0,"dx-checkbox-checked":!0===Ot,"dx-checkbox-has-text":!!He,"dx-checkbox-indeterminate":null===Ot})})((0,ee.A)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value}))}get aria(){var It={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,ee.A)({},It,this.props.aria)}get restAttributes(){var He=(0,ee.A)({},this.props,{value:void 0!==this.props.value?this.props.value:this.state.value});return(0,z.A)(He,ve)}focus(){this.editorRef.current.focus()}blur(){this.editorRef.current.blur()}render(){return(Ee=>{var{aria:He,cssClasses:Ot,editorRef:It,keyDown:un,onWidgetClick:ln,props:{accessKey:Ln,activeStateEnabled:Zt,className:ct,disabled:rt,focusStateEnabled:Ae,height:Ke,hint:vt,hoverStateEnabled:Wt,iconSize:ze,isValid:pt,name:Ze,onFocusIn:X,readOnly:Ve,rtlEnabled:st,tabIndex:at,text:V,validationError:pe,validationErrors:Te,validationMessageMode:ft,validationMessagePosition:At,validationStatus:sn,value:Bt,visible:Ut,width:zt},restAttributes:wt}=Ee;return(0,L._B)((0,L.sO)(2,R.KE,(0,ee.A)({aria:He,classes:Ot,onClick:ln,onKeyDown:un,accessKey:Ln,activeStateEnabled:Zt,focusStateEnabled:Ae,hoverStateEnabled:Wt,className:ct,disabled:rt,readOnly:Ve,hint:vt,height:Ke,width:zt,rtlEnabled:st,tabIndex:at,visible:Ut,validationError:pe,validationErrors:Te,validationMessageMode:ft,validationMessagePosition:At,validationStatus:sn,isValid:pt,onFocusIn:X},wt,{children:(0,L.nl)([(0,L._B)((0,L.bF)(64,"input",null,null,1,(0,ee.A)({type:"hidden",value:"".concat(Bt)},Ze&&{name:Ze}))),(0,L.bF)(1,"div","dx-checkbox-container",[(0,L.sO)(2,_e,{size:ze,isChecked:!0===Bt}),V&&(0,L.bF)(1,"span","dx-checkbox-text",V,0)],0)],4)}),null,It))})({props:(0,ee.A)({},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})}}et.defaultProps=De;var dt=[];class Ce extends K{getProps(){var He=super.getProps();return He.onKeyDown=this._wrapKeyDownHandler(He.onKeyDown),He}focus(){var He;return null===(He=this.viewRef)||void 0===He?void 0:He.focus(...arguments)}blur(){var He;return null===(He=this.viewRef)||void 0===He?void 0:He.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","isDirty","inputAttr","onFocusIn","className","accessKey","disabled","height","hint","onClick","onKeyDown","rtlEnabled","tabIndex","visible","width","aria","value"]}}get _viewComponent(){return et}}(0,t.A)("dxCheckBox",Ce),Ce.defaultOptions=function Je(Ee){dt.push(Ee),et.defaultProps=Object.create(Object.prototype,(0,ee.A)(Object.getOwnPropertyDescriptors(et.defaultProps),Object.getOwnPropertyDescriptors(function yt(Ee){var He=["value"];return Object.keys(Ee).reduce((Ot,It)=>{var un=Ee[It];return Ot[He.some(Ln=>
1Ln===It)?"default"+It.charAt(0).toUpperCase()+It.slice(1):It]=un,Ot},{})}((0,Z.a6)(dt)))))};const we=Ce},6208:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>_});var t=a(5042),c=a(2984),m={load:()=>(0,c.cY)().reject(),loadSingle:()=>(0,c.cY)().reject(),loadFromStore:()=>(0,c.cY)().reject(),loadNextPage:()=>(0,c.cY)().reject(),loadOptions:t.lQ,userData:t.lQ,cancel:t.lQ,cancelAll:t.lQ,filter:t.lQ,addSearchFilter:t.lQ,group:t.lQ,paginate:t.lQ,pageSize:t.lQ,pageIndex:t.lQ,resetDataSourcePageIndex:t.lQ,totalCount:t.lQ,isLastPage:t.lQ,isLoading:t.lQ,isLoaded:t.lQ,searchValue:t.lQ,searchOperation:t.lQ,searchExpr:t.lQ,select:t.lQ,key:t.lQ,keyOf:t.lQ,store:t.lQ,items:t.lQ,applyMapFunction:t.lQ,getDataSource:t.lQ,reload:t.lQ,on:t.lQ,off:t.lQ};const _=class x{constructor(v){if(!v)return m;this._dataSource=v}load(){return this._dataSource.load()}loadSingle(v,M){return arguments.length<2&&(M=v,v=this.key()),this._dataSource.loadSingle(v,M)}loadFromStore(v){return this.store().load(v)}loadNextPage(){return this.pageIndex(1+this.pageIndex()),this.load()}loadOptions(){return this._dataSource.loadOptions()}userData(){return this._dataSource._userData}cancel(v){this._dataSource.cancel(v)}cancelAll(){this._dataSource.cancelAll()}filter(v){return this._dataSource.filter(v)}addSearchFilter(v){this._dataSource._addSearchFilter(v)}group(v){return this._dataSource.group(v)}paginate(){return this._dataSource.paginate()}pageSize(){return this._dataSource._pageSize}pageIndex(v){return this._dataSource.pageIndex(v)}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(v){return arguments.length?this._dataSource.searchValue(v):this._dataSource.searchValue()}searchOperation(v){return this._dataSource.searchOperation(v)}searchExpr(v){return arguments.length?this._dataSource.searchExpr(v):this._dataSource.searchExpr()}select(){return this._dataSource.select(...arguments)}key(){return this._dataSource.key()}keyOf(v){return this.store().keyOf(v)}store(){return this._dataSource.store()}items(){return this._dataSource.items()}applyMapFunction(v){return this._dataSource._applyMapFunction(v)}getDataSource(){return this._dataSource||null}reload(){return this._dataSource.reload()}on(v,M){this._dataSource.on(v,M)}off(v,M){this._dataSource.off(v,M)}}},2338:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>p});var t=a(4292),c=a(6221),m=a(2101),x=a(9690),N=c.A.inherit({ctor:function(P,g,U){this._$element=P,this._options=g,this._rawData=U,(0,x.UK)(P,this,this._dispose),this._render()},_render:function(){var P=(0,t.A)("<div>").addClass("dx-item-content-placeholder");this._$element.append(P),this._watchers=[],this._renderWatchers()},_renderWatchers:function(){this._startWatcher("disabled",this._renderDisabled.bind(this)),this._startWatcher("visible",this._renderVisible.bind(this))},_startWatcher:function(P,g){var U=this._rawData,G=this._options.fieldGetter(P),A=function(P,g,U){var A,G=function(K){A!==K&&(U(K,A),A=K)};return{dispose:P(g,G),force:function(){G(g())}}}(this._options.watchMethod(),function(){return G(U)},function(K,z){this._dirty=!0,g(K,z)}.bind(this));this._watchers.push(A)},setDataField:function(){if(this._dirty=!1,(0,m.__)(this._watchers,function(P,g){g.force()}),this._dirty)return!0},_renderDisabled:function(P,g){this._$element.toggleClass("dx-state-disabled",!!P),this._$element.attr("aria-disabled",!!P),this._updateOwnerFocus(P)},_updateOwnerFocus:function(P){var g=this._options.owner;g&&P&&g._resetItemFocus(this._$element)},_renderVisible:function(P,g){this._$element.toggleClass("dx-state-invisible",void 0!==P&&!P)},_dispose:function(){(0,m.__)(this._watchers,function(P,g){g.dispose()})}});N.getInstance=function(P){return(0,x.pV)(P,this)};const p=N},4874:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>rt});var t=a(4292),c=a(1269),m=a(8168),x=a(186),_=a(5042),b=a(3468),v=a(181),M=a(7669),N=a(2463),p=a(2984),P=a(7951),g=a(2101),U=a(5135),G=a(3992),A=a(8041),K=a(9104),z=a(4159),ee=a(2236),L=a(2338),f=a(1063),D=a(736),R=a(4602),S=a(9407),j=a(8060),fe=a(4935),H=a(6311),Y="dx-item",W="-content",re="dx-item-content-placeholder",ne="dx-template-wrapper",Z=/^([^.]+\[\d+\]\.)+([\w.]+)$/,Ne="down",Ce=A.A.inherit({_activeStateUnit:"."+Y,_supportedKeys:function(){var Ae=function(Ke,vt){(0,K.By)(vt)||(vt.preventDefault(),vt.stopPropagation(),this._moveFocus(Ke,vt))};return(0,P.X)(this.callBase(),{space:function(Ke){Ke.preventDefault(),this._enterKeyHandler(Ke)},enter:this._enterKeyHandler,leftArrow:Ae.bind(this,"left"),rightArrow:Ae.bind(this,"right"),upArrow:Ae.bind(this,"up"),downArrow:Ae.bind(this,Ne),pageUp:Ae.bind(this,"up"),pageDown:Ae.bind(this,Ne),home:Ae.bind(this,"first"),end:Ae.bind(this,"last")})},_enterKeyHandler:function(Ae){var Ke=(0,t.A)(this.option("focusedElement"));if(Ke.length){var vt=this._getItemData(Ke);null!=vt&&vt.onClick&&this._itemEventHandlerByHandler(Ke,vt.onClick,{event:Ae}),this._itemClickHandler((0,P.X)({},Ae,{target:Ke.get(0),currentTarget:Ke.get(0)}))}},_getDefaultOptions:function(){return(0,P.X)(this.callBase(),{selectOnFocus:!1,loopItemFocus:!0,items:[],itemTemplate:"item",onItemRendered:null,onItemClick:null,onItemHold:null,itemHoldTimeout:750,onItemContextMenu:null,onFocusedItemChanged:null,noDataText:D.A.format("dxCollectionWidget-noDataText"),encodeNoDataText:!1,dataSource:null,_dataController:null,_itemAttributes:{},itemTemplateProperty:"template",focusOnSelectedItem:!0,focusedElement:null,displayExpr:void 0,disabledExpr:function(Ae){return Ae?Ae.disabled:void 0},visibleExpr:function(Ae){return Ae?Ae.visible:void 0}})},_init:function(){this._compileDisplayGetter(),this._initDataController(),this.callBase(),this._cleanRenderedItems(),this._refreshDataSource()},_compileDisplayGetter:function(){var Ae=this.option("displayExpr");this._displayGetter=Ae?(0,S.Hz)(this.option("displayExpr")):void 0},_initTemplates:function(){this._initItemsFromMarkup(),this._initDefaultItemTemplate(),this.callBase()},_getAnonymousTemplateName:function(){return"item"},_initDefaultItemTemplate:function(){var Ae=this._getFieldsMap();this._templateManager.addDefaultTemplates({item:new H.U(function(Ke,vt){(0,N.Qd)(vt)?this._prepareDefaultItemTemplate(vt,Ke):(Ae&&(0,N.Tn)(Ae.text)&&(vt=Ae.text(vt)),Ke.text(String((0,_.YD)(vt,""))))}.bind(this),this._getBindableFields(),this.option("integrationOptions.watchMethod"),Ae)})},_getBindableFields:function(){return["text","html"]},_getFieldsMap:function(){if(this._displayGetter)return{text:this._displayGetter}},_prepareDefaultItemTemplate:function(Ae,Ke){(0,N.O9)(Ae.text)&&Ke.text(Ae.text),(0,N.O9)(Ae.html)&&Ke.html(Ae.html)},_initItemsFromMarkup:function(){var Ae=(0,b.zD)(this.$element(),"dxItem");if(Ae.length&&!this.option("items").length){var Ke=Ae.map(vt=>{var{element:Wt,options:ze}=vt;return/\S/.test(Wt.innerHTML)&&!ze.template?ze.template=this._prepareItemTemplate(Wt):(0,t.A)(Wt).remove(),ze});this.option("items",Ke)}},_prepareItemTemplate:function(Ae){var Ke="tmpl-"+new G.A,vt=(0,t.A)(Ae).detach().clone().removeAttr("data-options").addClass(ne);return this._saveTemplate(Ke,vt),Ke},_dataSourceOptions:function(){return{paginate:!1}},_cleanRenderedItems:function(){this._renderedItemsCount=0},_focusTarget:function(){return this.$element()},_focusInHandler:function(Ae){if(this.callBase.apply(this,arguments),this._isFocusTarget(Ae.target)){var Ke=(0,t.A)(this.option("focusedElement"));if(Ke.length)this._setFocusedItem(Ke);else{var vt=this._getActiveItem();vt.length&&this.option("focusedElement",(0,v.c)(vt))}}},_focusOutHandler:function(){this.callBase.apply(this,arguments);var Ae=(0,t.A)(this.option("focusedElement"));this._updateFocusedItemState(Ae,!1)},_findActiveTarget(Ae){return Ae.find(this._activeStateUnit)},_getActiveItem:function(Ae){var Ke=(0,t.A)(this.option("focusedElement"));if(Ke.length)return Ke;var vt=this.option("focusOnSelectedItem")?this.option("selectedIndex"):0,Wt=this._getActiveElement();return vt<0&&(vt=Ae?Wt.length-1:0),Wt.eq(vt)},_moveFocus:function(Ae){var vt,Ke=this._getAvailableItems();switch(Ae){case"pageup":case"up":vt=this._prevItem(Ke);break;case"pagedown":case Ne:vt=this._nextItem(Ke);break;case"right":vt=this.option("rtlEnabled")?this._prevItem(Ke):this._nextItem(Ke);break;case"left":vt=this.option("rtlEnabled")?this._nextItem(Ke):this._prevItem(Ke);break;case"first":vt=Ke.first();break;case"last":vt=Ke.last();break;default:return!1}0!==vt.length&&this.option("focusedElement",(0,v.c)(vt))},_getVisibleItems:function(Ae){return(Ae=Ae||this._itemElements()).filter(":visible")},_getAvailableItems:function(Ae){return this._getVisibleItems(Ae)},_prevItem:function(Ae){var Ke=this._getActiveItem(),vt=Ae.index(Ke),Wt=Ae.last(),ze=(0,t.A)(Ae[vt-1]),pt=this.option("loopItemFocus");return 0===ze.length&&pt&&(ze=Wt),ze},_nextItem:function(Ae){var Ke=this._getActiveItem(!0),vt=Ae.index(Ke),Wt=Ae.first(),ze=(0,t.A)(Ae[vt+1]),pt=this.option("loopItemFocus");return 0===ze.length&&pt&&(ze=Wt),ze},_selectFocusedItem:function(Ae){this.selectItem(Ae)},_updateFocusedItemState:function(Ae,Ke,vt){var Wt=(0,t.A)(Ae);Wt.length&&(this._refreshActiveDescendant(),this._refreshItemId(Wt,vt),this._toggleFocusClass(Ke,Wt)),this._updateParentActiveDescendant()},_refreshActiveDescendant:function(Ae){this.setAria("activedescendant",(0,N.O9)(this.option("focusedElement"))?this.getFocusedItemId():null,Ae)},_refreshItemId:function(Ae,Ke){!Ke&&this.option("focusedElement")?this.setAria("id",this.getFocusedItemId(),Ae):this.setAria("id",null,Ae)},_isDisabled:Ae=>Ae&&"true"===(0,t.A)(Ae).attr("aria-disabled"),_setFocusedItem:function(Ae){if(Ae&&Ae.length){this._updateFocusedItemState(Ae,!0),this.onFocusedItemChanged(this.getFocusedItemId());var{selectOnFocus:Ke}=this.option(),vt=this._isDisabled(Ae);Ke&&!vt&&this._selectFocusedItem(Ae)}},_findItemElementByItem:function(Ae){var Ke=(0,t.A)(),vt=this;return this.itemElements().each(function(){var Wt=(0,t.A)(this);if(Wt.data(vt._itemDataKey())===Ae)return Ke=Wt,!1}),Ke},_getIndexByItem:function(Ae){return this.option("items").indexOf(Ae)},_itemOptionChanged:function(Ae,Ke,vt,Wt){var ze=this._findItemElementByItem(Ae);ze.length&&(this.constructor.ItemClass.getInstance(ze).setDataField(Ke,vt)||this._refreshItem(ze,Ae),"disabled"===Ke&&vt&&this._resetItemFocus(ze))},_resetItemFocus(Ae){Ae.is(this.option("focusedElement"))&&this.option("focusedElement",null)},_refreshItem:function(Ae){var Ke=this._getItemData(Ae),vt=Ae.data(this._itemIndexKey());this._renderItem(this._renderedItemsCount+vt,Ke,null,Ae)},_updateParentActiveDescendant:_.lQ,_optionChanged:function(Ae){if("items"===Ae.name){var Ke=Ae.fullName.match(Z);if(Ke&&Ke.length){var vt=Ke[Ke.length-1],Wt=Ae.fullName.replace("."+vt,""),ze=this.option(Wt);return void this._itemOptionChanged(ze,vt,Ae.value,Ae.previousValue)}}switch(Ae.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(Ae.previousValue,!1,!0),this._setFocusedItem((0,t.A)(Ae.value));break;case"displayExpr":this._compileDisplayGetter(),this._initDefaultItemTemplate(),this._invalidate();break;default:this.callBase(Ae)}},_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(Ae){var Ke=this.option("items");this._initialized&&Ke&&this._shouldAppendItems()?(this._renderedItemsCount=Ke.length,(!this._isLastPage()||-1!==this._startIndexForAppendedItems)&&(this.option().items=Ke.concat(Ae.slice(this._startIndexForAppendedItems))),this._forgetNextPageLoading(),this._refreshContent()):this.option("items",Ae.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,t.A)(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 Y},_itemContentClass:function(){return this._itemClass()+W},_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,_.Mb)(function(){this._renderContentImpl()}),_renderContent:function(){this._fireContentReadyAction()},_render:function(){this.callBase(),this._attachClickEvent(),this._attachHoldEvent(),this._attachContextMenuEvent()},_getPointerEvent:()=>z.A.down,_attachClickEvent(){var Ae=this._itemSelector(),Ke=this._getPointerEvent(),vt=(0,K.b4)(j.U,this.NAME),Wt=(0,K.b4)(Ke,this.NAME),ze=new U.A(pt=>{var{event:Ze}=pt;this._itemPointerDownHandler(Ze)});c.A.off(this._itemContainer(),vt,Ae),c.A.off(this._itemContainer(),Wt,Ae),c.A.on(this._itemContainer(),vt,Ae,pt=>this._itemClickHandler(pt)),c.A.on(this._itemContainer(),Wt,Ae,pt=>{ze.execute({element:(0,t.A)(pt.target),event:pt})})},_itemClickHandler:function(Ae,Ke,vt){this._itemDXEventHandler(Ae,"onItemClick",Ke,vt)},_itemPointerDownHandler:function(Ae){this.option("focusStateEnabled")&&(this._itemFocusHandler=function(){if(clearTimeout(this._itemFocusTimeout),this._itemFocusHandler=null,!Ae.isDefaultPrevented()){var Ke=(0,t.A)(Ae.target),vt=Ke.closest(this._itemElements()),Wt=this._closestFocusable(Ke);vt.length&&this._isFocusTarget(Wt?.get(0))&&this.option("focusedElement",(0,v.c)(vt))}}.bind(this),this._itemFocusTimeout=setTimeout(this._forcePointerDownFocus.bind(this)))},_closestFocusable:function(Ae){if(Ae.is(f.nq))return Ae;for(Ae=Ae.parent();Ae.length&&!M.A.isDocument(Ae.get(0))&&!M.A.isDocumentFragment(Ae.get(0));){if(Ae.is(f.nq))return Ae;Ae=Ae.parent()}},_forcePointerDownFocus:function(){this._itemFocusHandler&&this._itemFocusHandler()},_updateFocusState:function(){this.callBase.apply(this,arguments),this._forcePointerDownFocus()},_attachHoldEvent:function(){var Ae=this._itemContainer(),Ke=this._itemSelector(),vt=(0,K.b4)(R.A.name,this.NAME);c.A.off(Ae,vt,Ke),c.A.on(Ae,vt,Ke,{timeout:this._getHoldTimeout()},this._itemHoldHandler.bind(this))},_getHoldTimeout:function(){return this.option("itemHoldTimeout")},_shouldFireHoldEvent:function(){return this.hasActionSubscription("onItemHold")},_itemHoldHandler:function(Ae){this._shouldFireHoldEvent()?this._itemDXEventHandler(Ae,"onItemHold"):Ae.cancel=!0},_attachContextMenuEvent:function(){var Ae=this._itemContainer(),Ke=this._itemSelector(),vt=(0,K.b4)(fe.U,this.NAME);c.A.off(Ae,vt,Ke),c.A.on
1(Ae,vt,Ke,this._itemContextMenuHandler.bind(this))},_shouldFireContextMenuEvent:function(){return this.hasActionSubscription("onItemContextMenu")},_itemContextMenuHandler:function(Ae){this._shouldFireContextMenuEvent()?this._itemDXEventHandler(Ae,"onItemContextMenu"):Ae.cancel=!0},_renderContentImpl:function(){var Ae=this.option("items")||[];this._renderItems(this._renderedItemsCount?Ae.slice(this._renderedItemsCount):Ae)},_renderItems:function(Ae){Ae.length&&(0,g.__)(Ae,function(Ke,vt){this._renderItem(this._renderedItemsCount+Ke,vt)}.bind(this)),this._renderEmptyMessage()},_getItemsContainer:function(){return this._itemContainer()},_setAttributes(Ae){var Ke=(0,m.A)({},this.option("_itemAttributes")),{class:vt}=Ke;if(vt){var Wt=Ae.get(0).className;Ke.class=[Wt,vt].join(" ")}Ae.attr(Ke)},_renderItem:function(Ae,Ke,vt,Wt){var ze,pt=null!==(ze=Ae?.item)&&void 0!==ze?ze:Ae;vt=vt||this._getItemsContainer();var Ze=this._renderItemFrame(pt,Ke,vt,Wt);this._setElementData(Ze,Ke,pt),this._setAttributes(Ze),this._attachItemClickEvent(Ke,Ze);var X=this._getItemContent(Ze),Ve=this._renderItemContent({index:pt,itemData:Ke,container:(0,v.c)(X),contentClass:this._itemContentClass(),defaultTemplateName:this.option("itemTemplate")}),st=this;return(0,p.z7)(Ve).done(function(at){st._postprocessRenderItem({itemElement:Ze,itemContent:at,itemData:Ke,itemIndex:pt}),st._executeItemRenderAction(Ae,Ke,(0,v.c)(Ze))}),Ze},_getItemContent:function(Ae){var Ke=Ae.find("."+re);return Ke.removeClass(re),Ke},_attachItemClickEvent:function(Ae,Ke){!Ae||!Ae.onClick||c.A.on(Ke,j.U,function(vt){this._itemEventHandlerByHandler(Ke,Ae.onClick,{event:vt})}.bind(this))},_renderItemContent:function(Ae){var Ke=this._getItemTemplateName(Ae),vt=this._getTemplate(Ke);this._addItemContentClasses(Ae);var Wt=(0,t.A)(this._createItemByTemplate(vt,Ae));return Wt.hasClass(ne)?this._renderItemContentByNode(Ae,Wt):Ae.container},_renderItemContentByNode:function(Ae,Ke){return(0,t.A)(Ae.container).replaceWith(Ke),Ae.container=(0,v.c)(Ke),this._addItemContentClasses(Ae),Ke},_addItemContentClasses:function(Ae){var Ke=[Y+W,Ae.contentClass];(0,t.A)(Ae.container).addClass(Ke.join(" "))},_appendItemToContainer:function(Ae,Ke,vt){Ke.appendTo(Ae)},_renderItemFrame:function(Ae,Ke,vt,Wt){var ze=(0,t.A)("<div>");if(new this.constructor.ItemClass(ze,this._itemOptions(),Ke||{}),Wt&&Wt.length?Wt.replaceWith(ze):this._appendItemToContainer.call(this,vt,ze,Ae),this.option("useItemTextAsTitle")){var pt=this._displayGetter?this._displayGetter(Ke):Ke;ze.attr("title",pt)}return ze},_itemOptions:function(){var Ae=this;return{watchMethod:function(){return Ae.option("integrationOptions.watchMethod")},owner:Ae,fieldGetter:function(Ke){var vt=Ae.option(Ke+"Expr");return(0,S.Hz)(vt)}}},_postprocessRenderItem:_.lQ,_executeItemRenderAction:function(Ae,Ke,vt){this._getItemRenderAction()({itemElement:vt,itemIndex:Ae,itemData:Ke})},_setElementData:function(Ae,Ke,vt){Ae.addClass([Y,this._itemClass()].join(" ")).data(this._itemDataKey(),Ke).data(this._itemIndexKey(),vt)},_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(Ae){var Ke=Ae.itemData,vt=Ae.templateProperty||this.option("itemTemplateProperty");return Ke&&Ke[vt]||Ae.defaultTemplateName},_createItemByTemplate:function(Ae,Ke){return Ae.render({model:Ke.itemData,container:Ke.container,index:Ke.index,onRendered:this._onItemTemplateRendered(Ae,Ke)})},_onItemTemplateRendered:function(){return _.lQ},_emptyMessageContainer:function(){return this._itemContainer()},_renderEmptyMessage:function(Ae){Ae=Ae||this.option("items");var Ke=this.option("noDataText"),vt=!Ke||Ae&&Ae.length||this._dataController.isLoading();vt&&this._$noData&&(this._$noData.remove(),this._$noData=null,this.setAria("label",void 0)),vt||(this._$noData=this._$noData||(0,t.A)("<div>").addClass("dx-empty-message"),this._$noData.appendTo(this._emptyMessageContainer()),this.option("encodeNoDataText")?this._$noData.text(Ke):this._$noData.html(Ke)),this.$element().toggleClass("dx-empty-collection",!vt)},_itemDXEventHandler:function(Ae,Ke,vt,Wt){this._itemEventHandler(Ae.target,Ke,(0,P.X)(vt,{event:Ae}),Wt)},_itemEventHandler:function(Ae,Ke,vt,Wt){var ze=this._createActionByOption(Ke,(0,P.X)({validatingTargetName:"itemElement"},Wt));return this._itemEventHandlerImpl(Ae,ze,vt)},_itemEventHandlerByHandler:function(Ae,Ke,vt,Wt){var ze=this._createAction(Ke,(0,P.X)({validatingTargetName:"itemElement"},Wt));return this._itemEventHandlerImpl(Ae,ze,vt)},_itemEventHandlerImpl:function(Ae,Ke,vt){var Wt=this._closestItemElement((0,t.A)(Ae)),ze=(0,P.X)({},vt);return Ke((0,P.X)(vt,this._extendActionArgs(Wt),ze))},_extendActionArgs:function(Ae){return{itemElement:(0,v.c)(Ae),itemIndex:this._itemElements().index(Ae),itemData:this._getItemData(Ae)}},_closestItemElement:function(Ae){return(0,t.A)(Ae).closest(this._itemSelector())},_getItemData:function(Ae){return(0,t.A)(Ae).data(this._itemDataKey())},_getSummaryItemsSize(Ae,Ke,vt){var Wt=0;return Ke&&(0,g.__)(Ke,function(ze,pt){"width"===Ae?Wt+=(0,x.Ot)(pt,vt||!1):"height"===Ae&&(Wt+=(0,x.P$)(pt,vt||!1))}),Wt},getFocusedItemId:function(){return this._focusedItemId||(this._focusedItemId="dx-"+new G.A),this._focusedItemId},itemElements:function(){return this._itemElements()},itemsContainer:function(){return this._itemContainer()}}).include(ee.A);Ce.ItemClass=L.A;const we=Ce;var Ee=a(7310),He=a(4407),Ot=a(5333),It=a(1076),un=a(4366),ln="dxItemDeleting",Zt=function(Ae){return-1!==Ae};const rt=we.inherit({_setOptionsByReference:function(){this.callBase(),(0,P.X)(this._optionsByReference,{selectedItem:!0})},_getDefaultOptions:function(){return(0,P.X)(this.callBase(),{selectionMode:"none",selectionRequired:!1,selectByClick:!0,selectedItems:[],selectedItemKeys:[],maxFilterLengthInRequest:1500,keyExpr:null,selectedIndex:-1,selectedItem:null,onSelectionChanged:null,onItemReordered:null,onItemDeleting:null,onItemDeleted:null})},ctor:function(Ae,Ke){this._userOptions=Ke||{},this.callBase(Ae,Ke)},_init:function(){this._initEditStrategy(),this.callBase(),this._initKeyGetter(),this._initSelectionModule()},_initKeyGetter:function(){this._keyGetter=(0,S.Hz)(this.option("keyExpr"))},_getKeysByItems:function(Ae){return this._editStrategy.getKeysByItems(Ae)},_getItemsByKeys:function(Ae,Ke){return this._editStrategy.getItemsByKeys(Ae,Ke)},_getKeyByIndex:function(Ae){return this._editStrategy.getKeyByIndex(Ae)},_getIndexByKey:function(Ae){return this._editStrategy.getIndexByKey(Ae)},_getIndexByItemData:function(Ae){return this._editStrategy.getIndexByItemData(Ae)}
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(Ae){var Ke=Ae;return this.option("keyExpr")?Ke=this._keyGetter(Ae):this._dataController.store()&&(Ke=this._dataController.keyOf(Ae)),Ke},_nullValueSelectionSupported:function(){return!1},_initSelectionModule:function(){var Ae=this,Ke=Ae._editStrategy.itemsGetter;this._selection=new un.A({allowNullValue:this._nullValueSelectionSupported(),mode:this.option("selectionMode"),maxFilterLengthInRequest:this.option("maxFilterLengthInRequest"),equalByReference:!this._isKeySpecified(),onSelectionChanged:function(vt){(vt.addedItemKeys.length||vt.removedItemKeys.length)&&(Ae.option("selectedItems",Ae._getItemsByKeys(vt.selectedItemKeys,vt.selectedItems)),Ae._updateSelectedItems(vt))},filter:Ae._getCombinedFilter.bind(Ae),totalCount:function(){var vt=Ae.option("items"),Wt=Ae._dataController.totalCount();return Wt>=0?Wt:Ae._getItemsCount(vt)},key:Ae.key.bind(Ae),keyOf:Ae.keyOf.bind(Ae),load:function(vt){var Wt,ze=Ae._dataController;return vt.customQueryParams=null===(Wt=ze.loadOptions())||void 0===Wt?void 0:Wt.customQueryParams,vt.userData=ze.userData(),ze.store()?ze.loadFromStore(vt).done(function(pt){if(!Ae._disposed){var Ze=(0,It.Xp)(pt).data;ze.applyMapFunction(Ze)}}):(new p.cY).resolve(this.plainItems())},dataFields:function(){return Ae._dataController.select()},plainItems:Ke.bind(Ae._editStrategy)})},_getItemsCount:function(Ae){return Ae.reduce((Ke,vt)=>Ke+(vt.items?this._getItemsCount(vt.items):1),0)},_initEditStrategy:function(){this._editStrategy=new(0,He.A)(this)},_getSelectedItemIndices:function(Ae){var Ke=this,vt=[];return Ae=Ae||this._selection.getSelectedItemKeys(),Ke._editStrategy.beginCache(),(0,g.__)(Ae,function(Wt,ze){var pt=Ke._getIndexByKey(ze);Zt(pt)&&vt.push(pt)}),Ke._editStrategy.endCache(),vt},_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(Ae){var Ke,vt,Wt,ze;switch(Ae=Ae||this._chooseSelectOption()){case"selectedIndex":Ke=this._editStrategy.getItemDataByIndex(this.option("selectedIndex")),(0,N.O9)(Ke)?(this._setOptionWithoutOptionChange("selectedItems",[Ke]),this._setOptionWithoutOptionChange("selectedItem",Ke),this._setOptionWithoutOptionChange("selectedItemKeys",this._editStrategy.getKeysByItems([Ke]))):(this._setOptionWithoutOptionChange("selectedItems",[]),this._setOptionWithoutOptionChange("selectedItemKeys",[]),this._setOptionWithoutOptionChange("selectedItem",null));break;case"selectedItems":if(vt=(ze=this.option("selectedItems")||[]).length?this._editStrategy.getIndexByItemData(ze[0]):-1,this.option("selectionRequired")&&!Zt(vt))return this._syncSelectionOptions("selectedIndex");this._setOptionWithoutOptionChange("selectedItem",ze[0]),this._setOptionWithoutOptionChange("selectedIndex",vt),this._setOptionWithoutOptionChange("selectedItemKeys",this._editStrategy.getKeysByItems(ze));break;case"selectedItem":if(Ke=this.option("selectedItem"),vt=this._editStrategy.getIndexByItemData(Ke),this.option("selectionRequired")&&!Zt(vt))return this._syncSelectionOptions("selectedIndex");(0,N.O9)(Ke)?(this._setOptionWithoutOptionChange("selectedItems",[Ke]),this._setOptionWithoutOptionChange("selectedIndex",vt),this._setOptionWithoutOptionChange("selectedItemKeys",this._editStrategy.getKeysByItems([Ke]))):(this._setOptionWithoutOptionChange("selectedItems",[]),this._setOptionWithoutOptionChange("selectedItemKeys",[]),this._setOptionWithoutOptionChange("selectedIndex",-1));break;case"selectedItemKeys":if(Wt=this.option("selectedItemKeys"),this.option("selectionRequired")){var pt=this._getIndexByKey(Wt[0]);if(!Zt(pt))return this._syncSelectionOptions("selectedIndex")}return this._selection.setSelection(Wt)}return(new p.cY).resolve().promise()},_chooseSelectOption:function(){var Ae="selectedIndex",Ke=function(vt){var Wt=this.option(vt);return(0,N.O9)(Wt)&&Wt.length||vt in this._userOptions}.bind(this);return Ke("selectedItems")?Ae="selectedItems":Ke("selectedItem")?Ae="selectedItem":Ke("selectedItemKeys")&&(Ae="selectedItemKeys"),Ae},_compareKeys:function(Ae,Ke){if(Ae.length!==Ke.length)return!1;for(var vt=0;vt<Ke.length;vt++)if(Ae[vt]!==Ke[vt])return!1;return!0},_normalizeSelectedItems:function(){if("none"===this.option("selectionMode"))this._setOptionWithoutOptionChange("selectedItems",[]),this._syncSelectionOptions("selectedItems");else if("single"===this.option("selectionMode")){var Ae=this.option("selectedItems");if(Ae.length>1||!Ae.length&&this.option("selectionRequired")&&this.option("items")&&this.option("items").length){var Ke=this._selection.getSelectedItems(),vt=void 0===Ae[0]?Ke[0]:Ae[0];return void 0===vt&&(vt=this._editStrategy.itemsGetter()[0]),this.option("grouped")&&vt&&vt.items&&(vt.items=[vt.items[0]]),this._selection.setSelection(this._getKeysByItems([vt])),this._setOptionWithoutOptionChange("selectedItems",[vt]),this._syncSelectionOptions("selectedItems")}this._selection.setSelection(this._getKeysByItems(Ae))}else{var Wt=this._getKeysByItems(this.option("selectedItems")),ze=this._selection.getSelectedItemKeys();this._compareKeys(ze,Wt)||this._selection.setSelection(Wt)}return(new p.cY).resolve().promise()},_itemClickHandler:function(Ae){var Ke=(new p.cY).resolve(),vt=this.callBase;this._createAction(function(Wt){var ze;Ke=null!==(ze=this._itemSelectHandler(Wt.event))&&void 0!==ze?ze:Ke}.bind(this),{validatingTargetName:"itemElement"})({itemElement:(0,t.A)(Ae.currentTarget),event:Ae}),Ke.always(()=>{vt.apply(this,arguments)})},_itemSelectHandler:function(Ae){var Ke,vt;if(this.option("selectByClick"))return this.isItemSelected(Ae.currentTarget)?this.unselectItem(Ae.currentTarget):vt=this.selectItem(Ae.currentTarget),null===(Ke=vt)||void 0===Ke?void 0:Ke.promise()},_selectedItemElement:function(Ae){return this._itemElements().eq(Ae)},_postprocessRenderItem:function(Ae){if("none"!==this.option("selectionMode")){var Ke=(0,t.A)(Ae.itemElement),vt=this._editStrategy.getNormalizedIndex(Ke),Wt=this._isItemSelected(vt);this._processSelectableItem(Ke,Wt)}},_processSelectableItem:function(Ae,Ke){Ae.toggleClass(this._selectedItemClass(),Ke),this._setAriaSelectionAttribute(Ae,String(Ke))},_updateSelectedItems:function(Ae){var Ke=this,vt=Ae.addedItemKeys,Wt=Ae.removedItemKeys;if(Ke._rendered&&(vt.length||Wt.length)){var ze=Ke._selectionChangePromise;if(!Ke._rendering){var Ze,pt=[],X=[];Ke._editStrategy.beginCache();for(var Ve=0;Ve<vt.length;Ve++)Ze=Ke._getIndexByKey(vt[Ve]),pt.push(Ze),Ke._addSelection(Ze);for(var st=0;st<Wt.length;st++)Ze=Ke._getIndexByKey(Wt[st]),X.push(Ze),Ke._removeSelection(Ze);Ke._editStrategy.endCache(),Ke._updateSelection(pt,X)}(0,p.z7)(ze).done(function(){Ke._fireSelectionChangeEvent(Ae.addedItems,Ae.removedItems)})}},_fireSelectionChangeEvent:function(Ae,Ke){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]}
1)({addedItems:Ae,removedItems:Ke})},_updateSelection:_.lQ,_setAriaSelectionAttribute:function(Ae,Ke){this.setAria("selected",Ke,Ae)},_removeSelection:function(Ae){var Ke=this._editStrategy.getItemElement(Ae);Zt(Ae)&&(this._processSelectableItem(Ke,!1),c.A.triggerHandler(Ke,"stateChanged",!1))},_addSelection:function(Ae){var Ke=this._editStrategy.getItemElement(Ae);Zt(Ae)&&(this._processSelectableItem(Ke,!0),c.A.triggerHandler(Ke,"stateChanged",!0))},_isItemSelected:function(Ae){var Ke=this._getKeyByIndex(Ae);return this._selection.isItemSelected(Ke,{checkPending:!0})},_optionChanged:function(Ae){switch(Ae.name){case"selectionMode":this._invalidate();break;case"dataSource":(!Ae.value||Array.isArray(Ae.value)&&!Ae.value.length)&&this.option("selectedItemKeys",[]),this.callBase(Ae);break;case"selectedIndex":case"selectedItem":case"selectedItems":case"selectedItemKeys":this._syncSelectionOptions(Ae.name).done(()=>this._normalizeSelectedItems());break;case"keyExpr":this._initKeyGetter();break;case"selectionRequired":this._normalizeSelectedItems();break;case"selectByClick":case"onSelectionChanged":case"onItemDeleting":case"onItemDeleted":case"onItemReordered":case"maxFilterLengthInRequest":break;default:this.callBase(Ae)}},_clearSelectedItems:function(){this._setOptionWithoutOptionChange("selectedItems",[]),this._syncSelectionOptions("selectedItems")},_waitDeletingPrepare:function(Ae){if(Ae.data(ln))return(new p.cY).resolve().promise();Ae.data(ln,!0);var Ke=new p.cY,vt={cancel:!1},Wt=this._itemEventHandler(Ae,"onItemDeleting",vt,{excludeValidators:["disabled","readOnly"]});return(0,p.z7)(Wt).always(function(ze){var pt=!Wt,Ze=!pt&&"resolved"===Wt.state(),Ve=pt||Ze&&!arguments.length||Ze&&ze;(0,p.z7)((0,p.Sx)(vt.cancel)).always(function(){Ae.data(ln,!1)}).done(function(st){Ve&&!st?Ke.resolve():Ke.reject()}).fail(Ke.reject)}.bind(this)),Ke.promise()},_deleteItemFromDS:function(Ae){var Ke=this._dataController,vt=new p.cY,Wt=this.option("disabled"),ze=Ke.store();if(!ze)return(new p.cY).resolve().promise();if(!ze.remove)throw Ee.A.Error("E1011");return this.option("disabled",!0),ze.remove(Ke.keyOf(this._getItemData(Ae))).done(function(pt){void 0!==pt?vt.resolve():vt.reject()}).fail(function(){vt.reject()}),vt.always(function(){this.option("disabled",Wt)}.bind(this)),vt},_tryRefreshLastPage:function(){var Ae=new p.cY;return this._isLastPage()||this.option("grouped")?Ae.resolve():this._refreshLastPage().done(function(){Ae.resolve()}),Ae.promise()},_refreshLastPage:function(){return this._expectLastItemLoading(),this._dataController.load()},_updateSelectionAfterDelete:function(Ae){var Ke=this._getKeyByIndex(Ae);this._selection.deselect([Ke])},_updateIndicesAfterIndex:function(Ae){for(var Ke=this._itemElements(),vt=Ae+1;vt<Ke.length;vt++)(0,t.A)(Ke[vt]).data(this._itemIndexKey(),vt-1)},_simulateOptionChange:function(Ae){var Ke=this.option(Ae);Ke instanceof Ot.q||this._optionChangedAction({name:Ae,fullName:Ae,value:Ke})},isItemSelected:function(Ae){return this._isItemSelected(this._editStrategy.getNormalizedIndex(Ae))},selectItem:function(Ae){if("none"!==this.option("selectionMode")){var Ke=this._editStrategy.getNormalizedIndex(Ae);if(Zt(Ke)){var vt=this._getKeyByIndex(Ke);if(!this._selection.isItemSelected(vt)){if("single"===this.option("selectionMode"))return this._selection.setSelection([vt]);var Wt=this.option("selectedItemKeys")||[];return this._selection.setSelection([...Wt,vt],[vt])}}}},unselectItem:function(Ae){var Ke=this._editStrategy.getNormalizedIndex(Ae);if(Zt(Ke)){var vt=this._selection.getSelectedItemKeys();if(!(this.option("selectionRequired")&&vt.length<=1)){var Wt=this._getKeyByIndex(Ke);this._selection.isItemSelected(Wt,{checkPending:!0})&&this._selection.deselect([Wt])}}},_deleteItemElementByIndex:function(Ae){this._updateSelectionAfterDelete(Ae),this._updateIndicesAfterIndex(Ae),this._editStrategy.deleteItemAtIndex(Ae)},_afterItemElementDeleted:function(Ae,Ke){var vt=this._dataController.getDataSource()?"dataSource":"items";this._simulateOptionChange(vt),this._itemEventHandler(Ae,"onItemDeleted",Ke,{beforeExecute:function(){Ae.remove()},excludeValidators:["disabled","readOnly"]}
1),this._renderEmptyMessage()},deleteItem:function(Ae){var Ke=this,vt=new p.cY,Wt=this._editStrategy.getItemElement(Ae),ze=this._editStrategy.getNormalizedIndex(Ae),pt=this._itemResponseWaitClass();return Zt(ze)?this._waitDeletingPrepare(Wt).done(function(){Wt.addClass(pt);var Ze=Ke._extendActionArgs(Wt);Ke._deleteItemFromDS(Wt).done(function(){Ke._deleteItemElementByIndex(ze),Ke._afterItemElementDeleted(Wt,Ze),Ke._tryRefreshLastPage().done(function(){vt.resolveWith(Ke)})}).fail(function(){Wt.removeClass(pt),vt.rejectWith(Ke)})}).fail(function(){vt.rejectWith(Ke)}):vt.rejectWith(Ke),vt.promise()},reorderItem:function(Ae,Ke){var vt=new p.cY,Wt=this,ze=this._editStrategy,pt=ze.getItemElement(Ae),Ze=ze.getItemElement(Ke),X=ze.getNormalizedIndex(Ae),Ve=ze.getNormalizedIndex(Ke),st=this._dataController.getDataSource()?"dataSource":"items";return Zt(X)&&Zt(Ve)&&X!==Ve?vt.resolveWith(this):vt.rejectWith(this),vt.promise().done(function(){Ze[ze.itemPlacementFunc(X,Ve)](pt),ze.moveItemAtIndexToIndex(X,Ve),this._updateIndicesAfterIndex(X),Wt.option("selectedItems",Wt._getItemsByKeys(Wt._selection.getSelectedItemKeys(),Wt._selection.getSelectedItems())),"items"===st&&Wt._simulateOptionChange(st),Wt._itemEventHandler(pt,"onItemReordered",{fromIndex:ze.getIndex(X),toIndex:ze.getIndex(Ve)},{excludeValidators:["disabled","readOnly"]})})}})},4407:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>p});var t=a(4292),c=a(6221),m=a(5042),x=a(7669),_=a(2463),b=c.A.abstract;const p=c.A.inherit({ctor:function(P){this._collectionWidget=P},getIndexByItemData:b,getItemDataByIndex:b,getKeysByItems:b,getItemsByKeys:b,itemsGetter:b,getKeyByIndex:function(P){var g=this._denormalizeItemIndex(P);return this.getKeysByItems([this.getItemDataByIndex(g)])[0]},_equalKeys:function(P,g){return this._collectionWidget._isKeySpecified()?(0,m.RL)(P,g):P===g},beginCache:function(){this._cache={}},endCache:function(){this._cache=null},getIndexByKey:b,getNormalizedIndex:function(P){return this._isNormalizedItemIndex(P)?P:this._isItemIndex(P)?this._normalizeItemIndex(P):this._isNode(P)?this._getNormalizedItemIndex(P):this._normalizeItemIndex(this.getIndexByItemData(P))},getIndex:function(P){return this._isNormalizedItemIndex(P)?this._denormalizeItemIndex(P):this._isItemIndex(P)?P:this._isNode(P)?this._denormalizeItemIndex(this._getNormalizedItemIndex(P)):this.getIndexByItemData(P)},getItemElement:function(P){if(this._isNormalizedItemIndex(P))return this._getItemByNormalizedIndex(P);if(this._isItemIndex(P))return this._getItemByNormalizedIndex(this._normalizeItemIndex(P));if(this._isNode(P))return(0,t.A)(P);var g=this._normalizeItemIndex(this.getIndexByItemData(P));return this._getItemByNormalizedIndex(g)},_isNode:P=>x.A.isNode(P&&(0,_.Kb)(P)?P.get(0):P),deleteItemAtIndex:b,itemPlacementFunc:function(P,g){return this._itemsFromSameParent(P,g)&&P<g?"after":"before"},moveItemAtIndexToIndex:b,_isNormalizedItemIndex:function(P){return"number"==typeof P&&Math.round(P)===P},_isItemIndex:b,_getNormalizedItemIndex:b,_normalizeItemIndex:b,_denormalizeItemIndex:b,_getItemByNormalizedIndex:b,_itemsFromSameParent:b}).inherit({_getPlainItems:function(){return this._collectionWidget.option("items")||[]},getIndexByItemData:function(P){var g=this._collectionWidget.keyOf.bind(this._collectionWidget);return g?this.getIndexByKey(g(P)):this._getPlainItems().indexOf(P)},getItemDataByIndex:function(P){return this._getPlainItems()[P]},deleteItemAtIndex:function(P){this._getPlainItems().splice(P,1)},itemsGetter:function(){return this._getPlainItems()},getKeysByItems:function(P){var g=this._collectionWidget.keyOf.bind(this._collectionWidget),U=P;if(g){U=[];for(var G=0;G<P.length;G++)U.push(g(P[G]))}return U},getIndexByKey:function(P){var g=this._cache,U=g&&g.keys||this.getKeysByItems(this._getPlainItems());if(g&&!g.keys&&(g.keys=U),"object"!=typeof P)return U.indexOf(P);for(var G=0,A=U.length;G<A;G++)if(this._equalKeys(P,U[G]))return G;return-1},getItemsByKeys:function(P,g){return(g||P).slice()},moveItemAtIndexToIndex:function(P,g){var U=this._getPlainItems(),G=U[P];U.splice(P,1),U.splice(g,0,G)},_isItemIndex:function(P){return"number"==typeof P&&Math.round(P)===P},_getNormalizedItemIndex:function(P){return this._collectionWidget._itemElements().index(P)},_normalizeItemIndex:function(P){return P},_denormalizeItemIndex:function(P){return P},_getItemByNormalizedIndex:function(P){return P>-1?this._collectionWidget._itemElements().eq(P):null},_itemsFromSameParent:function(){return!0}})},2636:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>g});var t=a(4292),c=a(4874),m=a(7951),x=a(2101),_=a(1774),b=a(5571),v=a(2984),M=a(4014),N=a(7669),p=a(5042),P="__dx_key__";const g=c.A.inherit({_getDefaultOptions:function(){return(0,m.X)(this.callBase(),{repaintChangesOnly:!1})},ctor:function(){var U;this.callBase.apply(this,arguments),this._customizeStoreLoadOptions=G=>{this._dataController.getDataSource()&&!this._dataController.isLoaded()&&(this._correctionIndex=0),this._correctionIndex&&G.storeLoadOptions&&(G.storeLoadOptions.skip+=this._correctionIndex)},null===(U=this._dataController)||void 0===U||U.on("customizeStoreLoadOptions",this._customizeStoreLoadOptions)},reload:function(){this._correctionIndex=0},_init:function(){this.callBase(),this._refreshItemsCache(),this._correctionIndex=0},_findItemElementByKey:function(U){var G=(0,t.A)(),A=this.key();return this.itemElements().each((K,z)=>{var ee=(0,t.A)(z),L=this._getItemData(ee);if(A?(0,b.t7)(A,this.keyOf(L),U):this._isItemEquals(L,U))return G=ee,!1}),G},_dataSourceChangedHandler:function(U,G){null!=G&&G.changes?this._modifyByChanges(G.changes):(this.callBase(U,G),this._refreshItemsCache())},_isItemEquals:function(U,G){U&&U[P]&&(U=U.data);try{return JSON.stringify(U)===JSON.stringify(G)}catch{return U===G}},_isItemStrictEquals:function(U,G){return this._isItemEquals(U,G)},_shouldAddNewGroup:function(U,G){var A=!1;return this.option("grouped")&&(U.length||(A=!0),(0,x.__)(U,(K,z)=>{"insert"===z.type&&(A=!0,(0,x.__)(G,(ee,L)=>{if(void 0!==z.data.key&&z.data.key===L.key)return A=!1,!1}))})),A},_partialRefresh:function(){if(this.option("repaintChangesOnly")){var U=(0,M.p)(this._itemsCache,this._editStrategy.itemsGetter(),G=>G&&void 0!==G[P]?G[P]:this.keyOf(G),this._isItemStrictEquals.bind(this));if(U&&this._itemsCache.length&&!this._shouldAddNewGroup(U,this._itemsCache))return this._modifyByChanges(U,!0),this._renderEmptyMessage(),!0;this._refreshItemsCache()}return!1},_refreshItemsCache:function(){if(this.option("repaintChangesOnly")){var U=this._editStrategy.itemsGetter();try{this._itemsCache=(0,m.X)(!0,[],U),this.key()||(this._itemsCache=this._itemsCache.map((G,A)=>({[P]:U[A],data:G})))}catch{this._itemsCache=(0,m.X)([],U)}}},_dispose:function(){this._dataController.off("customizeStoreLoadOptions",this._customizeStoreLoadOptions),this.callBase()},_updateByChange:function(U,G,A,K){if(K)this._renderItem(A.index,A.data,null,this._findItemElementByKey(A.key));else{var z=G[(0,_.Xb)(U,G,A.key)];z&&(0,_.yo)(U,G,A.key,A.data).done(()=>{this._renderItem(G.indexOf(z),z,null,this._findItemElementByKey(A.key))})}},_insertByChange:function(U,G,A,K){(0,v.z7)(K||(0,_.Yr)(U,G,A.data,A.index)).done(()=>{var z;this._beforeItemElementInserted(A),this._renderItem(null!==(z=A.index)&&void 0!==z?z:G.length,A.data),this._afterItemElementInserted(),this._correctionIndex++})},_updateSelectionAfterRemoveByChange:function(U){var G=this.option("selectedIndex");G>U?this.option("selectedIndex",G-1):G===U&&1===this.option("selectedItems").length?this.option("selectedItems",[]):this._normalizeSelectedItems()},_beforeItemElementInserted:function(U){var G=this.option("selectedIndex");U.index<=G&&this.option("selectedIndex",G+1)},_afterItemElementInserted:p.lQ,_removeByChange:function(U,G,A,K){var z=K?A.index:(0,_.Xb)(U,G,A.key);if(K?A.oldItem:G[z]){var L=this._findItemElementByKey(A.key),f=this._extendActionArgs(L);this._waitDeletingPrepare(L).done(()=>{K?(this._updateIndicesAfterIndex(z-1),this._afterItemElementDeleted(L,f),this._updateSelectionAfterRemoveByChange(z)):(this._deleteItemElementByIndex(z),this._afterItemElementDeleted(L,f))}),this._correctionIndex--}},_modifyByChanges:function(U,G){var A=this._editStrategy.itemsGetter(),K={key:this.key.bind(this),keyOf:this.keyOf.bind(this)},z=this._dataController,ee=z.paginate(),L=z.group();(ee||L)&&(U=U.filter(f=>
1"insert"!==f.type||void 0!==f.index)),U.forEach(f=>this["_".concat(f.type,"ByChange")](K,A,f,G)),this._renderedItemsCount=A.length,this._refreshItemsCache(),this._fireContentReadyAction()},_appendItemToContainer:function(U,G,A){var K=U.children(this._itemSelector()).get(A);N.A.insertElement(U.get(0),G.get(0),K)},_optionChanged:function(U){switch(U.name){case"items":this._partialRefresh(U.value)||this.callBase(U);break;case"dataSource":(!this.option("repaintChangesOnly")||!U.value)&&this.option("items",[]),this.callBase(U);break;case"repaintChangesOnly":break;default:this.callBase(U)}}})},458:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>dt});var t=a(4292),c=a(7669),m=a(1269),x=a(3992),_=a(4905),b=a(5042),v=a(2463),M=a(7963),N=a(181),p=a(2101),P=a(7951),g=a(4435),U=a(3930),G=a(4441),A=a(3862),K=a(9104),z=a(6022),ee=a(1542),L=a(2984),f=a(4935),D=a(4602),R="dx-menu",S=R+"-item",j=S+"-expanded",H=R+"-items-container",J=S+"-wrapper",Y="dx-submenu",Be="dx-state-hover",Z="first",ke=["onShowing","onShown","onSubmenuCreated","onHiding","onHidden","onPositioning","onLeftFirstItem","onLeftLastItem","onCloseRootSubmenu","onExpandLastSubmenu"],Ne=["up","down",Z,"last"],Ie="dxcontextmenu",De=(0,g.zk)();class et extends ee.A{getShowEvent(Ce){var we=null;return(0,v.Gv)(Ce)?null!==Ce.name&&(we=Ce.name||Ie):we=Ce,we}getShowDelay(Ce){return(0,v.Gv)(Ce)&&Ce.delay}_getDefaultOptions(){return(0,P.X)(super._getDefaultOptions(),{showEvent:Ie,hideOnOutsideClick:!0,position:{at:"top left",my:"top left"},onShowing:null,onShown:null,onSubmenuCreated:null,onHiding:null,onHidden:null,onPositioning:null,submenuDirection:"auto",visible:!1,target:void 0,onLeftFirstItem:null,onLeftLastItem:null,onCloseRootSubmenu:null,onExpandLastSubmenu:null})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:()=>!(0,g.Vd)(),options:{animation:null}}])}_setDeprecatedOptions(){super._setDeprecatedOptions(),(0,P.X)(this._deprecatedOptions,{closeOnOutsideClick:{since:"22.2",alias:"hideOnOutsideClick"}})}_initActions(){this._actions={},(0,p.__)(ke,(Ce,we)=>{this._actions[we]=this._createActionByOption(we)||b.lQ})}_setOptionsByReference(){super._setOptionsByReference(),(0,P.X)(this._optionsByReference,{animation:!0,selectedItem:!0})}_focusInHandler(){}_itemContainer(){return this._overlay?this._overlay.$content():(0,t.A)()}_eventBindingTarget(){return this._itemContainer()}itemsContainer(){return this._overlay?this._overlay.$content():void 0}_supportedKeys(){return(0,P.X)(super._supportedKeys(),{space:()=>{var Ce=(0,t.A)(this.option("focusedElement"));this.hide(),Ce.length&&this._isSelectionEnabled()&&this.selectItem(Ce[0])},escape:this.hide})}_getActiveItem(){var Ce=this._getAvailableItems(),we=Ce.filter(".".concat("dx-state-focused")),Ee=Ce.filter(".".concat(Be));return Ee.closest(".".concat(H)).find(".".concat(S)).index(we)>=0?we:Ee.length?Ee:super._getActiveItem()}_moveFocus(Ce){var un,we=this._getItemsByLocation(Ce),Ee=this._getActiveItem(!0),He=this.itemsContainer().find(".".concat(Be)),It=!(!(0,t.A)(this.option("focusedElement")).length&&!He.length);switch(Ce){case"up":un=It?this._prevItem(we):Ee,this._setFocusedElement(un),Ee.is(we.first())&&this._actions.onLeftFirstItem(Ee);break;case"down":un=It?this._nextItem(we):Ee,this._setFocusedElement(un),Ee.is(we.last())&&this._actions.onLeftLastItem(Ee);break;case"right":un=this.option("rtlEnabled")?this._hideSubmenuHandler():this._expandSubmenuHandler(we,Ce),this._setFocusedElement(un);break;case"left":un=this.option("rtlEnabled")?this._expandSubmenuHandler(we,Ce):this._hideSubmenuHandler(),this._setFocusedElement(un);break;case Z:un=we.first(),this._setFocusedElement(un);break;case"last":un=we.last(),this._setFocusedElement(un);break;default:return super._moveFocus(Ce)}}_setFocusedElement(Ce){Ce&&0!==Ce.length&&this.option("focusedElement",(0,N.c)(Ce))}_getItemsByLocation(Ce){var Ee,we=this._getActiveItem(!0);return Ne.includes(Ce)&&(Ee=we.closest(".".concat(H)).children().children()),this._getAvailableItems(Ee)}_getAriaTarget(){return this.$element()}_refreshActiveDescendant(){if((0,v.O9)(this._overlay)){var Ce=this._overlay.$content();super._refreshActiveDescendant(Ce)}}
1_hideSubmenuHandler(){var Ce=this._getActiveItem(!0),we=Ce.parents(".".concat(j)).first();return we.length?(this._hideSubmenusOnSameLevel(we),this._hideSubmenu(Ce.closest(".".concat(Y))),we):(this._actions.onCloseRootSubmenu(Ce),Ce)}_expandSubmenuHandler(Ce,we){var Ee=this._getActiveItem(!0),He=this._getItemData(Ee),Ot=this._dataAdapter.getNodeByItem(He),It=this._hasSubmenu(Ot),un=Ee.children(".".concat(Y));if(It&&!Ee.hasClass("dx-state-disabled"))return(!un.length||"hidden"===un.css("visibility"))&&this._showSubmenu(Ee),this._nextItem(this._getItemsByLocation(we));this._actions.onExpandLastSubmenu(Ee)}_clean(){this._overlay&&(this._overlay.$element().remove(),this._overlay=null),this._detachShowContextMenuEvents(this._getTarget()),super._clean()}_initMarkup(){this.$element().addClass("dx-has-context-menu"),super._initMarkup()}_render(){super._render(),this._renderVisibility(this.option("visible")),this._addWidgetClass()}_renderContentImpl(){this._detachShowContextMenuEvents(this._getTarget()),this._attachShowContextMenuEvents()}_attachKeyboardEvents(){!this._keyboardListenerId&&this._focusTarget().length&&super._attachKeyboardEvents()}_renderContextMenuOverlay(){if(!this._overlay){var Ce=this._getOverlayOptions();this._overlay=this._createComponent((0,t.A)("<div>").appendTo(this._$element),z.A,Ce);var we=this._overlay.$content();we.addClass("dx-context-menu"),this._addCustomCssClass(we),this._addPlatformDependentClass(we),this._attachContextMenuEvent()}}preventShowingDefaultContextMenuAboveOverlay(){var Ce=this._itemContainer(),we=(0,K.b4)(f.U,this.NAME);m.A.off(Ce,we,".".concat(Y)),m.A.on(Ce,we,".".concat(Y),(Ee=>{Ee.stopPropagation(),Ee.preventDefault(),m.A.off(Ce,we,".".concat(Y))}).bind(this))}_itemContextMenuHandler(Ce){super._itemContextMenuHandler(Ce),Ce.stopPropagation()}_addPlatformDependentClass(Ce){A.A.current().phone&&Ce.addClass("dx-menu-phone-overlay")}_detachShowContextMenuEvents(Ce){var we=this.getShowEvent(this.option("showEvent"));if(we){var Ee=(0,K.b4)(we,this.NAME);this._showContextMenuEventHandler?m.A.off(c.A.getDocument(),Ee,Ce,this._showContextMenuEventHandler):m.A.off((0,t.A)(Ce),Ee)}}_attachShowContextMenuEvents(){var Ce=this._getTarget(),we=this.getShowEvent(this.option("showEvent"));if(we){var Ee=(0,K.b4)(we,this.NAME),He=this._createAction(It=>{var un=this.getShowDelay(this.option("showEvent"));un?setTimeout(()=>this._show(It.event),un):this._show(It.event)},{validatingTargetName:"target"}),Ot=It=>He({event:It,target:(0,t.A)(It.currentTarget)});He=this._createAction(He),(0,v.Kb)(Ce)||Ce.nodeType||(0,v.l6)(Ce)?(this._showContextMenuEventHandler=void 0,m.A.on(Ce,Ee,Ot)):(this._showContextMenuEventHandler=Ot,m.A.on(c.A.getDocument(),Ee,Ce,this._showContextMenuEventHandler))}}_hoverEndHandler(Ce){super._hoverEndHandler(Ce),Ce.stopPropagation()}_renderDimensions(){}_renderContainer(Ce,we){var Ee=we||this._itemContainer();(Ce=(0,t.A)("<div>")).appendTo(Ee).addClass(Y).css("visibility",we?"hidden":"visible"),Ce.parent().hasClass("dx-overlay-content")||this._addCustomCssClass(Ce);var He=super._renderContainer(Ce);return we?He:this.option("width")?He.css("minWidth",this.option("width")):this.option("height")?He.css("minHeight",this.option("height")):He}_renderSubmenuItems(Ce,we){this._renderItems(this._getChildNodes(Ce),we),this._actions.onSubmenuCreated({itemElement:(0,N.c)(we),itemData:Ce.internalFields.item,submenuElement:(0,N.c)(we.children(".".concat(Y)))})}_getOverlayOptions(){var Ce=this.option("position");return{focusStateEnabled:this.option("focusStateEnabled"),animation:this.option("animation"),innerOverlay:!0,hideOnOutsideClick:Ee=>this._hideOnOutsideClickHandler(Ee),propagateOutsideClick:!0,hideOnParentScroll:!0,deferRendering:!1,position:{at:Ce.at,my:Ce.my,of:this._getTarget(),collision:"flipfit"},shading:!1,showTitle:!1,height:"auto",width:"auto",onShown:this._overlayShownActionHandler.bind(this),onHiding:this._overlayHidingActionHandler.bind(this),onHidden:this._overlayHiddenActionHandler.bind(this),visualContainer:De}}_overlayShownActionHandler(Ce){this._actions.onShown(Ce)}_overlayHidingActionHandler(Ce){this._actions.onHiding(Ce),Ce.cancel||(this._hideAllShownSubmenus(),this._setOptionWithoutOptionChange("visible",!1))}_overlayHiddenActionHandler(Ce){this._actions.onHidden(Ce)}_shouldHideOnOutsideClick(Ce){var{closeOnOutsideClick:we,hideOnOutsideClick:Ee}=this.option();return(0,v.Tn)(Ee)?Ee(Ce):(0,v.Tn)(we)?we(Ce):Ee||we}_hideOnOutsideClickHandler(Ce){if(!this._shouldHideOnOutsideClick(Ce))return!1;if(c.A.isDocument(Ce.target))return!0;var we=this._getActiveItemsContainer(Ce.target),Ee=this._getItemsContainers(),He=this._searchActiveItem(Ce.target),Ot=this.$element().parents(".".concat(S)),It=He[0]===Ot[0]&&He.length&&Ot.length;return!(this._isIncludeOverlay(we,Ee)&&He.length)&&!It||("onClick"===this._getShowSubmenuMode()&&this._hideAllShownChildSubmenus(He),!1)}_getActiveItemsContainer(Ce){return(0,t.A)(Ce).closest(".".concat(H))}_getItemsContainers(){return this._overlay.$content().find(".".concat(H))}_searchActiveItem(Ce){return(0,t.A)(Ce).closest(".".concat(S)).eq(0)}_isIncludeOverlay(Ce,we){var Ee=!1;return(0,p.__)(we,(He,Ot)=>{Ce.is(Ot)&&!Ee&&(Ee=!0)}),Ee}_hideAllShownChildSubmenus(Ce){var we=Ce.find(".".concat(Y)),Ee=(0,P.X)([],this._shownSubmenus);we.length>0&&(0,p.__)(Ee,(He,Ot)=>{var It=this._searchActiveItem(Ot.context).parent();It.parent().is(Ce.parent().parent())&&!It.is(Ce.parent())&&this._hideSubmenu(Ot)})}_showSubmenu(Ce){var we=this._dataAdapter.getNodeByItem(this._getItemData(Ce));if(this._hideSubmenusOnSameLevel(Ce),this._hasSubmenu(we)){var Ee=Ce.children(".".concat(Y)),He=Ee.length;super._showSubmenu(Ce),He||this._renderSubmenuItems(we,Ce),this._isSubmenuVisible(Ee)||this._drawSubmenu(Ce)}}
1_hideSubmenusOnSameLevel(Ce){var we=Ce.parent(".".concat(J)).siblings().find(".".concat(j));we.length&&(we.removeClass(j),this._hideSubmenu(we.find(".".concat(Y))))}_hideSubmenuGroup(Ce){this._isSubmenuVisible(Ce)&&this._hideSubmenuCore(Ce)}_isSubmenuVisible(Ce){return"visible"===Ce.css("visibility")}_drawSubmenu(Ce){var we=this.option("animation")?this.option("animation").show:{},Ee=Ce.children(".".concat(Y)),He=this._getSubmenuPosition(Ce);this._overlay&&this._overlay.option("visible")&&((0,v.O9)(this._shownSubmenus)||(this._shownSubmenus=[]),this._shownSubmenus.includes(Ee)||this._shownSubmenus.push(Ee),we&&U.A.stop(Ee),G.A.setup(Ee,He),we&&((0,v.Qd)(we.to)&&(we.to.position=He),this._animate(Ee,we)),Ee.css("visibility","visible"))}_animate(Ce,we){U.A.animate(Ce,we)}_getSubmenuPosition(Ce){var we=this.option("submenuDirection").toLowerCase(),He={collision:"flip",of:Ce.parent(".".concat(J)),offset:{h:0,v:-1}};switch(we){case"left":He.at="left top",He.my="right top";break;case"right":He.at="right top",He.my="left top";break;default:this.option("rtlEnabled")?(He.at="left top",He.my="right top"):(He.at="right top",He.my="left top")}return He}_updateSubmenuVisibilityOnClick(Ce){if(Ce.args.length){var we=Ce.args[0].itemData,Ee=this._dataAdapter.getNodeByItem(we);if(Ee){var He=(0,t.A)(Ce.args[0].itemElement),Ot=He.find(".".concat(Y));if(this._hasSubmenu(Ee)&&!Ot.length&&(this._renderSubmenuItems(Ee,He),Ot=He.find(".".concat(Y))),(He.context!==Ot.context||"visible"!==Ot.css("visibility"))&&(this._updateSelectedItemOnClick(Ce),we&&!we.disabled&&(!we||!1!==we.closeMenuOnClick)))if(0===Ot.length){var ln=(0,t.A)(He.parents(".".concat(Y))[0]);this._hideSubmenu(ln),!Ce.canceled&&this._overlay&&this._overlay.option("visible")&&this.option("visible",!1)}else this._shownSubmenus&&this._shownSubmenus.length>0&&this._shownSubmenus[0].is(Ot)&&this._hideSubmenu(Ot),this._showSubmenu(He)}}}_hideSubmenu(Ce){var we=(0,P.X)([],this._shownSubmenus);(0,p.__)(we,(Ee,He)=>{(Ce.is(He)||(0,M.gR)(Ce[0],He[0]))&&(He.parent().removeClass(j),this._hideSubmenuCore(He))})}_hideSubmenuCore(Ce){var we=this._shownSubmenus.indexOf(Ce),Ee=this.option("animation")?this.option("animation").hide:null;we>=0&&this._shownSubmenus.splice(we,1),this._stopAnimate(Ce),Ee&&this._animate(Ce,Ee),Ce.css("visibility","hidden")}_stopAnimate(Ce){U.A.stop(Ce,!0)}_hideAllShownSubmenus(){var Ce=(0,P.X)([],this._shownSubmenus);this._overlay.$content().find(".".concat(j)).removeClass(j),(0,p.__)(Ce,(Ee,He)=>{this._hideSubmenu(He)})}_visibilityChanged(Ce){Ce&&this._renderContentImpl()}_optionChanged(Ce){if(ke.includes(Ce.name))this._initActions();else switch(Ce.name){case"visible":this._renderVisibility(Ce.value);break;case"showEvent":case"position":case"submenuDirection":this._invalidate();break;
1case"target":Ce.previousValue&&this._detachShowContextMenuEvents(Ce.previousValue),this._invalidate();break;case"closeOnOutsideClick":case"hideOnOutsideClick":break;default:super._optionChanged(Ce)}}_renderVisibility(Ce){return Ce?this._show():this._hide()}_toggleVisibility(){}_show(Ce){var we={jQEvent:Ce},Ee=(new L.cY).reject().promise();if(this._actions.onShowing(we),we.cancel)return Ee;var Ot,He=this._positionContextMenu(Ce);return He&&(this._overlay||(this._renderContextMenuOverlay(),this._overlay.$content().addClass(this._widgetClass()),this._renderFocusState(),this._attachHoverEvents(),this._attachClickEvent(),this._renderItems(this._dataAdapter.getRootNodes())),this._setOptionWithoutOptionChange("visible",!0),this._overlay.option("position",He),Ee=this._overlay.show(),Ce&&Ce.stopPropagation(),this._setAriaAttributes(),(null==Ce||null===(Ot=Ce.originalEvent)||void 0===Ot?void 0:Ot.type)===D.A.name&&this.preventShowingDefaultContextMenuAboveOverlay()),Ee}_setAriaAttributes(){this._overlayContentId="dx-".concat(new x.A),this.setAria("owns",this._overlayContentId),this.setAria({id:this._overlayContentId,role:"menu"},this._overlay.$content())}_cleanAriaAttributes(){this._overlay&&this.setAria("id",null,this._overlay.$content()),this.setAria("owns",void 0)}_getTarget(){return this.option("target")||this.option("position").of||(0,t.A)(c.A.getDocument())}_getContextMenuPosition(){return(0,P.X)({},this.option("position"),{of:this._getTarget()})}_positionContextMenu(Ce){var we=this._getContextMenuPosition(),Ee=this._isInitialOptionValue("position"),He=this._createActionByOption("onPositioning");Ce&&Ce.preventDefault&&Ee&&(we.of=Ce);var Ot={position:we,event:Ce};return He(Ot),Ot.cancel?we=null:Ot.event&&(Ot.event.cancel=!0,Ce.preventDefault()),we}_refresh(){if((0,g.Vd)())if(this._overlay){var Ce=this._overlay.option("position");super._refresh(),this._overlay&&this._overlay.option("position",Ce)}else super._refresh();else super._refresh()}_hide(){var Ce;return this._overlay&&(Ce=this._overlay.hide(),this._setOptionWithoutOptionChange("visible",!1)),this._cleanAriaAttributes(),this.option("focusedElement",null),Ce||(new L.cY).reject().promise()}toggle(Ce){var we=this.option("visible");return this._renderVisibility(Ce=void 0===Ce?!we:Ce)}show(){return this.toggle(!0)}hide(){return this.toggle(!1)}}(0,_.A)("dxContextMenu",et);const dt=et},1542:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ce});var t=a(4292),c=a(5042),m=a(2463),x=a(2101),_=a(7951),b=a(6115),v=a(219),M=a(4407);const p=class N extends M.A{_getPlainItems(){return(0,x.Tj)(this._collectionWidget.option("items"),function ne(Z){return Z.items?[Z].concat((0,x.Tj)(Z.items,ne)):Z})}_stringifyItem(ne){return JSON.stringify(ne,(Z,ve)=>"template"===Z?this._getTemplateString(ve):ve)}_getTemplateString(ne){return"object"==typeof ne?(0,t.A)(ne).text():ne.toString()}};var P=a(3862),g=a(2338),U="dx-menu",G=U+"-no-icons",K=U+"-item",z=K+"-content",ee=K+"-selected",L=K+"-wrapper",f=U+"-items-container",D=K+"-expanded",R=U+"-separator",S=U+"-last-group-item",j=K+"-has-text",fe=K+"-has-icon",H=K+"-has-submenu",J=K+"-popout",Y=J+"-container",W=K+"-text",le={show:50,hide:300},Re="".concat(W,"-with-url");const ce=(()=>{class _e extends v.A{_getDefaultOptions(){return(0,_.X)(super._getDefaultOptions(),{items:[],cssClass:"",activeStateEnabled:!0,showSubmenuMode:{name:"onHover",delay:{show:50,hide:300}},animation:{show:{type:"fade",from:0,to:1,duration:100},hide:{type:"fade",from:1,to:0,duration:100}},selectByClick:!1,focusOnSelectedItem:!1,keyExpr:null,_itemAttributes:{role:"menuitem"},useInkRipple:!1})}_itemDataKey(){return"dxMenuItemDataKey"}_itemClass(){return K}_setAriaSelectionAttribute(){}_selectedItemClass(){return ee}_widgetClass(){return"dx-menu-base"}_focusTarget(){return this._itemContainer()}_clean(){this.option("focusedElement",null),super._clean()}_supportedKeys(){return(0,_.X)(super._supportedKeys(),{space:()=>{var Z=(0,t.A)(this.option("focusedElement"));!Z.length||!this._isSelectionEnabled()||this.selectItem(Z[0])},pageUp:c.lQ,pageDown:c.lQ})}_isSelectionEnabled(){return"single"===this.option("selectionMode")}_init(){this._activeStateUnit=".".concat(K),super._init(),this._renderSelectedItem(),this._initActions()}_getLinkContainer(Z,ve,ke){var{linkAttr:Ne,url:Ie}=ke;return Z?.addClass("dx-icon-with-url"),ve?.addClass(Re),super._getLinkContainer(Z,ve,{linkAttr:Ne,url:Ie})}_addContent(Z,ve){var{html:ke,url:Ne}=ve;if(Ne){Z.html(ke);var Ie=this._getLinkContainer(this._getIconContainer(ve),this._getTextContainer(ve),ve);Z.append(Ie)}else super._addContent(Z,ve);Z.append(this._getPopoutContainer(ve)),this._addContentClasses(ve,Z.parent())}_getTextContainer(Z){var{text:ve}
1=Z;if(ve){var ke=(0,t.A)("<span>").addClass(W),Ne=(0,m.Qd)(Z)?ve:String(Z);return ke.text(Ne)}}_getItemExtraPropNames(){return["url","linkAttr"]}_getPopoutContainer(Z){var ke,ve=Z.items;if(ve&&ve.length){var Ne=(0,t.A)("<div>").addClass(J);ke=(0,t.A)("<span>").addClass(Y).append(Ne)}return ke}_getDataAdapterOptions(){return{rootValue:0,multipleSelection:!1,recursiveSelection:!1,recursiveExpansion:!1,searchValue:""}}_selectByItem(Z){if(Z){var ve=this._dataAdapter.getNodeByItem(Z);this._dataAdapter.toggleSelection(ve.internalFields.key,!0)}}_renderSelectedItem(){var Z=this._dataAdapter.getSelectedNodesKeys(),ve=Z.length&&Z[0],ke=this.option("selectedItem");if(ve){var Ne=this._dataAdapter.getNodeByKey(ve);if(!1!==Ne.selectable){if(!ke)return void this.option("selectedItem",Ne.internalFields.item);ke!==Ne.internalFields.item&&(this._dataAdapter.toggleSelection(ve,!1),this._selectByItem(ke))}}else this._selectByItem(ke)}_initActions(){}_initMarkup(){super._initMarkup(),this.option("useInkRipple")&&this._renderInkRipple()}_renderInkRipple(){this._inkRipple=(0,b.XX)()}_toggleActiveState(Z,ve,ke){if(super._toggleActiveState.apply(this,arguments),this._inkRipple){var Ne={element:Z,event:ke};ve?this._inkRipple.showWave(Ne):this._inkRipple.hideWave(Ne)}}_getShowSubmenuMode(){var Z=this.option("showSubmenuMode");return Z=(0,m.Gv)(Z)?Z.name:Z,this._isDesktopDevice()?Z:"onClick"}_initSelectedItems(){}_isDesktopDevice(){return"desktop"===P.A.real().deviceType}_initEditStrategy(){this._editStrategy=new p(this)}_addCustomCssClass(Z){Z.addClass(this.option("cssClass"))}_itemWrapperSelector(){return".".concat(L)}_hoverStartHandler(Z){var ve=this._getItemElementByEventArgs(Z);!ve||this._isItemDisabled(ve)||(Z.stopPropagation(),"onHover"===this._getShowSubmenuMode()&&(clearTimeout(this._showSubmenusTimeout),this._showSubmenusTimeout=setTimeout(this._showSubmenu.bind(this,ve),this._getSubmenuDelay("show"))))}_getAvailableItems(Z){return super._getAvailableItems(Z).filter(function(){return"hidden"!==(0,t.A)(this).css("visibility")})}_isItemDisabled(Z){return this._disabledGetter(Z.data(this._itemDataKey()))}_showSubmenu(Z){this._addExpandedClass(Z)}_addExpandedClass(Z){(0,t.A)(Z).addClass(D)}_getSubmenuDelay(Z){var{delay:ve}=this.option("showSubmenuMode");return(0,m.O9)(ve)?(0,m.Gv)(ve)?ve[Z]:ve:le[Z]}_getItemElementByEventArgs(Z){var ve=(0,t.A)(Z.target);if(ve.hasClass(this._itemClass())||ve.get(0)===Z.currentTarget)return ve;for(;!ve.hasClass(this._itemClass());)if((ve=ve.parent()).hasClass("dx-submenu"))return null;return ve}_hoverEndHandler(){clearTimeout(this._showSubmenusTimeout)}_hasSubmenu(Z){return Z&&Z.internalFields.childrenKeys.length}_renderContentImpl(){this._renderItems(this._dataAdapter.getRootNodes())}_renderItems(Z,ve){if(Z.length){this.hasIcons=!1;var ke=this._renderContainer(this.$element(),ve),Ne=-1,Ie=-1;(0,x.__)(Z,(De,et)=>{var yt=!1!==et.visible;yt&&Ne<0&&(Ne=De),Ne<De&&(et.beginGroup||De===Ie)&&(Ie=yt?De:De+1),De===Ie&&Ne<De&&this._renderSeparator(ke),this._renderItem(De,et,ke)}),this.hasIcons||ke.addClass(G)}}_renderContainer(Z){var ve=(0,t.A)("<ul>");return this.setAria("role","none",ve),ve.appendTo(Z).addClass(f)}_createDOMElement(Z){var ve=(0,t.A)("<li>");return this.setAria("role","none",ve),ve.appendTo(Z).addClass(L)}_renderItem(Z,ve,ke,Ne){var Ie=this.option("items"),De=Ne||this._createDOMElement(ke);Ie[Z+1]&&Ie[Z+1].beginGroup&&De.addClass(S);var et=super._renderItem(Z,ve.internalFields.item,De);ve.internalFields.item===this.option("selectedItem")&&et.addClass(ee),et.attr("tabIndex",-1),this._hasSubmenu(ve)&&this.setAria("haspopup","true",et)}_renderItemFrame(Z,ve,ke){var Ne=ke.children(".".concat(K));return Ne.length?Ne:super._renderItemFrame.apply(this,arguments)}_refreshItem(Z,ve){var ke=this._dataAdapter.getNodeByItem(ve),Ne=Z.data(this._itemIndexKey()),Ie=Z.closest("ul"),De=Z.closest("li");this._renderItem(Ne,ke,Ie,De)}_addContentClasses(Z,ve){var Ne=!!Z.icon,Ie=!!Z.items&&!!Z.items.length;ve.toggleClass(j,!!Z.text&&!!Z.text.length),ve.toggleClass(fe,Ne),this.hasIcons||(this.hasIcons=Ne),ve.toggleClass(H,Ie)}_getItemContent(Z){var ve=super._getItemContent(Z);return ve.length||(ve=Z.children(".".concat(z))),ve}_postprocessRenderItem(Z){var ve=(0,t.A)(Z.itemElement),ke=this._dataAdapter.getSelectedNodesKeys();ke.length&&this._selectedGetter(Z.itemData)&&this._isItemSelectable(Z.itemData)&&this._dataAdapter.getNodeByItem(Z.itemData).internalFields.key===ke[0]?(ve.addClass(this._selectedItemClass()),this._setAriaSelectionAttribute(ve,"true")):this._setAriaSelectionAttribute(ve,"false")}_isItemSelectable(Z){return!1!==Z.selectable}
1_renderSeparator(Z){(0,t.A)("<li>").appendTo(Z).addClass(R)}_itemClickHandler(Z){if(!Z._skipHandling){var ve=this._createAction(this._updateSubmenuVisibilityOnClick.bind(this));this._itemDXEventHandler(Z,"onItemClick",{},{beforeExecute:this._itemClick,afterExecute:ve.bind(this)}),Z._skipHandling=!0}}_itemClick(Z){var{event:ve,itemData:ke}=Z.args[0],Ne=this._getItemElementByEventArgs(ve),Ie=Ne&&Ne.find(".".concat("dx-item-url")).get(0);ke.url&&Ie&&Ie.click()}_updateSubmenuVisibilityOnClick(Z){this._updateSelectedItemOnClick(Z),"onClick"===this._getShowSubmenuMode()&&this._addExpandedClass(Z.args[0].itemElement)}_updateSelectedItemOnClick(Z){var ve=Z.args?Z.args[0]:Z;if(this._isItemSelectAllowed(ve.itemData)){var ke=this._dataAdapter.getSelectedNodesKeys(),Ne=ke.length&&this._dataAdapter.getNodeByKey(ke[0]);Ne&&this._toggleItemSelection(Ne,!1),Ne&&Ne.internalFields.item===ve.itemData?(this._fireSelectionChangeEvent(null,this.option("selectedItem")),this._setOptionWithoutOptionChange("selectedItem",null)):this.selectItem(ve.itemData)}}_isItemSelectAllowed(Z){var ve=this._isSelectionEnabled()&&this.option("selectByClick");return!this._isContainerEmpty()&&ve&&this._isItemSelectable(Z)&&!this._itemsGetter(Z)}_isContainerEmpty(){return this._itemContainer().is(":empty")}_syncSelectionOptions(){return(0,c.TA)()}_optionChanged(Z){switch(Z.name){case"showSubmenuMode":break;case"selectedItem":var ve=this._dataAdapter.getNodeByItem(Z.value),ke=this._dataAdapter.getSelectedNodesKeys()[0];if(ve&&ve.internalFields.key!==ke){if(!1===ve.selectable)break;ke&&this._toggleItemSelection(this._dataAdapter.getNodeByKey(ke),!1),this._toggleItemSelection(ve,!0),this._updateSelectedItems()}break;case"cssClass":case"position":case"selectByClick":case"animation":case"useInkRipple":this._invalidate();break;default:super._optionChanged(Z)}}_toggleItemSelection(Z,ve){var ke=this._getElementByItem(Z.internalFields.item);ke&&(0,t.A)(ke).toggleClass(ee),this._dataAdapter.toggleSelection(Z.internalFields.key,ve)}_getElementByItem(Z){var ve;return(0,x.__)(this._itemElements(),(ke,Ne)=>(0,t.A)(Ne).data(this._itemDataKey())!==Z||(ve=Ne,!1)),ve}_updateSelectedItems(Z,ve){(Z||ve)&&this._fireSelectionChangeEvent(ve,Z)}_fireSelectionChangeEvent(Z,ve){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})({addedItems:[Z],removedItems:[ve]})}selectItem(Z){var ve=Z.nodeType?this._getItemData(Z):Z,ke=this._dataAdapter.getSelectedNodesKeys()[0],Ne=this.option("selectedItem"),Ie=this._dataAdapter.getNodeByItem(ve);Ie.internalFields.key!==ke&&(ke&&this._toggleItemSelection(this._dataAdapter.getNodeByKey(ke),!1),this._toggleItemSelection(Ie,!0),this._updateSelectedItems(Ne,ve),this._setOptionWithoutOptionChange("selectedItem",ve))}unselectItem(Z){var ve=Z.nodeType?this._getItemData(Z):Z,ke=this._dataAdapter.getNodeByItem(ve),Ne=this.option("selectedItem");ke.internalFields.selected&&(this._toggleItemSelection(ke,!1),this._updateSelectedItems(Ne,null),this._setOptionWithoutOptionChange("selectedItem",null))}}return _e.ItemClass=g.A,_e})()},1214:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ir});var B,t=a(4905),c=a(9104),m=a(2463),x=a(7963),_=a(7951),b=a(2209),v=a(1269),M=a(7336),N=a(5042),p=B=>B.getMonth()+1,P=(B,se)=>{var je=B.getDate(),xt=K("M",B),Gt=(0,b.df)(parseInt(se),xt.min,xt.max);B.setMonth(Gt-1,1);var{min:fn,max:Gn}=K("dM",B),li=(0,b.df)(je,fn,Gn);B.setDate(li)},g={a:B=>B.getHours()<12?0:1,E:"getDay",y:"getFullYear",M:p,L:p,d:"getDate",H:"getHours",h:"getHours",m:"getMinutes",s:"getSeconds",S:"getMilliseconds"},U=(0,_.X)({},(0,M.rt)(),{a:(B,se)=>{var je=B.getHours();je>=12!=!!parseInt(se)&&B.setHours((je+12)%24)},d:(B,se)=>{se>K("dM",B).max&&B.setMonth(B.getMonth()+1),B.setDate(se)},h:(B,se)=>{var je=B.getHours()>=12;B.setHours(+se%12+(je?12:0))},M:P,L:P,E:(B,se)=>{se<0||B.setDate(B.getDate()-B.getDay()+parseInt(se))},y:(B,se)=>{var je=B.getFullYear(),xt=String(se).length,Gt=String(K("y",B).max).length,fn=parseInt(String(je).substr(0,Gt-xt)+se);B.setFullYear(fn)}}),K=(B,se,je)=>{var xt={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(se.getFullYear(),se.getMonth()+1,0).getDate()},E:{min:0,max:6},H:{min:0,max:23},h:{min:1,max:12},m:{min:0,max:59},s:{min:0,max:59},S:{min:0,max:999},a:{min:0,max:1}};return xt[je||B]||xt.getAmPm},ee=a(9259),L=a(5276),f=a(4435),D=a(2101),R=a(9900),S=a(3862),j=a(9263),fe=a(3771),H=a(1437),J=a(4292),Y=a(9504),W=["year","day","month","day"],re=["hours","minutes","seconds","milliseconds"],ue={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:(B=new Date,new Date(B.getFullYear()+50,B.getMonth(),B.getDate(),23,59,59)),FORMATS_INFO:{date:{getStandardPattern:function(){return"yyyy-MM-dd"},components:W},time:{getStandardPattern:function(){return"HH:mm"},components:re},datetime:{getStandardPattern:function(){var B,se;return(se=(0,J.A)("<input>").attr("type","datetime")).val("2000-01-01T01:01Z"),se.val()&&(B="yyyy-MM-ddTHH:mmZ"),B||(B="yyyy-MM-ddTHH:mm:ssZ"),ue.FORMATS_INFO.datetime.getStandardPattern=function(){return B},B},components:[...W,...re]},"datetime-local":{getStandardPattern:function(){return"yyyy-MM-ddTHH:mm:ss"},components:[...W,"hours","minutes","seconds"]}},FORMATS_MAP:{date:"shortdate",time:"shorttime",datetime:"shortdateshorttime"},SUBMIT_FORMATS_MAP:{date:"date",time:"time",datetime:"datetime-local"},toStandardDateFormat:function(B,se){var je=ue.FORMATS_INFO[se].getStandardPattern();return Y.A.serializeDate(B,je)},fromStandardDateFormat:function(B){var se=Y.A.dateParser(B);return(0,m.$P)(se)?se:void 0},getMaxMonthDay:function(B,se){return new Date(B,se+1,0).getDate()},mergeDates:function(B,se,je){if(!se)return se||null;if(!B||isNaN(B.getTime())){var xt=new Date(null);B=new Date(xt.getFullYear(),xt.getMonth(),xt.getDate())}var Gt=new Date(B.valueOf());return(0,D.__)(ue.FORMATS_INFO[je].components,function(){var Gn=ue.DATE_COMPONENTS_INFO[this];Gt[Gn.setter](se[Gn.getter]())}),Gt},getLongestCaptionIndex:function(B){var xt,se=0,je=0;for(xt=0;xt<B.length;++xt)B[xt].length>je&&(se=xt,je=B[xt].length);return se},formatUsesMonthName:function(B){return ee.A.formatUsesMonthName(B)},formatUsesDayName:function(B){return ee.A.formatUsesDayName(B)},getLongestDate:function(B,se,je){var xt=function(B){var se=typeof B;return"string"===se?"format":"object"===se&&void 0!==B.type?B.type:null}(B),Gt=9;(!xt||ue.formatUsesMonthName(xt))&&(Gt=ue.getLongestCaptionIndex(se));var fn=new Date(1888,Gt,21,23,59,59,999);if(!xt||ue.formatUsesDayName(xt)){var Gn=fn.getDate()-fn.getDay()+ue.getLongestCaptionIndex(je);fn.setDate(Gn)}return fn},normalizeTime:function(B){B.setSeconds(0),B.setMilliseconds(0)}};ue.DATE_COMPONENTS_INFO={year:{getter:"getFullYear",setter:"setFullYear",formatter:function(B,se){var je=new Date(se.getTime());return je.setFullYear(B),ee.A.format(je,"yyyy")},startValue:void 0,endValue:void 0},day:{getter:"getDate",setter:"setDate",formatter:function(B,se){var je=new Date(se.getTime());return je.setDate(B),ee.A.format(je,"d")},startValue:1,endValue:void 0},month:{getter:"getMonth",setter:"setMonth",formatter:function(B){return ee.A.getMonthNames()[B]},startValue:0,endValue:11},hours:{getter:"getHours",setter:"setHours",formatter:function(B){return ee.A.format(new Date(0,0,0,B),"hour")},startValue:0,endValue:23},minutes:{getter:"getMinutes",setter:"setMinutes",formatter:function(B){return ee.A.format(new Date(0,0,0,0,B),"minute")},startValue:0,endValue:59},seconds:{getter:"getSeconds",setter:"setSeconds",formatter:function(B){return ee.A.format(new Date(0,0,0,0,0,B),"second")},startValue:0,endValue:59},milliseconds:{getter:"getMilliseconds",setter:"setMilliseconds",formatter:function(B){return ee.A.format(new Date(0,0,0,0,0,0,B),"millisecond")},startValue:0,endValue:999}};const ce=ue;var _e=a(7642),ne=a(736),Z=a(8168),ve=a(186),ke=a(3992),Ne=a(2839),Ie=a(4831),De=a(2273),et=a(8041),yt=a(1299);const ln=class un extends et.A{_getDefaultOptions(){return(0,_.X)(super._getDefaultOptions(),{onClick:null,onCaptionClick:null,type:"normal",stylingMode:"outlined",text:""})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:function(){return(0,yt.gx)()},options:{type:"default",stylingMode:"text"}},{device:function(){return(0,yt.Ft)()},options:{type:"normal",stylingMode:"text"}}])}_init(){super._init(),this._initActions()}_initActions(){this._clickAction=this._createActionByOption("onClick"),this._captionClickAction=this._createActionByOption("onCaptionClick")}_initMarkup(){super._initMarkup(),this.$element().addClass("dx-calendar-navigator"),this._renderButtons(),this._renderCaption()}_renderButtons(){var{rtlEnabled:se,type:je,stylingMode:xt,focusStateEnabled:Gt}=this.option();this._prevButton=this._createComponent((0,J.A)("<div>"),Ne.A,{focusStateEnabled:Gt,icon:se?"chevronright":"chevronleft",onClick:wi=>{this._clickAction({direction:-1,event:wi})},type:je,stylingMode:xt,integrationOptions:{}});var fn=this._prevButton.$element().addClass("dx-calendar-navigator-previous-view").addClass("dx-calendar-navigator-previous-month");this._nextButton=this._createComponent((0,J.A)("<div>"),Ne.A,{focusStateEnabled:Gt,icon:se?"chevronleft":"chevronright",onClick:wi=>{this._clickAction({direction:1,event:wi})},type:je,stylingMode:xt,integrationOptions:{}});var Gn=this._nextButton.$element().addClass("dx-calendar-navigator-next-view").addClass("dx-calendar-navigator-next-month");this._caption=this._createComponent((0,J.A)("<div>").addClass("dx-calendar-caption-button"),Ne.A,{focusStateEnabled:Gt,onClick:wi=>{this._captionClickAction({event:wi})},type:je,stylingMode:xt,template:(wi,Xi)=>{var{text:Co}=this.option();Co.split(" - ").forEach(Lr=>{(0,J.A)(Xi).append((0,J.A)("<span>").addClass("dx-button-text").text(Lr))})},integrationOptions:{}});var li=this._caption.$element();this.$element().append(fn,li,Gn)}_renderCaption(){this._caption.option("text",this.option("text"))}toggleButton(se,je){var Gt=this["_"+se+"Button"];Gt&&(Gt.option("disabled",je),Gt.$element().toggleClass("dx-calendar-disabled-navigator-link",je))}_optionChanged(se){"text"===se.name?this._renderCaption():super._optionChanged(se)}};var Ln=a(7669),Zt=a(8332),ct=a(181),rt=a(8060),Ae=a(4017),{abstract:Ke}=et.A,Wt="dx-calendar-cell",Ve="dx-calendar-week-number-cell",st="dx-calendar-empty-cell",V="dx-calendar-selected-date",pe="dx-calendar-cell-in-range",Te="dx-calendar-cell-range-hover",ft="dx-calendar-cell-range-hover-start",At="dx-calendar-cell-range-hover-end",sn="dx-calendar-range-start-date",Bt="dx-calendar-range-end-date",Ut="dx-calendar-contoured-date",zt="td:not(.".concat(Ve,")"),wt=(0,c.b4)(rt.U,"dxCalendar"),Qe=(0,c.b4)(Ae.n,"dxCalendar"),ot="dxDateValueKey",rn=et.A.inherit({_getViewName:function(){return"base"},_getDefaultOptions:function(){return(0,_.X)(this.callBase(),{date:new Date,focusStateEnabled:!1,cellTemplate:null,disabledDates:null,onCellClick:null,onCellHover:null,onWeekNumberClick: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._renderRange(),this._renderEvents()},_createTable:function(){this._$table=(0,J.A)("<table>");var B=ne.A.format("dxCalendar-ariaWidgetName");return this.setAria({label:B,role:"grid"},this._$table),this._$table},_renderBody:function(){this.$body=(0,J.A)("<tbody>").appendTo(this._$table);for(var B={cellDate:this._getFirstCellData(),prevCellDate:null},se=0,je=this.option("rowCount");se<je;se++){B.row=this._createRow();for(var xt=0,Gt=this.option("colCount");xt<Gt;xt++)this._renderCell(B,xt);this._renderWeekNumberCell(B)}},_createRow:function(){var B=Ln.A.createElement("tr");return this.setAria("role","row",(0,J.A)(B)),this.$body.get(0).appendChild(B),B},_createCell:function(B,se){var je=Ln.A.createElement("td"),xt=(0,J.A)(je);return je.className=this._getClassNameByDate(B,se),je.setAttribute("data-value",Y.A.serializeDate(B,H.A.getShortDateFormat())),(0,Zt.p)(je,ot,B),this.setAria({role:"gridcell",label:this.getCellAriaLabel(B)},xt),{cell:je,$cell:xt}},_renderCell:function(B,se){var{cellDate:je,prevCellDate:xt,row:Gt}=B;xt&&H.A.fixTimezoneGap(xt,je),B.prevCellDate=je;var{cell:fn,$cell:Gn}=this._createCell(je,se),li=this.option("cellTemplate");(0,J.A)(Gt).append(fn),li?li.render(this._prepareCellTemplateData(je,se,Gn)):fn.innerHTML=this._getCellText(je),B.cellDate=this._getNextCellData(je)},_getClassNameByDate:function(B,se){var je=Wt;return this._isTodayCell(B)&&(je+=" ".concat("dx-calendar-today")),(this._isDateOutOfRange(B)||this.isDateDisabled(B))&&(je+=" ".concat(st)),this._isOtherView(B)&&(je+=" ".concat("dx-calendar-other-view")),"range"===this.option("selectionMode")&&(0===se&&(je+=" ".concat("dx-calendar-cell-start-in-row")),se===this.option("colCount")-1&&(je+=" ".concat("dx-calendar-cell-end-in-row")),this._isStartDayOfMonth(B)&&(je+=" ".concat("dx-calendar-cell-start")),this._isEndDayOfMonth(B)&&(je+=" ".concat("dx-calendar-cell-end"))),je},_prepareCellTemplateData:function(B,se,je){var xt=B instanceof Date;return{model:{text:xt?this._getCellText(B):B,date:xt?B:void 0,view:this._getViewName()},container:(0,ct.c)(je),index:se}},_renderEvents:function(){this._createCellClickAction(),v.A.off(this._$table,wt),v.A.on(this._$table,wt,zt,se=>{(0,J.A)(se.currentTarget).hasClass(st)||this._cellClickAction({event:se,value:(0,J.A)(se.currentTarget).data(ot)})});var{selectionMode:B}=this.option();v.A.off(this._$table,Qe),"range"===B&&(this._createCellHoverAction(),v.A.on(this._$table,Qe,zt,se=>{(0,J.A)(se.currentTarget).hasClass(st)||this._cellHoverAction({event:se,value:(0,J.A)(se.currentTarget).data(ot)})}
1)),"single"!==B&&(this._createWeekNumberCellClickAction(),v.A.on(this._$table,wt,".".concat(Ve),se=>{var je=(0,J.A)(se.currentTarget).closest("tr"),xt=je.find(".".concat(Wt)).first().data(ot),Gt=je.find(".".concat(Wt)).last().data(ot),fn=[...H.A.getDatesOfInterval(xt,Gt,864e5),Gt];this._weekNumberCellClickAction({event:se,rowDates:fn})}))},_createCellClickAction:function(){this._cellClickAction=this._createActionByOption("onCellClick")},_createCellHoverAction:function(){this._cellHoverAction=this._createActionByOption("onCellHover")},_createWeekNumberCellClickAction:function(){this._weekNumberCellClickAction=this._createActionByOption("onWeekNumberClick")},_createDisabledDatesHandler:function(){var B=this.option("disabledDates");this._disabledDatesHandler=Array.isArray(B)?this._getDefaultDisabledDatesHandler(B):B||N.lQ},_getDefaultDisabledDatesHandler:function(B){return N.lQ},_isTodayCell:Ke,_isDateOutOfRange:Ke,isDateDisabled:function(B){var se={date:B,view:this._getViewName()};return this._disabledDatesHandler(se)},_isOtherView:Ke,_isStartDayOfMonth:Ke,_isEndDayOfMonth:Ke,_getCellText:Ke,_getFirstCellData:Ke,_getNextCellData:Ke,_renderContouredDate:function(B){if(this.option("focusStateEnabled")){B=B||this.option("contouredDate");var se=this._getContouredCell(),je=this._getCellByDate(B);se.removeClass(Ut),B&&je.addClass(Ut)}},_getContouredCell:function(){return this._$table.find(".".concat(Ut))},_renderValue:function(){if(this.option("allowValueSelection")){var B=this.option("value");Array.isArray(B)||(B=[B]),this._updateSelectedClass(B)}},_updateSelectedClass:function(B){var se;this._isRangeMode()&&!this._isMonthView()||(null===(se=this._$selectedCells)||void 0===se||se.forEach(je=>{je.removeClass(V)}),this._$selectedCells=B.map(je=>this._getCellByDate(je)),this._$selectedCells.forEach(je=>{je.addClass(V)}))},_renderRange:function(){var B,se,je,xt,Gt,fn,Gn,li,{allowValueSelection:wi,value:Xi,range:Co}=this.option();!wi||!this._isRangeMode()||!this._isMonthView()||(null===(B=this._$rangeCells)||void 0===B||B.forEach(xr=>{xr.removeClass(pe)}),null===(se=this._$hoveredRangeCells)||void 0===se||se.forEach(xr=>{xr.removeClass(Te)}),null===(je=this._$rangeStartHoverCell)||void 0===je||je.removeClass(ft),null===(xt=this._$rangeEndHoverCell)||void 0===xt||xt.removeClass(At),null===(Gt=this._$rangeStartDateCell)||void 0===Gt||Gt.removeClass(sn),null===(fn=this._$rangeEndDateCell)||void 0===fn||fn.removeClass(Bt),this._$rangeCells=Co.map(xr=>this._getCellByDate(xr)),this._$rangeStartDateCell=this._getCellByDate(Xi[0]),this._$rangeEndDateCell=this._getCellByDate(Xi[1]),this._$rangeCells.forEach(xr=>{xr.addClass(pe)}),null===(Gn=this._$rangeStartDateCell)||void 0===Gn||Gn.addClass(sn),null===(li=this._$rangeEndDateCell)||void 0===li||li.addClass(Bt))},_renderHoveredRange(){var B,se,je,xt,Gt,{allowValueSelection:fn,hoveredRange:Gn}=this.option();!fn||!this._isRangeMode()||!this._isMonthView()||(null===(B=this._$hoveredRangeCells)||void 0===B||B.forEach(li=>{li.removeClass(Te)}),null===(se=this._$rangeStartHoverCell)||void 0===se||se.removeClass(ft),null===(je=this._$rangeEndHoverCell)||void 0===je||je.removeClass(At),this._$hoveredRangeCells=Gn.map(li=>this._getCellByDate(li)),this._$rangeStartHoverCell=this._getCellByDate(Gn[0]),this._$rangeEndHoverCell=this._getCellByDate(Gn[Gn.length-1]),this._$hoveredRangeCells.forEach(li=>{li.addClass(Te)}),null===(xt=this._$rangeStartHoverCell)||void 0===xt||xt.addClass(ft),null===(Gt=this._$rangeEndHoverCell)||void 0===Gt||Gt.addClass(At))},_isMonthView:function(){return"month"===this.option("zoomLevel")},_isRangeMode:function(){return"range"===this.option("selectionMode")},getCellAriaLabel:function(B){return this._getCellText(B)},_getFirstAvailableDate:function(){var B=this.option("date"),se=this.option("min");return B=H.A.getViewFirstCellDate(this._getViewName(),B),new Date(se&&B<se?se:B)},_getCellByDate:Ke,isBoundary:Ke,_optionChanged:function(B){var{name:se,value:je}=B;switch(se){case"value":this._renderValue();break;case"range":this._renderRange();break;case"hoveredRange":this._renderHoveredRange();break;case"contouredDate":this._renderContouredDate(je);break;case"onCellClick":this._createCellClickAction();break;case"onCellHover":this._createCellHoverAction();break;case"min":case"max":case"disabledDates":case"cellTemplate":case"selectionMode":this._invalidate();break;case"_todayDate":this._renderBody();break;default:this.callBase(B)}}});const wn=rn;var pn={month:wn.inherit({_getViewName:function(){return"month"},_getDefaultOptions:function(){return(0,_.X)(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:N.lQ,getCellAriaLabel:function(B){return ee.A.format(B,"longdate")},_renderHeader:function(){var B=(0,J.A)("<tr>"),se=(0,J.A)("<thead>").append(B);this._$table.prepend(se);for(var je=0,xt=this.option("colCount");je<xt;je++)this._renderHeaderCell(je,B);this.option("showWeekNumbers")&&this._renderWeekHeaderCell(B)},_renderHeaderCell:function(B,se){var{firstDayOfWeek:je}=this.option(),{full:xt,abbreviated:Gt}=this._getDayCaption(je+B),fn=(0,J.A)("<th>").attr({scope:"col",abbr:xt}).text(Gt);se.append(fn)},_renderWeekHeaderCell:function(B){var se=(0,J.A)("<th>").attr({scope:"col",abbr:"WeekNumber",class:"dx-week-number-header"});B.prepend(se)},_renderWeekNumberCell:function(B){var{showWeekNumbers:se,cellTemplate:je,selectionMode:xt,selectWeekOnClick:Gt}=this.option();if(se){var fn=this._getWeekNumber(B.prevCellDate),Gn=Ln.A.createElement("td"),li=(0,J.A)(Gn);Gn.className="dx-calendar-week-number-cell","single"!==xt&&Gt&&li.addClass("dx-calendar-week-selection"),je?je.render(this._prepareCellTemplateData(fn,-1,li)):Gn.innerHTML=fn,B.row.prepend(Gn),this.setAria({role:"gridcell",label:"Week ".concat(fn)},li)}},_getWeekNumber:function(B){var{weekNumberRule:se,firstDayOfWeek:je}=this.option();return H.A.getWeekNumber(B,je,"auto"===se?1===je?"firstFourDays":"firstDay":se)},getNavigatorCaption:function(){return ee.A.format(this.option("date"),"monthandyear")},_isTodayCell:function(B){var se=this.option("_todayDate")();return H.A.sameDate(B,se)},_isDateOutOfRange:function(B){var se=this.option("min"),je=this.option("max");return!H.A.dateInRange(B,se,je,"date")},_isOtherView:function(B){return B.getMonth()!==this.option("date").getMonth()},_isStartDayOfMonth:function(B){return H.A.sameDate(B,H.A.getFirstMonthDate(this.option("date")))},_isEndDayOfMonth:function(B){return H.A.sameDate(B,H.A.getLastMonthDate(this.option("date")))},_getCellText:function(B){return ee.A.format(B,"d")},_getDayCaption:function(B){var je=B%this.option("colCount");return{full:ee.A.getDayNames()[je],abbreviated:ee.A.getDayNames("abbreviated")[je]}},_getFirstCellData:function(){var{firstDayOfWeek:B}=this.option(),se=H.A.getFirstMonthDate(this.option("date")),je=B-se.getDay(),xt=this.option("colCount");return je>=0&&(je-=xt),se.setDate(se.getDate()+je),se},_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(Y.A.serializeDate(B,H.A.getShortDateFormat()),"']"))},isBoundary:function(B){return H.A.sameMonthAndYear(B,this.option("min"))||H.A.sameMonthAndYear(B,this.option("max"))},_getDefaultDisabledDatesHandler:function(B){return function(se){if(B.some(function(xt){return H.A.sameDate(xt,se.date)}))return!0}}}),year:wn.inherit({_getViewName:function(){return"year"},_isTodayCell:function(B){var se=this.option("_todayDate")();return H.A.sameMonthAndYear(B,se)},_isDateOutOfRange:function(B){return!H.A.dateInRange(B,H.A.getFirstMonthDate(this.option("min")),H.A.getLastMonthDate(this.option("max")))},_isOtherView:function(){return!1},_isStartDayOfMonth:function(){return!1},_isEndDayOfMonth:function(){return!1},_getCellText:function(B){return ee.A.getMonthNames("abbreviated")[B.getMonth()]},_getFirstCellData:function(){var B=this.option("date"),se=new Date(B);return se.setDate(1),se.setMonth(0),se},_getNextCellData:function(B){return(B=new Date(B)).setMonth(B.getMonth()+1),B},_getCellByDate:function(B){var se=new Date(B);return se.setDate(1),this._$table.find("td[data-value='".concat(Y.A.serializeDate(se,H.A.getShortDateFormat()),"']"))},getCellAriaLabel:function(B){return ee.A.format(B,"monthandyear")},getNavigatorCaption:function(){return ee.A.format(this.option("date"),"yyyy")},isBoundary:function(B){return H.A.sameYear(B,this.option("min"))||H.A.sameYear(B,this.option("max"))},_renderWeekNumberCell:N.lQ}),decade:wn.inherit({_getViewName:function(){return"decade"},_isTodayCell:function(B){var se=this.option("_todayDate")();return H.A.sameYear(B,se)},_isDateOutOfRange:function(B){var se=this.option("min"),je=this.option("max");return!H.A.dateInRange(B.getFullYear(),se&&se.getFullYear(),je&&je.getFullYear())},_isOtherView:function(B){var se=new Date(B);return se.setMonth(1),!H.A.sameDecade(se,this.option("date"))},_isStartDayOfMonth:function(){return!1},_isEndDayOfMonth:function(){return!1},_getCellText:function(B){return ee.A.format(B,"yyyy")},_getFirstCellData:function(){var B=H.A.getFirstYearInDecade(this.option("date"))-1;return H.A.createDateWithFullYear(B,0,1)},_getNextCellData:function(B){return(B=new Date(B)).setFullYear(B.getFullYear()+1),B},getNavigatorCaption:function(){var B=this.option("date"),se=H.A.getFirstYearInDecade(B),je=new Date(B),xt=new Date(B);return je.setFullYear(se),xt.setFullYear(se+9),ee.A.format(je,"yyyy")+"-"+ee.A.format(xt,"yyyy")},_isValueOnCurrentView:function(B,se){return H.A.sameDecade(B,se)},_getCellByDate:function(B){var se=new Date(B);return se.setDate(1),se.setMonth(0),this._$table.find("td[data-value='".concat(Y.A.serializeDate(se,H.A.getShortDateFormat()),"']"))},isBoundary:function(B){return H.A.sameDecade(B,this.option("min"))||H.A.sameDecade(B,this.option("max"))},_renderWeekNumberCell:N.lQ}),century:wn.inherit({_getViewName:function(){return"century"},_isTodayCell:function(B){var se=this.option("_todayDate")();return H.A.sameDecade(B,se)},_isDateOutOfRange:function(B){var se=H.A.getFirstYearInDecade(B),je=H.A.getFirstYearInDecade(this.option("min")),xt=H.A.getFirstYearInDecade(this.option("max"));return!H.A.dateInRange(se,je,xt)},_isOtherView:function(B){var se=new Date(B);return se.setMonth(1),!H.A.sameCentury(se,this.option("date"))},_isStartDayOfMonth:function(){return!1},_isEndDayOfMonth:function(){return!1},_getCellText:function(B){var se=ee.A.format(B,"yyyy"),je=new Date(B);return je.setFullYear(je.getFullYear()+9),se+" - "+ee.A.format(je,"yyyy")},_getFirstCellData:function(){var B=H.A.getFirstDecadeInCentury(this.option("date"))-10;return H.A.createDateWithFullYear(B,0,1)},_getNextCellData:function(B){return(B=new Date(B)).setFullYear(B.getFullYear()+10),B},_getCellByDate:function(B){var se=new Date(B);return se.setDate(1),se.setMonth(0),se.setFullYear(H.A.getFirstYearInDecade(se)),this._$table.find("td[data-value='".concat(Y.A.serializeDate(se,H.A.getShortDateFormat()),"']"))},getNavigatorCaption:function(){var B=this.option("date"),se=H.A.getFirstDecadeInCentury(B),je=new Date(B),xt=new Date(B);return je.setFullYear(se),xt.setFullYear(se+99),ee.A.format(je,"yyyy")+"-"+ee.A.format(xt,"yyyy")},isBoundary:function(B){return H.A.sameCentury(B,this.option("min"))||H.A.sameCentury(B,this.option("max"))},_renderWeekNumberCell:N.lQ})};const Dn=pn;var zn=a(2824),Dt=a(3930),it=a(3798);const d=class Ht{constructor(se){this.calendar=se}dateOption(se){return this.calendar._dateOption(se)}dateValue(se,je){this.calendar._dateValue(se,je)}skipNavigate(){this.calendar._skipNavigate=!0}updateAriaSelected(se,je){this.calendar._updateAriaSelected(se,je),se[0]&&this.calendar.option("currentDate").getTime()===se[0].getTime()&&this.calendar._updateAriaId(se[0])}processValueChanged(se,je){var xt,Gt;(0,m.O9)(se)&&!Array.isArray(se)&&(se=[se]),(0,m.O9)(je)&&!Array.isArray(je)&&(je=[je]),se=(null===(xt=se)||void 0===xt?void 0:xt.map(fn=>this._convertToDate(fn)))||[],je=(null===(Gt=je)||void 0===Gt?void 0:Gt.map(fn=>this._convertToDate(fn)))||[],this._updateViewsValue(se),this.updateAriaSelected(se,je),this._currentDateChanged||this.calendar._initCurrentDate(),this._currentDateChanged=!1}_isDateDisabled(se){var je=this.calendar._dateOption("min"),xt=this.calendar._dateOption("max"),Gt=(0,m.O9)(je)&&se<je&&!H.A.sameDate(je,se),fn=(0,m.O9)(xt)&&se>xt&&!H.A.sameDate(xt,se);return this.calendar._view.isDateDisabled(se)||Gt||fn}_getLowestDateInArray(se){if(se.length)return new Date(Math.min(...se))}_convertToDate(se){return this.calendar._convertToDate(se)}_isMaxZoomLevel(){return this.calendar._isMaxZoomLevel()}_updateViewsOption(se,je){this.calendar._updateViewsOption(se,je)}_updateViewsValue(se){this._updateViewsOption("value",se)}_updateCurrentDate(se){this.calendar.option("currentDate",se??new Date)}_shouldHandleWeekNumberClick(){var{selectionMode:se,selectWeekOnClick:je}=this.calendar.option();return je&&"single"!==se}};var en="dx-calendar",Rn="dx-calendar-view",Gi=(0,c.b4)(Ae._,"dxCalendar"),nr={month:3,year:2,decade:1,century:0},Mi={SingleSelection:class O extends d{constructor(se){super(se),this.NAME="SingleSelection"}getViewOptions(){return{value:this.dateOption("value"),range:[],selectionMode:"single"}}selectValue(se,je){this.skipNavigate(),this.dateValue(se,je)}updateAriaSelected(se,je){var xt,Gt;null!==(xt=se)&&void 0!==xt||(se=[this.dateOption("value")]),null!==(Gt=je)&&void 0!==Gt||(je=[]),super.updateAriaSelected(se,je)}getDefaultCurrentDate(){return this.dateOption("value")}
1restoreValue(){this.calendar.option("value",null)}_updateViewsValue(se){this._updateViewsOption("value",se[0])}},MultipleSelection:class Me extends d{constructor(se){super(se),this.NAME="MultiSelection"}getViewOptions(){return{value:this.dateOption("value"),range:[],selectionMode:"multi",onWeekNumberClick:this._shouldHandleWeekNumberClick()?this._weekNumberClickHandler.bind(this):null}}selectValue(se,je){var xt=[...this.dateOption("value")],Gt=xt.findIndex(fn=>fn?.toDateString()===se.toDateString());Gt>-1?xt.splice(Gt,1):xt.push(se),this.skipNavigate(),this._updateCurrentDate(se),this._currentDateChanged=!0,this.dateValue(xt,je)}updateAriaSelected(se,je){var xt,Gt;null!==(xt=se)&&void 0!==xt||(se=this.dateOption("value")),null!==(Gt=je)&&void 0!==Gt||(je=[]),super.updateAriaSelected(se,je)}getDefaultCurrentDate(){var se=this.dateOption("value").filter(je=>je);return this._getLowestDateInArray(se)}restoreValue(){this.calendar.option("value",[])}_weekNumberClickHandler(se){var{rowDates:je,event:xt}=se,Gt=je.filter(fn=>!this._isDateDisabled(fn));this.dateValue(Gt,xt)}},RangeSelection:class w extends d{constructor(se){super(se),this.NAME="RangeSelection"}getViewOptions(){var se=this._getValue();return{value:se,range:this._getDaysInRange(se[0],se[1]),selectionMode:"range",onCellHover:this._cellHoverHandler.bind(this),onWeekNumberClick:this._shouldHandleWeekNumberClick()?this._weekNumberClickHandler.bind(this):null}}selectValue(se,je){var[xt,Gt]=this._getValue();this.skipNavigate(),this._updateCurrentDate(se),this._currentDateChanged=!0,!0===this.calendar.option("_allowChangeSelectionOrder")?(this.calendar._valueSelected=!0,"startDate"===this.calendar.option("_currentSelection")?this.calendar._convertToDate(se)>this.calendar._convertToDate(Gt)?this.dateValue([se,null],je):this.dateValue([se,Gt],je):this.calendar._convertToDate(se)>=this.calendar._convertToDate(xt)?this.dateValue([xt,se],je):this.dateValue([se,null],je)):this.dateValue(!xt||Gt?[se,null]:xt<se?[xt,se]:[se,xt],je)}updateAriaSelected(se,je){var xt,Gt;null!==(xt=se)&&void 0!==xt||(se=this._getValue()),null!==(Gt=je)&&void 0!==Gt||(je=[]),super.updateAriaSelected(se,je)}processValueChanged(se,je){super.processValueChanged(se,je);var xt=this._getRange();this._updateViewsOption("range",xt)}getDefaultCurrentDate(){var{_allowChangeSelectionOrder:se,_currentSelection:je}=this.calendar.option(),xt=this.dateOption("value");if(se){if("startDate"===je&&xt[0])return xt[0];if("endDate"===je&&xt[1])return xt[1]}var Gt=xt.filter(fn=>fn);return this._getLowestDateInArray(Gt)}restoreValue(){this.calendar.option("value",[null,null])}_getValue(){var se=this.dateOption("value");if(!se.length)return se;var[je,xt]=se;return je&&xt&&je>xt&&([je,xt]=[xt,je]),[je,xt]}_getRange(){var[se,je]=this._getValue();return this._getDaysInRange(se,je)}_getDaysInRange(se,je){if(!se||!je)return[];var{currentDate:xt,viewsCount:Gt}=this.calendar.option(),fn=this.calendar._isAdditionalViewDate(xt),Gn=H.A.getFirstMonthDate(H.A.addDateInterval(xt,"month",fn?-2:-1)),li=H.A.getLastMonthDate(H.A.addDateInterval(xt,"month",fn?1:Gt)),wi=new Date(Math.max(Gn,se)),Xi=new Date(Math.min(li,je));return[...H.A.getDatesOfInterval(wi,Xi,864e5),Xi]}_cellHoverHandler(se){var je=this._isMaxZoomLevel(),[xt,Gt]=this._getValue(),{_allowChangeSelectionOrder:fn,_currentSelection:Gn}=this.calendar.option();if(je){if(!xt||Gt||fn&&"startDate"===Gn){if(xt||!Gt||fn&&"endDate"===Gn){if(xt&&Gt){if("startDate"===Gn&&se.value<xt)return void this._updateViewsOption("hoveredRange",this._getDaysInRange(se.value,xt));if("endDate"===Gn&&se.value>Gt)return void this._updateViewsOption("hoveredRange",this._getDaysInRange(Gt,se.value))}}else if(se.value<Gt)return void this._updateViewsOption("hoveredRange",this._getDaysInRange(se.value,Gt))}else if(se.value>xt)return void this._updateViewsOption("hoveredRange",this._getDaysInRange(xt,se.value));this._updateViewsOption("hoveredRange",[])}}_weekNumberClickHandler(se){var{rowDates:je,event:xt}=se,Gt=je.filter(Gn=>!this._isDateDisabled(Gn));this.dateValue(Gt.length?[Gt[0],Gt[Gt.length-1]]:[null,null],xt)}}},lr=Ie.A.inherit({_activeStateUnit:".dx-calendar-cell",_getDefaultOptions:function(){return(0,_.X)(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,viewsCount:1,zoomLevel:"month",maxZoomLevel:"month",minZoomLevel:"century",selectionMode:"single",selectWeekOnClick:!0,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"===S.A.real().deviceType&&!S.A.isSimulator()},options:{focusStateEnabled:!0}}])},_supportedKeys:function(){return(0,_.X)(this.callBase(),{rightArrow:function(B){B.preventDefault(),(0,c.By)(B)?this._waitRenderView(1):this._moveCurrentDateByOffset(1*this._getRtlCorrection())},leftArrow:function(B){B.preventDefault(),(0,c.By)(B)?this._waitRenderView(-1):this._moveCurrentDateByOffset(-1*this._getRtlCorrection())},upArrow:function(B){if(B.preventDefault(),(0,c.By)(B))this._navigateUp();else{if(Dt.A.isAnimating(this._view.$element()))return;this._moveCurrentDateByOffset(-1*this._view.option("colCount"))}},downArrow:function(B){if(B.preventDefault(),(0,c.By)(B))this._navigateDown();else{if(Dt.A.isAnimating(this._view.$element()))return;this._moveCurrentDateByOffset(1*this._view.option("colCount"))}},home:function(B){B.preventDefault();var se=this.option("zoomLevel"),je=this.option("currentDate"),xt=this._dateOption("min");if(!this._view.isDateDisabled(je)){var Gt=H.A.sameView(se,je,xt)?xt:H.A.getViewFirstCellDate(se,je);
1this._moveToClosestAvailableDate(Gt)}},end:function(B){B.preventDefault();var se=this.option("zoomLevel"),je=this.option("currentDate"),xt=this._dateOption("max");if(!this._view.isDateDisabled(je)){var Gt=H.A.sameView(se,je,xt)?xt:H.A.getViewLastCellDate(se,je);this._moveToClosestAvailableDate(Gt)}},pageUp:function(B){B.preventDefault(),this._waitRenderView(-1*this._getRtlCorrection())},pageDown:function(B){B.preventDefault(),this._waitRenderView(1*this._getRtlCorrection())},tab:N.lQ,enter:this._enterKeyHandler})},_enterKeyHandler:function(B){if(this._isMaxZoomLevel()){if(!this._view.isDateDisabled(this.option("currentDate"))){var se=this._updateTimeComponent(this.option("currentDate"));this._selectionStrategy.selectValue(se,B)}}else this._navigateDown()},_getSerializationFormat:function(B){var se=this.option(B||"value");return this.option("dateSerializationFormat")?this.option("dateSerializationFormat"):(0,m.kf)(se)?"number":(0,m.Kg)(se)?Y.A.getDateSerializationFormat(se):void 0},_convertToDate:function(B){return Y.A.deserializeDate(B)},_dateValue:function(B,se){if(se){if("keydown"===se.type){var je=this._view._getContouredCell().get(0);se.target=je}this._saveValueChangeEvent(se)}this._dateOption("value",B)},_dateOption:function(B,se){var je="value"===B&&!this._isSingleMode(),xt=this.option("value");if(1===arguments.length)return je?(xt??[]).map(Gn=>this._convertToDate(Gn)):this._convertToDate(this.option(B));var Gt=this._getSerializationFormat(B),fn=je?se?.map(Gn=>Y.A.serializeDate(Gn,Gt))||[]:Y.A.serializeDate(se,Gt);this.option(B,fn)},_isSingleMode:function(){return"single"===this.option("selectionMode")},_shiftDate:function(B,se,je,xt){switch(B){case"month":se.setDate(se.getDate()+je*xt);break;case"year":se.setMonth(se.getMonth()+je*xt);break;case"decade":se.setFullYear(se.getFullYear()+je*xt);break;case"century":se.setFullYear(se.getFullYear()+10*je*xt)}},_moveCurrentDateByOffset:function(B){var se=this.option("currentDate"),je=new Date(se),xt=this.option("zoomLevel");this._shiftDate(xt,je,B,1);for(var Gt=this._getMaxDate(),fn=this._getMinDate(),Gn=this._areDatesInNeighborView(xt,je,se),li=(0,b.r4)(je,fn,Gt)&&Gn,wi=new Date(je);li;){if(!this._view.isDateDisabled(wi)){je=wi;break}this._shiftDate(xt,wi,B,1),Gn=this._areDatesInNeighborView(xt,wi,se),li=(0,b.r4)(wi,fn,Gt)&&Gn}if(this._view.isDateDisabled(se)||this._view.isDateDisabled(je)){var Xi=B>0?1:-1;(1===Xi?this._isNextViewDisabled():this._isPrevViewDisabled())?this._moveToClosestAvailableDate(je):this._waitRenderView(Xi)}else this._skipNavigate=!0,this.option("currentDate",je)},_isNextViewDisabled(){return this._navigator._nextButton.option("disabled")},_isPrevViewDisabled(){return this._navigator._prevButton.option("disabled")},_areDatesInSameView(B,se,je){switch(B){case"month":return se.getMonth()===je.getMonth();case"year":return se.getYear()===je.getYear();case"decade":return parseInt(se.getYear()/10)===parseInt(je.getYear()/10);case"century":return parseInt(se.getYear()/100)===parseInt(je.getYear()/100)}},_areDatesInNeighborView(B,se,je){switch(B){case"month":return xt=se.getMonth(),Gt=je.getMonth(),fn=Math.abs(xt-Gt),Math.min(fn,12-fn)<=1;case"year":return Math.abs(se.getYear()-je.getYear())<=1;case"decade":return Math.abs(se.getYear()-je.getYear())<=10;case"century":return Math.abs(se.getYear()-je.getYear())<=100}var xt,Gt,fn},_moveToClosestAvailableDate:function(){var Gn,li,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.option("currentDate"),se=new Date(B),je=this.option("zoomLevel"),xt=!this._isDateNotAvailable(se),Gt=xt,fn=xt,wi=new Date(se),Xi=new Date(se);do{if(Gt){se=wi;break}if(fn){se=Xi;break}this._shiftDate(je,wi,1,1),this._shiftDate(je,Xi,1,-1),Gn=this._areDatesInSameView(je,wi,B),li=this._areDatesInSameView(je,Xi,B),Gt=Gn&&!this._isDateNotAvailable(wi),fn=li&&!this._isDateNotAvailable(Xi)}while(Gn||li);this.option("currentDate",se)},_isDateNotAvailable:function(B){var se=this._getMaxDate(),je=this._getMinDate();return!(0,b.r4)(B,je,se)||this._view.isDateDisabled(B)},_init:function(){this.callBase(),this._initSelectionStrategy(),this._correctZoomLevel(),this._initCurrentDate(),this._initActions()},_initSelectionStrategy:function(){var B=this._getSelectionStrategyName();(!this._selectionStrategy||this._selectionStrategy.NAME!==B)&&(this._selectionStrategy=new(0,Mi[B])(this))},_refreshSelectionStrategy:function(){this._initSelectionStrategy(),this._selectionStrategy.restoreValue(),this._refresh()},_getSelectionStrategyName:function(){switch(this.option("selectionMode")){case"multiple":return"MultipleSelection";case"range":return"RangeSelection";default:return"SingleSelection"}}
1,_correctZoomLevel:function(){var B=this.option("minZoomLevel"),se=this.option("maxZoomLevel"),je=this.option("zoomLevel");nr[se]<nr[B]||(nr[je]>nr[se]?this.option("zoomLevel",se):nr[je]<nr[B]&&this.option("zoomLevel",B))},_initCurrentDate:function(){var B,se=null!==(B=this._getNormalizedDate(this._selectionStrategy.getDefaultCurrentDate()))&&void 0!==B?B:this._getNormalizedDate(this.option("currentDate"));this.option("currentDate",se)},_getNormalizedDate:function(B){return B=H.A.normalizeDate(B,this._getMinDate(),this._getMaxDate()),(0,m.O9)(B)?this._getDate(B):B},_initActions:function(){this._cellClickAction=this._createActionByOption("onCellClick"),this._onContouredChanged=this._createActionByOption("onContouredChanged")},_initTemplates:function(){this._templateManager.addDefaultTemplates({cell:new it.l(function(B){var se=B.model;(0,J.A)(B.container).append((0,J.A)("<span>").text(se&&se.text||String(se)))})}),this.callBase()},_updateCurrentDate:function(B){if(Dt.A.isAnimating(this._$viewsWrapper)&&Dt.A.stop(this._$viewsWrapper,!0),this._getMinDate()>this._getMaxDate())this.option("currentDate",new Date);else{var xt=this._getNormalizedDate(B);if(B.getTime()===xt.getTime()){var Gt=this._getViewsOffset(this._view.option("date"),xt);0!==Gt&&!this._isMaxZoomLevel()&&this._isOtherViewCellClicked&&(Gt=0),this._view&&0!==Gt&&!this._suppressNavigation?this._additionalView?Gt>2||Gt<-1?(this._refreshViews(),this._setViewContoured(xt),this._updateAriaId(xt),this._renderNavigator()):1===Gt&&this._skipNavigate?(this._setViewContoured(xt),this._updateAriaId(xt)):this._navigate(Gt,xt):this._navigate(Gt,xt):(this._renderNavigator(),this._setViewContoured(xt),this._updateAriaId(xt)),this._skipNavigate=!1}else this.option("currentDate",new Date(xt))}},_isAdditionalViewDate(B){return!!this._additionalView&&B>=this._additionalView._getFirstAvailableDate()},_getActiveView:function(B){return this._isAdditionalViewDate(B)?this._additionalView:this._view},_setViewContoured:function(B){var se;(this.option("skipFocusCheck")||(0,J.A)(this._$viewsWrapper).is(":focus"))&&(this._view.option("contouredDate",null),null===(se=this._additionalView)||void 0===se||se.option("contouredDate",null),(this._isAdditionalViewDate(B)?this._additionalView:this._view).option("contouredDate",B))},_getMinDate:function(){return this.option("_rangeMin")||(this.min||(this.min=this._dateOption("min")||new Date(1e3,0)),this.min)},_getMaxDate:function(){return this.option("_rangeMax")||(this.max||(this.max=this._dateOption("max")||new Date(3e3,0)),this.max)},_getViewsOffset:function(B,se){var xt,je=this.option("zoomLevel");if("month"===je)return this._getMonthsOffset(B,se);switch(je){case"century":xt=100;break;case"decade":xt=10;break;default:xt=1}return parseInt(se.getFullYear()/xt)-parseInt(B.getFullYear()/xt)},_getMonthsOffset:function(B,se){return 12*(se.getFullYear()-B.getFullYear())+(se.getMonth()-B.getMonth())},_waitRenderView:function(B){if(!this._alreadyViewRender){this._alreadyViewRender=!0;var se=this._getDateByOffset(B*this._getRtlCorrection());this._moveToClosestAvailableDate(se),this._waitRenderViewTimeout=setTimeout(()=>{this._alreadyViewRender=!1})}},_getRtlCorrection:function(){return this.option("rtlEnabled")?-1:1},_getDateByOffset:function(B,se){var je,xt=(se=this._getDate(null!==(je=se)&&void 0!==je?je:this.option("currentDate"))).getDate(),Gt=H.A.getDifferenceInMonth(this.option("zoomLevel"))*B;se.setDate(1),se.setMonth(se.getMonth()+Gt);var fn=H.A.getLastMonthDate(se).getDate();return se.setDate(xt>fn?fn:xt),se},_focusTarget:function(){return this._$viewsWrapper},_focusEventTarget(){return this.$element()},_initMarkup:function(){this._renderSubmitElement();var B=this.$element();B.addClass(en),B.toggleClass("dx-calendar-range","range"===this.option("selectionMode")),this._renderBody(),B.append(this.$body),this._renderViews(),this._renderNavigator(),this.callBase(),this._renderEvents(),B.prepend(this._navigator.$element()),this._renderSwipeable(),this._renderFooter(),this._selectionStrategy.updateAriaSelected(),this._updateAriaId(),this._updateNavigatorLabels(),this.setAria("role","application"),this._moveToClose
1stAvailableDate()},_render:function(){this.callBase(),this._setViewContoured(this.option("currentDate"))},_renderBody:function(){this._$viewsWrapper||(this.$body=(0,J.A)("<div>").addClass("dx-calendar-body"),this._$viewsWrapper=(0,J.A)("<div>").addClass("dx-calendar-views-wrapper"),this.$body.append(this._$viewsWrapper))},_getKeyboardListeners(){return this.callBase().concat([this._view])},_renderViews:function(){this.$element().addClass(Rn+"-"+this.option("zoomLevel"));var{currentDate:B,viewsCount:se}=this.option();if(this.$element().toggleClass("dx-calendar-multiview",se>1),this._view=this._renderSpecificView(B),(0,f.Vd)()){var je=this._getDateByOffset(-1,B);this._beforeView=this._isViewAvailable(je)?this._renderSpecificView(je):null;var xt=this._getDateByOffset(se,B);xt.setDate(1),this._afterView=this._isViewAvailable(xt)?this._renderSpecificView(xt):null}se>1&&(this._additionalView=this._renderSpecificView(this._getDateByOffset(1,B))),this._translateViews()},_renderSpecificView:function(B){var{zoomLevel:se}=this.option(),je=Dn[se],xt=(0,J.A)("<div>").appendTo(this._$viewsWrapper),Gt=this._viewConfig(B);return this._createComponent(xt,je,Gt)},_viewConfig:function(B){var se,je=this.option("disabledDates");return je=(0,m.Tn)(je)?this._injectComponent(je.bind(this)):je,(0,Z.A)({},this._selectionStrategy.getViewOptions(),{date:B,min:this._getMinDate(),max:this._getMaxDate(),firstDayOfWeek:null!==(se=this.option("firstDayOfWeek"))&&void 0!==se?se:ee.A.firstDayOfWeekIndex(),showWeekNumbers:this.option("showWeekNumbers"),selectWeekOnClick:this.option("selectWeekOnClick"),weekNumberRule:this.option("weekNumberRule"),zoomLevel:this.option("zoomLevel"),tabIndex:void 0,focusStateEnabled:this.option("focusStateEnabled"),hoverStateEnabled:this.option("hoverStateEnabled"),disabledDates:je,onCellClick:this._cellClickHandler.bind(this),cellTemplate:this._getTemplateByOption("cellTemplate"),allowValueSelection:this._isMaxZoomLevel(),_todayDate:this.option("_todayDate")})},_renderEvents(){v.A.off(this._$viewsWrapper,Gi),"range"===this.option("selectionMode")&&v.A.on(this._$viewsWrapper,Gi,null,B=>{this._updateViewsOption("hoveredRange",[])})},_injectComponent:function(B){var se=this;return function(je){return(0,_.X)(je,{component:se}),B(je)}},_isViewAvailable:function(B){var se=this.option("zoomLevel"),je=H.A.getViewMinBoundaryDate(se,this._getMinDate()),xt=H.A.getViewMaxBoundaryDate(se,this._getMaxDate());return H.A.dateInRange(B,je,xt)},_translateViews:function(){var{viewsCount:B}=this.option();(0,zn.Cy)(this._view.$element(),{left:0,top:0}),this._moveViewElement(this._beforeView,-1),this._moveViewElement(this._afterView,B),this._moveViewElement(this._additionalView,1)},_moveViewElement(B,se){B&&(0,zn.Cy)(B.$element(),{left:this._getViewPosition(se),top:0})},_getViewPosition:function(B){return 100*B*(this.option("rtlEnabled")?-1:1)+"%"},_cellClickHandler:function(B){var se=this.option("zoomLevel"),je=H.A.getViewDown(se),xt=this._isMaxZoomLevel();if(je&&!xt)this._navigateDown(B.event.currentTarget);else{var Gt=this._updateTimeComponent(B.value);this._selectionStrategy.selectValue(Gt,B.event),this._cellClickAction(B)}},_updateTimeComponent:function(B){var se=new Date(B),je=this._dateOption("value");return je&&this._isSingleMode()&&(se.setHours(je.getHours()),se.setMinutes(je.getMinutes()),se.setSeconds(je.getSeconds()),se.setMilliseconds(je.getMilliseconds())),se},_isMaxZoomLevel:function(){return this.option("zoomLevel")===this.option("maxZoomLevel")},_navigateDown:function(B){var se=this.option("zoomLevel");if(!this._isMaxZoomLevel()){var je=H.A.getViewDown(se);if(je){var xt=this._view.option("contouredDate")||this._view.option("date");B&&(xt=(0,J.A)(B).data("dxDateValueKey")),this._isOtherViewCellClicked=!0,this.option("currentDate",xt),this.option("zoomLevel",je),this._isOtherViewCellClicked=!1,this._renderNavigator(),this._animateShowView(),this._moveToClosestAvailableDate(),this._setViewContoured(this._getNormalizedDate(this.option("currentDate")))}}},_renderNavigator:function(){this._navigator||(this._navigator=new ln((0,J.A)("<div>"),this._navigatorConfig())),this._navigator.option("text",this._getViewsCaption(this._view,this._additionalView)),this._updateButtonsVisibility()},_navigatorConfig:function(){var{focusStateEnabled:B,rtlEnabled:se}=this.option();return{text:this._getViewsCaption(this._view,this._additionalView),onClick:this._navigatorClickHandler.bind(this),onCaptionClick:this._navigateUp.bind(this),focusStateEnabled:B,rtlEnabled:se,tabIndex:void 0}},_navigatorClickHandler:function(B){var{currentDate:se,viewsCount:je}=this.option(),xt=B.direction;if(je>1){var Gt=this._isAdditionalViewDate(se);(Gt&&xt<0||!Gt&&xt>0)&&(xt*=2)}var Gn=this._getDateByOffset(xt,se);
1this._moveToClosestAvailableDate(Gn)},_navigateUp:function(){var B=this.option("zoomLevel"),se=H.A.getViewUp(B);!se||this._isMinZoomLevel(B)||(this.option("zoomLevel",se),this._renderNavigator(),this._animateShowView(),this._moveToClosestAvailableDate(),this._setViewContoured(this._getNormalizedDate(this.option("currentDate"))))},_isMinZoomLevel:function(B){var se=this._getMinDate(),je=this._getMaxDate();return H.A.sameView(B,se,je)||this.option("minZoomLevel")===B},_updateButtonsVisibility:function(){this._navigator.toggleButton("next",!(0,m.O9)(this._afterView)),this._navigator.toggleButton("prev",!(0,m.O9)(this._beforeView))},_renderSwipeable:function(){this._swipeable||(this._swipeable=this._createComponent(this.$element(),De.A,{onStart:this._swipeStartHandler.bind(this),onUpdated:this._swipeUpdateHandler.bind(this),onEnd:this._swipeEndHandler.bind(this),itemSizeFunc:this._viewWidth.bind(this)}))},_swipeStartHandler:function(B){Dt.A.stop(this._$viewsWrapper,!0);var{viewsCount:se}=this.option();this._toggleGestureCoverCursor("grabbing"),B.event.maxLeftOffset=this._getRequiredView("next")?1/se:0,B.event.maxRightOffset=this._getRequiredView("prev")?1/se:0},_toggleGestureCoverCursor:function(B){(0,J.A)(".".concat("dx-gesture-cover")).css("cursor",B)},_getRequiredView:function(B){var se,je=this.option("rtlEnabled");return"next"===B?se=je?this._beforeView:this._afterView:"prev"===B&&(se=je?this._afterView:this._beforeView),se},_swipeUpdateHandler:function(B){var se=B.event.offset;(0,zn.Cy)(this._$viewsWrapper,{left:se*this._viewWidth(),top:0}),this._updateNavigatorCaption(se)},_swipeEndHandler:function(B){this._toggleGestureCoverCursor("auto");var{currentDate:se,rtlEnabled:je}=this.option(),xt=B.event.targetOffset,Gt=xt?xt/Math.abs(xt):0,Gn=this._isAdditionalViewDate(se)&&(je?-1===Gt:1===Gt);if(0!==Gt){var li=-Gt*this._getRtlCorrection()*(Gn?2:1),wi=this._getDateByOffset(li);this._isDateInInvalidRange(wi)&&(wi=Gt>=0?new Date(this._getMinDate()):new Date(this._getMaxDate())),this.option("currentDate",wi)}else this._animateWrapper(0,250)},_viewWidth:function(){return this._viewWidthValue||(this._viewWidthValue=(0,ve.RG)(this.$element())/this.option("viewsCount")),this._viewWidthValue},_updateNavigatorCaption:function(B){B*=this._getRtlCorrection();var je,xt,se=this.option("viewsCount")>1;B>.5&&this._beforeView?(je=this._beforeView,xt=se&&this._view):B<-.5&&this._afterView?(je=se?this._additionalView:this._afterView,xt=se?this._afterView:null):(je=this._view,xt=se?this._additionalView:null),this._navigator.option("text",this._getViewsCaption(je,xt))},_getViewsCaption:function(B,se){var je=B.getNavigatorCaption(),{viewsCount:xt}=this.option();if(xt>1&&se){var Gt=se.getNavigatorCaption();je="".concat(je," - ").concat(Gt)}return je},_isDateInInvalidRange:function(B){if(!this._view.isBoundary(B)){var se=this._getMinDate(),je=this._getMaxDate(),xt=H.A.normalizeDate(B,se,je);return xt===se||xt===je}},_renderFooter:function(){var B=this.option("showTodayButton");if(B){var se=this._createComponent((0,J.A)("<div>"),Ne.A,{focusStateEnabled:this.option("focusStateEnabled"),text:ne.A.format("dxCalendar-todayButtonText"),onClick:je=>{this._toTodayView(je)},type:(0,yt.Ft)()?"normal":"default",stylingMode:(0,yt.Ft)()?"outlined":"text",integrationOptions:{}}).$element().addClass("dx-calendar-today-button");this._$footer=(0,J.A)("<div>").addClass("dx-calendar-footer").append(se),this.$element().append(this._$footer)}this.$element().toggleClass("dx-calendar-with-footer",B)},_renderSubmitElement:function(){this._$submitElement=(0,J.A)("<input>").attr("type","hidden").appendTo(this.$element()),this._setSubmitValue(this.option("value"))},_setSubmitValue:function(B){var se=this._convertToDate(B);this._getSubmitElement().val(Y.A.serializeDate(se,"yyyy-MM-dd"))},_getSubmitElement:function(){return this._$submitElement},_animateShowView:function(){Dt.A.stop(this._view.$element(),!0),this._popAnimationView(this._view,.6,1,250),this.option("viewsCount")>1&&(Dt.A.stop(this._additionalView.$element(),!0),this._popAnimationView(this._additionalView,.6,1,250))},_popAnimationView:function(B,se,je,xt){return Dt.A.animate(B.$element(),{type:"pop",from:{scale:se,opacity:se},to:{scale:je,opacity:je},duration:xt})},_navigate:function(B,se){if(0!==B&&1!==Math.abs(B)&&this._isViewAvailable(se)){var je=this._renderSpecificView(se);B>0?(this._afterView&&this._afterView.$element().remove(),this._afterView=je):(this._beforeView&&this._beforeView.$element().remove(),this._beforeView=je),this._translateViews()}var fn=-this._getRtlCorrection()*(B>0?1:B<0?-1:0)*this._viewWidth();this._$viewsWrapper.position().left!==fn&&(this._preventViewChangeAnimation?this._wrapperAnimationEndHandler(B,se):this._animateWrapper(fn,250).done(this._wrapperAnimationEndHandler.bind(this,B,se)))},_animateWrapper:function(B,se){return Dt.A.animate(this._$viewsWrapper,{type:"slide",from:{left:this._$viewsWrapper.position().left},to:{left:B},duration:se})},_getDate:B=>new Date(B),_toTodayView:function(B){var se=new Date;this._isMaxZoomLevel()?this._selectionStrategy.selectValue(se,B.event):(this._preventViewChangeAnimation=!0,this.option("zoomLevel",this.option("maxZoomLevel")),this._selectionStrategy.selectValue(se,B.event),this._animateShowView(),this._preventViewChangeAnimation=!1)},_wrapperAnimationEndHandler:function(B,se){this._rearrangeViews(B),this._translateViews(),this._resetLocation(),this._renderNavigator(),this._setVie
1wContoured(se),this._updateAriaId(se),this._selectionStrategy.updateAriaSelected()},_rearrangeViews:function(B){var se;if(0!==B){var xt,Gt,fn,Gn,li,{viewsCount:je}=this.option();if(B<0?(xt=1,Gt="_beforeView",fn="_afterView",Gn="_view",li=1===je?"_view":"_additionalView"):(xt=-1,Gt="_afterView",fn="_beforeView",Gn=1===je?"_view":"_additionalView",li="_view"),this[Gt]){var wi=this[Gt].option("date");null===(se=this[fn])||void 0===se||se.$element().remove(),this[fn]=this._renderSpecificView(this._getDateByOffset(xt*je,wi)),this[li].$element().remove(),1===je?this[li]=this[Gt]:(this[li]=this[Gn],this[Gn]=this[Gt]);var Xi=this._getDateByOffset(-xt,wi);this[Gt]=this._isViewAvailable(Xi)?this._renderSpecificView(Xi):null}}},_resetLocation:function(){(0,zn.Cy)(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._additionalView&&this._additionalView.$element().remove(),this._afterView&&this._afterView.$element().remove(),delete this._view,delete this._additionalView,delete this._beforeView,delete this._afterView,delete this._skipNavigate},_dispose:function(){clearTimeout(this._waitRenderViewTimeout),this.callBase()},_refreshViews:function(){this._resetActiveState(),this._disposeViews(),this._renderViews()},_visibilityChanged:function(){this._translateViews()},_shouldSkipFocusEvent(B){var{target:se,relatedTarget:je}=B;return(0,J.A)(se).parents(".".concat(en)).length&&(0,J.A)(je).parents(".".concat(en)).length},_focusInHandler:function(B){(0,J.A)(B.target).is(this._$viewsWrapper)&&this._setViewContoured(this.option("currentDate")),!this._shouldSkipFocusEvent(B)&&(this.callBase.apply(this,arguments),this._toggleFocusClass(!0,this.$element()))},_focusOutHandler:function(B){var se;(0,J.A)(B.target).is(this._$viewsWrapper)&&(this._view.option("contouredDate",null),null===(se=this._additionalView)||void 0===se||se.option("contouredDate",null)),this._shouldSkipFocusEvent(B)||(this.callBase.apply(this,arguments),this._toggleFocusClass(!1,this.$element()))},_updateViewsOption:function(B,se){var je,xt,Gt;this._view.option(B,se),null===(je=this._additionalView)||void 0===je||je.option(B,se),null===(xt=this._beforeView)||void 0===xt||xt.option(B,se),null===(Gt=this._afterView)||void 0===Gt||Gt.option(B,se)},_setViewsMinOption:function(B){this._restoreViewsMinMaxOptions(),this.option("_rangeMin",this._convertToDate(B)),this._updateViewsOption("min",this._getMinDate())},_setViewsMaxOption:function(B){this._restoreViewsMinMaxOptions(),this.option("_rangeMax",this._convertToDate(B)),this._updateViewsOption("max",this._getMaxDate())},_restoreViewsMinMaxOptions:function(){this._resetActiveState(),this.option({_rangeMin:null,_rangeMax:null}),this._updateViewsOption("min",this._getMinDate()),this._updateViewsOption("max",this._getMaxDate())},_updateNavigatorLabels:function(){var B=this.option("zoomLevel");B=B.charAt(0).toUpperCase()+B.slice(1);var se=this._navigator._caption.option("text"),je=ne.A.format("dxCalendar-previous".concat(B,"ButtonLabel")),xt=ne.A.format("dxCalendar-caption".concat(B,"Label")),Gt=ne.A.format("dxCalendar-next".concat(B,"ButtonLabel"));this.setAria("label",je,this._navigator._prevButton.$element()),this.setAria("label","".concat(se,". ").concat(xt),this._navigator._caption.$element()),this.setAria("label",Gt,this._navigator._nextButton.$element())},_updateAriaSelected:function(B,se){se.forEach(je=>{this.setAria("selected",void 0,this._view._getCellByDate(je))}),B.forEach(je=>{this.setAria("selected",!0,this._view._getCellByDate(je))}),this.option("viewsCount")>1&&(se.forEach(je=>{this.setAria("selected",void 0,this._additionalView._getCellByDate(je))}),B.forEach(je=>{this.setAria("selected",!0,this._additionalView._getCellByDate(je))}))},_updateAriaId:function(B){var se;B=null!==(se=B)&&void 0!==se?se:this.option("currentDate");var je="dx-"+new ke.A,Gt=this._getActiveView(B)._getCellByDate(B);this.setAria("id",je,Gt),this.setAria("activedescendant",je),this._onContouredChanged(je)},_suppressingNavigation:function(B,se){this._suppressNavigation=!0,B.apply(this,se),delete this._suppressNavigation},_optionChanged:function(B){var{value:se,previousValue:je}=B;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"selectionMode":this._refreshSelectionStrategy(),this._initCurrentDate();break;case"selectWeekOnClick":case"_todayDate":case"showWeekNumbers":case"weekNumberRule":this._refreshViews();break;case"firstDayOfWeek":this._refreshViews(),this._updateButtonsVisibility();break;case"focusStateEnabled":case"disabledDates":case"dateSerializationFormat":case"cellTemplate":case"showTodayButton":this._invalidate();break;case"currentDate":this.setAria("id",void 0,this._view._getCellByDate(je)),this._updateCurrentDate(se);break;case"zoomLevel":this.$element().removeClass(Rn+"-"+je),this._correctZoomLevel(),this._refreshViews(),this._renderNavigator(),this._updateAriaId(),this._updateNavigatorLabels();break;case"minZoomLevel":case"maxZoomLevel":this._correctZoomLevel(),this._updateButtonsVisibility();break;case"value":this._selectionStrategy.processValueChanged(se,je),this._setSubmitValue(se),this.callBase(B);break;case"viewsCount":this._refreshViews(),this._renderNavigator();break;
1case"onCellClick":this._view.option("onCellClick",se);break;case"onContouredChanged":this._onContouredChanged=this._createActionByOption("onContouredChanged");break;case"skipFocusCheck":break;default:this.callBase(B)}},getContouredDate:function(){return this._view.option("contouredDate")}});(0,t.A)("dxCalendar",lr);const ji=lr;var uo=a(6221),Qi=uo.A.abstract,vr=uo.A.inherit({ctor:function(B){this.dateBox=B},widgetOption:function(){return this._widget&&this._widget.option.apply(this._widget,arguments)},_renderWidget:function(B){B=B||(0,J.A)("<div>"),this._widget=this._createWidget(B),this._widget.$element().appendTo(this._getWidgetContainer())},_createWidget:function(B){var se=this._getWidgetName(),je=this._getWidgetOptions();return this.dateBox._createComponent(B,se,je)},_getWidgetOptions:Qi,_getWidgetName:Qi,getDefaultOptions:function(){return{mode:"text"}},getDisplayFormat:Qi,supportedKeys:N.lQ,getKeyboardListener:N.lQ,customizeButtons:N.lQ,getParsedText:function(B,se){return ee.A.parse(B,se)||ee.A.parse(B)},renderInputMinMax:N.lQ,renderOpenedState:function(){this._updateValue()},popupConfig:Qi,_dimensionChanged:function(){var B;null===(B=this._getPopup())||void 0===B||B.repaint()},renderPopupContent:function(){var B=this._getPopup();this._renderWidget();var se=B.$content().parent();v.A.off(se,"mousedown"),v.A.on(se,"mousedown",this._preventFocusOnPopup.bind(this))},_preventFocusOnPopup:function(B){B.preventDefault()},_getWidgetContainer:function(){return this._getPopup().$content()},_getPopup:function(){return this.dateBox._popup},popupShowingHandler:N.lQ,popupHiddenHandler:N.lQ,_updateValue:function(){this._widget&&this._widget.option("value",this.dateBoxValue())},useCurrentDateByDefault:N.lQ,getDefaultDate:function(){return new Date},textChangedHandler:N.lQ,renderValue:function(){this.dateBox.option("opened")&&this._updateValue()},getValue:function(){return this._widget.option("value")},isAdaptivityChanged:function(){return!1},dispose:function(){var B=this._getPopup();B&&B.$content().empty()},dateBoxValue:function(){return arguments.length?this.dateBox.dateValue.apply(this.dateBox,arguments):this.dateBox.dateOption.apply(this.dateBox,["value"])}});const so=vr;var Li=so.inherit({NAME:"Calendar",getDefaultOptions:function(){return(0,_.X)(this.callBase(),{todayButtonText:ne.A.format("dxCalendar-todayButtonText")})},supportedKeys:function(){var B=function(se){return!!this.option("opened")&&(se.preventDefault(),!0)};return{rightArrow:function(){if(this.option("opened"))return!0},leftArrow:function(){if(this.option("opened"))return!0},enter:function(se){if(this.dateBox.option("opened")){if(se.preventDefault(),this._widget.option("zoomLevel")===this._widget.option("maxZoomLevel")){var je=this._getContouredValue(),xt=this._lastActionElement,Gt=this._closeDropDownByEnter();return Gt&&je&&"calendar"===xt&&this.dateBoxValue(je,se),Gt&&this.dateBox.close(),this.dateBox._valueChangeEventHandler(se),!Gt}return!0}this.dateBox._valueChangeEventHandler(se)}.bind(this),home:B,end:B}},getDisplayFormat:function(B){return B||"shortdate"},_closeDropDownByEnter:()=>!0,_getWidgetName:function(){return ji},_getContouredValue:function(){return this._widget._view.option("contouredDate")},getKeyboardListener(){return this._widget},_getWidgetOptions:function(){var B=this.dateBox.option("disabledDates");return(0,_.X)(this.dateBox.option("calendarOptions"),{value:this.dateBoxValue()||null,selectionMode:"single",dateSerializationFormat:null,min:this.dateBox.dateOption("min"),max:this.dateBox.dateOption("max"),onValueChanged:this._valueChangedHandler.bind(this),onCellClick:this._cellClickHandler.bind(this),disabledDates:(0,m.Tn)(B)?this._injectComponent(B.bind(this.dateBox)):B,onContouredChanged:this._refreshActiveDescendant.bind(this),skipFocusCheck:!0})},_injectComponent:function(B){var se=this;return function(je){return(0,_.X)(je,{component:se.dateBox}),B(je)}},_refreshActiveDescendant:function(B){this._lastActionElement="calendar",this.dateBox.setAria("activedescendant",B.actionValue)},_getTodayButtonConfig(){var B=this.dateBox.option("buttonsLocation"),je="default"===B?["bottom","center"]:(0,N.T6)(B),xt=(0,yt.gx)()?"text":"outlined";return{widget:"dxButton",toolbar:je[0],location:"after"===je[1]?"before":je[1],options:{onClick:Gt=>{this._widget._toTodayView(Gt)},text:this.dateBox.option("todayButtonText"),elementAttr:{class:"dx-button-today"},stylingMode:xt}}},_isCalendarVisible:function(){var{calendarOptions:B}=this.dateBox.option();return(0,m.RI)(B)||!1!==B.visible},_getPopupToolbarItems(B){return"useButtons"===this.dateBox.option("applyValueMode")&&this._isCalendarVisible()?[this._getTodayButtonConfig(),...B]:B},popupConfig:function(B){return(0,_.X)(!0,B,{position:{collision:"flipfit flip"},width:"auto"})},_valueChangedHandler:function(B){var se=B.value,je=B.previousValue;H.A.sameDate(se,je)&&H.A.sameHoursAndMinutes(se,je)||"instantly"===this.dateBox.option("applyValueMode")&&this.dateBoxValue(this.getValue(),B.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(B){var se=this.dateBox;"instantly"===se.option("applyValueMode")&&(se.option("opened",!1),this.dateBoxValue(this.getValue(),B.event))}});const br=Li;var no=a(6148),Ao=a(9193),Jr="dx-dateview-item";class Hr extends no.A{_getDefaultOptions(){return(0,_.X)(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(){v.A.on((0,J.A)(this.container()),"dxmousewheel",se=>{this._isWheelScrolled=!0})}_renderContainerClick(){if(this.option("showOnClick")){var se=(0,c.b4)(rt.U,this.NAME),je=this._createActionByOption("onClick");v.A.off((0,J.A)(this.container()),se),v.A.on((0,J.A)(this.container()),se,function(xt){je({event:xt})})}}_renderItems(){var se=this.option("items")||[],je=(0,J.A)();(0,J.A)(this.content()).empty(),se.forEach(function(xt){je=je.add((0,J.A)("<div>").addClass(Jr).append(xt))}),(0,J.A)(this.content()).append(je),this._$items=je,this.update()}_renderSelectedItemFrame(){(0,J.A)("<div>").addClass("dx-dateview-item-selected-frame").append((0,J.A)("<div>").addClass("dx-dateview-item-selected-border")).appendTo((0,J.A)(this.container()))}_renderSelectedValue(se){var je=this._fitIndex(se??this.option("selectedIndex"));this._moveTo({top:this._getItemPosition(je)}),this._renderActiveStateItem()}_fitIndex(se){var xt=(this.option("items")||[]).length;return se>=xt?xt-1:se<0?0:se}_getItemPosition(se){return Math.round(this._itemHeight()*se)}_renderItemsClick(){var se=this._getItemSelector(),je=(0,c.b4)(rt.U,this.NAME);v.A.off(this.$element(),je,se),v.A.on(this.$element(),je,se,this._itemClickHandler.bind(this))}_getItemSelector(){return"."+Jr}_itemClickHandler(se){this.option("selectedIndex",this._itemElementIndex(se.currentTarget))}_itemElementIndex(se){return this._itemElements().index(se)}_itemElements(){return this.$element().find(this._getItemSelector())}_renderActiveStateItem(){var se=this.option("selectedIndex");(0,D.__)(this._$items,function(je){(0,J.A)(this).toggleClass("dx-dateview-item-selected",se===je)})}_shouldScrollToNeighborItem(){return"desktop"===S.A.real().deviceType&&this._isWheelScrolled}_moveTo(se){var{top:je,left:xt}=function ls(B,se){if((0,m.Qd)(B)){var je=(0,N.YD)(B.left,B.x),xt=(0,N.YD)(B.top,B.y);return{left:(0,m.O9)(je)?je:void 0,top:(0,m.O9)(xt)?xt:void 0}}var{isHorizontal:Gt,isVertical:fn}=new Ao.D(se);return{left:Gt&&(0,m.O9)(B)?B:void 0,top:fn&&(0,m.O9)(B)?B:void 0}}(se),Gt=this.scrollOffset(),fn={x:Gt.left-xt,y:Gt.top-je};if(this._isVisible()&&(fn.x||fn.y))if(this._prepareDirections(!0),this._animation&&!this._shouldScrollToNeighborItem()){var Gn=this;Dt.A.stop((0,J.A)(this.content())),Dt.A.animate((0,J.A)(this.content()),{duration:200,type:"slide",to:{top:Math.floor(fn.y)},complete(){(0,zn.fw)((0,J.A)(Gn.content())),Gn.handleMove({delta:fn})}}),delete this._animation}else this.handleMove({delta:fn})}_validate(se){return this._moveIsAllowed(se)}_fitSelectedIndexInRange(se){var je=this.option("items").length;return Math.max(Math.min(se,je-1),0)}_isInNullNeighborhood(se){return-.1<=se&&se<=.1}_getSelectedIndexAfterScroll(se){var Gt=this.scrollOffset().top-se*this._itemHeight();return this._isInNullNeighborhood(Gt)?se:this._fitSelectedIndexInRange(se+(Gt>0?1:-1))}_getNewSelectedIndex(se){if(this._shouldScrollToNeighborItem())return this._getSelectedIndexAfterScroll(se);this._animation=!0;var je=this.scrollOffset().top/this._itemHeight();return Math.round(je)}_endActionHandler(){var se=this.option("selectedIndex"),je=this._getNewSelectedIndex(se);je===se?this._renderSelectedValue(je):this.option("selectedIndex",je),this._isWheelScrolled=!1}_itemHeight(){var se=this._$items.first();return(0,ve.Oq)(se)}_toggleActive(se){this.$element().toggleClass("dx-state-active",se)}_isVisible(){return(0,J.A)(this.container()).is(":visible")}_fireSelectedIndexChanged(se,je){this._selectedIndexChanged({value:se,previousValue:je,event:void 0})}_visibilityChanged(se){super._visibilityChanged(se),this._visibilityChangedH
1andler(se)}_visibilityChangedHandler(se){se&&(this._visibilityTimer=setTimeout(()=>{this._renderSelectedValue(this.option("selectedIndex"))})),this.toggleActiveState(!1)}toggleActiveState(se){this.$element().toggleClass("dx-dateviewroller-current",se)}_refreshSelectedIndex(){var se=this.option("selectedIndex"),je=this._fitIndex(se);je===se?this._renderActiveStateItem():this.option("selectedIndex",je)}_optionChanged(se){switch(se.name){case"selectedIndex":this._fireSelectedIndexChanged(se.value,se.previousValue),this._renderSelectedValue(se.value);break;case"items":this._renderItems(),this._refreshSelectedIndex();break;case"onClick":case"showOnClick":this._renderContainerClick();break;case"onSelectedIndexChanged":this._renderSelectedIndexChanged();break;default:super._optionChanged(se)}}_dispose(){clearTimeout(this._visibilityTimer),super._dispose()}}(0,t.A)("dxDateViewRoller",Hr);const ao=Hr;var Cr="dx-dateview",Ri=Ie.A.inherit({_valueOption:function(){var B=this.option("value"),se=new Date(B);return!B||isNaN(se)?this._getDefaultDate():se},_getDefaultDate:function(){var B=new Date;return"date"===this.option("type")?new Date(B.getFullYear(),B.getMonth(),B.getDate()):B},_getDefaultOptions:function(){return(0,_.X)(this.callBase(),{minDate:ce.MIN_DATEVIEW_DEFAULT_DATE,maxDate:ce.MAX_DATEVIEW_DEFAULT_DATE,type:"date",value:new Date,applyCompactClass:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(B){return"desktop"!==B.deviceType},options:{applyCompactClass:!0}}])},_render:function(){this.callBase(),this.$element().addClass(Cr),this._toggleFormatClasses(this.option("type")),this._toggleCompactClass()},_toggleFormatClasses:function(B,se){this.$element().addClass(Cr+"-"+B),se&&this.$element().removeClass(Cr+"-"+se)},_toggleCompactClass:function(){this.$element().toggleClass("dx-dateview-compact",this.option("applyCompactClass"))},_wrapper:function(){return this._$wrapper},_renderContentImpl:function(){this._$wrapper=(0,J.A)("<div>").addClass("dx-dateview-wrapper"),this._renderRollers(),this._$wrapper.appendTo(this.$element())},_renderRollers:function(){this._$rollersContainer||(this._$rollersContainer=(0,J.A)("<div>").addClass("dx-dateview-rollers")),this._$rollersContainer.empty(),this._createRollerConfigs(),this._rollers={};var B=this;(0,D.__)(B._rollerConfigs,function(se){var je=(0,J.A)("<div>").appendTo(B._$rollersContainer).addClass("dx-dateviewroller-"+B._rollerConfigs[se].type);B._rollers[B._rollerConfigs[se].type]=B._createComponent(je,ao,{items:B._rollerConfigs[se].displayItems,selectedIndex:B._rollerConfigs[se].selectedIndex,showScrollbar:"never",scrollByContent:!0,onStart:function(xt){var Gt=xt.component;Gt._toggleActive(!0),B._setActiveRoller(B._rollerConfigs[se],Gt.option("selectedIndex"))},onEnd:function(xt){xt.component._toggleActive(!1)},onClick:function(xt){var Gt=xt.component;Gt._toggleActive(!0),B._setActiveRoller(B._rollerConfigs[se],Gt.option("selectedIndex")),B._setRollerState(B._rollerConfigs[se],Gt.option("selectedIndex")),Gt._toggleActive(!1)},onSelectedIndexChanged:function(xt){B._setRollerState(B._rollerConfigs[se],xt.component.option("selectedIndex"))}})}),B._$rollersContainer.appendTo(B._wrapper())},_createRollerConfigs:function(B){var se=this;B=B||se.option("type"),se._rollerConfigs={},ee.A.getFormatParts(ce.FORMATS_MAP[B]).forEach(function(je){se._createRollerConfig(je)})},_createRollerConfig:function(B){for(var se=ce.DATE_COMPONENTS_INFO[B],je=this._calculateRollerConfigValueRange(B),xt=je.startValue,Gt=je.endValue,fn=se.formatter,Gn=this._getCurrentDate(),li={type:B,setValue:se.setter,valueItems:[],displayItems:[],getIndex:function(Xi){return Xi[se.getter]()-xt}},wi=xt;wi<=Gt;wi++)li.valueItems.push(wi),li.displayItems.push(fn(wi,Gn));li.selectedIndex=li.getIndex(Gn),this._rollerConfigs[B]=li},_setActiveRoller:function(B){var se=B&&this._rollers[B.type];(0,D.__)(this._rollers,function(){this.toggleActiveState(this===se)})},_updateRollersPosition:function(){var B=this;(0,D.__)(this._rollers,function(se){var je=B._rollerConfigs[se].getIndex(B._getCurrentDate());this.option("selectedIndex",je)})},_setRollerState:function(B,se){if(se!==B.selectedIndex){var je=B.valueItems[se],xt=B.setValue,Gt=new Date(this._getCurrentDate()),fn=Gt.getDate(),Gn=this.option("minDate"),li=this.option("maxDate");"month"===B.type?fn=Math.min(fn,ce.getMaxMonthDay(Gt.getFullYear(),je)):"year"===B.type&&(fn=Math.min(fn,ce.getMaxMonthDay(je,Gt.getMonth()))),Gt.setDate(fn),Gt[xt](je);var wi=H.A.normalizeDate(Gt,Gn,li);Gt=ce.mergeDates(wi,Gt,"time"),Gt=H.A.normalizeDate(Gt,Gn,li),this.option("value",Gt),B.selectedIndex=se}"year"===B.type&&this._refreshRollers(),"month"===B.type&&(this._refreshRoller("day"),this._refreshRoller("hours"))},_refreshRoller:function(B){var se=this._rollers[B];if(se){this._createRollerConfig(B);var je=this._rollerConfigs[B];("day"===B||je.displayItems.toString()!==se.option("items").toString())&&se.option({items:je.displayItems,selectedIndex:je.selectedIndex})}},_getCurrentDate:function(){var B=this._valueOption(),se=this.option("minDate"),je=this.option("maxDate");return H.A.normalizeDate(B,se,je)},_calculateRollerConfigValueRange:function(B){var se=this._getCurrentDate(),je=this.option("minDate"),xt=this.option("maxDate"),Gt=H.A.sameYear(se,je),fn=Gt&&se.getMonth()===je.getMonth(),Gn=H.A.sameYear(se,xt),li=Gn&&se.getMonth()===xt.getMonth(),wi=fn&&se.getDate()===je.getDate(),Xi=li&&se.getDate()===xt.getDate(),Co=ce.DATE_COMPONENTS_INFO[B],xr=Co.startValue,Lr=Co.endValue;return"year"===B&&(xr=je.getFullYear(),Lr=xt.getFullYear()),"month"===B&&(Gt&&(xr=je.getMonth()),Gn&&(Lr=xt.getMonth())),"day"===B&&(Lr=ce.getMaxMonthDay(se.getFullYear(),se.getMonth()),Gt&&fn&&(xr=je.getDate()),Gn&&li&&(Lr=xt.getDate())),"hours"===B&&(xr=wi?je.getHours():xr,Lr=Xi?xt.getHours():Lr),{startValue:xr,endValue:Lr}},_refreshRollers:function(){this._refreshRoller("month"),this._refreshRoller("day"),this._refreshRoller("hours")},_optionChanged:function(B){switch(B.name){case"minDate":case"maxDate":case"type":this._renderRollers(),this._toggleFormatClasses(B.value,B.previousValue);break;case"visible":this.callBase(B),B.value&&this._renderRollers();break;case"value":this.option("value",this._valueOption()),this._refreshRollers(),this._updateRollersPosition();break;default:this.callBase(B)}},_clean:function(){this.callBase(),delete this._$rollersContainer}}
1);(0,t.A)("dxDateView",Ri);const is=Ri;var Ue=(0,f.zk)(),ht=so.inherit({NAME:"DateView",getDefaultOptions:function(){return(0,_.X)(this.callBase(),{openOnFieldClick:!0,applyButtonText:ne.A.format("OK"),"dropDownOptions.showTitle":!0})},getDisplayFormat:function(B){return B||ce.FORMATS_MAP[this.dateBox.option("type")]},popupConfig:function(B){return{toolbarItems:this.dateBox._popupToolbarItemsConfig(),onInitialized:B.onInitialized,defaultOptionsRules:[{device:{platform:"android"},options:{width:333,height:331}},{device:function(se){var je=se.platform;return"generic"===je||"ios"===je},options:{width:"auto",height:"auto"}},{device:function(se){return"generic"===se.platform&&se.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:Ue}}}]}},_renderWidget:function(){if((0,R.inputType)(this.dateBox.option("mode"))&&this.dateBox._isNativeType()||this.dateBox.option("readOnly"))this._widget&&(this._widget.$element().remove(),this._widget=null);else{var B=this._getPopup();if(this._widget)this._widget.option(this._getWidgetOptions());else{var se=(0,J.A)("<div>").appendTo(B.$content());this._widget=this._createWidget(se)}this._widget.$element().appendTo(this._getWidgetContainer())}},_getWidgetName:function(){return is},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*ce.ONE_YEAR),onDisposing:function(){this._widget=null}.bind(this)}}});const bt=ht;var Xt=so.inherit({NAME:"Native",popupConfig:function(B){return(0,_.X)({},B,{width:"auto"})},getParsedText:function(B){return B?"datetime"===this.dateBox.option("type")?new Date(B.replace(/-/g,"/").replace("T"," ").split(".")[0]):ce.fromStandardDateFormat(B):null},renderPopupContent:N.lQ,_getWidgetName:N.lQ,_getWidgetOptions:N.lQ,_getDateBoxType:function(){var B=this.dateBox.option("type");return ce.SUPPORTED_FORMATS.includes(B)?"datetime"===B&&!(0,R.inputType)(B)&&(B="datetime-local"):B="date",B},customizeButtons:function(){var B=this.dateBox.getButton("dropDown");S.A.real().android&&B&&B.on("click",function(){this.dateBox._input().get(0).click()}.bind(this))},getDefaultOptions:function(){return{mode:this._getDateBoxType()}},getDisplayFormat:function(B){var se=this._getDateBoxType();return B||ce.FORMATS_MAP[se]},renderInputMinMax:function(B){B.attr({min:Y.A.serializeDate(this.dateBox.dateOption("min"),"yyyy-MM-dd"),max:Y.A.serializeDate(this.dateBox.dateOption("max"),"yyyy-MM-dd")})}});const Yt=Xt;var an=a(8709),gn=a(1493),bn=a(6543),Yr=function(B,se,je){sr(B,se,je)},sr=function(B,se,je){B.css("transform","rotate("+se+"deg) translate(0,"+je+"px)")},Sr=Ie.A.inherit({_getDefaultOptions:function(){return(0,_.X)(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 B=(0,J.A)("<div>").appendTo(this.$element()),se=[];this.option("_showClock")&&se.push({ratio:1,shrink:0,baseSize:"auto",template:this._renderClock.bind(this)}),se.push({ratio:0,shrink:0,baseSize:"auto",template:this._renderField.bind(this)}),this._createComponent(B,bn.A,{height:"100%",width:"100%",direction:"col",items:se})},_renderClock:function(B,se,je){this._$hourArrow=(0,J.A)("<div>").addClass("dx-timeview-hourarrow"),this._$minuteArrow=(0,J.A)("<div>").addClass("dx-timeview-minutearrow");var xt=(0,J.A)(je);xt.addClass("dx-timeview-clock").append(this._$hourArrow).append(this._$minuteArrow),this.setAria("role","presentation",xt)},_updateClock:function(){var B=this._getValue(),se=B.getHours()/12*360+B.getMinutes()/60*30,je=B.getMinutes()/60*360;Yr(this._$hourArrow,se,this.option("_arrowOffset")),Yr(this._$minuteArrow,je,this.option("_arrowOffset"))},_getBoxItems:function(B){var se=[{ratio:0,shrink:0,baseSize:"auto",template:()=>this._hourBox.$element()},{ratio:0,shrink:0,baseSize:"auto",template:(0,J.A)("<div>").addClass("dx-timeview-time-separator").text(ee.A.getTimeSeparator())},{ratio:0,shrink:0,baseSize:"auto",template:()=>this._minuteBox.$element()}];return B&&se.push({ratio:0,shrink:0,baseSize:"auto",template:()=>this._format12.$element()}),se},_renderField:function(){var B=!this.option("use24HourFormat");return this._createHourBox(B),this._createMinuteBox(),B&&this._createFormat12Box(),this._createComponent((0,J.A)("<div>").addClass("dx-timeview-field"),bn.A,{direction:"row",align:"center",crossAlign:"center",items:this._getBoxItems(B)}).$element()},_createHourBox:function(B){(this._hourBox=this._createComponent((0,J.A)("<div>"),an.A,(0,_.X)({min:-1,max:B?13:24,value:this._getValue().getHours(),onValueChanged:this._onHourBoxValueChanged.bind(this),onKeyboardHandled:je=>this._keyboardHandler(je)},this._getNumberBoxConfig()))).setAria("label","hours")},_isPM:function(){return!this.option("use24HourFormat")&&1===this._format12.option("value")},_onHourBoxValueChanged:function(B){var{value:se,component:je}=B,xt=this._getValue(),Gt=new Date(xt),fn=this._convertMaxHourToMin(se);je.option("value",fn),this._isPM()&&(fn+=12),Gt.setHours(fn),ce.normalizeTime(Gt),this.option("value",Gt)},_convertMaxHourToMin:function(B){var se=this.option("use24HourFormat")?24:12;return(se+B)%se},_createMinuteBox:function(){(this._minuteBox=this._createComponent((0,J.A)("<div>"),an.A,(0,_.X)({min:-1,max:60,value:this._getValue().getMinutes(),onKeyboardHandled:se=>this._keyboardHandler(se),onValueChanged:se=>{var{value:je,component:xt}=se,Gt=(60+je)%60;xt.option("value",Gt);var fn=new Date(this._getValue());fn.setMinutes(Gt),ce.normalizeTime(fn),this.option("value",fn)}},this._getNumberBoxConfig()))).setAria("label","minutes")},_createFormat12Box:function(){var B=ee.A.getPeriodNames();(this._format12=this._createComponent((0,J.A)("<div>").addClass("dx-timeview-format12"),gn.A,{items:[{value:-1,text:B[0]},{value:1,text:B[1]}],valueExpr:"value",displayExpr:"text",onKeyboardHandled:je=>this._keyboardHandler(je),onValueChanged:je=>{var{value:xt}=je,Gt=this._getValue().getHours(),fn=new Date(this._getValue());fn.setHours((Gt+12*xt)%24),this.option("value",fn)},value:this._getValue().getHours()>=12?1:-1,stylingMode:this.option("stylingMode")})).setAria("label","type")},_refreshFormat12:function(){if(!this.option("use24HourFormat")){var se=this._getValue().getHours();this._silentEditorValueUpdate(this._format12,se>=12?1:-1)}},_silentEditorValueUpdate:function(B,se){B&&(B._suppressValueChangeAction(),B.option("value",se),B._resumeValueChangeAction())},_getNumberBoxConfig:function(){return{showSpinButtons:!0,displayValueFormatter:function(B){return(B<10?"0":"")+B},stylingMode:this.option("stylingMode")}},_normalizeHours:function(B){return this.option("use24HourFormat")?B:B%12||12},_updateField:function(){var B=this._normalizeHours(this._getValue().getHours());this._silentEditorValueUpdate(this._hourBox,B),this._silentEditorValueUpdate(this._minuteBox,this._getValue().getMinutes()),this._refreshFormat12()},_updateTime:function(){this.option("_showClock")&&this._updateClock(),this._updateField()},_visibilityChanged:function(B){B&&this._updateTime()},_optionChanged:function(B){switch(B.name){case"value":this._updateTime(),this.callBase(B);break;case"_arrowOffset":break;case"use24HourFormat":case"_showClock":case"stylingMode":this._invalidate();break;default:this.callBase(B)}}});(0,t.A)("dxTimeView",Sr);const io=Sr;var lo=(0,f.zk)(),Nr="dx-datebox-datetime-time-side",ro=br.inherit({NAME:"CalendarWithTime",getDefaultOptions:function(){return(0,_.X)(this.callBase(),{applyValueMode:"useButtons",buttonsLocation:"bottom after","dropDownOptions.showTitle":!1})},_closeDropDownByEnter:function(){return H.A.sameDate(this._getContouredValue(),this.widgetOption("value"))},getDisplayFormat:function(B){return B||"shortdateshorttime"},_is24HourFormat:function(){return ee.A.is24HourFormat(this.getDisplayFormat(this.dateBox.option("displayFormat")))},_getContouredValue:function(){var B=this.callBase();return this._updateDateTime(B)},_renderWidget:function(){this.callBase(),this._timeView=this.dateBox._createComponent((0,J.A)("<div>"),io,{value:this.dateBoxValue(),_showClock:!this._isShrinkView(),use24HourFormat:this._is24HourFormat(),onValueChanged:this._valueChangedHandler.bind(this),stylingMode:this.dateBox.option("stylingMode")})},renderOpenedState:function(){this.callBase();var B=this._getPopup();B&&B.$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 B=this._isShrinkView(),se=this._currentAdaptiveMode;return B!==se?(this._currentAdaptiveMode=B,void 0!==se):this.callBase()}
1,_updateValue:function(B){var se=this.dateBoxValue();!se&&!B&&ce.normalizeTime(se=new Date),this.callBase(),this._timeView&&(se&&this._timeView.option("value",se),this._timeView.option("use24HourFormat",this._is24HourFormat()))},_isSmallScreen:function(){return(0,ve.RG)(lo)<=573},_isShrinkView:function(){return!this.dateBox.option("showAnalogClock")||this.dateBox.option("adaptivityEnabled")&&this._isSmallScreen()},_getBoxItems:function(){var B=[{ratio:0,shrink:0,baseSize:"auto",name:"calendar"}];return this._isShrinkView()||B.push({ratio:0,shrink:0,baseSize:"auto",name:"time"}),B},renderPopupContent:function(){this.callBase(),this._currentAdaptiveMode=this._isShrinkView();var B=this._getPopup().$content();this._box=this.dateBox._createComponent((0,J.A)("<div>").appendTo(B),bn.A,{direction:"row",crossAlign:"stretch",items:this._getBoxItems(),itemTemplate:function(se,je,xt){var Gt=(0,J.A)("<div>");switch(se.name){case"calendar":Gt.append(this._widget.$element()),this._isShrinkView()&&(this._timeView.$element().addClass(Nr),Gt.append(this._timeView.$element()));break;case"time":Gt.append(this._timeView.$element()),(0,J.A)(xt).addClass(Nr)}return Gt}.bind(this)})},popupConfig:function(B){var se=this.callBase(B);return(0,_.X)(se,{width:"auto"})},_preventFocusOnPopup:function(B){(0,J.A)(B.target).hasClass("dx-texteditor-input")||(this.callBase.apply(this,arguments),this.dateBox._hasFocusClass()||this.dateBox.focus())},_updateDateTime:function(B){var se=this._timeView.option("value");return B.setHours(se.getHours(),se.getMinutes(),se.getSeconds(),se.getMilliseconds()),B},getValue:function(){var B,se=null!==(B=this._widget.option("value"))&&void 0!==B?B:this._widget.getContouredDate();return se=se?new Date(se):new Date,this._updateDateTime(se)},dispose:function(){clearTimeout(this._removeMinWidthTimer),clearTimeout(this._repaintTimer),this.callBase()}});const Zo=ro;var Er=a(6536),wo=(a(9700),a(2773)),Ei=(0,f.zk)(),po={min:new Date(0,0,0,0,0),max:new Date(0,0,0,23,59)},Ji=so.inherit({NAME:"List",supportedKeys:function(){return{space:N.lQ,home:N.lQ,end:N.lQ}},getDefaultOptions:function(){return(0,_.X)(this.callBase(),{applyValueMode:"instantly"})},getDisplayFormat:function(B){return B||"shorttime"},popupConfig:function(B){return B},getValue:function(){var B=this._widget.option("selectedIndex");return-1===B?this.dateBox.option("value"):this._getDateByItemData(this._widgetItems[B])},useCurrentDateByDefault:function(){return!0},getDefaultDate:function(){return new Date(null)},popupShowingHandler:function(){this.dateBox._dimensionChanged()},_renderWidget:function(){this.callBase(),this._refreshItems()},_getWidgetName:function(){return Er.A},_getWidgetOptions:function(){return{itemTemplate:this._timeListItemTemplate.bind(this),onItemClick:this._listItemClickHandler.bind(this),tabIndex:-1,onFocusedItemChanged:this._refreshActiveDescendant.bind(this),selectionMode:"single"}},_refreshActiveDescendant:function(B){this.dateBox.setAria("activedescendant",""),this.dateBox.setAria("activedescendant",B.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 B=this.dateBoxValue(),se=this._getDateIndex(B);-1===se?this._widget.option("selectedItems",[]):this._widget.option("selectedIndex",se)},_scrollToSelectedItem:function(){this._widget.scrollToItem(this._widget.option("selectedIndex"))},_getDateIndex:function(B){for(var se=-1,je=0,xt=this._widgetItems.length;je<xt;je++)if(this._areDatesEqual(B,this._widgetItems[je])){se=je;break}return se},_areDatesEqual:function(B,se){return(0,m.$P)(B)&&(0,m.$P)(se)&&B.getHours()===se.getHours()&&B.getMinutes()===se.getMinutes()},_getTimeListItems:function(){var B=this.dateBox.dateOption("min")||this._getBoundaryDate("min"),se=this.dateBox.dateOption("max")||this._getBoundaryDate("max"),je=this.dateBox.dateOption("value")||null,xt=se-B,Gt=B.getMinutes()%this.dateBox.option("interval");return xt<0?[]:(xt>ce.ONE_DAY&&(xt=ce.ONE_DAY),je-B<ce.ONE_DAY||((B=this._getBoundaryDate("min")).setMinutes(Gt),je&&Math.abs(je-se)<ce.ONE_DAY&&(xt=(60*se.getHours()+Math.abs(se.getMinutes()-Gt))*ce.ONE_MINUTE)),this._getRangeItems(B,new Date(B),xt))},_getRangeItems:function(B,se,je){for(var xt=[],Gt=this.dateBox.option("interval");se-B<=je;)xt.push(new Date(se)),se.setMinutes(se.getMinutes()+Gt);return xt},_getBoundaryDate:function(B){var se=po[B],je=new Date((0,N.YD)(this.dateBox.dateOption("value"),0));return new Date(je.getFullYear(),je.getMonth(),je.getDate(),se.getHours(),se.getMinutes())},_timeListItemTemplate:function(B){var se=this.dateBox.option("displayFormat");return ee.A.format(B,this.getDisplayFormat(se))},_listItemClickHandler:function(B){if("useButtons"!==this.dateBox.option("applyValueMode")){var se=this._getDateByItemData(B.itemData);this.dateBox.option("opened",!1),this.dateBoxValue(se,B.event)}},_getDateByItemData:function(B){var se=this.dateBox.option("value"),je=B.getHours(),xt=B.getMinutes(),Gt=B.getSeconds(),fn=B.getFullYear(),Gn=B.getMonth(),li=B.getDate();return se?((se=this.dateBox.option("dateSerializationFormat")?Y.A.deserializeDate(se):new Date(se)).setHours(je),se.setMinutes(xt),se.setSeconds(Gt),se.setFullYear(fn),se.setMonth(Gn),se.setDate(li)):se=new Date(fn,Gn,li,je,xt,0,0),se},getKeyboardListener:function(){return this._widget},_updatePopupHeight:function(){var B=(0,wo.b)(this.dateBox.option("dropDownOptions.height"));if(void 0===B||"auto"===B){this.dateBox._setPopupOption("height","auto");var se=(0,ve.P$)(this._widget.$element()),je=.45*(0,ve.Oq)(Ei);this.dateBox._setPopupOption("height",Math.min(se,je))}this.dateBox._timeList&&this.dateBox._timeList.updateDimensions()},getParsedText:function(B,se){var je=this.callBase(B,se);return je&&(je=ce.mergeDates(je,new Date(null),"date")),je}});const Ho=Ji;var go=(0,f.zk)(),Po="dx-datebox",kr="dx-datebox-wrapper",fr={calendar:"calendar",rollers:"rollers",list:"list",native:"native"},Xe={date:"date",datetime:"datetime",time:"time"},$e={Calendar:br,DateView:bt,Native:Yt,CalendarWithTime:Zo,List:Ho},St=_e.A.inherit({_supportedKeys:function(){return(0,_.X)(this.callBase(),this._strategy.supportedKeys())},_renderButtonContainers:function(){this.callBase.apply(this,arguments),this._strategy.customizeButtons()},_getDefaultOptions:function(){return(0,_.X)(this.callBase(),{type:"date",showAnalogClock:!0,value:null,dateSerializationFormat:void 0,min:void 0,max:void 0,displayFormat:null,interval:30,disabledDates:null,pickerType:fr.calendar,invali
1dDateMessage:ne.A.format("dxDateBox-validation-datetime"),dateOutOfRangeMessage:ne.A.format("validation-range"),applyButtonText:ne.A.format("OK"),adaptivityEnabled:!1,calendarOptions:{},useHiddenSubmitElement:!0,_showValidationIcon:!0})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"ios"},options:{"dropDownOptions.showTitle":!0}},{device:{platform:"android"},options:{buttonsLocation:"bottom after"}},{device:function(){var se=S.A.real().platform;return"ios"===se||"android"===se},options:{pickerType:fr.native}},{device:{platform:"generic",deviceType:"desktop"},options:{buttonsLocation:"bottom after"}}])},_initOptions:function(B){this._userOptions=(0,_.X)({},B),this.callBase(B),this._updatePickerOptions()},_updatePickerOptions:function(){var B=this.option("pickerType"),se=this.option("type");B===fr.list&&(se===Xe.datetime||se===Xe.date)&&(B=fr.calendar),se===Xe.time&&B===fr.calendar&&(B=fr.list),this._pickerType=B,this._setShowDropDownButtonOption()},_setShowDropDownButtonOption(){var B=S.A.real().platform,se="android"===B&&j.A.mozilla,je=this._isNativeType(),xt="generic"!==B||!je;je&&se&&(xt=!1),this.option({showDropDownButton:xt})},_init:function(){this._initStrategy(),this.option((0,_.X)({},this._strategy.getDefaultOptions(),this._userOptions)),delete this._userOptions,this.callBase()},_toLowerCaseFirstLetter:function(B){return B.charAt(0).toLowerCase()+B.substr(1)},_initStrategy:function(){var B=this._getStrategyName(this._getFormatType());this._strategy&&this._strategy.NAME===B||(this._strategy=new(0,$e[B])(this))},_getFormatType:function(){var B=this.option("type"),se=/h|m|s/g.test(B),xt="";return/d|M|Y/g.test(B)&&(xt+=Xe.date),se&&(xt+=Xe.time),xt},_getStrategyName:function(B){var se=this._pickerType;return se===fr.rollers?"DateView":se===fr.native?"Native":B===Xe.date?"Calendar":B===Xe.datetime?"CalendarWithTime":"List"},_initMarkup:function(){this.$element().addClass(Po),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 B,se;this._popup&&(null===(B=(se=this._strategy)._updatePopupHeight)||void 0===B||B.call(se))},_refreshFormatClass:function(){var B=this.$element();(0,D.__)(Xe,function(se,je){B.removeClass(Po+"-"+je)}),B.addClass(Po+"-"+this.option("type"))},_refreshPickerTypeClass:function(){var B=this.$element();(0,D.__)(fr,function(se,je){B.removeClass(Po+"-"+je)}),B.addClass(Po+"-"+this._pickerType)},_formatValidationIcon:function(){if((0,f.Vd)()){var B=this._input().get(0),se=this.option("rtlEnabled"),je=this._getClearButtonWidth(),xt=this._getLongestElementDimensions(),Gt=parseFloat(go.getComputedStyle(B).width)-je,fn=xt.width>Gt,Gn=B.style;this.$element().toggleClass("dx-show-invalid-badge",!fn&&this.option("_showValidationIcon")),fn?(void 0===this._storedPadding&&(this._storedPadding=se?xt.leftPadding:xt.rightPadding),se?Gn.paddingLeft=0:Gn.paddingRight=0):se?Gn.paddingLeft=this._storedPadding+"px":Gn.paddingRight=this._storedPadding+"px"}},_getClearButtonWidth:function(){var B=0;if(this._isClearButtonVisible()&&""===this._input().val()){var se=this.$element().find(".dx-clear-button-area").get(0);B=parseFloat(go.getComputedStyle(se).width)}return B},_getLongestElementDimensions:function(){var B=this._strategy.getDisplayFormat(this.option("displayFormat")),se=ee.A.format(ce.getLongestDate(B,ee.A.getMonthNames(),ee.A.getDayNames()),B),je=this._input(),xt=je.get(0),Gt=(0,x.D2)(je,se),Gn=void 0!==this._storedPadding?this._storedPadding:0;Gt.appendTo(this.$element());var li=parseFloat(go.getComputedStyle(Gt.get(0)).width),wi=parseFloat(go.getComputedStyle(xt).paddingRight),Xi=parseFloat(go.getComputedStyle(xt).paddingLeft),Co=li+Xi+wi+Gn;return Gt.remove(),{width:Co,leftPadding:Xi,rightPadding:wi}},_getKeyboardListeners(){return this.callBase().concat([this._strategy&&this._strategy.getKeyboardListener()])},_renderPopup:function(){this.callBase(),this._popup.$wrapper().addClass(kr),this._renderPopupWrapper()},_getPopupToolbarItems(){var B,se,je,xt=this.callBase();return null!==(B=null===(se=(je=this._strategy)._getPopupToolbarItems)||void 0===se?void 0:se.call(je,xt))&&void 0!==B?B:xt},_popupConfig:function(){var B=this.callBase();return(0,_.X)(this._strategy.popupConfig(B),{title:this._getPopupTitle(),dragEnabled:!1})},_renderPopupWrapper:function(){if(this._popup){var B=this.$element(),se=(0,_.X)({},Xe,fr);(0,D.__)(se,function(je,xt){B.removeClass(kr+"-"+xt)}.bind(this)),this._popup.$wrapper().addClass(kr+"-"+this.option("type")).addClass(kr+"-"+this._pickerType).addClass("dx-dropdowneditor-overlay")}},_renderPopupContent:function(){this.callBase(),this._strategy.renderPopupContent()},_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(B){B&&this._formatValidationIcon()},_clearValueHandler:function(B){this.option("text",""),this.callBase(B)},_readOnlyPropValue:function(){if(this._pickerType===fr.rollers)return!0;var B=S.A.real().platform;return!this._isNativeType()||"ios"!==B&&"android"!==B?this.callBase():this.option("readOnly")},_isClearButtonVisible:function(){return this.callBase()&&!this._isNativeType()},_renderValue:function(){var B=this.dateOption("value");return this.option("text",this._getDisplayedText(B)),this._strategy.renderValue(),this.callBase()},_setSubmitValue:function(){var B=this.dateOption("value"),se=this.option("dateSerializationFormat"),je=ce.SUBMIT_FORMATS_MAP[this.option("type")],xt=se?Y.A.serializeDate(B,se):ce.toStandardDateFormat(B,je);this._getSubmitElement().val(xt)},_getDisplayedText:function(B){var je,se=this.option("mode");if("text"===se){var xt=this._strategy.getDisplayFormat(this.option("displayFormat"));je=ee.A.format(B,xt)}else{var Gt=this._getFormatByMode(se);
1je=Gt?ee.A.format(B,Gt):ce.toStandardDateFormat(B,se)}return je},_getFormatByMode:function(B){return(0,R.inputType)(B)?null:ce.FORMATS_MAP[B]},_valueChangeEventHandler:function(B){var{text:se,type:je,validationError:xt}=this.option(),Gt=this.dateOption("value");if(se!==this._getDisplayedText(Gt)){var fn=this._getParsedDate(se),Gn=Gt??this._getDateByDefault(),li=ce.mergeDates(Gn,fn,je);if(this._applyInternalValidation(fn&&"time"===je?li:fn).isValid){var Xi=this._getDisplayedText(li);Gn&&li&&Gn.getTime()===li.getTime()&&Xi!==se?this._renderValue():this.dateValue(li,B)}}else this._recallInternalValidation(Gt,xt)},_recallInternalValidation(B,se){(!se||se.editorSpecific)&&(this._applyInternalValidation(B),this._applyCustomValidation(B))},_getDateByDefault:function(){return this._strategy.useCurrentDateByDefault()&&this._strategy.getDefaultDate()},_getParsedDate:function(B){var se=this._strategy.getDisplayFormat(this.option("displayFormat"));return this._strategy.getParsedText(B,se)??void 0},_applyInternalValidation(B){var je=!!this.option("text")&&null!==B,xt=!!B&&(0,m.$P)(B)&&!isNaN(B.getTime()),Gt=xt&&H.A.dateInRange(B,this.dateOption("min"),this.dateOption("max"),this.option("type")),fn=!je&&!B||Gt,Gn="";return xt?Gt||(Gn=this.option("dateOutOfRangeMessage")):Gn=this.option("invalidDateMessage"),this._updateInternalValidationState(fn,Gn),{isValid:fn,isDate:xt}},_updateInternalValidationState(B,se){this.option({isValid:B,validationError:B?null:{editorSpecific:!0,message:se}})},_applyCustomValidation:function(B){this.validationRequest.fire({editor:this,value:this._serializeDate(B)})},_isValueChanged:function(B){var se=this.dateOption("value");return(se&&se.getTime())!==(B&&B.getTime())},_isTextChanged:function(B){return this.option("text")!==(B&&this._getDisplayedText(B)||"")},_renderProps:function(){this.callBase(),this._input().attr("autocomplete","off")},_renderOpenedState:function(){this._isNativeType()||this.callBase(),this._strategy.isAdaptivityChanged()&&this._refreshStrategy()},_getPopupTitle:function(){var B=this.option("placeholder");if(B)return B;var se=this.option("type");return se===Xe.time?ne.A.format("dxDateBox-simulatedDataPickerTitleTime"):se===Xe.date||se===Xe.datetime?ne.A.format("dxDateBox-simulatedDataPickerTitleDate"):""},_refreshStrategy:function(){this._strategy.dispose(),this._initStrategy(),this.option(this._strategy.getDefaultOptions()),this._refresh()},_applyButtonHandler:function(B){var se=this._strategy.getValue();this.dateValue(se,B.event),this.callBase()},_dispose:function(){var B;this.callBase(),null===(B=this._strategy)||void 0===B||B.dispose()},_isNativeType:function(){return this._pickerType===fr.native},_updatePopupTitle:function(){var B;null===(B=this._popup)||void 0===B||B.option("title",this._getPopupTitle())},_optionChanged:function(B){switch(B.name){case"showClearButton":case"buttons":case"isValid":case"readOnly":this.callBase.apply(this,arguments),this._formatValidationIcon();break;case"pickerType":this._updatePickerOptions({pickerType:B.value}),this._refreshStrategy(),this._refreshPickerTypeClass(),this._invalidate();break;case"type":this._updatePickerOptions({format:B.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 se=this.option("isValid");this._applyInternalValidation(this.dateOption("value")),se||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(B.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;
1case"invalidDateMessage":case"dateOutOfRangeMessage":case"adaptivityEnabled":case"showAnalogClock":case"_showValidationIcon":break;default:this.callBase.apply(this,arguments)}},_getSerializationFormat:function(){var B=this.option("value");return this.option("dateSerializationFormat")&&(0,fe.A)().forceIsoDateParsing?this.option("dateSerializationFormat"):(0,m.kf)(B)?"number":(0,m.Kg)(B)?Y.A.getDateSerializationFormat(B):void 0},_updateValue:function(B){this.callBase(),this._applyInternalValidation(B??this.dateOption("value"))},dateValue:function(B,se){var je=this._isValueChanged(B);return je&&se&&this._saveValueChangeEvent(se),je||(this._isTextChanged(B)?this._updateValue(B):""===this.option("text")&&this._applyCustomValidation(B)),this.dateOption("value",B)},dateOption:function(B,se){if(1===arguments.length)return Y.A.deserializeDate(this.option(B));this.option(B,this._serializeDate(se))},_serializeDate:function(B){var se=this._getSerializationFormat();return Y.A.serializeDate(B,se)},_clearValue:function(){var B=this.option("value");this.callBase(),null===B&&this._applyCustomValidation(null)},clear:function(){var B=this.option("value");this.callBase(),null===B&&this._applyInternalValidation(null)}});const nn=St;var yi=a(5655),ki=a(8029),Or="dateBoxMask",Fo=nn.inherit({_supportedKeys(B){var se=this.callBase(B),je=Gt=>{var fn=se[(0,c.YD)(Gt)];return fn&&fn.apply(this,[Gt])},xt=(Gt,fn)=>this._shouldUseOriginalHandler(Gt)?je.apply(this,[Gt]):fn.apply(this,[Gt]);return(0,_.X)({},se,{del:Gt=>xt(Gt,fn=>{this._revertPart(1),this._isAllSelected()||fn.preventDefault()}),backspace:Gt=>xt(Gt,fn=>{this._revertPart(-1),this._isAllSelected()||fn.preventDefault()}),home:Gt=>xt(Gt,fn=>{this._selectFirstPart(),fn.preventDefault()}),end:Gt=>xt(Gt,fn=>{this._selectLastPart(),fn.preventDefault()}),escape:Gt=>xt(Gt,fn=>{this._revertChanges(fn)}),enter:Gt=>xt(Gt,()=>{this._enterHandler()}),leftArrow:Gt=>xt(Gt,fn=>{this._selectNextPart(-1),fn.preventDefault()}),rightArrow:Gt=>xt(Gt,fn=>{this._selectNextPart(1),fn.preventDefault()}),upArrow:Gt=>xt(Gt,fn=>{this._upDownArrowHandler(1),fn.preventDefault()}),downArrow:Gt=>xt(Gt,fn=>{this._upDownArrowHandler(-1),fn.preventDefault()})})},_shouldUseOriginalHandler(B){var se=this.option("opened")&&B&&-1===["backspace","del"].indexOf((0,c.YD)(B));return!this._useMaskBehavior()||se||B&&B.altKey},_upDownArrowHandler(B){this._setNewDateIfEmpty();var se=this._getActivePartValue(this._initialMaskValue),xt=this._getActivePartValue()-se;this._loadMaskValue(this._initialMaskValue),this._changePartValue(xt+B,!0)},_changePartValue(B,se){"a"===this._getActivePartProp("pattern")?this._toggleAmPm():this._partIncrease(B,se)},_toggleAmPm(){var B=this._getActivePartProp("text"),se=ki.A.getPeriodNames().indexOf(B);this._setActivePartValue(1^se)},_getDefaultOptions(){return(0,_.X)(this.callBase(),{useMaskBehavior:!1,emptyDateValue:new Date(2e3,0,1,0,0,0)})},_isSingleCharKey(B){var{originalEvent:se,alt:je}=B,xt=se.data||se.key;return"string"==typeof xt&&1===xt.length&&!je&&!(0,c.By)(se)},_isSingleDigitKey(B){var se,je=null===(se=B.originalEvent)||void 0===se?void 0:se.data;return 1===je?.length&&parseInt(je,10)},_useBeforeInputEvent:function(){return S.A.real().android},_keyInputHandler(B,se){var je=this._input().val();this._processInputKey(se),B.preventDefault(),je!==this._input().val()&&v.A.trigger(this._input(),"input")},_keyboardHandler(B){var se=B.originalEvent.key,je=this.callBase(B);return!this._useMaskBehavior()||this._useBeforeInputEvent()||(j.A.chrome&&"Process"===B.key&&0===B.code.indexOf("Digit")?(se=B.code.replace("Digit",""),this._processInputKey(se),this._maskInputHandler=()=>{this._renderSelectedPart()}):this._isSingleCharKey(B)&&this._keyInputHandler(B.originalEvent,se)),je},_maskBeforeInputHandler(B){this._maskInputHandler=null;var{inputType:se}=B.originalEvent;"insertCompositionText"===se&&(this._maskInputHandler=()=>{this._renderSelectedPart()});var je="deleteContentBackward"===se;if(je||"deleteContentForward"===se){var Gt=je?-1:1;this._maskInputHandler=()=>{this._revertPart(),this._selectNextPart(Gt)}}if(this._useMaskBehavior()&&this._isSingleCharKey(B))return this._keyInputHandler(B,B.originalEvent.data),!0},_keyPressHandler(B){var{originalEvent:se}=B;"insertCompositionText"===se?.inputType&&this._isSingleDigitKey(B)&&(this._processInputKey(se.data),this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._selectNextPart()),this.callBase(B),this._maskInputHandler&&(this._maskInputHandler(),this._maskInputHandler=null)},_processInputKey(B){this._isAllSelected()&&(this._activePartIndex=0),this._setNewDateIfEmpty(),isNaN(parseInt(B))?this._searchString(B):this._searchNumber(B)},_isAllSelected(){var B=this._caret();return B.end-B.start===this.option("text").length},_getFormatPattern(){if(this._formatPattern)return this._formatPattern;var B=this._strategy.getDisplayFormat(this.option("displayFormat")),se=(0,m.Kg)(B)&&!ee.A._getPatternByFormat(B);return this._formatPattern=se?B:(0,L.g)(function(je){return ee.A.format(je,B)}),this._formatPattern},_setNewDateIfEmpty(){if(!this._maskValue){var B="time"===this.option("type")?new Date(null):new Date;this._maskValue=B,this._initialMaskValue=B,this._renderDateParts()}},_partLimitsReached(B){var se=String(B).length,je=this._getActivePartProp("pattern").length,Gt=1===je?se:Math.min(je,se),fn=this._searchValue.length===Gt,Gn=parseInt(this._searchValue+"0")>B;return fn||Gn},_searchNumber(B){var{max:se}=this._getActivePartLimits(),je=String(se).length;this._searchValue=(this._searchValue+B).substr(-je),isNaN(this._searchValue)&&(this._searchValue=B),this._setActivePartValue(this._searchValue),this._partLimitsReached(se)&&this._selectNextPart(1)},_searchString(B){if(isNaN(parseInt(this._getActivePartProp("text")))){for(var se=this._getActivePartProp("limits")(this._maskValue),je=this._searchValue+B.toLowerCase(),xt=se.max-se.min,Gt=0;Gt<=xt;Gt++)if(this._loadMaskValue(this._initialMaskValue),this._changePartValue(Gt+1),0===this._getActivePartProp("text").toLowerCase().indexOf(je))return void(this._searchValue=je);this._setNewDateIfEmpty(),this._searchValue&&(this._clearSearchValue(),this._searchString(B))}},_clearSearchValue(){this._searchValue=""},_revertPart:function(B){if(!this._isAllSelected()){var se=this._getActivePartValue(this.option("emptyDateValue"));this._setActivePartValue(se),this._selectNextPart(B)}this._clearSearchValue()},_useMaskBehavior(){return this.option("useMaskBehavior")&&"text"===this.option("mode")},_prepareRegExpInfo(){this._regExpInfo=(0,M.wu)(this._getFormatPattern(),ee.A);var B=this._regExpInfo.regexp,se=B.source,je=B.flags,xt=new RegExp(/(\{[0-9]+,?[0-9]*\})/),Gt=se.split(xt).map(fn=>xt.test(fn)?fn:yi.A.convertDigits(fn,!1)).join("");this._regExpInfo.regexp=new RegExp(Gt,je)},_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 B=this.option("text")||this._getDisplayedText(this._maskValue);B&&(this._dateParts=((B,se)=>{for(var je=se.regexp.exec(B),xt=0,Gt=0,fn=[],Gn=function(){Gt=(xt=Gt)+je[li].length;var wi=se.patterns[li-1].replace(/^'|'$/g,""),Xi=(B=>g[B]||(()=>B))(wi[0]);fn.push({index:li-1,isStub:wi===je[li],caret:{start:xt,end:Gt},pattern:wi,text:je[li],limits:function(){for(var Co=arguments.length,xr=new Array(Co),Lr=0;Lr<Co;Lr++)xr[Lr]=arguments[Lr];return K(wi[0],...xr)},setter:U[wi[0]]||N.lQ,getter:Xi})},li=1;li<je.length;li++)Gn();return fn})(B,this._regExpInfo),this._input().is(":hidden")||this._selectNextPart())}},_detachMaskEvents(){v.A.off(this._input(),"."+Or)},_attachMaskEvents(){v.A.on(this._input(),(0,c.b4)("dxclick",Or),this._maskClickHandler.bind(this)),v.A.on(this._input(),(0,c.b4)("paste",Or),this._maskPasteHandler.bind(this)),v.A.on(this._input(),(0,c.b4)("drop",Or),()=>{this._renderSelectedPart()}),v.A.on(this._input(),(0,c.b4)("compositionend",Or),this._maskCompositionEndHandler.bind(this)),this._useBeforeInputEvent()&&v.A.on(this._input(),(0,c.b4)("beforeinput",Or),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(B){this._useMaskBehavior()&&this._partIncrease(B.delta>0?1:-1,B)},_selectNextPart(){var B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.option("text")&&!this._disposed){B&&(this._initialMaskValue=new Date(this._maskValue));var se=(0,b.df)(this._activePartIndex+B,0,this._dateParts.length-1);if(this._dateParts[se].isStub){if(!(0===se&&B<0||se===this._dateParts.length-1&&B>0))return void this._selectNextPart(B>=0?B+1:B-1);se=this._activePartIndex}this._activePartIndex!==se&&this._clearSearchValue(),this._activePartIndex=se,this._caret(this._getActivePartProp("c
1aret"))}},_getRealLimitsPattern(){if("d"===this._getActivePartProp("pattern")[0])return"dM"},_getActivePartLimits(B){return this._getActivePartProp("limits")(this._maskValue,B&&this._getRealLimitsPattern())},_getActivePartValue(B){B=B||this._maskValue;var se=this._getActivePartProp("getter");return(0,m.Tn)(se)?se(B):B[se]()},_addLeadingZeroes(B){var se=this._searchValue.match(/^0+/),je=this._getActivePartLimits(),xt=String(je.max).length;return((se&&se[0]||"")+String(B)).substr(-xt)},_setActivePartValue(B,se){se=se||this._maskValue;var je=this._getActivePartProp("setter"),xt=this._getActivePartLimits();B=(0,b.r4)(B,xt.min,xt.max)?B:B%10,B=this._addLeadingZeroes((0,b.df)(B,xt.min,xt.max)),(0,m.Tn)(je)?je(se,B):se[je](B),this._renderDisplayText(this._getDisplayedText(se)),this._renderDateParts()},_getActivePartProp(B){if(this._dateParts&&this._dateParts[this._activePartIndex])return this._dateParts[this._activePartIndex][B]},_loadMaskValue(){var B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dateOption("value");this._maskValue=B&&new Date(B),this._initialMaskValue=B&&new Date(B)},_saveMaskValue(){var B=this._maskValue&&new Date(this._maskValue);B&&"date"===this.option("type")&&B.setHours(0,0,0,0),this._initialMaskValue=new Date(B),this.dateOption("value",B)},_revertChanges(){this._loadMaskValue(),this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts()},_renderDisplayText(B){this.callBase(B),this._useMaskBehavior()&&this.option("text",B)},_partIncrease(B,se){this._setNewDateIfEmpty();var{max:je,min:xt}=this._getActivePartLimits(se),Gt=B+this._getActivePartValue();Gt>je?Gt=this._applyLimits(Gt,{limitBase:xt,limitClosest:je,max:je}):Gt<xt&&(Gt=this._applyLimits(Gt,{limitBase:je,limitClosest:xt,max:je})),this._setActivePartValue(Gt)},_applyLimits(B,se){var{limitBase:je,limitClosest:xt,max:Gt}=se,fn=(B-xt)%Gt;return fn?je+fn-1*(0,b._S)(fn):xt},_maskClickHandler(){this._loadMaskValue(this._maskValue),this.option("text")&&(this._activePartIndex=((B,se)=>{for(var je=0;je<B.length;je++)if(!B[je].isStub&&B[je].caret.end>=se)return je;return null})(this._dateParts,this._caret().start),this._isAllSelected()||((0,m.O9)(this._activePartIndex)?this._caret(this._getActivePartProp("caret")):this._selectLastPart()))},_maskCompositionEndHandler(B){this._input().val(this._getDisplayedText(this._maskValue)),this._selectNextPart(),this._maskInputHandler=()=>{this._renderSelectedPart()}},_maskPasteHandler(B){var se=this._replaceSelectedText(this.option("text"),this._caret(),(0,x.KR)(B)),je=ee.A.parse(se,this._getFormatPattern());je&&this._isDateValid(je)&&(this._maskValue=je,this._renderDisplayText(this._getDisplayedText(this._maskValue)),this._renderDateParts(),this._selectNextPart()),B.preventDefault()},_isDateValid:B=>(0,m.$P)(B)&&!isNaN(B),_isValueDirty(){var B=this.dateOption("value");return(this._maskValue&&this._maskValue.getTime())!==(B&&B.getTime())},_fireChangeEvent(){this._clearSearchValue(),this._isValueDirty()&&v.A.trigger(this._input(),"change")},_enterHandler(){this._fireChangeEvent(),this._selectNextPart(1)},_focusOutHandler(B){this._useMaskBehavior()&&!B.isDefaultPrevented()?(this._fireChangeEvent(),this.callBase(B),this._selectFirstPart(B)):this.callBase(B)},_valueChangeEventHandler(B){var se=this.option("text");this._useMaskBehavior()?(this._saveValueChangeEvent(B),se?null===this._maskValue&&this._loadMaskValue(se):this._maskValue=null,this._saveMaskValue()):this.callBase(B)},_optionChanged(B){switch(B.name){case"useMaskBehavior":this._renderMask();break;case"displayFormat":case"mode":this.callBase(B),this._renderMask();break;case"value":this._loadMaskValue(),this.callBase(B),this._renderDateParts();break;case"emptyDateValue":break;default:this.callBase(B)}},_clearMaskState(){this._clearSearchValue(),delete this._dateParts,delete this._activePartIndex,delete this._maskValue},clear(){this._clearMaskState(),this._activePartIndex=0,this.callBase()},_clean(){this.callBase(),this._detachMaskEvents(),this._clearMaskState()}});const pr=Fo;(0,t.A)("dxDateBox",pr);const ir=pr},7642:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ke});var t=a(4292),c=a(1269),m=a(3992),x=a(4905),_=a(5042),b=a(1063),v=a(2101),M=a(2463),N=a(7951),p=a(181),P=a(7310),g=a(4441),U=a(448),G=a(736),A=a(829),K=a(2839);class f extends A.A{constructor(Ie,De,et){super(Ie,De,et),this.currentTemplate=null}
1_attachEvents(Ie){var{editor:De}=this;Ie.option("onClick",et=>{var yt;(null!==(yt=De._shouldCallOpenHandler)&&void 0!==yt&&yt.call(De)||!De.option("openOnFieldClick"))&&De._openHandler(et)}),c.A.on(Ie.$element(),"mousedown",et=>{De.$element().is(".dx-state-focused")&&et.preventDefault()})}_create(){var{editor:Ie}=this,De=(0,t.A)("<div>"),et=this._getOptions();this._addToContainer(De);var yt=Ie._createComponent(De,K.A,(0,N.X)({},et,{elementAttr:{"aria-label":G.A.format("dxDropDownEditor-selectLabel")}}));return this._legacyRender(Ie.$element(),De,et.visible),{$element:De,instance:yt}}_getOptions(){var{editor:Ie}=this,De=this._isVisible(),yt={focusStateEnabled:!1,hoverStateEnabled:!1,activeStateEnabled:!1,useInkRipple:!1,disabled:Ie.option("readOnly"),visible:De};return this._addTemplate(yt),yt}_isVisible(){var{editor:Ie}=this;return super._isVisible()&&Ie.option("showDropDownButton")}_legacyRender(Ie,De,et){Ie.toggleClass("dx-dropdowneditor-button-visible",et),De&&De.removeClass("dx-button").removeClass("dx-button-mode-contained").addClass("dx-dropdowneditor-button")}_isSameTemplate(){return this.editor.option("dropDownButtonTemplate")===this.currentTemplate}_addTemplate(Ie){this._isSameTemplate()||(Ie.template=this.editor._getTemplateByOption("dropDownButtonTemplate"),this.currentTemplate=this.editor.option("dropDownButtonTemplate"))}update(){if(super.update()){var{editor:De,instance:et}=this,yt=De.$element(),dt=this._getOptions();et?.option(dt),this._legacyRender(yt,et?.$element(),dt.visible)}}}var D=a(8041),R=a(9104),S=a(2934),j=a(8060),fe=a(3862),H=a(3798),J=a(4633),Y=a(4435),W=a(2773),re=a(2824),Re="dx-dropdowneditor-input-wrapper",Fe="dx-dropdowneditor-overlay",Z="ios"===fe.A.current().platform,ve=S.A.inherit({_supportedKeys:function(){return(0,N.X)({},this.callBase(),{tab:function(Ne){if(this.option("opened")){if(!this._popup.getFocusableElements().length)return void this.close();var Ie=Ne.shiftKey?this._getLastPopupElement():this._getFirstPopupElement();Ie&&(c.A.trigger(Ie,"focus"),Ie.select()),Ne.preventDefault()}},escape:function(Ne){return this.option("opened")&&Ne.preventDefault(),this.close(),!0},upArrow:function(Ne){return!(!(0,R.By)(Ne)&&(Ne.preventDefault(),Ne.stopPropagation(),Ne.altKey)&&(this.close(),1))},downArrow:function(Ne){return!(!(0,R.By)(Ne)&&(Ne.preventDefault(),Ne.stopPropagation(),Ne.altKey)&&(this._validatedOpening(),1))},enter:function(Ne){return this.option("opened")&&(Ne.preventDefault(),this._valueChangeEventHandler(Ne)),!0}})},_getDefaultButtons:function(){return this.callBase().concat([{name:"dropDown",Ctor:f}])},_getDefaultOptions:function(){return(0,N.X)(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:G.A.format("OK"),cancelButtonText:G.A.format("Cancel"),buttonsLocation:"default",useHiddenSubmitElement:!1,validationMessagePosition:"auto"})},_useTemplates:function(){return!0},_getDefaultPopupPosition:function(Ne){var Ie=(0,U.n)(Ne);return{offset:{h:0,v:-1},my:Ie+" top",at:Ie+" bottom",collision:"flip flip"}},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(Ne){return"generic"===Ne.platform},options:{popupPosition:{offset:{v:0}}}}])},_inputWrapper:function(){return this.$element().find("."+Re).first()},_init:function(){this.callBase(),this._initVisibilityActions(),this._initPopupInitializedAction(),this._updatePopupPosition(this.option("rtlEnabled")),this._options.cache("dropDownOptions",this.option("dropDownOptions"))},_updatePopupPosition:function(Ne){var{my:Ie,at:De}=this._getDefaultPopupPosition(Ne),et=this.option("popupPosition");this.option("popupPosition",(0,N.X)({},et,{my:Ie,at:De}))},_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,t.A)("<div>").addClass(Re)).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 Ne=this._getFieldTemplate();Ne&&this._renderTemplatedField(Ne,this._fieldRenderData())},_renderPlaceholder:function(){this._getFieldTemplate()||this.callBase()},_renderValue:function(){this.option("useHiddenSubmitElement")&&this._setSubmitValue(),this.callBase().always(this._renderField.bind(this))},_renderTemplatedField:function(Ne,Ie){var De=(0,b.in)(this._input()),et=this._$container;this._detachKeyboardEvents(),this._refreshButtonsContainer(),this._detachWrapperContent(),this._detachFocusEvents(),et.empty();var yt=(0,t.A)("<div>").addClass("dx-dropdowneditor-field-template-wrapper").appendTo(et);Ne.render({model:Ie,container:(0,p.c)(yt),onRendered:()=>{if(this.$element().find(yt).length){var Je=this._input();if(!Je.length)throw P.A.Error("E1010");this._integrateInput(),De&&c.A.trigger(Je,"focus")}}}),this._attachWrapperContent(et)},_detachWrapperContent(){var Ne,Ie,De;this.option("useHiddenSubmitElement")&&(null===(Ne=this._$submitElement)||void 0===Ne||Ne.detach());var yt=null===(Ie=this._$beforeButtonsContainer)||void 0===Ie?void 0:Ie[0].parentNode,dt=null===(De=this._$afterButtonsContainer)||void 0===De?void 0:De[0].parentNode;yt?.removeChild(this._$beforeButtonsContainer[0]),dt?.removeChild(this._$afterButtonsContainer[0])},_attachWrapperContent(Ne){var Ie,De=this.option("useHiddenSubmitElement");Ne.prepend(this._$beforeButtonsContainer),De&&(null===(Ie=this._$submitElement)||void 0===Ie||Ie.appendTo(Ne)),Ne.append(this._$afterButtonsContainer)},_refreshButtonsContainer(){this._$buttonsContainer=this.$element().children().eq(0)},_integrateInput:function(){this._renderFocusState(),this._refreshValueChangeEvent(),this._refreshEvents(),this._refreshEmptinessEvent()},_refreshEmptinessEvent:function(){c.A.off(this._input(),"input blur",this._toggleEmptinessEventHandler),this._renderEmptinessEvent()},_fieldRenderData:function(){return this.option("value")},_initTemplates:function(){this._templateManager.addDefaultTemplates({dropDownButton:new H.l(function(Ne){var Ie=(0,t.A)("<div>").addClass("dx-dropdowneditor-icon");(0,t.A)(Ne.container).append(Ie)})}),this.callBase()},_renderOpenHandler:function(){var Ne=this._inputWrapper(),Ie=(0,R.b4)(j.U,this.NAME),De=this.option("openOnFieldClick");c.A.off(Ne,Ie),c.A.on(Ne,Ie,this._getInputClickHandler(De)),this.$element().toggleClass("dx-dropdowneditor-field-clickable",De),De&&(this._openOnFieldClickAction=this._createAction(this._openHandler.bind(this)))},_attachFocusOutHandler:function(){Z&&(this._detachFocusOutEvents(),c.A.on(this._inputWrapper(),(0,R.b4)("focusout",this.NAME),Ne=>{var Ie=Ne.relatedTarget;Ie&&this.option("opened")&&this._isTargetOutOfComponent(Ie)&&this.close()}))},_isTargetOutOfComponent:function(Ne){var Ie=this.content?(0,t.A)(this.content()).closest(".".concat(Fe)):this._$popup;return 0===(0,t.A)(Ne).closest(".".concat(Fe),Ie).length},_detachFocusOutEvents:function(){Z&&c.A.off(this._inputWrapper(),(0,R.b4)("focusout",this.NAME))},_getInputClickHandler:function(Ne){return Ne?Ie=>{this._executeOpenAction(Ie)}:Ie=>{this._focusInput()}},_openHandler:function(){this._toggleOpenState()},_executeOpenAction:function(Ne){this._openOnFieldClickAction({event:Ne})},_keyboardEventBindingTarget:function(){return this._input()},_focusInput:function(){return!this.option("disabled")&&(this.option("focusStateEnabled")&&!(0,b.in)(this._input())&&(this._resetCaretPosition(),c.A.trigger(this._input(),"focus")),!0)},_resetCaretPosition:function(){var Ne=arguments.length>0&&void 0!==arguments[0]&&arguments[0],Ie=this._input().get(0);if(Ie){var{value:De}=Ie,et=(0,M.O9)(De)&&(Ne||this._isEditable())?De.length:0;this._caret({start:et,end:et},!0)}},_isEditable:function(){return this.option("acceptCustomValue")},_toggleOpenState:function(Ne){this._focusInput()&&(this.option("readOnly")||(Ne=arguments.length?Ne:!this.option("opened"),this.option("opened",Ne)))},_getControlsAria(){return this._popup&&this._popupContentId},_renderOpenedState:function(){var Ne=this.option("opened");Ne&&this._createPopup(),this.$element().toggleClass("dx-dropdowneditor-active",Ne),this._setPo
1pupOption("visible",Ne);var Ie={expanded:Ne,controls:this._getControlsAria()};this.setAria(Ie),this.setAria("owns",Ne?this._popupContentId:void 0,this.$element())},_createPopup:function(){this._$popup||(this._$popup=(0,t.A)("<div>").addClass(Fe).appendTo(this.$element()),this._renderPopup(),this._renderPopupContent())},_renderPopupContent:_.lQ,_renderPopup:function(){var Ne=(0,N.X)(this._popupConfig(),this._options.cache("dropDownOptions"));delete Ne.closeOnOutsideClick,Ne.elementAttr&&!Object.keys(Ne.elementAttr).length&&delete Ne.elementAttr,this._popup=this._createComponent(this._$popup,J.A,Ne),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._attachPopupKeyHandler(),this._contentReadyHandler(),this._setPopupContentId(this._popup.$content()),this._bindInnerWidgetOptions(this._popup,"dropDownOptions")},_attachPopupKeyHandler(){c.A.on(this._popup.$overlayContent(),(0,R.b4)("keydown",this.NAME),Ne=>this._popupKeyHandler(Ne))},_popupKeyHandler(Ne){switch((0,R.YD)(Ne)){case"tab":this._popupTabHandler(Ne);break;case"escape":this._popupEscHandler(Ne)}},_popupTabHandler(Ne){var Ie=(0,t.A)(Ne.target),De=Ne.shiftKey&&Ie.is(this._getFirstPopupElement());(!Ne.shiftKey&&Ie.is(this._getLastPopupElement())||De)&&(c.A.trigger(this.field(),"focus"),Ne.preventDefault())},_popupEscHandler(){c.A.trigger(this._input(),"focus"),this.close()},_setPopupContentId(Ne){this._popupContentId="dx-"+new m.A,this.setAria("id",this._popupContentId,Ne)},_contentReadyHandler:_.lQ,_popupConfig:function(){return{onInitialized:this._getPopupInitializedHandler(),position:(0,N.X)(this.option("popupPosition"),{of:this.$element()}),showTitle:this.option("dropDownOptions.showTitle"),_ignoreFunctionValueDeprecation:!0,width:()=>(0,W.v)(this.$element()),height:"auto",shading:!1,hideOnParentScroll:!0,hideOnOutsideClick:Ne=>this._closeOutsideDropDownHandler(Ne),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:Fe,_ignorePreventScrollEventsDeprecation:!0}},_popupInitializedHandler:_.lQ,_getPopupInitializedHandler:function(){var Ne=this.option("onPopupInitialized");return Ie=>{this._popupInitializedHandler(Ie),Ne&&this._popupInitializedAction({popup:Ie.component})}},_dimensionChanged:function(){!(0,Y.Vd)()||this.$element().is(":visible")?this._updatePopupWidth():this.close()},_updatePopupWidth:function(){void 0===(0,W.b)(this.option("dropDownOptions.width"))&&this._setPopupOption("width",()=>(0,W.v)(this.$element()))},_popupPositionedHandler:function(Ne){var Ie,De,{labelMode:et,stylingMode:yt}=this.option();if(this._popup){var dt=this._popup.$overlayContent(),Je=null===(Ie=Ne.position)||void 0===Ie||null===(De=Ie.v)||void 0===De?void 0:De.flip,Ce="hidden"!==et&&"outside"!==et&&"outlined"===yt;if(Ne.position&&dt.toggleClass("dx-dropdowneditor-overlay-flipped",Je),Je&&Ce&&this._label.isVisible()){var we=this._label.$element();(0,re.Cy)(dt,{top:(0,re.x5)(dt).top-parseInt(we.css("fontSize"))})}}},_popupShowingHandler:_.lQ,_popupHidingHandler:function(){this.option("opened",!1)},_popupShownHandler:function(){var Ne;this._openAction(),null===(Ne=this._validationMessage)||void 0===Ne||Ne.option("positionSide",this._getValidationMessagePositionSide())},_popupHiddenHandler:function(){var Ne;this._closeAction(),null===(Ne=this._validationMessage)||void 0===Ne||Ne.option("positionSide",this._getValidationMessagePositionSide())},_getValidationMessagePositionSide:function(){var Ne=this.option("validationMessagePosition");if("auto"!==Ne)return Ne;var Ie="bottom";if(this._popup&&this._popup.option("visible")){var{top:De}=g.A.setup(this.$element()),{top:et}=g.A.setup(this._popup.$content());Ie=De+this.option("popupPosition").offset.v>et?"bottom":"top"}return Ie}
1,_closeOutsideDropDownHandler:function(Ne){var{target:Ie}=Ne,De=(0,t.A)(Ie),et=this.getButton("dropDown"),yt=et&&et.$element(),dt=!!De.closest(this.$element()).length,Je=!!De.closest(yt).length;return!dt&&!Je},_clean:function(){delete this._openOnFieldClickAction,this._$popup&&(this._$popup.remove(),delete this._$popup,delete this._popup),this.callBase()},_setPopupOption:function(Ne,Ie){this._setWidgetOption("_popup",arguments)},_validatedOpening:function(){this.option("readOnly")||this._toggleOpenState(!0)},_getPopupToolbarItems:function(){return"useButtons"===this.option("applyValueMode")?this._popupToolbarItemsConfig():[]},_getFirstPopupElement:function(){return(0,t.A)(this._popup.getFocusableElements()).first()},_getLastPopupElement:function(){return(0,t.A)(this._popup.getFocusableElements()).last()},_popupToolbarItemsConfig:function(){var Ne=[{shortcut:"done",options:{onClick:this._applyButtonHandler.bind(this),text:this.option("applyButtonText")}},{shortcut:"cancel",options:{onClick:this._cancelButtonHandler.bind(this),text:this.option("cancelButtonText")}}];return this._applyButtonsLocation(Ne)},_applyButtonsLocation:function(Ne){var Ie=this.option("buttonsLocation"),De=Ne;if("default"!==Ie){var et=(0,_.T6)(Ie);(0,v.__)(De,function(yt,dt){(0,N.X)(dt,{toolbar:et[0],location:et[1]})})}return De},_applyButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_cancelButtonHandler:function(){this.close(),this.option("focusStateEnabled")&&this.focus()},_popupOptionChanged:function(Ne){var Ie=D.A.getOptionsFromContainer(Ne);this._setPopupOption(Ie);var De=Object.keys(Ie);(-1!==De.indexOf("width")||-1!==De.indexOf("height"))&&this._dimensionChanged()},_renderSubmitElement:function(){this.option("useHiddenSubmitElement")&&(this._$submitElement=(0,t.A)("<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(Ne){var Ie;switch(Ne.name){case"width":case"height":this.callBase(Ne),null===(Ie=this._popup)||void 0===Ie||Ie.repaint();break;case"opened":this._renderOpenedState();break;case"onOpened":case"onClosed":this._initVisibilityActions();break;case"onPopupInitialized":this._initPopupInitializedAction();break;case"fieldTemplate":(0,M.O9)(Ne.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(Ne),this._options.cache("dropDownOptions",this.option("dropDownOptions"));break;case"popupPosition":break;case"deferRendering":(0,Y.Vd)()&&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(Ne.value),this.callBase(Ne);break;default:this.callBase(Ne)}},open:function(){this.option("opened",!0)},close:function(){this.option("opened",!1)},field:function(){return(0,p.c)(this._input())},content:function(){return this._popup?this._popup.content():null}});(0,x.A)("dxDropDownEditor",ve);const ke=ve},1824:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>re});var t=a(186),c=a(4292),m=a(4435),x=a(1269),_=a(3992),b=a(4905),v=a(5042),M=a(2463),N=a(7951),p=a(7642),P=a(6536),g=a(7310),U=a(9104),G=a(3862),A=a(9845),K=a(2101),z=a(3341),ee=a(736),L=a(9902),f=a(2984),D=a(5788),R=(0,m.zk)(),J=["startswith","contains","endwith","notcontains"],Y="android"!==G.A.real().platform,W=p.A.inherit({_supportedKeys:function(){var le=this.callBase();return(0,N.X)({},le,{tab:function(Re){if(this._allowSelectItemByTab()){this._saveValueChangeEvent(Re);var Be=(0,c.A)(this._list.option("focusedElement"));Be.length&&this._setSelectedElement(Be)}le.tab.apply(this,arguments)},space:v.lQ,home:v.lQ,end:v.lQ})},_allowSelectItemByTab:function(){return this.option("opened")&&"instantly"===this.option("applyValueMode")},_setSelectedElement:function(le){var Re=this._valueGetter(this._list._getItemData(le));this._setValue(Re)},_setValue:function(le){this.option("value",le)},_getDefaultOptions:function(){return(0,N.X)(this.callBase(),(0,N.X)(z.A._dataExpressionDefaultOptions(),{displayValue:void 0,searchEnabled:!1,searchMode:"contains",searchTimeout:500,minSearchLength:0,searchExpr:null,valueChangeEvent:"input change keyup",selectedItem:null,noDataText:ee.A.format("dxCollectionWidget-noDataText"),encodeNoDataText:!1,onSelectionChanged:null,onItemClick:v.lQ,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,N.X)(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 le=this.option().items;le&&!le.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 L.M("item")})},_isEditable:function(){return this.callBase()||this.option("searchEnabled")},_saveFocusOnWidget:function(le){this._list&&this._list.initialOption("focusStateEnabled")&&this._focusInput()},_fitIntoRange:function(le,Re,Be){return le>Be?Re:le<Re?Be:le},_items:function(){var le=this._getPlainItems(!this._list&&this._dataSource.items());return new A.A(le).filter("disabled","<>",!0).toArray()},_calcNextItem:function(le){var Re=this._items();return Re[this._fitIntoRange(this._getSelectedIndex()+le,0,Re.length-1)]},_getSelectedIndex:function(){var le=this._items(),Re=this.option("selectedItem"),Be=-1;return(0,K.__)(le,function(Fe,ue){if(this._isValueEquals(ue,Re))return Be=Fe,!1}.bind(this)),Be},_createPopup:function(){this.callBase(),this._updateCustomBoundaryContainer(),this._popup.$wrapper().addClass(this._popupWrapperClass());var le=this._popup.$content();x.A.off(le,"mouseup"),x.A.on(le,"mouseup",this._saveFocusOnWidget.bind(this))},_updateCustomBoundaryContainer:function(){var le=this.option("dropDownOptions.container"),Re=le&&(0,c.A)(le);if(Re&&Re.length&&!(0,M.l6)(Re.get(0))){var Be=[].slice.call(Re.parents());Be.unshift(Re.get(0)),(0,K.__)(Be,function(Fe,ue){return ue!==(0,c.A)("body").get(0)&&("hidden"===R.getComputedStyle(ue).overflowY?(this._$customBoundaryContainer=(0,c.A)(ue),!1):void 0)}.bind(this))}},_popupWrapperClass:function(){return"dx-dropdownlist-popup-wrapper"},_renderInputValue:function(){var le=this._getCurrentValue();return this._rejectValueLoading(),this._loadInputValue(le,this._setSelectedItem.bind(this)).always(this.callBase.bind(this,le))},_loadInputValue:function(le,Re){return this._loadItem(le).always(Re)},_getItemFromPlain:function(le,Re){var Be,Fe;return Re&&"object"!=typeof le&&(Re.itemByValue||(Re.itemByValue={},(Be=this._getPlainItems()).forEach(function(ue){Re.itemByValue[this._valueGetter(ue)]=ue},this)),Fe=Re.itemByValue[le]),Fe||(Be=this._getPlainItems(),Fe=(0,v.VM)(Be,function(ue){return this._isValueEquals(this._valueGetter(ue),le)}.bind(this))[0]),Fe},_loadItem:function(le,Re){var Be=this._getItemFromPlain(le,Re);return void 0!==Be?(new f.cY).resolve(Be).promise():this._loadValue(le)},_getPlainItems:function(le){var Re=[];le=le||this.option("items")||this._dataSource.items()||[];for(var Be=0;Be<le.length;Be++)le[Be]&&le[Be].items?Re=Re.concat(le[Be].items):Re.push(le[Be]);return Re},_updateActiveDescendant(le){var Re,Be=this.option("opened"),Fe=null===(Re=this._list)||void 0===Re?void 0:Re.getFocusedItemId(),ue=(0,c.A)("#".concat(Fe)).length>0;this.setAria({activedescendant:Be&&ue&&Fe||null},le)},_setSelectedItem:function(le){var Re=this._displayValue(le);this.option("selectedItem",(0,v.YD)(le,null)),this.option("displayValue",Re)},_displayValue:function(le){return this._displayGetter(le)},_refreshSelected:function(){var le={};this._listItemElements().each(function(Re,Be){var Fe=(0,c.A)(Be),ue=this._valueGetter(Fe.data("dxListItemData"));this._isSelectedValue(ue,le)?this._list.selectItem(Fe):this._list.unselectItem(Fe)}.bind(this))},_popupShownHandler:function(){this.callBase(),this._setFocusPolicy()},_setFocusPolicy:function(){!this.option("focusStateEnabled")||!this._list||this._list.option("focusedElement",null)},_isSelectedValue:function(le){return this._isValueEquals(le,this.option("value"))},_validateSearchMode:function(){var le=this.option("searchMode"),Re=le.toLowerCase();if(!J.includes(Re))throw g.A.Error("E1019",le)},_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")},clear:function(){this.callBase(),this._clearFilter(),this._clearSelectedItem()},_listItemElements:function(){return this._$list?this._$list.find(".dx-list-item"):(0,c.A)()},_popupConfig:function(){return(0,N.X)(this.callBase(),{templatesRenderAsynchronously:!1,autoResizeEnabled:!1,maxHeight:this._getMaxHeight.bind(this)})},_renderPopupContent:function(){this.callBase(),this._renderList()},_getKeyboardListeners(){var le=this._canListHaveFocus();return this.callBase().concat([!le&&this._list])},_renderList:function(){this._listId="dx-"+(new _.A)._value;var le=(0,c.A)("<div>").attr("id",this._listId).appendTo(this._popup.$content());this._$list=le,this._list=this._createComponent(le,P.A,this._listConfig()),this._refreshList(),this._renderPreventBlurOnListClick(),this._setListFocusedElementOptionChange()},_renderPreventBlurOnListClick:function(){var le=(0,U.b4)("mousedown","dxDropDownList");x.A.off(this._$list,le),x.A.on(this._$list,le,Re=>Re.preventDefault())},_getControlsAria(){return this._list&&this._listId},_renderOpenedState:function(){this.callBase(),this._list&&this._updateActiveDescendant(),this.setAria("owns",this._popup&&this._popupContentId)}
1,_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"===G.A.real().deviceType},_listConfig:function(){var le={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()||(le.tabIndex=null),le},_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(le,Re){this._setWidgetOption("_list",arguments)},_listItemClickAction:function(le){this._listItemClickHandler(le),this._itemClickAction(le)},_listItemClickHandler:v.lQ,_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 le=this._isMinSearchLengthExceeded();return this._dataController.isLoaded()&&this.option("showDataBeforeSearch")&&this.option("minSearchLength")&&!le&&!this._isLastMinSearchLengthExceeded},_searchValue:function(){return this._input().val()||""},_getSearchEvent:function(){return(0,U.b4)("input",this.NAME+"Search")},_getCompositionStartEvent:function(){return(0,U.b4)("compositionstart",this.NAME+"CompositionStart")},_getCompositionEndEvent:function(){return(0,U.b4)("compositionend",this.NAME+"CompositionEnd")},_getSetFocusPolicyEvent:function(){return(0,U.b4)("input",this.NAME+"FocusPolicy")},_renderEvents:function(){this.callBase(),x.A.on(this._input(),this._getSetFocusPolicyEvent(),()=>{this._setFocusPolicy()}),this._shouldRenderSearchEvent()&&(x.A.on(this._input(),this._getSearchEvent(),le=>{this._searchHandler(le)}),Y&&(x.A.on(this._input(),this._getCompositionStartEvent(),()=>{this._isTextCompositionInProgress(!0)}),x.A.on(this._input(),this._getCompositionEndEvent(),le=>{this._isTextCompositionInProgress(void 0),this._searchHandler(le,this._searchValue())})))},_shouldRenderSearchEvent:function(){return this.option("searchEnabled")},_refreshEvents:function(){x.A.off(this._input(),this._getSearchEvent()),x.A.off(this._input(),this._getSetFocusPolicyEvent()),Y&&(x.A.off(this._input(),this._getCompositionStartEvent()),x.A.off(this._input(),this._getCompositionEndEvent())),this.callBase()},_isTextCompositionInProgress:function(le){if(!arguments.length)return this._isTextComposition;this._isTextComposition=le},_searchHandler:function(le,Re){if(!this._isTextCompositionInProgress()){if
1(!this._isMinSearchLengthExceeded())return void this._searchCanceled();var Be=this.option("searchTimeout");Be?(this._clearSearchTimer(),this._searchTimer=setTimeout(()=>{this._searchDataSource(Re)},Be)):this._searchDataSource(Re)}},_searchCanceled:function(){this._clearSearchTimer(),this._needClearFilter()&&this._filterDataSource(null),this._refreshList()},_searchDataSource:function(){var le=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._searchValue();this._filterDataSource(le)},_filterDataSource:function(le){this._clearSearchTimer();var Re=this._dataController;Re.searchExpr(this.option("searchExpr")||this._displayGetterExpr()),Re.searchOperation(this.option("searchMode")),Re.searchValue(le),Re.load().done(this._dataSourceFiltered.bind(this,le))},_clearFilter:function(){var le=this._dataController;le.searchValue()&&le.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 le=this._shouldOpenPopup();le&&!this._isFocused()||(this.option("opened",le),le&&(this._updatePopupWidth(),this._updateListDimensions()))}},_dataSourceChangedHandler:function(le){0===this._dataController.pageIndex()?this.option().items=le:this.option().items=this.option().items.concat(le)},_hasItemsToShow:function(){var Be=(this._dataController.items()||[]).length;return!(!this._needPassDataSourceToList()||!Be)},_clearSearchTimer:function(){clearTimeout(this._searchTimer),delete this._searchTimer},_popupShowingHandler:function(){this._updatePopupWidth(),this._updateListDimensions()},_dimensionChanged:function(){this.callBase(),this._updateListDimensions()},_needPopupRepaint:function(){var le=this._dataController,Re=le.pageIndex(),Be=(0,M.O9)(this._pageIndex)&&Re<=this._pageIndex||le.isLastPage()&&!this._list._scrollViewIsFull();return this._pageIndex=Re,Be},_updateListDimensions:function(){this._popup&&(this._needPopupRepaint()&&this._popup.repaint(),this._list&&this._list.updateDimensions())},_getMaxHeight:function(){var le=this.$element(),Re=this._$customBoundaryContainer,Be=le.offset().top-(Re?Re.offset().top:0),Fe=(0,t.P$)(R),ue=Re?Math.min((0,t.P$)(Re),Fe):Fe,ce=Math.max(Be,ue-Be-(0,t.P$)(le));return Math.min(.5*ue,ce)},_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 le=this.option("value"),Re=this._shouldUseDisplayValue(le)?this._displayGetter(le):le;this._getSubmitElement().val(Re)},_shouldUseDisplayValue:function(le){return"this"===this.option("valueExpr")&&(0,M.Gv)(le)},_optionChanged:function(le){switch(this._dataExpressionOptionChanged(le),le.name){case"hoverStateEnabled":case"focusStateEnabled":this._isDesktopDevice()&&this._setListOption(le.name,le.value),this.callBase(le);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(le.name);break;case"displayValue":this.option("text",le.value);break;case"itemTemplate":case"searchTimeout":break;case"selectedItem":le.previousValue!==le.value&&this._selectionChangedAction({selectedItem:le.value});break;default:this.callBase(le)}}}).include(z.A,D.A);(0,b.A)("dxDropDownList",W);const re=W},2773:(Nt,Le,a)=>{"use strict";a.d(Le,{b:()=>x,v:()=>m});var t=a(186),c=a(4435),m=function(_){if((0,c.Vd)())return(0,t.Ot)(_)},x=function(_){return null===_&&(_=void 0),"function"==typeof _&&(_=_()),_}},4831:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>fe});var t=a(4292),c=a(8332),m=a(4423),x=a(4435),_=a(9104),b=a(7951),v=a(8041),M=a(9130),N=a(1269),p=a(9465),P=a(3992),g=a(5042),U=a(7963),G="dx-invalid-message-auto",ee="dx-validation-target",f="invalid",R=["outlined","filled","underlined"],S={validationMessageMode:"mode",validationMessagePosition:"positionSide",validationMessageOffset:"offset",validationBoundary:"boundary"},j=v.A.inherit({ctor:function(){this.showValidationMessageTimeout=null,this.validationRequest=(0,m.A)(),this.callBase.apply(this,arguments)},_createElement:function(H){this.callBase(H);var J=this.$element();J&&(0,c.p)(J[0],ee,this)},_initOptions:function(H){this.callBase.apply(this,arguments),this.option(M.A.initValidationOptions(H))},_init:function(){this._initialValue=this.option("value"),this.callBase(),this._options.cache("validationTooltipOptions",this.option("validationTooltipOptions")),this.$element().addClass("dx-show-invalid-badge")},_getDefaultOptions:function(){return(0,b.X)(this.callBase(),{value:null,name:"",onValueChanged:null,readOnly:!1,isValid:!0,validationError:null,validationErrors:null,validationStatus:"val
1id",validationMessageMode:"auto",validationMessagePosition:"bottom",validationBoundary:void 0,validationMessageOffset:{h:0,v:0},validationTooltipOptions:{},_showValidationMessage:!0,isDirty:!1})},_attachKeyboardEvents:function(){this.option("readOnly")||this.callBase()},_setOptionsByReference:function(){this.callBase(),(0,b.X)(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,J){this._valueChangeAction||this._createValueChangeAction(),this._valueChangeAction(this._valueChangeArgs(H,J))},_valueChangeArgs:function(H,J){return{value:H,previousValue:J,event:this._valueChangeEventInstance}},_saveValueChangeEvent:function(H){this._valueChangeEventInstance=H},_focusInHandler:function(H){var J="auto"===this.option("validationMessageMode");if(this._canValueBeChangedByClick()&&J){var Y,W=null===(Y=this._validationMessage)||void 0===Y?void 0:Y.$wrapper();W?.removeClass(G),clearTimeout(this.showValidationMessageTimeout),this.showValidationMessageTimeout=setTimeout(()=>W?.addClass(G),150)}return this.callBase(H)},_canValueBeChangedByClick:function(){return!1},_getStylingModePrefix:function(){return"dx-editor-"},_renderStylingMode:function(){var H=this.option("stylingMode"),J=this._getStylingModePrefix(),Y=R.map(Re=>J+Re);Y.forEach(Re=>this.$element().removeClass(Re));var W=J+H;if(-1===Y.indexOf(W)){var re=this._getDefaultOptions().stylingMode,le=this._convertRulesToOptions(this._defaultOptionsRules()).stylingMode;W=J+(le||re)}this.$element().addClass(W)},_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(f,H||void 0)},_renderValidationState:function(){var H=this.option("isValid")&&this.option("validationStatus")!==f,J=this._getValidationErrors(),Y=this.$element();if(this._toggleValidationClasses(!H),(0,x.Vd)()&&!1!==this.option("_showValidationMessage")&&(this._disposeValidationMessage(),!H&&J)){var{validationMessageMode:W,validationMessageOffset:re,validationBoundary:le,rtlEnabled:Re}=this.option();this._$validationMessage=(0,t.A)("<div>").appendTo(Y);var Be="dx-".concat(new P.A);this.setAria("describedby",Be),this._validationMessage=new p.A(this._$validationMessage,(0,b.X)({validationErrors:J,rtlEnabled:Re,target:this._getValidationMessageTarget(),visualContainer:Y,mode:W,positionSide:this._getValidationMessagePosition(),offset:re,boundary:le,contentId:Be},this._options.cache("validationTooltipOptions"))),this._bindInnerWidgetOptions(this._validationMessage,"validationTooltipOptions")}},_getValidationMessagePosition:function(){return this.option("validationMessagePosition")},_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 J=this._keyboardEventBindingTarget(),Y=(0,_.b4)("keydown","editorReadOnly");N.A.off(J,Y),H&&N.A.on(J,Y,W=>{"backspace"===(0,_.YD)(W)&&W.preventDefault()})},_dispose:function(){var H=this.$element()[0];(0,c.p)(H,ee,null),clearTimeout(this.showValidationMessageTimeout),this._disposeValidationMessage(),this.callBase()},_setSubmitElementName:function(H){var J=this._getSubmitElement();J&&(H.length>0?J.attr("name",H):J.removeAttr("name"))},_getSubmitElement:function(){return null},_setValidationMessageOption:function(H){var J,{name:Y,value:W}=H;
1null===(J=this._validationMessage)||void 0===J||J.option(S[Y]?S[Y]:Y,W)},_hasActiveElement:g.lQ,_optionChanged:function(H){var J;switch(H.name){case"onValueChanged":this._createValueChangeAction();break;case"readOnly":this._toggleReadOnlyState(),this._refreshFocusState();break;case"value":H.value!=H.previousValue&&(this.option("isDirty",this._initialValue!==H.value),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===(J=this._validationMessage)||void 0===J||J.updateMaxWidth();break;case"name":this._setSubmitElementName(H.value);break;case"isValid":case"validationError":case"validationErrors":case"validationStatus":this.option(M.A.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._validationMessage,H);break;case"_showValidationMessage":case"isDirty":break;default:this.callBase(H)}},_resetToInitialValue:function(){this.option("value",this._initialValue)},blur:function(){this._hasActiveElement()&&(0,U.GX)()},clear:function(){var H=this._getDefaultOptions();this.option("value",H.value)},reset:function(){arguments.length&&(this._initialValue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0),this._resetToInitialValue(),this.option("isDirty",!1),this.option("isValid",!0)}});j.isEditor=H=>H instanceof j;const fe=j},3341:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(8059),c=a(9407),m=a(5042),x=a(2463),_=a(7951),b=a(2236),v=a(5333),M=a(2097),N=a(2984);const P=(0,_.X)({},b.A,{_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 v.q({store:new M.A(this.option("items")),pageSize:0}),this._initDataController())},_compileDisplayGetter:function(){this._displayGetter=(0,c.Hz)(this._displayGetterExpr())},_displayGetterExpr:function(){return this.option("displayExpr")},_compileValueGetter:function(){this._valueGetter=(0,c.Hz)(this._valueGetterExpr())},_valueGetterExpr:function(){return this.option("valueExpr")||"this"},_loadValue:function(g){var U=new N.cY;return g=this._unwrappedValue(g),(0,x.O9)(g)?(this._loadSingle(this._valueGetterExpr(),g).done(function(G){this._isValueEquals(this._valueGetter(G),g)?U.resolve(G):U.reject()}.bind(this)).fail(function(){U.reject()}),this._loadValueDeferred=U,U.promise()):U.reject().promise()},_rejectValueLoading:function(){var g;null===(g=this._loadValueDeferred)||void 0===g||g.reject({shouldSkipCallback:!0})},_getCurrentValue:function(){return this.option("value")},_unwrappedValue:function(g){var U;return(g=null!==(U=g)&&void 0!==U?U:this._getCurrentValue())&&this._dataSource&&"this"===this._valueGetterExpr()&&(g=this._getItemKey(g)),t.A.unwrap(g)},_getItemKey:function(g){var U=this._dataSource.key();if(Array.isArray(U)){for(var G={},A=0,K=U.length;A<K;A++)G[U[A]]=g[U[A]];return G}return U&&"object"==typeof g&&(g=g[U]),g},_isValueEquals:function(g,U){var G=this._dataSource&&this._dataSource.key(),A=this._compareValues(g,U);return!A&&G&&(0,x.O9)(g)&&(0,x.O9)(U)&&(A=Array.isArray(G)?this._compareByCompositeKey(g,U,G):this._compareByKey(g,U,G)),A},_compareByCompositeKey:function(g,U,G){var A=x.Gv;if(!A(g)||!A(U))return!1;for(var K=0,z=G.length;K<z;K++)if(g[G[K]]!==U[G[K]])return!1;return!0},_compareByKey:function(g,U,G){var A=t.A.unwrap,K=(0,m.YD)(A(g[G]),g),z=(0,m.YD)(A(U[G]),U);return this._compareValues(K,z)},_compareValues:function(g,U){return(0,c.ao)(g,!0)===(0,c.ao)(U,!0)},_initDynamicTemplates:m.lQ,_setCollectionWidgetItemTemplate:function(){this._initDynamicTemplates(),this._setCollectionWidgetOption("itemTemplate",this.option("itemTemplate"))},_getCollectionKeyExpr:function(){var g=this.option("valueExpr");return(0,x.Kg)(g)&&"this"!==g||(0,x.Tn)(g)?g:null},_dataExpressionOptionChanged:function(g){switch(g.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")}}})},219:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Y});var t=a(8168),c=a(4292),m=a(9407),x=a(7951),_=a(2101),b=a(3862),v=a(6018),M=a(6221),N=a(5042),p=a(2463),P=a(
17310),g=a(3019),U=a(2934),G=a(9845),A=a(7514);const z=M.A.inherit({ctor:function(){this._dataStructure=[],this._itemsCount=0,this._visibleItemsCount=0},_indexByKey:{},_convertItemsToNodes:function(W,re){var le=this;(0,_.__)(W,function(Re,Be){var Fe=(0,p.O9)(re)?re:le._getParentId(Be),ue=le._convertItemToNode(Be,Fe);le._dataStructure.push(ue),le._checkForDuplicateId(ue.internalFields.key),le._indexByKey[ue.internalFields.key]=le._dataStructure.length-1,le._itemHasChildren(Be)&&le._convertItemsToNodes(le._dataAccessors.getters.items(Be),ue.internalFields.key)})},_checkForDuplicateId:function(W){if((0,p.O9)(this._indexByKey[W]))throw P.A.Error("E1040",W)},_getParentId:function(W){return"plain"===this._dataType?this._dataAccessors.getters.parentKey(W):void 0},_itemHasChildren:function(W){if("plain"!==this._dataType){var re=this._dataAccessors.getters.items(W);return re&&re.length}},_getUniqueKey:function(W){var re=this._dataAccessors.getters.key,le=re(W);return re&&(le||0===le)&&(0,p.sO)(le)?le:this.getItemsCount()},_convertItemToNode:function(W,re){this._itemsCount++,!1!==W.visible&&this._visibleItemsCount++;var le={internalFields:{disabled:this._dataAccessors.getters.disabled(W,{defaultValue:!1}),expanded:this._dataAccessors.getters.expanded(W,{defaultValue:!1}),selected:this._dataAccessors.getters.selected(W,{defaultValue:!1}),key:this._getUniqueKey(W),parentKey:(0,p.O9)(re)?re:this._rootValue,item:this._makeObjectFromPrimitive(W),childrenKeys:[]}};return(0,x.X)(le,W),delete le.items,le},setChildrenKeys:function(){var W=this;(0,_.__)(this._dataStructure,function(re,le){if(le.internalFields.parentKey!==W._rootValue){var Re=W.getParentNode(le);Re&&Re.internalFields.childrenKeys.push(le.internalFields.key)}})},_makeObjectFromPrimitive:function(W){if((0,p.sO)(W)){var re=W;this._dataAccessors.setters.key(W={},re)}return W},_convertToPublicNode:function(W,re){if(!W)return null;var le={text:this._dataAccessors.getters.display(W),key:W.internalFields.key,selected:W.internalFields.selected,expanded:W.internalFields.expanded,disabled:W.internalFields.disabled,parent:re||null,itemData:W.internalFields.item,children:[],items:[]};return le.parent&&(le.parent.children.push(le),le.parent.items.push(le)),le},convertToPublicNodes:function(W,re){if(!W.length)return[];var le=this,Re=[];return(0,_.__)(W,function(Be,Fe){Fe=(0,p.sO)(Fe)?le._getByKey(Fe):Fe;var ue=le._convertToPublicNode(Fe,re);ue.children=le.convertToPublicNodes(Fe.internalFields.childrenKeys,ue),Re.push(ue),Fe.internalFields.publicNode=ue}),Re},setDataAccessors:function(W){this._dataAccessors=W},_getByKey:function(W){return this._dataStructure[this.getIndexByKey(W)]||null},getParentNode:function(W){return this._getByKey(W.internalFields.parentKey)},getByKey:function(W,re){if(null==re)return null;var ue,le=null,Re=this;return ue=re,(0,_.__)(W,function(ce,_e){if((_e.internalFields&&_e.internalFields.key||Re._dataAccessors.getters.key(_e)).toString()===ue.toString())return le=_e,!1}),le},getItemsCount:function(){return this._itemsCount},getVisibleItemsCount:function(){return this._visibleItemsCount},updateIndexByKey:function(){var W=this;this._indexByKey={},(0,_.__)(this._dataStructure,function(re,le){W._checkForDuplicateId(le.internalFields.key),W._indexByKey[le.internalFields.key]=re})},updateChildrenKeys:function(){this._indexByKey={},this.removeChildrenKeys(),this.updateIndexByKey(),this.setChildrenKeys()},removeChildrenKeys:function(){this._indexByKey={},(0,_.__)(this._dataStructure,function(W,re){re.internalFields.childrenKeys=[]})},getIndexByKey:function(W){return this._indexByKey[W]},createPlainStructure:function(W,re,le){return this._itemsCount=0,this._visibleItemsCount=0,this._rootValue=re,this._dataType=le,this._indexByKey={},this._convertItemsToNodes(W),this.setChildrenKeys(),this._dataStructure}});var ee="expanded",L="selected";g.A.setEditorClass(U.A);const R=M.A.inherit({ctor:function(W){this.options={},(0,x.X)(this.options,this._defaultOptions(),W),this.options.dataConverter.setDataAccessors(this.options.dataAccessors),this._selectedNodesKeys=[],this._expandedNodesKeys=[],this._dataStructure=[],this._createInternalDataStructure(),this.getTreeNodes()},setOption:function(W,re){this.options[W]=re,"recursiveSelection"===W&&this._updateSelection()},_defaultOptions:function(){return{dataAccessors:void 0,items:[],multipleSelection:!0,recursiveSelection:!1,recursiveExpansion:!1,root
1Value:0,searchValue:"",dataType:"tree",searchMode:"contains",dataConverter:new z,onNodeChanged:N.lQ,sort:null}},_createInternalDataStructure:function(){this._initialDataStructure=this.options.dataConverter.createPlainStructure(this.options.items,this.options.rootValue,this.options.dataType),this._dataStructure=this.options.searchValue.length?this.search(this.options.searchValue):this._initialDataStructure,this.options.dataConverter._dataStructure=this._dataStructure,this._updateSelection(),this._updateExpansion()},_updateSelection:function(){this.options.recursiveSelection&&(this._setChildrenSelection(),this._setParentSelection()),this._selectedNodesKeys=this._updateNodesKeysArray(L)},_updateExpansion:function(W){this.options.recursiveExpansion&&(W?this._updateOneBranch(W):this._setParentExpansion()),this._expandedNodesKeys=this._updateNodesKeysArray(ee)},_updateNodesKeysArray:function(W){var re=this,le=[];return(0,_.__)(re._getDataBySelectionMode(),function(Re,Be){re._isNodeVisible(Be)&&Be.internalFields[W]&&(W===ee||re.options.multipleSelection?le.push(Be.internalFields.key):(le.length&&re.toggleSelection(le[0],!1,!0),le=[Be.internalFields.key]))}),le},_getDataBySelectionMode:function(){return this.options.multipleSelection?this.getData():this.getFullData()},_isNodeVisible:function(W){return!1!==W.internalFields.item.visible},_getByKey:function(W,re){return W===this._dataStructure?this.options.dataConverter._getByKey(re):this.options.dataConverter.getByKey(W,re)},_setChildrenSelection:function(){var W=this;(0,_.__)(this._dataStructure,function(re,le){if(le.internalFields.childrenKeys.length){var Re=le.internalFields.selected;!0===Re&&W._toggleChildrenSelection(le,Re)}})},_setParentSelection:function(){var W=this;(0,_.__)(this._dataStructure,function(re,le){W.options.dataConverter.getParentNode(le)&&le.internalFields.parentKey!==W.options.rootValue&&W._iterateParents(le,function(Be){var Fe=W._calculateSelectedState(Be);W._setFieldState(Be,L,Fe)})})},_setParentExpansion:function(){var W=this;(0,_.__)(this._dataStructure,function(re,le){le.internalFields.expanded&&W._updateOneBranch(le.internalFields.key)})},_updateOneBranch:function(W){var re=this,le=this.getNodeByKey(W);re._iterateParents(le,function(Re){re._setFieldState(Re,ee,!0)})},_iterateChildren:function(W,re,le,Re){if((0,p.Tn)(le)){var Be=this,Fe=W.internalFields.key;-1===(Re=Re||[]).indexOf(Fe)&&(Re.push(Fe),(0,_.__)(W.internalFields.childrenKeys,function(ue,ce){var _e=Be.getNodeByKey(ce);le(_e),_e.internalFields.childrenKeys.length&&re&&Be._iterateChildren(_e,re,le,Re)}))}},_iterateParents:function(W,re,le){if(W.internalFields.parentKey!==this.options.rootValue&&(0,p.Tn)(re)){var Re=W.internalFields.key;if(-1===(le=le||[]).indexOf(Re)){le.push(Re);var Be=this.options.dataConverter.getParentNode(W);Be&&(re(Be),Be.internalFields.parentKey!==this.options.rootValue&&this._iterateParents(Be,re,le))}}},_calculateSelectedState:function(W){for(var re=W.internalFields.childrenKeys.length,le=0,Re=0,Be=!1,Fe=0;Fe<=re-1;Fe++){var ue=this.getNodeByKey(W.internalFields.childrenKeys[Fe]),_e=ue.internalFields.selected;!1===ue.internalFields.item.visible?Re++:_e?le++:void 0===_e&&(le+=.5)}return le&&(Be=le===re-Re||void 0),Be},_toggleChildrenSelection:function(W,re){var le=this;this._iterateChildren(W,!0,function(Re){le._isNodeVisible(Re)&&le._setFieldState(Re,L,re)})},_setFieldState:function(W,re,le){W.internalFields[re]!==le&&(W.internalFields[re]=le,W.internalFields.publicNode&&(W.internalFields.publicNode[re]=le),this.options.dataAccessors.setters[re](W.internalFields.item,le),this.options.onNodeChanged(W))},_markChildren:function(W){var re=this;(0,_.__)(W,function(le,Re){var Be=re.getIndexByKey(Re),Fe=re.getNodeByKey(Re);re._dataStructure[Be]=0,Fe.internalFields.childrenKeys.length&&re._markChildren(Fe.internalFields.childrenKeys)})},_removeNode:function(W){var re=this.getNodeByKey(W);this._dataStructure[this.getIndexByKey(W)]=0,this._markChildren(re.internalFields.childrenKeys);var le=this,Re=0,Be=(0,x.X)([],this._dataStructure);(0,_.__)(Be,function(Fe,ue){ue||(le._dataStructure.splice(Fe-Re,1),Re++)})},_addNode:function(W){var re=this.options.dataConverter,le=re._convertItemToNode(W,this.options.dataAccessors.getters.parentKey(W));this._dataStructure=this._dataStructure.concat(le),this._initialDataStructure=this._initialDataStructure.concat(le),re._dataStructure=re._dataStructure.concat(le)},_updateFields:function(){this.options.dataConverter.updateChildrenKeys(),this._updateSelection(),this._updateExpansion()},getSelectedNodesKeys:function(){return this._selectedNodesKeys},getExpandedNodesKeys:function(){return this._expandedNodesKeys},getData:function(){return this._dataStructure},getFullData:function(){return this._initialDataStructure},getNodeByItem:function(W){var re=null;return(0,_.__)(this._dataStructure,function(le,Re){if(Re.internalFields.item===W)return re=Re,!1}),re},getNodesByItems:function(W){var re=this,le=[];return(0,_.__)(W,function(Re,Be){var Fe=re.getNodeByItem(Be);Fe&&le.push(Fe)}),le},getNodeByKey:function(W,re){return this._getByKey(re||this._getDataBySelectionMode(),W)},getTreeNodes:function(){return this.options.dataConverter.convertToPublicNodes(this.getRootNodes())},getItemsCount:function(){return this.options.dataConverter.getItemsCount()},getVisibleItemsCount:function(){return this.options.dataConverter.getVisibleItemsCount()},getPublicNode:function(W){return W.internalFields.publicNode},getRootNodes:function(){return this.getChildrenNodes(this.options.rootValue)},getChildrenNodes:function(W){return(0,G.A)(this._dataStructure,{langParams:this.options.langParams}).filter(["internalFields.parentKey",W]).toArray()},getIndexByKey:function(W){return this.options.dataConverter.getIndexByKey(W)},addItem:function(W){this._addNode(W),this._updateFields()},removeItem:function(W){this._removeNode(W),this._updateFields()},toggleSelection:function(W,re,le){var Re=this._isSingleModeUnselect(re),Be=this._getByKey(le||Re?this._initialDataStructure:this._dataStructure,W);this._setFieldState(Be,L,re),this.options.recursiveSelection&&!le&&(re?this._setChildrenSelection():this._toggleChildrenSelection(Be,re),this._setParentSelection()),this._selectedNodesKeys=this._updateNodesKeysArray(L)},_isSingleModeUnselect:function(W){return!this.options.multipleSelection&&!W},toggleNodeDisabledState:function(W,re){var le=this.getNodeByKey(W);this._setFieldState(le,"disabled",re)},toggleSelectAll:function(W){if((0,p.O9)(W)){var re=this,le=re._selectedNodesKeys[re._selectedNodesKeys.length-1],Re=re._isSingleModeUnselect(W)?this._initialDataStructure:this._dataStructure;(0,_.__)(Re,function(Be,Fe){re._isNodeVisible(Fe)&&re._setFieldState(Fe,L,W)}),re._selectedNodesKeys=re._updateNodesKeysArray(L),!W&&re.options.selectionRequired&&re.toggleSelection(le,!0)}},isAllSelected:function(){return!!this.getSelectedNodesKeys().length&&(this.getSelectedNodesKeys().length===this.getVisibleItemsCount()||void 0)},toggleExpansion:function(W,re){var le=this.getNodeByKey(W);this._setFieldState(le,ee,re),re&&this._updateExpansion(W),this._expandedNodesKeys=this._updateNodesKeysArray(ee)},isFiltered:function(W){return!this.options.searchValue.length||!!this._filterDataStructure(this.options.searchValue,[W]).length},_createCriteria:function(W,re,le){var Re=[];return Array.isArray(W)?((0,_.__)(W,function(Be,Fe){Re.push([Fe,le,re],"or")}),Re.pop(),Re):[W,le,re]},_filterDataStructure:function(W,re){var le=this.options.searchExpr||this.options.dataAccessors.getters.display,Re=g.A.getOperationBySearchMode(this.options.searchMode),Be=this._createCriteria(le,W,Re);return(0,G.A)(re=re||this._initialDataStructure,{langParams:this.options.langParams}
1).filter(Be).toArray()},search:function(W){var re=this,le=this._filterDataStructure(W),Re=this.options.dataConverter;return function Be(Fe,ue){for(var ce=Fe.length;ue<ce;){var _e=Fe[ue];if(_e.internalFields.parentKey!==re.options.rootValue){var ne=Re.getParentNode(_e);ne?(ne.internalFields.expanded||re._setFieldState(ne,ee,!0),Fe.includes(ne)?ue++:(Fe.splice(ue,0,ne),Be(Fe,ue))):(P.A.log("W1007",_e.internalFields.parentKey,_e.internalFields.key),ue++)}else ue++}}(le,0),this.options.sort&&(le=A.A.queryByOptions((0,G.A)(le),{sort:this.options.sort,langParams:this.options.langParams}).toArray()),Re._indexByKey={},(0,_.__)(le,function(Be,Fe){Fe.internalFields.childrenKeys=[],Re._indexByKey[Fe.internalFields.key]=Be}),Re._dataStructure=le,Re.setChildrenKeys(),Re._dataStructure}});var S=a(4874),j=a(6311);const Y=S.A.inherit({_getDefaultOptions:function(){return(0,x.X)(this.callBase(),{keyExpr:"id",displayExpr:"text",selectedExpr:"selected",disabledExpr:"disabled",itemsExpr:"items",hoverStateEnabled:!0,parentIdExpr:"parentId",expandedExpr:"expanded"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===b.A.real().deviceType&&!b.A.isSimulator()},options:{focusStateEnabled:!0}}])},_init:function(){this.callBase(),this._initAccessors(),this._initDataAdapter(),this._initDynamicTemplates()},_initDataSource:function(){this.callBase(),this._dataSource&&this._dataSource.paginate(!1)},_initDataAdapter:function(){var W=this._createDataAdapterAccessors();this._dataAdapter=new R((0,x.X)({dataAccessors:{getters:W.getters,setters:W.setters},items:this.option("items")},this._getDataAdapterOptions()))},_getDataAdapterOptions:N.lQ,_getItemExtraPropNames:N.lQ,_initDynamicTemplates:function(){var W=["text","html","items","icon"].concat(this._getItemExtraPropNames());this._templateManager.addDefaultTemplates({item:new j.U(this._addContent.bind(this),W,this.option("integrationOptions.watchMethod"),{text:this._displayGetter,items:this._itemsGetter})})},_addContent:function(W,re){W.html(re.html).append(this._getIconContainer(re)).append(this._getTextContainer(re))},_getLinkContainer:function(W,re,le){var{linkAttr:Re,url:Be}=le,Fe=(0,p.Gv)(Re)?Re:{};return(0,c.A)("<a>").addClass("dx-item-url").attr((0,t.A)({},Fe,{href:Be})).append(W).append(re)},_getIconContainer:function(W){if(W.icon){var re=(0,v.N)(W.icon);return re.is("img")&&re.attr("alt","".concat(this.NAME," item icon")),re}},_getTextContainer:function(W){return(0,c.A)("<span>").text(W.text)},_initAccessors:function(){var W=this;(0,_.__)(this._getAccessors(),function(re,le){W._compileAccessor(le)}),this._compileDisplayGetter()},_getAccessors:function(){return["key","selected","items","disabled","parentId","expanded"]},_getChildNodes:function(W){var re=this,le=[];return(0,_.__)(W.internalFields.childrenKeys,function(Re,Be){var Fe=re._dataAdapter.getNodeByKey(Be);le.push(Fe)}),le},_hasChildren:function(W){return W&&W.internalFields.childrenKeys.length},_compileAccessor:function(W){var re="_"+W+"Getter",le="_"+W+"Setter",Re=this.option(W+"Expr");return Re?(0,p.Tn)(Re)?(this[le]=function(Be,Fe){Be[Re()]=Fe},void(this[re]=function(Be){return Be[Re()]})):(this[re]=(0,m.Hz)(Re),void(this[le]=(0,m.vL)(Re))):(this[re]=N.lQ,void(this[le]=N.lQ))},_createDataAdapterAccessors:function(){var W=this,re={getters:{},setters:{}};return(0,_.__)(this._getAccessors(),function(le,Re){var Fe="_"+Re+"Setter",ue="parentId"===Re?"parentKey":Re;re.getters[ue]=W["_"+Re+"Getter"],re.setters[ue]=W[Fe]}),re.getters.display=this._displayGetter?this._displayGetter:le=>le.text,re},_initMarkup:function(){this.callBase(),this._addWidgetClass()},_addWidgetClass:function(){this._focusTarget().addClass(this._widgetClass())},_widgetClass:N.lQ,_renderItemFrame:function(W,re){var le=this.callBase.apply(this,arguments);return le.toggleClass("dx-state-disabled",!!this._disabledGetter(re)),le},_optionChanged:function(W){switch(W.name){case"displayExpr":case"keyExpr":this._initAccessors(),this._initDynamicTemplates(),this.repaint();break;case"itemsExpr":case"selectedExpr":case"disabledExpr":case"expandedExpr":case"parentIdExpr":this._initAccessors(),this._initDataAdapter(),this.repaint();break;case"items":this._initDataAdapter(),this.callBase(W);break;default:this.callBase(W)}}})},9067:(Nt,Le,a)=>{"use strict";var t=a(3019),c=a(2934);t.A.setEditorClass(c.A)},9700:(Nt,Le,a)=>{"use strict";var t=a(4292),c=a(1269),m=a(8060),x=a(7951),_=a(7310),b=a(9454),v=a(3862),M=a(4905),N=a(4831),p=a(9104),g="dx-radiobutton-icon",K=N.A.inherit({_supportedKeys:function(){return(0,x.X)(this.callBase(),{space:function(re){re.preventDefault(),this._clickAction({event:re})}})},_getDefaultOptions:function(){return(0,x.X)(this.callBase(),{hoverStateEnabled:!0,activeStateEnabled:!0,value:!1})},_canValueBeChangedByClick:function(){return!0},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"desktop"===v.A.real().deviceType&&!v.A.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,t.A)("<div>").addClass(g),(0,t.A)("<div>").addClass("dx-radiobutton-icon-dot").appendTo(this._$icon),this.$element().append(this._$icon)},_renderCheckedState:function(re){this.$element().toggleClass("dx-radiobutton-checked",re).find("."+g).toggleClass("dx-radiobutton-icon-checked",re),this.setAria("checked",re)},_renderClick:function(){var re=(0,p.b4)(m.U,this.NAME);this._clickAction=this._createAction(function(le){this._clickHandler(le.event)}.bind(this)),c.A.off(this.$element(),re),c.A.on(this.$element(),re,function(le){this._clickAction({event:le})}.bind(this))},_clickHandler:function(re){this._saveValueChangeEvent(re),this.option("value",!0)},_optionChanged:function(re){"value"===re.name?(this._renderCheckedState(re.value),this.callBase(re)):this.callBase(re)}});(0,M.A)("dxRadioButton",K);const z=K;var ee=a(2836),L=a(8180),f="dx-list-select-decorator-enabled",W=(0,p.b4)(m.U,"dxListEditDecorator");(0,ee.k)("selection","default",L.A.inherit({_init:function(){this.callBase.apply(this,arguments);var re=this._list.option("selectionMode");this._singleStrategy="single"===re,this._containerClass=this._singleStrategy?"dx-list-select-radiobutton-container":"dx-list-select-checkbox-container",this._controlClass=this._singleStrategy?"dx-list-select-radiobutton":"dx-list-select-checkbox",this._controlWidget=this._singleStrategy?z:b.A,this._list.$element().addClass(f)},beforeBag:function(re){var le=re.$itemElement,Re=re.$container.addClass(this._containerClass),Be=(0,t.A)("<div>").addClass(this._controlClass).appendTo(Re);new this._controlWidget(Be,(0,x.X)(this._commonOptions(),{value:this._isSelected(le),elementAttr:{"aria-label":"Check State"},focusStateEnabled:!1,hoverStateEnabled:!1,onValueChanged:function(Fe){Fe.event&&this._list._saveSelectionChangeEvent(Fe.event),this._processCheckedState(le,Fe.value),Fe.event&&Fe.event.stopPropagation()}.bind(this)}))},modifyElement:function(re){this.callBase.apply(this,arguments);var le=re.$itemElement,Re=this._controlWidget.getInstance(le.find("."+this._controlClass));c.A.on(le,"stateChanged",function(Be,Fe){Re.option("value",Fe)}.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(re,le){var Re=!le,Be=this._list,Fe=this._$selectAll,ue=Be._getLastItemIndex();return!(!Fe||!(le&&0===re||Re&&re===ue)||(Be.option("focusedElement",Fe),Be.scrollToItem(Be.option("focusedElement")),0))},handleEnterPressing:function(re){if(this._$selectAll&&this._$selectAll.hasClass("dx-state-focused"))return re.target=this._$selectAll.get(0),this._list._saveSelectionChangeEvent(re),this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value")),!0},_renderSelectAll:function(){var re=this._$selectAll=(0,t.A)("<div>").addClass("dx-list-select-all"),le=this._list,Re=le._supportedKeys().downArrow.bind(le);this._selectAllCheckBox=le._createComponent((0,t.A)("<div>").addClass("dx-list-select-all-checkbox").appendTo(re),b.A,{elementAttr:{"aria-label":"Select All"},focusStateEnabled:!1,hoverStateEnabled:!1}),this._selectAllCheckBox.registerKeyHandler("downArrow",Re),(0,t.A)("<div>").addClass("dx-list-select-all-label").text(this._list.option("selectAllText")).appendTo(re),this._list.itemsContainer().prepend(re),this._updateSelectAllState(),this._attachSelectAllHandler()},_attachSelectAllHandler:function(){this._selectAllCheckBox.option("onValueChanged",this._selectAllHandler.bind(this)),c.A.off(this._$selectAll,W),c.A.on(this._$selectAll,W,this._selectAllClickHandler.bind(this))},_selectAllHandler:function(re){re.event&&re.event.stopPropagation();var le=this._selectAllCheckBox.option("value");re.event&&this._list._saveSelectionChangeEvent(re.event),!0===le?this._selectAllItems():!1===le&&this._unselectAllItems(),this._list._createActionByOption("onSelectAllValueChanged")({value:le})},_checkSelectAllCapability:function(){var re=this._list,le=re._dataController;return!("allPages"===re.option("selectAllMode")&&re.option("grouped")&&!le.group()&&(_.A.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(re){this._list._saveSelectionChangeEvent(re),this._selectAllCheckBox.option("value",!this._selectAllCheckBox.option("value"))},_isSelected:function(re){return this._list.isItemSelected(re)},_processCheckedState:function(re,le){le?this._list.selectItem(re):this._list.unselectItem(re)},dispose:function(){this._disposeSelectAll(),this._list.$element().removeClass(f),this.callBase.apply(this,arguments)},_disposeSelectAll:function(){this._$selectAll&&(this._$selectAll.remove(),this._$selectAll=null)}}))},1207:(Nt,Le,a)=>{"use strict";a.d(Le,{i:()=>ze});var t=a(186),c=a(4292),m=a(1269),x=a(5042),_=a(2463),b=a(6018),v=a(181),M=a(2101),N=a(9407),p=a(7951),P=a(3930),g=a(8060),U=a(4361),G=a(9900),A=a(736),K=a(6115),z=a(3862),ee=a(2338),L="dx-list-item-badge-container",R="dx-list-item-chevron-container";const fe=ee.A.inherit({_renderWatchers:function(){this.callBase(),this._startWatcher("badge",this._renderBadge.bind(this)),this._startWatcher("showChevron",this._renderShowChevron.bind(this))},_renderBadge:function(X){if(this._$element.children("."+L).remove(),X){var Ve=(0,c.A)("<div>").addClass(L).append((0,c.A)("<div>").addClass("dx-list-item-badge").addClass("dx-badge").text(X)),st=this._$element.children("."+R).first();st.length>0?Ve.insertBefore(st):Ve.appendTo(this._$element)}},_renderShowChevron:function(X){if(this._$element.children("."+R).remove(),X){var Ve=(0,c.A)("<div>").addClass(R),st=(0,c.A)("<div>").addClass("dx-list-item-chevron");Ve.append(st).appendTo(this._$element)}}});var H=a(2839),J=a(9104),Y=a(1299),W=a(4435),re=a(6121),le=a(9301),Re=a(2636),Be=a(6311),Fe=a(2984),ue=a(5788),ce=a(8745),_e=a(9228);function Z(X,Ve){var st=function ne(X){var Ve,st;return X&&(0,W.Vd)()?null===(Ve=(st=(0,W.zk)()).getComputedStyle)||void 0===Ve?void 0:Ve.call(st,X):null}(X);return st?(0,_e.R)(st["margin".concat((0,ce.Ns)(Ve))]):0}var De=a(3992),dt="dx-list-item",Je="."+dt,Ee="dx-list-group",He="dx-list-group-header",Ot="dx-list-group-body",un="dx-list-group-collapsed",vt=(0,N.Hz)("items"),ze=Re.A.inherit({_activeStateUnit:[Je,".dx-list-select-all"].join(","),_supportedKeys:function(){var X=this,Ve=function(at){var Te,ft,At,V=st(at);V.is(X.option("focusedElement"))&&(ft=at,At=(Te=V).position().top,"prev"===ft&&(At=Te.position().top-(0,t.Oq)(X.$element())+(0,t.P$)(Te)),X.scrollTo(At),V=st(at)),X.option("focusedElement",(0,v.c)(V)),X.scrollToItem(V)};function st(at){var V=X.scrollTop(),pe=(0,t.Oq)(X.$element()),Te=(0,c.A)(X.option("focusedElement")),ft=!0;if(!Te.length)return(0,c.A)();for(;ft;){var At=Te[at]();if(!At.length)break;var sn=At.position().top+(0,t.P$)(At)/2;(ft=sn<pe+V&&sn>V)&&(Te=At)}return Te}return(0,p.X)(this.callBase(),{leftArrow:x.lQ,rightArrow:x.lQ,pageUp:function(){return Ve("prev"),!1},pageDown:function(){return Ve("next"),!1}})},_getDefaultOptions:function(){return(0,p.X)(this.callBase(),{hoverStateEnabled:!0,pullRefreshEnabled:!1,scrollingEnabled:!0,selectByClick:!0,showScrollbar:"onScroll",useNativeScrolling:!0,bounceEnabled:!0,scrollByContent:!0,scrollByThumb:!1,pullingDownText:A.A.format("dxList-pullingDownText"),pulledDownText:A.A.format("dxList-pulledDownText"),refreshingText:A.A.format("dxList-refreshingText"),pageLoadingText:A.A.format("dxList-pageLo
1adingText"),onScroll:null,onPullRefresh:null,onPageLoading:null,pageLoadMode:"scrollBottom",nextButtonText:A.A.format("dxList-nextButtonText"),onItemSwipe:null,grouped:!1,onGroupRendered:null,collapsibleGroups:!1,groupTemplate:"group",indicateLoading:!0,activeStateEnabled:!0,_itemAttributes:{role:"option"},useInkRipple:!1,wrapItemText:!1,_swipeEnabled:!0,showChevronExpr:function(X){return X?X.showChevron:void 0},badgeExpr:function(X){return X?X.badge:void 0}})},_defaultOptionsRules:function(){var X=(0,Y.ss)();return this.callBase().concat((0,le.M)(),[{device:function(){return!G.nativeScrolling},options:{useNativeScrolling:!1}},{device:function(Ve){return!G.nativeScrolling&&!z.A.isSimulator()&&"desktop"===z.A.real().deviceType&&"generic"===Ve.platform},options:{showScrollbar:"onHover",pageLoadMode:"nextButton"}},{device:function(){return"desktop"===z.A.real().deviceType&&!z.A.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return(0,Y.gx)(X)},options:{useInkRipple:!0}},{device:function(){return(0,Y.Nt)(X)},options:{pullingDownText:"",pulledDownText:"",refreshingText:"",pageLoadingText:""}}])},_visibilityChanged:function(X){X&&this._updateLoadingState(!0)},_itemClass:function(){return dt},_itemDataKey:function(){return"dxListItemData"},_itemContainer:function(){return this._$container},_getItemsContainer:function(){return this._$listContainer},_cleanItemContainer:function(){this.callBase();var X=this._getItemsContainer();(0,c.A)(X).empty(),X.appendTo(this._$container)},_saveSelectionChangeEvent:function(X){this._selectionChangeEventInstance=X},_getSelectionChangeEvent:function(){return this._selectionChangeEventInstance},_refreshItemElements:function(){this._itemElementsCache=this.option("grouped")?this._getItemsContainer().children("."+Ee).children("."+Ot).children(this._itemSelector()):this._getItemsContainer().children(this._itemSelector())},_modifyByChanges:function(){this.callBase.apply(this,arguments),this._refreshItemElements(),this._updateLoadingState(!0)},reorderItem:function(X,Ve){return this.callBase(X,Ve).done(function(){this._refreshItemElements()})},deleteItem:function(X){return this.callBase(X).done(function(){this._refreshItemElements()})},_itemElements:function(){return this._itemElementsCache},_itemSelectHandler:function(X){if("single"!==this.option("selectionMode")||!this.isItemSelected(X.currentTarget))return this.callBase(X)},_allowDynamicItemsAppend:function(){return!0},_init:function(){this.callBase(),this._dataController.resetDataSourcePageIndex(),this._$container=this.$element(),this._$listContainer=(0,c.A)("<div>").addClass("dx-list-items"),this._initScrollView(),this._feedbackShowTimeout=70,this._createGroupRenderAction()},_scrollBottomMode:function(){return"scrollBottom"===this.option("pageLoadMode")},_nextButtonMode:function(){return"nextButton"===this.option("pageLoadMode")},_dataSourceOptions:function(){var X=this._scrollBottomMode(),Ve=this._nextButtonMode();return(0,p.X)(this.callBase(),{paginate:(0,x.YD)(X||Ve,!0)})},_getGroupedOption:function(){return this.option("grouped")},_getGroupContainerByIndex:function(X){return this._getItemsContainer().find(".".concat(Ee)).eq(X).find(".".concat(Ot))},_dataSourceFromUrlLoadMode:function(){return"raw"},_initScrollView:function(){var X=this.option("scrollingEnabled"),Ve=X&&this.option("pullRefreshEnabled"),st=X&&this._scrollBottomMode()&&!!this._dataController.getDataSource();this._scrollView=this._createComponent(this.$element(),function pt(){return re.A}(),{height:this.option("height"),width:this.option("width"),disabled:this.option("disabled")||!X,onScroll:this._scrollHandler.bind(this),onPullDown:Ve?this._pullDownHandler.bind(this):null,onReachBottom:st?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,c.A)(this._scrollView.content()),this._$listContainer.appendTo(this._$container),this._toggleWrapItemText(this.option("wrapItemText")),this._createScrollViewActions()},_toggleWrapItemText:function(X){this._$listContainer.toggleClass("dx-wrap-item-text",X)},_createScrollViewActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._pullRefreshAction=this._createActionByOption("onPullRefresh"),this._pageLoadingAction=this._createActionByOption("onPageLoading")},_scrollHandler:function(X){this._scrollAction&&this._scrollAction(X)},_initTemplates:function(){this._templateManager.addDefaultTemplates({group:new Be.U(function(X,Ve){(0,_.Qd)(Ve)?Ve.key&&X.text(Ve.key):X.text(String(Ve))},["key"],this.option("integrationOptions.watchMethod"))}),this.callBase()},_prepareDefaultItemTemplate:function(X,Ve){if(this.callBase(X,Ve),X.icon){var st=(0,b.N)(X.icon).addClass("dx-list-item-icon"),at=(0,c.A)("<div>").addClass("dx-list-item-icon-container");at.append(st),Ve.prepend(at)}},_getBindableFields:function(){return["text","html","icon"]},_updateLoadingState:function(X){var Ve=this._dataController,st=this._scrollBottomMode()&&X&&!Ve.isLoading()&&!this._isLastPage();this._shouldContinueLoading(st)?this._infiniteDataLoading():(this._scrollView.release(!st&&!Ve.isLoading()),this._toggleNextButton(this._shouldRenderNextButton()&&!this._isLastPage()),this._loadIndicationSuppressed(!1))},_shouldRenderNextButton:function(){return this._nextButtonMode()&&this._dataController.isLoaded()},_isDataSourceFirstLoadCompleted:function(X){return(0,_.O9)(X)&&(this._isFirstLoadCompleted=X),this._isFirstLoadCompleted},_dataSourceLoadingChangedHandler:function(X){this._loadIndicationSuppressed()||(X&&this.option("indicateLoading")?this._showLoadingIndicatorTimer=setTimeout(function(){var at;!this._itemElements().length&&!this._isDataSourceFirstLoadCompleted()||null===(at=this._scrollView)||void 0===at||at.startLoading()}.bind(this)):(clearTimeout(this._showLoadingIndicatorTimer),this._scrollView&&this._scrollView.finishLoading()),X||this._isDataSourceFirstLoadCompleted(!1))},_dataSourceChangedHandler:function(){!this._shouldAppendItems()&&(0,W.Vd)()&&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(X){if(!arguments.length)return this._isLoadIndicationSuppressed;this._isLoadIndicationSuppressed=X},_scrollViewIsFull:function(){var X=this._scrollView;return!X||(0,t.Oq)(X.content())>(0,t.Oq)(X.container())},_pullDownHandler:function(X){this._pullRefreshAction(X);var Ve=this._dataController;
1Ve.getDataSource()&&!Ve.isLoading()?(this._clearSelectedItems(),Ve.pageIndex(0),Ve.reload()):this._updateLoadingState()},_shouldContinueLoading:function(X){var Ve,st,at=(0,t.Oq)(this._scrollView.content())-(0,t.Oq)(this._scrollView.container())<(null!==(Ve=null===(st=this._scrollView.scrollOffset())||void 0===st?void 0:st.top)&&void 0!==Ve?Ve:0);return X&&(!this._scrollViewIsFull()||at)},_infiniteDataLoading:function(){this.$element().is(":visible")&&(clearTimeout(this._loadNextPageTimer),this._loadNextPageTimer=setTimeout(()=>{this._loadNextPage()}))},_scrollBottomHandler:function(X){this._pageLoadingAction(X),this._dataController.isLoading()||this._isLastPage()?this._updateLoadingState():this._loadNextPage()},_renderItems:function(X){this.option("grouped")?((0,M.__)(X,this._renderGroup.bind(this)),this._attachGroupCollapseEvent(),this._renderEmptyMessage(),(0,Y.gx)()&&this.attachGroupHeaderInkRippleEvents()):this.callBase.apply(this,arguments),this._refreshItemElements(),this._updateLoadingState(!0)},_attachGroupCollapseEvent:function(){var X=(0,J.b4)(g.U,this.NAME),Ve="."+He,st=this.$element(),at=this.option("collapsibleGroups");st.toggleClass("dx-list-collapsible-groups",at),m.A.off(st,X,Ve),at&&m.A.on(st,X,Ve,function(V){this._createAction(function(pe){var Te=(0,c.A)(pe.event.currentTarget).parent();this._collapseGroupHandler(Te),this.option("focusStateEnabled")&&this.option("focusedElement",(0,v.c)(Te.find("."+dt).eq(0)))}.bind(this),{validatingTargetName:"element"})({event:V})}.bind(this))},_collapseGroupHandler:function(X,Ve){var st=new Fe.cY;if(X.hasClass(un)===Ve)return st.resolve();var at=X.children("."+Ot),V=(0,t.P$)(at),pe=0;return 0===V&&((0,t.k$)(at,"auto"),pe=(0,t.P$)(at)),X.toggleClass(un,Ve),P.A.animate(at,{type:"custom",from:{height:V},to:{height:pe},duration:200,complete:function(){this.updateDimensions(),this._updateLoadingState(!0),st.resolve()}.bind(this)}),st.promise()},_dataSourceLoadErrorHandler:function(){this._forgetNextPageLoading(),this._initialized&&(this._renderEmptyMessage(),this._updateLoadingState())},_initMarkup:function(){this._itemElementsCache=(0,c.A)(),this.$element().addClass("dx-list"),this.callBase(),this.option("useInkRipple")&&this._renderInkRipple(),this.setAria({role:"group",roledescription:"list"},this.$element()),this.setAria({role:"group"},this._focusTarget()),this._setListAria()},_setListAria(){var{items:X}=this.option();this.setAria(null!=X&&X.length?{role:"listbox",label:"Items"}:{role:void 0,label:void 0},this._$listContainer)},_focusTarget:function(){return this._itemContainer()},_renderInkRipple:function(){this._inkRipple=(0,K.XX)()},_toggleActiveState:function(X,Ve,st){this.callBase.apply(this,arguments);var at=this;if(this._inkRipple){var V={element:X,event:st};Ve?(0,Y.gx)()?this._inkRippleTimer=setTimeout(function(){at._inkRipple.showWave(V)},35):at._inkRipple.showWave(V):(clearTimeout(this._inkRippleTimer),this._inkRipple.hideWave(V))}},_postprocessRenderItem:function(X){this._refreshItemElements(),this.callBase.apply(this,arguments),this.option("_swipeEnabled")&&this._attachSwipeEvent((0,c.A)(X.itemElement))},_attachSwipeEvent:function(X){var Ve=(0,J.b4)(U._N,this.NAME);m.A.on(X,Ve,this._itemSwipeEndHandler.bind(this))},_itemSwipeEndHandler:function(X){this._itemDXEventHandler(X,"onItemSwipe",{direction:X.offset<0?"left":"right"})},_nextButtonHandler:function(X){this._pageLoadingAction(X);var Ve=this._dataController;Ve.getDataSource()&&!Ve.isLoading()&&(this._scrollView.toggleLoading(!0),this._$nextButton.detach(),this._loadIndicationSuppressed(!0),this._loadNextPage())},_renderGroup:function(X,Ve){var st=(0,c.A)("<div>").addClass(Ee).appendTo(this._getItemsContainer()),at="dx-".concat((new De.A).toString());this.setAria({role:"group",labelledby:at},st);var pe=(0,c.A)("<div>").addClass(He).attr("id",at).appendTo(st),Te=this.option("groupTemplate"),ft=this._getTemplate(Ve.template||Te,Ve,X,pe),At={index:X,itemData:Ve,container:(0,v.c)(pe)};this._createItemByTemplate(ft,At),(0,c.A)("<div>").addClass("dx-list-group-header-indicator").prependTo(pe),this._renderingGroupIndex=X;var sn=(0,c.A)("<div>").addClass(Ot).appendTo(st);(0,M.__)(vt(Ve)||[],function(Bt,Ut){this._renderItem({group:X,item:Bt},Ut,sn)}.bind(this)),this._groupRenderAction({groupElement:(0,v.c)(st),groupIndex:X,groupData:Ve})},downInkRippleHandler:function(X){this._toggleActiveState((0,c.A)(X.currentTarget),!0,X)},upInkRippleHandler:function(X){this._toggleActiveState((0,c.A)(X.currentTarget),!1)},attachGroupHeaderInkRippleEvents:function(){var X="."+He,Ve=this.$element();this._downInkRippleHandler=this._downInkRippleHandler||this.downInkRippleHandler.bind(this),this._upInkRippleHandler=this._upInkRippleHandler||this.upInkRippleHandler.bind(this);var st=[Ve,"dxpointerdown",X,this._downInkRippleHandler],at=[Ve,"dxpointerup dxpointerout",X,this._upInkRippleHandler];m.A.off(...st),m.A.on(...st),m.A.off(...at),m.A.on(...at)},_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(X){this.callBase(X),this._scrollView.option("disabled",X||!this.option("scrollingEnabled"))},_toggleNextButton:function(X){var Ve=this._dataController,st=this._getNextButton();this.$element().toggleClass("dx-has-next",X),X&&Ve.isLoaded()&&st.appendTo(this._itemContainer()),X||st.detach()},_getNextButton:function(){return this._$nextButton||(this._$nextButton=this._createNextButton()),this._$nextButton},_createNextButton:function(){var X=(0,c.A)("<div>").addClass("dx-list-next-button"),Ve=(0,c.A)("<div>").appendTo(X);return this._createComponent(Ve,H.A,{text:this.option("nextButtonText"),onClick:this._nextButtonHandler.bind(this),type:(0,Y.Nt)()?"default":void 0,integrationOptions:{}}),X},_moveFocus:function(){this.callBase.apply(this,arguments),this.scrollToItem(this.option("focusedElement"))}
1,_refresh:function(){if((0,W.Vd)()){var X=this._scrollView.scrollTop();this.callBase(),X&&this._scrollView.scrollTo(X)}else this.callBase()},_optionChanged:function(X){switch(X.name){case"pageLoadMode":this._toggleNextButton(X.value),this._initScrollView();break;case"dataSource":this.callBase(X),this._initScrollView(),this._isDataSourceFirstLoadCompleted(!1);break;case"items":this.callBase(X),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._toggleWrapItemText(X.value);break;case"onGroupRendered":this._createGroupRenderAction();break;case"width":case"height":this.callBase(X),this._scrollView.option(X.name,X.value),this._scrollView.update();break;case"indicateLoading":this._hideLoadingIfLoadIndicationOff();break;case"visible":this.callBase(X),this._scrollView.update();break;case"rtlEnabled":this._initScrollView(),this.callBase(X);break;case"_swipeEnabled":case"selectByClick":break;default:this.callBase(X)}},_extendActionArgs:function(X){if(!this.option("grouped"))return this.callBase(X);var Ve=X.closest("."+Ee),st=Ve.find("."+dt);return(0,p.X)(this.callBase(X),{itemIndex:{group:Ve.index(),item:st.index(X)}})},expandGroup:function(X){var Ve=new Fe.cY,st=this._getItemsContainer().find(".".concat(Ee)).eq(X);return this._collapseGroupHandler(st,!1).done(function(){Ve.resolveWith(this)}.bind(this)),Ve.promise()},collapseGroup:function(X){var Ve=new Fe.cY,st=this._getItemsContainer().find(".".concat(Ee)).eq(X);return this._collapseGroupHandler(st,!0).done(function(){Ve.resolveWith(this)}.bind(this)),Ve},updateDimensions:function(){var X=this,Ve=new Fe.cY;return X._scrollView?X._scrollView.update().done(function(){!X._scrollViewIsFull()&&X._updateLoadingState(!0),Ve.resolveWith(X)}):Ve.resolveWith(X),Ve.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(X){this._scrollView.scrollBy(X)},scrollTo:function(X){this._scrollView.scrollTo(X)},scrollToItem:function(X){var Ve=this._editStrategy.getItemElement(X),st=Ve?.get(0);this._scrollView.scrollToElement(st,{bottom:Z(st,"bottom")})},_dimensionChanged:function(){this.updateDimensions()}}).include(ue.A);ze.ItemClass=fe},8180:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>U});var t=a(186),c=a(4292),m=a(1269),x=a(5042),_=a(6221),b=a(4361),v=a(9104),M="dxListEditDecorator",N=(0,v.b4)(b.ni,M),p=(0,v.b4)(b.By,M),P=(0,v.b4)(b._N,M);const U=_.A.inherit({ctor:function(G){this._list=G,this._init()},_init:x.lQ,_shouldHandleSwipe:!1,_attachSwipeEvent:function(G){var A={itemSizeFunc:function(){return this._clearSwipeCache&&(this._itemWidthCache=(0,t.RG)(this._list.$element()),this._clearSwipeCache=!1),this._itemWidthCache}.bind(this)};m.A.on(G.$itemElement,N,A,this._itemSwipeStartHandler.bind(this)),m.A.on(G.$itemElement,p,this._itemSwipeUpdateHandler.bind(this)),m.A.on(G.$itemElement,P,this._itemSwipeEndHandler.bind(this))},_itemSwipeStartHandler:function(G){var A=(0,c.A)(G.currentTarget);A.is(".dx-state-disabled, .dx-state-disabled *")?G.cancel=!0:(clearTimeout(this._list._inkRippleTimer),this._swipeStartHandler(A,G))},_itemSwipeUpdateHandler:function(G){var A=(0,c.A)(G.currentTarget);this._swipeUpdateHandler(A,G)},_itemSwipeEndHandler:function(G){var A=(0,c.A)(G.currentTarget);this._swipeEndHandler(A,G),this._clearSwipeCache=!0},beforeBag:x.lQ,afterBag:x.lQ,_commonOptions:function(){return{activeStateEnabled:this._list.option("activeStateEnabled"),hoverStateEnabled:this._list.option("hoverStateEnabled"),focusStateEnabled:this._list.option("focusStateEnabled")}},modifyElement:function(G){this._shouldHandleSwipe&&(this._attachSwipeEvent(G),this._clearSwipeCache=!0)},afterRender:x.lQ,handleClick:x.lQ,handleKeyboardEvents:x.lQ,handleEnterPressing:x.lQ,handleContextMenu:x.lQ,_swipeStartHandler:x.lQ,_swipeUpdateHandler:x.lQ,_swipeEndHandler:x.lQ,visibilityChange:x.lQ,getExcludedSelectors:x.lQ,dispose:x.lQ})},2836:(Nt,Le,a)=>{"use strict";a.d(Le,{k:()=>m,u:()=>c});var t=a(7951),c={};function m(x,_,b){var v=c,M={};M[x]=v[x]?v[x]:{},M[x][_]=b,(0,t.X)(v,M)}},6536:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Ne});
1var t=a(4292),c=a(9104),m=a(7951),x=a(2463),_=a(2101),b=a(7514),v=a(9845),M=a(4407),p="dx-list-group",U=function(Ie){return(Ie.group<<20)+Ie.item},G=function(Ie){return{group:Ie>>20,item:1048575&Ie}};const K=M.A.inherit({_groupElements:function(){return this._collectionWidget._itemContainer().find("."+p)},_groupItemElements:function(Ie){return Ie.find(".dx-list-item")},getIndexByItemData:function(Ie){var De=this._collectionWidget.option("items"),et=!1;return!!Ie&&(Ie.items&&Ie.items.length&&(Ie=Ie.items[0]),(0,_.__)(De,function(yt,dt){if(!dt.items||((0,_.__)(dt.items,function(Je,Ce){return Ce!==Ie||(et={group:yt,item:Je},!1)}),et))return!1}),et)},getItemDataByIndex:function(Ie){var De=this._collectionWidget.option("items");return(0,x.kf)(Ie)?this.itemsGetter()[Ie]:Ie&&De[Ie.group]&&De[Ie.group].items[Ie.item]||null},itemsGetter:function(){for(var Ie=[],De=this._collectionWidget.option("items"),et=0;et<De.length;et++)De[et]&&De[et].items?Ie=Ie.concat(De[et].items):Ie.push(De[et]);return Ie},deleteItemAtIndex:function(Ie){var De=G(Ie);this._collectionWidget.option("items")[De.group].items.splice(De.item,1)},getKeysByItems:function(Ie){var et,De=[];for(et=0;et<Ie.length;et++)Ie[et]&&Ie[et].items?De=De.concat(Ie[et].items):De.push(Ie[et]);var yt=[];for(et=0;et<De.length;et++)yt.push(this._collectionWidget.keyOf(De[et]));return yt},getIndexByKey:function(Ie,De){var et=De||this._collectionWidget.option("items"),yt=-1,dt=this;return(0,_.__)(et,function(Je,Ce){if(Ce.items&&((0,_.__)(Ce.items,function(we,Ee){var He=dt._collectionWidget.keyOf(Ee);if(dt._equalKeys(He,Ie))return yt={group:Je,item:we},!1}),-1!==yt))return!1}),yt},_getGroups:function(Ie){var et=this._collectionWidget._dataController.group();return et?b.A.queryByOptions((0,v.A)(Ie),{group:et}).toArray():this._collectionWidget.option("items")},getItemsByKeys:function(Ie,De){var et=[],yt=this._getGroups(De),dt={},Je=Ce=>{var we=this.getIndexByKey(Ce,yt),Ee=we&&yt[we.group];if(Ee)return{groupKey:Ee.key,item:Ee.items[we.item]}};return(0,_.__)(Ie,function(Ce,we){var Ee=Je(we);if(Ee){var He=Ee.groupKey,Ot=Ee.item,It=dt[He];It||(dt[He]=It={key:He,items:[]},et.push(It)),It.items.push(Ot)}}),et},moveItemAtIndexToIndex:function(Ie,De){var et=this._collectionWidget.option("items"),yt=G(Ie),dt=G(De),Je=et[yt.group].items,Ce=et[dt.group].items,we=Je[yt.item];Je.splice(yt.item,1),Ce.splice(dt.item,0,we)},_isItemIndex:function(Ie){return Ie&&(0,x.kf)(Ie.group)&&(0,x.kf)(Ie.item)},_getNormalizedItemIndex:function(Ie){var De=(0,t.A)(Ie),et=De.closest("."+p);return et.length?U({group:this._groupElements().index(et),item:this._groupItemElements(et).index(De)}):-1},_normalizeItemIndex:function(Ie){return U(Ie)},_denormalizeItemIndex:function(Ie){return G(Ie)},_getItemByNormalizedIndex:function(Ie){var De=G(Ie),et=this._groupElements().eq(De.group);return this._groupItemElements(et).eq(De.item)},_itemsFromSameParent:function(Ie,De){return G(Ie).group===G(De).group}});var z=a(736),ee=a(5042),L=a(6221),f=a(7310),D=a(2836),R=[],S=function(Ie,De,et){R.push({enabled:Ie,decoratorType:De,decoratorSubType:et})};S(function(){return this.option("menuItems").length},function(){return"menu"},function(){return this.option("menuMode")}),S(function(){return!this.option("menuItems").length&&this.option("allowItemDeleting")},function(){var Ie=this.option("itemDeleteMode");return"toggle"===Ie||"slideButton"===Ie||"swipe"===Ie||"static"===Ie?"delete":"menu"},function(){var Ie=this.option("itemDeleteMode");return"slideItem"===Ie&&(Ie="slide"),Ie}),S(function(){return"none"!==this.option("selectionMode")&&this.option("showSelectionControls")},function(){return"selection"},function(){return"default"}),S(function(){return this.option("itemDragging.allowReordering")||this.option("itemDragging.allowDropInsideItem")||this.option("itemDragging.group")},function(){return"reorder"},function(){return"default"});const Re=L.A.inherit({ctor:function(Ie){this._list=Ie,this._fetchRequiredDecorators()},dispose:function(){this._decorators&&this._decorators.length&&(0,_.__)(this._decorators,function(Ie,De){De.dispose()})},_fetchRequiredDecorators:function(){this._decorators=[],(0,_.__)(R,function(Ie,De){if(De.enabled.call(this._list)){var yt=De.decoratorType.call(this._list),dt=De.decoratorSubType.call(this._list),Je=this._createDecorator(yt,dt);this._decorators.push(Je)}}.bind(this))},_createDecorator:function(Ie,De){return new(this._findDecorator(Ie,De))(this._list)},_findDecorator:function(Ie,De){var et,yt=null===(et=D.u[Ie])||void 0===et?void 0:et[De];if(!yt)throw f.A.Error("E1012",Ie,De);return yt},modifyItemElement:function(Ie){var De=(0,t.A)(Ie.itemElement),et={$itemElement:De};this._prependBeforeBags(De,et),this._appendAfterBags(De,et),this._applyDecorators("modifyElement",et)},afterItemsRendered:function(){this._applyDecorators("afterRender")},_prependBeforeBags:function(Ie,De){var et=this._collectDecoratorsMarkup("beforeBag",De,"dx-list-item-before-bag");Ie.prepend(et)},_appendAfterBags:function(Ie,De){var et=this._collectDecoratorsMarkup("afterBag",De,"dx-list-item-after-bag");Ie.append(et)},_collectDecoratorsMarkup:function(Ie,De,et){var yt=(0,t.A)("<div>");return(0,_.__)(this._decorators,function(){var dt=(0,t.A)("<div>").addClass(et);this[Ie]((0,m.X)({$container:dt},De)),dt.children().length&&yt.append(dt)}),yt.children()},_applyDecorators:function(Ie,De){(0,_.__)(this._decorators,function(){this[Ie](De)})},_handlerExists:function(Ie){if(!this._decorators)return!1;for(var De=this._decorators,et=De.length,yt=0;yt<et;yt++)if(De[yt][Ie]!==ee.lQ)return!0;return!1},_eventHandler:function(Ie,De,et){if(!this._decorators)return!1;for(var yt=!1,dt=this._decorators,Je=dt.length,Ce=0;Ce<Je&&!(yt=dt[Ce][Ie](De,et));Ce++);return yt},handleClick:function(Ie,De){return this._eventHandler("handleClick",Ie,De)},handleKeyboardEvents:function(Ie,De){return this._eventHandler("handleKeyboardEvents",Ie,De)},handleEnterPressing:function(Ie){return this._eventHandler("handleEnterPressing",Ie)},contextMenuHandlerExists:function(){return this._handlerExists("handleContextMenu")},handleContextMenu:function(Ie,De){return this._eventHandler("handleContextMenu",Ie,De)},getExcludedItemSelectors:function(){var Ie=[];return this._applyDecorators("getExcludedSelectors",Ie),Ie.join(",")}});const _e=a(1207).i.inherit({_supportedKeys(){var Ie=this,De=this.callBase(),et=(yt,dt)=>{var Je=this._editStrategy,Ce=this.option("focusedElement"),we=Je.getNormalizedIndex(Ce);if(we!==this._getLastItemIndex()||!this._dataController.isLoading())if(yt.shiftKey&&Ie.option("itemDragging.allowReordering")){var Ot=Je.getItemElement(we+(dt?-1:1));this.reorderItem(Ce,Ot),this.scrollToItem(Ce),yt.preventDefault()}else this._editProvider.handleKeyboardEvents(we,dt)||(dt?De.upArrow(yt):De.downArrow(yt))};return(0,m.X)({},De,{del:yt=>{Ie.option("allowItemDeleting")&&(yt.preventDefault(),Ie.deleteItem(Ie.option("focusedElement")))},upArrow:yt=>et(yt,!0),downArrow:yt=>
1et(yt),enter:function(yt){this._editProvider.handleEnterPressing(yt)||De.enter.apply(this,arguments)},space:function(yt){this._editProvider.handleEnterPressing(yt)||De.space.apply(this,arguments)}})},_updateSelection(){this._editProvider.afterItemsRendered(),this.callBase()},_getLastItemIndex(){return this._itemElements().length-1},_refreshItemElements(){this.callBase();var Ie=this._editProvider.getExcludedItemSelectors();Ie.length&&(this._itemElementsCache=this._itemElementsCache.not(Ie))},_isItemStrictEquals:function(Ie,De){var et=Ie&&Ie.__dx_key__;return!(et&&!this.key()&&this._selection.isItemSelected(et))&&this.callBase(Ie,De)},_getDefaultOptions(){return(0,m.X)(this.callBase(),{showSelectionControls:!1,selectionMode:"none",selectAllMode:"page",onSelectAllValueChanged:null,selectAllText:z.A.format("dxList-selectAll"),menuItems:[],menuMode:"context",allowItemDeleting:!1,itemDeleteMode:"static",itemDragging:{}})},_defaultOptionsRules(){return this.callBase().concat([{device:Ie=>"ios"===Ie.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 Re(this)},_disposeEditProvider(){this._editProvider&&this._editProvider.dispose()},_refreshEditProvider(){this._disposeEditProvider(),this._initEditProvider()},_initEditStrategy(){this.option("grouped")?this._editStrategy=new K(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(Ie){var De=(0,t.A)(Ie.currentTarget);De.is(".dx-state-disabled, .dx-state-disabled *")||this._editProvider.handleClick(De,Ie)||(this._saveSelectionChangeEvent(Ie),this.callBase(...arguments))},_shouldFireContextMenuEvent(){return this.callBase(...arguments)||this._editProvider.contextMenuHandlerExists()},_itemHoldHandler(Ie){var De=(0,t.A)(Ie.currentTarget);if(!De.is(".dx-state-disabled, .dx-state-disabled *")){if((0,c.kH)(Ie)&&this._editProvider.handleContextMenu(De,Ie))return void(Ie.handledByEditProvider=!0);this.callBase(...arguments)}},_getItemContainer:function(Ie){if(this.option("grouped")){var De,et=null===(De=this._editStrategy.getIndexByItemData(Ie))||void 0===De?void 0:De.group;return this._getGroupContainerByIndex(et)}return this.callBase(Ie)},_itemContextMenuHandler(Ie){var De=(0,t.A)(Ie.currentTarget);if(!De.is(".dx-state-disabled, .dx-state-disabled *")){if(!Ie.handledByEditProvider&&this._editProvider.handleContextMenu(De,Ie))return void Ie.preventDefault();this.callBase(...arguments)}},_postprocessRenderItem(Ie){this.callBase(...arguments),this._editProvider.modifyItemElement(Ie)},_clean(){this._disposeEditProvider(),this.callBase()},focusListItem(Ie){var De=this._editStrategy.getItemElement(Ie);this.option("focusedElement",De),this.focus(),this.scrollToItem(this.option("focusedElement"))},_optionChanged(Ie){switch(Ie.name){case"selectAllMode":this._initDataSource(),this._dataController.pageIndex(0),this._dataController.load();break;case"grouped":this._clearSelectedItems(),delete this._renderingGroupIndex,this._initEditStrategy(),this.callBase(Ie);break;case"showSelectionControls":case"menuItems":case"menuMode":case"allowItemDeleting":case"itemDeleteMode":case"itemDragging":case"selectAllText":this._invalidate();break;case"onSelectAllValueChanged":break;default:this.callBase(Ie)}},selectAll(){return this._selection.selectAll(this._isPageSelectAll())},unselectAll(){return this._selection.deselectAll(this._isPageSelectAll())},isSelectAll(){return this._selection.getSelectAllState(this._isPageSelectAll())},getFlatIndexByItemElement(Ie){return this._itemElements().index(Ie)},getItemElementByFlatIndex(Ie){var De=this._itemElements();return Ie<0||Ie>=De.length?(0,t.A)():De.eq(Ie)},getItemByIndex(Ie){return this._editStrategy.getItemDataByIndex(Ie)},deleteItem(Ie){var De=this._editStrategy,et=De.getNormalizedIndex(Ie),yt=this.option("focusedElement"),dt=yt?De.getNormalizedIndex(yt):et,Ce=dt===this._getLastItemIndex()||et<dt?dt-1:dt;return this.callBase(Ie).done(function(){return this.focusListItem(Ce)})}});var ne=a(3019);const ve=_e.inherit(ne.A).inherit({_addWidgetPrefix:function(Ie){return"dx-list-"+Ie},_getCombinedFilter:function(){var Ie=this._dataController,De={filter:Ie.filter()};return Ie.addSearchFilter(De),De.filter},_initDataSource:function(){var Ie=this.option("searchValue"),De=this.option("searchExpr"),et=this.option("searchMode");this.callBase();var yt=this._dataController;Ie&&Ie.length&&yt.searchValue(Ie),et.length&&yt.searchOperation(ne.A.getOperationBySearchMode(et)),De&&yt.searchExpr(De)}});(0,a(4905).A)("dxList",ve);const Ne=ve},1100:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>L});
1var t=a(186),c=a(4292),m=a(4435),x=a(9900),_=a(1299),b=a(7951),v=a(3862),M=a(4905),N=a(8041),p=(0,m.w3)(),A="dx-loadindicator-segment",ee=N.A.inherit({_getDefaultOptions:function(){return(0,b.X)(this.callBase(),{indicatorSrc:"",activeStateEnabled:!1,hoverStateEnabled:!1,_animatingSegmentCount:1,_animatingSegmentInner:!1})},_defaultOptionsRules:function(){var f=(0,_.ss)();return this.callBase().concat([{device:function(){return"android"===v.A.real().platform&&!/chrome/i.test(p.userAgent)},options:{viaImage:!0}},{device:function(){return(0,_.Nt)(f)},options:{_animatingSegmentCount:2,_animatingSegmentInner:!0}},{device:function(){return(0,_.AE)(f)},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,c.A)("<div>").addClass("dx-loadindicator-wrapper"),this.$element().append(this._$wrapper)},_renderIndicatorContent:function(){this._$content=(0,c.A)("<div>").addClass("dx-loadindicator-content"),this._$wrapper.append(this._$content)},_renderMarkup:function(){var{viaImage:f,indicatorSrc:D}=this.option();!(0,x.animation)()||f||D?this._renderMarkupForImage():this._renderMarkupForAnimation()},_renderMarkupForAnimation:function(){var f=this.option("_animatingSegmentInner");this._$indicator=(0,c.A)("<div>").addClass("dx-loadindicator-icon"),this._$content.append(this._$indicator);for(var D=this.option("_animatingSegmentCount");D>=0;--D){var R=(0,c.A)("<div>").addClass(A).addClass(A+D);f&&R.append((0,c.A)("<div>").addClass("dx-loadindicator-segment-inner")),this._$indicator.append(R)}},_renderMarkupForImage:function(){var{indicatorSrc:f}=this.option();f?(this._$wrapper.addClass("dx-loadindicator-image"),this._$wrapper.css("backgroundImage","url("+f+")")):(0,x.animation)()&&this._renderMarkupForAnimation()},_renderDimensions:function(){this.callBase(),this._updateContentSizeForAnimation()},_updateContentSizeForAnimation:function(){if(this._$indicator){var f=this.option("width"),D=this.option("height");if(f||D){f=(0,t.RG)(this.$element()),D=(0,t.Oq)(this.$element());var R=Math.min(D,f);this._$wrapper.css({height:R,width:R,fontSize:R})}}},_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(f){switch(f.name){case"_animatingSegmentCount":case"_animatingSegmentInner":case"indicatorSrc":this._invalidate();break;default:this.callBase(f)}}});(0,M.A)("dxLoadIndicator",ee);const L=ee},8543:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ee});var t=a(4292),c=a(5042),m=a(736),x=a(4905),_=a(7951),b=a(1100),v=a(6022),M=a(2984),N=a(1299),g="dx-loadpanel-indicator",U="dx-loadpanel-message",z=v.A.inherit({_supportedKeys:function(){return(0,_.X)(this.callBase(),{escape:c.lQ})},_getDefaultOptions:function(){return(0,_.X)(this.callBase(),{message:m.A.format("Loading"),width:222,height:90,animation:null,showIndicator:!0,indicatorSrc:"",showPane:!0,delay:0,templatesRenderAsynchronously:!1,hideTopOverlayHandler:null,focusStateEnabled:!1,propagateOutsideClick:!0,preventScrollEvents:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:{platform:"generic"},options:{shadingColor:"transparent"}},{device:function(){return(0,N.gx)()},options:{message:"",width:60,height:60,maxHeight:60,maxWidth:60}},{device:function(){return(0,N.Ft)()},options:{width:"auto",height:"auto"}}])},_init:function(){this.callBase.apply(this,arguments)},_render:function(){this.callBase(),this.$element().addClass("dx-loadpanel"),this.$wrapper().addClass("dx-loadpanel-wrapper"),this._setWrapperAria()},_setWrapperAria(){var{message:L}=this.option(),f=(0,N.Nt)()?L:null,D=L?f:m.A.format("Loading");this.setAria({role:"alert",label:D},this.$wrapper())},_renderContentImpl:function(){this.callBase(),this.$content().addClass("dx-loadpanel-content"),this._$loadPanelContentWrapper=(0,t.A)("<div>").addClass("dx-loadpanel-content-wrapper"),this._$loadPanelContentWrapper.appendTo(this.$content()),this._togglePaneVisible(),this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage()},_show:function(){var L=this.option("delay");if(!L)return this.callBase();
1var f=new M.cY,D=this.callBase.bind(this);return this._clearShowTimeout(),this._showTimeout=setTimeout(function(){D().done(function(){f.resolve()})},L),f.promise()},_hide:function(){return this._clearShowTimeout(),this.callBase()},_clearShowTimeout:function(){clearTimeout(this._showTimeout)},_renderMessage:function(){if(this._$loadPanelContentWrapper){var L=this.option("message");if(L){var f=(0,t.A)("<div>").addClass(U).text(L);this._$loadPanelContentWrapper.append(f)}}},_renderLoadIndicator:function(){!this._$loadPanelContentWrapper||!this.option("showIndicator")||(this._$indicator||(this._$indicator=(0,t.A)("<div>").addClass(g).appendTo(this._$loadPanelContentWrapper)),this._createComponent(this._$indicator,b.A,{indicatorSrc:this.option("indicatorSrc")}))},_cleanPreviousContent:function(){this.$content().find("."+U).remove(),this.$content().find("."+g).remove(),delete this._$indicator},_togglePaneVisible:function(){this.$content().toggleClass("dx-loadpanel-pane-hidden",!this.option("showPane"))},_optionChanged:function(L){switch(L.name){case"delay":break;case"message":case"showIndicator":this._cleanPreviousContent(),this._renderLoadIndicator(),this._renderMessage(),this._setWrapperAria();break;case"showPane":this._togglePaneVisible();break;case"indicatorSrc":this._renderLoadIndicator();break;default:this.callBase(L)}},_dispose:function(){this._clearShowTimeout(),this.callBase()}});(0,x.A)("dxLoadPanel",z);const ee=z},8709:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Ze});var t=a(4905),c=a(1269),m=a(1707),x=a(7951),_=a(2463),b=a(3862),v=a(2209),M=a(5655),N=a(5042),p=function(X){for(var Ve=0,st=0,at=0;at<X.length;++at)if("'"===X[at]&&Ve++,"."===X[at]&&(++st,Ve%2==0))return{occurrence:st,index:at};return{occurrence:1,index:-1}},P=function(X,Ve,st){for(var at=-1;st--&&at++<X.length;)at=X.indexOf(Ve,at);return at},g=function(X,Ve){return-1===Ve?[X]:[X.slice(0,Ve),X.slice(Ve+1)]},G=function(X,Ve){if("string"==typeof Ve){var st=Ve.split(";"),at=M.A.getSign(X,Ve);st[1]=st[1]||"-"+st[0],Ve=(Ve=st[at<0?1:0]).replace(/'([^']*)'/g,ft=>ft.split("").map(()=>" ").join("").substr(2));var V=/^[^#0.,]*/.exec(Ve)[0].length,pe=/[^#0.,]*$/.exec(Ve)[0].length;return{start:V,end:X.length-pe}}return{start:0,end:X.length}},A=function(X,Ve){var st=M.A.getDecimalSeparator(),at=new RegExp("[^0-9"+(0,N.Nt)(st)+"]","g");return Ve.slice(0,X).replace(at,"").length},K=function(X){return X.split("").reverse().join("")},z=function(X,Ve){if(!X)return-1;for(var st=/[0-9]/g,at=1,V=null,pe=st.exec(Ve);pe;){if(V=pe.index,at>=X)return V;at++,pe=st.exec(Ve)}return null===V?Ve.length:V},L=function(X,Ve){return void 0===X.start&&(X={start:X,end:X}),{start:X.start+Ve,end:X.end+Ve}};function S(X,Ve,st){X=L(X,0);var at=G(Ve,st);return{start:(0,v.df)(X.start,at.start,at.end),end:(0,v.df)(X.end,at.start,at.end)}}var fe=a(1979),H=a(4292),J=a(7669),Y=a(9263),W=a(5681),re=a(9104),le=a(829),Re=a(8041),Be=a(4159),Fe=a(5424),ue=a(4602),ce=a(2984),ve="dxNumberBox",ke=(0,re.b4)(Be.A.up,ve),Ne=(0,re.b4)(Be.A.cancel,ve);const De=Re.A.inherit({_getDefaultOptions:function(){return(0,x.X)(this.callBase(),{direction:"up",onChange:null,activeStateEnabled:!0,hoverStateEnabled:!0})},_initMarkup:function(){this.callBase();var X="dx-numberbox-spin-"+this.option("direction");this.$element().addClass("dx-numberbox-spin-button").addClass(X),this._spinIcon=(0,H.A)("<div>").addClass(X+"-icon").appendTo(this.$element())},_render:function(){this.callBase();var X=(0,re.b4)(Be.A.down,this.NAME),Ve=this.$element();c.A.off(Ve,X),c.A.on(Ve,X,this._spinDownHandler.bind(this)),this._spinChangeHandler=this._createActionByOption("onChange")},_spinDownHandler:function(X){X.preventDefault(),this._clearTimer(),c.A.on(this.$element(),ue.A.name,function(){this._feedBackDeferred=new ce.cY,(0,Fe.s2)(this._feedBackDeferred),this._spinChangeHandler({event:X}),this._holdTimer=setInterval(this._spinChangeHandler,100,{event:X})}.bind(this));var Ve=J.A.getDocument();c.A.on(Ve,ke,this._clearTimer.bind(this)),c.A.on(Ve,Ne,this._clearTimer.bind(this)),this._spinChangeHandler({event:X})},_dispose:function(){this._clearTimer(),this.callBase()},_clearTimer:function(){c.A.off(this.$element(),ue.A.name);var X=J.A.getDocument();c.A.off(X,ke),c.A.off(X,Ne),this._feedBackDeferred&&this._feedBackDeferred.resolve(),this._holdTimer&&clearInterval(this._holdTimer)},_optionChanged:function(X){switch(X.name){case"onChange":case"direction":this._invalidate();break;default:this.callBase(X)}}});class Je extends le.A{_attachEvents(Ve,st){var{editor:at}=this,V=(0,re.b4)(Be.A.down,at.NAME),pe=st.children(),Te=at._createAction(ft=>at._spinButtonsPointerDownHandler(ft));c.A.off(st,V),c.A.on(st,V,ft=>Te({event:ft})),De.getInstance(pe.eq(0)).option("onChange",ft=>at._spinUpChangeHandler(ft)),De.getInstance(pe.eq(1)).option("onChange",ft=>at._spinDownChangeHandler(ft))}_create(){var{editor:Ve}=this,st=(0,H.A)("<div>").addClass("dx-numberbox-spin-container"),at=(0,H.A)("<div>").appendTo(st),V=(0,H.A)("<div>").appendTo(st),pe=this._getOptions();return this._addToContainer(st),Ve._createComponent(at,De,(0,x.X)({direction:"up"},pe)),Ve._createComponent(V,De,(0,x.X)({direction:"down"},pe)),this._legacyRender(Ve.$element(),this._isTouchFriendly(),pe.visible),{instance:st,$element:st}}_getOptions(){var{editor:Ve}=this;return{visible:this._isVisible(),disabled:Ve.option("disabled")}}_isVisible(){var{editor:Ve}=this;return super._isVisible()&&Ve.option("showSpinButtons")}_isTouchFriendly(){var{editor:Ve}=this;return Ve.option("showSpinButtons")&&Ve.option("useLargeSpinButtons")}_legacyRender(Ve,st,at){Ve.toggleClass("dx-numberbox-spin-touch-friendly",st),Ve.toggleClass("dx-numberbox-spin",at)}
1update(){if(super.update()){var{editor:st,instance:at}=this,V=st.$element(),pe=this._isVisible(),Te=this._isTouchFriendly(),ft=at.children(),At=De.getInstance(ft.eq(0)),sn=De.getInstance(ft.eq(1)),Bt=this._getOptions();At.option(Bt),sn.option(Bt),this._legacyRender(V,Te,pe)}}}var Ce=a(736),we=Math,He=["tab","del","backspace","leftArrow","rightArrow","home","end","enter"],It=W.A.inherit({_supportedKeys:function(){return(0,x.X)(this.callBase(),{upArrow:function(X){(0,re.By)(X)||(X.preventDefault(),X.stopPropagation(),this._spinUpChangeHandler(X))},downArrow:function(X){(0,re.By)(X)||(X.preventDefault(),X.stopPropagation(),this._spinDownChangeHandler(X))},enter:function(){}})},_getDefaultOptions:function(){return(0,x.X)(this.callBase(),{value:0,min:void 0,max:void 0,step:1,showSpinButtons:!1,useLargeSpinButtons:!0,mode:"text",invalidValueMessage:Ce.A.format("dxNumberBox-invalidValueMessage"),buttons:void 0})},_useTemplates:function(){return!1},_getDefaultButtons:function(){return this.callBase().concat([{name:"spins",Ctor:Je}])},_isSupportInputMode:function(){var X=parseFloat(Y.A.version);return Y.A.chrome&&X>=66||Y.A.safari&&X>=12},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return b.A.real().generic&&!b.A.isSimulator()},options:{useLargeSpinButtons:!1}},{device:function(){return"desktop"!==b.A.real().deviceType&&!this._isSupportInputMode()}.bind(this),options:{mode:"number"}}])},_initMarkup:function(){this._renderSubmitElement(),this.$element().addClass("dx-numberbox"),this.callBase()},_getDefaultAttributes:function(){var X=this.callBase();return X.inputmode="decimal",X},_renderContentImpl:function(){this.option("isValid")&&this._validateValue(this.option("value")),this.setAria("role","spinbutton")},_renderSubmitElement:function(){this._$submitElement=(0,H.A)("<input>").attr("type","hidden").appendTo(this.$element()),this._setSubmitValue(this.option("value"))},_setSubmitValue:function(X){this._getSubmitElement().val((0,N.EG)(X))},_getSubmitElement:function(){return this._$submitElement},_keyPressHandler:function(X){this.callBase(X);var Ve=(0,re.Pg)(X);if(!/[\d.,eE\-+]/.test(Ve)){var at=(0,re.YD)(X);return(0,re.By)(X)||at&&He.includes(at)?void 0:(X.preventDefault(),!1)}this._keyPressed=!0},_onMouseWheel:function(X){this._spinValueChange(X.delta>0?1:-1,X)},_renderValue:function(){var X=this._input().val(),Ve=this.option("value");(!X.length||Number(X)!==Ve)&&(this._forceValueRender(),this._toggleEmptinessEventHandler());var st=(0,_.O9)(Ve)?null:Ce.A.format("dxNumberBox-noDataText");return this.setAria({valuenow:(0,N.YD)(Ve,""),valuetext:st}),this.option("text",this._input().val()),this._updateButtons(),(new ce.cY).resolve()},_forceValueRender:function(){var X=this.option("value"),Ve=Number(X),st=isNaN(Ve)?"":this._applyDisplayValueFormatter(X);this._renderDisplayText(st)},_applyDisplayValueFormatter:function(X){return this.option("displayValueFormatter")(X)},_renderProps:function(){this._input().prop({min:this.option("min"),max:this.option("max"),step:this.option("step")}),this.setAria({valuemin:(0,N.YD)(this.option("min"),""),valuemax:(0,N.YD)(this.option("max"),"")})},_spinButtonsPointerDownHandler:function(){var X=this._input();!this.option("useLargeSpinButtons")&&J.A.getActiveElement()!==X[0]&&c.A.trigger(X,"focus")},_spinUpChangeHandler:function(X){this.option("readOnly")||this._spinValueChange(1,X.event||X)},_spinDownChangeHandler:function(X){this.option("readOnly")||this._spinValueChange(-1,X.event||X)},_spinValueChange:function(X,Ve){var st=parseFloat(this.option("step"));if(0!==st){var at=parseFloat(this._normalizeInputValue())||0;at=this._correctRounding(at,st*X);var V=this.option("min"),pe=this.option("max");(0,_.O9)(V)&&(at=Math.max(V,at)),(0,_.O9)(pe)&&(at=Math.min(pe,at)),this._saveValueChangeEvent(Ve),this.option("value",at)}},_correctRounding:function(X,Ve){var st=/[,.](.*)/,at=st.test(X),V=st.test(Ve);if(at||V){var pe=at?st.exec(X)[0].length:0,Te=V?st.exec(Ve)[0].length:0,ft=we.max(pe,Te);return this._round(X+Ve,ft)}return X+Ve},_round:function(X,Ve){Ve=Ve||0;var st=Math.pow(10,Ve);return X*=st,Math.round(X)/st},_renderValueChangeEvent:function(){this.callBase();var X=(0,re.b4)("focusout","NumberBoxForceValueChange");
1c.A.off(this.element(),X),c.A.on(this.element(),X,this._forceRefreshInputValue.bind(this))},_forceRefreshInputValue:function(){if("number"!==this.option("mode")){var X=this._input(),Ve=this._applyDisplayValueFormatter(this.option("value"));X.val(null),X.val(Ve)}},_valueChangeEventHandler:function(X){var Ve=this._input(),st=this._normalizeText(),at=this._parseValue(st),V="."!==st&&"-"!==st;!this._isValueValid()||this._validateValue(at)?(V&&this.callBase(X,isNaN(at)?null:at),this._applyValueBoundaries(st,at),this.validationRequest.fire({value:at,editor:this})):Ve.val(this._applyDisplayValueFormatter(at))},_applyValueBoundaries:function(X,Ve){var st=this._isValueIncomplete(X),at=this._isValueInRange(X);!st&&!at&&null!==Ve&&Number(X)!==Ve&&this._input().val(this._applyDisplayValueFormatter(Ve))},_replaceCommaWithPoint:function(X){return X.replace(",",".")},_inputIsInvalid:function(){var X="number"===this.option("mode"),Ve=this._input().get(0).validity;return X&&Ve&&Ve.badInput},_renderDisplayText:function(X){this._inputIsInvalid()||this.callBase(X)},_isValueIncomplete:function(X){return/(^-$)|(^-?\d*\.$)|(\d+e-?$)/i.test(X)},_isValueInRange:function(X){return(0,v.r4)(X,this.option("min"),this.option("max"))},_isNumber:function(X){return null!==this._parseValue(X)},_validateValue:function(X){var Ve=this._normalizeText(),st=this._isValueValid(),at=!0,V=this._isNumber(Ve);return isNaN(Number(X))&&(at=!1),!X&&st?at=!0:!V&&!st&&(at=!1),this.option({isValid:at,validationError:at?null:{editorSpecific:!0,message:this.option("invalidValueMessage")}}),at},_normalizeInputValue:function(){return this._parseValue(this._normalizeText())},_normalizeText:function(){var X=this._input().val().trim();return this._replaceCommaWithPoint(X)},_parseValue:function(X){var Ve=parseFloat(X);return isNaN(Ve)?null:(0,v.df)(Ve,this.option("min"),this.option("max"))},_clearValue:function(){this._inputIsInvalid()&&(this._input().val(""),this._validateValue()),this.callBase()},clear:function(){null===this.option("value")?(this.option("text",""),this._input().length&&this._renderValue()):this.option("value",null)},_optionChanged:function(X){switch(X.name){case"value":this._validateValue(X.value),this._setSubmitValue(X.value),this.callBase(X),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(X)}}}),ln="dxNumberFormatter",rt="minus";const ze=It.inherit({_getDefaultOptions:function(){return(0,x.X)(this.callBase(),{useMaskBehavior:!0,format:null})},_isDeleteKey:function(X){return"del"===X},_supportedKeys:function(){return this._useMaskBehavior()?(0,x.X)(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(X){var Ve=M.A.getDecimalSeparator(),st=p(this.option("format")).occurrence;return P(X,Ve,st)},_focusInHandler:function(X){this._preventNestedFocusEvent(X)||(this.clearCaretTimeout(),this._caretTimeout=setTimeout(function(){this._caretTimeout=void 0;var Ve=this._caret();if(Ve.start===Ve.end&&this._useMaskBehavior()){var st=this._getInputVal(),at=this._getTextSeparatorIndex(st);at>=0?this._caret({start:at,end:at}):this._moveCaretToBoundaryEventHandler(-1,X)}}.bind(this),0)),this.callBase(X)},_focusOutHandler:function(X){var Ve=!this._preventNestedFocusEvent(X);Ve&&(this._focusOutOccurs=!0,this._useMaskBehavior()&&this._updateFormattedValue()),this.callBase(X),Ve&&(this._focusOutOccurs=!1)},_hasValueBeenChanged(X){var Ve=this._getFormatPattern(),st=this.option("value");return(this._format(st,Ve)||"")!==X},_updateFormattedValue:function(){var X=this._getInputVal();this._hasValueBeenChanged(X)&&(this._updateParsedValue(),this._adjustParsedValue(),this._setTextByParsedValue(),this._parsedValue!==this.option("value")&&c.A.trigger(this._input(),"change"))},_arrowHandler:function(X,Ve){if(this._useMaskBehavior()){var st=this._getInputVal(),at=this._getFormatPattern(),V=L(this._caret(),X);(function(X,Ve,st){var at=S(X=L(X,0),Ve,st);return X.start>=at.start&&X.end<=at.end})(V,st,at)||(V=1===X?V.end:V.start,Ve.preventDefault(),this._caret(S(V,st,at)))}},_moveCaretToBoundary:function(X){var Ve=G(this._getInputVal(),this._getFormatPattern()),st=L(1===X?Ve.start:Ve.end,0);this._caret(st)},_moveCaretToBoundaryEventHandler:function(X,Ve){!this._useMaskBehavior()||Ve&&Ve.shiftKey||(this._moveCaretToBoundary(X),Ve&&Ve.preventDefault())},_shouldMoveCaret:function(X,Ve){var st=M.A.getDecimalSeparator(),at=X.charAt(Ve.end)===st;return(this._lastKey===st||"."===this._lastKey||","===this._lastKey)&&at},_getInputVal:function(){return M.A.convertDigits(this._input().val(),!0)},_keyboardHandler:function(X){if(this.clearCaretTimeout(),this._lastKey=M.A.convertDigits((0,re.Pg)(X),!0),this._lastKeyName=(0,re.YD)(X),!this._shouldHandleKey(X.originalEvent))return this.callBase(X);var at,Ve=this._getInputVal(),st=this._caret();at=this._lastKeyName===rt?"":110===X.which?M.A.getDecimalSeparator():this._lastKey;var V=this._tryParse(Ve,st,at);return this._shouldMoveCaret(Ve,st)&&(this._moveCaret(1),X.originalEvent.preventDefault()),void 0===V?this._lastKeyName!==rt&&X.originalEvent.preventDefault():this._parsedValue=V,this.callBase(X)},_keyPressHandler:function(X){this._useMaskBehavior()||this.callBase(X)},_removeHandler:function(X){var Ve=this._caret(),st=this._getInputVal(),at=Ve.start,V=Ve.end;this._lastKey=(0,re.Pg)(X),this._lastKeyName=(0,re.YD)(X);var pe=this._isDeleteKey(this._lastKeyName),Te=!pe;if(at===V){if(!(Te&&at>0||pe&&at<st.length))return void X.preventDefault();pe&&V++,Te&&at--}var sn=st.slice(at,V);if(this._isStub(sn))this._moveCaret(pe?1:-1),(this._parsedValue<0||1/this._parsedValue==-1/0)&&(this._revertSign(X),this._setTextByParsedValue(),this.option("valueChangeEvent").split(" ").includes("input")&&c.A.trigger(this._input(),"input")),X.preventDefault();else{var Ut=M.A.getDecimalSeparator();if(sn!==Ut){if(V-at<st.length&&this._replaceSelectedText(st,{start:at,end:V},"").search(/[0-9]/)<0&&this._isValueInRange(0))return void(this._parsedValue=this._parsedValue<0||1/this._parsedValue==-1/0?-0:0);var ot=this._tryParse(st,{start:at,end:V},"");void 0===ot?X.preventDefault():this._parsedValue=ot}else{var zt=st.indexOf(Ut);this._isNonStubAfter(zt+1)&&(this._moveCaret(pe?1:-1),X.preventDefault())}}},_isPercentFormat:function(){return-1!==this._getFormatPattern().replace(/'[^']+'/g,"").indexOf("%")},_parse:function(X,Ve){var st=this.option("format"),at=(0,_.Tn)(st.parser),V=at?st.parser:M.A.parse,pe=0;if(!at){var Te=p(Ve).index,ft=this._getTextSeparatorIndex(X),At=-1!==Te?Te:Ve.length,sn=-1!==ft?ft:X.length;sn>At&&-1===Ve.indexOf("#")&&(pe=sn-At)}return V(X=X.substr(pe),Ve)},_format:function(X,Ve){var st=this.option("format"),at=st?.formatter||st,V=(0,_.Tn)(at)?at:M.A.format;return null===X?"":V(X,Ve)},_getFormatPattern:function(){return this._currentFormat||this._updateFormat(),this._currentFormat},_updateFormat:function(){var X=this.option("format"),Ve=(0,_.Tn)(X?.parser),st=(0,_.Kg)(X)&&(X.indexOf("0")>=0||X.indexOf("#")>=0);
1this._currentFormat=Ve||st||"exponential"===X||"exponential"===X?.type?X:(0,fe.g)(pe=>{var Te=this._format(pe,X);return M.A.convertDigits(Te,!0)})},_getFormatForSign:function(X){var Ve=this._getFormatPattern();if((0,_.Kg)(Ve)){var st=Ve.split(";"),at=M.A.getSign(X,Ve);return st[1]=st[1]||"-"+st[0],at<0?st[1]:st[0]}return M.A.getSign(X)<0?"-":""},_removeStubs:function(X,Ve){var st=this._getFormatForSign(X),at=M.A.getThousandsSeparator(),V=this._getStubs(st),pe=X;if(V.length){var Te=V[0],ft=new RegExp("("+(0,N.Nt)(V[1]||"")+")$","g"),At=new RegExp("[-"+(0,N.Nt)(Ve?"":at)+"]","g");pe=pe.replace(Te,"").replace(ft,"").replace(At,"")}return pe},_getStubs:function(X){var Ve=/[^']([#0.,]+)/g.exec(X),st=Ve&&Ve[0].trim();return X.split(st).map(function(at){return at.replace(/'/g,"")})},_truncateToPrecision:function(X,Ve){if((0,_.O9)(X)){var st=X.toString(),at=st.indexOf(".");if(st&&at>-1){var V=parseFloat(st.substr(0,at+Ve+1));return isNaN(V)?X:V}}return X},_tryParse:function(X,Ve,st){var at=Ve.start!==Ve.end,V=at&&0===Ve.start&&Ve.end===X.length,pe=M.A.getDecimalSeparator();if(V&&st===pe)return 0;var Te=this._replaceSelectedText(X,Ve,st),ft=this._getFormatPattern(),At=this._getParsedValue(Te,ft),sn=!ft.parser&&this._getPrecisionLimits(Te).max,Ut=st===pe&&0===sn,zt=!at&&!(At!==this._parsedValue)&&"-"!==st&&this._isStub(st);return Ut||zt||(""===this._removeStubs(Te)&&(At=Math.abs(0*this._parsedValue)),isNaN(At))?void 0:(At=sn?this._truncateToPrecision(null===At?this._parsedValue:At,sn):At,!ft.parser&&this._isPercentFormat()?function(X,Ve){return X&&(0,v.Ai)(X/100,Ve)}(At,sn):At)},_getParsedValue:function(X,Ve){var st=M.A.getSign(X,Ve?.formatter||Ve),at=this._removeStubs(X,!0),V=this._parse(at,Ve),pe=V<0?-1:1;return(0,_.kf)(V)&&st!==pe?st*V:V},_isValueIncomplete:function(X){if(!this._useMaskBehavior())return this.callBase(X);var Ve=this._caret(),st=M.A.getDecimalSeparator(),at=this._getTextSeparatorIndex(X),V=at>=0&&at<Ve.start,pe=this._removeStubs(X,!0).split(st);if(!V||2!==pe.length)return!1;var Te=pe[1].length,At=!!this._getFormatPattern().parser,sn=!At&&this._getPrecisionLimits(this._getFormatPattern(),X),Bt=!!At||(0,v.r4)(Te,sn.min,sn.max),Ut="0"===pe[1].charAt(Te-1);return Bt&&(Ut||!Te)},_isValueInRange:function(X){var Ve=(0,N.YD)(this.option("min"),-1/0),st=(0,N.YD)(this.option("max"),1/0);return(0,v.r4)(X,Ve,st)},_setInputText:function(X){var Ve=M.A.convertDigits(X,!0),st=function(X,Ve,st,at){st=L(st,0);var V=M.A.getDecimalSeparator(),pe=function D(X){return 1===X.length&&!!X.match(/^[,.][0-9]*$/g)}(X),Te=p(at).occurrence,ft=pe?0:P(X,V,Te),At=P(Ve,V,Te),sn=g(X,ft),Bt=g(Ve,At);if(-1!==ft&&st.start>ft){var wt=A(st.start-ft-1,sn[1]);return S(Bt[1]?At+1+z(wt,Bt[1])+1:Ve.length,Ve,at)}var ot=function(X){return X.replace(/[^0-9e]+$/,"")}(Bt[0]),rn=A(sn[0].length-st.start,K(sn[0])),wn=z(rn,K(ot));return S(ot.length-(wn+1),Ve,at)}(this._getInputVal(),Ve,this._caret(),this._getFormatPattern());this._input().val(X),this._toggleEmptinessEventHandler(),this._formattedValue=X,this._focusOutOccurs||this._caret(st)},_useMaskBehavior:function(){return!!this.option("format")&&this.option("useMaskBehavior")},_renderInputType:function(){var X="number"===this.option("mode"),Ve="desktop"===b.A.real().deviceType;this._useMaskBehavior()&&X?this._setInputType(Ve||this._isSupportInputMode()?"text":"tel"):this.callBase()},_isChar:function(X){return(0,_.Kg)(X)&&1===X.length},_moveCaret:function(X){if(X){var st=S(L(this._caret(),X),this._getInputVal(),this._getFormatPattern());this._caret(st)}},_shouldHandleKey:function(X){var Ve=(0,re.YD)(X),st=(0,re.By)(X)||X.altKey||X.shiftKey||!this._isChar(Ve),at=Ve===rt;return this._useMaskBehavior()&&!st&&!at},_renderInput:function(){this.callBase(),this._renderFormatter()},_renderFormatter:function(){this._clearCache(),this._detachFormatterEvents(),this._useMaskBehavior()&&this._attachFormatterEvents()},_detachFormatterEvents:function(){c.A.off(this._input(),"."+ln)},_isInputFromPaste:function(X){var Ve=X.originalEvent&&X.originalEvent.inputType;return(0,_.O9)(Ve)?"insertFromPaste"===Ve:this._isValuePasted},_attachFormatterEvents:function(){var X=this._input();c.A.on(X,(0,re.b4)("input",ln),function(Ve){this._formatValue(Ve),this._isValuePasted=!1}.bind(this)),c.A.on(X,(0,re.b4)("dxclick",ln),function(){this._caretTimeout||(this._caretTimeout=setTimeout(function(){this._caretTimeout=void 0,this._caret(S(this._caret(),this._getInputVal(),this._getFormatPattern()))}.bind(this),0))}.bind(this)),c.A.on(X,m.U,function(){this.clearCaretTimeout()}.bind(this))},clearCaretTimeout:function(){clearTimeout(this._caretTimeout),this._caretTimeout=void 0},_forceRefreshInputValue:function(){if(!this._useMaskBehavior())return this.callBase()},_isNonStubAfter:function(X){var Ve=this._getInputVal().slice(X);return Ve&&!this._isStub(Ve,!0)},_isStub:function(X,Ve){var st=(0,N.Nt)(M.A.getDecimalSeparator());return new RegExp("^[^0-9"+st+"]+$","g").test(X)&&(Ve||this._isChar(X))},_parseValue:function(X){return this._useMaskBehavior()?this._parsedValue:this.callBase(X)},_getPrecisionLimits:function(X){var Ve=this._getFormatForSign(X),st=p(Ve).index,at=(g(Ve,st)[1]||"").replace(/[^#0]/g,"");return{min:at.replace(/^(0*)#*/,"$1").length,max:at.length}},_revertSign:function(X){if(this._useMaskBehavior()){var Ve=this._caret();if(Ve.start!==Ve.end){if((0,re.YD)(X)===rt)return void this._applyRevertedSign(X,Ve,!0);this._caret(S(0,this._getInputVal(),this._getFormatPattern()))}this._applyRevertedSign(X,Ve)}},_applyRevertedSign:function(X,Ve,st){var at=-1*(0,N.YD)(this._parsedValue,null);if((this._isValueInRange(at)||0===at)&&(this._parsedValue=at,st)){var V=this._getFormatPattern(),pe=this._getInputVal();this._setTextByParsedValue(),X.preventDefault();var Te=this._getInputVal(),ft=function(X,Ve,st){var at=G(X,st);return G(Ve,st).start-at.start}(pe,Te,V),At=S(Ve=L(Ve,ft),Te,V);this._caret(At)}},_removeMinusFromText:function(X,Ve){return this._lastKeyName===rt&&"-"===X.charAt(Ve.start-1)?this._replaceSelectedText(X,{start:Ve.start-1,end:Ve.start},""):X},_setTextByParsedValue:function(){var X=this._getFormatPattern(),Ve=this._parseValue(),st=this._format(Ve,X)||"";this._setInputText(st)},_formatValue:function(X){var Ve=this._getInputVal(),st=this._caret(),at=this._removeMinusFromText(Ve,st),V=at!==Ve;if(Ve=at,!this._isInputFromPaste(X)&&this._isValueIncomplete(at))return this._formattedValue=Ve,void(V&&this._setTextByParsedValue());if(M.A.convertDigits(this._formattedValue,!0)!==Ve){var Te=this._tryParse(Ve,st,"");(0,_.O9)(Te)&&(this._parsedValue=Te)}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 X=this._getInputVal();this._parsedValue=this._tryParse(X,this._caret())},_adjustParsedValue:function(){if(this._useMaskBehavior()){var Ve=this._removeStubs(this._getInputVal())?this._parseValue():null;if(!(0,_.kf)(Ve))return void(this._parsedValue=Ve);this._parsedValue=(0,v.df)(Ve,this.option("min"),this.option("max"))}},_valueChangeEventHandler:function(X){if(!this._useMaskBehavior())return this.callBase(X);var Ve=this._caret();this._saveValueChangeEvent(X),this._lastKey=null,this._lastKeyName=null,this._updateParsedValue(),this._adjustParsedValue(),this.option("value",this._parsedValue),Ve&&this._caret(Ve)},_optionChanged:function(X){switch(X.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(X);break;default:this.callBase(X)}},_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,t.A)("dxNumberBox",ze);const Ze=ze},7420:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P,g:()=>N});var t=a(4292),c=a(2463),m=a(7951),x=a(4441),_=a(2824),b=a(4435),v=a(9049),M=(0,b.zk)(),N={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"}},p={h:0,v:0};class P{constructor(U){var{position:G,container:A,visualContainer:K,$root:z,$content:ee,$wrapper:L,onPositioned:f,onVisualPositionChanged:D,restorePosition:R,_fixWrapperPosition:S,_skipContentPositioning:j}=U;this._props={position:G,container:A,visualContainer:K,restorePosition:R,onPositioned:f,onVisualPositionChanged:D,_fixWrapperPosition:S,_skipContentPositioning:j},this._$root=z,this._$content=ee,this._$wrapper=L,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(A),this.updatePosition(G),this.updateVisualContainer(K)}get $container(){return this.updateContainer(),this._$markupContainer}get $visualContainer(){return this._$visualContainer}get position(){return this._position}set fixWrapperPosition(U){this._props._fixWrapperPosition=U,this.styleWrapperPosition()}set restorePosition(U){this._props.restorePosition=U}restorePositionOnNextRender(U){this._shouldRenderContentInitialPosition=U||!this._visualPosition}openingHandled(){this.restorePositionOnNextRender(this._props.restorePosition)}updatePosition(U){this._props.position=U,this._position=this._normalizePosition(U),this.updateVisualContainer()}updateContainer(){var U=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._props.container;this._props.container=U,this._$markupContainer=U?(0,t.A)(U):v.A.getSwatchContainer(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(U){this._updateVisualPositionValue(),this._raisePositionedEvents(U)}positionContent(){this._shouldRenderContentInitialPosition?this._renderContentInitialPosition():((0,_.Cy)(this._$content,this._visualPosition),this.detectVisualPositionChange())}positionWrapper(){this._$visualContainer&&x.A.setup(this._$wrapper,{my:"top left",at:"top left",of:this._$visualContainer})}styleWrapperPosition(){var U=(0,c.l6)(this.$visualContainer.get(0))||this._props._fixWrapperPosition;this._$wrapper.css("position",U?"fixed":"absolute")}_updateVisualPositionValue(){this._previousVisualPosition=this._visualPosition,this._visualPosition=(0,_.x5)(this._$content)}_renderContentInitialPosition(){this._renderBoundaryOffset(),(0,_.fw)(this._$content);var U=this._$wrapper.css("overflow");if(this._$wrapper.css("overflow","hidden"),!this._props._skipContentPositioning){var G=x.A.setup(this._$content,this._position);this._initialPosition=G}this._$wrapper.css("overflow",U),this.detectVisualPositionChange()}_raisePositionedEvents(U){var G=this._previousVisualPosition,A=this._visualPosition;(G?.top!==A.top||G?.left!==A.left)&&this._props.onVisualPositionChanged({previousPosition:G,position:A,event:U}),this._props.onPositioned({position:this._initialPosition})}_renderBoundaryOffset(){var U,G=null!==(U=this._position)&&void 0!==U?U:{boundaryOffset:p};this._$content.css("margin","".concat(G.v,"px ").concat(G.h,"px"))}_getVisualContainer(){var U,G,A=this._props.container,K=this._props.visualContainer,z=(0,c.xH)(null===(U=this._props.position)||void 0===U?void 0:U.of)?this._props.position.of.target:null===(G=this._props.position)||void 0===G?void 0:G.of;return(0,t.A)(K||A||z||M)}
1_normalizePosition(U){var G={boundaryOffset:p};return(0,c.O9)(U)?(0,m.X)(!0,{},G,this._positionToObject(U)):G}_positionToObject(U){return(0,c.Kg)(U)?(0,m.X)({},N[U]):U}}},6022:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>dt});var t=a(186),c=a(3930),m=a(4905),x=a(3862),_=a(7669),b=a(181),v=a(4292),M=a(7465),N=a(5042),p=a(2984),P=a(7963),g=a(7951),U=a(2101),G=a(2535),A=a(2463),K=a(3558),z=a(4435),ee=a(7550),L=a(7310),f=a(1269),D=a(9393),R=a(4159),S=a(8257),j=a(9104),fe=a(5822),H=function(){var Je=[];return{add:function(Ce){Je.includes(Ce)||Je.push(Ce)},remove:function(Ce){var we=Je.indexOf(Ce);-1!==we&&Je.splice(we,1)},fire:function(){var Ce=Je.pop(),we=!!Ce;return we&&Ce(),we},hasCallback:function(){return Je.length>0}}}(),J=a(1063),Y=a(8041),W=a(9263),re=a(7662),le=a(7420),Re=G.A.add,Be=(0,z.zk)(),Fe=K.WV,Z="dx-inner-overlay",ve="dx-state-invisible",Ie=[],De="dx-prevent-safari-scrolling";Re(()=>{f.A.subscribeGlobal(_.A.getDocument(),R.A.down,Je=>{for(var Ce=Ie.length-1;Ce>=0;Ce--)if(!Ie[Ce]._proxiedDocumentDownHandler(Je))return})});var yt=Y.A.inherit({_supportedKeys:function(){return(0,g.X)(this.callBase(),{escape:function(){this.hide()}})},_getDefaultOptions:function(){return(0,g.X)(this.callBase(),{activeStateEnabled:!1,visible:!1,deferRendering:!0,shading:!0,shadingColor:"",wrapperAttr:{},position:(0,g.X)({},le.g.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,_ignorePreventScrollEventsDeprecation:!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,preventScrollEvents:!0,onPositioned:null,propagateOutsideClick:!1,ignoreChildEvents:!0,_checkParentVisibility:!0,_hideOnParentScrollTarget:void 0,_fixWrapperPosition:!1})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return!(0,z.Vd)()},options:{width:null,height:null,animation:null,_checkParentVisibility:!1}}])},_setOptionsByReference:function(){this.callBase(),(0,g.X)(this._optionsByReference,{animation:!0})},$wrapper:function(){return this._$wrapper},_eventBindingTarget:function(){return this._$content},_setDeprecatedOptions(){this.callBase(),(0,g.X)(this._deprecatedOptions,{closeOnOutsideClick:{since:"22.1",alias:"hideOnOutsideClick"}})},ctor:function(Je,Ce){this.callBase(Je,Ce),Ce&&(Ce.copyRootClassesToWrapper&&!Ce._ignoreCopyRootClassesToWrapperDeprecation&&this._logDeprecatedOptionWarning("copyRootClassesToWrapper",{since:"21.2",message:'Use the "wrapperAttr" option instead'}),Ce.elementAttr&&!Ce._ignoreElementAttrDeprecation&&this._logDeprecatedOptionWarning("elementAttr",{since:"21.2",message:'Use the "wrapperAttr" option instead'}),"preventScrollEvents"in Ce&&!Ce._ignorePreventScrollEventsDeprecation&&this._logDeprecatedPreventScrollEventsInfo())},_logDeprecatedPreventScrollEventsInfo(){this._logDeprecatedOptionWarning("preventScrollEvents",{since:"23.1",message:"If you enable this option, end-users may experience scrolling issues."})},_init:function(){this.callBase(),this._initActions(),this._initHideOnOutsideClickHandler(),this._initTabTerminatorHandler(),this._customWrapperClass=null,this._$wrapper=(0,v.A)("<div>").addClass("dx-overlay-wrapper"),this._$content=(0,v.A)("<div>").addClass("dx-overlay-content"),this._initInnerOverlayClass();var Je=this.$element();this.option("copyRootClassesToWrapper")&&this._$wrapper.addClass(Je.attr("class")),Je.addClass("dx-overlay"),this._$wrapper.attr("data-bind","dxControlsDescendantBindings: true"),this._toggleViewPortSubscription(!0),this._initHideTopOverlayHandler(this.option("hideTopOverlayHandler")),this._parentsScrollSubscriptionInfo={handler:Ce=>{this._hideOnParentsScrollHandler(Ce)}},this.warnPositionAsFunction()},warnPositionAsFunction(){(0,A.Tn)(this.option("position"))&&ee.A.log("W0018")},_initInnerOverlayClass:function(){this._$content.toggleClass(Z,this.option("innerOverlay"))},_initHideTopOverlayHandler:function(Je){this._hideTopOverlayHandler=Je},_getActionsList:function(){return["onShowing","onShown","onHiding","onHidden","onPositioned","onVisualPositionChanged"]},_initActions:function(){this._actions={};var Je=this._getActionsList();(0,U.__)(Je,(Ce,we)=>{this._actions[we]=this._createActionByOption(we,{excludeValidators:["disabled","readOnly"]}
1)||N.lQ})},_initHideOnOutsideClickHandler:function(){var Je=this;this._proxiedDocumentDownHandler=function(){return Je._documentDownHandler(...arguments)}},_initMarkup(){this.callBase(),this._renderWrapperAttributes(),this._initPositionController()},_documentDownHandler:function(Je){this._showAnimationProcessing&&this._stopAnimation();var Ce=(0,v.A)(Be.document).is(Je.target)||(0,P.gR)(Be.document,Je.target),we=(0,v.A)(Je.target).closest(".".concat(Z)).length;return Ce&&!we&&!(this._$content.is(Je.target)||(0,P.gR)(this._$content.get(0),Je.target))&&this._shouldHideOnOutsideClick(Je)&&this._outsideClickHandler(Je),this.option("propagateOutsideClick")},_shouldHideOnOutsideClick:function(Je){var{hideOnOutsideClick:Ce}=this.option();return(0,A.Tn)(Ce)?Ce(Je):Ce},_outsideClickHandler(Je){this.option("shading")&&Je.preventDefault(),this.hide()},_getAnonymousTemplateName:function(){return"content"},_initTemplates:function(){this._templateManager.addDefaultTemplates({content:new M.A}),this.callBase()},_isTopOverlay:function(){for(var Je=this._overlayStack(),Ce=Je.length-1;Ce>=0;Ce--){var we=Je[Ce]._findTabbableBounds();if(we.first||we.last)return Je[Ce]===this}return!1},_overlayStack:function(){return Ie},_zIndexInitValue:function(){return yt.baseZIndex()},_toggleViewPortSubscription:function(Je){var Ce=this;Fe.remove(this._viewPortChangeHandle),Je&&(this._viewPortChangeHandle=function(){Ce._viewPortChangeHandler(...arguments)},Fe.add(this._viewPortChangeHandle))},_viewPortChangeHandler:function(){this._positionController.updateContainer(this.option("container")),this._refresh()},_renderWrapperAttributes(){var{wrapperAttr:Je}=this.option(),Ce=(0,g.X)({},Je),we=Ce.class;delete Ce.class,this.$wrapper().attr(Ce).removeClass(this._customWrapperClass).addClass(we),this._customWrapperClass=we},_renderVisibilityAnimate:function(Je){return this._stopAnimation(),Je?this._show():this._hide()},_getAnimationConfig:function(){return this._getOptionValue("animation",this)},_toggleBodyScroll:N.lQ,_animateShowing:function(){var Je,Ce,we,Ee=this,He=null!==(Je=this._getAnimationConfig())&&void 0!==Je?Je:{},Ot=this._normalizeAnimation(He.show,"to"),It=null!==(Ce=Ot?.start)&&void 0!==Ce?Ce:N.lQ,un=null!==(we=Ot?.complete)&&void 0!==we?we:N.lQ;this._animate(Ot,function(){if(!Ee._isAnimationPaused){Ee.option("focusStateEnabled")&&f.A.trigger(Ee._focusTarget(),"focus");for(var ln=arguments.length,Ln=new Array(ln),Zt=0;Zt<ln;Zt++)Ln[Zt]=arguments[Zt];un.call(Ee,...Ln),Ee._showAnimationProcessing=!1,Ee._isHidden=!1,Ee._actions.onShown(),Ee._toggleSafariScrolling(),Ee._showingDeferred.resolve()}},function(){if(!Ee._isAnimationPaused){for(var ln=arguments.length,Ln=new Array(ln),Zt=0;Zt<ln;Zt++)Ln[Zt]=arguments[Zt];It.call(Ee,...Ln),Ee._showAnimationProcessing=!0}})},_processShowingHidingCancel:function(Je,Ce,we){(0,A.yL)(Je)?Je.then(Ee=>{Ee?we():Ce()}).catch(()=>Ce()):Je?we():Ce()},_show:function(){if(this._showingDeferred=new p.cY,this._parentHidden=this._isParentHidden(),this._showingDeferred.done(()=>{delete this._parentHidden}),this._parentHidden)return this._isHidden=!0,this._showingDeferred.resolve();if(this._currentVisible)return(new p.cY).resolve().promise();if(this._currentVisible=!0,this._isHidingActionCanceled)delete this._isHidingActionCanceled,this._showingDeferred.reject();else{var Je=()=>{this._stopAnimation(),this._toggleBodyScroll(this.option("enableBodyScroll")),this._toggleVisibility(!0),this._$content.css("visibility","hidden"),this._$content.toggleClass(ve,!1),this._updateZIndexStackPosition(!0),this._positionController.openingHandled(),this._renderContent();var Ce={cancel:!1};this._actions.onShowing(Ce),this._processShowingHidingCancel(Ce.cancel,()=>{this._$content.css("visibility",""),this._renderVisibility(!0),this._animateShowing()},()=>{this._toggleVisibility(!1),this._$content.css("visibility",""),this._$content.toggleClass(ve,!0),this._isShowingActionCanceled=!0,this._moveFromContainer(),this._toggleBodyScroll(!0),this.option("visible",!1),this._showingDeferred.resolve()})};this.option("templatesRenderAsynchronously")?(this._stopShowTimer(),this._asyncShowTimeout=setTimeout(Je)):Je()}return this._showingDeferred.promise()},_normalizeAnimation:function(Je,Ce){return Je&&(Je=(0,g.X)({type:"slide",skipElementInitialStyles:!0},Je),(0,A.Gv)(Je[Ce])&&(0,g.X)(Je[Ce],{position:this._positionController.position})),Je},_animateHiding:function(){var Je,Ce,we,Ee=this,He=null!==(Je=this._getAnimationConfig())&&void 0!==Je?Je:{},Ot=this._normalizeAnimation(He.hide,"from"),It=null!==(Ce=Ot?.start)&&void 0!==Ce?Ce:N.lQ,un=null!==(we=Ot?.complete)&&void 0!==we?we:N.lQ;this._animate(Ot,function(){var ln;Ee._$content.css("pointerEvents",""),Ee._renderVisibility(!1);for(var Ln=arguments.length,Zt=new Array(Ln),ct=0;ct<Ln;ct++)Zt[ct]=arguments[ct];un.call(Ee,...Zt),Ee._hideAnimationProcessing=!1,null===(ln=Ee._actions)||void 0===ln||ln.onHidden(),Ee._hidingDeferred.resolve()},function(){Ee._$content.css("pointerEvents","none");for(var ln=arguments.length,Ln=new Array(ln),Zt=0;Zt<ln;Zt++)Ln[Zt]=arguments[Zt];It.call(Ee,...Ln),Ee._hideAnimationProcessing=!0})},_hide:function(){if(!this._currentVisible)return(new p.cY).resolve().promise();this._currentVisible=!1,this._hidingDeferred=new p.cY;var Je={cancel:!1};return this._isShowingActionCanceled?(delete this._isShowingActionCanceled,this._hidingDeferred.reject()):(this._actions.onHiding(Je),this._toggleSafariScrolling(),this._toggleBodyScroll(!0),this._processShowingHidingCancel(Je.cancel,()=>{this._forceFocusLost(),this._toggleShading(!1),this._toggleSubscriptions(!1),this._stopShowTimer(),this._animateHiding()},()=>{this._isHidingActionCanceled=!0,this._toggleBodyScroll(this.option("enableBodyScroll")),this.option("visible",!0),this._hidingDeferred.resolve()})),this._hidingDeferred.promise()},_forceFocusLost:function(){var Je=_.A.getActiveElement();this._$content.find(Je).length&&(0,P.GX)()},_animate:function(Je,Ce,we){Je?c.A.animate(this._$content,(0,g.X)({},Je,{start:we=we||Je.start||N.lQ,complete:Ce})):Ce()},_stopAnimation:function(){c.A.stop(this._$content,!0)},_renderVisibility:function(Je){Je&&this._isParentHidden()||(this._currentVisible=Je,this._stopAnimation(),Je||(0,fe.EH)(this._$content),Je?(this._checkContainerExists(),this._moveToContainer(),this._renderGeometry(),(0,fe.I9)(this._$content),(0,fe.ho)(this._$content)):(this._toggleVisibility(Je),this._$content.toggleClass(ve,!Je),this._updateZIndexStackPosition(Je),this._moveFromContainer()),this._toggleShading(Je),this._toggleSubscriptions(Je))},_updateZIndexStackPosition:function(Je){var Ce=this._overlayStack(),we=Ce.indexOf(this);Je?(-1===we&&(this._zIndex=re.vt(this._zIndexInitValue()),Ce.push(this)),this._$wrapper.css("zIndex",this._zIndex),this._$content.css("zIndex",this._zIndex)):-1!==we&&(Ce.splice(we,1),re.TF(this._zIndex))},_toggleShading:function(Je){this._$wrapper.toggleClass("dx-overlay-shader",Je&&this.option("shading")),this._$wrapper.css("backgroundColor",this.option("shading")?this.option("shadingColor"):""),this._toggleTabTerminator(Je&&this.option("shading"))},_initTabTerminatorHandler:function(){var Je=this;this._proxiedTabTerminatorHandler=function(){Je._tabKeyHandler(...arguments)}},_toggleTabTerminator:function(Je){var Ce=(0,j.b4)("keydown",this.NAME);Je?f.A.on(_.A.getDocument(),Ce,this._proxiedTabTerminatorHandler):f.A.off(_.A.getDocument(),Ce,this._proxiedTabTerminatorHandler)},_findTabbableBounds:function(){for(var Je=this._$wrapper.find("*"),Ce=Je.length-1,we={first:null,last:null},Ee=0;Ee<=Ce&&(!we.first&&Je.eq(Ee).is(J.Kr)&&(we.first=Je.eq(Ee)),!we.last&&Je.eq(Ce-Ee).is(J.Kr)&&(we.last=Je.eq(Ce-Ee)),!we.first||!we.last);Ee++);return we},_tabKeyHandler:function(Je){if("tab"===(0,j.YD)(Je)&&this._isTopOverlay()){var Ce=this._findTabbableBounds(),we=Ce.first,Ee=Ce.last,He=!Je.shiftKey&&Je.target===Ee.get(0),Ot=Je.shiftKey&&Je.target===we.get(0),It=0===Ce.length,un=!(0,P.gR)(this._$wrapper.get(0),Je.target);if(He||Ot||It||un){Je.preventDefault();var ln=Je.shiftKey?Ee:we;f.A.trigger(ln,"focusin"),f.A.trigger(ln,"focus")}}},_toggleSubscriptions:function(Je){(0,z.Vd)()&&(this._toggleHideTopOverlayCallback(Je),this._toggleHideOnParentsScrollSubscription(Je))},_toggleHideTopOverlayCallback:function(Je){this._hideTopOverlayHandler&&(Je?H.add(this._hideTopOverlayHandler):H.remove(this._hideTopOverlayHandler))},_toggleHideOnParentsScrollSubscription:function(Je){var Ce,we=(0,j.b4)("scroll",this.NAME),{prevTargets:Ee,handler:He}=null!==(Ce=this._parentsScrollSubscriptionInfo)&&void 0!==Ce?Ce:{};f.A.off(Ee,we,He);var Ot=this.option("hideOnParentScroll");
1if(Je&&Ot){var It=this._getHideOnParentScrollTarget().parents();"desktop"===x.A.real().deviceType&&(It=It.add(Be)),f.A.on(It,we,He),this._parentsScrollSubscriptionInfo.prevTargets=It}},_hideOnParentsScrollHandler:function(Je){var Ce=!1,we=this.option("hideOnParentScroll");(0,A.Tn)(we)&&(Ce=we(Je)),!Ce&&!this._showAnimationProcessing&&this.hide()},_getHideOnParentScrollTarget:function(){var Je=(0,v.A)(this.option("_hideOnParentScrollTarget"));return Je.length?Je: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 Je=!this._currentVisible&&this.option("deferRendering");this.option("visible")&&this._isParentHidden()?this._isHidden=!0:this._contentAlreadyRendered||Je||(this._contentAlreadyRendered=!0,this._appendContentToElement(),this.callBase())},_isParentHidden:function(){if(!this.option("_checkParentVisibility"))return!1;if(void 0!==this._parentHidden)return this._parentHidden;var Je=this.$element().parent();if(Je.is(":visible"))return!1;var Ce=!1;return Je.add(Je.parents()).each(function(){if("none"===(0,v.A)(this).css("display"))return Ce=!0,!1}),Ce||!_.A.getBody().contains(Je.get(0))},_renderContentImpl:function(){var Je=new p.cY,Ce=this.option("contentTemplate"),we=this._getTemplate(Ce),Ee=this._templateManager.anonymousTemplateName===Ce;return we&&we.render({container:(0,b.c)(this.$content()),noModel:!0,transclude:Ee,onRendered:()=>{Je.resolve(),this.option("templatesRenderAsynchronously")&&this._dimensionChanged()}}),this._toggleWrapperScrollEventsSubscription(this.option("preventScrollEvents")),Je.done(()=>{this.option("visible")&&this._moveToContainer()}),Je.promise()},_getPositionControllerConfig(){var{container:Je,visualContainer:Ce,_fixWrapperPosition:we,restorePosition:Ee,_skipContentPositioning:He}=this.option();return{container:Je,visualContainer:Ce,$root:this.$element(),$content:this._$content,$wrapper:this._$wrapper,onPositioned:this._actions.onPositioned,onVisualPositionChanged:this._actions.onVisualPositionChanged,restorePosition:Ee,_fixWrapperPosition:we,_skipContentPositioning:He}},_initPositionController(){this._positionController=new le.A(this._getPositionControllerConfig())},_toggleWrapperScrollEventsSubscription:function(Je){var Ce=(0,j.b4)(D.Cy,this.NAME);f.A.off(this._$wrapper,Ce),Je&&f.A.on(this._$wrapper,Ce,{validate:function(){return!0},getDirection:function(){return"both"},_toggleGestureCover:function(we){we||this._toggleGestureCoverImpl(we)},_clearSelection:N.lQ,isNative:!0},we=>{var Ee=we.originalEvent.originalEvent,{type:He}=Ee||{},Ot="wheel"===He,It="mousemove"===He,un=Ot&&!(0,j.By)(we);we._cancelPreventDefault=!0,Ee&&!1!==we.cancelable&&(!It&&!Ot||un)&&we.preventDefault()})},_moveFromContainer:function(){this._$content.appendTo(this.$element()),this._$wrapper.detach()},_checkContainerExists(){var Je=this._positionController.$container;void 0!==Je&&(Je.length>0||L.A.log("W1021",this.NAME))},_moveToContainer:function(){this._$wrapper.appendTo(this._positionController.$container),this._$content.appendTo(this._$wrapper)},_renderGeometry:function(Je){var{visible:Ce}=this.option();Ce&&(0,z.Vd)()&&(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,A.l6)(this._positionController.$visualContainer.get(0))&&this.option("shading")},_toggleSafariScrolling:function(){var Je=this.option("visible"),Ce=(0,v.A)(_.A.getBody()),we="ios"===x.A.real().platform&&W.A.safari,Ee=this._isAllWindowCovered(),He=Ce.hasClass(De);we&&(!He||Je&&Ee&&!this._disposed?!He&&Je&&Ee&&(this._cachedBodyScrollTop=Be.pageYOffset,Ce.addClass(De)):(Ce.removeClass(De),Be.scrollTo(0,this._cachedBodyScrollTop),this._cachedBodyScrollTop=void 0))},_renderWrapper:function(){this._positionController.styleWrapperPosition(),this._renderWrapperDimensions(),this._positionController.positionWrapper()},_renderWrapperDimensions:function(){var Je=this._positionController.$visualContainer,Ce=_.A.getDocumentElement(),we=(0,A.l6)(Je.get(0)),Ee=we?Ce.clientWidth:(0,t.Ot)(Je),He=we?Be.innerHe
1ight:(0,t.P$)(Je);this._$wrapper.css({width:Ee,height:He})},_renderDimensions:function(){var Je=this._$content.get(0);this._$content.css({minWidth:this._getOptionValue("minWidth",Je),maxWidth:this._getOptionValue("maxWidth",Je),minHeight:this._getOptionValue("minHeight",Je),maxHeight:this._getOptionValue("maxHeight",Je),width:this._getOptionValue("width",Je),height:this._getOptionValue("height",Je)})},_focusTarget:function(){return this._$content},_attachKeyboardEvents:function(){this._keyboardListenerId=S.QJ.on(this._$content,null,Je=>this._keyboardHandler(Je))},_keyboardHandler:function(Je){((0,v.A)(Je.originalEvent.target).is(this._$content)||!this.option("ignoreChildEvents"))&&this.callBase(...arguments)},_isVisible:function(){return this.option("visible")},_visibilityChanged:function(Je){Je?this.option("visible")&&this._renderVisibilityAnimate(Je):this._renderVisibilityAnimate(Je)},_dimensionChanged:function(){this._renderGeometry()},_clean:function(){var Je=this.option();!this._contentAlreadyRendered&&!Je.isRenovated&&this.$content().empty(),this._renderVisibility(!1),this._stopShowTimer(),this._cleanFocusState()},_stopShowTimer(){this._asyncShowTimeout&&clearTimeout(this._asyncShowTimeout),this._asyncShowTimeout=null},_dispose:function(){c.A.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")&&re.TF(this._zIndex),this._$wrapper.remove(),this._$content.remove()},_toggleRTLDirection:function(Je){this._$content.toggleClass("dx-rtl",Je)},_optionChanged:function(Je){var{value:Ce,name:we}=Je;if(this._getActionsList().includes(we))this._initActions();else switch(we){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(Ce).done(()=>{var Ee;return null===(Ee=this._animateDeferred)||void 0===Ee?void 0:Ee.resolveWith(this)}).fail(()=>{var Ee;return null===(Ee=this._animateDeferred)||void 0===Ee?void 0:Ee.reject()});break;case"container":this._positionController.updateContainer(Ce),this._invalidate(),this._toggleSafariScrolling();break;case"visualContainer":this._positionController.updateVisualContainer(Ce),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(Ce),this._toggleHideTopOverlayCallback(this.option("visible"));break;case"hideOnParentScroll":case"_hideOnParentScrollTarget":this._toggleHideOnParentsScrollSubscription(this.option("visible"));break;case"rtlEnabled":this._contentAlreadyRendered=!1,this.callBase(Je);break;case"_fixWrapperPosition":this._positionController.fixWrapperPosition=Ce;break;case"wrapperAttr":this._renderWrapperAttributes();break;case"restorePosition":this._positionController.restorePosition=Ce;break;case"preventScrollEvents":this._logDeprecatedPreventScrollEventsInfo(),this._toggleWrapperScrollEventsSubscription(Ce);break;default:this.callBase(Je)}},toggle:function(Je){Je=void 0===Je?!this.option("visible"):Je;var Ce=new p.cY;if(Je===this.option("visible"))return Ce.resolveWith(this,[Je]).promise();var we=new p.cY;return this._animateDeferred=we,this.option("visible",Je),we.promise().done(()=>{delete this._animateDeferred,Ce.resolveWith(this,[this.option("visible")])}).fail(()=>{delete this._animateDeferred,Ce.reject()}),Ce.promise()},$content:function(){return this._$content},show:function(){return this.toggle(!0)},hide:function(){return this.toggle(!1)},content:function(){return(0,b.c)(this._$content)},repaint:function(){this._contentAlreadyRendered?(this._positionController.restorePositionOnNextRender(!0),this._renderGeometry({forceStopAnimation:!0}),(0,fe.ho)(this._$content)):this.callBase()}});yt.baseZIndex=Je=>re.E3(Je),(0,m.A)("dxOverlay",yt);const dt=yt},7662:(Nt,Le,a)=>{"use strict";a.d(Le,{C0:()=>v,E3:()=>x,TF:()=>b,vt:()=>_});var t=a(5042),c=1500,m=[],x=N=>c=(0,t.YD)(N,c),_=function(){var p=m.length,P=(p?m[p-1]:arguments.length>0&&void 0!==arguments[0]?arguments[0]:c)+1;return m.push(P),P},b=N=>{var p=m.indexOf(N);p>=0&&m.splice(p,1)},v=N=>m.length&&m[m.length-1]===N},4633:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>jn});var t=a(4905),c=a(3862),m=a(181),x=a(4292),_=a(7465),b=a(9263),v=a(5042),M=a(7951),N=a(8745),p=a(2101),P=
1a(186),g=a(448),U=a(2463),G=a(9011),A=a(4435),K=a(5822),z=a(736),ee=a(2824),L=a(7669),f=a(2209),D=a(1269),R=a(9393),S=a(9104);const H=class fe{constructor(Lt){this.init(Lt)}init(Lt){var{dragEnabled:Jt,handle:pn,draggableElement:Dn,positionController:zn}=Lt;this._positionController=zn,this._draggableElement=Dn,this._handle=pn,this._dragEnabled=Jt,this.unsubscribe(),Jt&&this.subscribe()}moveDown(Lt){this._moveTo(5,0,Lt)}moveUp(Lt){this._moveTo(-5,0,Lt)}moveLeft(Lt){this._moveTo(0,-5,Lt)}moveRight(Lt){this._moveTo(0,5,Lt)}subscribe(){var Lt=this._getEventNames();D.A.on(this._handle,Lt.startEventName,Jt=>{this._dragStartHandler(Jt)}),D.A.on(this._handle,Lt.updateEventName,Jt=>{this._dragUpdateHandler(Jt)}),D.A.on(this._handle,Lt.endEventName,Jt=>{this._dragEndHandler(Jt)})}unsubscribe(){var Lt=this._getEventNames();D.A.off(this._handle,Lt.startEventName),D.A.off(this._handle,Lt.updateEventName),D.A.off(this._handle,Lt.endEventName)}_getEventNames(){return{startEventName:(0,S.b4)(R.ni,"overlayDrag"),updateEventName:(0,S.b4)(R.Cy,"overlayDrag"),endEventName:(0,S.b4)(R._N,"overlayDrag")}}_dragStartHandler(Lt){var Jt=this._getAllowedOffsets();this._prevOffset={x:0,y:0},Lt.targetElements=[],Lt.maxTopOffset=Jt.top,Lt.maxBottomOffset=Jt.bottom,Lt.maxLeftOffset=Jt.left,Lt.maxRightOffset=Jt.right}_dragUpdateHandler(Lt){this._moveByOffset({top:Lt.offset.y-this._prevOffset.y,left:Lt.offset.x-this._prevOffset.x}),this._prevOffset=Lt.offset}_dragEndHandler(Lt){this._positionController.dragHandled(),this._positionController.detectVisualPositionChange(Lt)}_moveTo(Lt,Jt,pn){if(this._dragEnabled){pn.preventDefault(),pn.stopPropagation();var Dn=this._fitOffsetIntoAllowedRange(Lt,Jt);this._moveByOffset(Dn),this._dragEndHandler(pn)}}_fitOffsetIntoAllowedRange(Lt,Jt){var pn=this._getAllowedOffsets();return{top:(0,f.df)(Lt,-pn.top,pn.bottom),left:(0,f.df)(Jt,-pn.left,pn.right)}}_getContainerDimensions(){var Lt=L.A.getDocument(),Jt=this._positionController.$dragResizeContainer.get(0),pn=(0,P.Ot)(Jt),Dn=(0,P.P$)(Jt);return(0,U.l6)(Jt)&&(Dn=Math.max(Lt.body.clientHeight,Dn),pn=Math.max(Lt.body.clientWidth,pn)),{width:pn,height:Dn}}_getContainerPosition(){var Lt=this._positionController.$dragResizeContainer.get(0);return(0,U.l6)(Lt)?{top:0,left:0}:(0,P.A3)(Lt)}_getElementPosition(){return(0,P.A3)(this._draggableElement)}_getInnerDelta(){var Lt=this._getContainerDimensions(),Jt=this._getElementDimensions();return{x:Lt.width-Jt.width,y:Lt.height-Jt.height}}_getOuterDelta(){var{width:Lt,height:Jt}=this._getElementDimensions(),pn=this._positionController.outsideDragFactor;return{x:Lt*pn,y:Jt*pn}}_getFullDelta(){var Lt=this._getInnerDelta(),Jt=this._getOuterDelta();return{x:Lt.x+Jt.x,y:Lt.y+Jt.y}}_getElementDimensions(){return{width:this._draggableElement.offsetWidth,height:this._draggableElement.offsetHeight}}_getAllowedOffsets(){var Lt=this._getFullDelta();if(!(Lt.y>=0&&Lt.x>=0))return{top:0,bottom:0,left:0,right:0};var pn=this._getElementPosition(),Dn=this._getContainerPosition(),zn=this._getOuterDelta();return{top:pn.top-Dn.top+zn.y,bottom:-pn.top+Dn.top+Lt.y,left:pn.left-Dn.left+zn.x,right:-pn.left+Dn.left+Lt.x}}_moveByOffset(Lt){var Jt=(0,ee.x5)(this._draggableElement);(0,ee.Cy)(this._draggableElement,{left:Jt.left+Lt.left,top:Jt.top+Lt.top})}};var J=a(8168),Y=a(8365),W="dxResizable",Re="dx-resizable-handle",_e="dx-resizable-handle-corner",ne=(0,S.b4)(R.ni,W),Z=(0,S.b4)(R.Cy,W),ve=(0,S.b4)(R._N,W),ke={left:"borderLeftWidth",top:"borderTopWidth",right:"borderRightWidth",bottom:"borderBottomWidth"},Ne=Y.A.inherit({_getDefaultOptions:function(){return(0,M.X)(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 Pt=this.option("handles");if("none"!==Pt&&Pt){var Lt="all"===Pt?["top","bottom","left","right"]:Pt.split(" "),Jt={};(0,p.__)(Lt,(pn,Dn)=>{Jt[Dn]=!0,this._renderHandle(Dn)}),Jt.bottom&&Jt.right&&this._renderHandle("corner-bottom-right"),Jt.bottom&&Jt.left&&this._renderHandle("corner-bottom-left"),Jt.top&&Jt.right&&this._renderHandle("corner-top-right"),Jt.top&&Jt.left&&this._renderHandle("corner-top-left"),this._attachEventHandlers()}},_renderHandle:function(Pt){var Lt=(0,x.A)("<div>").addClass(Re).addClass(Re+"-"+Pt).appendTo(this.$element());this._handles.push(Lt)},_attachEventHandlers:function(){if(!this.option("disabled")){var Pt={};Pt[ne]=this._dragStartHandler.bind(this),Pt[Z]=this._dragHandler.bind(this),Pt[ve]=this._dragEndHandler.bind(this),this._handles.forEac
1h(Lt=>{D.A.on(Lt,Pt,{direction:"both",immediate:!0})})}},_detachEventHandlers:function(){this._handles.forEach(Pt=>{D.A.off(Pt)})},_toggleEventHandlers:function(Pt){Pt?this._attachEventHandlers():this._detachEventHandlers()},_getElementSize:function(){var Pt=this.$element();return"border-box"===Pt.css("boxSizing")?{width:(0,P.Ot)(Pt),height:(0,P.P$)(Pt)}:{width:(0,P.RG)(Pt),height:(0,P.Oq)(Pt)}},_dragStartHandler:function(Pt){var Lt=this.$element();Lt.is(".dx-state-disabled, .dx-state-disabled *")?Pt.cancel=!0:(this._toggleResizingClass(!0),this._movingSides=this._getMovingSides(Pt),this._elementLocation=(0,ee.x5)(Lt),this._elementSize=this._getElementSize(),this._renderDragOffsets(Pt),this._resizeStartAction({event:Pt,width:this._elementSize.width,height:this._elementSize.height,handles:this._movingSides}),Pt.targetElements=null)},_toggleResizingClass:function(Pt){this.$element().toggleClass("dx-resizable-resizing",Pt)},_renderDragOffsets:function(Pt){var Lt=this._getArea();if(Lt){var Jt=(0,x.A)(Pt.target).closest("."+Re),pn=(0,P.Ot)(Jt),Dn=(0,P.P$)(Jt),zn=Jt.offset(),Dt=Lt.offset,it=this._getAreaScrollOffset();Pt.maxLeftOffset=this._leftMaxOffset=zn.left-Dt.left-it.scrollX,Pt.maxRightOffset=this._rightMaxOffset=Dt.left+Lt.width-zn.left-pn+it.scrollX,Pt.maxTopOffset=this._topMaxOffset=zn.top-Dt.top-it.scrollY,Pt.maxBottomOffset=this._bottomMaxOffset=Dt.top+Lt.height-zn.top-Dn+it.scrollY}},_getBorderWidth:function(Pt,Lt){if((0,U.l6)(Pt.get(0)))return 0;var Jt=Pt.css(ke[Lt]);return parseInt(Jt)||0},_proportionate:function(Pt,Lt){var Jt=this._elementSize;return Lt*("x"===Pt?Jt.width/Jt.height:Jt.height/Jt.width)},_getProportionalDelta:function(Pt){var{x:Lt,y:Jt}=Pt,pn=this._proportionate("y",Lt);if(pn>=Jt)return{x:Lt,y:pn};var Dn=this._proportionate("x",Jt);return Dn>=Lt?{x:Dn,y:Jt}:{x:0,y:0}},_getDirectionName:function(Pt){var Lt=this._movingSides;
1return"x"===Pt?Lt.left?"left":"right":Lt.top?"top":"bottom"},_fitIntoArea:function(Pt,Lt){var Jt,pn=this._getDirectionName(Pt);return Math.min(Lt,null!==(Jt=this["_".concat(pn,"MaxOffset")])&&void 0!==Jt?Jt:1/0)},_fitDeltaProportionally:function(Pt){var Lt=(0,J.A)({},Pt),Jt=this._elementSize,{minWidth:pn,minHeight:Dn,maxWidth:zn,maxHeight:Dt}=this.option(),it=()=>Jt.width+Lt.x,Ht=()=>Jt.height+Lt.y,d=h=>Lt[h]===this._fitIntoArea(h,Lt[h]),O=()=>(0,f.r4)(it(),pn,zn)&&d("x"),T=()=>(0,f.r4)(Ht(),Dn,Dt)&&d("y");if(!O()){var Me=this._fitIntoArea("x",(0,f.df)(it(),pn,zn)-Jt.width);Lt={x:Me,y:this._proportionate("y",Me)}}if(!T()){var be=this._fitIntoArea("y",(0,f.df)(Ht(),Dn,Dt)-Jt.height);Lt={x:this._proportionate("x",be),y:be}}return O()&&T()?Lt:{x:0,y:0}},_fitDelta:function(Pt){var{x:Lt,y:Jt}=Pt,pn=this._elementSize,{minWidth:Dn,minHeight:zn,maxWidth:Dt,maxHeight:it}=this.option();return{x:(0,f.df)(pn.width+Lt,Dn,Dt)-pn.width,y:(0,f.df)(pn.height+Jt,zn,it)-pn.height}},_getDeltaByOffset:function(Pt){var Lt=this._movingSides,Jt=this._isCornerHandler(Lt)&&this.option("keepAspectRatio"),pn={x:Pt.x*(Lt.left?-1:1),y:Pt.y*(Lt.top?-1:1)};if(Jt){var Dn=this._getProportionalDelta(pn);pn=this._fitDeltaProportionally(Dn)}else{var Dt=this._fitDelta(pn);pn=this._roundByStep(Dt)}return pn},_updatePosition:function(Pt,Lt){var{width:Jt,height:pn}=Lt,Dn=this._elementLocation,zn=this._movingSides,Dt=this.$element(),it=this._getElementSize();(0,ee.Cy)(Dt,{top:Dn.top+(zn.top?Pt.y*(zn.top?-1:1)-((it.height||pn)-pn):0),left:Dn.left+(zn.left?Pt.x*(zn.left?-1:1)-((it.width||Jt)-Jt):0)})},_dragHandler:function(Pt){var Lt=this._getOffset(Pt),Jt=this._getDeltaByOffset(Lt),pn=this._updateDimensions(Jt);this._updatePosition(Jt,pn),this._triggerResizeAction(Pt,pn)},_updateDimensions:function(Pt){var Lt=d=>"px"===d.substring(d.length-2),Jt="strict"===this.option("stepPrecision"),pn=this._elementSize,Dn=pn.width+Pt.x,zn=pn.height+Pt.y,Dt=this.$element().get(0).style,it=Pt.x||Jt||Lt(Dt.width),Ht=Pt.y||Jt||Lt(Dt.height);return it&&this.option({width:Dn}),Ht&&this.option({height:zn}),{width:it?Dn:pn.width,height:Ht?zn:pn.height}},_triggerResizeAction:function(Pt,Lt){var{width:Jt,height:pn}=Lt;this._resizeAction({event:Pt,width:this.option("width")||Jt,height:this.option("height")||pn,handles:this._movingSides}),(0,K.ho)(this.$element())},_isCornerHandler:Pt=>0===Object.values(Pt).reduce((Lt,Jt)=>Lt^Jt,0),_getOffset:function(Pt){var Lt=Pt.offset,Jt=this._movingSides;return!Jt.left&&!Jt.right&&(Lt.x=0),!Jt.top&&!Jt.bottom&&(Lt.y=0),Lt},_roundByStep:function(Pt){return"strict"===this.option("stepPrecision")?this._roundStrict(Pt):this._roundNotStrict(Pt)},_getSteps:function(){return(0,v.Li)(this.option("step"),!this.option("roundStepValue"))},_roundNotStrict:function(Pt){var Lt=this._getSteps();return{x:Pt.x-Pt.x%Lt.h,y:Pt.y-Pt.y%Lt.v}},_roundStrict:function(Pt){var Lt=this._movingSides,Jt={x:Pt.x*(Lt.left?-1:1),y:Pt.y*(Lt.top?-1:1)},pn=this._getSteps(),Dn=this._elementLocation,zn=this._elementSize,Ht=((Lt.left?Dn.left:Dn.left+zn.width)+Jt.x)%pn.h,d=((Lt.top?Dn.top:Dn.top+zn.height)+Jt.y)%pn.v,O=Math.sign||(en=>0==(en=+en)||isNaN(en)?en:en>0?1:-1),T=(en,Kn)=>(1+.2*O(Kn))%1*en,Me=(en,Kn)=>Math.abs(en)<.2*Kn,be=Jt.x-Ht,h=Jt.y-d;Ht>T(pn.h,Jt.x)&&(be+=pn.h),d>T(pn.v,Jt.y)&&(h+=pn.v);var w=!Lt.left&&!Lt.right||Me(Jt.x,pn.h)?0:be,Oe=!Lt.top&&!Lt.bottom||Me(Jt.y,pn.v)?0:h;return{x:w*(Lt.left?-1:1),y:Oe*(Lt.top?-1:1)}},_getMovingSides:function(Pt){var Lt=(0,x.A)(Pt.target),Jt=Lt.hasClass(_e+"-top-left"),pn=Lt.hasClass(_e+"-top-right"),Dn=Lt.hasClass(_e+"-bottom-left"),zn=Lt.hasClass(_e+"-bottom-right");return{top:Lt.hasClass("dx-resizable-handle-top")||Jt||pn,left:Lt.hasClass("dx-resizable-handle-left")||Jt||Dn,bottom:Lt.hasClass("dx-resizable-handle-bottom")||Dn||zn,right:Lt.hasClass("dx-resizable-handle-right")||pn||zn}},_getArea:function(){var Pt=this.option("area");return(0,U.Tn)(Pt)&&(Pt=Pt.call(this)),(0,U.Qd)(Pt)?this._getAreaFromObject(Pt):this._getAreaFromElement(Pt)},_getAreaScrollOffset:function(){var Pt=this.option("area"),Jt={scrollY:0,scrollX:0};if(!(0,U.Tn)(Pt)&&!(0,U.Qd)(Pt)){var pn=(0,x.A)(Pt)[0];(0,U.l6)(pn)&&(Jt.scrollX=pn.pageXOffset,Jt.scrollY=pn.pageYOffset)}return Jt},_getAreaFromObject:function(Pt){var Lt={width:Pt.right-Pt.left,height:Pt.bottom-Pt.top,offset:{left:Pt.left,top:Pt.top}};return this._correctAreaGeometry(Lt),Lt},_getAreaFromElement:function(Pt){var Jt,Lt=(0,x.A)(Pt);return Lt.length&&(Jt={width:(0,P.hh)(Lt),height:(0,P.yV)(Lt),offset:(0,M.X)({top:0,left:0},(0,U.l6)(Lt[0])?{}:Lt.offset())},this._correctAreaGeometry(Jt,Lt)),Jt},_correctAreaGeometry:function(Pt,Lt){var Jt=Lt?this._getBorderWidth(Lt,"left"):0,pn=Lt?this._getBorderWidth(Lt,"top"):0;Pt.offset.left+=Jt+this._getBorderWidth(this.$element(),"left"),Pt.offset.top+=pn+this._getBorderWidth(this.$element(),"top"),Pt.width-=(0,P.Ot)(this.$element())-(0,P.hh)(this.$element()),Pt.height-=(0,P.P$)(this.$element())-(0,P.yV)(this.$element())},_dragEndHandler:function(Pt){var Lt=this.$element();this._resizeEndAction({event:Pt,width:(0,P.Ot)(Lt),height:(0,P.P$)(Lt),handles:this._movingSides}),this._toggleResizingClass(!1)},_renderWidth:function(Pt){this.option("width",(0,f.df)(Pt,this.option("minWidth"),this.option("maxWidth")))},_renderHeight:function(Pt){this.option("height",(0,f.df)(Pt,this.option("minHeight"),this.option("maxHeight")))},_optionChanged:function(Pt){switch(Pt.name){case"disabled":this._toggleEventHandlers(!Pt.value),this.callBase(Pt);break;case"handles":this._invalidate();break;case"minWidth":case"maxWidth":(0,A.Vd)()&&this._renderWidth((0,P.Ot)(this.$element()));break;case"minHeight":case"maxHeight":(0,A.Vd)()&&this._renderHeight((0,P.P$)(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(Pt)}},_clean:function(){this.$element().find("."+Re).remove()},_useTemplates:function(){return!1}});(0,t.A)(W,Ne);const Ie=Ne;var De=a(2839),et=a(6022),yt=a(1299),Je=(a(2376),a(7558)),Ce=a(7662),we=a(8587),Ee=a(3558),He=a(7420),Ot=["fullScreen","forceApplyBindings","dragOutsideBoundary","dragAndResizeArea","outsideDragFactor"],It=(0,A.zk)();class un extends He.A{constructor(Lt){var{fullScreen:Jt,forceApplyBindings:pn,dragOutsideBoundary:Dn,dragAndResizeArea:zn,outsideDragFactor:
1Dt}=Lt;super((0,we.A)(Lt,Ot)),this._props=(0,J.A)({},this._props,{fullScreen:Jt,forceApplyBindings:pn,dragOutsideBoundary:Dn,dragAndResizeArea:zn,outsideDragFactor:Dt}),this._$dragResizeContainer=void 0,this._updateDragResizeContainer()}set fullScreen(Lt){this._props.fullScreen=Lt,Lt?this._fullScreenEnabled():this._fullScreenDisabled()}get $dragResizeContainer(){return this._$dragResizeContainer}get outsideDragFactor(){return this._props.dragOutsideBoundary?1:this._props.outsideDragFactor}set dragAndResizeArea(Lt){this._props.dragAndResizeArea=Lt,this._updateDragResizeContainer()}set dragOutsideBoundary(Lt){this._props.dragOutsideBoundary=Lt,this._updateDragResizeContainer()}set outsideDragFactor(Lt){this._props.outsideDragFactor=Lt}updateContainer(Lt){super.updateContainer(Lt),this._updateDragResizeContainer()}dragHandled(){this.restorePositionOnNextRender(!1)}resizeHandled(){this.restorePositionOnNextRender(!1)}positionContent(){var Lt,Jt;this._props.fullScreen?((0,ee.Cy)(this._$content,{top:0,left:0}),this.detectVisualPositionChange()):(null===(Lt=(Jt=this._props).forceApplyBindings)||void 0===Lt||Lt.call(Jt),super.positionContent())}_updateDragResizeContainer(){this._$dragResizeContainer=this._getDragResizeContainer()}_getDragResizeContainer(){return this._props.dragOutsideBoundary?(0,x.A)(It):this._props.dragAndResizeArea?(0,x.A)(this._props.dragAndResizeArea):(0,Ee.s$)().get(0)||this._props.container?this._$markupContainer:(0,x.A)(It)}_getVisualContainer(){return this._props.fullScreen?(0,x.A)(It):super._getVisualContainer()}_fullScreenEnabled(){this.restorePositionOnNextRender(!1)}_fullScreenDisabled(){this.restorePositionOnNextRender(!0)}}var ln={setOverflow:v.lQ,restoreOverflow:v.lQ},Zt=a(3992),ct=(0,A.zk)(),rt="dx-popup",Ae="dx-popup-wrapper",Ve="dx-popup-title",at="dx-popup-bottom",sn=["cancel","clear","done"],wt="contained",ot=b.A.safari&&(0,G.U)(b.A.version,[11])<0,Vt={static:"",inherit:"dx-popup-inherit-height",flex:"dx-popup-flex-height"},wn=et.A.inherit({_supportedKeys:function(){return(0,M.X)(this.callBase(),{upArrow:Pt=>{var Lt;null===(Lt=this._drag)||void 0===Lt||Lt.moveUp(Pt)},downArrow:Pt=>{var Lt;null===(Lt=this._drag)||void 0===Lt||Lt.moveDown(Pt)},leftArrow:Pt=>{var Lt;null===(Lt=this._drag)||void 0===Lt||Lt.moveLeft(Pt)},rightArrow:Pt=>{var Lt;null===(Lt=this._drag)||void 0===Lt||Lt.moveRight(Pt)}})},_getDefaultOptions:function(){return(0,M.X)(this.callBase(),{fullScreen:!1,title:"",showTitle:!0,titleTemplate:"title",onTitleRendered:null,dragOutsideBoundary:!1,dragEnabled:!1,dragAndResizeArea:void 0,enableBodyScroll:!0,outsideDragFactor:0,onResizeStart:null,onResize:null,onResizeEnd:null,resizeEnabled:!1,toolbarItems:[],showCloseButton:!1,bottomTemplate:"bottom",useDefaultToolbarButtons:!1,useFlatToolbarButtons:!1,autoResizeEnabled:!0})},_defaultOptionsRules:function(){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(Pt){return"desktop"===c.A.real().deviceType&&"generic"===Pt.platform},options:{dragEnabled:!0}},{device:function(){return"desktop"===c.A.real().deviceType&&!c.A.isSimulator()},options:{focusStateEnabled:!0}},{device:function(){return(0,yt.Nt)()},options:{useFlatToolbarButtons:!0}},{device:function(){return(0,yt.gx)()},options:{useDefaultToolbarButtons:!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 Pt=this.option("_wrapperClassExternal"),Lt=Pt?"".concat(Ae," ").concat(Pt):Ae;this.callBase(),this._createBodyOverflowManager(),this._updateResizeCallbackSkipCondition(),this.$element().addClass(rt),this.$wrapper().addClass(Lt),this._$popupContent=this._$content.wrapInner((0,x.A)("<div>").addClass("dx-popup-content")).children().eq(0),this._toggleContentScrollClass(),this.$overlayContent().attr("role","dialog")},_render:function(){var Pt=this.option("fullScreen");this._toggleFullScreenClass(Pt),this.callBase()},_createBodyOverflowManager:function(){this._bodyOverflowManager=(()=>{if(!(0,A.Vd)())return ln;var Pt=(0,A.zk)(),Lt=L.A.getDocument().documentElement,Jt=L.A.getBody(),pn="ios"===c.A.real().platform,Dn={overflow:null,overflowX:null,overflowY:null,paddingRight:null,position:null,top:null,left:null};return{setOverflow:pn?()=>{if(!(0,U.O9)(Dn.position)&&"fixed"!==Jt.style.position){var{scrollY:it,scrollX:Ht}=Pt;Dn.position=Jt.style.position,Dn.top=Jt.style.top,Dn.left=Jt.style.left,Jt.style.setProperty("position","fixed"),Jt.style.setProperty("top","".concat(-it,"px")),Jt.style.setProperty("left","".concat(-Ht,"px"))}}:()=>{(()=>{var it=Pt.innerWidth-Lt.clientWidth;if(!(Dn.paddingRight||it<=0)){var Ht=Pt.getComputedStyle(Jt).getPropertyValue("padding-right"),d=parseInt(Ht,10);Dn.paddingRight=d,Jt.style.setProperty("padding-right","".concat(d+it,"px"))}})(),!Dn.overflow&&"hidden"!==Jt.style.overflow&&(Dn.overflow=Jt.style.overflow,Dn.overflowX=Jt.style.overflowX,Dn.overflowY=Jt.style.overflowY,Jt.style.setProperty("overflow","hidden"))},restoreOverflow:pn?()=>{if((0,U.O9)(Dn.position)){var it=-parseInt(Jt.style.top,10),Ht=-parseInt(Jt.style.left,10);["position","top","left"].forEach(d=>{Dn[d]?Jt.style.setProperty(d,Dn[d]):Jt.style.removeProperty(d)}),Pt.scrollTo(Ht,it),Dn.position=null}}:()=>{(0,U.O9)(Dn.paddingRight)&&(Dn.paddingRight?Jt.style.setProperty("padding-right","".concat(Dn.paddingRight,"px")):Jt.style.removeProperty("padding-right"),Dn.paddingRight=null),["overflow","overflowX","overflowY"].forEach(it=>{if((0,U.O9)(Dn[it])){var Ht=it.replace(/(X)|(Y)/,d=>"-".concat(d.toLowerCase()));Dn[it]?Jt.style.setProperty(Ht,Dn[it]):Jt.style.removeProperty(Ht),Dn[it]=null}})}}})()},_toggleFullScreenClass:function(Pt){this.$overlayContent().toggleClass("dx-popup-fullscreen",Pt).toggleClass("dx-popup-normal",!Pt)},_initTemplates:function(){this.callBase(),this._templateManager.addDefaultTemplates({title:new _.A,bottom:new _.A})},_getActionsList:function(){return this.callBase().concat(["onResizeStart","onResize","onResizeEnd"])},_contentResizeHandler:function(Pt){this._shouldSkipContentResize(Pt)||this._renderGeometry({shouldOnlyReposition:!0})},_doesShowAnimationChangeDimensions:function(){var Pt=this.option("animation");return["to","from"].some(Lt=>{var Jt,pn=null==Pt||null===(Jt=Pt.show)||void 0===Jt?void 0:Jt[Lt];return(0,U.Gv)(pn)&&("width"in pn||"height"in pn)})},_updateResizeCallbackSkipCondition(){var Pt=this._doesShowAnimationChangeDimensions();this._shouldSkipContentResize=Lt=>Pt&&this._showAnimationProcessing||this._areContentDimensionsRendered(Lt)},_observeContentResize:function(Pt){if(this.option("useResizeObserver")){var Lt=this._$content.get(0);Pt?Je.A.observe(Lt,Jt=>{this._contentResizeHandler(Jt)}):Je.A.unobserve(Lt)}},_areContentDimensionsRendered:function(Pt){var Lt,Jt,pn,zn,Dt,Dn=null===(Lt=Pt.contentBoxSize)||void 0===Lt?void 0:Lt[0];if(Dn)return parseInt(Dn.inlineSize,10)===(null===(zn=this._renderedDimensions)||void 0===zn?void 0:zn.width)&&parseInt(Dn.blockSize,10)===(null===(Dt=this._renderedDimensions)||void 0===Dt?void 0:Dt.height);var it=Pt.contentRect;return parseInt(it.width,10)===(null===(Jt=this._renderedDimensions)||void 0===Jt?void 0:Jt.width)&&parseInt(it.height,10)===(null===(pn=this._renderedDimensions)||void 0===pn?void 0:pn.height)},_renderContent(){this.callBase(),this._observeContentResize(!0)},_renderContentImpl:function(){this._renderTitle(),this.callBase(),this._renderResize(),this._renderBottom()},_renderTitle:function(){var Pt=this._getToolbarItems("top"),{title:Lt,showTitle:Jt}=this.option();if(Jt&&Lt&&Pt.unshift({location:c.A.current().ios?"center":"before",text:Lt}),Jt||Pt.length>0){this._$title&&this._$title.remove();var pn=(0,x.A)("<div>").addClass(Ve).insertBefore(this.$content());this._$title=this._renderTemplateByType("titleTemplate",Pt,pn).addClass(Ve),this._renderDrag(),this._executeTitleRenderAction(this._$title),this._$title.toggleClass("dx-has-close-button",this._hasCloseButton())}else this._$title&&this._$title.detach();this._toggleAriaLabel()},_toggleAriaLabel(){var Pt,{title:Lt,showTitle:Jt}=this.option(),Dn=Jt&&Lt?new Zt.A:null;null===(Pt=this._$title)||void 0===Pt||Pt.find(".".concat("dx-toolbar-label")).eq(0).attr("id",Dn),this.$overlayContent().attr("aria-labelledby",Dn)},_renderTemplateByType:function(Pt,Lt,Jt,pn){var{rtlEnabled:Dn,useDefaultToolbarButtons:zn,useFlatToolbarButtons:Dt,disabled:it}=this.option(),Ht=this._getTemplateByOption(Pt);
1if(Ht instanceof _.A){var O=(0,M.X)({},this.option("integrationOptions"),{skipTemplates:["content","title"]}),T=(0,M.X)(pn,{items:Lt,rtlEnabled:Dn,useDefaultButtons:zn,useFlatButtons:Dt,disabled:it,integrationOptions:O});this._getTemplate("dx-polymorph-widget").render({container:Jt,model:{widget:this._getToolbarName(),options:T}});var Me=Jt.children("div");return Jt.replaceWith(Me),Me}var be=(0,x.A)(Ht.render({container:(0,m.c)(Jt)}));return be.hasClass("dx-template-wrapper")&&(Jt.replaceWith(be),Jt=be),Jt},_getToolbarName:function(){return"dxToolbarBase"},_renderVisibilityAnimate:function(Pt){return this.callBase(Pt)},_hide(){return this._observeContentResize(!1),this.callBase()},_executeTitleRenderAction:function(Pt){this._getTitleRenderAction()({titleElement:(0,m.c)(Pt)})},_getTitleRenderAction:function(){return this._titleRenderAction||this._createTitleRenderAction()},_createTitleRenderAction:function(){return this._titleRenderAction=this._createActionByOption("onTitleRendered",{element:this.element(),excludeValidators:["disabled","readOnly"]})},_getCloseButton:function(){return{toolbar:"top",location:"after",template:this._getCloseButtonRenderer()}},_getCloseButtonRenderer:function(){return(Pt,Lt,Jt)=>{var pn=(0,x.A)("<div>").addClass("dx-closebutton");this._createComponent(pn,De.A,{icon:"close",onClick:this._createToolbarItemAction(void 0),stylingMode:"text",integrationOptions:{}}),(0,x.A)(Jt).append(pn)}},_getToolbarItems:function(Pt){var Lt=this.option("toolbarItems"),Jt=[];this._toolbarItemClasses=[];var pn=c.A.current().platform,Dn=0;return(0,p.__)(Lt,(zn,Dt)=>{var it=(0,U.O9)(Dt.shortcut),Ht=it?(Pt=>{var Jt=c.A.current().platform,pn="bottom",Dn="before";if("ios"===Jt)switch(Pt){case"cancel":pn="top";break;case"clear":pn="top",Dn="after";break;case"done":Dn="after"}else if("android"===Jt)switch(Pt){case"cancel":case"done":Dn="after"}return{toolbar:pn,location:Dn}})(Dt.shortcut):Dt;if(it&&"ios"===pn&&Dn<2&&(Ht.toolbar="top",Dn++),Ht.toolbar=Dt.toolbar||Ht.toolbar||"top",Ht&&Ht.toolbar===Pt){it&&(0,M.X)(Ht,{location:Dt.location},this._getToolbarItemByAlias(Dt));var d="generic"===pn;"done"===Dt.shortcut&&d||"cancel"===Dt.shortcut&&!d?Jt.unshift(Ht):Jt.push(Ht)}}),"top"===Pt&&this._hasCloseButton()&&Jt.push(this._getCloseButton()),Jt},_hasCloseButton(){return this.option("showCloseButton")&&this.option("showTitle")},_getLocalizationKey:Pt=>"done"===Pt.toLowerCase()?"OK":(0,N.PT)(Pt,!0),_getToolbarButtonStylingMode:function(Pt){return(0,yt.Ft)()?"done"===Pt?wt:"outlined":this.option("useFlatToolbarButtons")?"text":wt},_getToolbarButtonType:function(Pt){return(0,yt.Ft)()&&"done"===Pt||this.option("useDefaultToolbarButtons")?"default":"normal"},_getToolbarItemByAlias:function(Pt){var Lt=this,Jt=Pt.shortcut;if(!sn.includes(Jt))return!1;var pn=(0,M.X)({text:z.A.format(this._getLocalizationKey(Jt)),onClick:this._createToolbarItemAction(Pt.onClick),integrationOptions:{},type:this._getToolbarButtonType(Jt),stylingMode:this._getToolbarButtonStylingMode(Jt)},Pt.options||{}),Dn=rt+"-"+Jt;return this._toolbarItemClasses.push(Dn),{template:function(zn,Dt,it){var Ht=(0,x.A)("<div>").addClass(Dn).appendTo(it);Lt._createComponent(Ht,De.A,pn)}}},_createToolbarItemAction:function(Pt){return this._createAction(Pt,{afterExecute:function(Lt){Lt.component.hide()}})},_renderBottom:function(){var Pt=this._getToolbarItems("bottom");if(Pt.length){this._$bottom&&this._$bottom.remove();var Lt=(0,x.A)("<div>").addClass(at).insertAfter(this.$content());this._$bottom=this._renderTemplateByType("bottomTemplate",Pt,Lt,{compactMode:!0}).addClass(at),this._toggleClasses()}else this._$bottom&&this._$bottom.detach()},_toggleDisabledState:function(Pt){this.callBase(...arguments),this.$content().toggleClass("dx-state-disabled",!!Pt)},_toggleClasses:function(){(0,p.__)(sn,(Lt,Jt)=>{var pn=rt+"-"+Jt;this._toolbarItemClasses.includes(pn)?(this.$wrapper().addClass(pn+"-visible"),this._$bottom.addClass(pn)):(this.$wrapper().removeClass(pn+"-visible"),this._$bottom.removeClass(pn))})},_toggleFocusClass(Pt,Lt){if(this.callBase(Pt,Lt),Pt&&!Ce.C0(this._zIndex)){var Jt=Ce.vt(this._zIndexInitValue());Ce.TF(this._zIndex),this._zIndex=Jt,this._$wrapper.css("zIndex",Jt),this._$content.css("zIndex",Jt)}},_toggleContentScrollClass(){var Pt=!this.option("preventScrollEvents");this.$content().toggleClass("dx-popup-content-scrollable",Pt)},_getPositionControllerConfig(){var{fullScreen:Pt,forceApplyBindings:Lt,dragOutsideBoundary:Jt,dragAndResizeArea:pn,outsideDragFactor:
1Dn}=this.option();return(0,M.X)({},this.callBase(),{fullScreen:Pt,forceApplyBindings:Lt,dragOutsideBoundary:Jt,dragAndResizeArea:pn,outsideDragFactor:Dn})},_initPositionController(){this._positionController=new un(this._getPositionControllerConfig())},_getDragTarget:function(){return this.topToolbar()},_renderGeometry:function(Pt){var{visible:Lt,useResizeObserver:Jt}=this.option();if(Lt&&(0,A.Vd)()){var Dn=this._showAnimationProcessing&&!(null!=Pt&&Pt.forceStopAnimation)&&Jt;this._isAnimationPaused=Dn||void 0,this._stopAnimation(),null!=Pt&&Pt.shouldOnlyReposition?this._renderPosition(!1):this._renderGeometryImpl(Pt?.isDimensionChange),Dn&&(this._animateShowing(),this._isAnimationPaused=void 0)}},_cacheDimensions:function(){this.option("useResizeObserver")&&(this._renderedDimensions={width:parseInt((0,P.RG)(this._$content),10),height:parseInt((0,P.Oq)(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 Pt=this._getDragTarget(),Lt=this.option("dragEnabled");if(Pt){var Jt={dragEnabled:Lt,handle:Pt.get(0),draggableElement:this._$content.get(0),positionController:this._positionController};this._drag?this._drag.init(Jt):this._drag=new H(Jt),this.$overlayContent().toggleClass("dx-popup-draggable",Lt)}},_renderResize:function(){this._resizable=this._createComponent(this._$content,Ie,{handles:this.option("resizeEnabled")?"all":"none",onResizeEnd:Pt=>{this._resizeEndHandler(Pt),this._observeContentResize(!0)},onResize:Pt=>{this._setContentHeight(),this._actions.onResize(Pt)},onResizeStart:Pt=>{this._observeContentResize(!1),this._actions.onResizeStart(Pt)},minHeight:100,minWidth:100,area:this._positionController.$dragResizeContainer,keepAspectRatio:!1})},_resizeEndHandler:function(Pt){var Lt=this._resizable.option("width"),Jt=this._resizable.option("height");Lt&&this._setOptionWithoutOptionChange("width",Lt),Jt&&this._setOptionWithoutOptionChange("height",Jt),this._cacheDimensions(),this._positionController.resizeHandled(),this._positionController.detectVisualPositionChange(Pt.event),this._actions.onResizeEnd(Pt)},_setContentHeight:function(){(this.option("forceApplyBindings")||v.lQ)();var Pt=this.$overlayContent().get(0),Lt=this._chooseHeightStrategy(Pt);this.$content().css(this._getHeightCssStyles(Lt,Pt)),this._setHeightClasses(this.$overlayContent(),Lt)},_heightStrategyChangeOffset:function(Pt,Lt){return Pt===Vt.flex?-Lt:0},_chooseHeightStrategy:function(Pt){var Lt="auto"===Pt.style.width||""===Pt.style.width,Jt=Vt.static;return this._isAutoHeight()&&this.option("autoResizeEnabled")&&(Jt=Lt||ot?Vt.inherit:Vt.flex),Jt},_getHeightCssStyles:function(Pt,Lt){var Jt={},pn=this._getOptionValue("maxHeight",Lt),Dn=this._getOptionValue("minHeight",Lt),zn=this._splitPopupHeight(),Dt=zn.header+zn.footer+zn.contentVerticalOffsets+zn.popupVerticalOffsets+this._heightStrategyChangeOffset(Pt,zn.popupVerticalPaddings);if(Pt===Vt.static){if(!this._isAutoHeight()||pn||Dn){var it=this.option("fullScreen")?Math.min((0,g.N)(Lt).height,(0,A.zk)().innerHeight):(0,g.N)(Lt).height;Jt={height:Math.max(0,it-Dt),minHeight:"auto",maxHeight:"auto"}}}else{var d=(0,x.A)(this._positionController.$visualContainer).get(0),O=(0,P.dh)(pn,-Dt,d);Jt={height:"auto",minHeight:(0,P.d6)(Dn,-Dt,d),maxHeight:O}}return Jt},_setHeightClasses:function(Pt,Lt){var Jt="";for(var pn in Vt)Vt[pn]!==Lt&&(Jt+=" "+Vt[pn]);Pt.removeClass(Jt).addClass(Lt)},_isAutoHeight:function(){return"auto"===this.$overlayContent().get(0).style.height},_splitPopupHeight:function(){var Pt=this.topToolbar(),Lt=this.bottomToolbar();return{header:(0,P.gP)(Pt&&Pt.get(0)),footer:(0,P.gP)(Lt&&Lt.get(0)),contentVerticalOffsets:(0,P.pD)(this.$overlayContent().get(0),!0),popupVerticalOffsets:(0,P.pD)(this.$content().get(0),!0),popupVerticalPaddings:(0,P.pD)(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,A.Vd)()&&this._renderFullscreenWidthClass()},_dimensionChanged:function(){this._renderGeometry({isDimensionChange:!0})},_clean:function(){this.callBase(),this._observeContentResize(!1)},_dispose:function(){this.callBase(),this._toggleBodyScroll(!0)},_renderFullscreenWidthClass:function(){this.$overlayContent().toggleClass("dx-popup-fullscreen-width",(0,P.Ot)(this.$overlayContent())===(0,P.RG)(ct))},_toggleSafariScrolling(){this.option("enableBodyScroll")&&this.callBase()},_toggleBodyScroll:function(Pt){if(this._bodyOverflowManager){var{setOverflow:Lt,restoreOverflow:Jt}=this._bodyOverflowManager;Pt?Jt():Lt()}},refreshPosition:function(){this._renderPosition()},_optionChanged:function(Pt){var Lt,{value:Jt,name:pn}=Pt;switch(pn){case"disabled":this.callBase(Pt),this._renderTitle(),this._renderBottom();break;case"animation":this._updateResizeCallbackSkipCondition();break;case"enableBodyScroll":this.option("visible")&&this._toggleBodyScroll(Jt);break;case"showTitle":case"title":case"titleTemplate":this._renderTitle(),this._renderGeometry(),(0,K.ho)(this.$overlayContent());break;case"bottomTemplate":this._renderBottom(),this._renderGeometry(),(0,K.ho)(this.$overlayContent());break;case"container":var Dn;this.callBase(Pt),this.option("resizeEnabled")&&(null===(Dn=this._resizable)||void 0===Dn||Dn.option("area",this._positionController.$dragResizeContainer));break;case"width":case"height":this.callBase(Pt),null===(Lt=this._resizable)||void 0===Lt||Lt.option(pn,Jt);break;case"onTitleRendered":this._createTitleRenderAction(Jt);break;case"toolbarItems":case"useDefaultToolbarButtons":case"useFlatToolbarButtons":var zn=!Pt.fullName.match(/^toolbarItems((\[\d+\])(\.(options|visible).*)?)?$/);this._renderTitle(),this._renderBottom(),zn&&(this._renderGeometry(),(0,K.ho)(this.$overlayContent()));break;case"dragEnabled":this._renderDrag();break;case"dragAndResizeArea":this._positionController.dragAndResizeArea=Jt,this.option("resizeEnabled")&&this._resizable.option("area",this._positionController.$dragResizeContainer),this._positionController.positionContent();break;case"dragOutsideBoundary":this._positionController.dragOutsideBoundary=Jt,this.option("resizeEnabled")&&this._resizable.option("area",this._positionController.$dragResizeContainer);break;case"outsideDragFactor":this._positionController.outsideDragFactor=Jt;break;case"resizeEnabled":this._renderResize(),this._renderGeometry();break;case"autoResizeEnabled":this._renderGeometry(),(0,K.ho)(this.$overlayContent());break;case"fullScreen":this._positionController.fullScreen=Jt,this._toggleFullScreenClass(Jt),this._toggleSafariScrolling(),this._renderGeometry(),(0,K.ho)(this.$overlayContent());break;case"showCloseButton":this._renderTitle();break;case"preventScrollEvents":this.callBase(Pt),this._toggleContentScrollClass();break;default:this.callBase(Pt)}},bottomToolbar:function(){return this._$bottom},topToolbar:function(){return this._$title},$content:function(){return this._$popupContent},content:function(){return(0,m.c)(this.$content())},$overlayContent:function(){return this._$content},getFocusableElements:function(){return this.$wrapper().find("[tabindex]").filter((Pt,Lt)=>Lt.getAttribute("tabindex")>=0)}});(0,t.A)("dxPopup",wn);const jn=wn},6121:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>pe});var t=a(4292),c=a(3862),m=a(4435),x=a(736),_=a(4905),b=a(181),v=a(7951),M=a(5042),N=a(4423),p=a(2824),P=a(6296),g=a(1100),U=a(2101),G=a(2984),A="dx-scrollview-pull-down-loading",K="dx-scrollview-pull-down-ready";const J=P.A.inherit({_init:function(Te){this.callBase(Te),this._$topPocket=Te._$topPocket,this._$pullDown=Te._$pullDown,this._$refreshingText=Te._$refreshingText,this._$scrollViewContent=(0,t.A)(Te.content()),this._$container=(0,t.A)(Te.container()),this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=(0,N.A)(),this.releaseCallbacks=(0,N.A)(),this.reachBottomCallbacks=(0,N.A)()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var Te=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-image"),ft=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-indicator"),At=new g.A((0,t.A)("<div>")).$element(),sn=this._$pullDownText=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=(0,t.A)("<div>").text(this.option("pullingDownText")).appendTo(sn),this._$pulledDownText=(0,t.A)("<div>").text(this.option("pulledDownText")).appendTo(sn),this._$refreshingText=(0,t.A)("<div>").text(this.option("refreshingText")).appendTo(sn),this._$pullDown.empty().append(Te).append(ft.append(At)).append(sn)},_releaseState:function(){this._state=0,this._refreshPullDownText()},_refreshPullDownText:function(){var Te=this;(0,U.__)([{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}],function(At,sn){sn.element[Te._state===sn.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 Te=this._$scrollViewContent.get(0),ft=this._$container.get(0);this._bottomBoundary=Math.max(Te.clientHeight-ft.clientHeight,0)},_allowedDirections:function(){var Te=this.callBase();return Te.vertical=Te.vertical||this._pullDownEnabled,Te},_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(Te){(0,p.Cy)(this._$topPocket,{top:Te}),(0,p.Cy)(this._$scrollViewContent,{top:Te})},handleScroll:function(Te){if(this.callBase(Te),2!==this._state){var ft=this.location().top,At=(this._location||0)-ft;this._location=ft,this._isPullDown()?this._pullDownReady():At>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(K),this._refreshPullDownText())},_stateReleased:function(){0!==this._state&&(this._$pullDown.removeClass(A).removeClass(K),this._releaseState())},_pullDownRefreshing:function(){2!==this._state&&(this._state=2,this._$pullDown.addClass(A).removeClass(K),this._refreshPullDownText(),this.pullDownCallbacks.fire())},pullDownEnable:function(Te){Te&&(this._updateDimensions(),this._setTopPocketOffset()),this._pullDownEnabled=Te},reachBottomEnable:function(Te){this._reachBottomEnabled=Te},pendingRelease:function(){this._state=1},release:function(){var Te=new G.cY;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(),Te.resolve()}.bind(this),400),Te.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});var Y=a(186),W=a(9104),re="dx-scrollview-pull-down-loading";const ve=P.A.inherit({_init:function(Te){this.callBase(Te),this._$topPocket=Te._$topPocket,this._$pullDown=Te._$pullDown,this._$scrollViewContent=(0,t.A)(Te.content()),this._$container=(0,t.A)(Te.container()),this._initCallbacks(),this._location=0}
1,_initCallbacks:function(){this.pullDownCallbacks=(0,N.A)(),this.releaseCallbacks=(0,N.A)(),this.reachBottomCallbacks=(0,N.A)()},render:function(){this.callBase(),this._renderPullDown(),this._releaseState()},_renderPullDown:function(){var Te=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-indicator"),ft=new g.A((0,t.A)("<div>")).$element();this._$icon=(0,t.A)("<div>").addClass("dx-icon-pulldown"),this._$pullDown.empty().append(this._$icon).append(Te.append(ft))},_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 Te=this._$scrollViewContent.get(0),ft=this._$container.get(0);this._bottomBoundary=Math.max(Te.clientHeight-ft.clientHeight,0)},_allowedDirections:function(){var Te=this.callBase();return Te.vertical=Te.vertical||this._pullDownEnabled,Te},handleInit:function(Te){this.callBase(Te),0===this._state&&0===this._location&&(this._startClientY=(0,W.rw)(Te.originalEvent).y,this._state=4)},handleMove:function(Te){this.callBase(Te),this._deltaY=(0,W.rw)(Te.originalEvent).y-this._startClientY,4===this._state&&(this._pullDownEnabled&&this._deltaY>0?this._state=5:this._complete()),5===this._state&&(Te.preventDefault(),this._movePullDown())},_movePullDown:function(){var Te=this._getPullDownHeight(),ft=Math.min(3*Te,this._deltaY+this._getPullDownStartPosition()),At=180*ft/Te/3;this._$pullDown.css({opacity:1}).toggleClass("dx-scrollview-pull-down-refreshing",ft<Te),(0,p.Cy)(this._$pullDown,{top:ft}),this._$icon.css({transform:"rotate("+At+"deg)"})},_isPullDown:function(){return this._pullDownEnabled&&5===this._state&&this._deltaY>=this._getPullDownHeight()-this._getPullDownStartPosition()},_getPullDownHeight:function(){return Math.round(.05*(0,Y.P$)(this._$element))},_getPullDownStartPosition:function(){return-Math.round(1.5*(0,Y.P$)(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(Te){if(this.callBase(Te),2!==this._state){var ft=this.location().top,At=this._location-ft;this._location=ft,At>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(re),this._releaseState())},_pullDownRefreshing:function(){this._state=2,this._pullDownRefreshHandler()},_pullDownRefreshHandler:function(){this._refreshPullDown(),this.pullDownCallbacks.fire()},_refreshPullDown:function(){this._$pullDown.addClass(re),(0,p.Cy)(this._$pullDown,{top:this._getPullDownHeight()})},pullDownEnable:function(Te){this._$topPocket.toggle(Te),this._pullDownEnabled=Te},reachBottomEnable:function(Te){this._reachBottomEnabled=Te},pendingRelease:function(){this._state=1},release:function(){var Te=new G.cY;return this._updateDimensions(),clearTimeout(this._releaseTimeout),this._releaseTimeout=setTimeout(function(){this._stateReleased(),this.releaseCallbacks.fire(),this._updateAction(),Te.resolve()}.bind(this),800),Te.promise()},dispose:function(){clearTimeout(this._pullDownRefreshTimeout),clearTimeout(this._releaseTimeout),this.callBase()}});var ke=a(1485),Ne=Math,Ie="dx-scrollview-pull-down-loading",De="dx-scrollview-pull-down-ready",Ot=ke.H.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 Te=this;(0,U.__)([{element:this._$pullingDownText,visibleState:0},{element:this._$pulledDownText,visibleState:1},{element:this._$refreshingText,visibleState:2}],function(At,sn){sn.element[Te._state===sn.visibleState?"addClass":"removeClass"]("dx-scrollview-pull-down-text-visible")})},_initCallbacks:function(){this.pullDownCallbacks=(0,N.A)(),this.releaseCallbacks=(0,N.A)(),this.reachBottomCallbacks=(0,N.A)()},_updateBounds:function(){if("horizontal"!==this._direction){this._topPocketSize=this._$topPocket.get(0).clientHeight,this._bottomPocketSize=this._$bottomPocket.get(0).clientHeight;var ft=this._$container.get(0),At=this._$content.get(0);this._bottomBoundary=Math.max(At.clientHeight-this._bottomPocketSize-ft.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 Te=this._$container.get(0);return this._reachBottomEnabled&&Math.round(this._bottomBoundary-Math.ceil(Te.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 Ne.min(this.callBase(),-this._topPocketSize)},_reachBottomLoading:function(){this.reachBottomCallbacks.fire()},_pullDownReady:function(){1!==this._state&&(this._state=1,this._maxOffset=0,this._$pullDown.addClass(De),this._refreshPullDownText())},_stateReleased:function(){0!==this._state&&(this._releaseState(),this._updateBounds(),this._$pullDown.removeClass(Ie).removeClass(De),this.releaseCallbacks.fire())},_pullDownRefreshing:function(){2!==this._state&&(this._state=2,this._$pullDown.addClass(Ie).removeClass(De),this._refreshPullDownText(),this.pullDownCallbacks.fire())},_releaseHandler:function(){return 0===this._state&&this._moveToBounds(),this._update(),this._releaseTask&&this._releaseTask.abort(),this._releaseTask=(0,M.uG)(this._release.bind(this)),this._releaseTask.promise},_release:function(){this._stateReleased(),this._scrollComplete()},_reachBottomEnablingHandler:function(Te){this._reachBottomEnabled!==Te&&(this._reachBottomEnabled=Te,this._updateBounds())},_pullDownEnablingHandler:function(Te){this._pullDownEnabled!==Te&&(this._pullDownEnabled=Te,this._considerTopPocketChange(),this._updateHandler())},_considerTopPocketChange:function(){this._location-=(0,Y.Oq)(this._$topPocket)||-this._topPocketSize,this._maxOffset=0,this._move()},_pendingReleaseHandler:function(){this._state=1},dispose:function(){this._releaseTask&&this._releaseTask.abort(),this.callBase()}});const un=ke.G.inherit({_init:function(Te){this.callBase(Te),this._$pullDown=Te._$pullDown,this._$topPocket=Te._$topPocket,this._$bottomPocket=Te._$bottomPocket,this._initCallbacks()},_initCallbacks:function(){this.pullDownCallbacks=(0,N.A)(),this.releaseCallbacks=(0,N.A)(),this.reachBottomCallbacks=(0,N.A)()},render:function(){this._renderPullDown(),this.callBase()},_renderPullDown:function(){var Te=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-image"),ft=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-indicator"),At=new g.A((0,t.A)("<div>")).$element(),sn=this._$pullDownText=(0,t.A)("<div>").addClass("dx-scrollview-pull-down-text");this._$pullingDownText=(0,t.A)("<div>").text(this.option("pullingDownText")).appendTo(sn),this._$pulledDownText=(0,t.A)("<div>").text(this.option("pulledDownText")).appendTo(sn),this._$refreshingText=(0,t.A)("<div>").text(this.option("refreshingText")).appendTo(sn),this._$pullDown.empty().append(Te).append(ft.append(At)).append(sn)},pullDownEnable:function(Te){this._eventHandler("pullDownEnabling",Te)},reachBottomEnable:function(Te){this._eventHandler("reachBottomEnabling",Te)},_createScroller:function(Te){var ft=this,At=ft._scrollers[Te]=new Ot(ft._scrollerOptions(Te));At.pullDownCallbacks.add(function(){ft.pullDownCallbacks.fire()}),At.releaseCallbacks.add(function(){ft.releaseCallbacks.fire()}),At.reachBottomCallbacks.add(function(){ft.reachBottomCallbacks.fire()})},_scrollerOptions:function(Te){return(0,v.X)(this.callBase(Te),{$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 Te=this.callBase();return Te.top+=(0,Y.Oq)(this._$topPocket),Te},dispose:function(){(0,U.__)(this._scrollers,function(){this.dispose()}),this.callBase()}});var ln=a(9057),Ln=a(1299),Zt=a(8543),ct="dx-scrollview",rt=ct+"-content",Ae=ct+"-top-pocket",Ke=ct+"-bottom-pocket",vt=ct+"-pull-down",Wt=ct+"-scrollbottom",ze=Wt+"-indicator",pt=Wt+"-text",Ze=ct+"-loadpanel",X={pullDown:J,swipeDown:ve,simulated:un},Ve=!(0,m.Vd)(),at=ln.A.inherit(Ve?{finishLoading:M.lQ,release:M.lQ,refresh:M.lQ,scrollOffset:()=>({top:0,left:0}),_optionChanged:function(Te){if("onUpdated"!==Te.name)return this.callBase.apply(this,arguments)}}:{_getDefaultOptions:function(){return(0,v.X)(this.callBase(),{pullingDownText:x.A.format("dxScrollView-pullingDownText"),pulledDownText:x.A.format("dxScrollView-pulledDownText"),refreshingText:x.A.format("dxScrollView-refreshingText"),reachBottomText:x.A.format("dxScrollView-reachB
1ottomText"),onPullDown:null,onReachBottom:null,refreshStrategy:"pullDown"})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return"android"===c.A.real().platform},options:{refreshStrategy:"swipeDown"}},{device:function(){return(0,Ln.Nt)()},options:{pullingDownText:"",pulledDownText:"",refreshingText:"",reachBottomText:""}}])},_init:function(){this.callBase(),this._loadingIndicatorEnabled=!0},_initScrollableMarkup:function(){this.callBase(),this.$element().addClass(ct),this._initContent(),this._initTopPocket(),this._initBottomPocket(),this._initLoadPanel()},_initContent:function(){var Te=(0,t.A)("<div>").addClass(rt);this._$content.wrapInner(Te)},_initTopPocket:function(){var Te=this._$topPocket=(0,t.A)("<div>").addClass(Ae),ft=this._$pullDown=(0,t.A)("<div>").addClass(vt);Te.append(ft),this._$content.prepend(Te)},_initBottomPocket:function(){var Te=this._$bottomPocket=(0,t.A)("<div>").addClass(Ke),ft=this._$reachBottom=(0,t.A)("<div>").addClass(Wt),At=(0,t.A)("<div>").addClass(ze),sn=new g.A((0,t.A)("<div>")).$element(),Bt=this._$reachBottomText=(0,t.A)("<div>").addClass(pt);this._updateReachBottomText(),ft.append(At.append(sn)).append(Bt),Te.append(ft),this._$content.append(Te)},_initLoadPanel:function(){var Te=(0,t.A)("<div>").addClass(Ze).appendTo(this.$element()),ft={shading:!1,delay:400,message:this.option("refreshingText"),position:{of:this.$element()}};this._loadPanel=this._createComponent(Te,Zt.A,ft)},_updateReachBottomText:function(){this._$reachBottomText.text(this.option("reachBottomText"))},_createStrategy:function(){var Te=this.option("useNative")?this.option("refreshStrategy"):"simulated";this._strategy=new(0,X[Te])(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(Te){var ft=this.callBase.apply(this,arguments);return("pullDown"===Te||"reachBottom"===Te)&&this._tryRefreshPocketState(),ft},_pullDownEnable:function(Te){if(0===arguments.length)return this._pullDownEnabled;this._$pullDown&&this._strategy&&(this._$pullDown.toggle(Te),this._strategy.pullDownEnable(Te),this._pullDownEnabled=Te)},_reachBottomEnable:function(Te){if(0===arguments.length)return this._reachBottomEnabled;this._$reachBottom&&this._strategy&&(this._$reachBottom.toggle(Te),this._strategy.reachBottomEnable(Te),this._reachBottomEnabled=Te)},_pullDownHandler:function(){this._loadingIndicator(!1),this._pullDownLoading()},_loadingIndicator:function(Te){if(arguments.length<1)return this._loadingIndicatorEnabled;this._loadingIndicatorEnabled=Te},_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(Te){switch(Te.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(Te)}},content:function(){return(0,b.c)(this._$content.children().eq(1))},release:function(Te){return void 0!==Te&&this.toggleLoading(!Te),this._strategy.release()},toggleLoading:function(Te){this._reachBottomEnable(Te)},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,_.A)("dxScrollView",at);const pe=at},9639:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>b});var t=a(5042),c=a(6221),m=a(5581);const b=c.A.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,m.u)(this._stepAnimationFrame)},_stepCore:function(){if(!this._isStopped())return this._isFinished()?(this._finished=!0,void this._complete()):(this._step(),void(this._stepAnimationFrame=(0,m.x)(this._proxiedStepCore)));this._stop()},_step:c.A.abstract,_isFinished:t.lQ,_stop:t.lQ,_complete:t.lQ,_isStopped:function(){return this._stopped},inProgress:function(){return!(this._stopped||this._finished)}})},9301:(Nt,Le,a)=>{"use strict";a.d(Le,{M:()=>m});var t=a(3862),c=a(9900),m=function(){return[{device:function(){return!c.nativeScrolling},options:{useNative:!1}},{device:function(x){return!t.A.isSimulator()&&"desktop"===t.A.real().deviceType&&"generic"===x.platform},options:{bounceEnabled:!1,scrollByThumb:!0,scrollByContent:c.touch,showScrollbar:"onHover"}}]}}
1,9057:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});const c=a(6148).A},6296:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ee});var t=a(186),c=a(4292),m=a(1269),x=a(9104),_=a(5042),b=a(2101),v=a(3862),M=a(6221),N=a(8096),p="dxNativeScrollable",P="dx-scrollable-native",G="vertical",A="horizontal";const ee=M.A.inherit({ctor:function(L){this._init(L)},_init:function(L){this._component=L,this._$element=L.$element(),this._$container=(0,c.A)(L.container()),this._$content=L.$content(),this._direction=L.option("direction"),this._useSimulatedScrollbar=L.option("useSimulatedScrollbar"),this.option=L.option.bind(L),this._createActionByOption=L._createActionByOption.bind(L),this._isLocked=L._isLocked.bind(L),this._isDirection=L._isDirection.bind(L),this._allowedDirection=L._allowedDirection.bind(L),this._getMaxOffset=L._getMaxOffset.bind(L),this._isRtlNativeStrategy=L._isRtlNativeStrategy.bind(L)},render:function(){var f=v.A.real().platform;this._$element.addClass(P).addClass(P+"-"+f).toggleClass("dx-scrollable-scrollbars-hidden",!this._isScrollbarVisible()),this._isScrollbarVisible()&&this._useSimulatedScrollbar&&this._renderScrollbars()},updateRtlPosition:function(L){L&&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(G),this._renderScrollbar(A)},_renderScrollbar:function(L){this._isDirection(L)&&(this._scrollbars[L]=new N.A((0,c.A)("<div>").appendTo(this._$element),{direction:L,expandable:this._component.option("scrollByThumb")}))},handleInit:_.lQ,handleStart:_.lQ,handleMove:function(L){this._isLocked()?L.cancel=!0:this._allowedDirection()&&(L.originalEvent.isScrollingEvent=!0)},handleEnd:_.lQ,handleCancel:_.lQ,handleStop:_.lQ,_eachScrollbar:function(L){L=L.bind(this),(0,b.__)(this._scrollbars||{},function(f,D){L(D,f)})},createActions:function(){this._scrollAction=this._createActionByOption("onScroll"),this._updateAction=this._createActionByOption("onUpdated")},_createActionArgs:function(){var{left:L,top:f}=this.location();return{event:this._eventForUserAction,scrollOffset:this._getScrollOffset(),reachedLeft:this._isRtlNativeStrategy()?this._isReachedRight(-L):this._isReachedLeft(L),reachedRight:this._isRtlNativeStrategy()?this._isReachedLeft(-Math.abs(L)):this._isReachedRight(L),reachedTop:this._isDirection(G)?Math.round(f)>=0:void 0,reachedBottom:this._isDirection(G)?Math.round(Math.abs(f)-this._getMaxOffset().top)>=0:void 0}},_getScrollOffset:function(){var{top:L,left:f}=this.location();return{top:-L,left:this._normalizeOffsetLeft(-f)}},_normalizeOffsetLeft(L){return this._isRtlNativeStrategy()?this._getMaxOffset().left+L:L},_isReachedLeft:function(L){return this._isDirection(A)?Math.round(L)>=0:void 0},_isReachedRight:function(L){return this._isDirection(A)?Math.round(Math.abs(L)-this._getMaxOffset().left)>=0:void 0},_isScrollbarVisible:function(){var{showScrollbar:L}=this.option();return"never"!==L&&!1!==L},handleScroll:function(L){this._eventForUserAction=L,this._moveScrollbars(),this._scrollAction(this._createActionArgs())},_moveScrollbars:function(){var{top:L,left:f}=this._getScrollOffset();this._eachScrollbar(function(D){D.moveTo({top:-L,left:-f}),D.option("visible",!0)}),this._hideScrollbars()},_hideScrollbars:function(){clearTimeout(this._hideScrollbarTimeout),this._hideScrollbarTimeout=setTimeout(function(){this._eachScrollbar(function(L){L.option("visible",!1)})}.bind(this),500)},location:function(){return{left:-this._$container.scrollLeft(),top:-this._$container.scrollTop()}},disabledChanged:_.lQ,update:function(){this._update(),this._updateAction(this._createActionArgs())},_update:function(){this._updateDimensions(),this._updateScrollbars()},_updateDimensions:function(){this._containerSize={height:(0,t.Oq)(this._$container),width:(0,t.RG)(this._$container)},this._componentContentSize={height:(0,t.Oq)(this._component.$content()),width:(0,t.RG)(this._component.$content())},this._contentSize={height:(0,t.Oq)(this._$content),width:(0,t.RG)(this._$content)}},_updateScrollbars:function(){this._eachScrollbar(function(L,f){var D=f===G?"height":"width";L.option({containerSize:this._containerSize[D],contentSize:this._componentContentSize[D]}),L.update()})},_allowedDirections:function(){return{vertical:this._isDirection(G)&&this._contentSize.height>this._containerSize.height,horizontal:this._isDirection(A)&&this._contentSize.width>this._containerSize.width}},dispose:function(){var L=this._$element.get(0).className,f=new RegExp(P+"\\S*","g");f.test(L)&&this._$element.removeClass(L.match(f).join(" ")),m.A.off(this._$element,"."+p),m.A.off(this._$container,"."+p),this._removeScrollbars(),clearTimeout(this._hideScrollbarTimeout)},_removeScrollbars:function(){this._eachScrollbar(function(L){L.$element().remove()})},scrollBy:function(L){var f=this.location();this._$container.scrollTop(Math.round(-f.top-L.top)),this._$container.scrollLeft(Math.round(-f.left-L.left))},validate:function(L){return!(this.option("disabled")||(0,x.X1)(L)&&this._isScrolledInMaxDirection(L)||!this._allowedDirection())},_isScrolledInMaxDirection(L){var f=this._$container.get(0);return L.delta>
10?L.shiftKey?!f.scrollLeft:!f.scrollTop:L.shiftKey?f.scrollLeft>=this._getMaxOffset().left:f.scrollTop>=this._getMaxOffset().top},getDirection:function(){return this._allowedDirection()}})},6148:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>ce});var t=a(186),c=a(4292),m=a(1269),x=a(9900),_=a(9263),b=a(5042),v=a(2463),M=a(7951),N=a(181),p=a(4435),P=a(3862),g=a(4905),U=a(8365),G=a(9104),A=a(6961),K=a(1485),z=a(6296),ee=a(9301),L=a(2984),f=a(8168),D=a(8745),R=a(8221),S=a(8500),fe="dxScrollable",J="dx-scrollable",le="dx-scrollable-content",Re="vertical",Be="horizontal",Fe="both",ue=U.A.inherit({_getDefaultOptions:function(){return(0,M.X)(this.callBase(),{disabled:!1,onScroll:null,direction:Re,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,ee.M)(),[{device:function(){return x.nativeScrolling&&"android"===P.A.real().platform&&!_.A.mozilla},options:{useSimulatedScrollbar:!0}}])},_initOptions:function(_e){this.callBase(_e),"useSimulatedScrollbar"in _e||this._setUseSimulatedScrollbar()},_setUseSimulatedScrollbar:function(){this.initialOption("useSimulatedScrollbar")||this.option("useSimulatedScrollbar",!this.option("useNative"))},_init:function(){this.callBase(),this._initScrollableMarkup(),this._locked=!1},_visibilityChanged:function(_e){_e?(this.update(),this._updateRtlPosition(),this._savedScrollOffset&&this.scrollTo(this._savedScrollOffset),delete this._savedScrollOffset):this._savedScrollOffset=this.scrollOffset()},_initScrollableMarkup:function(){var _e=this.$element().addClass(J),ne=this._$container=(0,c.A)("<div>").addClass("dx-scrollable-container"),Z=this._$wrapper=(0,c.A)("<div>").addClass("dx-scrollable-wrapper");(this._$content=(0,c.A)("<div>").addClass(le)).append(_e.contents()).appendTo(ne),ne.appendTo(Z),Z.appendTo(_e)},_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(_e){this._strategy.updateRtlPosition(_e)},_getMaxOffset:function(){var{scrollWidth:_e,clientWidth:ne,scrollHeight:Z,clientHeight:ve}=(0,c.A)(this.container()).get(0);return{left:_e-ne,top:Z-ve}},_attachEventHandlers:function(){var _e=this._strategy,ne={getDirection:_e.getDirection.bind(_e),validate:this._val
1idate.bind(this),isNative:this.option("useNative"),scrollTarget:this._$container};m.A.off(this._$wrapper,"."+fe),m.A.on(this._$wrapper,(0,G.b4)(A.A.init,fe),ne,this._initHandler.bind(this)),m.A.on(this._$wrapper,(0,G.b4)(A.A.start,fe),_e.handleStart.bind(_e)),m.A.on(this._$wrapper,(0,G.b4)(A.A.move,fe),_e.handleMove.bind(_e)),m.A.on(this._$wrapper,(0,G.b4)(A.A.end,fe),_e.handleEnd.bind(_e)),m.A.on(this._$wrapper,(0,G.b4)(A.A.cancel,fe),_e.handleCancel.bind(_e)),m.A.on(this._$wrapper,(0,G.b4)(A.A.stop,fe),_e.handleStop.bind(_e)),m.A.off(this._$container,"."+fe),m.A.on(this._$container,(0,G.b4)("scroll",fe),_e.handleScroll.bind(_e))},_validate:function(_e){return!this._isLocked()&&(this._updateIfNeed(),this._moveIsAllowed(_e))},_moveIsAllowed(_e){return this._strategy.validate(_e)},handleMove(_e){this._strategy.handleMove(_e)},_prepareDirections(_e){this._strategy._prepareDirections(_e)},_initHandler:function(){var _e=this._strategy;_e.handleInit.apply(_e,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-"+Be).removeClass("dx-scrollable-"+Re).removeClass("dx-scrollable-"+Fe).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 z.A(this):new K.G(this)},_createActions:function(){this._strategy&&this._strategy.createActions()},_clean:function(){this._strategy&&this._strategy.dispose()},_optionChanged:function(_e){switch(_e.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(_e),this._updateRtlPosition();break;default:this.callBase(_e)}},_resetInactiveDirection:function(){var _e=this._getInactiveProp();if(_e&&(0,p.Vd)()){var ne=this.scrollOffset();ne[_e]=0,this.scrollTo(ne)}},_getInactiveProp:function(){var _e=this.option("direction");return _e===Re?"left":_e===Be?"top":void 0},_location:function(){return this._strategy.location()},_normalizeLocation:function(_e){if((0,v.Qd)(_e)){var ne=(0,b.YD)(_e.left,_e.x),Z=(0,b.YD)(_e.top,_e.y);return{left:(0,v.O9)(ne)?-ne:void 0,top:(0,v.O9)(Z)?-Z:void 0}}var ve=this.option("direction");return{left:ve!==Re?-_e:void 0,top:ve!==Be?-_e:void 0}},_isLocked:function(){return this._locked},_lock:function(){this._locked=!0},_unlock:function(){this.option("disabled")||(this._locked=!1)},_isDirection:function(_e){var ne=this.option("direction");return _e===Re?ne!==Be:_e===Be?ne!==Re:ne===_e},_updateAllowedDirection:function(){var _e=this._strategy._allowedDirections();this._allowedDirectionValue=this._isDirection(Fe)&&_e.vertical&&_e.horizontal?Fe:this._isDirection(Be)&&_e.horizontal?Be:this._isDirection(Re)&&_e.vertical?Re:null},_allowedDirection:function(){return this._allowedDirectionValue},$content:function(){return this._$content},content:function(){return(0,N.c)(this._$content)},container:function(){return(0,N.c)(this._$container)},scrollOffset:function(){return this._strategy._getScrollOffset()},_isRtlNativeStrategy:function(){var{useNative:_e,rtlEnabled:ne}=this.option();return _e&&ne},scrollTop:function(){return this.scrollOffset().top},scrollLeft:function(){return this.scrollOffset().left},clientHeight:function(){return(0,t.Oq)(this._$container)},scrollHeight:function(){return(0,t.P$)(this.$content())},clientWidth:function(){return(0,t.RG)(this._$container)},scrollWidth:function(){return(0,t.Ot)(this.$content())},update:function(){if(this._strategy)return(0,L.z7)(this._strategy.update()).done(function(){this._updateAllowedDirection()}.bind(this))},scrollBy:function(_e){((_e=this._normalizeLocation(_e)).top||_e.left)&&(this._updateIfNeed(),this._strategy.scrollBy(_e))},scrollTo:function(_e){_e=this._normalizeLocation(_e),this._updateIfNeed();var ne=this._location();this.option("useNative")||(_e=this._strategy._applyScaleRatio(_e),ne=this._strategy._applyScaleRatio(ne)),this._isRtlNativeStrategy()&&(ne.left=ne.left-this._getMaxOffset().left);var Z=this._normalizeLocation({left:ne.left-(0,b.YD)(_e.left,ne.left),top:ne.top-(0,b.YD)(_e.top,ne.top)});!Z.top&&!Z.left||this._strategy.scrollBy(Z)},scrollToElement:function(_e,ne){var Z=(0,c.A)(_e),ve=this.$content().find(_e).length,ke=Z.parents("."+J).length-Z.parents("."+le).length==0;if(ve&&ke){var Ne={top:0,left:0},Ie=this.option("direction");Ie!==Re&&(Ne.left=this.getScrollElementPosition(Z,Be,ne)),Ie!==Be&&(Ne.top=this.getScrollElementPosition(Z,Re,ne)),this.scrollTo(Ne)}},getScrollElementPosition:function(_e,ne,Z){var ve=this.scrollOffset();return function j(_e,ne,Z,ve,ke){var Ne=(0,f.A)({top:0,left:0,right:0,bottom:0},ke),Ie=ne===S.lm,De=Ie?"top":"left",et=Ie?"bottom":"right",yt=Ie?"height":"width",dt=Z["offset".concat((0,D.Ns)(yt))],Je=Z["client".concat((0,D.Ns)(yt))],Ce=Z.getBoundingClientRect()[yt],we=_e.getBoundingClientRect()[yt],Ee=1;Math.abs(Ce-dt)>1&&(Ee=Ce/dt);var He=(0,R.Y)(S.JU,_e)[De]/Ee,Ot=ve[De],It=Ot-He+Ne[De],un=Ot-He-we/Ee+Je-Ne[et];return It<=0&&un>=0?Ot:Ot-(Math.abs(It)>Math.abs(un)?un:It)}(_e.get(0),ne,(0,c.A)(this.container()).get(0),ve,Z)},_updateIfNeed:function(){this.option("updateManually")||this.update()},_useTemplates:function(){return!1},isRenovated:function(){return!!ue.IS_RENOVATED_WIDGET}});(0,g.A)(fe,ue);const ce=ue},1485:(Nt,Le,a)=>{"use strict";a.d(Le,{G:()=>Ie,H:()=>ve});var ke,Ne,t=a(186),c=a(4292),m=a(7669),x=a(1269),_=a(8745),b=a(7951),v=a(4435),M=a(2101),N=a(2463),p=a(448),P=a(2824),g=a(6221),U=a(9639),G=a(9104),A=a(5042),K=a(8096),z=a(2984),ee="dxSimulatedScrollable",f=ee+"Cursor",D=ee+"Keyboard",R="dx-scrollable-simulated",fe="vertical",H="horizontal",J=.92,re=Math.round(1e3/60),ce=(1-Math.pow(J,400/re))/(1-J),ne=U.A.
1inherit({ctor:function(De){this.callBase(),this.scroller=De},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()?J:.5},_complete:function(){this.scroller._scrollComplete()}}),Z=ne.inherit({VELOCITY_LIMIT:.2,_isFinished:function(){return this.scroller._crossBoundOnNextStep()||this.callBase()},_acceleration:function(){return J},_complete:function(){this.scroller._move(this.scroller._bounceLocation),this.callBase()}}),ve=g.A.inherit({ctor:function(De){this._initOptions(De),this._initAnimators(),this._initScrollbar()},_initOptions:function(De){this._location=0,this._topReached=!1,this._bottomReached=!1,this._axis=De.direction===H?"x":"y",this._prop=De.direction===H?"left":"top",this._dimension=De.direction===H?"width":"height",this._scrollProp=De.direction===H?"scrollLeft":"scrollTop",(0,M.__)(De,(et,yt)=>{this["_"+et]=yt})},_initAnimators:function(){this._inertiaAnimator=new ne(this),this._bounceAnimator=new Z(this)},_initScrollbar:function(){this._scrollbar=new K.A((0,c.A)("<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(De){return!0===De?"onScroll":!1===De?"never":De},_scrollStep:function(De){var et=this._location;this._location+=De,this._suppressBounce(),this._move(),!(Math.abs(et-this._location)<1)&&x.A.triggerHandler(this._$container,{type:"scroll"})},_suppressBounce:function(){this._bounceEnabled||this._inBounds(this._location)||(this._velocity=0,this._location=this._boundLocation())},_boundLocation:function(De){return De=void 0!==De?De:this._location,Math.max(Math.min(De,this._maxOffset),this._minOffset)},_move:function(De){this._location=void 0!==De?De*this._getScaleRatio():this._location,this._moveContent(),this._moveScrollbar()},_moveContent:function(){var De=this._location;this._$container[this._scrollProp](-De/this._getScaleRatio()),this._moveContentByTranslator(De)},_getScaleRatio:function(){if((0,v.Vd)()&&!this._scaleRatio){var De=this._$element.get(0),et=this._getRealDimension(De,this._dimension),yt=this._getBaseDimension(De,this._dimension);this._scaleRatio=Math.round(et/yt*100)/100}return this._scaleRatio||1},_getRealDimension:function(De,et){return Math.round((0,p.N)(De)[et])},_getBaseDimension:function(De,et){return De["offset"+(0,_.Ns)(et)]},_moveContentByTranslator:function(De){var et,yt=-this._maxScrollPropValue;if(this._translateOffset!==(et=De>0?De:De<=yt?De-yt:De%1)){var dt={};if(dt[this._prop]=et,this._translateOffset=et,0===et)return void(0,P.fw)(this._$content);(0,P.Cy)(this._$content,dt)}},_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 De=this._bounceLocation=this._boundLocation();this._velocity=(De-this._location)/ce},_inBounds:function(De){return this._boundLocation(De=void 0!==De?De:this._location)===De},_crossBoundOnNextStep:function(){var De=this._location,et=De+this._velocity;return De<this._minOffset&&et>=this._minOffset||De>this._maxOffset&&et<=this._maxOffset},_initHandler:function(De){this._stopScrolling(),this._prepareThumbScrolling(De)},_stopScrolling:(0,A.Mb)(function(){this._hideScrollbar(),this._inertiaAnimator.stop(),this._bounceAnimator.stop()}),_prepareThumbScrolling:function(De){if(!(0,G.X1)(De.originalEvent)){var et=(0,c.A)(De.originalEvent.target),yt=this._isScrollbar(et);yt&&this._moveToMouseLocation(De),this._thumbScrolling=yt||this._isThumb(et),this._crossThumbScrolling=!this._thumbScrolling&&this._isAnyThumbScrolling(et),this._thumbScrolling&&this._scrollbar.feedbackOn()}},_isThumbScrollingHandler:function(De){return this._isThumb(De)},_moveToMouseLocation:function(De){var et=De["page"+this._axis.toUpperCase()]-this._$element.offset()[this._prop],yt=this._location+et/this._containerToContentRatio()-(0,t.Oq)(this._$container)/2;this._scrollStep(-Math.round(yt))},_startHandler:function(){this._showScrollbar()},_moveHandler:function(De){this._crossThumbScrolling||(this._thumbScrolling&&(De[this._axis]=-Math.round(De[this._axis]
1/this._containerToContentRatio())),this._scrollBy(De))},_scrollBy:function(De){De=De[this._axis],this._inBounds()||(De*=.5),this._scrollStep(De)},_scrollByHandler:function(De){this._scrollBy(De),this._scrollComplete()},_containerToContentRatio:function(){return this._scrollbar.containerToContentRatio()},_endHandler:function(De){return this._completeDeferred=new z.cY,this._velocity=De[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,A.OX)(()=>{this._resetScaleRatio(),this._updateLocation(),this._updateBounds(),this._updateScrollbar(),(0,A.zE)(()=>{this._moveScrollbar(),this._scrollbar.update()})})},_resetScaleRatio:function(){this._scaleRatio=null},_updateLocation:function(){this._location=((0,P.x5)(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,A.a0)(function(){var De=this._containerSize(),et=this._contentSize(),yt=this._getBaseDimension(this._$container.get(0),this._dimension),dt=this._getBaseDimension(this._$content.get(0),this._dimension);(0,A.zE)(()=>{this._scrollbar.option({containerSize:De,contentSize:et,baseContainerSize:yt,baseContentSize:dt,scaleRatio:this._getScaleRatio()})})}),_moveToBounds:(0,A.Mb)((0,A.a0)((0,A.Mb)(function(){var De=this._boundLocation(),et=De!==this._location;this._location=De,this._move(),et&&this._scrollAction()}))),_createActionsHandler:function(De){this._scrollAction=De.scroll,this._bounceAction=De.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 De="hidden"===this._$content.css("overflow"+this._axis.toUpperCase()),et=this._getRealDimension(this._$content.get(0),this._dimension);if(!De){var yt=this._$content[0]["scroll"+(0,_.Ns)(this._dimension)]*this._getScaleRatio();et=Math.max(yt,et)}return et},_validateEvent:function(De){var et=(0,c.A)(De.originalEvent.target);return this._isThumb(et)||this._isScrollbar(et)},_isThumb:function(De){return this._scrollByThumb&&this._scrollbar.isThumb(De)},_isScrollbar:function(De){return this._scrollByThumb&&De&&De.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:A.lQ}),Ie=g.A.inherit({ctor:function(De){this._init(De)},_init:function(De){this._component=De,this._$element=De.$element(),this._$container=(0,c.A)(De.container()),this._$wrapper=De._$wrapper,this._$content=De.$content(),this.option=De.option.bind(De),this._createActionByOption=De._createActionByOption.bind(De),this._isLocked=De._isLocked.bind(De),this._isDirection=De._isDirection.bind(De),this._allowedDirection=De._allowedDirection.bind(De),this._getMaxOffset=De._getMaxOffset.bind(De)},render:function(){this._$element.addClass(R),this._createScrollers(),this.option("useKeyboard")&&this._$container.prop("tabIndex",0),this._attachKeyboardHandler(),this._attachCursorHandlers()},_createScrollers:function(){this._scrollers={},this._isDirection(H)&&this._createScroller(H),this._isDirection(fe)&&this._createScroller(fe),this._$element.toggleClass("dx-scrollable-scrollbars-alwaysvisible","always"===this.option("showScrollbar"))},_createScroller:function(De){this._scrollers[De]=new ve(this._scrollerOptions(De))},_scrollerOptions:function(De){return{direction:De,$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(De){for(var et in this._scrollers){var yt=this._getPropByDirection(et);(0,N.O9)(De[yt])&&(De[yt]*=this._scrollers[et]._getScaleRatio())}return De},_isAnyThumbScrolling:function(De){var et=!1;return this._eventHandler("isThumbScrolling",De).done(function(yt,dt){et=yt||dt}),et},handleInit:function(De){this._suppressDirections(De),this._eventForUserAction=De,this._eventHandler("init",De)},_suppressDirections:function(De){(0,G.X1)(De.originalEvent)?this._prepareDirections(!0):(this._prepareDirections(),this._eachScroller(function(et,yt){var dt=(0,c.A)(De.originalEvent.target),Je=et._validateEvent(De)||this.option("scrollByContent")&&this._isContent(dt);
1this._validDirections[yt]=Je}))},_isContent:function(De){return!!De.closest(this._$element).length},_prepareDirections:function(De){De=De||!1,this._validDirections={},this._validDirections[H]=De,this._validDirections[fe]=De},_eachScroller:function(De){De=De.bind(this),(0,M.__)(this._scrollers,function(et,yt){De(yt,et)})},handleStart:function(De){this._eventForUserAction=De,this._eventHandler("start").done(this._startAction)},_saveActive:function(){Ne=this},_resetActive:function(){Ne===this&&(Ne=null)},handleMove:function(De){if(this._isLocked())return De.cancel=!0,void this._resetActive();this._saveActive(),De.preventDefault&&De.preventDefault(),this._adjustDistance(De,De.delta),this._eventForUserAction=De,this._eventHandler("move",De.delta)},_adjustDistance:function(De,et){et.x*=this._validDirections[H],et.y*=this._validDirections[fe];var yt=this._tryGetDevicePixelRatio();yt&&(0,G.X1)(De.originalEvent)&&(et.x=Math.round(et.x/yt*100)/100,et.y=Math.round(et.y/yt*100)/100)},_tryGetDevicePixelRatio:function(){if((0,v.Vd)())return(0,v.zk)().devicePixelRatio},handleEnd:function(De){return this._resetActive(),this._refreshCursorState(De.originalEvent&&De.originalEvent.target),this._adjustDistance(De,De.velocity),this._eventForUserAction=De,this._eventHandler("end",De.velocity).done(this._endAction)},handleCancel:function(De){return this._resetActive(),this._eventForUserAction=De,this._eventHandler("end",{x:0,y:0})},handleStop:function(){this._resetActive(),this._eventHandler("stop")},handleScroll:function(){this._updateRtlConfig(),this._scrollAction()},_attachKeyboardHandler:function(){x.A.off(this._$element,".".concat(D)),!this.option("disabled")&&this.option("useKeyboard")&&x.A.on(this._$element,(0,G.b4)("keydown",D),this._keyDownHandler.bind(this))},_keyDownHandler:function(De){if(clearTimeout(this._updateHandlerTimeout),this._updateHandlerTimeout=setTimeout(()=>{"tab"===(0,G.YD)(De)&&this._eachScroller(yt=>{yt._updateHandler()})}),this._$container.is(m.A.getActiveElement(this._$container.get(0)))){var et=!0;switch((0,G.YD)(De)){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:et=!1}et&&(De.stopPropagation(),De.preventDefault())}},_scrollByLine:function(De){var et=this._tryGetDevicePixelRatio(),yt=40;et&&(yt=Math.abs(yt/et*100)/100),this.scrollBy({top:(De.y||0)*-yt,left:(De.x||0)*-yt})},_scrollByPage:function(De){var et=this._wheelProp(),yt=this._dimensionByProp(et),dt={};dt[et]=De*-("width"===yt?t.RG:t.Oq)(this._$container),this.scrollBy(dt)},_dimensionByProp:function(De){return"left"===De?"width":"height"},_getPropByDirection:function(De){return De===H?"left":"top"},_scrollToHome:function(){var et={};et[this._wheelProp()]=0,this._component.scrollTo(et)},_scrollToEnd:function(){var De=this._wheelProp(),yt={},dt="width"===this._dimensionByProp(De)?t.RG:t.Oq;yt[De]=dt(this._$content)-dt(this._$container),this._component.scrollTo(yt)},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(De){var et=this._createActionByOption(De);return()=>{et((0,b.X)(this._createActionArgs(),arguments))}},_createActionArgs:function(){var{horizontal:De,vertical:et}=this._scrollers,yt=this._getScrollOffset();return this._scrollOffset={top:et&&yt.top,left:De&&yt.left},{event:this._eventForUserAction,scrollOffset:this._scrollOffset,reachedLeft:De&&De._reachedMax(),reachedRight:De&&De._reachedMin(),reachedTop:et&&et._reachedMax(),reachedBottom:et&&et._reachedMin()}}
1,_getScrollOffset(){return{top:-this.location().top,left:-this.location().left}},_eventHandler:function(De){var et=[].slice.call(arguments).slice(1),yt=(0,M.Tj)(this._scrollers,dt=>dt["_"+De+"Handler"].apply(dt,et));return z.z7.apply(c.A,yt).promise()},location:function(){var De=(0,P.x5)(this._$content);return De.top-=this._$container.scrollTop(),De.left-=this._$container.scrollLeft(),De},disabledChanged:function(){this._attachCursorHandlers()},_attachCursorHandlers:function(){x.A.off(this._$element,".".concat(f)),!this.option("disabled")&&this._isHoverMode()&&(x.A.on(this._$element,(0,G.b4)("mouseenter",f),this._cursorEnterHandler.bind(this)),x.A.on(this._$element,(0,G.b4)("mouseleave",f),this._cursorLeaveHandler.bind(this)))},_isHoverMode:function(){return"onHover"===this.option("showScrollbar")},_cursorEnterHandler:function(De){(De=De||{}).originalEvent=De.originalEvent||{},!Ne&&!De.originalEvent._hoverHandled&&(ke&&ke._cursorLeaveHandler(),ke=this,this._eventHandler("cursorEnter"),De.originalEvent._hoverHandled=!0)},_cursorLeaveHandler:function(De){ke!==this||Ne===ke||(this._eventHandler("cursorLeave"),ke=null,this._refreshCursorState(De&&De.relatedTarget))},_refreshCursorState:function(De){if(this._isHoverMode()||De&&!Ne){var yt=(0,c.A)(De).closest(".".concat(R,":not(.dx-state-disabled)")),dt=yt.length&&yt.data("dxScrollableStrategy");ke&&ke!==dt&&ke._cursorLeaveHandler(),dt&&dt._cursorEnterHandler()}},update:function(){var De=this._eventHandler("update").done(this._updateAction);return(0,z.z7)(De,(0,A.OX)(()=>{var et=this._allowedDirections();return(0,A.zE)(()=>{var yt=et.vertical?"pan-x":"";yt=et.horizontal?"pan-y":yt,this._$container.css("touchAction",yt=et.vertical&&et.horizontal?"none":yt)}),(0,z.z7)().promise()}))},_allowedDirections:function(){var De=this.option("bounceEnabled"),et=this._scrollers[fe],yt=this._scrollers[H];return{vertical:et&&(et._minOffset<0||De),horizontal:yt&&(yt._minOffset<0||De)}},_updateBounds:function(){this._scrollers[H]&&this._scrollers[H]._updateBounds()},_isHorizontalAndRtlEnabled:function(){return this.option("rtlEnabled")&&this.option("direction")!==fe},updateRtlPosition:function(De){if(De&&(this._rtlConfig={scrollRight:0,clientWidth:this._$container.get(0).clientWidth,windowPixelRatio:this._getWindowDevicePixelRatio()}),this._updateBounds(),this._isHorizontalAndRtlEnabled()){var et=this._getMaxOffset().left-this._rtlConfig.scrollRight;et<=0&&(et=0,this._rtlConfig.scrollRight=this._getMaxOffset().left),this._getScrollOffset().left!==et&&(this._rtlConfig.skipUpdating=!0,this._component.scrollTo({left:et}),this._rtlConfig.skipUpdating=!1)}},_updateRtlConfig:function(){if(this._isHorizontalAndRtlEnabled()&&!this._rtlConfig.skipUpdating){var{clientWidth:De,scrollLeft:et}=this._$container.get(0),yt=this._getWindowDevicePixelRatio();this._rtlConfig.windowPixelRatio===yt&&this._rtlConfig.clientWidth===De&&(this._rtlConfig.scrollRight=this._getMaxOffset().left-et),this._rtlConfig.clientWidth=De,this._rtlConfig.windowPixelRatio=yt}},_getWindowDevicePixelRatio:function(){return(0,v.Vd)()?(0,v.zk)().devicePixelRatio:1},scrollBy:function(De){var et=this._scrollers[fe],yt=this._scrollers[H];et&&(De.top=et._boundLocation(De.top+et._location)-et._location),yt&&(De.left=yt._boundLocation(De.left+yt._location)-yt._location),this._prepareDirections(!0),this._startAction(),this._eventHandler("scrollBy",{x:De.left,y:De.top}),this._endAction(),this._updateRtlConfig()},validate:function(De){return!((0,G.X1)(De)&&(0,G.By)(De)||this.option("disabled"))&&(!!this.option("bounceEnabled")||((0,G.X1)(De)?this._validateWheel(De):this._validateMove(De)))},_validateWheel:function(De){var et=this._scrollers[this._wheelDirection(De)],yt=et._reachedMin(),dt=et._reachedMax(),He=(!yt||!dt)&&(!yt&&!dt||yt&&De.delta>0||dt&&De.delta<0);return(He=He||void 0!==this._validateWheelTimer)&&(clearTimeout(this._val
1idateWheelTimer),this._validateWheelTimer=setTimeout(()=>{this._validateWheelTimer=void 0},500)),He},_validateMove:function(De){return!(!this.option("scrollByContent")&&!(0,c.A)(De.target).closest(".".concat("dx-scrollable-scrollbar")).length)&&this._allowedDirection()},getDirection:function(De){return(0,G.X1)(De)?this._wheelDirection(De):this._allowedDirection()},_wheelProp:function(){return this._wheelDirection()===H?"left":"top"},_wheelDirection:function(De){switch(this.option("direction")){case H:return H;case fe:return fe;default:return De&&De.shiftKey?H:fe}},dispose:function(){this._resetActive(),ke===this&&(ke=null),this._eventHandler("dispose"),this._detachEventHandlers(),this._$element.removeClass(R),this._eventForUserAction=null,clearTimeout(this._validateWheelTimer),clearTimeout(this._updateHandlerTimeout)},_detachEventHandlers:function(){x.A.off(this._$element,".".concat(f)),x.A.off(this._$container,".".concat(D))}})},8096:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>S});var t=a(4292),c=a(7669),m=a(1269),x=a(2535),_=a(2824),b=a(8041),v=a(9104),M=a(5042),N=a(2463),p=a(7951),P=a(4159),g="dxScrollbar",U="dx-scrollable-scrollbar",G="".concat(U,"-active"),ee="horizontal",D=null,R=b.A.inherit({_getDefaultOptions:function(){return(0,p.X)(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,t.A)("<div>").addClass("dx-scrollable-scroll"),(0,t.A)("<div>").addClass("dx-scrollable-scroll-content").appendTo(this._$thumb),this.$element().addClass(U).append(this._$thumb)},isThumb:function(j){return!!this.$element().find(j).length},_isHoverMode:function(){var j=this.option("visibilityMode");return("onHover"===j||"always"===j)&&this.option("expandable")},_renderDirection:function(){var j=this.option("direction");this.$element().addClass("dx-scrollbar-"+j),this._dimension=j===ee?"width":"height",this._prop=j===ee?"left":"top"},_attachPointerDownHandler:function(){m.A.on(this._$thumb,(0,v.b4)(P.A.down,g),this.feedbackOn.bind(this))},feedbackOn:function(){this.$element().addClass(G),D=this},feedbackOff:function(){this.$element().removeClass(G),D=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(j){"onScroll"===this.option("visibilityMode")&&this._$thumb.css("opacity"),j=this._adjustVisibility(j),this.option().visible=j,this._$thumb.toggleClass("dx-state-invisible",!j)},_adjustVisibility:function(j){if(this._baseContainerToContentRatio&&!this._needScrollbar())return!1;switch(this.option("visibilityMode")){case"onScroll":break;case"onHover":j=j||!!this._isHovered;break;case"never":j=!1;break;case"always":j=!0}return j},moveTo:function(j){if(!this._isHidden()){(0,N.Qd)(j)&&(j=j[this._prop]||0);var fe={};fe[this._prop]=this._calculateScrollBarPosition(j),(0,_.Cy)(this._$thumb,fe)}},_calculateScrollBarPosition:function(j){return-j*this._thumbRatio},_update:function(){var j=Math.round(this.option("containerSize")),fe=Math.round(this.option("contentSize")),H=Math.round(this.option("baseContainerSize")),J=Math.round(this.option("baseContentSize"));isNaN(H)&&(H=j,J=fe),this._baseContainerToContentRatio=J?H/J:H,this._realContainerToContentRatio=fe?j/fe:j;var Y=Math.round(Math.max(Math.round(j*this._realContainerToContentRatio),15));this._thumbRatio=(j-Y)/(this.option("scaleRatio")*(fe-j)),this.option(this._dimension,Y/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(j){return(0,N.Qd)(j)?j[this._dimension]||0:j},_clean:function(){this.callBase(),this===D&&(D=null),m.A.off(this._$thumb,"."+g)},_optionChanged:function(j){if(!this._isHidden())switch(j.name){case"containerSize":case"contentSize":this.option()[j.name]=this._normalizeSize(j.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,M.Mb)(function(){this._adjustVisibility()&&this.option("visible",!0)})});x.A.add(function(){m.A.subscribeGlobal(c.A.getDocument(),(0,v.b4)(P.A.up,g),function(){D&&D.feedbackOff()})});const S=R},1493:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>R}),a(9700);var c=a(4905),m=a(7669),x=a(181),_=a(7550),b=a(4292),v=a(5042),M=a(2984),N=a(7951),p=a(2101),P=
1a(2463),g=a(9104),U=a(736),G=a(1824),L="dx-selectbox-popup-wrapper",f=G.A.inherit({_supportedKeys(){var S=this,j=this.callBase(),fe=function(J){this._isEditable()?this._valueSubstituted()&&(this._preventFiltering=!0):this.option("showClearButton")&&(J.preventDefault(),this.clear()),this._savedTextRemoveEvent=J,this._preventSubstitution=!0},H=function(){S.option("searchEnabled")&&S._valueSubstituted()&&S._searchHandler()};return(0,N.X)({},j,{tab(){this.option("opened")&&!this._popup.getFocusableElements().length&&this._resetCaretPosition(!0),j.tab&&j.tab.apply(this,arguments),this._cancelSearchIfNeed()},upArrow(J){if(j.upArrow.apply(this,arguments))return this.option("opened")||this._setNextValue(J),!0},downArrow(J){if(j.downArrow.apply(this,arguments))return this.option("opened")||this._setNextValue(J),!0},leftArrow(){var J;H(),null===(J=j.leftArrow)||void 0===J||J.apply(this,arguments)},rightArrow(){H(),j.rightArrow&&j.rightArrow.apply(this,arguments)},home(){H(),j.home&&j.home.apply(this,arguments)},end(){H(),j.end&&j.end.apply(this,arguments)},escape(){var J=j.escape&&j.escape.apply(this,arguments);return this._cancelEditing(),J??!0},enter(J){var Y=this.option("opened"),W=this._input().val().trim(),re=W&&this._list&&!this._list.option("focusedElement");if(!W&&(0,P.O9)(this.option("value"))&&this.option("allowClearing"))this._saveValueChangeEvent(J),this.option({selectedItem:null,value:null}),this.close();else{if(this.option("acceptCustomValue"))return J.preventDefault(),re&&(Y&&this._toggleOpenState(),this._valueChangeEventHandler(J)),Y;if(j.enter&&j.enter.apply(this,arguments))return Y}},space(J){var Y=this.option("opened"),W=this.option("searchEnabled"),re=this.option("acceptCustomValue");if(Y&&!W&&!re)return J.preventDefault(),this._valueChangeEventHandler(J),!0},backspace:fe,del:fe})},_getDefaultOptions(){return(0,N.X)(this.callBase(),{placeholder:U.A.format("Select"),fieldTemplate:null,customItemCreateEvent:"change",valueChangeEvent:"change",acceptCustomValue:!1,onCustomItemCreating(S){(0,P.O9)(S.customItem)||(S.customItem=S.text)},showSelectionControls:!1,allowClearing:!0,tooltipEnabled:!1,openOnFieldClick:!0,showDropDownButton:!0,displayCustomValue:!1,useHiddenSubmitElement:!0})},_init(){this.callBase(),this._initCustomItemCreatingAction()},_initMarkup(){this.$element().addClass("dx-selectbox"),this._renderTooltip(),this.callBase(),this._$container.addClass("dx-selectbox-container")},_createPopup(){this.callBase(),this._popup.$element().addClass("dx-selectbox-popup"),this._popup.$overlayContent().attr("tabindex",-1)},_popupWrapperClass(){return"".concat(this.callBase()," ").concat(L)},_setDeprecatedOptions(){this.callBase(),(0,N.X)(this._deprecatedOptions,{valueChangeEvent:{since:"22.2",alias:"customItemCreateEvent"}})},_cancelEditing(){!this.option("searchEnabled")&&this._list&&(this._focusListElement(null),this._updateField(this.option("selectedItem")))},_renderOpenedState(){this.callBase(),this.option("opened")&&(this._scrollToSelectedItem(),this._focusSelectedElement())},_focusSelectedElement(){var S;if(this._searchValue()){var{items:fe,selectedItem:H}=this.option(),J=this._list._itemElements(),Y=null!==(S=fe?.indexOf(H))&&void 0!==S?S:-1,W=-1===Y||this._isCustomItemSelected()?null:J.eq(Y);this._focusListElement(W)}else this._focusListElement(null)},_renderFocusedElement(){if(this._list){if(!this._searchValue()||this.option("acceptCustomValue"))return void this._focusListElement(null);var fe=this._list._itemElements().not(".dx-state-disabled").eq(0);this._focusListElement(fe)}},_focusListElement(S){this._preventInputValueRender=!0,this._list.option("focusedElement",(0,x.c)(S)),delete this._preventInputValueRender},_scrollToSelectedItem(){this._list&&this._list.scrollToItem(this._list.option("selectedItem"))},_listContentReadyHandler(){this.callBase(),this._dataController.paginate()&&this._needPopupRepaint()||this._scrollToSelectedItem()},_renderValue(){return this._renderInputValue(),this._setSubmitValue(),(new M.cY).resolve()},_renderInputValue(){return this.callBase().always(()=>{this._renderInputValueAsync()})},_renderInputValueAsync(){this._renderTooltip(),this._renderInputValueImpl().always(()=>{this._refreshSelected()})},_renderInputValueImpl(){return this._renderField(),(new M.cY).resolve()},_setNextItem(S){var j=this._calcNextItem(S),fe=this._valueGetter(j);this._setValue(fe)},_setNextValue(S){(this._dataController.isLoaded()?(new M.cY).resolve():this._dataController.load()).done(()=>{var fe=this._getSelectedIndex(),H=this._dataController.pageSize(),J=this._dataController.isLastPage(),Y=fe===this._items().length-1;this._saveValueChangeEvent(S);var W="downArrow"===(0,g.YD)(S)?1:-1;H&&!J&&Y&&W>0?(this._popup||this._createPopup(),this._dataController.isLoading()||this._list._loadNextPage().done(this._setNextItem.bind(this,W))):this._setNextItem(W)})},_setSelectedItem(S){var j=!this._isCustomValueAllowed()&&void 0===S;this.callBase(j?null:S),!j&&(!this._isEditable()||this._isCustomItemSelected())&&this._setListOption("selectedItem",this.option("selectedItem"))},_isCustomValueAllowed(){return this.option("acceptCustomValue")||this.callBase()},_displayValue(S){return S=!(0,P.O9)(S)&&this._isCustomValueAllowed()?this.option("value"):S,this.callBase(S)},_listConfig(){var S=(0,N.X)(this.callBase(),{pageLoadMode:"scrollBottom",onSelectionChanged:this._getSelectionChangeHandler(),selectedItem:this.option("selectedItem"),onFocusedItemChanged:this._listFocusedItemChangeHandler.bind(this)});return this.option("showSelectionControls")&&(0,N.X)(S,{showSelectionControls:!0,selectByClick:!0}),S},_listFocusedItemChangeHandler(S){if(!this._preventInputValueRender){var j=S.component,fe=(0,b.A)(j.option("focusedElement")),H=j._getItemData(fe);this._updateField(H)}},_updateField(S){if(!this._getTemplateByOption("fieldTemplate")||!this.option("fieldTemplate")){var fe=this._displayGetter(S);return this.option("text",fe),void this._renderDisplayText(fe)}this._renderField()},_getSelectionChangeHandler(){return this.option("showSelectionControls")?this._selectionChangeHandler.bind(this):v.lQ},_selectionChangeHandler(S){(0,p.__)(S.addedItems||[],(j,fe)=>{this._setValue(this._valueGetter(fe))})},_getActualSearchValue(){return this._dataController.searchValue()},_toggleOpenState(S){if(!this.option("disabled")){if(!(S=arguments.length?S:!this.option("opened"))&&!this._shouldClearFilter()&&this._restoreInputText(!0),this._wasSearch()&&S)if(this._wasSearch(!1),(this.option("showDataBeforeSearch")||this._isMinSearchLengthExceeded())&&this._dataController.getDataSource()){if(this._searchTimer)return;var fe=this._getActualSearchValue();fe&&this._wasSearch(!0),this._filterDataSource(fe||null)}else this._setListOption("items",[]);S&&this._scrollToSelectedItem(),this.callBase(S)}},_renderTooltip(){this.option("tooltipEnabled")&&this.$element().attr("title",this.option("displayValue"))},_renderDimensions(){this.callBase(),this._updatePopupWidth(),this._updateListDimensions()},_isValueEqualInputText(){var S=this.option("selectedItem");if(null===S)return!1;var j=this._displayGetter(S);return(j?String(j):"")===this._searchValue()},_popupHidingHandler(){this._isValueEqualInputText()&&this._cancelEditing(),this.callBase()},_popupHiddenHandler(){this.callBase(),this._shouldCancelSearch()&&(this._wasSearch(!1),this._searchCanceled(),this._shouldCancelSearch(!1))},_restoreInputText(S){this.option("readOnly")||this._loadItemDeferred&&this._loadItemDeferred.always(()=>{var{acceptCustomValue:j,text:fe,selectedItem:H}=this.option();j?!S&&!this._isValueChanging&&(this._updateField(H??this._createCustomItem(fe)),this._clearFilter()):this.option("searchEnabled")&&!this._searchValue()&&this.option("allowClearing")?this._clearTextValue():this._isValueEqualInputText()||this._renderInputValue().always(J=>{var Y=(0,v.YD)(J,H);this._setSelectedItem(Y),this._updateField(Y),this._clearFilter()})})},_valueChangeEventIncludesBlur(){return this.option(this._getValueChangeEventOptionName()).includes("blur")},_isPreventedFocusOutEvent(S){return this._preventNestedFocusEvent(S)||this._valueChangeEventIncludesBlur()},_focusOutHandler(S){this._isPreventedFocusOutEvent(S)||(this._isOverlayNestedTarget(S.relatedTarget)||(this._restoreInputText(),this._clearSearchTimer()),this._cancelSearchIfNeed(S)),S.target=this._input().get(0),this.callBase(S)},_cancelSearchIfNeed(S){var j,{searchEnabled:fe}=this.option(),H=this._isOverlayNestedTarget(S?.relatedTarget);if(this._wasSearch()&&fe&&!H){var Y=null===(j=this._popup)||void 0===j?void 0:j._hideAnimationProcessing;this._clearSearchTimer(),Y?this._shouldCancelSearch(!0):(this._wasSearch(!1),this._searchCanceled())}},_shouldCancelSearch(S){if(!arguments.length)return this._shouldCancelSearchValue;this._shouldCancelSearchValue=S},_isOverlayNestedTarget:S=>!!(0,b.A)(S).closest(".".concat(L)).length,_clearTextValue(){var S=this.option("selectedItem"),j=this._displayGetter(S);S&&""!==j&&(this._savedTextRemoveEvent&&this._saveValueChangeEvent(this._savedTextRemoveEvent),this.option("value",null)),delete this._savedTextRemoveEvent},_shouldOpenPopup(){return this._needPassDataSourceToList()&&this._wasSearch()}
1,_isFocused(){var S=m.A.getActiveElement(this.element());return this.callBase()&&(0,b.A)(S).closest(this._input()).length>0},_getValueChangeEventOptionName:()=>"customItemCreateEvent",_renderValueChangeEvent(){this._isEditable()&&this.callBase()},_fieldRenderData(){var S=this._list&&this.option("opened")&&(0,b.A)(this._list.option("focusedElement"));return S&&S.length?this._list._getItemData(S):this.option("selectedItem")},_isSelectedValue(S){return this._isValueEquals(S,this.option("value"))},_shouldCloseOnItemClick(){return!(this.option("showSelectionControls")&&"single"!==this.option("selectionMode"))},_listItemClickHandler(S){var j=this._getCurrentValue();this._focusListElement((0,b.A)(S.itemElement)),this._saveValueChangeEvent(S.event),this._completeSelection(this._valueGetter(S.itemData)),this._shouldCloseOnItemClick()&&this.option("opened",!1),this.option("searchEnabled")&&j===this._valueGetter(S.itemData)&&this._updateField(S.itemData),this._shouldClearFilter()&&this._cancelSearchIfNeed()},_shouldClearFilter(){return this._wasSearch()},_completeSelection(S){this._setValue(S)},_loadItem(S,j){var fe=this,H=new M.cY;return this.callBase(S,j).done(J=>{H.resolve(J)}).fail(J=>{if(!J?.shouldSkipCallback){var Y=fe.option("selectedItem");fe.option("acceptCustomValue")&&S===fe._valueGetter(Y)?H.resolve(Y):H.reject()}}),H.promise()},_loadInputValue(S,j){return this._loadItemDeferred=this._loadItem(S).always(j),this._loadItemDeferred},_isCustomItemSelected(){var S=this.option("selectedItem"),j=this._searchValue(),fe=this._displayGetter(S);return!fe||j!==fe.toString()},_valueChangeEventHandler(S){this.option("acceptCustomValue")&&this._isCustomItemSelected()&&!this._isValueChanging&&(this._isValueChanging=!0,this._customItemAddedHandler(S))},_initCustomItemCreatingAction(){this._customItemCreatingAction=this._createActionByOption("onCustomItemCreating")},_createCustomItem(S){var j={text:S},fe=this._customItemCreatingAction(j),H=(0,v.YD)(fe,j.customItem);return(0,P.O9)(fe)&&_.A.log("W0015","onCustomItemCreating","customItem"),H},_customItemAddedHandler(S){var j=this._searchValue(),fe=this._createCustomItem(j);if(this._saveValueChangeEvent(S),void 0===fe)throw this._renderValue(),_.A.Error("E0121");(0,P.yL)(fe)?(0,M.Sx)(fe).done(this._setCustomItem.bind(this)).fail(this._setCustomItem.bind(this,null)):this._setCustomItem(fe)},_setCustomItem(S){this._disposed||(this.option("selectedItem",S=S||null),this._cancelSearchIfNeed(),this._setValue(this._valueGetter(S)),this._renderDisplayText(this._displayGetter(S)),this._isValueChanging=!1)},_clearValueHandler(S){return this._preventFiltering=!0,this.callBase(S),this._searchCanceled(),!1},_wasSearch(S){if(!arguments.length)return!!this._wasSearchValue;this._wasSearchValue=S},_searchHandler(){this._preventFiltering?delete this._preventFiltering:(this._needPassDataSourceToList()&&this._wasSearch(!0),this.callBase(arguments))},_dataSourceFiltered(S){this.callBase(),null!==S&&(this._renderInputSubstitution(),this._renderFocusedElement())},_valueSubstituted(){var S=this._input().get(0),j=this._searchValue().length,fe=0===S.selectionStart&&S.selectionEnd===j,H=S.selectionStart!==S.selectionEnd,J=j===S.selectionEnd;return this._wasSearch()&&H&&!fe&&J&&this._shouldSubstitutionBeRendered()},_shouldSubstitutionBeRendered(){return!this._preventSubstitution&&this.option("searchEnabled")&&!this.option("acceptCustomValue")&&"startswith"===this.option("searchMode")},_renderInputSubstitution(){if(this._shouldSubstitutionBeRendered()){var S=this._list&&this._getPlainItems(this._list.option("items"))[0];if(S){var j=this._input(),fe=j.val().length;if(0!==fe){var H=j.get(0),J=this._displayGetter(S).toString();H.value=J,this._caret({start:fe,end:J.length})}}}else delete this._preventSubstitution},_dispose(){this._renderInputValueAsync=v.lQ,delete this._loadItemDeferred,this.callBase()},_optionChanged(S){switch(S.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(S)}}});(0,c.A)("dxSelectBox",f);const R=f},4366:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>U});var t=a(2463),c=a(9845),m=a(5042),x=a(2984);class _{constructor(A){this.options=A,this._setOption("disabledItemKeys",[]),this._clearItemKeys()}_clearItemKeys(){this._setOption("addedItemKeys",[]),this._setOption("removedItemKeys",[]),this._setOption("removedItems",[]),this._setOption("addedItems",[])}validate(){}_setOption(A,K){this.options[A]=K}onSelectionChanged(){var A=this.options.addedItemKeys,K=this.options.removedItemKeys,z=this.options.addedItems,ee=this.options.removedItems,L=this.options.selectedItems,f=this.options.selectedItemKeys,D=this.options.onSelectionChanged||m.lQ;this._clearItemKeys(),D({selectedItems:L,selectedItemKeys:f,addedItemKeys:A,removedItemKeys:K,addedItems:z,removedItems:ee})}equalKeys(A,K){return this.options.equalByReference&&(0,t.Gv)(A)&&(0,t.Gv)(K)?A===K:(0,m.RL)(A,K)}getSelectableItems(A){return A.filter(function(K){return!(null!=K&&K.disabled)})}_clearSelection(A,K,z,ee){return A=A||[],A=Array.isArray(A)?A:[A],this.validate(),this.selectedItemKeys(A,K,z,ee)}_removeTemplateProperty(A){return Array.isArray(A)?A.map(K=>this._removeTemplateProperty(K)):((0,t.Gv)(A)&&delete A.template,A)}_loadFilteredData(A,K,z,ee){var L=encodeURI(JSON.stringify(this._removeTemplateProperty(A))).length,f=this.options.maxFilterLengthInRequest&&L>this.options.maxFilterLengthInRequest,D=new x.cY,R={filter:f?void 0:A,select:f?this.options.dataFields():z||this.options.dataFields()};return A&&0===A.length?D.resolve([]):this.options.load(R).done(function(S){var j=(0,t.Qd)(S)?S.data:S;K&&!ee?j=j.filter(K):f&&(j=(0,c.A)(j).filter(A).toArray()),D.resolve(j)}).fail(D.reject.bind(D)),D}updateSelectedItemKeyHash(A){for(var K=0;K<A.length;K++){var z=(0,m.GP)(A[K]);(0,t.Gv)(z)||(this.options.keyHashIndices[z]=this.options.keyHashIndices[z]||[],this.options.keyHashIndices[z].push(K))}}_isAnyItemSelected(A){for(var K=0;K<A.length;K++)if(this.options.isItemSelected(A[K]))return;return!1}_getFullSelectAllState(){var A=this.options.plainItems(),K=this.options.filter(),z=this.options.ignoreDisabledItems?this.options.selectedItems:this.options.selectedItems.filter(f=>!(null!=f&&f.disabled));K&&(z=(0,c.A)(z).filter(K).toArray());var ee=z.length,L=A.length-this.getSelectableItems(A).length;return ee?ee>=this.options.totalCount()-L||void 0:this._isAnyItemSelected(A)}_getVisibleSelectAllState(){for(var A=this.getSelectableItems(this.options.plainItems()),K=!1,z=!1,ee=0;ee<A.length;ee++){var L=A[ee],f=this.options.getItemData(L),D=this.options.keyOf(f);this.options.isSelectableItem(L)&&(this.isItemKeySelected(D)?K=!0:z=!0)}return!!K&&(!z||void 0)}}var b=a(7310);class v extends _{getSelectedItems(){return this._loadFilteredData(this.options.selectionFilter)}getSelectedItemKeys(){var A=new x.cY,K=this,z=this.options.key(),ee=(0,t.Kg)(z)?[z]:z;return this._loadFilteredData(this.options.selectionFilter,null,ee).done(function(L){var f=L.map(function(D){return K.options.keyOf(
1D)});A.resolve(f)}).fail(A.reject),A.promise()}selectedItemKeys(A,K,z,ee){if(ee){var L=this.options.filter();!L||JSON.stringify(L)===JSON.stringify(this.options.selectionFilter)&&z?this._setOption("selectionFilter",z?[]:null):this._addSelectionFilter(z,L,ee)}else{K||this._setOption("selectionFilter",[]);for(var D=0;D<A.length;D++)z?this.removeSelectedItem(A[D]):this.addSelectedItem(A[D],ee,!K)}return this.onSelectionChanged(),(new x.cY).resolve()}setSelectedItems(A){this._setOption("selectionFilter",null);for(var K=0;K<A.length;K++)this.addSelectedItem(A[K])}isItemDataSelected(A){return this.isItemKeySelected(A)}isItemKeySelected(A){var K=this.options.selectionFilter;return!K||!!(0,c.A)([A]).filter(K).toArray().length}_getKeyExpr(){var A=this.options.key();return Array.isArray(A)&&1===A.length?A[0]:A}_normalizeKey(A){var K=this.options.key();return Array.isArray(K)&&1===K.length?A[K[0]]:A}_getFilterByKey(A){var K=this._getKeyExpr(),z=[K,"=",this._normalizeKey(A)];if(Array.isArray(K)){z=[];for(var ee=0;ee<K.length;ee++)z.push([K[ee],"=",A[K[ee]]]),ee!==K.length-1&&z.push("and")}return z}addSelectedItem(A,K,z){var ee=this._getFilterByKey(A);this._addSelectionFilter(!1,ee,K,z)}removeSelectedItem(A){var K=this._getFilterByKey(A);this._addSelectionFilter(!0,K)}validate(){var A=this.options.key;if(A&&void 0===A())throw b.A.Error("E1042","Deferred selection")}_findSubFilter(A,K){if(!A)return-1;for(var z=JSON.stringify(K),ee=0;ee<A.length;ee++){var L=A[ee];if(L&&JSON.stringify(L)===z)return ee}return-1}_isLastSubFilter(A,K){return!(!A||!K||this._findSubFilter(A,K)!==A.length-1&&0!==this._findSubFilter([A],K))}_addFilterOperator(A,K){return A.length>1&&(0,t.Kg)(A[1])&&A[1]!==K&&(A=[A]),A.length&&A.push(K),A}_denormalizeFilter(A){return A&&(0,t.Kg)(A[0])&&(A=[A]),A}_isOnlyNegativeFiltersLeft(A){return A.every((K,z)=>z%2==0?Array.isArray(K)&&"!"===K[0]:"and"===K)}_addSelectionFilter(A,K,z,ee){var L,f=A?["!",K]:K,D=A?"and":"or",R=!0,S=this.options.selectionFilter||[];if(null!==(L=S=this._denormalizeFilter(S))&&void 0!==L&&L.length&&!ee){var j=this._removeSameFilter(S,K,A,z),fe=this._removeSameFilter(S,K,!A);A&&(-1!==j||-1!==fe)&&this._isOnlyNegativeFiltersLeft(S)&&(S=[]);var J=this._isKeyFilter(K)&&this._hasKeyFiltersOnlyStartingFromIndex(S,fe);R=K.length&&!J}R&&(S=this._addFilterOperator(S,D)).push(f),S=this._normalizeFilter(S),this._setOption("selectionFilter",A||S.length?S:null)}_normalizeFilter(A){return A&&1===A.length&&(A=A[0]),A}_removeFilterByIndex(A,K,z){var ee=A[1];A.splice(K>0?K-1:K,2),z&&"and"===ee&&A.splice(0,A.length)}_isSimpleKeyFilter(A,K){return 3===A.length&&A[0]===K&&"="===A[1]}_isKeyFilter(A){if(2===A.length&&"!"===A[0])return this._isKeyFilter(A[1]);var K=this._getKeyExpr();if(Array.isArray(K)){if(A.length!==2*K.length-1)return!1;for(var z=0;z<K.length;z++)if(z>0&&"and"!==A[2*z-1]||!this._isSimpleKeyFilter(A[2*z],K[z]))return!1;return!0}return this._isSimpleKeyFilter(A,K)}_hasKeyFiltersOnlyStartingFromIndex(A,K){if(K>=0){for(var z=K;z<A.length;z++)if("string"!=typeof A[z]&&!this._isKeyFilter(A[z]))return!1;return!0}return!1}_removeSameFilter(A,K,z,ee){if(K=z?["!",K]:K,JSON.stringify(K)===JSON.stringify(A))return A.splice(0,A.length),0;var L=this._findSubFilter(A,K);if(L>=0)return this._removeFilterByIndex(A,L,ee),L;for(var f=0;f<A.length;f++)if(Array.isArray(A[f])&&A[f].length>2){var D=this._removeSameFilter(A[f],K,!1,ee);if(D>=0)return A[f].length?1===A[f].length&&(A[f]=A[f][0]):this._removeFilterByIndex(A,f,ee),D}return-1}getSelectAllState(){var A=this.options.filter(),K=this.options.selectionFilter;if(!K)return!0;if(!K.length)return!1;if(A&&A.length){if(K=this._denormalizeFilter(K),this._isLastSubFilter(K,A))return!0;if(this._isLastSubFilter(K,["!",A]))return!1}}loadSelectedItemsWithFilter(){var A=this.options.filter(),K=this.options.selectionFilter;return this._loadFilteredData(A?[A,"and",K]:K)}}var M=a(9518),N=a(4014),p=a(6830);class P extends _{constructor(A){super(A),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(A,K){var ee,L,f,z=this.options.keyOf;if(z){var D=K&&A.length>1&&!this.options.equalByReference;for(D&&(ee={}),f=0;f<A.length;f++){var R=A[f],S=z(R);K?(L=this.removeSelectedItem(S,ee,R?.disabled),ee&&L>=0&&(ee[L]=!0)):this.addSelectedItem(S,R)}D&&this._batchRemoveSelectedItems(ee)}}_batchRemoveSelectedItems(A){var K=this.options.selectedItemKeys.slice(0),z=this.options.selectedItems.slice(0);this.options.selectedItemKeys.length=0,this.options.selectedItems.length=0;for(var ee=0;ee<K.length;ee++)A[ee]||(this.options.selectedItemKeys.push(K[ee]),this.options.selectedItems.push(z[ee]));this._initSelectedItemKeyHash(),this.updateSelectedItemKeyHash(this.options.selectedItemKeys)}_loadSelectedItemsCore(A,K,z,ee){var L=arguments.length>4&&void 0!==arguments[4]&&arguments[4],f=new x.cY,D=this.options.key();if(!A.length&&!z)return f.resolve([]),f;if(z&&K&&!ee)return f.resolve(this.getSelectedItems()),f;var R=new p.H(A,z),S=R.getCombinedFilter(D,ee,L),j=[];if(K){var fe=this.options.selectedItems;j=S&&A.length!==fe.length?(0,c.A)(fe).filter(S).toArray():fe.slice(0)}var H=j.length?j:this.options.plainItems(!0).filter(this.options.isSelectableItem).map(this.options.getItemData),J=R.getLocalFilter(this.options.keyOf,this.equalKeys.bind(this),this.options.equalByReference,D);return H=H.filter(J),j.length||!z&&H.length===A.length?f.resolve(H):f=this._loadFilteredData(S,J,null,z),f}_replaceSelectionUpdate(A){var K=[],z=this.options.keyOf;if(z){for(var ee=0;ee<A.length;ee++){var f=z(A[ee]);K.push(f)}this.setSelectedItems(K,A)}}_warnOnIncorrectKeys(A){for(var K=this.options.allowNullValue,z=0;z<A.length;z++){var ee=A[z];(!K||null!==ee)&&!this.isItemKeySelected(ee)&&b.A.log("W1002",ee)}}_isMultiSelectEnabled(){var A=this.options.mode;return"all"===A||"multiple"===A}_requestInProgress(){var A;return"pending"===(null===(A=this._lastLoadDeferred)||void 0===A?void 0:A.state())}_concatRequestsItems(A,K,z,ee){var L,f=K?A:[];return L=ee||(0,M.R3)(A,this.options.selectedItemKeys),{addedItems:z.added.concat(L),removedItems:z.removed.concat(f),keys:A}}_collectLastRequestData(A,K,z,ee){var L=K&&z,f={added:[],removed:[]},D=this._isMultiSelectEnabled(),R=D?this._lastRequestData:{};return D&&(this._shouldMergeWithLastRequest&&(L?(this._lastLoadDeferred.reject(),R={}):(0,N.V)(A,this.options.selectedItemKeys)||(f.added=R.addedItems,f.removed=R.removedItems,K||this._lastLoadDeferred.reject())),R=this._concatRequestsItems(A,K,f,this._shouldMergeWithLastRequest?void 0:ee)),R}_updateKeysByLastRequestData(A,K,z){var L,f,ee=A;return this._isMultiSelectEnabled()&&this._shouldMergeWithLastRequest&&!K&&!z&&(ee=(0,M.R3)(A.concat(null===(L=this._lastRequestData)||void 0===L?void 0:L.addedItems),null===(f=this._lastRequestData)||void 0===f?void 0:f.removedItems),ee=(0,M.Gn)(ee)),ee}_loadSelectedItems(A,K,z,ee){var L=arguments.length>
14&&void 0!==arguments[4]&&arguments[4],f=this,D=new x.cY,R=f.options.filter();return this._shouldMergeWithLastRequest=this._requestInProgress(),this._lastRequestData=this._collectLastRequestData(A,K,z,ee),(0,x.z7)(f._lastLoadDeferred).always(function(){var S=f._updateKeysByLastRequestData(A,K,z);f._shouldMergeWithLastRequest=!1,f._loadSelectedItemsCore(S,K,z,R,L).done(D.resolve).fail(D.reject)}),f._lastLoadDeferred=D,D}selectedItemKeys(A,K,z,ee,L){var D=this,R=D._loadSelectedItems(A,z,ee,L,arguments.length>5&&void 0!==arguments[5]&&arguments[5]);return R.done(function(S){K?D._preserveSelectionUpdate(S,z):D._replaceSelectionUpdate(S),D.onSelectionChanged()}),R}addSelectedItem(A,K){if((0,t.O9)(K)&&!this.options.ignoreDisabledItems&&K.disabled)-1===this.options.disabledItemKeys.indexOf(A)&&this.options.disabledItemKeys.push(A);else{var z=this._getKeyHash(A);-1===this._indexOfSelectedItemKey(z)&&(!(0,t.Gv)(z)&&this.options.keyHashIndices&&(this.options.keyHashIndices[z]=[this.options.selectedItemKeys.length]),this.options.selectedItemKeys.push(A),this.options.addedItemKeys.push(A),this.options.addedItems.push(K),this.options.selectedItems.push(K))}}_getSelectedIndexByKey(A,K){for(var z=this.options.selectedItemKeys,ee=0;ee<z.length;ee++)if((!K||!K[ee])&&this.equalKeys(z[ee],A))return ee;return-1}_getSelectedIndexByHash(A,K){var z=this.options.keyHashIndices[A];return z&&z.length>1&&K&&(z=z.filter(function(ee){return!K[ee]})),z&&z[0]>=0?z[0]:-1}_indexOfSelectedItemKey(A,K){return this.options.equalByReference?this.options.selectedItemKeys.indexOf(A):(0,t.Gv)(A)?this._getSelectedIndexByKey(A,K):this._getSelectedIndexByHash(A,K)}_shiftSelectedKeyIndices(A){for(var K=A;K<this.options.selectedItemKeys.length;K++){var ee=(0,m.GP)(this.options.selectedItemKeys[K]),L=this.options.keyHashIndices[ee];if(L)for(var f=0;f<L.length;f++)L[f]>A&&L[f]--}}removeSelectedItem(A,K,z){if(this.options.ignoreDisabledItems||!z){var ee=this._getKeyHash(A),L=!!K,f=this._indexOfSelectedItemKey(ee,K);if(f<0||(this.options.removedItemKeys.push(A),this.options.removedItems.push(this.options.selectedItems[f]),L)||(this.options.selectedItemKeys.splice(f,1),this.options.selectedItems.splice(f,1),(0,t.Gv)(ee)||!this.options.keyHashIndices))return f;var D=this.options.keyHashIndices[ee];return D&&(D.shift(),D.length||delete this.options.keyHashIndices[ee],this._shiftSelectedKeyIndices(f)),f}}_updateAddedItemKeys(A,K){for(var z=0;z<A.length;z++)this.isItemKeySelected(A[z])||(this.options.addedItemKeys.push(A[z]),this.options.addedItems.push(K[z]))}_updateRemovedItemKeys(A,K,z){for(var ee=0;ee<K.length;ee++)this.isItemKeySelected(K[ee])||(this.options.removedItemKeys.push(K[ee]),this.options.removedItems.push(z[ee]))}_isItemSelectionInProgress(A,K){var ee;return!!(K&&this._lastRequestData&&this._requestInProgress())&&(null!==(ee=this._lastRequestData.addedItems)&&void 0!==ee?ee:[]).includes(A)}_getKeyHash(A){return this.options.equalByReference?A:(0,m.GP)(A)}setSelectedItems(A,K){this._updateAddedItemKeys(A,K);var z=this.options.selectedItemKeys,ee=this.options.selectedItems;this.options.equalByReference||(this._initSelectedItemKeyHash(),this.updateSelectedItemKeyHash(A)),this._setOption("selectedItemKeys",A),this._setOption("selectedItems",K),this._updateRemovedItemKeys(A,z,ee)}isItemDataSelected(A){var K=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},z=this.options.keyOf(A);return this.isItemKeySelected(z,K)}isItemKeySelected(A){var z=this._isItemSelectionInProgress(A,(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkPending);if(!z){var ee=this._getKeyHash(A);z=-1!==this._indexOfSelectedItemKey(ee)}return z}getSelectAllState(A){return A?this._getVisibleSelectAllState():this._getFullSelectAllState()}loadSelectedItemsWithFilter(){var A=this.options.key(),K=this.getSelectedItemKeys(),z=this.options.filter();if(!K.length)return(0,x.cY)().resolve([]);var L=new p.H(K).getCombinedFilter(A,z,!0);return this._loadFilteredData(L)}}var g=a(7951);class U{constructor(A){this.options=(0,g.X)(this._getDefaultOptions(),A,{selectedItemKeys:A.selectedKeys||[]}),this._selectionStrategy=this.options.deferred?new v(this.options):new P(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:m.lQ,key:m.lQ,keyOf:function(A){return A},load:function(){return(new x.cY).resolve([])},totalCount:function(){return-1},isSelectableItem:function(){return!0},isItemSelected:function(){return!1},getItemData:function(A){return A},dataFields:m.lQ,filter:m.lQ}}validate(){this._selectionStrategy.validate()}getSelectedItemKeys(){return this._selectionStrategy.getSelectedItemKeys()}getSelectedItems(){return this._selectionStrategy.getSelectedItems()}selectionFilter(A){if(void 0===A)return this.options.selectionFilter;var K=this.options.selectionFilter!==A&&JSON.stringify(this.options.selectionFilter)!==JSON.stringify(A);this.options.selectionFilter=A,K&&this.onSelectionChanged()}setSelection(A,K){return this.selectedItemKeys(A,!1,!1,!1,K)}select(A){return this.selectedItemKeys(A,!0)}deselect(A){return this.selectedItemKeys(A,!0,!0)}selectedItemKeys(A,K,z,ee,L){var f;return A=null!==(f=A)&&void 0!==f?f:[],A=Array.isArray(A)?A:[A],this.validate(),this._selectionStrategy.selectedItemKeys(A,K,z,ee,L)}clearSelection(){return this.selectedItemKeys([])}_addSelectedItem(A,K){this._selectionStrategy.addSelectedItem(K,A)}_removeSelectedItem(A){this._selectionStrategy.removeSelectedItem(A)}_setSelectedItems(A,K){this._selectionStrategy.setSelectedItems(A,K)}onSelectionChanged(){this._selectionStrategy.onSelectionChanged()}changeItemSelection(A,K,z){var ee,L,f,S,J,D=this.options.plainItems(),R=D[A],j=this.options.isVirtualPaging,fe=null===(ee=(L=this.options).allowLoadByRange)||void 0===ee?void 0:ee.call(L),H=this.options.alwaysSelectByShift,Y=!1,W=!1,re=ce=>ce>=0&&!D.filter(_e=>_e.loadIndex===ce).length;if(j&&(0,t.O9)(R)&&(fe&&(J=R.loadIndex-A,A=R.loadIndex),Y=re(this._focusedItemIndex),(0,t.O9)(this._shiftFocusedItemIndex)&&(W=re(this._shiftFocusedItemIndex))),!this.isSelectable()||!this.isDataItem(R))return!1;var le=this.options.getItemData(R),Re=this.options.keyOf(le),Be=(K=K||{}).shift;if(!1===H&&Be&&(Be=!1!==fe||!Y&&!W),Be&&"multiple"===this.options.mode&&this._focusedItemIndex>=0)fe&&(Y||W)?(f=A!==this._shiftFocusedItemIndex||this._focusedItemIndex!==this._shiftFocusedItemIndex)&&(S=this.changeItemSelectionWhenShiftKeyInVirtualPaging(A)):f=this.changeItemSelectionWhenShiftKeyPressed(A,D,J);else if(K.control){if(this._resetItemSelectionWhenShiftKeyPressed(),!z){var Fe=this._selectionStrategy.isItemDataSelected(le);"single"===this.options.mode&&this.clearSelectedItems(),Fe?this._removeSelectedItem(Re):this._addSelectedItem(le,Re)}f=!0}else{this._resetItemSelectionWhenShiftKeyPressed();var ue=this._selectionStrategy.equalKeys(this.options.selectedItemKeys[0],Re);(1!==this.options.selectedItemKeys.length||!ue)&&(this._setSelectedItems([Re],[le]),f=!0)}return f?((0,x.z7)(S).done(()=>{this._focusedItemIndex=A,!z&&this.onSelectionChanged()}),!0):void 0}isDataItem(A){return this.options.isSelectableItem(A)}isSelectable(){return"single"===this.options.mode||"multiple"===this.options.mode}isItemDataSelected(A){return this._selectionStrategy.isItemDataSelected(A,{checkPending:!0})}isItemSelected(A,K){return this._selectionStrategy.isItemKeySelected(A,K)}_resetItemSelectionWhenShiftKeyPressed(){delete this._shiftFocusedItemIndex}_resetFocusedItemIndex(){this._focusedItemIndex=-1}changeItemSelectionWhenShiftKeyInVirtualPaging(A){var K=this.options.getLoadOptions(A,this._focusedItemIndex,this._shiftFocusedItemIndex),z=new x.cY,ee=K.skip;return this.options.load(K).done(L=>{this.changeItemSelectionWhenShiftKeyPressed(A,L,ee),z.resolve()}),z.promise()}changeItemSelectionWhenShiftKeyPressed(A,K,z){var L,J,Y,re,ee=!1,f=(0,t.O9)(z),D=f?this._focusedItemIndex-z:this._focusedItemIndex,R=this.options.keyOf,S=K[D],j=this.options.getItemData(S),fe=R(j),H=S&&this.isItemDataSelected(j);if((0,t.O9)(this._shiftFocusedItemIndex)||(this._shiftFocusedItemIndex=this._focusedItemIndex),this._shiftFocusedItemIndex!==this._focusedItemIndex)for(L=this._focusedItemIndex<this._shiftFocusedItemIndex?1:-1,re=f?this._shiftFocusedItemIndex-z:this._shiftFocusedItemIndex,D=f?this._focusedItemIndex-z:this._focusedItemIndex;D!==re;D+=L)(f||this.isDataItem(K[D]))&&(Y=R(this.options.getItemData(K[D])),this._removeSelectedItem(Y),ee=!0);if(A!==this._shiftFocusedItemIndex)for(L=A<this._shiftFocusedItemIndex?1:-1,re=f?this._shiftFocusedItemIndex-z:this._shiftFocusedItemIndex,D=f?A-z:A;D!==re;D+=L)(f||this.isDataItem(K[D]))&&(Y=R(J=this.options.getItemData(K[D])),this._addSelectedItem(J,Y),ee=!0);return(f||this.isDataItem(S))&&!H&&(this._addSelectedItem(j,fe),ee=!0),ee}clearSelectedItems(){this._setSelectedItems([],[])}selectAll(A){return this._resetFocusedItemIndex(),A?this._onePageSelectAll(!1):this.selectedItemKeys([],!0,!1,!0)}deselectAll(A){return this._resetFocusedItemIndex(),A?this._onePageSelectAll(!0):this.selectedItemKeys([],!0,!0,!0)}_onePageSelectAll(A){for(var K=this._selectionStrategy.getSelectableItems(this.options.plainItems()),z=0;z<K.length;z++){var ee=K[z];
1if(this.isDataItem(ee)){var L=this.options.getItemData(ee),f=this.options.keyOf(L),D=this.isItemSelected(f);!D&&!A&&this._addSelectedItem(L,f),D&&A&&this._removeSelectedItem(f)}}return this.onSelectionChanged(),(new x.cY).resolve()}getSelectAllState(A){return this._selectionStrategy.getSelectAllState(A)}loadSelectedItemsWithFilter(){return this._selectionStrategy.loadSelectedItemsWithFilter()}}},5788:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=a(2463);const m={_getSpecificDataSourceOption:function(){var x=this.option("dataSource"),_=!1,b={};return this._getGroupedOption()&&(x=>Array.isArray(x)&&x.every(_=>2===Object.keys(_).length&&"key"in _&&"items"in _&&Array.isArray(_.items)))(x)&&(b=x.reduce((v,M)=>{var N=M.items.map(p=>((0,t.Gv)(p)||(p={text:p},_=!0),"key"in p||(p.key=M.key),p));return v.concat(N)},[]),x={store:{type:"array",data:b},group:{selector:"key",keepInitialKeyOrder:!0}},_&&(x.searchExpr="text")),x}}},400:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Zt});var _e,ne,t=a(3930),c=a(2824),m=a(4905),x=a(181),_=a(4292),b=a(2984),v=a(7951),M=a(448),N=a(186),p=a(4435),P=a(1269),g=a(8168),U=a(4441),G=a(7669),A=a(8365),K=a(7465),z=a(5042),ee=a(8745),L=a(370),f=a(2463),D=a(3558),R=a(9393),S=a(4159),j=a(9104),fe=a(9639),H=(0,p.zk)(),Y="dxDraggable",W=(0,j.b4)(R.ni,Y),re=(0,j.b4)(R.Cy,Y),le=(0,j.b4)(R._N,Y),Re=(0,j.b4)(R.Ve,Y),Be=(0,j.b4)(R.qG,Y),Fe=(0,j.b4)(S.A.down,Y),ue=(0,j.b4)("keydown",Y),ve=ct=>({x:ct.pageX-(0,_.A)(H).scrollLeft(),y:ct.pageY-(0,_.A)(H).scrollTop()});class De{constructor(rt,Ae){this._$scrollableAtPointer=null,this._preventScroll=!0,this._component=Ae,"vertical"===rt?(this._scrollValue="scrollTop",this._overFlowAttr="overflowY",this._sizeAttr="height",this._scrollSizeProp="scrollHeight",this._clientSizeProp="clientHeight",this._limitProps={start:"top",end:"bottom"}):(this._scrollValue="scrollLeft",this._overFlowAttr="overflowX",this._sizeAttr="width",this._scrollSizeProp="scrollWidth",this._clientSizeProp="clientWidth",this._limitProps={start:"left",end:"right"})}updateScrollable(rt,Ae){var Ke=!1;rt.some(vt=>{var Wt=(0,_.A)(vt),ze=Wt.hasClass("dx-overlay-wrapper"),pt=Wt.hasClass("dx-overlay-content");return!(!ze&&!pt)||(Ke=this._trySetScrollable(vt,Ae))}),Ke||(this._$scrollableAtPointer=null,this._scrollSpeed=0)}isScrolling(){return!!this._scrollSpeed}isScrollable(rt){return("auto"===rt.css(this._overFlowAttr)||rt.hasClass("dx-scrollable-container"))&&rt.prop(this._scrollSizeProp)>Math.ceil("width"===this._sizeAttr?(0,N.RG)(rt):(0,N.Oq)(rt))}_trySetScrollable(rt,Ae){var vt,Ke=(0,_.A)(rt),Wt=this._component.option("scrollSensitivity"),ze=this.isScrollable(Ke);return ze&&(Wt>(vt=this._calculateDistanceToBorders(Ke,Ae))[this._limitProps.start]?this._preventScroll||(this._scrollSpeed=-this._calculateScrollSpeed(vt[this._limitProps.start]),this._$scrollableAtPointer=Ke):Wt>vt[this._limitProps.end]?this._preventScroll||(this._scrollSpeed=this._calculateScrollSpeed(vt[this._limitProps.end]),this._$scrollableAtPointer=Ke):(ze=!1,this._preventScroll=!1)),ze}_calculateDistanceToBorders(rt,Ae){var vt,Ke=rt.get(0);return Ke?(vt=(0,M.N)(Ke),{left:Ae.x-vt.left,top:Ae.y-vt.top,right:vt.right-Ae.x,bottom:vt.bottom-Ae.y}):{}}_calculateScrollSpeed(rt){var Ae=this._component,Ke=Ae.option("scrollSensitivity"),vt=Ae.option("scrollSpeed");return Math.ceil(((Ke-rt)/Ke)**2*vt)}scrollByStep(){if(this._$scrollableAtPointer&&this._scrollSpeed){if(this._$scrollableAtPointer.hasClass("dx-scrollable-container")){var rt=this._$scrollableAtPointer.closest(".dx-scrollable"),Ae=rt.data("dxScrollable")||rt.data("dxScrollView");if(Ae){var Ke=Ae.scrollOffset()[this._limitProps.start]+this._scrollSpeed;Ae.scrollTo({[this._limitProps.start]:Ke})}}else{var vt=this._$scrollableAtPointer[this._scrollValue]()+this._scrollSpeed;this._$scrollableAtPointer[this._scrollValue](vt)}var Wt=this._component._dragMoveArgs;Wt&&this._component._dragMoveHandler(Wt)}}reset(){this._$scrollableAtPointer=null,this._scrollSpeed=0,this._preventScroll=!0}isOutsideScrollable(rt,Ae){if(!rt)return!1;var Ke=(0,M.N)(rt.get(0)),vt=Ke[this._limitProps.start],Wt=Ke[this._sizeAttr],ze=ve(Ae),pt="width"===this._sizeAttr?ze.x:ze.y;return pt<vt||pt>vt+Wt}}var et=fe.A.inherit({ctor(ct){this.callBase(),this._strategy=ct},_step(){var ct=this._strategy._horizontalScrollHelper,rt=this._strategy._verticalScrollHelper;ct&&ct.scrollByStep(),rt&&rt.scrollByStep()}}),yt=A.A.inherit({reset:z.lQ,dragMove:z.lQ,dragEnter:z.lQ,dragLeave:z.lQ,dragEnd(ct){return this._getSourceDraggable()._fireRemoveEvent(ct),(0,b.cY)().resolve()},_fireRemoveEvent:z.lQ,_getDefaultOptions(){return(0,v.X)(this.callBase(),{onDragStart:null,onDragMove:null,onDragEnd:null,onDragEnter:null,onDragLeave:null,onDrag
1Cancel:null,onCancelByEsc:!1,onDrop:null,immediate:!0,dragDirection:"both",boundary:void 0,boundOffset:0,allowMoveByClick:!1,itemData:null,container:void 0,dragTemplate:void 0,contentTemplate:"content",handle:"",filter:"",clone:!1,autoScroll:!0,scrollSpeed:30,scrollSensitivity:60,group:void 0,data:void 0})},_setOptionsByReference(){this.callBase.apply(this,arguments),(0,v.X)(this._optionsByReference,{component:!0,group:!0,itemData:!0,data:!0})},_init(){this.callBase(),this._attachEventHandlers(),this._scrollAnimator=new et(this),this._horizontalScrollHelper=new De("horizontal",this),this._verticalScrollHelper=new De("vertical",this),this._initScrollTop=0,this._initScrollLeft=0},_normalizeCursorOffset:ct=>((0,f.Gv)(ct)&&(ct={h:ct.x,v:ct.y}),{left:(ct=(0,z.T6)(ct).map(rt=>parseFloat(rt)))[0],top:1===ct.length?ct[0]:ct[1]}),_getNormalizedCursorOffset(ct,rt){return(0,f.Tn)(ct)&&(ct=ct.call(this,rt)),this._normalizeCursorOffset(ct)},_calculateElementOffset(ct){var rt,Ae,{event:Ke}=ct,vt=(0,_.A)(ct.itemElement),Wt=(0,_.A)(ct.dragElement),ze=this._dragElementIsCloned(),pt=this.option("cursorOffset"),Ze={left:0,top:0},X=this._initialLocate=(0,c.x5)(Wt);return(ze||ct.initialOffset||pt)&&(rt=ct.initialOffset||vt.offset(),pt&&(Ze=this._getNormalizedCursorOffset(pt,ct),isFinite(Ze.left)&&(rt.left=Ke.pageX),isFinite(Ze.top)&&(rt.top=Ke.pageY)),Ae=Wt.offset(),rt.top-=Ae.top+(Ze.top||0)-X.top,rt.left-=Ae.left+(Ze.left||0)-X.left),rt},_initPosition(ct){var rt=(0,_.A)(ct.dragElement),Ae=this._calculateElementOffset(ct);Ae&&this._move(Ae,rt),this._startPosition=(0,c.x5)(rt)},_startAnimator(){this._scrollAnimator.inProgress()||this._scrollAnimator.start()},_stopAnimator(){this._scrollAnimator.stop()},_addWidgetPrefix(ct){return(0,ee._k)(this.NAME)+(ct?"-".concat(ct):"")},_getItemsSelector(){return this.option("filter")||""},_$content(){var ct=this.$element(),rt=ct.children(".dx-template-wrapper");return rt.length?rt:ct},_attachEventHandlers(){if(!this.option("disabled")){var ct=this._$content(),rt=this._getItemsSelector(),Ae=this.option("allowMoveByClick"),Ke={direction:this.option("dragDirection"),immediate:this.option("immediate"),checkDropTarget:(vt,Wt)=>{var ze=this.option("group"),pt=this._getSourceDraggable().option("group"),Ze=this._getScrollable(vt);return!this._verticalScrollHelper.isOutsideScrollable(Ze,Wt)&&!this._horizontalScrollHelper.isOutsideScrollable(Ze,Wt)&&pt&&pt===ze}};Ae&&(ct=this._getArea(),P.A.on(ct,Fe,Ke,this._pointerDownHandler.bind(this))),">"===rt[0]&&(rt=rt.slice(1)),P.A.on(ct,W,rt,Ke,this._dragStartHandler.bind(this)),P.A.on(ct,re,Ke,this._dragMoveHandler.bind(this)),P.A.on(ct,le,Ke,this._dragEndHandler.bind(this)),P.A.on(ct,Re,Ke,this._dragEnterHandler.bind(this)),P.A.on(ct,Be,Ke,this._dragLeaveHandler.bind(this)),this.option("onCancelByEsc")&&P.A.on(ct,ue,this._keydownHandler.bind(this))}},_dragElementIsCloned(){return this._$dragElement&&this._$dragElement.hasClass(this._addWidgetPrefix("clone"))},_getDragTemplateArgs(ct,rt){return{container:(0,x.c)(rt),model:{itemData:this.option("itemData"),itemElement:(0,x.c)(ct)}}},_createDragElement(ct){var rt=ct,Ae=this.option("clone"),Ke=this._getContainer(),vt=this.option("dragTemplate");return vt?(vt=this._getTemplate(vt),rt=(0,_.A)("<div>").appendTo(Ke),vt.render(this._getDragTemplateArgs(ct,rt))):Ae&&(rt=(0,_.A)("<div>").appendTo(Ke),ct.clone().css({width:ct.css("width"),height:ct.css("height")}).appendTo(rt)),rt.toggleClass(this._addWidgetPrefix("clone"),rt.get(0)!==ct.get(0)).toggleClass("dx-rtl",this.option("rtlEnabled"))},_resetDragElement(){this._dragElementIsCloned()?this._$dragElement.remove():this._toggleDraggingClass(!1),this._$dragElement=null},_resetSourceElement(){this._toggleDragSourceClass(!1),this._$sourceElement=null},_detachEventHandlers(){P.A.off(this._$content(),".".concat(Y)),P.A.off(this._getArea(),".".concat(Y))},_move(ct,rt){(0,c.Cy)(rt||this._$dragElement,ct)},_getDraggableElement(ct){var rt=this._getSourceElement();if(rt)return rt;if(this.option("allowMoveByClick"))return this.$element();var Ke=(0,_.A)(ct&&ct.target),vt=this._getItemsSelector();if(">"===vt[0]){var Wt=this._$content().find(vt);Wt.is(Ke)||(Ke=Ke.closest(Wt))}return Ke},_getSourceElement(){return this._getSourceDraggable()._$sourceElement},_pointerDownHandler(ct){if(!(0,j.eT)(ct)){var rt={},Ae=this.$element(),Ke=this.option("dragDirection");("horizontal"===Ke||"both"===Ke)&&(rt.left=ct.pageX-Ae.offset().left+(0,c.x5)(Ae).left-(0,N.RG)(Ae)/2),("vertical"===Ke||"both"===Ke)&&(rt.top=ct.pageY-Ae.offset().top+(0,c.x5)(Ae).top-(0,N.Oq)(Ae)/2),this._move(rt,Ae),this._getAction("onDragMove")(this._getEventArgs(ct))}},_isValidElement(ct,rt){var Ae=this.option("handle"),Ke=(0,_.A)(ct.originalEvent&&ct.originalEvent.target);return!(Ae&&!Ke.closest(Ae).length||!rt.length||rt.is(".dx-state-disabled, .dx-state-disabled *"))},_dragStartHandler(ct){var rt=this._getDraggableElement(ct);if(this.dragInProgress=!0,this._isValidElement(ct,rt)){if(!this._$sourceElement){var Ae=this._getDragStartArgs(ct,rt);if(this._getAction("onDragStart")(Ae),Ae.cancel)return void(ct.cancel=!0);this.option("itemData",Ae.itemData),this._setSourceDraggable(),this._$sourceElement=rt;var Ke=rt.offset();!this._hasClonedDraggable()&&this.option("autoScroll")&&(this._initScrollTop=this._getScrollableScrollTop(),this._initScrollLeft=this._getScrollableScrollLeft(),Ke=this._getDraggableElementOffset(Ke.left,Ke.top));var vt=this._$dragElement=this._createDragElement(rt);this._toggleDraggingClass(!0),this._toggleDragSourceClass(!0),this._setGestureCoverCurs
1or(vt.children());var Wt="fixed"===vt.css("position");this._initPosition((0,v.X)({},Ae,{dragElement:vt.get(0),initialOffset:Wt&&Ke})),this._getAction("onDraggableElementShown")((0,g.A)((0,g.A)({},Ae),{dragElement:vt}));var ze=this._getArea(),pt=this._getAreaOffset(ze),Ze=this._getBoundOffset(),X=(0,N.Ot)(ze),Ve=(0,N.P$)(ze),st=(0,N.RG)(vt),at=(0,N.Oq)(vt),V=vt.offset().left-pt.left,pe=vt.offset().top-pt.top;ze.length&&(ct.maxLeftOffset=V-Ze.left,ct.maxRightOffset=X-V-st-Ze.right,ct.maxTopOffset=pe-Ze.top,ct.maxBottomOffset=Ve-pe-at-Ze.bottom),this.option("autoScroll")&&this._startAnimator()}}else ct.cancel=!0},_getAreaOffset:ct=>ct&&U.A.offset(ct)||{left:0,top:0},_toggleDraggingClass(ct){this._$dragElement&&this._$dragElement.toggleClass(this._addWidgetPrefix("dragging"),ct)},_toggleDragSourceClass(ct,rt){var Ae=rt||this._$sourceElement;Ae&&Ae.toggleClass(this._addWidgetPrefix("source"),ct)},_setGestureCoverCursor(ct){(0,_.A)(".".concat("dx-gesture-cover")).css("cursor",ct.css("cursor"))},_getBoundOffset(){var ct=this.option("boundOffset");return(0,f.Tn)(ct)&&(ct=ct.call(this)),(0,L.oN)(ct)},_getArea(){var ct=this.option("boundary");return(0,f.Tn)(ct)&&(ct=ct.call(this)),(0,_.A)(ct)},_getContainer(){var ct=this.option("container");return void 0===ct&&(ct=(0,D.Uq)()),(0,_.A)(ct)},_getDraggableElementOffset(ct,rt){var Ae,Ke,vt,Wt,ze=this._initScrollTop,pt=this._initScrollLeft,Ze=this._getScrollableScrollTop(),X=this._getScrollableScrollLeft(),Ve=(0,_.A)(this.element()).css("position"),at={left:(null!==(Ke=null===(Ae=this._startPosition)||void 0===Ae?void 0:Ae.left)&&void 0!==Ke?Ke:0)+ct,top:(null!==(Wt=null===(vt=this._startPosition)||void 0===vt?void 0:vt.top)&&void 0!==Wt?Wt:0)+rt};return"fixed"===Ve||this._hasClonedDraggable()?at:{left:(0,f.kf)(X)?at.left+X-pt:at.left,top:(0,f.kf)(Ze)?at.top+Ze-ze:at.top}},_hasClonedDraggable(){return this.option("clone")||this.option("dragTemplate")},_dragMoveHandler(ct){if(this._dragMoveArgs=ct,this._$dragElement){var rt=this._getDraggableElementOffset(ct.offset.x,ct.offset.y);this._move(rt),this._updateScrollable(ct);var Ae=this._getEventArgs(ct);this._getAction("onDragMove")(Ae),!0!==Ae.cancel&&this._getTargetDraggable().dragMove(ct,scrollBy)}else ct.cancel=!0},_updateScrollable(ct){if(this.option("autoScroll")){var rt=ve(ct),Ae=G.A.elementsFromPoint(rt.x,rt.y,this.$element().get(0));this._verticalScrollHelper.updateScrollable(Ae,rt),this._horizontalScrollHelper.updateScrollable(Ae,rt)}},_getScrollable(ct){var rt;return ct.parents().toArray().some(Ae=>{var Ke=(0,_.A)(Ae);return!(!this._horizontalScrollHelper.isScrollable(Ke)&&!this._verticalScrollHelper.isScrollable(Ke)||(rt=Ke,0))}),rt},_getScrollableScrollTop(){var ct,rt;return null!==(rt=null===(ct=this._getScrollable((0,_.A)(this.element())))||void 0===ct?void 0:ct.scrollTop())&&void 0!==rt?rt:0},_getScrollableScrollLeft(){var ct,rt;return null!==(rt=null===(ct=this._getScrollable((0,_.A)(this.element())))||void 0===ct?void 0:ct.scrollLeft())&&void 0!==rt?rt:0},_defaultActionArgs(){var ct=this.callBase.apply(this,arguments),rt=this.option("component");return rt&&(ct.component=rt,ct.element=rt.element()),ct},_getEventArgs(ct){var rt=this._getSourceDraggable(),Ae=this._getTargetDraggable();return{event:ct,itemData:rt.option("itemData"),itemElement:(0,x.c)(rt._$sourceElement),fromComponent:rt.option("component")||rt,toComponent:Ae.option("component")||Ae,fromData:rt.option("data"),toData:Ae.option("data")}},_getDragStartArgs(ct,rt){var Ae=this._getEventArgs(ct);return{event:Ae.event,itemData:Ae.itemData,itemElement:rt,fromData:Ae.fromData}},_revertItemToInitialPosition(){!this._dragElementIsCloned()&&this._move(this._initialLocate,this._$sourceElement)},_dragEndHandler(ct){var rt=(0,b.cY)(),Ae=this._getEventArgs(ct),Ke=this._getEventArgs(ct),vt=this._getTargetDraggable(),Wt=!0;this.dragInProgress=!1;try{this._getAction("onDragEnd")(Ae)}finally{(0,b.z7)((0,b.Sx)(Ae.cancel)).done(ze=>{if(!ze&&(vt!==this&&vt._getAction("onDrop")(Ke),!Ke.cancel))return Wt=!1,void(0,b.z7)((0,b.Sx)(vt.dragEnd(Ae))).always(rt.resolve);rt.resolve()}).fail(rt.resolve),rt.done(()=>{Wt&&this._revertItemToInitialPosition(),this._resetDragOptions(vt)})}},_isTargetOverAnotherDraggable(ct){var rt=this._getSourceDraggable();if(this===rt)return!1;var Ae=rt._$dragElement,Ke=rt.$element(),vt=this.$element(),Wt=ve(ct),pt=G.A.elementsFromPoint(Wt.x,Wt.y,this.element
1()).filter(st=>{var at=(0,_.A)(st);return!!at.hasClass(this._addWidgetPrefix())&&!at.closest(Ae).length})[0],Ze=this._getSourceElement(),X=pt===Ke.get(0),Ve=(0,_.A)(pt).closest(Ze).length;return!pt||pt===vt.get(0)&&!X&&!Ve},_dragEnterHandler(ct){this._fireDragEnterEvent(ct),this._isTargetOverAnotherDraggable(ct)&&this._setTargetDraggable(),this._getSourceDraggable().dragEnter(ct)},_dragLeaveHandler(ct){this._fireDragLeaveEvent(ct),this._resetTargetDraggable(),this!==this._getSourceDraggable()&&this.reset(),this._getSourceDraggable().dragLeave(ct)},_keydownHandler(ct){this.dragInProgress&&"Escape"===ct.key&&this._keydownEscapeHandler(ct)},_keydownEscapeHandler(ct){if(this._getSourceElement()){var Ae=this._getEventArgs(ct);if(this._getAction("onDragCancel")(Ae),!Ae.cancel){this.dragInProgress=!1,ne?._toggleDraggingClass(!1),this._detachEventHandlers(),this._revertItemToInitialPosition();var Ke=this._getTargetDraggable();this._resetDragOptions(Ke),this._attachEventHandlers()}}},_getAction(ct){return this["_".concat(ct,"Action")]||this._createActionByOption(ct)},_getAnonymousTemplateName:()=>"content",_initTemplates(){this.option("contentTemplate")&&(this._templateManager.addDefaultTemplates({content:new K.A}),this.callBase.apply(this,arguments))},_render(){this.callBase(),this.$element().addClass(this._addWidgetPrefix());var ct=this._templateManager.anonymousTemplateName===this.option("contentTemplate"),rt=this._getTemplateByOption("contentTemplate");rt&&(0,_.A)(rt.render({container:this.element(),transclude:ct}))},_optionChanged(ct){var{name:rt}=ct;switch(rt){case"onDragStart":case"onDragMove":case"onDragEnd":case"onDrop":case"onDragEnter":case"onDragLeave":case"onDragCancel":case"onDraggableElementShown":this["_".concat(rt,"Action")]=this._createActionByOption(rt);break;case"dragTemplate":case"contentTemplate":case"container":case"clone":case"scrollSensitivity":case"scrollSpeed":case"boundOffset":case"handle":case"group":case"data":case"itemData":break;case"allowMoveByClick":case"dragDirection":case"disabled":case"boundary":case"filter":case"immediate":this._resetDragElement(),this._detachEventHandlers(),this._attachEventHandlers();break;case"onCancelByEsc":this._keydownHandler();break;case"autoScroll":this._verticalScrollHelper.reset(),this._horizontalScrollHelper.reset();break;default:this.callBase(ct)}},_getTargetDraggable(){return _e||this},_getSourceDraggable(){return ne||this},_setTargetDraggable(){var ct=this.option("group"),rt=this._getSourceDraggable();ct&&ct===rt.option("group")&&(_e=this)},_setSourceDraggable(){ne=this},_resetSourceDraggable(){ne=null},_resetTargetDraggable(){_e=null},_resetDragOptions(ct){this.reset(),ct.reset(),this._stopAnimator(),this._horizontalScrollHelper.reset(),this._verticalScrollHelper.reset(),this._resetDragElement(),this._resetSourceElement(),this._resetTargetDraggable(),this._resetSourceDraggable()},_dispose(){this.callBase(),this._detachEventHandlers(),this._resetDragElement(),this._resetTargetDraggable(),this._resetSourceDraggable(),this._$sourceElement=null,this._stopAnimator()},_fireDragEnterEvent(ct){var rt=this._getEventArgs(ct);this._getAction("onDragEnter")(rt)},_fireDragLeaveEvent(ct){var rt=this._getEventArgs(ct);this._getAction("onDragLeave")(rt)}});(0,m.A)(Y,yt);const dt=yt;var Je=(0,p.zk)(),we="placeholder",He=ct=>(0,_.A)(ct).is(":visible"),Ot=(ct,rt)=>{var Ae,Ke;if(ct){var vt=(null===(Ae=rt.to)||void 0===Ae?void 0:Ae.left)||0,Wt=(null===(Ke=rt.to)||void 0===Ke?void 0:Ke.top)||0;ct.style.transform="translate(".concat(vt,"px,").concat(Wt,"px)"),ct.style.transition=t.A.off?"":"transform ".concat(rt.duration,"ms ").concat(rt.easing)}},It=ct=>{ct&&(ct.style.transform="",ct.style.transition="")},ln=dt.inherit({_init(){this.callBase(),this._sourceScrollHandler=this._handleSourceScroll.bind(this),this._sourceScrollableInfo=null},_getDefaultOptions(){return(0,v.X)(this.callBase(),{clone:!0,filter:"> *",itemOrientation:"vertical",dropFeedbackMode:"push",allowDropInsideItem:!1,allowReordering:!0,moveItemOnDrop:!1,onDragChange:null,onAdd:null,onRemove:null,onReorder:null,onPlaceholderPrepared:null,animation:{type:"slide",duration:300,easing:"ease"},fromIndex:null,toIndex:null,dropInsideItem:!1,itemPoints:null,fromIndexOffset:0,offset:0,autoUpdate:!1,draggableElementSize:0})},reset(){this.option({dropInsideItem:!1,toIndex:null,fromIndex:null,itemPoints:null,fromIndexOffset:0,draggableElementSize:0}),this._$placeholderElement&&this._$placeholderElement.remove(),this._$placeholderElement=null,!this._isIndicateMode()&&this._$modifiedItem&&(this._$modifiedItem.css("marginBottom",this._modifiedItemMargin),this._$modifiedItem=null)},_getPrevVisibleItem:(ct,rt)=>
1ct.slice(0,rt).reverse().filter(He)[0],_dragStartHandler(ct){if(this.callBase.apply(this,arguments),!0!==ct.cancel){var rt=this._getSourceElement();this._updateItemPoints(),this._subscribeToSourceScroll(ct),this.option("fromIndex",this._getElementIndex(rt)),this.option("fromIndexOffset",this.option("offset"))}},_subscribeToSourceScroll(ct){var rt=this._getScrollable((0,_.A)(ct.target));rt&&(this._sourceScrollableInfo={element:rt,scrollLeft:rt.scrollLeft(),scrollTop:rt.scrollTop()},P.A.off(rt,"scroll",this._sourceScrollHandler),P.A.on(rt,"scroll",this._sourceScrollHandler))},_unsubscribeFromSourceScroll(){this._sourceScrollableInfo&&(P.A.off(this._sourceScrollableInfo.element,"scroll",this._sourceScrollHandler),this._sourceScrollableInfo=null)},_handleSourceScroll(ct){var rt=this._sourceScrollableInfo;rt&&["scrollLeft","scrollTop"].forEach(Ae=>{ct.target[Ae]!==rt[Ae]&&(this._correctItemPoints(ct.target[Ae]-rt[Ae]),this._movePlaceholder(),rt[Ae]=ct.target[Ae])})},_dragEnterHandler(ct){if(this.callBase.apply(this,arguments),this!==this._getSourceDraggable()&&(this._subscribeToSourceScroll(ct),this._updateItemPoints(),this.option("fromIndex",-1),!this._isIndicateMode())){var rt=this.option("itemPoints"),Ae=rt[rt.length-1];if(Ae){var Ke=this.$element(),vt=this._getSourceElement(),Wt=this._isVerticalOrientation(),ze=Wt?(0,N.P$)(vt,!0):(0,N.Ot)(vt,!0),pt=Ke.get(0)[Wt?"scrollHeight":"scrollWidth"],Ze=Ke.get(0)[Wt?"scrollTop":"scrollLeft"],X=Wt?"top":"left",Ve=Ae[X],at=Ke.offset()[X]+pt-Ze-Ve;if(at<ze&&Wt){var V=this._getItems(),pe=(0,_.A)(this._getPrevVisibleItem(V));this._$modifiedItem=pe,this._modifiedItemMargin=pe.get(0).style.marginBottom,pe.css("marginBottom",ze-at);var Te=pe.closest(".dx-sortable"),ft=Te.data("dxScrollable")||Te.data("dxScrollView");ft&&ft.update()}}}},_dragLeaveHandler(){this.callBase.apply(this,arguments),this!==this._getSourceDraggable()&&this._unsubscribeFromSourceScroll()},dragEnter(){this!==this._getTargetDraggable()&&this.option("toIndex",-1)},dragLeave(){this!==this._getTargetDraggable()&&this.option("toIndex",this.option("fromIndex"))},_allowDrop(ct){var Ae=this._getTargetDraggable().$element(),Ke=this._getScrollable(Ae);if(Ke){var{left:vt,right:Wt,top:ze,bottom:pt}=function un(ct){var rt=ct.offset(),{style:Ae}=ct[0],Ke=parseFloat(Ae.paddingLeft)||0,vt=parseFloat(Ae.paddingRight)||0,Wt=parseFloat(Ae.paddingTop)||0,ze=ct[0].clientWidth-(Ke+vt),pt=(0,N.Oq)(ct),Ze=rt.left+Ke,X=rt.top+Wt;return{left:Ze,right:Ze+ze,top:X,bottom:X+pt}}(Ke),Ze=this.option("toIndex"),X=this.option("itemPoints"),Ve=X?.filter(at=>at.index===Ze)[0];if(Ve&&void 0!==Ve.top)return this._isVerticalOrientation()?ze<=Math.ceil(Ve.top)&&Math.floor(Ve.top)<=pt:vt<=Math.ceil(Ve.left)&&Math.floor(Ve.left)<=Wt}return!0},dragEnd(ct){this._unsubscribeFromSourceScroll();var pt,Ze,rt=this._getSourceElement(),Ae=this._getSourceDraggable(),Ke=Ae.NAME!==this.NAME,vt=this.option("toIndex"),{event:Wt}=ct,ze=this._allowDrop(Wt);return null!==vt&&vt>=0&&ze&&(Ae!==this&&((pt=this._fireAddEvent(Wt))||(Ze=this._fireRemoveEvent(Wt))),Ke&&(0,c.fw)(rt),this.option("moveItemOnDrop")&&!pt&&this._moveItem(rt,vt,Ze),Ae===this)?this._fireReorderEvent(Wt):(0,b.cY)().resolve()},dragMove(ct){var rt=this.option("itemPoints");if(rt){for(var ze,Ae=this._isVerticalOrientation(),Ke=Ae?"top":"left",vt=Ae?ct.pageY:ct.pageX,Wt=this.option("rtlEnabled"),pt=rt.length-1;pt>=0;pt--){var Ze=rt[pt+1]&&(rt[pt][Ke]+rt[pt+1][Ke])/2;if(!(!Ae&&Wt?vt>Ze:Ze>vt)&&void 0!==Ze)break;ze=rt[pt]}ze&&(this._updatePlaceholderPosition(ct,ze),this._verticalScrollHelper.isScrolling()&&this._isIndicateMode()&&this._movePlaceholder())}},_isIndicateMode(){return"indicate"===this.option("dropFeedbackMode")||this.option("allowDropInsideItem")},_createPlaceholder(){var ct;return this._isIndicateMode()&&(ct=(0,_.A)("<div>").addClass(this._addWidgetPrefix(we)).insertBefore(this._getSourceDraggable()._$dragElement)),this._$placeholderElement=ct,ct},_getItems(){var ct=this._getItemsSelector();return this._$content().find(ct).not(".".concat(this._addWidgetPrefix(we))).not(".".concat(this._addWidgetPrefix("clone"))).toArray()},_allowReordering(){return this._getSourceDraggable()!==this._getTargetDraggable()||this.option("allowReordering")},_isValidPoint(ct,rt,Ae){var Ke=this.option("allowDropInsideItem");return!!(Ae||this._allowReordering()||0===ct&&Ke)&&(!this._isIndicateMode()||-1===rt||ct!==rt&&(Ae||ct!==rt+1))},_getItemPoints(){var rt,Ae,Ke,ct=[],vt=this.option("rtlEnabled"),Wt=this._isVerticalOrientation(),ze=this._getItems(),pt=ze.filter(He),Ze=pt.length,X=this._getDraggableElement(),Ve=pt.indexOf(X.get(0));if(Ze){for(var st=0;st<=Ze;st++){var at=!Wt&&vt^st===Ze,V=Wt&&st===Ze;st<Ze&&(Ae=(rt=(0,_.A)(pt[st])).offset(),Ke=(0,N.Ot)(rt)),ct.push({dropInsideItem:!1,left:Ae.left+(at?Ke:0),top:Ae.top+(V?ct[st-1].height:0),index:st===Ze?ze.length:ze.indexOf(rt.get(0)),$item:rt,width:(0,N.Ot)(rt),height:(0,N.P$)(rt),isValid:this._isValidPoint(st,Ve)})}if(this.option("allowDropInsideItem")){var pe=ct;ct=[];for(var Te=0;Te<pe.length;Te++)ct.push(pe[Te]),pe[Te+1]&&ct.push((0,v.X)({},pe[Te],{dropInsideItem:!0,top:Math.floor((pe[Te].top+pe[Te+1].top)/2),left:Math.floor((pe[Te].left+pe[Te+1].left)/2),isValid:this._isValidPoint(Te,Ve,!0)}))}}else ct.push({dropInsideItem:!1,index:0,isValid:!0});return ct},_updateItemPoints(ct){(ct||this.option("autoUpdate")||!this.option("itemPoints"))&&this.option("itemPoints",this._getItemPoints())},_correctItemPoints(ct){var rt=this.option("itemPoints");if(ct&&rt&&!this.option("autoUpdate")){var Ke=this._isVerticalOrientation()?"top":"left";rt.forEach(vt=>{vt[Ke]-=ct})}},_getElementIndex(ct){return this._getItems().indexOf(ct.get(0))},_getDragTemplateArgs(ct){var rt=this.callBase.apply(this,arguments);return rt.model.fromIndex=this._getElementIndex(ct),rt},_togglePlaceholder(ct){this._$placeholderElement&&this._$placeholderElement.toggle(ct)},_isVerticalOrientation(){return"vertical"===this.option("itemOrientation")},_normalizeToIndex(ct,rt){var Ae=this._getSourceDraggable()!==this._getTargetDraggable(),Ke=this._getActualFromIndex();return null===ct?Ke:Math.max(Ae||Ke>=ct||rt?ct:ct-1,0)},_updatePlaceholderPosition(ct,rt){var Ae=this._getSourceDraggable(),Ke=this._normalizeToIndex(rt.index,rt.dropInsideItem),vt=(0,v.X)(this._getEventArgs(ct),{toIndex:Ke,dropInsideItem:rt.dropInsideItem});rt.isValid&&this._getAction("onDragChange")(vt),!vt.cancel&&rt.isValid?(this.option({dropInsideItem:rt.dropInsideItem,toIndex:rt.index}),this._getAction("onPlaceholderPrepared")((0,v.X)(this._getEventArgs(ct),{placeholderElement:(0,x.c)(this._$placeholderElement),dragElement:(0,x.c)(Ae._$dragElement)})),this._updateItemPoints()):rt.isValid||this.option({dropInsideItem:!1,toIndex:null})},_makeWidthCorrection(ct,rt){if(this._$scrollable=this._getScrollable(ct),this._$scrollable){var Ae=(0,N.RG)(this._$scrollable),Ke=this._$scrollable.offset().left-ct.offset().left,vt=(0,N.Ot)(ct)-Ke-Ae;Ke>0&&(rt-=Ke),vt>0&&(rt-=vt)}return rt},_updatePlaceholderSizes(ct,rt){var Ae=this.option("dropInsideItem"),Ke=(0,_.A)(rt),vt=this._isVerticalOrientation(),Wt="",ze="";ct.toggleClass(this._addWidgetPrefix("placeholder-inside"),Ae),(vt||Ae)&&(Wt=(0,N.Ot)(Ke)),(!vt||Ae)&&(ze=(0,N.P$)(Ke)),Wt=this._makeWidthCorrection(Ke,Wt),ct.css({width:Wt,height:ze})},_moveItem(ct,rt,Ae){var Ke,vt=this._getItems(),Wt=vt[rt],ze=this._getSourceDraggable();Ae&&(ct=ct.clone(),ze._toggleDragSourceClass(!1,ct)),Wt||(Ke=vt[rt-1]),this._moveItemCore(ct,Wt,Ke)},_moveItemCore(ct,rt,Ae){rt||Ae?Ae?ct.insertAfter((0,_.A)(Ae)):ct.insertBefore((0,_.A)(rt)):ct.appendTo(this.$element())},_getDragStartArgs(ct,rt){return(0,v.X)(this.callBase.apply(this,arguments),{fromIndex:this._getElementIndex(rt)})},_getEventArgs(ct){var rt=this._getSourceDraggable(),Ae=this._getTargetDraggable(),Ke=Ae.option("dropInsideItem");return(0,v.X)(this.callBase.apply(this,arguments),{fromIndex:rt.option("fromIndex"),toIndex:this._normalizeToIndex(Ae.option("toIndex"),Ke),dropInsideItem:Ke})},_optionChanged(ct){var{name:rt}=ct;
1switch(rt){case"onDragChange":case"onPlaceholderPrepared":case"onAdd":case"onRemove":case"onReorder":this["_".concat(rt,"Action")]=this._createActionByOption(rt);break;case"itemOrientation":case"allowDropInsideItem":case"moveItemOnDrop":case"dropFeedbackMode":case"itemPoints":case"animation":case"allowReordering":case"fromIndexOffset":case"offset":case"draggableElementSize":case"autoUpdate":break;case"fromIndex":[!1,!0].forEach(Ae=>{var Ke=Ae?ct.value:ct.previousValue;if(null!==Ke){var vt=(0,_.A)(this._getItems()[Ke]);this._toggleDragSourceClass(Ae,vt)}});break;case"dropInsideItem":this._optionChangedDropInsideItem(ct);break;case"toIndex":this._optionChangedToIndex(ct);break;default:this.callBase(ct)}},_optionChangedDropInsideItem(){this._isIndicateMode()&&this._$placeholderElement&&this._movePlaceholder()},_isPositionVisible(ct){var Ae,rt=this.$element();if("hidden"!==rt.css("overflow")?Ae=rt.get(0):rt.parents().each(function(){if("visible"!==(0,_.A)(this).css("overflow"))return Ae=this,!1}),Ae){var Ke=(0,M.N)(Ae),vt=this._isVerticalOrientation(),Wt=vt?"top":"left",pt=vt?Je.pageYOffset:Je.pageXOffset;if(ct[Wt]<Ke[Wt]+pt||ct[Wt]>Ke[vt?"bottom":"right"]+pt)return!1}return!0},_optionChangedToIndex(ct){var rt=ct.value;if(this._isIndicateMode()){var Ae=null!==rt&&rt>=0;this._togglePlaceholder(Ae),Ae&&this._movePlaceholder()}else this._moveItems(ct.previousValue,ct.value,ct.fullUpdate)},update(){if(null!==this.option("fromIndex")||null!==this.option("toIndex")){this._updateItemPoints(!0),this._updateDragSourceClass();var ct=this.option("toIndex");this._optionChangedToIndex({value:ct,fullUpdate:!0})}},_updateDragSourceClass(){var ct=this._getActualFromIndex(),rt=(0,_.A)(this._getItems()[ct]);rt.length&&(this._$sourceElement=rt,this._toggleDragSourceClass(!0,rt))},_makeLeftCorrection(ct){var rt=this._$scrollable;if(rt&&this._isVerticalOrientation()){var Ae=rt.offset().left-ct;Ae>0&&(ct+=Ae)}return ct},_movePlaceholder(){var ct=this._$placeholderElement||this._createPlaceholder();if(ct){var rt=this._getItems(),Ae=this.option("toIndex"),Ke=this._isVerticalOrientation(),vt=this.option("rtlEnabled"),Wt=this.option("dropInsideItem"),ze=null,pt=rt[Ae];if(pt){var Ze=(0,_.A)(pt);ze=Ze.offset(),!Ke&&vt&&!Wt&&(ze.left+=(0,N.Ot)(Ze,!0))}else{var X=pt=this._getPrevVisibleItem(rt,Ae);X&&(ze=(0,_.A)(X).offset(),Ke?ze.top+=(0,N.P$)(X,!0):vt||(ze.left+=(0,N.Ot)(X,!0)))}if(this._updatePlaceholderSizes(ct,pt),ze&&!this._isPositionVisible(ze)&&(ze=null),ze){var Ve=Ke&&Ae===rt.length,st=(0,N.P$)(ct);ze.left=this._makeLeftCorrection(ze.left),ze.top=Ve&&ze.top>=st?ze.top-st:ze.top,this._move(ze,ct)}ct.toggle(!!ze)}},_getPositions(ct,rt,Ae,Ke){for(var vt=[],Wt=0;Wt<ct.length;Wt++){var ze=0;null!==Ke&&null!==Ae?(-1===Ae?Wt>=Ke&&(ze=rt):-1===Ke?Wt>Ae&&(ze=-rt):Ae<Ke?Wt>Ae&&Wt<Ke&&(ze=-rt):Ae>Ke&&Wt>=Ke&&Wt<Ae&&(ze=rt),vt.push(ze)):vt.push(ze)}return vt},_getDraggableElementSize(ct){var rt=this._getDraggableElement(),Ae=this.option("draggableElementSize");return Ae||(Ae=ct?((0,N.P$)(rt)+(0,N.P$)(rt,!0))/2:((0,N.Ot)(rt)+(0,N.Ot)(rt,!0))/2,this.option("autoUpdate")||this.option("draggableElementSize",Ae)),Ae},_getActualFromIndex(){var{fromIndex:ct,fromIndexOffset:rt,offset:Ae}=this.option();return null==ct?null:ct+rt-Ae},_moveItems(ct,rt,Ae){for(var Ke=this._getActualFromIndex(),vt=this._isVerticalOrientation(),Wt=vt?"top":"left",ze=this._getDraggableElementSize(vt),pt=this._getItems(),Ze=this._getPositions(pt,ze,Ke,ct),X=this._getPositions(pt,ze,Ke,rt),Ve=this.option("animation"),st=this.option("rtlEnabled"),at=0;at<pt.length;at++){var V=pt[at],pe=Ze[at],Te=X[at];null===rt||null===Ke?It(V):(pe!==Te||Ae&&Te)&&Ot(V,(0,v.X)({},Ve,{to:{[Wt]:!vt&&st?-Te:Te}}))}},_toggleDragSourceClass(ct,rt){var Ae=rt||this._$sourceElement;this.callBase.apply(this,arguments),this._isIndicateMode()||Ae&&Ae.toggleClass(this._addWidgetPrefix("source-hidden"),ct)},_dispose(){this.reset(),this.callBase()},_fireAddEvent(ct){var rt=this._getEventArgs(ct);return this._getAction("onAdd")(rt),rt.cancel},_fireRemoveEvent(ct){var rt=this._getSourceDraggable(),Ae=this._getEventArgs(ct);return rt._getAction("onRemove")(Ae),Ae.cancel},_fireReorderEvent(ct){var rt=this._getEventArgs(ct);return this._getAction("onReorder")(rt),rt.promise||(0,b.cY)().resolve()}});(0,m.A)("dxSortable",ln);const Zt=ln},2934:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>K});var t=a(4292),c=a(4435),m=a(7951),x=a(4905),_=a(5681),b=a(9104),v=a(186),M=(0,c.zk)(),N=["backspace","tab","enter","pageUp","pageDown","end","home","leftArrow","rightArrow","downArrow","upArrow","del"],P="dx-searchbox",G=_.A.inherit({ctor:function(z,ee){ee&&(this._showClearButton=ee.showClearButton),this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return(0,m.X)(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 z=this._getMaxLength();z&&z>0?this._input().attr("maxLength",z):this._input().removeAttr("maxLength")},_renderSearchMode:function(){var z=this._$element;"search"===this.option("mode")?(z.addClass(P),this._renderSearchIcon(),void 0===this._showClearButton&&(this._showClearButton=this.option("showClearButton"),this.option("showClearButton",!0))):(z.removeClass(P),this._$searchIcon&&this._$searchIcon.remove(),this.option("showClearButton",void 0===this._showClearButton?this.option("showClearButton"):this._showClearButton),delete this._showClearButton)},_renderSearchIcon:function(){var z=(0,t.A)("<div>").addClass("dx-icon").addClass("dx-icon-search");z.prependTo(this._input().parent()),this._$searchIcon=z},_getLabelContainerWidth:function(){if(this._$searchIcon){var z=this._input().parent();return(0,v.RG)(z)-this._getLabelBeforeWidth()}return this.callBase()},_getLabelBeforeWidth:function(){var z=this.callBase();return this._$searchIcon&&(z+=(0,v.Ot)(this._$searchIcon)),z},_optionChanged:function(z){switch(z.name){case"maxLength":this._toggleMaxLengthProp();break;case"mode":this.callBase(z),this._updateLabelWidth();break;case"mask":this.callBase(z),this._toggleMaxLengthProp();break;default:this.callBase(z)}
1},_onKeyDownCutOffHandler:function(z){var ee=this._getMaxLength();if(!ee||z.ctrlKey||this._hasSelection())return!0;var L=(0,t.A)(z.target),f=(0,b.YD)(z);return this._cutOffExtraChar(L),L.val().length<ee||N.includes(f)||""!==M.getSelection().toString()},_onChangeCutOffHandler:function(z){var ee=(0,t.A)(z.target);this.option("maxLength")&&this._cutOffExtraChar(ee)},_cutOffExtraChar:function(z){var ee=this._getMaxLength(),L=z.val();ee&&L.length>ee&&z.val(L.substr(0,ee))},_getMaxLength:function(){return this.option("mask")?null:this.option("maxLength")}});(0,x.A)("dxTextBox",G);const K=G},829:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>c});var t=a(4292);class c{constructor(x,_,b){this.instance=null,this.$container=null,this.$placeMarker=null,this.editor=_,this.name=x,this.options=b||{}}_addPlaceMarker(x){this.$placeMarker=(0,t.A)("<div>").appendTo(x)}_addToContainer(x){var{$placeMarker:_,$container:b}=this;_?_.replaceWith(x):x.appendTo(b)}_attachEvents(){throw"Not implemented"}_create(){throw"Not implemented"}_isRendered(){return!!this.instance}_isVisible(){var{editor:x,options:_}=this;return _.visible||!x.option("readOnly")}_isDisabled(){throw"Not implemented"}_shouldRender(){return this._isVisible()&&!this._isRendered()}dispose(){var{instance:x,$placeMarker:_}=this;x&&(x.dispose?x.dispose():x.remove(),this.instance=null),_&&_.remove()}render(){var x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$container;if(this.$container=x,this._isVisible()){var{instance:_,$element:b}=this._create();this.instance=_,this._attachEvents(_,b)}else this._addPlaceMarker(x)}update(){return this._shouldRender()&&this.render(),!!this.instance}}},5681:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>be});var t=a(4905),c=a(4292),m=a(9264),x=a(2101),_=a(9104),b=a(1269),v=a(7951),M=a(1063),N=a(2463),p=a(736),P=a(5042),g=a(370),U=a(9544),G=" ";class A{constructor(w){this._value=G,(0,v.X)(this,w)}next(w){if(!arguments.length)return this._next;this._next=w}_prepareHandlingArgs(w,Oe){var en,Kn,xi;Oe=Oe||{};var Tt=Object.prototype.hasOwnProperty.call(w,"value")?"value":"text";return w[Tt]=null!==(en=Oe.str)&&void 0!==en?en:w[Tt],w.start=null!==(Kn=Oe.start)&&void 0!==Kn?Kn:w.start,w.length=null!==(xi=Oe.length)&&void 0!==xi?xi:w.length,w.index=w.index+1,w}first(w){return w=w||0,this.next().first(w+1)}isAccepted(){return!1}adjustedCaret(w,Oe,en){return Oe?this._adjustedForward(w,0,en):this._adjustedBackward(w,0,en)}_adjustedForward(){}_adjustedBackward(){}isValid(){}reset(){}clear(){}text(){}value(){}rawValue(){}handle(){}}class K extends A{next(){}handle(){return 0}text(){return""}value(){return""}first(){return 0}rawValue(){return""}adjustedCaret(){return 0}isValid(){return!0}}class z extends A{text(){return(this._value!==G?this._value:this.maskChar)+this.next().text()}value(){return this._value+this.next().value()}rawValue(){return this._value+this.next().rawValue()}handle(w){var Oe=Object.prototype.hasOwnProperty.call(w,"value")?w.value:w.text;if(!Oe||!Oe.length||!w.length)return 0;if(w.start)return this.next().handle(this._prepareHandlingArgs(w,{start:w.start-1}));var en=Oe[0],Kn=Oe.substring(1);return this._tryAcceptChar(en,w),this._accepted()?this.next().handle(this._prepareHandlingArgs(w,{str:Kn,length:w.length-1}))+1:this.handle(this._prepareHandlingArgs(w,{str:Kn,length:w.length-1}))}clear(w){this._tryAcceptChar(G,w),this.next().clear(this._prepareHandlingArgs(w))}reset(){this._accepted(!1),this.next().reset()}_tryAcceptChar(w,Oe){if(this._accepted(!1),this._isAllowed(w,Oe)){var en=w===G?this.maskChar:w;Oe.fullText=Oe.fullText.substring(0,Oe.index)+en+Oe.fullText.substring(Oe.index+1),this._accepted(!0),this._value=w}}_accepted(w){if(!arguments.length)return!!this._isAccepted;this._isAccepted=!!w}first(w){return this._value===G?w||0:super.first(w)}_isAllowed(w,Oe){return w===G||this._isValid(w,Oe)}_isValid(w,Oe){var en=this.allowedChars;return en instanceof RegExp?en.test(w):(0,N.Tn)(en)?en(w,Oe.index,Oe.fullText):Array.isArray(en)?en.includes(w):en===w}isAccepted(w){return 0===w?this._accepted():this.next().isAccepted(w-1)}_adjustedForward(w,Oe,en){return Oe>=w?Oe:this.next()._adjustedForward(w,Oe+1,en)||Oe+1}_adjustedBackward(w,Oe){return Oe>=w-1?w:this.next()._adjustedBackward(w,Oe+1)||Oe+1}isValid(w){return this._isValid(this._value,w)&&this.next().isValid(this._prepareHandlingArg
1s(w))}}class ee extends z{value(){return this.next().value()}handle(w){var Oe=Object.prototype.hasOwnProperty.call(w,"value"),en=Oe?w.value:w.text;if(!en.length||!w.length)return 0;if(w.start||Oe)return this.next().handle(this._prepareHandlingArgs(w,{start:w.start&&w.start-1}));var Kn=en[0],xi=en.substring(1);this._tryAcceptChar(Kn);var Tt=this._isAllowed(Kn)?this._prepareHandlingArgs(w,{str:xi,length:w.length-1}):w;return this.next().handle(Tt)+1}clear(w){this._accepted(!1),this.next().clear(this._prepareHandlingArgs(w))}_tryAcceptChar(w){this._accepted(this._isValid(w))}_isValid(w){return w===this.maskChar}first(w){return w=w||0,this.next().first(w+1)}_adjustedForward(w,Oe,en){return Oe>=w&&en===this.maskChar?Oe:w===Oe+1&&this._accepted()?w:this.next()._adjustedForward(w,Oe+1,en)}_adjustedBackward(w,Oe){return Oe>=w-1?0:this.next()._adjustedBackward(w,Oe+1)}isValid(w){return this.next().isValid(this._prepareHandlingArgs(w))}}var L=a(7669),f=a(1299),D=a(3862),R=a(4831),S=a(4159),j=a(829),fe=a(8060),H=S.A.down;class Re extends j.A{_create(){var w=(0,c.A)("<span>").addClass("dx-clear-button-area").append((0,c.A)("<span>").addClass("dx-icon").addClass("dx-icon-clear"));return this._addToContainer(w),this.update(!0),{instance:w,$element:w}}_isVisible(){var{editor:w}=this;return w._isClearButtonVisible()}_attachEvents(w,Oe){var{editor:en}=this,Kn=en.NAME;b.A.on(Oe,(0,_.b4)(H,Kn),xi=>{xi.preventDefault(),"mouse"!==xi.pointerType&&en._clearValueHandler(xi)}),b.A.on(Oe,(0,_.b4)(fe.U,Kn),xi=>en._clearValueHandler(xi))}_legacyRender(w,Oe){w.toggleClass("dx-show-clear-button",Oe)}update(){!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])&&super.update();var{editor:Oe,instance:en}=this,Kn=Oe.$element(),xi=this._isVisible();en&&en.toggleClass("dx-state-invisible",!xi),this._legacyRender(Kn,xi)}}var Be=a(2839),Fe=a(4017),ue="dx-custom-button-hovered";class ce extends j.A{_attachEvents(w,Oe){var{editor:en}=this;b.A.on(Oe,Fe.n,()=>{en.$element().addClass(ue)}),b.A.on(Oe,Fe._,()=>{en.$element().removeClass(ue)}),b.A.on(Oe,fe.U,Kn=>{Kn.stopPropagation()})}_create(){var{editor:w}=this,Oe=(0,c.A)("<div>");return this._addToContainer(Oe),{$element:Oe,instance:w._createComponent(Oe,Be.A,(0,v.X)({},this.options,{ignoreParentReadOnly:!0,disabled:this._isDisabled(),integrationOptions:this._prepareIntegrationOptions(w)}))}}_prepareIntegrationOptions(w){return(0,v.X)({},w.option("integrationOptions"),{skipTemplates:["content"]})}update(){var w=super.update();return this.instance&&this.instance.option("disabled",this._isDisabled()),w}_isVisible(){var{editor:w}=this;return w.option("visible")}_isDisabled(){return void 0!==this.options.disabled?this.instance?this.instance.option("disabled"):this.options.disabled:this.editor.option("readOnly")}}var _e=a(7310);function ve(h,w){if(-1!==h.indexOf(w))throw _e.A.Error("E1055",w);h.push(w)}class Ne{constructor(w,Oe){this.buttons=[],this.defaultButtonsInfo=Oe,this.editor=w}_compileButtonInfo(w){var Oe=[];return w.map(en=>{var Kn="string"==typeof en;Kn||function Z(h){(()=>{if(!h||"object"!=typeof h||Array.isArray(h))throw _e.A.Error("E1053")})(),(()=>{if(!("name"in h))throw _e.A.Error("E1054")})(),(()=>{var{name:w}=h;if("string"!=typeof w)throw _e.A.Error("E1055")})(),(()=>{var{location:w}=h;"location"in h&&"after"!==w&&"before"!==w&&(h.location="after")})()}(en);var xi=Kn||function ke(h,w){return!!w.find(Oe=>Oe.name===h)}(en.name,this.defaultButtonsInfo);if(xi){var Tt=this.defaultButtonsInfo.find(kt=>{var{name:xn}=kt;return xn===en||xn===en.name});if(!Tt)throw _e.A.Error("E1056",this.editor.NAME,en);return ve(Oe,en),Tt}var{name:Qt}=en;return ve(Oe,Qt),(0,v.X)(en,{Ctor:ce})})}_createButton(w){var{Ctor:Oe,options:en,name:Kn}=w,xi=new Oe(Kn,this.editor,en);return this.buttons.push(xi),xi}_renderButtons(w,Oe,en){var Kn=null;return(w?this._compileButtonInfo(w):this.defaultButtonsInfo).forEach(Tt=>{var{location:Qt="after"}=Tt;Qt===en&&this._createButton(Tt).render((Kn=Kn||(0,c.A)("<div>").addClass("dx-texteditor-buttons-container"),"before"===en?Oe.prepend(Kn):Oe.append(Kn),Kn))}),Kn}clean(){this.buttons.forEach(w=>w.dispose()),this.buttons=[]}getButton(w){var Oe=this.buttons.find(en=>{var{name:Kn}=en;return Kn===w});return Oe&&Oe.instance}renderAfterButtons(w,Oe){return this._renderButtons(w,Oe,"after")}renderBeforeButtons(w,Oe){return this._renderButtons(w,Oe,"before")}updateButtons(w){this.buttons.forEach(Oe=>
1{(!w||-1!==w.indexOf(Oe.name))&&Oe.update()})}}var Ie=a(3771),De=a(2984),et=a(1100),yt=a(3992),dt=a(5424),Je=a(4435),Ce=a(186),we="dx-texteditor-label",Ee="dx-texteditor-with-label",He="dx-texteditor-label-outside",Ot="dx-texteditor-with-floating-label",It="dx-texteditor-with-before-buttons",ct=a(7558),Ke="dx-texteditor-input",vt="."+Ke,pt="dx-placeholder",st="dx-validation-pending",V=["KeyDown","KeyPress","KeyUp","Change","Cut","Copy","Paste","Input"],pe=["tab","enter","shift","control","alt","escape","pageUp","pageDown","end","home","leftArrow","upArrow","rightArrow","downArrow"],Te=class Zt{constructor(w){this.NAME="dxLabel",this._props=w,this._id="".concat(we,"-").concat(new yt.A),this._render(),this._toggleMarkupVisibility()}_isVisible(){return!!this._props.text&&"hidden"!==this._props.mode}_render(){this._$before=(0,c.A)("<div>").addClass("dx-label-before"),this._$labelSpan=(0,c.A)("<span>"),this._$label=(0,c.A)("<div>").addClass("dx-label").append(this._$labelSpan),this._$after=(0,c.A)("<div>").addClass("dx-label-after"),this._$root=(0,c.A)("<div>").addClass(we).attr("id",this._id).append(this._$before).append(this._$label).append(this._$after),this._updateMark(),this._updateText(),this._updateBeforeWidth(),this._updateMaxWidth()}_toggleMarkupVisibility(){var w=this._isVisible();this._updateEditorBeforeButtonsClass(w),this._updateEditorLabelClass(w),w?this._$root.appendTo(this._props.$editor):this._$root.detach(),this._attachEvents()}_attachEvents(){var w=(0,_.b4)(fe.U,this.NAME),Oe=(0,_.b4)(Fe.n,this.NAME),en=(0,_.b4)(dt.vu,this.NAME);b.A.off(this._$labelSpan,w),b.A.off(this._$labelSpan,Oe),b.A.off(this._$labelSpan,en),this._isVisible()&&this._isOutsideMode()&&(b.A.on(this._$labelSpan,w,Kn=>{""===(0,Je.zk)().getSelection().toString()&&(this._props.onClickHandler(),Kn.preventDefault())}),b.A.on(this._$labelSpan,Oe,Kn=>{this._props.onHoverHandler(Kn)}),b.A.on(this._$labelSpan,en,Kn=>{this._props.onActiveHandler(Kn)}))}_updateEditorLabelClass(w){this._props.$editor.removeClass(Ot).removeClass(He).removeClass(Ee),w&&(this._props.$editor.addClass("floating"===this._props.mode?Ot:Ee),this._isOutsideMode()&&this._props.$editor.addClass(He))}_isOutsideMode(){return"outside"===this._props.mode}_updateEditorBeforeButtonsClass(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._isVisible();this._props.$editor.removeClass(It),w&&this._props.$editor.addClass(this._props.containsButtonsBefore?It:"")}_updateMark(){this._$labelSpan.attr("data-mark",this._props.mark)}_updateText(){this._$labelSpan.text(this._props.text)}_updateBeforeWidth(){if(this._isVisible()){var w,Oe=null!==(w=this._props.beforeWidth)&&void 0!==w?w:this._props.getBeforeWidth();this._$before.css({width:Oe}),this._updateLabelTransform()}}_updateLabelTransform(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this._$labelSpan.css("transform",""),this._isVisible()&&this._isOutsideMode()){var en=(this._props.rtlEnabled?1:-1)*((0,Ce.RG)(this._$before)+w);this._$labelSpan.css("transform","translateX(".concat(en,"px)"))}}_updateMaxWidth(){if(this._isVisible()&&!this._isOutsideMode()){var w,Oe=null!==(w=this._props.containerWidth)&&void 0!==w?w:this._props.getContainerWidth();this._$label.css({maxWidth:Oe})}}$element(){return this._$root}isVisible(){return this._isVisible()}getId(){if(this._isVisible())return this._id}updateMode(w){this._props.mode=w,this._toggleMarkupVisibility(),this._updateBeforeWidth(),this._updateMaxWidth()}updateText(w){this._props.text=w,this._updateText(),this._toggleMarkupVisibility(),this._updateBeforeWidth(),this._updateMaxWidth()}updateMark(w){this._props.mark=w,this._updateMark()}updateContainsButtonsBefore(w){this._props.containsButtonsBefore=w,this._updateEditorBeforeButtonsClass()}updateBeforeWidth(w){this._props.beforeWidth=w,this._updateBeforeWidth()}updateMaxWidth(w){this._props.containerWidth=w,this._updateMaxWidth()}};function ft(h){if((0,N.O9)(h)&&!Array.isArray(h))throw _e.A.Error("E1053")}const sn=R.A.inherit({ctor:function(h,w){w&&ft(w.buttons),this._buttonCollection=new Ne(this,this._getDefaultButtons()),this._$beforeButtonsContainer=null,this._$afterButtonsContainer=null,this._labelContainerElement=null,this.callBase.apply(this,arguments)},_getDefaultOptions:function(){return(0,v.X)(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(h){return(0,N.O9)(h)&&!1!==h?h:""},stylingMode:(0,Ie.A)().editorStylingMode||"outlined",showValidationMark:!0,label:"",labelMode:"static",labelMark:""})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){var h=(0,f.ss)();return(0,f.gx)(h)},options:{labelMode:"floating",stylingMode:(0,Ie.A)().editorStylingMode||"filled"}},{device:function(){var h=(0,f.ss)();return(0,f.Ft)(h)},options:{labelMode:"outside"}}])},_getDefaultButtons:function(){return[{name:"clear",Ctor:Re}]},_isClearButtonVisible:function(){return this.option("showClearButton")&&!this.option("readOnly")},_input:function(){return this.$element().find(vt).first()},_isFocused:function(){return(0,M.in)(this._input())||this.callBase()},_inputWrapper:function(){return this.$element()},_buttonsContainer:function(){return this._inputWrapper().find(".dx-texteditor-buttons-container").eq(0)},_isControlKey:function(h){return-1!==pe.indexOf(h)},_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,c.A)("<div>").addClass("dx-texteditor-container").appendTo(this.$element()),this._$textEditorInputContainer=(0,c.A)("<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(st);var h=this._getInputContainer(),w=(0,c.A)("<div>").addClass("dx-pending-indicator").appendTo(h);this._pendingIndicator=this._createComponent(w,et.A)},_disposePendingIndicator:function(){this._pendingIndicator&&(this._pe
1ndingIndicator.dispose(),this._pendingIndicator.$element().remove(),this._pendingIndicator=null,this.$element().removeClass(st))},_renderValidationState:function(){this.callBase(),"pending"===this.option("validationStatus")?(!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()),this._toggleValidMark()},_renderButtonContainers:function(){var h=this.option("buttons");this._$beforeButtonsContainer=this._buttonCollection.renderBeforeButtons(h,this._$buttonsContainer),this._$afterButtonsContainer=this._buttonCollection.renderAfterButtons(h,this._$buttonsContainer)},_cleanButtonContainers:function(){var h,w;null===(h=this._$beforeButtonsContainer)||void 0===h||h.remove(),null===(w=this._$afterButtonsContainer)||void 0===w||w.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 h=(0,c.A)("<input>");return this._applyInputAttributes(h,this.option("inputAttr")),h},_setSubmitElementName:function(h){var w=this.option("inputAttr.name");return this.callBase(h||w||"")},_applyInputAttributes:function(h,w){var Oe=(0,v.X)(this._getDefaultAttributes(),w);h.attr(Oe).addClass(Ke),this._setInputMinHeight(h)},_setInputMinHeight:function(h){h.css("minHeight",this.option("height")?"0":"")},_getPlaceholderAttr(){var{ios:h,mac:w}=D.A.real(),{placeholder:Oe}=this.option();return Oe||(h||w?" ":null)},_getDefaultAttributes(){return{autocomplete:"off",placeholder:this._getPlaceholderAttr()}},_updateButtons:function(h){this._buttonCollection.updateButtons(h)},_updateButtonsStyling:function(h){(0,x.__)(this.option("buttons"),(w,Oe)=>{var{options:en,name:Kn}=Oe;if(en&&!en.stylingMode&&this.option("visible")){var xi=this.getButton(Kn);xi.option&&xi.option("stylingMode","underlined"===h?"text":"contained")}})},_renderValue:function(){return this._renderInputValue().promise()},_renderInputValue:function(h){var w;h=null!==(w=h)&&void 0!==w?w:this.option("value");var Oe=this.option("text"),en=this.option("displayValue"),Kn=this.option("displayValueFormatter");return void 0!==en&&null!==h?Oe=Kn(en):(0,N.O9)(Oe)||(Oe=Kn(h)),this.option("text",Oe),this._input().val()!==((0,N.O9)(Oe)?Oe:"")?this._renderDisplayText(Oe):this._toggleEmptinessEventHandler(),(new De.cY).resolve()},_renderDisplayText:function(h){this._input().val(h),this._toggleEmptinessEventHandler()},_isValueValid:function(){if(this._input().length){var h=this._input().get(0).validity;if(h)return h.valid}return!0},_toggleEmptiness:function(h){this.$element().toggleClass("dx-texteditor-empty",h),this._togglePlaceholder(h)},_togglePlaceholder:function(h){this.$element().find(".".concat(pt)).eq(0).toggleClass("dx-state-invisible",!h)},_renderProps:function(){this._toggleReadOnlyState(),this._toggleSpellcheckState(),this._toggleTabIndex()},_toggleDisabledState:function(h){this.callBase.apply(this,arguments),this._input().prop("disabled",h)},_toggleTabIndex:function(){var h=this._input(),w=this.option("disabled"),Oe=this.option("focusStateEnabled");w||!Oe?h.attr("tabIndex",-1):h.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&&(ct.A.unobserve(this._labelContainerElement),this._labelContainerElement=null)},_getLabelContainer:function(){return this._input()},_getLabelContainerWidth:function(){return(0,Ce.RG)(this._getLabelContainer())},_getLabelBeforeWidth:function(){return(this._$beforeButtonsContainer&&(0,Ce.RG)(this._$beforeButtonsContainer))??0},_updateLabelWidth:function(){this._label.updateBeforeWidth(this._getLabelBeforeWidth()),this._label.updateMaxWidth(this._getLabelContainerWidth())},_getFieldElement(){return this._getLabelContainer()},_setFieldAria(h){var{"aria-label":w}=this.option("inputAttr"),Oe=this._label.getId(),en=w?void 0:Oe;(en||h)&&this.setAria({labelledby:en,label:w},this._getFieldElement())},_renderLabel:function(){this._unobserveLabelContainerResize(),this._labelContainerElement=(0,c.A)(this._getLabelContainer()).get(0);var{label:h,labelMode:w,labelMark:Oe,rtlEnabled:en}=this.option(),Kn={onClickHandler:()=>{this.focus()},onHoverHandler:xi=>{xi.stopPropagation()},onActiveHandler:xi=>{xi.stopPropagation()},$editor:this.$element(),text:h,mark:Oe,mode:w,rtlEnabled:en,containsButtonsBefore:!!this._$beforeButtonsContainer,getContainerWidth:()=>this._getLabelContainerWidth(),getBeforeWidth:()=>this._getLabelBeforeWidth()};this._label=new Te(Kn),this._setFieldAria(),this._labelContainerElement&&ct.A.observe(this._labelContainerElement,this._updateLabelWidth.bind(this))},_renderPlaceholder:function(){this._renderPlaceholderMarkup(),this._attachPlaceholderEvents()},_renderPlaceholderMarkup:function(){this._$placeholder&&(this._$placeholder.remove(),this._$placeholder=null);var h=this._input(),w=this.option("placeholder"),Oe={id:w?"dx-".concat(new yt.A):void 0,"data-dx_placeholder":w},en=this._$placeholder=(0,c.A)("<div>").attr(Oe);en.insertAfter(h),en.addClass(pt)},_attachPlaceholderEvents:function(){var h=(0,_.b4)(S.A.up,this.NAME);b.A.on(this._$placeholder,h,()=>{b.A.trigger(this._input(),"focus")}),this._toggleEmptinessEventHandler()},_placeholder:function(){return this._$placeholder||(0,c.A)()},_clearValueHandler:function(h){var w=this._input();h.stopPropagation(),this._saveValueChangeEvent(h),this._clearValue(),!this._isFocused()&&b.A.trigger(w,"focu
1s"),b.A.trigger(w,"input")},_clearValue:function(){this.clear()},_renderEvents:function(){var h=this._input();(0,x.__)(V,(w,Oe)=>{if(this.hasActionSubscription("on"+Oe)){var en=this._createActionByOption("on"+Oe,{excludeValidators:["readOnly"]});b.A.on(h,(0,_.b4)(Oe.toLowerCase(),this.NAME),Kn=>{this._disposed||en({event:Kn})})}})},_refreshEvents:function(){var h=this._input();(0,x.__)(V,(w,Oe)=>{b.A.off(h,(0,_.b4)(Oe.toLowerCase(),this.NAME))}),this._renderEvents()},_keyPressHandler:function(){this.option("text",this._input().val())},_keyDownHandler:function(h){var w=this._input(),Oe=h.ctrlKey&&"enter"===(0,_.YD)(h),en=w.val()!==this.option("value");Oe&&en&&b.A.trigger(w,"change")},_getValueChangeEventOptionName:function(){return"valueChangeEvent"},_renderValueChangeEvent:function(){var h=(0,_.b4)(this._renderValueEventName(),"".concat(this.NAME,"TextChange")),w=(0,_.b4)(this.option(this._getValueChangeEventOptionName()),"".concat(this.NAME,"ValueChange")),Oe=(0,_.b4)("keydown","".concat(this.NAME,"TextChange")),en=this._input();b.A.on(en,h,this._keyPressHandler.bind(this)),b.A.on(en,w,this._valueChangeEventHandler.bind(this)),b.A.on(en,Oe,this._keyDownHandler.bind(this))},_cleanValueChangeEvent:function(){var h=".".concat(this.NAME,"ValueChange"),w=".".concat(this.NAME,"TextChange");b.A.off(this._input(),h),b.A.off(this._input(),w)},_refreshValueChangeEvent:function(){this._cleanValueChangeEvent(),this._renderValueChangeEvent()},_renderValueEventName:function(){return"input change keypress"},_focusTarget:function(){return this._input()},_focusEventTarget:function(){return this.element()},_isInput:function(h){return h===this._input().get(0)},_preventNestedFocusEvent:function(h){if(h.isDefaultPrevented())return!0;var w=this._isNestedTarget(h.relatedTarget);return"focusin"===h.type?w=w&&this._isNestedTarget(h.target)&&!this._isInput(h.target):w||this._toggleFocusClass(!1,this.$element()),w&&h.preventDefault(),w},_isNestedTarget:function(h){return!!this.$element().find(h).length},_focusClassTarget:function(){return this.$element()},_focusInHandler:function(h){this._preventNestedFocusEvent(h),this.callBase.apply(this,arguments)},_focusOutHandler:function(h){this._preventNestedFocusEvent(h),this.callBase.apply(this,arguments)},_toggleFocusClass:function(h,w){this.callBase(h,this._focusClassTarget(w))},_hasFocusClass:function(h){return this.callBase((0,c.A)(h||this.$element()))},_renderEmptinessEvent:function(){var h=this._input();b.A.on(h,"input blur",this._toggleEmptinessEventHandler.bind(this))},_toggleEmptinessEventHandler:function(){var h=this._input().val(),w=(""===h||null===h)&&this._isValueValid();this._toggleEmptiness(w)},_valueChangeEventHandler:function(h,w){this.option("readOnly")||(this._saveValueChangeEvent(h),this.option("value",arguments.length>1?w:this._input().val()),this._saveValueChangeEvent(void 0))},_renderEnterKeyAction:function(){this._enterKeyAction=this._createActionByOption("onEnterKey",{excludeValidators:["readOnly"]}),b.A.off(this._input(),"keyup.onEnterKey.dxTextEditor"),b.A.on(this._input(),"keyup.onEnterKey.dxTextEditor",this._enterKeyHandlerUp.bind(this))},_enterKeyHandlerUp:function(h){this._disposed||"enter"===(0,_.YD)(h)&&this._enterKeyAction({event:h})},_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(L.A.getActiveElement(this._input()[0]))},_optionChanged:function(h){var{name:w,fullName:Oe,value:en}=h,Kn=w.replace("on","");if(V.includes(Kn))this._refreshEvents();else switch(w){case"valueChangeEvent":this._refreshValueChangeEvent(),this._refreshFocusEvent(),this._refreshEvents();break;case"onValueChanged":this._createValueChangeAction();break;case"focusStateEnabled":this.callBase(h),this._toggleTabIndex();break;case"spellcheck":this._toggleSpellcheckState();break;case"mode":this._renderInputType();break;case"onEnterKey":this._renderEnterKeyAction();break;case"placeholder":this._renderPlaceholder(),this._setFieldAria(!0),this._input().attr({placeholder:this._getPlaceholderAttr()});break;case"label":this._label.updateText(en),this._setFieldAria(!0);break;case"labelMark":this._label.updateMark(en);break;case"labelMode":this._label.updateMode(en),this._setFieldAria();break;case"width":this.callBase(h),this._label.updateMaxWidth(this._getLabelContainerWidth());break;case"readOnly":case"disabled":this._updateButtons(),this.callBase(h);break;case"showClearButton":this._updateButtons(["clear"]);break;case"text":case"showValidationMark":break;
1case"value":this._updateValue(),this.callBase(h);break;case"inputAttr":this._applyInputAttributes(this._input(),this.option(w));break;case"stylingMode":this._renderStylingMode(),this._updateLabelWidth();break;case"buttons":Oe===w&&ft(en),this._cleanButtonContainers(),this._renderButtonContainers(),this._updateButtonsStyling(this.option("stylingMode")),this._updateLabelWidth(),this._label.updateContainsButtonsBefore(!!this._$beforeButtonsContainer);break;case"visible":this.callBase(h),en&&this.option("buttons")&&(this._cleanButtonContainers(),this._renderButtonContainers(),this._updateButtonsStyling(this.option("stylingMode")));break;case"displayValueFormatter":this._invalidate();break;default:this.callBase(h)}},_renderInputType:function(){this._setInputType(this.option("mode"))},_setInputType:function(h){var w=this._input();"search"===h&&(h="text");try{w.prop("type",h)}catch{w.prop("type","text")}},getButton(h){return this._buttonCollection.getButton(h)},focus:function(){b.A.trigger(this._input(),"focus")},clear:function(){this._showValidMark&&(this._showValidMark=!1,this._renderValidationState());var h=this._getDefaultOptions();this.option("value")===h.value?(this._options.silent("text",""),this._renderValue()):this.option("value",h.value)},_resetToInitialValue(){this.option("value")===this._initialValue?(this._options.silent("text",this._initialValue),this._renderValue()):this.callBase(),this._disposePendingIndicator(),this._showValidMark=!1,this._toggleValidMark()},_toggleValidMark(){this.$element().toggleClass("dx-valid",!!this._showValidMark)},reset:function(){arguments.length?this.callBase(arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0):this.callBase()},on:function(h,w){var Oe=this.callBase(h,w),en=h.charAt(0).toUpperCase()+h.substr(1);return V.indexOf(en)>=0&&this._refreshEvents(),Oe}});var Bt=a(9263),Ut=a(7963),zt="dxMask",ot=["deleteContentBackward","deleteSoftLineBackward","deleteContent","deleteHardLineBackward"],Vt=["historyUndo","historyRedo"],rn=["focusIn","focusOut","input","paste","cut","drop","beforeInput"];class jn{constructor(w){this.editor=w}_editorOption(){return this.editor.option(...arguments)}_editorInput(){return this.editor._input()}_editorCaret(w){if(!w)return this.editor._caret();this.editor._caret(w)}_attachChangeEventHandler(){if(this._editorOption("valueChangeEvent").split(" ").includes("change")){var w=this._editorInput(),Oe=(0,_.b4)("blur beforedeactivate",zt);b.A.on(w,Oe,en=>{this.editor._changeHandler(en)})}}_beforeInputHandler(){this._previousText=this._editorOption("text"),this._prevCaret=this._editorCaret()}_inputHandler(w){var{originalEvent:Oe}=w;if(Oe){var{inputType:en}=Oe;if(Vt.includes(en))this._handleHistoryInputEvent();else if(ot.includes(en))this._handleBackwardDeleteInputEvent();else{var Kn=this._editorCaret();if(!Kn.end)return;this._clearSelectedText(),this._autoFillHandler(Oe),this._editorCaret(Kn),this._handleInsertTextInputEvent(Oe.data)}this._editorOption("text")===this._previousText&&w.stopImmediatePropagation()}}_handleHistoryInputEvent(){var w=this._editorCaret();this._updateEditorMask({start:w.start,length:w.end-w.start,text:""}),this._editorCaret(this._prevCaret)}_handleBackwardDeleteInputEvent(){this._clearSelectedText();var w=this._editorCaret();this.editor.setForwardDirection(),this.editor._adjustCaret(),this._editorCaret().start!==w.start&&(this.editor.setBackwardDirection(),this.editor._adjustCaret())}_clearSelectedText(){var w,Oe,h,en=(null===(w=this._prevCaret)||void 0===w?void 0:w.end)-(null===(Oe=this._prevCaret)||void 0===Oe?void 0:Oe.start)||1,Kn=this._editorCaret();this._isAutoFill()||(this.editor.setBackwardDirection(),this._updateEditorMask({start:Kn.start,length:en,text:(h=en," ".repeat(h))}))}_handleInsertTextInputEvent(w){var Oe,en,Kn=w??"";this.editor.setForwardDirection(),this._updateEditorMask({start:null!==(Oe=null===(en=this._prevCaret)||void 0===en?void 0:en.start)&&void 0!==Oe?Oe:0,length:Kn.length||1,text:Kn})||this._editorCaret(this._prevCaret)}_updateEditorMask(w){var Oe=w.text.length,en=this.editor._handleChain(w);if(this.editor._displayMask(),this.editor.isForwardDirection()){var{start:Kn,end:xi}=this._editorCaret(),Tt=en-Oe;en>1&&1===Oe&&this._editorCaret({start:Kn+Tt,end:xi+Tt}),this.editor._adjustCaret()}return!!en}_focusInHandler(){if(this.editor._showMaskPlaceholder(),this.editor.setForwardDirection(),!this.editor._isValueEmpty()&&this._editorOption("isValid"))this.editor._adjustCaret();else{var w=this.editor._maskRulesChain.first();this._caretTimeout=setTimeout(()=>{this._editorCaret({start:w,end:w})},0)}}_focusOutHandler(w){this.editor._changeHandler(w),"onFocus"===this._editorOption("showMaskMode")&&this.editor._isValueEmpty()&&(this._editorOption("text",""),this.editor._renderDisplayText(""))}_delHandler(w){var{editor:Oe}=this;Oe._maskKeyHandler(w,()=>{Oe._hasSelection()||Oe._handleKey(" ")})}_cutHandler(w){var Oe=this._editorCaret(),en=this._editorInput().val().substring(Oe.start,Oe.end);this.editor._maskKeyHandler(w,()=>(0,Ut.KR)(w,en))}_dropHandler(){this._clearDragTimer(),this._dragTimer=setTimeout(()=>{var w=this.editor._convertToValue(this._editorInput().val());this._editorOption("value",w)})}_pasteHandler(w){var{editor:Oe}=this;if(!this._editorOption("disabled")){var en=this._editorCaret();Oe._maskKeyHandler(w,()=>{var Kn=(0,Ut.KR)(w),xi=Oe._maskRulesChain.text().substring(en.end),Tt=Oe._handleChain({text:Kn,start:en.start,length:Kn.length}),Qt=en.start+Tt;Oe._handleChain({text:xi,start:Qt,length:xi.length}),Oe._caret({start:Qt,end:Qt})})}}_autoFillHandler(w){var{editor:Oe}=this,en=this._editorInput().val();this._inputHandlerTimer=setTimeout(()=>{this._isAutoFill()&&(Oe._maskKeyHandler(w,()=>{Oe._handleChain({text:en,start:0,length:en.length})}),Oe._validateMask())})}_isAutoFill(){var w=this._editorInput();if(Bt.A.webkit){var Oe,en=w.get(0);return null!==(Oe=en?.matches(":-webkit-autofill"))&&void 0!==Oe&&Oe}return!1}_clearDragTimer(){clearTimeout(this._dragTimer)}_clearTimers(){this._clearDragTimer(),clearTimeout(this._caretTimeout),clearTimeout(this._inputHandlerTimer)}getHandler(w){return Oe=>{var en;null===(en=this["_".concat(w,"Handler")])||void 0===en||en.call(this,Oe)}}attachEvents(){var w=this._editorInput();
1rn.forEach(Oe=>{var en=(0,_.b4)(Oe.toLowerCase(),zt);b.A.on(w,en,this.getHandler(Oe))}),this._attachChangeEventHandler()}detachEvents(){this._clearTimers(),b.A.off(this._editorInput(),".".concat(zt))}clean(){this._clearTimers()}}var Pt=m.A,pn="dx-texteditor-masked",Dn="forward",it={0:/[0-9]/,9:/[0-9\s]/,"#":/[-+0-9\s]/,L:function(h){return d(h)},l:function(h){return d(h)||O(h)},C:/\S/,c:/./,A:function(h){return d(h)||Ht(h)},a:function(h){return d(h)||Ht(h)||O(h)}};function Ht(h){return/[0-9]/.test(h)}function d(h){var w=h.charCodeAt();return 64<w&&w<91||96<w&&w<123||w>127}function O(h){return" "===h}const Me=sn.inherit({_getDefaultOptions:function(){return(0,v.X)(this.callBase(),{mask:"",maskChar:"_",maskRules:{},maskInvalidMessage:p.A.format("validation-mask"),useMaskedValue:!1,showMaskMode:"always"})},_supportedKeys:function(){var h=this,w={del:h._maskStrategy.getHandler("del"),enter:h._changeHandler},Oe=h.callBase();return(0,x.__)(w,function(en,Kn){var xi=Oe[en];Oe[en]=function(Tt){h.option("mask")&&Kn.call(h,Tt),xi&&xi(Tt)}}),Oe},_getSubmitElement:function(){return this.option("mask")?this._$hiddenElement:this.callBase()},_init:function(){this.callBase(),this._initMaskStrategy()},_initMaskStrategy:function(){this._maskStrategy=new jn(this)},_initMarkup:function(){this._renderHiddenElement(),this.callBase()},_attachMouseWheelEventHandlers:function(){if(this._onMouseWheel!==P.lQ){var w=this._input(),Oe=(0,_.b4)(U.U,this.NAME),en=this._createAction(function(Kn){var{event:xi}=Kn;(0,M.in)(w)&&!(0,_.By)(xi)&&(this._onMouseWheel(xi),xi.preventDefault(),xi.stopPropagation())}.bind(this));b.A.off(w,Oe),b.A.on(w,Oe,function(Kn){en({event:Kn})})}},_onMouseWheel:P.lQ,_useMaskBehavior(){return!!this.option("mask")},_attachDropEventHandler(){if(this._useMaskBehavior()){var w=(0,_.b4)("drop",this.NAME),Oe=this._input();b.A.off(Oe,w),b.A.on(Oe,w,en=>en.preventDefault())}},_render(){this._renderMask(),this.callBase(),this._attachDropEventHandler(),this._attachMouseWheelEventHandlers()},_renderHiddenElement:function(){this.option("mask")&&(this._$hiddenElement=(0,c.A)("<input>").attr("type","hidden").appendTo(this._inputWrapper()))},_removeHiddenElement:function(){this._$hiddenElement&&this._$hiddenElement.remove()},_renderMask:function(){this.$element().removeClass(pn),this._maskRulesChain=null,this._maskStrategy.detachEvents(),this.option("mask")&&(this.$element().addClass(pn),this._maskStrategy.attachEvents(),this._parseMask(),this._renderMaskedValue())},_changeHandler:function(h){var w=this._input(),Oe=w.val();if(Oe!==this._changedValue){this._changedValue=Oe;var en=(0,_.lh)(h,{type:"change"});b.A.trigger(w,en)}},_parseMask:function(){this._maskRules=(0,v.X)({},it,this.option("maskRules")),this._maskRulesChain=this._parseMaskRule(0)},_parseMaskRule:function(h){var w=this.option("mask");if(h>=w.length)return new K;var Oe=w[h],en="\\"===Oe,Kn=en?new ee({maskChar:w[h+1]}):this._getMaskRule(Oe);return Kn.next(this._parseMaskRule(h+1+en)),Kn},_getMaskRule:function(h){var w;return(0,x.__)(this._maskRules,function(Oe,en){if(Oe===h)return w={pattern:Oe,allowedChars:en},!1}),(0,N.O9)(w)?new z((0,v.X)({maskChar:this.option("maskChar")||" "},w)):new ee({maskChar:h})},_renderMaskedValue:function(){if(this._maskRulesChain){var h=this.option("value")||"";this._maskRulesChain.clear(this._normalizeChainArguments());var w={length:h.length};w[this._isMaskedValueMode()?"text":"value"]=h,this._handleChain(w),this._displayMask()}},_replaceSelectedText:function(h,w,Oe){return void 0===Oe?h:h.slice(0,w.start)+Oe+h.slice(w.end)},_isMaskedValueMode:function(){return this.option("useMaskedValue")},_displayMask:function(h){h=h||this._caret(),this._renderValue(),this._caret(h)},_isValueEmpty:function(){return(0,g.Im)(this._value)},_shouldShowMask:function(){return"onFocus"!==this.option("showMaskMode")||(0,M.in)(this._input())||!this._isValueEmpty()},_showMaskPlaceholder:function(){if(this._shouldShowMask()){var h=this._maskRulesChain.text();this.option("text",h),"onFocus"===this.option("showMaskMode")&&this._renderDisplayText(h)}},_renderValue:function(){if(this._maskRulesChain&&(this._showMaskPlaceholder(),this._$hiddenElement)){var h=this._maskRulesChain.value(),w=(0,g.Im)(h)?"":this._getPreparedValue();this._$hiddenElement.val(w)}return this.callBase()},_getPreparedValue:function(){return this._convertToValue().replace(/\s+$/,"")},_valueChangeEventHandler:function(h){this._maskRulesChain?(this._saveValueChangeEvent(h),this.option("value",this._getPreparedValue())):this.callBase.apply(this,arguments)},_isControlKeyFired:function(h){return this._isControlKey((0,_.YD)(h))||(0,_.By)(h)},_handleChain:function(h){var w=this._maskRulesChain.handle(this._normalizeChainArguments(h));return this._updateMaskInfo(),w}
1,_normalizeChainArguments:function(h){return(h=h||{}).index=0,h.fullText=this._maskRulesChain.text(),h},_convertToValue:function(h){return this._isMaskedValueMode()?this._replaceMaskCharWithEmpty(h||this._textValue||""):h||this._value||""},_replaceMaskCharWithEmpty:function(h){return h.replace(new RegExp(this.option("maskChar"),"g")," ")},_maskKeyHandler:function(h,w){if(!this.option("readOnly")){this.setForwardDirection(),h.preventDefault(),this._handleSelection();var Oe=this._input().val(),en=()=>{Oe!==this._input().val()&&b.A.trigger(this._input(),"input")},Kn=w();Kn?Kn.then(en):(this.setForwardDirection(),this._adjustCaret(),this._displayMask(),this._maskRulesChain.reset(),en())}},_handleKey:function(h,w){this._direction(w||Dn),this._adjustCaret(h),this._handleKeyChain(h),this._moveCaret()},_handleSelection:function(){if(this._hasSelection()){var h=this._caret(),w=new Array(h.end-h.start+1).join(" ");this._handleKeyChain(w)}},_handleKeyChain:function(h){var w=this._caret(),Oe=this.isForwardDirection()?w.start:w.start-1,en=this.isForwardDirection()?w.end:w.end-1;this._handleChain({text:h,start:Oe,length:Oe===en?1:en-Oe})},_tryMoveCaretBackward:function(){this.setBackwardDirection();var h=this._caret().start;return this._adjustCaret(),!h||h!==this._caret().start},_adjustCaret:function(h){var w=this._caret().start,Oe=this.isForwardDirection(),en=this._maskRulesChain.adjustedCaret(w,Oe,h);this._caret({start:en,end:en})},_moveCaret:function(){var h=this._caret().start,w=h+(this.isForwardDirection()?0:-1),Oe=this._maskRulesChain.isAccepted(w)?h+(this.isForwardDirection()?1:-1):h;this._caret({start:Oe,end:Oe})},_caret:function(h,w){var Oe=this._input();if(Oe.length){if(!arguments.length)return Pt(Oe);Pt(Oe,h,w)}},_hasSelection:function(){var h=this._caret();return h.start!==h.end},_direction:function(h){if(!arguments.length)return this._typingDirection;this._typingDirection=h},setForwardDirection:function(){this._direction(Dn)},setBackwardDirection:function(){this._direction("backward")},isForwardDirection:function(){return this._direction()===Dn},_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 h=(0,g.Im)(this.option("value"))||this._maskRulesChain.isValid(this._normalizeChainArguments());this.option({isValid:h,validationError:h?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(),this._refreshValueChangeEvent()},_processEmptyMask:function(h){if(!h){var w=this.option("value");this.option({text:w,isValid:!0,validationError:null}),this.validationRequest.fire({value:w,editor:this}),this._renderValue()}},_optionChanged:function(h){switch(h.name){case"mask":this._updateMaskOption(),this._processEmptyMask(h.value);break;case"maskChar":case"maskRules":case"useMaskedValue":this._updateMaskOption();break;case"value":this._renderMaskedValue(),this._validateMask(),this.callBase(h),this._changedValue=this._input().val();break;case"maskInvalidMessage":break;case"showMaskMode":this.option("text",""),this._renderValue();break;default:this.callBase(h)}},clear:function(){var{value:h}=this._getDefaultOptions();this.option("value")===h&&this._renderMaskedValue(),this.callBase()}});(0,t.A)("dxTextEditor",Me);const be=Me},9264:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(4292),c=a(2463),m=a(3862),x=a(7669),{ios:_,mac:b}=m.A.real(),v=_||b;const P=function(g,U){var G=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(g=(0,t.A)(g).get(0),!(0,c.O9)(U))return function(g){var U;try{U={start:g.selectionStart,end:g.selectionEnd}}catch{U={start:0,end:0}}return U}(g);!G&&v&&x.A.getActiveElement(g)!==g||function(g,U){var G=x.A.getBody();if(G.contains(g)||G.contains(g.getRootNode().host))try{g.selectionStart=U.start,g.selectionEnd=U.end}catch{}}(g,U)}},1299:(Nt,Le,a)=>{"use strict";a.d(Le,{ss:()=>ne,Ay:()=>Ln,ip:()=>we,Ft:()=>dt,AE:()=>Je,gx:()=>yt,Nt:()=>et,ro:()=>He});var j,fe,H,J,Y,ve,t=a(186),c=a(3862),m=a(7669),x=a(4292),_=a(2984),b=a(1242),v=a(2101),M=a(2535),N=a(3558),p=a(4435),g=(0,a(4423).A)(),U=a(7310),G=(0,p.zk)(),A=M.A.add,K=N.Uq,z=N.WV,ee=new _.cY,L="link[rel=dx-theme]",f="data-theme",D="data-active",R="dx-hairlines",S="any",W=15e3,re="dx.";function le(){if(!(0,p.Vd)())return null;var ct,Zt=(0,x.A)("<div>",j).addClass("dx-theme-marker").appendTo(j.documentElement);try{return(ct=G.getComputedStyle(Zt.get(0)).fontFamily)&&(ct=ct.replace(/["']/g,"")).substr(0,re.length)===re?ct.substr(re.length):null}finally{Zt.remove()}}function Re(Zt){var ct,rt,Ae=!0;function Ke(){Y=null,clearInterval(rt),Ae=!0,g.fire(),g.empty(),ee.resolve()}if(Y=Zt,Be()||!W)Ke();else{if(!Ae)return void(Y&&(Y=Zt));ct=Date.now(),Ae=!1,rt=setInterval(function(){var vt=Be(),Wt=!vt&&Date.now()-ct>W;Wt&&U.A.log("W0004",Y),(vt||Wt)&&Ke()},10)}}function Be(){if(!Y)return!0;var Zt=Y===S;if("resolved"===ee.state()&&Zt)return!0;var ct=le();return!(!ct||!Zt)||ct===Y}function _e(Zt){(function ce(Zt){try{Zt!==j&&(H=null)}catch{H=null}j=Zt})((Zt=Zt||{}).context||m.A.getDocument()),j&&(function Fe(){var Zt=(0,x.A)(L,j);Zt.length&&(H={},fe=(0,x.A)((0,b.B)("<link rel=stylesheet>"),j),Zt.each(function(){var ct=(0,x.A)(this,j),rt=ct.attr(f),Ae=ct.attr("href"),Ke="true"===ct.attr(D);H[rt]={url:Ae,isActive:Ke}}),Zt.last().after(fe),Zt.remove())}(),J=void 0,ne(Zt))}function ne(Zt){if(!arguments.length)return J=J||le();Ne(K()),"string"==typeof(Zt=Zt||{})&&(Zt={theme:Zt});var Ae,ct=Zt._autoInit,rt=Zt.loadCallback;if(J=function ue(Zt){var ct=Zt?Zt.split("."):[],rt=null;
1if(H){if(Zt in H)return Zt;(0,v.__)(H,function(Ae,Ke){var vt=Ae.split(".");if((!ct[0]||vt[0]===ct[0])&&(!ct[1]||ct[1]===vt[1])&&(!ct[2]||ct[2]===vt[2])&&((!rt||Ke.isActive)&&(rt=Ae),Ke.isActive))return!1})}return rt}(Zt.theme||J),J&&(Ae=H[J]),rt&&g.add(rt),Ae)fe.attr("href",H[J].url),(g.has()||"resolved"!==ee.state()||Zt._forceTimeout)&&Re(J);else{if(!ct)throw U.A.Error("E0021",J);(0,p.Vd)()&&Re(S),g.fire(),g.empty()}ee.done(()=>ke((0,N.s$)(),J))}function ke(Zt,ct){ve=function Z(Zt){var ct=[],rt=(Zt=Zt||ne())&&Zt.split(".");return rt&&(ct.push("dx-theme-"+rt[0],"dx-theme-"+rt[0]+"-typography"),rt.length>1&&ct.push("dx-color-scheme-"+rt[1]+(et(Zt)?"-"+rt[2]:""))),ct}(ct).join(" "),(0,x.A)(Zt).addClass(ve),function(){var rt=(0,p.Vd)()&&G.devicePixelRatio;if(rt&&!(rt<2)){var Ae=(0,x.A)("<div>");Ae.css("border",".5px solid transparent"),(0,x.A)("body").append(Ae),1===(0,t.P$)(Ae)&&((0,x.A)(Zt).addClass(R),ve+=" "+R),Ae.remove()}}()}function Ne(Zt){(0,x.A)(Zt).removeClass(ve)}function De(Zt,ct){return ct||(ct=J||le()),new RegExp(Zt).test(ct)}function et(Zt){return yt(Zt)||dt(Zt)}function yt(Zt){return De("material",Zt)}function dt(Zt){return De("fluent",Zt)}function Je(Zt){return De("generic",Zt)}function we(Zt){return De("compact",Zt)}function Ee(Zt,ct){var rt=m.A.getDocument(),Ae=rt.createElement("span");Ae.style.position="absolute",Ae.style.top="-9999px",Ae.style.left="-9999px",Ae.style.visibility="hidden",Ae.style.fontFamily="Arial",Ae.style.fontSize="250px",Ae.style.fontWeight=ct,Ae.innerHTML=Zt,rt.body.appendChild(Ae);var Ke=Ae.offsetWidth;Ae.style.fontFamily="Roboto, RobotoFallback, Arial";var vt=Ae.offsetWidth;return Ae.parentNode.removeChild(Ae),Ke!==vt}function He(Zt,ct){return new Promise(rt=>{var Ae=()=>{clearInterval(Ke),clearTimeout(vt),rt()},Ke=setInterval(()=>{Ee(Zt,ct)&&Ae()},15),vt=setTimeout(Ae,2e3)})}function Ot(){if(_e({_autoInit:!0,_forceTimeout:!0}),(0,x.A)(L,j).length)throw U.A.Error("E0022")}(0,p.Vd)()?Ot():A(Ot),z.add(function(Zt,ct){ee.done(function(){Ne(ct),ke(Zt)})}),c.A.changed.add(function(){_e({_autoInit:!0})});const Ln={setDefaultTimeout:function ln(Zt){W=Zt},initialized:function un(Zt){ee.done(Zt)},resetTheme:function It(){fe&&fe.attr("href","about:blank"),J=null,Y=null,ee=new _.cY},ready:function Ie(Zt){g.add(Zt)},waitWebFont:He,isWebFontLoaded:Ee,isCompact:we,isDark:function Ce(Zt){return De("dark",Zt)},isGeneric:Je,isMaterial:yt,isFluent:dt,isMaterialBased:et,detachCssClasses:Ne,attachCssClasses:ke,current:ne,waitForThemeLoad:Re,isPendingThemeLoaded:Be}},3701:(Nt,Le,a)=>{"use strict";a.d(Le,{l:()=>t});var t="dx-toolbar"},2376:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Be});var t=a(186),c=a(4292),m=a(1299),x=a(2463),_=a(4905),b=a(7951),v=a(2101),M=a(448),N=a(4874),p=a(2984),P=a(5042);const U=N.A.inherit({_initMarkup(){this._deferredItems=[],this.callBase()},_renderItemContent(Fe){var ue=new p.cY,ce=new p.cY;this._deferredItems[Fe.index]=ce;var _e=this.callBase.call(this,Fe);return ce.done(()=>{ue.resolve(_e)}),ue.promise()},_onItemTemplateRendered:function(Fe,ue){return()=>{this._deferredItems[ue.index].resolve()}},_postProcessRenderItems:P.lQ,_renderItemsAsync(){var Fe=new p.cY;return p.z7.apply(this,this._deferredItems).done(()=>{this._postProcessRenderItems(),Fe.resolve()}),Fe.promise()},_clean(){this.callBase(),this._deferredItems=[]}});var G=a(6311),A=a(3930),K=a(3701),z="dx-toolbar-before",L="dx-toolbar-after",R="dx-toolbar-label",H="dx-toolbar-compact",J="text";class Re extends U{_getSynchronizableOptionsForCreateComponent(){return super._getSynchronizableOptionsForCreateComponent().filter(ue=>"disabled"!==ue)}_initTemplates(){super._initTemplates();var ue=new G.U(function(ce,_e,ne){if((0,x.Qd)(_e)){var Ne,Ie,De,et,yt,{text:Z,html:ve,widget:ke}=_e;if(Z&&ce.text(Z).wrapInner("<div>"),ve&&ce.html(ve),"dxDropDownButton"===ke&&(_e.options=null!==(Ne=_e.options)&&void 0!==Ne?Ne:{},(0,x.O9)(_e.options.stylingMode)||(_e.options.stylingMode=this.option("useFlatButtons")?J:"contained")),"dxButton"===ke)this.option("useFlatButtons")&&(_e.options=null!==(Ie=_e.options)&&void 0!==Ie?Ie:{},_e.options.stylingMode=null!==(De=_e.options.stylingMode)&&void 0!==De?De:J),this.option("useDefaultButtons")&&(_e.options=null!==(et=_e.options)&&void 0!==et?et:{},_e.options.type=null!==(yt=_e.options.type)&&void 0!==yt?yt:"default")}else ce.text(String(_e));this._getTemplate("dx-polymorph-widget").render({container:ce,model:ne,parent:this})}.bind(this),["text","html","widget","options"],this.option("integrationOptions.watchMethod"));this._templateManager.addDefaultTemplates({item:ue,menuItem:ue})}_getDefaultOptions(){return(0,b.X)(super._getDefaultOptions(),{renderAs:"topToolbar",grouped:!1,useFlatButtons:!1,useDefaultButtons:!1})}_defaultOptionsRules(){return super._defaultOptionsRules().concat([{device:function(){return(0,m.Nt)()},options:{useFlatButtons:!0}}])}_itemContainer(){return this._$toolbarItemsContainer.find([".".concat(z),".".concat("dx-toolbar-center"),".".concat(L)].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(K.l),this._$toolbarItemsContainer=(0,c.A)("<div>").addClass("dx-toolbar-items-container").appendTo(this.$element()),this.setAria("role","toolbar")}_renderSections(){var ue=this._$toolbarItemsContainer;(0,v.__)(["before","center","after"],(ce,_e)=>{var ne="dx-toolbar-".concat(_e);ue.find(".".concat(ne)).length||(this["_$".concat(_e,"Section")]=(0,c.A)("<div>").addClass(ne).attr("role","presentation").appendTo(ue))})}_arrangeItems(ue){var ce;ue=null!==(ce=ue)&&void 0!==ce?ce:(0,t.RG)(this.$element()),this._$centerSection.css({margin:"0 auto",float:"none"});var _e=(0,M.N)(this._$beforeSection.get(0)),ne=(0,M.N)(this._$afterSection.get(0));this._alignCenterSection(_e,ne,ue);var Z=this._$toolbarItemsContainer.find(".".concat(R)).eq(0),ve=Z.parent();if(Z.length){var ke=_e.width?_e.width:Z.position().left,Ne=ve.hasClass(z)?0:ke,Ie=ve.hasClass(L)?0:ne.width,De=0;ve.children().not(".".concat(R)).each(function(){De+=(0,t.Ot)(this)});var yt=Math.max(ue-De-Ne-Ie,0);if(ve.hasClass(z))this._alignSection(this._$beforeSection,yt);else{var dt=(0,t.Ot)(Z)-(0,t.RG)(Z);Z.css("maxWidth",yt-dt)}}}_alignCenterSection(ue,ce,_e){this._alignSection(this._$centerSection,_e-ue.width-ce.width);var ne=this.option("rtlEnabled"),Z=ne?ce:ue,ve=ne?ue:ce,ke=(0,M.N)(this._$centerSection.get(0));(Z.right>ke.left||ke.right>ve.left)&&this._$centerSection.css({marginLeft:Z.width,marginRight:ve.width,float:Z.width>ve.width?"none":"right"})}_alignSection(ue,ce){var ne=ue.find(".".concat(R)).toArray();ce-=this._getCurrentLabelsPaddings(ne);var Z=this._getCurrentLabelsWidth(ne),ve=Math.abs(Z-ce);ce<Z?(ne=ne.reverse(),this._alignSectionLabels(ne,ve,!1)):this._alignSectionLabels(ne,ve,!0)}_alignSectionLabels(ue,ce,_e){for(var ne=function(De){return(0,M.N)(De).width},Z=0;Z<ue.length;Z++){var ve=(0,c.A)(ue[Z]),ke=Math.ceil(ne(ue[Z]));_e&&ve.css("maxWidth","inherit");var Ie=Math.ceil(_e?ne(ue[Z]):ke);if(!(Ie<ce)){ve.css("maxWidth",_e?ke+ce:ke-ce);break}ce-=Ie,ve.css("maxWidth",_e?Ie:0)}}_applyCompactMode(){var ue=this.$element();ue.removeClass(H),this.option("compactMode")&&this._getSummaryItemsSize("width",this.itemElements(),!0)>(0,t.RG)(ue)&&ue.addClass(H)}_getCurrentLabelsWidth(ue){var ce=0;return ue.forEach(function(_e,ne){ce+=(0,t.Ot)(_e)}),ce}_getCurrentLabelsPaddings(ue){var ce=0;return ue.forEach(function(_e,ne){ce+=(0,t.Ot)(_e)-(0,t.RG)(_e)}),ce}_renderItem(ue,ce,_e,ne){var Z,ve,ke=null!==(Z=ce.location)&&void 0!==Z?Z:"center",Ne=_e??this["_$".concat(ke,"Section")],Ie=!!(null!==(ve=ce.text)&&void 0!==ve?ve:ce.html),De=super._renderItem(ue,ce,Ne,ne);return De.toggleClass("dx-toolbar-button",!Ie).toggleClass(R,Ie).addClass(ce.cssClass),De}_renderGroupedItems(){(0,v.__)(this.option("items"),(ue,ce)=>{var _e,ne=ce.items,Z=(0,c.A)("<div>").addClass("dx-toolbar-group"),ve=null!==(_e=ce.location)&&void 0!==_e?_e:"center";!ne||!ne.length||((0,v.__)(ne,(ke,Ne)=>{this._renderItem(ke,Ne,Z,null)}),this._$toolbarItemsContainer.find(".dx-toolbar-".concat(ve)).append(Z))})}_renderItems(ue){this.option("grouped")&&ue.length&&ue[0].items?this._renderGroupedItems():super._renderItems(ue)}_getToolbarItems(){var ue;return null!==(ue=this.option("items"))&&void 0!==ue?ue:[]}_renderContentImpl(){var ue=this._getToolbarItems();this.$element().toggleClass("dx-toolbar-mini",0===ue.length),this._renderItems(this._renderedItemsCount?ue.slice(this._renderedItemsCount):ue),this._applyCompactMode()}_renderEmptyMessage(){}_clean(){this._$toolbarItemsContainer.children().empty(),this.$element().empty(),delete this._$beforeSection,delete this._$centerSection,delete this._$afterSection}_visibilityChanged(ue){ue&&this._arrangeItems()}_isVisible(){return(0,t.RG)(this.$element())>0&&(0,t.Oq)(this.$element())>0}_getIndexByItem(ue){return this._getToolbarItems().indexOf(ue)}_itemOptionChanged(ue,ce,_e){super._itemOptionChanged.apply(this,[ue,ce,_e]),this._arrangeItems()}_optionChanged(ue){var{name:ce}=ue;switch(ce){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,m.gx)()&&Promise.all([new Promise(ue=>{var ce=()=>{var ne=!0;return this.$element().parents().each((Z,ve)=>{if(A.A.isAnimating((0,c.A)(ve)))return ne=!1,!1}),ne&&ue(),ne},_e=()=>{clearTimeout(this._waitParentAnimationTimeout),this._waitParentAnimationTimeout=setTimeout(()=>ce()||_e(),15)};_e()}),(()=>{var ue=this.$element().find(".".concat(R)),ce=[];return ue.each((_e,ne)=>{var Z=(0,c.A)(ne).text(),ve=(0,c.A)(ne).css("fontWeight");ce.push((0,m.ro)(Z,ve))}),Promise.all(ce)})()]).then(()=>{this._dimensionChanged()})}}(0,_.A)("dxToolbarBase",Re);
1const Be=Re},8321:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>Wt});var t=a(4292),c=a(4905),m=a(3019),x=a(2934),_=a(7951),b=a(186),v=a(7669),M=a(1269),N=a(736),p=a(8060),P=a(5042),g=a(4435),U=a(2463),G=a(2101),A=a(181),K=a(9454),z=a(219),ee=a(9104),L=a(4159),f=a(1707),D=a(3930),R=a(9057),S=a(1100),j=a(2984),fe=a(9900),H=a(8221),J=a(8500),Y=a(6018),W="dx-treeview",re="".concat(W,"-node"),le="".concat(re,"-container"),Re="".concat(re,"-loadindicator"),Be="".concat(re,"-container-opened"),Fe="".concat(re,"-is-leaf"),ue="".concat(W,"-item"),ce="".concat(ue,"-with-checkbox"),_e="".concat(ue,"-with-custom-expander-icon"),ne="".concat(W,"-custom-expander-icon-item-container"),Z="".concat(ue,"-without-checkbox"),ve="".concat(ue,"-data"),ke="".concat(W,"-toggle-item-visibility"),Ne="".concat(W,"-custom-collapse-icon"),Ie="".concat(W,"-custom-expand-icon"),De="".concat(W,"-loadindicator"),et="".concat(W,"-loadindicator-wrapper"),yt="".concat(W,"-toggle-item-visibility-opened"),dt="".concat(W,"-select-all-item"),Je="dx-state-invisible",Ce="dx-state-disabled",Ee="dxTreeView_expand",He="data-item-id",It="dx-checkbox",ln="".concat(W,"-root-node"),Ln="".concat(W,"-expander-icon-stub");const ct=z.A.inherit({_supportedKeys:function(ze){var pt=Ve=>{var st=(0,t.A)(this.option("focusedElement"));st.length&&(Ve.target=st,Ve.currentTarget=st,this._itemClickHandler(Ve,st.children("."+ue)),this._getEventNameByOption(this.option("expandEvent"))===(0,ee.b4)(p.U,Ee)&&this._expandEventHandler(Ve))},Ze=Ve=>{Ve.preventDefault();var st=(0,t.A)(this.option("focusedElement")),at=this._getCheckBoxInstance(st);if(!at.option("disabled")){var V=at.option("value");this._updateItemSelection(!V,st.find("."+ue).get(0),!0)}},X=function(Ve,st){if(this.option("expandAllEnabled")){st.preventDefault();var at=(0,t.A)(this.option("focusedElement"));if(at.length){var V=this._getItemData(at.find(".".concat(ue)));this._toggleExpandedNestedItems([V],Ve)}}};return(0,_.X)(this.callBase(),{enter:this._showCheckboxes()?Ze:pt,space:this._showCheckboxes()?Ze:pt,asterisk:X.bind(this,!0),minus:X.bind(this,!1)})},_toggleExpandedNestedItems:function(ze,pt){if(ze)for(var Ze=0,X=ze.length;Ze<X;Ze++){var Ve=ze[Ze],st=this._dataAdapter.getNodeByItem(Ve);this._toggleExpandedState(st,pt),this._toggleExpandedNestedItems(Ve.items,pt)}},_getNodeElement:function(ze,pt){var Ze=this._encodeString(ze.internalFields.key);if(pt)return pt.$nodeByKey||(pt.$nodeByKey={},this.$element().find(".".concat(re)).each(function(){var Ve=(0,t.A)(this),st=Ve.attr(He);pt.$nodeByKey[st]=Ve})),pt.$nodeByKey[Ze]||(0,t.A)();var X=this.$element().get(0).querySelector("[".concat(He,'="').concat(Ze,'"]'));return(0,t.A)(X)},_activeStateUnit:"."+ue,_widgetClass:function(){return W},_getDefaultOptions:function(){var ze=(0,_.X)(this.callBase(),{animationEnabled:!0,dataStructure:"tree",deferRendering:!0,expandAllEnabled:!1,hasItemsExpr:"hasItems",selectNodesRecursive:!0,expandNodesRecursive:!0,showCheckBoxesMode:"none",expandIcon:null,collapseIcon:null,selectAllText:N.A.format("dxList-selectAll"),onItemSelectionChanged:null,onItemExpanded:null,onItemCollapsed:null,scrollDirection:"vertical",useNativeScrolling:!0,virtualModeEnabled:!1,rootValue:0,focusStateEnabled:!1,selectionMode:"multiple",expandEvent:"dblclick",selectByClick:!1,createChildren:null,onSelectAllValueChanged:null});return(0,_.X)(!0,ze,{integrationOptions:{useDeferUpdateForTemplates:!1}})},_defaultOptionsRules:function(){return this.callBase().concat([{device:function(){return!fe.nativeScrolling},options:{useNativeScrolling:!1}}])},_initSelectedItems:P.lQ,_syncSelectionOptions:P.TA,_fireSelectionChanged:function(){(0,j.z7)(this._selectionChangePromise).done(function(){this._createActionByOption("onSelectionChanged",{excludeValidators:["disabled","readOnly"]})()}.bind(this))},_createSelectAllValueChangedAction:function(){this._selectAllValueChangedAction=this._createActionByOption("onSelectAllValueChanged",{excludeValidators:["disabled","readOnly"]})},_fireSelectAllValueChanged:function(ze){this._selectAllValueChangedAction({value:ze})},_checkBoxModeChange:function(ze,pt){var Ze=this.option("searchEnabled"),X=this._selectAllEnabled(pt),Ve=this._itemContainer(Ze,X);if(this._detachClickEvent(Ve),this._detachExpandEvent(Ve),"none"!==pt&&"none"!==ze){var st=this._$selectAllItem&&this._$selectAllItem.length;switch(ze){case"selectAll":st||(this._createSelectAllValueChangedAction(),this._renderSelectAllItem());break;case"normal":st&&(this._$selectAllItem.remove(),delete this._$selectAllItem)}}},_removeSelection:function(){var ze=this;(0,G.__)(this._dataAdapter.getFullData(),function(pt,Ze){ze._hasChildren(Ze)&&ze._dataAdapter.toggleSelection(Ze.internalFields.key,!1,!0)})},_optionChanged:function(ze){var{name:pt,value:Ze,previousValue:X}=ze;switch(pt){case"selectAllText":this._$selectAllItem&&this._$selectAllItem.dxCheckBox("instance").option("text",Ze);break;
1case"showCheckBoxesMode":this._checkBoxModeChange(Ze,X),this._invalidate();break;case"scrollDirection":this.getScrollable().option("direction",Ze);break;case"useNativeScrolling":this.getScrollable().option("useNative",Ze);break;case"items":delete this._$selectAllItem,this.callBase(ze);break;case"dataSource":this.callBase(ze),this._initDataAdapter(),this._filter={};break;case"hasItemsExpr":this._initAccessors(),this.repaint();break;case"expandEvent":this._attachExpandEvent();break;case"deferRendering":case"dataStructure":case"rootValue":case"createChildren":case"expandNodesRecursive":case"onItemSelectionChanged":case"onItemExpanded":case"onItemCollapsed":case"expandAllEnabled":case"animationEnabled":case"virtualModeEnabled":case"selectByClick":break;case"selectionMode":this._initDataAdapter(),this.callBase(ze);break;case"onSelectAllValueChanged":this._createSelectAllValueChangedAction();break;case"selectNodesRecursive":this._dataAdapter.setOption("recursiveSelection",ze.value),this.repaint();break;case"expandIcon":case"collapseIcon":this.repaint();break;default:this.callBase(ze)}},_initDataSource:function(){this._useCustomChildrenLoader()?this._loadChildrenByCustomLoader(null).done(function(ze){ze&&ze.length&&this.option("items",ze)}.bind(this)):(this.callBase(),this._isVirtualMode()&&this._initVirtualMode())},_initVirtualMode:function(){var ze=this._filter;ze.custom||(ze.custom=this._dataSource.filter()),ze.internal||(ze.internal=[this.option("parentIdExpr"),this.option("rootValue")])},_useCustomChildrenLoader:function(){return(0,U.Tn)(this.option("createChildren"))&&this._isDataStructurePlain()},_loadChildrenByCustomLoader:function(ze){var pt=this.option("createChildren").call(this,ze);return Array.isArray(pt)?(new j.cY).resolve(pt).promise():pt&&(0,U.Tn)(pt.then)?(0,j.Sx)(pt):(new j.cY).resolve([]).promise()},_combineFilter:function(){return this._filter.custom&&this._filter.custom.length?[this._filter.custom,this._filter.internal]:this._filter.internal},_dataSourceLoadErrorHandler:function(){this._renderEmptyMessage()},_init:function(){this._filter={},this.callBase(),this._initStoreChangeHandlers()},_dataSourceChangedHandler:function(ze){var pt=this.option("items");this._initialized&&this._isVirtualMode()&&pt.length||this.option("items",ze)},_removeTreeViewLoadIndicator:function(){this._treeViewLoadIndicator&&(this._treeViewLoadIndicator.remove(),this._treeViewLoadIndicator=null)},_createTreeViewLoadIndicator:function(){return this._treeViewLoadIndicator=(0,t.A)("<div>").addClass(De),this._createComponent(this._treeViewLoadIndicator,S.A,{}),this._treeViewLoadIndicator},_dataSourceLoadingChangedHandler:function(ze){var pt;if(this._isVirtualMode()&&(pt=this._combineFilter(),this._dataSource.filter(pt)),ze&&!this._dataSource.isLoaded()){this.option("items",[]);var Ze=(0,t.A)("<div>").addClass(et);this._createTreeViewLoadIndicator().appendTo(Ze),this.itemsContainer().append(Ze),this._isVirtualMode()&&this._dataSource.filter()!==pt&&this._dataSource.filter([])}else this._removeTreeViewLoadIndicator()},_initStoreChangeHandlers:function(){"plain"===this.option("dataStructure")&&this._dataSource&&this._dataSource.store().on("inserted",ze=>{this.option().items=this.option("items").concat(ze),this._dataAdapter.addItem(ze),this._dataAdapter.isFiltered(ze)&&this._updateLevel(this._parentIdGetter(ze))}).on("removed",ze=>{var pt=this._dataAdapter.getNodeByKey(ze);(0,U.O9)(pt)&&(this.option("items")[this._dataAdapter.getIndexByKey(pt.internalFields.key)]=0,this._markChildrenItemsToRemove(pt),this._removeItems(),this._dataAdapter.removeItem(ze),this._updateLevel(this._parentIdGetter(pt)))})},_markChildrenItemsToRemove:function(ze){(0,G.__)(ze.internalFields.childrenKeys,(Ze,X)=>{this.option("items")[this._dataAdapter.getIndexByKey(X)]=0,this._markChildrenItemsToRemove(this._dataAdapter.getNodeByKey(X))})},_removeItems:function(){var ze=(0,_.X)(!0,[],this.option("items")),pt=0;(0,G.__)(ze,(Ze,X)=>{X||(this.option("items").splice(Ze-pt,1),pt++)})},_updateLevel:function(ze){var pt=this._getContainerByParentKey(ze);this._renderItems(pt,this._dataAdapter.getChildrenNodes(ze))},_getOldContainer:function(ze){if(ze.length)return ze.children(".".concat(le));var pt=this.getScrollable();return pt?(0,t.A)(pt.content()).children():(0,t.A)()},_getContainerByParentKey:function(ze){var pt=this._dataAdapter.getNodeByKey(ze),Ze=pt?this._getNodeElement(pt):[];this._getOldContainer(Ze).remove();var X=this._renderNodeContainer(Ze);
1if(this._isRootLevel(ze)){var Ve=this.getScrollable();Ve||this._renderScrollableContainer(),(0,t.A)(Ve.content()).append(X)}return X},_isRootLevel:function(ze){return ze===this.option("rootValue")},_getAccessors:function(){var ze=this.callBase();return ze.push("hasItems"),ze},_getDataAdapterOptions:function(){var ze,pt,Ze;return{rootValue:this.option("rootValue"),multipleSelection:!this._isSingleSelection(),recursiveSelection:this._isRecursiveSelection(),recursiveExpansion:this.option("expandNodesRecursive"),selectionRequired:this.option("selectionRequired"),dataType:this.option("dataStructure"),sort:this._dataSource&&this._dataSource.sort(),langParams:null===(ze=this._dataSource)||void 0===ze||null===(pt=ze.loadOptions)||void 0===pt||null===(Ze=pt.call(ze))||void 0===Ze?void 0:Ze.langParams}},_initMarkup(){this._renderScrollableContainer(),this._renderEmptyMessage(this._dataAdapter.getRootNodes()),this.callBase(),this._setAriaRole()},_setAriaRole(){var{items:ze}=this.option();null!=ze&&ze.length&&this.setAria({role:"tree"})},_renderContentImpl:function(){var ze=this._renderNodeContainer();(0,t.A)(this.getScrollable().content()).append(ze),this.option("items")&&this.option("items").length&&(this._renderItems(ze,this._dataAdapter.getRootNodes()),this._attachExpandEvent(),this._selectAllEnabled()&&(this._createSelectAllValueChangedAction(),this._renderSelectAllItem(ze)))},_isVirtualMode:function(){return this.option("virtualModeEnabled")&&this._isDataStructurePlain()&&!!this.option("dataSource")},_isDataStructurePlain:function(){return"plain"===this.option("dataStructure")},_fireContentReadyAction:function(){var ze=this.getDataSource(),pt=ze&&!ze.isLoaded()||this._skipContentReadyAndItemExpanded,Ze=this.getScrollable();Ze&&(0,g.Vd)()&&Ze.update(),pt||this.callBase(),Ze&&(0,g.Vd)()&&Ze.update()},_renderScrollableContainer:function(){this._scrollable=this._createComponent((0,t.A)("<div>").appendTo(this.$element()),R.A,{useNative:this.option("useNativeScrolling"),direction:this.option("scrollDirection"),useKeyboard:!1})},_renderNodeContainer:function(ze){var pt=(0,t.A)("<ul>").addClass(le);if(this.setAria("role","group",pt),ze&&ze.length){var Ze=this._getItemData(ze.children("."+ue));this._expandedGetter(Ze)&&pt.addClass(Be),pt.appendTo(ze)}return pt},_createDOMElement:function(ze,pt){var Ze,X,Ve=(0,t.A)("<li>").addClass(re).attr(He,this._encodeString(pt.internalFields.key)).prependTo(ze),st={role:"treeitem",label:this._displayGetter(pt.internalFields.item)||"",level:this._getLevel(ze)};return!(null==pt||null===(Ze=pt.internalFields)||void 0===Ze||null===(X=Ze.childrenKeys)||void 0===X||!X.length)&&(st.expanded=pt.internalFields.expanded||!1),this.setAria(st,Ve),Ve},_getLevel:function(ze){var pt=ze.parent();return pt.hasClass("dx-scrollable-content")?1:parseInt(pt.attr("aria-level"))+1},_showCheckboxes:function(){return"none"!==this.option("showCheckBoxesMode")},_hasCustomExpanderIcons:function(){return this.option("expandIcon")||this.option("collapseIcon")},_selectAllEnabled:function(ze){return"selectAll"===(ze??this.option("showCheckBoxesMode"))&&!this._isSingleSelection()},_renderItems:function(ze,pt){for(var X=pt.length-1;X>=0;X--)this._renderItem(X,pt[X],ze);this._renderedItemsCount+=pt.length},_renderItem:function(ze,pt,Ze){var X=this._createDOMElement(Ze,pt),Ve=pt.internalFields,st=this._showCheckboxes();X.addClass(st?ce:Z),X.toggleClass(Je,!1===Ve.item.visible),this._hasCustomExpanderIcons()&&(X.addClass(_e),Ze.addClass(ne)),this.setAria("selected",Ve.selected,X),this._toggleSelectedClass(X,Ve.selected),Ve.disabled&&this.setAria("disabled",Ve.disabled,X),this.callBase(this._renderedItemsCount+ze,Ve.item,X),this._getNode(pt.internalFields.parentKey)||X.addClass(ln),!1!==Ve.item.visible&&this._renderChildren(X,pt)},_setAriaSelectionAttribute:P.lQ,_renderChildren:function(ze,pt){if(!this._hasChildren(pt))return this._addLeafClass(ze),void(0,t.A)("<div>").addClass(Ln).appendTo(this._getItem(ze));this._hasCustomExpanderIcons()?this._renderCustomExpanderIcons(ze,pt):this._renderDefaultExpanderIcons(ze,pt),this._shouldRenderSublevel(pt.internalFields.expanded)&&this._loadSublevel(pt).done(Ze=>{this._renderSublevel(ze,this._getActualNode(pt),Ze)})},_shouldRenderSublevel:function(ze){return ze||!this.option("deferRendering")},_getActualNode:function(ze){return this._dataAdapter.getNodeByKey(ze.internalFields.key)},_hasChildren:function(ze){return this._isVirtualMode()||this._useCustomChildrenLoader()?!1!==this._hasItemsGetter(ze.internalFields.item):this.callBase(ze)},_loadSublevel:function(ze){var pt=new j.cY,Ze=this._getChildNodes(ze);return Ze.length?pt.resolve(Ze):this._loadNestedItems(ze).done(X=>{pt.resolve(this._dataAdapter.getNodesByItems(X))}),pt.promise()},_getItemExtraPropNames:()=>["url","linkAttr"],_addContent:function(ze,pt){var{html:Ze,url:X}=pt;if(X){ze.html(Ze);var Ve=this._getLinkContainer(this._getIconContainer(pt),this._getTextContainer(pt),pt);ze.append(Ve)}else this.callBase(ze,pt)},_postprocessRenderItem(ze){var{itemData:pt,itemElement:Ze}=ze;this._showCheckboxes()&&this._renderCheckBox(Ze,this._getNode(pt)),this.callBase(ze)},_renderSublevel:function(ze,pt,Ze){var X=this._renderNodeContainer(ze,pt),Ve=Ze.filter(at=>-1!==pt.internalFields.childrenKeys.indexOf(at.internalFields.key));if(this._renderItems(X,Ve),Ve.length&&!pt.internalFields.selected){var st=Ve[0];this._updateParentsState(st,this._getNodeElement(st))}this._normalizeIconState(ze,Ve.length),pt.internalFields.expanded&&X.addClass(Be)},_executeItemRenderAction:function(ze,pt,Ze){var X=this._getNode(Ze);this._getItemRenderAction()({itemElement:Ze,itemIndex:ze,itemData:pt,node:this._dataAdapter.getPublicNode(X)})},_addLeafClass:function(ze){ze.addClass(Fe)},_expandEventHandler:function(ze){(0,t.A)(ze.currentTarget.parentNode).hasClass(Fe)||this._toggleExpandedState(ze.currentTarget,void 0,ze)},_attachExpandEvent:function(){var ze=this._getEventNameByOption(this.option("expandEvent")),pt=this._itemContainer();this._detachExpandEvent(pt),M.A.on(pt,ze,this._itemSelector(),this._expandEventHandler.bind(this))},_detachExpandEvent(ze){M.A.off(ze,".".concat(Ee),this._itemSelector())},_getEventNameByOption:function(ze){return(0,ee.b4)("click"===ze?p.U:f.U,Ee)},_getNode:function(ze){if(!(0,U.O9)(ze))return null;if(ze.internalFields)return ze;if((0,U.sO)(ze))return this._dataAdapter.getNodeByKey(ze);var pt=(0,t.A)(ze).get(0);return pt?v.A.isElementNode(pt)?this._getNodeByElement(pt):this._dataAdapter.getNodeByItem(pt):null},_getNodeByElement:function(ze){var pt=(0,t.A)(ze).closest("."+re),Ze=this._decodeString(pt.attr(He));return this._dataAdapter.getNodeByKey(Ze)},_toggleExpandedState:function(ze,pt,Ze){var X=this._getNode(ze);if(!X)return(new j.cY).reject().promise();if(X.internalFields.disabled)return(new j.cY).reject().promise();var Ve=X.internalFields.expanded;
1if(Ve===pt)return(new j.cY).resolve().promise();if(this._hasChildren(X)){var st=this._getNodeElement(X);if(st.find(".".concat(Re,":not(.").concat(Je,")")).length)return(new j.cY).reject().promise();!Ve&&!this._nodeHasRenderedChildren(st)&&this._createLoadIndicator(st)}return(0,U.O9)(pt)||(pt=!Ve),this._dataAdapter.toggleExpansion(X.internalFields.key,pt),this._updateExpandedItemsUI(X,pt,Ze)},_nodeHasRenderedChildren:ze=>ze.children(".".concat(le)).not(":empty").length,_getItem:function(ze){return ze.children(".".concat(ue)).eq(0)},_createLoadIndicator:function(ze){var pt=this._getItem(ze);this._createComponent((0,t.A)("<div>").addClass(Re),S.A,{}).$element().appendTo(pt),pt.children(".".concat(ke,",.").concat(Ie)).hide()},_renderExpanderIcon:function(ze,pt,Ze,X){Ze.appendTo(this._getItem(ze)),Ze.addClass(X),pt.internalFields.disabled&&Ze.addClass(Ce),this._renderToggleItemVisibilityIconClick(Ze,pt)},_renderDefaultExpanderIcons:function(ze,pt){var Ze=this._getItem(ze),X=(0,t.A)("<div>").addClass(ke).appendTo(Ze);pt.internalFields.expanded&&(X.addClass(yt),ze.parent().addClass(Be)),pt.internalFields.disabled&&X.addClass(Ce),this._renderToggleItemVisibilityIconClick(X,pt)},_renderCustomExpanderIcons:function(ze,pt){var{expandIcon:Ze,collapseIcon:X}=this.option(),Ve=(0,Y.N)(Ze??X),st=(0,Y.N)(X??Ze);this._renderExpanderIcon(ze,pt,Ve,Ie),this._renderExpanderIcon(ze,pt,st,Ne);var at=pt.internalFields.expanded;at&&ze.parent().addClass(Be),this._toggleCustomExpanderIcons(Ve,st,at)},_renderToggleItemVisibilityIconClick:function(ze,pt){var Ze=(0,ee.b4)(p.U,this.NAME);M.A.off(ze,Ze),M.A.on(ze,Ze,X=>(this._toggleExpandedState(pt.internalFields.key,void 0,X),!1))},_toggleCustomExpanderIcons:function(ze,pt,Ze){pt.toggle(Ze),ze.toggle(!Ze)},_updateExpandedItemsUI:function(ze,pt,Ze){var X=this._getNodeElement(ze),Ve=!X.length||pt&&X.is(":hidden");if(this.option("expandNodesRecursive")&&Ve){var st=this._getNode(ze.internalFields.parentKey);st&&this._updateExpandedItemsUI(st,pt,Ze)}if(this._hasCustomExpanderIcons()){if(this._nodeHasRenderedChildren(X)){var V=this._getItem(X),pe=V.children(".".concat(Ie)),Te=V.children(".".concat(Ne));this._toggleCustomExpanderIcons(pe,Te,pt)}}else this._getItem(X).children(".".concat(ke)).toggleClass(yt,pt);var ft=X.children(".".concat(le)),At=ft.length>0,sn=new j.cY;return!pt||At&&!ft.is(":empty")?(this._animateNodeContainer(ze,pt,Ze,sn),sn.promise()):0===ze.internalFields.childrenKeys.length&&(this._isVirtualMode()||this._useCustomChildrenLoader())?(this._loadNestedItemsWithUpdate(ze,pt,Ze,sn),sn.promise()):(this._renderSublevel(X,ze,this._getChildNodes(ze)),this._fireContentReadyAction(),this._animateNodeContainer(ze,pt,Ze,sn),sn.promise())},_loadNestedItemsWithUpdate:function(ze,pt,Ze,X){var Ve=this._getNodeElement(ze);this._loadNestedItems(ze).done(st=>{var at=this._getActualNode(ze);this._renderSublevel(Ve,at,this._dataAdapter.getNodesByItems(st)),st&&st.length?(this._fireContentReadyAction(),this._animateNodeContainer(at,pt,Ze,X)):X.resolve()})},_loadNestedItems:function(ze){if(this._useCustomChildrenLoader()){var pt=this._dataAdapter.getPublicNode(ze);return this._loadChildrenByCustomLoader(pt).done(Ze=>{this._areNodesExists(Ze)||this._appendItems(Ze)})}return this._isVirtualMode()?(this._filter.internal=[this.option("parentIdExpr"),ze.internalFields.key],this._dataSource.filter(this._combineFilter()),this._dataSource.load().done(Ze=>{this._areNodesExists(Ze)||this._appendItems(Ze)})):(new j.cY).resolve([]).promise()},_areNodesExists:function(ze,pt){var Ze=this.keyOf(ze[0]),X=this._dataAdapter.getFullData();return!!this._dataAdapter.getNodeByKey(Ze,X)},_appendItems:function(ze){this.option().items=this.option("items").concat(ze),this._initDataAdapter()},_animateNodeContainer:function(ze,pt,Ze,X){var Ve=this._getNodeElement(ze),st=Ve.children(".".concat(le));ze&&X&&0===st.length&&X.resolve(),st.addClass(Be);var at=(0,b.Oq)(st);D.A.stop(st,!0),D.A.animate(st,{type:"custom",duration:this.option("animationEnabled")?400:0,from:{maxHeight:pt?0:at},to:{maxHeight:pt?at:0},complete:function(){st.css("maxHeight","none"),st.toggleClass(Be,pt),this.setAria("expanded",pt,Ve),this.get
1Scrollable().update(),this._fireExpandedStateUpdatedEvent(pt,ze,Ze),X&&X.resolve()}.bind(this)})},_fireExpandedStateUpdatedEvent:function(ze,pt,Ze){if(this._hasChildren(pt)&&!this._skipContentReadyAndItemExpanded){var X=ze?"onItemExpanded":"onItemCollapsed";if((0,U.O9)(Ze))this._itemDXEventHandler(Ze,X,{node:this._dataAdapter.getPublicNode(pt)});else{var Ve=this._getNodeElement(pt);this._itemEventHandler(Ve,X,{event:Ze,node:this._dataAdapter.getPublicNode(pt)})}}},_normalizeIconState:function(ze,pt){var X,Ze=ze.find(".".concat(Re));Ze.length&&(null===(X=S.A.getInstance(Ze))||void 0===X||X.option("visible",!1));var st=this._getItem(ze).children(".".concat(Ne,",.").concat(ke));pt?st.show():(st.removeClass(ke),ze.addClass(Fe))},_emptyMessageContainer:function(){var ze=this.getScrollable();return ze?(0,t.A)(ze.content()):this.callBase()},_renderContent:function(){var ze=this.option("items");ze&&ze.length&&(this._contentAlreadyRendered=!0),this.callBase()},_renderSelectAllItem:function(ze){var{selectAllText:pt,focusStateEnabled:Ze}=this.option();ze=ze||this.$element().find(".".concat(le)).first(),this._$selectAllItem=(0,t.A)("<div>").addClass(dt);var X=this._dataAdapter.isAllSelected();this._createComponent(this._$selectAllItem,K.A,{value:X,elementAttr:{"aria-label":"Select All"},text:pt,focusStateEnabled:Ze,onValueChanged:this._onSelectAllCheckboxValueChanged.bind(this),onInitialized:Ve=>{var{component:st}=Ve;st.registerKeyHandler("enter",()=>{st.option("value",!st.option("value"))})}}),this._toggleSelectedClass(this._$selectAllItem,X),ze.before(this._$selectAllItem)},_onSelectAllCheckboxValueChanged:function(ze){this._toggleSelectAll(ze),this._fireSelectAllValueChanged(ze.value)},_toggleSelectAll:function(ze){this._dataAdapter.toggleSelectAll(ze.value),this._updateItemsUI(),this._fireSelectionChanged()},_renderCheckBox:function(ze,pt){var Ze=(0,t.A)("<div>").appendTo(ze);this._createComponent(Ze,K.A,{value:pt.internalFields.selected,onValueChanged:this._changeCheckboxValue.bind(this),focusStateEnabled:!1,elementAttr:{"aria-label":"Check State"},disabled:this._disabledGetter(pt)})},_toggleSelectedClass:function(ze,pt){ze.toggleClass("dx-state-selected",!!pt)},_toggleNodeDisabledState:function(ze,pt){var Ze=this._getNodeElement(ze),X=Ze.find("."+ue).eq(0);this._dataAdapter.toggleNodeDisabledState(ze.internalFields.key,pt),X.toggleClass(Ce,!!pt),this._showCheckboxes()&&this._getCheckBoxInstance(Ze).option("disabled",!!pt)},_itemOptionChanged:function(ze,pt,Ze){var X=this._dataAdapter.getNodeByItem(ze);pt===this.option("disabledExpr")&&this._toggleNodeDisabledState(X,Ze)},_changeCheckboxValue:function(ze){var pt=(0,t.A)(ze.element).closest(".".concat(re)),Ze=this._getItem(pt),X=this._getItemData(Ze),Ve=this._getNodeByElement(Ze),st=ze.value;Ve&&Ve.internalFields.selected===st||this._updateItemSelection(st,X,ze.event)},_isSingleSelection:function(){return"single"===this.option("selectionMode")},_isRecursiveSelection:function(){return this.option("selectNodesRecursive")&&"single"!==this.option("selectionMode")},_isLastSelectedBranch:function(ze,pt,Ze){var X=pt.indexOf(ze.key);return X>=0&&pt.splice(X,1),Ze&&(0,G.__)(ze.children,function(Ve,st){this._isLastSelectedBranch(st,pt,!0)}.bind(this)),ze.parent&&this._isLastSelectedBranch(ze.parent,pt),0===pt.length},_isLastRequired:function(ze){var pt=this.option("selectionRequired"),Ze=this._isSingleSelection(),X=this.getSelectedNodeKeys();if(pt)return Ze?1===X.length:this._isLastSelectedBranch(ze.internalFields.publicNode,X.slice(),!0)},_updateItemSelection:function(ze,pt,Ze){var X=this._getNode(pt);if(!X||!1===X.visible)return!1;if(X.internalFields.selected===ze)return!0;if(!ze&&this._isLastRequired(X)){if(this._showCheckboxes()){var Ve=this._getNodeElement(X);this._getCheckBoxInstance(Ve).option("value",!0)}return!1}if(ze&&this._isSingleSelection()){var st=this.getSelectedNodeKeys();(0,G.__)(st,(pe,Te)=>{this._dataAdapter.toggleSelection(Te,!1),this._updateItemsUI(),this._fireItemSelectionChanged(this._getNode(Te))})}this._dataAdapter.toggleSelection(X.internalFields.key,ze);var at=this._dataAdapter.isAllSelected(),V=this._selectAllEnabled()&&this._$selectAllItem.dxCheckBox("instance").option("value")!==at;return this._updateItemsUI(),this._fireItemSelectionChanged(X,Ze),this._fireSelectionChanged(),V&&this._fireSelectAllValueChanged(at),!0},_fireItemSelectionChanged:function(ze,pt){var Ze=pt||this._findItemElementByItem(ze.internalFields.item);(pt?this._itemDXEventHandler:this._itemEventHandler).call(this,Ze,"onItemSelectionChanged",{node:this._dataAdapter.getPublicNode(ze),itemData:ze.internalFields.item})},_getCheckBoxInstance:function(ze){return this._getItem(ze).children(".".concat(It)).dxCheckBox("instance")},_updateItemsUI:function(){var ze={};if((0,G.__)(this._dataAdapter.getData(),(Ze,X)=>{var Ve=this._getNodeElement(X,ze),st=X.internalFields.selected;Ve.length&&(this._toggleSelectedClass(Ve,st),this.setAria("selected",st,Ve),this._showCheckboxes()&&this._getCheckBoxInstance(Ve).option("value",st))}),this._selectAllEnabled()){var pt=this._$selectAllItem.dxCheckBox("instance");pt.option("onValueChanged",void 0),pt.option("value",this._dataAdapter.isAllSelected()),pt.option("onValueChanged",this._onSelectAllCheckboxValueChanged.bind(this))}},_updateParentsState:function(ze,pt){if(pt){var Ze=this._dataAdapter.getNodeByKey(ze.internalFields.parentKey),X=(0,t.A)(pt.parents("."+re)[0]);if(this._showCheckboxes()){var Ve=Ze.internalFields.selected;this._getCheckBoxInstance(X).option("value",Ve),this._toggleSelectedClass(X,Ve)}Ze.internalFields.parentKey!==this.option("rootValue")&&this._updateParentsState(Ze,X)}},_itemEventHandlerImpl:function(ze,pt,Ze){var X=(0,t.A)(ze).closest("."+re).children("."+ue);return pt((0,_.X)(this._extendActionArgs(X),Ze))},_itemContextMenuHandler:function(ze){this._createEventHandler("onItemContextMenu",ze)},_itemHoldHandler:function(ze){this._createEventHandler("onItemHold",ze)},_createEventHandler:function(ze,pt){var Ze=this._getNodeByElement(pt.currentTarget);this._itemDXEventHandler(pt,ze,{node:this._dataAdapter.getPublicNode(Ze)})},_itemClass:function(){return ue},_itemDataKey:function(){return ve},_attachClickEvent:function(){var ze=this._itemContainer();this._detachClickEvent(ze);var{clickEventNamespace:pt,itemSelector:Ze,pointerDownEventNamespace:X,nodeSelector:Ve}=this._getItemClickEventData();M.A.on(ze,pt,Ze,st=>{(0,t.A)(st.target).hasClass("dx-checkbox-icon")||(0,t.A)(st.target).hasClass(It)||this._itemClickHandler(st,(0,t.A)(st.currentTarget))}),M.A.on(ze,X,Ve,st=>{this._itemPointerDownHandler(st)})},_detachClickEvent:function(ze){var{clickEventNamespace:pt,itemSelector:Ze,pointerDownEventNamespace:X,nodeSelector:Ve}=this._getItemClickEventData();M.A.off(ze,pt,Ze),M.A.off(ze,X,Ve)},_getItemClickEventData:function(){var ze=".".concat(this._itemClass()),pt=".".concat(re,", .").concat(dt);return{clickEventNamespace:(0,ee.b4)(p.U,this.NAME),itemSelector:ze,pointerDownEventNamespace:(0,ee.b4)(L.A.down,this.NAME),nodeSelector:pt}},_itemClick:function(ze){var pt=ze.args[0],X=(pt.event.target[0]||pt.event.target).getElementsByClassName("dx-item-url")[0];pt.itemData.url&&X&&X.click()},_itemClickHandler:function(ze,pt){var Ze=this._getItemData(pt),X=this._getNodeByElement(pt);this._itemDXEventHandler(ze,"onItemClick",{node:this._dataAdapter.getPublicNode(X)}
1,{beforeExecute:this._itemClick}),this.option("selectByClick")&&!ze.isDefaultPrevented()&&this._updateItemSelection(!X.internalFields.selected,Ze,ze)},_updateSelectionToFirstItem:function(ze,pt){for(var Ze=pt;Ze>=0;){var X=(0,t.A)(ze[Ze]);this._updateItemSelection(!0,X.find("."+ue).get(0)),Ze--}},_updateSelectionToLastItem:function(ze,pt){for(var Ze=ze.length,X=pt;X<Ze;){var Ve=(0,t.A)(ze[X]);this._updateItemSelection(!0,Ve.find("."+ue).get(0)),X++}},focus:function(){this._selectAllEnabled()?M.A.trigger(this._$selectAllItem,"focus"):this.callBase()},_focusInHandler:function(ze){this._updateFocusState(ze,!0);var pt=(0,t.A)(ze.target).hasClass(dt);if(pt||this.option("focusedElement"))return clearTimeout(this._setFocusedItemTimeout),void(this._setFocusedItemTimeout=setTimeout(()=>{var X=pt?(0,A.c)(this._$selectAllItem):(0,t.A)(this.option("focusedElement"));this._setFocusedItem(X)}));var Ze=this._getActiveItem();this.option("focusedElement",(0,A.c)(Ze.closest("."+re)))},_itemPointerDownHandler:function(ze){if(this.option("focusStateEnabled")){var pt=(0,t.A)(ze.target).closest("."+re+", ."+dt);if(pt.length){var Ze=pt.hasClass(Ce)?null:pt;this.option("focusedElement",(0,A.c)(Ze))}}},_findNonDisabledNodes:function(ze){return ze.not(function(){return(0,t.A)(this).children("."+ue).hasClass(Ce)})},_moveFocus:function(ze,pt){var at=this.option("rtlEnabled")?"right":"left",V=this.option("rtlEnabled")?"left":"right";this.$element().find(".".concat(le)).each(function(){D.A.stop(this,!0)});var pe=this._nodeElements();if(pe&&pe.length)switch(ze){case"up":var Te=this._prevItem(pe);this.option("focusedElement",(0,A.c)(Te));var ft=this._getNodeItemElement(Te);this.getScrollable().scrollToElement(ft),pt.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,ft);break;case"down":var At=this._nextItem(pe);this.option("focusedElement",(0,A.c)(At));var sn=this._getNodeItemElement(At);this.getScrollable().scrollToElement(sn),pt.shiftKey&&this._showCheckboxes()&&this._updateItemSelection(!0,sn);break;case"first":var Bt=pe.first();pt.shiftKey&&this._showCheckboxes()&&this._updateSelectionToFirstItem(pe,pe.index(this._prevItem(pe))),this.option("focusedElement",(0,A.c)(Bt)),this.get
1Scrollable().scrollToElement(this._getNodeItemElement(Bt));break;case"last":var Ut=pe.last();pt.shiftKey&&this._showCheckboxes()&&this._updateSelectionToLastItem(pe,pe.index(this._nextItem(pe))),this.option("focusedElement",(0,A.c)(Ut)),this.getScrollable().scrollToElement(this._getNodeItemElement(Ut));break;case V:this._expandFocusedContainer();break;case at:this._collapseFocusedContainer();break;default:return void this.callBase.apply(this,arguments)}},_getNodeItemElement:function(ze){return ze.find("."+ue).get(0)},_nodeElements:function(){return this.$element().find("."+re).not(":hidden")},_expandFocusedContainer:function(){var ze=(0,t.A)(this.option("focusedElement"));if(ze.length&&!ze.hasClass(Fe)){if(ze.find(".".concat(le)).eq(0).hasClass(Be)){var Ze=this._nextItem(this._findNonDisabledNodes(this._nodeElements()));return this.option("focusedElement",(0,A.c)(Ze)),void this.getScrollable().scrollToElement(this._getNodeItemElement(Ze))}var X=this._getNodeByElement(this._getItem(ze));this._toggleExpandedState(X,!0)}},_getClosestNonDisabledNode:function(ze){do{ze=ze.parent().closest("."+re)}while(ze.children(".dx-treeview-item.dx-state-disabled").length);return ze},_collapseFocusedContainer:function(){var ze=(0,t.A)(this.option("focusedElement"));if(ze.length){var pt=ze.find(".".concat(le)).eq(0);if(!ze.hasClass(Fe)&&pt.hasClass(Be)){var Ze=this._getNodeByElement(this._getItem(ze));this._toggleExpandedState(Ze,!1)}else{var X=this._getClosestNonDisabledNode(ze);X.length&&this.option("focusedElement",(0,A.c)(X)),this.getScrollable().scrollToElement(this._getNodeItemElement(X))}}},_encodeString:function(ze){return(0,U.Kg)(ze)?encodeURI(ze):ze},_decodeString:function(ze){return(0,U.Kg)(ze)?decodeURI(ze):ze},getScrollable:function(){return this._scrollable},updateDimensions:function(){var ze=new j.cY,pt=this.getScrollable();return pt?pt.update().done(()=>{ze.resolveWith(this)}):ze.resolveWith(this),ze.promise()},selectItem:function(ze){return this._updateItemSelection(!0,ze)},unselectItem:function(ze){return this._updateItemSelection(!1,ze)},expandItem:function(ze){return this._toggleExpandedState(ze,!0)},collapseItem:function(ze){return this._toggleExpandedState(ze,!1)},getNodes:function(){return this._dataAdapter.getTreeNodes()},getSelectedNodes:function(){return this.getSelectedNodeKeys().map(ze=>{var pt=this._dataAdapter.getNodeByKey(ze);return this._dataAdapter.getPublicNode(pt)})},getSelectedNodeKeys:function(){return this._dataAdapter.getSelectedNodesKeys()},selectAll:function(){this._selectAllEnabled()?this._$selectAllItem.dxCheckBox("instance").option("value",!0):this._toggleSelectAll({value:!0})},unselectAll:function(){this._selectAllEnabled()?this._$selectAllItem.dxCheckBox("instance").option("value",!1):this._toggleSelectAll({value:!1})},_allItemsExpandedHandler:function(){this._skipContentReadyAndItemExpanded=!1,this._fireContentReadyAction()},expandAll:function(){var ze=this._dataAdapter.getData(),pt=[];this._skipContentReadyAndItemExpanded=!0,ze.forEach(Ze=>pt.push(this._toggleExpandedState(Ze.internalFields.key,!0))),Promise.allSettled(pt).then(()=>{var Ze;return null===(Ze=this._allItemsExpandedHandler)||void 0===Ze?void 0:Ze.call(this)})},collapseAll:function(){(0,G.__)(this._dataAdapter.getExpandedNodesKeys(),function(ze,pt){this._toggleExpandedState(pt,!1)}.bind(this))},scrollToItem:function(ze){var pt=this._getNode(ze);if(!pt)return(new j.cY).reject().promise();for(var Ze=[],X=pt.internalFields.publicNode.parent;null!=X;)X.expanded||Ze.push(X.key),X=X.parent;var Ve=new j.cY;return this._expandNodes(Ze.reverse()).always(()=>{var st=this._getNodeElement(pt);st&&st.length?(this.scrollToElementTopLeft(st.get(0)),Ve.resolve()):Ve.reject()}),Ve.promise()},scrollToElementTopLeft:function(ze){var pt=this.getScrollable(),{scrollDirection:Ze,rtlEnabled:X}=this.option(),Ve={top:0,left:0},st=(0,H.Y)(J.JU,ze);if(Ze!==J.lm){var at=(0,t.A)(pt.container()).get(0);Ve.left=X?st.left+ze.offsetWidth-at.clientWidth:st.left}Ze!==J.fK&&(Ve.top=st.top),pt.scrollTo(Ve)},_expandNodes:function(ze){if(!ze||0===ze.length)return(new j.cY).resolve().promise();var pt=new j.cY,Ze=ze.map(X=>this.expandItem(X));return j.z7.apply(t.A,Ze).done(()=>pt.resolve()).fail(()=>pt.reject()),pt.promise()},_dispose:function(){this.callBase(),clearTimeout(this._setFocusedItemTimeout),this._allItemsExpandedHandler=null}});m.A.setEditorClass(x.A);var rt="dx-treeview",Ae="".concat(rt,"-node-container"),Ke=ct.inherit(m.A).inherit({_addWidgetPrefix:function(ze){return"".concat(rt,"-").concat(ze)},_optionChanged:function(ze){switch(ze.name){case"searchValue":this._showCheckboxes()&&this._isRecursiveSelection()&&this._removeSelection(),this._initDataAdapter(),this._updateSearch(),this._repaintContainer(),this.option("focusedElement",null);break;case"searchExpr":this._initDataAdapter(),this.repaint();break;case"searchMode":this.option("expandNodesRecursive")?this._updateDataAdapter():this._initDataAdapter(),this.repaint();break;default:this.callBase(ze)}},_updateDataAdapter:function(){this._setOptionWithoutOptionChange("exp
1andNodesRecursive",!1),this._initDataAdapter(),this._setOptionWithoutOptionChange("expandNodesRecursive",!0)},_getDataAdapterOptions:function(){return(0,_.X)(this.callBase(),{searchValue:this.option("searchValue"),searchMode:this.option("searchMode")||"contains",searchExpr:this.option("searchExpr")})},_getNodeContainer:function(){return this.$element().find(".".concat(Ae)).first()},_updateSearch:function(){if(this._searchEditor){var ze=this._getSearchEditorOptions();this._searchEditor.option(ze)}},_repaintContainer:function(){var pt,ze=this._getNodeContainer();ze.length&&(ze.empty(),pt=this._dataAdapter.getRootNodes(),this._renderEmptyMessage(pt),this._renderItems(ze,pt),this._fireContentReadyAction())},_focusTarget:function(){return this._itemContainer(this.option("searchEnabled"))},_cleanItemContainer:function(){this.$element().empty()},_itemContainer:function(ze,pt){var Ze;return null!==(Ze=pt)&&void 0!==Ze||(pt=this._selectAllEnabled()),pt?this._getNodeContainer():this._scrollable&&ze?(0,t.A)(this._scrollable.content()):this.callBase()},_addWidgetClass:function(){this.$element().addClass(this._widgetClass())},_clean:function(){this.callBase(),this._removeSearchBox()}});(0,c.A)("dxTreeView",Ke);const Wt=Ke},9130:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>H});var t=a(6221),c=a(7951),m=a(2101),x=a(7278),_=a(7550),b=a(5042),v=a(2463),M=a(5655),N=a(736),p=a(2984),P=/^[\d\w.+_-]+@[\d\w._-]+\.[\w]+$/i;class U{constructor(){this.NAME="base"}defaultMessage(Y){return N.A.getFormatter("validation-".concat(this.NAME))(Y)}defaultFormattedMessage(Y){return N.A.getFormatter("validation-".concat(this.NAME,"-formatted"))(Y)}_isValueEmpty(Y){return!S.required.validate(Y,{})}validate(Y,W){var re=Array.isArray(Y)?Y:[Y],le=!0;return re.length?re.every(Re=>le=this._validate(Re,W)):le=this._validate(null,W),le}}class ee extends U{constructor(){super(),this.NAME="custom"}validate(Y,W){if(W.ignoreEmptyValue&&this._isValueEmpty(Y))return!0;var re=W.validator,le=re&&(0,v.Tn)(re.option)&&re.option("dataGetter"),Re=(0,v.Tn)(le)&&le(),Be={value:Y,validator:re,rule:W};return Re&&(0,c.X)(Be,Re),W.validationCallback(Be)}}var S={required:new class G extends U{constructor(){super(),this.NAME="required"}_validate(Y,W){return!(!(0,v.O9)(Y)||!1===Y)&&(Y=String(Y),(W.trim||!(0,v.O9)(W.trim))&&(Y=Y.trim()),""!==Y)}},numeric:new class A extends U{constructor(){super(),this.NAME="numeric"}_validate(Y,W){return!(!1===W.ignoreEmptyValue||!this._isValueEmpty(Y))||(W.useCultureSettings&&(0,v.Kg)(Y)?!isNaN(M.A.parse(Y)):(0,v.kf)(Y))}},range:new class K extends U{constructor(){super(),this.NAME="range"}_validate(Y,W){if(!1!==W.ignoreEmptyValue&&this._isValueEmpty(Y))return!0;var re=S.numeric.validate(Y,W),le=(0,v.O9)(Y)&&""!==Y,Re=re?parseFloat(Y):le&&Y.valueOf(),Be=W.min,Fe=W.max;if(!re&&!(0,v.$P)(Y)&&!le)return!1;if((0,v.O9)(Be))return(0,v.O9)(Fe)?Re>=Be&&Re<=Fe:Re>=Be;if((0,v.O9)(Fe))return Re<=Fe;throw _.A.Error("E0101")}},stringLength:new class z extends U{constructor(){super(),this.NAME="stringLength"}_validate(Y,W){var re;return Y=String(null!==(re=Y)&&void 0!==re?re:""),(W.trim||!(0,v.O9)(W.trim))&&(Y=Y.trim()),!(!W.ignoreEmptyValue||!this._isValueEmpty(Y))||S.range.validate(Y.length,(0,c.X)({},W))}},custom:new ee,async:new class L extends ee{constructor(){super(),this.NAME="async"}validate(Y,W){if((0,v.O9)(W.reevaluate)||(0,c.X)(W,{reevaluate:!0}),W.ignoreEmptyValue&&this._isValueEmpty(Y))return!0;var re=W.validator,le=re&&(0,v.Tn)(re.option)&&re.option("dataGetter"),Re=(0,v.Tn)(le)&&le(),Be={value:Y,validator:re,rule:W};Re&&(0,c.X)(Be,Re);var Fe=W.validationCallback(Be);if(!(0,v.yL)(Fe))throw _.A.Error("E0103");return this._getWrappedPromise((0,p.Sx)(Fe).promise())}_getWrappedPromise(Y){var W=new p.cY;return Y.then(function(re){W.resolve(re)},function(re){var le={isValid:!1};(0,v.O9)(re)&&((0,v.Kg)(re)?le.message=re:(0,v.Gv)(re)&&(0,v.O9)(re.message)&&(0,v.Kg)(re.message)&&(le.message=re.message)),W.resolve(le)}),W.promise()}},compare:new class f extends U{constructor(){super(),this.NAME="compare"}_validate(Y,W){if(!W.comparisonTarget)throw _.A.Error("E0102");if(W.ignoreEmptyValue&&this._isValueEmpty(Y))return!0;(0,c.X)(W,{reevaluate:!0});var re=W.comparisonTarget();switch(W.comparisonType||"=="){case"==":return Y==re;case"!=":return Y!=re;case"===":return Y===re;case"!==":return Y!==re;case">":return Y>re;case">=":return Y>=re;case"<":return Y<re;case"<=":return Y<=re}}},pattern:new class D extends U{constructor(){super(),this.NAME="pattern"}_validate(Y,W){if(!1!==W.ignoreEmptyValue&&this._isValueEmpty(Y))return!0;var re=W.pattern;return(0,v.Kg)(re)&&(re=new RegExp(re)),re.test(Y)}},email:new class R extends U{constructor(){super(),this.NAME="email"}_validate(Y,W){return!(!1===W.ignoreEmptyValue||!this._isValueEmpty(Y))||S.pattern.validate(Y,(0,c.X)({},W,{pattern:P}))}}},j=t.A.inherit({ctor(J){this.group=J,this.validators=[],this._pendingValidators=[],this._onValidatorStatusChanged=this._onValidatorStatusChanged.bind(this),this._resetValidationInfo(),this._eventsStrategy=new x.h(this)},validate(){var J={isValid:!0,brokenRules:[],validators:[],status:"val
1id",complete:null};return this._unsubscribeFromAllChangeEvents(),this._pendingValidators=[],this._resetValidationInfo(),(0,m.__)(this.validators,(Y,W)=>{var re=W.validate();J.isValid=J.isValid&&re.isValid,re.brokenRules&&(J.brokenRules=J.brokenRules.concat(re.brokenRules)),J.validators.push(W),"pending"===re.status&&this._addPendingValidator(W),this._subscribeToChangeEvents(W)}),this._pendingValidators.length?J.status="pending":(J.status=J.isValid?"valid":"invalid",this._unsubscribeFromAllChangeEvents(),this._raiseValidatedEvent(J)),this._updateValidationInfo(J),(0,c.X)({},this._validationInfo.result)},_subscribeToChangeEvents(J){J.on("validating",this._onValidatorStatusChanged),J.on("validated",this._onValidatorStatusChanged)},_unsubscribeFromChangeEvents(J){J.off("validating",this._onValidatorStatusChanged),J.off("validated",this._onValidatorStatusChanged)},_unsubscribeFromAllChangeEvents(){(0,m.__)(this.validators,(J,Y)=>{this._unsubscribeFromChangeEvents(Y)})},_updateValidationInfo(J){this._validationInfo.result=J,"pending"===J.status&&(this._validationInfo.deferred||(this._validationInfo.deferred=new p.cY,this._validationInfo.result.complete=this._validationInfo.deferred.promise()))},_addPendingValidator(J){(0,b.VM)(this._pendingValidators,function(W){return W===J})[0]||this._pendingValidators.push(J)},_removePendingValidator(J){var Y=this._pendingValidators.indexOf(J);Y>=0&&this._pendingValidators.splice(Y,1)},_orderBrokenRules(J){var Y=[];return(0,m.__)(this.validators,function(W,re){var le=(0,b.VM)(J,function(Re){return Re.validator===re});le.length&&(Y=Y.concat(le))}),Y},_updateBrokenRules(J){if(this._validationInfo.result){var Y=this._validationInfo.result.brokenRules,W=(0,b.VM)(Y,function(re){return re.validator!==J.validator});J.brokenRules&&(Y=W.concat(J.brokenRules)),this._validationInfo.result.brokenRules=this._orderBrokenRules(Y)}},_onValidatorStatusChanged(J){"pending"!==J.status?this._resolveIfComplete(J):this._addPendingValidator(J.validator)},_resolveIfComplete(J){if(this._removePendingValidator(J.validator),this._updateBrokenRules(J),!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 Y=(0,c.X)({},this._validationInfo.result,{complete:null}),W=this._validationInfo.deferred;this._validationInfo.deferred=null,this._raiseValidatedEvent(Y),W&&setTimeout(()=>{W.resolve(Y)})}},_raiseValidatedEvent(J){this._eventsStrategy.fireEvent("validated",[J])},_resetValidationInfo(){this._validationInfo={result:null,deferred:null}},_synchronizeValidationInfo(){this._validationInfo.result&&(this._validationInfo.result.validators=this.validators)},removeRegisteredValidator(J){var Y=this.validators.indexOf(J);Y>-1&&(this.validators.splice(Y,1),this._synchronizeValidationInfo(),this._resolveIfComplete({validator:J}))},registerValidator(J){this.validators.includes(J)||(this.validators.push(J),this._synchronizeValidationInfo())},reset(){(0,m.__)(this.validators,function(J,Y){Y.reset()}),this._pendingValidators=[],this._resetValidationInfo()},on(J,Y){return this._eventsStrategy.on(J,Y),this},off(J,Y){return this._eventsStrategy.off(J,Y),this}}),fe={groups:[],getGroupConfig(J){var Y=(0,b.VM)(this.groups,function(W){return W.group===J});if(Y.length)return Y[0]},findGroup(J,Y){var W,re,Re=(null===(W=J.data())||void 0===W||null===(re=W.dxComponents)||void 0===re?void 0:re.includes("dxValidationGroup"))&&J.dxValidationGroup("instance");if(Re)return Re;var Be=J.parents(".dx-validationgroup").first();return Be.length?Be.dxValidationGroup("instance"):Y},initGroups(){this.groups=[],this.addGroup()},addGroup(J){var Y=this.getGroupConfig(J);return Y||(Y=new j(J),this.groups.push(Y)),Y},removeGroup(J){var Y=this.getGroupConfig(J),W=this.groups.indexOf(Y);return W>-1&&this.groups.splice(W,1),Y},_setDefaultMessage(J){var{rule:Y,validator:W,name:re}=J;(0,v.O9)(Y.message)||(Y.message=W.defaultFormattedMessage&&(0,v.O9)(re)?W.defaultFormattedMessage(re):W.defaultMessage())},_addBrokenRule(J){var{result:Y,rule:W}=J;Y.brokenRule||(Y.brokenRule=W),Y.brokenRules||(Y.brokenRules=[]),Y.brokenRules.push(W)},validate(J,Y,W){var re,le={name:W,value:J,brokenRule:null,brokenRules:null,isValid:!0,validationRules:Y,pendingRules:null,status:"val
1id",complete:null},Re=null==Y||null===(re=Y[0])||void 0===re?void 0:re.validator,Be=[];return(0,m.__)(Y||[],(Fe,ue)=>{var _e,ce=S[ue.type];if(!ce)throw _.A.Error("E0100");return(0,v.O9)(ue.isValid)&&ue.value===J&&!ue.reevaluate?!!ue.isValid||(le.isValid=!1,this._addBrokenRule({result:le,rule:ue}),!1):(ue.value=J,"async"===ue.type?(Be.push({rule:ue,ruleValidator:ce}),!0):(_e=ce.validate(J,ue),ue.isValid=_e,_e||(le.isValid=!1,this._setDefaultMessage({rule:ue,validator:ce,name:W}),this._addBrokenRule({result:le,rule:ue})),!!ue.isValid&&void 0))}),le.isValid&&!le.brokenRules&&Be.length&&(le=this._validateAsyncRules({value:J,items:Be,result:le,name:W})),this._synchronizeGroupValidationInfo(Re,le),le.status=le.pendingRules?"pending":le.isValid?"valid":"invalid",le},_synchronizeGroupValidationInfo(J,Y){var W;if(J){var re=fe.getGroupConfig(J._validationGroup);re._updateBrokenRules.call(re,{validator:J,brokenRules:null!==(W=Y.brokenRules)&&void 0!==W?W:[]})}},_validateAsyncRules(J){var{result:Y,value:W,items:re,name:le}=J,Re=[];return(0,m.__)(re,(Be,Fe)=>{var ue=Fe.ruleValidator.validate(W,Fe.rule);if((0,v.yL)(ue)){Y.pendingRules||(Y.pendingRules=[]),Y.pendingRules.push(Fe.rule);var ce=ue.then(_e=>{var ne=this._getPatchedRuleResult(_e);return this._updateRuleConfig({rule:Fe.rule,ruleResult:ne,validator:Fe.ruleValidator,name:le}),ne});Re.push(ce)}else this._updateRuleConfig({rule:Fe.rule,ruleResult:this._getPatchedRuleResult(ue),validator:Fe.ruleValidator,name:le})}),Re.length&&(Y.complete=Promise.all(Re).then(Be=>this._getAsyncRulesResult({result:Y,values:Be}))),Y},_updateRuleConfig(J){var{rule:Y,ruleResult:W,validator:re,name:le}=J;Y.isValid=W.isValid,W.isValid||((0,v.O9)(W.message)&&(0,v.Kg)(W.message)&&W.message.length?Y.message=W.message:this._setDefaultMessage({rule:Y,validator:re,name:le}))},_getPatchedRuleResult(J){var Y;return(0,v.Gv)(J)?(Y=(0,c.X)({},J),(0,v.O9)(Y.isValid)||(Y.isValid=!0)):Y={isValid:!(0,v.Lm)(J)||J},Y},_getAsyncRulesResult(J){var{values:Y,result:W}=J;return(0,m.__)(Y,(re,le)=>{!1===le.isValid&&(W.isValid=le.isValid,this._addBrokenRule({result:W,rule:W.pendingRules[re]}))}),W.pendingRules=null,W.complete=null,W.status=W.isValid?"valid":"invalid",W},registerValidatorInGroup(J,Y){var W=fe.addGroup(J);W.registerValidator.call(W,Y)},_shouldRemoveGroup:(J,Y)=>!(void 0===J||J&&"dxValidationGroup"===J.NAME||Y.length),removeRegisteredValidator(J,Y){var W=fe.getGroupConfig(J);W&&(W.removeRegisteredValidator.call(W,Y),this._shouldRemoveGroup(J,W.validators)&&this.removeGroup(J))},initValidationOptions(J){var Y={};return J&&["isValid","validationStatus","validationError","validationErrors"].forEach(W=>{W in J&&(0,c.X)(Y,this.synchronizeValidationOptions({name:W,value:J[W]},J))}),Y},synchronizeValidationOptions(J,Y){var{name:W,value:re}=J;switch(W){case"validationStatus":var le="valid"===re||"pending"===re;return Y.isValid!==le?{isValid:le}:{};case"isValid":var{validationStatus:Re}=Y,Be=Re;return re&&"invalid"===Re?Be="valid":!re&&"invalid"!==Re&&(Be="invalid"),Be!==Re?{validationStatus:Be}:{};case"validationErrors":var Fe=re&&re.length?re[0]:null;return Y.validationError!==Fe?{validationError:Fe}:{};case"validationError":var{validationErrors:ue}=Y;if(!re&&ue)return{validationErrors:null};if(re&&!ue)return{validationErrors:[re]};if(re&&ue&&re!==ue[0])return ue[0]=re,{validationErrors:ue.slice()}}return{}},validateGroup(J){var Y=fe.getGroupConfig(J);if(!Y)throw _.A.Error("E0110");return Y.validate()},resetGroup(J){var Y=fe.getGroupConfig(J);if(!Y)throw _.A.Error("E0110");return Y.reset()}};fe.initGroups();const H=fe},9433:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>P});var t=a(4292),c=a(4905),m=a(8365),x=a(6970),_=a(9130),b=a(5966),v="dx-validationgroup";class p extends m.A{_getDefaultOptions(){return super._getDefaultOptions()}_init(){super._init(),_.A.addGroup(this)}_initMarkup(){var U=this.$element();U.addClass(v),U.find(".".concat("dx-validator")).each(function(G,A){b.A.getInstance((0,t.A)(A))._initGroupRegistration()}),U.find(".".concat("dx-validationsummary")).each(function(G,A){x.A.getInstance((0,t.A)(A)).refreshValidationGroup()}),super._initMarkup()}validate(){return _.A.validateGroup(this)}reset(){return _.A.resetGroup(this)}_dispose(){_.A.removeGroup(this),this.$element().removeClass(v),super._dispose()}_useTemplates(){return!1}}(0,c.A)("dxValidationGroup",p);const P=p},9465:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>A});var t=a(8168),c=a(186),m=a(4292),x=a(4905),_=a(6022),b=a(7951),v=a(370),M=a(448),N="dx-invalid-message",G=_.A.inherit({_getDefaultOptions(){return(0,b.X)(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,preventScrollEvents:!1,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:K}=this.option();this.option("position.of",K)},_ensureMessageNotEmpty:function(){this._textMarkup=this._getTextMarkup();var K=this.option("visible")&&this._textMarkup;this._toggleVisibilityClasses(K)},_toggleVisibilityClasses:function(K){K?(this.$element().addClass(N),this.$wrapper().addClass(N)):(this.$element().removeClass(N),this.$wrapper().removeClass(N))},_updateContentId(){var{container:K,contentId:z}=this.option(),ee=z??(0,m.A)(K).attr("aria-describedby");this.$content().addClass("dx-invalid-message-content").attr("id",ee)},_renderInnerHtml(K){var z=K&&(0,m.A)(K);z?.html(this._textMarkup)},_getTextMarkup(){var K,z=null!==(K=this.option("validationErrors"))&&void 0!==K?K:[],ee="";return z.forEach(L=>{var f;ee+=(ee?"<br />":"")+(0,v.o4)(null!==(f=L?.message)&&void 0!==f?f:"")}),ee},_toggleModeClass(){var K=this.option("mode");this.$wrapper().toggleClass("dx-invalid-message-auto","auto"===K).toggleClass("dx-invalid-message-always","always"===K)},updateMaxWidth(){var K=this.option("target"),z=(0,c.Ot)(K),ee="100%";z&&(ee=Math.max(z,100)),this.option({maxWidth:ee})},_getPositionsArray:function(K,z){switch(K){case"top":return["".concat(z," bottom"),"".concat(z," top")];case"left":return["right","left"];case"right":return["left","right"];default:return["".concat(z," top"),"".concat(z," bottom")]}},_updatePosition:function(){var{positionSide:K,rtlEnabled:z,offset:ee,boundary:L}=this.option(),f=(0,M.n)(z),D=this._getPositionsArray(K,f),R=(0,t.A)({},ee);this.$element().addClass("dx-invalid-message-".concat(K)),z&&"left"!==K&&"right"!==K&&(R.h=-R.h),"top"===K&&(R.v=-R.v),"left"===K&&(R.h=-R.h),this.option("position",{offset:R,boundary:L,my:D[0],at:D[1],collision:"none flip"})},_optionChanged(K){var{name:z,value:ee,previousValue:L}=K;switch(z){case"target":this._updatePositionByTarget(),this.updateMaxWidth(),this.callBase(K);break;
1case"boundary":this.option("position.boundary",ee);break;case"mode":this._toggleModeClass(ee);break;case"rtlEnabled":case"offset":case"positionSide":this.$element().removeClass("dx-invalid-message-".concat(L)),this._updatePosition();break;case"container":this._updateContentId(),this.callBase(K);break;case"contentId":this._updateContentId();break;case"validationErrors":this._ensureMessageNotEmpty(),this._renderInnerHtml(this.$content());break;default:this.callBase(K)}}});(0,x.A)("dxValidationMessage",G);const A=G},6970:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>g});var t=a(4905),c=a(1269),m=a(5042),x=a(7951),_=a(2101),b=a(9130),v=a(4874),M="dx-validationsummary",N=M+"-item",p=M+"-item-data",P=v.A.inherit({_getDefaultOptions(){return(0,x.X)(this.callBase(),{focusStateEnabled:!1,noDataText:null})},_setOptionsByReference(){this.callBase(),(0,x.X)(this._optionsByReference,{validationGroup:!0})},_init(){this.callBase(),this._initGroupRegistration()},_initGroupRegistration(){var U=this.$element(),G=this.option("validationGroup")||b.A.findGroup(U,this._modelByElement(U)),A=b.A.addGroup(G);this._unsubscribeGroup(),this._groupWasInit=!0,this._validationGroup=G,this.groupSubscription=this._groupValidationHandler.bind(this),A.on("validated",this.groupSubscription)},_unsubscribeGroup(){var U=b.A.getGroupConfig(this._validationGroup);U&&U.off("validated",this.groupSubscription)},_getOrderedItems(U,G){var A=[];return(0,_.__)(U,function(K,z){var ee=(0,m.VM)(G,function(L){if(L.validator===z)return!0});ee.length&&(A=A.concat(ee))}),A},_groupValidationHandler(U){var G=this._getOrderedItems(U.validators,(0,_.Tj)(U.brokenRules,function(A){return{text:A.message,validator:A.validator,index:A.index}}));this.validators=U.validators,(0,_.__)(this.validators,(A,K)=>{if(K._validationSummary!==this){var z=this._itemValidationHandler.bind(this);K.on("validated",z),K.on("disposing",function(){K.off("validated",z),K._validationSummary=null,z=null}),K._validationSummary=this}}),this.option("items",G)},_itemValidationHandler(U){for(var{isValid:G,validator:A,brokenRules:K}=U,z=this.option("items"),ee=!1,L=0,f=function(){var D=z[L];if(D.validator===A){var R=(0,m.VM)(K||[],function(S){return S.index===D.index})[0];if(G||!R)return z.splice(L,1),ee=!0,1;R.message!==D.text&&(D.text=R.message,ee=!0)}L++};L<z.length;)f();(0,_.__)(K,function(D,R){(0,m.VM)(z,function(j){return j.validator===A&&j.index===R.index})[0]||(z.push({text:R.message,validator:A,index:R.index}),ee=!0)}),ee&&(z=this._getOrderedItems(this.validators,z),this.option("items",z))},_initMarkup(){this.$element().addClass(M),this.callBase()},_optionChanged(U){"validationGroup"===U.name?this._initGroupRegistration():this.callBase(U)},_itemClass:()=>N,_itemDataKey:()=>p,_postprocessRenderItem(U){c.A.on(U.itemElement,"click",function(){U.itemData.validator&&U.itemData.validator.focus&&U.itemData.validator.focus()})},_dispose(){this.callBase(),this._unsubscribeGroup()},refreshValidationGroup(){this._initGroupRegistration()}});(0,t.A)("dxValidationSummary",P);const g=P},5966:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>L});var t=a(8332),c=a(4423),m=a(7310),x=a(8365),_=a(7951),b=a(2101),v=a(9130);const p=a(6221).A.inherit({ctor(f,D){this.editor=f,this.validator=D,this.validationRequestsCallbacks=[];var R=S=>{this.validationRequestsCallbacks.forEach(j=>j(S))};f.validationRequest.add(R),f.on("disposing",function(){f.validationRequest.remove(R)})},getValue(){return this.editor.option("value")},getCurrentValidationError(){return this.editor.option("validationError")},bypass(){return this.editor.option("disabled")},applyValidationResults(f){this.editor.option({validationErrors:f.brokenRules,validationStatus:f.status})},reset(){this.editor.clear()},focus(){this.editor.focus()}});var P=a(4905),g=a(2984),U=a(3992),A="valid",z="pending",ee=x.A.inherit({_initOptions:function(f){this.callBase.apply(this,arguments),this.option(v.A.initValidationOptions(f))},_getDefaultOptions(){return(0,_.X)(this.callBase(),{validationRules:[]})},_init(){this.callBase(),this._initGroupRegistration(),this.focused=(0,c.A)(),this._initAdapter(),this._val
1idationInfo={result:null,deferred:null,skipValidation:!1}},_initGroupRegistration(){var f=this._findGroup();this._groupWasInit||this.on("disposing",function(D){v.A.removeRegisteredValidator(D.component._validationGroup,D.component)}),(!this._groupWasInit||this._validationGroup!==f)&&(v.A.removeRegisteredValidator(this._validationGroup,this),this._groupWasInit=!0,this._validationGroup=f,v.A.registerValidatorInGroup(f,this))},_setOptionsByReference(){this.callBase(),(0,_.X)(this._optionsByReference,{validationGroup:!0})},_getEditor(){var f=this.$element()[0];return(0,t.p)(f,"dx-validation-target")},_initAdapter(){var f=this._getEditor(),D=this.option("adapter");if(!D){if(f)return(D=new p(f,this)).validationRequestsCallbacks.push(S=>{this._validationInfo.skipValidation||this.validate(S)}),void this.option("adapter",D);throw m.A.Error("E0120")}var R=D.validationRequestsCallbacks;R&&R.push(S=>{this.validate(S)})},_toggleRTLDirection(f){var D,R,S,j=null!==(D=null===(R=this.option("adapter"))||void 0===R||null===(S=R.editor)||void 0===S?void 0:S.option("rtlEnabled"))&&void 0!==D?D:f;this.callBase(j)},_initMarkup(){this.$element().addClass("dx-validator"),this.callBase()},_render(){this.callBase(),this._toggleAccessibilityAttributes()},_toggleAccessibilityAttributes(){var f=this._getEditor();if(f){var R=(this.option("validationRules")||[]).some(S=>{var{type:j}=S;return"required"===j})||null;f.isInitialized()&&f.setAria("required",R),f.option("_onMarkupRendered",()=>{f.setAria("required",R)})}},_visibilityChanged(f){f&&this._initGroupRegistration()},_optionChanged(f){switch(f.name){case"validationGroup":return void this._initGroupRegistration();case"validationRules":return this._resetValidationRules(),this._toggleAccessibilityAttributes(),void(void 0!==this.option("isValid")&&this.validate());case"adapter":this._initAdapter();break;case"isValid":case"validationStatus":this.option(v.A.synchronizeValidationOptions(f,this.option()));break;default:this.callBase(f)}},_getValidationRules(){return this._validationRules||(this._validationRules=(0,b.Tj)(this.option("validationRules"),(f,D)=>(0,_.X)({},f,{validator:this,index:D}))),this._validationRules},_findGroup(){var f=this.$element();return this.option("validationGroup")||v.A.findGroup(f,this._modelByElement(f))},_resetValidationRules(){delete this._validationRules},validate(f){var Y,D=this.option("adapter"),R=this.option("name"),S=D.bypass&&D.bypass(),j=f&&void 0!==f.value?f.value:D.getValue(),fe=D.getCurrentValidationError&&D.getCurrentValidationError(),H=this._getValidationRules(),J=this._val
1idationInfo&&this._validationInfo.result;return J&&J.status===z&&J.value===j?(0,_.X)({},J):(S?Y={isValid:!0,status:A}:fe&&fe.editorSpecific?(fe.validator=this,Y={isValid:!1,status:"invalid",brokenRule:fe,brokenRules:[fe]}):Y=v.A.validate(j,H,R),Y.id=(new U.A).toString(),this._applyValidationResult(Y,D),Y.complete&&Y.complete.then(W=>{W.id===this._validationInfo.result.id&&this._applyValidationResult(W,D)}),(0,_.X)({},this._validationInfo.result))},reset(){var f=this.option("adapter"),D={id:null,isValid:!0,brokenRule:null,brokenRules:null,pendingRules:null,status:A,complete:null};this._validationInfo.skipValidation=!0,f.reset(),this._validationInfo.skipValidation=!1,this._resetValidationRules(),this._applyValidationResult(D,f)},_updateValidationResult(f){if(this._validationInfo.result&&this._validationInfo.result.id===f.id)for(var R in f)"id"!==R&&"complete"!==R&&(this._validationInfo.result[R]=f[R]);else this._validationInfo.result=(0,_.X)({},f,{complete:this._validationInfo.deferred&&this._validationInfo.result.complete})},_applyValidationResult(f,D){var R=this._createActionByOption("onValidated",{excludeValidators:["readOnly"]});if(f.validator=this,this._updateValidationResult(f),D.applyValidationResults&&D.applyValidationResults(this._validationInfo.result),this.option({validationStatus:this._validationInfo.result.status}),this._validationInfo.result.status===z)return this._validationInfo.deferred||(this._validationInfo.deferred=new g.cY,this._validationInfo.result.complete=this._validationInfo.deferred.promise()),void this._eventsStrategy.fireEvent("validating",[this._validationInfo.result]);this._validationInfo.result.status!==z&&(R(f),this._validationInfo.deferred&&(this._validationInfo.deferred.resolve(f),this._validationInfo.deferred=null))},focus(){var f=this.option("adapter");f&&f.focus&&f.focus()},_useTemplates:function(){return!1}});(0,P.A)("dxValidator",ee);const L=ee},1063:(Nt,Le,a)=>{"use strict";a.d(Le,{Kr:()=>b,in:()=>v,nq:()=>_});var t=a(4292),c=a(7669),m=function(M,N){if(!function x(M){var N=(0,t.A)(M);return N.is(":visible")&&"hidden"!==N.css("visibility")&&"hidden"!==N.parents().css("visibility")}(M))return!1;var p=M.nodeName.toLowerCase(),P=!isNaN(N),g=M.disabled;return/^(input|select|textarea|button|object|iframe)$/.test(p)||M.isContentEditable?!g:"a"===p&&M.href||P},_=function(M,N){return m(N,(0,t.A)(N).attr("tabIndex"))},b=function(M,N){var p=(0,t.A)(N).attr("tabIndex");return(isNaN(p)||p>=0)&&m(N,p)},v=function(M){var N=(0,t.A)(M).get(0);return c.A.getActiveElement(N)===N}},9049:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>_});var t=a(4292),c=a(3558),m="dx-swatch-";const _={getSwatchContainer:b=>{var M=(0,t.A)(b).closest('[class^="'.concat(m,'"], [class*=" ').concat(m,'"]')),N=(0,c.Uq)();if(!M.length)return N;var p=new RegExp("(\\s|^)(".concat(m,".*?)(\\s|$)")),P=M[0].className.match(p)[2],g=N.children("."+P);return g.length||(g=(0,t.A)("<div>").addClass(P).appendTo(N)),g}}},7310:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=a(6161),c=a(7550);const m=(0,t.A)(c.A.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 invali
1d 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}' 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" and "endDayHour" options must be integers in the [0, 24] range, with "endDayHour" being greater than "startDayHour".',E1059:"The following column names are not unique: {0}",E1060:"All editable columns must have names",E1061:'The "offset" option must be an integer in the [-1440, 1440] range, divisible by 5 without a remainder.',E1062:'The "cellDuration" must be a positive integer, evenly dividing the ("endDayHour" - "startDayHour") interval into minutes.',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.",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}
1'",W1023:"Appointments require unique keys. Otherwise, the agenda view may not work correctly.",W1024:"The client-side export is enabled. Implement the 'onExporting' function.",W1025:"'scrolling.mode' is set to 'virtual' or 'infinite'. Specify the height of the component."})},3019:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>M});var t=a(4292),c=a(7951),m=a(736),x=a(7310),_=a(2984),v=function b(N){return class{constructor(){throw new Error("Module '".concat(N,"' not found"))}static getInstance(){}}}("TextBox");const M={_getDefaultOptions:function(){return(0,c.X)(this.callBase(),{searchMode:"",searchExpr:null,searchValue:"",searchEnabled:!1,searchEditorOptions:{}})},_initMarkup:function(){this._renderSearch(),this.callBase()},_renderSearch:function(){var N=this.$element(),p=this.option("searchEnabled"),P=this._addWidgetPrefix("search"),g=this._addWidgetPrefix("with-search");if(!p)return N.removeClass(g),void this._removeSearchBox();var U=this._getSearchEditorOptions();this._searchEditor?this._searchEditor.option(U):(N.addClass(g),this._$searchEditorElement=(0,t.A)("<div>").addClass(P).prependTo(N),this._searchEditor=this._createComponent(this._$searchEditorElement,v,U))},_removeSearchBox:function(){this._$searchEditorElement&&this._$searchEditorElement.remove(),delete this._$searchEditorElement,delete this._searchEditor},_getSearchEditorOptions:function(){var N=this,p=N.option("searchEditorOptions"),P=m.A.format("Search");return(0,c.X)({mode:"search",placeholder:P,tabIndex:N.option("tabIndex"),value:N.option("searchValue"),valueChangeEvent:"input",inputAttr:{"aria-label":P},onValueChanged:function(g){var U=N.option("searchTimeout");N._valueChangeDeferred=new _.cY,clearTimeout(N._valueChangeTimeout),N._valueChangeDeferred.done(function(){this.option("searchValue",g.value)}.bind(N)),g.event&&"input"===g.event.type&&U?N._valueChangeTimeout=setTimeout(function(){N._valueChangeDeferred.resolve()},U):N._valueChangeDeferred.resolve()}},p)},_getAriaTarget:function(){return this.option("searchEnabled")?this._itemContainer(!0):this.callBase()},_focusTarget:function(){return this.option("searchEnabled")?this._itemContainer(!0):this.callBase()},_updateFocusState:function(N,p){this.option("searchEnabled")&&this._toggleFocusClass(p,this.$element()),this.callBase(N,p)},getOperationBySearchMode:function(N){return"equals"===N?"=":N},_optionChanged:function(N){switch(N.name){case"searchEnabled":case"searchEditorOptions":this._invalidate();break;case"searchExpr":case"searchMode":case"searchValue":if(!this._dataSource)return void x.A.log("W1009");"searchMode"===N.name?this._dataSource.searchOperation(this.getOperationBySearchMode(N.value)):this._dataSource[N.name](N.value),this._dataSource.load();break;case"searchTimeout":break;default:this.callBase(N)}},focus:function(){this.option("focusedElement")||!this.option("searchEnabled")?this.callBase():this._searchEditor&&this._searchEditor.focus()},_cleanAria:function(){var N=this.$element();this.setAria({role:null,activedescendant:null},N),N.attr("tabIndex",null)},_clean(){this.callBase(),this._cleanAria()},_refresh:function(){this._valueChangeDeferred&&this._valueChangeDeferred.resolve(),this.callBase()},setEditorClass:function(N){v=N}}},8041:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>z});var t=a(4292),c=a(5135),m=a(8365),x=a(8257),_=a(5042),b=a(2101),v=a(7951),M=a(1063),N=a(2463),p=a(3862),P=a(9011);function A(ee,L,f){ee="role"===ee||"id"===ee?ee:"aria-".concat(ee),L=(0,N.O9)(L)?L.toString():null,f.attr(ee,L)}a(8060),a(5424),a(4017);var K=m.A.inherit({_feedbackHideTimeout:400,_feedbackShowTimeout:30,_supportedKeys:()=>({}),_getDefaultOptions(){return(0,v.X)(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 ee=p.A.real();return"ios"===ee.platform&&(0,P.U)(ee.version,"13.3")<=0},options:{useResizeObserver:!1}}])},_init(){this.callBase(),this._initContentReadyAction()},_innerWidgetOptionChanged:function(ee,L){var f=K.getOptionsFromContainer(L);ee&&ee.option(f),this._options.cache(L.name,f)},_bindInnerWidgetOptions(ee,L){var f=()=>this._options.silent(L,(0,v.X)({},ee.option()));f(),ee.on("optionChanged",f)},_getAriaTarget(){return this._focusTarget()},_initContentReadyAction(){this._contentReadyAction=this._createActionByOption("onContentReady",{excludeValidators:["disabled","readOnly"]}
1)},_initMarkup(){var{disabled:ee,visible:L}=this.option();this.$element().addClass("dx-widget"),this._toggleDisabledState(ee),this._toggleVisibility(L),this._renderHint(),this._isFocusable()&&this._renderFocusTarget(),this.callBase()},_render(){this.callBase(),this._renderContent(),this._renderFocusState(),this._attachFeedbackEvents(),this._attachHoverEvents(),this._toggleIndependentState()},_renderHint(){var{hint:ee}=this.option();this.$element().attr("title",ee||null)},_renderContent(){(0,_.zE)(()=>this._disposed?void 0:this._renderContentImpl()).done(()=>this._disposed?void 0:this._fireContentReadyAction())},_renderContentImpl:_.lQ,_fireContentReadyAction:(0,_.Mb)(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(ee){this.$element().toggleClass("dx-state-invisible",!ee)},_renderFocusState(){this._attachKeyboardEvents(),this._isFocusable()&&(this._renderFocusTarget(),this._attachFocusEvents(),this._renderAccessKey())},_renderAccessKey(){var ee=this._focusTarget(),{accessKey:L}=this.option();ee.attr("accesskey",L)},_isFocusable(){var{focusStateEnabled:ee,disabled:L}=this.option();return ee&&!L},_eventBindingTarget(){return this.$element()},_focusTarget(){return this._getActiveElement()},_isFocusTarget:function(ee){return(0,t.A)(this._focusTarget()).toArray().includes(ee)},_findActiveTarget(ee){return ee.find(this._activeStateUnit).not(".dx-state-disabled")},_getActiveElement(){var ee=this._eventBindingTarget();return this._activeStateUnit?this._findActiveTarget(ee):ee},_renderFocusTarget(){var{tabIndex:ee}=this.option();this._focusTarget().attr("tabIndex",ee)},_keyboardEventBindingTarget(){return this._eventBindingTarget()},_refreshFocusEvent(){this._detachFocusEvents(),this._attachFocusEvents()},_focusEventTarget(){return this._focusTarget()},_focusInHandler(ee){ee.isDefaultPrevented()||this._createActionByOption("onFocusIn",{beforeExecute:()=>this._updateFocusState(ee,!0),excludeValidators:["readOnly"]})({event:ee})},_focusOutHandler(ee){ee.isDefaultPrevented()||this._createActionByOption("onFocusOut",{beforeExecute:()=>this._updateFocusState(ee,!1),excludeValidators:["readOnly","disabled"]})({event:ee})},_updateFocusState(ee,L){var{target:f}=ee;this._isFocusTarget(f)&&this._toggleFocusClass(L,(0,t.A)(f))},_toggleFocusClass(ee,L){(L&&L.length?L:this._focusTarget()).toggleClass("dx-state-focused",ee)},_hasFocusClass(ee){return(0,t.A)(ee||this._focusTarget()).hasClass("dx-state-focused")},_isFocused(){return this._hasFocusClass()},_getKeyboardListeners:()=>[],_attachKeyboardEvents(){this._detachKeyboardEvents();var{focusStateEnabled:ee,onKeyboardHandled:L}=this.option(),f=this._getKeyboardListeners().length;(ee||f||L)&&(this._keyboardListenerId=x.QJ.on(this._keyboardEventBindingTarget(),this._focusTarget(),S=>this._keyboardHandler(S)))},_keyboardHandler(ee,L){if(!L){var{originalEvent:f,keyName:D,which:R}=ee,S=this._supportedKeys(f),j=S[D]||S[R];if(void 0!==j&&!j.bind(this)(f,ee))return!1}var J=this._getKeyboardListeners(),{onKeyboardHandled:Y}=this.option();return J.forEach(W=>W&&W._keyboardHandler(ee)),Y&&Y(ee),!0},_refreshFocusState(){this._cleanFocusState(),this._renderFocusState()},_cleanFocusState(){this._focusTarget().removeAttr("tabIndex"),this._toggleFocusClass(!1),this._detachFocusEvents(),this._detachKeyboardEvents()},_detachKeyboardEvents(){x.QJ.off(this._keyboardListenerId),this._keyboardListenerId=null},_attachHoverEvents(){var{hoverStateEnabled:ee}=this.option(),L=this._activeStateUnit,f=this._eventBindingTarget();x.PT.off(f,{selector:L,namespace:"UIFeedback"}),ee&&x.PT.on(f,new c.A(D=>{var{event:R,element:S}=D;this._hoverStartHandler(R),this.option("hoveredElement",(0,t.A)(S))},{excludeValidators:["readOnly"]}),D=>{this.option("hoveredElement",null),this._hoverEndHandler(D)},{selector:L,namespace:"UIFeedback"})},_attachFeedbackEvents(){var{activeStateEnabled:ee}=this.option(),L=this._activeStateUnit,f=this._eventBindingTarget();x.vu.off(f,{namespace:"UIFeedback",selector:L}),ee&&x.vu.on(f,new c.A(D=>{var{event:R,element:S}=D;return this._toggleActiveState((0,t.A)(S),!0,R)}),new c.A(D=>{var{event:R,element:S}=D;return this._toggleActiveState((0,t.A)(S),!1,R)},{excludeValidators:["disabled","readOnly"]}
1),{showTimeout:this._feedbackShowTimeout,hideTimeout:this._feedbackHideTimeout,selector:L,namespace:"UIFeedback"})},_detachFocusEvents(){var ee=this._focusEventTarget();x.XC.off(ee,{namespace:"".concat(this.NAME,"Focus")})},_attachFocusEvents(){var ee=this._focusEventTarget();x.XC.on(ee,L=>this._focusInHandler(L),L=>this._focusOutHandler(L),{namespace:"".concat(this.NAME,"Focus"),isFocusable:(L,f)=>(0,t.A)(f).is(M.nq)})},_hoverStartHandler:_.lQ,_hoverEndHandler:_.lQ,_toggleActiveState(ee,L){this.option("isActive",L),ee.toggleClass("dx-state-active",L)},_updatedHover(){var ee=this._options.silent("hoveredElement");this._hover(ee,ee)},_findHoverTarget(ee){return ee&&ee.closest(this._activeStateUnit||this._eventBindingTarget())},_hover(ee,L){var{hoverStateEnabled:f,disabled:D,isActive:R}=this.option();if((L=this._findHoverTarget(L))&&L.toggleClass("dx-state-hover",!1),ee&&f&&!D&&!R){var S=this._findHoverTarget(ee);S&&S.toggleClass("dx-state-hover",!0)}},_toggleDisabledState(ee){this.$element().toggleClass("dx-state-disabled",!!ee),this.setAria("disabled",ee||void 0)},_toggleIndependentState(){this.$element().toggleClass("dx-state-independent",this.option("ignoreParentReadOnly"))},_setWidgetOption(ee,L){if(this[ee]){if((0,N.Qd)(L[0]))return void(0,b.__)(L[0],(S,j)=>this._setWidgetOption(ee,[S,j]));var f=L[0],D=L[1];1===L.length&&(D=this.option(f));var R=this["".concat(ee,"OptionMap")];this[ee].option(R?R(f):f,D)}},_optionChanged(ee){var{name:L,value:f,previousValue:D}=ee;switch(L){case"disabled":this._toggleDisabledState(f),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(f,D);break;case"isActive":this._updatedHover();break;case"visible":this._toggleVisibility(f),this._isVisibilityChangeSupported()&&this._checkVisibilityChanged(f?"shown":"hiding");break;case"onKeyboardHandled":this._attachKeyboardEvents();break;case"onContentReady":this._initContentReadyAction();break;default:this.callBase(ee)}},_isVisible(){var{visible:ee}=this.option();return this.callBase()&&ee},beginUpdate(){this._ready(!1),this.callBase()},endUpdate(){this.callBase(),this._initialized&&this._ready(!0)},_ready(ee){if(0===arguments.length)return this._isReady;this._isReady=ee},setAria(){if((0,N.Qd)(arguments.length<=0?void 0:arguments[0])){var ee=(arguments.length<=1?void 0:arguments[1])||this._getAriaTarget();(0,b.__)(arguments.length<=0?void 0:arguments[0],(L,f)=>A(L,f,ee))}else A(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(){x.XC.trigger(this._focusTarget())},registerKeyHandler(ee,L){var f=this._supportedKeys();this._supportedKeys=()=>(0,v.X)(f,{[ee]:L})}});K.getOptionsFromContainer=ee=>{var{name:L,fullName:f,value:D}=ee,R={};return L===f?R=D:R[f.split(".").pop()]=D,R};const z=K},6115:(Nt,Le,a)=>{"use strict";a.d(Le,{SK:()=>D,XX:()=>U,pw:()=>g,vF:()=>z});var t=a(186),c=a(4292),m="dx-inkripple",x="dx-inkripple-wave",_="dx-inkripple-showing",b="dx-inkripple-hiding",P=0,g=function(){var R=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{useHoldAnimation:S,waveSizeCoefficient:j,isCentered:fe,wavesNumber:H}=R;return{waveSizeCoefficient:j||2,isCentered:fe||!1,wavesNumber:H||1,durations:L(S??!0)}},U=function(R){var S=g(R);return{showWave:z.bind(this,S),hideWave:D.bind(this,S)}},A=function(R,S){for(var j=function(R){var S=R.children("."+m);return 0===S.length&&(S=(0,c.A)("<div>").addClass(m).appendTo(R)),S}((0,c.A)(R)),fe=j.children("."+x).toArray(),H=fe.length;H<S;H++){var J=(0,c.A)("<div>").appendTo(j).addClass(x);fe.push(J[0])}return(0,c.A)(fe)},K=function(R,S){var W,re,j=(0,c.A)(S.element),fe=(0,t.Ot)(j),H=(0,t.P$)(j),J=parseInt(Math.sqrt(fe*fe+H*H)),Y=Math.min(4e3,parseInt(J*R.waveSizeCoefficient));if(R.isCentered)W=(fe-Y)/2,re=(H-Y)/2;else{var le=S.event,Re=j.offset();W=le.pageX-Re.left-Y/2,re=le.pageY-Re.top-Y/2}return{left:W,top:re,height:Y,width:Y}};function z(R,S){var j=A(S.element,R.wavesNumber).eq(S.wave||P);R.hidingTimeout&&clearTimeout(R.hidingTimeout),f(j),j.css(K(R,S)),R.showingTimeout=setTimeout(ee.bind(this,R,j),0)}function ee(R,S){var j=R.durations.showingScale+"ms";S.addClass(_).css("transitionDuration",j)}function L(R){return{showingScale:R?1e3:300,hidingScale:300,hidingOpacity:300}}function f(R){R.removeClass(b).css("transitionDuration","")}function D(R,S){R.showingTimeout&&clearTimeout(R.showingTimeout);var j=A(S.element,S.wavesNumber).eq(S.wave||P),fe=R.durations,H=fe.hidingScale+"ms, "+fe.hidingOpacity+"ms";j.addClass(b).removeClass(_).css("transitionDuration",H);var J=Math.max(fe.hidingScale,fe.hidingOpacity);R.hidingTimeout=setTimeout(f.bind(this,j),J)}},5937:(Nt,Le,a)=>{"use strict";a.d(Le,{n:()=>b});var t=a(1522);function c(v){return null==v}function x(v){return void 0===v}var _={onComponentDidMount:1,onComponentDidUpdate:1,onComponentShouldUpdate:1,onComponentWillMount:1,onComponentWillUnmount:1,onComponentWillUpdate:1};function b(v,M,N){var P,K,p=arguments,g=null,U=null,G=null,A=0,z=arguments.length-2;if(1===z)P=N;else if(z>1)for(P=[];z-- >0;)P[z]=p[z+2];
1if(!function m(v){return"string"==typeof v}(v)){if(A=2,x(P)||(M||(M={}),M.children=P),!c(M))for(var L in K={},M)"key"===L?U=M.key:"ref"===L?g=M.ref:1===_[L]?(g||(g={}),g[L]=M[L]):K[L]=M[L];return(0,t.sO)(A,v,K,U,g)}if(A=(0,t.$_)(v),!c(M))for(var ee in K={},M)"className"===ee||"class"===ee?G=M[ee]:"key"===ee?U=M.key:"children"===ee&&x(P)?P=M.children:"ref"===ee?g=M.ref:("contenteditable"===ee&&(A|=4096),K[ee]=M[ee]);return 8192&A?(0,t.nl)(1===z?[P]:P,0,U):(0,t.bF)(A,v,G,P,0,K,U,g)}},1522:(Nt,Le,a)=>{"use strict";a.d(Le,{uA:()=>Ri,MZ:()=>U,EW:()=>Tt,zF:()=>we,_M:()=>kt,Gg:()=>Ti,C4:()=>Qn,Hq:()=>Gi,vI:()=>Kn,J4:()=>it,F1:()=>Qt,sO:()=>Z,nl:()=>ke,_3:()=>Dn,bF:()=>ue,UV:()=>S,$_:()=>Je,_B:()=>Ne,XX:()=>Hr,mM:()=>Zr});var t=Array.isArray;function c(Ue){var ht=typeof Ue;return"string"===ht||"number"===ht}function m(Ue){return null==Ue}function x(Ue){return null===Ue||!1===Ue||!0===Ue||void 0===Ue}function _(Ue){return"function"==typeof Ue}function b(Ue){return"string"==typeof Ue}function M(Ue){return null===Ue}function N(Ue){return void 0===Ue}function p(Ue,ht){var bt={};if(Ue)for(var Xt in Ue)bt[Xt]=Ue[Xt];if(ht)for(var Yt in ht)bt[Yt]=ht[Yt];return bt}function g(Ue){return!M(Ue)&&"object"==typeof Ue}var U={},G="$F";function A(Ue){return Ue.substr(2).toLowerCase()}function K(Ue,ht){Ue.appendChild(ht)}function z(Ue,ht,bt){M(bt)?K(Ue,ht):Ue.insertBefore(ht,bt)}function f(Ue,ht){Ue.removeChild(ht)}function D(Ue){for(var ht=0;ht<Ue.length;ht++)Ue[ht]()}function R(Ue,ht,bt){var Xt=Ue.children;return 4&bt?Xt.$LI:8192&bt?2===Ue.childFlags?Xt:Xt[ht?0:Xt.length-1]:Xt}function S(Ue,ht){for(var bt;Ue;){if(2033&(bt=Ue.flags))return Ue.dom;Ue=R(Ue,ht,bt)}return null}function j(Ue,ht){do{var bt=Ue.flags;if(2033&bt)return void f(ht,Ue.dom);var Xt=Ue.children;if(4&bt&&(Ue=Xt.$LI),8&bt&&(Ue=Xt),8192&bt){if(2!==Ue.childFlags){for(var Yt=0,an=Xt.length;Yt<an;++Yt)j(Xt[Yt],ht);return}Ue=Xt}}while(Ue)}function fe(Ue,ht,bt){do{var Xt=Ue.flags;if(2033&Xt)return void z(ht,Ue.dom,bt);var Yt=Ue.children;if(4&Xt&&(Ue=Yt.$LI),8&Xt&&(Ue=Yt),8192&Xt){if(2!==Ue.childFlags){for(var an=0,gn=Yt.length;an<gn;++an)fe(Yt[an],ht,bt);return}Ue=Yt}}while(Ue)}function H(Ue,ht,bt){return Ue.constructor.getDerivedStateFromProps?p(bt,Ue.constructor.getDerivedStateFromProps(ht,bt)):bt}var J={v:!1},Y={componentComparator:null,createVNode:null,renderComplete:null};function W(Ue,ht){Ue.textContent=ht}function re(Ue,ht){return g(Ue)&&Ue.event===ht.event&&Ue.data===ht.data}function le(Ue,ht){for(var bt in ht)N(Ue[bt])&&(Ue[bt]=ht[bt]);return Ue}function Re(Ue,ht){return!!_(Ue)&&(Ue(ht),!0)}var Be="$";function Fe(Ue,ht,bt,Xt,Yt,an,gn,bn){this.childFlags=Ue,this.children=ht,this.className=bt,this.dom=null,this.flags=Xt,this.key=void 0===Yt?null:Yt,this.props=void 0===an?null:an,this.ref=void 0===gn?null:gn,this.type=bn}function ue(Ue,ht,bt,Xt,Yt,an,gn,bn){var ti=void 0===Yt?1:Yt,qn=new Fe(ti,Xt,bt,Ue,gn,an,bn,ht);return Y.createVNode&&Y.createVNode(qn),0===ti&&Ce(qn,qn.children),qn}function Z(Ue,ht,bt,Xt,Yt){Ue=function ne(Ue,ht){return 12&Ue?Ue:ht.prototype&&ht.prototype.render?4:ht.render?32776:8}(Ue,ht);var an=new Fe(1,null,null,Ue,Xt,function _e(Ue,ht,bt){var Xt=(32768&Ue?ht.render:ht).defaultProps;return m(Xt)?bt:m(bt)?p(Xt,null):le(bt,Xt)}(Ue,ht,bt),function ce(Ue,ht,bt){if(4&Ue)return bt;var Xt=(32768&Ue?ht.render:ht).defaultHooks;return m(Xt)?bt:m(bt)?Xt:le(bt,Xt)}(Ue,ht,Yt),ht);return Y.createVNode&&Y.createVNode(an),an}function ve(Ue,ht){return new Fe(1,m(Ue)||!0===Ue||!1===Ue?"":Ue,null,16,ht,null,null,null)}function ke(Ue,ht,bt){var Xt=ue(8192,8192,null,Ue,ht,null,bt,null);switch(Xt.childFlags){case 1:Xt.children=et(),Xt.childFlags=2;break;case 16:Xt.children=[ve(Ue)],Xt.childFlags=4}return Xt}function Ne(Ue){var ht=Ue.props;if(ht){var bt=Ue.flags;481&bt&&(void 0!==ht.children&&m(Ue.children)&&Ce(Ue,ht.children),void 0!==ht.className&&(m(Ue.className)&&(Ue.className=ht.className||null),ht.className=void 0)),void 0!==ht.key&&(Ue.key=ht.key,ht.key=void 0),void 0!==ht.ref&&(Ue.ref=8&bt?p(Ue.ref,ht.ref):ht.ref,ht.ref=void 0)}return Ue}function De(Ue){var ht=-16385&Ue.flags,bt=Ue.props;if(14&ht&&!M(bt)){var Xt=bt;for(var Yt in bt={},Xt)bt[Yt]=Xt[Yt]}return 8192&ht?function Ie(Ue){var ht=Ue.children,bt=Ue.childFlags;return ke(2===bt?De(ht):ht.map(De),bt,Ue.key)}(Ue):new Fe(Ue.childFlags,Ue.children,Ue.className,ht,Ue.key,bt,Ue.ref,Ue.type)}function et(){return ve("",null)}function dt(Ue,ht,bt,Xt){for(var Yt=Ue.length;bt<Yt;bt++){var an=Ue[bt];if(!x(an)){var gn=Xt+Be+bt;if(t(an))dt(an,ht,0,gn);else{if(c(an))an=ve(an,gn);else{var bn=an.key,ti=b(bn)&&bn[0]===Be;(81920&an.flags||ti)&&(an=De(an)),an.flags|=65536,ti?bn.substring(0,Xt.length)!==Xt&&(an.key=Xt+bn):an.key=M(bn)?gn:Xt+bn}ht.push(an)}}}}function Je(Ue){switch(Ue){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case G:return 8192;default:return 1}}function Ce(Ue,ht){var bt,Xt=1;
1if(x(ht))bt=ht;else if(c(ht))Xt=16,bt=ht;else if(t(ht)){for(var Yt=ht.length,an=0;an<Yt;++an){var gn=ht[an];if(x(gn)||t(gn)){bt=bt||ht.slice(0,an),dt(ht,bt,an,"");break}if(c(gn))(bt=bt||ht.slice(0,an)).push(ve(gn,Be+an));else{var bn=gn.key,ti=(81920&gn.flags)>0,qn=M(bn),ii=b(bn)&&bn[0]===Be;ti||qn||ii?(bt=bt||ht.slice(0,an),(ti||ii)&&(gn=De(gn)),(qn||ii)&&(gn.key=Be+an),bt.push(gn)):bt&&bt.push(gn),gn.flags|=65536}}Xt=0===(bt=bt||ht).length?1:8}else(bt=ht).flags|=65536,81920&ht.flags&&(bt=De(ht)),Xt=2;return Ue.children=bt,Ue.childFlags=Xt,Ue}function we(Ue){return x(Ue)||c(Ue)?ve(Ue,null):t(Ue)?ke(Ue,0,null):16384&Ue.flags?De(Ue):Ue}var Ee="http://www.w3.org/1999/xlink",He="http://www.w3.org/XML/1998/namespace",Ot={"xlink:actuate":Ee,"xlink:arcrole":Ee,"xlink:href":Ee,"xlink:role":Ee,"xlink:show":Ee,"xlink:title":Ee,"xlink:type":Ee,"xml:base":He,"xml:lang":He,"xml:space":He};function It(Ue){return{onClick:Ue,onDblClick:Ue,onFocusIn:Ue,onFocusOut:Ue,onKeyDown:Ue,onKeyPress:Ue,onKeyUp:Ue,onMouseDown:Ue,onMouseMove:Ue,onMouseUp:Ue,onTouchEnd:Ue,onTouchMove:Ue,onTouchStart:Ue}}var un=It(0),ln=It(null),Ln=It(!0);function Zt(Ue,ht){var bt=ht.$EV;return bt||(bt=ht.$EV=It(null)),bt[Ue]||1==++un[Ue]&&(ln[Ue]=function Ve(Ue){var ht="onClick"===Ue||"onDblClick"===Ue?function Ze(Ue){return function(ht){0===ht.button?Ke(ht,!0,Ue,pt(ht)):ht.stopPropagation()}}(Ue):function X(Ue){return function(ht){Ke(ht,!1,Ue,pt(ht))}}(Ue);return document.addEventListener(A(Ue),ht),ht}(Ue)),bt}function ct(Ue,ht){var bt=ht.$EV;bt&&bt[Ue]&&(0==--un[Ue]&&(document.removeEventListener(A(Ue),ln[Ue]),ln[Ue]=null),bt[Ue]=null)}function Ke(Ue,ht,bt,Xt){var Yt=function Ae(Ue){return _(Ue.composedPath)?Ue.composedPath()[0]:Ue.target}(Ue);do{if(ht&&Yt.disabled)return;var an=Yt.$EV;if(an){var gn=an[bt];if(gn&&(Xt.dom=Yt,gn.event?gn.event(gn.data,Ue):gn(Ue),Ue.cancelBubble))return}Yt=Yt.parentNode}while(!M(Yt))}function vt(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Wt(){return this.defaultPrevented}function ze(){return this.cancelBubble}function pt(Ue){var ht={dom:document};return Ue.isDefaultPrevented=Wt,Ue.isPropagationStopped=ze,Ue.stopPropagation=vt,Object.defineProperty(Ue,"currentTarget",{configurable:!0,get:function(){return ht.dom}}),ht}function at(Ue,ht,bt){if(Ue[ht]){var Xt=Ue[ht];Xt.event?Xt.event(Xt.data,bt):Xt(bt)}else{var Yt=ht.toLowerCase();Ue[Yt]&&Ue[Yt](bt)}}function V(Ue,ht){var bt=function(Xt){var Yt=this.$V;if(Yt){var an=Yt.props||U,gn=Yt.dom;if(b(Ue))at(an,Ue,Xt);else for(var bn=0;bn<Ue.length;++bn)at(an,Ue[bn],Xt);if(_(ht)){var ti=this.$V;ht(ti.props||U,gn,!1,ti)}}};return Object.defineProperty(bt,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),bt}function pe(Ue,ht,bt){var Xt="$"+ht,Yt=Ue[Xt];if(Yt){if(Yt[1].wrapped)return;Ue.removeEventListener(Yt[0],Yt[1]),Ue[Xt]=null}_(bt)&&(Ue.addEventListener(ht,bt),Ue[Xt]=[ht,bt])}function Te(Ue){return"checkbox"===Ue||"radio"===Ue}var ft=V("onInput",Ut),At=V(["onClick","onChange"],Ut);function sn(Ue){Ue.stopPropagation()}function Ut(Ue,ht){var bt=Ue.type,Xt=Ue.value,Yt=Ue.checked,an=Ue.multiple,gn=Ue.defaultValue,bn=!m(Xt);bt&&bt!==ht.type&&ht.setAttribute("type",bt),!m(an)&&an!==ht.multiple&&(ht.multiple=an),!m(gn)&&!bn&&(ht.defaultValue=gn+""),Te(bt)?(bn&&(ht.value=Xt),m(Yt)||(ht.checked=Yt)):bn&&ht.value!==Xt?(ht.defaultValue=Xt,ht.value=Xt):m(Yt)||(ht.checked=Yt)}function zt(Ue,ht){if("option"===Ue.type)!function wt(Ue,ht){var bt=Ue.props||U,Xt=Ue.dom;Xt.value=bt.value,bt.value===ht||t(ht)&&-1!==ht.indexOf(bt.value)?Xt.selected=!0:(!m(ht)||!m(bt.selected))&&(Xt.selected=bt.selected||!1)}(Ue,ht);else{var bt=Ue.children,Xt=Ue.flags;if(4&Xt)zt(bt.$LI,ht);else if(8&Xt)zt(bt,ht);else if(2===Ue.childFlags)zt(bt,ht);else if(12&Ue.childFlags)for(var Yt=0,an=bt.length;Yt<an;++Yt)zt(bt[Yt],ht)}}sn.wrapped=!0;var Qe=V("onChange",Vt);function Vt(Ue,ht,bt,Xt){var Yt=!!Ue.multiple;!m(Ue.multiple)&&Yt!==ht.multiple&&(ht.multiple=Yt);var an=Ue.selectedIndex;if(-1===an&&(ht.selectedIndex=-1),1!==Xt.childFlags){var bn=Ue.value;(function v(Ue){return"number"==typeof Ue})(an)&&an>
1-1&&ht.options[an]&&(bn=ht.options[an].value),bt&&m(bn)&&(bn=Ue.defaultValue),zt(Xt,bn)}}var rn=V("onInput",Pt),wn=V("onChange");function Pt(Ue,ht,bt){var Xt=Ue.value,Yt=ht.value;if(m(Xt)){if(bt){var an=Ue.defaultValue;!m(an)&&an!==Yt&&(ht.defaultValue=an,ht.value=an)}}else Yt!==Xt&&(ht.defaultValue=Xt,ht.value=Xt)}function Lt(Ue,ht,bt,Xt,Yt,an){64&Ue?Ut(Xt,bt):256&Ue?Vt(Xt,bt,Yt,ht):128&Ue&&Pt(Xt,bt,Yt),an&&(bt.$V=ht)}function pn(Ue){return Ue.type&&Te(Ue.type)?!m(Ue.checked):!m(Ue.value)}function Dn(){return{current:null}}function Dt(Ue){Ue&&!Re(Ue,null)&&Ue.current&&(Ue.current=null)}function it(Ue,ht,bt){Ue&&(_(Ue)||void 0!==Ue.current)&&bt.push(function(){!Re(Ue,ht)&&void 0!==Ue.current&&(Ue.current=ht)})}function Ht(Ue,ht){d(Ue),j(Ue,ht)}function d(Ue){var Xt,ht=Ue.flags,bt=Ue.children;if(481&ht){var Yt=Ue.props;Dt(Xt=Ue.ref);var an=Ue.childFlags;if(!M(Yt))for(var gn=Object.keys(Yt),bn=0,ti=gn.length;bn<ti;bn++){var qn=gn[bn];Ln[qn]&&ct(qn,Ue.dom)}12&an?O(bt):2===an&&d(bt)}else bt&&(4&ht?(_(bt.componentWillUnmount)&&bt.componentWillUnmount(),Dt(Ue.ref),bt.$UN=!0,d(bt.$LI)):8&ht?(!m(Xt=Ue.ref)&&_(Xt.onComponentWillUnmount)&&Xt.onComponentWillUnmount(S(Ue,!0),Ue.props||U),d(bt)):1024&ht?Ht(bt,Ue.ref):8192&ht&&12&Ue.childFlags&&O(bt))}function O(Ue){for(var ht=0,bt=Ue.length;ht<bt;++ht)d(Ue[ht])}function T(Ue){Ue.textContent=""}function Me(Ue,ht,bt){O(bt),8192&ht.flags?j(ht,Ue):T(Ue)}function en(Ue,ht,bt,Xt,Yt,an,gn){switch(Ue){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":Xt.autofocus=!!bt;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":Xt[Ue]=!!bt;break;case"defaultChecked":case"value":case"volume":if(an&&"value"===Ue)break;var bn=m(bt)?"":bt;Xt[Ue]!==bn&&(Xt[Ue]=bn);break;case"style":!function w(Ue,ht,bt){if(m(ht))bt.removeAttribute("style");else{var Yt,an,Xt=bt.style;if(b(ht))Xt.cssText=ht;else if(m(Ue)||b(Ue))for(Yt in ht)Xt.setProperty(Yt,an=ht[Yt]);else{for(Yt in ht)(an=ht[Yt])!==Ue[Yt]&&Xt.setProperty(Yt,an);for(Yt in Ue)m(ht[Yt])&&Xt.removeProperty(Yt)}}}(ht,bt,Xt);break;case"dangerouslySetInnerHTML":!function Oe(Ue,ht,bt,Xt){var an=ht&&ht.__html||"";(Ue&&Ue.__html||"")!==an&&!m(an)&&!function st(Ue,ht){var bt=document.createElement("i");return bt.innerHTML=ht,bt.innerHTML===Ue.innerHTML}(Xt,an)&&(M(bt)||(12&bt.childFlags?O(bt.children):2===bt.childFlags&&d(bt.children),bt.children=null,bt.childFlags=1),Xt.innerHTML=an)}(ht,bt,gn,Xt);break;default:Ln[Ue]?function rt(Ue,ht,bt,Xt){if(_(bt))Zt(Ue,Xt)[Ue]=bt;else if(g(bt)){if(re(ht,bt))return;Zt(Ue,Xt)[Ue]=bt}else ct(Ue,Xt)}(Ue,ht,bt,Xt):111===Ue.charCodeAt(0)&&110===Ue.charCodeAt(1)?function h(Ue,ht,bt,Xt){if(g(bt)){if(re(ht,bt))return;bt=function be(Ue){var ht=Ue.event;return function(bt){ht(Ue.data,bt)}}(bt)}pe(Xt,A(Ue),bt)}(Ue,ht,bt,Xt):m(bt)?Xt.removeAttribute(Ue):Yt&&Ot[Ue]?Xt.setAttributeNS(Ot[Ue],Ue,bt):Xt.setAttribute(Ue,bt)}}function Kn(Ue,ht,bt,Xt,Yt){var an=!1,gn=(448&ht)>0;for(var bn in gn&&(an=pn(bt))&&function Jt(Ue,ht,bt){64&Ue?function Bt(Ue,ht){Te(ht.type)?(pe(Ue,"change",At),pe(Ue,"click",sn)):pe(Ue,"input",ft)}(ht,bt):256&Ue?function ot(Ue){pe(Ue,"change",Qe)}(ht):128&Ue&&function jn(Ue,ht){pe(Ue,"input",rn),ht.onChange&&pe(Ue,"change",wn)}(ht,bt)}(ht,Xt,bt),bt)en(bn,null,bt[bn],Xt,Yt,an,null);gn&&Lt(ht,Ue,Xt,bt,!0,an)}function xi(Ue,ht,bt){var Xt=we(Ue.render(ht,Ue.state,bt)),Yt=bt;return _(Ue.getChildContext)&&(Yt=p(bt,Ue.getChildContext())),Ue.$CX=Yt,Xt}function Tt(Ue,ht,bt,Xt,Yt,an){var gn=new ht(bt,Xt),bn=gn.$N=!(!ht.getDerivedStateFromProps&&!gn.getSnapshotBeforeUpdate);if(gn.$SVG=Yt,gn.$L=an,Ue.children=gn,gn.$BS=!1,gn.context=Xt,gn.props===U&&(gn.props=bt),bn)gn.state=H(gn,bt,gn.state);else if(_(gn.componentWillMount)){gn.$BR=!0,gn.componentWillMount();var ti=gn.$PS;if(!M(ti)){var qn=gn.state;if(M(qn))gn.state=ti;else for(var ii in ti)qn[ii]=ti[ii];gn.$PS=null}gn.$BR=!1}return gn.$LI=xi(gn,bt,Xt),gn}function Qt(Ue,ht){var bt=Ue.props||U;return 32768&Ue.flags?Ue.type.render(bt,Ue.ref,ht):Ue.type(bt,ht)}function kt(Ue,ht,bt,Xt,Yt,an){var gn=Ue.flags|=16384;481&gn?Qn(Ue,ht,bt,Xt,Yt,an):4&gn?function ni(Ue,ht,bt,Xt,Yt,an){var gn=Tt(Ue,Ue.type,Ue.props||U,bt,Xt,an);kt(gn.$LI,ht,gn.$CX,Xt,Yt,an),Ti(Ue.ref,gn,an)}(Ue,ht,bt,Xt,Yt,an):8&gn?(function oi(Ue,ht,bt,Xt,Yt,an){kt(Ue.children=we(Qt(Ue,bt)),ht,bt,Xt,Yt,an)}(Ue,ht,bt,Xt,Yt,an),Gi(Ue,an)):512&gn||16&gn?Tn(Ue,ht,Yt):8192&gn?function Rn(Ue,ht,bt,Xt,Yt,an){var gn=Ue.children,bn=Ue.childFlags;
112&bn&&0===gn.length&&(bn=Ue.childFlags=2,gn=Ue.children=et()),2===bn?kt(gn,bt,ht,Xt,Yt,an):fi(gn,bt,ht,Xt,Yt,an)}(Ue,bt,ht,Xt,Yt,an):1024&gn&&function xn(Ue,ht,bt,Xt,Yt){kt(Ue.children,Ue.ref,ht,!1,null,Yt);var an=et();Tn(an,bt,Xt),Ue.dom=an.dom}(Ue,bt,ht,Yt,an)}function Tn(Ue,ht,bt){var Xt=Ue.dom=document.createTextNode(Ue.children);M(ht)||z(ht,Xt,bt)}function Qn(Ue,ht,bt,Xt,Yt,an){var gn=Ue.flags,bn=Ue.props,ti=Ue.className,qn=Ue.childFlags,ii=Ue.dom=function ee(Ue,ht){return ht?document.createElementNS("http://www.w3.org/2000/svg",Ue):document.createElement(Ue)}(Ue.type,Xt=Xt||(32&gn)>0),gi=Ue.children;if(!m(ti)&&""!==ti&&(Xt?ii.setAttribute("class",ti):ii.className=ti),16===qn)W(ii,gi);else if(1!==qn){var _i=Xt&&"foreignObject"!==Ue.type;2===qn?(16384&gi.flags&&(Ue.children=gi=De(gi)),kt(gi,ii,bt,_i,null,an)):(8===qn||4===qn)&&fi(gi,ii,bt,_i,null,an)}M(ht)||z(ht,ii,Yt),M(bn)||Kn(Ue,gn,bn,ii,Xt),it(Ue.ref,ii,an)}function fi(Ue,ht,bt,Xt,Yt,an){for(var gn=0;gn<Ue.length;++gn){var bn=Ue[gn];16384&bn.flags&&(Ue[gn]=bn=De(bn)),kt(bn,ht,bt,Xt,Yt,an)}}function Ti(Ue,ht,bt){it(Ue,ht,bt),_(ht.componentDidMount)&&bt.push(function Ai(Ue){return function(){Ue.componentDidMount()}}(ht))}function Gi(Ue,ht){var bt=Ue.ref;m(bt)||(Re(bt.onComponentWillMount,Ue.props||U),_(bt.onComponentDidMount)&&ht.push(function Pi(Ue,ht){return function(){Ue.onComponentDidMount(S(ht,!0),ht.props||U)}}(bt,Ue)))}function Zn(Ue,ht,bt,Xt,Yt,an,gn){var bn=ht.flags|=16384;Ue.flags!==bn||Ue.type!==ht.type||Ue.key!==ht.key||2048&bn?16384&Ue.flags?function nr(Ue,ht,bt,Xt,Yt,an){d(Ue),ht.flags&Ue.flags&2033?(kt(ht,null,Xt,Yt,null,an),function L(Ue,ht,bt){Ue.replaceChild(ht,bt)}(bt,ht.dom,Ue.dom)):(kt(ht,bt,Xt,Yt,S(Ue,!0),an),j(Ue,bt))}(Ue,ht,bt,Xt,Yt,gn):kt(ht,bt,Xt,Yt,an,gn):481&bn?function uo(Ue,ht,bt,Xt,Yt,an){var gi,gn=ht.dom=Ue.dom,bn=Ue.props,ti=ht.props,qn=!1,ii=!1;if(Xt=Xt||(32&Yt)>0,bn!==ti){var _i=bn||U;if((gi=ti||U)!==U)for(var qi in(qn=(448&Yt)>0)&&(ii=pn(gi)),gi){var Ci=_i[qi],or=gi[qi];Ci!==or&&en(qi,Ci,or,gn,Xt,ii,Ue)}if(_i!==U)for(var Di in _i)m(gi[Di])&&!m(_i[Di])&&en(Di,_i[Di],null,gn,Xt,ii,Ue)}var Yr=ht.children,sr=ht.className;Ue.className!==sr&&(m(sr)?gn.removeAttribute("class"):Xt?gn.setAttribute("class",sr):gn.className=sr),4096&Yt?function lr(Ue,ht){Ue.textContent!==ht&&(Ue.textContent=ht)}(gn,Yr):vr(Ue.childFlags,ht.childFlags,Ue.children,Yr,gn,bt,Xt&&"foreignObject"!==ht.type,null,Ue,an),qn&&Lt(Yt,ht,gn,gi,!1,ii);var Sr=ht.ref,io=Ue.ref;io!==Sr&&(Dt(io),it(Sr,gn,an))}(Ue,ht,Xt,Yt,bn,gn):4&bn?function Li(Ue,ht,bt,Xt,Yt,an,gn){var bn=ht.children=Ue.children;if(!M(bn)){bn.$L=gn;var ti=ht.props||U,qn=ht.ref,ii=Ue.ref,gi=bn.state;if(!bn.$N){if(_(bn.componentWillReceiveProps)){if(bn.$BR=!0,bn.componentWillReceiveProps(ti,Xt),bn.$UN)return;bn.$BR=!1}M(bn.$PS)||(gi=p(gi,bn.$PS),bn.$PS=null)}bi(bn,gi,ti,bt,Xt,Yt,!1,an,gn),ii!==qn&&(Dt(ii),it(qn,bn,gn))}}(Ue,ht,bt,Xt,Yt,an,gn):8&bn?function br(Ue,ht,bt,Xt,Yt,an,gn){var bn=!0,ti=ht.props||U,qn=ht.ref,ii=Ue.props,gi=!m(qn),_i=Ue.children;if(gi&&_(qn.onComponentShouldUpdate)&&(bn=qn.onComponentShouldUpdate(ii,ti)),!1!==bn){gi&&_(qn.onComponentWillUpdate)&&qn.onComponentWillUpdate(ii,ti);var qi=we(Qt(ht,Xt));Zn(_i,qi,bt,Xt,Yt,an,gn),ht.children=qi,gi&&_(qn.onComponentDidUpdate)&&qn.onComponentDidUpdate(ii,ti)}else ht.children=_i}(Ue,ht,bt,Xt,Yt,an,gn):16&bn?function no(Ue,ht){var bt=ht.children,Xt=ht.dom=Ue.dom;bt!==Ue.children&&(Xt.nodeValue=bt)}(Ue,ht):512&bn?ht.dom=Ue.dom:8192&bn?function oo(Ue,ht,bt,Xt,Yt,an){var gn=Ue.children,bn=ht.children,ti=Ue.childFlags,qn=ht.childFlags,ii=null;12&qn&&0===bn.length&&(qn=ht.childFlags=2,bn=ht.children=et());var gi=!!(2&qn);if(12&ti){var _i=gn.length;(8&ti&&8&qn||gi||!gi&&bn.length>_i)&&(ii=S(gn[_i-1],!1).nextSibling)}vr(ti,qn,gn,bn,bt,Xt,Yt,ii,Ue,an)}(Ue,ht,bt,Xt,Yt,gn):function ji(Ue,ht,bt,Xt){var Yt=Ue.ref,an=ht.ref,gn=ht.children;if(vr(Ue.childFlags,ht.childFlags,Ue.children,gn,Yt,bt,!1,null,Ue,Xt),ht.dom=Ue.dom,Yt!==an&&!x(gn)){var bn=gn.dom;f(Yt,bn),K(an,bn)}}(Ue,ht,Xt,gn)}function vr(Ue,ht,bt,Xt,Yt,an,gn,bn,ti,qn){switch(Ue){case 2:switch(ht){case 2:Zn(bt,Xt,Yt,an,gn,bn,qn);break;case 1:Ht(bt,Yt);break;case 16:d(bt),W(Yt,Xt);break;default:!function Qi(Ue,ht,bt,Xt,Yt,an){d(Ue),fi(ht,bt,Xt,Yt,S(Ue,!0),an),j(Ue,bt)}(bt,Xt,Yt,an,gn,qn)}break;case 1:switch(ht){case 2:kt(Xt,Yt,an,gn,bn,qn);break;case 1:break;case 16:W(Yt,Xt);break;default:fi(Xt,Yt,an,gn,bn,qn)}break;case 16:switch(ht){case 16:!function Mi(Ue,ht,bt){Ue!==ht&&(""!==Ue?bt.firstChild.nodeValue=ht:W(bt,ht))}(bt,Xt,Yt);break;case 2:T(Yt),kt(Xt,Yt,an,gn,bn,qn);break;case 1:T(Yt);break;default:T(Yt),fi(Xt,Yt,an,gn,bn,qn)}break;default:switch(ht){case 16:O(bt),W(Yt,Xt);break;case 2:Me(Yt,ti,bt),kt(Xt,Yt,an,gn,bn,qn);break;case 1:Me(Yt,ti,bt);break;default:var ii=0|bt.length,gi=0|Xt.length;0===ii?gi>0&&fi(Xt,Yt,an,gn,bn,qn):0===gi?Me(Yt,ti,bt):8===ht&&8===Ue?function ls(Ue,ht,bt,Xt,Yt,an,gn,bn,ti,qn){var or,Di,ii=an-1,gi=gn-1,_i=0,qi=Ue[_i],Ci=ht[_i];e:{for(;qi.key===Ci.key;){if(16384&Ci.flags&&(ht[_i]=Ci=De(Ci)),Zn(qi,Ci,bt,Xt,Yt,bn,qn),Ue[_i]=Ci,++_i>ii||_i>gi)break e;qi=Ue[_i],Ci=ht[_i]}
1for(qi=Ue[ii],Ci=ht[gi];qi.key===Ci.key;){if(16384&Ci.flags&&(ht[gi]=Ci=De(Ci)),Zn(qi,Ci,bt,Xt,Yt,bn,qn),Ue[ii]=Ci,gi--,_i>--ii||_i>gi)break e;qi=Ue[ii],Ci=ht[gi]}}if(_i>ii){if(_i<=gi)for(Di=(or=gi+1)<gn?S(ht[or],!0):bn;_i<=gi;)16384&(Ci=ht[_i]).flags&&(ht[_i]=Ci=De(Ci)),++_i,kt(Ci,bt,Xt,Yt,Di,qn)}else if(_i>gi)for(;_i<=ii;)Ht(Ue[_i++],bt);else!function Tr(Ue,ht,bt,Xt,Yt,an,gn,bn,ti,qn,ii,gi,_i){var qi,Ci,or,Di=0,Yr=bn,sr=bn,Sr=an-bn+1,io=gn-bn+1,lo=new Int32Array(io+1),Qr=Sr===Xt,qr=!1,Nr=0,ro=0;if(Yt<4||(Sr|io)<32)for(Di=Yr;Di<=an;++Di)if(qi=Ue[Di],ro<io){for(bn=sr;bn<=gn;bn++)if(qi.key===(Ci=ht[bn]).key){if(lo[bn-sr]=Di+1,Qr)for(Qr=!1;Yr<Di;)Ht(Ue[Yr++],ti);Nr>bn?qr=!0:Nr=bn,16384&Ci.flags&&(ht[bn]=Ci=De(Ci)),Zn(qi,Ci,ti,bt,qn,ii,_i),++ro;break}!Qr&&bn>gn&&Ht(qi,ti)}else Qr||Ht(qi,ti);else{var Zo={};for(Di=sr;Di<=gn;++Di)Zo[ht[Di].key]=Di;for(Di=Yr;Di<=an;++Di)if(qi=Ue[Di],ro<io)if(void 0!==(bn=Zo[qi.key])){if(Qr)for(Qr=!1;Di>Yr;)Ht(Ue[Yr++],ti);lo[bn-sr]=Di+1,Nr>bn?qr=!0:Nr=bn,16384&(Ci=ht[bn]).flags&&(ht[bn]=Ci=De(Ci)),Zn(qi,Ci,ti,bt,qn,ii,_i),++ro}else Qr||Ht(qi,ti);else Qr||Ht(qi,ti)}if(Qr)Me(ti,gi,Ue),fi(ht,ti,bt,qn,ii,_i);else if(qr){var Er=function Rr(Ue){var ht=0,bt=0,Xt=0,Yt=0,an=0,gn=0,bn=0,ti=Ue.length;for(ti>Jr&&(Jr=ti,Ur=new Int32Array(ti),Bi=new Int32Array(ti));bt<ti;
1++bt)if(0!==(ht=Ue[bt])){if(Ue[Xt=Ur[Yt]]<ht){Bi[bt]=Xt,Ur[++Yt]=bt;continue}for(an=0,gn=Yt;an<gn;)Ue[Ur[bn=an+gn>>1]]<ht?an=bn+1:gn=bn;ht<Ue[Ur[an]]&&(an>0&&(Bi[bt]=Ur[an-1]),Ur[an]=bt)}an=Yt+1;var qn=new Int32Array(an);for(gn=Ur[an-1];an-- >0;)qn[an]=gn,gn=Bi[gn],Ur[an]=0;return qn}(lo);for(bn=Er.length-1,Di=io-1;Di>=0;Di--)0===lo[Di]?(16384&(Ci=ht[Nr=Di+sr]).flags&&(ht[Nr]=Ci=De(Ci)),kt(Ci,ti,bt,qn,(or=Nr+1)<Yt?S(ht[or],!0):ii,_i)):bn<0||Di!==Er[bn]?fe(Ci=ht[Nr=Di+sr],ti,(or=Nr+1)<Yt?S(ht[or],!0):ii):bn--}else if(ro!==io)for(Di=io-1;Di>=0;Di--)0===lo[Di]&&(16384&(Ci=ht[Nr=Di+sr]).flags&&(ht[Nr]=Ci=De(Ci)),kt(Ci,ti,bt,qn,(or=Nr+1)<Yt?S(ht[or],!0):ii,_i))}(Ue,ht,Xt,an,gn,ii,gi,_i,bt,Yt,bn,ti,qn)}(bt,Xt,Yt,an,gn,ii,gi,bn,ti,qn):function Ao(Ue,ht,bt,Xt,Yt,an,gn,bn,ti){for(var gi,_i,qn=an>gn?gn:an,ii=0;ii<qn;++ii)_i=Ue[ii],16384&(gi=ht[ii]).flags&&(gi=ht[ii]=De(gi)),Zn(_i,gi,bt,Xt,Yt,bn,ti),Ue[ii]=gi;if(an<gn)for(ii=qn;ii<gn;++ii)16384&(gi=ht[ii]).flags&&(gi=ht[ii]=De(gi)),kt(gi,bt,Xt,Yt,bn,ti);else if(an>gn)for(ii=qn;ii<an;++ii)Ht(Ue[ii],bt)}(bt,Xt,Yt,an,gn,ii,gi,bn,qn)}}}function bi(Ue,ht,bt,Xt,Yt,an,gn,bn,ti){var qn=Ue.state,ii=Ue.props,gi=!!Ue.$N,_i=_(Ue.shouldComponentUpdate);if(gi&&(ht=H(Ue,bt,ht!==qn?p(qn,ht):ht)),gn||!_i||_i&&Ue.shouldComponentUpdate(bt,ht,Yt)){!gi&&_(Ue.componentWillUpdate)&&Ue.componentWillUpdate(bt,ht,Yt),Ue.props=bt,Ue.state=ht,Ue.context=Yt;var qi=null,Ci=xi(Ue,bt,Yt);gi&&_(Ue.getSnapshotBeforeUpdate)&&(qi=Ue.getSnapshotBeforeUpdate(ii,qn)),Zn(Ue.$LI,Ci,Xt,Ue.$CX,an,bn,ti),Ue.$LI=Ci,_(Ue.componentDidUpdate)&&function so(Ue,ht,bt,Xt,Yt){Yt.push(function(){Ue.componentDidUpdate(ht,bt,Xt)})}(Ue,ii,qn,qi,ti)}else Ue.props=bt,Ue.state=ht,Ue.context=Yt}var Ur,Bi,Jr=0;function Hr(Ue,ht,bt,Xt){void 0===bt&&(bt=null),void 0===Xt&&(Xt=U),function ho(Ue,ht,bt,Xt){var Yt=[],an=ht.$V;J.v=!0,m(an)?m(Ue)||(16384&Ue.flags&&(Ue=De(Ue)),kt(Ue,ht,Xt,!1,null,Yt),ht.$V=Ue,an=Ue):m(Ue)?(Ht(an,ht),ht.$V=null):(16384&Ue.flags&&(Ue=De(Ue)),Zn(an,Ue,ht,Xt,!1,null,Yt),an=ht.$V=Ue),D(Yt),J.v=!1,_(bt)&&bt(),_(Y.renderComplete)&&Y.renderComplete(an,ht)}(Ue,ht,bt,Xt)}typeof document<"u"&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Cr=[],Bo=typeof Promise<"u"?Promise.resolve().then.bind(Prom
1ise.resolve()):function(Ue){window.setTimeout(Ue,0)},ur=!1;function Uo(Ue,ht,bt,Xt){var Yt=Ue.$PS;if(_(ht)&&(ht=ht(Yt?p(Ue.state,Yt):Ue.state,Ue.props,Ue.context)),m(Yt))Ue.$PS=ht;else for(var an in ht)Yt[an]=ht[an];if(Ue.$BR)_(bt)&&Ue.$L.push(bt.bind(Ue));else{if(!J.v&&0===Cr.length)return yr(Ue,Xt),void(_(bt)&&bt.call(Ue));if(-1===Cr.indexOf(Ue)&&Cr.push(Ue),Xt&&(Ue.$F=!0),ur||(ur=!0,Bo(Zr)),_(bt)){var gn=Ue.$QU;gn||(gn=Ue.$QU=[]),gn.push(bt)}}}function Xr(Ue){for(var ht=Ue.$QU,bt=0;bt<ht.length;++bt)ht[bt].call(Ue);Ue.$QU=null}function Zr(){var Ue;for(ur=!1;Ue=Cr.shift();)if(!Ue.$UN){var ht=Ue.$F;Ue.$F=!1,yr(Ue,ht),Ue.$QU&&Xr(Ue)}}function yr(Ue,ht){if(ht||!Ue.$BR){var bt=Ue.$PS;Ue.$PS=null;var Xt=[];J.v=!0,bi(Ue,p(Ue.state,bt),Ue.props,S(Ue.$LI,!0).parentNode,Ue.context,Ue.$SVG,ht,null,Xt),D(Xt),J.v=!1}else Ue.state=Ue.$PS,Ue.$PS=null}var Ri=function(ht,bt){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=ht||U,this.context=bt||U};Ri.prototype.forceUpdate=function(ht){this.$UN||Uo(this,{},ht,!0)},Ri.prototype.setState=function(ht,bt){this.$UN||this.$BS||Uo(this,ht,bt,!1)},Ri.prototype.render=function(ht,bt,Xt){return null}},4412:(Nt,Le,a)=>{"use strict";a.d(Le,{t:()=>c});var t=a(1413);class c extends t.B{constructor(x){super(),this._value=x}get value(){return this.getValue()}_subscribe(x){const _=super._subscribe(x);return!_.closed&&x.next(this._value),_}getValue(){const{hasError:x,thrownError:_,_value:b}=this;if(x)throw _;return this._throwIfClosed(),b}next(x){super.next(this._value=x)}}},1985:(Nt,Le,a)=>{"use strict";a.d(Le,{c:()=>M});var t=a(7707),c=a(8359),m=a(3494),x=a(1203),_=a(1026),b=a(8071),v=a(9786);let M=(()=>{class g{constructor(G){G&&(this._subscribe=G)}lift(G){const A=new g;return A.source=this,A.operator=G,A}subscribe(G,A,K){const z=function P(g){return g&&g instanceof t.vU||function p(g){return g&&(0,b.T)(g.next)&&(0,b.T)(g.error)&&(0,b.T)(g.complete)}(g)&&(0,c.Uv)(g)}(G)?G:new t.Ms(G,A,K);return(0,v.Y)(()=>{const{operator:ee,source:L}=this;z.add(ee?ee.call(z,L):L?this._subscribe(z):this._trySubscribe(z))}),z}_trySubscribe(G){try{return this._subscribe(G)}catch(A){G.error(A)}}forEach(G,A){return new(A=N(A))((K,z)=>{const ee=new t.Ms({next:L=>{try{G(L)}catch(f){z(f),ee.unsubscribe()}},error:z,complete:K});this.subscribe(ee)})}_subscribe(G){var A;return null===(A=this.source)||void 0===A?void 0:A.subscribe(G)}[m.s](){return this}pipe(...G){return(0,x.m)(G)(this)}toPromise(G){return new(G=N(G))((A,K)=>{let z;this.subscribe(ee=>z=ee,ee=>K(ee),()=>A(z))})}}return g.create=U=>new g(U),g})();function N(g){var U;return null!==(U=g??_.$.Promise)&&void 0!==U?U:Promise}},2771:(Nt,Le,a)=>{"use strict";a.d(Le,{m:()=>m});var t=a(1413),c=a(6129);class m extends t.B{constructor(_=1/0,b=1/0,v=c.U){super(),this._bufferSize=_,this._windowTime=b,this._timestampProvider=v,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=b===1/0,this._bufferSize=Math.max(1,_),this._windowTime=Math.max(1,b)}next(_){const{isStopped:b,_buffer:v,_infiniteTimeWindow:M,_timestampProvider:N,_windowTime:p}=this;b||(v.push(_),!M&&v.push(N.now()+p)),this._trimBuffer(),super.next(_)}_subscribe(_){this._throwIfClosed(),this._trimBuffer();const b=this._innerSubscribe(_),{_infiniteTimeWindow:v,_buffer:M}=this,N=M.slice();for(let p=0;p<N.length&&!_.closed;p+=v?1:2)_.next(N[p]);return this._checkFinalizedStatuses(_),b}_trimBuffer(){const{_bufferSize:_,_timestampProvider:b,_buffer:v,_infiniteTimeWindow:M}=this,N=(M?1:2)*_;if(_<1/0&&N<v.length&&v.splice(0,v.length-N),!M){const p=b.now();let P=0;for(let g=1;g<v.length&&v[g]<=p;g+=2)P=g;P&&v.splice(0,P+1)}}}},1413:(Nt,Le,a)=>{"use strict";a.d(Le,{B:()=>v});var t=a(1985),c=a(8359);const x=(0,a(1853).L)(N=>function(){N(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var _=a(7908),b=a(9786);let v=(()=>{class N extends t.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(P){const g=new M(this,this);return g.operator=P,g}_throwIfClosed(){if(this.closed)throw new x}next(P){(0,b.Y)(()=>
vendor: 4,428 bytes, line 1
1{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const g of this.currentObservers)g.next(P)}})}error(P){(0,b.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=P;const{observers:g}=this;for(;g.length;)g.shift().error(P)}})}complete(){(0,b.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:P}=this;for(;P.length;)P.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var P;return(null===(P=this.observers)||void 0===P?void 0:P.length)>0}_trySubscribe(P){return this._throwIfClosed(),super._trySubscribe(P)}_subscribe(P){return this._throwIfClosed(),this._checkFinalizedStatuses(P),this._innerSubscribe(P)}_innerSubscribe(P){const{hasError:g,isStopped:U,observers:G}=this;return g||U?c.Kn:(this.currentObservers=null,G.push(P),new c.yU(()=>{this.currentObservers=null,(0,_.o)(G,P)}))}_checkFinalizedStatuses(P){const{hasError:g,thrownError:U,isStopped:G}=this;g?P.error(U):G&&P.complete()}asObservable(){const P=new t.c;return P.source=this,P}}return N.create=(p,P)=>new M(p,P),N})();class M extends v{constructor(p,P){super(),this.destination=p,this.source=P}next(p){var P,g;null===(g=null===(P=this.destination)||void 0===P?void 0:P.next)||void 0===g||g.call(P,p)}error(p){var P,g;null===(g=null===(P=this.destination)||void 0===P?void 0:P.error)||void 0===g||g.call(P,p)}complete(){var p,P;null===(P=null===(p=this.destination)||void 0===p?void 0:p.complete)||void 0===P||P.call(p)}_subscribe(p){var P,g;return null!==(g=null===(P=this.source)||void 0===P?void 0:P.subscribe(p))&&void 0!==g?g:c.Kn}}},7707:(Nt,Le,a)=>{"use strict";a.d(Le,{Ms:()=>K,vU:()=>g});var t=a(8071),c=a(8359),m=a(1026),x=a(5334),_=a(5343);const b=N("C",void 0,void 0);function N(D,R,S){return{kind:D,value:R,error:S}}var p=a(9270),P=a(9786);class g extends c.yU{constructor(R){super(),this.isStopped=!1,R?(this.destination=R,(0,c.Uv)(R)&&R.add(this)):this.destination=f}static create(R,S,j){return new K(R,S,j)}next(R){this.isStopped?L(function M(D){return N("N",D,void 0)}(R),this):this._next(R)}error(R){this.isStopped?L(function v(D){return N("E",void 0,D)}(R),this):(this.isStopped=!0,this._error(R))}complete(){this.isStopped?L(b,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(R){this.destination.next(R)}_error(R){try{this.destination.error(R)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const U=Function.prototype.bind;function G(D,R){return U.call(D,R)}class A{constructor(R){this.partialObserver=R}next(R){const{partialObserver:S}=this;if(S.next)try{S.next(R)}catch(j){z(j)}}error(R){const{partialObserver:S}=this;if(S.error)try{S.error(R)}catch(j){z(j)}else z(R)}complete(){const{partialObserver:R}=this;if(R.complete)try{R.complete()}catch(S){z(S)}}}class K extends g{constructor(R,S,j){let fe;if(super(),(0,t.T)(R)||!R)fe={next:R??void 0,error:S??void 0,complete:j??void 0};else{let H;this&&m.$.useDeprecatedNextContext?(H=Object.create(R),H.unsubscribe=()=>this.unsubscribe(),fe={next:R.next&&G(R.next,H),error:R.error&&G(R.error,H),complete:R.complete&&G(R.complete,H)}):fe=R}this.destination=new A(fe)}}function z(D){m.$.useDeprecatedSynchronousErrorHandling?(0,P.l)(D):(0,x.m)(D)}function L(D,R){const{onStoppedNotification:S}=m.$;S&&p.f.setTimeout(()=>S(D,R))}const f={closed:!0,next:_.l,error:function ee(D){throw D},complete:_.l}},8359:(Nt,Le,a)=>{"use strict";a.d(Le,{Kn:()=>b,yU:()=>_,Uv:()=>v});var t=a(8071);const m=(0,a(1853).L)(N=>function(P){N(this),this.message=P?`${P.length} errors occurred during unsubscription:\n${P.map((g,U)=>`${U+1}) ${g.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=P});var x=a(7908);class _{constructor(p){this.initialTeardown=p,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let p;if(!this.closed){this.closed=!0;const{_parentage:P}=this;if(P)if(this._parentage=null,Array.isArray(P))for(const G of P)G.remove(this);else P.remove(this);const{initialTeardown:g}=this;if((0,t.T)(g))try{g()}catch(G){p=G instanceof m?G.errors:[G]}const{_finalizers:U}=this;if(U){this._finalizers=null;for(const G of U)try{M(G)}catch(A){p=p??[],A instanceof m?p=[...p,...A.errors]:p.push(A)}}
1if(p)throw new m(p)}}add(p){var P;if(p&&p!==this)if(this.closed)M(p);else{if(p instanceof _){if(p.closed||p._hasParent(this))return;p._addParent(this)}(this._finalizers=null!==(P=this._finalizers)&&void 0!==P?P:[]).push(p)}}_hasParent(p){const{_parentage:P}=this;return P===p||Array.isArray(P)&&P.includes(p)}_addParent(p){const{_parentage:P}=this;this._parentage=Array.isArray(P)?(P.push(p),P):P?[P,p]:p}_removeParent(p){const{_parentage:P}=this;P===p?this._parentage=null:Array.isArray(P)&&(0,x.o)(P,p)}remove(p){const{_finalizers:P}=this;P&&(0,x.o)(P,p),p instanceof _&&p._removeParent(this)}}_.EMPTY=(()=>{const N=new _;return N.closed=!0,N})();const b=_.EMPTY;function v(N){return N instanceof _||N&&"closed"in N&&(0,t.T)(N.remove)&&(0,t.T)(N.add)&&(0,t.T)(N.unsubscribe)}function M(N){(0,t.T)(N)?N():N.unsubscribe()}},1026:(Nt,Le,a)=>{"use strict";a.d(Le,{$:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(Nt,Le,a)=>{"use strict";a.d(Le,{z:()=>p});var t=a(1985),c=a(3073),m=a(6648),x=a(3669),_=a(6450),b=a(9326),v=a(8496),M=a(4360),N=a(5225);function p(...U){const G=(0,b.lI)(U),A=(0,b.ms)(U),{args:K,keys:z}=(0,c.D)(U);if(0===K.length)return(0,m.H)([],G);const ee=new t.c(function P(U,G,A=x.D){return K=>{g(G,()=>{const{length:z}=U,ee=new Array(z);let L=z,f=z;for(let D=0;D<z;D++)g(G,()=>{const R=(0,m.H)(U[D],G);let S=!1;R.subscribe((0,M._)(K,j=>{ee[D]=j,S||(S=!0,f--),f||K.next(A(ee.slice()))},()=>{--L||K.complete()}))},K)},K)}}(K,G,z?L=>(0,v.e)(z,L):x.D));return A?ee.pipe((0,_.I)(A)):ee}function g(U,G,A){U?(0,N.N)(A,U,G):G()}},8793:(Nt,Le,a)=>{"use strict";a.d(Le,{x:()=>_});var t=a(6365),m=a(9326),x=a(6648);function _(...b){return function c(){return(0,t.U)(1)}()((0,x.H)(b,(0,m.lI)(b)))}},9030:(Nt,Le,a)=>{"use strict";a.d(Le,{v:()=>m});var t=a(1985),c=a(8750);function m(x){return new t.c(_=>{(0,c.Tg)(x()).subscribe(_)})}},983:(Nt,Le,a)=>{"use strict";a.d(Le,{w:()=>c});const c=new(a(1985).c)(_=>_.complete())},7468:(Nt,Le,a)=>{"use strict";a.d(Le,{p:()=>M});var t=a(1985),c=a(3073),m=a(8750),x=a(9326),_=a(4360),b=a(6450),v=a(8496);function M(...N){const p=(0,x.ms)(N),{args:P,keys:g}=(0,c.D)(N),U=new t.c(G=>{const{length:A}=P;if(!A)return void G.complete();const K=new Array(A);let z=A,ee=A;for(let L=0;L<A;L++){let f=!1;(0,m.Tg)(P[L]).subscribe((0,_._)(G,D=>{f||(f=!0,ee--),K[L]=D},()=>z--,void 0,()=>{(!z||!f)&&(ee||G.next(g?(0,v.e)(g,K):K),G.complete())}))}});return p?U.pipe((0,b.I)(p)):U}},6648:(Nt,Le,a)=>{"use strict";a.d(Le,{H:()=>j});var t=a(8750),c=a(5225),m=a(9974),x=a(4360);function _(fe,H=0){return(0,m.N)((J,Y)=>{J.subscribe((0,x._)(Y,W=>(0,c.N)(Y,fe,()=>Y.next(W),H),()=>(0,c.N)(Y,fe,()=>Y.complete(),H),W=>(0,c.N)(Y,fe,()=>Y.error(W),H)))})}function b(fe,H=0){return(0,m.N)((J,Y)=>{Y.add(fe.schedule(()=>J.subscribe(Y),H))})}var N=a(1985),P=a(4761),g=a(8071);function G(fe,H){if(!fe)throw new Error("Iterable cannot be null");return new N.c(J=>{(0,c.N)(J,H,()=>{const Y=fe[Symbol.asyncIterator]();(0,c.N)(J,H,()=>{Y.next().then(W=>{W.done?J.complete():J.next(W.value)})},0,!0)})})}var A=a(5055),K=a(9858),z=a(7441),ee=a(5397),L=a(7953),f=a(591),D=a(5196);function j(fe,H){return H?function S(fe,H){if(null!=fe){if((0,A.l)(fe))return function v(fe,H){return(0,t.Tg)(fe).pipe(b(H),_(H))}(fe,H);if((0,z.X)(fe))return function p(fe,H){return new N.c(J=>{let Y=0;return H.schedule(function(){Y===fe.length?J.complete():(J.next(fe[Y++]),J.closed||this.schedule())})})}(fe,H);if((0,K.y)(fe))return function M(fe,H){return(0,t.Tg)(fe).pipe(b(H),_(H))}(fe,H);if((0,L.T)(fe))return G(fe,H);if((0,ee.x)(fe))return function U(fe,H){return new N.c(J=>{let Y;return(0,c.N)(J,H,()=>{Y=fe[P.l](),(0,c.N)(J,H,()=>{let W,re;try{({value:W,done:re}=Y.next())}catch(le){return void J.error(le)}re?J.complete():J.next(W)},0,!0)}),()=>(0,g.T)(Y?.return)&&Y.return()})}(fe,H);if((0,D.U)(fe))return function R(fe,H){return G((0,D.C)(fe),H)}(fe,H)}throw(0,f.L)(fe)}(fe,H):(0,t.Tg)(fe)}},3726:(Nt,Le,a)=>{"use strict";a.d(Le,{R:()=>p});var t=a(8750),c=a(1985),m=a(1397),x=a(7441),_=a(8071),b=a(6450);const v=["addListener","removeListener"],M=["addEventListener","removeEventListener"],N=["on","off"];function p(A,K,z,ee){if((0,_.T)(z)&&(ee=z,z=void 0),ee)return p(A,K,z).pipe((0,b.I)(ee));const[L,f]=function G(A){return(0,_.T)(A.addEventListener)&&(0,_.T)(A.removeEventListener)}(A)?M.map(D=>R=>A[D](K,R,z)):function g(A){return(0,_.T)(A.addListener)&&(0,_.T)(A.removeListener)}(A)?v.map(P(A,K)):function U(A){return(0,_.T)(A.on)&&(0,_.T)(A.off)}(A)?N.map(P(A,K)):[];if(!L&&(0,x.X)(A))return(0,m.Z)(D=>p(D,K,z))((0,t.Tg)(A));if(!L)throw new TypeError("Invalid event target");return new c.c(D=>{const R=(...S)=>D.next(1<S.length?S:S[0]);return L(R),()=>f(R)})}function P(A,K){return z=>ee=>A[z](K,ee)}},8750:(Nt,Le,a)=>{"use strict";a.d(Le,{Tg:()=>U});var t=a(1635),c=a(7441),m=a(9858),x=a(1985),_=a(5055),b=a(7953),v=a(591),M=a(5397),N=a(5196),p=a(8071),P=a(5334),g=a(3494);
1function U(D){if(D instanceof x.c)return D;if(null!=D){if((0,_.l)(D))return function G(D){return new x.c(R=>{const S=D[g.s]();if((0,p.T)(S.subscribe))return S.subscribe(R);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(D);if((0,c.X)(D))return function A(D){return new x.c(R=>{for(let S=0;S<D.length&&!R.closed;S++)R.next(D[S]);R.complete()})}(D);if((0,m.y)(D))return function K(D){return new x.c(R=>{D.then(S=>{R.closed||(R.next(S),R.complete())},S=>R.error(S)).then(null,P.m)})}(D);if((0,b.T)(D))return ee(D);if((0,M.x)(D))return function z(D){return new x.c(R=>{for(const S of D)if(R.next(S),R.closed)return;R.complete()})}(D);if((0,N.U)(D))return function L(D){return ee((0,N.C)(D))}(D)}throw(0,v.L)(D)}function ee(D){return new x.c(R=>{(function f(D,R){var S,j,fe,H;return(0,t.sH)(this,void 0,void 0,function*(){try{for(S=(0,t.xN)(D);!(j=yield S.next()).done;)if(R.next(j.value),R.closed)return}catch(J){fe={error:J}}finally{try{j&&!j.done&&(H=S.return)&&(yield H.call(S))}finally{if(fe)throw fe.error}}R.complete()})})(D,R).catch(S=>R.error(S))})}},7673:(Nt,Le,a)=>{"use strict";a.d(Le,{of:()=>m});var t=a(9326),c=a(6648);function m(...x){const _=(0,t.lI)(x);return(0,c.H)(x,_)}},8810:(Nt,Le,a)=>{"use strict";a.d(Le,{$:()=>m});var t=a(1985),c=a(8071);function m(x,_){const b=(0,c.T)(x)?x:()=>x,v=M=>M.error(b());return new t.c(_?M=>_.schedule(v,0,M):v)}},1584:(Nt,Le,a)=>{"use strict";a.d(Le,{O:()=>_});var t=a(1985),c=a(8839),m=a(9470);function _(b=0,v,M=c.b){let N=-1;return null!=v&&((0,m.m)(v)?M=v:N=v),new t.c(p=>{let P=function x(b){return b instanceof Date&&!isNaN(b)}(b)?+b-M.now():b;P<0&&(P=0);let g=0;return M.schedule(function(){p.closed||(p.next(g++),0<=N?this.schedule(void 0,N):p.complete())},P)})}},4360:(Nt,Le,a)=>{"use strict";a.d(Le,{_:()=>c});var t=a(7707);function c(x,_,b,v,M){return new m(x,_,b,v,M)}class m extends t.vU{constructor(_,b,v,M,N,p){super(_),this.onFinalize=N,this.shouldUnsubscribe=p,this._next=b?function(P){try{b(P)}catch(g){_.error(g)}}:super._next,this._error=M?function(P){try{M(P)}catch(g){_.error(g)}finally{this.unsubscribe()}}:super._error,this._complete=v?function(){try{v()}catch(P){_.error(P)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var _;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:b}=this;super.unsubscribe(),!b&&(null===(_=this.onFinalize)||void 0===_||_.call(this))}}}},9437:(Nt,Le,a)=>{"use strict";a.d(Le,{W:()=>x});var t=a(8750),c=a(4360),m=a(9974);function x(_){return(0,m.N)((b,v)=>{let p,M=null,N=!1;M=b.subscribe((0,c._)(v,void 0,void 0,P=>{p=(0,t.Tg)(_(P,x(_)(b))),M?(M.unsubscribe(),M=null,p.subscribe(v)):N=!0})),N&&(M.unsubscribe(),M=null,p.subscribe(v))})}},274:(Nt,Le,a)=>{"use strict";a.d(Le,{H:()=>m});var t=a(1397),c=a(8071);function m(x,_){return(0,c.T)(_)?(0,t.Z)(x,_,1):(0,t.Z)(x,1)}},152:(Nt,Le,a)=>{"use strict";a.d(Le,{B:()=>x});var t=a(8839),c=a(9974),m=a(4360);function x(_,b=t.E){return(0,c.N)((v,M)=>{let N=null,p=null,P=null;const g=()=>{if(N){N.unsubscribe(),N=null;const G=p;p=null,M.next(G)}};function U(){const G=P+_,A=b.now();if(A<G)return N=this.schedule(void 0,G-A),void M.add(N);g()}v.subscribe((0,m._)(M,G=>{p=G,P=b.now(),N||(N=b.schedule(U,_),M.add(N))},()=>{g(),M.complete()},void 0,()=>{p=N=null}))})}},9901:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>m});var t=a(9974),c=a(4360);function m(x){return(0,t.N)((_,b)=>{let v=!1;_.subscribe((0,c._)(b,M=>{v=!0,b.next(M)},()=>{v||b.next(x),b.complete()}))})}},5964:(Nt,Le,a)=>{"use strict";a.d(Le,{p:()=>m});var t=a(9974),c=a(4360);function m(x,_){return(0,t.N)((b,v)=>{let M=0;b.subscribe((0,c._)(v,N=>x.call(_,N,M++)&&v.next(N)))})}},980:(Nt,Le,a)=>{"use strict";a.d(Le,{j:()=>c});var t=a(9974);function c(m){return(0,t.N)((x,_)=>{try{x.subscribe(_)}finally{_.add(m)}})}},1594:(Nt,Le,a)=>{"use strict";a.d(Le,{$:()=>v});var t=a(9350),c=a(5964),m=a(6697),x=a(9901),_=a(3774),b=a(3669);function v(M,N){const p=arguments.length>=2;return P=>P.pipe(M?(0,c.p)((g,U)=>M(g,U,P)):b.D,(0,m.s)(1),p?(0,x.U)(N):(0,_.v)(()=>new t.G))}},6354:(Nt,Le,a)=>{"use strict";a.d(Le,{T:()=>m});var t=a(9974),c=a(4360);function m(x,_){return(0,t.N)((b,v)=>{let M=0;b.subscribe((0,c._)(v,N=>{v.next(x.call(_,N,M++))}))})}},3703:(Nt,Le,a)=>{"use strict";a.d(Le,{u:()=>c});var t=a(6354);function c(m){return(0,t.T)(()=>m)}},6365:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>m});var t=a(1397),c=a(3669);function m(x=1/0){return(0,t.Z)(c.D,x)}},1397:(Nt,Le,a)=>{"use strict";a.d(Le,{Z:()=>M});var t=a(6354),c=a(8750),m=a(9974),x=a(5225),_=a(4360),v=a(8071);function M(N,p,P=1/0){return(0,v.T)(p)?M((g,U)=>(0,t.T)((G,A)=>p(g,G,U,A))((0,c.Tg)(N(g,U))),P):("number"==typeof p&&(P=p),(0,m.N)((g,U)=>function b(N,p,P,g,U,G,A,K){const z=[];let ee=0,L=0,f=!1;const D=()=>{f&&!z.length&&!ee&&p.complete()},R=j=>ee<g?S(j):z.push(j),S=j=>{G&&p.next(j),ee++;let fe=!1;(0,c.Tg)(P(j,L++)).subscribe((0,_._)(p,H=>{U?.(H),G?R(H):p.next(H)},()=>{fe=!0},void 0,()=>{if(fe)try{for(ee--;z.length&&ee<g;){const H=z.shift();A?(0,x.N)(p,A,()=>S(H)):S(H)}D()}catch(H){p.error(H)}}))};return N.subscribe((0,_._)(p,R,()=>{f=!0,D()})),()=>{K?.()}}(g,U,N,P)))}},9568:(Nt,Le,a)=>{"use strict";a.d(Le,{t:()=>M});var t=a(2771),c=a(8750),m=a(1413),x=a(7707),_=a(9974);function v(N,p,...P){if(!0===p)return void N();if(!1===p)return;const g=new x.Ms({next:()=>{g.unsubscribe(),N()}});return(0,c.Tg)(p(...P)).subscribe(g)}function M(N,p,P){let g,U=!1;return N&&"object"==typeof N?({bufferSize:g=1/0,windowTime:p=1/0,refCount:U=!1,scheduler:P}=N):g=N??1/0,function b(N={}){const{connector:p=(()=>new m.B),resetOnError:P=!0,resetOnComplete:g=!0,resetOnRefCountZero:U=!0}=N;return G=>{let A,K,z,ee=0,L=!1,f=!1;const D=()=>{K?.unsubscribe(),K=void 0},R=()=>{D(),A=z=void 0,L=f=!1},S=()=>{const j=A;R(),j?.unsubscribe()};return(0,_.N)((j,fe)=>{ee++,!f&&!L&&D();const H=z=z??p();fe.add(()=>{ee--,0===ee&&!f&&!L&&(K=v(S,U))}),H.subscribe(fe),!A&&ee>0&&(A=new x.Ms({next:J=>H.next(J),error:J=>{f=!0,D(),K=v(R,P,J),H.error(J)},complete:()=>{L=!0,D(),K=v(R,g),H.complete()}}),(0,c.Tg)(j).subscribe(A))})(G)}}({connector:()=>new t.m(g,p,P),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:U})}},9172:(Nt,Le,a)=>{"use strict";a.d(Le,{Z:()=>x});var t=a(8793),c=a(9326),m=a(9974);function x(..._){const b=(0,c.lI)(_);return(0,m.N)((v,M)=>{(b?(0,t.x)(_,v,b):(0,t.x)(_,v)).subscribe(M)})}},5558:(Nt,Le,a)=>{"use strict";a.d(Le,{n:()=>x});var t=a(8750),c=a(9974),m=a(4360);function x(_,b){return(0,c.N)((v,M)=>{let N=null,p=0,P=!1;const g=()=>P&&!N&&M.complete();v.subscribe((0,m._)(M,U=>{N?.unsubscribe();let G=0;const A=p++;(0,t.Tg)(_(U,A)).subscribe(N=(0,m._)(M,K=>M.next(b?b(U,K,A,G++):K),()=>{N=null,g()}))},()=>{P=!0,g()}))})}},6697:(Nt,Le,a)=>{"use strict";a.d(Le,{s:()=>x});var t=a(983),c=a(9974),m=a(4360);function x(_){return _<=0?()=>t.w:(0,c.N)((b,v)=>{let M=0;b.subscribe((0,m._)(v,N=>{++M<=_&&(v.next(N),_<=M&&v.complete())}))})}},6977:(Nt,Le,a)=>{"use strict";a.d(Le,{Q:()=>_});var t=a(9974),c=a(4360),m=a(8750),x=a(5343);function _(b){return(0,t.N)((v,M)=>{(0,m.Tg)(b).subscribe((0,c._)(M,()=>M.complete(),x.l)),!M.closed&&v.subscribe(M)})}},8141:(Nt,Le,a)=>{"use strict";a.d(Le,{M:()=>_});var t=a(8071),c=a(9974),m=a(4360),x=a(3669);function _(b,v,M){const N=(0,t.T)(b)||v||M?{next:b,error:v,complete:M}:b;return N?(0,c.N)((p,P)=>{var g;null===(g=N.subscribe)||void 0===g||g.call(N);let U=!0;p.subscribe((0,m._)(P,G=>{var A;null===(A=N.next)||void 0===A||A.call(N,G),P.next(G)},()=>{var G;U=!1,null===(G=N.complete)||void 0===G||G.call(N),P.complete()},G=>{var A;U=!1,null===(A=N.error)||void 0===A||A.call(N,G),P.error(G)},()=>{var G,A;U&&(null===(G=N.unsubscribe)||void 0===G||G.call(N)),null===(A=N.finalize)||void 0===A||A.call(N)}))}):x.D}},3774:(Nt,Le,a)=>{"use strict";a.d(Le,{v:()=>x});var t=a(9350),c=a(9974),m=a(4360);function x(b=_){return(0,c.N)((v,M)=>{let N=!1;v.subscribe((0,m._)(M,p=>{N=!0,M.next(p)},()=>N?M.complete():M.error(b())))})}function _(){return new t.G}},8839:(Nt,Le,a)=>{"use strict";a.d(Le,{b:()=>p,E:()=>N});var t=a(8359);class c extends t.yU{constructor(g,U){super()}schedule(g,U=0){return this}}const m={setInterval(P,g,...U){const{delegate:G}=m;return G?.setInterval?G.setInterval(P,g,...U):setInterval(P,g,...U)},clearInterval(P){const{delegate:g}=m;return(g?.clearInterval||clearInterval)(P)},delegate:void 0};var x=a(7908),b=a(6129);
1class v{constructor(g,U=v.now){this.schedulerActionCtor=g,this.now=U}schedule(g,U=0,G){return new this.schedulerActionCtor(this,g).schedule(G,U)}}v.now=b.U.now;const N=new class M extends v{constructor(g,U=v.now){super(g,U),this.actions=[],this._active=!1}flush(g){const{actions:U}=this;if(this._active)return void U.push(g);let G;this._active=!0;do{if(G=g.execute(g.state,g.delay))break}while(g=U.shift());if(this._active=!1,G){for(;g=U.shift();)g.unsubscribe();throw G}}}(class _ extends c{constructor(g,U){super(g,U),this.scheduler=g,this.work=U,this.pending=!1}schedule(g,U=0){var G;if(this.closed)return this;this.state=g;const A=this.id,K=this.scheduler;return null!=A&&(this.id=this.recycleAsyncId(K,A,U)),this.pending=!0,this.delay=U,this.id=null!==(G=this.id)&&void 0!==G?G:this.requestAsyncId(K,this.id,U),this}requestAsyncId(g,U,G=0){return m.setInterval(g.flush.bind(g,this),G)}recycleAsyncId(g,U,G=0){if(null!=G&&this.delay===G&&!1===this.pending)return U;null!=U&&m.clearInterval(U)}execute(g,U){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const G=this._execute(g,U);if(G)return G;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(g,U){let A,G=!1;try{this.work(g)}catch(K){G=!0,A=K||new Error("Scheduled action threw falsy error")}if(G)return this.unsubscribe(),A}unsubscribe(){if(!this.closed){const{id:g,scheduler:U}=this,{actions:G}=U;this.work=this.state=this.scheduler=null,this.pending=!1,(0,x.o)(G,this),null!=g&&(this.id=this.recycleAsyncId(U,g,null)),this.delay=null,super.unsubscribe()}}}),p=N},6129:(Nt,Le,a)=>{"use strict";a.d(Le,{U:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},9270:(Nt,Le,a)=>{"use strict";a.d(Le,{f:()=>t});const t={setTimeout(c,m,...x){const{delegate:_}=t;return _?.setTimeout?_.setTimeout(c,m,...x):setTimeout(c,m,...x)},clearTimeout(c){const{delegate:m}=t;return(m?.clearTimeout||clearTimeout)(c)},delegate:void 0}},4761:(Nt,Le,a)=>{"use strict";a.d(Le,{l:()=>c});const c=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Nt,Le,a)=>{"use strict";a.d(Le,{s:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},9350:(Nt,Le,a)=>{"use strict";a.d(Le,{G:()=>c});const c=(0,a(1853).L)(m=>function(){m(this),this.name="EmptyError",this.message="no elements in sequence"})},9326:(Nt,Le,a)=>{"use strict";a.d(Le,{lI:()=>_,ms:()=>x});var t=a(8071),c=a(9470);function m(v){return v[v.length-1]}function x(v){return(0,t.T)(m(v))?v.pop():void 0}function _(v){return(0,c.m)(m(v))?v.pop():void 0}},3073:(Nt,Le,a)=>{"use strict";a.d(Le,{D:()=>_});const{isArray:t}=Array,{getPrototypeOf:c,prototype:m,keys:x}=Object;function _(v){if(1===v.length){const M=v[0];if(t(M))return{args:M,keys:null};if(function b(v){return v&&"object"==typeof v&&c(v)===m}(M)){const N=x(M);return{args:N.map(p=>M[p]),keys:N}}}return{args:v,keys:null}}},7908:(Nt,Le,a)=>{"use strict";function t(c,m){if(c){const x=c.indexOf(m);
10<=x&&c.splice(x,1)}}a.d(Le,{o:()=>t})},1853:(Nt,Le,a)=>{"use strict";function t(c){const x=c(_=>{Error.call(_),_.stack=(new Error).stack});return x.prototype=Object.create(Error.prototype),x.prototype.constructor=x,x}a.d(Le,{L:()=>t})},8496:(Nt,Le,a)=>{"use strict";function t(c,m){return c.reduce((x,_,b)=>(x[_]=m[b],x),{})}a.d(Le,{e:()=>t})},9786:(Nt,Le,a)=>{"use strict";a.d(Le,{Y:()=>m,l:()=>x});var t=a(1026);let c=null;function m(_){if(t.$.useDeprecatedSynchronousErrorHandling){const b=!c;if(b&&(c={errorThrown:!1,error:null}),_(),b){const{errorThrown:v,error:M}=c;if(c=null,v)throw M}}else _()}function x(_){t.$.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=_)}},5225:(Nt,Le,a)=>{"use strict";function t(c,m,x,_=0,b=!1){const v=m.schedule(function(){x(),b?c.add(this.schedule(null,_)):this.unsubscribe()},_);if(c.add(v),!b)return v}a.d(Le,{N:()=>t})},3669:(Nt,Le,a)=>{"use strict";function t(c){return c}a.d(Le,{D:()=>t})},7441:(Nt,Le,a)=>{"use strict";a.d(Le,{X:()=>t});const t=c=>c&&"number"==typeof c.length&&"function"!=typeof c},7953:(Nt,Le,a)=>{"use strict";a.d(Le,{T:()=>c});var t=a(8071);function c(m){return Symbol.asyncIterator&&(0,t.T)(m?.[Symbol.asyncIterator])}},8071:(Nt,Le,a)=>{"use strict";function t(c){return"function"==typeof c}a.d(Le,{T:()=>t})},5055:(Nt,Le,a)=>{"use strict";a.d(Le,{l:()=>m});var t=a(3494),c=a(8071);function m(x){return(0,c.T)(x[t.s])}},5397:(Nt,Le,a)=>{"use strict";a.d(Le,{x:()=>m});var t=a(4761),c=a(8071);function m(x){return(0,c.T)(x?.[t.l])}},4402:(Nt,Le,a)=>{"use strict";a.d(Le,{A:()=>m});var t=a(1985),c=a(8071);function m(x){return!!x&&(x instanceof t.c||(0,c.T)(x.lift)&&(0,c.T)(x.subscribe))}},9858:(Nt,Le,a)=>{"use strict";a.d(Le,{y:()=>c});var t=a(8071);function c(m){return(0,t.T)(m?.then)}},5196:(Nt,Le,a)=>{"use strict";a.d(Le,{C:()=>m,U:()=>x});var t=a(1635),c=a(8071);function m(_){return(0,t.AQ)(this,arguments,function*(){const v=_.getReader();try{for(;;){const{value:M,done:N}=yield(0,t.N3)(v.read());if(N)return yield(0,t.N3)(void 0);yield yield(0,t.N3)(M)}}finally{v.releaseLock()}})}function x(_){return(0,c.T)(_?.getReader)}},9470:(Nt,Le,a)=>{"use strict";a.d(Le,{m:()=>c});var t=a(8071);function c(m){return m&&(0,t.T)(m.schedule)}},9974:(Nt,Le,a)=>{"use strict";a.d(Le,{N:()=>m,S:()=>c});var t=a(8071);function c(x){return(0,t.T)(x?.lift)}function m(x){return _=>{if(c(_))return _.lift(function(b){try{return x(b,this)}catch(v){this.error(v)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Nt,Le,a)=>{"use strict";a.d(Le,{I:()=>x});var t=a(6354);const{isArray:c}=Array;function x(_){return(0,t.T)(b=>function m(_,b){return c(b)?_(...b):_(b)}(_,b))}},5343:(Nt,Le,a)=>{"use strict";function t(){}a.d(Le,{l:()=>t})},1203:(Nt,Le,a)=>{"use strict";a.d(Le,{F:()=>c,m:()=>m});var t=a(3669);function c(...x){return m(x)}function m(x){return 0===x.length?t.D:1===x.length?x[0]:function(b){return x.reduce((v,M)=>M(v),b)}}},5334:(Nt,Le,a)=>{"use strict";a.d(Le,{m:()=>m});var t=a(1026),c=a(9270);function m(x){c.f.setTimeout(()=>{const{onUnhandledError:_}=t.$;if(!_)throw x;_(x)})}},591:(Nt,Le,a)=>{"use strict";function t(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(Le,{L:()=>t})},6720:()=>{},194:()=>{},6236:()=>{},295:()=>{},8611:()=>{},6449:()=>{},4085:(Nt,Le,a)=>{"use strict";function c(M,N=0){return function m(M){return!isNaN(parseFloat(M))&&!isNaN(Number(M))}(M)?Number(M):N}function x(M){return Array.isArray(M)?M:[M]}a.d(Le,{FG:()=>x,OE:()=>c})},6860:(Nt,Le,a)=>{"use strict";a.d(Le,{BQ:()=>P,OD:()=>x});var t=a(4438),c=a(177);let m;try{m=typeof Intl<"u"&&Intl.v8BreakIterator}catch{m=!1}let N,x=(()=>{class S{constructor(fe){this._platformId=fe,this.isBrowser=this._platformId?(0,c.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!m)&&t
1ypeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(H){return new(H||S)(t.KVO(t.Agw))};static#t=this.\u0275prov=t.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})();function P(S){return function p(){if(null==N&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>N=!0}))}finally{N=N||!1}return N}()?S:!!S.capture}},177:(Nt,Le,a)=>{"use strict";a.d(Le,{AJ:()=>ti,B3:()=>bi,MD:()=>bn,N0:()=>lo,QT:()=>m,QX:()=>Ue,Sm:()=>K,Sq:()=>oi,T3:()=>Li,UE:()=>_i,VF:()=>_,Vy:()=>qi,Xr:()=>Yr,YU:()=>Tn,ZD:()=>x,_b:()=>kt,aZ:()=>ee,bT:()=>Pi,fw:()=>z,hb:()=>G,hj:()=>N,qQ:()=>v,vh:()=>Bo});var t=a(4438);let c=null;function m(){return c}function x(me){c??=me}class _{}const v=new t.nKC("");let M=(()=>{class me{historyGo(We){throw new Error("")}static#e=this.\u0275fac=function(lt){return new(lt||me)};static#t=this.\u0275prov=t.jDH({token:me,factory:()=>(0,t.WQX)(p),providedIn:"platform"})}return me})();const N=new t.nKC("");let p=(()=>{class me extends M{constructor(){super(),this._doc=(0,t.WQX)(v),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return m().getBaseHref(this._doc)}onPopState(We){const lt=m().getGlobalEventTarget(this._doc,"window");return lt.addEventListener("popstate",We,!1),()=>lt.removeEventListener("popstate",We)}onHashChange(We){const lt=m().getGlobalEventTarget(this._doc,"window");return lt.addEventListener("hashchange",We,!1),()=>lt.removeEventListener("hashchange",We)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(We){this._location.pathname=We}pushState(We,lt,jt){this._history.pushState(We,lt,jt)}replaceState(We,lt,jt){this._history.replaceState(We,lt,jt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(We=0){this._history.go(We)}getState(){return this._history.state}static#e=this.\u0275fac=function(lt){return new(lt||me)};static#t=this.\u0275prov=t.jDH({token:me,factory:()=>new me,providedIn:"platform"})}return me})();function P(me,mt){if(0==me.length)return mt;if(0==mt.length)return me;let We=0;return me.endsWith("/")&&We++,mt.startsWith("/")&&We++,2==We?me+mt.substring(1):1==We?me+mt:me+"/"+mt}function g(me){const mt=me.match(/#|\?|$/),We=mt&&mt.index||me.length;return me.slice(0,We-("/"===me[We-1]?1:0))+me.slice(We)}function U(me){return me&&"?"!==me[0]?"?"+me:me}let G=(()=>{class me{historyGo(We){throw new Error("")}static#e=this.\u0275fac=function(lt){return new(lt||me)};static#t=this.\u0275prov=t.jDH({token:me,factory:()=>(0,t.WQX)(K),providedIn:"root"})}return me})();const A=new t.nKC("");let K=(()=>{class me extends G{constructor(We,lt){super(),this._platformLocation=We,this._removeListenerFns=[],this._baseHref=lt??this._platformLocation.getBaseHrefFromDOM()??(0,t.WQX)(v).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(We){this._removeListenerFns.push(this._platformLocation.onPopState(We),this._platformLocation.onHashChange(We))}getBaseHref(){return this._baseHref}prepareExternalUrl(We){return P(this._baseHref,We)}path(We=!1){const lt=this._platformLocation.pathname+U(this._platformLocation.search),jt=this._platformLocation.hash;return jt&&We?`${lt}${jt}`:lt}pushState(We,lt,jt,Mn){const Vn=this.prepareExternalUrl(jt+U(Mn));this._platformLocation.pushState(We,lt,Vn)}replaceState(We,lt,jt,Mn){const Vn=this.prepareExternalUrl(jt+U(Mn));this._platformLocation.replaceState(We,lt,Vn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(We=0){this._platformLocation.historyGo?.(We)}
1static#e=this.\u0275fac=function(lt){return new(lt||me)(t.KVO(M),t.KVO(A,8))};static#t=this.\u0275prov=t.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),z=(()=>{class me extends G{constructor(We,lt){super(),this._platformLocation=We,this._baseHref="",this._removeListenerFns=[],null!=lt&&(this._baseHref=lt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(We){this._removeListenerFns.push(this._platformLocation.onPopState(We),this._platformLocation.onHashChange(We))}getBaseHref(){return this._baseHref}path(We=!1){const lt=this._platformLocation.hash??"#";return lt.length>0?lt.substring(1):lt}prepareExternalUrl(We){const lt=P(this._baseHref,We);return lt.length>0?"#"+lt:lt}pushState(We,lt,jt,Mn){let Vn=this.prepareExternalUrl(jt+U(Mn));0==Vn.length&&(Vn=this._platformLocation.pathname),this._platformLocation.pushState(We,lt,Vn)}replaceState(We,lt,jt,Mn){let Vn=this.prepareExternalUrl(jt+U(Mn));0==Vn.length&&(Vn=this._platformLocation.pathname),this._platformLocation.replaceState(We,lt,Vn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(We=0){this._platformLocation.historyGo?.(We)}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.KVO(M),t.KVO(A,8))};static#t=this.\u0275prov=t.jDH({token:me,factory:me.\u0275fac})}return me})(),ee=(()=>{class me{constructor(We){this._subject=new t.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=We;const lt=this._locationStrategy.getBaseHref();this._basePath=function R(me){if(new RegExp("^(https?:)?//").test(me)){const[,We]=me.split(/\/\/[^\/]+/);return We}return me}(g(D(lt))),this._locationStrategy.onPopState(jt=>{this._subject.emit({url:this.path(!0),pop:!0,state:jt.state,type:jt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(We=!1){return this.normalize(this._locationStrategy.path(We))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(We,lt=""){return this.path()==this.normalize(We+U(lt))}normalize(We){return me.stripTrailingSlash(function f(me,mt){if(!me||!mt.startsWith(me))return mt;const We=mt.substring(me.length);return""===We||["/",";","?","#"].includes(We[0])?We:mt}(this._basePath,D(We)))}prepareExternalUrl(We){return We&&"/"!==We[0]&&(We="/"+We),this._locationStrategy.prepareExternalUrl(We)}go(We,lt="",jt=null){this._locationStrategy.pushState(jt,"",We,lt),this._notifyUrlChangeListeners(this.prepareExternalUrl(We+U(lt)),jt)}replaceState(We,lt="",jt=null){this._locationStrategy.replaceState(jt,"",We,lt),this._notifyUrlChangeListeners(this.prepareExternalUrl(We+U(lt)),jt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(We=0){this._locationStrategy.historyGo?.(We)}onUrlChange(We){return this._urlChangeListeners.push(We),this._urlChangeSubscription??=this.subscribe(lt=>{this._notifyUrlChangeListeners(lt.url,lt.state)}),()=>{const lt=this._urlChangeListeners.indexOf(We);this._urlChangeListeners.splice(lt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(We="",lt){this._urlChangeListeners.forEach(jt=>jt(We,lt))}subscribe(We,lt,jt){return this._subject.subscribe({next:We,error:lt,complete:jt})}static#e=this.normalizeQueryParams=U;static#t=this.joinWithSlash=P;static#n=this.stripTrailingSlash=g;static#i=this.\u0275fac=function(lt){return new(lt||me)(t.KVO(G))};static#r=this.\u0275prov=t.jDH({token:me,factory:()=>function L(){return new ee((0,t.KVO)(G))}(),providedIn:"root"})}return me})();function D(me){return me.replace(/\/index.html$/,"")}var j=function(me){return me[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me}(j||{}),H=function(me){return me[me.Format=0]="Format",me[me.Standalone=1]="Standalone",me}(H||{}),J=function(me){return me[me.Narrow=0]="Narrow",me[me.Abbreviated=1]="Abbreviated",me[me.Wide=2]="Wide",me[me.Short=3]="Short",me}(J||{}),Y=function(me){return me[me.Short=0]="Short",me[me.Medium=1]="Medium",me[me.Long=2]="Long",me[me.Full=3]="Full",me}(Y||{});const W={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function ne(me,mt){return He((0,t.H5H)(me)[t.KH2.DateFormat],mt)}function Z(me,mt){return He((0,t.H5H)(me)[t.KH2.TimeFormat],mt)}function ve(me,mt){return He((0,t.H5H)(me)[t.KH2.DateTimeFormat],mt)}function ke(me,mt){const We=(0,t.H5H)(me),lt=We[t.KH2.NumberSymbols][mt];if(typeof lt>"u"){if(mt===W.CurrencyDecimal)return We[t.KH2.NumberSymbols][W.Decimal];if(mt===W.CurrencyGroup)return We[t.KH2.NumberSymbols][W.Group]}return lt}function Je(me){if(!me[t.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${me[t.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function He(me,mt){for(let We=mt;We>-1;We--)if(typeof me[We]<"u")return me[We];throw new Error("Locale data API: locale data undefined")}function Ot(me){const[mt,We]=me.split(":");return{hours:+mt,minutes:+We}}const Ln=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Zt={},ct=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var rt=function(me){return me[me.Short=0]="Short",me[me.ShortGMT=1]="ShortGMT",me[me.Long=2]="Long",me[me.Extended=3]="Extended",me}(rt||{}),Ae=function(me){return me[me.FullYear=0]="FullYear",me[me.Month=1]="Month",me[me.Date=2]="Date",me[me.Hours=3]="Hours",me[me.Minutes=4]="Minutes",me[me.Seconds=5]="Seconds",me[me.FractionalSeconds=6]="FractionalSeconds",me[me.Day=7]="Day",me}(Ae||{}),Ke=function(me){return me[me.DayPeriods=0]="DayPeriods",me[me.Days=1]="Days",me[me.Months=2]="Months",me[me.Eras=3]="Eras",me}(Ke||{});function vt(me,mt,We,lt){let jt=function rn(me){if(jn(me))return me;if("number"==typeof me&&!isNaN(me))return new Date(me);if("string"==typeof me){if(me=me.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(me)){const[jt,Mn=1,Vn=1]=me.split("-").map(ei=>+ei);return Wt(jt,Mn-1,Vn)}const We=parseFloat(me);if(!isNaN(me-We))return new Date(We);let lt;if(lt=me.match(Ln))return function wn(me){const mt=new Date(0);let We=0,lt=0;const jt=me[8]?mt.setUTCFullYear:mt.setFullYear,Mn=me[8]?mt.setUTCHours:mt.setHours;
vendor: 10,992 bytes, line 1
1me[9]&&(We=Number(me[9]+me[10]),lt=Number(me[9]+me[11])),jt.call(mt,Number(me[1]),Number(me[2])-1,Number(me[3]));const Vn=Number(me[4]||0)-We,ei=Number(me[5]||0)-lt,cr=Number(me[6]||0),hr=Math.floor(1e3*parseFloat("0."+(me[7]||0)));return Mn.call(mt,Vn,ei,cr,hr),mt}(lt)}const mt=new Date(me);if(!jn(mt))throw new Error(`Unable to convert "${me}" into a date`);return mt}(me);mt=ze(We,mt)||mt;let ei,Vn=[];for(;mt;){if(ei=ct.exec(mt),!ei){Vn.push(mt);break}{Vn=Vn.concat(ei.slice(1));const er=Vn.pop();if(!er)break;mt=er}}let cr=jt.getTimezoneOffset();lt&&(cr=Qe(lt,cr),jt=function Vt(me,mt,We){const lt=We?-1:1,jt=me.getTimezoneOffset();return function ot(me,mt){return(me=new Date(me.getTime())).setMinutes(me.getMinutes()+mt),me}(me,lt*(Qe(mt,jt)-jt))}(jt,lt,!0));let hr="";return Vn.forEach(er=>{const Fi=function wt(me){if(zt[me])return zt[me];let mt;switch(me){case"G":case"GG":case"GGG":mt=at(Ke.Eras,J.Abbreviated);break;case"GGGG":mt=at(Ke.Eras,J.Wide);break;case"GGGGG":mt=at(Ke.Eras,J.Narrow);break;case"y":mt=Ve(Ae.FullYear,1,0,!1,!0);break;case"yy":mt=Ve(Ae.FullYear,2,0,!0,!0);break;case"yyy":mt=Ve(Ae.FullYear,3,0,!1,!0);break;case"yyyy":mt=Ve(Ae.FullYear,4,0,!1,!0);break;case"Y":mt=Ut(1);break;case"YY":mt=Ut(2,!0);break;case"YYY":mt=Ut(3);break;case"YYYY":mt=Ut(4);break;case"M":case"L":mt=Ve(Ae.Month,1,1);break;case"MM":case"LL":mt=Ve(Ae.Month,2,1);break;case"MMM":mt=at(Ke.Months,J.Abbreviated);break;case"MMMM":mt=at(Ke.Months,J.Wide);break;case"MMMMM":mt=at(Ke.Months,J.Narrow);break;case"LLL":mt=at(Ke.Months,J.Abbreviated,H.Standalone);break;case"LLLL":mt=at(Ke.Months,J.Wide,H.Standalone);break;case"LLLLL":mt=at(Ke.Months,J.Narrow,H.Standalone);break;case"w":mt=Bt(1);break;case"ww":mt=Bt(2);break;case"W":mt=Bt(1,!0);break;case"d":mt=Ve(Ae.Date,1);break;case"dd":mt=Ve(Ae.Date,2);break;case"c":case"cc":mt=Ve(Ae.Day,1);break;case"ccc":mt=at(Ke.Days,J.Abbreviated,H.Standalone);break;case"cccc":mt=at(Ke.Days,J.Wide,H.Standalone);break;case"ccccc":mt=at(Ke.Days,J.Narrow,H.Standalone);break;case"cccccc":mt=at(Ke.Days,J.Short,H.Standalone);break;case"E":case"EE":case"EEE":mt=at(Ke.Days,J.Abbreviated);break;case"EEEE":mt=at(Ke.Days,J.Wide);break;case"EEEEE":mt=at(Ke.Days,J.Narrow);break;case"EEEEEE":mt=at(Ke.Days,J.Short);break;case"a":case"aa":case"aaa":mt=at(Ke.DayPeriods,J.Abbreviated);break;case"aaaa":mt=at(Ke.DayPeriods,J.Wide);break;case"aaaaa":mt=at(Ke.DayPeriods,J.Narrow);break;case"b":case"bb":case"bbb":mt=at(Ke.DayPeriods,J.Abbreviated,H.Standalone,!0);break;case"bbbb":mt=at(Ke.DayPeriods,J.Wide,H.Standalone,!0);break;case"bbbbb":mt=at(Ke.DayPeriods,J.Narrow,H.Standalone,!0);break;case"B":case"BB":case"BBB":mt=at(Ke.DayPeriods,J.Abbreviated,H.Format,!0);break;case"BBBB":mt=at(Ke.DayPeriods,J.Wide,H.Format,!0);break;case"BBBBB":mt=at(Ke.DayPeriods,J.Narrow,H.Format,!0);break;case"h":mt=Ve(Ae.Hours,1,-12);break;case"hh":mt=Ve(Ae.Hours,2,-12);break;case"H":mt=Ve(Ae.Hours,1);break;case"HH":mt=Ve(Ae.Hours,2);break;case"m":mt=Ve(Ae.Minutes,1);break;case"mm":mt=Ve(Ae.Minutes,2);break;case"s":mt=Ve(Ae.Seconds,1);break;case"ss":mt=Ve(Ae.Seconds,2);break;case"S":mt=Ve(Ae.FractionalSeconds,1);break;case"SS":mt=Ve(Ae.FractionalSeconds,2);break;case"SSS":mt=Ve(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":mt=pe(rt.Short);break;case"ZZZZZ":mt=pe(rt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":mt=pe(rt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":mt=pe(rt.Long);break;default:return null}return zt[me]=mt,mt}(er);hr+=Fi?Fi(jt,We,cr):"''"===er?"'":er.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),hr}function Wt(me,mt,We){const lt=new Date(0);return lt.setFullYear(me,mt,We),lt.setHours(0,0,0),lt}function ze(me,mt){const We=function le(me){return(0,t.H5H)(me)[t.KH2.LocaleId]}(me);if(Zt[We]??={},Zt[We][mt])return Zt[We][mt];let lt="";switch(mt){case"shortDate":lt=ne(me,Y.Short);break;case"mediumDate":lt=ne(me,Y.Medium);break;case"longDate":lt=ne(me,Y.Long);break;case"fullDate":lt=ne(me,Y.Full);break;case"shortTime":lt=Z(me,Y.Short);break;case"mediumTime":lt=Z(me,Y.Medium);break;case"longTime":lt=Z(me,Y.Long);break;case"fullTime":lt=Z(me,Y.Full);break;case"short":const jt=ze(me,"shortTime"),Mn=ze(me,"shortDate");lt=pt(ve(me,Y.Short),[jt,Mn]);break;case"medium":const Vn=ze(me,"mediumTime"),ei=ze(me,"mediumDate");lt=pt(ve(me,Y.Medium),[Vn,ei]);break;case"long":const cr=ze(me,"longTime"),hr=ze(me,"longDate");lt=pt(ve(me,Y.Long),[cr,hr]);break;case"full":const er=ze(me,"fullTime"),Fi=ze(me,"fullDate");lt=pt(ve(me,Y.Full),[er,Fi])}return lt&&(Zt[We][mt]=lt),lt}function pt(me,mt){return mt&&(me=me.replace(/\{([^}]+)}/g,function(We,lt){return null!=mt&&lt in mt?mt[lt]:We})),me}function Ze(me,mt,We="-",lt,jt){let Mn="";(me<0||jt&&me<=0)&&(jt?me=1-me:(me=-me,Mn=We));let Vn=String(me);for(;Vn.length<mt;)Vn="0"+Vn;return lt&&(Vn=Vn.slice(Vn.length-mt)),Mn+Vn}function Ve(me,mt,We=0,lt=!1,jt=!1){return function(Mn,Vn){let ei=function st(me,mt){switch(me){case Ae.FullYear:return mt.getFullYear();case Ae.Month:return mt.getMonth();case Ae.Date:return mt.getDate();case Ae.Hours:return mt.getHours();case Ae.Minutes:return mt.getMinutes();case Ae.Seconds:return mt.getSeconds();case Ae.FractionalSeconds:return mt.getMilliseconds();case Ae.Day:return mt.getDay();default:throw new Error(`Unknown DateType value "${me}".`)}}(me,Mn);if((We>0||ei>-We)&&(ei+=We),me===Ae.Hours)0===ei&&-12===We&&(ei=12);else if(me===Ae.FractionalSeconds)return function X(me,mt){return Ze(me,3).substring(0,mt)}(ei,mt);const cr=ke(Vn,W.MinusSign);return Ze(ei,mt,cr,lt,jt)}}function at(me,mt,We=H.Format,lt=!1){return function(jt,Mn){return function V(me,mt,We,lt,jt,Mn){switch(We){case Ke.Months:return function Fe(me,mt,We){const lt=(0,t.H5H)(me),Mn=He([lt[t.KH2.MonthsFormat],lt[t.KH2.MonthsStandalone]],mt);return He(Mn,We)}(mt,jt,lt)[me.getMonth()];case Ke.Days:return function Be(me,mt,We){const lt=(0,t.H5H)(me),Mn=He([lt[t.KH2.DaysFormat],lt[t.KH2.DaysStandalone]],mt);return He(Mn,We)}(mt,jt,lt)[me.getDay()];case Ke.DayPeriods:const Vn=me.getHours(),ei=me.getMinutes();if(Mn){const hr=function Ce(me){const mt=(0,t.H5H)(me);return Je(mt),(mt[t.KH2.ExtraData][2]||[]).map(lt=>"string"==typeof lt?Ot(lt):[Ot(lt[0]),Ot(lt[1])])}(mt),er=function we(me,mt,We){const lt=(0,t.H5H)(me);Je(lt);const Mn=He([lt[t.KH2.ExtraData][0],lt[t.KH2.ExtraData][1]],mt)||[];return He(Mn,We)||[]}(mt,jt,lt),Fi=hr.findIndex(ar=>{if(Array.isArray(ar)){const[zi,Ni]=ar,_r=Vn>=zi.hours&&ei>=zi.minutes,tr=Vn<Ni.hours||Vn===Ni.hours&&ei<Ni.minutes;if(zi.hours<Ni.hours){if(_r&&tr)return!0}else if(_r||tr)return!0}else if(ar.hours===Vn&&ar.minutes===ei)return!0;return!1});if(-1!==Fi)return er[Fi]}return function Re(me,mt,We){const lt=(0,t.H5H)(me),Mn=He([lt[t.KH2.DayPeriodsFormat],lt[t.KH2.DayPeriodsStandalone]],mt);return He(Mn,We)}(mt,jt,lt)[Vn<12?0:1];case Ke.Eras:return function ue(me,mt){return He((0,t.H5H)(me)[t.KH2.Eras],mt)}(mt,lt)[me.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${We}`)}}(jt,Mn,me,mt,We,lt)}}function pe(me){return function(mt,We,lt){const jt=-1*lt,Mn=ke(We,W.MinusSign),Vn=jt>0?Math.floor(jt/60):Math.ceil(jt/60);switch(me){case rt.Short:return(jt>=0?"+":"")+Ze(Vn,2,Mn)+Ze(Math.abs(jt%60),2,Mn);case rt.ShortGMT:return"GMT"+(jt>=0?"+":"")+Ze(Vn,1,Mn);case rt.Long:return"GMT"+(jt>=0?"+":"")+Ze(Vn,2,Mn)+":"+Ze(Math.abs(jt%60),2,Mn);case rt.Extended:return 0===lt?"Z":(jt>=0?"+":"")+Ze(Vn,2,Mn)+":"+Ze(Math.abs(jt%60),2,Mn);default:throw new Error(`Unknown zone width "${me}"`)}}}const Te=0,ft=4;function sn(me){const mt=me.getDay(),We=0===mt?-3:ft-mt;return Wt(me.getFullYear(),me.getMonth(),me.getDate()+We)}function Bt(me,mt=!1){return function(We,lt){let jt;if(mt){const Mn=new Date(We.getFullYear(),We.getMonth(),1).getDay()-1,Vn=We.getDate();jt=1+Math.floor((Vn+Mn)/7)}else{const Mn=sn(We),Vn=function At(me){const mt=Wt(me,Te,1).getDay();return Wt(me,0,1+(mt<=ft?ft:ft+7)-mt)}(Mn.getFullYear()),ei=Mn.getTime()-Vn.getTime();jt=1+Math.round(ei/6048e5)}return Ze(jt,me,ke(lt,W.MinusSign))}}function Ut(me,mt=!1){return function(We,lt){return Ze(sn(We).getFullYear(),me,ke(lt,W.MinusSign),mt)}}const zt={};function Qe(me,mt){me=me.replace(/:/g,"");const We=Date.parse("Jan 01, 1970 00:00:00 "+me)/6e4;return isNaN(We)?mt:We}function jn(me){return me instanceof Date&&!isNaN(me.valueOf())}const Pt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function en(me){const mt=parseInt(me);if(isNaN(mt))throw new Error("Invalid integer literal when parsing "+me);return mt}function kt(me,mt){mt=encodeURIComponent(mt);for(const We of me.split(";")){const lt=We.indexOf("="),[jt,Mn]=-1==lt?[We,""]:[We.slice(0,lt),We.slice(lt+1)];if(jt.trim()===mt)return decodeURIComponent(Mn)}return null}const xn=/\s+/,Rn=[];let Tn=(()=>{class me{constructor(We,lt){this._ngEl=We,this._renderer=lt,this.initialClasses=Rn,this.stateMap=new Map}set klass(We){this.initialClasses=null!=We?We.trim().split(xn):Rn}set ngClass(We){this.rawClass="string"==typeof We?We.trim().split(xn):We}ngDoCheck(){for(const lt of this.initialClasses)this._updateState(lt,!0);const We=this.rawClass;if(Array.isArray(We)||We instanceof Set)for(const lt of We)this._updateState(lt,!0);else if(null!=We)for(const lt of Object.keys(We))this._updateState(lt,!!We[lt]);this._applyStateDiff()}_updateState(We,lt){const jt=this.stateMap.get(We);void 0!==jt?(jt.enabled!==lt&&(jt.changed=!0,jt.enabled=lt),jt.touched=!0):this.stateMap.set(We,{enabled:lt,changed:!0,touched:!0})}_applyStateDiff(){for(const We of this.stateMap){const lt=We[0],jt=We[1];jt.changed?(this._toggleClass(lt,jt.enabled),jt.changed=!1):jt.touched||(jt.enabled&&this._toggleClass(lt,!1),this.stateMap.delete(lt)),jt.touched=!1}}_toggleClass(We,lt){(We=We.trim()).length>0&&We.split(xn).forEach(jt=>{lt?this._renderer.addClass(this._ngEl.nativeElement,jt):this._renderer.removeClass(this._ngEl.nativeElement,jt)})}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.aKT),t.rXU(t.sFG))};static#t=this.\u0275dir=t.FsC({type:me,selectors:[["","ngClass",""]],inputs:{klass:[t.Mj6.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return me})();class ni{constructor(mt,We,lt,jt){this.$implicit=mt,this.ngForOf=We,this.index=lt,this.count=jt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let oi=(()=>{class me{set ngForOf(We){this._ngForOf=We,this._ngForOfDirty=!0}set ngForTrackBy(We){this._trackByFn=We}get ngForTrackBy(){return this._trackByFn}constructor(We,lt,jt){this._viewContainer=We,this._template=lt,this._differs=jt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(We){We&&(this._template=We)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const We=this._ngForOf;!this._differ&&We&&(this._differ=this._differs.find(We).create(this.ngForTrackBy))}if(this._differ){const We=this._differ.diff(this._ngForOf);We&&this._applyChanges(We)}}_applyChanges(We){const lt=this._viewContainer;We.forEachOperation((jt,Mn,Vn)=>
1{if(null==jt.previousIndex)lt.createEmbeddedView(this._template,new ni(jt.item,this._ngForOf,-1,-1),null===Vn?void 0:Vn);else if(null==Vn)lt.remove(null===Mn?void 0:Mn);else if(null!==Mn){const ei=lt.get(Mn);lt.move(ei,Vn),Ai(ei,jt)}});for(let jt=0,Mn=lt.length;jt<Mn;jt++){const ei=lt.get(jt).context;ei.index=jt,ei.count=Mn,ei.ngForOf=this._ngForOf}We.forEachIdentityChange(jt=>{Ai(lt.get(jt.currentIndex),jt)})}static ngTemplateContextGuard(We,lt){return!0}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(t._q3))};static#t=this.\u0275dir=t.FsC({type:me,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return me})();function Ai(me,mt){me.context.$implicit=mt.item}let Pi=(()=>{class me{constructor(We,lt){this._viewContainer=We,this._context=new Gi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=lt}set ngIf(We){this._context.$implicit=this._context.ngIf=We,this._updateView()}set ngIfThen(We){nr("ngIfThen",We),this._thenTemplateRef=We,this._thenViewRef=null,this._updateView()}set ngIfElse(We){nr("ngIfElse",We),this._elseTemplateRef=We,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(We,lt){return!0}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.c1b),t.rXU(t.C4Q))};static#t=this.\u0275dir=t.FsC({type:me,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return me})();class Gi{constructor(){this.$implicit=null,this.ngIf=null}}function nr(me,mt){if(mt&&!mt.createEmbeddedView)throw new Error(`${me} must be a TemplateRef, but received '${(0,t.Tbb)(mt)}'.`)}let bi=(()=>{class me{constructor(We,lt,jt){this._ngEl=We,this._differs=lt,this._renderer=jt,this._ngStyle=null,this._differ=null}set ngStyle(We){this._ngStyle=We,!this._differ&&We&&(this._differ=this._differs.find(We).create())}ngDoCheck(){if(this._differ){const We=this._differ.diff(this._ngStyle);We&&this._applyChanges(We)}}_setStyle(We,lt){const[jt,Mn]=We.split("."),Vn=-1===jt.indexOf("-")?void 0:t.czy.DashCase;null!=lt?this._renderer.setStyle(this._ngEl.nativeElement,jt,Mn?`${lt}${Mn}`:lt,Vn):this._renderer.removeStyle(this._ngEl.nativeElement,jt,Vn)}_applyChanges(We){We.forEachRemovedItem(lt=>this._setStyle(lt.key,null)),We.forEachAddedItem(lt=>this._setStyle(lt.key,lt.currentValue)),We.forEachChangedItem(lt=>this._setStyle(lt.key,lt.currentValue))}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.aKT),t.rXU(t.MKu),t.rXU(t.sFG))};static#t=this.\u0275dir=t.FsC({type:me,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return me})(),Li=(()=>{class me{constructor(We){this._viewContainerRef=We,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(We){if(this._shouldRecreateView(We)){const lt=this._viewContainerRef;if(this._viewRef&&lt.remove(lt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const jt=this._createContextForwardProxy();this._viewRef=lt.createEmbeddedView(this.ngTemplateOutlet,jt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(We){return!!We.ngTemplateOutlet||!!We.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(We,lt,jt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,lt,jt),get:(We,lt,jt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,lt,jt)}})}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.c1b))};static#t=this.\u0275dir=t.FsC({type:me,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.OA$]})}return me})();function no(me,mt){return new t.wOt(2100,!1)}const ao=new t.nKC(""),Cr=new t.nKC("");let Bo=(()=>{class me{constructor(We,lt,jt){this.locale=We,this.defaultTimezone=lt,this.defaultOptions=jt}transform(We,lt,jt,Mn){if(null==We||""===We||We!=We)return null;try{return vt(We,lt??this.defaultOptions?.dateFormat??"mediumDate",Mn||this.locale,jt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Vn){throw no()}}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.xe9,16),t.rXU(ao,24),t.rXU(Cr,24))};static#t=this.\u0275pipe=t.EJ8({name:"date",type:me,pure:!0,standalone:!0})}return me})(),Ue=(()=>{class me{constructor(We){this._locale=We}transform(We,lt,jt){if(!function Xt(me){return!(null==me||""===me||me!=me)}(We))return null;jt||=this._locale;try{return function Me(me,mt,We){return function d(me,mt,We,lt,jt,Mn,Vn=!1){let ei="",cr=!1;if(isFinite(me)){let hr=function w(me){let lt,jt,Mn,Vn,ei,mt=Math.abs(me)+"",We=0;for((jt=mt.indexOf("."))>-1&&(mt=mt.replace(".","")),(Mn=mt.search(/e/i))>0?(jt<0&&(jt=Mn),jt+=+mt.slice(Mn+1),mt=mt.substring(0,Mn)):jt<0&&(jt=mt.length),Mn=0;"0"===mt.charAt(Mn);Mn++);if(Mn===(ei=mt.length))lt=[0],jt=1;else{for(ei--;"0"===mt.charAt(ei);)ei--;for(jt-=Mn,lt=[],Vn=0;Mn<=ei;Mn++,Vn++)lt[Vn]=Number(mt.charAt(Mn))}return jt>22&&(lt=lt.splice(0,21),We=jt-1,jt=1),{digits:lt,exponent:We,integerLen:jt}}(me);Vn&&(hr=function h(me){if(0===me.digits[0])return me;const mt=me.digits.length-me.integerLen;return me.exponent?me.exponent+=2:(0===mt?me.digits.push(0,0):1===mt&&me.digits.push(0),me.integerLen+=2),me}(hr));let er=mt.minInt,Fi=mt.minFrac,ar=mt.maxFrac;if(Mn){const mi=Mn.match(Pt);if(null===mi)throw new Error(`${Mn} is not a valid digit info`);const Yi=mi[1],Wr=mi[3],Ar=mi[5];null!=Yi&&(er=en(Yi)),null!=Wr&&(Fi=en(Wr)),null!=Ar?ar=en(Ar):null!=Wr&&Fi>ar&&(ar=Fi)}!function Oe(me,mt,We){if(mt>We)throw new Error(`The minimum number of digits after fraction (${mt}) is higher than the maximum (${We}).`);let lt=me.digits,jt=lt.length-me.integerLen;const Mn=Math.min(Math.max(mt,jt),We);let Vn=Mn+me.integerLen,ei=lt[Vn];if(Vn>0){lt.splice(Math.max(me.integerLen,Vn));for(let Fi=Vn;Fi<lt.length;Fi++)lt[Fi]=0}else{jt=Math.max(0,jt),me.integerLen=1,lt.length=Math.max(1,Vn=Mn+1),lt[0]=0;for(let Fi=1;Fi<Vn;Fi++)lt[Fi]=0}if(ei>=5)if(Vn-1<0){for(let Fi=0;Fi>Vn;Fi--)lt.unshift(0),me.integerLen++;lt.unshift(1),me.integerLen++}else lt[Vn-1]++;for(;
1jt<Math.max(0,Mn);jt++)lt.push(0);let cr=0!==Mn;const hr=mt+me.integerLen,er=lt.reduceRight(function(Fi,ar,zi,Ni){return Ni[zi]=(ar+=Fi)<10?ar:ar-10,cr&&(0===Ni[zi]&&zi>=hr?Ni.pop():cr=!1),ar>=10?1:0},0);er&&(lt.unshift(er),me.integerLen++)}(hr,Fi,ar);let zi=hr.digits,Ni=hr.integerLen;const _r=hr.exponent;let tr=[];for(cr=zi.every(mi=>!mi);Ni<er;Ni++)zi.unshift(0);for(;Ni<0;Ni++)zi.unshift(0);Ni>0?tr=zi.splice(Ni,zi.length):(tr=zi,zi=[0]);const Jn=[];for(zi.length>=mt.lgSize&&Jn.unshift(zi.splice(-mt.lgSize,zi.length).join(""));zi.length>mt.gSize;)Jn.unshift(zi.splice(-mt.gSize,zi.length).join(""));zi.length&&Jn.unshift(zi.join("")),ei=Jn.join(ke(We,lt)),tr.length&&(ei+=ke(We,jt)+tr.join("")),_r&&(ei+=ke(We,W.Exponential)+"+"+_r)}else ei=ke(We,W.Infinity);return ei=me<0&&!cr?mt.negPre+ei+mt.negSuf:mt.posPre+ei+mt.posSuf,ei}(me,function be(me,mt="-"){const We={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},lt=me.split(";"),jt=lt[0],Mn=lt[1],Vn=-1!==jt.indexOf(".")?jt.split("."):[jt.substring(0,jt.lastIndexOf("0")+1),jt.substring(jt.lastIndexOf("0")+1)],ei=Vn[0],cr=Vn[1]||"";We.posPre=ei.substring(0,ei.indexOf("#"));for(let er=0;er<cr.length;er++){const Fi=cr.charAt(er);"0"===Fi?We.minFrac=We.maxFrac=er+1:"#"===Fi?We.maxFrac=er+1:We.posSuf+=Fi}const hr=ei.split(",");if(We.gSize=hr[1]?hr[1].length:0,We.lgSize=hr[2]||hr[1]?(hr[2]||hr[1]).length:0,Mn){const er=jt.length-We.posPre.length-We.posSuf.length,Fi=Mn.indexOf("#");We.negPre=Mn.substring(0,Fi).replace(/'/g,""),We.negSuf=Mn.slice(Fi+er).replace(/'/g,"")}else We.negPre=mt+We.posPre,We.negSuf=We.posSuf;return We}(function Ne(me,mt){return(0,t.H5H)(me)[t.KH2.NumberFormats][mt]}(mt,j.Decimal),ke(mt,W.MinusSign)),mt,W.Group,W.Decimal,We)}(function Yt(me){if("string"==typeof me&&!isNaN(Number(me)-parseFloat(me)))return Number(me);if("number"!=typeof me)throw new Error(`${me} is not a number`);return me}(We),jt,lt)}catch(Mn){throw no()}}static#e=this.\u0275fac=function(lt){return new(lt||me)(t.rXU(t.xe9,16))};static#t=this.\u0275pipe=t.EJ8({name:"number",type:me,pure:!0,standalone:!0})}return me})();let bn=(()=>{class me{static#e=this.\u0275fac=function(lt){return new(lt||me)};static#t=this.\u0275mod=t.$C({type:me});static#n=this.\u0275inj=t.G2t({})}return me})();const ti="browser",qn="server";function _i(me){return me===ti}function qi(me){return me===qn}let Yr=(()=>{class me{static#e=this.\u0275prov=(0,t.jDH)({token:me,providedIn:"root",factory:()=>_i((0,t.WQX)(t.Agw))?new sr((0,t.WQX)(v),window):new io})}return me})();class sr{constructor(mt,We){this.document=mt,this.window=We,this.offset=()=>[0,0]}setOffset(mt){this.offset=Array.isArray(mt)?()=>mt:mt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(mt){this.window.scrollTo(mt[0],mt[1])}scrollToAnchor(mt){const We=function Sr(me,mt){const We=me.getElementById(mt)||me.getElementsByName(mt)[0];if(We)return We;if("function"==typeof me.createTreeWalker&&me.body&&"function"==typeof me.body.attachShadow){const lt=me.createTreeWalker(me.body,NodeFilter.SHOW_ELEMENT);let jt=lt.currentNode;for(;jt;){const Mn=jt.shadowRoot;if(Mn){const Vn=Mn.getElementById(mt)||Mn.querySelector(`[name="${mt}"]`);if(Vn)return Vn}jt=lt.nextNode()}}return null}(this.document,mt);We&&(this.scrollToElement(We),We.focus())}setHistoryScrollRestoration(mt){this.window.history.scrollRestoration=mt}scrollToElement(mt){const We=mt.getBoundingClientRect(),lt=We.left+this.window.pageXOffset,jt=We.top+this.window.pageYOffset,Mn=this.offset();this.window.scrollTo(lt-Mn[0],jt-Mn[1])}}class io{setOffset(mt){}getScrollPosition(){return[0,0]}scrollToPosition(mt){}scrollToAnchor(mt){}setHistoryScrollRestoration(mt){}}class lo{}},1626:(Nt,Le,a)=>{"use strict";a.d(Le,{JV:()=>U,Kd:()=>re,Lr:()=>G,Nl:()=>R,Qq:()=>ne,a7:()=>Ce,cS:()=>Fe,q1:()=>Dn,xB:()=>Re,yz:()=>ue}),a(467);var c=a(4438),m=a(7673),x=a(1985),_=a(6648),b=a(274),v=a(5964),M=a(6354),N=a(980),p=a(5558),P=a(177);class g{}class U{}class G{constructor(Qt){this.normalizedNames=new Map,this.lazyUpdate=null,Qt?"string"==typeof Qt?this.lazyInit=()=>{this.headers=new Map,Qt.split("\n").forEach(kt=>{const xn=kt.indexOf(":");if(xn>0){const Rn=kt.slice(0,xn),Tn=Rn.toLowerCase(),Qn=kt.slice(xn+1).trim();this.maybeSetNormalizedName(Rn,Tn),this.headers.has(Tn)?this.headers.get(Tn).push(Qn):this.headers.set(Tn,[Qn])}})}:typeof Headers<"u"&&Qt instanceof Headers?(this.headers=new Map,Qt.forEach((kt,xn)=>{this.setHeaderEntries(xn,kt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Qt).forEach(([kt,xn])=>{this.setHeaderEntries(kt,xn)})}:this.headers=new Map}has(Qt){return this.init(),this.headers.has(Qt.toLowerCase())}get(Qt){this.init();const kt=this.headers.get(Qt.toLowerCase());return kt&&kt.length>0?kt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Qt){return this.init(),this.headers.get(Qt.toLowerCase())||null}append(Qt,kt){return this.clone({name:Qt,value:kt,op:"a"})}set(Qt,kt){return this.clone({name:Qt,value:kt,op:"s"})}delete(Qt,kt){return this.clone({name:Qt,value:kt,op:"d"})}maybeSetNormalizedName(Qt,kt){this.normalizedNames.has(kt)||this.normalizedNames.set(kt,Qt)}init(){this.lazyInit&&(this.lazyInit instanceof G?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Qt=>this.applyUpdate(Qt)),this.lazyUpdate=null))}
vendor: 11,398 bytes, line 1
1copyFrom(Qt){Qt.init(),Array.from(Qt.headers.keys()).forEach(kt=>{this.headers.set(kt,Qt.headers.get(kt)),this.normalizedNames.set(kt,Qt.normalizedNames.get(kt))})}clone(Qt){const kt=new G;return kt.lazyInit=this.lazyInit&&this.lazyInit instanceof G?this.lazyInit:this,kt.lazyUpdate=(this.lazyUpdate||[]).concat([Qt]),kt}applyUpdate(Qt){const kt=Qt.name.toLowerCase();switch(Qt.op){case"a":case"s":let xn=Qt.value;if("string"==typeof xn&&(xn=[xn]),0===xn.length)return;this.maybeSetNormalizedName(Qt.name,kt);const Rn=("a"===Qt.op?this.headers.get(kt):void 0)||[];Rn.push(...xn),this.headers.set(kt,Rn);break;case"d":const Tn=Qt.value;if(Tn){let Qn=this.headers.get(kt);if(!Qn)return;Qn=Qn.filter(fi=>-1===Tn.indexOf(fi)),0===Qn.length?(this.headers.delete(kt),this.normalizedNames.delete(kt)):this.headers.set(kt,Qn)}else this.headers.delete(kt),this.normalizedNames.delete(kt)}}setHeaderEntries(Qt,kt){const xn=(Array.isArray(kt)?kt:[kt]).map(Tn=>Tn.toString()),Rn=Qt.toLowerCase();this.headers.set(Rn,xn),this.maybeSetNormalizedName(Qt,Rn)}forEach(Qt){this.init(),Array.from(this.normalizedNames.keys()).forEach(kt=>Qt(this.normalizedNames.get(kt),this.headers.get(kt)))}}class K{encodeKey(Qt){return f(Qt)}encodeValue(Qt){return f(Qt)}decodeKey(Qt){return decodeURIComponent(Qt)}decodeValue(Qt){return decodeURIComponent(Qt)}}const ee=/%(\d[a-f0-9])/gi,L={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function f(Tt){return encodeURIComponent(Tt).replace(ee,(Qt,kt)=>L[kt]??Qt)}function D(Tt){return`${Tt}`}class R{constructor(Qt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Qt.encoder||new K,Qt.fromString){if(Qt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function z(Tt,Qt){const kt=new Map;return Tt.length>0&&Tt.replace(/^\?/,"").split("&").forEach(Rn=>{const Tn=Rn.indexOf("="),[Qn,fi]=-1==Tn?[Qt.decodeKey(Rn),""]:[Qt.decodeKey(Rn.slice(0,Tn)),Qt.decodeValue(Rn.slice(Tn+1))],ni=kt.get(Qn)||[];ni.push(fi),kt.set(Qn,ni)}),kt}(Qt.fromString,this.encoder)}else Qt.fromObject?(this.map=new Map,Object.keys(Qt.fromObject).forEach(kt=>{const xn=Qt.fromObject[kt],Rn=Array.isArray(xn)?xn.map(D):[D(xn)];this.map.set(kt,Rn)})):this.map=null}has(Qt){return this.init(),this.map.has(Qt)}get(Qt){this.init();const kt=this.map.get(Qt);return kt?kt[0]:null}getAll(Qt){return this.init(),this.map.get(Qt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Qt,kt){return this.clone({param:Qt,value:kt,op:"a"})}appendAll(Qt){const kt=[];return Object.keys(Qt).forEach(xn=>{const Rn=Qt[xn];Array.isArray(Rn)?Rn.forEach(Tn=>{kt.push({param:xn,value:Tn,op:"a"})}):kt.push({param:xn,value:Rn,op:"a"})}),this.clone(kt)}set(Qt,kt){return this.clone({param:Qt,value:kt,op:"s"})}delete(Qt,kt){return this.clone({param:Qt,value:kt,op:"d"})}toString(){return this.init(),this.keys().map(Qt=>{const kt=this.encoder.encodeKey(Qt);return this.map.get(Qt).map(xn=>kt+"="+this.encoder.encodeValue(xn)).join("&")}).filter(Qt=>""!==Qt).join("&")}clone(Qt){const kt=new R({encoder:this.encoder});return kt.cloneFrom=this.cloneFrom||this,kt.updates=(this.updates||[]).concat(Qt),kt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Qt=>this.map.set(Qt,this.cloneFrom.map.get(Qt))),this.updates.forEach(Qt=>{switch(Qt.op){case"a":case"s":const kt=("a"===Qt.op?this.map.get(Qt.param):void 0)||[];kt.push(D(Qt.value)),this.map.set(Qt.param,kt);break;case"d":if(void 0===Qt.value){this.map.delete(Qt.param);break}{let xn=this.map.get(Qt.param)||[];const Rn=xn.indexOf(D(Qt.value));-1!==Rn&&xn.splice(Rn,1),xn.length>0?this.map.set(Qt.param,xn):this.map.delete(Qt.param)}}}),this.cloneFrom=this.updates=null)}}class j{constructor(){this.map=new Map}set(Qt,kt){return this.map.set(Qt,kt),this}get(Qt){return this.map.has(Qt)||this.map.set(Qt,Qt.defaultValue()),this.map.get(Qt)}delete(Qt){return this.map.delete(Qt),this}has(Qt){return this.map.has(Qt)}keys(){return this.map.keys()}}function H(Tt){return typeof ArrayBuffer<"u"&&Tt instanceof ArrayBuffer}function J(Tt){return typeof Blob<"u"&&Tt instanceof Blob}function Y(Tt){return typeof FormData<"u"&&Tt instanceof FormData}class re{constructor(Qt,kt,xn,Rn){let Tn;if(this.url=kt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Qt.toUpperCase(),function fe(Tt){switch(Tt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Rn?(this.body=void 0!==xn?xn:null,Tn=Rn):Tn=xn,Tn&&(this.reportProgress=!!Tn.reportProgress,this.withCredentials=!!Tn.withCredentials,Tn.responseType&&(this.responseType=Tn.responseType),Tn.headers&&(this.headers=Tn.headers),Tn.context&&(this.context=Tn.context),Tn.params&&(this.params=Tn.params),this.transferCache=Tn.transferCache),this.headers??=new G,this.context??=new j,this.params){const Qn=this.params.toString();if(0===Qn.length)this.urlWithParams=kt;else{const fi=kt.indexOf("?");this.urlWithParams=kt+(-1===fi?"?":fi<kt.length-1?"&":"")+Qn}}else this.params=new R,this.urlWithParams=kt}serializeBody(){return null===this.body?null:H(this.body)||J(this.body)||Y(this.body)||function W(Tt){return typeof URLSearchParams<"u"&&Tt instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof R?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Y(this.body)?null:J(this.body)?this.body.type||null:H(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof R?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Qt={}){const kt=Qt.method||this.method,xn=Qt.url||this.url,Rn=Qt.responseType||this.responseType,Tn=void 0!==Qt.body?Qt.body:this.body,Qn=void 0!==Qt.withCredentials?Qt.withCredentials:this.withCredentials,fi=void 0!==Qt.reportProgress?Qt.reportProgress:this.reportProgress;let ni=Qt.headers||this.headers,oi=Qt.params||this.params;const Ai=Qt.context??this.context;return void 0!==Qt.setHeaders&&(ni=Object.keys(Qt.setHeaders).reduce((Ti,Pi)=>Ti.set(Pi,Qt.setHeaders[Pi]),ni)),Qt.setParams&&(oi=Object.keys(Qt.setParams).reduce((Ti,Pi)=>Ti.set(Pi,Qt.setParams[Pi]),oi)),new re(kt,xn,Tn,{params:oi,headers:ni,context:Ai,reportProgress:fi,responseType:Rn,withCredentials:Qn})}}var le=function(Tt){return Tt[Tt.Sent=0]="Sent",Tt[Tt.UploadProgress=1]="UploadProgress",Tt[Tt.ResponseHeader=2]="ResponseHeader",Tt[Tt.DownloadProgress=3]="DownloadProgress",Tt[Tt.Response=4]="Response",Tt[Tt.User=5]="User",Tt}(le||{});class Re{constructor(Qt,kt=ce.Ok,xn="OK"){this.headers=Qt.headers||new G,this.status=void 0!==Qt.status?Qt.status:kt,this.statusText=Qt.statusText||xn,this.url=Qt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Re{constructor(Qt={}){super(Qt),this.type=le.ResponseHeader}clone(Qt={}){return new Be({headers:Qt.headers||this.headers,status:void 0!==Qt.status?Qt.status:this.status,statusText:Qt.statusText||this.statusText,url:Qt.url||this.url||void 0})}}class Fe extends Re{constructor(Qt={}){super(Qt),this.type=le.Response,this.body=void 0!==Qt.body?Qt.body:null}clone(Qt={}){return new Fe({body:void 0!==Qt.body?Qt.body:this.body,headers:Qt.headers||this.headers,status:void 0!==Qt.status?Qt.status:this.status,statusText:Qt.statusText||this.statusText,url:Qt.url||this.url||void 0})}}class ue extends Re{constructor(Qt){super(Qt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Qt.url||"(unknown url)"}`:`Http failure response for ${Qt.url||"(unknown url)"}: ${Qt.status} ${Qt.statusText}`,this.error=Qt.error||null}}var ce=function(Tt){return Tt[Tt.Continue=100]="Continue",Tt[Tt.SwitchingProtocols=101]="SwitchingProtocols",Tt[Tt.Processing=102]="Processing",Tt[Tt.EarlyHints=103]="EarlyHints",Tt[Tt.Ok=200]="Ok",Tt[Tt.Created=201]="Created",Tt[Tt.Accepted=202]="Accepted",Tt[Tt.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Tt[Tt.NoContent=204]="NoContent",Tt[Tt.ResetContent=205]="ResetContent",Tt[Tt.PartialContent=206]="PartialContent",Tt[Tt.MultiStatus=207]="MultiStatus",Tt[Tt.AlreadyReported=208]="AlreadyReported",Tt[Tt.ImUsed=226]="ImUsed",Tt[Tt.MultipleChoices=300]="MultipleChoices",Tt[Tt.MovedPermanently=301]="MovedPermanently",Tt[Tt.Found=302]="Found",Tt[Tt.SeeOther=303]="SeeOther",Tt[Tt.NotModified=304]="NotModified",Tt[Tt.UseProxy=305]="UseProxy",Tt[Tt.Unused=306]="Unused",Tt[Tt.TemporaryRedirect=307]="TemporaryRedirect",Tt[Tt.PermanentRedirect=308]="PermanentRedirect",Tt[Tt.BadRequest=400]="BadRequest",Tt[Tt.Unauthorized=401]="Unauthorized",Tt[Tt.PaymentRequired=402]="PaymentRequired",Tt[Tt.Forbidden=403]="Forbidden",Tt[Tt.NotFound=404]="NotFound",Tt[Tt.MethodNotAllowed=405]="MethodNotAllowed",Tt[Tt.NotAcceptable=406]="NotAcceptable",Tt[Tt.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Tt[Tt.RequestTimeout=408]="RequestTimeout",Tt[Tt.Conflict=409]="Conflict",Tt[Tt.Gone=410]="Gone",Tt[Tt.LengthRequired=411]="LengthRequired",Tt[Tt.PreconditionFailed=412]="PreconditionFailed",Tt[Tt.PayloadTooLarge=413]="PayloadTooLarge",Tt[Tt.UriTooLong=414]="UriTooLong",Tt[Tt.UnsupportedMediaType=415]="UnsupportedMediaType",Tt[Tt.RangeNotSatisfiable=416]="RangeNotSatisfiable",Tt[Tt.ExpectationFailed=417]="ExpectationFailed",Tt[Tt.ImATeapot=418]="ImATeapot",Tt[Tt.MisdirectedRequest=421]="MisdirectedRequest",Tt[Tt.UnprocessableEntity=422]="UnprocessableEntity",Tt[Tt.Locked=423]="Locked",Tt[Tt.FailedDependency=424]="FailedDependency",Tt[Tt.TooEarly=425]="TooEarly",Tt[Tt.UpgradeRequired=426]="UpgradeRequired",Tt[Tt.PreconditionRequired=428]="PreconditionRequired",Tt[Tt.TooManyRequests=429]="TooManyRequests",Tt[Tt.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Tt[Tt.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Tt[Tt.InternalServerError=500]="InternalServerError",Tt[Tt.NotImplemented=501]="NotImplemented",Tt[Tt.BadGateway=502]="BadGateway",Tt[Tt.ServiceUnavailable=503]="ServiceUnavailable",Tt[Tt.GatewayTimeout=504]="GatewayTimeout",Tt[Tt.HttpVersionNotSupported=505]="HttpVersionNotSupported",Tt[Tt.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Tt[Tt.InsufficientStorage=507]="InsufficientStorage",Tt[Tt.LoopDetected=508]="LoopDetected",Tt[Tt.NotExtended=510]="NotExtended",Tt[Tt.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Tt}(ce||{});function _e(Tt,Qt){return{body:Qt,headers:Tt.headers,context:Tt.context,observe:Tt.observe,params:Tt.params,reportProgress:Tt.reportProgress,responseType:Tt.responseType,withCredentials:Tt.withCredentials,transferCache:Tt.transferCache}}let ne=(()=>{class Tt{constructor(kt){this.handler=kt}request(kt,xn,Rn={}){let Tn;if(kt instanceof re)Tn=kt;else{let ni,oi;ni=Rn.headers instanceof G?Rn.headers:new G(Rn.headers),Rn.params&&(oi=Rn.params instanceof R?Rn.params:new R({fromObject:Rn.params})),Tn=new re(kt,xn,void 0!==Rn.body?Rn.body:null,{headers:ni,context:Rn.context,params:oi,reportProgress:Rn.reportProgress,responseType:Rn.responseType||"json",withCredentials:Rn.withCredentials,transferCache:Rn.transferCache})}const Qn=(0,m.of)(Tn).pipe((0,b.H)(ni=>
1this.handler.handle(ni)));if(kt instanceof re||"events"===Rn.observe)return Qn;const fi=Qn.pipe((0,v.p)(ni=>ni instanceof Fe));switch(Rn.observe||"body"){case"body":switch(Tn.responseType){case"arraybuffer":return fi.pipe((0,M.T)(ni=>{if(null!==ni.body&&!(ni.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ni.body}));case"blob":return fi.pipe((0,M.T)(ni=>{if(null!==ni.body&&!(ni.body instanceof Blob))throw new Error("Response is not a Blob.");return ni.body}));case"text":return fi.pipe((0,M.T)(ni=>{if(null!==ni.body&&"string"!=typeof ni.body)throw new Error("Response is not a string.");return ni.body}));default:return fi.pipe((0,M.T)(ni=>ni.body))}case"response":return fi;default:throw new Error(`Unreachable: unhandled observe type ${Rn.observe}}`)}}delete(kt,xn={}){return this.request("DELETE",kt,xn)}get(kt,xn={}){return this.request("GET",kt,xn)}head(kt,xn={}){return this.request("HEAD",kt,xn)}jsonp(kt,xn){return this.request("JSONP",kt,{params:(new R).append(xn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(kt,xn={}){return this.request("OPTIONS",kt,xn)}patch(kt,xn,Rn={}){return this.request("PATCH",kt,_e(Rn,xn))}post(kt,xn,Rn={}){return this.request("POST",kt,_e(Rn,xn))}put(kt,xn,Rn={}){return this.request("PUT",kt,_e(Rn,xn))}static#e=this.\u0275fac=function(xn){return new(xn||Tt)(c.KVO(g))};static#t=this.\u0275prov=c.jDH({token:Tt,factory:Tt.\u0275fac})}return Tt})();function yt(Tt,Qt){return Qt(Tt)}function dt(Tt,Qt){return(kt,xn)=>Qt.intercept(kt,{handle:Rn=>Tt(Rn,xn)})}const Ce=new c.nKC(""),we=new c.nKC(""),Ee=new c.nKC(""),He=new c.nKC("");function Ot(){let Tt=null;return(Qt,kt)=>{null===Tt&&(Tt=((0,c.WQX)(Ce,{optional:!0})??[]).reduceRight(dt,yt));const xn=(0,c.WQX)(c.TgB),Rn=xn.add();return Tt(Qt,kt).pipe((0,N.j)(()=>xn.remove(Rn)))}}let ln=(()=>{class Tt extends g{constructor(kt,xn){super(),this.backend=kt,this.injector=xn,this.chain=null,this.pendingTasks=(0,c.WQX)(c.TgB);const Rn=(0,c.WQX)(He,{optional:!0});this.backend=Rn??kt}handle(kt){if(null===this.chain){const Rn=Array.from(new Set([...this.injector.get(we),...this.injector.get(Ee,[])]));this.chain=Rn.reduceRight((Tn,Qn)=>function Je(Tt,Qt,kt){return(xn,Rn)=>(0,c.N4e)(kt,()=>Qt(xn,Tn=>Tt(Tn,Rn)))}(Tn,Qn,this.injector),yt)}const xn=this.pendingTasks.add();return this.chain(kt,Rn=>this.backend.handle(Rn)).pipe((0,N.j)(()=>this.pendingTasks.remove(xn)))}static#e=this.\u0275fac=function(xn){return new(xn||Tt)(c.KVO(U),c.KVO(c.uvJ))};static#t=this.\u0275prov=c.jDH({token:Tt,factory:Tt.\u0275fac})}return Tt})();const X=/^\)\]\}',?\n/;let st=(()=>{class Tt{constructor(kt){this.xhrFactory=kt}handle(kt){if("JSONP"===kt.method)throw new c.wOt(-2800,!1);const xn=this.xhrFactory;return(xn.\u0275loadImpl?(0,_.H)(xn.\u0275loadImpl()):(0,m.of)(null)).pipe((0,p.n)(()=>new x.c(Tn=>{const Qn=xn.build();if(Qn.open(kt.method,kt.urlWithParams),kt.withCredentials&&(Qn.withCredentials=!0),kt.headers.forEach((Zn,Mi)=>Qn.setRequestHeader(Zn,Mi.join(","))),kt.headers.has("Accept")||Qn.setRequestHeader("Accept","application/json, text/plain, */*"),!kt.headers.has("Content-Type")){const Zn=kt.detectContentTypeHeader();null!==Zn&&Qn.setRequestHeader("Content-Type",Zn)}if(kt.responseType){const Zn=kt.responseType.toLowerCase();Qn.responseType="json"!==Zn?Zn:"text"}const fi=kt.serializeBody();let ni=null;const oi=()=>{if(null!==ni)return ni;const Zn=Qn.statusText||"OK",Mi=new G(Qn.getAllResponseHeaders()),lr=function Ve(Tt){return"responseURL"in Tt&&Tt.responseURL?Tt.responseURL:/^X-Request-URL:/m.test(Tt.getAllResponseHeaders())?Tt.getResponseHeader("X-Request-URL"):null}(Qn)||kt.url;return ni=new Be({headers:Mi,status:Qn.status,statusText:Zn,url:lr}),ni},Ai=()=>{let{headers:Zn,status:Mi,statusText:lr,url:oo}=oi(),ji=null;Mi!==ce.NoContent&&(ji=typeof Qn.response>"u"?Qn.responseText:Qn.response),0===Mi&&(Mi=ji?ce.Ok:0);let uo=Mi>=200&&Mi<300;if("json"===kt.responseType&&"string"==typeof ji){const Qi=ji;ji=ji.replace(X,"");try{ji=""!==ji?JSON.parse(ji):null}catch(vr){ji=Qi,uo&&(uo=!1,ji={error:vr,text:ji})}}uo?(Tn.next(new Fe({body:ji,headers:Zn,status:Mi,statusText:lr,url:oo||void 0})),Tn.complete()):Tn.error(new ue({error:ji,headers:Zn,status:Mi,statusText:lr,url:oo||void 0}))},Ti=Zn=>{const{url:Mi}=oi(),lr=new ue({error:Zn,status:Qn.status||0,statusText:Qn.statusText||"Unknown Error",url:Mi||void 0});Tn.error(lr)};let Pi=!1;const Gi=Zn=>{Pi||(Tn.next(oi()),Pi=!0);let Mi={type:le.DownloadProgress,loaded:Zn.loaded};Zn.lengthComputable&&(Mi.total=Zn.total),"text"===kt.responseType&&Qn.responseText&&(Mi.partialText=Qn.responseText),Tn.next(Mi)},nr=Zn=>{let Mi={type:le.UploadProgress,loaded:Zn.loaded};Zn.lengthComputable&&(Mi.total=Zn.total),Tn.next(Mi)};return Qn.addEventListener("load",Ai),Qn.addEventListener("error",Ti),Qn.addEventListener("timeout",Ti),Qn.addEventListener("abort",Ti),kt.reportProgress&&(Qn.addEventListener("progress",Gi),null!==fi&&Qn.upload&&Qn.upload.addEventListener("progress",nr)),Qn.send(fi),Tn.next({type:le.Sent}),()=>{Qn.removeEventListener("error",Ti),Qn.removeEventListener("abort",Ti),Qn.removeEventListener("load",Ai),Qn.removeEventListener("timeout",Ti),kt.reportProgress&&(Qn.removeEventListener("progress",Gi),null!==fi&&Qn.upload&&Qn.upload.removeEventListener("progress",nr)),Qn.readyState!==Qn.DONE&&Qn.abort()}})))}static#e=this.\u0275fac=function(xn){return new(xn||Tt)(c.KVO(P.N0))};static#t=this.\u0275prov=c.jDH({token:Tt,factory:Tt.\u0275fac})}return Tt})();const at=new c.nKC(""),pe=new c.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ft=new c.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class At{}let sn=(()=>{class Tt{constructor(kt,xn,Rn){this.doc=kt,this.platform=xn,this.cookieName=Rn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;
1const kt=this.doc.cookie||"";return kt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,P._b)(kt,this.cookieName),this.lastCookieString=kt),this.lastToken}static#e=this.\u0275fac=function(xn){return new(xn||Tt)(c.KVO(P.qQ),c.KVO(c.Agw),c.KVO(pe))};static#t=this.\u0275prov=c.jDH({token:Tt,factory:Tt.\u0275fac})}return Tt})();function Bt(Tt,Qt){const kt=Tt.url.toLowerCase();if(!(0,c.WQX)(at)||"GET"===Tt.method||"HEAD"===Tt.method||kt.startsWith("http://")||kt.startsWith("https://"))return Qt(Tt);const xn=(0,c.WQX)(At).getToken(),Rn=(0,c.WQX)(ft);return null!=xn&&!Tt.headers.has(Rn)&&(Tt=Tt.clone({headers:Tt.headers.set(Rn,xn)})),Qt(Tt)}var zt=function(Tt){return Tt[Tt.Interceptors=0]="Interceptors",Tt[Tt.LegacyInterceptors=1]="LegacyInterceptors",Tt[Tt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Tt[Tt.NoXsrfProtection=3]="NoXsrfProtection",Tt[Tt.JsonpSupport=4]="JsonpSupport",Tt[Tt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Tt[Tt.Fetch=6]="Fetch",Tt}(zt||{});function Qe(...Tt){const Qt=[ne,st,ln,{provide:g,useExisting:ln},{provide:U,useExisting:st},{provide:we,useValue:Bt,multi:!0},{provide:at,useValue:!0},{provide:At,useClass:sn}];for(const kt of Tt)Qt.push(...kt.\u0275providers);return(0,c.EmA)(Qt)}const Vt=new c.nKC("");function rn(){return function wt(Tt,Qt){return{\u0275kind:Tt,\u0275providers:Qt}}(zt.LegacyInterceptors,[{provide:Vt,useFactory:Ot},{provide:we,useExisting:Vt,multi:!0}])}let Dn=(()=>{class Tt{static#e=this.\u0275fac=function(xn){return new(xn||Tt)};static#t=this.\u0275mod=c.$C({type:Tt});static#n=this.\u0275inj=c.G2t({providers:[Qe(rn())]})}return Tt})()},4438:(Nt,Le,a)=>{"use strict";a.d(Le,{iLQ:()=>Kg,sZ2:()=>Yf,hnV:()=>gC,Hbi:()=>z4,o8S:()=>Ba,BIS:()=>Iy,gRc:()=>SC,Ql9:()=>m4,Ocv:()=>E4,abz:()=>wa,Z63:()=>Ho,aKT:()=>fl,uvJ:()=>$o,zcH:()=>sa,bkB:()=>Qs,$GK:()=>Bi,nKC:()=>Tn,zZn:()=>bs,_q3:()=>ef,MKu:()=>tf,xe9:()=>Ud,Co$:()=>dv,Vns:()=>Xa,SKi:()=>To,Xx1:()=>_i,Agw:()=>kh,PLl:()=>Qf,sFG:()=>sx,_9s:()=>ym,czy:()=>Ju,WPN:()=>Ka,kdw:()=>Ci,C4Q:()=>Fc,NYb:()=>u4,giA:()=>hC,pJN:()=>Oc,xvI:()=>NM,RxE:()=>rC,c1b:()=>hd,gXe:()=>$r,mal:()=>Sm,Af3:()=>me,L39:()=>yS,Ol2:()=>Xp,w6W:()=>sD,oH4:()=>DC,SmG:()=>P4,Rfq:()=>Bt,WQX:()=>Yt,QuC:()=>yo,EmA:()=>Do,zw6:()=>ky,fpN:()=>j4,HJs:()=>AS,N4e:()=>Hs,O8t:()=>xS,H3F:()=>oC,H8p:()=>Is,KH2:()=>Gl,TgB:()=>Al,wOt:()=>It,WHO:()=>uC,e01:()=>dC,lNU:()=>Ot,h9k:()=>m_,$MX:()=>ju,ZF7:()=>yl,Kcf:()=>qy,e5t:()=>iO,UyX:()=>tO,cWb:()=>eO,osQ:()=>nO,H5H:()=>yg,Zy3:()=>un,mq5:()=>g0,JZv:()=>Ve,LfX:()=>en,plB:()=>Ta,jNT:()=>jg,zjR:()=>pC,TL$:()=>wy,Tbb:()=>Te,rcV:()=>Oa,Vt3:()=>Kp,Mj6:()=>kr,GFd:()=>uv,OA$:()=>eo,Jv_:()=>b1,aNF:()=>E1,R7$:()=>W_,BMQ:()=>sg,AVh:()=>hg,wni:()=>n1,VBU:()=>Gn,FsC:()=>xr,jDH:()=>be,G2t:()=>w,$C:()=>Xi,EJ8:()=>Lr,rXU:()=>Dl,nrm:()=>vg,eu8:()=>Cg,bVm:()=>Ad,qex:()=>Sd,k0s:()=>Md,j41:()=>Ed,RV6:()=>d0,xGo:()=>gh,KVO:()=>bt,kS0:()=>vc,QTQ:()=>z_,bIt:()=>Dg,lsd:()=>s1,joV:()=>Ou,qSk:()=>yu,XpG:()=>z0,nI1:()=>V1,bMT:()=>U1,i5U:()=>H1,SdG:()=>G0,NAR:()=>K0,Y8G:()=>ug,FS9:()=>Eg,Mz_:()=>Rd,lJ4:()=>w1,eq3:()=>P1,l_i:()=>I1,sMw:()=>T1,ziG:()=>R1,mGM:()=>o1,sdS:()=>a1,Njj:()=>pi,eBV:()=>ri,B4B:()=>Yh,n$t:()=>y_,wjB:()=>M1,Obh:()=>S1,DNE:()=>wl,C5r:()=>$1,EFF:()=>m1,JRh:()=>Mg,SpI:()=>kd,Lme:()=>Sg,E5c:()=>Ag,LHq:()=>wg,SjE:()=>Pg,SEQ:()=>Ig,wXG:()=>C_,DH7:()=>x1,mxI:()=>Rg,R50:()=>Tg,GBs:()=>r1}),a(467);let m=null,_=1;const b=Symbol("SIGNAL");function v(n){const i=m;return m=n,i}function G(n){if((!j(n)||n.dirty)&&(n.dirty||n.lastCleanEpoch!==_)){if(!n.producerMustRecompute(n)&&!f(n))return n.dirty=!1,void(n.lastCleanEpoch=_);n.producerRecomputeValue(n),n.dirty=!1,n.lastCleanEpoch=_}}function f(n){fe(n);for(let i=0;i<n.producerNode.length;i++){const o=n.producerNode[i],l=n.producerLastReadVersion[i];if(l!==o.version||(G(o),l!==o.version))return!0}return!1}function S(n,i){if(function H(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}(n),fe(n),1===n.liveConsumerNode.length)for(let l=0;l<n.producerNode.length;l++)S(n.producerNode[l],n.producerIndexOfThis[l]);const o=n.liveConsumerNode.length-1;if(n.liveConsumerNode[i]=n.liveConsumerNode[o],n.liveConsumerIndexOfThis[i]=n.liveConsumerIndexOfThis[o],n.liveConsumerNode.length--,n.liveConsumerIndexOfThis.length--,i<n.liveConsumerNode.length){const l=n.liveConsumerIndexOfThis[i],u=n.liveConsumerNode[i];fe(u),u.producerIndexOfThis[l]=i}}function j(n){return n.consumerIsAlwaysLive||(n?.liveConsumerNode?.length??0)>0}function fe(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}let Be=null;var Je=a(1413),Ce=a(8359),we=a(4412),Ee=a(6354);const Ot="https://g.co/ng/security#xss";
1class It extends Error{constructor(i,o){super(un(i,o)),this.code=i}}function un(n,i){return`NG0${Math.abs(n)}${i?": "+i:""}`}function Ae(n){return{toString:n}.toString()}const vt="__parameters__";function Ze(n,i,o){return Ae(()=>{const l=function pt(n){return function(...o){if(n){const l=n(...o);for(const u in l)this[u]=l[u]}}}(i);function u(...C){if(this instanceof u)return l.apply(this,C),this;const I=new u(...C);return ie.annotation=I,ie;function ie(ge,Ge,gt){const Rt=ge.hasOwnProperty(vt)?ge[vt]:Object.defineProperty(ge,vt,{value:[]})[vt];for(;Rt.length<=gt;)Rt.push(null);return(Rt[gt]=Rt[gt]||[]).push(I),ge}}return o&&(u.prototype=Object.create(o.prototype)),u.prototype.ngMetadataName=n,u.annotationCls=u,u})}const Ve=globalThis;function V(n){for(let i in n)if(n[i]===V)return i;throw Error("Could not find renamed property on target object.")}function pe(n,i){for(const o in i)i.hasOwnProperty(o)&&!n.hasOwnProperty(o)&&(n[o]=i[o])}function Te(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Te).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const i=n.toString();if(null==i)return""+i;const o=i.indexOf("\n");return-1===o?i:i.substring(0,o)}function ft(n,i){return null==n||""===n?null===i?"":i:null==i||""===i?n:n+" "+i}const sn=V({__forward_ref__:V});function Bt(n){return n.__forward_ref__=Bt,n.toString=function(){return Te(this())},n}function Ut(n){return zt(n)?n():n}function zt(n){return"function"==typeof n&&n.hasOwnProperty(sn)&&n.__forward_ref__===Bt}function be(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function w(n){return{providers:n.providers||[],imports:n.imports||[]}}function Oe(n){return Kn(n,Qt)||Kn(n,xn)}function en(n){return null!==Oe(n)}function Kn(n,i){return n.hasOwnProperty(i)?n[i]:null}function Tt(n){return n&&(n.hasOwnProperty(kt)||n.hasOwnProperty(Rn))?n[kt]:null}const Qt=V({\u0275prov:V}),kt=V({\u0275inj:V}),xn=V({ngInjectableDef:V}),Rn=V({ngInjectorDef:V});class Tn{constructor(i,o){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=be({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Mi(n){return n&&!!n.\u0275providers}const lr=V({\u0275cmp:V}),oo=V({\u0275dir:V}),ji=V({\u0275pipe:V}),uo=V({\u0275mod:V}),Qi=V({\u0275fac:V}),vr=V({__NG_ELEMENT_ID__:V}),so=V({__NG_ENV_ID__:V});function bi(n){return"string"==typeof n?n:null==n?"":String(n)}function Li(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():bi(n)}function Ur(n,i){throw new It(-201,!1)}var Bi=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(Bi||{});let Jr;function Rr(){return Jr}function gr(n){const i=Jr;return Jr=n,i}function ho(n,i,o){const l=Oe(n);return l&&"root"==l.providedIn?void 0===l.value?l.value=l.factory():l.value:o&Bi.Optional?null:void 0!==i?i:void Ur()}const Cr={},Bo="__NG_DI_FLAG__",ur="ngTempTokenPath",Xr=/\n/gm,yr="__source";let Ri;function Ue(n){const i=Ri;return Ri=n,i}function ht(n,i=Bi.Default){if(void 0===Ri)throw new It(-203,!1);return null===Ri?ho(n,void 0,i):Ri.get(n,i&Bi.Optional?null:void 0,i)}function bt(n,i=Bi.Default){return(Rr()||ht)(Ut(n),i)}function Yt(n,i=Bi.Default){return bt(n,an(i))}function an(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function gn(n){const i=[];for(let o=0;o<n.length;o++){const l=Ut(n[o]);if(Array.isArray(l)){if(0===l.length)throw new It(900,!1);let u,C=Bi.Default;for(let I=0;I<l.length;I++){const ie=l[I],ge=ti(ie);"number"==typeof ge?-1===ge?u=ie.token:C|=ge:u=ie}i.push(bt(u,C))}else i.push(bt(l))}return i}function bn(n,i){return n[Bo]=i,n.prototype[Bo]=i,n}function ti(n){return n[Bo]}const _i=bn(Ze("Optional"),8),Ci=bn(Ze("SkipSelf"),4);function Di(n,i){return n.hasOwnProperty(Qi)?n[Qi]:null}function sr(n){return n.flat(Number.POSITIVE_INFINITY)}
vendor: 5,628 bytes, line 1
1function Sr(n,i){n.forEach(o=>Array.isArray(o)?Sr(o,i):i(o))}function io(n,i,o){i>=n.length?n.push(o):n.splice(i,0,o)}function lo(n,i){return i>=n.length-1?n.pop():n.splice(i,1)[0]}function Er(n,i,o){let l=wo(n,i);return l>=0?n[1|l]=o:(l=~l,function ro(n,i,o,l){let u=n.length;if(u==i)n.push(o,l);else if(1===u)n.push(l,n[0]),n[0]=o;else{for(u--,n.push(n[u-1],n[u]);u>i;)n[u]=n[u-2],u--;n[i]=o,n[i+1]=l}}(n,l,i,o)),l}function Pr(n,i){const o=wo(n,i);if(o>=0)return n[1|o]}function wo(n,i){return function gs(n,i,o){let l=0,u=n.length>>o;for(;u!==l;){const C=l+(u-l>>1),I=n[C<<o];if(i===I)return C<<o;I>i?u=C:l=C+1}return~(u<<o)}(n,i,1)}const po={},Ji=[],Ho=new Tn(""),go=new Tn("",-1),Po=new Tn("");class cs{get(i,o=Cr){if(o===Cr){const l=new Error(`NullInjectorError: No provider for ${Te(i)}!`);throw l.name="NullInjectorError",l}return o}}var ai=function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n}(ai||{}),$r=function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}($r||{}),kr=function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n}(kr||{});function vo(n,i,o){let l=n.length;for(;;){const u=n.indexOf(i,o);if(-1===u)return u;if(0===u||n.charCodeAt(u-1)<=32){const C=i.length;if(u+C===l||n.charCodeAt(u+C)<=32)return u}o=u+1}}function fr(n,i,o){let l=0;for(;l<o.length;){const u=o[l];if("number"==typeof u){if(0!==u)break;l++;const C=o[l++],I=o[l++],ie=o[l++];n.setAttribute(i,I,ie,C)}else{const C=u,I=o[++l];ut(C)?n.setProperty(i,C,I):n.setAttribute(i,C,I),l++}}return l}function Xe(n){return 3===n||4===n||6===n}function ut(n){return 64===n.charCodeAt(0)}function $e(n,i){if(null!==i&&0!==i.length)if(null===n||0===n.length)n=i.slice();else{let o=-1;for(let l=0;l<i.length;l++){const u=i[l];"number"==typeof u?o=u:0===o||St(n,o,u,null,-1===o||2===o?i[++l]:null)}}return n}function St(n,i,o,l,u){let C=0,I=n.length;if(-1===i)I=-1;else for(;C<n.length;){const ie=n[C++];if("number"==typeof ie){if(ie===i){I=-1;break}if(ie>i){I=C-1;break}}}for(;C<n.length;){const ie=n[C];if("number"==typeof ie)break;if(ie===o){if(null===l)return void(null!==u&&(n[C+1]=u));if(l===n[C+1])return void(n[C+2]=u)}C++,null!==l&&C++,null!==u&&C++}-1!==I&&(n.splice(I,0,i),C=I+1),n.splice(C++,0,o),null!==l&&n.splice(C++,0,l),null!==u&&n.splice(C++,0,u)}const nn="ng-template";function yi(n,i,o,l){let u=0;if(l){for(;u<i.length&&"string"==typeof i[u];u+=2)if("class"===i[u]&&-1!==vo(i[u+1].toLowerCase(),o,0))return!0}else if(ki(n))return!1;if(u=i.indexOf(1,u),u>-1){let C;for(;++u<i.length&&"string"==typeof(C=i[u]);)if(C.toLowerCase()===o)return!0}return!1}function ki(n){return 4===n.type&&n.value!==nn}function Or(n,i,o){return i===(4!==n.type||o?n.value:nn)}function Ir(n,i,o){let l=4;const u=n.attrs,C=null!==u?function ir(n){for(let i=0;i<n.length;i++)if(Xe(n[i]))return i;return n.length}(u):0;let I=!1;for(let ie=0;ie<i.length;ie++){const ge=i[ie];if("number"!=typeof ge){if(!I)if(4&l){if(l=2|1&l,""!==ge&&!Or(n,ge,o)||""===ge&&1===i.length){if(dr(l))return!1;I=!0}}else if(8&l){if(null===u||!yi(n,u,ge,o)){if(dr(l))return!1;I=!0}}else{const Ge=i[++ie],gt=Fo(ge,u,ki(n),o);if(-1===gt){if(dr(l))return!1;I=!0;continue}if(""!==Ge){let Rt;if(Rt=gt>C?"":u[gt+1].toLowerCase(),2&l&&Ge!==Rt){if(dr(l))return!1;I=!0}}}}else{if(!I&&!dr(l)&&!dr(ge))return!1;if(I&&dr(ge))continue;I=!1,l=ge|1&l}}return dr(l)||I}function dr(n){return!(1&n)}function Fo(n,i,o,l){if(null===i)return-1;let u=0;if(l||!o){let C=!1;for(;u<i.length;){const I=i[u];if(I===n)return u;if(3===I||6===I)C=!0;else{if(1===I||2===I){let ie=i[++u];for(;"string"==typeof ie;)ie=i[++u];continue}if(4===I)break;if(0===I){u+=4;continue}}u+=C?1:2}return-1}return function B(n,i){let o=n.indexOf(4);if(o>-1)for(o++;o<n.length;){const l=n[o];if("number"==typeof l)return-1;if(l===i)return o;o++}return-1}(i,n)}function pr(n,i,o=!1){for(let l=0;l<i.length;l++)if(Ir(n,i[l],o))return!0;return!1}function se(n,i){e:for(let o=0;o<i.length;o++){const l=i[o];if(n.length===l.length){for(let u=0;u<n.length;u++)if(n[u]!==l[u])continue e;return!0}}return!1}function je(n,i){return n?":not("+i.trim()+")":i}function xt(n){let i=n[0],o=1,l=2,u="",C=!1;for(;o<n.length;){let I=n[o];if("string"==typeof I)if(2&l){const ie=n[++o];u+="["+I+(ie.length>0?'="'+ie+'"':"")+"]"}else 8&l?u+="."+I:4&l&&(u+=" "+I);else""!==u&&!dr(I)&&(i+=je(C,u),u=""),l=I,C=C||!dr(l);o++}return""!==u&&(i+=je(C,u)),i}function Gn(n){return Ae(()=>{const i=Yo(n),o={...i,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===ai.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||$r.Emulated,styles:n.styles||Ji,_:null,schemas:n.schemas||null,tView:null,id:""};Cs(o);const l=n.dependencies;return o.directiveDefs=ws(l,!1),o.pipeDefs=ws(l,!0),o.id=function na(n){let i=0;const o=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const u of o)i=Math.imul(31,i)+u.charCodeAt(0)|0;return i+=2147483648,"c"+i}(o),o})}function li(n){return Ki(n)||Zi(n)}function wi(n){return null!==n}function Xi(n){return Ae(()=>({type:n.type,bootstrap:n.bootstrap||Ji,declarations:n.declarations||Ji,imports:n.imports||Ji,exports:n.exports||Ji,transitiveCompileScopes:null,
vendor: 4,865 bytes, line 1
1schemas:n.schemas||null,id:n.id||null}))}function Co(n,i){if(null==n)return po;const o={};for(const l in n)if(n.hasOwnProperty(l)){const u=n[l];let C,I,ie=kr.None;Array.isArray(u)?(ie=u[0],C=u[1],I=u[2]??C):(C=u,I=u),i?(o[C]=ie!==kr.None?[l,ie]:l,i[C]=I):o[C]=l}return o}function xr(n){return Ae(()=>{const i=Yo(n);return Cs(i),i})}function Lr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Ki(n){return n[lr]||null}function Zi(n){return n[oo]||null}function Br(n){return n[ji]||null}function yo(n){const i=Ki(n)||Zi(n)||Br(n);return null!==i&&i.standalone}function Vr(n,i){const o=n[uo]||null;if(!o&&!0===i)throw new Error(`Type ${Te(n)} does not have '\u0275mod' property.`);return o}function Yo(n){const i={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputTransforms:null,inputConfig:n.inputs||po,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||Ji,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Co(n.inputs,i),outputs:Co(n.outputs),debugInfo:null}}function Cs(n){n.features?.forEach(i=>i(n))}function ws(n,i){if(!n)return null;const o=i?Br:li;return()=>("function"==typeof n?n():n).map(l=>o(l)).filter(wi)}function Do(n){return{\u0275providers:n}}function Ns(...n){return{\u0275providers:Qo(0,n),\u0275fromNgModule:!0}}function Qo(n,...i){const o=[],l=new Set;let u;const C=I=>{o.push(I)};return Sr(i,I=>{const ie=I;Vs(ie,C,[],l)&&(u||=[],u.push(ie))}),void 0!==u&&Ui(u,C),o}function Ui(n,i){for(let o=0;o<n.length;o++){const{ngModule:l,providers:u}=n[o];rs(u,C=>{i(C,l)})}}function Vs(n,i,o,l){if(!(n=Ut(n)))return!1;let u=null,C=Tt(n);const I=!C&&Ki(n);if(C||I){if(I&&!I.standalone)return!1;u=n}else{const ge=n.ngModule;if(C=Tt(ge),!C)return!1;u=ge}const ie=l.has(u);if(I){if(ie)return!1;if(l.add(u),I.dependencies){const ge="function"==typeof I.dependencies?I.dependencies():I.dependencies;for(const Ge of ge)Vs(Ge,i,o,l)}}else{if(!C)return!1;{if(null!=C.imports&&!ie){let Ge;l.add(u);try{Sr(C.imports,gt=>{Vs(gt,i,o,l)&&(Ge||=[],Ge.push(gt))})}finally{}void 0!==Ge&&Ui(Ge,i)}if(!ie){const Ge=Di(u)||(()=>new u);i({provide:u,useFactory:Ge,deps:Ji},u),i({provide:Po,useValue:u,multi:!0},u),i({provide:Ho,useValue:()=>bt(u),multi:!0},u)}const ge=C.providers;if(null!=ge&&!ie){const Ge=n;rs(ge,gt=>{i(gt,Ge)})}}}return u!==n&&void 0!==n.providers}function rs(n,i){for(let o of n)Mi(o)&&(o=o.\u0275providers),Array.isArray(o)?rs(o,i):i(o)}const ha=V({provide:String,useValue:V});function qo(n){return null!==n&&"object"==typeof n&&ha in n}function bo(n){return"function"==typeof n}const Is=new Tn(""),os={},Ks={};let ms;function ys(){return void 0===ms&&(ms=new cs),ms}class $o{}class es extends $o{get destroyed(){return this._destroyed}constructor(i,o,l,u){super(),this.parent=o,this.source=l,this.scopes=u,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Oo(i,I=>this.processProvider(I)),this.records.set(go,ts(void 0,this)),u.has("environment")&&this.records.set($o,ts(void 0,this));const C=this.records.get(Is);null!=C&&"string"==typeof C.value&&this.scopes.add(C.value),this.injectorDefTypes=new Set(this.get(Po,Ji,Bi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const i=v(null);try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const l of o)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),v(i)}}onDestroy(i){return this.assertNotDestroyed(),this._onDestroyHooks.push(i),()=>this.removeOnDestroy(i)}runInContext(i){this.assertNotDestroyed();const o=Ue(this),l=gr(void 0);try{return i()}finally{Ue(o),gr(l)}}get(i,o=Cr,l=Bi.Default){if(this.assertNotDestroyed(),i.hasOwnProperty(so))return i[so](this);l=an(l);const C=Ue(this),I=gr(void 0);try{if(!(l&Bi.SkipSelf)){let ge=this.records.get(i);if(void 0===ge){const Ge=function Os(n){return"function"==typeof n||"object"==typeof n&&n instanceof Tn}(i)&&Oe(i);ge=Ge&&this.injectableDefInScope(Ge)?ts(Io(i),os):null,this.records.set(i,ge)}if(null!=ge)return this.hydrate(i,ge)}return(l&Bi.Self?ys():this.parent).get(i,o=l&Bi.Optional&&o===Cr?null:o)}catch(ie){if("NullInjectorError"===ie.name){if((ie[ur]=ie[ur]||[]).unshift(Te(i)),C)throw ie;return function qn(n,i,o,l){const u=n[ur];throw i[yr]&&u.unshift(i[yr]),n.message=function ii(n,i,o,l=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let u=Te(i);if(Array.isArray(i))u=i.map(Te).join(" -> ");else if("object"==typeof i){let C=[];for(let I in i)if(i.hasOwnProperty(I)){let ie=i[I];
1C.push(I+":"+("string"==typeof ie?JSON.stringify(ie):Te(ie)))}u=`{${C.join(", ")}}`}return`${o}${l?"("+l+")":""}[${u}]: ${n.replace(Xr,"\n  ")}`}("\n"+n.message,u,o,l),n.ngTokenPath=u,n[ur]=null,n}(ie,i,"R3InjectorError",this.source)}throw ie}finally{gr(I),Ue(C)}}resolveInjectorInitializers(){const i=v(null),o=Ue(this),l=gr(void 0);try{const C=this.get(Ho,Ji,Bi.Self);for(const I of C)I()}finally{Ue(o),gr(l),v(i)}}toString(){const i=[],o=this.records;for(const l of o.keys())i.push(Te(l));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new It(205,!1)}processProvider(i){let o=bo(i=Ut(i))?i:Ut(i&&i.provide);const l=function us(n){return qo(n)?ts(void 0,n.useValue):ts(Wo(n),os)}(i);if(!bo(i)&&!0===i.multi){let u=this.records.get(o);u||(u=ts(void 0,os,!0),u.factory=()=>gn(u.multi),this.records.set(o,u)),o=i,u.multi.push(i)}this.records.set(o,l)}hydrate(i,o){const l=v(null);try{return o.value===os&&(o.value=Ks,o.value=o.factory()),"object"==typeof o.value&&o.value&&function Js(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}finally{v(l)}}injectableDefInScope(i){if(!i.providedIn)return!1;const o=Ut(i.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(i){const o=this._onDestroyHooks.indexOf(i);-1!==o&&this._onDestroyHooks.splice(o,1)}}function Io(n){const i=Oe(n),o=null!==i?i.factory:Di(n);if(null!==o)return o;if(n instanceof Tn)throw new It(204,!1);if(n instanceof Function)return function No(n){if(n.length>0)throw new It(204,!1);const o=function xi(n){return n&&(n[Qt]||n[xn])||null}(n);return null!==o?()=>o.factory(n):()=>new n}(n);throw new It(204,!1)}function Wo(n,i,o){let l;if(bo(n)){const u=Ut(n);return Di(u)||Io(u)}if(qo(n))l=()=>Ut(n.useValue);else if(function Ps(n){return!(!n||!n.useFactory)}(n))l=()=>n.useFactory(...gn(n.deps||[]));else if(function Us(n){return!(!n||!n.useExisting)}(n))l=()=>bt(Ut(n.useExisting));else{const u=Ut(n&&(n.useClass||n.provide));if(!function Gs(n){return!!n.deps}(n))return Di(u)||Io(u);l=()=>new u(...gn(n.deps))}return l}function ts(n,i,o=!1){return{factory:n,value:i,multi:o?[]:void 0}}function Oo(n,i){for(const o of n)Array.isArray(o)?Oo(o,i):o&&Mi(o)?Oo(o.\u0275providers,i):i(o)}function Hs(n,i){n instanceof es&&n.assertNotDestroyed();const l=Ue(n),u=gr(void 0);try{return i()}finally{Ue(l),gr(u)}}function Ts(){return void 0!==Rr()||null!=function is(){return Ri}()}function me(n){if(!Ts())throw new It(-203,!1)}const tr=0,Jn=1,mi=2,Yi=3,Wr=4,Ar=5,_o=6,xs=7,Mr=8,jr=9,jo=10,Vi=11,Rs=12,zo=13,F=14,Q=15,he=16,ye=17,Ye=18,_t=19,Ct=20,Mt=21,Kt=22,tn=23,qt=25,hn=1,In=7,Pn=9,Bn=10;var kn=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(kn||{});function Cn(n){return Array.isArray(n)&&"object"==typeof n[hn]}function Un(n){return Array.isArray(n)&&!0===n[hn]}function Oi(n){return!!(4&n.flags)}function Si(n){return n.componentOffset>-1}function mn(n){return!(1&~n.flags)}function _n(n){return!!n.template}function Sn(n){return!!(512&n[mi])}class mo{constructor(i,o,l){this.previousValue=i,this.currentValue=o,this.firstChange=l}isFirstChange(){return this.firstChange}}function xo(n,i,o,l){null!==i?i.applyValueToInputSignal(i,l):n[o]=l}function eo(){return So}function So(n){return n.type.prototype.ngOnChanges&&(n.setInput=ks),pa}function pa(){const n=ql(this),i=n?.current;if(i){const o=n.previous;if(o===po)n.previous=i;else for(let l in i)o[l]=i[l];n.current=null,this.ngOnChanges(i)}}function ks(n,i,o,l,u){const C=this.declaredInputs[l],I=ql(n)||function ec(n,i){return n[fa]=i}(n,{previous:po,current:null}),ie=I.current||(I.current={}),ge=I.previous,Ge=ge[C];ie[C]=new mo(Ge&&Ge.currentValue,o,ge===po),xo(n,i,u,o)}eo.ngInherit=!0;const fa="__ngSimpleChanges__";function ql(n){return n[fa]||null}const Ls=function(n,i,o){},tl="svg";let il=!1;function wr(n){for(;Array.isArray(n);)n=n[tr];return n}function Ma(n,i){return wr(i[n])}function ns(n,i){return wr(i[n.index])}function Sa(n,i){return n.data[i]}function _a(n,i){return n[i]}function ds(n,i){const o=i[n];return Cn(o)?o:o[tr]}function rl(n){return!(128&~n[mi])}function Ds(n,i){return null==i?null:n[i]}function ic(n){n[ye]=0}function rc(n){1024&n[mi]||(n[mi]|=1024,rl(n)&&Aa(n))}function ol(n){return!!(9216&n[mi]||n[tn]?.dirty)}function sc(n){n[jo].changeDetectionScheduler?.notify(1),ol(n)?Aa(n):64&n[mi]&&(function du(){return il}()?(n[mi]|=1024,Aa(n)):n[jo].changeDetectionScheduler?.notify())}function Aa(n){n[jo].changeDetectionScheduler?.notify();let i=ia(n);for(;null!==i&&!(8192&i[mi])&&(i[mi]|=8192,rl(i));)i=ia(i)}function sl(n,i){if(!(256&~n[mi]))throw new It(911,!1);null===n[Mt]&&(n[Mt]=[]),n[Mt].push(i)}function ia(n){const i=n[Yi];return Un(i)?i[Yi]:i}const $i={lFrame:qd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function ll(){return $i.bindingsEnabled}function va(){return null!==$i.skipHydrationRootTNode}function Et(){return $i.lFrame.lView}function vn(){return $i.lFrame.tView}function ri(n){return $i.lFrame.contextLView=n,n[Mr]}function pi(n){return $i.lFrame.contextLView=null,n}function hi(){let n=zr();for(;null!==n&&64===n.type;)n=n.parent;return n}function zr(){return $i.lFrame.currentTNode}function to(n,i){const o=$i.lFrame;o.currentTNode=n,o.isParent=i}function Xs(){return $i.lFrame.isParent}function hs(){$i.lFrame.isParent=!1}function Ko(){const n=$i.lFrame;let i=n.bindingRootIndex;return-1===i&&(i=n.bindingRootIndex=n.tView.bindingStartIndex),i}function ra(){return $i.lFrame.bindingIndex}function $s(){return $i.lFrame.bindingIndex++}function oa(n){const i=$i.lFrame,o=i.bindingIndex;return i.bindingIndex=i.bindingIndex+n,o}function af(n,i){const o=$i.lFrame;o.bindingIndex=o.bindingRootIndex=n,_u(i)}function _u(n){$i.lFrame.currentDirectiveIndex=n}function mu(){return $i.lFrame.currentQueryIndex}function cl(n){$i.lFrame.currentQueryIndex=n}function cf(n){const i=n[Jn];return 2===i.type?i.declTNode:1===i.type?n[Ar]:null}function Yd(n,i,o){if(o&Bi.SkipSelf){let u=i,C=n;for(;!(u=u.parent,null!==u||o&Bi.Host||(u=cf(C),null===u||(C=C[F],10&u.type))););if(null===u)return!1;i=u,n=C}const l=$i.lFrame=Qd();return l.currentTNode=i,l.lView=n,!0}function vu(n){const i=Qd(),o=n[Jn];$i.lFrame=i,i.currentTNode=o.firstChild,i.lView=n,i.tView=o,i.contextLView=n,i.bindingIndex=o.bindingStartIndex,i.inI18n=!1}function Qd(){const n=$i.lFrame,i=null===n?null:n.child;return null===i?qd(n):i}function qd(n){const i={currentTNode:null,isParent:!0,lView:null,tView:null,
vendor: 6,481 bytes, line 1
1selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=i),i}function eh(){const n=$i.lFrame;return $i.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const th=eh;function Cu(){const n=eh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function as(){return $i.lFrame.selectedIndex}function Ca(n){$i.lFrame.selectedIndex=n}function Kr(){const n=$i.lFrame;return Sa(n.tView,n.selectedIndex)}function yu(){$i.lFrame.currentNamespace=tl}function Ou(){!function hf(){$i.lFrame.currentNamespace=null}()}let ih=!0;function ul(){return ih}function Zs(n){ih=n}function uc(n,i){for(let o=i.directiveStart,l=i.directiveEnd;o<l;o++){const C=n.data[o].type.prototype,{ngAfterContentInit:I,ngAfterContentChecked:ie,ngAfterViewInit:ge,ngAfterViewChecked:Ge,ngOnDestroy:gt}=C;I&&(n.contentHooks??=[]).push(-o,I),ie&&((n.contentHooks??=[]).push(o,ie),(n.contentCheckHooks??=[]).push(o,ie)),ge&&(n.viewHooks??=[]).push(-o,ge),Ge&&((n.viewHooks??=[]).push(o,Ge),(n.viewCheckHooks??=[]).push(o,Ge)),null!=gt&&(n.destroyHooks??=[]).push(o,gt)}}function dc(n,i,o){rh(n,i,3,o)}function hc(n,i,o,l){(3&n[mi])===o&&rh(n,i,o,l)}function xu(n,i){let o=n[mi];(3&o)===i&&(o&=16383,o+=1,n[mi]=o)}function rh(n,i,o,l){const C=l??-1,I=i.length-1;let ie=0;for(let ge=void 0!==l?65535&n[ye]:0;ge<I;ge++)if("number"==typeof i[ge+1]){if(ie=i[ge],null!=l&&ie>=l)break}else i[ge]<0&&(n[ye]+=65536),(ie<C||-1==C)&&(gf(n,o,i,ge),n[ye]=(4294901760&n[ye])+ge+2),ge++}function oh(n,i){Ls(4,n,i);const o=v(null);try{i.call(n)}finally{v(o),Ls(5,n,i)}}function gf(n,i,o,l){const u=o[l]<0,C=o[l+1],ie=n[u?-o[l]:o[l]];u?n[mi]>>14<n[ye]>>16&&(3&n[mi])===i&&(n[mi]+=16384,oh(ie,C)):oh(ie,C)}const Ha=-1;class dl{constructor(i,o,l){this.factory=i,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=l}}function bu(n){return n!==Ha}function hl(n){return 32767&n}function pl(n,i){let o=function vf(n){return n>>16}(n),l=i;for(;o>0;)l=l[F],o--;return l}let pc=!0;function gc(n){const i=pc;return pc=n,i}const ah=255,lh=5;let Cf=0;const Ys={};function fc(n,i){const o=Su(n,i);if(-1!==o)return o;const l=i[Jn];l.firstCreatePass&&(n.injectorIndex=i.length,Mu(l.data,n),Mu(i,null),Mu(l.blueprint,null));const u=gl(n,i),C=n.injectorIndex;if(bu(u)){const I=hl(u),ie=pl(u,i),ge=ie[Jn].data;for(let Ge=0;Ge<8;Ge++)i[C+Ge]=ie[I+Ge]|ge[I+Ge]}return i[C+8]=u,C}function Mu(n,i){n.push(0,0,0,0,0,0,0,0,i)}function Su(n,i){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===i[n.injectorIndex+8]?-1:n.injectorIndex}function gl(n,i){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let o=0,l=null,u=i;for(;null!==u;){if(l=fh(u),null===l)return Ha;if(o++,u=u[F],-1!==l.injectorIndex)return l.injectorIndex|o<<16}return Ha}function Au(n,i,o){!function Eu(n,i,o){let l;"string"==typeof o?l=o.charCodeAt(0)||0:o.hasOwnProperty(vr)&&(l=o[vr]),null==l&&(l=o[vr]=Cf++);const u=l&ah;i.data[n+(u>>lh)]|=1<<u}(n,i,o)}function wu(n,i,o){if(o&Bi.Optional||void 0!==n)return n;Ur()}function uh(n,i,o,l){if(o&Bi.Optional&&void 0===l&&(l=null),!(o&(Bi.Self|Bi.Host))){const u=n[jr],C=gr(void 0);try{return u?u.get(i,l,o&Bi.Optional):ho(i,l,o&Bi.Optional)}finally{gr(C)}}return wu(l,0,o)}function Pu(n,i,o,l=Bi.Default,u){if(null!==n){if(2048&i[mi]&&!(l&Bi.Self)){const I=function xf(n,i,o,l,u){let C=n,I=i;for(;null!==C&&null!==I&&2048&I[mi]&&!(512&I[mi]);){const ie=Iu(C,I,o,l|Bi.Self,Ys);if(ie!==Ys)return ie;let ge=C.parent;if(!ge){const Ge=I[Ct];if(Ge){const gt=Ge.get(o,Ys,l);if(gt!==Ys)return gt}ge=fh(I),I=I[F]}C=ge}return u}(n,i,o,l,Ys);if(I!==Ys)return I}const C=Iu(n,i,o,l,Ys);if(C!==Ys)return C}return uh(i,o,l,u)}function Iu(n,i,o,l,u){const C=function Of(n){if("string"==typeof n)return n.charCodeAt(0)||0;const i=n.hasOwnProperty(vr)?n[vr]:void 0;return"number"==typeof i?i>=0?i&ah:ph:i}(o);if("function"==typeof C){if(!Yd(i,n,l))return l&Bi.Host?wu(u,0,l):uh(i,o,l,u);try{let I;if(I=C(l),null!=I||l&Bi.Optional)return I;Ur()}finally{th()}}else if("number"==typeof C){let I=null,ie=Su(n,i),ge=Ha,Ge=l&Bi.Host?i[Q][Ar]:null;for((-1===ie||l&Bi.SkipSelf)&&(ge=-1===ie?gl(n,i):i[ie+8],ge!==Ha&&hh(l,!1)?(I=i[Jn],ie=hl(ge),i=pl(ge,i)):ie=-1);-1!==ie;){const gt=i[Jn];if(dh(C,ie,gt.data)){const Rt=yf(ie,i,o,I,l,Ge);if(Rt!==Ys)return Rt}ge=i[ie+8],ge!==Ha&&hh(l,i[Jn].data[ie+8]===Ge)&&dh(C,ie,i)?(I=gt,ie=hl(ge),i=pl(ge,i)):ie=-1}}return u}function yf(n,i,o,l,u,C){const I=i[Jn],ie=I.data[n+8],gt=_c(ie,I,o,null==l?Si(ie)&&pc:l!=I&&!!(3&ie.type),u&Bi.Host&&C===ie);return null!==gt?ya(i,I,gt,ie):Ys}function _c(n,i,o,l,u){const C=n.providerIndexes,I=i.data,ie=1048575&C,ge=n.directiveStart,gt=C>>20,on=u?ie+gt:n.directiveEnd;for(let cn=l?ie:ie+gt;cn<on;cn++){const On=I[cn];if(cn<ge&&o===On||cn>=ge&&On.type===o)return cn}if(u){const cn=I[ge];if(cn&&_n(cn)&&cn.type===o)return ge}return null}function ya(n,i,o,l){let u=n[o];const C=i.data;if(function ff(n){return n instanceof dl}(u)){const I=u;I.resolving&&function Ao(n,i){throw i&&i.join(" > "),new It(-200,n)}(Li(C[o]));const ie=gc(I.canSeeViewProviders);I.resolving=!0;const Ge=I.injectImpl?gr(I.injectImpl):null;Yd(n,l,Bi.Default);try{u=n[o]=I.factory(void 0,C,n,l),i.firstCreatePass&&o>=l.directiveStart&&function pf(n,i,o){const{ngOnChanges:l,ngOnInit:u,ngDoCheck:C}=i.type.prototype;if(l){const I=So(i);(o.preOrderHooks??=[]).push(n,I),(o.preOrderCheckHooks??=[]).push(n,I)}u&&(o.preOrderHooks??=[]).push(0-n,u),C&&((o.preOrderHooks??=[]).push(n,C),(o.preOrderCheckHooks??=[]).push(n,C))}(o,C[o],i)}finally{null!==Ge&&gr(Ge),gc(ie),I.resolving=!1,th()}}return u}function dh(n,i,o){return!!(o[i+(n>>lh)]&1<<n)}function hh(n,i){return!(n&Bi.Self||n&Bi.Host&&i)}class Vo{constructor(i,o){this._tNode=i,this._lView=o}get(i,o,l){return Pu(this._tNode,this._lView,i,an(l),o)}}function ph(){return new Vo(hi(),Et())}function gh(n){return Ae(()=>{const i=n.prototype.constructor,o=i[Qi]||mc(i),l=Object.prototype;let u=Object.getPrototypeOf(n.prototype).constructor;for(;u&&u!==l;){const C=u[Qi]||mc(u);if(C&&C!==o)return C;u=Object.getPrototypeOf(u)}return C=>new C})}function mc(n){return zt(n)?()=>{const i=mc(Ut(n));return i&&i()}:Di(n)}function fh(n){const i=n[Jn],o=i.type;return 2===o?i.declTNode:1===o?n[Ar]:null}
1function vc(n){return function ch(n,i){if("class"===i)return n.classes;if("style"===i)return n.styles;const o=n.attrs;if(o){const l=o.length;let u=0;for(;u<l;){const C=o[u];if(Xe(C))break;if(0===C)u+=2;else if("number"==typeof C)for(u++;u<l&&"string"==typeof o[u];)u++;else{if(C===i)return o[u+1];u+=2}}}return null}(hi(),n)}function Dh(n,i=null,o=null,l){const u=bh(n,i,o,l);return u.resolveInjectorInitializers(),u}function bh(n,i=null,o=null,l,u=new Set){const C=[o||Ji,Ns(n)];return l=l||("object"==typeof n?void 0:Te(n)),new es(C,i||ys(),l||null,u)}let bs=(()=>{class n{static#e=this.THROW_IF_NOT_FOUND=Cr;static#t=this.NULL=new cs;static create(o,l){if(Array.isArray(o))return Dh({name:""},l,o,"");{const u=o.name??"";return Dh({name:u},o.parent,o.providers,u)}}static#n=this.\u0275prov=be({token:n,providedIn:"any",factory:()=>bt(go)});static#i=this.__NG_ELEMENT_ID__=-1}return n})();function Ru(n){return n.ngOriginalError}class sa{constructor(){this._console=console}handleError(i){const o=this._findOriginalError(i);this._console.error("ERROR",i),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(i){let o=i&&Ru(i);for(;o&&Ru(o);)o=Ru(o);return o||null}}const Mh=new Tn("",{providedIn:"root",factory:()=>Yt(sa).handleError.bind(void 0)});let wa=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=Af;static#t=this.__NG_ENV_ID__=o=>o}return n})();class Sf extends wa{constructor(i){super(),this._lView=i}onDestroy(i){return sl(this._lView,i),()=>function al(n,i){if(null===n[Mt])return;const o=n[Mt].indexOf(i);-1!==o&&n[Mt].splice(o,1)}(this._lView,i)}}function Af(){return new Sf(Et())}function If(){return ja(hi(),Et())}function ja(n,i){return new fl(ns(n,i))}let fl=(()=>{class n{constructor(o){this.nativeElement=o}static#e=this.__NG_ELEMENT_ID__=If}return n})();function Ah(n){return n instanceof fl?n.nativeElement:n}function ku(n){return i=>{setTimeout(n,void 0,i)}}const Qs=class Tf extends Je.B{constructor(i=!1){super(),this.destroyRef=void 0,this.__isAsync=i,Ts()&&(this.destroyRef=Yt(wa,{optional:!0})??void 0)}emit(i){const o=v(null);try{super.next(i)}finally{v(o)}}subscribe(i,o,l){let u=i,C=o||(()=>null),I=l;if(i&&"object"==typeof i){const ge=i;u=ge.next?.bind(ge),C=ge.error?.bind(ge),I=ge.complete?.bind(ge)}this.__isAsync&&(C=ku(C),u&&(u=ku(u)),I&&(I=ku(I)));const ie=super.subscribe({next:u,error:C,complete:I});return i instanceof Ce.yU&&i.add(ie),ie}};function Rf(){return this._results[Symbol.iterator]()}class Lu{static#e=Symbol.iterator;get changes(){return this._changes??=new Qs}constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const o=Lu.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=Rf)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,o){return this._results.reduce(i,o)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,o){this.dirty=!1;const l=sr(i);(this._changesDetected=!function Yr(n,i,o){if(n.length!==i.length)return!1;for(let l=0;l<n.length;l++){let u=n[l],C=i[l];if(o&&(u=o(u),C=o(C)),C!==u)return!1}return!0}(this._results,l,o))&&(this._results=l,this.length=l.length,this.last=l[this.length-1],this.first=l[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(i){this._onDirty=i}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function r(n){return!(128&~n.flags)}const e=new Map;let te=0;const Th="__ngContext__";function ps(n,i){Cn(i)?(n[Th]=i[_t],function An(n){e.set(n[_t],n)}(i)):n[Th]=i}function Hf(n){return Wf(n[Rs])}function $f(n){return Wf(n[Wr])}function Wf(n){for(;null!==n&&!Un(n);)n=n[Wr];return n}let Rh;function wy(n){Rh=n}function Pa(){if(void 0!==Rh)return Rh;if(typeof document<"u")return document;throw new It(210,!1)}const Yf=new Tn("",{providedIn:"root",factory:()=>Py}),Py="ng",Qf=new Tn(""),kh=new Tn("",{providedIn:"platform",factory:()=>"unknown"}),Iy=new Tn("",{providedIn:"root",factory:()=>Pa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function ky(n){return n}function Ly(){const n=new Oc;
1return"browser"===Yt(kh)&&(n.store=function By(n,i){const o=n.getElementById(i+"-state");if(o?.textContent)try{return JSON.parse(o.textContent)}catch(l){console.warn("Exception while restoring TransferState for app "+i,l)}return{}}(Pa(),Yt(Yf))),n}let Oc=(()=>{class n{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=be({token:n,providedIn:"root",factory:Ly});get(o,l){return void 0!==this.store[o]?this.store[o]:l}set(o,l){this.store[o]=l}remove(o){delete this.store[o]}hasKey(o){return this.store.hasOwnProperty(o)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(o,l){this.onSerializeCallbacks[o]=l}toJson(){for(const o in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(o))try{this.store[o]=this.onSerializeCallbacks[o]()}catch(l){console.warn("Exception in onSerialize callback: ",l)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return n})(),qf=()=>null;function $h(n,i,o=!1){return qf(n,i,o)}const r_=new Tn("",{providedIn:"root",factory:()=>!1});let $u,Wu;function Kh(){if(void 0===$u&&($u=null,Ve.trustedTypes))try{$u=Ve.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return $u}function Cl(n){return Kh()?.createHTML(n)||n}function l_(n){return function Gh(){if(void 0===Wu&&(Wu=null,Ve.trustedTypes))try{Wu=Ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Wu}()?.createScriptURL(n)||n}class za{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ot})`}}class Gy extends za{getTypeName(){return"HTML"}}class Jy extends za{getTypeName(){return"Style"}}class Xy extends za{getTypeName(){return"Script"}}class Zy extends za{getTypeName(){return"URL"}}class Yy extends za{getTypeName(){return"ResourceURL"}}function Oa(n){return n instanceof za?n.changingThisBreaksApplicationSecurity:n}function yl(n,i){const o=function Qy(n){return n instanceof za&&n.getTypeName()||null}(n);if(null!=o&&o!==i){if("ResourceURL"===o&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${o} (see ${Ot})`)}return o===i}function qy(n){return new Gy(n)}function eO(n){return new Jy(n)}function tO(n){return new Xy(n)}function nO(n){return new Zy(n)}function iO(n){return new Yy(n)}class rO{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{const o=(new window.DOMParser).parseFromString(Cl(i),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(i):(o.removeChild(o.firstChild),o)}catch{return null}}}class oO{constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const o=this.inertDocument.createElement("template");return o.innerHTML=Cl(i),o}}const aO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ju(n){return(n=String(n)).match(aO)?n:"unsafe:"+n}function xa(n){const i={};for(const o of n.split(","))i[o]=!0;return i}function Mc(...n){const i={};for(const o of n)for(const l in o)o.hasOwnProperty(l)&&(i[l]=!0);return i}const u_=xa("area,br,col,hr,img,wbr"),d_=xa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),h_=xa("rp,rt"),Jh=Mc(u_,Mc(d_,xa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Mc(h_,xa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Mc(h_,d_)),Xh=xa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),p_=Mc(Xh,xa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),lO=xa("script,style,template");class cO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(i){let o=i.firstChild,l=!0,u=[];for(;o;)if(o.nodeType===Node.ELEMENT_NODE?l=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,l&&o.firstChild)u.push(o),o=hO(o);else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let C=dO(o);if(C){o=C;break}o=u.pop()}return this.buf.join("")}startElement(i){const o=g_(i).toLowerCase();if(!Jh.hasOwnProperty(o))return this.sanitizedSomething=!0,!lO.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const l=i.attributes;for(let u=0;u<l.length;u++){const C=l.item(u),I=C.name,ie=I.toLowerCase();if(!p_.hasOwnProperty(ie)){this.sanitizedSomething=!0;continue}let ge=C.value;Xh[ie]&&(ge=ju(ge)),this.buf.push(" ",I,'="',__(ge),'"')}return this.buf.push(">"),!0}endElement(i){const o=g_(i).toLowerCase();Jh.hasOwnProperty(o)&&!u_.hasOwnProperty(o)&&(this.buf.push("</"),this.buf.push(o),this.buf.push(">"))}chars(i){this.buf.push(__(i))}}function dO(n){const i=n.nextSibling;if(i&&n!==i.previousSibling)throw f_(i);return i}function hO(n){const i=n.firstChild;
1if(i&&function uO(n,i){return(n.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,i))throw f_(i);return i}function g_(n){const i=n.nodeName;return"string"==typeof i?i:"FORM"}function f_(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const pO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gO=/([^\#-~ |!])/g;function __(n){return n.replace(/&/g,"&amp;").replace(pO,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(gO,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let zu;function m_(n,i){let o=null;try{zu=zu||function c_(n){const i=new oO(n);return function sO(){try{return!!(new window.DOMParser).parseFromString(Cl(""),"text/html")}catch{return!1}}()?new rO(i):i}(n);let l=i?String(i):"";o=zu.getInertBodyElement(l);let u=5,C=l;do{if(0===u)throw new Error("Failed to sanitize html because the input is unstable");u--,l=C,C=o.innerHTML,o=zu.getInertBodyElement(l)}while(l!==C);return Cl((new cO).sanitizeChildren(Zh(o)||o))}finally{if(o){const l=Zh(o)||o;for(;l.firstChild;)l.removeChild(l.firstChild)}}}function Zh(n){return"content"in n&&function fO(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Ka=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Ka||{});function Yh(n){const i=Sc();return i?i.sanitize(Ka.URL,n)||"":yl(n,"URL")?Oa(n):ju(bi(n))}function v_(n){const i=Sc();if(i)return l_(i.sanitize(Ka.RESOURCE_URL,n)||"");if(yl(n,"ResourceURL"))return l_(Oa(n));throw new It(904,!1)}function C_(n){return function Ky(n){return Kh()?.createScriptURL(n)||n}(n[0])}function y_(n,i,o){return function yO(n,i){return"src"===i&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===i&&("base"===n||"link"===n)?v_:Yh}(i,o)(n)}function Sc(){const n=Et();return n&&n[jo].sanitizer}const OO=/^>|^->|<!--|-->|--!>|<!-$/g,xO=/(<|>)/g,DO="\u200b$1\u200b";function Bs(n){return n instanceof Function?n():n}var Ju=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(Ju||{});let tp;function np(n,i){return tp(n,i)}function xl(n,i,o,l,u){if(null!=l){let C,I=!1;Un(l)?C=l:Cn(l)&&(I=!0,l=l[tr]);const ie=wr(l);0===n&&null!==o?null==u?T_(i,o,ie):Ga(i,o,ie,u||null,!0):1===n&&null!==o?Ga(i,o,ie,u||null,!0):2===n?function Pc(n,i,o){const l=Yu(n,i);l&&function $O(n,i,o,l){n.removeChild(i,o,l)}(n,l,i,o)}(i,ie,I):3===n&&i.destroyNode(ie),null!=C&&function zO(n,i,o,l,u){const C=o[In];C!==wr(o)&&xl(i,n,l,C,u);for(let ie=Bn;ie<o.length;ie++){const ge=o[ie];qu(ge[Jn],ge,n,i,l,C)}}(i,n,C,o,u)}}function rp(n,i){return n.createComment(function O_(n){return n.replace(OO,i=>i.replace(xO,DO))}(i))}function Xu(n,i,o){return n.createElement(i,o)}function w_(n,i){i[jo].changeDetectionScheduler?.notify(1),qu(n,i,i[Vi],2,null,null)}function P_(n,i){const o=n[Pn],l=o.indexOf(i);o.splice(l,1)}function Ac(n,i){if(n.length<=Bn)return;const o=Bn+i,l=n[o];if(l){const u=l[he];null!==u&&u!==n&&P_(u,l),i>0&&(n[o-1][Wr]=l[Wr]);const C=lo(n,Bn+i);!function LO(n,i){w_(n,i),i[tr]=null,i[Ar]=null}(l[Jn],l);const I=C[Ye];null!==I&&I.detachView(C[Jn]),l[Yi]=null,l[Wr]=null,l[mi]&=-129}return l}function Zu(n,i){if(!(256&i[mi])){const o=i[Vi];o.destroyNode&&qu(n,i,o,3,null,null),function FO(n){let i=n[Rs];if(!i)return op(n[Jn],n);for(;i;){let o=null;if(Cn(i))o=i[Rs];else{const l=i[Bn];l&&(o=l)}if(!o){for(;i&&!i[Wr]&&i!==n;)Cn(i)&&op(i[Jn],i),i=i[Yi];null===i&&(i=n),Cn(i)&&op(i[Jn],i),o=i&&i[Wr]}i=o}}(i)}}function op(n,i){if(256&i[mi])return;const o=v(null);try{i[mi]&=-129,i[mi]|=256,i[tn]&&function D(n){if(fe(n),j(n))for(let i=0;i<n.producerNode.length;i++)S(n.producerNode[i],n.producerIndexOfThis[i]);n.producerNode.length=n.producerLastReadVersion.length=n.producerIndexOfThis.length=0,n.liveConsumerNode&&(n.liveConsumerNode.length=n.liveConsumerIndexOfThis.length=0)}(i[tn]),function HO(n,i){let o;if(null!=n&&null!=(o=n.destroyHooks))for(let l=0;l<o.length;l+=2){const u=i[o[l]];if(!(u instanceof dl)){const C=o[l+1];if(Array.isArray(C))for(let I=0;I<C.length;I+=2){const ie=u[C[I]],ge=C[I+1];Ls(4,ie,ge);try{ge.call(ie)}finally{Ls(5,ie,ge)}}else{Ls(4,u,C);try{C.call(u)}finally{Ls(5,u,C)}}}}}(n,i),function UO(n,i){const o=n.cleanup,l=i[xs];if(null!==o)for(let C=0;C<o.length-1;C+=2)if("string"==typeof o[C]){const I=o[C+3];I>=0?l[I]():l[-I].unsubscribe(),C+=2}else o[C].call(l[o[C+1]]);null!==l&&(i[xs]=null);const u=i[Mt];if(null!==u){i[Mt]=null;for(let C=0;C<u.length;C++)(0,u[C])()}}(n,i),1===i[Jn].type&&i[Vi].destroy();const l=i[he];if(null!==l&&Un(i[Yi])){l!==i[Yi]&&P_(l,i);const u=i[Ye];null!==u&&u.detachView(n)}!function qs(n){e.delete(n[_t])}(i)}finally{v(o)}}function ap(n,i,o){return function I_(n,i,o){let l=i;for(;null!==l&&40&l.type;)l=(i=l).parent;if(null===l)return o[tr];
vendor: 4,840 bytes, line 1
1{const{componentOffset:u}=l;if(u>-1){const{encapsulation:C}=n.data[l.directiveStart+u];if(C===$r.None||C===$r.Emulated)return null}return ns(l,o)}}(n,i.parent,o)}function Ga(n,i,o,l,u){n.insertBefore(i,o,l,u)}function T_(n,i,o){n.appendChild(i,o)}function R_(n,i,o,l,u){null!==l?Ga(n,i,o,l,u):T_(n,i,o)}function Yu(n,i){return n.parentNode(i)}function k_(n,i,o){return B_(n,i,o)}let lp,B_=function L_(n,i,o){return 40&n.type?ns(n,o):null};function Qu(n,i,o,l){const u=ap(n,l,i),C=i[Vi],ie=k_(l.parent||i[Ar],l,i);if(null!=u)if(Array.isArray(o))for(let ge=0;ge<o.length;ge++)R_(C,u,o[ge],ie,!1);else R_(C,u,o,ie,!1);void 0!==lp&&lp(C,l,i,o,u)}function wc(n,i){if(null!==i){const o=i.type;if(3&o)return ns(i,n);if(4&o)return cp(-1,n[i.index]);if(8&o){const l=i.child;if(null!==l)return wc(n,l);{const u=n[i.index];return Un(u)?cp(-1,u):wr(u)}}if(32&o)return np(i,n)()||wr(n[i.index]);{const l=N_(n,i);return null!==l?Array.isArray(l)?l[0]:wc(ia(n[Q]),l):wc(n,i.next)}}return null}function N_(n,i){return null!==i?n[Q][Ar].projection[i.projection]:null}function cp(n,i){const o=Bn+n+1;if(o<i.length){const l=i[o],u=l[Jn].firstChild;if(null!==u)return wc(l,u)}return i[In]}function up(n,i,o,l,u,C,I){for(;null!=o;){const ie=l[o.index],ge=o.type;if(I&&0===i&&(ie&&ps(wr(ie),l),o.flags|=2),32&~o.flags)if(8&ge)up(n,i,o.child,l,u,C,!1),xl(i,n,u,ie,C);else if(32&ge){const Ge=np(o,l);let gt;for(;gt=Ge();)xl(i,n,u,gt,C);xl(i,n,u,ie,C)}else 16&ge?U_(n,i,l,o,u,C):xl(i,n,u,ie,C);o=I?o.projectionNext:o.next}}function qu(n,i,o,l,u,C){up(o,l,n.firstChild,i,u,C,!1)}function U_(n,i,o,l,u,C){const I=o[Q],ge=I[Ar].projection[l.projection];if(Array.isArray(ge))for(let Ge=0;Ge<ge.length;Ge++)xl(i,n,u,ge[Ge],C);else{let Ge=ge;const gt=I[Yi];r(l)&&(Ge.flags|=128),up(n,i,Ge,gt,u,C,!0)}}function H_(n,i,o){""===o?n.removeAttribute(i,"class"):n.setAttribute(i,"class",o)}function $_(n,i,o){const{mergedAttrs:l,classes:u,styles:C}=o;null!==l&&fr(n,i,l),null!==u&&H_(n,i,u),null!==C&&function GO(n,i,o){n.setAttribute(i,"style",o)}(n,i,C)}const rr={};function W_(n=1){j_(vn(),Et(),as()+n,!1)}function j_(n,i,o,l){if(!l)if(3&~i[mi]){const C=n.preOrderHooks;null!==C&&hc(i,C,0,o)}else{const C=n.preOrderCheckHooks;null!==C&&dc(i,C,o)}Ca(o)}function Dl(n,i=Bi.Default){const o=Et();return null===o?bt(n,i):Pu(hi(),o,Ut(n),i)}function z_(){throw new Error("invalid")}function K_(n,i,o,l,u,C){const I=v(null);try{let ie=null;u&kr.SignalBased&&(ie=i[l][b]),null!==ie&&void 0!==ie.transformFn&&(C=ie.transformFn(C)),u&kr.HasDecoratorInputTransform&&(C=n.inputTransforms[l].call(i,C)),null!==n.setInput?n.setInput(i,ie,C,o,l):xo(i,ie,l,C)}finally{v(I)}}function ed(n,i,o,l,u,C,I,ie,ge,Ge,gt){const Rt=i.blueprint.slice();return Rt[tr]=u,Rt[mi]=204|l,(null!==Ge||n&&2048&n[mi])&&(Rt[mi]|=2048),ic(Rt),Rt[Yi]=Rt[F]=n,Rt[Mr]=o,Rt[jo]=I||n&&n[jo],Rt[Vi]=ie||n&&n[Vi],Rt[jr]=ge||n&&n[jr]||null,Rt[Ar]=C,Rt[_t]=function Xn(){return te++}(),Rt[_o]=gt,Rt[Ct]=Ge,Rt[Q]=2==i.type?n[Q]:Rt,Rt}function bl(n,i,o,l,u){let C=n.data[i];if(null===C)C=function dp(n,i,o,l,u){const C=zr(),I=Xs(),ge=n.data[i]=function t2(n,i,o,l,u,C){let I=i?i.injectorIndex:-1,ie=0;return va()&&(ie|=128),{type:o,index:l,insertBeforeIndex:null,injectorIndex:I,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:ie,providerIndexes:0,value:u,attrs:C,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,I?C:C&&C.parent,o,i,l,u);return null===n.firstChild&&(n.firstChild=ge),null!==C&&(I?null==C.child&&null!==ge.parent&&(C.child=ge):null===C.next&&(C.next=ge,ge.prev=C)),ge}(n,i,o,l,u),function sf(){return $i.lFrame.inI18n}()&&(C.flags|=32);else if(64&C.type){C.type=o,C.value=l,C.attrs=u;const I=function co(){const n=$i.lFrame,i=n.currentTNode;return n.isParent?i:i.parent}();C.injectorIndex=null===I?-1:I.injectorIndex}return to(C,!0),C}function Ic(n,i,o,l){if(0===o)return-1;const u=i.length;for(let C=0;C<o;C++)i.push(l),n.blueprint.push(l),n.data.push(null);return u}function G_(n,i,o,l,u){const C=as(),I=2&l;try{Ca(-1),I&&i.length>qt&&j_(n,i,qt,!1),Ls(I?2:0,u),o(l,u)}finally{Ca(C),Ls(I?3:1,u)}}function hp(n,i,o){if(Oi(i)){const l=v(null);try{const C=i.directiveEnd;for(let I=i.directiveStart;I<C;I++){const ie=n.data[I];ie.contentQueries&&ie.contentQueries(1,o[I],I)}}finally{v(l)}}}function pp(n,i,o){ll()&&(function c2(n,i,o,l){const u=o.directiveStart,C=o.directiveEnd;Si(o)&&function _2(n,i,o){const l=ns(i,n),u=J_(o);let I=16;o.signals?I=4096:o.onPush&&(I=64);const ie=td(n,ed(n,u,null,I,l,i,null,n[jo].rendererFactory.createRenderer(l,o),null,null,null));n[i.index]=ie}
1(i,o,n.data[u+o.componentOffset]),n.firstCreatePass||fc(o,i),ps(l,i);const I=o.initialInputs;for(let ie=u;ie<C;ie++){const ge=n.data[ie],Ge=ya(i,n,ie,o);ps(Ge,i),null!==I&&m2(0,ie-u,Ge,ge,0,I),_n(ge)&&(ds(o.index,i)[Mr]=ya(i,n,ie,o))}}(n,i,o,ns(o,i)),!(64&~o.flags)&&q_(n,i,o))}function gp(n,i,o=ns){const l=i.localNames;if(null!==l){let u=i.index+1;for(let C=0;C<l.length;C+=2){const I=l[C+1],ie=-1===I?o(i,n):n[I];n[u++]=ie}}}function J_(n){const i=n.tView;return null===i||i.incompleteFirstPass?n.tView=fp(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):i}function fp(n,i,o,l,u,C,I,ie,ge,Ge,gt){const Rt=qt+l,on=Rt+u,cn=function XO(n,i){const o=[];for(let l=0;l<i;l++)o.push(l<n?null:rr);return o}(Rt,on),On="function"==typeof Ge?Ge():Ge;return cn[Jn]={type:n,blueprint:cn,template:o,queries:null,viewQuery:ie,declTNode:i,data:cn.slice().fill(null,Rt),bindingStartIndex:Rt,expandoStartIndex:on,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof C?C():C,pipeRegistry:"function"==typeof I?I():I,firstChild:null,schemas:ge,consts:On,incompleteFirstPass:!1,ssrId:gt}}let X_=()=>null;function Z_(n,i,o,l,u){for(let C in i){if(!i.hasOwnProperty(C))continue;const I=i[C];if(void 0===I)continue;l??={};let ie,ge=kr.None;Array.isArray(I)?(ie=I[0],ge=I[1]):ie=I;let Ge=C;if(null!==u){if(!u.hasOwnProperty(C))continue;Ge=u[C]}0===n?Y_(l,o,Ge,ie,ge):Y_(l,o,Ge,ie)}return l}function Y_(n,i,o,l,u){let C;n.hasOwnProperty(o)?(C=n[o]).push(i,l):C=n[o]=[i,l],void 0!==u&&C.push(u)}function Ms(n,i,o,l,u,C,I,ie){const ge=ns(i,o);let gt,Ge=i.inputs;!ie&&null!=Ge&&(gt=Ge[l])?(yp(n,o,gt,l,u),Si(i)&&function o2(n,i){const o=ds(i,n);16&o[mi]||(o[mi]|=64)}(o,i.index)):3&i.type&&(l=function r2(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(l),u=null!=I?I(u,i.value||"",l):u,C.setProperty(ge,l,u))}function _p(n,i,o,l){if(ll()){const u=null===l?null:{"":-1},C=function d2(n,i){const o=n.directiveRegistry;let l=null,u=null;if(o)for(let C=0;C<o.length;C++){const I=o[C];if(pr(i,I.selectors,!1))if(l||(l=[]),_n(I))if(null!==I.findHostDirectiveDefs){const ie=[];u=u||new Map,I.findHostDirectiveDefs(I,ie,u),l.unshift(...ie,I),mp(n,i,ie.length)}else l.unshift(I),mp(n,i,0);else u=u||new Map,I.findHostDirectiveDefs?.(I,l,u),l.push(I)}return null===l?null:[l,u]}(n,o);let I,ie;null===C?I=ie=null:[I,ie]=C,null!==I&&Q_(n,i,o,I,u,ie),u&&function h2(n,i,o){if(i){const l=n.localNames=[];for(let u=0;u<i.length;u+=2){const C=o[i[u+1]];if(null==C)throw new It(-301,!1);l.push(i[u],C)}}}(o,l,u)}o.mergedAttrs=$e(o.mergedAttrs,o.attrs)}function Q_(n,i,o,l,u,C){for(let Ge=0;Ge<l.length;Ge++)Au(fc(o,i),n,l[Ge].type);!function g2(n,i,o){n.flags|=1,n.directiveStart=i,n.directiveEnd=i+o,n.providerIndexes=i}(o,n.data.length,l.length);for(let Ge=0;Ge<l.length;Ge++){const gt=l[Ge];gt.providersResolver&&gt.providersResolver(gt)}let I=!1,ie=!1,ge=Ic(n,i,l.length,null);for(let Ge=0;Ge<l.length;Ge++){const gt=l[Ge];o.mergedAttrs=$e(o.mergedAttrs,gt.hostAttrs),f2(n,o,i,ge,gt),p2(ge,gt,u),null!==gt.contentQueries&&(o.flags|=4),(null!==gt.hostBindings||null!==gt.hostAttrs||0!==gt.hostVars)&&(o.flags|=64);const Rt=gt.type.prototype;!I&&(Rt.ngOnChanges||Rt.ngOnInit||Rt.ngDoCheck)&&((n.preOrderHooks??=[]).push(o.index),I=!0),!ie&&(Rt.ngOnChanges||Rt.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(o.index),ie=!0),ge++}!function n2(n,i,o){const u=i.directiveEnd,C=n.data,I=i.attrs,ie=[];let ge=null,Ge=null;for(let gt=i.directiveStart;gt<u;gt++){const Rt=C[gt],on=o?o.get(Rt):null,On=on?on.outputs:null;ge=Z_(0,Rt.inputs,gt,ge,on?on.inputs:null),Ge=Z_(1,Rt.outputs,gt,Ge,On);const Nn=null===ge||null===I||ki(i)?null:v2(ge,gt,I);ie.push(Nn)}null!==ge&&(ge.hasOwnProperty("class")&&(i.flags|=8),ge.hasOwnProperty("style")&&(i.flags|=16)),i.initialInputs=ie,i.inputs=ge,i.outputs=Ge}(n,o,C)}function q_(n,i,o){const l=o.directiveStart,u=o.directiveEnd,C=o.index,I=function lf(){return $i.lFrame.currentDirectiveIndex}();try{Ca(C);for(let ie=l;ie<u;ie++){const ge=n.data[ie],Ge=i[ie];_u(ie),(null!==ge.hostBindings||0!==ge.hostVars||null!==ge.hostAttrs)&&u2(ge,Ge)}}finally{Ca(-1),_u(I)}}function u2(n,i){null!==n.hostBindings&&n.hostBindings(1,i)}
1function mp(n,i,o){i.componentOffset=o,(n.components??=[]).push(i.index)}function p2(n,i,o){if(o){if(i.exportAs)for(let l=0;l<i.exportAs.length;l++)o[i.exportAs[l]]=n;_n(i)&&(o[""]=n)}}function f2(n,i,o,l,u){n.data[l]=u;const C=u.factory||(u.factory=Di(u.type)),I=new dl(C,_n(u),Dl);n.blueprint[l]=I,o[l]=I,function a2(n,i,o,l,u){const C=u.hostBindings;if(C){let I=n.hostBindingOpCodes;null===I&&(I=n.hostBindingOpCodes=[]);const ie=~i.index;(function l2(n){let i=n.length;for(;i>0;){const o=n[--i];if("number"==typeof o&&o<0)return o}return 0})(I)!=ie&&I.push(ie),I.push(o,l,C)}}(n,i,l,Ic(n,o,u.hostVars,rr),u)}function aa(n,i,o,l,u,C){const I=ns(n,i);!function vp(n,i,o,l,u,C,I){if(null==C)n.removeAttribute(i,u,o);else{const ie=null==I?bi(C):I(C,l||"",u);n.setAttribute(i,u,ie,o)}}(i[Vi],I,C,n.value,o,l,u)}function m2(n,i,o,l,u,C){const I=C[i];if(null!==I)for(let ie=0;ie<I.length;)K_(l,o,I[ie++],I[ie++],I[ie++],I[ie++])}function v2(n,i,o){let l=null,u=0;for(;u<o.length;){const C=o[u];if(0!==C)if(5!==C){if("number"==typeof C)break;if(n.hasOwnProperty(C)){null===l&&(l=[]);const I=n[C];for(let ie=0;ie<I.length;ie+=3)if(I[ie]===i){l.push(C,I[ie+1],I[ie+2],o[u+1]);break}}u+=2}else u+=2;else u+=4}return l}function em(n,i,o,l){return[n,!0,0,i,null,l,null,o,null,null]}function tm(n,i){const o=n.contentQueries;if(null!==o){const l=v(null);try{for(let u=0;u<o.length;u+=2){const I=o[u+1];if(-1!==I){const ie=n.data[I];cl(o[u]),ie.contentQueries(2,i[I],I)}}}finally{v(l)}}}function td(n,i){return n[Rs]?n[zo][Wr]=i:n[Rs]=i,n[zo]=i,i}function Cp(n,i,o){cl(0);const l=v(null);try{i(n,o)}finally{v(l)}}function nm(n){return n[xs]||(n[xs]=[])}function im(n){return n.cleanup||(n.cleanup=[])}function nd(n,i){const o=n[jr],l=o?o.get(sa,null):null;l&&l.handleError(i)}function yp(n,i,o,l,u){for(let C=0;C<o.length;){const I=o[C++],ie=o[C++],ge=o[C++];K_(n.data[I],i[I],l,ie,ge,u)}}function Da(n,i,o){const l=Ma(i,n);!function A_(n,i,o){n.setValue(i,o)}(n[Vi],l,o)}function C2(n,i){const o=ds(i,n),l=o[Jn];!function y2(n,i){for(let o=i.length;o<n.blueprint.length;o++)i.push(n.blueprint[o])}(l,o);const u=o[tr];null!==u&&null===o[_o]&&(o[_o]=$h(u,o[jr])),Op(l,o,o[Mr])}function Op(n,i,o){vu(i);try{const l=n.viewQuery;null!==l&&Cp(1,l,o);const u=n.template;null!==u&&G_(n,i,u,1,o),n.firstCreatePass&&(n.firstCreatePass=!1),i[Ye]?.finishViewCreation(n),n.staticContentQueries&&tm(n,i),n.staticViewQueries&&Cp(2,n.viewQuery,o);const C=n.components;null!==C&&function O2(n,i){for(let o=0;o<i.length;o++)C2(n,i[o])}(i,C)}catch(l){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),l}finally{i[mi]&=-5,Cu()}}function El(n,i){return!i||null===i.firstChild||r(n)}function Rc(n,i,o,l=!0){const u=i[Jn];if(function NO(n,i,o,l){const u=Bn+l,C=o.length;l>0&&(o[u-1][Wr]=i),l<C-Bn?(i[Wr]=o[u],io(o,Bn+l,i)):(o.push(i),i[Wr]=null),i[Yi]=o;const I=i[he];null!==I&&o!==I&&function VO(n,i){const o=n[Pn];i[Q]!==i[Yi][Yi][Q]&&(n[mi]|=kn.HasTransplantedViews),null===o?n[Pn]=[i]:o.push(i)}(I,i);const ie=i[Ye];null!==ie&&ie.insertView(n),sc(i),i[mi]|=128}(u,i,n,o),l){const I=cp(o,n),ie=i[Vi],ge=Yu(ie,n[In]);null!==ge&&function BO(n,i,o,l,u,C){l[tr]=u,l[Ar]=i,qu(n,l,o,1,u,C)}(u,n[Ar],ie,i,ge,I)}const C=i[_o];null!==C&&null!==C.firstChild&&(C.firstChild=null)}function kc(n,i,o,l,u=!1){for(;null!==o;){const C=i[o.index];null!==C&&l.push(wr(C)),Un(C)&&sm(C,l);const I=o.type;if(8&I)kc(n,i,o.child,l);else if(32&I){const ie=np(o,i);let ge;for(;ge=ie();)l.push(ge)}else if(16&I){const ie=N_(i,o);if(Array.isArray(ie))l.push(...ie);else{const ge=ia(i[Q]);kc(ge[Jn],ge,ie,l,!0)}}o=u?o.projectionNext:o.next}return l}function sm(n,i){for(let o=Bn;o<n.length;o++){const l=n[o],u=l[Jn].firstChild;null!==u&&kc(l[Jn],l,u,i)}n[In]!==n[tr]&&i.push(n[In])}let am=[];const E2={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{Aa(n.lView)},consumerOnSignalRead(){this.lView[tn]=this}},lm=100;function id(n,i=!0,o=0){const l=n[jo],u=l.rendererFactory;u.begin?.();try{!function M2(n,i){Dp(n,i);let o=0;for(;ol(n);){if(o===lm)throw new It(103,!1);o++,Dp(n,1)}}(n,o)}catch(I){throw i&&nd(n,I),I}
1finally{u.end?.(),l.inlineEffectRunner?.flush()}}function S2(n,i,o,l){const u=i[mi];if(!(256&~u))return;i[jo].inlineEffectRunner?.flush(),vu(i);let I=null,ie=null;(function A2(n){return 2!==n.type})(n)&&(ie=function x2(n){return n[tn]??function D2(n){const i=am.pop()??Object.create(E2);return i.lView=n,i}(n)}(i),I=function ee(n){return n&&(n.nextProducerIndex=0),v(n)}(ie));try{ic(i),function Zd(n){return $i.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==o&&G_(n,i,o,2,l);const ge=!(3&~u);if(ge){const Rt=n.preOrderCheckHooks;null!==Rt&&dc(i,Rt,null)}else{const Rt=n.preOrderHooks;null!==Rt&&hc(i,Rt,0,null),xu(i,0)}if(function w2(n){for(let i=Hf(n);null!==i;i=$f(i)){if(!(i[mi]&kn.HasTransplantedViews))continue;const o=i[Pn];for(let l=0;l<o.length;l++){rc(o[l])}}}(i),cm(i,0),null!==n.contentQueries&&tm(n,i),ge){const Rt=n.contentCheckHooks;null!==Rt&&dc(i,Rt)}else{const Rt=n.contentHooks;null!==Rt&&hc(i,Rt,1),xu(i,1)}!function JO(n,i){const o=n.hostBindingOpCodes;if(null!==o)try{for(let l=0;l<o.length;l++){const u=o[l];if(u<0)Ca(~u);else{const C=u,I=o[++l],ie=o[++l];af(I,C),ie(2,i[C])}}}finally{Ca(-1)}}(n,i);const Ge=n.components;null!==Ge&&dm(i,Ge,0);const gt=n.viewQuery;if(null!==gt&&Cp(2,gt,l),ge){const Rt=n.viewCheckHooks;null!==Rt&&dc(i,Rt)}else{const Rt=n.viewHooks;null!==Rt&&hc(i,Rt,2),xu(i,2)}if(!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),i[Kt]){for(const Rt of i[Kt])Rt();i[Kt]=null}i[mi]&=-73}catch(ge){throw Aa(i),ge}finally{null!==ie&&(function L(n,i){if(v(i),n&&void 0!==n.producerNode&&void 0!==n.producerIndexOfThis&&void 0!==n.producerLastReadVersion){if(j(n))for(let o=n.nextProducerIndex;o<n.producerNode.length;o++)S(n.producerNode[o],n.producerIndexOfThis[o]);for(;n.producerNode.length>n.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}(ie,I),function b2(n){n.lView[tn]!==n&&(n.lView=null,am.push(n))}(ie)),Cu()}}function cm(n,i){for(let o=Hf(n);null!==o;o=$f(o))for(let l=Bn;l<o.length;l++)um(o[l],i)}function P2(n,i,o){um(ds(i,n),o)}function um(n,i){rl(n)&&Dp(n,i)}function Dp(n,i){const l=n[Jn],u=n[mi],C=n[tn];let I=!!(0===i&&16&u);if(I||=!!(64&u&&0===i),I||=!!(1024&u),I||=!(!C?.dirty||!f(C)),C&&(C.dirty=!1),n[mi]&=-9217,I)S2(l,n,l.template,n[Mr]);else if(8192&u){cm(n,1);const ie=l.components;null!==ie&&dm(n,ie,1)}}function dm(n,i,o){for(let l=0;l<i.length;l++)P2(n,i[l],o)}function Lc(n){for(n[jo].changeDetectionScheduler?.notify();n;){n[mi]|=64;const i=ia(n);if(Sn(n)&&!i)return n;n=i}return null}class Bc{get rootNodes(){const i=this._lView,o=i[Jn];return kc(o,i,o.firstChild,[])}constructor(i,o,l=!0){this._lView=i,this._cdRefInjectingView=o,this.notifyErrorHandler=l,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Mr]}set context(i){this._lView[Mr]=i}get destroyed(){return!(256&~this._lView[mi])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const i=this._lView[Yi];if(Un(i)){const o=i[8],l=o?o.indexOf(this):-1;l>-1&&(Ac(i,l),lo(o,l))}this._attachedToViewContainer=!1}Zu(this._lView[Jn],this._lView)}onDestroy(i){sl(this._lView,i)}markForCheck(){Lc(this._cdRefInjectingView||this._lView)}detach(){this._lView[mi]&=-129}reattach(){sc(this._lView),this._lView[mi]|=128}detectChanges(){this._lView[mi]|=1024,id(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new It(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,w_(this._lView[Jn],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new It(902,!1);this._appRef=i,sc(this._lView)}}let Fc=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=R2}return n})();const I2=Fc,T2=class extends I2{constructor(i,o,l){super(),this._declarationLView=i,this._declarationTContainer=o,this.elementRef=l}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(i,o){return this.createEmbeddedViewImpl(i,o)}createEmbeddedViewImpl(i,o,l){const u=function Tc(n,i,o,l){const u=v(null);try{const C=i.tView,ge=ed(n,C,o,4096&n[mi]?4096:16,null,i,null,null,l?.injector??null,l?.embeddedViewInjector??null,l?.dehydratedView??null);ge[he]=n[i.index];const gt=n[Ye];return null!==gt&&(ge[Ye]=gt.createEmbeddedView(C)),Op(C,ge,o),ge}finally{v(u)}}(this._declarationLView,this._declarationTContainer,i,{embeddedViewInjector:o,dehydratedView:l});return new Bc(u)}};function R2(){return rd(hi(),Et())}function rd(n,i){return 4&n.type?new T2(i,n,ja(n,i)):null}class wp{}class ix{}class vm{}
vendor: 4,259 bytes, line 1
1class ox{resolveComponentFactory(i){throw function rx(n){const i=Error(`No component factory found for ${Te(n)}.`);return i.ngComponent=n,i}(i)}}let cd=(()=>{class n{static#e=this.NULL=new ox}return n})();class ym{}let sx=(()=>{class n{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function ax(){const n=Et(),o=ds(hi().index,n);return(Cn(o)?o:n)[Vi]}()}return n})(),lx=(()=>{class n{static#e=this.\u0275prov=be({token:n,providedIn:"root",factory:()=>null})}return n})();const Pp={},Om=new Set;function la(n){Om.has(n)||(Om.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function xm(...n){}class To{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:l=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qs(!1),this.onMicrotaskEmpty=new Qs(!1),this.onStable=new Qs(!1),this.onError=new Qs(!1),typeof Zone>"u")throw new It(908,!1);Zone.assertZonePatched();const u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!l&&o,u.shouldCoalesceRunChangeDetection=l,u.lastRequestAnimationFrameId=-1,u.nativeRequestAnimationFrame=function cx(){const n="function"==typeof Ve.requestAnimationFrame;let i=Ve[n?"requestAnimationFrame":"setTimeout"],o=Ve[n?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&i&&o){const l=i[Zone.__symbol__("OriginalDelegate")];l&&(i=l);const u=o[Zone.__symbol__("OriginalDelegate")];u&&(o=u)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:o}}().nativeRequestAnimationFrame,function hx(n){const i=()=>{!function dx(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(Ve,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Tp(n),n.isCheckStableRunning=!0,Ip(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Tp(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(o,l,u,C,I,ie)=>{if(function px(n){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0].data?.__ignore_ng_zone__}(ie))return o.invokeTask(u,C,I,ie);try{return Dm(n),o.invokeTask(u,C,I,ie)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===C.type||n.shouldCoalesceRunChangeDetection)&&i(),bm(n)}},onInvoke:(o,l,u,C,I,ie,ge)=>{try{return Dm(n),o.invoke(u,C,I,ie,ge)}finally{n.shouldCoalesceRunChangeDetection&&i(),bm(n)}},onHasTask:(o,l,u,C)=>{o.hasTask(u,C),l===u&&("microTask"==C.change?(n._hasPendingMicrotasks=C.microTask,Tp(n),Ip(n)):"macroTask"==C.change&&(n.hasPendingMacrotasks=C.macroTask))},onHandleError:(o,l,u,C)=>(o.handleError(u,C),n.runOutsideAngular(()=>n.onError.emit(C)),!1)})}(u)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!To.isInAngularZone())throw new It(909,!1)}static assertNotInAngularZone(){if(To.isInAngularZone())throw new It(909,!1)}run(i,o,l){return this._inner.run(i,o,l)}runTask(i,o,l,u){const C=this._inner,I=C.scheduleEventTask("NgZoneEvent: "+u,i,ux,xm,xm);try{return C.runTask(I,o,l)}finally{C.cancelTask(I)}}runGuarded(i,o,l){return this._inner.runGuarded(i,o,l)}runOutsideAngular(i){return this._outer.run(i)}}const ux={};function Ip(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Tp(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Dm(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function bm(n){n._nesting--,Ip(n)}class Em{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qs,this.onMicrotaskEmpty=new Qs,this.onStable=new Qs,this.onError=ne
1w Qs}run(i,o,l){return i.apply(o,l)}runGuarded(i,o,l){return i.apply(o,l)}runOutsideAngular(i){return i()}runTask(i,o,l,u){return i.apply(o,l)}}var Ja=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(Ja||{});const Mm={destroy(){}};function Sm(n,i){!i&&me();const o=i?.injector??Yt(bs);if(!function Ia(n){return"browser"===(n??Yt(bs)).get(kh)}(o))return Mm;la("NgAfterNextRender");const l=o.get($c),u=l.handler??=new wm,C=i?.phase??Ja.MixedReadWrite,I=()=>{u.unregister(ge),ie()},ie=o.get(wa).onDestroy(I),ge=Hs(o,()=>new Am(C,()=>{I(),n()}));return u.register(ge),{destroy:I}}class Am{constructor(i,o){this.phase=i,this.callbackFn=o,this.zone=Yt(To),this.errorHandler=Yt(sa,{optional:!0}),Yt(wp,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(i){this.errorHandler?.handleError(i)}}}class wm{constructor(){this.executingCallbacks=!1,this.buckets={[Ja.EarlyRead]:new Set,[Ja.Write]:new Set,[Ja.MixedReadWrite]:new Set,[Ja.Read]:new Set},this.deferredCallbacks=new Set}register(i){(this.executingCallbacks?this.deferredCallbacks:this.buckets[i.phase]).add(i)}unregister(i){this.buckets[i.phase].delete(i),this.deferredCallbacks.delete(i)}execute(){this.executingCallbacks=!0;for(const i of Object.values(this.buckets))for(const o of i)o.invoke();this.executingCallbacks=!1;for(const i of this.deferredCallbacks)this.buckets[i.phase].add(i);this.deferredCallbacks.clear()}destroy(){for(const i of Object.values(this.buckets))i.clear();this.deferredCallbacks.clear()}}let $c=(()=>{class n{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const o=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const l of o)l()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=be({token:n,providedIn:"root",factory:()=>new n})}return n})();function kp(n){return void 0!==n.ngModule}function Ta(n){return!!Vr(n)}function ud(n){return!!Br(n)}function Pm(n){return!!Zi(n)}function Wc(n){return!!Ki(n)}function mx(n,i){if(zt(n)&&!(n=Ut(n)))throw new Error(`Expected forwardRef function, imported from "${Li(i)}", to return a standalone entity or NgModule but got "${Li(n)||n}".`);if(null==Vr(n)){const o=Ki(n)||Zi(n)||Br(n);if(null==o)throw kp(n)?new Error(`A module with providers was imported from "${Li(i)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Li(n)}" type, imported from "${Li(i)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!o.standalone)throw new Error(`The "${Li(n)}" ${function _x(n){return Ki(n)?"component":Zi(n)?"directive":Br(n)?"pipe":"type"}(n)}, imported from "${Li(i)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class Im{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const i of this.ngModulesWithSomeUnresolvedDecls){const o=Vr(i);if(o?.declarations)for(const l of Bs(o.declarations))Wc(l)&&this.ownerNgModule.set(l,i)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(i,o){this.resolveNgModulesDecls();const l=Ki(i);if(null===l)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${i}`);if(l.standalone){const u=this.getStandaloneComponentScope(i,o);return u.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...u.compilation.directives,...u.compilation.pipes,...u.compilation.ngModules]}}{if(!this.ownerNgModule.has(i))return{dependencies:[]};const u=this.getNgModuleScope(this.ownerNgModule.get(i));return u.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...u.compilation.directives,...u.compilation.pipes]}}}registerNgModule(i,o){if(!Ta(i))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${i}`);this.ngModulesWithSomeUnresolvedDecls.add(i)}clearScopeCacheFor(i){this.ngModulesScopeCache.delete(i),this.standaloneComponentsScopeCache.delete(i)}getNgModuleScope(i){if(this.ngModulesScopeCache.has(i))return this.ngModulesScopeCache.get(i);const o=this.computeNgModuleScope(i);return this.ngModulesScopeCache.set(i,o),o}computeNgModuleScope(i){const o=Vr(i,!0),l={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const u of Bs(o.imports))if(Ta(u)){const C=this.getNgModuleScope(u);Ra(C.exported.directives,l.compilation.directives),Ra(C.exported.pipes,l.compilation.pipes)}else{if(!yo(u)){l.compilation.isPoisoned=!0;break}if(Pm(u)||Wc(u))l.compilation.directives.add(u);else{if(!ud(u))throw new It(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");l.compilation.pipes.add(u)}}if(!l.compilation.isPoisoned)for(const u of Bs(o.declarations)){if(Ta(u)||yo(u)){l.compilation.isPoisoned=!0;break}ud(u)?l.compilation.pipes.add(u):l.compilation.directives.add(u)}
1for(const u of Bs(o.exports))if(Ta(u)){const C=this.getNgModuleScope(u);Ra(C.exported.directives,l.exported.directives),Ra(C.exported.pipes,l.exported.pipes),Ra(C.exported.directives,l.compilation.directives),Ra(C.exported.pipes,l.compilation.pipes)}else ud(u)?l.exported.pipes.add(u):l.exported.directives.add(u);return l}getStandaloneComponentScope(i,o){if(this.standaloneComponentsScopeCache.has(i))return this.standaloneComponentsScopeCache.get(i);const l=this.computeStandaloneComponentScope(i,o);return this.standaloneComponentsScopeCache.set(i,l),l}computeStandaloneComponentScope(i,o){const l={compilation:{directives:new Set([i]),pipes:new Set,ngModules:new Set}};for(const u of sr(o??[])){const C=Ut(u);try{mx(C,i)}catch{return l.compilation.isPoisoned=!0,l}if(Ta(C)){l.compilation.ngModules.add(C);const I=this.getNgModuleScope(C);if(I.exported.isPoisoned)return l.compilation.isPoisoned=!0,l;Ra(I.exported.directives,l.compilation.directives),Ra(I.exported.pipes,l.compilation.pipes)}else if(ud(C))l.compilation.pipes.add(C);else{if(!Pm(C)&&!Wc(C))return l.compilation.isPoisoned=!0,l;l.compilation.directives.add(C)}}return l}
1isOrphanComponent(i){const o=Ki(i);return!(!o||o.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(i)))}}function Ra(n,i){for(const o of n)i.add(o)}const jc=new Im;function dd(n,i,o){let l=o?n.styles:null,u=o?n.classes:null,C=0;if(null!==i)for(let I=0;I<i.length;I++){const ie=i[I];"number"==typeof ie?C=ie:1==C?u=ft(u,ie):2==C&&(l=ft(l,ie+": "+i[++I]+";"))}o?n.styles=l:n.stylesWithoutHost=l,o?n.classes=u:n.classesWithoutHost=u}class Tm extends cd{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const o=Ki(i);return new zc(o,this.ngModule)}}function Rm(n){const i=[];for(const o in n){if(!n.hasOwnProperty(o))continue;const l=n[o];void 0!==l&&i.push({propName:Array.isArray(l)?l[0]:l,templateName:o})}return i}class Cx{constructor(i,o){this.injector=i,this.parentInjector=o}get(i,o,l){l=an(l);const u=this.injector.get(i,Pp,l);return u!==Pp||o===Pp?u:this.parentInjector.get(i,o,l)}}class zc extends vm{get inputs(){const i=this.componentDef,o=i.inputTransforms,l=Rm(i.inputs);if(null!==o)for(const u of l)o.hasOwnProperty(u.propName)&&(u.transform=o[u.propName]);return l}get outputs(){return Rm(this.componentDef.outputs)}constructor(i,o){super(),this.componentDef=i,this.ngModule=o,this.componentType=i.type,this.selector=function Gt(n){return n.map(xt).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!o}create(i,o,l,u){const C=v(null);try{let I=(u=u||this.ngModule)instanceof $o?u:u?.injector;I&&null!==this.componentDef.getStandaloneInjector&&(I=this.componentDef.getStandaloneInjector(I)||I);const ie=I?new Cx(i,I):i,ge=ie.get(ym,null);if(null===ge)throw new It(407,!1);const Ge=ie.get(lx,null),on={rendererFactory:ge,sanitizer:Ge,inlineEffectRunner:null,afterRenderEventManager:ie.get($c,null),changeDetectionScheduler:ie.get(wp,null)},cn=ge.createRenderer(null,this.componentDef),On=this.componentDef.selectors[0][0]||"div",Nn=l?function ZO(n,i,o,l){const C=l.get(r_,!1)||o===$r.ShadowDom,I=n.selectRootElement(i,C);return function YO(n){X_(n)}(I),I}(cn,l,this.componentDef.encapsulation,ie):Xu(cn,On,function vx(n){const i=n.toLowerCase();return"svg"===i?tl:"math"===i?"math":null}(On));let Yn=512;this.componentDef.signals?Yn|=4096:this.componentDef.onPush||(Yn|=16);let ui=null;null!==Nn&&(ui=$h(Nn,ie,!0));const $n=fp(0,null,null,1,0,null,null,null,null,null,null),Wi=ed(null,$n,null,Yn,null,null,on,cn,ie,null,ui);let Dr,Gr;vu(Wi);try{const Xo=this.componentDef;let As,Ql=null;Xo.findHostDirectiveDefs?(As=[],Ql=new Map,Xo.findHostDirectiveDefs(Xo,As,Ql),As.push(Xo)):As=[Xo];const ry=function Ox(n,i){const o=n[Jn],l=qt;return n[l]=i,bl(o,l,2,"#host",null)}(Wi,Nn),wS=function xx(n,i,o,l,u,C,I){const ie=u[Jn];!function Dx(n,i,o,l){for(const u of n)i.mergedAttrs=$e(i.mergedAttrs,u.hostAttrs);null!==i.mergedAttrs&&(dd(i,i.mergedAttrs,!0),null!==o&&$_(l,o,i))}(l,n,i,I);let ge=null;null!==i&&(ge=$h(i,u[jr]));const Ge=C.rendererFactory.createRenderer(i,o);let gt=16;o.signals?gt=4096:o.onPush&&(gt=64);const Rt=ed(u,J_(o),null,gt,u[n.index],n,C,Ge,null,null,ge);return ie.firstCreatePass&&mp(ie,n,l.length-1),td(u,Rt),u[n.index]=Rt}(ry,Nn,Xo,As,Wi,on,cn);Gr=Sa($n,qt),Nn&&function Ex(n,i,o,l){if(l)fr(n,o,["ng-version","17.3.1"]);else{const{attrs:u,classes:C}=function fn(n){const i=[],o=[];let l=1,u=2;for(;l<n.length;){let C=n[l];if("string"==typeof C)2===u?""!==C&&i.push(C,n[++l]):8===u&&o.push(C);else{if(!dr(u))break;u=C}l++}return{attrs:i,classes:o}}(i.selectors[0]);u&&fr(n,o,u),C&&C.length>0&&H_(n,o,C.join(" "))}}(cn,Xo,Nn,l),void 0!==o&&function Mx(n,i,o){const l=n.projection=[];for(let u=0;u<i.length;u++){const C=o[u];l.push(null!=C?Array.from(C):null)}}(Gr,this.ngContentSelectors,o),Dr=function bx(n,i,o,l,u,C){const I=hi(),ie=u[Jn],ge=ns(I,u);Q_(ie,u,I,o,null,l);for(let gt=0;gt<o.length;gt++)ps(ya(u,ie,I.directiveStart+gt,I),u);q_(ie,u,I),ge&&ps(ge,u);const Ge=ya(u,ie,I.directiveStart+I.componentOffset,I);if(n[Mr]=u[Mr]=Ge,null!==C)for(const gt of C)gt(Ge,i);return hp(ie,I,u),Ge}(wS,Xo,As,Ql,Wi,[Sx]),Op($n,Wi,null)}finally{Cu()}return new yx(this.componentType,Dr,ja(Gr,Wi),Wi,Gr)}finally{v(C)}}}class yx extends ix{constructor(i,o,l,u,C){super(),this.location=l,this._rootLView=u,this._tNode=C,this.previousInputValues=null,this.instance=o,this.hostView=this.changeDetectorRef=new Bc(u,void 0,!1),this.componentType=i}
vendor: 5,176 bytes, line 1
1setInput(i,o){const l=this._tNode.inputs;let u;if(null!==l&&(u=l[i])){if(this.previousInputValues??=new Map,this.previousInputValues.has(i)&&Object.is(this.previousInputValues.get(i),o))return;const C=this._rootLView;yp(C[Jn],C,u,i,o),this.previousInputValues.set(i,o),Lc(ds(this._tNode.index,C))}}get injector(){return new Vo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}}function Sx(){const n=hi();uc(Et()[Jn],n)}let hd=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=Ax}return n})();function Ax(){return Bm(hi(),Et())}const wx=hd,km=class extends wx{constructor(i,o,l){super(),this._lContainer=i,this._hostTNode=o,this._hostLView=l}get element(){return ja(this._hostTNode,this._hostLView)}get injector(){return new Vo(this._hostTNode,this._hostLView)}get parentInjector(){const i=gl(this._hostTNode,this._hostLView);if(bu(i)){const o=pl(i,this._hostLView),l=hl(i);return new Vo(o[Jn].data[l+8],o)}return new Vo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const o=Lm(this._lContainer);return null!==o&&o[i]||null}get length(){return this._lContainer.length-Bn}createEmbeddedView(i,o,l){let u,C;"number"==typeof l?u=l:null!=l&&(u=l.index,C=l.injector);const ie=i.createEmbeddedViewImpl(o||{},C,null);return this.insertImpl(ie,u,El(this._hostTNode,null)),ie}createComponent(i,o,l,u,C){const I=i&&!function ei(n){return"function"==typeof n}(i);let ie;if(I)ie=o;else{const On=o||{};ie=On.index,l=On.injector,u=On.projectableNodes,C=On.environmentInjector||On.ngModuleRef}const ge=I?i:new zc(Ki(i)),Ge=l||this.parentInjector;if(!C&&null==ge.ngModule){const Nn=(I?Ge:this.parentInjector).get($o,null);Nn&&(C=Nn)}Ki(ge.componentType??{});const cn=ge.create(Ge,u,null,C);return this.insertImpl(cn.hostView,ie,El(this._hostTNode,null)),cn}insert(i,o){return this.insertImpl(i,o,!0)}insertImpl(i,o,l){const u=i._lView;if(function pu(n){return Un(n[Yi])}(u)){const ie=this.indexOf(i);if(-1!==ie)this.detach(ie);else{const ge=u[Yi],Ge=new km(ge,ge[Ar],ge[Yi]);Ge.detach(Ge.indexOf(i))}}const C=this._adjustIndex(o),I=this._lContainer;return Rc(I,u,C,l),i.attachToViewContainerRef(),io(Bp(I),C,i),i}move(i,o){return this.insert(i,o)}indexOf(i){const o=Lm(this._lContainer);return null!==o?o.indexOf(i):-1}remove(i){const o=this._adjustIndex(i,-1),l=Ac(this._lContainer,o);l&&(lo(Bp(this._lContainer),o),Zu(l[Jn],l))}detach(i){const o=this._adjustIndex(i,-1),l=Ac(this._lContainer,o);return l&&null!=lo(Bp(this._lContainer),o)?new Bc(l):null}_adjustIndex(i,o=0){return i??this.length+o}};function Lm(n){return n[8]}function Bp(n){return n[8]||(n[8]=[])}function Bm(n,i){let o;const l=i[n.index];return Un(l)?o=l:(o=em(l,i,null,n),i[n.index]=o,td(i,o)),Fm(o,i,n,l),new km(o,n,i)}let Fm=function Vm(n,i,o,l){if(n[In])return;let u;u=8&o.type?wr(l):function Px(n,i){const o=n[Vi],l=o.createComment(""),u=ns(i,n);return Ga(o,Yu(o,u),l,function WO(n,i){return n.nextSibling(i)}(o,u),!1),l}(i,o),n[In]=u},Fp=()=>!1;class Np{constructor(i){this.queryList=i,this.matches=null}clone(){return new Np(this.queryList)}setDirty(){this.queryList.setDirty()}}class Vp{constructor(i=[]){this.queries=i}createEmbeddedView(i){const o=i.queries;if(null!==o){const l=null!==i.contentQueries?i.contentQueries[0]:o.length,u=[];for(let C=0;C<l;C++){const I=o.getByIndex(C);u.push(this.queries[I.indexInDeclarationView].clone())}return new Vp(u)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}finishViewCreation(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let o=0;o<this.queries.length;o++)null!==jp(i,o).matches&&this.queries[o].setDirty()}}class Um{constructor(i,o,l=null){this.flags=o,this.read=l,this.predicate="string"==typeof i?function Nx(n){return n.split(",").map(i=>i.trim())}(i):i}}class Up{constructor(i=[]){this.queries=i}elementStart(i,o){for(let l=0;l<this.queries.length;l++)this.queries[l].elementStart(i,o)}elementEnd(i){for(let o=0;o<this.queries.length;o++)this.queries[o].elementEnd(i)}embeddedTView(i){let o=null;for(let l=0;l<this.length;l++){const u=null!==o?o.length:0,C=this.getByIndex(l).embeddedTView(i,u);C&&(C.indexInDeclarationView=l,null!==o?o.push(C):o=[C])}return null!==o?new Up(o):null}template(i,o){for(let l=0;l<this.queries.length;l++)this.queries[l].template(i,o)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}}class Hp{constructor(i,o=-1){this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=o}elementStart(i,o){this.isApplyingToNode(o)&&this.matchTNode(i,o)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,o){this.elementStart(i,o)}embeddedTView(i,o){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,o),new Hp(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&1&~this.metadata.flags){const o=this._declarationNodeIndex;let l=i.parent;for(;null!==l&&8&l.type&&l.index!==o;)l=l.parent;return o===(null!==l?l.index:-1)}return this._appliesToNextNode}
1matchTNode(i,o){const l=this.metadata.predicate;if(Array.isArray(l))for(let u=0;u<l.length;u++){const C=l[u];this.matchTNodeWithReadOption(i,o,kx(o,C)),this.matchTNodeWithReadOption(i,o,_c(o,i,C,!1,!1))}else l===Fc?4&o.type&&this.matchTNodeWithReadOption(i,o,-1):this.matchTNodeWithReadOption(i,o,_c(o,i,l,!1,!1))}matchTNodeWithReadOption(i,o,l){if(null!==l){const u=this.metadata.read;if(null!==u)if(u===fl||u===hd||u===Fc&&4&o.type)this.addMatch(o.index,-2);else{const C=_c(o,i,u,!1,!1);null!==C&&this.addMatch(o.index,C)}else this.addMatch(o.index,l)}}addMatch(i,o){null===this.matches?this.matches=[i,o]:this.matches.push(i,o)}}function kx(n,i){const o=n.localNames;if(null!==o)for(let l=0;l<o.length;l+=2)if(o[l]===i)return o[l+1];return null}function Bx(n,i,o,l){return-1===o?function Lx(n,i){return 11&n.type?ja(n,i):4&n.type?rd(n,i):null}(i,n):-2===o?function Fx(n,i,o){return o===fl?ja(i,n):o===Fc?rd(i,n):o===hd?Bm(i,n):void 0}(n,i,l):ya(n,n[Jn],o,i)}function Hm(n,i,o,l){const u=i[Ye].queries[l];if(null===u.matches){const C=n.data,I=o.matches,ie=[];for(let ge=0;null!==I&&ge<I.length;ge+=2){const Ge=I[ge];ie.push(Ge<0?null:Bx(i,C[Ge],I[ge+1],o.metadata.read))}u.matches=ie}return u.matches}function $p(n,i,o,l){const u=n.queries.getByIndex(o),C=u.matches;if(null!==C){const I=Hm(n,i,u,o);for(let ie=0;ie<C.length;ie+=2){const ge=C[ie];if(ge>0)l.push(I[ie/2]);else{const Ge=C[ie+1],gt=i[-ge];for(let Rt=Bn;Rt<gt.length;Rt++){const on=gt[Rt];on[he]===on[Yi]&&$p(on[Jn],on,Ge,l)}if(null!==gt[Pn]){const Rt=gt[Pn];for(let on=0;on<Rt.length;on++){const cn=Rt[on];$p(cn[Jn],cn,Ge,l)}}}}}return l}function $m(n,i,o){const l=new Lu(!(4&~o));return function e2(n,i,o,l){const u=nm(i);u.push(o),n.firstCreatePass&&im(n).push(l,u.length-1)}(n,i,l,l.destroy),(i[Ye]??=new Vp).queries.push(new Np(l))-1}function zm(n,i,o){null===n.queries&&(n.queries=new Up),n.queries.track(new Hp(i,o))}function jp(n,i){return n.queries.getByIndex(i)}function Km(n,i){const o=n[Jn],l=jp(o,i);return l.crossesNgTemplate?$p(o,n,i,[]):Hm(o,n,l,i)}function Xm(n){return function Gm(n){return"function"==typeof n&&void 0!==n[b]}(n)&&"function"==typeof n.set}function Kp(n){let i=function sv(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),o=!0;const l=[n];for(;i;){let u;if(_n(n))u=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new It(903,!1);u=i.\u0275dir}if(u){if(o){l.push(u);const I=n;I.inputs=gd(n.inputs),I.inputTransforms=gd(n.inputTransforms),I.declaredInputs=gd(n.declaredInputs),I.outputs=gd(n.outputs);const ie=u.hostBindings;ie&&eD(n,ie);const ge=u.viewQuery,Ge=u.contentQueries;if(ge&&Qx(n,ge),Ge&&qx(n,Ge),Zx(n,u),pe(n.outputs,u.outputs),_n(u)&&u.data.animation){const gt=n.data;gt.animation=(gt.animation||[]).concat(u.data.animation)}}const C=u.features;if(C)for(let I=0;I<C.length;I++){const ie=C[I];ie&&ie.ngInherit&&ie(n),ie===Kp&&(o=!1)}}i=Object.getPrototypeOf(i)}!function Yx(n){let i=0,o=null;for(let l=n.length-1;l>=0;l--){const u=n[l];u.hostVars=i+=u.hostVars,u.hostAttrs=$e(u.hostAttrs,o=$e(o,u.hostAttrs))}}(l)}function Zx(n,i){for(const o in i.inputs){if(!i.inputs.hasOwnProperty(o)||n.inputs.hasOwnProperty(o))continue;const l=i.inputs[o];if(void 0!==l&&(n.inputs[o]=l,n.declaredInputs[o]=i.declaredInputs[o],null!==i.inputTransforms)){const u=Array.isArray(l)?l[0]:l;if(!i.inputTransforms.hasOwnProperty(u))continue;n.inputTransforms??={},n.inputTransforms[u]=i.inputTransforms[u]}}}function gd(n){return n===po?{}:n===Ji?[]:n}function Qx(n,i){const o=n.viewQuery;n.viewQuery=o?(l,u)=>{i(l,u),o(l,u)}:i}function qx(n,i){const o=n.contentQueries;n.contentQueries=o?(l,u,C)=>{i(l,u,C),o(l,u,C)}:i}function eD(n,i){const o=n.hostBindings;n.hostBindings=o?(l,u)=>{i(l,u),o(l,u)}:i}function uv(n){const i=n.inputConfig,o={};for(const l in i)if(i.hasOwnProperty(l)){const u=i[l];Array.isArray(u)&&u[3]&&(o[l]=u[3])}n.inputTransforms=o}class Xa{}class dv{}function sD(n,i){return new Gp(n,i??null,[])}class Gp extends Xa{constructor(i,o,l){super(),this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Tm(this);const u=Vr(i);this._bootstrapComponents=Bs(u.bootstrap),this._r3Injector=bh(i,o,[{provide:Xa,useValue:this},{provide:cd,useValue:this.componentFactoryResolver},...l],Te(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
vendor: 10,860 bytes, line 1
1s(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class Jp extends dv{constructor(i){super(),this.moduleType=i}create(i){return new Gp(this.moduleType,i,[])}}class hv extends Xa{constructor(i){super(),this.componentFactoryResolver=new Tm(this),this.instance=null;const o=new es([...i.providers,{provide:Xa,useValue:this},{provide:cd,useValue:this.componentFactoryResolver}],i.parent||ys(),i.debugName,new Set(["environment"]));this.injector=o,i.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function Xp(n,i,o=null){return new hv({providers:n,parent:i,debugName:o,runEnvironmentInitializers:!0}).injector}let Al=(()=>{class n{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new we.t(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function _d(n){return!!Zp(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function Zp(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function ca(n,i,o){return n[i]=o}function Ro(n,i,o){return!Object.is(n[i],o)&&(n[i]=o,!0)}function Za(n,i,o,l){const u=Ro(n,i,o);return Ro(n,i+1,l)||u}function md(n,i,o,l,u){const C=Za(n,i,o,l);return Ro(n,i+2,u)||C}function js(n,i,o,l,u,C){const I=Za(n,i,o,l);return Za(n,i+2,u,C)||I}function wl(n,i,o,l,u,C,I,ie){const ge=Et(),Ge=vn(),gt=n+qt,Rt=Ge.firstCreatePass?function pD(n,i,o,l,u,C,I,ie,ge){const Ge=i.consts,gt=bl(i,n,4,I||null,Ds(Ge,ie));_p(i,o,gt,Ds(Ge,ge)),uc(i,gt);const Rt=gt.tView=fp(2,gt,l,u,C,i.directiveRegistry,i.pipeRegistry,null,i.schemas,Ge,null);return null!==i.queries&&(i.queries.template(i,gt),Rt.queries=i.queries.embeddedTView(gt)),gt}(gt,Ge,ge,i,o,l,u,C,I):Ge.data[gt];to(Rt,!1);const on=pv(Ge,ge,Rt,n);ul()&&Qu(Ge,ge,on,Rt),ps(on,ge);const cn=em(on,ge,on,Rt);return ge[gt]=cn,td(ge,cn),function Nm(n,i,o){return Fp(n,i,o)}(cn,Rt,ge),mn(Rt)&&pp(Ge,ge,Rt),null!=I&&gp(ge,Rt,ie),wl}let pv=function gv(n,i,o,l){return Zs(!0),i[Vi].createComment("")};function sg(n,i,o,l){const u=Et();return Ro(u,$s(),i)&&(vn(),aa(Kr(),u,n,i,o,l)),sg}function Fl(n,i,o,l){return Ro(n,$s(),o)?i+bi(o)+l:rr}function Dd(n,i){return n<<17|i<<2}function La(n){return n>>17&32767}function ag(n){return 2|n}function Qa(n){return(131068&n)>>2}function lg(n,i){return-131069&n|i<<2}function cg(n){return 1|n}function zv(n,i,o,l){const u=n[o+1],C=null===i;let I=l?La(u):Qa(u),ie=!1;for(;0!==I&&(!1===ie||C);){const Ge=n[I+1];YD(n[I],i)&&(ie=!0,n[I+1]=l?cg(Ge):ag(Ge)),I=l?La(Ge):Qa(Ge)}ie&&(n[o+1]=l?ag(u):cg(u))}function YD(n,i){return null===n||null==i||(Array.isArray(n)?n[1]:n)===i||!(!Array.isArray(n)||"string"!=typeof i)&&wo(n,i)>=0}function ug(n,i,o){const l=Et();return Ro(l,$s(),i)&&Ms(vn(),Kr(),l,n,i,l[Vi],o,!1),ug}function dg(n,i,o,l,u){const I=u?"class":"style";yp(n,o,i.inputs[I],I,l)}function hg(n,i){return function ea(n,i,o,l){const u=Et(),C=vn(),I=oa(2);C.firstUpdatePass&&function e0(n,i,o,l){const u=n.data;if(null===u[o+1]){const C=u[as()],I=function qv(n,i){return i>=n.expandoStartIndex}(n,o);(function o0(n,i){return!!(n.flags&(i?8:16))})(C,l)&&null===i&&!I&&(i=!1),i=function sb(n,i,o,l){const u=function cc(n){const i=$i.lFrame.currentDirectiveIndex;return-1===i?null:n[i]}(n);let C=l?i.residualClasses:i.residualStyles;if(null===u)0===(l?i.classBindings:i.styleBindings)&&(o=Qc(o=pg(null,n,i,o,l),i.attrs,l),C=null);else{const I=i.directiveStylingLast;if(-1===I||n[I]!==u)if(o=pg(u,n,i,o,l),null===C){let ge=function ab(n,i,o){const l=o?i.classBindings:i.styleBindings;if(0!==Qa(l))return n[La(l)]}(n,i,l);void 0!==ge&&Array.isArray(ge)&&(ge=pg(null,n,i,ge[1],l),ge=Qc(ge,i.attrs,l),function lb(n,i,o,l){n[La(o?i.classBindings:i.styleBindings)]=l}(n,i,l,ge))}else C=function cb(n,i,o){let l;const u=i.directiveEnd;for(let C=1+i.directiveStylingLast;C<u;C++)l=Qc(l,n[C].hostAttrs,o);return Qc(l,i.attrs,o)}(n,i,l)}return void 0!==C&&(l?i.residualClasses=C:i.residualStyles=C),o}(u,C,i,l),function XD(n,i,o,l,u,C){let I=C?i.classBindings:i.styleBindings,ie=La(I),ge=Qa(I);n[l]=o;let gt,Ge=!1;if(Array.isArray(o)?(gt=o[1],(null===gt||wo(o,gt)>0)&&(Ge=!0)):gt=o,u)if(0!==ge){const on=La(n[ie+1]);n[l+1]=Dd(on,ie),0!==on&&(n[on+1]=lg(n[on+1],l)),n[ie+1]=function GD(n,i){return 131071&n|i<<17}(n[ie+1],l)}else n[l+1]=Dd(ie,0),0!==ie&&(n[ie+1]=lg(n[ie+1],l)),ie=l;else n[l+1]=Dd(ge,0),0===ie?ie=l:n[ge+1]=lg(n[ge+1],l),ge=l;Ge&&(n[l+1]=ag(n[l+1])),zv(n,gt,l,!0),zv(n,gt,l,!1),function ZD(n,i,o,l,u){const C=u?n.residualClasses:n.residualStyles;null!=C&&"string"==typeof i&&wo(C,i)>=0&&(o[l+1]=cg(o[l+1]))}(i,gt,n,l,C),I=Dd(ie,ge),C?i.classBindings=I:i.styleBindings=I}(u,C,i,o,I,l)}}(C,n,I,l),i!==rr&&Ro(u,I,i)&&function n0(n,i,o,l,u,C,I,ie){if(!(3&i.type))return;const ge=n.data,Ge=ge[ie+1],gt=function JD(n){return!(1&~n)}(Ge)?r0(ge,i,o,u,Qa(Ge),I):void 0;bd(gt)||(bd(C)||function KD(n){return!(2&~n)}(Ge)&&(C=r0(ge,null,o,u,ie,I)),function KO(n,i,o,l,u){if(i)u?n.addClass(o,l):n.removeClass(o,l);else{let C=-1===l.indexOf("-")?void 0:Ju.DashCase;null==u?n.removeStyle(o,l,C):("string"==typeof u&&u.endsWith("!important")&&(u=u.slice(0,-10),C|=Ju.Important),n.setStyle(o,l,u,C))}}(l,I,Ma(as(),o),u,C))}(C,C.data[as()],u,u[Vi],n,u[I+1]=function pb(n,i){return null==n||""===n||("string"==typeof i?n+=i:"object"==typeof n&&(n=Te(Oa(n)))),n}(i,o),l,I)}(n,i,null,!0),hg}function pg(n,i,o,l,u){let C=null;const I=o.directiveEnd;let ie=o.directiveStylingLast;for(-1===ie?ie=o.directiveStart:ie++;ie<I&&(C=i[ie],l=Qc(l,C.hostAttrs,u),C!==n);)ie++;return null!==n&&(o.directiveStylingLast=ie),l}function Qc(n,i,o){const l=o?1:2;let u=-1;if(null!==i)for(let C=0;C<i.length;C++){const I=i[C];"number"==typeof I?u=I:u===l&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),Er(n,I,!!o||i[++C]))}return void 0===n?null:n}function r0(n,i,o,l,u,C){const I=null===i;let ie;for(;u>0;){const ge=n[u],Ge=Array.isArray(ge),gt=Ge?ge[1]:ge,Rt=null===gt;let on=o[u+1];on===rr&&(on=Rt?Ji:void 0);let cn=Rt?Pr(on,l):gt===l?on:void 0;if(Ge&&!bd(cn)&&(cn=Pr(ge,l)),bd(cn)&&(ie=cn,I))return ie;const On=n[u+1];u=I?La(On):Qa(On)}if(null!==i){let ge=C?i.residualClasses:i.residualStyles;null!=ge&&(ie=Pr(ge,l))}return ie}function bd(n){return void 0!==n}function Ed(n,i,o,l){const u=Et(),C=vn(),I=qt+n,ie=u[Vi],ge=C.firstCreatePass?function Bb(n,i,o,l,u,C){const I=i.consts,ge=bl(i,n,2,l,Ds(I,u));return _p(i,o,ge,Ds(I,C)),null!==ge.attrs&&dd(ge,ge.attrs,!1),null!==ge.mergedAttrs&&dd(ge,ge.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,ge),ge}(I,C,u,i,o,l):C.data[I],Ge=c0(C,u,ge,ie,i,n);u[I]=Ge;const gt=mn(ge);return to(ge,!0),$_(ie,Ge,ge),!function Jc(n){return!(32&~n.flags)}(ge)&&ul()&&Qu(C,u,Ge,ge),0===function Na(){return $i.lFrame.elementDepthCount}()&&ps(Ge,u),function ma(){$i.lFrame.elementDepthCount++}(),gt&&(pp(C,u,ge),hp(C,ge,u)),null!==l&&gp(u,ge),Ed}function Md(){let n=hi();Xs()?hs():(n=n.parent,to(n,!1));const i=n;(function oe(n){return $i.skipHydrationRootTNode===n})(i)&&function tt(){$i.skipHydrationRootTNode=null}(),function gu(){$i.lFrame.elementDepthCount--}();const o=vn();return o.firstCreatePass&&(uc(o,n),Oi(n)&&o.queries.elementEnd(n)),null!=i.classesWithoutHost&&function _f(n){return!!(8&n.flags)}(i)&&dg(o,i,Et(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function mf(n){return!!(16&n.flags)}(i)&&dg(o,i,Et(),i.stylesWithoutHost,!1),Md}function vg(n,i,o,l){return Ed(n,i,o,l),Md(),vg}let c0=(n,i,o,l,u,C)=>(Zs(!0),Xu(l,u,function nh(){return $i.lFrame.currentNamespace}()));function Sd(n,i,o){const l=Et(),u=vn(),C=n+qt,I=u.firstCreatePass?function Vb(n,i,o,l,u){const C=i.consts,I=Ds(C,l),ie=bl(i,n,8,"ng-container",I);return null!==I&&dd(ie,I,!0),_p(i,o,ie,Ds(C,u)),null!==i.queries&&i.queries.elementStart(i,ie),ie}(C,u,l,i,o):u.data[C];to(I,!0);const ie=u0(u,l,I,n);return l[C]=ie,ul()&&Qu(u,l,ie,I),ps(ie,l),mn(I)&&(pp(u,l,I),hp(u,I,l)),null!=o&&gp(l,I),Sd}function Ad(){let n=hi();const i=vn();return Xs()?hs():(n=n.parent,to(n,!1)),i.firstCreatePass&&(uc(i,n),Oi(n)&&i.queries.elementEnd(n)),Ad}function Cg(n,i,o){return Sd(n,i,o),Ad(),Cg}let u0=(n,i,o,l)=>(Zs(!0),rp(i[Vi],""));function d0(){return Et()}const qa=void 0;var Wb=["en",[["a","p"],["AM","PM"],qa],[["AM","PM"],qa,qa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],qa,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],qa,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",qa,"{1} 'at' {0}",qa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $b(n){const o=Math.floor(Math.abs(n)),l=n.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===l?1:5}];let Kl={};function yg(n){const i=function jb(n){return n.toLowerCase().replace(/_/g,"-")}(n);let o=f0(i);if(o)return o;const l=i.split("-")[0];if(o=f0(l),o)return o;if("en"===l)return Wb;throw new It(701,!1)}function g0(n){return yg(n)[Gl.PluralCase]}function f0(n){return n in Kl||(Kl[n]=Ve.ng&&Ve.ng.common&&Ve.ng.common.locales&&Ve.ng.common.locales[n]),Kl[n]}var Gl=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.E
1xtraData=21]="ExtraData",n}(Gl||{});const Jl="en-US";let _0=Jl;function Dg(n,i,o,l){const u=Et(),C=vn(),I=hi();return bg(C,u,u[Vi],I,n,i,l),Dg}function bg(n,i,o,l,u,C,I){const ie=mn(l),Ge=n.firstCreatePass&&im(n),gt=i[Mr],Rt=nm(i);let on=!0;if(3&l.type||I){const Nn=ns(l,i),Yn=I?I(Nn):Nn,ui=Rt.length,$n=I?Dr=>I(wr(Dr[l.index])):l.index;let Wi=null;if(!I&&ie&&(Wi=function UE(n,i,o,l){const u=n.cleanup;if(null!=u)for(let C=0;C<u.length-1;C+=2){const I=u[C];if(I===o&&u[C+1]===l){const ie=i[xs],ge=u[C+2];return ie.length>ge?ie[ge]:null}"string"==typeof I&&(C+=2)}return null}(n,i,u,l.index)),null!==Wi)(Wi.__ngLastListenerFn__||Wi).__ngNextListenerFn__=C,Wi.__ngLastListenerFn__=C,on=!1;else{C=j0(l,i,gt,C,!1);const Dr=o.listen(Yn,u,C);Rt.push(C,Dr),Ge&&Ge.push(u,$n,ui,ui+1)}}else C=j0(l,i,gt,C,!1);const cn=l.outputs;let On;if(on&&null!==cn&&(On=cn[u])){const Nn=On.length;if(Nn)for(let Yn=0;Yn<Nn;Yn+=2){const Gr=i[On[Yn]][On[Yn+1]].subscribe(C),Xo=Rt.length;Rt.push(C,Gr),Ge&&Ge.push(u,l.index,Xo,-(Xo+1))}}}function W0(n,i,o,l){const u=v(null);try{return Ls(6,i,o),!1!==o(l)}catch(C){return nd(n,C),!1}finally{Ls(7,i,o),v(u)}}function j0(n,i,o,l,u){return function C(I){if(I===Function)return l;Lc(n.componentOffset>-1?ds(n.index,i):i);let ge=W0(i,o,l,I),Ge=C.__ngNextListenerFn__;for(;Ge;)ge=W0(i,o,Ge,I)&&ge,Ge=Ge.__ngNextListenerFn__;return u&&!1===ge&&I.preventDefault(),ge}}function z0(n=1){return function uf(n){return($i.lFrame.contextLView=function oc(n,i){for(;n>0;)i=i[F],n--;return i}(n,$i.lFrame.contextLView))[Mr]}(n)}function HE(n,i){let o=null;const l=function fo(n){const i=n.attrs;if(null!=i){const o=i.indexOf(5);if(!(1&o))return i[o+1]}return null}(n);for(let u=0;u<i.length;u++){const C=i[u];if("*"!==C){if(null===l?pr(n,C,!0):se(l,C))return u}else o=u}return o}function K0(n){const i=Et()[Q][Ar];if(!i.projection){const l=i.projection=function Qr(n,i){const o=[];for(let l=0;l<n;l++)o.push(i);return o}(n?n.length:1,null),u=l.slice();let C=i.child;for(;null!==C;){const I=n?HE(C,n):0;null!==I&&(u[I]?u[I].projectionNext=C:l[I]=C,u[I]=C),C=C.next}}}function G0(n,i=0,o){const l=Et(),u=vn(),C=bl(u,qt+n,16,null,o||null);null===C.projection&&(C.projection=i),hs(),(!l[_o]||va())&&32&~C.flags&&function jO(n,i,o){U_(i[Vi],0,i,o,ap(n,o,i),k_(o.parent||i[Ar],o,i))}(u,l,C)}function Eg(n,i,o){return Rd(n,"",i,"",o),Eg}function Rd(n,i,o,l,u){const C=Et(),I=Fl(C,i,o,l);return I!==rr&&Ms(vn(),Kr(),C,n,I,C[Vi],u,!1),Rd}function n1(n,i,o,l){!function jm(n,i,o,l){const u=vn();if(u.firstCreatePass){const C=hi();zm(u,new Um(i,o,l),C.index),function Vx(n,i){const o=n.contentQueries||(n.contentQueries=[]);i!==(o.length?o[o.length-1]:-1)&&o.push(n.queries.length-1,i)}(u,n),!(2&~o)&&(u.staticContentQueries=!0)}return $m(u,Et(),o)}(n,i,o,l)}function r1(n,i,o){!function Wm(n,i,o){const l=vn();return l.firstCreatePass&&(zm(l,new Um(n,i,o),-1),!(2&~i)&&(l.staticViewQueries=!0)),$m(l,Et(),i)}(n,i,o)}function o1(n){const i=Et(),o=vn(),l=mu();cl(l+1);const u=jp(o,l);if(n.dirty&&function hu(n){return!(4&~n[mi])}(i)===!(2&~u.metadata.flags)){if(null===u.matches)n.reset([]);else{const C=Km(i,l);n.reset(C,Ah),n.notifyOnChanges()}return!0}return!1}function s1(){return function Wp(n,i){return n[Ye].queries[i].queryList}(Et(),mu())}function a1(n){return _a(function lc(){return $i.lFrame.contextLView}(),qt+n)}function m1(n,i=""){const o=Et(),l=vn(),u=n+qt,C=l.firstCreatePass?bl(l,u,1,i,null):l.data[u],I=v1(l,o,C,i,n);o[u]=I,ul()&&Qu(l,o,I,C),to(C,!1)}let v1=(n,i,o,l,u)=>(Zs(!0),function ip(n,i){return n.createText(i)}(i[Vi],l));function Mg(n){return kd("",n,""),Mg}function kd(n,i,o){const l=Et(),u=Fl(l,n,i,o);return u!==rr&&Da(l,as(),u),kd}function Sg(n,i,o,l,u){const C=Et(),I=function Nl(n,i,o,l,u,C){const ie=Za(n,ra(),o,u);return oa(2),ie?i+bi(o)+l+bi(u)+C:rr}(C,n,i,o,l,u);return I!==rr&&Da(C,as(),I),Sg}function Ag(n,i,o,l,u,C,I){const ie=Et(),ge=function Vl(n,i,o,l,u,C,I,ie){const Ge=md(n,ra(),o,u,I);return oa(3),Ge?i+bi(o)+l+bi(u)+C+bi(I)+ie:rr}(ie,n,i,o,l,u,C,I);return ge!==rr&&Da(ie,as(),ge),Ag}function wg(n,i,o,l,u,C,I,ie,ge){const Ge=Et(),gt=function Ul(n,i,o,l,u,C,I,ie,ge,Ge){const Rt=js(n,ra(),o,u,I,ge);return oa(4),Rt?i+bi(o)+l+bi(u)+C+bi(I)+ie+bi(ge)+Ge:rr}(Ge,n,i,o,l,u,C,I,ie,ge);return gt!==rr&&Da(Ge,as(),gt),wg}function Pg(n,i,o,l,u,C,I,ie,ge,Ge,gt){const Rt=Et(),on=function Hl(n,i,o,l,u,C,I,ie,ge,Ge,gt,Rt){const on=ra();let cn=js(n,on,o,u,I,ge);return cn=Ro(n,on+4,gt)||cn,oa(5),cn?i+bi(o)+l+bi(u)+C+bi(I)+ie+bi(ge)+Ge+bi(gt)+Rt:rr}(Rt,n,i,o,l,u,C,I,ie,ge,Ge,gt);return on!==rr&&Da(Rt,as(),on),Pg}function Ig(n,i,o,l,u,C,I,ie,ge,Ge,gt,Rt,on,cn,On){const Nn=Et(),Yn=function Wl(n,i,o,l,u,C,I,ie,ge,Ge,gt,Rt,on,cn,On,Nn){const Yn=ra();let ui=js(n,Yn,o,u,I,ge);return ui=md(n,Yn+4,gt,on,On)||ui,oa(7),ui?i+bi(o)+l+bi(u)+C+bi(I)+ie+bi(ge)+Ge+bi(gt)+Rt+bi(on)+cn+bi(On)+Nn:rr}(Nn,n,i,o,l,u,C,I,ie,ge,Ge,gt,Rt,on,cn,On);return Yn!==rr&&Da(Nn,as(),Yn),Ig}function Tg(n,i,o){Xm(i)&&(i=i());const l=Et();return Ro(l,$s(),i)&&Ms(vn(),Kr(),l,n,i,l[Vi],o,!1),Tg}function x1(n,i){const o=Xm(n);return o&&n.set(i),o}function Rg(n,i){const o=Et(),l=vn(),u=hi();return bg(l,o,o[Vi],u,n,i),Rg}function kg(n,i,o,l,u){if(n=Ut(n),Array.isArray(n))for(let C=0;C<n.length;C++)kg(n[C],i,o,l,u);else{const C=vn(),I=Et(),ie=hi();let ge=bo(n)?n:Ut(n.provide);const Ge=Wo(n),gt=1048575&ie.providerIndexes,Rt=ie.directiveStart,on=ie.providerIndexes>>20;if(bo(n)||!n.multi){const cn=new dl(Ge,u,Dl),On=Bg(ge,i,u?gt:gt+on,Rt);-1===On?(Au(fc(ie,I),C,ge),Lg(C,n,i.length),i.push(ge),ie.directiveStart++,ie.directiveEnd++,u&&(ie.providerIndexes+=1048576),o.push(cn),I.push(cn)):(o[On]=cn,I[On]=cn)}else{const cn=Bg(ge,i,gt+on,Rt),On=Bg(ge,i,gt,gt+on),Yn=On>=0&&o[On];if(u&&!Yn||!u&&!(cn>=0&&o[cn])){Au(fc(ie,I),C,ge);const ui=function sM(n,i,o,l,u){const C=new dl(n,o,Dl);return C.multi=[],C.index=i,C.componentProviders=0,D1(C,u,l&&!o),C}(u?oM:rM,o.length,u,l,Ge);!u&&Yn&&(o[On].providerFactory=ui),Lg(C,n,i.length,0),i.push(ge),ie.directiveStart++,ie.directiveEnd++,u&&(ie.providerIndexes+=1048576),o.push(u
1i),I.push(ui)}else Lg(C,n,cn>-1?cn:On,D1(o[u?On:cn],Ge,!u&&l));!u&&l&&Yn&&o[On].componentProviders++}}}function Lg(n,i,o,l){const u=bo(i),C=function _s(n){return!!n.useClass}(i);if(u||C){const ge=(C?Ut(i.useClass):i).prototype.ngOnDestroy;if(ge){const Ge=n.destroyHooks||(n.destroyHooks=[]);if(!u&&i.multi){const gt=Ge.indexOf(o);-1===gt?Ge.push(o,[l,ge]):Ge[gt+1].push(l,ge)}else Ge.push(o,ge)}}}function D1(n,i,o){return o&&n.componentProviders++,n.multi.push(i)-1}function Bg(n,i,o,l){for(let u=o;u<l;u++)if(i[u]===n)return u;return-1}function rM(n,i,o,l){return Fg(this.multi,[])}function oM(n,i,o,l){const u=this.multi;let C;if(this.providerFactory){const I=this.providerFactory.componentProviders,ie=ya(o,o[Jn],this.providerFactory.index,l);C=ie.slice(0,I),Fg(u,C);for(let ge=I;ge<ie.length;ge++)C.push(ie[ge])}else C=[],Fg(u,C);return C}function Fg(n,i){for(let o=0;o<n.length;o++)i.push((0,n[o])());return i}function b1(n,i=[]){return o=>{o.providersResolver=(l,u)=>function iM(n,i,o){const l=vn();if(l.firstCreatePass){const u=_n(n);kg(o,l.data,l.blueprint,u,!0),kg(i,l.data,l.blueprint,u,!1)}}(l,u?u(n):n,i)}}let aM=(()=>{class n{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const l=Qo(0,o.type),u=l.length>0?Xp([l],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,u)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=be({token:n,providedIn:"environment",factory:()=>new n(bt($o))})}return n})();function E1(n){la("NgStandalone"),n.getStandaloneInjector=i=>i.get(aM).getOrCreateStandaloneInjector(n)}function M1(n,i,o){const l=n.\u0275cmp;l.directiveDefs=ws(i,!1),l.pipeDefs=ws(o,!0)}function S1(n,i){return Ae(()=>{const o=Vr(n,!0);o.declarations=Ld(i.declarations||Ji),o.imports=Ld(i.imports||Ji),o.exports=Ld(i.exports||Ji),i.bootstrap&&(o.bootstrap=Ld(i.bootstrap)),jc.registerNgModule(n,i)})}function Ld(n){if("function"==typeof n)return n;const i=sr(n);return i.some(zt)?()=>i.map(Ut).map(A1):i.map(A1)}function A1(n){return kp(n)?n.ngModule:n}function w1(n,i,o){const l=Ko()+n,u=Et();return u[l]===rr?ca(u,l,o?i.call(o):i()):function Gc(n,i){return n[i]}(u,l)}function P1(n,i,o,l){return k1(Et(),Ko(),n,i,o,l)}function I1(n,i,o,l,u){return L1(Et(),Ko(),n,i,o,l,u)}function T1(n,i,o,l,u,C){return function B1(n,i,o,l,u,C,I,ie){const ge=i+o;return md(n,ge,u,C,I)?ca(n,ge+3,ie?l.call(ie,u,C,I):l(u,C,I)):ou(n,ge+3)}(Et(),Ko(),n,i,o,l,u,C)}function R1(n,i,o,l,u,C,I){return function F1(n,i,o,l,u,C,I,ie,ge){const Ge=i+o;return js(n,Ge,u,C,I,ie)?ca(n,Ge+4,ge?l.call(ge,u,C,I,ie):l(u,C,I,ie)):ou(n,Ge+4)}(Et(),Ko(),n,i,o,l,u,C,I)}function ou(n,i){const o=n[i];return o===rr?void 0:o}function k1(n,i,o,l,u,C){const I=i+o;return Ro(n,I,u)?ca(n,I+1,C?l.call(C,u):l(u)):ou(n,I+1)}function L1(n,i,o,l,u,C,I){const ie=i+o;return Za(n,ie,u,C)?ca(n,ie+2,I?l.call(I,u,C):l(u,C)):ou(n,ie+2)}function V1(n,i){const o=vn();let l;const u=n+qt;o.firstCreatePass?(l=function pM(n,i){if(i)for(let o=i.length-1;o>=0;o--){const l=i[o];if(n===l.name)return l}}(i,o.pipeRegistry),o.data[u]=l,l.onDestroy&&(o.destroyHooks??=[]).push(u,l.onDestroy)):l=o.data[u];const C=l.factory||(l.factory=Di(l.type)),ie=gr(Dl);try{const ge=gc(!1),Ge=C();return gc(ge),function zE(n,i,o,l){o>=n.data.length&&(n.data[o]=null,n.blueprint[o]=null),i[o]=l}(o,Et(),u,Ge),Ge}finally{gr(ie)}}function U1(n,i,o){const l=n+qt,u=Et(),C=_a(u,l);return su(u,l)?k1(u,Ko(),i,C.transform,o,C):C.transform(o)}function H1(n,i,o,l){const u=n+qt,C=Et(),I=_a(C,u);return su(C,u)?L1(C,Ko(),i,I.transform,o,l,I):I.transform(o,l)}function su(n,i){return n[Jn].data[i].pure}function $1(n,i){return rd(n,i)}class rC{constructor(i){this.full=i;const o=i.split(".");this.major=o[0],this.minor=o[1],this.patch=o.slice(2).join(".")}}const NM=new rC("17.3.1");let oC=(()=>{class n{log(o){console.log(o)}warn(o){console.warn(o)}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();const uC=new Tn(""),dC=new Tn("");let Wg,u4=(()=>{class n{constructor(o,l,u){this._ngZone=o,this.registry=l,this._pendingCount=0,this._isZ
1oneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Wg||(function d4(n){Wg=n}(u),u.addToWindow(l)),this._watchAngularEvents(),o.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{To.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb()}});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(l=>!l.updateCb||!l.updateCb(o)||(clearTimeout(l.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,l,u){let C=-1;l&&l>0&&(C=setTimeout(()=>{this._callbacks=this._callbacks.filter(I=>I.timeoutId!==C),o()},l)),this._callbacks.push({doneCb:o,timeoutId:C,updateCb:u})}whenStable(o,l,u){if(u&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(o,l,u),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,l,u){return[]}static#e=this.\u0275fac=function(l){return new(l||n)(bt(To),bt(hC),bt(dC))};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac})}return n})(),hC=(()=>{class n{constructor(){this._applications=new Map}registerApplication(o,l){this._applications.set(o,l)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,l=!0){return Wg?.findTestabilityInTree(this,o,l)??null}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();function jg(n){return!!n&&"function"==typeof n.then}function pC(n){return!!n&&"function"==typeof n.subscribe}const gC=new Tn("");let zg=(()=>{class n{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,l)=>{this.resolve=o,this.reject=l}),this.appInits=Yt(gC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const o=[];for(const u of this.appInits){const C=u();if(jg(C))o.push(C);else if(pC(C)){const I=new Promise((ie,ge)=>{C.subscribe({complete:ie,error:ge})});o.push(I)}}const l=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{l()}).catch(u=>{this.reject(u)}),0===o.length&&l(),this.initialized=!0}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Kg=new Tn("");function mC(n,i){return Array.isArray(i)?i.reduce(mC,n):{...n,...i}}let Ba=(()=>{class n{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Yt(Mh),this.afterRenderEffectManager=Yt($c),this.externalTestViews=new Set,this.beforeRender=new Je.B,this.afterTick=new Je.B,this.componentTypes=[],this.components=[],this.isStable=Yt(Al).hasPendingTasks.pipe((0,Ee.T)(o=>!o)),this._injector=Yt($o)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(o,l){const u=o instanceof vm;if(!this._injector.get(zg).done)throw!u&&yo(o),new It(405,!1);let I;I=u?o:this._injector.get(cd).resolveComponentFactory(o),this.componentTypes.push(I.componentType);const ie=function h4(n){return n.isBoundToModule}(I)?void 0:this._injector.get(Xa),Ge=I.create(bs.NULL,[],l||I.selector,ie),gt=Ge.location.nativeElement,Rt=Ge.injector.get(uC,null);return Rt?.registerApplication(gt),Ge.onDestroy(()=>{this.detachView(Ge.hostView),Nd(this.components,Ge),Rt?.unregisterApplication(gt)}),this._loadComponent(Ge),Ge}tick(){this._tick(!0)}
1_tick(o){if(this._runningTick)throw new It(101,!1);const l=v(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(o)}catch(u){this.internalErrorHandler(u)}finally{this.afterTick.next(),this._runningTick=!1,v(l)}}detectChangesInAttachedViews(o){let l=0;const u=this.afterRenderEffectManager;for(;;){if(l===lm)throw new It(103,!1);if(o){const C=0===l;this.beforeRender.next(C);for(let{_lView:I,notifyErrorHandler:ie}of this._views)g4(I,C,ie)}if(l++,u.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:C})=>Gg(C))&&(u.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:C})=>Gg(C))))break}}attachView(o){const l=o;this._views.push(l),l.attachToAppRef(this)}detachView(o){const l=o;Nd(this._views,l),l.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o);const l=this._injector.get(Kg,[]);[...this._bootstrapListeners,...l].forEach(u=>u(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>Nd(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new It(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Nd(n,i){const o=n.indexOf(i);o>-1&&n.splice(o,1)}function g4(n,i,o){!i&&!Gg(n)||function f4(n,i,o){let l;o?(l=0,n[mi]|=1024):l=64&n[mi]?0:1,id(n,i,l)}(n,o,i)}function Gg(n){return ol(n)}class _4{constructor(i,o){this.ngModuleFactory=i,this.componentFactories=o}}let m4=(()=>{class n{compileModuleSync(o){return new Jp(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const l=this.compileModuleSync(o),C=Bs(Vr(o).declarations).reduce((I,ie)=>{const ge=Ki(ie);return ge&&I.push(new zc(ge)),I},[]);return new _4(l,C)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}clearCacheFor(o){}getModuleId(o){}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),y4=(()=>{class n{constructor(){this.zone=Yt(To),this.applicationRef=Yt(Ba)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function O4(){const n=Yt(To),i=Yt(sa);return o=>n.runOutsideAngular(()=>i.handleError(o))}let D4=(()=>{class n{constructor(){this.subscription=new Ce.yU,this.initialized=!1,this.zone=Yt(To),this.pendingTasks=Yt(Al)}initialize(){if(this.initialized)return;this.initialized=!0;let o=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(o=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{To.assertNotInAngularZone(),queueMicrotask(()=>{null!==o&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(o),o=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{To.assertInAngularZone(),o??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(l){return new(l||n)};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Ud=new Tn("",{providedIn:"root",factory:()=>Yt(Ud,Bi.Optional|Bi.SkipSelf)||function b4(){return typeof $localize<"u"&&$localize.locale||Jl}()}),E4=new Tn("",{providedIn:"root",factory:()=>"USD"}),Jg=new Tn("");let OC=(()=>{class n{constructor(o){this._injector=o,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(o,l){const u=function gx(n="zone.js",i){return"noop"===n?new Em:"zone.js"===n?new To(i):n}(l?.ngZone,function yC(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}({eventCoalescing:l?.ngZoneEventCoalescing,runCoalescing:l?.ngZoneRunCoalescing}));return u.run(()=>{const C=function aD(n,i,o){return new Gp(n,i,o)}(o.moduleType,this.injector,function CC(n){return[{provide:To,useFactory:n},{provide:Ho,multi:!0,useFactory:()=>{const i=Yt(y4,{optional:!0});return()=>i.initialize()}},{provide:Ho,multi:!0,useFactory:()=>{const i=Yt(D4);return()=>{i.initialize()}}},{provide:Mh,useFactory:O4}]}(()=>u)),I=C.injector.get(sa,null);return u.runOutsideAngular(()=>{const ie=u.onError.subscribe({next:ge=>{I.handleError(ge)}});C.onDestroy(()=>{Nd(this._modules,C),ie.unsubscribe()})}),function _C(n,i,o){try{const l=o();return jg(l)?l.catch(u=>{throw i.runOutsideAngular(()=>n.handleError(u)),u}):l}catch(l){throw i.runOutsideAngular(()=>n.handleError(l)),l}}(I,u,()=>{const ie=C.injector.get(zg);
1return ie.runInitializers(),ie.donePromise.then(()=>(function m0(n){"string"==typeof n&&(_0=n.toLowerCase().replace(/_/g,"-"))}(C.injector.get(Ud,Jl)||Jl),this._moduleDoBootstrap(C),C))})})}bootstrapModule(o,l=[]){const u=mC({},l);return function C4(n,i,o){const l=new Jp(o);return Promise.resolve(l)}(0,0,o).then(C=>this.bootstrapModuleFactory(C,u))}_moduleDoBootstrap(o){const l=o.injector.get(Ba);if(o._bootstrapComponents.length>0)o._bootstrapComponents.forEach(u=>l.bootstrap(u));else{if(!o.instance.ngDoBootstrap)throw new It(-403,!1);o.instance.ngDoBootstrap(l)}this._modules.push(o)}onDestroy(o){this._destroyListeners.push(o)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new It(404,!1);this._modules.slice().forEach(l=>l.destroy()),this._destroyListeners.forEach(l=>l());const o=this._injector.get(Jg,null);o&&(o.forEach(l=>l()),o.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(l){return new(l||n)(bt(bs))};static#t=this.\u0275prov=be({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})(),Fa=null;const xC=new Tn("");function DC(n,i,o=[]){const l=`Platform: ${i}`,u=new Tn(l);return(C=[])=>{let I=Xg();if(!I||I.injector.get(xC,!1)){const ie=[...o,...C,{provide:u,useValue:!0}];n?n(ie):function S4(n){if(Fa&&!Fa.get(xC,!1))throw new It(400,!1);(function fC(){!function ue(n){Be=n}(()=>{throw new It(600,!1)})})(),Fa=n;const i=n.get(OC);(function EC(n){n.get(Qf,null)?.forEach(o=>o())})(n)}(function bC(n=[],i){return bs.create({name:i,providers:[{provide:Is,useValue:"platform"},{provide:Jg,useValue:new Set([()=>Fa=null])},...n]})}(ie,l))}return function A4(n){const i=Xg();if(!i)throw new It(401,!1);return i}()}}function Xg(){return Fa?.get(OC)??null}function P4(){}let SC=(()=>{class n{static#e=this.__NG_ELEMENT_ID__=I4}return n})();function I4(n){return function T4(n,i,o){if(Si(n)&&!o){const l=ds(n.index,i);return new Bc(l,l)}return 47&n.type?new Bc(i[Q],i):null}(hi(),Et(),!(16&~n))}class IC{constructor(){}supports(i){return _d(i)}create(i){return new F4(i)}}const B4=(n,i)=>i;class F4{constructor(i){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||B4}forEachItem(i){let o;for(o=this._itHead;null!==o;o=o._next)i(o)}forEachOperation(i){let o=this._itHead,l=this._removalsHead,u=0,C=null;for(;o||l;){const I=!l||o&&o.currentIndex<RC(l,u,C)?o:l,ie=RC(I,u,C),ge=I.currentIndex;if(I===l)u--,l=l._nextRemoved;else if(o=o._next,null==I.previousIndex)u++;else{C||(C=[]);const Ge=ie-u,gt=ge-u;if(Ge!=gt){for(let on=0;on<Ge;on++){const cn=on<C.length?C[on]:C[on]=0,On=cn+on;gt<=On&&On<Ge&&(C[on]=cn+1)}C[I.previousIndex]=gt-Ge}}ie!==ge&&i(I,ie,ge)}}forEachPreviousItem(i){let o;for(o=this._previousItHead;null!==o;o=o._nextPrevious)i(o)}forEachAddedItem(i){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)i(o)}forEachMovedItem(i){let o;for(o=this._movesHead;null!==o;o=o._nextMoved)i(o)}forEachRemovedItem(i){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)i(o)}forEachIdentityChange(i){let o;for(o=this._identityChangesHead;null!==o;o=o._nextIdentityChange)i(o)}diff(i){if(null==i&&(i=[]),!_d(i))throw new It(900,!1);return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let u,C,I,o=this._itHead,l=!1;if(Array.isArray(i)){this.length=i.length;for(let ie=0;ie<this.length;ie++)C=i[ie],I=this._trackByFn(ie,C),null!==o&&Object.is(o.trackById,I)?(l&&(o=this._verifyReinsertion(o,C,I,ie)),Object.is(o.item,C)||this._addIdentityChange(o,C)):(o=this._mismatch(o,C,I,ie),l=!0),o=o._next}else u=0,function dD(n,i){if(Array.isArray(n))for(let o=0;o<n.length;o++)i(n[o]);else{const o=n[Symbol.iterator]();let l;for(;!(l=o.next()).done;)i(l.value)}}(i,ie=>{I=this._trackByFn(u,ie),null!==o&&Object.is(o.trackById,I)?(l&&(o=this._verifyReinsertion(o,ie,I,u)),Object.is(o.item,ie)||this._addIdentityChange(o,ie)):(o=this._mismatch(o,ie,I,u),l=!0),o=o._next,u++}),this.length=u;return this._truncate(o),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,o,l,u){let C;return null===i?C=this._itTail:(C=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null))?(Object.is(i.item,o)||this._addIdentityChange(i,o),this._reinsertAfter(i,C,u)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(l,u))?(Object.is(i.item,o)||this._addIdentityChange(i,o),this._moveAfter(i,C,u)):i=this._addAfter(new N4(o,l),C,u),i}_verifyReinsertion(i,o,l,u){let C=null===this._unlinkedRecords?null:this._unlinkedRecords.get(l,null);return null!==C?i=this._reinsertAfter(C,i._prev,u):i.currentIndex!=u&&(i.currentIndex=u,this._addToMoves(i,u)),i}_truncate(i){for(;null!==i;){const o=i._next;this._addToRemovals(this._unlink(i)),i=o}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,o,l){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const u=i._prevRemoved,C=i._nextRemoved;return null===u?this._removalsHead=C:u._nextRemoved=C,null===C?this._removalsTail=u:C._prevRemoved=u,this._insertAfter(i,o,l),this._addToMoves(i,l),i}_moveAfter(i,o,l){return this._unlink(i),this._insertAfter(i,o,l),this._addToMoves(i,l),i}_addAfter(i,o,l){return this._insertAfter(i,o,l),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,o,l){const u=null===o?this._itHead:o._next;return i._next=u,i._prev=o,null===u?this._itTail=i:u._prev=i,null===o?this._itHead=i:o._next=i,null===this._linkedRecords&&(this._linkedRecords=new TC),this._linkedRecords.put(i),i.currentIndex=l,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const o=i._prev,l=i._next;return null===o?this._itHead=l:o._next=l,null===l?this._itTail=o:l._prev=o,i}_addToMoves(i,o){return i.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new TC),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,o){return i.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class N4{constructor(i,o){this.item=i,this.trackById=o,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}
vendor: 4,013 bytes, line 1
1class V4{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,o){let l;for(l=this._head;null!==l;l=l._nextDup)if((null===o||o<=l.currentIndex)&&Object.is(l.trackById,i))return l;return null}remove(i){const o=i._prevDup,l=i._nextDup;return null===o?this._head=l:o._nextDup=l,null===l?this._tail=o:l._prevDup=o,null===this._head}}class TC{constructor(){this.map=new Map}put(i){const o=i.trackById;let l=this.map.get(o);l||(l=new V4,this.map.set(o,l)),l.add(i)}get(i,o){const u=this.map.get(i);return u?u.get(i,o):null}remove(i){const o=i.trackById;return this.map.get(o).remove(i)&&this.map.delete(o),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function RC(n,i,o){const l=n.previousIndex;if(null===l)return l;let u=0;return o&&l<o.length&&(u=o[l]),l+i+u}class kC{constructor(){}supports(i){return i instanceof Map||Zp(i)}create(){return new U4}}class U4{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(i){let o;for(o=this._mapHead;null!==o;o=o._next)i(o)}forEachPreviousItem(i){let o;for(o=this._previousMapHead;null!==o;o=o._nextPrevious)i(o)}forEachChangedItem(i){let o;for(o=this._changesHead;null!==o;o=o._nextChanged)i(o)}forEachAddedItem(i){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)i(o)}forEachRemovedItem(i){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)i(o)}diff(i){if(i){if(!(i instanceof Map||Zp(i)))throw new It(900,!1)}else i=new Map;return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let o=this._mapHead;if(this._appendAfter=null,this._forEach(i,(l,u)=>{if(o&&o.key===u)this._maybeAddToChanges(o,l),this._appendAfter=o,o=o._next;else{const C=this._getOrCreateRecordForKey(u,l);o=this._insertBeforeOrAppend(o,C)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let l=o;null!==l;l=l._nextRemoved)l===this._mapHead&&(this._mapHead=null),this._records.delete(l.key),l._nextRemoved=l._next,l.previousValue=l.currentValue,l.currentValue=null,l._prev=null,l._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,o){if(i){const l=i._prev;return o._next=i,o._prev=l,i._prev=o,l&&(l._next=o),i===this._mapHead&&(this._mapHead=o),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(i,o){if(this._records.has(i)){const u=this._records.get(i);this._maybeAddToChanges(u,o);const C=u._prev,I=u._next;return C&&(C._next=I),I&&(I._prev=C),u._next=null,u._prev=null,u}const l=new H4(i);return this._records.set(i,l),l.currentValue=o,this._addToAdditions(l),l}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,o){Object.is(o,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=o,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,o){i instanceof Map?i.forEach(o):Object.keys(i).forEac
1h(l=>o(i[l],l))}}class H4{constructor(i){this.key=i,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function LC(){return new ef([new IC])}let ef=(()=>{class n{static#e=this.\u0275prov=be({token:n,providedIn:"root",factory:LC});constructor(o){this.factories=o}static create(o,l){if(null!=l){const u=l.factories.slice();o=o.concat(u)}return new n(o)}static extend(o){return{provide:n,useFactory:l=>n.create(o,l||LC()),deps:[[n,new Ci,new _i]]}}find(o){const l=this.factories.find(u=>u.supports(o));if(null!=l)return l;throw new It(901,!1)}}return n})();function BC(){return new tf([new kC])}let tf=(()=>{class n{static#e=this.\u0275prov=be({token:n,providedIn:"root",factory:BC});constructor(o){this.factories=o}static create(o,l){if(l){const u=l.factories.slice();o=o.concat(u)}return new n(o)}static extend(o){return{provide:n,useFactory:l=>n.create(o,l||BC()),deps:[[n,new Ci,new _i]]}}find(o){const l=this.factories.find(u=>u.supports(o));if(l)return l;throw new It(901,!1)}}return n})();const j4=DC(null,"core",[]);let z4=(()=>{class n{constructor(o){}static#e=this.\u0275fac=function(l){return new(l||n)(bt(Ba))};static#t=this.\u0275mod=Xi({type:n});static#n=this.\u0275inj=w({})}return n})();function yS(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function xS(n){const i=v(null);try{return n()}finally{v(i)}}function AS(n){const i=Ki(n);if(!i)return null;const o=new zc(i);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return i.standalone},get isSignal(){return i.signals}}}},9417:(Nt,Le,a)=>{"use strict";a.d(Le,{BC:()=>Ot,Q0:()=>Ao,VZ:()=>Di,X1:()=>fr,YN:()=>vo,Zm:()=>p,cV:()=>Ai,cb:()=>It,cz:()=>z,kq:()=>M,me:()=>G,qT:()=>br,tU:()=>Zo,vS:()=>Li});var t=a(4438),c=a(177),m=a(6648),x=a(7468),_=a(6354);let b=(()=>{class Xe{constructor($e,St){this._renderer=$e,this._elementRef=St,this.onChange=nn=>{},this.onTouched=()=>{}}setProperty($e,St){this._renderer.setProperty(this._elementRef.nativeElement,$e,St)}registerOnTouched($e){this.onTouched=$e}registerOnChange($e){this.onChange=$e}setDisabledState($e){this.setProperty("disabled",$e)}static#e=this.\u0275fac=function(St){return new(St||Xe)(t.rXU(t.sFG),t.rXU(t.aKT))};static#t=this.\u0275dir=t.FsC({type:Xe})}return Xe})(),v=(()=>{class Xe extends b{static#e=this.\u0275fac=(()=>{let $e;return function(nn){return($e||($e=t.xGo(Xe)))(nn||Xe)}})();static#t=this.\u0275dir=t.FsC({type:Xe,features:[t.Vt3]})}return Xe})();const M=new t.nKC(""),N={provide:M,useExisting:(0,t.Rfq)(()=>p),multi:!0};let p=(()=>{class Xe extends v{writeValue($e){this.setProperty("checked",$e)}static#e=this.\u0275fac=(()=>{let $e;return function(nn){return($e||($e=t.xGo(Xe)))(nn||Xe)}})();static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(St,nn){1&St&&t.bIt("change",function(ki){return nn.onChange(ki.target.checked)})("blur",function(){return nn.onTouched()})},features:[t.Jv_([N]),t.Vt3]})}return Xe})();const P={provide:M,useExisting:(0,t.Rfq)(()=>G),multi:!0},U=new t.nKC("");let G=(()=>{class Xe extends b{constructor($e,St,nn){super($e,St),this._compositionMode=nn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function g(){const Xe=(0,c.QT)()?(0,c.QT)().getUserAgent():"";return/android (\d+)/.test(Xe.toLowerCase())}())}writeValue($e){this.setProperty("value",$e??"")}_handleInput($e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange($e)}_compositionStart(){this._composing=!0}_compositionEnd($e){this._composing=!1,this._compositionMode&&this.onChange($e)}static#e=this.\u0275fac=function(St){return new(St||Xe)(t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(U,8))};static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(St,nn){1&St&&t.bIt("input",function(ki){return nn._handleInput(ki.target.value)})("blur",function(){return nn.onTouched()}
1)("compositionstart",function(){return nn._compositionStart()})("compositionend",function(ki){return nn._compositionEnd(ki.target.value)})},features:[t.Jv_([P]),t.Vt3]})}return Xe})();function A(Xe){return null==Xe||("string"==typeof Xe||Array.isArray(Xe))&&0===Xe.length}const z=new t.nKC(""),ee=new t.nKC("");function W(Xe){return null}function re(Xe){return null!=Xe}function le(Xe){return(0,t.jNT)(Xe)?(0,m.H)(Xe):Xe}function Re(Xe){let ut={};return Xe.forEach($e=>{ut=null!=$e?{...ut,...$e}:ut}),0===Object.keys(ut).length?null:ut}function Be(Xe,ut){return ut.map($e=>$e(Xe))}function ue(Xe){return Xe.map(ut=>function Fe(Xe){return!Xe.validate}(ut)?ut:$e=>ut.validate($e))}function _e(Xe){return null!=Xe?function ce(Xe){if(!Xe)return null;const ut=Xe.filter(re);return 0==ut.length?null:function($e){return Re(Be($e,ut))}}(ue(Xe)):null}function Z(Xe){return null!=Xe?function ne(Xe){if(!Xe)return null;const ut=Xe.filter(re);return 0==ut.length?null:function($e){const St=Be($e,ut).map(le);return(0,x.p)(St).pipe((0,_.T)(Re))}}(ue(Xe)):null}function ve(Xe,ut){return null===Xe?[ut]:Array.isArray(Xe)?[...Xe,ut]:[Xe,ut]}function Ie(Xe){return Xe?Array.isArray(Xe)?Xe:[Xe]:[]}function De(Xe,ut){return Array.isArray(Xe)?Xe.includes(ut):Xe===ut}function et(Xe,ut){const $e=Ie(ut);return Ie(Xe).forEach(nn=>{De($e,nn)||$e.push(nn)}),$e}function yt(Xe,ut){return Ie(ut).filter($e=>!De(Xe,$e))}class dt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ut){this._rawValidators=ut||[],this._composedValidatorFn=_e(this._rawValidators)}_setAsyncValidators(ut){this._rawAsyncValidators=ut||[],this._composedAsyncValidatorFn=Z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ut){this._onDestroyCallbacks.push(ut)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ut=>ut()),this._onDestroyCallbacks=[]}reset(ut=void 0){this.control&&this.control.reset(ut)}hasError(ut,$e){return!!this.control&&this.control.hasError(ut,$e)}getError(ut,$e){return this.control?this.control.getError(ut,$e):null}}class Je extends dt{get formDirective(){return null}get path(){return null}}class Ce extends dt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class we{constructor(ut){this._cd=ut}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ot=(()=>{class Xe extends we{constructor($e){super($e)}static#e=this.\u0275fac=function(St){return new(St||Xe)(t.rXU(Ce,2))};static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(St,nn){2&St&&t.AVh("ng-untouched",nn.isUntouched)("ng-touched",nn.isTouched)("ng-pristine",nn.isPristine)("ng-dirty",nn.isDirty)("ng-valid",nn.isValid)("ng-invalid",nn.isInvalid)("ng-pending",nn.isPending)},features:[t.Vt3]})}return Xe})(),It=(()=>{class Xe extends we{constructor($e){super($e)}static#e=this.\u0275fac=function(St){return new(St||Xe)(t.rXU(Je,10))};static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(St,nn){2&St&&t.AVh("ng-untouched",nn.isUntouched)("ng-touched",nn.isTouched)("ng-pristine",nn.isPristine)("ng-dirty",nn.isDirty)("ng-valid",nn.isValid)("ng-invalid",nn.isInvalid)("ng-pending",nn.isPending)("ng-submitted",nn.isSubmitted)},features:[t.Vt3]})}return Xe})();const V="VALID",pe="INVALID",Te="PENDING",ft="DISABLED";function At(Xe){return(zt(Xe)?Xe.validators:Xe)||null}function Bt(Xe,ut){return(zt(ut)?ut.asyncValidators:Xe)||null}function zt(Xe){return null!=Xe&&!Array.isArray(Xe)&&"object"==typeof Xe}
vendor: 5,844 bytes, line 1
1class ot{constructor(ut,$e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ut),this._assignAsyncValidators($e)}get validator(){return this._composedValidatorFn}set validator(ut){this._rawValidators=this._composedValidatorFn=ut}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ut){this._rawAsyncValidators=this._composedAsyncValidatorFn=ut}get parent(){return this._parent}get valid(){return this.status===V}get invalid(){return this.status===pe}get pending(){return this.status==Te}get disabled(){return this.status===ft}get enabled(){return this.status!==ft}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ut){this._assignValidators(ut)}setAsyncValidators(ut){this._assignAsyncValidators(ut)}addValidators(ut){this.setValidators(et(ut,this._rawValidators))}addAsyncValidators(ut){this.setAsyncValidators(et(ut,this._rawAsyncValidators))}removeValidators(ut){this.setValidators(yt(ut,this._rawValidators))}removeAsyncValidators(ut){this.setAsyncValidators(yt(ut,this._rawAsyncValidators))}hasValidator(ut){return De(this._rawValidators,ut)}hasAsyncValidator(ut){return De(this._rawAsyncValidators,ut)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ut={}){this.touched=!0,this._parent&&!ut.onlySelf&&this._parent.markAsTouched(ut)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ut=>ut.markAllAsTouched())}markAsUntouched(ut={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild($e=>{$e.markAsUntouched({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}markAsDirty(ut={}){this.pristine=!1,this._parent&&!ut.onlySelf&&this._parent.markAsDirty(ut)}markAsPristine(ut={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild($e=>{$e.markAsPristine({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}markAsPending(ut={}){this.status=Te,!1!==ut.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ut.onlySelf&&this._parent.markAsPending(ut)}disable(ut={}){const $e=this._parentMarkedDirty(ut.onlySelf);this.status=ft,this.errors=null,this._forEachChild(St=>{St.disable({...ut,onlySelf:!0})}),this._updateValue(),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ut,skipPristineCheck:$e}),this._onDisabledChange.forEach(St=>St(!0))}enable(ut={}){const $e=this._parentMarkedDirty(ut.onlySelf);this.status=V,this._forEachChild(St=>{St.enable({...ut,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent}),this._updateAncestors({...ut,skipPristineCheck:$e}),this._onDisabledChange.forEach(St=>St(!1))}_updateAncestors(ut){this._parent&&!ut.onlySelf&&(this._parent.updateValueAndValidity(ut),ut.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ut){this._parent=ut}getRawValue(){return this.value}updateValueAndValidity(ut={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===V||this.status===Te)&&this._runAsyncValidator(ut.emitEvent)),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.updateValueAndValidity(ut)}_updateTreeValidity(ut={emitEvent:!0}){this._forEachChild($e=>$e._updateTreeValidity(ut)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ft:V}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ut){if(this.asyncValidator){this.status=Te,this._hasOwnPendingAsyncValidator=!0;const $e=le(this.asyncValidator(this));this._asyncValidationSubscription=$e.subscribe(St=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(St,{emitEvent:ut})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ut,$e={}){this.errors=ut,this._updateControlsErrors(!1!==$e.emitEvent)}get(ut){let $e=ut;return null==$e||(Array.isArray($e)||($e=$e.split(".")),0===$e.length)?null:$e.reduce((St,nn)=>St&&St._find(nn),this)}getError(ut,$e){const St=$e?this.get($e):this;return St&&St.errors?St.errors[ut]:null}hasError(ut,$e){return!!this.getError(ut,$e)}get root(){let ut=this;for(;ut._parent;)ut=ut._parent;return ut}_updateControlsErrors(ut){this.status=this._calculateStatus(),ut&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ut)}_initObservables(){this.valueChanges=new t.bkB,this.statusChanges=new t.bkB}_calculateStatus(){return this._allControlsDisabled()?ft:this.errors?pe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Te)?Te:this._anyControlsHaveStatus(pe)?pe:V}_anyControlsHaveStatus(ut){return this._anyControls($e=>$e.status===ut)}_anyControlsDirty(){return this._anyControls(ut=>ut.dirty)}_anyControlsTouched(){return this._anyControls(ut=>ut.touched)}_updatePristine(ut={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}_updateTouched(ut={}){this.touched=this._anyControlsTouched(),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}_registerOnCollectionChange(ut){this._onCollectionChange=ut}_setUpdateStrategy(ut){zt(ut)&&null!=ut.updateOn&&(this._updateOn=ut.updateOn)}_parentMarkedDirty(ut){return!ut&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
vendor: 5,736 bytes, line 1
1_find(ut){return null}_assignValidators(ut){this._rawValidators=Array.isArray(ut)?ut.slice():ut,this._composedValidatorFn=function sn(Xe){return Array.isArray(Xe)?_e(Xe):Xe||null}(this._rawValidators)}_assignAsyncValidators(ut){this._rawAsyncValidators=Array.isArray(ut)?ut.slice():ut,this._composedAsyncValidatorFn=function Ut(Xe){return Array.isArray(Xe)?Z(Xe):Xe||null}(this._rawAsyncValidators)}}class Vt extends ot{constructor(ut,$e,St){super(At($e),Bt(St,$e)),this.controls=ut,this._initObservables(),this._setUpdateStrategy($e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ut,$e){return this.controls[ut]?this.controls[ut]:(this.controls[ut]=$e,$e.setParent(this),$e._registerOnCollectionChange(this._onCollectionChange),$e)}addControl(ut,$e,St={}){this.registerControl(ut,$e),this.updateValueAndValidity({emitEvent:St.emitEvent}),this._onCollectionChange()}removeControl(ut,$e={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],this.updateValueAndValidity({emitEvent:$e.emitEvent}),this._onCollectionChange()}setControl(ut,$e,St={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],$e&&this.registerControl(ut,$e),this.updateValueAndValidity({emitEvent:St.emitEvent}),this._onCollectionChange()}contains(ut){return this.controls.hasOwnProperty(ut)&&this.controls[ut].enabled}setValue(ut,$e={}){(function Qe(Xe,ut,$e){Xe._forEachChild((St,nn)=>{if(void 0===$e[nn])throw new t.wOt(1002,"")})})(this,0,ut),Object.keys(ut).forEach(St=>{(function wt(Xe,ut,$e){const St=Xe.controls;if(!(ut?Object.keys(St):St).length)throw new t.wOt(1e3,"");if(!St[$e])throw new t.wOt(1001,"")})(this,!0,St),this.controls[St].setValue(ut[St],{onlySelf:!0,emitEvent:$e.emitEvent})}),this.updateValueAndValidity($e)}patchValue(ut,$e={}){null!=ut&&(Object.keys(ut).forEach(St=>{const nn=this.controls[St];nn&&nn.patchValue(ut[St],{onlySelf:!0,emitEvent:$e.emitEvent})}),this.updateValueAndValidity($e))}reset(ut={},$e={}){this._forEachChild((St,nn)=>{St.reset(ut?ut[nn]:null,{onlySelf:!0,emitEvent:$e.emitEvent})}),this._updatePristine($e),this._updateTouched($e),this.updateValueAndValidity($e)}getRawValue(){return this._reduceChildren({},(ut,$e,St)=>(ut[St]=$e.getRawValue(),ut))}_syncPendingControls(){let ut=this._reduceChildren(!1,($e,St)=>!!St._syncPendingControls()||$e);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){Object.keys(this.controls).forEach($e=>{const St=this.controls[$e];St&&ut(St,$e)})}_setUpControls(){this._forEachChild(ut=>{ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ut){for(const[$e,St]of Object.entries(this.controls))if(this.contains($e)&&ut(St))return!0;return!1}_reduceValue(){return this._reduceChildren({},($e,St,nn)=>((St.enabled||this.disabled)&&($e[nn]=St.value),$e))}_reduceChildren(ut,$e){let St=ut;return this._forEachChild((nn,yi)=>{St=$e(St,nn,yi)}),St}_allControlsDisabled(){for(const ut of Object.keys(this.controls))if(this.controls[ut].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ut){return this.controls.hasOwnProperty(ut)?this.controls[ut]:null}}const Jt=new t.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>pn}),pn="always";function zn(Xe,ut,$e=pn){d(Xe,ut),ut.valueAccessor.writeValue(Xe.value),(Xe.disabled||"always"===$e)&&ut.valueAccessor.setDisabledState?.(Xe.disabled),function T(Xe,ut){ut.valueAccessor.registerOnChange($e=>{Xe._pendingValue=$e,Xe._pendingChange=!0,Xe._pendingDirty=!0,"change"===Xe.updateOn&&be(Xe,ut)})}(Xe,ut),function h(Xe,ut){const $e=(St,nn)=>{ut.valueAccessor.writeValue(St),nn&&ut.viewToModelUpdate(St)};Xe.registerOnChange($e),ut._registerOnDestroy(()=>{Xe._unregisterOnChange($e)})}(Xe,ut),function Me(Xe,ut){ut.valueAccessor.registerOnTouched(()=>{Xe._pendingTouched=!0,"blur"===Xe.updateOn&&Xe._pendingChange&&be(Xe,ut),"submit"!==Xe.updateOn&&Xe.markAsTouched()})}(Xe,ut),function Ht(Xe,ut){if(ut.valueAccessor.setDisabledState){const $e=St=>{ut.valueAccessor.setDisabledState(St)};Xe.registerOnDisabledChange($e),ut._registerOnDestroy(()=>{Xe._unregisterOnDisabledChange($e)})}}(Xe,ut)}function it(Xe,ut){Xe.forEach($e=>{$e.registerOnValidatorChange&&$e.registerOnValidatorChange(ut)})}function d(Xe,ut){const $e=function ke(Xe){return Xe._rawValidators}(Xe);null!==ut.validator?Xe.setValidators(ve($e,ut.validator)):"function"==typeof $e&&Xe.setValidators([$e]);const St=function Ne(Xe){return Xe._rawAsyncValidators}(Xe);null!==ut.asyncValidator?Xe.setAsyncValidators(ve(St,ut.asyncValidator)):"function"==typeof St&&Xe.setAsyncValidators([St]);const nn=()=>Xe.updateValueAndValidity();it(ut._rawValidators,nn),it(ut._rawAsyncValidators,nn)}function be(Xe,ut){Xe._pendingDirty&&Xe.markAsDirty(),Xe.setValue(Xe._pendingValue,{emitModelToViewChange:!1}),ut.viewToModelUpdate(Xe._pendingValue),Xe._pendingChange=!1}const ni={provide:Je,useExisting:(0,t.Rfq)(()=>Ai)},oi=Promise.resolve();let Ai=(()=>{class Xe extends Je{constructor($e,St,nn){super(),this.callSetDisabledState=nn,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.bkB,this.form=new Vt({},_e($e),Z(St))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl($e){oi.then(()=>{const St=this._findContainer($e.path);$e.control=St.registerControl($e.name,$e.control),zn($e.control,$e,this.callSetDisabledState),$e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add($e)})}getControl($e){return this.form.get($e.path)}
1removeControl($e){oi.then(()=>{const St=this._findContainer($e.path);St&&St.removeControl($e.name),this._directives.delete($e)})}addFormGroup($e){oi.then(()=>{const St=this._findContainer($e.path),nn=new Vt({});(function w(Xe,ut){d(Xe,ut)})(nn,$e),St.registerControl($e.name,nn),nn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup($e){oi.then(()=>{const St=this._findContainer($e.path);St&&St.removeControl($e.name)})}getFormGroup($e){return this.form.get($e.path)}updateModel($e,St){oi.then(()=>{this.form.get($e.path).setValue(St)})}setValue($e){this.control.setValue($e)}onSubmit($e){return this.submitted=!0,function Rn(Xe,ut){Xe._syncPendingControls(),ut.forEach($e=>{const St=$e.control;"submit"===St.updateOn&&St._pendingChange&&($e.viewToModelUpdate(St._pendingValue),St._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit($e),"dialog"===$e?.target?.method}onReset(){this.resetForm()}resetForm($e=void 0){this.form.reset($e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer($e){return $e.pop(),$e.length?this.form.get($e):this.form}static#e=this.\u0275fac=function(St){return new(St||Xe)(t.rXU(z,10),t.rXU(ee,10),t.rXU(Jt,8))};static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(St,nn){1&St&&t.bIt("submit",function(ki){return nn.onSubmit(ki)})("reset",function(){return nn.onReset()})},inputs:{options:[t.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t.Jv_([ni]),t.Vt3]})}return Xe})();function Ti(Xe,ut){const $e=Xe.indexOf(ut);$e>-1&&Xe.splice($e,1)}function Pi(Xe){return"object"==typeof Xe&&null!==Xe&&2===Object.keys(Xe).length&&"value"in Xe&&"disabled"in Xe}const Gi=class extends ot{constructor(ut=null,$e,St){super(At($e),Bt(St,$e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ut),this._setUpdateStrategy($e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zt($e)&&($e.nonNullable||$e.initialValueIsDefault)&&(this.defaultValue=Pi(ut)?ut.value:ut)}setValue(ut,$e={}){this.value=this._pendingValue=ut,this._onChange.length&&!1!==$e.emitModelToViewChange&&this._onChange.forEach(St=>St(this.value,!1!==$e.emitViewToModelChange)),this.updateValueAndValidity($e)}patchValue(ut,$e={}){this.setValue(ut,$e)}reset(ut=this.defaultValue,$e={}){this._applyFormState(ut),this.markAsPristine($e),this.markAsUntouched($e),this.setValue(this.value,$e),this._pendingChange=!1}_updateValue(){}_anyControls(ut){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ut){this._onChange.push(ut)}_unregisterOnChange(ut){Ti(this._onChange,ut)}registerOnDisabledChange(ut){this._onDisabledChange.push(ut)}_unregisterOnDisabledChange(ut){Ti(this._onDisabledChange,ut)}_forEachChild(ut){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ut){Pi(ut)?(this.value=this._pendingValue=ut.value,ut.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ut}},so={provide:Ce,useExisting:(0,t.Rfq)(()=>Li)},bi=Promise.resolve();let Li=(()=>{class Xe extends Ce{constructor($e,St,nn,yi,ki,Or){super(),this._changeDetectorRef=ki,this.callSetDisabledState=Or,this.control=new Gi,this._registered=!1,this.name="",this.update=new t.bkB,this._parent=$e,this._setValidators(St),this._setAsyncValidators(nn),this.valueAccessor=function Tn(Xe,ut){if(!ut)return null;let $e,St,nn;return Array.isArray(ut),ut.forEach(yi=>{yi.constructor===G?$e=yi:function xn(Xe){return Object.getPrototypeOf(Xe.constructor)===v}(yi)?St=yi:nn=yi}),nn||St||$e||null}(0,yi)}ngOnChanges($e){if(this._checkForErrors(),!this._registered||"name"in $e){if(this._registered&&(this._checkName(),this.formDirective)){const St=$e.name.previousValue;this.formDirective.removeControl({name:St,path:this._getPath(St)})}this._setUpControl()}"isDisabled"in $e&&this._updateDisabled($e),function kt(Xe,ut){if(!Xe.hasOwnProperty("model"))return!1;const $e=Xe.model;return!!$e.isFirstChange()||!Object.is(ut,$e.currentValue)}
1($e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate($e){this.viewModel=$e,this.update.emit($e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){zn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue($e){bi.then(()=>{this.control.setValue($e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled($e){const St=$e.isDisabled.currentValue,nn=0!==St&&(0,t.L39)(St);bi.then(()=>{nn&&!this.control.disabled?this.control.disable():!nn&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath($e){return this._parent?function Dn(Xe,ut){return[...ut.path,Xe]}($e,this._parent):[$e]}static#e=this.\u0275fac=function(St){return new(St||Xe)(t.rXU(Je,9),t.rXU(z,10),t.rXU(ee,10),t.rXU(M,10),t.rXU(t.gRc,8),t.rXU(Jt,8))};static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[t.Mj6.None,"disabled","isDisabled"],model:[t.Mj6.None,"ngModel","model"],options:[t.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t.Jv_([so]),t.Vt3,t.OA$]})}return Xe})(),br=(()=>{class Xe{static#e=this.\u0275fac=function(St){return new(St||Xe)};static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Xe})();const no={provide:M,useExisting:(0,t.Rfq)(()=>Ao),multi:!0};let Ao=(()=>{class Xe extends v{writeValue($e){this.setProperty("value",$e??"")}registerOnChange($e){this.onChange=St=>{$e(""==St?null:parseFloat(St))}}static#e=this.\u0275fac=(()=>{let $e;return function(nn){return($e||($e=t.xGo(Xe)))(nn||Xe)}})();static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(St,nn){1&St&&t.bIt("input",function(ki){return nn.onChange(ki.target.value)})("blur",function(){return nn.onTouched()})},features:[t.Jv_([no]),t.Vt3]})}return Xe})();const gr=new t.nKC("");let _i=(()=>{class Xe{constructor(){this._validator=W}ngOnChanges($e){if(this.inputName in $e){const St=this.normalizeInput($e[this.inputName].currentValue);this._enabled=this.enabled(St),this._validator=this._enabled?this.createValidator(St):W,this._onChange&&this._onChange()}}validate($e){return this._validator($e)}registerOnValidatorChange($e){this._onChange=$e}enabled($e){return null!=$e}static#e=this.\u0275fac=function(St){return new(St||Xe)};static#t=this.\u0275dir=t.FsC({type:Xe,features:[t.OA$]})}return Xe})();const or={provide:z,useExisting:(0,t.Rfq)(()=>Di),multi:!0};let Di=(()=>{class Xe extends _i{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=$e=>function gi(Xe){return"number"==typeof Xe?Xe:parseFloat(Xe)}($e),this.createValidator=$e=>function D(Xe){return ut=>{if(A(ut.value)||A(Xe))return null;const $e=parseFloat(ut.value);return!isNaN($e)&&$e<Xe?{min:{min:Xe,actual:ut.value}}:null}}($e)}static#e=this.\u0275fac=(()=>{let $e;return function(nn){return($e||($e=t.xGo(Xe)))(nn||Xe)}})();static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(St,nn){2&St&&t.BMQ("min",nn._enabled?nn.min:null)},inputs:{min:"min"},features:[t.Jv_([or]),t.Vt3]})}return Xe})();const ro={provide:z,useExisting:(0,t.Rfq)(()=>Zo),multi:!0};let Zo=(()=>{class Xe extends _i{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=$e=>function ii(Xe){return"number"==typeof Xe?Xe:parseInt(Xe,10)}($e),this.createValidator=$e=>function J(Xe){return ut=>function K(Xe){return null!=Xe&&"number"==typeof Xe.length}(ut.value)&&ut.value.length>Xe?{maxlength:{requiredLength:Xe,actualLength:ut.value.length}}:null}($e)}static#e=this.\u0275fac=(()=>{let $e;return function(nn){return($e||($e=t.xGo(Xe)))(nn||Xe)}})();static#t=this.\u0275dir=t.FsC({type:Xe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(St,nn){2&St&&t.BMQ("maxlength",nn._enabled?nn.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t.Jv_([ro]),t.Vt3]})}return Xe})(),po=(()=>{class Xe{static#e=this.\u0275fac=function(St){return new(St||Xe)};static#t=this.\u0275mod=t.$C({type:Xe});static#n=this.\u0275inj=t.G2t({})}return Xe})(),vo=(()=>{class Xe{static withConfig($e){return{ngModule:Xe,providers:[{provide:Jt,useValue:$e.callSetDisabledState??pn}]}}static#e=this.\u0275fac=function(St){return new(St||Xe)};static#t=this.\u0275mod=t.$C({type:Xe});static#n=this.\u0275inj=t.G2t({imports:[po]})}return Xe})(),fr=(()=>{class Xe{static withConfig($e){return{ngModule:Xe,providers:[{provide:gr,useValue:$e.warnOnNgModelWithFormControl??"always"},{provide:Jt,useValue:$e.callSetDisabledState??pn}]}}static#e=this.\u0275fac=function(St){return new(St||Xe)};static#t=this.\u0275mod=t.$C({type:Xe});static#n=this.\u0275inj=t.G2t({imports:[po]})}return Xe})()},345:(Nt,Le,a)=>{"use strict";a.d(Le,{Bb:()=>we,hE:()=>Ot,pJ:()=>Bt,sG:()=>yt,up:()=>X,zw:()=>sn});var t=a(4438),c=a(177);class m extends c.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class x extends m{static makeCurrent(){(0,c.ZD)(new x)}onAndCancel(zt,wt,Qe){return zt.addEventListener(wt,Qe),()=>{zt.removeEventListener(wt,Qe)}}dispatchEvent(zt,wt){zt.dispatchEvent(wt)}remove(zt){zt.parentNode&&zt.parentNode.removeChild(zt)}createElement(zt,wt){return(wt=wt||this.getDefaultDocument()).createElement(zt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(zt){return zt.nodeType===Node.ELEMENT_NODE}isShadowRoot(zt){return zt instanceof DocumentFragment}getGlobalEventTarget(zt,wt){return"window"===wt?window:"document"===wt?zt:"body"===wt?zt.body:null}getBaseHref(zt){const wt=function b(){return _=_||document.querySelector("base"),_?_.getAttribute("href"):null}();return null==wt?null:function v(Ut){return new URL(Ut,document.baseURI).pathname}(wt)}resetBaseElement(){_=null}getUserAgent(){return window.navigator.userAgent}getCookie(zt){return(0,c._b)(document.cookie,zt)}}let _=null,N=(()=>{class Ut{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac})}return Ut})();const p=new t.nKC("");let P=(()=>{class Ut{constructor(wt,Qe){this._zone=Qe,this._eventNameToPlugin=new Map,wt.forEach(ot=>{ot.manager=this}),this._plugins=wt.slice().reverse()}addEventListener(wt,Qe,ot){return this._findPluginFor(Qe).addEventListener(wt,Qe,ot)}getZone(){return this._zone}_findPluginFor(wt){let Qe=this._eventNameToPlugin.get(wt);if(Qe)return Qe;if(Qe=this._plugins.find(Vt=>Vt.supports(wt)),!Qe)throw new t.wOt(5101,!1);return this._eventNameToPlugin.set(wt,Qe),Qe}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(p),t.KVO(t.SKi))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac})}return Ut})();class g{constructor(zt){this._doc=zt}}const U="ng-app-id";let G=(()=>{class Ut{constructor(wt,Qe,ot,Vt={}){this.doc=wt,this.appId=Qe,this.nonce=ot,this.platformId=Vt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,c.Vy)(Vt),this.resetHostNodes()}
1addStyles(wt){for(const Qe of wt)1===this.changeUsageCount(Qe,1)&&this.onStyleAdded(Qe)}removeStyles(wt){for(const Qe of wt)this.changeUsageCount(Qe,-1)<=0&&this.onStyleRemoved(Qe)}ngOnDestroy(){const wt=this.styleNodesInDOM;wt&&(wt.forEach(Qe=>Qe.remove()),wt.clear());for(const Qe of this.getAllStyles())this.onStyleRemoved(Qe);this.resetHostNodes()}addHost(wt){this.hostNodes.add(wt);for(const Qe of this.getAllStyles())this.addStyleToHost(wt,Qe)}removeHost(wt){this.hostNodes.delete(wt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(wt){for(const Qe of this.hostNodes)this.addStyleToHost(Qe,wt)}onStyleRemoved(wt){const Qe=this.styleRef;Qe.get(wt)?.elements?.forEach(ot=>ot.remove()),Qe.delete(wt)}collectServerRenderedStyles(){const wt=this.doc.head?.querySelectorAll(`style[${U}="${this.appId}"]`);if(wt?.length){const Qe=new Map;return wt.forEach(ot=>{null!=ot.textContent&&Qe.set(ot.textContent,ot)}),Qe}return null}changeUsageCount(wt,Qe){const ot=this.styleRef;if(ot.has(wt)){const Vt=ot.get(wt);return Vt.usage+=Qe,Vt.usage}return ot.set(wt,{usage:Qe,elements:[]}),Qe}getStyleElement(wt,Qe){const ot=this.styleNodesInDOM,Vt=ot?.get(Qe);if(Vt?.parentNode===wt)return ot.delete(Qe),Vt.removeAttribute(U),Vt;{const rn=this.doc.createElement("style");return this.nonce&&rn.setAttribute("nonce",this.nonce),rn.textContent=Qe,this.platformIsServer&&rn.setAttribute(U,this.appId),wt.appendChild(rn),rn}}addStyleToHost(wt,Qe){const ot=this.getStyleElement(wt,Qe),Vt=this.styleRef,rn=Vt.get(Qe)?.elements;rn?rn.push(ot):Vt.set(Qe,{elements:[ot],usage:1})}resetHostNodes(){const wt=this.hostNodes;wt.clear(),wt.add(this.doc.head)}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(c.qQ),t.KVO(t.sZ2),t.KVO(t.BIS,8),t.KVO(t.Agw))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac})}return Ut})();const A={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},K=/%COMP%/g,z="%COMP%",ee=`_nghost-${z}`,L=`_ngcontent-${z}`,D=new t.nKC("",{providedIn:"root",factory:()=>!0});function j(Ut,zt){return zt.map(wt=>wt.replace(K,Ut))}let fe=(()=>{class Ut{constructor(wt,Qe,ot,Vt,rn,wn,jn,Pt=null){this.eventManager=wt,this.sharedStylesHost=Qe,this.appId=ot,this.removeStylesOnCompDestroy=Vt,this.doc=rn,this.platformId=wn,this.ngZone=jn,this.nonce=Pt,this.rendererByCompId=new Map,this.platformIsServer=(0,c.Vy)(wn),this.defaultRenderer=new H(wt,rn,jn,this.platformIsServer)}createRenderer(wt,Qe){if(!wt||!Qe)return this.defaultRenderer;this.platformIsServer&&Qe.encapsulation===t.gXe.ShadowDom&&(Qe={...Qe,encapsulation:t.gXe.Emulated});const ot=this.getOrCreateRenderer(wt,Qe);return ot instanceof Re?ot.applyToHost(wt):ot instanceof le&&ot.applyStyles(),ot}getOrCreateRenderer(wt,Qe){const ot=this.rendererByCompId;let Vt=ot.get(Qe.id);if(!Vt){const rn=this.doc,wn=this.ngZone,jn=this.eventManager,Pt=this.sharedStylesHost,Lt=this.removeStylesOnCompDestroy,Jt=this.platformIsServer;switch(Qe.encapsulation){case t.gXe.Emulated:Vt=new Re(jn,Pt,Qe,this.appId,Lt,rn,wn,Jt);break;case t.gXe.ShadowDom:return new re(jn,Pt,wt,Qe,rn,wn,this.nonce,Jt);default:Vt=new le(jn,Pt,Qe,Lt,rn,wn,Jt)}ot.set(Qe.id,Vt)}return Vt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(P),t.KVO(G),t.KVO(t.sZ2),t.KVO(D),t.KVO(c.qQ),t.KVO(t.Agw),t.KVO(t.SKi),t.KVO(t.BIS))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac})}return Ut})();class H{constructor(zt,wt,Qe,ot){this.eventManager=zt,this.doc=wt,this.ngZone=Qe,this.platformIsServer=ot,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(zt,wt){return wt?this.doc.createElementNS(A[wt]||wt,zt):this.doc.createElement(zt)}createComment(zt){return this.doc.createComment(zt)}createText(zt){return this.doc.createTextNode(zt)}appendChild(zt,wt){(W(zt)?zt.content:zt).appendChild(wt)}insertBefore(zt,wt,Qe){zt&&(W(zt)?zt.content:zt).insertBefore(wt,Qe)}removeChild(zt,wt){zt&&zt.removeChild(wt)}selectRootElement(zt,wt){let Qe="string"==typeof zt?this.doc.querySelector(zt):zt;if(!Qe)throw new t.wOt(-5104,!1);return wt||(Qe.textContent=""),Qe}parentNode(zt){return zt.parentNode}nextSibling(zt){return zt.nextSibling}setAttribute(zt,wt,Qe,ot){if(ot){wt=ot+":"+wt;const Vt=A[ot];Vt?zt.setAttributeNS(Vt,wt,Qe):zt.setAttribute(wt,Qe)}else zt.setAttribute(wt,Qe)}removeAttribute(zt,wt,Qe){if(Qe){const ot=A[Qe];ot?zt.removeAttributeNS(ot,wt):zt.removeAttribute(`${Qe}:${wt}`)}else zt.removeAttribute(wt)}addClass(zt,wt){zt.classList.add(wt)}removeClass(zt,wt){zt.classList.remove(wt)}setStyle(zt,wt,Qe,ot){ot&(t.czy.DashCase|t.czy.Important)?zt.style.setProperty(wt,Qe,ot&t.czy.Important?"important":""):zt.style[wt]=Qe}removeStyle(zt,wt,Qe){Qe&t.czy.DashCase?zt.style.removeProperty(wt):zt.style[wt]=""}setProperty(zt,wt,Qe){null!=zt&&(zt[wt]=Qe)}setValue(zt,wt){zt.nodeValue=wt}listen(zt,wt,Qe){if("string"==typeof zt&&!(zt=(0,c.QT)().getGlobalEventTarget(this.doc,zt)))throw new Error(`Unsupported event target ${zt} for event ${wt}`);return this.eventManager.addEventListener(zt,wt,this.decoratePreventDefault(Qe))}decoratePreventDefault(zt){return wt=>{if("__ngUnwrap__"===wt)return zt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>zt(wt)):zt(wt))&&wt.preventDefault()}}}function W(Ut){return"TEMPLATE"===Ut.tagName&&void 0!==Ut.content}class re extends H{constructor(zt,wt,Qe,ot,Vt,rn,wn,jn){super(zt,Vt,rn,jn),this.sharedStylesHost=wt,this.hostEl=Qe,this.shadowRoot=Qe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Pt=j(ot.id,ot.styles);for(const Lt of Pt){const Jt=document.createElement("style");wn&&Jt.setAttribute("nonce",wn),Jt.textContent=Lt,this.shadowRoot.appendChild(Jt)}}nodeOrShadowRoot(zt){return zt===this.hostEl?this.shadowRoot:zt}appendChild(zt,wt){return super.appendChild(this.nodeOrShadowRoot(zt),wt)}insertBefore(zt,wt,Qe){return super.insertBefore(this.nodeOrShadowRoot(zt),wt,Qe)}removeChild(zt,wt){return super.removeChild(this.nodeOrShadowRoot(zt),wt)}parentNode(zt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(zt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class le extends H{constructor(zt,wt,Qe,ot,Vt,rn,wn,jn){super(zt,Vt,rn,wn),this.sharedStylesHost=wt,this.removeStylesOnCompDestroy=ot,this.styles=jn?j(jn,Qe.styles):Qe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Re extends le{constructor(zt,wt,Qe,ot,Vt,rn,wn,jn){const Pt=ot+"-"+Qe.id;super(zt,wt,Qe,Vt,rn,wn,jn,Pt),this.contentAttr=function R(Ut){return L.replace(K,Ut)}(Pt),this.hostAttr=function S(Ut){return ee.replace(K,Ut)}(Pt)}
1applyToHost(zt){this.applyStyles(),this.setAttribute(zt,this.hostAttr,"")}createElement(zt,wt){const Qe=super.createElement(zt,wt);return super.setAttribute(Qe,this.contentAttr,""),Qe}}let Be=(()=>{class Ut extends g{constructor(wt){super(wt)}supports(wt){return!0}addEventListener(wt,Qe,ot){return wt.addEventListener(Qe,ot,!1),()=>this.removeEventListener(wt,Qe,ot)}removeEventListener(wt,Qe,ot){return wt.removeEventListener(Qe,ot)}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(c.qQ))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac})}return Ut})();const Fe=["alt","control","meta","shift"],ue={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ce={alt:Ut=>Ut.altKey,control:Ut=>Ut.ctrlKey,meta:Ut=>Ut.metaKey,shift:Ut=>Ut.shiftKey};let _e=(()=>{class Ut extends g{constructor(wt){super(wt)}supports(wt){return null!=Ut.parseEventName(wt)}addEventListener(wt,Qe,ot){const Vt=Ut.parseEventName(Qe),rn=Ut.eventCallback(Vt.fullKey,ot,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.QT)().onAndCancel(wt,Vt.domEventName,rn))}static parseEventName(wt){const Qe=wt.toLowerCase().split("."),ot=Qe.shift();if(0===Qe.length||"keydown"!==ot&&"keyup"!==ot)return null;const Vt=Ut._normalizeKey(Qe.pop());let rn="",wn=Qe.indexOf("code");if(wn>-1&&(Qe.splice(wn,1),rn="code."),Fe.forEach(Pt=>{const Lt=Qe.indexOf(Pt);Lt>-1&&(Qe.splice(Lt,1),rn+=Pt+".")}),rn+=Vt,0!=Qe.length||0===Vt.length)return null;const jn={};return jn.domEventName=ot,jn.fullKey=rn,jn}static matchEventFullKeyCode(wt,Qe){let ot=ue[wt.key]||wt.key,Vt="";return Qe.indexOf("code.")>-1&&(ot=wt.code,Vt="code."),!(null==ot||!ot)&&(ot=ot.toLowerCase()," "===ot?ot="space":"."===ot&&(ot="dot"),Fe.forEach(rn=>{rn!==ot&&(0,ce[rn])(wt)&&(Vt+=rn+".")}),Vt+=ot,Vt===Qe)}static eventCallback(wt,Qe,ot){return Vt=>{Ut.matchEventFullKeyCode(Vt,wt)&&ot.runGuarded(()=>Qe(Vt))}}static _normalizeKey(wt){return"esc"===wt?"escape":wt}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(c.qQ))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac})}return Ut})();const yt=(0,t.oH4)(t.fpN,"browser",[{provide:t.Agw,useValue:c.AJ},{provide:t.PLl,useValue:function Ne(){x.makeCurrent()},multi:!0},{provide:c.qQ,useFactory:function De(){return(0,t.TL$)(document),document},deps:[]}]),dt=new t.nKC(""),Je=[{provide:t.e01,useClass:class M{addToWindow(zt){t.JZv.getAngularTestability=(Qe,ot=!0)=>{const Vt=zt.findTestabilityInTree(Qe,ot);if(null==Vt)throw new t.wOt(5103,!1);return Vt},t.JZv.getAllAngularTestabilities=()=>zt.getAllTestabilities(),t.JZv.getAllAngularRootElements=()=>zt.getAllRootElements(),t.JZv.frameworkStabilizers||(t.JZv.frameworkStabilizers=[]),t.JZv.frameworkStabilizers.push(Qe=>{const ot=t.JZv.getAllAngularTestabilities();let Vt=ot.length;const rn=function(){Vt--,0==Vt&&Qe()};ot.forEach(wn=>{wn.whenStable(rn)})})}findTestabilityInTree(zt,wt,Qe){return null==wt?null:zt.getTestability(wt)??(Qe?(0,c.QT)().isShadowRoot(wt)?this.findTestabilityInTree(zt,wt.host,!0):this.findTestabilityInTree(zt,wt.parentElement,!0):null)}},deps:[]},{provide:t.WHO,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]},{provide:t.NYb,useClass:t.NYb,deps:[t.SKi,t.giA,t.e01]}],Ce=[{provide:t.H8p,useValue:"root"},{provide:t.zcH,useFactory:function Ie(){return new t.zcH},deps:[]},{provide:p,useClass:Be,multi:!0,deps:[c.qQ,t.SKi,t.Agw]},{provide:p,useClass:_e,multi:!0,deps:[c.qQ]},fe,G,P,{provide:t._9s,useExisting:fe},{provide:c.N0,useClass:N,deps:[]},[]];let we=(()=>{class Ut{constructor(wt){}static withServerTransition(wt){return{ngModule:Ut,providers:[{provide:t.sZ2,useValue:wt.appId}]}}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(dt,12))};static#t=this.\u0275mod=t.$C({type:Ut});static#n=this.\u0275inj=t.G2t({providers:[...Ce,...Je],imports:[c.MD,t.Hbi]})}return Ut})(),Ot=(()=>{class Ut{constructor(wt){this._doc=wt}getTitle(){return this._doc.title}setTitle(wt){this._doc.title=wt||""}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(c.qQ))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})(),X=(()=>{class Ut{static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)};static#t=this.\u0275prov=t.jDH({token:Ut,factory:function(Qe){let ot=null;return ot=Qe?new(Qe||Ut):t.KVO(Ve),ot},providedIn:"root"})}return Ut})(),Ve=(()=>{class Ut extends X{constructor(wt){super(),this._doc=wt}sanitize(wt,Qe){if(null==Qe)return null;switch(wt){case t.WPN.NONE:return Qe;case t.WPN.HTML:return(0,t.ZF7)(Qe,"HTML")?(0,t.rcV)(Qe):(0,t.h9k)(this._doc,String(Qe)).toString();case t.WPN.STYLE:return(0,t.ZF7)(Qe,"Style")?(0,t.rcV)(Qe):Qe;case t.WPN.SCRIPT:if((0,t.ZF7)(Qe,"Script"))return(0,t.rcV)(Qe);throw new t.wOt(5200,!1);case t.WPN.URL:return(0,t.ZF7)(Qe,"URL")?(0,t.rcV)(Qe):(0,t.$MX)(String(Qe));case t.WPN.RESOURCE_URL:if((0,t.ZF7)(Qe,"ResourceURL"))return(0,t.rcV)(Qe);throw new t.wOt(5201,!1);default:throw new t.wOt(5202,!1)}}bypassSecurityTrustHtml(wt){return(0,t.Kcf)(wt)}bypassSecurityTrustStyle(wt){return(0,t.cWb)(wt)}bypassSecurityTrustScript(wt){return(0,t.UyX)(wt)}bypassSecurityTrustUrl(wt){return(0,t.osQ)(wt)}bypassSecurityTrustResourceUrl(wt){return(0,t.e5t)(wt)}static#e=this.\u0275fac=function(Qe){return new(Qe||Ut)(t.KVO(c.qQ))};static#t=this.\u0275prov=t.jDH({token:Ut,factory:Ut.\u0275fac,providedIn:"root"})}return Ut})();const sn=t.zw6,Bt=t.pJN},2791:(Nt,Le,a)=>{"use strict";a.d(Le,{nX:()=>Xr,wF:()=>Pi,Ix:()=>_r,Wk:()=>mi,iI:()=>Oi,n3:()=>Yt});var t=a(4438),c=a(4402),m=a(6648),x=a(7673),_=a(4412),b=a(4572),v=a(9350),M=a(8793),N=a(9030),p=a(1203),P=a(8810),g=a(983),U=a(1985),G=a(8359),A=a(9974),K=a(4360);function z(){return(0,A.N)((ae,Pe)=>{let de=null;ae._refCount++;const k=(0,K._)(Pe,void 0,void 0,void 0,()=>{if(!ae||ae._refCount<=0||0<--ae._refCount)return void(de=null);const q=ae._connection,xe=de;de=null,q&&(!xe||q===xe)&&q.unsubscribe(),Pe.unsubscribe()});ae.subscribe(k),k.closed||(de=ae.connect())})}class ee extends U.c{constructor(Pe,de){super(),this.source=Pe,this.subjectFactory=de,this._subject=null,this._refCount=0,this._connection=null,(0,A.S)(Pe)&&(this.lift=Pe.lift)}
1_subscribe(Pe){return this.getSubject().subscribe(Pe)}getSubject(){const Pe=this._subject;return(!Pe||Pe.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Pe}=this;this._subject=this._connection=null,Pe?.unsubscribe()}connect(){let Pe=this._connection;if(!Pe){Pe=this._connection=new G.yU;const de=this.getSubject();Pe.add(this.source.subscribe((0,K._)(de,void 0,()=>{this._teardown(),de.complete()},k=>{this._teardown(),de.error(k)},()=>this._teardown()))),Pe.closed&&(this._connection=null,Pe=G.yU.EMPTY)}return Pe}refCount(){return z()(this)}}var L=a(1413),f=a(177),D=a(6354),R=a(5558),S=a(6697),j=a(9172),fe=a(5964),H=a(1397),J=a(1594),Y=a(274),W=a(8141),re=a(9437);var Be=a(9901);function Fe(ae){return ae<=0?()=>g.w:(0,A.N)((Pe,de)=>{let k=[];Pe.subscribe((0,K._)(de,q=>{k.push(q),ae<k.length&&k.shift()},()=>{for(const q of k)de.next(q);de.complete()},void 0,()=>{k=null}))})}var ue=a(3774),ce=a(3669),ne=a(3703),Z=a(980),ve=a(6977),ke=a(6365),Ne=a(345);const Ie="primary",De=Symbol("RouteTitle");class et{constructor(Pe){this.params=Pe||{}}has(Pe){return Object.prototype.hasOwnProperty.call(this.params,Pe)}get(Pe){if(this.has(Pe)){const de=this.params[Pe];return Array.isArray(de)?de[0]:de}return null}getAll(Pe){if(this.has(Pe)){const de=this.params[Pe];return Array.isArray(de)?de:[de]}return[]}get keys(){return Object.keys(this.params)}}function yt(ae){return new et(ae)}function dt(ae,Pe,de){const k=de.path.split("/");if(k.length>ae.length||"full"===de.pathMatch&&(Pe.hasChildren()||k.length<ae.length))return null;const q={};for(let xe=0;xe<k.length;xe++){const nt=k[xe],Ft=ae[xe];if(nt.startsWith(":"))q[nt.substring(1)]=Ft;else if(nt!==Ft.path)return null}return{consumed:ae.slice(0,k.length),posParams:q}}function Ce(ae,Pe){const de=ae?we(ae):void 0,k=Pe?we(Pe):void 0;if(!de||!k||de.length!=k.length)return!1;let q;for(let xe=0;xe<de.length;xe++)if(q=de[xe],!Ee(ae[q],Pe[q]))return!1;return!0}function we(ae){return[...Object.keys(ae),...Object.getOwnPropertySymbols(ae)]}function Ee(ae,Pe){if(Array.isArray(ae)&&Array.isArray(Pe)){if(ae.length!==Pe.length)return!1;const de=[...ae].sort(),k=[...Pe].sort();return de.every((q,xe)=>k[xe]===q)}return ae===Pe}function He(ae){return ae.length>0?ae[ae.length-1]:null}function Ot(ae){return(0,c.A)(ae)?ae:(0,t.jNT)(ae)?(0,m.H)(Promise.resolve(ae)):(0,x.of)(ae)}const It={exact:function Zt(ae,Pe,de){if(!Ze(ae.segments,Pe.segments)||!Ke(ae.segments,Pe.segments,de)||ae.numberOfChildren!==Pe.numberOfChildren)return!1;for(const k in Pe.children)if(!ae.children[k]||!Zt(ae.children[k],Pe.children[k],de))return!1;return!0},subset:rt},un={exact:function Ln(ae,Pe){return Ce(ae,Pe)},subset:function ct(ae,Pe){return Object.keys(Pe).length<=Object.keys(ae).length&&Object.keys(Pe).every(de=>Ee(ae[de],Pe[de]))},ignored:()=>!0};function ln(ae,Pe,de){return It[de.paths](ae.root,Pe.root,de.matrixParams)&&un[de.queryParams](ae.queryParams,Pe.queryParams)&&!("exact"===de.fragment&&ae.fragment!==Pe.fragment)}function rt(ae,Pe,de){return Ae(ae,Pe,Pe.segments,de)}function Ae(ae,Pe,de,k){if(ae.segments.length>de.length){const q=ae.segments.slice(0,de.length);return!(!Ze(q,de)||Pe.hasChildren()||!Ke(q,de,k))}if(ae.segments.length===de.length){if(!Ze(ae.segments,de)||!Ke(ae.segments,de,k))return!1;for(const q in Pe.children)if(!ae.children[q]||!rt(ae.children[q],Pe.children[q],k))return!1;return!0}{const q=de.slice(0,ae.segments.length),xe=de.slice(ae.segments.length);return!!(Ze(ae.segments,q)&&Ke(ae.segments,q,k)&&ae.children[Ie])&&Ae(ae.children[Ie],Pe,xe,k)}}function Ke(ae,Pe,de){return Pe.every((k,q)=>un[de](ae[q].parameters,k.parameters))}class vt{constructor(Pe=new Wt([],{}),de={},k=null){this.root=Pe,this.queryParams=de,this.fragment=k}get queryParamMap(){return this._queryParamMap??=yt(this.queryParams),this._queryParamMap}toString(){return at.serialize(this)}}class Wt{constructor(Pe,de){this.segments=Pe,this.children=de,this.parent=null,Object.values(de).forEach(k=>k.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return V(this)}}class ze{constructor(Pe,de){this.path=Pe,this.parameters=de}get parameterMap(){return this._parameterMap??=yt(this.parameters),this._parameterMap}toString(){return zt(this)}}function Ze(ae,Pe){return ae.length===Pe.length&&ae.every((de,k)=>de.path===Pe[k].path)}let Ve=(()=>{class ae{static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:()=>new st,providedIn:"root"})}return ae})();class st{parse(Pe){const de=new pn(Pe);return new vt(de.parseRootSegment(),de.parseQueryParams(),de.parseFragment())}serialize(Pe){const de=`/${pe(Pe.root,!0)}`,k=function Qe(ae){const Pe=Object.entries(ae).map(([de,k])=>Array.isArray(k)?k.map(q=>`${ft(de)}=${ft(q)}`).join("&"):`${ft(de)}=${ft(k)}`).filter(de=>de);return Pe.length?`?${Pe.join("&")}`:""}(Pe.queryParams);return`${de}${k}${"string"==typeof Pe.fragment?`#${function At(ae){return encodeURI(ae)}(Pe.fragment)}`:""}`}}const at=new st;function V(ae){return ae.segments.map(Pe=>zt(Pe)).join("/")}function pe(ae,Pe){if(!ae.hasChildren())return V(ae);if(Pe){const de=ae.children[Ie]?pe(ae.children[Ie],!1):"",k=[];
1return Object.entries(ae.children).forEach(([q,xe])=>{q!==Ie&&k.push(`${q}:${pe(xe,!1)}`)}),k.length>0?`${de}(${k.join("//")})`:de}{const de=function X(ae,Pe){let de=[];return Object.entries(ae.children).forEach(([k,q])=>{k===Ie&&(de=de.concat(Pe(q,k)))}),Object.entries(ae.children).forEach(([k,q])=>{k!==Ie&&(de=de.concat(Pe(q,k)))}),de}(ae,(k,q)=>q===Ie?[pe(ae.children[Ie],!1)]:[`${q}:${pe(k,!1)}`]);return 1===Object.keys(ae.children).length&&null!=ae.children[Ie]?`${V(ae)}/${de[0]}`:`${V(ae)}/(${de.join("//")})`}}function Te(ae){return encodeURIComponent(ae).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ft(ae){return Te(ae).replace(/%3B/gi,";")}function sn(ae){return Te(ae).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bt(ae){return decodeURIComponent(ae)}function Ut(ae){return Bt(ae.replace(/\+/g,"%20"))}function zt(ae){return`${sn(ae.path)}${function wt(ae){return Object.entries(ae).map(([Pe,de])=>`;${sn(Pe)}=${sn(de)}`).join("")}(ae.parameters)}`}const ot=/^[^\/()?;#]+/;function Vt(ae){const Pe=ae.match(ot);return Pe?Pe[0]:""}const rn=/^[^\/()?;=#]+/,jn=/^[^=?&#]+/,Lt=/^[^&#]+/;class pn{constructor(Pe){this.url=Pe,this.remaining=Pe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Wt([],{}):new Wt([],this.parseChildren())}parseQueryParams(){const Pe={};if(this.consumeOptional("?"))do{this.parseQueryParam(Pe)}while(this.consumeOptional("&"));return Pe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Pe=[];for(this.peekStartsWith("(")||Pe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Pe.push(this.parseSegment());let de={};this.peekStartsWith("/(")&&(this.capture("/"),de=this.parseParens(!0));let k={};return this.peekStartsWith("(")&&(k=this.parseParens(!1)),(Pe.length>0||Object.keys(de).length>0)&&(k[Ie]=new Wt(Pe,de)),k}parseSegment(){const Pe=Vt(this.remaining);if(""===Pe&&this.peekStartsWith(";"))throw new t.wOt(4009,!1);return this.capture(Pe),new ze(Bt(Pe),this.parseMatrixParams())}parseMatrixParams(){const Pe={};for(;this.consumeOptional(";");)this.parseParam(Pe);return Pe}parseParam(Pe){const de=function wn(ae){const Pe=ae.match(rn);return Pe?Pe[0]:""}(this.remaining);if(!de)return;this.capture(de);let k="";if(this.consumeOptional("=")){const q=Vt(this.remaining);q&&(k=q,this.capture(k))}Pe[Bt(de)]=Bt(k)}parseQueryParam(Pe){const de=function Pt(ae){const Pe=ae.match(jn);return Pe?Pe[0]:""}(this.remaining);if(!de)return;this.capture(de);let k="";if(this.consumeOptional("=")){const nt=function Jt(ae){const Pe=ae.match(Lt);return Pe?Pe[0]:""}(this.remaining);nt&&(k=nt,this.capture(k))}const q=Ut(de),xe=Ut(k);if(Pe.hasOwnProperty(q)){let nt=Pe[q];Array.isArray(nt)||(nt=[nt],Pe[q]=nt),nt.push(xe)}else Pe[q]=xe}parseParens(Pe){const de={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const k=Vt(this.remaining),q=this.remaining[k.length];if("/"!==q&&")"!==q&&";"!==q)throw new t.wOt(4010,!1);let xe;k.indexOf(":")>-1?(xe=k.slice(0,k.indexOf(":")),this.capture(xe),this.capture(":")):Pe&&(xe=Ie);const nt=this.parseChildren();de[xe]=1===Object.keys(nt).length?nt[Ie]:new Wt([],nt),this.consumeOptional("//")}return de}peekStartsWith(Pe){return this.remaining.startsWith(Pe)}consumeOptional(Pe){return!!this.peekStartsWith(Pe)&&(this.remaining=this.remaining.substring(Pe.length),!0)}capture(Pe){if(!this.consumeOptional(Pe))throw new t.wOt(4011,!1)}}function Dn(ae){return ae.segments.length>0?new Wt([],{[Ie]:ae}):ae}function zn(ae){const Pe={};for(const[k,q]of Object.entries(ae.children)){const xe=zn(q);if(k===Ie&&0===xe.segments.length&&xe.hasChildren())for(const[nt,Ft]of Object.entries(xe.children))Pe[nt]=Ft;else(xe.segments.length>0||xe.hasChildren())&&(Pe[k]=xe)}return function Dt(ae){if(1===ae.numberOfChildren&&ae.children[Ie]){const Pe=ae.children[Ie];return new Wt(ae.segments.concat(Pe.segments),Pe.children)}return ae}(new Wt(ae.segments,Pe))}function it(ae){return ae instanceof vt}function d(ae){let Pe;const q=Dn(function de(xe){const nt={};for(const $t of xe.children){const dn=de($t);nt[$t.outlet]=dn}const Ft=new Wt(xe.url,nt);return xe===ae&&(Pe=Ft),Ft}(ae.root));return Pe??q}function O(ae,Pe,de,k){let q=ae;for(;q.parent;)q=q.parent;if(0===Pe.length)return be(q,q,q,de,k);const xe=function Oe(ae){if("string"==typeof ae[0]&&1===ae.length&&"/"===ae[0])return new w(!0,0,ae);let Pe=0,de=!1;const k=ae.reduce((q,xe,nt)=>{if("object"==typeof xe&&null!=xe){if(xe.outlets){const Ft={};
1return Object.entries(xe.outlets).forEach(([$t,dn])=>{Ft[$t]="string"==typeof dn?dn.split("/"):dn}),[...q,{outlets:Ft}]}if(xe.segmentPath)return[...q,xe.segmentPath]}return"string"!=typeof xe?[...q,xe]:0===nt?(xe.split("/").forEach((Ft,$t)=>{0==$t&&"."===Ft||(0==$t&&""===Ft?de=!0:".."===Ft?Pe++:""!=Ft&&q.push(Ft))}),q):[...q,xe]},[]);return new w(de,Pe,k)}(Pe);if(xe.toRoot())return be(q,q,new Wt([],{}),de,k);const nt=function Kn(ae,Pe,de){if(ae.isAbsolute)return new en(Pe,!0,0);if(!de)return new en(Pe,!1,NaN);if(null===de.parent)return new en(de,!0,0);const k=T(ae.commands[0])?0:1;return function xi(ae,Pe,de){let k=ae,q=Pe,xe=de;for(;xe>q;){if(xe-=q,k=k.parent,!k)throw new t.wOt(4005,!1);q=k.segments.length}return new en(k,!1,q-xe)}(de,de.segments.length-1+k,ae.numberOfDoubleDots)}(xe,q,ae),Ft=nt.processChildren?kt(nt.segmentGroup,nt.index,xe.commands):Qt(nt.segmentGroup,nt.index,xe.commands);return be(q,nt.segmentGroup,Ft,de,k)}function T(ae){return"object"==typeof ae&&null!=ae&&!ae.outlets&&!ae.segmentPath}function Me(ae){return"object"==typeof ae&&null!=ae&&ae.outlets}function be(ae,Pe,de,k,q){let nt,xe={};k&&Object.entries(k).forEach(([$t,dn])=>{xe[$t]=Array.isArray(dn)?dn.map(Fn=>`${Fn}`):`${dn}`}),nt=ae===Pe?de:h(ae,Pe,de);const Ft=Dn(zn(nt));return new vt(Ft,xe,q)}function h(ae,Pe,de){const k={};return Object.entries(ae.children).forEach(([q,xe])=>{k[q]=xe===Pe?de:h(xe,Pe,de)}),new Wt(ae.segments,k)}class w{constructor(Pe,de,k){if(this.isAbsolute=Pe,this.numberOfDoubleDots=de,this.commands=k,Pe&&k.length>0&&T(k[0]))throw new t.wOt(4003,!1);const q=k.find(Me);if(q&&q!==He(k))throw new t.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class en{constructor(Pe,de,k){this.segmentGroup=Pe,this.processChildren=de,this.index=k}}function Qt(ae,Pe,de){if(ae??=new Wt([],{}),0===ae.segments.length&&ae.hasChildren())return kt(ae,Pe,de);const k=function xn(ae,Pe,de){let k=0,q=Pe;const xe={match:!1,pathIndex:0,commandIndex:0};for(;q<ae.segments.length;){if(k>=de.length)return xe;const nt=ae.segments[q],Ft=de[k];if(Me(Ft))break;const $t=`${Ft}`,dn=k<de.length-1?de[k+1]:null;if(q>0&&void 0===$t)break;if($t&&dn&&"object"==typeof dn&&void 0===dn.outlets){if(!fi($t,dn,nt))return xe;k+=2}else{if(!fi($t,{},nt))return xe;k++}q++}return{match:!0,pathIndex:q,commandIndex:k}}(ae,Pe,de),q=de.slice(k.commandIndex);if(k.match&&k.pathIndex<ae.segments.length){const xe=new Wt(ae.segments.slice(0,k.pathIndex),{});return xe.children[Ie]=new Wt(ae.segments.slice(k.pathIndex),ae.children),kt(xe,0,q)}return k.match&&0===q.length?new Wt(ae.segments,{}):k.match&&!ae.hasChildren()?Rn(ae,Pe,de):k.match?kt(ae,0,q):Rn(ae,Pe,de)}function kt(ae,Pe,de){if(0===de.length)return new Wt(ae.segments,{});{const k=function Tt(ae){return Me(ae[0])?ae[0].outlets:{[Ie]:ae}}(de),q={};if(Object.keys(k).some(xe=>xe!==Ie)&&ae.children[Ie]&&1===ae.numberOfChildren&&0===ae.children[Ie].segments.length){const xe=kt(ae.children[Ie],Pe,de);return new Wt(ae.segments,xe.children)}return Object.entries(k).forEach(([xe,nt])=>{"string"==typeof nt&&(nt=[nt]),null!==nt&&(q[xe]=Qt(ae.children[xe],Pe,nt))}),Object.entries(ae.children).forEach(([xe,nt])=>{void 0===k[xe]&&(q[xe]=nt)}),new Wt(ae.segments,q)}}function Rn(ae,Pe,de){const k=ae.segments.slice(0,Pe);let q=0;for(;q<de.length;){const xe=de[q];if(Me(xe)){const $t=Tn(xe.outlets);return new Wt(k,$t)}if(0===q&&T(de[0])){k.push(new ze(ae.segments[Pe].path,Qn(de[0]))),q++;continue}const nt=Me(xe)?xe.outlets[Ie]:`${xe}`,Ft=q<de.length-1?de[q+1]:null;nt&&Ft&&T(Ft)?(k.push(new ze(nt,Qn(Ft))),q+=2):(k.push(new ze(nt,{})),q++)}return new Wt(k,{})}function Tn(ae){const Pe={};return Object.entries(ae).forEach(([de,k])=>{"string"==typeof k&&(k=[k]),null!==k&&(Pe[de]=Rn(new Wt([],{}),0,k))}),Pe}function Qn(ae){const Pe={};return Object.entries(ae).forEach(([de,k])=>Pe[de]=`${k}`),Pe}function fi(ae,Pe,de){return ae==de.path&&Ce(Pe,de.parameters)}const ni="imperative";var oi=function(ae){return ae[ae.NavigationStart=0]="NavigationStart",ae[ae.NavigationEnd=1]="NavigationEnd",ae[ae.NavigationCancel=2]="NavigationCancel",ae[ae.NavigationError=3]="NavigationError",ae[ae.RoutesRecognized=4]="RoutesRecognized",ae[ae.ResolveStart=5]="ResolveStart",ae[ae.ResolveEnd=6]="ResolveEnd",ae[ae.GuardsCheckStart=7]="GuardsCheckStart",ae[ae.GuardsCheckEnd=8]="GuardsCheckEnd",ae[ae.RouteConfigLoadStart=9]="RouteConfigLoadStart",ae[ae.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",ae[ae.ChildActivationStart=11]="ChildActivationStart",ae[ae.ChildActivationEnd=12]="ChildActivationEnd",ae[ae.ActivationStart=13]="ActivationStart",ae[ae.ActivationEnd=14]="ActivationEnd",ae[ae.Scroll=15]="Scroll",ae[ae.NavigationSkipped=16]="NavigationSkipped",ae}(oi||{});class Ai{constructor(Pe,de){this.id=Pe,this.url=de}}class Ti extends Ai{constructor(Pe,de,k="imperative",q=null){super(Pe,de),this.type=oi.NavigationStart,this.navigationTrigger=k,this.restoredState=q}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pi extends Ai{constructor(Pe,de,k){super(Pe,de),this.urlAfterRedirects=k,this.type=oi.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Gi=function(ae){return ae[ae.Redirect=0]="Redirect",ae[ae.SupersededByNewNavigation=1]="SupersededByNewNavigation",ae[ae.NoDataFromRe
1solver=2]="NoDataFromResolver",ae[ae.GuardRejected=3]="GuardRejected",ae}(Gi||{}),nr=function(ae){return ae[ae.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ae[ae.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ae}(nr||{});class Zn extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.reason=k,this.code=q,this.type=oi.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Mi extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.reason=k,this.code=q,this.type=oi.NavigationSkipped}}class lr extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.error=k,this.target=q,this.type=oi.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class oo extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.urlAfterRedirects=k,this.state=q,this.type=oi.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ji extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.urlAfterRedirects=k,this.state=q,this.type=oi.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uo extends Ai{constructor(Pe,de,k,q,xe){super(Pe,de),this.urlAfterRedirects=k,this.state=q,this.shouldActivate=xe,this.type=oi.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qi extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.urlAfterRedirects=k,this.state=q,this.type=oi.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vr extends Ai{constructor(Pe,de,k,q){super(Pe,de),this.urlAfterRedirects=k,this.state=q,this.type=oi.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class so{constructor(Pe){this.route=Pe,this.type=oi.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class bi{constructor(Pe){this.route=Pe,this.type=oi.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Li{constructor(Pe){this.snapshot=Pe,this.type=oi.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class br{constructor(Pe){this.snapshot=Pe,this.type=oi.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class no{constructor(Pe){this.snapshot=Pe,this.type=oi.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ao{constructor(Pe){this.snapshot=Pe,this.type=oi.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ls{constructor(Pe,de,k){this.routerEvent=Pe,this.position=de,this.anchor=k,this.type=oi.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Tr{}class Ur{constructor(Pe){this.url=Pe}}class Jr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Rr,this.attachRef=null}}let Rr=(()=>{class ae{constructor(){this.contexts=new Map}onChildOutletCreated(de,k){const q=this.getOrCreateContext(de);q.outlet=k,this.contexts.set(de,q)}onChildOutletDestroyed(de){const k=this.getContext(de);k&&(k.outlet=null,k.attachRef=null)}onOutletDeactivated(){const de=this.contexts;return this.contexts=new Map,de}onOutletReAttached(de){this.contexts=de}getOrCreateContext(de){let k=this.getContext(de);return k||(k=new Jr,this.contexts.set(de,k)),k}getContext(de){return this.contexts.get(de)||null}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();class gr{constructor(Pe){this._root=Pe}get root(){return this._root.value}
1parent(Pe){const de=this.pathFromRoot(Pe);return de.length>1?de[de.length-2]:null}children(Pe){const de=ho(Pe,this._root);return de?de.children.map(k=>k.value):[]}firstChild(Pe){const de=ho(Pe,this._root);return de&&de.children.length>0?de.children[0].value:null}siblings(Pe){const de=Hr(Pe,this._root);return de.length<2?[]:de[de.length-2].children.map(q=>q.value).filter(q=>q!==Pe)}pathFromRoot(Pe){return Hr(Pe,this._root).map(de=>de.value)}}function ho(ae,Pe){if(ae===Pe.value)return Pe;for(const de of Pe.children){const k=ho(ae,de);if(k)return k}return null}function Hr(ae,Pe){if(ae===Pe.value)return[Pe];for(const de of Pe.children){const k=Hr(ae,de);if(k.length)return k.unshift(Pe),k}return[]}class ao{constructor(Pe,de){this.value=Pe,this.children=de}toString(){return`TreeNode(${this.value})`}}function Cr(ae){const Pe={};return ae&&ae.children.forEach(de=>Pe[de.value.outlet]=de),Pe}class Bo extends gr{constructor(Pe,de){super(Pe),this.snapshot=de,is(this,Pe)}toString(){return this.snapshot.toString()}}function ur(ae){const Pe=function Uo(ae){const xe=new yr([],{},{},"",{},Ie,ae,null,{});return new Ri("",new ao(xe,[]))}(ae),de=new _.t([new ze("",{})]),k=new _.t({}),q=new _.t({}),xe=new _.t({}),nt=new _.t(""),Ft=new Xr(de,k,xe,nt,q,Ie,ae,Pe.root);return Ft.snapshot=Pe.root,new Bo(new ao(Ft,[]),Pe)}class Xr{constructor(Pe,de,k,q,xe,nt,Ft,$t){this.urlSubject=Pe,this.paramsSubject=de,this.queryParamsSubject=k,this.fragmentSubject=q,this.dataSubject=xe,this.outlet=nt,this.component=Ft,this._futureSnapshot=$t,this.title=this.dataSubject?.pipe((0,D.T)(dn=>dn[De]))??(0,x.of)(void 0),this.url=Pe,this.params=de,this.queryParams=k,this.fragment=q,this.data=xe}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,D.T)(Pe=>yt(Pe))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,D.T)(Pe=>yt(Pe))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Zr(ae,Pe,de="emptyOnly"){let k;const{routeConfig:q}=ae;return k=null===Pe||"always"!==de&&""!==q?.path&&(Pe.component||Pe.routeConfig?.loadComponent)?{params:{...ae.params},data:{...ae.data},resolve:{...ae.data,...ae._resolvedData??{}}}:{params:{...Pe.params,...ae.params},data:{...Pe.data,...ae.data},resolve:{...ae.data,...Pe.data,...q?.data,...ae._resolvedData}},q&&Xt(q)&&(k.resolve[De]=q.title),k}class yr{get title(){return this.data?.[De]}constructor(Pe,de,k,q,xe,nt,Ft,$t,dn){this.url=Pe,this.params=de,this.queryParams=k,this.fragment=q,this.data=xe,this.outlet=nt,this.component=Ft,this.routeConfig=$t,this._resolve=dn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=yt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=yt(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(k=>k.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ri extends gr{constructor(Pe,de){super(de),this.url=Pe,is(this,de)}toString(){return Ue(this._root)}}function is(ae,Pe){Pe.value._routerState=ae,Pe.children.forEach(de=>is(ae,de))}function Ue(ae){const Pe=ae.children.length>0?` { ${ae.children.map(Ue).join(", ")} } `:"";return`${ae.value}${Pe}`}function ht(ae){if(ae.snapshot){const Pe=ae.snapshot,de=ae._futureSnapshot;ae.snapshot=de,Ce(Pe.queryParams,de.queryParams)||ae.queryParamsSubject.next(de.queryParams),Pe.fragment!==de.fragment&&ae.fragmentSubject.next(de.fragment),Ce(Pe.params,de.params)||ae.paramsSubject.next(de.params),function Je(
1ae,Pe){if(ae.length!==Pe.length)return!1;for(let de=0;de<ae.length;++de)if(!Ce(ae[de],Pe[de]))return!1;return!0}(Pe.url,de.url)||ae.urlSubject.next(de.url),Ce(Pe.data,de.data)||ae.dataSubject.next(de.data)}else ae.snapshot=ae._futureSnapshot,ae.dataSubject.next(ae._futureSnapshot.data)}function bt(ae,Pe){const de=Ce(ae.params,Pe.params)&&function pt(ae,Pe){return Ze(ae,Pe)&&ae.every((de,k)=>Ce(de.parameters,Pe[k].parameters))}(ae.url,Pe.url);return de&&!(!ae.parent!=!Pe.parent)&&(!ae.parent||bt(ae.parent,Pe.parent))}function Xt(ae){return"string"==typeof ae.title||null===ae.title}let Yt=(()=>{class ae{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ie,this.activateEvents=new t.bkB,this.deactivateEvents=new t.bkB,this.attachEvents=new t.bkB,this.detachEvents=new t.bkB,this.parentContexts=(0,t.WQX)(Rr),this.location=(0,t.WQX)(t.c1b),this.changeDetector=(0,t.WQX)(t.gRc),this.environmentInjector=(0,t.WQX)(t.uvJ),this.inputBinder=(0,t.WQX)(gn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(de){if(de.name){const{firstChange:k,previousValue:q}=de.name;if(k)return;this.isTrackedInParentContexts(q)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(q)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(de){return this.parentContexts.getContext(de)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const de=this.parentContexts.getContext(this.name);de?.route&&(de.attachRef?this.attach(de.attachRef,de.route):this.activateWith(de.route,de.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.wOt(4012,!1);this.location.detach();const de=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(de.instance),de}attach(de,k){this.activated=de,this._activatedRoute=k,this.location.insert(de.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(de.instance)}deactivate(){if(this.activated){const de=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(de)}}activateWith(de,k){if(this.isActivated)throw new t.wOt(4013,!1);this._activatedRoute=de;const q=this.location,nt=de.snapshot.component,Ft=this.parentContexts.getOrCreateContext(this.name).children,$t=new an(de,Ft,q.injector);this.activated=q.createComponent(nt,{index:q.length,injector:$t,environmentInjector:k??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275dir=t.FsC({type:ae,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.OA$]})}return ae})();class an{constructor(Pe,de,k){this.route=Pe,this.childContexts=de,this.parent=k}get(Pe,de){return Pe===Xr?this.route:Pe===Rr?this.childContexts:this.parent.get(Pe,de)}}const gn=new t.nKC("");let bn=(()=>{class ae{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(de){this.unsubscribeFromRouteData(de),this.subscribeToRouteData(de)}unsubscribeFromRouteData(de){this.outletDataSubscriptions.get(de)?.unsubscribe(),this.outletDataSubscriptions.delete(de)}subscribeToRouteData(de){const{activatedRoute:k}=de,q=(0,b.z)([k.queryParams,k.params,k.data]).pipe((0,R.n)(([xe,nt,Ft],$t)=>(Ft={...xe,...nt,...Ft}
1,0===$t?(0,x.of)(Ft):Promise.resolve(Ft)))).subscribe(xe=>{if(!de.isActivated||!de.activatedComponentRef||de.activatedRoute!==k||null===k.component)return void this.unsubscribeFromRouteData(de);const nt=(0,t.HJs)(k.component);if(nt)for(const{templateName:Ft}of nt.inputs)de.activatedComponentRef.setInput(Ft,xe[Ft]);else this.unsubscribeFromRouteData(de)});this.outletDataSubscriptions.set(de,q)}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac})}return ae})();function qn(ae,Pe,de){if(de&&ae.shouldReuseRoute(Pe.value,de.value.snapshot)){const k=de.value;k._futureSnapshot=Pe.value;const q=function ii(ae,Pe,de){return Pe.children.map(k=>{for(const q of de.children)if(ae.shouldReuseRoute(k.value,q.value.snapshot))return qn(ae,k,q);return qn(ae,k)})}(ae,Pe,de);return new ao(k,q)}{if(ae.shouldAttach(Pe.value)){const xe=ae.retrieve(Pe.value);if(null!==xe){const nt=xe.route;return nt.value._futureSnapshot=Pe.value,nt.children=Pe.children.map(Ft=>qn(ae,Ft)),nt}}const k=function gi(ae){return new Xr(new _.t(ae.url),new _.t(ae.params),new _.t(ae.queryParams),new _.t(ae.fragment),new _.t(ae.data),ae.outlet,ae.component,ae)}(Pe.value),q=Pe.children.map(xe=>qn(ae,xe));return new ao(k,q)}}const _i="ngNavigationCancelingError";function qi(ae,Pe){const{redirectTo:de,navigationBehaviorOptions:k}=it(Pe)?{redirectTo:Pe,navigationBehaviorOptions:void 0}:Pe,q=Ci(!1,Gi.Redirect);return q.url=de,q.navigationBehaviorOptions=k,q}function Ci(ae,Pe){const de=new Error(`NavigationCancelingError: ${ae||""}`);return de[_i]=!0,de.cancellationCode=Pe,de}function Di(ae){return!!ae&&ae[_i]}let Yr=(()=>{class ae{static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275cmp=t.VBU({type:ae,selectors:[["ng-component"]],standalone:!0,features:[t.aNF],decls:1,vars:0,template:function(k,q){1&k&&t.nrm(0,"router-outlet")},dependencies:[Yt],encapsulation:2})}return ae})();function Er(ae){const Pe=ae.children&&ae.children.map(Er),de=Pe?{...ae,children:Pe}:{...ae};return!de.component&&!de.loadComponent&&(Pe||de.loadChildren)&&de.outlet&&de.outlet!==Ie&&(de.component=Yr),de}function Pr(ae){return ae.outlet||Ie}function Ei(ae){if(!ae)return null;if(ae.routeConfig?._injector)return ae.routeConfig._injector;for(let Pe=ae.parent;Pe;Pe=Pe.parent){const de=Pe.routeConfig;if(de?._loadedInjector)return de._loadedInjector;if(de?._injector)return de._injector}return null}class Ji{constructor(Pe,de,k,q,xe){this.routeReuseStrategy=Pe,this.futureState=de,this.currState=k,this.forwardEvent=q,this.inputBindingEnabled=xe}activate(Pe){const de=this.futureState._root,k=this.currState?this.currState._root:null;this.deactivateChildRoutes(de,k,Pe),ht(this.futureState.root),this.activateChildRoutes(de,k,Pe)}deactivateChildRoutes(Pe,de,k){const q=Cr(de);Pe.children.forEach(xe=>{const nt=xe.value.outlet;this.deactivateRoutes(xe,q[nt],k),delete q[nt]}),Object.values(q).forEach(xe=>{this.deactivateRouteAndItsChildren(xe,k)})}deactivateRoutes(Pe,de,k){const q=Pe.value,xe=de?de.value:null;if(q===xe)if(q.component){const nt=k.getContext(q.outlet);nt&&this.deactivateChildRoutes(Pe,de,nt.children)}else this.deactivateChildRoutes(Pe,de,k);else xe&&this.deactivateRouteAndItsChildren(de,k)}deactivateRouteAndItsChildren(Pe,de){Pe.value.component&&this.routeReuseStrategy.shouldDetach(Pe.value.snapshot)?this.detachAndStoreRouteSubtree(Pe,de):this.deactivateRouteAndOutlet(Pe,de)}detachAndStoreRouteSubtree(Pe,de){const k=de.getContext(Pe.value.outlet),q=k&&Pe.value.component?k.children:de,xe=Cr(Pe);for(const nt of Object.values(xe))this.deactivateRouteAndItsChildren(nt,q);if(k&&k.outlet){const nt=k.outlet.detach(),Ft=k.children.onOutletDeactivated();this.routeReuseStrategy.store(Pe.value.snapshot,{componentRef:nt,route:Pe,contexts:Ft})}}deactivateRouteAndOutlet(Pe,de){const k=de.getContext(Pe.value.outlet),q=k&&Pe.value.component?k.children:de,xe=Cr(Pe);for(const nt of Object.values(xe))this.deactivateRouteAndItsChildren(nt,q);k&&(k.outlet&&(k.outlet.deactivate(),k.children.onOutletDeactivated()),k.attachRef=null,k.route=null)}activateChildRoutes(Pe,de,k){const q=Cr(de);
1Pe.children.forEach(xe=>{this.activateRoutes(xe,q[xe.value.outlet],k),this.forwardEvent(new Ao(xe.value.snapshot))}),Pe.children.length&&this.forwardEvent(new br(Pe.value.snapshot))}activateRoutes(Pe,de,k){const q=Pe.value,xe=de?de.value:null;if(ht(q),q===xe)if(q.component){const nt=k.getOrCreateContext(q.outlet);this.activateChildRoutes(Pe,de,nt.children)}else this.activateChildRoutes(Pe,de,k);else if(q.component){const nt=k.getOrCreateContext(q.outlet);if(this.routeReuseStrategy.shouldAttach(q.snapshot)){const Ft=this.routeReuseStrategy.retrieve(q.snapshot);this.routeReuseStrategy.store(q.snapshot,null),nt.children.onOutletReAttached(Ft.contexts),nt.attachRef=Ft.componentRef,nt.route=Ft.route.value,nt.outlet&&nt.outlet.attach(Ft.componentRef,Ft.route.value),ht(Ft.route.value),this.activateChildRoutes(Pe,null,nt.children)}else{const Ft=Ei(q.snapshot);nt.attachRef=null,nt.route=q,nt.injector=Ft,nt.outlet&&nt.outlet.activateWith(q,nt.injector),this.activateChildRoutes(Pe,null,nt.children)}}else this.activateChildRoutes(Pe,null,k)}}class Ho{constructor(Pe){this.path=Pe,this.route=this.path[this.path.length-1]}}class go{constructor(Pe,de){this.component=Pe,this.route=de}}function Po(ae,Pe,de){const k=ae._root;return $r(k,Pe?Pe._root:null,de,[k.value])}function ai(ae,Pe){const de=Symbol(),k=Pe.get(ae,de);return k===de?"function"!=typeof ae||(0,t.LfX)(ae)?Pe.get(ae):ae:k}function $r(ae,Pe,de,k,q={canDeactivateChecks:[],canActivateChecks:[]}){const xe=Cr(Pe);return ae.children.forEach(nt=>{(function kr(ae,Pe,de,k,q={canDeactivateChecks:[],canActivateChecks:[]}){const xe=ae.value,nt=Pe?Pe.value:null,Ft=de?de.getContext(ae.value.outlet):null;if(nt&&xe.routeConfig===nt.routeConfig){const $t=function vo(ae,Pe,de){if("function"==typeof de)return de(ae,Pe);switch(de){case"pathParamsChange":return!Ze(ae.url,Pe.url);case"pathParamsOrQueryParamsChange":return!Ze(ae.url,Pe.url)||!Ce(ae.queryParams,Pe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bt(ae,Pe)||!Ce(ae.queryParams,Pe.queryParams);default:return!bt(ae,Pe)}}(nt,xe,xe.routeConfig.runGuardsAndResolvers);$t?q.canActivateChecks.push(new Ho(k)):(xe.data=nt.data,xe._resolvedData=nt._resolvedData),$r(ae,Pe,xe.component?Ft?Ft.children:null:de,k,q),$t&&Ft&&Ft.outlet&&Ft.outlet.isActivated&&q.canDeactivateChecks.push(new go(Ft.outlet.component,nt))}else nt&&fr(Pe,Ft,q),q.canActivateChecks.push(new Ho(k)),$r(ae,null,xe.component?Ft?Ft.children:null:de,k,q)})(nt,xe[nt.value.outlet],de,k.concat([nt.value]),q),delete xe[nt.value.outlet]}),Object.entries(xe).forEach(([nt,Ft])=>fr(Ft,de.getContext(nt),q)),q}function fr(ae,Pe,de){const k=Cr(ae),q=ae.value;Object.entries(k).forEach(([xe,nt])=>{fr(nt,q.component?Pe?Pe.children.getContext(xe):null:Pe,de)}),de.canDeactivateChecks.push(new go(q.component&&Pe&&Pe.outlet&&Pe.outlet.isActivated?Pe.outlet.component:null,q))}function Xe(ae){return"function"==typeof ae}function Or(ae){return ae instanceof v.G||"EmptyError"===ae?.name}const Ir=Symbol("INITIAL_VALUE");function dr(){return(0,R.n)(ae=>(0,b.z)(ae.map(Pe=>Pe.pipe((0,S.s)(1),(0,j.Z)(Ir)))).pipe((0,D.T)(Pe=>{for(const de of Pe)if(!0!==de){if(de===Ir)return Ir;if(!1===de||de instanceof vt)return de}return!0}),(0,fe.p)(Pe=>Pe!==Ir),(0,S.s)(1)))}function fn(ae){return(0,p.F)((0,W.M)(Pe=>{if(it(Pe))throw qi(0,Pe)}),(0,D.T)(Pe=>!0===Pe))}class li{constructor(Pe){this.segmentGroup=Pe||null}}
1class wi extends Error{constructor(Pe){super(),this.urlTree=Pe}}function Xi(ae){return(0,P.$)(new li(ae))}class Ki{constructor(Pe,de){this.urlSerializer=Pe,this.urlTree=de}lineralizeSegments(Pe,de){let k=[],q=de.root;for(;;){if(k=k.concat(q.segments),0===q.numberOfChildren)return(0,x.of)(k);if(q.numberOfChildren>1||!q.children[Ie])return(0,P.$)(new t.wOt(4e3,!1));q=q.children[Ie]}}applyRedirectCommands(Pe,de,k){const q=this.applyRedirectCreateUrlTree(de,this.urlSerializer.parse(de),Pe,k);if(de.startsWith("/"))throw new wi(q);return q}applyRedirectCreateUrlTree(Pe,de,k,q){const xe=this.createSegmentGroup(Pe,de.root,k,q);return new vt(xe,this.createQueryParams(de.queryParams,this.urlTree.queryParams),de.fragment)}createQueryParams(Pe,de){const k={};return Object.entries(Pe).forEach(([q,xe])=>{if("string"==typeof xe&&xe.startsWith(":")){const Ft=xe.substring(1);k[q]=de[Ft]}else k[q]=xe}),k}createSegmentGroup(Pe,de,k,q){const xe=this.createSegments(Pe,de.segments,k,q);let nt={};return Object.entries(de.children).forEach(([Ft,$t])=>{nt[Ft]=this.createSegmentGroup(Pe,$t,k,q)}),new Wt(xe,nt)}createSegments(Pe,de,k,q){return de.map(xe=>xe.path.startsWith(":")?this.findPosParam(Pe,xe,q):this.findOrReturn(xe,k))}findPosParam(Pe,de,k){const q=k[de.path.substring(1)];if(!q)throw new t.wOt(4001,!1);return q}findOrReturn(Pe,de){let k=0;for(const q of de){if(q.path===Pe.path)return de.splice(k),q;k++}return Pe}}const Zi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Br(ae,Pe,de,k,q){const xe=yo(ae,Pe,de);return xe.matched?(k=function sr(ae,Pe){return ae.providers&&!ae._injector&&(ae._injector=(0,t.Ol2)(ae.providers,Pe,`Route: ${ae.path}`)),ae._injector??Pe}(Pe,k),function Gn(ae,Pe,de,k){const q=Pe.canMatch;if(!q||0===q.length)return(0,x.of)(!0);const xe=q.map(nt=>{const Ft=ai(nt,ae);return Ot(function ki(ae){return ae&&Xe(ae.canMatch)}(Ft)?Ft.canMatch(Pe,de):(0,t.N4e)(ae,()=>Ft(Pe,de)))});return(0,x.of)(xe).pipe(dr(),fn())}(k,Pe,de).pipe((0,D.T)(nt=>!0===nt?xe:{...Zi}))):(0,x.of)(xe)}function yo(ae,Pe,de){if("**"===Pe.path)return function Vr(ae){return{matched:!0,parameters:ae.length>0?He(ae).parameters:{},consumedSegments:ae,remainingSegments:[],positionalParamSegments:{}}}(de);if(""===Pe.path)return"full"===Pe.pathMatch&&(ae.hasChildren()||de.length>0)?{...Zi}:{matched:!0,consumedSegments:[],remainingSegments:de,parameters:{},positionalParamSegments:{}};const q=(Pe.matcher||dt)(de,ae,Pe);if(!q)return{...Zi};const xe={};Object.entries(q.posParams??{}).forEach(([Ft,$t])=>{xe[Ft]=$t.path});const nt=q.consumed.length>0?{...xe,...q.consumed[q.consumed.length-1].parameters}:xe;return{matched:!0,consumedSegments:q.consumed,remainingSegments:de.slice(q.consumed.length),parameters:nt,positionalParamSegments:q.posParams??{}}}function Yo(ae,Pe,de,k){return de.length>0&&function fs(ae,Pe,de){return de.some(k=>Do(ae,Pe,k)&&Pr(k)!==Ie)}(ae,de,k)?{segmentGroup:new Wt(Pe,ws(k,new Wt(de,ae.children))),slicedSegments:[]}:0===de.length&&function na(ae,Pe,de){return de.some(k=>Do(ae,Pe,k))}(ae,de,k)?{segmentGroup:new Wt(ae.segments,Cs(ae,de,k,ae.children)),slicedSegments:de}:{segmentGroup:new Wt(ae.segments,ae.children),slicedSegments:de}}function Cs(ae,Pe,de,k){const q={};for(const xe of de)if(Do(ae,Pe,xe)&&!k[Pr(xe)]){const nt=new Wt([],{});q[Pr(xe)]=nt}return{...k,...q}}function ws(ae,Pe){const de={};de[Ie]=Pe;for(const k of ae)if(""===k.path&&Pr(k)!==Ie){const q=new Wt([],{});de[Pr(k)]=q}return de}function Do(ae,Pe,de){return(!(ae.hasChildren()||Pe.length>0)||"full"!==de.pathMatch)&&""===de.path}class Ui{}class rs{constructor(Pe,de,k,q,xe,nt,Ft){this.injector=Pe,this.configLoader=de,this.rootComponentType=k,this.config=q,this.urlTree=xe,this.paramsInheritanceStrategy=nt,this.urlSerializer=Ft,this.applyRedirects=new Ki(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Pe){return new t.wOt(4002,`'${Pe.segmentGroup}'`)}recognize(){const Pe=Yo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Pe).pipe((0,D.T)(de=>{const k=new yr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ie,this.rootComponentType,null,{}),q=new ao(k,de),xe=new Ri("",q),nt=function Ht(ae,Pe,de=null,k=null){return O(d(ae),Pe,de,k)}(k,[],this.urlTree.queryParams,this.urlTree.fragment);return nt.queryParams=this.urlTree.queryParams,xe.url=this.urlSerializer.serialize(nt),this.inheritParamsAndData(xe._root,null),{state:xe,tree:nt}}))}match(Pe){return this.processSegmentGroup(this.injector,this.config,Pe,Ie).pipe((0,re.W)(k=>{if(k instanceof wi)return this.urlTree=k.urlTree,this.match(k.urlTree.root);throw k instanceof li?this.noMatchError(k):k}))}inheritParamsAndData(Pe,de){const k=Pe.value,q=Zr(k,de,this.paramsInheritanceStrategy);k.params=Object.freeze(q.params),k.data=Object.freeze(q.data),Pe.children.forEac
1h(xe=>this.inheritParamsAndData(xe,k))}processSegmentGroup(Pe,de,k,q){return 0===k.segments.length&&k.hasChildren()?this.processChildren(Pe,de,k):this.processSegment(Pe,de,k,k.segments,q,!0).pipe((0,D.T)(xe=>xe instanceof ao?[xe]:[]))}processChildren(Pe,de,k){const q=[];for(const xe of Object.keys(k.children))"primary"===xe?q.unshift(xe):q.push(xe);return(0,m.H)(q).pipe((0,Y.H)(xe=>{const nt=k.children[xe],Ft=function wo(ae,Pe){const de=ae.filter(k=>Pr(k)===Pe);return de.push(...ae.filter(k=>Pr(k)!==Pe)),de}(de,xe);return this.processSegmentGroup(Pe,Ft,nt,xe)}),function Re(ae,Pe){return(0,A.N)(function le(ae,Pe,de,k,q){return(xe,nt)=>{let Ft=de,$t=Pe,dn=0;xe.subscribe((0,K._)(nt,Fn=>{const ci=dn++;$t=Ft?ae($t,Fn,ci):(Ft=!0,Fn),k&&nt.next($t)},q&&(()=>{Ft&&nt.next($t),nt.complete()})))}}(ae,Pe,arguments.length>=2,!0))}((xe,nt)=>(xe.push(...nt),xe)),(0,Be.U)(null),function _e(ae,Pe){const de=arguments.length>=2;return k=>k.pipe(ae?(0,fe.p)((q,xe)=>ae(q,xe,k)):ce.D,Fe(1),de?(0,Be.U)(Pe):(0,ue.v)(()=>new v.G))}(),(0,H.Z)(xe=>{if(null===xe)return Xi(k);const nt=Us(xe);return function ha(ae){ae.sort((Pe,de)=>Pe.value.outlet===Ie?-1:de.value.outlet===Ie?1:Pe.value.outlet.localeCompare(de.value.outlet))}(nt),(0,x.of)(nt)}))}processSegment(Pe,de,k,q,xe,nt){return(0,m.H)(de).pipe((0,Y.H)(Ft=>this.processSegmentAgainstRoute(Ft._injector??Pe,de,Ft,k,q,xe,nt).pipe((0,re.W)($t=>{if($t instanceof li)return(0,x.of)(null);throw $t}))),(0,J.$)(Ft=>!!Ft),(0,re.W)(Ft=>{if(Or(Ft))return function Qo(ae,Pe,de){return 0===Pe.length&&!ae.children[de]}(k,q,xe)?(0,x.of)(new Ui):Xi(k);throw Ft}))}processSegmentAgainstRoute(Pe,de,k,q,xe,nt,Ft){return function Ns(ae,Pe,de,k){return!!(Pr(ae)===k||k!==Ie&&Do(Pe,de,ae))&&yo(Pe,ae,de).matched}(k,q,xe,nt)?void 0===k.redirectTo?this.matchSegmentAgainstRoute(Pe,q,k,xe,nt):this.allowRedirects&&Ft?this.expandSegmentAgainstRouteUsingRedirect(Pe,q,de,k,xe,nt):Xi(q):Xi(q)}expandSegmentAgainstRouteUsingRedirect(Pe,de,k,q,xe,nt){const{matched:Ft,consumedSegments:$t,positionalParamSegments:dn,remainingSegments:Fn}=yo(de,q,xe);if(!Ft)return Xi(de);q.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ci=this.applyRedirects.applyRedirectCommands($t,q.redirectTo,dn);return this.applyRedirects.lineralizeSegments(q,ci).pipe((0,H.Z)(Hi=>this.processSegment(Pe,k,de,Hi.concat(Fn),nt,!1)))}matchSegmentAgainstRoute(Pe,de,k,q,xe){const nt=Br(de,k,q,Pe);return"**"===k.path&&(de.children={}),nt.pipe((0,R.n)(Ft=>Ft.matched?this.getChildConfig(Pe=k._injector??Pe,k,q).pipe((0,R.n)(({routes:$t})=>{const dn=k._loadedInjector??Pe,{consumedSegments:Fn,remainingSegments:ci,parameters:Hi}=Ft,Fr=new yr(Fn,Hi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function bo(ae){return ae.data||{}}(k),Pr(k),k.component??k._loadedComponent??null,k,function _s(ae){return ae.resolve||{}}(k)),{segmentGroup:Mo,slicedSegments:mo}=Yo(de,Fn,ci,$t);if(0===mo.length&&Mo.hasChildren())return this.processChildren(dn,$t,Mo).pipe((0,D.T)(eo=>null===eo?null:new ao(Fr,eo)));if(0===$t.length&&0===mo.length)return(0,x.of)(new ao(Fr,[]));const xo=Pr(k)===xe;return this.processSegment(dn,$t,Mo,mo,xo?Ie:xe,!0).pipe((0,D.T)(eo=>new ao(Fr,eo instanceof ao?[eo]:[])))})):Xi(de)))}getChildConfig(Pe,de,k){return de.children?(0,x.of)({routes:de.children,injector:Pe}):de.loadChildren?void 0!==de._loadedRoutes?(0,x.of)({routes:de._loadedRoutes,injector:de._loadedInjector}):function Gt(ae,Pe,de,k){const q=Pe.canLoad;if(void 0===q||0===q.length)return(0,x.of)(!0);const xe=q.map(nt=>{const Ft=ai(nt,ae);return Ot(function $e(ae){return ae&&Xe(ae.canLoad)}(Ft)?Ft.canLoad(Pe,de):(0,t.N4e)(ae,()=>Ft(Pe,de)))});return(0,x.of)(xe).pipe(dr(),fn())}(Pe,de,k).pipe((0,H.Z)(q=>q?this.configLoader.loadChildren(Pe,de).pipe((0,W.M)(xe=>{de._loadedRoutes=xe.routes,de._loadedInjector=xe.injector})):function Lr(ae){return(0,P.$)(Ci(!1,Gi.GuardRejected))}())):(0,x.of)({routes:[],injector:Pe})}}function qo(ae){const Pe=ae.value.routeConfig;return Pe&&""===Pe.path}function Us(ae){const Pe=[],de=new Set;for(const k of ae){if(!qo(k)){Pe.push(k);continue}const q=Pe.find(xe=>k.value.routeConfig===xe.value.routeConfig);void 0!==q?(q.children.push(...k.children),de.add(q)):Pe.push(k)}for(const k of de){const q=Us(k.children);Pe.push(new ao(k.value,q))}return Pe.filter(k=>!de.has(k))}function Ks(ae){const Pe=ae.children.map(de=>Ks(de)).flat();return[ae,...Pe]}function es(ae){return(0,R.n)(Pe=>{const de=ae(Pe);return de?(0,m.H)(de).pipe((0,D.T)(()=>Pe)):(0,x.of)(Pe)})}let Io=(()=>{class ae{buildTitle(de){let k,q=de.root;for(;void 0!==q;)k=this.getResolvedTitleForRoute(q)??k,q=q.children.find(xe=>xe.outlet===Ie);return k}getResolvedTitleForRoute(de){return de.data[De]}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:()=>(0,t.WQX)(No),providedIn:"root"})}return ae})(),No=(()=>{class ae extends Io{constructor(de){super(),this.title=de}updateTitle(de){const k=this.buildTitle(de);void 0!==k&&this.title.setTitle(k)}static#e=this.\u0275fac=function(k){return new(k||ae)(t.KVO(Ne.hE))};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();const us=new t.nKC("",{providedIn:"root",factory:()=>({})}),Wo=new t.nKC("");let ts=(()=>{class ae{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.WQX)(t.Ql9)}loadComponent(de){if(this.componentLoaders.get(de))return this.componentLoaders.get(de);if(de._loadedComponent)return(0,x.of)(de._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(de);const k=Ot(de.loadComponent()).pipe((0,D.T)(Os),(0,W.M)(xe=>{this.onLoadEndListener&&this.onLoadEndListener(de),de._loadedComponent=xe}),(0,Z.j)(()=>
1{this.componentLoaders.delete(de)})),q=new ee(k,()=>new L.B).pipe(z());return this.componentLoaders.set(de,q),q}loadChildren(de,k){if(this.childrenLoaders.get(k))return this.childrenLoaders.get(k);if(k._loadedRoutes)return(0,x.of)({routes:k._loadedRoutes,injector:k._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(k);const xe=function Gs(ae,Pe,de,k){return Ot(ae.loadChildren()).pipe((0,D.T)(Os),(0,H.Z)(q=>q instanceof t.Co$||Array.isArray(q)?(0,x.of)(q):(0,m.H)(Pe.compileModuleAsync(q))),(0,D.T)(q=>{k&&k(ae);let xe,nt,Ft=!1;return Array.isArray(q)?(nt=q,!0):(xe=q.create(de).injector,nt=xe.get(Wo,[],{optional:!0,self:!0}).flat()),{routes:nt.map(Er),injector:xe}}))}(k,this.compiler,de,this.onLoadEndListener).pipe((0,Z.j)(()=>{this.childrenLoaders.delete(k)})),nt=new ee(xe,()=>new L.B).pipe(z());return this.childrenLoaders.set(k,nt),nt}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();function Os(ae){return function Js(ae){return ae&&"object"==typeof ae&&"default"in ae}(ae)?ae.default:ae}let Oo=(()=>{class ae{static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:()=>(0,t.WQX)(Hs),providedIn:"root"})}return ae})(),Hs=(()=>{class ae{shouldProcessUrl(de){return!0}extract(de){return de}merge(de,k){return de}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();const Ts=new t.nKC(""),me=new t.nKC("");function mt(ae,Pe,de){const k=ae.get(me),q=ae.get(f.qQ);return ae.get(t.SKi).runOutsideAngular(()=>{if(!q.startViewTransition||k.skipNextTransition)return k.skipNextTransition=!1,Promise.resolve();let xe;const nt=new Promise(dn=>{xe=dn}),Ft=q.startViewTransition(()=>(xe(),function We(ae){return new Promise(Pe=>{(0,t.mal)(Pe,{injector:ae})})}(ae))),{onViewTransitionCreated:$t}=k;return $t&&(0,t.N4e)(ae,()=>$t({transition:Ft,from:Pe,to:de})),nt})}let lt=(()=>{class ae{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new L.B,this.transitionAbortSubject=new L.B,this.configLoader=(0,t.WQX)(ts),this.environmentInjector=(0,t.WQX)(t.uvJ),this.urlSerializer=(0,t.WQX)(Ve),this.rootContexts=(0,t.WQX)(Rr),this.location=(0,t.WQX)(f.aZ),this.inputBindingEnabled=null!==(0,t.WQX)(gn,{optional:!0}),this.titleStrategy=(0,t.WQX)(Io),this.options=(0,t.WQX)(us,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.WQX)(Oo),this.createViewTransition=(0,t.WQX)(Ts,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,x.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=q=>this.events.next(new bi(q)),this.configLoader.onLoadStartListener=q=>this.events.next(new so(q))}complete(){this.transitions?.complete()}handleNavigationRequest(de){const k=++this.navigationId;this.transitions?.next({...this.transitions.value,...de,id:k})}setupNavigations(de,k,q){return this.transitions=new _.t({id:0,currentUrlTree:k,currentRawUrl:k,extractedUrl:this.urlHandlingStrategy.extract(k),urlAfterRedirects:this.urlHandlingStrategy.extract(k),rawUrl:k,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ni,restoredState:null,currentSnapshot:q.snapshot,targetSnapshot:null,currentRouterState:q,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,fe.p)(xe=>0!==xe.id),(0,D.T)(xe=>({...xe,extractedUrl:this.urlHandlingStrategy.extract(xe.rawUrl)})),(0,R.n)(xe=>{let nt=!1,Ft=!1;return(0,x.of)(xe).pipe((0,R.n)($t=>{if(this.navigationId>xe.id)return this.cancelNavigationTransition(xe,"",Gi.SupersededByNewNavigation),g.w;this.currentTransition=xe,this.currentNavigation={id:$t.id,initialUrl:$t.rawUrl,extractedUrl:$t.extractedUrl,trigger:$t.source,extras:$t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};
1const dn=!de.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!dn&&"reload"!==($t.extras.onSameUrlNavigation??de.onSameUrlNavigation)){const ci="";return this.events.next(new Mi($t.id,this.urlSerializer.serialize($t.rawUrl),ci,nr.IgnoredSameUrlNavigation)),$t.resolve(null),g.w}if(this.urlHandlingStrategy.shouldProcessUrl($t.rawUrl))return(0,x.of)($t).pipe((0,R.n)(ci=>{const Hi=this.transitions?.getValue();return this.events.next(new Ti(ci.id,this.urlSerializer.serialize(ci.extractedUrl),ci.source,ci.restoredState)),Hi!==this.transitions?.getValue()?g.w:Promise.resolve(ci)}),function Is(ae,Pe,de,k,q,xe){return(0,H.Z)(nt=>function Vs(ae,Pe,de,k,q,xe,nt="emptyOnly"){return new rs(ae,Pe,de,k,q,nt,xe).recognize()}(ae,Pe,de,k,nt.extractedUrl,q,xe).pipe((0,D.T)(({state:Ft,tree:$t})=>({...nt,targetSnapshot:Ft,urlAfterRedirects:$t}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,de.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,W.M)(ci=>{xe.targetSnapshot=ci.targetSnapshot,xe.urlAfterRedirects=ci.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ci.urlAfterRedirects};const Hi=new oo(ci.id,this.urlSerializer.serialize(ci.extractedUrl),this.urlSerializer.serialize(ci.urlAfterRedirects),ci.targetSnapshot);this.events.next(Hi)}));if(dn&&this.urlHandlingStrategy.shouldProcessUrl($t.currentRawUrl)){const{id:ci,extractedUrl:Hi,source:Fr,restoredState:Mo,extras:mo}=$t,xo=new Ti(ci,this.urlSerializer.serialize(Hi),Fr,Mo);this.events.next(xo);const eo=ur(this.rootComponentType).snapshot;return this.currentTransition=xe={...$t,targetSnapshot:eo,urlAfterRedirects:Hi,extras:{...mo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Hi,(0,x.of)(xe)}{const ci="";return this.events.next(new Mi($t.id,this.urlSerializer.serialize($t.extractedUrl),ci,nr.IgnoredByUrlHandlingStrategy)),$t.resolve(null),g.w}}),(0,W.M)($t=>{const dn=new ji($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects),$t.targetSnapshot);this.events.next(dn)}),(0,D.T)($t=>(this.currentTransition=xe={...$t,guards:Po($t.targetSnapshot,$t.currentSnapshot,this.rootContexts)},xe)),function Fo(ae,Pe){return(0,H.Z)(de=>{const{targetSnapshot:k,currentSnapshot:q,guards:{canActivateChecks:xe,canDeactivateChecks:nt}}=de;return 0===nt.length&&0===xe.length?(0,x.of)({...de,guardsResult:!0}):function pr(ae,Pe,de,k){return(0,m.H)(ae).pipe((0,H.Z)(q=>function xt(ae,Pe,de,k,q){const xe=Pe&&Pe.routeConfig?Pe.routeConfig.canDeactivate:null;if(!xe||0===xe.length)return(0,x.of)(!0);const nt=xe.map(Ft=>{const $t=Ei(Pe)??q,dn=ai(Ft,$t);return Ot(function yi(ae){return ae&&Xe(ae.canDeactivate)}(dn)?dn.canDeactivate(ae,Pe,de,k):(0,t.N4e)($t,()=>dn(ae,Pe,de,k))).pipe((0,J.$)())});return(0,x.of)(nt).pipe(dr())}(q.component,q.route,de,Pe,k)),(0,J.$)(q=>!0!==q,!0))}(nt,k,q,ae).pipe((0,H.Z)(Ft=>Ft&&function ut(ae){return"boolean"==typeof ae}(Ft)?function fo(ae,Pe,de,k){return(0,m.H)(Pe).pipe((0,Y.H)(q=>(0,M.x)(function B(ae,Pe){return null!==ae&&Pe&&Pe(new Li(ae)),(0,x.of)(!0)}(q.route.parent,k),function ir(ae,Pe){return null!==ae&&Pe&&Pe(new no(ae)),(0,x.of)(!0)}(q.route,k),function je(ae,Pe,de){const k=Pe[Pe.length-1],xe=Pe.slice(0,Pe.length-1).reverse().map(nt=>function cs(ae){const Pe=ae.routeConfig?ae.routeConfig.canActivateChild:null;return Pe&&0!==Pe.length?{node:ae,guards:Pe}:null}(nt)).filter(nt=>null!==nt).map(nt=>(0,N.v)(()=>{const Ft=nt.guards.map($t=>{const dn=Ei(nt.node)??de,Fn=ai($t,dn);return Ot(function nn(ae){return ae&&Xe(ae.canActivateChild)}(Fn)?Fn.canActivateChild(k,ae):(0,t.N4e)(dn,()=>Fn(k,ae))).pipe((0,J.$)())});return(0,x.of)(Ft).pipe(dr())}));return(0,x.of)(xe).pipe(dr())}(ae,q.path,de),function se(ae,Pe,de){const k=Pe.routeConfig?Pe.routeConfig.canActivate:null;if(!k||0===k.length)return(0,x.of)(!0);const q=k.map(xe=>(0,N.v)(()=>{const nt=Ei(Pe)??de,Ft=ai(xe,nt);return Ot(function St(ae){return ae&&Xe(ae.canActivate)}(Ft)?Ft.canActivate(Pe,ae):(0,t.N4e)(nt,()=>Ft(Pe,ae))).pipe((0,J.$)())}));return(0,x.of)(q).pipe(dr())}(ae,q.route,de))),(0,J.$)(q=>!0!==q,!0))}(k,xe,ae,Pe):(0,x.of)(Ft)),(0,D.T)(Ft=>({...de,guardsResult:Ft})))})}(this.environmentInjector,$t=>this.events.next($t)),(0,W.M)($t=>{if(xe.guardsResult=$t.guardsResult,it($t.guardsResult))throw qi(0,$t.guardsResult);const dn=new uo($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects),$t.targetSnapshot,!!$t.guardsResult);this.events.next(dn)}),(0,fe.p)($t=>!!$t.guardsResult||(this.cancelNavigationTransition($t,"",Gi.GuardRejected),!1)),es($t=>{if($t.guards.canActivateChecks.length)return(0,x.of)($t).pipe((0,W.M)(dn=>{const Fn=new Qi(dn.id,this.urlSerializer.serialize(dn.extractedUrl),this.urlSerializer.serialize(dn.urlAfterRedirects),dn.targetSnapshot);this.events.next(Fn)}),(0,R.n)(dn=>{let Fn=!1;return(0,x.of)(dn).pipe(function os(ae,Pe){return(0,H.Z)(de=>{const{targetSnapshot:k,guards:{canActivateChecks:q}}=de;if(!q.length)return(0,x.of)(de);const xe=new Set(q.map($t=>$t.route)),nt=new Set;for(const $t of xe)if(!nt.has($t))for(const dn of Ks($t))nt.add(dn);let Ft=0;return(0,m.H)(nt).pipe((0,Y.H)($t=>xe.has($t)?function ms(ae,Pe,de,k){const q=ae.routeConfig,xe=ae._resolve;return void 0!==q?.title&&!Xt(q)&&(xe[De]=q.title),function ys(ae,Pe,de,k){const q=we(ae);if(0===q.length)return(0,x.of)({});const xe={};return(0,m.H)(q).pipe((0,H.Z)(nt=>function $o(ae,Pe,de,k){const q=Ei(Pe)??k,xe=ai(ae,q);return Ot(xe.resolve?xe.resolve(Pe,de):(0,t.N4e)(q,()=>xe(Pe,de)))}(ae[nt],Pe,de,k).pipe((0,J.$)(),(0,W.M)(Ft=>{xe[nt]=Ft}))),Fe(1),(0,ne.u)(xe),(0,re.W)(nt=>Or(nt)?g.w:(0,P.$)(nt)))}(xe,ae,Pe,k).pipe((0,D.T)(nt=>(ae._resolvedData=nt,ae.data=Zr(ae,ae.parent,de).resolve,null)))}($t,k,ae,Pe):($t.data=Zr($t,$t.parent,ae).resolve,(0,x.of)(void 0))),(0,W.M)(()=>Ft++),Fe(1),(0,H.Z)($t=>Ft===nt.size?(0,x.of)(de):g.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,W.M)({next:()=>Fn=!0,complete:()=>
1{Fn||this.cancelNavigationTransition(dn,"",Gi.NoDataFromResolver)}}))}),(0,W.M)(dn=>{const Fn=new vr(dn.id,this.urlSerializer.serialize(dn.extractedUrl),this.urlSerializer.serialize(dn.urlAfterRedirects),dn.targetSnapshot);this.events.next(Fn)}))}),es($t=>{const dn=Fn=>{const ci=[];Fn.routeConfig?.loadComponent&&!Fn.routeConfig._loadedComponent&&ci.push(this.configLoader.loadComponent(Fn.routeConfig).pipe((0,W.M)(Hi=>{Fn.component=Hi}),(0,D.T)(()=>{})));for(const Hi of Fn.children)ci.push(...dn(Hi));return ci};return(0,b.z)(dn($t.targetSnapshot.root)).pipe((0,Be.U)(null),(0,S.s)(1))}),es(()=>this.afterPreactivation()),(0,R.n)(()=>{const{currentSnapshot:$t,targetSnapshot:dn}=xe,Fn=this.createViewTransition?.(this.environmentInjector,$t.root,dn.root);return Fn?(0,m.H)(Fn).pipe((0,D.T)(()=>xe)):(0,x.of)(xe)}),(0,D.T)($t=>{const dn=function ti(ae,Pe,de){const k=qn(ae,Pe._root,de?de._root:void 0);return new Bo(k,Pe)}(de.routeReuseStrategy,$t.targetSnapshot,$t.currentRouterState);return this.currentTransition=xe={...$t,targetRouterState:dn},this.currentNavigation.targetRouterState=dn,xe}),(0,W.M)(()=>{this.events.next(new Tr)}),((ae,Pe,de,k)=>(0,D.T)(q=>(new Ji(Pe,q.targetRouterState,q.currentRouterState,de,k).activate(ae),q)))(this.rootContexts,de.routeReuseStrategy,$t=>this.events.next($t),this.inputBindingEnabled),(0,S.s)(1),(0,W.M)({next:$t=>{nt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pi($t.id,this.urlSerializer.serialize($t.extractedUrl),this.urlSerializer.serialize($t.urlAfterRedirects))),this.titleStrategy?.updateTitle($t.targetRouterState.snapshot),$t.resolve(!0)},complete:()=>{nt=!0}}),(0,ve.Q)(this.transitionAbortSubject.pipe((0,W.M)($t=>{throw $t}))),(0,Z.j)(()=>{!nt&&!Ft&&this.cancelNavigationTransition(xe,"",Gi.SupersededByNewNavigation),this.currentTransition?.id===xe.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,re.W)($t=>{if(Ft=!0,Di($t))this.events.next(new Zn(xe.id,this.urlSerializer.serialize(xe.extractedUrl),$t.message,$t.cancellationCode)),function or(ae){return Di(ae)&&it(ae.url)}($t)?this.events.next(new Ur($t.url)):xe.resolve(!1);else{this.events.next(new lr(xe.id,this.urlSerializer.serialize(xe.extractedUrl),$t,xe.targetSnapshot??void 0));try{xe.resolve(de.errorHandler($t))}catch(dn){this.options.resolveNavigationPromiseOnError?xe.resolve(!1):xe.reject(dn)}}return g.w}))}))}cancelNavigationTransition(de,k,q){const xe=new Zn(de.id,this.urlSerializer.serialize(de.extractedUrl),k,q);this.events.next(xe),de.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();function jt(ae){return ae!==ni}let Mn=(()=>{class ae{static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:()=>(0,t.WQX)(ei),providedIn:"root"})}return ae})();class Vn{shouldDetach(Pe){return!1}store(Pe,de){}shouldAttach(Pe){return!1}retrieve(Pe){return null}shouldReuseRoute(Pe,de){return Pe.routeConfig===de.routeConfig}}let ei=(()=>{class ae extends Vn{static#e=this.\u0275fac=(()=>{let de;return function(q){return(de||(de=t.xGo(ae)))(q||ae)}})();static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})(),cr=(()=>{class ae{static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:()=>(0,t.WQX)(hr),providedIn:"root"})}return ae})(),hr=(()=>{class ae extends cr{constructor(){super(...arguments),this.location=(0,t.WQX)(f.aZ),this.urlSerializer=(0,t.WQX)(Ve),this.options=(0,t.WQX)(us,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.WQX)(Oo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new vt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=ur(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(de){return this.location.subscribe(k=>{"popstate"===k.type&&de(k.url,k.state)})}handleRouterEvent(de,k){if(de instanceof Ti)this.stateMemento=this.createStateMemento();else if(de instanceof Mi)this.rawUrlTree=k.initialUrl;else if(de instanceof oo){if("eager"===this.urlUpdateStrategy&&!k.extras.skipLocationChange){const q=this.urlHandlingStrategy.merge(k.finalUrl,k.initialUrl);this.setBrowserUrl(q,k)}}
1else de instanceof Tr?(this.currentUrlTree=k.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(k.finalUrl,k.initialUrl),this.routerState=k.targetRouterState,"deferred"===this.urlUpdateStrategy&&(k.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,k))):de instanceof Zn&&(de.code===Gi.GuardRejected||de.code===Gi.NoDataFromResolver)?this.restoreHistory(k):de instanceof lr?this.restoreHistory(k,!0):de instanceof Pi&&(this.lastSuccessfulId=de.id,this.currentPageId=this.browserPageId)}setBrowserUrl(de,k){const q=this.urlSerializer.serialize(de);if(this.location.isCurrentPathEqualTo(q)||k.extras.replaceUrl){const nt={...k.extras.state,...this.generateNgRouterState(k.id,this.browserPageId)};this.location.replaceState(q,"",nt)}else{const xe={...k.extras.state,...this.generateNgRouterState(k.id,this.browserPageId+1)};this.location.go(q,"",xe)}}restoreHistory(de,k=!1){if("computed"===this.canceledNavigationResolution){const xe=this.currentPageId-this.browserPageId;0!==xe?this.location.historyGo(xe):this.currentUrlTree===de.finalUrl&&0===xe&&(this.resetState(de),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(k&&this.resetState(de),this.resetUrlToCurrentUrlTree())}resetState(de){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,de.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(de,k){return"computed"===this.canceledNavigationResolution?{navigationId:de,\u0275routerPageId:k}:{navigationId:de}}static#e=this.\u0275fac=(()=>{let de;return function(q){return(de||(de=t.xGo(ae)))(q||ae)}})();static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();var er=function(ae){return ae[ae.COMPLETE=0]="COMPLETE",ae[ae.FAILED=1]="FAILED",ae[ae.REDIRECTING=2]="REDIRECTING",ae}(er||{});function Fi(ae,Pe){ae.events.pipe((0,fe.p)(de=>de instanceof Pi||de instanceof Zn||de instanceof lr||de instanceof Mi),(0,D.T)(de=>de instanceof Pi||de instanceof Mi?er.COMPLETE:de instanceof Zn&&(de.code===Gi.Redirect||de.code===Gi.SupersededByNewNavigation)?er.REDIRECTING:er.FAILED),(0,fe.p)(de=>de!==er.REDIRECTING),(0,S.s)(1)).subscribe(()=>{Pe()})}function ar(ae){throw ae}const zi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ni={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let _r=(()=>{class ae{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,t.WQX)(t.H3F),this.stateManager=(0,t.WQX)(cr),this.options=(0,t.WQX)(us,{optional:!0})||{},this.pendingTasks=(0,t.WQX)(t.TgB),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.WQX)(lt),this.urlSerializer=(0,t.WQX)(Ve),this.location=(0,t.WQX)(f.aZ),this.urlHandlingStrategy=(0,t.WQX)(Oo),this._events=new L.B,this.errorHandler=this.options.errorHandler||ar,this.navigated=!1,this.routeReuseStrategy=(0,t.WQX)(Mn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.WQX)(Wo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.WQX)(gn,{optional:!0}),this.eventsSubscription=new G.yU,this.isNgZoneEnabled=(0,t.WQX)(t.SKi)instanceof t.SKi&&t.SKi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:de=>{this.console.warn(de)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const de=this.navigationTransitions.events.subscribe(k=>{try{const q=this.navigationTransitions.currentTransition,xe=this.navigationTransitions.currentNavigation;if(null!==q&&null!==xe)if(this.stateManager.handleRouterEvent(k,xe),k instanceof Zn&&k.code!==Gi.Redirect&&k.code!==Gi.SupersededByNewNavigation)this.navigated=!0;else if(k instanceof Pi)this.navigated=!0;else if(k instanceof Ur){const nt=this.urlHandlingStrategy.merge(k.url,q.currentRawUrl),Ft={info:q.extras.info,skipLocationChange:q.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||jt(q.source)};this.scheduleNavigation(nt,ni,null,Ft,{resolve:q.resolve,reject:q.reject,promise:q.promise})}(function Jn(ae){return!(ae instanceof Tr||ae instanceof Ur)})(k)&&this._events.next(k)}catch(q){this.navigationTransitions.transitionAbortSubject.next(q)}});this.eventsSubscription.add(de)}resetRootComponentType(de){this.routerState.root.component=de,this.navigationTransitions.rootComponentType=de}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ni,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((de,k)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(de,"popstate",k)},0)})}navigateToSyncWithBrowser(de,k,q){const xe={replaceUrl:!0},nt=q?.navigationId?q:null;if(q){const $t={...q};delete $t.navigationId,delete $t.\u0275routerPageId,0!==Object.keys($t).length&&(xe.state=$t)}const Ft=this.parseUrl(de);
1this.scheduleNavigation(Ft,k,nt,xe)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(de){this.config=de.map(Er),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(de,k={}){const{relativeTo:q,queryParams:xe,fragment:nt,queryParamsHandling:Ft,preserveFragment:$t}=k,dn=$t?this.currentUrlTree.fragment:nt;let ci,Fn=null;switch(Ft){case"merge":Fn={...this.currentUrlTree.queryParams,...xe};break;case"preserve":Fn=this.currentUrlTree.queryParams;break;default:Fn=xe||null}null!==Fn&&(Fn=this.removeEmptyProps(Fn));try{ci=d(q?q.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof de[0]||!de[0].startsWith("/"))&&(de=[]),ci=this.currentUrlTree.root}return O(ci,de,Fn,dn??null)}navigateByUrl(de,k={skipLocationChange:!1}){const q=it(de)?de:this.parseUrl(de),xe=this.urlHandlingStrategy.merge(q,this.rawUrlTree);return this.scheduleNavigation(xe,ni,null,k)}navigate(de,k={skipLocationChange:!1}){return function tr(ae){for(let Pe=0;Pe<ae.length;Pe++)if(null==ae[Pe])throw new t.wOt(4008,!1)}(de),this.navigateByUrl(this.createUrlTree(de,k),k)}serializeUrl(de){return this.urlSerializer.serialize(de)}parseUrl(de){try{return this.urlSerializer.parse(de)}catch{return this.urlSerializer.parse("/")}}isActive(de,k){let q;if(q=!0===k?{...zi}:!1===k?{...Ni}:k,it(de))return ln(this.currentUrlTree,de,q);const xe=this.parseUrl(de);return ln(this.currentUrlTree,xe,q)}removeEmptyProps(de){return Object.entries(de).reduce((k,[q,xe])=>(null!=xe&&(k[q]=xe),k),{})}scheduleNavigation(de,k,q,xe,nt){if(this.disposed)return Promise.resolve(!1);let Ft,$t,dn;nt?(Ft=nt.resolve,$t=nt.reject,dn=nt.promise):dn=new Promise((ci,Hi)=>{Ft=ci,$t=Hi});const Fn=this.pendingTasks.add();return Fi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Fn))}),this.navigationTransitions.handleNavigationRequest({source:k,restoredState:q,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:de,extras:xe,resolve:Ft,reject:$t,promise:dn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),dn.catch(ci=>Promise.reject(ci))}static#e=this.\u0275fac=function(k){return new(k||ae)};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})(),mi=(()=>{class ae{constructor(de,k,q,xe,nt,Ft){this.router=de,this.route=k,this.tabIndexAttribute=q,this.renderer=xe,this.el=nt,this.locationStrategy=Ft,this.href=null,this.commands=null,this.onChanges=new L.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const $t=nt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===$t||"area"===$t,this.isAnchorElement?this.subscription=de.events.subscribe(dn=>{dn instanceof Pi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(de){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",de)}ngOnChanges(de){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(de){null!=de?(this.commands=Array.isArray(de)?de:[de],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(de,k,q,xe,nt){const Ft=this.urlTree;return!!(null===Ft||this.isAnchorElement&&(0!==de||k||q||xe||nt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Ft,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const de=this.urlTree;this.href=null!==de&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(de)):null;const k=null===this.href?null:(0,t.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",k)}applyAttributeValue(de,k){const q=this.renderer,xe=this.el.nativeElement;null!==k?q.setAttribute(xe,de,k):q.removeAttribute(xe,de)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(k){return new(k||ae)(t.rXU(_r),t.rXU(Xr),t.kS0("tabindex"),t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(f.hb))};static#t=this.\u0275dir=t.FsC({type:ae,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(k,q){1&k&&t.bIt("click",function(nt){return q.onClick(nt.button,nt.ctrlKey,nt.shiftKey,nt.altKey,nt.metaKey)}),2&k&&t.BMQ("target",q.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[t.Mj6.HasDecoratorInputTransform,"preserveFragment","preserveFragment",t.L39],skipLocationChange:[t.Mj6.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",t.L39],replaceUrl:[t.Mj6.HasDecoratorInputTransform,"replaceUrl","replaceUrl",t.L39],routerLink:"routerLink"},standalone:!0,features:[t.GFd,t.OA$]})}return ae})();class Ar{}let Mr=(()=>{class ae{constructor(de,k,q,xe,nt){this.router=de,this.injector=q,this.preloadingStrategy=xe,this.loader=nt}setUpPreloading(){this.subscription=this.router.events.pipe((0,fe.p)(de=>de instanceof Pi),(0,Y.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(de,k){const q=[];for(const xe of k){xe.providers&&!xe._injector&&(xe._injector=(0,t.Ol2)(xe.providers,de,`Route: ${xe.path}`));const nt=xe._injector??de,Ft=xe._loadedInjector??nt;(xe.loadChildren&&!xe._loadedRoutes&&void 0===xe.canLoad||xe.loadComponent&&!xe._loadedComponent)&&q.push(this.preloadConfig(nt,xe)),(xe.children||xe._loadedRoutes)&&q.push(this.processRoutes(Ft,xe.children??xe._loadedRoutes))}return(0,m.H)(q).pipe((0,ke.U)())}preloadConfig(de,k){return this.preloadingStrategy.preload(k,()=>{let q;q=k.loadChildren&&void 0===k.canLoad?this.loader.loadChildren(de,k):(0,x.of)(null);const xe=q.pipe((0,H.Z)(nt=>null===nt?(0,x.of)(void 0):(k._loadedRoutes=nt.routes,k._loadedInjector=nt.injector,this.processRoutes(nt.injector??de,nt.routes))));if(k.loadComponent&&!k._loadedComponent){const nt=this.loader.loadComponent(k);return(0,m.H)([xe,nt]).pipe((0,ke.U)())}return xe})}static#e=this.\u0275fac=function(k){return new(k||ae)(t.KVO(_r),t.KVO
1(t.Ql9),t.KVO(t.uvJ),t.KVO(Ar),t.KVO(ts))};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();const jr=new t.nKC("");let jo=(()=>{class ae{constructor(de,k,q,xe,nt={}){this.urlSerializer=de,this.transitions=k,this.viewportScroller=q,this.zone=xe,this.options=nt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},nt.scrollPositionRestoration||="disabled",nt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(de=>{de instanceof Ti?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=de.navigationTrigger,this.restoredId=de.restoredState?de.restoredState.navigationId:0):de instanceof Pi?(this.lastId=de.id,this.scheduleScrollEvent(de,this.urlSerializer.parse(de.urlAfterRedirects).fragment)):de instanceof Mi&&de.code===nr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(de,this.urlSerializer.parse(de.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(de=>{de instanceof ls&&(de.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(de.position):de.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(de.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(de,k){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ls(de,"popstate"===this.lastSource?this.store[this.restoredId]:null,k))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(k){t.QTQ()};static#t=this.\u0275prov=t.jDH({token:ae,factory:ae.\u0275fac})}return ae})();function zo(ae,Pe){return{\u0275kind:ae,\u0275providers:Pe}}function Ye(){const ae=(0,t.WQX)(t.zZn);return Pe=>{const de=ae.get(t.o8S);if(Pe!==de.components[0])return;const k=ae.get(_r),q=ae.get(_t);1===ae.get(Ct)&&k.initialNavigation(),ae.get(qt,null,t.$GK.Optional)?.setUpPreloading(),ae.get(jr,null,t.$GK.Optional)?.init(),k.resetRootComponentType(de.componentTypes[0]),q.closed||(q.next(),q.complete(),q.unsubscribe())}}const _t=new t.nKC("",{factory:()=>new L.B}),Ct=new t.nKC("",{providedIn:"root",factory:()=>1}),qt=new t.nKC("");function hn(ae){return zo(0,[{provide:qt,useExisting:Mr},{provide:Ar,useExisting:ae}])}function Bn(ae){return zo(9,[{provide:Ts,useValue:mt},{provide:me,useValue:{skipNextTransition:!!ae?.skipInitialTransition,...ae}}])}const Cn=new t.nKC("ROUTER_FORROOT_GUARD"),Un=[f.aZ,{provide:Ve,useClass:st},_r,Rr,{provide:Xr,useFactory:function Rs(ae){return ae.routerState.root},deps:[_r]},ts,[]];let Oi=(()=>{class ae{constructor(de){}static forRoot(de,k){return{ngModule:ae,providers:[Un,[],{provide:Wo,multi:!0,useValue:de},{provide:Cn,useFactory:Sn,deps:[[_r,new t.Xx1,new t.kdw]]},{provide:us,useValue:k||{}},k?.useHash?{provide:f.hb,useClass:f.fw}:{provide:f.hb,useClass:f.Sm},{provide:jr,useFactory:()=>{const ae=(0,t.WQX)(f.Xr),Pe=(0,t.WQX)(t.SKi),de=(0,t.WQX)(us),k=(0,t.WQX)(lt),q=(0,t.WQX)(Ve);return de.scrollOffset&&ae.setOffset(de.scrollOffset),new jo(q,k,ae,Pe,de)}},k?.preloadingStrategy?hn(k.preloadingStrategy).\u0275providers:[],k?.initialNavigation?Wn(k):[],k?.bindToComponentInputs?zo(8,[bn,{provide:gn,useExisting:bn}]).\u0275providers:[],k?.enableViewTransitions?Bn().\u0275providers:[],[{provide:si,useFactory:Ye},{provide:t.iLQ,multi:!0,useExisting:si}]]}}static forChild(de){return{ngModule:ae,providers:[{provide:Wo,multi:!0,useValue:de}]}}static#e=this.\u0275fac=function(k){return new(k||ae)(t.KVO(Cn,8))};static#t=this.\u0275mod=t.$C({type:ae});static#n=this.\u0275inj=t.G2t({})}return ae})();function Sn(ae){return"guarded"}function Wn(ae){return["disabled"===ae.initialNavigation?zo(3,[{provide:t.hnV,multi:!0,useFactory:()=>{const Pe=(0,t.WQX)(_r);return()=>{Pe.setUpLocationChangeListener()}}},{provide:Ct,useValue:2}]).\u0275providers:[],"enabledBlocking"===ae.initialNavigation?zo(2,[{provide:Ct,useValue:0},{provide:t.hnV,multi:!0,deps:[t.zZn],useFactory:Pe=>{const de=Pe.get(f.hj,Promise.resolve());return()=>de.then(()=>new Promise(k=>{const q=Pe.get(_r),xe=Pe.get(_t);Fi(q,()=>{k(!0)}),Pe.get(lt).afterPreactivation=()=>(k(!0),xe.closed?(0,x.of)(void 0):xe),q.initialNavigation()}))}}]).\u0275providers:[]]}const si=new t.nKC("")},3955:(Nt,Le,a)=>{"use strict";a.d(Le,{D9:()=>le,Wr:()=>g,c$:()=>W,h:()=>Re});var t=a(4438),c=a(7673),m=a(4402),x=a(7468),_=a(8793),b=a(9030),v=a(6697),M=a(9568),N=a(6354),p=a(274),P=a(5558);class g{}let U=(()=>{class Be extends g{getTranslation(ue){return(0,c.of)({})}static \u0275fac=(()=>{let ue;return function(_e){return(ue||(ue=t.xGo(Be)))(_e||Be)}})();static \u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}return Be})();class G{}let A=(()=>{class Be{handle(ue){return ue.key}static \u0275fac=function(ce){return new(ce||Be)};static \u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}return Be})();function K(Be,Fe){if(Be===Fe)return!0;
1if(null===Be||null===Fe)return!1;if(Be!=Be&&Fe!=Fe)return!0;let _e,ne,Z,ue=typeof Be;if(ue==typeof Fe&&"object"==ue){if(!Array.isArray(Be)){if(Array.isArray(Fe))return!1;for(ne in Z=Object.create(null),Be){if(!K(Be[ne],Fe[ne]))return!1;Z[ne]=!0}for(ne in Fe)if(!(ne in Z)&&typeof Fe[ne]<"u")return!1;return!0}if(!Array.isArray(Fe))return!1;if((_e=Be.length)==Fe.length){for(ne=0;ne<_e;ne++)if(!K(Be[ne],Fe[ne]))return!1;return!0}}return!1}function z(Be){return typeof Be<"u"&&null!==Be}function ee(Be){return Be&&"object"==typeof Be&&!Array.isArray(Be)}function L(Be,Fe){let ue=Object.assign({},Be);return ee(Be)&&ee(Fe)&&Object.keys(Fe).forEach(ce=>{ee(Fe[ce])?ce in Be?ue[ce]=L(Be[ce],Fe[ce]):Object.assign(ue,{[ce]:Fe[ce]}):Object.assign(ue,{[ce]:Fe[ce]})}),ue}class f{}let D=(()=>{class Be extends f{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(ue,ce){let _e;return _e="string"==typeof ue?this.interpolateString(ue,ce):"function"==typeof ue?this.interpolateFunction(ue,ce):ue,_e}getValue(ue,ce){let _e="string"==typeof ce?ce.split("."):[ce];ce="";do{ce+=_e.shift(),!z(ue)||!z(ue[ce])||"object"!=typeof ue[ce]&&_e.length?_e.length?ce+=".":ue=void 0:(ue=ue[ce],ce="")}while(_e.length);return ue}interpolateFunction(ue,ce){return ue(ce)}interpolateString(ue,ce){return ce?ue.replace(this.templateMatcher,(_e,ne)=>{let Z=this.getValue(ce,ne);return z(Z)?Z:_e}):ue}static \u0275fac=(()=>{let ue;return function(_e){return(ue||(ue=t.xGo(Be)))(_e||Be)}})();static \u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}return Be})();class R{}let S=(()=>{class Be extends R{compile(ue,ce){return ue}compileTranslations(ue,ce){return ue}static \u0275fac=(()=>{let ue;return function(_e){return(ue||(ue=t.xGo(Be)))(_e||Be)}})();static \u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}return Be})();class j{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new t.bkB;onLangChange=new t.bkB;onDefaultLangChange=new t.bkB}const fe=new t.nKC("USE_STORE"),H=new t.nKC("USE_DEFAULT_LANG"),J=new t.nKC("DEFAULT_LANGUAGE"),Y=new t.nKC("USE_EXTEND");let W=(()=>{class Be{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new t.bkB;_onLangChange=new t.bkB;_onDefaultLangChange=new t.bkB;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(ue){this.isolate?this._defaultLang=ue:this.store.defaultLang=ue}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ue){this.isolate?this._currentLang=ue:this.store.currentLang=ue}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ue){this.isolate?this._langs=ue:this.store.langs=ue}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ue){this.isolate?this._translations=ue:this.store.translations=ue}constructor(ue,ce,_e,ne,Z,ve=!0,ke=!1,Ne=!1,Ie){this.store=ue,this.currentLoader=ce,this.compiler=_e,this.parser=ne,this.missingTranslationHandler=Z,this.useDefaultLang=ve,this.isolate=ke,this.extend=Ne,Ie&&this.setDefaultLang(Ie)}setDefaultLang(ue){if(ue===this.defaultLang)return;let ce=this.retrieveTranslations(ue);typeof ce<"u"?(null==this.defaultLang&&(this.defaultLang=ue),ce.pipe((0,v.s)(1)).subscribe(_e=>{this.changeDefaultLang(ue)})):this.changeDefaultLang(ue)}getDefaultLang(){return this.defaultLang}use(ue){if(ue===this.currentLang)return(0,c.of)(this.translations[ue]);let ce=this.retrieveTranslations(ue);return typeof ce<"u"?(this.currentLang||(this.currentLang=ue),ce.pipe((0,v.s)(1)).subscribe(_e=>{this.changeLang(ue)}),ce):(this.changeLang(ue),(0,c.of)(this.translations[ue]))}retrieveTranslations(ue){let ce;return(typeof this.translations[ue]>"u"||this.extend)&&(this._translationRequests[ue]=this._translationRequests[ue]||this.getTranslation(ue),ce=this._translationRequests[ue]),ce}getTranslation(ue){this.pending=!0;const ce=this.currentLoader.getTranslation(ue).pipe((0,M.t)(1),(0,v.s)(1));return this.loadingTranslations=ce.pipe((0,N.T)(_e=>this.compiler.compileTranslations(_e,ue)),(0,M.t)(1),(0,v.s)(1)),this.loadingTranslations.subscribe({next:_e=>{this.translations[ue]=this.extend&&this.translations[ue]?{..._e,...this.translations[ue]}:_e,this.updateLangs(),this.pending=!1},error:_e=>{this.pending=!1}}),ce}setTranslation(ue,ce,_e=!1){ce=this.compiler.compileTranslations(ce,ue),this.translations[ue]=(_e||this.extend)&&this.translations[ue]?L(this.translations[ue],ce):ce,this.updateLangs(),this.onTranslationChange.emit({lang:ue,translations:this.translations[ue]})}getLangs(){return this.langs}addLangs(ue){ue.forEach(ce=>{-1===this.langs.indexOf(ce)&&this.langs.push(ce)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ue,ce,_e){let ne;if(ce instanceof Array){let Z={},ve=!1;for(let ke of ce)Z[ke]=this.getParsedResult(ue,ke,_e),(0,m.A)(Z[ke])&&(ve=!0);if(ve){const ke=ce.map(Ne=>(0,m.A)(Z[Ne])?Z[Ne]:(0,c.of)(Z[Ne]));return(0,x.p)(ke).pipe((0,N.T)(Ne=>{let Ie={};return Ne.forEach((De,et)=>{Ie[ce[et]]=De}),Ie}))}return Z}if(ue&&(ne=this.parser.interpolate(this.parser.getValue(ue,ce),_e)),typeof ne>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ne=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ce),_e)),typeof ne>"u"){let Z={key:ce,translateService:this};typeof _e<"u"&&(Z.interpolateParams=_e),ne=this.missingTranslationHandler.handle(Z)}return typeof ne<"u"?ne:ce}get(ue,ce){if(!z(ue)||!ue.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,p.H)(_e=>
1(_e=this.getParsedResult(_e,ue,ce),(0,m.A)(_e)?_e:(0,c.of)(_e))));{let _e=this.getParsedResult(this.translations[this.currentLang],ue,ce);return(0,m.A)(_e)?_e:(0,c.of)(_e)}}getStreamOnTranslationChange(ue,ce){if(!z(ue)||!ue.length)throw new Error('Parameter "key" required');return(0,_.x)((0,b.v)(()=>this.get(ue,ce)),this.onTranslationChange.pipe((0,P.n)(_e=>{const ne=this.getParsedResult(_e.translations,ue,ce);return"function"==typeof ne.subscribe?ne:(0,c.of)(ne)})))}stream(ue,ce){if(!z(ue)||!ue.length)throw new Error('Parameter "key" required');return(0,_.x)((0,b.v)(()=>this.get(ue,ce)),this.onLangChange.pipe((0,P.n)(_e=>{const ne=this.getParsedResult(_e.translations,ue,ce);return(0,m.A)(ne)?ne:(0,c.of)(ne)})))}instant(ue,ce){if(!z(ue)||!ue.length)throw new Error('Parameter "key" required');let _e=this.getParsedResult(this.translations[this.currentLang],ue,ce);if((0,m.A)(_e)){if(ue instanceof Array){let ne={};return ue.forEach((Z,ve)=>{ne[ue[ve]]=ue[ve]}),ne}return ue}return _e}set(ue,ce,_e=this.currentLang){this.translations[_e][ue]=this.compiler.compile(ce,_e),this.updateLangs(),this.onTranslationChange.emit({lang:_e,translations:this.translations[_e]})}changeLang(ue){this.currentLang=ue,this.onLangChange.emit({lang:ue,translations:this.translations[ue]}),null==this.defaultLang&&this.changeDefaultLang(ue)}changeDefaultLang(ue){this.defaultLang=ue,this.onDefaultLangChange.emit({lang:ue,translations:this.translations[ue]})}reloadLang(ue){return this.resetLang(ue),this.getTranslation(ue)}resetLang(ue){this._translationRequests[ue]=void 0,this.translations[ue]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ue=window.navigator.languages?window.navigator.languages[0]:null;return ue=ue||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof ue>"u"?void 0:(-1!==ue.indexOf("-")&&(ue=ue.split("-")[0]),-1!==ue.indexOf("_")&&(ue=ue.split("_")[0]),ue)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ue=window.navigator.languages?window.navigator.languages[0]:null;return ue=ue||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ue}static \u0275fac=function(ce){return new(ce||Be)(t.KVO(j),t.KVO(g),t.KVO(R),t.KVO(f),t.KVO(G),t.KVO(H),t.KVO(fe),t.KVO(Y),t.KVO(J))};static \u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}return Be})(),le=(()=>{class Be{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(ue,ce){this.translate=ue,this._ref=ce}updateValue(ue,ce,_e){let ne=Z=>{this.value=void 0!==Z?Z:ue,this.lastKey=ue,this._ref.markForCheck()};if(_e){let Z=this.translate.getParsedResult(_e,ue,ce);(0,m.A)(Z.subscribe)?Z.subscribe(ne):ne(Z)}this.translate.get(ue,ce).subscribe(ne)}transform(ue,...ce){if(!ue||!ue.length)return ue;if(K(ue,this.lastKey)&&K(ce,this.lastParams))return this.value;let _e;if(z(ce[0])&&ce.length)if("string"==typeof ce[0]&&ce[0].length){let ne=ce[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{_e=JSON.parse(ne)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ce[0]}`)}}else"object"==typeof ce[0]&&!Array.isArray(ce[0])&&(_e=ce[0]);return this.lastKey=ue,this.lastParams=ce,this.updateValue(ue,_e),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ne=>{this.lastKey&&ne.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ue,_e,ne.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ne=>{this.lastKey&&(this.lastKey=null,this.updateValue(ue,_e,ne.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ue,_e))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(ce){return new(ce||Be)(t.rXU(W,16),t.rXU(t.gRc,16))};static \u0275pipe=t.EJ8({name:"translate",type:Be,pure:!1});static \u0275prov=t.jDH({token:Be,factory:Be.\u0275fac})}return Be})(),Re=(()=>{class Be{static forRoot(ue={}){return{ngModule:Be,providers:[ue.loader||{provide:g,useClass:U},ue.compiler||{provide:R,useClass:S},ue.parser||{provide:f,useClass:D},ue.missingTranslationHandler||{provide:G,useClass:A},j,{provide:fe,useValue:ue.isolate},{provide:H,useValue:ue.useDefaultLang},{provide:Y,useValue:ue.extend},{provide:J,useValue:ue.defaultLanguage},W]}}static forChild(ue={}){return{ngModule:Be,providers:[ue.loader||{provide:g,useClass:U},ue.compiler||{provide:R,useClass:S},ue.parser||{provide:f,useClass:D},ue.missingTranslationHandler||{provide:G,useClass:A},{provide:fe,useValue:ue.isolate},{provide:H,useValue:ue.useDefaultLang},{provide:Y,useValue:ue.extend},{provide:J,useValue:ue.defaultLanguage},W]}}static \u0275fac=function(ce){return new(ce||Be)};static \u0275mod=t.$C({type:Be});static \u0275inj=t.G2t({})}return Be})()},9830:(Nt,Le,a)=>{"use strict";a.d(Le,{Dw:()=>G,Zr:()=>K});var t=a(467),c=a(4438),m=a(177),x=a(9417);const _=new c.nKC("ngx-mask config"),b=new c.nKC("new ngx-mask config"),v=new c.nKC("initial ngx-mask config"),M={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:ee=>ee,outputTransformFn:ee=>ee,maskFilled:new c.bkB,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},N=["Hh:m0:s0","Hh:m0","m0:s0"],p=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let P=(()=>{class ee{constructor(){this._config=(0,c.WQX)(_),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(f,D,R,S)=>{let j=[],fe="";if(Array.isArray(R)){const re=new RegExp(R.map(le=>"[\\^$.|?*+()".indexOf(le)>=0?`\\${le}`:le).join("|"));j=f.split(re),fe=f.match(re)?.[0]??""}else j=f.split(R),fe=R;const H=j.length>1?`${fe}${j[1]}`:"";let J=j[0]??"";const Y=this.separatorLimit.replace(/\s/g,"");Y&&+Y&&(J="-"===J[0]?`-${J.slice(1,J.length).slice(0,Y.length)}`:J.slice(0,Y.length));const W=/(\d+)(\d{3})/;for(;D&&W.test(J);)J=J.replace(W,"$1"+D+"$2");return void 0===S?J+H:0===S?J:J+H.substring(0,S+1)},this.percentage=f=>{const D=f.replace(",","."),R=Number(this.allowNegativeNumbers&&f.includes("-")?D.slice(1,f.length):D);return!isNaN(R)&&R>=0&&R<=100}
1,this.getPrecision=f=>{const D=f.split(".");return D.length>1?Number(D[D.length-1]):1/0},this.checkAndRemoveSuffix=f=>{for(let D=this.suffix?.length-1;D>=0;D--){const R=this.suffix.substring(D,this.suffix?.length);if(f.includes(R)&&D!==this.suffix?.length-1&&(D-1<0||!f.includes(this.suffix.substring(D-1,this.suffix?.length))))return f.replace(R,"")}return f},this.checkInputPrecision=(f,D,R)=>{if(D<1/0){if(Array.isArray(R)){const H=R.find(J=>J!==this.thousandSeparator);R=H||R[0]}const S=new RegExp(this._charToRegExpExpression(R)+`\\d{${D}}.*$`),j=f.match(S),fe=(j&&j[0]?.length)??0;fe-1>D&&(f=f.substring(0,f.length-(fe-1-D))),0===D&&this._compareOrIncludes(f[f.length-1],R,this.thousandSeparator)&&(f=f.substring(0,f.length-1))}return f}}applyMaskWithPattern(f,D){const[R,S]=D;return this.customPattern=S,this.applyMask(f,R)}applyMask(f,D,R=0,S=!1,j=!1,fe=(()=>{})){if(!D||"string"!=typeof f)return"";let H=0,J="",Y=!1,W=!1,re=1,le=!1;f.slice(0,this.prefix.length)===this.prefix&&(f=f.slice(this.prefix.length,f.length)),this.suffix&&f?.length>0&&(f=this.checkAndRemoveSuffix(f)),"("===f&&this.prefix&&(f="");const Re=f.toString().split("");if(this.allowNegativeNumbers&&"-"===f.slice(H,H+1)&&(J+=f.slice(H,H+1)),"IP"===D){const ne=f.split(".");this.ipError=this._validIP(ne),D="099.099.099.099"}const Be=[];for(let ne=0;ne<f.length;ne++)f[ne]?.match("\\d")&&Be.push(f[ne]??"");if("CPF_CNPJ"===D&&(this.cpfCnpjError=11!==Be.length&&14!==Be.length,D=Be.length>11?"00.000.000/0000-00":"000.000.000-00"),D.startsWith("percent")){if(f.match("[a-z]|[A-Z]")||f.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!j){f=this._stripToDecimal(f);const ve=this.getPrecision(D);f=this.checkInputPrecision(f,ve,this.decimalMarker)}const ne="string"==typeof this.decimalMarker?this.decimalMarker:".";if(f.indexOf(ne)>0&&!this.percentage(f.substring(0,f.indexOf(ne)))){let ve=f.substring(0,f.indexOf(ne)-1);this.allowNegativeNumbers&&"-"===f.slice(H,H+1)&&!j&&(ve=f.substring(0,f.indexOf(ne))),f=`${ve}${f.substring(f.indexOf(ne),f.length)}`}let Z="";Z=this.allowNegativeNumbers&&"-"===f.slice(H,H+1)?`-${f.slice(H+1,H+f.length)}`:f,J=this.percentage(Z)?this._splitPercentZero(f):this._splitPercentZero(f.substring(0,f.length-1))}else if(D.startsWith("separator")){(f.match("[w\u0430-\u044f\u0410-\u042f]")||f.match("[\u0401\u0451\u0410-\u044f]")||f.match("[a-z]|[A-Z]")||f.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||f.match("[^A-Za-z0-9,]"))&&(f=this._stripToDecimal(f));const ne=this.getPrecision(D),Z=Array.isArray(this.decimalMarker)?".":this.decimalMarker;0===ne?f=this.allowNegativeNumbers?f.length>2&&"-"===f[0]&&"0"===f[1]&&f[2]!==this.thousandSeparator&&","!==f[2]&&"."!==f[2]?"-"+f.slice(2,f.length):"0"===f[0]&&f.length>1&&f[1]!==this.thousandSeparator&&","!==f[1]&&"."!==f[1]?f.slice(1,f.length):f:f.length>1&&"0"===f[0]&&f[1]!==this.thousandSeparator&&","!==f[1]&&"."!==f[1]?f.slice(1,f.length):f:(f[0]===Z&&f.length>1&&(f="0"+f.slice(0,f.length+1),this.plusOnePosition=!0),"0"===f[0]&&f[1]!==Z&&f[1]!==this.thousandSeparator&&(f=f.length>1?f.slice(0,1)+Z+f.slice(1,f.length+1):f,this.plusOnePosition=!0),this.allowNegativeNumbers&&"-"===f[0]&&(f[1]===Z||"0"===f[1])&&(f=f[1]===Z&&f.length>2?f.slice(0,1)+"0"+f.slice(1,f.length):"0"===f[1]&&f.length>2&&f[2]!==Z?f.slice(0,2)+Z+f.slice(2,f.length):f,this.plusOnePosition=!0)),j&&("0"===f[0]&&f[1]===this.decimalMarker&&("0"===f[R]||f[R]===this.decimalMarker)&&(f=f.slice(2,f.length)),"-"===f[0]&&"0"===f[1]&&f[2]===this.decimalMarker&&("0"===f[R]||f[R]===this.decimalMarker)&&(f="-"+f.slice(3,f.length)),f=this._compareOrIncludes(f[f.length-1],this.decimalMarker,this.thousandSeparator)?f.slice(0,f.length-1):f);const ve=this._charToRegExpExpression(this.thousandSeparator);let ke='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(ve,"");if(Array.isArray(this.decimalMarker))for(const yt of this.decimalMarker)ke=ke.replace(this._charToRegExpExpression(yt),"");else ke=ke.replace(this._charToRegExpExpression(this.decimalMarker),"");const Ne=new RegExp("["+ke+"]");f.match(Ne)&&(f=f.substring(0,f.length-1));const Ie=(f=this.checkInputPrecision(f,ne,this.decimalMarker)).replace(new RegExp(ve,"g"),"");J=this._formatWithSeparators(Ie,this.thousandSeparator,this.decimalMarker,ne);const De=J.indexOf(",")-f.indexOf(","),et=J.length-f.length;if(J[R-1]===this.thousandSeparator&&this.prefix&&j)R-=1;else if(et>0&&J[R]!==this.thousandSeparator){W=!0;let yt=0;do{this._shift.add(R+yt),yt++}while(yt<et)}else J[R-1]===this.decimalMarker||-4===et||-3===et||","===J[R]?(this._shift.clear(),this._shift.add(R-1)):0!==De&&R>0&&!(J.indexOf(",")>=R&&R>3)||!(J.indexOf(".")>=R&&R>3)&&et<=0?(this._shift.clear(),W=!0,re=et,this._shift.add(R+=et)):this._shift.clear()}else for(let ne=0,Z=Re[0];ne<Re.length&&H!==D.length;ne++,Z=Re[ne]??""){const ve="*"in this.patterns;if(this._checkSymbolMask(Z,D[H]??"")&&"?"===D[H+1])J+=Z,H+=2;else if("*"===D[H+1]&&Y&&this._checkSymbolMask(Z,D[H+2]??""))J+=Z,H+=3,Y=!1;else if(this._checkSymbolMask(Z,D[H]??"")&&"*"===D[H+1]&&!ve)J+=Z,Y=!0;else if("?"===D[H+1]&&this._checkSymbolMask(Z,D[H+2]??""))J+=Z,H+=3;
1else if(this._checkSymbolMask(Z,D[H]??"")){if("H"===D[H]&&(this.apm?Number(Z)>9:Number(Z)>2)){R=this.leadZeroDateTime?R:R+1,H+=1,this._shiftStep(D,H,Re.length),ne--,this.leadZeroDateTime&&(J+="0");continue}if("h"===D[H]&&(this.apm?1===J.length&&Number(J)>1||"1"===J&&Number(Z)>2||1===f.slice(H-1,H).length&&Number(f.slice(H-1,H))>2||"1"===f.slice(H-1,H)&&Number(Z)>2:"2"===J&&Number(Z)>3||("2"===J.slice(H-2,H)||"2"===J.slice(H-3,H)||"2"===J.slice(H-4,H)||"2"===J.slice(H-1,H))&&Number(Z)>3&&H>10)){R+=1,H+=1,ne--;continue}if(("m"===D[H]||"s"===D[H])&&Number(Z)>5){R=this.leadZeroDateTime?R:R+1,H+=1,this._shiftStep(D,H,Re.length),ne--,this.leadZeroDateTime&&(J+="0");continue}const ke=31,Ne=f[H],Ie=f[H+1],De=f[H+2],et=f[H-1],yt=f[H-2],dt=f[H-3],Je=f.slice(H-3,H-1),Ce=f.slice(H-1,H+1),we=f.slice(H,H+2),Ee=f.slice(H-2,H);if("d"===D[H]){const He="M0"===D.slice(0,2),Ot="M0"===D.slice(0,2)&&this.specialCharacters.includes(yt);if(Number(Z)>3&&this.leadZeroDateTime||!He&&(Number(we)>ke||Number(Ce)>ke||this.specialCharacters.includes(Ie)&&!j)||(Ot?Number(Ce)>ke||!this.specialCharacters.includes(Ne)&&this.specialCharacters.includes(De)||this.specialCharacters.includes(Ne):Number(we)>ke||this.specialCharacters.includes(Ie)&&!j)){R=this.leadZeroDateTime?R:R+1,H+=1,this._shiftStep(D,H,Re.length),ne--,this.leadZeroDateTime&&(J+="0");continue}}if("M"===D[H]){const Ot=0===H&&(Number(Z)>2||Number(we)>12||this.specialCharacters.includes(Ie)&&!j),It=D.slice(H+2,H+3),un=Je.includes(It)&&D.includes("d0")&&(this.specialCharacters.includes(yt)&&Number(Ce)>12&&!this.specialCharacters.includes(Ne)||this.specialCharacters.includes(Ne)||this.specialCharacters.includes(dt)&&Number(Ee)>12&&!this.specialCharacters.includes(et)||this.specialCharacters.includes(et)),ln=Number(Je)<=ke&&!this.specialCharacters.includes(Je)&&this.specialCharacters.includes(et)&&(Number(we)>12||this.specialCharacters.includes(Ie)&&!j),Ln=Number(we)>12&&5===H||this.specialCharacters.includes(Ie)&&5===H,Zt=Number(Je)>ke&&!this.specialCharacters.includes(Je)&&!this.specialCharacters.includes(Ee)&&Number(Ee)>12&&D.includes("d0"),ct=Number(Je)<=ke&&!this.specialCharacters.includes(Je)&&!this.specialCharacters.includes(et)&&Number(Ce)>12;if(Number(Z)>1&&this.leadZeroDateTime||Ot||un||ct||Zt||ln||Ln&&!this.leadZeroDateTime){R=this.leadZeroDateTime?R:R+1,H+=1,this._shiftStep(D,H,Re.length),ne--,this.leadZeroDateTime&&(J+="0");continue}}J+=Z,H++}else" "===Z&&" "===D[H]||"/"===Z&&"/"===D[H]?(J+=Z,H++):-1!==this.specialCharacters.indexOf(D[H]??"")?(J+=D[H],H++,this._shiftStep(D,H,Re.length),ne--):"9"===D[H]&&this.showMaskTyped?this._shiftStep(D,H,Re.length):this.patterns[D[H]??""]&&this.patterns[D[H]??""]?.optional?(Re[H]&&"099.099.099.099"!==D&&"000.000.000-00"!==D&&"00.000.000/0000-00"!==D&&!D.match(/^9+\.0+$/)&&!this.patterns[D[H]??""]?.optional&&(J+=Re[H]),D.includes("9*")&&D.includes("0*")&&H++,H++,ne--):"*"===this.maskExpression[H+1]&&this._findSpecialChar(this.maskExpression[H+2]??"")&&this._findSpecialChar(Z)===this.maskExpression[H+2]&&Y||"?"===this.maskExpression[H+1]&&this._findSpecialChar(this.maskExpression[H+2]??"")&&this._findSpecialChar(Z)===this.maskExpression[H+2]&&Y?(H+=3,J+=Z):this.showMaskTyped&&this.specialCharacters.indexOf(Z)<0&&Z!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(le=!0)}J.length+1===D.length&&-1!==this.specialCharacters.indexOf(D[D.length-1]??"")&&(J+=D[D.length-1]);let Fe=R+1;for(;this._shift.has(Fe);)re++,Fe++;let ue=S&&!D.startsWith("separator")?H:this._shift.has(R)?re:0;le&&ue--,fe(ue,W),re<0&&this._shift.clear();let ce=!1;j&&(ce=Re.every(ne=>this.specialCharacters.includes(ne)));let _e=`${this.prefix}${ce?"":J}${this.showMaskTyped?"":this.suffix}`;if(0===J.length&&(_e=this.dropSpecialCharacters?`${J}`:`${this.prefix}${J}`),J.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(j&&"-"===J)return"";_e=`-${this.prefix}${J.split("-").join("")}${this.suffix}`}return _e}_findDropSpecialChar(f){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(D=>D===f):this._findSpecialChar(f)}_findSpecialChar(f){return this.specialCharacters.find(D=>D===f)}_checkSymbolMask(f,D){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[D]?.pattern&&this.patterns[D]?.pattern.test(f))??!1}_stripToDecimal(f){return f.split("").filter((D,R)=>{const S="string"==typeof this.decimalMarker?D===this.decimalMarker:this.decimalMarker.includes(D);return D.match("^-?\\d")||D===this.thousandSeparator||S||"-"===D&&0===R&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(f){return f&&(" "===f?"\\s":"[\\^$.|?*+()".indexOf(f)>=0?`\\${f}`:f)}_shiftStep(f,D,R){const S=/[*?]/g.test(f.slice(0,D))?R:D;this._shift.add(S+this.prefix.length||0)}_compareOrIncludes(f,D,R){return Array.isArray(D)?D.filter(S=>S!==R).includes(f):f===D}_validIP(f){return!(4===f.length&&!f.some((D,R)=>f.length!==R+1?""===D||Number(D)>255:""===D||Number(D.substring(0,3))>
1255))}_splitPercentZero(f){if("-"===f&&this.allowNegativeNumbers)return f;const D=f.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:"."),R=this.allowNegativeNumbers&&f.includes("-")?"-":"";if(-1===D){const S=parseInt(R?f.slice(1,f.length):f,10);return isNaN(S)?"":`${R}${S}`}{const S=parseInt(f.replace("-","").substring(0,D),10),j=f.substring(D+1),fe=isNaN(S)?"":S.toString();return""===fe?"":`${R}${fe}${"string"==typeof this.decimalMarker?this.decimalMarker:"."}${j}`}}static#e=this.\u0275fac=function(D){return new(D||ee)};static#t=this.\u0275prov=c.jDH({token:ee,factory:ee.\u0275fac})}return ee})(),g=(()=>{class ee extends P{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=f=>{},this._elementRef=(0,c.WQX)(c.aKT,{optional:!0}),this.document=(0,c.WQX)(m.qQ),this._config=(0,c.WQX)(_),this._renderer=(0,c.WQX)(c.sFG,{optional:!0})}applyMask(f,D,R=0,S=!1,j=!1,fe=(()=>{})){if(!D)return f!==this.actualValue?this.actualValue:f;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(f||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(f||"#")),!f&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;const H=f&&"number"==typeof this.selStart?f[this.selStart]??"":"";let J="";if(void 0!==this.hiddenInput&&!this.writingValue){let le=f&&1===f.length?f.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==f&&le.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(f.length>le.length?le.splice(this.selStart,0,H):f.length<le.length&&(le.length-f.length==1?le.splice(j?this.selStart-1:f.length-1,1):le.splice(this.selStart,this.selEnd-this.selStart))):le=[],this.showMaskTyped&&(this.hiddenInput||(f=this.removeMask(f))),J=this.actualValue.length&&le.length<=f.length?this.shiftTypedSymbols(le.join("")):f}if(S&&(this.hiddenInput||!this.hiddenInput)&&(J=f),j&&-1!==this.specialCharacters.indexOf(this.maskExpression[R]??"")&&this.showMaskTyped&&!this.prefix&&(J=this._currentValue),this.deletedSpecialCharacter&&R&&(this.specialCharacters.includes(this.actualValue.slice(R,R+1))?R+=1:"M0"!==D.slice(R-1,R+1)&&(R-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(f=this.removeMask(f)),J=this.maskChanged?f:J&&J.length?J:f,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!S){const le=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(le),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}const Y=super.applyMask(J,D,R,S,j,fe);if(this.actualValue=this.getActualValue(Y),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(le=>!this._compareOrIncludes(le,this.decimalMarker,this.thousandSeparator))),(Y||""===Y)&&(this._previousValue=this._currentValue,this._currentValue=Y,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&S),this._emitValue&&(this.writingValue?requestAnimationFrame(()=>this.formControlResult(Y)):this.formControlResult(Y)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?j?this.hideInput(Y,this.maskExpression):`${this.hideInput(Y,this.maskExpression)}${this.maskIsShown.slice(Y.length)}`:Y;const W=Y.length,re=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes("H")){const le=this._numberSkipedSymbols(Y);return`${Y}${re.slice(W+le)}`}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?`${Y}${re}`:`${Y}${re.slice(W)}`}
1_numberSkipedSymbols(f){const D=/(^|\D)(\d\D)/g;let R=D.exec(f),S=0;for(;null!=R;)S+=1,R=D.exec(f);return S}applyValueChanges(f,D,R,S=(()=>{})){const j=this._elementRef?.nativeElement;j&&(j.value=this.applyMask(j.value,this.maskExpression,f,D,R,S),j!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(f,D){return f.split("").map((R,S)=>this.patterns&&this.patterns[D[S]??""]&&this.patterns[D[S]??""]?.symbol?this.patterns[D[S]??""]?.symbol:R).join("")}getActualValue(f){const D=f.split("").filter((R,S)=>{const j=this.maskExpression[S]??"";return this._checkSymbolMask(R,j)||this.specialCharacters.includes(j)&&R===j});return D.join("")===f?D.join(""):f}shiftTypedSymbols(f){let D="";return(f&&f.split("").map((S,j)=>{if(this.specialCharacters.includes(f[j+1]??"")&&f[j+1]!==this.maskExpression[j+1])return D=S,f[j+1];if(D.length){const fe=D;return D="",fe}return S})||[]).join("")}numberToString(f){return!f&&0!==f||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(f).length>14?String(f):Number(f).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(f){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(f){if("IP"===this.maskExpression)return this._checkForIp(f);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(f)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const f=this._elementRef?.nativeElement;f&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==f.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([f,D]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,f,D))}checkDropSpecialCharAmount(f){return f.split("").filter(R=>this._findDropSpecialChar(R)).length}removeMask(f){return this._removeMask(this._removeSuffix(this._removePrefix(f)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(f){if("#"===f)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const D=[];for(let R=0;R<f.length;R++){const S=f[R]??"";S&&S.match("\\d")&&D.push(S)}return D.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:D.length>3&&D.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:D.length>6&&D.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(f){const D=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,R=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===f)return D;const S=[];for(let j=0;j<f.length;j++){const fe=f[j]??"";fe&&fe.match("\\d")&&S.push(fe)}return S.length<=3?D.slice(S.length,D.length):S.length>3&&S.length<=6?D.slice(S.length+1,D.length):S.length>6&&S.length<=9?D.slice(S.length+2,D.length):S.length>9&&S.length<11?D.slice(S.length+3,D.length):11===S.length?"":12===S.length?R.slice(17===f.length?16:15,R.length):S.length>12&&S.length<=14?R.slice(S.length+4,R.length):""}_getActiveElement(f=this.document){const D=f?.activeElement?.shadowRoot;return D?.activeElement?this._getActiveElement(D):f.activeElement}formControlResult(f){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbol
1s(this._removeSuffix(this._removePrefix(f)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(f)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===f?this._checkSymbols(this._removeSuffix(this._removePrefix(f))):f)))}_toNumber(f){if(!this.isNumberValue||""===f||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return f;if(String(f).length>16&&this.separatorLimit.length>14)return String(f);const D=Number(f);if(this.maskExpression.startsWith("separator")&&Number.isNaN(D)){const R=String(f).replace(",",".");return Number(R)}return Number.isNaN(D)?f:D}_removeMask(f,D){return this.maskExpression.startsWith("percent")&&f.includes(".")?f:f&&f.replace(this._regExpForRemove(D),"")}_removePrefix(f){return this.prefix?f&&f.replace(this.prefix,""):f}_removeSuffix(f){return this.suffix?f&&f.replace(this.suffix,""):f}_retrieveSeparatorValue(f){let D=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(R=>this.dropSpecialCharacters.includes(R)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&f.includes(" ")&&this.maskExpression.includes("*")&&(D=D.filter(R=>" "!==R)),this._removeMask(f,D)}_regExpForRemove(f){return new RegExp(f.map(D=>`\\${D}`).join("|"),"gi")}_replaceDecimalMarkerToDot(f){const D=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return f.replace(this._regExpForRemove(D),".")}_checkSymbols(f){if(""===f)return f;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(f=f.replace(",","."));const D=this._retrieveSeparatorPrecision(this.maskExpression),R=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(f));return this.isNumberValue&&D?f===this.decimalMarker?null:this.separatorLimit.length>14?String(R):this._checkPrecision(this.maskExpression,R):R}_checkPatternForSpace(){for(const f in this.patterns)if(this.patterns[f]&&this.patterns[f]?.hasOwnProperty("pattern")){const D=this.patterns[f]?.pattern.toString(),R=this.patterns[f]?.pattern;if(D?.includes(" ")&&R?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(f){const D=f.match(new RegExp("^separator\\.([^d]*)"));return D?Number(D[1]):null}_checkPrecision(f,D){const R=f.slice(10,11);return f.indexOf("2")>0||this.leadZero&&Number(R)>0?(","===this.decimalMarker&&this.leadZero&&(D=D.replace(",",".")),this.leadZero?Number(D).toFixed(Number(R)):Number(D).toFixed(2)):this.numberToString(D)}_repeatPatternSymbols(f){return f.match(/{[0-9]+}/)&&f.split("").reduce((D,R,S)=>{if(this._start="{"===R?S:this._start,"}"!==R)return this._findSpecialChar(R)?D+R:D;this._end=S;const j=Number(f.slice(this._start+1,this._end)),fe=new Array(j+1).join(f[this._start-1]);if(f.slice(0,this._start).length>1&&f.includes("S")){const H=f.slice(0,this._start-1);return H.includes("{")?D+fe:H+D+fe}return D+fe},"")||f}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static#e=this.\u0275fac=(()=>{let f;return function(R){return(f||(f=c.xGo(ee)))(R||ee)}})();static#t=this.\u0275prov=c.jDH({token:ee,factory:ee.\u0275fac})}return ee})();function U(){const ee=(0,c.WQX)(v),L=(0,c.WQX)(b);return L instanceof Function?{...ee,...L()}:{...ee,...L}}function G(ee){return[{provide:b,useValue:ee},{provide:v,useValue:M},{provide:_,useFactory:U},g]}let K=(()=>{class ee{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new c.bkB,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=(0,c.WQX)(m.qQ),this._maskService=(0,c.WQX)(g,{self:!0}),this._config=(0,c.WQX)(_),this.onChange=f=>{},this.onTouch=()=>{}}ngOnChanges(f){const{maskExpression:D,specialCharacters:R,patterns:S,prefix:j,suffix:fe,thousandSeparator:H,decimalMarker:J,dropSpecialCharacters:Y,hiddenInput:W,showMaskTyped:re,placeHolderCharacter:le,shownMaskExpression:Re,showTemplate:Be,clearIfNotMatch:Fe,validation:ue,separatorLimit:ce,allowNegativeNumbers:_e,leadZeroDateTime:ne,leadZero:Z,triggerOnMaskChange:ve,apm:ke,inputTransformFn:Ne,outputTransformFn:Ie,keepCharacterPositions:De}=f;if(D&&(D.currentValue!==D.previousValue&&!D.firstChange&&(this._maskService.maskChanged=!0),D.currentValue&&D.currentValue.split("||").length>1?(this._maskExpressionArray=D.currentValue.split("||").sort((et,yt)=>et.length-yt.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=D.currentValue||"",this._maskService.maskExpression=this._maskValue)),R){if(!R.currentValue||!Array.isArray(R.currentValue))return;this._maskService.specialCharacters=R.currentValue||[]}_e&&(this._maskService.allowNegativeNumbers=_e.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(et=>"-"!==et))),S&&S.currentValue&&(this._maskService.patterns=S.currentValue),ke&&ke.currentValue&&(this._maskService.apm=ke.currentValue),j&&(this._maskService.prefix=j.currentValue),fe&&(this._maskService.suffix=fe.currentValue),H&&(this._maskService.thousandSeparator=H.currentValue),J&&(this._maskService.decimalMarker=J.currentValue),Y&&(this._maskService.dropSpecialCharacters=Y.currentValue),W&&(this._maskService.hiddenInput=W.currentValue),re&&(this._maskService.showMaskTyped=re.currentValue,!1===re.previousValue&&!0===re.currentValue&&this._isFocused&&requestAnimationFrame(()=>
1{this._maskService._elementRef?.nativeElement.click()})),le&&(this._maskService.placeHolderCharacter=le.currentValue),Re&&(this._maskService.shownMaskExpression=Re.currentValue),Be&&(this._maskService.showTemplate=Be.currentValue),Fe&&(this._maskService.clearIfNotMatch=Fe.currentValue),ue&&(this._maskService.validation=ue.currentValue),ce&&(this._maskService.separatorLimit=ce.currentValue),ne&&(this._maskService.leadZeroDateTime=ne.currentValue),Z&&(this._maskService.leadZero=Z.currentValue),ve&&(this._maskService.triggerOnMaskChange=ve.currentValue),Ne&&(this._maskService.inputTransformFn=Ne.currentValue),Ie&&(this._maskService.outputTransformFn=Ie.currentValue),De&&(this._maskService.keepCharacterPositions=De.currentValue),this._applyMask()}validate({value:f}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(f);if(this._maskService.cpfCnpjError)return this._createValidationError(f);if(this._maskValue.startsWith("separator")||p.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(N.includes(this._maskValue))return this._validateTime(f);if(f&&f.toString().length>=1){let D=0;if(this._maskValue.startsWith("percent"))return null;for(const R in this._maskService.patterns)if(this._maskService.patterns[R]?.optional&&(this._maskValue.indexOf(R)!==this._maskValue.lastIndexOf(R)?D+=this._maskValue.split("").filter(j=>j===R).join("").length:-1!==this._maskValue.indexOf(R)&&D++,-1!==this._maskValue.indexOf(R)&&f.toString().length>=this._maskValue.indexOf(R)||D===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&f.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&f.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&f.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(f);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){f="number"==typeof f?String(f):f;const R=this._maskValue.split("*"),S=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-D:this.prefix?this._maskValue.length+this.prefix.length-D:this._maskValue.length-D;if(1===R.length&&f.toString().length<S)return this._createValidationError(f);if(R.length>1){const j=R[R.length-1];if(j&&this._maskService.specialCharacters.includes(j[0])&&String(f).includes(j[0]??"")&&!this.dropSpecialCharacters){const fe=f.split(j[0]);return fe[fe.length-1].length===j.length-1?null:this._createValidationError(f)}return(j&&!this._maskService.specialCharacters.includes(j[0])||!j||this._maskService.dropSpecialCharacters)&&f.length>=S-1?null:this._createValidationError(f)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return f&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(f){(""===f||null==f)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(f){if(this._isComposing)return;const D=f.target,R=this._maskService.inputTransformFn(D.value);if("number"!==D.type)if("string"==typeof R||"number"==typeof R){if(D.value=R.toString(),this._inputValue=D.value,this._setMask(),!this._maskValue)return void this.onChange(D.value);let S=1===D.selectionStart?D.selectionStart+this._maskService.prefix.length:D.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const J=D.value.slice(S-1,S),Y=this.prefix.length,W=this._maskService._checkSymbolMask(J,this._maskService.maskExpression[S-1-Y]??""),re=this._maskService._checkSymbolMask(J,this._maskService.maskExpression[S+1-Y]??""),le=this._maskService.selStart===this._maskService.selEnd,Re=Number(this._maskService.selStart)-Y,Be=Number(this._maskService.selEnd)-Y;if("Backspace"===this._code)if(le){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(S-this.prefix.length,S+1-this.prefix.length))&&le)if(1===Re&&this.prefix)this._maskService.actualValue=`${this.prefix}${this._maskService.placeHolderCharacter}
1${D.value.split(this.prefix).join("").split(this.suffix).join("")}${this.suffix}`,S-=1;else{const Fe=D.value.substring(0,S),ue=D.value.substring(S);this._maskService.actualValue=`${Fe}${this._maskService.placeHolderCharacter}${ue}`}}else this._maskService.actualValue=this._maskService.selStart===Y?`${this.prefix}${this._maskService.maskIsShown.slice(0,Be)}${this._inputValue.split(this.prefix).join("")}`:this._maskService.selStart===this._maskService.maskIsShown.length+Y?`${this._inputValue}${this._maskService.maskIsShown.slice(Re,Be)}`:`${this.prefix}${this._inputValue.split(this.prefix).join("").slice(0,Re)}${this._maskService.maskIsShown.slice(Re,Be)}${this._maskService.actualValue.slice(Be+Y,this._maskService.maskIsShown.length+Y)}${this.suffix}`;"Backspace"!==this._code&&(W||re||!le?this._maskService.specialCharacters.includes(D.value.slice(S,S+1))&&re&&!this._maskService.specialCharacters.includes(D.value.slice(S+1,S+2))?(this._maskService.actualValue=`${D.value.slice(0,S-1)}${D.value.slice(S,S+1)}${J}${D.value.slice(S+2)}`,S+=1):W?this._maskService.actualValue=1===D.value.length&&1===S?`${this.prefix}${J}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`:`${D.value.slice(0,S-1)}${J}${D.value.slice(S+1).split(this.suffix).join("")}${this.suffix}`:this.prefix&&1===D.value.length&&S-Y==1&&this._maskService._checkSymbolMask(D.value,this._maskService.maskExpression[S-1-Y]??"")&&(this._maskService.actualValue=`${this.prefix}${D.value}${this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)}${this.suffix}`):S=Number(D.selectionStart)-1)}let j=0,fe=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&S<10){const J=this._inputValue.slice(S-1,S);D.value=this._inputValue.slice(0,S-1)+J+this._inputValue.slice(S+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(S<3&&Number(D.value)>31&&Number(D.value)<40||5===S&&Number(D.value.slice(3,5))>12)&&(S+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===D.value.slice(0,2)&&(D.value=D.value.slice(1,2)+D.value.slice(2,D.value.length)),D.value="00"===D.value?"0":D.value),this._maskService.applyValueChanges(S,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(J,Y)=>{this._justPasted=!1,j=J,fe=Y}),this._getActiveElement()!==D)return;this._maskService.plusOnePosition&&(S+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length&&(S="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(S-1,S))?S-1:S:1===D.selectionStart?D.selectionStart+this._maskService.prefix.length:D.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let H=this._position?this._inputValue.length+S+j:S+("Backspace"!==this._code||fe?j:0);H>this._getActualInputLength()&&(H=D.value===this._maskService.decimalMarker&&1===D.value.length?this._getActualInputLength()+1:this._getActualInputLength()),H<0&&(H=0),D.setSelectionRange(H,H),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof R);else{if(!this._maskValue)return void this.onChange(D.value);this._maskService.applyValueChanges(D.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(f){this._isComposing=!1,this._justPasted=!0,this.onInput(f)}onBlur(f){if(this._maskValue){const D=f.target;if(this.leadZero&&D.value.length>0&&"string"==typeof this.decimalMarker){const R=this._maskService.maskExpression,S=Number(this._maskService.maskExpression.slice(R.length-1,R.length));if(S>0){D.value=this.suffix?D.value.split(this.suffix).join(""):D.value;const j=D.value.split(this.decimalMarker)[1];D.value=D.value.includes(this.decimalMarker)?D.value+"0".repeat(S-j.length)+this.suffix:D.value+this.decimalMarker+"0".repeat(S)+this.suffix,this._maskService.actualValue=D.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(f){if(!this._maskValue)return;const D=f.target;null!==D&&null!==D.selectionStart&&D.selectionStart===D.selectionEnd&&D.selectionStart>this._maskService.prefix.length&&38!==f.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),D.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===D.value?(D.focus(),D.setSelectionRange(0,0)):D.selectionStart>this._maskService.actualValue.length&&D.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const j=D&&(D.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:D.value);D&&D.value!==j&&(D.value=j),D&&"number"!==D.type&&(D.selectionStart||D.selectionEnd)<=this._maskService.prefix.length?D.selectionStart=this._maskService.prefix.length:D&&D.selectionEnd>this._getActualInputLength()&&(D.selectionEnd=this._getActualInputLength())}onKeyDown(f){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===f.key&&this.onCompositionEnd(f));this._code=f.code?f.code:f.key;const D=f.target;if(this._inputValue=D.value,this._setMask(),"number"!==D.type){if("ArrowUp"===f.key&&f.preventDefault(),"ArrowLeft"===f.key||"Backspace"===f.key||"Delete"===f.key){if("Backspace"===f.key&&0===D.value.length&&(D.selectionStart=D.selectionEnd),"Backspace"===f.key&&0!==D.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&D.selectionStart<=this.prefix.length)D.setSelectionRange(this.prefix.length,D.selectionEnd);else if(this._inputValue.length!==D.selectionStart&&1!==D.selectionStart)for(;this.specialCharacters.includes((this._inputValue[D.selectionStart-1]??"").toString())&&
1(this.prefix.length>=1&&D.selectionStart>this.prefix.length||0===this.prefix.length);)D.setSelectionRange(D.selectionStart-1,D.selectionEnd);this.checkSelectionOnDeletion(D),this._maskService.prefix.length&&D.selectionStart<=this._maskService.prefix.length&&D.selectionEnd<=this._maskService.prefix.length&&f.preventDefault(),"Backspace"===f.key&&!D.readOnly&&0===D.selectionStart&&D.selectionEnd===D.value.length&&0!==D.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<D.selectionStart?D.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===f.code&&f.ctrlKey||"KeyA"===f.code&&f.metaKey)&&(D.setSelectionRange(0,this._getActualInputLength()),f.preventDefault()),this._maskService.selStart=D.selectionStart,this._maskService.selEnd=D.selectionEnd}}writeValue(f){var D=this;return(0,t.A)(function*(){if("object"==typeof f&&null!==f&&"value"in f&&("disable"in f&&D.setDisabledState(!!f.disable),f=f.value),null!==f&&(f=D.inputTransformFn?D.inputTransformFn(f):f),"string"==typeof f||"number"==typeof f||null==f){(null==f||""===f)&&(D._maskService._currentValue="",D._maskService._previousValue="");let R=f;if("number"==typeof R||D._maskValue.startsWith("separator")){R=String(R);const S=D._maskService.currentLocaleDecimalMarker();Array.isArray(D._maskService.decimalMarker)||(R=D._maskService.decimalMarker!==S?R.replace(S,D._maskService.decimalMarker):R),Array.isArray(D._maskService.decimalMarker)&&"."===D.decimalMarker&&(D._maskService.decimalMarker=","),D._maskService.leadZero&&R&&D.maskExpression&&!1!==D.dropSpecialCharacters&&(R=D._maskService._checkPrecision(D._maskService.maskExpression,R)),","===D._maskService.decimalMarker&&(R=R.toString().replace(".",",")),D.maskExpression?.startsWith("separator")&&D.leadZero&&requestAnimationFrame(()=>{D._maskService.applyMask(R?.toString()??"",D._maskService.maskExpression)}),D._maskService.isNumberValue=!0}"string"!=typeof R&&(R=""),D._inputValue=R,D._setMask(),R&&D._maskService.maskExpression||D._maskService.maskExpression&&(D._maskService.prefix||D._maskService.showMaskTyped)?("function"!=typeof D.inputTransformFn&&(D._maskService.writingValue=!0),D._maskService.formElementProperty=["value",D._maskService.applyMask(R,D._maskService.maskExpression)],"function"!=typeof D.inputTransformFn&&(D._maskService.writingValue=!1)):D._maskService.formElementProperty=["value",R],D._inputValue=R}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof f)})()}registerOnChange(f){this._maskService.onChange=this.onChange=f}registerOnTouched(f){this.onTouch=f}_getActiveElement(f=this.document){const D=f?.activeElement?.shadowRoot;return D?.activeElement?this._getActiveElement(D):f.activeElement}checkSelectionOnDeletion(f){f.selectionStart=Math.min(Math.max(this.prefix.length,f.selectionStart),this._inputValue.length-this.suffix.length),f.selectionEnd=Math.min(Math.max(this.prefix.length,f.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(f){this._maskService.formElementProperty=["disabled",f]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(f){const D=this._maskValue.split("").filter(R=>":"!==R).length;return f&&(0==+(f[f.length-1]??-1)&&f.length<D||f.length<=D-2)?this._createValidationError(f):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(f){return{mask:{requiredMask:this._maskValue,actualValue:f}}}_setMask(){this._maskExpressionArray.some(f=>{if(f.split("").some(R=>this._maskService.specialCharacters.includes(R))&&this._inputValue&&!f.includes("S")||f.includes("{")){const R=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(f)?.length;if(R)return this._maskValue=this.maskExpression=this._maskService.maskExpression=f.includes("{")?this._maskService._repeatPatternSymbols(f):f,R;{const S=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=S.includes("{")?this._maskService._repeatPatternSymbols(S):S}}else{const R=this._maskService.removeMask(this._inputValue)?.split("").every((S,j)=>{const fe=f.charAt(j);return this._maskService._checkSymbolMask(S,fe)});if(R)return this._maskValue=this.maskExpression=this._maskService.maskExpression=f,R}})}static#e=this.\u0275fac=function(D){return new(D||ee)};static#t=this.\u0275dir=c.FsC({type:ee,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(D,R){1&D&&c.bIt("paste",function(){return R.onPaste()})("focus",function(j){return R.onFocus(j)})("ngModelChange",function(j){return R.onModelChange(j)})("input",function(j){return R.onInput(j)})("compositionstart",function(j){return R.onCompositionStart(j)})("compositionend",function(j){return R.onCompositionEnd(j)})("blur",function(j){return R.onBlur(j)})("click",function(j){return R.onClick(j)})("keydown",function(j){return R.onKeyDown(j)})},inputs:{maskExpression:[c.Mj6.None,"mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thous
1andSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[c.Jv_([{provide:x.kq,useExisting:ee,multi:!0},{provide:x.cz,useExisting:ee,multi:!0},g]),c.OA$]})}return ee})()},467:(Nt,Le,a)=>{"use strict";function t(m,x,_,b,v,M,N){try{var p=m[M](N),P=p.value}catch(g){return void _(g)}p.done?x(P):Promise.resolve(P).then(b,v)}function c(m){return function(){var x=this,_=arguments;return new Promise(function(b,v){var M=m.apply(x,_);function N(P){t(M,b,v,N,p,"next",P)}function p(P){t(M,b,v,N,p,"throw",P)}N(void 0)})}}a.d(Le,{A:()=>c})},8168:(Nt,Le,a)=>{"use strict";function t(){return t=Object.assign?Object.assign.bind():function(c){for(var m=1;m<arguments.length;m++){var x=arguments[m];for(var _ in x)Object.prototype.hasOwnProperty.call(x,_)&&(c[_]=x[_])}return c},t.apply(this,arguments)}a.d(Le,{A:()=>t})},8587:(Nt,Le,a)=>{"use strict";function t(c,m){if(null==c)return{};var b,v,x={},_=Object.keys(c);for(v=0;v<_.length;v++)!(m.indexOf(b=_[v])>=0)&&(x[b]=c[b]);return x}a.d(Le,{A:()=>t})},1635:(Nt,Le,a)=>{"use strict";function g(ce,_e,ne,Z){return new(ne||(ne=Promise))(function(ke,Ne){function Ie(yt){try{et(Z.next(yt))}catch(dt){Ne(dt)}}function De(yt){try{et(Z.throw(yt))}catch(dt){Ne(dt)}}function et(yt){yt.done?ke(yt.value):function ve(ke){return ke instanceof ne?ke:new ne(function(Ne){Ne(ke)})}(yt.value).then(Ie,De)}et((Z=Z.apply(ce,_e||[])).next())})}function D(ce){return this instanceof D?(this.v=ce,this):new D(ce)}function R(ce,_e,ne){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ve,Z=ne.apply(ce,_e||[]),ke=[];return ve={},Ne("next"),Ne("throw"),Ne("return"),ve[Symbol.asyncIterator]=function(){return this},ve;function Ne(Je){Z[Je]&&(ve[Je]=function(Ce){return new Promise(function(we,Ee){ke.push([Je,Ce,we,Ee])>1||Ie(Je,Ce)})})}function Ie(Je,Ce){try{!function De(Je){Je.value instanceof D?Promise.resolve(Je.value.v).then(et,yt):dt(ke[0][2],Je)}(Z[Je](Ce))}catch(we){dt(ke[0][3],we)}}function et(Je){Ie("next",Je)}function yt(Je){Ie("throw",Je)}function dt(Je,Ce){Je(Ce),ke.shift(),ke.length&&Ie(ke[0][0],ke[0][1])}}function j(ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,_e=ce[Symbol.asyncIterator];return _e?_e.call(ce):(ce=function K(ce){var _e="function"==typeof Symbol&&Symbol.iterator,ne=_e&&ce[_e],Z=0;if(ne)return ne.call(ce);if(ce&&"number"==typeof ce.length)return{next:function(){return ce&&Z>=ce.length&&(ce=void 0),{value:ce&&ce[Z++],done:!ce}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")}(ce),ne={},Z("next"),Z("throw"),Z("return"),ne[Symbol.asyncIterator]=function(){return this},ne);function Z(ke){ne[ke]=ce[ke]&&function(Ne){return new Promise(function(Ie,De){!function ve(ke,Ne,Ie,De){Promise.resolve(De).then(function(et){ke({value:et,done:Ie})},Ne)}(Ie,De,(Ne=ce[ke](Ne)).done,Ne.value)})}}}a.d(Le,{AQ:()=>R,N3:()=>D,sH:()=>g,xN:()=>j}),"function"==typeof SuppressedError&&SuppressedError}},Nt=>{Nt(Nt.s=4429)}]);

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.