1import{a as bt,b as Et,c as At,j as Tt,k as ge,l as It,m as Ot,n as Nt}from"./chunk-2MKGFSRD.js";import"./chunk-TDD6GP77.js";import"./chunk-D4WIUYDC.js";import"./chunk-HRUFAT4M.js";import"./chunk-JMPSKHHH.js";import"./chunk-KI67LNHG.js";import"./chunk-NXL3FADS.js";import{A as rt,Aa as St,Ba as fe,C as it,Ca as yt,D as st,E as B,F as at,Hd as wt,J as ct,K as lt,L as pt,M as v,N as dt,Pb as Mt,hc as _t,i as Ke,ia as ut,j as Ze,k as Ye,o as qe,p as Je,q as Qe,qa as ft,ra as gt,s as et,sa as ht,t as tt,ta as mt,ua as l,v as nt,wa as vt,z as ot}from"./chunk-MVEOCEMO.js";import{$ as Re,D as ae,Db as ue,Eb as Ge,Fb as Le,Gb as ze,H as G,Ib as He,J as A,Ma as ke,N as ce,O as le,Q as De,R as Ce,Sb as Ue,Vc as Be,Wc as $e,X as P,Xc as Xe,Y as L,Yc as We,Z as Pe,a as p,aa as z,b as S,cc as Ve,d as Oe,da as pe,db as je,fa as u,i as oe,ia as f,ja as de,k as O,ka as s,la as y,lb as _,ma as H,n as N,o as re,pa as U,r as ie,s as Ne,t as M,ta as T,v as se,va as h,vb as Fe,wa as V,x as D,ya as xe,z as C}from"./chunk-YD44SUNW.js";function Sn(e){let o=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:n===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:n===0&&t!==1&&t%10===Math.floor(t%10)&&t%10>=0&&t%10<=1||n===0&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||n===0&&t%100===Math.floor(t%100)&&t%100>=12&&t%100<=14?4:5}var Dt=["pl",[["a","p"],["AM","PM"]],void 0,[["n","p","w","\u015B","c","p","s"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["N","P","W","\u015A","C","P","S"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["s","l","m","k","m","c","l","s","w","p","l","g"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015Bnia","pa\u017Adziernika","listopada","grudnia"]],[["S","L","M","K","M","C","L","S","W","P","L","G"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017Adziernik","listopad","grudzie\u0144"]],[["p.n.e.","n.e."],void 0,["przed nasz\u0105 er\u0105","naszej ery"]],1,[6,0],["d.MM.y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"PLN","z\u0142","z\u0142oty polski",{AUD:[void 0,"$"],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],PLN:["z\u0142"],RON:[void 0,"lej"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Sn];var Ct=new f("TRANSLOCO_PERSIST_LANG_STORAGE"),Pt=new f("TRANSLOCO_PERSIST_LANG_CONFIG"),yn=(()=>{class e{service=s(at);storage=s(Ct);config=s(Pt);subscription=null;storageKey=this.config.storageKey||"translocoLang";constructor(){B()&&this.init()}getCachedLang(){return B()?this.storage.getItem(this.storageKey):null}clear(){B()&&this.storage.removeItem(this.storageKey)}updateStorageOnLangChange(){return this.service.langChanges$.pipe(L(1)).subscribe(t=>{this.save(t)})}init(){this.setActiveLang(),this.subscription?.unsubscribe(),this.subscription=this.updateStorageOnLangChange()}setActiveLang(){let t=this.storage.getItem(this.storageKey),n=this.service.config.defaultLang,r=t||n;if(st(this.config.getLangFn)){let i=ct(),a=lt();r=this.config.getLangFn({browserLang:i,defaultLang:n,cultureLang:a,cachedLang:t})}r&&this.service.setActiveLang(r)}save(t){this.service.config.prodMode||console.log(`%c \u{1F37B} Saving ${t} to storage`,"background: #fff; color: #2196F3;"),this.storage.setItem(this.storageKey,t)}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mn=36e5,_n=720;function Rt(e=_n){return{getItem(o){let t=encodeURIComponent(o),r=new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g").exec(document.cookie);return r?decodeURIComponent(r[1]):null},setItem(o,t){let n=encodeURIComponent(o),r=new Date;r.setTime(r.getTime()+e*Mn),document.cookie=`${n}=${encodeURIComponent(t)};expires=${r.toUTCString()};path=/`},removeItem(){}}}function wn(){}function xt(t){var n=t,{storage:e}=n,o=Oe(n,["storage"]);return y([{provide:Pt,useValue:o??{}},{provide:Ge,useFactory:()=>wn,multi:!0,deps:[yn]},p({provide:Ct},e)])}var kt={en:"685c4918",pl:"3de7d16a"};var En=[{path:"",loadComponent:()=>import("./chunk-URZXLNJQ.js").then(e=>e.MainPage),title:l("app.main-page.title")},{path:"payments",loadComponent:()=>import("./chunk-62AKPBYO.js").then(e=>e.PaymentsPage),title:l("payments.payments.title")},{path:"services",loadComponent:()=>import("./chunk-I7V3RM7R.js").then(e=>e.ServicesPageComponent),title:l("app.services-page.title")},{path:"services/tv-package-change",loadComponent:()=>import("./chunk-WAD4IPF5.js").then(e=>e.TvPackageChangePage),title:l("services.television.title-change-package")},{path:"services/tv-package-change/summary",loadComponent:()=>import("./chunk-K77VGTQO.js").then(e=>e.StandardPackagePurchaseSummary),title:l("services.television.title-change-package")},{path:"network-modernization",loadComponent:()=>import("./chunk-QGXRGCVE.js").then(e=>e.NetworkModernizationPage),title:l("network-modernization.page-title")},{path:"unbilled-calls",loadComponent:()=>import("./chunk-TJOZFPHY.js").then(e=>e.UnbilledCallsPage),title:l("services.unbilled-calls.page-title")},{path:"payment-summary",loadComponent:()=>import("./chunk-D4LXJDYR.js").then(e=>e.PaymentSummaryPage),title:l("payments.payment-summary.title")},{path:"payment-cancel",loadComponent:()=>import("./chunk-U233QXTV.js").then(e=>e.PaymentCancelPage),title:l("payments.payment-cancel.title")},{path:"eTransferInfoFromPartner",loadComponent:()=>import("./chunk-CQBX4QIL.js").then(e=>e.PaymentResultPage),title:l("payments.payment-result.title")},{path:"auth",loadComponent:()=>import("./chunk-TIOGCCQP.js").then(e=>e.AuthPage),title:l("auth.title")},{path:"registration",loadComponent:()=>import("./chunk-ALBZFMNT.js").then(e=>e.RegistrationPage),title:l("registration.title")},{path:"registration-confirmation",loadComponent:()=>import("./chunk-E5VD4JLN.js").then(e=>e.RegistrationConfirmationPage),title:l("registration.confirmation.page-title")},{path:"email/change/confirm",loadComponent:()=>import("./chunk-2MM3JQVM.js").then(e=>
1e.EmailChangeConfirmPage),title:l("profile.login-details.email.confirm.page-title")},{path:"disney-activation",loadComponent:()=>import("./chunk-2QER2W54.js").then(e=>e.DisneyActivationPage),title:l("services.disney-activation.page-title")},{path:"skyshowtime-activation",loadComponent:()=>import("./chunk-CD7NOH5V.js").then(e=>e.SkyShowtimeActivationPage),title:l("services.skyshowtime-activation.page-title")},{path:"hbomax-activation",loadComponent:()=>import("./chunk-BO3P4YJF.js").then(e=>e.HboMaxActivationPage),title:l("services.hbo-max-activation.page-title")},{path:"appletv-activation",loadComponent:()=>import("./chunk-HYMCHQQQ.js").then(e=>e.AppleTvActivationPage),title:l("services.appletv-activation.page-title")},{path:"amazonprime-activation",loadComponent:()=>import("./chunk-W3VZOZVQ.js").then(e=>e.AmazonPrimeActivationPage),title:l("services.amazonprime-activation.page-title")},{path:"password-reset/new",loadComponent:()=>import("./chunk-CPUJZXJE.js").then(e=>e.PasswordResetNewPage),title:l("password-reset.new-password.page-title")},{path:"confirm-contact-email",loadComponent:()=>import("./chunk-2ETO46WN.js").then(e=>e.ConfirmContactEmailPage),title:l("profile.contact-details.confirm-email.page-title")},{path:"password-reset",loadComponent:()=>import("./chunk-PABLS7U2.js").then(e=>e.PasswordResetPage),title:l("password-reset.title")},{path:"login-flow",loadComponent:()=>import("./chunk-OJBAXOJN.js").then(e=>e.LoginFlowPage),title:l("login-flow.page-title")},{path:"offers/preview",loadComponent:()=>import("./chunk-WXJVVMQS.js").then(e=>e.OfferPreviewPage),title:l("offers.preview.page-title")},{path:"help-and-reports",loadComponent:()=>import("./chunk-HEAK4W3R.js").then(e=>e.BasicHelpAndReportPage),title:l("help-and-reports.basic.title")},{path:"advanced-help-and-report",loadComponent:()=>import("./chunk-6FSQQF3Q.js").then(e=>e.AdvancedHelpAndReportPage),title:l("help-and-reports.advanced.title")},{path:"profile",loadComponent:()=>import("./chunk-KWWNGNFW.js").then(e=>e.ProfileBasicPage),title:l("profile.basic.title")},{path:"promotions",loadComponent:()=>import("./chunk-TKUNKGSW.js").then(e=>e.PromotionPage),title:l("promotions.page.title")},{path:"promotions/:promotionId",loadComponent:()=>import("./chunk-WZ2WSUGW.js").then(e=>e.PromotionInquiryPage),title:l("promotions.inquiry.page-title")},{path:"profile/advanced",loadComponent:()=>import("./chunk-KXKOIBSH.js").then(e=>e.ProfileAdvancedPage),title:l("profile.advanced.title")},{path:"**",loadComponent:()=>import("./chunk-53LAGXEQ.js").then(e=>e.UnderDevelopmentComponent),title:l("app.under-development.title")}],jt={payments:"SUBACC_INVOICES","unbilled-calls":"SUBACC_INVOICES",services:["SUBACC_CLIENT_SERVICES","SUBACC_INSTALLMENTS"],"services/tv-package-change":"SUBACC_CLIENT_SERVICES","services/tv-package-change/summary":"SUBACC_CLIENT_SERVICES",promotions:null,"promotions/:promotionId":null,"help-and-reports":["SUBACC_MASS_DAMAGE_ADD","SUBACC_MASS_DAMAGE_VIEW","SUBACC_CONTACT_ADD","SUBACC_CONTACT_VIEW"],"advanced-help-and-report":["SUBACC_MASS_DAMAGE_ADD","SUBACC_MASS_DAMAGE_VIEW","SUBACC_CONTACT_ADD","SUBACC_CONTACT_VIEW"],profile:["SUBACC_DOCUMENTS","SUBACC_MARKETING_AGREEMENTS","SUBACC_CHANGE_PASSWORD","SUBACC_SUBACCOUNT_MANAGEMENT"],"profile/advanced":["SUBACC_DOCUMENTS","SUBACC_MARKETING_AGREEMENTS","SUBACC_CHANGE_PASSWORD","SUBACC_SUBACCOUNT_MANAGEMENT"]},An={"advanced-help-and-report":{tabs:{"write-to-us":"SUBACC_CONTACT_ADD","report-failure":"SUBACC_MASS_DAMAGE_ADD","my-reports":["SUBACC_MASS_DAMAGE_VIEW","SUBACC_CONTACT_VIEW"],"knowledge-base":null},fallback:"/help-and-reports"},"profile/advanced":{tabs:{"my-contracts":"SUBACC_DOCUMENTS","consents-and-settings":"SUBACC_MARKETING_AGREEMENTS","login-data":"SUBACC_CHANGE_PASSWORD",subaccounts:"SUBACC_SUBACCOUNT_MANAGEMENT","contact-data":null},fallback:"/profile"}},Ft={},Tn=new Set(["eTransferInfoFromPartner","email/change/confirm","confirm-contact-email","disney-activation","skyshowtime-activation","hbomax-activation","appletv-activation","amazonprime-activation","offers/preview"]);function In(e){return e.map(o=>{if(o.path!==void 0&&Tn.has(o.path))return o;if(o.path==="auth"||o.path==="registration"||o.path==="registration-confirmation"||o.path==="password-reset"||o.path==="password-reset/new")return S(p({},o),{canActivate:[At]});if(o.path==="login-flow")return S(p({},o),{canActivate:[Tt]});if(o.path==="payment-summary"||o.path==="payment-cancel")return S(p({},o),{canActivate:[Et,ge("/payments")]});let t=o.path??"",n=An[t];return S(p({},o),{canActivate:[bt,...Ft[t]?[ge(Ft[t])]:[],...t.startsWith("services")?[Nt]:[],...t in jt?[It(jt[t])]:[],...n?[Ot(n.tabs,n.fallback)]:[]]})})}var Gt=In(En);var I="NGXS_META";var On="NGXS_SELECTOR_META";function me(e){return e[I]}function Lt(e){return e[On]}function Nn(e,o,t){if(o===null||t===null||o.length!==t.length)return!1;let n=o.length;for(let r=0;r<n;r++)if(!e(o[r],t[r]))return!1;return!0}function zt(e,o=Object.is){let t=null,n=null;function r(){return Nn(o,t,arguments)||(n=e.apply(null,arguments)),t=arguments,n}return r.reset=function(){t=null,n=null},r}var Dn=(()=>{class e{static _value={};static set(t){this._value=t}static pop(){let t=this._value;return this._value={},t}}return e})(),ve=new f("",{providedIn:"root",factory:()=>Dn.pop()}),Se=(()=>{class e extends re{constructor(){super(!1),s(h).onDestroy(()=>this.complete())}bootstrap(){this.next(!0)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ht(e){let o=[],t=!1;return function(...r){if(t){o.unshift(r);return}for(t=!0,e(...r);o.length>0;){let i=o.pop();i&&e(...i)}t=!1}}var $=class extends N{_orderedNext=Ht(o=>super.next(o));next(o){this._orderedNext(o)}},he=class extends re{_orderedNext=Ht(o=>super.next(o));_currentValue;constructor(o){super(o),this._currentValue=o}getValue(){return this._currentValue}next(o){this._currentValue=o,this._orderedNext(o)}};function ye(e){return o=>new O(t=>o.subscribe({next(n){e(()=>t.next(n))},error(n){e(()=>t.error(n))},complete(){e(()=>t.complete())}}))}var X=(()=>{class e extends he{state=it(this.pipe(ye(Xe)),{manualCleanup:!0,requireSync:!0});constructor(){super({}),s(h).onDestroy(()=>this.complete())}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ut=(()=>{class e{_actionTypeToHandlersMap=new Map;constructor(){s(h).onDestroy(()=>this._actionTypeToHandlersMap.clear())}get(t){return this._actionTypeToHandlersMap.get(t)}register(t,n){let r=this._actionTypeToHandlersMap.get(t)??new Set;return r.add(n),this._actionTypeToHandlersMap.set(t,r),()=>{this._actionTypeToHandlersMap.get(t).delete(n)}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var W=(()=>{class e{static type="@@INIT"}return e})(),Vt=(()=>{class e{addedStates;static type="@@UPDATE_STATE";constructor(t){this.addedStates=t}}return e})(),K=new f("");function Bt(e){return!!e.prototype.handle}function w(e){return e.constructor?.type||e.type}var Me=(e,o,t)=>{e=p({},e);let n=o.split("."),r=n.length-1;return n.reduce((i,a,c)=>(c===r?i[a]=t:i[a]=Array.isArray(i[a])?i[a].slice():p({},i[a]),i?.[a]),e),e},Z=(e,o)=>
1o.split(".").reduce((t,n)=>t?.[n],e);var Cn=e=>typeof e=="function",$t=Cn;var Qt=(()=>{class e{plugins=[];_parentManager=s(e,{optional:!0,skipSelf:!0});_pluginHandlers=s(K,{optional:!0});constructor(){this.registerHandlers()}get _rootPlugins(){return this._parentManager?.plugins||this.plugins}registerHandlers(){let t=this.getPluginHandlers();this._rootPlugins.push(...t)}getPluginHandlers(){return(this._pluginHandlers||[]).map(n=>n.handle?n.handle.bind(n):n)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Y(e){return ye(o=>e.leave(o))}var we=new WeakMap,Xt=!1;function Pn(){if(Xt)return;let e=oe.onUnhandledError;oe.onUnhandledError=function(o){let t=we.get(o);if(t)t();else if(e)e.call(this,o);else throw o},Xt=!0}function Rn(e){let o=we.get(e);return o?(o(),!0):!1}function xn(e,o){if(e&&typeof e=="object"){let t=!1;we.set(e,()=>{t||(t=!0,o())})}return e}function kn(e){return o=>{let t=o.subscribe({error:n=>{e.runOutsideAngular(()=>{queueMicrotask(()=>{t&&Rn(n)})})}});return new O(n=>(t?.unsubscribe(),t=null,o.subscribe(n)))}}var en=(()=>{class e extends N{constructor(){super(),s(h).onDestroy(()=>this.complete())}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tn=(()=>{class e{_ngZone=s(_);enter(t){return this._runOutsideAngular(t)}leave(t){return this._runInsideAngular(t)}_runInsideAngular(t){return _.isInAngularZone()?t():this._ngZone.run(t)}_runOutsideAngular(t){return _.isInAngularZone()?this._ngZone.runOutsideAngular(t):t()}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),m=(function(e){return e.Dispatched="DISPATCHED",e.Successful="SUCCESSFUL",e.Canceled="CANCELED",e.Errored="ERRORED",e})(m||{}),be=(()=>{class e extends ${dispatched$=new N;constructor(){super(),this.subscribe(n=>{n.status===m.Dispatched&&this.dispatched$.next(n)}),s(h).onDestroy(()=>{this.complete(),this.dispatched$.complete()})}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jn=(()=>{class e{_ngZone=s(_);_actions=s(be);_actionResults=s(en);_pluginManager=s(Qt);_stateStream=s(X);_ngxsExecutionStrategy=s(tn);_injector=s(T);dispatch(t){return this._ngxsExecutionStrategy.enter(()=>this.dispatchByEvents(t)).pipe(kn(this._ngZone),Y(this._ngxsExecutionStrategy))}dispatchByEvents(t){return Array.isArray(t)?t.length===0?M(void 0):ae(t.map(n=>this.dispatchSingle(n))).pipe(D(()=>{})):this.dispatchSingle(t)}dispatchSingle(t){let n=this._stateStream.getValue(),r=this._pluginManager.plugins;return nn(this._injector,[...r,(i,a)=>{i!==n&&this._stateStream.next(i);let c=this.getActionResultStream(a);return c.subscribe(d=>this._actions.next(d)),this._actions.next({action:a,status:m.Dispatched}),this.createDispatchObservable(c)}])(n,t).pipe(P())}getActionResultStream(t){return this._actionResults.pipe(G(n=>n.action===t&&n.status!==m.Dispatched),le(1),P())}createDispatchObservable(t){return t.pipe(C(n=>{switch(n.status){case m.Successful:return M(this._stateStream.getValue());case m.Errored:throw n.error;default:return ie}}),P())}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),nn=(e,o)=>(...t)=>{let n=o.shift();return U(e,()=>n(...t,(...r)=>nn(e,o)(...r)))},on=new f(""),Fn=new f(""),rn=new f(""),x=(()=>{class e{developmentMode;compatibility={strictContentSecurityPolicy:!1};selectorOptions={injectContainerState:!1,suppressErrors:!1};static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:()=>(()=>{let t=new e,n=s(rn);return S(p(p({},t),n),{selectorOptions:p(p({},t.selectorOptions),n.selectorOptions)})})(),providedIn:"root"})}return e})(),_e=class{previousValue;currentValue;firstChange;constructor(o,t,n){this.previousValue=o,this.currentValue=t,this.firstChange=n}};var k=(()=>{class e{_stateStream=s(X);_dispatcher=s(jn);_config=s(x);getRootStateOperations(){return{getState:()=>this._stateStream.getValue(),setState:n=>this._stateStream.next(n),dispatch:n=>this._dispatcher.dispatch(n)}}setStateToTheCurrentWithNew(t){let n=this.getRootStateOperations(),r=n.getState();n.setState(p(p({},r),t.defaults))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gn(e){return(Lt(e)||me(e))?.makeRootSelector||(()=>e)}function Ln(e){return o=>{for(let t=0;t<e.length;t++){if(!o)return;o=o[e[t]]}return o}}function zn(e){let o=e,t="store."+o[0],n=0,r=o.length,i=t;for(;++n<r;)i=i+" && "+(t=t+"."+o[n]);return new Function("store","return "+i+";")}var Hn=new f("",{providedIn:"root",factory:()=>s(x).compatibility?.strictContentSecurityPolicy?Ln:zn});function Un(e){let o=t=>e.find(r=>r===t)[I].name;return e.reduce((t,n)=>{let r=n[I];return t[r.name]=(r.children||[]).map(o),t},{})}function Vn(e){return e.reduce((o,t)=>{let n=t[I];return o[n.name]=t,o},{})}function Bn(e,o={}){let t=(n,r)=>{for(let i in n)if(n[i]?.includes(r)){let a=t(n,i);return a?`${a}.${i}`:i}return null};for(let n in e){let r=t(e,n);o[n]=r?`${r}.${n}`:n}return o}function $n(e){let o=[],t={},n=(r,i=[])=>{t[r]=!0,i.push(r);for(let a of e[r])t[a]||n(a,i.slice());o.includes(r)||o.push(r)};for(let r in e)n(r);return o.reverse()}var Xn=(()=>{class e{_ngZone=s(_);_errorHandler=s(V);handleError(t,n){this._ngZone.runOutsideAngular(()=>this._errorHandler.handleError(t))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wn(...e){return Kn(e,[m.Dispatched])}function Kn(e,o,t=Yn){let n=qn(e),r=o&&Jn(o);return function(i){return i.pipe(Zn(n,r),t())}}function Zn(e,o){return G(t=>{let n=w(t.action),r=e[n],i=o?o[t.status]:!0;return r&&i})}function Yn(){return D(e=>e.action)}function qn(e){return e.reduce((o,t)=>(o[w(t)]=!0,o),{})}function Jn(e){return e.reduce((o,t)=>(o[t]=!0,o),{})}function Qn(e){return o=>{let t=p({},o);for(let n in e)t[n]=e[n];return t}}var sn=(()=>{class e{_internalStateOperations=s(k);createStateContext(t){let n=this._internalStateOperations.getRootStateOperations();return{getState(){let r=n.getState();return cn(r,t)},patchState(r){let i=n.getState(),a=Qn(r);Wt(n,i,a,t)},setState(r){let i=n.getState();$t(r)?Wt(n,i,r,t):an(n,i,r,t)},dispatch(r){return n.dispatch(r)}}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function an(e,o,t,n){let r=Me(o,n,t);return e.setState(r),r}function Wt(e,o,t,n){let r=cn(o,n),i=t(r);return an(e,o,i,n)}function cn(e,o){return Z(e,o)}var eo=(()=>{class e{_actions=s(be);_stateContextFactory=s(sn);createActionHandler(t,n,r){let{dispatched$:i}=this._actions;return a=>{let c=this._stateContextFactory.createStateContext(t),d=n(c,a);
1if(ue(d)&&(d=Ne(d)),se(d)){if(d=d.pipe(C(g=>ue(g)||se(g)?g:M(g)),ce(void 0)),r.cancelUncompleted){let g=i.pipe(Wn(a));d=d.pipe(Re(g))}d=d.pipe(Ce(()=>{if(0)var g;else c.setState=Kt,c.patchState=Kt}))}else d=M(void 0);return d}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kt(){}function to(e){let o=e===void 0?{}:e;return e&&(Array.isArray(e)?o=e.slice():typeof e=="object"&&(o=p({},e))),o}var Ee=(()=>{class e{_injector=s(T);_config=s(x);_actionHandlerFactory=s(eo);_actions=s(be);_actionResults=s(en);_initialState=s(ve,{optional:!0});_actionRegistry=s(Ut);_propGetter=s(Hn);_actionsSubscription=null;_ngxsUnhandledErrorHandler=null;_states=[];_statesByName={};_statePaths={};getRuntimeSelectorContext=zt(()=>{let t=this,n=t._propGetter;function r(a){let c=t._statePaths[a];return c?n(c.split(".")):null}return{getStateGetter(a){let c=r(a);return c||((...d)=>(c||(c=r(a)),c?c(...d):void 0))},getSelectorOptions(a){let c=t._config.selectorOptions;return p(p({},c),a||{})}}});constructor(){s(h).onDestroy(()=>this._actionsSubscription?.unsubscribe())}add(t){let{newStates:n}=this.addToStatesMap(t);if(!n.length)return[];let r=Un(n),i=$n(r),a=Bn(r),c=Vn(n),d=[];for(let g of i){let E=c[g],ee=a[g],te=E[I];this.addRuntimeInfoToMeta(te,ee);let ne={name:g,path:ee,isInitialised:!1,actions:te.actions,instance:s(E),defaults:to(te.defaults)};this.hasBeenMountedAndBootstrapped(g,ee)||d.push(ne),this._states.push(ne),this.hydrateActionMetasMap(ne)}return d}addAndReturnDefaults(t){let n=t||[],r=this.add(n);return{defaults:r.reduce((a,c)=>Me(a,c.path,c.defaults),{}),states:r}}connectActionHandlers(){this._actionsSubscription=this._actions.pipe(G(t=>t.status===m.Dispatched),C(t=>{let n=t.action;return this.invokeActions(n).pipe(D(()=>({action:n,status:m.Successful})),ce({action:n,status:m.Canceled}),A(r=>{let i=this._ngxsUnhandledErrorHandler||=this._injector.get(Xn),a=xn(r,()=>i.handleError(r,{action:n}));return M({action:n,status:m.Errored,error:a})}))})).subscribe(t=>this._actionResults.next(t))}invokeActions(t){let n=w(t),r=[],i=!1,a=this._actionRegistry.get(n);if(a)for(let c of a){let d;try{d=c(t)}catch(g){d=new O(E=>E.error(g))}r.push(d),i=!0}return r.length||r.push(M(void 0)),ae(r)}addToStatesMap(t){let n=[],r=this._statesByName;for(let i of t){let a=me(i).name;!r[a]&&(n.push(i),r[a]=i)}return{newStates:n}}addRuntimeInfoToMeta(t,n){this._statePaths[t.name]=n,t.path=n}hasBeenMountedAndBootstrapped(t,n){let r=Z(this._initialState,n)!==void 0;return this._statesByName[t]&&r}hydrateActionMetasMap({path:t,actions:n,instance:r}){for(let i of Object.keys(n)){let a=n[i].map(c=>{let d=(g,E)=>r[c.fn](g,E);return this._actionHandlerFactory.createActionHandler(t,d,c.options)});for(let c of a)this._actionRegistry.register(i,c)}}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),b=(()=>{class e{_stateStream=s(X);_internalStateOperations=s(k);_config=s(x);_internalExecutionStrategy=s(tn);_stateFactory=s(Ee);_selectableStateStream=this._stateStream.pipe(Y(this._internalExecutionStrategy),P({bufferSize:1,refCount:!0}));constructor(){this.initStateStream()}dispatch(t){return this._internalStateOperations.getRootStateOperations().dispatch(t)}select(t){let n=this.getStoreBoundSelectorFn(t);return this._selectableStateStream.pipe(D(n),A(r=>{if(this._config.selectorOptions.suppressErrors&&r instanceof TypeError)return M(void 0);throw r}),De(),Y(this._internalExecutionStrategy))}selectOnce(t){return this.select(t).pipe(le(1))}selectSnapshot(t){return this.getStoreBoundSelectorFn(t)(this._stateStream.getValue())}selectSignal(t){let n=this.getStoreBoundSelectorFn(t);return We(()=>n(this._stateStream.state()))}subscribe(t){return this._selectableStateStream.pipe(Y(this._internalExecutionStrategy)).subscribe(t)}snapshot(){return this._internalStateOperations.getRootStateOperations().getState()}reset(t){this._internalStateOperations.getRootStateOperations().setState(t)}getStoreBoundSelectorFn(t){let n=Gn(t),r=this._stateFactory.getRuntimeSelectorContext();return n(r)}initStateStream(){let t=s(ve),n=this._stateStream.value;(!n||Object.keys(n).length===0)&&this._stateStream.next(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),no=new f("");var oo=(()=>{class e{static store=null;static config=null;constructor(t,n){e.store=t,e.config=n,s(h).onDestroy(()=>{e.store=null,e.config=null})}static \u0275fac=function(n){return new(n||e)(de(b),de(x))};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ln=(()=>{class e{_store=s(b);_internalStateOperations=s(k);_stateContextFactory=s(sn);_appBootstrappedState=s(Se);
1_initStateHasBeenDispatched;ngxsBootstrap(t,n){this._internalStateOperations.getRootStateOperations().dispatch(t).pipe(C(()=>n?(this._invokeInitOnStates(n.states),this._appBootstrappedState):ie)).subscribe(r=>{r&&this._invokeBootstrapOnStates(n.states)})}_invokeInitOnStates(t){for(let n of t){let r=n.instance;if(r.ngxsOnChanges){let i;this._store.select(a=>Z(a,n.path)).pipe(Pe(void 0),L(1)).subscribe(a=>{let c=new _e(i,a,!n.isInitialised);i=a,r.ngxsOnChanges(c)})}r.ngxsOnInit&&r.ngxsOnInit(this._getStateContext(n)),n.isInitialised=!0}}_invokeBootstrapOnStates(t){for(let n of t){let r=n.instance;r.ngxsAfterBootstrap&&r.ngxsAfterBootstrap(this._getStateContext(n))}}_getStateContext(t){return this._stateContextFactory.createStateContext(t.path)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ro(){Pn(),(s(no,{optional:!0})||[]).forEach(a=>a());let o=s(Ee),t=s(k);s(b),s(oo);let n=s(on,{optional:!0})||[],r=s(ln),i=o.addAndReturnDefaults(n);t.setStateToTheCurrentWithNew(i),o.connectActionHandlers(),r.ngxsBootstrap(new W,i)}function io(){s(b);let e=s(k),o=s(Ee),t=s(Fn,{optional:!0})||[],n=s(ln),r=t.reduce((a,c)=>a.concat(c),[]),i=o.addAndReturnDefaults(r);i.states.length&&(e.setStateToTheCurrentWithNew(i),n.ngxsBootstrap(new Vt(i.defaults),i))}var Zt=new f(""),Yt=new f(""),so=[{provide:Zt,useFactory:ro},H(()=>s(Zt))],dr=[{provide:Yt,useFactory:io},H(()=>s(Yt))];function ao(e,o){return[...e,{provide:on,useValue:e},{provide:ze,useFactory:()=>{let t=s(Se);return()=>t.bootstrap()},multi:!0},{provide:rn,useValue:o}]}function pn(e=[],...o){let t=[],n={};return o.length>0&&(co(o[0])?t.push(...o):(n=o[0],t.push(...o.slice(1)))),y([...ao(e,n),so,t])}function co(e){return!!e.\u0275providers}function q(e){return y([Bt(e)?{provide:K,useClass:e,multi:!0}:{provide:K,useValue:e,multi:!0},H(()=>s(Qt))])}var un=new f("NGXS_DEVTOOLS_OPTIONS"),j=(function(e){return e.Dispatch="DISPATCH",e.Action="ACTION",e})(j||{}),F=(function(e){return e.JumpToAction="JUMP_TO_ACTION",e.JumpToState="JUMP_TO_STATE",e.ToggleAction="TOGGLE_ACTION",e.ImportState="IMPORT_STATE",e})(F||{}),lo=(()=>{class e{_injector=s(T);_ngZone=s(_);_options=s(un);devtoolsExtension=null;globalDevtools=pe.__REDUX_DEVTOOLS_EXTENSION__||pe.devToolsExtension;unsubscribe=null;constructor(){this.connect(),s(h).onDestroy(()=>{this.unsubscribe?.(),this.globalDevtools?.disconnect()})}get store(){return this._injector.get(b)}handle(t,n,r){return!this.devtoolsExtension||this._options.disabled?r(t,n):r(t,n).pipe(A(i=>{let a=this.store.snapshot();throw this.sendToDevTools(t,n,a),i}),z(i=>{this.sendToDevTools(t,n,i)}))}sendToDevTools(t,n,r){let i=w(n);i===W.type?this.devtoolsExtension.init(t):this.devtoolsExtension.send(S(p({},n),{action:null,type:i}),r)}dispatched(t){if(t.type===j.Dispatch){if(t.payload.type===F.JumpToAction||t.payload.type===F.JumpToState){let n=JSON.parse(t.state);n.router?.trigger&&(n.router.trigger="devtools"),this.store.reset(n)}else if(t.payload.type===F.ToggleAction)console.warn("Skip is not supported at this time.");else if(t.payload.type===F.ImportState){let{actionsById:n,computedStates:r,currentStateIndex:i}=t.payload.nextLiftedState;this.devtoolsExtension.init(r[0].state),Object.keys(n).filter(a=>a!=="0").forEach(a=>this.devtoolsExtension.send(n[a],r[a].state)),this.store.reset(r[i].state)}}else if(t.type===j.Action){let n=JSON.parse(t.payload);this.store.dispatch(n)}}connect(){!this.globalDevtools||this._options.disabled||(this.devtoolsExtension=this._ngZone.runOutsideAngular(()=>this.globalDevtools.connect(this._options)),this.unsubscribe=this.devtoolsExtension.subscribe(t=>{(t.type===j.Dispatch||t.type===j.Action)&&this.dispatched(t)}))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac})}return e})();function po(e){return p({name:"NGXS"},e)}var dn=new f("USER_OPTIONS");function fn(e){return y([q(lo),{provide:dn,useValue:e},{provide:un,useFactory:po,deps:[dn]}])}var Ae=class{options;logger;constructor(o){this.options=o,this.options=this.options||{},this.logger=o.logger||console}startGroup(o){let t=this.options.collapsed?this.logger.groupCollapsed:this.logger.group;try{t.call(this.logger,o)}catch{console.log(o)}}endGroup(){try{this.logger.groupEnd()}catch{this.logger.log("\u2014\u2014 log end \u2014\u2014")}}logGrey(o,t){this.log(o,"color: #9E9E9E; font-weight: bold",t)}logGreen(o,t){this.log(o,"color: #4CAF50; font-weight: bold",t)}logRedish(o,t){this.log(o,"color: #FD8182; font-weight: bold",t)}log(o,t,n){this.logger.log("%c "+o,t,n)}},uo=(e,o)=>new Array(o+1).join(e),J=(e,o)=>uo("0",o-e.toString().length)+e;function fo(e){return J(e.getHours(),2)+":"+J(e.getMinutes(),2)+":"+J(e.getSeconds(),2)+"."+J(e.getMilliseconds(),3)}var Te=class{action;store;logWriter;constructor(o,t,n){this.action=o,this.store=t,this.logWriter=n}
1dispatched(o){let t=w(this.action),n=fo(new Date),r=`action ${t} @ ${n}`;this.logWriter.startGroup(r),this._hasPayload(this.action)&&this.logWriter.logGrey("payload",p({},this.action)),this.logWriter.logGrey("prev state",o)}completed(o){this.logWriter.logGreen("next state",o),this.logWriter.endGroup()}errored(o){this.logWriter.logRedish("next state after error",this.store.snapshot()),this.logWriter.logRedish("error",o),this.logWriter.endGroup()}_hasPayload(o){return this._getNonEmptyProperties(o).length>0}_getNonEmptyProperties(o){return Object.keys(o).map(r=>o[r]).filter(r=>r!==void 0)}},hn=new f("NGXS_LOGGER_PLUGIN_OPTIONS"),go=(()=>{class e{_store;_logWriter;_options=s(hn);_injector=s(T);handle(t,n,r){if(this._options.disabled||this._skipLogging(t,n))return r(t,n);this._logWriter||=new Ae(this._options),this._store||=this._injector.get(b);let i=new Te(n,this._store,this._logWriter);return i.dispatched(t),r(t,n).pipe(z(a=>{i.completed(a)}),A(a=>{throw i.errored(a),a}))}_skipLogging(t,n){return!U(this._injector,()=>this._options.filter(n,t))}static \u0275fac=function(n){return new(n||e)};static \u0275prov=u({token:e,factory:e.\u0275fac})}return e})(),gn=new f("LOGGER_USER_OPTIONS");function ho(e){return p(p({},{logger:console,collapsed:!1,disabled:!1,filter:()=>!0}),e)}function mn(e){return y([q(go),{provide:gn,useValue:e},{provide:hn,useFactory:ho,deps:[gn]}])}Ke(Dt);var mo="https://cdn.cookielaw.org/consent/2e1b0247-a206-48ca-99ca-d4e8cc85c1d9";function vo(e){if(!e)return;window.OptanonWrapper=()=>{};let o=document.createElement("script");o.type="text/javascript",o.src=`${mo}/OtAutoBlock.js`,o.onload=()=>{let t=document.createElement("script");t.type="text/javascript",t.src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",t.setAttribute("charset","UTF-8"),t.setAttribute("data-domain-script",e),document.head.appendChild(t)},document.head.appendChild(o)}var vn={providers:[Le(()=>{let e=s(ke);return Ze(e)?dt().then(()=>{vo(v.oneTrustDomainScript)}):Promise.resolve()}),tt(et()),xe(),Be({eventCoalescing:!0}),...vt,ft(),ot(Gt),ut,{provide:V,useClass:fe},fe,qe(Qe(),Je([wt,yt])),{provide:pt,useValue:v},mt({availableLangs:["pl","en"],defaultLang:v.i18n.fallbackLang,fallbackLang:v.i18n.fallbackLang,missingHandler:{logMissingKey:v.i18n.enableLogging,allowEmpty:!1,useFallbackTranslation:!0},prodMode:v.production}),{provide:gt,useValue:"/i18n/autogen"},{provide:ht,useValue:kt},xt({storage:{useValue:Rt(365*24*60*60*1e3)}}),{provide:$e,useValue:"pl"},pn([],fn({disabled:v.production}),mn({disabled:!0,collapsed:!0}))]};var Ie="0.66.0";var Q=class e{sessionLogger=s(St);usersService=s(_t);title="web-app";appVersion=Ie;ngOnInit(){console.log(`Version: ${Ie}`),v.errorModalLog&&this.sessionLogger.printSessionInfo()}onPageShow(o){o.persisted&&!this.usersService.isAuthenticated()&&window.location.reload()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=Fe({type:e,selectors:[["app-root"]],hostVars:1,hostBindings:function(t,n){t&1&&Ve("pageshow",function(i){return n.onPageShow(i)},je),t&2&&He("app-version",n.appVersion)},decls:2,vars:0,template:function(t,n){t&1&&Ue(0,"router-outlet")(1,"lib-error-drawer")},dependencies:[rt,nt,Mt],encapsulation:2})};Ye(Q,vn).catch(e=>{console.error(e)});
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.