pangea-lib 3.0.124 → 3.0.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.cjs.js CHANGED
@@ -3,7 +3,7 @@
3
3
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(U){return U instanceof this?U:new this(U)}static concat(U,...P){const K=new this(U);return P.forEach(Z=>K.set(Z)),K}static accessor(U){const P=(this[Y2]=this[Y2]={accessors:{}}).accessors,K=this.prototype;function Z(o1){const s1=m2(o1);P[s1]||(function(x1,V1){const L1=E.toCamelCase(" "+V1);["get","set","has"].forEach(w1=>{Object.defineProperty(x1,w1+L1,{value:function(N1,I1,J1){return this[w1].call(this,V1,N1,I1,J1)},configurable:!0})})}(K,o1),P[s1]=!0)}return E.isArray(U)?U.forEach(Z):Z(U),this}}y1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),E.reduceDescriptors(y1.prototype,({value:D},U)=>{let P=U[0].toUpperCase()+U.slice(1);return{get:()=>D,set(K){this[P]=K}}}),E.freezeMethods(y1);var m1=y1;function S1(D,U){const P=this||O1,K=U||P,Z=m1.from(K.headers);let o1=K.data;return E.forEach(D,function(s1){o1=s1.call(P,o1,Z.normalize(),U?U.status:void 0)}),Z.normalize(),o1}function T1(D){return!(!D||!D.__CANCEL__)}function Q1(D,U,P){I.call(this,D??"canceled",I.ERR_CANCELED,U,P),this.name="CanceledError"}E.inherits(Q1,I,{__CANCEL__:!0});var Q2=d2.hasStandardBrowserEnv?{write(D,U,P,K,Z,o1){const s1=[D+"="+encodeURIComponent(U)];E.isNumber(P)&&s1.push("expires="+new Date(P).toGMTString()),E.isString(K)&&s1.push("path="+K),E.isString(Z)&&s1.push("domain="+Z),o1===!0&&s1.push("secure"),document.cookie=s1.join("; ")},read(D){const U=document.cookie.match(new RegExp("(^|;\\s*)("+D+")=([^;]*)"));return U?decodeURIComponent(U[3]):null},remove(D){this.write(D,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function we(D,U){return D&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(U)?function(P,K){return K?P.replace(/\/?\/$/,"")+"/"+K.replace(/^\/+/,""):P}(D,U):U}var d3=d2.hasStandardBrowserEnv?function(){const D=/(msie|trident)/i.test(navigator.userAgent),U=document.createElement("a");let P;function K(Z){let o1=Z;return D&&(U.setAttribute("href",o1),o1=U.href),U.setAttribute("href",o1),{href:U.href,protocol:U.protocol?U.protocol.replace(/:$/,""):"",host:U.host,search:U.search?U.search.replace(/^\?/,""):"",hash:U.hash?U.hash.replace(/^#/,""):"",hostname:U.hostname,port:U.port,pathname:U.pathname.charAt(0)==="/"?U.pathname:"/"+U.pathname}}return P=K(window.location.href),function(Z){const o1=E.isString(Z)?K(Z):Z;return o1.protocol===P.protocol&&o1.host===P.host}}():function(){return!0};function j3(D,U){let P=0;const K=function(Z,o1){Z=Z||10;const s1=new Array(Z),x1=new Array(Z);let V1,L1=0,w1=0;return o1=o1!==void 0?o1:1e3,function(N1){const I1=Date.now(),J1=x1[w1];V1||(V1=I1),s1[L1]=N1,x1[L1]=I1;let U1=w1,i2=0;for(;U1!==L1;)i2+=s1[U1++],U1%=Z;if(L1=(L1+1)%Z,L1===w1&&(w1=(w1+1)%Z),I1-V1<o1)return;const O2=J1&&I1-J1;return O2?Math.round(1e3*i2/O2):void 0}}(50,250);return Z=>{const o1=Z.loaded,s1=Z.lengthComputable?Z.total:void 0,x1=o1-P,V1=K(x1);P=o1;const L1={loaded:o1,total:s1,progress:s1?o1/s1:void 0,bytes:x1,rate:V1||void 0,estimated:V1&&s1&&o1<=s1?(s1-o1)/V1:void 0,event:Z};L1[U?"download":"upload"]=!0,D(L1)}}const _2={http:null,xhr:typeof XMLHttpRequest<"u"&&function(D){return new Promise(function(U,P){let K=D.data;const Z=m1.from(D.headers).normalize();let o1,s1,{responseType:x1,withXSRFToken:V1}=D;function L1(){D.cancelToken&&D.cancelToken.unsubscribe(o1),D.signal&&D.signal.removeEventListener("abort",o1)}if(E.isFormData(K)){if(d2.hasStandardBrowserEnv||d2.hasStandardBrowserWebWorkerEnv)Z.setContentType(!1);else if((s1=Z.getContentType())!==!1){const[U1,...i2]=s1?s1.split(";").map(O2=>O2.trim()).filter(Boolean):[];Z.setContentType([U1||"multipart/form-data",...i2].join("; "))}}let w1=new XMLHttpRequest;if(D.auth){const U1=D.auth.username||"",i2=D.auth.password?unescape(encodeURIComponent(D.auth.password)):"";Z.set("Authorization","Basic "+btoa(U1+":"+i2))}const N1=we(D.baseURL,D.url);function I1(){if(!w1)return;const U1=m1.from("getAllResponseHeaders"in w1&&w1.getAllResponseHeaders());(function(i2,O2,fe){const Hf=fe.config.validateStatus;fe.status&&Hf&&!Hf(fe.status)?O2(new I("Request failed with status code "+fe.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(fe.status/100)-4],fe.config,fe.request,fe)):i2(fe)})(function(i2){U(i2),L1()},function(i2){P(i2),L1()},{data:x1&&x1!=="text"&&x1!=="json"?w1.response:w1.responseText,status:w1.status,statusText:w1.statusText,headers:U1,config:D,request:w1}),w1=null}if(w1.open(D.method.toUpperCase(),g1(N1,D.params,D.paramsSerializer),!0),w1.timeout=D.timeout,"onloadend"in w1?w1.onloadend=I1:w1.onreadystatechange=function(){w1&&w1.readyState===4&&(w1.status!==0||w1.responseURL&&w1.responseURL.indexOf("file:")===0)&&setTimeout(I1)},w1.onabort=function(){w1&&(P(new I("Request aborted",I.ECONNABORTED,D,w1)),w1=null)},w1.onerror=function(){P(new I("Network Error",I.ERR_NETWORK,D,w1)),w1=null},w1.ontimeout=function(){let U1=D.timeout?"timeout of "+D.timeout+"ms exceeded":"timeout exceeded";const i2=D.transitional||b1;D.timeoutErrorMessage&&(U1=D.timeoutErrorMessage),P(new I(U1,i2.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,D,w1)),w1=null},d2.hasStandardBrowserEnv&&(V1&&E.isFunction(V1)&&(V1=V1(D)),V1||V1!==!1&&d3(N1))){const U1=D.xsrfHeaderName&&D.xsrfCookieName&&Q2.read(D.xsrfCookieName);U1&&Z.set(D.xsrfHeaderName,U1)}K===void 0&&Z.setContentType(null),"setRequestHeader"in w1&&E.forEach(Z.toJSON(),function(U1,i2){w1.setRequestHeader(i2,U1)}),E.isUndefined(D.withCredentials)||(w1.withCredentials=!!D.withCredentials),x1&&x1!=="json"&&(w1.responseType=D.responseType),typeof D.onDownloadProgress=="function"&&w1.addEventListener("progress",j3(D.onDownloadProgress,!0)),typeof D.onUploadProgress=="function"&&w1.upload&&w1.upload.addEventListener("progress",j3(D.onUploadProgress)),(D.cancelToken||D.signal)&&(o1=U1=>{w1&&(P(!U1||U1.type?new Q1(null,D,w1):U1),w1.abort(),w1=null)},D.cancelToken&&D.cancelToken.subscribe(o1),D.signal&&(D.signal.aborted?o1():D.signal.addEventListener("abort",o1)));const J1=function(U1){const i2=/^([-+\w]{1,25})(:?\/\/|:)/.exec(U1);return i2&&i2[1]||""}(N1);J1&&d2.protocols.indexOf(J1)===-1?P(new I("Unsupported protocol "+J1+":",I.ERR_BAD_REQUEST,D)):w1.send(K||null)})}};E.forEach(_2,(D,U)=>{if(D){try{Object.defineProperty(D,"name",{value:U})}catch{}Object.defineProperty(D,"adapterName",{value:U})}});const xe=D=>`- ${D}`,G4=D=>E.isFunction(D)||D===null||D===!1;var X4=D=>{D=E.isArray(D)?D:[D];const{length:U}=D;let P,K;const Z={};for(let o1=0;o1<U;o1++){let s1;if(P=D[o1],K=P,!G4(P)&&(K=_2[(s1=String(P)).toLowerCase()],K===void 0))throw new I(`Unknown adapter '${s1}'`);if(K)break;Z[s1||"#"+o1]=K}if(!K){const o1=Object.entries(Z).map(([s1,x1])=>`adapter ${s1} `+(x1===!1?"is not supported by the environment":"is not available in the build"));throw new I("There is no suitable adapter to dispatch the request "+(U?o1.length>1?`since :
4
4
  `+o1.map(xe).join(`
5
5
  `):" "+xe(o1[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return K};function K4(D){if(D.cancelToken&&D.cancelToken.throwIfRequested(),D.signal&&D.signal.aborted)throw new Q1(null,D)}function M0(D){return K4(D),D.headers=m1.from(D.headers),D.data=S1.call(D,D.transformRequest),["post","put","patch"].indexOf(D.method)!==-1&&D.headers.setContentType("application/x-www-form-urlencoded",!1),X4(D.adapter||O1.adapter)(D).then(function(U){return K4(D),U.data=S1.call(D,D.transformResponse,U),U.headers=m1.from(U.headers),U},function(U){return T1(U)||(K4(D),U&&U.response&&(U.response.data=S1.call(D,D.transformResponse,U.response),U.response.headers=m1.from(U.response.headers))),Promise.reject(U)})}const z0=D=>D instanceof m1?{...D}:D;function T3(D,U){U=U||{};const P={};function K(L1,w1,N1){return E.isPlainObject(L1)&&E.isPlainObject(w1)?E.merge.call({caseless:N1},L1,w1):E.isPlainObject(w1)?E.merge({},w1):E.isArray(w1)?w1.slice():w1}function Z(L1,w1,N1){return E.isUndefined(w1)?E.isUndefined(L1)?void 0:K(void 0,L1,N1):K(L1,w1,N1)}function o1(L1,w1){if(!E.isUndefined(w1))return K(void 0,w1)}function s1(L1,w1){return E.isUndefined(w1)?E.isUndefined(L1)?void 0:K(void 0,L1):K(void 0,w1)}function x1(L1,w1,N1){return N1 in U?K(L1,w1):N1 in D?K(void 0,L1):void 0}const V1={url:o1,method:o1,data:o1,baseURL:s1,transformRequest:s1,transformResponse:s1,paramsSerializer:s1,timeout:s1,timeoutMessage:s1,withCredentials:s1,withXSRFToken:s1,adapter:s1,responseType:s1,xsrfCookieName:s1,xsrfHeaderName:s1,onUploadProgress:s1,onDownloadProgress:s1,decompress:s1,maxContentLength:s1,maxBodyLength:s1,beforeRedirect:s1,transport:s1,httpAgent:s1,httpsAgent:s1,cancelToken:s1,socketPath:s1,responseEncoding:s1,validateStatus:x1,headers:(L1,w1)=>Z(z0(L1),z0(w1),!0)};return E.forEach(Object.keys(Object.assign({},D,U)),function(L1){const w1=V1[L1]||Z,N1=w1(D[L1],U[L1],L1);E.isUndefined(N1)&&w1!==x1||(P[L1]=N1)}),P}const Ue={};["object","boolean","number","function","string","symbol"].forEach((D,U)=>{Ue[D]=function(P){return typeof P===D||"a"+(U<1?"n ":" ")+D}});const Z4={};Ue.transitional=function(D,U,P){function K(Z,o1){return"[Axios v1.6.8] Transitional option '"+Z+"'"+o1+(P?". "+P:"")}return(Z,o1,s1)=>{if(D===!1)throw new I(K(o1," has been removed"+(U?" in "+U:"")),I.ERR_DEPRECATED);return U&&!Z4[o1]&&(Z4[o1]=!0,console.warn(K(o1," has been deprecated since v"+U+" and will be removed in the near future"))),!D||D(Z,o1,s1)}};var Tt={assertOptions:function(D,U,P){if(typeof D!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const K=Object.keys(D);let Z=K.length;for(;Z-- >0;){const o1=K[Z],s1=U[o1];if(s1){const x1=D[o1],V1=x1===void 0||s1(x1,o1,D);if(V1!==!0)throw new I("option "+o1+" must be "+V1,I.ERR_BAD_OPTION_VALUE)}else if(P!==!0)throw new I("Unknown option "+o1,I.ERR_BAD_OPTION)}},validators:Ue};const X=Tt.validators;class r1{constructor(U){this.defaults=U,this.interceptors={request:new k1,response:new k1}}async request(U,P){try{return await this._request(U,P)}catch(K){if(K instanceof Error){let Z;Error.captureStackTrace?Error.captureStackTrace(Z={}):Z=new Error;const o1=Z.stack?Z.stack.replace(/^.+\n/,""):"";K.stack?o1&&!String(K.stack).endsWith(o1.replace(/^.+\n.+\n/,""))&&(K.stack+=`
6
- `+o1):K.stack=o1}throw K}}_request(U,P){typeof U=="string"?(P=P||{}).url=U:P=U||{},P=T3(this.defaults,P);const{transitional:K,paramsSerializer:Z,headers:o1}=P;K!==void 0&&Tt.assertOptions(K,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean)},!1),Z!=null&&(E.isFunction(Z)?P.paramsSerializer={serialize:Z}:Tt.assertOptions(Z,{encode:X.function,serialize:X.function},!0)),P.method=(P.method||this.defaults.method||"get").toLowerCase();let s1=o1&&E.merge(o1.common,o1[P.method]);o1&&E.forEach(["delete","get","head","post","put","patch","common"],U1=>{delete o1[U1]}),P.headers=m1.concat(s1,o1);const x1=[];let V1=!0;this.interceptors.request.forEach(function(U1){typeof U1.runWhen=="function"&&U1.runWhen(P)===!1||(V1=V1&&U1.synchronous,x1.unshift(U1.fulfilled,U1.rejected))});const L1=[];let w1;this.interceptors.response.forEach(function(U1){L1.push(U1.fulfilled,U1.rejected)});let N1,I1=0;if(!V1){const U1=[M0.bind(this),void 0];for(U1.unshift.apply(U1,x1),U1.push.apply(U1,L1),N1=U1.length,w1=Promise.resolve(P);I1<N1;)w1=w1.then(U1[I1++],U1[I1++]);return w1}N1=x1.length;let J1=P;for(I1=0;I1<N1;){const U1=x1[I1++],i2=x1[I1++];try{J1=U1(J1)}catch(O2){i2.call(this,O2);break}}try{w1=M0.call(this,J1)}catch(U1){return Promise.reject(U1)}for(I1=0,N1=L1.length;I1<N1;)w1=w1.then(L1[I1++],L1[I1++]);return w1}getUri(U){return g1(we((U=T3(this.defaults,U)).baseURL,U.url),U.params,U.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(D){r1.prototype[D]=function(U,P){return this.request(T3(P||{},{method:D,url:U,data:(P||{}).data}))}}),E.forEach(["post","put","patch"],function(D){function U(P){return function(K,Z,o1){return this.request(T3(o1||{},{method:D,headers:P?{"Content-Type":"multipart/form-data"}:{},url:K,data:Z}))}}r1.prototype[D]=U(),r1.prototype[D+"Form"]=U(!0)});var Q=r1;class J{constructor(U){if(typeof U!="function")throw new TypeError("executor must be a function.");let P;this.promise=new Promise(function(Z){P=Z});const K=this;this.promise.then(Z=>{if(!K._listeners)return;let o1=K._listeners.length;for(;o1-- >0;)K._listeners[o1](Z);K._listeners=null}),this.promise.then=Z=>{let o1;const s1=new Promise(x1=>{K.subscribe(x1),o1=x1}).then(Z);return s1.cancel=function(){K.unsubscribe(o1)},s1},U(function(Z,o1,s1){K.reason||(K.reason=new Q1(Z,o1,s1),P(K.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(U){this.reason?U(this.reason):this._listeners?this._listeners.push(U):this._listeners=[U]}unsubscribe(U){if(!this._listeners)return;const P=this._listeners.indexOf(U);P!==-1&&this._listeners.splice(P,1)}static source(){let U;return{token:new J(function(P){U=P}),cancel:U}}}var c1=J;const i1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(i1).forEach(([D,U])=>{i1[U]=D});var C1=i1;const M1=function D(U){const P=new Q(U),K=l(Q.prototype.request,P);return E.extend(K,Q.prototype,P,{allOwnKeys:!0}),E.extend(K,P,null,{allOwnKeys:!0}),K.create=function(Z){return D(T3(U,Z))},K}(O1);M1.Axios=Q,M1.CanceledError=Q1,M1.CancelToken=c1,M1.isCancel=T1,M1.VERSION="1.6.8",M1.toFormData=z1,M1.AxiosError=I,M1.Cancel=M1.CanceledError,M1.all=function(D){return Promise.all(D)},M1.spread=function(D){return function(U){return D.apply(null,U)}},M1.isAxiosError=function(D){return E.isObject(D)&&D.isAxiosError===!0},M1.mergeConfig=T3,M1.AxiosHeaders=m1,M1.formToJSON=D=>G1(E.isHTMLForm(D)?new FormData(D):D),M1.getAdapter=X4,M1.HttpStatusCode=C1,M1.default=M1,c.exports=M1}},r={};function n(c){var i=r[c];if(i!==void 0)return i.exports;var s=r[c]={exports:{}};return a[c].call(s.exports,s,s.exports,n),s.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(Ap);var Fe=Ap.exports,A4;let Z2=(A4=class{constructor(t){v1(this,"config");this.config=t}static init(t){if(A4.instance)throw new Error("Config is already initialized");A4.instance=new A4(t)}static getConfig(){if(!A4.instance)throw new Error("Config is not initialized. Call init() first.");return A4.instance.config}},v1(A4,"instance"),A4);const h4=F4.defineStore("pga-app-options",()=>{const e=o.ref(!1),t=o.ref({language:"es",theme:"light"}),a=o.computed({get(){return t.value.language},set(l){t.value.language=l}}),r=o.computed({get(){return t.value.theme},set(l){t.value.theme=l}});o.watch(r,()=>Lo());function n(l){e.value||(e.value=!0,t.value=Fe.mergeDeep(t.value,l))}function c(l){a.value=l}function i(l){r.value=l}function s(){r.value=r.value==="light"?"dark":"light"}return{options:t,language:a,theme:r,init:n,setLanguage:c,setTheme:i,changeTheme:s}},{persist:!0}),$3=F4.defineStore("pga-route",()=>{const e=o.ref(),t=o.ref(!Vo()),a=o.computed(()=>Pv(e.value)),r=o.computed(()=>{var s;return bn(a.value,(s=e.value)==null?void 0:s.name)}),n=o.computed(()=>{var s;return(s=e.value)==null?void 0:s.meta.access}),c=o.computed(()=>{var s;return!!((s=e.value)!=null&&s.meta.preventDisplayNavigationBars)}),i=o.computed(()=>!c.value&&t.value);return{currentRoute:e,isSideBarOpen:t,currentRouteType:a,currentRouteTitle:r,currentRouteAccess:n,preventDisplayNavigationBars:c,isDisplayingSideBar:i}});function Tp(){const e=Z2.getConfig().stores.useAuthStore(),t=$3().currentRouteType,a=`auth${Fe.getFirstChartInUppercase(t)}`;return!!e[a].accessToken&&!!e[a].user.id}function Ep(){const e=Z2.getConfig().stores.useAuthStore(),t=$3().currentRouteType,a=`auth${Fe.getFirstChartInUppercase(t)}`;return e[a].accessToken}async function Np(e,t,a){const r=Z2.getConfig(),n=r.stores.useAuthStore(),c=`authentication/login/${e}`,i={basicAuth:t,isLoadingRef:a==null?void 0:a.isLoadingRef},s=await r.api.postOne(c,void 0,i);n.setAuthUser(e,s.data);const l={name:(a==null?void 0:a.redirectToName)||r.defaultRoutes[e].auth};r.router.push(l)}async function Dp(){const e=Z2.getConfig(),t=e.stores.useAuthStore(),a=$3().currentRouteType;try{const r=`authentication/validateAccessToken/${a}`,n=await e.api.getOne(r,void 0,void 0,{preventDisplayError:!0});t.setAuthUser(a,n.data)}catch{t.setAuthUser(a)}}function Op(e){const t=Z2.getConfig();t.stores.useAuthStore().setAuthUser(e);const r={name:`login${Fe.getFirstChartInUppercase(e)}`};t.router.push(r)}function sc(e,t,a){const r=document.querySelector(":root"),n="--pga-",c=a!=null&&a.preventConvertToKebab?e:Fe.camelToKebab(e);r.style.setProperty(`${n}${c}`,t)}function oc(e){const t=e?"visible":"hidden";document.body.style.overflow=t}function oT(e,t,a="animate__"){return new Promise(r=>{const n=`${a}${t}`,c=document.querySelector(e);if(!c)return;c.classList.add(`${a}animated`,n);const i=s=>{s.stopPropagation(),c==null||c.classList.remove(`${a}animated`,n),r("Animation ended")};c.addEventListener("animationend",i,{once:!0})})}function mn(e){return Object.keys(Lp).includes(e)}function Pp(e,t){let a=0,r=0,n=0,c=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const s=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,l,f,u,d="1"]=s.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(l),r=parseInt(f),n=parseInt(u),c=parseFloat(d)}if(e.startsWith("#")){let s=e;s.length===4&&(s="#"+s[1]+s[1]+s[2]+s[2]+s[3]+s[3]);let[,l,f,u,d]=s.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((h,m)=>m===4?parseInt(h,16)/255:parseInt(h,16));d=d?parseFloat(d.toFixed(3)):1,a=l,r=f,n=u,c=d}const i=t/100;return`rgba(${a}, ${r}, ${n}, ${c*i})`}function Ls(e,t){const r=`color-${Fe.camelToKebab(e)}`,n={preventConvertToKebab:!0};sc(r,t,n);for(let c=5;c<=95;c+=5){const i=c<10?`0${c}`:c%10===0?`${c/10}`:`${c}`;sc(`${r}-0${i}`,Pp(t,c),n)}}function lT(){const e=Sp,t=Math.floor(Math.random()*Object.keys(e).length);return e[Object.keys(e)[t]]}const fT={es:{successfulLogout:"¡Vuelva pronto!"}},uT={es:{today:"Hoy",tomorrow:"Mañana",yesterday:"Ayer"}},dT={es:{alertTitle:"¿Estás seguro?",cancelBtn:"Cancelar",acceptBtn:"Eliminar"}},hT={es:{INTERNAL_SERVER_ERROR:"Ha ocurrido un error",DUPLICATE_KEY:"Item ya creado",FOREIGN_KEY_INTEGRITY:"El item no existe",MODELS_ASSOCIATED:"No se puede eliminar porque tiene items asociados",INVALID_INPUT_DATA:"Los datos ingresados no son correctos",ENTITY_NOT_FOUND:"El item no existe",INVALID_CREDENTIALS:"Usuario o contraseña incorrectos",UNAUTHORIZED:"No autorizado"}},mT={es:{_LOGIN:"¡Bienvenido!"}},pT={es:{backBtn:"Volver",deleteBtn:"Eliminar",confirmDeleteText:"",editBtn:"Editar",logoutBtn:"Cerrar sesión",navigateToBtn:"Ir al detalle",seeDetailsBtn:"Detalles"}},vT={es:{noItemsText:"No hay resultados",showAll:"Mostrar todo",hide:"Ocultar"}},gT={es:{savedMsg:"Guardado",saveErrorMsg:"Texto demasiado largo"}},yT={es:{submitBtn:"Guardar",selectFileLabel:"Seleccionar archivo",selectFilesLabel:"Seleccionar archivos",removeBtn:"Eliminar archivo",newFileError:"Formato inválido",requiredLabel:"Requerido",optionalLabel:"Opcional",usernameLabel:"Usuario",passwordLabel:"Contraseña",loginBtn:"Iniciar sesión",emptyOptionsText:"No hay opciones",cancelBtn:"Cancelar",selectBtn:"Seleccionar"}},xT={es:{selectFileLabel:"Seleccionar imágenes",confirmDeleteText:"La imagen se eliminará permanentemente.",maxImagesQuantityAlert:"Solo puede cargar {maxQuantity} imágenes"}},bT={es:{header:{switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",logout:"Cerrar sesión"},footer:{allRightsReserved:"Todos los derechos reservados",designedBy:"Diseñado por"}}},CT={es:{cancelBtn:"Cancelar",acceptBtn:"Guardar"}},MT={es:{columnTitleActions:"",selectAllBtn:"Seleccionar todo",withTheSelectedItemsText:"Con los seleccionados:",filtersBtn:"Filtros",filtersModalTitle:"Filtros",confirmDeleteText:'¿Eliminar "{description}"?'}},zT={es:{removeAllBtn:"Eliminar todo"}},wT={es:{requiredRuleError:"Campo requerido",minLengthRuleError:"Longitud mínima: {length} caracteres",maxLengthRuleError:"Longitud máxima: {length} caracteres",integerRuleError:"Ingrese un valor entero",lessEqualRuleError:"Ingrese un valor menor o igual a {number}",greaterEqualRuleError:"Ingrese un valor mayor o igual a {number}",lessThanRuleError:"Ingrese un valor menor a {number}",greaterThanRuleError:"Ingrese un valor mayor a {number}"}},_T={authHelpers:fT,datetime:uT,alert:dT,apiConnectionsError:hT,apiConnectionsSuccess:mT,pgaButton:pT,pgaDisplay:vT,pgaEditor:gT,pgaForm:yT,pgaImage:xT,pgaLayout:bT,pgaModal:CT,pgaTable:MT,notifications:zT,validations:wT};function Bp(e){function t(a,r){return function(n,c,i){var y;const s=h4().language,l=e==null?void 0:e[a],f=l==null?void 0:l[s],u=r?r.split(".").reduce((x,C)=>x==null?void 0:x[C],f):f,d=(y=e==null?void 0:e.global)==null?void 0:y[s],h=n,m=(u==null?void 0:u[h])||(d==null?void 0:d[h])||"",v=(c==null?void 0:c.count)||0,p=m.split("|").map(x=>x.trim());let g=p[0];p.length===2?g=v===1?p[0]:p[1]:p.length===3&&(g=v===0?p[0]:v===1?p[1]:p[2]),g=g.replace(new RegExp("{count}","g"),v.toString());for(const x in c||{})x!=="count"&&c[x]!==void 0&&c[x]!==null&&(g=g.replace(new RegExp(`{${x}}`,"g"),c[x].toString()));return i!=null&&i.singular?g=p[0]:i!=null&&i.uppercase&&p.length===2&&(g=p[1]),i!=null&&i.lowercase?g.toLowerCase():i!=null&&i.uppercase?g.toUpperCase():i!=null&&i.capitalize?`${g.charAt(0).toUpperCase()}${g.slice(1).toLowerCase()}`:g}}return t}const V2=Bp(_T),yi=V2("datetime");function m4(e,t){if(!e)return"-";const r={...{format:"short",withoutYear:!1,withoutDay:!1,withTime:!0,justTime:!1},...t},n={year:r.withoutYear||r.justTime?void 0:"numeric",month:r.justTime?void 0:r.format==="numeric"?"2-digit":r.format,day:r.withoutDay||r.justTime?void 0:"2-digit",weekday:r.withoutDay||r.justTime||r.format==="numeric"?void 0:r.format,hour:r.withTime||r.justTime?"2-digit":void 0,minute:r.withTime||r.justTime?"2-digit":void 0},c=e.toLocaleString(h4().language,n);return c.charAt(0).toUpperCase()+c.slice(1)}function kT(e){return m4(e,{format:"short",withoutDay:!0,withTime:!1})}function Wa(e){return m4(e,{format:"numeric",withTime:!1})}function Ss(e){if(!e)return"";const t=Wa(e),a=new Date,r=new Date(a);r.setDate(a.getDate()+1);const n=new Date(a);if(n.setDate(a.getDate()-1),t===Wa(a))return yi("today");if(t===Wa(r))return yi("tomorrow");if(t===Wa(n))return yi("yesterday");const c={format:"long",withTime:!1};return e.getFullYear()===a.getFullYear()?m4(e,{...c,withoutYear:!0}):m4(e,c)}function lc(e){return m4(e,{justTime:!0})}/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */const{entries:Fp,setPrototypeOf:Vf,isFrozen:HT,getPrototypeOf:VT,getOwnPropertyDescriptor:LT}=Object;let{freeze:f3,seal:R3,create:Rp}=Object,{apply:As,construct:Ts}=typeof Reflect<"u"&&Reflect;f3||(f3=function(t){return t});R3||(R3=function(t){return t});As||(As=function(t,a,r){return t.apply(a,r)});Ts||(Ts=function(t,a){return new t(...a)});const Gn=_3(Array.prototype.forEach),Lf=_3(Array.prototype.pop),Ma=_3(Array.prototype.push),P8=_3(String.prototype.toLowerCase),xi=_3(String.prototype.toString),Sf=_3(String.prototype.match),za=_3(String.prototype.replace),ST=_3(String.prototype.indexOf),AT=_3(String.prototype.trim),K3=_3(Object.prototype.hasOwnProperty),n3=_3(RegExp.prototype.test),wa=TT(TypeError);function _3(e){return function(t){for(var a=arguments.length,r=new Array(a>1?a-1:0),n=1;n<a;n++)r[n-1]=arguments[n];return As(e,t,r)}}function TT(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return Ts(e,a)}}function s2(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:P8;Vf&&Vf(e,null);let r=t.length;for(;r--;){let n=t[r];if(typeof n=="string"){const c=a(n);c!==n&&(HT(t)||(t[r]=c),n=c)}e[n]=!0}return e}function ET(e){for(let t=0;t<e.length;t++)K3(e,t)||(e[t]=null);return e}function S0(e){const t=Rp(null);for(const[a,r]of Fp(e))K3(e,a)&&(Array.isArray(r)?t[a]=ET(r):r&&typeof r=="object"&&r.constructor===Object?t[a]=S0(r):t[a]=r);return t}function _a(e,t){for(;e!==null;){const r=LT(e,t);if(r){if(r.get)return _3(r.get);if(typeof r.value=="function")return _3(r.value)}e=VT(e)}function a(){return null}return a}const Af=f3(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),bi=f3(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ci=f3(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),NT=f3(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Mi=f3(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),DT=f3(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Tf=f3(["#text"]),Ef=f3(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),zi=f3(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Nf=f3(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xn=f3(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),OT=R3(/\{\{[\w\W]*|[\w\W]*\}\}/gm),PT=R3(/<%[\w\W]*|[\w\W]*%>/gm),BT=R3(/\$\{[\w\W]*}/gm),FT=R3(/^data-[\-\w.\u00B7-\uFFFF]+$/),RT=R3(/^aria-[\-\w]+$/),Ip=R3(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IT=R3(/^(?:\w+script|data):/i),$T=R3(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$p=R3(/^html$/i),UT=R3(/^[a-z][.\w]*(-[.\w]+)+$/i);var Df=Object.freeze({__proto__:null,ARIA_ATTR:RT,ATTR_WHITESPACE:$T,CUSTOM_ELEMENT:UT,DATA_ATTR:FT,DOCTYPE_NAME:$p,ERB_EXPR:PT,IS_ALLOWED_URI:Ip,IS_SCRIPT_OR_DATA:IT,MUSTACHE_EXPR:OT,TMPLIT_EXPR:BT});const ka={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},WT=function(){return typeof window>"u"?null:window},qT=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";a&&a.hasAttribute(n)&&(r=a.getAttribute(n));const c="dompurify"+(r?"#"+r:"");try{return t.createPolicy(c,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}},Of=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Up(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:WT();const t=U=>Up(U);if(t.version="3.2.3",t.removed=[],!e||!e.document||e.document.nodeType!==ka.document)return t.isSupported=!1,t;let{document:a}=e;const r=a,n=r.currentScript,{DocumentFragment:c,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:f,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:m}=e,v=l.prototype,p=_a(v,"cloneNode"),g=_a(v,"remove"),y=_a(v,"nextSibling"),x=_a(v,"childNodes"),C=_a(v,"parentNode");if(typeof i=="function"){const U=a.createElement("template");U.content&&U.content.ownerDocument&&(a=U.content.ownerDocument)}let b,M="";const{implementation:w,createNodeIterator:z,createDocumentFragment:H,getElementsByTagName:A}=a,{importNode:V}=r;let k=Of();t.isSupported=typeof Fp=="function"&&typeof C=="function"&&w&&w.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:_,ERB_EXPR:N,TMPLIT_EXPR:q,DATA_ATTR:S,ARIA_ATTR:B,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:e1,CUSTOM_ELEMENT:Y}=Df;let{IS_ALLOWED_URI:G}=Df,O=null;const T=s2({},[...Af,...bi,...Ci,...Mi,...Tf]);let L=null;const W=s2({},[...Ef,...zi,...Nf,...Xn]);let j=Object.seal(Rp(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),E=null,I=null,a1=!0,n1=!0,t1=!1,d1=!0,R=!1,p1=!0,z1=!1,h1=!1,l1=!1,f1=!1,u1=!1,g1=!1,k1=!0,b1=!1;const H1="user-content-";let F1=!0,$1=!1,W1={},K1=null;const d2=s2({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let G1=null;const j2=s2({},["audio","video","img","source","image","track"]);let O1=null;const c2=s2({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Y2="http://www.w3.org/1998/Math/MathML",m2="http://www.w3.org/2000/svg",A2="http://www.w3.org/1999/xhtml";let Pe=A2,y1=!1,m1=null;const S1=s2({},[Y2,m2,A2],xi);let T1=s2({},["mi","mo","mn","ms","mtext"]),Q1=s2({},["annotation-xml"]);const Q2=s2({},["title","style","font","a","script"]);let we=null;const d3=["application/xhtml+xml","text/html"],j3="text/html";let _2=null,xe=null;const G4=a.createElement("form"),X4=function(P){return P instanceof RegExp||P instanceof Function},K4=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===P)){if((!P||typeof P!="object")&&(P={}),P=S0(P),we=d3.indexOf(P.PARSER_MEDIA_TYPE)===-1?j3:P.PARSER_MEDIA_TYPE,_2=we==="application/xhtml+xml"?xi:P8,O=K3(P,"ALLOWED_TAGS")?s2({},P.ALLOWED_TAGS,_2):T,L=K3(P,"ALLOWED_ATTR")?s2({},P.ALLOWED_ATTR,_2):W,m1=K3(P,"ALLOWED_NAMESPACES")?s2({},P.ALLOWED_NAMESPACES,xi):S1,O1=K3(P,"ADD_URI_SAFE_ATTR")?s2(S0(c2),P.ADD_URI_SAFE_ATTR,_2):c2,G1=K3(P,"ADD_DATA_URI_TAGS")?s2(S0(j2),P.ADD_DATA_URI_TAGS,_2):j2,K1=K3(P,"FORBID_CONTENTS")?s2({},P.FORBID_CONTENTS,_2):d2,E=K3(P,"FORBID_TAGS")?s2({},P.FORBID_TAGS,_2):{},I=K3(P,"FORBID_ATTR")?s2({},P.FORBID_ATTR,_2):{},W1=K3(P,"USE_PROFILES")?P.USE_PROFILES:!1,a1=P.ALLOW_ARIA_ATTR!==!1,n1=P.ALLOW_DATA_ATTR!==!1,t1=P.ALLOW_UNKNOWN_PROTOCOLS||!1,d1=P.ALLOW_SELF_CLOSE_IN_ATTR!==!1,R=P.SAFE_FOR_TEMPLATES||!1,p1=P.SAFE_FOR_XML!==!1,z1=P.WHOLE_DOCUMENT||!1,f1=P.RETURN_DOM||!1,u1=P.RETURN_DOM_FRAGMENT||!1,g1=P.RETURN_TRUSTED_TYPE||!1,l1=P.FORCE_BODY||!1,k1=P.SANITIZE_DOM!==!1,b1=P.SANITIZE_NAMED_PROPS||!1,F1=P.KEEP_CONTENT!==!1,$1=P.IN_PLACE||!1,G=P.ALLOWED_URI_REGEXP||Ip,Pe=P.NAMESPACE||A2,T1=P.MATHML_TEXT_INTEGRATION_POINTS||T1,Q1=P.HTML_INTEGRATION_POINTS||Q1,j=P.CUSTOM_ELEMENT_HANDLING||{},P.CUSTOM_ELEMENT_HANDLING&&X4(P.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=P.CUSTOM_ELEMENT_HANDLING.tagNameCheck),P.CUSTOM_ELEMENT_HANDLING&&X4(P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),P.CUSTOM_ELEMENT_HANDLING&&typeof P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),R&&(n1=!1),u1&&(f1=!0),W1&&(O=s2({},Tf),L=[],W1.html===!0&&(s2(O,Af),s2(L,Ef)),W1.svg===!0&&(s2(O,bi),s2(L,zi),s2(L,Xn)),W1.svgFilters===!0&&(s2(O,Ci),s2(L,zi),s2(L,Xn)),W1.mathMl===!0&&(s2(O,Mi),s2(L,Nf),s2(L,Xn))),P.ADD_TAGS&&(O===T&&(O=S0(O)),s2(O,P.ADD_TAGS,_2)),P.ADD_ATTR&&(L===W&&(L=S0(L)),s2(L,P.ADD_ATTR,_2)),P.ADD_URI_SAFE_ATTR&&s2(O1,P.ADD_URI_SAFE_ATTR,_2),P.FORBID_CONTENTS&&(K1===d2&&(K1=S0(K1)),s2(K1,P.FORBID_CONTENTS,_2)),F1&&(O["#text"]=!0),z1&&s2(O,["html","head","body"]),O.table&&(s2(O,["tbody"]),delete E.tbody),P.TRUSTED_TYPES_POLICY){if(typeof P.TRUSTED_TYPES_POLICY.createHTML!="function")throw wa('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof P.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw wa('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=P.TRUSTED_TYPES_POLICY,M=b.createHTML("")}else b===void 0&&(b=qT(m,n)),b!==null&&typeof M=="string"&&(M=b.createHTML(""));f3&&f3(P),xe=P}},M0=s2({},[...bi,...Ci,...NT]),z0=s2({},[...Mi,...DT]),T3=function(P){let K=C(P);(!K||!K.tagName)&&(K={namespaceURI:Pe,tagName:"template"});const Z=P8(P.tagName),o1=P8(K.tagName);return m1[P.namespaceURI]?P.namespaceURI===m2?K.namespaceURI===A2?Z==="svg":K.namespaceURI===Y2?Z==="svg"&&(o1==="annotation-xml"||T1[o1]):!!M0[Z]:P.namespaceURI===Y2?K.namespaceURI===A2?Z==="math":K.namespaceURI===m2?Z==="math"&&Q1[o1]:!!z0[Z]:P.namespaceURI===A2?K.namespaceURI===m2&&!Q1[o1]||K.namespaceURI===Y2&&!T1[o1]?!1:!z0[Z]&&(Q2[Z]||!M0[Z]):!!(we==="application/xhtml+xml"&&m1[P.namespaceURI]):!1},Ue=function(P){Ma(t.removed,{element:P});try{C(P).removeChild(P)}catch{g(P)}},Z4=function(P,K){try{Ma(t.removed,{attribute:K.getAttributeNode(P),from:K})}catch{Ma(t.removed,{attribute:null,from:K})}if(K.removeAttribute(P),P==="is")if(f1||u1)try{Ue(K)}catch{}else try{K.setAttribute(P,"")}catch{}},Tt=function(P){let K=null,Z=null;if(l1)P="<remove></remove>"+P;else{const x1=Sf(P,/^[\r\n\t ]+/);Z=x1&&x1[0]}we==="application/xhtml+xml"&&Pe===A2&&(P='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+P+"</body></html>");const o1=b?b.createHTML(P):P;if(Pe===A2)try{K=new h().parseFromString(o1,we)}catch{}if(!K||!K.documentElement){K=w.createDocument(Pe,"template",null);try{K.documentElement.innerHTML=y1?M:o1}catch{}}const s1=K.body||K.documentElement;return P&&Z&&s1.insertBefore(a.createTextNode(Z),s1.childNodes[0]||null),Pe===A2?A.call(K,z1?"html":"body")[0]:z1?K.documentElement:s1},X=function(P){return z.call(P.ownerDocument||P,P,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},r1=function(P){return P instanceof d&&(typeof P.nodeName!="string"||typeof P.textContent!="string"||typeof P.removeChild!="function"||!(P.attributes instanceof u)||typeof P.removeAttribute!="function"||typeof P.setAttribute!="function"||typeof P.namespaceURI!="string"||typeof P.insertBefore!="function"||typeof P.hasChildNodes!="function")},Q=function(P){return typeof s=="function"&&P instanceof s};function J(U,P,K){Gn(U,Z=>{Z.call(t,P,K,xe)})}const c1=function(P){let K=null;if(J(k.beforeSanitizeElements,P,null),r1(P))return Ue(P),!0;const Z=_2(P.nodeName);if(J(k.uponSanitizeElement,P,{tagName:Z,allowedTags:O}),P.hasChildNodes()&&!Q(P.firstElementChild)&&n3(/<[/\w]/g,P.innerHTML)&&n3(/<[/\w]/g,P.textContent)||P.nodeType===ka.progressingInstruction||p1&&P.nodeType===ka.comment&&n3(/<[/\w]/g,P.data))return Ue(P),!0;if(!O[Z]||E[Z]){if(!E[Z]&&C1(Z)&&(j.tagNameCheck instanceof RegExp&&n3(j.tagNameCheck,Z)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Z)))return!1;if(F1&&!K1[Z]){const o1=C(P)||P.parentNode,s1=x(P)||P.childNodes;if(s1&&o1){const x1=s1.length;for(let V1=x1-1;V1>=0;--V1){const L1=p(s1[V1],!0);L1.__removalCount=(P.__removalCount||0)+1,o1.insertBefore(L1,y(P))}}}return Ue(P),!0}return P instanceof l&&!T3(P)||(Z==="noscript"||Z==="noembed"||Z==="noframes")&&n3(/<\/no(script|embed|frames)/i,P.innerHTML)?(Ue(P),!0):(R&&P.nodeType===ka.text&&(K=P.textContent,Gn([_,N,q],o1=>{K=za(K,o1," ")}),P.textContent!==K&&(Ma(t.removed,{element:P.cloneNode()}),P.textContent=K)),J(k.afterSanitizeElements,P,null),!1)},i1=function(P,K,Z){if(k1&&(K==="id"||K==="name")&&(Z in a||Z in G4))return!1;if(!(n1&&!I[K]&&n3(S,K))){if(!(a1&&n3(B,K))){if(!L[K]||I[K]){if(!(C1(P)&&(j.tagNameCheck instanceof RegExp&&n3(j.tagNameCheck,P)||j.tagNameCheck instanceof Function&&j.tagNameCheck(P))&&(j.attributeNameCheck instanceof RegExp&&n3(j.attributeNameCheck,K)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(K))||K==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&n3(j.tagNameCheck,Z)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Z))))return!1}else if(!O1[K]){if(!n3(G,za(Z,e1,""))){if(!((K==="src"||K==="xlink:href"||K==="href")&&P!=="script"&&ST(Z,"data:")===0&&G1[P])){if(!(t1&&!n3(F,za(Z,e1,"")))){if(Z)return!1}}}}}}return!0},C1=function(P){return P!=="annotation-xml"&&Sf(P,Y)},M1=function(P){J(k.beforeSanitizeAttributes,P,null);const{attributes:K}=P;if(!K||r1(P))return;const Z={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0};let o1=K.length;for(;o1--;){const s1=K[o1],{name:x1,namespaceURI:V1,value:L1}=s1,w1=_2(x1);let N1=x1==="value"?L1:AT(L1);if(Z.attrName=w1,Z.attrValue=N1,Z.keepAttr=!0,Z.forceKeepAttr=void 0,J(k.uponSanitizeAttribute,P,Z),N1=Z.attrValue,b1&&(w1==="id"||w1==="name")&&(Z4(x1,P),N1=H1+N1),p1&&n3(/((--!?|])>)|<\/(style|title)/i,N1)){Z4(x1,P);continue}if(Z.forceKeepAttr||(Z4(x1,P),!Z.keepAttr))continue;if(!d1&&n3(/\/>/i,N1)){Z4(x1,P);continue}R&&Gn([_,N,q],J1=>{N1=za(N1,J1," ")});const I1=_2(P.nodeName);if(i1(I1,w1,N1)){if(b&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!V1)switch(m.getAttributeType(I1,w1)){case"TrustedHTML":{N1=b.createHTML(N1);break}case"TrustedScriptURL":{N1=b.createScriptURL(N1);break}}try{V1?P.setAttributeNS(V1,x1,N1):P.setAttribute(x1,N1),r1(P)?Ue(P):Lf(t.removed)}catch{}}}J(k.afterSanitizeAttributes,P,null)},D=function U(P){let K=null;const Z=X(P);for(J(k.beforeSanitizeShadowDOM,P,null);K=Z.nextNode();)J(k.uponSanitizeShadowNode,K,null),c1(K),M1(K),K.content instanceof c&&U(K.content);J(k.afterSanitizeShadowDOM,P,null)};return t.sanitize=function(U){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=null,Z=null,o1=null,s1=null;if(y1=!U,y1&&(U="<!-->"),typeof U!="string"&&!Q(U))if(typeof U.toString=="function"){if(U=U.toString(),typeof U!="string")throw wa("dirty is not a string, aborting")}else throw wa("toString is not a function");if(!t.isSupported)return U;if(h1||K4(P),t.removed=[],typeof U=="string"&&($1=!1),$1){if(U.nodeName){const L1=_2(U.nodeName);if(!O[L1]||E[L1])throw wa("root node is forbidden and cannot be sanitized in-place")}}else if(U instanceof s)K=Tt("<!---->"),Z=K.ownerDocument.importNode(U,!0),Z.nodeType===ka.element&&Z.nodeName==="BODY"||Z.nodeName==="HTML"?K=Z:K.appendChild(Z);else{if(!f1&&!R&&!z1&&U.indexOf("<")===-1)return b&&g1?b.createHTML(U):U;if(K=Tt(U),!K)return f1?null:g1?M:""}K&&l1&&Ue(K.firstChild);const x1=X($1?U:K);for(;o1=x1.nextNode();)c1(o1),M1(o1),o1.content instanceof c&&D(o1.content);if($1)return U;if(f1){if(u1)for(s1=H.call(K.ownerDocument);K.firstChild;)s1.appendChild(K.firstChild);else s1=K;return(L.shadowroot||L.shadowrootmode)&&(s1=V.call(r,s1,!0)),s1}let V1=z1?K.outerHTML:K.innerHTML;return z1&&O["!doctype"]&&K.ownerDocument&&K.ownerDocument.doctype&&K.ownerDocument.doctype.name&&n3($p,K.ownerDocument.doctype.name)&&(V1="<!DOCTYPE "+K.ownerDocument.doctype.name+`>
6
+ `+o1):K.stack=o1}throw K}}_request(U,P){typeof U=="string"?(P=P||{}).url=U:P=U||{},P=T3(this.defaults,P);const{transitional:K,paramsSerializer:Z,headers:o1}=P;K!==void 0&&Tt.assertOptions(K,{silentJSONParsing:X.transitional(X.boolean),forcedJSONParsing:X.transitional(X.boolean),clarifyTimeoutError:X.transitional(X.boolean)},!1),Z!=null&&(E.isFunction(Z)?P.paramsSerializer={serialize:Z}:Tt.assertOptions(Z,{encode:X.function,serialize:X.function},!0)),P.method=(P.method||this.defaults.method||"get").toLowerCase();let s1=o1&&E.merge(o1.common,o1[P.method]);o1&&E.forEach(["delete","get","head","post","put","patch","common"],U1=>{delete o1[U1]}),P.headers=m1.concat(s1,o1);const x1=[];let V1=!0;this.interceptors.request.forEach(function(U1){typeof U1.runWhen=="function"&&U1.runWhen(P)===!1||(V1=V1&&U1.synchronous,x1.unshift(U1.fulfilled,U1.rejected))});const L1=[];let w1;this.interceptors.response.forEach(function(U1){L1.push(U1.fulfilled,U1.rejected)});let N1,I1=0;if(!V1){const U1=[M0.bind(this),void 0];for(U1.unshift.apply(U1,x1),U1.push.apply(U1,L1),N1=U1.length,w1=Promise.resolve(P);I1<N1;)w1=w1.then(U1[I1++],U1[I1++]);return w1}N1=x1.length;let J1=P;for(I1=0;I1<N1;){const U1=x1[I1++],i2=x1[I1++];try{J1=U1(J1)}catch(O2){i2.call(this,O2);break}}try{w1=M0.call(this,J1)}catch(U1){return Promise.reject(U1)}for(I1=0,N1=L1.length;I1<N1;)w1=w1.then(L1[I1++],L1[I1++]);return w1}getUri(U){return g1(we((U=T3(this.defaults,U)).baseURL,U.url),U.params,U.paramsSerializer)}}E.forEach(["delete","get","head","options"],function(D){r1.prototype[D]=function(U,P){return this.request(T3(P||{},{method:D,url:U,data:(P||{}).data}))}}),E.forEach(["post","put","patch"],function(D){function U(P){return function(K,Z,o1){return this.request(T3(o1||{},{method:D,headers:P?{"Content-Type":"multipart/form-data"}:{},url:K,data:Z}))}}r1.prototype[D]=U(),r1.prototype[D+"Form"]=U(!0)});var Q=r1;class J{constructor(U){if(typeof U!="function")throw new TypeError("executor must be a function.");let P;this.promise=new Promise(function(Z){P=Z});const K=this;this.promise.then(Z=>{if(!K._listeners)return;let o1=K._listeners.length;for(;o1-- >0;)K._listeners[o1](Z);K._listeners=null}),this.promise.then=Z=>{let o1;const s1=new Promise(x1=>{K.subscribe(x1),o1=x1}).then(Z);return s1.cancel=function(){K.unsubscribe(o1)},s1},U(function(Z,o1,s1){K.reason||(K.reason=new Q1(Z,o1,s1),P(K.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(U){this.reason?U(this.reason):this._listeners?this._listeners.push(U):this._listeners=[U]}unsubscribe(U){if(!this._listeners)return;const P=this._listeners.indexOf(U);P!==-1&&this._listeners.splice(P,1)}static source(){let U;return{token:new J(function(P){U=P}),cancel:U}}}var c1=J;const i1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(i1).forEach(([D,U])=>{i1[U]=D});var C1=i1;const M1=function D(U){const P=new Q(U),K=l(Q.prototype.request,P);return E.extend(K,Q.prototype,P,{allOwnKeys:!0}),E.extend(K,P,null,{allOwnKeys:!0}),K.create=function(Z){return D(T3(U,Z))},K}(O1);M1.Axios=Q,M1.CanceledError=Q1,M1.CancelToken=c1,M1.isCancel=T1,M1.VERSION="1.6.8",M1.toFormData=z1,M1.AxiosError=I,M1.Cancel=M1.CanceledError,M1.all=function(D){return Promise.all(D)},M1.spread=function(D){return function(U){return D.apply(null,U)}},M1.isAxiosError=function(D){return E.isObject(D)&&D.isAxiosError===!0},M1.mergeConfig=T3,M1.AxiosHeaders=m1,M1.formToJSON=D=>G1(E.isHTMLForm(D)?new FormData(D):D),M1.getAdapter=X4,M1.HttpStatusCode=C1,M1.default=M1,c.exports=M1}},r={};function n(c){var i=r[c];if(i!==void 0)return i.exports;var s=r[c]={exports:{}};return a[c].call(s.exports,s,s.exports,n),s.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(Ap);var Fe=Ap.exports,A4;let Z2=(A4=class{constructor(t){v1(this,"config");this.config=t}static init(t){if(A4.instance)throw new Error("Config is already initialized");A4.instance=new A4(t)}static getConfig(){if(!A4.instance)throw new Error("Config is not initialized. Call init() first.");return A4.instance.config}},v1(A4,"instance"),A4);const h4=F4.defineStore("pga-app-options",()=>{const e=o.ref(!1),t=o.ref({language:"es",theme:"light"}),a=o.computed({get(){return t.value.language},set(l){t.value.language=l}}),r=o.computed({get(){return t.value.theme},set(l){t.value.theme=l}});o.watch(r,()=>Lo());function n(l){e.value||(e.value=!0,t.value=Fe.mergeDeep(t.value,l))}function c(l){a.value=l}function i(l){r.value=l}function s(){r.value=r.value==="light"?"dark":"light"}return{options:t,language:a,theme:r,init:n,setLanguage:c,setTheme:i,changeTheme:s}},{persist:!0}),$3=F4.defineStore("pga-route",()=>{const e=o.ref(),t=o.ref(!Vo()),a=o.computed(()=>Pv(e.value)),r=o.computed(()=>{var s;return bn(a.value,(s=e.value)==null?void 0:s.name)}),n=o.computed(()=>{var s;return(s=e.value)==null?void 0:s.meta.access}),c=o.computed(()=>{var s;return!!((s=e.value)!=null&&s.meta.preventDisplayNavigationBars)}),i=o.computed(()=>!c.value&&t.value);return{currentRoute:e,isSideBarOpen:t,currentRouteType:a,currentRouteTitle:r,currentRouteAccess:n,preventDisplayNavigationBars:c,isDisplayingSideBar:i}});function Tp(){const e=Z2.getConfig().stores.useAuthStore(),t=$3().currentRouteType,a=`auth${Fe.getFirstChartInUppercase(t)}`;return!!e[a].accessToken&&!!e[a].user.id}function Ep(){const e=Z2.getConfig().stores.useAuthStore(),t=$3().currentRouteType,a=`auth${Fe.getFirstChartInUppercase(t)}`;return e[a].accessToken}async function Np(e,t,a){const r=Z2.getConfig(),n=r.stores.useAuthStore(),c=`auth/login/${e}`,i={basicAuth:t,isLoadingRef:a==null?void 0:a.isLoadingRef},s=await r.api.postOne(c,void 0,i);n.setAuthUser(e,s.data);const l={name:(a==null?void 0:a.redirectToName)||r.defaultRoutes[e].auth};r.router.push(l)}async function Dp(){const e=Z2.getConfig(),t=e.stores.useAuthStore(),a=$3().currentRouteType;try{const r=`auth/validateAccessToken/${a}`,n=await e.api.getOne(r,void 0,void 0,{preventDisplayError:!0});t.setAuthUser(a,n.data)}catch{t.setAuthUser(a)}}function Op(e){const t=Z2.getConfig();t.stores.useAuthStore().setAuthUser(e);const r={name:`login${Fe.getFirstChartInUppercase(e)}`};t.router.push(r)}function sc(e,t,a){const r=document.querySelector(":root"),n="--pga-",c=a!=null&&a.preventConvertToKebab?e:Fe.camelToKebab(e);r.style.setProperty(`${n}${c}`,t)}function oc(e){const t=e?"visible":"hidden";document.body.style.overflow=t}function oT(e,t,a="animate__"){return new Promise(r=>{const n=`${a}${t}`,c=document.querySelector(e);if(!c)return;c.classList.add(`${a}animated`,n);const i=s=>{s.stopPropagation(),c==null||c.classList.remove(`${a}animated`,n),r("Animation ended")};c.addEventListener("animationend",i,{once:!0})})}function mn(e){return Object.keys(Lp).includes(e)}function Pp(e,t){let a=0,r=0,n=0,c=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const s=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,l,f,u,d="1"]=s.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(l),r=parseInt(f),n=parseInt(u),c=parseFloat(d)}if(e.startsWith("#")){let s=e;s.length===4&&(s="#"+s[1]+s[1]+s[2]+s[2]+s[3]+s[3]);let[,l,f,u,d]=s.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((h,m)=>m===4?parseInt(h,16)/255:parseInt(h,16));d=d?parseFloat(d.toFixed(3)):1,a=l,r=f,n=u,c=d}const i=t/100;return`rgba(${a}, ${r}, ${n}, ${c*i})`}function Ls(e,t){const r=`color-${Fe.camelToKebab(e)}`,n={preventConvertToKebab:!0};sc(r,t,n);for(let c=5;c<=95;c+=5){const i=c<10?`0${c}`:c%10===0?`${c/10}`:`${c}`;sc(`${r}-0${i}`,Pp(t,c),n)}}function lT(){const e=Sp,t=Math.floor(Math.random()*Object.keys(e).length);return e[Object.keys(e)[t]]}const fT={es:{successfulLogout:"¡Vuelva pronto!"}},uT={es:{today:"Hoy",tomorrow:"Mañana",yesterday:"Ayer"}},dT={es:{alertTitle:"¿Estás seguro?",cancelBtn:"Cancelar",acceptBtn:"Eliminar"}},hT={es:{INTERNAL_SERVER_ERROR:"Ha ocurrido un error",DUPLICATE_KEY:"Item ya creado",FOREIGN_KEY_INTEGRITY:"El item no existe",MODELS_ASSOCIATED:"No se puede eliminar porque tiene items asociados",INVALID_INPUT_DATA:"Los datos ingresados no son correctos",ENTITY_NOT_FOUND:"El item no existe",INVALID_CREDENTIALS:"Usuario o contraseña incorrectos",UNAUTHORIZED:"No autorizado"}},mT={es:{_LOGIN:"¡Bienvenido!"}},pT={es:{backBtn:"Volver",deleteBtn:"Eliminar",confirmDeleteText:"",editBtn:"Editar",logoutBtn:"Cerrar sesión",navigateToBtn:"Ir al detalle",seeDetailsBtn:"Detalles"}},vT={es:{noItemsText:"No hay resultados",showAll:"Mostrar todo",hide:"Ocultar"}},gT={es:{savedMsg:"Guardado",saveErrorMsg:"Texto demasiado largo"}},yT={es:{submitBtn:"Guardar",selectFileLabel:"Seleccionar archivo",selectFilesLabel:"Seleccionar archivos",removeBtn:"Eliminar archivo",newFileError:"Formato inválido",requiredLabel:"Requerido",optionalLabel:"Opcional",usernameLabel:"Usuario",passwordLabel:"Contraseña",loginBtn:"Iniciar sesión",emptyOptionsText:"No hay opciones",cancelBtn:"Cancelar",selectBtn:"Seleccionar"}},xT={es:{selectFileLabel:"Seleccionar imágenes",confirmDeleteText:"La imagen se eliminará permanentemente.",maxImagesQuantityAlert:"Solo puede cargar {maxQuantity} imágenes"}},bT={es:{header:{switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro",logout:"Cerrar sesión"},footer:{allRightsReserved:"Todos los derechos reservados",designedBy:"Diseñado por"}}},CT={es:{cancelBtn:"Cancelar",acceptBtn:"Guardar"}},MT={es:{columnTitleActions:"",selectAllBtn:"Seleccionar todo",withTheSelectedItemsText:"Con los seleccionados:",filtersBtn:"Filtros",filtersModalTitle:"Filtros",confirmDeleteText:'¿Eliminar "{description}"?'}},zT={es:{removeAllBtn:"Eliminar todo"}},wT={es:{requiredRuleError:"Campo requerido",minLengthRuleError:"Longitud mínima: {length} caracteres",maxLengthRuleError:"Longitud máxima: {length} caracteres",integerRuleError:"Ingrese un valor entero",lessEqualRuleError:"Ingrese un valor menor o igual a {number}",greaterEqualRuleError:"Ingrese un valor mayor o igual a {number}",lessThanRuleError:"Ingrese un valor menor a {number}",greaterThanRuleError:"Ingrese un valor mayor a {number}"}},_T={authHelpers:fT,datetime:uT,alert:dT,apiConnectionsError:hT,apiConnectionsSuccess:mT,pgaButton:pT,pgaDisplay:vT,pgaEditor:gT,pgaForm:yT,pgaImage:xT,pgaLayout:bT,pgaModal:CT,pgaTable:MT,notifications:zT,validations:wT};function Bp(e){function t(a,r){return function(n,c,i){var y;const s=h4().language,l=e==null?void 0:e[a],f=l==null?void 0:l[s],u=r?r.split(".").reduce((x,C)=>x==null?void 0:x[C],f):f,d=(y=e==null?void 0:e.global)==null?void 0:y[s],h=n,m=(u==null?void 0:u[h])||(d==null?void 0:d[h])||"",v=(c==null?void 0:c.count)||0,p=m.split("|").map(x=>x.trim());let g=p[0];p.length===2?g=v===1?p[0]:p[1]:p.length===3&&(g=v===0?p[0]:v===1?p[1]:p[2]),g=g.replace(new RegExp("{count}","g"),v.toString());for(const x in c||{})x!=="count"&&c[x]!==void 0&&c[x]!==null&&(g=g.replace(new RegExp(`{${x}}`,"g"),c[x].toString()));return i!=null&&i.singular?g=p[0]:i!=null&&i.uppercase&&p.length===2&&(g=p[1]),i!=null&&i.lowercase?g.toLowerCase():i!=null&&i.uppercase?g.toUpperCase():i!=null&&i.capitalize?`${g.charAt(0).toUpperCase()}${g.slice(1).toLowerCase()}`:g}}return t}const V2=Bp(_T),yi=V2("datetime");function m4(e,t){if(!e)return"-";const r={...{format:"short",withoutYear:!1,withoutDay:!1,withTime:!0,justTime:!1},...t},n={year:r.withoutYear||r.justTime?void 0:"numeric",month:r.justTime?void 0:r.format==="numeric"?"2-digit":r.format,day:r.withoutDay||r.justTime?void 0:"2-digit",weekday:r.withoutDay||r.justTime||r.format==="numeric"?void 0:r.format,hour:r.withTime||r.justTime?"2-digit":void 0,minute:r.withTime||r.justTime?"2-digit":void 0},c=e.toLocaleString(h4().language,n);return c.charAt(0).toUpperCase()+c.slice(1)}function kT(e){return m4(e,{format:"short",withoutDay:!0,withTime:!1})}function Wa(e){return m4(e,{format:"numeric",withTime:!1})}function Ss(e){if(!e)return"";const t=Wa(e),a=new Date,r=new Date(a);r.setDate(a.getDate()+1);const n=new Date(a);if(n.setDate(a.getDate()-1),t===Wa(a))return yi("today");if(t===Wa(r))return yi("tomorrow");if(t===Wa(n))return yi("yesterday");const c={format:"long",withTime:!1};return e.getFullYear()===a.getFullYear()?m4(e,{...c,withoutYear:!0}):m4(e,c)}function lc(e){return m4(e,{justTime:!0})}/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */const{entries:Fp,setPrototypeOf:Vf,isFrozen:HT,getPrototypeOf:VT,getOwnPropertyDescriptor:LT}=Object;let{freeze:f3,seal:R3,create:Rp}=Object,{apply:As,construct:Ts}=typeof Reflect<"u"&&Reflect;f3||(f3=function(t){return t});R3||(R3=function(t){return t});As||(As=function(t,a,r){return t.apply(a,r)});Ts||(Ts=function(t,a){return new t(...a)});const Gn=_3(Array.prototype.forEach),Lf=_3(Array.prototype.pop),Ma=_3(Array.prototype.push),P8=_3(String.prototype.toLowerCase),xi=_3(String.prototype.toString),Sf=_3(String.prototype.match),za=_3(String.prototype.replace),ST=_3(String.prototype.indexOf),AT=_3(String.prototype.trim),K3=_3(Object.prototype.hasOwnProperty),n3=_3(RegExp.prototype.test),wa=TT(TypeError);function _3(e){return function(t){for(var a=arguments.length,r=new Array(a>1?a-1:0),n=1;n<a;n++)r[n-1]=arguments[n];return As(e,t,r)}}function TT(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return Ts(e,a)}}function s2(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:P8;Vf&&Vf(e,null);let r=t.length;for(;r--;){let n=t[r];if(typeof n=="string"){const c=a(n);c!==n&&(HT(t)||(t[r]=c),n=c)}e[n]=!0}return e}function ET(e){for(let t=0;t<e.length;t++)K3(e,t)||(e[t]=null);return e}function S0(e){const t=Rp(null);for(const[a,r]of Fp(e))K3(e,a)&&(Array.isArray(r)?t[a]=ET(r):r&&typeof r=="object"&&r.constructor===Object?t[a]=S0(r):t[a]=r);return t}function _a(e,t){for(;e!==null;){const r=LT(e,t);if(r){if(r.get)return _3(r.get);if(typeof r.value=="function")return _3(r.value)}e=VT(e)}function a(){return null}return a}const Af=f3(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),bi=f3(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ci=f3(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),NT=f3(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Mi=f3(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),DT=f3(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Tf=f3(["#text"]),Ef=f3(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),zi=f3(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Nf=f3(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Xn=f3(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),OT=R3(/\{\{[\w\W]*|[\w\W]*\}\}/gm),PT=R3(/<%[\w\W]*|[\w\W]*%>/gm),BT=R3(/\$\{[\w\W]*}/gm),FT=R3(/^data-[\-\w.\u00B7-\uFFFF]+$/),RT=R3(/^aria-[\-\w]+$/),Ip=R3(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IT=R3(/^(?:\w+script|data):/i),$T=R3(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$p=R3(/^html$/i),UT=R3(/^[a-z][.\w]*(-[.\w]+)+$/i);var Df=Object.freeze({__proto__:null,ARIA_ATTR:RT,ATTR_WHITESPACE:$T,CUSTOM_ELEMENT:UT,DATA_ATTR:FT,DOCTYPE_NAME:$p,ERB_EXPR:PT,IS_ALLOWED_URI:Ip,IS_SCRIPT_OR_DATA:IT,MUSTACHE_EXPR:OT,TMPLIT_EXPR:BT});const ka={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},WT=function(){return typeof window>"u"?null:window},qT=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";a&&a.hasAttribute(n)&&(r=a.getAttribute(n));const c="dompurify"+(r?"#"+r:"");try{return t.createPolicy(c,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}},Of=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Up(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:WT();const t=U=>Up(U);if(t.version="3.2.3",t.removed=[],!e||!e.document||e.document.nodeType!==ka.document)return t.isSupported=!1,t;let{document:a}=e;const r=a,n=r.currentScript,{DocumentFragment:c,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:f,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:m}=e,v=l.prototype,p=_a(v,"cloneNode"),g=_a(v,"remove"),y=_a(v,"nextSibling"),x=_a(v,"childNodes"),C=_a(v,"parentNode");if(typeof i=="function"){const U=a.createElement("template");U.content&&U.content.ownerDocument&&(a=U.content.ownerDocument)}let b,M="";const{implementation:w,createNodeIterator:z,createDocumentFragment:H,getElementsByTagName:A}=a,{importNode:V}=r;let k=Of();t.isSupported=typeof Fp=="function"&&typeof C=="function"&&w&&w.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:_,ERB_EXPR:N,TMPLIT_EXPR:q,DATA_ATTR:S,ARIA_ATTR:B,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:e1,CUSTOM_ELEMENT:Y}=Df;let{IS_ALLOWED_URI:G}=Df,O=null;const T=s2({},[...Af,...bi,...Ci,...Mi,...Tf]);let L=null;const W=s2({},[...Ef,...zi,...Nf,...Xn]);let j=Object.seal(Rp(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),E=null,I=null,a1=!0,n1=!0,t1=!1,d1=!0,R=!1,p1=!0,z1=!1,h1=!1,l1=!1,f1=!1,u1=!1,g1=!1,k1=!0,b1=!1;const H1="user-content-";let F1=!0,$1=!1,W1={},K1=null;const d2=s2({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let G1=null;const j2=s2({},["audio","video","img","source","image","track"]);let O1=null;const c2=s2({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Y2="http://www.w3.org/1998/Math/MathML",m2="http://www.w3.org/2000/svg",A2="http://www.w3.org/1999/xhtml";let Pe=A2,y1=!1,m1=null;const S1=s2({},[Y2,m2,A2],xi);let T1=s2({},["mi","mo","mn","ms","mtext"]),Q1=s2({},["annotation-xml"]);const Q2=s2({},["title","style","font","a","script"]);let we=null;const d3=["application/xhtml+xml","text/html"],j3="text/html";let _2=null,xe=null;const G4=a.createElement("form"),X4=function(P){return P instanceof RegExp||P instanceof Function},K4=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xe&&xe===P)){if((!P||typeof P!="object")&&(P={}),P=S0(P),we=d3.indexOf(P.PARSER_MEDIA_TYPE)===-1?j3:P.PARSER_MEDIA_TYPE,_2=we==="application/xhtml+xml"?xi:P8,O=K3(P,"ALLOWED_TAGS")?s2({},P.ALLOWED_TAGS,_2):T,L=K3(P,"ALLOWED_ATTR")?s2({},P.ALLOWED_ATTR,_2):W,m1=K3(P,"ALLOWED_NAMESPACES")?s2({},P.ALLOWED_NAMESPACES,xi):S1,O1=K3(P,"ADD_URI_SAFE_ATTR")?s2(S0(c2),P.ADD_URI_SAFE_ATTR,_2):c2,G1=K3(P,"ADD_DATA_URI_TAGS")?s2(S0(j2),P.ADD_DATA_URI_TAGS,_2):j2,K1=K3(P,"FORBID_CONTENTS")?s2({},P.FORBID_CONTENTS,_2):d2,E=K3(P,"FORBID_TAGS")?s2({},P.FORBID_TAGS,_2):{},I=K3(P,"FORBID_ATTR")?s2({},P.FORBID_ATTR,_2):{},W1=K3(P,"USE_PROFILES")?P.USE_PROFILES:!1,a1=P.ALLOW_ARIA_ATTR!==!1,n1=P.ALLOW_DATA_ATTR!==!1,t1=P.ALLOW_UNKNOWN_PROTOCOLS||!1,d1=P.ALLOW_SELF_CLOSE_IN_ATTR!==!1,R=P.SAFE_FOR_TEMPLATES||!1,p1=P.SAFE_FOR_XML!==!1,z1=P.WHOLE_DOCUMENT||!1,f1=P.RETURN_DOM||!1,u1=P.RETURN_DOM_FRAGMENT||!1,g1=P.RETURN_TRUSTED_TYPE||!1,l1=P.FORCE_BODY||!1,k1=P.SANITIZE_DOM!==!1,b1=P.SANITIZE_NAMED_PROPS||!1,F1=P.KEEP_CONTENT!==!1,$1=P.IN_PLACE||!1,G=P.ALLOWED_URI_REGEXP||Ip,Pe=P.NAMESPACE||A2,T1=P.MATHML_TEXT_INTEGRATION_POINTS||T1,Q1=P.HTML_INTEGRATION_POINTS||Q1,j=P.CUSTOM_ELEMENT_HANDLING||{},P.CUSTOM_ELEMENT_HANDLING&&X4(P.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=P.CUSTOM_ELEMENT_HANDLING.tagNameCheck),P.CUSTOM_ELEMENT_HANDLING&&X4(P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=P.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),P.CUSTOM_ELEMENT_HANDLING&&typeof P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=P.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),R&&(n1=!1),u1&&(f1=!0),W1&&(O=s2({},Tf),L=[],W1.html===!0&&(s2(O,Af),s2(L,Ef)),W1.svg===!0&&(s2(O,bi),s2(L,zi),s2(L,Xn)),W1.svgFilters===!0&&(s2(O,Ci),s2(L,zi),s2(L,Xn)),W1.mathMl===!0&&(s2(O,Mi),s2(L,Nf),s2(L,Xn))),P.ADD_TAGS&&(O===T&&(O=S0(O)),s2(O,P.ADD_TAGS,_2)),P.ADD_ATTR&&(L===W&&(L=S0(L)),s2(L,P.ADD_ATTR,_2)),P.ADD_URI_SAFE_ATTR&&s2(O1,P.ADD_URI_SAFE_ATTR,_2),P.FORBID_CONTENTS&&(K1===d2&&(K1=S0(K1)),s2(K1,P.FORBID_CONTENTS,_2)),F1&&(O["#text"]=!0),z1&&s2(O,["html","head","body"]),O.table&&(s2(O,["tbody"]),delete E.tbody),P.TRUSTED_TYPES_POLICY){if(typeof P.TRUSTED_TYPES_POLICY.createHTML!="function")throw wa('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof P.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw wa('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=P.TRUSTED_TYPES_POLICY,M=b.createHTML("")}else b===void 0&&(b=qT(m,n)),b!==null&&typeof M=="string"&&(M=b.createHTML(""));f3&&f3(P),xe=P}},M0=s2({},[...bi,...Ci,...NT]),z0=s2({},[...Mi,...DT]),T3=function(P){let K=C(P);(!K||!K.tagName)&&(K={namespaceURI:Pe,tagName:"template"});const Z=P8(P.tagName),o1=P8(K.tagName);return m1[P.namespaceURI]?P.namespaceURI===m2?K.namespaceURI===A2?Z==="svg":K.namespaceURI===Y2?Z==="svg"&&(o1==="annotation-xml"||T1[o1]):!!M0[Z]:P.namespaceURI===Y2?K.namespaceURI===A2?Z==="math":K.namespaceURI===m2?Z==="math"&&Q1[o1]:!!z0[Z]:P.namespaceURI===A2?K.namespaceURI===m2&&!Q1[o1]||K.namespaceURI===Y2&&!T1[o1]?!1:!z0[Z]&&(Q2[Z]||!M0[Z]):!!(we==="application/xhtml+xml"&&m1[P.namespaceURI]):!1},Ue=function(P){Ma(t.removed,{element:P});try{C(P).removeChild(P)}catch{g(P)}},Z4=function(P,K){try{Ma(t.removed,{attribute:K.getAttributeNode(P),from:K})}catch{Ma(t.removed,{attribute:null,from:K})}if(K.removeAttribute(P),P==="is")if(f1||u1)try{Ue(K)}catch{}else try{K.setAttribute(P,"")}catch{}},Tt=function(P){let K=null,Z=null;if(l1)P="<remove></remove>"+P;else{const x1=Sf(P,/^[\r\n\t ]+/);Z=x1&&x1[0]}we==="application/xhtml+xml"&&Pe===A2&&(P='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+P+"</body></html>");const o1=b?b.createHTML(P):P;if(Pe===A2)try{K=new h().parseFromString(o1,we)}catch{}if(!K||!K.documentElement){K=w.createDocument(Pe,"template",null);try{K.documentElement.innerHTML=y1?M:o1}catch{}}const s1=K.body||K.documentElement;return P&&Z&&s1.insertBefore(a.createTextNode(Z),s1.childNodes[0]||null),Pe===A2?A.call(K,z1?"html":"body")[0]:z1?K.documentElement:s1},X=function(P){return z.call(P.ownerDocument||P,P,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},r1=function(P){return P instanceof d&&(typeof P.nodeName!="string"||typeof P.textContent!="string"||typeof P.removeChild!="function"||!(P.attributes instanceof u)||typeof P.removeAttribute!="function"||typeof P.setAttribute!="function"||typeof P.namespaceURI!="string"||typeof P.insertBefore!="function"||typeof P.hasChildNodes!="function")},Q=function(P){return typeof s=="function"&&P instanceof s};function J(U,P,K){Gn(U,Z=>{Z.call(t,P,K,xe)})}const c1=function(P){let K=null;if(J(k.beforeSanitizeElements,P,null),r1(P))return Ue(P),!0;const Z=_2(P.nodeName);if(J(k.uponSanitizeElement,P,{tagName:Z,allowedTags:O}),P.hasChildNodes()&&!Q(P.firstElementChild)&&n3(/<[/\w]/g,P.innerHTML)&&n3(/<[/\w]/g,P.textContent)||P.nodeType===ka.progressingInstruction||p1&&P.nodeType===ka.comment&&n3(/<[/\w]/g,P.data))return Ue(P),!0;if(!O[Z]||E[Z]){if(!E[Z]&&C1(Z)&&(j.tagNameCheck instanceof RegExp&&n3(j.tagNameCheck,Z)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Z)))return!1;if(F1&&!K1[Z]){const o1=C(P)||P.parentNode,s1=x(P)||P.childNodes;if(s1&&o1){const x1=s1.length;for(let V1=x1-1;V1>=0;--V1){const L1=p(s1[V1],!0);L1.__removalCount=(P.__removalCount||0)+1,o1.insertBefore(L1,y(P))}}}return Ue(P),!0}return P instanceof l&&!T3(P)||(Z==="noscript"||Z==="noembed"||Z==="noframes")&&n3(/<\/no(script|embed|frames)/i,P.innerHTML)?(Ue(P),!0):(R&&P.nodeType===ka.text&&(K=P.textContent,Gn([_,N,q],o1=>{K=za(K,o1," ")}),P.textContent!==K&&(Ma(t.removed,{element:P.cloneNode()}),P.textContent=K)),J(k.afterSanitizeElements,P,null),!1)},i1=function(P,K,Z){if(k1&&(K==="id"||K==="name")&&(Z in a||Z in G4))return!1;if(!(n1&&!I[K]&&n3(S,K))){if(!(a1&&n3(B,K))){if(!L[K]||I[K]){if(!(C1(P)&&(j.tagNameCheck instanceof RegExp&&n3(j.tagNameCheck,P)||j.tagNameCheck instanceof Function&&j.tagNameCheck(P))&&(j.attributeNameCheck instanceof RegExp&&n3(j.attributeNameCheck,K)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(K))||K==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&n3(j.tagNameCheck,Z)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Z))))return!1}else if(!O1[K]){if(!n3(G,za(Z,e1,""))){if(!((K==="src"||K==="xlink:href"||K==="href")&&P!=="script"&&ST(Z,"data:")===0&&G1[P])){if(!(t1&&!n3(F,za(Z,e1,"")))){if(Z)return!1}}}}}}return!0},C1=function(P){return P!=="annotation-xml"&&Sf(P,Y)},M1=function(P){J(k.beforeSanitizeAttributes,P,null);const{attributes:K}=P;if(!K||r1(P))return;const Z={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0};let o1=K.length;for(;o1--;){const s1=K[o1],{name:x1,namespaceURI:V1,value:L1}=s1,w1=_2(x1);let N1=x1==="value"?L1:AT(L1);if(Z.attrName=w1,Z.attrValue=N1,Z.keepAttr=!0,Z.forceKeepAttr=void 0,J(k.uponSanitizeAttribute,P,Z),N1=Z.attrValue,b1&&(w1==="id"||w1==="name")&&(Z4(x1,P),N1=H1+N1),p1&&n3(/((--!?|])>)|<\/(style|title)/i,N1)){Z4(x1,P);continue}if(Z.forceKeepAttr||(Z4(x1,P),!Z.keepAttr))continue;if(!d1&&n3(/\/>/i,N1)){Z4(x1,P);continue}R&&Gn([_,N,q],J1=>{N1=za(N1,J1," ")});const I1=_2(P.nodeName);if(i1(I1,w1,N1)){if(b&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!V1)switch(m.getAttributeType(I1,w1)){case"TrustedHTML":{N1=b.createHTML(N1);break}case"TrustedScriptURL":{N1=b.createScriptURL(N1);break}}try{V1?P.setAttributeNS(V1,x1,N1):P.setAttribute(x1,N1),r1(P)?Ue(P):Lf(t.removed)}catch{}}}J(k.afterSanitizeAttributes,P,null)},D=function U(P){let K=null;const Z=X(P);for(J(k.beforeSanitizeShadowDOM,P,null);K=Z.nextNode();)J(k.uponSanitizeShadowNode,K,null),c1(K),M1(K),K.content instanceof c&&U(K.content);J(k.afterSanitizeShadowDOM,P,null)};return t.sanitize=function(U){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=null,Z=null,o1=null,s1=null;if(y1=!U,y1&&(U="<!-->"),typeof U!="string"&&!Q(U))if(typeof U.toString=="function"){if(U=U.toString(),typeof U!="string")throw wa("dirty is not a string, aborting")}else throw wa("toString is not a function");if(!t.isSupported)return U;if(h1||K4(P),t.removed=[],typeof U=="string"&&($1=!1),$1){if(U.nodeName){const L1=_2(U.nodeName);if(!O[L1]||E[L1])throw wa("root node is forbidden and cannot be sanitized in-place")}}else if(U instanceof s)K=Tt("<!---->"),Z=K.ownerDocument.importNode(U,!0),Z.nodeType===ka.element&&Z.nodeName==="BODY"||Z.nodeName==="HTML"?K=Z:K.appendChild(Z);else{if(!f1&&!R&&!z1&&U.indexOf("<")===-1)return b&&g1?b.createHTML(U):U;if(K=Tt(U),!K)return f1?null:g1?M:""}K&&l1&&Ue(K.firstChild);const x1=X($1?U:K);for(;o1=x1.nextNode();)c1(o1),M1(o1),o1.content instanceof c&&D(o1.content);if($1)return U;if(f1){if(u1)for(s1=H.call(K.ownerDocument);K.firstChild;)s1.appendChild(K.firstChild);else s1=K;return(L.shadowroot||L.shadowrootmode)&&(s1=V.call(r,s1,!0)),s1}let V1=z1?K.outerHTML:K.innerHTML;return z1&&O["!doctype"]&&K.ownerDocument&&K.ownerDocument.doctype&&K.ownerDocument.doctype.name&&n3($p,K.ownerDocument.doctype.name)&&(V1="<!DOCTYPE "+K.ownerDocument.doctype.name+`>
7
7
  `+V1),R&&Gn([_,N,q],L1=>{V1=za(V1,L1," ")}),b&&g1?b.createHTML(V1):V1},t.setConfig=function(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};K4(U),h1=!0},t.clearConfig=function(){xe=null,h1=!1},t.isValidAttribute=function(U,P,K){xe||K4({});const Z=_2(U),o1=_2(P);return i1(Z,o1,K)},t.addHook=function(U,P){typeof P=="function"&&Ma(k[U],P)},t.removeHook=function(U){return Lf(k[U])},t.removeHooks=function(U){k[U]=[]},t.removeAllHooks=function(){k=Of()},t}var Wp=Up();function jT(e){return Wp.sanitize(e)}function qp(e){return Wp.sanitize(e,{ALLOWED_TAGS:[]})}function Es(e,t){const a=h4().language;let r=e.toLocaleString(a,{maximumFractionDigits:t==null?void 0:t.maxDecimals});return r==="-0"&&(r="0"),t!=null&&t.prefix&&(r=`${t.prefix} ${r}`),t!=null&&t.suffix&&(r=`${r} ${t.suffix}`),r}//! moment.js
8
8
  //! version : 2.30.1
9
9
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -13,7 +13,7 @@ var jp;function D1(){return jp.apply(null,arguments)}function YT(e){jp=e}functio
13
13
  [`+c+"] ";for(i in arguments[0])C2(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[c];r.push(n)}Gp(e+`
14
14
  Arguments: `+Array.prototype.slice.call(r).join("")+`
15
15
  `+new Error().stack),a=!1}return t.apply(this,arguments)},t)}var Bf={};function Xp(e,t){D1.deprecationHandler!=null&&D1.deprecationHandler(e,t),Bf[e]||(Gp(t),Bf[e]=!0)}D1.suppressDeprecationWarnings=!1;D1.deprecationHandler=null;function W4(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function XT(e){var t,a;for(a in e)C2(e,a)&&(t=e[a],W4(t)?this[a]=t:this["_"+a]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ds(e,t){var a=Ut({},e),r;for(r in t)C2(t,r)&&(q0(e[r])&&q0(t[r])?(a[r]={},Ut(a[r],e[r]),Ut(a[r],t[r])):t[r]!=null?a[r]=t[r]:delete a[r]);for(r in e)C2(e,r)&&!C2(t,r)&&q0(e[r])&&(a[r]=Ut({},a[r]));return a}function io(e){e!=null&&this.set(e)}var Os;Object.keys?Os=Object.keys:Os=function(e){var t,a=[];for(t in e)C2(e,t)&&a.push(t);return a};var KT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ZT(e,t,a){var r=this._calendar[e]||this._calendar.sameElse;return W4(r)?r.call(t,a):r}function R4(e,t,a){var r=""+Math.abs(e),n=t-r.length,c=e>=0;return(c?a?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var so=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Kn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,_i={},R6={};function j1(e,t,a,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(R6[e]=n),t&&(R6[t[0]]=function(){return R4(n.apply(this,arguments),t[1],t[2])}),a&&(R6[a]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function QT(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function JT(e){var t=e.match(so),a,r;for(a=0,r=t.length;a<r;a++)R6[t[a]]?t[a]=R6[t[a]]:t[a]=QT(t[a]);return function(n){var c="",i;for(i=0;i<r;i++)c+=W4(t[i])?t[i].call(n,e):t[i];return c}}function B8(e,t){return e.isValid()?(t=Kp(t,e.localeData()),_i[t]=_i[t]||JT(t),_i[t](e)):e.localeData().invalidDate()}function Kp(e,t){var a=5;function r(n){return t.longDateFormat(n)||n}for(Kn.lastIndex=0;a>=0&&Kn.test(e);)e=e.replace(Kn,r),Kn.lastIndex=0,a-=1;return e}var eE={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function tE(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(so).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var aE="Invalid date";function rE(){return this._invalidDate}var nE="%d",cE=/\d{1,2}/;function iE(e){return this._ordinal.replace("%d",e)}var sE={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function oE(e,t,a,r){var n=this._relativeTime[a];return W4(n)?n(e,t,a,r):n.replace(/%d/i,e)}function lE(e,t){var a=this._relativeTime[e>0?"future":"past"];return W4(a)?a(t):a.replace(/%s/i,t)}var Ff={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function W3(e){return typeof e=="string"?Ff[e]||Ff[e.toLowerCase()]:void 0}function oo(e){var t={},a,r;for(r in e)C2(e,r)&&(a=W3(r),a&&(t[a]=e[r]));return t}var fE={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function uE(e){var t=[],a;for(a in e)C2(e,a)&&t.push({unit:a,priority:fE[a]});return t.sort(function(r,n){return r.priority-n.priority}),t}var Zp=/\d/,L3=/\d\d/,Qp=/\d{3}/,lo=/\d{4}/,c5=/[+-]?\d{6}/,q2=/\d\d?/,Jp=/\d\d\d\d?/,ev=/\d\d\d\d\d\d?/,i5=/\d{1,3}/,fo=/\d{1,4}/,s5=/[+-]?\d{1,6}/,ua=/\d+/,o5=/[+-]?\d+/,dE=/Z|[+-]\d\d:?\d\d/gi,l5=/Z|[+-]\d\d(?::?\d\d)?/gi,hE=/[+-]?\d+(\.\d{1,3})?/,gn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,da=/^[1-9]\d?/,uo=/^([1-9]\d|\d)/,fc;fc={};function B1(e,t,a){fc[e]=W4(t)?t:function(r,n){return r&&a?a:t}}function mE(e,t){return C2(fc,e)?fc[e](t._strict,t._locale):new RegExp(pE(e))}function pE(e){return mt(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,a,r,n,c){return a||r||n||c}))}function mt(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function B3(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f2(e){var t=+e,a=0;return t!==0&&isFinite(t)&&(a=B3(t)),a}var Ps={};function S2(e,t){var a,r=t,n;for(typeof e=="string"&&(e=[e]),bt(t)&&(r=function(c,i){i[t]=f2(c)}),n=e.length,a=0;a<n;a++)Ps[e[a]]=r}function yn(e,t){S2(e,function(a,r,n,c){n._w=n._w||{},t(a,n._w,n,c)})}function vE(e,t,a){t!=null&&C2(Ps,e)&&Ps[e](t,a._a,a,e)}function f5(e){return e%4===0&&e%100!==0||e%400===0}var Je=0,it=1,V4=2,He=3,a4=4,st=5,B0=6,gE=7,yE=8;j1("Y",0,0,function(){var e=this.year();return e<=9999?R4(e,4):"+"+e});j1(0,["YY",2],0,function(){return this.year()%100});j1(0,["YYYY",4],0,"year");j1(0,["YYYYY",5],0,"year");j1(0,["YYYYYY",6,!0],0,"year");B1("Y",o5);B1("YY",q2,L3);B1("YYYY",fo,lo);B1("YYYYY",s5,c5);B1("YYYYYY",s5,c5);S2(["YYYYY","YYYYYY"],Je);S2("YYYY",function(e,t){t[Je]=e.length===2?D1.parseTwoDigitYear(e):f2(e)});S2("YY",function(e,t){t[Je]=D1.parseTwoDigitYear(e)});S2("Y",function(e,t){t[Je]=parseInt(e,10)});function rr(e){return f5(e)?366:365}D1.parseTwoDigitYear=function(e){return f2(e)+(f2(e)>68?1900:2e3)};var tv=ha("FullYear",!0);function xE(){return f5(this.year())}function ha(e,t){return function(a){return a!=null?(av(this,e,a),D1.updateOffset(this,t),this):Lr(this,e)}}function Lr(e,t){if(!e.isValid())return NaN;var a=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?a.getUTCMilliseconds():a.getMilliseconds();case"Seconds":return r?a.getUTCSeconds():a.getSeconds();case"Minutes":return r?a.getUTCMinutes():a.getMinutes();case"Hours":return r?a.getUTCHours():a.getHours();case"Date":return r?a.getUTCDate():a.getDate();case"Day":return r?a.getUTCDay():a.getDay();case"Month":return r?a.getUTCMonth():a.getMonth();case"FullYear":return r?a.getUTCFullYear():a.getFullYear();default:return NaN}}function av(e,t,a){var r,n,c,i,s;if(!(!e.isValid()||isNaN(a))){switch(r=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?r.setUTCMilliseconds(a):r.setMilliseconds(a));case"Seconds":return void(n?r.setUTCSeconds(a):r.setSeconds(a));case"Minutes":return void(n?r.setUTCMinutes(a):r.setMinutes(a));case"Hours":return void(n?r.setUTCHours(a):r.setHours(a));case"Date":return void(n?r.setUTCDate(a):r.setDate(a));case"FullYear":break;default:return}c=a,i=e.month(),s=e.date(),s=s===29&&i===1&&!f5(c)?28:s,n?r.setUTCFullYear(c,i,s):r.setFullYear(c,i,s)}}function bE(e){return e=W3(e),W4(this[e])?this[e]():this}function CE(e,t){if(typeof e=="object"){e=oo(e);var a=uE(e),r,n=a.length;for(r=0;r<n;r++)this[a[r].unit](e[a[r].unit])}else if(e=W3(e),W4(this[e]))return this[e](t);return this}function ME(e,t){return(e%t+t)%t}var he;Array.prototype.indexOf?he=Array.prototype.indexOf:he=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ho(e,t){if(isNaN(e)||isNaN(t))return NaN;var a=ME(t,12);return e+=(t-a)/12,a===1?f5(e)?29:28:31-a%7%2}j1("M",["MM",2],"Mo",function(){return this.month()+1});j1("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});j1("MMMM",0,0,function(e){return this.localeData().months(this,e)});B1("M",q2,da);B1("MM",q2,L3);B1("MMM",function(e,t){return t.monthsShortRegex(e)});B1("MMMM",function(e,t){return t.monthsRegex(e)});S2(["M","MM"],function(e,t){t[it]=f2(e)-1});S2(["MMM","MMMM"],function(e,t,a,r){var n=a._locale.monthsParse(e,r,a._strict);n!=null?t[it]=n:r2(a).invalidMonth=e});var zE="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),rv="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nv=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,wE=gn,_E=gn;function kE(e,t){return e?p4(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nv).test(t)?"format":"standalone"][e.month()]:p4(this._months)?this._months:this._months.standalone}function HE(e,t){return e?p4(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nv.test(t)?"format":"standalone"][e.month()]:p4(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function VE(e,t,a){var r,n,c,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)c=U4([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(c,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(c,"").toLocaleLowerCase();return a?t==="MMM"?(n=he.call(this._shortMonthsParse,i),n!==-1?n:null):(n=he.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=he.call(this._shortMonthsParse,i),n!==-1?n:(n=he.call(this._longMonthsParse,i),n!==-1?n:null)):(n=he.call(this._longMonthsParse,i),n!==-1?n:(n=he.call(this._shortMonthsParse,i),n!==-1?n:null))}function LE(e,t,a){var r,n,c;if(this._monthsParseExact)return VE.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=U4([2e3,r]),a&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!a&&!this._monthsParse[r]&&(c="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(c.replace(".",""),"i")),a&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(a&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!a&&this._monthsParse[r].test(e))return r}}function cv(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=f2(t);else if(t=e.localeData().monthsParse(t),!bt(t))return e}var a=t,r=e.date();return r=r<29?r:Math.min(r,ho(e.year(),a)),e._isUTC?e._d.setUTCMonth(a,r):e._d.setMonth(a,r),e}function iv(e){return e!=null?(cv(this,e),D1.updateOffset(this,!0),this):Lr(this,"Month")}function SE(){return ho(this.year(),this.month())}function AE(e){return this._monthsParseExact?(C2(this,"_monthsRegex")||sv.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(C2(this,"_monthsShortRegex")||(this._monthsShortRegex=wE),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function TE(e){return this._monthsParseExact?(C2(this,"_monthsRegex")||sv.call(this),e?this._monthsStrictRegex:this._monthsRegex):(C2(this,"_monthsRegex")||(this._monthsRegex=_E),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function sv(){function e(l,f){return f.length-l.length}var t=[],a=[],r=[],n,c,i,s;for(n=0;n<12;n++)c=U4([2e3,n]),i=mt(this.monthsShort(c,"")),s=mt(this.months(c,"")),t.push(i),a.push(s),r.push(s),r.push(i);t.sort(e),a.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function EE(e,t,a,r,n,c,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,a,r,n,c,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,a,r,n,c,i),s}function Sr(e){var t,a;return e<100&&e>=0?(a=Array.prototype.slice.call(arguments),a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function uc(e,t,a){var r=7+t-a,n=(7+Sr(e,0,r).getUTCDay()-t)%7;return-n+r-1}function ov(e,t,a,r,n){var c=(7+a-r)%7,i=uc(e,r,n),s=1+7*(t-1)+c+i,l,f;return s<=0?(l=e-1,f=rr(l)+s):s>rr(e)?(l=e+1,f=s-rr(e)):(l=e,f=s),{year:l,dayOfYear:f}}function Ar(e,t,a){var r=uc(e.year(),t,a),n=Math.floor((e.dayOfYear()-r-1)/7)+1,c,i;return n<1?(i=e.year()-1,c=n+pt(i,t,a)):n>pt(e.year(),t,a)?(c=n-pt(e.year(),t,a),i=e.year()+1):(i=e.year(),c=n),{week:c,year:i}}function pt(e,t,a){var r=uc(e,t,a),n=uc(e+1,t,a);return(rr(e)-r+n)/7}j1("w",["ww",2],"wo","week");j1("W",["WW",2],"Wo","isoWeek");B1("w",q2,da);B1("ww",q2,L3);B1("W",q2,da);B1("WW",q2,L3);yn(["w","ww","W","WW"],function(e,t,a,r){t[r.substr(0,1)]=f2(e)});function NE(e){return Ar(e,this._week.dow,this._week.doy).week}var DE={dow:0,doy:6};function OE(){return this._week.dow}function PE(){return this._week.doy}function BE(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function FE(e){var t=Ar(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}j1("d",0,"do","day");j1("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});j1("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});j1("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});j1("e",0,0,"weekday");j1("E",0,0,"isoWeekday");B1("d",q2);B1("e",q2);B1("E",q2);B1("dd",function(e,t){return t.weekdaysMinRegex(e)});B1("ddd",function(e,t){return t.weekdaysShortRegex(e)});B1("dddd",function(e,t){return t.weekdaysRegex(e)});yn(["dd","ddd","dddd"],function(e,t,a,r){var n=a._locale.weekdaysParse(e,r,a._strict);n!=null?t.d=n:r2(a).invalidWeekday=e});yn(["d","e","E"],function(e,t,a,r){t[r]=f2(e)});function RE(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function IE(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function mo(e,t){return e.slice(t,7).concat(e.slice(0,t))}var $E="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lv="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),UE="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),WE=gn,qE=gn,jE=gn;function YE(e,t){var a=p4(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?mo(a,this._week.dow):e?a[e.day()]:a}function GE(e){return e===!0?mo(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function XE(e){return e===!0?mo(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function KE(e,t,a){var r,n,c,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)c=U4([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(c,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(c,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(c,"").toLocaleLowerCase();return a?t==="dddd"?(n=he.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=he.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=he.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=he.call(this._weekdaysParse,i),n!==-1||(n=he.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=he.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=he.call(this._shortWeekdaysParse,i),n!==-1||(n=he.call(this._weekdaysParse,i),n!==-1)?n:(n=he.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=he.call(this._minWeekdaysParse,i),n!==-1||(n=he.call(this._weekdaysParse,i),n!==-1)?n:(n=he.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function ZE(e,t,a){var r,n,c;if(this._weekdaysParseExact)return KE.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=U4([2e3,1]).day(r),a&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(c="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(c.replace(".",""),"i")),a&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(a&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(a&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!a&&this._weekdaysParse[r].test(e))return r}}function QE(e){if(!this.isValid())return e!=null?this:NaN;var t=Lr(this,"Day");return e!=null?(e=RE(e,this.localeData()),this.add(e-t,"d")):t}function JE(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function eN(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=IE(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function tN(e){return this._weekdaysParseExact?(C2(this,"_weekdaysRegex")||po.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(C2(this,"_weekdaysRegex")||(this._weekdaysRegex=WE),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function aN(e){return this._weekdaysParseExact?(C2(this,"_weekdaysRegex")||po.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C2(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qE),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function rN(e){return this._weekdaysParseExact?(C2(this,"_weekdaysRegex")||po.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C2(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jE),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function po(){function e(u,d){return d.length-u.length}var t=[],a=[],r=[],n=[],c,i,s,l,f;for(c=0;c<7;c++)i=U4([2e3,1]).day(c),s=mt(this.weekdaysMin(i,"")),l=mt(this.weekdaysShort(i,"")),f=mt(this.weekdays(i,"")),t.push(s),a.push(l),r.push(f),n.push(s),n.push(l),n.push(f);t.sort(e),a.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function vo(){return this.hours()%12||12}function nN(){return this.hours()||24}j1("H",["HH",2],0,"hour");j1("h",["hh",2],0,vo);j1("k",["kk",2],0,nN);j1("hmm",0,0,function(){return""+vo.apply(this)+R4(this.minutes(),2)});j1("hmmss",0,0,function(){return""+vo.apply(this)+R4(this.minutes(),2)+R4(this.seconds(),2)});j1("Hmm",0,0,function(){return""+this.hours()+R4(this.minutes(),2)});j1("Hmmss",0,0,function(){return""+this.hours()+R4(this.minutes(),2)+R4(this.seconds(),2)});function fv(e,t){j1(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}fv("a",!0);fv("A",!1);function uv(e,t){return t._meridiemParse}B1("a",uv);B1("A",uv);B1("H",q2,uo);B1("h",q2,da);B1("k",q2,da);B1("HH",q2,L3);B1("hh",q2,L3);B1("kk",q2,L3);B1("hmm",Jp);B1("hmmss",ev);B1("Hmm",Jp);B1("Hmmss",ev);S2(["H","HH"],He);S2(["k","kk"],function(e,t,a){var r=f2(e);t[He]=r===24?0:r});S2(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e});S2(["h","hh"],function(e,t,a){t[He]=f2(e),r2(a).bigHour=!0});S2("hmm",function(e,t,a){var r=e.length-2;t[He]=f2(e.substr(0,r)),t[a4]=f2(e.substr(r)),r2(a).bigHour=!0});S2("hmmss",function(e,t,a){var r=e.length-4,n=e.length-2;t[He]=f2(e.substr(0,r)),t[a4]=f2(e.substr(r,2)),t[st]=f2(e.substr(n)),r2(a).bigHour=!0});S2("Hmm",function(e,t,a){var r=e.length-2;t[He]=f2(e.substr(0,r)),t[a4]=f2(e.substr(r))});S2("Hmmss",function(e,t,a){var r=e.length-4,n=e.length-2;t[He]=f2(e.substr(0,r)),t[a4]=f2(e.substr(r,2)),t[st]=f2(e.substr(n))});function cN(e){return(e+"").toLowerCase().charAt(0)==="p"}var iN=/[ap]\.?m?\.?/i,sN=ha("Hours",!0);function oN(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"}var dv={calendar:KT,longDateFormat:eE,invalidDate:aE,ordinal:nE,dayOfMonthOrdinalParse:cE,relativeTime:sE,months:zE,monthsShort:rv,week:DE,weekdays:$E,weekdaysMin:UE,weekdaysShort:lv,meridiemParse:iN},G2={},Ha={},Tr;function lN(e,t){var a,r=Math.min(e.length,t.length);for(a=0;a<r;a+=1)if(e[a]!==t[a])return a;return r}function Rf(e){return e&&e.toLowerCase().replace("_","-")}function fN(e){for(var t=0,a,r,n,c;t<e.length;){for(c=Rf(e[t]).split("-"),a=c.length,r=Rf(e[t+1]),r=r?r.split("-"):null;a>0;){if(n=u5(c.slice(0,a).join("-")),n)return n;if(r&&r.length>=a&&lN(c,r)>=a-1)break;a--}t++}return Tr}function uN(e){return!!(e&&e.match("^[^/\\\\]*$"))}function u5(e){var t=null,a;if(G2[e]===void 0&&typeof module<"u"&&module&&module.exports&&uN(e))try{t=Tr._abbr,a=require,a("./locale/"+e),Qt(t)}catch{G2[e]=null}return G2[e]}function Qt(e,t){var a;return e&&(p3(t)?a=kt(e):a=go(e,t),a?Tr=a:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Tr._abbr}function go(e,t){if(t!==null){var a,r=dv;if(t.abbr=e,G2[e]!=null)Xp("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=G2[e]._config;else if(t.parentLocale!=null)if(G2[t.parentLocale]!=null)r=G2[t.parentLocale]._config;else if(a=u5(t.parentLocale),a!=null)r=a._config;else return Ha[t.parentLocale]||(Ha[t.parentLocale]=[]),Ha[t.parentLocale].push({name:e,config:t}),null;return G2[e]=new io(Ds(r,t)),Ha[e]&&Ha[e].forEach(function(n){go(n.name,n.config)}),Qt(e),G2[e]}else return delete G2[e],null}function dN(e,t){if(t!=null){var a,r,n=dv;G2[e]!=null&&G2[e].parentLocale!=null?G2[e].set(Ds(G2[e]._config,t)):(r=u5(e),r!=null&&(n=r._config),t=Ds(n,t),r==null&&(t.abbr=e),a=new io(t),a.parentLocale=G2[e],G2[e]=a),Qt(e)}else G2[e]!=null&&(G2[e].parentLocale!=null?(G2[e]=G2[e].parentLocale,e===Qt()&&Qt(e)):G2[e]!=null&&delete G2[e]);return G2[e]}function kt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Tr;if(!p4(e)){if(t=u5(e),t)return t;e=[e]}return fN(e)}function hN(){return Os(G2)}function yo(e){var t,a=e._a;return a&&r2(e).overflow===-2&&(t=a[it]<0||a[it]>11?it:a[V4]<1||a[V4]>ho(a[Je],a[it])?V4:a[He]<0||a[He]>24||a[He]===24&&(a[a4]!==0||a[st]!==0||a[B0]!==0)?He:a[a4]<0||a[a4]>59?a4:a[st]<0||a[st]>59?st:a[B0]<0||a[B0]>999?B0:-1,r2(e)._overflowDayOfYear&&(t<Je||t>V4)&&(t=V4),r2(e)._overflowWeeks&&t===-1&&(t=gE),r2(e)._overflowWeekday&&t===-1&&(t=yE),r2(e).overflow=t),e}var mN=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pN=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vN=/Z|[+-]\d\d(?::?\d\d)?/,Zn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ki=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gN=/^\/?Date\((-?\d+)/i,yN=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,xN={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function hv(e){var t,a,r=e._i,n=mN.exec(r)||pN.exec(r),c,i,s,l,f=Zn.length,u=ki.length;if(n){for(r2(e).iso=!0,t=0,a=f;t<a;t++)if(Zn[t][1].exec(n[1])){i=Zn[t][0],c=Zn[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,a=u;t<a;t++)if(ki[t][1].exec(n[3])){s=(n[2]||" ")+ki[t][0];break}if(s==null){e._isValid=!1;return}}if(!c&&s!=null){e._isValid=!1;return}if(n[4])if(vN.exec(n[4]))l="Z";else{e._isValid=!1;return}e._f=i+(s||"")+(l||""),bo(e)}else e._isValid=!1}function bN(e,t,a,r,n,c){var i=[CN(e),rv.indexOf(t),parseInt(a,10),parseInt(r,10),parseInt(n,10)];return c&&i.push(parseInt(c,10)),i}function CN(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function MN(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function zN(e,t,a){if(e){var r=lv.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return r2(a).weekdayMismatch=!0,a._isValid=!1,!1}return!0}function wN(e,t,a){if(e)return xN[e];if(t)return 0;var r=parseInt(a,10),n=r%100,c=(r-n)/100;return c*60+n}function mv(e){var t=yN.exec(MN(e._i)),a;if(t){if(a=bN(t[4],t[3],t[2],t[5],t[6],t[7]),!zN(t[1],a,e))return;e._a=a,e._tzm=wN(t[8],t[9],t[10]),e._d=Sr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),r2(e).rfc2822=!0}else e._isValid=!1}function _N(e){var t=gN.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(hv(e),e._isValid===!1)delete e._isValid;else return;if(mv(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:D1.createFromInputFallback(e)}D1.createFromInputFallback=U3("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function T6(e,t,a){return e??t??a}function kN(e){var t=new Date(D1.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function xo(e){var t,a,r=[],n,c,i;if(!e._d){for(n=kN(e),e._w&&e._a[V4]==null&&e._a[it]==null&&HN(e),e._dayOfYear!=null&&(i=T6(e._a[Je],n[Je]),(e._dayOfYear>rr(i)||e._dayOfYear===0)&&(r2(e)._overflowDayOfYear=!0),a=Sr(i,0,e._dayOfYear),e._a[it]=a.getUTCMonth(),e._a[V4]=a.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[He]===24&&e._a[a4]===0&&e._a[st]===0&&e._a[B0]===0&&(e._nextDay=!0,e._a[He]=0),e._d=(e._useUTC?Sr:EE).apply(null,r),c=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[He]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==c&&(r2(e).weekdayMismatch=!0)}}function HN(e){var t,a,r,n,c,i,s,l,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(c=1,i=4,a=T6(t.GG,e._a[Je],Ar(W2(),1,4).year),r=T6(t.W,1),n=T6(t.E,1),(n<1||n>7)&&(l=!0)):(c=e._locale._week.dow,i=e._locale._week.doy,f=Ar(W2(),c,i),a=T6(t.gg,e._a[Je],f.year),r=T6(t.w,f.week),t.d!=null?(n=t.d,(n<0||n>6)&&(l=!0)):t.e!=null?(n=t.e+c,(t.e<0||t.e>6)&&(l=!0)):n=c),r<1||r>pt(a,c,i)?r2(e)._overflowWeeks=!0:l!=null?r2(e)._overflowWeekday=!0:(s=ov(a,r,n,c,i),e._a[Je]=s.year,e._dayOfYear=s.dayOfYear)}D1.ISO_8601=function(){};D1.RFC_2822=function(){};function bo(e){if(e._f===D1.ISO_8601){hv(e);return}if(e._f===D1.RFC_2822){mv(e);return}e._a=[],r2(e).empty=!0;var t=""+e._i,a,r,n,c,i,s=t.length,l=0,f,u;for(n=Kp(e._f,e._locale).match(so)||[],u=n.length,a=0;a<u;a++)c=n[a],r=(t.match(mE(c,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&r2(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),l+=r.length),R6[c]?(r?r2(e).empty=!1:r2(e).unusedTokens.push(c),vE(c,r,e)):e._strict&&!r&&r2(e).unusedTokens.push(c);r2(e).charsLeftOver=s-l,t.length>0&&r2(e).unusedInput.push(t),e._a[He]<=12&&r2(e).bigHour===!0&&e._a[He]>0&&(r2(e).bigHour=void 0),r2(e).parsedDateParts=e._a.slice(0),r2(e).meridiem=e._meridiem,e._a[He]=VN(e._locale,e._a[He],e._meridiem),f=r2(e).era,f!==null&&(e._a[Je]=e._locale.erasConvertYear(f,e._a[Je])),xo(e),yo(e)}function VN(e,t,a){var r;return a==null?t:e.meridiemHour!=null?e.meridiemHour(t,a):(e.isPM!=null&&(r=e.isPM(a),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function LN(e){var t,a,r,n,c,i,s=!1,l=e._f.length;if(l===0){r2(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<l;n++)c=0,i=!1,t=co({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],bo(t),no(t)&&(i=!0),c+=r2(t).charsLeftOver,c+=r2(t).unusedTokens.length*10,r2(t).score=c,s?c<r&&(r=c,a=t):(r==null||c<r||i)&&(r=c,a=t,i&&(s=!0));Ut(e,a||t)}function SN(e){if(!e._d){var t=oo(e._i),a=t.day===void 0?t.date:t.day;e._a=Yp([t.year,t.month,a,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),xo(e)}}function AN(e){var t=new vn(yo(pv(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function pv(e){var t=e._i,a=e._f;return e._locale=e._locale||kt(e._l),t===null||a===void 0&&t===""?n5({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),v4(t)?new vn(yo(t)):(pn(t)?e._d=t:p4(a)?LN(e):a?bo(e):TN(e),no(e)||(e._d=null),e))}function TN(e){var t=e._i;p3(t)?e._d=new Date(D1.now()):pn(t)?e._d=new Date(t.valueOf()):typeof t=="string"?_N(e):p4(t)?(e._a=Yp(t.slice(0),function(a){return parseInt(a,10)}),xo(e)):q0(t)?SN(e):bt(t)?e._d=new Date(t):D1.createFromInputFallback(e)}function vv(e,t,a,r,n){var c={};return(t===!0||t===!1)&&(r=t,t=void 0),(a===!0||a===!1)&&(r=a,a=void 0),(q0(e)&&ro(e)||p4(e)&&e.length===0)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=n,c._l=a,c._i=e,c._f=t,c._strict=r,AN(c)}function W2(e,t,a,r){return vv(e,t,a,r,!1)}var EN=U3("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W2.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:n5()}),NN=U3("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=W2.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:n5()});function gv(e,t){var a,r;if(t.length===1&&p4(t[0])&&(t=t[0]),!t.length)return W2();for(a=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](a))&&(a=t[r]);return a}function DN(){var e=[].slice.call(arguments,0);return gv("isBefore",e)}function ON(){var e=[].slice.call(arguments,0);return gv("isAfter",e)}var PN=function(){return Date.now?Date.now():+new Date},Va=["year","quarter","month","week","day","hour","minute","second","millisecond"];function BN(e){var t,a=!1,r,n=Va.length;for(t in e)if(C2(e,t)&&!(he.call(Va,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Va[r]]){if(a)return!1;parseFloat(e[Va[r]])!==f2(e[Va[r]])&&(a=!0)}return!0}function FN(){return this._isValid}function RN(){return x4(NaN)}function d5(e){var t=oo(e),a=t.year||0,r=t.quarter||0,n=t.month||0,c=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,l=t.minute||0,f=t.second||0,u=t.millisecond||0;this._isValid=BN(t),this._milliseconds=+u+f*1e3+l*6e4+s*1e3*60*60,this._days=+i+c*7,this._months=+n+r*3+a*12,this._data={},this._locale=kt(),this._bubble()}function F8(e){return e instanceof d5}function Bs(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function IN(e,t,a){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),c=0,i;for(i=0;i<r;i++)(a&&e[i]!==t[i]||!a&&f2(e[i])!==f2(t[i]))&&c++;return c+n}function yv(e,t){j1(e,0,0,function(){var a=this.utcOffset(),r="+";return a<0&&(a=-a,r="-"),r+R4(~~(a/60),2)+t+R4(~~a%60,2)})}yv("Z",":");yv("ZZ","");B1("Z",l5);B1("ZZ",l5);S2(["Z","ZZ"],function(e,t,a){a._useUTC=!0,a._tzm=Co(l5,e)});var $N=/([\+\-]|\d\d)/gi;function Co(e,t){var a=(t||"").match(e),r,n,c;return a===null?null:(r=a[a.length-1]||[],n=(r+"").match($N)||["-",0,0],c=+(n[1]*60)+f2(n[2]),c===0?0:n[0]==="+"?c:-c)}function Mo(e,t){var a,r;return t._isUTC?(a=t.clone(),r=(v4(e)||pn(e)?e.valueOf():W2(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+r),D1.updateOffset(a,!1),a):W2(e).local()}function Fs(e){return-Math.round(e._d.getTimezoneOffset())}D1.updateOffset=function(){};function UN(e,t,a){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Co(l5,e),e===null)return this}else Math.abs(e)<16&&!a&&(e=e*60);return!this._isUTC&&t&&(n=Fs(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Cv(this,x4(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,D1.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Fs(this)}function WN(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function qN(e){return this.utcOffset(0,e)}function jN(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Fs(this),"m")),this}function YN(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Co(dE,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function GN(e){return this.isValid()?(e=e?W2(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function XN(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function KN(){if(!p3(this._isDSTShifted))return this._isDSTShifted;var e={},t;return co(e,this),e=pv(e),e._a?(t=e._isUTC?U4(e._a):W2(e._a),this._isDSTShifted=this.isValid()&&IN(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ZN(){return this.isValid()?!this._isUTC:!1}function QN(){return this.isValid()?this._isUTC:!1}function xv(){return this.isValid()?this._isUTC&&this._offset===0:!1}var JN=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,eD=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function x4(e,t){var a=e,r=null,n,c,i;return F8(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:bt(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(r=JN.exec(e))?(n=r[1]==="-"?-1:1,a={y:0,d:f2(r[V4])*n,h:f2(r[He])*n,m:f2(r[a4])*n,s:f2(r[st])*n,ms:f2(Bs(r[B0]*1e3))*n}):(r=eD.exec(e))?(n=r[1]==="-"?-1:1,a={y:w0(r[2],n),M:w0(r[3],n),w:w0(r[4],n),d:w0(r[5],n),h:w0(r[6],n),m:w0(r[7],n),s:w0(r[8],n)}):a==null?a={}:typeof a=="object"&&("from"in a||"to"in a)&&(i=tD(W2(a.from),W2(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),c=new d5(a),F8(e)&&C2(e,"_locale")&&(c._locale=e._locale),F8(e)&&C2(e,"_isValid")&&(c._isValid=e._isValid),c}x4.fn=d5.prototype;x4.invalid=RN;function w0(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function If(e,t){var a={};return a.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function tD(e,t){var a;return e.isValid()&&t.isValid()?(t=Mo(t,e),e.isBefore(t)?a=If(e,t):(a=If(t,e),a.milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function bv(e,t){return function(a,r){var n,c;return r!==null&&!isNaN(+r)&&(Xp(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),c=a,a=r,r=c),n=x4(a,r),Cv(this,n,e),this}}function Cv(e,t,a,r){var n=t._milliseconds,c=Bs(t._days),i=Bs(t._months);e.isValid()&&(r=r??!0,i&&cv(e,Lr(e,"Month")+i*a),c&&av(e,"Date",Lr(e,"Date")+c*a),n&&e._d.setTime(e._d.valueOf()+n*a),r&&D1.updateOffset(e,c||i))}var aD=bv(1,"add"),rD=bv(-1,"subtract");function Mv(e){return typeof e=="string"||e instanceof String}function nD(e){return v4(e)||pn(e)||Mv(e)||bt(e)||iD(e)||cD(e)||e===null||e===void 0}function cD(e){var t=q0(e)&&!ro(e),a=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,c,i=r.length;for(n=0;n<i;n+=1)c=r[n],a=a||C2(e,c);return t&&a}function iD(e){var t=p4(e),a=!1;return t&&(a=e.filter(function(r){return!bt(r)&&Mv(e)}).length===0),t&&a}function sD(e){var t=q0(e)&&!ro(e),a=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,c;for(n=0;n<r.length;n+=1)c=r[n],a=a||C2(e,c);return t&&a}function oD(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"}function lD(e,t){arguments.length===1&&(arguments[0]?nD(arguments[0])?(e=arguments[0],t=void 0):sD(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var a=e||W2(),r=Mo(a,this).startOf("day"),n=D1.calendarFormat(this,r)||"sameElse",c=t&&(W4(t[n])?t[n].call(this,a):t[n]);return this.format(c||this.localeData().calendar(n,this,W2(a)))}function fD(){return new vn(this)}function uD(e,t){var a=v4(e)?e:W2(e);return this.isValid()&&a.isValid()?(t=W3(t)||"millisecond",t==="millisecond"?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(t).valueOf()):!1}function dD(e,t){var a=v4(e)?e:W2(e);return this.isValid()&&a.isValid()?(t=W3(t)||"millisecond",t==="millisecond"?this.valueOf()<a.valueOf():this.clone().endOf(t).valueOf()<a.valueOf()):!1}function hD(e,t,a,r){var n=v4(e)?e:W2(e),c=v4(t)?t:W2(t);return this.isValid()&&n.isValid()&&c.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,a):!this.isBefore(n,a))&&(r[1]===")"?this.isBefore(c,a):!this.isAfter(c,a))):!1}function mD(e,t){var a=v4(e)?e:W2(e),r;return this.isValid()&&a.isValid()?(t=W3(t)||"millisecond",t==="millisecond"?this.valueOf()===a.valueOf():(r=a.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function pD(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function vD(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function gD(e,t,a){var r,n,c;if(!this.isValid())return NaN;if(r=Mo(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=W3(t),t){case"year":c=R8(this,r)/12;break;case"month":c=R8(this,r);break;case"quarter":c=R8(this,r)/3;break;case"second":c=(this-r)/1e3;break;case"minute":c=(this-r)/6e4;break;case"hour":c=(this-r)/36e5;break;case"day":c=(this-r-n)/864e5;break;case"week":c=(this-r-n)/6048e5;break;default:c=this-r}return a?c:B3(c)}function R8(e,t){if(e.date()<t.date())return-R8(t,e);var a=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(a,"months"),n,c;return t-r<0?(n=e.clone().add(a-1,"months"),c=(t-r)/(r-n)):(n=e.clone().add(a+1,"months"),c=(t-r)/(n-r)),-(a+c)||0}D1.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";D1.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function yD(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xD(e){if(!this.isValid())return null;var t=e!==!0,a=t?this.clone().utc():this;return a.year()<0||a.year()>9999?B8(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):W4(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",B8(a,"Z")):B8(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function bD(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",a,r,n,c;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),a="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",c=t+'[")]',this.format(a+r+n+c)}function CD(e){e||(e=this.isUtc()?D1.defaultFormatUtc:D1.defaultFormat);var t=B8(this,e);return this.localeData().postformat(t)}function MD(e,t){return this.isValid()&&(v4(e)&&e.isValid()||W2(e).isValid())?x4({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function zD(e){return this.from(W2(),e)}function wD(e,t){return this.isValid()&&(v4(e)&&e.isValid()||W2(e).isValid())?x4({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _D(e){return this.to(W2(),e)}function zv(e){var t;return e===void 0?this._locale._abbr:(t=kt(e),t!=null&&(this._locale=t),this)}var wv=U3("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function _v(){return this._locale}var dc=1e3,I6=60*dc,hc=60*I6,kv=(365*400+97)*24*hc;function $6(e,t){return(e%t+t)%t}function Hv(e,t,a){return e<100&&e>=0?new Date(e+400,t,a)-kv:new Date(e,t,a).valueOf()}function Vv(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-kv:Date.UTC(e,t,a)}function kD(e){var t,a;if(e=W3(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?Vv:Hv,e){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=$6(t+(this._isUTC?0:this.utcOffset()*I6),hc);break;case"minute":t=this._d.valueOf(),t-=$6(t,I6);break;case"second":t=this._d.valueOf(),t-=$6(t,dc);break}return this._d.setTime(t),D1.updateOffset(this,!0),this}function HD(e){var t,a;if(e=W3(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?Vv:Hv,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hc-$6(t+(this._isUTC?0:this.utcOffset()*I6),hc)-1;break;case"minute":t=this._d.valueOf(),t+=I6-$6(t,I6)-1;break;case"second":t=this._d.valueOf(),t+=dc-$6(t,dc)-1;break}return this._d.setTime(t),D1.updateOffset(this,!0),this}function VD(){return this._d.valueOf()-(this._offset||0)*6e4}function LD(){return Math.floor(this.valueOf()/1e3)}function SD(){return new Date(this.valueOf())}function AD(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function TD(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ED(){return this.isValid()?this.toISOString():null}function ND(){return no(this)}function DD(){return Ut({},r2(this))}function OD(){return r2(this).overflow}function PD(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}j1("N",0,0,"eraAbbr");j1("NN",0,0,"eraAbbr");j1("NNN",0,0,"eraAbbr");j1("NNNN",0,0,"eraName");j1("NNNNN",0,0,"eraNarrow");j1("y",["y",1],"yo","eraYear");j1("y",["yy",2],0,"eraYear");j1("y",["yyy",3],0,"eraYear");j1("y",["yyyy",4],0,"eraYear");B1("N",zo);B1("NN",zo);B1("NNN",zo);B1("NNNN",GD);B1("NNNNN",XD);S2(["N","NN","NNN","NNNN","NNNNN"],function(e,t,a,r){var n=a._locale.erasParse(e,r,a._strict);n?r2(a).era=n:r2(a).invalidEra=e});B1("y",ua);B1("yy",ua);B1("yyy",ua);B1("yyyy",ua);B1("yo",KD);S2(["y","yy","yyy","yyyy"],Je);S2(["yo"],function(e,t,a,r){var n;a._locale._eraYearOrdinalRegex&&(n=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[Je]=a._locale.eraYearOrdinalParse(e,n):t[Je]=parseInt(e,10)});function BD(e,t){var a,r,n,c=this._eras||kt("en")._eras;for(a=0,r=c.length;a<r;++a){switch(typeof c[a].since){case"string":n=D1(c[a].since).startOf("day"),c[a].since=n.valueOf();break}switch(typeof c[a].until){case"undefined":c[a].until=1/0;break;case"string":n=D1(c[a].until).startOf("day").valueOf(),c[a].until=n.valueOf();break}}return c}function FD(e,t,a){var r,n,c=this.eras(),i,s,l;for(e=e.toUpperCase(),r=0,n=c.length;r<n;++r)if(i=c[r].name.toUpperCase(),s=c[r].abbr.toUpperCase(),l=c[r].narrow.toUpperCase(),a)switch(t){case"N":case"NN":case"NNN":if(s===e)return c[r];break;case"NNNN":if(i===e)return c[r];break;case"NNNNN":if(l===e)return c[r];break}else if([i,s,l].indexOf(e)>=0)return c[r]}function RD(e,t){var a=e.since<=e.until?1:-1;return t===void 0?D1(e.since).year():D1(e.since).year()+(t-e.offset)*a}function ID(){var e,t,a,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(a=this.clone().startOf("day").valueOf(),r[e].since<=a&&a<=r[e].until||r[e].until<=a&&a<=r[e].since)return r[e].name;return""}function $D(){var e,t,a,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(a=this.clone().startOf("day").valueOf(),r[e].since<=a&&a<=r[e].until||r[e].until<=a&&a<=r[e].since)return r[e].narrow;return""}function UD(){var e,t,a,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(a=this.clone().startOf("day").valueOf(),r[e].since<=a&&a<=r[e].until||r[e].until<=a&&a<=r[e].since)return r[e].abbr;return""}function WD(){var e,t,a,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(a=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-D1(n[e].since).year())*a+n[e].offset;return this.year()}function qD(e){return C2(this,"_erasNameRegex")||wo.call(this),e?this._erasNameRegex:this._erasRegex}function jD(e){return C2(this,"_erasAbbrRegex")||wo.call(this),e?this._erasAbbrRegex:this._erasRegex}function YD(e){return C2(this,"_erasNarrowRegex")||wo.call(this),e?this._erasNarrowRegex:this._erasRegex}function zo(e,t){return t.erasAbbrRegex(e)}function GD(e,t){return t.erasNameRegex(e)}function XD(e,t){return t.erasNarrowRegex(e)}function KD(e,t){return t._eraYearOrdinalRegex||ua}function wo(){var e=[],t=[],a=[],r=[],n,c,i,s,l,f=this.eras();for(n=0,c=f.length;n<c;++n)i=mt(f[n].name),s=mt(f[n].abbr),l=mt(f[n].narrow),t.push(i),e.push(s),a.push(l),r.push(i),r.push(s),r.push(l);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+a.join("|")+")","i")}j1(0,["gg",2],0,function(){return this.weekYear()%100});j1(0,["GG",2],0,function(){return this.isoWeekYear()%100});function h5(e,t){j1(0,[e,e.length],0,t)}h5("gggg","weekYear");h5("ggggg","weekYear");h5("GGGG","isoWeekYear");h5("GGGGG","isoWeekYear");B1("G",o5);B1("g",o5);B1("GG",q2,L3);B1("gg",q2,L3);B1("GGGG",fo,lo);B1("gggg",fo,lo);B1("GGGGG",s5,c5);B1("ggggg",s5,c5);yn(["gggg","ggggg","GGGG","GGGGG"],function(e,t,a,r){t[r.substr(0,2)]=f2(e)});yn(["gg","GG"],function(e,t,a,r){t[r]=D1.parseTwoDigitYear(e)});function ZD(e){return Lv.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function QD(e){return Lv.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function JD(){return pt(this.year(),1,4)}function eO(){return pt(this.isoWeekYear(),1,4)}function tO(){var e=this.localeData()._week;return pt(this.year(),e.dow,e.doy)}function aO(){var e=this.localeData()._week;return pt(this.weekYear(),e.dow,e.doy)}function Lv(e,t,a,r,n){var c;return e==null?Ar(this,r,n).year:(c=pt(e,r,n),t>c&&(t=c),rO.call(this,e,t,a,r,n))}function rO(e,t,a,r,n){var c=ov(e,t,a,r,n),i=Sr(c.year,0,c.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}j1("Q",0,"Qo","quarter");B1("Q",Zp);S2("Q",function(e,t){t[it]=(f2(e)-1)*3});function nO(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}j1("D",["DD",2],"Do","date");B1("D",q2,da);B1("DD",q2,L3);B1("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});S2(["D","DD"],V4);S2("Do",function(e,t){t[V4]=f2(e.match(q2)[0])});var Sv=ha("Date",!0);j1("DDD",["DDDD",3],"DDDo","dayOfYear");B1("DDD",i5);B1("DDDD",Qp);S2(["DDD","DDDD"],function(e,t,a){a._dayOfYear=f2(e)});function cO(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}j1("m",["mm",2],0,"minute");B1("m",q2,uo);B1("mm",q2,L3);S2(["m","mm"],a4);var iO=ha("Minutes",!1);j1("s",["ss",2],0,"second");B1("s",q2,uo);B1("ss",q2,L3);S2(["s","ss"],st);var sO=ha("Seconds",!1);j1("S",0,0,function(){return~~(this.millisecond()/100)});j1(0,["SS",2],0,function(){return~~(this.millisecond()/10)});j1(0,["SSS",3],0,"millisecond");j1(0,["SSSS",4],0,function(){return this.millisecond()*10});j1(0,["SSSSS",5],0,function(){return this.millisecond()*100});j1(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});j1(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});j1(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});j1(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});B1("S",i5,Zp);B1("SS",i5,L3);B1("SSS",i5,Qp);var Wt,Av;for(Wt="SSSS";Wt.length<=9;Wt+="S")B1(Wt,ua);function oO(e,t){t[B0]=f2(("0."+e)*1e3)}for(Wt="S";Wt.length<=9;Wt+="S")S2(Wt,oO);Av=ha("Milliseconds",!1);j1("z",0,0,"zoneAbbr");j1("zz",0,0,"zoneName");function lO(){return this._isUTC?"UTC":""}function fO(){return this._isUTC?"Coordinated Universal Time":""}var E1=vn.prototype;E1.add=aD;E1.calendar=lD;E1.clone=fD;E1.diff=gD;E1.endOf=HD;E1.format=CD;E1.from=MD;E1.fromNow=zD;E1.to=wD;E1.toNow=_D;E1.get=bE;E1.invalidAt=OD;E1.isAfter=uD;E1.isBefore=dD;E1.isBetween=hD;E1.isSame=mD;E1.isSameOrAfter=pD;E1.isSameOrBefore=vD;E1.isValid=ND;E1.lang=wv;E1.locale=zv;E1.localeData=_v;E1.max=NN;E1.min=EN;E1.parsingFlags=DD;E1.set=CE;E1.startOf=kD;E1.subtract=rD;E1.toArray=AD;E1.toObject=TD;E1.toDate=SD;E1.toISOString=xD;E1.inspect=bD;typeof Symbol<"u"&&Symbol.for!=null&&(E1[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});E1.toJSON=ED;E1.toString=yD;E1.unix=LD;E1.valueOf=VD;E1.creationData=PD;E1.eraName=ID;E1.eraNarrow=$D;E1.eraAbbr=UD;E1.eraYear=WD;E1.year=tv;E1.isLeapYear=xE;E1.weekYear=ZD;E1.isoWeekYear=QD;E1.quarter=E1.quarters=nO;E1.month=iv;E1.daysInMonth=SE;E1.week=E1.weeks=BE;E1.isoWeek=E1.isoWeeks=FE;E1.weeksInYear=tO;E1.weeksInWeekYear=aO;E1.isoWeeksInYear=JD;E1.isoWeeksInISOWeekYear=eO;E1.date=Sv;E1.day=E1.days=QE;E1.weekday=JE;E1.isoWeekday=eN;E1.dayOfYear=cO;E1.hour=E1.hours=sN;E1.minute=E1.minutes=iO;E1.second=E1.seconds=sO;E1.millisecond=E1.milliseconds=Av;E1.utcOffset=UN;E1.utc=qN;E1.local=jN;E1.parseZone=YN;E1.hasAlignedHourOffset=GN;E1.isDST=XN;E1.isLocal=ZN;E1.isUtcOffset=QN;E1.isUtc=xv;E1.isUTC=xv;E1.zoneAbbr=lO;E1.zoneName=fO;E1.dates=U3("dates accessor is deprecated. Use date instead.",Sv);E1.months=U3("months accessor is deprecated. Use month instead",iv);E1.years=U3("years accessor is deprecated. Use year instead",tv);E1.zone=U3("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",WN);E1.isDSTShifted=U3("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",KN);function uO(e){return W2(e*1e3)}function dO(){return W2.apply(null,arguments).parseZone()}function Tv(e){return e}var M2=io.prototype;M2.calendar=ZT;M2.longDateFormat=tE;M2.invalidDate=rE;M2.ordinal=iE;M2.preparse=Tv;M2.postformat=Tv;M2.relativeTime=oE;M2.pastFuture=lE;M2.set=XT;M2.eras=BD;M2.erasParse=FD;M2.erasConvertYear=RD;M2.erasAbbrRegex=jD;M2.erasNameRegex=qD;M2.erasNarrowRegex=YD;M2.months=kE;M2.monthsShort=HE;M2.monthsParse=LE;M2.monthsRegex=TE;M2.monthsShortRegex=AE;M2.week=NE;M2.firstDayOfYear=PE;M2.firstDayOfWeek=OE;M2.weekdays=YE;M2.weekdaysMin=XE;M2.weekdaysShort=GE;M2.weekdaysParse=ZE;M2.weekdaysRegex=tN;M2.weekdaysShortRegex=aN;M2.weekdaysMinRegex=rN;M2.isPM=cN;M2.meridiem=oN;function mc(e,t,a,r){var n=kt(),c=U4().set(r,t);return n[a](c,e)}function Ev(e,t,a){if(bt(e)&&(t=e,e=void 0),e=e||"",t!=null)return mc(e,t,a,"month");var r,n=[];for(r=0;r<12;r++)n[r]=mc(e,r,a,"month");return n}function _o(e,t,a,r){typeof e=="boolean"?(bt(t)&&(a=t,t=void 0),t=t||""):(t=e,a=t,e=!1,bt(t)&&(a=t,t=void 0),t=t||"");var n=kt(),c=e?n._week.dow:0,i,s=[];if(a!=null)return mc(t,(a+c)%7,r,"day");for(i=0;i<7;i++)s[i]=mc(t,(i+c)%7,r,"day");return s}function hO(e,t){return Ev(e,t,"months")}function mO(e,t){return Ev(e,t,"monthsShort")}function pO(e,t,a){return _o(e,t,a,"weekdays")}function vO(e,t,a){return _o(e,t,a,"weekdaysShort")}function gO(e,t,a){return _o(e,t,a,"weekdaysMin")}Qt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,a=f2(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+a}});D1.lang=U3("moment.lang is deprecated. Use moment.locale instead.",Qt);D1.langData=U3("moment.langData is deprecated. Use moment.localeData instead.",kt);var Q4=Math.abs;function yO(){var e=this._data;return this._milliseconds=Q4(this._milliseconds),this._days=Q4(this._days),this._months=Q4(this._months),e.milliseconds=Q4(e.milliseconds),e.seconds=Q4(e.seconds),e.minutes=Q4(e.minutes),e.hours=Q4(e.hours),e.months=Q4(e.months),e.years=Q4(e.years),this}function Nv(e,t,a,r){var n=x4(t,a);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function xO(e,t){return Nv(this,e,t,1)}function bO(e,t){return Nv(this,e,t,-1)}function $f(e){return e<0?Math.floor(e):Math.ceil(e)}function CO(){var e=this._milliseconds,t=this._days,a=this._months,r=this._data,n,c,i,s,l;return e>=0&&t>=0&&a>=0||e<=0&&t<=0&&a<=0||(e+=$f(Rs(a)+t)*864e5,t=0,a=0),r.milliseconds=e%1e3,n=B3(e/1e3),r.seconds=n%60,c=B3(n/60),r.minutes=c%60,i=B3(c/60),r.hours=i%24,t+=B3(i/24),l=B3(Dv(t)),a+=l,t-=$f(Rs(l)),s=B3(a/12),a%=12,r.days=t,r.months=a,r.years=s,this}function Dv(e){return e*4800/146097}function Rs(e){return e*146097/4800}function MO(e){if(!this.isValid())return NaN;var t,a,r=this._milliseconds;if(e=W3(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,a=this._months+Dv(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(Rs(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Ht(e){return function(){return this.as(e)}}var Ov=Ht("ms"),zO=Ht("s"),wO=Ht("m"),_O=Ht("h"),kO=Ht("d"),HO=Ht("w"),VO=Ht("M"),LO=Ht("Q"),SO=Ht("y"),AO=Ov;function TO(){return x4(this)}function EO(e){return e=W3(e),this.isValid()?this[e+"s"]():NaN}function u6(e){return function(){return this.isValid()?this._data[e]:NaN}}var NO=u6("milliseconds"),DO=u6("seconds"),OO=u6("minutes"),PO=u6("hours"),BO=u6("days"),FO=u6("months"),RO=u6("years");function IO(){return B3(this.days()/7)}var at=Math.round,D6={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $O(e,t,a,r,n){return n.relativeTime(t||1,!!a,e,r)}function UO(e,t,a,r){var n=x4(e).abs(),c=at(n.as("s")),i=at(n.as("m")),s=at(n.as("h")),l=at(n.as("d")),f=at(n.as("M")),u=at(n.as("w")),d=at(n.as("y")),h=c<=a.ss&&["s",c]||c<a.s&&["ss",c]||i<=1&&["m"]||i<a.m&&["mm",i]||s<=1&&["h"]||s<a.h&&["hh",s]||l<=1&&["d"]||l<a.d&&["dd",l];return a.w!=null&&(h=h||u<=1&&["w"]||u<a.w&&["ww",u]),h=h||f<=1&&["M"]||f<a.M&&["MM",f]||d<=1&&["y"]||["yy",d],h[2]=t,h[3]=+e>0,h[4]=r,$O.apply(null,h)}function WO(e){return e===void 0?at:typeof e=="function"?(at=e,!0):!1}function qO(e,t){return D6[e]===void 0?!1:t===void 0?D6[e]:(D6[e]=t,e==="s"&&(D6.ss=t-1),!0)}function jO(e,t){if(!this.isValid())return this.localeData().invalidDate();var a=!1,r=D6,n,c;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(a=e),typeof t=="object"&&(r=Object.assign({},D6,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),c=UO(this,!a,r,n),a&&(c=n.pastFuture(+this,c)),n.postformat(c)}var Hi=Math.abs;function w6(e){return(e>0)-(e<0)||+e}function m5(){if(!this.isValid())return this.localeData().invalidDate();var e=Hi(this._milliseconds)/1e3,t=Hi(this._days),a=Hi(this._months),r,n,c,i,s=this.asSeconds(),l,f,u,d;return s?(r=B3(e/60),n=B3(r/60),e%=60,r%=60,c=B3(a/12),a%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",f=w6(this._months)!==w6(s)?"-":"",u=w6(this._days)!==w6(s)?"-":"",d=w6(this._milliseconds)!==w6(s)?"-":"",l+"P"+(c?f+c+"Y":"")+(a?f+a+"M":"")+(t?u+t+"D":"")+(n||r||e?"T":"")+(n?d+n+"H":"")+(r?d+r+"M":"")+(e?d+i+"S":"")):"P0D"}var y2=d5.prototype;y2.isValid=FN;y2.abs=yO;y2.add=xO;y2.subtract=bO;y2.as=MO;y2.asMilliseconds=Ov;y2.asSeconds=zO;y2.asMinutes=wO;y2.asHours=_O;y2.asDays=kO;y2.asWeeks=HO;y2.asMonths=VO;y2.asQuarters=LO;y2.asYears=SO;y2.valueOf=AO;y2._bubble=CO;y2.clone=TO;y2.get=EO;y2.milliseconds=NO;y2.seconds=DO;y2.minutes=OO;y2.hours=PO;y2.days=BO;y2.weeks=IO;y2.months=FO;y2.years=RO;y2.humanize=jO;y2.toISOString=m5;y2.toString=m5;y2.toJSON=m5;y2.locale=zv;y2.localeData=_v;y2.toIsoString=U3("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",m5);y2.lang=wv;j1("X",0,0,"unix");j1("x",0,0,"valueOf");B1("x",o5);B1("X",hE);S2("X",function(e,t,a){a._d=new Date(parseFloat(e)*1e3)});S2("x",function(e,t,a){a._d=new Date(f2(e))});//! moment.js
16
- D1.version="2.30.1";YT(W2);D1.fn=E1;D1.min=DN;D1.max=ON;D1.now=PN;D1.utc=U4;D1.unix=uO;D1.months=hO;D1.isDate=pn;D1.locale=Qt;D1.invalid=n5;D1.duration=x4;D1.isMoment=v4;D1.weekdays=pO;D1.parseZone=dO;D1.localeData=kt;D1.isDuration=F8;D1.monthsShort=mO;D1.weekdaysMin=gO;D1.defineLocale=go;D1.updateLocale=dN;D1.locales=hN;D1.weekdaysShort=vO;D1.normalizeUnits=W3;D1.relativeTimeRounding=WO;D1.relativeTimeThreshold=qO;D1.calendarFormat=oD;D1.prototype=E1;D1.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function xn(e,t,a){t&&Object.keys(t).forEach(r=>{if(e.hasOwnProperty(r)&&t[r]!==void 0){if(t[r]===null){e[r]=null;return}if(t[r]instanceof Date){e[r]=t[r];return}if(t[r]instanceof File){e[r]=t[r];return}if(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(t[r])&&D1(t[r],D1.ISO_8601,!0).isValid()){e[r]=new Date(t[r]);return}if(typeof t[r]=="object"){if(a!=null&&a[r]){if(Array.isArray(t[r])){e[r]=t[r].map(n=>new a[r](n));return}e[r]=new a[r](t[r]);return}if(Array.isArray(t[r])){e[r]=t[r].map(n=>n instanceof Date?n:n instanceof File?n:Fe.cloneObjectProperties(n));return}e[r]=Fe.cloneObjectProperties(t[r]);return}e[r]=t[r]}})}function bn(e,t){return Z2.getConfig().i18n[`${e}Routes`](t)}function Pv(e){return e==null?void 0:e.matched[0].name}function ko(e,t){return e.filter(a=>!a.meta.isVisibleInTheSideBar||t&&a.meta.preventDisplayInTheBottomBar?!1:Z2.getConfig().routerHelpers.validateRouteAccess(a.meta.access))}function p5(e,t){return e.filter(a=>a.meta.isVisibleInTheSideBar&&a.meta.navigationSectionName===t)}function Ho(e,t){return e.filter(a=>p5(t,a.name).length)}function Bv(e){const t=window.location.host,r=Object.entries(e).find(([n,c])=>c.some(i=>t.endsWith(i)));return r==null?void 0:r[0]}function YO(e){const t=window.location.host,a=Bv(e);if(!a)return;const r=e[a];if(!r)return;const n=r.find(i=>t.endsWith(i));if(!n)return;const c=t.replace(`.${n}`,"");if(c!==t)return c}function vt(e){return typeof e=="function"?e():e}function Fv(){window.scrollTo({top:0,behavior:"smooth"})}function GO(e){return typeof e!="string"?!1:/^[a-fA-F0-9]{24}$/.test(e)}function Vo(){return window.innerWidth<=768}function XO(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}let Q0={layout:{headerHeight:"4.8rem",sideBarWidth:"18rem",bottomBarHeight:"4.4rem",layoutPaddingTop:"1.5rem",layoutPaddingBottom:"2.8rem",layoutPaddingX:"1.5rem",layoutPaddingXSmallDevices:"1rem"},colors:Lp,button:{variant:"filled"},form:{input:{padding:"0.5rem",iconWidth:"2.6rem",paddingWithIcon:"3.1rem",height:"2.2rem",borderRadius:"0.25rem",borderColor:"var(--pga-color-first-02)",colorFocus:"var(--pga-color-primary)",backgroundColor:"var(--pga-color-first-contrast)",backgroundColorDisabled:"var(--pga-color-second-contrast)",backgroundColorFocus:"var(--pga-color-primary-01)",backgroundColorHover:"var(--pga-color-primary-02)",placeholderColor:"var(--pga-color-third)"}},display:{price:{withSign:!0,withBackground:!1}},notifications:{timeoutTime:4e3,preventRemove:!0},calendar:{hideWeekends:!1}};function Rv(e){Q0=Fe.mergeDeep(Q0,e),Iv(),Lo()}function Iv(){for(const e in Q0.layout)sc(e,Q0.layout[e])}function Lo(){for(const e in Q0.colors){const t=Q0.colors[e],a=h4().theme;Ls(e,t[a]),Ls(`${e}Contrast`,t.contrast[a])}}function $e(){return Q0}const Jt=F4.defineStore("pga-notifications",()=>{const e=o.ref(1),t=o.ref([]);return{currentId:e,notifications:t}});function ot(e,t){const a=Jt().currentId++,r={id:a,type:e,message:t,timeout:void 0},n=$e().notifications.timeoutTime;return n!=="none"&&(r.timeout=setTimeout(()=>So(a),n)),Jt().notifications.push(r),a}function So(e){const t=Jt().notifications.find(r=>r.id===e);t&&t.timeout&&clearTimeout(t.timeout);const a=Jt().notifications.filter(r=>r.id!==e);Jt().notifications=a}function $v(){Jt().notifications.forEach(e=>{e.timeout&&clearTimeout(e.timeout)}),Jt().notifications=[]}function Uf(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,r)}return a}function P1(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Uf(Object(a),!0).forEach(function(r){Ae(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Uf(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}function pc(e){"@babel/helpers - typeof";return pc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pc(e)}function KO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZO(e,t,a){return t&&Wf(e.prototype,t),a&&Wf(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ae(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ao(e,t){return JO(e)||tP(e,t)||Uv(e,t)||rP()}function Cn(e){return QO(e)||eP(e)||Uv(e)||aP()}function QO(e){if(Array.isArray(e))return Is(e)}function JO(e){if(Array.isArray(e))return e}function eP(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tP(e,t){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var r=[],n=!0,c=!1,i,s;try{for(a=a.call(e);!(n=(i=a.next()).done)&&(r.push(i.value),!(t&&r.length===t));n=!0);}catch(l){c=!0,s=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(c)throw s}}return r}}function Uv(e,t){if(e){if(typeof e=="string")return Is(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Is(e,t)}}function Is(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function aP(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
16
+ D1.version="2.30.1";YT(W2);D1.fn=E1;D1.min=DN;D1.max=ON;D1.now=PN;D1.utc=U4;D1.unix=uO;D1.months=hO;D1.isDate=pn;D1.locale=Qt;D1.invalid=n5;D1.duration=x4;D1.isMoment=v4;D1.weekdays=pO;D1.parseZone=dO;D1.localeData=kt;D1.isDuration=F8;D1.monthsShort=mO;D1.weekdaysMin=gO;D1.defineLocale=go;D1.updateLocale=dN;D1.locales=hN;D1.weekdaysShort=vO;D1.normalizeUnits=W3;D1.relativeTimeRounding=WO;D1.relativeTimeThreshold=qO;D1.calendarFormat=oD;D1.prototype=E1;D1.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function xn(e,t,a){t&&Object.keys(t).forEach(r=>{if(e.hasOwnProperty(r)&&t[r]!==void 0){if(t[r]===null){e[r]=null;return}if(t[r]instanceof Date){e[r]=t[r];return}if(t[r]instanceof File){e[r]=t[r];return}if(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$/.test(t[r])&&D1(t[r],D1.ISO_8601,!0).isValid()){e[r]=new Date(t[r]);return}if(typeof t[r]=="object"){if(a!=null&&a[r]){if(Array.isArray(t[r])){e[r]=t[r].map(n=>new a[r](n));return}e[r]=new a[r](t[r]);return}if(Array.isArray(t[r])){e[r]=t[r].map(n=>n instanceof Date?n:n instanceof File?n:Fe.cloneObjectProperties(n));return}e[r]=Fe.cloneObjectProperties(t[r]);return}e[r]=t[r]}})}function bn(e,t){return Z2.getConfig().i18n[`${e}Routes`](t)}function Pv(e){return e==null?void 0:e.matched[0].name}function ko(e,t){return e.filter(a=>!a.meta.isVisibleInTheSideBar||t&&a.meta.preventDisplayInTheBottomBar?!1:Z2.getConfig().routerHelpers.validateRouteAccess(a.meta.access))}function p5(e,t){return e.filter(a=>a.meta.isVisibleInTheSideBar&&a.meta.navigationSectionName===t)}function Ho(e,t){return e.filter(a=>p5(t,a.name).length)}function Bv(e){const t=window.location.host,r=Object.entries(e).find(([c,i])=>i.some(s=>t.endsWith(s))),n=r==null?void 0:r[0];if(!n)throw Error("No environment found");return n}function YO(e){const t=window.location.host,a=Bv(e);if(!a)return;const r=e[a];if(!r)return;const n=r.find(i=>t.endsWith(i));if(!n)return;const c=t.replace(`.${n}`,"");if(c!==t)return c}function vt(e){return typeof e=="function"?e():e}function Fv(){window.scrollTo({top:0,behavior:"smooth"})}function GO(e){return typeof e!="string"?!1:/^[a-fA-F0-9]{24}$/.test(e)}function Vo(){return window.innerWidth<=768}function XO(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}let Q0={layout:{headerHeight:"4.8rem",sideBarWidth:"18rem",bottomBarHeight:"4.4rem",layoutPaddingTop:"1.5rem",layoutPaddingBottom:"2.8rem",layoutPaddingX:"1.5rem",layoutPaddingXSmallDevices:"1rem"},colors:Lp,button:{variant:"filled"},form:{input:{padding:"0.5rem",iconWidth:"2.6rem",paddingWithIcon:"3.1rem",height:"2.2rem",borderRadius:"0.25rem",borderColor:"var(--pga-color-first-02)",colorFocus:"var(--pga-color-primary)",backgroundColor:"var(--pga-color-first-contrast)",backgroundColorDisabled:"var(--pga-color-second-contrast)",backgroundColorFocus:"var(--pga-color-primary-01)",backgroundColorHover:"var(--pga-color-primary-02)",placeholderColor:"var(--pga-color-third)"}},display:{price:{withSign:!0,withBackground:!1}},notifications:{timeoutTime:4e3,preventRemove:!0},calendar:{hideWeekends:!1}};function Rv(e){Q0=Fe.mergeDeep(Q0,e),Iv(),Lo()}function Iv(){for(const e in Q0.layout)sc(e,Q0.layout[e])}function Lo(){for(const e in Q0.colors){const t=Q0.colors[e],a=h4().theme;Ls(e,t[a]),Ls(`${e}Contrast`,t.contrast[a])}}function $e(){return Q0}const Jt=F4.defineStore("pga-notifications",()=>{const e=o.ref(1),t=o.ref([]);return{currentId:e,notifications:t}});function ot(e,t){const a=Jt().currentId++,r={id:a,type:e,message:t,timeout:void 0},n=$e().notifications.timeoutTime;return n!=="none"&&(r.timeout=setTimeout(()=>So(a),n)),Jt().notifications.push(r),a}function So(e){const t=Jt().notifications.find(r=>r.id===e);t&&t.timeout&&clearTimeout(t.timeout);const a=Jt().notifications.filter(r=>r.id!==e);Jt().notifications=a}function $v(){Jt().notifications.forEach(e=>{e.timeout&&clearTimeout(e.timeout)}),Jt().notifications=[]}function Uf(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,r)}return a}function P1(e){for(var t=1;t<arguments.length;t++){var a=arguments[t]!=null?arguments[t]:{};t%2?Uf(Object(a),!0).forEach(function(r){Ae(e,r,a[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Uf(Object(a)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(a,r))})}return e}function pc(e){"@babel/helpers - typeof";return pc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pc(e)}function KO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ZO(e,t,a){return t&&Wf(e.prototype,t),a&&Wf(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ae(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ao(e,t){return JO(e)||tP(e,t)||Uv(e,t)||rP()}function Cn(e){return QO(e)||eP(e)||Uv(e)||aP()}function QO(e){if(Array.isArray(e))return Is(e)}function JO(e){if(Array.isArray(e))return e}function eP(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tP(e,t){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var r=[],n=!0,c=!1,i,s;try{for(a=a.call(e);!(n=(i=a.next()).done)&&(r.push(i.value),!(t&&r.length===t));n=!0);}catch(l){c=!0,s=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(c)throw s}}return r}}function Uv(e,t){if(e){if(typeof e=="string")return Is(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Is(e,t)}}function Is(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function aP(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
17
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
18
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var qf=function(){},To={},Wv={},qv=null,jv={mark:qf,measure:qf};try{typeof window<"u"&&(To=window),typeof document<"u"&&(Wv=document),typeof MutationObserver<"u"&&(qv=MutationObserver),typeof performance<"u"&&(jv=performance)}catch{}var nP=To.navigator||{},jf=nP.userAgent,Yf=jf===void 0?"":jf,i0=To,I2=Wv,Gf=qv,Qn=jv;i0.document;var Vt=!!I2.documentElement&&!!I2.head&&typeof I2.addEventListener=="function"&&typeof I2.createElement=="function",Yv=~Yf.indexOf("MSIE")||~Yf.indexOf("Trident/"),Jn,e8,t8,a8,r8,Ct="___FONT_AWESOME___",$s=16,Gv="fa",Xv="svg-inline--fa",J0="data-fa-i2svg",Us="data-fa-pseudo-element",cP="data-fa-pseudo-element-pending",Eo="data-prefix",No="data-icon",Xf="fontawesome-i2svg",iP="async",sP=["HTML","HEAD","STYLE","SCRIPT"],Kv=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),F2="classic",ie="sharp",Do=[F2,ie];function Mn(e){return new Proxy(e,{get:function(a,r){return r in a?a[r]:a[F2]}})}var Er=Mn((Jn={},Ae(Jn,F2,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),Ae(Jn,ie,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Jn)),Nr=Mn((e8={},Ae(e8,F2,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Ae(e8,ie,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),e8)),Dr=Mn((t8={},Ae(t8,F2,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Ae(t8,ie,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),t8)),oP=Mn((a8={},Ae(a8,F2,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Ae(a8,ie,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),a8)),lP=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Zv="fa-layers-text",fP=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,uP=Mn((r8={},Ae(r8,F2,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Ae(r8,ie,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),r8)),Qv=[1,2,3,4,5,6,7,8,9,10],dP=Qv.concat([11,12,13,14,15,16,17,18,19,20]),hP=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],F0={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Or=new Set;Object.keys(Nr[F2]).map(Or.add.bind(Or));Object.keys(Nr[ie]).map(Or.add.bind(Or));var mP=[].concat(Do,Cn(Or),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",F0.GROUP,F0.SWAP_OPACITY,F0.PRIMARY,F0.SECONDARY]).concat(Qv.map(function(e){return"".concat(e,"x")})).concat(dP.map(function(e){return"w-".concat(e)})),nr=i0.FontAwesomeConfig||{};function pP(e){var t=I2.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function vP(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(I2&&typeof I2.querySelector=="function"){var gP=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];gP.forEach(function(e){var t=Ao(e,2),a=t[0],r=t[1],n=vP(pP(a));n!=null&&(nr[r]=n)})}var Jv={styleDefault:"solid",familyDefault:"classic",cssPrefix:Gv,replacementClass:Xv,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};nr.familyPrefix&&(nr.cssPrefix=nr.familyPrefix);var X6=P1(P1({},Jv),nr);X6.autoReplaceSvg||(X6.observeMutations=!1);var q1={};Object.keys(Jv).forEach(function(e){Object.defineProperty(q1,e,{enumerable:!0,set:function(a){X6[e]=a,cr.forEach(function(r){return r(q1)})},get:function(){return X6[e]}})});Object.defineProperty(q1,"familyPrefix",{enumerable:!0,set:function(t){X6.cssPrefix=t,cr.forEach(function(a){return a(q1)})},get:function(){return X6.cssPrefix}});i0.FontAwesomeConfig=q1;var cr=[];function yP(e){return cr.push(e),function(){cr.splice(cr.indexOf(e),1)}}var Et=$s,T4={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function xP(e){if(!(!e||!Vt)){var t=I2.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var a=I2.head.childNodes,r=null,n=a.length-1;n>-1;n--){var c=a[n],i=(c.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=c)}return I2.head.insertBefore(t,r),e}}var bP="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Pr(){for(var e=12,t="";e-- >0;)t+=bP[Math.random()*62|0];return t}function ma(e){for(var t=[],a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function Oo(e){return e.classList?ma(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function eg(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function CP(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,'="').concat(eg(e[a]),'" ')},"").trim()}function v5(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,": ").concat(e[a].trim(),";")},"")}function Po(e){return e.size!==T4.size||e.x!==T4.x||e.y!==T4.y||e.rotate!==T4.rotate||e.flipX||e.flipY}function MP(e){var t=e.transform,a=e.containerWidth,r=e.iconWidth,n={transform:"translate(".concat(a/2," 256)")},c="translate(".concat(t.x*32,", ").concat(t.y*32,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(c," ").concat(i," ").concat(s)},f={transform:"translate(".concat(r/2*-1," -256)")};return{outer:n,inner:l,path:f}}function zP(e){var t=e.transform,a=e.width,r=a===void 0?$s:a,n=e.height,c=n===void 0?$s:n,i=e.startCentered,s=i===void 0?!1:i,l="";return s&&Yv?l+="translate(".concat(t.x/Et-r/2,"em, ").concat(t.y/Et-c/2,"em) "):s?l+="translate(calc(-50% + ".concat(t.x/Et,"em), calc(-50% + ").concat(t.y/Et,"em)) "):l+="translate(".concat(t.x/Et,"em, ").concat(t.y/Et,"em) "),l+="scale(".concat(t.size/Et*(t.flipX?-1:1),", ").concat(t.size/Et*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var wP=`:root, :host {
19
19
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
package/dist/main.es.js CHANGED
@@ -1328,7 +1328,7 @@ function sE() {
1328
1328
  return e[a].accessToken;
1329
1329
  }
1330
1330
  async function oE(e, t, a) {
1331
- const r = xe.getConfig(), n = r.stores.useAuthStore(), i = `authentication/login/${e}`, c = { basicAuth: t, isLoadingRef: a == null ? void 0 : a.isLoadingRef }, s = await r.api.postOne(i, void 0, c);
1331
+ const r = xe.getConfig(), n = r.stores.useAuthStore(), i = `auth/login/${e}`, c = { basicAuth: t, isLoadingRef: a == null ? void 0 : a.isLoadingRef }, s = await r.api.postOne(i, void 0, c);
1332
1332
  n.setAuthUser(e, s.data);
1333
1333
  const o = { name: (a == null ? void 0 : a.redirectToName) || r.defaultRoutes[e].auth };
1334
1334
  r.router.push(o);
@@ -1336,7 +1336,7 @@ async function oE(e, t, a) {
1336
1336
  async function lE() {
1337
1337
  const e = xe.getConfig(), t = e.stores.useAuthStore(), a = j4().currentRouteType;
1338
1338
  try {
1339
- const r = `authentication/validateAccessToken/${a}`, n = await e.api.getOne(r, void 0, void 0, { preventDisplayError: !0 });
1339
+ const r = `auth/validateAccessToken/${a}`, n = await e.api.getOne(r, void 0, void 0, { preventDisplayError: !0 });
1340
1340
  t.setAuthUser(a, n.data);
1341
1341
  } catch {
1342
1342
  t.setAuthUser(a);
@@ -4780,8 +4780,10 @@ function Mg(e, t) {
4780
4780
  return e.filter((a) => sl(t, a.name).length);
4781
4781
  }
4782
4782
  function KP(e) {
4783
- const t = window.location.host, r = Object.entries(e).find(([n, i]) => i.some((c) => t.endsWith(c)));
4784
- return r == null ? void 0 : r[0];
4783
+ const t = window.location.host, r = Object.entries(e).find(([i, c]) => c.some((s) => t.endsWith(s))), n = r == null ? void 0 : r[0];
4784
+ if (!n)
4785
+ throw Error("No environment found");
4786
+ return n;
4785
4787
  }
4786
4788
  function EG1(e) {
4787
4789
  const t = window.location.host, a = KP(e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "3.0.124",
4
+ "version": "3.0.126",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",