1import{$ as En,$d as Ds,Ab as is,Ad as Ts,Bd as xt,C as z,Cd as Is,D as gr,Db as ss,Dc as fs,Dd as ut,E as ie,Ea as yn,Eb as vr,Ed as Cs,F as Dt,Fa as ji,Fb as os,Fc as ps,G as Pi,Ga as Mt,Gb as ct,Gc as gs,H as mn,Hb as Ut,Ia as Sn,Ja as bt,Ka as Ge,La as fe,Lb as An,Ma as _n,Mb as as,N as Ee,Nb as Er,Oa as Hi,Ob as Rr,Pa as Tn,Pb as wn,Qb as cs,R as je,Rb as Dn,Sb as us,T as Ce,Ta as Gi,Tb as Nn,Ua as In,Ud as Os,V as vn,Va as zi,Vd as _r,W as it,Wa as ze,Wb as ls,Wd as As,Xd as ws,Ya as Cn,Yd as Mn,Z as He,Za as Vi,Zd as Tr,_ as Ne,_a as Yi,a as M,aa as Ui,ab as qi,b as ne,bb as Lt,ca as xi,cb as ot,db as at,e as fr,eb as Wi,fa as ki,fb as Xi,g as pr,ga as ae,gb as Ki,ha as Fi,hb as Qi,i as Ni,ib as Zi,ic as ds,id as ms,ja as ee,jb as Ji,k as Mi,ka as G,kb as es,kd as vs,l as At,la as Oe,lb as Ve,m as pn,md as yr,n as gn,na as F,nd as Es,o as ge,oa as st,od as Rs,p as de,pa as Bi,pb as ts,pd as Sr,qa as q,ra as Rn,sa as k,t as Ie,ta as b,tb as Pt,ua as mr,v as J,va as $i,vd as ys,w as U,wa as Me,wb as rs,wc as hs,wd as Q,x as wt,xa as he,xb as On,xd as Ye,y as bi,yb as me,yd as Ss,z as Li,za as Nt,zb as ns,zd as _s}from"./chunk-RMST3ZZZ.js";var eo=fr((Yt,zn)=>{(function(r,e){if(typeof Yt=="object"&&typeof zn=="object")zn.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var n=e();for(var i in n)(typeof Yt=="object"?Yt:r)[i]=n[i];}})(Yt,function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports;}return e.m=t,e.c=r,e.d=function(n,i,s){e.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:s});},e.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0});},e.t=function(n,i){if(i&1&&(n=e(n)),i&8||i&4&&typeof n=="object"&&n&&n.__esModule)return n;var s=Object.create(null);if(e.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:n}),i&2&&typeof n!="string")for(var o in n)e.d(s,o,function(a){return n[a];}.bind(null,o));return s;},e.n=function(n){var i=n&&n.__esModule?function(){return n.default;}:function(){return n;};return e.d(i,"a",i),i;},e.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i);},e.p="",e(e.s=8);}([function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=n;function n(i,s){if(i==null)return{};var o={};
1return Object.keys(i).forEach(function(a){o[a]=s(i[a]);}),o;}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setActive=u,r.default=p;var n=e(0),i=a(n),s=e(2),o=a(s);function a(v){return v&&v.__esModule?v:{default:v};}var c=!0;function u(v){c=v;}var l=0;function p(v){var h=v.addRequest,y=v.addResponse,R=v.shouldCloneResponse,_=R===void 0?!1:R,g=XMLHttpRequest,m=new WeakMap(),d=!1,f="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(C,A){var T=new g(C,A);if(!c)return T;m.set(T,{xhrId:++l,headers:{}}),(0,o.default)(T,"open",function(N,I){if(!d){var S=m.get(T);S.method=N,S.url=I;}}),(0,o.default)(T,"send",function(N){if(!d){var I=m.get(T);if(I){var S={url:I.url,method:I.method&&I.method.toUpperCase(),headers:(0,i.default)(I.headers||{},function(O){return O.join(", ");}),body:N};h(""+f+I.xhrId,S);}}}),(0,o.default)(T,"setRequestHeader",function(N,I){if(!d){var S=m.get(T);S&&(S.headers=S.headers||{},S.headers[N]=S.headers[N]||[],S.headers[N].push(I));}});var $={readystatechange:function(){if(!d&&T.readyState===4){var I=m.get(T);if(!I)return;var S=T.getAllResponseHeaders(),O=S.split(/[\r\n]+/).reduce(function(P,x){var j=P,H=x.split(": ");if(H.length>0){var Y=H.shift(),K=H.join(": ");P[Y]?j[Y]+=", "+K:j[Y]=K;}return j;},{}),D=void 0;try{switch(T.responseType){case"json":D=_?JSON.parse(JSON.stringify(T.response)):T.response;break;case"arraybuffer":case"blob":{D=T.response;break;}case"document":{D=T.responseXML;break;}case"text":case"":{D=T.responseText;break;}default:D="";}}catch{D="LogRocket: Error accessing response.";}var w={url:I.url,status:T.status,headers:O,body:D,method:(I.method||"").toUpperCase()};y(""+f+I.xhrId,w);}}};return Object.keys($).forEach(function(N){T.addEventListener(N,$[N]);}),T;},XMLHttpRequest.prototype=g.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach(function(E){XMLHttpRequest[E]=g[E];}),function(){d=!0,XMLHttpRequest=g;};}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=n;function n(i,s,o){var a=i[s];function c(){for(var u=void 0,l=arguments.length,p=Array(l),v=0;v<l;v++)p[v]=arguments[v];return a&&(u=a.apply(this,p)),o.apply(this,p),u;}return i[s]=c,function(){i[s]=a;};}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Capture=r.registerExceptions=void 0;var n=e(16),i=c(n),s=e(6),o=a(s);function a(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&&(l[p]=u[p]);return l.default=u,l;}function c(u){return u&&u.__esModule?u:{default:u};}r.registerExceptions=i.default,r.Capture=o;},function(t,r){var e;e=function(){return this;}();try{e=e||Function("return this")()||(0,eval)("this");}catch{typeof window=="object"&&(e=window);}t.exports=e;},function(t,r,e){"use strict";(function(n){var i={collectWindowErrors:!0,debug:!1},s=typeof window<"u"?window:typeof n<"u"?n:typeof self<"u"?self:{},o=[].slice,a="?",c=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function u(){return typeof document>"u"||typeof document.location>"u"?"":document.location.href;}i.report=function(){var p=[],v=null,h=null,y=null;function R(N){C(),p.push(N);}function _(N){for(var I=p.length-1;I>=0;--I)p[I]===N&&p.splice(I,1);}function g(){A(),p=[];}function m(N,I){var S=null;if(!(I&&!i.collectWindowErrors)){for(var O in p)if(p.hasOwnProperty(O))try{p[O].apply(null,[N].concat(o.call(arguments,2)));}catch(D){S=D;}if(S)throw S;}}var d,f;function E(N,I,S,O,D){var w=null;if(y)i.computeStackTrace.augmentStackTraceWithInitialElement(y,I,S,N),T();else if(D)w=i.computeStackTrace(D),m(w,!0);else{var P={url:I,line:S,column:O},x=void 0,j=N,H;if({}.toString.call(N)==="[object String]"){var H=N.match(c);H&&(x=H[1],j=H[2]);}P.func=a,w={name:x,message:j,url:u(),stack:[P]},m(w,!0);}return d?d.apply(this,arguments):!1;}function C(){f||(d=s.onerror,s.onerror=E,f=!0);}function A(){f&&(s.onerror=d,f=!1,d=void 0);}function T(){var N=y,I=v;
1v=null,y=null,h=null,m.apply(null,[N,!1].concat(I));}function $(N,I){var S=o.call(arguments,1);if(y){if(h===N)return;T();}var O=i.computeStackTrace(N);if(y=O,h=N,v=S,setTimeout(function(){h===N&&T();},O.incomplete?2e3:0),I!==!1)throw N;}return $.subscribe=R,$.unsubscribe=_,$.uninstall=g,$;}(),i.computeStackTrace=function(){function p(g){return g.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&");}function v(g){return p(g).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+");}function h(g){if(!(typeof g.stack>"u"||!g.stack)){for(var m=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,d=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,f=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,E=g.stack.split(` 2`),C=[],A,T,$=/^(.*) is undefined$/.exec(g.message),N=0,I=E.length;N<I;++N){if(A=m.exec(E[N])){var S=A[2]&&A[2].indexOf("native")!==-1;T={url:S?null:A[2],func:A[1]||a,args:S?[A[2]]:[],line:A[3]?+A[3]:null,column:A[4]?+A[4]:null};}else if(A=f.exec(E[N]))T={url:A[2],func:A[1]||a,args:[],line:+A[3],column:A[4]?+A[4]:null};else if(A=d.exec(E[N]))T={url:A[3],func:A[1]||a,args:A[2]?A[2].split(","):[],line:A[4]?+A[4]:null,column:A[5]?+A[5]:null};else continue;!T.func&&T.line&&(T.func=a),C.push(T);}return C.length?(!C[0].column&&typeof g.columnNumber<"u"&&(C[0].column=g.columnNumber+1),{name:g.name,message:g.message,url:u(),stack:C}):null;}}function y(g,m,d,f){var E={url:m,line:d};if(E.url&&E.line){if(g.incomplete=!1,E.func||(E.func=a),g.stack.length>0&&g.stack[0].url===E.url){if(g.stack[0].line===E.line)return!1;if(!g.stack[0].line&&g.stack[0].func===E.func)return g.stack[0].line=E.line,!1;}return g.stack.unshift(E),g.partial=!0,!0;}else g.incomplete=!0;return!1;}function R(g,m){for(var d=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],E={},C=!1,A,T,$,N=R.caller;N&&!C;N=N.caller)if(!(N===_||N===i.report)){if(T={url:null,func:a,line:null,column:null},N.name?T.func=N.name:(A=d.exec(N.toString()))&&(T.func=A[1]),typeof T.func>"u")try{T.func=A.input.substring(0,A.input.indexOf("{"));}catch{}E[""+N]?C=!0:E[""+N]=!0,f.push(T);}m&&f.splice(0,m);var I={name:g.name,message:g.message,url:u(),stack:f};return y(I,g.sourceURL||g.fileName,g.line||g.lineNumber,g.message||g.description),I;}function _(g,m){var d=null;m=m==null?0:+m;try{if(d=h(g),d)return d;}catch(f){if(i.debug)throw f;}try{if(d=R(g,m+1),d)return d;}catch(f){if(i.debug)throw f;}return{name:g.name,message:g.message,url:u()};}return _.augmentStackTraceWithInitialElement=y,_.computeStackTraceFromStackProp=h,_;}(),t.exports=i;}).call(this,e(4));},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h;}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h;};r.captureMessage=p,r.captureException=v;var i=e(5),s=c(i),o=e(18),a=c(o);function c(h){return h&&h.__esModule?h:{default:h};}function u(h){return /boolean|number|string/.test(typeof h>"u"?"undefined":n(h));}function l(h,y){if(y){var R=["level","logger"],_=!0,g=!1,m=void 0;try{for(var d=R[Symbol.iterator](),f;!(_=(f=d.next()).done);_=!0){var E=f.value,C=y[E];u(C)&&(h[E]=C.toString());}}catch(te){g=!0,m=te;}finally{try{!_&&d.return&&d.return();}finally{if(g)throw m;}}var A=["tags","extra"],T=!0,$=!1,N=void 0;try{for(var I=A[Symbol.iterator](),S;!(T=(S=I.next()).done);T=!0){var O=S.value,D=y[O]||{},w={},P=!0,x=!1,j=void 0;try{for(var H=Object.keys(D)[Symbol.iterator](),Y;!(P=(Y=H.next()).done);P=!0){var K=Y.value,pe=D[K];u(pe)&&(w[K.toString()]=pe.toString());}}catch(te){x=!0,j=te;}finally{try{!P&&H.return&&H.return();}finally{if(x)throw j;}}h[O]=w;}}catch(te){$=!0,N=te;}finally{try{!T&&I.return&&I.return();}finally{if($)throw N;}}}}function p(h,y){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,g={exceptionType:_?"CONSOLE":"MESSAGE",message:y,browserHref:window.location.href};l(g,R),h.addEvent("lr.core.Exception",function(){return g;});}function v(h,y){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,g=_||s.default.computeStackTrace(y),m={exceptionType:"WINDOW",errorType:g.name,message:g.message,browserHref:window.location.href};l(m,R);var d={_stackTrace:(0,a.default)(g)};h.addEvent("lr.core.Exception",function(){return m;},d);}}
2,function(t,r){Object.defineProperty(r,"__esModule",{value:!0});var e=Date.now.bind(Date),n=e();r.default=typeof performance<"u"&&performance.now?performance.now.bind(performance):function(){return e()-n;},t.exports=r.default;},function(t,r,e){t.exports=e(9);},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e(10),i=s(n);function s(a){return a&&a.__esModule?a:{default:a};}var o=(0,i.default)();r.default=o,t.exports=r.default;},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;var n=e(11),i=s(n);function s(u){return u&&u.__esModule?u:{default:u};}function o(u,l){var p={};for(var v in u)l.indexOf(v)>=0||Object.prototype.hasOwnProperty.call(u,v)&&(p[v]=u[v]);return p;}var a={"cdn.logrocket.io":"https://r.logrocket.io","cdn.lr-ingest.io":"https://r.lr-ingest.io","cdn-staging.logrocket.io":"https://staging-i.logrocket.io","cdn-staging.lr-ingest.io":"https://staging-i.lr-ingest.io"};function c(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=u.enterpriseServer,p=u.sdkVersion,v=p===void 0?"1.0.5":p,h=o(u,["enterpriseServer","sdkVersion"]),y="https://cdn.logrocket.io",R=void 0;if(v==="script")try{var _=document.currentScript,g=_.src.match(/^(https?:\/\/([^\\]+))\/.+$/),m=g&&g[2];m&&a[m]&&(y=g&&g[1],R=a[m]);}catch{}else y="https://cdn.lr-ingest.io",R="https://r.lr-ingest.io";var d=h.sdkServer||l,f=h.ingestServer||l||R,E=(0,i.default)(function(){var C=document.createElement("script");f&&(typeof window.__SDKCONFIG__>"u"&&(window.__SDKCONFIG__={}),window.__SDKCONFIG__.serverURL=f+"/i",window.__SDKCONFIG__.statsURL=f+"/s"),d?C.src=d+"/logger.min.js":window.__SDKCONFIG__&&window.__SDKCONFIG__.loggerURL?C.src=window.__SDKCONFIG__.loggerURL:window._lrAsyncScript?C.src=window._lrAsyncScript:C.src=y+"/logger.min.js",C.async=!0,document.head.appendChild(C),C.onload=function(){typeof window._LRLogger=="function"?E.onLogger(new window._LRLogger({sdkVersion:v})):(console.warn("LogRocket: script execution has been blocked by a product or service."),E.uninstall());},C.onerror=function(){console.warn("LogRocket: script could not load. Check that you have a valid network connection."),E.uninstall();};});return E;}t.exports=r.default;},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=c;var n=e(12),i=s(n);function s(u){return u&&u.__esModule?u:{default:u};}var o="LogRocket does not yet support React Native.",a=function(){return{init:function(){},uninstall:function(){},log:function(){},info:function(){},warn:function(){},error:function(){},debug:function(){},addEvent:function(){},identify:function(){},start:function(){},get threadID(){return null;},get recordingID(){return null;},get recordingURL(){return null;},reduxEnhancer:function(){return function(p){return function(){return p.apply(void 0,arguments);};};},reduxMiddleware:function(){return function(){return function(p){return function(v){return p(v);};};};},track:function(){},getSessionURL:function(){},getVersion:function(){},startNewSession:function(){},onLogger:function(){},setClock:function(){},captureMessage:function(){},captureException:function(){}};};function c(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};if(typeof navigator<"u"&&navigator.product==="ReactNative")throw new Error(o);if(typeof window<"u"){if(window._disableLogRocket)return a();if(window.MutationObserver&&window.WeakMap){window._lrMutationObserver=window.MutationObserver;var l=new i.default();return u(l),l;}}return a();}t.exports=r.default;},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MAX_QUEUE_SIZE=void 0;var n=function(){function g(m,d){for(var f=0;f<d.length;f++){var E=d[f];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(m,E.key,E);}}return function(m,d,f){return d&&g(m.prototype,d),f&&g(m,f),m;};}(),i=Object.assign||function(g){for(var m=1;m<arguments.length;m++){var d=arguments[m];for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(g[f]=d[f]);}return g;},s=e(13),o=p(s),a=e(3),c=e(19),u=p(c),l=e(21);function p(g){return g&&g.__esModule?g:{default:g};}function v(g,m){if(!(g instanceof m))throw new TypeError("Cannot call a class as a function");}function h(g,m){var d={};for(var f in g)m.indexOf(f)>=0||Object.prototype.hasOwnProperty.call(g,f)&&(d[f]=g[f]);return d;}var y=r.MAX_QUEUE_SIZE=1e3,R=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=m.ingestServer,f=h(m,["ingestServer"]);return d?i({serverURL:d+"/i",statsURL:d+"/s"},f):f;},_=function(){function g(){var m=this;v(this,g),this._buffer=[],["log","info","warn","error","debug"].forEach(function(d){m[d]=function(){for(var f=arguments.length,E=Array(f),C=0;C<f;C++)E[C]=arguments[C];m.addEvent("lr.core.LogEvent",function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return d==="error"&&A.shouldAggregateConsoleErrors&&a.Capture.captureMessage(m,E[0],{},!0),{logLevel:d.toUpperCase(),args:E};},{shouldCaptureStackTrace:!0});};}),this._isInitialized=!1,this._installed=[];}return n(g,[{key:"addEvent",value:function(d,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},C=Date.now();this._run(function(A){A.addEvent(d,f,i({},E,{timeOverride:C}));});}}
2,{key:"onLogger",value:function(d){for(this._logger=d;this._buffer.length>0;){var f=this._buffer.shift();f(this._logger);}}},{key:"_run",value:function(d){if(!this._isDisabled)if(this._logger)d(this._logger);else{if(this._buffer.length>=y){this._isDisabled=!0,console.warn("LogRocket: script did not load. Check that you have a valid network connection."),this.uninstall();return;}this._buffer.push(d.bind(this));}}},{key:"init",value:function(d,f){this._isInitialized||(this._installed.push((0,a.registerExceptions)(this)),this._installed.push((0,o.default)(this)),this._installed.push((0,u.default)(this)),this._isInitialized=!0,this._run(function(E){E.init(d,R(f));}));}},{key:"start",value:function(){this._run(function(d){d.start();});}},{key:"uninstall",value:function(){this._installed.forEach(function(d){return d();}),this._buffer=[],this._run(function(d){d.uninstall();});}},{key:"identify",value:function(d,f){this._run(function(E){E.identify(d,f);});}},{key:"startNewSession",value:function(){this._run(function(d){d.startNewSession();});}},{key:"track",value:function(d){this._run(function(f){f.track(d);});}},{key:"getSessionURL",value:function(d){if(typeof d!="function")throw new Error("LogRocket: must pass callback to getSessionURL()");this._run(function(f){f.getSessionURL?f.getSessionURL(d):d(f.recordingURL);});}},{key:"getVersion",value:function(d){this._run(function(f){d(f.version);});}},{key:"captureMessage",value:function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.Capture.captureMessage(this,d,f);}},{key:"captureException",value:function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.Capture.captureException(this,d,f);}},{key:"reduxEnhancer",value:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,l.createEnhancer)(this,d);}},{key:"reduxMiddleware",value:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,l.createMiddleware)(this,d);}},{key:"version",get:function(){return this._logger&&this._logger.version;}},{key:"sessionURL",get:function(){return this._logger&&this._logger.recordingURL;}},{key:"recordingURL",get:function(){return this._logger&&this._logger.recordingURL;}},{key:"recordingID",get:function(){return this._logger&&this._logger.recordingID;}},{key:"threadID",get:function(){return this._logger&&this._logger.threadID;}},{key:"tabID",get:function(){return this._logger&&this._logger.tabID;}}]),g;}();r.default=_;},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v;}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v;};r.default=p;var i=e(14),s=l(i),o=e(1),a=l(o),c=e(0),u=l(c);function l(v){return v&&v.__esModule?v:{default:v};}function p(v){var h={},y=function(f){var E=4096e3,C=f;if((typeof f>"u"?"undefined":n(f))==="object"&&f!=null){var A=Object.getPrototypeOf(f);(A===Object.prototype||A===null)&&(C=JSON.stringify(f));}if(C&&C.length&&C.length>E&&typeof C=="string"){var T=C.substring(0,1e3);return T+` ... LogRocket truncating to first 1000 characters. 3 Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference#network`;}return f;},R=function(f,E){var C=E.method;v.addEvent("lr.network.RequestEvent",function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=A.isEnabled,$=T===void 0?!0:T,N=A.requestSanitizer,I=N===void 0?function(D){return D;}:N;if(!$)return null;var S=null;try{S=I(E);}catch(D){console.error(D);}if(S){var O=document.createElement("a");return O.href=S.url,{reqId:f,url:O.href,headers:(0,u.default)(S.headers,function(D){return""+D;}),body:y(S.body),method:C,referrer:S.referrer||void 0,mode:S.mode||void 0,credentials:S.credentials||void 0};}return h[f]=!0,null;});},_=function(f,E){var C=E.method,A=E.status;v.addEvent("lr.network.ResponseEvent",function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$=T.isEnabled,N=$===void 0?!0:$,I=T.responseSanitizer,S=I===void 0?function(D){return D;}:I;if(N){if(h[f])return delete h[f],null;}else return null;var O=null;try{O=S(E);}catch(D){console.error(D);}return O?{reqId:f,status:O.status,headers:(0,u.default)(O.headers,function(D){return""+D;}),body:y(O.body),method:C}:{reqId:f,status:A,headers:{},body:null,method:C};});},g=(0,s.default)({addRequest:R,addResponse:_}),m=(0,a.default)({addRequest:R,addResponse:_,shouldCloneResponse:v._shouldCloneResponse});return function(){g(),m();};}},function(t,r,e){"use strict";
3Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(h){for(var y=1;y<arguments.length;y++){var R=arguments[y];for(var _ in R)Object.prototype.hasOwnProperty.call(R,_)&&(h[_]=R[_]);}return h;};r.default=v;var i=e(0),s=c(i),o=e(15),a=c(o);function c(h){return h&&h.__esModule?h:{default:h};}function u(h){if(h==null||typeof h.forEach!="function")return h;var y={};return h.forEach(function(R,_){y[_]?y[_]=y[_]+","+R:y[_]=""+R;}),y;}var l=function(y){return(0,s.default)(u(y),function(R){return""+R;});};function p(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{url:h.url,headers:l(h.headers),method:h.method&&h.method.toUpperCase(),referrer:h.referrer||void 0,mode:h.mode||void 0,credentials:h.credentials||void 0};}function v(h){var y=h.addRequest,R=h.addResponse,_="fetch-",g={},m=a.default.register({request:function(f){for(var E=arguments.length,C=Array(E>1?E-1:0),A=1;A<E;A++)C[A-1]=arguments[A];var T=void 0;if(typeof Request<"u"&&C[0]instanceof Request){var $=void 0;try{$=C[0].clone().text();}catch(N){$=Promise.resolve("LogRocket fetch error: "+N.message);}T=$.then(function(N){return n({},p(C[0]),{body:N});},function(N){return n({},p(C[0]),{body:"LogRocket fetch error: "+N.message});});}else T=Promise.resolve(n({},p(C[1]),{url:""+C[0],body:(C[1]||{}).body}));return T.then(function(N){return g[f]=N.method,y(""+_+f,N),C;});},requestError:function(f,E){return Promise.reject(E);},response:function(f,E){var C=void 0;try{C=E.clone().text();}catch(A){C=Promise.resolve("LogRocket fetch error: "+A.message);}return C.then(function(A){var T={url:E.url,status:E.status,headers:l(E.headers),body:A,method:g[f]};return delete g[f],R(""+_+f,T),E;});},responseError:function(f,E){var C={url:void 0,status:0,headers:{},body:""+E};return R(""+_+f,C),Promise.reject(E);}});return m;}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e(1);function i(u){if(Array.isArray(u)){for(var l=0,p=Array(u.length);l<u.length;l++)p[l]=u[l];return p;}else return Array.from(u);}var s=[];function o(u,l){for(var p=arguments.length,v=Array(p>2?p-2:0),h=2;h<p;h++)v[h-2]=arguments[h];var y=s.reduce(function(_,g){return[g].concat(_);},[]),R=Promise.resolve(v);return y.forEach(function(_){var g=_.request,m=_.requestError;(g||m)&&(R=R.then(function(d){return g.apply(void 0,[l].concat(i(d)));},function(d){return m.apply(void 0,[l].concat(i(d)));}));}),R=R.then(function(_){(0,n.setActive)(!1);var g=void 0,m=void 0;try{g=u.apply(void 0,i(_));}catch(d){m=d;}if((0,n.setActive)(!0),m)throw m;return g;}),y.forEach(function(_){var g=_.response,m=_.responseError;(g||m)&&(R=R.then(function(d){return g(l,d);},function(d){return m&&m(l,d);}));}),R;}function a(u){if(!(!u.fetch||!u.Promise)){var l=u.fetch.polyfill;u.fetch=function(p){var v=0;return function(){for(var h=arguments.length,y=Array(h),R=0;R<h;R++)y[R]=arguments[R];return o.apply(void 0,[p,v++].concat(y));};}(u.fetch),l&&(u.fetch.polyfill=l);}}var c=!1;r.default={register:function(l){return c||(c=!0,a(window)),s.push(l),function(){var p=s.indexOf(l);p>=0&&s.splice(p,1);};},clear:function(){s=[];}};},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var n=e(17),i=c(n),s=e(6),o=a(s);function a(l){if(l&&l.__esModule)return l;var p={};if(l!=null)for(var v in l)Object.prototype.hasOwnProperty.call(l,v)&&(p[v]=l[v]);return p.default=l,p;}function c(l){return l&&l.__esModule?l:{default:l};}function u(l){var p=new i.default({captureException:function(y){o.captureException(l,null,null,y);}}),v=function(y){l.addEvent("lr.core.Exception",function(){return{exceptionType:"UNHANDLED_REJECTION",message:y.reason||"Unhandled Promise rejection"};});};return window.addEventListener("unhandledrejection",v),function(){window.removeEventListener("unhandledrejection",v),p.uninstall();};}},function(t,r,e){"use strict";(function(n){Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function m(d,f){for(var E=0;E<f.length;E++){var C=f[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(d,C.key,
3C);}}return function(d,f,E){return f&&m(d.prototype,f),E&&m(d,E),d;};}(),s=e(5),o=a(s);function a(m){return m&&m.__esModule?m:{default:m};}function c(m,d){if(!(m instanceof d))throw new TypeError("Cannot call a class as a function");}var u=Object.prototype;function l(m){return m===void 0;}function p(m){return typeof m=="function";}function v(m,d){var f,E;if(l(m.length))for(f in m)h(m,f)&&d.call(null,f,m[f]);else if(E=m.length,E)for(f=0;f<E;f++)d.call(null,f,m[f]);}function h(m,d){return u.hasOwnProperty.call(m,d);}function y(m,d,f,E){var C=m[d];m[d]=f(C),E&&E.push([m,d,C]);}var R=typeof window<"u"?window:typeof n<"u"?n:typeof self<"u"?self:{},_=R.document,g=function(){function m(d){var f=d.captureException;c(this,m),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=f,o.default.report.subscribe(this._errorHandler),this._instrumentTryCatch();}return i(m,[{key:"uninstall",value:function(){o.default.report.unsubscribe(this._errorHandler);for(var f;this._wrappedBuiltIns.length;){f=this._wrappedBuiltIns.shift();var E=f[0],C=f[1],A=f[2];E[C]=A;}}},{key:"_errorHandler",value:function(f){this._ignoreOnError||this.captureException(f);}},{key:"_ignoreNextOnError",value:function(){var f=this;this._ignoreOnError+=1,setTimeout(function(){f._ignoreOnError-=1;});}},{key:"context",value:function(f,E,C){return p(f)&&(C=E||[],E=f,f=void 0),this.wrap(f,E).apply(this,C);}},{key:"wrap",value:function(f,E,C){var A=this;if(l(E)&&!p(f))return f;if(p(f)&&(E=f,f=void 0),!p(E))return E;try{if(E.__lr__)return E;if(E.__lr_wrapper__)return E.__lr_wrapper__;}catch{return E;}function T(){var N=[],I=arguments.length,S=!f||f&&f.deep!==!1;for(C&&p(C)&&C.apply(this,arguments);I--;)N[I]=S?A.wrap(f,arguments[I]):arguments[I];try{return E.apply(this,N);}catch(O){throw A._ignoreNextOnError(),A.captureException(o.default.computeStackTrace(O),f),O;}}for(var $ in E)h(E,$)&&(T[$]=E[$]);return T.prototype=E.prototype,E.__lr_wrapper__=T,T.__lr__=!0,T.__inner__=E,T;}},{key:"_instrumentTryCatch",value:function(){var f=this,E=f._wrappedBuiltIns;function C(I){return function(S,O){for(var D=new Array(arguments.length),w=0;w<D.length;++w)D[w]=arguments[w];var P=D[0];return p(P)&&(D[0]=f.wrap(P)),I.apply?I.apply(this,D):I(D[0],D[1]);};}function A(I){var S=R[I]&&R[I].prototype;S&&S.hasOwnProperty&&S.hasOwnProperty("addEventListener")&&(y(S,"addEventListener",function(O){return function(D,w,P,x){try{w&&w.handleEvent&&(w.handleEvent=f.wrap(w.handleEvent));}catch{}var j;return O.call(this,D,f.wrap(w,void 0,j),P,x);};},E),y(S,"removeEventListener",function(O){return function(D,w,P,x){try{w=w&&(w.__lr_wrapper__?w.__lr_wrapper__:w);}catch{}return O.call(this,D,w,P,x);};},E));}y(R,"setTimeout",C,E),y(R,"setInterval",C,E),R.requestAnimationFrame&&y(R,"requestAnimationFrame",function(I){return function(S){return I(f.wrap(S));};},E);for(var T=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],$=0;$<T.length;$++)A(T[$]);var N=R.jQuery||R.$;N&&N.fn&&N.fn.ready&&y(N.fn,"ready",function(I){return function(S){return I.call(this,f.wrap(S));};},E);}}]),m;}();r.default=g;}).call(this,e(4));},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=n;function n(i){function s(o){return o===null?void 0:o;}return i.stack?i.stack.map(function(o){return{lineNumber:s(o.line),columnNumber:s(o.column),fileName:s(o.url),functionName:s(o.func)};}):void 0;}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e(20),i=s(n);function s(o){return o&&o.__esModule?o:{default:o};}r.default=i.default;},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u;}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u;};r.default=c;var i=e(2),s=a(i),o=e(3);
3function a(u){return u&&u.__esModule?u:{default:u};}function c(u){var l=[],p=["log","warn","info","error","debug"];return p.forEach(function(v){l.push((0,s.default)(console,v,function(){for(var h=arguments.length,y=Array(h),R=0;R<h;R++)y[R]=arguments[R];u.addEvent("lr.core.LogEvent",function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=_.isEnabled;return(typeof g>"u"?"undefined":n(g))==="object"&&g[v]===!1||g===!1?null:(v==="error"&&_.shouldAggregateConsoleErrors&&o.Capture.captureMessage(u,y[0],{},!0),{logLevel:v.toUpperCase(),args:y});});}));}),function(){l.forEach(function(v){return v();});};}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createEnhancer=r.createMiddleware=void 0;var n=e(22),i=a(n),s=e(23),o=a(s);function a(c){return c&&c.__esModule?c:{default:c};}r.createMiddleware=o.default,r.createEnhancer=i.default;},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(u){for(var l=1;l<arguments.length;l++){var p=arguments[l];for(var v in p)Object.prototype.hasOwnProperty.call(p,v)&&(u[v]=p[v]);}return u;};r.default=c;var i=e(7),s=o(i);function o(u){return u&&u.__esModule?u:{default:u};}var a=0;function c(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=l.stateSanitizer,v=p===void 0?function(R){return R;}:p,h=l.actionSanitizer,y=h===void 0?function(R){return R;}:h;return function(R){return function(_,g,m){var d=R(_,g,m),f=d.dispatch,E=a++;u.addEvent("lr.redux.InitialState",function(){var A=void 0;try{A=v(d.getState());}catch(T){console.error(T.toString());}return{state:A,storeId:E};});var C=function(T){var $=(0,s.default)(),N=void 0,I=void 0;try{I=f(T);}catch(O){N=O;}finally{var S=(0,s.default)()-$;u.addEvent("lr.redux.ReduxAction",function(){var O=null,D=null;try{O=v(d.getState()),D=y(T);}catch(w){console.error(w.toString());}return O&&D?{storeId:E,action:D,duration:S,stateDelta:O}:null;});}if(N)throw N;return I;};return n({},d,{dispatch:C});};};}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=a;var n=e(7),i=s(n);function s(c){return c&&c.__esModule?c:{default:c};}var o=0;function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=u.stateSanitizer,p=l===void 0?function(y){return y;}:l,v=u.actionSanitizer,h=v===void 0?function(y){return y;}:v;return function(y){var R=o++;return c.addEvent("lr.redux.InitialState",function(){var _=void 0;try{_=p(y.getState());}catch(g){console.error(g.toString());}return{state:_,storeId:R};}),function(_){return function(g){var m=(0,i.default)(),d=void 0,f=void 0;try{f=_(g);}catch(C){d=C;}finally{var E=(0,i.default)()-m;c.addEvent("lr.redux.ReduxAction",function(){var C=null,A=null;try{C=p(y.getState()),A=h(g);}catch(T){console.error(T.toString());}return C&&A?{storeId:R,action:A,duration:E,stateDelta:C}:null;});}if(d)throw d;return f;};};};}}]);});});var ro=fr((Vn,Yn)=>{(function(t,r){typeof Vn=="object"&&typeof Yn<"u"?Yn.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=r();})(Vn,function(){"use strict";var t=1e3,r=6e4,e=36e5,n="millisecond",i="second",s="minute",o="hour",a="day",c="week",u="month",l="quarter",p="year",v="date",h="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(I,S,O){var D=String(I);return!D||D.length>=S?I:""+Array(S+1-D.length).join(O)+I;},m={s:g,z:function(I){var S=-I.utcOffset(),O=Math.abs(S),D=Math.floor(O/60),w=O%60;return(S<=0?"+":"-")+g(D,2,"0")+":"+g(w,2,"0");},m:function I(S,O){if(S.date()<O.date())return-I(O,S);var D=12*(O.year()-S.year())+(O.month()-S.month()),w=S.clone().add(D,u),P=O-w<0,x=S.clone().add(D+(P?-1:1),u);return+(-(D+(O-w)/(P?w-x:x-w))||0);},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I);},p:function(I){return{M:u,y:p,w:c,d:a,D:v,h:o,m:s,s:i,ms:n,Q:l}[I]||String(I||"").toLowerCase().replace(/s$/,"");},u:function(I){return I===void 0;}},d="en",f={};f[d]=_;var E=function(I){return I instanceof $;},C=function(I,S,O){var D;if(!I)return d;
vendor: 6,705 bytes, line 3
3if(typeof I=="string")f[I]&&(D=I),S&&(f[I]=S,D=I);else{var w=I.name;f[w]=I,D=w;}return!O&&D&&(d=D),D||!O&&d;},A=function(I,S){if(E(I))return I.clone();var O=typeof S=="object"?S:{};return O.date=I,O.args=arguments,new $(O);},T=m;T.l=C,T.i=E,T.w=function(I,S){return A(I,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset});};var $=function(){function I(O){this.$L=C(O.locale,null,!0),this.parse(O);}var S=I.prototype;return S.parse=function(O){this.$d=function(D){var w=D.date,P=D.utc;if(w===null)return new Date(NaN);if(T.u(w))return new Date();if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var x=w.match(y);if(x){var j=x[2]-1||0,H=(x[7]||"0").substring(0,3);return P?new Date(Date.UTC(x[1],j,x[3]||1,x[4]||0,x[5]||0,x[6]||0,H)):new Date(x[1],j,x[3]||1,x[4]||0,x[5]||0,x[6]||0,H);}}return new Date(w);}(O),this.$x=O.x||{},this.init();},S.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds();},S.$utils=function(){return T;},S.isValid=function(){return this.$d.toString()!==h;},S.isSame=function(O,D){var w=A(O);return this.startOf(D)<=w&&w<=this.endOf(D);},S.isAfter=function(O,D){return A(O)<this.startOf(D);},S.isBefore=function(O,D){return this.endOf(D)<A(O);},S.$g=function(O,D,w){return T.u(O)?this[D]:this.set(w,O);},S.unix=function(){return Math.floor(this.valueOf()/1e3);},S.valueOf=function(){return this.$d.getTime();},S.startOf=function(O,D){var w=this,P=!!T.u(D)||D,x=T.p(O),j=function(nt,re){var De=T.w(w.$u?Date.UTC(w.$y,re,nt):new Date(w.$y,re,nt),w);return P?De:De.endOf(a);},H=function(nt,re){return T.w(w.toDate()[nt].apply(w.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(re)),w);},Y=this.$W,K=this.$M,pe=this.$D,te="set"+(this.$u?"UTC":"");switch(x){case p:return P?j(1,0):j(31,11);case u:return P?j(1,K):j(0,K+1);case c:var Ct=this.$locale().weekStart||0,Ot=(Y<Ct?Y+7:Y)-Ct;return j(P?pe-Ot:pe+(6-Ot),K);case a:case v:return H(te+"Hours",0);case o:return H(te+"Minutes",1);case s:return H(te+"Seconds",2);case i:return H(te+"Milliseconds",3);default:return this.clone();}},S.endOf=function(O){return this.startOf(O,!1);},S.$set=function(O,D){var w,P=T.p(O),x="set"+(this.$u?"UTC":""),j=(w={},w[a]=x+"Date",w[v]=x+"Date",w[u]=x+"Month",w[p]=x+"FullYear",w[o]=x+"Hours",w[s]=x+"Minutes",w[i]=x+"Seconds",w[n]=x+"Milliseconds",w)[P],H=P===a?this.$D+(D-this.$W):D;if(P===u||P===p){var Y=this.clone().set(v,1);Y.$d[j](H),Y.init(),this.$d=Y.set(v,Math.min(this.$D,Y.daysInMonth())).$d;}else j&&this.$d[j](H);return this.init(),this;},S.set=function(O,D){return this.clone().$set(O,D);},S.get=function(O){return this[T.p(O)]();},S.add=function(O,D){var w,P=this;O=Number(O);var x=T.p(D),j=function(K){var pe=A(P);return T.w(pe.date(pe.date()+Math.round(K*O)),P);};if(x===u)return this.set(u,this.$M+O);if(x===p)return this.set(p,this.$y+O);if(x===a)return j(1);if(x===c)return j(7);var H=(w={},w[s]=r,w[o]=e,w[i]=t,w)[x]||1,Y=this.$d.getTime()+O*H;return T.w(Y,this);},S.subtract=function(O,D){return this.add(-1*O,D);},S.format=function(O){var D=this,w=this.$locale();if(!this.isValid())return w.invalidDate||h;var P=O||"YYYY-MM-DDTHH:mm:ssZ",x=T.z(this),j=this.$H,H=this.$m,Y=this.$M,K=w.weekdays,pe=w.months,te=function(re,De,fn,hr){return re&&(re[De]||re(D,P))||fn[De].substr(0,hr);},Ct=function(re){return T.s(j%12||12,re,"0");},Ot=w.meridiem||function(re,De,fn){var hr=re<12?"AM":"PM";return fn?hr.toLowerCase():hr;},nt={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Y+1,MM:T.s(Y+1,2,"0"),MMM:te(w.monthsShort,Y,pe,3),MMMM:te(pe,Y),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:te(w.weekdaysMin,this.$W,K,2),ddd:te(w.weekdaysShort,this.$W,K,3),dddd:K[this.$W],H:String(j),HH:T.s(j,2,"0"),h:Ct(1),hh:Ct(2),a:Ot(j,H,!0),A:Ot(j,H,!1),m:String(H),mm:T.s(H,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:x};return P.replace(R,function(re,De){return De||nt[re]||x.replace(":","");});},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15);},S.diff=function(O,D,w){var P,x=T.p(D),j=A(O),H=(j.utcOffset()-this.utcOffset())*r,Y=this-j,K=T.m(this,j);return K=(P={},P[p]=K/12,P[u]=K,P[l]=K/3,P[c]=(Y-H)/6048e5,P[a]=(Y-H)/864e5,P[o]=Y/e,P[s]=Y/r,P[i]=Y/t,P)[x]||Y,w?K:T.a(K);},S.daysInMonth=function(){return this.endOf(u).$D;},S.$locale=function(){return f[this.$L];},S.locale=function(O,D){if(!O)return this.$L;var w=this.clone(),P=C(O,D,!0);return P&&(w.$L=P),w;},S.clone=function(){return T.w(this.$d,this);},S.toDate=function(){return new Date(this.valueOf());},S.toJSON=function(){return this.isValid()?this.toISOString():null;},S.toISOString=function(){return this.$d.toISOString();},S.toString=function(){return this.$d.toUTCString();},I;}(),N=$.prototype;return A.prototype=N,[["$ms",n],["$s",i],["$m",s],["$H",o],["$W",a],["$M",u],["$y",p],["$D",v]].forEach(function(I){N[I[1]]=function(S){return this.$g(S,I[0],I[1]);};}),A.extend=function(I,S){return I.$i||(I(S,$,A),I.$i=!0),A;},A.locale=C,A.isDayjs=E,A.unix=function(I){return A(1e3*I);},A.en=f[d],A.Ls=f,A.p={},A;});});var no=fr((qn,Wn)=>{(function(t,r){typeof qn=="object"&&typeof Wn<"u"?Wn.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_utc=r();})(qn,function(){"use strict";var t="minute",r=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(n,i,s){var o=i.prototype;s.utc=function(h){var y={date:h,utc:!0,args:arguments};return new i(y);},o.utc=function(h){var y=s(this.toDate(),{locale:this.$L,utc:!0});return h?y.add(this.utcOffset(),t):y;},o.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1});};var a=o.parse;o.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),a.call(this,h);};var c=o.init;o.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds();}else c.call(this);};var u=o.utcOffset;o.utcOffset=function(h,y){var R=this.$utils().u;if(R(h))return this.$u?0:R(this.$offset)?u.call(this):this.$offset;if(typeof h=="string"&&(h=function(d){d===void 0&&(d="");var f=d.match(r);if(!f)return null;var E=(""+f[0]).match(e)||["-",0,0],C=E[0],A=60*+E[1]+ +E[2];return A===0?0:C==="+"?A:-A;}(h))===null)return this;var _=Math.abs(h)<=16?60*h:h,g=this;if(y)return g.$offset=_,g.$u=h===0,g;if(h!==0){var m=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(g=this.local().add(_+m,t)).$offset=_,g.$x.$localOffset=m;}else g=this.utc();return g;};var l=o.format;
3o.format=function(h){var y=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,y);},o.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||new Date().getTimezoneOffset());return this.$d.valueOf()-6e4*h;},o.isUTC=function(){return!!this.$u;},o.toISOString=function(){return this.toDate().toISOString();},o.toString=function(){return this.toDate().toUTCString();};var p=o.toDate;o.toDate=function(h){return h==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this);};var v=o.diff;o.diff=function(h,y,R){if(h&&this.$u===h.$u)return v.call(this,h,y,R);var _=this.local(),g=s(h).local();return v.call(_,g,y,R);};};});});var io=fr((Xn,Kn)=>{(function(t,r){typeof Xn=="object"&&typeof Kn<"u"?Kn.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_timezone=r();})(Xn,function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(e,n,i){var s,o=function(l,p,v){v===void 0&&(v={});var h=new Date(l);return function(y,R){R===void 0&&(R={});var _=R.timeZoneName||"short",g=y+"|"+_,m=r[g];return m||(m=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:_}),r[g]=m),m;}(p,v).formatToParts(h);},a=function(l,p){for(var v=o(l,p),h=[],y=0;y<v.length;y+=1){var R=v[y],_=R.type,g=R.value,m=t[_];m>=0&&(h[m]=parseInt(g,10));}var d=h[3],f=d===24?0:d,E=h[0]+"-"+h[1]+"-"+h[2]+" "+f+":"+h[4]+":"+h[5]+":000",C=+l;return(i.utc(E).valueOf()-(C-=C%1e3))/6e4;},c=n.prototype;c.tz=function(l,p){l===void 0&&(l=s);var v=this.utcOffset(),h=this.toDate(),y=h.toLocaleString("en-US",{timeZone:l}),R=Math.round((h-new Date(y))/1e3/60),_=i(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(h.getTimezoneOffset()/15)-R,!0);if(p){var g=_.utcOffset();_=_.add(v-g,"minute");}return _.$x.$timezone=l,_;},c.offsetName=function(l){var p=this.$x.$timezone||i.tz.guess(),v=o(this.valueOf(),p,{timeZoneName:l}).find(function(h){return h.type.toLowerCase()==="timezonename";});return v&&v.value;};var u=c.startOf;c.startOf=function(l,p){if(!this.$x||!this.$x.$timezone)return u.call(this,l,p);var v=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(v,l,p).tz(this.$x.$timezone,!0);},i.tz=function(l,p,v){var h=v&&p,y=v||p||s,R=a(+i(),y);if(typeof l!="string")return i(l).tz(y);var _=function(f,E,C){var A=f-60*E*1e3,T=a(A,C);if(E===T)return[A,E];var $=a(A-=60*(T-E)*1e3,C);return T===$?[A,T]:[f-60*Math.min(T,$)*1e3,Math.max(T,$)];}(i.utc(l,h).valueOf(),R,y),g=_[0],m=_[1],d=i(g).utcOffset(m);return d.$x.$timezone=y,d;},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone;},i.tz.setDefault=function(l){s=l;};};});});var Or=new q(""),Un=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map();constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this;}),this._plugins=e.slice().reverse();}addEventListener(e,n,i,s){return this._findPluginFor(n).addEventListener(e,n,i,s);}getZone(){return this._zone;}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(s=>s.supports(e)),!n)throw new G(5101,!1);return this._eventNameToPlugin.set(e,n),n;}static ɵfac=function(n){return new(n||t)(k(Or),k(fe));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),kt=class{_doc;constructor(r){this._doc=r;}manager;},Ir="ng-app-id";function Ns(t){for(let r of t)r.remove();}function Ms(t,r){let e=r.createElement("style");return e.textContent=t,e;}function sa(t,r,e,n){let i=t.head?.querySelectorAll(`style[${Ir}="${r}"],link[${Ir}="${r}"]`);if(i)for(let s of i)s.removeAttribute(Ir),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]});}function Ln(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e;}var xn=(()=>{class t{doc;appId;nonce;inline=new Map();external=new Map();hosts=new Set();isServer;constructor(e,n,i,s={}){this.doc=e,this.appId=n,this.nonce=i,this.isServer=Mn(s),sa(e,n,this.inline,this.external),this.hosts.add(e.head);}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,Ms);n?.forEach(i=>
3this.addUsage(i,this.external,Ln));}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external));}addUsage(e,n,i){let s=n.get(e);s?s.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,i(e,this.doc)))});}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(Ns(i.elements),n.delete(e)));}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ns(e);this.hosts.clear();}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,Ms(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,Ln(n,this.doc)));}removeHost(e){this.hosts.delete(e);}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(Ir,this.appId),e.appendChild(n);}static ɵfac=function(n){return new(n||t)(k(Q),k(In),k(Cn,8),k(ze));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),bn={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},kn=/%COMP%/g;var Ls="%COMP%",oa=`_nghost-${Ls}`,aa=`_ngcontent-${Ls}`,ca=!0,ua=new q("",{providedIn:"root",factory:()=>ca});function la(t){return aa.replace(kn,t);}function da(t){return oa.replace(kn,t);}function Ps(t,r){return r.map(e=>e.replace(kn,t));}var Fn=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map();defaultRenderer;platformIsServer;constructor(e,n,i,s,o,a,c,u=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=a,this.ngZone=c,this.nonce=u,this.tracingService=l,this.platformIsServer=Mn(a),this.defaultRenderer=new Ft(e,o,c,this.platformIsServer,this.tracingService);}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Lt.ShadowDom&&(n=ne(M({},n),{encapsulation:Lt.Emulated}));let i=this.getOrCreateRenderer(e,n);return i instanceof Cr?i.applyToHost(e):i instanceof Bt&&i.applyStyles(),i;}getOrCreateRenderer(e,n){let i=this.rendererByCompId,s=i.get(n.id);if(!s){let o=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,p=this.platformIsServer,v=this.tracingService;switch(n.encapsulation){case Lt.Emulated:s=new Cr(c,u,n,this.appId,l,o,a,p,v);break;case Lt.ShadowDom:return new Pn(c,u,e,n,o,a,this.nonce,p,v);default:s=new Bt(c,u,n,l,o,a,p,v);break;}i.set(n.id,s);}return s;}ngOnDestroy(){this.rendererByCompId.clear();}componentReplaced(e){this.rendererByCompId.delete(e);}static ɵfac=function(n){return new(n||t)(k(Un),k(xn),k(In),k(ua),k(Q),k(ze),k(fe),k(Cn),k(Vi,8));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),Ft=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,s){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=s;}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(bn[e]||e,r):this.doc.createElement(r);}createComment(r){return this.doc.createComment(r);}createText(r){return this.doc.createTextNode(r);}appendChild(r,e){(bs(r)?r.content:r).appendChild(e);}insertBefore(r,e,n){r&&(bs(r)?r.content:r).insertBefore(e,n);}removeChild(r,e){e.remove();}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new G(-5104,!1);return e||(n.textContent=""),n;}parentNode(r){return r.parentNode;}nextSibling(r){return r.nextSibling;}setAttribute(r,e,n,i){if(i){e=i+":"+e;let s=bn[i];s?r.setAttributeNS(s,e,n):r.setAttribute(e,n);}else r.setAttribute(e,n);}removeAttribute(r,e,n){if(n){let i=bn[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`);}else r.removeAttribute(e);}addClass(r,e){r.classList.add(e);}removeClass(r,e){r.classList.remove(e);}setStyle(r,e,n,i){i&(Pt.DashCase|Pt.Important)?r.style.setProperty(e,n,i&Pt.Important?"important":""):r.style[e]=n;}removeStyle(r,e,n){n&Pt.DashCase?r.style.removeProperty(e):r.style[e]="";}setProperty(r,e,n){r!=null&&(r[e]=n);}setValue(r,e){r.nodeValue=e;}listen(r,e,n,i){if(typeof r=="string"&&(r=Ye().getGlobalEventTarget(this.doc,r),!r))throw new G(5102,!1);let s=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(r,e,s)),this.eventManager.addEventListener(r,e,s,i);}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault();};}};function bs(t){return t.tagName==="TEMPLATE"&&t.content!==void 0;}var Pn=class extends Ft{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,s,o,a,c,u){super(r,s,o,c,u),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=Ps(i.id,l);for(let v of l){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=v,this.shadowRoot.appendChild(h);}let p=i.getExternalStyles?.();if(p)for(let v of p){let h=Ln(v,s);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h);}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r;}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e);}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n);}removeChild(r,e){return super.removeChild(null,e);}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)));}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot);}},Bt=class extends Ft{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,s,o,a,c,u){super(r,s,o,a,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=u?Ps(u,l):l,this.styleUrls=n.getExternalStyles?.(u);}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls);}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls);}},Cr=class extends Bt{contentAttr;hostAttr;constructor(r,e,n,i,s,o,a,c,u){let l=i+"-"+n.id;super(r,e,n,s,o,a,c,u,l),this.contentAttr=la(l),this.hostAttr=da(l);}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"");}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n;}};var Ar=class t extends _s{supportsDOMEvents=!0;static makeCurrent(){Ss(new t());}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i);};}dispatchEvent(r,e){r.dispatchEvent(e);}remove(r){r.remove();}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r);}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle");}getDefaultDocument(){return document;}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE;}isShadowRoot(r){return r instanceof DocumentFragment;}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null;}getBaseHref(r){let e=ha();return e==null?null:fa(e);}resetBaseElement(){$t=null;}getUserAgent(){return window.navigator.userAgent;}getCookie(r){return _r(document.cookie,r);}},$t=null;function ha(){return $t=$t||document.head.querySelector("base"),$t?$t.getAttribute("href"):null;}function fa(t){return new URL(t,document.baseURI).pathname;}var wr=class{addToWindow(r){Oe.getAngularTestability=(n,i=!0)=>{let s=r.findTestabilityInTree(n,i);if(s==null)throw new G(5103,!1);return s;},Oe.getAllAngularTestabilities=()=>r.getAllTestabilities(),Oe.getAllAngularRootElements=()=>r.getAllRootElements();let e=n=>{let i=Oe.getAllAngularTestabilities(),s=i.length,o=function(){s--,s==0&&n();};
3i.forEach(a=>{a.whenStable(o);});};Oe.frameworkStabilizers||(Oe.frameworkStabilizers=[]),Oe.frameworkStabilizers.push(e);}findTestabilityInTree(r,e,n){if(e==null)return null;let i=r.getTestability(e);return i??(n?Ye().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null);}},pa=(()=>{class t{build(){return new XMLHttpRequest();}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),xs=(()=>{class t extends kt{constructor(e){super(e);}supports(e){return!0;}addEventListener(e,n,i,s){return e.addEventListener(n,i,s),()=>this.removeEventListener(e,n,i,s);}removeEventListener(e,n,i,s){return e.removeEventListener(n,i,s);}static ɵfac=function(n){return new(n||t)(k(Q));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),Us=["alt","control","meta","shift"],ga={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ma={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ks=(()=>{class t extends kt{constructor(e){super(e);}supports(e){return t.parseEventName(e)!=null;}addEventListener(e,n,i,s){let o=t.parseEventName(n),a=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ye().onAndCancel(e,o.domEventName,a,s));}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(n.pop()),o="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),o="code."),Us.forEach(u=>{let l=n.indexOf(u);l>-1&&(n.splice(l,1),o+=u+".");}),o+=s,n.length!=0||s.length===0)return null;let c={};return c.domEventName=i,c.fullKey=o,c;}static matchEventFullKeyCode(e,n){let i=ga[e.key]||e.key,s="";return n.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Us.forEach(o=>{if(o!==i){let a=ma[o];a(e)&&(s+=o+".");}}),s+=i,s===n);}static eventCallback(e,n,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>n(s));};}static _normalizeKey(e){return e==="esc"?"escape":e;}static ɵfac=function(n){return new(n||t)(k(Q));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})();function va(){Ar.makeCurrent();}function Ea(){return new _n();}function Ra(){return Gi(document),document;}var ya=[{provide:ze,useValue:As},{provide:zi,useValue:va,multi:!0},{provide:Q,useFactory:Ra}],Sa=vs(Es,"browser",ya);var _a=[{provide:Er,useClass:wr},{provide:as,useClass:Rr,deps:[fe,wn,Er]},{provide:Rr,useClass:Rr,deps:[fe,wn,Er]}],Ta=[{provide:$i,useValue:"root"},{provide:_n,useFactory:Ea},{provide:Or,useClass:xs,multi:!0,deps:[Q]},{provide:Or,useClass:ks,multi:!0,deps:[Q]},Fn,xn,Un,{provide:rs,useExisting:Fn},{provide:Tr,useClass:pa},[]],Ia=(()=>{class t{constructor(){}static ɵfac=function(n){return new(n||t)();};static ɵmod=ct({type:t});static ɵinj=st({providers:[...Ta,..._a],imports:[Os,Rs]});}return t;})();var dt=class{},jt=class{},Le=class t{headers;normalizedNames=new Map();lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map(),r.split(` 4`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),s=e.slice(n+1).trim();this.addHeaderEntry(i,s);}});}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map(),r.forEach((e,n)=>{this.addHeaderEntry(n,e);})):this.lazyInit=()=>{this.headers=new Map(),Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n);});}:this.headers=new Map();}has(r){return this.init(),this.headers.has(r.toLowerCase());}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null;}keys(){return this.init(),Array.from(this.normalizedNames.values());}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null;}append(r,e){return this.clone({name:r,value:e,op:"a"});}set(r,e){return this.clone({name:r,value:e,op:"s"});}delete(r,e){return this.clone({name:r,value:e,op:"d"});}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r);}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null));}
4copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e));});}clone(r){let e=new t();return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e;}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let s=r.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o);}break;}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e]);}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(s=>s.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i);}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)));}};var Nr=class{encodeKey(r){return Fs(r);}encodeValue(r){return Fs(r);}decodeKey(r){return decodeURIComponent(r);}decodeValue(r){return decodeURIComponent(r);}};function Ca(t,r){let e=new Map();return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,a]=s==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,s)),r.decodeValue(i.slice(s+1))],c=e.get(o)||[];c.push(a),e.set(o,c);}),e;}var Oa=/%(\d[a-f0-9])/gi,Aa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Fs(t){return encodeURIComponent(t).replace(Oa,(r,e)=>Aa[e]??r);}function Dr(t){return`${t}`;}var Ae=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new Nr(),r.fromString){if(r.fromObject)throw new G(2805,!1);this.map=Ca(r.fromString,this.encoder);}else r.fromObject?(this.map=new Map(),Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(Dr):[Dr(n)];this.map.set(e,i);})):this.map=null;}has(r){return this.init(),this.map.has(r);}get(r){this.init();let e=this.map.get(r);return e?e[0]:null;}getAll(r){return this.init(),this.map.get(r)||null;}keys(){return this.init(),Array.from(this.map.keys());}append(r,e){return this.clone({param:r,value:e,op:"a"});}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(s=>{e.push({param:n,value:s,op:"a"});}):e.push({param:n,value:i,op:"a"});}),this.clone(e);}set(r,e){return this.clone({param:r,value:e,op:"s"});}delete(r,e){return this.clone({param:r,value:e,op:"d"});}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&");}).filter(r=>r!=="").join("&");}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e;}init(){this.map===null&&(this.map=new Map()),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Dr(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(Dr(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param);}else{this.map.delete(r.param);break;}}}),this.cloneFrom=this.updates=null);}};var Mr=class{map=new Map();set(r,e){return this.map.set(r,e),this;}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r);}delete(r){return this.map.delete(r),this;}has(r){return this.map.has(r);}keys(){return this.map.keys();}};function wa(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0;}}function Bs(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer;}function $s(t){return typeof Blob<"u"&&t instanceof Blob;}function js(t){return typeof FormData<"u"&&t instanceof FormData;}function Da(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams;}var Hs="Content-Type",Gs="Accept",Vs="X-Request-URL",Ys="text/plain",qs="application/json",Na=`${qs}, ${Ys}, */*`,lt=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let s;
4if(wa(this.method)||i?(this.body=n!==void 0?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new Le(),this.context??=new Mr(),!this.params)this.params=new Ae(),this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+o;}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Bs(this.body)||$s(this.body)||js(this.body)||Da(this.body)?this.body:this.body instanceof Ae?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();}detectContentTypeHeader(){return this.body===null||js(this.body)?null:$s(this.body)?this.body.type||null:Bs(this.body)?null:typeof this.body=="string"?Ys:this.body instanceof Ae?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?qs:null;}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,s=r.transferCache??this.transferCache,o=r.body!==void 0?r.body:this.body,a=r.withCredentials??this.withCredentials,c=r.reportProgress??this.reportProgress,u=r.headers||this.headers,l=r.params||this.params,p=r.context??this.context;return r.setHeaders!==void 0&&(u=Object.keys(r.setHeaders).reduce((v,h)=>v.set(h,r.setHeaders[h]),u)),r.setParams&&(l=Object.keys(r.setParams).reduce((v,h)=>v.set(h,r.setParams[h]),l)),new t(e,n,o,{params:l,headers:u,context:p,reportProgress:c,responseType:i,withCredentials:a,transferCache:s});}},qe=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t;}(qe||{}),ht=class{headers;status;statusText;url;ok;type;constructor(r,e=200,n="OK"){this.headers=r.headers||new Le(),this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.ok=this.status>=200&&this.status<300;}},br=class t extends ht{constructor(r={}){super(r);}type=qe.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0});}},Ht=class t extends ht{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null;}type=qe.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0});}},Gt=class extends ht{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null;}},Ma=200,ba=204;function Bn(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache};}var Ws=(()=>{class t{handler;constructor(e){this.handler=e;}request(e,n,i={}){let s;if(e instanceof lt)s=e;else{let c;i.headers instanceof Le?c=i.headers:c=new Le(i.headers);let u;i.params&&(i.params instanceof Ae?u=i.params:u=new Ae({fromObject:i.params})),s=new lt(e,n,i.body!==void 0?i.body:null,{headers:c,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache});}let o=U(s).pipe(Ce(c=>this.handler.handle(c)));if(e instanceof lt||i.observe==="events")return o;let a=o.pipe(Ee(c=>c instanceof Ht));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(z(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new G(2806,
4!1);return c.body;}));case"blob":return a.pipe(z(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new G(2807,!1);return c.body;}));case"text":return a.pipe(z(c=>{if(c.body!==null&&typeof c.body!="string")throw new G(2808,!1);return c.body;}));case"json":default:return a.pipe(z(c=>c.body));}case"response":return a;default:throw new G(2809,!1);}}delete(e,n={}){return this.request("DELETE",e,n);}get(e,n={}){return this.request("GET",e,n);}head(e,n={}){return this.request("HEAD",e,n);}jsonp(e,n){return this.request("JSONP",e,{params:new Ae().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"});}options(e,n={}){return this.request("OPTIONS",e,n);}patch(e,n,i={}){return this.request("PATCH",e,Bn(i,n));}post(e,n,i={}){return this.request("POST",e,Bn(i,n));}put(e,n,i={}){return this.request("PUT",e,Bn(i,n));}static ɵfac=function(n){return new(n||t)(k(dt));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})();var La=new q("");function Xs(t,r){return r(t);}function Pa(t,r){return(e,n)=>r.intercept(e,{handle:i=>t(i,n)});}function Ua(t,r,e){return(n,i)=>he(e,()=>r(n,s=>t(s,i)));}var Ks=new q(""),jn=new q(""),Qs=new q(""),Hn=new q("",{providedIn:"root",factory:()=>!0});function xa(){let t=null;return(r,e)=>{t===null&&(t=(b(Ks,{optional:!0})??[]).reduceRight(Pa,Xs));let n=b(bt);if(b(Hn)){let s=n.add();return t(r,e).pipe(He(()=>n.remove(s)));}else return t(r,e);};}var Lr=(()=>{class t extends dt{backend;injector;chain=null;pendingTasks=b(bt);contributeToStability=b(Hn);constructor(e,n){super(),this.backend=e,this.injector=n;}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(jn),...this.injector.get(Qs,[])]));this.chain=n.reduceRight((i,s)=>Ua(i,s,this.injector),Xs);}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(He(()=>this.pendingTasks.remove(n)));}else return this.chain(e,n=>this.backend.handle(n));}static ɵfac=function(n){return new(n||t)(k(jt),k(Me));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})();var ka=/^\)\]\}',?\n/,Fa=RegExp(`^${Vs}:`,"m");function Ba(t){return"responseURL"in t&&t.responseURL?t.responseURL:Fa.test(t.getAllResponseHeaders())?t.getResponseHeader(Vs):null;}var $n=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e;}handle(e){if(e.method==="JSONP")throw new G(-2800,!1);let n=this.xhrFactory;return(n.ɵloadImpl?J(n.ɵloadImpl()):U(null)).pipe(ae(()=>new At(s=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((R,_)=>o.setRequestHeader(R,_.join(","))),e.headers.has(Gs)||o.setRequestHeader(Gs,Na),!e.headers.has(Hs)){let R=e.detectContentTypeHeader();R!==null&&o.setRequestHeader(Hs,R);}if(e.responseType){let R=e.responseType.toLowerCase();o.responseType=R!=="json"?R:"text";}let a=e.serializeBody(),c=null,u=()=>{if(c!==null)return c;let R=o.statusText||"OK",_=new Le(o.getAllResponseHeaders()),g=Ba(o)||e.url;return c=new br({headers:_,status:o.status,statusText:R,url:g}),c;},l=()=>{let{headers:R,status:_,statusText:g,url:m}=u(),d=null;_!==ba&&(d=typeof o.response>"u"?o.responseText:o.response),_===0&&(_=d?Ma:0);let f=_>=200&&_<300;if(e.responseType==="json"&&typeof d=="string"){let E=d;d=d.replace(ka,"");try{d=d!==""?JSON.parse(d):null;}catch(C){d=E,f&&(f=!1,d={error:C,text:d});}}f?(s.next(new Ht({body:d,headers:R,status:_,statusText:g,url:m||void 0})),s.complete()):s.error(new Gt({error:d,headers:R,status:_,statusText:g,url:m||void 0}));},p=R=>{let{url:_}=u(),g=new Gt({error:R,status:o.status||0,statusText:o.statusText||"Unknown Error",url:_||void 0});s.error(g);},v=!1,h=R=>{v||(s.next(u()),v=!0);let _={type:qe.DownloadProgress,loaded:R.loaded};R.lengthComputable&&(_.total=R.total),e.responseType==="text"&&o.responseText&&(_.partialText=o.responseText),s.next(_);},y=R=>{let _={type:qe.UploadProgress,loaded:R.loaded};R.lengthComputable&&(_.total=R.total),s.next(_);};return o.addEventListener("load",l),o.addEventListener("error",p),o.addEventListener("timeout",p),o.addEventListener("abort",p),e.reportProgress&&(o.addEventListener("progress",h),a!==null&&o.upload&&o.upload.addEventListener("progress",y)),o.send(a),s.next({type:qe.Sent}),()=>{o.removeEventListener("error",p),o.removeEventListener("abort",p),o.removeEventListener("load",l),o.removeEventListener("timeout",p),e.reportProgress&&(o.removeEventListener("progress",h),a!==null&&o.upload&&o.upload.removeEventListener("progress",y)),o.readyState!==o.DONE&&o.abort();};})));}static ɵfac=function(n){return new(n||t)(k(Tr));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),Zs=new q(""),$a="XSRF-TOKEN",ja=new q("",{providedIn:"root",factory:()=>$a}),Ha="X-XSRF-TOKEN",Ga=new q("",{providedIn:"root",factory:()=>Ha}),zt=class{},za=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n;}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=_r(e,this.cookieName),this.lastCookieString=e),this.lastToken;}static ɵfac=function(n){return new(n||t)(k(Q),k(ja));};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),Va=/^(?:https?:)?\/\//i;function Ya(t,r){if(!b(Zs)||t.method==="GET"||t.method==="HEAD"||Va.test(t.url))return r(t);let e=b(zt).getToken(),n=b(Ga);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),r(t);}var Gn=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t;}(Gn||{});function qa(t,r){return{ɵkind:t,ɵproviders:r};}function Wa(...t){let r=[Ws,$n,Lr,{provide:dt,useExisting:Lr},{provide:jt,useFactory:()=>b(La,{optional:!0})??b($n)},{provide:jn,useValue:Ya,multi:!0},{provide:Zs,useValue:!0},{provide:zt,useClass:za}];for(let e of t)r.push(...e.ɵproviders);return mr(r);}var zs=new q("");function Xa(){return qa(Gn.LegacyInterceptors,[{provide:zs,useFactory:xa},{provide:jn,useExisting:zs,multi:!0}]);}var md=(()=>{class t{_doc;_dom;
4constructor(e){this._doc=e,this._dom=Ye();}addTag(e,n=!1){return e?this._getOrCreateElement(e,n):null;}addTags(e,n=!1){return e?e.reduce((i,s)=>(s&&i.push(this._getOrCreateElement(s,n)),i),[]):[];}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null;}getTags(e){if(!e)return[];let n=this._doc.querySelectorAll(`meta[${e}]`);return n?[].slice.call(n):[];}updateTag(e,n){if(!e)return null;n=n||this._parseSelector(e);let i=this.getTag(n);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0);}removeTag(e){this.removeTagElement(this.getTag(e));}removeTagElement(e){e&&this._dom.remove(e);}_getOrCreateElement(e,n=!1){if(!n){let o=this._parseSelector(e),a=this.getTags(o).filter(c=>this._containsAttributes(e,c))[0];if(a!==void 0)return a;}let i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i;}_setMetaElementAttributes(e,n){return Object.keys(e).forEach(i=>n.setAttribute(this._getMetaKeyMap(i),e[i])),n;}_parseSelector(e){let n=e.name?"name":"property";return`${n}="${e[n]}"`;}_containsAttributes(e,n){return Object.keys(e).every(i=>n.getAttribute(this._getMetaKeyMap(i))===e[i]);}_getMetaKeyMap(e){return Qa[e]||e;}static ɵfac=function(n){return new(n||t)(k(Q));};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Qa={httpEquiv:"http-equiv"},Js=(()=>{class t{_doc;constructor(e){this._doc=e;}getTitle(){return this._doc.title;}setTitle(e){this._doc.title=e||"";}static ɵfac=function(n){return new(n||t)(k(Q));};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Za=(()=>{class t{static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:function(n){let i=null;return n?i=new(n||t)():i=k(Ja),i;},providedIn:"root"});}return t;})(),Ja=(()=>{class t extends Za{_doc;constructor(e){super(),this._doc=e;}sanitize(e,n){if(n==null)return null;switch(e){case Ve.NONE:return n;case Ve.HTML:return at(n,"HTML")?ot(n):es(this._doc,String(n)).toString();case Ve.STYLE:return at(n,"Style")?ot(n):n;case Ve.SCRIPT:if(at(n,"Script"))return ot(n);throw new G(5200,!1);case Ve.URL:return at(n,"URL")?ot(n):Ji(String(n));case Ve.RESOURCE_URL:if(at(n,"ResourceURL"))return ot(n);throw new G(5201,!1);default:throw new G(5202,!1);}}bypassSecurityTrustHtml(e){return Wi(e);}bypassSecurityTrustStyle(e){return Xi(e);}bypassSecurityTrustScript(e){return Ki(e);}bypassSecurityTrustUrl(e){return Qi(e);}bypassSecurityTrustResourceUrl(e){return Zi(e);}static ɵfac=function(n){return new(n||t)(k(Q));};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();var Vt={production:!0,offline:!0,siteConfigUrl:"/api/c",siteActiveUrl:"/api/s",activationCheck:!1,activationCheckInterval:36e5,localDomain:"",inactiveLocalKey:"_inactive",preConfig:!0,retryScalingDuration:1e4,retryShortTimeout:5e3,retryLongTimeout:1e4,retryLowQuantity:1,retryHighQuantity:3,customSites:[],recaptchaSiteKey:"6LcOHXwUAAAAALLY0VgIgdKfovFvCT7264YLBVe8",logRocketSessionId:"ufneyx/tiendaswebapp",googleAdsId:"AW-946402358",googleAdsConversionPayment:"AW-946402358/q6OiCNTM7m4QtuijwwM",googleAdsConversionHostedAttempt:"AW-946402358/bXuoCLvu4OEBELboo8MD",googleAdsDomain:"https://www.supermarket23.com"};var Zn=pr(eo());var to=(()=>{class t{constructor(e,n){this.document=e,this.platformId=n,this.documentIsAccessible=ws(this.platformId);}static getCookieRegExp(e){let n=e.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+n+"|;\\s*"+n+")=(.*?)(?:;|$)","g");}static safeDecodeURIComponent(e){try{return decodeURIComponent(e);}catch{return e;}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie)):!1;}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);let i=t.getCookieRegExp(e).exec(this.document.cookie);return i[1]?t.safeDecodeURIComponent(i[1]):"";}else return"";}getAll(){if(!this.documentIsAccessible)return{};let e={},n=this.document;return n.cookie&&n.cookie!==""&&n.cookie.split(";").forEach(i=>{let[s,o]=i.split("=");e[t.safeDecodeURIComponent(s.replace(/^ /,""))]=t.safeDecodeURIComponent(o);}),e;}set(e,n,i,s,o,a,c){if(!this.documentIsAccessible)return;if(typeof i=="number"||i instanceof Date||s||o||a||c){let p={expires:i,path:s,domain:o,secure:a,sameSite:c||"Lax"};this.set(e,n,p);return;}let u=encodeURIComponent(e)+"="+encodeURIComponent(n)+";",l=i||{};if(l.expires)if(typeof l.expires=="number"){let p=new Date(new Date().getTime()+l.expires*1e3*60*60*24);u+="expires="+p.toUTCString()+";";}else u+="expires="+l.expires.toUTCString()+";";l.path&&(u+="path="+l.path+";"),l.domain&&(u+="domain="+l.domain+";"),l.secure===!1&&l.sameSite==="None"&&(l.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),l.secure&&(u+="secure;"),l.sameSite||(l.sameSite="Lax"),u+="sameSite="+l.sameSite+";",this.document.cookie=u;}delete(e,n,i,s,o="Lax"){if(!this.documentIsAccessible)return;let a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:a,path:n,domain:i,secure:s,sameSite:o});}deleteAll(e,n,i,s="Lax"){if(!this.documentIsAccessible)return;let o=this.getAll();for(let a in o)o.hasOwnProperty(a)&&this.delete(a,e,n,i,s);}static{this.ɵfac=function(n){return new(n||t)(k(Q),k(ze));};}static{this.ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var qt=pr(ro()),so=pr(no()),oo=pr(io());qt.default.extend(so.default);qt.default.extend(oo.default);var Qn=(()=>{class t{constructor(e){this.cookieService=e;}static getSecondMaySunday(){let e=new Date(),n=new Date(e.getFullYear(),4,1);if(e>=n){let i=n.getDay();return i>0&&n.setDate(n.getDate()-i),n.setDate(n.getDate()+14),n;}return null;}static isMomDay(e){return e===t.getSecondMaySunday();}static scrollUp(e=0,n="smooth"){window.scrollTo({top:e,behavior:n});}static scrollToElement(e,n={block:"start",behavior:"smooth"}){e&&(typeof e.scrollIntoView=="function"?e.scrollIntoView(n):typeof e.getBoundingClientRect=="function"&&this.scrollUp(e.getBoundingClientRect().top));}clearAllBrowserData(){this.cookieService.delete("locale"),localStorage.clear(),location.reload(!0);}strFormat(e,...n){return e.replace(/{[0-9]}/g,i=>n[parseInt(i.replace(/[{}]/g,""),10)]);}strCompare(e,n,i=!0,s=!0,o=!0){return i&&(e=e.trim(),n=n.trim()),s&&(e=e.toLocaleLowerCase(),n=n.toLocaleLowerCase()),o&&(e=e.normalize("NFD").replace(/[\u0300-\u036f]/g,""),n=n.normalize("NFD").replace(/[\u0300-\u036f]/g,"")),e.localeCompare(n)===0;}toUpperCamelCase(e){return e&&e.charAt(0).toUpperCase()+e.slice(1);}convertKeysToUpperCamelCase(e){return Array.isArray(e)?e.map(this.convertKeysToUpperCamelCase.bind(this)):e!==null&&typeof e=="object"?Object.keys(e).reduce((n,i)=>{let s=this.toUpperCamelCase(i);return n[s]=this.convertKeysToUpperCamelCase(e[i]),n;},{}):e;}assign(e,n){typeof Object.assign=="function"?Object.assign(e,n):Object.keys(n).forEac
4h(i=>{e[i]=n[i];});}convertHavanaToUserTimezone(e){if(e==null||e==="")return null;let n=Intl.DateTimeFormat().resolvedOptions().timeZone,i=qt.default.tz(e,"America/Havana");return i.isValid()?i.tz(n).toDate().toISOString():null;}getUserDateToHabanaTimezone(e){e||(e=new Date());let n=Intl.DateTimeFormat().resolvedOptions().timeZone,s=qt.default.tz(e,n).tz("America/Havana");return new Date(s.year(),s.month(),s.date(),s.hour(),s.minute(),s.second(),s.millisecond());}static shouldShowByRoute(e){let i=e.replace(/^\//,"").split("?")[0].split("/");return We.PAGES_TO_SHOW_CONVENIENCE_STORES_FILTER.some(s=>{let o=s.split("/");return Array.from({length:i.length-o.length+1},(a,c)=>c).some(a=>{if(!o.every((l,p)=>l===i[a+p]))return!1;let u=i.slice(a+o.length);return u.length===0||u.length===1&&/^\d+$/.test(u[0]);});});}static applyObjectRecursively(e,n){return Object.keys(n).forEach(i=>{e.hasOwnProperty(i)&&typeof e[i]=="object"&&typeof n[i]=="object"?e[i]=this.applyObjectRecursively(e[i],n[i]):e[i]=n[i];}),e;}static getConvenienceStoreMinAmountInfo(e,n=""){let i={minAmount:0,popover:n??""};if(e&&(i.minAmount=e.MinAmount??0,e.Products?.length>0)){let o=(We.CONVENIENCE_STORES.rules?.filter(a=>a.convenienceStores.includes(e.Id))||[]).filter(a=>a.products.some(c=>e.Products.find(u=>u.ProductId===c)));if(o.length>0){let a=o.reduce((c,u)=>{let l=u.minAmountUSD??0,p=c.minAmountUSD??0;return l>p?u:c;},o[0]);i.minAmount=a.minAmountUSD??e.MinAmount,i.popover=a.infoText?a.infoText[We.CURRENT_LANG]:n??"";}}return i;}static{this.ɵfac=function(n){return new(n||t)(k(to));};}static{this.ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}}return t;})();var Jn="_currency_v2";localStorage.removeItem("_currency");var Xe=localStorage.getItem(Jn),rc=new ge(),Ur=function(t){return t.ES="es",t.EN="en",t;}(Ur||{}),nc=function(t){return t[t.es=1]="es",t[t.en=2]="en",t;}(nc||{}),ic=function(t){return t.es="SPA",t.en="ENG",t;}(ic||{}),sc=function(t){return t.SALES_PRICE="SALES_PRICE",t.PREPONDERANCE="PREPONDERANCE",t.CREATED_DATE="CREATED_DATE",t.PROVIDER="PROVIDER",t.CATEGORY="CATEGORY",t.PRICE_PROVIDER="PRICE_PROVIDER",t.RANDOM="RANDOM",t;}(sc||{}),oc=function(t){return t.ASC="ASC",t.DESC="DESC",t;}(oc||{}),ac=function(t){return t.PRICE="Price",t.CREATED_DATE="CreatedDate",t.PRICE_BY_WEIGHT_USD="CurrenciesSalesPrice.PriceByWeight.PriceByLb.PriceUSD",t.PERCENT_DISCOUNT="Discount.PercentDiscount",t;}(ac||{}),se=function(t){return t.RECENTLY_BOUGHT="recently-bought",t.MOST_PURCHASED="most-purchased",t.BEST_MATCH="best-match",t.ORDENAR_POR="ordenar-por",t.ORDENAR_MENOR_PRECIO="ordenar-menor-precio",t.ORDENAR_MAYOR_PRECIO="ordenar-mayor-precio",t.ORDENAR_MAS_NUEVO="ordenar-mas-nuevo",t.ORDENAR_MENOR_PRECIO_PESO="ordenar-menor-precio-peso",t.ORDENAR_MAYOR_POR_CIENTO_DESCUENTO="ordenar-mayor-porciento-descuento",t;}(se||{}),wd=[se.BEST_MATCH,se.ORDENAR_MENOR_PRECIO,se.ORDENAR_MAYOR_PRECIO,se.ORDENAR_MAS_NUEVO],Dd=[{value:"-1",label:"Ordenar por",option:se.ORDENAR_POR},{value:"-1",label:"Mejor coincidencia",option:se.BEST_MATCH},{value:"-1",label:"Recientemente comprado",option:se.RECENTLY_BOUGHT},{value:"0",label:"Menor precio",option:se.ORDENAR_MENOR_PRECIO},{value:"0",label:"M\xE1s comprado",option:se.MOST_PURCHASED},{value:"1",label:"Mayor precio",option:se.ORDENAR_MAYOR_PRECIO},{value:"2",label:"M\xE1s nuevo",option:se.ORDENAR_MAS_NUEVO},{value:"3",label:"Menor precio/lb",option:se.ORDENAR_MENOR_PRECIO_PESO},{value:"4",label:"Mayor % descuento",option:se.ORDENAR_MAYOR_POR_CIENTO_DESCUENTO}],L=function(t){return t.TERMINOS_CONDICIONES="terminos-condiciones",t.AYUDA="faqs",t.QUE_DEBE_SABER="que-debe-saber",t.SOBRE_NOSOTROS="sobre-nosotros",t.CONTACTO="contacto",t.POLITICA_PRIVACIDAD="politica-privacidad",t.METODOS_PAGO="metodos-pago",t.POLICITA_DEVOLUCIONES="politica-devoluciones",t.POLITICA_ENTREGAS="politica-entregas",t.POLITICA_COOKIES="politica-cookies",t.TIEMPOS_TARIFAS_ENTREGA="tiempos-tarifas-entrega",t.ENTREGAS_DIAS_EXPECIFICOS="entregas-dias-especificos",t.ENTREGAS_DOMICILIO="entregas-domicilio",t.COMPRAS_ONLINE="compras-online",t.ENVIOS_CUBA="envios-cuba",t.REGALOS_CUBA="regalos-cuba",t.COMBOS_ALIMENTOS="combos-alimentos",t.RESERVA_BOLETOS="reserva-boletos-aereos-cuba",t.MANDAR_PAQUETES_CUBA="mandar-paquetes-cuba",t.TARIFAS_ENTREGA="tarifas-entrega",t.CASH2CUBAN="https://cash2cuban.com",t.LEGAL_NOTICE="aviso-legal",t.ANUNCIOS="anuncios",t.SELL_WITH_US="vende-con-nosotros",t.ENVIOS_SANCTI="envios-sancti-spiritus",t.PROMOCION_CREDITO_COMPRA="promocion-credito-compras",t.AYUDA_MATANZAS="ayuda-matanzas",t.INFO_GIFTCARD="tarjetas-regalo",t.ENVIOS_23="envios23",t.COMBUSTIBLES="combustibles",t;}(L||{}),cc=function(t){return t.HISTORIC="Historic",t.ONE_MONTH="One_Monht",t.THREE_MONTHS="Three_Monht",t.SIX_MONTHS="Six_Monht",t;}(cc||{}),uc=function(t){return t[t.CANCEL=2]="CANCEL",t;}(uc||{}),X={[L.TERMINOS_CONDICIONES]:2,[L.AYUDA]:3,[L.SOBRE_NOSOTROS]:4,[L.CONTACTO]:6,[L.POLITICA_PRIVACIDAD]:7,[L.METODOS_PAGO]:10,[L.POLICITA_DEVOLUCIONES]:11,[L.POLITICA_ENTREGAS]:12,[L.TIEMPOS_TARIFAS_ENTREGA]:109,[L.ENTREGAS_DIAS_EXPECIFICOS]:118,[L.ENTREGAS_DOMICILIO]:119,[L.TARIFAS_ENTREGA]:120,[L.COMPRAS_ONLINE]:123,[L.COMBOS_ALIMENTOS]:125,[L.ENVIOS_CUBA]:136,[L.REGALOS_CUBA]:138,[L.RESERVA_BOLETOS]:216,[L.MANDAR_PAQUETES_CUBA]:217,[L.QUE_DEBE_SABER]:228,[L.LEGAL_NOTICE]:241,[L.ANUNCIOS]:242,[L.SELL_WITH_US]:244,[L.ENVIOS_SANCTI]:245,[L.PROMOCION_CREDITO_COMPRA]:246,[L.AYUDA_MATANZAS]:251,[L.INFO_GIFTCARD]:255,[L.POLITICA_COOKIES]:263,[L.ENVIOS_23]:270,[L.COMBUSTIBLES]:275},W=function(t){return t[t.CC=1]="CC",t[t.TR=5]="TR",t[t.AP=4]="AP",t[t.UD=3]="UD",t[t.AF=2]="AF",t[t.CZ=6]="CZ",t[t.CAD=7]="CAD",t[t.USA=8]="USA",t[t.HP=10]="HP",t[t.TP=12]="TP",t[t.MP=13]="MP",t[t.SP=14]="SP",t[t.BZ=16]="BZ",t[t.AG=17]="AG",t[t.CL=18]="CL",t[t.CP=20]="CP",t[t.GP=21]="GP",t;}(W||{}),Nd=[W.HP,W.TP,W.MP,W.SP,W.BZ,W.AG,W.CL,W.CP,W.GP],lc=function(t){return t.visa="Visa",t.mastercard="MasterCard",t.amex="AmericanExpress",t.discover="Discover",t.capitalone="CapitalOne",t.unionpay="UnionPay",t.jcb="Jcb",t.maestro="Maestro",t.dinersclub="DinersClub",t;}(lc||{}),Pr={visa:"Visa",discover:"Discover",mastercard:"Master Card",dinersclub:"Diner's Club",jcb:"JCB",amex:"American Express",unionpay:"UnionPay"},dc=function(t){return t.COMPLETED="Payment Completed",t.DECLINED="Declined",t.PENDING="Pending",t;}(dc||{}),hc=function(t){return t.ACTIVE="SubscriptionActive",t.PENDING_APPROVAL="PendingForApproval",t.PAYMENT_STATUS_UNKNOWN="PaymentStatusUnknown",t.EXPIRED="Expired",t.APPROVED_AND_WAITING="ApprovedAndWaiting",t.UNCLASSIFIED="Unclassified",t;}(hc||{}),fc=function(t){return t.IMAGE="image",t.VIDEO="video",t;}(fc||{}),pc=function(t){return t.BANNERS_GRID_1_IMG="BANNERS_GRID_1_IMG",t.BANNERS_GRID_2_IMG="BANNERS_GRID_2_IMG",t.BANNERS_GRID_2_IMG_WIDE="BANNERS_GRID_2_IMG_WIDE",t.BANNERS_GRID_3_IMG="BANNERS_GRID_3_IMG",t.BANNERS_GRID_4_IMG="BANNERS_GRID_4_IMG",t.BANNERS_GRID_4_IMG_WITH_2_IN_CENTER="BANNERS_GRID_4_IMG_WITH_2_IN_CENTER",t.BANNERS_GRID_4_IMG_LINE="BANNERS_GRID_4_IMG_LINE",t;}(pc||{}),Pe=function(t){return t.XXS="xxs",t.XS="xs",t.SM="sm",t.MD="md",t.LG="lg",t.XL="xl",t.XXL="xxl",t;}(Pe||{}),Ue=function(t){return t[t.XXS=359.98]="XXS",t[t.XS=479.98]="XS",t[t.SM=767.98]="SM",t[t.MD=991.98]="MD",t[t.LG=1199.98]="LG",t[t.XL=1535.98]="XL",t[t.XXL=1e6]="XXL",t;}(Ue||{}),Md=[{w:Ue.XXS,n:Pe.XXS},{w:Ue.XS,n:Pe.XS},{w:Ue.SM,n:Pe.SM},{w:Ue.MD,n:Pe.MD},{w:Ue.LG,n:Pe.LG},{w:Ue.XL,n:Pe.XL},{w:Ue.XXL,n:Pe.XXL}],ei=function(t){return t.CLASSIC="classic",t.MODERN="modern",t;}(ei||{}),bd=.00220462,gc=Object.freeze({enabled:!0,apictxBaseUrl:"https://aipctx.treew.com",freshnessMinutes:10,maxWaitAtPaymentMs:3e3,failureCooldownSec:30,maxAttempts:3,requestTimeoutMs:25e3}),Ke={openidBaseUrl:"OPENID_BASE_URL",graphqlBaseUrl:"GRAPHQL_BASE_URL",apiBaseElasticUrl:"API_BASE_ELASTIC_URL",imgBaseUrl:"IMG_BASE_URL",clientId:"CLIENT_ID",clientSecret:"CLIENT_SECRET",openidClientId:"OPENID_CLIENT_ID",elasticClientId:"ELASTIC_CLIENT_ID",siteId:"SITE_ID",ordersSiteIds:"ORDERS_SITE_IDS",logoImg:"LOGO_IMG",favicon:"FAVICON",siteName:"SITE_NAME",title:"TITLE",helpEmail:"HELP_EMAIL",supervisorEmail:"SUPERVISOR_EMAIL",contactPhone:"DEFAULT_PHONE",address:"ADDRESS",fax:"FAX",homeSlides:"HOME_SLIDES",wideHome:"WIDE_HOME",homeSlidesWide:"HOME_SLIDES_WIDE",mainCategories:"MAIN_CATEGORIES",chipsHeaderSliderLinks:"CHIPS_HEADER_SLIDER_LINKS",ourProductsCategories:"OUR_PRODUCTS_CATEGORIES",currencies:"CURRENCIES",socialLinks:"SOCIAL_LINKS",advertisement:"ADVERTISEMENT",topAdvertisement:"TOP_ADVERTISEMENT",chat:"CHAT",allProductsLink:"ALL_PRODUCTS_LINK",municipalityFilter:"MUNICIPALITY_FILTER",enableLogRocket:"ENABLE_LOGROCKET",chunkRecoveryEnabled:"CHUNK_RECOVERY_ENABLED",useHelpEmail:"USE_HELP_E
4MAIL",showOpenSubscription:"SHOW_OPEN_SUBSCRIPTION",infiniteScroll:"INFINITE_SCROLL",homeLoginRequired:"HOME_LOGIN_REQUIRED",topBanner:"TOP_BANNER",phonePreferredCountries:"PHONE_PREFERRED_COUNTRIES",allowedCreditCards:"ALLOWED_CREDIT_CARDS",returnPolicyRequired:"RETURN_POLICY_REQUIRED",termsAndConditionsRequired:"TERMS_AND_CONDITIONS_REQUIRED",footerIAECSP:"FOOTER_IAECSP",recipientFormCiVisible:"RECIPIENT_FORM_CI_VISIBLE",recipientCiRequired:"RECIPIENT_CI_REQUIRED",whatsapp:"WHATSAPP",copyright:"COPYRIGHT",commerceInfo:"COMMERCE_INFO",theme:"THEME",offlineBanners:"OFFLINE_BANNERS",showProdDeliveryProvinces:"SHOW_PROD_DELIVERY_PROVINCES",provinceFilter:"PROVINCE_FILTER",homePaladares:"HOME_PALADARES",homeProviders:"HOME_PROVIDERS",collapsibleFooter:"COLLAPSIBLE_FOOTER",elasticSources:"ELASTIC_SOURCES",prodElasticBaseUrl:"PROD_ELASTIC_BASE_URL",publicAccess:"PUBLIC_ACCESS",useStaticMunicipalities:"USE_STATIC_MUNICIPALITIES",municipalities:"MUNICIPALITIES",productDescriptionHtml:"PRODUCT_DESCRIPTION_HTML",confirm18:"CONFIRM_18",bMinRequiredTransactions:"B_MIN_REQUIRED_TRANSACTIONS",addrExcludedCountries:"ADDR_EXCLUDED_COUNTRIES",categoriesMinRequiredTransactions:"CATEGORIES_MIN_REQUIRED_TRANSACTIONS",notFreeShippingCategories:"NOT_FREE_SHIPPING_CATEGORIES",notFreeShippingProducts:"NOT_FREE_SHIPPING_PRODUCTS",captchaToPay:"CAPTCHA_TO_PAY",categoryAdvertisements:"CATEGORY_ADVERTISEMENTS",categoryBanner:"CATEGORY_BANNER",productResources:"PRODUCT_RESOURCES",bigLogo:"BIG_LOGO",headerTheme:"HEADER_THEME",footerTheme:"FOOTER_THEME",homeChristmasProducts:"HOME_CHRISTMAS_PRODUCTS",christmasHeaderBg:"CHRISTMAS_HEADER_BACKGROUND",deliveryBefore31:"DELIVERY_BEFORE_31",floatingCart:"FLOATING_CART",weekendSpecialProducts:"WEEKEND_SPECIAL_PRODUCTS",searchPromo:"SEARCH_PROMO",ordersPromo:"ORDERS_PROMO",elasticSearchEndpoint:"ELASTIC_SEARCH_ENDPOINT",enableSearchAutocomplete:"ENABLE_SEARCH_AUTOCOMPLETE",recentlyBroughtAddProducts:"RECENTLY_BROUGHT_ADD_PRODUCTS",promoLabelByProviders:"PROMO_LABEL_BY_PROVIDERS",promoAvailableInfoDialog:"PROMO_AVAILABLE_INFO_DIALOG",clientSubscriptions:"CLIENT_SUBSCRIPTIONS",locationDialogAlert:"LOCATION_DIALOG_ALERT",giftCards:"GIFT_CARDS",newUserPromoAlert:"NEW_USER_PROMO_ALERT",yeya:"YEYA",captchaSiteKey:"CAPTCHA_SITE_KEY",captureLocalityAt:"CAPTURE_LOCALITY_AT",logRocket:"LOG_ROCKET",fingerprint:"FINGERPRINT",netContext:"NET_CONTEXT",deliveryRatingSocialLinks:"DELIVERY_RATING_SOCIAL_LINKS",exProds:"EXCLUSIVE_PRODUCTS",providersContact:"PROVIDERS_CONTACT",productInfoLabelByProvinceDate:"PRODUCT_INFO_LABEL_BY_PROVINCE_DATE",regionCopyright:"REGION_COPYRIGHT",orderClaim:"ORDER_CLAIM",expressShipping:"EXPRESS_SHIPPING",apiTiendasGatewayUrl:"API_TIENDAS_GATEWAY_URL",apiServicesGatewayUrl:"API_SERVICES_GATEWAY_URL",prescriptionImgBaseUrl:"PRESCRIPTION_IMG_BASE_URL",providersRules:"PROVIDERS_RULES",convenienceStores:"CONVENIENCE_STORES",globalTopAlert:"GLOBAL_TOP_ALERT",faqs:"FAQS",bannersGridPosition1:"BANNERS_GRID_POSITION_1",bannersGridPosition2:"BANNERS_GRID_POSITION_2",bannersGridPosition3:"BANNERS_GRID_POSITION_3",openidScope:"OPENID_SCOPE",homeMiddleBanner:"HOME_MIDDLE_BANNER",buyAgain:"BUY_AGAIN",emptySearchBanner:"EMPTY_SEARCH_BANNER",stickyHeader:"STICKY_HEADER",advanceSearch:"ADVANCE_SEARCH",catalogBaseUrl:"CATALOG_BASE_URL",checkoutShippingByWeightInfoLimits:"CHECKOUT_SHIPPING_BY_WEIGHT_INFO_LIMITS",productsTagsFixedById:"PRODUCTS_TAGS_FIXED_BY_ID",productLabelById:"PRODUCT_LABEL_BY_ID",productImageLabels:"PRODUCT_IMAGE_LABELS",hubRequiredInfoByProductId:"HUB_REQUIRED_INFO_BY_PRODUCT_ID",homeBestSellerProducts:"HOME_BEST_SELLER_PRODUCTS",homeConvenienceStoresBestSellerProducts:"HOME_CONVENIENCE_STORES_BEST_SELLER_PRODUCTS",convStoresBestSellersAddProduct:"CONV_STORES_BEST_SELLERS_ADD_PRODUCTS",pagesToShowConvenienceStoresFilter:"PAGES_TO_SHOW_CONVENIENCE_STORES_FILTER",suggestSimilarProductByBodegon:"SUGGEST_SIMILAR_PRODUCT_BY_BODEGON",envios23ProductsApiUrl:"ENVIOS23_PRODUCTS_API_URL",lastOrderInfo:"LAST_ORDER_INFO",paymentOffersRequireConfirm:"PAYMENT_OFFERS_REQUIRE_CONFIRM",cartProductsRequireConfirm:"CART_PRODUCTS_REQUIRE_CONFIRM",storeIncentiveAlert:"STORE_INCENTIVE_ALERT",rentCarFlow:"RENT_CAR_FLOW",seoMetas:"SEO_METAS"},mc=["HOME_SLIDES","TITLE","ADVERTISEMENT","TOP_BANNER","TOP_ADVERTISEMENT","COPYRIGHT","REGION_COPYRIGHT","OFFLINE_BANNERS","CATEGORY_ADVERTISEMENTS","SEARCH_PROMO","ORDERS_PROMO","FAQS","BANNERS_GRID_POSITION_1","BANNERS_GRID_POSITION_2","BANNERS_GRID_POSITION_3","HOME_MIDDLE_BANNER","EMPTY_SEARCH_BANNER","CATEGORY_BANNER"],We=class t{static{this.API_BASE_URL="";}static{this.OPENID_BASE_URL="";}static{this.GRAPHQL_BASE_URL="";}static{this.API_BASE_ELASTIC_URL="";}static{this.API_TIENDAS_GATEWAY_URL="https://apitiendasgateway.treew.com/api";}static{this.API_SERVICES_GATEWAY_URL="https://apiservicesgateway.treew.com/api";}static{this.SIR_URL="https://claimswebapp.treew.com/";}static{this.IMG_BASE_URL="";}static{this.PRESCRIPTION_IMG_BASE_URL="https://apitreewmedias.treew.com/Images/";}static{this.ENVIOS23_PRODUCTS_API_URL="https://api.envios23.com/v2/product-collections/by?code=supermarket23";}static{this.CLIENT_ID="";}static{this.CLIENT_SECRET="";}static{this.OPENID_CLIENT_ID="";}static{this.OPENID_SCOPE="clients";}static{this.ELASTIC_CLIENT_ID="";}static{this.SITE_ID=null;}static{this.ORDERS_SITE_IDS=[];}static{this.ALLOWED_CREDIT_CARDS=Object.keys(Pr);}static{this.SITE_NAME="";}static{this.TITLE="";}static{this.SEO_METAS=null;}static{this.HELP_EMAIL="";}
4static{this.USE_HELP_EMAIL=!1;}static{this.SUPERVISOR_EMAIL="";}static{this.DEFAULT_PHONE=null;}static{this.CONTACT_PHONE=null;}static{this.PHONES=[];}static{this.FAX="";}static{this.ADDRESS="";}static{this.CURRENCY="";}static{this.CURRENCIES=[];}static{this.COUNTRY_ID=1;}static{this.PHONE_PREFERRED_COUNTRIES=["us","cu"];}static{this.MAIN_CATEGORIES=[];}static{this.CHIPS_HEADER_SLIDER_LINKS={active:!1};}static{this.OUR_PRODUCTS_CATEGORIES=[];}static{this.NOT_FREE_SHIPPING_CATEGORIES=[];}static{this.NOT_FREE_SHIPPING_PRODUCTS=[10235,75255,54899,53694,55024,54901,54947,54948];}static{this.URLS_NO_MUNICIPALITY_REQUIRED=["/contenido/ayuda-matanzas","/contenido/envios23","/valorar-entrega",/^\/orden\//,/^\/contenido-apps/];}static{this.URLS_NO_SHOW_CONVENIENCE_STORES_AVAILABLE_INFO_DIALOG=[...t.URLS_NO_MUNICIPALITY_REQUIRED,"/pagar","/carro",/^\/carro-compartido/,/^\/usuario/,/^\/contenido/,/^\/buscar/,/^\/renta-autos/];}static{this.PAYMENT_METHODS=[{type:W.CC,textKey:"payment.creditCard",img:"",active:!0},{type:W.TR,textKey:"payment.transference",img:"",active:!0},{type:W.UD,textKey:"payment.uponDelivery",img:"",active:!0},{type:W.AP,textKey:"payment.agencyPayment",img:"",active:!0},{type:W.AF,textKey:"payment.accreditedFund",img:"",active:!0},{type:W.CZ,textKey:"payment.chargeByZelle",img:"",active:!0},{type:W.CAD,textKey:"payment.cadPayment",img:"",active:!0},{type:W.USA,textKey:"payment.usaPayment",img:"",active:!0},{type:W.HP,textKey:"payment.hostedPagePayment",img:"",active:!0},{type:W.TP,textKey:"payment.tropipayHPPayment",img:"",active:!0},{type:W.SP,textKey:"payment.tropipayHPPayment",img:"",active:!0},{type:W.BZ,textKey:"payment.bizumHPPayment",img:"",active:!0},{type:W.CL,textKey:"payment.clasicaPayment",img:"",active:!0},{type:W.CP,textKey:"payment.cryptopayHPPayment",img:"",active:!0},{type:W.GP,textKey:"payment.googlepayHPPayment",img:"",active:!0}];}static{this.LOGO_IMG="";}static{this.FAVICON=null;}static{this.HOME_SLIDES=[];}static{this.WIDE_HOME=!1;}static{this.HOME_SLIDES_WIDE=!0;}static{this.BANNERS_GRID_POSITION_1=null;}static{this.BANNERS_GRID_POSITION_2=null;}static{this.BANNERS_GRID_POSITION_3=null;}static{this.HOME_PALADARES=[];}static{this.HOME_PROVIDERS=[];}static{this.FAQS=null;}static{this.ADVERTISEMENT=[];}static{this.TOP_ADVERTISEMENT=null;}static{this.STATIC_PAGES_KEY=L;}static{this.CHAT={key:"c4f051de-f7d2-4cba-b89c-c9a32699207a",enable:!1,delayed:0,type:ei.MODERN};}static{this.THEME=null;}static{this.HEADER_THEME=null;}static{this.FOOTER_THEME=null;}static{this.STICKY_HEADER=!1;}static{this.RENT_CAR_FLOW={active:!1,voucherDownloadActive:!1,fuelPurchaseActive:!1};}static{this.DEFAULT_LANG=Ur.ES;}static{this.CURRENT_LANG=Ur.ES;}static{this.COOKIE_LANG_KEY="locale";}static{this.AVAILABLE_LANGUAGES={es:{text:"Espa\xF1ol",img:"assets/template/img/logo/sp.png?v1"},en:{text:"English",img:"assets/template/img/logo/en.png"}};}static{this.DATE_FORMATS={LONG_DATE:"dd/MM/yyyy HH:mm:ss",LONG_DATE_ALT:"dd/MM/yy h:mm a",SHORT_DATE:"DD/MM/YYYY",MOMENT_SHORT_DATE:"dd/MM/yyyy"};}static{this.SOCIAL_LINKS=[];}static{this.DELIVERY_RATING_SOCIAL_LINKS={enable:!1,targetRating:5,links:[]};}static{this.WHATSAPP=null;}static{this.COPYRIGHT=null;}static{this.REGION_COPYRIGHT=null;}static{this.COMMERCE_INFO=null;}static{this.APP_SYNC_CACHE_TIME=6e9;}static{this.PUBLIC_ACCESS=null;}static{this.LOADING=!1;}static{this.CONFIGURED=!1;}static{this.LOCAL_KEY="_site_cfg";}
4static{this.MUNICIPALITY_LOCAL_KEY="_municipality";}static{this.MUNICIPALITY_LOCAL_STATE_KEY="_municipality_st";}static{this.TRAGET_RECIPIENT_LOCAL_KEY="_recipient";}static{this.OFFLINE_MESSAGE="";}static{this.GLOBAL_TOP_ALERT={active:!1,text:{},type:"error",canClose:!0};}static{this.ACTIVE=!1;}static{this.ALL_PRODUCTS_LINK=!1;}static{this.PRODUCT_DESCRIPTION_HTML=!0;}static{this.PRODUCT_RESOURCES={active:!1,imageZoom:!1,zoomType:"custom"};}static{this.MUNICIPALITY_FILTER=!0;}static{this.PROVINCE_FILTER=!1;}static{this.USE_STATIC_MUNICIPALITIES=!1;}static{this.MUNICIPALITIES=[];}static{this.SHOW_PROD_DELIVERY_PROVINCES=!1;}static{this.LAST_ORDER_INFO={active:!1,showPaidTime:1,showProcessingPaymentTime:7,showDeclinedTime:7,showDeclinedAlertPopupTime:1,paymentRedirectDelayMs:5e3,initialPopupDelayMs:7e3};}static{this.SHOW_OPEN_SUBSCRIPTION=!0;}static{this.INFINITE_SCROLL=!1;}static{this.HOME_LOGIN_REQUIRED=!1;}static{this.HOME_SECTIONS={topBanner:!1,topAdvertisement:!1,slider:!0,faqsBanner:!1,ourProducts:!0,recommended:!0,relatedSeen:!0,recommendedForClient:!0,knowMore:!0,specialOffers:!0,advertisements:!0,mostPurchased:!0,offlineBanners:!1,providers:!1,paladares:!1,recommendationsOfDay:!1,recommendationsOfDayCompact:!1,yeyaRecommendations:!1,recentlyBrought:!1,convenienceStoresBestSellers:!1,christmasProducts:!1,yeyaBrand:!1,bodegones:!1,categoriesSlider:!1,bannersGridPosition1:!1,bannersGridPosition2:!1,bannersGridPosition3:!1,middleBanner:!1,chipsCategoriesSlider:!1};}static{this.HOME_CHRISTMAS_PRODUCTS={category:null};}static{this.HOME_BEST_SELLER_PRODUCTS={provinces:[]};}static{this.HOME_CONVENIENCE_STORES_BEST_SELLER_PRODUCTS={provinces:[]};}static{this.CHRISTMAS_HEADER_BACKGROUND=!1;}static{this.CONTENT_PAGES_VISIBILITY={[X[L.TERMINOS_CONDICIONES]]:!0,[X[L.AYUDA]]:!0,[X[L.SOBRE_NOSOTROS]]:!0,[X[L.CONTACTO]]:!0,[X[L.POLITICA_PRIVACIDAD]]:!0,[X[L.METODOS_PAGO]]:!0,[X[L.POLICITA_DEVOLUCIONES]]:!0,[X[L.POLITICA_ENTREGAS]]:!0,[X[L.POLITICA_COOKIES]]:!1,[X[L.TIEMPOS_TARIFAS_ENTREGA]]:!0,[X[L.ENTREGAS_DIAS_EXPECIFICOS]]:!0,[X[L.ENTREGAS_DOMICILIO]]:!0,[X[L.TARIFAS_ENTREGA]]:!0,[X[L.COMPRAS_ONLINE]]:!0,[X[L.COMBOS_ALIMENTOS]]:!0,[X[L.ENVIOS_CUBA]]:!0,[X[L.REGALOS_CUBA]]:!0,[X[L.RESERVA_BOLETOS]]:!0,[X[L.MANDAR_PAQUETES_CUBA]]:!0,[X[L.QUE_DEBE_SABER]]:!0,[X[L.LEGAL_NOTICE]]:!1,[X[L.SELL_WITH_US]]:!1,[X[L.ENVIOS_23]]:!1,[X[L.COMBUSTIBLES]]:!1};}static{this.BLOCK_VISIBILITY={"footer.block-help":!0,sitemap:!0,ofertas:!0,"limpiar-datos":!0,"footer.block-cliente":!0,"footer.block-links-interes":!0,"product-details.shipment-provinces":!0,"product-details.provider":!1,"product-details.weight":!1,"sitemap.product-list":!1,"discounted-products":!1,"free-shipping-products":!1};}static{this.RETURN_POLICY_REQUIRED=!1;}static{this.TERMS_AND_CONDITIONS_REQUIRED=!1;}static{this.RECIPIENT_FORM_CI_VISIBLE=!0;}static{this.RECIPIENT_CI_REQUIRED=!1;}static{this.TOP_BANNER=null;}static{this.TOP_REDIRECTION_BANNER=null;}static{this.OFFLINE_BANNERS=null;}static{this.CATEGORY_ADVERTISEMENTS=null;}static{this.FOOTER_IAECSP=null;}static{this.COLLAPSIBLE_FOOTER=!1;}static{this.STATUS_CHANGE$=rc.asObservable();}static{this.PROD_ELASTIC_BASE_URL=null;}static{this.ELASTIC_SOURCES={};}static{this.ELASTIC_TIMEOUT=3e4;}static{this.ELASTIC_SEARCH_ENDPOINT="v2/search/";}static{this.ENABLE_SEARCH_AUTOCOMPLETE=!0;}static{this.LOG_ROCKET={enable:!1,enableByUrl:!1,enableOnLogin:!1,enableOnLocalityDialog:!1,enableOnShareCart:!1,enableOnRateOrderClick:!1,enableOnPromoAlertInPayment:!1,enableOnMainMenuOpen:!1,enableOnCategoriesMenuOpen:!1,enableOnEmptySearchResult:!1,enableOnOrderDetail:!1,enableOnLastOrderInfoAlertShown:!1,enableOnNeighbourhoodFocus:{active:!1,atProvinces:[],atMunicipalities:[]},enableAtProvinces:[],enableAtMunicipalities:[],urls:[],sessionId:Vt.logRocketSessionId};}static{this.ENABLE_LOGROCKET=!1;}static{this.CHUNK_RECOVERY_ENABLED=!1;}static{this.LOG_ROCKET_CONFIG={console:{shouldAggregateConsoleErrors:!0},network:{requestSanitizer:r=>(r.body?.indexOf&&r.body.indexOf("Payment")!==-1&&r.body.indexOf("credit_card")!==-1&&(r.body=null),r)}};}static{this.CATEGORIES_MIN_REQUIRED_TRANSACTIONS=[];}static{this.B_MIN_REQUIRED_TRANSACTIONS=0;}static{this.CONFIRM_18={providers:[]};}static{this.PROVIDERS_RULES=[];}static{this.CAPTCHA_SITE_KEY=Vt.recaptchaSiteKey;}static{this.CAPTCHA_TO_PAY=!1;}static{this.BIG_LOGO=!1;}static{this.ADDR_EXCLUDED_COUNTRIES=[];}static{this.DELIVERY_BEFORE_31=null;}static{this.PRODUCT_INFO_LABEL_BY_PROVINCE_DATE=null;}static{this.FLOATING_CART={fromElastic:!1,updateOffset:5*60*1e3};}static{this.SHOPPING_CART={maxProducts:300};}static{this.STORE_INCENTIVE_ALERT=null;}static{this.WISHLIST={maxProducts:300};}static{this.WEEKEND_SPECIAL_PRODUCTS={providers:[]};}static{this.SEARCH_PROMO=null;}static{this.ORDERS_PROMO=null;}static{this.EMPTY_SEARCH_BANNER=null;}static{this.CATEGORY_BANNER=null;}static{this.RECENTLY_BROUGHT_ADD_PRODUCTS=!1;}static{this.CONV_STORES_BEST_SELLERS_ADD_PRODUCTS=!1;}static{this.SUGGEST_SIMILAR_PRODUCT_BY_BODEGON=!1;}static{this.PROMO_LABEL_BY_PROVIDERS={};}static{this.PROMO_AVAILABLE_INFO_DIALOG={initialDelayMs:3e4};}static{this.NEW_USER_PROMO_ALERT={active:!1,hoursFromCreated:24,start:null,end:null,title:{},description:{}};}static{this.CLIENT_SUBSCRIPTIONS={active:!1,checkClientSubscriptions:!1,method:"subscriptionsOrder",showBenefitsInProduct:!1};}static{this.GIFT_CARDS={active:!1};}static{this.FINGERPRINT={enabled:!1,apiKey:"",region:"us",endpoint:"",identifyOnRegister:!1,newUserWindowMinutes:3,identifyOnPayment:!1,deviceCheckUrl:"https://apitiendasgateway.treew.com/api/device/check",cache:null};}static{this.NET_CONTEXT=M({},gc);}static{this.LOCATION_DIALOG_ALERT={active:!1,text:{es:"",en:""}};}static{this.SUPERVISOR_GROUP="SitesProductsInspector";}static{this.ADMIN_GROUP="SitesAdmin";}static{this.PRODUCTS_ASSIGNER_GROUP="SitesProductAssigner";}static{this.MAX_INT32_NUMBER=2147483647;}static{this.YEYA=null;}static{this.EXCLUSIVE_PRODUCTS=[];}static{this.PROVIDERS_CONTACT={};}static{this.CAPTURE_LOCALITY_AT=[{province:3}];}static{this.ORDER_CLAIM={active:!1,activeLogRocketOnCreate:!1,solutionTime:72,refundTimeframe:null};}static{this.EXPRESS_SHIPPING={showBadge:!0};}static{this.CONFIRMED_DISPATCH_STATUS=1;}static{this.CONVENIENCE_STORES={active:!1,promoted:[27,28,36],deliveryTime:4,notifyAvailability:!0,notificationImgUrl:"assets/template/img/free-xh-deliv.png",provinces:[],municipalities:[],prioritizeByProvince:[1],notificationDelayMs:7e3};}static{this.PAGES_TO_SHOW_CONVENIENCE_STORES_FILTER=["categoria","clasificacion","productos-rebajados","productos/envio-gratis","productos/marca","productos"];}static{this.BUY_AGAIN={active:!0};}static{this.PAYMENT_OFFERS_REQUIRE_CONFIRM=[];}static{this.CART_PRODUCTS_REQUIRE_CONFIRM=[];}static{this.MOBILE_MEDIA_QUERY="(max-width: 767.98px)";}static{this.HOME_MIDDLE_BANNER=null;}static{this.ADVANCE_SEARCH={active:!0};}static{this.CATALOG_BASE_URL="https://productcatalog-admin.treew.com";}static{this.CHECKOUT_SHIPPING_BY_WEIGHT_INFO_LIMITS={active:!1,min:.05,max:.5,distributors:[0,3709]};}static{this.PRODUCTS_TAGS_FIXED_BY_ID=[];}static{this.PRODUCT_LABEL_BY_ID=[];}static{this.HUB_REQUIRED_INFO_BY_PRODUCT_ID=[];}static{this.PRODUCT_IMAGE_LABELS={active:!1,defaultDurationDays:7,labels:[]};}constructor(){}static init(){this.initCurrentLanguage();let r=localStorage.getItem(this.LOCAL_KEY),e;try{r&&(e=JSON.parse(atob(atob(r))));}catch{e=null;}if(e){let n=e.config,i=e.exp;new Date().getTime()<=i&&this.checkConfiguration(n)&&this.setConfiguration(n,i).subscribe();}}static initCurrentLanguage(){let r=document.documentElement.lang;this.AVAILABLE_LANGUAGES[r]&&(this.CURRENT_LANG=Ur[r.toUpperCase()]);}static initZopim(){this.CHAT.texts||(this.CHAT.texts={});let r=()=>{t.CHAT.type===ei.MODERN?this.initWidget():this.initWidgetClassic();};setTimeout(()=>r(),this.CHAT.delayed);}static initWidget(){let r={es:"es",en:"en-US"},e=t.CURRENT_LANG.toLowerCase(),n=!1,i=window.zESettings={webWidget:{analytics:t.CHAT.enableAnalytics,color:{theme:t.CHAT.color},launcher:{chatLabel:{}},chat:{suppress:!1,title:{"*":t.CHAT.title},prechatForm:{greeting:{}},offlineForm:{greeting:{}}},offset:{horizontal:"-8px",mobile:{horizontal:"-8px"}},contactForm:{suppress:!0},helpCenter:{suppress:!0},talk:{suppress:!1},answerBot:{suppress:!0}}};if(typeof t.CHAT.webWidget=="object"&&Qn.applyObjectRecursively(i.webWidget,t.CHAT.webWidget),t.CHAT.texts[t.CURRENT_LANG]){let s=t.CHAT.texts[t.CURRENT_LANG];s.title&&(i.webWidget.chat.title={"*":s.title}),i.webWidget.launcher.chatLabel={"*":s.online},i.webWidget.launcher.chatLabelOffline={"*":s.offline},i.webWidget.chat.prechatForm.greeting={"*":s.onlineMessage},i.webWidget.chat.offlineForm.greeting={"*":s.offlineMessage};}t.CHAT.color&&(i.webWidget.color.theme=t.CHAT.color),typeof zE>"u"&&this.loadScript().subscribe({next:s=>{s&&(zE("messenger:set","zIndex",750),zE("messenger:on","open",()=>{window.dispatchEvent(new Event("ze.open")),n||(zE("messenger:set","locale",r[e]??e),n=!0);}));},error:s=>{console.log(s);}});}static initWidgetClassic(){let r=window.zESettings={webWidget:{analytics:t.CHAT.enableAnalytics,color:{theme:t.CHAT.color},launcher:{chatLabel:{}},chat:{suppress:!1,title:{"*":t.CHAT.title},prechatForm:{greeting:{}},offlineForm:{greeting:{}}},offset:{horizontal:"-8px",mobile:{horizontal:"-8px"}},zIndex:750,contactForm:{suppress:!0},helpCenter:{suppress:!0},talk:{suppress:!1},answerBot:{suppress:!0}}};if(typeof t.CHAT.webWidget=="object"&&Qn.applyObjectRecursively(r.webWidget,t.CHAT.webWidget),t.CHAT.texts[t.CURRENT_LANG]){let e=t.CHAT.texts[t.CURRENT_LANG];e.title&&(r.webWidget.chat.title={"*":e.title}),r.webWidget.launcher.chatLabel={"*":e.online},r.webWidget.launcher.chatLabelOffline={"*":e.offline},r.webWidget.chat.prechatForm.greeting={"*":e.onlineMessage},r.webWidget.chat.offlineForm.greeting={"*":e.offlineMessage};}t.CHAT.color&&(r.webWidget.color.theme=t.CHAT.color),typeof zE>"u"&&this.loadScript().subscribe({next:e=>{e&&zE("webWidget","setLocale",t.CURRENT_LANG.toLowerCase());},error:e=>{console.log(e);}});}static loadScript(){return new At(r=>
4{let e=t.CHAT.keyByLang,n=t.CHAT.key;if(!n&&e&&(n=e[t.CURRENT_LANG]),n){let i=document.getElementById("ze-snippet");if(i){let s=()=>{zE?r.next(!0):r.next(!1);};i.getAttribute("data-loaded")!=="true"?window.addEventListener("ze.load",s,{once:!0}):s();}else{let s=document.createElement("script");s.type="text/javascript",s.id="ze-snippet",s.src=`https://static.zdassets.com/ekr/snippet.js?key=${n}`,s.async=!0,s.onload=()=>{s.setAttribute("data-loaded","true"),s.setAttribute("data-key",n),typeof zE<"u"?(r.next(!0),window.dispatchEvent(new Event("ze.load"))):r.next(!1);},s.onerror=()=>{r.error("Error loading cc widget.");},document.body.appendChild(s);}}else r.error("Key not configured.");});}static getImageUrl(r){return this.IMG_BASE_URL+r;}static initCurrency(){let r=this.getCookie("def_currency");!Xe&&r&&(Xe=r.toUpperCase()),(!Xe||!this.CURRENCIES.includes(Xe))&&(Xe=this.CURRENCIES[0]),localStorage.setItem(Jn,Xe),this.CURRENCY=Xe;}static getCookie(r){let e=r+"=",n=document.cookie.split(";");for(let i of n){for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(e)===0)return i.substring(e.length,i.length);}return null;}static setConfiguration(r,e=null){return new At(n=>{if(this.checkConfiguration(r)){for(let i in Ke)Ke.hasOwnProperty(i)&&(mc.includes(Ke[i])?this[Ke[i]]=r[i][this.CURRENT_LANG]:this[Ke[i]]=r[i]);this.initLogRocket(),this.initMunicipality(),this.setFavicon(),this.setTitle(),this.initCreditCards(),this.initCurrency(),"homeSections"in r&&this.initHomeSections(r.homeSections),this.initContentVisibility(r),this.initBlockVisibility(r),this.initSiteStatus(r),this.initDeliveryBefore31(r),this.CONFIGURED=!0;try{localStorage.setItem(this.LOCAL_KEY,btoa(btoa(JSON.stringify({config:r,exp:e||new Date().getTime()+1*60*1e3}))));}catch(i){console.warn("ConfigService: no se pudo cachear la config en localStorage:",i);}this.CHAT?.enable&&this.initZopim(),n.next(!0);}else this.CONFIGURED=!1,n.next(!1);return{unsubscribe(){}};});}static checkConfiguration(r){let e=!0;for(let n in Ke)if(Ke.hasOwnProperty(n)&&r[n]===void 0){console.log("Missing config: ",n),e=!1;break;}return e;}static initLogRocket(){this.ENABLE_LOGROCKET=this.LOG_ROCKET.enable,this.LOG_ROCKET.enable&&!Zn.default._isInitialized&&Zn.default.init(this.LOG_ROCKET.sessionId,this.LOG_ROCKET_CONFIG);}static shouldEnableLogRocketByLocation(r,e){let{enableAtMunicipalities:n,enableAtProvinces:i}=this.LOG_ROCKET;return e&&n?.length>0?n?.includes(e):r&&i?.length>0?i?.includes(r):!1;}static initMunicipality(){this.PROVINCE_FILTER&&!this.MUNICIPALITY_FILTER?this.MUNICIPALITY_FILTER=!0:this.PROVINCE_FILTER&&this.MUNICIPALITY_FILTER&&(this.PROVINCE_FILTER=!1);try{let r=JSON.parse(localStorage.getItem(this.MUNICIPALITY_LOCAL_STATE_KEY));
4localStorage.getItem(this.MUNICIPALITY_LOCAL_KEY)&&(!this.MUNICIPALITY_FILTER&&!this.PROVINCE_FILTER||!r||r&&(r.municipalityFilter!==this.MUNICIPALITY_FILTER||r.provinceFilter!==this.PROVINCE_FILTER))&&localStorage.removeItem(this.MUNICIPALITY_LOCAL_KEY);}catch{}localStorage.setItem(this.MUNICIPALITY_LOCAL_STATE_KEY,JSON.stringify({municipalityFilter:this.MUNICIPALITY_FILTER,provinceFilter:this.PROVINCE_FILTER}));}static setCurrency(r,e=!0){this.CURRENCIES.includes(r)&&r!==this.CURRENCY&&(this.CURRENCY=r,localStorage.setItem(Jn,this.CURRENCY),e&&window.location.reload());}static setFavicon(){let r=document.head.querySelector("link[ rel ~= icon]");this.FAVICON&&r.setAttribute("href",this.FAVICON);}static setTitle(){let r=document.head.querySelector("title");r.text=this.TITLE||location.origin;}static sortCategories(){this.MAIN_CATEGORIES.map(r=>{if(r.childrens&&r.childrens.length){let e=r.childrens.filter(n=>!n.childrens||n.childrens.length===0);r.childrens=e.concat(r.childrens.filter(n=>n.childrens&&n.childrens.length));}});}static filterCategories(){let r=e=>{e.childrens&&e.childrens.length&&(e.childrens=e.childrens.filter(n=>this.CATEGORIES_MIN_REQUIRED_TRANSACTIONS.includes(n.CategoryId)?!1:(r(n),!0)));};this.CATEGORIES_MIN_REQUIRED_TRANSACTIONS.length&&(this.MAIN_CATEGORIES=this.MAIN_CATEGORIES.filter(e=>this.CATEGORIES_MIN_REQUIRED_TRANSACTIONS.includes(e.CategoryId)?!1:(r(e),!0)));}static setContactPhone(r){r?this.CONTACT_PHONE=r:this.DEFAULT_PHONE&&(this.CONTACT_PHONE={number:this.DEFAULT_PHONE.replace(/\D/g,""),text:this.DEFAULT_PHONE});}static initSiteStatus(r){let e=localStorage.getItem(Vt.inactiveLocalKey),n;try{n=JSON.parse(e);}catch{n=!1;}r.siteStatus?(this.ACTIVE=this.MUNICIPALITY_FILTER&&n?!1:r.siteStatus.active,this.ACTIVE||(this.HOME_SLIDES=r.siteStatus.inactivationBanner[this.CURRENT_LANG],this.OFFLINE_MESSAGE=r.siteStatus.inactivationMessage[this.CURRENT_LANG])):this.ACTIVE=!Vt.offline;}static initHomeSections(r){for(let e in this.HOME_SECTIONS)this.HOME_SECTIONS.hasOwnProperty(e)&&e in r&&(this.HOME_SECTIONS[e]=r[e]);}static initCreditCards(){for(let r in Pr)Pr.hasOwnProperty(r)&&(this.ALLOWED_CREDIT_CARDS.includes(r)||delete Pr[r]);}static initContentVisibility(r){r.contentPagesVisibility&&typeof r.contentPagesVisibility=="object"&&(this.CONTENT_PAGES_VISIBILITY=M(M({},this.CONTENT_PAGES_VISIBILITY),r.contentPagesVisibility));}static initBlockVisibility(r){r.blockVisibility&&typeof r.blockVisibility=="object"&&(this.BLOCK_VISIBILITY=M(M({},this.BLOCK_VISIBILITY),r.blockVisibility));}static isConfirm18Needed(){return this.CONFIRM_18.providers&&this.CONFIRM_18.providers.length;}static initDeliveryBefore31(r){"deliveryBefore31"in r&&typeof this.DELIVERY_BEFORE_31?.end=="string"&&(this.DELIVERY_BEFORE_31.end=new Date(r.deliveryBefore31.end));}static{this.ɵfac=function(e){return new(e||t)();};}static{this.ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}};We.init();var B="primary",or=Symbol("RouteTitle"),si=class{params;constructor(r){this.params=r||{};}has(r){return Object.prototype.hasOwnProperty.call(this.params,r);}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e;}return null;}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e];}return[];}get keys(){return Object.keys(this.params);}};function Je(t){return new si(t);}function go(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let s=0;s<n.length;s++){let o=n[s],a=t[s];if(o[0]===":")i[o.substring(1)]=a;else if(o!==a.path)return null;}return{consumed:t.slice(0,n.length),posParams:i};}function vc(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!Re(t[e],r[e]))return!1;return!0;}function Re(t,r){let e=t?oi(t):void 0,n=r?oi(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let s=0;s<e.length;s++)if(i=e[s],!mo(t[i],r[i]))return!1;return!0;}function oi(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)];}function mo(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,s)=>n[s]===i);}else return t===r;}function vo(t){return t.length>0?t[t.length-1]:null;}function $e(t){return bi(t)?t:cs(t)?J(Promise.resolve(t)):U(t);}var Ec={exact:Ro,subset:yo},Eo={exact:Rc,subset:yc,ignored:()=>!0};function ao(t,r,e){return Ec[e.paths](t.root,r.root,e.matrixParams)&&Eo[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment);}function Rc(t,r){return Re(t,r);}function Ro(t,r,e){if(!Qe(t.segments,r.segments)||!Fr(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;
4for(let n in r.children)if(!t.children[n]||!Ro(t.children[n],r.children[n],e))return!1;return!0;}function yc(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>mo(t[e],r[e]));}function yo(t,r,e){return So(t,r,r.segments,e);}function So(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Qe(i,e)||r.hasChildren()||!Fr(i,e,n));}else if(t.segments.length===e.length){if(!Qe(t.segments,e)||!Fr(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!yo(t.children[i],r.children[i],n))return!1;return!0;}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!Qe(t.segments,i)||!Fr(t.segments,i,n)||!t.children[B]?!1:So(t.children[B],r,s,n);}}function Fr(t,r,e){return r.every((n,i)=>Eo[e](t[i].parameters,n.parameters));}var Se=class{root;queryParams;fragment;_queryParamMap;constructor(r=new V([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n;}get queryParamMap(){return this._queryParamMap??=Je(this.queryParams),this._queryParamMap;}toString(){return Tc.serialize(this);}},V=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this);}hasChildren(){return this.numberOfChildren>0;}get numberOfChildren(){return Object.keys(this.children).length;}toString(){return Br(this);}},xe=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e;}get parameterMap(){return this._parameterMap??=Je(this.parameters),this._parameterMap;}toString(){return To(this);}};function Sc(t,r){return Qe(t,r)&&t.every((e,n)=>Re(e.parameters,r[n].parameters));}function Qe(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path);}function _c(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===B&&(e=e.concat(r(i,n)));}),Object.entries(t.children).forEach(([n,i])=>{n!==B&&(e=e.concat(r(i,n)));}),e;}var et=(()=>{class t{static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:()=>new ke(),providedIn:"root"});}return t;})(),ke=class{parse(r){let e=new ci(r);return new Se(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment());}serialize(r){let e=`/${Wt(r.root,!0)}`,n=Oc(r.queryParams),i=typeof r.fragment=="string"?`#${Ic(r.fragment)}`:"";return`${e}${n}${i}`;}},Tc=new ke();function Br(t){return t.segments.map(r=>To(r)).join("/");}function Wt(t,r){if(!t.hasChildren())return Br(t);if(r){let e=t.children[B]?Wt(t.children[B],!1):"",n=[];return Object.entries(t.children).forEach(([i,s])=>{i!==B&&n.push(`${i}:${Wt(s,!1)}`);}),n.length>0?`${e}(${n.join("//")})`:e;}else{let e=_c(t,(n,i)=>i===B?[Wt(t.children[B],!1)]:[`${i}:${Wt(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[B]!=null?`${Br(t)}
4/${e[0]}`:`${Br(t)}/(${e.join("//")})`;}}function _o(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",");}function xr(t){return _o(t).replace(/%3B/gi,";");}function Ic(t){return encodeURI(t);}function ai(t){return _o(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&");}function $r(t){return decodeURIComponent(t);}function co(t){return $r(t.replace(/\+/g,"%20"));}function To(t){return`${ai(t.path)}${Cc(t.parameters)}`;}function Cc(t){return Object.entries(t).map(([r,e])=>`;${ai(r)}=${ai(e)}`).join("");}function Oc(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${xr(e)}=${xr(i)}`).join("&"):`${xr(e)}=${xr(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:"";}var Ac=/^[^\/()?;#]+/;function ti(t){let r=t.match(Ac);return r?r[0]:"";}var wc=/^[^\/()?;=#]+/;function Dc(t){let r=t.match(wc);return r?r[0]:"";}var Nc=/^[^=?&#]+/;function Mc(t){let r=t.match(Nc);return r?r[0]:"";}var bc=/^[^&#]+/;function Lc(t){let r=t.match(bc);return r?r[0]:"";}var ci=class{url;remaining;constructor(r){this.url=r,this.remaining=r;}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new V([],{}):new V([],this.parseChildren());}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r;}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null;}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[B]=new V(r,e)),n;}parseSegment(){let r=ti(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new G(4009,!1);return this.capture(r),new xe($r(r),this.parseMatrixParams());}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r;}parseParam(r){let e=Dc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=ti(this.remaining);i&&(n=i,this.capture(n));}r[$r(e)]=$r(n);}parseQueryParam(r){let e=Mc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let o=Lc(this.remaining);o&&(n=o,this.capture(n));}let i=co(e),s=co(n);if(r.hasOwnProperty(i)){let o=r[i];Array.isArray(o)||(o=[o],r[i]=o),o.push(s);}else r[i]=s;}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=ti(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new G(4010,!1);let s;n.indexOf(":")>-1?(s=n.slice(0,n.indexOf(":")),this.capture(s),this.capture(":")):r&&(s=B);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[B]:new V([],o),this.consumeOptional("//");}return e;}peekStartsWith(r){return this.remaining.startsWith(r);}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1;}capture(r){if(!this.consumeOptional(r))throw new G(4011,!1);}};function Io(t){return t.segments.length>0?new V([],{[B]:t}):t;}function Co(t){let r={};for(let[n,i]of Object.entries(t.children)){let s=Co(i);if(n===B&&s.segments.length===0&&s.hasChildren())for(let[o,a]of Object.entries(s.children))r[o]=a;else(s.segments.length>0||s.hasChildren())&&(r[n]=s);}let e=new V(t.segments,r);return Pc(e);}function Pc(t){if(t.numberOfChildren===1&&t.children[B]){let r=t.children[B];return new V(t.segments.concat(r.segments),r.children);}return t;}function Fe(t){return t instanceof Se;}function Oo(t,r,e=null,n=null){let i=Ao(t);return wo(i,r,e,n);}function Ao(t){let r;function e(s){let o={};for(let c of s.children){let u=e(c);o[c.outlet]=u;}let a=new V(s.url,o);return s===t&&(r=a),a;}let n=e(t.root),i=Io(n);return r??i;}function wo(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return ri(i,i,i,e,n);let s=Uc(r);if(s.toRoot())return ri(i,i,new V([],{}),e,n);let o=xc(s,i,t),a=o.processChildren?Kt(o.segmentGroup,o.index,s.commands):No(o.segmentGroup,o.index,s.commands);return ri(i,o.segmentGroup,a,e,n);}function Hr(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath;}function Zt(t){return typeof t=="object"&&t!=null&&t.outlets;}function ri(t,r,e,n,i){let s={};
4n&&Object.entries(n).forEach(([c,u])=>{s[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`;});let o;t===r?o=e:o=Do(t,r,e);let a=Io(Co(o));return new Se(a,s,i);}function Do(t,r,e){let n={};return Object.entries(t.children).forEach(([i,s])=>{s===r?n[i]=e:n[i]=Do(s,r,e);}),new V(t.segments,n);}var Gr=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&Hr(n[0]))throw new G(4003,!1);let i=n.find(Zt);if(i&&i!==vo(n))throw new G(4004,!1);}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/";}};function Uc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Gr(!0,0,t);let r=0,e=!1,n=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let a={};return Object.entries(s.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u;}),[...i,{outlets:a}];}if(s.segmentPath)return[...i,s.segmentPath];}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a));}),i):[...i,s];},[]);return new Gr(e,r,n);}var gt=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n;}};function xc(t,r,e){if(t.isAbsolute)return new gt(r,!0,0);if(!e)return new gt(r,!1,NaN);if(e.parent===null)return new gt(e,!0,0);let n=Hr(t.commands[0])?0:1,i=e.segments.length-1+n;return kc(e,i,t.numberOfDoubleDots);}function kc(t,r,e){let n=t,i=r,s=e;for(;s>i;){if(s-=i,n=n.parent,!n)throw new G(4005,!1);i=n.segments.length;}return new gt(n,!1,i-s);}function Fc(t){return Zt(t[0])?t[0].outlets:{[B]:t};}function No(t,r,e){if(t??=new V([],{}),t.segments.length===0&&t.hasChildren())return Kt(t,r,e);let n=Bc(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let s=new V(t.segments.slice(0,n.pathIndex),{});return s.children[B]=new V(t.segments.slice(n.pathIndex),t.children),Kt(s,0,i);}else return n.match&&i.length===0?new V(t.segments,{}):n.match&&!t.hasChildren()?ui(t,r,e):n.match?Kt(t,0,i):ui(t,r,e);}function Kt(t,r,e){if(e.length===0)return new V(t.segments,{});{let n=Fc(e),i={};if(Object.keys(n).some(s=>s!==B)&&t.children[B]&&t.numberOfChildren===1&&t.children[B].segments.length===0){let s=Kt(t.children[B],r,e);return new V(t.segments,s.children);}return Object.entries(n).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=No(t.children[s],r,o));}),Object.entries(t.children).forEach(([s,o])=>{n[s]===void 0&&(i[s]=o);}),new V(t.segments,i);}}function Bc(t,r,e){let n=0,i=r,s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return s;let o=t.segments[i],a=e[n];if(Zt(a))break;let c=`${a}`,u=n<e.length-1?e[n+1]:null;if(i>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!lo(c,u,o))return s;n+=2;}else{if(!lo(c,{},o))return s;n++;}i++;}return{match:!0,pathIndex:i,commandIndex:n};}function ui(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let s=e[i];if(Zt(s)){let c=$c(s.outlets);return new V(n,c);}if(i===0&&Hr(e[0])){let c=t.segments[r];n.push(new xe(c.path,uo(e[0]))),i++;continue;}let o=Zt(s)?s.outlets[B]:`${s}`,a=i<e.length-1?e[i+1]:null;o&&a&&Hr(a)?(n.push(new xe(o,uo(a))),i+=2):(n.push(new xe(o,{})),i++);}return new V(n,{});}function $c(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=ui(new V([],{}),0,n));}),r;}function uo(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r;}function lo(t,r,e){return t==e.path&&Re(r,e.parameters);}var jr="imperative",Z=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t;}(Z||{}),ue=class{id;url;constructor(r,e){this.id=r,this.url=e;}},Be=class extends ue{type=Z.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i;}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`;}},le=class extends ue{urlAfterRedirects;type=Z.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n;}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;}},oe=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromRe
4solver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t;}(oe||{}),vt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t;}(vt||{}),ye=class extends ue{reason;code;type=Z.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i;}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`;}},_e=class extends ue{reason;code;type=Z.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i;}},Et=class extends ue{error;target;type=Z.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i;}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;}},Jt=class extends ue{urlAfterRedirects;state;type=Z.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},zr=class extends ue{urlAfterRedirects;state;type=Z.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},Vr=class extends ue{urlAfterRedirects;state;shouldActivate;type=Z.GuardsCheckEnd;constructor(r,e,n,i,s){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s;}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;}},Yr=class extends ue{urlAfterRedirects;state;type=Z.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},qr=class extends ue{urlAfterRedirects;state;type=Z.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i;}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;}},Wr=class{route;type=Z.RouteConfigLoadStart;constructor(r){this.route=r;}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`;}},Xr=class{route;type=Z.RouteConfigLoadEnd;constructor(r){this.route=r;}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`;}},Kr=class{snapshot;type=Z.ChildActivationStart;constructor(r){this.snapshot=r;}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Qr=class{snapshot;type=Z.ChildActivationEnd;constructor(r){this.snapshot=r;}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Zr=class{snapshot;type=Z.ActivationStart;constructor(r){this.snapshot=r;}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Jr=class{snapshot;type=Z.ActivationEnd;constructor(r){this.snapshot=r;}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`;}},Rt=class{routerEvent;position;anchor;type=Z.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n;}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`;}},er=class{},yt=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e;}};function jc(t,r){return t.providers&&!t._injector&&(t._injector=vr(t.providers,r,`Route: ${t.path}`)),t._injector??r;}function ve(t){return t.outlet||B;}function Hc(t,r){let e=t.filter(n=>ve(n)===r);return e.push(...t.filter(n=>ve(n)!==r)),e;}function ar(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector;}return null;}var en=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ar(this.route?.snapshot)??this.rootInjector;}constructor(r){this.rootInjector=r,this.children=new tt(this.rootInjector);}},tt=(()=>{class t{rootInjector;contexts=new Map();constructor(e){this.rootInjector=e;}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i);}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null);}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map(),e;}onOutletReAttached(e){this.contexts=e;}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new en(this.rootInjector),this.contexts.set(e,n)),n;}getContext(e){return this.contexts.get(e)||null;}static ɵfac=function(n){return new(n||t)(k(Me));};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),tn=class{_root;constructor(r){this._root=r;}get root(){return this._root.value;}
4parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null;}children(r){let e=li(r,this._root);return e?e.children.map(n=>n.value):[];}firstChild(r){let e=li(r,this._root);return e&&e.children.length>0?e.children[0].value:null;}siblings(r){let e=di(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r);}pathFromRoot(r){return di(r,this._root).map(e=>e.value);}};function li(t,r){if(t===r.value)return r;for(let e of r.children){let n=li(t,e);if(n)return n;}return null;}function di(t,r){if(t===r.value)return[r];for(let e of r.children){let n=di(t,e);if(n.length)return n.unshift(r),n;}return[];}var ce=class{value;children;constructor(r,e){this.value=r,this.children=e;}toString(){return`TreeNode(${this.value})`;}};function pt(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r;}var tr=class extends tn{snapshot;constructor(r,e){super(r),this.snapshot=e,Ri(this,r);}toString(){return this.snapshot.toString();}};function Mo(t){let r=Gc(t),e=new de([new xe("",{})]),n=new de({}),i=new de({}),s=new de({}),o=new de(""),a=new we(e,n,s,o,i,B,t,r.root);return a.snapshot=r.root,new tr(new ce(a,[]),r);}function Gc(t){let r={},e={},n={},i="",s=new Ze([],r,n,i,e,B,t,null,{});return new rr("",new ce(s,[]));}var we=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,s,o,a,c){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(z(u=>u[or]))??U(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s;}get routeConfig(){return this._futureSnapshot.routeConfig;}get root(){return this._routerState.root;}get parent(){return this._routerState.parent(this);}get firstChild(){return this._routerState.firstChild(this);}get children(){return this._routerState.children(this);}get pathFromRoot(){return this._routerState.pathFromRoot(this);}get paramMap(){return this._paramMap??=this.params.pipe(z(r=>Je(r))),this._paramMap;}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(z(r=>Je(r))),this._queryParamMap;}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`;}};function rn(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:M(M({},r.params),t.params),data:M(M({},r.data),t.data),resolve:M(M(M(M({},t.data),r.data),i?.data),t._resolvedData)}:n={params:M({},t.params),data:M({},t.data),resolve:M(M({},t.data),t._resolvedData??{})},i&&Lo(i)&&(n.resolve[or]=i.title),n;}var Ze=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[or];}constructor(r,e,n,i,s,o,a,c,u){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=o,this.component=a,this.routeConfig=c,this._resolve=u;}get root(){return this._routerState.root;}get parent(){return this._routerState.parent(this);}get firstChild(){return this._routerState.firstChild(this);}get children(){return this._routerState.children(this);}get pathFromRoot(){return this._routerState.pathFromRoot(this);}get paramMap(){return this._paramMap??=Je(this.params),this._paramMap;}get queryParamMap(){return this._queryParamMap??=Je(this.queryParams),this._queryParamMap;}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`;}},rr=class extends tn{url;constructor(r,e){super(e),this.url=r,Ri(this,e);}toString(){return bo(this._root);}};function Ri(t,r){r.value._routerState=t,r.children.forEach(e=>Ri(t,e));}function bo(t){let r=t.children.length>0?` { ${t.children.map(bo).join(", ")} } `:"";return`${t.value}${r}`;}function ni(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Re(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Re(r.params,e.params)||t.paramsSubject.next(e.params),vc(r.url,e.url)||t.urlSubject.next(e.url),Re(r.data,e.data)||t.dataSubject.next(e.data);}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data);}function hi(t,r){let e=Re(t.params,r.params)&&Sc(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||hi(t.parent,r.parent));}function Lo(t){return typeof t.title=="string"||t.title===null;}var Po=new q(""),yi=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated;}_activatedRoute=null;name=B;activateEvents=new Ge();deactivateEvents=new Ge();attachEvents=new Ge();detachEvents=new Ge();routerOutletData=Hi(void 0);parentContexts=b(tt);location=b(is);changeDetector=b(yr);inputBinder=b(cr,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName();}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this);}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this;}ngOnInit(){this.initializeOutletWithName();}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector));}get isActivated(){return!!this.activated;}get component(){if(!this.activated)throw new G(4012,!1);return this.activated.instance;}get activatedRoute(){if(!this.activated)throw new G(4012,!1);return this._activatedRoute;}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{};}detach(){if(!this.activated)throw new G(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e;}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance);}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e);}}activateWith(e,n){if(this.isActivated)throw new G(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new fi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(o,{index:i.length,injector:c,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance);}static ɵfac=function(n){return new(n||t)();};static ɵdir=Ut({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Nt]});}return t;})(),fi=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i;}get(r,e){return r===we?this.route:r===tt?this.childContexts:r===Po?this.outletData:this.parent.get(r,e);}},cr=new q(""),Si=(()=>{class t{outletDataSubscriptions=new Map();bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e);}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e);}subscribeToRouteData(e){let{activatedRoute:n}=e,i=gr([n.queryParams,n.params,n.data]).pipe(ae(([s,o,a],c)=>(a=M(M(M({},s),o),a),c===0?U(a):Promise.resolve(a)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return;}let o=ys(n.component);if(!o){this.unsubscribeFromRouteData(e);return;}for(let{templateName:a}of o.inputs)e.activatedComponentRef.setInput(a,s[a]);});this.outletDataSubscriptions.set(e,i);}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})(),_i=(()=>{class t{static ɵfac=function(n){return new(n||t)();};static ɵcmp=os({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&ds(0,"router-outlet");},dependencies:[yi],encapsulation:2});}return t;})();function Ti(t){let r=t.children&&t.children.map(Ti),e=r?ne(M({},t),{children:r}):M({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==B&&(e.component=_i),e;}function zc(t,r,e){let n=nr(t,r._root,e?e._root:void 0);return new tr(n,r);}function nr(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=Vc(t,r,e);return new ce(n,i);}else{if(t.shouldAttach(r.value)){let s=t.retrieve(r.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=r.value,o.children=r.children.map(a=>nr(t,a)),o;}}let n=Yc(r.value),i=r.children.map(s=>nr(t,s));return new ce(n,i);}}function Vc(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return nr(t,n,i);return nr(t,n);});}
4function Yc(t){return new we(new de(t.url),new de(t.params),new de(t.queryParams),new de(t.fragment),new de(t.data),t.outlet,t.component,t);}var St=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e;}},Uo="ngNavigationCancelingError";function nn(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=Fe(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=xo(!1,oe.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i;}function xo(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[Uo]=!0,e.cancellationCode=r,e;}function qc(t){return ko(t)&&Fe(t.url);}function ko(t){return!!t&&t[Uo];}var Wc=(t,r,e,n)=>z(i=>(new pi(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),pi=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,s){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=s;}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),ni(this.futureState.root),this.activateChildRoutes(e,n,r);}deactivateChildRoutes(r,e,n){let i=pt(e);r.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],n),delete i[o];}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,n);});}deactivateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(i===s){if(i.component){let o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(r,e,o.children);}else this.deactivateChildRoutes(r,e,n);}else s&&this.deactivateRouteAndItsChildren(e,n);}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e);}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=pt(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(n&&n.outlet){let o=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:o,route:r,contexts:a});}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,s=pt(r);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null);}activateChildRoutes(r,e,n){let i=pt(e);r.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],n),this.forwardEvent(new Jr(s.value.snapshot));}),r.children.length&&this.forwardEvent(new Qr(r.value.snapshot));}activateRoutes(r,e,n){let i=r.value,s=e?e.value:null;if(ni(i),i===s){if(i.component){let o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,o.children);}else this.activateChildRoutes(r,e,n);}else if(i.component){let o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),ni(a.route.value),this.activateChildRoutes(r,null,o.children);}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(r,null,o.children);}else this.activateChildRoutes(r,null,n);}},sn=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1];}},mt=class{component;route;constructor(r,e){this.component=r,this.route=e;}};function Xc(t,r,e){let n=t._root,i=r?r._root:null;return Xt(n,i,e,[n.value]);}function Kc(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r};}function Tt(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Bi(t)?t:r.get(t):n;}function Xt(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=pt(r);return t.children.forEach(o=>{Qc(o,s[o.value.outlet],e,n.concat([o.value]),i),delete s[o.value.outlet];}),Object.entries(s).forEach(([o,a])=>Qt(a,e.getContext(o),i)),i;}function Qc(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=r?r.value:null,a=e?e.getContext(t.value.outlet):null;
4if(o&&s.routeConfig===o.routeConfig){let c=Zc(o,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new sn(n)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Xt(t,r,a?a.children:null,n,i):Xt(t,r,e,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new mt(a.outlet.component,o));}else o&&Qt(r,a,i),i.canActivateChecks.push(new sn(n)),s.component?Xt(t,null,a?a.children:null,n,i):Xt(t,null,e,n,i);return i;}function Zc(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Qe(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Qe(t.url,r.url)||!Re(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hi(t,r)||!Re(t.queryParams,r.queryParams);case"paramsChange":default:return!hi(t,r);}}function Qt(t,r,e){let n=pt(t),i=t.value;Object.entries(n).forEach(([s,o])=>{i.component?r?Qt(o,r.children.getContext(s),e):Qt(o,null,e):Qt(o,r,e);}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new mt(r.outlet.component,i)):e.canDeactivateChecks.push(new mt(null,i)):e.canDeactivateChecks.push(new mt(null,i));}function ur(t){return typeof t=="function";}function Jc(t){return typeof t=="boolean";}function eu(t){return t&&ur(t.canLoad);}function tu(t){return t&&ur(t.canActivate);}function ru(t){return t&&ur(t.canActivateChild);}function nu(t){return t&&ur(t.canDeactivate);}function iu(t){return t&&ur(t.canMatch);}function Fo(t){return t instanceof Li||t?.name==="EmptyError";}var kr=Symbol("INITIAL_VALUE");function _t(){return ae(t=>gr(t.map(r=>r.pipe(it(1),ki(kr)))).pipe(z(r=>{for(let e of r)if(e!==!0){if(e===kr)return kr;if(e===!1||su(e))return e;}return!0;}),Ee(r=>r!==kr),it(1)));}function su(t){return Fe(t)||t instanceof St;}function ou(t,r){return ie(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?U(ne(M({},e),{guardsResult:!0})):au(o,n,i,t).pipe(ie(a=>a&&Jc(a)?cu(n,s,t,r):U(a)),z(a=>ne(M({},e),{guardsResult:a})));});}function au(t,r,e,n){return J(t).pipe(ie(i=>fu(i.component,i.route,e,r,n)),Ne(i=>i!==!0,!0));}function cu(t,r,e,n){return J(r).pipe(Ce(i=>Pi(lu(i.route.parent,n),uu(i.route,n),hu(t,i.path,e),du(t,i.route,e))),Ne(i=>i!==!0,!0));}function uu(t,r){return t!==null&&r&&r(new Zr(t)),U(!0);}function lu(t,r){return t!==null&&r&&r(new Kr(t)),U(!0);}function du(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return U(!0);let i=n.map(s=>mn(()=>{let o=ar(r)??e,a=Tt(s,o),c=tu(a)?a.canActivate(r,t):he(o,()=>a(r,t));return $e(c).pipe(Ne());}));return U(i).pipe(_t());}function hu(t,r,e){let n=r[r.length-1],s=r.slice(0,r.length-1).reverse().map(o=>Kc(o)).filter(o=>o!==null).map(o=>mn(()=>{let a=o.guards.map(c=>{let u=ar(o.node)??e,l=Tt(c,u),p=ru(l)?l.canActivateChild(n,t):he(u,()=>l(n,t));return $e(p).pipe(Ne());});return U(a).pipe(_t());}));return U(s).pipe(_t());}function fu(t,r,e,n,i){let s=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!s||s.length===0)return U(!0);let o=s.map(a=>{let c=ar(r)??i,u=Tt(a,c),l=nu(u)?u.canDeactivate(t,r,e,n):he(c,()=>u(t,r,e,n));return $e(l).pipe(Ne());});return U(o).pipe(_t());}function pu(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return U(!0);let s=i.map(o=>{let a=Tt(o,t),c=eu(a)?a.canLoad(r,e):he(t,()=>a(r,e));return $e(c);});return U(s).pipe(_t(),Bo(n));}function Bo(t){return Mi(ee(r=>{if(typeof r!="boolean")throw nn(t,r);}),z(r=>r===!0));}function gu(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return U(!0);let s=i.map(o=>{let a=Tt(o,t),c=iu(a)?a.canMatch(r,e):he(t,()=>a(r,e));return $e(c);});return U(s).pipe(_t(),Bo(n));}var ir=class{segmentGroup;constructor(r){this.segmentGroup=r||null;}},sr=class extends Error{urlTree;constructor(r){super(),this.urlTree=r;}};function ft(t){return wt(new ir(t));}function mu(t){return wt(new G(4e3,!1));}function vu(t){return wt(xo(!1,oe.GuardRejected));}var gi=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e;}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return U(n);if(i.numberOfChildren>1||!i.children[B])return mu(`${r.redirectTo}`);i=i.children[B];}}applyRedirectCommands(r,e,n,i,s){if(typeof e!="string"){let a=e,{queryParams:c,fragment:u,routeConfig:l,url:p,outlet:v,params:h,data:y,title:R}=i,_=he(s,()=>a({params:h,data:y,queryParams:c,fragment:u,routeConfig:l,url:p,outlet:v,title:R}));if(_ instanceof Se)throw new sr(_);e=_;}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new sr(o);return o;}applyRedirectCreateUrlTree(r,e,n,i){let s=this.createSegmentGroup(r,e.root,n,i);return new Se(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment);}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let a=s.substring(1);n[i]=e[a];}else n[i]=s;}),n;}createSegmentGroup(r,e,n,i){let s=this.createSegments(r,e.segments,n,i),o={};
4return Object.entries(e.children).forEach(([a,c])=>{o[a]=this.createSegmentGroup(r,c,n,i);}),new V(s,o);}createSegments(r,e,n,i){return e.map(s=>s.path[0]===":"?this.findPosParam(r,s,i):this.findOrReturn(s,n));}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new G(4001,!1);return i;}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++;}return r;}},mi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Eu(t,r,e,n,i){let s=$o(t,r,e);return s.matched?(n=jc(r,n),gu(n,r,e,i).pipe(z(o=>o===!0?s:M({},mi)))):U(s);}function $o(t,r,e){if(r.path==="**")return Ru(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?M({},mi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||go)(e,t,r);if(!i)return M({},mi);let s={};Object.entries(i.posParams??{}).forEach(([a,c])=>{s[a]=c.path;});let o=i.consumed.length>0?M(M({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}};}function Ru(t){return{matched:!0,parameters:t.length>0?vo(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}};}function ho(t,r,e,n){return e.length>0&&_u(t,e,n)?{segmentGroup:new V(r,Su(n,new V(e,t.children))),slicedSegments:[]}:e.length===0&&Tu(t,e,n)?{segmentGroup:new V(t.segments,yu(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new V(t.segments,t.children),slicedSegments:e};}function yu(t,r,e,n){let i={};for(let s of e)if(an(t,r,s)&&!n[ve(s)]){let o=new V([],{});i[ve(s)]=o;}return M(M({},n),i);}function Su(t,r){let e={};e[B]=r;for(let n of t)if(n.path===""&&ve(n)!==B){let i=new V([],{});e[ve(n)]=i;}return e;}function _u(t,r,e){return e.some(n=>an(t,r,n)&&ve(n)!==B);}function Tu(t,r,e){return e.some(n=>an(t,r,n));}function an(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path==="";}function Iu(t,r,e){return r.length===0&&!t.children[e];}var vi=class{};function Cu(t,r,e,n,i,s,o="emptyOnly"){return new Ei(t,r,e,n,i,o,s).recognize();}var Ou=31,Ei=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,s,o,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=a,this.applyRedirects=new gi(this.urlSerializer,this.urlTree);}noMatchError(r){return new G(4002,`'${r.segmentGroup}'`);}recognize(){let r=ho(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(z(({children:e,rootSnapshot:n})=>{let i=new ce(n,e),s=new rr("",i),o=Oo(n,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o};}));}match(r){let e=new Ze([],Object.freeze({}),Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),B,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,B,e).pipe(z(n=>({children:n,rootSnapshot:e})),je(n=>{if(n instanceof sr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof ir?this.noMatchError(n):n;}));}processSegmentGroup(r,e,n,i,s){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,s):this.processSegment(r,e,n,n.segments,i,!0,s).pipe(z(o=>o instanceof ce?[o]:[]));}processChildren(r,e,n,i){let s=[];for(let o of Object.keys(n.children))o==="primary"?s.unshift(o):s.push(o);return J(s).pipe(Ce(o=>{let a=n.children[o],c=Hc(e,o);return this.processSegmentGroup(r,c,a,o,i);}),xi((o,a)=>(o.push(...a),o)),vn(null),Ui(),ie(o=>{if(o===null)return ft(n);let a=jo(o);return Au(a),U(a);}));}processSegment(r,e,n,i,s,o,a){return J(e).pipe(Ce(c=>this.processSegmentAgainstRoute(c._injector??r,e,c,n,i,s,o,a).pipe(je(u=>{if(u instanceof ir)return U(null);throw u;}))),Ne(c=>!!c),je(c=>{if(Fo(c))return Iu(n,i,s)?U(new vi()):ft(n);throw c;}));}processSegmentAgainstRoute(r,e,n,i,s,o,a,c){return ve(n)!==o&&(o===B||!an(i,s,n))?ft(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,s,o,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,s,o,c):ft(i);}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,s,o,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:p,remainingSegments:v}=$o(e,i,s);if(!c)return ft(e);
4typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ou&&(this.allowRedirects=!1));let h=new Ze(s,u,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,fo(i),ve(i),i.component??i._loadedComponent??null,i,po(i)),y=rn(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(y.params),h.data=Object.freeze(y.data);let R=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,p,h,r);return this.applyRedirects.lineralizeSegments(i,R).pipe(ie(_=>this.processSegment(r,n,e,_.concat(v),o,!1,a)));}matchSegmentAgainstRoute(r,e,n,i,s,o){let a=Eu(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(ae(c=>c.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(ae(({routes:u})=>{let l=n._loadedInjector??r,{parameters:p,consumedSegments:v,remainingSegments:h}=c,y=new Ze(v,p,Object.freeze(M({},this.urlTree.queryParams)),this.urlTree.fragment,fo(n),ve(n),n.component??n._loadedComponent??null,n,po(n)),R=rn(y,o,this.paramsInheritanceStrategy);y.params=Object.freeze(R.params),y.data=Object.freeze(R.data);let{segmentGroup:_,slicedSegments:g}=ho(e,v,h,u);if(g.length===0&&_.hasChildren())return this.processChildren(l,u,_,y).pipe(z(d=>new ce(y,d)));if(u.length===0&&g.length===0)return U(new ce(y,[]));let m=ve(n)===s;return this.processSegment(l,u,_,g,m?B:s,!0,y).pipe(z(d=>new ce(y,d instanceof ce?[d]:[])));}))):ft(e)));}getChildConfig(r,e,n){return e.children?U({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?U({routes:e._loadedRoutes,injector:e._loadedInjector}):pu(r,e,n,this.urlSerializer).pipe(ie(i=>i?this.configLoader.loadChildren(r,e).pipe(ee(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector;})):vu(e))):U({routes:[],injector:r});}};function Au(t){t.sort((r,e)=>r.value.outlet===B?-1:e.value.outlet===B?1:r.value.outlet.localeCompare(e.value.outlet));}function wu(t){let r=t.value.routeConfig;return r&&r.path==="";}function jo(t){let r=[],e=new Set();for(let n of t){if(!wu(n)){r.push(n);continue;}let i=r.find(s=>n.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n);}for(let n of e){let i=jo(n.children);r.push(new ce(n.value,i));}return r.filter(n=>!e.has(n));}function fo(t){return t.data||{};}function po(t){return t.resolve||{};}function Du(t,r,e,n,i,s){return ie(o=>Cu(t,r,e,n,o.extractedUrl,i,s).pipe(z(({state:a,tree:c})=>ne(M({},o),{targetSnapshot:a,urlAfterRedirects:c}))));}function Nu(t,r){return ie(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return U(e);let s=new Set(i.map(c=>c.route)),o=new Set();for(let c of s)if(!o.has(c))for(let u of Ho(c))o.add(u);let a=0;return J(o).pipe(Ce(c=>s.has(c)?Mu(c,n,t,r):(c.data=rn(c,c.parent,t).resolve,U(void 0))),ee(()=>a++),En(1),ie(c=>a===o.size?U(e):Ie));});}function Ho(t){let r=t.children.map(e=>Ho(e)).flat();return[t,...r];}function Mu(t,r,e,n){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!Lo(i)&&(s[or]=i.title),bu(s,t,r,n).pipe(z(o=>(t._resolvedData=o,t.data=rn(t,t.parent,e).resolve,null)));}function bu(t,r,e,n){let i=oi(t);if(i.length===0)return U({});let s={};return J(i).pipe(ie(o=>Lu(t[o],r,e,n).pipe(Ne(),ee(a=>{if(a instanceof St)throw nn(new ke(),a);s[o]=a;}))),En(1),z(()=>s),je(o=>Fo(o)?Ie:wt(o)));}function Lu(t,r,e,n){let i=ar(r)??n,s=Tt(t,i),o=s.resolve?s.resolve(r,e):he(i,()=>s(r,e));return $e(o);}function ii(t){return ae(r=>{let e=t(r);return e?J(e).pipe(z(()=>r)):U(r);});}var Ii=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(s=>s.outlet===B);return n;}getResolvedTitleForRoute(e){return e.data[or];}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:()=>b(Go),providedIn:"root"});}return t;})(),Go=(()=>{class t extends Ii{title;constructor(e){super(),this.title=e;}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n);}static ɵfac=function(n){return new(n||t)(k(Js));};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),rt=new q("",{providedIn:"root",factory:()=>({})}),It=new q(""),cn=(()=>{class t{componentLoaders=new WeakMap();childrenLoaders=new WeakMap();onLoadStartListener;onLoadEndListener;compiler=b(ms);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return U(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=$e(e.loadComponent()).pipe(z(Vo),ee(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s;}),He(()=>{this.componentLoaders.delete(e);})),i=new gn(n,()=>new ge()).pipe(pn());return this.componentLoaders.set(e,i),i;}
4loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return U({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=zo(n,this.compiler,e,this.onLoadEndListener).pipe(He(()=>{this.childrenLoaders.delete(n);})),o=new gn(s,()=>new ge()).pipe(pn());return this.childrenLoaders.set(n,o),o;}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function zo(t,r,e,n){return $e(t.loadChildren()).pipe(z(Vo),ie(i=>i instanceof ss||Array.isArray(i)?U(i):J(r.compileModuleAsync(i))),z(i=>{n&&n(t);let s,o,a=!1;return Array.isArray(i)?(o=i,a=!0):(s=i.create(e).injector,o=s.get(It,[],{optional:!0,self:!0}).flat()),{routes:o.map(Ti),injector:s};}));}function Pu(t){return t&&typeof t=="object"&&"default"in t;}function Vo(t){return Pu(t)?t.default:t;}var un=(()=>{class t{static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:()=>b(Uu),providedIn:"root"});}return t;})(),Uu=(()=>{class t{shouldProcessUrl(e){return!0;}extract(e){return e;}merge(e,n){return e;}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Ci=new q(""),Oi=new q("");function Yo(t,r,e){let n=t.get(Oi),i=t.get(Q);return t.get(fe).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u;}),a=i.startViewTransition(()=>(s(),xu(t))),{onViewTransitionCreated:c}=n;return c&&he(t,()=>c({transition:a,from:r,to:e})),o;});}function xu(t){return new Promise(r=>{qi({read:()=>setTimeout(r)},{injector:t});});}var Ai=new q(""),ln=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new ge();transitionAbortSubject=new ge();configLoader=b(cn);environmentInjector=b(Me);destroyRef=b(Sn);urlSerializer=b(et);rootContexts=b(tt);location=b(ut);inputBindingEnabled=b(cr,{optional:!0})!==null;titleStrategy=b(Ii);options=b(rt,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=b(un);createViewTransition=b(Ci,{optional:!0});navigationErrorHandler=b(Ai,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0;}transitions;afterPreactivation=()=>U(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Wr(i)),n=i=>this.events.next(new Xr(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0;});}complete(){this.transitions?.complete();}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(ne(M({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}));}setupNavigations(e){return this.transitions=new de(null),this.transitions.pipe(Ee(n=>n!==null),ae(n=>{let i=!1,s=!1;return U(n).pipe(ae(o=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",oe.SupersededByNewNavigation),Ie;this.currentTransition=n,this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?ne(M({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),c=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&c!=="reload"){let u="";return this.events.next(new _e(o.id,this.urlSerializer.serialize(o.rawUrl),u,vt.IgnoredSameUrlNavigation)),o.resolve(!1),Ie;}if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return U(o).pipe(ae(u=>(this.events.next(new Be(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),u.id!==this.navigationId?Ie:Promise.resolve(u))),Du(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),ee(u=>{n.targetSnapshot=u.targetSnapshot,n.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=ne(M({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let l=new Jt(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l);}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:u,extractedUrl:l,source:p,restoredState:v,extras:h}=o,y=new Be(u,this.urlSerializer.serialize(l),p,v);this.events.next(y);let R=Mo(this.rootComponentType).snapshot;return this.currentTransition=n=ne(M({},o),{targetSnapshot:R,urlAfterRedirects:l,extras:ne(M({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,U(n);}else{let u="";return this.events.next(new _e(o.id,this.urlSerializer.serialize(o.extractedUrl),u,vt.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Ie;}}
4),ee(o=>{let a=new zr(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a);}),z(o=>(this.currentTransition=n=ne(M({},o),{guards:Xc(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),n)),ou(this.environmentInjector,o=>this.events.next(o)),ee(o=>{if(n.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw nn(this.urlSerializer,o.guardsResult);let a=new Vr(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a);}),Ee(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",oe.GuardRejected),!1)),ii(o=>{if(o.guards.canActivateChecks.length!==0)return U(o).pipe(ee(a=>{let c=new Yr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c);}),ae(a=>{let c=!1;return U(a).pipe(Nu(this.paramsInheritanceStrategy,this.environmentInjector),ee({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(a,"",oe.NoDataFromResolver);}}));}),ee(a=>{let c=new qr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c);}));}),ii(o=>{let a=c=>{let u=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(c.routeConfig).pipe(ee(l=>{c.component=l;}),z(()=>{})));for(let l of c.children)u.push(...a(l));return u;};return gr(a(o.targetSnapshot.root)).pipe(vn(null),it(1));}),ii(()=>this.afterPreactivation()),ae(()=>{let{currentSnapshot:o,targetSnapshot:a}=n,c=this.createViewTransition?.(this.environmentInjector,o.root,a.root);return c?J(c).pipe(z(()=>n)):U(n);}),z(o=>{let a=zc(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=n=ne(M({},o),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,n;}),ee(()=>{this.events.next(new er());}),Wc(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),it(1),ee({next:o=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new le(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0);},complete:()=>{i=!0;}}),Fi(this.transitionAbortSubject.pipe(ee(o=>{throw o;}))),He(()=>{!i&&!s&&this.cancelNavigationTransition(n,"",oe.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null);}),je(o=>{if(this.destroyed)return n.resolve(!1),Ie;if(s=!0,ko(o))this.events.next(new ye(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode)),qc(o)?this.events.next(new yt(o.url,o.navigationBehaviorOptions)):n.resolve(!1);else{let a=new Et(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);try{let c=he(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(c instanceof St){let{message:u,cancellationCode:l}=nn(this.urlSerializer,c);this.events.next(new ye(n.id,this.urlSerializer.serialize(n.extractedUrl),u,l)),this.events.next(new yt(c.redirectTo,c.navigationBehaviorOptions));}else throw this.events.next(a),o;}catch(c){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(c);}}return Ie;}));}));}cancelNavigationTransition(e,n,i){let s=new ye(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(s),e.resolve(!1);}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString();}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange;}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function ku(t){return t!==jr;}var qo=(()=>{class t{static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:()=>b(Fu),providedIn:"root"});}return t;})(),on=class{shouldDetach(r){return!1;}store(r,e){}shouldAttach(r){return!1;}retrieve(r){return null;}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig;}},Fu=(()=>{class t extends on{static ɵfac=(()=>{let e;return function(i){return(e||(e=yn(t)))(i||t);};})();static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Wo=(()=>
4{class t{urlSerializer=b(et);options=b(rt,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=b(ut);urlHandlingStrategy=b(un);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Se();getCurrentUrlTree(){return this.currentUrlTree;}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree;}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let s=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,o=i??s;return o instanceof Se?this.urlSerializer.serialize(o):o;}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i;}routerState=Mo(null);getRouterState(){return this.routerState;}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento();}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState};}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree);}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:()=>b(Bu),providedIn:"root"});}return t;})(),Bu=(()=>{class t extends Wo{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState();}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId;}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate");});});}handleRouterEvent(e,n){e instanceof Be?this.updateStateMemento():e instanceof _e?this.commitTransition(n):e instanceof Jt?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof er?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof ye&&(e.code===oe.GuardRejected||e.code===oe.NoDataFromResolver)?this.restoreHistory(n):e instanceof Et?this.restoreHistory(n,!0):e instanceof le&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId);}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:s,state:o}=n;if(this.location.isCurrentPathEqualTo(e)||s){let a=this.browserPageId,c=M(M({},o),this.generateNgRouterState(i,a));this.location.replaceState(e,"",c);}else{let a=M(M({},o),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a);}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.getCurrentUrlTree()===e.finalUrl&&s===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree());}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId));}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,ɵrouterPageId:n}:{navigationId:e};}static ɵfac=(()=>{let e;return function(i){return(e||(e=yn(t)))(i||t);};})();static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function dn(t,r){t.events.pipe(Ee(e=>e instanceof le||e instanceof ye||e instanceof Et||e instanceof _e),z(e=>e instanceof le||e instanceof _e?0:(e instanceof ye?e.code===oe.Redirect||e.code===oe.SupersededByNewNavigation:!1)?2:1),Ee(e=>e!==2),it(1)).subscribe(()=>{r();});}var $u={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ju={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Te=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree();}get rawUrlTree(){return this.stateManager.getRawUrlTree();}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=b(An);stateManager=b(Wo);options=b(rt,{optional:!0})||{};pendingTasks=b(bt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=b(ln);
4urlSerializer=b(et);location=b(ut);urlHandlingStrategy=b(un);_events=new ge();get events(){return this._events;}get routerState(){return this.stateManager.getRouterState();}navigated=!1;routeReuseStrategy=b(qo);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=b(It,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!b(cr,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e);}}),this.subscribeToNavigationEvents();}eventsSubscription=new Ni();subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof ye&&n.code!==oe.Redirect&&n.code!==oe.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof le)this.navigated=!0;else if(n instanceof yt){let o=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),c=M({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ku(i.source)},o);this.scheduleNavigation(a,jr,null,c,{resolve:i.resolve,reject:i.reject,promise:i.promise});}}Gu(n)&&this._events.next(n);}catch(i){this.navigationTransitions.transitionAbortSubject.next(i);}});this.eventsSubscription.add(e);}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e;}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),jr,this.stateManager.restoredState());}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n);});}navigateToSyncWithBrowser(e,n,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let c=M({},i);delete c.navigationId,delete c.ɵrouterPageId,Object.keys(c).length!==0&&(s.state=c);}let a=this.parseUrl(e);this.scheduleNavigation(a,n,o,s);}get url(){return this.serializeUrl(this.currentUrlTree);}getCurrentNavigation(){return this.navigationTransitions.currentNavigation;}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation;}resetConfig(e){this.config=e.map(Ti),this.navigated=!1;}ngOnDestroy(){this.dispose();}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe();}createUrlTree(e,n={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:a,preserveFragment:c}=n,u=c?this.currentUrlTree.fragment:o,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=M(M({},this.currentUrlTree.queryParams),s);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=s||null;}l!==null&&(l=this.removeEmptyProps(l));let p;try{let v=i?i.snapshot:this.routerState.snapshot.root;p=Ao(v);}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),p=this.currentUrlTree.root;}return wo(p,e,l,u??null);}navigateByUrl(e,n={skipLocationChange:!1}){let i=Fe(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,jr,null,n);}navigate(e,n={skipLocationChange:!1}){return Hu(e),this.navigateByUrl(this.createUrlTree(e,n),n);}serializeUrl(e){return this.urlSerializer.serialize(e);}parseUrl(e){try{return this.urlSerializer.parse(e);}catch{return this.urlSerializer.parse("/");}}isActive(e,n){let i;if(n===!0?i=M({},$u):n===!1?i=M({},ju):i=n,Fe(e))return ao(this.currentUrlTree,e,i);let s=this.parseUrl(e);return ao(this.currentUrlTree,s,i);}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,s])=>(s!=null&&(n[i]=s),n),{});}scheduleNavigation(e,n,i,s,o){if(this.disposed)return Promise.resolve(!1);let a,c,u;o?(a=o.resolve,c=o.reject,u=o.promise):u=new Promise((p,v)=>{a=p,c=v;});let l=this.pendingTasks.add();return dn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l));}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(p=>Promise.reject(p));}static ɵfac=function(n){return new(n||t)();};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})();function Hu(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new G(4008,!1);}function Gu(t){return!(t instanceof er)&&!(t instanceof yt);}var hn=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;
4isAnchorElement;subscription;onChanges=new ge();constructor(e,n,i,s,o,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=a;let c=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof le&&this.updateHref();}):this.setTabIndexIfNotOnNativeEl("0");}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e);}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this);}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Fe(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"));}onClick(e,n,i,s,o){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c),!this.isAnchorElement;}ngOnDestroy(){this.subscription?.unsubscribe();}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:ts(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n);}applyAttributeValue(e,n){let i=this.renderer,s=this.el.nativeElement;n!==null?i.setAttribute(s,e,n):i.removeAttribute(s,e);}get urlTree(){return this.routerLinkInput===null?null:Fe(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment});}static ɵfac=function(n){return new(n||t)(me(Te),me(we),ji("tabindex"),me(On),me(Tn),me(xt));};static ɵdir=Ut({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&hs("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey);}),n&2&&ls("target",i.target);},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Sr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Sr],replaceUrl:[2,"replaceUrl","replaceUrl",Sr],routerLink:"routerLink"},features:[Nt]});}return t;})(),zu=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive;}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new Ge();constructor(e,n,i,s,o){this.router=e,this.element=n,this.renderer=i,this.cdr=s,this.link=o,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof le&&this.update();});}ngAfterContentInit(){U(this.links.changes,U(null)).pipe(Dt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges();});}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=J(e).pipe(Dt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update();});}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i);}ngOnChanges(e){this.update();}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe();}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n);}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e));});}isLinkActive(e){let n=Vu(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,n):!1;};}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e);}static ɵfac=function(n){return new(n||t)(me(Te),me(Tn),me(On),me(yr),me(hn,8));};static ɵdir=Ut({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,s){if(n&1&&fs(s,hn,5),n&2){let o;ps(o=gs())&&(i.links=o);}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Nt]});}return t;})();function Vu(t){return!!t.paths;}var lr=class{};var Xo=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,s){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=s;}setUpPreloading(){this.subscription=this.router.events.pipe(Ee(e=>e instanceof le),Ce(()=>this.preload())).subscribe(()=>{});}preload(){return this.processRoutes(this.injector,this.router.config);}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe();}processRoutes(e,n){let i=[];for(let s of n){s.providers&&!s._injector&&(s._injector=vr(s.providers,e,`Route: ${s.path}`));let o=s._injector??e,a=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(a,s.children??s._loadedRoutes));}return J(i).pipe(Dt());}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n
4):i=U(null);let s=i.pipe(ie(o=>o===null?U(void 0):(n._loadedRoutes=o.routes,n._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(n.loadComponent&&!n._loadedComponent){let o=this.loader.loadComponent(n);return J([s,o]).pipe(Dt());}else return s;});}static ɵfac=function(n){return new(n||t)(k(Te),k(Me),k(lr),k(cn));};static ɵprov=F({token:t,factory:t.ɵfac,providedIn:"root"});}return t;})(),Ko=new q(""),Yu=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,i,s,o={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=s,this.options=o,o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled";}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents();}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Be?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof le?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof _e&&e.code===vt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment));});}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Rt&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]));});}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Rt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n));});},0);});}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe();}static ɵfac=function(n){ns();};static ɵprov=F({token:t,factory:t.ɵfac});}return t;})();function qu(t){return t.routerState.root;}function dr(t,r){return{ɵkind:t,ɵproviders:r};}function Wu(){let t=b(Mt);return r=>{let e=t.get(Nn);if(r!==e.components[0])return;let n=t.get(Te),i=t.get(Qo);t.get(Di)===1&&n.initialNavigation(),t.get(ea,null,Rn.Optional)?.setUpPreloading(),t.get(Ko,null,Rn.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe());};}var Qo=new q("",{factory:()=>new ge()}),Di=new q("",{providedIn:"root",factory:()=>1});function Zo(){let t=[{provide:Di,useValue:0},Dn(()=>{let r=b(Mt);return r.get(Ts,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(Te),s=r.get(Qo);dn(i,()=>{n(!0);}),r.get(ln).afterPreactivation=()=>(n(!0),s.closed?U(void 0):s),i.initialNavigation();}));})];return dr(2,t);}function Jo(){let t=[Dn(()=>{b(Te).setUpLocationChangeListener();}),{provide:Di,useValue:2}];return dr(3,t);}var ea=new q("");function ta(t){return dr(0,[{provide:ea,useExisting:Xo},{provide:lr,useExisting:t}]);}function ra(){return dr(8,[Si,{provide:cr,useExisting:Si}]);}function na(t){Yi("NgRouterViewTransitions");let r=[{provide:Ci,useValue:Yo},{provide:Oi,useValue:M({skipNextTransition:!!t?.skipInitialTransition},t)}];return dr(9,r);}var ia=[ut,{provide:et,useClass:ke},Te,tt,{provide:we,useFactory:qu,deps:[Te]},cn,[]],Xu=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[ia,[],{provide:It,multi:!0,useValue:e},[],n?.errorHandler?{provide:Ai,useValue:n.errorHandler}:[],{provide:rt,useValue:n||{}},n?.useHash?Qu():Zu(),Ku(),n?.preloadingStrategy?ta(n.preloadingStrategy).ɵproviders:[],n?.initialNavigation?Ju(n):[],n?.bindToComponentInputs?ra().ɵproviders:[],n?.enableViewTransitions?na().ɵproviders:[],el()]};}static forChild(e){return{ngModule:t,providers:[{provide:It,multi:!0,useValue:e}]};}static ɵfac=function(n){return new(n||t)();};static ɵmod=ct({type:t});static ɵinj=st({});}return t;})();function Ku(){return{provide:Ko,useFactory:()=>{let t=b(Ds),r=b(fe),e=b(rt),n=b(ln),i=b(et);return e.scrollOffset&&t.setOffset(e.scrollOffset),new Yu(i,n,t,r,e);}};}function Qu(){return{provide:xt,useClass:Cs};}function Zu(){return{provide:xt,useClass:Is};}
4function Ju(t){return[t.initialNavigation==="disabled"?Jo().ɵproviders:[],t.initialNavigation==="enabledBlocking"?Zo().ɵproviders:[]];}var wi=new q("");function el(){return[{provide:wi,useFactory:Wu},{provide:us,multi:!0,useExisting:wi}];}export{Fn as a,Sa as b,Ia as c,jt as d,Le as e,Nr as f,Ae as g,qe as h,Ht as i,Gt as j,Ws as k,Ks as l,Wa as m,Xa as n,md as o,Js as p,Za as q,Vt as r,eo as s,to as t,ro as u,no as v,io as w,Qn as x,Ur as y,nc as z,ic as A,sc as B,oc as C,ac as D,se as E,wd as F,Dd as G,L as H,cc as I,uc as J,X as K,W as L,Nd as M,lc as N,Pr as O,dc as P,hc as Q,fc as R,pc as S,Pe as T,Ue as U,Md as V,ei as W,bd as X,gc as Y,We as Z,Be as _,le as $,ye as aa,Et as ba,we as ca,yi as da,Te as ea,hn as fa,zu as ga,Xu as ha};/**i18n:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.