(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{234:(Fe,q,p)=>{"use strict";p.d(q,{$A:()=>v,$W:()=>B,BL:()=>C,CX:()=>E,EK:()=>se,El:()=>j,HI:()=>ae,HJ:()=>M,Hc:()=>y,I8:()=>I,JK:()=>Ct,Mf:()=>l,Nr:()=>De,OG:()=>D,QJ:()=>R,Rd:()=>ct,Sf:()=>O,TM:()=>J,UR:()=>n,VD:()=>qe,W:()=>d,WM:()=>ee,WO:()=>he,Wi:()=>fe,X3:()=>X,YP:()=>Ke,YX:()=>h,Z8:()=>W,ZH:()=>Ze,Zu:()=>ve,_9:()=>Be,_E:()=>k,aL:()=>Je,as:()=>s,cQ:()=>ue,d7:()=>It,dh:()=>ce,e9:()=>Ae,eF:()=>P,eM:()=>pe,en:()=>rt,g6:()=>ye,i9:()=>We,kL:()=>S,lv:()=>xe,mI:()=>A,n7:()=>r,nE:()=>le,oV:()=>Me,pW:()=>f,pd:()=>m,u0:()=>H,uT:()=>ut,v_:()=>g,wD:()=>w,yl:()=>re,z:()=>ie});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.AB.UPDATE_API_CALL_STATUS_CLN,(0,e.Ky)()),A=(0,e.PH)(t.AB.RESET_CLN_STORE,(0,e.Ky)()),l=(0,e.PH)(t.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,e.Ky)()),w=(0,e.PH)(t.AB.FETCH_PAGE_SETTINGS_CLN),m=(0,e.PH)(t.AB.SET_PAGE_SETTINGS_CLN,(0,e.Ky)()),P=(0,e.PH)(t.AB.SAVE_PAGE_SETTINGS_CLN,(0,e.Ky)()),d=(0,e.PH)(t.AB.FETCH_INFO_CLN,(0,e.Ky)()),E=(0,e.PH)(t.AB.SET_INFO_CLN,(0,e.Ky)()),M=(0,e.PH)(t.AB.FETCH_FEE_RATES_CLN,(0,e.Ky)()),I=(0,e.PH)(t.AB.SET_FEE_RATES_CLN,(0,e.Ky)()),k=(0,e.PH)(t.AB.GET_NEW_ADDRESS_CLN,(0,e.Ky)()),B=((0,e.PH)(t.AB.SET_NEW_ADDRESS_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_PEERS_CLN)),W=(0,e.PH)(t.AB.SET_PEERS_CLN,(0,e.Ky)()),j=(0,e.PH)(t.AB.SAVE_NEW_PEER_CLN,(0,e.Ky)()),X=((0,e.PH)(t.AB.NEWLY_ADDED_PEER_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.ADD_PEER_CLN,(0,e.Ky)())),ie=(0,e.PH)(t.AB.DETACH_PEER_CLN,(0,e.Ky)()),se=(0,e.PH)(t.AB.REMOVE_PEER_CLN,(0,e.Ky)()),ue=(0,e.PH)(t.AB.FETCH_PAYMENTS_CLN),ae=(0,e.PH)(t.AB.SET_PAYMENTS_CLN,(0,e.Ky)()),Me=(0,e.PH)(t.AB.SEND_PAYMENT_CLN,(0,e.Ky)()),J=(0,e.PH)(t.AB.SEND_PAYMENT_STATUS_CLN,(0,e.Ky)()),he=(0,e.PH)(t.AB.GET_QUERY_ROUTES_CLN,(0,e.Ky)()),S=(0,e.PH)(t.AB.SET_QUERY_ROUTES_CLN,(0,e.Ky)()),n=(0,e.PH)(t.AB.FETCH_CHANNELS_CLN),s=(0,e.PH)(t.AB.SET_CHANNELS_CLN,(0,e.Ky)()),f=(0,e.PH)(t.AB.UPDATE_CHANNEL_CLN,(0,e.Ky)()),h=(0,e.PH)(t.AB.SAVE_NEW_CHANNEL_CLN,(0,e.Ky)()),C=(0,e.PH)(t.AB.CLOSE_CHANNEL_CLN,(0,e.Ky)()),D=(0,e.PH)(t.AB.REMOVE_CHANNEL_CLN,(0,e.Ky)()),O=(0,e.PH)(t.AB.PEER_LOOKUP_CLN,(0,e.Ky)()),v=(0,e.PH)(t.AB.CHANNEL_LOOKUP_CLN,(0,e.Ky)()),r=(0,e.PH)(t.AB.INVOICE_LOOKUP_CLN,(0,e.Ky)()),g=(0,e.PH)(t.AB.SET_LOOKUP_CLN,(0,e.Ky)()),H=(0,e.PH)(t.AB.GET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),R=(0,e.PH)(t.AB.SET_FORWARDING_HISTORY_CLN,(0,e.Ky)()),ee=(0,e.PH)(t.AB.FETCH_INVOICES_CLN),De=(0,e.PH)(t.AB.SET_INVOICES_CLN,(0,e.Ky)()),ct=(0,e.PH)(t.AB.SAVE_NEW_INVOICE_CLN,(0,e.Ky)()),Ke=(0,e.PH)(t.AB.ADD_INVOICE_CLN,(0,e.Ky)()),Je=(0,e.PH)(t.AB.UPDATE_INVOICE_CLN,(0,e.Ky)()),ye=(0,e.PH)(t.AB.DELETE_EXPIRED_INVOICE_CLN,(0,e.Ky)()),fe=(0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_CLN,(0,e.Ky)()),xe=((0,e.PH)(t.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,e.Ky)()),(0,e.PH)(t.AB.FETCH_UTXO_BALANCES_CLN)),le=(0,e.PH)(t.AB.SET_UTXO_BALANCES_CLN,(0,e.Ky)()),pe=(0,e.PH)(t.AB.FETCH_OFFER_INVOICE_CLN,(0,e.Ky)()),qe=(0,e.PH)(t.AB.SET_OFFER_INVOICE_CLN,(0,e.Ky)()),re=(0,e.PH)(t.AB.FETCH_OFFERS_CLN),ve=(0,e.PH)(t.AB.SET_OFFERS_CLN,(0,e.Ky)()),ce=(0,e.PH)(t.AB.SAVE_NEW_OFFER_CLN,(0,e.Ky)()),Ze=(0,e.PH)(t.AB.ADD_OFFER_CLN,(0,e.Ky)()),We=(0,e.PH)(t.AB.DISABLE_OFFER_CLN,(0,e.Ky)()),Ct=(0,e.PH)(t.AB.UPDATE_OFFER_CLN,(0,e.Ky)()),ut=(0,e.PH)(t.AB.FETCH_OFFER_BOOKMARKS_CLN),It=(0,e.PH)(t.AB.SET_OFFER_BOOKMARKS_CLN,(0,e.Ky)()),Ae=(0,e.PH)(t.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),Be=(0,e.PH)(t.AB.DELETE_OFFER_BOOKMARK_CLN,(0,e.Ky)()),rt=(0,e.PH)(t.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,e.Ky)())},9125:(Fe,q,p)=>{"use strict";p.d(q,{J:()=>Me});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),w=p(7398),m=p(6306),P=p(3315),d=p(6820),E=p(2154),M=p(9103),I=p(234),k=p(3468),z=p(5440),B=p(9212),W=p(9862),j=p(4221),K=p(5813),X=p(6339),ie=p(5980),se=p(4190),ue=p(2285),ae=p(6814);let Me=(()=>{class J{constructor(S,n,s,f,h,C,D,O,v){this.actions=S,this.httpClient=n,this.store=s,this.sessionService=f,this.commonService=h,this.logger=C,this.router=D,this.wsService=O,this.location=v,this.CHILD_API_URL=E.T5+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_INFO_CLN),(0,A.z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,M.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.INITIATED}})),this.store.dispatch((0,M.ac)({payload:E.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+E.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(E.pg.SET_SELECTED_NODE))),(0,w.U)(g=>(this.logger.info(g),this.CLN_VERISON=g.version||"",g.chains&&g.chains.length&&g.chains[0]&&"object"==typeof g.chains[0]&&g.chains[0].hasOwnProperty("chain")&&g?.chains[0].chain&&g?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&g?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.GET_NODE_INFO})),this.store.dispatch((0,M.ts)()),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:E.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:E.pg.LOGOUT}):(this.initializeRemainingData(g,r.payload.loadPage),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInfo",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.GET_NODE_INFO})),{type:E.AB.SET_INFO_CLN,payload:g||{}}))),(0,m.K)(g=>{const H=this.commonService.extractErrorCode(g),R="ETIMEDOUT"===H?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(g);return this.router.navigate(["/error"],{state:{errorCode:H,errorMessage:R}}),this.handleErrorWithoutAlert("FetchInfo",E.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:H,error:R}),(0,y.of)({type:E.pg.VOID})})))))),this.fetchFeeRatesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_FEE_RATES_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+r.payload,status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/feeRates",{style:r.payload}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchFeeRates"+r.payload,status:E.Bn.COMPLETED}})),{type:E.AB.SET_FEE_RATES_CLN,payload:g||{}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchFeeRates"+r.payload,E.m6.NO_SPINNER,"Fetching Fee Rates Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.getNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_NEW_ADDRESS_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+E.vv.ON_CHAIN_API+"/newaddr",{addresstype:r.payload.addressCode}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.GENERATE_NEW_ADDRESS})),{type:E.AB.SET_NEW_ADDRESS_CLN,payload:g&&g[r.payload.addressCode]?g[r.payload.addressCode]:{}})),(0,m.K)(g=>(this.handleErrorWithAlert("GenerateNewAddress",E.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+E.vv.ON_CHAIN_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.setNewAddressCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_NEW_ADDRESS_CLN),(0,w.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.peersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PEERS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.PEERS_API).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPeers",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PEERS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPeers",E.m6.NO_SPINNER,"Fetching Peers Failed.",r),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_PEER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.CONNECT_PEER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.PEERS_API,{id:r.payload.id}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewPeer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:g||[]})),{type:E.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:g.find(H=>0===r.payload.id.indexOf(H.id?H.id:""))}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewPeer",E.m6.CONNECT_PEER,"Peer Connection Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.detachPeerCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DETACH_PEER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+E.vv.PEERS_API+"/disconnect",{id:r.payload.id,force:r.payload.force}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.DISCONNECT_PEER})),this.store.dispatch((0,M.jW)({payload:"Peer Disconnected Successfully!"})),{type:E.AB.REMOVE_PEER_CLN,payload:{id:r.payload.id}})),(0,m.K)(g=>(this.handleErrorWithAlert("PeerDisconnect",E.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+E.vv.PEERS_API+"/"+r.payload.id,g),(0,y.of)({type:E.pg.VOID})))))))),this.channelsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_CHANNELS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.CHANNELS_API+"/listPeerChannels"))),(0,w.U)(r=>{this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchChannels",status:E.Bn.COMPLETED}}));const g={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return r.forEach(H=>{"CHANNELD_NORMAL"===H.state?H.peer_connected?g.activeChannels.push(H):g.inactiveChannels.push(H):g.pendingChannels.push(H)}),{type:E.AB.SET_CHANNELS_CLN,payload:g}}),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",E.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.openNewChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_CHANNEL_CLN),(0,A.z)(r=>{this.store.dispatch((0,M.ac)({payload:E.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:E.Bn.INITIATED}}));const g={id:r.payload.peerId,amount:r.payload.amount,feerate:r.payload.feeRate,announce:r.payload.announce};return r.payload.minconf&&(g.minconf=r.payload.minconf),r.payload.utxos&&(g.utxos=r.payload.utxos),r.payload.requestAmount&&(g.request_amt=r.payload.requestAmount),r.payload.compactLease&&(g.compact_lease=r.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API,g).pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewChannel",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,I.lv)()),{type:E.AB.FETCH_CHANNELS_CLN})),(0,m.K)(H=>(this.handleErrorWithoutAlert("SaveNewChannel",E.m6.OPEN_CHANNEL,"Opening Channel Failed.",H),(0,y.of)({type:E.pg.VOID}))))}))),this.updateChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.UPDATE_CHANNEL_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/setChannelFee",r.payload).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,M.jW)("all"===r.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:E.AB.FETCH_CHANNELS_CLN})),(0,m.K)(g=>(this.handleErrorWithAlert("UpdateChannel",E.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+E.vv.CHANNELS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.closeChannelCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.CLOSE_CHANNEL_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/close",{id:r.payload.channelId,unilateraltimeout:r.payload.force?1:null}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,M.jW)({payload:"Channel Closed Successfully!"})),{type:E.AB.REMOVE_CHANNEL_CLN,payload:r.payload})),(0,m.K)(g=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?E.m6.FORCE_CLOSE_CHANNEL:E.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+E.vv.CHANNELS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.paymentsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PAYMENTS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.PAYMENTS_API))),(0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPayments",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PAYMENTS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPayments",E.m6.NO_SPINNER,"Fetching Payments Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFER_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.FETCH_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/fetchOfferInvoice",r.payload).pipe((0,w.U)(g=>{this.logger.info(g),setTimeout(()=>{this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferInvoice",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.FETCH_INVOICE})),this.store.dispatch((0,I.VD)({payload:g||{}}))},500)}),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOfferInvoice",E.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",g),(0,y.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_OFFER_INVOICE_CLN),(0,w.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.sendPaymentCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SEND_PAYMENT_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.PAYMENTS_API,r.payload).pipe((0,w.U)(g=>{this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SendPayment",status:E.Bn.COMPLETED}}));let H="Payment Sent Successfully!";g.saveToDBError&&(H="Payment Sent Successfully but Offer Saving to Database Failed."),g.saveToDBResponse&&"NA"!==g.saveToDBResponse&&(this.store.dispatch((0,I.e9)({payload:g.saveToDBResponse})),H="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,I.cQ)()),this.store.dispatch((0,M.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,M.jW)({payload:H})),this.store.dispatch((0,I.TM)({payload:g.paymentResponse}))},1e3)}),(0,m.K)(g=>(this.logger.error("Error: "+JSON.stringify(g)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed.",g):this.handleErrorWithAlert("SendPayment",r.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+E.vv.PAYMENTS_API,g),(0,y.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_QUERY_ROUTES_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/getRoute",{id:r.payload.destPubkey,amount_msat:r.payload.amount,riskfactor:0}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"GetQueryRoutes",status:E.Bn.COMPLETED}})),{type:E.AB.SET_QUERY_ROUTES_CLN,payload:g})),(0,m.K)(g=>(this.store.dispatch((0,I.kL)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",E.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/getRoute",g),(0,y.of)({type:E.pg.VOID})))))))),this.setQueryRoutesCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_QUERY_ROUTES_CLN),(0,w.U)(r=>r.payload)),{dispatch:!1}),this.peerLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.PEER_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.SEARCHING_NODE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/listNodes",{id:r.payload}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.SEARCHING_NODE})),{type:E.AB.SET_LOOKUP_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithAlert("Lookup",E.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/listNodes/"+r.payload,g),(0,y.of)({type:E.pg.VOID})))))))),this.channelLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.CHANNEL_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.NETWORK_API+"/listChannels",{short_channel_id:r.payload.shortChannelID}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:r.payload.uiMessage})),{type:E.AB.SET_LOOKUP_CLN,payload:g})),(0,m.K)(g=>(r.payload.showError?this.handleErrorWithAlert("Lookup",r.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+E.vv.NETWORK_API+"/listChannels/"+r.payload.shortChannelID,g):this.store.dispatch((0,M.uO)({payload:r.payload.uiMessage})),this.store.dispatch((0,I.v_)({payload:[]})),(0,y.of)({type:E.pg.VOID})))))))),this.invoiceLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.INVOICE_LOOKUP_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/lookup",{label:r.payload}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"Lookup",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.SEARCHING_INVOICE})),g.invoices&&g.invoices.length&&g.invoices.length>0&&this.store.dispatch((0,I.aL)({payload:g.invoices[0]})),{type:E.AB.SET_LOOKUP_CLN,payload:g.invoices&&g.invoices.length&&g.invoices.length>0?g.invoices[0]:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("Lookup",E.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",g),this.store.dispatch((0,M.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:E.pg.VOID})))))))),this.setLookupCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_LOOKUP_CLN),(0,w.U)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.GET_FORWARDING_HISTORY_CLN),(0,A.z)(r=>{const g=r.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+g,status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.CHANNELS_API+"/listForwards",r.payload).pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,I.Hc)({payload:{action:"FetchForwardingHistory"+g,status:E.Bn.COMPLETED}})),r.payload.status===E.OO.FAILED?this.store.dispatch((0,I.QJ)({payload:{status:E.OO.FAILED,totalForwards:H.length,listForwards:H}})):r.payload.status===E.OO.LOCAL_FAILED?this.store.dispatch((0,I.QJ)({payload:{status:E.OO.LOCAL_FAILED,totalForwards:H.length,listForwards:H}})):r.payload.status===E.OO.SETTLED&&this.store.dispatch((0,I.QJ)({payload:{status:E.OO.SETTLED,totalForwards:H.length,listForwards:H}})),{type:E.pg.VOID})),(0,m.K)(H=>(this.handleErrorWithAlert("FetchForwardingHistory"+g,E.m6.NO_SPINNER,"Get "+r.payload.status+" Forwarding History Failed",this.CHILD_API_URL+E.vv.CHANNELS_API+"/listForwards",H),(0,y.of)({type:E.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DELETE_EXPIRED_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/delete",{maxexpiry:r.payload}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,M.uO)({payload:E.m6.DELETE_INVOICE})),this.store.dispatch((0,M.jW)({payload:"Invoices Deleted Successfully!"})),{type:E.AB.FETCH_INVOICES_CLN})),(0,m.K)(g=>(this.handleErrorWithAlert("DeleteInvoices",E.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+E.vv.INVOICES_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewInvoiceCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_INVOICE_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.ADD_INVOICE})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API,r.payload).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewInvoice",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.ADD_INVOICE})),g.amount_msat=r.payload.amount_msat,g.label=r.payload.label,g.expires_at=Math.round((new Date).getTime()/1e3+r.payload.expiry),g.description=r.payload.description,g.status="unpaid",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{invoice:g,newlyAdded:!0,component:d.y}}}))},200),{type:E.AB.ADD_INVOICE_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewInvoice",E.m6.ADD_INVOICE,"Add Invoice Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.saveNewOfferCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_NEW_OFFER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.CREATE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API,r.payload).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SaveNewOffer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{offer:g,newlyAdded:!0,component:z.k}}}))},100),{type:E.AB.ADD_OFFER_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewOffer",E.m6.CREATE_OFFER,"Create Offer Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.invoicesFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_INVOICES_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.INVOICES_API+"/lookup",null))),(0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchInvoices",status:E.Bn.COMPLETED}})),{type:E.AB.SET_INVOICES_CLN,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchInvoices",E.m6.NO_SPINNER,"Fetching Invoices Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.offersFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFERS_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.OFFERS_API).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOffers",status:E.Bn.COMPLETED}})),{type:E.AB.SET_OFFERS_CLN,payload:g.offers?g.offers:[]})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOffers",E.m6.NO_SPINNER,"Fetching Offers Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.offersDisableCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DISABLE_OFFER_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DISABLE_OFFER})),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/disableOffer",{offer_id:r.payload.offer_id}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"DisableOffer",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.DISABLE_OFFER})),this.store.dispatch((0,M.jW)({payload:"Offer Disabled Successfully!"})),{type:E.AB.UPDATE_OFFER_CLN,payload:{offer:g}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("DisableOffer",E.m6.DISABLE_OFFER,"Disabling Offer Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,A.z)(r=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmarks").pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"FetchOfferBookmarks",status:E.Bn.COMPLETED}})),{type:E.AB.SET_OFFER_BOOKMARKS_CLN,payload:g||[]})),(0,m.K)(g=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",E.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.peidOffersDeleteCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.DELETE_OFFER_BOOKMARK_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmark/delete",{offer_str:r.payload.bolt12}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"DeleteOfferBookmark",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,M.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:E.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:r.payload.bolt12}})),(0,m.K)(g=>(this.handleErrorWithAlert("DeleteOfferBookmark",E.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+E.vv.OFFERS_API+"/offerbookmark/"+r.payload.bolt12,g),(0,y.of)({type:E.pg.VOID})))))))),this.SetChannelTransactionCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SET_CHANNEL_TRANSACTION_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.SEND_FUNDS})),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:E.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+E.vv.ON_CHAIN_API,r.payload).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SetChannelTransaction",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.SEND_FUNDS})),this.store.dispatch((0,I.lv)()),{type:E.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:g})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SetChannelTransaction",E.m6.SEND_FUNDS,"Sending Fund Failed.",g),(0,y.of)({type:E.pg.VOID})))))))),this.utxoBalancesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_UTXO_BALANCES_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOBalances",status:E.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+E.vv.ON_CHAIN_API+"/utxos"))),(0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchUTXOBalances",status:E.Bn.COMPLETED}})),{type:E.AB.SET_UTXO_BALANCES_CLN,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchUTXOBalances",E.m6.NO_SPINNER,"Fetching UTXO and Balances Failed.",r),(0,y.of)({type:E.pg.VOID}))))),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.FETCH_PAGE_SETTINGS_CLN),(0,A.z)(()=>(this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.PAGE_SETTINGS_API).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.Hc)({payload:{action:"FetchPageSettings",status:E.Bn.COMPLETED}})),{type:E.AB.SET_PAGE_SETTINGS_CLN,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",E.m6.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,y.of)({type:E.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.AB.SAVE_PAGE_SETTINGS_CLN),(0,A.z)(r=>(this.store.dispatch((0,M.ac)({payload:E.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.PAGE_SETTINGS_API,r.payload).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.Hc)({payload:{action:"SavePageSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:E.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.jW)({payload:"Page Layout Updated Successfully!"})),{type:E.AB.SET_PAGE_SETTINGS_CLN,payload:g||[]})),(0,m.K)(g=>(this.handleErrorWithAlert("SavePageSettings",E.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",E.vv.PAGE_SETTINGS_API,g),(0,y.of)({type:E.pg.VOID})))))))),this.store.select(k.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==E.Bn.COMPLETED&&r.FetchInfo.status!==E.Bn.ERROR||r.FetchChannels.status!==E.Bn.COMPLETED&&r.FetchChannels.status!==E.Bn.ERROR||r.FetchUTXOBalances.status!==E.Bn.COMPLETED&&r.FetchUTXOBalances.status!==E.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,M.uO)({payload:E.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(r=>{this.logger.info("Received new message from the service: "+JSON.stringify(r)),r&&r.data&&r.data[E.nM.INVOICE_PAYMENT]&&r.data[E.nM.INVOICE_PAYMENT].label&&this.store.dispatch((0,I.aL)({payload:r.data[E.nM.INVOICE_PAYMENT]}))})}initializeRemainingData(S,n){this.sessionService.setItem("clnUnlocked","true");const s={identity_pubkey:S.id,alias:S.alias,testnet:"testnet"===S.network.toLowerCase(),chains:S.chains,uris:S.uris,version:S.version,api_version:S.api_version,numberOfPendingChannels:S.num_pending_channels};this.store.dispatch((0,M.ac)({payload:E.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,M._V)({payload:s}));let f=this.location.path();f.includes("/lnd/")?f=f?.replace("/lnd/","/cln/"):f.includes("/ecl/")&&(f=f?.replace("/ecl/","/cln/")),(f.includes("/login")||f.includes("/error")||""===f||"HOME"===n||f.includes("?access-key="))&&(f="/cln/home"),this.router.navigate([f]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.lv)()),this.store.dispatch((0,I.HJ)({payload:"perkw"})),this.store.dispatch((0,I.HJ)({payload:"perkb"})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.cQ)())}handleErrorWithoutAlert(S,n,s,f){if(this.logger.error("ERROR IN: "+S+"\n"+JSON.stringify(f)),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:n}));const h=this.commonService.extractErrorMessage(f,s);this.store.dispatch((0,I.Hc)({payload:{action:S,status:E.Bn.ERROR,statusCode:f.status.toString(),message:h}}))}}handleErrorWithAlert(S,n,s,f,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:n}));const C=this.commonService.extractErrorMessage(h);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:s,message:{code:h.status,message:C,URL:f},component:P.H}}})),this.store.dispatch((0,I.Hc)({payload:{action:S,status:E.Bn.ERROR,statusCode:h.status.toString(),message:C,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(S=>{S.next(null),S.complete()})}static#e=this.\u0275fac=function(n){return new(n||J)(B.LFG(e.eX),B.LFG(W.eN),B.LFG(j.yh),B.LFG(K.m),B.LFG(X.v),B.LFG(ie.mQ),B.LFG(se.F0),B.LFG(ue.d),B.LFG(ae.Ye))};static#t=this.\u0275prov=B.Yz7({token:J,factory:J.\u0275fac})}return J})()},3468:(Fe,q,p)=>{"use strict";p.d(q,{AS:()=>A,Ao:()=>ie,Bo:()=>B,EQ:()=>ae,Hz:()=>se,OL:()=>K,PP:()=>P,Wi:()=>d,XP:()=>k,Y_:()=>ue,ZW:()=>z,ey:()=>l,gc:()=>I,hx:()=>M,jK:()=>X,lK:()=>j,lw:()=>y,xQ:()=>W,yA:()=>m,zm:()=>E});var e=p(4221);const t=(0,e.ZF)("cln"),y=(0,e.P1)(t,J=>J.nodeSettings),A=(0,e.P1)(t,J=>({pageSettings:J.pageSettings,apiCallStatus:J.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,J=>J.information),m=((0,e.P1)(t,J=>J.apisCallStatus.FetchInfo),(0,e.P1)(t,J=>J.apisCallStatus)),P=(0,e.P1)(t,J=>({payments:J.payments,apiCallStatus:J.apisCallStatus.FetchPayments})),d=(0,e.P1)(t,J=>({peers:J.peers,apiCallStatus:J.apisCallStatus.FetchPeers})),E=(0,e.P1)(t,J=>({feeRatesPerKB:J.feeRatesPerKB,apiCallStatus:J.apisCallStatus.FetchFeeRatesperkb})),M=(0,e.P1)(t,J=>({feeRatesPerKW:J.feeRatesPerKW,apiCallStatus:J.apisCallStatus.FetchFeeRatesperkw})),I=(0,e.P1)(t,J=>({listInvoices:J.invoices,apiCallStatus:J.apisCallStatus.FetchInvoices})),k=(0,e.P1)(t,J=>({utxos:J.utxos,balance:J.balance,localRemoteBalance:J.localRemoteBalance,apiCallStatus:J.apisCallStatus.FetchUTXOBalances})),z=(0,e.P1)(t,J=>({activeChannels:J.activeChannels,pendingChannels:J.pendingChannels,inactiveChannels:J.inactiveChannels,apiCallStatus:J.apisCallStatus.FetchChannels})),B=(0,e.P1)(t,J=>({forwardingHistory:J.forwardingHistory,apiCallStatus:J.apisCallStatus.FetchForwardingHistoryS})),W=(0,e.P1)(t,J=>({failedForwardingHistory:J.failedForwardingHistory,apiCallStatus:J.apisCallStatus.FetchForwardingHistoryF})),j=(0,e.P1)(t,J=>({localFailedForwardingHistory:J.localFailedForwardingHistory,apiCallStatus:J.apisCallStatus.FetchForwardingHistoryL})),K=(0,e.P1)(t,J=>({information:J.information,nodeSettings:J.nodeSettings,balance:J.balance})),X=(0,e.P1)(t,J=>({information:J.information,balance:J.balance,numPeers:J.peers.length})),ie=(0,e.P1)(t,J=>({information:J.information,balance:J.balance})),se=(0,e.P1)(t,J=>({information:J.information,nodeSettings:J.nodeSettings,fees:J.fees,apisCallStatus:[J.apisCallStatus.FetchInfo,J.apisCallStatus.FetchForwardingHistoryS]})),ue=(0,e.P1)(t,J=>({offers:J.offers,apiCallStatus:J.apisCallStatus.FetchOffers})),ae=(0,e.P1)(t,J=>({offersBookmarks:J.offersBookmarks,apiCallStatus:J.apisCallStatus.FetchOfferBookmarks}))},6820:(Fe,q,p)=>{"use strict";p.d(q,{y:()=>qe});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),w=p(3468),m=p(9212),P=p(5980),d=p(6339),E=p(2939),M=p(4221),I=p(6814),k=p(5597),z=p(3814),B=p(7509),W=p(2296),j=p(5195),K=p(6385),X=p(5940),ie=p(2596),se=p(2279),ue=p(7313),ae=p(6985);function Me(re,ve){if(1&re&&m._UZ(0,"qr-code",33),2&re){const ce=m.oxw();m.Q6J("value",(null==ce.invoice?null:ce.invoice.bolt11)||(null==ce.invoice?null:ce.invoice.bolt12))("size",ce.qrWidth)("errorCorrectionLevel","L")}}function J(re,ve){1&re&&(m.TgZ(0,"span",34),m._uU(1,"N/A"),m.qZA())}const he=re=>({"mr-0":re});function S(re,ve){if(1&re&&m._UZ(0,"span",35),2&re){const ce=m.oxw();m.Q6J("ngClass",m.VKq(1,he,ce.screenSize===ce.screenSizeEnum.XS))}}function n(re,ve){if(1&re&&m._UZ(0,"span",36),2&re){const ce=m.oxw();m.Q6J("ngClass",m.VKq(1,he,ce.screenSize===ce.screenSizeEnum.XS))}}function s(re,ve){if(1&re&&m._UZ(0,"span",37),2&re){const ce=m.oxw();m.Q6J("ngClass",m.VKq(1,he,ce.screenSize===ce.screenSizeEnum.XS))}}function f(re,ve){if(1&re&&m._UZ(0,"qr-code",33),2&re){const ce=m.oxw();m.Q6J("value",(null==ce.invoice?null:ce.invoice.bolt11)||(null==ce.invoice?null:ce.invoice.bolt12))("size",ce.qrWidth)("errorCorrectionLevel","L")}}function h(re,ve){1&re&&(m.TgZ(0,"span",38),m._uU(1,"QR Code Not Applicable"),m.qZA())}function C(re,ve){1&re&&m._UZ(0,"mat-divider",39)}function D(re,ve){if(1&re&&(m.TgZ(0,"div",19)(1,"div",40),m._UZ(2,"fa-icon",41),m.TgZ(3,"span"),m._uU(4),m.qZA()()()),2&re){const ce=m.oxw();m.xp6(2),m.Q6J("icon",ce.faExclamationTriangle),m.xp6(2),m.Oqu(null==ce.invoice?null:ce.invoice.warning_capacity)}}function O(re,ve){1&re&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function v(re,ve){1&re&&m._UZ(0,"span",47)}const r=()=>[];function g(re,ve){if(1&re&&(m.TgZ(0,"div",43)(1,"div",44)(2,"span",45),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,v,1,0,"span",46),m.qZA()()),2&re){const ce=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,(null==ce.invoice?null:ce.invoice.amount_received_msat)/1e3)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,r).constructor(35))}}function H(re,ve){if(1&re&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&re){const ce=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,(null==ce.invoice?null:ce.invoice.amount_received_msat)/1e3)," Sats")}}function R(re,ve){if(1&re&&(m.ynx(0),m.YNc(1,g,6,5,"div",42)(2,H,3,3,"div",23),m.BQk()),2&re){const ce=m.oxw();m.xp6(1),m.Q6J("ngIf",ce.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!ce.flgInvoicePaid)}}function ee(re,ve){1&re&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function De(re,ve){1&re&&m._UZ(0,"mat-spinner",49),2&re&&m.Q6J("diameter",20)}function ct(re,ve){if(1&re&&(m.ynx(0),m.YNc(1,ee,2,0,"span",23)(2,De,1,1,"mat-spinner",48),m.BQk()),2&re){const ce=m.oxw();m.xp6(1),m.Q6J("ngIf","unpaid"!==(null==ce.invoice?null:ce.invoice.status)),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==ce.invoice?null:ce.invoice.status))}}function Ke(re,ve){if(1&re&&(m.TgZ(0,"div"),m._UZ(1,"mat-divider",25),m.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),m._uU(5,"Payment Hash"),m.qZA(),m.TgZ(6,"span",24),m._uU(7),m.qZA()()(),m._UZ(8,"mat-divider",25),m.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),m._uU(12,"Label"),m.qZA(),m.TgZ(13,"span",24),m._uU(14),m.qZA()()(),m._UZ(15,"mat-divider",25),m.qZA()),2&re){const ce=m.oxw();m.xp6(7),m.Oqu(null==ce.invoice?null:ce.invoice.payment_hash),m.xp6(7),m.Oqu(null==ce.invoice?null:ce.invoice.label)}}function Je(re,ve){1&re&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function ye(re,ve){1&re&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function fe(re,ve){if(1&re){const ce=m.EpF();m.TgZ(0,"button",50),m.NdJ("copied",function(We){m.CHM(ce);const Ct=m.oxw();return m.KtG(Ct.onCopyPayment(We))}),m._uU(1,"Copy Invoice"),m.qZA()}if(2&re){const ce=m.oxw();m.Q6J("payload",(null==ce.invoice?null:ce.invoice.bolt11)||(null==ce.invoice?null:ce.invoice.bolt12))}}function de(re,ve){if(1&re){const ce=m.EpF();m.TgZ(0,"button",51),m.NdJ("click",function(){m.CHM(ce);const We=m.oxw();return m.KtG(We.onClose())}),m._uU(1,"OK"),m.qZA()}}const xe=re=>({"display-none":re}),le=re=>({"xs-scroll-y":re}),pe=(re,ve)=>({"mt-2":re,"mt-1":ve});let qe=(()=>{class re{constructor(ce,Ze,We,Ct,ut,It){this.dialogRef=ce,this.data=Ze,this.logger=We,this.commonService=Ct,this.snackBar=ut,this.store=It,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(w.gc).pipe((0,A.R)(this.unSubs[1])).subscribe(ce=>{const We=(ce.listInvoices.invoices||[])?.find(Ct=>Ct.payment_hash===this.invoice.payment_hash)||null;We&&(this.invoice=We),this.invoiceStatus!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(this.invoice),this.logger.info(this.invoiceStatus),this.logger.info(We),this.logger.info(ce)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ce){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ce)}ngOnDestroy(){this.unSubs.forEach(ce=>{ce.next(null),ce.complete()})}static#e=this.\u0275fac=function(Ze){return new(Ze||re)(m.Y36(e.so),m.Y36(e.WI),m.Y36(P.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(M.yh))};static#t=this.\u0275cmp=m.Xpm({type:re,selectors:[["rtl-cln-invoice-information"]],decls:72,vars:49,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","dot green ml-1","matTooltip","Paid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow ml-1","matTooltip","Unpaid","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red ml-1","matTooltip","Expired","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],["matTooltip","Paid","matTooltipPosition","right",1,"dot","green","ml-1",3,"ngClass"],["matTooltip","Unpaid","matTooltipPosition","right",1,"dot","yellow","ml-1",3,"ngClass"],["matTooltip","Expired","matTooltipPosition","right",1,"dot","red","ml-1",3,"ngClass"],[1,"font-size-120"],[1,"my-1"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Ze,We){if(1&Ze&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,Me,1,3,"qr-code",2)(3,J,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.YNc(10,S,1,3,"span",9)(11,n,1,3,"span",10)(12,s,1,3,"span",11),m.qZA()(),m.TgZ(13,"button",12),m.NdJ("click",function(){return We.onClose()}),m._uU(14,"X"),m.qZA()(),m.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),m.YNc(18,f,1,3,"qr-code",2)(19,h,2,0,"span",16),m.qZA(),m.YNc(20,C,1,0,"mat-divider",17)(21,D,5,2,"div",18),m.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),m._uU(25),m.qZA(),m.TgZ(26,"span",22),m._uU(27),m.ALo(28,"number"),m.YNc(29,O,2,0,"ng-container",23),m.qZA()(),m.TgZ(30,"div",20)(31,"h4",21),m._uU(32,"Amount Received"),m.qZA(),m.TgZ(33,"span",24),m.YNc(34,R,3,2,"ng-container",23)(35,ct,3,2,"ng-container",23),m.qZA()()(),m._UZ(36,"mat-divider",25),m.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),m._uU(40,"Date Expiry"),m.qZA(),m.TgZ(41,"span",22),m._uU(42),m.ALo(43,"date"),m.qZA()(),m.TgZ(44,"div",20)(45,"h4",21),m._uU(46,"Date Settled"),m.qZA(),m.TgZ(47,"span",22),m._uU(48),m.ALo(49,"date"),m.qZA()()(),m._UZ(50,"mat-divider",25),m.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),m._uU(54,"Description"),m.qZA(),m.TgZ(55,"span",22),m._uU(56),m.qZA()()(),m._UZ(57,"mat-divider",25),m.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),m._uU(61),m.qZA(),m.TgZ(62,"span",24),m._uU(63),m.qZA()()(),m.YNc(64,Ke,16,2,"div",23),m.TgZ(65,"div",27)(66,"button",28),m.NdJ("click",function(){return We.onShowAdvanced()}),m.YNc(67,Je,2,0,"p",29)(68,ye,2,0,"ng-template",null,30,m.W1O),m.qZA(),m.YNc(70,fe,2,1,"button",31)(71,de,2,0,"button",32),m.qZA()()()()()),2&Ze){const Ct=m.MAs(69);m.xp6(1),m.Q6J("fxLayoutAlign",null!=We.invoice&&We.invoice.bolt11&&""!==(null==We.invoice?null:We.invoice.bolt11)||null!=We.invoice&&We.invoice.bolt12&&""!==(null==We.invoice?null:We.invoice.bolt12)?"center start":"center center")("ngClass",m.VKq(40,xe,We.screenSize===We.screenSizeEnum.XS||We.screenSize===We.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==We.invoice?null:We.invoice.bolt11)&&""!==(null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)&&""!==(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.bolt11||null!=We.invoice&&We.invoice.bolt12)),m.xp6(4),m.Q6J("icon",We.faReceipt),m.xp6(2),m.hij(" ",We.screenSize===We.screenSizeEnum.XS?We.newlyAdded?"Created":"Invoice":We.newlyAdded?"Invoice Created":"Invoice Information"," "),m.xp6(1),m.Q6J("ngIf","paid"===(null==We.invoice?null:We.invoice.status)),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==We.invoice?null:We.invoice.status)),m.xp6(1),m.Q6J("ngIf","expired"===(null==We.invoice?null:We.invoice.status)),m.xp6(3),m.Q6J("ngClass",m.VKq(42,le,We.screenSize===We.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=We.invoice&&We.invoice.bolt11&&""!==(null==We.invoice?null:We.invoice.bolt11)||null!=We.invoice&&We.invoice.bolt12&&""!==(null==We.invoice?null:We.invoice.bolt12)?"center start":"center center")("ngClass",m.VKq(44,xe,We.screenSize!==We.screenSizeEnum.XS&&We.screenSize!==We.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==We.invoice?null:We.invoice.bolt11)&&""!==(null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)&&""!==(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.bolt11||null!=We.invoice&&We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",We.screenSize===We.screenSizeEnum.XS||We.screenSize===We.screenSizeEnum.SM),m.xp6(1),m.Q6J("ngIf",null==We.invoice?null:We.invoice.warning_capacity),m.xp6(4),m.Oqu(We.screenSize===We.screenSizeEnum.XS?"Amount":"Amount Requested"),m.xp6(2),m.hij(" ",m.lcZ(28,32,(null==We.invoice?null:We.invoice.amount_msat)/1e3||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.amount_msat)||"0"===(null==We.invoice?null:We.invoice.amount_msat)||"any"===(null==We.invoice?null:We.invoice.amount_msat)),m.xp6(5),m.Q6J("ngIf","paid"===(null==We.invoice?null:We.invoice.status)),m.xp6(1),m.Q6J("ngIf","paid"!==(null==We.invoice?null:We.invoice.status)),m.xp6(7),m.Oqu(m.xi3(43,34,1e3*(null==We.invoice?null:We.invoice.expires_at),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.xi3(49,37,1e3*(null==We.invoice?null:We.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),m.xp6(8),m.Oqu((null==We.invoice?null:We.invoice.description)||"-"),m.xp6(5),m.hij("",null!=We.invoice&&We.invoice.bolt12?"Bolt12":null!=We.invoice&&We.invoice.bolt11&&!We.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),m.xp6(2),m.Oqu((null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",We.showAdvanced),m.xp6(1),m.Q6J("ngClass",m.WLB(46,pe,!We.showAdvanced,We.showAdvanced)),m.xp6(2),m.Q6J("ngIf",!We.showAdvanced)("ngIfElse",Ct),m.xp6(3),m.Q6J("ngIf",(null==We.invoice?null:We.invoice.bolt11)&&""!==(null==We.invoice?null:We.invoice.bolt11)||(null==We.invoice?null:We.invoice.bolt12)&&""!==(null==We.invoice?null:We.invoice.bolt12)),m.xp6(1),m.Q6J("ngIf",!(null!=We.invoice&&We.invoice.bolt11||null!=We.invoice&&We.invoice.bolt12))}},dependencies:[I.mk,I.sg,I.O5,k.BN,z.xw,z.Wh,z.yH,B.oO,W.lW,j.dn,j.dk,K.d,X.Ou,ie.gM,se.uU,ue.y,ae.h,I.JJ,I.uU]})}return re})()},5440:(Fe,q,p)=>{"use strict";p.d(q,{k:()=>ee});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),w=p(9212),m=p(5980),P=p(6339),d=p(2939),E=p(6046),M=p(6814),I=p(5597),k=p(3814),z=p(7509),B=p(2296),W=p(5195),j=p(6385),K=p(2279),X=p(7313),ie=p(6985);function se(De,ct){if(1&De&&w._UZ(0,"qr-code",28),2&De){const Ke=w.oxw();w.Q6J("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)("errorCorrectionLevel","L")}}function ue(De,ct){1&De&&(w.TgZ(0,"span",29),w._uU(1,"N/A"),w.qZA())}function ae(De,ct){if(1&De&&w._UZ(0,"qr-code",28),2&De){const Ke=w.oxw();w.Q6J("value",null==Ke.offer?null:Ke.offer.bolt12)("size",Ke.qrWidth)("errorCorrectionLevel","L")}}function Me(De,ct){1&De&&(w.TgZ(0,"span",30),w._uU(1,"QR Code Not Applicable"),w.qZA())}function J(De,ct){1&De&&w._UZ(0,"mat-divider",31),2&De&&w.Q6J("inset",!0)}function he(De,ct){1&De&&w._UZ(0,"mat-divider",19)}function S(De,ct){if(1&De&&(w.TgZ(0,"div",15)(1,"div",16)(2,"h4",17),w._uU(3,"Used"),w.qZA(),w.TgZ(4,"span",18),w._uU(5),w.qZA()(),w.TgZ(6,"div",16)(7,"h4",17),w._uU(8,"Single Use"),w.qZA(),w.TgZ(9,"span",18),w._uU(10),w.qZA()()()),2&De){const Ke=w.oxw(2);w.xp6(5),w.hij(" ",null!=Ke.offer&&Ke.offer.used?null!=Ke.offer&&Ke.offer.used?"Yes":"No":"N/K"," "),w.xp6(5),w.hij(" ",null!=Ke.offer&&Ke.offer.single_use?null!=Ke.offer&&Ke.offer.single_use?"Yes":"No":"N/K"," ")}}function n(De,ct){1&De&&w._UZ(0,"mat-divider",19)}function s(De,ct){if(1&De&&(w.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),w._uU(3,"Issuer"),w.qZA(),w.TgZ(4,"span",34),w._uU(5),w.qZA()()()),2&De){const Ke=w.oxw(2);w.xp6(5),w.Oqu(null==Ke.offerDecoded?null:Ke.offerDecoded.offer_issuer)}}function f(De,ct){1&De&&w._UZ(0,"mat-divider",19)}function h(De,ct){if(1&De&&(w.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),w._uU(3,"Label"),w.qZA(),w.TgZ(4,"span",18),w._uU(5),w.qZA()()()),2&De){const Ke=w.oxw(2);w.xp6(5),w.Oqu(Ke.offer.label)}}function C(De,ct){if(1&De&&(w.TgZ(0,"div"),w.YNc(1,he,1,0,"mat-divider",32)(2,S,11,2,"div",33)(3,n,1,0,"mat-divider",32)(4,s,6,1,"div",33)(5,f,1,0,"mat-divider",32)(6,h,6,1,"div",33),w._UZ(7,"mat-divider",19),w.TgZ(8,"div",15)(9,"div",20)(10,"h4",17),w._uU(11,"Offer ID"),w.qZA(),w.TgZ(12,"span",18),w._uU(13),w.qZA()()(),w._UZ(14,"mat-divider",19),w.TgZ(15,"div",15)(16,"div",20)(17,"h4",17),w._uU(18,"Offer Node ID"),w.qZA(),w.TgZ(19,"span",18),w._uU(20),w.qZA()()(),w._UZ(21,"mat-divider",19),w.qZA()),2&De){const Ke=w.oxw();w.xp6(1),w.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),w.xp6(1),w.Q6J("ngIf",(null==Ke.offer?null:Ke.offer.used)||(null==Ke.offer?null:Ke.offer.single_use)),w.xp6(1),w.Q6J("ngIf",null==Ke.offerDecoded?null:Ke.offerDecoded.issuer),w.xp6(1),w.Q6J("ngIf",null==Ke.offerDecoded?null:Ke.offerDecoded.issuer),w.xp6(1),w.Q6J("ngIf",Ke.offer.label),w.xp6(1),w.Q6J("ngIf",Ke.offer.label),w.xp6(7),w.Oqu(Ke.offerDecoded.offer_id),w.xp6(7),w.Oqu(null==Ke.offerDecoded?null:Ke.offerDecoded.offer_node_id)}}function D(De,ct){1&De&&(w.TgZ(0,"p"),w._uU(1,"Show Advanced"),w.qZA())}function O(De,ct){1&De&&(w.TgZ(0,"p"),w._uU(1,"Hide Advanced"),w.qZA())}function v(De,ct){if(1&De){const Ke=w.EpF();w.TgZ(0,"button",35),w.NdJ("copied",function(ye){w.CHM(Ke);const fe=w.oxw();return w.KtG(fe.onCopyOffer(ye))}),w._uU(1,"Copy Offer"),w.qZA()}if(2&De){const Ke=w.oxw();w.Q6J("payload",null==Ke.offer?null:Ke.offer.bolt12)}}function r(De,ct){if(1&De){const Ke=w.EpF();w.TgZ(0,"button",36),w.NdJ("click",function(){w.CHM(Ke);const ye=w.oxw();return w.KtG(ye.onClose())}),w._uU(1,"OK"),w.qZA()}}const g=De=>({"display-none":De}),H=De=>({"xs-scroll-y":De}),R=(De,ct)=>({"mt-2":De,"mt-1":ct});let ee=(()=>{class De{constructor(Ke,Je,ye,fe,de,xe){this.dialogRef=Ke,this.data=Je,this.logger=ye,this.commonService=fe,this.snackBar=de,this.dataService=xe,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOfferPaid=!1,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,A.R)(this.unSubs[1])).subscribe(Ke=>{this.offerDecoded=Ke,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Ke){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Ke)}ngOnDestroy(){this.unSubs.forEach(Ke=>{Ke.next(null),Ke.complete()})}static#e=this.\u0275fac=function(Je){return new(Je||De)(w.Y36(e.so),w.Y36(e.WI),w.Y36(m.mQ),w.Y36(P.v),w.Y36(d.ux),w.Y36(E.D))};static#t=this.\u0275cmp=w.Xpm({type:De,selectors:[["rtl-cln-offer-information"]],decls:52,vars:33,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxFlex","100"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"overflow-wrap","foreground-secondary-text"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Je,ye){if(1&Je&&(w.TgZ(0,"div",0)(1,"div",1),w.YNc(2,se,1,3,"qr-code",2)(3,ue,2,0,"span",3),w.qZA(),w.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),w._UZ(7,"fa-icon",7),w.TgZ(8,"span",8),w._uU(9),w.qZA()(),w.TgZ(10,"button",9),w.NdJ("click",function(){return ye.onClose()}),w._uU(11,"X"),w.qZA()(),w.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),w.YNc(15,ae,1,3,"qr-code",2)(16,Me,2,0,"span",13),w.qZA(),w.YNc(17,J,1,1,"mat-divider",14),w.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),w._uU(21,"Amount Requested (Sats)"),w.qZA(),w.TgZ(22,"span",18),w._uU(23),w.ALo(24,"number"),w.qZA()(),w.TgZ(25,"div",16)(26,"h4",17),w._uU(27,"Valid"),w.qZA(),w.TgZ(28,"span",18),w._uU(29),w.qZA()()(),w._UZ(30,"mat-divider",19),w.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),w._uU(34,"Description"),w.qZA(),w.TgZ(35,"span",18),w._uU(36),w.qZA()()(),w._UZ(37,"mat-divider",19),w.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),w._uU(41,"Offer"),w.qZA(),w.TgZ(42,"span",18),w._uU(43),w.qZA()()(),w.YNc(44,C,22,8,"div",21),w.TgZ(45,"div",22)(46,"button",23),w.NdJ("click",function(){return ye.onShowAdvanced()}),w.YNc(47,D,2,0,"p",24)(48,O,2,0,"ng-template",null,25,w.W1O),w.qZA(),w.YNc(50,v,2,1,"button",26)(51,r,2,0,"button",27),w.qZA()()()()()),2&Je){const fe=w.MAs(49);w.xp6(1),w.Q6J("fxLayoutAlign",null!=ye.offer&&ye.offer.bolt12&&""!==(null==ye.offer?null:ye.offer.bolt12)?"center start":"center center")("ngClass",w.VKq(24,g,ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM)),w.xp6(1),w.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),w.xp6(1),w.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12)),w.xp6(4),w.Q6J("icon",ye.faReceipt),w.xp6(2),w.Oqu(ye.screenSize===ye.screenSizeEnum.XS?ye.newlyAdded?"Created":"Offer":ye.newlyAdded?"Offer Created":"Offer Information"),w.xp6(3),w.Q6J("ngClass",w.VKq(26,H,ye.screenSize===ye.screenSizeEnum.XS)),w.xp6(2),w.Q6J("fxLayoutAlign",null!=ye.offer&&ye.offer.bolt12&&""!==(null==ye.offer?null:ye.offer.bolt12)?"center start":"center center")("ngClass",w.VKq(28,g,ye.screenSize!==ye.screenSizeEnum.XS&&ye.screenSize!==ye.screenSizeEnum.SM)),w.xp6(1),w.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),w.xp6(1),w.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12)),w.xp6(1),w.Q6J("ngIf",ye.screenSize===ye.screenSizeEnum.XS||ye.screenSize===ye.screenSizeEnum.SM),w.xp6(6),w.hij(" ",null!=ye.offerDecoded&&ye.offerDecoded.offer_amount_msat&&0!==(null==ye.offerDecoded?null:ye.offerDecoded.offer_amount_msat)?w.lcZ(24,22,(null==ye.offerDecoded?null:ye.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),w.xp6(6),w.hij(" ",null!=ye.offerDecoded&&ye.offerDecoded.valid?null!=ye.offerDecoded&&ye.offerDecoded.valid?"Yes":"No":"N/K"," "),w.xp6(7),w.hij(" ",null==ye.offerDecoded?null:ye.offerDecoded.offer_description," "),w.xp6(7),w.Oqu(null==ye.offer?null:ye.offer.bolt12),w.xp6(1),w.Q6J("ngIf",ye.showAdvanced),w.xp6(1),w.Q6J("ngClass",w.WLB(30,R,!ye.showAdvanced,ye.showAdvanced)),w.xp6(2),w.Q6J("ngIf",!ye.showAdvanced)("ngIfElse",fe),w.xp6(3),w.Q6J("ngIf",(null==ye.offer?null:ye.offer.bolt12)&&""!==(null==ye.offer?null:ye.offer.bolt12)),w.xp6(1),w.Q6J("ngIf",!(null!=ye.offer&&ye.offer.bolt12)||""===(null==ye.offer?null:ye.offer.bolt12))}},dependencies:[M.mk,M.O5,I.BN,k.xw,k.Wh,k.yH,z.oO,B.lW,W.dn,W.dk,j.d,K.uU,X.y,ie.h,M.JJ]})}return De})()},2249:(Fe,q,p)=>{"use strict";p.d(q,{$W:()=>se,BL:()=>C,Bw:()=>K,CX:()=>E,DJ:()=>re,EK:()=>S,El:()=>ae,Fd:()=>A,GD:()=>he,HG:()=>ie,HI:()=>v,Iy:()=>ct,Lf:()=>De,Nr:()=>ye,OG:()=>D,On:()=>X,QZ:()=>y,RX:()=>I,SN:()=>M,Sf:()=>le,TM:()=>R,TW:()=>B,UR:()=>k,WM:()=>Je,WO:()=>r,YP:()=>de,YX:()=>f,Z$:()=>fe,Z8:()=>ue,Zr:()=>l,_E:()=>n,aL:()=>xe,cQ:()=>O,eF:()=>P,eN:()=>z,i:()=>W,iL:()=>j,iz:()=>d,kL:()=>g,mC:()=>ee,n7:()=>pe,oV:()=>H,pW:()=>h,pd:()=>m,ti:()=>ve,wD:()=>w});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.lr.UPDATE_API_CALL_STATUS_ECL,(0,e.Ky)()),A=(0,e.PH)(t.lr.RESET_ECL_STORE,(0,e.Ky)()),l=(0,e.PH)(t.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,e.Ky)()),w=(0,e.PH)(t.lr.FETCH_PAGE_SETTINGS_ECL),m=(0,e.PH)(t.lr.SET_PAGE_SETTINGS_ECL,(0,e.Ky)()),P=(0,e.PH)(t.lr.SAVE_PAGE_SETTINGS_ECL,(0,e.Ky)()),d=(0,e.PH)(t.lr.FETCH_INFO_ECL,(0,e.Ky)()),E=(0,e.PH)(t.lr.SET_INFO_ECL,(0,e.Ky)()),M=(0,e.PH)(t.lr.FETCH_FEES_ECL),I=(0,e.PH)(t.lr.SET_FEES_ECL,(0,e.Ky)()),k=(0,e.PH)(t.lr.FETCH_CHANNELS_ECL,(0,e.Ky)()),z=(0,e.PH)(t.lr.SET_ACTIVE_CHANNELS_ECL,(0,e.Ky)()),B=(0,e.PH)(t.lr.SET_PENDING_CHANNELS_ECL,(0,e.Ky)()),W=(0,e.PH)(t.lr.SET_INACTIVE_CHANNELS_ECL,(0,e.Ky)()),j=(0,e.PH)(t.lr.FETCH_ONCHAIN_BALANCE_ECL),K=(0,e.PH)(t.lr.SET_ONCHAIN_BALANCE_ECL,(0,e.Ky)()),X=(0,e.PH)(t.lr.SET_LIGHTNING_BALANCE_ECL,(0,e.Ky)()),ie=(0,e.PH)(t.lr.SET_CHANNELS_STATUS_ECL,(0,e.Ky)()),se=(0,e.PH)(t.lr.FETCH_PEERS_ECL),ue=(0,e.PH)(t.lr.SET_PEERS_ECL,(0,e.Ky)()),ae=(0,e.PH)(t.lr.SAVE_NEW_PEER_ECL,(0,e.Ky)()),he=((0,e.PH)(t.lr.NEWLY_ADDED_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.ADD_PEER_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.DETACH_PEER_ECL,(0,e.Ky)())),S=(0,e.PH)(t.lr.REMOVE_PEER_ECL,(0,e.Ky)()),n=(0,e.PH)(t.lr.GET_NEW_ADDRESS_ECL),f=((0,e.PH)(t.lr.SET_NEW_ADDRESS_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.SAVE_NEW_CHANNEL_ECL,(0,e.Ky)())),h=(0,e.PH)(t.lr.UPDATE_CHANNEL_ECL,(0,e.Ky)()),C=(0,e.PH)(t.lr.CLOSE_CHANNEL_ECL,(0,e.Ky)()),D=(0,e.PH)(t.lr.REMOVE_CHANNEL_ECL,(0,e.Ky)()),O=(0,e.PH)(t.lr.FETCH_PAYMENTS_ECL),v=(0,e.PH)(t.lr.SET_PAYMENTS_ECL,(0,e.Ky)()),r=(0,e.PH)(t.lr.GET_QUERY_ROUTES_ECL,(0,e.Ky)()),g=(0,e.PH)(t.lr.SET_QUERY_ROUTES_ECL,(0,e.Ky)()),H=(0,e.PH)(t.lr.SEND_PAYMENT_ECL,(0,e.Ky)()),R=(0,e.PH)(t.lr.SEND_PAYMENT_STATUS_ECL,(0,e.Ky)()),ee=(0,e.PH)(t.lr.FETCH_TRANSACTIONS_ECL),De=(0,e.PH)(t.lr.SET_TRANSACTIONS_ECL,(0,e.Ky)()),ct=(0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_ECL,(0,e.Ky)()),Je=((0,e.PH)(t.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.FETCH_INVOICES_ECL)),ye=(0,e.PH)(t.lr.SET_INVOICES_ECL,(0,e.Ky)()),fe=(0,e.PH)(t.lr.CREATE_INVOICE_ECL,(0,e.Ky)()),de=(0,e.PH)(t.lr.ADD_INVOICE_ECL,(0,e.Ky)()),xe=(0,e.PH)(t.lr.UPDATE_INVOICE_ECL,(0,e.Ky)()),le=(0,e.PH)(t.lr.PEER_LOOKUP_ECL,(0,e.Ky)()),pe=(0,e.PH)(t.lr.INVOICE_LOOKUP_ECL,(0,e.Ky)()),re=((0,e.PH)(t.lr.SET_LOOKUP_ECL,(0,e.Ky)()),(0,e.PH)(t.lr.UPDATE_CHANNEL_STATE_ECL,(0,e.Ky)())),ve=(0,e.PH)(t.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,e.Ky)())},9337:(Fe,q,p)=>{"use strict";p.d(q,{o:()=>ae});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),w=p(7398),m=p(6306),P=p(3315),d=p(2154),E=p(9103),M=p(9671),I=p(2249),k=p(9930),z=p(9212),B=p(9862),W=p(4221),j=p(5813),K=p(6339),X=p(5980),ie=p(4190),se=p(2285),ue=p(6814);let ae=(()=>{class Me{constructor(he,S,n,s,f,h,C,D,O){this.actions=he,this.httpClient=S,this.store=n,this.sessionService=s,this.commonService=f,this.logger=h,this.router=C,this.wsService=D,this.location=O,this.CHILD_API_URL=d.T5+"/ecl",this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new t.x,new t.x,new t.x],this.infoFetchECL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INFO_ECL),(0,A.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,E.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,E.ac)({payload:d.m6.GET_NODE_INFO})),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(d.pg.SET_SELECTED_NODE))),(0,w.U)(r=>(this.logger.info(r),this.initializeRemainingData(r,v.payload.loadPage),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:r||{}})),(0,m.K)(r=>{const g=this.commonService.extractErrorCode(r),H=503===g?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(r);return this.router.navigate(["/error"],{state:{errorCode:g,errorMessage:H}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:g,error:H}),(0,y.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_FEES_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/fees").pipe((0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/payments").pipe((0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_CHANNELS_ECL),(0,A.z)(v=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.CHANNELS_API).pipe((0,w.U)(r=>(this.logger.info(r),this.rawChannelsList=r,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,I.cQ)()),{type:d.pg.VOID})),(0,m.K)(r=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/balance"))),(0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",v),(0,y.of)({type:d.pg.VOID}))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PEERS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.PEERS_API).pipe((0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,A.z)(()=>(this.store.dispatch((0,E.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:v})),(0,m.K)(v=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,v),(0,y.of)({type:d.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_NEW_ADDRESS_ECL),(0,w.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PEERS_API+(v.payload.id.includes("@")?"?uri=":"?nodeId=")+v.payload.id,{}).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),r=r||[],this.store.dispatch((0,E.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:r})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:r.find(g=>g.nodeId===(v.payload.id.includes("@")?v.payload.id.substring(0,v.payload.id.indexOf("@")):v.payload.id))}})),(0,m.K)(r=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.DETACH_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,E.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,E.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:v.payload.nodeId}})),(0,m.K)(r=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId,r),(0,y.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,E.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const r={nodeId:v.payload.nodeId,fundingSatoshis:v.payload.amount,announceChannel:!v.payload.private};return v.payload.feeRate&&v.payload.feeRate>0&&(r.fundingFeerateSatByte=v.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,r).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,E.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.K)(g=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",g),(0,y.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,E.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let r="?feeBaseMsat="+v.payload.baseFeeMsat+"&feeProportionalMillionths="+v.payload.feeRate;return r=v.payload.nodeIds?r+"&nodeIds="+v.payload.nodeIds:v.payload.nodeId?r+"&nodeId="+v.payload.nodeId:v.payload.channelIds?r+"&channelIds="+v.payload.channelIds:r+"&channelId="+v.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+r,{}).pipe((0,w.U)(g=>(this.logger.info(g),this.store.dispatch((0,E.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,E.jW)(v.payload.nodeIds||v.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,m.K)(g=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,g),(0,y.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+v.payload.channelId+"&force="+v.payload.force).pipe((0,w.U)(r=>(this.logger.info(r),setTimeout(()=>{this.store.dispatch((0,E.uO)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,E.jW)({payload:v.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,m.K)(r=>(this.handleErrorWithAlert("CloseChannel",v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.vv.CHANNELS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,A.z)(v=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount).pipe((0,w.U)(r=>(this.logger.info(r),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:r})),(0,m.K)(r=>(this.store.dispatch((0,I.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount,r),(0,y.of)({type:d.pg.VOID}))))))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_QUERY_ROUTES_ECL),(0,w.U)(v=>v.payload)),{dispatch:!1}),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_PAYMENT_ECL),(0,A.z)(v=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,E.ac)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PAYMENTS_API,v.payload).pipe((0,w.U)(r=>(this.logger.info(r),this.latestPaymentRes=r,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,m.K)(r=>(this.logger.error("Error: "+JSON.stringify(r)),v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",r):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",v),(0,y.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.ON_CHAIN_API,v.payload).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.CREATE_INVOICE_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.CREATE_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.INVOICES_API,v.payload).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.CREATE_INVOICE})),r.timestamp=Math.round((new Date).getTime()/1e3),r.expiresAt=Math.round(r.timestamp+v.payload.expireIn),r.description=v.payload.description,r.status="unpaid",setTimeout(()=>{this.store.dispatch((0,E.qR)({payload:{data:{invoice:r,newlyAdded:!0,component:M.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",r),(0,y.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_INVOICES_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API).pipe((0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:v})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.PEER_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEARCHING_NODE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload,r),(0,y.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API+"/"+v.payload).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.aL)({payload:r})),{type:d.lr.SET_LOOKUP_ECL,payload:r})),(0,m.K)(r=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",r),this.store.dispatch((0,E.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:d.pg.VOID})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SET_LOOKUP_ECL),(0,w.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,A.z)(()=>(this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,w.U)(v=>(this.logger.info(v),this.store.dispatch((0,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,m.K)(v=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",v),(0,y.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,A.z)(v=>(this.store.dispatch((0,E.ac)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.INITIATED}})),this.httpClient.post(d.vv.PAGE_SETTINGS_API,v.payload).pipe((0,w.U)(r=>(this.logger.info(r),this.store.dispatch((0,I.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:r||[]})),(0,m.K)(r=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,r),(0,y.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=v=>{this.store.dispatch((0,I.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,E.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,E.jW)({payload:v}))},this.store.select(k.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(v=>{v.FetchInfo.status!==d.Bn.COMPLETED&&v.FetchInfo.status!==d.Bn.ERROR||v.FetchFees.status!==d.Bn.COMPLETED&&v.FetchFees.status!==d.Bn.ERROR||v.FetchOnchainBalance.status!==d.Bn.COMPLETED&&v.FetchOnchainBalance.status!==d.Bn.ERROR||v.FetchChannels.status!==d.Bn.COMPLETED&&v.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,E.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(v=>{this.logger.info("Received new message from the service: "+JSON.stringify(v));let r="";if(v)switch(v.type){case d.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(r));break;case d.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,r="Payment Failed: "+(v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].t?v.failures[0].t:v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].e&&v.failures[0].e.failureMessage?v.failures[0].e.failureMessage:JSON.stringify(v)),this.handleSendPaymentStatus(r));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,I.aL)({payload:v}));break;case d.$v.PAYMENT_RELAYED:delete v.source,v.amountIn=Math.round((v.amountIn||0)/1e3),v.amountOut=Math.round((v.amountOut||0)/1e3),v.timestamp.unix&&(v.timestamp=1e3*v.timestamp.unix),this.store.dispatch((0,I.ti)({payload:v}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=this.rawChannelsList?.map(g=>(g.channelId===v.channelId&&g.nodeId===v.remoteNodeId&&(g.state=v.currentState),g)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,I.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let he=0,S=0,n=0,s={localBalance:0,remoteBalance:0},f=[];const h=[],C=[],D={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((O,v)=>{O&&("NORMAL"===O.state?(he=(O.toLocal||0)+(O.toRemote||0),S+=O.toLocal||0,n+=O.toRemote||0,O.balancedness=0===he?1:+(1-Math.abs(((O.toLocal||0)-(O.toRemote||0))/he)).toFixed(3),f.push(O),D.active.channels=D.active.channels+1,D.active.capacity=D.active.capacity+(O.toLocal||0)):O.state?.includes("WAIT")||O.state?.includes("CLOSING")||O.state?.includes("SYNCING")?(O.state=O.state?.replace(/_/g," "),h.push(O),D.pending.channels=D.pending.channels+1,D.pending.capacity=D.pending.capacity+(O.toLocal||0)):(O.state=O.state?.replace(/_/g," "),C.push(O),D.inactive.channels=D.inactive.channels+1,D.inactive.capacity=D.inactive.capacity+(O.toLocal||0)))}),s={localBalance:S,remoteBalance:n},f=this.commonService.sortDescByKey(f,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(f)),this.logger.info("Pending Channels: "+JSON.stringify(h)),this.logger.info("Inactive Channels: "+JSON.stringify(C)),this.logger.info("Lightning Balances: "+JSON.stringify(s)),this.logger.info("Channels Status: "+JSON.stringify(D)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:f,pending:h,inactive:C,balances:s,status:D})),this.store.dispatch((0,I.eN)({payload:f})),this.store.dispatch((0,I.TW)({payload:h})),this.store.dispatch((0,I.i)({payload:C})),this.store.dispatch((0,I.On)({payload:s})),this.store.dispatch((0,I.HG)({payload:D}))}initializeRemainingData(he,S){this.sessionService.setItem("eclUnlocked","true");const n={identity_pubkey:he.nodeId,alias:he.alias,testnet:"testnet"===he.network,chains:he.publicAddresses,uris:he.uris,version:he.version,numberOfPendingChannels:0};this.store.dispatch((0,E.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,E._V)({payload:n}));let s=this.location.path();s.includes("/lnd/")?s=s?.replace("/lnd/","/ecl/"):s.includes("/cln/")&&(s=s?.replace("/cln/","/ecl/")),(s.includes("/login")||s.includes("/error")||""===s||"HOME"===S||s.includes("?access-key="))&&(s="/ecl/home"),this.router.navigate([s]),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,I.$W)())}handleErrorWithoutAlert(he,S,n,s){this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(s)),401===s.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,E.uO)({payload:S})),this.store.dispatch((0,I.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:s.status.toString(),message:this.commonService.extractErrorMessage(s,n)}})))}handleErrorWithAlert(he,S,n,s,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,E.ts)()),this.store.dispatch((0,E.kS)()),this.store.dispatch((0,E.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,E.uO)({payload:S}));const h=this.commonService.extractErrorMessage(f);this.store.dispatch((0,E.qR)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status,message:h,URL:s},component:P.H}}})),this.store.dispatch((0,I.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:f.status.toString(),message:h,URL:s}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}static#e=this.\u0275fac=function(S){return new(S||Me)(z.LFG(e.eX),z.LFG(B.eN),z.LFG(W.yh),z.LFG(j.m),z.LFG(K.v),z.LFG(X.mQ),z.LFG(ie.F0),z.LFG(se.d),z.LFG(ue.Ye))};static#t=this.\u0275prov=z.Yz7({token:Me,factory:Me.\u0275fac})}return Me})()},9930:(Fe,q,p)=>{"use strict";p.d(q,{Bo:()=>j,Ef:()=>W,JG:()=>E,LR:()=>y,PP:()=>d,T$:()=>w,Xz:()=>z,dx:()=>B,kY:()=>K,nF:()=>A,yA:()=>P,yD:()=>l});var e=p(4221);const t=(0,e.ZF)("ecl"),y=(0,e.P1)(t,X=>X.nodeSettings),A=(0,e.P1)(t,X=>({pageSettings:X.pageSettings,apiCallStatus:X.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,X=>X.information),w=(0,e.P1)(t,X=>({information:X.information,apiCallStatus:X.apisCallStatus.FetchInfo})),P=((0,e.P1)(t,X=>X.apisCallStatus.FetchInfo),(0,e.P1)(t,X=>X.apisCallStatus)),d=(0,e.P1)(t,X=>({payments:X.payments,apiCallStatus:X.apisCallStatus.FetchPayments})),E=(0,e.P1)(t,X=>({fees:X.fees,apiCallStatus:X.apisCallStatus.FetchFees})),z=((0,e.P1)(t,X=>({activeChannels:X.activeChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,e.P1)(t,X=>({pendingChannels:X.pendingChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,e.P1)(t,X=>({inactiveChannels:X.inactiveChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,e.P1)(t,X=>({activeChannels:X.activeChannels,pendingChannels:X.pendingChannels,inactiveChannels:X.inactiveChannels,lightningBalance:X.lightningBalance,channelsStatus:X.channelsStatus,apiCallStatus:X.apisCallStatus.FetchChannels}))),B=(0,e.P1)(t,X=>({transactions:X.transactions,apiCallStatus:X.apisCallStatus.FetchTransactions})),W=(0,e.P1)(t,X=>({invoices:X.invoices,apiCallStatus:X.apisCallStatus.FetchInvoices})),j=(0,e.P1)(t,X=>({peers:X.peers,apiCallStatus:X.apisCallStatus.FetchPeers})),K=(0,e.P1)(t,X=>({onchainBalance:X.onchainBalance,apiCallStatus:X.apisCallStatus.FetchOnchainBalance}))},9671:(Fe,q,p)=>{"use strict";p.d(q,{R:()=>ye});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),w=p(9930),m=p(9212),P=p(5980),d=p(6339),E=p(2939),M=p(4221),I=p(6814),k=p(5597),z=p(3814),B=p(7509),W=p(2296),j=p(5195),K=p(6385),X=p(5940),ie=p(2279),se=p(7313),ue=p(6985);function ae(fe,de){if(1&fe&&m._UZ(0,"qr-code",29),2&fe){const xe=m.oxw();m.Q6J("value",null==xe.invoice?null:xe.invoice.serialized)("size",xe.qrWidth)("errorCorrectionLevel","L")}}function Me(fe,de){1&fe&&(m.TgZ(0,"span",30),m._uU(1,"N/A"),m.qZA())}function J(fe,de){if(1&fe&&m._UZ(0,"qr-code",29),2&fe){const xe=m.oxw();m.Q6J("value",null==xe.invoice?null:xe.invoice.serialized)("size",xe.qrWidth)("errorCorrectionLevel","L")}}function he(fe,de){1&fe&&(m.TgZ(0,"span",31),m._uU(1,"QR Code Not Applicable"),m.qZA())}function S(fe,de){1&fe&&m._UZ(0,"mat-divider",32),2&fe&&m.Q6J("inset",!0)}function n(fe,de){1&fe&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function s(fe,de){1&fe&&m._UZ(0,"span",38)}const f=()=>[];function h(fe,de){if(1&fe&&(m.TgZ(0,"div",34)(1,"div",35)(2,"span",36),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,s,1,0,"span",37),m.qZA()()),2&fe){const xe=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,null==xe.invoice?null:xe.invoice.amountSettled)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,f).constructor(35))}}function C(fe,de){if(1&fe&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&fe){const xe=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,null==xe.invoice?null:xe.invoice.amountSettled)," Sats")}}function D(fe,de){if(1&fe&&(m.ynx(0),m.YNc(1,h,6,5,"div",33)(2,C,3,3,"div",19),m.BQk()),2&fe){const xe=m.oxw();m.xp6(1),m.Q6J("ngIf",xe.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!xe.flgInvoicePaid)}}function O(fe,de){1&fe&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function v(fe,de){1&fe&&m._UZ(0,"mat-spinner",40),2&fe&&m.Q6J("diameter",20)}function r(fe,de){if(1&fe&&(m.ynx(0),m.YNc(1,O,2,0,"span",19)(2,v,1,1,"mat-spinner",39),m.BQk()),2&fe){const xe=m.oxw();m.xp6(1),m.Q6J("ngIf","unpaid"!==(null==xe.invoice?null:xe.invoice.status)||!xe.flgVersionCompatible),m.xp6(1),m.Q6J("ngIf","unpaid"===(null==xe.invoice?null:xe.invoice.status)&&xe.flgVersionCompatible)}}function g(fe,de){if(1&fe&&(m.TgZ(0,"div"),m._UZ(1,"mat-divider",20),m.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),m._uU(5,"Date Expiry"),m.qZA(),m.TgZ(6,"span",18),m._uU(7),m.ALo(8,"date"),m.qZA()(),m.TgZ(9,"div",42)(10,"h4",17),m._uU(11,"Date Settled"),m.qZA(),m.TgZ(12,"span",21),m._uU(13),m.ALo(14,"date"),m.qZA()()(),m._UZ(15,"mat-divider",20),m.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),m._uU(19,"Payment Hash"),m.qZA(),m.TgZ(20,"span",21),m._uU(21),m.qZA()()(),m._UZ(22,"mat-divider",20),m.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),m._uU(26,"Node ID"),m.qZA(),m.TgZ(27,"span",21),m._uU(28),m.qZA()()(),m._UZ(29,"mat-divider",20),m.qZA()),2&fe){const xe=m.oxw();m.xp6(7),m.Oqu(m.xi3(8,4,1e3*(null==xe.invoice?null:xe.invoice.expiresAt),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.xi3(14,7,1e3*(null==xe.invoice?null:xe.invoice.receivedAt),"dd/MMM/y HH:mm")),m.xp6(8),m.Oqu(null==xe.invoice?null:xe.invoice.paymentHash),m.xp6(7),m.Oqu(null==xe.invoice?null:xe.invoice.nodeId)}}function H(fe,de){1&fe&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function R(fe,de){1&fe&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function ee(fe,de){if(1&fe){const xe=m.EpF();m.TgZ(0,"button",43),m.NdJ("copied",function(pe){m.CHM(xe);const qe=m.oxw();return m.KtG(qe.onCopyPayment(pe))}),m._uU(1,"Copy Invoice"),m.qZA()}if(2&fe){const xe=m.oxw();m.Q6J("payload",null==xe.invoice?null:xe.invoice.serialized)}}function De(fe,de){if(1&fe){const xe=m.EpF();m.TgZ(0,"button",44),m.NdJ("click",function(){m.CHM(xe);const pe=m.oxw();return m.KtG(pe.onClose())}),m._uU(1,"OK"),m.qZA()}}const ct=fe=>({"display-none":fe}),Ke=fe=>({"xs-scroll-y":fe}),Je=(fe,de)=>({"mt-2":fe,"mt-1":de});let ye=(()=>{class fe{constructor(xe,le,pe,qe,re,ve){this.dialogRef=xe,this.data=le,this.logger=pe,this.commonService=qe,this.snackBar=re,this.store=ve,this.faReceipt=t.dLy,this.faExclamationTriangle=t.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(w.yD).pipe((0,A.R)(this.unSubs[0])).subscribe(xe=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(xe.version,"0.5.0")}),this.store.select(w.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(xe=>{const le=this.invoice.status,qe=(xe.invoices&&xe.invoices.length>0?xe.invoices:[])?.find(re=>re.paymentHash===this.invoice.paymentHash)||null;qe&&(this.invoice=qe),le!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(xe)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(xe){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+xe)}ngOnDestroy(){this.unSubs.forEach(xe=>{xe.next(null),xe.complete()})}static#e=this.\u0275fac=function(le){return new(le||fe)(m.Y36(e.so),m.Y36(e.WI),m.Y36(P.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(M.yh))};static#t=this.\u0275cmp=m.Xpm({type:fe,selectors:[["rtl-ecl-invoice-information"]],decls:68,vars:42,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],[1,"overflow-wrap","foreground-secondary-text"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","end center",3,"ngClass"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],[1,"my-1",3,"inset"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],["fxFlex","40"],["fxFlex","60"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(le,pe){if(1&le&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,ae,1,3,"qr-code",2)(3,Me,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.qZA()(),m.TgZ(10,"button",9),m.NdJ("click",function(){return pe.onClose()}),m._uU(11,"X"),m.qZA()(),m.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),m.YNc(15,J,1,3,"qr-code",2)(16,he,2,0,"span",13),m.qZA(),m.YNc(17,S,1,1,"mat-divider",14),m.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),m._uU(21,"Amount Requested"),m.qZA(),m.TgZ(22,"span",18),m._uU(23),m.ALo(24,"number"),m.YNc(25,n,2,0,"ng-container",19),m.qZA()(),m.TgZ(26,"div",16)(27,"h4",17),m._uU(28,"Amount Settled"),m.qZA(),m.TgZ(29,"span",18),m.YNc(30,D,3,2,"ng-container",19)(31,r,3,2,"ng-container",19),m.qZA()()(),m._UZ(32,"mat-divider",20),m.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),m._uU(36,"Date Created"),m.qZA(),m.TgZ(37,"span",21),m._uU(38),m.ALo(39,"date"),m.qZA()(),m.TgZ(40,"div",16)(41,"h4",17),m._uU(42,"Status"),m.qZA(),m.TgZ(43,"span",21),m._uU(44),m.ALo(45,"titlecase"),m.qZA()()(),m._UZ(46,"mat-divider",20),m.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),m._uU(50,"Description"),m.qZA(),m.TgZ(51,"span",18),m._uU(52),m.qZA()()(),m._UZ(53,"mat-divider",20),m.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),m._uU(57,"Invoice"),m.qZA(),m.TgZ(58,"span",21),m._uU(59),m.qZA()()(),m.YNc(60,g,30,10,"div",19),m.TgZ(61,"div",23)(62,"button",24),m.NdJ("click",function(){return pe.onShowAdvanced()}),m.YNc(63,H,2,0,"p",25)(64,R,2,0,"ng-template",null,26,m.W1O),m.qZA(),m.YNc(66,ee,2,1,"button",27)(67,De,2,0,"button",28),m.qZA()()()()()),2&le){const qe=m.MAs(65);m.xp6(1),m.Q6J("fxLayoutAlign",null!=pe.invoice&&pe.invoice.serialized&&""!==(null==pe.invoice?null:pe.invoice.serialized)?"center start":"center center")("ngClass",m.VKq(33,ct,pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==pe.invoice?null:pe.invoice.serialized)&&""!==(null==pe.invoice?null:pe.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=pe.invoice&&pe.invoice.serialized)||""===(null==pe.invoice?null:pe.invoice.serialized)),m.xp6(4),m.Q6J("icon",pe.faReceipt),m.xp6(2),m.Oqu(pe.screenSize===pe.screenSizeEnum.XS?pe.newlyAdded?"Created":"Invoice":pe.newlyAdded?"Invoice Created":"Invoice Information"),m.xp6(3),m.Q6J("ngClass",m.VKq(35,Ke,pe.screenSize===pe.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=pe.invoice&&pe.invoice.serialized&&""!==(null==pe.invoice?null:pe.invoice.serialized)?"center start":"center center")("ngClass",m.VKq(37,ct,pe.screenSize!==pe.screenSizeEnum.XS&&pe.screenSize!==pe.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==pe.invoice?null:pe.invoice.serialized)&&""!==(null==pe.invoice?null:pe.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=pe.invoice&&pe.invoice.serialized)||""===(null==pe.invoice?null:pe.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",pe.screenSize===pe.screenSizeEnum.XS||pe.screenSize===pe.screenSizeEnum.SM),m.xp6(6),m.hij("",m.lcZ(24,26,(null==pe.invoice?null:pe.invoice.amount)||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=pe.invoice&&pe.invoice.amount)||"0"===(null==pe.invoice?null:pe.invoice.amount)),m.xp6(5),m.Q6J("ngIf",null==pe.invoice?null:pe.invoice.amountSettled),m.xp6(1),m.Q6J("ngIf",!(null!=pe.invoice&&pe.invoice.amountSettled)),m.xp6(7),m.Oqu(m.xi3(39,28,1e3*(null==pe.invoice?null:pe.invoice.timestamp),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(m.lcZ(45,31,null==pe.invoice?null:pe.invoice.status)),m.xp6(8),m.Oqu((null==pe.invoice?null:pe.invoice.description)||"-"),m.xp6(7),m.Oqu((null==pe.invoice?null:pe.invoice.serialized)||"N/A"),m.xp6(1),m.Q6J("ngIf",pe.showAdvanced),m.xp6(1),m.Q6J("ngClass",m.WLB(39,Je,!pe.showAdvanced,pe.showAdvanced)),m.xp6(2),m.Q6J("ngIf",!pe.showAdvanced)("ngIfElse",qe),m.xp6(3),m.Q6J("ngIf",(null==pe.invoice?null:pe.invoice.serialized)&&""!==(null==pe.invoice?null:pe.invoice.serialized)),m.xp6(1),m.Q6J("ngIf",!(null!=pe.invoice&&pe.invoice.serialized)||""===(null==pe.invoice?null:pe.invoice.serialized))}},dependencies:[I.mk,I.sg,I.O5,k.BN,z.xw,z.Wh,z.yH,B.oO,W.lW,j.dn,j.dk,K.d,X.Ou,ie.uU,se.y,ue.h,I.JJ,I.rS,I.uU]})}return fe})()},9191:(Fe,q,p)=>{"use strict";p.d(q,{$A:()=>dt,$W:()=>M,BL:()=>O,B_:()=>De,Bl:()=>ue,CX:()=>E,Cp:()=>g,EK:()=>W,El:()=>k,Fr:()=>yt,HI:()=>ve,JT:()=>l,Jl:()=>ae,Jo:()=>Ot,Lf:()=>le,Ll:()=>A,Ly:()=>pe,Nr:()=>ye,OG:()=>v,PC:()=>y,QJ:()=>je,RX:()=>se,Rd:()=>j,Rv:()=>Me,SN:()=>ie,Sf:()=>St,TW:()=>s,UH:()=>qe,UR:()=>he,Vv:()=>r,WM:()=>Je,WO:()=>Ft,Wi:()=>Ae,YP:()=>X,YX:()=>D,Z7:()=>n,Z8:()=>I,Zh:()=>f,_E:()=>ut,_L:()=>h,aL:()=>fe,as:()=>S,cQ:()=>re,dV:()=>We,eF:()=>P,fu:()=>rt,kL:()=>xt,ks:()=>J,mC:()=>xe,n7:()=>te,oV:()=>ce,pW:()=>C,pd:()=>m,qY:()=>de,sQ:()=>d,tb:()=>ee,u0:()=>Ye,vV:()=>ct,wD:()=>w,xG:()=>Qe,y2:()=>Ie,yZ:()=>Ue,z:()=>B});var e=p(4221),t=p(2154);const y=(0,e.PH)(t.uR.UPDATE_API_CALL_STATUS_LND,(0,e.Ky)()),A=(0,e.PH)(t.uR.RESET_LND_STORE,(0,e.Ky)()),l=(0,e.PH)(t.uR.SET_CHILD_NODE_SETTINGS_LND,(0,e.Ky)()),w=(0,e.PH)(t.uR.FETCH_PAGE_SETTINGS_LND),m=(0,e.PH)(t.uR.SET_PAGE_SETTINGS_LND,(0,e.Ky)()),P=(0,e.PH)(t.uR.SAVE_PAGE_SETTINGS_LND,(0,e.Ky)()),d=(0,e.PH)(t.uR.FETCH_INFO_LND,(0,e.Ky)()),E=(0,e.PH)(t.uR.SET_INFO_LND,(0,e.Ky)()),M=(0,e.PH)(t.uR.FETCH_PEERS_LND),I=(0,e.PH)(t.uR.SET_PEERS_LND,(0,e.Ky)()),k=(0,e.PH)(t.uR.SAVE_NEW_PEER_LND,(0,e.Ky)()),B=((0,e.PH)(t.uR.NEWLY_ADDED_PEER_LND,(0,e.Ky)()),(0,e.PH)(t.uR.DETACH_PEER_LND,(0,e.Ky)())),W=(0,e.PH)(t.uR.REMOVE_PEER_LND,(0,e.Ky)()),j=(0,e.PH)(t.uR.SAVE_NEW_INVOICE_LND,(0,e.Ky)()),X=((0,e.PH)(t.uR.NEWLY_SAVED_INVOICE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.ADD_INVOICE_LND,(0,e.Ky)())),ie=(0,e.PH)(t.uR.FETCH_FEES_LND),se=(0,e.PH)(t.uR.SET_FEES_LND,(0,e.Ky)()),ue=(0,e.PH)(t.uR.FETCH_BLOCKCHAIN_BALANCE_LND),ae=(0,e.PH)(t.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,e.Ky)()),Me=(0,e.PH)(t.uR.FETCH_NETWORK_LND),J=(0,e.PH)(t.uR.SET_NETWORK_LND,(0,e.Ky)()),he=(0,e.PH)(t.uR.FETCH_CHANNELS_LND),S=(0,e.PH)(t.uR.SET_CHANNELS_LND,(0,e.Ky)()),n=(0,e.PH)(t.uR.FETCH_PENDING_CHANNELS_LND),s=(0,e.PH)(t.uR.SET_PENDING_CHANNELS_LND,(0,e.Ky)()),f=(0,e.PH)(t.uR.FETCH_CLOSED_CHANNELS_LND),h=(0,e.PH)(t.uR.SET_CLOSED_CHANNELS_LND,(0,e.Ky)()),C=(0,e.PH)(t.uR.UPDATE_CHANNEL_LND,(0,e.Ky)()),D=(0,e.PH)(t.uR.SAVE_NEW_CHANNEL_LND,(0,e.Ky)()),O=(0,e.PH)(t.uR.CLOSE_CHANNEL_LND,(0,e.Ky)()),v=(0,e.PH)(t.uR.REMOVE_CHANNEL_LND,(0,e.Ky)()),r=(0,e.PH)(t.uR.BACKUP_CHANNELS_LND,(0,e.Ky)()),g=(0,e.PH)(t.uR.VERIFY_CHANNEL_LND,(0,e.Ky)()),ee=((0,e.PH)(t.uR.BACKUP_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.VERIFY_CHANNEL_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.RESTORE_CHANNELS_LIST_LND)),De=(0,e.PH)(t.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,e.Ky)()),ct=(0,e.PH)(t.uR.RESTORE_CHANNELS_LND,(0,e.Ky)()),Je=((0,e.PH)(t.uR.RESTORE_CHANNELS_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_INVOICES_LND,(0,e.Ky)())),ye=(0,e.PH)(t.uR.SET_INVOICES_LND,(0,e.Ky)()),fe=(0,e.PH)(t.uR.UPDATE_INVOICE_LND,(0,e.Ky)()),de=(0,e.PH)(t.uR.UPDATE_PAYMENT_LND,(0,e.Ky)()),xe=(0,e.PH)(t.uR.FETCH_TRANSACTIONS_LND),le=(0,e.PH)(t.uR.SET_TRANSACTIONS_LND,(0,e.Ky)()),pe=(0,e.PH)(t.uR.FETCH_UTXOS_LND),qe=(0,e.PH)(t.uR.SET_UTXOS_LND,(0,e.Ky)()),re=(0,e.PH)(t.uR.FETCH_PAYMENTS_LND,(0,e.Ky)()),ve=(0,e.PH)(t.uR.SET_PAYMENTS_LND,(0,e.Ky)()),ce=(0,e.PH)(t.uR.SEND_PAYMENT_LND,(0,e.Ky)()),We=((0,e.PH)(t.uR.SEND_PAYMENT_STATUS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.FETCH_GRAPH_NODE_LND,(0,e.Ky)())),ut=((0,e.PH)(t.uR.SET_GRAPH_NODE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_NEW_ADDRESS_LND,(0,e.Ky)())),Ae=((0,e.PH)(t.uR.SET_NEW_ADDRESS_LND,(0,e.Ky)()),(0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_LND,(0,e.Ky)())),rt=((0,e.PH)(t.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GEN_SEED_LND,(0,e.Ky)())),Ie=((0,e.PH)(t.uR.GEN_SEED_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.INIT_WALLET_LND,(0,e.Ky)())),Qe=((0,e.PH)(t.uR.INIT_WALLET_RESPONSE_LND,(0,e.Ky)()),(0,e.PH)(t.uR.UNLOCK_WALLET_LND,(0,e.Ky)())),St=(0,e.PH)(t.uR.PEER_LOOKUP_LND,(0,e.Ky)()),dt=(0,e.PH)(t.uR.CHANNEL_LOOKUP_LND,(0,e.Ky)()),te=(0,e.PH)(t.uR.INVOICE_LOOKUP_LND,(0,e.Ky)()),Ue=(0,e.PH)(t.uR.PAYMENT_LOOKUP_LND,(0,e.Ky)()),Ye=((0,e.PH)(t.uR.SET_LOOKUP_LND,(0,e.Ky)()),(0,e.PH)(t.uR.GET_FORWARDING_HISTORY_LND,(0,e.Ky)())),je=(0,e.PH)(t.uR.SET_FORWARDING_HISTORY_LND,(0,e.Ky)()),Ft=(0,e.PH)(t.uR.GET_QUERY_ROUTES_LND,(0,e.Ky)()),xt=(0,e.PH)(t.uR.SET_QUERY_ROUTES_LND,(0,e.Ky)()),Ot=(0,e.PH)(t.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),yt=(0,e.PH)(t.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,e.Ky)())},168:(Fe,q,p)=>{"use strict";p.d(q,{l:()=>J});var e=p(5154),t=p(8645),y=p(2096),A=p(1631),l=p(9773),w=p(7398),m=p(6306),P=p(2460),d=p(5456),E=p(3315),M=p(2154),I=p(9103),k=p(9191),z=p(7321),B=p(9212),W=p(9862),j=p(4221),K=p(5980),X=p(6339),ie=p(5813),se=p(7700),ue=p(4190),ae=p(2285),Me=p(6814);let J=(()=>{class he{constructor(n,s,f,h,C,D,O,v,r,g){this.actions=n,this.httpClient=s,this.store=f,this.logger=h,this.commonService=C,this.sessionService=D,this.dialog=O,this.router=v,this.wsService=r,this.location=g,this.CHILD_API_URL=M.T5+"/lnd",this.invoicesPageSettings=M.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"invoices"===H.tableId),this.paymentsPageSettings=M.gK.find(H=>"transactions"===H.pageId)?.tables.find(H=>"payments"===H.tableId),this.flgInitialized=!1,this.unSubs=[new t.x,new t.x],this.infoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_INFO_LND),(0,A.z)(H=>(this.flgInitialized=!1,this.store.dispatch((0,I.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.ac)({payload:M.m6.GET_NODE_INFO})),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.GETINFO_API).pipe((0,l.R)(this.actions.pipe((0,e.l4)(M.pg.SET_SELECTED_NODE))),(0,w.U)(R=>(this.logger.info(R),R.chains&&R.chains.length&&R.chains[0]&&("string"==typeof R.chains[0]&&R.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof R.chains[0]&&R.chains[0].hasOwnProperty("chain")&&R.chains[0].chain&&R.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.qR)({payload:{data:{type:M.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:M.pg.LOGOUT}):R.identity_pubkey?(R.lnImplementation="LND",this.initializeRemainingData(R,H.payload.loadPage),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),{type:M.uR.SET_INFO_LND,payload:R||{}}):(this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:M.uR.SET_INFO_LND,payload:{}}))),(0,m.K)(R=>{if("string"==typeof R.error.error&&R.error.error.includes("Not Found")||"string"==typeof R.error.error&&R.error.error.includes("wallet locked")||502===R.status&&!R.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",R);else if("string"==typeof R.error.error&&R.error.error.includes("starting up")&&500===R.status)setTimeout(()=>{this.store.dispatch((0,k.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const ee=this.commonService.extractErrorCode(R),De=503===ee?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(R);this.router.navigate(["/error"],{state:{errorCode:ee,errorMessage:De}}),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:ee,error:De})}return(0,y.of)({type:M.pg.VOID})})))))),this.peersFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PEERS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PEERS_API).pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:M.Bn.COMPLETED}})),{type:M.uR.SET_PEERS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPeers",M.m6.NO_SPINNER,"Fetching Peers Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.saveNewPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_PEER_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.PEERS_API,{pubkey:H.payload.pubkey,host:H.payload.host,perm:H.payload.perm}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,k.Z8)({payload:R||[]})),{type:M.uR.NEWLY_ADDED_PEER_LND,payload:{peer:R[0]}})),(0,m.K)(R=>(this.handleErrorWithoutAlert("SaveNewPeer",M.m6.CONNECT_PEER,"Peer Connection Failed.",R),(0,y.of)({type:M.pg.VOID})))))))),this.detachPeer=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.DETACH_PEER_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+M.vv.PEERS_API+"/"+H.payload.pubkey).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.DISCONNECT_PEER})),this.store.dispatch((0,I.jW)({payload:"Peer Disconnected Successfully."})),{type:M.uR.REMOVE_PEER_LND,payload:{pubkey:H.payload.pubkey}})),(0,m.K)(R=>(this.handleErrorWithAlert("DetachPeer",M.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+M.vv.PEERS_API+"/"+H.payload.pubkey,R),(0,y.of)({type:M.pg.VOID})))))))),this.saveNewInvoice=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_INVOICE_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.INVOICES_API,{memo:H.payload.memo,value:H.payload.value,private:H.payload.private,expiry:H.payload.expiry,is_amp:H.payload.is_amp}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:H.payload.pageSize,reversed:!0}})),H.payload.openModal?(R.memo=H.payload.memo,R.value=H.payload.value,R.expiry=H.payload.expiry,R.private=H.payload.private,R.is_amp=H.payload.is_amp,R.cltv_expiry="144",R.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,I.qR)({payload:{data:{invoice:R,newlyAdded:!0,component:d.v}}}))},200),{type:M.pg.CLOSE_SPINNER,payload:H.payload.uiMessage}):{type:M.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:R.payment_request}})),(0,m.K)(R=>(this.handleErrorWithoutAlert("SaveNewInvoice",H.payload.uiMessage,"Add Invoice Failed.",R),(0,y.of)({type:M.pg.VOID})))))))),this.openNewChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_NEW_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API,{node_pubkey:H.payload.selectedPeerPubkey,local_funding_amount:H.payload.fundingAmount,private:H.payload.private,trans_type:H.payload.transType,trans_type_value:H.payload.transTypeValue,spend_unconfirmed:H.payload.spendUnconfirmed,commitment_type:H.payload.commitmentType}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:M.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:M.uR.FETCH_PENDING_CHANNELS_LND})),(0,m.K)(R=>(this.handleErrorWithoutAlert("SaveNewChannel",M.m6.OPEN_CHANNEL,"Opening Channel Failed.",R),(0,y.of)({type:M.pg.VOID})))))))),this.updateChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.UPDATE_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:H.payload.baseFeeMsat,feeRate:H.payload.feeRate,timeLockDelta:H.payload.timeLockDelta,max_htlc_msat:H.payload.maxHtlcMsat,min_htlc_msat:H.payload.minHtlcMsat,chanPoint:H.payload.chanPoint}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,I.jW)("all"===H.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:M.uR.FETCH_CHANNELS_LND})),(0,m.K)(R=>(this.handleErrorWithAlert("UpdateChannels",M.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/chanPolicy",R),(0,y.of)({type:M.pg.VOID})))))))),this.closeChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.CLOSE_CHANNEL_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL}));let R=this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly;return H.payload.targetConf&&(R=R+"&target_conf="+H.payload.targetConf),H.payload.satPerByte&&(R=R+"&sat_per_byte="+H.payload.satPerByte),this.httpClient.delete(R).pipe((0,w.U)(ee=>(this.logger.info(ee),this.store.dispatch((0,I.uO)({payload:H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:M.m6.NO_SPINNER,channelPoint:"ALL",showMessage:ee.message}})),{type:M.pg.VOID})),(0,m.K)(ee=>(this.handleErrorWithAlert("CloseChannel",H.payload.forcibly?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+H.payload.channelPoint+"?force="+H.payload.forcibly,ee),(0,y.of)({type:M.pg.VOID}))))}))),this.backupChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.BACKUP_CHANNELS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,I.jW)({payload:H.payload.showMessage+" "+R.message})),{type:M.uR.BACKUP_CHANNELS_RES_LND,payload:R.message})),(0,m.K)(R=>(this.handleErrorWithAlert("BackupChannels",H.payload.uiMessage,H.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/"+H.payload.channelPoint,R),(0,y.of)({type:M.pg.VOID})))))))),this.verifyChannel=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.VERIFY_CHANNEL_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.VERIFY_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,{}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.jW)({payload:R.message})),{type:M.uR.VERIFY_CHANNEL_RES_LND,payload:R.message})),(0,m.K)(R=>(this.handleErrorWithAlert("VerifyChannel",M.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/verify/"+H.payload.channelPoint,R),(0,y.of)({type:M.pg.VOID})))))))),this.restoreChannels=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.RESTORE_CHANNELS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.RESTORE_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,{}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.jW)({payload:R.message})),this.store.dispatch((0,k.B_)({payload:R.list})),{type:M.uR.RESTORE_CHANNELS_RES_LND,payload:R.message})),(0,m.K)(R=>(this.handleErrorWithAlert("RestoreChannels",M.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/"+H.payload.channelPoint,R),(0,y.of)({type:M.pg.VOID})))))))),this.fetchFees=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_FEES_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.FEES_API))),(0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:M.Bn.COMPLETED}})),H.forwarding_events_history&&(this.store.dispatch((0,k.QJ)({payload:H.forwarding_events_history})),delete H.forwarding_events_history),{type:M.uR.SET_FEES_LND,payload:H||{}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchFees",M.m6.NO_SPINNER,"Fetching Fees Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.balanceBlockchainFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.BALANCE_API))),(0,w.U)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:M.Bn.COMPLETED}})),this.logger.info(H),{type:M.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:H||{total_balance:""}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchBalance",M.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.networkInfoFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_NETWORK_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/info"))),(0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:M.Bn.COMPLETED}})),{type:M.uR.SET_NETWORK_LND,payload:H||{}})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchNetwork",M.m6.NO_SPINNER,"Fetching Network Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.channelsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API).pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:M.Bn.COMPLETED}})),{type:M.uR.SET_CHANNELS_LND,payload:H.channels||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchChannels",M.m6.NO_SPINNER,"Fetching Channels Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.channelsPendingFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PENDING_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPendingChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/pending").pipe((0,w.U)(H=>{this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPendingChannels",status:M.Bn.COMPLETED}}));const R={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return H&&(R.total_limbo_balance=H.total_limbo_balance,H.pending_closing_channels&&(R.closing.num_channels=H.pending_closing_channels.length,R.total_channels=R.total_channels+H.pending_closing_channels.length,H.pending_closing_channels.forEach(ee=>{R.closing.limbo_balance=+R.closing.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)})),H.pending_force_closing_channels&&(R.force_closing.num_channels=H.pending_force_closing_channels.length,R.total_channels=R.total_channels+H.pending_force_closing_channels.length,H.pending_force_closing_channels.forEach(ee=>{R.force_closing.limbo_balance=+R.force_closing.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)})),H.pending_open_channels&&(R.open.num_channels=H.pending_open_channels.length,R.total_channels=R.total_channels+H.pending_open_channels.length,H.pending_open_channels.forEach(ee=>{R.open.limbo_balance=+R.open.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)})),H.waiting_close_channels&&(R.waiting_close.num_channels=H.waiting_close_channels.length,R.total_channels=R.total_channels+H.waiting_close_channels.length,H.waiting_close_channels.forEach(ee=>{R.waiting_close.limbo_balance=+R.waiting_close.limbo_balance+(ee.channel.local_balance?+ee.channel.local_balance:0)}))),{type:M.uR.SET_PENDING_CHANNELS_LND,payload:H?{pendingChannels:H,pendingChannelsSummary:R}:{pendingChannels:{},pendingChannelsSummary:R}}}),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPendingChannels",M.m6.NO_SPINNER,"Fetching Pending Channels Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.channelsClosedFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_CLOSED_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/closed").pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:M.Bn.COMPLETED}})),{type:M.uR.SET_CLOSED_CHANNELS_LND,payload:H.channels||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchClosedChannels",M.m6.NO_SPINNER,"Fetching Closed Channels Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.invoicesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_INVOICES_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.INVOICES_API+"?num_max_invoices="+(H.payload.num_max_invoices?H.payload.num_max_invoices:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,w.U)(ct=>(this.logger.info(ct),this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:M.Bn.COMPLETED}})),H.payload.reversed&&!H.payload.index_offset&&(ct.total_invoices=+(ct.last_index_offset||0)),{type:M.uR.SET_INVOICES_LND,payload:ct})),(0,m.K)(ct=>(this.handleErrorWithoutAlert("FetchInvoices",M.m6.NO_SPINNER,"Fetching Invoices Failed.",ct),(0,y.of)({type:M.pg.VOID})))))))),this.transactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_TRANSACTIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.TRANSACTIONS_API))),(0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:M.Bn.COMPLETED}})),{type:M.uR.SET_TRANSACTIONS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchTransactions",M.m6.NO_SPINNER,"Fetching Transactions Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.utxosFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(z.Q5)),(0,A.z)(([H,R])=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/getUTXOs?max_confs="+(R&&R.block_height?R.block_height:1e9)))),(0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:M.Bn.COMPLETED}})),{type:M.uR.SET_UTXOS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchUTXOs",M.m6.NO_SPINNER,"Fetching UTXOs Failed.",H),(0,y.of)({type:M.pg.VOID}))))),this.paymentsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PAYMENTS_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"?max_payments="+(H.payload.max_payments?H.payload.max_payments:100)+"&index_offset="+(H.payload.index_offset?H.payload.index_offset:0)+"&reversed="+(!!H.payload.reversed&&H.payload.reversed)).pipe((0,w.U)(ct=>(this.logger.info(ct),this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:M.Bn.COMPLETED}})),this.commonService.sortByKey(ct.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:M.uR.SET_PAYMENTS_LND,payload:ct})),(0,m.K)(ct=>(this.handleErrorWithoutAlert("FetchPayments",M.m6.NO_SPINNER,"Fetching Payments Failed.",ct),(0,y.of)({type:M.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SEND_PAYMENT_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:M.Bn.INITIATED}}));const R={};return R.paymentReq=H.payload.paymentReq,H.payload.paymentAmount&&(R.paymentAmount=H.payload.paymentAmount),H.payload.outgoingChannel&&(R.outgoingChannel=H.payload.outgoingChannel.chan_id),H.payload.allowSelfPayment&&(R.allowSelfPayment=H.payload.allowSelfPayment),H.payload.lastHopPubkey&&(R.lastHopPubkey=H.payload.lastHopPubkey),H.payload.feeLimitType&&H.payload.feeLimitType!==M.Vc[0].id&&(R.feeLimit={},R.feeLimit[H.payload.feeLimitType]=H.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",R).pipe((0,w.U)(ee=>{if(this.logger.info(ee),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}})),ee.payment_error)return H.payload.allowSelfPayment?(this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:M.uR.SEND_PAYMENT_STATUS_LND,payload:ee}):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",ee.payment_error):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",ee.payment_error),{type:M.pg.VOID});if(this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),H.payload.allowSelfPayment)this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let De="Payment Sent Successfully.";ee.payment_route&&ee.payment_route.total_fees_msat&&(De="Payment sent successfully with the total fee "+ee.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,I.jW)({payload:De}))}return{type:M.uR.SEND_PAYMENT_STATUS_LND,payload:ee}}),(0,m.K)(ee=>(this.logger.error("Error: "+JSON.stringify(ee)),H.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",ee),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,y.of)({type:M.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(ee)}})):(H.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed.",ee):this.handleErrorWithAlert("SendPayment",H.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/transactions",ee),(0,y.of)({type:M.pg.VOID})))))}))),this.graphNodeFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_GRAPH_NODE_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload.pubkey).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:M.Bn.COMPLETED}})),{type:M.uR.SET_GRAPH_NODE_LND,payload:R&&R.node?{node:R.node}:{node:null}})),(0,m.K)(R=>(this.handleErrorWithoutAlert("FetchGraphNode",M.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",R),(0,y.of)({type:M.pg.VOID})))))))),this.setGraphNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_GRAPH_NODE_LND),(0,w.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_NEW_ADDRESS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+M.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.GENERATE_NEW_ADDRESS})),{type:M.uR.SET_NEW_ADDRESS_LND,payload:R&&R.address?R.address:{}})),(0,m.K)(R=>(this.handleErrorWithAlert("GetNewAddress",M.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+M.vv.NEW_ADDRESS_API+"?type="+H.payload.addressId,R),(0,y.of)({type:M.pg.VOID})))))))),this.setNewAddress=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_NEW_ADDRESS_LND),(0,w.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_CHANNEL_TRANSACTION_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.TRANSACTIONS_API,{amount:H.payload.amount,address:H.payload.address,sendAll:H.payload.sendAll,fees:H.payload.fees,blocks:H.payload.blocks}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,k.mC)()),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),{type:M.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:R})),(0,m.K)(R=>(this.handleErrorWithoutAlert("SetChannelTransaction",M.m6.SEND_FUNDS,"Sending Fund Failed.",R),(0,y.of)({type:M.pg.VOID})))))))),this.fetchForwardingHistory=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_FORWARDING_HISTORY_LND),(0,A.z)(H=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.SWITCH_API,{num_max_events:H.payload.num_max_events,index_offset:H.payload.index_offset,end_time:H.payload.end_time,start_time:H.payload.start_time}).pipe((0,w.U)(ee=>(this.logger.info(ee),this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:M.Bn.COMPLETED}})),{type:M.uR.SET_FORWARDING_HISTORY_LND,payload:ee})),(0,m.K)(ee=>(this.handleErrorWithAlert("FetchForwardingHistory",M.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+M.vv.SWITCH_API,ee),(0,y.of)({type:M.pg.VOID})))))))),this.queryRoutesFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_QUERY_ROUTES_LND),(0,A.z)(H=>{let R=this.CHILD_API_URL+M.vv.NETWORK_API+"/routes/"+H.payload.destPubkey+"/"+H.payload.amount;return H.payload.outgoingChanId&&(R=R+"?outgoing_chan_id="+H.payload.outgoingChanId),this.httpClient.get(R).pipe((0,w.U)(ee=>(this.logger.info(ee),{type:M.uR.SET_QUERY_ROUTES_LND,payload:ee})),(0,m.K)(ee=>(this.store.dispatch((0,k.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",M.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+M.vv.NETWORK_API,ee),(0,y.of)({type:M.pg.VOID}))))}))),this.setQueryRoutes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_QUERY_ROUTES_LND),(0,w.U)(H=>H.payload)),{dispatch:!1}),this.genSeed=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GEN_SEED_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/genseed/"+H.payload).pipe((0,w.U)(R=>(this.logger.info("Generated GenSeed!"),this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.GEN_SEED})),{type:M.uR.GEN_SEED_RESPONSE_LND,payload:R.cipher_seed_mnemonic})),(0,m.K)(R=>(this.handleErrorWithAlert("GenSeed",M.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/genseed/"+H.payload,R),(0,y.of)({type:M.pg.VOID})))))))),this.updateSelNodeOptions=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,A.z)(()=>this.httpClient.get(this.CHILD_API_URL+M.vv.WALLET_API+"/updateSelNodeOptions").pipe((0,w.U)(H=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(H),{type:M.pg.VOID})),(0,m.K)(H=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",M.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",H),(0,y.of)({type:M.pg.VOID}))))))),this.genSeedResponse=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GEN_SEED_RESPONSE_LND),(0,w.U)(H=>H.payload)),{dispatch:!1}),this.initWalletRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INIT_WALLET_RESPONSE_LND),(0,w.U)(H=>H.payload)),{dispatch:!1}),this.initWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INIT_WALLET_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+M.vv.WALLET_API+"/wallet/initwallet",{wallet_password:H.payload.pwd,cipher_seed_mnemonic:H.payload.cipher?H.payload.cipher:"",aezeed_passphrase:H.payload.passphrase?H.payload.passphrase:""}).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.INITIALIZE_WALLET})),{type:M.uR.INIT_WALLET_RESPONSE_LND,payload:R})),(0,m.K)(R=>(this.handleErrorWithAlert("InitWallet",M.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/initwallet",R),(0,y.of)({type:M.pg.VOID})))))))),this.unlockWallet=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.UNLOCK_WALLET_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+M.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:H.payload.pwd}).pipe((0,w.U)(R=>(this.logger.info(R),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,I.uO)({payload:M.m6.UNLOCK_WALLET})),this.store.dispatch((0,I.ac)({payload:M.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,I.uO)({payload:M.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,k.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:M.pg.VOID})),(0,m.K)(R=>(this.handleErrorWithAlert("UnlockWallet",M.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+M.vv.WALLET_API+"/unlockwallet",R),(0,y.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.PEER_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),{type:M.uR.SET_LOOKUP_LND,payload:R})),(0,m.K)(R=>(this.handleErrorWithAlert("Lookup",M.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/node/"+H.payload,R),(0,y.of)({type:M.pg.VOID})))))))),this.channelLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.CHANNEL_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/edge/"+H.payload.channelID).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:H.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),{type:M.uR.SET_LOOKUP_LND,payload:R})),(0,m.K)(R=>(this.handleErrorWithAlert("Lookup",H.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/edge/"+H.payload.channelID,R),(0,y.of)({type:M.pg.VOID})))))))),this.invoiceLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.INVOICE_LOOKUP_LND),(0,A.z)(H=>{this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}}));let R=this.CHILD_API_URL+M.vv.INVOICES_API+"/lookup";return R=H.payload.paymentAddress&&""!==H.payload.paymentAddress?R+"?payment_addr="+H.payload.paymentAddress:R+"?payment_hash="+H.payload.paymentHash,this.httpClient.get(R).pipe((0,w.U)(ee=>(this.logger.info(ee),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.aL)({payload:ee})),{type:M.uR.SET_LOOKUP_LND,payload:ee})),(0,m.K)(ee=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",ee),H.payload.openSnackBar&&this.store.dispatch((0,I.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,y.of)({type:M.uR.SET_LOOKUP_LND,payload:{error:ee}}))))}))),this.paymentLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.PAYMENT_LOOKUP_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"/lookup/"+H.payload).pipe((0,w.U)(R=>(this.logger.info(R),this.store.dispatch((0,I.uO)({payload:M.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,k.qY)({payload:R})),{type:M.uR.SET_LOOKUP_LND,payload:R})),(0,m.K)(R=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:M.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",R),(0,y.of)({type:M.uR.SET_LOOKUP_LND,payload:{error:R}})))))))),this.setLookup=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_LOOKUP_LND),(0,w.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.RESTORE_CHANNELS_LIST_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API+"/restore/list").pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:M.Bn.COMPLETED}})),{type:M.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:H||{all_restore_exists:!1,files:[]}})),(0,m.K)(H=>(this.handleErrorWithAlert("RestoreChannelsList",M.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+M.vv.CHANNELS_BACKUP_API,H),(0,y.of)({type:M.pg.VOID})))))))),this.setRestoreChannelList=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,w.U)(H=>(this.logger.info(H.payload),H.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API+"/alltransactions").pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:M.Bn.COMPLETED}})),{type:M.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:H})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchLightningTransactions",M.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.pageSettingsFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.FETCH_PAGE_SETTINGS_LND),(0,A.z)(()=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:M.Bn.INITIATED}})),this.httpClient.get(M.vv.PAGE_SETTINGS_API).pipe((0,w.U)(H=>(this.logger.info(H),this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:M.Bn.COMPLETED}})),this.invoicesPageSettings=H&&Object.keys(H).length>0?H.find(R=>"transactions"===R.pageId)?.tables.find(R=>"invoices"===R.tableId):M.gK.find(R=>"transactions"===R.pageId)?.tables.find(R=>"invoices"===R.tableId),this.paymentsPageSettings=H&&Object.keys(H).length>0?H.find(R=>"transactions"===R.pageId)?.tables.find(R=>"payments"===R.tableId):M.gK.find(R=>"transactions"===R.pageId)?.tables.find(R=>"payments"===R.tableId),{type:M.uR.SET_PAGE_SETTINGS_LND,payload:H||[]})),(0,m.K)(H=>(this.handleErrorWithoutAlert("FetchPageSettings",M.m6.NO_SPINNER,"Fetching Page Settings Failed.",H),(0,y.of)({type:M.pg.VOID})))))))),this.savePageSettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(M.uR.SAVE_PAGE_SETTINGS_LND),(0,A.z)(H=>(this.store.dispatch((0,I.ac)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:M.Bn.INITIATED}})),this.httpClient.post(M.vv.PAGE_SETTINGS_API,H.payload).pipe((0,w.U)(R=>{this.logger.info(R),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.jW)({payload:"Page Layout Updated Successfully!"}));const ee=(R.find(ct=>"transactions"===ct.pageId)?.tables.find(ct=>"invoices"===ct.tableId)||M.gK.find(ct=>"transactions"===ct.pageId)?.tables.find(ct=>"invoices"===ct.tableId)).recordsPerPage,De=(R.find(ct=>"transactions"===ct.pageId)?.tables.find(ct=>"payments"===ct.tableId)||M.gK.find(ct=>"transactions"===ct.pageId)?.tables.find(ct=>"payments"===ct.tableId)).recordsPerPage;return this.invoicesPageSettings&&ee!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=ee,this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&De!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=De),{type:M.uR.SET_PAGE_SETTINGS_LND,payload:R||[]}}),(0,m.K)(R=>(this.handleErrorWithAlert("SavePageSettings",M.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",M.vv.PAGE_SETTINGS_API,R),(0,y.of)({type:M.pg.VOID})))))))),this.store.select(z.yA).pipe((0,l.R)(this.unSubs[0])).subscribe(H=>{H.FetchInfo.status!==M.Bn.COMPLETED&&H.FetchInfo.status!==M.Bn.ERROR||H.FetchFees.status!==M.Bn.COMPLETED&&H.FetchFees.status!==M.Bn.ERROR||H.FetchBalanceBlockchain.status!==M.Bn.COMPLETED&&H.FetchBalanceBlockchain.status!==M.Bn.ERROR||H.FetchAllChannels.status!==M.Bn.COMPLETED&&H.FetchAllChannels.status!==M.Bn.ERROR||H.FetchPendingChannels.status!==M.Bn.COMPLETED&&H.FetchPendingChannels.status!==M.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,I.uO)({payload:M.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,l.R)(this.unSubs[1])).subscribe(H=>{this.logger.info("Received new message from the service: "+JSON.stringify(H)),H&&(H.type===M.g8.INVOICE?(this.logger.info(H),H&&H.result&&H.result.payment_request&&this.store.dispatch((0,k.aL)({payload:H.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(H)))})}initializeRemainingData(n,s){this.sessionService.setItem("lndUnlocked","true");const f={identity_pubkey:n.identity_pubkey,alias:n.alias,testnet:n.testnet,chains:n.chains,uris:n.uris,version:n.version?n.version.split(" ")[0]:""};this.store.dispatch((0,I.ac)({payload:M.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,I._V)({payload:f}));let h=this.location.path();h.includes("/cln/")?h=h?.replace("/cln/","/lnd/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/lnd/")),(h.includes("/unlock")||h.includes("/login")||h.includes("/error")||""===h||"HOME"===s||h.includes("?access-key="))&&(h="/lnd/home"),this.router.navigate([h]),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Zh)()),this.store.dispatch((0,k.$W)()),this.store.dispatch((0,k.Rv)()),this.store.dispatch((0,k.SN)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(n,s,f,h){this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(h)),401===h.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,I.uO)({payload:s})),this.store.dispatch((0,k.PC)({payload:{action:n,status:M.Bn.ERROR,statusCode:h.status.toString(),message:this.commonService.extractErrorMessage(h,f)}})))}handleErrorWithAlert(n,s,f,h,C){if(this.logger.error(C),401===C.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,I.uO)({payload:s}));const D=this.commonService.extractErrorMessage(C);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:f,message:{code:C.status,message:D,URL:h},component:E.H}}})),this.store.dispatch((0,k.PC)({payload:{action:n,status:M.Bn.ERROR,statusCode:C.status.toString(),message:D,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static#e=this.\u0275fac=function(s){return new(s||he)(B.LFG(e.eX),B.LFG(W.eN),B.LFG(j.yh),B.LFG(K.mQ),B.LFG(X.v),B.LFG(ie.m),B.LFG(se.uw),B.LFG(ue.F0),B.LFG(ae.d),B.LFG(Me.Ye))};static#t=this.\u0275prov=B.Yz7({token:he,factory:he.\u0275fac})}return he})()},7321:(Fe,q,p)=>{"use strict";p.d(q,{$k:()=>y,Bo:()=>P,Ef:()=>k,JG:()=>E,N7:()=>se,P2:()=>j,PP:()=>d,Pr:()=>A,Q5:()=>l,T4:()=>ie,Wi:()=>M,ZW:()=>z,_f:()=>ae,bx:()=>Me,dx:()=>I,l5:()=>ue,ni:()=>W,qU:()=>K,yA:()=>m});var e=p(4221);const t=(0,e.ZF)("lnd"),y=(0,e.P1)(t,J=>J.nodeSettings),A=(0,e.P1)(t,J=>({pageSettings:J.pageSettings,apiCallStatus:J.apisCallStatus.FetchPageSettings})),l=(0,e.P1)(t,J=>J.information),m=((0,e.P1)(t,J=>({information:J.information,apiCallStatus:J.apisCallStatus.FetchInfo})),(0,e.P1)(t,J=>J.apisCallStatus)),P=(0,e.P1)(t,J=>({forwardingHistory:J.forwardingHistory,apiCallStatus:J.apisCallStatus.FetchForwardingHistory})),d=(0,e.P1)(t,J=>({listPayments:J.listPayments,apiCallStatus:J.apisCallStatus.FetchPayments})),E=(0,e.P1)(t,J=>({fees:J.fees,apiCallStatus:J.apisCallStatus.FetchFees})),M=(0,e.P1)(t,J=>({peers:J.peers,apiCallStatus:J.apisCallStatus.FetchPeers})),I=(0,e.P1)(t,J=>({transactions:J.transactions,apiCallStatus:J.apisCallStatus.FetchTransactions})),k=(0,e.P1)(t,J=>({listInvoices:J.listInvoices,apiCallStatus:J.apisCallStatus.FetchInvoices})),z=(0,e.P1)(t,J=>({channels:J.channels,channelsSummary:J.channelsSummary,lightningBalance:J.lightningBalance,apiCallStatus:J.apisCallStatus.FetchAllChannels})),W=((0,e.P1)(t,J=>({channelsSummary:J.channelsSummary,pendingChannels:J.pendingChannels,closedChannels:J.closedChannels,apiCallStatus:J.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,J=>({pendingChannels:J.pendingChannels,pendingChannelsSummary:J.pendingChannelsSummary,apiCallStatus:J.apisCallStatus.FetchPendingChannels}))),j=(0,e.P1)(t,J=>({closedChannels:J.closedChannels,apiCallStatus:J.apisCallStatus.FetchClosedChannels})),K=(0,e.P1)(t,J=>({blockchainBalance:J.blockchainBalance,apiCallStatus:J.apisCallStatus.FetchBalanceBlockchain})),ie=((0,e.P1)(t,J=>({lightningBalance:J.lightningBalance,apiCallStatus:J.apisCallStatus.FetchAllChannels})),(0,e.P1)(t,J=>({utxos:J.utxos,apiCallStatus:J.apisCallStatus.FetchUTXOs}))),se=(0,e.P1)(t,J=>({networkInfo:J.networkInfo,apiCallStatus:J.apisCallStatus.FetchNetwork})),ue=(0,e.P1)(t,J=>({allLightningTransactions:J.allLightningTransactions,apiCallStatus:J.apisCallStatus.FetchLightningTransactions})),ae=(0,e.P1)(t,J=>({channels:J.channels,pendingChannels:J.pendingChannels,closedChannels:J.closedChannels})),Me=(0,e.P1)(t,J=>({information:J.information,nodeSettings:J.nodeSettings,apiCallStatus:J.apisCallStatus.FetchInfo}))},5456:(Fe,q,p)=>{"use strict";p.d(q,{v:()=>It});var e=p(7700),t=p(590),y=p(8645),A=p(9773),l=p(2154),w=p(7321),m=p(9212),P=p(5980),d=p(6339),E=p(2939),M=p(4221),I=p(6814),k=p(5597),z=p(3814),B=p(7509),W=p(2296),j=p(5195),K=p(3305),X=p(617),ie=p(6385),se=p(5940),ue=p(2596),ae=p(2279),Me=p(7313),J=p(6985);const he=["scrollContainer"];function S(Ae,Be){if(1&Ae&&m._UZ(0,"qr-code",33),2&Ae){const rt=m.oxw();m.Q6J("value",null==rt.invoice?null:rt.invoice.payment_request)("size",rt.qrWidth)("errorCorrectionLevel","L")}}function n(Ae,Be){1&Ae&&(m.TgZ(0,"span",34),m._uU(1,"N/A"),m.qZA())}function s(Ae,Be){if(1&Ae&&m._UZ(0,"qr-code",33),2&Ae){const rt=m.oxw();m.Q6J("value",null==rt.invoice?null:rt.invoice.payment_request)("size",rt.qrWidth)("errorCorrectionLevel","L")}}function f(Ae,Be){1&Ae&&(m.TgZ(0,"span",35),m._uU(1,"QR Code Not Applicable"),m.qZA())}function h(Ae,Be){1&Ae&&m._UZ(0,"mat-divider",22),2&Ae&&m.Q6J("inset",!0)}function C(Ae,Be){1&Ae&&(m.ynx(0),m._uU(1," (zero amount) "),m.BQk())}function D(Ae,Be){1&Ae&&m._UZ(0,"span",41)}const O=()=>[];function v(Ae,Be){if(1&Ae&&(m.TgZ(0,"div",37)(1,"div",38)(2,"span",39),m._uU(3),m.ALo(4,"number"),m.qZA(),m.YNc(5,D,1,0,"span",40),m.qZA()()),2&Ae){const rt=m.oxw(2);m.xp6(3),m.hij("",m.lcZ(4,2,null==rt.invoice?null:rt.invoice.amt_paid_sat)," Sats"),m.xp6(2),m.Q6J("ngForOf",m.DdM(4,O).constructor(35))}}function r(Ae,Be){if(1&Ae&&(m.TgZ(0,"div"),m._uU(1),m.ALo(2,"number"),m.qZA()),2&Ae){const rt=m.oxw(2);m.xp6(1),m.hij("",m.lcZ(2,1,null==rt.invoice?null:rt.invoice.amt_paid_sat)," Sats")}}function g(Ae,Be){if(1&Ae&&(m.ynx(0),m.YNc(1,v,6,5,"div",36)(2,r,3,3,"div",21),m.BQk()),2&Ae){const rt=m.oxw();m.xp6(1),m.Q6J("ngIf",rt.flgInvoicePaid),m.xp6(1),m.Q6J("ngIf",!rt.flgInvoicePaid)}}function H(Ae,Be){1&Ae&&(m.TgZ(0,"span"),m._uU(1,"-"),m.qZA())}function R(Ae,Be){1&Ae&&m._UZ(0,"mat-spinner",43),2&Ae&&m.Q6J("diameter",20)}function ee(Ae,Be){if(1&Ae&&(m.ynx(0),m.YNc(1,H,2,0,"span",21)(2,R,1,1,"mat-spinner",42),m.BQk()),2&Ae){const rt=m.oxw();m.xp6(1),m.Q6J("ngIf","OPEN"!==(null==rt.invoice?null:rt.invoice.state)||!rt.flgVersionCompatible),m.xp6(1),m.Q6J("ngIf","OPEN"===(null==rt.invoice?null:rt.invoice.state)&&rt.flgVersionCompatible)}}function De(Ae,Be){1&Ae&&m.GkF(0)}function ct(Ae,Be){if(1&Ae&&(m.TgZ(0,"div"),m.YNc(1,De,1,0,"ng-container",44),m.qZA()),2&Ae){m.oxw();const rt=m.MAs(79);m.xp6(1),m.Q6J("ngTemplateOutlet",rt)}}function Ke(Ae,Be){if(1&Ae){const rt=m.EpF();m.TgZ(0,"div",45)(1,"button",46),m.NdJ("click",function(){m.CHM(rt);const Ie=m.oxw();return m.KtG(Ie.onScrollDown())}),m.TgZ(2,"mat-icon",47),m._uU(3,"arrow_downward"),m.qZA()()()}}function Je(Ae,Be){1&Ae&&(m.TgZ(0,"p"),m._uU(1,"Show Advanced"),m.qZA())}function ye(Ae,Be){1&Ae&&(m.TgZ(0,"p"),m._uU(1,"Hide Advanced"),m.qZA())}function fe(Ae,Be){if(1&Ae){const rt=m.EpF();m.TgZ(0,"button",48),m.NdJ("copied",function(Ie){m.CHM(rt);const lt=m.oxw();return m.KtG(lt.onCopyPayment(Ie))}),m._uU(1),m.qZA()}if(2&Ae){const rt=m.oxw();m.Q6J("payload",null==rt.invoice?null:rt.invoice.payment_request),m.xp6(1),m.Oqu(rt.screenSize===rt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function de(Ae,Be){if(1&Ae){const rt=m.EpF();m.TgZ(0,"button",49),m.NdJ("click",function(){m.CHM(rt);const Ie=m.oxw();return m.KtG(Ie.onClose())}),m._uU(1,"OK"),m.qZA()}}const xe=Ae=>({"mr-0":Ae});function le(Ae,Be){if(1&Ae&&m._UZ(0,"span",64),2&Ae){const rt=m.oxw(4);m.Q6J("ngClass",m.VKq(1,xe,rt.screenSize===rt.screenSizeEnum.XS))}}function pe(Ae,Be){if(1&Ae&&m._UZ(0,"span",65),2&Ae){const rt=m.oxw(4);m.Q6J("ngClass",m.VKq(1,xe,rt.screenSize===rt.screenSizeEnum.XS))}}function qe(Ae,Be){if(1&Ae&&m._UZ(0,"span",66),2&Ae){const rt=m.oxw(4);m.Q6J("ngClass",m.VKq(1,xe,rt.screenSize===rt.screenSizeEnum.XS))}}function re(Ae,Be){if(1&Ae&&(m.TgZ(0,"div",53)(1,"div",58)(2,"span",59),m.YNc(3,le,1,3,"span",60)(4,pe,1,3,"span",61)(5,qe,1,3,"span",62),m._uU(6),m.qZA(),m.TgZ(7,"span",63),m._uU(8),m.ALo(9,"number"),m.qZA()(),m._UZ(10,"mat-divider",22),m.qZA()),2&Ae){const rt=Be.$implicit,$e=m.oxw(3);m.xp6(3),m.Q6J("ngIf","SETTLED"===rt.state),m.xp6(1),m.Q6J("ngIf","ACCEPTED"===rt.state),m.xp6(1),m.Q6J("ngIf","CANCELED"===rt.state),m.xp6(1),m.hij(" ",rt.chan_id," "),m.xp6(2),m.Oqu(m.xi3(9,6,+rt.amt_msat/1e3||0,$e.getDecimalFormat(rt))),m.xp6(2),m.Q6J("inset",!0)}}function ve(Ae,Be){if(1&Ae){const rt=m.EpF();m.TgZ(0,"div",17)(1,"mat-expansion-panel",51),m.NdJ("opened",function(){m.CHM(rt);const Ie=m.oxw(2);return m.KtG(Ie.flgOpened=!0)})("closed",function(){m.CHM(rt);const Ie=m.oxw(2);return m.KtG(Ie.onExpansionClosed())}),m.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),m._uU(5,"HTLCs"),m.qZA()()(),m.TgZ(6,"div",53)(7,"div",54)(8,"span",55),m._uU(9,"Channel ID"),m.qZA(),m.TgZ(10,"span",56),m._uU(11,"Amount (Sats)"),m.qZA()(),m._UZ(12,"mat-divider",22),m.YNc(13,re,11,9,"div",57),m.qZA()()()}if(2&Ae){const rt=m.oxw(2);m.xp6(12),m.Q6J("inset",!0),m.xp6(1),m.Q6J("ngForOf",null==rt.invoice?null:rt.invoice.htlcs)}}function ce(Ae,Be){1&Ae&&m._UZ(0,"mat-divider",22),2&Ae&&m.Q6J("inset",!0)}function Ze(Ae,Be){if(1&Ae&&(m._UZ(0,"mat-divider",22),m.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),m._uU(4,"Preimage"),m.qZA(),m.TgZ(5,"span",24),m._uU(6),m.qZA()()(),m._UZ(7,"mat-divider",22),m.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),m._uU(11,"State"),m.qZA(),m.TgZ(12,"span",24),m._uU(13),m.qZA()(),m.TgZ(14,"div",18)(15,"h4",19),m._uU(16,"Expiry"),m.qZA(),m.TgZ(17,"span",24),m._uU(18),m.ALo(19,"date"),m.qZA()()(),m._UZ(20,"mat-divider",22),m.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),m._uU(24,"Private Routing Hints"),m.qZA(),m.TgZ(25,"span",24),m._uU(26),m.qZA()(),m.TgZ(27,"div",18)(28,"h4",19),m._uU(29,"AMP Invoice"),m.qZA(),m.TgZ(30,"span",24),m._uU(31),m.qZA()()(),m._UZ(32,"mat-divider",22),m.YNc(33,ve,14,2,"div",50)(34,ce,1,1,"mat-divider",14)),2&Ae){const rt=m.oxw();m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==rt.invoice?null:rt.invoice.r_preimage)||"-"),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null==rt.invoice?null:rt.invoice.state),m.xp6(5),m.Oqu(m.xi3(19,11,1e3*(+(null==rt.invoice?null:rt.invoice.creation_date)+ +(null==rt.invoice?null:rt.invoice.expiry)),"dd/MMM/y HH:mm")),m.xp6(2),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null!=rt.invoice&&rt.invoice.private?"Yes":"No"),m.xp6(5),m.Oqu(null!=rt.invoice&&rt.invoice.is_amp?"Yes":"No"),m.xp6(1),m.Q6J("inset",!0),m.xp6(1),m.Q6J("ngIf",(null==rt.invoice?null:rt.invoice.htlcs)&&(null==rt.invoice?null:rt.invoice.htlcs.length)>0),m.xp6(1),m.Q6J("ngIf",(null==rt.invoice?null:rt.invoice.htlcs)&&(null==rt.invoice?null:rt.invoice.htlcs.length)>0)}}const We=Ae=>({"display-none":Ae}),Ct=Ae=>({"xs-scroll-y":Ae}),ut=Ae=>({"h-50":Ae});let It=(()=>{class Ae{set container(rt){rt&&(this.scrollContainer=rt)}constructor(rt,$e,Ie,lt,Qe,St){this.dialogRef=rt,this.data=$e,this.logger=Ie,this.commonService=lt,this.snackBar=Qe,this.store=St,this.faReceipt=t.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=l.cu,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===l.cu.XS&&(this.qrWidth=220),this.store.select(w.Q5).pipe((0,A.R)(this.unSubs[0])).subscribe($e=>{this.flgVersionCompatible=this.commonService.isVersionCompatible($e.version,"0.11.0")});const rt=JSON.parse(JSON.stringify(this.invoice));this.store.select(w.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe($e=>{const Ie=this.invoice?.state,Qe=($e.listInvoices.invoices||[]).find(St=>St.r_hash===rt.r_hash)||null;Qe&&(this.invoice=Qe),Ie!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info($e)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced,this.flgOpened=!1}onScrollDown(){this.scrollContainer.nativeElement.scrollTop=this.scrollContainer.nativeElement.scrollTop+60}onExpansionClosed(){this.flgOpened=!1,this.scrollContainer.nativeElement.scrollTop=0}onCopyPayment(rt){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+rt)}getDecimalFormat(rt){return rt.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(rt=>{rt.next(null),rt.complete()})}static#e=this.\u0275fac=function($e){return new($e||Ae)(m.Y36(e.so),m.Y36(e.WI),m.Y36(P.mQ),m.Y36(d.v),m.Y36(E.ux),m.Y36(M.yh))};static#t=this.\u0275cmp=m.Xpm({type:Ae,selectors:[["rtl-invoice-information"]],viewQuery:function($e,Ie){if(1&$e&&m.Gf(he,5),2&$e){let lt;m.iGM(lt=m.CRH())&&(Ie.container=lt.first)}},decls:80,vars:49,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign.gt-sm","space-between stretch"],["fxFlex","35",1,"modal-qr-code-container","padding-gap-large",3,"fxLayoutAlign","ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["class","font-size-300",4,"ngIf"],["fxLayout","column","fxFlex","65"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large",3,"ngClass"],["fxLayout","column"],["fxFlex","30",1,"modal-qr-code-container","padding-gap",3,"fxLayoutAlign","ngClass"],["class","font-size-120",4,"ngIf"],["class","my-1",3,"inset",4,"ngIf"],[3,"ngClass"],["scrollContainer",""],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"my-1",3,"inset"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click",4,"ngIf"],["advancedBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"font-size-300"],[1,"font-size-120"],["class","invoice-animation-container",4,"ngIf"],[1,"invoice-animation-container"],[1,"invoice-animation-div"],[1,"wiggle"],["class","particles-circle",4,"ngFor","ngForOf"],[1,"particles-circle"],[3,"diameter",4,"ngIf"],[3,"diameter"],[4,"ngTemplateOutlet"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll Down","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"],["fxLayout","row",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",1,"flat-expansion-panel",3,"opened","closed"],["fxLayoutAlign","start center","fxFlex","100",1,"font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100",1,"mt-minus-1"],["fxFlex","60",1,"foreground-secondary-text","font-bold-500"],["fxFlex","40",1,"foreground-secondary-text","font-bold-500"],["fxLayout","column","fxLayoutAlign","start stretch","fxFlex","100",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start","fxFlex","100"],["fxFlex","60",1,"foreground-secondary-text"],["class","dot green","matTooltip","Settled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot yellow","matTooltip","Accepted","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["class","dot red","matTooltip","Cancelled","matTooltipPosition","right",3,"ngClass",4,"ngIf"],["fxFlex","40",1,"foreground-secondary-text"],["matTooltip","Settled","matTooltipPosition","right",1,"dot","green",3,"ngClass"],["matTooltip","Accepted","matTooltipPosition","right",1,"dot","yellow",3,"ngClass"],["matTooltip","Cancelled","matTooltipPosition","right",1,"dot","red",3,"ngClass"]],template:function($e,Ie){if(1&$e&&(m.TgZ(0,"div",0)(1,"div",1),m.YNc(2,S,1,3,"qr-code",2)(3,n,2,0,"span",3),m.qZA(),m.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),m._UZ(7,"fa-icon",7),m.TgZ(8,"span",8),m._uU(9),m.qZA()(),m.TgZ(10,"button",9),m.NdJ("click",function(){return Ie.onClose()}),m._uU(11,"X"),m.qZA()(),m.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),m.YNc(15,s,1,3,"qr-code",2)(16,f,2,0,"span",13),m.qZA(),m.YNc(17,h,1,1,"mat-divider",14),m.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),m._uU(23),m.qZA(),m.TgZ(24,"span",20),m._uU(25),m.ALo(26,"number"),m.YNc(27,C,2,0,"ng-container",21),m.qZA()(),m.TgZ(28,"div",18)(29,"h4",19),m._uU(30,"Amount Settled"),m.qZA(),m.TgZ(31,"span",20),m.YNc(32,g,3,2,"ng-container",21)(33,ee,3,2,"ng-container",21),m.qZA()()(),m._UZ(34,"mat-divider",22),m.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),m._uU(38,"Date Created"),m.qZA(),m.TgZ(39,"span",20),m._uU(40),m.ALo(41,"date"),m.qZA()(),m.TgZ(42,"div",18)(43,"h4",19),m._uU(44,"Date Settled"),m.qZA(),m.TgZ(45,"span",20),m._uU(46),m.ALo(47,"date"),m.qZA()()(),m._UZ(48,"mat-divider",22),m.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),m._uU(52,"Memo"),m.qZA(),m.TgZ(53,"span",20),m._uU(54),m.qZA()()(),m._UZ(55,"mat-divider",22),m.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),m._uU(59,"Payment Request"),m.qZA(),m.TgZ(60,"span",24),m._uU(61),m.qZA()()(),m._UZ(62,"mat-divider",22),m.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),m._uU(66,"Payment Hash"),m.qZA(),m.TgZ(67,"span",24),m._uU(68),m.qZA()()(),m.YNc(69,ct,2,1,"div",21),m.qZA()()(),m.YNc(70,Ke,4,0,"div",25),m.TgZ(71,"div",26)(72,"button",27),m.NdJ("click",function(){return Ie.onShowAdvanced()}),m.YNc(73,Je,2,0,"p",28)(74,ye,2,0,"ng-template",null,29,m.W1O),m.qZA(),m.YNc(76,fe,2,2,"button",30)(77,de,2,0,"button",31),m.qZA()()(),m.YNc(78,Ze,35,14,"ng-template",null,32,m.W1O)),2&$e){const lt=m.MAs(75);m.xp6(1),m.Q6J("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.payment_request&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)?"center start":"center center")("ngClass",m.VKq(41,We,Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==Ie.invoice?null:Ie.invoice.payment_request)&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=Ie.invoice&&Ie.invoice.payment_request)||""===(null==Ie.invoice?null:Ie.invoice.payment_request)),m.xp6(4),m.Q6J("icon",Ie.faReceipt),m.xp6(2),m.Oqu(Ie.screenSize===Ie.screenSizeEnum.XS?Ie.newlyAdded?"Created":"Invoice":Ie.newlyAdded?"Invoice Created":"Invoice Information"),m.xp6(3),m.Q6J("ngClass",m.VKq(43,Ct,Ie.screenSize===Ie.screenSizeEnum.XS)),m.xp6(2),m.Q6J("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.payment_request&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)?"center start":"center center")("ngClass",m.VKq(45,We,Ie.screenSize!==Ie.screenSizeEnum.XS&&Ie.screenSize!==Ie.screenSizeEnum.SM)),m.xp6(1),m.Q6J("ngIf",(null==Ie.invoice?null:Ie.invoice.payment_request)&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=Ie.invoice&&Ie.invoice.payment_request)||""===(null==Ie.invoice?null:Ie.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM),m.xp6(1),m.Q6J("ngClass",m.VKq(47,ut,(null==Ie.invoice?null:Ie.invoice.htlcs)&&(null==Ie.invoice?null:Ie.invoice.htlcs.length)>0&&Ie.showAdvanced)),m.xp6(5),m.Oqu(Ie.screenSize===Ie.screenSizeEnum.XS?"Amount":"Amount Requested"),m.xp6(2),m.hij("",m.lcZ(26,33,(null==Ie.invoice?null:Ie.invoice.value)||0)," Sats"),m.xp6(2),m.Q6J("ngIf",!(null!=Ie.invoice&&Ie.invoice.value)||"0"===(null==Ie.invoice?null:Ie.invoice.value)),m.xp6(5),m.Q6J("ngIf",(null==Ie.invoice?null:Ie.invoice.amt_paid_sat)&&"OPEN"!==(null==Ie.invoice?null:Ie.invoice.state)),m.xp6(1),m.Q6J("ngIf",!(null!=Ie.invoice&&Ie.invoice.amt_paid_sat)||"0"===(null==Ie.invoice?null:Ie.invoice.amt_paid_sat)),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu(m.xi3(41,35,1e3*(null==Ie.invoice?null:Ie.invoice.creation_date),"dd/MMM/y HH:mm")),m.xp6(6),m.Oqu(0!=+(null==Ie.invoice?null:Ie.invoice.settle_date)?m.xi3(47,38,1e3*+(null==Ie.invoice?null:Ie.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),m.xp6(2),m.Q6J("inset",!0),m.xp6(6),m.Oqu(null==Ie.invoice?null:Ie.invoice.memo),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==Ie.invoice?null:Ie.invoice.payment_request)||"N/A"),m.xp6(1),m.Q6J("inset",!0),m.xp6(6),m.Oqu((null==Ie.invoice?null:Ie.invoice.r_hash)||""),m.xp6(1),m.Q6J("ngIf",Ie.showAdvanced),m.xp6(1),m.Q6J("ngIf",(null==Ie.invoice?null:Ie.invoice.htlcs)&&(null==Ie.invoice?null:Ie.invoice.htlcs.length)>0&&Ie.showAdvanced&&Ie.flgOpened),m.xp6(3),m.Q6J("ngIf",!Ie.showAdvanced)("ngIfElse",lt),m.xp6(3),m.Q6J("ngIf",(null==Ie.invoice?null:Ie.invoice.payment_request)&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)),m.xp6(1),m.Q6J("ngIf",!(null!=Ie.invoice&&Ie.invoice.payment_request)||""===(null==Ie.invoice?null:Ie.invoice.payment_request))}},dependencies:[I.mk,I.sg,I.O5,I.tP,k.BN,z.xw,z.Wh,z.yH,B.oO,W.lW,W.nh,j.dn,j.dk,K.ib,K.yz,K.yK,X.Hw,ie.d,se.Ou,ue.gM,ae.uU,Me.y,J.h,I.JJ,I.uU]})}return Ae})()},8291:(Fe,q,p)=>{"use strict";p.d(q,{J:()=>y,_:()=>t});var e=p(6825);const t=[(0,e.X$)("opacityAnimation",[(0,e.eR)(":enter",[(0,e.oB)({opacity:0}),(0,e.jt)("1000ms ease-in",(0,e.oB)({opacity:1}))]),(0,e.eR)(":leave",[(0,e.jt)("0ms",(0,e.oB)({opacity:0}))])])],y=[(0,e.X$)("fadeIn",[(0,e.eR)("void => *",[]),(0,e.eR)("* => void",[]),(0,e.eR)("* => *",[(0,e.jt)(800,(0,e.F4)([(0,e.oB)({opacity:0,transform:"translateY(100%)"}),(0,e.oB)({opacity:1,transform:"translateY(0%)"})]))])])]},5256:(Fe,q,p)=>{"use strict";p.d(q,{g:()=>t});var e=p(6825);const t=(0,e.X$)("routeAnimation",[(0,e.eR)("* => *",[(0,e.IO)(":enter, :leave",(0,e.oB)({position:"fixed",width:"100%"}),{optional:!0}),(0,e.ru)([(0,e.IO)(":enter",[(0,e.oB)({transform:"translateX(100%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,e.IO)(":leave",[(0,e.oB)({transform:"translateX(0%)"}),(0,e.jt)("1000ms ease-in-out",(0,e.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])])},3214:(Fe,q,p)=>{"use strict";p.d(q,{l:()=>t});var e=p(6825);const t=[(0,e.X$)("sliderAnimation",[(0,e.SB)("*",(0,e.oB)({transform:"translateX(0)"})),(0,e.eR)("void => backward",[(0,e.oB)({transform:"translateX(-100%"}),(0,e.jt)("800ms")]),(0,e.eR)("backward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(100%)"}))]),(0,e.eR)("void => forward",[(0,e.oB)({transform:"translateX(100%"}),(0,e.jt)("800ms")]),(0,e.eR)("forward => void",[(0,e.jt)("0ms",(0,e.oB)({transform:"translateX(-100%)"}))])])]},3315:(Fe,q,p)=>{"use strict";p.d(q,{H:()=>M});var e=p(7700),t=p(9212),y=p(5980),A=p(6814),l=p(3814),w=p(2296),m=p(5195),P=p(6385),d=p(6985);function E(I,k){if(1&I&&(t.TgZ(0,"p",14),t._uU(1),t.qZA()),2&I){const z=t.oxw();t.xp6(1),t.Oqu(z.data.titleMessage)}}let M=(()=>{class I{constructor(z,B,W){this.dialogRef=z,this.data=B,this.logger=W,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=this.\u0275fac=function(B){return new(B||I)(t.Y36(e.so),t.Y36(e.WI),t.Y36(y.mQ))};static#t=this.\u0275cmp=t.Xpm({type:I,selectors:[["rtl-error-message"]],decls:29,vars:6,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large","error-alert-block"],["fxLayout","column"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],[1,"word-break"],["fxLayout","row","fxLayoutAlign","end center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","start center",1,"pb-1"]],template:function(B,W){1&B&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return W.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7),t.YNc(10,E,2,1,"p",8),t.TgZ(11,"h4",9),t._uU(12,"Error Code"),t.qZA(),t.TgZ(13,"span"),t._uU(14),t.qZA(),t._UZ(15,"mat-divider",10),t.TgZ(16,"h4",9),t._uU(17,"Error Message"),t.qZA(),t.TgZ(18,"span",11),t._uU(19),t.qZA(),t._UZ(20,"mat-divider",10),t.TgZ(21,"h4",9),t._uU(22,"API URL"),t.qZA(),t.TgZ(23,"span",11),t._uU(24),t.qZA(),t._UZ(25,"mat-divider",10),t.TgZ(26,"div",12)(27,"button",13),t._uU(28,"OK"),t.qZA()()()()()()),2&B&&(t.xp6(5),t.Oqu(W.data.alertTitle||"ERROR"),t.xp6(5),t.Q6J("ngIf",W.data.titleMessage),t.xp6(4),t.Oqu(W.data.message.code),t.xp6(5),t.Oqu(W.errorMessage),t.xp6(5),t.Oqu(W.data.message.URL),t.xp6(3),t.Q6J("mat-dialog-close",!1))},dependencies:[A.O5,l.xw,l.Wh,l.yH,e.ZT,w.lW,m.dn,m.dk,P.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return I})()},5487:(Fe,q,p)=>{"use strict";p.d(q,{a:()=>on});var e=p(6223),t=p(8645),y=p(9773),A=p(7700),l=p(590),w=p(8291),m=p(2154),P=p(7321),d=p(9212),E=p(4221),M=p(3149),I=p(6814),k=p(5980),z=p(4190),B=p(6339),W=p(3814),j=p(7509),K=p(2296),X=p(5195),ie=p(3305),se=p(617),ue=p(2032),ae=p(5683),Me=p(6007),J=p(7466),he=p(2599),S=p(2596),n=p(8257),s=p(6985),f=p(6385);function h(st,si){1&st&&d.GkF(0)}function C(st,si){1&st&&d.GkF(0)}const D=st=>({"h-5":st});function O(st,si){if(1&st&&(d.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d._uU(4),d.ALo(5,"number"),d.qZA()()(),d.YNc(6,C,1,0,"ng-container",0),d.qZA()),2&st){const Ce=d.oxw(),Mt=d.MAs(4);d.Q6J("expanded",Ce.panelExpanded)("ngClass",d.VKq(7,D,!Ce.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",Ce.termCaption," amount (",d.lcZ(5,5,Ce.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",Mt)}}function v(st,si){if(1&st&&(d.TgZ(0,"div",19)(1,"h4",8),d._uU(2," Prepay Amount (Sats) "),d.TgZ(3,"mat-icon",20),d._uU(4,"info_outline"),d.qZA()(),d.TgZ(5,"span",10),d._uU(6),d.ALo(7,"number"),d.qZA()()),2&st){const Ce=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==Ce.quote?null:Ce.quote.prepay_amt_sat))}}function r(st,si){1&st&&d._UZ(0,"mat-divider",13)}function g(st,si){if(1&st&&(d.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),d._uU(3," Swap Server Node Pubkey "),d.TgZ(4,"mat-icon",22),d._uU(5,"info_outline"),d.qZA()(),d.TgZ(6,"span",10),d._uU(7),d.qZA()()()),2&st){const Ce=d.oxw(2);d.xp6(7),d.Oqu(null==Ce.quote?null:Ce.quote.swap_payment_dest)}}function H(st,si){if(1&st&&(d.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d._uU(4," Swap Fee (Sats) "),d.TgZ(5,"mat-icon",9),d._uU(6,"info_outline"),d.qZA()(),d.TgZ(7,"span",10),d._uU(8),d.ALo(9,"number"),d.qZA()(),d.TgZ(10,"div",7)(11,"h4",8),d._uU(12),d.TgZ(13,"mat-icon",11),d._uU(14,"info_outline"),d.qZA()(),d.TgZ(15,"span",10),d._uU(16),d.ALo(17,"number"),d.qZA()(),d.YNc(18,v,8,3,"div",12),d.qZA(),d._UZ(19,"mat-divider",13),d.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),d._uU(23," Max Off-chain Swap Routing Fee (Sats) "),d.TgZ(24,"mat-icon",15),d._uU(25,"info_outline"),d.qZA()(),d.TgZ(26,"span",10),d._uU(27),d.ALo(28,"number"),d.qZA()(),d.TgZ(29,"div",14)(30,"h4",8),d._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),d.TgZ(32,"mat-icon",16),d._uU(33,"info_outline"),d.qZA()(),d.TgZ(34,"span",10),d._uU(35,"36"),d.qZA()()(),d.YNc(36,r,1,0,"mat-divider",17)(37,g,8,1,"div",18),d.qZA()),2&st){const Ce=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=Ce.quote&&Ce.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==Ce.quote?null:Ce.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=Ce.quote&&Ce.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=Ce.quote&&Ce.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=Ce.quote&&Ce.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=Ce.quote&&Ce.quote.htlc_sweep_fee_sat?Ce.quote.htlc_sweep_fee_sat:null!=Ce.quote&&Ce.quote.htlc_publish_fee_sat?Ce.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==Ce.quote?null:Ce.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==Ce.quote?null:Ce.quote.amount)*((null!=Ce.quote&&Ce.quote.off_chain_swap_routing_fee_percentage?null==Ce.quote?null:Ce.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==Ce.quote?null:Ce.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==Ce.quote?null:Ce.quote.swap_payment_dest))}}let R=(()=>{class st{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275cmp=d.Xpm({type:st,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},decls:5,vars:1,consts:[[4,"ngTemplateOutlet"],["informationBlock",""],["quoteDetailsBlock",""],["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded","ngClass"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],[3,"fxFlex"],["fxLayoutAlign","start center",1,"font-bold-500"],["matTooltip","Estimated fee charged by the loop server for the swap",1,"info-icon","info-icon-text"],[1,"foreground-secondary-text"],["matTooltip","An estimate of the on-chain fee that needs to be paid to sweep the HTLC",1,"info-icon","info-icon-text"],["fxFlex","35",4,"ngIf"],[1,"w-100","my-1"],["fxFlex","50"],["matTooltip","Maximum off-chain fee that may be paid for routing the payment amount to the server",1,"info-icon","info-icon-text"],["matTooltip","Maximum off-chain fee that may be paid for routing the pre-payment amount to the server","matTooltipPosition","before",1,"info-icon","info-icon-text"],["class","w-100 my-1",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxFlex","35"],["matTooltip","The part of the swap fee that is requested as a prepayment","matTooltipPosition","before",1,"info-icon","info-icon-text"],["fxFlex","100"],["matTooltip","The node pubkey, where the swap payments will be sent",1,"info-icon","info-icon-text"]],template:function(Mt,Ht){if(1&Mt&&d.YNc(0,h,1,0,"ng-container",0)(1,O,7,9,"ng-template",null,1,d.W1O)(3,H,38,15,"ng-template",null,2,d.W1O),2&Mt){const Dt=d.MAs(2),kt=d.MAs(4);d.Q6J("ngTemplateOutlet",Ht.showPanel?Dt:kt)}},dependencies:[I.mk,I.O5,I.tP,W.xw,W.Wh,W.yH,j.oO,ie.ib,ie.yz,ie.yK,se.Hw,f.d,S.gM,I.JJ]})}return st})();function ee(st,si){1&st&&d.GkF(0)}function De(st,si){if(1&st&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&st){const Ce=d.oxw();d.xp6(2),d.Oqu(null!=Ce.loopStatus&&Ce.loopStatus.error?null==Ce.loopStatus?null:Ce.loopStatus.error:"Unknown Error.")}}function ct(st,si){if(1&st&&(d.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d._uU(4,"ID"),d.qZA(),d.TgZ(5,"span",4),d._uU(6),d.qZA()()(),d._UZ(7,"mat-divider",8),d.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),d._uU(11,"HTLC Address"),d.qZA(),d.TgZ(12,"span",4),d._uU(13),d.qZA()()()()),2&st){const Ce=d.oxw();d.xp6(6),d.Oqu(null==Ce.loopStatus?null:Ce.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==Ce.loopStatus?null:Ce.loopStatus.htlc_address)}}let Ke=(()=>{class st{constructor(){}static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275cmp=d.Xpm({type:st,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},decls:5,vars:1,consts:[[4,"ngTemplateOutlet"],["loopFailedBlock",""],["loopSuccessfulBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(Mt,Ht){if(1&Mt&&d.YNc(0,ee,1,0,"ng-container",0)(1,De,3,1,"ng-template",null,1,d.W1O)(3,ct,14,2,"ng-template",null,2,d.W1O),2&Mt){const Dt=d.MAs(2),kt=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=Ht.loopStatus&&Ht.loopStatus.error?Dt:kt)}},dependencies:[I.tP,W.xw,W.Wh,W.yH,f.d]})}return st})();var Je=p(3214);function ye(st,si){1&st&&d.GkF(0)}const fe=(st,si)=>({"small-svg":st,"large-svg":si});function de(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop In explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function xe(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d._UZ(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56)(29,"g",57)(30,"g",58),d._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),d.TgZ(34,"g",62),d._UZ(35,"path",63),d.qZA(),d._UZ(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),d.qZA(),d.TgZ(45,"g",73),d._UZ(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),d.qZA(),d._UZ(59,"path",87),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Step 1: Deciding to Loop In"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function le(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",88)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",89),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d._UZ(14,"circle",95)(15,"path",96),d.TgZ(16,"g",97),d._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.qZA(),d.TgZ(20,"g",101),d._UZ(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),d.TgZ(31,"g",112)(32,"g",113),d._UZ(33,"g",114),d.qZA(),d._UZ(34,"g",115),d.qZA()()(),d.TgZ(35,"g",116)(36,"g",40),d._UZ(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),d.qZA(),d.TgZ(53,"g",56)(54,"g",57)(55,"g",58),d._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),d.TgZ(59,"g",122),d._UZ(60,"path",63),d.qZA(),d._UZ(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),d.qZA(),d.TgZ(70,"g",73),d._UZ(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),d.qZA(),d._UZ(84,"path",139),d.qZA()()()(),d._UZ(85,"path",140)(86,"path",141),d.qZA()()()(),d.kcU(),d.TgZ(87,"div",30)(88,"mat-card-title"),d._uU(89,"Step 2: Send payment out"),d.qZA()(),d.TgZ(90,"div",31)(91,"mat-card-subtitle",32),d._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function pe(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",142)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d._UZ(10,"circle",12)(11,"path",147),d.qZA(),d.TgZ(12,"g",14),d._UZ(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),d.qZA()(),d.TgZ(28,"g",149),d._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.qZA(),d.TgZ(32,"g",152),d._UZ(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),d.TgZ(43,"g",112)(44,"g",113),d._UZ(45,"g",114),d.qZA(),d._UZ(46,"g",115),d.qZA()()(),d._UZ(47,"path",153),d.qZA()()()(),d.kcU(),d.TgZ(48,"div",30)(49,"mat-card-title"),d._uU(50,"Step 3: Recieve Funds Off-chain"),d.qZA()(),d.TgZ(51,"div",31)(52,"mat-card-subtitle",32),d._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function qe(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",154)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d._UZ(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),d.qZA(),d.TgZ(28,"g",172),d._UZ(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),d.qZA(),d._UZ(43,"path",187),d.qZA()(),d._UZ(44,"circle",188),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Done!"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,fe,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}let re=(()=>{class st{constructor(Ce){this.commonService=Ce,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=m.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Ce){2===Ce.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Ce.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(d.Y36(B.v))};static#t=this.\u0275cmp=d.Xpm({type:st,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopIn_Step02","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(542.000000, 210.000000)"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"],["fxFlex","30","viewBox","0 0 364 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","Loopv0.3","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopIn_Step03","transform","translate(-1127.000000, -164.000000)"],["id","LoopIn_Step03","transform","translate(1127.000000, 164.000000)"],["id","Group-21"],["id","Group-35","transform","translate(107.000000, 10.000000)"],["id","Oval","fill-rule","nonzero","cx","214.487742","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M232.082742,28.5000036 C236.446821,28.5000036 239.999928,25.1343958 239.999928,21.0000215 C239.999928,16.8656472 236.446821,13.5000393 232.082742,13.5000393 C228.98433,13.5000393 226.560889,15.4359631 224.999964,17.1843872 C223.43904,15.4359631 221.015599,13.5000393 217.917187,13.5000393 C213.553107,13.5000393 210,16.8656472 210,21.0000215 C210,25.1343958 213.553107,28.5000036 217.917187,28.5000036 C221.015599,28.5000036 223.43904,26.5640798 224.999964,24.8156557 C226.560889,26.5640798 228.98433,28.5000036 232.082742,28.5000036 Z M217.917187,24.0000143 C216.032807,24.0000143 214.499989,22.6546959 214.499989,21.0000286 C214.499989,19.3453471 216.032807,18.0000286 217.917187,18.0000286 C219.707771,18.0000286 221.357776,19.6921938 222.323426,21.0000286 C221.36716,22.2937501 219.703102,24.0000143 217.917187,24.0000143 Z M232.082742,24.0000143 C230.292157,24.0000143 228.642152,22.3078492 227.676502,21.0000286 C228.632768,19.7062929 230.296827,18.0000286 232.082742,18.0000286 C233.967121,18.0000286 235.499939,19.3453471 235.499939,21.0000286 C235.499939,22.6546959 233.967121,24.0000143 232.082742,24.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(0.000000, 64.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-20"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-20"],["id","Group-43","transform","translate(152.000000, 35.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["id","LoopIn_Step03","fill-rule","nonzero"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-10"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","15.8607624","r","7.93434243"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.35996418",1,"fill-color-31"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-20"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-4"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-20"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-20"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-16"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-9"],["d","M93.2292414,91.9116485 L93.2292414,89.7922708 C93.647506,89.8022089 94.0558324,89.8022089 94.4442517,89.8022089 L94.4442517,91.9116485 L95.9779294,91.9116485 L95.9779294,89.7623948 C98.5473303,89.6229527 100.264986,88.975618 100.494057,86.5555973 C100.673282,84.6136241 99.757032,83.7471573 98.3030443,83.3986138 C99.1794183,82.9504733 99.7371558,82.1537275 99.6076827,80.8291821 C99.4383337,79.0166511 97.9497787,78.4091306 95.9778985,78.2398742 L95.9778985,75.7301945 L94.4442208,75.7301945 L94.4442208,78.1701531 C94.0458325,78.1701531 93.6375061,78.1800912 93.2292106,78.1900602 L93.2292106,75.7301945 L91.695502,75.7301945 L91.695502,78.2398742 C91.1316227,78.2569109 90.4748746,78.2485777 88.6181777,78.2398742 L88.6181777,79.8731181 C89.8290831,79.8516987 90.4644118,79.7738914 90.6099957,80.5502979 L90.6099957,87.4220333 C90.517559,88.0380413 90.0245427,87.9493391 88.926907,87.9299259 L88.6181777,89.7524258 L89.5798445,89.7528809 C91.4824304,89.7548325 91.6955329,89.7623948 91.6955329,89.7623948 L91.6955329,91.9116485 L93.2292414,91.9116485 Z M93.2591175,83.0400705 L93.2591175,79.9826533 C94.1255534,79.9826533 96.8343964,79.7137998 96.8343964,81.5163618 C96.8343964,83.2392647 94.1255843,83.0400705 93.2591175,83.0400705 Z M93.2591175,87.9398948 L93.2591175,84.5737791 C94.2948407,84.5737791 97.4665153,84.2849568 97.4665153,86.2568678 C97.4665153,88.1589961 94.2948407,87.9398948 93.2591175,87.9398948 Z","id","b","fill-rule","nonzero","transform","translate(94.567271, 83.820921) rotate(14.000000) translate(-94.567271, -83.820921) ",1,"fill-color-9"],["d","M305.611064,96.181454 L305.611064,94.0620763 C306.029328,94.0720144 306.437655,94.0720144 306.826074,94.0720144 L306.826074,96.181454 L308.359752,96.181454 L308.359752,94.0322003 C310.929153,93.8927582 312.646809,93.2454235 312.875879,90.8254028 C313.055104,88.8834296 312.138854,88.0169628 310.684867,87.6684193 C311.561241,87.2202788 312.118978,86.423533 311.989505,85.0989876 C311.820156,83.2864566 310.331601,82.678936 308.359721,82.5096797 L308.359721,80 L306.826043,80 L306.826043,82.4399586 C306.427655,82.4399586 306.019328,82.4498967 305.611033,82.4598657 L305.611033,80 L304.077324,80 L304.077324,82.5096797 C303.513445,82.5267164 302.856697,82.5183832 301,82.5096797 L301,84.1429236 C302.210905,84.1215042 302.846234,84.0436969 302.991818,84.8201034 L302.991818,91.6918387 C302.899381,92.3078468 302.406365,92.2191446 301.308729,92.1997314 L301,94.0222313 L301.961667,94.0226864 C303.864253,94.024638 304.077355,94.0322003 304.077355,94.0322003 L304.077355,96.181454 L305.611064,96.181454 Z M305.64094,87.309876 L305.64094,84.2524587 C306.507376,84.2524587 309.216219,83.9836053 309.216219,85.7861673 C309.216219,87.5090702 306.507407,87.309876 305.64094,87.309876 Z M305.64094,92.2097003 L305.64094,88.8435846 C306.676663,88.8435846 309.848338,88.5547623 309.848338,90.5266733 C309.848338,92.4288016 306.676663,92.2097003 305.64094,92.2097003 Z","id","b","fill-rule","nonzero","transform","translate(306.949093, 88.090727) rotate(14.000000) translate(-306.949093, -88.090727) ",1,"fill-color-26"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step04","transform","translate(-1799.000000, -756.000000)"],["id","LoopIn_Step04","transform","translate(1799.000000, 756.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["d","M225.805162,92.2474279 C226.071703,92.2474279 226.325569,92.1077892 226.465207,91.8666288 L232.050261,82.2197185 C232.345374,81.7151473 231.980441,81.0773212 231.393376,81.0773212 L227.731346,81.0773212 L229.083201,76.9583506 C229.210134,76.4759989 228.845202,76 228.346983,76 L223.777394,76 C223.396595,76 223.07291,76.2824384 223.022149,76.6600456 L222.006685,84.2760274 C221.946379,84.7329987 222.301798,85.1391782 222.76193,85.1391782 L226.528674,85.1391782 L225.065752,91.3112968 C224.951525,91.7936485 225.319618,92.2474279 225.805162,92.2474279 Z","id","b","fill-rule","nonzero","transform","translate(227.077378, 84.123714) rotate(14.000000) translate(-227.077378, -84.123714) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopIn_Step05","transform","translate(-2386.000000, -764.000000)","fill-rule","nonzero"],["id","LoopIn_Step05","transform","translate(2386.000000, 764.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"]],template:function(Mt,Ht){if(1&Mt&&d.YNc(0,ye,1,0,"ng-container",0)(1,de,32,5,"ng-template",null,1,d.W1O)(3,xe,66,5,"ng-template",null,2,d.W1O)(5,le,93,5,"ng-template",null,3,d.W1O)(7,pe,54,5,"ng-template",null,4,d.W1O)(9,qe,51,5,"ng-template",null,5,d.W1O),2&Mt){const Dt=d.MAs(2),kt=d.MAs(4),Gt=d.MAs(6),oi=d.MAs(8),bi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Ht.stepNumber?Dt:2===Ht.stepNumber?kt:3===Ht.stepNumber?Gt:4===Ht.stepNumber?oi:bi)}},dependencies:[I.mk,I.tP,W.xw,W.Wh,W.yH,j.oO,X.$j,X.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Je.l]}})}return st})();function ve(st,si){1&st&&d.GkF(0)}const ce=(st,si)=>({"small-svg":st,"large-svg":si});function Ze(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop Out explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function We(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d._UZ(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),d.qZA(),d.TgZ(28,"g",56),d._UZ(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),d.qZA(),d._UZ(43,"path",71),d.qZA()(),d._UZ(44,"circle",72),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Step 1: Deciding to Loop Out"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function Ct(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",73)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",74),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",75)(11,"g",76),d._UZ(12,"circle",77)(13,"path",78),d.TgZ(14,"g",79),d._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.qZA(),d.TgZ(18,"g",83),d._UZ(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),d.TgZ(29,"g",94)(30,"g",95),d._UZ(31,"g",96),d.qZA(),d._UZ(32,"g",97),d.qZA(),d._UZ(33,"path",98),d.qZA(),d.TgZ(34,"g",99)(35,"g",41)(36,"g",42),d._UZ(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),d.qZA(),d.TgZ(52,"g",56),d._UZ(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),d.qZA(),d._UZ(67,"path",111),d.qZA()()()()()(),d.kcU(),d.TgZ(68,"div",30)(69,"mat-card-title"),d._uU(70,"Step 2: Send lightning payment"),d.qZA()(),d.TgZ(71,"div",31)(72,"mat-card-subtitle",32),d._uU(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function ut(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",112)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d._UZ(9,"circle",12)(10,"path",117),d.qZA(),d.TgZ(11,"g",14),d._UZ(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),d.qZA()(),d.TgZ(27,"g",119),d._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.qZA(),d.TgZ(31,"g",121),d._UZ(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),d.TgZ(42,"g",94)(43,"g",95),d._UZ(44,"g",96),d.qZA(),d._UZ(45,"g",97),d.qZA(),d._UZ(46,"path",123),d.qZA()()()()(),d.kcU(),d.TgZ(47,"div",30)(48,"mat-card-title"),d._uU(49,"Step 3: Receive funds back"),d.qZA()(),d.TgZ(50,"div",31)(51,"mat-card-subtitle",32),d._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}function It(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.onSwipe(Ht))}),d.O4$(),d.TgZ(1,"svg",124)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d._UZ(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),d.qZA(),d.TgZ(28,"g",142)(29,"g",143)(30,"g",144),d._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),d.TgZ(34,"g",148),d._UZ(35,"path",149),d.qZA(),d._UZ(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),d.qZA(),d.TgZ(45,"g",159),d._UZ(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),d.qZA(),d._UZ(59,"path",173),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Done!"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@sliderAnimation",Ce.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ce,Ce.screenSize===Ce.screenSizeEnum.XS,Ce.screenSize!==Ce.screenSizeEnum.XS))}}let Ae=(()=>{class st{constructor(Ce){this.commonService=Ce,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=m.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Ce){2===Ce.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Ce.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(d.Y36(B.v))};static#t=this.\u0275cmp=d.Xpm({type:st,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",3,"swipe"],["fxFlex","30","viewBox","0 0 108 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","Loopv0.2","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","LoopOut_Step01","transform","translate(-594.000000, -215.000000)","fill-rule","nonzero"],["id","Loop_Step01","transform","translate(594.000000, 215.000000)"],["id","Group-16","transform","translate(23.000000, 0.000000)"],["id","Oval","cx","42.4877419","cy","42.4877419","r","42.4877419",1,"fill-color-2"],["d","M56.0827415,28.5000036 C60.4468211,28.5000036 63.9999285,25.1343958 63.9999285,21.0000215 C63.9999285,16.8656472 60.4468211,13.5000393 56.0827415,13.5000393 C52.9843297,13.5000393 50.5608889,15.4359631 48.9999642,17.1843872 C47.4390396,15.4359631 45.0155987,13.5000393 41.9171869,13.5000393 C37.5531074,13.5000393 34,16.8656472 34,21.0000215 C34,25.1343958 37.5531074,28.5000036 41.9171869,28.5000036 C45.0155987,28.5000036 47.4390396,26.5640798 48.9999642,24.8156557 C50.5608889,26.5640798 52.9843297,28.5000036 56.0827415,28.5000036 Z M41.9171869,24.0000143 C40.0328073,24.0000143 38.4999893,22.6546959 38.4999893,21.0000286 C38.4999893,19.3453471 40.0328073,18.0000286 41.9171869,18.0000286 C43.707771,18.0000286 45.3577763,19.6921938 46.3234264,21.0000286 C45.3671604,22.2937501 43.7031019,24.0000143 41.9171869,24.0000143 Z M56.0827415,24.0000143 C54.2921574,24.0000143 52.6421522,22.3078492 51.676502,21.0000286 C52.6327681,19.7062929 54.2968266,18.0000286 56.0827415,18.0000286 C57.9671212,18.0000286 59.4999392,19.3453471 59.4999392,21.0000286 C59.4999392,22.6546959 57.9671212,24.0000143 56.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Group-21","transform","translate(0.000000, 36.000000)"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-7"],["id","Oval","opacity","0.1","cx","48.644129","cy","75.1589677","rx","40.8402581","ry","5.55600756",1,"fill-color-27"],["id","Rectangle","x","25.2325161","y","6.09470968","width","54.1068387","height","62.9512258",1,"fill-color-26"],["id","Rectangle","x","20","y","1.24344979e-14","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","20","y","26","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","19.7698065","y","52.9179355","width","65.0322581","height","22.3710968",1,"fill-color-19"],["id","Rectangle","x","67.6335484","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","3.75354839","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","30.0265806","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","67.6335484","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","73.6165161","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["id","Rectangle","x","79.5994839","y","56.2996129","width","4.16206452","height","4.16206452",1,"fill-color-green-light"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","viewBox","0 0 205 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","0%","id","linearGradient-1"],["stop-color","#808080","stop-opacity","0.25","offset","0%"],["stop-color","#808080","stop-opacity","0.12","offset","54%"],["stop-color","#808080","stop-opacity","0.1","offset","100%"],["id","LoopOut_Step02","transform","translate(-540.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step02","transform","translate(540.000000, 210.000000)"],["id","Illustration_Step02"],["id","Group-31"],["id","Group-2"],["id","Rectangle","x","0","y","0","width","90.1490688","height","100.616012",1,"fill-color-10"],["id","Rectangle","x","1.48932403","y","67.1775068","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","82.4918815","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","34.712875","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","42.1244006","width","51.2","height","16.0118784",1,"fill-color-primary-lighter"],["id","Oval","cx","76.317438","cy","50.0294431","r","8.15070413",1,"fill-color-primary-darker"],["id","Rectangle","x","1.48932403","y","2.2482432","width","87.1682273","height","31.2472904",1,"fill-color-1"],["id","Rectangle","x","8.64422093","y","74.5890324","width","24","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","42.1244006","width","36.8","height","16.0118784",1,"fill-color-primary"],["id","Rectangle","x","8.64422093","y","9.66196224","width","51.2","height","16.0118784",1,"fill-color-primary"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","50.2465905","r","8.78679245"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","82.7090289","r","8.78679245"],["id","Group","transform","translate(60.115627, 35.744427)"],["d","M133.318807,1.04548939 L82.5936439,1.04548939 L82.5936439,0 L59.5928852,0 L59.5928852,1.04548939 L8.65861943,1.04548939 C7.74861523,1.04548887 6.87588228,1.4069864 6.23241214,2.05045654 C5.58894199,2.69392669 5.22744498,3.56665964 5.22744498,4.47666384 L5.22744498,73.9350108 C5.22744498,74.8450173 5.5889387,75.7177532 6.23240879,76.3612266 C6.87587888,77.0047 7.74861298,77.3662028 8.65861943,77.3662028 L133.318807,77.3662028 C135.213795,77.3662028 136.749981,75.8300048 136.749981,73.9350167 L136.749981,4.47666384 C136.749981,3.56665964 136.388484,2.69392669 135.745014,2.05045654 C135.101544,1.4069864 134.228811,1.04548887 133.318807,1.04548939 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-25"],["id","Path","opacity","0.257273065","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-24"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-25"],["d","M31.5848237,68.0274261 C25.669241,68.0274261 20.3361447,64.4639649 18.0723494,58.9986791 C15.808554,53.5333932 17.0598755,47.2425772 21.2428244,43.0596288 C25.4257733,38.8766804 31.7165895,37.6253598 37.1818751,39.8891559 C42.6471607,42.1529519 46.2106203,47.4860487 46.2106203,53.4016314 C46.2014756,61.4754447 39.6586369,68.0182825 31.5848237,68.0274261 L31.5848237,68.0274261 Z M31.5848237,38.967022 C23.612809,38.967022 17.1502143,45.4296168 17.1502143,53.4016314 C17.1502143,61.3736461 23.612809,67.8362409 31.5848237,67.8362409 C39.5568383,67.8362409 46.0194331,61.3736461 46.0194331,53.4016314 C46.010427,45.4333502 39.5531049,38.9760281 31.5848237,38.967022 L31.5848237,38.967022 Z","id","Shape",1,"fill-color-primary"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-13"],["id","Rectangle","x","119.89017","y","8.50924347","width","4.7751428","height","4.7751428",1,"fill-color-6"],["d","M126.882344,15.5014148 L121.083948,15.5014148 L121.083948,9.70301894 L126.882344,9.70301894 L126.882344,15.5014148 Z M121.336061,15.2493191 L126.63024,15.2493191 L126.63024,9.95513218 L121.336061,9.95513218 L121.336061,15.2493191 Z","id","Shape",1,"fill-color-19"],["d","M140.184525,74.8570201 L128.246669,74.8570201 L128.246669,73.9969059 C128.246671,73.9516751 128.228704,73.9082962 128.196721,73.876313 C128.164738,73.8443298 128.12136,73.826364 128.076129,73.826364 L123.98315,73.826364 C123.937919,73.826364 123.89454,73.8443305 123.862558,73.8763135 C123.830575,73.9082966 123.812608,73.9516752 123.81261,73.9969059 L123.81261,74.8570201 L121.254497,74.8570201 L121.254497,73.9969059 C121.254499,73.9516752 121.236532,73.9082966 121.204549,73.8763135 C121.172566,73.8443305 121.129188,73.826364 121.083957,73.826364 L116.990978,73.826364 C116.945747,73.826364 116.902368,73.8443297 116.870385,73.8763129 C116.838402,73.908296 116.820435,73.9516749 116.820436,73.9969059 L116.820436,74.8570201 L114.262326,74.8570201 L114.262326,73.9969059 C114.262328,73.9516749 114.24436,73.908296 114.212377,73.8763129 C114.180394,73.8443297 114.137015,73.826364 114.091784,73.826364 L109.998805,73.826364 C109.953574,73.826364 109.910196,73.8443305 109.878213,73.8763135 C109.84623,73.9082966 109.828263,73.9516752 109.828265,73.9969059 L109.828265,74.8570201 L107.270153,74.8570201 L107.270153,73.9969059 C107.270154,73.9516752 107.252187,73.9082966 107.220204,73.8763135 C107.188222,73.8443305 107.144843,73.826364 107.099613,73.826364 L103.00663,73.826364 C102.961399,73.826364 102.91802,73.8443298 102.886037,73.876313 C102.854054,73.9082962 102.836088,73.9516751 102.83609,73.9969059 L102.83609,74.8570201 L100.277981,74.8570201 L100.277981,73.9969059 C100.277983,73.9516749 100.260016,73.908296 100.228032,73.8763129 C100.196049,73.8443297 100.15267,73.826364 100.107439,73.826364 L96.0144621,73.826364 C95.9692311,73.826364 95.9258522,73.8443297 95.8938691,73.8763129 C95.861886,73.908296 95.8439187,73.9516749 95.8439202,73.9969059 L95.8439202,74.8570201 L93.285808,74.8570201 L93.285808,73.9969059 C93.2858095,73.9516752 93.2678425,73.9082966 93.2358598,73.8763135 C93.2038771,73.8443305 93.1604987,73.826364 93.1152681,73.826364 L89.0222888,73.826364 C88.9770581,73.826364 88.9336797,73.8443305 88.901697,73.8763135 C88.8697143,73.9082966 88.8517473,73.9516752 88.8517489,73.9969059 L88.8517489,74.8570201 L86.2936405,74.8570201 L86.2936405,73.9969059 C86.293642,73.9516752 86.2756751,73.9082966 86.2436923,73.8763135 C86.2117096,73.8443305 86.1683312,73.826364 86.1231006,73.826364 L54.061428,73.826364 C54.0161974,73.826364 53.972819,73.8443305 53.9408363,73.8763135 C53.9088536,73.9082966 53.8908866,73.9516752 53.8908881,73.9969059 L53.8908881,74.8570201 L51.3327759,74.8570201 L51.3327759,73.9969059 C51.3327774,73.9516749 51.3148102,73.908296 51.282827,73.8763129 C51.2508439,73.8443297 51.207465,73.826364 51.162234,73.826364 L47.0692664,73.826364 C47.0240354,73.826364 46.9806565,73.8443297 46.9486734,73.8763129 C46.9166903,73.908296 46.898723,73.9516749 46.8987246,73.9969059 L46.8987246,74.8570201 L44.3406025,74.8570201 L44.3406025,73.9969059 C44.3406046,73.9516751 44.3226378,73.9082962 44.290655,73.876313 C44.2586721,73.8443298 44.2152934,73.826364 44.1700626,73.826364 L40.0770834,73.826364 C40.0318527,73.826364 39.9884743,73.8443305 39.9564916,73.8763135 C39.9245089,73.9082966 39.9065419,73.9516752 39.9065435,73.9969059 L39.9065435,74.8570201 L37.3484312,74.8570201 L37.3484312,73.9969059 C37.3484327,73.9516752 37.3304657,73.9082966 37.298483,73.8763135 C37.2665003,73.8443305 37.2231219,73.826364 37.1778913,73.826364 L33.084912,73.826364 C33.039681,73.826364 32.9963021,73.8443297 32.964319,73.8763129 C32.9323358,73.908296 32.9143686,73.9516749 32.9143701,73.9969059 L32.9143701,74.8570201 L30.3562598,74.8570201 L30.3562598,73.9969059 C30.3562614,73.9516749 30.3382941,73.908296 30.306311,73.8763129 C30.2743278,73.8443297 30.2309489,73.826364 30.1857179,73.826364 L26.0927387,73.826364 C26.047508,73.826364 26.0041296,73.8443305 25.9721469,73.8763135 C25.9401642,73.9082966 25.9221972,73.9516752 25.9221988,73.9969059 L25.9221988,74.8570201 L23.3640826,74.8570201 L23.3640826,73.9969059 C23.3640841,73.9516752 23.3461171,73.9082966 23.3141344,73.8763135 C23.2821517,73.8443305 23.2387733,73.826364 23.1935427,73.826364 L19.1005673,73.826364 C19.0553365,73.826364 19.0119578,73.8443298 18.979975,73.876313 C18.9479921,73.9082962 18.9300253,73.9516751 18.9300274,73.9969059 L18.9300274,74.8570201 L16.3719151,74.8570201 L16.3719151,73.9969059 C16.3719167,73.9516749 16.3539494,73.908296 16.3219663,73.8763129 C16.2899831,73.8443297 16.2466042,73.826364 16.2013733,73.826364 L12.1083959,73.826364 C12.0631649,73.826364 12.0197861,73.8443297 11.9878029,73.8763129 C11.9558198,73.908296 11.9378525,73.9516749 11.9378541,73.9969059 L11.9378541,74.8570201 L4.09297732,74.8570201 C1.83248849,74.8570223 0,76.6895106 0,78.9499994 L0,80.8007483 C0,83.061233 1.83249262,84.8937159 4.09297732,84.8937159 L140.184525,84.8937159 C142.44501,84.8937159 144.277504,83.0612333 144.277504,80.8007483 L144.277504,78.9499994 C144.277504,76.6895102 142.445014,74.8570223 140.184525,74.8570201 Z","id","Path",1,"fill-color-20"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-21"],["id","Oval","cx","74.1507041","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["fxFlex","30","viewBox","0 0 373 121","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["x1","50%","y1","100%","x2","50%","y2","8.86848147e-15%","id","linearGradient-1"],["id","LoopOut_Step03","transform","translate(-460.000000, -210.000000)"],["id","Loop_Step03","transform","translate(460.000000, 210.000000)"],["id","Oval","fill-rule","nonzero","cx","330.487742","cy","57.4877419","r","42.4877419",1,"fill-color-2"],["d","M345.082742,43.5000036 C349.446821,43.5000036 352.999928,40.1343958 352.999928,36.0000215 C352.999928,31.8656472 349.446821,28.5000393 345.082742,28.5000393 C341.98433,28.5000393 339.560889,30.4359631 337.999964,32.1843872 C336.43904,30.4359631 334.015599,28.5000393 330.917187,28.5000393 C326.553107,28.5000393 323,31.8656472 323,36.0000215 C323,40.1343958 326.553107,43.5000036 330.917187,43.5000036 C334.015599,43.5000036 336.43904,41.5640798 337.999964,39.8156557 C339.560889,41.5640798 341.98433,43.5000036 345.082742,43.5000036 Z M330.917187,39.0000143 C329.032807,39.0000143 327.499989,37.6546959 327.499989,36.0000286 C327.499989,34.3453471 329.032807,33.0000286 330.917187,33.0000286 C332.707771,33.0000286 334.357776,34.6921938 335.323426,36.0000286 C334.36716,37.2937501 332.703102,39.0000143 330.917187,39.0000143 Z M345.082742,39.0000143 C343.292157,39.0000143 341.642152,37.3078492 340.676502,36.0000286 C341.632768,34.7062929 343.296827,33.0000286 345.082742,33.0000286 C346.967121,33.0000286 348.499939,34.3453471 348.499939,36.0000286 C348.499939,37.6546959 346.967121,39.0000143 345.082742,39.0000143 Z","id","i","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-44","transform","translate(113.000000, 79.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 7.089946) scale(-1, 1) translate(-118.400000, -7.089946) ","points","234.731878 6.60770626 8.52651283e-14 6.60770626 8.52651283e-14 7.57218541 236.8 7.57218541",1,"fill-color-19"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-22"],["d","M120.192,8.96 L105.856,8.96 L105.856,1.86517468e-14 L120.192,1.86517468e-14 L120.192,8.96 Z M106.479304,8.57043501 L119.568696,8.57043501 L119.568696,0.389564988 L106.479304,0.389564988 L106.479304,8.57043501 Z","id","Shape","transform","translate(113.024000, 4.480000) scale(-1, 1) translate(-113.024000, -4.480000) ",1,"fill-color-19"],["id","Group-43","transform","translate(265.000000, 50.000000)"],["id","Path","fill-rule","nonzero","points","-9.84073267e-14 7.36243469 92.3919279 7.36243469 92.3919279 70.3073253 -1.13686838e-13 70.3073253",1,"fill-color-23"],["d","M97.5448374,1.70530257e-13 L6.62592538,1.70530257e-13 C6.01615907,0.000922175294 5.52114394,0.495001701 5.52114394,1.104768 L5.52114394,62.57664 C5.52114394,62.8696481 5.63752746,63.150658 5.84471672,63.3578447 C6.05190598,63.5650315 6.3329173,63.681408 6.62592538,63.681408 L97.5448374,63.681408 C97.8378436,63.681408 98.1188523,63.5650282 98.3260389,63.3578415 C98.5332256,63.1506549 98.6496054,62.8696462 98.6496054,62.57664 L98.6496054,1.104768 C98.6496054,0.495005713 98.1545997,0.000926622272 97.5448374,1.70530257e-13 L97.5448374,1.70530257e-13 Z M97.9130952,62.57664 C97.9130952,62.6744022 97.8747043,62.7682496 97.8055756,62.8373783 C97.736447,62.9065069 97.6425996,62.9448978 97.5448374,62.9448978 L6.62592538,62.9448978 C6.52816341,62.9448978 6.4343164,62.906506 6.3651879,62.8373775 C6.29605941,62.768249 6.25766754,62.674402 6.25766754,62.57664 L6.25766754,1.104768 C6.25766754,0.901512883 6.42267026,0.736512 6.62592538,0.736512 L97.5448374,0.736512 C97.7480931,0.736512 97.9130952,0.901512271 97.9130952,1.104768 L97.9130952,62.57664 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","10.3066764","y","43.4358624","width","41.5947948","height","4.78524211","rx","0.5376",1,"fill-color-19"],["d","M89.8141359,39.3872559 L76.5649839,39.3872559 C76.2719769,39.3872559 75.9909677,39.5036372 75.7837792,39.7108232 C75.5765907,39.9180091 75.4602025,40.1990169 75.4602025,40.4920239 L75.4602025,50.7978159 C75.4602025,51.090824 75.576586,51.3718339 75.7837753,51.5790207 C75.9909645,51.7862074 76.2719759,51.9025839 76.5649839,51.9025839 L89.8141359,51.9025839 C90.107143,51.9025839 90.3881533,51.7862079 90.5953406,51.5790206 C90.8025279,51.3718333 90.9189039,51.090823 90.9189039,50.7978159 L90.9189039,40.4920239 C90.9189039,40.199018 90.8025232,39.9180097 90.5953367,39.7108232 C90.3881502,39.5036367 90.1071419,39.3872559 89.8141359,39.3872559 Z M90.1823938,50.7978159 C90.182087,51.0010717 90.0173917,51.165767 89.8141359,51.1660719 L76.5649839,51.1660719 C76.3617256,51.165767 76.1970256,51.0010743 76.19671,50.7978159 L76.19671,40.4920239 C76.1964064,40.3942603 76.2351088,40.3004129 76.30424,40.2312847 C76.3733712,40.1621565 76.4672203,40.1234582 76.5649839,40.1237661 L89.8141359,40.1237661 C89.9118981,40.1234582 90.0057456,40.162157 90.0748742,40.2312857 C90.1440029,40.3004143 90.1827017,40.3942617 90.1823938,40.4920239 L90.1823938,50.7978159 Z","id","Shape","fill-rule","nonzero",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","41.7652758","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","44.7100416","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","78.6733409","y","47.6548047","width","9.03249715","height","1.86879168","rx","0.5376",1,"fill-color-19"],["id","Rectangle","fill-rule","nonzero","x","11.4109632","y","4.41773875","width","19.1409684","height","8.09810266","rx","0.5376",1,"fill-color-19"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-3"],["d","M50.1798649,51.9764517 C43.6553251,51.9764517 37.7732336,48.0461636 35.2764005,42.0182748 C32.7795674,35.990386 34.1597014,29.0519859 38.773248,24.4384399 C43.3867946,19.824894 50.3251948,18.4447609 56.3530833,20.9415948 C62.3809718,23.4384287 66.3112582,29.3205207 66.3112582,35.8450605 C66.3011721,44.7500015 59.0848059,51.9663668 50.1798649,51.9764517 L50.1798649,51.9764517 Z M50.1798649,19.9245354 C41.3872016,19.9245354 34.2593397,27.0523972 34.2593397,35.8450605 C34.2593397,44.6377237 41.3872016,51.7655856 50.1798649,51.7655856 C58.9725281,51.7655856 66.10039,44.6377237 66.10039,35.8450605 C66.0904567,27.056515 58.9684103,19.9344686 50.1798649,19.9245354 L50.1798649,19.9245354 Z","id","Shape","fill-rule","nonzero",1,"fill-color-primary"],["id","Group-23","transform","translate(5.000000, 0.001193)"],["id","Group-22"],["id","Group","transform","translate(0.378134, 0.000000)"],["id","Group-24","transform","translate(29.048000, 19.712000)"],["d","M46.60483,51.432122 C46.8713708,51.432122 47.1252368,51.2924832 47.2648756,51.0513229 L52.8499289,41.4044125 C53.145042,40.8998413 52.7801095,40.2620153 52.1930443,40.2620153 L48.5310139,40.2620153 L49.8828693,36.1430446 C50.0098023,35.6606929 49.6448699,35.184694 49.1466515,35.184694 L44.5770624,35.184694 C44.1962633,35.184694 43.8725779,35.4671324 43.8218171,35.8447396 L42.8063528,43.4607214 C42.7460473,43.9176927 43.1014659,44.3238722 43.5615982,44.3238722 L47.3283421,44.3238722 L45.8654203,50.4959909 C45.751193,50.9783426 46.1192864,51.432122 46.60483,51.432122 Z","id","b","fill-rule","nonzero","transform","translate(47.877046, 43.308408) rotate(14.000000) translate(-47.877046, -43.308408) ",1,"fill-color-12"],["id","Group-34","fill-rule","nonzero"],["id","Oval","fill","url(#linearGradient-1)","cx","76.317438","cy","17.5648113","r","8.78679245"],["id","Oval","cx","76.317438","cy","17.5648113","r","8.15070413",1,"fill-color-primary"],["id","Rectangle","x","9.82759671","y","7.10932665","width","122.322231","height","69.0022838",1,"fill-color-8"],["id","Path","opacity","0.222721354","points","97.1677755 76.1116475 9.82763376 76.1116475 9.82763376 7.10937149",1,"fill-color-18"],["id","Oval","cx","28.9673627","cy","59.1901502","r","11.7579927",1,"fill-color-8"],["id","Rectangle","x","99.4252759","y","44.3228077","width","11.4262324","height","2.38757043",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","25.733862","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","28.9741379","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","32.2144137","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","35.4546875","width","39.05384","height","1.0232453",1,"fill-color-14"],["id","Rectangle","x","85.6114731","y","38.6949634","width","39.05384","height","1.0232453",1,"fill-color-14"],["d","M88.0406297,103.870828 C88.3071704,103.870828 88.5610365,103.731189 88.7006752,103.490029 L94.2857286,93.8431185 C94.5808417,93.3385473 94.2159092,92.7007212 93.6288439,92.7007212 L89.9668136,92.7007212 L91.318669,88.5817505 C91.445602,88.0993988 91.0806695,87.6234 90.5824512,87.6234 L86.0128621,87.6234 C85.632063,87.6234 85.3083776,87.9058383 85.2576168,88.2834455 L84.2421525,95.8994274 C84.1818469,96.3563987 84.5372656,96.7625782 84.9973979,96.7625782 L88.7641417,96.7625782 L87.30122,102.934697 C87.1869926,103.417048 87.555086,103.870828 88.0406297,103.870828 Z","id","b","transform","translate(89.312846, 95.747114) rotate(14.000000) translate(-89.312846, -95.747114) ",1,"fill-color-12"],["fxFlex","30","viewBox","0 0 278 118","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step04","transform","translate(-503.000000, -212.000000)"],["id","Loop_Step04","transform","translate(503.000000, 212.000000)"],["id","Loop","fill-rule","nonzero"],["id","Group-16","transform","translate(24.000000, 0.000000)"],["d","M55.0827415,28.5000036 C59.4468211,28.5000036 62.9999285,25.1343958 62.9999285,21.0000215 C62.9999285,16.8656472 59.4468211,13.5000393 55.0827415,13.5000393 C51.9843297,13.5000393 49.5608889,15.4359631 47.9999642,17.1843872 C46.4390396,15.4359631 44.0155987,13.5000393 40.9171869,13.5000393 C36.5531074,13.5000393 33,16.8656472 33,21.0000215 C33,25.1343958 36.5531074,28.5000036 40.9171869,28.5000036 C44.0155987,28.5000036 46.4390396,26.5640798 47.9999642,24.8156557 C49.5608889,26.5640798 51.9843297,28.5000036 55.0827415,28.5000036 Z M40.9171869,24.0000143 C39.0328073,24.0000143 37.4999893,22.6546959 37.4999893,21.0000286 C37.4999893,19.3453471 39.0328073,18.0000286 40.9171869,18.0000286 C42.707771,18.0000286 44.3577763,19.6921938 45.3234264,21.0000286 C44.3671604,22.2937501 42.7031019,24.0000143 40.9171869,24.0000143 Z M55.0827415,24.0000143 C53.2921574,24.0000143 51.6421522,22.3078492 50.676502,21.0000286 C51.6327681,19.7062929 53.2968266,18.0000286 55.0827415,18.0000286 C56.9671212,18.0000286 58.4999392,19.3453471 58.4999392,21.0000286 C58.4999392,22.6546959 56.9671212,24.0000143 55.0827415,24.0000143 Z","id","i",1,"fill-color-primary"],["id","Oval","cx","48.644129","cy","75.1589677","rx","48.644129","ry","6.61766437",1,"fill-color-2"],["id","Group-44","transform","translate(27.000000, 69.000000)","fill-rule","nonzero"],["id","Path","transform","translate(118.400000, 8.960000) scale(-1, 1) translate(-118.400000, -8.960000) ","points","113.024 5.376 123.776 5.376 123.776 12.544 113.024 12.544",1,"fill-color-23"],["id","Group-43","transform","translate(179.000000, 40.000000)"],["id","Oval","fill-rule","nonzero","cx","47.2929593","cy","42.2294561","r","12.9683743",1,"fill-color-4"],["d","M46.519593,50.6740439 L46.519593,48.5460252 C46.9395628,48.5560039 47.349554,48.5560039 47.739557,48.5560039 L47.739557,50.6740439 L49.2794877,50.6740439 L49.2794877,48.5160274 C51.8593644,48.3760168 53.5840235,47.7260428 53.8140277,45.2961554 C53.9939838,43.3462645 53.0739982,42.476265 51.6140824,42.1263004 C52.4940295,41.6763328 53.054041,40.8763386 52.92404,39.5463928 C52.7540005,37.7264719 51.2593765,37.1164744 49.2794567,36.9465279 L49.2794567,34.4266159 L47.739526,34.4266159 L47.739526,36.8765226 C47.3395134,36.8765226 46.9295222,36.8865012 46.519562,36.8965108 L46.519562,34.4266159 L44.9796003,34.4266159 L44.9796003,36.9465279 C44.413422,36.9636341 43.7539962,36.9552669 41.8897293,36.9465279 L41.8897293,38.5864308 C43.1055717,38.564924 43.7434908,38.4867995 43.8896683,39.2663716 L43.8896683,46.1661239 C43.7968547,46.7846435 43.3018283,46.6955796 42.1997174,46.6760872 L41.8897293,48.5060178 C44.6975648,48.5060178 44.9796313,48.5160274 44.9796313,48.5160274 L44.9796313,50.6740439 L46.519593,50.6740439 Z M46.5495908,41.7662953 L46.5495908,38.6964125 C47.4195593,38.6964125 50.1394466,38.4264629 50.1394466,40.2363742 C50.1394466,41.9663016 47.4195903,41.7662953 46.5495908,41.7662953 Z M46.5495908,46.6860969 L46.5495908,43.306257 C47.5895368,43.306257 50.7741427,43.0162572 50.7741427,44.9962079 C50.7741427,46.9060914 47.5895368,46.6860969 46.5495908,46.6860969 Z","id","B","fill-rule","nonzero","transform","translate(47.863077, 42.550330) rotate(14.000000) translate(-47.863077, -42.550330) ",1,"fill-color-29"],["fxFlex","30","viewBox","0 0 200 120","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["id","LoopOut_Step05","transform","translate(-542.000000, -210.000000)","fill-rule","nonzero"],["id","Loop_Step05","transform","translate(542.000000, 210.000000)"],["id","Rectangle","x","0","y","0","width","81.4032636","height","90.8547569",1,"fill-color-11"],["id","Rectangle","x","1.34483737","y","60.660286","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","67.352783","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","74.4889377","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","31.345208","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","38.0377051","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Oval","cx","68.9135074","cy","45.1758404","r","7.35996418",1,"fill-color-primary-darker"],["id","Rectangle","x","1.34483737","y","2.03013005","width","78.7116083","height","28.2158368",1,"fill-color-9"],["id","Rectangle","x","7.80560248","y","8.72460769","width","46.2328358","height","14.4584872",1,"fill-color-primary-lighter"],["id","Rectangle","x","7.80560248","y","67.352783","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","38.0377051","width","33.2298507","height","14.4584872",1,"fill-color-primary"],["id","Rectangle","x","7.80560248","y","8.72460769","width","23.1164179","height","14.4584872",1,"fill-color-primary"],["id","Oval","cx","68.9135074","cy","15.8607624","r","7.93434243",1,"fill-color-31"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","45.3719212","r","7.93434243"],["id","Oval","fill","url(#linearGradient-1)","cx","68.9135074","cy","74.6850186","r","7.93434243"],["id","Group-16","transform","translate(55.804478, 34.674627)"],["id","Group-29","transform","translate(0.310627, 0.751284)"],["id","Group"],["d","M132.777455,1.04124409 L82.2582659,1.04124409 L82.2582659,0 L59.3509036,0 L59.3509036,1.04124409 L8.62346042,1.04124409 C7.71715136,1.04124358 6.84796221,1.40127322 6.20710493,2.0421305 C5.56624765,2.68298778 5.20621852,3.55217693 5.20621852,4.45848599 L5.20621852,73.6347918 C5.20621852,74.5411031 5.56624437,75.4102953 6.2071016,76.0511558 C6.84795882,76.6920163 7.71714912,77.0520512 8.62346042,77.0520512 L132.777455,77.0520512 C134.664749,77.0520512 136.194697,75.522091 136.194697,73.6347977 L136.194697,4.45848599 C136.194697,3.55217693 135.834668,2.68298778 135.193811,2.0421305 C134.552953,1.40127322 133.683764,1.04124358 132.777455,1.04124409 Z","id","Path",1,"fill-color-20"],["id","Rectangle","x","9.78769098","y","7.08045867","width","121.825532","height","68.7220946",1,"fill-color-7"],["id","Path","opacity","0.306775484","points","96.7732181 75.8025901 9.78772787 75.8025901 9.78772787 7.08050333",1,"fill-color-27"],["id","Group-24","transform","translate(16.889738, 38.617955)",1,"fill-color-primary-darker"],["d","M14.5668332,29.1332406 C8.67527117,29.1332406 3.36383033,25.5842492 1.10922733,20.1411555 C-1.14537566,14.6980619 0.100864684,8.43279022 4.26682842,4.26682704 C8.43279215,0.100863866 14.698064,-1.14537564 20.1411573,1.10922807 C25.5842507,3.36383179 29.1332406,8.67527311 29.1332406,14.5668351 C29.124133,22.607864 22.6078621,29.1241341 14.5668332,29.1332406 L14.5668332,29.1332406 Z M14.5668332,0.190838576 C6.62718953,0.190838576 0.190836635,6.62719147 0.190836635,14.5668351 C0.190836635,22.5064788 6.62718953,28.9428317 14.5668332,28.9428317 C22.5064768,28.9428317 28.9428297,22.5064788 28.9428297,14.5668351 C28.9338602,6.63090975 22.5027586,0.199808125 14.5668332,0.190838576 L14.5668332,0.190838576 Z","id","Shape"],["id","Rectangle","x","99.0215517","y","44.1428314","width","11.3798353","height","2.37787551",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","25.6293676","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","28.8564861","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","32.0836045","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","35.310721","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","85.2638409","y","38.5378394","width","38.8952588","height","1.01909033",1,"fill-color-15"],["id","Rectangle","x","119.403347","y","8.47469101","width","4.75575295","height","4.75575295",1,"fill-color-5"],["d","M126.367128,15.4384701 L120.592277,15.4384701 L120.592277,9.66361906 L126.367128,9.66361906 L126.367128,15.4384701 Z M120.843366,15.1873981 L126.116048,15.1873981 L126.116048,9.91470857 L120.843366,9.91470857 L120.843366,15.1873981 Z","id","Shape",1,"fill-color-19"],["d","M139.615294,74.5530572 L127.725913,74.5530572 L127.725913,73.6964356 C127.725915,73.6513884 127.708021,73.6081857 127.676168,73.5763323 C127.644315,73.544479 127.601113,73.5265862 127.556065,73.5265862 L123.479706,73.5265862 C123.434659,73.5265862 123.391457,73.5444797 123.359604,73.5763329 C123.327751,73.6081861 123.309857,73.6513886 123.309859,73.6964356 L123.309859,74.5530572 L120.762134,74.5530572 L120.762134,73.6964356 C120.762135,73.6513886 120.744241,73.6081861 120.712388,73.5763329 C120.680536,73.5444797 120.637333,73.5265862 120.592286,73.5265862 L116.515927,73.5265862 C116.47088,73.5265862 116.427677,73.5444789 116.395824,73.5763322 C116.36397,73.6081855 116.346076,73.6513882 116.346078,73.6964356 L116.346078,74.5530572 L113.798355,74.5530572 L113.798355,73.6964356 C113.798356,73.6513882 113.780462,73.6081855 113.748609,73.5763322 C113.716755,73.5444789 113.673553,73.5265862 113.628505,73.5265862 L109.552146,73.5265862 C109.507099,73.5265862 109.463897,73.5444797 109.432044,73.5763329 C109.400191,73.6081861 109.382297,73.6513886 109.382299,73.6964356 L109.382299,74.5530572 L106.834574,74.5530572 L106.834574,73.6964356 C106.834575,73.6513886 106.816681,73.6081861 106.784828,73.5763329 C106.752975,73.5444797 106.709773,73.5265862 106.664726,73.5265862 L102.588363,73.5265862 C102.543316,73.5265862 102.500113,73.544479 102.46826,73.5763323 C102.436407,73.6081857 102.418513,73.6513884 102.418516,73.6964356 L102.418516,74.5530572 L99.8707946,74.5530572 L99.8707946,73.6964356 C99.8707961,73.6513882 99.8529018,73.6081855 99.8210486,73.5763322 C99.7891953,73.5444789 99.7459925,73.5265862 99.7009452,73.5265862 L95.6245878,73.5265862 C95.5795404,73.5265862 95.5363377,73.5444789 95.5044844,73.5763322 C95.4726311,73.6081855 95.4547369,73.6513882 95.4547384,73.6964356 L95.4547384,74.5530572 L92.9070135,74.5530572 L92.9070135,73.6964356 C92.9070151,73.6513886 92.889121,73.6081861 92.8572682,73.5763329 C92.8254153,73.5444797 92.7822131,73.5265862 92.7371661,73.5265862 L88.6608067,73.5265862 C88.6157597,73.5265862 88.5725575,73.5444797 88.5407046,73.5763329 C88.5088518,73.6081861 88.4909577,73.6513886 88.4909593,73.6964356 L88.4909593,74.5530572 L85.9432383,74.5530572 L85.9432383,73.6964356 C85.9432399,73.6513886 85.9253458,73.6081861 85.893493,73.5763329 C85.8616401,73.5444797 85.8184379,73.5265862 85.7733909,73.5265862 L53.8419073,73.5265862 C53.7968603,73.5265862 53.7536581,73.5444797 53.7218052,73.5763329 C53.6899524,73.6081861 53.6720584,73.6513886 53.6720599,73.6964356 L53.6720599,74.5530572 L51.124335,74.5530572 L51.124335,73.6964356 C51.1243366,73.6513882 51.1064423,73.6081855 51.074589,73.5763322 C51.0427358,73.5444789 50.999533,73.5265862 50.9544857,73.5265862 L46.8781379,73.5265862 C46.8330906,73.5265862 46.7898879,73.5444789 46.7580346,73.5763322 C46.7261813,73.6081855 46.708287,73.6513882 46.7082886,73.6964356 L46.7082886,74.5530572 L44.160554,74.5530572 L44.160554,73.6964356 C44.1605561,73.6513884 44.1426622,73.6081857 44.1108092,73.5763323 C44.0789563,73.544479 44.0357537,73.5265862 43.9907066,73.5265862 L39.9143472,73.5265862 C39.8693002,73.5265862 39.8260979,73.5444797 39.7942451,73.5763329 C39.7623922,73.6081861 39.7444982,73.6513886 39.7444998,73.6964356 L39.7444998,74.5530572 L37.1967749,74.5530572 L37.1967749,73.6964356 C37.1967764,73.6513886 37.1788824,73.6081861 37.1470296,73.5763329 C37.1151767,73.5444797 37.0719745,73.5265862 37.0269275,73.5265862 L32.9505681,73.5265862 C32.9055208,73.5265862 32.862318,73.5444789 32.8304647,73.5763322 C32.7986115,73.6081855 32.7807172,73.6513882 32.7807187,73.6964356 L32.7807187,74.5530572 L30.2329958,74.5530572 L30.2329958,73.6964356 C30.2329973,73.6513882 30.215103,73.6081855 30.1832498,73.5763322 C30.1513965,73.5444789 30.1081938,73.5265862 30.0631464,73.5265862 L25.986787,73.5265862 C25.94174,73.5265862 25.8985378,73.5444797 25.866685,73.5763329 C25.8348321,73.6081861 25.8169381,73.6513886 25.8169396,73.6964356 L25.8169396,74.5530572 L23.2692109,74.5530572 L23.2692109,73.6964356 C23.2692124,73.6513886 23.2513184,73.6081861 23.2194655,73.5763329 C23.1876127,73.5444797 23.1444104,73.5265862 23.0993634,73.5265862 L19.0230079,73.5265862 C18.9779608,73.5265862 18.9347582,73.544479 18.9029053,73.5763323 C18.8710523,73.6081857 18.8531585,73.6513884 18.8531605,73.6964356 L18.8531605,74.5530572 L16.3054357,74.5530572 L16.3054357,73.6964356 C16.3054372,73.6513882 16.2875429,73.6081855 16.2556896,73.5763322 C16.2238364,73.5444789 16.1806336,73.5265862 16.1355863,73.5265862 L12.0592288,73.5265862 C12.0141815,73.5265862 11.9709788,73.5444789 11.9391255,73.5763322 C11.9072722,73.6081855 11.8893779,73.6513882 11.8893795,73.6964356 L11.8893795,74.5530572 L4.07635746,74.5530572 C1.82504753,74.5530594 0,76.3781067 0,78.6294166 L0,80.4726504 C0,82.7239563 1.82505163,84.5489982 4.07635746,84.5489982 L139.615294,84.5489982 C141.8666,84.5489982 143.691654,82.7239566 143.691654,80.4726504 L143.691654,78.6294166 C143.691654,76.3781064 141.866605,74.5530594 139.615294,74.5530572 Z","id","Path",1,"fill-color-20"],["id","Group","transform","translate(14.563343, 25.890388)"],["d","M34.1898756,18.6935074 C34.8335754,18.7760331 35.5015474,18.8284611 36.1180622,18.6284578 C36.2151512,18.5983603 36.321949,18.5313689 36.3122401,18.4342799 C36.3052976,18.3990002 36.2903506,18.3657846 36.2685501,18.337191 C36.0361522,17.9886397 35.8409087,17.6167008 35.6860164,17.2274642 C35.6798777,17.2071636 35.6672606,17.1894314 35.6500935,17.176978 C35.6300188,17.1697099 35.6080312,17.1697099 35.5879565,17.176978 C35.3034859,17.2517365 35.0578508,17.4352346 34.775322,17.5138766 C34.6312683,17.5533966 34.4809179,17.5646069 34.3325963,17.5468869 C34.2044389,17.5323235 34.0296788,17.4264966 33.9131721,17.440089 C33.9791925,17.8643678 34.1403602,18.2604907 34.1898756,18.6935074 Z","id","Path",1,"fill-color-primary-darker"],["d","M46.3638597,17.6187327 C46.7881384,17.3274658 47.2279514,17.0216356 47.4784409,16.5721138 C47.4963243,16.5452282 47.5067138,16.5140596 47.5085385,16.481821 C47.5042662,16.4500929 47.4918946,16.4199997 47.4726155,16.394441 C47.2340087,16.0151166 46.9268212,15.6835648 46.5667756,15.4167552 C46.3789189,15.549458 46.2091963,15.7061249 46.061913,15.8827822 C45.9551152,15.9954054 45.6599648,16.1740491 45.6570521,16.3458965 C45.6570521,16.4429855 45.7696753,16.5556086 45.8221033,16.6371634 C45.8929782,16.7420194 45.9599696,16.8488173 46.0240483,16.9575569 C46.0609421,17.0109558 46.3978408,17.5973731 46.3638597,17.6187327 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2730042,20.0320475 30.3444715,19.9740213 30.423795,19.9284789 L30.7548683,19.7148832 C30.9101158,19.6051008 31.0788103,19.515696 31.2568182,19.4488595 C31.3878883,19.4061404 31.5267255,19.3876935 31.6597374,19.3517706 C32.1247935,19.215846 32.4801391,18.846908 32.8102415,18.4925333 L33.2607343,18.011943 C33.3028503,17.9590638 33.3562578,17.9162715 33.4170475,17.8866982 C33.4795282,17.8658617 33.5459388,17.8595527 33.6112254,17.8682513 C34.0488232,17.8994947 34.4713668,18.041122 34.8394007,18.2799085 C34.9334629,18.3504651 35.0350556,18.4103788 35.1423182,18.4585522 C35.4064002,18.5614665 35.7452406,18.4837953 35.9889339,18.3536961 C36.1044698,18.2915592 36.0792267,18.2566071 36.1277711,18.1459257 C36.1763156,18.0352443 36.2947641,17.9643694 36.3976784,18.0653419 C36.4287289,18.1002598 36.4507324,18.1422664 36.4617571,18.187674 C36.5588461,18.5080675 36.5219523,18.8527333 36.5219523,19.1886611 C36.519104,19.2411857 36.5256803,19.2937961 36.5413701,19.3440034 C36.566144,19.3946232 36.5957307,19.4427421 36.629721,19.4876951 C36.6366398,19.4995928 36.642801,19.5119152 36.6481679,19.5245889 C36.7075588,19.673314 36.7298837,19.8342531 36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M36.7132175,19.9935285 C36.7207976,20.0935521 36.6933371,20.1930963 36.6355464,20.2750865 C36.5902231,20.3206727 36.5341172,20.3540691 36.4724369,20.3721755 C35.5724223,20.6945108 34.5306578,20.2925625 33.632585,20.6100434 C33.448116,20.675093 33.2733558,20.7692693 33.0879159,20.8314062 C32.8668382,20.8978733 32.6387504,20.9382775 32.4082933,20.9517965 C32.0908124,20.9818941 31.7713897,21.0013119 31.4529379,21.0100499 C31.2109788,21.0271812 30.9678332,21.0058814 30.7325379,20.9469421 C30.494578,20.8860354 30.29373,20.7268395 30.1801017,20.5090709 C30.1312849,20.4125511 30.1215484,20.3009295 30.1529168,20.1974154 C30.1669968,20.1619216 30.1870252,20.1290882 30.2121411,20.1003264 C30.2645691,20.2100369 30.3024338,20.3556704 30.3354441,20.4080984 C30.4256618,20.5652773 30.5791886,20.6760005 30.7568101,20.7119868 C30.8882242,20.7200556 31.0199808,20.7032567 31.1451659,20.6624715 C31.9607132,20.4605264 32.8277175,20.4576138 33.6112254,20.1517835 C33.8801618,20.0459566 34.1364767,19.9051776 34.4190055,19.8410989 C34.7015344,19.7770202 35.0015392,19.7944962 35.2928061,19.770224 C35.7530078,19.7333301 36.1986461,19.5944929 36.6520515,19.5216762 C36.7105975,19.6716231 36.7315958,19.83361 36.7132175,19.9935285 L36.7132175,19.9935285 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.3279723,20.332004 43.3179103,20.2563656 43.3356552,20.1847938 C43.3626747,20.1059564 43.4090817,20.0351774 43.4706088,19.9789652 C43.5770067,19.8683202 43.6912186,19.7654647 43.8123619,19.6711932 C43.9785829,19.5639234 44.1283649,19.4331094 44.2570293,19.2828374 C44.335968,19.1640934 44.3940832,19.0327597 44.4288768,18.8944816 C44.4976483,18.652227 44.5396476,18.4031617 44.5541216,18.1517511 C44.5535898,17.9846963 44.5708393,17.8180593 44.6055787,17.6546556 C44.6774245,17.3983408 44.8677189,17.1692108 44.8463593,16.904158 C44.8377185,16.866204 44.8411119,16.8265011 44.8560682,16.7905639 C44.8786704,16.7624825 44.9101823,16.7429588 44.94539,16.7352232 C45.0937604,16.6760869 45.2502282,16.6397523 45.4094752,16.6274545 C45.571226,16.6162976 45.7294484,16.6783037 45.8405502,16.7963893 C45.9065707,16.8760022 45.9502607,16.9905672 46.0473497,17.0216356 C46.0954598,17.0347655 46.1459295,17.0367577 46.1949249,17.027461 C46.4337637,17.0031887 46.686195,16.9730912 46.8745476,16.8187197 C47.0505482,16.6608586 47.152616,16.4366614 47.1561056,16.2002631 C47.1561056,16.1119121 47.1162991,16.0196776 47.2531945,16.0060852 C47.3561088,15.9924927 47.4376635,16.1031741 47.4900916,16.1711364 C47.679415,16.4245386 47.8735929,16.6895914 47.9444679,16.9983343 C47.9720312,16.9876362 48.0013112,16.9820434 48.030877,16.9818292 C48.1537854,16.9807475 48.2694521,17.0398499 48.3405908,17.1400842 C48.4179108,17.2653269 48.447872,17.4140998 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M48.4250582,17.5595084 C48.3823391,17.9012616 48.1658307,18.1954411 47.9279627,18.4449597 C47.6900948,18.6944783 47.4211584,18.9187538 47.2318349,19.2061371 C46.9988214,19.5624536 46.8939654,20.0042083 46.5910478,20.3051841 C46.4747693,20.4146353 46.3441148,20.5077266 46.202692,20.5818876 C46.0442646,20.6753601 45.8767312,20.752458 45.7026839,20.8119884 C45.2502494,20.956651 44.7628628,20.9236407 44.2900396,20.8886887 C44.1365309,20.8872131 43.9845596,20.8579372 43.8414886,20.8022795 C43.7763574,20.7691922 43.7140162,20.7308783 43.6550778,20.6877146 C43.5365551,20.6147292 43.4367964,20.5149704 43.363811,20.3964477 C43.4548211,20.3526902 43.5541213,20.3288581 43.6550778,20.3265437 C43.86479,20.3381943 44.0181905,20.5362558 44.2191647,20.5974219 C44.5055771,20.683831 44.7910186,20.481886 45.0813146,20.4129528 C45.270638,20.3682919 45.4696704,20.3799426 45.6570521,20.3158639 C45.8132081,20.2555144 45.9574928,20.168089 46.0832726,20.0576073 C46.2556706,19.9343474 46.4090818,19.786497 46.5386198,19.6187652 C46.646198,19.4510234 46.735696,19.2723528 46.8056144,19.0857468 C46.9589198,18.7281302 47.1393856,18.3827784 47.345429,18.0527203 C47.375905,18.0004629 47.4127576,17.9521958 47.4551395,17.9090287 C47.5007713,17.8672804 47.5522285,17.8381537 47.6036856,17.8012599 C47.7978635,17.6546556 47.8784474,17.4129041 47.9464096,17.1760071 C47.9648208,17.1040024 47.9905203,17.0340608 48.0231099,16.9672512 C48.1460183,16.9661841 48.2616849,17.0252865 48.3328237,17.1255208 C48.4163608,17.2537243 48.4492363,17.4084124 48.4250582,17.5595084 L48.4250582,17.5595084 Z","id","Path",1,"fill-color-primary-darker"],["d","M54.316416,4.55250111 L54.316416,3.34665629 C54.316416,1.49819202 52.8172532,0 50.9687888,0 L3.34762718,0 C1.49916283,0 0,1.49819202 0,3.34665629 L0,5.56999336 L54.316416,4.55250111 Z","id","Path",1,"fill-color-16"],["d","M55.6018738,5.73601547 L55.6018738,39.231705 C55.6018738,39.9999836 55.2966099,40.7367813 54.7532639,41.2799452 C54.2099179,41.8231092 53.4730179,42.1278687 52.7047393,42.1278687 L2.89810531,42.1278687 C1.29897753,42.1273325 0.00291266866,40.8308329 0.00291266866,39.231705 L0.00291266866,2.35926161 C1.43012031,2.88936731 1.43012031,2.88936731 2.89810531,2.84470639 L52.7047393,2.84470639 C54.3025103,2.84470316 55.5986611,4.13824772 55.6018738,5.73601547 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,6.16223599 L55.6018738,39.6579255 C55.6018738,41.2575895 54.3044034,42.5540891 52.7047393,42.5540891 L2.89810531,42.5540891 C1.29897753,42.553553 0.00291266866,41.2570534 0.00291266866,39.6579255 L0.00291266866,2.78451124 C1.43012031,3.31364604 1.43012031,3.31364604 2.89810531,3.26995601 L52.7047393,3.26995601 C54.3028886,3.26995377 55.5991959,4.56408894 55.6018738,6.16223599 Z","id","Path",1,"fill-color-19"],["d","M55.4601239,18.5459322 L55.4601239,29.2577567 L45.0716057,29.2577567 C42.141738,29.2183086 39.7873207,26.8319777 39.7873207,23.9018444 C39.7873207,20.9717112 42.141738,18.5853803 45.0716057,18.5459322 L55.4601239,18.5459322 Z","id","Path","opacity","0.1",1,"fill-color-27"],["d","M55.6018738,18.2604907 L55.6018738,28.9742569 L45.2133556,28.9742569 C42.2834879,28.9348088 39.9290706,26.5484779 39.9290706,23.6183447 C39.9290706,20.6882114 42.2834879,18.3018806 45.2133556,18.2624325 L55.6018738,18.2604907 Z","id","Path",1,"fill-color-17"],["id","Oval","opacity","0.1","cx","45.7114219","cy","23.9023299","r","2.08838343",1,"fill-color-27"],["id","Oval","cx","45.8531718","cy","23.6188301","r","2.08838343",1,"fill-color-28"],["d","M37.114137,56.485738 L37.114137,54.3663604 C37.5324015,54.3762985 37.9407279,54.3762985 38.3291472,54.3762985 L38.3291472,56.485738 L39.8628249,56.485738 L39.8628249,54.3364843 C42.4322258,54.1970423 44.1498818,53.5497076 44.378952,51.1296869 C44.5581774,49.1877136 43.6419275,48.3212469 42.1879398,47.9727034 C43.0643138,47.5245628 43.6220513,46.7278171 43.4925782,45.4032717 C43.3232292,43.5907407 41.8346742,42.9832201 39.8627941,42.8139637 L39.8627941,40.3042841 L38.3291164,40.3042841 L38.3291164,42.7442427 C37.9307281,42.7442427 37.5224017,42.7541808 37.1141061,42.7641498 L37.1141061,40.3042841 L35.5803975,40.3042841 L35.5803975,42.8139637 C35.0165182,42.8310005 34.3597701,42.8226673 32.5030732,42.8139637 L32.5030732,44.4472076 C33.7139786,44.4257882 34.3493073,44.3479809 34.4948913,45.1243875 L34.4948913,51.9961228 C34.4024546,52.6121309 33.9094382,52.5234287 32.8118025,52.5040154 L32.5030732,54.3265154 L33.46474,54.3269705 C35.3673259,54.328922 35.5804284,54.3364843 35.5804284,54.3364843 L35.5804284,56.485738 L37.114137,56.485738 Z M37.144013,47.6141601 L37.144013,44.5567428 C38.0104489,44.5567428 40.7192919,44.2878893 40.7192919,46.0904514 C40.7192919,47.8133542 38.0104798,47.6141601 37.144013,47.6141601 Z M37.144013,52.5139844 L37.144013,49.1478686 C38.1797362,49.1478686 41.3514108,48.8590464 41.3514108,50.8309574 C41.3514108,52.7330856 38.1797362,52.5139844 37.144013,52.5139844 Z","id","b","transform","translate(38.452166, 48.395011) rotate(14.000000) translate(-38.452166, -48.395011) ",1,"fill-color-30"]],template:function(Mt,Ht){if(1&Mt&&d.YNc(0,ve,1,0,"ng-container",0)(1,Ze,32,5,"ng-template",null,1,d.W1O)(3,We,51,5,"ng-template",null,2,d.W1O)(5,Ct,74,5,"ng-template",null,3,d.W1O)(7,ut,53,5,"ng-template",null,4,d.W1O)(9,It,66,5,"ng-template",null,5,d.W1O),2&Mt){const Dt=d.MAs(2),kt=d.MAs(4),Gt=d.MAs(6),oi=d.MAs(8),bi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Ht.stepNumber?Dt:2===Ht.stepNumber?kt:3===Ht.stepNumber?Gt:4===Ht.stepNumber?oi:bi)}},dependencies:[I.mk,I.tP,W.xw,W.Wh,W.yH,j.oO,X.$j,X.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Je.l]}})}return st})();const Be=["stepper"];function rt(st,si){if(1&st&&(d.TgZ(0,"div",48)(1,"p",49)(2,"strong"),d._uU(3,"Channel Peer:\xa0"),d.qZA(),d._uU(4),d.ALo(5,"titlecase"),d.qZA(),d.TgZ(6,"p",50)(7,"strong"),d._uU(8,"Channel ID:\xa0"),d.qZA(),d._uU(9),d.qZA(),d._UZ(10,"p",50),d.qZA()),2&st){const Ce=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,Ce.channel.remote_alias)),d.xp6(5),d.Oqu(Ce.channel.chan_id)}}function $e(st,si){if(1&st&&d._uU(0),2&st){const Ce=d.oxw(2);d.Oqu(Ce.inputFormLabel)}}function Ie(st,si){1&st&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function lt(st,si){if(1&st&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&st){const Ce=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,Ce.minQuote.amount),".")}}function Qe(st,si){if(1&st&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&st){const Ce=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,Ce.maxQuote.amount),".")}}function St(st,si){1&st&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function dt(st,si){1&st&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function te(st,si){1&st&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function Ue(st,si){1&st&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function Bt(st,si){if(1&st&&(d.TgZ(0,"mat-form-field",50)(1,"mat-label"),d._uU(2,"Max Off-chain Routing Fee (%)"),d.qZA(),d._UZ(3,"input",51),d.YNc(4,te,2,0,"mat-error",25)(5,Ue,2,0,"mat-error",25),d.qZA()),2&st){const Ce=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.routingFeePercent.errors?null:Ce.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.routingFeePercent.errors?null:Ce.inputFormGroup.controls.routingFeePercent.errors.min)}}function Ye(st,si){1&st&&(d.TgZ(0,"div",52)(1,"mat-slide-toggle",53),d._uU(2,"Fast"),d.qZA(),d.TgZ(3,"mat-icon",54),d._uU(4,"info_outline"),d.qZA()())}function je(st,si){if(1&st&&d._uU(0),2&st){const Ce=d.oxw(2);d.Oqu(Ce.quoteFormLabel)}}function Ft(st,si){1&st&&(d.TgZ(0,"p",55)(1,"mat-icon",56),d._uU(2,"close"),d.qZA(),d._uU(3,"Local balance amount is insufficient for swap."),d.qZA())}function xt(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function Ot(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onLoop())}),d._uU(1),d.qZA()}if(2&st){const Ce=d.oxw(2);d.xp6(1),d.hij("Initiate ",Ce.loopDirectionCaption,"")}}function yt(st,si){if(1&st&&d._uU(0),2&st){const Ce=d.oxw(3);d.Oqu(Ce.addressFormLabel)}}function at(st,si){1&st&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function Ee(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,yt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(Ht){d.CHM(Ce);const Dt=d.oxw(2);return d.KtG(Dt.onAddressTypeChange(Ht))}),d.TgZ(5,"mat-radio-button",61),d._uU(6,"Node Local Address"),d.qZA(),d.TgZ(7,"mat-radio-button",62),d._uU(8,"External Address"),d.qZA()(),d.TgZ(9,"mat-form-field",63)(10,"mat-label"),d._uU(11,"Address"),d.qZA(),d._UZ(12,"input",64),d.YNc(13,at,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onLoop())}),d._uU(16),d.qZA()()()()}if(2&st){const Ce=d.oxw(2);d.Q6J("stepControl",Ce.addressFormGroup)("editable",Ce.flgEditable),d.xp6(1),d.Q6J("formGroup",Ce.addressFormGroup),d.xp6(11),d.Q6J("required","external"===Ce.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==Ce.addressFormGroup.controls.address.errors?null:Ce.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",Ce.loopDirectionCaption,"")}}function nt(st,si){if(1&st&&d._uU(0),2&st){const Ce=d.oxw(2);d.hij("",Ce.loopDirectionCaption," Status")}}function Ge(st,si){if(1&st&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&st){const Ce=d.oxw(2);d.xp6(1),d.Oqu(Ce.loopStatus&&null!=Ce.loopStatus&&Ce.loopStatus.id_bytes?"check":"close")}}function Xe(st,si){1&st&&d._UZ(0,"div")}function gt(st,si){1&st&&d._UZ(0,"mat-progress-bar",67)}function Le(st,si){if(1&st&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&st){const Ce=d.oxw(2);d.xp6(1),d.Oqu(Ce.loopStatus&&Ce.loopStatus.error?Ce.loopDirectionCaption+" failed.":Ce.loopStatus&&Ce.loopStatus.id_bytes&&Ce.channel?Ce.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":Ce.loopDirectionCaption+" request placed successfully.")}}function be(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function $(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function ne(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),d._uU(5),d.qZA()(),d.TgZ(6,"div",8)(7,"button",9),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw();return d.KtG(Ht.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw();return d.KtG(Ht.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,rt,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(Ht){d.CHM(Ce);const Dt=d.oxw();return d.KtG(Dt.stepSelectionChanged(Ht))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,$e,1,1,"ng-template",18),d.TgZ(19,"div",19),d._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.qZA(),d.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d._uU(25,"Amount"),d.qZA(),d._UZ(26,"input",23),d.TgZ(27,"mat-hint"),d._uU(28),d.ALo(29,"number"),d.ALo(30,"number"),d.qZA(),d.TgZ(31,"span",24),d._uU(32,"Sats"),d.qZA(),d.YNc(33,Ie,2,0,"mat-error",25)(34,lt,3,3,"mat-error",25)(35,Qe,3,3,"mat-error",25),d.qZA(),d.TgZ(36,"mat-form-field",22)(37,"mat-label"),d._uU(38,"Sweep Confirmation Target"),d.qZA(),d._UZ(39,"input",26),d.YNc(40,St,2,0,"mat-error",25)(41,dt,2,0,"mat-error",25),d.qZA(),d.YNc(42,Bt,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,Ye,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw();return d.KtG(Ht.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,je,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,Ft,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,xt,2,0,"button",33)(54,Ot,2,1,"button",34),d.qZA()()(),d.YNc(55,Ee,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,nt,1,1,"ng-template",18),d.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d._uU(64),d.YNc(65,Ge,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,Xe,1,0,"div",41),d.qZA(),d.YNc(67,gt,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Le,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,be,2,0,"button",44)(71,$,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&st){const Ce=d.oxw(),Mt=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",Ce.screenSize===Ce.screenSizeEnum.XS||Ce.screenSize===Ce.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(Ce.channel?"Channel "+Ce.loopDirectionCaption:Ce.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",Ce.screenSize===Ce.screenSizeEnum.XS||Ce.screenSize===Ce.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",Ce.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",Ce.inputFormGroup)("editable",Ce.flgEditable),d.xp6(1),d.Q6J("formGroup",Ce.inputFormGroup),d.xp6(3),d.Q6J("quote",Ce.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",Ce.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,Ce.minQuote.amount),"-",d.lcZ(30,53,Ce.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.amount.errors?null:Ce.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.amount.errors?null:Ce.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.amount.errors?null:Ce.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.sweepConfTarget.errors?null:Ce.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==Ce.inputFormGroup.controls.sweepConfTarget.errors?null:Ce.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",Ce.quoteFormGroup)("editable",Ce.flgEditable),d.xp6(1),d.Q6J("formGroup",Ce.quoteFormGroup),d.xp6(2),d.Q6J("quote",Ce.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",Ce.inputFormGroup.controls.amount.value>Ce.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",Ce.statusFormGroup),d.xp6(1),d.Q6J("formGroup",Ce.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!Ce.loopStatus),d.xp6(4),d.Oqu(Ce.loopStatus?Ce.loopStatus.id_bytes?Ce.loopDirectionCaption+" request details":Ce.loopDirectionCaption+" error details":"Waiting for "+Ce.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",Ce.loopStatus),d.xp6(1),d.Q6J("ngIf",!Ce.loopStatus)("ngIfElse",Mt),d.xp6(1),d.Q6J("ngIf",!Ce.loopStatus),d.xp6(1),d.Q6J("ngIf",Ce.loopStatus),d.xp6(2),d.Q6J("ngIf",Ce.loopStatus&&Ce.loopStatus.id_bytes&&Ce.channel),d.xp6(1),d.Q6J("ngIf",Ce.loopStatus&&(Ce.loopStatus.error||!Ce.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function ke(st,si){if(1&st&&d._UZ(0,"rtl-loop-status",71),2&st){const Ce=d.oxw();d.Q6J("loopStatus",Ce.loopStatus)}}function Nt(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",87),d.NdJ("stepNumberChange",function(Ht){d.CHM(Ce);const Dt=d.oxw(2);return d.KtG(Dt.stepNumber=Ht)}),d.qZA()}if(2&st){const Ce=d.oxw(2);d.Q6J("animationDirection",Ce.animationDirection)("stepNumber",Ce.stepNumber)}}function At(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",87),d.NdJ("stepNumberChange",function(Ht){d.CHM(Ce);const Dt=d.oxw(2);return d.KtG(Dt.stepNumber=Ht)}),d.qZA()}if(2&st){const Ce=d.oxw(2);d.Q6J("animationDirection",Ce.animationDirection)("stepNumber",Ce.stepNumber)}}const Wt=(st,si)=>({"dot-primary":st,"dot-primary-lighter":si});function gi(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"span",88),d.NdJ("click",function(){const Dt=d.CHM(Ce).$implicit,kt=d.oxw(2);return d.KtG(kt.onStepChanged(Dt))}),d._UZ(1,"p",89),d.qZA()}if(2&st){const Ce=si.$implicit,Mt=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,Wt,Mt.stepNumber===Ce,Mt.stepNumber!==Ce))}}function ei(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",90),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function $t(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function Fi(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return Ht.flgShowInfo=!1,d.KtG(Ht.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function li(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return Ht.flgShowInfo=!1,d.KtG(Ht.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function ui(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onStepChanged(Ht.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function un(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw(2);return d.KtG(Ht.onStepChanged(Ht.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Ki=()=>[1,2,3,4,5];function Mi(st,si){if(1&st){const Ce=d.EpF();d.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d._UZ(4,"span",7),d.qZA(),d.TgZ(5,"div",75)(6,"button",10),d.NdJ("click",function(){d.CHM(Ce);const Ht=d.oxw();return Ht.flgShowInfo=!1,d.KtG(Ht.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",76),d.YNc(9,Nt,1,2,"rtl-loop-out-info-graphics",77)(10,At,1,2,"rtl-loop-in-info-graphics",77),d.qZA(),d.TgZ(11,"div",78),d.YNc(12,gi,2,4,"span",79),d.qZA(),d.TgZ(13,"div",80),d.YNc(14,ei,2,0,"button",81)(15,$t,2,0,"button",82)(16,Fi,2,0,"button",83)(17,li,2,0,"button",84)(18,ui,2,0,"button",85)(19,un,2,0,"button",86),d.qZA()()()}if(2&st){const Ce=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",Ce.direction===Ce.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Ki)),d.xp6(2),d.Q6J("ngIf",5===Ce.stepNumber),d.xp6(1),d.Q6J("ngIf",5===Ce.stepNumber),d.xp6(1),d.Q6J("ngIf",5===Ce.stepNumber),d.xp6(1),d.Q6J("ngIf",Ce.stepNumber<5),d.xp6(1),d.Q6J("ngIf",Ce.stepNumber>1&&Ce.stepNumber<5),d.xp6(1),d.Q6J("ngIf",Ce.stepNumber<5)}}let on=(()=>{class st{constructor(Ce,Mt,Ht,Dt,kt,Gt,oi,bi,yi){this.dialogRef=Ce,this.data=Mt,this.store=Ht,this.loopService=Dt,this.formBuilder=kt,this.decimalPipe=Gt,this.logger=oi,this.router=bi,this.commonService=yi,this.faInfoCircle=l.sqG,this.LoopTypeEnum=m.$I,this.direction=m.$I.LOOP_OUT,this.loopDirectionCaption="Loop out",this.loopStatus=null,this.inputFormLabel="Amount to loop out",this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address",this.prepayRoutingFee=36,this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=m.cu,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.channel=this.data.channel,this.minQuote=this.data.minQuote?this.data.minQuote:{},this.maxQuote=this.data.maxQuote?this.data.maxQuote:{},this.direction=this.data.direction||m.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===m.$I.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[e.kI.required,e.kI.min(this.minQuote.amount||0),e.kI.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[e.kI.required,e.kI.min(1)]],routingFeePercent:[2,[e.kI.required,e.kI.min(0)]],fast:[!1,[e.kI.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[e.kI.required]],address:[{value:"",disabled:!0}]}),this.direction===m.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,y.R)(this.unSubs[6])).subscribe(Ce=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Ce.lightningBalance&&Ce.lightningBalance.local?+Ce.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,y.R)(this.unSubs[4])).subscribe(Ce=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===m.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,y.R)(this.unSubs[5])).subscribe(Ce=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Ce){"external"===Ce.value?(this.addressFormGroup.controls.address.setValidators([e.kI.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===m.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===m.$I.LOOP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===m.$I.LOOP_IN)this.loopService.loopIn(this.inputFormGroup.controls.amount.value,+(this.quote.swap_fee_sat||0),+(this.quote.htlc_publish_fee_sat||0),"",!0).pipe((0,y.R)(this.unSubs[0])).subscribe({next:Ce=>{this.loopStatus=Ce,this.loopService.listSwaps(),this.flgEditable=!0},error:Ce=>{this.loopStatus={error:Ce},this.flgEditable=!0,this.logger.error(Ce)}});else{const Ce=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Mt="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Ht=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,Ce,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Ht,Mt).pipe((0,y.R)(this.unSubs[1])).subscribe({next:Dt=>{this.loopStatus=Dt,this.loopService.listSwaps(),this.flgEditable=!0},error:Dt=>{this.loopStatus={error:Dt},this.flgEditable=!0,this.logger.error(Dt)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.valuethis.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const Ce=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===m.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Ce).pipe((0,y.R)(this.unSubs[2])).subscribe(Mt=>{this.quote=Mt,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}):this.loopService.getLoopOutQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Ce).pipe((0,y.R)(this.unSubs[3])).subscribe(Mt=>{this.quote=Mt,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(Ce){switch(Ce.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===m.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Percentage: "+(this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:"2")+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel="Confirm Quote",this.addressFormLabel="Withdrawal Address";break;case 2:this.inputFormLabel=this.inputFormGroup.controls.amount.value||this.inputFormGroup.controls.sweepConfTarget.value?this.direction===m.$I.LOOP_IN?this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6):this.loopDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Target Confirmation: "+(this.inputFormGroup.controls.sweepConfTarget.value?this.inputFormGroup.controls.sweepConfTarget.value:6)+" | Fast: "+(this.inputFormGroup.controls.fast.value?"Enabled":"Disabled"):"Amount to "+this.loopDirectionCaption,this.quoteFormLabel=this.quote&&this.quote.swap_fee_sat&&(this.quote.htlc_sweep_fee_sat||this.quote.htlc_publish_fee_sat)&&this.quote.prepay_amt_sat?"Quote confirmed | Estimated Fees: "+this.decimalPipe.transform(+this.quote.swap_fee_sat+ +(this.quote.htlc_sweep_fee_sat?this.quote.htlc_sweep_fee_sat:this.quote.htlc_publish_fee_sat?this.quote.htlc_publish_fee_sat:0))+" Sats":"Quote confirmed",this.addressFormLabel=this.addressFormGroup.controls.addressType.value?"Withdrawal Address | Type: "+this.addressFormGroup.controls.addressType.value:"Withdrawal Address"}(this.direction===m.$I.LOOP_OUT&&1!==Ce.selectedIndex&&Ce.selectedIndex{Ce.next(null),Ce.complete()})}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(d.Y36(A.so),d.Y36(A.WI),d.Y36(E.yh),d.Y36(M.W),d.Y36(e.QS),d.Y36(I.JJ),d.Y36(k.mQ),d.Y36(z.F0),d.Y36(B.v))};static#t=this.\u0275cmp=d.Xpm({type:st,selectors:[["rtl-loop-modal"]],viewQuery:function(Mt,Ht){if(1&Mt&&d.Gf(Be,5),2&Mt){let Dt;d.iGM(Dt=d.CRH())&&(Ht.stepper=Dt.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["loopStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["class","padding-gap-large","fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngIf"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"quote","termCaption","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"fxFlex"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["matInput","","type","number","tabindex","2","formControlName","sweepConfTarget","required","",3,"step"],["fxFlex","30",4,"ngIf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","class","mt-1",4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","5","type","button",3,"click"],[3,"quote","showPanel"],["fxFlex","100","class","color-warn mt-2","fxLayoutAlign","start center",4,"ngIf"],["mat-button","","color","primary","tabindex","6","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","7","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","12","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",1,"padding-gap-large"],["fxFlex","40"],["fxFlex","30"],["matInput","","type","number","tabindex","3","formControlName","routingFeePercent","required","",3,"step"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center",1,"mt-1"],["tabindex","4","color","primary","formControlName","fast","fxFlex","none"],["matTooltip","Swap immediately (Might end up paying a higher on-chain fee)","matTooltipPosition","above","fxFlex","none",1,"info-icon"],["fxFlex","100","fxLayoutAlign","start center",1,"color-warn","mt-2"],[1,"mr-1","icon-small"],["mat-button","","color","primary","tabindex","6","type","button",3,"click"],["mat-button","","color","primary","tabindex","7","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","12","type","button",3,"click"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"loopStatus"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(Mt,Ht){1&Mt&&d.YNc(0,ne,75,55,"div",0)(1,ke,1,1,"ng-template",null,1,d.W1O)(3,Mi,20,11,"div",2),2&Mt&&(d.Q6J("ngIf",!Ht.flgShowInfo),d.xp6(3),d.Q6J("ngIf",Ht.flgShowInfo))},dependencies:[I.mk,I.sg,I.O5,e._Y,e.Fj,e.wV,e.JJ,e.JL,e.Q7,e.sg,e.u,W.xw,W.Wh,W.yH,j.oO,A.ZT,K.lW,X.dn,X.dk,ie.ib,ie.yz,ie.yK,se.Hw,ue.Nt,ae.KE,ae.hX,ae.bx,ae.TO,ae.R9,Me.pW,J.VQ,J.U0,he.Rr,S.gM,n.C0,n.VY,n.Vq,s.h,R,Ke,re,Ae,I.JJ,I.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[w._]}})}return st})()},4740:(Fe,q,p)=>{"use strict";p.d(q,{w:()=>P});var e=p(590),t=p(9212),y=p(4190),A=p(5597),l=p(3814),w=p(2296),m=p(5195);let P=(()=>{class d{constructor(M){this.router=M,this.faTimes=e.NBC}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(I){return new(I||d)(t.Y36(y.F0))};static#t=this.\u0275cmp=t.Xpm({type:d,selectors:[["rtl-not-found"]],decls:13,vars:1,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column",1,"padding-gap-large"],["fxLayout","column","fxLayoutAlign","start start"],[1,"box-text"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(I,k){1&I&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Page Not Found"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),t._uU(9,"This page does not exist!"),t.qZA(),t.TgZ(10,"span",7)(11,"button",8),t.NdJ("click",function(){return k.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()()),2&I&&(t.xp6(1),t.Q6J("icon",k.faTimes))},dependencies:[A.BN,l.xw,l.Wh,l.yH,w.lW,m.a8,m.dn],encapsulation:2})}return d})()},6985:(Fe,q,p)=>{"use strict";p.d(q,{h:()=>t});var e=p(9212);let t=(()=>{class y{constructor(l){this.el=l}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=this.\u0275fac=function(w){return new(w||y)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})}return y})()},7313:(Fe,q,p)=>{"use strict";p.d(q,{y:()=>t});var e=p(9212);let t=(()=>{class y{constructor(){this.copied=new e.vpe}onClick(l){l.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},w=>{this.copied.emit("Error could not copy text: "+JSON.stringify(w))})}static#e=this.\u0275fac=function(w){return new(w||y)};static#t=this.\u0275dir=e.lG2({type:y,selectors:[["","rtlClipboard",""]],hostBindings:function(w,m){1&w&&e.NdJ("click",function(d){return m.onClick(d)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})}return y})()},3362:(Fe,q,p)=>{"use strict";p.d(q,{F:()=>y});var e=p(6223),t=p(9212);let y=(()=>{class A{validate(w){return this.max?e.kI.max(+this.max)(w):null}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275dir=t.lG2({type:A,selectors:[["input","max",""]],inputs:{max:"max"},features:[t._Bn([{provide:e.Cf,useExisting:A,multi:!0}])]})}return A})()},6082:(Fe,q,p)=>{"use strict";p.d(q,{q:()=>y});var e=p(6223),t=p(9212);let y=(()=>{class A{validate(w){return this.min?e.kI.min(+this.min)(w):null}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275dir=t.lG2({type:A,selectors:[["input","min",""]],inputs:{min:"min"},features:[t._Bn([{provide:e.Cf,useExisting:A,multi:!0}])]})}return A})()},2995:(Fe,q,p)=>{"use strict";p.d(q,{D3:()=>l,al:()=>t,h9:()=>y,i1:()=>A});var e=p(9212);let t=(()=>{class w{transform(P,d){return P?.replace(/^[0]+/g,"")}static#e=this.\u0275fac=function(d){return new(d||w)};static#t=this.\u0275pipe=e.Yjl({name:"removeleadingzeros",type:w,pure:!0})}return w})(),y=(()=>{class w{transform(P,d){return P?.replace(/(?:^\w|[A-Z]|\b\w)/g,(E,M)=>E.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=this.\u0275fac=function(d){return new(d||w)};static#t=this.\u0275pipe=e.Yjl({name:"camelcase",type:w,pure:!0})}return w})(),A=(()=>{class w{transform(P,d,E){return P.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,I)=>" "+M.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||w)};static#t=this.\u0275pipe=e.Yjl({name:"camelCaseWithSpaces",type:w,pure:!0})}return w})(),l=(()=>{class w{transform(P,d,E){return P=P?P.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(P=P.replace(new RegExp(d,"g")," ")),E&&(P=P.replace(new RegExp(E,"g")," ")),P.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,I)=>M.toUpperCase())}static#e=this.\u0275fac=function(d){return new(d||w)};static#t=this.\u0275pipe=e.Yjl({name:"camelcaseWithReplace",type:w,pure:!0})}return w})()},5525:(Fe,q,p)=>{"use strict";p.d(q,{QM:()=>w,a1:()=>l,eQ:()=>m,fY:()=>P});var e=p(9212),t=p(4190),y=p(5813),A=p(7398);function l(){return()=>{const d=(0,e.f3M)(t.F0),E=(0,e.f3M)(t.gz),M=(0,e.f3M)(y.m);return!(!M.getItem("token")||E.snapshot.url&&E.snapshot.url.length&&"settings"!==E.snapshot.url[0].path&&"auth"!==E.snapshot.url[0].path&&"true"===M.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function w(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.lndUnlocked))}function m(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.clnUnlocked))}function P(){return()=>!!(0,e.f3M)(y.m).watchSession().pipe((0,A.U)(E=>E.eclUnlocked))}},6339:(Fe,q,p)=>{"use strict";p.d(q,{v:()=>I});var e=p(5619),t=p(2096),y=p(8504),A=p(8180),l=p(7398),w=p(6306),m=p(2154),P=p(9212),d=p(6046),E=p(5980),M=p(6814);let I=(()=>{class k{constructor(B,W,j){this.dataService=B,this.logger=W,this.datePipe=j,this.currencyUnits=[],this.CurrencyUnitEnum=m.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=m.Bn.UN_INITIATED,this.screenSize=m.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new e.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(B){this.screenSize=B}getContainerSize(){return this.containerSize}setContainerSize(B,W){this.containerSize={width:B,height:W},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(B,W,j,K="asc"){return B.sort("number"===j?"desc"===K?(X,ie)=>+X[W]>+ie[W]?-1:1:(X,ie)=>+X[W]>+ie[W]?1:-1:"desc"===K?(X,ie)=>X[W]>ie[W]?-1:1:(X,ie)=>X[W]>ie[W]?1:-1)}sortDescByKey(B,W){return B.sort((j,K)=>{const X=+j[W],ie=+K[W];return X>ie?-1:X{const X=+j[W],ie=+K[W];return Xie?1:0})}camelCase(B){return B?.replace(/(?:^\w|[A-Z]|\b\w)/g,(W,j)=>W.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(B,W,j){return W&&j&&""!==W&&""!==j&&(B=B?.replace(new RegExp(W,"g"),j)),B.indexOf("!\n")>0||B.indexOf(".\n")>0?B.split("\n")?.reduce((K,X)=>K+X.charAt(0).toUpperCase()+X.substring(1).toLowerCase()+"\n",""):B.indexOf(" ")>0?B.split(" ")?.reduce((K,X)=>K+X.charAt(0).toUpperCase()+X.substring(1).toLowerCase()+" ",""):B.charAt(0).toUpperCase()+B.substring(1).toLowerCase()}convertCurrency(B,W,j,K,X){const ie=(new Date).valueOf();return X&&K&&this.ratesAPIStatus!==m.Bn.INITIATED&&(W===m.NT.OTHER||j===m.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&ie(this.ratesAPIStatus=m.Bn.COMPLETED,this.conversionData.data=se&&"object"==typeof se?se:se&&"string"==typeof se?JSON.parse(se):{},this.conversionData.last_fetched=ie,this.convertWithFiat(B,W,K))),(0,w.K)(se=>(this.ratesAPIStatus=m.Bn.ERROR,(0,y._)(()=>this.extractErrorMessage(se,"Currency Conversion Error.")))))):(0,t.of)(this.convertWithoutFiat(B,W))}convertWithoutFiat(B,W){const j={};switch(j[m.NT.SATS]=0,j[m.NT.BTC]=0,W){case m.NT.SATS:j[m.NT.SATS]=B,j[m.NT.BTC]=1e-8*B;break;case m.NT.BTC:j[m.NT.SATS]=1e8*B,j[m.NT.BTC]=B}return j}convertWithFiat(B,W,j){const K={unit:j,symbol:this.conversionData.data[j].symbol};switch(K[m.NT.SATS]=0,K[m.NT.BTC]=0,K[m.NT.OTHER]=0,W){case m.NT.SATS:K[m.NT.SATS]=B,K[m.NT.BTC]=1e-8*B,K[m.NT.OTHER]=1e-8*B*this.conversionData.data[j].last;break;case m.NT.BTC:K[m.NT.SATS]=1e8*B,K[m.NT.BTC]=B,K[m.NT.OTHER]=B*this.conversionData.data[j].last;break;case m.NT.OTHER:K[m.NT.SATS]=B/this.conversionData.data[j].last*1e8,K[m.NT.BTC]=B/this.conversionData.data[j].last,K[m.NT.OTHER]=B}return K}convertTime(B,W,j){switch(W){case m.Qk.SECS:switch(j){case m.Qk.MINS:B/=60;break;case m.Qk.HOURS:B/=m.k_;break;case m.Qk.DAYS:B/=24*m.k_}break;case m.Qk.MINS:switch(j){case m.Qk.SECS:B*=60;break;case m.Qk.HOURS:B/=60;break;case m.Qk.DAYS:B/=1440}break;case m.Qk.HOURS:switch(j){case m.Qk.SECS:B*=m.k_;break;case m.Qk.MINS:B*=60;break;case m.Qk.DAYS:B/=24}break;case m.Qk.DAYS:switch(j){case m.Qk.SECS:B=B*m.k_*24;break;case m.Qk.MINS:B=60*B*24;break;case m.Qk.HOURS:B*=24}}return B}downloadFile(B,W,j=".json",K=".csv"){let X=new Blob;X=".json"===j?new Blob(["\ufeff"+this.convertToCSV(B)],{type:"text/csv;charset=utf-8;"}):new Blob([B.toString()],{type:"text/plain;charset=utf-8"});const ie=document.createElement("a"),se=URL.createObjectURL(X);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&ie.setAttribute("target","_blank"),ie.setAttribute("href",se),ie.setAttribute("download",W+K),ie.style.visibility="hidden",document.body.appendChild(ie),ie.click(),document.body.removeChild(ie)}convertToCSV(B){const W=[];let j="",K="",X="";return"object"!=typeof B&&(B=JSON.parse(B)),B.forEach((se,ue)=>{for(const ae in se)W.findIndex(Me=>Me===ae)<0&&W.push(ae)}),X=W.join(",")+"\r\n",B.forEach(se=>{j="",W.forEach(ue=>{if(se.hasOwnProperty(ue))if(Array.isArray(se[ue]))K="",se[ue].forEach((ae,Me)=>{K+="object"==typeof ae?"("+JSON.stringify(ae)?.replace(/\,/g,";")+")":"("+ae+")"}),j+=K+",";else if("object"==typeof se[ue])j+=JSON.stringify(se[ue])?.replace(/\,/g,";")+",";else if(ue.includes("timestamp")||ue.includes("date"))try{switch(se[ue].toString().length){case 10:j+=this.datePipe.transform(new Date(1e3*se[ue]),"dd/MMM/y HH:mm")+",";break;case 13:j+=this.datePipe.transform(new Date(se[ue]),"dd/MMM/y HH:mm")+",";break;default:j+=se[ue]+","}}catch{j+=se[ue]+","}else j+=se[ue]+",";else j+=","}),X+=j.slice(0,-1)+"\r\n"}),X}isVersionCompatible(B,W){if(B){const j=B.match(/v?(?\d+(?:\.\d+)*)/);if(j&&j.groups&&j.groups.version){this.logger.info("Current Version: "+j.groups.version),this.logger.info("Checking Compatiblility with Version: "+W);const K=j.groups.version.split(".")||[],X=W.split(".");return+K[0]>+X[0]||+K[0]==+X[0]&&+K[1]>+X[1]||+K[0]==+X[0]&&+K[1]==+X[1]&&+K[2]>=+X[2]}return this.logger.error("Invalid Version String: "+B),!1}return!1}extractErrorMessage(B,W="Unknown Error."){const j=this.titleCase(B.error&&B.error.text&&"string"==typeof B.error.text&&B.error.text.includes('')?"API Route Does Not Exist.":B.error&&B.error.error&&B.error.error.error&&B.error.error.error.error&&B.error.error.error.error.error&&"string"==typeof B.error.error.error.error.error?B.error.error.error.error.error:B.error&&B.error.error&&B.error.error.error&&B.error.error.error.error&&"string"==typeof B.error.error.error.error?B.error.error.error.error:B.error&&B.error.error&&B.error.error.error&&"string"==typeof B.error.error.error?B.error.error.error:B.error&&B.error.error&&"string"==typeof B.error.error?B.error.error:B.error&&"string"==typeof B.error?B.error:B.error&&B.error.error&&B.error.error.error&&B.error.error.error.error&&B.error.error.error.error.message&&"string"==typeof B.error.error.error.error.message?B.error.error.error.error.message:B.error&&B.error.error&&B.error.error.error&&B.error.error.error.message&&"string"==typeof B.error.error.error.message?B.error.error.error.message:B.error&&B.error.error&&B.error.error.message&&"string"==typeof B.error.error.message?B.error.error.message:B.error&&B.error.message&&"string"==typeof B.error.message?B.error.message:B.message&&"string"==typeof B.message?B.message:W);return this.logger.info("Error Message: "+j),j}extractErrorCode(B,W=500){const j=B.error&&B.error.error&&B.error.error.message&&B.error.error.message.code?B.error.error.message.code:B.error&&B.error.error&&B.error.error.code?B.error.error.code:B.error&&B.error.code?B.error.code:B.code?B.code:B.status?B.status:W;return this.logger.info("Error Code: "+j),j}extractErrorNumber(B,W=500){const j=B.error&&B.error.error&&B.error.error.errno?B.error.error.errno:B.error&&B.error.errno?B.error.errno:B.errno?B.errno:B.status?B.status:W;return this.logger.info("Error Number: "+j),j}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=this.\u0275fac=function(W){return new(W||k)(P.LFG(d.D),P.LFG(E.mQ),P.LFG(M.uU))};static#t=this.\u0275prov=P.Yz7({token:k,factory:k.\u0275fac})}return k})()},2154:(Fe,q,p)=>{"use strict";p.d(q,{$I:()=>g,$Y:()=>l,$v:()=>se,AB:()=>pe,At:()=>Ie,Bn:()=>Je,Df:()=>re,Dr:()=>j,Er:()=>M,Fq:()=>r,Gi:()=>f,HW:()=>C,H_:()=>ve,IV:()=>z,IX:()=>fe,JX:()=>ct,LO:()=>I,NT:()=>s,OJ:()=>he,OO:()=>We,Pi:()=>Be,Qk:()=>S,Qw:()=>R,T5:()=>m,TJ:()=>B,Vc:()=>K,Xk:()=>dt,Xr:()=>de,Xz:()=>E,Zs:()=>v,_t:()=>W,c3:()=>St,cu:()=>h,g8:()=>ae,gB:()=>Ze,gG:()=>$e,gK:()=>lt,gg:()=>ee,hG:()=>Qe,hZ:()=>ce,hc:()=>H,kO:()=>Ke,k_:()=>A,lr:()=>qe,m6:()=>ye,nM:()=>ue,n_:()=>J,ol:()=>Me,op:()=>De,p7:()=>O,pg:()=>xe,pt:()=>y,q4:()=>w,uA:()=>d,uR:()=>le,vn:()=>X,vv:()=>P,wZ:()=>ie,x$:()=>D,zZ:()=>rt});var e=p(9212),t=p(1476);function y(te){const Ue=new t.ye;return Ue.itemsPerPageLabel=te+" per page:",Ue}const A=3600,l=24*A*7,w="0.15.0-beta",m=(0,e.X6Q)()?"http://localhost:3000/rtl/api":"./api",P={AUTHENTICATE_API:m+"/authenticate",CONF_API:m+"/conf",PAGE_SETTINGS_API:m+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},d=["Sats","BTC"],E={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},M=[{id:"USD",name:"USD"},{id:"AUD",name:"AUD"},{id:"BRL",name:"BRL"},{id:"CAD",name:"CAD"},{id:"CHF",name:"CHF"},{id:"CLP",name:"CLP"},{id:"CNY",name:"CNY"},{id:"DKK",name:"DKK"},{id:"EUR",name:"EUR"},{id:"GBP",name:"GBP"},{id:"HKD",name:"HKD"},{id:"INR",name:"INR"},{id:"ISK",name:"ISK"},{id:"JPY",name:"JPY"},{id:"KRW",name:"KRW"},{id:"NZD",name:"NZD"},{id:"PLN",name:"PLN"},{id:"RUB",name:"RUB"},{id:"SEK",name:"SEK"},{id:"SGD",name:"SGD"},{id:"THB",name:"THB"},{id:"TWD",name:"TWD"}],I=["SECS","MINS","HOURS","DAYS"],z=10,B=[5,10,25,100],W=[{addressId:"0",addressCode:"bech32",addressTp:"Bech32 (P2WKH)",addressDetails:"Pay to witness key hash"},{addressId:"1",addressCode:"p2sh-segwit",addressTp:"P2SH (NP2WKH)",addressDetails:"Pay to nested witness key hash (default)"},{addressId:"4",addressCode:"p2tr",addressTp:"Taproot (P2TR)",addressDetails:"Pay to taproot pubkey"}],j=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],K=[{id:"none",name:"No Fee Limit",placeholder:"No Limit"},{id:"fixed",name:"Fixed Limit (Sats)",placeholder:"Fixed Limit in Sats"},{id:"percent",name:"Percentage of Payment Amount",placeholder:"Percentage Limit"}],X=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],ie={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var se=function(te){return te.PAYMENT_RECEIVED="payment-received",te.PAYMENT_RELAYED="payment-relayed",te.PAYMENT_SENT="payment-sent",te.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",te.PAYMENT_FAILED="payment-failed",te.CHANNEL_OPENED="channel-opened",te.CHANNEL_STATE_CHANGED="channel-state-changed",te.CHANNEL_CLOSED="channel-closed",te}(se||{}),ue=function(te){return te.CONNECT="connect",te.DISCONNECT="disconnect",te.WARNING="warning",te.INVOICE_PAYMENT="invoice_payment",te.INVOICE_CREATION="invoice_creation",te.CHANNEL_OPENED="channel_opened",te.CHANNEL_STATE_CHANGED="channel_state_changed",te.SENDPAY_SUCCESS="sendpay_success",te.SENDPAY_FAILURE="sendpay_failure",te.COIN_MOVEMENT="coin_movement",te.BALANCE_SNAPSHOT="balance_snapshot",te.BLOCK_ADDED="block_added",te.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",te.CHANNEL_OPEN_FAILED="channel_open_failed",te}(ue||{}),ae=function(te){return te.INVOICE="invoice",te}(ae||{}),Me=function(te){return te.OPERATOR="OPERATOR",te.MERCHANT="MERCHANT",te.ALL="ALL",te}(Me||{}),J=function(te){return te.INFORMATION="Information",te.WARNING="Warning",te.ERROR="Error",te.SUCCESS="Success",te.CONFIRM="Confirm",te}(J||{}),he=function(te){return te.JWT="JWT",te.PASSWORD="PASSWORD",te}(he||{}),S=function(te){return te.SECS="SECS",te.MINS="MINS",te.HOURS="HOURS",te.DAYS="DAYS",te}(S||{}),s=function(te){return te.SATS="Sats",te.BTC="BTC",te.OTHER="OTHER",te}(s||{}),f=function(te){return te.ARRAY="ARRAY",te.NUMBER="NUMBER",te.STRING="STRING",te.BOOLEAN="BOOLEAN",te.PASSWORD="PASSWORD",te.DATE="DATE",te.DATE_TIME="DATE_TIME",te}(f||{}),h=function(te){return te.XS="XS",te.SM="SM",te.MD="MD",te.LG="LG",te.XL="XL",te}(h||{});const C={COOPERATIVE_CLOSE:{name:"Co-operative Close",tooltip:"Channel closed cooperatively"},LOCAL_FORCE_CLOSE:{name:"Local Force Close",tooltip:"Channel force-closed by the local node"},REMOTE_FORCE_CLOSE:{name:"Remote Force Close",tooltip:"Channel force-closed by the remote node"},BREACH_CLOSE:{name:"Breach Close",tooltip:"Remote node attempted to broadcast a prior revoked channel state"},FUNDING_CANCELED:{name:"Funding Canceled",tooltip:"Channel never fully opened"},ABANDONED:{name:"Abandoned",tooltip:"Channel abandoned by the local node"}},D={WITNESS_PUBKEY_HASH:{name:"Witness Pubkey Hash",tooltip:""},NESTED_PUBKEY_HASH:{name:"Nested Pubkey Hash",tooltip:""},UNUSED_WITNESS_PUBKEY_HASH:{name:"Unused Witness Pubkey Hash",tooltip:""},UNUSED_NESTED_PUBKEY_HASH:{name:"Unused Nested Pubkey Hash",tooltip:""},TAPROOT_PUBKEY:{name:"Taproot Pubkey Hash",tooltip:""}};var O=function(te){return te.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",te.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",te.WIRE_INVALID_ONION_KEY="Invalid Onion Key",te.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",te.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",te.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",te.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",te.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",te.WIRE_FEE_INSUFFICIENT="Insufficient Fee",te.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",te.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",te.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",te.WIRE_CHANNEL_DISABLED="Channel Disabled",te.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",te.WIRE_INVALID_REALM="Invalid Realm",te.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",te.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",te.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",te.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",te.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",te.WIRE_MPP_TIMEOUT="MPP Timeout",te.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",te.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",te}(O||{}),v=function(te){return te.CHANNELD_NORMAL="Active",te.OPENINGD="Opening",te.CHANNELD_AWAITING_LOCKIN="Pending Open",te.CHANNELD_SHUTTING_DOWN="Shutting Down",te.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",te.CLOSINGD_COMPLETE="Closed",te.AWAITING_UNILATERAL="Awaiting Unilateral Close",te.FUNDING_SPEND_SEEN="Funding Spend Seen",te.ONCHAIN="Onchain",te.DUALOPEND_OPEN_INIT="Dual Open Initialized",te.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",te}(v||{}),r=function(te){return te.INITIATED="Initiated",te.PREIMAGE_REVEALED="Preimage Revealed",te.HTLC_PUBLISHED="HTLC Published",te.SUCCESS="Successful",te.FAILED="Failed",te.INVOICE_SETTLED="Invoice Settled",te}(r||{}),g=function(te){return te.LOOP_OUT="LOOP_OUT",te.LOOP_IN="LOOP_IN",te}(g||{}),H=function(te){return te.SWAP_OUT="SWAP_OUT",te.SWAP_IN="SWAP_IN",te}(H||{}),R=function(te){return te["swap.created"]="Swap Created",te["swap.expired"]="Swap Expired",te["invoice.set"]="Invoice Set",te["invoice.paid"]="Invoice Paid",te["invoice.pending"]="Invoice Pending",te["invoice.settled"]="Invoice Settled",te["invoice.failedToPay"]="Invoice Failed To Pay",te["channel.created"]="Channel Created",te["transaction.failed"]="Transaction Failed",te["transaction.mempool"]="Transaction Mempool",te["transaction.claimed"]="Transaction Claimed",te["transaction.refunded"]="Transaction Refunded",te["transaction.confirmed"]="Transaction Confirmed",te["swap.refunded"]="Swap Refunded",te["swap.abandoned"]="Swap Abandoned",te}(R||{});const ee=[{name:"Jan",days:31},{name:"Feb",days:28},{name:"Mar",days:31},{name:"Apr",days:30},{name:"May",days:31},{name:"Jun",days:30},{name:"Jul",days:31},{name:"Aug",days:31},{name:"Sep",days:30},{name:"Oct",days:31},{name:"Nov",days:30},{name:"Dec",days:31}],De=["MONTHLY","YEARLY"];var ct=function(te){return te.LOOP="LOOP",te.BOLTZ="BOLTZ",te.OFFERS="OFFERS",te.PEERSWAP="PEERSWAP",te}(ct||{});const Ke=["password","changeme","moneyprintergobrrr"];var Je=function(te){return te.UN_INITIATED="UN_INITIATED",te.INITIATED="INITIATED",te.COMPLETED="COMPLETED",te.ERROR="ERROR",te}(Je||{});const ye={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_UI_SETTINGS:"Updating Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var fe=function(te){return te.INVOICE="INVOICE",te.OFFER="OFFER",te.KEYSEND="KEYSEND",te}(fe||{}),de=function(te){return te.FEES="FEES",te.EVENTS="EVENTS",te}(de||{}),xe=function(te){return te.VOID="VOID",te.SET_API_URL_ECL="SET_API_URL_ECL",te.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",te.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",te.RESET_ROOT_STORE="RESET_ROOT_STORE",te.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",te.OPEN_SNACK_BAR="OPEN_SNACKBAR",te.OPEN_SPINNER="OPEN_SPINNER",te.CLOSE_SPINNER="CLOSE_SPINNER",te.OPEN_ALERT="OPEN_ALERT",te.CLOSE_ALERT="CLOSE_ALERT",te.OPEN_CONFIRMATION="OPEN_CONFIRMATION",te.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",te.SHOW_PUBKEY="SHOW_PUBKEY",te.FETCH_CONFIG="FETCH_CONFIG",te.SHOW_CONFIG="SHOW_CONFIG",te.FETCH_STORE="FETCH_STORE",te.SET_STORE="SET_STORE",te.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",te.SET_RTL_CONFIG="SET_RTL_CONFIG",te.SAVE_SSO="SAVE_SSO",te.SAVE_SETTINGS="SAVE_SETTINGS",te.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",te.SET_SELECTED_NODE="SET_SELECTED_NODE",te.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",te.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",te.SET_NODE_DATA="SET_NODE_DATA",te.IS_AUTHORIZED="IS_AUTHORIZED",te.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",te.LOGIN="LOGIN",te.VERIFY_TWO_FA="VERIFY_TWO_FA",te.LOGOUT="LOGOUT",te.RESET_PASSWORD="RESET_PASSWORD",te.RESET_PASSWORD_RES="RESET_PASSWORD_RES",te.FETCH_FILE="FETCH_FILE",te.SHOW_FILE="SHOW_FILE",te}(xe||{}),le=function(te){return te.RESET_LND_STORE="RESET_LND_STORE",te.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",te.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",te.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",te.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",te.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",te.FETCH_INFO_LND="FETCH_INFO_LND",te.SET_INFO_LND="SET_INFO_LND",te.FETCH_PEERS_LND="FETCH_PEERS_LND",te.SET_PEERS_LND="SET_PEERS_LND",te.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",te.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",te.DETACH_PEER_LND="DETACH_PEER_LND",te.REMOVE_PEER_LND="REMOVE_PEER_LND",te.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",te.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",te.ADD_INVOICE_LND="ADD_INVOICE_LND",te.FETCH_FEES_LND="FETCH_FEES_LND",te.SET_FEES_LND="SET_FEES_LND",te.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",te.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",te.FETCH_NETWORK_LND="FETCH_NETWORK_LND",te.SET_NETWORK_LND="SET_NETWORK_LND",te.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",te.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",te.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",te.SET_CHANNELS_LND="SET_CHANNELS_LND",te.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",te.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",te.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",te.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",te.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",te.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",te.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",te.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",te.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",te.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",te.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",te.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",te.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",te.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",te.FETCH_INVOICES_LND="FETCH_INVOICES_LND",te.SET_INVOICES_LND="SET_INVOICES_LND",te.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",te.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",te.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",te.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",te.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",te.FETCH_UTXOS_LND="FETCH_UTXOS_LND",te.SET_UTXOS_LND="SET_UTXOS_LND",te.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",te.SET_PAYMENTS_LND="SET_PAYMENTS_LND",te.SEND_PAYMENT_LND="SEND_PAYMENT_LND",te.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",te.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",te.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",te.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",te.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",te.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",te.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",te.GEN_SEED_LND="GEN_SEED_LND",te.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",te.INIT_WALLET_LND="INIT_WALLET_LND",te.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",te.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",te.PEER_LOOKUP_LND="PEER_LOOKUP_LND",te.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",te.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",te.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",te.SET_LOOKUP_LND="SET_LOOKUP_LND",te.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",te.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",te.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",te.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",te.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",te.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",te}(le||{}),pe=function(te){return te.RESET_CLN_STORE="RESET_CLN_STORE",te.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",te.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",te.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",te.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",te.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",te.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",te.SET_INFO_CLN="SET_INFO_CLN",te.FETCH_FEES_CLN="FETCH_FEES_CLN",te.SET_FEES_CLN="SET_FEES_CLN",te.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",te.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",te.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",te.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",te.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",te.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",te.FETCH_PEERS_CLN="FETCH_PEERS_CLN",te.SET_PEERS_CLN="SET_PEERS_CLN",te.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",te.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",te.ADD_PEER_CLN="ADD_PEER_CLN",te.DETACH_PEER_CLN="DETACH_PEER_CLN",te.REMOVE_PEER_CLN="REMOVE_PEER_CLN",te.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",te.SET_CHANNELS_CLN="SET_CHANNELS_CLN",te.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",te.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",te.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",te.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",te.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",te.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",te.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",te.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",te.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",te.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",te.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",te.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",te.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",te.SET_LOOKUP_CLN="SET_LOOKUP_CLN",te.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",te.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",te.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",te.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",te.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",te.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",te.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",te.SET_INVOICES_CLN="SET_INVOICES_CLN",te.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",te.ADD_INVOICE_CLN="ADD_INVOICE_CLN",te.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",te.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",te.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",te.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",te.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",te.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",te.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",te.SET_OFFERS_CLN="SET_OFFERS_CLN",te.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",te.ADD_OFFER_CLN="ADD_OFFER_CLN",te.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",te.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",te.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",te.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",te.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",te.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",te.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",te}(pe||{}),qe=function(te){return te.RESET_ECL_STORE="RESET_ECL_STORE",te.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",te.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",te.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",te.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",te.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",te.FETCH_INFO_ECL="FETCH_INFO_ECL",te.SET_INFO_ECL="SET_INFO_ECL",te.FETCH_FEES_ECL="FETCH_FEES_ECL",te.SET_FEES_ECL="SET_FEES_ECL",te.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",te.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",te.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",te.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",te.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",te.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",te.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",te.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",te.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",te.FETCH_PEERS_ECL="FETCH_PEERS_ECL",te.SET_PEERS_ECL="SET_PEERS_ECL",te.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",te.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",te.ADD_PEER_ECL="ADD_PEER_ECL",te.DETACH_PEER_ECL="DETACH_PEER_ECL",te.REMOVE_PEER_ECL="REMOVE_PEER_ECL",te.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",te.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",te.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",te.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",te.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",te.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",te.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",te.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",te.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",te.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",te.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",te.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",te.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",te.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",te.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",te.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",te.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",te.SET_INVOICES_ECL="SET_INVOICES_ECL",te.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",te.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",te.ADD_INVOICE_ECL="ADD_INVOICE_ECL",te.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",te.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",te.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",te.SET_LOOKUP_ECL="SET_LOOKUP_ECL",te.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",te.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",te}(qe||{});const re=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var ve=function(te){return te.gossip_queries_ex="Gossip queries including additional information",te.option_anchor_outputs="Anchor outputs",te.option_data_loss_protect="Extra channel re-establish fields",te.var_onion_optin="Variable-length routing onion payloads",te.option_static_remotekey="Static key for remote output",te.option_support_large_channel="Create large channels",te.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",te.payment_secret="Payment secret field",te.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",te.basic_mpp="Basic multi-part payments",te.gossip_queries="More sophisticated gossip control",te.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",te.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",te.amp="AMP",te}(ve||{}),ce=function(te){return te["data-loss-protect"]="Extra channel re-establish fields",te["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",te["gossip-queries"]="More sophisticated gossip control",te["tlv-onion"]="Variable-length routing onion payloads",te["ext-gossip-queries"]="Gossip queries can include additional information",te["static-remote-key"]="Static key for remote output",te["payment-addr"]="Payment secret field",te["multi-path-payments"]="Basic multi-part payments",te["wumbo-channels"]="Wumbo Channels",te.anchors="Anchor outputs",te["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",te.amp="AMP",te}(ce||{});const Ze=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var We=function(te){return te.OFFERED="offered",te.SETTLED="settled",te.FAILED="failed",te.LOCAL_FAILED="local_failed",te}(We||{}),Be=function(te){return te.ASCENDING="asc",te.DESCENDING="desc",te}(Be||{});const rt=["asc","desc"],$e=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:z,sortBy:"blockheight",sortOrder:Be.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:z,sortBy:"blockheight",sortOrder:Be.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:z,sortBy:"msatoshi_to_us",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:z,sortBy:"state",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:z,sortBy:"alias",sortOrder:Be.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:z,sortBy:"expiry",sortOrder:Be.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:z,sortBy:"channel_opening_fee",sortOrder:Be.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:z,sortBy:"created_at",sortOrder:Be.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:z,sortBy:"expires_at",sortOrder:Be.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:z,sortBy:"offer_id",sortOrder:Be.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:z,sortBy:"lastUpdatedAt",sortOrder:Be.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:z,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:z,sortBy:"total_fee",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:z,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:z,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:z,sortBy:"received_time",sortOrder:Be.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:z,sortBy:"date",sortOrder:Be.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:z,sortBy:"msatoshi",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],Ie={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},lt=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:z,sortBy:"tx_id",sortOrder:Be.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:z,sortBy:"time_stamp",sortOrder:Be.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:z,sortBy:"tx_id",sortOrder:Be.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:z,sortBy:"balancedness",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:z,sortBy:"close_type",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:z,sortBy:"incoming",sortOrder:Be.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:z,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:z,sortBy:"creation_date",sortOrder:Be.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:z,sortBy:"creation_date",sortOrder:Be.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:z,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:z,sortBy:"total_amount",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:z,sortBy:"remote_alias",sortOrder:Be.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:z,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:z,sortBy:"date",sortOrder:Be.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:z,sortBy:"hop_sequence",sortOrder:Be.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:z,sortBy:"initiation_time",sortOrder:Be.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:z,sortBy:"status",sortOrder:Be.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:z,sortBy:"status",sortOrder:Be.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],Qe={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat",label:"Amount"},{column:"confirmations"}]},transactions:{maxColumns:7,allowedColumns:[{column:"time_stamp",label:"Date/Time"},{column:"label"},{column:"block_hash"},{column:"tx_hash",label:"Transaction Hash"},{column:"amount"},{column:"total_fees",label:"Fees"},{column:"block_height"},{column:"num_confirmations",label:"Confirmations"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat"},{column:"confirmations"}]}},peers_channels:{open:{maxColumns:8,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"initiator"},{column:"static_remote_key"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"},{column:"balancedness",label:"Balance Score"}]},pending_open:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"confirmation_height"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_force_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"maturity_height"},{column:"blocks_til_maturity",label:"Blocks till Maturity"},{column:"recovered_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_waiting_close:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},closed:{maxColumns:7,allowedColumns:[{column:"close_type"},{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"closing_tx_hash",label:"Closing Tx Hash"},{column:"chain_hash"},{column:"open_initiator"},{column:"close_initiator"},{column:"time_locked_balance",label:"Timelocked Balance"},{column:"capacity"},{column:"close_height"},{column:"settled_balance"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount"},{column:"incoming"},{column:"forwarding_channel"},{column:"htlc_index"},{column:"forwarding_htlc_index"},{column:"expiration_height"},{column:"hash_lock"}]},peers:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"pub_key",label:"Public Key"},{column:"address"},{column:"sync_type"},{column:"inbound"},{column:"bytes_sent"},{column:"bytes_recv",label:"Bytes Received"},{column:"sat_sent",label:"Sats Sent"},{column:"sat_recv",label:"Sats Received"},{column:"ping_time"}]}},transactions:{payments:{maxColumns:8,allowedColumns:[{column:"creation_date"},{column:"payment_hash"},{column:"payment_request"},{column:"payment_preimage"},{column:"description"},{column:"description_hash"},{column:"failure_reason"},{column:"payment_index"},{column:"fee"},{column:"value"},{column:"hops"}]},invoices:{maxColumns:9,allowedColumns:[{column:"private"},{column:"is_keysend",label:"Keysend"},{column:"is_amp",label:"AMP"},{column:"creation_date",label:"Date Created"},{column:"settle_date",label:"Date Settled"},{column:"memo"},{column:"r_preimage",label:"Preimage"},{column:"r_hash",label:"Preimage Hash"},{column:"payment_addr",label:"Payment Address"},{column:"payment_request"},{column:"description_hash"},{column:"expiry"},{column:"cltv_expiry"},{column:"add_index"},{column:"settle_index"},{column:"value",label:"Amount"},{column:"amt_paid_sat",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},routing_peers:{maxColumns:4,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount"}]},non_routing_peers:{maxColumns:8,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"remote_alias",label:"Peer Alias"},{column:"remote_pubkey",label:"Peer Pubkey"},{column:"channel_point"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"}]}},reports:{routing:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:8,disablePageSize:!0,allowedColumns:[{column:"hop_sequence",label:"Hop"},{column:"pubkey_alias",label:"Peer"},{column:"pub_key",label:"Peer Pubkey"},{column:"chan_id",label:"Channel ID"},{column:"tlv_payload"},{column:"expiry"},{column:"chan_capacity",label:"Capacity"},{column:"amt_to_forward_msat",label:"Amount To Fwd"},{column:"fee_msat",label:"Fee"}]}},loop:{loop:{maxColumns:8,allowedColumns:[{column:"state"},{column:"initiation_time"},{column:"last_update_time"},{column:"amt",label:"Amount"},{column:"cost_server"},{column:"cost_offchain"},{column:"cost_onchain"},{column:"htlc_address"},{column:"id"},{column:"id_bytes",label:"ID (Bytes)"}]}},boltz:{swap_out:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"claimAddress",label:"Claim Address"},{column:"onchainAmount",label:"Onchain Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"claimTransactionId",label:"Claim Tx ID"}]},swap_in:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"lockupAddress",label:"Lockup Address"},{column:"expectedAmount",label:"Expected Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"refundTransactionId",label:"Refund Tx ID"}]}}},St=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:z,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:z,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:z,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:z,sortBy:"alias",sortOrder:Be.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:z,sortBy:"alias",sortOrder:Be.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:z,sortBy:"firstPartTimestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:z,sortBy:"receivedAt",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:z,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:z,sortBy:"totalFee",sortOrder:Be.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:z,sortBy:"timestamp",sortOrder:Be.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:z,sortBy:"date",sortOrder:Be.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],dt={on_chain:{transaction:{maxColumns:6,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"address"},{column:"blockHash"},{column:"txid",label:"Transaction ID"},{column:"amount"},{column:"fees"},{column:"confirmations"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isInitiator",label:"Initiator"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},peers:{maxColumns:4,allowedColumns:[{column:"alias"},{column:"nodeId"},{column:"address",label:"Netwrok Address"},{column:"channels"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"firstPartTimestamp",label:"Date/Time"},{column:"id"},{column:"recipientNodeId",label:"Destination Node ID"},{column:"recipientNodeAlias",label:"Destination"},{column:"description"},{column:"paymentHash"},{column:"paymentPreimage",label:"Preimage"},{column:"recipientAmount",label:"Amount"}]},invoices:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date Created"},{column:"expiresAt",label:"Date Expiry"},{column:"receivedAt",label:"Date Settled"},{column:"nodeId",label:"Node ID"},{column:"description"},{column:"paymentHash"},{column:"amount"},{column:"amountSettled",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channelId"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"totalAmount",label:"Amount"},{column:"totalFee",label:"Fee"}]}},reports:{routing:{maxColumns:7,allowedColumns:[{column:"timestamp",label:"Date/Time"},{column:"fromChannelId",label:"In Channel ID"},{column:"fromShortChannelId",label:"In Channel Short ID"},{column:"fromChannelAlias",label:"In Channel"},{column:"toChannelId",label:"Out Channel ID"},{column:"toShortChannelId",label:"Out Channel Short ID"},{column:"toChannelAlias",label:"Out Channel"},{column:"paymentHash"},{column:"amountIn"},{column:"amountOut"},{column:"fee",label:"Fee Earned"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}}}},6046:(Fe,q,p)=>{"use strict";p.d(q,{D:()=>ae});var e=p(9862),t=p(5619),y=p(8645),A=p(8504),l=p(2096),w=p(1374),m=p(1631),P=p(9773),d=p(7398),E=p(6306),M=p(2460),I=p(2154),k=p(3315),z=p(9103),B=p(9191),W=p(7321),j=p(3468),K=p(9212),X=p(4221),ie=p(5980),se=p(2939),ue=p(6814);let ae=(()=>{class Me{constructor(he,S,n,s,f){this.httpClient=he,this.store=S,this.logger=n,this.snackBar=s,this.titleCasePipe=f,this.APIUrl=I.T5,this.lnImplementation="",this.lnImplementationUpdated=new t.X(null),this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x],this.mapAliases=(h,C)=>(h&&h.length>0?h.forEach((D,O)=>{if(C&&C.length>0)for(let v=0;v{let s=this.APIUrl+"/"+n+I.vv.PAYMENTS_API+"/decode/"+he,f="GET",h=null;return"cln"===n&&(s=this.APIUrl+"/"+n+I.vv.UTILITY_API+"/decode",h={string:he},f="POST"),this.store.dispatch((0,z.ac)({payload:I.m6.DECODE_PAYMENT})),this.httpClient.request(f,s,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}).pipe((0,P.R)(this.unSubs[0]),(0,d.U)(C=>(this.store.dispatch((0,z.uO)({payload:I.m6.DECODE_PAYMENT})),C)),(0,E.K)(C=>(S?this.handleErrorWithoutAlert("Decode Payment",I.m6.DECODE_PAYMENT,C):this.handleErrorWithAlert("decodePaymentData",I.m6.DECODE_PAYMENT,"Decode Payment Failed",s,C),(0,A._)(()=>new Error(this.extractErrorMessage(C))))))}))}decodePayments(he){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(S=>{let n="",s="",f=null;return"ecl"===S?(n=this.APIUrl+"/"+S+I.vv.PAYMENTS_API+"/getsentinfos",f={payments:he},s=I.m6.GET_SENT_PAYMENTS):"cln"===S?(n=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/decode",f={string:he},s=I.m6.DECODE_PAYMENTS):(n=this.APIUrl+"/"+S+I.vv.PAYMENTS_API,f={payments:he},s=I.m6.DECODE_PAYMENTS),this.store.dispatch((0,z.ac)({payload:s})),this.httpClient.post(n,f).pipe((0,P.R)(this.unSubs[1]),(0,d.U)(h=>(this.store.dispatch((0,z.uO)({payload:s})),h)),(0,E.K)(h=>(this.handleErrorWithAlert("decodePaymentsData",s,s+" Failed",n,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}getAliasesFromPubkeys(he,S){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(n=>{if(S){const s=(new e.LE).set("pubkeys",he);return this.httpClient.get(this.APIUrl+"/"+n+I.vv.NETWORK_API+"/nodes",{params:s})}return this.httpClient.get(this.APIUrl+"/"+n+I.vv.NETWORK_API+"/node/"+he)}))}signMessage(he){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(S=>{let n=this.APIUrl+"/"+S+I.vv.MESSAGE_API+"/sign";return"cln"===S&&(n=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/sign"),this.store.dispatch((0,z.ac)({payload:I.m6.SIGN_MESSAGE})),this.httpClient.post(n,{message:he}).pipe((0,P.R)(this.unSubs[2]),(0,d.U)(s=>(this.store.dispatch((0,z.uO)({payload:I.m6.SIGN_MESSAGE})),s)),(0,E.K)(s=>(this.handleErrorWithAlert("signMessageData",I.m6.SIGN_MESSAGE,"Sign Message Failed",n,s),(0,A._)(()=>new Error(this.extractErrorMessage(s))))))}))}verifyMessage(he,S){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(n=>{let s="",f=null;return"cln"===n?(s=this.APIUrl+"/"+n+I.vv.UTILITY_API+"/verify",f={message:he,zbase:S}):(s=this.APIUrl+"/"+n+I.vv.MESSAGE_API+"/verify",f={message:he,signature:S}),this.store.dispatch((0,z.ac)({payload:I.m6.VERIFY_MESSAGE})),this.httpClient.post(s,f).pipe((0,P.R)(this.unSubs[3]),(0,d.U)(h=>(this.store.dispatch((0,z.uO)({payload:I.m6.VERIFY_MESSAGE})),h)),(0,E.K)(h=>(this.handleErrorWithAlert("verifyMessageData",I.m6.VERIFY_MESSAGE,"Verify Message Failed",s,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}bumpFee(he,S,n,s){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(f=>{const h={txid:he,outputIndex:S};return n&&(h.targetConf=n),s&&(h.satPerByte=s),this.store.dispatch((0,z.ac)({payload:I.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+f+I.vv.WALLET_API+"/bumpfee",h).pipe((0,P.R)(this.unSubs[4]),(0,d.U)(C=>(this.store.dispatch((0,z.uO)({payload:I.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),C)),(0,E.K)(C=>(this.handleErrorWithoutAlert("Bump Fee",I.m6.BUMP_FEE,C),(0,A._)(()=>new Error(this.extractErrorMessage(C))))))}))}labelUTXO(he,S,n=!0){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(s=>{const f={txid:he,label:S,overwrite:n};return this.store.dispatch((0,z.ac)({payload:I.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+s+I.vv.WALLET_API+"/label",f).pipe((0,P.R)(this.unSubs[5]),(0,d.U)(h=>(this.store.dispatch((0,z.uO)({payload:I.m6.LABEL_UTXO})),h)),(0,E.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LABEL_UTXO,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}leaseUTXO(he,S){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(n=>{const s={txid:he,outputIndex:S};return this.store.dispatch((0,z.ac)({payload:I.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+n+I.vv.WALLET_API+"/lease",s).pipe((0,P.R)(this.unSubs[6]),(0,d.U)(f=>{this.store.dispatch((0,z.uO)({payload:I.m6.LEASE_UTXO})),this.store.dispatch((0,B.mC)()),this.store.dispatch((0,B.Ly)());const h=new Date(1e3*f.expiration);return Math.round(h.getTime())-60*h.getTimezoneOffset()}),(0,E.K)(f=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LEASE_UTXO,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}getForwardingHistory(he,S,n,s){if("LND"===he){const f={end_time:n,start_time:S};return this.store.dispatch((0,z.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+I.vv.SWITCH_API,f).pipe((0,P.R)(this.unSubs[7]),(0,M.M)(this.store.select(W._f)),(0,m.z)(([h,C])=>{if(h.forwarding_events){const D=[...C.channels,...C.closedChannels];h.forwarding_events.forEach(O=>{if(D&&D.length>0)for(let v=0;v(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+I.vv.SWITCH_API,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}return"CLN"===he?(this.store.dispatch((0,z.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards",{status:s||"settled"}).pipe((0,P.R)(this.unSubs[8]),(0,M.M)(this.store.select(j.ZW)),(0,m.z)(([f,h])=>{const C=this.mapAliases(f,[...h.activeChannels,...h.pendingChannels,...h.inactiveChannels]);return this.store.dispatch((0,z.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,l.of)(C)}),(0,E.K)(f=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards",f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))):(0,l.of)({})}listNetworkNodes(he){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(S=>(this.store.dispatch((0,z.ac)({payload:I.m6.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+S+I.vv.NETWORK_API+"/listNodes",he).pipe((0,P.R)(this.unSubs[9]),(0,m.z)(n=>(this.store.dispatch((0,z.uO)({payload:I.m6.LIST_NETWORK_NODES})),(0,l.of)(n))),(0,E.K)(n=>(this.handleErrorWithoutAlert("List Network Nodes",I.m6.LIST_NETWORK_NODES,n),(0,A._)(()=>this.extractErrorMessage(n))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(he=>(this.store.dispatch((0,z.ac)({payload:I.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+he+I.vv.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,m.z)(S=>(this.store.dispatch((0,z.uO)({payload:I.m6.GET_LIST_CONFIGS})),(0,l.of)(S))),(0,E.K)(S=>(this.handleErrorWithoutAlert("List Configurations",I.m6.GET_LIST_CONFIGS,S),(0,A._)(()=>this.extractErrorMessage(S))))))))}getOrUpdateFunderPolicy(he,S,n,s,f,h){return this.lnImplementationUpdated.pipe((0,w.P)(),(0,m.z)(C=>{const D=he?{policy:he,policy_mod:S,lease_fee_base_msat:n,lease_fee_basis:s,channel_fee_max_base_msat:f,channel_fee_max_proportional_thousandths:h}:null;return this.store.dispatch((0,z.ac)({payload:I.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+C+I.vv.CHANNELS_API+"/funderUpdate",D).pipe((0,P.R)(this.unSubs[11]),(0,d.U)(O=>(this.store.dispatch((0,z.uO)({payload:I.m6.GET_FUNDER_POLICY})),D&&this.store.dispatch((0,z.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+O.compact_lease+"!"})),O)),(0,E.K)(O=>(this.handleErrorWithoutAlert("Funder Policy",I.m6.GET_FUNDER_POLICY,O),(0,A._)(()=>new Error(this.extractErrorMessage(O))))))}))}circularRebalance(he,S="",n="",s="",f="",h=[],C="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+I.vv.CHANNELS_API+"/circularRebalance",{amountMsat:he,sourceShortChannelId:S,sourceNodeId:n,targetShortChannelId:s,targetNodeId:f,ignoreNodeIds:h,format:C}).pipe((0,P.R)(this.unSubs[12]),(0,d.U)(v=>v),(0,E.K)(v=>(this.handleErrorWithoutAlert("Rebalance Channel",I.m6.REBALANCE_CHANNEL,v),(0,A._)(()=>v.error))))}extractErrorMessage(he,S="Unknown Error."){return this.titleCasePipe.transform(he.error.text&&"string"==typeof he.error.text&&he.error.text.includes('')?"API Route Does Not Exist.":he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&he.error.error.error.error.error&&"string"==typeof he.error.error.error.error.error?he.error.error.error.error.error:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&"string"==typeof he.error.error.error.error?he.error.error.error.error:he.error&&he.error.error&&he.error.error.error&&"string"==typeof he.error.error.error?he.error.error.error:he.error&&he.error.error&&"string"==typeof he.error.error?he.error.error:he.error&&"string"==typeof he.error?he.error:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&he.error.error.error.error.message&&"string"==typeof he.error.error.error.error.message?he.error.error.error.error.message:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.message&&"string"==typeof he.error.error.error.message?he.error.error.error.message:he.error&&he.error.error&&he.error.error.message&&"string"==typeof he.error.error.message?he.error.error.message:he.error&&he.error.message&&"string"==typeof he.error.message?he.error.message:he.message&&"string"==typeof he.message?he.message:S)}handleErrorWithoutAlert(he,S,n){n.error.text&&"string"==typeof n.error.text&&n.error.text.includes('')&&(n={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(n)),401===n.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,z.ts)()),this.store.dispatch((0,z.kS)()),this.store.dispatch((0,z.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,z.uO)({payload:S})),this.store.dispatch((0,z.qi)({payload:{action:he,status:I.Bn.ERROR,statusCode:n.status.toString(),message:this.extractErrorMessage(n)}})))}handleErrorWithAlert(he,S,n,s,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,z.ts)()),this.store.dispatch((0,z.kS)()),this.store.dispatch((0,z.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,z.uO)({payload:S}));const h=this.extractErrorMessage(f);this.store.dispatch((0,z.qR)({payload:{data:{type:"ERROR",alertTitle:n,message:{code:f.status?f.status:"Unknown Error",message:h,URL:s},component:k.H}}})),this.store.dispatch((0,z.qi)({payload:{action:he,status:I.Bn.ERROR,statusCode:f.status.toString(),message:h,URL:s}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}static#e=this.\u0275fac=function(S){return new(S||Me)(K.LFG(e.eN),K.LFG(X.yh),K.LFG(ie.mQ),K.LFG(se.ux),K.LFG(ue.rS))};static#t=this.\u0275prov=K.Yz7({token:Me,factory:Me.\u0275fac})}return Me})()},5980:(Fe,q,p)=>{"use strict";p.d(q,{LG:()=>w,mQ:()=>l});var e=p(9212);const t=(0,e.X6Q)(),y=()=>null;let l=(()=>{class m{invokeConsoleMethod(d,E){}static#e=this.\u0275fac=function(E){return new(E||m)};static#t=this.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac})}return m})(),w=(()=>{class m{get info(){return t?console.log.bind(console):y}get warn(){return t?console.warn.bind(console):y}get error(){return t?console.error.bind(console):y}invokeConsoleMethod(d,E){(console[d]||console.log||y).apply(console,[E])}static#e=this.\u0275fac=function(E){return new(E||m)};static#t=this.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac})}return m})()},3149:(Fe,q,p)=>{"use strict";p.d(q,{W:()=>W});var e=p(9862),t=p(5619),y=p(8645),A=p(2096),l=p(8504),w=p(9773),m=p(6306),P=p(7398),d=p(2154),E=p(3315),M=p(9103),I=p(9212),k=p(5980),z=p(4221),B=p(6339);let W=(()=>{class j{constructor(X,ie,se,ue){this.httpClient=X,this.logger=ie,this.store=se,this.commonService=ue,this.loopUrl="",this.swaps=[],this.swapsChanged=new t.X([]),this.unSubs=[new y.x,new y.x,new y.x,new y.x,new y.x,new y.x,new y.x]}getLoopInfo(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,M.ac)({payload:d.m6.GET_LOOP_SWAPS})),this.loopUrl=d.T5+d.vv.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,w.R)(this.unSubs[0])).subscribe({next:X=>{this.store.dispatch((0,M.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=X,this.swapsChanged.next(this.swaps)},error:X=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,X))})}loopOut(X,ie,se,ue,ae,Me,J,he,S,n){const s={amount:X,targetConf:se,swapRoutingFee:ue,minerFee:ae,prepayRoutingFee:Me,prepayAmt:J,swapFee:he,swapPublicationDeadline:S,destAddress:n};return""!==ie&&(s.chanId=ie),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,s).pipe((0,m.K)(f=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ie,d.m6.NO_SPINNER,f)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,m.K)(X=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,X)))}getLoopOutQuote(X,ie,se){let ue=new e.LE;return ue=ue.append("targetConf",ie.toString()),ue=ue.append("swapPublicationDeadline",se.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+X,this.store.dispatch((0,M.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,w.R)(this.unSubs[1]),(0,P.U)(ae=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_QUOTE})),ae)),(0,m.K)(ae=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,ae)))}getLoopOutTermsAndQuotes(X){let ie=new e.LE;return ie=ie.append("targetConf",X.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,M.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,w.R)(this.unSubs[2]),(0,P.U)(se=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_TERMS_QUOTES})),se)),(0,m.K)(se=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,se))))}loopIn(X,ie,se,ue,ae){const Me={amount:X,swapFee:ie,minerFee:se,lastHop:ue,externalHtlc:ae};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,Me).pipe((0,m.K)(J=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,J)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,m.K)(X=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,X)))}getLoopInQuote(X,ie,se){let ue=new e.LE;return ue=ue.append("targetConf",ie.toString()),ue=ue.append("swapPublicationDeadline",se.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+X,this.store.dispatch((0,M.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,w.R)(this.unSubs[3]),(0,P.U)(ae=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_QUOTE})),ae)),(0,m.K)(ae=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,ae)))}getLoopInTermsAndQuotes(X){let ie=new e.LE;return ie=ie.append("targetConf",X.toString()),ie=ie.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,M.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ie}).pipe((0,w.R)(this.unSubs[4]),(0,P.U)(se=>(this.store.dispatch((0,M.uO)({payload:d.m6.GET_TERMS_QUOTES})),se)),(0,m.K)(se=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,se))))}getSwap(X){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+X,this.httpClient.get(this.loopUrl).pipe((0,m.K)(ie=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+X,d.m6.NO_SPINNER,ie)))}handleErrorWithoutAlert(X,ie,se){let ue="";return this.logger.error("ERROR IN: "+X+"\n"+JSON.stringify(se)),this.store.dispatch((0,M.uO)({payload:ie})),401===se.status?(ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.kS)())):503===se.status?(ue="Unable to Connect to Loop Server.",this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:se.status,message:"Unable to Connect to Loop Server",URL:X},component:E.H}}}))):ue=this.commonService.extractErrorMessage(se),(0,l._)(()=>new Error(ue))}handleErrorWithAlert(X,ie,se){let ue="";if(this.logger.error(se),this.store.dispatch((0,M.uO)({payload:X})),401===se.status)ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.kS)());else if(503===se.status)ue="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:se.status,message:"Unable to Connect to Loop Server",URL:ie},component:E.H}}}))},100);else{ue=this.commonService.extractErrorMessage(se);const ae=se.error&&se.error.error&&se.error.error.code?se.error.error.code:se.error&&se.error.code?se.error.code:se.code?se.code:se.status;setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:ae,message:ue,URL:ie},component:E.H}}}))},100)}return{message:ue}}ngOnDestroy(){this.unSubs.forEach(X=>{X.next(null),X.complete()})}static#e=this.\u0275fac=function(ie){return new(ie||j)(I.LFG(e.eN),I.LFG(k.mQ),I.LFG(z.yh),I.LFG(B.v))};static#t=this.\u0275prov=I.Yz7({token:j,factory:j.\u0275fac})}return j})()},5813:(Fe,q,p)=>{"use strict";p.d(q,{m:()=>y});var e=p(8645),t=p(9212);let y=(()=>{class A{constructor(){this.sessionSub=new e.x}watchSession(){return this.sessionSub.asObservable()}getItem(w){return sessionStorage.getItem(w)}getAllItems(){return sessionStorage}setItem(w,m){sessionStorage.setItem(w,m),this.sessionSub.next(sessionStorage)}removeItem(w){sessionStorage.removeItem(w),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=this.\u0275fac=function(m){return new(m||A)};static#t=this.\u0275prov=t.Yz7({token:A,factory:A.\u0275fac})}return A})()},2285:(Fe,q,p)=>{"use strict";p.d(q,{d:()=>z});var e=p(5619),t=p(8645),y=p(9773),A=p(305),l=p(5592),w=p(7394),m=p(7328);const P={url:"",deserializer:B=>JSON.parse(B.data),serializer:B=>JSON.stringify(B)};class E extends t.u{constructor(W,j){if(super(),this._socket=null,W instanceof l.y)this.destination=j,this.source=W;else{const K=this._config=Object.assign({},P);if(this._output=new t.x,"string"==typeof W)K.url=W;else for(const X in W)W.hasOwnProperty(X)&&(K[X]=W[X]);if(!K.WebSocketCtor&&WebSocket)K.WebSocketCtor=WebSocket;else if(!K.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new m.t}}lift(W){const j=new E(this._config,this.destination);return j.operator=W,j.source=this,j}_resetState(){this._socket=null,this.source||(this.destination=new m.t),this._output=new t.x}multiplex(W,j,K){const X=this;return new l.y(ie=>{try{X.next(W())}catch(ue){ie.error(ue)}const se=X.subscribe({next:ue=>{try{K(ue)&&ie.next(ue)}catch(ae){ie.error(ae)}},error:ue=>ie.error(ue),complete:()=>ie.complete()});return()=>{try{X.next(j())}catch(ue){ie.error(ue)}se.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:W,protocol:j,url:K,binaryType:X}=this._config,ie=this._output;let se=null;try{se=j?new W(K,j):new W(K),this._socket=se,X&&(this._socket.binaryType=X)}catch(ae){return void ie.error(ae)}const ue=new w.w0(()=>{this._socket=null,se&&1===se.readyState&&se.close()});se.onopen=ae=>{const{_socket:Me}=this;if(!Me)return se.close(),void this._resetState();const{openObserver:J}=this._config;J&&J.next(ae);const he=this.destination;this.destination=A.Lv.create(S=>{if(1===se.readyState)try{const{serializer:n}=this._config;se.send(n(S))}catch(n){this.destination.error(n)}},S=>{const{closingObserver:n}=this._config;n&&n.next(void 0),S&&S.code?se.close(S.code,S.reason):ie.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:S}=this._config;S&&S.next(void 0),se.close(),this._resetState()}),he&&he instanceof m.t&&ue.add(he.subscribe(this.destination))},se.onerror=ae=>{this._resetState(),ie.error(ae)},se.onclose=ae=>{se===this._socket&&this._resetState();const{closeObserver:Me}=this._config;Me&&Me.next(ae),ae.wasClean?ie.complete():ie.error(ae)},se.onmessage=ae=>{try{const{deserializer:Me}=this._config;ie.next(Me(ae))}catch(Me){ie.error(Me)}}}_subscribe(W){const{source:j}=this;return j?j.subscribe(W):(this._socket||this._connectSocket(),this._output.subscribe(W),W.add(()=>{const{_socket:K}=this;0===this._output.observers.length&&(K&&(1===K.readyState||0===K.readyState)&&K.close(),this._resetState())}),W)}unsubscribe(){const{_socket:W}=this;W&&(1===W.readyState||0===W.readyState)&&W.close(),this._resetState(),super.unsubscribe()}}var M=p(9212),I=p(5980),k=p(5813);let z=(()=>{class B{constructor(j,K){this.logger=j,this.sessionService=K,this.clWSMessages=new e.X(null),this.eclWSMessages=new e.X(null),this.lndWSMessages=new e.X(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x,new t.x]}connectWebSocket(j,K){(!this.socket||this.socket.closed)&&(this.wsUrl=j,this.nodeIndex=K,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new E({url:j,protocol:[this.sessionService.getItem("token")||"",K]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,y.R)(this.unSubs[1])).subscribe({next:j=>{if((j="string"==typeof j?JSON.parse(j):j).error)this.handleError(j.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(j)),j.source){case"LND":this.lndWSMessages.next(j);break;case"CLN":this.clWSMessages.next(j);break;case"ECL":this.eclWSMessages.next(j)}},error:j=>this.handleError(j),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(j){this.logger.error(j),this.clWSMessages.error(j),this.eclWSMessages.error(j),this.lndWSMessages.error(j),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=this.\u0275fac=function(K){return new(K||B)(M.LFG(I.mQ),M.LFG(k.m))};static#t=this.\u0275prov=M.Yz7({token:B,factory:B.\u0275fac})}return B})()},8339:(Fe,q,p)=>{"use strict";p.d(q,{m:()=>Ao});var e=p(6814),t=p(4190),y=p(6223),A=p(9862),l=p(5597),w=p(9212),m=p(1462),P=p(7509),d=p(3814);p(2495);let Mt=(()=>{class Vt{}return Vt.\u0275fac=function(wt){return new(wt||Vt)},Vt.\u0275mod=w.oAB({type:Vt}),Vt.\u0275inj=w.cJS({imports:[m.IR]}),Vt})(),Dt=(()=>{class Vt{constructor(wt,ii){(0,e.PM)(ii)&&!wt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(wt,ii=[]){return{ngModule:Vt,providers:wt.serverLoaded?[{provide:m.WU,useValue:{...m.g5,...wt}},{provide:m.Bs,useValue:ii,multi:!0},{provide:m.wY,useValue:!0}]:[{provide:m.WU,useValue:{...m.g5,...wt}},{provide:m.Bs,useValue:ii,multi:!0}]}}}return Vt.\u0275fac=function(wt){return new(wt||Vt)(w.LFG(m.wY),w.LFG(w.Lbi))},Vt.\u0275mod=w.oAB({type:Vt}),Vt.\u0275inj=w.cJS({imports:[d.ae,P.aT,Mt,d.ae,P.aT,Mt]}),Vt})();var kt=p(1088),Gt=p(3680),oi=p(7700),bi=p(4630),yi=p(9014),Oi=p(2296);p(4300),p(8337);let Sn=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=w.oAB({type:Vt});static#i=this.\u0275inj=w.cJS({imports:[Gt.BQ,Gt.si,Gt.BQ]})}return Vt})();var an=p(5195),sr=p(5986),Jr=p(8034),Ar=p(3305),Yr=p(3176),$r=p(617),Ni=p(2032),zt=p(9038),pi=p(7988),_i=p(1476),Ci=p(6007),Gi=p(5940),Ji=p(7466),yn=p(8525),jn=p(2651),Rn=p(2599),Er=p(2831);p(8645);let ea=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=w.oAB({type:Vt});static#i=this.\u0275inj=w.cJS({imports:[Gt.BQ,Gt.si]})}return Vt})();var Ia=p(2939),Oa=p(3566),_o=p(8257),oo=p(5313),Eo=p(4104),vo=p(1274),Kr=p(2596),ca=p(8445),_a=p(2557),Fo=p(25),Va=p(2279),Qr=p(2159),_s=p(3651);let so=(()=>{class Vt extends _s.Xj{constructor(wt,ii){super(wt,ii)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ii){return new(ii||Vt)(w.Y36(e.K0),w.Y36(Er.t4))};static#t=this.\u0275dir=w.lG2({type:Vt,features:[w.qOj]})}return Vt})();var To=p(5980),Ja=p(2154),co=p(2995);const Gr={suppressScrollX:!1,suppressScrollY:!1};let zo=(()=>{class Vt extends Gt.LF{constructor(wt){super(wt)}format(wt,ii){if("input"===ii){let Ti=wt.getDate().toString();return Ti=+Ti<10?"0"+Ti:Ti,Ti+"/"+Ja.gg[wt.getMonth()].name.toUpperCase()+"/"+wt.getFullYear()}return Ja.gg[wt.getMonth()].name.toUpperCase()+" "+wt.getFullYear()}static#e=this.\u0275fac=function(ii){return new(ii||Vt)(w.LFG(Gt.Ad,8))};static#t=this.\u0275prov=w.Yz7({token:Vt,factory:Vt.\u0275fac})}return Vt})();const bo={parse:{dateInput:{day:"numeric",month:"short",year:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric"},dateA11yLabel:{day:"numeric",month:"short",year:"numeric"},monthYearA11yLabel:{month:"short",year:"numeric"}}};let Ao=(()=>{class Vt{static#e=this.\u0275fac=function(ii){return new(ii||Vt)};static#t=this.\u0275mod=w.oAB({type:Vt});static#i=this.\u0275inj=w.cJS({providers:[{provide:To.mQ,useClass:To.LG},{provide:Qr.op,useValue:Gr},{provide:Ia.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:oi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Gt._A,useClass:zo},{provide:Gt.sG,useValue:bo},{provide:_s.Xj,useClass:so},e.JJ,e.rS,e.uU,co.al,co.h9,co.D3,co.i1],imports:[e.ez,y.u5,y.UX,l.uH,Dt,kt.xu,oi.Is,Oi.ot,Sn,an.QW,sr.p9,Ar.To,Yr.N6,Jr.FA,Gt.XK,$r.Ps,Ni.c,zt.ie,pi.Tx,Ci.Cv,Gi.Cq,Ji.Fk,ca.dp,_a.Hi,yn.LD,jn.SJ,Rn.rP,Oa.JX,oo.p0,vo.g0,Kr.AV,yi.g,_i.TU,_o.T5,ea,Eo.Nh,Ia.ZX,bi.Bb,Fo.a4,Va.OF,t.Bz,A.JF,Qr.Xd,y.u5,y.UX,l.uH,Dt,kt.xu,oi.Is,Oi.ot,Sn,an.QW,sr.p9,Ar.To,Yr.N6,Jr.FA,Gt.XK,$r.Ps,Ni.c,zt.ie,pi.Tx,Ci.Cv,Gi.Cq,Ji.Fk,ca.dp,_a.Hi,yn.LD,jn.SJ,Rn.rP,Oa.JX,oo.p0,vo.g0,Kr.AV,yi.g,_i.TU,_o.T5,ea,Eo.Nh,Ia.ZX,bi.Bb,Fo.a4,Va.OF,Qr.Xd]})}return Vt})()},9103:(Fe,q,p)=>{"use strict";p.d(q,{M6:()=>M,Q2:()=>B,QO:()=>h,Tm:()=>Me,Uy:()=>ue,XT:()=>ie,_V:()=>he,ac:()=>P,c0:()=>s,c1:()=>I,dc:()=>v,ey:()=>X,fk:()=>ae,jS:()=>J,jW:()=>m,kS:()=>n,lC:()=>A,qR:()=>E,qi:()=>l,tj:()=>z,ts:()=>w,tw:()=>j,uO:()=>d,vI:()=>K,x4:()=>D,yb:()=>k,zQ:()=>se});var e=p(4221),t=p(2154);(0,e.PH)(t.pg.VOID);const A=(0,e.PH)(t.pg.SET_API_URL_ECL,(0,e.Ky)()),l=(0,e.PH)(t.pg.UPDATE_API_CALL_STATUS_ROOT,(0,e.Ky)()),w=(0,e.PH)(t.pg.CLOSE_ALL_DIALOGS),m=(0,e.PH)(t.pg.OPEN_SNACK_BAR,(0,e.Ky)()),P=(0,e.PH)(t.pg.OPEN_SPINNER,(0,e.Ky)()),d=(0,e.PH)(t.pg.CLOSE_SPINNER,(0,e.Ky)()),E=(0,e.PH)(t.pg.OPEN_ALERT,(0,e.Ky)()),M=(0,e.PH)(t.pg.CLOSE_ALERT,(0,e.Ky)()),I=(0,e.PH)(t.pg.OPEN_CONFIRMATION,(0,e.Ky)()),k=(0,e.PH)(t.pg.CLOSE_CONFIRMATION,(0,e.Ky)()),z=(0,e.PH)(t.pg.SHOW_PUBKEY),B=(0,e.PH)(t.pg.FETCH_CONFIG,(0,e.Ky)()),j=((0,e.PH)(t.pg.SHOW_CONFIG,(0,e.Ky)()),(0,e.PH)(t.pg.UPDATE_SELECTED_NODE_OPTIONS)),K=(0,e.PH)(t.pg.RESET_ROOT_STORE,(0,e.Ky)()),X=(0,e.PH)(t.pg.FETCH_RTL_CONFIG),ie=(0,e.PH)(t.pg.SET_RTL_CONFIG,(0,e.Ky)()),se=(0,e.PH)(t.pg.SAVE_SETTINGS,(0,e.Ky)()),ue=(0,e.PH)(t.pg.TWO_FA_SAVE_SETTINGS,(0,e.Ky)()),ae=(0,e.PH)(t.pg.SET_SELECTED_NODE,(0,e.Ky)()),Me=(0,e.PH)(t.pg.UPDATE_ROOT_NODE_SETTINGS,(0,e.Ky)()),J=(0,e.PH)(t.pg.UPDATE_SERVICE_SETTINGS,(0,e.Ky)()),he=(0,e.PH)(t.pg.SET_NODE_DATA,(0,e.Ky)()),n=((0,e.PH)(t.pg.SAVE_SSO,(0,e.Ky)()),(0,e.PH)(t.pg.LOGOUT)),s=(0,e.PH)(t.pg.RESET_PASSWORD,(0,e.Ky)()),h=((0,e.PH)(t.pg.RESET_PASSWORD_RES,(0,e.Ky)()),(0,e.PH)(t.pg.IS_AUTHORIZED,(0,e.Ky)())),D=((0,e.PH)(t.pg.IS_AUTHORIZED_RES,(0,e.Ky)()),(0,e.PH)(t.pg.LOGIN,(0,e.Ky)())),v=((0,e.PH)(t.pg.VERIFY_TWO_FA,(0,e.Ky)()),(0,e.PH)(t.pg.FETCH_FILE,(0,e.Ky)()));(0,e.PH)(t.pg.SHOW_FILE,(0,e.Ky)())},2703:(Fe,q,p)=>{"use strict";p.d(q,{V:()=>Se});var e=p(9212),t=p(5154),y=p(8645),A=p(2096),l=p(5592),w=p(9315),m=p(7398),P=p(8180),d=p(2460),E=p(1631),M=p(6306),I=p(9773),k=p(2154),z=p(7700),B=p(3814),W=p(5940);let j=(()=>{class Ve{constructor(tt,Yt){this.dialogRef=tt,this.data=Yt}static#e=this.\u0275fac=function(Yt){return new(Yt||Ve)(e.Y36(z.so),e.Y36(z.WI))};static#t=this.\u0275cmp=e.Xpm({type:Ve,selectors:[["rtl-spinner-dialog"]],decls:4,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"spinner-container"],["color","primary","mode","indeterminate",1,"modal-spinner-message"]],template:function(Yt,ri){1&Yt&&(e.TgZ(0,"div",0),e._UZ(1,"mat-progress-spinner",1),e.TgZ(2,"h2"),e._uU(3),e.qZA()()),2&Yt&&(e.xp6(3),e.Oqu(ri.data.titleMessage))},dependencies:[B.xw,B.Wh,W.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]})}return Ve})();var K=p(5980),X=p(2939),ie=p(6339),se=p(4190),ue=p(6814),ae=p(7509),Me=p(2296),J=p(5195),he=p(617),S=p(6385),n=p(2596),s=p(2279),f=p(2159),h=p(7313),C=p(6985);const D=["scrollContainer"];function O(Ve,et){if(1&Ve&&e._UZ(0,"qr-code",15),2&Ve){const tt=e.oxw();e.Q6J("value",tt.showQRField)("size",200)("errorCorrectionLevel","L")}}function v(Ve,et){1&Ve&&e.GkF(0)}const r=Ve=>({"h-40":Ve});function g(Ve,et){if(1&Ve&&(e.ynx(0),e.TgZ(1,"mat-card-content",16,17),e.YNc(3,v,1,0,"ng-container",18),e.qZA(),e.BQk()),2&Ve){const tt=e.oxw(),Yt=e.MAs(20);e.xp6(1),e.Q6J("ngClass",e.VKq(2,r,tt.data.scrollable)),e.xp6(2),e.Q6J("ngTemplateOutlet",Yt)}}function H(Ve,et){1&Ve&&e.GkF(0)}function R(Ve,et){if(1&Ve&&(e.ynx(0),e.TgZ(1,"mat-card-content",19),e.YNc(2,H,1,0,"ng-container",18),e.qZA(),e.BQk()),2&Ve){e.oxw();const tt=e.MAs(20);e.xp6(2),e.Q6J("ngTemplateOutlet",tt)}}function ee(Ve,et){1&Ve&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_downward"),e.qZA())}function De(Ve,et){1&Ve&&(e.TgZ(0,"mat-icon",23),e._uU(1,"arrow_upward"),e.qZA())}function ct(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"div",20)(1,"button",21),e.NdJ("click",function(){e.CHM(tt);const ri=e.oxw();return e.KtG(ri.onScroll())}),e.YNc(2,ee,2,0,"mat-icon",22)(3,De,2,0,"mat-icon",22),e.qZA()()}if(2&Ve){const tt=e.oxw();e.xp6(2),e.Q6J("ngIf","DOWN"===tt.scrollDirection),e.xp6(1),e.Q6J("ngIf","UP"===tt.scrollDirection)}}function Ke(Ve,et){1&Ve&&(e.TgZ(0,"button",24),e._uU(1,"OK"),e.qZA()),2&Ve&&e.Q6J("mat-dialog-close",!1)}function Je(Ve,et){1&Ve&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&Ve&&e.Q6J("mat-dialog-close",!1)}function ye(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(ri){e.CHM(tt);const fn=e.oxw();return e.KtG(fn.onCopyField(ri))}),e._uU(1),e.qZA()}if(2&Ve){const tt=e.oxw();e.Q6J("payload",tt.showCopyField),e.xp6(1),e.hij("Copy ",tt.showCopyName,"")}}function fe(Ve,et){1&Ve&&(e.TgZ(0,"button",25),e._uU(1,"Close"),e.qZA()),2&Ve&&e.Q6J("mat-dialog-close",!1)}function de(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"button",26),e.NdJ("copied",function(ri){e.CHM(tt);const fn=e.oxw();return e.KtG(fn.onCopyField(ri))}),e._uU(1),e.qZA()}if(2&Ve){const tt=e.oxw();e.Q6J("payload",tt.showQRField),e.xp6(1),e.hij("Copy ",tt.showQRName,"")}}function xe(Ve,et){if(1&Ve&&e._UZ(0,"qr-code",15),2&Ve){const tt=e.oxw(2);e.Q6J("value",tt.showQRField)("size",200)("errorCorrectionLevel","L")}}function le(Ve,et){if(1&Ve&&(e.TgZ(0,"p",32),e._uU(1),e.qZA()),2&Ve){const tt=e.oxw(2);e.xp6(1),e.Oqu(tt.data.titleMessage)}}function pe(Ve,et){1&Ve&&e._UZ(0,"span",46),2&Ve&&e.Q6J("innerHTML",et.$implicit,e.oJD)}function qe(Ve,et){if(1&Ve&&(e.ynx(0),e.YNc(1,pe,1,1,"span",45),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",tt.value)}}function re(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*tt.value,"dd/MMM/y HH:mm"))}}function ve(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,tt.value,tt.digitsInfo?tt.digitsInfo:"1.0-3"))}}function ce(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(tt.value?"True":"False")}}function Ze(Ve,et){1&Ve&&(e.TgZ(0,"mat-icon",51),e._uU(1,"info"),e.qZA())}const We=Ve=>({"failed-status":Ve});function Ct(Ve,et){if(1&Ve&&(e.TgZ(0,"p",49),e._uU(1),e.YNc(2,Ze,2,0,"mat-icon",50),e.qZA()),2&Ve){const tt=e.oxw(3).$implicit,Yt=e.oxw(4);e.Q6J("ngClass",e.VKq(3,We,tt.value===Yt.LoopStateEnum.FAILED)),e.xp6(1),e.hij(" ",tt.value," "),e.xp6(1),e.Q6J("ngIf",tt.value===Yt.LoopStateEnum.FAILED)}}function ut(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"p",54),e.NdJ("click",function(){e.CHM(tt);const ri=e.oxw(8);return e.KtG(ri.onGoToLink())}),e._uU(1),e.qZA()}if(2&Ve){const tt=e.oxw(4).$implicit,Yt=e.oxw(4);e.s9C("matTooltip","Go To "+Yt.goToName),e.xp6(1),e.hij(" ",tt.value," ")}}function It(Ve,et){if(1&Ve&&e._uU(0),2&Ve){const tt=e.oxw(4).$implicit;e.hij(" ",tt.value," ")}}function Ae(Ve,et){if(1&Ve&&e.YNc(0,ut,2,2,"p",52)(1,It,1,1,"ng-template",null,53,e.W1O),2&Ve){const tt=e.MAs(2),Yt=e.oxw(3).$implicit,ri=e.oxw(4);e.Q6J("ngIf",Yt.value===ri.goToFieldValue)("ngIfElse",tt)}}function Be(Ve,et){if(1&Ve&&(e.ynx(0),e.YNc(1,Ct,3,5,"p",47)(2,Ae,3,2,"ng-template",null,48,e.W1O),e.BQk()),2&Ve){const tt=e.MAs(3),Yt=e.oxw(2).$implicit,ri=e.oxw(4);e.xp6(1),e.Q6J("ngIf","SWAP"===ri.data.openedBy&&"state"===Yt.key)("ngIfElse",tt)}}function rt(Ve,et){if(1&Ve&&(e.TgZ(0,"span")(1,"span",42),e.YNc(2,qe,2,1,"ng-container",43)(3,re,3,4,"ng-container",43)(4,ve,3,4,"ng-container",43)(5,ce,2,1,"ng-container",43)(6,Be,4,2,"ng-container",44),e.qZA()()),2&Ve){const tt=e.oxw().$implicit,Yt=e.oxw(4);e.xp6(1),e.Q6J("ngSwitch",tt.type),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.BOOLEAN)}}function $e(Ve,et){1&Ve&&(e.TgZ(0,"span",55),e._uU(1,"\xa0"),e.qZA())}function Ie(Ve,et){if(1&Ve&&(e.TgZ(0,"div",37)(1,"h4",38),e._uU(2),e.qZA(),e.YNc(3,rt,7,5,"span",39)(4,$e,2,0,"ng-template",null,40,e.W1O),e._UZ(6,"mat-divider",41),e.qZA()),2&Ve){const tt=et.$implicit,Yt=e.MAs(5);e.s9C("fxFlex.gt-md",tt.width),e.xp6(2),e.Oqu(tt.title),e.xp6(1),e.Q6J("ngIf",tt&&(!!tt.value||0===tt.value))("ngIfElse",Yt)}}function lt(Ve,et){if(1&Ve&&(e.TgZ(0,"div")(1,"div",35),e.YNc(2,Ie,7,4,"div",36),e.qZA()()),2&Ve){const tt=et.$implicit;e.xp6(2),e.Q6J("ngForOf",tt)}}function Qe(Ve,et){if(1&Ve&&(e.TgZ(0,"div",33),e.YNc(1,lt,3,1,"div",34),e.qZA()),2&Ve){const tt=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",tt.messageObjs)}}const St=Ve=>({"display-none":Ve});function dt(Ve,et){if(1&Ve&&(e.TgZ(0,"div",27)(1,"div",28),e.YNc(2,xe,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",29),e.YNc(4,le,2,1,"p",30)(5,Qe,2,1,"div",31),e.qZA()()),2&Ve){const tt=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(4,St,""===tt.showQRField||tt.screenSize!==tt.screenSizeEnum.XS&&tt.screenSize!==tt.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==tt.showQRField),e.xp6(2),e.Q6J("ngIf",tt.data.titleMessage),e.xp6(1),e.Q6J("ngIf",(null==tt.messageObjs?null:tt.messageObjs.length)>0)}}let te=(()=>{class Ve{set container(tt){tt&&(this.scrollContainer=tt,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Yt=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Yt=>{this.scrollDirection="DOWN"})))}constructor(tt,Yt,ri,fn,Sn,an,sr){this.dialogRef=tt,this.data=Yt,this.logger=ri,this.snackBar=fn,this.commonService=Sn,this.renderer=an,this.router=sr,this.LoopStateEnum=k.Fq,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=k.n_,this.dataTypeEnum=k.Gi,this.screenSize="",this.screenSizeEnum=k.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===k.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs)}ngAfterViewChecked(){setTimeout(()=>{this.shouldScroll=this.scrollContainer&&this.scrollContainer.nativeElement&&this.scrollContainer.nativeElement.classList.value.includes("ps--active-y")},500)}onScroll(){this.scrollContainer.nativeElement.scrollTop="DOWN"===this.scrollDirection?this.scrollContainer.nativeElement.scrollTop+62.6:this.scrollContainer.nativeElement.scrollTop-62.6}onCopyField(tt){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+tt)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}static#e=this.\u0275fac=function(Yt){return new(Yt||Ve)(e.Y36(z.so),e.Y36(z.WI),e.Y36(K.mQ),e.Y36(X.ux),e.Y36(ie.v),e.Y36(e.Qsj),e.Y36(se.F0))};static#t=this.\u0275cmp=e.Xpm({type:Ve,selectors:[["rtl-alert-message"]],viewQuery:function(Yt,ri){if(1&Yt&&e.Gf(D,5),2&Yt){let fn;e.iGM(fn=e.CRH())&&(ri.container=fn.first)}},decls:21,vars:14,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],[3,"fxFlex"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["contentBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["tabindex","4","fxLayout","row","class","go-to-link",3,"matTooltip","click",4,"ngIf","ngIfElse"],["noStyleChild",""],["tabindex","4","fxLayout","row",1,"go-to-link",3,"matTooltip","click"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(Yt,ri){1&Yt&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,O,1,3,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),e._uU(7),e.qZA()(),e.TgZ(8,"button",7),e.NdJ("click",function(){return ri.onClose()}),e._uU(9,"X"),e.qZA()(),e.YNc(10,g,4,4,"ng-container",8)(11,R,3,1,"ng-container",8)(12,ct,4,2,"div",9),e.TgZ(13,"div",10),e.YNc(14,Ke,2,1,"button",11)(15,Je,2,1,"button",12)(16,ye,2,2,"button",13)(17,fe,2,1,"button",12)(18,de,2,2,"button",13),e.qZA()()(),e.YNc(19,dt,6,6,"ng-template",null,14,e.W1O)),2&Yt&&(e.xp6(1),e.Q6J("ngClass",e.VKq(12,St,""===ri.showQRField||ri.screenSize===ri.screenSizeEnum.XS||ri.screenSize===ri.screenSizeEnum.SM)),e.xp6(1),e.Q6J("ngIf",""!==ri.showQRField),e.xp6(1),e.Q6J("fxFlex",""===ri.showQRField||ri.screenSize===ri.screenSizeEnum.XS||ri.screenSize===ri.screenSizeEnum.SM?"100":"70"),e.xp6(4),e.Oqu(ri.data.alertTitle||ri.alertTypeEnum[ri.data.type]),e.xp6(3),e.Q6J("ngIf",ri.data.scrollable),e.xp6(1),e.Q6J("ngIf",!ri.data.scrollable),e.xp6(1),e.Q6J("ngIf",ri.data.scrollable&&ri.shouldScroll),e.xp6(2),e.Q6J("ngIf",(!ri.showQRField||""===ri.showQRField)&&""===ri.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==ri.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==ri.showCopyName),e.xp6(1),e.Q6J("ngIf",""!==ri.showQRField),e.xp6(1),e.Q6J("ngIf",""!==ri.showQRField))},dependencies:[ue.mk,ue.sg,ue.O5,ue.tP,ue.RF,ue.n9,ue.ED,B.xw,B.Wh,B.yH,ae.oO,z.ZT,Me.lW,Me.nh,J.dn,J.dk,he.Hw,S.d,n.gM,s.uU,f.$V,h.y,C.h,ue.JJ,ue.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]})}return Ve})();var Ue=p(590),Bt=p(9103),Ye=p(4221),je=p(6223),Ft=p(5597),xt=p(2032),Ot=p(5683),yt=p(6082);function at(Ve,et){if(1&Ve&&(e.TgZ(0,"div",18),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&Ve){const tt=e.oxw();e.xp6(1),e.Q6J("icon",tt.faExclamationTriangle),e.xp6(2),e.Oqu(tt.warningMessage)}}function Ee(Ve,et){if(1&Ve&&(e.TgZ(0,"div",20),e._UZ(1,"fa-icon",19),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&Ve){const tt=e.oxw();e.xp6(1),e.Q6J("icon",tt.faInfoCircle),e.xp6(2),e.Oqu(tt.informationMessage)}}function nt(Ve,et){if(1&Ve&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&Ve){const tt=e.oxw();e.xp6(1),e.Oqu(tt.data.titleMessage)}}function Ge(Ve,et){1&Ve&&e._UZ(0,"div",36),2&Ve&&e.Q6J("innerHTML",et.$implicit,e.oJD)}function Xe(Ve,et){if(1&Ve&&(e.ynx(0,34),e.YNc(1,Ge,1,1,"div",35),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngForOf",tt.value)}}function gt(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.ALo(2,"date"),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,1e3*tt.value,"dd/MMM/y HH:mm"))}}function Le(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.ALo(2,"number"),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,tt.value,"1.0-3"))}}function be(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(!0===tt.value?"True":"False")}}function $(Ve,et){if(1&Ve&&(e.ynx(0),e._uU(1),e.BQk()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.Oqu(tt.value)}}function ne(Ve,et){if(1&Ve&&(e.TgZ(0,"span")(1,"span",30),e.YNc(2,Xe,2,1,"ng-container",31)(3,gt,3,4,"ng-container",32)(4,Le,3,4,"ng-container",32)(5,be,2,1,"ng-container",32)(6,$,2,1,"ng-container",33),e.qZA()()),2&Ve){const tt=e.oxw().$implicit,Yt=e.oxw(3);e.xp6(1),e.Q6J("ngSwitch",tt.type),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.ARRAY),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.DATE_TIME),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.NUMBER),e.xp6(1),e.Q6J("ngSwitchCase",Yt.dataTypeEnum.BOOLEAN)}}function ke(Ve,et){1&Ve&&(e.TgZ(0,"span",37),e._uU(1,"\xa0"),e.qZA())}function Nt(Ve,et){if(1&Ve&&(e.TgZ(0,"div",25)(1,"h4",26),e._uU(2),e.qZA(),e.YNc(3,ne,7,5,"span",27)(4,ke,2,0,"ng-template",null,28,e.W1O),e._UZ(6,"mat-divider",29),e.qZA()),2&Ve){const tt=et.$implicit,Yt=e.MAs(5);e.s9C("fxFlex.gt-md",tt.width),e.xp6(2),e.Oqu(tt.title),e.xp6(1),e.Q6J("ngIf",tt&&(!!tt.value||0===tt.value))("ngIfElse",Yt)}}function At(Ve,et){if(1&Ve&&(e.TgZ(0,"div")(1,"div",23),e.YNc(2,Nt,7,4,"div",24),e.qZA()()),2&Ve){const tt=et.$implicit;e.xp6(2),e.Q6J("ngForOf",tt)}}function Wt(Ve,et){if(1&Ve&&(e.TgZ(0,"div"),e.YNc(1,At,3,1,"div",22),e.qZA()),2&Ve){const tt=e.oxw();e.xp6(1),e.Q6J("ngForOf",tt.messageObjs)}}function gi(Ve,et){if(1&Ve&&(e.TgZ(0,"p",21),e._uU(1),e.qZA()),2&Ve){const tt=e.oxw(2);e.xp6(1),e.Oqu(tt.data.titleMessage)}}function ei(Ve,et){if(1&Ve&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&Ve){const tt=e.oxw(2).$implicit;e.xp6(1),e.hij("",tt.placeholder," is required.")}}function $t(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"mat-form-field",41)(1,"mat-label"),e._uU(2),e.qZA(),e.TgZ(3,"input",42),e.NdJ("ngModelChange",function(ri){e.CHM(tt);const fn=e.oxw().$implicit;return e.KtG(fn.inputValue=ri)}),e.ALo(4,"lowercase"),e.qZA(),e.YNc(5,ei,2,1,"mat-error",11),e.TgZ(6,"mat-hint"),e._uU(7),e.qZA()()}if(2&Ve){const tt=e.oxw(),Yt=tt.$implicit,ri=tt.index;e.Q6J("fxFlex",Yt.width),e.xp6(2),e.Oqu(Yt.placeholder),e.xp6(1),e.MGl("name","input",ri,""),e.Q6J("autoFocus",0===ri)("min",Yt.min)("step",Yt.step)("type",e.lcZ(4,11,Yt.inputType))("tabindex",ri+1)("ngModel",Yt.inputValue),e.xp6(2),e.Q6J("ngIf",!Yt.inputValue),e.xp6(2),e.Oqu(Yt.hintFunction?Yt.hintFunction(Yt.inputValue):Yt.hintText)}}function Fi(Ve,et){if(1&Ve&&(e.ynx(0),e.YNc(1,$t,8,13,"mat-form-field",40),e.BQk()),2&Ve){const tt=et.$implicit,Yt=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!tt.advancedField||Yt.showAdvanced)}}function li(Ve,et){if(1&Ve&&(e.TgZ(0,"div",38),e.YNc(1,gi,2,1,"p",10),e.TgZ(2,"div",39),e.YNc(3,Fi,2,1,"ng-container",22),e.qZA()()),2&Ve){const tt=e.oxw();e.xp6(1),e.Q6J("ngIf",tt.data.titleMessage),e.xp6(2),e.Q6J("ngForOf",tt.getInputs)}}function ui(Ve,et){1&Ve&&(e.TgZ(0,"p"),e._uU(1,"Show Advanced"),e.qZA())}function un(Ve,et){1&Ve&&(e.TgZ(0,"p"),e._uU(1,"Hide Advanced"),e.qZA())}function Ki(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"button",43),e.NdJ("click",function(){e.CHM(tt);const ri=e.oxw();return e.KtG(ri.onShowAdvanced())}),e.YNc(1,ui,2,0,"p",27)(2,un,2,0,"ng-template",null,44,e.W1O),e.qZA()}if(2&Ve){const tt=e.MAs(3),Yt=e.oxw();e.xp6(1),e.Q6J("ngIf",!Yt.showAdvanced)("ngIfElse",tt)}}function Mi(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"button",45),e.NdJ("click",function(){e.CHM(tt);const ri=e.oxw();return e.KtG(ri.onClose(ri.getInputs))}),e._uU(1),e.qZA()}if(2&Ve){const tt=e.oxw();e.xp6(1),e.Oqu(tt.yesBtnText)}}function on(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"button",46),e.NdJ("click",function(){e.CHM(tt);const ri=e.oxw();return e.KtG(ri.onClose(!0))}),e._uU(1),e.qZA()}if(2&Ve){const tt=e.oxw();e.xp6(1),e.Oqu(tt.yesBtnText)}}let st=(()=>{class Ve{constructor(tt,Yt,ri,fn){this.dialogRef=tt,this.data=Yt,this.logger=ri,this.store=fn,this.faInfoCircle=Ue.sqG,this.faExclamationTriangle=Ue.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=k.n_,this.dataTypeEnum=k.Gi,this.getInputs=[{placeholder:"",inputType:k.Gi.STRING,inputValue:"",hintText:"",hintFunction:null,advancedField:!1}],this.showAdvanced=!1}ngOnInit(){this.informationMessage=this.data.informationMessage||"",this.warningMessage=this.data.warningMessage||"",this.flgShowInput=!!this.data.flgShowInput,this.getInputs=this.data.getInputs||[],this.noBtnText=this.data.noBtnText?this.data.noBtnText:"No",this.yesBtnText=this.data.yesBtnText?this.data.yesBtnText:"Yes",this.hasAdvanced=!!this.data.hasAdvanced&&this.data.hasAdvanced,this.messageObjs=this.data.message,this.data.type===k.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(tt){if(tt&&this.getInputs&&this.getInputs.some(Yt=>typeof Yt.inputValue>"u"))return!0;!this.showAdvanced&&tt.length&&(tt=tt?.reduce((Yt,ri)=>(ri.advancedField||Yt.push(ri),Yt),[])),this.store.dispatch((0,Bt.yb)({payload:tt}))}static#e=this.\u0275fac=function(Yt){return new(Yt||Ve)(e.Y36(z.so),e.Y36(z.WI),e.Y36(K.mQ),e.Y36(Ye.yh))};static#t=this.\u0275cmp=e.Xpm({type:Ve,selectors:[["rtl-confirmation-message"]],decls:21,vars:10,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","8","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","100","class","alert alert-warn",4,"ngIf"],["fxFlex","100","class","alert alert-info",4,"ngIf"],["fxLayoutAlign","start center","class","pb-1",4,"ngIf"],[4,"ngIf"],["fxLayout","column","class","bordered-box my-2 p-2",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center"],["mat-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],["mat-button","","color","primary","type","button","class","mr-1","tabindex","2",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click",4,"ngIf"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click",4,"ngIf"],["fxFlex","100",1,"alert","alert-warn"],[1,"mr-1","alert-icon",3,"icon"],["fxFlex","100",1,"alert","alert-info"],["fxLayoutAlign","start center",1,"pb-1"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],[1,"foreground-secondary-text",3,"ngSwitch"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["fxLayout","row wrap","fxLayoutAlign","space-between stretch"],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],["fxFlex","100",1,"foreground-secondary-text"],["fxLayout","column",1,"bordered-box","my-2","p-2"],["fxLayout","row wrap","fxLayoutAlign","space-between center"],[3,"fxFlex",4,"ngIf"],[3,"fxFlex"],["matInput","","required","",3,"autoFocus","name","min","step","type","tabindex","ngModel","ngModelChange"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["hideAdvancedText",""],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","3","default","",3,"click"],["autoFocus","","mat-button","","color","primary","type","submit","tabindex","4","default","",3,"click"]],template:function(Yt,ri){1&Yt&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return ri.onClose(!1)}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7),e.YNc(10,at,4,2,"div",8)(11,Ee,4,2,"div",9)(12,nt,2,1,"p",10)(13,Wt,2,1,"div",11)(14,li,4,2,"div",12),e.TgZ(15,"div",13)(16,"button",14),e.NdJ("click",function(){return ri.onClose(!1)}),e._uU(17),e.qZA(),e.YNc(18,Ki,4,2,"button",15)(19,Mi,2,1,"button",16)(20,on,2,1,"button",17),e.qZA()()()()()),2&Yt&&(e.xp6(5),e.Oqu(ri.data.alertTitle||ri.alertTypeEnum[ri.data.type]),e.xp6(5),e.Q6J("ngIf",ri.warningMessage&&""!==ri.warningMessage),e.xp6(1),e.Q6J("ngIf",ri.informationMessage&&""!==ri.informationMessage),e.xp6(1),e.Q6J("ngIf",ri.data.titleMessage&&!ri.flgShowInput),e.xp6(1),e.Q6J("ngIf",(null==ri.messageObjs?null:ri.messageObjs.length)>0),e.xp6(1),e.Q6J("ngIf",ri.flgShowInput),e.xp6(3),e.Oqu(ri.noBtnText),e.xp6(1),e.Q6J("ngIf",ri.hasAdvanced),e.xp6(1),e.Q6J("ngIf",ri.flgShowInput),e.xp6(1),e.Q6J("ngIf",!ri.flgShowInput))},dependencies:[ue.sg,ue.O5,ue.RF,ue.n9,ue.ED,je._Y,je.Fj,je.JJ,je.JL,je.Q7,je.On,je.F,Ft.BN,B.xw,B.Wh,B.yH,Me.lW,J.dn,J.dk,xt.Nt,Ot.KE,Ot.hX,Ot.bx,Ot.TO,S.d,C.h,yt.q,ue.i8,ue.JJ,ue.uU]})}return Ve})();var si=p(3315),Ce=p(8525),Mt=p(3680);function Ht(Ve,et){if(1&Ve&&(e.TgZ(0,"mat-option",23),e._uU(1),e.qZA()),2&Ve){const tt=et.$implicit;e.Q6J("value",tt),e.xp6(1),e.hij(" ",tt.infoName," ")}}function Dt(Ve,et){if(1&Ve){const tt=e.EpF();e.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),e.NdJ("valueChange",function(ri){e.CHM(tt);const fn=e.oxw();return e.KtG(fn.selInfoType=ri)}),e.YNc(3,Ht,2,2,"mat-option",22),e.qZA()()()}if(2&Ve){const tt=e.oxw();e.xp6(2),e.Q6J("value",tt.selInfoType),e.xp6(1),e.Q6J("ngForOf",tt.infoTypes)}}const kt=Ve=>({"display-none":Ve});let Gt=(()=>{class Ve{constructor(tt,Yt,ri,fn,Sn){this.dialogRef=tt,this.data=Yt,this.logger=ri,this.snackBar=fn,this.commonService=Sn,this.faReceipt=Ue.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=k.cu}ngOnInit(){this.information=this.data.information,this.information.uris&&(1===this.information.uris.length?this.infoTypes.push({infoID:1,infoKey:"node URI",infoName:"Node URI"}):this.information.uris.length>1&&this.information.uris.forEach((tt,Yt)=>{this.infoTypes.push({infoID:Yt+1,infoKey:"node URI "+(Yt+1),infoName:"Node URI "+(Yt+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(tt){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+tt)}static#e=this.\u0275fac=function(Yt){return new(Yt||Ve)(e.Y36(z.so),e.Y36(z.WI),e.Y36(K.mQ),e.Y36(X.ux),e.Y36(ie.v))};static#t=this.\u0275cmp=e.Xpm({type:Ve,selectors:[["rtl-show-pubkey"]],decls:26,vars:19,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"value","size","errorCorrectionLevel"],["fxFlex","100","fxFlex.gt-sm","70"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"],["fxLayout","row","fxLayoutAlign","end center",1,"mt-2"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(Yt,ri){1&Yt&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"qr-code",2),e.qZA(),e.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),e._UZ(6,"fa-icon",6),e.TgZ(7,"span",7),e._uU(8),e.qZA()(),e.TgZ(9,"button",8),e.NdJ("click",function(){return ri.onClose()}),e._uU(10,"X"),e.qZA()(),e.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),e._UZ(14,"qr-code",2),e.qZA(),e.YNc(15,Dt,4,2,"div",12),e.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),e._uU(19),e.qZA(),e.TgZ(20,"span",16),e._uU(21),e.qZA()()(),e._UZ(22,"mat-divider",17),e.TgZ(23,"div",18)(24,"button",19),e.NdJ("copied",function(Sn){return ri.onCopyPubkey(Sn)}),e._uU(25),e.qZA()()()()()()),2&Yt&&(e.xp6(1),e.Q6J("ngClass",e.VKq(15,kt,ri.screenSize===ri.screenSizeEnum.XS||ri.screenSize===ri.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===ri.selInfoType.infoID?ri.information.identity_pubkey:ri.information.uris[ri.selInfoType.infoID-1]),e.Q6J("size",ri.qrWidth)("errorCorrectionLevel","L"),e.xp6(4),e.Q6J("icon",ri.faReceipt),e.xp6(2),e.Oqu(ri.selInfoType.infoName),e.xp6(5),e.Q6J("ngClass",e.VKq(17,kt,ri.screenSize!==ri.screenSizeEnum.XS&&ri.screenSize!==ri.screenSizeEnum.SM)),e.xp6(1),e.s9C("value",0===ri.selInfoType.infoID?ri.information.identity_pubkey:ri.information.uris[ri.selInfoType.infoID-1]),e.Q6J("size",ri.qrWidth)("errorCorrectionLevel","L"),e.xp6(1),e.Q6J("ngIf",ri.information.uris&&ri.information.uris.length>0),e.xp6(4),e.Oqu(ri.selInfoType.infoName),e.xp6(2),e.Oqu(0===ri.selInfoType.infoID?ri.information.identity_pubkey:ri.information.uris[ri.selInfoType.infoID-1]),e.xp6(3),e.s9C("payload",0===ri.selInfoType.infoID?ri.information.identity_pubkey:ri.information.uris[ri.selInfoType.infoID-1]),e.xp6(1),e.hij("Copy ",ri.selInfoType.infoKey,""))},dependencies:[ue.mk,ue.sg,ue.O5,Ft.BN,B.xw,B.Wh,B.yH,ae.oO,Me.lW,J.dn,J.dk,Ot.KE,S.d,Ce.gD,Mt.ey,s.uU,h.y,C.h]})}return Ve})();var oi=p(9191),bi=p(234),yi=p(2249),Oi=p(4818),Ui=p(9862),Bi=p(2285),qt=p(5813),xi=p(6046);let Se=(()=>{class Ve{constructor(tt,Yt,ri,fn,Sn,an,sr,Jr,Ar,Yr,$r){this.actions=tt,this.httpClient=Yt,this.store=ri,this.logger=fn,this.wsService=Sn,this.sessionService=an,this.commonService=sr,this.dataService=Jr,this.dialog=Ar,this.snackBar=Yr,this.router=$r,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new y.x,new y.x],this.closeAllDialogs=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.CLOSE_ALL_DIALOGS),(0,m.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.OPEN_SNACK_BAR),(0,m.U)(Ni=>{"string"==typeof Ni.payload?this.snackBar.open(Ni.payload):this.snackBar.open(Ni.payload.message,"","ERROR"===Ni.payload.type?{duration:Ni.payload.duration?Ni.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Ni.payload.type?{duration:Ni.payload.duration?Ni.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Ni.payload.duration?Ni.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.OPEN_SPINNER),(0,m.U)(Ni=>{Ni.payload!==k.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(j,{panelClass:"spinner-dialog-panel",data:{titleMessage:Ni.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.CLOSE_SPINNER),(0,m.U)(Ni=>{if(Ni.payload!==k.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Ni.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(zt=>{zt.componentInstance&&zt.componentInstance.data&&zt.componentInstance.data.titleMessage&&zt.componentInstance.data.titleMessage===Ni.payload&&zt.close()})}catch(zt){this.logger.error(zt)}})),{dispatch:!1}),this.openAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.OPEN_ALERT),(0,m.U)(Ni=>{const zt=JSON.parse(JSON.stringify(Ni.payload));zt.width||(zt.width=this.alertWidth),this.dialogRef=this.dialog.open(Ni.payload.data.component?Ni.payload.data.component:te,zt)})),{dispatch:!1}),this.closeAlert=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.CLOSE_ALERT),(0,m.U)(Ni=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ni.payload),Ni.payload))),{dispatch:!1}),this.openConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.OPEN_CONFIRMATION),(0,m.U)(Ni=>{const zt=JSON.parse(JSON.stringify(Ni.payload));zt.width||(zt.width=this.confirmWidth),this.dialogRef=this.dialog.open(st,zt)})),{dispatch:!1}),this.closeConfirm=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.CLOSE_CONFIRMATION),(0,P.q)(1),(0,m.U)(Ni=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ni.payload),Ni.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.SHOW_PUBKEY),(0,d.M)(this.store.select(Oi.R4)),(0,E.z)(([Ni,zt])=>(this.sessionService.getItem("token")&&zt.identity_pubkey?this.store.dispatch((0,Bt.qR)({payload:{data:{information:zt,component:Gt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,A.of)({type:k.pg.VOID}))))),this.appConfigFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.FETCH_RTL_CONFIG),(0,E.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===k.cu.XS||this.screenSize===k.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===k.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,Bt.ac)({payload:k.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Bt.qi)({payload:{action:"FetchRTLConfig",status:k.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(k.vv.CONF_API+"/rtlconf"):this.httpClient.get(k.vv.CONF_API+"/rtlconfinit"))),(0,m.U)(Ni=>{this.logger.info(Ni),this.store.dispatch((0,Bt.uO)({payload:k.m6.GET_RTL_CONFIG})),this.store.dispatch((0,Bt.qi)({payload:{action:"FetchRTLConfig",status:k.Bn.COMPLETED}}));let zt=null;return Ni.nodes.forEach(pi=>{pi.settings.currencyUnits=[...k.uA,pi.settings?.currencyUnit?pi.settings?.currencyUnit:""],+(pi.index||-1)===Ni.selectedNodeIndex&&(zt=pi)}),zt?(this.store.dispatch((0,Bt.fk)({payload:{uiMessage:k.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:zt,isInitialSetup:!0}})),{type:k.pg.SET_RTL_CONFIG,payload:Ni}):{type:k.pg.VOID}}),(0,M.K)(Ni=>(this.handleErrorWithAlert("FetchRTLConfig",k.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",k.vv.CONF_API,Ni),(0,A.of)({type:k.pg.VOID}))))),this.settingSave=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.SAVE_SETTINGS),(0,E.z)(Ni=>{this.store.dispatch((0,Bt.ac)({payload:Ni.payload.uiMessage})),this.store.dispatch((0,Bt.qi)({payload:{action:"UpdateSettings",status:k.Bn.INITIATED}}));let zt=new l.y;if(Ni.payload.settings&&Ni.payload.defaultNodeIndex){const pi=this.httpClient.post(k.vv.CONF_API,{updatedSettings:Ni.payload.settings}),_i=this.httpClient.post(k.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Ni.payload.defaultNodeIndex});zt=(0,w.D)([pi,_i])}else Ni.payload.settings&&!Ni.payload.defaultNodeIndex?zt=this.httpClient.post(k.vv.CONF_API,{updatedSettings:Ni.payload.settings}):!Ni.payload.settings&&Ni.payload.defaultNodeIndex&&(zt=this.httpClient.post(k.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Ni.payload.defaultNodeIndex}));return zt.pipe((0,m.U)(pi=>(this.logger.info(pi),this.store.dispatch((0,Bt.qi)({payload:{action:"UpdateSettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,Bt.uO)({payload:Ni.payload.uiMessage})),{type:k.pg.OPEN_SNACK_BAR,payload:pi.length?pi[0].message+".":pi.message+"."})),(0,M.K)(pi=>(this.handleErrorWithAlert("UpdateSettings",Ni.payload.uiMessage,"Update Settings Failed!",k.vv.CONF_API,pi.length?pi[0]:pi),(0,A.of)({type:k.pg.VOID}))))}))),this.updateServicesettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.UPDATE_SERVICE_SETTINGS),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.ac)({payload:Ni.payload.uiMessage})),this.store.dispatch((0,Bt.qi)({payload:{action:"UpdateServiceSettings",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.CONF_API+"/updateServiceSettings",Ni.payload).pipe((0,m.U)(zt=>(this.logger.info(zt),this.store.dispatch((0,Bt.qi)({payload:{action:"UpdateServiceSettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,Bt.uO)({payload:Ni.payload.uiMessage})),this.store.dispatch((0,Bt.Tm)({payload:Ni.payload})),{type:k.pg.OPEN_SNACK_BAR,payload:zt.message+"."})),(0,M.K)(zt=>(this.handleErrorWithAlert("UpdateServiceSettings",Ni.payload.uiMessage,"Update Service Settings Failed!",k.vv.CONF_API,zt),(0,A.of)({type:k.pg.VOID})))))))),this.twoFASettingSave=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.TWO_FA_SAVE_SETTINGS),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.ac)({payload:k.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Bt.qi)({payload:{action:"Update2FASettings",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.CONF_API+"/update2FA",{secret2fa:Ni.payload.secret2fa}))),(0,d.M)(this.store.select(Oi.Yj)),(0,m.U)(([Ni,zt])=>{this.logger.info(Ni),zt.enable2FA=!zt.enable2FA,this.store.dispatch((0,Bt.qi)({payload:{action:"Update2FASettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,Bt.uO)({payload:k.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,Bt.XT)({payload:zt}))}),(0,M.K)(Ni=>(this.handleErrorWithAlert("Update2FASettings",k.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",k.vv.CONF_API,Ni),(0,A.of)({type:k.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.FETCH_CONFIG),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.ac)({payload:k.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,Bt.qi)({payload:{action:"fetchConfig",status:k.Bn.INITIATED}})),this.httpClient.get(k.vv.CONF_API+"/config/"+Ni.payload).pipe((0,m.U)(zt=>(this.store.dispatch((0,Bt.qi)({payload:{action:"fetchConfig",status:k.Bn.COMPLETED}})),this.store.dispatch((0,Bt.uO)({payload:k.m6.OPEN_CONFIG_FILE})),{type:k.pg.SHOW_CONFIG,payload:zt})),(0,M.K)(zt=>(this.handleErrorWithAlert("fetchConfig",k.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",k.vv.CONF_API+"/config/"+Ni.payload,zt),(0,A.of)({type:k.pg.VOID})))))))),this.showLnConfig=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.SHOW_CONFIG),(0,m.U)(Ni=>Ni.payload)),{dispatch:!1}),this.isAuthorized=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.IS_AUTHORIZED),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.qi)({payload:{action:"IsAuthorized",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API,{authenticateWith:Ni.payload&&""!==Ni.payload.trim()?k.OJ.PASSWORD:k.OJ.JWT,authenticationValue:Ni.payload&&""!==Ni.payload.trim()?Ni.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,m.U)(zt=>(this.logger.info(zt),this.store.dispatch((0,Bt.qi)({payload:{action:"IsAuthorized",status:k.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:k.pg.IS_AUTHORIZED_RES,payload:zt})),(0,M.K)(zt=>(this.handleErrorWithAlert("IsAuthorized",k.m6.NO_SPINNER,"Authorization Failed",k.vv.AUTHENTICATE_API,zt),(0,A.of)({type:k.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.IS_AUTHORIZED_RES),(0,m.U)(Ni=>Ni.payload)),{dispatch:!1}),this.authLogin=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.LOGIN),(0,d.M)(this.store.select(Oi.Yj)),(0,E.z)(([Ni,zt])=>(this.store.dispatch((0,oi.Ll)({payload:null})),this.store.dispatch((0,bi.mI)({payload:null})),this.store.dispatch((0,yi.Fd)({payload:null})),this.store.dispatch((0,Bt.qi)({payload:{action:"Login",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API,{authenticateWith:Ni.payload.password?k.OJ.PASSWORD:k.OJ.JWT,authenticationValue:Ni.payload.password?Ni.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Ni.payload.twoFAToken?Ni.payload.twoFAToken:""}).pipe((0,m.U)(pi=>{this.logger.info(pi),this.store.dispatch((0,Bt.qi)({payload:{action:"Login",status:k.Bn.COMPLETED}})),this.setLoggedInDetails(Ni.payload.defaultPassword,pi)}),(0,M.K)(pi=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",k.m6.NO_SPINNER,pi),+zt.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:pi.error&&pi.error.error?pi.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,A.of)({type:k.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.VERIFY_TWO_FA),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.ac)({payload:k.m6.VERIFY_TOKEN})),this.store.dispatch((0,Bt.qi)({payload:{action:"VerifyToken",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API+"/token",{authentication2FA:Ni.payload.token}).pipe((0,m.U)(zt=>{this.logger.info(zt),this.store.dispatch((0,Bt.uO)({payload:k.m6.VERIFY_TOKEN})),this.store.dispatch((0,Bt.qi)({payload:{action:"VerifyToken",status:k.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Ni.payload.authResponse)}),(0,M.K)(zt=>(this.handleErrorWithAlert("VerifyToken",k.m6.VERIFY_TOKEN,"Authorization Failed!",k.vv.AUTHENTICATE_API+"/token",zt),(0,A.of)({type:k.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.LOGOUT),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.ac)({payload:k.m6.LOG_OUT})),Ni.sso&&+Ni.sso.rtlSSO?window.location.href=Ni.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,Bt._V)({payload:{}})),this.store.dispatch((0,Bt.uO)({payload:k.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(k.vv.AUTHENTICATE_API+"/logout").pipe((0,m.U)(zt=>{this.logger.info(zt),this.store.dispatch((0,Bt.uO)({payload:k.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.GW)(()=>this.actions.pipe((0,I.R)(this.unSubs[1]),(0,t.l4)(k.pg.RESET_PASSWORD),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.qi)({payload:{action:"ResetPassword",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API+"/reset",{currPassword:Ni.payload.currPassword,newPassword:Ni.payload.newPassword}).pipe((0,I.R)(this.unSubs[0]),(0,m.U)(zt=>(this.logger.info(zt),this.store.dispatch((0,Bt.qi)({payload:{action:"ResetPassword",status:k.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,Bt.jW)({payload:"Password Reset Successful!"})),this.SetToken(zt.token),{type:k.pg.RESET_PASSWORD_RES,payload:zt.token})),(0,M.K)(zt=>(this.handleErrorWithAlert("ResetPassword",k.m6.NO_SPINNER,"Password Reset Failed!",k.vv.AUTHENTICATE_API+"/reset",zt),(0,A.of)({type:k.pg.VOID})))))))),this.setSelectedNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.SET_SELECTED_NODE),(0,E.z)(Ni=>(this.store.dispatch((0,Bt.ac)({payload:Ni.payload.uiMessage})),this.store.dispatch((0,Bt.qi)({payload:{action:"UpdateSelNode",status:k.Bn.INITIATED}})),this.httpClient.get(k.vv.CONF_API+"/updateSelNode/"+Ni.payload.currentLnNode?.index+"/"+Ni.payload.prevLnNodeIndex).pipe((0,m.U)(zt=>(this.logger.info(zt),this.store.dispatch((0,Bt.qi)({payload:{action:"UpdateSelNode",status:k.Bn.COMPLETED}})),this.store.dispatch((0,Bt.uO)({payload:Ni.payload.uiMessage})),this.initializeNode(Ni.payload.currentLnNode,Ni.payload.isInitialSetup),{type:k.pg.VOID})),(0,M.K)(zt=>(this.handleErrorWithAlert("UpdateSelNode",Ni.payload.uiMessage,"Update Selected Node Failed!",k.vv.CONF_API+"/updateSelNode",zt),(0,A.of)({type:k.pg.VOID})))))))),this.fetchFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.FETCH_FILE),(0,E.z)(Ni=>{this.store.dispatch((0,Bt.ac)({payload:k.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,Bt.qi)({payload:{action:"FetchFile",status:k.Bn.INITIATED}}));const zt="?channel="+Ni.payload.channelPoint+(Ni.payload.path?"&path="+Ni.payload.path:"");return this.httpClient.get(k.vv.CONF_API+"/file"+zt).pipe((0,m.U)(pi=>(this.store.dispatch((0,Bt.qi)({payload:{action:"FetchFile",status:k.Bn.COMPLETED}})),this.store.dispatch((0,Bt.uO)({payload:k.m6.DOWNLOAD_BACKUP_FILE})),{type:k.pg.SHOW_FILE,payload:pi})),(0,M.K)(pi=>(this.handleErrorWithAlert("fetchFile",k.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",k.vv.CONF_API+"/file"+zt,{status:this.commonService.extractErrorNumber(pi),error:{error:this.commonService.extractErrorCode(pi)}}),(0,A.of)({type:k.pg.VOID}))))}))),this.showFile=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(k.pg.SHOW_FILE),(0,m.U)(Ni=>Ni.payload)),{dispatch:!1})}initializeNode(tt,Yt){this.logger.info("Initializing node from RTL Effects.");const ri=Yt?"":"HOME",fn={userPersona:tt.settings.userPersona,channelBackupPath:tt.settings.channelBackupPath,unannouncedChannels:!!tt.settings.unannouncedChannels,selCurrencyUnit:tt.settings.currencyUnit,currencyUnits:k.uA,fiatConversion:tt.settings.fiatConversion,lnImplementation:tt.lnImplementation,swapServerUrl:tt.settings.swapServerUrl,boltzServerUrl:tt.settings.boltzServerUrl,enableOffers:tt.settings.enableOffers,enablePeerswap:tt.settings.enablePeerswap};if(tt.settings.fiatConversion&&tt.settings.currencyUnit&&(fn.currencyUnits=[...k.uA,tt.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,Bt.vI)({payload:tt})),this.store.dispatch((0,oi.Ll)({payload:fn})),this.store.dispatch((0,bi.mI)({payload:fn})),this.store.dispatch((0,yi.Fd)({payload:fn})),this.sessionService.getItem("token")){const Sn=tt.lnImplementation?tt.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Sn);const an=!(0,e.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":k.T5;switch(this.wsService.connectWebSocket(an?.replace(/^http/,"ws")+k.vv.Web_SOCKET_API,tt.index?tt.index.toString():"-1"),Sn){case"CLN":this.store.dispatch((0,bi.wD)()),this.store.dispatch((0,bi.W)({payload:{loadPage:ri}}));break;case"ECL":this.store.dispatch((0,yi.wD)()),this.store.dispatch((0,yi.iz)({payload:{loadPage:ri}}));break;default:this.store.dispatch((0,oi.wD)()),this.store.dispatch((0,oi.sQ)({payload:{loadPage:ri}}))}}}SetToken(tt){tt?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",tt)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(tt,Yt){this.logger.info("Successfully Authorized!"),this.SetToken(Yt.token),this.sessionService.setItem("defaultPassword",tt),tt?(this.store.dispatch((0,Bt.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,Bt.ey)())}handleErrorWithoutAlert(tt,Yt,ri){this.logger.error("ERROR IN: "+tt+"\n"+JSON.stringify(ri)),401===ri.status&&"Login"!==tt?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bt.ts)()),this.store.dispatch((0,Bt.kS)()),this.store.dispatch((0,Bt.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,Bt.uO)({payload:Yt})),this.store.dispatch((0,Bt.qi)({payload:{action:tt,status:k.Bn.ERROR,statusCode:ri.status?ri.status.toString():"",message:this.commonService.extractErrorMessage(ri)}})))}handleErrorWithAlert(tt,Yt,ri,fn,Sn){if(this.logger.error(Sn),0===Sn.status&&Sn.statusText&&"Unknown Error"===Sn.statusText&&(Sn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Sn.status&&"Login"!==tt)this.logger.info("Redirecting to Login"),this.store.dispatch((0,Bt.ts)()),this.store.dispatch((0,Bt.kS)()),this.store.dispatch((0,Bt.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,Bt.uO)({payload:Yt}));const an=this.commonService.extractErrorMessage(Sn);this.store.dispatch((0,Bt.qR)({payload:{data:{type:"ERROR",alertTitle:ri,message:{code:Sn.status?Sn.status:"Unknown Error",message:an,URL:fn},component:si.H}}})),this.store.dispatch((0,Bt.qi)({payload:{action:tt,status:k.Bn.ERROR,statusCode:Sn.status?Sn.status.toString():"",message:an,URL:fn}}))}}ngOnDestroy(){this.unSubs.forEach(tt=>{tt.next(null),tt.complete()})}static#e=this.\u0275fac=function(Yt){return new(Yt||Ve)(e.LFG(t.eX),e.LFG(Ui.eN),e.LFG(Ye.yh),e.LFG(K.mQ),e.LFG(Bi.d),e.LFG(qt.m),e.LFG(ie.v),e.LFG(xi.D),e.LFG(z.uw),e.LFG(X.ux),e.LFG(se.F0))};static#t=this.\u0275prov=e.Yz7({token:Ve,factory:Ve.\u0275fac})}return Ve})()},4818:(Fe,q,p)=>{"use strict";p.d(q,{R4:()=>w,Sr:()=>P,Yj:()=>l,dT:()=>A,gW:()=>d,ul:()=>m});var e=p(4221);const t=(0,e.ZF)("root"),A=((0,e.P1)(t,E=>E.apiURL),(0,e.P1)(t,E=>E.selNode)),l=(0,e.P1)(t,E=>E.appConfig),w=(0,e.P1)(t,E=>E.nodeData),m=(0,e.P1)(t,E=>E.apisCallStatus.Login),P=(0,e.P1)(t,E=>E.apisCallStatus.IsAuthorized),d=(0,e.P1)(t,E=>({nodeDate:E.nodeData,selNode:E.selNode}))},9941:(Fe,q,p)=>{"use strict";var e=p(6593),t=p(9212),y=p(6825);function l(N){return new t.vHH(3e3,!1)}function ct(N){switch(N.length){case 0:return new y.ZN;case 1:return N[0];default:return new y.ZE(N)}}function Ke(N,V,b=new Map,G=new Map){const Z=[],He=[];let Pt=-1,ti=null;if(V.forEach(fi=>{const wi=fi.get("offset"),dn=wi==Pt,Qi=dn&&ti||new Map;fi.forEach((zn,On)=>{let pn=On,kn=zn;if("offset"!==On)switch(pn=N.normalizePropertyName(pn,Z),kn){case y.k1:kn=b.get(On);break;case y.l3:kn=G.get(On);break;default:kn=N.normalizeStyleValue(On,pn,kn,Z)}Qi.set(pn,kn)}),dn||He.push(Qi),ti=Qi,Pt=wi}),Z.length)throw function s(N){return new t.vHH(3502,!1)}();return He}function Je(N,V,b,G){switch(V){case"start":N.onStart(()=>G(b&&ye(b,"start",N)));break;case"done":N.onDone(()=>G(b&&ye(b,"done",N)));break;case"destroy":N.onDestroy(()=>G(b&&ye(b,"destroy",N)))}}function ye(N,V,b){const He=fe(N.element,N.triggerName,N.fromState,N.toState,V||N.phaseName,b.totalTime??N.totalTime,!!b.disabled),Pt=N._data;return null!=Pt&&(He._data=Pt),He}function fe(N,V,b,G,Z="",He=0,Pt){return{element:N,triggerName:V,fromState:b,toState:G,phaseName:Z,totalTime:He,disabled:!!Pt}}function de(N,V,b){let G=N.get(V);return G||N.set(V,G=b),G}function xe(N){const V=N.indexOf(":");return[N.substring(1,V),N.slice(V+1)]}const le=(()=>typeof document>"u"?null:document.documentElement)();function pe(N){const V=N.parentNode||N.host||null;return V===le?null:V}let re=null,ve=!1;function Ct(N,V){for(;V;){if(V===N)return!0;V=pe(V)}return!1}function ut(N,V,b){if(b)return Array.from(N.querySelectorAll(V));const G=N.querySelector(V);return G?[G]:[]}let Ae=(()=>{class N{validateStyleProperty(b){return function ce(N){re||(re=function We(){return typeof document<"u"?document.body:null}()||{},ve=!!re.style&&"WebkitAppearance"in re.style);let V=!0;return re.style&&!function qe(N){return"ebkit"==N.substring(1,6)}(N)&&(V=N in re.style,!V&&ve&&(V="Webkit"+N.charAt(0).toUpperCase()+N.slice(1)in re.style)),V}(b)}matchesElement(b,G){return!1}containsElement(b,G){return Ct(b,G)}getParentElement(b){return pe(b)}query(b,G,Z){return ut(b,G,Z)}computeStyle(b,G,Z){return Z||""}animate(b,G,Z,He,Pt,ti=[],fi){return new y.ZN(Z,He)}static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})(),Be=(()=>{class N{static#e=this.NOOP=new Ae}return N})();class rt{}const Ie=1e3,St="ng-enter",dt="ng-leave",te="ng-trigger",Ue=".ng-trigger",Bt="ng-animating",Ye=".ng-animating";function je(N){if("number"==typeof N)return N;const V=N.match(/^(-?[\.\d]+)(m?s)/);return!V||V.length<2?0:Ft(parseFloat(V[1]),V[2])}function Ft(N,V){return"s"===V?N*Ie:N}function xt(N,V,b){return N.hasOwnProperty("duration")?N:function Ot(N,V,b){let Z,He=0,Pt="";if("string"==typeof N){const ti=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ti)return V.push(l()),{duration:0,delay:0,easing:""};Z=Ft(parseFloat(ti[1]),ti[2]);const fi=ti[3];null!=fi&&(He=Ft(parseFloat(fi),ti[4]));const wi=ti[5];wi&&(Pt=wi)}else Z=N;if(!b){let ti=!1,fi=V.length;Z<0&&(V.push(function w(){return new t.vHH(3100,!1)}()),ti=!0),He<0&&(V.push(function m(){return new t.vHH(3101,!1)}()),ti=!0),ti&&V.splice(fi,0,l())}return{duration:Z,delay:He,easing:Pt}}(N,V,b)}function yt(N,V={}){return Object.keys(N).forEach(b=>{V[b]=N[b]}),V}function at(N){const V=new Map;return Object.keys(N).forEach(b=>{V.set(b,N[b])}),V}function Ge(N,V=new Map,b){if(b)for(let[G,Z]of b)V.set(G,Z);for(let[G,Z]of N)V.set(G,Z);return V}function Xe(N,V,b){V.forEach((G,Z)=>{const He=Wt(Z);b&&!b.has(Z)&&b.set(Z,N.style[He]),N.style[He]=G})}function gt(N,V){V.forEach((b,G)=>{const Z=Wt(G);N.style[Z]=""})}function Le(N){return Array.isArray(N)?1==N.length?N[0]:(0,y.vP)(N):N}const $=new RegExp("{{\\s*(.+?)\\s*}}","g");function ne(N){let V=[];if("string"==typeof N){let b;for(;b=$.exec(N);)V.push(b[1]);$.lastIndex=0}return V}function ke(N,V,b){const G=N.toString(),Z=G.replace($,(He,Pt)=>{let ti=V[Pt];return null==ti&&(b.push(function d(N){return new t.vHH(3003,!1)}()),ti=""),ti.toString()});return Z==G?N:Z}function Nt(N){const V=[];let b=N.next();for(;!b.done;)V.push(b.value),b=N.next();return V}const At=/-+([a-z0-9])/g;function Wt(N){return N.replace(At,(...V)=>V[1].toUpperCase())}function Fi(N,V,b){switch(V.type){case 7:return N.visitTrigger(V,b);case 0:return N.visitState(V,b);case 1:return N.visitTransition(V,b);case 2:return N.visitSequence(V,b);case 3:return N.visitGroup(V,b);case 4:return N.visitAnimate(V,b);case 5:return N.visitKeyframes(V,b);case 6:return N.visitStyle(V,b);case 8:return N.visitReference(V,b);case 9:return N.visitAnimateChild(V,b);case 10:return N.visitAnimateRef(V,b);case 11:return N.visitQuery(V,b);case 12:return N.visitStagger(V,b);default:throw function E(N){return new t.vHH(3004,!1)}()}}function li(N,V){return window.getComputedStyle(N)[V]}const ui=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class un extends rt{normalizePropertyName(V,b){return Wt(V)}normalizeStyleValue(V,b,G,Z){let He="";const Pt=G.toString().trim();if(ui.has(b)&&0!==G&&"0"!==G)if("number"==typeof G)He="px";else{const ti=G.match(/^[+-]?[\d\.]+([a-z]*)$/);ti&&0==ti[1].length&&Z.push(function M(N,V){return new t.vHH(3005,!1)}())}return Pt+He}}const Mt="*";function Ht(N,V){const b=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach(G=>function Dt(N,V,b){if(":"==N[0]){const fi=function kt(N,V){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(b,G)=>parseFloat(G)>parseFloat(b);case":decrement":return(b,G)=>parseFloat(G) *"}}(N,b);if("function"==typeof fi)return void V.push(fi);N=fi}const G=N.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==G||G.length<4)return b.push(function Me(N){return new t.vHH(3015,!1)}()),V;const Z=G[1],He=G[2],Pt=G[3];V.push(bi(Z,Pt));"<"==He[0]&&!(Z==Mt&&Pt==Mt)&&V.push(bi(Pt,Z))}(G,b,V)):b.push(N),b}const Gt=new Set(["true","1"]),oi=new Set(["false","0"]);function bi(N,V){const b=Gt.has(N)||oi.has(N),G=Gt.has(V)||oi.has(V);return(Z,He)=>{let Pt=N==Mt||N==Z,ti=V==Mt||V==He;return!Pt&&b&&"boolean"==typeof Z&&(Pt=Z?Gt.has(N):oi.has(N)),!ti&&G&&"boolean"==typeof He&&(ti=He?Gt.has(V):oi.has(V)),Pt&&ti}}const Oi=new RegExp("s*:selfs*,?","g");function Ui(N,V,b,G){return new qt(N).build(V,b,G)}class qt{constructor(V){this._driver=V}build(V,b,G){const Z=new Ve(b);return this._resetContextStyleTimingState(Z),Fi(this,Le(V),Z)}_resetContextStyleTimingState(V){V.currentQuerySelector="",V.collectedStyles=new Map,V.collectedStyles.set("",new Map),V.currentTime=0}visitTrigger(V,b){let G=b.queryCount=0,Z=b.depCount=0;const He=[],Pt=[];return"@"==V.name.charAt(0)&&b.errors.push(function I(){return new t.vHH(3006,!1)}()),V.definitions.forEach(ti=>{if(this._resetContextStyleTimingState(b),0==ti.type){const fi=ti,wi=fi.name;wi.toString().split(/\s*,\s*/).forEach(dn=>{fi.name=dn,He.push(this.visitState(fi,b))}),fi.name=wi}else if(1==ti.type){const fi=this.visitTransition(ti,b);G+=fi.queryCount,Z+=fi.depCount,Pt.push(fi)}else b.errors.push(function k(){return new t.vHH(3007,!1)}())}),{type:7,name:V.name,states:He,transitions:Pt,queryCount:G,depCount:Z,options:null}}visitState(V,b){const G=this.visitStyle(V.styles,b),Z=V.options&&V.options.params||null;if(G.containsDynamicStyles){const He=new Set,Pt=Z||{};G.styles.forEach(ti=>{ti instanceof Map&&ti.forEach(fi=>{ne(fi).forEach(wi=>{Pt.hasOwnProperty(wi)||He.add(wi)})})}),He.size&&(Nt(He.values()),b.errors.push(function z(N,V){return new t.vHH(3008,!1)}()))}return{type:0,name:V.name,style:G,options:Z?{params:Z}:null}}visitTransition(V,b){b.queryCount=0,b.depCount=0;const G=Fi(this,Le(V.animation),b);return{type:1,matchers:Ht(V.expr,b.errors),animation:G,queryCount:b.queryCount,depCount:b.depCount,options:Yt(V.options)}}visitSequence(V,b){return{type:2,steps:V.steps.map(G=>Fi(this,G,b)),options:Yt(V.options)}}visitGroup(V,b){const G=b.currentTime;let Z=0;const He=V.steps.map(Pt=>{b.currentTime=G;const ti=Fi(this,Pt,b);return Z=Math.max(Z,b.currentTime),ti});return b.currentTime=Z,{type:3,steps:He,options:Yt(V.options)}}visitAnimate(V,b){const G=function tt(N,V){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return ri(xt(N,V).duration,0,"");const b=N;if(b.split(/\s+/).some(He=>"{"==He.charAt(0)&&"{"==He.charAt(1))){const He=ri(0,0,"");return He.dynamic=!0,He.strValue=b,He}const Z=xt(b,V);return ri(Z.duration,Z.delay,Z.easing)}(V.timings,b.errors);b.currentAnimateTimings=G;let Z,He=V.styles?V.styles:(0,y.oB)({});if(5==He.type)Z=this.visitKeyframes(He,b);else{let Pt=V.styles,ti=!1;if(!Pt){ti=!0;const wi={};G.easing&&(wi.easing=G.easing),Pt=(0,y.oB)(wi)}b.currentTime+=G.duration+G.delay;const fi=this.visitStyle(Pt,b);fi.isEmptyStep=ti,Z=fi}return b.currentAnimateTimings=null,{type:4,timings:G,style:Z,options:null}}visitStyle(V,b){const G=this._makeStyleAst(V,b);return this._validateStyleAst(G,b),G}_makeStyleAst(V,b){const G=[],Z=Array.isArray(V.styles)?V.styles:[V.styles];for(let ti of Z)"string"==typeof ti?ti===y.l3?G.push(ti):b.errors.push(new t.vHH(3002,!1)):G.push(at(ti));let He=!1,Pt=null;return G.forEach(ti=>{if(ti instanceof Map&&(ti.has("easing")&&(Pt=ti.get("easing"),ti.delete("easing")),!He))for(let fi of ti.values())if(fi.toString().indexOf("{{")>=0){He=!0;break}}),{type:6,styles:G,easing:Pt,offset:V.offset,containsDynamicStyles:He,options:null}}_validateStyleAst(V,b){const G=b.currentAnimateTimings;let Z=b.currentTime,He=b.currentTime;G&&He>0&&(He-=G.duration+G.delay),V.styles.forEach(Pt=>{"string"!=typeof Pt&&Pt.forEach((ti,fi)=>{const wi=b.collectedStyles.get(b.currentQuerySelector),dn=wi.get(fi);let Qi=!0;dn&&(He!=Z&&He>=dn.startTime&&Z<=dn.endTime&&(b.errors.push(function j(N,V,b,G,Z){return new t.vHH(3010,!1)}()),Qi=!1),He=dn.startTime),Qi&&wi.set(fi,{startTime:He,endTime:Z}),b.options&&function be(N,V,b){const G=V.params||{},Z=ne(N);Z.length&&Z.forEach(He=>{G.hasOwnProperty(He)||b.push(function P(N){return new t.vHH(3001,!1)}())})}(ti,b.options,b.errors)})})}visitKeyframes(V,b){const G={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(function K(){return new t.vHH(3011,!1)}()),G;let He=0;const Pt=[];let ti=!1,fi=!1,wi=0;const dn=V.steps.map(ha=>{const Ya=this._makeStyleAst(ha,b);let to=null!=Ya.offset?Ya.offset:function et(N){if("string"==typeof N)return null;let V=null;if(Array.isArray(N))N.forEach(b=>{if(b instanceof Map&&b.has("offset")){const G=b;V=parseFloat(G.get("offset")),G.delete("offset")}});else if(N instanceof Map&&N.has("offset")){const b=N;V=parseFloat(b.get("offset")),b.delete("offset")}return V}(Ya.styles),ja=0;return null!=to&&(He++,ja=Ya.offset=to),fi=fi||ja<0||ja>1,ti=ti||ja0&&He{const to=zn>0?Ya==On?1:zn*Ya:Pt[Ya],ja=to*Cr;b.currentTime=pn+kn.delay+ja,kn.duration=ja,this._validateStyleAst(ha,b),ha.offset=to,G.styles.push(ha)}),G}visitReference(V,b){return{type:8,animation:Fi(this,Le(V.animation),b),options:Yt(V.options)}}visitAnimateChild(V,b){return b.depCount++,{type:9,options:Yt(V.options)}}visitAnimateRef(V,b){return{type:10,animation:this.visitReference(V.animation,b),options:Yt(V.options)}}visitQuery(V,b){const G=b.currentQuerySelector,Z=V.options||{};b.queryCount++,b.currentQuery=V;const[He,Pt]=function xi(N){const V=!!N.split(/\s*,\s*/).find(b=>":self"==b);return V&&(N=N.replace(Oi,"")),N=N.replace(/@\*/g,Ue).replace(/@\w+/g,b=>Ue+"-"+b.slice(1)).replace(/:animating/g,Ye),[N,V]}(V.selector);b.currentQuerySelector=G.length?G+" "+He:He,de(b.collectedStyles,b.currentQuerySelector,new Map);const ti=Fi(this,Le(V.animation),b);return b.currentQuery=null,b.currentQuerySelector=G,{type:11,selector:He,limit:Z.limit||0,optional:!!Z.optional,includeSelf:Pt,animation:ti,originalSelector:V.selector,options:Yt(V.options)}}visitStagger(V,b){b.currentQuery||b.errors.push(function ue(){return new t.vHH(3013,!1)}());const G="full"===V.timings?{duration:0,delay:0,easing:"full"}:xt(V.timings,b.errors,!0);return{type:12,animation:Fi(this,Le(V.animation),b),timings:G,options:null}}}class Ve{constructor(V){this.errors=V,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Yt(N){return N?(N=yt(N)).params&&(N.params=function Se(N){return N?yt(N):null}(N.params)):N={},N}function ri(N,V,b){return{duration:N,delay:V,easing:b}}function fn(N,V,b,G,Z,He,Pt=null,ti=!1){return{type:1,element:N,keyframes:V,preStyleProps:b,postStyleProps:G,duration:Z,delay:He,totalTime:Z+He,easing:Pt,subTimeline:ti}}class Sn{constructor(){this._map=new Map}get(V){return this._map.get(V)||[]}append(V,b){let G=this._map.get(V);G||this._map.set(V,G=[]),G.push(...b)}has(V){return this._map.has(V)}clear(){this._map.clear()}}const Jr=new RegExp(":enter","g"),Yr=new RegExp(":leave","g");function $r(N,V,b,G,Z,He=new Map,Pt=new Map,ti,fi,wi=[]){return(new Ni).buildKeyframes(N,V,b,G,Z,He,Pt,ti,fi,wi)}class Ni{buildKeyframes(V,b,G,Z,He,Pt,ti,fi,wi,dn=[]){wi=wi||new Sn;const Qi=new pi(V,b,wi,Z,He,dn,[]);Qi.options=fi;const zn=fi.delay?je(fi.delay):0;Qi.currentTimeline.delayNextStep(zn),Qi.currentTimeline.setStyles([Pt],null,Qi.errors,fi),Fi(this,G,Qi);const On=Qi.timelines.filter(pn=>pn.containsAnimation());if(On.length&&ti.size){let pn;for(let kn=On.length-1;kn>=0;kn--){const Cr=On[kn];if(Cr.element===b){pn=Cr;break}}pn&&!pn.allowOnlyTimelineStyles()&&pn.setStyles([ti],null,Qi.errors,fi)}return On.length?On.map(pn=>pn.buildKeyframes()):[fn(b,[],[],[],0,zn,"",!1)]}visitTrigger(V,b){}visitState(V,b){}visitTransition(V,b){}visitAnimateChild(V,b){const G=b.subInstructions.get(b.element);if(G){const Z=b.createSubContext(V.options),He=b.currentTimeline.currentTime,Pt=this._visitSubInstructions(G,Z,Z.options);He!=Pt&&b.transformIntoNewTimeline(Pt)}b.previousNode=V}visitAnimateRef(V,b){const G=b.createSubContext(V.options);G.transformIntoNewTimeline(),this._applyAnimationRefDelays([V.options,V.animation.options],b,G),this.visitReference(V.animation,G),b.transformIntoNewTimeline(G.currentTimeline.currentTime),b.previousNode=V}_applyAnimationRefDelays(V,b,G){for(const Z of V){const He=Z?.delay;if(He){const Pt="number"==typeof He?He:je(ke(He,Z?.params??{},b.errors));G.delayNextStep(Pt)}}}_visitSubInstructions(V,b,G){let He=b.currentTimeline.currentTime;const Pt=null!=G.duration?je(G.duration):null,ti=null!=G.delay?je(G.delay):null;return 0!==Pt&&V.forEach(fi=>{const wi=b.appendInstructionToTimeline(fi,Pt,ti);He=Math.max(He,wi.duration+wi.delay)}),He}visitReference(V,b){b.updateOptions(V.options,!0),Fi(this,V.animation,b),b.previousNode=V}visitSequence(V,b){const G=b.subContextCount;let Z=b;const He=V.options;if(He&&(He.params||He.delay)&&(Z=b.createSubContext(He),Z.transformIntoNewTimeline(),null!=He.delay)){6==Z.previousNode.type&&(Z.currentTimeline.snapshotCurrentStyles(),Z.previousNode=zt);const Pt=je(He.delay);Z.delayNextStep(Pt)}V.steps.length&&(V.steps.forEach(Pt=>Fi(this,Pt,Z)),Z.currentTimeline.applyStylesToKeyframe(),Z.subContextCount>G&&Z.transformIntoNewTimeline()),b.previousNode=V}visitGroup(V,b){const G=[];let Z=b.currentTimeline.currentTime;const He=V.options&&V.options.delay?je(V.options.delay):0;V.steps.forEach(Pt=>{const ti=b.createSubContext(V.options);He&&ti.delayNextStep(He),Fi(this,Pt,ti),Z=Math.max(Z,ti.currentTimeline.currentTime),G.push(ti.currentTimeline)}),G.forEach(Pt=>b.currentTimeline.mergeTimelineCollectedStyles(Pt)),b.transformIntoNewTimeline(Z),b.previousNode=V}_visitTiming(V,b){if(V.dynamic){const G=V.strValue;return xt(b.params?ke(G,b.params,b.errors):G,b.errors)}return{duration:V.duration,delay:V.delay,easing:V.easing}}visitAnimate(V,b){const G=b.currentAnimateTimings=this._visitTiming(V.timings,b),Z=b.currentTimeline;G.delay&&(b.incrementTime(G.delay),Z.snapshotCurrentStyles());const He=V.style;5==He.type?this.visitKeyframes(He,b):(b.incrementTime(G.duration),this.visitStyle(He,b),Z.applyStylesToKeyframe()),b.currentAnimateTimings=null,b.previousNode=V}visitStyle(V,b){const G=b.currentTimeline,Z=b.currentAnimateTimings;!Z&&G.hasCurrentStyleProperties()&&G.forwardFrame();const He=Z&&Z.easing||V.easing;V.isEmptyStep?G.applyEmptyStep(He):G.setStyles(V.styles,He,b.errors,b.options),b.previousNode=V}visitKeyframes(V,b){const G=b.currentAnimateTimings,Z=b.currentTimeline.duration,He=G.duration,ti=b.createSubContext().currentTimeline;ti.easing=G.easing,V.styles.forEach(fi=>{ti.forwardTime((fi.offset||0)*He),ti.setStyles(fi.styles,fi.easing,b.errors,b.options),ti.applyStylesToKeyframe()}),b.currentTimeline.mergeTimelineCollectedStyles(ti),b.transformIntoNewTimeline(Z+He),b.previousNode=V}visitQuery(V,b){const G=b.currentTimeline.currentTime,Z=V.options||{},He=Z.delay?je(Z.delay):0;He&&(6===b.previousNode.type||0==G&&b.currentTimeline.hasCurrentStyleProperties())&&(b.currentTimeline.snapshotCurrentStyles(),b.previousNode=zt);let Pt=G;const ti=b.invokeQuery(V.selector,V.originalSelector,V.limit,V.includeSelf,!!Z.optional,b.errors);b.currentQueryTotal=ti.length;let fi=null;ti.forEach((wi,dn)=>{b.currentQueryIndex=dn;const Qi=b.createSubContext(V.options,wi);He&&Qi.delayNextStep(He),wi===b.element&&(fi=Qi.currentTimeline),Fi(this,V.animation,Qi),Qi.currentTimeline.applyStylesToKeyframe(),Pt=Math.max(Pt,Qi.currentTimeline.currentTime)}),b.currentQueryIndex=0,b.currentQueryTotal=0,b.transformIntoNewTimeline(Pt),fi&&(b.currentTimeline.mergeTimelineCollectedStyles(fi),b.currentTimeline.snapshotCurrentStyles()),b.previousNode=V}visitStagger(V,b){const G=b.parentContext,Z=b.currentTimeline,He=V.timings,Pt=Math.abs(He.duration),ti=Pt*(b.currentQueryTotal-1);let fi=Pt*b.currentQueryIndex;switch(He.duration<0?"reverse":He.easing){case"reverse":fi=ti-fi;break;case"full":fi=G.currentStaggerTime}const dn=b.currentTimeline;fi&&dn.delayNextStep(fi);const Qi=dn.currentTime;Fi(this,V.animation,b),b.previousNode=V,G.currentStaggerTime=Z.currentTime-Qi+(Z.startTime-G.currentTimeline.startTime)}}const zt={};class pi{constructor(V,b,G,Z,He,Pt,ti,fi){this._driver=V,this.element=b,this.subInstructions=G,this._enterClassName=Z,this._leaveClassName=He,this.errors=Pt,this.timelines=ti,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=zt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=fi||new _i(this._driver,b,0),ti.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(V,b){if(!V)return;const G=V;let Z=this.options;null!=G.duration&&(Z.duration=je(G.duration)),null!=G.delay&&(Z.delay=je(G.delay));const He=G.params;if(He){let Pt=Z.params;Pt||(Pt=this.options.params={}),Object.keys(He).forEach(ti=>{(!b||!Pt.hasOwnProperty(ti))&&(Pt[ti]=ke(He[ti],Pt,this.errors))})}}_copyOptions(){const V={};if(this.options){const b=this.options.params;if(b){const G=V.params={};Object.keys(b).forEach(Z=>{G[Z]=b[Z]})}}return V}createSubContext(V=null,b,G){const Z=b||this.element,He=new pi(this._driver,Z,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Z,G||0));return He.previousNode=this.previousNode,He.currentAnimateTimings=this.currentAnimateTimings,He.options=this._copyOptions(),He.updateOptions(V),He.currentQueryIndex=this.currentQueryIndex,He.currentQueryTotal=this.currentQueryTotal,He.parentContext=this,this.subContextCount++,He}transformIntoNewTimeline(V){return this.previousNode=zt,this.currentTimeline=this.currentTimeline.fork(this.element,V),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(V,b,G){const Z={duration:b??V.duration,delay:this.currentTimeline.currentTime+(G??0)+V.delay,easing:""},He=new Ci(this._driver,V.element,V.keyframes,V.preStyleProps,V.postStyleProps,Z,V.stretchStartingKeyframe);return this.timelines.push(He),Z}incrementTime(V){this.currentTimeline.forwardTime(this.currentTimeline.duration+V)}delayNextStep(V){V>0&&this.currentTimeline.delayNextStep(V)}invokeQuery(V,b,G,Z,He,Pt){let ti=[];if(Z&&ti.push(this.element),V.length>0){V=(V=V.replace(Jr,"."+this._enterClassName)).replace(Yr,"."+this._leaveClassName);let wi=this._driver.query(this.element,V,1!=G);0!==G&&(wi=G<0?wi.slice(wi.length+G,wi.length):wi.slice(0,G)),ti.push(...wi)}return!He&&0==ti.length&&Pt.push(function ae(N){return new t.vHH(3014,!1)}()),ti}}class _i{constructor(V,b,G,Z){this._driver=V,this.element=b,this.startTime=G,this._elementTimelineStylesLookup=Z,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(b),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(b,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(V){const b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(this.forwardTime(this.currentTime+V),b&&this.snapshotCurrentStyles()):this.startTime+=V}fork(V,b){return this.applyStylesToKeyframe(),new _i(this._driver,V,b||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(V){this.applyStylesToKeyframe(),this.duration=V,this._loadKeyframe()}_updateStyle(V,b){this._localTimelineStyles.set(V,b),this._globalTimelineStyles.set(V,b),this._styleSummary.set(V,{time:this.currentTime,value:b})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(V){V&&this._previousKeyframe.set("easing",V);for(let[b,G]of this._globalTimelineStyles)this._backFill.set(b,G||y.l3),this._currentKeyframe.set(b,y.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(V,b,G,Z){b&&this._previousKeyframe.set("easing",b);const He=Z&&Z.params||{},Pt=function Ji(N,V){const b=new Map;let G;return N.forEach(Z=>{if("*"===Z){G=G||V.keys();for(let He of G)b.set(He,y.l3)}else Ge(Z,b)}),b}(V,this._globalTimelineStyles);for(let[ti,fi]of Pt){const wi=ke(fi,He,G);this._pendingStyles.set(ti,wi),this._localTimelineStyles.has(ti)||this._backFill.set(ti,this._globalTimelineStyles.get(ti)??y.l3),this._updateStyle(ti,wi)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((V,b)=>{this._currentKeyframe.set(b,V)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((V,b)=>{this._currentKeyframe.has(b)||this._currentKeyframe.set(b,V)}))}snapshotCurrentStyles(){for(let[V,b]of this._localTimelineStyles)this._pendingStyles.set(V,b),this._updateStyle(V,b)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const V=[];for(let b in this._currentKeyframe)V.push(b);return V}mergeTimelineCollectedStyles(V){V._styleSummary.forEach((b,G)=>{const Z=this._styleSummary.get(G);(!Z||b.time>Z.time)&&this._updateStyle(G,b.value)})}buildKeyframes(){this.applyStylesToKeyframe();const V=new Set,b=new Set,G=1===this._keyframes.size&&0===this.duration;let Z=[];this._keyframes.forEach((ti,fi)=>{const wi=Ge(ti,new Map,this._backFill);wi.forEach((dn,Qi)=>{dn===y.k1?V.add(Qi):dn===y.l3&&b.add(Qi)}),G||wi.set("offset",fi/this.duration),Z.push(wi)});const He=V.size?Nt(V.values()):[],Pt=b.size?Nt(b.values()):[];if(G){const ti=Z[0],fi=new Map(ti);ti.set("offset",0),fi.set("offset",1),Z=[ti,fi]}return fn(this.element,Z,He,Pt,this.duration,this.startTime,this.easing,!1)}}class Ci extends _i{constructor(V,b,G,Z,He,Pt,ti=!1){super(V,b,Pt.delay),this.keyframes=G,this.preStyleProps=Z,this.postStyleProps=He,this._stretchStartingKeyframe=ti,this.timings={duration:Pt.duration,delay:Pt.delay,easing:Pt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let V=this.keyframes,{delay:b,duration:G,easing:Z}=this.timings;if(this._stretchStartingKeyframe&&b){const He=[],Pt=G+b,ti=b/Pt,fi=Ge(V[0]);fi.set("offset",0),He.push(fi);const wi=Ge(V[0]);wi.set("offset",Gi(ti)),He.push(wi);const dn=V.length-1;for(let Qi=1;Qi<=dn;Qi++){let zn=Ge(V[Qi]);const On=zn.get("offset");zn.set("offset",Gi((b+On*G)/Pt)),He.push(zn)}G=Pt,b=0,Z="",V=He}return fn(this.element,V,this.preStyleProps,this.postStyleProps,G,b,Z,!0)}}function Gi(N,V=3){const b=Math.pow(10,V-1);return Math.round(N*b)/b}function yn(N,V,b,G,Z,He,Pt,ti,fi,wi,dn,Qi,zn){return{type:0,element:N,triggerName:V,isRemovalTransition:Z,fromState:b,fromStyles:He,toState:G,toStyles:Pt,timelines:ti,queriedElements:fi,preStyleProps:wi,postStyleProps:dn,totalTime:Qi,errors:zn}}const jn={};class Rn{constructor(V,b,G){this._triggerName=V,this.ast=b,this._stateStyles=G}match(V,b,G,Z){return function er(N,V,b,G,Z){return N.some(He=>He(V,b,G,Z))}(this.ast.matchers,V,b,G,Z)}buildStyles(V,b,G){let Z=this._stateStyles.get("*");return void 0!==V&&(Z=this._stateStyles.get(V?.toString())||Z),Z?Z.buildStyles(b,G):new Map}build(V,b,G,Z,He,Pt,ti,fi,wi,dn){const Qi=[],zn=this.ast.options&&this.ast.options.params||jn,pn=this.buildStyles(G,ti&&ti.params||jn,Qi),kn=fi&&fi.params||jn,Cr=this.buildStyles(Z,kn,Qi),ha=new Set,Ya=new Map,to=new Map,ja="void"===Z,jo={params:yr(kn,zn),delay:this.ast.options?.delay},Ns=dn?[]:$r(V,b,this.ast.animation,He,Pt,pn,Cr,jo,wi,Qi);let Po=0;if(Ns.forEach(Ks=>{Po=Math.max(Ks.duration+Ks.delay,Po)}),Qi.length)return yn(b,this._triggerName,G,Z,ja,pn,Cr,[],[],Ya,to,Po,Qi);Ns.forEach(Ks=>{const ms=Ks.element,hl=de(Ya,ms,new Set);Ks.preStyleProps.forEach(dc=>hl.add(dc));const ul=de(to,ms,new Set);Ks.postStyleProps.forEach(dc=>ul.add(dc)),ms!==b&&ha.add(ms)});const lc=Nt(ha.values());return yn(b,this._triggerName,G,Z,ja,pn,Cr,Ns,lc,Ya,to,Po)}}function yr(N,V){const b=yt(V);for(const G in N)N.hasOwnProperty(G)&&null!=N[G]&&(b[G]=N[G]);return b}class aa{constructor(V,b,G){this.styles=V,this.defaultParams=b,this.normalizer=G}buildStyles(V,b){const G=new Map,Z=yt(this.defaultParams);return Object.keys(V).forEach(He=>{const Pt=V[He];null!==Pt&&(Z[He]=Pt)}),this.styles.styles.forEach(He=>{"string"!=typeof He&&He.forEach((Pt,ti)=>{Pt&&(Pt=ke(Pt,Z,b));const fi=this.normalizer.normalizePropertyName(ti,b);Pt=this.normalizer.normalizeStyleValue(ti,fi,Pt,b),G.set(ti,Pt)})}),G}}class oa{constructor(V,b,G){this.name=V,this.ast=b,this._normalizer=G,this.transitionFactories=[],this.states=new Map,b.states.forEach(Z=>{this.states.set(Z.name,new aa(Z.style,Z.options&&Z.options.params||{},G))}),fr(this.states,"true","1"),fr(this.states,"false","0"),b.transitions.forEach(Z=>{this.transitionFactories.push(new Rn(V,Z,this.states))}),this.fallbackTransition=function Fa(N,V,b){return new Rn(N,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Pt,ti)=>!0],options:null,queryCount:0,depCount:0},V)}(V,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(V,b,G,Z){return this.transitionFactories.find(Pt=>Pt.match(V,b,G,Z))||null}matchStyles(V,b,G){return this.fallbackTransition.buildStyles(V,b,G)}}function fr(N,V,b){N.has(V)?N.has(b)||N.set(b,N.get(V)):N.has(b)&&N.set(V,N.get(b))}const Dr=new Sn;class Kn{constructor(V,b,G){this.bodyNode=V,this._driver=b,this._normalizer=G,this._animations=new Map,this._playersById=new Map,this.players=[]}register(V,b){const G=[],He=Ui(this._driver,b,G,[]);if(G.length)throw function f(N){return new t.vHH(3503,!1)}();this._animations.set(V,He)}_buildPlayer(V,b,G){const Z=V.element,He=Ke(this._normalizer,V.keyframes,b,G);return this._driver.animate(Z,He,V.duration,V.delay,V.easing,[],!0)}create(V,b,G={}){const Z=[],He=this._animations.get(V);let Pt;const ti=new Map;if(He?(Pt=$r(this._driver,b,He,St,dt,new Map,new Map,G,Dr,Z),Pt.forEach(dn=>{const Qi=de(ti,dn.element,new Map);dn.postStyleProps.forEach(zn=>Qi.set(zn,null))})):(Z.push(function h(){return new t.vHH(3300,!1)}()),Pt=[]),Z.length)throw function C(N){return new t.vHH(3504,!1)}();ti.forEach((dn,Qi)=>{dn.forEach((zn,On)=>{dn.set(On,this._driver.computeStyle(Qi,On,y.l3))})});const wi=ct(Pt.map(dn=>{const Qi=ti.get(dn.element);return this._buildPlayer(dn,new Map,Qi)}));return this._playersById.set(V,wi),wi.onDestroy(()=>this.destroy(V)),this.players.push(wi),wi}destroy(V){const b=this._getPlayer(V);b.destroy(),this._playersById.delete(V);const G=this.players.indexOf(b);G>=0&&this.players.splice(G,1)}_getPlayer(V){const b=this._playersById.get(V);if(!b)throw function D(N){return new t.vHH(3301,!1)}();return b}listen(V,b,G,Z){const He=fe(b,"","","");return Je(this._getPlayer(V),G,He,Z),()=>{}}command(V,b,G,Z){if("register"==G)return void this.register(V,Z[0]);if("create"==G)return void this.create(V,b,Z[0]||{});const He=this._getPlayer(V);switch(G){case"play":He.play();break;case"pause":He.pause();break;case"reset":He.reset();break;case"restart":He.restart();break;case"finish":He.finish();break;case"init":He.init();break;case"setPosition":He.setPosition(parseFloat(Z[0]));break;case"destroy":this.destroy(V)}}}const pa="ng-animate-queued",ga="ng-animate-disabled",jr=[],Ca={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},kr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},dr="__ng_removed";class Bn{get params(){return this.options.params}constructor(V,b=""){this.namespaceId=b;const G=V&&V.hasOwnProperty("value");if(this.value=function Oa(N){return N??null}(G?V.value:V),G){const He=yt(V);delete He.value,this.options=He}else this.options={};this.options.params||(this.options.params={})}absorbOptions(V){const b=V.params;if(b){const G=this.options.params;Object.keys(b).forEach(Z=>{null==G[Z]&&(G[Z]=b[Z])})}}}const wa="void",ao=new Bn(wa);class Tr{constructor(V,b,G){this.id=V,this.hostElement=b,this._engine=G,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+V,ca(b,this._hostClassName)}listen(V,b,G,Z){if(!this._triggers.has(b))throw function O(N,V){return new t.vHH(3302,!1)}();if(null==G||0==G.length)throw function v(N){return new t.vHH(3303,!1)}();if(!function oo(N){return"start"==N||"done"==N}(G))throw function r(N,V){return new t.vHH(3400,!1)}();const He=de(this._elementListeners,V,[]),Pt={name:b,phase:G,callback:Z};He.push(Pt);const ti=de(this._engine.statesByElement,V,new Map);return ti.has(b)||(ca(V,te),ca(V,te+"-"+b),ti.set(b,ao)),()=>{this._engine.afterFlush(()=>{const fi=He.indexOf(Pt);fi>=0&&He.splice(fi,1),this._triggers.has(b)||ti.delete(b)})}}register(V,b){return!this._triggers.has(V)&&(this._triggers.set(V,b),!0)}_getTrigger(V){const b=this._triggers.get(V);if(!b)throw function g(N){return new t.vHH(3401,!1)}();return b}trigger(V,b,G,Z=!0){const He=this._getTrigger(b),Pt=new ea(this.id,b,V);let ti=this._engine.statesByElement.get(V);ti||(ca(V,te),ca(V,te+"-"+b),this._engine.statesByElement.set(V,ti=new Map));let fi=ti.get(b);const wi=new Bn(G,this.id);if(!(G&&G.hasOwnProperty("value"))&&fi&&wi.absorbOptions(fi.options),ti.set(b,wi),fi||(fi=ao),wi.value!==wa&&fi.value===wi.value){if(!function _s(N,V){const b=Object.keys(N),G=Object.keys(V);if(b.length!=G.length)return!1;for(let Z=0;Z{gt(V,Cr),Xe(V,ha)})}return}const zn=de(this._engine.playersByElement,V,[]);zn.forEach(kn=>{kn.namespaceId==this.id&&kn.triggerName==b&&kn.queued&&kn.destroy()});let On=He.matchTransition(fi.value,wi.value,V,wi.params),pn=!1;if(!On){if(!Z)return;On=He.fallbackTransition,pn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:V,triggerName:b,transition:On,fromState:fi,toState:wi,player:Pt,isFallbackTransition:pn}),pn||(ca(V,pa),Pt.onStart(()=>{_a(V,pa)})),Pt.onDone(()=>{let kn=this.players.indexOf(Pt);kn>=0&&this.players.splice(kn,1);const Cr=this._engine.playersByElement.get(V);if(Cr){let ha=Cr.indexOf(Pt);ha>=0&&Cr.splice(ha,1)}}),this.players.push(Pt),zn.push(Pt),Pt}deregister(V){this._triggers.delete(V),this._engine.statesByElement.forEach(b=>b.delete(V)),this._elementListeners.forEach((b,G)=>{this._elementListeners.set(G,b.filter(Z=>Z.name!=V))})}clearElementCache(V){this._engine.statesByElement.delete(V),this._elementListeners.delete(V);const b=this._engine.playersByElement.get(V);b&&(b.forEach(G=>G.destroy()),this._engine.playersByElement.delete(V))}_signalRemovalForInnerTriggers(V,b){const G=this._engine.driver.query(V,Ue,!0);G.forEach(Z=>{if(Z[dr])return;const He=this._engine.fetchNamespacesByElement(Z);He.size?He.forEach(Pt=>Pt.triggerLeaveAnimation(Z,b,!1,!0)):this.clearElementCache(Z)}),this._engine.afterFlushAnimationsDone(()=>G.forEach(Z=>this.clearElementCache(Z)))}triggerLeaveAnimation(V,b,G,Z){const He=this._engine.statesByElement.get(V),Pt=new Map;if(He){const ti=[];if(He.forEach((fi,wi)=>{if(Pt.set(wi,fi.value),this._triggers.has(wi)){const dn=this.trigger(V,wi,wa,Z);dn&&ti.push(dn)}}),ti.length)return this._engine.markElementAsRemoved(this.id,V,!0,b,Pt),G&&ct(ti).onDone(()=>this._engine.processLeaveNode(V)),!0}return!1}prepareLeaveAnimationListeners(V){const b=this._elementListeners.get(V),G=this._engine.statesByElement.get(V);if(b&&G){const Z=new Set;b.forEach(He=>{const Pt=He.name;if(Z.has(Pt))return;Z.add(Pt);const fi=this._triggers.get(Pt).fallbackTransition,wi=G.get(Pt)||ao,dn=new Bn(wa),Qi=new ea(this.id,Pt,V);this._engine.totalQueuedPlayers++,this._queue.push({element:V,triggerName:Pt,transition:fi,fromState:wi,toState:dn,player:Qi,isFallbackTransition:!0})})}}removeNode(V,b){const G=this._engine;if(V.childElementCount&&this._signalRemovalForInnerTriggers(V,b),this.triggerLeaveAnimation(V,b,!0))return;let Z=!1;if(G.totalAnimations){const He=G.players.length?G.playersByQueriedElement.get(V):[];if(He&&He.length)Z=!0;else{let Pt=V;for(;Pt=Pt.parentNode;)if(G.statesByElement.get(Pt)){Z=!0;break}}}if(this.prepareLeaveAnimationListeners(V),Z)G.markElementAsRemoved(this.id,V,!1,b);else{const He=V[dr];(!He||He===Ca)&&(G.afterFlush(()=>this.clearElementCache(V)),G.destroyInnerAnimations(V),G._onRemovalComplete(V,b))}}insertNode(V,b){ca(V,this._hostClassName)}drainQueuedTransitions(V){const b=[];return this._queue.forEach(G=>{const Z=G.player;if(Z.destroyed)return;const He=G.element,Pt=this._elementListeners.get(He);Pt&&Pt.forEach(ti=>{if(ti.name==G.triggerName){const fi=fe(He,G.triggerName,G.fromState.value,G.toState.value);fi._data=V,Je(G.player,ti.phase,fi,ti.callback)}}),Z.markedForDestroy?this._engine.afterFlush(()=>{Z.destroy()}):b.push(G)}),this._queue=[],b.sort((G,Z)=>{const He=G.transition.ast.depCount,Pt=Z.transition.ast.depCount;return 0==He||0==Pt?He-Pt:this._engine.driver.containsElement(G.element,Z.element)?1:-1})}destroy(V){this.players.forEach(b=>b.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,V)}}class qo{_onRemovalComplete(V,b){this.onRemovalComplete(V,b)}constructor(V,b,G){this.bodyNode=V,this.driver=b,this._normalizer=G,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Z,He)=>{}}get queuedPlayers(){const V=[];return this._namespaceList.forEach(b=>{b.players.forEach(G=>{G.queued&&V.push(G)})}),V}createNamespace(V,b){const G=new Tr(V,b,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(G,b):(this.newHostElements.set(b,G),this.collectEnterElement(b)),this._namespaceLookup[V]=G}_balanceNamespaceList(V,b){const G=this._namespaceList,Z=this.namespacesByHostElement;if(G.length-1>=0){let Pt=!1,ti=this.driver.getParentElement(b);for(;ti;){const fi=Z.get(ti);if(fi){const wi=G.indexOf(fi);G.splice(wi+1,0,V),Pt=!0;break}ti=this.driver.getParentElement(ti)}Pt||G.unshift(V)}else G.push(V);return Z.set(b,V),V}register(V,b){let G=this._namespaceLookup[V];return G||(G=this.createNamespace(V,b)),G}registerTrigger(V,b,G){let Z=this._namespaceLookup[V];Z&&Z.register(b,G)&&this.totalAnimations++}destroy(V,b){V&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const G=this._fetchNamespace(V);this.namespacesByHostElement.delete(G.hostElement);const Z=this._namespaceList.indexOf(G);Z>=0&&this._namespaceList.splice(Z,1),G.destroy(b),delete this._namespaceLookup[V]}))}_fetchNamespace(V){return this._namespaceLookup[V]}fetchNamespacesByElement(V){const b=new Set,G=this.statesByElement.get(V);if(G)for(let Z of G.values())if(Z.namespaceId){const He=this._fetchNamespace(Z.namespaceId);He&&b.add(He)}return b}trigger(V,b,G,Z){if(_o(b)){const He=this._fetchNamespace(V);if(He)return He.trigger(b,G,Z),!0}return!1}insertNode(V,b,G,Z){if(!_o(b))return;const He=b[dr];if(He&&He.setForRemoval){He.setForRemoval=!1,He.setForMove=!0;const Pt=this.collectedLeaveElements.indexOf(b);Pt>=0&&this.collectedLeaveElements.splice(Pt,1)}if(V){const Pt=this._fetchNamespace(V);Pt&&Pt.insertNode(b,G)}Z&&this.collectEnterElement(b)}collectEnterElement(V){this.collectedEnterElements.push(V)}markElementAsDisabled(V,b){b?this.disabledNodes.has(V)||(this.disabledNodes.add(V),ca(V,ga)):this.disabledNodes.has(V)&&(this.disabledNodes.delete(V),_a(V,ga))}removeNode(V,b,G){if(_o(b)){const Z=V?this._fetchNamespace(V):null;Z?Z.removeNode(b,G):this.markElementAsRemoved(V,b,!1,G);const He=this.namespacesByHostElement.get(b);He&&He.id!==V&&He.removeNode(b,G)}else this._onRemovalComplete(b,G)}markElementAsRemoved(V,b,G,Z,He){this.collectedLeaveElements.push(b),b[dr]={namespaceId:V,setForRemoval:Z,hasAnimation:G,removedBeforeQueried:!1,previousTriggersValues:He}}listen(V,b,G,Z,He){return _o(b)?this._fetchNamespace(V).listen(b,G,Z,He):()=>{}}_buildInstruction(V,b,G,Z,He){return V.transition.build(this.driver,V.element,V.fromState.value,V.toState.value,G,Z,V.fromState.options,V.toState.options,b,He)}destroyInnerAnimations(V){let b=this.driver.query(V,Ue,!0);b.forEach(G=>this.destroyActiveAnimationsForElement(G)),0!=this.playersByQueriedElement.size&&(b=this.driver.query(V,Ye,!0),b.forEach(G=>this.finishActiveQueriedAnimationOnElement(G)))}destroyActiveAnimationsForElement(V){const b=this.playersByElement.get(V);b&&b.forEach(G=>{G.queued?G.markedForDestroy=!0:G.destroy()})}finishActiveQueriedAnimationOnElement(V){const b=this.playersByQueriedElement.get(V);b&&b.forEach(G=>G.finish())}whenRenderingDone(){return new Promise(V=>{if(this.players.length)return ct(this.players).onDone(()=>V());V()})}processLeaveNode(V){const b=V[dr];if(b&&b.setForRemoval){if(V[dr]=Ca,b.namespaceId){this.destroyInnerAnimations(V);const G=this._fetchNamespace(b.namespaceId);G&&G.clearElementCache(V)}this._onRemovalComplete(V,b.setForRemoval)}V.classList?.contains(ga)&&this.markElementAsDisabled(V,!1),this.driver.query(V,".ng-animate-disabled",!0).forEach(G=>{this.markElementAsDisabled(G,!1)})}flush(V=-1){let b=[];if(this.newHostElements.size&&(this.newHostElements.forEach((G,Z)=>this._balanceNamespaceList(G,Z)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let G=0;GG()),this._flushFns=[],this._whenQuietFns.length){const G=this._whenQuietFns;this._whenQuietFns=[],b.length?ct(b).onDone(()=>{G.forEach(Z=>Z())}):G.forEach(Z=>Z())}}reportError(V){throw function H(N){return new t.vHH(3402,!1)}()}_flushAnimations(V,b){const G=new Sn,Z=[],He=new Map,Pt=[],ti=new Map,fi=new Map,wi=new Map,dn=new Set;this.disabledNodes.forEach(vn=>{dn.add(vn);const Tn=this.driver.query(vn,".ng-animate-queued",!0);for(let Nn=0;Nn{const Nn=St+kn++;pn.set(Tn,Nn),vn.forEach(_r=>ca(_r,Nn))});const Cr=[],ha=new Set,Ya=new Set;for(let vn=0;vnha.add(_r)):Ya.add(Tn))}const to=new Map,ja=Kr(zn,Array.from(ha));ja.forEach((vn,Tn)=>{const Nn=dt+kn++;to.set(Tn,Nn),vn.forEach(_r=>ca(_r,Nn))}),V.push(()=>{On.forEach((vn,Tn)=>{const Nn=pn.get(Tn);vn.forEach(_r=>_a(_r,Nn))}),ja.forEach((vn,Tn)=>{const Nn=to.get(Tn);vn.forEach(_r=>_a(_r,Nn))}),Cr.forEach(vn=>{this.processLeaveNode(vn)})});const jo=[],Ns=[];for(let vn=this._namespaceList.length-1;vn>=0;vn--)this._namespaceList[vn].drainQueuedTransitions(b).forEach(Nn=>{const _r=Nn.player,Ka=Nn.element;if(jo.push(_r),this.collectedEnterElements.length){const no=Ka[dr];if(no&&no.setForMove){if(no.previousTriggersValues&&no.previousTriggersValues.has(Nn.triggerName)){const kc=no.previousTriggersValues.get(Nn.triggerName),is=this.statesByElement.get(Nn.element);if(is&&is.has(Nn.triggerName)){const fl=is.get(Nn.triggerName);fl.value=kc,is.set(Nn.triggerName,fl)}}return void _r.destroy()}}const io=!Qi||!this.driver.containsElement(Qi,Ka),Qa=to.get(Ka),uc=pn.get(Ka),ua=this._buildInstruction(Nn,G,uc,Qa,io);if(ua.errors&&ua.errors.length)return void Ns.push(ua);if(io)return _r.onStart(()=>gt(Ka,ua.fromStyles)),_r.onDestroy(()=>Xe(Ka,ua.toStyles)),void Z.push(_r);if(Nn.isFallbackTransition)return _r.onStart(()=>gt(Ka,ua.fromStyles)),_r.onDestroy(()=>Xe(Ka,ua.toStyles)),void Z.push(_r);const P0=[];ua.timelines.forEach(no=>{no.stretchStartingKeyframe=!0,this.disabledNodes.has(no.element)||P0.push(no)}),ua.timelines=P0,G.append(Ka,ua.timelines),Pt.push({instruction:ua,player:_r,element:Ka}),ua.queriedElements.forEach(no=>de(ti,no,[]).push(_r)),ua.preStyleProps.forEach((no,kc)=>{if(no.size){let is=fi.get(kc);is||fi.set(kc,is=new Set),no.forEach((fl,Kd)=>is.add(Kd))}}),ua.postStyleProps.forEach((no,kc)=>{let is=wi.get(kc);is||wi.set(kc,is=new Set),no.forEach((fl,Kd)=>is.add(Kd))})});if(Ns.length){const vn=[];Ns.forEach(Tn=>{vn.push(function ee(N,V){return new t.vHH(3505,!1)}())}),jo.forEach(Tn=>Tn.destroy()),this.reportError(vn)}const Po=new Map,lc=new Map;Pt.forEach(vn=>{const Tn=vn.element;G.has(Tn)&&(lc.set(Tn,Tn),this._beforeAnimationBuild(vn.player.namespaceId,vn.instruction,Po))}),Z.forEach(vn=>{const Tn=vn.element;this._getPreviousPlayers(Tn,!1,vn.namespaceId,vn.triggerName,null).forEach(_r=>{de(Po,Tn,[]).push(_r),_r.destroy()})});const Ks=Cr.filter(vn=>so(vn,fi,wi)),ms=new Map;vo(ms,this.driver,Ya,wi,y.l3).forEach(vn=>{so(vn,fi,wi)&&Ks.push(vn)});const ul=new Map;On.forEach((vn,Tn)=>{vo(ul,this.driver,new Set(vn),fi,y.k1)}),Ks.forEach(vn=>{const Tn=ms.get(vn),Nn=ul.get(vn);ms.set(vn,new Map([...Tn?.entries()??[],...Nn?.entries()??[]]))});const dc=[],Q1=[],hc={};Pt.forEach(vn=>{const{element:Tn,player:Nn,instruction:_r}=vn;if(G.has(Tn)){if(dn.has(Tn))return Nn.onDestroy(()=>Xe(Tn,_r.toStyles)),Nn.disabled=!0,Nn.overrideTotalTime(_r.totalTime),void Z.push(Nn);let Ka=hc;if(lc.size>1){let Qa=Tn;const uc=[];for(;Qa=Qa.parentNode;){const ua=lc.get(Qa);if(ua){Ka=ua;break}uc.push(Qa)}uc.forEach(ua=>lc.set(ua,Ka))}const io=this._buildAnimation(Nn.namespaceId,_r,Po,He,ul,ms);if(Nn.setRealPlayer(io),Ka===hc)dc.push(Nn);else{const Qa=this.playersByElement.get(Ka);Qa&&Qa.length&&(Nn.parentPlayer=ct(Qa)),Z.push(Nn)}}else gt(Tn,_r.fromStyles),Nn.onDestroy(()=>Xe(Tn,_r.toStyles)),Q1.push(Nn),dn.has(Tn)&&Z.push(Nn)}),Q1.forEach(vn=>{const Tn=He.get(vn.element);if(Tn&&Tn.length){const Nn=ct(Tn);vn.setRealPlayer(Nn)}}),Z.forEach(vn=>{vn.parentPlayer?vn.syncPlayerEvents(vn.parentPlayer):vn.destroy()});for(let vn=0;vn!io.destroyed);Ka.length?Fo(this,Tn,Ka):this.processLeaveNode(Tn)}return Cr.length=0,dc.forEach(vn=>{this.players.push(vn),vn.onDone(()=>{vn.destroy();const Tn=this.players.indexOf(vn);this.players.splice(Tn,1)}),vn.play()}),dc}afterFlush(V){this._flushFns.push(V)}afterFlushAnimationsDone(V){this._whenQuietFns.push(V)}_getPreviousPlayers(V,b,G,Z,He){let Pt=[];if(b){const ti=this.playersByQueriedElement.get(V);ti&&(Pt=ti)}else{const ti=this.playersByElement.get(V);if(ti){const fi=!He||He==wa;ti.forEach(wi=>{wi.queued||!fi&&wi.triggerName!=Z||Pt.push(wi)})}}return(G||Z)&&(Pt=Pt.filter(ti=>!(G&&G!=ti.namespaceId||Z&&Z!=ti.triggerName))),Pt}_beforeAnimationBuild(V,b,G){const He=b.element,Pt=b.isRemovalTransition?void 0:V,ti=b.isRemovalTransition?void 0:b.triggerName;for(const fi of b.timelines){const wi=fi.element,dn=wi!==He,Qi=de(G,wi,[]);this._getPreviousPlayers(wi,dn,Pt,ti,b.toState).forEach(On=>{const pn=On.getRealPlayer();pn.beforeDestroy&&pn.beforeDestroy(),On.destroy(),Qi.push(On)})}gt(He,b.fromStyles)}_buildAnimation(V,b,G,Z,He,Pt){const ti=b.triggerName,fi=b.element,wi=[],dn=new Set,Qi=new Set,zn=b.timelines.map(pn=>{const kn=pn.element;dn.add(kn);const Cr=kn[dr];if(Cr&&Cr.removedBeforeQueried)return new y.ZN(pn.duration,pn.delay);const ha=kn!==fi,Ya=function Va(N){const V=[];return Qr(N,V),V}((G.get(kn)||jr).map(Po=>Po.getRealPlayer())).filter(Po=>!!Po.element&&Po.element===kn),to=He.get(kn),ja=Pt.get(kn),jo=Ke(this._normalizer,pn.keyframes,to,ja),Ns=this._buildPlayer(pn,jo,Ya);if(pn.subTimeline&&Z&&Qi.add(kn),ha){const Po=new ea(V,ti,kn);Po.setRealPlayer(Ns),wi.push(Po)}return Ns});wi.forEach(pn=>{de(this.playersByQueriedElement,pn.element,[]).push(pn),pn.onDone(()=>function Ia(N,V,b){let G=N.get(V);if(G){if(G.length){const Z=G.indexOf(b);G.splice(Z,1)}0==G.length&&N.delete(V)}return G}(this.playersByQueriedElement,pn.element,pn))}),dn.forEach(pn=>ca(pn,Bt));const On=ct(zn);return On.onDestroy(()=>{dn.forEach(pn=>_a(pn,Bt)),Xe(fi,b.toStyles)}),Qi.forEach(pn=>{de(Z,pn,[]).push(On)}),On}_buildPlayer(V,b,G){return b.length>0?this.driver.animate(V.element,b,V.duration,V.delay,V.easing,G):new y.ZN(V.duration,V.delay)}}class ea{constructor(V,b,G){this.namespaceId=V,this.triggerName=b,this.element=G,this._player=new y.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(V){this._containsRealPlayer||(this._player=V,this._queuedCallbacks.forEach((b,G)=>{b.forEach(Z=>Je(V,G,void 0,Z))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(V.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(V){this.totalTime=V}syncPlayerEvents(V){const b=this._player;b.triggerCallback&&V.onStart(()=>b.triggerCallback("start")),V.onDone(()=>this.finish()),V.onDestroy(()=>this.destroy())}_queueEvent(V,b){de(this._queuedCallbacks,V,[]).push(b)}onDone(V){this.queued&&this._queueEvent("done",V),this._player.onDone(V)}onStart(V){this.queued&&this._queueEvent("start",V),this._player.onStart(V)}onDestroy(V){this.queued&&this._queueEvent("destroy",V),this._player.onDestroy(V)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(V){this.queued||this._player.setPosition(V)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(V){const b=this._player;b.triggerCallback&&b.triggerCallback(V)}}function _o(N){return N&&1===N.nodeType}function Eo(N,V){const b=N.style.display;return N.style.display=V??"none",b}function vo(N,V,b,G,Z){const He=[];b.forEach(fi=>He.push(Eo(fi)));const Pt=[];G.forEach((fi,wi)=>{const dn=new Map;fi.forEach(Qi=>{const zn=V.computeStyle(wi,Qi,Z);dn.set(Qi,zn),(!zn||0==zn.length)&&(wi[dr]=kr,Pt.push(wi))}),N.set(wi,dn)});let ti=0;return b.forEach(fi=>Eo(fi,He[ti++])),Pt}function Kr(N,V){const b=new Map;if(N.forEach(ti=>b.set(ti,[])),0==V.length)return b;const Z=new Set(V),He=new Map;function Pt(ti){if(!ti)return 1;let fi=He.get(ti);if(fi)return fi;const wi=ti.parentNode;return fi=b.has(wi)?wi:Z.has(wi)?1:Pt(wi),He.set(ti,fi),fi}return V.forEach(ti=>{const fi=Pt(ti);1!==fi&&b.get(fi).push(ti)}),b}function ca(N,V){N.classList?.add(V)}function _a(N,V){N.classList?.remove(V)}function Fo(N,V,b){ct(b).onDone(()=>N.processLeaveNode(V))}function Qr(N,V){for(let b=0;bZ.add(He)):V.set(N,G),b.delete(N),!0}class To{constructor(V,b,G){this._driver=b,this._normalizer=G,this._triggerCache={},this.onRemovalComplete=(Z,He)=>{},this._transitionEngine=new qo(V.body,b,G),this._timelineEngine=new Kn(V.body,b,G),this._transitionEngine.onRemovalComplete=(Z,He)=>this.onRemovalComplete(Z,He)}registerTrigger(V,b,G,Z,He){const Pt=V+"-"+Z;let ti=this._triggerCache[Pt];if(!ti){const fi=[],dn=Ui(this._driver,He,fi,[]);if(fi.length)throw function n(N,V){return new t.vHH(3404,!1)}();ti=function ma(N,V,b){return new oa(N,V,b)}(Z,dn,this._normalizer),this._triggerCache[Pt]=ti}this._transitionEngine.registerTrigger(b,Z,ti)}register(V,b){this._transitionEngine.register(V,b)}destroy(V,b){this._transitionEngine.destroy(V,b)}onInsert(V,b,G,Z){this._transitionEngine.insertNode(V,b,G,Z)}onRemove(V,b,G){this._transitionEngine.removeNode(V,b,G)}disableAnimations(V,b){this._transitionEngine.markElementAsDisabled(V,b)}process(V,b,G,Z){if("@"==G.charAt(0)){const[He,Pt]=xe(G);this._timelineEngine.command(He,b,Pt,Z)}else this._transitionEngine.trigger(V,b,G,Z)}listen(V,b,G,Z,He){if("@"==G.charAt(0)){const[Pt,ti]=xe(G);return this._timelineEngine.listen(Pt,b,ti,He)}return this._transitionEngine.listen(V,b,G,Z,He)}flush(V=-1){this._transitionEngine.flush(V)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(V){this._transitionEngine.afterFlushAnimationsDone(V)}}let co=(()=>{class N{static#e=this.initialStylesByElement=new WeakMap;constructor(b,G,Z){this._element=b,this._startStyles=G,this._endStyles=Z,this._state=0;let He=N.initialStylesByElement.get(b);He||N.initialStylesByElement.set(b,He=new Map),this._initialStyles=He}start(){this._state<1&&(this._startStyles&&Xe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Xe(this._element,this._initialStyles),this._endStyles&&(Xe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&(gt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(gt(this._element,this._endStyles),this._endStyles=null),Xe(this._element,this._initialStyles),this._state=3)}}return N})();function Gr(N){let V=null;return N.forEach((b,G)=>{(function zo(N){return"display"===N||"position"===N})(G)&&(V=V||new Map,V.set(G,b))}),V}class bo{constructor(V,b,G,Z){this.element=V,this.keyframes=b,this.options=G,this._specialStyles=Z,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=G.duration,this._delay=G.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(V=>V()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const V=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,V,this.options),this._finalKeyframe=V.length?V[V.length-1]:new Map;const b=()=>this._onFinish();this.domPlayer.addEventListener("finish",b),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",b)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(V){const b=[];return V.forEach(G=>{b.push(Object.fromEntries(G))}),b}_triggerWebAnimation(V,b,G){return V.animate(this._convertKeyframesToObject(b),G)}onStart(V){this._originalOnStartFns.push(V),this._onStartFns.push(V)}onDone(V){this._originalOnDoneFns.push(V),this._onDoneFns.push(V)}onDestroy(V){this._onDestroyFns.push(V)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(V=>V()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(V=>V()),this._onDestroyFns=[])}setPosition(V){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=V*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const V=new Map;this.hasStarted()&&this._finalKeyframe.forEach((G,Z)=>{"offset"!==Z&&V.set(Z,this._finished?G:li(this.element,Z))}),this.currentSnapshot=V}triggerCallback(V){const b="start"===V?this._onStartFns:this._onDoneFns;b.forEach(G=>G()),b.length=0}}class Ao{validateStyleProperty(V){return!0}validateAnimatableStyleProperty(V){return!0}matchesElement(V,b){return!1}containsElement(V,b){return Ct(V,b)}getParentElement(V){return pe(V)}query(V,b,G){return ut(V,b,G)}computeStyle(V,b,G){return window.getComputedStyle(V)[b]}animate(V,b,G,Z,He,Pt=[]){const fi={duration:G,delay:Z,fill:0==Z?"both":"forwards"};He&&(fi.easing=He);const wi=new Map,dn=Pt.filter(On=>On instanceof bo);(function ei(N,V){return 0===N||0===V})(G,Z)&&dn.forEach(On=>{On.currentSnapshot.forEach((pn,kn)=>wi.set(kn,pn))});let Qi=function Ee(N){return N.length?N[0]instanceof Map?N:N.map(V=>at(V)):[]}(b).map(On=>Ge(On));Qi=function $t(N,V,b){if(b.size&&V.length){let G=V[0],Z=[];if(b.forEach((He,Pt)=>{G.has(Pt)||Z.push(Pt),G.set(Pt,He)}),Z.length)for(let He=1;HePt.set(ti,li(N,ti)))}}return V}(V,Qi,wi);const zn=function Ja(N,V){let b=null,G=null;return Array.isArray(V)&&V.length?(b=Gr(V[0]),V.length>1&&(G=Gr(V[V.length-1]))):V instanceof Map&&(b=Gr(V)),b||G?new co(N,b,G):null}(V,Qi);return new bo(V,Qi,fi,zn)}}const ii="@.disabled";class Ti{constructor(V,b,G,Z){this.namespaceId=V,this.delegate=b,this.engine=G,this._onDestroy=Z,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(V){this.delegate.destroyNode?.(V)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(V,b){return this.delegate.createElement(V,b)}createComment(V){return this.delegate.createComment(V)}createText(V){return this.delegate.createText(V)}appendChild(V,b){this.delegate.appendChild(V,b),this.engine.onInsert(this.namespaceId,b,V,!1)}insertBefore(V,b,G,Z=!0){this.delegate.insertBefore(V,b,G),this.engine.onInsert(this.namespaceId,b,V,Z)}removeChild(V,b,G){this.engine.onRemove(this.namespaceId,b,this.delegate)}selectRootElement(V,b){return this.delegate.selectRootElement(V,b)}parentNode(V){return this.delegate.parentNode(V)}nextSibling(V){return this.delegate.nextSibling(V)}setAttribute(V,b,G,Z){this.delegate.setAttribute(V,b,G,Z)}removeAttribute(V,b,G){this.delegate.removeAttribute(V,b,G)}addClass(V,b){this.delegate.addClass(V,b)}removeClass(V,b){this.delegate.removeClass(V,b)}setStyle(V,b,G,Z){this.delegate.setStyle(V,b,G,Z)}removeStyle(V,b,G){this.delegate.removeStyle(V,b,G)}setProperty(V,b,G){"@"==b.charAt(0)&&b==ii?this.disableAnimations(V,!!G):this.delegate.setProperty(V,b,G)}setValue(V,b){this.delegate.setValue(V,b)}listen(V,b,G){return this.delegate.listen(V,b,G)}disableAnimations(V,b){this.engine.disableAnimations(V,b)}}class Zi extends Ti{constructor(V,b,G,Z,He){super(b,G,Z,He),this.factory=V,this.namespaceId=b}setProperty(V,b,G){"@"==b.charAt(0)?"."==b.charAt(1)&&b==ii?this.disableAnimations(V,G=void 0===G||!!G):this.engine.process(this.namespaceId,V,b.slice(1),G):this.delegate.setProperty(V,b,G)}listen(V,b,G){if("@"==b.charAt(0)){const Z=function nr(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(V);let He=b.slice(1),Pt="";return"@"!=He.charAt(0)&&([He,Pt]=function ar(N){const V=N.indexOf(".");return[N.substring(0,V),N.slice(V+1)]}(He)),this.engine.listen(this.namespaceId,Z,He,Pt,ti=>{this.factory.scheduleListenerCallback(ti._data||-1,G,ti)})}return this.delegate.listen(V,b,G)}}class Zr{constructor(V,b,G){this.delegate=V,this.engine=b,this._zone=G,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,b.onRemovalComplete=(Z,He)=>{const Pt=He?.parentNode(Z);Pt&&He.removeChild(Pt,Z)}}createRenderer(V,b){const Z=this.delegate.createRenderer(V,b);if(!V||!b?.data?.animation){const wi=this._rendererCache;let dn=wi.get(Z);return dn||(dn=new Ti("",Z,this.engine,()=>wi.delete(Z)),wi.set(Z,dn)),dn}const He=b.id,Pt=b.id+"-"+this._currentId;this._currentId++,this.engine.register(Pt,V);const ti=wi=>{Array.isArray(wi)?wi.forEach(ti):this.engine.registerTrigger(He,Pt,V,wi.name,wi)};return b.data.animation.forEach(ti),new Zi(this,Pt,Z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(V,b,G){if(V>=0&&Vb(G));const Z=this._animationCallbacksBuffer;0==Z.length&&queueMicrotask(()=>{this._zone.run(()=>{Z.forEach(He=>{const[Pt,ti]=He;Pt(ti)}),this._animationCallbacksBuffer=[]})}),Z.push([b,G])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var sn=p(6814);const ze=[{provide:rt,useFactory:function ht(){return new un}},{provide:To,useClass:(()=>{class N extends To{constructor(b,G,Z,He){super(b,G,Z)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(G){return new(G||N)(t.LFG(sn.K0),t.LFG(Be),t.LFG(rt),t.LFG(t.z2F))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})()},{provide:t.FYo,useFactory:function bt(N,V,b){return new Zr(N,V,b)},deps:[e.se,To,t.R0b]}],vt=[{provide:Be,useFactory:()=>new Ao},{provide:t.QbO,useValue:"BrowserAnimations"},...ze],Jt=[{provide:Be,useClass:Ae},{provide:t.QbO,useValue:"NoopAnimations"},...ze];let zi=(()=>{class N{static withConfig(b){return{ngModule:N,providers:b.disableAnimations?Jt:vt}}static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275mod=t.oAB({type:N});static#i=this.\u0275inj=t.cJS({providers:vt,imports:[e.b2]})}return N})();var yo=p(9862),Hn=p(1088),Vi=p(4221),lo=p(5154),An=p(7632),Yi=p(8645),Ms=p(3019),xo=p(2438),gr=p(9666),Do=p(6321),Ua=p(9080);function Sa(N=0,V=Do.z){return N<0&&(N=0),(0,Ua.H)(N,N,V)}var va=p(2096),Ss=p(7394),ho=p(9360),Vo=p(8251),Co=p(9039),En=p(9940),Xo=p(7103),cr=p(2181),Ea=p(9397),os=p(4664),qi=p(9773),Es=p(4716),la=p(3997),Ir=p(7398);class Ts{}function Bo(N){return(0,t.MR2)([{provide:Ts,useValue:N}])}let Vs=(()=>{class N{constructor(b,G){this._ngZone=G,this.timerStart$=new Yi.x,this.idleDetected$=new Yi.x,this.timeout$=new Yi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,b&&this.setConfig(b)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,Ms.T)((0,xo.R)(window,"mousemove"),(0,xo.R)(window,"resize"),(0,xo.R)(document,"keydown"))),this.idle$=(0,gr.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function as(N,...V){var b,G;const Z=null!==(b=(0,En.yG)(V))&&void 0!==b?b:Do.z,He=null!==(G=V[0])&&void 0!==G?G:null,Pt=V[1]||1/0;return(0,ho.e)((ti,fi)=>{let wi=[],dn=!1;const Qi=pn=>{const{buffer:kn,subs:Cr}=pn;Cr.unsubscribe(),(0,Co.P)(wi,pn),fi.next(kn),dn&&zn()},zn=()=>{if(wi){const pn=new Ss.w0;fi.add(pn);const Cr={buffer:[],subs:pn};wi.push(Cr),(0,Xo.f)(pn,Z,()=>Qi(Cr),N)}};null!==He&&He>=0?(0,Xo.f)(fi,Z,zn,He,!0):dn=!0,zn();const On=(0,Vo.x)(fi,pn=>{const kn=wi.slice();for(const Cr of kn){const{buffer:ha}=Cr;ha.push(pn),Pt<=ha.length&&Qi(Cr)}},()=>{for(;wi?.length;)fi.next(wi.shift().buffer);On?.unsubscribe(),fi.complete(),fi.unsubscribe()},void 0,()=>wi=null);ti.subscribe(On)})}(this.idleSensitivityMillisec),(0,cr.h)(b=>!b.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Ea.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,os.w)(()=>this._ngZone.runOutsideAngular(()=>Sa(1e3).pipe((0,qi.R)((0,Ms.T)(this.activityEvents$,(0,Ua.H)(this.idleMillisec).pipe((0,Ea.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Es.x)(()=>{this.isIdleDetected=!1,this.idleDetected$.next(!1)}))))).subscribe(),this.setupTimer(this.timeout),this.setupPing(this.pingMillisec)}stopWatching(){this.stopTimer(),this.idleSubscription&&this.idleSubscription.unsubscribe()}stopTimer(){this.isInactivityTimer=!1,this.timerStart$.next(!1)}resetTimer(){this.stopTimer(),this.isTimeout=!1}onTimerStart(){return this.timerStart$.pipe((0,la.x)(),(0,os.w)(b=>b?this.timer$:(0,va.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,cr.h)(b=>!!b),(0,Ea.b)(()=>this.isTimeout=!0),(0,Ir.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(b){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(b):console.error("Call stopWatching() before set config values")}setConfig(b){b.idle&&(this.idleMillisec=1e3*b.idle),b.ping&&(this.pingMillisec=1e3*b.ping),b.idleSensitivity&&(this.idleSensitivityMillisec=1e3*b.idleSensitivity),b.timeout&&(this.timeout=b.timeout)}setCustomActivityEvents(b){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=b:console.error("Call stopWatching() before set custom activity events")}setupTimer(b){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,va.of)(()=>new Date).pipe((0,Ir.U)(G=>G()),(0,os.w)(G=>Sa(1e3).pipe((0,Ir.U)(()=>Math.round(((new Date).valueOf()-G.valueOf())/1e3)),(0,Ea.b)(Z=>{Z>=b&&this.timeout$.next(!0)}))))})}setupPing(b){this.ping$=Sa(b).pipe((0,cr.h)(()=>!this.isTimeout))}}return N.\u0275fac=function(b){return new(b||N)(t.LFG(Ts,8),t.LFG(t.R0b))},N.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();var Xn=p(4190),nn=p(590),Nr=p(4818),qr=p(5597),$i=p(3814),or=p(5195),ta=p(4104);const gc=()=>({initial:!1});function Fc(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,gc)),t.xp6(1),t.Oqu(b.links[1].name)}}function vl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link),t.xp6(1),t.Oqu(b.links[2].name)}}let As=(()=>{class N{constructor(b,G){this.store=b,this.router=G,this.faUserCog=nn.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,qi.R)(this.unSubs[0]),(0,cr.h)(G=>G instanceof Xn.Av)).subscribe({next:G=>{const Z=this.links.find(He=>G.urlAfterRedirects.includes(He.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[1])).subscribe(G=>{this.appConfig=G}),this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[2])).subscribe(G=>{this.showBitcoind=!1,this.selNode=G,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Vi.yh),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-settings"]],decls:16,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Settings"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.YNc(10,Fc,2,5,"div",7)(11,vl,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&G){const He=t.MAs(13);t.xp6(1),t.Q6J("icon",Z.faUserCog),t.xp6(6),t.Q6J("tabPanel",He),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.Q6J("ngIf",!+Z.appConfig.sso.rtlSSO),t.xp6(1),t.Q6J("ngIf",Z.showBitcoind)}},dependencies:[sn.O5,qr.BN,$i.xw,$i.Wh,$i.yH,or.a8,or.dn,ta.BU,ta.sW,ta.Nj,Xn.lC,Xn.rH]})}return N})();var Kt=p(2154),_e=p(9103),Tt=p(5980),Pe=p(6223),pt=p(2296),Qt=p(5683),Re=p(8525),ft=p(3680),_t=p(2159),Lt=p(6985);function Xt(N,V){if(1&N&&(t.TgZ(0,"mat-option",17),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function hi(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"form",2,3)(2,"div",4),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Default Node"),t.qZA()(),t.TgZ(6,"div",7)(7,"div",8),t._UZ(8,"fa-icon",9),t.TgZ(9,"span"),t._uU(10,"The setting will apply after RTL server restarts."),t.qZA()(),t.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.appConfig.defaultNodeIndex=Z)}),t.YNc(14,Xt,2,3,"mat-option",13),t.qZA()()(),t.TgZ(15,"div",14)(16,"div",10)(17,"button",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onResetSettings())}),t._uU(18,"Reset"),t.qZA(),t.TgZ(19,"button",16),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onUpdateSettings())}),t._uU(20,"Update"),t.qZA()()()()()}if(2&N){const b=t.oxw();t.xp6(3),t.Q6J("icon",b.faWindowRestore),t.xp6(5),t.Q6J("icon",b.faInfoCircle),t.xp6(5),t.Q6J("ngModel",b.appConfig.defaultNodeIndex),t.xp6(1),t.Q6J("ngForOf",b.appConfig.nodes)}}let di=(()=>{class N{constructor(b,G){this.logger=b,this.store=G,this.faInfoCircle=nn.sqG,this.faWindowRestore=nn.wyP,this.faPlus=nn.r8p,this.previousDefaultNode=0,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(b)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){this.store.dispatch((0,_e.zQ)({payload:{uiMessage:Kt.m6.UPDATE_DEFAULT_NODE_SETTING,defaultNodeIndex:this.appConfig.defaultNodeIndex?this.appConfig.defaultNodeIndex:this.appConfig&&this.appConfig.nodes&&this.appConfig.nodes.length&&this.appConfig.nodes.length>0&&this.appConfig.nodes[0].index?+this.appConfig.nodes[0].index:-1}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Vi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["fxLayout","column","fxFlex","100",1,"padding-gap-x-large",3,"perfectScrollbar"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","settings-container page-sub-title-container mt-1",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"my-2"],["fxLayout","row","fxFlex","100",1,"alert","alert-info"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","2",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","3",3,"click"],[3,"value"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0),t.YNc(1,hi,21,4,"form",1),t.qZA()),2&G&&(t.xp6(1),t.Q6J("ngIf",Z.appConfig.nodes&&Z.appConfig.nodes.length&&Z.appConfig.nodes.length>0))},dependencies:[sn.sg,sn.O5,Pe._Y,Pe.JJ,Pe.JL,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,pt.lW,Qt.KE,Re.gD,ft.ey,_t.$V,Lt.h]})}return N})();var Si=p(8927),Ii=p(8180),Xi=p(7700),en=p(3439),cn=p(2703),Un=p(2939),Ln=p(2032),hr=p(8257),Hr=p(2279),da=p(7313);const ia=["stepper"];function Ta(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw();t.Oqu(b.passwordFormLabel)}}function Or(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function Lo(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw(2);t.Oqu(b.secretFormLabel)}}function $a(N,V){if(1&N&&t._UZ(0,"qr-code",33),2&N){const b=t.oxw(2);t.Q6J("value",b.otpauth)("size",180)("errorCorrectionLevel","L")}}function Fn(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Secret Code is required."),t.qZA())}function Jo(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-step",10)(1,"form",22),t.YNc(2,Lo,1,1,"ng-template",23),t.TgZ(3,"div",24),t.YNc(4,$a,1,3,"qr-code",25),t.qZA(),t.TgZ(5,"div",26),t._UZ(6,"fa-icon",27),t.TgZ(7,"span"),t._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),t.qZA()(),t.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),t._uU(12,"Secret Code"),t.qZA(),t._UZ(13,"input",29),t.TgZ(14,"fa-icon",30),t.NdJ("copied",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onCopySecret(Z))}),t.qZA(),t.YNc(15,Fn,2,0,"mat-error",15),t.qZA()(),t.TgZ(16,"div",31)(17,"button",32),t._uU(18,"Next"),t.qZA()()()()}if(2&N){const b=t.oxw();t.Q6J("stepControl",b.secretFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.secretFormGroup),t.xp6(3),t.Q6J("ngIf",b.otpauth),t.xp6(2),t.Q6J("icon",b.faInfoCircle),t.xp6(8),t.Q6J("icon",b.faCopy)("payload",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret?null:b.secretFormGroup.controls.secret.value),t.xp6(1),t.Q6J("ngIf",null==b.secretFormGroup||null==b.secretFormGroup.controls||null==b.secretFormGroup.controls.secret||null==b.secretFormGroup.controls.secret.errors?null:b.secretFormGroup.controls.secret.errors.required)}}function vs(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw(2);t.Oqu(b.tokenFormLabel)}}function Sr(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}function zc(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is invalid."),t.qZA())}function _c(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",7)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),t._uU(4,"Token"),t.qZA(),t._UZ(5,"input",37),t.YNc(6,Sr,2,0,"mat-error",15)(7,zc,2,0,"mat-error",15),t.qZA()(),t.TgZ(8,"div",31)(9,"button",38),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(10),t.qZA()()()}if(2&N){const b=t.oxw(2);t.xp6(6),t.Q6J("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.required),t.xp6(1),t.Q6J("ngIf",null==b.tokenFormGroup||null==b.tokenFormGroup.controls||null==b.tokenFormGroup.controls.token||null==b.tokenFormGroup.controls.token.errors?null:b.tokenFormGroup.controls.token.errors.notValid),t.xp6(3),t.Oqu(null!=b.tokenFormGroup&&null!=b.tokenFormGroup.controls&&null!=b.tokenFormGroup.controls.token&&null!=b.tokenFormGroup.controls.token.errors&&b.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Ds(N,V){1&N&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Success! You are all set."),t.qZA()())}function Uo(N,V){if(1&N&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,vs,1,1,"ng-template",12)(3,_c,11,3,"div",36)(4,Ds,3,0,"div",15),t.qZA()()),2&N){const b=t.oxw();t.Q6J("stepControl",b.tokenFormGroup),t.xp6(1),t.Q6J("formGroup",b.tokenFormGroup),t.xp6(2),t.Q6J("ngIf",!b.flgValidated||!b.isTokenValid),t.xp6(1),t.Q6J("ngIf",b.flgValidated&&b.isTokenValid)}}function E2(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw(2);t.Oqu(b.disableFormLabel)}}function bl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",7)(1,"div",39),t._UZ(2,"fa-icon",27),t.TgZ(3,"span"),t._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),t.qZA()(),t.TgZ(5,"div",31)(6,"button",38),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onVerifyToken())}),t._uU(7,"Disable"),t.qZA()()()}if(2&N){const b=t.oxw(2);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function Vc(N,V){1&N&&(t.TgZ(0,"div")(1,"strong"),t._uU(2,"Two factor authentication removed from RTL."),t.qZA()())}function $o(N,V){if(1&N&&(t.TgZ(0,"mat-step",34)(1,"form",35),t.YNc(2,E2,1,1,"ng-template",12)(3,bl,8,1,"div",36)(4,Vc,3,0,"div",15),t.qZA()()),2&N){const b=t.oxw();t.Q6J("stepControl",b.disableFormGroup),t.xp6(1),t.Q6J("formGroup",b.disableFormGroup),t.xp6(2),t.Q6J("ngIf",!b.flgValidated||!b.isTokenValid),t.xp6(1),t.Q6J("ngIf",b.flgValidated&&b.isTokenValid)}}let yl=(()=>{class N{constructor(b,G,Z,He,Pt,ti){this.dialogRef=b,this.data=G,this.store=Z,this.formBuilder=He,this.rtlEffects=Pt,this.snackBar=ti,this.faExclamationTriangle=nn.eHv,this.faCopy=nn.kZ_,this.faInfoCircle=nn.sqG,this.flgValidated=!1,this.isTokenValid=!0,this.otpauth="",this.appConfig=null,this.flgEditable=!0,this.showDisableStepper=!1,this.passwordFormLabel="Authenticate with your RTL password",this.secretFormLabel="Scan or copy the secret",this.tokenFormLabel="Verify your authentication is working",this.disableFormLabel="Disable two factor authentication",this.passwordFormGroup=this.formBuilder.group({hiddenPassword:["",[Pe.kI.required]],password:["",[Pe.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},Pe.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",Pe.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},Pe.kI.required]})}generateSecret(){const b=en.authenticator.generateSecret();return this.otpauth=en.authenticator.keyuri("","Ride The Lightning (RTL)",b),b}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,_e.QO)({payload:Si(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Ii.q)(1)).subscribe(b=>{"ERROR"!==b?(this.passwordFormGroup.controls.hiddenPassword.setValue(this.passwordFormGroup.controls.password.value),this.stepper.next()):(this.dialogRef.close(),this.snackBar.open("Unauthorized User. Logging out from RTL."))})}onCopySecret(b){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.store.dispatch((0,_e.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=en.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.store.dispatch((0,_e.Uy)({payload:{secret2fa:this.secretFormGroup.controls.secret.value}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0,this.appConfig&&(this.appConfig.enable2FA=!this.appConfig?.enable2FA)}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}b.selectedIndex{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xi.so),t.Y36(Xi.WI),t.Y36(Vi.yh),t.Y36(Pe.QS),t.Y36(cn.V),t.Y36(Un.ux))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-two-factor-auth"]],viewQuery:function(G,Z){if(1&G&&t.Gf(ia,5),2&G){let He;t.iGM(He=t.CRH())&&(Z.stepper=He.first)}},decls:30,vars:11,consts:[["fxLayout","row"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","15","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"mat-dialog-close"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","space-between",1,"my-1","pr-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100"],["autoFocus","","matInput","","type","password","tabindex","1","formControlName","password","required",""],[4,"ngIf"],["fxLayout","row",1,"mt-2"],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center"],["mat-button","","color","primary","tabindex","12","type","button","default","",3,"mat-dialog-close"],["fxLayout","column",1,"my-1","pr-1",3,"formGroup"],["matStepLabel","","disabled","true"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],["fxFlex","100",1,"w-100","alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between stretch"],["autoFocus","","matInput","","type","text","tabindex","4","formControlName","secret","required",""],["matSuffix","","rtlClipboard","",3,"icon","payload","copied"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","6","type","button","matStepperNext",""],[3,"value","size","errorCorrectionLevel"],[3,"stepControl"],["fxLayout","column","fxLayoutAlign","start",1,"my-1","pr-1",3,"formGroup"],["fxLayout","column",4,"ngIf"],["autoFocus","","matInput","","type","text","tabindex","7","formControlName","token","required",""],["mat-button","","color","primary","tabindex","8","type","button",3,"click"],["fxFlex","100",1,"w-100","alert","alert-warn"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Setup Two Factor Authentication"),t.qZA()(),t.TgZ(6,"button",5),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"div",7)(10,"mat-vertical-stepper",8,9),t.NdJ("selectionChange",function(Pt){return Z.stepSelectionChanged(Pt)}),t.TgZ(12,"mat-step",10)(13,"form",11),t.YNc(14,Ta,1,1,"ng-template",12),t.TgZ(15,"div",0)(16,"mat-form-field",13)(17,"mat-label"),t._uU(18,"Password"),t.qZA(),t._UZ(19,"input",14),t.YNc(20,Or,2,0,"mat-error",15),t.qZA()(),t.TgZ(21,"div",16)(22,"button",17),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(23,"Confirm"),t.qZA()()()(),t.YNc(24,Jo,19,8,"mat-step",18)(25,Uo,5,4,"mat-step",19)(26,$o,5,4,"mat-step",19),t.qZA(),t.TgZ(27,"div",20)(28,"button",21),t._uU(29),t.qZA()()()()()()),2&G&&(t.xp6(6),t.Q6J("mat-dialog-close",!1),t.xp6(4),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",Z.passwordFormGroup)("editable",Z.flgEditable),t.xp6(1),t.Q6J("formGroup",Z.passwordFormGroup),t.xp6(7),t.Q6J("ngIf",null==Z.passwordFormGroup||null==Z.passwordFormGroup.controls||null==Z.passwordFormGroup.controls.password||null==Z.passwordFormGroup.controls.password.errors?null:Z.passwordFormGroup.controls.password.errors.required),t.xp6(4),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",!Z.showDisableStepper),t.xp6(1),t.Q6J("ngIf",Z.showDisableStepper),t.xp6(2),t.Q6J("mat-dialog-close",!1),t.xp6(1),t.Oqu(Z.flgValidated&&Z.isTokenValid?"Close":"Cancel"))},dependencies:[sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.sg,Pe.u,qr.BN,$i.xw,$i.Wh,$i.yH,Xi.ZT,pt.lW,or.dn,or.dk,Ln.Nt,Qt.KE,Qt.hX,Qt.TO,Qt.R9,hr.C0,hr.VY,hr.Vq,hr.Ic,Hr.uU,da.y,Lt.h]})}return N})();var Ls=p(5813),Pa=p(6385);const m1=["authForm"];function xl(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Current password is required."),t.qZA())}function Bc(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorMsg)}}function Cl(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.Oqu(b.errorConfirmMsg)}}function In(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"form",11,12)(2,"div",13),t._UZ(3,"fa-icon",5),t.TgZ(4,"span",6),t._uU(5,"Password"),t.qZA()(),t.TgZ(6,"mat-form-field")(7,"mat-label"),t._uU(8,"Current Password"),t.qZA(),t.TgZ(9,"input",14),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.currPassword=Z)}),t.qZA(),t.YNc(10,xl,2,0,"mat-error",15),t.qZA(),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"New Password"),t.qZA(),t.TgZ(14,"input",16),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.newPassword=Z)}),t.qZA(),t.YNc(15,Bc,2,1,"mat-error",15),t.qZA(),t.TgZ(16,"mat-form-field")(17,"mat-label"),t._uU(18,"Confirm New Password"),t.qZA(),t.TgZ(19,"input",17),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.confirmPassword=Z)}),t.qZA(),t.YNc(20,Cl,2,1,"mat-error",15),t.qZA(),t.TgZ(21,"div",18)(22,"button",19),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onResetPassword())}),t._uU(23,"Reset"),t.qZA(),t.TgZ(24,"button",20),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onChangePassword())}),t._uU(25,"Change Password"),t.qZA()()()}if(2&N){const b=t.oxw();t.xp6(3),t.Q6J("icon",b.faLock),t.xp6(6),t.Q6J("ngModel",b.currPassword),t.xp6(1),t.Q6J("ngIf",!b.currPassword),t.xp6(4),t.Q6J("ngModel",b.newPassword),t.xp6(1),t.Q6J("ngIf",b.matchOldAndNewPasswords()),t.xp6(4),t.Q6J("ngModel",b.confirmPassword),t.xp6(1),t.Q6J("ngIf",b.matchNewPasswords())}}let Go=(()=>{class N{constructor(b,G,Z,He,Pt){this.logger=b,this.store=G,this.actions=Z,this.router=He,this.sessionService=Pt,this.faInfoCircle=nn.sqG,this.faUserLock=nn.FJU,this.faUserClock=nn.hnx,this.faLock=nn.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.appConfig=b,this.logger.info(this.appConfig)}),this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b}),this.actions.pipe((0,qi.R)(this.unSubs[2]),(0,cr.h)(b=>b.type===Kt.pg.RESET_PASSWORD_RES)).subscribe(b=>{if(Kt.kO.includes(this.currPassword.toLowerCase()))switch(this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.router.navigate(["/cln/home"]);break;case"ECL":this.router.navigate(["/ecl/home"]);break;default:this.router.navigate(["/lnd/home"])}this.form&&this.form.resetForm()})}onChangePassword(){if(!this.currPassword||!this.newPassword||!this.confirmPassword||this.currPassword===this.newPassword||this.newPassword!==this.confirmPassword||Kt.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,_e.c0)({payload:{currPassword:Si(this.currPassword).toString(),newPassword:Si(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let b=!1;return this.form&&this.form.controls&&this.form.controls.newpassword&&(this.newPassword?""!==this.currPassword&&""!==this.newPassword&&this.currPassword===this.newPassword?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="Old and New password cannot be same.",b=!0):Kt.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Kt.kO?.reduce((G,Z,He)=>He{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Vi.yh),t.Y36(lo.eX),t.Y36(Xn.F0),t.Y36(Ls.m))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-auth-settings"]],viewQuery:function(G,Z){if(1&G&&t.Gf(m1,5),2&G){let He;t.iGM(He=t.CRH())&&(Z.form=He.first)}},decls:15,vars:4,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container mt-1",4,"ngIf"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start start",1,"mt-1"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","5","type","submit",3,"click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0),t.YNc(1,In,26,7,"form",1),t._UZ(2,"mat-divider",2),t.TgZ(3,"div",3)(4,"div",4),t._UZ(5,"fa-icon",5),t.TgZ(6,"span",6),t._uU(7,"Two Factor Authentication"),t.qZA()(),t.TgZ(8,"div",7),t._UZ(9,"fa-icon",8),t.TgZ(10,"span"),t._uU(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),t.qZA()(),t.TgZ(12,"div",9)(13,"button",10),t.NdJ("click",function(){return Z.on2FAuth()}),t._uU(14),t.qZA()()()()),2&G&&(t.xp6(1),t.Q6J("ngIf",null==Z.appConfig?null:Z.appConfig.allowPasswordUpdate),t.xp6(4),t.Q6J("icon",Z.faUserClock),t.xp6(4),t.Q6J("icon",Z.faInfoCircle),t.xp6(5),t.Oqu(Z.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,pt.lW,Ln.Nt,Qt.KE,Qt.hX,Qt.TO,Pa.d,Lt.h]})}return N})();var Bs=p(9038);function p1(N,V){1&N&&t._UZ(0,"mat-divider",7)}function bs(N,V){if(1&N&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,p1,1,0,"mat-divider",6),t.qZA()),2&N){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function Sh(N,V){if(1&N&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function g1(N,V){if(1&N&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Qs(N,V){1&N&&t._UZ(0,"mat-divider",15),2&N&&t.Q6J("inset",!0)}function T2(N,V){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,Sh,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,g1,2,1,"h4",12),t.qZA(),t.YNc(5,Qs,1,1,"mat-divider",13),t.qZA()),2&N){const b=V.$implicit;t.xp6(2),t.Q6J("ngIf",b.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",b.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",b.indexOf("[")<0)}}function A2(N,V){if(1&N&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,T2,6,3,"mat-list-item",9),t.qZA()()),2&N){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}let pd=(()=>{class N{constructor(b,G,Z){this.store=b,this.rtlEffects=G,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=nn.b7W,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,_e.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{const G=b.data;this.fileFormat=b.format,this.configData=""===G||!G||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==G&&G&&"JSON"===this.fileFormat?G:"":G.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Vi.yh),t.Y36(cn.V),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-bitcoin-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,bs,5,4,"div",2)(3,A2,3,1,"div",3),t.qZA()()),2&G&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[sn.sg,sn.O5,$i.xw,$i.Wh,$i.yH,or.$j,Bs.i$,Bs.Tg,Pa.d,sn.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();function wl(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}let gd=(()=>{class N{constructor(b,G,Z){this.dialogRef=b,this.store=G,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Ii.q)(1)).subscribe(b=>{"ERROR"!==b?(this.isAuthenticated=!0,this.store.dispatch((0,_e.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,_e.QO)({payload:Si(this.password)}))}onClose(){this.store.dispatch((0,_e.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xi.so),t.Y36(Vi.yh),t.Y36(cn.V))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-is-authorized"]],decls:18,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["autoFocus","","matInput","","type","password","id","password","name","password","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","2","type","submit","default","",3,"click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Authenticate with your RTL Password"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),t._uU(12,"Password"),t.qZA(),t.TgZ(13,"input",8),t.NdJ("ngModelChange",function(Pt){return Z.password=Pt}),t.qZA(),t.YNc(14,wl,2,0,"mat-error",9),t.qZA(),t.TgZ(15,"div",10)(16,"button",11),t.NdJ("click",function(){return Z.onAuthenticate()}),t._uU(17,"Confirm"),t.qZA()()()()()()),2&G&&(t.xp6(13),t.Q6J("ngModel",Z.password),t.xp6(1),t.Q6J("ngIf",!Z.password))},dependencies:[sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,$i.xw,$i.Wh,$i.yH,pt.lW,or.dn,or.dk,Ln.Nt,Qt.KE,Qt.hX,Qt.TO,Lt.h]})}return N})();const Hi=()=>({initial:!1});function rr(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link)("state",t.DdM(4,Hi)),t.xp6(1),t.Oqu(b.links[2].name)}}function Ml(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",14),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[3].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[3].link),t.Q6J("active",b.activeLink===b.links[3].link),t.xp6(1),t.Oqu(b.links[3].name)}}function vc(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",15),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.showLnConfigClicked())}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.Q6J("active",b.activeLink===b.links[4].link),t.xp6(1),t.Oqu(b.links[4].name)}}let mr=(()=>{class N{constructor(b,G,Z,He){this.store=b,this.router=G,this.rtlEffects=Z,this.activatedRoute=He,this.faTools=nn.CgH,this.showLnConfig=!1,this.lnImplementationStr="",this.links=[{link:"nodesettings",name:"Node Settings"},{link:"pglayout",name:"Page Layout"},{link:"services",name:"Services"},{link:"experimental",name:"Experimental"},{link:"lnconfig",name:this.lnImplementationStr}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,qi.R)(this.unSubs[0]),(0,cr.h)(G=>G instanceof Xn.Av)).subscribe({next:G=>{const Z=this.links.find(He=>G.urlAfterRedirects.includes(He.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[1])).subscribe(G=>{this.appConfig=G}),this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[2])).subscribe(G=>{switch(this.showLnConfig=!1,this.selNode=G,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.sso.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,_e.qR)({payload:{maxWidth:"50rem",data:{component:gd}}})),this.rtlEffects.closeAlert.pipe((0,qi.R)(this.unSubs[3])).subscribe(b=>{b&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Vi.yh),t.Y36(Xn.F0),t.Y36(cn.V),t.Y36(Xn.gz))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-node-config"]],decls:19,vars:11,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","5","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3,"Node Config"),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),t.NdJ("click",function(){return Z.activeLink=Z.links[0].link}),t._uU(9),t.qZA(),t.TgZ(10,"div",7),t.NdJ("click",function(){return Z.activeLink=Z.links[1].link}),t._uU(11),t.qZA(),t.YNc(12,rr,2,5,"div",8)(13,Ml,2,3,"div",9)(14,vc,2,2,"div",10),t.qZA(),t._UZ(15,"mat-tab-nav-panel",null,11),t.TgZ(17,"div",12),t._UZ(18,"router-outlet"),t.qZA()()()()),2&G){const He=t.MAs(16);t.xp6(1),t.Q6J("icon",Z.faTools),t.xp6(6),t.Q6J("tabPanel",He),t.xp6(1),t.s9C("routerLink",Z.links[0].link),t.Q6J("active",Z.activeLink===Z.links[0].link),t.xp6(1),t.Oqu(Z.links[0].name),t.xp6(1),t.s9C("routerLink",Z.links[1].link),t.Q6J("active",Z.activeLink===Z.links[1].link),t.xp6(1),t.Oqu(Z.links[1].name),t.xp6(1),t.Q6J("ngIf","LND"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf",Z.showLnConfig)}},dependencies:[sn.O5,qr.BN,$i.xw,$i.Wh,$i.yH,or.a8,or.dn,ta.BU,ta.sW,ta.Nj,Xn.lC,Xn.rH]})}return N})();function ss(N,V){1&N&&t._UZ(0,"mat-divider",7)}function qs(N,V){if(1&N&&(t.TgZ(0,"div",4)(1,"pre",5),t._uU(2),t.ALo(3,"json"),t.qZA(),t.YNc(4,ss,1,0,"mat-divider",6),t.qZA()),2&N){const b=t.oxw();t.xp6(2),t.Oqu(t.lcZ(3,2,b.configData)),t.xp6(2),t.Q6J("ngIf",""!==b.configData)}}function Fr(N,V){if(1&N&&(t.TgZ(0,"h2"),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function Ra(N,V){if(1&N&&(t.TgZ(0,"h4",14),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b)}}function bc(N,V){1&N&&t._UZ(0,"mat-divider",15),2&N&&t.Q6J("inset",!0)}function Sl(N,V){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),t.YNc(2,Fr,2,1,"h2",10),t.qZA(),t.TgZ(3,"mat-card-subtitle",11),t.YNc(4,Ra,2,1,"h4",12),t.qZA(),t.YNc(5,bc,1,1,"mat-divider",13),t.qZA()),2&N){const b=V.$implicit;t.xp6(2),t.Q6J("ngIf",b.indexOf("[")>=0),t.xp6(2),t.Q6J("ngIf",b.indexOf("[")<0),t.xp6(1),t.Q6J("ngIf",b.indexOf("[")<0)}}function El(N,V){if(1&N&&(t.TgZ(0,"div",8)(1,"mat-list"),t.YNc(2,Sl,6,3,"mat-list-item",9),t.qZA()()),2&N){const b=t.oxw();t.xp6(2),t.Q6J("ngForOf",b.configData)}}let Uc=(()=>{class N{constructor(b,G,Z){this.store=b,this.rtlEffects=G,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=nn.b7W,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,_e.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{const G=b.data;this.fileFormat=b.format,this.configData=""===G||!G||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==G&&G&&"JSON"===this.fileFormat?G:"":G.split("\n")})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Vi.yh),t.Y36(cn.V),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-lnp-config"]],decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start"],["fxFlex","100","class","mb-6",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxFlex","100",1,"mb-6"],[1,"pre-wrap"],["class","my-1",4,"ngIf"],[1,"my-1"],["fxFlex","100"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"m-0"],["class","ml-4",4,"ngIf"],[3,"inset",4,"ngIf"],[1,"ml-4"],[3,"inset"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,qs,5,4,"div",2)(3,El,3,1,"div",3),t.qZA()()),2&G&&(t.xp6(2),t.Q6J("ngIf",""!==Z.configData&&"JSON"===Z.fileFormat),t.xp6(1),t.Q6J("ngIf",""!==Z.configData&&("INI"===Z.fileFormat||"HOCON"===Z.fileFormat)))},dependencies:[sn.sg,sn.O5,$i.xw,$i.Wh,$i.yH,or.$j,Bs.i$,Bs.Tg,Pa.d,sn.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();var qn=p(2249),Wn=p(234),xr=p(9191),na=p(6339),me=p(7509),Oe=p(3305),ge=p(7466),Ne=p(2599);function mt(N,V){if(1&N&&(t.TgZ(0,"mat-option",35),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b.id),t.xp6(1),t.hij(" ",b.id," ")}}function Rt(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Currency unit is required."),t.qZA())}function ni(N,V){if(1&N&&(t.TgZ(0,"mat-radio-button",36),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.Q6J("value",b)("checked",G.selNode.settings.userPersona===b),t.xp6(1),t.hij(" ",t.lcZ(2,3,b)," ")}}function Li(N,V){if(1&N&&(t.TgZ(0,"mat-radio-button",37),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b),t.xp6(1),t.hij("",b.name," ")}}const Di=N=>({skin:!0,"selected-color":N});function ln(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"span",38)(1,"div",39),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw();return t.KtG(Pt.changeThemeColor(He.id))}),t.ALo(2,"lowercase"),t.qZA(),t._uU(3),t.qZA()}if(2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Tol(t.lcZ(2,4,b.id)),t.Q6J("ngClass",t.VKq(6,Di,G.selectedThemeColor===b.id)),t.xp6(2),t.hij(" ",b.name," ")}}let Qn=(()=>{class N{constructor(b,G,Z){this.logger=b,this.commonService=G,this.store=Z,this.faExclamationTriangle=nn.eHv,this.faMoneyBillAlt=nn.co4,this.faPaintBrush=nn.XsY,this.faInfoCircle=nn.sqG,this.faEyeSlash=nn.Aq,this.userPersonas=[Kt.ol.OPERATOR,Kt.ol.MERCHANT],this.currencyUnits=Kt.Er,this.themeModes=Kt.wZ.modes,this.themeColors=Kt.wZ.themes,this.selectedThemeMode=Kt.wZ.modes[0],this.selectedThemeColor=Kt.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Kt.cu,this.unSubs=[new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selectedThemeMode=this.themeModes.find(G=>this.selNode.settings.themeMode===G.id)||this.themeModes[0],this.selectedThemeColor=this.selNode.settings.themeColor,this.selNode.settings.fiatConversion||(this.selNode.settings.currencyUnit=""),this.previousSettings=JSON.parse(JSON.stringify(this.selNode.settings)),this.logger.info(b)})}onCurrencyChange(b){this.selNode.settings.currencyUnits=[...Kt.uA,b.value],this.store.dispatch((0,xr.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:b.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,Wn.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:b.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,qn.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:b.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}}))}toggleSettings(b,G){this.selNode.settings[b]=!this.selNode.settings[b]}changeThemeColor(b){this.selectedThemeColor=b,this.selNode.settings.themeColor=b}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onUpdateSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.logger.info(this.selNode.settings),this.store.dispatch((0,_e.zQ)({payload:{uiMessage:Kt.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,xr.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,Wn.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,qn.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}}))}onResetSettings(){const b=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(G=>G.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,_e.fk)({payload:{uiMessage:Kt.m6.NO_SPINNER,prevLnNodeIndex:+b,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(na.v),t.Y36(Vi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-node-settings"]],decls:78,vars:18,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["form","ngForm"],["displayMode","flat","multi","false"],["fxLayout","column",1,"flat-expansion-panel","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row wrap","fxLayoutAlign","start center"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModel","ngModelChange","change"],["fxFlex","100",1,"alert","alert-warn"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModel","ngModelChange","change"],["autoFocus","","tabindex","3","name","currencyUnit",3,"disabled","required","ngModel","ngModelChange","selectionChange"],["currencyUnit","ngModel"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-0"],["fxLayout","column","fxLayoutAlign","start start","fxFlex","100"],["color","primary","tabindex","1","name","userPersona",1,"radio-group",3,"ngModel","ngModelChange"],["class","radio-text mr-4",3,"value","checked",4,"ngFor","ngForOf"],[1,"mt-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],["color","primary","name","themeMode",1,"radio-group",3,"ngModel","ngModelChange","change"],["tabindex","5","class","radio-text mr-4",3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxLayout.gt-xs","row","fxFlex","100","fxLayoutAlign","space-between stretch","fxLayoutAlign.gt-xs","start stretch"],["fxLayout","column","fxFlex.gt-xs","50","fxFlex.gt-md","40","fxLayoutAlign","space-between stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","space-between start"],["fxLayout","row","class","theme-name",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start start",1,"mt-1"],["fxLayout","row"],["mat-stroked-button","","color","primary","tabindex","10",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","11",3,"click"],[3,"value"],[1,"radio-text","mr-4",3,"value","checked"],["tabindex","5",1,"radio-text","mr-4",3,"value"],["fxLayout","row",1,"theme-name"],["tabindex","9",3,"ngClass","click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"mat-accordion",3)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),t._UZ(7,"fa-icon",5),t.TgZ(8,"span",6),t._uU(9,"Open Unannounced Channels"),t.qZA()()(),t.TgZ(10,"div",7)(11,"div",8),t._UZ(12,"fa-icon",9),t.TgZ(13,"span"),t._uU(14,"Use this control to toggle setting which defaults to opening unannounced channels only."),t.qZA()(),t.TgZ(15,"div",10)(16,"mat-slide-toggle",11),t.NdJ("ngModelChange",function(Pt){return Z.selNode.settings.unannouncedChannels=Pt})("change",function(){return!Z.selNode.settings.unannouncedChannels}),t._uU(17,"Open Unannounced Channels"),t.qZA()()()(),t.TgZ(18,"mat-expansion-panel",4)(19,"mat-expansion-panel-header")(20,"mat-panel-title"),t._UZ(21,"fa-icon",5),t.TgZ(22,"span",6),t._uU(23,"Balance Display"),t.qZA()()(),t.TgZ(24,"div",7)(25,"div",12),t._UZ(26,"fa-icon",9),t.TgZ(27,"span"),t._uU(28,"Fiat conversion calls "),t.TgZ(29,"strong")(30,"a",13),t._uU(31,"Blockchain.com"),t.qZA()(),t._uU(32," API to get conversion rates."),t.qZA()(),t.TgZ(33,"div",10)(34,"mat-slide-toggle",14),t.NdJ("ngModelChange",function(Pt){return Z.selNode.settings.fiatConversion=Pt})("change",function(){return!Z.selNode.settings.currencyUnit}),t._uU(35,"Enable Fiat Conversion"),t.qZA(),t.TgZ(36,"mat-form-field")(37,"mat-label"),t._uU(38,"Fiat Currency"),t.qZA(),t.TgZ(39,"mat-select",15,16),t.NdJ("ngModelChange",function(Pt){return Z.selNode.settings.currencyUnit=Pt})("selectionChange",function(Pt){return Z.onCurrencyChange(Pt)}),t.YNc(41,mt,2,2,"mat-option",17),t.qZA(),t.YNc(42,Rt,2,0,"mat-error",18),t.qZA()()()(),t.TgZ(43,"mat-expansion-panel",4)(44,"mat-expansion-panel-header")(45,"mat-panel-title"),t._UZ(46,"fa-icon",5),t.TgZ(47,"span",6),t._uU(48,"Customization"),t.qZA()()(),t.TgZ(49,"div",7)(50,"div",19),t._UZ(51,"fa-icon",9),t.TgZ(52,"span"),t._uU(53,"Dashboard layout will be tailored based on the role selected to better serve its needs."),t.qZA()(),t.TgZ(54,"div",20)(55,"h4"),t._uU(56,"Dashboard Layout"),t.qZA(),t.TgZ(57,"mat-radio-group",21),t.NdJ("ngModelChange",function(Pt){return Z.selNode.settings.userPersona=Pt}),t.YNc(58,ni,3,5,"mat-radio-button",22),t.qZA()(),t._UZ(59,"mat-divider",23),t.TgZ(60,"div",24)(61,"h4"),t._uU(62,"Mode"),t.qZA(),t.TgZ(63,"mat-radio-group",25),t.NdJ("ngModelChange",function(Pt){return Z.selectedThemeMode=Pt})("change",function(){return Z.chooseThemeMode()}),t.YNc(64,Li,2,2,"mat-radio-button",26),t.qZA()(),t._UZ(65,"mat-divider",23),t.TgZ(66,"div",27)(67,"div",28)(68,"h4"),t._uU(69,"Themes"),t.qZA(),t.TgZ(70,"div",29),t.YNc(71,ln,4,8,"span",30),t.qZA()()()()()()(),t.TgZ(72,"div",31)(73,"div",32)(74,"button",33),t.NdJ("click",function(){return Z.onResetSettings()}),t._uU(75,"Reset"),t.qZA(),t.TgZ(76,"button",34),t.NdJ("click",function(){return Z.onUpdateSettings()}),t._uU(77,"Update"),t.qZA()()()()),2&G&&(t.xp6(7),t.Q6J("icon",Z.faEyeSlash),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(4),t.Q6J("ngModel",Z.selNode.settings.unannouncedChannels),t.xp6(5),t.Q6J("icon",Z.faMoneyBillAlt),t.xp6(5),t.Q6J("icon",Z.faExclamationTriangle),t.xp6(8),t.Q6J("ngModel",Z.selNode.settings.fiatConversion),t.xp6(5),t.Q6J("disabled",!Z.selNode.settings.fiatConversion)("required",Z.selNode.settings.fiatConversion)("ngModel",Z.selNode.settings.currencyUnit),t.xp6(2),t.Q6J("ngForOf",Z.currencyUnits),t.xp6(1),t.Q6J("ngIf",Z.selNode.settings.fiatConversion&&!Z.selNode.settings.currencyUnit),t.xp6(4),t.Q6J("icon",Z.faPaintBrush),t.xp6(5),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("ngModel",Z.selNode.settings.userPersona),t.xp6(1),t.Q6J("ngForOf",Z.userPersonas),t.xp6(5),t.Q6J("ngModel",Z.selectedThemeMode),t.xp6(1),t.Q6J("ngForOf",Z.themeModes),t.xp6(7),t.Q6J("ngForOf",Z.themeColors))},dependencies:[sn.mk,sn.sg,sn.O5,Pe._Y,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,me.oO,pt.lW,Oe.pp,Oe.ib,Oe.yz,Oe.yK,Qt.KE,Qt.hX,Qt.TO,Pa.d,ge.VQ,ge.U0,Re.gD,ft.ey,Ne.Rr,_t.$V,Lt.h,sn.i8,sn.rS],styles:["h4[_ngcontent-%COMP%]{margin:.75rem 0 .5rem}.theme-name[_ngcontent-%COMP%]{min-width:10rem}@media only screen and (max-width: 37.5em){.theme-name[_ngcontent-%COMP%]{min-width:unset}}.skin[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;border-radius:50%;cursor:pointer;margin-right:.5rem}.skin.selected-color[_ngcontent-%COMP%]{width:1rem;height:1rem;border:2px solid}.skin.purple[_ngcontent-%COMP%]{background-color:#5e4ea5}.skin.indigo[_ngcontent-%COMP%]{background-color:#3f51b5}.skin.teal[_ngcontent-%COMP%]{background-color:#00695c}.skin.pink[_ngcontent-%COMP%]{background-color:#d81b60}.skin.yellow[_ngcontent-%COMP%]{background-color:#a1842c}"]})}return N})();var Jn=p(2460),Pr=p(3468),ko=p(7321),Us=p(9930),wo=p(617),Gs=p(2596),cs=p(2995);const fo=N=>({error:N});function yc(N,V){if(1&N&&t.GkF(0,14),2&N){const b=t.oxw(),G=t.MAs(18);t.Q6J("ngTemplateOutlet",G)("ngTemplateOutletContext",t.VKq(2,fo,b.errorMessage))}}function Rr(N,V){if(1&N&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",b," ")}}function D2(N,V){if(1&N&&(t.TgZ(0,"mat-option",31),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&N){const b=V.$implicit,G=t.oxw(3);t.Q6J("value",b),t.xp6(1),t.hij(" ","ECL"===G.selNode.lnImplementation?t.lcZ(2,2,b):t.xi3(3,4,b,"_")," ")}}function _d(N,V){if(1&N&&(t.TgZ(0,"mat-option",31),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ","desc"===b?"Descending":"Ascending"," ")}}function _1(N,V){if(1&N&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&N){const b=V.$implicit,G=t.oxw(2).$implicit,Z=t.oxw(2);t.Q6J("value",b.column)("disabled",G.columnSelection.length<=2&&G.columnSelection.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}function Zs(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-form-field",32)(1,"mat-label"),t._uU(2,"Column selection (Desktop Resolution)"),t.qZA(),t.TgZ(3,"mat-select",33),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw().$implicit;return t.KtG(He.columnSelection=Z)})("selectionChange",function(){t.CHM(b);const Z=t.oxw().$implicit,He=t.oxw(2);return t.KtG(He.oncolumnSelectionChange(Z))}),t.YNc(4,_1,4,8,"mat-option",28),t.qZA()()}if(2&N){const b=t.oxw().$implicit,G=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hYB("name","",G.pageId,"",b.tableId,"-columns-selection"),t.Q6J("ngModel",b.columnSelection),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[G.pageId][b.tableId].allowedColumns)}}function es(N,V){if(1&N&&(t.TgZ(0,"mat-option",34),t._uU(1),t.ALo(2,"camelCaseWithSpaces"),t.ALo(3,"camelcaseWithReplace"),t.qZA()),2&N){const b=V.$implicit,G=t.oxw().$implicit,Z=t.oxw(2);t.Q6J("value",b.column)("disabled",G.columnSelectionSM.length<=1&&G.columnSelectionSM.includes(b.column)||G.columnSelectionSM.length>=3&&!G.columnSelectionSM.includes(b.column)),t.xp6(1),t.hij(" ",b.label?b.label:"ECL"===Z.selNode.lnImplementation?t.lcZ(2,3,b.column):t.xi3(3,5,b.column,"_")," ")}}const ks=N=>({"ml-minus-1":N});function ls(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",17)(1,"div",18)(2,"span",19),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA(),t.TgZ(5,"mat-form-field",20)(6,"mat-label"),t._uU(7,"Records/Page"),t.qZA(),t.TgZ(8,"mat-select",21),t.NdJ("ngModelChange",function(Z){const Pt=t.CHM(b).$implicit;return t.KtG(Pt.recordsPerPage=Z)}),t.YNc(9,Rr,2,2,"mat-option",22),t.qZA()(),t.TgZ(10,"mat-form-field",20)(11,"mat-label"),t._uU(12,"Sort By"),t.qZA(),t.TgZ(13,"mat-select",23),t.NdJ("ngModelChange",function(Z){const Pt=t.CHM(b).$implicit;return t.KtG(Pt.sortBy=Z)}),t.YNc(14,D2,4,7,"mat-option",22),t.qZA()(),t.TgZ(15,"mat-form-field",20)(16,"mat-label"),t._uU(17,"Sort Order"),t.qZA(),t.TgZ(18,"mat-select",24),t.NdJ("ngModelChange",function(Z){const Pt=t.CHM(b).$implicit;return t.KtG(Pt.sortOrder=Z)}),t.YNc(19,_d,2,2,"mat-option",22),t.qZA()(),t.YNc(20,Zs,5,4,"mat-form-field",25),t.TgZ(21,"mat-form-field",26)(22,"mat-label"),t._uU(23,"Column Selection (Mobile Resolution)"),t.qZA(),t.TgZ(24,"mat-select",27),t.NdJ("ngModelChange",function(Z){const Pt=t.CHM(b).$implicit;return t.KtG(Pt.columnSelectionSM=Z)}),t.YNc(25,es,4,8,"mat-option",28),t.qZA()(),t.TgZ(26,"button",29),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw().$implicit,ti=t.oxw();return t.KtG(ti.onTableReset(Pt.pageId,He))}),t.TgZ(27,"mat-icon",30),t._uU(28,"restore"),t.qZA()()()()}if(2&N){const b=V.$implicit,G=t.oxw().$implicit,Z=t.oxw();t.xp6(3),t.hij("",t.xi3(4,20,b.tableId,"_"),":"),t.xp6(5),t.hYB("name","",G.pageId,"",b.tableId,"-page-size-options"),t.Q6J("disabled",Z.nodePageDefs[G.pageId][b.tableId].disablePageSize)("ngModel",b.recordsPerPage),t.xp6(1),t.Q6J("ngForOf",Z.pageSizeOptions),t.xp6(4),t.hYB("name","",G.pageId,"",b.tableId,"-sort-by"),t.Q6J("ngModel",b.sortBy),t.xp6(1),t.Q6J("ngForOf",b.columnSelection),t.xp6(4),t.hYB("name","",G.pageId,"",b.tableId,"-sort-order"),t.Q6J("ngModel",b.sortOrder),t.xp6(1),t.Q6J("ngForOf",Z.sortOrders),t.xp6(1),t.Q6J("ngIf",Z.screenSize!==Z.screenSizeEnum.XS),t.xp6(4),t.hYB("name","",G.pageId,"",b.tableId,"-columns-selection-sm"),t.Q6J("ngModel",b.columnSelectionSM),t.xp6(1),t.Q6J("ngForOf",Z.nodePageDefs[G.pageId][b.tableId].allowedColumns),t.xp6(2),t.Q6J("ngClass",t.VKq(23,ks,Z.screenSize===Z.screenSizeEnum.XS||Z.screenSize===Z.screenSizeEnum.SM))}}function Is(N,V){if(1&N&&t.GkF(0,14),2&N){const b=t.oxw(2),G=t.MAs(18);t.Q6J("ngTemplateOutlet",G)("ngTemplateOutletContext",t.VKq(2,fo,b.errorMessage))}}const Tl=N=>({"error-border":N});function Gc(N,V){if(1&N&&(t.TgZ(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.ALo(4,"camelcaseWithReplace"),t.qZA()(),t.YNc(5,ls,29,25,"div",16)(6,Is,1,4,"ng-container",6),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.Q6J("ngClass",t.VKq(7,Tl,(null==G.errorMessage?null:G.errorMessage.page)===b.pageId)),t.xp6(3),t.Oqu(t.xi3(4,4,b.pageId,"_")),t.xp6(2),t.Q6J("ngForOf",b.tables),t.xp6(1),t.Q6J("ngIf",G.errorMessage&&(null==G.errorMessage?null:G.errorMessage.page)===b.pageId)}}function Zc(N,V){if(1&N&&(t.TgZ(0,"mat-panel-title"),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&N){const b=t.oxw().error;t.xp6(1),t.hij("Page ",t.lcZ(2,1,b.page),"")}}function Wc(N,V){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.qZA()()),2&N){const b=t.oxw().error;t.xp6(4),t.Oqu(b.message)}}function Aa(N,V){if(1&N&&(t.TgZ(0,"mat-list-item")(1,"mat-icon",39),t._uU(2,"close"),t.qZA(),t.TgZ(3,"span"),t._uU(4),t.ALo(5,"titlecase"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(4),t.AsE("Table ",t.lcZ(5,2,b.table)," ",b.message,"")}}const Al=N=>({"error-border p-2":N});function L2(N,V){if(1&N&&(t.TgZ(0,"div",35),t.YNc(1,Zc,3,3,"mat-panel-title",36),t.TgZ(2,"mat-list",37),t.YNc(3,Wc,5,1,"mat-list-item",36)(4,Aa,6,4,"mat-list-item",38),t.qZA()()),2&N){const b=V.error,G=t.oxw();t.Q6J("ngClass",t.VKq(4,Al,"unknown"===G.errorMessage.page)),t.xp6(1),t.Q6J("ngIf","unknown"===G.errorMessage.page),t.xp6(2),t.Q6J("ngIf",b.message),t.xp6(1),t.Q6J("ngForOf",b.tables)}}let Yc=(()=>{class N{constructor(b,G,Z,He){this.logger=b,this.commonService=G,this.store=Z,this.actions=He,this.faPenRuler=nn.SoD,this.faExclamationTriangle=nn.eHv,this.screenSize="",this.screenSizeEnum=Kt.cu,this.pageSizeOptions=Kt.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Kt.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Kt.Bn,this.errorMessage=null,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{switch(this.selNode=b,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Kt.gG),this.defaultSettings=Object.assign([],Kt.gG),this.nodePageDefs=Kt.At,this.store.select(Pr.AS).pipe((0,qi.R)(this.unSubs[1]),(0,Jn.M)(this.store.select(Pr.lw))).subscribe(([G,Z])=>{const He=JSON.parse(JSON.stringify(G.pageSettings));if(this.errorMessage=null,this.apiCallStatus=G.apiCallStatus,this.apiCallStatus.status===Kt.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=He,this.initialPageSettings=He;else{if(!Z?.enableOffers){const Pt=He.find(wi=>"transactions"===wi.pageId),ti=Pt?.tables.findIndex(wi=>"offers"===wi.tableId),fi=Pt?.tables.findIndex(wi=>"offer_bookmarks"===wi.tableId);ti>-1&&Pt?.tables.splice(ti,1),fi>-1&&Pt?.tables.splice(fi,1)}if(!Z?.enablePeerswap){const Pt=He.findIndex(ti=>"peerswap"===ti.pageId);Pt>-1&&He.splice(Pt,1)}this.pageSettings=He,this.initialPageSettings=He}this.logger.info(He)}),this.actions.pipe((0,qi.R)(this.unSubs[2]),(0,cr.h)(G=>G.type===Kt.AB.UPDATE_API_CALL_STATUS_CLN||G.type===Kt.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(G=>{G.type===Kt.AB.UPDATE_API_CALL_STATUS_CLN&&G.payload.status===Kt.Bn.ERROR&&"SavePageSettings"===G.payload.action&&(this.errorMessage=JSON.parse(G.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Kt.c3),this.defaultSettings=Object.assign([],Kt.c3),this.nodePageDefs=Kt.Xk,this.store.select(Us.nF).pipe((0,qi.R)(this.unSubs[1]),(0,Jn.M)(this.store.select(Us.LR))).subscribe(([G,Z])=>{const He=JSON.parse(JSON.stringify(G.pageSettings));this.errorMessage=null,this.apiCallStatus=G.apiCallStatus,this.apiCallStatus.status===Kt.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=He,this.initialPageSettings=He):(this.pageSettings=He,this.initialPageSettings=He),this.logger.info(He)}),this.actions.pipe((0,qi.R)(this.unSubs[2]),(0,cr.h)(G=>G.type===Kt.lr.UPDATE_API_CALL_STATUS_ECL||G.type===Kt.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(G=>{G.type===Kt.lr.UPDATE_API_CALL_STATUS_ECL&&G.payload.status===Kt.Bn.ERROR&&"SavePageSettings"===G.payload.action&&(this.errorMessage=JSON.parse(G.payload.message))});break;default:this.initialPageSettings=Object.assign([],Kt.gK),this.defaultSettings=Object.assign([],Kt.gK),this.nodePageDefs=Kt.hG,this.store.select(ko.Pr).pipe((0,qi.R)(this.unSubs[1]),(0,Jn.M)(this.store.select(ko.$k))).subscribe(([G,Z])=>{const He=JSON.parse(JSON.stringify(G.pageSettings));if(this.errorMessage=null,this.apiCallStatus=G.apiCallStatus,this.apiCallStatus.status===Kt.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=He,this.initialPageSettings=He;else{if(!Z?.swapServerUrl||""===Z.swapServerUrl.trim()){const Pt=He.findIndex(ti=>"loop"===ti.pageId);Pt>-1&&He.splice(Pt,1)}if(!Z?.boltzServerUrl||""===Z.boltzServerUrl.trim()){const Pt=He.findIndex(ti=>"boltz"===ti.pageId);Pt>-1&&He.splice(Pt,1)}if(!Z?.enablePeerswap){const Pt=He.findIndex(ti=>"peerswap"===ti.pageId);Pt>-1&&He.splice(Pt,1)}this.pageSettings=He,this.initialPageSettings=He}this.logger.info(He)}),this.actions.pipe((0,qi.R)(this.unSubs[2]),(0,cr.h)(G=>G.type===Kt.uR.UPDATE_API_CALL_STATUS_LND||G.type===Kt.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(G=>{G.type===Kt.uR.UPDATE_API_CALL_STATUS_LND&&G.payload.status===Kt.Bn.ERROR&&"SavePageSettings"===G.payload.action&&(this.errorMessage=JSON.parse(G.payload.message))})}})}oncolumnSelectionChange(b){b.columnSelection&&(!b.sortBy||!b.columnSelection.includes(b.sortBy))&&(b.sortBy=b.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((b,G)=>b||G.tables.reduce((Z,He)=>!(He.recordsPerPage&&He.sortBy&&He.sortOrder&&He.columnSelection&&He.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,Wn.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,qn.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,xr.eF)({payload:this.pageSettings}))}}onTableReset(b,G){const Z=this.pageSettings.findIndex(ti=>ti.pageId===b),He=this.pageSettings[Z].tables.findIndex(ti=>ti.tableId===G.tableId),Pt=this.defaultSettings.find(ti=>ti.pageId===b)?.tables.find(ti=>ti.tableId===G.tableId)||this.pageSettings.find(ti=>ti.pageId===b)?.tables.find(ti=>ti.tableId===G.tableId);this.pageSettings[Z].tables.splice(He,1,Pt)}onResetPageSettings(b){"current"===b?(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.initialPageSettings))):(this.errorMessage=null,this.pageSettings=JSON.parse(JSON.stringify(this.defaultSettings)))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(na.v),t.Y36(Vi.yh),t.Y36(lo.eX))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["displayMode","flat","multi","false"],["fxLayout","column","class","flat-expansion-panel mt-1","expanded","false",3,"ngClass",4,"ngFor","ngForOf"],["fxLayout","row",1,"mt-1"],["mat-stroked-button","","color","primary","tabindex","8",1,"mr-1",3,"click"],["mat-stroked-button","","color","primary","tabindex","9",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","10",3,"click"],["errorObjectBlock",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","column","expanded","false",1,"flat-expansion-panel","mt-1",3,"ngClass"],["fxLayout","column","fxLayoutAlign","start stretch","class","padding-gap-x-large table-setting-row",4,"ngFor","ngForOf"],["fxLayout","column","fxLayoutAlign","start stretch",1,"padding-gap-x-large","table-setting-row"],["fxLayout","column","fxLayoutAlign","space-between stretch","fxLayout.gt-sm","row wrap","fxLayoutAlign.gt-sm","space-between center"],["fxFlex","10",1,"mb-2"],["fxLayout","column","fxFlex","10"],["tabindex","2","required","",3,"disabled","name","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"name","ngModel","ngModelChange"],["tabindex","4","required","",3,"name","ngModel","ngModelChange"],["fxFlex","35","matTooltip","Select a minimum of 2 columns",4,"ngIf"],["fxLayout","column","fxFlex","15","matTooltip","Select between 1 and 3 columns"],["tabindex","5","multiple","","required","",3,"name","ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],["mat-icon-button","","color","primary","type","button","tabindex","7","matTooltip","Reset to Default",1,"mb-2",3,"click"],["color","primary",3,"ngClass"],[3,"value"],["fxFlex","35","matTooltip","Select a minimum of 2 columns"],["tabindex","6","multiple","","required","",3,"name","ngModel","ngModelChange","selectionChange"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6,"Grid Settings"),t.qZA()(),t.YNc(7,yc,1,4,"ng-container",6),t.TgZ(8,"mat-accordion",7),t.YNc(9,Gc,7,9,"mat-expansion-panel",8),t.qZA()(),t.TgZ(10,"div",9)(11,"button",10),t.NdJ("click",function(){return Z.onResetPageSettings("current")}),t._uU(12,"Reset"),t.qZA(),t.TgZ(13,"button",11),t.NdJ("click",function(){return Z.onResetPageSettings("default")}),t._uU(14,"Reset to Default"),t.qZA(),t.TgZ(15,"button",12),t.NdJ("click",function(){return Z.onUpdatePageSettings()}),t._uU(16,"Save"),t.qZA()()(),t.YNc(17,L2,5,6,"ng-template",null,13,t.W1O)),2&G&&(t.xp6(4),t.Q6J("icon",Z.faPenRuler),t.xp6(3),t.Q6J("ngIf",Z.errorMessage&&"unknown"===Z.errorMessage.page),t.xp6(2),t.Q6J("ngForOf",Z.pageSettings))},dependencies:[sn.mk,sn.sg,sn.O5,sn.tP,Pe._Y,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,me.oO,pt.lW,pt.RK,Oe.pp,Oe.ib,Oe.yz,Oe.yK,wo.Hw,Qt.KE,Qt.hX,Bs.i$,Bs.Tg,Re.gD,ft.ey,Gs.gM,_t.$V,sn.rS,cs.D3,cs.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]})}return N})();function jc(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[0].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[0].link),t.Q6J("active",b.activeLink===b.links[0].link),t.xp6(1),t.Oqu(b.links[0].name)}}const xc=()=>({initial:!1});function Af(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[1].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[1].link),t.Q6J("active",b.activeLink===b.links[1].link)("state",t.DdM(4,xc)),t.xp6(1),t.Oqu(b.links[1].name)}}function v1(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",13),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.activeLink=Z.links[2].link)}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw();t.s9C("routerLink",b.links[2].link),t.Q6J("active",b.activeLink===b.links[2].link),t.xp6(1),t.Oqu(b.links[2].name)}}let Df=(()=>{class N{constructor(b,G,Z){this.store=b,this.router=G,this.activatedRoute=Z,this.faLayerGroup=nn.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){const b=this.links.find(G=>this.router.url.includes(G.link));this.activeLink=b?b.link:this.links[0].link,this.router.events.pipe((0,qi.R)(this.unSubs[0]),(0,cr.h)(G=>G instanceof Xn.Av)).subscribe({next:G=>{const Z=this.links.find(He=>G.urlAfterRedirects.includes(He.link));this.activeLink="CLN"===this.selNode.lnImplementation.toUpperCase()?this.links[2].link:Z?Z.link:this.links[0].link}}),this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[1])).subscribe(G=>{this.selNode=G,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Vi.yh),t.Y36(Xn.F0),t.Y36(Xn.gz))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-sub-title-container","my-1"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["tabindex","1","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Services"),t.qZA()()(),t.TgZ(5,"div",4)(6,"mat-card")(7,"mat-card-content",4)(8,"nav",5),t.YNc(9,jc,2,3,"div",6)(10,Af,2,5,"div",7)(11,v1,2,3,"div",8),t.qZA(),t._UZ(12,"mat-tab-nav-panel",null,9),t.TgZ(14,"div",10),t._UZ(15,"router-outlet"),t.qZA()()()()),2&G){const He=t.MAs(13);t.xp6(2),t.Q6J("icon",Z.faLayerGroup),t.xp6(6),t.Q6J("tabPanel",He),t.xp6(1),t.Q6J("ngIf","LND"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","LND"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase())),t.xp6(1),t.Q6J("ngIf","CLN"===(null==Z.selNode||null==Z.selNode.lnImplementation?null:Z.selNode.lnImplementation.toUpperCase()))}},dependencies:[sn.O5,qr.BN,$i.xw,$i.Wh,$i.yH,or.a8,or.dn,ta.BU,ta.sW,ta.Nj,Xn.lC,Xn.rH]})}return N})();const vd=["form"];function Lf(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop server URL is required."),t.qZA())}function Eh(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the loop server url with 'https://'."),t.qZA())}function sm(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Loop macaroon path is required."),t.qZA())}let Dl=(()=>{class N{constructor(b,G){this.logger=b,this.store=G,this.faInfoCircle=nn.sqG,this.enableLoop=!1,this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableLoop=!(!b.settings.swapServerUrl||""===b.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableLoop=b.checked,this.enableLoop||(this.selNode.authentication.swapMacaroonPath="",this.selNode.settings.swapServerUrl="")}onUpdateService(){if(this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableLoop&&(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim()||!this.selNode.authentication.swapMacaroonPath||""===this.selNode.authentication.swapMacaroonPath.trim()))return!0;this.logger.info(this.selNode),this.store.dispatch((0,_e.jS)({payload:{uiMessage:Kt.m6.UPDATE_LOOP_SETTINGS,service:Kt.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,xr.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,Wn.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,qn.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Vi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-loop-service-settings"]],viewQuery:function(G,Z){if(1&G&&t.Gf(vd,7),2&G){let He;t.iGM(He=t.CRH())&&(Z.form=He.first)}},decls:38,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://github.com/lightninglabs/loop","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"required","disabled","ngModel","ngModelChange"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"loopd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(Pt){return Z.enableLoop=Pt})("change",function(Pt){return Z.onEnableServiceChanged(Pt)}),t._uU(16,"Enable Loop Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Loop Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(Pt){return Z.selNode.settings.swapServerUrl=Pt}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),t.qZA(),t.YNc(24,Lf,2,0,"mat-error",11)(25,Eh,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Loop Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(Pt){return Z.selNode.authentication.swapMacaroonPath=Pt}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),t.qZA(),t.YNc(32,sm,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&G){const He=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableLoop),t.xp6(5),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.settings.swapServerUrl),t.xp6(4),t.Q6J("ngIf",!Z.selNode.settings.swapServerUrl&&Z.enableLoop),t.xp6(1),t.Q6J("ngIf",(null==He||null==He.errors?null:He.errors.invalid)&&Z.enableLoop),t.xp6(4),t.Q6J("required",Z.enableLoop)("disabled",!Z.enableLoop)("ngModel",Z.selNode.authentication.swapMacaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.selNode.authentication.swapMacaroonPath&&Z.enableLoop)}},dependencies:[sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,pt.lW,Ln.Nt,Qt.KE,Qt.hX,Qt.bx,Qt.TO,Ne.Rr,_t.$V,Lt.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();const b1=["form"];function kf(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz server URL is required."),t.qZA())}function Ll(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Specify the boltz server url with 'https://'."),t.qZA())}function y1(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Boltz macaroon path is required."),t.qZA())}let x1=(()=>{class N{constructor(b,G){this.logger=b,this.store=G,this.faInfoCircle=nn.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.enableBoltz=!(!b.settings.boltzServerUrl||""===b.settings.boltzServerUrl.trim()),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(b)})}onEnableServiceChanged(b){this.enableBoltz=b.checked,this.enableBoltz||(this.macaroonPath="",this.serverUrl="")}onUpdateService(){if(this.serverUrl&&""!==this.serverUrl.trim()&&!this.form.controls.srvrUrl.value.includes("https://")&&this.form.controls.srvrUrl.setErrors({invalid:!0}),this.enableBoltz&&(!this.serverUrl||""===this.serverUrl.trim()||!this.serverUrl.includes("https://")||!this.macaroonPath||""===this.macaroonPath.trim()))return!0;this.logger.info(this.selNode),this.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath,this.store.dispatch((0,_e.jS)({payload:{uiMessage:Kt.m6.UPDATE_BOLTZ_SETTINGS,service:Kt.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,xr.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,Wn.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,qn.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.serverUrl=this.selNode.settings.boltzServerUrl||"",this.macaroonPath=this.selNode.authentication.boltzMacaroonPath,this.enableBoltz=!(!this.serverUrl||""===this.serverUrl.trim())}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Vi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(G,Z){if(1&G&&t.Gf(b1,7),2&G){let He;t.iGM(He=t.CRH())&&(Z.form=He.first)}},decls:38,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://lnd.docs.boltz.exchange/en/latest/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"required","disabled","ngModel","ngModelChange"],["fxLayout","row",1,"mt-2"],["mat-stroked-button","","color","primary","type","reset","tabindex","4",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","type","submit","tabindex","5",3,"click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"boltzd"),t.qZA(),t._uU(7," is running and accessible to RTL before enabling this service. Click "),t.TgZ(8,"strong")(9,"a",3),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about the installation."),t.qZA()(),t.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),t.NdJ("ngModelChange",function(Pt){return Z.enableBoltz=Pt})("change",function(Pt){return Z.onEnableServiceChanged(Pt)}),t._uU(16,"Enable Boltz Service"),t.qZA(),t.TgZ(17,"mat-form-field",8)(18,"mat-label"),t._uU(19,"Boltz Server URL"),t.qZA(),t.TgZ(20,"input",9,10),t.NdJ("ngModelChange",function(Pt){return Z.serverUrl=Pt}),t.qZA(),t.TgZ(22,"mat-hint"),t._uU(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),t.qZA(),t.YNc(24,kf,2,0,"mat-error",11)(25,Ll,2,0,"mat-error",11),t.qZA(),t.TgZ(26,"mat-form-field")(27,"mat-label"),t._uU(28,"Boltz Macaroon Path"),t.qZA(),t.TgZ(29,"input",12),t.NdJ("ngModelChange",function(Pt){return Z.macaroonPath=Pt}),t.qZA(),t.TgZ(30,"mat-hint"),t._uU(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),t.qZA(),t.YNc(32,y1,2,0,"mat-error",11),t.qZA()()(),t.TgZ(33,"div",13)(34,"button",14),t.NdJ("click",function(){return Z.onReset()}),t._uU(35,"Reset"),t.qZA(),t.TgZ(36,"button",15),t.NdJ("click",function(){return Z.onUpdateService()}),t._uU(37,"Update"),t.qZA()()()),2&G){const He=t.MAs(21);t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(13),t.Q6J("ngModel",Z.enableBoltz),t.xp6(5),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.serverUrl),t.xp6(4),t.Q6J("ngIf",(!Z.serverUrl||""===Z.serverUrl.trim())&&Z.enableBoltz),t.xp6(1),t.Q6J("ngIf",(null==He||null==He.errors?null:He.errors.invalid)&&Z.enableBoltz),t.xp6(4),t.Q6J("required",Z.enableBoltz)("disabled",!Z.enableBoltz)("ngModel",Z.macaroonPath),t.xp6(3),t.Q6J("ngIf",!Z.macaroonPath&&Z.enableBoltz)}},dependencies:[sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,pt.lW,Ln.Nt,Qt.KE,Qt.hX,Qt.bx,Qt.TO,Ne.Rr,_t.$V,Lt.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})(),Kc=(()=>{class N{constructor(){}static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(G,Z){1&G&&t._UZ(0,"router-outlet")},dependencies:[Xn.lC]})}return N})();var kl=p(5487),C1=p(3149),Qc=p(1476),Io=p(3566),ur=p(5313),qc=p(6007);function bd(N,V){if(1&N&&(t.TgZ(0,"mat-option",37),t._uU(1),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(G.getLabel(b))}}function Th(N,V){1&N&&t._UZ(0,"mat-progress-bar",38)}function w1(N,V){1&N&&(t.TgZ(0,"th",39),t._uU(1,"State"),t.qZA())}function k2(N,V){if(1&N&&(t.TgZ(0,"td",40),t._uU(1),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Oqu(G.LoopStateEnum[null==b?null:b.state])}}function If(N,V){1&N&&(t.TgZ(0,"th",39),t._uU(1,"Initiation Time"),t.qZA())}function I2(N,V){if(1&N&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&N){const b=V.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function Ah(N,V){1&N&&(t.TgZ(0,"th",39),t._uU(1,"Last Update Time"),t.qZA())}function Dh(N,V){if(1&N&&(t.TgZ(0,"td",40),t._uU(1),t.ALo(2,"date"),t.qZA()),2&N){const b=V.$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,(null==b?null:b.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function Xs(N,V){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Amount (Sats)"),t.qZA())}function O2(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.amt))}}function M1(N,V){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Cost Server (Sats)"),t.qZA())}function Js(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_server))}}function Lh(N,V){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Cost Offchain (Sats)"),t.qZA())}function P2(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.cost_offchain))}}function yd(N,V){1&N&&(t.TgZ(0,"th",41),t._uU(1,"Cost Onchain (Sats)"),t.qZA())}function Xc(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",42),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.hij(" ",t.lcZ(3,1,null==b?null:b.cost_onchain)," ")}}function Il(N,V){1&N&&(t.TgZ(0,"th",39),t._uU(1,"HTLC Address"),t.qZA())}const Na=N=>({width:N});function kh(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Na,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.htlc_address)}}function Ih(N,V){1&N&&(t.TgZ(0,"th",39),t._uU(1,"ID"),t.qZA())}function R2(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Na,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id)}}function Of(N,V){1&N&&(t.TgZ(0,"th",39),t._uU(1,"ID (Bytes)"),t.qZA())}function Oh(N,V){if(1&N&&(t.TgZ(0,"td",40)(1,"span",43)(2,"span",44),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Na,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.id_bytes)}}function Ol(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",48),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function Pl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"td",49)(1,"button",50),t.NdJ("click",function(Z){const Pt=t.CHM(b).$implicit,ti=t.oxw();return t.KtG(ti.onSwapClick(Pt,Z))}),t._uU(2,"View Info"),t.qZA()()}}function Cc(N,V){if(1&N&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function Rl(N,V){if(1&N&&(t.TgZ(0,"td",51),t.YNc(1,Cc,2,1,"p",52),t.qZA()),2&N){const b=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}const Nl=N=>({"display-none":N});function xd(N,V){if(1&N&&t._UZ(0,"tr",53),2&N){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,Nl,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function Ws(N,V){1&N&&t._UZ(0,"tr",54)}function cm(N,V){1&N&&t._UZ(0,"tr",55)}const N2=()=>["all"],lm=N=>({"overflow-auto error-border":N,"overflow-auto":!0}),Pf=()=>["no_swap"];let Rf=(()=>{class N{constructor(b,G,Z,He,Pt,ti){this.logger=b,this.commonService=G,this.store=Z,this.loopService=He,this.datePipe=Pt,this.camelCaseWithReplace=ti,this.selectedSwapType=Kt.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Kt.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Kt.IV,sortBy:"initiation_time",sortOrder:Kt.Pi.DESCENDING},this.LoopStateEnum=Kt.Fq,this.faHistory=nn.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new ur.by([]),this.selFilter="",this.pageSize=Kt.IV,this.pageSizeOptions=Kt.TJ,this.screenSize="",this.screenSizeEnum=Kt.cu,this.unSubs=[new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){this.swapCaption=this.selectedSwapType===Kt.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(ko.Pr).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.tableSetting=b.pageSettings.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSetting.tableId)||Kt.gK.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Kt.cu.XS||this.screenSize===Kt.cu.SM?JSON.parse(JSON.stringify(this.tableSetting.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSetting.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSetting.recordsPerPage?+this.tableSetting.recordsPerPage:Kt.IV,this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(b){const G=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Z=>Z.column===b);return G?G.label?G.label:this.camelCaseWithReplace.transform(G.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,G)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(b).toLowerCase();break;case"state":Z=b?.state?this.LoopStateEnum[b?.state]:"";break;case"initiation_time":case"last_update_time":Z=this.datePipe.transform(new Date((b[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Z=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Z.indexOf(G):Z.includes(G)}}onSwapClick(b,G){this.loopService.getSwap(b.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,qi.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,_e.qR)({payload:{data:{type:Kt.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Kt.Fq[Z.state||""],title:"Status",width:50,type:Kt.Gi.STRING},{key:"amt",value:Z.amt,title:"Amount (Sats)",width:50,type:Kt.Gi.NUMBER}],[{key:"initiation_time",value:(Z.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Kt.Gi.DATE_TIME},{key:"last_update_time",value:(Z.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Kt.Gi.DATE_TIME}],[{key:"cost_server",value:Z.cost_server,title:"Server Cost (Sats)",width:33,type:Kt.Gi.NUMBER},{key:"cost_offchain",value:Z.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Kt.Gi.NUMBER},{key:"cost_onchain",value:Z.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Kt.Gi.NUMBER}],[{key:"id_bytes",value:Z.id_bytes,title:"ID",width:100,type:Kt.Gi.STRING}],[{key:"htlc_address",value:Z.htlc_address,title:"HTLC Address",width:100,type:Kt.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new ur.by([...b]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(G,Z)=>G[Z]&&isNaN(G[Z])?G[Z].toLocaleLowerCase():G[Z]?+G[Z]:null,this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Kt.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(na.v),t.Y36(Vi.yh),t.Y36(C1.W),t.Y36(sn.uU),t.Y36(cs.D3))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-swaps"]],viewQuery:function(G,Z){if(1&G&&(t.Gf(Io.YE,5),t.Gf(Qc.NW,5)),2&G){let He;t.iGM(He=t.CRH())&&(Z.sort=He.first),t.iGM(He=t.CRH())&&(Z.paginator=He.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Re.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Qc.ye,useValue:(0,Kt.pt)("Swaps")}]),t.TTD],decls:61,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(Pt){return Z.selFilterBy=Pt})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,bd,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(Pt){return Z.selFilter=Pt})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,Th,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,w1,2,0,"th",16)(24,k2,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,If,2,0,"th",16)(27,I2,3,4,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,Ah,2,0,"th",16)(30,Dh,3,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,Xs,2,0,"th",21)(33,O2,4,3,"td",17),t.BQk(),t.ynx(34,22),t.YNc(35,M1,2,0,"th",21)(36,Js,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,Lh,2,0,"th",21)(39,P2,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,yd,2,0,"th",21)(42,Xc,4,3,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,Il,2,0,"th",16)(45,kh,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,Ih,2,0,"th",16)(48,R2,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Of,2,0,"th",16)(51,Oh,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,Ol,6,0,"th",29)(54,Pl,3,0,"td",30),t.BQk(),t.ynx(55,31),t.YNc(56,Rl,2,1,"td",32),t.BQk(),t.YNc(57,xd,1,3,"tr",33)(58,Ws,1,0,"tr",34)(59,cm,1,0,"tr",35),t.qZA(),t._UZ(60,"mat-paginator",36),t.qZA()()()),2&G&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,N2).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.tableSetting.sortBy)("matSortDirection",Z.tableSetting.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,lm,"error"===Z.flgLoading[0])),t.xp6(37),t.Q6J("matFooterRowDef",t.DdM(19,Pf)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[sn.mk,sn.sg,sn.O5,sn.PC,Pe.Fj,Pe.JJ,Pe.On,qr.BN,$i.xw,$i.Wh,$i.yH,me.oO,me.Zl,pt.lW,Ln.Nt,Qt.KE,Qt.hX,qc.pW,Re.gD,Re.$L,ft.ey,Io.YE,Io.nU,ur.BZ,ur.fO,ur.as,ur.w1,ur.Dz,ur.nj,ur.mD,ur.Ke,ur.ge,ur.ev,ur.yh,ur.XQ,ur.Gk,ur.Q2,Qc.NW,_t.Vv,_t.$V,sn.JJ,sn.uU]})}return N})();const Nf=N=>["../",N];function Cd(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw();return t.KtG(Pt.onSelectedIndexChange(He))}),t._uU(1),t.qZA()}if(2&N){const b=V.$implicit,G=t.oxw();t.Q6J("active",G.activeTab.link===b.link)("routerLink",t.VKq(3,Nf,b.link)),t.xp6(1),t.Oqu(b.name)}}let H2=(()=>{class N{constructor(b,G,Z){this.router=b,this.loopService=G,this.store=Z,this.faInfinity=nn.vqe,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Kt.$I,this.selectedSwapType=Kt.$I.LOOP_OUT,this.storedSwaps=[],this.filteredSwaps=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"loopout",name:"Loop Out"},{link:"loopin",name:"Loop In"}],this.activeTab=this.links[0],this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.store.dispatch((0,_e.ac)({payload:Kt.m6.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,qi.R)(this.unSubs[4])).subscribe({next:G=>{this.store.dispatch((0,_e.uO)({payload:Kt.m6.GET_LOOP_INFO})),this.loopInfo=G,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:G=>{this.store.dispatch((0,_e.uO)({payload:Kt.m6.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const b=this.links.find(G=>this.router.url.includes(G.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"loopin"===b.link?Kt.$I.LOOP_IN:Kt.$I.LOOP_OUT,this.router.events.pipe((0,qi.R)(this.unSubs[0]),(0,cr.h)(G=>G instanceof Xn.Av)).subscribe({next:G=>{const Z=this.links.find(He=>G.urlAfterRedirects.includes(He.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"loopin"===Z.link?Kt.$I.LOOP_IN:Kt.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,qi.R)(this.unSubs[1])).subscribe({next:G=>{this.flgLoading[0]=!1,this.storedSwaps=G,this.filteredSwaps=this.storedSwaps?.filter(Z=>Z.type===this.selectedSwapType)},error:G=>{this.flgLoading[0]="error",this.emptyTableMessage=G.message?G.message:"No loop "+(this.selectedSwapType===Kt.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){this.selectedSwapType="loopin"===b.link?Kt.$I.LOOP_IN:Kt.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(G=>G.type===this.selectedSwapType)}onLoop(b){b===Kt.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,qi.R)(this.unSubs[2])).subscribe({next:G=>{this.store.dispatch((0,_e.qR)({payload:{data:{minQuote:G[0],maxQuote:G[1],direction:b,component:kl.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,qi.R)(this.unSubs[3])).subscribe({next:G=>{this.store.dispatch((0,_e.qR)({payload:{data:{minQuote:G[0],maxQuote:G[1],direction:b,component:kl.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xn.F0),t.Y36(C1.W),t.Y36(Vi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-loop"]],decls:15,vars:9,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t._UZ(1,"fa-icon",1),t.TgZ(2,"span",2),t._uU(3),t.qZA()(),t.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),t.YNc(8,Cd,2,5,"div",6),t.qZA(),t._UZ(9,"mat-tab-nav-panel",null,7),t.TgZ(11,"div",8)(12,"button",9),t.NdJ("click",function(){return Z.onLoop(Z.selectedSwapType)}),t._uU(13),t.qZA()(),t._UZ(14,"rtl-swaps",10),t.qZA()()()),2&G){const He=t.MAs(10);t.xp6(1),t.Q6J("icon",Z.faInfinity),t.xp6(2),t.hij("Loop (v",(null==Z.loopInfo?null:Z.loopInfo.version)||" Unknown",")"),t.xp6(4),t.Q6J("tabPanel",He),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.filteredSwaps)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[sn.sg,qr.BN,$i.xw,$i.Wh,$i.yH,pt.lW,or.a8,or.dn,ta.BU,ta.sW,ta.Nj,Xn.rH,Rf]})}return N})();var Zo=p(8291),Hf=p(5619),wd=p(8504),Da=p(6306),wc=p(3315);let Os=(()=>{class N{constructor(b,G,Z,He){this.httpClient=b,this.logger=G,this.store=Z,this.commonService=He,this.swapUrl="",this.swaps={},this.swapsChanged=new Hf.X({}),this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,_e.ac)({payload:Kt.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Kt.T5+Kt.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,qi.R)(this.unSubs[0])).subscribe({next:b=>{this.store.dispatch((0,_e.uO)({payload:Kt.m6.GET_BOLTZ_SWAPS})),this.swaps=b,this.swapsChanged.next(this.swaps)},error:b=>this.swapsChanged.error(this.handleErrorWithAlert(Kt.m6.GET_BOLTZ_SWAPS,this.swapUrl,b))})}swapInfo(b){return this.swapUrl=Kt.T5+Kt.vv.BOLTZ_API+"/swapInfo/"+b,this.httpClient.get(this.swapUrl).pipe((0,Da.K)(G=>(0,va.of)(this.handleErrorWithAlert(Kt.m6.NO_SPINNER,this.swapUrl,G))))}serviceInfo(){return this.store.dispatch((0,_e.ac)({payload:Kt.m6.GET_SERVICE_INFO})),this.swapUrl=Kt.T5+Kt.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,qi.R)(this.unSubs[1]),(0,Ir.U)(b=>(this.store.dispatch((0,_e.uO)({payload:Kt.m6.GET_SERVICE_INFO})),b)),(0,Da.K)(b=>(0,va.of)(this.handleErrorWithAlert(Kt.m6.GET_SERVICE_INFO,this.swapUrl,b))))}swapOut(b,G){const Z={amount:b,address:G};return this.swapUrl=Kt.T5+Kt.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Z).pipe((0,Da.K)(He=>this.handleErrorWithoutAlert("Swap Out for Address: "+G,Kt.m6.NO_SPINNER,He)))}swapIn(b){const G={amount:b};return this.swapUrl=Kt.T5+Kt.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,G).pipe((0,Da.K)(Z=>this.handleErrorWithoutAlert("Swap In for Amount: "+b,Kt.m6.NO_SPINNER,Z)))}handleErrorWithoutAlert(b,G,Z){let He="";return this.logger.error("ERROR IN: "+b+"\n"+JSON.stringify(Z)),this.store.dispatch((0,_e.uO)({payload:G})),401===Z.status?(He="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,_e.kS)())):503===Z.status?(He="Unable to Connect to Boltz Server.",this.store.dispatch((0,_e.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:b},component:wc.H}}}))):He=this.commonService.extractErrorMessage(Z),(0,wd._)(()=>new Error(He))}handleErrorWithAlert(b,G,Z){let He="";if(401===Z.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,_e.kS)())),this.logger.error(Z),this.store.dispatch((0,_e.uO)({payload:b})),401===Z.status)He="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,_e.kS)());else if(503===Z.status)He="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,_e.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:G},component:wc.H}}}))},100);else{He=this.commonService.extractErrorMessage(Z);const Pt=Z.error&&Z.error.error&&Z.error.error.code?Z.error.error.code:Z.error&&Z.error.code?Z.error.code:Z.code?Z.code:Z.status;setTimeout(()=>{this.store.dispatch((0,_e.qR)({payload:{data:{type:Kt.n_.ERROR,alertTitle:"ERROR",message:{code:Pt,message:He,URL:G},component:wc.H}}}))},100)}return{message:He}}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.LFG(yo.eN),t.LFG(Tt.mQ),t.LFG(Vi.yh),t.LFG(na.v))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();function Ff(N,V){1&N&&t.GkF(0)}function Wo(N,V){if(1&N&&(t.TgZ(0,"div",4)(1,"span",5),t._uU(2),t.qZA()()),2&N){const b=t.oxw();t.xp6(2),t.Oqu(null!=b.swapStatus&&b.swapStatus.error?null==b.swapStatus?null:b.swapStatus.error:"Unknown Error.")}}function ds(N,V){if(1&N&&(t.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t._uU(4,"ID"),t.qZA(),t.TgZ(5,"span",5),t._uU(6),t.qZA()(),t.TgZ(7,"div",7)(8,"h4",8),t._uU(9,"Routing Fee (mSats)"),t.qZA(),t.TgZ(10,"span",5),t._uU(11),t.ALo(12,"number"),t.qZA()()(),t._UZ(13,"mat-divider",9),t.TgZ(14,"div",6)(15,"div",7)(16,"h4",8),t._uU(17,"Claim Transaction ID"),t.qZA(),t.TgZ(18,"span",5),t._uU(19),t.qZA()(),t.TgZ(20,"div",7)(21,"h4",8),t._uU(22,"Lockup Address"),t.qZA(),t.TgZ(23,"span",5),t._uU(24),t.qZA()()()()),2&N){const b=t.oxw();t.xp6(6),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==b.swapStatus?null:b.swapStatus.routingFeeMilliSat)),t.xp6(8),t.Oqu(null==b.swapStatus?null:b.swapStatus.claimTransactionId),t.xp6(5),t.Oqu(null==b.swapStatus?null:b.swapStatus.lockupAddress)}}function Md(N,V){if(1&N&&(t.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),t._uU(4,"ID"),t.qZA(),t.TgZ(5,"span",5),t._uU(6),t.qZA()(),t.TgZ(7,"div",7)(8,"h4",8),t._uU(9,"Expected Amount (Sats)"),t.qZA(),t.TgZ(10,"span",5),t._uU(11),t.ALo(12,"number"),t.qZA()()(),t._UZ(13,"mat-divider",9),t.TgZ(14,"div",6)(15,"div",10)(16,"h4",8),t._uU(17,"Address"),t.qZA(),t.TgZ(18,"span",5),t._uU(19),t.qZA()()(),t._UZ(20,"mat-divider",9),t.TgZ(21,"div",6)(22,"div",10)(23,"h4",8),t._uU(24,"BIP 21"),t.qZA(),t.TgZ(25,"span",5),t._uU(26),t.qZA()()()()),2&N){const b=t.oxw();t.xp6(6),t.Oqu(null==b.swapStatus?null:b.swapStatus.id),t.xp6(5),t.Oqu(t.lcZ(12,4,null==b.swapStatus?null:b.swapStatus.expectedAmount)),t.xp6(8),t.Oqu(null==b.swapStatus?null:b.swapStatus.address),t.xp6(7),t.Oqu(null==b.swapStatus?null:b.swapStatus.bip21)}}let $s=(()=>{class N{constructor(){this.swapStatus=null,this.direction=Kt.hc.SWAP_OUT,this.swapTypeEnum=Kt.hc}static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction"},decls:7,vars:1,consts:[[4,"ngTemplateOutlet"],["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],["fxFlex","100"]],template:function(G,Z){if(1&G&&t.YNc(0,Ff,1,0,"ng-container",0)(1,Wo,3,1,"ng-template",null,1,t.W1O)(3,ds,25,6,"ng-template",null,2,t.W1O)(5,Md,27,6,"ng-template",null,3,t.W1O),2&G){const He=t.MAs(2),Pt=t.MAs(4),ti=t.MAs(6);t.Q6J("ngTemplateOutlet",null!=Z.swapStatus&&Z.swapStatus.error?He:Z.direction===Z.swapTypeEnum.SWAP_OUT?Pt:ti)}},dependencies:[sn.tP,$i.xw,$i.Wh,$i.yH,Pa.d,sn.JJ]})}return N})(),Hl=(()=>{class N{constructor(){this.serviceInfo={},this.direction=Kt.hc.SWAP_OUT,this.swapTypeEnum=Kt.hc}static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},decls:33,vars:13,consts:[["fxFlex","100",1,"flat-expansion-panel","mb-1",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[1,"w-100","my-1"]],template:function(G,Z){1&G&&(t.TgZ(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),t._uU(4,"Service Information"),t.qZA()()(),t.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),t._uU(9,"Minimum Amount (Sats)"),t.qZA(),t.TgZ(10,"span",6),t._uU(11),t.ALo(12,"number"),t.qZA()(),t.TgZ(13,"div",4)(14,"h4",5),t._uU(15,"Maximum Amount (Sats)"),t.qZA(),t.TgZ(16,"span",6),t._uU(17),t.ALo(18,"number"),t.qZA()()(),t._UZ(19,"mat-divider",7),t.TgZ(20,"div",3)(21,"div",4)(22,"h4",5),t._uU(23,"Fee Percentage"),t.qZA(),t.TgZ(24,"span",6),t._uU(25),t.ALo(26,"number"),t.qZA()(),t.TgZ(27,"div",4)(28,"h4",5),t._uU(29,"Miner Fee (Sats)"),t.qZA(),t.TgZ(30,"span",6),t._uU(31),t.ALo(32,"number"),t.qZA()()()()()),2&G&&(t.Q6J("expanded",!0),t.xp6(11),t.Oqu(t.lcZ(12,5,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.minimal)),t.xp6(6),t.Oqu(t.lcZ(18,7,null==Z.serviceInfo||null==Z.serviceInfo.limits?null:Z.serviceInfo.limits.maximal)),t.xp6(8),t.Oqu(t.lcZ(26,9,null==Z.serviceInfo||null==Z.serviceInfo.fees?null:Z.serviceInfo.fees.percentage)),t.xp6(6),t.Oqu(t.lcZ(32,11,Z.direction===Z.swapTypeEnum.SWAP_OUT?null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.reverse:null==Z.serviceInfo||null==Z.serviceInfo.fees||null==Z.serviceInfo.fees.miner?null:Z.serviceInfo.fees.miner.normal)))},dependencies:[$i.xw,$i.Wh,$i.yH,Oe.ib,Oe.yz,Oe.yK,Pa.d,sn.JJ]})}return N})();var Fl=p(3214);function zl(N,V){1&N&&t.GkF(0)}const Mc=(N,V)=>({"small-svg":N,"large-svg":V});function zf(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Submarine Swaps explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._uU(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Mc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function hs(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",21),t._UZ(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t.kcU(),t.TgZ(9,"div",18)(10,"mat-card-title"),t._uU(11,"Step 1: Deciding to Submarine Swap"),t.qZA()(),t.TgZ(12,"div",19)(13,"mat-card-subtitle",20),t._uU(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Mc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function F2(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",29),t._UZ(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),t.TgZ(9,"defs")(10,"pattern",37),t._UZ(11,"use",38),t.qZA(),t._UZ(12,"image",39),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Sending the on-chain funds"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Mc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Vl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",40)(2,"g",41),t._UZ(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",47),t._UZ(10,"rect",48),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on Lightning"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Mc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function dm(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",49),t._UZ(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._uU(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,Mc,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let Ph=(()=>{class N{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Kt.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(na.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","323","height","323","viewBox","0 0 323 323","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M53.8333 134.583H80.75L94.2083 161.5L117.792 134.961C121.616 130.658 125.869 126.602 131.194 124.413C136.45 122.252 142.103 121.125 147.842 121.125H242.25C286.847 121.125 323 157.278 323 201.875C323 246.472 286.847 282.625 242.25 282.625H147.842C142.103 282.625 136.45 281.497 131.194 279.337C125.869 277.149 121.616 273.092 117.792 268.79L94.2083 242.25L80.75 269.167H53.8333L67.2917 228.792L53.8333 201.875L67.2917 174.958L53.8333 134.583Z",1,"fill-color-0"],["d","M26.9167 107.667H53.8333L67.2917 134.583L90.8755 108.044C94.6993 103.741 98.9527 99.6849 104.277 97.4963C109.534 95.3357 115.187 94.2083 120.925 94.2083H215.333C259.93 94.2083 296.083 130.361 296.083 174.958C296.083 219.555 259.93 255.708 215.333 255.708H120.925C115.187 255.708 109.534 254.581 104.277 252.42C98.9527 250.232 94.6993 246.176 90.8755 241.873L67.2917 215.333L53.8333 242.25H26.9167L40.375 201.875L26.9167 174.958L40.375 148.042L26.9167 107.667Z",1,"stroke-color-thick"],["d","M134.583 215.333C142.016 215.333 148.042 209.308 148.042 201.875C148.042 194.442 142.016 188.417 134.583 188.417C127.151 188.417 121.125 194.442 121.125 201.875C121.125 209.308 127.151 215.333 134.583 215.333Z",1,"fill-color-15"],["d","M107.667 188.417C115.1 188.417 121.125 182.391 121.125 174.958C121.125 167.526 115.1 161.5 107.667 161.5C100.234 161.5 94.2083 167.526 94.2083 174.958C94.2083 182.391 100.234 188.417 107.667 188.417Z",1,"stroke-color-thick"],["d","M201.875 215.333C209.308 215.333 215.333 209.308 215.333 201.875C215.333 194.442 209.308 188.417 201.875 188.417C194.442 188.417 188.417 194.442 188.417 201.875C188.417 209.308 194.442 215.333 201.875 215.333Z",1,"fill-color-15"],["d","M174.958 188.417C182.391 188.417 188.417 182.391 188.417 174.958C188.417 167.526 182.391 161.5 174.958 161.5C167.526 161.5 161.5 167.526 161.5 174.958C161.5 182.391 167.526 188.417 174.958 188.417Z",1,"stroke-color-thick"],["d","M269.167 215.333C276.599 215.333 282.625 209.308 282.625 201.875C282.625 194.442 276.599 188.417 269.167 188.417C261.734 188.417 255.708 194.442 255.708 201.875C255.708 209.308 261.734 215.333 269.167 215.333Z",1,"fill-color-15"],["d","M242.25 188.417C249.683 188.417 255.708 182.391 255.708 174.958C255.708 167.526 249.683 161.5 242.25 161.5C234.817 161.5 228.792 167.526 228.792 174.958C228.792 182.391 234.817 188.417 242.25 188.417Z",1,"stroke-color-thick"],["d","M189.321 97C186.935 97 185 98.9345 185 101.321V112.679C185 115.065 186.935 117 189.321 117H237.679C240.065 117 242 115.065 242 112.679V101.321C242 98.9345 240.065 97 237.679 97H189.321Z",1,"fill-color-15"],["d","M161.5 67.2917V94.2083H215.333V67.2917H161.5Z",1,"stroke-color-thick"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","347","height","169","viewBox","0 0 347 169","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M89 157.417V41.5833C89 35.2125 92.75 30 97.3333 30H230.667C235.25 30 239 35.2125 239 41.5833V157.417C239 163.787 235.25 169 230.667 169H97.3333C92.75 169 89 163.787 89 157.417Z",1,"fill-color-0"],["d","M6.25 134.625V18.375C6.25 11.9812 11.4812 6.75 17.875 6.75H203.875C210.269 6.75 215.5 11.9812 215.5 18.375V134.625C215.5 141.019 210.269 146.25 203.875 146.25H17.875C11.4812 146.25 6.25 141.019 6.25 134.625Z",1,"stroke-color-thin"],["d","M256.188 123H238.75V76.5H256.188C259.442 76.5 262 79.0575 262 82.3125V117.188C262 120.443 259.442 123 256.188 123Z",1,"fill-color-15"],["d","M232.938 99.75H215.5V53.25H232.938C236.193 53.25 238.75 55.8075 238.75 59.0625V93.9375C238.75 97.1925 236.193 99.75 232.938 99.75Z",1,"stroke-color-thin"],["d","M146 53V87.875",1,"stroke-color-thin"],["d","M146 122.634V122.749",1,"stroke-color-thin"],["d","M344.698 95.3022C346.74 97.3445 346.74 100.656 344.698 102.698L311.418 135.978C309.376 138.02 306.065 138.02 304.022 135.978C301.98 133.935 301.98 130.624 304.022 128.582L333.604 99L304.022 69.418C301.98 67.3758 301.98 64.0647 304.022 62.0225C306.065 59.9803 309.376 59.9803 311.418 62.0225L344.698 95.3022ZM277 93.7706L341 93.7706V104.229L277 104.229V93.7706Z",1,"fill-color-15"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["fill-rule","evenodd","clip-rule","evenodd","d","M161.033 82.5635C162.307 74.0523 155.826 69.4769 146.965 66.4247L149.84 54.8952L142.822 53.1462L140.023 64.3718C138.178 63.9121 136.283 63.4783 134.4 63.0486L137.219 51.749L130.205 50L127.328 61.5255C125.801 61.1777 124.302 60.8338 122.847 60.4721L122.855 60.4361L113.177 58.0194L111.31 65.5152C111.31 65.5152 116.517 66.7085 116.407 66.7825C119.249 67.4921 119.763 69.373 119.677 70.8641L116.403 83.9987C116.599 84.0487 116.852 84.1206 117.132 84.2326C117.096 84.2236 117.06 84.2146 117.023 84.2054C116.981 84.1948 116.938 84.184 116.894 84.1731C116.732 84.1323 116.563 84.09 116.391 84.0487L111.801 102.448C111.453 103.312 110.572 104.607 108.585 104.115C108.655 104.217 103.484 102.842 103.484 102.842L100 110.875L109.133 113.152C110.152 113.408 111.16 113.67 112.156 113.93L112.158 113.931L112.159 113.931C112.823 114.104 113.481 114.276 114.136 114.443L111.232 126.105L118.242 127.854L121.118 116.316C123.033 116.836 124.892 117.316 126.711 117.768L123.844 129.251L130.862 131L133.767 119.361C145.734 121.625 154.733 120.712 158.521 109.888C161.573 101.173 158.369 96.1458 152.072 92.8677C156.658 91.8103 160.112 88.794 161.033 82.5635ZM144.998 105.049C143.008 113.044 130.493 109.739 124.766 108.226L124.766 108.226C124.251 108.09 123.791 107.969 123.398 107.871L127.252 92.4219C127.73 92.5412 128.314 92.6723 128.976 92.8208L128.976 92.8208C134.899 94.1498 147.037 96.8734 144.998 105.049ZM130.167 85.6513C134.942 86.9255 145.356 89.7047 147.17 82.4376C149.022 75.0044 138.901 72.7637 133.957 71.6694C133.401 71.5463 132.911 71.4377 132.51 71.3379L129.016 85.3499C129.346 85.4322 129.733 85.5356 130.167 85.6513Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","313.615","y","82.836","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["d","M154.81 93.8059C152.146 100.719 149.483 108.164 146.287 115.608C146.287 115.608 146.287 116.672 147.353 116.672H169.191C169.191 116.672 169.191 117.204 169.723 117.736L137.765 153.364C137.233 152.832 137.233 152.301 137.233 151.769L148.418 127.839V125.712H126.047V123.585L153.212 93.8059H154.81Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["id","clip0"],["width","225.692","height","225.692","transform","translate(0 85.9831) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","300","height","300","viewBox","0 0 300 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M50 237.5V112.5C50 105.625 55.625 100 62.5 100H262.5C269.375 100 275 105.625 275 112.5V237.5C275 244.375 269.375 250 262.5 250H62.5C55.625 250 50 244.375 50 237.5Z",1,"fill-color-0"],["d","M25 212.5V87.5C25 80.625 30.625 75 37.5 75H237.5C244.375 75 250 80.625 250 87.5V212.5C250 219.375 244.375 225 237.5 225H37.5C30.625 225 25 219.375 25 212.5Z",1,"stroke-color"],["d","M293.75 200H275V150H293.75C297.25 150 300 152.75 300 156.25V193.75C300 197.25 297.25 200 293.75 200Z",1,"fill-color-0"],["d","M268.75 175H250V125H268.75C272.25 125 275 127.75 275 131.25V168.75C275 172.25 272.25 175 268.75 175Z",1,"stroke-color"],["d","M137.5 187.5L156.25 150H118.75L137.5 112.5",1,"stroke-color"]],template:function(G,Z){if(1&G&&t.YNc(0,zl,1,0,"ng-container",0)(1,zf,18,5,"ng-template",null,1,t.W1O)(3,hs,15,5,"ng-template",null,2,t.W1O)(5,F2,19,5,"ng-template",null,3,t.W1O)(7,Vl,17,5,"ng-template",null,4,t.W1O)(9,dm,13,5,"ng-template",null,5,t.W1O),2&G){const He=t.MAs(2),Pt=t.MAs(4),ti=t.MAs(6),fi=t.MAs(8),wi=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?He:2===Z.stepNumber?Pt:3===Z.stepNumber?ti:4===Z.stepNumber?fi:wi)}},dependencies:[sn.mk,sn.tP,$i.xw,$i.Wh,$i.yH,me.oO,or.$j,or.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Fl.l]}})}return N})();function Vf(N,V){1&N&&t.GkF(0)}const S1=(N,V)=>({"small-svg":N,"large-svg":V});function z2(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),t.qZA(),t.kcU(),t.TgZ(12,"div",18)(13,"mat-card-title"),t._uU(14,"Boltz Reverse Submarine Swap explained."),t.qZA()(),t.TgZ(15,"div",19)(16,"mat-card-subtitle",20),t._uU(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,S1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function V2(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",21)(2,"g",22),t._UZ(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),t.qZA(),t._UZ(9,"path",29),t.TgZ(10,"defs")(11,"clipPath",30),t._UZ(12,"rect",31),t.qZA()()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 1: Deciding to Reverse Submarine Swap"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,S1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Rh(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",32),t._UZ(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),t.TgZ(9,"defs")(10,"pattern",40),t._UZ(11,"use",41),t.qZA(),t._UZ(12,"image",42),t.qZA()(),t.kcU(),t.TgZ(13,"div",18)(14,"mat-card-title"),t._uU(15,"Step 2: Paying the Lightning Invoice"),t.qZA()(),t.TgZ(16,"div",19)(17,"mat-card-subtitle",20),t._uU(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,S1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Sc(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",43)(2,"g",22),t._UZ(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),t.qZA(),t.TgZ(8,"defs")(9,"clipPath",30),t._UZ(10,"rect",49),t.qZA()()(),t.kcU(),t.TgZ(11,"div",18)(12,"mat-card-title"),t._uU(13,"Step 3: Receiving the funds on-chain"),t.qZA()(),t.TgZ(14,"div",19)(15,"mat-card-subtitle",20),t._uU(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,S1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}function Bl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",6),t.NdJ("swipe",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onSwipe(Z))}),t.O4$(),t.TgZ(1,"svg",50),t._UZ(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),t.qZA(),t.kcU(),t.TgZ(7,"div",18)(8,"mat-card-title"),t._uU(9,"Done!"),t.qZA()(),t.TgZ(10,"div",19)(11,"mat-card-subtitle",20),t._uU(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@sliderAnimation",b.animationDirection),t.xp6(1),t.Q6J("ngClass",t.WLB(2,S1,b.screenSize===b.screenSizeEnum.XS,b.screenSize!==b.screenSizeEnum.XS))}}let Ec=(()=>{class N{constructor(b){this.commonService=b,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new t.vpe,this.screenSize="",this.screenSizeEnum=Kt.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(b){2===b.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===b.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(na.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between center",3,"swipe"],["fxFlex","30","width","368","height","368","viewBox","0 0 368 368","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M306.667 153.333H276L260.667 184L233.797 153.763C229.441 148.861 224.595 144.24 218.529 141.746C212.54 139.284 206.099 138 199.561 138H92C41.19 138 1.52588e-05 179.19 1.52588e-05 230C1.52588e-05 280.81 41.19 322 92 322H199.561C206.099 322 212.54 320.715 218.529 318.254C224.595 315.761 229.441 311.139 233.797 306.237L260.667 276L276 306.667H306.667L291.333 260.667L306.667 230L291.333 199.333L306.667 153.333Z",1,"fill-color-0"],["d","M337.333 122.667H306.667L291.333 153.333L264.464 123.097C260.107 118.194 255.261 113.573 249.195 111.079C243.206 108.618 236.766 107.333 230.228 107.333H122.667C71.8566 107.333 30.6667 148.523 30.6667 199.333C30.6667 250.143 71.8566 291.333 122.667 291.333H230.228C236.766 291.333 243.206 290.048 249.195 287.587C255.261 285.094 260.107 280.473 264.464 275.571L291.333 245.333L306.667 276H337.333L322 230L337.333 199.333L322 168.667L337.333 122.667Z",1,"stroke-color-thicker"],["d","M214.667 245.333C206.198 245.333 199.333 238.468 199.333 230C199.333 221.532 206.198 214.667 214.667 214.667C223.135 214.667 230 221.532 230 230C230 238.468 223.135 245.333 214.667 245.333Z",1,"fill-color-15"],["d","M245.333 214.667C236.865 214.667 230 207.802 230 199.333C230 190.865 236.865 184 245.333 184C253.802 184 260.667 190.865 260.667 199.333C260.667 207.802 253.802 214.667 245.333 214.667Z",1,"stroke-color-thicker"],["d","M138 245.333C129.532 245.333 122.667 238.468 122.667 230C122.667 221.532 129.532 214.667 138 214.667C146.468 214.667 153.333 221.532 153.333 230C153.333 238.468 146.468 245.333 138 245.333Z",1,"fill-color-15"],["d","M168.667 214.667C160.198 214.667 153.333 207.802 153.333 199.333C153.333 190.865 160.198 184 168.667 184C177.135 184 184 190.865 184 199.333C184 207.802 177.135 214.667 168.667 214.667Z",1,"stroke-color-thicker"],["d","M61.3334 245.333C52.865 245.333 46 238.468 46 230C46 221.532 52.865 214.667 61.3334 214.667C69.8017 214.667 76.6667 221.532 76.6667 230C76.6667 238.468 69.8017 245.333 61.3334 245.333Z",1,"fill-color-15"],["d","M92 214.667C83.5316 214.667 76.6666 207.802 76.6666 199.333C76.6666 190.865 83.5316 184 92 184C100.468 184 107.333 190.865 107.333 199.333C107.333 207.802 100.468 214.667 92 214.667Z",1,"stroke-color-thicker"],["d","M239.077 111C241.796 111 244 113.204 244 115.923V126.077C244 128.796 241.796 131 239.077 131H191.923C189.204 131 187 128.796 187 126.077V115.923C187 113.204 189.204 111 191.923 111H239.077Z",1,"fill-color-15"],["d","M184 76.6666V107.333H122.667V76.6666H184Z",1,"stroke-color-thicker"],["fxFlex","20","fxLayoutAlign","center end"],["fxFlex","40"],[1,"font-size-120"],["fxFlex","30","width","383","height","279","viewBox","0 0 383 279","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["clip-path","url(#clip0)"],["d","M267.882 220.417V104.583C267.882 98.2125 263.809 93 258.832 93H114.029C109.051 93 104.978 98.2125 104.978 104.583V220.417C104.978 226.787 109.051 232 114.029 232H258.832C263.809 232 267.882 226.787 267.882 220.417Z",1,"fill-color-0"],["d","M357.75 197.625V81.375C357.75 74.9812 352.069 69.75 345.125 69.75H143.125C136.181 69.75 130.5 74.9812 130.5 81.375V197.625C130.5 204.019 136.181 209.25 143.125 209.25H345.125C352.069 209.25 357.75 204.019 357.75 197.625Z",1,"stroke-color-thin"],["d","M86.3125 186H105.25V139.5H86.3125C82.7775 139.5 80 142.057 80 145.312V180.188C80 183.443 82.7775 186 86.3125 186Z",1,"fill-color-15"],["d","M111.562 162.75H130.5V116.25H111.562C108.027 116.25 105.25 118.807 105.25 122.062V156.938C105.25 160.193 108.027 162.75 111.562 162.75Z",1,"stroke-color-thin"],["d","M205.979 116V150.875",1,"stroke-color-thin"],["d","M205.979 185.634V185.749",1,"stroke-color-thin"],["d","M2.44963 159.45C0.488815 161.41 0.488815 164.59 2.44963 166.55L34.403 198.504C36.3638 200.465 39.5429 200.465 41.5037 198.504C43.4645 196.543 43.4645 193.364 41.5037 191.403L13.1007 163L41.5037 134.597C43.4645 132.636 43.4645 129.457 41.5037 127.496C39.5429 125.535 36.3638 125.535 34.403 127.496L2.44963 159.45ZM65 157.979H6V168.021H65V157.979Z",1,"fill-color-15"],["id","clip0"],["width","303","height","279","transform","matrix(-1 0 0 1 383 0)",1,"fill-color-30"],["fxFlex","30","width","454","height","243","viewBox","0 0 454 243","fill","none","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",3,"ngClass"],["d","M141.75 172.125C178.098 172.125 207.562 142.66 207.562 106.312C207.562 69.9653 178.098 40.5 141.75 40.5C105.403 40.5 75.9375 69.9653 75.9375 106.312C75.9375 142.66 105.403 172.125 141.75 172.125Z",1,"fill-color-0"],["d","M121.5 151.875C157.848 151.875 187.312 122.41 187.312 86.0625C187.312 49.7153 157.848 20.25 121.5 20.25C85.1528 20.25 55.6875 49.7153 55.6875 86.0625C55.6875 122.41 85.1528 151.875 121.5 151.875Z",1,"stroke-color-thiner"],["d","M20.25 192.375H222.75",1,"stroke-color-thiner"],["d","M192.375 222.75L222.75 192.375L192.375 162",1,"stroke-color-thiner"],["d","M138.762 67C136.099 73.913 133.436 81.3578 130.24 88.8025C130.24 88.8025 130.24 89.8661 131.305 89.8661H153.143C153.143 89.8661 153.143 90.3979 153.676 90.9296L121.718 126.558C121.185 126.026 121.185 125.495 121.185 124.963L132.371 101.033V98.9062H110V96.7791L137.164 67H138.762Z",1,"fill-color-15"],["cx","371.815","cy","95.815","r","81.815",1,"fill-color-boltz-bk"],["x","317","y","81","width","110.745","height","30.1472","fill","url(#pattern0)"],["id","pattern0","patternContentUnits","objectBoundingBox","width","1","height","1"],[0,"xlink","href","#image0","transform","scale(0.00185185 0.00680272)"],["id","image0","width","540","height","147",0,"xlink","href","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAACTCAYAAADFh8BYAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAACHKADAAQAAAABAAAAkwAAAABS37hiAABAAElEQVR4Aex9CaAkVXV2VfebfWWG1QWQRYddNgmCO6CiIGrAKC6gUWOIUROz/CYm+OdP/P9f82viEmNUcCFRUVFQlMUIgpIoCgwO2ww7IjLMMMub5b3XXfWf75z7Vd2urn69vK5+/d7Ufa/qnDr33HPPdm/drqquDoNdvMTxhSPBE5vODuL6BUEcHiDumBcE8Y+DYORT4V4fu3YXd09pfumB0gOlB0oPlB7oiwfCvkiZoULiDe9eGtSCH8RxfCJMCOUvlj/AIAyjoBL/abjHJz4+Q80r1S49UHqg9EDpgdIDQ+OBXXbBEW/8i2XB+ParZYHxHDohlrAAB0QJw2AiCOccGu75sXVGKfelB0oPlB4oPVB6oPRALx6o9NJopreJ469Xg4ltX8NiA8sLLDD8xQYWHbrwiOM5QVC7YKbbW+pfeqD0QOmB0gOlB6bbAyPTrcC09P/bH39EbqO8NF1mRKoGbqbYAgRQCkAU47mOspQeKD1QeqD0QOmB0gNT8MAud4UjfvyCt8Rx9D5dbMg9kwT6OK95xHrtY/EU/Fs2LT1QeqD0QOmB0gOlB8QDu9SCI37sghPievyvSeR1QSFHgD7uGPRmSxj8POEvkdIDpQdKD5QeKD1QeqAnD+wyt1TiJ9731Hhi52WytJinFzDy3OUueOitFNTjAkcU3ZDHWtJKD5QeKD3QLw/Ej55/TL0e7tcveamcmqCY5gGDoFqdf0P4lM8+oQflrvTAgD2wSyw45F0b84PHHr9MntvYJ5RbJ/aYqHgat1FwZUNvp7gHRYWEdQdKWAk3BXvt+UM7KvelB0oPlB4oxgMT9VjeAxS9FXMTv56vPeFDDz8IAW2cspLpixdos/XWGIsNm9XiaOeL5eBHspWl9MDAPbBLLDii3zz2OfHs8fCuLDpSJxN3kDUpjP+9Gl64M21QYqUHSg+UHijAA3Gkc5N+IBIcEAVzkbfeUJq/c2z8zJSzAJEljAgJQ85qfusSLz0wWA/M+gVH/Ngf/GW9Hp8Lt+av/jmkwUHcBmclnnMRqGUpPVB6oPRAoR6QVYVe2ZDVgS06bA5Cn/xcZP1z+eEWJBl+tk0WLNl6d6WjUFtK4aUHWnhgVi844t+883T5sPD3/BQAH/i4fFvFDW77WqwNVqMJfke4zydvbuG3klx6oPRA6YH+eUDWF7z6Sgjh7RYQ4PH5iRNm24O/LKUHpssDs/ZbKvGj71glnxX+I4qj1EZ+VAD0ced9DlLAOIi+MF1BKfstPVB6YNfzgLtmwactxAG4HYIrHQZ9HDRsfhvDcaUkLfhQhQJIPK0tsdIDg/VAejIebL+F9hY/+d7lcRxeHkX1pRh8HGxYRigO6AYrIQcpoFwFqVeqI5cUqmQpvPRA6YHSA4kHbE7CIbC0ELcFhtFJw9xmuH5I8hYnkGKbzoCC68yWii2x0gPT4IFZd0sFry2v/+bar8lgOxj+bBi8GIMcf6jDg1T45wNVimuj74d7fvoxwcrSgwfih9940EQU/lleU/mcJS9/CQNAFOKARRR8vsOq2j7npThX2j3rE8by6H+4Qz447qxUgh0y4T8hv/b368pI8Os54fyHy68eFhHNXVAmhok3ZyV4h8MFCxF7ds3GmwnbBf1YmjwUHph1C47oNz/8R3l3xmnwbu5YFWIyVjkGCW1kBtVK9aKhiM4MVaIWB/vIQu8deerb3MlLwRKjzHM0CEXD/CoxsUkziVqDWNYBorAtubP3sPP5PX2kYSiyYiegiZ/6JD3JzTcwY2IP6kFcC4PxeFsw/uCbHpeF7K2ShLdVK+F/VaPFPwr3+5cnG5QvD0oP0AO6IraPR0i9dErKyX+Xm2iKFv7XaN1nKMlhE4z819wELEvpgWn2wKxacNQeeft5UVR7j/68vDhWx5gMPH+sNQw7DEoQ3ODEya8ShhuCffb57jTHZeZ37xYAGRc32WXzoUyaLjCMD6Gd8DFnWpAYLtarQFfXJFwI2t7BpN7jt/7THMntT/iT/og7GWqf4C6FbLGCjuJoTyGeJvTT5FtSQT3cUh974I03i6Dvz60El4RP/8q6RJ8SKT2AS26SLMwzwtx8FFbWq+NcLuY5MTf/8xhLWumBAXhg1iw44kfeeWI9qH/GX+0nZwF3NsAgBcrBqrjsXLW6Wz5oXCLv3hgfgO/LLsQDmBAREYNwSWOU9EhY0phlPtGhrfxxkWnS/JhaLSnMD/Ij+CobDbUIopc3SGjUh32lSwxKZvtGflLFzKpwniD9nTBWDy4ce+Dcm8KwctGcfatfDsOLy3e90FG7KIwj3NxDzjXmjx4JGRAlm3/ZfPYl+C2yWWp15b70wGA9wFvZg+21z73FG37/aVFY+5YMxnkNA4srf0DZ9KTmoL/yx2DmgB4JRi7us3q7pDhMjPiz5YBB4IgDIXAthDggDigb/ggVBwtorUqmvbKRJgdsC6h/rg/kAxc9hGgLHkIfV6LsmDfMIfAABzQ8hbRbfRLHJ8pDzZ8de3Di/rEHz/3zeP1bl1BmCXdhDzBXAV1uEiKTUAhzvZRpbw388YK3jpal9MD0eGDGLzji+H0Lajvib0dRvLcORR1wGGCy6XV6B5Nr9jxFpAPXTgloE94ePvUzt0xPKGZnrzx5Jyd0cb/S3BlaoyE7d6gIaQ1n8xbuwW0wFP32keISTQc1B6xW9z3tMhO46iY06qtZg/7dhj6As7S3P95beP7PxLaxdeMPveE8wbULti/hruEB5hMSSxMgIYj9Ssj3Q+H5n99tSS090JMHZvyCo/7o5s/LGeZYWN80ucuJR2k4AelJCEx2gsrjr5Tv3oBbBlqyMcOxv8mBi6Gcxj2cPFCWMlRxf2HpP6AhbdG+adOn7IQO6OPk9WUIrn05SB182KSPKtV6R93lfTF7RvX4op0PnnvD2P2vX9W6RVkzGz0gjx5rbvm5pLnh5Txy16cxdwjVL8hXFEBsyGNC4OUFDvNPuZ8WD8zoZzgmHnnrB+Iofr0MIy0YajIkGz4QuOGn9awDRPH55WnuWmVk7r9rRbnrgwfMx00+F7LSGDT0hInQFcaLEEHSJ+4dgXRChFLnWIqgLELI9XF21ClkW8K28hJFtIeu7Y/jk8Tmn8szHu+ct/8lZT52GqdZwse8Jpz2/J9mv8oPb86dePjeI+WL7cfJkuy4MIqPkxl+N3m4/6Nz97vkE9OsXtl9lx6YsQuO2iPnv1Im878zeznJY5gCt+GKlT+/Fgk+4vpVMRCkJAM7Dr4b7v2Zx41a7qfqAX7q0ofaEAfGROLDB93QB/FW9RpOMDLEwLPFq2snrzFDbC2iNCdD20+ib7brqcrL01ceWl0s32u5ZOcDb3juvP2e+cdheGF6WS6rQHk8qzxgC1R9ysfsYm4T5lnr1eXlE2nWNJnx8iRNKw3vUBp/5LLDwnrluCiMj5c55LixB+46UsybS8XMVHgpWEZaCWeOB2bkgiP+zfmH1iaiS+TUJbeEkIJuEOklcRxaWloYUtzud+KyOOfv9HQRVoOLjb/c98MDnNZs0YcTu8XBru5iIWi9NF0BEDJpnejB6HtRds1SiuVIvjTqSZjVF6mlujsGAPZJiWyLY+KEWXld2R9HF4w/ePfKOH7Hm8PwsxPsr4Sz0wPMe8JOrGQuptlOjBBSfLwTqcXzyJWLyvgDdz8zrITHy92k4+phdNzYg986WlRdEMn7bDCFcwwRFq9V2UPRHphxC45407t2m9i6/TvimKXpQLIB5c5p3hV0d889Sd2sO62dnATWV58y58psbXncuwe4wMDKwk7Y3rSRg5JkJ2jGLad/O2PLbORaSNBj0oSd32jlo5f8dAeIgogDs8gDEcxrn70KppO/1AOiaI6JAOZa0tbTJ6GhAdqyDxyjONV9lKSs/XL8e2MPbFkon/5eE4bn1LV9uZuVHtC8lFxhDuYayVz18q2b/J+uRzh2PvSWA8OgJrdEouPltTTHyWLjGBlTS+SWuJrJz4jZ/G/ygbPfv0rdxFMShtYDM2rBgUtuEw999+syIg+CR/VkILM3TwbZkws4rPBkYZ+s9QQgFRzYMtC/Un6CdK7qC5BpLT2DGu7O0I0RyelM2ml8kvYIlGyuIdGkWhClJYRG/uzr67M5ArHaXmBPhSsPQhUmUhN9HD4F+yW/zxy7/5v/LPpd0JOOZaPh94DkB/OeUJXOJChzNUkvQZSWEKSVEszkbP4PYsKXH85cOD6++WVRGB4X1oPj5LcFjotrO3eDKSy8xszjBIrundif8JfIjPLAIPKvbw6pP/Ldj8kq4ZTk7KODUXbM5MwtFczx/EBAJTSZeeDgSDjn4gypPJyqB5KYiCDgLSbEpm7YjhCNedkCopSOyZktudx0BAY8+QTo+nbV+DYAlDEIGbgCYTQcEfdvu7EN6pPJvJU91IsQfMBb8UOmX9iO0NkvVv7hzvted9f8A75WPijn+2u24Yw7YZ/zvxYWf41jorbtMHmP2TeR+Dp00+GVjoXEvkwASSdsYX8QcUBl2peHQ+2BGfO12PGH3vzWehS/GycCLBq4cCCEl4m3quc5CNDOSxGucvwyfPrnVg91lGagclgG4E+CkkDgWgjlQHkcNNzxoy02DZqDPs56E6h7Q70+0I+e8B3kHEWYtmqJNenXZI/IVnvQb6q7YVanMsCjfGADr5Um+Z4MyGu0P/jo2MPnHsG2JZw9HojwtVjEe9L4azKnOaH88EGaT0luMd/y8r9wt9WcFaKX6NG//Pftb3mNpHDryg5698CMWHBM/Pr858oPav0LzGw8V3Cg2UA1N5CGcWk4IDYsRAi5OJGnky7q3X1lyzwP4DMU4uSmhwRaNGxatUlS4qECDOby64QlTG4C1biB5jY0T2Kpshp3eGU0ir46Wl8f7XDQrCaBoJh2BrE3nVL90MR01saurcmCPN8GH0ddXn8mK5Xvy1B+z36xc259fOJieeBuRl2ZNE+V+8k8gIk4N1+8+GMMTDX/J9Ohn3WwJdceN8I4YrrJf9/+crnRz2gNTtbQLzjiX5//9Hhi4luRTLZ6QpBBx2RFAioOqDgOdZpWD/JEBJi3SbKPzwmD/1Dmctc3D/hnQ5tQbPLRCUhiQagxwQSE+Lg/rRMc0MeTernKARzP3yTP4IDmYgwjgLOAB4X8yBejudzR2pRfDyfZUTb7Ux2dTdaT6U0RPs3nZXu1qyv7g2N2PHjHeyi/hLPDAziBal57UPMF+epozHvC3vJ/sP7qf/7b+B/6E9dg3TxjehvquMUPv2/BRG3i23I62CvXo9lslsGpoxNQN7TyTybErV72V4RP+9KGXNklsWcP1OQSR3JCdQsBHkMo8NaFdRYjC5/gyaHheqJ2sQWeFuLWwPoSDqeHTt6CA/o46yFK21hzE0uROMrknPIKje3bQYjQNkByCztzCuih7JJDQerBX8aPn704t3lJnOEe0ICLDUnADU8OBdF/GwEwtpv8B3/hRb7A3WocoO8p57/YX17hKDyKhXQw1AuOiejxi+TKxjE6wjCs9ESVnjyyyctEbpXs/gnG4RcV4tVSqJ2Yxcl6gcFB4NkNk6fyCNSJFDHGv1sgZGOMuKEAGm6LhzRHUIscgQyTTYh+iLNeuYWPRXWRA+qJZ4asHZ4dElzqCPP6N6XQMYSYHELK9GFv9se7j28P/5g6l3CWeEBzFjvkGOc7w2mh5VySXkLuLv8pp3BYaP4H8sWXssxEDwxt3MYeOvev5Cvar8OAkvGnG3IYuMvlZOK3B0ndvXr9xoGFonlwWltX+9i8/Q66yvBy33cPuDO6LgLd5MlJ1IcaX/C6KPN2R6tbICpPeCkDehuNFkAWisls5udEnvZJXsBm/kb57AvQx61PdOv6BySPg2zjQ79P4J3aX69H7ymf5Ui8PgsQu6nSafyZQzCceWhOcPnXMv8H5KqC8x8P2ZZl5nlgKBcctYfeeKY8JCqvLc+u3u0k0fFg46ATmP2Th0W/LK+MLv47YjMvJ6ZVY06erWM8repJ540TumlD2tR168L+PcfuX3P61HssJQyTB7qI/zCp3TdddnX7++bIIRU0dAuOsQffclg9ir4it1L0AgUWCmkhDujjKUcDhlU2ilttN8Bg5ItWWe6L8ECrBUO7CaW5nlcSGPMshPbMBYTa8LT/ydsbv/H4uMnM9sV+CJs919x/qpNq2qRfu/rW+ssYOa9Zg5Iykz3QnD+t4285CmvTfGzffjDegR6+LuzVp/l463rKyY5FtijhTPLAUC044offtiKOJy6XRFyCMYRbJYSKi2cJ4WQ/YRVnkmNSx4YlC6F3f0W+3/Czeft9cQ1klKUID9S82152lQrxwWbPQxgELgFSGqCP8zkHcBgfsObSlAPCQlozd/cUpA8KoI8bVWsc6vTXI7PZ0s/wIuwXv7w8jt89L9WlxGa2B9KxMCz536s/kftF53+vupXtps8D/jcYp08L6Rn3o8cevPtSQQ7gkxZ6PpI6QijYiGOSt5dVo86ODOJYCR60AYAHjsKLQS5LgR5wgdJXoQjuXomiHfoxtEWIfa21F200+ljIMDM0yCKJnaAOs7dbLWRzBHXUAf0TB0RpV69M3i7LX6T9ouP8nQ/85kTp/jpPhRKdgR6I8JsiLue6Ub/b/A+C4u8i41cGMeRQisp/ueVuHZT7GeWBoVlwjD14z8fl5Uwv1kz1HvxMVw2WxHZCMB8Tb3VyyEYCfJUwHJtTCb6arSuP++0BmxCw5xpAe+A84aDWSVzc/NS0aGRb1ifChCAn97rE9F91cvMnoITZdQ6pjsYqQsyIirsVEfGkXtpCvkxwc+VHslbIBL+b4PuKxAPzPdZoII4gi9QEcQSt69F+7T+WMVMuONQVM3mHS81IiWy+MHcAtWQJyB1LIq3GMPAOHZ6OLydlAMASPGtP3/J/qK7ND8Cds6SLoVhw7Hjg9b8fx/ULbOZ3IwYObsrWyb0uF+2VgbCpvYxEuUnz7XC/f39yckll7VQ94J//fbw5qE0zqHRNmnFDF4ushxhhYuGB35qWHzSL7z977x1x/WR51Oj8MIjk1oZO+8mHVN9mH++z/dJf+Bz4pyyzxQONkx7znjAZCAlB7PZwveIhBF7xw1xIGjxEetHe8nPex/uV/2H5WypFh7AQ+dO+4Jh48PUny0Oin9Ixg8zEvJ1kKHGcgGSxoO9BkOndXQEBVR6c09OTMigGScZvNG8P3rBysUcp0cI84GZBhsMdWojkwIWIi0NCqOPjWfU4eQIOavLM6oDj8BmXPibgG9jG1r3u8CisfVqutjwvO8HryQC2FmC/SIUfn6mw3M1oD/hf8+w0/2FwNt/YlhB5x1+MHZSD5khHE0x45H0B+T8oW8p++uuBab0wFT/65n0narVvykQ9N1lkJIsNGMpZGpALC4NcUhAqt2uLWyfYdDg6qLLC8NF5+7/6GvCWpWAPmPvTyQaBYrAI81RoDLmETQgqCxDTaAqTSTVPzgBp8w762q/mH3AEbm18QtWznekNW6F/QfZLnu8Xx2fLa//LMis8gFxBAdRNdglszn+d64RBoRsrwJP2efmnHRS3m5DlxqT992H8F6d9KblID0zbgiN+9B0Lx8Z2fkeM25MG6kCRAw6eLAQfeXycfPqWfRlsgNhQCPUgir4UhufUFS93xXqAJ1hMfjrpYRK0iZGQcfMheDXGbA8tgQ95wTtdFh70rT+W50q+1qB/8fZXxu6L9hty95TqtfMAvpDncoUwyftJ8h8PKaMAYsOShBC4jjUHgQ+scPwWn/8DM6nsaOoemLZbKmM7N10st0OebXdQ0oGgg83ZZXUYTEawwSRjCAPIFR8njRBfodXB527ByAOjF7OuhAV7gJMbYsdJR9C8p9Z9TRB/a5LG2J8o8XQ6aob1KfUFixe9bcfW0ZPEjqepXQXbD1/Uw2CZ78OZiss31So7fr36KSPj8cpaVF1UqdQX1aPKokoYLZKoy53UyrZKpbItrkTbqlF129xKsN7d2pqpJjfozbwnTCo5loSQzX8dC0LnaGFbQJRs/QC+pOI6dhqZQqK4kfs1/stfUzF/zrT9tCw4xu4754PyyxRn5wyHBv9xnBGikgMrYfQI5CNUfncgC4+b5h9w6d1JuxIp1APJQpDxSeYf+RQmMeHzF+ADTn7irNeJCm3dhKVt8UlO40rhhZrSlfBw7y9v237vWR+V0+PHtSFVLMR+U60S1WfUD7lJ7MLxB1+zKqoFJ8s8cKRYcYDE/8Dt627ZXwI9b1xzIg7quBYZ1oMIb7FG/MMoqEd1OemGwURcDyaEvm3dq7ZLBt0nGXGfpMS91aB6SzCneuOC/S+9X1rMoIIRkI6FzvLfzGOK2ZGe4QW1AaMf1oSBH9oG5RCOZzHJioM6vvsw/pESZZl5Hhj4gmPs/nPOiuL6h/R8If6yEwcd1zhYSE0hspY8oBK3wdW8gPHrw4tSOSVWrAcmJDIWk8YFgkQIH3Hwn3wN1RYbCb836UJHx65QdUYKqAA9GsrdgiVzPr9jc+0jMunOKdp+nEiiOBz6BceO+16zX1yPXytxf/62ta8+WQK6EsHTE5CLOY79k67WW7pMFv+FMokcLoIOR8bV5S+cqAfb1r7qUfni0I3ybYYfLawE3woPuuxxyBveYiOgW/sRf8ylXFBYe/Oj2srFGs/QHd5E37b2LDyPdHpWftZ/GI7wuw5LxWU8R/V5yXjG4kKEcJ7v1/iX/v5k2z1nnZ/VL6uPKtaooCkLmuqbHoqm/2/RwZd9ymo63+9Yd9YH5TUq56FFUz5n7E+clfTfZv4TmbQJ8hlrQJR+2g957eSDxy/UzamTb381+OeFB377n9BuoAuOsYded3h9vP5l1crXOsGptsF845HA1sAmczjJ+M35ab15TwfEjvlx/PWkmxIp3AOY+FA0JoI3xsybgBwf+cGob5N1DRozAgJtAOrAdXmgHQ3RLtzz0tFt6866WfLyxELtF5t1DFT1GsAQecBUGZWvDlfqE2dLDF8vJ6HfERjKlR8JcZ/i7+y3nHGZQtlh+BRxzjlygjtnexB+cnTtWf8ZVsKvLqzE3wqf8e1NQ+csGQfMe0LoOGn+T26/mcgxQmjUTvZ7ie/kypMUjjngOZOyzr/JeG3UuLD8D4LdRL/d2LdC1dXlltNH5wmlY+dKxhfUuBIGu5GlG1iP4t2lnwPQhvMYIdSQq3iTzH/WE3Xoav5Dfy4e/bBf9Xe+sR8WcfnXQ/x9++WJhhVm5QAXHPEjb165c2z75TLlLOYoglJcEUIhTkSAVhAG4AwH8U7rnZggviw88BubeVTCAXjALQIZOUL0nAyOTtTITnCdtBkCHrH3Z2LoibSbEKr12/5KUNkyBCYnKoze9+qjglr0l2Ft/Gx5TquqNie1/bdfHOpJz6BSJ7VV4TlV7sKcKvdfPiW3YS6uzhn5yPz9vnlfhnv4DjvJ/zb269mOPGGnbxqVSyLiuOycDE9zFlZnUS5hxoOMDCGq+53/7eLfaD8UkM2dQlRtwQEjd9UVOnZdZoH9tNmPVT/in57P8ZbvARS8tnzHztFL5amvZ2D1jinAFhuIPRYdLonxkKfgyuMe9NTVvtORiQqIzXj99ilNebC2NL6LBmBm2UWeBxAkFAY5C1mnTBZ7oK1yQOWwDWW7tsME5OE+u4RPHbN285i2OOWZ753aj/FTCYdjwbHj3lefvG3tmVcGtfqtEsHfk7FXbYoX7Sbsg/3oA37AnyROAoFr/4TgiwK52Bn/QX28ds/oPWf++9h9r8UzJENTeol/N/Z3ZSj85XwH6OPqV8QQhdCOGvesA8zbwE0eQQu3H2dT9AeIDYXQjrrfT3YWpW15tvt1rtdpt9/XSXA/5j6exBJ6s02e5zJ1A7mlsuO+1bh/8yJE1r+iwTgTQl+dNBLFWUMI7YGbFeaA9PIsyBgfqQO0t4fnHXDkfwbBNxOpJTIID1jMONdrXHK61QhJJSCKroalKVfFiDFX2VovdRpiE69thnMXy9tsMUlbOhZpfxTWp/UKx7aHznxKPBZ8rFavndM4Qm08Kq1FvPoS/1bOlcTQ/JHc0rmCiSK6SGRw5eX1ovPrtq494zOLR6p/NQy3WnrK/y7sryVXj+mMfKiPfIhcxs5Gp/DqtXY40CiYr/EQL+dt5Rc28kM1pQ1Z/Gm15h9sSDRmTRdQLwaZgTPd/ux4YewYz57i7105mmxt1oXHW7PKvex3iBF/iISEMQlEJuLfQeBaCPNEuqse+Jiim3pDcEDFPQg5wiep9EV5R4KOnzyRJa1YDzBRGaIsRD5Y6Cw3JCGEoomB5LBpwEHjS0M9WaoUa1V76TKvLwQXdEbJ2s3jqdoPOfNrizZqJwPeyQvHqqNrz3hvtCO4S8bxOXndD8J+5AH9KUnjfK4TgFMpzZSsPvKJsiLz4R9uq0V37Vh75hvzbBgELdY7/aJnl/kPe7qxf6qfMHW+Rp/QUzYUQj3I7LL+ZpwI+5H/3dif1QfeM5rZklG/w8PWp5dsf7SbcLjspw8Im81nrLuNPyUVuuCQJ9OfL6vfT7IzLq4BsamzHQSeHWzgAE0hcC2E7tAHXEkBygbO6rzqF32WEh+MB1olZDZhJfw6YQH6ONtnIXLBZCC6k+TCYMxs2YvcPlzp20pGnwbct9nHUZe3Ze2XNr8OD75k4Fc4tq99zdO2rxu7UULwsTCMl0D3PP1hN232cdrmt/Fx1mdh1n7I9POAfbGdL1NxUZgQM4TyAUbRXrUo+rIsoC6P7z9ruckd3B46+bpS/yycqv2dPsFBy+EjFPWV7P15W+dxqUsg+LycBo5C6OO0y7fZx1mfhVO1H3ZoP7QI4wx/0HUKz15DZp7+vs0+Trv8Nj7O+iws0n71gShJqPqKbwjVd6IkYRJ3oUH3PP3R1ndrYQsOfA0uqsffkN8ImCMWwAozxEEY5SuouJhCCKPU2YSQIaXBGe6KB+576b0v7QZXP8AoD6iEwQ3zn37pOm1Y7qbFA4yXxjInhk1KIQFQAGVDUhMqjkPyCD6sJY7CQ6Fb0faLS28ftA+2rjvjxVEw8UuxTb554sYlxqmHU6fi7Xf9iyP8vti/TQY4sknBUsfmGaYRobaJ4zNGJ+o364OvqZDBYVQGULZ2+e/b7OOpwuYf2t/pFY6K+As3SvBPqC6EYIpU1A4s+inO/n2dfJz1TbBg+038JPFvUqgzwmyxX2MtJgMy7oRJ3HuIP71YyIIjfuxNi6J69B25TLgHAtwyGM4C1pMX0BIjhaYwLQX0cVebWYDI9/AvtppyP1APTMjnqFZB9AMruC4UHbRFo2QD4ojFiZ5ERHMHQSLO+oHa1WFnMrHKLeH4eblJ3G/7w3CgC47Re854v1w8vFq+3rqHnkA0NhYrjQnsQ6AAfVvpO58meF/ir4lhHXAxCohNVXEQOHROIRLKaNba4XF8YFCbuElsfQPpRUP4gXlPCEWhK6GPa4USrJ76tbO/0ysc+IFMja/6Lo2nT5uN8acfu4aIBTbxVwKBoxD6OGiyDWX+i2o2Tswextz0TWkdx99bZXgovDH1IkqE27du/aIMlaPgeFHPApAzODQwXr1vgI8rnycLMimXUHm8GUa+c7994dLdLoX4skynBzRCooCLmuaB4IB5OdFWVY5eN2Lb8g+eYdu6M0+VXt13z4u2P75lUBbKw5V/LxPkR+T2gzxw6eKpndPGPE1Y5/j7Hn/IRS6YfJ03BAf0cdabhtTJNQXRTyfBpe0CuRj8lW33vOId1mZY9lAUhQr3Yr9J6Gjvj1E/drMx/j2fDb18anIq6wBl833o+7apXStCP+JPnaSPrDh0SxpwX0df967jD2EFfC12+7pX/Y1MSq9tUNT6EuXdwzX6CdbDWU9DAX2c9WokDlzwlO45r8E5wTfCPb6wNWlaIoP1AGLhx8P17pagEkH7A5m0fAUZX4s5Hq6zFngg2OVQfsPpo8bx/1DbC7ZfrqLUFy2Yf9UgDB295xUfkZuxH2CsWsbPt9nHnZJt2zcZ0z7+k+WBLTqQitKz04dQu/J19HGplEM8DfaZrXe/8o+a1BoYof/2T0X1tvHzfejjrtO27ZuU67/9LePf43RCDVV132Yfnwn25+ibDUfb+PkyiHsPcfS8pssqguPt9575GgF/C6VMsRSmpxXWmAQ/WEwEQMNTqO3VAKMpD3oBb9Jf2os8en6x9VDup9MDFkdM3hYrrCOBp2tKwxE526CtnxU4Tgu/vgZIPK2dfmzb2jPeJva9kJoUbP8N4dMvLfwbKlvufsVHxY73Iy7mc4P0PyFt9mHB9ktXqU5p3rTOH1+3PDyrrxzLK1WiTxS/6Og1//trf+ITOfmaL2zcmm/TvhBzxp0waeshWX/2f/ynOvUj/p7qHaP8bJzXYKbZn9UXPmUeALdYG2TcCSezn3WdPkNE/pZw9L4zj4xr8ZfkzYLyVfI0BCkmTbFg4G0PHFr28SvdYoyapxAdYQgaDUcp3iDTqnSP+2H2Pfb4gfkHXn5depnEYyrRgXiAiWvhlgT1gubjWWXQjm2ydTi2OoN59dNJ27H2jBfUorr+FgNSHYW2+Db7uHGl++7sD7+dtiwG23L3K98eBtGf0h4blejLDMzGIzPEC7ZftMjNF+d80TLr/3z+1HfN/My1+OOjd52+bvGqK3+Qcvcf60w/6tS9/fi1mY6KfBTF5Z1sPBl3wtkU/17fNKoX7uEsKVl/ZfMJPKC1KkXHvzP56XydtYdxJ+wk/r6tfbnCET/6+t3ljbnfkcXGIpzwYZRubnUkR/qHjoGlhTigtSFEe0SPEDjqEpjHDw600XdvuAxIOyuxAXlgQvpBIloypgsIjY2LaSvcbwMcMSfU+KsNyIXhKqP3nP4eeYnUNaLVPNgGnX1bWtmbpfttaDehb7/QxoKRyleL9MKOe05/fiWIdAEFHagHIfSB/oS0mxB8xAE72fw27IfQt59288MNoOHwPRKHeoETfUMXxsQg5RLmy2dPcTWuBF/ded+ZzyKlnzCSy86+r6AT9SLM1w+2grcz+7vV2fpu7S/obP61+IKfdvh4J7FnO0Lre/Lxb7Hu3H7TqZU93XqH/BY76k048+xHLFEIzU+gwJa8eMDWdvFHe5YpX+GI43fMGV376Dcky/aHRrjK4DRD5hmuSqFLzUaDOFQ6aSBISW0VMbZ4YVI1idOJRNqzkfCjRXVu/EWVVe6mzQOWiAh/NoZ2QmB9VkHSCVGfh/u0rIxBHcuLr+Zuu3v7OfJR8M+jKD5C+3W5Tv0KtP+LSw64/LdF2brj3jP2rdXq3xQ75vh9tLOHdhO24/dlA2c7Qp/m43496H5prOOEYpBTESHa+fzECX25Ms0sm5ioXR6vPff4ot59wn4Ju9LPKeu3TeZGzpHJ9eMGy5oP5Ef28Jct7eLJvgnb8Wflsx0h6vNwn9ZKhtFpQ2fxz8rq5DisyJeII7tyRL0IZ5r91Jswa387e9iOEPzy8HUiZsoLDlls/LMsMl4AiXoJTpK04dqCP7KTBGbwbfXqKwfclEwTjfUG7QSm/enJzN1GAQF9heH1C/a/4n4clmU6PcAYQwf7hEltGE87Bp+3aExw0NIaO4KklCb34iryfMHzlLHFDmdLXHHhWZM4YDelEtTnxpVwtyCurJCHJ/eVtieN3rPtBLFsQZLWKrBBQ03JfttfCcNoZKTy0W7075ZXFhuflzjtnvF41/bY8C8o/h0YxczKzZ8O2ufY/8zRaCN8X8C3V/zc6SD/O9A/a38HTTIsvk7iDRx2MZ675U9HdzH2N1qTMbXHQ/nWlteysYeZb//U7IH9uuZwHprSgmPb2le8Sz7Z/QEHM2T6eM5g1c4tCKZB48nHadUjUFmVcK3odaaKkKWn5EJVf66yA5lYo4KXdzmJd9q+XRe+fFmkPb5k4cI1g3jor51exdS7TGDGMeggM4e14wwhwy9PBOkspxBNXT2g/M2Va1o/Bs5Faiocnchiw/WlEAQRRxoOmwp1s+Y2WkR+BD00MbBzOkOXpuLqOBLA42xQ1kx1IqsFf579ssT+4vwDv7u2qes+EbbcffrvyyR6iukrCtMGJWQdlO00YyDb0leZ6l7shz81D6Tr7CeubPy1W2eC2WPm0N1Z7ZPcZGgZO0AtWDyFb5dv7Xx98TO/d21T+ykRnKLsU2TlxX8q9tOK9mrKSVRD7emkjWZz/Dv3TqP//AUHZNBHQAX34smpI82/yfn7HX/0yzHRaIM7ouqAKNTdy/90zBpL476FPY6p5wWHfCf/BVG99k/UK+3UpxAn5EQBpZptsRMHHEJ+QBoAfrRPr2gQBzR5Ul+vv11ODm/HcSy/Rw0/1SguSQQjZCcrdFsXfnZPHNDk2Ykt1c/o6Z66ugaZ/mBLLaEFwej2bcHWu1/x9cqC6vsW7Xv5o6mc2YA5p6srBG/lEvUH7PX4EQDyg04ZwmV5b1fGtJXwgsaYEDc+NACXFEJ0A9x1l+CsB29DIaNBVU0u4TFHrD/qhYaN/Nav0Cgf1X7/efyT2F+phOsXL5r3Zw0q9vFg+92vfGotqHlXTxrtmW77La7TH/96VP+3+PGzjwj3vHS0b+5n3AlVMHPH4jBl+zt981di1K4e/8QRHSKN/ur3+J9y/KGeP/8Q5/zUZGWjPb2N/1RoTw+N7rj/rP2DqP4NUYVXqp1EXzlOCgYbHQU+TNop9HGbtH1ZqcKTYTzpAPYmz++zUYYvu7UOje19m32c9pme0Tn17RM/ie89e1lruTOtRpZVjIEHcZbGH6HiSoHfuMFW+hGshreSp7zK02F7GVgqEwPMwylfNXR6mn7oIdVHlrRQUJpKXqNGeAkTGWjvNkGsP4GKoz1o7s+kQyY3SAduBXJQKE/WOu8Ln3bZBqvt/34invhHeYvoslQ/05A9Tbf96jvnS+DqK8LEb63958fcx+lftVvk8Q92A2dJ7Jdn1rZt2PpXpE8d4kMT+yEUitpmUHHoBho3tFEetGE7QmsH3Whf0OFHTJNmcnLtl76Y94Tsw4fQzddXZYHm/qCz0mTfkf4ZedqmG/u9MZ+Nf8OPfsBpXRTfZh+fSfar3ohGQ3wsQnRFkv/Cx7gT+nYTh/14IJql6wUHXlteGxu/XAS6+7sQxWRphOhU1YUBHp7ysy2gFOVx0Me1EtWmOKCPu2o0JKfhrk+V2w95Kp194IC42WnHKe7b7OMpXyJj/9Hatn9Q8bNk587nelIHjsGNjbg7VA8CT7wmcVIcUDatc9BvS3kQbUIV0zbA0FbbSyNCLPqIJ/WOF7LzNuX35IEJtIRZ6vz+IQOFsoAozRGIu8Pu7A+DLyxe9f1LrIf+70fvfuVRMiHoT8wn+nkxoN2Eid1qlOlDlO37aj+6EMHaR9KB0ax3Fxs5gI7Y/Jj7eFLveCkuC1WGJw+dg6YwDP5YXgewF/ueKkzy3usP+lAH4FO1Xy6xdlToB/YNmNjt7LdAmE4Uqjo6Up6+Pg04bCYchP1qj3RIe7Rv5AkNmCKkHEDFZUcIhDggtmGynzr5UP0FPacQf3+R4eMidvIinYajm5/4sqxZ5Il8uAqF0I6627MtoI9Tik/zcav3Fx0+ztYWXTmiB9EHcO0rT57REueCE4MrKcQBfTxh6BLxZUQv7rLxULPTQ+pL0ZQ+lWnLcED5QzgINUyyS6AgWuegthDBCVT3yZGDqEFbQuDol9BiCf5EO+UGPwtko2gfHs76hJUiQNAmRlBUCHZk/SsufaoPUAfc/aluggPqJrsECgI+vToWxj9Z8qyl70r0KACJ4trf4T06EE39iCfdmYFms+KyI9RWaQuQzVYHaTchbAOPg4ndQoPNukBAneDUR5oaDuj6JUQNZBACR/+EwFFHCNwKodYqif3hAHhSiAoUOQvj8Z0fSOqmiEBPtZtQCOi7v/Z3tuLoxH5zCxwBw7GjpwwqRXyeQMXlmFBqNDYODsZ+65/6QnNngKE972eH/RYti6SPJ26BmShmriFKa21/en0j6PQCm3YRyLsGLpRkebUdSZ+SOHwOgjQfWjLZBAo6VCINx8QBtejIEi5AFJFvow0tc9oLH3UwBtNH2+XxS49wIr48i0KcjlV90KXWYqdfs1WYkDyEfQPmFZUnFZQHLtLAT9zBfUCbLaWVzVn76HtCTRIwOZeqb5BnrqHFzGKXykr9TzmEJiqtt4i2zoFm/jTvtC6b86KYxt8pqPoKY6pvGme0zxbqSUi7CVVOHKwJ5yx6TRheOp5t36/jzfecfkJcr50BeYkugjfZMwD7ZU65TZT4mSx9HpdPRL+Vr709XonDqiizRxQGe1biYC+ZxE4Sv68y+9P4UnfCZnsmnwOa+dvFP3zn9nWnfXThQVc/bLr0vledaYqD6v8+5n+XU/60xF89WJD9k41/nhe6jqC78o52TePFo+XJZZ4SctwT9jv+k9lP/RJdPN2hB0rTOU8q2s1/Fe97qx3e0QuCrXee/to4rn3QPgBZNqjy4mwGClQ6XLXjgdNWvy4rOL8228QvA0uLg9rcG2xW6e8dP6NjjT2Gxh7oSEJz/iT6Z/RJpx7rt5/2i6yB/QiX56DCUF5xwoJR8RaLyGRB2aLelhqIGJMICS5qu8MmA1AJWYwdcSefsScEH994q7La8UM08s3v38Npax/tvzWszj11yUGXPdFkax8JYX3C3iY6TfbLF8puFDdeUh2Jv7fwoKs6OnnvvOcVB0zEtdPlm3LniSuOVXcMOP4y2c6r1cI/kr7/Qvuf6i6jf7/zXx6h70jDyrzqH4/U6+7qjZfgSeL7tFTk+ER8thz9Qx/zX8RhxLn+BMBF8vD0x+eMBPpSurT3TjFfd+JhMG9Otbdno0aq/2teGH0i7Z0yQSFOmHINCpOYnCQuuxj9cd4jLHr+kx9R/fXI3MpFtLWjBcfo3S89qh7VvmhRF9VdodKEIKe1lhhKIzELJQZIniQmYPYK6xSCnuEnnVCbsg9ln/zTDPUmtAUIUtuSA3TSVHamA7YjRLXXvdkGGolZ6NsTB9eo+Nm2o/GEsM/Hs/aa61vmhHpYFw/OmQBoQ99C3mTyUd9NgSyehNGOuOoAQq4CqLBCXQhB9XHHloAG+8Nrls5feE74jG9vSuoLQLaue/We8fjoWbmii7Y/DO6vBJU/W7Lqqm/m9j8Jcf4zv3efVH9STvqf2nLPy94YRtGHJRpPndS/k8jLrerI/uA8eQncB/tyBaoh/nkauXxkwuemH4hTK4ufceVjvUjYctdpv23wP3OdEEJ9PNtJ5/ZvmH/Q1euyzafjeMnB318v/WIbuhLff9by8Yntf9KzYh3lf9MErN3JFLkhrMw5dcEB33uQ/bd9hmPr2pfvUY+C70iDRUmiQAkmDaEw+Lni4+zMJmccYUBwUBCmXAnmC/HxhCGDUBenn66yBQfkiptQWzbxm124RKSXiYSJMI+/gSYHvoo+rnzG7NCM/TLpLlm89GMp3yzGfMcIrv51kH73oTAYD2Ll4eSBp1QGXZaRjza2IGF7uRivcvJzgvmR5IzqJm0gF1uTPMptkTPUizCjn+qufVh7s0WvI3546arnvqzoxQbUqo+Pni9W6DfOBmm/vKDxn5ZWq4csOaT7xQbdCSi3YOJlz7rqy0uWzX+m4F/UOvgZW1O8+h9/+VbPnpvvfjJ/wabKtN/JVRpRtXmzXLUc83HyQrLljOsDNqO0sN8qi9036JPtKqOf8gqN9mShb7OPSxTL0sYD8aNnLNy6c/uVklVHwnfmv/7nP+PCuFtMw63VcM7Lljzze3f6ak664MBry6OJ+jflva37qcJIFg5glyRI7CRJZBGhOKCPu4FE3laDQRX1Bh36Ig249GT9Azr5hMrn6ZT0AZ25QQZwQMW1gdAEygadCRUXHkLjd22dPL9P4PpHiCPigLKhb0LqEcpbcQW/QF4AtkOkz7oCn6Cob3J8AlfCJ86lTRBtUcfCq0+APs569a8cAPo469tB9kV9oL7SYIaZksJ2wrRJ9/bLPZ4nlyyc+5EwvLDweVV8hMx/O00ZlP0SnP+1ZNU17w0P/v4Y+54qDJ9yxXa5UnJ+UAk/PfD4R+GU3jyKiZg550P4hDEx3I6Kyn/00c9S1Pif9MTVTwNmqCz87MKWzTsvk3FwIufBTkxhrjEHe5n/ZNE/Jm9DftWiVVfenO1z0rhtvuu+T8rs+rxOTxYyibjJWSZZD6fyMBx4q8kgayz6VX6BmrgQK3/4x4YlAqGPs14dDZZWJx+hawF0uhGyX0LVAHLwB+j4CVV3TwblEKocrw3aoch8/z+XPevq7+vBLNo5TyXxg/3qIw+auS4GLmjOKwyh+VsYKU99jyPxXwPuONTPgrM/8CjN8aNP0FggF4XyiSvR0UlTHsjBX4fysvpAFmhpoS6AkIwSrdiybXzd5jtOex8mDiUVtNt892nHSp8HOqu0F2qBA+Ksb/C58+Nk/syzX57+/Jtlh177wSJM0qsdq66+oFqpfJxxJ6SehHn2+TQfb2e/rNpehKvBvduEtaXvbRwZJYVSn8k/1Ys0aZH1N/iz9veuY+ct6a+sPpAAWlos41NrUWN+SO2mH1L7vVc7pKJKTD0QxxdWtt616RJJltPy4l9E/ieuD+XdmWHldbLw/1FC85CWC47Nd5x6QRDF79DQY2LBhkJoB7pHOlhK4LB1sqS1wFCcTLZX2S6pBOdAATQcD3hKK3eLRHsFnkiyvk2uL1sYwCO8hCoDump7tGv+g634A9TNGqsM2/l9KKeQDaLGtXbQeMmF9rJI+vbSVVd9CPhsK2nM0jgy0Qlhc6MHXZyFzvbgAc6Ci1EogD5u1GZ5jIfV+L1ZC8oGxNZugPp9qg5oB11c+yxsJ8/XCLjqIFA0WSELj/+3+a5Nd2258zT99oiS+7yrxvErIJJ6t9N3qvbLguCaJYde83d9NqNJ3OJnLXu/PAz8y0HFXxKnEtfqpzcp0iHBlhtp/BkPNAfOkvU/6KQBz+ZTvv3gLK5Qd8B2+ZTVV9tIO8qAlsBZaKvcjitLCw9svuunn5Gvt/+u+ZZnHBz53rbG9C393S5e9D+gbiKGsIJP/XHlrXJOwyMYuSU3bFvveumLpO3HIUkVUomC4cQL3J2AoRxwQMXRH2hqmJ1ogEOGypE6Qm0HPrR1fyoa/MJk3RieyBe6yocQFeRB9Kp9GwQOFsIcdtTKhmI6G4+1U1yUIEzsNsUg2Ppz0Pruwv4guH3J7ru9CZ/ITIfZtYc/zCcWA1rnxwF4dmO8kvaUI1B9jliB5v6IA+Zt4l+lA/o4eVVH14fiyi6yqBjkAnfys/yqB9rzjzgg2mhTg8AhCoXisxBtrDvXPoqeEUX1yzff8ZKPF3G1Qx4deCVsQ7+qr3ROmNhtCqkPtM7jl1bWthP7w2DHvOrcPzAPFLuXBzjrc6Lg9yuVSl0U1NgXHf8oiHTx1otlmIgZd0Lf17ABG/4IfZz1WejbrHgvynXTRh74Uy1djqCp2uFkwDYUwLwNvJ3YL75WOeWu0QOb7jjlf8tbwN/OPGiKP/w72TlMnK/xYnCE3wXE8g7HsoFHN0QbOP7C8H3LDr3qS40aNR41LTh23HWaTHC1S6M4GpFnN0SYBJabZoIcO2WgN3BAxaVjQmmoihCqEU45ESgNoTiUcRBA+zGouNQROmbjRzMU8BP6uFGtf8HpHMigHiqvXf8iswj7xUcb5lUqr+rr7zA4m4cC1OSrdy43VB/grlg8ERPzbRainfK0aE85CaTshF+CqjQEN413kgNSpzmQ8Aub8icSGxHWJfyN8kWY9qMQOPgI/bZOaq/2i8j3bL7zyZ9uuueUAxoV7P1o9P7T9xZljx2U/fJtlAvdN0t6V7qLlosOu/YWyTJ5GNvygHEnTOxmnPJksw5Q8Unj/1I895Ynph1N9JS0sbmVsB/6qa2+/e0UmWo9fumygPyfqlq7QvtNd57yl3JO/IskTwc4/4Vx+KFlq675p3Z+blhwyI8RLR6LIry2fGVuQyQSCqBsmswOWmKD7HiMUfdCRSMPd2gDLa8+M9pVttAA2Q8hRXpQNNQjQB/3WLpD2Zfrvxf75cpRTR6o+d0Fq66+v7vOZxi385FqTb91YgJ5k/aMNWLp4a6+OQbiYZXBMwTaAbf2VifZIDw+znrLK9cPdfAhVtQ4BtTVNcRDviuoQ2Eb4krsYNfU3umitkfHhrX4xi13vuSZHUhqy1LfOf5i8UFIP6gPtP8i7JcHYeeMtJ2Q2irdJUN1ZM7/lWtbE4wvbQX0cdZPKf5xvHTrXfce16WKjeyTxb8P+S8/zNfYX7+P9BeVRSjs8G3ptB+/jeKUI9C3333W7FTsbOfbdOdL3im/8PxhzHWW15iTsMFvhI0536/8l3fofGLZYddeKB21LcmCQzoPNz+x8ctxVD+crUwh5A0VNbxVvXAZL6AaCnNhcH5pJ1/uYbuGgPhEDFkG/bapdPYFaJfmCHlKIESb7KdNn2a4yeur/WH4niWHXHsd5M/mkvrMcgJxsA1WM06IweQ+bucjxhPQ8DTuaT9pf838bJffU5N+HAvQ2+meQFjWZE9/7Rf5+0gXP9q87qUH5WvcBTWO9ORIn+S1bLJHOlca7HS2JnAS+8Mw+mo/v5GSp2seTd+REAZXso62Avo467Owa/ujuLcFh7rT8pR9ZnXJO/ZtMHzy/O/oxUt5HXVIqwe24oANZkcK88YjbU350zHUYZe7PNumNaecIzfmP91J/JvzJR0HeY5sig/j6sa/3J75ytJV17wnr20eLVlwbFrzkv8pKyT9Lnnr4NuAsMQRXLV3UHA9dFBx76SPNqa8Qd+QVLGMfK0gLeVKMdYB5slPaYnOerIzfpNDGcLhJtCi7Jf+/mXZoT/8dKr/7MVwnxAbfEno+5eWow6lU35fho9TnkRcUUD9wwDBH2DOBmbK8XHyUnfqBx7q3Ak/5FAG+yH0ZVF+O37Uy/aUaOf4j7avffnTIKPXIs9v6Ns5fX2Iu34S3akf+urFfgnBxb3qOdV28nHlYtqThZBNm32cfIxdp/aLc3pbcGDe7GC8UFfq5+usuDiaMMl7L/8Lvr4RVOUPutFfxFvpCz6UTvkhxwo/jLrDXRRsvuslLwvi+lfEL3ouR8xRNPaMO6HNHRqfVvGgf1nv56QfK/QhM/wVSw953vlCZ1BAnrSokpvXvPjlouJfQ00rgEgaHBkEDiUIVTFngFSgUusJqbAPIUvbaT/t5fttrZ3pYDqmOPmoG6CPsz4L1TronhTiBdgfBNcvO/SgjleCiUozFunMh9mY+HHzcfL5NB9nPdwFnAU8KIA+blTsyWv6Gp205nqTbXkM3NfB5Kd5Ddk+zeelvlno8/g4+Tza08YndspEc2HyocF072xv7eJjBmG/uP7OZYf9588606z/XMsPOfB78q2GJ+A7FEI7Yqz7Fn97xboJ73wv3eflk0/zcdjg5YK2RT0KIXDaSn7Qii31JOeLzP9ibZgZ0rfc+eLnRrX4m3Lmn4OYM+6EsCIv/qSZlT3mfxBfv3Th08+RdwV1tYatxA+fvUB+/VXeSc8Bl0JTPJ1coaBvjCnc+56yAH28tcTJnePL8PHO5aW2wx8mow/2h+GDI3Pnnx2Gn5V7ybtGge9ss5zBXIjN/GoQuBVCd9gAWAcImag06OMmS07w2tYgcOhAaPE0mrK5euDUF3KMz/ozPupgR/7el0kZjZCyAdEytQG4FUJ32ABYB5i2hSx5xvAFm++4vqff8Nh69/UHi7jFWf2tD+urE/2y7RttN33lJui0vrYf4070utHXlS72aYZPOf6HYE6l/KnDSeKvVWlOIF6d5P/UdWotATdU4Md04zEg2jXqa5Joox017lkH6Ldt5NrVjkbvftFRUT3+njxisJB+hX86iT9zHj4jzniZj83XwK0QusMw+MXy6pIzwmdcvNNROgaVzVvX/4l0HVEB2gAAPCxJREFU9ow84c3KpAqih+Z6SzSTleKJMS4RNfPMSxCSKNtOnvEKP9qwHaEpZLJcvcoTPOlfExb9tdpUiMkAl5Odtk9pytlUn9qMPlz7bXG1cqZ7334ie1dBuJr2P2GRZj5ALFAsJuYzP2aNPmfbVvKaYiaMSksaSD8qhDnAvlWJpl2TPGjq4t7EnEPQroSedO/wlHWK9sfxhzbd+aKuP1XH9fAA8zk0oQ6pVsRoK6CPs74dNPun/4cJw0r1liTuBcZffFQZ3fHk/u380lyPWwT0cZH539xzkZSi8r9InYdd9uY1Lz2oXguvktXFcuhKHwP3x6jiUknYj/yXBc1dleril4WrLt+K/rotFXkG8xQ2yioLQ0AD9HHQSCdEPQqhj7O9TwOeTnSc/LPQ5xHc9aFQdZNB6qD/AChaoVCX1v0bH/ewBaWVfbS1VT3ask/gchlXflQ7fMuKVT9cjeNdsWR9ipgbjbGGV8zv+f5hnfGzLWPQVh6+aogCqLjIIUz6ZR/KqOyQa5tP83HWZ6HPIxIyOQWZtCFfPtr7hbpZP2xL+0XanKAef8Rv0QkuVzX3ze+/sT+TRRqOiJs+duzjPo/Uiv1zRuJbTM707WXavSWJe8Hxr9ejp/fP0kZ/Z+MP/5PWGBungdoqOCDx/inXQhJ1li4Lyv8WHc968va7X/zUOBi7Rl5bsRfjTthZ/CU2veZ/GD40d978U5c+64qef7m6Im8kOxoK+4nRKmp8NgQQG9oQUsak0A0OaWl/6Jc0lZU+ZOg/rNJKJtYfqoNAxUUWYSLXk99KDumwG3ir0rX9QXDh8kN+1PWvYLbqf2bS6U9AH6c1Po08PrSIWoR9nDw+zcdZj36As4AHBdDHldh2x/zoNGfSvlvpQ91Yn4W+TT5OPhkzQfyiLWtOObmt8g0MoSw4irdfFuBji5558B0NXU/DwchI5BY9vs0+3plSHcU/xmKu2yILAs1TxpXQj7mPd1oPPcA7XYV9U1/oQZqPsz4LfZt9HP7atYp8HX7lWK1+tZyi9k9zxfeJj9OP8JHvb/CgAPq4Elvu5AHRx+XnAk5dePD3H2nJ1EGFfEsq/o3wLTNeKEalpcadfAlVbzyQSv1lNpFfSpQmVLyxvSgprFgEWH1jLXpspFh30gJkKaqJHKTSTRZkWlEOx+lIDaBRfkOVHmTbN/LTbkJTV3iS7lvbLwumby0/9Dp5hTO1b+59NlPoM6QGcKaI4eI3F2R/YQl/gGxt6B0626BFzHJC8kqeUAsu8n0MLkYVErI5aFLTmDA/mVPt+MNKuESU3COoBHsI7x5ix960DbJpa2pfSkvr+2O/2uLGYxRO/I0cn6a0DnYybuWkCKsbx5TFQ35CgEZpQERgEi/DWY2ufDzH/juG4dmlhQdf98imX73gSdFvN0sQy6ci7Jdrm+Lb3ko3+a89cD4GlNLsf8u1JJ5dPeKnInvaFZ3/QZSO4Z4UnGGN4jUvXLypVv+BqH2o5awzoNv4Z8ZzR/lfCTcL30uXHvLDe6bqthF5//l/ylWOVakgS9z02MMYY8KM8saZtpdXCmFOk/sKjqa4cLnDZOC3kEc2QvBrIjt+4kxuqxf5lKcKJa1NvYY96whR6eMNzKlcym9hv0zAty3fff6bZZBPIiwje9YdmulwEQqh4a3dQtcSWo5Iq4TgoWEwsfyw65JfOoXsQZcda07ZdyysnSYGnio2vlIsXWgaDsB+MRa5j5OJ/Lz5qXiWQ66o/aITH8ivFON9Hpbu8G2LkDRNSBII0vL7gaBUoHweWZ/PNw3UMMCl4N20Z+ZTo7pNStFWQJT8BanfTOIRxfv4lG5wqkWYuDIhePkvghn/ZA50tJZ9Fv0iDn0PB5Q1f3HcE0IvX9esnjSTsKX9PX03K9vbzDiO17583uax7ZeLL5rem9N1/OlYwvb5v2MkGDlj6WE/vLUf3hqJFsz9QLBt7HQZUPtDB/avwvHRBZniPsJkjVN+VFOTDH/StiHbyJwDtZ+0v+b2WQ2pLaBT1UEcZ7lB80tj6xz+jD2d2C99PhGMVM8K9756m9/XroTjbYbMiXY+Vp+KcwCT4qFu3rLETBgM8dkyVQM7XHDYtQ9JZ5/DNrrmhXtPBPFfibLvEPv1V16LtJ9G0ndRPTpHaB0tOGSBIgsj8yDbQx5xQhsCWNRYb6CTZpTGPdiUJyGHWxJ0mhG5dY1Pak1a0FZUECekrd3YL9/KEd92V3BbPdHNV5E4YY5Y6ooqLD5xzCsaxMkT4mcHCi7ap+sDamtOuGPiLp2SXKF+yubbSpzQyYl2kSsc8vtJ1U2/evyrkhsvcqY3Ad937eLf1FgIfnvigBKjiWo1+N2lh/7whrx2vdAqKw68dvO8ufNPkjz9OhJeB5imvkRYOtVBIBC4DjoHyUdIPkK/rUkRGWKB1iPbgCOJHLQu8BZR0AFlk+oEwjqpBA3Q8BSihroAYkMhBK5tHQRu/AYNT2VoT9qf9YH+VJaDefzyjuiJoBq+drdDrntAxJdFPdDodYsg9vYHFqN15i4XVqSN3NUYrrL4sOse2+3wH79bHhY+XD4J323aFWe/7wv0Jcev7tQj8uZPXXCYDMlta6/NKRcHGGqEPm5UrXEoGH1bHTmMNzts+kEYy+LH19HsBq2f9ocxfFtMYWxa6ysrFymcQ4krcWA7+lh7d71afthY5+g3vl7G/7CN/SJcKyf9cNOa335e/KMv5EQfU48/Y2PxMHnN+S/nt0h+guMtyw79cfKW3n7YqBfYFq265lER9jr5us276sHOw6pxtGcqnCY6in+oZ2ChEypLA0NzI5+XrIQN7nRNE5oMokiu11XkC31yI12uIZ8pE+DbyAXor84SOv0rBHSDQ3aHCVRpjkcvlwoREAUDgZdQHUGBChHM2lqwUCH8715x6I9/bEy79t6fRHxcfaeOc/4hbi5HEMWxcgCIkqlXsqt2HMY3RHsZpGs3PfiKE4MtWy4TtV5QlP1qMl2lMD546x0vPHzJodf9qgN36LsiqBshHG44HI8CLwN33s4cukFgLMplfJQnNxWH5gqH5JTpojkmyubo2xf7w7D393CobgyqKEjXu3D4+a8GkNXV5zZoGE8JozYvasf4Q76PZ9Mpa1+n439X+LVYeeboY+K7tyQ+gy/d+FMI53YdfyfEpQFjQ5jkf1z5o2VHXP8f6KKfpeGO3rLDrtoowvt2+aSfimZlbVx90vvh/dRR4ioZWHopyC1qsnOjLkgcD+XZ9GhHMYIAmRyTxBldDlwnnzIAZWHyqd2OvPFffVqJw52yIPN8ThzQikRAURcJ4qwGUx4Omk83YUOzX77f956Ue69nPrljK97/cAAXw321n9Z6fqjZzxO0XXDIh6fklgrFAOKTselon5SJJ/FiX4Ro5OM49koUD88tFZksNqe5lq90P+wXyT1c4UD+e2PBVy8Pz6Op39040rMUCNljZRrYrrDxPzALpqejJ9c8/2/lwe73aO95sc6jKXM23tljNATNF6ANrbWO/+pfrTji+n9Jqf3DGhYc/RNbrKRNq08+QFa4J6vPPN/ZggKTpnOy+FTRBt8yAKJjk++lTnnT9hoctocwbWP1jkto4XXLjxh5b7FWzzDpLgbmzvQqEKygO3MtUh8Lh2sPH6vLHTPxSWXkCh48UX6sbMum21/4ujiu/VR6T362fFLdu7S/2T/xczqyNI70qnRTe7c4TBYYoo/iLh5NsrMByQisVMLiHxpoUqoFIZRvNcmEKga1zq8+2C8fWKotNGhPnnL8dcZKxxhtBRxE0XWqJAHyQIr2ihyyw5TmHTegndo/KHsalBvMwZNrXvDuuF6/EL1lhlMyF9Kf7eqTXKe/2vi3Elb+cbcjrv+HoiydkbfC6kF0PnKYCwtAw1OoodKklx2gAsNxVQR/Pk1xBAP/Tl4WagKAh0WiLlc27h+ZN0deW37d8Eys1G86IUaEbOotB4GrTwnVz3heB3Gz53agMnAWiEFx4hRRWkKw+mHdLz/iupuDSniJ2i5K9tt+nUfEF4DY5MpF8mvPk/lEvqWyQ50KJvgyKcxvaowK0lKMtRgOigMCUR0MGh4vhYShKHG0RG2ForCZdhOqkjACBdDHldhAUQ7ZJRAI7I/i7cbd+R63CJj3hGhN1QAVlx0hkKb4g0/oqhMEYGw5aAHCQYFFzijMA+infXv69C3/CzRhOkVvvP15b4yj2j9RB3GdFkDFZUfYU/zRuFX+h+FFyw+//s+sx2L2M27BIQmLL5u+yaUyvNfSMxy4gD6eNmBbQK7CDSIu2Q1DV+Ml0A3j0SCsvmrps67r+c1rqS6zDDOX2uAQnL70/Wy4eRTPyuDPfGzQvNy4FwbzvZM/E7w2Uqn+Y1H2YwJXn+DEIpsMjv3xnf12fpGT4g7lF0ZCjQRkOJrKdjjloQ6llT3QxRQyIMLdO35An94ShfEy2KR/9Jeo1G/75YS/o1tLMRH3kv8aI6RAK3vEWo2nWd2tWt3z+1c4RC/NFwctd0wfzRHVzbTrevx3r9nQt9j4qxecIYG8SO7pyyku/0/IWgOouMSdkHlMyLgTJnkPCZl8kaciv7Xi8L3fLlczIbmwMuMWHBtuP/El8lrX/eAwdb2DPk5nItuVDx6XDYAQOOoITZ7jB58Un+bzoo0ESJY+8ZtXHPnj25W53DV4AP7SjckNKH/qbwfpe0Lf3xSGiQil1YREvmGG+hBnGN9alP2QyyLv1JGHJuqH8rgVlDnNfQpnWxtPxk9a8xjQKCK27g/8fv9+DBUPg6G5whHGoerCnGq0tZ/293CFQ7r3fWe6Wd4Dnyz/G/zvcoHxQTvgbE+5xUG7OglbdEPvXr70a/zLj5YVZ8I0SH5y9fNeEEd1fFN0hHkANZirjB9jCYg/FEIfZ31e/ClTG6uM8Nrl85e8IQwvxW/vFVpm3IJDTvXntfYIJ0qbPOxUZSc5TXRJfEIGlRAy/asgPp72l8qXoP3N7kfchG8hlCXrAfmuPy7r6uVe+NycDgfbEHEQ3kQdIfkIjV9qld+GEHFA3bJ9D+mxaH+96S4K9tF+uBbyABUXKFNx2wWHfHVzB/UgRByIA2JjLAAVRz/syPEDtOQfoiscEoOlah9u2Tn7fJt9nPW92C+iu7/CQf96PlddMTqExj/iiX7O9wgJw0JoVVwA8CrvAO78Oht831Ff38fAwUOYz9/C/lm03pBnEo+Nw+gKWRrOh5/oBz/WfYs/cqkh/8P/XlEdebU8bzaGfCm6zKiHRuO7TlqyYWctfdeAZq+4iBDeEoeycDGRQK1P2TEwwe0P0LTWMQO4DjzR31h+xE/+PttSWctdEIyMBHF9wjwhoweDJTlLwYk6y1icbE8PSxNMQMrjHEmcztegQYbxOq6hB2E88vNYnlnU/OyX/WI1fcUch1/kpV4r2zlELoRs8Lzekl1jh37cGACwb3O5JrQFkHyCk18u0eovWjru6Qami+ZQZ6rQDsJO7A/Date3WOWqrYVDdGNMVcPJ8l8YyOvHX4eKhcPGCZTmcWdmT43Liz/GuvrO5Uff8r86SIOm5o7JWm9Z/cJVtXjiBxK/JcpXdPwx4cJ1mhLhmmp10enhYVeNTqZjP+tm1BWOjeP13xNPeV85g/dQAH1cic07nrQAfdxxctACGp5Cypfhc+uKPfZ8S9H3upqVn0EUvM2QIVFfi+7O5zr5wL/uD1YprVPz/DAT77TtNPJVwvrj8IHa2m/7s36IApu8JrM3DB5CtX8lz8cna+rX+W3sk5OTmcQ/8H42wW85WHzjvacsk7G7j/bq+atJf2EgrRMNyQuouMiW1wU93EnbnnioO/0LIaTlCWSdz5/H10ca/aB66biHjqJAP/N/Flzh2Ljm5H0ngvFr5IHh3Tt2f148ScsTwjpAD5cr9PfPmxec5l6FkdeyENqMWnDE9eg8eCFdEBhOz2QXDOQjZNtW/FiEgxfQ8BRivEjt+nDO3FeFT7mi66fQ2eeuDnn/ENBw3A5wS26cjtXRBg1vjLGywologm2GlDAc2QRVzVaDtJtQLO3afl3AiB8AFYf/Qvk2RtsSy0kRvkcxSHcSao0lfssxR15AH0dbFInhbpvuev4z7Gj69uG2sWeLKaKiN+sWZH81jnUx1721EsEu819jrlal8U/ywMVOhHavyhRaMA/yRPQt/2fUmavZE1vXnbZnXIuuldg8rd/jf/L4Y34IH6tU4lMXrfoJXvg50DJjbqlsvuOEgyfG4+diQOp7AcRNxG2Qmt/8sQU+8uR6FeMQo8ONR+UVQp48YZuQV72+dsVhN/Y4meRqMIuJ5tSMi5vsNffzxNd80sLgIQ8a4xlqlWnim+QNKyEOJ5boRJBRkLYBomRhW/vVD84pFBB38qBm/DDGir+wRvOm/jwa6sFhOloATIa0skORZzgfdldyrXaMNLxfm0/TTm5ZHA3bkuRJ9BWS4PADSj/sl9dw9HyFo0/xTxIpa09SYeYWsJdXnag/zcHYwyY7au7O6phTqXb0Q1Z/jn+5b9gsbIZQcLVtfHT0KrHt4F7thx+0KJQdj+ls58Am/wXhk5Kfpy0/4sf3Toe7Zsw6cWIM796wJEsuX4rHSMtzHhcOgLkbphfUuT/IAM7CpAeU7YIVR/3sBtaVsDcPZHyq/gaNMYD3DQdMJysXgyb+3rQYfKt6LViBXvttvy4YxCuAhmsfba9wjFSrD/EkS6hewdkCBdDHjarjxaolSqjXBYZBXQ2iMpkNrVFUj481bPr28lsIRyOjzNbUX9Co3/ZX5o082L2lHAHQEn+AGssEIndQQ6i4HBDCDm3jIHCrNWi1Six2l4m/3xl0RwHElrXH7AbV2eJBn7/wr1NIv0WU+OGzF8Sj278r1j3btwcW25/5pJ395LaYp/mMdswD4CbNoODbxOmvmM5vVs6IBUccX1gRL75J/TfpzlwMJ+umE6bgnDyzUOPANnrgpFt7nVAhK44/ufLon/+bqyxBBx7gAk+uF+mJCdDHWQ9R5mcnVGOmRI2b1gkt4ddwYAce12YGAPmxtAMKs9/3A3zVwZsul9YWyuvP5W0cnm/V1zILEuKMQJx8Pg04Jk1C4OAjNDzGt2aeO90hkicsToQOao+DtMmHUF55YISHk8enAQcbIXAx/9EpvZdHBGgBlE11cdBwpx/YGHdCNMy0T2QpUvwukpWA+SEd99C77+O/eFP63kMcv2POxo0Pf0Oe8jk5ySfpRePK3jLxs5i3mf86iL8sQsbDSuU1K4/86U3sajrgjFhwbLztylOjqP40OMi/okG85RUPnQ2kEaCPQ5AWRgrQx121AAnUj1Yevfh9KaXEuvEAB1OrAeaHxceTPnyijycMMwOJ4uAk3xfU2jfJx1nfkLc5DM1jQPI4jrYl7Vsg4VFX49PO3Zr3KrfVGPDHhS0m0AZNsGF+JPTnSnYLm+Vk8/wn73jufqQNGj6x5kS87v1g7VdtFYwGYNwrDXZiQyH0cau35pPYHwa/UBE97HzVkuY+0ccdQ178jdbKnkRyYQjzAB34Oe/j7Nw3ycdZb7GRI1R6DJJTyU8FJLxDjOBD88bVq78kvjmdfoC6nkkNeGJKG4ZO4i+3N2W9XTl35RE/vTqRO03IjFhwRFF0nvmHE0H+YGIgAfM2TCTGY+2J5/FqXRjcN3depXxteYHJaTGwiUnj4GIkkdI/nNHwB6gbcUDdClSuT6LxyUbmjZPzxPXHfvjCFVkhy1HbBQe4ZRqykyN8y0I88bdorjTMfCLb4RorwfWP0MVD40V5AqU6jCY4hr2KQaG14Hy1AbpnN+gAGgtx8uE0oLTO7BcP9bjgwLdccvzpaIne8LHqA52pN6GQcD0dBRAbeAm1nVUXuc/Gf7K+es7/OBqaF8pNZh/rNqz+wafEVvmWZWPp2X6NPeNOKLLz4h+E71x51E/lysr0l6FfcGy899hlksBnYXDZeDHo4zbw7FMHcJsaxPfwv7dhIOAY0MfJw7YqL4xHq5XgVUsP+dmG6Q/TTNQAg8D8TIgj4upjPYZt6YBBLFDSmBhu1Jm537D69tfLQ4srBmK/DAw56XW04JCHqjs4OTI2FjuLAGlpbNJ4pePQj7VMrOfJxvAOLJDx/S+cLx/wmib6zhWgrZ3ZL28z7cCnrXung1J/pj5u3cqr4aIC0Mc9lqJRs8H85ee8j095/Mfh0Lwyv50/N972O38vVyL+oK/2t+rUj7ng8mNsf77yqP/6XCv2QdOHfsFR3xq8XpJzPhwjE6n6B9DH6TQLKKc5ORKH6x+gCwQh2qCO0MdlkRhXgsobVxx1s9znLkv3HsBLv2zC4Ve+APEH/xMyFoTohzig4SnUiGkcjUbe7vUbXAtcSpUHFt9flP30EyEsk9s3v+3EwmqlcqPvY/qTEDKIA+ZtfkyAZzfYbbRg/w2/eq58cBhseWLz9reIVsupe1Zfsy+1DdoZzfQkzvZZ6MsTS+vVOQF+Gbjnku3Pl+/jWT14jI4pw8fTenlHTqEFD/anecD49z3/g2jfQs3ok/ANt534fvmw8YG+299yPHrxr1T+94qjbvpIn0zpi5ihX3DI15/OZwLLE25itDyEJlBxD8ooM4cQ6pGjuQFgA9GbXIRXaWjjbXL017sfffN3+uLhXVwIJz9OeHZ1VxYdMjv7eKt6uA98LMTZnvRhhRtXX/lBse2IVvaBTj/4uG8fbYaNxFvVY3yEQeW+Tvyx7PAbfxFWQl2cUJ6vg4+zPgt9nfL6hAwUhfXoExvWnjCwS+Gja164t0z0H4ZPWhXYg0K7fJt9nPVZyLYqJAj+a9lhN210eFcAX8DL6y8jv6P4W8ewmXYTdqVSX5g17tBE8iDPPp/m4/QzlADOQlxIxwq/V0OO4YEbbj3hrfLsoZ7wYVuefT7Nx9vaL5YnvmjwgsVaSP+6+5E3/Y/h8YZpMtQLjidWH7tK3Pcct17Qz0rA4V/6mBDmND1AI5VKcw2UV3buUD2gNMVkp3Xh1/c8+pf/QFIJe/MABxhaA29V/EED3B90lNEIjQciJxHbqruB0jeu/p2Xi45/U6z9mMhgFnY2qVWq0b2dGKpvy42D75svO5sQG2NhfRvN4pHiJk81c4GSuqfK0yUD+8S1c3z7J0Sr3aATJ3CoYnmWr6+fgz5udplNjTjkOD+Ewfc68XseTygzcdf9ubibe9P4i0ZOp3QxC9nY8BLgogv0oY/QF/BWBTqhUD/wAmf7Zmh1chVv+cbbTm77m0EmffD7Dbed8FrR/bPoGTa0Kr3abz5W6SLfoPRkfYXx11Yc9fI/bNXndNKHesERT9Tf6idc4lBOrh4UV6sfCe3ABdpFR+sE55/KczKAS7Ru2X2f8PzpDMhs6RvziM0l+MSNgliI53V0GPRjS1w5bQQBbSrZAdrEMCSEjbcd/664Xv+O2CW3VFCKsV/9LDuF0ov4J96tsqCjKxzQSvi/x9uTOO6+uDHm7KOt1Ad2k6bxD6K3r7/td87svp/uWjxx23PeLFn2u5Zv0jPGvWywlZB2E3bXA7lT+yuV3hcc8gVlNzZMV0rPwmz+q59ll/rbcLbL2l/0mx7lF7Tli7EWc8adUOPfx/EfhLXfp53DBDfcfsKp8kT2v4u9VfoCsN/2Ixc07oRwQhj+YPejjn5TGF4o18yGrwztgiOOz5ZghW+UUagrXjgXISPUYY5JBD5FEoPP4RoEJRuNkw14dAA6frBrW8AweLw6d468tvwX5WvL4Y8pFsRFY+PB3kT6UjgpG+Rk2pvcYlqtv+2kZ62/9fiv1qPg0zLi9at7tKC3HtkasNl+oWhOK4TH4/DO8LDrRjvua2FwtbRKft206SohenUv3OtEZqO21oI0HGGYhlH9Gxtuec7ZncjrhWfDrce9VTq6KK8t/ISS+MvhSgTubAX0cdZPAu9dccR/r56kvscqeg/QYk2o85qjtbIn22nRFzjkMcUn0adpa73TgqwunR2zdZ790Xmb15yoL9TrTFbxXHJl43eienSZrB/n+pr33rMvpU38w/gnu++512vD8LPulzN777WolkO74HjiF2tfJg/b7APDO1owOL4Gfo8Guq1IHMQCBgsPXcjE43I38DUrj/h5z68kVvnlLvFAEjNvkrRpCCwcREAdniwC5VhpoGPD8pHQx1kv1dNcnrzlhcs33vqcVz5x6/HfCKKxO0T/1w3WfvjCinzCvJF4J3Dlwf+9Rbz69Va8OkaksrU9jINB47eJ0ccthqan1M4R7D823Pact7Xqt1f6hluOe6/I/pz0LXOb9ZfC7qWaDe3tlw9CU/smAD6PMu8Jk7yHHcj9VvlPO2EfcUAfR13xpRoF8q2+yeOf6iX6qK0O0m7CNvZLbJZPjE98oXirOuth423HHS6vcLhSbFqEvLHcSWFqN+MyNfsb5YW3jcSLXznsv/NV9BW2ziKVwyUhOa+ZjEBx0KGWOCBKpl4vhwgNMKda+WWlEVbiP9zz6Nt+Ykzlvh8eSFwuA4+/aQO5FhLQXC8KESM7xlxjPHbc9NscKk8iBxjH1fWrn/OGoC5XcatyQQxF0AAooJYsgZWOP3OYyIJMFMj15FfqMpmEoXyqimSr7C56HFsPR4+QD8S2eIcdfsoVaD/Uo28B9TgIblCki10lqP5bPai9BU3UryLKJstm+eBJYqcNQJBNbEbRug7slzdzVMVnn5NF2tmVMH7/VL8Rtn71CccG9egf5WHyF6giTh+85xTfEND3nUI/hwNqwWu4wetex92L/eL72vw5wcUmsMc9sgeqyNZp/qOnbPzNFpOF+ib78bBIgSWqhhsCuYzCHDF/iv9hmBSzrT/j3wl81eO3HPfJPZ69+L1heF3RF3C0y7zdptXHHzBRi6+WPNoNMRiU/S7+6xbOqb508RHX6Q9E5uk3LLShXHDgMtnOndvOwH1NDig4zHCZQFw0ccmTtPx6aS8VTHYdzaAkyY+JKP7nvY5Z/Xm0L0v/PcBYEWYnoGyPFk+Lu9a5E7YfM+BO3py4Vr9E29RsgaAnlBrizhMK4i0fH5Ocqbuccfx1mwxDgdaf7OV+iE7cINTw0TOF8tNUMqdo3gjRZEUuT5UPOydKUddvQfaLK8wXBoNowdwFP0z06BBZcfR//eSJW46/Q8bCoVSdUCdPyLHzhQDzLSBKU7yUqFW6o92Evr5gkOOXisRT1t963MVBFH5596MX/aTTE0e85uy5G8YeeL4s9d4S12vnqivE+dqHC4L2qycAsyjbvy1AzCboQ7sJYabik9gvi5zLFx9282No33ORHyNT30q+UEeVxVwXiGL2WMxxTF5AFLUHbZwlWfsloZWvqN28BSMbdo6mV/QZd8Ksvlk9wEcerevM/gvW3zr67A23HP/n8hMUXX0tGeeasfHxl4Rh5Qj5APNb+Xbip7I6tTtef8ex+0yMB9eIy/WKvHO9NqPdhLSN8crK7sX+kcrI+YsOf/n6OH55savJrLIdH/+tfEazFf1QLjjGdm5/g2TdPLPHjfQ84zgrEGZmB5IJIYmnChUXBj/c65gVf5onuqT17gGd0twE2CxFplUNKeOK6FhkjJd0g1bD05vETxorzZfv402fWDFJY2I26dqbHCQ54fCGCYDM0iR7hcV1bipDc8dLaL1Mti/U/usXHXrDbybrfZI6vAnRJtsB2y+fwquy2HibePNtG24d3fL4L4+7RmL233Ll8fGoHj4ezqmsD+tRRZ4P2LMSxHvEUbSXROa5T4zf92IJ66LQWx/qlQpLEDUVphQdf5lM5dsw/SouUTXRLM38OWvK+c/E75e6GTmLD9p7485b78NwaNFTYfl/knwYkIXzcT+X24o/qFbCm+TK2T2VkeqmJavqWzbfvmDxRLxzz5Ew3GuiHu1ViStHSq6cNj4+fpxMGRV9ZicIbhdzul5wBGPBp6X9ARlXtDjsv/31qHbD+luu0P6Y64AoufkvdAZHhwr4wJxT2snLadJECoMr7hLiIagYygWHBO88m8BttUv3ICmAG8REYjggima50lq6T3kgQ9junT9/0TmdfprSDspdhx6owcMteEl3MZNU109lnGBd6NJzXmMONAttHDL21XwMapOPvQ4617CR24h+tii/kK21yyk5snzUzFGc9klPDfrTFta7bj1AyQaz7Wk3IXrkWPCEeGiDRf/hVXSFrpy7/+eeGLvvL6TRvpQIATqmEh2Kt1+uFuA9HfKVQtnsIlQQT9TUy7iihBnA9JM9EHfkDkRfi+Cg4i8K/OceR998HTSZWrEraYw7YZfxb2v/1HRs3zoML62v/+Wxj0gUnp7PXWj+46V3x4sTjueFyXCiHuy8BV6056InXCZFyCTNn3wtu6HKFc8ljbfsbE7Il1Gs/YPO/+z8lTf/0WL4Y+guwWy87cjDZZI71oLFjAD0cVfrRiUmRZuUhSsdqcbk753lstjYKpehzuz1JT2+yBLP9wASMfcPscJfi5jxRA1oOAev5QDaIhf4h0OlGVnrQLN8Ma5GfkdDnmiueBCSHK2VftqXp0G2f62HyFZ/sBt/gNoX1FCFobSz2WB39ofb51QX9vx7CeFhl45L539nurTWD7qjACrubFWyh7O+CRZmvyplO1URO6ejg6avo8Hn6ncPgs/RABkXQhGokgghSZ5/+Wsc96tYzHuJv2hAuwlVWxyYzdgPqNyQ9pjB4Ff8tfBv4fa7/jX2gqvTCHt0ji42KAo+1v+M3Wa12T209ltcNF9axAdWodA6HCoNZA9nvUFtoruhW3BMTNTPT9Uz49QSmOUSo1WyGh9aO+uzUNrjl/MqYXjuymNuuSPtp8QG5gEudwGxIVSEOQkLvTShgaA0pkTalvLAA5ylW/6mDiCIQoA6HNDH2V87SN2oL8QBB4RI2ymk3YQqGnwojp9tK9Xgc8uPvFG/kmgM3e93f/aSi0XeOmvJDnDEToE6fMjsVz/4vjUjUtVpDn1N/4OP7bQNbWUDEEkD6nCBcu3pypXH/OwmbdaPnYjuNf4d298PPdvJiOPrW7LQ1/Q/3AkccBD2sy/2D0WBD6qwL/Y/dPZDIRQXkARXRMiuvsfxP1QLjjh+4Ugchee2NNbZnILJnZP1jS5UovCv9zh2td3wSgWVWL890CIhbdGIvJWpFTwy8Ah9PKknXyJP2gBvMSBUFmrZTm7Qmnz05doSksdBv23iDu1LBVq/mChA44SRhawD9Ns6gX4fppfpSnk+TXGRQWjyKFeg+kBVmQirlY+6LnoGuL0orvkT7Y9SfBuAD6H99ANUpu6AihcV/0owFo5U/pRu6gsU35rOBhWnHfA9Nj0rM/aAKITWTilsl7Vf+YvdhXPCH6uuqi/Um0w/p7MbR4XbD13ajP+evMN5QOU7m2k3oZLNF7DTt3Uq47+r+Kt+ogMgdXBQ9fF0VD+AD8XxT3X8D9WC47c3rz9dkmEvBiML5ROFBgnQx8nnOxC4PtrhIHDZvrr3c371YfNguR+IBzIJi3GpsRGguMZSiahooGk94oZq7BTxoKD+IPFxqcovvgzB9dBBv4qN3XATzaCdFUI9ytjXQMNBpl77QE5KlfWX2tyz/WHwhX69Q2aPY395hbwaVd6SaIW2DrX9omoyBzjcqd8M/CALrocO+lVs2Mp++XHHD+1+5C/wMFwfS5oL0MXXzUsYJo726+e8j/dRqa5FqV9C9wOCg8h/0bCf8e/aYDSAnb6tFOLTBNeYOmj5lsZcBFi9g4XE3zq1HBLc78OvStR3yJTHv5MzVA+NysLzPHw5jIbDSOAc9E7nlkCWI9rCIBsKTcnhL/bee+lbWzYuKwrygMUkjSIjalHGRIH7tpwsVQk0YSFOCLqHN0qTOqwsMch1tQlekU+aa8o2cpj0zXvHyB3Vx3VCPKlvo2+W35Rt7DGlQb0p2h+G6+fOm/cB2NKvMm9R5T07tkXyeuZ4j6w97fTN8qe2Mmj0BWAf7IcM2UwaEMEKjr8sNn658tlL+vqbMPqlWOiNQlf5eB5N6hu9CcLk9kPkIIpo8UNR+Q1pdGhAo8bt8inxBZtDeQ9vlCZ1bexHU7aBKM1XNwZx3EtB7KjUrpD/9Fniq4Z46KUA9avV0+N2NDRXOLbcfOzuMtm/EoFDEmLDxEGoOAILmvsjDqgbUgm4phTTCu4Jfjt3bvWs8Ok3Ja9wTpxVIgV5AHFA/CDeoIaJuIuhRQknXYsauIGzEGd9FoKPPMA1Xxz0cdTlF1VQqkxf4yENR8St3vpqrW+Wv2j7ZQC/v98PPy991i+eEMPf1eiL4bQfOg42/uEOeRXc+f3+dhsmYtpB6NsGWt7m8wD3c97HUTfIUqniq8Izdfx356nGk2jjfFH0+Iemfr74Mffx1hY16mt8pOGIOKDNe4Tsl7CxrfHTfqsbom+pbI+2nyvpqb89kYwsGKvWmPKNBuEIdBTWZyCsDYNx+bnu16w8avUjxlvuB+EBiaX+IX7AkphaTIQoNMvGFEIxnya4tnVQj4gD5mxIF9ABfZy81gXyxIo/KNmOMK895RBCCnAW1Rc091ek/dLLFbsfc8uX2Hc/4V7H3PJNuTL0YfqC9mYh+pwu+7O64NiPmY+Tt0lfFzvW+218PKkPg7euOPb/t3etMXZVVfieM3f6VCxtZ4YpD1tUhLRAOzNtobwMglhNeBiRYtSUABHjDxOj+E78YQw+0R8S+SMxEiQSFDUgjxgaUAq10047FJGBQqEPoEUstPIovcfvW2uvc/Y9c2/n0XvPnal7z9zzrbPPfq1vrb3Pvvuex4YmvDPFWc98iYiP+JND2TOZWOPjt9mXLa2rpekw5/QNj8IYDzXT/00nH32dfdnSHNr+emvyWMnBKzjSLGIv7ImtsJ1c+o/cf4xHw2F8Uudh+mf8VE/OJGnLNquphJjKdSS2ROO0TSabspKaaSWXpE7VZTkSktJ1XcseH9PT5zRj2DaEAbEpSiLyo6NAOgERmyLObCod1NIxLYMhRS6ZOvRlicRmWIf34jSN8wvzGinOtQvysPYwv+nAAlz9gpAlu0NtWVVzmdlVCzS9DGvV58WlelvBUr3uxHE8VJ5V/qwW3pxtx5JLvg3V/jwR9afti7Y/6vt+R8/G25vBNk9avu+J7c3uhp79x69/c5806nMDE/2wWf4/fv0P3f/99o9axuPiaSIzk6Hkb1L/b5b+vg9avzcUfWDUFNkHuePQ9DaUdKa/7EyQFY6X1y1cjA63mA2lckSRcVIwtGmFIVKqsg79vCxDyomin3Uve+IWp2uAohjgmMZ+7fftenXTcAxENXaGUgY2KapdOYiZjekPIhOZUP4tT67MUZTPprD8usGOEV07DNkOqd8hZQmGtQodh/542uTrcVy5bPb7+vfWKrJRcXzFdTTzXbhrTJ7AqMVSNwbRUbkvWn+/PrE62mJ/TbN/FP0Bk42GPnNDiXTbovy/uPlGae7ijfegM29J+0GVwp7eFIvSn+5r4wDltK9ix3yb7RlLcJPFovp/S/zf+DCOhLex9/8JscLxTkmfvSEGg2JyAskpRJJlbHYoPgNDG9rTRw0x63qga+mirxhPAVvFgDtByahjndohbKmdVNG3/2hb6+bY8AP9g/eIRJQP/YgyUWTuMq5OECfDMaIvu+Q8sTEQVc6QsRoMNWUWh/hce8aqP75M7Eva4pVzFm/a4iprKnSc/PfXZ8Qx3jURbVJtWqt/Xtli7B/d1TntA6vAgW/YfFMOax9PyIRrOG4P5Z+5Wsalf66MZu2SL7z78FtaPnUTJTOEnmP1/3xbx6X/GPjN11d73+lWQP/P199w/f0xz5ddxTrm0ZLZuKdxxgETUrbgyxNghSNZ39sOr+O7U9BCfAwpy/KNQ8iimENVUhU31QxhhKdnTGu/go/ZtbiARTPg7CnVUq4dfJ+mTLsaUtZSDFmGykSRnb9w4Ko1YFvNmho5+G2EOeVbif62mE5SJV5zZOVZuVqCtlfb6LcdWV3Q/NY+jbQ4S5OhX4bpbUhNtVZFELMviaOPdi0ZKPTNxu/u2bh76rTp5+P80a/tbY3+yqLjwphpsv2h7x2dPbMulyexZmZruMRvfmZ3w7z9G6F/wxs+QoFzlwz8EX7z83rJ1J+y+T11bqb+I/X/eu0cfbz1de25ms/ihpcy0fT3x1CVYRHvnKztHX//b/kKx64K3gqbVHiHiljDUHecoaiwnVAc+sSkZsQxzEdeS8rli2edNnhYT11MywzCuBigfeQDu6ZYw8a+HSnLYOOQcv7DE7k5vZzU5Usn/INoX0ANXX4qkJYDQWQiBR5zKLJrI6e3MsWVtjgdqBP/DF1axlnI6zPW9GyK8UDZ+zwfJ+3nFT3ZML14J0w5af8wGvRwi/QXLoq0P17+9auO3pOubPQdKcapjxW+Ldb5vaFn+9QPDld/v86i5I6k/avoIY9ZPzFk/dTV0PQ2bIb+7OtSLpECgqHuHd42r08D+3/h/t+o8U+/4imvLZ9wJMnB1ZmJbeAm1vowpaXxZZcWjy3H8U/P6338nzwaQqsYwMvb0Iv5obkMKctg45CyJlEUmYMus/GkLoNRhpKbpmYpLAMfjhmGKnOiwDjNNxztmObDVvITfTktX9qigxLbxbJTdPX49VFX1tlQ/UulB6eX2ns7+vo3oMqWhdl9/Xs7e2afH8XxjcIDWiK6OjS9Dc3uhqQYbAvVRP6JrR2KLNxpuSxHcjhUmeojJ4vBR7l3dnHt8O3BMqo/zJflt7KIqRwlb2Px9wudvYNXF7VKGmMkLkJ/sld0iPr6D0wptX8KFL9Cm+s/pYlm//EzYz7WlP5PRydpZIzgkHJT/N8vHxVIPUD6J+tLkS3BQcYdSn+9pBaJEFo64XhpcFEX3rS3UpRAY8QBHYo7QpkUPcXS9F6cKh5/s3v50N1ULITWMpA5oHNKGI2OSu81pMx0hiIjjSE9mYcNfVk9P0tr9VFryU8BQepyqLKrH56FlEyCYKh7/lbqZAok0Q/bTFnbzjIpE3253nFmlnZoIZKXcZZedUUFKA8J38At3d/o6p39kaP65NkYftNaIvPbflfvpi+jeTiBJK/7Ovuy6ePHmd6Gprch81Trr5xrXLWs/Cj3lkfyi61QjgtSF2SiyiPYPyo939YWn9PVt+mXVkYRiAUO8QHTJdOPjVfdSY/J2fGMs9HpX4Q2w+vAZPX59nLblVDyzQlt/+FNHzkGF+CYf9EGlIm+bMcRqX5IY7o0hmI/lzezL6pvqP1H8P+ctmwmg2sucOzj34RZ4ajsf/szeNNe2YyjijkNRc38xo4RfZk2iW7rXv6vH+RzhP1WMaA2kk4EW43axr5ZRcbGkIL0AId+b6ijptbPbNoGJrM4X86OWzpWmnXOdMBALGULVla9/Hp87PpjIv7XqNR+amffphuKWNI3fUaLnX2Dd5SiqUtA0b3M02j9xeZmd8Mm2h8a8Ar0m6dNKS2eu3jTutHy0PB0oisJdR/RmbW4iAb4P0trRZizZOCBtlJ5JZzl9br1F6C/9Vm2wWTrp3XbNcKBye7/9dqvY52OgzbuGeb5Mw4N6bMqZ+S1dIUD126sRouy1phM9DuW62ymCFFkNxvEbdDru4859uqsoCBNXgb0Qs5SiejLtTUyh059InVyN0BLNs/HahdTN9YuKJWLzfiLHYLF1c10GAfwg8wjUdR2UdfSzRd09fU/cxhFNT0r29e1dHAlXhz3SVT2QmMq9G3uy7VLb4T98WVlY1spXtHVO3hd66/98nX25ebpX7vk5sR2LB1YE5XL5+KkNVS7Bl9nX66duhH2r11yq2J9nX25dnuarb+NdY0a/1o24dj52Af7MG1YpDTqyQH72OVW/3hM4zRVfptgHRKO++KUg/Gl0YI1b+aPh/1WMuBO+P7E0SaKDv3OkrXUlg+Iej2EoaaHR1iZ8A4NhlkpqSRpsUd09RrWqt+P8+W0vJzgp1E51z5r6yHqhxrv4KT3p6gturBr6eNnYTn//lw1E3q3q2fznaUp8Sm4aPc7MNlu44G9V3g3HAX/tLWG5tsfbRvCe1Gu6ew7eencvs2PTQySm6v/O6UCH8RRh9DOJQMD0fS5PfCO3zCJ9SFN3lz9pS7nh1avYZ3mjiqaZWg5GU50/ze9DamoyURfrkeCn0Zly8cx2ev/roCWvbwtOXhgNZvkB/+CG43HUo4MQJoSHLjfx/Qo0r+FC1Ium7viqR1+OUGeQAz44wealdsVp+YSnTmuympnasF9Oq6iiCo755F45xdMmaV1PoMYudpajml55kcaZWW7AiXSl11GB5zpq5/atw9OiiibZtXp02h32FLhjaxsNS8C/W1pWunWrlMHX8rlnFS7x5y+eT8a/L3khTN/8vKu164Cq3gGTrKgnv7GA+2uNlfOVVY7kQC1u9kIEWSNmZ2JTNZ0zGFpNQG3w+xfivqxonFDR98nfs+Hm5VKzXtSOVs0uqADNfXw/VP1Mp1Q0mHq37IBP0dC58I1+xD1uV3rF94SR9GNlUpyOpM0W/98+Xl/yTVzVLu48YEtr53Woh3mdv9/xj/HTkv8Lxl6/9Sdeyq8gAgOxgHbDQ4C7HjaOnUOr7PJKEOTaYI4jj5/zPKnH61t6RDbSgbMpmZfIoOeYDKbj3S8pg7OP3iME1J4jCD3h5XP4/Qz/KXHXZxE5DZS3iHS549LsQnK1uKH1+/8G77Ka6eextntMTyW/L4ZUfl+Pt8iV/2k33UvSLwpSS6/eff6Jy+CbVZhQnYJOvpRVG6YfRw/9fyjJiHjsD++mLwIL/gdVpFuP6ZncK2WOxEmGpmG2XiX9Y/sqCeNQ3/z/9avb3h6QOzu2/Jgkny356X+O1fhJ9QvJZVkmY0J1Sm9vcPQ38YCYqOCcDtC/6/n36ZrveM12+g1XcajSTD+mR4tmXDs2H3wYjRgNhtRbXhjUtF8wtBPj1nxT7uXP/NrxoUwcRkw+xqypb48Ust1ENZvPpKWrsHO7VyFZcmu5yTV5Vf7FMtDA/RbsorptyrsMkYhRT8OstVNlIDljTh+Az/v4Se96A0Utg9ZdwJ3YBDZjju1t0Xlts1JW7TZrQJYxiMa3e2keLR16Z7k2Q9Ne/nfe1biW+ylGCDPgX0WjFb58dof+WjILcCHYIs7O3suX6OrGaOtufB0qUf5NY9X/6yMan8u28w4S9ByydnlNjTkthf7TzsjqhzEzQTRJeiLxzVaf5ZX1f9L0au4ruBhfBG4v9xevmtcZKBMf8ypJdeKG01dTdcf7mF1aHuq/aU6DnvCn0MA9bJJk6atwYWQrkdrOrllbBZuXzv/bgwHHxvW+mEVUnnTkAdVxqB137wz+z5e1D3yw5oVIgIDgYFxM7B7fW837o48C9357EqSLER/PhED1wlYDSnLNKGqy2OHk8l00Ko5JrxZiuLnkHBrFMWb4iT6G27BfOToJQP/GXcjQ8aWMgB/iF75x6K+g3FyLqb0y9CYZbD8fNgYYpWDYN/isiNMwWBHkijCs1VKz+ILwBB85IlSnGzGz2ob5vQMPokTJpOFUAADZpcCqtIqdq8/pfvtt994ARZuy7xBj9nSOJEhv1xEP8Ptgk/NmPGe5WEwUc7CNjBwJDCAn2DaXhwYOj6qHDgRPz4dDZ1morPPEMQr5JK4UsEzSf6Lycd+DA/7S23xfuzviduirXNOH9gZThpHghccWgeulO3Z++oJlQMH34s5wjxMRGZiSgEfiWbgiVI8acA3nH/QV+LSPlwUvKcytbKjc9Hgy8FHDs1vEUcLn3DsWDv/eiytyvMyWDm9JG2Ere24bzP55Ro84XBvnCRnzFvx3JNFkBPqCAwEBgIDgYHAQGCgMQwUflssVkdX6zRDVzFUVmX0an/EYOrqyzyKOQie51a5Mkw2lKuwDQwEBgIDgYHAwGRioNAJxwtr5y/HTOIUWdbAfEN+OnGoP6doHFc8dNVDLwhkLPa/fvyZ2/4ymcgNbQ0MBAYCA4GBwEBgQBko9C6V6GDlKt5ByAmEBu5QdtMLd3EYf0qxIEej6NZjV2z7kcUFDAwEBgIDgYHAQGBgcjFQ2ApH8uz8aZg8XIEVjowhk4m+bCk4D4lK646dF19rUQEDA4GBwEBgIDAQGJh8DBQ24dixq3IBZhWz7A4UUmUrGUSVM+TKB6J3YZZyWbTgufDY8snnW6HFgYHAQGAgMBAYSBko7CcV3P/Me+7dQ0L4KGgGPlGPsv6kIlHpJnqrPU4u7VixfWcaFYTAQGAgMBAYCAwEBiYlA4WtcOAWk6VkyFY1KNuzfIj88FiGlWu7V2xv3Wui2cAQAgOBgcBAYCAwEBhoCAOFTTiSKOHLeqoWM/xbX30ZD2j58XFn7ZA3CTZEy1BIYCAwEBgIDAQGAgMtZaCwCQcuydjK6zfkeg0i/hgMReYKR6l073FnXfM1ORg2gYHAQGAgMBAYCAwcEQwUNuGIytFNmE0c0Ks1ONmwu1UMufiRrJs5fdqqCf6SpSPC8EGJwEBgIDAQGAgMFMlAYROO48/YPoRJxvX48DGiAF3tMMTu2plTZl44u2/r3iIJCHUFBgIDgYHAQGAgMNB8BnTBofn1pDVse3jeBaj0i5hynIe5x1t4y+Mz2P/F8WefdEcUrXknTRiEwEBgIDAQGAgMBAaOGAb+B5nwCpLPLNx7AAAAAElFTkSuQmCC"],["fxFlex","30","width","295","height","295","viewBox","0 0 295 295","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M182.629 183.635C213.842 170.774 228.719 135.046 215.857 103.833C202.996 72.6204 167.268 57.7435 136.055 70.6048C104.843 83.4659 89.966 119.195 102.827 150.407C115.688 181.62 151.417 196.496 182.629 183.635Z",1,"fill-color-0"],["fill-rule","evenodd","clip-rule","evenodd","d","M169.522 122.093C171.059 115.241 166.054 111.136 159.022 108.13L162.04 98.916L156.431 97.0797L153.493 106.051C152.019 105.569 150.502 105.104 148.995 104.643L151.953 95.613L146.348 93.7769L143.329 102.988C142.106 102.615 140.906 102.247 139.743 101.867L139.752 101.838L132.017 99.3019L130.057 105.293C130.057 105.293 134.224 106.57 134.131 106.624C136.402 107.369 136.71 108.93 136.552 110.138L133.115 120.635C133.271 120.687 133.473 120.761 133.695 120.869C133.66 120.857 133.626 120.846 133.591 120.834C133.562 120.825 133.534 120.816 133.505 120.806C133.375 120.763 133.24 120.719 133.102 120.675L128.284 135.38C127.95 136.062 127.157 137.065 125.569 136.548C125.62 136.635 121.492 135.211 121.492 135.211L118.184 141.544L125.483 143.935C126.298 144.203 127.103 144.476 127.899 144.746L127.901 144.747C128.431 144.927 128.956 145.105 129.479 145.28L126.429 154.6L132.031 156.436L135.051 147.215C136.579 147.75 138.064 148.25 139.517 148.725L136.509 157.902L142.118 159.739L145.166 150.437C154.773 152.984 162.15 152.77 165.87 144.183C168.867 137.27 166.555 132.99 161.623 129.952C165.417 129.361 168.406 127.109 169.522 122.093ZM155.149 139.449C153.059 145.84 143.068 142.413 138.496 140.845L138.496 140.845C138.085 140.704 137.718 140.578 137.404 140.476L141.449 128.129C141.831 128.254 142.299 128.395 142.829 128.555L142.829 128.555C147.571 129.985 157.289 132.916 155.149 139.449ZM144.22 122.79C148.031 124.108 156.343 126.982 158.247 121.175C160.192 115.234 152.086 112.815 148.127 111.634C147.682 111.501 147.289 111.383 146.969 111.279L143.301 122.477C143.565 122.563 143.874 122.67 144.22 122.79Z",1,"fill-color-15"],["d","M158.075 173.411C189.288 160.55 204.164 124.822 191.303 93.6088C178.442 62.3964 142.714 47.5195 111.501 60.3808C80.2885 73.2419 65.4118 108.971 78.2729 140.183C91.1342 171.396 126.863 186.272 158.075 173.411Z",1,"stroke-color-thinest"],["d","M259.352 172.363L85.4595 244.016",1,"stroke-color-thinest"],["d","M122.291 259.352L85.4593 244.016L100.795 207.184",1,"stroke-color-thinest"],["width","225.692","height","225.692","transform","translate(0 85.983) rotate(-22.3941)",1,"fill-color-30"],["fxFlex","30","width","298","height","300","viewBox","0 0 298 300","fill","none","xmlns","http://www.w3.org/2000/svg",3,"ngClass"],["d","M248.333 237.5V112.5C248.333 105.625 242.746 100 235.917 100H37.2501C30.421 100 24.8335 105.625 24.8335 112.5V237.5C24.8335 244.375 30.421 250 37.2501 250H235.917C242.746 250 248.333 244.375 248.333 237.5Z",1,"fill-color-0"],["d","M273.167 212.5V87.5C273.167 80.625 267.579 75 260.75 75H62.0832C55.254 75 49.6665 80.625 49.6665 87.5V212.5C49.6665 219.375 55.254 225 62.0832 225H260.75C267.579 225 273.167 219.375 273.167 212.5Z",1,"stroke-color"],["d","M6.20851 200H24.8335V150H6.20851C2.73185 150 0.000183105 152.75 0.000183105 156.25V193.75C0.000183105 197.25 2.73185 200 6.20851 200Z",1,"fill-color-0"],["d","M31.0415 175H49.6665V125H31.0415C27.5648 125 24.8331 127.75 24.8331 131.25V168.75C24.8331 172.25 27.5648 175 31.0415 175Z",1,"stroke-color"],["d","M161.417 187.5L142.792 150H180.042L161.417 112.5",1,"stroke-color"]],template:function(G,Z){if(1&G&&t.YNc(0,Vf,1,0,"ng-container",0)(1,z2,18,5,"ng-template",null,1,t.W1O)(3,V2,19,5,"ng-template",null,2,t.W1O)(5,Rh,19,5,"ng-template",null,3,t.W1O)(7,Sc,17,5,"ng-template",null,4,t.W1O)(9,Bl,13,5,"ng-template",null,5,t.W1O),2&G){const He=t.MAs(2),Pt=t.MAs(4),ti=t.MAs(6),fi=t.MAs(8),wi=t.MAs(10);t.Q6J("ngTemplateOutlet",1===Z.stepNumber?He:2===Z.stepNumber?Pt:3===Z.stepNumber?ti:4===Z.stepNumber?fi:wi)}},dependencies:[sn.mk,sn.tP,$i.xw,$i.Wh,$i.yH,me.oO,or.$j,or.n5],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[Fl.l]}})}return N})();const Sd=["stepper"];function E1(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw(2);t.Oqu(b.inputFormLabel)}}function Tc(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Amount is required."),t.qZA())}function T1(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.hij("Amount must be greater than or equal to ",t.lcZ(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),".")}}function Nh(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.ALo(2,"number"),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.hij("Amount must be less than or equal to ",t.lcZ(2,1,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),".")}}function B2(N,V){1&N&&(t.TgZ(0,"button",40),t._uU(1,"Next"),t.qZA())}function U2(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",41),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(1),t.qZA()}if(2&N){const b=t.oxw(2);t.xp6(1),t.hij("Initiate ",b.swapDirectionCaption,"")}}function Ed(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw(3);t.Oqu(b.addressFormLabel)}}function Hh(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Address is required."),t.qZA())}function Bf(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-step",15)(1,"form",16),t.YNc(2,Ed,1,1,"ng-template",17),t.TgZ(3,"div",42)(4,"mat-radio-group",43),t.NdJ("change",function(Z){t.CHM(b);const He=t.oxw(2);return t.KtG(He.onAddressTypeChange(Z))}),t.TgZ(5,"mat-radio-button",44),t._uU(6,"Node Local Address"),t.qZA(),t.TgZ(7,"mat-radio-button",45),t._uU(8,"External Address"),t.qZA()(),t.TgZ(9,"mat-form-field",46)(10,"mat-label"),t._uU(11,"Address"),t.qZA(),t._UZ(12,"input",47),t.YNc(13,Hh,2,0,"mat-error",24),t.qZA()(),t.TgZ(14,"div",25)(15,"button",48),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onSwap())}),t._uU(16),t.qZA()()()()}if(2&N){const b=t.oxw(2);t.Q6J("stepControl",b.addressFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.addressFormGroup),t.xp6(11),t.Q6J("required","external"===b.addressFormGroup.controls.addressType.value),t.xp6(1),t.Q6J("ngIf",null==b.addressFormGroup.controls.address.errors?null:b.addressFormGroup.controls.address.errors.required),t.xp6(3),t.hij("Initiate ",b.swapDirectionCaption,"")}}function Fh(N,V){if(1&N&&t._uU(0),2&N){const b=t.oxw(2);t.hij("",b.swapDirectionCaption," Status")}}function Ul(N,V){if(1&N&&(t.TgZ(0,"mat-icon",49),t._uU(1),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&null!=b.swapStatus&&b.swapStatus.id?"check":"close")}}function Jc(N,V){1&N&&t._UZ(0,"div")}function G2(N,V){1&N&&t._UZ(0,"mat-progress-bar",50)}function Uf(N,V){if(1&N&&(t.TgZ(0,"h4",51),t._uU(1),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.Oqu(b.swapStatus&&b.swapStatus.error?b.swapDirectionCaption+" failed.":b.swapStatus&&b.swapStatus.id?b.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":b.swapDirectionCaption+" request placed successfully.")}}function A1(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",52),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onRestart())}),t._uU(1,"Start Again"),t.qZA()}}function $c(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),t._uU(5),t.qZA()(),t.TgZ(6,"div",8)(7,"button",9),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.showInfo())}),t._uU(8,"?"),t.qZA(),t.TgZ(9,"button",10),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onClose())}),t._uU(10,"X"),t.qZA()()(),t.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),t.NdJ("selectionChange",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.stepSelectionChanged(Z))}),t.TgZ(15,"mat-step",15)(16,"form",16),t.YNc(17,E1,1,1,"ng-template",17),t.TgZ(18,"div",18),t._UZ(19,"rtl-boltz-service-info",19),t.qZA(),t.TgZ(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),t._uU(23,"Amount"),t.qZA(),t._UZ(24,"input",22),t.TgZ(25,"mat-hint"),t._uU(26),t.ALo(27,"number"),t.ALo(28,"number"),t.qZA(),t.TgZ(29,"span",23),t._uU(30,"Sats"),t.qZA(),t.YNc(31,Tc,2,0,"mat-error",24)(32,T1,3,3,"mat-error",24)(33,Nh,3,3,"mat-error",24),t.qZA()(),t.TgZ(34,"div",25),t.YNc(35,B2,2,0,"button",26)(36,U2,2,1,"button",27),t.qZA()()(),t.YNc(37,Bf,17,6,"mat-step",28),t.TgZ(38,"mat-step",29)(39,"form",16),t.YNc(40,Fh,1,1,"ng-template",17),t.TgZ(41,"div",30)(42,"mat-expansion-panel",31)(43,"mat-expansion-panel-header")(44,"mat-panel-title")(45,"span",32),t._uU(46),t.YNc(47,Ul,2,1,"mat-icon",33),t.qZA()()(),t.YNc(48,Jc,1,0,"div",34),t.qZA(),t.YNc(49,G2,1,0,"mat-progress-bar",35),t.qZA(),t.YNc(50,Uf,2,1,"h4",36),t.TgZ(51,"div",25),t.YNc(52,A1,2,0,"button",37),t.qZA()()()(),t.TgZ(53,"div",38)(54,"button",39),t._uU(55,"Close"),t.qZA()()()()()()}if(2&N){const b=t.oxw(),G=t.MAs(2);t.Q6J("@opacityAnimation",void 0),t.xp6(3),t.Q6J("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"83":"91"),t.xp6(2),t.Oqu(b.swapDirectionCaption),t.xp6(1),t.Q6J("fxFlex",b.screenSize===b.screenSizeEnum.XS||b.screenSize===b.screenSizeEnum.SM?"17":"9"),t.xp6(7),t.Q6J("linear",!0),t.xp6(2),t.Q6J("stepControl",b.inputFormGroup)("editable",b.flgEditable),t.xp6(1),t.Q6J("formGroup",b.inputFormGroup),t.xp6(3),t.Q6J("serviceInfo",b.serviceInfo)("direction",b.direction),t.xp6(5),t.Q6J("step",1e3),t.xp6(2),t.AsE("Range: ",t.lcZ(27,30,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.minimal),"-",t.lcZ(28,32,null==b.serviceInfo||null==b.serviceInfo.limits?null:b.serviceInfo.limits.maximal),""),t.xp6(5),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.required),t.xp6(1),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.min),t.xp6(1),t.Q6J("ngIf",null==b.inputFormGroup||null==b.inputFormGroup.controls||null==b.inputFormGroup.controls.amount||null==b.inputFormGroup.controls.amount.errors?null:b.inputFormGroup.controls.amount.errors.max),t.xp6(2),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("stepControl",b.statusFormGroup),t.xp6(1),t.Q6J("formGroup",b.statusFormGroup),t.xp6(3),t.Q6J("expanded",!!b.swapStatus),t.xp6(4),t.Oqu(b.swapStatus?b.swapStatus.id?b.swapDirectionCaption+" request details":b.swapDirectionCaption+" error details":"Waiting for "+b.swapDirectionCaption+" request..."),t.xp6(1),t.Q6J("ngIf",b.swapStatus),t.xp6(1),t.Q6J("ngIf",!b.swapStatus)("ngIfElse",G),t.xp6(1),t.Q6J("ngIf",!b.swapStatus),t.xp6(1),t.Q6J("ngIf",b.swapStatus),t.xp6(2),t.Q6J("ngIf",b.swapStatus&&(b.swapStatus.error||!b.swapStatus.id)),t.xp6(2),t.Q6J("mat-dialog-close",!1)}}function hm(N,V){if(1&N&&t._UZ(0,"rtl-boltz-swap-status",53),2&N){const b=t.oxw();t.Q6J("swapStatus",b.swapStatus)("direction",b.direction)}}function Td(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapout-info-graphics",69),t.NdJ("stepNumberChange",function(Z){t.CHM(b);const He=t.oxw(2);return t.KtG(He.stepNumber=Z)}),t.qZA()}if(2&N){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}function Gl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"rtl-boltz-swapin-info-graphics",69),t.NdJ("stepNumberChange",function(Z){t.CHM(b);const He=t.oxw(2);return t.KtG(He.stepNumber=Z)}),t.qZA()}if(2&N){const b=t.oxw(2);t.Q6J("animationDirection",b.animationDirection)("stepNumber",b.stepNumber)}}const Gf=(N,V)=>({"dot-primary":N,"dot-primary-lighter":V});function ec(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"span",70),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw(2);return t.KtG(Pt.onStepChanged(He))}),t._UZ(1,"p",71),t.qZA()}if(2&N){const b=V.$implicit,G=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.WLB(1,Gf,G.stepNumber===b,G.stepNumber!==b))}}function D1(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",72),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onReadMore())}),t._uU(1,"Read More"),t.qZA()}}function Ac(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",73),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(4))}),t._uU(1,"Back"),t.qZA()}}function Zl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",74),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function L1(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",75),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(1,"Close"),t.qZA()}}function Ga(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",76),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber-1))}),t._uU(1,"Back"),t.qZA()}}function Z2(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",77),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onStepChanged(Z.stepNumber+1))}),t._uU(1,"Next"),t.qZA()}}const Ad=()=>[1,2,3,4,5];function pr(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",54)(1,"div",18)(2,"mat-card-header",55)(3,"div",56),t._UZ(4,"span",7),t.qZA(),t.TgZ(5,"div",57)(6,"button",10),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return Z.flgShowInfo=!1,t.KtG(Z.stepNumber=1)}),t._uU(7,"X"),t.qZA()()(),t.TgZ(8,"mat-card-content",58),t.YNc(9,Td,1,2,"rtl-boltz-swapout-info-graphics",59)(10,Gl,1,2,"rtl-boltz-swapin-info-graphics",59),t.qZA(),t.TgZ(11,"div",60),t.YNc(12,ec,2,4,"span",61),t.qZA(),t.TgZ(13,"div",62),t.YNc(14,D1,2,0,"button",63)(15,Ac,2,0,"button",64)(16,Zl,2,0,"button",65)(17,L1,2,0,"button",66)(18,Ga,2,0,"button",67)(19,Z2,2,0,"button",68),t.qZA()()()}if(2&N){const b=t.oxw();t.Q6J("@opacityAnimation",void 0),t.xp6(9),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_OUT),t.xp6(1),t.Q6J("ngIf",b.direction===b.swapTypeEnum.SWAP_IN),t.xp6(2),t.Q6J("ngForOf",t.DdM(10,Ad)),t.xp6(2),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",5===b.stepNumber),t.xp6(1),t.Q6J("ngIf",b.stepNumber<5),t.xp6(1),t.Q6J("ngIf",b.stepNumber>1&&b.stepNumber<5),t.xp6(1),t.Q6J("ngIf",b.stepNumber<5)}}let Zf=(()=>{class N{constructor(b,G,Z,He,Pt,ti,fi){this.dialogRef=b,this.data=G,this.boltzService=Z,this.formBuilder=He,this.decimalPipe=Pt,this.logger=ti,this.commonService=fi,this.faInfoCircle=nn.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Kt.hc,this.direction=Kt.hc.SWAP_OUT,this.swapDirectionCaption="Swap out",this.swapStatus=null,this.inputFormLabel="Amount to swap out",this.addressFormLabel="Withdrawal Address",this.flgShowInfo=!1,this.stepNumber=1,this.screenSize="",this.screenSizeEnum=Kt.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Kt.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Kt.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[Pe.kI.required,Pe.kI.min(this.serviceInfo.limits?.minimal||0),Pe.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[Pe.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Kt.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Kt.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,qi.R)(this.unSubs[2])).subscribe(b=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(b){"external"===b.value?(this.addressFormGroup.controls.address.setValidators([Pe.kI.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onSwap(){if(!this.inputFormGroup.controls.amount.value||this.serviceInfo.limits?.minimal&&this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||this.serviceInfo.limits?.maximal&&this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===Kt.hc.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Kt.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,qi.R)(this.unSubs[3])).subscribe({next:b=>{this.swapStatus=b,this.boltzService.listSwaps(),this.flgEditable=!0},error:b=>{this.swapStatus={error:b},this.flgEditable=!0,this.logger.error(b)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe((0,qi.R)(this.unSubs[4])).subscribe({next:G=>{this.swapStatus=G,this.boltzService.listSwaps(),this.flgEditable=!0},error:G=>{this.swapStatus={error:G},this.flgEditable=!0,this.logger.error(G)}})}stepSelectionChanged(b){switch(b.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:this.inputFormLabel=this.inputFormGroup.controls.amount.value?this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats":"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}b.selectedIndex{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xi.so),t.Y36(Xi.WI),t.Y36(Os),t.Y36(Pe.QS),t.Y36(sn.JJ),t.Y36(Tt.mQ),t.Y36(na.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(G,Z){if(1&G&&t.Gf(Sd,5),2&G){let He;t.iGM(He=t.CRH())&&(Z.stepper=He.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["swapStatusBlock",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","info-graphics-container",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxLayoutAlign","start start",3,"fxFlex"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"fxFlex"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"linear","selectionChange"],["stepper",""],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(G,Z){1&G&&t.YNc(0,$c,56,34,"div",0)(1,hm,1,2,"ng-template",null,1,t.W1O)(3,pr,20,11,"div",2),2&G&&(t.Q6J("ngIf",!Z.flgShowInfo),t.xp6(3),t.Q6J("ngIf",Z.flgShowInfo))},dependencies:[sn.mk,sn.sg,sn.O5,Pe._Y,Pe.Fj,Pe.wV,Pe.JJ,Pe.JL,Pe.Q7,Pe.sg,Pe.u,$i.xw,$i.Wh,$i.yH,me.oO,Xi.ZT,pt.lW,or.dn,or.dk,Oe.ib,Oe.yz,Oe.yK,wo.Hw,Ln.Nt,Qt.KE,Qt.hX,Qt.bx,Qt.TO,Qt.R9,qc.pW,ge.VQ,ge.U0,hr.C0,hr.VY,hr.Vq,hr.Ic,Lt.h,$s,Hl,Ph,Ec,sn.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:30rem;min-height:30rem;overflow-x:hidden}"],data:{animation:[Zo._]}})}return N})();function tc(N,V){if(1&N&&(t.TgZ(0,"mat-option",42),t._uU(1),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.Q6J("value",b),t.xp6(1),t.Oqu(G.getLabel(b))}}function Wl(N,V){1&N&&t._UZ(0,"mat-progress-bar",43)}function Dd(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Status"),t.qZA())}function Ld(N,V){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Oqu(G.swapStateEnum[null==b?null:b.status])}}function W2(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Swap ID"),t.qZA())}function Dc(N,V){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.xp6(1),t.Oqu(null==b?null:b.id)}}function Y2(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Claim Address"),t.qZA())}const Ps=N=>({width:N});function Yl(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.claimAddress)}}function zh(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Address"),t.qZA())}function k1(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.lockupAddress)}}function I1(N,V){1&N&&(t.TgZ(0,"th",48),t._uU(1,"Onchain Amount (Sats)"),t.qZA())}function us(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.onchainAmount))}}function el(N,V){1&N&&(t.TgZ(0,"th",48),t._uU(1,"Expected Amount (Sats)"),t.qZA())}function jl(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.expectedAmount))}}function Vh(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Error"),t.qZA())}function Bh(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.error)}}function j2(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Private Key"),t.qZA())}function tl(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.privateKey)}}function Uh(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Preimage"),t.qZA())}function K2(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.preimage)}}function Gh(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Redeem Script"),t.qZA())}function O1(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.redeemScript)}}function Zh(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Invoice"),t.qZA())}function P1(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",46)(2,"span",47),t._uU(3),t.qZA()()()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngStyle",t.VKq(2,Ps,G.screenSize===G.screenSizeEnum.XS?"6rem":G.colWidth)),t.xp6(2),t.Oqu(null==b?null:b.invoice)}}function Q2(N,V){1&N&&(t.TgZ(0,"th",48),t._uU(1,"Timeout Block Height"),t.qZA())}function q2(N,V){if(1&N&&(t.TgZ(0,"td",45)(1,"span",49),t._uU(2),t.ALo(3,"number"),t.qZA()()),2&N){const b=V.$implicit;t.xp6(2),t.Oqu(t.lcZ(3,1,null==b?null:b.timeoutBlockHeight))}}function Wh(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Lockup Tx ID"),t.qZA())}function X2(N,V){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.xp6(1),t.Oqu(null==b?null:b.lockupTransactionId)}}function J2(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Claim Tx ID"),t.qZA())}function $2(N,V){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.xp6(1),t.Oqu(null==b?null:b.claimTransactionId)}}function e0(N,V){1&N&&(t.TgZ(0,"th",44),t._uU(1,"Refund Tx ID"),t.qZA())}function Yh(N,V){if(1&N&&(t.TgZ(0,"td",45),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.xp6(1),t.Oqu(null==b?null:b.refundTransactionId)}}function jh(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),t._UZ(3,"mat-select-trigger"),t.TgZ(4,"mat-option",53),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onDownloadCSV())}),t._uU(5,"Download CSV"),t.qZA()()()()}}function t0(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"td",54)(1,"button",55),t.NdJ("click",function(Z){const Pt=t.CHM(b).$implicit,ti=t.oxw();return t.KtG(ti.onSwapClick(Pt,Z))}),t._uU(2,"View Info"),t.qZA()()}}function kd(N,V){if(1&N&&(t.TgZ(0,"p"),t._uU(1),t.qZA()),2&N){const b=t.oxw(2);t.xp6(1),t.Oqu(b.emptyTableMessage)}}function fs(N,V){if(1&N&&(t.TgZ(0,"td",56),t.YNc(1,kd,2,1,"p",57),t.qZA()),2&N){const b=t.oxw();t.xp6(1),t.Q6J("ngIf",!(null!=b.listSwaps&&b.listSwaps.data)||(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)<1)}}const Kl=N=>({"display-none":N});function ic(N,V){if(1&N&&t._UZ(0,"tr",58),2&N){const b=t.oxw();t.Q6J("ngClass",t.VKq(1,Kl,(null==b.listSwaps?null:b.listSwaps.data)&&(null==b.listSwaps||null==b.listSwaps.data?null:b.listSwaps.data.length)>0))}}function R1(N,V){1&N&&t._UZ(0,"tr",59)}function Id(N,V){1&N&&t._UZ(0,"tr",60)}const Ql=()=>["all"],n0=N=>({"overflow-auto error-border":N,"overflow-auto":!0}),r0=()=>["no_swap"];let Od=(()=>{class N{constructor(b,G,Z,He,Pt){this.logger=b,this.commonService=G,this.store=Z,this.boltzService=He,this.camelCaseWithReplace=Pt,this.selectedSwapType=Kt.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Kt.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Kt.IV,sortBy:"status",sortOrder:Kt.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Kt.IV,sortBy:"status",sortOrder:Kt.Pi.DESCENDING},this.swapStateEnum=Kt.Qw,this.swapTypeEnum=Kt.hc,this.faHistory=nn.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new ur.by([]),this.selFilter="",this.pageSize=Kt.IV,this.pageSizeOptions=Kt.TJ,this.screenSize="",this.screenSizeEnum=Kt.cu,this.unSubs=[new Yi.x,new Yi.x,new Yi.x],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(b){b.selectedSwapType&&!b.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Kt.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(ko.Pr).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.tableSettingSwapOut=b.pageSettings.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapOut.tableId)||Kt.gK.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=b.pageSettings.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapIn.tableId)||Kt.gK.find(G=>G.pageId===this.PAGE_ID)?.tables.find(G=>G.tableId===this.tableSettingSwapIn.tableId),this.setTableColumns(),this.swapsData&&this.sort&&this.paginator&&this.displayedColumns.length>0&&this.loadSwapsTable(this.swapsData),this.colWidth=this.displayedColumns.length?this.commonService.getContainerSize().width/this.displayedColumns.length/14+"rem":"20rem",this.logger.info(this.displayedColumns)})}ngAfterViewInit(){this.swapsData&&this.swapsData.length>0&&this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Kt.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Kt.cu.XS||this.screenSize===Kt.cu.SM?JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapIn.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapIn.recordsPerPage?+this.tableSettingSwapIn.recordsPerPage:Kt.IV):(this.displayedColumns=this.screenSize===Kt.cu.XS||this.screenSize===Kt.cu.SM?JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelectionSM)):JSON.parse(JSON.stringify(this.tableSettingSwapOut.columnSelection)),this.displayedColumns.push("actions"),this.pageSize=this.tableSettingSwapOut.recordsPerPage?+this.tableSettingSwapOut.recordsPerPage:Kt.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(b){const Z=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Kt.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(He=>He.column===b);return Z?Z.label?Z.label:this.camelCaseWithReplace.transform(Z.column,"_"):this.commonService.titleCase(b)}setFilterPredicate(){this.listSwaps.filterPredicate=(b,G)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(b).toLowerCase();break;case"status":Z=b?.status?this.swapStateEnum[b?.status]:"";break;default:Z=typeof b[this.selFilterBy]>"u"?"":"string"==typeof b[this.selFilterBy]?b[this.selFilterBy].toLowerCase():"boolean"==typeof b[this.selFilterBy]?b[this.selFilterBy]?"yes":"no":b[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Z.indexOf(G):Z.includes(G)}}onSwapClick(b,G){this.boltzService.swapInfo(b.id||"").pipe((0,qi.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,_e.qR)({payload:{data:{type:Kt.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Kt.Qw[(Z=this.selectedSwapType===Kt.hc.SWAP_IN?Z.swap:Z.reverseSwap).status],title:"Status",width:50,type:Kt.Gi.STRING},{key:"id",value:Z.id,title:"ID",width:50,type:Kt.Gi.STRING}],[{key:"amount",value:Z.onchainAmount?Z.onchainAmount:Z.expectedAmount?Z.expectedAmount:0,title:Z.onchainAmount?"Onchain Amount (Sats)":Z.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Kt.Gi.NUMBER},{key:"timeoutBlockHeight",value:Z.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Kt.Gi.NUMBER}],[{key:"address",value:Z.claimAddress?Z.claimAddress:Z.lockupAddress?Z.lockupAddress:"",title:Z.claimAddress?"Claim Address":Z.lockupAddress?"Lockup Address":"Address",width:100,type:Kt.Gi.STRING}],[{key:"invoice",value:Z.invoice,title:"Invoice",width:100,type:Kt.Gi.STRING}],[{key:"privateKey",value:Z.privateKey,title:"Private Key",width:100,type:Kt.Gi.STRING}],[{key:"preimage",value:Z.preimage,title:"Preimage",width:100,type:Kt.Gi.STRING}],[{key:"redeemScript",value:Z.redeemScript,title:"Redeem Script",width:100,type:Kt.Gi.STRING}],[{key:"lockupTransactionId",value:Z.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Kt.Gi.STRING},{key:"transactionId",value:Z.claimTransactionId?Z.claimTransactionId:Z.refundTransactionId?Z.refundTransactionId:"",title:Z.claimTransactionId?"Claim Transaction ID":Z.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Kt.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(b){this.listSwaps=new ur.by(b?[...b]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(G,Z)=>G[Z]&&isNaN(G[Z])?G[Z].toLocaleLowerCase():G[Z]?+G[Z]:null,this.paginator&&this.paginator.firstPage(),this.listSwaps.paginator=this.paginator,this.setFilterPredicate(),this.applyFilter(),this.logger.info(this.listSwaps)}onDownloadCSV(){this.listSwaps.data&&this.listSwaps.data.length>0&&this.commonService.downloadFile(this.listSwaps.data,this.selectedSwapType===Kt.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(na.v),t.Y36(Vi.yh),t.Y36(Os),t.Y36(cs.D3))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-swaps"]],viewQuery:function(G,Z){if(1&G&&(t.Gf(Io.YE,5),t.Gf(Qc.NW,5)),2&G){let He;t.iGM(He=t.CRH())&&(Z.sort=He.first),t.iGM(He=t.CRH())&&(Z.paginator=He.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[t._Bn([{provide:Re.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Qc.ye,useValue:(0,Kt.pt)("Swaps")}]),t.TTD],decls:76,vars:20,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["table",""],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","showFirstLastButtons"],[3,"value"],["mode","indeterminate"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["fxLayout.gt-xs","row",1,"ellipsis-parent",3,"ngStyle"],[1,"ellipsis-child"],["mat-header-cell","","mat-sort-header","","arrowPosition","before"],["fxLayoutAlign","end center"],["mat-header-cell",""],["fxLayoutAlign","center center",1,"bordered-box","table-actions-select"],["placeholder","Actions","tabindex","1",1,"mr-0"],[3,"click"],["mat-cell","","fxLayoutAlign","end center"],["mat-stroked-button","","color","primary","type","button","tabindex","4",1,"table-actions-button",3,"click"],["mat-footer-cell","","colspan","4"],[4,"ngIf"],["mat-footer-row","",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),t._uU(9,"Filter By"),t.qZA(),t.TgZ(10,"mat-select",7),t.NdJ("ngModelChange",function(Pt){return Z.selFilterBy=Pt})("selectionChange",function(){return Z.selFilter="",Z.applyFilter()}),t.TgZ(11,"perfect-scrollbar"),t.YNc(12,tc,2,2,"mat-option",8),t.qZA()()(),t.TgZ(13,"mat-form-field",6)(14,"mat-label"),t._uU(15,"Filter"),t.qZA(),t.TgZ(16,"input",9),t.NdJ("ngModelChange",function(Pt){return Z.selFilter=Pt})("input",function(){return Z.applyFilter()})("keyup",function(){return Z.applyFilter()}),t.qZA()()()(),t.TgZ(17,"div",10)(18,"div",11),t.YNc(19,Wl,1,0,"mat-progress-bar",12),t.TgZ(20,"table",13,14),t.ynx(22,15),t.YNc(23,Dd,2,0,"th",16)(24,Ld,2,1,"td",17),t.BQk(),t.ynx(25,18),t.YNc(26,W2,2,0,"th",16)(27,Dc,2,1,"td",17),t.BQk(),t.ynx(28,19),t.YNc(29,Y2,2,0,"th",16)(30,Yl,4,4,"td",17),t.BQk(),t.ynx(31,20),t.YNc(32,zh,2,0,"th",16)(33,k1,4,4,"td",17),t.BQk(),t.ynx(34,21),t.YNc(35,I1,2,0,"th",22)(36,us,4,3,"td",17),t.BQk(),t.ynx(37,23),t.YNc(38,el,2,0,"th",22)(39,jl,4,3,"td",17),t.BQk(),t.ynx(40,24),t.YNc(41,Vh,2,0,"th",16)(42,Bh,4,4,"td",17),t.BQk(),t.ynx(43,25),t.YNc(44,j2,2,0,"th",16)(45,tl,4,4,"td",17),t.BQk(),t.ynx(46,26),t.YNc(47,Uh,2,0,"th",16)(48,K2,4,4,"td",17),t.BQk(),t.ynx(49,27),t.YNc(50,Gh,2,0,"th",16)(51,O1,4,4,"td",17),t.BQk(),t.ynx(52,28),t.YNc(53,Zh,2,0,"th",16)(54,P1,4,4,"td",17),t.BQk(),t.ynx(55,29),t.YNc(56,Q2,2,0,"th",22)(57,q2,4,3,"td",17),t.BQk(),t.ynx(58,30),t.YNc(59,Wh,2,0,"th",16)(60,X2,2,1,"td",17),t.BQk(),t.ynx(61,31),t.YNc(62,J2,2,0,"th",16)(63,$2,2,1,"td",17),t.BQk(),t.ynx(64,32),t.YNc(65,e0,2,0,"th",16)(66,Yh,2,1,"td",17),t.BQk(),t.ynx(67,33),t.YNc(68,jh,6,0,"th",34)(69,t0,3,0,"td",35),t.BQk(),t.ynx(70,36),t.YNc(71,fs,2,1,"td",37),t.BQk(),t.YNc(72,ic,1,3,"tr",38)(73,R1,1,0,"tr",39)(74,Id,1,0,"tr",40),t.qZA(),t._UZ(75,"mat-paginator",41),t.qZA()()()),2&G&&(t.xp6(3),t.Q6J("icon",Z.faHistory),t.xp6(2),t.hij("",Z.swapCaption," History"),t.xp6(5),t.Q6J("ngModel",Z.selFilterBy),t.xp6(2),t.Q6J("ngForOf",t.DdM(16,Ql).concat(Z.displayedColumns.slice(0,-1))),t.xp6(4),t.Q6J("ngModel",Z.selFilter),t.xp6(3),t.Q6J("ngIf",!0===Z.flgLoading[0]),t.xp6(1),t.Q6J("matSortActive",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortBy:Z.tableSettingSwapOut.sortBy)("matSortDirection",Z.selectedSwapType===Z.swapTypeEnum.SWAP_IN?Z.tableSettingSwapIn.sortOrder:Z.tableSettingSwapOut.sortOrder)("dataSource",Z.listSwaps)("ngClass",t.VKq(17,n0,"error"===Z.flgLoading[0])),t.xp6(52),t.Q6J("matFooterRowDef",t.DdM(19,r0)),t.xp6(1),t.Q6J("matHeaderRowDef",Z.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",Z.displayedColumns),t.xp6(1),t.Q6J("pageSize",Z.pageSize)("pageSizeOptions",Z.pageSizeOptions)("showFirstLastButtons",Z.screenSize!==Z.screenSizeEnum.XS))},dependencies:[sn.mk,sn.sg,sn.O5,sn.PC,Pe.Fj,Pe.JJ,Pe.On,qr.BN,$i.xw,$i.Wh,$i.yH,me.oO,me.Zl,pt.lW,Ln.Nt,Qt.KE,Qt.hX,qc.pW,Re.gD,Re.$L,ft.ey,Io.YE,Io.nU,ur.BZ,ur.fO,ur.as,ur.w1,ur.Dz,ur.nj,ur.mD,ur.Ke,ur.ge,ur.ev,ur.yh,ur.XQ,ur.Gk,ur.Q2,Qc.NW,_t.Vv,_t.$V,sn.JJ]})}return N})();const Kh=N=>["../",N];function Ys(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",16),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw();return t.KtG(Pt.onSelectedIndexChange(He))}),t._uU(1),t.qZA()}if(2&N){const b=V.$implicit,G=t.oxw();t.Q6J("active",G.activeTab.link===b.link)("routerLink",t.VKq(3,Kh,b.link)),t.xp6(1),t.Oqu(b.name)}}let a0=(()=>{class N{constructor(b,G,Z){this.router=b,this.store=G,this.boltzService=Z,this.swapTypeEnum=Kt.hc,this.selectedSwapType=Kt.hc.SWAP_OUT,this.swaps={},this.swapsData=[],this.emptyTableMessage="No swap data available.",this.flgLoading=[!0],this.links=[{link:"swapout",name:"Swap Out"},{link:"swapin",name:"Swap In"}],this.activeTab=this.links[0],this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.boltzService.listSwaps();const b=this.links.find(G=>this.router.url.includes(G.link));this.activeTab=b||this.links[0],this.selectedSwapType=b&&"swapin"===b.link?Kt.hc.SWAP_IN:Kt.hc.SWAP_OUT,this.router.events.pipe((0,qi.R)(this.unSubs[0]),(0,cr.h)(G=>G instanceof Xn.Av)).subscribe({next:G=>{const Z=this.links.find(He=>G.urlAfterRedirects.includes(He.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"swapin"===Z.link?Kt.hc.SWAP_IN:Kt.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,qi.R)(this.unSubs[1])).subscribe({next:G=>{this.swaps=G,this.swapsData=this.selectedSwapType===Kt.hc.SWAP_IN&&G.swaps?G.swaps:this.selectedSwapType===Kt.hc.SWAP_OUT&&G.reverseSwaps?G.reverseSwaps:[],this.flgLoading[0]=!1},error:G=>{this.flgLoading[0]="error",this.emptyTableMessage=G.message?G.message:"No swap "+(this.selectedSwapType===Kt.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(b){"swapin"===b.link?(this.selectedSwapType=Kt.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Kt.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(b){this.boltzService.serviceInfo().pipe((0,qi.R)(this.unSubs[2])).subscribe({next:G=>{this.store.dispatch((0,_e.qR)({payload:{data:{serviceInfo:G,direction:b,component:Zf}}}))}})}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xn.F0),t.Y36(Vi.yh),t.Y36(Os))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"botlz-icon-sm","mr-1"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"],[1,"page-title"],["fxLayout","column",1,"padding-gap-x"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["tabindex","1","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","2",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["tabindex","1","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1)(2,"g",2)(3,"g",3),t._UZ(4,"circle",4)(5,"path",5)(6,"path",6),t.qZA()()(),t.kcU(),t.TgZ(7,"span",7),t._uU(8,"Boltz"),t.qZA()(),t.TgZ(9,"div",8)(10,"mat-card")(11,"mat-card-content",9)(12,"nav",10),t.YNc(13,Ys,2,5,"div",11),t.qZA(),t._UZ(14,"mat-tab-nav-panel",null,12),t.TgZ(16,"div",13)(17,"button",14),t.NdJ("click",function(){return Z.onSwap(Z.selectedSwapType)}),t._uU(18),t.qZA()(),t._UZ(19,"rtl-boltz-swaps",15),t.qZA()()()),2&G){const He=t.MAs(15);t.xp6(12),t.Q6J("tabPanel",He),t.xp6(1),t.Q6J("ngForOf",Z.links),t.xp6(5),t.hij("Start ",Z.activeTab.name,""),t.xp6(1),t.Q6J("selectedSwapType",Z.selectedSwapType)("swapsData",Z.swapsData)("flgLoading",Z.flgLoading)("emptyTableMessage",Z.emptyTableMessage)}},dependencies:[sn.sg,$i.xw,$i.Wh,$i.yH,pt.lW,or.a8,or.dn,ta.BU,ta.sW,ta.Nj,Xn.rH,Od]})}return N})();class Za{constructor(V){this.help=V}}function s0(N,V){if(1&N&&(t.TgZ(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.qZA()(),t.TgZ(4,"mat-panel-description",9),t._UZ(5,"span",10),t.TgZ(6,"a",11),t._uU(7),t.qZA()()()),2&N){const b=t.oxw().$implicit,G=t.oxw();t.xp6(3),t.Oqu(b.help.question),t.xp6(2),t.Q6J("innerHTML",b.help.answer,t.oJD),t.xp6(1),t.Q6J("routerLink",G.flgLoggedIn?b.help.link:"/login"),t.xp6(1),t.Oqu(G.flgLoggedIn?b.help.linkCaption:"Login to go to the page")}}function Xh(N,V){if(1&N&&(t.TgZ(0,"div",6),t.YNc(1,s0,8,4,"mat-expansion-panel",7),t.qZA()),2&N){const b=V.$implicit,G=t.oxw();t.xp6(1),t.Q6J("ngIf","ALL"===b.help.lnImplementation||b.help.lnImplementation===G.selNode.lnImplementation)}}let c0=(()=>{class N{constructor(b,G){this.store=b,this.sessionService=G,this.helpTopics=[],this.faQuestion=nn.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{this.selNode=b,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{this.flgLoggedIn=!!b.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Za({question:"Getting started",answer:'Funding your node is the first step to get started.\nGo to the "On-chain" page of the app:\n1. Generate a new address on the "Recieve" tab.\n2. Send funds to the address.\n3. Wait for the balance to be confirmed on-chain before proceeding further.\n3. Connecting with network peers and opening channels is next.\n',link:this.LNPLink+"onchain/receive/utxos",linkCaption:"On-Chain",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Connect with peers",answer:'Connect with network peers to open channels with them.\nGo to "Peer/Channels" page under the "Lightning" menu :\n1. Get the peer pubkey and host address in the pubkey@ip:port format.\n2. On the "Peers" enter the peer address and connect.\n3. Once the peer is connected, you can open channel with the peer.\n4. A variety of actions can be performed on the connected peers page for each peer:\n a. View Info - View the peer details.\n b. Open Channel - Open channel with the peer.\n c. Disconnect - Disconnect from the peer.\n',link:this.LNPLink+"connections/peers",linkCaption:"Peers",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Opening Channels",answer:'Open channels with a connected peer.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. On the "Channels" section, click on "Open Channel"\n2. On the "Open Channel" modal, select the alias of the connected peer from the drop-down\n2. Specify the amount to commit to the channel and click on "Open Channel".\n3. There are a variety of options available while opening a channel. \n a. Private Channel - When this option is selected, a private channel is opened with the peer. \n b. Priority (advanced option) - Specify either Target confirmation Block or Fee in Sat/vByte. \n c. Spend Unconfirmd Output (advanced option) - Allow channels to be opened with unconfirmed UTXOs.\n4. Track the pending open channels under the "Pending" tab. \n5. Wait for the channel to be confirmed. Only a confimed channel can be used for payments or routing. \n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Channel Management",answer:'Channel maintenance and balance score.\nGo to "Peer/Channels" page under the "Lightning" menu:\n1. A variety of actions can be perfomed on the open channels under the "Open" tab, with the "Actions" button:\n a. View Info - View the channel details.\n b. View Remote Fee - View the fee policy on the channel of the remote peer.\n c. Update Fee Policy - Modify the fee policy on the channel.\n d. Circular Rebalance - Off-chain rebalance channels by making a payment to yourself across a circular path of chained payment channels.\n e. Close Channel - Close the channel.\n2. Balance Score is a "balancedness" metric score for the channel. \n a. It helps measure how balanced the remote and local balances are, on a channel.\n b. A perfectly balanced channel has a score of one, where as a completely lopsided one has a score of zero.\n c. The formula for calculating the score is "1 - abs((local bal - remote bal)/total bal)".\n',link:this.LNPLink+"connections/channels/open",linkCaption:"Channels",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Buying Liquidity",answer:'Buying liquidity for your node.\nGo to "Liquidity Ads" page under the "Lightning" menu:\n 1. Filter ads by liquidity amount and channel opening fee rate.\n 2. Research additionally on liquidity provider nodes before selecting.\n 3. Select the best liquidity node peer for your need and click on "Open Channel" from "Actions" drop-down.\n 4. Confirm amount, rates and total cost on the modal and click on "Execute" to buy liquidity.\n',link:this.LNPLink+"liquidityads",linkCaption:"Liquidity Ads",lnImplementation:"CLN"})),this.helpTopics.push(new Za({question:"Payments",answer:'Sending Payments from your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayments tab is for making payments via your node\n 1. Input a non-expired lightning invoice (Bolt11 format) in the "Payment Request" field and click on "Send Payment" to send.\n 2. Advanced option # 1 (LND only) - Specify a limit on the routing fee which you are willing to pay, for the payment.\n 3. Advanced option # 2 (LND only) - Specify the outgoing channel which you want the payment to go through.\n',link:this.LNPLink+"transactions/payments",linkCaption:"Payments",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Invoices",answer:'Receiving Payments on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nInvoices tab is for receiving payments on your node.\n 1. Memo - Description you want to provide on the invoice.\n 2. Expiry - The time period, after which the invoice will be invalid.\n 3. Private Routing Hints - Generate an invoice with routing hints for private channels.\n',link:this.LNPLink+"transactions/invoices",linkCaption:"Invoices",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new Za({question:"Channel Backups",answer:'Channel Backups are important to ensure that you have means to recover funds in case of node failures.\nBackup folder location can be customized in the RTL config file with the channelBackupPath field.\nRTL automatically creates all channel backup on server startup, as well as everytime a channel is opened or closed\nYou can verify the all channel backup file by clicking on "Verify All" Button on the backup page.\nYou can also backup each channel individually and verify them.\n** Keep taking backups of your channels regularly and store them in redundant locations **.\n',link:this.LNPLink+"channelbackup/bckup",linkCaption:"Channel Backups",lnImplementation:"LND"})),this.helpTopics.push(new Za({question:"Channel Restore",answer:'Channel Restore is used to recover funds from the channel backup files in case of node failures.\nFollow the below steps to perform fund restoration.\n\nPrerequisite:\n1. The node has been restored with the LND recovery seed.\n2. RTL generated channel backup file/s is available (all channel backup file is channel-all.bak).\n\nRecovery:\n1. Create a restore folder in your folder backup location, as specified in the RTL config file.\n2. Place the channel backup file in the restore folder.\n3. Go to the "Restore" tab under the "Backup" page of RTL.\n4. RTL will list the options to restore funds from the all channel file or individual channel backup file.\n5. Click on the Restore icon on the grid to restore the funds.\n6. Once the restore function is executed successfully, RTL will rename the backup file and it will not be accessible from the UI.\n7. Restore function will force close the channels and recover the funds from them.\n8. The pending close channels can be viewed under the "Pending" tab on the "Peer/Channels" page.\n9. Once the channel is closed, the corresponding pending on-chain transactions can be viewed on the "On-Chain" page.\n10. Once the transactions are confirmed, the channels funds will be restored to your LND Wallet.\n',link:this.LNPLink+"channelbackup/restore",linkCaption:"Channel Restore",lnImplementation:"LND"})),this.helpTopics.push(new Za({question:"Forwarding History",answer:'Transactions routed by the node.\nGo to "Routing" page under the "Lightning" menu :\nTransactions routed by the node are listed on this page along with channels and the fee earned by transaction.\n',link:this.LNPLink+"routing/forwardinghistory",linkCaption:"Forwarding History",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Lightning Reports",answer:'Routing and transactions data reports.\nGo to "Reports" page under the "Lightning" menu :\nReport can be generated on monthly/yearly basis by selecting the reporting period, month, and year.\n',link:this.LNPLink+"reports/routingreport",linkCaption:"Reports",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Graph Lookup",answer:'Querying your node graph for network node and channel information.\nGo to "Graph Lookup" page under the "Lightning" menu :\nEach node maintains a network graph for the information on all the nodes and channels on the network.\nYou can lookup information on nodes and channels from your graph:\n 1. Node Lookup - Enter the pubkey to perform the lookup.\n 2. Channel Lookup - Enter the short channel ID to perform the lookup.\n',link:this.LNPLink+"graph/lookups",linkCaption:"Graph Lookup",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Query Route",answer:'Querying Payment Routes.\nGo to the "Graph Lookup" page under the "Lightning" menu :\nQuery Routes tab is for querying a potential path to a node and a routing fee estimate for a payment amount.\n 1. Destination Pubkey - Pubkey of the node, you want to send the payment to.\n 2. Amount - Amount in Sats, which you want to send to the node.\n',link:this.LNPLink+"graph/queryroutes",linkCaption:"Query Routes",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"LND"})),this.helpTopics.push(new Za({question:"Sign & Verify Messages",answer:'Messages signing and verification.\nGo to the "Sign/Verify" page under the "Lightning" menu :\n 1. Sign your message on "Sign" tab.\n 2. Go to "Verify" tab to verify a message.\n',link:this.LNPLink+"messages/sign",linkCaption:"Messages",lnImplementation:"CLN"})),this.helpTopics.push(new Za({question:"Node Settings",answer:'RTL offers certain customizations on the UI to personalize your experience on the app\nGo to "Node Config" page to access the customization options.\nNode Layout Options\n 1. User Persona - Two options are available to change the dashboard based on the persona.\n 2. Currency Unit - You can choose your preferred fiat currency, to view the onchain and channel balances in the choosen fiat currency.\n 3. Other customizations include day and night mode and a choice of color themes to select from.\nServices Options\n Loop (LND only), Boltz (LND only) & Peerswap (CLN only) services can be configured.\nExperimental Options (CLN only)\n Offers and Liquidity Ads can be enabled/disabled.\nShow LN Config (if configured)\n Shows lightning config file.\n',link:"../config/layout",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new Za({question:"Application Settings",answer:'RTL also offers certain customizations on the application level\nGo to top right menu "Settings" page to access these options.\nDefault Node Option\nIf you are managing multiple nodes via RTL UI, you can select the default node to load upon login.\nAuthentication Option\nPassword and 2FA update options are available here.\nShow Bitcoin Config (if configured)\n Shows bitcoin config file.\n',link:"../settings/app",linkCaption:"Application Settings",lnImplementation:"ALL"}))}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Vi.yh),t.Y36(Ls.m))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-help"]],decls:8,vars:2,consts:[["fxLayout","column","fxFlex","100"],["fxLayout","row","fxLayoutAlign","start center",1,"page-title-container"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start start",1,"padding-gap-x"],["fxFlex","100",4,"ngFor","ngForOf"],["fxFlex","100"],["class","flat-expansion-panel help-expansion mb-2px",4,"ngIf"],[1,"flat-expansion-panel","help-expansion","mb-2px"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start"],[1,"pre-wrap",3,"innerHTML"],[1,"mt-2",3,"routerLink"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span",3),t._uU(4,"Help"),t.qZA()(),t.TgZ(5,"div",4)(6,"div",0),t.YNc(7,Xh,2,1,"div",5),t.qZA()()()),2&G&&(t.xp6(2),t.Q6J("icon",Z.faQuestion),t.xp6(5),t.Q6J("ngForOf",Z.helpTopics))},dependencies:[sn.sg,sn.O5,qr.BN,$i.xw,$i.Wh,$i.yH,Oe.ib,Oe.yz,Oe.yK,Oe.u4,Xn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]})}return N})();var l0=p(2572);function d0(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Token is required."),t.qZA())}let il=(()=>{class N{constructor(b,G){this.dialogRef=b,this.store=G,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,_e.M6)({payload:{twoFAToken:this.token}}))}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xi.so),t.Y36(Vi.yh))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-login-token"]],decls:19,vars:2,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","100"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],["fxLayout","row",1,"padding-gap-x-large"],["fxLayout","column","fxFlex","100",3,"ngSubmit"],["tokenForm","ngForm"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5,"Two Factor Token"),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return Z.onClose()}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7,8),t.NdJ("ngSubmit",function(){return Z.onVerifyToken()}),t.TgZ(11,"mat-form-field")(12,"mat-label"),t._uU(13,"Token"),t.qZA(),t.TgZ(14,"input",9),t.NdJ("ngModelChange",function(Pt){return Z.token=Pt}),t.qZA(),t.YNc(15,d0,2,0,"mat-error",10),t.qZA(),t.TgZ(16,"div",11)(17,"button",12),t._uU(18,"Verify Token"),t.qZA()()()()()()),2&G&&(t.xp6(14),t.Q6J("ngModel",Z.token),t.xp6(1),t.Q6J("ngIf",!Z.token))},dependencies:[sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,$i.xw,$i.Wh,$i.yH,pt.lW,or.dn,or.dk,Ln.Nt,Qt.KE,Qt.hX,Qt.TO,Lt.h]})}return N})();function Yo(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required."),t.qZA())}function nc(N,V){if(1&N&&(t.TgZ(0,"p",20)(1,"mat-icon",21),t._uU(2,"close"),t.qZA(),t._uU(3),t.qZA()),2&N){const b=t.oxw();t.xp6(3),t.hij(" ",b.loginErrorMessage," ")}}const N1=N=>({"padding-gap-large":N}),Pd=(N,V)=>({"font-size-200":N,"font-size-300":V});let js=(()=>{class N{constructor(b,G,Z,He){this.logger=b,this.store=G,this.rtlEffects=Z,this.commonService=He,this.faUnlockAlt=nn.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Kt.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Kt.Bn,this.unSubs=[new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,l0.a)([this.store.select(Nr.ul),this.store.select(Nr.Sr)]).pipe((0,qi.R)(this.unSubs[0])).subscribe(([b,G])=>{this.loginErrorMessage="",b.status===Kt.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof b.message?JSON.stringify(b.message):b.message),this.logger.error(b.message)),G.status===Kt.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof G.message?JSON.stringify(G.message):G.message),this.logger.error(G.message))}),this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{this.appConfig=b,this.logger.info(b)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,_e.qR)({payload:{maxWidth:"35rem",data:{component:il}}})),this.rtlEffects.closeAlert.pipe((0,Ii.q)(1)).subscribe(b=>{b&&this.store.dispatch((0,_e.x4)({payload:{password:Si(this.password),defaultPassword:Kt.kO.includes(this.password.toLowerCase()),twoFAToken:b.twoFAToken}}))})):this.store.dispatch((0,_e.x4)({payload:{password:Si(this.password),defaultPassword:Kt.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Vi.yh),t.Y36(cn.V),t.Y36(na.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-login"]],decls:28,vars:13,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"login-container"],["fxLayout","row","fxFlex.gt-sm","35","fxLayoutAlign","center center"],["fxLayout","row","fxFlex","45","fxLayoutAlign","center stretch"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign","stretch stretch"],["fxFlex","35","fxLayoutAlign","center center",1,"bg-primary"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-logo-svg"],["fxFlex","65","fxLayout","column","fxLayoutAlign","center stretch",3,"ngClass"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","mt-2","p-0"],[1,"font-bold-500",3,"ngClass"],[1,"page-title"],[1,"pb-2"],["fxLayout","column","fxLayoutAlign","start space-between"],["loginForm","ngForm"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["fxFlex","100","class","color-warn pre-wrap","fxLayoutAlign","start start",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-2"],["mat-stroked-button","","color","primary","tabindex","2","type","reset",1,"mr-1","mb-2",3,"click"],["mat-flat-button","","color","primary","tabindex","3","type","submit",3,"click"],["fxFlex","100","fxLayoutAlign","start start",1,"color-warn","pre-wrap"],[1,"mr-1","icon-small"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"div",3)(4,"div",4),t._UZ(5,"img",5),t.qZA(),t.TgZ(6,"div",6)(7,"mat-card-header",7)(8,"mat-card-title",8)(9,"span",9),t._uU(10,"Welcome"),t.qZA()()(),t.TgZ(11,"mat-card-content",10)(12,"form",11,12)(14,"mat-form-field")(15,"mat-label"),t._uU(16,"Password"),t.qZA(),t.TgZ(17,"input",13),t.NdJ("ngModelChange",function(Pt){return Z.password=Pt}),t.qZA(),t.TgZ(18,"button",14),t.NdJ("click",function(){return Z.flgShow=!Z.flgShow}),t.TgZ(19,"mat-icon"),t._uU(20),t.qZA()(),t.YNc(21,Yo,2,0,"mat-error",15),t.qZA(),t.YNc(22,nc,4,1,"p",16),t.TgZ(23,"div",17)(24,"button",18),t.NdJ("click",function(){return Z.resetData()}),t._uU(25,"Clear"),t.qZA(),t.TgZ(26,"button",19),t.NdJ("click",function(){return Z.onLogin()}),t._uU(27,"Login"),t.qZA()()()()()()()()()),2&G&&(t.xp6(6),t.Q6J("ngClass",t.VKq(8,N1,Z.screenSize===Z.screenSizeEnum.XS)),t.xp6(2),t.Q6J("ngClass",t.WLB(10,Pd,Z.screenSize===Z.screenSizeEnum.XS,Z.screenSize!==Z.screenSizeEnum.XS)),t.xp6(9),t.Q6J("type",Z.flgShow?"text":"password")("ngModel",Z.password),t.xp6(1),t.uIk("aria-label","Hide password"),t.xp6(2),t.Oqu(Z.flgShow?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",!Z.password),t.xp6(1),t.Q6J("ngIf",""!==Z.loginErrorMessage))},dependencies:[sn.mk,sn.O5,Pe._Y,Pe.Fj,Pe.JJ,Pe.JL,Pe.Q7,Pe.On,Pe.F,$i.xw,$i.Wh,$i.yH,me.oO,pt.lW,pt.RK,or.a8,or.dn,or.dk,or.n5,wo.Hw,Ln.Nt,Qt.KE,Qt.hX,Qt.TO,Qt.R9,Lt.h],styles:[".login-container[_ngcontent-%COMP%]{height:60vh;margin-top:15%}.login-container[_ngcontent-%COMP%] .mat-mdc-card[_ngcontent-%COMP%]{height:30rem}.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 56.25em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:37%}}@media only screen and (max-width: 37.5em){.login-container[_ngcontent-%COMP%] .rtl-logo-svg[_ngcontent-%COMP%]{width:70%}}.login-container[_ngcontent-%COMP%] .material-icons.mat-icon[_ngcontent-%COMP%]{font-size:90%;cursor:pointer}"]})}return N})();var Rs=p(4740);let Jh=(()=>{class N{constructor(b,G){this.activatedRoute=b,this.router=G,this.error={errorCode:"",errorMessage:""},this.faTimes=nn.NBC,this.unsubs=[new Yi.x,new Yi.x]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,qi.R)(this.unsubs[0])).subscribe(b=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Xn.gz),t.Y36(Xn.F0))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-error"]],decls:13,vars:3,consts:[["fxLayout","row","fxFlex","100","fxLayoutAlign","center center"],["fxLayout","column","fxFlex","60","fxLayoutAlign","start center"],["fxLayout","row","fxLayoutAlign","center center",1,"page-title-container","padding-gap-large"],[1,"font-size-300","font-bold-500"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxLayout","column","fxLayoutAlign","center center",1,"padding-gap-large"],[1,"box-text","font-size-120"],["fxLayout","row","fxLayoutAlign","center","fxFlex","80"],["mat-flat-button","","color","primary","type","button",1,"mt-2",3,"click"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),t._UZ(4,"fa-icon",4),t.TgZ(5,"span",5),t._uU(6),t.qZA()()(),t.TgZ(7,"mat-card-content",6)(8,"div",7),t._uU(9),t.qZA(),t.TgZ(10,"span",8)(11,"button",9),t.NdJ("click",function(){return Z.goToHelp()}),t._uU(12,"Go To Help"),t.qZA()()()()()),2&G&&(t.xp6(4),t.Q6J("icon",Z.faTimes),t.xp6(2),t.hij("Error ",Z.error.errorCode,""),t.xp6(3),t.Oqu(Z.error.errorMessage))},dependencies:[qr.BN,$i.xw,$i.Wh,$i.yH,pt.lW,or.a8,or.dn,or.dk,or.n5],encapsulation:2})}return N})();var Wa=p(5525),Rd=p(6046),h0=p(3362),u0=p(6082);function f0(N,V){1&N&&t._UZ(0,"span",16)}function $h(N,V){1&N&&t._UZ(0,"span",17)}function m0(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"form",18,4)(2,"div",19),t._UZ(3,"fa-icon",2),t.TgZ(4,"span"),t._uU(5,"Please ensure that "),t.TgZ(6,"strong"),t._uU(7,"experimental-offers"),t.qZA(),t._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(9,"strong")(10,"a",20),t._uU(11,"here"),t.qZA()(),t._uU(12," to learn more about Core Lightning offers."),t.qZA()(),t.TgZ(13,"h4",21),t._uU(14,"Description"),t.qZA(),t.TgZ(15,"span"),t._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),t.qZA(),t.TgZ(17,"h4",21),t._uU(18,"Links"),t.qZA(),t.TgZ(19,"span")(20,"a",22),t._uU(21,"Core lightning Bolt12"),t.qZA()(),t._UZ(22,"mat-divider",23),t.TgZ(23,"div",24),t._UZ(24,"fa-icon",2),t.TgZ(25,"span"),t._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),t.qZA()(),t.TgZ(27,"mat-slide-toggle",25),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(2);return t.KtG(He.enableOffers=Z)})("change",function(){t.CHM(b);const Z=t.oxw(2);return t.KtG(Z.onUpdateFeature())}),t._uU(28),t.qZA()()}if(2&N){const b=t.oxw(2);t.xp6(3),t.Q6J("icon",b.faInfoCircle),t.xp6(19),t.Q6J("inset",!0),t.xp6(2),t.Q6J("icon",b.faExclamationTriangle),t.xp6(3),t.Q6J("ngModel",b.enableOffers),t.xp6(1),t.hij("Enable Offers ",b.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function eu(N,V){if(1&N&&(t.TgZ(0,"div")(1,"div",28),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Please ensure that "),t.TgZ(5,"strong"),t._uU(6,"experimental-dual-fund"),t.qZA(),t._uU(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),t.TgZ(8,"strong")(9,"a",29),t._uU(10,"here"),t.qZA()(),t._uU(11," to learn more about Core Lightning Liquidity Ads."),t.qZA()()()),2&N){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle)}}function Yf(N,V){if(1&N&&(t.TgZ(0,"mat-option",47),t._uU(1),t.ALo(2,"titlecase"),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b),t.xp6(1),t.hij(" ",t.lcZ(2,2,b.id)," ")}}function H1(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const b=t.oxw(4);t.xp6(1),t.hij("",b.selPolicyType.placeholder," is required.")}}function tu(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be greater than or equal to ",b.selPolicyType.min,".")}}function iu(N,V){if(1&N&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&N){const b=t.oxw(4);t.xp6(1),t.AsE("",b.selPolicyType.placeholder," must be less than or equal to ",b.selPolicyType.max,".")}}function Nd(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base fee is required."),t.qZA())}function jf(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Lease base basis is required."),t.qZA())}function nu(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing base fee is required."),t.qZA())}function nl(N,V){1&N&&(t.TgZ(0,"mat-error"),t._uU(1,"Max channel routing fee rate is required."),t.qZA())}const p0=(N,V)=>({"alert-danger":N,"alert-info":V});function Kf(N,V){if(1&N&&(t.TgZ(0,"h4",48)(1,"span",49),t._uU(2),t.qZA()()),2&N){const b=t.oxw(4);t.xp6(1),t.Q6J("ngClass",t.WLB(2,p0,!!b.updateMsg.error,!!b.updateMsg.data)),t.xp6(1),t.hij(" ",b.updateMsg.error&&""!==b.updateMsg.error?"Error: "+b.updateMsg.error||0:b.updateMsg.data&&""!==b.updateMsg.data?b.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function ru(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"div",30)(1,"div",31),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),t.qZA()(),t.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),t._uU(8,"Policy"),t.qZA(),t.TgZ(9,"mat-select",34),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(3);return t.KtG(He.selPolicyType=Z)})("selectionChange",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.policyMod=null)}),t.YNc(10,Yf,3,4,"mat-option",35),t.qZA()(),t.TgZ(11,"mat-form-field",36)(12,"mat-label"),t._uU(13),t.qZA(),t.TgZ(14,"input",37,38),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(3);return t.KtG(He.policyMod=Z)}),t.qZA(),t.TgZ(16,"mat-hint"),t._uU(17),t.qZA(),t.YNc(18,H1,2,1,"mat-error",26)(19,tu,2,2,"mat-error",26)(20,iu,2,2,"mat-error",26),t.qZA()(),t.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),t._uU(24,"Lease Base Fee (Sats)"),t.qZA(),t.TgZ(25,"input",39),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(3);return t.KtG(He.lease_fee_base_sat=Z)}),t.qZA(),t.YNc(26,Nd,2,0,"mat-error",26),t.qZA(),t.TgZ(27,"mat-form-field",36)(28,"mat-label"),t._uU(29,"Lease Base Basis (bps)"),t.qZA(),t.TgZ(30,"input",40),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(3);return t.KtG(He.lease_fee_basis=Z)}),t.qZA(),t.YNc(31,jf,2,0,"mat-error",26),t.qZA()(),t.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),t._uU(35,"Max Channel Routing Base Fee (Sats)"),t.qZA(),t.TgZ(36,"input",41),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(3);return t.KtG(He.channelFeeMaxBaseSat=Z)}),t.qZA(),t.YNc(37,nu,2,0,"mat-error",26),t.qZA(),t.TgZ(38,"mat-form-field",36)(39,"mat-label"),t._uU(40,"Max Channel Routing Fee Rate (ppm)"),t.qZA(),t.TgZ(41,"input",42),t.NdJ("ngModelChange",function(Z){t.CHM(b);const He=t.oxw(3);return t.KtG(He.channelFeeMaxProportional=Z)}),t.qZA(),t.YNc(42,nl,2,0,"mat-error",26),t.qZA()(),t.YNc(43,Kf,3,5,"h4",43),t.TgZ(44,"div",44)(45,"button",45),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.onResetPolicy())}),t._uU(46,"Reset"),t.qZA(),t.TgZ(47,"button",46),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw(3);return t.KtG(Z.onUpdateFundingPolicy())}),t._uU(48,"Update"),t.qZA()()()}if(2&N){const b=t.oxw(3);t.xp6(2),t.Q6J("icon",b.faExclamationTriangle),t.xp6(7),t.Q6J("ngModel",b.selPolicyType),t.xp6(1),t.Q6J("ngForOf",b.policyTypes),t.xp6(3),t.Oqu(b.selPolicyType.placeholder),t.xp6(1),t.Q6J("step","fixed"===b.selPolicyType.id?1e3:10)("min",b.selPolicyType.min)("max",b.selPolicyType.max)("ngModel",b.policyMod),t.xp6(3),t.lnq("",b.selPolicyType.placeholder," should be between ",b.selPolicyType.min," and ",b.selPolicyType.max,""),t.xp6(1),t.Q6J("ngIf",!b.policyMod),t.xp6(1),t.Q6J("ngIf",b.policyModb.selPolicyType.max),t.xp6(5),t.Q6J("ngModel",b.lease_fee_base_sat),t.xp6(1),t.Q6J("ngIf",!b.lease_fee_base_sat),t.xp6(4),t.Q6J("ngModel",b.lease_fee_basis),t.xp6(1),t.Q6J("ngIf",!b.lease_fee_basis),t.xp6(5),t.Q6J("ngModel",b.channelFeeMaxBaseSat),t.xp6(1),t.Q6J("ngIf",!b.channelFeeMaxBaseSat),t.xp6(4),t.Q6J("ngModel",b.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",!b.channelFeeMaxProportional),t.xp6(1),t.Q6J("ngIf",b.flgUpdateCalled)}}function ql(N,V){if(1&N&&(t.TgZ(0,"form",18,4),t.YNc(2,eu,12,1,"div",26)(3,ru,49,23,"div",27),t.qZA()),2&N){const b=t.oxw(2);t.xp6(2),t.Q6J("ngIf",!b.features[1].enabled),t.xp6(1),t.Q6J("ngIf",b.features[1].enabled)}}function rl(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-expansion-panel",9),t.NdJ("opened",function(){const He=t.CHM(b).index,Pt=t.oxw();return t.KtG(Pt.onPanelExpanded(He))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",10)(3,"h4",11),t._uU(4),t.qZA(),t.TgZ(5,"h4",11),t.YNc(6,f0,1,0,"span",12)(7,$h,1,0,"span",13),t._uU(8),t.qZA()()(),t.TgZ(9,"div",14),t.YNc(10,m0,29,5,"form",15)(11,ql,4,2,"form",15),t.qZA()()}if(2&N){const b=V.$implicit,G=V.index;t.Q6J("expanded",!1),t.xp6(4),t.Oqu(b.name),t.xp6(2),t.Q6J("ngIf",b.enabled),t.xp6(1),t.Q6J("ngIf",!b.enabled),t.xp6(1),t.hij(" ",b.enabled?"Enabled":"Disabled"," "),t.xp6(2),t.Q6J("ngIf",0===G),t.xp6(1),t.Q6J("ngIf",1===G)}}let Hd=(()=>{class N{constructor(b,G,Z,He){this.logger=b,this.store=G,this.dataService=Z,this.commonService=He,this.faInfoCircle=nn.sqG,this.faExclamationTriangle=nn.eHv,this.faCode=nn.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Kt.gB,this.selPolicyType=Kt.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,qi.R)(this.unSubs[0])).subscribe({next:b=>{this.logger.info("Received List Configs: "+JSON.stringify(b)),this.features[1].enabled=!!b["experimental-dual-fund"]},error:b=>{this.logger.error("List Configs Error: "+JSON.stringify(b)),this.features[1].enabled=!1}}),this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{this.selNode=b,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(Pr.XP).pipe((0,qi.R)(this.unSubs[2])).subscribe(b=>{this.policyTypes[2].max=b.balance.totalBalance||1e3})}onPanelExpanded(b){1===b&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,qi.R)(this.unSubs[3])).subscribe(G=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(G)),this.fundingPolicy=G,this.fundingPolicy.policy&&(this.selPolicyType=Kt.gB.find(Z=>Z.id===this.fundingPolicy.policy)||this.policyTypes[0]),this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null})}onUpdateFeature(){this.logger.info(this.selNode),this.selNode.settings.enableOffers=this.enableOffers,this.features[0].enabled=this.enableOffers,this.store.dispatch((0,_e.jS)({payload:{uiMessage:Kt.m6.UPDATE_SETTING,service:Kt.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,xr.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}})),this.store.dispatch((0,Wn.Mf)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}})),this.store.dispatch((0,qn.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}}))}onUpdateFundingPolicy(){this.flgUpdateCalled=!0,this.updateMsg={},this.dataService.getOrUpdateFunderPolicy(this.selPolicyType.id,this.policyMod,1e3*(this.lease_fee_base_sat||0),this.lease_fee_basis,1e3*(this.channelFeeMaxBaseSat||0),this.channelFeeMaxProportional?this.channelFeeMaxProportional/1e3:0).pipe((0,qi.R)(this.unSubs[4])).subscribe({next:b=>{this.logger.info(b),this.fundingPolicy=b,this.updateMsg={data:"Compact Lease: "+b.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:b=>{this.logger.error(b),this.updateMsg={error:this.commonService.extractErrorMessage(b,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Kt.gB.find(b=>b.id===this.fundingPolicy.policy)||this.policyTypes[0]:Kt.gB[0],this.policyMod=this.fundingPolicy.policy_mod||0===this.fundingPolicy.policy_mod?this.fundingPolicy.policy_mod:null,this.lease_fee_base_sat=this.fundingPolicy.lease_fee_base_msat?this.fundingPolicy.lease_fee_base_msat/1e3:0===this.fundingPolicy.lease_fee_base_msat?0:null,this.lease_fee_basis=this.fundingPolicy.lease_fee_basis||0===this.fundingPolicy.lease_fee_basis?this.fundingPolicy.lease_fee_basis:null,this.channelFeeMaxBaseSat=this.fundingPolicy.channel_fee_max_base_msat?this.fundingPolicy.channel_fee_max_base_msat/1e3:0===this.fundingPolicy.channel_fee_max_base_msat?0:null,this.channelFeeMaxProportional=this.fundingPolicy.channel_fee_max_proportional_thousandths||0===this.fundingPolicy.channel_fee_max_proportional_thousandths?1e3*this.fundingPolicy.channel_fee_max_proportional_thousandths:null}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Vi.yh),t.Y36(Rd.D),t.Y36(na.v))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","column","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","row"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["class","flat-expansion-panel my-1",3,"expanded","opened",4,"ngFor","ngForOf"],[1,"flat-expansion-panel","my-1",3,"expanded","opened"],["fxFlex","100","fxLayoutAlign","space-between center"],[1,"font-bold-500"],["class","dot green",4,"ngIf"],["class","dot yellow",4,"ngIf"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch","class","page-sub-title-container",4,"ngIf"],[1,"dot","green"],[1,"dot","yellow"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container"],["fxFlex","100",1,"alert","alert-info"],["href","http://bolt12.org","target","_blank"],[1,"mt-2"],["href","https://github.com/lightningnetwork/lightning-rfc/pull/798 ","target","blank"],[1,"my-2",3,"inset"],[1,"alert","alert-warn"],["autoFocus","","tabindex","1","color","primary","name","enableOfr",1,"my-1",3,"ngModel","ngModelChange","change"],[4,"ngIf"],["fxLayout","column",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn"],["href","https://medium.com/blockstream/setting-up-liquidity-ads-in-c-lightning-54e4c59c091d","target","_blank"],["fxLayout","column"],["fxFlex","100","fxLayout","row",1,"alert","alert-warn","mb-2"],["fxLayout","column","fxLayout.gt-sm","row","fxFlex","100","fxLayoutAlign.gt-sm","space-between center","fxLayoutAlign","start stretch"],["fxLayout","column","fxFlex","49","fxLayoutAlign","start end"],["autofocus","","tabindex","1","name","policy",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"step","min","max","ngModel","ngModelChange"],["plcMod","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModel","ngModelChange"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModel","ngModelChange"],["fxLayoutAlign","start stretch","class","font-bold-500 mt-2",4,"ngIf"],["fxLayout","row",1,"my-1"],["mat-stroked-button","","color","primary","tabindex","7",1,"mr-1",3,"click"],["mat-flat-button","","color","primary","tabindex","8",3,"click"],[3,"value"],["fxLayoutAlign","start stretch",1,"font-bold-500","mt-2"],["fxFlex","100",1,"alert",3,"ngClass"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"fa-icon",2),t.TgZ(3,"span"),t._uU(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),t.qZA()(),t.TgZ(5,"form",3,4)(7,"div",5),t._UZ(8,"fa-icon",6),t.TgZ(9,"span",7),t._uU(10,"Features"),t.qZA()(),t.TgZ(11,"mat-accordion"),t.YNc(12,rl,12,7,"mat-expansion-panel",8),t.qZA()()()),2&G&&(t.xp6(2),t.Q6J("icon",Z.faInfoCircle),t.xp6(6),t.Q6J("icon",Z.faCode),t.xp6(4),t.Q6J("ngForOf",Z.features))},dependencies:[sn.mk,sn.sg,sn.O5,Pe._Y,Pe.Fj,Pe.wV,Pe.JJ,Pe.JL,Pe.Q7,Pe.qQ,Pe.Fd,Pe.On,Pe.F,qr.BN,$i.xw,$i.Wh,$i.yH,me.oO,pt.lW,Oe.pp,Oe.ib,Oe.yz,Oe.yK,Ln.Nt,Qt.KE,Qt.hX,Qt.bx,Qt.TO,Pa.d,Re.gD,ft.ey,Ne.Rr,_t.$V,Lt.h,h0.F,u0.q,sn.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]})}return N})();const Fd=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([p.e(758),p.e(570)]).then(p.bind(p,4570)).then(N=>N.LNDModule),canActivate:[(0,Wa.a1)()]},{path:"cln",loadChildren:()=>Promise.all([p.e(758),p.e(125)]).then(p.bind(p,7125)).then(N=>N.CLNModule),canActivate:[(0,Wa.a1)()]},{path:"ecl",loadChildren:()=>Promise.all([p.e(758),p.e(456)]).then(p.bind(p,6456)).then(N=>N.ECLModule),canActivate:[(0,Wa.a1)()]},{path:"settings",component:As,canActivate:[(0,Wa.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:di,canActivate:[(0,Wa.a1)()]},{path:"auth",component:Go,canActivate:[(0,Wa.a1)()]},{path:"bconfig",component:pd,canActivate:[(0,Wa.a1)()]}]},{path:"config",component:mr,canActivate:[(0,Wa.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Qn,canActivate:[(0,Wa.a1)()]},{path:"pglayout",component:Yc,canActivate:[(0,Wa.a1)()]},{path:"services",component:Df,canActivate:[(0,Wa.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Dl,canActivate:[(0,Wa.a1)()]},{path:"boltz",component:x1,canActivate:[(0,Wa.a1)()]}]},{path:"experimental",component:Hd,canActivate:[(0,Wa.a1)()]},{path:"lnconfig",component:Uc,canActivate:[(0,Wa.a1)()]}]},{path:"services",component:Kc,canActivate:[(0,Wa.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:H2},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:a0}]},{path:"help",component:c0},{path:"login",component:js},{path:"error",component:Jh},{path:"**",component:Rs.w}],al=Xn.Bz.forRoot(Fd,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var F1=p(8339),au=p(5256),g0=p(5940),z1=p(2651),Xl=p(1274),ol=p(1894),ts=p(8445);const rc={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:nn.HLz,link:"/lnd/home",userPersona:Kt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:nn.nNP,link:"/lnd/onchain",userPersona:Kt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:nn.BDt,link:"/lnd/connections",userPersona:Kt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:nn.FVb,link:"/lnd/connections",userPersona:Kt.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:nn.Ssp,link:"/lnd/transactions",userPersona:Kt.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:nn.SuH,link:"/lnd/routing",userPersona:Kt.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:nn.koM,link:"/lnd/reports",userPersona:Kt.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:nn.wn1,link:"/lnd/graph",userPersona:Kt.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:nn.hkK,link:"/lnd/messages",userPersona:Kt.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:nn.q7m,link:"/lnd/channelbackup",userPersona:Kt.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:nn.TmZ,link:"/lnd/network",userPersona:Kt.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:nn.xf3,link:"/lnd/network",userPersona:Kt.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:nn.Krp,link:"/services/loop",userPersona:Kt.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:nn.vqe,link:"/services/loop",userPersona:Kt.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Kt.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:nn.CgH,link:"/config",userPersona:Kt.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:nn.Psp,link:"/help",userPersona:Kt.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:nn.HLz,link:"/cln/home",userPersona:Kt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:nn.nNP,link:"/cln/onchain",userPersona:Kt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:nn.BDt,link:"/cln/connections",userPersona:Kt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:nn.FVb,link:"/cln/connections",userPersona:Kt.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:nn.Acd,link:"/cln/liquidityads",userPersona:Kt.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:nn.Ssp,link:"/cln/transactions",userPersona:Kt.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:nn.SuH,link:"/cln/routing",userPersona:Kt.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:nn.koM,link:"/cln/reports",userPersona:Kt.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:nn.wn1,link:"/cln/graph",userPersona:Kt.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:nn.hkK,link:"/cln/messages",userPersona:Kt.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:nn.USL,link:"/cln/rates",userPersona:Kt.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:nn.xf3,link:"/cln/rates",userPersona:Kt.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:nn.CgH,link:"/config",userPersona:Kt.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:nn.Psp,link:"/help",userPersona:Kt.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:nn.HLz,link:"/ecl/home",userPersona:Kt.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:nn.nNP,link:"/ecl/onchain",userPersona:Kt.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:nn.BDt,link:"/ecl/connections",userPersona:Kt.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:nn.FVb,link:"/ecl/connections",userPersona:Kt.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:nn.Ssp,link:"/ecl/transactions",userPersona:Kt.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:nn.SuH,link:"/ecl/routing",userPersona:Kt.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:nn.koM,link:"/ecl/reports",userPersona:Kt.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:nn.wn1,link:"/ecl/graph",userPersona:Kt.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:nn.CgH,link:"/config",userPersona:Kt.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:nn.Psp,link:"/help",userPersona:Kt.ol.ALL}]};function sl(N,V){if(1&N&&(t.TgZ(0,"mat-option",11),t._uU(1),t.qZA()),2&N){const b=V.$implicit;t.Q6J("value",b.index),t.xp6(1),t.AsE(" ",b.lnNode," (",b.lnImplementation,") ")}}function ac(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-select",9),t.NdJ("selectionChange",function(Z){t.CHM(b);const He=t.oxw();return t.KtG(He.onNodeSelectionChange(Z.value))}),t.TgZ(1,"perfect-scrollbar"),t.YNc(2,sl,2,3,"mat-option",10),t.qZA()()}if(2&N){const b=t.oxw();t.Q6J("value",b.selConfigNodeIndex),t.xp6(2),t.Q6J("ngForOf",b.appConfig.nodes)}}function V1(N,V){if(1&N&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&N){const b=t.oxw().$implicit;t.oxw(2);const G=t.MAs(11);t.xp6(1),t.Q6J("ngTemplateOutlet","boltzIconBlock"===b.icon?G:null)}}function ou(N,V){if(1&N&&t._UZ(0,"fa-icon",23),2&N){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function su(N,V){if(1&N&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function v0(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-tree-node",15)(1,"div",16),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw(2);return t.KtG(Pt.onChildNavClicked(He))}),t.TgZ(2,"div",17),t.YNc(3,V1,2,1,"span",18)(4,ou,1,1,"fa-icon",19)(5,su,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()()()()}if(2&N){const b=V.$implicit;t.s9C("routerLink",b.link),t.xp6(3),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name)}}function Vd(N,V){if(1&N&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function cu(N,V){if(1&N&&t._UZ(0,"fa-icon",23),2&N){const b=t.oxw().$implicit;t.Q6J("icon",b.icon)}}function Oo(N,V){if(1&N&&(t.TgZ(0,"mat-icon",24),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Oqu(b.icon)}}function B1(N,V){if(1&N&&(t.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),t.YNc(3,Vd,2,1,"span",28)(4,cu,1,1,"fa-icon",19)(5,Oo,2,1,"mat-icon",20),t.TgZ(6,"span"),t._uU(7),t.qZA()(),t.TgZ(8,"button",29)(9,"mat-icon"),t._uU(10),t.qZA()()(),t.TgZ(11,"div",30),t.GkF(12,31),t.qZA()()),2&N){const b=V.$implicit,G=t.oxw(2);t.xp6(3),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name),t.xp6(1),t.uIk("aria-label","toggle "+b.name),t.xp6(2),t.Oqu(G.treeControlNested.isExpanded(b)?"arrow_drop_up":"arrow_drop_down"),t.xp6(1),t.ekj("tree-children-invisible",!G.treeControlNested.isExpanded(b))}}function Bd(N,V){if(1&N&&(t.TgZ(0,"mat-tree",5,12),t.YNc(2,v0,8,5,"mat-tree-node",13)(3,B1,13,8,"mat-nested-tree-node",14),t.qZA()),2&N){const b=t.oxw();t.Q6J("dataSource",b.navMenus)("treeControl",b.treeControlNested),t.xp6(3),t.Q6J("matTreeNodeDefWhen",b.hasChild)}}function U1(N,V){if(1&N&&(t.TgZ(0,"span",21),t.GkF(1,22),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function eo(N,V){if(1&N&&t._UZ(0,"fa-icon",36),2&N){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function Jl(N,V){if(1&N&&(t.TgZ(0,"mat-icon",37),t._uU(1),t.qZA()),2&N){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.xp6(1),t.Oqu(b.icon)}}function $l(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw();return t.KtG(Pt.onShowData(He))}),t.YNc(1,U1,2,1,"span",18)(2,eo,1,2,"fa-icon",34)(3,Jl,2,2,"mat-icon",35),t.TgZ(4,"span"),t._uU(5),t.qZA()()}if(2&N){const b=V.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(1),t.Q6J("ngIf",!b.iconType),t.xp6(2),t.Oqu(b.name)}}function G1(N,V){if(1&N&&(t.TgZ(0,"span",32),t.GkF(1,22),t.qZA()),2&N){const b=t.oxw().$implicit;t.xp6(1),t.Q6J("ngTemplateOutlet",b.icon)}}function b0(N,V){if(1&N&&t._UZ(0,"fa-icon",36),2&N){const b=t.oxw().$implicit;t.s9C("matTooltip",b.name),t.Q6J("icon",b.icon)}}function y0(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"mat-tree-node",33),t.NdJ("click",function(){const He=t.CHM(b).$implicit,Pt=t.oxw(2);return t.KtG(Pt.onClick(He))}),t.YNc(1,G1,2,1,"span",28)(2,b0,1,2,"fa-icon",34),t.TgZ(3,"span"),t._uU(4),t.qZA()()}if(2&N){const b=V.$implicit;t.xp6(1),t.Q6J("ngIf","SVG"===b.iconType),t.xp6(1),t.Q6J("ngIf","FA"===b.iconType),t.xp6(2),t.Oqu(b.name)}}function lu(N,V){if(1&N&&(t.TgZ(0,"mat-tree",5),t.YNc(1,y0,5,3,"mat-tree-node",6),t.qZA()),2&N){const b=t.oxw();t.Q6J("dataSource",b.navMenusLogout)("treeControl",b.treeControlLogout)}}function Ud(N,V){1&N&&(t.O4$(),t.TgZ(0,"svg",38)(1,"g",39)(2,"g",40),t._UZ(3,"circle",41)(4,"path",42)(5,"path",43),t.qZA()()())}let du=(()=>{class N{constructor(b,G,Z,He,Pt,ti){this.logger=b,this.commonService=G,this.sessionService=Z,this.store=He,this.actions=Pt,this.rtlEffects=ti,this.ChildNavClicked=new t.vpe,this.faEject=nn.KOR,this.faEye=nn.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:nn.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:nn.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Kt.ol,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.treeControlNested=new ol.VY(fi=>fi.children),this.treeControlLogout=new ol.VY(fi=>fi.children),this.treeControlShowData=new ol.VY(fi=>fi.children),this.navMenus=new ts.WX,this.navMenusLogout=new ts.WX,this.navMenusShowData=new ts.WX,this.hasChild=(fi,wi)=>!!wi.children&&wi.children.length>0,this.version=Kt.q4,rc.LNDChildren&&200===rc.LNDChildren[rc.LNDChildren.length-1].id&&rc.LNDChildren.pop(),this.navMenus.data=rc.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const b=this.sessionService.getItem("token");this.showLogout=!!b,this.flgLoading=!!b,this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[0])).subscribe(G=>{this.appConfig=G}),this.store.select(Nr.gW).pipe((0,qi.R)(this.unSubs[1])).subscribe(G=>{if(this.information=G.nodeDate,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const Z=this.information.chains[0];this.informationChain.chain=Z.chain,this.informationChain.network=Z.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=G.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(G.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(G)}),this.sessionService.watchSession().pipe((0,qi.R)(this.unSubs[2])).subscribe(G=>{this.showLogout=!!G.token,this.flgLoading=!!G.token}),this.actions.pipe((0,qi.R)(this.unSubs[3]),(0,cr.h)(G=>G.type===Kt.pg.LOGOUT)).subscribe(G=>{this.showLogout=!1})}onClick(b){"Logout"===b.name&&(this.store.dispatch((0,_e.c1)({payload:{data:{type:Kt.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,qi.R)(this.unSubs[4])).subscribe(G=>{G&&(this.showLogout=!1,this.store.dispatch((0,_e.kS)()))})),this.ChildNavClicked.emit(b)}onChildNavClicked(b){this.ChildNavClicked.emit(b)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let b=[];b=JSON.parse(JSON.stringify(rc.LNDChildren)),this.navMenus.data=b?.filter(G=>G.children&&G.children.length?(G.children=G.children?.filter(Z=>(Z.userPersona===Kt.ol.ALL||Z.userPersona===this.settings?.userPersona)&&"/services/loop"!==Z.link&&"/services/boltz"!==Z.link||"/services/loop"===Z.link&&this.settings?.swapServerUrl&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===Z.link&&this.settings?.boltzServerUrl&&""!==this.settings.boltzServerUrl.trim()),G.children.length>0):G.userPersona===Kt.ol.ALL||G.userPersona===this.settings?.userPersona)}loadCLNMenu(){let b=[];b=JSON.parse(JSON.stringify(rc.CLNChildren)),this.navMenus.data=b?.filter(G=>G.children&&G.children.length?(G.children=G.children?.filter(Z=>(Z.userPersona===Kt.ol.ALL||Z.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==Z.link||"/services/peerswap"===Z.link&&this.settings?.enablePeerswap),G.children.length>0):G.userPersona===Kt.ol.ALL||G.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(rc.ECLChildren))}onShowData(b){this.store.dispatch((0,_e.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(b){const G=this.selConfigNodeIndex;this.selConfigNodeIndex=b;const Z=this.appConfig.nodes.find(He=>+He.index===b);this.store.dispatch((0,_e.fk)({payload:{uiMessage:Kt.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+G,currentLnNode:Z||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(na.v),t.Y36(Ls.m),t.Y36(Vi.yh),t.Y36(lo.eX),t.Y36(cn.V))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-side-navigation"]],viewQuery:function(G,Z){if(1&G&&t.Gf(ts.gi,5),2&G){let He;t.iGM(He=t.CRH())&&(Z.tree=He.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between start",3,"perfectScrollbar"],["fxLayout","column","fxFlex","90","fxLayoutAlign","start stretch",1,"w-100"],["class","m-2 multi-node-select",3,"value","selectionChange",4,"ngIf"],[1,"w-100"],[3,"dataSource","treeControl",4,"ngIf"],[3,"dataSource","treeControl"],[3,"click",4,"matTreeNodeDef"],["fxLayout","column","fxLayoutAlign","end stretch",1,"w-100"],["boltzIconBlock",""],[1,"m-2","multi-node-select",3,"value","selectionChange"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["tree",""],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],["tabindex","2",3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],[1,"fa-icon-small","mr-2"],[3,"ngTemplateOutlet"],[1,"fa-icon-small","mr-2",3,"icon"],[1,"mat-icon-36"],["fxLayout","column","matTreeNodeToggle",""],["fxLayout","row","fxLayoutAlign","start center",1,"mat-nested-tree-node-parent"],["fxFlex","80","fxLayoutAlign","start center"],["class","mr-2",4,"ngIf"],["fxFlex","20","mat-icon-button","","fxLayoutAlign","end center",1,"btn-icon-small"],[1,"mat-nested-tree-node-child"],["matTreeNodeOutlet",""],[1,"mr-2"],[3,"click"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["matTooltipPosition","right",1,"fa-icon-small","mr-2",3,"icon","matTooltip"],["matTooltipPosition","right",1,"mat-icon-36",3,"matTooltip"],["viewBox","0 0 78 78","version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["id","Logo","stroke","none","stroke-width","1","fill","none","fill-rule","evenodd"],["id","Group"],["id","Oval","cx","39","cy","39","r","37.5",1,"boltz-icon"],["d","M36.4583326,43.7755404 L40.53965,35.2316544 L39.4324865,35.2316544 L46.0754873,17.6071752 C46.292579,17.0204094 46.3287609,16.5159331 46.1840331,16.0937464 C46.0393053,15.671561 45.7860319,15.3674444 45.4242131,15.1813966 C45.0623942,14.9953487 44.6535376,14.9524146 44.1976433,15.0525945 C43.7417511,15.1527743 43.3256596,15.4461573 42.9493689,15.9327433 L22.6078557,40.7701025 C22.2026186,41.2710003 22,41.7575877 22,42.2298646 C22,42.6735173 22.1592003,43.0420366 22.477601,43.3354226 C22.7960017,43.6288058 23.1940025,43.7755404 23.6716036,43.7755404 L36.4583326,43.7755404 Z","id","Path",1,"boltz-icon-fill"],["d","M44.4883879,63.7755404 L48.8604707,55.165009 L47.6744296,55.165009 L54.7906978,37.4030526 C55.0232558,36.8117097 55.0620155,36.3032983 54.9069768,35.8778185 C54.7519381,35.4523399 54.4806208,35.1458511 54.0930248,34.958352 C53.7054289,34.7708528 53.2674441,34.7275839 52.7790706,34.8285452 C52.2906992,34.9295065 51.8449641,35.2251779 51.4418653,35.7155595 L29.6511611,60.746659 C29.2170537,61.251464 29,61.7418469 29,62.2178078 C29,62.6649211 29.1705423,63.036315 29.5116268,63.3319895 C29.8527113,63.6276613 30.2790669,63.7755404 30.7906936,63.7755404 L44.4883879,63.7755404 Z","id","Path-Copy","transform","translate(42.000000, 49.275540) rotate(-180.000000) translate(-42.000000, -49.275540) ",1,"boltz-icon-fill"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,ac,3,2,"mat-select",2),t._UZ(3,"mat-divider",3),t.YNc(4,Bd,4,3,"mat-tree",4),t._UZ(5,"mat-divider",3),t.TgZ(6,"mat-tree",5),t.YNc(7,$l,6,4,"mat-tree-node",6),t.qZA()(),t.TgZ(8,"div",7),t.YNc(9,lu,2,2,"mat-tree",4),t.qZA()(),t.YNc(10,Ud,6,0,"ng-template",null,8,t.W1O)),2&G&&(t.xp6(2),t.Q6J("ngIf",Z.appConfig.nodes.length>1),t.xp6(2),t.Q6J("ngIf",null==Z.settings?null:Z.settings.lnServerUrl),t.xp6(2),t.Q6J("dataSource",Z.navMenusShowData)("treeControl",Z.treeControlShowData),t.xp6(3),t.Q6J("ngIf",Z.showLogout))},dependencies:[sn.sg,sn.O5,sn.tP,qr.BN,$i.xw,$i.Wh,$i.yH,pt.RK,wo.Hw,Pa.d,ts.GZ,ts.fQ,ts.eu,ts.gi,ts.uo,ts.Ar,Re.gD,ft.ey,Gs.gM,Xn.rH,Xn.Od,_t.Vv,_t.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]})}return N})();var Z1=p(7988);function oc(N,V){if(1&N&&(t.TgZ(0,"p",14),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&N){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faCode),t.xp6(2),t.hij("API Version: ",null==b.information?null:b.information.api_version,"")}}function x0(N,V){if(1&N&&(t.TgZ(0,"p",15),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",16),t._uU(3,"Settings"),t.qZA()()),2&N){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faUserCog)}}function W1(N,V){if(1&N&&(t.TgZ(0,"p",17),t._UZ(1,"fa-icon",3),t.TgZ(2,"span",18),t._uU(3,"Help"),t.qZA()()),2&N){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faQuestion)}}function C0(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"p",19),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.onClick())}),t._UZ(1,"fa-icon",3),t.TgZ(2,"span"),t._uU(3,"Logout"),t.qZA()()}if(2&N){const b=t.oxw();t.xp6(1),t.Q6J("icon",b.faEject)}}let e1=(()=>{class N{constructor(b,G,Z,He,Pt){this.logger=b,this.sessionService=G,this.store=Z,this.rtlEffects=He,this.actions=Pt,this.faUserCog=nn.gNZ,this.faCodeBranch=nn.mh3,this.faCode=nn.dT$,this.faCog=nn.b7W,this.faQuestion=nn.Psp,this.faEject=nn.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x],this.version=Kt.q4}ngOnInit(){this.store.select(Nr.R4).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{if(this.information=b,this.flgLoading=!this.information.identity_pubkey,this.information.identity_pubkey){if(this.information.chains&&"string"==typeof this.information.chains[0])this.informationChain.chain=this.information.chains[0].toString(),this.informationChain.network=this.information.testnet?"Testnet":"Mainnet";else if(this.information&&this.information.chains&&this.information.chains.length&&this.information.chains.length>0&&"object"==typeof this.information.chains[0]&&this.information.chains[0].hasOwnProperty("chain")){const G=this.information.chains[0];this.informationChain.chain=G.chain,this.informationChain.network=G.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(b)}),this.sessionService.watchSession().pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{this.showLogout=!!b.token,this.flgLoading=!!b.token}),this.actions.pipe((0,qi.R)(this.unSubs[2]),(0,cr.h)(b=>b.type===Kt.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,_e.c1)({payload:{data:{type:Kt.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,qi.R)(this.unSubs[3])).subscribe(b=>{b&&(this.showLogout=!1,this.store.dispatch((0,_e.kS)()))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(null),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(Ls.m),t.Y36(Vi.yh),t.Y36(cn.V),t.Y36(lo.eX))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-top-menu"]],decls:20,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["tabindex","1","mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["tabindex","2","mat-menu-item","","class","cursor-default",4,"ngIf"],["tabindex","3","mat-menu-item","","routerLink","/settings",4,"ngIf"],["tabindex","4","mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","","tabindex","5","fxLayoutAlign","start center",3,"click"],["fill","currentColor","version","1.1","viewBox","0 0 64 64",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink",1,"svg-donation"],["d","M62.519,17.698l-12-14c-0.659-0.768-1.786-0.923-2.628-0.362l-8.712,5.808l-16.688,4.172 c-2.485,0.622-4.537,2.412-5.487,4.791L12.21,30.09C10.206,32.512,9,35.618,9,39c0,2.974,0.939,5.73,2.527,8H5 c-2.206,0-4,1.794-4,4v6c0,2.206,1.794,4,4,4h36c2.206,0,4-1.794,4-4v-6c0-2.206-1.794-4-4-4h-6.522 c0.375-0.535,0.713-1.1,1.013-1.691l4.291-2.452l3.378-0.965c2.619-0.749,4.903-2.269,6.604-4.395 c1.39-1.736,2.317-3.813,2.682-6.006l0.412-2.472l9.48-8.532C63.145,19.76,63.225,18.523,62.519,17.698z M34.428,30.929 c-1.487-2.094-3.517-3.732-5.842-4.75L29.207,25h7.058l0.588,4.11L34.428,30.929z M31.225,33.331l-0.373,0.28 c-1.772,1.329-2.889,3.273-3.146,5.473c-0.257,2.2,0.382,4.348,1.8,6.048l0.667,0.8C28.315,47.845,25.742,49,23,49 c-5.514,0-10-4.486-10-10s4.486-10,10-10C26.299,29,29.376,30.663,31.225,33.331z M41,57H5v-6h10.826c2.101,1.261,4.55,2,7.174,2 c2.571,0,5.041-0.723,7.176-2H41V57z M49.662,26.513c-0.336,0.303-0.561,0.711-0.635,1.158L48.5,30.833 c-0.253,1.521-0.896,2.96-1.86,4.165c-1.18,1.475-2.763,2.529-4.579,3.048l-3.61,1.031c-0.155,0.044-0.303,0.106-0.443,0.187 l-5.541,3.166c-0.63-0.826-0.909-1.843-0.788-2.882c0.128-1.1,0.687-2.072,1.573-2.737l6.001-4.5 c1.169-0.877,1.767-2.32,1.56-3.766l-0.587-4.11C39.946,22.477,38.244,21,36.266,21h-7.059c-1.489,0-2.845,0.818-3.539,2.136 l-1.037,1.969C24.093,25.041,23.549,25,23,25c-1.685,0-3.294,0.314-4.791,0.862l2.509-6.271c0.476-1.189,1.501-2.084,2.743-2.395 l17.024-4.256c0.223-0.056,0.434-0.149,0.625-0.276l7.525-5.017l9.576,11.172L49.662,26.513z"],["tabindex","6","mat-menu-item","",3,"click",4,"ngIf"],["tabindex","7","mat-icon-button","",3,"matMenuTriggerFor"],["alt","RTL Logo","src","assets/images/RTL-Horse-BY.svg",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["tabindex","2","mat-menu-item","",1,"cursor-default"],["tabindex","3","mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["tabindex","4","mat-menu-item","","routerLink","/help"],["routerLink","/help"],["tabindex","6","mat-menu-item","",3,"click"]],template:function(G,Z){if(1&G&&(t.TgZ(0,"mat-menu",0,1)(2,"p",2),t._UZ(3,"fa-icon",3),t.TgZ(4,"span"),t._uU(5),t.qZA()(),t.YNc(6,oc,4,2,"p",4)(7,x0,4,1,"p",5)(8,W1,4,1,"p",6),t.TgZ(9,"p",7),t.NdJ("click",function(){return Z.onDonate()}),t.O4$(),t.TgZ(10,"svg",8)(11,"g"),t._UZ(12,"path",9),t.qZA()(),t.kcU(),t.TgZ(13,"span"),t._uU(14,"Donate"),t.qZA()(),t.YNc(15,C0,4,1,"p",10),t.qZA(),t.TgZ(16,"button",11),t._UZ(17,"img",12),t.TgZ(18,"mat-icon",13),t._uU(19,"arrow_drop_down"),t.qZA()()),2&G){const He=t.MAs(1);t.Q6J("overlapTrigger",!1),t.xp6(3),t.Q6J("icon",Z.faCodeBranch),t.xp6(2),t.hij("Version: ",Z.version,""),t.xp6(1),t.Q6J("ngIf",null==Z.information?null:Z.information.api_version),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("ngIf",Z.showLogout),t.xp6(7),t.Q6J("ngIf",Z.showLogout),t.xp6(1),t.Q6J("matMenuTriggerFor",He)}},dependencies:[sn.O5,qr.BN,$i.Wh,pt.RK,wo.Hw,Z1.VK,Z1.OP,Z1.p6,Xn.rH],styles:[".mat-mdc-icon-button img.rtl-log-top{width:2rem;height:2rem}.mat-icon.material-icons.mat-icon-no-color.rtl-logo-dropdown{height:2rem}\n"],encapsulation:2})}return N})();const cl=["sideNavigation"],w0=["sideNavContent"];function M0(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.sideNavToggle())}),t.TgZ(1,"mat-icon",15),t._uU(2,"menu"),t.qZA()()}if(2&N){const b=t.oxw();t.Q6J("matTooltip",b.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",b.smallScreen)}}function Y1(N,V){1&N&&(t.O4$(),t._UZ(0,"path",20))}function j1(N,V){1&N&&(t.O4$(),t._UZ(0,"path",21))}function sc(N,V){if(1&N){const b=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(b);const Z=t.oxw();return t.KtG(Z.flgSidenavPinned=!Z.flgSidenavPinned)}),t.O4$(),t.TgZ(1,"svg",17),t.YNc(2,Y1,1,0,"path",18)(3,j1,1,0,"path",19),t.qZA()()}if(2&N){const b=t.oxw();t.Q6J("matTooltip",b.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),t.xp6(2),t.Q6J("ngIf",!b.flgSidenavPinned),t.xp6(1),t.Q6J("ngIf",b.flgSidenavPinned)}}function Lc(N,V){if(1&N&&(t.TgZ(0,"span",22),t._uU(1),t.qZA()),2&N){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"RTL - "+b.information.alias:"RTL")}}function t1(N,V){if(1&N&&(t.TgZ(0,"span",23),t._uU(1),t.qZA()),2&N){const b=t.oxw();t.xp6(1),t.Oqu(b.information.alias?"Ride The Lightning - "+b.information.alias:"Ride The Lightning")}}function hu(N,V){1&N&&(t.TgZ(0,"div",24),t._UZ(1,"mat-spinner",25),t.TgZ(2,"h4"),t._uU(3,"Loading RTL..."),t.qZA()())}const Gd=(N,V)=>[N,V];let Zd=(()=>{class N{constructor(b,G,Z,He,Pt,ti,fi,wi,dn){this.logger=b,this.commonService=G,this.store=Z,this.actions=He,this.userIdle=Pt,this.router=ti,this.sessionService=fi,this.breakpointObserver=wi,this.renderer=dn,this.information={},this.flgLoading=[!0],this.flgSideNavOpened=!0,this.flgCopied=!1,this.accessKey="",this.xSmallScreen=!1,this.smallScreen=!1,this.flgSidenavPinned=!0,this.flgLoggedIn=!1,this.unSubs=[new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x,new Yi.x]}ngOnInit(){this.router.events.subscribe(b=>{b instanceof Xn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Hn.u3.XSmall,Hn.u3.TabletPortrait,Hn.u3.Small,Hn.u3.Medium,Hn.u3.Large,Hn.u3.XLarge]).pipe((0,qi.R)(this.unSubs[0])).subscribe(b=>{b.breakpoints[Hn.u3.XSmall]?(this.commonService.setScreenSize(Kt.cu.XS),this.smallScreen=!0):b.breakpoints[Hn.u3.TabletPortrait]?(this.commonService.setScreenSize(Kt.cu.SM),this.smallScreen=!0):b.breakpoints[Hn.u3.Small]||b.breakpoints[Hn.u3.Medium]?(this.commonService.setScreenSize(Kt.cu.MD),this.smallScreen=!1):b.breakpoints[Hn.u3.Large]?(this.commonService.setScreenSize(Kt.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Kt.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,_e.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Nr.dT).pipe((0,qi.R)(this.unSubs[1])).subscribe(b=>{this.settings=b.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(Nr.Yj).pipe((0,qi.R)(this.unSubs[2])).subscribe(b=>{this.appConfig=b}),this.store.select(Nr.R4).pipe((0,qi.R)(this.unSubs[3])).subscribe(b=>{this.information=b,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,qi.R)(this.unSubs[4]),(0,cr.h)(b=>b.type===Kt.pg.SET_RTL_CONFIG||b.type===Kt.pg.LOGIN||b.type===Kt.pg.LOGOUT)).subscribe(b=>{b.type===Kt.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+b.payload.sso.rtlSSO?!this.accessKey||this.accessKey.trim().length<32?this.router.navigate(["./error"],{state:{errorCode:"406",errorMessage:"Access key too short. It should be at least 32 characters long."}}):this.store.dispatch((0,_e.x4)({payload:{password:Si(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),b.type===Kt.pg.LOGIN&&(this.flgLoggedIn=!0,this.userIdle.startWatching(),this.userIdle.resetTimer(),setTimeout(()=>{this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)},1e3)),b.type===Kt.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,qi.R)(this.unSubs[5])).subscribe(b=>{this.logger.info("Counting Down: "+(11-b))}),this.userIdle.onTimeout().pipe((0,qi.R)(this.unSubs[6])).subscribe(()=>{this.logger.info("Time Out!"),this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch((0,_e.ts)()),this.store.dispatch((0,_e.qR)({payload:{data:{type:Kt.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,_e.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const b=window.location.href;return b.includes("access-key=")?b.substring(b.lastIndexOf("access-key=")+11).trim():null}ngAfterViewInit(){(this.smallScreen||!this.flgLoggedIn)&&this.sideNavigation.close(),this.commonService.setContainerSize(this.sideNavContent.elementRef.nativeElement.clientWidth,this.sideNavContent.elementRef.nativeElement.clientHeight)}sideNavToggle(){this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.toggle()}onNavigationClicked(b){this.smallScreen&&this.sideNavigation.close()}copiedText(b){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+b)}ngOnDestroy(){this.unSubs.forEach(b=>{b.next(),b.complete()})}static#e=this.\u0275fac=function(G){return new(G||N)(t.Y36(Tt.mQ),t.Y36(na.v),t.Y36(Vi.yh),t.Y36(lo.eX),t.Y36(Vs),t.Y36(Xn.F0),t.Y36(Ls.m),t.Y36(Hn.Yg),t.Y36(t.Qsj))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["rtl-app"]],viewQuery:function(G,Z){if(1&G&&(t.Gf(cl,5),t.Gf(w0,5)),2&G){let He;t.iGM(He=t.CRH())&&(Z.sideNavigation=He.first),t.iGM(He=t.CRH())&&(Z.sideNavContent=He.first)}},decls:23,vars:15,consts:[["fxLayout","column","id","rtl-container",1,"rtl-container","medium",3,"ngClass"],["fxLayout","row","fxLayoutAlign","space-between center",1,"bg-primary","rtl-top-toolbar"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click",4,"ngIf"],["class","font-weight-500",4,"ngIf"],["class","font-size-120 font-weight-500",4,"ngIf"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["sideNavigation",""],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["sideNavContent",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["outlet","outlet"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click"],["width","20","height","20","viewBox","0 0 24 24",1,"icon-pinned"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z",4,"ngIf"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z",4,"ngIf"],["fill","currentColor","d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["fill","currentColor","d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],[1,"font-weight-500"],[1,"font-size-120","font-weight-500"],[1,"rtl-spinner"],["color","accent"]],template:function(G,Z){1&G&&(t.TgZ(0,"div",0),t.ALo(1,"lowercase"),t.ALo(2,"lowercase"),t.TgZ(3,"mat-toolbar",1)(4,"div"),t.YNc(5,M0,3,2,"button",2)(6,sc,4,3,"button",3),t.qZA(),t.TgZ(7,"div"),t.YNc(8,Lc,2,1,"span",4)(9,t1,2,1,"span",5),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"rtl-top-menu"),t.qZA()(),t.TgZ(12,"mat-sidenav-container")(13,"mat-sidenav",6,7)(15,"rtl-side-navigation",8),t.NdJ("ChildNavClicked",function(Pt){return Z.onNavigationClicked(Pt)}),t.qZA()(),t.TgZ(16,"mat-sidenav-content",9,10)(18,"div",11),t._UZ(19,"router-outlet",null,12),t.qZA()(),t._uU(21,"> "),t.qZA(),t.YNc(22,hu,4,0,"div",13),t.qZA()),2&G&&(t.Q6J("ngClass",t.WLB(12,Gd,t.lcZ(1,8,Z.settings.themeColor),t.lcZ(2,10,Z.settings.themeMode))),t.xp6(5),t.Q6J("ngIf",Z.flgLoggedIn),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen&&Z.flgLoggedIn),t.xp6(2),t.Q6J("ngIf",Z.smallScreen),t.xp6(1),t.Q6J("ngIf",!Z.smallScreen),t.xp6(4),t.Q6J("opened",Z.flgSideNavOpened&&Z.flgLoggedIn)("mode",Z.flgSidenavPinned&&!Z.smallScreen?"side":"over"),t.xp6(9),t.Q6J("ngIf",!Z.settings.themeColor))},dependencies:[sn.mk,sn.O5,$i.xw,$i.Wh,$i.yH,me.oO,pt.RK,wo.Hw,g0.Ou,z1.JX,z1.TM,z1.Rh,Xl.Ye,Gs.gM,_t.$V,du,e1,Xn.lC,sn.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[au.g]}})}return N})(),S0=(()=>{class N{constructor(b){this.sessionService=b}intercept(b,G){if(this.sessionService.getItem("token")){const Z=b.clone({headers:b.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return G.handle(Z)}return G.handle(b)}static#e=this.\u0275fac=function(G){return new(G||N)(t.LFG(Ls.m))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();var uu=p(2285),fu=p(168),mu=p(9125),E0=p(9337);const T0={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},Wd={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},ll={apiURL:"",apisCallStatus:{Login:{status:Kt.Bn.UN_INITIATED},IsAuthorized:{status:Kt.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:T0,authentication:Wd,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:T0,authentication:Wd}]},nodeData:{}},n1=(0,Vi.Lq)(ll,(0,Vi.on)(_e.qi,(N,{payload:V})=>{const b=JSON.parse(JSON.stringify(N.apisCallStatus));return V.action&&(b[V.action]={status:V.status,statusCode:V.statusCode,message:V.message,URL:V.URL,filePath:V.filePath}),{...N,apisCallStatus:b}}),(0,Vi.on)(_e.vI,(N,{payload:V})=>({...ll,apisCallStatus:N.apisCallStatus,appConfig:N.appConfig,selNode:V})),(0,Vi.on)(_e.fk,(N,{payload:V})=>({...N,selNode:V.currentLnNode})),(0,Vi.on)(_e.Tm,(N,{payload:V})=>{const b=JSON.parse(JSON.stringify(N.selNode));switch(V.service){case Kt.JX.BOLTZ:b.settings.boltzServerUrl=V.settings.boltzServerUrl;break;case Kt.JX.LOOP:b.settings.swapServerUrl=V.settings.swapServerUrl;break;case Kt.JX.OFFERS:b.settings.enableOffers=V.settings.enableOffers;break;case Kt.JX.PEERSWAP:b.settings.enablePeerswap=V.settings.enablePeerswap}return{...N,selNode:b}}),(0,Vi.on)(_e._V,(N,{payload:V})=>({...N,nodeData:V})),(0,Vi.on)(_e.XT,(N,{payload:V})=>({...N,appConfig:V}))),K1={apisCallStatus:{FetchPageSettings:{status:Kt.Bn.UN_INITIATED},FetchInfo:{status:Kt.Bn.UN_INITIATED},FetchFees:{status:Kt.Bn.UN_INITIATED},FetchPeers:{status:Kt.Bn.UN_INITIATED},FetchClosedChannels:{status:Kt.Bn.UN_INITIATED},FetchPendingChannels:{status:Kt.Bn.UN_INITIATED},FetchAllChannels:{status:Kt.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Kt.Bn.UN_INITIATED},FetchInvoices:{status:Kt.Bn.UN_INITIATED},FetchPayments:{status:Kt.Bn.UN_INITIATED},FetchForwardingHistory:{status:Kt.Bn.UN_INITIATED},FetchUTXOs:{status:Kt.Bn.UN_INITIATED},FetchTransactions:{status:Kt.Bn.UN_INITIATED},FetchLightningTransactions:{status:Kt.Bn.UN_INITIATED},FetchNetwork:{status:Kt.Bn.UN_INITIATED}},nodeSettings:{userPersona:Kt.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Kt.gK,information:{},peers:[],fees:{channel_fees:[],day_fee_sum:0,week_fee_sum:0,month_fee_sum:0,daily_tx_count:0,weekly_tx_count:0,monthly_tx_count:0,forwarding_events_history:{}},networkInfo:{},blockchainBalance:{total_balance:-1},lightningBalance:{local:-1,remote:-1},channels:[],channelsSummary:{active:{num_channels:0,capacity:0},inactive:{num_channels:0,capacity:0}},closedChannels:[],pendingChannels:{},pendingChannelsSummary:{open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0},transactions:[],utxos:[],listPayments:{payments:[]},listInvoices:{invoices:[]},allLightningTransactions:{listPaymentsAll:{payments:[],first_index_offset:"",last_index_offset:""},listInvoicesAll:{invoices:[],total_invoices:0,last_index_offset:"",first_index_offset:""}},forwardingHistory:{last_offset_index:0,total_fee_msat:0,forwarding_events:[]}};let A0=!1,Yd=!1;const jd=(0,Vi.Lq)(K1,(0,Vi.on)(xr.PC,(N,{payload:V})=>{const b=JSON.parse(JSON.stringify(N.apisCallStatus));return V.action&&(b[V.action]={status:V.status,statusCode:V.statusCode,message:V.message,URL:V.URL,filePath:V.filePath}),{...N,apisCallStatus:b}}),(0,Vi.on)(xr.JT,(N,{payload:V})=>({...N,nodeSettings:V})),(0,Vi.on)(xr.Ll,(N,{payload:V})=>({...K1,nodeSettings:V})),(0,Vi.on)(xr.CX,(N,{payload:V})=>({...N,information:V})),(0,Vi.on)(xr.Z8,(N,{payload:V})=>({...N,peers:V})),(0,Vi.on)(xr.EK,(N,{payload:V})=>{const b=[...N.peers],G=N.peers.findIndex(Z=>Z.pub_key===V.pubkey);return G>-1&&b.splice(G,1),{...N,peers:b}}),(0,Vi.on)(xr.YP,(N,{payload:V})=>{const b=N.listInvoices;return b.invoices?.unshift(V),{...N,listInvoices:b}}),(0,Vi.on)(xr.aL,(N,{payload:V})=>{const b=N.listInvoices;return b.invoices=b.invoices?.map(G=>G.payment_request===V.payment_request?V:G),{...N,listInvoices:b}}),(0,Vi.on)(xr.qY,(N,{payload:V})=>{const b=N.listPayments;return b.payments=b.payments?.map(G=>G.payment_hash===V.payment_hash?V:G),{...N,listPayments:b}}),(0,Vi.on)(xr.RX,(N,{payload:V})=>({...N,fees:V})),(0,Vi.on)(xr._L,(N,{payload:V})=>({...N,closedChannels:V})),(0,Vi.on)(xr.TW,(N,{payload:V})=>({...N,pendingChannels:V.pendingChannels,pendingChannelsSummary:V.pendingChannelsSummary})),(0,Vi.on)(xr.as,(N,{payload:V})=>{let b=0,G=0,Z=0,He=0,Pt=0,ti=0;return V&&V.forEach(fi=>{fi.local_balance||(fi.local_balance=0),!0===fi.active?(Pt+=+fi.local_balance,Z+=1,fi.local_balance?b=+b+ +fi.local_balance:fi.local_balance=0,fi.remote_balance?G=+G+ +fi.remote_balance:fi.remote_balance=0):(ti+=+fi.local_balance,He+=1)}),{...N,channels:V,channelsSummary:{active:{num_channels:Z,capacity:Pt},inactive:{num_channels:He,capacity:ti}},lightningBalance:{local:b,remote:G}}}),(0,Vi.on)(xr.OG,(N,{payload:V})=>{const b=[...N.channels],G=N.channels.findIndex(Z=>Z.channel_point===V.channelPoint);return G>-1&&b.splice(G,1),{...N,channels:b}}),(0,Vi.on)(xr.Jl,(N,{payload:V})=>({...N,blockchainBalance:V})),(0,Vi.on)(xr.ks,(N,{payload:V})=>({...N,networkInfo:V})),(0,Vi.on)(xr.Nr,(N,{payload:V})=>(V.total_invoices||(V.total_invoices=N.listInvoices.total_invoices),{...N,listInvoices:V})),(0,Vi.on)(xr.Lf,(N,{payload:V})=>{if(A0=!0,V.length&&Yd){const b=[...N.utxos];return b.forEach(G=>{const Z=V.find(He=>He.tx_hash===G.outpoint?.txid_str);G.label=Z&&Z.label?Z.label:""}),{...N,utxos:b,transactions:V}}return{...N,transactions:V}}),(0,Vi.on)(xr.UH,(N,{payload:V})=>{if(Yd=!0,V.length&&A0){const b=[...N.transactions];V.forEach(G=>{const Z=b.find(He=>He.tx_hash===G.outpoint?.txid_str);G.label=Z&&Z.label?Z.label:""})}return{...N,utxos:V}}),(0,Vi.on)(xr.HI,(N,{payload:V})=>{const b={listInvoicesAll:N.allLightningTransactions.listInvoicesAll,listPaymentsAll:V};return{...N,listPayments:V,allLightningTransactions:b}}),(0,Vi.on)(xr.Fr,(N,{payload:V})=>{const b={listInvoicesAll:V.listInvoicesAll,listPaymentsAll:N.listPayments};return{...N,allLightningTransactions:b}}),(0,Vi.on)(xr.QJ,(N,{payload:V})=>{const b=[...N.channels,...N.closedChannels];let G=V.forwarding_events?JSON.parse(JSON.stringify(V)):{};return G.forwarding_events&&(G=r1(G,b)),{...N,forwardingHistory:G}}),(0,Vi.on)(xr.pd,(N,{payload:V})=>{const b=[];return Kt.gK.forEach(G=>{const Z=V&&V.length&&V.length>0?V.find(He=>He.pageId===G.pageId):null;if(Z){const He=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],G.tables.forEach(Pt=>{const ti=He.find(fi=>fi.tableId===Pt.tableId)||null;Z.tables.push(ti||JSON.parse(JSON.stringify(Pt)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(G)))}),{...N,pageSettings:b}})),r1=(N,V)=>(N.forwarding_events.forEach(b=>{if(V&&V.length>0)for(let G=0;G{const b=JSON.parse(JSON.stringify(N.apisCallStatus));return V.action&&(b[V.action]={status:V.status,statusCode:V.statusCode,message:V.message,URL:V.URL,filePath:V.filePath}),{...N,apisCallStatus:b}}),(0,Vi.on)(Wn.Mf,(N,{payload:V})=>({...N,nodeSettings:V})),(0,Vi.on)(Wn.mI,(N,{payload:V})=>({...cc,nodeSettings:V})),(0,Vi.on)(Wn.CX,(N,{payload:V})=>({...N,information:V,fees:{feeCollected:V.fees_collected_msat}})),(0,Vi.on)(Wn.I8,(N,{payload:V})=>V.perkb?{...N,feeRatesPerKB:V}:V.perkw?{...N,feeRatesPerKW:V}:{...N}),(0,Vi.on)(Wn.nE,(N,{payload:V})=>({...N,utxos:V.utxos||[],balance:V.balance,localRemoteBalance:V.localRemoteBalance})),(0,Vi.on)(Wn.Z8,(N,{payload:V})=>({...N,peers:V})),(0,Vi.on)(Wn.X3,(N,{payload:V})=>({...N,peers:[...N.peers,V]})),(0,Vi.on)(Wn.EK,(N,{payload:V})=>{const b=[...N.peers],G=N.peers.findIndex(Z=>Z.id===V.id);return G>-1&&b.splice(G,1),{...N,peers:b}}),(0,Vi.on)(Wn.as,(N,{payload:V})=>({...N,activeChannels:V.activeChannels,pendingChannels:V.pendingChannels,inactiveChannels:V.inactiveChannels})),(0,Vi.on)(Wn.OG,(N,{payload:V})=>{const b=[...N.peers];return b.forEach(G=>{G.id===V.id&&(G.connected=!1,delete G.netaddr)}),{...N,peers:b}}),(0,Vi.on)(Wn.HI,(N,{payload:V})=>({...N,payments:V})),(0,Vi.on)(Wn.QJ,(N,{payload:V})=>{const b=[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels],G=L0(V.listForwards,b);switch(V.listForwards=G,V.status){case Kt.OO.SETTLED:const Z=N.fees;return Z.totalTxCount=V.totalForwards||0,{...N,fees:Z,forwardingHistory:V};case Kt.OO.FAILED:return{...N,failedForwardingHistory:V};case Kt.OO.LOCAL_FAILED:return{...N,localFailedForwardingHistory:V};default:return{...N}}}),(0,Vi.on)(Wn.YP,(N,{payload:V})=>{const b=N.invoices;return b.invoices?.unshift(V),{...N,invoices:b}}),(0,Vi.on)(Wn.Nr,(N,{payload:V})=>({...N,invoices:V})),(0,Vi.on)(Wn.aL,(N,{payload:V})=>{const b=N.invoices;return b.invoices=b.invoices?.map(G=>(G.label===V.label&&(G.amount_received_msat=V.msat,G.payment_preimage=V.preimage,G.status="paid"),G)),{...N,invoices:b}}),(0,Vi.on)(Wn.Zu,(N,{payload:V})=>({...N,offers:V})),(0,Vi.on)(Wn.ZH,(N,{payload:V})=>{const b=N.offers;return b?.unshift(V),{...N,offers:b}}),(0,Vi.on)(Wn.JK,(N,{payload:V})=>{const b=[...N.offers],G=N.offers.findIndex(Z=>Z.offer_id===V.offer.offer_id);return G>-1&&b.splice(G,1,V.offer),{...N,offers:b}}),(0,Vi.on)(Wn.d7,(N,{payload:V})=>({...N,offersBookmarks:V})),(0,Vi.on)(Wn.e9,(N,{payload:V})=>{const b=[...N.offersBookmarks],G=b.findIndex(Z=>Z.bolt12===V.bolt12);if(G<0)b?.unshift(V);else{const Z={...b[G]};Z.title=V.title,Z.amountMSat=V.amountMSat,Z.lastUpdatedAt=V.lastUpdatedAt,Z.description=V.description,Z.issuer=V.issuer,b.splice(G,1,Z)}return{...N,offersBookmarks:b}}),(0,Vi.on)(Wn.en,(N,{payload:V})=>{const b=[...N.offersBookmarks],G=N.offersBookmarks.findIndex(Z=>Z.bolt12===V.bolt12);return G>-1&&b.splice(G,1),{...N,offersBookmarks:b}}),(0,Vi.on)(Wn.pd,(N,{payload:V})=>{const b=[];return Kt.gG.forEach(G=>{const Z=V&&V.length&&V.length>0?V.find(He=>He.pageId===G.pageId):null;if(Z){const He=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],G.tables.forEach(Pt=>{const ti=He.find(fi=>fi.tableId===Pt.tableId)||null;Z.tables.push(ti||JSON.parse(JSON.stringify(Pt)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(G)))}),{...N,pageSettings:b}})),L0=(N,V)=>(N&&N.length>0?N.forEach((b,G)=>{if(V&&V.length>0)for(let Z=0;Z{const b=JSON.parse(JSON.stringify(N.apisCallStatus));return V.action&&(b[V.action]={status:V.status,statusCode:V.statusCode,message:V.message,URL:V.URL,filePath:V.filePath}),{...N,apisCallStatus:b}}),(0,Vi.on)(qn.Zr,(N,{payload:V})=>({...N,nodeSettings:V})),(0,Vi.on)(qn.Fd,(N,{payload:V})=>({...k0,nodeSettings:V})),(0,Vi.on)(qn.CX,(N,{payload:V})=>({...N,information:V})),(0,Vi.on)(qn.RX,(N,{payload:V})=>({...N,fees:V})),(0,Vi.on)(qn.eN,(N,{payload:V})=>({...N,activeChannels:V})),(0,Vi.on)(qn.TW,(N,{payload:V})=>({...N,pendingChannels:V})),(0,Vi.on)(qn.i,(N,{payload:V})=>({...N,inactiveChannels:V})),(0,Vi.on)(qn.HG,(N,{payload:V})=>({...N,channelsStatus:V})),(0,Vi.on)(qn.Bw,(N,{payload:V})=>({...N,onchainBalance:V})),(0,Vi.on)(qn.On,(N,{payload:V})=>({...N,lightningBalance:V})),(0,Vi.on)(qn.Z8,(N,{payload:V})=>({...N,peers:V})),(0,Vi.on)(qn.EK,(N,{payload:V})=>{const b=[...N.peers],G=N.peers.findIndex(Z=>Z.nodeId===V.nodeId);return G>-1&&b.splice(G,1),{...N,peers:b}}),(0,Vi.on)(qn.OG,(N,{payload:V})=>{const b=[...N.activeChannels],G=N.activeChannels.findIndex(Z=>Z.channelId===V.channelId);return G>-1&&b.splice(G,1),{...N,activeChannels:b}}),(0,Vi.on)(qn.HI,(N,{payload:V})=>{if(V&&V.sent){const b=[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels];V.sent?.map(G=>{const Z=N.peers.find(He=>He.nodeId===G.recipientNodeId);return G.recipientNodeAlias=Z?Z.alias:G.recipientNodeId,G.parts&&G.parts?.map(He=>{const Pt=b.find(ti=>ti.channelId===He.toChannelId);return He.toChannelAlias=Pt?Pt.alias:He.toChannelId,G.parts}),V.sent})}if(V&&V.relayed){const b=[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels];V.relayed.forEach(G=>{G=dl(G,b)})}return{...N,payments:V}}),(0,Vi.on)(qn.Lf,(N,{payload:V})=>({...N,transactions:V})),(0,Vi.on)(qn.YP,(N,{payload:V})=>{const b=N.invoices;return b?.unshift(V),{...N,invoices:b}}),(0,Vi.on)(qn.Nr,(N,{payload:V})=>({...N,invoices:V})),(0,Vi.on)(qn.aL,(N,{payload:V})=>{let b=N.invoices;return b=b?.map(G=>{if(G.paymentHash===V.paymentHash){if(V.hasOwnProperty("type")){const Z=JSON.parse(JSON.stringify(G));return Z.amountSettled=V.parts&&V.parts.length&&V.parts.length>0&&V.parts[0].amount?(V.parts[0].amount||0)/1e3:0,Z.receivedAt=V.parts&&V.parts.length&&V.parts.length>0&&V.parts[0].timestamp?Math.round((V.parts[0].timestamp||0)/1e3):0,Z.status="received",Z}return V}return G}),{...N,invoices:b}}),(0,Vi.on)(qn.DJ,(N,{payload:V})=>{let b=N.pendingChannels;return b=b?.map(G=>(G.channelId===V.channelId&&G.nodeId===V.remoteNodeId&&(V.currentState=V.currentState?.replace(/_/g," "),G.state=V.currentState),G)),{...N,pendingChannels:b}}),(0,Vi.on)(qn.ti,(N,{payload:V})=>{const b=N.payments,G=dl(V,[...N.activeChannels,...N.pendingChannels,...N.inactiveChannels]);b.relayed?.unshift(G);const Z=(V.amountIn||0)-(V.amountOut||0),He={localBalance:N.lightningBalance.localBalance+Z,remoteBalance:N.lightningBalance.remoteBalance-Z},Pt=N.channelsStatus;Pt.active&&(Pt.active.capacity=(N.channelsStatus?.active?.capacity||0)+Z);const ti={daily_fee:(N.fees.daily_fee||0)+Z,daily_txs:(N.fees.daily_txs||0)+1,weekly_fee:(N.fees.weekly_fee||0)+Z,weekly_txs:(N.fees.weekly_txs||0)+1,monthly_fee:(N.fees.monthly_fee||0)+Z,monthly_txs:(N.fees.monthly_txs||0)+1},fi=N.activeChannels;let wi=!1,dn=!1;for(const Qi of fi){if(Qi.channelId===V.fromChannelId){wi=!0;const zn=(Qi.toLocal||0)+(Qi.toRemote||0);Qi.toLocal=(Qi.toLocal||0)+G.amountIn,Qi.toRemote=(Qi.toRemote||0)-G.amountIn,Qi.balancedness=0===zn?1:+(1-Math.abs((Qi.toLocal-Qi.toRemote)/zn)).toFixed(3)}if(Qi.channelId===V.toChannelId){dn=!0;const zn=(Qi.toLocal||0)+(Qi.toRemote||0);Qi.toLocal=(Qi.toLocal||0)-G.amountOut,Qi.toRemote=(Qi.toRemote||0)+G.amountOut,Qi.balancedness=0===zn?1:+(1-Math.abs((Qi.toLocal-Qi.toRemote)/zn)).toFixed(3)}if(dn&&wi)break}return{...N,payments:b,lightningBalance:He,channelStatus:Pt,fees:ti,activeChannels:fi}}),(0,Vi.on)(qn.pd,(N,{payload:V})=>{const b=[];return Kt.c3.forEach(G=>{const Z=V&&V.length&&V.length>0?V.find(He=>He.pageId===G.pageId):null;if(Z){const He=JSON.parse(JSON.stringify(Z.tables));Z.tables=[],G.tables.forEach(Pt=>{const ti=He.find(fi=>fi.tableId===Pt.tableId)||null;Z.tables.push(ti||JSON.parse(JSON.stringify(Pt)))}),b.push(Z)}else b.push(JSON.parse(JSON.stringify(G)))}),{...N,pageSettings:b}})),dl=(N,V)=>{if("payment-relayed"===N.type)if(V&&V.length>0)for(let b=0;b0)for(let Z=0;Z{V[Z].channelId?.toString()===He.channelId&&(He.channelAlias=V[Z].alias?V[Z].alias:He.channelId,He.shortChannelId=V[Z].shortChannelId?V[Z].shortChannelId:"")}),N.outgoing?.forEach(He=>{V[Z].channelId?.toString()===He.channelId&&(He.channelAlias=V[Z].alias?V[Z].alias:He.channelId,He.shortChannelId=V[Z].shortChannelId?V[Z].shortChannelId:"")}),Z===V.length-1&&(N.incoming&&N.incoming.length&&N.incoming.length>0&&!N.incoming[0].channelAlias&&N.incoming?.forEach(He=>{He.channelAlias=He.channelId?.substring(0,17)+"...",He.shortChannelId=""}),N.outgoing&&N.outgoing.length&&N.outgoing.length>0&&!N.outgoing[0].channelAlias&&N.outgoing?.forEach(He=>{He.channelAlias=He.channelId?.substring(0,17)+"...",He.shortChannelId=""}));else N.incoming?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}),N.outgoing?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""});const b=N.incoming?.reduce((Z,He)=>Z+He.amount,0)||0;N.amountIn=Math.round(b/1e3),N.fromChannelId=N.incoming&&N.incoming.length?N.incoming[0].channelId:"",N.fromChannelAlias=N.incoming&&N.incoming.length?N.incoming[0].channelAlias:"",N.fromShortChannelId=N.incoming&&N.incoming.length?N.incoming[0].shortChannelId:"";const G=N.outgoing?.reduce((Z,He)=>Z+He.amount,0)||0;N.amountOut=Math.round(G/1e3),N.toChannelId=N.outgoing&&N.outgoing.length?N.outgoing[0].channelId:"",N.toChannelAlias=N.outgoing&&N.outgoing.length?N.outgoing[0].channelAlias:"",N.toShortChannelId=N.outgoing&&N.outgoing.length?N.outgoing[0].shortChannelId:""}return N};let I0=!1;(0,t.X6Q)()&&(I0=!0);let O0=(()=>{class N{static#e=this.\u0275fac=function(G){return new(G||N)};static#t=this.\u0275mod=t.oAB({type:N,bootstrap:[Zd]});static#i=this.\u0275inj=t.cJS({providers:[Bo({idle:Kt.k_-10,timeout:10,ping:12e3}),{provide:yo.TP,useClass:S0,multi:!0},Ls.m,Rd.D,uu.d,C1.W,na.v,Os],imports:[zi,F1.m,al,Hn.xu,e.t6,Vi.Aw.forRoot({root:n1,lnd:jd,cln:D0,ecl:Qf},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),lo.sQ.forRoot([cn.V,fu.l,mu.J,E0.o]),I0?An.FT.instrument({connectInZone:!0}):[]]})}return N})();e.q6().bootstrapModule(O0).catch(N=>console.error(N))},9599:(Fe,q)=>{"use strict";function p(fe){return Object.keys(fe).map(de=>fe[de])}var fe;Object.defineProperty(q,"__esModule",{value:!0}),(fe=q.HashAlgorithms||(q.HashAlgorithms={})).SHA1="sha1",fe.SHA256="sha256",fe.SHA512="sha512";const e=p(q.HashAlgorithms);!function(fe){fe.ASCII="ascii",fe.BASE64="base64",fe.HEX="hex",fe.LATIN1="latin1",fe.UTF8="utf8"}(q.KeyEncodings||(q.KeyEncodings={}));const t=p(q.KeyEncodings);!function(fe){fe.HOTP="hotp",fe.TOTP="totp"}(q.Strategy||(q.Strategy={}));const y=p(q.Strategy),A=()=>{throw new Error("Please provide an options.createDigest implementation.")};function l(fe){return/^(\d+)$/.test(fe)}function w(fe,de,xe){return fe.length>=de?fe:`${Array(de+1).join(xe)}${fe}`.slice(-1*de)}function m(fe){const de=`otpauth://${fe.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,xe=[];if(y.indexOf(fe.type)<0)throw new Error(`Expecting options.type to be one of ${y.join(", ")}. Received ${fe.type}.`);if("hotp"===fe.type){if(null==fe.counter||"number"!=typeof fe.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');xe.push(`&counter=${fe.counter}`)}return"totp"===fe.type&&fe.step&&xe.push(`&period=${fe.step}`),fe.digits&&xe.push(`&digits=${fe.digits}`),fe.algorithm&&xe.push(`&algorithm=${fe.algorithm.toUpperCase()}`),fe.issuer&&xe.push(`&issuer=${encodeURIComponent(fe.issuer)}`),de.replace("{labelPrefix}",encodeURIComponent(fe.issuer||fe.accountName)).replace("{accountName}",encodeURIComponent(fe.accountName)).replace("{secret}",fe.secret).replace("{query}",xe.join(""))}class P{constructor(de={}){this._defaultOptions=Object.freeze({...de}),this._options=Object.freeze({})}create(de={}){return new P(de)}clone(de={}){const xe=this.create({...this._defaultOptions,...de});return xe.options=this._options,xe}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(de){this._options=Object.freeze({...this._options,...de})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(fe){if("function"!=typeof fe.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof fe.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof fe.digits)throw new Error("Expecting options.digits to be a number.");if(!fe.algorithm||e.indexOf(fe.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${e.join(", ")}. Received ${fe.algorithm}.`);if(!fe.encoding||t.indexOf(fe.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${fe.encoding}.`)}const E=(fe,de,xe)=>Buffer.from(de,xe).toString("hex");function M(){return{algorithm:q.HashAlgorithms.SHA1,createHmacKey:E,createDigest:A,digits:6,encoding:q.KeyEncodings.ASCII}}function I(fe){const de={...M(),...fe};return d(de),Object.freeze(de)}function k(fe){return w(fe.toString(16),16,"0")}function z(fe,de){const xe=Buffer.from(fe,"hex"),le=15&xe[xe.length-1],qe=((127&xe[le])<<24|(255&xe[le+1])<<16|(255&xe[le+2])<<8|255&xe[le+3])%Math.pow(10,de);return w(String(qe),de,"0")}function W(fe,de,xe){const le=xe.digest||function B(fe,de,xe){const le=k(de),pe=xe.createHmacKey(xe.algorithm,fe,xe.encoding);return xe.createDigest(xe.algorithm,pe,le)}(fe,de,xe);return z(le,xe.digits)}function j(fe,de,xe,le){return!!l(fe)&&fe===W(de,xe,le)}function K(fe,de,xe,le,pe){return m({algorithm:pe.algorithm,digits:pe.digits,type:q.Strategy.HOTP,accountName:fe,counter:le,issuer:de,secret:xe})}class X extends P{create(de={}){return new X(de)}allOptions(){return I(this.options)}generate(de,xe){return W(de,xe,this.allOptions())}check(de,xe,le){return j(de,xe,le,this.allOptions())}verify(de){if("object"!=typeof de)throw new Error("Expecting argument 0 of verify to be an object");return this.check(de.token,de.secret,de.counter)}keyuri(de,xe,le,pe){return K(de,xe,le,pe,this.allOptions())}}function ie(fe){if("number"==typeof fe)return[Math.abs(fe),Math.abs(fe)];if(Array.isArray(fe)){const[de,xe]=fe;if("number"==typeof de&&"number"==typeof xe)return[Math.abs(de),Math.abs(xe)]}throw new Error("Expecting options.window to be an number or [number, number].")}function se(fe){if(d(fe),ie(fe.window),"number"!=typeof fe.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof fe.step)throw new Error("Expecting options.step to be a number.")}const ue=(fe,de,xe)=>{const le=fe.length,pe=Buffer.from(fe,de).toString("hex");if(le{switch(fe){case q.HashAlgorithms.SHA1:return ue(de,xe,20);case q.HashAlgorithms.SHA256:return ue(de,xe,32);case q.HashAlgorithms.SHA512:return ue(de,xe,64);default:throw new Error(`Expecting algorithm to be one of ${e.join(", ")}. Received ${fe}.`)}};function Me(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:ae,digits:6,encoding:q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function J(fe){const de={...Me(),...fe};return se(de),Object.freeze(de)}function he(fe,de){return Math.floor(fe/de/1e3)}function S(fe,de){return W(fe,he(de.epoch,de.step),de)}function n(fe,de,xe,le){const pe=[];if(0===le)return pe;for(let qe=1;qe<=le;qe++)pe.push(fe+de*qe*xe);return pe}function s(fe,de,xe){const le=ie(xe),pe=1e3*de;return{current:fe,past:n(fe,-1,pe,le[0]),future:n(fe,1,pe,le[1])}}function f(fe,de,xe){return!!l(fe)&&fe===S(de,xe)}function h(fe,de,xe,le){let pe=null;return fe.some((qe,re)=>!!f(de,xe,{...le,epoch:qe})&&(pe=re+1,!0)),pe}function C(fe,de,xe){if(f(fe,de,xe))return 0;const le=s(xe.epoch,xe.step,xe.window),pe=h(le.past,fe,de,xe);return null!==pe?-1*pe:h(le.future,fe,de,xe)}function D(fe,de){return Math.floor(fe/1e3)%de}function O(fe,de){return de-D(fe,de)}function v(fe,de,xe,le){return m({algorithm:le.algorithm,digits:le.digits,step:le.step,type:q.Strategy.TOTP,accountName:fe,issuer:de,secret:xe})}class r extends X{create(de={}){return new r(de)}allOptions(){return J(this.options)}generate(de){return S(de,this.allOptions())}checkDelta(de,xe){return C(de,xe,this.allOptions())}check(de,xe){return"number"==typeof this.checkDelta(de,xe)}verify(de){if("object"!=typeof de)throw new Error("Expecting argument 0 of verify to be an object");return this.check(de.token,de.secret)}timeRemaining(){const de=this.allOptions();return O(de.epoch,de.step)}timeUsed(){const de=this.allOptions();return D(de.epoch,de.step)}keyuri(de,xe,le){return v(de,xe,le,this.allOptions())}}function g(fe){if(se(fe),"function"!=typeof fe.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(fe.keyEncoder&&"function"!=typeof fe.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function H(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:ae,digits:6,encoding:q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function R(fe){const de={...H(),...fe};return g(de),Object.freeze(de)}function ee(fe,de){return de.keyEncoder(fe,de.encoding)}function De(fe,de){return de.keyDecoder(fe,de.encoding)}function ct(fe,de){return ee(de.createRandomBytes(fe,de.encoding),de)}function Ke(fe,de){return S(De(fe,de),de)}function Je(fe,de,xe){return C(fe,De(de,xe),xe)}class ye extends r{create(de={}){return new ye(de)}allOptions(){return R(this.options)}generate(de){return Ke(de,this.allOptions())}checkDelta(de,xe){return Je(de,xe,this.allOptions())}encode(de){return ee(de,this.allOptions())}decode(de){return De(de,this.allOptions())}generateSecret(de=10){return ct(de,this.allOptions())}}q.Authenticator=ye,q.HASH_ALGORITHMS=e,q.HOTP=X,q.KEY_ENCODINGS=t,q.OTP=P,q.STRATEGY=y,q.TOTP=r,q.authenticatorCheckWithWindow=Je,q.authenticatorDecoder=De,q.authenticatorDefaultOptions=H,q.authenticatorEncoder=ee,q.authenticatorGenerateSecret=ct,q.authenticatorOptionValidator=g,q.authenticatorOptions=R,q.authenticatorToken=Ke,q.createDigestPlaceholder=A,q.hotpCheck=j,q.hotpCounter=k,q.hotpCreateHmacKey=E,q.hotpDefaultOptions=M,q.hotpDigestToToken=z,q.hotpKeyuri=K,q.hotpOptions=I,q.hotpOptionsValidator=d,q.hotpToken=W,q.isTokenValid=l,q.keyuri=m,q.objectValues=p,q.padStart=w,q.totpCheck=f,q.totpCheckByEpoch=h,q.totpCheckWithWindow=C,q.totpCounter=he,q.totpCreateHmacKey=ae,q.totpDefaultOptions=Me,q.totpEpochAvailable=s,q.totpKeyuri=v,q.totpOptions=J,q.totpOptionsValidator=se,q.totpPadSecret=ue,q.totpTimeRemaining=O,q.totpTimeUsed=D,q.totpToken=S},1239:(Fe,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(7903));q.createDigest=(l,w,m)=>t.createHmac(l,Buffer.from(w,"hex")).update(Buffer.from(m,"hex")).digest().toString("hex"),q.createRandomBytes=(l,w)=>t.randomBytes(l).toString(w)},3637:(Fe,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=function e(l){return l&&"object"==typeof l&&"default"in l?l.default:l}(p(5852));q.keyDecoder=(l,w)=>t.decode(l).toString(w),q.keyEncoder=(l,w)=>t.encode(Buffer.from(l,w).toString("ascii")).toString().replace(/=/g,"")},6981:(Fe,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=p(1239),t=p(3637),y=p(9599);const A=new y.HOTP({createDigest:e.createDigest}),l=new y.TOTP({createDigest:e.createDigest}),w=new y.Authenticator({createDigest:e.createDigest,createRandomBytes:e.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});q.authenticator=w,q.hotp=A,q.totp=l},7414:(Fe,q,p)=>{"use strict";const e=q;e.bignum=p(5047),e.define=p(302).define,e.base=p(510),e.constants=p(4155),e.decoders=p(1301),e.encoders=p(3693)},302:(Fe,q,p)=>{"use strict";const e=p(3693),t=p(1301),y=p(6698);function l(w,m){this.name=w,this.body=m,this.decoders={},this.encoders={}}q.define=function(m,P){return new l(m,P)},l.prototype._createNamed=function(m){const P=this.name;function d(E){this._initNamed(E,P)}return y(d,m),d.prototype._initNamed=function(M,I){m.call(this,M,I)},new d(this)},l.prototype._getDecoder=function(m){return this.decoders.hasOwnProperty(m=m||"der")||(this.decoders[m]=this._createNamed(t[m])),this.decoders[m]},l.prototype.decode=function(m,P,d){return this._getDecoder(P).decode(m,d)},l.prototype._getEncoder=function(m){return this.encoders.hasOwnProperty(m=m||"der")||(this.encoders[m]=this._createNamed(e[m])),this.encoders[m]},l.prototype.encode=function(m,P,d){return this._getEncoder(P).encode(m,d)}},5720:(Fe,q,p)=>{"use strict";const e=p(6698),t=p(5684).b,y=p(4179).Buffer;function A(w,m){t.call(this,m),y.isBuffer(w)?(this.base=w,this.offset=0,this.length=w.length):this.error("Input not Buffer")}function l(w,m){if(Array.isArray(w))this.length=0,this.value=w.map(function(P){return l.isEncoderBuffer(P)||(P=new l(P,m)),this.length+=P.length,P},this);else if("number"==typeof w){if(!(0<=w&&w<=255))return m.error("non-byte EncoderBuffer value");this.value=w,this.length=1}else if("string"==typeof w)this.value=w,this.length=y.byteLength(w);else{if(!y.isBuffer(w))return m.error("Unsupported type: "+typeof w);this.value=w,this.length=w.length}}e(A,t),q.C=A,A.isDecoderBuffer=function(m){return m instanceof A||"object"==typeof m&&y.isBuffer(m.base)&&"DecoderBuffer"===m.constructor.name&&"number"==typeof m.offset&&"number"==typeof m.length&&"function"==typeof m.save&&"function"==typeof m.restore&&"function"==typeof m.isEmpty&&"function"==typeof m.readUInt8&&"function"==typeof m.skip&&"function"==typeof m.raw},A.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},A.prototype.restore=function(m){const P=new A(this.base);return P.offset=m.offset,P.length=this.offset,this.offset=m.offset,t.prototype.restore.call(this,m.reporter),P},A.prototype.isEmpty=function(){return this.offset===this.length},A.prototype.readUInt8=function(m){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(m||"DecoderBuffer overrun")},A.prototype.skip=function(m,P){if(!(this.offset+m<=this.length))return this.error(P||"DecoderBuffer overrun");const d=new A(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+m,this.offset+=m,d},A.prototype.raw=function(m){return this.base.slice(m?m.offset:this.offset,this.length)},q.R=l,l.isEncoderBuffer=function(m){return m instanceof l||"object"==typeof m&&"EncoderBuffer"===m.constructor.name&&"number"==typeof m.length&&"function"==typeof m.join},l.prototype.join=function(m,P){return m||(m=y.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(m,P),P+=d.length}):("number"==typeof this.value?m[P]=this.value:"string"==typeof this.value?m.write(this.value,P):y.isBuffer(this.value)&&this.value.copy(m,P),P+=this.length)),m}},510:(Fe,q,p)=>{"use strict";const e=q;e.Reporter=p(5684).b,e.DecoderBuffer=p(5720).C,e.EncoderBuffer=p(5720).R,e.Node=p(8533)},8533:(Fe,q,p)=>{"use strict";const e=p(5684).b,t=p(5720).R,y=p(5720).C,A=p(7798),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],w=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l);function P(E,M,I){const k={};this._baseState=k,k.name=I,k.enc=E,k.parent=M||null,k.children=null,k.tag=null,k.args=null,k.reverseArgs=null,k.choice=null,k.optional=!1,k.any=!1,k.obj=!1,k.use=null,k.useDecoder=null,k.key=null,k.default=null,k.explicit=null,k.implicit=null,k.contains=null,k.parent||(k.children=[],this._wrap())}Fe.exports=P;const d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){const M=this._baseState,I={};d.forEach(function(z){I[z]=M[z]});const k=new this.constructor(I.parent);return k._baseState=I,k},P.prototype._wrap=function(){const M=this._baseState;w.forEach(function(I){this[I]=function(){const z=new this.constructor(this);return M.children.push(z),z[I].apply(z,arguments)}},this)},P.prototype._init=function(M){const I=this._baseState;A(null===I.parent),M.call(this),I.children=I.children.filter(function(k){return k._baseState.parent===this},this),A.equal(I.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(M){const I=this._baseState,k=M.filter(function(z){return z instanceof this.constructor},this);M=M.filter(function(z){return!(z instanceof this.constructor)},this),0!==k.length&&(A(null===I.children),I.children=k,k.forEach(function(z){z._baseState.parent=this},this)),0!==M.length&&(A(null===I.args),I.args=M,I.reverseArgs=M.map(function(z){if("object"!=typeof z||z.constructor!==Object)return z;const B={};return Object.keys(z).forEach(function(W){W==(0|W)&&(W|=0),B[z[W]]=W}),B}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(E){P.prototype[E]=function(){throw new Error(E+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(E){P.prototype[E]=function(){const I=this._baseState,k=Array.prototype.slice.call(arguments);return A(null===I.tag),I.tag=E,this._useArgs(k),this}}),P.prototype.use=function(M){A(M);const I=this._baseState;return A(null===I.use),I.use=M,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(M){const I=this._baseState;return A(null===I.default),I.default=M,I.optional=!0,this},P.prototype.explicit=function(M){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.explicit=M,this},P.prototype.implicit=function(M){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.implicit=M,this},P.prototype.obj=function(){const M=this._baseState,I=Array.prototype.slice.call(arguments);return M.obj=!0,0!==I.length&&this._useArgs(I),this},P.prototype.key=function(M){const I=this._baseState;return A(null===I.key),I.key=M,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(M){const I=this._baseState;return A(null===I.choice),I.choice=M,this._useArgs(Object.keys(M).map(function(k){return M[k]})),this},P.prototype.contains=function(M){const I=this._baseState;return A(null===I.use),I.contains=M,this},P.prototype._decode=function(M,I){const k=this._baseState;if(null===k.parent)return M.wrapResult(k.children[0]._decode(M,I));let j,z=k.default,B=!0,W=null;if(null!==k.key&&(W=M.enterKey(k.key)),k.optional){let K=null;if(null!==k.explicit?K=k.explicit:null!==k.implicit?K=k.implicit:null!==k.tag&&(K=k.tag),null!==K||k.any){if(B=this._peekTag(M,K,k.any),M.isError(B))return B}else{const X=M.save();try{null===k.choice?this._decodeGeneric(k.tag,M,I):this._decodeChoice(M,I),B=!0}catch{B=!1}M.restore(X)}}if(k.obj&&B&&(j=M.enterObject()),B){if(null!==k.explicit){const X=this._decodeTag(M,k.explicit);if(M.isError(X))return X;M=X}const K=M.offset;if(null===k.use&&null===k.choice){let X;k.any&&(X=M.save());const ie=this._decodeTag(M,null!==k.implicit?k.implicit:k.tag,k.any);if(M.isError(ie))return ie;k.any?z=M.raw(X):M=ie}if(I&&I.track&&null!==k.tag&&I.track(M.path(),K,M.length,"tagged"),I&&I.track&&null!==k.tag&&I.track(M.path(),M.offset,M.length,"content"),k.any||(z=null===k.choice?this._decodeGeneric(k.tag,M,I):this._decodeChoice(M,I)),M.isError(z))return z;if(!k.any&&null===k.choice&&null!==k.children&&k.children.forEach(function(ie){ie._decode(M,I)}),k.contains&&("octstr"===k.tag||"bitstr"===k.tag)){const X=new y(z);z=this._getUse(k.contains,M._reporterState.obj)._decode(X,I)}}return k.obj&&B&&(z=M.leaveObject(j)),null===k.key||null===z&&!0!==B?null!==W&&M.exitKey(W):M.leaveKey(W,k.key,z),z},P.prototype._decodeGeneric=function(M,I,k){const z=this._baseState;return"seq"===M||"set"===M?null:"seqof"===M||"setof"===M?this._decodeList(I,M,z.args[0],k):/str$/.test(M)?this._decodeStr(I,M,k):"objid"===M&&z.args?this._decodeObjid(I,z.args[0],z.args[1],k):"objid"===M?this._decodeObjid(I,null,null,k):"gentime"===M||"utctime"===M?this._decodeTime(I,M,k):"null_"===M?this._decodeNull(I,k):"bool"===M?this._decodeBool(I,k):"objDesc"===M?this._decodeStr(I,M,k):"int"===M||"enum"===M?this._decodeInt(I,z.args&&z.args[0],k):null!==z.use?this._getUse(z.use,I._reporterState.obj)._decode(I,k):I.error("unknown tag: "+M)},P.prototype._getUse=function(M,I){const k=this._baseState;return k.useDecoder=this._use(M,I),A(null===k.useDecoder._baseState.parent),k.useDecoder=k.useDecoder._baseState.children[0],k.implicit!==k.useDecoder._baseState.implicit&&(k.useDecoder=k.useDecoder.clone(),k.useDecoder._baseState.implicit=k.implicit),k.useDecoder},P.prototype._decodeChoice=function(M,I){const k=this._baseState;let z=null,B=!1;return Object.keys(k.choice).some(function(W){const j=M.save(),K=k.choice[W];try{const X=K._decode(M,I);if(M.isError(X))return!1;z={type:W,value:X},B=!0}catch{return M.restore(j),!1}return!0},this),B?z:M.error("Choice not matched")},P.prototype._createEncoderBuffer=function(M){return new t(M,this.reporter)},P.prototype._encode=function(M,I,k){const z=this._baseState;if(null!==z.default&&z.default===M)return;const B=this._encodeValue(M,I,k);return void 0===B||this._skipDefault(B,I,k)?void 0:B},P.prototype._encodeValue=function(M,I,k){const z=this._baseState;if(null===z.parent)return z.children[0]._encode(M,I||new e);let B=null;if(this.reporter=I,z.optional&&void 0===M){if(null===z.default)return;M=z.default}let W=null,j=!1;if(z.any)B=this._createEncoderBuffer(M);else if(z.choice)B=this._encodeChoice(M,I);else if(z.contains)W=this._getUse(z.contains,k)._encode(M,I),j=!0;else if(z.children)W=z.children.map(function(K){if("null_"===K._baseState.tag)return K._encode(null,I,M);if(null===K._baseState.key)return I.error("Child should have a key");const X=I.enterKey(K._baseState.key);if("object"!=typeof M)return I.error("Child expected, but input is not object");const ie=K._encode(M[K._baseState.key],I,M);return I.leaveKey(X),ie},this).filter(function(K){return K}),W=this._createEncoderBuffer(W);else if("seqof"===z.tag||"setof"===z.tag){if(!z.args||1!==z.args.length)return I.error("Too many args for : "+z.tag);if(!Array.isArray(M))return I.error("seqof/setof, but data is not Array");const K=this.clone();K._baseState.implicit=null,W=this._createEncoderBuffer(M.map(function(X){return this._getUse(this._baseState.args[0],M)._encode(X,I)},K))}else null!==z.use?B=this._getUse(z.use,k)._encode(M,I):(W=this._encodePrimitive(z.tag,M),j=!0);if(!z.any&&null===z.choice){const K=null!==z.implicit?z.implicit:z.tag,X=null===z.implicit?"universal":"context";null===K?null===z.use&&I.error("Tag could be omitted only for .use()"):null===z.use&&(B=this._encodeComposite(K,j,X,W))}return null!==z.explicit&&(B=this._encodeComposite(z.explicit,!1,"context",B)),B},P.prototype._encodeChoice=function(M,I){const k=this._baseState,z=k.choice[M.type];return z||A(!1,M.type+" not found in "+JSON.stringify(Object.keys(k.choice))),z._encode(M.value,I)},P.prototype._encodePrimitive=function(M,I){const k=this._baseState;if(/str$/.test(M))return this._encodeStr(I,M);if("objid"===M&&k.args)return this._encodeObjid(I,k.reverseArgs[0],k.args[1]);if("objid"===M)return this._encodeObjid(I,null,null);if("gentime"===M||"utctime"===M)return this._encodeTime(I,M);if("null_"===M)return this._encodeNull();if("int"===M||"enum"===M)return this._encodeInt(I,k.args&&k.reverseArgs[0]);if("bool"===M)return this._encodeBool(I);if("objDesc"===M)return this._encodeStr(I,M);throw new Error("Unsupported tag: "+M)},P.prototype._isNumstr=function(M){return/^[0-9 ]*$/.test(M)},P.prototype._isPrintstr=function(M){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(M)}},5684:(Fe,q,p)=>{"use strict";const e=p(6698);function t(A){this._reporterState={obj:null,path:[],options:A||{},errors:[]}}function y(A,l){this.path=A,this.rethrow(l)}q.b=t,t.prototype.isError=function(l){return l instanceof y},t.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},t.prototype.restore=function(l){const w=this._reporterState;w.obj=l.obj,w.path=w.path.slice(0,l.pathLen)},t.prototype.enterKey=function(l){return this._reporterState.path.push(l)},t.prototype.exitKey=function(l){const w=this._reporterState;w.path=w.path.slice(0,l-1)},t.prototype.leaveKey=function(l,w,m){const P=this._reporterState;this.exitKey(l),null!==P.obj&&(P.obj[w]=m)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){const l=this._reporterState,w=l.obj;return l.obj={},w},t.prototype.leaveObject=function(l){const w=this._reporterState,m=w.obj;return w.obj=l,m},t.prototype.error=function(l){let w;const m=this._reporterState,P=l instanceof y;if(w=P?l:new y(m.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),l.message||l,l.stack),!m.options.partial)throw w;return P||m.errors.push(w),w},t.prototype.wrapResult=function(l){const w=this._reporterState;return w.options.partial?{result:this.isError(l)?null:l,errors:w.errors}:l},e(y,Error),y.prototype.rethrow=function(l){if(this.message=l+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,y),!this.stack)try{throw new Error(this.message)}catch(w){this.stack=w.stack}return this}},5086:(Fe,q)=>{"use strict";function p(e){const t={};return Object.keys(e).forEach(function(y){(0|y)==y&&(y|=0),t[e[y]]=y}),t}q.tagClass={0:"universal",1:"application",2:"context",3:"private"},q.tagClassByName=p(q.tagClass),q.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},q.tagByName=p(q.tag)},4155:(Fe,q,p)=>{"use strict";const e=q;e._reverse=function(y){const A={};return Object.keys(y).forEach(function(l){(0|l)==l&&(l|=0),A[y[l]]=l}),A},e.der=p(5086)},6835:(Fe,q,p)=>{"use strict";const e=p(6698),t=p(5047),y=p(5720).C,A=p(8533),l=p(5086);function w(E){this.enc="der",this.name=E.name,this.entity=E,this.tree=new m,this.tree._init(E.body)}function m(E){A.call(this,"der",E)}function P(E,M){let I=E.readUInt8(M);if(E.isError(I))return I;const k=l.tagClass[I>>6],z=0==(32&I);if(31==(31&I)){let W=I;for(I=0;128==(128&W);){if(W=E.readUInt8(M),E.isError(W))return W;I<<=7,I|=127&W}}else I&=31;return{cls:k,primitive:z,tag:I,tagStr:l.tag[I]}}function d(E,M,I){let k=E.readUInt8(I);if(E.isError(k))return k;if(!M&&128===k)return null;if(!(128&k))return k;const z=127&k;if(z>4)return E.error("length octect is too long");k=0;for(let B=0;B{"use strict";const e=q;e.der=p(6835),e.pem=p(2208)},2208:(Fe,q,p)=>{"use strict";const e=p(6698),t=p(4179).Buffer,y=p(6835);function A(l){y.call(this,l),this.enc="pem"}e(A,y),Fe.exports=A,A.prototype.decode=function(w,m){const P=w.toString().split(/[\r\n]+/g),d=m.label.toUpperCase(),E=/^-----(BEGIN|END) ([^-]+)-----$/;let M=-1,I=-1;for(let B=0;B{"use strict";const e=p(6698),t=p(4179).Buffer,y=p(8533),A=p(5086);function l(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new w,this.tree._init(d.body)}function w(d){y.call(this,"der",d)}function m(d){return d<10?"0"+d:d}Fe.exports=l,l.prototype.encode=function(E,M){return this.tree._encode(E,M).join()},e(w,y),w.prototype._encodeComposite=function(E,M,I,k){const z=function P(d,E,M,I){let k;if("seqof"===d?d="seq":"setof"===d&&(d="set"),A.tagByName.hasOwnProperty(d))k=A.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return I.error("Unknown tag: "+d);k=d}return k>=31?I.error("Multi-octet tag encoding unsupported"):(E||(k|=32),k|=A.tagClassByName[M||"universal"]<<6,k)}(E,M,I,this.reporter);if(k.length<128){const j=t.alloc(2);return j[0]=z,j[1]=k.length,this._createEncoderBuffer([j,k])}let B=1;for(let j=k.length;j>=256;j>>=8)B++;const W=t.alloc(2+B);W[0]=z,W[1]=128|B;for(let j=1+B,K=k.length;K>0;j--,K>>=8)W[j]=255&K;return this._createEncoderBuffer([W,k])},w.prototype._encodeStr=function(E,M){if("bitstr"===M)return this._createEncoderBuffer([0|E.unused,E.data]);if("bmpstr"===M){const I=t.alloc(2*E.length);for(let k=0;k=40)return this.reporter.error("Second objid identifier OOB");E.splice(0,2,40*E[0]+E[1])}let k=0;for(let W=0;W=128;j>>=7)k++}const z=t.alloc(k);let B=z.length-1;for(let W=E.length-1;W>=0;W--){let j=E[W];for(z[B--]=127&j;(j>>=7)>0;)z[B--]=128|127&j}return this._createEncoderBuffer(z)},w.prototype._encodeTime=function(E,M){let I;const k=new Date(E);return"gentime"===M?I=[m(k.getUTCFullYear()),m(k.getUTCMonth()+1),m(k.getUTCDate()),m(k.getUTCHours()),m(k.getUTCMinutes()),m(k.getUTCSeconds()),"Z"].join(""):"utctime"===M?I=[m(k.getUTCFullYear()%100),m(k.getUTCMonth()+1),m(k.getUTCDate()),m(k.getUTCHours()),m(k.getUTCMinutes()),m(k.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+M+" time is not supported yet"),this._encodeStr(I,"octstr")},w.prototype._encodeNull=function(){return this._createEncoderBuffer("")},w.prototype._encodeInt=function(E,M){if("string"==typeof E){if(!M)return this.reporter.error("String int or enum given, but no values map");if(!M.hasOwnProperty(E))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(E));E=M[E]}if("number"!=typeof E&&!t.isBuffer(E)){const z=E.toArray();!E.sign&&128&z[0]&&z.unshift(0),E=t.from(z)}if(t.isBuffer(E)){let z=E.length;0===E.length&&z++;const B=t.alloc(z);return E.copy(B),0===E.length&&(B[0]=0),this._createEncoderBuffer(B)}if(E<128)return this._createEncoderBuffer(E);if(E<256)return this._createEncoderBuffer([0,E]);let I=1;for(let z=E;z>=256;z>>=8)I++;const k=new Array(I);for(let z=k.length-1;z>=0;z--)k[z]=255&E,E>>=8;return 128&k[0]&&k.unshift(0),this._createEncoderBuffer(t.from(k))},w.prototype._encodeBool=function(E){return this._createEncoderBuffer(E?255:0)},w.prototype._use=function(E,M){return"function"==typeof E&&(E=E(M)),E._getEncoder("der").tree},w.prototype._skipDefault=function(E,M,I){const k=this._baseState;let z;if(null===k.default)return!1;const B=E.join();if(void 0===k.defaultBuffer&&(k.defaultBuffer=this._encodeValue(k.default,M,I).join()),B.length!==k.defaultBuffer.length)return!1;for(z=0;z{"use strict";const e=q;e.der=p(9133),e.pem=p(7900)},7900:(Fe,q,p)=>{"use strict";const e=p(6698),t=p(9133);function y(A){t.call(this,A),this.enc="pem"}e(y,t),Fe.exports=y,y.prototype.encode=function(l,w){const P=t.prototype.encode.call(this,l).toString("base64"),d=["-----BEGIN "+w.label+"-----"];for(let E=0;E=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,C=Math.min(S.length,s),D=n;D=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h=0;h-=3)this.words[C]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);else if("le"===f)for(h=0,C=0;h>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h=s;h-=2)O=P(n,s,h)<=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;else for(h=(n.length-s)%2==0?s+1:s;h=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=s)h++;h--,C=C/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],C=0|n.words[0],D=h*C,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r>>26,H=67108863&v,R=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=R;ee++)g+=(D=(h=0|S.words[r-ee|0])*(C=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,C=0,D=0;D>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==C&&(f=C.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var R=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?R+f:E[r-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof w<"u"),this.toArrayLike(w,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),C=f||Math.max(1,h);y(h<=C,"byte array longer than desired length"),y(C>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(C),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;sn.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;fn.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;hn.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<n.length?(f=this,h=n):(f=n,h=this);for(var C=0,D=0;D>>26;for(;0!==C&&D>>26;if(this.length=f.length,0!==C)this.words[this.length]=C,this.length++;else if(f!==this)for(;Dn.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,C=n):(h=n,C=this);for(var D=0,O=0;O>26,this.words[O]=67108863&s;for(;0!==D&&O>26,this.words[O]=67108863&s;if(0===D&&O>>13,De=0|h[1],ct=8191&De,Ke=De>>>13,Je=0|h[2],ye=8191&Je,fe=Je>>>13,de=0|h[3],xe=8191&de,le=de>>>13,pe=0|h[4],qe=8191&pe,re=pe>>>13,ve=0|h[5],ce=8191&ve,Ze=ve>>>13,We=0|h[6],Ct=8191&We,ut=We>>>13,It=0|h[7],Ae=8191&It,Be=It>>>13,rt=0|h[8],$e=8191&rt,Ie=rt>>>13,lt=0|h[9],Qe=8191<,St=lt>>>13,dt=0|C[0],te=8191&dt,Ue=dt>>>13,Bt=0|C[1],Ye=8191&Bt,je=Bt>>>13,Ft=0|C[2],xt=8191&Ft,Ot=Ft>>>13,yt=0|C[3],at=8191&yt,Ee=yt>>>13,nt=0|C[4],Ge=8191&nt,Xe=nt>>>13,gt=0|C[5],Le=8191>,be=gt>>>13,$=0|C[6],ne=8191&$,ke=$>>>13,Nt=0|C[7],At=8191&Nt,Wt=Nt>>>13,gi=0|C[8],ei=8191&gi,$t=gi>>>13,Fi=0|C[9],li=8191&Fi,ui=Fi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(R,te))|0)+((8191&(r=(r=Math.imul(R,Ue))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Ue))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ct,te),r=(r=Math.imul(ct,Ue))+Math.imul(Ke,te)|0,g=Math.imul(Ke,Ue);var Ki=(O+(v=v+Math.imul(R,Ye)|0)|0)+((8191&(r=(r=r+Math.imul(R,je)|0)+Math.imul(ee,Ye)|0))<<13)|0;O=((g=g+Math.imul(ee,je)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Ue))+Math.imul(fe,te)|0,g=Math.imul(fe,Ue),v=v+Math.imul(ct,Ye)|0,r=(r=r+Math.imul(ct,je)|0)+Math.imul(Ke,Ye)|0,g=g+Math.imul(Ke,je)|0;var Mi=(O+(v=v+Math.imul(R,xt)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Ue))+Math.imul(le,te)|0,g=Math.imul(le,Ue),v=v+Math.imul(ye,Ye)|0,r=(r=r+Math.imul(ye,je)|0)+Math.imul(fe,Ye)|0,g=g+Math.imul(fe,je)|0,v=v+Math.imul(ct,xt)|0,r=(r=r+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0,g=g+Math.imul(Ke,Ot)|0;var on=(O+(v=v+Math.imul(R,at)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ee)|0)+Math.imul(ee,at)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(on>>>26)|0,on&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Ue))+Math.imul(re,te)|0,g=Math.imul(re,Ue),v=v+Math.imul(xe,Ye)|0,r=(r=r+Math.imul(xe,je)|0)+Math.imul(le,Ye)|0,g=g+Math.imul(le,je)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,g=g+Math.imul(fe,Ot)|0,v=v+Math.imul(ct,at)|0,r=(r=r+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0,g=g+Math.imul(Ke,Ee)|0;var st=(O+(v=v+Math.imul(R,Ge)|0)|0)+((8191&(r=(r=r+Math.imul(R,Xe)|0)+Math.imul(ee,Ge)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,v=Math.imul(ce,te),r=(r=Math.imul(ce,Ue))+Math.imul(Ze,te)|0,g=Math.imul(Ze,Ue),v=v+Math.imul(qe,Ye)|0,r=(r=r+Math.imul(qe,je)|0)+Math.imul(re,Ye)|0,g=g+Math.imul(re,je)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,g=g+Math.imul(le,Ot)|0,v=v+Math.imul(ye,at)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(ct,Ge)|0,r=(r=r+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0,g=g+Math.imul(Ke,Xe)|0;var si=(O+(v=v+Math.imul(R,Le)|0)|0)+((8191&(r=(r=r+Math.imul(R,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(Ct,te),r=(r=Math.imul(Ct,Ue))+Math.imul(ut,te)|0,g=Math.imul(ut,Ue),v=v+Math.imul(ce,Ye)|0,r=(r=r+Math.imul(ce,je)|0)+Math.imul(Ze,Ye)|0,g=g+Math.imul(Ze,je)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,g=g+Math.imul(re,Ot)|0,v=v+Math.imul(xe,at)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ge)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,g=g+Math.imul(fe,Xe)|0,v=v+Math.imul(ct,Le)|0,r=(r=r+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0,g=g+Math.imul(Ke,be)|0;var Ce=(O+(v=v+Math.imul(R,ne)|0)|0)+((8191&(r=(r=r+Math.imul(R,ke)|0)+Math.imul(ee,ne)|0))<<13)|0;O=((g=g+Math.imul(ee,ke)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Ue))+Math.imul(Be,te)|0,g=Math.imul(Be,Ue),v=v+Math.imul(Ct,Ye)|0,r=(r=r+Math.imul(Ct,je)|0)+Math.imul(ut,Ye)|0,g=g+Math.imul(ut,je)|0,v=v+Math.imul(ce,xt)|0,r=(r=r+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,g=g+Math.imul(Ze,Ot)|0,v=v+Math.imul(qe,at)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,g=g+Math.imul(re,Ee)|0,v=v+Math.imul(xe,Ge)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,g=g+Math.imul(le,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(ct,ne)|0,r=(r=r+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0,g=g+Math.imul(Ke,ke)|0;var Mt=(O+(v=v+Math.imul(R,At)|0)|0)+((8191&(r=(r=r+Math.imul(R,Wt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Wt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Ue))+Math.imul(Ie,te)|0,g=Math.imul(Ie,Ue),v=v+Math.imul(Ae,Ye)|0,r=(r=r+Math.imul(Ae,je)|0)+Math.imul(Be,Ye)|0,g=g+Math.imul(Be,je)|0,v=v+Math.imul(Ct,xt)|0,r=(r=r+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,g=g+Math.imul(ut,Ot)|0,v=v+Math.imul(ce,at)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,g=g+Math.imul(Ze,Ee)|0,v=v+Math.imul(qe,Ge)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,g=g+Math.imul(re,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,ke)|0,v=v+Math.imul(ct,At)|0,r=(r=r+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0,g=g+Math.imul(Ke,Wt)|0;var Ht=(O+(v=v+Math.imul(R,ei)|0)|0)+((8191&(r=(r=r+Math.imul(R,$t)|0)+Math.imul(ee,ei)|0))<<13)|0;O=((g=g+Math.imul(ee,$t)|0)+(r>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,v=Math.imul(Qe,te),r=(r=Math.imul(Qe,Ue))+Math.imul(St,te)|0,g=Math.imul(St,Ue),v=v+Math.imul($e,Ye)|0,r=(r=r+Math.imul($e,je)|0)+Math.imul(Ie,Ye)|0,g=g+Math.imul(Ie,je)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(Ct,at)|0,r=(r=r+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,g=g+Math.imul(ut,Ee)|0,v=v+Math.imul(ce,Ge)|0,r=(r=r+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,g=g+Math.imul(Ze,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,g=g+Math.imul(re,be)|0,v=v+Math.imul(xe,ne)|0,r=(r=r+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,ke)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Wt)|0,v=v+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0,g=g+Math.imul(Ke,$t)|0;var Dt=(O+(v=v+Math.imul(R,li)|0)|0)+((8191&(r=(r=r+Math.imul(R,ui)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,Ye),r=(r=Math.imul(Qe,je))+Math.imul(St,Ye)|0,g=Math.imul(St,je),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,g=g+Math.imul(Ie,Ot)|0,v=v+Math.imul(Ae,at)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(Ct,Ge)|0,r=(r=r+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,g=g+Math.imul(ut,Xe)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,g=g+Math.imul(Ze,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,g=g+Math.imul(re,ke)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Wt)|0,v=v+Math.imul(ye,ei)|0,r=(r=r+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,g=g+Math.imul(fe,$t)|0;var kt=(O+(v=v+Math.imul(ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;O=((g=g+Math.imul(Ke,ui)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,v=Math.imul(Qe,xt),r=(r=Math.imul(Qe,Ot))+Math.imul(St,xt)|0,g=Math.imul(St,Ot),v=v+Math.imul($e,at)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,g=g+Math.imul(Ie,Ee)|0,v=v+Math.imul(Ae,Ge)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(Ct,Le)|0,r=(r=r+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,g=g+Math.imul(ut,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,g=g+Math.imul(Ze,ke)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,g=g+Math.imul(re,Wt)|0,v=v+Math.imul(xe,ei)|0,r=(r=r+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,g=g+Math.imul(le,$t)|0;var Gt=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0))<<13)|0;O=((g=g+Math.imul(fe,ui)|0)+(r>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(Qe,at),r=(r=Math.imul(Qe,Ee))+Math.imul(St,at)|0,g=Math.imul(St,Ee),v=v+Math.imul($e,Ge)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,g=g+Math.imul(Ie,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(Ct,ne)|0,r=(r=r+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,g=g+Math.imul(ut,ke)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,g=g+Math.imul(Ze,Wt)|0,v=v+Math.imul(qe,ei)|0,r=(r=r+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,g=g+Math.imul(re,$t)|0;var oi=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,ui)|0)+Math.imul(le,li)|0))<<13)|0;O=((g=g+Math.imul(le,ui)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(Qe,Ge),r=(r=Math.imul(Qe,Xe))+Math.imul(St,Ge)|0,g=Math.imul(St,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,g=g+Math.imul(Ie,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,g=g+Math.imul(Be,ke)|0,v=v+Math.imul(Ct,At)|0,r=(r=r+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,g=g+Math.imul(ut,Wt)|0,v=v+Math.imul(ce,ei)|0,r=(r=r+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,g=g+Math.imul(Ze,$t)|0;var bi=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,ui)|0)+Math.imul(re,li)|0))<<13)|0;O=((g=g+Math.imul(re,ui)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(St,Le)|0,g=Math.imul(St,be),v=v+Math.imul($e,ne)|0,r=(r=r+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,g=g+Math.imul(Ie,ke)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Wt)|0,v=v+Math.imul(Ct,ei)|0,r=(r=r+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,g=g+Math.imul(ut,$t)|0;var yi=(O+(v=v+Math.imul(ce,li)|0)|0)+((8191&(r=(r=r+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0))<<13)|0;O=((g=g+Math.imul(Ze,ui)|0)+(r>>>13)|0)+(yi>>>26)|0,yi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,ke))+Math.imul(St,ne)|0,g=Math.imul(St,ke),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,g=g+Math.imul(Ie,Wt)|0,v=v+Math.imul(Ae,ei)|0,r=(r=r+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,g=g+Math.imul(Be,$t)|0;var Oi=(O+(v=v+Math.imul(Ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0))<<13)|0;O=((g=g+Math.imul(ut,ui)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Wt))+Math.imul(St,At)|0,g=Math.imul(St,Wt),v=v+Math.imul($e,ei)|0,r=(r=r+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,g=g+Math.imul(Ie,$t)|0;var Ui=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,ui)|0)+(r>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(Qe,ei),r=(r=Math.imul(Qe,$t))+Math.imul(St,ei)|0,g=Math.imul(St,$t);var Bi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0))<<13)|0;O=((g=g+Math.imul(Ie,ui)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863;var qt=(O+(v=Math.imul(Qe,li))|0)+((8191&(r=(r=Math.imul(Qe,ui))+Math.imul(St,li)|0))<<13)|0;return O=((g=Math.imul(St,ui))+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863,D[0]=un,D[1]=Ki,D[2]=Mi,D[3]=on,D[4]=st,D[5]=si,D[6]=Ce,D[7]=Mt,D[8]=Ht,D[9]=Dt,D[10]=kt,D[11]=Gt,D[12]=oi,D[13]=bi,D[14]=yi,D[15]=Oi,D[16]=Ui,D[17]=Bi,D[18]=qt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=z),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?z(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,C=0;C>>26)|0)>>>26,D&=67108863}s.words[C]=O,f=D,D=h}return 0!==f?s.words[C]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h>=1;return h},K.prototype.permute=function(n,s,f,h,C,D){for(var O=0;O>>=1)C++;return 1<>>=13),C>>>=13;for(D=2*s;D>=26,s+=h/67108864|0,s+=C>>>26,this.words[f]=67108863&C}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h=0);var C,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(C=0;C>>26-s}D&&(this.words[C]=D,this.length++)}if(0!==f){for(C=this.length-1;C>=0;C--)this.words[C+f]=this.words[C];for(C=0;C=0),h=s?(s-s%26)/26:0;var C=n%26,D=Math.min((n-C)/26,this.length),O=67108863^67108863>>>C<D)for(this.length-=D,r=0;r=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-C|H>>>C,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s>26)-(v/67108864|0),this.words[C+f]=67108863&D}for(;C>26,this.words[C+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,C=0;C>26,this.words[C]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),C=n,D=0|C.words[C.length-1];0!=(f=26-this._countBits(D))&&(C=C.ushln(f),h.iushln(f),D=0|C.words[C.length-1]);var r,v=h.length-C.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g=0;R--){var ee=67108864*(0|h.words[C.length+R])+(0|h.words[C.length+R-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(C,ee,R);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(C,1,R),h.isZero()||(h.negative^=1);r&&(r.words[R]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.isub(n)),{div:D.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,C,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),C=n.andln(1),D=f.cmp(h);return D<0||1===C&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,R=1;!(s.words[0]&R)&&H<26;++H,R<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(g)),h.iushrn(1),C.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),C.isub(O)):(f.isub(s),D.isub(h),O.isub(C))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(D),C.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(C)):(f.isub(s),C.isub(h))}return(H=0===s.cmpn(1)?h:C).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var C=s.cmp(f);if(C<0){var D=s;s=f,f=D}else if(0===C||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<>>26,this.words[D]=O&=67108863}return 0!==C&&(this.words[D]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:hn.length)return 1;if(this.length=0;f--){var h=0|this.words[f],C=0|n.words[f];if(h!==C){hC&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new J(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function se(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function J(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){J.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(se,ie),se.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),C=0;C>>22,D=O}n.words[C-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},se.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f>>=26,n.words[f]=C,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new se;else if("p224"===n)s=new ue;else if("p192"===n)s=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},J.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},J.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},J.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},J.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},J.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},J.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},J.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},J.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},J.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},J.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},J.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},J.prototype.isqr=function(n){return this.imul(n,n.clone())},J.prototype.sqr=function(n){return this.mul(n,n)},J.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),R=this.pow(n,h),ee=C;0!==R.cmp(D);){for(var De=R,ct=0;0!==De.cmp(D);ct++)De=De.redSqr();y(ct=0;C--){for(var g=s.words[C],H=r-1;H>=0;H--){var R=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==R||0!==O?(O<<=1,O|=R,(4==++v||0===C&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},J.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},J.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,J),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},9919:(Fe,q)=>{"use strict";q.byteLength=function m(k){var z=w(k),W=z[1];return 3*(z[0]+W)/4-W},q.toByteArray=function d(k){var z,se,B=w(k),W=B[0],j=B[1],K=new t(function P(k,z,B){return 3*(z+B)/4-B}(0,W,j)),X=0,ie=j>0?W-4:W;for(se=0;se>16&255,K[X++]=z>>8&255,K[X++]=255&z;return 2===j&&(z=e[k.charCodeAt(se)]<<2|e[k.charCodeAt(se+1)]>>4,K[X++]=255&z),1===j&&(z=e[k.charCodeAt(se)]<<10|e[k.charCodeAt(se+1)]<<4|e[k.charCodeAt(se+2)]>>2,K[X++]=z>>8&255,K[X++]=255&z),K},q.fromByteArray=function I(k){for(var z,B=k.length,W=B%3,j=[],K=16383,X=0,ie=B-W;Xie?ie:X+K));return 1===W?j.push(p[(z=k[B-1])>>2]+p[z<<4&63]+"=="):2===W&&j.push(p[(z=(k[B-2]<<8)+k[B-1])>>10]+p[z>>4&63]+p[z<<2&63]+"="),j.join("")};for(var p=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0;A<64;++A)p[A]=y[A],e[y.charCodeAt(A)]=A;function w(k){var z=k.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var B=k.indexOf("=");return-1===B&&(B=z),[B,B===z?0:4-B%4]}function E(k){return p[k>>18&63]+p[k>>12&63]+p[k>>6&63]+p[63&k]}function M(k,z,B){for(var j=[],K=z;K=48&&C<=57?C-48:C>=65&&C<=70?C-55:C>=97&&C<=102?C-87:void y(!1,"Invalid character in "+f)}function P(f,h,C){var D=m(f,C);return C-1>=h&&(D|=m(f,C-1)<<4),D}function d(f,h,C,D){for(var O=0,v=0,r=Math.min(f.length,C),g=h;g=49?H-49+10:H>=17?H-17+10:H,y(H>=0&&v0?h:C},l.min=function(h,C){return h.cmp(C)<0?h:C},l.prototype._init=function(h,C,D){if("number"==typeof h)return this._initNumber(h,C,D);if("object"==typeof h)return this._initArray(h,C,D);"hex"===C&&(C=16),y(C===(0|C)&&C>=2&&C<=36);var O=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(O++,this.negative=1),O=0;O-=3)this.words[v]|=(r=h[O]|h[O-1]<<8|h[O-2]<<16)<>>26-g&67108863,(g+=24)>=26&&(g-=26,v++);else if("le"===D)for(O=0,v=0;O>>26-g&67108863,(g+=24)>=26&&(g-=26,v++);return this._strip()},l.prototype._parseHex=function(h,C,D){this.length=Math.ceil((h.length-C)/6),this.words=new Array(this.length);for(var O=0;O=C;O-=2)g=P(h,C,O)<=18?(v-=18,this.words[r+=1]|=g>>>26):v+=8;else for(O=(h.length-C)%2==0?C+1:C;O=18?(v-=18,this.words[r+=1]|=g>>>26):v+=8;this._strip()},l.prototype._parseBase=function(h,C,D){this.words=[0],this.length=1;for(var O=0,v=1;v<=67108863;v*=C)O++;O--,v=v/C|0;for(var r=h.length-D,g=r%O,H=Math.min(r,r-g)+D,R=0,ee=D;ee1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{l.prototype[Symbol.for("nodejs.util.inspect.custom")]=M}catch{l.prototype.inspect=M}else l.prototype.inspect=M;function M(){return(this.red?""}var I=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],z=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function j(f,h,C){C.negative=h.negative^f.negative;var D=f.length+h.length|0;C.length=D,D=D-1|0;var O=0|f.words[0],v=0|h.words[0],r=O*v,H=r/67108864|0;C.words[0]=67108863&r;for(var R=1;R>>26,De=67108863&H,ct=Math.min(R,h.length-1),Ke=Math.max(0,R-f.length+1);Ke<=ct;Ke++)ee+=(r=(O=0|f.words[R-Ke|0])*(v=0|h.words[Ke])+De)/67108864|0,De=67108863&r;C.words[R]=0|De,H=0|ee}return 0!==H?C.words[R]=0|H:C.length--,C._strip()}l.prototype.toString=function(h,C){var D;if(C=0|C||1,16===(h=h||10)||"hex"===h){D="";for(var O=0,v=0,r=0;r>>24-O&16777215,(O+=2)>=26&&(O-=26,r--),D=0!==v||r!==this.length-1?I[6-H.length]+H+D:H+D}for(0!==v&&(D=v.toString(16)+D);D.length%C!=0;)D="0"+D;return 0!==this.negative&&(D="-"+D),D}if(h===(0|h)&&h>=2&&h<=36){var R=k[h],ee=z[h];D="";var De=this.clone();for(De.negative=0;!De.isZero();){var ct=De.modrn(ee).toString(h);D=(De=De.idivn(ee)).isZero()?ct+D:I[R-ct.length]+ct+D}for(this.isZero()&&(D="0"+D);D.length%C!=0;)D="0"+D;return 0!==this.negative&&(D="-"+D),D}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var h=this.words[0];return 2===this.length?h+=67108864*this.words[1]:3===this.length&&1===this.words[2]?h+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},l.prototype.toJSON=function(){return this.toString(16,2)},w&&(l.prototype.toBuffer=function(h,C){return this.toArrayLike(w,h,C)}),l.prototype.toArray=function(h,C){return this.toArrayLike(Array,h,C)},l.prototype.toArrayLike=function(h,C,D){this._strip();var O=this.byteLength(),v=D||Math.max(1,O);y(O<=v,"byte array longer than desired length"),y(v>0,"Requested array length <= 0");var r=function(h,C){return h.allocUnsafe?h.allocUnsafe(C):new h(C)}(h,v);return this["_toArrayLike"+("le"===C?"LE":"BE")](r,O),r},l.prototype._toArrayLikeLE=function(h,C){for(var D=0,O=0,v=0,r=0;v>8&255),D>16&255),6===r?(D>24&255),O=0,r=0):(O=g>>>24,r+=2)}if(D=0&&(h[D--]=g>>8&255),D>=0&&(h[D--]=g>>16&255),6===r?(D>=0&&(h[D--]=g>>24&255),O=0,r=0):(O=g>>>24,r+=2)}if(D>=0)for(h[D--]=O;D>=0;)h[D--]=0},l.prototype._countBits=Math.clz32?function(h){return 32-Math.clz32(h)}:function(h){var C=h,D=0;return C>=4096&&(D+=13,C>>>=13),C>=64&&(D+=7,C>>>=7),C>=8&&(D+=4,C>>>=4),C>=2&&(D+=2,C>>>=2),D+C},l.prototype._zeroBits=function(h){if(0===h)return 26;var C=h,D=0;return 8191&C||(D+=13,C>>>=13),127&C||(D+=7,C>>>=7),15&C||(D+=4,C>>>=4),3&C||(D+=2,C>>>=2),1&C||D++,D},l.prototype.bitLength=function(){var C=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+C},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,C=0;Ch.length?this.clone().ior(h):h.clone().ior(this)},l.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},l.prototype.iuand=function(h){var C;C=this.length>h.length?h:this;for(var D=0;Dh.length?this.clone().iand(h):h.clone().iand(this)},l.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},l.prototype.iuxor=function(h){var C,D;this.length>h.length?(C=this,D=h):(C=h,D=this);for(var O=0;Oh.length?this.clone().ixor(h):h.clone().ixor(this)},l.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},l.prototype.inotn=function(h){y("number"==typeof h&&h>=0);var C=0|Math.ceil(h/26),D=h%26;this._expand(C),D>0&&C--;for(var O=0;O0&&(this.words[O]=~this.words[O]&67108863>>26-D),this._strip()},l.prototype.notn=function(h){return this.clone().inotn(h)},l.prototype.setn=function(h,C){y("number"==typeof h&&h>=0);var D=h/26|0,O=h%26;return this._expand(D+1),this.words[D]=C?this.words[D]|1<h.length?(D=this,O=h):(D=h,O=this);for(var v=0,r=0;r>>26;for(;0!==v&&r>>26;if(this.length=D.length,0!==v)this.words[this.length]=v,this.length++;else if(D!==this)for(;rh.length?this.clone().iadd(h):h.clone().iadd(this)},l.prototype.isub=function(h){if(0!==h.negative){h.negative=0;var C=this.iadd(h);return h.negative=1,C._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var O,v,D=this.cmp(h);if(0===D)return this.negative=0,this.length=1,this.words[0]=0,this;D>0?(O=this,v=h):(O=h,v=this);for(var r=0,g=0;g>26,this.words[g]=67108863&C;for(;0!==r&&g>26,this.words[g]=67108863&C;if(0===r&&g>>13,Je=0|O[1],ye=8191&Je,fe=Je>>>13,de=0|O[2],xe=8191&de,le=de>>>13,pe=0|O[3],qe=8191&pe,re=pe>>>13,ve=0|O[4],ce=8191&ve,Ze=ve>>>13,We=0|O[5],Ct=8191&We,ut=We>>>13,It=0|O[6],Ae=8191&It,Be=It>>>13,rt=0|O[7],$e=8191&rt,Ie=rt>>>13,lt=0|O[8],Qe=8191<,St=lt>>>13,dt=0|O[9],te=8191&dt,Ue=dt>>>13,Bt=0|v[0],Ye=8191&Bt,je=Bt>>>13,Ft=0|v[1],xt=8191&Ft,Ot=Ft>>>13,yt=0|v[2],at=8191&yt,Ee=yt>>>13,nt=0|v[3],Ge=8191&nt,Xe=nt>>>13,gt=0|v[4],Le=8191>,be=gt>>>13,$=0|v[5],ne=8191&$,ke=$>>>13,Nt=0|v[6],At=8191&Nt,Wt=Nt>>>13,gi=0|v[7],ei=8191&gi,$t=gi>>>13,Fi=0|v[8],li=8191&Fi,ui=Fi>>>13,un=0|v[9],Ki=8191&un,Mi=un>>>13;D.negative=h.negative^C.negative,D.length=19;var on=(g+(H=Math.imul(ct,Ye))|0)+((8191&(R=(R=Math.imul(ct,je))+Math.imul(Ke,Ye)|0))<<13)|0;g=((ee=Math.imul(Ke,je))+(R>>>13)|0)+(on>>>26)|0,on&=67108863,H=Math.imul(ye,Ye),R=(R=Math.imul(ye,je))+Math.imul(fe,Ye)|0,ee=Math.imul(fe,je);var st=(g+(H=H+Math.imul(ct,xt)|0)|0)+((8191&(R=(R=R+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,Ot)|0)+(R>>>13)|0)+(st>>>26)|0,st&=67108863,H=Math.imul(xe,Ye),R=(R=Math.imul(xe,je))+Math.imul(le,Ye)|0,ee=Math.imul(le,je),H=H+Math.imul(ye,xt)|0,R=(R=R+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,ee=ee+Math.imul(fe,Ot)|0;var si=(g+(H=H+Math.imul(ct,at)|0)|0)+((8191&(R=(R=R+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,Ee)|0)+(R>>>13)|0)+(si>>>26)|0,si&=67108863,H=Math.imul(qe,Ye),R=(R=Math.imul(qe,je))+Math.imul(re,Ye)|0,ee=Math.imul(re,je),H=H+Math.imul(xe,xt)|0,R=(R=R+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,ee=ee+Math.imul(le,Ot)|0,H=H+Math.imul(ye,at)|0,R=(R=R+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,ee=ee+Math.imul(fe,Ee)|0;var Ce=(g+(H=H+Math.imul(ct,Ge)|0)|0)+((8191&(R=(R=R+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,Xe)|0)+(R>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,H=Math.imul(ce,Ye),R=(R=Math.imul(ce,je))+Math.imul(Ze,Ye)|0,ee=Math.imul(Ze,je),H=H+Math.imul(qe,xt)|0,R=(R=R+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,ee=ee+Math.imul(re,Ot)|0,H=H+Math.imul(xe,at)|0,R=(R=R+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,ee=ee+Math.imul(le,Ee)|0,H=H+Math.imul(ye,Ge)|0,R=(R=R+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,ee=ee+Math.imul(fe,Xe)|0;var Mt=(g+(H=H+Math.imul(ct,Le)|0)|0)+((8191&(R=(R=R+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,be)|0)+(R>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,H=Math.imul(Ct,Ye),R=(R=Math.imul(Ct,je))+Math.imul(ut,Ye)|0,ee=Math.imul(ut,je),H=H+Math.imul(ce,xt)|0,R=(R=R+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,ee=ee+Math.imul(Ze,Ot)|0,H=H+Math.imul(qe,at)|0,R=(R=R+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,ee=ee+Math.imul(re,Ee)|0,H=H+Math.imul(xe,Ge)|0,R=(R=R+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,ee=ee+Math.imul(le,Xe)|0,H=H+Math.imul(ye,Le)|0,R=(R=R+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,ee=ee+Math.imul(fe,be)|0;var Ht=(g+(H=H+Math.imul(ct,ne)|0)|0)+((8191&(R=(R=R+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,ke)|0)+(R>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,H=Math.imul(Ae,Ye),R=(R=Math.imul(Ae,je))+Math.imul(Be,Ye)|0,ee=Math.imul(Be,je),H=H+Math.imul(Ct,xt)|0,R=(R=R+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,ee=ee+Math.imul(ut,Ot)|0,H=H+Math.imul(ce,at)|0,R=(R=R+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,ee=ee+Math.imul(Ze,Ee)|0,H=H+Math.imul(qe,Ge)|0,R=(R=R+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,ee=ee+Math.imul(re,Xe)|0,H=H+Math.imul(xe,Le)|0,R=(R=R+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,ee=ee+Math.imul(le,be)|0,H=H+Math.imul(ye,ne)|0,R=(R=R+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,ee=ee+Math.imul(fe,ke)|0;var Dt=(g+(H=H+Math.imul(ct,At)|0)|0)+((8191&(R=(R=R+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,Wt)|0)+(R>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,H=Math.imul($e,Ye),R=(R=Math.imul($e,je))+Math.imul(Ie,Ye)|0,ee=Math.imul(Ie,je),H=H+Math.imul(Ae,xt)|0,R=(R=R+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,ee=ee+Math.imul(Be,Ot)|0,H=H+Math.imul(Ct,at)|0,R=(R=R+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,ee=ee+Math.imul(ut,Ee)|0,H=H+Math.imul(ce,Ge)|0,R=(R=R+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,ee=ee+Math.imul(Ze,Xe)|0,H=H+Math.imul(qe,Le)|0,R=(R=R+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,ee=ee+Math.imul(re,be)|0,H=H+Math.imul(xe,ne)|0,R=(R=R+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,ee=ee+Math.imul(le,ke)|0,H=H+Math.imul(ye,At)|0,R=(R=R+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,ee=ee+Math.imul(fe,Wt)|0;var kt=(g+(H=H+Math.imul(ct,ei)|0)|0)+((8191&(R=(R=R+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,$t)|0)+(R>>>13)|0)+(kt>>>26)|0,kt&=67108863,H=Math.imul(Qe,Ye),R=(R=Math.imul(Qe,je))+Math.imul(St,Ye)|0,ee=Math.imul(St,je),H=H+Math.imul($e,xt)|0,R=(R=R+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,ee=ee+Math.imul(Ie,Ot)|0,H=H+Math.imul(Ae,at)|0,R=(R=R+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,ee=ee+Math.imul(Be,Ee)|0,H=H+Math.imul(Ct,Ge)|0,R=(R=R+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,ee=ee+Math.imul(ut,Xe)|0,H=H+Math.imul(ce,Le)|0,R=(R=R+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,ee=ee+Math.imul(Ze,be)|0,H=H+Math.imul(qe,ne)|0,R=(R=R+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,ee=ee+Math.imul(re,ke)|0,H=H+Math.imul(xe,At)|0,R=(R=R+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,ee=ee+Math.imul(le,Wt)|0,H=H+Math.imul(ye,ei)|0,R=(R=R+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,ee=ee+Math.imul(fe,$t)|0;var Gt=(g+(H=H+Math.imul(ct,li)|0)|0)+((8191&(R=(R=R+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,ui)|0)+(R>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,H=Math.imul(te,Ye),R=(R=Math.imul(te,je))+Math.imul(Ue,Ye)|0,ee=Math.imul(Ue,je),H=H+Math.imul(Qe,xt)|0,R=(R=R+Math.imul(Qe,Ot)|0)+Math.imul(St,xt)|0,ee=ee+Math.imul(St,Ot)|0,H=H+Math.imul($e,at)|0,R=(R=R+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,ee=ee+Math.imul(Ie,Ee)|0,H=H+Math.imul(Ae,Ge)|0,R=(R=R+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,ee=ee+Math.imul(Be,Xe)|0,H=H+Math.imul(Ct,Le)|0,R=(R=R+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,ee=ee+Math.imul(ut,be)|0,H=H+Math.imul(ce,ne)|0,R=(R=R+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,ee=ee+Math.imul(Ze,ke)|0,H=H+Math.imul(qe,At)|0,R=(R=R+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,ee=ee+Math.imul(re,Wt)|0,H=H+Math.imul(xe,ei)|0,R=(R=R+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,ee=ee+Math.imul(le,$t)|0,H=H+Math.imul(ye,li)|0,R=(R=R+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0,ee=ee+Math.imul(fe,ui)|0;var oi=(g+(H=H+Math.imul(ct,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(ct,Mi)|0)+Math.imul(Ke,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(Ke,Mi)|0)+(R>>>13)|0)+(oi>>>26)|0,oi&=67108863,H=Math.imul(te,xt),R=(R=Math.imul(te,Ot))+Math.imul(Ue,xt)|0,ee=Math.imul(Ue,Ot),H=H+Math.imul(Qe,at)|0,R=(R=R+Math.imul(Qe,Ee)|0)+Math.imul(St,at)|0,ee=ee+Math.imul(St,Ee)|0,H=H+Math.imul($e,Ge)|0,R=(R=R+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,ee=ee+Math.imul(Ie,Xe)|0,H=H+Math.imul(Ae,Le)|0,R=(R=R+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,ee=ee+Math.imul(Be,be)|0,H=H+Math.imul(Ct,ne)|0,R=(R=R+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,ee=ee+Math.imul(ut,ke)|0,H=H+Math.imul(ce,At)|0,R=(R=R+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,ee=ee+Math.imul(Ze,Wt)|0,H=H+Math.imul(qe,ei)|0,R=(R=R+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,ee=ee+Math.imul(re,$t)|0,H=H+Math.imul(xe,li)|0,R=(R=R+Math.imul(xe,ui)|0)+Math.imul(le,li)|0,ee=ee+Math.imul(le,ui)|0;var bi=(g+(H=H+Math.imul(ye,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(ye,Mi)|0)+Math.imul(fe,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(fe,Mi)|0)+(R>>>13)|0)+(bi>>>26)|0,bi&=67108863,H=Math.imul(te,at),R=(R=Math.imul(te,Ee))+Math.imul(Ue,at)|0,ee=Math.imul(Ue,Ee),H=H+Math.imul(Qe,Ge)|0,R=(R=R+Math.imul(Qe,Xe)|0)+Math.imul(St,Ge)|0,ee=ee+Math.imul(St,Xe)|0,H=H+Math.imul($e,Le)|0,R=(R=R+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,ee=ee+Math.imul(Ie,be)|0,H=H+Math.imul(Ae,ne)|0,R=(R=R+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,ee=ee+Math.imul(Be,ke)|0,H=H+Math.imul(Ct,At)|0,R=(R=R+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,ee=ee+Math.imul(ut,Wt)|0,H=H+Math.imul(ce,ei)|0,R=(R=R+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,ee=ee+Math.imul(Ze,$t)|0,H=H+Math.imul(qe,li)|0,R=(R=R+Math.imul(qe,ui)|0)+Math.imul(re,li)|0,ee=ee+Math.imul(re,ui)|0;var yi=(g+(H=H+Math.imul(xe,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(xe,Mi)|0)+Math.imul(le,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(le,Mi)|0)+(R>>>13)|0)+(yi>>>26)|0,yi&=67108863,H=Math.imul(te,Ge),R=(R=Math.imul(te,Xe))+Math.imul(Ue,Ge)|0,ee=Math.imul(Ue,Xe),H=H+Math.imul(Qe,Le)|0,R=(R=R+Math.imul(Qe,be)|0)+Math.imul(St,Le)|0,ee=ee+Math.imul(St,be)|0,H=H+Math.imul($e,ne)|0,R=(R=R+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,ee=ee+Math.imul(Ie,ke)|0,H=H+Math.imul(Ae,At)|0,R=(R=R+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,ee=ee+Math.imul(Be,Wt)|0,H=H+Math.imul(Ct,ei)|0,R=(R=R+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,ee=ee+Math.imul(ut,$t)|0,H=H+Math.imul(ce,li)|0,R=(R=R+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0,ee=ee+Math.imul(Ze,ui)|0;var Oi=(g+(H=H+Math.imul(qe,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(qe,Mi)|0)+Math.imul(re,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(re,Mi)|0)+(R>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,H=Math.imul(te,Le),R=(R=Math.imul(te,be))+Math.imul(Ue,Le)|0,ee=Math.imul(Ue,be),H=H+Math.imul(Qe,ne)|0,R=(R=R+Math.imul(Qe,ke)|0)+Math.imul(St,ne)|0,ee=ee+Math.imul(St,ke)|0,H=H+Math.imul($e,At)|0,R=(R=R+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,ee=ee+Math.imul(Ie,Wt)|0,H=H+Math.imul(Ae,ei)|0,R=(R=R+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,ee=ee+Math.imul(Be,$t)|0,H=H+Math.imul(Ct,li)|0,R=(R=R+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0,ee=ee+Math.imul(ut,ui)|0;var Ui=(g+(H=H+Math.imul(ce,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(ce,Mi)|0)+Math.imul(Ze,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(Ze,Mi)|0)+(R>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,H=Math.imul(te,ne),R=(R=Math.imul(te,ke))+Math.imul(Ue,ne)|0,ee=Math.imul(Ue,ke),H=H+Math.imul(Qe,At)|0,R=(R=R+Math.imul(Qe,Wt)|0)+Math.imul(St,At)|0,ee=ee+Math.imul(St,Wt)|0,H=H+Math.imul($e,ei)|0,R=(R=R+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,ee=ee+Math.imul(Ie,$t)|0,H=H+Math.imul(Ae,li)|0,R=(R=R+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0,ee=ee+Math.imul(Be,ui)|0;var Bi=(g+(H=H+Math.imul(Ct,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(Ct,Mi)|0)+Math.imul(ut,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(ut,Mi)|0)+(R>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,H=Math.imul(te,At),R=(R=Math.imul(te,Wt))+Math.imul(Ue,At)|0,ee=Math.imul(Ue,Wt),H=H+Math.imul(Qe,ei)|0,R=(R=R+Math.imul(Qe,$t)|0)+Math.imul(St,ei)|0,ee=ee+Math.imul(St,$t)|0,H=H+Math.imul($e,li)|0,R=(R=R+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0,ee=ee+Math.imul(Ie,ui)|0;var qt=(g+(H=H+Math.imul(Ae,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(Ae,Mi)|0)+Math.imul(Be,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(Be,Mi)|0)+(R>>>13)|0)+(qt>>>26)|0,qt&=67108863,H=Math.imul(te,ei),R=(R=Math.imul(te,$t))+Math.imul(Ue,ei)|0,ee=Math.imul(Ue,$t),H=H+Math.imul(Qe,li)|0,R=(R=R+Math.imul(Qe,ui)|0)+Math.imul(St,li)|0,ee=ee+Math.imul(St,ui)|0;var xi=(g+(H=H+Math.imul($e,Ki)|0)|0)+((8191&(R=(R=R+Math.imul($e,Mi)|0)+Math.imul(Ie,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(Ie,Mi)|0)+(R>>>13)|0)+(xi>>>26)|0,xi&=67108863,H=Math.imul(te,li),R=(R=Math.imul(te,ui))+Math.imul(Ue,li)|0,ee=Math.imul(Ue,ui);var Se=(g+(H=H+Math.imul(Qe,Ki)|0)|0)+((8191&(R=(R=R+Math.imul(Qe,Mi)|0)+Math.imul(St,Ki)|0))<<13)|0;g=((ee=ee+Math.imul(St,Mi)|0)+(R>>>13)|0)+(Se>>>26)|0,Se&=67108863;var Ve=(g+(H=Math.imul(te,Ki))|0)+((8191&(R=(R=Math.imul(te,Mi))+Math.imul(Ue,Ki)|0))<<13)|0;return g=((ee=Math.imul(Ue,Mi))+(R>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,r[0]=on,r[1]=st,r[2]=si,r[3]=Ce,r[4]=Mt,r[5]=Ht,r[6]=Dt,r[7]=kt,r[8]=Gt,r[9]=oi,r[10]=bi,r[11]=yi,r[12]=Oi,r[13]=Ui,r[14]=Bi,r[15]=qt,r[16]=xi,r[17]=Se,r[18]=Ve,0!==g&&(r[19]=g,D.length++),D};function X(f,h,C){C.negative=h.negative^f.negative,C.length=f.length+h.length;for(var D=0,O=0,v=0;v>>26)|0)>>>26,r&=67108863}C.words[v]=g,D=r,r=O}return 0!==D?C.words[v]=D:C.length--,C._strip()}function ie(f,h,C){return X(f,h,C)}function se(f,h){this.x=f,this.y=h}Math.imul||(K=j),l.prototype.mulTo=function(h,C){var O=this.length+h.length;return 10===this.length&&10===h.length?K(this,h,C):O<63?j(this,h,C):O<1024?X(this,h,C):ie(this,h,C)},se.prototype.makeRBT=function(h){for(var C=new Array(h),D=l.prototype._countBits(h)-1,O=0;O>=1;return O},se.prototype.permute=function(h,C,D,O,v,r){for(var g=0;g>>=1)v++;return 1<>>=13),v>>>=13;for(r=2*C;r>=26,D+=v/67108864|0,D+=r>>>26,this.words[O]=67108863&r}return 0!==D&&(this.words[O]=D,this.length++),C?this.ineg():this},l.prototype.muln=function(h){return this.clone().imuln(h)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(h){var C=function W(f){for(var h=new Array(f.bitLength()),C=0;C>>C%26&1;return h}(h);if(0===C.length)return new l(1);for(var D=this,O=0;O=0);var v,C=h%26,D=(h-C)/26,O=67108863>>>26-C<<26-C;if(0!==C){var r=0;for(v=0;v>>26-C}r&&(this.words[v]=r,this.length++)}if(0!==D){for(v=this.length-1;v>=0;v--)this.words[v+D]=this.words[v];for(v=0;v=0),O=C?(C-C%26)/26:0;var v=h%26,r=Math.min((h-v)/26,this.length),g=67108863^67108863>>>v<r)for(this.length-=r,R=0;R=0&&(0!==ee||R>=O);R--){var De=0|this.words[R];this.words[R]=ee<<26-v|De>>>v,ee=De&g}return H&&0!==ee&&(H.words[H.length++]=ee),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},l.prototype.ishrn=function(h,C,D){return y(0===this.negative),this.iushrn(h,C,D)},l.prototype.shln=function(h){return this.clone().ishln(h)},l.prototype.ushln=function(h){return this.clone().iushln(h)},l.prototype.shrn=function(h){return this.clone().ishrn(h)},l.prototype.ushrn=function(h){return this.clone().iushrn(h)},l.prototype.testn=function(h){y("number"==typeof h&&h>=0);var C=h%26,D=(h-C)/26;return!(this.length<=D||!(this.words[D]&1<=0);var C=h%26,D=(h-C)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=D?this:(0!==C&&D++,this.length=Math.min(D,this.length),0!==C&&(this.words[this.length-1]&=67108863^67108863>>>C<=67108864;C++)this.words[C]-=67108864,C===this.length-1?this.words[C+1]=1:this.words[C+1]++;return this.length=Math.max(this.length,C+1),this},l.prototype.isubn=function(h){if(y("number"==typeof h),y(h<67108864),h<0)return this.iaddn(-h);if(0!==this.negative)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var C=0;C>26)-(H/67108864|0),this.words[v+D]=67108863&r}for(;v>26,this.words[v+D]=67108863&r;if(0===g)return this._strip();for(y(-1===g),g=0,v=0;v>26,this.words[v]=67108863&r;return this.negative=1,this._strip()},l.prototype._wordDiv=function(h,C){var D,O=this.clone(),v=h,r=0|v.words[v.length-1];0!=(D=26-this._countBits(r))&&(v=v.ushln(D),O.iushln(D),r=0|v.words[v.length-1]);var R,H=O.length-v.length;if("mod"!==C){(R=new l(null)).length=H+1,R.words=new Array(R.length);for(var ee=0;ee=0;ct--){var Ke=67108864*(0|O.words[v.length+ct])+(0|O.words[v.length+ct-1]);for(Ke=Math.min(Ke/r|0,67108863),O._ishlnsubmul(v,Ke,ct);0!==O.negative;)Ke--,O.negative=0,O._ishlnsubmul(v,1,ct),O.isZero()||(O.negative^=1);R&&(R.words[ct]=Ke)}return R&&R._strip(),O._strip(),"div"!==C&&0!==D&&O.iushrn(D),{div:R||null,mod:O}},l.prototype.divmod=function(h,C,D){return y(!h.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,C),"mod"!==C&&(O=r.div.neg()),"div"!==C&&(v=r.mod.neg(),D&&0!==v.negative&&v.iadd(h)),{div:O,mod:v}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),C),"mod"!==C&&(O=r.div.neg()),{div:O,mod:r.mod}):this.negative&h.negative?(r=this.neg().divmod(h.neg(),C),"div"!==C&&(v=r.mod.neg(),D&&0!==v.negative&&v.isub(h)),{div:r.div,mod:v}):h.length>this.length||this.cmp(h)<0?{div:new l(0),mod:this}:1===h.length?"div"===C?{div:this.divn(h.words[0]),mod:null}:"mod"===C?{div:null,mod:new l(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new l(this.modrn(h.words[0]))}:this._wordDiv(h,C);var O,v,r},l.prototype.div=function(h){return this.divmod(h,"div",!1).div},l.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},l.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},l.prototype.divRound=function(h){var C=this.divmod(h);if(C.mod.isZero())return C.div;var D=0!==C.div.negative?C.mod.isub(h):C.mod,O=h.ushrn(1),v=h.andln(1),r=D.cmp(O);return r<0||1===v&&0===r?C.div:0!==C.div.negative?C.div.isubn(1):C.div.iaddn(1)},l.prototype.modrn=function(h){var C=h<0;C&&(h=-h),y(h<=67108863);for(var D=(1<<26)%h,O=0,v=this.length-1;v>=0;v--)O=(D*O+(0|this.words[v]))%h;return C?-O:O},l.prototype.modn=function(h){return this.modrn(h)},l.prototype.idivn=function(h){var C=h<0;C&&(h=-h),y(h<=67108863);for(var D=0,O=this.length-1;O>=0;O--){var v=(0|this.words[O])+67108864*D;this.words[O]=v/h|0,D=v%h}return this._strip(),C?this.ineg():this},l.prototype.divn=function(h){return this.clone().idivn(h)},l.prototype.egcd=function(h){y(0===h.negative),y(!h.isZero());var C=this,D=h.clone();C=0!==C.negative?C.umod(h):C.clone();for(var O=new l(1),v=new l(0),r=new l(0),g=new l(1),H=0;C.isEven()&&D.isEven();)C.iushrn(1),D.iushrn(1),++H;for(var R=D.clone(),ee=C.clone();!C.isZero();){for(var De=0,ct=1;!(C.words[0]&ct)&&De<26;++De,ct<<=1);if(De>0)for(C.iushrn(De);De-- >0;)(O.isOdd()||v.isOdd())&&(O.iadd(R),v.isub(ee)),O.iushrn(1),v.iushrn(1);for(var Ke=0,Je=1;!(D.words[0]&Je)&&Ke<26;++Ke,Je<<=1);if(Ke>0)for(D.iushrn(Ke);Ke-- >0;)(r.isOdd()||g.isOdd())&&(r.iadd(R),g.isub(ee)),r.iushrn(1),g.iushrn(1);C.cmp(D)>=0?(C.isub(D),O.isub(r),v.isub(g)):(D.isub(C),r.isub(O),g.isub(v))}return{a:r,b:g,gcd:D.iushln(H)}},l.prototype._invmp=function(h){y(0===h.negative),y(!h.isZero());var De,C=this,D=h.clone();C=0!==C.negative?C.umod(h):C.clone();for(var O=new l(1),v=new l(0),r=D.clone();C.cmpn(1)>0&&D.cmpn(1)>0;){for(var g=0,H=1;!(C.words[0]&H)&&g<26;++g,H<<=1);if(g>0)for(C.iushrn(g);g-- >0;)O.isOdd()&&O.iadd(r),O.iushrn(1);for(var R=0,ee=1;!(D.words[0]&ee)&&R<26;++R,ee<<=1);if(R>0)for(D.iushrn(R);R-- >0;)v.isOdd()&&v.iadd(r),v.iushrn(1);C.cmp(D)>=0?(C.isub(D),O.isub(v)):(D.isub(C),v.isub(O))}return(De=0===C.cmpn(1)?O:v).cmpn(0)<0&&De.iadd(h),De},l.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var C=this.clone(),D=h.clone();C.negative=0,D.negative=0;for(var O=0;C.isEven()&&D.isEven();O++)C.iushrn(1),D.iushrn(1);for(;;){for(;C.isEven();)C.iushrn(1);for(;D.isEven();)D.iushrn(1);var v=C.cmp(D);if(v<0){var r=C;C=D,D=r}else if(0===v||0===D.cmpn(1))break;C.isub(D)}return D.iushln(O)},l.prototype.invm=function(h){return this.egcd(h).a.umod(h)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(h){return this.words[0]&h},l.prototype.bincn=function(h){y("number"==typeof h);var C=h%26,D=(h-C)/26,O=1<>>26,this.words[r]=g&=67108863}return 0!==v&&(this.words[r]=v,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(h){var D,C=h<0;if(0!==this.negative&&!C)return-1;if(0===this.negative&&C)return 1;if(this._strip(),this.length>1)D=1;else{C&&(h=-h),y(h<=67108863,"Number is too big");var O=0|this.words[0];D=O===h?0:Oh.length)return 1;if(this.length=0;D--){var O=0|this.words[D],v=0|h.words[D];if(O!==v){Ov&&(C=1);break}}return C},l.prototype.gtn=function(h){return 1===this.cmpn(h)},l.prototype.gt=function(h){return 1===this.cmp(h)},l.prototype.gten=function(h){return this.cmpn(h)>=0},l.prototype.gte=function(h){return this.cmp(h)>=0},l.prototype.ltn=function(h){return-1===this.cmpn(h)},l.prototype.lt=function(h){return-1===this.cmp(h)},l.prototype.lten=function(h){return this.cmpn(h)<=0},l.prototype.lte=function(h){return this.cmp(h)<=0},l.prototype.eqn=function(h){return 0===this.cmpn(h)},l.prototype.eq=function(h){return 0===this.cmp(h)},l.red=function(h){return new n(h)},l.prototype.toRed=function(h){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(h){return this.red=h,this},l.prototype.forceRed=function(h){return y(!this.red,"Already a number in reduction context"),this._forceRed(h)},l.prototype.redAdd=function(h){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},l.prototype.redIAdd=function(h){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},l.prototype.redSub=function(h){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},l.prototype.redISub=function(h){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},l.prototype.redShl=function(h){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},l.prototype.redMul=function(h){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},l.prototype.redIMul=function(h){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(h){return y(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var ue={k256:null,p224:null,p192:null,p25519:null};function ae(f,h){this.name=f,this.p=new l(h,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function Me(){ae.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function J(){ae.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function he(){ae.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){ae.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(f){if("string"==typeof f){var h=l._prime(f);this.m=h.p,this.prime=h}else y(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}function s(f){n.call(this,f),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ae.prototype._tmp=function(){var h=new l(null);return h.words=new Array(Math.ceil(this.n/13)),h},ae.prototype.ireduce=function(h){var D,C=h;do{this.split(C,this.tmp),D=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength()}while(D>this.n);var O=D0?C.isub(this.p):void 0!==C.strip?C.strip():C._strip(),C},ae.prototype.split=function(h,C){h.iushrn(this.n,0,C)},ae.prototype.imulK=function(h){return h.imul(this.k)},A(Me,ae),Me.prototype.split=function(h,C){for(var D=4194303,O=Math.min(h.length,9),v=0;v>>22,r=g}h.words[v-10]=r>>>=22,h.length-=0===r&&h.length>10?10:9},Me.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var C=0,D=0;D>>=26,h.words[D]=v,C=O}return 0!==C&&(h.words[h.length++]=C),h},l._prime=function(h){if(ue[h])return ue[h];var C;if("k256"===h)C=new Me;else if("p224"===h)C=new J;else if("p192"===h)C=new he;else{if("p25519"!==h)throw new Error("Unknown prime "+h);C=new S}return ue[h]=C,C},n.prototype._verify1=function(h){y(0===h.negative,"red works only with positives"),y(h.red,"red works only with red numbers")},n.prototype._verify2=function(h,C){y(0==(h.negative|C.negative),"red works only with positives"),y(h.red&&h.red===C.red,"red works only with red numbers")},n.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(E(h,h.umod(this.m)._forceRed(this)),h)},n.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},n.prototype.add=function(h,C){this._verify2(h,C);var D=h.add(C);return D.cmp(this.m)>=0&&D.isub(this.m),D._forceRed(this)},n.prototype.iadd=function(h,C){this._verify2(h,C);var D=h.iadd(C);return D.cmp(this.m)>=0&&D.isub(this.m),D},n.prototype.sub=function(h,C){this._verify2(h,C);var D=h.sub(C);return D.cmpn(0)<0&&D.iadd(this.m),D._forceRed(this)},n.prototype.isub=function(h,C){this._verify2(h,C);var D=h.isub(C);return D.cmpn(0)<0&&D.iadd(this.m),D},n.prototype.shl=function(h,C){return this._verify1(h),this.imod(h.ushln(C))},n.prototype.imul=function(h,C){return this._verify2(h,C),this.imod(h.imul(C))},n.prototype.mul=function(h,C){return this._verify2(h,C),this.imod(h.mul(C))},n.prototype.isqr=function(h){return this.imul(h,h.clone())},n.prototype.sqr=function(h){return this.mul(h,h)},n.prototype.sqrt=function(h){if(h.isZero())return h.clone();var C=this.m.andln(3);if(y(C%2==1),3===C){var D=this.m.add(new l(1)).iushrn(2);return this.pow(h,D)}for(var O=this.m.subn(1),v=0;!O.isZero()&&0===O.andln(1);)v++,O.iushrn(1);y(!O.isZero());var r=new l(1).toRed(this),g=r.redNeg(),H=this.m.subn(1).iushrn(1),R=this.m.bitLength();for(R=new l(2*R*R).toRed(this);0!==this.pow(R,H).cmp(g);)R.redIAdd(g);for(var ee=this.pow(R,O),De=this.pow(h,O.addn(1).iushrn(1)),ct=this.pow(h,O),Ke=v;0!==ct.cmp(r);){for(var Je=ct,ye=0;0!==Je.cmp(r);ye++)Je=Je.redSqr();y(ye=0;v--){for(var ee=C.words[v],De=R-1;De>=0;De--){var ct=ee>>De&1;r!==O[0]&&(r=this.sqr(r)),0!==ct||0!==g?(g<<=1,g|=ct,(4==++H||0===v&&0===De)&&(r=this.mul(r,O[g]),H=0,g=0)):H=0}R=26}return r},n.prototype.convertTo=function(h){var C=h.umod(this.m);return C===h?C.clone():C},n.prototype.convertFrom=function(h){var C=h.clone();return C.red=null,C},l.mont=function(h){return new s(h)},A(s,n),s.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},s.prototype.convertFrom=function(h){var C=this.imod(h.mul(this.rinv));return C.red=null,C},s.prototype.imul=function(h,C){if(h.isZero()||C.isZero())return h.words[0]=0,h.length=1,h;var D=h.imul(C),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=D.isub(O).iushrn(this.shift),r=v;return v.cmp(this.m)>=0?r=v.isub(this.m):v.cmpn(0)<0&&(r=v.iadd(this.m)),r._forceRed(this)},s.prototype.mul=function(h,C){if(h.isZero()||C.isZero())return new l(0)._forceRed(this);var D=h.mul(C),O=D.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=D.isub(O).iushrn(this.shift),r=v;return v.cmp(this.m)>=0?r=v.isub(this.m):v.cmpn(0)<0&&(r=v.iadd(this.m)),r._forceRed(this)},s.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},82:(Fe,q,p)=>{var e;function t(A){this.rand=A}if(Fe.exports=function(l){return e||(e=new t(null)),e.generate(l)},Fe.exports.Rand=t,t.prototype.generate=function(l){return this._rand(l)},t.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var w=new Uint8Array(l),m=0;m{var e=p(843).Buffer;function t(P){e.isBuffer(P)||(P=e.from(P));for(var d=P.length/4|0,E=new Array(d),M=0;M>>24]^z[K>>>16&255]^B[X>>>8&255]^W[255&ie]^d[J++],ue=k[K>>>24]^z[X>>>16&255]^B[ie>>>8&255]^W[255&j]^d[J++],ae=k[X>>>24]^z[ie>>>16&255]^B[j>>>8&255]^W[255&K]^d[J++],Me=k[ie>>>24]^z[j>>>16&255]^B[K>>>8&255]^W[255&X]^d[J++],j=se,K=ue,X=ae,ie=Me;return se=(M[j>>>24]<<24|M[K>>>16&255]<<16|M[X>>>8&255]<<8|M[255&ie])^d[J++],ue=(M[K>>>24]<<24|M[X>>>16&255]<<16|M[ie>>>8&255]<<8|M[255&j])^d[J++],ae=(M[X>>>24]<<24|M[ie>>>16&255]<<16|M[j>>>8&255]<<8|M[255&K])^d[J++],Me=(M[ie>>>24]<<24|M[j>>>16&255]<<16|M[K>>>8&255]<<8|M[255&X])^d[J++],[se>>>=0,ue>>>=0,ae>>>=0,Me>>>=0]}var l=[0,1,2,4,8,16,32,64,128,27,54],w=function(){for(var P=new Array(256),d=0;d<256;d++)P[d]=d<128?d<<1:d<<1^283;for(var E=[],M=[],I=[[],[],[],[]],k=[[],[],[],[]],z=0,B=0,W=0;W<256;++W){var j=B^B<<1^B<<2^B<<3^B<<4;E[z]=j=j>>>8^255&j^99,M[j]=z;var K=P[z],X=P[K],ie=P[X],se=257*P[j]^16843008*j;I[0][z]=se<<24|se>>>8,I[1][z]=se<<16|se>>>16,I[2][z]=se<<8|se>>>24,I[3][z]=se,k[0][j]=(se=16843009*ie^65537*X^257*K^16843008*z)<<24|se>>>8,k[1][j]=se<<16|se>>>16,k[2][j]=se<<8|se>>>24,k[3][j]=se,0===z?z=B=1:(z=K^P[P[P[ie^K]]],B^=P[P[B]])}return{SBOX:E,INV_SBOX:M,SUB_MIX:I,INV_SUB_MIX:k}}();function m(P){this._key=t(P),this._reset()}m.blockSize=16,m.keySize=32,m.prototype.blockSize=m.blockSize,m.prototype.keySize=m.keySize,m.prototype._reset=function(){for(var P=this._key,d=P.length,E=d+6,M=4*(E+1),I=[],k=0;k>>24)>>>24]<<24|w.SBOX[z>>>16&255]<<16|w.SBOX[z>>>8&255]<<8|w.SBOX[255&z],z^=l[k/d|0]<<24):d>6&&k%d==4&&(z=w.SBOX[z>>>24]<<24|w.SBOX[z>>>16&255]<<16|w.SBOX[z>>>8&255]<<8|w.SBOX[255&z]),I[k]=I[k-d]^z}for(var B=[],W=0;W>>24]]^w.INV_SUB_MIX[1][w.SBOX[K>>>16&255]]^w.INV_SUB_MIX[2][w.SBOX[K>>>8&255]]^w.INV_SUB_MIX[3][w.SBOX[255&K]]}this._nRounds=E,this._keySchedule=I,this._invKeySchedule=B},m.prototype.encryptBlockRaw=function(P){return A(P=t(P),this._keySchedule,w.SUB_MIX,w.SBOX,this._nRounds)},m.prototype.encryptBlock=function(P){var d=this.encryptBlockRaw(P),E=e.allocUnsafe(16);return E.writeUInt32BE(d[0],0),E.writeUInt32BE(d[1],4),E.writeUInt32BE(d[2],8),E.writeUInt32BE(d[3],12),E},m.prototype.decryptBlock=function(P){var d=(P=t(P))[1];P[1]=P[3],P[3]=d;var E=A(P,this._invKeySchedule,w.INV_SUB_MIX,w.INV_SBOX,this._nRounds),M=e.allocUnsafe(16);return M.writeUInt32BE(E[0],0),M.writeUInt32BE(E[3],4),M.writeUInt32BE(E[2],8),M.writeUInt32BE(E[1],12),M},m.prototype.scrub=function(){y(this._keySchedule),y(this._invKeySchedule),y(this._key)},Fe.exports.AES=m},6087:(Fe,q,p)=>{var e=p(6403),t=p(843).Buffer,y=p(6420),A=p(6698),l=p(1503),w=p(3636),m=p(9107);function E(M,I,k,z){y.call(this);var B=t.alloc(4,0);this._cipher=new e.AES(I);var W=this._cipher.encryptBlock(B);this._ghash=new l(W),k=function d(M,I,k){if(12===I.length)return M._finID=t.concat([I,t.from([0,0,0,1])]),t.concat([I,t.from([0,0,0,2])]);var z=new l(k),B=I.length,W=B%16;z.update(I),W&&z.update(t.alloc(W=16-W,0)),z.update(t.alloc(8,0));var j=8*B,K=t.alloc(8);K.writeUIntBE(j,0,8),z.update(K),M._finID=z.state;var X=t.from(M._finID);return m(X),X}(this,k,W),this._prev=t.from(k),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=z,this._alen=0,this._len=0,this._mode=M,this._authTag=null,this._called=!1}A(E,y),E.prototype._update=function(M){if(!this._called&&this._alen){var I=16-this._alen%16;I<16&&(I=t.alloc(I,0),this._ghash.update(I))}this._called=!0;var k=this._mode.encrypt(this,M);return this._ghash.update(this._decrypt?M:k),this._len+=M.length,k},E.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var M=w(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function P(M,I){var k=0;M.length!==I.length&&k++;for(var z=Math.min(M.length,I.length),B=0;B{var e=p(2689),t=p(46),y=p(4946);q.createCipher=q.Cipher=e.createCipher,q.createCipheriv=q.Cipheriv=e.createCipheriv,q.createDecipher=q.Decipher=t.createDecipher,q.createDecipheriv=q.Decipheriv=t.createDecipheriv,q.listCiphers=q.getCiphers=function A(){return Object.keys(y)}},46:(Fe,q,p)=>{var e=p(6087),t=p(843).Buffer,y=p(2421),A=p(9354),l=p(6420),w=p(6403),m=p(6505);function d(z,B,W){l.call(this),this._cache=new E,this._last=void 0,this._cipher=new w.AES(B),this._prev=t.from(W),this._mode=z,this._autopadding=!0}function E(){this.cache=t.allocUnsafe(0)}function I(z,B,W){var j=y[z.toLowerCase()];if(!j)throw new TypeError("invalid suite type");if("string"==typeof W&&(W=t.from(W)),"GCM"!==j.mode&&W.length!==j.iv)throw new TypeError("invalid iv length "+W.length);if("string"==typeof B&&(B=t.from(B)),B.length!==j.key/8)throw new TypeError("invalid key length "+B.length);return"stream"===j.type?new A(j.module,B,W,!0):"auth"===j.type?new e(j.module,B,W,!0):new d(j.module,B,W)}p(6698)(d,l),d.prototype._update=function(z){this._cache.add(z);for(var B,W,j=[];B=this._cache.get(this._autopadding);)W=this._mode.decrypt(this,B),j.push(W);return t.concat(j)},d.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return function M(z){var B=z[15];if(B<1||B>16)throw new Error("unable to decrypt data");for(var W=-1;++W16)return B=this.cache.slice(0,16),this.cache=this.cache.slice(16),B}else if(this.cache.length>=16)return B=this.cache.slice(0,16),this.cache=this.cache.slice(16),B;return null},E.prototype.flush=function(){if(this.cache.length)return this.cache},q.createDecipher=function k(z,B){var W=y[z.toLowerCase()];if(!W)throw new TypeError("invalid suite type");var j=m(B,!1,W.key,W.iv);return I(z,j.key,j.iv)},q.createDecipheriv=I},2689:(Fe,q,p)=>{var e=p(2421),t=p(6087),y=p(843).Buffer,A=p(9354),l=p(6420),w=p(6403),m=p(6505);function d(z,B,W){l.call(this),this._cache=new M,this._cipher=new w.AES(B),this._prev=y.from(W),this._mode=z,this._autopadding=!0}p(6698)(d,l),d.prototype._update=function(z){this._cache.add(z);for(var B,W,j=[];B=this._cache.get();)W=this._mode.encrypt(this,B),j.push(W);return y.concat(j)};var E=y.alloc(16,16);function M(){this.cache=y.allocUnsafe(0)}function I(z,B,W){var j=e[z.toLowerCase()];if(!j)throw new TypeError("invalid suite type");if("string"==typeof B&&(B=y.from(B)),B.length!==j.key/8)throw new TypeError("invalid key length "+B.length);if("string"==typeof W&&(W=y.from(W)),"GCM"!==j.mode&&W.length!==j.iv)throw new TypeError("invalid iv length "+W.length);return"stream"===j.type?new A(j.module,B,W):"auth"===j.type?new t(j.module,B,W):new d(j.module,B,W)}d.prototype._final=function(){var z=this._cache.flush();if(this._autopadding)return z=this._mode.encrypt(this,z),this._cipher.scrub(),z;if(!z.equals(E))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(z){return this._autopadding=!!z,this},M.prototype.add=function(z){this.cache=y.concat([this.cache,z])},M.prototype.get=function(){if(this.cache.length>15){var z=this.cache.slice(0,16);return this.cache=this.cache.slice(16),z}return null},M.prototype.flush=function(){for(var z=16-this.cache.length,B=y.allocUnsafe(z),W=-1;++W{var e=p(843).Buffer,t=e.alloc(16,0);function A(w){var m=e.allocUnsafe(16);return m.writeUInt32BE(w[0]>>>0,0),m.writeUInt32BE(w[1]>>>0,4),m.writeUInt32BE(w[2]>>>0,8),m.writeUInt32BE(w[3]>>>0,12),m}function l(w){this.h=w,this.state=e.alloc(16,0),this.cache=e.allocUnsafe(0)}l.prototype.ghash=function(w){for(var m=-1;++m0;P--)w[P]=w[P]>>>1|(1&w[P-1])<<31;w[0]=w[0]>>>1,E&&(w[0]=w[0]^225<<24)}this.state=A(m)},l.prototype.update=function(w){this.cache=e.concat([this.cache,w]);for(var m;this.cache.length>=16;)m=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(m)},l.prototype.final=function(w,m){return this.cache.length&&this.ghash(e.concat([this.cache,t],16)),this.ghash(A([0,w,0,m])),this.state},Fe.exports=l},9107:Fe=>{Fe.exports=function q(p){for(var t,e=p.length;e--;){if(255!==(t=p.readUInt8(e))){t++,p.writeUInt8(t,e);break}p.writeUInt8(0,e)}}},1175:(Fe,q,p)=>{var e=p(3636);q.encrypt=function(t,y){var A=e(y,t._prev);return t._prev=t._cipher.encryptBlock(A),t._prev},q.decrypt=function(t,y){var A=t._prev;t._prev=y;var l=t._cipher.decryptBlock(y);return e(l,A)}},3631:(Fe,q,p)=>{var e=p(843).Buffer,t=p(3636);function y(A,l,w){var m=l.length,P=t(l,A._cache);return A._cache=A._cache.slice(m),A._prev=e.concat([A._prev,w?l:P]),P}q.encrypt=function(A,l,w){for(var P,m=e.allocUnsafe(0);l.length;){if(0===A._cache.length&&(A._cache=A._cipher.encryptBlock(A._prev),A._prev=e.allocUnsafe(0)),!(A._cache.length<=l.length)){m=e.concat([m,y(A,l,w)]);break}m=e.concat([m,y(A,l.slice(0,P=A._cache.length),w)]),l=l.slice(P)}return m}},3892:(Fe,q,p)=>{var e=p(843).Buffer;function t(A,l,w){for(var M,I,P=-1,E=0;++P<8;)E+=(128&(I=A._cipher.encryptBlock(A._prev)[0]^(M=l&1<<7-P?128:0)))>>P%8,A._prev=y(A._prev,w?M:I);return E}function y(A,l){var w=A.length,m=-1,P=e.allocUnsafe(A.length);for(A=e.concat([A,e.from([l])]);++m>7;return P}q.encrypt=function(A,l,w){for(var m=l.length,P=e.allocUnsafe(m),d=-1;++d{var e=p(843).Buffer;function t(y,A,l){var m=y._cipher.encryptBlock(y._prev)[0]^A;return y._prev=e.concat([y._prev.slice(1),e.from([l?A:m])]),m}q.encrypt=function(y,A,l){for(var w=A.length,m=e.allocUnsafe(w),P=-1;++P{var e=p(3636),t=p(843).Buffer,y=p(9107);function A(w){var m=w._cipher.encryptBlockRaw(w._prev);return y(w._prev),m}q.encrypt=function(w,m){var P=Math.ceil(m.length/16),d=w._cache.length;w._cache=t.concat([w._cache,t.allocUnsafe(16*P)]);for(var E=0;E{q.encrypt=function(p,e){return p._cipher.encryptBlock(e)},q.decrypt=function(p,e){return p._cipher.decryptBlock(e)}},2421:(Fe,q,p)=>{var e={ECB:p(5995),CBC:p(1175),CFB:p(3631),CFB8:p(6787),CFB1:p(3892),OFB:p(4532),CTR:p(5268),GCM:p(5268)},t=p(4946);for(var y in t)t[y].module=e[t[y].mode];Fe.exports=t},4532:(Fe,q,p)=>{var e=p(3636);function t(y){return y._prev=y._cipher.encryptBlock(y._prev),y._prev}q.encrypt=function(y,A){for(;y._cache.length{var e=p(6403),t=p(843).Buffer,y=p(6420);function l(w,m,P,d){y.call(this),this._cipher=new e.AES(m),this._prev=t.from(P),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=w}p(6698)(l,y),l.prototype._update=function(w){return this._mode.encrypt(this,w,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},Fe.exports=l},5600:(Fe,q,p)=>{var e=p(4948),t=p(2489),y=p(2421),A=p(9402),l=p(6505);function P(M,I,k){if(M=M.toLowerCase(),y[M])return t.createCipheriv(M,I,k);if(A[M])return new e({key:I,iv:k,mode:M});throw new TypeError("invalid suite type")}function d(M,I,k){if(M=M.toLowerCase(),y[M])return t.createDecipheriv(M,I,k);if(A[M])return new e({key:I,iv:k,mode:M,decrypt:!0});throw new TypeError("invalid suite type")}q.createCipher=q.Cipher=function w(M,I){var k,z;if(M=M.toLowerCase(),y[M])k=y[M].key,z=y[M].iv;else{if(!A[M])throw new TypeError("invalid suite type");k=8*A[M].key,z=A[M].iv}var B=l(I,!1,k,z);return P(M,B.key,B.iv)},q.createCipheriv=q.Cipheriv=P,q.createDecipher=q.Decipher=function m(M,I){var k,z;if(M=M.toLowerCase(),y[M])k=y[M].key,z=y[M].iv;else{if(!A[M])throw new TypeError("invalid suite type");k=8*A[M].key,z=A[M].iv}var B=l(I,!1,k,z);return d(M,B.key,B.iv)},q.createDecipheriv=q.Decipheriv=d,q.listCiphers=q.getCiphers=function E(){return Object.keys(A).concat(t.getCiphers())}},4948:(Fe,q,p)=>{var e=p(6420),t=p(132),y=p(6698),A=p(843).Buffer,l={"des-ede3-cbc":t.CBC.instantiate(t.EDE),"des-ede3":t.EDE,"des-ede-cbc":t.CBC.instantiate(t.EDE),"des-ede":t.EDE,"des-cbc":t.CBC.instantiate(t.DES),"des-ecb":t.DES};function w(m){e.call(this);var E,P=m.mode.toLowerCase(),d=l[P];E=m.decrypt?"decrypt":"encrypt";var M=m.key;A.isBuffer(M)||(M=A.from(M)),("des-ede"===P||"des-ede-cbc"===P)&&(M=A.concat([M,M.slice(0,8)]));var I=m.iv;A.isBuffer(I)||(I=A.from(I)),this._des=d.create({key:M,iv:I,type:E})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],Fe.exports=w,y(w,e),w.prototype._update=function(m){return A.from(this._des.update(m))},w.prototype._final=function(){return A.from(this._des.final())}},9402:(Fe,q)=>{q["des-ecb"]={key:8,iv:0},q["des-cbc"]=q.des={key:8,iv:8},q["des-ede3-cbc"]=q.des3={key:24,iv:8},q["des-ede3"]={key:24,iv:0},q["des-ede-cbc"]={key:16,iv:8},q["des-ede"]={key:16,iv:0}},1946:(Fe,q,p)=>{var e=p(2662),t=p(4019);function A(w){var P,m=w.modulus.byteLength();do{P=new e(t(m))}while(P.cmp(w.modulus)>=0||!P.umod(w.prime1)||!P.umod(w.prime2));return P}function l(w,m){var P=function y(w){var m=A(w);return{blinder:m.toRed(e.mont(w.modulus)).redPow(new e(w.publicExponent)).fromRed(),unblinder:m.invm(w.modulus)}}(m),d=m.modulus.byteLength(),E=new e(w).mul(P.blinder).umod(m.modulus),M=E.toRed(e.mont(m.prime1)),I=E.toRed(e.mont(m.prime2)),k=m.coefficient,z=m.prime1,B=m.prime2,W=M.redPow(m.exponent1).fromRed(),j=I.redPow(m.exponent2).fromRed(),K=W.isub(j).imul(k).umod(z).imul(B);return j.iadd(K).imul(P.unblinder).umod(m.modulus).toArrayLike(Buffer,"be",d)}l.getr=A,Fe.exports=l},1699:(Fe,q,p)=>{"use strict";Fe.exports=p(5207)},7686:(Fe,q,p)=>{"use strict";var e=p(843).Buffer,t=p(6362),y=p(6745),A=p(6698),l=p(3602),w=p(1173),m=p(5207);function P(I){y.Writable.call(this);var k=m[I];if(!k)throw new Error("Unknown message digest");this._hashType=k.hash,this._hash=t(k.hash),this._tag=k.id,this._signType=k.sign}function d(I){y.Writable.call(this);var k=m[I];if(!k)throw new Error("Unknown message digest");this._hash=t(k.hash),this._tag=k.id,this._signType=k.sign}function E(I){return new P(I)}function M(I){return new d(I)}Object.keys(m).forEach(function(I){m[I].id=e.from(m[I].id,"hex"),m[I.toLowerCase()]=m[I]}),A(P,y.Writable),P.prototype._write=function(k,z,B){this._hash.update(k),B()},P.prototype.update=function(k,z){return this._hash.update("string"==typeof k?e.from(k,z):k),this},P.prototype.sign=function(k,z){this.end();var B=this._hash.digest(),W=l(B,k,this._hashType,this._signType,this._tag);return z?W.toString(z):W},A(d,y.Writable),d.prototype._write=function(k,z,B){this._hash.update(k),B()},d.prototype.update=function(k,z){return this._hash.update("string"==typeof k?e.from(k,z):k),this},d.prototype.verify=function(k,z,B){var W="string"==typeof z?e.from(z,B):z;this.end();var j=this._hash.digest();return w(W,j,k,this._signType,this._tag)},Fe.exports={Sign:E,Verify:M,createSign:E,createVerify:M}},3602:(Fe,q,p)=>{"use strict";var e=p(843).Buffer,t=p(5825),y=p(1946),A=p(8651).ec,l=p(2662),w=p(7983),m=p(1308);function k(K,X,ie,se){if((K=e.from(K.toArray())).length0&&ie.ishrn(se),ie}function W(K,X,ie){var se,ue;do{for(se=e.alloc(0);8*se.length{"use strict";var e=p(843).Buffer,t=p(2662),y=p(8651).ec,A=p(7983),l=p(1308);function d(E,M){if(E.cmpn(0)<=0)throw new Error("invalid sig");if(E.cmp(M)>=0)throw new Error("invalid sig")}Fe.exports=function w(E,M,I,k,z){var B=A(I);if("ec"===B.type){if("ecdsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");return function m(E,M,I){var k=l[I.data.algorithm.curve.join(".")];if(!k)throw new Error("unknown curve "+I.data.algorithm.curve.join("."));return new y(k).verify(M,E,I.data.subjectPrivateKey.data)}(E,M,B)}if("dsa"===B.type){if("dsa"!==k)throw new Error("wrong public key type");return function P(E,M,I){var k=I.data.p,z=I.data.q,B=I.data.g,W=I.data.pub_key,j=A.signature.decode(E,"der"),K=j.s,X=j.r;d(K,z),d(X,z);var ie=t.mont(k),se=K.invm(z);return 0===B.toRed(ie).redPow(new t(M).mul(se).mod(z)).fromRed().mul(W.toRed(ie).redPow(X.mul(se).mod(z)).fromRed()).mod(k).mod(z).cmp(X)}(E,M,B)}if("rsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");M=e.concat([z,M]);for(var W=B.modulus.byteLength(),j=[1],K=0;M.length+j.length+2{Fe.exports=function(p,e){for(var t=Math.min(p.length,e.length),y=new Buffer(t),A=0;A{"use strict";var e=p(9919),t=p(2601),y="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;q.Buffer=m,q.SlowBuffer=function K(re){return+re!=re&&(re=0),m.alloc(+re)},q.INSPECT_MAX_BYTES=50;var A=2147483647;function w(re){if(re>A)throw new RangeError('The value "'+re+'" is invalid for option "size"');var ve=new Uint8Array(re);return Object.setPrototypeOf(ve,m.prototype),ve}function m(re,ve,ce){if("number"==typeof re){if("string"==typeof ve)throw new TypeError('The "string" argument must be of type string. Received type number');return M(re)}return P(re,ve,ce)}function P(re,ve,ce){if("string"==typeof re)return function I(re,ve){if(("string"!=typeof ve||""===ve)&&(ve="utf8"),!m.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve);var ce=0|X(re,ve),Ze=w(ce),We=Ze.write(re,ve);return We!==ce&&(Ze=Ze.slice(0,We)),Ze}(re,ve);if(ArrayBuffer.isView(re))return function z(re){if(le(re,Uint8Array)){var ve=new Uint8Array(re);return B(ve.buffer,ve.byteOffset,ve.byteLength)}return k(re)}(re);if(null==re)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re);if(le(re,ArrayBuffer)||re&&le(re.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(le(re,SharedArrayBuffer)||re&&le(re.buffer,SharedArrayBuffer)))return B(re,ve,ce);if("number"==typeof re)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ze=re.valueOf&&re.valueOf();if(null!=Ze&&Ze!==re)return m.from(Ze,ve,ce);var We=function W(re){if(m.isBuffer(re)){var ve=0|j(re.length),ce=w(ve);return 0===ce.length||re.copy(ce,0,0,ve),ce}return void 0!==re.length?"number"!=typeof re.length||pe(re.length)?w(0):k(re):"Buffer"===re.type&&Array.isArray(re.data)?k(re.data):void 0}(re);if(We)return We;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof re[Symbol.toPrimitive])return m.from(re[Symbol.toPrimitive]("string"),ve,ce);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof re)}function d(re){if("number"!=typeof re)throw new TypeError('"size" argument must be of type number');if(re<0)throw new RangeError('The value "'+re+'" is invalid for option "size"')}function M(re){return d(re),w(re<0?0:0|j(re))}function k(re){for(var ve=re.length<0?0:0|j(re.length),ce=w(ve),Ze=0;Ze=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return 0|re}function X(re,ve){if(m.isBuffer(re))return re.length;if(ArrayBuffer.isView(re)||le(re,ArrayBuffer))return re.byteLength;if("string"!=typeof re)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof re);var ce=re.length,Ze=arguments.length>2&&!0===arguments[2];if(!Ze&&0===ce)return 0;for(var We=!1;;)switch(ve){case"ascii":case"latin1":case"binary":return ce;case"utf8":case"utf-8":return Je(re).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ce;case"hex":return ce>>>1;case"base64":return de(re).length;default:if(We)return Ze?-1:Je(re).length;ve=(""+ve).toLowerCase(),We=!0}}function ie(re,ve,ce){var Ze=!1;if((void 0===ve||ve<0)&&(ve=0),ve>this.length||((void 0===ce||ce>this.length)&&(ce=this.length),ce<=0)||(ce>>>=0)<=(ve>>>=0))return"";for(re||(re="utf8");;)switch(re){case"hex":return v(this,ve,ce);case"utf8":case"utf-8":return f(this,ve,ce);case"ascii":return D(this,ve,ce);case"latin1":case"binary":return O(this,ve,ce);case"base64":return s(this,ve,ce);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,ve,ce);default:if(Ze)throw new TypeError("Unknown encoding: "+re);re=(re+"").toLowerCase(),Ze=!0}}function se(re,ve,ce){var Ze=re[ve];re[ve]=re[ce],re[ce]=Ze}function ue(re,ve,ce,Ze,We){if(0===re.length)return-1;if("string"==typeof ce?(Ze=ce,ce=0):ce>2147483647?ce=2147483647:ce<-2147483648&&(ce=-2147483648),pe(ce=+ce)&&(ce=We?0:re.length-1),ce<0&&(ce=re.length+ce),ce>=re.length){if(We)return-1;ce=re.length-1}else if(ce<0){if(!We)return-1;ce=0}if("string"==typeof ve&&(ve=m.from(ve,Ze)),m.isBuffer(ve))return 0===ve.length?-1:ae(re,ve,ce,Ze,We);if("number"==typeof ve)return ve&=255,"function"==typeof Uint8Array.prototype.indexOf?We?Uint8Array.prototype.indexOf.call(re,ve,ce):Uint8Array.prototype.lastIndexOf.call(re,ve,ce):ae(re,[ve],ce,Ze,We);throw new TypeError("val must be string, number or Buffer")}function ae(re,ve,ce,Ze,We){var Be,Ct=1,ut=re.length,It=ve.length;if(void 0!==Ze&&("ucs2"===(Ze=String(Ze).toLowerCase())||"ucs-2"===Ze||"utf16le"===Ze||"utf-16le"===Ze)){if(re.length<2||ve.length<2)return-1;Ct=2,ut/=2,It/=2,ce/=2}function Ae(lt,Qe){return 1===Ct?lt[Qe]:lt.readUInt16BE(Qe*Ct)}if(We){var rt=-1;for(Be=ce;Beut&&(ce=ut-It),Be=ce;Be>=0;Be--){for(var $e=!0,Ie=0;IeWe&&(Ze=We):Ze=We;var Ct=ve.length;Ze>Ct/2&&(Ze=Ct/2);for(var ut=0;ut>8,Ct.push(ce%256),Ct.push(Ze);return Ct}(ve,re.length-ce),re,ce,Ze)}function s(re,ve,ce){return e.fromByteArray(0===ve&&ce===re.length?re:re.slice(ve,ce))}function f(re,ve,ce){ce=Math.min(re.length,ce);for(var Ze=[],We=ve;We239?4:Ct>223?3:Ct>191?2:1;if(We+It<=ce)switch(It){case 1:Ct<128&&(ut=Ct);break;case 2:128==(192&(Ae=re[We+1]))&&($e=(31&Ct)<<6|63&Ae)>127&&(ut=$e);break;case 3:Be=re[We+2],128==(192&(Ae=re[We+1]))&&128==(192&Be)&&($e=(15&Ct)<<12|(63&Ae)<<6|63&Be)>2047&&($e<55296||$e>57343)&&(ut=$e);break;case 4:Be=re[We+2],rt=re[We+3],128==(192&(Ae=re[We+1]))&&128==(192&Be)&&128==(192&rt)&&($e=(15&Ct)<<18|(63&Ae)<<12|(63&Be)<<6|63&rt)>65535&&$e<1114112&&(ut=$e)}null===ut?(ut=65533,It=1):ut>65535&&(Ze.push((ut-=65536)>>>10&1023|55296),ut=56320|1023&ut),Ze.push(ut),We+=It}return function C(re){var ve=re.length;if(ve<=h)return String.fromCharCode.apply(String,re);for(var ce="",Ze=0;ZeWe.length?m.from(ut).copy(We,Ct):Uint8Array.prototype.set.call(We,ut,Ct);else{if(!m.isBuffer(ut))throw new TypeError('"list" argument must be an Array of Buffers');ut.copy(We,Ct)}Ct+=ut.length}return We},m.byteLength=X,m.prototype._isBuffer=!0,m.prototype.swap16=function(){var ve=this.length;if(ve%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ce=0;cece&&(ve+=" ... "),""},y&&(m.prototype[y]=m.prototype.inspect),m.prototype.compare=function(ve,ce,Ze,We,Ct){if(le(ve,Uint8Array)&&(ve=m.from(ve,ve.offset,ve.byteLength)),!m.isBuffer(ve))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ve);if(void 0===ce&&(ce=0),void 0===Ze&&(Ze=ve?ve.length:0),void 0===We&&(We=0),void 0===Ct&&(Ct=this.length),ce<0||Ze>ve.length||We<0||Ct>this.length)throw new RangeError("out of range index");if(We>=Ct&&ce>=Ze)return 0;if(We>=Ct)return-1;if(ce>=Ze)return 1;if(this===ve)return 0;for(var ut=(Ct>>>=0)-(We>>>=0),It=(Ze>>>=0)-(ce>>>=0),Ae=Math.min(ut,It),Be=this.slice(We,Ct),rt=ve.slice(ce,Ze),$e=0;$e>>=0,isFinite(Ze)?(Ze>>>=0,void 0===We&&(We="utf8")):(We=Ze,Ze=void 0)}var Ct=this.length-ce;if((void 0===Ze||Ze>Ct)&&(Ze=Ct),ve.length>0&&(Ze<0||ce<0)||ce>this.length)throw new RangeError("Attempt to write outside buffer bounds");We||(We="utf8");for(var ut=!1;;)switch(We){case"hex":return Me(this,ve,ce,Ze);case"utf8":case"utf-8":return J(this,ve,ce,Ze);case"ascii":case"latin1":case"binary":return he(this,ve,ce,Ze);case"base64":return S(this,ve,ce,Ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ve,ce,Ze);default:if(ut)throw new TypeError("Unknown encoding: "+We);We=(""+We).toLowerCase(),ut=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var h=4096;function D(re,ve,ce){var Ze="";ce=Math.min(re.length,ce);for(var We=ve;WeZe)&&(ce=Ze);for(var We="",Ct=ve;Ctce)throw new RangeError("Trying to access beyond buffer length")}function H(re,ve,ce,Ze,We,Ct){if(!m.isBuffer(re))throw new TypeError('"buffer" argument must be a Buffer instance');if(ve>We||vere.length)throw new RangeError("Index out of range")}function R(re,ve,ce,Ze,We,Ct){if(ce+Ze>re.length)throw new RangeError("Index out of range");if(ce<0)throw new RangeError("Index out of range")}function ee(re,ve,ce,Ze,We){return ve=+ve,ce>>>=0,We||R(re,0,ce,4),t.write(re,ve,ce,Ze,23,4),ce+4}function De(re,ve,ce,Ze,We){return ve=+ve,ce>>>=0,We||R(re,0,ce,8),t.write(re,ve,ce,Ze,52,8),ce+8}m.prototype.slice=function(ve,ce){var Ze=this.length;(ve=~~ve)<0?(ve+=Ze)<0&&(ve=0):ve>Ze&&(ve=Ze),(ce=void 0===ce?Ze:~~ce)<0?(ce+=Ze)<0&&(ce=0):ce>Ze&&(ce=Ze),ce>>=0,ce>>>=0,Ze||g(ve,ce,this.length);for(var We=this[ve],Ct=1,ut=0;++ut>>=0,ce>>>=0,Ze||g(ve,ce,this.length);for(var We=this[ve+--ce],Ct=1;ce>0&&(Ct*=256);)We+=this[ve+--ce]*Ct;return We},m.prototype.readUint8=m.prototype.readUInt8=function(ve,ce){return ve>>>=0,ce||g(ve,1,this.length),this[ve]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(ve,ce){return ve>>>=0,ce||g(ve,2,this.length),this[ve]|this[ve+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(ve,ce){return ve>>>=0,ce||g(ve,2,this.length),this[ve]<<8|this[ve+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),(this[ve]|this[ve+1]<<8|this[ve+2]<<16)+16777216*this[ve+3]},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),16777216*this[ve]+(this[ve+1]<<16|this[ve+2]<<8|this[ve+3])},m.prototype.readIntLE=function(ve,ce,Ze){ve>>>=0,ce>>>=0,Ze||g(ve,ce,this.length);for(var We=this[ve],Ct=1,ut=0;++ut=(Ct*=128)&&(We-=Math.pow(2,8*ce)),We},m.prototype.readIntBE=function(ve,ce,Ze){ve>>>=0,ce>>>=0,Ze||g(ve,ce,this.length);for(var We=ce,Ct=1,ut=this[ve+--We];We>0&&(Ct*=256);)ut+=this[ve+--We]*Ct;return ut>=(Ct*=128)&&(ut-=Math.pow(2,8*ce)),ut},m.prototype.readInt8=function(ve,ce){return ve>>>=0,ce||g(ve,1,this.length),128&this[ve]?-1*(255-this[ve]+1):this[ve]},m.prototype.readInt16LE=function(ve,ce){ve>>>=0,ce||g(ve,2,this.length);var Ze=this[ve]|this[ve+1]<<8;return 32768&Ze?4294901760|Ze:Ze},m.prototype.readInt16BE=function(ve,ce){ve>>>=0,ce||g(ve,2,this.length);var Ze=this[ve+1]|this[ve]<<8;return 32768&Ze?4294901760|Ze:Ze},m.prototype.readInt32LE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),this[ve]|this[ve+1]<<8|this[ve+2]<<16|this[ve+3]<<24},m.prototype.readInt32BE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),this[ve]<<24|this[ve+1]<<16|this[ve+2]<<8|this[ve+3]},m.prototype.readFloatLE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),t.read(this,ve,!0,23,4)},m.prototype.readFloatBE=function(ve,ce){return ve>>>=0,ce||g(ve,4,this.length),t.read(this,ve,!1,23,4)},m.prototype.readDoubleLE=function(ve,ce){return ve>>>=0,ce||g(ve,8,this.length),t.read(this,ve,!0,52,8)},m.prototype.readDoubleBE=function(ve,ce){return ve>>>=0,ce||g(ve,8,this.length),t.read(this,ve,!1,52,8)},m.prototype.writeUintLE=m.prototype.writeUIntLE=function(ve,ce,Ze,We){ve=+ve,ce>>>=0,Ze>>>=0,We||H(this,ve,ce,Ze,Math.pow(2,8*Ze)-1,0);var ut=1,It=0;for(this[ce]=255&ve;++It>>=0,Ze>>>=0,We||H(this,ve,ce,Ze,Math.pow(2,8*Ze)-1,0);var ut=Ze-1,It=1;for(this[ce+ut]=255&ve;--ut>=0&&(It*=256);)this[ce+ut]=ve/It&255;return ce+Ze},m.prototype.writeUint8=m.prototype.writeUInt8=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,1,255,0),this[ce]=255&ve,ce+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,2,65535,0),this[ce]=255&ve,this[ce+1]=ve>>>8,ce+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,2,65535,0),this[ce]=ve>>>8,this[ce+1]=255&ve,ce+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,4,4294967295,0),this[ce+3]=ve>>>24,this[ce+2]=ve>>>16,this[ce+1]=ve>>>8,this[ce]=255&ve,ce+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,4,4294967295,0),this[ce]=ve>>>24,this[ce+1]=ve>>>16,this[ce+2]=ve>>>8,this[ce+3]=255&ve,ce+4},m.prototype.writeIntLE=function(ve,ce,Ze,We){if(ve=+ve,ce>>>=0,!We){var Ct=Math.pow(2,8*Ze-1);H(this,ve,ce,Ze,Ct-1,-Ct)}var ut=0,It=1,Ae=0;for(this[ce]=255&ve;++ut>0)-Ae&255;return ce+Ze},m.prototype.writeIntBE=function(ve,ce,Ze,We){if(ve=+ve,ce>>>=0,!We){var Ct=Math.pow(2,8*Ze-1);H(this,ve,ce,Ze,Ct-1,-Ct)}var ut=Ze-1,It=1,Ae=0;for(this[ce+ut]=255&ve;--ut>=0&&(It*=256);)ve<0&&0===Ae&&0!==this[ce+ut+1]&&(Ae=1),this[ce+ut]=(ve/It>>0)-Ae&255;return ce+Ze},m.prototype.writeInt8=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,1,127,-128),ve<0&&(ve=255+ve+1),this[ce]=255&ve,ce+1},m.prototype.writeInt16LE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,2,32767,-32768),this[ce]=255&ve,this[ce+1]=ve>>>8,ce+2},m.prototype.writeInt16BE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,2,32767,-32768),this[ce]=ve>>>8,this[ce+1]=255&ve,ce+2},m.prototype.writeInt32LE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,4,2147483647,-2147483648),this[ce]=255&ve,this[ce+1]=ve>>>8,this[ce+2]=ve>>>16,this[ce+3]=ve>>>24,ce+4},m.prototype.writeInt32BE=function(ve,ce,Ze){return ve=+ve,ce>>>=0,Ze||H(this,ve,ce,4,2147483647,-2147483648),ve<0&&(ve=4294967295+ve+1),this[ce]=ve>>>24,this[ce+1]=ve>>>16,this[ce+2]=ve>>>8,this[ce+3]=255&ve,ce+4},m.prototype.writeFloatLE=function(ve,ce,Ze){return ee(this,ve,ce,!0,Ze)},m.prototype.writeFloatBE=function(ve,ce,Ze){return ee(this,ve,ce,!1,Ze)},m.prototype.writeDoubleLE=function(ve,ce,Ze){return De(this,ve,ce,!0,Ze)},m.prototype.writeDoubleBE=function(ve,ce,Ze){return De(this,ve,ce,!1,Ze)},m.prototype.copy=function(ve,ce,Ze,We){if(!m.isBuffer(ve))throw new TypeError("argument should be a Buffer");if(Ze||(Ze=0),!We&&0!==We&&(We=this.length),ce>=ve.length&&(ce=ve.length),ce||(ce=0),We>0&&We=this.length)throw new RangeError("Index out of range");if(We<0)throw new RangeError("sourceEnd out of bounds");We>this.length&&(We=this.length),ve.length-ce>>=0,Ze=void 0===Ze?this.length:Ze>>>0,ve||(ve=0),"number"==typeof ve)for(ut=ce;ut55295&&ce<57344){if(!We){if(ce>56319){(ve-=3)>-1&&Ct.push(239,191,189);continue}if(ut+1===Ze){(ve-=3)>-1&&Ct.push(239,191,189);continue}We=ce;continue}if(ce<56320){(ve-=3)>-1&&Ct.push(239,191,189),We=ce;continue}ce=65536+(We-55296<<10|ce-56320)}else We&&(ve-=3)>-1&&Ct.push(239,191,189);if(We=null,ce<128){if((ve-=1)<0)break;Ct.push(ce)}else if(ce<2048){if((ve-=2)<0)break;Ct.push(ce>>6|192,63&ce|128)}else if(ce<65536){if((ve-=3)<0)break;Ct.push(ce>>12|224,ce>>6&63|128,63&ce|128)}else{if(!(ce<1114112))throw new Error("Invalid code point");if((ve-=4)<0)break;Ct.push(ce>>18|240,ce>>12&63|128,ce>>6&63|128,63&ce|128)}}return Ct}function de(re){return e.toByteArray(function Ke(re){if((re=(re=re.split("=")[0]).trim().replace(ct,"")).length<2)return"";for(;re.length%4!=0;)re+="=";return re}(re))}function xe(re,ve,ce,Ze){for(var We=0;We=ve.length||We>=re.length);++We)ve[We+ce]=re[We];return We}function le(re,ve){return re instanceof ve||null!=re&&null!=re.constructor&&null!=re.constructor.name&&re.constructor.name===ve.name}function pe(re){return re!=re}var qe=function(){for(var re="0123456789abcdef",ve=new Array(256),ce=0;ce<16;++ce)for(var Ze=16*ce,We=0;We<16;++We)ve[Ze+We]=re[ce]+re[We];return ve}()},6420:(Fe,q,p)=>{var e=p(843).Buffer,t=p(1793).Transform,y=p(2024).s;function l(w){t.call(this),this.hashMode="string"==typeof w,this.hashMode?this[w]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}p(6698)(l,t),l.prototype.update=function(w,m,P){"string"==typeof w&&(w=e.from(w,m));var d=this._update(w);return this.hashMode?this:(P&&(d=this._toString(d,P)),d)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(w,m,P){var d;try{this.hashMode?this._update(w):this.push(this._update(w))}catch(E){d=E}finally{P(d)}},l.prototype._flush=function(w){var m;try{this.push(this.__final())}catch(P){m=P}w(m)},l.prototype._finalOrDigest=function(w){var m=this.__final()||e.alloc(0);return w&&(m=this._toString(m,w,!0)),m},l.prototype._toString=function(w,m,P){if(this._decoder||(this._decoder=new y(m),this._encoding=m),this._encoding!==m)throw new Error("can't switch encodings");var d=this._decoder.write(w);return P&&(d+=this._decoder.end()),d},Fe.exports=l},188:function(Fe){!function(q){"use strict";var p={bytesToHex:function(y){return function e(y){return y.map(function(A){return function t(y,A){return y.length>A?y:Array(A-y.length+1).join("0")+y}(A.toString(16),2)}).join("")}(y)},hexToBytes:function(y){if(y.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===y.indexOf("0x")&&(y=y.slice(2)),y.match(/../g).map(function(A){return parseInt(A,16)})}};Fe.exports?Fe.exports=p:q.convertHex=p}(this)},5486:function(Fe){!function(q){"use strict";var p={bytesToString:function(e){return e.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(e){return e.split("").map(function(t){return t.charCodeAt(0)})}};p.UTF8={bytesToString:function(e){return decodeURIComponent(escape(p.bytesToString(e)))},stringToBytes:function(e){return p.stringToBytes(unescape(encodeURIComponent(e)))}},Fe.exports?Fe.exports=p:q.convertString=p}(this)},8840:(Fe,q,p)=>{var e=p(8651),t=p(3185);Fe.exports=function(m){return new A(m)};var y={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function A(w){this.curveType=y[w],this.curveType||(this.curveType={name:w}),this.curve=new e.ec(this.curveType.name),this.keys=void 0}function l(w,m,P){Array.isArray(w)||(w=w.toArray());var d=new Buffer(w);if(P&&d.length=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,C=Math.min(S.length,s),D=n;D=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h=0;h-=3)this.words[C]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);else if("le"===f)for(h=0,C=0;h>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h=s;h-=2)O=P(n,s,h)<=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;else for(h=(n.length-s)%2==0?s+1:s;h=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=s)h++;h--,C=C/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],C=0|n.words[0],D=h*C,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r>>26,H=67108863&v,R=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=R;ee++)g+=(D=(h=0|S.words[r-ee|0])*(C=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,C=0,D=0;D>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==C&&(f=C.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var R=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?R+f:E[r-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof w<"u"),this.toArrayLike(w,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),C=f||Math.max(1,h);y(h<=C,"byte array longer than desired length"),y(C>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(C),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;sn.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;fn.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;hn.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<n.length?(f=this,h=n):(f=n,h=this);for(var C=0,D=0;D>>26;for(;0!==C&&D>>26;if(this.length=f.length,0!==C)this.words[this.length]=C,this.length++;else if(f!==this)for(;Dn.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,C=n):(h=n,C=this);for(var D=0,O=0;O>26,this.words[O]=67108863&s;for(;0!==D&&O>26,this.words[O]=67108863&s;if(0===D&&O>>13,De=0|h[1],ct=8191&De,Ke=De>>>13,Je=0|h[2],ye=8191&Je,fe=Je>>>13,de=0|h[3],xe=8191&de,le=de>>>13,pe=0|h[4],qe=8191&pe,re=pe>>>13,ve=0|h[5],ce=8191&ve,Ze=ve>>>13,We=0|h[6],Ct=8191&We,ut=We>>>13,It=0|h[7],Ae=8191&It,Be=It>>>13,rt=0|h[8],$e=8191&rt,Ie=rt>>>13,lt=0|h[9],Qe=8191<,St=lt>>>13,dt=0|C[0],te=8191&dt,Ue=dt>>>13,Bt=0|C[1],Ye=8191&Bt,je=Bt>>>13,Ft=0|C[2],xt=8191&Ft,Ot=Ft>>>13,yt=0|C[3],at=8191&yt,Ee=yt>>>13,nt=0|C[4],Ge=8191&nt,Xe=nt>>>13,gt=0|C[5],Le=8191>,be=gt>>>13,$=0|C[6],ne=8191&$,ke=$>>>13,Nt=0|C[7],At=8191&Nt,Wt=Nt>>>13,gi=0|C[8],ei=8191&gi,$t=gi>>>13,Fi=0|C[9],li=8191&Fi,ui=Fi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(R,te))|0)+((8191&(r=(r=Math.imul(R,Ue))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Ue))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ct,te),r=(r=Math.imul(ct,Ue))+Math.imul(Ke,te)|0,g=Math.imul(Ke,Ue);var Ki=(O+(v=v+Math.imul(R,Ye)|0)|0)+((8191&(r=(r=r+Math.imul(R,je)|0)+Math.imul(ee,Ye)|0))<<13)|0;O=((g=g+Math.imul(ee,je)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Ue))+Math.imul(fe,te)|0,g=Math.imul(fe,Ue),v=v+Math.imul(ct,Ye)|0,r=(r=r+Math.imul(ct,je)|0)+Math.imul(Ke,Ye)|0,g=g+Math.imul(Ke,je)|0;var Mi=(O+(v=v+Math.imul(R,xt)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Ue))+Math.imul(le,te)|0,g=Math.imul(le,Ue),v=v+Math.imul(ye,Ye)|0,r=(r=r+Math.imul(ye,je)|0)+Math.imul(fe,Ye)|0,g=g+Math.imul(fe,je)|0,v=v+Math.imul(ct,xt)|0,r=(r=r+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0,g=g+Math.imul(Ke,Ot)|0;var on=(O+(v=v+Math.imul(R,at)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ee)|0)+Math.imul(ee,at)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(on>>>26)|0,on&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Ue))+Math.imul(re,te)|0,g=Math.imul(re,Ue),v=v+Math.imul(xe,Ye)|0,r=(r=r+Math.imul(xe,je)|0)+Math.imul(le,Ye)|0,g=g+Math.imul(le,je)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,g=g+Math.imul(fe,Ot)|0,v=v+Math.imul(ct,at)|0,r=(r=r+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0,g=g+Math.imul(Ke,Ee)|0;var st=(O+(v=v+Math.imul(R,Ge)|0)|0)+((8191&(r=(r=r+Math.imul(R,Xe)|0)+Math.imul(ee,Ge)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,v=Math.imul(ce,te),r=(r=Math.imul(ce,Ue))+Math.imul(Ze,te)|0,g=Math.imul(Ze,Ue),v=v+Math.imul(qe,Ye)|0,r=(r=r+Math.imul(qe,je)|0)+Math.imul(re,Ye)|0,g=g+Math.imul(re,je)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,g=g+Math.imul(le,Ot)|0,v=v+Math.imul(ye,at)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(ct,Ge)|0,r=(r=r+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0,g=g+Math.imul(Ke,Xe)|0;var si=(O+(v=v+Math.imul(R,Le)|0)|0)+((8191&(r=(r=r+Math.imul(R,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(Ct,te),r=(r=Math.imul(Ct,Ue))+Math.imul(ut,te)|0,g=Math.imul(ut,Ue),v=v+Math.imul(ce,Ye)|0,r=(r=r+Math.imul(ce,je)|0)+Math.imul(Ze,Ye)|0,g=g+Math.imul(Ze,je)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,g=g+Math.imul(re,Ot)|0,v=v+Math.imul(xe,at)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ge)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,g=g+Math.imul(fe,Xe)|0,v=v+Math.imul(ct,Le)|0,r=(r=r+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0,g=g+Math.imul(Ke,be)|0;var Ce=(O+(v=v+Math.imul(R,ne)|0)|0)+((8191&(r=(r=r+Math.imul(R,ke)|0)+Math.imul(ee,ne)|0))<<13)|0;O=((g=g+Math.imul(ee,ke)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Ue))+Math.imul(Be,te)|0,g=Math.imul(Be,Ue),v=v+Math.imul(Ct,Ye)|0,r=(r=r+Math.imul(Ct,je)|0)+Math.imul(ut,Ye)|0,g=g+Math.imul(ut,je)|0,v=v+Math.imul(ce,xt)|0,r=(r=r+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,g=g+Math.imul(Ze,Ot)|0,v=v+Math.imul(qe,at)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,g=g+Math.imul(re,Ee)|0,v=v+Math.imul(xe,Ge)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,g=g+Math.imul(le,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(ct,ne)|0,r=(r=r+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0,g=g+Math.imul(Ke,ke)|0;var Mt=(O+(v=v+Math.imul(R,At)|0)|0)+((8191&(r=(r=r+Math.imul(R,Wt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Wt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Ue))+Math.imul(Ie,te)|0,g=Math.imul(Ie,Ue),v=v+Math.imul(Ae,Ye)|0,r=(r=r+Math.imul(Ae,je)|0)+Math.imul(Be,Ye)|0,g=g+Math.imul(Be,je)|0,v=v+Math.imul(Ct,xt)|0,r=(r=r+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,g=g+Math.imul(ut,Ot)|0,v=v+Math.imul(ce,at)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,g=g+Math.imul(Ze,Ee)|0,v=v+Math.imul(qe,Ge)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,g=g+Math.imul(re,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,ke)|0,v=v+Math.imul(ct,At)|0,r=(r=r+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0,g=g+Math.imul(Ke,Wt)|0;var Ht=(O+(v=v+Math.imul(R,ei)|0)|0)+((8191&(r=(r=r+Math.imul(R,$t)|0)+Math.imul(ee,ei)|0))<<13)|0;O=((g=g+Math.imul(ee,$t)|0)+(r>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,v=Math.imul(Qe,te),r=(r=Math.imul(Qe,Ue))+Math.imul(St,te)|0,g=Math.imul(St,Ue),v=v+Math.imul($e,Ye)|0,r=(r=r+Math.imul($e,je)|0)+Math.imul(Ie,Ye)|0,g=g+Math.imul(Ie,je)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(Ct,at)|0,r=(r=r+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,g=g+Math.imul(ut,Ee)|0,v=v+Math.imul(ce,Ge)|0,r=(r=r+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,g=g+Math.imul(Ze,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,g=g+Math.imul(re,be)|0,v=v+Math.imul(xe,ne)|0,r=(r=r+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,ke)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Wt)|0,v=v+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0,g=g+Math.imul(Ke,$t)|0;var Dt=(O+(v=v+Math.imul(R,li)|0)|0)+((8191&(r=(r=r+Math.imul(R,ui)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,Ye),r=(r=Math.imul(Qe,je))+Math.imul(St,Ye)|0,g=Math.imul(St,je),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,g=g+Math.imul(Ie,Ot)|0,v=v+Math.imul(Ae,at)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(Ct,Ge)|0,r=(r=r+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,g=g+Math.imul(ut,Xe)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,g=g+Math.imul(Ze,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,g=g+Math.imul(re,ke)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Wt)|0,v=v+Math.imul(ye,ei)|0,r=(r=r+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,g=g+Math.imul(fe,$t)|0;var kt=(O+(v=v+Math.imul(ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;O=((g=g+Math.imul(Ke,ui)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,v=Math.imul(Qe,xt),r=(r=Math.imul(Qe,Ot))+Math.imul(St,xt)|0,g=Math.imul(St,Ot),v=v+Math.imul($e,at)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,g=g+Math.imul(Ie,Ee)|0,v=v+Math.imul(Ae,Ge)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(Ct,Le)|0,r=(r=r+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,g=g+Math.imul(ut,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,g=g+Math.imul(Ze,ke)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,g=g+Math.imul(re,Wt)|0,v=v+Math.imul(xe,ei)|0,r=(r=r+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,g=g+Math.imul(le,$t)|0;var Gt=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0))<<13)|0;O=((g=g+Math.imul(fe,ui)|0)+(r>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(Qe,at),r=(r=Math.imul(Qe,Ee))+Math.imul(St,at)|0,g=Math.imul(St,Ee),v=v+Math.imul($e,Ge)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,g=g+Math.imul(Ie,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(Ct,ne)|0,r=(r=r+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,g=g+Math.imul(ut,ke)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,g=g+Math.imul(Ze,Wt)|0,v=v+Math.imul(qe,ei)|0,r=(r=r+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,g=g+Math.imul(re,$t)|0;var oi=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,ui)|0)+Math.imul(le,li)|0))<<13)|0;O=((g=g+Math.imul(le,ui)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(Qe,Ge),r=(r=Math.imul(Qe,Xe))+Math.imul(St,Ge)|0,g=Math.imul(St,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,g=g+Math.imul(Ie,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,g=g+Math.imul(Be,ke)|0,v=v+Math.imul(Ct,At)|0,r=(r=r+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,g=g+Math.imul(ut,Wt)|0,v=v+Math.imul(ce,ei)|0,r=(r=r+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,g=g+Math.imul(Ze,$t)|0;var bi=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,ui)|0)+Math.imul(re,li)|0))<<13)|0;O=((g=g+Math.imul(re,ui)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(St,Le)|0,g=Math.imul(St,be),v=v+Math.imul($e,ne)|0,r=(r=r+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,g=g+Math.imul(Ie,ke)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Wt)|0,v=v+Math.imul(Ct,ei)|0,r=(r=r+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,g=g+Math.imul(ut,$t)|0;var yi=(O+(v=v+Math.imul(ce,li)|0)|0)+((8191&(r=(r=r+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0))<<13)|0;O=((g=g+Math.imul(Ze,ui)|0)+(r>>>13)|0)+(yi>>>26)|0,yi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,ke))+Math.imul(St,ne)|0,g=Math.imul(St,ke),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,g=g+Math.imul(Ie,Wt)|0,v=v+Math.imul(Ae,ei)|0,r=(r=r+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,g=g+Math.imul(Be,$t)|0;var Oi=(O+(v=v+Math.imul(Ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0))<<13)|0;O=((g=g+Math.imul(ut,ui)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Wt))+Math.imul(St,At)|0,g=Math.imul(St,Wt),v=v+Math.imul($e,ei)|0,r=(r=r+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,g=g+Math.imul(Ie,$t)|0;var Ui=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,ui)|0)+(r>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(Qe,ei),r=(r=Math.imul(Qe,$t))+Math.imul(St,ei)|0,g=Math.imul(St,$t);var Bi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0))<<13)|0;O=((g=g+Math.imul(Ie,ui)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863;var qt=(O+(v=Math.imul(Qe,li))|0)+((8191&(r=(r=Math.imul(Qe,ui))+Math.imul(St,li)|0))<<13)|0;return O=((g=Math.imul(St,ui))+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863,D[0]=un,D[1]=Ki,D[2]=Mi,D[3]=on,D[4]=st,D[5]=si,D[6]=Ce,D[7]=Mt,D[8]=Ht,D[9]=Dt,D[10]=kt,D[11]=Gt,D[12]=oi,D[13]=bi,D[14]=yi,D[15]=Oi,D[16]=Ui,D[17]=Bi,D[18]=qt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=z),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?z(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,C=0;C>>26)|0)>>>26,D&=67108863}s.words[C]=O,f=D,D=h}return 0!==f?s.words[C]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h>=1;return h},K.prototype.permute=function(n,s,f,h,C,D){for(var O=0;O>>=1)C++;return 1<>>=13),C>>>=13;for(D=2*s;D>=26,s+=h/67108864|0,s+=C>>>26,this.words[f]=67108863&C}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h=0);var C,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(C=0;C>>26-s}D&&(this.words[C]=D,this.length++)}if(0!==f){for(C=this.length-1;C>=0;C--)this.words[C+f]=this.words[C];for(C=0;C=0),h=s?(s-s%26)/26:0;var C=n%26,D=Math.min((n-C)/26,this.length),O=67108863^67108863>>>C<D)for(this.length-=D,r=0;r=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-C|H>>>C,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s>26)-(v/67108864|0),this.words[C+f]=67108863&D}for(;C>26,this.words[C+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,C=0;C>26,this.words[C]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),C=n,D=0|C.words[C.length-1];0!=(f=26-this._countBits(D))&&(C=C.ushln(f),h.iushln(f),D=0|C.words[C.length-1]);var r,v=h.length-C.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g=0;R--){var ee=67108864*(0|h.words[C.length+R])+(0|h.words[C.length+R-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(C,ee,R);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(C,1,R),h.isZero()||(h.negative^=1);r&&(r.words[R]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.isub(n)),{div:D.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,C,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),C=n.andln(1),D=f.cmp(h);return D<0||1===C&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,R=1;!(s.words[0]&R)&&H<26;++H,R<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(g)),h.iushrn(1),C.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),C.isub(O)):(f.isub(s),D.isub(h),O.isub(C))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(D),C.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(C)):(f.isub(s),C.isub(h))}return(H=0===s.cmpn(1)?h:C).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var C=s.cmp(f);if(C<0){var D=s;s=f,f=D}else if(0===C||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<>>26,this.words[D]=O&=67108863}return 0!==C&&(this.words[D]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:hn.length)return 1;if(this.length=0;f--){var h=0|this.words[f],C=0|n.words[f];if(h!==C){hC&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new J(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function se(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function J(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){J.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(se,ie),se.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),C=0;C>>22,D=O}n.words[C-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},se.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f>>=26,n.words[f]=C,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new se;else if("p224"===n)s=new ue;else if("p192"===n)s=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},J.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},J.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},J.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},J.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},J.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},J.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},J.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},J.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},J.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},J.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},J.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},J.prototype.isqr=function(n){return this.imul(n,n.clone())},J.prototype.sqr=function(n){return this.mul(n,n)},J.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),R=this.pow(n,h),ee=C;0!==R.cmp(D);){for(var De=R,ct=0;0!==De.cmp(D);ct++)De=De.redSqr();y(ct=0;C--){for(var g=s.words[C],H=r-1;H>=0;H--){var R=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==R||0!==O?(O<<=1,O|=R,(4==++v||0===C&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},J.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},J.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,J),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},6362:(Fe,q,p)=>{"use strict";var e=p(6698),t=p(5829),y=p(9706),A=p(7965),l=p(6420);function w(m){l.call(this,"digest"),this._hash=m}e(w,l),w.prototype._update=function(m){this._hash.update(m)},w.prototype._final=function(){return this._hash.digest()},Fe.exports=function(P){return"md5"===(P=P.toLowerCase())?new t:"rmd160"===P||"ripemd160"===P?new y:new w(A(P))}},7588:(Fe,q,p)=>{var e=p(5829);Fe.exports=function(t){return(new e).update(t).digest()}},5825:(Fe,q,p)=>{"use strict";var e=p(6698),t=p(5922),y=p(6420),A=p(843).Buffer,l=p(7588),w=p(9706),m=p(7965),P=A.alloc(128);function d(E,M){y.call(this,"digest"),"string"==typeof M&&(M=A.from(M));var I="sha512"===E||"sha384"===E?128:64;this._alg=E,this._key=M,M.length>I?M=("rmd160"===E?new w:m(E)).update(M).digest():M.length{"use strict";var e=p(6698),t=p(843).Buffer,y=p(6420),A=t.alloc(128),l=64;function w(m,P){y.call(this,"digest"),"string"==typeof P&&(P=t.from(P)),this._alg=m,this._key=P,P.length>l?P=m(P):P.length{"use strict";q.randomBytes=q.rng=q.pseudoRandomBytes=q.prng=p(4019),q.createHash=q.Hash=p(6362),q.createHmac=q.Hmac=p(5825);var e=p(1699),t=Object.keys(e),y=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);q.getHashes=function(){return y};var A=p(7100);q.pbkdf2=A.pbkdf2,q.pbkdf2Sync=A.pbkdf2Sync;var l=p(5600);q.Cipher=l.Cipher,q.createCipher=l.createCipher,q.Cipheriv=l.Cipheriv,q.createCipheriv=l.createCipheriv,q.Decipher=l.Decipher,q.createDecipher=l.createDecipher,q.Decipheriv=l.Decipheriv,q.createDecipheriv=l.createDecipheriv,q.getCiphers=l.getCiphers,q.listCiphers=l.listCiphers;var w=p(5144);q.DiffieHellmanGroup=w.DiffieHellmanGroup,q.createDiffieHellmanGroup=w.createDiffieHellmanGroup,q.getDiffieHellman=w.getDiffieHellman,q.createDiffieHellman=w.createDiffieHellman,q.DiffieHellman=w.DiffieHellman;var m=p(7686);q.createSign=m.createSign,q.Sign=m.Sign,q.createVerify=m.createVerify,q.Verify=m.Verify,q.createECDH=p(8840);var P=p(7050);q.publicEncrypt=P.publicEncrypt,q.privateEncrypt=P.privateEncrypt,q.publicDecrypt=P.publicDecrypt,q.privateDecrypt=P.privateDecrypt;var d=p(1237);q.randomFill=d.randomFill,q.randomFillSync=d.randomFillSync,q.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},q.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},132:(Fe,q,p)=>{"use strict";q.utils=p(2294),q.Cipher=p(9484),q.DES=p(4374),q.CBC=p(2066),q.EDE=p(9710)},2066:(Fe,q,p)=>{"use strict";var e=p(7798),t=p(6698),y={};function A(w){e.equal(w.length,8,"Invalid IV length"),this.iv=new Array(8);for(var m=0;m{"use strict";var e=p(7798);function t(y){this.options=y,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==y.padding}Fe.exports=t,t.prototype._init=function(){},t.prototype.update=function(A){return 0===A.length?[]:"decrypt"===this.type?this._updateDecrypt(A):this._updateEncrypt(A)},t.prototype._buffer=function(A,l){for(var w=Math.min(this.buffer.length-this.bufferOff,A.length-l),m=0;m0;m--)l+=this._buffer(A,l),w+=this._flushBuffer(P,w);return l+=this._buffer(A,l),P},t.prototype.final=function(A){var l,w;return A&&(l=this.update(A)),w="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),l?l.concat(w):w},t.prototype._pad=function(A,l){if(0===l)return!1;for(;l{"use strict";var e=p(7798),t=p(6698),y=p(2294),A=p(9484);function l(){this.tmp=new Array(2),this.keys=null}function w(P){A.call(this,P);var d=new l;this._desState=d,this.deriveKeys(d,P.key)}t(w,A),Fe.exports=w,w.create=function(d){return new w(d)};var m=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];w.prototype.deriveKeys=function(d,E){d.keys=new Array(32),e.equal(E.length,this.blockSize,"Invalid key length");var M=y.readUInt32BE(E,0),I=y.readUInt32BE(E,4);y.pc1(M,I,d.tmp,0),M=d.tmp[0],I=d.tmp[1];for(var k=0;k>>1];M=y.r28shl(M,z),I=y.r28shl(I,z),y.pc2(M,I,d.keys,k)}},w.prototype._update=function(d,E,M,I){var k=this._desState,z=y.readUInt32BE(d,E),B=y.readUInt32BE(d,E+4);y.ip(z,B,k.tmp,0),z=k.tmp[0],B=k.tmp[1],"encrypt"===this.type?this._encrypt(k,z,B,k.tmp,0):this._decrypt(k,z,B,k.tmp,0),B=k.tmp[1],y.writeUInt32BE(M,z=k.tmp[0],I),y.writeUInt32BE(M,B,I+4)},w.prototype._pad=function(d,E){if(!1===this.padding)return!1;for(var M=d.length-E,I=E;I>>0,z=se}y.rip(B,z,I,k)},w.prototype._decrypt=function(d,E,M,I,k){for(var z=M,B=E,W=d.keys.length-2;W>=0;W-=2){var j=d.keys[W],K=d.keys[W+1];y.expand(z,d.tmp,0);var X=y.substitute(j^=d.tmp[0],K^=d.tmp[1]),se=z;z=(B^y.permute(X))>>>0,B=se}y.rip(z,B,I,k)}},9710:(Fe,q,p)=>{"use strict";var e=p(7798),t=p(6698),y=p(9484),A=p(4374);function l(m,P){e.equal(P.length,24,"Invalid key length");var d=P.slice(0,8),E=P.slice(8,16),M=P.slice(16,24);this.ciphers="encrypt"===m?[A.create({type:"encrypt",key:d}),A.create({type:"decrypt",key:E}),A.create({type:"encrypt",key:M})]:[A.create({type:"decrypt",key:M}),A.create({type:"encrypt",key:E}),A.create({type:"decrypt",key:d})]}function w(m){y.call(this,m);var P=new l(this.type,this.options.key);this._edeState=P}t(w,y),Fe.exports=w,w.create=function(P){return new w(P)},w.prototype._update=function(P,d,E,M){var I=this._edeState;I.ciphers[0]._update(P,d,E,M),I.ciphers[1]._update(E,M,E,M),I.ciphers[2]._update(E,M,E,M)},w.prototype._pad=A.prototype._pad,w.prototype._unpad=A.prototype._unpad},2294:(Fe,q)=>{"use strict";q.readUInt32BE=function(A,l){return(A[0+l]<<24|A[1+l]<<16|A[2+l]<<8|A[3+l])>>>0},q.writeUInt32BE=function(A,l,w){A[0+w]=l>>>24,A[1+w]=l>>>16&255,A[2+w]=l>>>8&255,A[3+w]=255&l},q.ip=function(A,l,w,m){for(var P=0,d=0,E=6;E>=0;E-=2){for(var M=0;M<=24;M+=8)P<<=1,P|=l>>>M+E&1;for(M=0;M<=24;M+=8)P<<=1,P|=A>>>M+E&1}for(E=6;E>=0;E-=2){for(M=1;M<=25;M+=8)d<<=1,d|=l>>>M+E&1;for(M=1;M<=25;M+=8)d<<=1,d|=A>>>M+E&1}w[m+0]=P>>>0,w[m+1]=d>>>0},q.rip=function(A,l,w,m){for(var P=0,d=0,E=0;E<4;E++)for(var M=24;M>=0;M-=8)P<<=1,P|=l>>>M+E&1,P<<=1,P|=A>>>M+E&1;for(E=4;E<8;E++)for(M=24;M>=0;M-=8)d<<=1,d|=l>>>M+E&1,d<<=1,d|=A>>>M+E&1;w[m+0]=P>>>0,w[m+1]=d>>>0},q.pc1=function(A,l,w,m){for(var P=0,d=0,E=7;E>=5;E--){for(var M=0;M<=24;M+=8)P<<=1,P|=l>>M+E&1;for(M=0;M<=24;M+=8)P<<=1,P|=A>>M+E&1}for(M=0;M<=24;M+=8)P<<=1,P|=l>>M+E&1;for(E=1;E<=3;E++){for(M=0;M<=24;M+=8)d<<=1,d|=l>>M+E&1;for(M=0;M<=24;M+=8)d<<=1,d|=A>>M+E&1}for(M=0;M<=24;M+=8)d<<=1,d|=A>>M+E&1;w[m+0]=P>>>0,w[m+1]=d>>>0},q.r28shl=function(A,l){return A<>>28-l};var p=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];q.pc2=function(A,l,w,m){for(var P=0,d=0,E=p.length>>>1,M=0;M>>p[M]&1;for(M=E;M>>p[M]&1;w[m+0]=P>>>0,w[m+1]=d>>>0},q.expand=function(A,l,w){var m=0,P=0;m=(1&A)<<5|A>>>27;for(var d=23;d>=15;d-=4)m<<=6,m|=A>>>d&63;for(d=11;d>=3;d-=4)P|=A>>>d&63,P<<=6;P|=(31&A)<<1|A>>>31,l[w+0]=m>>>0,l[w+1]=P>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];q.substitute=function(A,l){for(var w=0,m=0;m<4;m++)w<<=4,w|=e[64*m+(A>>>18-6*m&63)];for(m=0;m<4;m++)w<<=4,w|=e[256+64*m+(l>>>18-6*m&63)];return w>>>0};var t=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];q.permute=function(A){for(var l=0,w=0;w>>t[w]&1;return l>>>0},q.padSplit=function(A,l,w){for(var m=A.toString(2);m.length{var e=p(1096),t=p(9799),y=p(5580),l={binary:!0,hex:!0,base64:!0};q.DiffieHellmanGroup=q.createDiffieHellmanGroup=q.getDiffieHellman=function A(m){var P=new Buffer(t[m].prime,"hex"),d=new Buffer(t[m].gen,"hex");return new y(P,d)},q.createDiffieHellman=q.DiffieHellman=function w(m,P,d,E){return Buffer.isBuffer(P)||void 0===l[P]?w(m,"binary",P,d):(P=P||"binary",E=E||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,E)),"number"==typeof m?new y(e(m,d),d,!0):(Buffer.isBuffer(m)||(m=new Buffer(m,P)),new y(m,d,!0)))}},5580:(Fe,q,p)=>{var e=p(7301),y=new(p(8606)),A=new e(24),l=new e(11),w=new e(10),m=new e(3),P=new e(7),d=p(1096),E=p(4019);function M(j,K){return K=K||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,K)),this._pub=new e(j),this}function I(j,K){return K=K||"utf8",Buffer.isBuffer(j)||(j=new Buffer(j,K)),this._priv=new e(j),this}Fe.exports=B;var k={};function B(j,K,X){this.setGenerator(K),this.__prime=new e(j),this._prime=e.mont(this.__prime),this._primeLen=j.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,X?(this.setPublicKey=M,this.setPrivateKey=I):this._primeCode=8}function W(j,K){var X=new Buffer(j.toArray());return K?X.toString(K):X}Object.defineProperty(B.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function z(j,K){var X=K.toString("hex"),ie=[X,j.toString(16)].join("_");if(ie in k)return k[ie];var ue,se=0;if(j.isEven()||!d.simpleSieve||!d.fermatTest(j)||!y.test(j))return se+=1,k[ie]=se+="02"===X||"05"===X?8:4,se;switch(y.test(j.shrn(1))||(se+=2),X){case"02":j.mod(A).cmp(l)&&(se+=8);break;case"05":(ue=j.mod(w)).cmp(m)&&ue.cmp(P)&&(se+=8);break;default:se+=4}return k[ie]=se,se}(this.__prime,this.__gen)),this._primeCode}}),B.prototype.generateKeys=function(){return this._priv||(this._priv=new e(E(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},B.prototype.computeSecret=function(j){var K=(j=(j=new e(j)).toRed(this._prime)).redPow(this._priv).fromRed(),X=new Buffer(K.toArray()),ie=this.getPrime();if(X.length{var e=p(4019);Fe.exports=se,se.simpleSieve=X,se.fermatTest=ie;var t=p(7301),y=new t(24),l=new(p(8606)),w=new t(1),m=new t(2),P=new t(5),M=(new t(16),new t(8),new t(10)),I=new t(3),z=(new t(7),new t(11)),B=new t(4),j=(new t(12),null);function X(ue){for(var ae=function K(){if(null!==j)return j;var ae=[];ae[0]=2;for(var Me=1,J=3;J<1048576;J+=2){for(var he=Math.ceil(Math.sqrt(J)),S=0;Sue;)Me.ishrn(1);if(Me.isEven()&&Me.iadd(w),Me.testn(1)||Me.iadd(m),ae.cmp(m)){if(!ae.cmp(P))for(;Me.mod(M).cmp(I);)Me.iadd(B)}else for(;Me.mod(y).cmp(z);)Me.iadd(B);if(X(J=Me.shrn(1))&&X(Me)&&ie(J)&&ie(Me)&&l.test(J)&&l.test(Me))return Me}}},7301:function(Fe,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var w;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{w=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(7748).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,C=Math.min(S.length,s),D=n;D=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h=0;h-=3)this.words[C]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);else if("le"===f)for(h=0,C=0;h>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h=s;h-=2)O=P(n,s,h)<=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;else for(h=(n.length-s)%2==0?s+1:s;h=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=s)h++;h--,C=C/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],C=0|n.words[0],D=h*C,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r>>26,H=67108863&v,R=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=R;ee++)g+=(D=(h=0|S.words[r-ee|0])*(C=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,C=0,D=0;D>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==C&&(f=C.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var R=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?R+f:E[r-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof w<"u"),this.toArrayLike(w,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),C=f||Math.max(1,h);y(h<=C,"byte array longer than desired length"),y(C>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(C),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;sn.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;fn.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;hn.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<n.length?(f=this,h=n):(f=n,h=this);for(var C=0,D=0;D>>26;for(;0!==C&&D>>26;if(this.length=f.length,0!==C)this.words[this.length]=C,this.length++;else if(f!==this)for(;Dn.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,C=n):(h=n,C=this);for(var D=0,O=0;O>26,this.words[O]=67108863&s;for(;0!==D&&O>26,this.words[O]=67108863&s;if(0===D&&O>>13,De=0|h[1],ct=8191&De,Ke=De>>>13,Je=0|h[2],ye=8191&Je,fe=Je>>>13,de=0|h[3],xe=8191&de,le=de>>>13,pe=0|h[4],qe=8191&pe,re=pe>>>13,ve=0|h[5],ce=8191&ve,Ze=ve>>>13,We=0|h[6],Ct=8191&We,ut=We>>>13,It=0|h[7],Ae=8191&It,Be=It>>>13,rt=0|h[8],$e=8191&rt,Ie=rt>>>13,lt=0|h[9],Qe=8191<,St=lt>>>13,dt=0|C[0],te=8191&dt,Ue=dt>>>13,Bt=0|C[1],Ye=8191&Bt,je=Bt>>>13,Ft=0|C[2],xt=8191&Ft,Ot=Ft>>>13,yt=0|C[3],at=8191&yt,Ee=yt>>>13,nt=0|C[4],Ge=8191&nt,Xe=nt>>>13,gt=0|C[5],Le=8191>,be=gt>>>13,$=0|C[6],ne=8191&$,ke=$>>>13,Nt=0|C[7],At=8191&Nt,Wt=Nt>>>13,gi=0|C[8],ei=8191&gi,$t=gi>>>13,Fi=0|C[9],li=8191&Fi,ui=Fi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(R,te))|0)+((8191&(r=(r=Math.imul(R,Ue))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Ue))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ct,te),r=(r=Math.imul(ct,Ue))+Math.imul(Ke,te)|0,g=Math.imul(Ke,Ue);var Ki=(O+(v=v+Math.imul(R,Ye)|0)|0)+((8191&(r=(r=r+Math.imul(R,je)|0)+Math.imul(ee,Ye)|0))<<13)|0;O=((g=g+Math.imul(ee,je)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Ue))+Math.imul(fe,te)|0,g=Math.imul(fe,Ue),v=v+Math.imul(ct,Ye)|0,r=(r=r+Math.imul(ct,je)|0)+Math.imul(Ke,Ye)|0,g=g+Math.imul(Ke,je)|0;var Mi=(O+(v=v+Math.imul(R,xt)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Ue))+Math.imul(le,te)|0,g=Math.imul(le,Ue),v=v+Math.imul(ye,Ye)|0,r=(r=r+Math.imul(ye,je)|0)+Math.imul(fe,Ye)|0,g=g+Math.imul(fe,je)|0,v=v+Math.imul(ct,xt)|0,r=(r=r+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0,g=g+Math.imul(Ke,Ot)|0;var on=(O+(v=v+Math.imul(R,at)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ee)|0)+Math.imul(ee,at)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(on>>>26)|0,on&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Ue))+Math.imul(re,te)|0,g=Math.imul(re,Ue),v=v+Math.imul(xe,Ye)|0,r=(r=r+Math.imul(xe,je)|0)+Math.imul(le,Ye)|0,g=g+Math.imul(le,je)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,g=g+Math.imul(fe,Ot)|0,v=v+Math.imul(ct,at)|0,r=(r=r+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0,g=g+Math.imul(Ke,Ee)|0;var st=(O+(v=v+Math.imul(R,Ge)|0)|0)+((8191&(r=(r=r+Math.imul(R,Xe)|0)+Math.imul(ee,Ge)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,v=Math.imul(ce,te),r=(r=Math.imul(ce,Ue))+Math.imul(Ze,te)|0,g=Math.imul(Ze,Ue),v=v+Math.imul(qe,Ye)|0,r=(r=r+Math.imul(qe,je)|0)+Math.imul(re,Ye)|0,g=g+Math.imul(re,je)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,g=g+Math.imul(le,Ot)|0,v=v+Math.imul(ye,at)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(ct,Ge)|0,r=(r=r+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0,g=g+Math.imul(Ke,Xe)|0;var si=(O+(v=v+Math.imul(R,Le)|0)|0)+((8191&(r=(r=r+Math.imul(R,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(Ct,te),r=(r=Math.imul(Ct,Ue))+Math.imul(ut,te)|0,g=Math.imul(ut,Ue),v=v+Math.imul(ce,Ye)|0,r=(r=r+Math.imul(ce,je)|0)+Math.imul(Ze,Ye)|0,g=g+Math.imul(Ze,je)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,g=g+Math.imul(re,Ot)|0,v=v+Math.imul(xe,at)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ge)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,g=g+Math.imul(fe,Xe)|0,v=v+Math.imul(ct,Le)|0,r=(r=r+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0,g=g+Math.imul(Ke,be)|0;var Ce=(O+(v=v+Math.imul(R,ne)|0)|0)+((8191&(r=(r=r+Math.imul(R,ke)|0)+Math.imul(ee,ne)|0))<<13)|0;O=((g=g+Math.imul(ee,ke)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Ue))+Math.imul(Be,te)|0,g=Math.imul(Be,Ue),v=v+Math.imul(Ct,Ye)|0,r=(r=r+Math.imul(Ct,je)|0)+Math.imul(ut,Ye)|0,g=g+Math.imul(ut,je)|0,v=v+Math.imul(ce,xt)|0,r=(r=r+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,g=g+Math.imul(Ze,Ot)|0,v=v+Math.imul(qe,at)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,g=g+Math.imul(re,Ee)|0,v=v+Math.imul(xe,Ge)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,g=g+Math.imul(le,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(ct,ne)|0,r=(r=r+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0,g=g+Math.imul(Ke,ke)|0;var Mt=(O+(v=v+Math.imul(R,At)|0)|0)+((8191&(r=(r=r+Math.imul(R,Wt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Wt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Ue))+Math.imul(Ie,te)|0,g=Math.imul(Ie,Ue),v=v+Math.imul(Ae,Ye)|0,r=(r=r+Math.imul(Ae,je)|0)+Math.imul(Be,Ye)|0,g=g+Math.imul(Be,je)|0,v=v+Math.imul(Ct,xt)|0,r=(r=r+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,g=g+Math.imul(ut,Ot)|0,v=v+Math.imul(ce,at)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,g=g+Math.imul(Ze,Ee)|0,v=v+Math.imul(qe,Ge)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,g=g+Math.imul(re,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,ke)|0,v=v+Math.imul(ct,At)|0,r=(r=r+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0,g=g+Math.imul(Ke,Wt)|0;var Ht=(O+(v=v+Math.imul(R,ei)|0)|0)+((8191&(r=(r=r+Math.imul(R,$t)|0)+Math.imul(ee,ei)|0))<<13)|0;O=((g=g+Math.imul(ee,$t)|0)+(r>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,v=Math.imul(Qe,te),r=(r=Math.imul(Qe,Ue))+Math.imul(St,te)|0,g=Math.imul(St,Ue),v=v+Math.imul($e,Ye)|0,r=(r=r+Math.imul($e,je)|0)+Math.imul(Ie,Ye)|0,g=g+Math.imul(Ie,je)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(Ct,at)|0,r=(r=r+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,g=g+Math.imul(ut,Ee)|0,v=v+Math.imul(ce,Ge)|0,r=(r=r+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,g=g+Math.imul(Ze,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,g=g+Math.imul(re,be)|0,v=v+Math.imul(xe,ne)|0,r=(r=r+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,ke)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Wt)|0,v=v+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0,g=g+Math.imul(Ke,$t)|0;var Dt=(O+(v=v+Math.imul(R,li)|0)|0)+((8191&(r=(r=r+Math.imul(R,ui)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,Ye),r=(r=Math.imul(Qe,je))+Math.imul(St,Ye)|0,g=Math.imul(St,je),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,g=g+Math.imul(Ie,Ot)|0,v=v+Math.imul(Ae,at)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(Ct,Ge)|0,r=(r=r+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,g=g+Math.imul(ut,Xe)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,g=g+Math.imul(Ze,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,g=g+Math.imul(re,ke)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Wt)|0,v=v+Math.imul(ye,ei)|0,r=(r=r+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,g=g+Math.imul(fe,$t)|0;var kt=(O+(v=v+Math.imul(ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;O=((g=g+Math.imul(Ke,ui)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,v=Math.imul(Qe,xt),r=(r=Math.imul(Qe,Ot))+Math.imul(St,xt)|0,g=Math.imul(St,Ot),v=v+Math.imul($e,at)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,g=g+Math.imul(Ie,Ee)|0,v=v+Math.imul(Ae,Ge)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(Ct,Le)|0,r=(r=r+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,g=g+Math.imul(ut,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,g=g+Math.imul(Ze,ke)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,g=g+Math.imul(re,Wt)|0,v=v+Math.imul(xe,ei)|0,r=(r=r+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,g=g+Math.imul(le,$t)|0;var Gt=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0))<<13)|0;O=((g=g+Math.imul(fe,ui)|0)+(r>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(Qe,at),r=(r=Math.imul(Qe,Ee))+Math.imul(St,at)|0,g=Math.imul(St,Ee),v=v+Math.imul($e,Ge)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,g=g+Math.imul(Ie,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(Ct,ne)|0,r=(r=r+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,g=g+Math.imul(ut,ke)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,g=g+Math.imul(Ze,Wt)|0,v=v+Math.imul(qe,ei)|0,r=(r=r+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,g=g+Math.imul(re,$t)|0;var oi=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,ui)|0)+Math.imul(le,li)|0))<<13)|0;O=((g=g+Math.imul(le,ui)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(Qe,Ge),r=(r=Math.imul(Qe,Xe))+Math.imul(St,Ge)|0,g=Math.imul(St,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,g=g+Math.imul(Ie,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,g=g+Math.imul(Be,ke)|0,v=v+Math.imul(Ct,At)|0,r=(r=r+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,g=g+Math.imul(ut,Wt)|0,v=v+Math.imul(ce,ei)|0,r=(r=r+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,g=g+Math.imul(Ze,$t)|0;var bi=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,ui)|0)+Math.imul(re,li)|0))<<13)|0;O=((g=g+Math.imul(re,ui)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(St,Le)|0,g=Math.imul(St,be),v=v+Math.imul($e,ne)|0,r=(r=r+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,g=g+Math.imul(Ie,ke)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Wt)|0,v=v+Math.imul(Ct,ei)|0,r=(r=r+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,g=g+Math.imul(ut,$t)|0;var yi=(O+(v=v+Math.imul(ce,li)|0)|0)+((8191&(r=(r=r+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0))<<13)|0;O=((g=g+Math.imul(Ze,ui)|0)+(r>>>13)|0)+(yi>>>26)|0,yi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,ke))+Math.imul(St,ne)|0,g=Math.imul(St,ke),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,g=g+Math.imul(Ie,Wt)|0,v=v+Math.imul(Ae,ei)|0,r=(r=r+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,g=g+Math.imul(Be,$t)|0;var Oi=(O+(v=v+Math.imul(Ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0))<<13)|0;O=((g=g+Math.imul(ut,ui)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Wt))+Math.imul(St,At)|0,g=Math.imul(St,Wt),v=v+Math.imul($e,ei)|0,r=(r=r+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,g=g+Math.imul(Ie,$t)|0;var Ui=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,ui)|0)+(r>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(Qe,ei),r=(r=Math.imul(Qe,$t))+Math.imul(St,ei)|0,g=Math.imul(St,$t);var Bi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0))<<13)|0;O=((g=g+Math.imul(Ie,ui)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863;var qt=(O+(v=Math.imul(Qe,li))|0)+((8191&(r=(r=Math.imul(Qe,ui))+Math.imul(St,li)|0))<<13)|0;return O=((g=Math.imul(St,ui))+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863,D[0]=un,D[1]=Ki,D[2]=Mi,D[3]=on,D[4]=st,D[5]=si,D[6]=Ce,D[7]=Mt,D[8]=Ht,D[9]=Dt,D[10]=kt,D[11]=Gt,D[12]=oi,D[13]=bi,D[14]=yi,D[15]=Oi,D[16]=Ui,D[17]=Bi,D[18]=qt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=z),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?z(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,C=0;C>>26)|0)>>>26,D&=67108863}s.words[C]=O,f=D,D=h}return 0!==f?s.words[C]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h>=1;return h},K.prototype.permute=function(n,s,f,h,C,D){for(var O=0;O>>=1)C++;return 1<>>=13),C>>>=13;for(D=2*s;D>=26,s+=h/67108864|0,s+=C>>>26,this.words[f]=67108863&C}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h=0);var C,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(C=0;C>>26-s}D&&(this.words[C]=D,this.length++)}if(0!==f){for(C=this.length-1;C>=0;C--)this.words[C+f]=this.words[C];for(C=0;C=0),h=s?(s-s%26)/26:0;var C=n%26,D=Math.min((n-C)/26,this.length),O=67108863^67108863>>>C<D)for(this.length-=D,r=0;r=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-C|H>>>C,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s>26)-(v/67108864|0),this.words[C+f]=67108863&D}for(;C>26,this.words[C+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,C=0;C>26,this.words[C]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),C=n,D=0|C.words[C.length-1];0!=(f=26-this._countBits(D))&&(C=C.ushln(f),h.iushln(f),D=0|C.words[C.length-1]);var r,v=h.length-C.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g=0;R--){var ee=67108864*(0|h.words[C.length+R])+(0|h.words[C.length+R-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(C,ee,R);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(C,1,R),h.isZero()||(h.negative^=1);r&&(r.words[R]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.isub(n)),{div:D.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,C,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),C=n.andln(1),D=f.cmp(h);return D<0||1===C&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,R=1;!(s.words[0]&R)&&H<26;++H,R<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(g)),h.iushrn(1),C.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),C.isub(O)):(f.isub(s),D.isub(h),O.isub(C))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(D),C.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(C)):(f.isub(s),C.isub(h))}return(H=0===s.cmpn(1)?h:C).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var C=s.cmp(f);if(C<0){var D=s;s=f,f=D}else if(0===C||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<>>26,this.words[D]=O&=67108863}return 0!==C&&(this.words[D]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:hn.length)return 1;if(this.length=0;f--){var h=0|this.words[f],C=0|n.words[f];if(h!==C){hC&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new J(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function se(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function J(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){J.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(se,ie),se.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),C=0;C>>22,D=O}n.words[C-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},se.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f>>=26,n.words[f]=C,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new se;else if("p224"===n)s=new ue;else if("p192"===n)s=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},J.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},J.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},J.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},J.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},J.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},J.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},J.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},J.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},J.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},J.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},J.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},J.prototype.isqr=function(n){return this.imul(n,n.clone())},J.prototype.sqr=function(n){return this.mul(n,n)},J.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),R=this.pow(n,h),ee=C;0!==R.cmp(D);){for(var De=R,ct=0;0!==De.cmp(D);ct++)De=De.redSqr();y(ct=0;C--){for(var g=s.words[C],H=r-1;H>=0;H--){var R=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==R||0!==O?(O<<=1,O|=R,(4==++v||0===C&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},J.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},J.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,J),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},7206:Fe=>{"use strict";var q={single_source_shortest_paths:function(p,e,t){var y={},A={};A[e]=0;var w,m,P,d,E,I,l=q.PriorityQueue.make();for(l.push(e,0);!l.empty();)for(P in d=(w=l.pop()).cost,E=p[m=w.value]||{})E.hasOwnProperty(P)&&(I=d+E[P],(typeof A[P]>"u"||A[P]>I)&&(A[P]=I,l.push(P,I),y[P]=m));if(typeof t<"u"&&typeof A[t]>"u"){var B=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(B)}return y},extract_shortest_path_from_predecessor_list:function(p,e){for(var t=[],y=e;y;)t.push(y),y=p[y];return t.reverse(),t},find_path:function(p,e,t){var y=q.single_source_shortest_paths(p,e,t);return q.extract_shortest_path_from_predecessor_list(y,t)},PriorityQueue:{make:function(p){var y,e=q.PriorityQueue,t={};for(y in p=p||{},e)e.hasOwnProperty(y)&&(t[y]=e[y]);return t.queue=[],t.sorter=p.sorter||e.default_sorter,t},default_sorter:function(p,e){return p.cost-e.cost},push:function(p,e){this.queue.push({value:p,cost:e}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Fe.exports=q},8651:(Fe,q,p)=>{"use strict";var e=q;e.version=p(8597).i8,e.utils=p(6767),e.rand=p(82),e.curve=p(9132),e.curves=p(8049),e.ec=p(6443),e.eddsa=p(9577)},1324:(Fe,q,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.getNAF,A=t.getJSF,l=t.assert;function w(P,d){this.type=P,this.p=new e(d.p,16),this.red=d.prime?e.red(d.prime):e.mont(this.p),this.zero=new e(0).toRed(this.red),this.one=new e(1).toRed(this.red),this.two=new e(2).toRed(this.red),this.n=d.n&&new e(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var E=this.n&&this.p.div(this.n);!E||E.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function m(P,d){this.curve=P,this.type=d,this.precomputed=null}Fe.exports=w,w.prototype.point=function(){throw new Error("Not implemented")},w.prototype.validate=function(){throw new Error("Not implemented")},w.prototype._fixedNafMul=function(d,E){l(d.precomputed);var M=d._getDoubles(),I=y(E,1,this._bitLength),k=(1<=B;j--)W=(W<<1)+I[j];z.push(W)}for(var K=this.jpoint(null,null,null),X=this.jpoint(null,null,null),ie=k;ie>0;ie--){for(B=0;B=0;W--){for(var j=0;W>=0&&0===z[W];W--)j++;if(W>=0&&j++,B=B.dblp(j),W<0)break;var K=z[W];l(0!==K),B="affine"===d.type?B.mixedAdd(K>0?k[K-1>>1]:k[-K-1>>1].neg()):B.add(K>0?k[K-1>>1]:k[-K-1>>1].neg())}return"affine"===d.type?B.toP():B},w.prototype._wnafMulAdd=function(d,E,M,I,k){var K,X,ie,z=this._wnafT1,B=this._wnafT2,W=this._wnafT3,j=0;for(K=0;K=1;K-=2){var ue=K-1,ae=K;if(1===z[ue]&&1===z[ae]){var Me=[E[ue],null,null,E[ae]];0===E[ue].y.cmp(E[ae].y)?(Me[1]=E[ue].add(E[ae]),Me[2]=E[ue].toJ().mixedAdd(E[ae].neg())):0===E[ue].y.cmp(E[ae].y.redNeg())?(Me[1]=E[ue].toJ().mixedAdd(E[ae]),Me[2]=E[ue].add(E[ae].neg())):(Me[1]=E[ue].toJ().mixedAdd(E[ae]),Me[2]=E[ue].toJ().mixedAdd(E[ae].neg()));var J=[-3,-1,-5,-7,0,7,5,1,3],he=A(M[ue],M[ae]);for(j=Math.max(he[0].length,j),W[ue]=new Array(j),W[ae]=new Array(j),X=0;X=0;K--){for(var h=0;K>=0;){var C=!0;for(X=0;X=0&&h++,s=s.dblp(h),K<0)break;for(X=0;X0?ie=B[X][D-1>>1]:D<0&&(ie=B[X][-D-1>>1].neg()),s="affine"===ie.type?s.mixedAdd(ie):s.add(ie))}}for(K=0;K=Math.ceil((d.bitLength()+1)/E.step)},m.prototype._getDoubles=function(d,E){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var M=[this],I=this,k=0;k{"use strict";var e=p(6767),t=p(1387),y=p(6698),A=p(1324),l=e.assert;function w(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,A.call(this,"edwards",P),this.a=new t(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function m(P,d,E,M,I){A.BasePoint.call(this,P,"projective"),null===d&&null===E&&null===M?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(d,16),this.y=new t(E,16),this.z=M?new t(M,16):this.curve.one,this.t=I&&new t(I,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}y(w,A),Fe.exports=w,w.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},w.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},w.prototype.jpoint=function(d,E,M,I){return this.point(d,E,M,I)},w.prototype.pointFromX=function(d,E){(d=new t(d,16)).red||(d=d.toRed(this.red));var M=d.redSqr(),I=this.c2.redSub(this.a.redMul(M)),k=this.one.redSub(this.c2.redMul(this.d).redMul(M)),z=I.redMul(k.redInvm()),B=z.redSqrt();if(0!==B.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");var W=B.fromRed().isOdd();return(E&&!W||!E&&W)&&(B=B.redNeg()),this.point(d,B)},w.prototype.pointFromY=function(d,E){(d=new t(d,16)).red||(d=d.toRed(this.red));var M=d.redSqr(),I=M.redSub(this.c2),k=M.redMul(this.d).redMul(this.c2).redSub(this.a),z=I.redMul(k.redInvm());if(0===z.cmp(this.zero)){if(E)throw new Error("invalid point");return this.point(this.zero,d)}var B=z.redSqrt();if(0!==B.redSqr().redSub(z).cmp(this.zero))throw new Error("invalid point");return B.fromRed().isOdd()!==E&&(B=B.redNeg()),this.point(B,d)},w.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var E=d.x.redSqr(),M=d.y.redSqr(),I=E.redMul(this.a).redAdd(M),k=this.c2.redMul(this.one.redAdd(this.d.redMul(E).redMul(M)));return 0===I.cmp(k)},y(m,A.BasePoint),w.prototype.pointFromJSON=function(d){return m.fromJSON(this,d)},w.prototype.point=function(d,E,M,I){return new m(this,d,E,M,I)},m.fromJSON=function(d,E){return new m(d,E[0],E[1],E[2])},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},m.prototype._extDbl=function(){var d=this.x.redSqr(),E=this.y.redSqr(),M=this.z.redSqr();M=M.redIAdd(M);var I=this.curve._mulA(d),k=this.x.redAdd(this.y).redSqr().redISub(d).redISub(E),z=I.redAdd(E),B=z.redSub(M),W=I.redSub(E),j=k.redMul(B),K=z.redMul(W),X=k.redMul(W),ie=B.redMul(z);return this.curve.point(j,K,ie,X)},m.prototype._projDbl=function(){var I,k,z,B,W,j,d=this.x.redAdd(this.y).redSqr(),E=this.x.redSqr(),M=this.y.redSqr();if(this.curve.twisted){var K=(B=this.curve._mulA(E)).redAdd(M);this.zOne?(I=d.redSub(E).redSub(M).redMul(K.redSub(this.curve.two)),k=K.redMul(B.redSub(M)),z=K.redSqr().redSub(K).redSub(K)):(W=this.z.redSqr(),j=K.redSub(W).redISub(W),I=d.redSub(E).redISub(M).redMul(j),k=K.redMul(B.redSub(M)),z=K.redMul(j))}else B=E.redAdd(M),W=this.curve._mulC(this.z).redSqr(),j=B.redSub(W).redSub(W),I=this.curve._mulC(d.redISub(B)).redMul(j),k=this.curve._mulC(B).redMul(E.redISub(M)),z=B.redMul(j);return this.curve.point(I,k,z)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(d){var E=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),M=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),I=this.t.redMul(this.curve.dd).redMul(d.t),k=this.z.redMul(d.z.redAdd(d.z)),z=M.redSub(E),B=k.redSub(I),W=k.redAdd(I),j=M.redAdd(E),K=z.redMul(B),X=W.redMul(j),ie=z.redMul(j),se=B.redMul(W);return this.curve.point(K,X,se,ie)},m.prototype._projAdd=function(d){var X,ie,E=this.z.redMul(d.z),M=E.redSqr(),I=this.x.redMul(d.x),k=this.y.redMul(d.y),z=this.curve.d.redMul(I).redMul(k),B=M.redSub(z),W=M.redAdd(z),j=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(I).redISub(k),K=E.redMul(B).redMul(j);return this.curve.twisted?(X=E.redMul(W).redMul(k.redSub(this.curve._mulA(I))),ie=B.redMul(W)):(X=E.redMul(W).redMul(k.redSub(I)),ie=this.curve._mulC(B).redMul(W)),this.curve.point(K,X,ie)},m.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},m.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},m.prototype.mulAdd=function(d,E,M){return this.curve._wnafMulAdd(1,[this,E],[d,M],2,!1)},m.prototype.jmulAdd=function(d,E,M){return this.curve._wnafMulAdd(1,[this,E],[d,M],2,!0)},m.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},m.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()},m.prototype.getY=function(){return this.normalize(),this.y.fromRed()},m.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},m.prototype.eqXToP=function(d){var E=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(E))return!0;for(var M=d.clone(),I=this.curve.redN.redMul(this.z);;){if(M.iadd(this.curve.n),M.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(I),0===this.x.cmp(E))return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add},9132:(Fe,q,p)=>{"use strict";var e=q;e.base=p(1324),e.short=p(9996),e.mont=p(9253),e.edwards=p(7665)},9253:(Fe,q,p)=>{"use strict";var e=p(1387),t=p(6698),y=p(1324),A=p(6767);function l(m){y.call(this,"mont",m),this.a=new e(m.a,16).toRed(this.red),this.b=new e(m.b,16).toRed(this.red),this.i4=new e(4).toRed(this.red).redInvm(),this.two=new e(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function w(m,P,d){y.BasePoint.call(this,m,"projective"),null===P&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new e(P,16),this.z=new e(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(l,y),Fe.exports=l,l.prototype.validate=function(P){var d=P.normalize().x,E=d.redSqr(),M=E.redMul(d).redAdd(E.redMul(this.a)).redAdd(d);return 0===M.redSqrt().redSqr().cmp(M)},t(w,y.BasePoint),l.prototype.decodePoint=function(P,d){return this.point(A.toArray(P,d),1)},l.prototype.point=function(P,d){return new w(this,P,d)},l.prototype.pointFromJSON=function(P){return w.fromJSON(this,P)},w.prototype.precompute=function(){},w.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},w.fromJSON=function(P,d){return new w(P,d[0],d[1]||P.one)},w.prototype.inspect=function(){return this.isInfinity()?"":""},w.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},w.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),M=this.x.redSub(this.z).redSqr(),I=d.redSub(M),k=d.redMul(M),z=I.redMul(M.redAdd(this.curve.a24.redMul(I)));return this.curve.point(k,z)},w.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.diffAdd=function(P,d){var E=this.x.redAdd(this.z),M=this.x.redSub(this.z),I=P.x.redAdd(P.z),z=P.x.redSub(P.z).redMul(E),B=I.redMul(M),W=d.z.redMul(z.redAdd(B).redSqr()),j=d.x.redMul(z.redISub(B).redSqr());return this.curve.point(W,j)},w.prototype.mul=function(P){for(var d=P.clone(),E=this,M=this.curve.point(null,null),k=[];0!==d.cmpn(0);d.iushrn(1))k.push(d.andln(1));for(var z=k.length-1;z>=0;z--)0===k[z]?(E=E.diffAdd(M,this),M=M.dbl()):(M=E.diffAdd(M,this),E=E.dbl());return M},w.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},w.prototype.eq=function(P){return 0===this.getX().cmp(P.getX())},w.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},w.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9996:(Fe,q,p)=>{"use strict";var e=p(6767),t=p(1387),y=p(6698),A=p(1324),l=e.assert;function w(d){A.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function m(d,E,M,I){A.BasePoint.call(this,d,"affine"),null===E&&null===M?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(E,16),this.y=new t(M,16),I&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function P(d,E,M,I){A.BasePoint.call(this,d,"jacobian"),null===E&&null===M&&null===I?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(E,16),this.y=new t(M,16),this.z=new t(I,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}y(w,A),Fe.exports=w,w.prototype._getEndomorphism=function(E){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var M,I;if(E.beta)M=new t(E.beta,16).toRed(this.red);else{var k=this._getEndoRoots(this.p);M=(M=k[0].cmp(k[1])<0?k[0]:k[1]).toRed(this.red)}if(E.lambda)I=new t(E.lambda,16);else{var z=this._getEndoRoots(this.n);0===this.g.mul(z[0]).x.cmp(this.g.x.redMul(M))?I=z[0]:l(0===this.g.mul(I=z[1]).x.cmp(this.g.x.redMul(M)))}return{beta:M,lambda:I,basis:E.basis?E.basis.map(function(W){return{a:new t(W.a,16),b:new t(W.b,16)}}):this._getEndoBasis(I)}}},w.prototype._getEndoRoots=function(E){var M=E===this.p?this.red:t.mont(E),I=new t(2).toRed(M).redInvm(),k=I.redNeg(),z=new t(3).toRed(M).redNeg().redSqrt().redMul(I);return[k.redAdd(z).fromRed(),k.redSub(z).fromRed()]},w.prototype._getEndoBasis=function(E){for(var K,X,ie,se,ue,ae,Me,he,S,M=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=E,k=this.n.clone(),z=new t(1),B=new t(0),W=new t(0),j=new t(1),J=0;0!==I.cmpn(0);){var n=k.div(I);he=k.sub(n.mul(I)),S=W.sub(n.mul(z));var s=j.sub(n.mul(B));if(!ie&&he.cmp(M)<0)K=Me.neg(),X=z,ie=he.neg(),se=S;else if(ie&&2==++J)break;Me=he,k=I,I=he,W=z,z=S,j=B,B=s}ue=he.neg(),ae=S;var f=ie.sqr().add(se.sqr());return ue.sqr().add(ae.sqr()).cmp(f)>=0&&(ue=K,ae=X),ie.negative&&(ie=ie.neg(),se=se.neg()),ue.negative&&(ue=ue.neg(),ae=ae.neg()),[{a:ie,b:se},{a:ue,b:ae}]},w.prototype._endoSplit=function(E){var M=this.endo.basis,I=M[0],k=M[1],z=k.b.mul(E).divRound(this.n),B=I.b.neg().mul(E).divRound(this.n),W=z.mul(I.a),j=B.mul(k.a),K=z.mul(I.b),X=B.mul(k.b);return{k1:E.sub(W).sub(j),k2:K.add(X).neg()}},w.prototype.pointFromX=function(E,M){(E=new t(E,16)).red||(E=E.toRed(this.red));var I=E.redSqr().redMul(E).redIAdd(E.redMul(this.a)).redIAdd(this.b),k=I.redSqrt();if(0!==k.redSqr().redSub(I).cmp(this.zero))throw new Error("invalid point");var z=k.fromRed().isOdd();return(M&&!z||!M&&z)&&(k=k.redNeg()),this.point(E,k)},w.prototype.validate=function(E){if(E.inf)return!0;var M=E.x,I=E.y,k=this.a.redMul(M),z=M.redSqr().redMul(M).redIAdd(k).redIAdd(this.b);return 0===I.redSqr().redISub(z).cmpn(0)},w.prototype._endoWnafMulAdd=function(E,M,I){for(var k=this._endoWnafT1,z=this._endoWnafT2,B=0;B":""},m.prototype.isInfinity=function(){return this.inf},m.prototype.add=function(E){if(this.inf)return E;if(E.inf)return this;if(this.eq(E))return this.dbl();if(this.neg().eq(E))return this.curve.point(null,null);if(0===this.x.cmp(E.x))return this.curve.point(null,null);var M=this.y.redSub(E.y);0!==M.cmpn(0)&&(M=M.redMul(this.x.redSub(E.x).redInvm()));var I=M.redSqr().redISub(this.x).redISub(E.x),k=M.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,k)},m.prototype.dbl=function(){if(this.inf)return this;var E=this.y.redAdd(this.y);if(0===E.cmpn(0))return this.curve.point(null,null);var M=this.curve.a,I=this.x.redSqr(),k=E.redInvm(),z=I.redAdd(I).redIAdd(I).redIAdd(M).redMul(k),B=z.redSqr().redISub(this.x.redAdd(this.x)),W=z.redMul(this.x.redSub(B)).redISub(this.y);return this.curve.point(B,W)},m.prototype.getX=function(){return this.x.fromRed()},m.prototype.getY=function(){return this.y.fromRed()},m.prototype.mul=function(E){return E=new t(E,16),this.isInfinity()?this:this._hasDoubles(E)?this.curve._fixedNafMul(this,E):this.curve.endo?this.curve._endoWnafMulAdd([this],[E]):this.curve._wnafMul(this,E)},m.prototype.mulAdd=function(E,M,I){var k=[this,M],z=[E,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,z):this.curve._wnafMulAdd(1,k,z,2)},m.prototype.jmulAdd=function(E,M,I){var k=[this,M],z=[E,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,z,!0):this.curve._wnafMulAdd(1,k,z,2,!0)},m.prototype.eq=function(E){return this===E||this.inf===E.inf&&(this.inf||0===this.x.cmp(E.x)&&0===this.y.cmp(E.y))},m.prototype.neg=function(E){if(this.inf)return this;var M=this.curve.point(this.x,this.y.redNeg());if(E&&this.precomputed){var I=this.precomputed,k=function(z){return z.neg()};M.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(k)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(k)}}}return M},m.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},y(P,A.BasePoint),w.prototype.jpoint=function(E,M,I){return new P(this,E,M,I)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var E=this.z.redInvm(),M=E.redSqr(),I=this.x.redMul(M),k=this.y.redMul(M).redMul(E);return this.curve.point(I,k)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(E){if(this.isInfinity())return E;if(E.isInfinity())return this;var M=E.z.redSqr(),I=this.z.redSqr(),k=this.x.redMul(M),z=E.x.redMul(I),B=this.y.redMul(M.redMul(E.z)),W=E.y.redMul(I.redMul(this.z)),j=k.redSub(z),K=B.redSub(W);if(0===j.cmpn(0))return 0!==K.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var X=j.redSqr(),ie=X.redMul(j),se=k.redMul(X),ue=K.redSqr().redIAdd(ie).redISub(se).redISub(se),ae=K.redMul(se.redISub(ue)).redISub(B.redMul(ie)),Me=this.z.redMul(E.z).redMul(j);return this.curve.jpoint(ue,ae,Me)},P.prototype.mixedAdd=function(E){if(this.isInfinity())return E.toJ();if(E.isInfinity())return this;var M=this.z.redSqr(),I=this.x,k=E.x.redMul(M),z=this.y,B=E.y.redMul(M).redMul(this.z),W=I.redSub(k),j=z.redSub(B);if(0===W.cmpn(0))return 0!==j.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var K=W.redSqr(),X=K.redMul(W),ie=I.redMul(K),se=j.redSqr().redIAdd(X).redISub(ie).redISub(ie),ue=j.redMul(ie.redISub(se)).redISub(z.redMul(X)),ae=this.z.redMul(W);return this.curve.jpoint(se,ue,ae)},P.prototype.dblp=function(E){if(0===E)return this;if(this.isInfinity())return this;if(!E)return this.dbl();var M;if(this.curve.zeroA||this.curve.threeA){var I=this;for(M=0;M=0)return!1;if(I.redIAdd(z),0===this.x.cmp(I))return!0}},P.prototype.inspect=function(){return this.isInfinity()?"":""},P.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},8049:(Fe,q,p)=>{"use strict";var P,e=q,t=p(1076),y=p(9132),l=p(6767).assert;function w(d){this.curve="short"===d.type?new y.short(d):"edwards"===d.type?new y.edwards(d):new y.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function m(d,E){Object.defineProperty(e,d,{configurable:!0,enumerable:!0,get:function(){var M=new w(E);return Object.defineProperty(e,d,{configurable:!0,enumerable:!0,value:M}),M}})}e.PresetCurve=w,m("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:t.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),m("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:t.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),m("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:t.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),m("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:t.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),m("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:t.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),m("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["9"]}),m("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:t.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{P=p(7274)}catch{P=void 0}m("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:t.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",P]})},6443:(Fe,q,p)=>{"use strict";var e=p(1387),t=p(2447),y=p(6767),A=p(8049),l=p(82),w=y.assert,m=p(1373),P=p(7746);function d(E){if(!(this instanceof d))return new d(E);"string"==typeof E&&(w(Object.prototype.hasOwnProperty.call(A,E),"Unknown curve "+E),E=A[E]),E instanceof A.PresetCurve&&(E={curve:E}),this.curve=E.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=E.curve.g,this.g.precompute(E.curve.n.bitLength()+1),this.hash=E.hash||E.curve.hash}Fe.exports=d,d.prototype.keyPair=function(M){return new m(this,M)},d.prototype.keyFromPrivate=function(M,I){return m.fromPrivate(this,M,I)},d.prototype.keyFromPublic=function(M,I){return m.fromPublic(this,M,I)},d.prototype.genKeyPair=function(M){M||(M={});for(var I=new t({hash:this.hash,pers:M.pers,persEnc:M.persEnc||"utf8",entropy:M.entropy||l(this.hash.hmacStrength),entropyEnc:M.entropy&&M.entropyEnc||"utf8",nonce:this.n.toArray()}),k=this.n.byteLength(),z=this.n.sub(new e(2));;){var B=new e(I.generate(k));if(!(B.cmp(z)>0))return B.iaddn(1),this.keyFromPrivate(B)}},d.prototype._truncateToN=function(M,I){var k=8*M.byteLength()-this.n.bitLength();return k>0&&(M=M.ushrn(k)),!I&&M.cmp(this.n)>=0?M.sub(this.n):M},d.prototype.sign=function(M,I,k,z){"object"==typeof k&&(z=k,k=null),z||(z={}),I=this.keyFromPrivate(I,k),M=this._truncateToN(new e(M,16));for(var B=this.n.byteLength(),W=I.getPrivate().toArray("be",B),j=M.toArray("be",B),K=new t({hash:this.hash,entropy:W,nonce:j,pers:z.pers,persEnc:z.persEnc||"utf8"}),X=this.n.sub(new e(1)),ie=0;;ie++){var se=z.k?z.k(ie):new e(K.generate(this.n.byteLength()));if(!((se=this._truncateToN(se,!0)).cmpn(1)<=0||se.cmp(X)>=0)){var ue=this.g.mul(se);if(!ue.isInfinity()){var ae=ue.getX(),Me=ae.umod(this.n);if(0!==Me.cmpn(0)){var J=se.invm(this.n).mul(Me.mul(I.getPrivate()).iadd(M));if(0!==(J=J.umod(this.n)).cmpn(0)){var he=(ue.getY().isOdd()?1:0)|(0!==ae.cmp(Me)?2:0);return z.canonical&&J.cmp(this.nh)>0&&(J=this.n.sub(J),he^=1),new P({r:Me,s:J,recoveryParam:he})}}}}}},d.prototype.verify=function(M,I,k,z){M=this._truncateToN(new e(M,16)),k=this.keyFromPublic(k,z);var B=(I=new P(I,"hex")).r,W=I.s;if(B.cmpn(1)<0||B.cmp(this.n)>=0||W.cmpn(1)<0||W.cmp(this.n)>=0)return!1;var ie,j=W.invm(this.n),K=j.mul(M).umod(this.n),X=j.mul(B).umod(this.n);return this.curve._maxwellTrick?!(ie=this.g.jmulAdd(K,k.getPublic(),X)).isInfinity()&&ie.eqXToP(B):!(ie=this.g.mulAdd(K,k.getPublic(),X)).isInfinity()&&0===ie.getX().umod(this.n).cmp(B)},d.prototype.recoverPubKey=function(E,M,I,k){w((3&I)===I,"The recovery param is more than two bits"),M=new P(M,k);var z=this.n,B=new e(E),W=M.r,j=M.s,K=1&I,X=I>>1;if(W.cmp(this.curve.p.umod(this.curve.n))>=0&&X)throw new Error("Unable to find sencond key candinate");W=this.curve.pointFromX(X?W.add(this.curve.n):W,K);var ie=M.r.invm(z),se=z.sub(B).mul(ie).umod(z),ue=j.mul(ie).umod(z);return this.g.mulAdd(se,W,ue)},d.prototype.getKeyRecoveryParam=function(E,M,I,k){if(null!==(M=new P(M,k)).recoveryParam)return M.recoveryParam;for(var z=0;z<4;z++){var B;try{B=this.recoverPubKey(E,M,z)}catch{continue}if(B.eq(I))return z}throw new Error("Unable to find valid recovery factor")}},1373:(Fe,q,p)=>{"use strict";var e=p(1387),y=p(6767).assert;function A(l,w){this.ec=l,this.priv=null,this.pub=null,w.priv&&this._importPrivate(w.priv,w.privEnc),w.pub&&this._importPublic(w.pub,w.pubEnc)}Fe.exports=A,A.fromPublic=function(w,m,P){return m instanceof A?m:new A(w,{pub:m,pubEnc:P})},A.fromPrivate=function(w,m,P){return m instanceof A?m:new A(w,{priv:m,privEnc:P})},A.prototype.validate=function(){var w=this.getPublic();return w.isInfinity()?{result:!1,reason:"Invalid public key"}:w.validate()?w.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},A.prototype.getPublic=function(w,m){return"string"==typeof w&&(m=w,w=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),m?this.pub.encode(m,w):this.pub},A.prototype.getPrivate=function(w){return"hex"===w?this.priv.toString(16,2):this.priv},A.prototype._importPrivate=function(w,m){this.priv=new e(w,m||16),this.priv=this.priv.umod(this.ec.curve.n)},A.prototype._importPublic=function(w,m){if(w.x||w.y)return"mont"===this.ec.curve.type?y(w.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&y(w.x&&w.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(w.x,w.y));this.pub=this.ec.curve.decodePoint(w,m)},A.prototype.derive=function(w){return w.validate()||y(w.validate(),"public point not validated"),w.mul(this.priv).getX()},A.prototype.sign=function(w,m,P){return this.ec.sign(w,this,m,P)},A.prototype.verify=function(w,m){return this.ec.verify(w,m,this)},A.prototype.inspect=function(){return""}},7746:(Fe,q,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.assert;function A(d,E){if(d instanceof A)return d;this._importDER(d,E)||(y(d.r&&d.s,"Signature without r or s"),this.r=new e(d.r,16),this.s=new e(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function l(){this.place=0}function w(d,E){var M=d[E.place++];if(!(128&M))return M;var I=15&M;if(0===I||I>4)return!1;for(var k=0,z=0,B=E.place;z>>=0;return!(k<=127)&&(E.place=B,k)}function m(d){for(var E=0,M=d.length-1;!d[E]&&!(128&d[E+1])&&E>>3);for(d.push(128|M);--M;)d.push(E>>>(M<<3)&255);d.push(E)}}Fe.exports=A,A.prototype._importDER=function(E,M){E=t.toArray(E,M);var I=new l;if(48!==E[I.place++])return!1;var k=w(E,I);if(!1===k||k+I.place!==E.length||2!==E[I.place++])return!1;var z=w(E,I);if(!1===z)return!1;var B=E.slice(I.place,z+I.place);if(I.place+=z,2!==E[I.place++])return!1;var W=w(E,I);if(!1===W||E.length!==W+I.place)return!1;var j=E.slice(I.place,W+I.place);if(0===B[0]){if(!(128&B[1]))return!1;B=B.slice(1)}if(0===j[0]){if(!(128&j[1]))return!1;j=j.slice(1)}return this.r=new e(B),this.s=new e(j),this.recoveryParam=null,!0},A.prototype.toDER=function(E){var M=this.r.toArray(),I=this.s.toArray();for(128&M[0]&&(M=[0].concat(M)),128&I[0]&&(I=[0].concat(I)),M=m(M),I=m(I);!(I[0]||128&I[1]);)I=I.slice(1);var k=[2];P(k,M.length),(k=k.concat(M)).push(2),P(k,I.length);var z=k.concat(I),B=[48];return P(B,z.length),B=B.concat(z),t.encode(B,E)}},9577:(Fe,q,p)=>{"use strict";var e=p(1076),t=p(8049),y=p(6767),A=y.assert,l=y.parseBytes,w=p(7012),m=p(8062);function P(d){if(A("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof P))return new P(d);this.curve=d=t[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=e.sha512}Fe.exports=P,P.prototype.sign=function(E,M){E=l(E);var I=this.keyFromSecret(M),k=this.hashInt(I.messagePrefix(),E),z=this.g.mul(k),B=this.encodePoint(z),W=this.hashInt(B,I.pubBytes(),E).mul(I.priv()),j=k.add(W).umod(this.curve.n);return this.makeSignature({R:z,S:j,Rencoded:B})},P.prototype.verify=function(E,M,I){E=l(E),M=this.makeSignature(M);var k=this.keyFromPublic(I),z=this.hashInt(M.Rencoded(),k.pubBytes(),E),B=this.g.mul(M.S());return M.R().add(k.pub().mul(z)).eq(B)},P.prototype.hashInt=function(){for(var E=this.hash(),M=0;M{"use strict";var e=p(6767),t=e.assert,y=e.parseBytes,A=e.cachedProperty;function l(w,m){this.eddsa=w,this._secret=y(m.secret),w.isPoint(m.pub)?this._pub=m.pub:this._pubBytes=y(m.pub)}l.fromPublic=function(m,P){return P instanceof l?P:new l(m,{pub:P})},l.fromSecret=function(m,P){return P instanceof l?P:new l(m,{secret:P})},l.prototype.secret=function(){return this._secret},A(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),A(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),A(l,"privBytes",function(){var m=this.eddsa,P=this.hash(),d=m.encodingLength-1,E=P.slice(0,m.encodingLength);return E[0]&=248,E[d]&=127,E[d]|=64,E}),A(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),A(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),A(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(m){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(m,this)},l.prototype.verify=function(m,P){return this.eddsa.verify(m,P,this)},l.prototype.getSecret=function(m){return t(this._secret,"KeyPair is public only"),e.encode(this.secret(),m)},l.prototype.getPublic=function(m){return e.encode(this.pubBytes(),m)},Fe.exports=l},8062:(Fe,q,p)=>{"use strict";var e=p(1387),t=p(6767),y=t.assert,A=t.cachedProperty,l=t.parseBytes;function w(m,P){this.eddsa=m,"object"!=typeof P&&(P=l(P)),Array.isArray(P)&&(P={R:P.slice(0,m.encodingLength),S:P.slice(m.encodingLength)}),y(P.R&&P.S,"Signature without R or S"),m.isPoint(P.R)&&(this._R=P.R),P.S instanceof e&&(this._S=P.S),this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.Sencoded}A(w,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),A(w,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),A(w,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),A(w,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),w.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},w.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Fe.exports=w},7274:Fe=>{Fe.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},6767:(Fe,q,p)=>{"use strict";var e=q,t=p(1387),y=p(7798),A=p(8247);e.assert=y,e.toArray=A.toArray,e.zero2=A.zero2,e.toHex=A.toHex,e.encode=A.encode,e.getNAF=function l(E,M,I){var k=new Array(Math.max(E.bitLength(),I)+1);k.fill(0);for(var z=1<(z>>1)-1?(z>>1)-K:K):j=0,k[W]=j,B.iushrn(1)}return k},e.getJSF=function w(E,M){var I=[[],[]];E=E.clone(),M=M.clone();for(var B,k=0,z=0;E.cmpn(-k)>0||M.cmpn(-z)>0;){var K,X,W=E.andln(3)+k&3,j=M.andln(3)+z&3;3===W&&(W=-1),3===j&&(j=-1),K=1&W?3!=(B=E.andln(7)+k&7)&&5!==B||2!==j?W:-W:0,I[0].push(K),X=1&j?3!=(B=M.andln(7)+z&7)&&5!==B||2!==W?j:-j:0,I[1].push(X),2*k===K+1&&(k=1-k),2*z===X+1&&(z=1-z),E.iushrn(1),M.iushrn(1)}return I},e.cachedProperty=function m(E,M,I){var k="_"+M;E.prototype[M]=function(){return void 0!==this[k]?this[k]:this[k]=I.call(this)}},e.parseBytes=function P(E){return"string"==typeof E?e.toArray(E,"hex"):E},e.intFromLE=function d(E){return new t(E,"hex","le")}},1387:function(Fe,q,p){!function(e,t){"use strict";function y(S,n){if(!S)throw new Error(n||"Assertion failed")}function A(S,n){S.super_=n;var s=function(){};s.prototype=n.prototype,S.prototype=new s,S.prototype.constructor=S}function l(S,n,s){if(l.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===n||"be"===n)&&(s=n,n=10),this._init(S||0,n||10,s||"be"))}var w;"object"==typeof e?e.exports=l:t.BN=l,l.BN=l,l.wordSize=26;try{w=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:p(5568).Buffer}catch{}function m(S,n){var s=S.charCodeAt(n);return s>=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,C=Math.min(S.length,s),D=n;D=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h=0;h-=3)this.words[C]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);else if("le"===f)for(h=0,C=0;h>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h=s;h-=2)O=P(n,s,h)<=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;else for(h=(n.length-s)%2==0?s+1:s;h=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=s)h++;h--,C=C/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],C=0|n.words[0],D=h*C,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r>>26,H=67108863&v,R=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=R;ee++)g+=(D=(h=0|S.words[r-ee|0])*(C=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,C=0,D=0;D>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==C&&(f=C.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var R=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?R+f:E[r-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof w<"u"),this.toArrayLike(w,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),C=f||Math.max(1,h);y(h<=C,"byte array longer than desired length"),y(C>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(C),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;sn.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;fn.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;hn.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<n.length?(f=this,h=n):(f=n,h=this);for(var C=0,D=0;D>>26;for(;0!==C&&D>>26;if(this.length=f.length,0!==C)this.words[this.length]=C,this.length++;else if(f!==this)for(;Dn.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,C=n):(h=n,C=this);for(var D=0,O=0;O>26,this.words[O]=67108863&s;for(;0!==D&&O>26,this.words[O]=67108863&s;if(0===D&&O>>13,De=0|h[1],ct=8191&De,Ke=De>>>13,Je=0|h[2],ye=8191&Je,fe=Je>>>13,de=0|h[3],xe=8191&de,le=de>>>13,pe=0|h[4],qe=8191&pe,re=pe>>>13,ve=0|h[5],ce=8191&ve,Ze=ve>>>13,We=0|h[6],Ct=8191&We,ut=We>>>13,It=0|h[7],Ae=8191&It,Be=It>>>13,rt=0|h[8],$e=8191&rt,Ie=rt>>>13,lt=0|h[9],Qe=8191<,St=lt>>>13,dt=0|C[0],te=8191&dt,Ue=dt>>>13,Bt=0|C[1],Ye=8191&Bt,je=Bt>>>13,Ft=0|C[2],xt=8191&Ft,Ot=Ft>>>13,yt=0|C[3],at=8191&yt,Ee=yt>>>13,nt=0|C[4],Ge=8191&nt,Xe=nt>>>13,gt=0|C[5],Le=8191>,be=gt>>>13,$=0|C[6],ne=8191&$,ke=$>>>13,Nt=0|C[7],At=8191&Nt,Wt=Nt>>>13,gi=0|C[8],ei=8191&gi,$t=gi>>>13,Fi=0|C[9],li=8191&Fi,ui=Fi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(R,te))|0)+((8191&(r=(r=Math.imul(R,Ue))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Ue))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ct,te),r=(r=Math.imul(ct,Ue))+Math.imul(Ke,te)|0,g=Math.imul(Ke,Ue);var Ki=(O+(v=v+Math.imul(R,Ye)|0)|0)+((8191&(r=(r=r+Math.imul(R,je)|0)+Math.imul(ee,Ye)|0))<<13)|0;O=((g=g+Math.imul(ee,je)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Ue))+Math.imul(fe,te)|0,g=Math.imul(fe,Ue),v=v+Math.imul(ct,Ye)|0,r=(r=r+Math.imul(ct,je)|0)+Math.imul(Ke,Ye)|0,g=g+Math.imul(Ke,je)|0;var Mi=(O+(v=v+Math.imul(R,xt)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Ue))+Math.imul(le,te)|0,g=Math.imul(le,Ue),v=v+Math.imul(ye,Ye)|0,r=(r=r+Math.imul(ye,je)|0)+Math.imul(fe,Ye)|0,g=g+Math.imul(fe,je)|0,v=v+Math.imul(ct,xt)|0,r=(r=r+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0,g=g+Math.imul(Ke,Ot)|0;var on=(O+(v=v+Math.imul(R,at)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ee)|0)+Math.imul(ee,at)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(on>>>26)|0,on&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Ue))+Math.imul(re,te)|0,g=Math.imul(re,Ue),v=v+Math.imul(xe,Ye)|0,r=(r=r+Math.imul(xe,je)|0)+Math.imul(le,Ye)|0,g=g+Math.imul(le,je)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,g=g+Math.imul(fe,Ot)|0,v=v+Math.imul(ct,at)|0,r=(r=r+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0,g=g+Math.imul(Ke,Ee)|0;var st=(O+(v=v+Math.imul(R,Ge)|0)|0)+((8191&(r=(r=r+Math.imul(R,Xe)|0)+Math.imul(ee,Ge)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,v=Math.imul(ce,te),r=(r=Math.imul(ce,Ue))+Math.imul(Ze,te)|0,g=Math.imul(Ze,Ue),v=v+Math.imul(qe,Ye)|0,r=(r=r+Math.imul(qe,je)|0)+Math.imul(re,Ye)|0,g=g+Math.imul(re,je)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,g=g+Math.imul(le,Ot)|0,v=v+Math.imul(ye,at)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(ct,Ge)|0,r=(r=r+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0,g=g+Math.imul(Ke,Xe)|0;var si=(O+(v=v+Math.imul(R,Le)|0)|0)+((8191&(r=(r=r+Math.imul(R,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(Ct,te),r=(r=Math.imul(Ct,Ue))+Math.imul(ut,te)|0,g=Math.imul(ut,Ue),v=v+Math.imul(ce,Ye)|0,r=(r=r+Math.imul(ce,je)|0)+Math.imul(Ze,Ye)|0,g=g+Math.imul(Ze,je)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,g=g+Math.imul(re,Ot)|0,v=v+Math.imul(xe,at)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ge)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,g=g+Math.imul(fe,Xe)|0,v=v+Math.imul(ct,Le)|0,r=(r=r+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0,g=g+Math.imul(Ke,be)|0;var Ce=(O+(v=v+Math.imul(R,ne)|0)|0)+((8191&(r=(r=r+Math.imul(R,ke)|0)+Math.imul(ee,ne)|0))<<13)|0;O=((g=g+Math.imul(ee,ke)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Ue))+Math.imul(Be,te)|0,g=Math.imul(Be,Ue),v=v+Math.imul(Ct,Ye)|0,r=(r=r+Math.imul(Ct,je)|0)+Math.imul(ut,Ye)|0,g=g+Math.imul(ut,je)|0,v=v+Math.imul(ce,xt)|0,r=(r=r+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,g=g+Math.imul(Ze,Ot)|0,v=v+Math.imul(qe,at)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,g=g+Math.imul(re,Ee)|0,v=v+Math.imul(xe,Ge)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,g=g+Math.imul(le,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(ct,ne)|0,r=(r=r+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0,g=g+Math.imul(Ke,ke)|0;var Mt=(O+(v=v+Math.imul(R,At)|0)|0)+((8191&(r=(r=r+Math.imul(R,Wt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Wt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Ue))+Math.imul(Ie,te)|0,g=Math.imul(Ie,Ue),v=v+Math.imul(Ae,Ye)|0,r=(r=r+Math.imul(Ae,je)|0)+Math.imul(Be,Ye)|0,g=g+Math.imul(Be,je)|0,v=v+Math.imul(Ct,xt)|0,r=(r=r+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,g=g+Math.imul(ut,Ot)|0,v=v+Math.imul(ce,at)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,g=g+Math.imul(Ze,Ee)|0,v=v+Math.imul(qe,Ge)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,g=g+Math.imul(re,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,ke)|0,v=v+Math.imul(ct,At)|0,r=(r=r+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0,g=g+Math.imul(Ke,Wt)|0;var Ht=(O+(v=v+Math.imul(R,ei)|0)|0)+((8191&(r=(r=r+Math.imul(R,$t)|0)+Math.imul(ee,ei)|0))<<13)|0;O=((g=g+Math.imul(ee,$t)|0)+(r>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,v=Math.imul(Qe,te),r=(r=Math.imul(Qe,Ue))+Math.imul(St,te)|0,g=Math.imul(St,Ue),v=v+Math.imul($e,Ye)|0,r=(r=r+Math.imul($e,je)|0)+Math.imul(Ie,Ye)|0,g=g+Math.imul(Ie,je)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(Ct,at)|0,r=(r=r+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,g=g+Math.imul(ut,Ee)|0,v=v+Math.imul(ce,Ge)|0,r=(r=r+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,g=g+Math.imul(Ze,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,g=g+Math.imul(re,be)|0,v=v+Math.imul(xe,ne)|0,r=(r=r+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,ke)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Wt)|0,v=v+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0,g=g+Math.imul(Ke,$t)|0;var Dt=(O+(v=v+Math.imul(R,li)|0)|0)+((8191&(r=(r=r+Math.imul(R,ui)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,Ye),r=(r=Math.imul(Qe,je))+Math.imul(St,Ye)|0,g=Math.imul(St,je),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,g=g+Math.imul(Ie,Ot)|0,v=v+Math.imul(Ae,at)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(Ct,Ge)|0,r=(r=r+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,g=g+Math.imul(ut,Xe)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,g=g+Math.imul(Ze,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,g=g+Math.imul(re,ke)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Wt)|0,v=v+Math.imul(ye,ei)|0,r=(r=r+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,g=g+Math.imul(fe,$t)|0;var kt=(O+(v=v+Math.imul(ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;O=((g=g+Math.imul(Ke,ui)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,v=Math.imul(Qe,xt),r=(r=Math.imul(Qe,Ot))+Math.imul(St,xt)|0,g=Math.imul(St,Ot),v=v+Math.imul($e,at)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,g=g+Math.imul(Ie,Ee)|0,v=v+Math.imul(Ae,Ge)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(Ct,Le)|0,r=(r=r+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,g=g+Math.imul(ut,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,g=g+Math.imul(Ze,ke)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,g=g+Math.imul(re,Wt)|0,v=v+Math.imul(xe,ei)|0,r=(r=r+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,g=g+Math.imul(le,$t)|0;var Gt=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0))<<13)|0;O=((g=g+Math.imul(fe,ui)|0)+(r>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(Qe,at),r=(r=Math.imul(Qe,Ee))+Math.imul(St,at)|0,g=Math.imul(St,Ee),v=v+Math.imul($e,Ge)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,g=g+Math.imul(Ie,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(Ct,ne)|0,r=(r=r+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,g=g+Math.imul(ut,ke)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,g=g+Math.imul(Ze,Wt)|0,v=v+Math.imul(qe,ei)|0,r=(r=r+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,g=g+Math.imul(re,$t)|0;var oi=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,ui)|0)+Math.imul(le,li)|0))<<13)|0;O=((g=g+Math.imul(le,ui)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(Qe,Ge),r=(r=Math.imul(Qe,Xe))+Math.imul(St,Ge)|0,g=Math.imul(St,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,g=g+Math.imul(Ie,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,g=g+Math.imul(Be,ke)|0,v=v+Math.imul(Ct,At)|0,r=(r=r+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,g=g+Math.imul(ut,Wt)|0,v=v+Math.imul(ce,ei)|0,r=(r=r+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,g=g+Math.imul(Ze,$t)|0;var bi=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,ui)|0)+Math.imul(re,li)|0))<<13)|0;O=((g=g+Math.imul(re,ui)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(St,Le)|0,g=Math.imul(St,be),v=v+Math.imul($e,ne)|0,r=(r=r+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,g=g+Math.imul(Ie,ke)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Wt)|0,v=v+Math.imul(Ct,ei)|0,r=(r=r+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,g=g+Math.imul(ut,$t)|0;var yi=(O+(v=v+Math.imul(ce,li)|0)|0)+((8191&(r=(r=r+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0))<<13)|0;O=((g=g+Math.imul(Ze,ui)|0)+(r>>>13)|0)+(yi>>>26)|0,yi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,ke))+Math.imul(St,ne)|0,g=Math.imul(St,ke),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,g=g+Math.imul(Ie,Wt)|0,v=v+Math.imul(Ae,ei)|0,r=(r=r+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,g=g+Math.imul(Be,$t)|0;var Oi=(O+(v=v+Math.imul(Ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0))<<13)|0;O=((g=g+Math.imul(ut,ui)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Wt))+Math.imul(St,At)|0,g=Math.imul(St,Wt),v=v+Math.imul($e,ei)|0,r=(r=r+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,g=g+Math.imul(Ie,$t)|0;var Ui=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,ui)|0)+(r>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(Qe,ei),r=(r=Math.imul(Qe,$t))+Math.imul(St,ei)|0,g=Math.imul(St,$t);var Bi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0))<<13)|0;O=((g=g+Math.imul(Ie,ui)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863;var qt=(O+(v=Math.imul(Qe,li))|0)+((8191&(r=(r=Math.imul(Qe,ui))+Math.imul(St,li)|0))<<13)|0;return O=((g=Math.imul(St,ui))+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863,D[0]=un,D[1]=Ki,D[2]=Mi,D[3]=on,D[4]=st,D[5]=si,D[6]=Ce,D[7]=Mt,D[8]=Ht,D[9]=Dt,D[10]=kt,D[11]=Gt,D[12]=oi,D[13]=bi,D[14]=yi,D[15]=Oi,D[16]=Ui,D[17]=Bi,D[18]=qt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=z),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?z(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,C=0;C>>26)|0)>>>26,D&=67108863}s.words[C]=O,f=D,D=h}return 0!==f?s.words[C]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h>=1;return h},K.prototype.permute=function(n,s,f,h,C,D){for(var O=0;O>>=1)C++;return 1<>>=13),C>>>=13;for(D=2*s;D>=26,s+=h/67108864|0,s+=C>>>26,this.words[f]=67108863&C}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h=0);var C,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(C=0;C>>26-s}D&&(this.words[C]=D,this.length++)}if(0!==f){for(C=this.length-1;C>=0;C--)this.words[C+f]=this.words[C];for(C=0;C=0),h=s?(s-s%26)/26:0;var C=n%26,D=Math.min((n-C)/26,this.length),O=67108863^67108863>>>C<D)for(this.length-=D,r=0;r=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-C|H>>>C,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s>26)-(v/67108864|0),this.words[C+f]=67108863&D}for(;C>26,this.words[C+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,C=0;C>26,this.words[C]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),C=n,D=0|C.words[C.length-1];0!=(f=26-this._countBits(D))&&(C=C.ushln(f),h.iushln(f),D=0|C.words[C.length-1]);var r,v=h.length-C.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g=0;R--){var ee=67108864*(0|h.words[C.length+R])+(0|h.words[C.length+R-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(C,ee,R);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(C,1,R),h.isZero()||(h.negative^=1);r&&(r.words[R]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.isub(n)),{div:D.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,C,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),C=n.andln(1),D=f.cmp(h);return D<0||1===C&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,R=1;!(s.words[0]&R)&&H<26;++H,R<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(g)),h.iushrn(1),C.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),C.isub(O)):(f.isub(s),D.isub(h),O.isub(C))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(D),C.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(C)):(f.isub(s),C.isub(h))}return(H=0===s.cmpn(1)?h:C).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var C=s.cmp(f);if(C<0){var D=s;s=f,f=D}else if(0===C||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<>>26,this.words[D]=O&=67108863}return 0!==C&&(this.words[D]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:hn.length)return 1;if(this.length=0;f--){var h=0|this.words[f],C=0|n.words[f];if(h!==C){hC&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new J(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function se(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function J(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){J.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(se,ie),se.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),C=0;C>>22,D=O}n.words[C-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},se.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f>>=26,n.words[f]=C,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new se;else if("p224"===n)s=new ue;else if("p192"===n)s=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},J.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},J.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},J.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},J.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},J.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},J.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},J.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},J.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},J.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},J.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},J.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},J.prototype.isqr=function(n){return this.imul(n,n.clone())},J.prototype.sqr=function(n){return this.mul(n,n)},J.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),R=this.pow(n,h),ee=C;0!==R.cmp(D);){for(var De=R,ct=0;0!==De.cmp(D);ct++)De=De.redSqr();y(ct=0;C--){for(var g=s.words[C],H=r-1;H>=0;H--){var R=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==R||0!==O?(O<<=1,O|=R,(4==++v||0===C&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},J.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},J.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,J),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},6119:Fe=>{"use strict";Fe.exports=function(p){for(var e=[],t=p.length,y=0;y=55296&&A<=56319&&t>y+1){var l=p.charCodeAt(y+1);l>=56320&&l<=57343&&(A=1024*(A-55296)+l-56320+65536,y+=1)}A<128?e.push(A):A<2048?(e.push(A>>6|192),e.push(63&A|128)):A<55296||A>=57344&&A<65536?(e.push(A>>12|224),e.push(A>>6&63|128),e.push(63&A|128)):A>=65536&&A<=1114111?(e.push(A>>18|240),e.push(A>>12&63|128),e.push(A>>6&63|128),e.push(63&A|128)):e.push(239,191,189)}return new Uint8Array(e).buffer}},2016:Fe=>{"use strict";var e,q="object"==typeof Reflect?Reflect:null,p=q&&"function"==typeof q.apply?q.apply:function(ie,se,ue){return Function.prototype.apply.call(ie,se,ue)};e=q&&"function"==typeof q.ownKeys?q.ownKeys:Object.getOwnPropertySymbols?function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:function(ie){return Object.getOwnPropertyNames(ie)};var y=Number.isNaN||function(ie){return ie!=ie};function A(){A.init.call(this)}Fe.exports=A,Fe.exports.once=function W(X,ie){return new Promise(function(se,ue){function ae(J){X.removeListener(ie,Me),ue(J)}function Me(){"function"==typeof X.removeListener&&X.removeListener("error",ae),se([].slice.call(arguments))}K(X,ie,Me,{once:!0}),"error"!==ie&&function j(X,ie,se){"function"==typeof X.on&&K(X,"error",ie,se)}(X,ae,{once:!0})})},A.EventEmitter=A,A.prototype._events=void 0,A.prototype._eventsCount=0,A.prototype._maxListeners=void 0;var l=10;function w(X){if("function"!=typeof X)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof X)}function m(X){return void 0===X._maxListeners?A.defaultMaxListeners:X._maxListeners}function P(X,ie,se,ue){var ae,Me,J;if(w(se),void 0===(Me=X._events)?(Me=X._events=Object.create(null),X._eventsCount=0):(void 0!==Me.newListener&&(X.emit("newListener",ie,se.listener?se.listener:se),Me=X._events),J=Me[ie]),void 0===J)J=Me[ie]=se,++X._eventsCount;else if("function"==typeof J?J=Me[ie]=ue?[se,J]:[J,se]:ue?J.unshift(se):J.push(se),(ae=m(X))>0&&J.length>ae&&!J.warned){J.warned=!0;var he=new Error("Possible EventEmitter memory leak detected. "+J.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");he.name="MaxListenersExceededWarning",he.emitter=X,he.type=ie,he.count=J.length,function t(X){console&&console.warn&&console.warn(X)}(he)}return X}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function E(X,ie,se){var ue={fired:!1,wrapFn:void 0,target:X,type:ie,listener:se},ae=d.bind(ue);return ae.listener=se,ue.wrapFn=ae,ae}function M(X,ie,se){var ue=X._events;if(void 0===ue)return[];var ae=ue[ie];return void 0===ae?[]:"function"==typeof ae?se?[ae.listener||ae]:[ae]:se?function B(X){for(var ie=new Array(X.length),se=0;se0&&(J=se[0]),J instanceof Error)throw J;var he=new Error("Unhandled error."+(J?" ("+J.message+")":""));throw he.context=J,he}var S=Me[ie];if(void 0===S)return!1;if("function"==typeof S)p(S,this,se);else{var n=S.length,s=k(S,n);for(ue=0;ue=0;J--)if(ue[J]===se||ue[J].listener===se){he=ue[J].listener,Me=J;break}if(Me<0)return this;0===Me?ue.shift():function z(X,ie){for(;ie+1=0;ae--)this.removeListener(ie,se[ae]);return this},A.prototype.listeners=function(ie){return M(this,ie,!0)},A.prototype.rawListeners=function(ie){return M(this,ie,!1)},A.listenerCount=function(X,ie){return"function"==typeof X.listenerCount?X.listenerCount(ie):I.call(X,ie)},A.prototype.listenerCount=I,A.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},6505:(Fe,q,p)=>{var e=p(843).Buffer,t=p(5829);Fe.exports=function y(A,l,w,m){if(e.isBuffer(A)||(A=e.from(A,"binary")),l&&(e.isBuffer(l)||(l=e.from(l,"binary")),8!==l.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=w/8,d=e.alloc(P),E=e.alloc(m||0),M=e.alloc(0);P>0||m>0;){var I=new t;I.update(M),I.update(A),l&&I.update(l),M=I.digest();var k=0;if(P>0){var z=d.length-P;k=Math.min(P,M.length),M.copy(d,z,0,k),P-=k}if(k0){var B=E.length-m,W=Math.min(m,M.length-k);M.copy(E,B,k,k+W),m-=W}}return M.fill(0),{key:d,iv:E}}},380:(Fe,q,p)=>{"use strict";var e=p(843).Buffer,t=p(6745).Transform;function l(w){t.call(this),this._block=e.allocUnsafe(w),this._blockSize=w,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}p(6698)(l,t),l.prototype._transform=function(w,m,P){var d=null;try{this.update(w,m)}catch(E){d=E}P(d)},l.prototype._flush=function(w){var m=null;try{this.push(this.digest())}catch(P){m=P}w(m)},l.prototype.update=function(w,m){if(function A(w,m){if(!e.isBuffer(w)&&"string"!=typeof w)throw new TypeError(m+" must be a string or a buffer")}(w,"Data"),this._finalized)throw new Error("Digest already called");e.isBuffer(w)||(w=e.from(w,m));for(var P=this._block,d=0;this._blockOffset+w.length-d>=this._blockSize;){for(var E=this._blockOffset;E0;++M)this._length[M]+=I,(I=this._length[M]/4294967296|0)>0&&(this._length[M]-=4294967296*I);return this},l.prototype._update=function(){throw new Error("_update is not implemented")},l.prototype.digest=function(w){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var m=this._digest();void 0!==w&&(m=m.toString(w)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return m},l.prototype._digest=function(){throw new Error("_digest is not implemented")},Fe.exports=l},1076:(Fe,q,p)=>{var e=q;e.utils=p(9875),e.common=p(2085),e.sha=p(7658),e.ripemd=p(8344),e.hmac=p(6192),e.sha1=e.sha.sha1,e.sha256=e.sha.sha256,e.sha224=e.sha.sha224,e.sha384=e.sha.sha384,e.sha512=e.sha.sha512,e.ripemd160=e.ripemd.ripemd160},2085:(Fe,q,p)=>{"use strict";var e=p(9875),t=p(7798);function y(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}q.BlockHash=y,y.prototype.update=function(l,w){if(l=e.toArray(l,w),this.pending=this.pending?this.pending.concat(l):l,this.pendingTotal+=l.length,this.pending.length>=this._delta8){var m=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-m,l.length),0===this.pending.length&&(this.pending=null),l=e.join32(l,0,l.length-m,this.endian);for(var P=0;P>>24&255,P[d++]=l>>>16&255,P[d++]=l>>>8&255,P[d++]=255&l}else for(P[d++]=255&l,P[d++]=l>>>8&255,P[d++]=l>>>16&255,P[d++]=l>>>24&255,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,E=8;E{"use strict";var e=p(9875),t=p(7798);function y(A,l,w){if(!(this instanceof y))return new y(A,l,w);this.Hash=A,this.blockSize=A.blockSize/8,this.outSize=A.outSize/8,this.inner=null,this.outer=null,this._init(e.toArray(l,w))}Fe.exports=y,y.prototype._init=function(l){l.length>this.blockSize&&(l=(new this.Hash).update(l).digest()),t(l.length<=this.blockSize);for(var w=l.length;w{"use strict";var e=p(9875),t=p(2085),y=e.rotl32,A=e.sum32,l=e.sum32_3,w=e.sum32_4,m=t.BlockHash;function P(){if(!(this instanceof P))return new P;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(W,j,K,X){return W<=15?j^K^X:W<=31?j&K|~j&X:W<=47?(j|~K)^X:W<=63?j&X|K&~X:j^(K|~X)}function M(W){return W<=15?1352829926:W<=31?1548603684:W<=47?1836072691:W<=63?2053994217:0}e.inherits(P,m),q.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(j,K){for(var X=this.h[0],ie=this.h[1],se=this.h[2],ue=this.h[3],ae=this.h[4],Me=X,J=ie,he=se,S=ue,n=ae,s=0;s<80;s++){var f=A(y(w(X,d(s,ie,se,ue),j[I[s]+K],(W=s)<=15?0:W<=31?1518500249:W<=47?1859775393:W<=63?2400959708:2840853838),z[s]),ae);X=ae,ae=ue,ue=y(se,10),se=ie,ie=f,f=A(y(w(Me,d(79-s,J,he,S),j[k[s]+K],M(s)),B[s]),n),Me=n,n=S,S=y(he,10),he=J,J=f}var W;f=l(this.h[1],se,S),this.h[1]=l(this.h[2],ue,n),this.h[2]=l(this.h[3],ae,Me),this.h[3]=l(this.h[4],X,J),this.h[4]=l(this.h[0],ie,he),this.h[0]=f},P.prototype._digest=function(j){return"hex"===j?e.toHex32(this.h,"little"):e.split32(this.h,"little")};var I=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],k=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],z=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],B=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},7658:(Fe,q,p)=>{"use strict";q.sha1=p(5010),q.sha224=p(3578),q.sha256=p(7857),q.sha384=p(8723),q.sha512=p(5304)},5010:(Fe,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7221),A=e.rotl32,l=e.sum32,w=e.sum32_5,m=y.ft_1,P=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function E(){if(!(this instanceof E))return new E;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}e.inherits(E,P),Fe.exports=E,E.blockSize=512,E.outSize=160,E.hmacStrength=80,E.padLength=64,E.prototype._update=function(I,k){for(var z=this.W,B=0;B<16;B++)z[B]=I[k+B];for(;B{"use strict";var e=p(9875),t=p(7857);function y(){if(!(this instanceof y))return new y;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}e.inherits(y,t),Fe.exports=y,y.blockSize=512,y.outSize=224,y.hmacStrength=192,y.padLength=64,y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,7),"big"):e.split32(this.h.slice(0,7),"big")}},7857:(Fe,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7221),A=p(7798),l=e.sum32,w=e.sum32_4,m=e.sum32_5,P=y.ch32,d=y.maj32,E=y.s0_256,M=y.s1_256,I=y.g0_256,k=y.g1_256,z=t.BlockHash,B=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function W(){if(!(this instanceof W))return new W;z.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=B,this.W=new Array(64)}e.inherits(W,z),Fe.exports=W,W.blockSize=512,W.outSize=256,W.hmacStrength=192,W.padLength=64,W.prototype._update=function(K,X){for(var ie=this.W,se=0;se<16;se++)ie[se]=K[X+se];for(;se{"use strict";var e=p(9875),t=p(5304);function y(){if(!(this instanceof y))return new y;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}e.inherits(y,t),Fe.exports=y,y.blockSize=1024,y.outSize=384,y.hmacStrength=192,y.padLength=128,y.prototype._digest=function(l){return"hex"===l?e.toHex32(this.h.slice(0,12),"big"):e.split32(this.h.slice(0,12),"big")}},5304:(Fe,q,p)=>{"use strict";var e=p(9875),t=p(2085),y=p(7798),A=e.rotr64_hi,l=e.rotr64_lo,w=e.shr64_hi,m=e.shr64_lo,P=e.sum64,d=e.sum64_hi,E=e.sum64_lo,M=e.sum64_4_hi,I=e.sum64_4_lo,k=e.sum64_5_hi,z=e.sum64_5_lo,B=t.BlockHash,W=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function j(){if(!(this instanceof j))return new j;B.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=W,this.W=new Array(160)}function K(f,h,C,D,O){var v=f&C^~f&O;return v<0&&(v+=4294967296),v}function X(f,h,C,D,O,v){var r=h&D^~h&v;return r<0&&(r+=4294967296),r}function ie(f,h,C,D,O){var v=f&C^f&O^C&O;return v<0&&(v+=4294967296),v}function se(f,h,C,D,O,v){var r=h&D^h&v^D&v;return r<0&&(r+=4294967296),r}function ue(f,h){var v=A(f,h,28)^A(h,f,2)^A(h,f,7);return v<0&&(v+=4294967296),v}function ae(f,h){var v=l(f,h,28)^l(h,f,2)^l(h,f,7);return v<0&&(v+=4294967296),v}function Me(f,h){var v=A(f,h,14)^A(f,h,18)^A(h,f,9);return v<0&&(v+=4294967296),v}function J(f,h){var v=l(f,h,14)^l(f,h,18)^l(h,f,9);return v<0&&(v+=4294967296),v}function he(f,h){var v=A(f,h,1)^A(f,h,8)^w(f,h,7);return v<0&&(v+=4294967296),v}function S(f,h){var v=l(f,h,1)^l(f,h,8)^m(f,h,7);return v<0&&(v+=4294967296),v}function n(f,h){var v=A(f,h,19)^A(h,f,29)^w(f,h,6);return v<0&&(v+=4294967296),v}function s(f,h){var v=l(f,h,19)^l(h,f,29)^m(f,h,6);return v<0&&(v+=4294967296),v}e.inherits(j,B),Fe.exports=j,j.blockSize=1024,j.outSize=512,j.hmacStrength=192,j.padLength=128,j.prototype._prepareBlock=function(h,C){for(var D=this.W,O=0;O<32;O++)D[O]=h[C+O];for(;O{"use strict";var t=p(9875).rotr32;function A(M,I,k){return M&I^~M&k}function l(M,I,k){return M&I^M&k^I&k}function w(M,I,k){return M^I^k}q.ft_1=function y(M,I,k,z){return 0===M?A(I,k,z):1===M||3===M?w(I,k,z):2===M?l(I,k,z):void 0},q.ch32=A,q.maj32=l,q.p32=w,q.s0_256=function m(M){return t(M,2)^t(M,13)^t(M,22)},q.s1_256=function P(M){return t(M,6)^t(M,11)^t(M,25)},q.g0_256=function d(M){return t(M,7)^t(M,18)^M>>>3},q.g1_256=function E(M){return t(M,17)^t(M,19)^M>>>10}},9875:(Fe,q,p)=>{"use strict";var e=p(7798),t=p(6698);function y(s,f){return!(55296!=(64512&s.charCodeAt(f))||f<0||f+1>=s.length)&&56320==(64512&s.charCodeAt(f+1))}function w(s){return(s>>>24|s>>>8&65280|s<<8&16711680|(255&s)<<24)>>>0}function P(s){return 1===s.length?"0"+s:s}function d(s){return 7===s.length?"0"+s:6===s.length?"00"+s:5===s.length?"000"+s:4===s.length?"0000"+s:3===s.length?"00000"+s:2===s.length?"000000"+s:1===s.length?"0000000"+s:s}q.inherits=t,q.toArray=function A(s,f){if(Array.isArray(s))return s.slice();if(!s)return[];var h=[];if("string"==typeof s)if(f){if("hex"===f)for((s=s.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(s="0"+s),D=0;D>6|192,h[C++]=63&O|128):y(s,D)?(O=65536+((1023&O)<<10)+(1023&s.charCodeAt(++D)),h[C++]=O>>18|240,h[C++]=O>>12&63|128,h[C++]=O>>6&63|128,h[C++]=63&O|128):(h[C++]=O>>12|224,h[C++]=O>>6&63|128,h[C++]=63&O|128)}else for(D=0;D>>0;return O},q.split32=function M(s,f){for(var h=new Array(4*s.length),C=0,D=0;C>>24,h[D+1]=O>>>16&255,h[D+2]=O>>>8&255,h[D+3]=255&O):(h[D+3]=O>>>24,h[D+2]=O>>>16&255,h[D+1]=O>>>8&255,h[D]=255&O)}return h},q.rotr32=function I(s,f){return s>>>f|s<<32-f},q.rotl32=function k(s,f){return s<>>32-f},q.sum32=function z(s,f){return s+f>>>0},q.sum32_3=function B(s,f,h){return s+f+h>>>0},q.sum32_4=function W(s,f,h,C){return s+f+h+C>>>0},q.sum32_5=function j(s,f,h,C,D){return s+f+h+C+D>>>0},q.sum64=function K(s,f,h,C){var v=C+s[f+1]>>>0;s[f]=(v>>0,s[f+1]=v},q.sum64_hi=function X(s,f,h,C){return(f+C>>>0>>0},q.sum64_lo=function ie(s,f,h,C){return f+C>>>0},q.sum64_4_hi=function se(s,f,h,C,D,O,v,r){var g=0,H=f;return g+=(H=H+C>>>0)>>0)>>0)>>0},q.sum64_4_lo=function ue(s,f,h,C,D,O,v,r){return f+C+O+r>>>0},q.sum64_5_hi=function ae(s,f,h,C,D,O,v,r,g,H){var R=0,ee=f;return R+=(ee=ee+C>>>0)>>0)>>0)>>0)>>0},q.sum64_5_lo=function Me(s,f,h,C,D,O,v,r,g,H){return f+C+O+r+H>>>0},q.rotr64_hi=function J(s,f,h){return(f<<32-h|s>>>h)>>>0},q.rotr64_lo=function he(s,f,h){return(s<<32-h|f>>>h)>>>0},q.shr64_hi=function S(s,f,h){return s>>>h},q.shr64_lo=function n(s,f,h){return(s<<32-h|f>>>h)>>>0}},2447:(Fe,q,p)=>{"use strict";var e=p(1076),t=p(8247),y=p(7798);function A(l){if(!(this instanceof A))return new A(l);this.hash=l.hash,this.predResist=!!l.predResist,this.outLen=this.hash.outSize,this.minEntropy=l.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var w=t.toArray(l.entropy,l.entropyEnc||"hex"),m=t.toArray(l.nonce,l.nonceEnc||"hex"),P=t.toArray(l.pers,l.persEnc||"hex");y(w.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(w,m,P)}Fe.exports=A,A.prototype._init=function(w,m,P){var d=w.concat(m).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var E=0;E=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(w.concat(P||[])),this._reseed=1},A.prototype.generate=function(w,m,P,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof m&&(d=P,P=m,m=null),P&&(P=t.toArray(P,d||"hex"),this._update(P));for(var E=[];E.length{q.read=function(p,e,t,y,A){var l,w,m=8*A-y-1,P=(1<>1,E=-7,M=t?A-1:0,I=t?-1:1,k=p[e+M];for(M+=I,l=k&(1<<-E)-1,k>>=-E,E+=m;E>0;l=256*l+p[e+M],M+=I,E-=8);for(w=l&(1<<-E)-1,l>>=-E,E+=y;E>0;w=256*w+p[e+M],M+=I,E-=8);if(0===l)l=1-d;else{if(l===P)return w?NaN:1/0*(k?-1:1);w+=Math.pow(2,y),l-=d}return(k?-1:1)*w*Math.pow(2,l-y)},q.write=function(p,e,t,y,A,l){var w,m,P,d=8*l-A-1,E=(1<>1,I=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,k=y?0:l-1,z=y?1:-1,B=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(m=isNaN(e)?1:0,w=E):(w=Math.floor(Math.log(e)/Math.LN2),e*(P=Math.pow(2,-w))<1&&(w--,P*=2),(e+=w+M>=1?I/P:I*Math.pow(2,1-M))*P>=2&&(w++,P/=2),w+M>=E?(m=0,w=E):w+M>=1?(m=(e*P-1)*Math.pow(2,A),w+=M):(m=e*Math.pow(2,M-1)*Math.pow(2,A),w=0));A>=8;p[t+k]=255&m,k+=z,m/=256,A-=8);for(w=w<0;p[t+k]=255&w,k+=z,w/=256,d-=8);p[t+k-z]|=128*B}},6698:Fe=>{Fe.exports="function"==typeof Object.create?function(p,e){e&&(p.super_=e,p.prototype=Object.create(e.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:function(p,e){if(e){p.super_=e;var t=function(){};t.prototype=e.prototype,p.prototype=new t,p.prototype.constructor=p}}},5829:(Fe,q,p)=>{"use strict";var e=p(6698),t=p(380),y=p(843).Buffer,A=new Array(16);function l(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function w(M,I){return M<>>32-I}function m(M,I,k,z,B,W,j){return w(M+(I&k|~I&z)+B+W|0,j)+I|0}function P(M,I,k,z,B,W,j){return w(M+(I&z|k&~z)+B+W|0,j)+I|0}function d(M,I,k,z,B,W,j){return w(M+(I^k^z)+B+W|0,j)+I|0}function E(M,I,k,z,B,W,j){return w(M+(k^(I|~z))+B+W|0,j)+I|0}e(l,t),l.prototype._update=function(){for(var M=A,I=0;I<16;++I)M[I]=this._block.readInt32LE(4*I);var k=this._a,z=this._b,B=this._c,W=this._d;k=m(k,z,B,W,M[0],3614090360,7),W=m(W,k,z,B,M[1],3905402710,12),B=m(B,W,k,z,M[2],606105819,17),z=m(z,B,W,k,M[3],3250441966,22),k=m(k,z,B,W,M[4],4118548399,7),W=m(W,k,z,B,M[5],1200080426,12),B=m(B,W,k,z,M[6],2821735955,17),z=m(z,B,W,k,M[7],4249261313,22),k=m(k,z,B,W,M[8],1770035416,7),W=m(W,k,z,B,M[9],2336552879,12),B=m(B,W,k,z,M[10],4294925233,17),z=m(z,B,W,k,M[11],2304563134,22),k=m(k,z,B,W,M[12],1804603682,7),W=m(W,k,z,B,M[13],4254626195,12),B=m(B,W,k,z,M[14],2792965006,17),k=P(k,z=m(z,B,W,k,M[15],1236535329,22),B,W,M[1],4129170786,5),W=P(W,k,z,B,M[6],3225465664,9),B=P(B,W,k,z,M[11],643717713,14),z=P(z,B,W,k,M[0],3921069994,20),k=P(k,z,B,W,M[5],3593408605,5),W=P(W,k,z,B,M[10],38016083,9),B=P(B,W,k,z,M[15],3634488961,14),z=P(z,B,W,k,M[4],3889429448,20),k=P(k,z,B,W,M[9],568446438,5),W=P(W,k,z,B,M[14],3275163606,9),B=P(B,W,k,z,M[3],4107603335,14),z=P(z,B,W,k,M[8],1163531501,20),k=P(k,z,B,W,M[13],2850285829,5),W=P(W,k,z,B,M[2],4243563512,9),B=P(B,W,k,z,M[7],1735328473,14),k=d(k,z=P(z,B,W,k,M[12],2368359562,20),B,W,M[5],4294588738,4),W=d(W,k,z,B,M[8],2272392833,11),B=d(B,W,k,z,M[11],1839030562,16),z=d(z,B,W,k,M[14],4259657740,23),k=d(k,z,B,W,M[1],2763975236,4),W=d(W,k,z,B,M[4],1272893353,11),B=d(B,W,k,z,M[7],4139469664,16),z=d(z,B,W,k,M[10],3200236656,23),k=d(k,z,B,W,M[13],681279174,4),W=d(W,k,z,B,M[0],3936430074,11),B=d(B,W,k,z,M[3],3572445317,16),z=d(z,B,W,k,M[6],76029189,23),k=d(k,z,B,W,M[9],3654602809,4),W=d(W,k,z,B,M[12],3873151461,11),B=d(B,W,k,z,M[15],530742520,16),k=E(k,z=d(z,B,W,k,M[2],3299628645,23),B,W,M[0],4096336452,6),W=E(W,k,z,B,M[7],1126891415,10),B=E(B,W,k,z,M[14],2878612391,15),z=E(z,B,W,k,M[5],4237533241,21),k=E(k,z,B,W,M[12],1700485571,6),W=E(W,k,z,B,M[3],2399980690,10),B=E(B,W,k,z,M[10],4293915773,15),z=E(z,B,W,k,M[1],2240044497,21),k=E(k,z,B,W,M[8],1873313359,6),W=E(W,k,z,B,M[15],4264355552,10),B=E(B,W,k,z,M[6],2734768916,15),z=E(z,B,W,k,M[13],1309151649,21),k=E(k,z,B,W,M[4],4149444226,6),W=E(W,k,z,B,M[11],3174756917,10),B=E(B,W,k,z,M[2],718787259,15),z=E(z,B,W,k,M[9],3951481745,21),this._a=this._a+k|0,this._b=this._b+z|0,this._c=this._c+B|0,this._d=this._d+W|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var M=y.allocUnsafe(16);return M.writeInt32LE(this._a,0),M.writeInt32LE(this._b,4),M.writeInt32LE(this._c,8),M.writeInt32LE(this._d,12),M},Fe.exports=l},8606:(Fe,q,p)=>{var e=p(303),t=p(82);function y(A){this.rand=A||new t.Rand}Fe.exports=y,y.create=function(l){return new y(l)},y.prototype._randbelow=function(l){var w=l.bitLength(),m=Math.ceil(w/8);do{var P=new e(this.rand.generate(m))}while(P.cmp(l)>=0);return P},y.prototype._randrange=function(l,w){var m=w.sub(l);return l.add(this._randbelow(m))},y.prototype.test=function(l,w,m){var P=l.bitLength(),d=e.mont(l),E=new e(1).toRed(d);w||(w=Math.max(1,P/48|0));for(var M=l.subn(1),I=0;!M.testn(I);I++);for(var k=l.shrn(I),z=M.toRed(d);w>0;w--){var W=this._randrange(new e(2),M);m&&m(W);var j=W.toRed(d).redPow(k);if(0!==j.cmp(E)&&0!==j.cmp(z)){for(var K=1;K0;w--){var z=this._randrange(new e(2),E),B=l.gcd(z);if(0!==B.cmpn(1))return B;var W=z.toRed(P).redPow(I);if(0!==W.cmp(d)&&0!==W.cmp(k)){for(var j=1;j=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,C=Math.min(S.length,s),D=n;D=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h=0;h-=3)this.words[C]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);else if("le"===f)for(h=0,C=0;h>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h=s;h-=2)O=P(n,s,h)<=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;else for(h=(n.length-s)%2==0?s+1:s;h=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=s)h++;h--,C=C/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],C=0|n.words[0],D=h*C,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r>>26,H=67108863&v,R=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=R;ee++)g+=(D=(h=0|S.words[r-ee|0])*(C=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,C=0,D=0;D>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==C&&(f=C.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var R=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?R+f:E[r-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof w<"u"),this.toArrayLike(w,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),C=f||Math.max(1,h);y(h<=C,"byte array longer than desired length"),y(C>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(C),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;sn.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;fn.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;hn.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<n.length?(f=this,h=n):(f=n,h=this);for(var C=0,D=0;D>>26;for(;0!==C&&D>>26;if(this.length=f.length,0!==C)this.words[this.length]=C,this.length++;else if(f!==this)for(;Dn.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,C=n):(h=n,C=this);for(var D=0,O=0;O>26,this.words[O]=67108863&s;for(;0!==D&&O>26,this.words[O]=67108863&s;if(0===D&&O>>13,De=0|h[1],ct=8191&De,Ke=De>>>13,Je=0|h[2],ye=8191&Je,fe=Je>>>13,de=0|h[3],xe=8191&de,le=de>>>13,pe=0|h[4],qe=8191&pe,re=pe>>>13,ve=0|h[5],ce=8191&ve,Ze=ve>>>13,We=0|h[6],Ct=8191&We,ut=We>>>13,It=0|h[7],Ae=8191&It,Be=It>>>13,rt=0|h[8],$e=8191&rt,Ie=rt>>>13,lt=0|h[9],Qe=8191<,St=lt>>>13,dt=0|C[0],te=8191&dt,Ue=dt>>>13,Bt=0|C[1],Ye=8191&Bt,je=Bt>>>13,Ft=0|C[2],xt=8191&Ft,Ot=Ft>>>13,yt=0|C[3],at=8191&yt,Ee=yt>>>13,nt=0|C[4],Ge=8191&nt,Xe=nt>>>13,gt=0|C[5],Le=8191>,be=gt>>>13,$=0|C[6],ne=8191&$,ke=$>>>13,Nt=0|C[7],At=8191&Nt,Wt=Nt>>>13,gi=0|C[8],ei=8191&gi,$t=gi>>>13,Fi=0|C[9],li=8191&Fi,ui=Fi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(R,te))|0)+((8191&(r=(r=Math.imul(R,Ue))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Ue))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ct,te),r=(r=Math.imul(ct,Ue))+Math.imul(Ke,te)|0,g=Math.imul(Ke,Ue);var Ki=(O+(v=v+Math.imul(R,Ye)|0)|0)+((8191&(r=(r=r+Math.imul(R,je)|0)+Math.imul(ee,Ye)|0))<<13)|0;O=((g=g+Math.imul(ee,je)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Ue))+Math.imul(fe,te)|0,g=Math.imul(fe,Ue),v=v+Math.imul(ct,Ye)|0,r=(r=r+Math.imul(ct,je)|0)+Math.imul(Ke,Ye)|0,g=g+Math.imul(Ke,je)|0;var Mi=(O+(v=v+Math.imul(R,xt)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Ue))+Math.imul(le,te)|0,g=Math.imul(le,Ue),v=v+Math.imul(ye,Ye)|0,r=(r=r+Math.imul(ye,je)|0)+Math.imul(fe,Ye)|0,g=g+Math.imul(fe,je)|0,v=v+Math.imul(ct,xt)|0,r=(r=r+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0,g=g+Math.imul(Ke,Ot)|0;var on=(O+(v=v+Math.imul(R,at)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ee)|0)+Math.imul(ee,at)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(on>>>26)|0,on&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Ue))+Math.imul(re,te)|0,g=Math.imul(re,Ue),v=v+Math.imul(xe,Ye)|0,r=(r=r+Math.imul(xe,je)|0)+Math.imul(le,Ye)|0,g=g+Math.imul(le,je)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,g=g+Math.imul(fe,Ot)|0,v=v+Math.imul(ct,at)|0,r=(r=r+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0,g=g+Math.imul(Ke,Ee)|0;var st=(O+(v=v+Math.imul(R,Ge)|0)|0)+((8191&(r=(r=r+Math.imul(R,Xe)|0)+Math.imul(ee,Ge)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,v=Math.imul(ce,te),r=(r=Math.imul(ce,Ue))+Math.imul(Ze,te)|0,g=Math.imul(Ze,Ue),v=v+Math.imul(qe,Ye)|0,r=(r=r+Math.imul(qe,je)|0)+Math.imul(re,Ye)|0,g=g+Math.imul(re,je)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,g=g+Math.imul(le,Ot)|0,v=v+Math.imul(ye,at)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(ct,Ge)|0,r=(r=r+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0,g=g+Math.imul(Ke,Xe)|0;var si=(O+(v=v+Math.imul(R,Le)|0)|0)+((8191&(r=(r=r+Math.imul(R,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(Ct,te),r=(r=Math.imul(Ct,Ue))+Math.imul(ut,te)|0,g=Math.imul(ut,Ue),v=v+Math.imul(ce,Ye)|0,r=(r=r+Math.imul(ce,je)|0)+Math.imul(Ze,Ye)|0,g=g+Math.imul(Ze,je)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,g=g+Math.imul(re,Ot)|0,v=v+Math.imul(xe,at)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ge)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,g=g+Math.imul(fe,Xe)|0,v=v+Math.imul(ct,Le)|0,r=(r=r+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0,g=g+Math.imul(Ke,be)|0;var Ce=(O+(v=v+Math.imul(R,ne)|0)|0)+((8191&(r=(r=r+Math.imul(R,ke)|0)+Math.imul(ee,ne)|0))<<13)|0;O=((g=g+Math.imul(ee,ke)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Ue))+Math.imul(Be,te)|0,g=Math.imul(Be,Ue),v=v+Math.imul(Ct,Ye)|0,r=(r=r+Math.imul(Ct,je)|0)+Math.imul(ut,Ye)|0,g=g+Math.imul(ut,je)|0,v=v+Math.imul(ce,xt)|0,r=(r=r+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,g=g+Math.imul(Ze,Ot)|0,v=v+Math.imul(qe,at)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,g=g+Math.imul(re,Ee)|0,v=v+Math.imul(xe,Ge)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,g=g+Math.imul(le,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(ct,ne)|0,r=(r=r+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0,g=g+Math.imul(Ke,ke)|0;var Mt=(O+(v=v+Math.imul(R,At)|0)|0)+((8191&(r=(r=r+Math.imul(R,Wt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Wt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Ue))+Math.imul(Ie,te)|0,g=Math.imul(Ie,Ue),v=v+Math.imul(Ae,Ye)|0,r=(r=r+Math.imul(Ae,je)|0)+Math.imul(Be,Ye)|0,g=g+Math.imul(Be,je)|0,v=v+Math.imul(Ct,xt)|0,r=(r=r+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,g=g+Math.imul(ut,Ot)|0,v=v+Math.imul(ce,at)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,g=g+Math.imul(Ze,Ee)|0,v=v+Math.imul(qe,Ge)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,g=g+Math.imul(re,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,ke)|0,v=v+Math.imul(ct,At)|0,r=(r=r+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0,g=g+Math.imul(Ke,Wt)|0;var Ht=(O+(v=v+Math.imul(R,ei)|0)|0)+((8191&(r=(r=r+Math.imul(R,$t)|0)+Math.imul(ee,ei)|0))<<13)|0;O=((g=g+Math.imul(ee,$t)|0)+(r>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,v=Math.imul(Qe,te),r=(r=Math.imul(Qe,Ue))+Math.imul(St,te)|0,g=Math.imul(St,Ue),v=v+Math.imul($e,Ye)|0,r=(r=r+Math.imul($e,je)|0)+Math.imul(Ie,Ye)|0,g=g+Math.imul(Ie,je)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(Ct,at)|0,r=(r=r+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,g=g+Math.imul(ut,Ee)|0,v=v+Math.imul(ce,Ge)|0,r=(r=r+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,g=g+Math.imul(Ze,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,g=g+Math.imul(re,be)|0,v=v+Math.imul(xe,ne)|0,r=(r=r+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,ke)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Wt)|0,v=v+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0,g=g+Math.imul(Ke,$t)|0;var Dt=(O+(v=v+Math.imul(R,li)|0)|0)+((8191&(r=(r=r+Math.imul(R,ui)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,Ye),r=(r=Math.imul(Qe,je))+Math.imul(St,Ye)|0,g=Math.imul(St,je),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,g=g+Math.imul(Ie,Ot)|0,v=v+Math.imul(Ae,at)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(Ct,Ge)|0,r=(r=r+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,g=g+Math.imul(ut,Xe)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,g=g+Math.imul(Ze,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,g=g+Math.imul(re,ke)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Wt)|0,v=v+Math.imul(ye,ei)|0,r=(r=r+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,g=g+Math.imul(fe,$t)|0;var kt=(O+(v=v+Math.imul(ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;O=((g=g+Math.imul(Ke,ui)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,v=Math.imul(Qe,xt),r=(r=Math.imul(Qe,Ot))+Math.imul(St,xt)|0,g=Math.imul(St,Ot),v=v+Math.imul($e,at)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,g=g+Math.imul(Ie,Ee)|0,v=v+Math.imul(Ae,Ge)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(Ct,Le)|0,r=(r=r+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,g=g+Math.imul(ut,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,g=g+Math.imul(Ze,ke)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,g=g+Math.imul(re,Wt)|0,v=v+Math.imul(xe,ei)|0,r=(r=r+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,g=g+Math.imul(le,$t)|0;var Gt=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0))<<13)|0;O=((g=g+Math.imul(fe,ui)|0)+(r>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(Qe,at),r=(r=Math.imul(Qe,Ee))+Math.imul(St,at)|0,g=Math.imul(St,Ee),v=v+Math.imul($e,Ge)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,g=g+Math.imul(Ie,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(Ct,ne)|0,r=(r=r+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,g=g+Math.imul(ut,ke)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,g=g+Math.imul(Ze,Wt)|0,v=v+Math.imul(qe,ei)|0,r=(r=r+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,g=g+Math.imul(re,$t)|0;var oi=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,ui)|0)+Math.imul(le,li)|0))<<13)|0;O=((g=g+Math.imul(le,ui)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(Qe,Ge),r=(r=Math.imul(Qe,Xe))+Math.imul(St,Ge)|0,g=Math.imul(St,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,g=g+Math.imul(Ie,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,g=g+Math.imul(Be,ke)|0,v=v+Math.imul(Ct,At)|0,r=(r=r+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,g=g+Math.imul(ut,Wt)|0,v=v+Math.imul(ce,ei)|0,r=(r=r+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,g=g+Math.imul(Ze,$t)|0;var bi=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,ui)|0)+Math.imul(re,li)|0))<<13)|0;O=((g=g+Math.imul(re,ui)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(St,Le)|0,g=Math.imul(St,be),v=v+Math.imul($e,ne)|0,r=(r=r+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,g=g+Math.imul(Ie,ke)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Wt)|0,v=v+Math.imul(Ct,ei)|0,r=(r=r+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,g=g+Math.imul(ut,$t)|0;var yi=(O+(v=v+Math.imul(ce,li)|0)|0)+((8191&(r=(r=r+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0))<<13)|0;O=((g=g+Math.imul(Ze,ui)|0)+(r>>>13)|0)+(yi>>>26)|0,yi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,ke))+Math.imul(St,ne)|0,g=Math.imul(St,ke),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,g=g+Math.imul(Ie,Wt)|0,v=v+Math.imul(Ae,ei)|0,r=(r=r+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,g=g+Math.imul(Be,$t)|0;var Oi=(O+(v=v+Math.imul(Ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0))<<13)|0;O=((g=g+Math.imul(ut,ui)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Wt))+Math.imul(St,At)|0,g=Math.imul(St,Wt),v=v+Math.imul($e,ei)|0,r=(r=r+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,g=g+Math.imul(Ie,$t)|0;var Ui=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,ui)|0)+(r>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(Qe,ei),r=(r=Math.imul(Qe,$t))+Math.imul(St,ei)|0,g=Math.imul(St,$t);var Bi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0))<<13)|0;O=((g=g+Math.imul(Ie,ui)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863;var qt=(O+(v=Math.imul(Qe,li))|0)+((8191&(r=(r=Math.imul(Qe,ui))+Math.imul(St,li)|0))<<13)|0;return O=((g=Math.imul(St,ui))+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863,D[0]=un,D[1]=Ki,D[2]=Mi,D[3]=on,D[4]=st,D[5]=si,D[6]=Ce,D[7]=Mt,D[8]=Ht,D[9]=Dt,D[10]=kt,D[11]=Gt,D[12]=oi,D[13]=bi,D[14]=yi,D[15]=Oi,D[16]=Ui,D[17]=Bi,D[18]=qt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=z),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?z(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,C=0;C>>26)|0)>>>26,D&=67108863}s.words[C]=O,f=D,D=h}return 0!==f?s.words[C]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h>=1;return h},K.prototype.permute=function(n,s,f,h,C,D){for(var O=0;O>>=1)C++;return 1<>>=13),C>>>=13;for(D=2*s;D>=26,s+=h/67108864|0,s+=C>>>26,this.words[f]=67108863&C}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h=0);var C,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(C=0;C>>26-s}D&&(this.words[C]=D,this.length++)}if(0!==f){for(C=this.length-1;C>=0;C--)this.words[C+f]=this.words[C];for(C=0;C=0),h=s?(s-s%26)/26:0;var C=n%26,D=Math.min((n-C)/26,this.length),O=67108863^67108863>>>C<D)for(this.length-=D,r=0;r=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-C|H>>>C,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s>26)-(v/67108864|0),this.words[C+f]=67108863&D}for(;C>26,this.words[C+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,C=0;C>26,this.words[C]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),C=n,D=0|C.words[C.length-1];0!=(f=26-this._countBits(D))&&(C=C.ushln(f),h.iushln(f),D=0|C.words[C.length-1]);var r,v=h.length-C.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g=0;R--){var ee=67108864*(0|h.words[C.length+R])+(0|h.words[C.length+R-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(C,ee,R);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(C,1,R),h.isZero()||(h.negative^=1);r&&(r.words[R]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.isub(n)),{div:D.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,C,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),C=n.andln(1),D=f.cmp(h);return D<0||1===C&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,R=1;!(s.words[0]&R)&&H<26;++H,R<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(g)),h.iushrn(1),C.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),C.isub(O)):(f.isub(s),D.isub(h),O.isub(C))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(D),C.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(C)):(f.isub(s),C.isub(h))}return(H=0===s.cmpn(1)?h:C).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var C=s.cmp(f);if(C<0){var D=s;s=f,f=D}else if(0===C||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<>>26,this.words[D]=O&=67108863}return 0!==C&&(this.words[D]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:hn.length)return 1;if(this.length=0;f--){var h=0|this.words[f],C=0|n.words[f];if(h!==C){hC&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new J(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function se(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function J(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){J.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(se,ie),se.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),C=0;C>>22,D=O}n.words[C-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},se.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f>>=26,n.words[f]=C,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new se;else if("p224"===n)s=new ue;else if("p192"===n)s=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},J.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},J.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},J.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},J.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},J.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},J.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},J.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},J.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},J.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},J.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},J.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},J.prototype.isqr=function(n){return this.imul(n,n.clone())},J.prototype.sqr=function(n){return this.mul(n,n)},J.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),R=this.pow(n,h),ee=C;0!==R.cmp(D);){for(var De=R,ct=0;0!==De.cmp(D);ct++)De=De.redSqr();y(ct=0;C--){for(var g=s.words[C],H=r-1;H>=0;H--){var R=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==R||0!==O?(O<<=1,O|=R,(4==++v||0===C&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},J.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},J.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,J),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},7798:Fe=>{function q(p,e){if(!p)throw new Error(e||"Assertion failed")}Fe.exports=q,q.equal=function(e,t,y){if(e!=t)throw new Error(y||"Assertion failed: "+e+" != "+t)}},8247:(Fe,q)=>{"use strict";var p=q;function t(A){return 1===A.length?"0"+A:A}function y(A){for(var l="",w=0;w>8,E=255&P;d?w.push(d,E):w.push(E)}return w},p.zero2=t,p.toHex=y,p.encode=function(l,w){return"hex"===w?y(l):l}},3439:(Fe,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=p(6981);Object.keys(e).forEach(function(t){"default"!==t&&Object.defineProperty(q,t,{enumerable:!0,get:function(){return e[t]}})})},1322:(Fe,q,p)=>{"use strict";var e=p(7414);q.certificate=p(7290);var t=e.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});q.RSAPrivateKey=t;var y=e.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});q.RSAPublicKey=y;var A=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())});q.PublicKey=A;var l=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),w=e.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(l),this.key("subjectPrivateKey").octstr())});q.PrivateKey=w;var m=e.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});q.EncryptedPrivateKey=m;var P=e.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});q.DSAPrivateKey=P,q.DSAparam=e.define("DSAparam",function(){this.int()});var d=e.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(E),this.key("publicKey").optional().explicit(1).bitstr())});q.ECPrivateKey=d;var E=e.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});q.signature=e.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},7290:(Fe,q,p)=>{"use strict";var e=p(7414),t=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),y=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),A=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("subjectPublicKey").bitstr())}),w=e.define("RelativeDistinguishedName",function(){this.setof(y)}),m=e.define("RDNSequence",function(){this.seqof(w)}),P=e.define("Name",function(){this.choice({rdnSequence:this.use(m)})}),d=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),E=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),M=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(A),this.key("issuer").use(P),this.key("validity").use(d),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(E).optional())}),I=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(M),this.key("signatureAlgorithm").use(A),this.key("signatureValue").bitstr())});Fe.exports=I},7520:(Fe,q,p)=>{var e=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,t=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,y=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,A=p(6505),l=p(2489),w=p(843).Buffer;Fe.exports=function(m,P){var M,d=m.toString(),E=d.match(e);if(E){var k="aes"+E[1],z=w.from(E[2],"hex"),B=w.from(E[3].replace(/[\r\n]/g,""),"base64"),W=A(P,z.slice(0,8),parseInt(E[1],10)).key,j=[],K=l.createDecipheriv(k,W,z);j.push(K.update(B)),j.push(K.final()),M=w.concat(j)}else{var I=d.match(y);M=w.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(t)[1],data:M}}},7983:(Fe,q,p)=>{var e=p(1322),t=p(2562),y=p(7520),A=p(2489),l=p(7100),w=p(843).Buffer;function m(d){var E;"object"==typeof d&&!w.isBuffer(d)&&(E=d.passphrase,d=d.key),"string"==typeof d&&(d=w.from(d));var z,B,M=y(d,E),I=M.tag,k=M.data;switch(I){case"CERTIFICATE":B=e.certificate.decode(k,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(B||(B=e.PublicKey.decode(k,"der")),z=B.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPublicKey.decode(B.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return B.subjectPrivateKey=B.subjectPublicKey,{type:"ec",data:B};case"1.2.840.10040.4.1":return B.algorithm.params.pub_key=e.DSAparam.decode(B.subjectPublicKey.data,"der"),{type:"dsa",data:B.algorithm.params};default:throw new Error("unknown key id "+z)}case"ENCRYPTED PRIVATE KEY":k=function P(d,E){var M=d.algorithm.decrypt.kde.kdeparams.salt,I=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),k=t[d.algorithm.decrypt.cipher.algo.join(".")],z=d.algorithm.decrypt.cipher.iv,B=d.subjectPrivateKey,W=parseInt(k.split("-")[1],10)/8,j=l.pbkdf2Sync(E,M,I,W,"sha1"),K=A.createDecipheriv(k,j,z),X=[];return X.push(K.update(B)),X.push(K.final()),w.concat(X)}(k=e.EncryptedPrivateKey.decode(k,"der"),E);case"PRIVATE KEY":switch(z=(B=e.PrivateKey.decode(k,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return e.RSAPrivateKey.decode(B.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:B.algorithm.curve,privateKey:e.ECPrivateKey.decode(B.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return B.algorithm.params.priv_key=e.DSAparam.decode(B.subjectPrivateKey,"der"),{type:"dsa",params:B.algorithm.params};default:throw new Error("unknown key id "+z)}case"RSA PUBLIC KEY":return e.RSAPublicKey.decode(k,"der");case"RSA PRIVATE KEY":return e.RSAPrivateKey.decode(k,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:e.DSAPrivateKey.decode(k,"der")};case"EC PRIVATE KEY":return{curve:(k=e.ECPrivateKey.decode(k,"der")).parameters.value,privateKey:k.privateKey};default:throw new Error("unknown key type "+I)}}Fe.exports=m,m.signature=e.signature},7100:(Fe,q,p)=>{q.pbkdf2=p(8781),q.pbkdf2Sync=p(8047)},8781:(Fe,q,p)=>{var w,M,e=p(843).Buffer,t=p(4881),y=p(7107),A=p(8047),l=p(7306),m=global.crypto&&global.crypto.subtle,P={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function I(){return M||(M=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function k(B,W,j,K,X){return m.importKey("raw",B,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ie){return m.deriveBits({name:"PBKDF2",salt:W,iterations:j,hash:{name:X}},ie,K<<3)}).then(function(ie){return e.from(ie)})}Fe.exports=function(B,W,j,K,X,ie){"function"==typeof X&&(ie=X,X=void 0);var se=P[(X=X||"sha1").toLowerCase()];if(se&&"function"==typeof global.Promise){if(t(j,K),B=l(B,y,"Password"),W=l(W,y,"Salt"),"function"!=typeof ie)throw new Error("No callback provided to pbkdf2");!function z(B,W){B.then(function(j){I()(function(){W(null,j)})},function(j){I()(function(){W(j)})})}(function E(B){if(global.process&&!global.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==d[B])return d[B];var W=k(w=w||e.alloc(8),w,10,128,B).then(function(){return!0}).catch(function(){return!1});return d[B]=W,W}(se).then(function(ue){return ue?k(B,W,j,K,se):A(B,W,j,K,X)}),ie)}else I()(function(){var ue;try{ue=A(B,W,j,K,X)}catch(ae){return ie(ae)}ie(null,ue)})}},7107:Fe=>{var q;q=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Fe.exports=q},4881:Fe=>{var q=Math.pow(2,30)-1;Fe.exports=function(p,e){if("number"!=typeof p)throw new TypeError("Iterations not a number");if(p<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>q||e!=e)throw new TypeError("Bad key length")}},8047:(Fe,q,p)=>{var e=p(7588),t=p(9706),y=p(7965),A=p(843).Buffer,l=p(4881),w=p(7107),m=p(7306),P=A.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function E(k,z,B){var W=function M(k){return"rmd160"===k||"ripemd160"===k?function B(W){return(new t).update(W).digest()}:"md5"===k?e:function z(W){return y(k).update(W).digest()}}(k),j="sha512"===k||"sha384"===k?128:64;z.length>j?z=W(z):z.length{var e=p(843).Buffer;Fe.exports=function(t,y,A){if(e.isBuffer(t))return t;if("string"==typeof t)return e.from(t,y);if(ArrayBuffer.isView(t))return e.from(t.buffer);throw new TypeError(A+" must be a string, a Buffer, a typed array or a DataView")}},7050:(Fe,q,p)=>{q.publicEncrypt=p(5737),q.privateDecrypt=p(5252),q.privateEncrypt=function(t,y){return q.publicEncrypt(t,y,!0)},q.publicDecrypt=function(t,y){return q.privateDecrypt(t,y,!0)}},6517:(Fe,q,p)=>{var e=p(6362),t=p(843).Buffer;function y(A){var l=t.allocUnsafe(4);return l.writeUInt32BE(A,0),l}Fe.exports=function(A,l){for(var P,w=t.alloc(0),m=0;w.length=65&&s<=70?s-55:s>=97&&s<=102?s-87:s-48&15}function P(S,n,s){var f=m(S,s);return s-1>=n&&(f|=m(S,s-1)<<4),f}function d(S,n,s,f){for(var h=0,C=Math.min(S.length,s),D=n;D=49?O-49+10:O>=17?O-17+10:O}return h}l.isBN=function(n){return n instanceof l||null!==n&&"object"==typeof n&&n.constructor.wordSize===l.wordSize&&Array.isArray(n.words)},l.max=function(n,s){return n.cmp(s)>0?n:s},l.min=function(n,s){return n.cmp(s)<0?n:s},l.prototype._init=function(n,s,f){if("number"==typeof n)return this._initNumber(n,s,f);if("object"==typeof n)return this._initArray(n,s,f);"hex"===s&&(s=16),y(s===(0|s)&&s>=2&&s<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h=0;h-=3)this.words[C]|=(D=n[h]|n[h-1]<<8|n[h-2]<<16)<>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);else if("le"===f)for(h=0,C=0;h>>26-O&67108863,(O+=24)>=26&&(O-=26,C++);return this.strip()},l.prototype._parseHex=function(n,s,f){this.length=Math.ceil((n.length-s)/6),this.words=new Array(this.length);for(var h=0;h=s;h-=2)O=P(n,s,h)<=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;else for(h=(n.length-s)%2==0?s+1:s;h=18?(C-=18,this.words[D+=1]|=O>>>26):C+=8;this.strip()},l.prototype._parseBase=function(n,s,f){this.words=[0],this.length=1;for(var h=0,C=1;C<=67108863;C*=s)h++;h--,C=C/s|0;for(var D=n.length-f,O=D%h,v=Math.min(D,D-O)+f,r=0,g=f;g1&&0===this.words[this.length-1];)this.length--;return this._normSign()},l.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},l.prototype.inspect=function(){return(this.red?""};var E=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],I=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function z(S,n,s){s.negative=n.negative^S.negative;var f=S.length+n.length|0;s.length=f,f=f-1|0;var h=0|S.words[0],C=0|n.words[0],D=h*C,v=D/67108864|0;s.words[0]=67108863&D;for(var r=1;r>>26,H=67108863&v,R=Math.min(r,n.length-1),ee=Math.max(0,r-S.length+1);ee<=R;ee++)g+=(D=(h=0|S.words[r-ee|0])*(C=0|n.words[ee])+H)/67108864|0,H=67108863&D;s.words[r]=0|H,v=0|g}return 0!==v?s.words[r]=0|v:s.length--,s.strip()}l.prototype.toString=function(n,s){var f;if(s=0|s||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,C=0,D=0;D>>24-h&16777215)||D!==this.length-1?E[6-v.length]+v+f:v+f,(h+=2)>=26&&(h-=26,D--)}for(0!==C&&(f=C.toString(16)+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=M[n],g=I[n];f="";var H=this.clone();for(H.negative=0;!H.isZero();){var R=H.modn(g).toString(n);f=(H=H.idivn(g)).isZero()?R+f:E[r-R.length]+R+f}for(this.isZero()&&(f="0"+f);f.length%s!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}y(!1,"Base should be between 2 and 36")},l.prototype.toNumber=function(){var n=this.words[0];return 2===this.length?n+=67108864*this.words[1]:3===this.length&&1===this.words[2]?n+=4503599627370496+67108864*this.words[1]:this.length>2&&y(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},l.prototype.toJSON=function(){return this.toString(16)},l.prototype.toBuffer=function(n,s){return y(typeof w<"u"),this.toArrayLike(w,n,s)},l.prototype.toArray=function(n,s){return this.toArrayLike(Array,n,s)},l.prototype.toArrayLike=function(n,s,f){var h=this.byteLength(),C=f||Math.max(1,h);y(h<=C,"byte array longer than desired length"),y(C>0,"Requested array length <= 0"),this.strip();var v,r,D="le"===s,O=new n(C),g=this.clone();if(D){for(r=0;!g.isZero();r++)v=g.andln(255),g.iushrn(8),O[r]=v;for(;r=4096&&(f+=13,s>>>=13),s>=64&&(f+=7,s>>>=7),s>=8&&(f+=4,s>>>=4),s>=2&&(f+=2,s>>>=2),f+s},l.prototype._zeroBits=function(n){if(0===n)return 26;var s=n,f=0;return 8191&s||(f+=13,s>>>=13),127&s||(f+=7,s>>>=7),15&s||(f+=4,s>>>=4),3&s||(f+=2,s>>>=2),1&s||f++,f},l.prototype.bitLength=function(){var s=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+s},l.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,s=0;sn.length?this.clone().ior(n):n.clone().ior(this)},l.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},l.prototype.iuand=function(n){var s;s=this.length>n.length?n:this;for(var f=0;fn.length?this.clone().iand(n):n.clone().iand(this)},l.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},l.prototype.iuxor=function(n){var s,f;this.length>n.length?(s=this,f=n):(s=n,f=this);for(var h=0;hn.length?this.clone().ixor(n):n.clone().ixor(this)},l.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},l.prototype.inotn=function(n){y("number"==typeof n&&n>=0);var s=0|Math.ceil(n/26),f=n%26;this._expand(s),f>0&&s--;for(var h=0;h0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},l.prototype.notn=function(n){return this.clone().inotn(n)},l.prototype.setn=function(n,s){y("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=s?this.words[f]|1<n.length?(f=this,h=n):(f=n,h=this);for(var C=0,D=0;D>>26;for(;0!==C&&D>>26;if(this.length=f.length,0!==C)this.words[this.length]=C,this.length++;else if(f!==this)for(;Dn.length?this.clone().iadd(n):n.clone().iadd(this)},l.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var s=this.iadd(n);return n.negative=1,s._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,C,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,C=n):(h=n,C=this);for(var D=0,O=0;O>26,this.words[O]=67108863&s;for(;0!==D&&O>26,this.words[O]=67108863&s;if(0===D&&O>>13,De=0|h[1],ct=8191&De,Ke=De>>>13,Je=0|h[2],ye=8191&Je,fe=Je>>>13,de=0|h[3],xe=8191&de,le=de>>>13,pe=0|h[4],qe=8191&pe,re=pe>>>13,ve=0|h[5],ce=8191&ve,Ze=ve>>>13,We=0|h[6],Ct=8191&We,ut=We>>>13,It=0|h[7],Ae=8191&It,Be=It>>>13,rt=0|h[8],$e=8191&rt,Ie=rt>>>13,lt=0|h[9],Qe=8191<,St=lt>>>13,dt=0|C[0],te=8191&dt,Ue=dt>>>13,Bt=0|C[1],Ye=8191&Bt,je=Bt>>>13,Ft=0|C[2],xt=8191&Ft,Ot=Ft>>>13,yt=0|C[3],at=8191&yt,Ee=yt>>>13,nt=0|C[4],Ge=8191&nt,Xe=nt>>>13,gt=0|C[5],Le=8191>,be=gt>>>13,$=0|C[6],ne=8191&$,ke=$>>>13,Nt=0|C[7],At=8191&Nt,Wt=Nt>>>13,gi=0|C[8],ei=8191&gi,$t=gi>>>13,Fi=0|C[9],li=8191&Fi,ui=Fi>>>13;f.negative=n.negative^s.negative,f.length=19;var un=(O+(v=Math.imul(R,te))|0)+((8191&(r=(r=Math.imul(R,Ue))+Math.imul(ee,te)|0))<<13)|0;O=((g=Math.imul(ee,Ue))+(r>>>13)|0)+(un>>>26)|0,un&=67108863,v=Math.imul(ct,te),r=(r=Math.imul(ct,Ue))+Math.imul(Ke,te)|0,g=Math.imul(Ke,Ue);var Ki=(O+(v=v+Math.imul(R,Ye)|0)|0)+((8191&(r=(r=r+Math.imul(R,je)|0)+Math.imul(ee,Ye)|0))<<13)|0;O=((g=g+Math.imul(ee,je)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,v=Math.imul(ye,te),r=(r=Math.imul(ye,Ue))+Math.imul(fe,te)|0,g=Math.imul(fe,Ue),v=v+Math.imul(ct,Ye)|0,r=(r=r+Math.imul(ct,je)|0)+Math.imul(Ke,Ye)|0,g=g+Math.imul(Ke,je)|0;var Mi=(O+(v=v+Math.imul(R,xt)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ot)|0)+Math.imul(ee,xt)|0))<<13)|0;O=((g=g+Math.imul(ee,Ot)|0)+(r>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(xe,te),r=(r=Math.imul(xe,Ue))+Math.imul(le,te)|0,g=Math.imul(le,Ue),v=v+Math.imul(ye,Ye)|0,r=(r=r+Math.imul(ye,je)|0)+Math.imul(fe,Ye)|0,g=g+Math.imul(fe,je)|0,v=v+Math.imul(ct,xt)|0,r=(r=r+Math.imul(ct,Ot)|0)+Math.imul(Ke,xt)|0,g=g+Math.imul(Ke,Ot)|0;var on=(O+(v=v+Math.imul(R,at)|0)|0)+((8191&(r=(r=r+Math.imul(R,Ee)|0)+Math.imul(ee,at)|0))<<13)|0;O=((g=g+Math.imul(ee,Ee)|0)+(r>>>13)|0)+(on>>>26)|0,on&=67108863,v=Math.imul(qe,te),r=(r=Math.imul(qe,Ue))+Math.imul(re,te)|0,g=Math.imul(re,Ue),v=v+Math.imul(xe,Ye)|0,r=(r=r+Math.imul(xe,je)|0)+Math.imul(le,Ye)|0,g=g+Math.imul(le,je)|0,v=v+Math.imul(ye,xt)|0,r=(r=r+Math.imul(ye,Ot)|0)+Math.imul(fe,xt)|0,g=g+Math.imul(fe,Ot)|0,v=v+Math.imul(ct,at)|0,r=(r=r+Math.imul(ct,Ee)|0)+Math.imul(Ke,at)|0,g=g+Math.imul(Ke,Ee)|0;var st=(O+(v=v+Math.imul(R,Ge)|0)|0)+((8191&(r=(r=r+Math.imul(R,Xe)|0)+Math.imul(ee,Ge)|0))<<13)|0;O=((g=g+Math.imul(ee,Xe)|0)+(r>>>13)|0)+(st>>>26)|0,st&=67108863,v=Math.imul(ce,te),r=(r=Math.imul(ce,Ue))+Math.imul(Ze,te)|0,g=Math.imul(Ze,Ue),v=v+Math.imul(qe,Ye)|0,r=(r=r+Math.imul(qe,je)|0)+Math.imul(re,Ye)|0,g=g+Math.imul(re,je)|0,v=v+Math.imul(xe,xt)|0,r=(r=r+Math.imul(xe,Ot)|0)+Math.imul(le,xt)|0,g=g+Math.imul(le,Ot)|0,v=v+Math.imul(ye,at)|0,r=(r=r+Math.imul(ye,Ee)|0)+Math.imul(fe,at)|0,g=g+Math.imul(fe,Ee)|0,v=v+Math.imul(ct,Ge)|0,r=(r=r+Math.imul(ct,Xe)|0)+Math.imul(Ke,Ge)|0,g=g+Math.imul(Ke,Xe)|0;var si=(O+(v=v+Math.imul(R,Le)|0)|0)+((8191&(r=(r=r+Math.imul(R,be)|0)+Math.imul(ee,Le)|0))<<13)|0;O=((g=g+Math.imul(ee,be)|0)+(r>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(Ct,te),r=(r=Math.imul(Ct,Ue))+Math.imul(ut,te)|0,g=Math.imul(ut,Ue),v=v+Math.imul(ce,Ye)|0,r=(r=r+Math.imul(ce,je)|0)+Math.imul(Ze,Ye)|0,g=g+Math.imul(Ze,je)|0,v=v+Math.imul(qe,xt)|0,r=(r=r+Math.imul(qe,Ot)|0)+Math.imul(re,xt)|0,g=g+Math.imul(re,Ot)|0,v=v+Math.imul(xe,at)|0,r=(r=r+Math.imul(xe,Ee)|0)+Math.imul(le,at)|0,g=g+Math.imul(le,Ee)|0,v=v+Math.imul(ye,Ge)|0,r=(r=r+Math.imul(ye,Xe)|0)+Math.imul(fe,Ge)|0,g=g+Math.imul(fe,Xe)|0,v=v+Math.imul(ct,Le)|0,r=(r=r+Math.imul(ct,be)|0)+Math.imul(Ke,Le)|0,g=g+Math.imul(Ke,be)|0;var Ce=(O+(v=v+Math.imul(R,ne)|0)|0)+((8191&(r=(r=r+Math.imul(R,ke)|0)+Math.imul(ee,ne)|0))<<13)|0;O=((g=g+Math.imul(ee,ke)|0)+(r>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,v=Math.imul(Ae,te),r=(r=Math.imul(Ae,Ue))+Math.imul(Be,te)|0,g=Math.imul(Be,Ue),v=v+Math.imul(Ct,Ye)|0,r=(r=r+Math.imul(Ct,je)|0)+Math.imul(ut,Ye)|0,g=g+Math.imul(ut,je)|0,v=v+Math.imul(ce,xt)|0,r=(r=r+Math.imul(ce,Ot)|0)+Math.imul(Ze,xt)|0,g=g+Math.imul(Ze,Ot)|0,v=v+Math.imul(qe,at)|0,r=(r=r+Math.imul(qe,Ee)|0)+Math.imul(re,at)|0,g=g+Math.imul(re,Ee)|0,v=v+Math.imul(xe,Ge)|0,r=(r=r+Math.imul(xe,Xe)|0)+Math.imul(le,Ge)|0,g=g+Math.imul(le,Xe)|0,v=v+Math.imul(ye,Le)|0,r=(r=r+Math.imul(ye,be)|0)+Math.imul(fe,Le)|0,g=g+Math.imul(fe,be)|0,v=v+Math.imul(ct,ne)|0,r=(r=r+Math.imul(ct,ke)|0)+Math.imul(Ke,ne)|0,g=g+Math.imul(Ke,ke)|0;var Mt=(O+(v=v+Math.imul(R,At)|0)|0)+((8191&(r=(r=r+Math.imul(R,Wt)|0)+Math.imul(ee,At)|0))<<13)|0;O=((g=g+Math.imul(ee,Wt)|0)+(r>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,v=Math.imul($e,te),r=(r=Math.imul($e,Ue))+Math.imul(Ie,te)|0,g=Math.imul(Ie,Ue),v=v+Math.imul(Ae,Ye)|0,r=(r=r+Math.imul(Ae,je)|0)+Math.imul(Be,Ye)|0,g=g+Math.imul(Be,je)|0,v=v+Math.imul(Ct,xt)|0,r=(r=r+Math.imul(Ct,Ot)|0)+Math.imul(ut,xt)|0,g=g+Math.imul(ut,Ot)|0,v=v+Math.imul(ce,at)|0,r=(r=r+Math.imul(ce,Ee)|0)+Math.imul(Ze,at)|0,g=g+Math.imul(Ze,Ee)|0,v=v+Math.imul(qe,Ge)|0,r=(r=r+Math.imul(qe,Xe)|0)+Math.imul(re,Ge)|0,g=g+Math.imul(re,Xe)|0,v=v+Math.imul(xe,Le)|0,r=(r=r+Math.imul(xe,be)|0)+Math.imul(le,Le)|0,g=g+Math.imul(le,be)|0,v=v+Math.imul(ye,ne)|0,r=(r=r+Math.imul(ye,ke)|0)+Math.imul(fe,ne)|0,g=g+Math.imul(fe,ke)|0,v=v+Math.imul(ct,At)|0,r=(r=r+Math.imul(ct,Wt)|0)+Math.imul(Ke,At)|0,g=g+Math.imul(Ke,Wt)|0;var Ht=(O+(v=v+Math.imul(R,ei)|0)|0)+((8191&(r=(r=r+Math.imul(R,$t)|0)+Math.imul(ee,ei)|0))<<13)|0;O=((g=g+Math.imul(ee,$t)|0)+(r>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,v=Math.imul(Qe,te),r=(r=Math.imul(Qe,Ue))+Math.imul(St,te)|0,g=Math.imul(St,Ue),v=v+Math.imul($e,Ye)|0,r=(r=r+Math.imul($e,je)|0)+Math.imul(Ie,Ye)|0,g=g+Math.imul(Ie,je)|0,v=v+Math.imul(Ae,xt)|0,r=(r=r+Math.imul(Ae,Ot)|0)+Math.imul(Be,xt)|0,g=g+Math.imul(Be,Ot)|0,v=v+Math.imul(Ct,at)|0,r=(r=r+Math.imul(Ct,Ee)|0)+Math.imul(ut,at)|0,g=g+Math.imul(ut,Ee)|0,v=v+Math.imul(ce,Ge)|0,r=(r=r+Math.imul(ce,Xe)|0)+Math.imul(Ze,Ge)|0,g=g+Math.imul(Ze,Xe)|0,v=v+Math.imul(qe,Le)|0,r=(r=r+Math.imul(qe,be)|0)+Math.imul(re,Le)|0,g=g+Math.imul(re,be)|0,v=v+Math.imul(xe,ne)|0,r=(r=r+Math.imul(xe,ke)|0)+Math.imul(le,ne)|0,g=g+Math.imul(le,ke)|0,v=v+Math.imul(ye,At)|0,r=(r=r+Math.imul(ye,Wt)|0)+Math.imul(fe,At)|0,g=g+Math.imul(fe,Wt)|0,v=v+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,$t)|0)+Math.imul(Ke,ei)|0,g=g+Math.imul(Ke,$t)|0;var Dt=(O+(v=v+Math.imul(R,li)|0)|0)+((8191&(r=(r=r+Math.imul(R,ui)|0)+Math.imul(ee,li)|0))<<13)|0;O=((g=g+Math.imul(ee,ui)|0)+(r>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Qe,Ye),r=(r=Math.imul(Qe,je))+Math.imul(St,Ye)|0,g=Math.imul(St,je),v=v+Math.imul($e,xt)|0,r=(r=r+Math.imul($e,Ot)|0)+Math.imul(Ie,xt)|0,g=g+Math.imul(Ie,Ot)|0,v=v+Math.imul(Ae,at)|0,r=(r=r+Math.imul(Ae,Ee)|0)+Math.imul(Be,at)|0,g=g+Math.imul(Be,Ee)|0,v=v+Math.imul(Ct,Ge)|0,r=(r=r+Math.imul(Ct,Xe)|0)+Math.imul(ut,Ge)|0,g=g+Math.imul(ut,Xe)|0,v=v+Math.imul(ce,Le)|0,r=(r=r+Math.imul(ce,be)|0)+Math.imul(Ze,Le)|0,g=g+Math.imul(Ze,be)|0,v=v+Math.imul(qe,ne)|0,r=(r=r+Math.imul(qe,ke)|0)+Math.imul(re,ne)|0,g=g+Math.imul(re,ke)|0,v=v+Math.imul(xe,At)|0,r=(r=r+Math.imul(xe,Wt)|0)+Math.imul(le,At)|0,g=g+Math.imul(le,Wt)|0,v=v+Math.imul(ye,ei)|0,r=(r=r+Math.imul(ye,$t)|0)+Math.imul(fe,ei)|0,g=g+Math.imul(fe,$t)|0;var kt=(O+(v=v+Math.imul(ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ke,li)|0))<<13)|0;O=((g=g+Math.imul(Ke,ui)|0)+(r>>>13)|0)+(kt>>>26)|0,kt&=67108863,v=Math.imul(Qe,xt),r=(r=Math.imul(Qe,Ot))+Math.imul(St,xt)|0,g=Math.imul(St,Ot),v=v+Math.imul($e,at)|0,r=(r=r+Math.imul($e,Ee)|0)+Math.imul(Ie,at)|0,g=g+Math.imul(Ie,Ee)|0,v=v+Math.imul(Ae,Ge)|0,r=(r=r+Math.imul(Ae,Xe)|0)+Math.imul(Be,Ge)|0,g=g+Math.imul(Be,Xe)|0,v=v+Math.imul(Ct,Le)|0,r=(r=r+Math.imul(Ct,be)|0)+Math.imul(ut,Le)|0,g=g+Math.imul(ut,be)|0,v=v+Math.imul(ce,ne)|0,r=(r=r+Math.imul(ce,ke)|0)+Math.imul(Ze,ne)|0,g=g+Math.imul(Ze,ke)|0,v=v+Math.imul(qe,At)|0,r=(r=r+Math.imul(qe,Wt)|0)+Math.imul(re,At)|0,g=g+Math.imul(re,Wt)|0,v=v+Math.imul(xe,ei)|0,r=(r=r+Math.imul(xe,$t)|0)+Math.imul(le,ei)|0,g=g+Math.imul(le,$t)|0;var Gt=(O+(v=v+Math.imul(ye,li)|0)|0)+((8191&(r=(r=r+Math.imul(ye,ui)|0)+Math.imul(fe,li)|0))<<13)|0;O=((g=g+Math.imul(fe,ui)|0)+(r>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,v=Math.imul(Qe,at),r=(r=Math.imul(Qe,Ee))+Math.imul(St,at)|0,g=Math.imul(St,Ee),v=v+Math.imul($e,Ge)|0,r=(r=r+Math.imul($e,Xe)|0)+Math.imul(Ie,Ge)|0,g=g+Math.imul(Ie,Xe)|0,v=v+Math.imul(Ae,Le)|0,r=(r=r+Math.imul(Ae,be)|0)+Math.imul(Be,Le)|0,g=g+Math.imul(Be,be)|0,v=v+Math.imul(Ct,ne)|0,r=(r=r+Math.imul(Ct,ke)|0)+Math.imul(ut,ne)|0,g=g+Math.imul(ut,ke)|0,v=v+Math.imul(ce,At)|0,r=(r=r+Math.imul(ce,Wt)|0)+Math.imul(Ze,At)|0,g=g+Math.imul(Ze,Wt)|0,v=v+Math.imul(qe,ei)|0,r=(r=r+Math.imul(qe,$t)|0)+Math.imul(re,ei)|0,g=g+Math.imul(re,$t)|0;var oi=(O+(v=v+Math.imul(xe,li)|0)|0)+((8191&(r=(r=r+Math.imul(xe,ui)|0)+Math.imul(le,li)|0))<<13)|0;O=((g=g+Math.imul(le,ui)|0)+(r>>>13)|0)+(oi>>>26)|0,oi&=67108863,v=Math.imul(Qe,Ge),r=(r=Math.imul(Qe,Xe))+Math.imul(St,Ge)|0,g=Math.imul(St,Xe),v=v+Math.imul($e,Le)|0,r=(r=r+Math.imul($e,be)|0)+Math.imul(Ie,Le)|0,g=g+Math.imul(Ie,be)|0,v=v+Math.imul(Ae,ne)|0,r=(r=r+Math.imul(Ae,ke)|0)+Math.imul(Be,ne)|0,g=g+Math.imul(Be,ke)|0,v=v+Math.imul(Ct,At)|0,r=(r=r+Math.imul(Ct,Wt)|0)+Math.imul(ut,At)|0,g=g+Math.imul(ut,Wt)|0,v=v+Math.imul(ce,ei)|0,r=(r=r+Math.imul(ce,$t)|0)+Math.imul(Ze,ei)|0,g=g+Math.imul(Ze,$t)|0;var bi=(O+(v=v+Math.imul(qe,li)|0)|0)+((8191&(r=(r=r+Math.imul(qe,ui)|0)+Math.imul(re,li)|0))<<13)|0;O=((g=g+Math.imul(re,ui)|0)+(r>>>13)|0)+(bi>>>26)|0,bi&=67108863,v=Math.imul(Qe,Le),r=(r=Math.imul(Qe,be))+Math.imul(St,Le)|0,g=Math.imul(St,be),v=v+Math.imul($e,ne)|0,r=(r=r+Math.imul($e,ke)|0)+Math.imul(Ie,ne)|0,g=g+Math.imul(Ie,ke)|0,v=v+Math.imul(Ae,At)|0,r=(r=r+Math.imul(Ae,Wt)|0)+Math.imul(Be,At)|0,g=g+Math.imul(Be,Wt)|0,v=v+Math.imul(Ct,ei)|0,r=(r=r+Math.imul(Ct,$t)|0)+Math.imul(ut,ei)|0,g=g+Math.imul(ut,$t)|0;var yi=(O+(v=v+Math.imul(ce,li)|0)|0)+((8191&(r=(r=r+Math.imul(ce,ui)|0)+Math.imul(Ze,li)|0))<<13)|0;O=((g=g+Math.imul(Ze,ui)|0)+(r>>>13)|0)+(yi>>>26)|0,yi&=67108863,v=Math.imul(Qe,ne),r=(r=Math.imul(Qe,ke))+Math.imul(St,ne)|0,g=Math.imul(St,ke),v=v+Math.imul($e,At)|0,r=(r=r+Math.imul($e,Wt)|0)+Math.imul(Ie,At)|0,g=g+Math.imul(Ie,Wt)|0,v=v+Math.imul(Ae,ei)|0,r=(r=r+Math.imul(Ae,$t)|0)+Math.imul(Be,ei)|0,g=g+Math.imul(Be,$t)|0;var Oi=(O+(v=v+Math.imul(Ct,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ct,ui)|0)+Math.imul(ut,li)|0))<<13)|0;O=((g=g+Math.imul(ut,ui)|0)+(r>>>13)|0)+(Oi>>>26)|0,Oi&=67108863,v=Math.imul(Qe,At),r=(r=Math.imul(Qe,Wt))+Math.imul(St,At)|0,g=Math.imul(St,Wt),v=v+Math.imul($e,ei)|0,r=(r=r+Math.imul($e,$t)|0)+Math.imul(Ie,ei)|0,g=g+Math.imul(Ie,$t)|0;var Ui=(O+(v=v+Math.imul(Ae,li)|0)|0)+((8191&(r=(r=r+Math.imul(Ae,ui)|0)+Math.imul(Be,li)|0))<<13)|0;O=((g=g+Math.imul(Be,ui)|0)+(r>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(Qe,ei),r=(r=Math.imul(Qe,$t))+Math.imul(St,ei)|0,g=Math.imul(St,$t);var Bi=(O+(v=v+Math.imul($e,li)|0)|0)+((8191&(r=(r=r+Math.imul($e,ui)|0)+Math.imul(Ie,li)|0))<<13)|0;O=((g=g+Math.imul(Ie,ui)|0)+(r>>>13)|0)+(Bi>>>26)|0,Bi&=67108863;var qt=(O+(v=Math.imul(Qe,li))|0)+((8191&(r=(r=Math.imul(Qe,ui))+Math.imul(St,li)|0))<<13)|0;return O=((g=Math.imul(St,ui))+(r>>>13)|0)+(qt>>>26)|0,qt&=67108863,D[0]=un,D[1]=Ki,D[2]=Mi,D[3]=on,D[4]=st,D[5]=si,D[6]=Ce,D[7]=Mt,D[8]=Ht,D[9]=Dt,D[10]=kt,D[11]=Gt,D[12]=oi,D[13]=bi,D[14]=yi,D[15]=Oi,D[16]=Ui,D[17]=Bi,D[18]=qt,0!==O&&(D[19]=O,f.length++),f};function j(S,n,s){return(new K).mulp(S,n,s)}function K(S,n){this.x=S,this.y=n}Math.imul||(B=z),l.prototype.mulTo=function(n,s){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?B(this,n,s):h<63?z(this,n,s):h<1024?function W(S,n,s){s.negative=n.negative^S.negative,s.length=S.length+n.length;for(var f=0,h=0,C=0;C>>26)|0)>>>26,D&=67108863}s.words[C]=O,f=D,D=h}return 0!==f?s.words[C]=f:s.length--,s.strip()}(this,n,s):j(this,n,s),f},K.prototype.makeRBT=function(n){for(var s=new Array(n),f=l.prototype._countBits(n)-1,h=0;h>=1;return h},K.prototype.permute=function(n,s,f,h,C,D){for(var O=0;O>>=1)C++;return 1<>>=13),C>>>=13;for(D=2*s;D>=26,s+=h/67108864|0,s+=C>>>26,this.words[f]=67108863&C}return 0!==s&&(this.words[f]=s,this.length++),this},l.prototype.muln=function(n){return this.clone().imuln(n)},l.prototype.sqr=function(){return this.mul(this)},l.prototype.isqr=function(){return this.imul(this.clone())},l.prototype.pow=function(n){var s=function k(S){for(var n=new Array(S.bitLength()),s=0;s>>h}return n}(n);if(0===s.length)return new l(1);for(var f=this,h=0;h=0);var C,s=n%26,f=(n-s)/26,h=67108863>>>26-s<<26-s;if(0!==s){var D=0;for(C=0;C>>26-s}D&&(this.words[C]=D,this.length++)}if(0!==f){for(C=this.length-1;C>=0;C--)this.words[C+f]=this.words[C];for(C=0;C=0),h=s?(s-s%26)/26:0;var C=n%26,D=Math.min((n-C)/26,this.length),O=67108863^67108863>>>C<D)for(this.length-=D,r=0;r=0&&(0!==g||r>=h);r--){var H=0|this.words[r];this.words[r]=g<<26-C|H>>>C,g=H&O}return v&&0!==g&&(v.words[v.length++]=g),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},l.prototype.ishrn=function(n,s,f){return y(0===this.negative),this.iushrn(n,s,f)},l.prototype.shln=function(n){return this.clone().ishln(n)},l.prototype.ushln=function(n){return this.clone().iushln(n)},l.prototype.shrn=function(n){return this.clone().ishrn(n)},l.prototype.ushrn=function(n){return this.clone().iushrn(n)},l.prototype.testn=function(n){y("number"==typeof n&&n>=0);var s=n%26,f=(n-s)/26;return!(this.length<=f||!(this.words[f]&1<=0);var s=n%26,f=(n-s)/26;return y(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==s&&f++,this.length=Math.min(f,this.length),0!==s&&(this.words[this.length-1]&=67108863^67108863>>>s<=67108864;s++)this.words[s]-=67108864,s===this.length-1?this.words[s+1]=1:this.words[s+1]++;return this.length=Math.max(this.length,s+1),this},l.prototype.isubn=function(n){if(y("number"==typeof n),y(n<67108864),n<0)return this.iaddn(-n);if(0!==this.negative)return this.negative=0,this.iaddn(n),this.negative=1,this;if(this.words[0]-=n,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var s=0;s>26)-(v/67108864|0),this.words[C+f]=67108863&D}for(;C>26,this.words[C+f]=67108863&D;if(0===O)return this.strip();for(y(-1===O),O=0,C=0;C>26,this.words[C]=67108863&D;return this.negative=1,this.strip()},l.prototype._wordDiv=function(n,s){var f,h=this.clone(),C=n,D=0|C.words[C.length-1];0!=(f=26-this._countBits(D))&&(C=C.ushln(f),h.iushln(f),D=0|C.words[C.length-1]);var r,v=h.length-C.length;if("mod"!==s){(r=new l(null)).length=v+1,r.words=new Array(r.length);for(var g=0;g=0;R--){var ee=67108864*(0|h.words[C.length+R])+(0|h.words[C.length+R-1]);for(ee=Math.min(ee/D|0,67108863),h._ishlnsubmul(C,ee,R);0!==h.negative;)ee--,h.negative=0,h._ishlnsubmul(C,1,R),h.isZero()||(h.negative^=1);r&&(r.words[R]=ee)}return r&&r.strip(),h.strip(),"div"!==s&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},l.prototype.divmod=function(n,s,f){return y(!n.isZero()),this.isZero()?{div:new l(0),mod:new l(0)}:0!==this.negative&&0===n.negative?(D=this.neg().divmod(n,s),"mod"!==s&&(h=D.div.neg()),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.iadd(n)),{div:h,mod:C}):0===this.negative&&0!==n.negative?(D=this.divmod(n.neg(),s),"mod"!==s&&(h=D.div.neg()),{div:h,mod:D.mod}):this.negative&n.negative?(D=this.neg().divmod(n.neg(),s),"div"!==s&&(C=D.mod.neg(),f&&0!==C.negative&&C.isub(n)),{div:D.div,mod:C}):n.length>this.length||this.cmp(n)<0?{div:new l(0),mod:this}:1===n.length?"div"===s?{div:this.divn(n.words[0]),mod:null}:"mod"===s?{div:null,mod:new l(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new l(this.modn(n.words[0]))}:this._wordDiv(n,s);var h,C,D},l.prototype.div=function(n){return this.divmod(n,"div",!1).div},l.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},l.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},l.prototype.divRound=function(n){var s=this.divmod(n);if(s.mod.isZero())return s.div;var f=0!==s.div.negative?s.mod.isub(n):s.mod,h=n.ushrn(1),C=n.andln(1),D=f.cmp(h);return D<0||1===C&&0===D?s.div:0!==s.div.negative?s.div.isubn(1):s.div.iaddn(1)},l.prototype.modn=function(n){y(n<=67108863);for(var s=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(s*f+(0|this.words[h]))%n;return f},l.prototype.idivn=function(n){y(n<=67108863);for(var s=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*s;this.words[f]=h/n|0,s=h%n}return this.strip()},l.prototype.divn=function(n){return this.clone().idivn(n)},l.prototype.egcd=function(n){y(0===n.negative),y(!n.isZero());var s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=new l(0),O=new l(1),v=0;s.isEven()&&f.isEven();)s.iushrn(1),f.iushrn(1),++v;for(var r=f.clone(),g=s.clone();!s.isZero();){for(var H=0,R=1;!(s.words[0]&R)&&H<26;++H,R<<=1);if(H>0)for(s.iushrn(H);H-- >0;)(h.isOdd()||C.isOdd())&&(h.iadd(r),C.isub(g)),h.iushrn(1),C.iushrn(1);for(var ee=0,De=1;!(f.words[0]&De)&&ee<26;++ee,De<<=1);if(ee>0)for(f.iushrn(ee);ee-- >0;)(D.isOdd()||O.isOdd())&&(D.iadd(r),O.isub(g)),D.iushrn(1),O.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(D),C.isub(O)):(f.isub(s),D.isub(h),O.isub(C))}return{a:D,b:O,gcd:f.iushln(v)}},l.prototype._invmp=function(n){y(0===n.negative),y(!n.isZero());var H,s=this,f=n.clone();s=0!==s.negative?s.umod(n):s.clone();for(var h=new l(1),C=new l(0),D=f.clone();s.cmpn(1)>0&&f.cmpn(1)>0;){for(var O=0,v=1;!(s.words[0]&v)&&O<26;++O,v<<=1);if(O>0)for(s.iushrn(O);O-- >0;)h.isOdd()&&h.iadd(D),h.iushrn(1);for(var r=0,g=1;!(f.words[0]&g)&&r<26;++r,g<<=1);if(r>0)for(f.iushrn(r);r-- >0;)C.isOdd()&&C.iadd(D),C.iushrn(1);s.cmp(f)>=0?(s.isub(f),h.isub(C)):(f.isub(s),C.isub(h))}return(H=0===s.cmpn(1)?h:C).cmpn(0)<0&&H.iadd(n),H},l.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var s=this.clone(),f=n.clone();s.negative=0,f.negative=0;for(var h=0;s.isEven()&&f.isEven();h++)s.iushrn(1),f.iushrn(1);for(;;){for(;s.isEven();)s.iushrn(1);for(;f.isEven();)f.iushrn(1);var C=s.cmp(f);if(C<0){var D=s;s=f,f=D}else if(0===C||0===f.cmpn(1))break;s.isub(f)}return f.iushln(h)},l.prototype.invm=function(n){return this.egcd(n).a.umod(n)},l.prototype.isEven=function(){return 0==(1&this.words[0])},l.prototype.isOdd=function(){return 1==(1&this.words[0])},l.prototype.andln=function(n){return this.words[0]&n},l.prototype.bincn=function(n){y("number"==typeof n);var s=n%26,f=(n-s)/26,h=1<>>26,this.words[D]=O&=67108863}return 0!==C&&(this.words[D]=C,this.length++),this},l.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},l.prototype.cmpn=function(n){var f,s=n<0;if(0!==this.negative&&!s)return-1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)f=1;else{s&&(n=-n),y(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:hn.length)return 1;if(this.length=0;f--){var h=0|this.words[f],C=0|n.words[f];if(h!==C){hC&&(s=1);break}}return s},l.prototype.gtn=function(n){return 1===this.cmpn(n)},l.prototype.gt=function(n){return 1===this.cmp(n)},l.prototype.gten=function(n){return this.cmpn(n)>=0},l.prototype.gte=function(n){return this.cmp(n)>=0},l.prototype.ltn=function(n){return-1===this.cmpn(n)},l.prototype.lt=function(n){return-1===this.cmp(n)},l.prototype.lten=function(n){return this.cmpn(n)<=0},l.prototype.lte=function(n){return this.cmp(n)<=0},l.prototype.eqn=function(n){return 0===this.cmpn(n)},l.prototype.eq=function(n){return 0===this.cmp(n)},l.red=function(n){return new J(n)},l.prototype.toRed=function(n){return y(!this.red,"Already a number in reduction context"),y(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},l.prototype.fromRed=function(){return y(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},l.prototype._forceRed=function(n){return this.red=n,this},l.prototype.forceRed=function(n){return y(!this.red,"Already a number in reduction context"),this._forceRed(n)},l.prototype.redAdd=function(n){return y(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},l.prototype.redIAdd=function(n){return y(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},l.prototype.redSub=function(n){return y(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},l.prototype.redISub=function(n){return y(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},l.prototype.redShl=function(n){return y(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},l.prototype.redMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},l.prototype.redIMul=function(n){return y(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},l.prototype.redSqr=function(){return y(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},l.prototype.redISqr=function(){return y(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},l.prototype.redSqrt=function(){return y(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},l.prototype.redInvm=function(){return y(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},l.prototype.redNeg=function(){return y(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},l.prototype.redPow=function(n){return y(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var X={k256:null,p224:null,p192:null,p25519:null};function ie(S,n){this.name=S,this.p=new l(n,16),this.n=this.p.bitLength(),this.k=new l(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function se(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ae(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function Me(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function J(S){if("string"==typeof S){var n=l._prime(S);this.m=n.p,this.prime=n}else y(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){J.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new l(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}ie.prototype._tmp=function(){var n=new l(null);return n.words=new Array(Math.ceil(this.n/13)),n},ie.prototype.ireduce=function(n){var f,s=n;do{this.split(s,this.tmp),f=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},ie.prototype.split=function(n,s){n.iushrn(this.n,0,s)},ie.prototype.imulK=function(n){return n.imul(this.k)},A(se,ie),se.prototype.split=function(n,s){for(var f=4194303,h=Math.min(n.length,9),C=0;C>>22,D=O}n.words[C-10]=D>>>=22,n.length-=0===D&&n.length>10?10:9},se.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var s=0,f=0;f>>=26,n.words[f]=C,s=h}return 0!==s&&(n.words[n.length++]=s),n},l._prime=function(n){if(X[n])return X[n];var s;if("k256"===n)s=new se;else if("p224"===n)s=new ue;else if("p192"===n)s=new ae;else{if("p25519"!==n)throw new Error("Unknown prime "+n);s=new Me}return X[n]=s,s},J.prototype._verify1=function(n){y(0===n.negative,"red works only with positives"),y(n.red,"red works only with red numbers")},J.prototype._verify2=function(n,s){y(0==(n.negative|s.negative),"red works only with positives"),y(n.red&&n.red===s.red,"red works only with red numbers")},J.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},J.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},J.prototype.add=function(n,s){this._verify2(n,s);var f=n.add(s);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},J.prototype.iadd=function(n,s){this._verify2(n,s);var f=n.iadd(s);return f.cmp(this.m)>=0&&f.isub(this.m),f},J.prototype.sub=function(n,s){this._verify2(n,s);var f=n.sub(s);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},J.prototype.isub=function(n,s){this._verify2(n,s);var f=n.isub(s);return f.cmpn(0)<0&&f.iadd(this.m),f},J.prototype.shl=function(n,s){return this._verify1(n),this.imod(n.ushln(s))},J.prototype.imul=function(n,s){return this._verify2(n,s),this.imod(n.imul(s))},J.prototype.mul=function(n,s){return this._verify2(n,s),this.imod(n.mul(s))},J.prototype.isqr=function(n){return this.imul(n,n.clone())},J.prototype.sqr=function(n){return this.mul(n,n)},J.prototype.sqrt=function(n){if(n.isZero())return n.clone();var s=this.m.andln(3);if(y(s%2==1),3===s){var f=this.m.add(new l(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),C=0;!h.isZero()&&0===h.andln(1);)C++,h.iushrn(1);y(!h.isZero());var D=new l(1).toRed(this),O=D.redNeg(),v=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new l(2*r*r).toRed(this);0!==this.pow(r,v).cmp(O);)r.redIAdd(O);for(var g=this.pow(r,h),H=this.pow(n,h.addn(1).iushrn(1)),R=this.pow(n,h),ee=C;0!==R.cmp(D);){for(var De=R,ct=0;0!==De.cmp(D);ct++)De=De.redSqr();y(ct=0;C--){for(var g=s.words[C],H=r-1;H>=0;H--){var R=g>>H&1;D!==h[0]&&(D=this.sqr(D)),0!==R||0!==O?(O<<=1,O|=R,(4==++v||0===C&&0===H)&&(D=this.mul(D,h[O]),v=0,O=0)):v=0}r=26}return D},J.prototype.convertTo=function(n){var s=n.umod(this.m);return s===n?s.clone():s},J.prototype.convertFrom=function(n){var s=n.clone();return s.red=null,s},l.mont=function(n){return new he(n)},A(he,J),he.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},he.prototype.convertFrom=function(n){var s=this.imod(n.mul(this.rinv));return s.red=null,s},he.prototype.imul=function(n,s){if(n.isZero()||s.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.mul=function(n,s){if(n.isZero()||s.isZero())return new l(0)._forceRed(this);var f=n.mul(s),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),C=f.isub(h).iushrn(this.shift),D=C;return C.cmp(this.m)>=0?D=C.isub(this.m):C.cmpn(0)<0&&(D=C.iadd(this.m)),D._forceRed(this)},he.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Fe=p.nmd(Fe),this)},5252:(Fe,q,p)=>{var e=p(7983),t=p(6517),y=p(1817),A=p(8211),l=p(1946),w=p(6362),m=p(735),P=p(843).Buffer;Fe.exports=function(k,z,B){var W;W=k.padding?k.padding:B?1:4;var X,j=e(k),K=j.modulus.byteLength();if(z.length>K||new A(z).cmp(j.modulus)>=0)throw new Error("decryption error");X=B?m(new A(z),j):l(z,j);var ie=P.alloc(K-X.length);if(X=P.concat([ie,X],K),4===W)return function d(I,k){var z=I.modulus.byteLength(),B=w("sha1").update(P.alloc(0)).digest(),W=B.length;if(0!==k[0])throw new Error("decryption error");var j=k.slice(1,W+1),K=k.slice(W+1),X=y(j,t(K,W)),ie=y(K,t(X,z-W-1));if(function M(I,k){I=P.from(I),k=P.from(k);var z=0,B=I.length;I.length!==k.length&&(z++,B=Math.min(I.length,k.length));for(var W=-1;++W=k.length){j++;break}var K=k.slice(2,W-1);if(("0002"!==B.toString("hex")&&!z||"0001"!==B.toString("hex")&&z)&&j++,K.length<8&&j++,j)throw new Error("decryption error");return k.slice(W)}(0,X,B);if(3===W)return X;throw new Error("unknown padding")}},5737:(Fe,q,p)=>{var e=p(7983),t=p(4019),y=p(6362),A=p(6517),l=p(1817),w=p(8211),m=p(735),P=p(1946),d=p(843).Buffer;Fe.exports=function(z,B,W){var j;j=z.padding?z.padding:W?1:4;var X,K=e(z);if(4===j)X=function E(k,z){var B=k.modulus.byteLength(),W=z.length,j=y("sha1").update(d.alloc(0)).digest(),K=j.length,X=2*K;if(W>B-X-2)throw new Error("message too long");var ie=d.alloc(B-W-X-2),se=B-K-1,ue=t(K),ae=l(d.concat([j,ie,d.alloc(1,1),z],se),A(ue,se)),Me=l(ue,A(ae,K));return new w(d.concat([d.alloc(1),Me,ae],B))}(K,B);else if(1===j)X=function M(k,z,B){var K,W=z.length,j=k.modulus.byteLength();if(W>j-11)throw new Error("message too long");return K=B?d.alloc(j-W-3,255):function I(k){for(var K,z=d.allocUnsafe(k),B=0,W=t(2*k),j=0;B=0)throw new Error("data too long for modulus")}return W?P(X,K):m(X,K)}},735:(Fe,q,p)=>{var e=p(8211),t=p(843).Buffer;Fe.exports=function y(A,l){return t.from(A.toRed(e.mont(l.modulus)).redPow(new e(l.publicExponent)).fromRed().toArray())}},1817:Fe=>{Fe.exports=function(p,e){for(var t=p.length,y=-1;++y{const e=p(8310),t=p(6208),y=p(6422),A=p(7772);function l(w,m,P,d,E){const M=[].slice.call(arguments,1),I=M.length,k="function"==typeof M[I-1];if(!k&&!e())throw new Error("Callback required as last argument");if(!k){if(I<1)throw new Error("Too few arguments provided");return 1===I?(P=m,m=d=void 0):2===I&&!m.getContext&&(d=P,P=m,m=void 0),new Promise(function(z,B){try{const W=t.create(P,d);z(w(W,m,d))}catch(W){B(W)}})}if(I<2)throw new Error("Too few arguments provided");2===I?(E=P,P=m,m=d=void 0):3===I&&(m.getContext&&typeof E>"u"?(E=d,d=void 0):(E=d,d=P,P=m,m=void 0));try{const z=t.create(P,d);E(null,w(z,m,d))}catch(z){E(z)}}q.create=t.create,q.toCanvas=l.bind(null,y.render),q.toDataURL=l.bind(null,y.renderToDataURL),q.toString=l.bind(null,function(w,m,P){return A.render(w,P)})},8310:Fe=>{Fe.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},5281:(Fe,q,p)=>{const e=p(8922).getSymbolSize;q.getRowColCoords=function(y){if(1===y)return[];const A=Math.floor(y/7)+2,l=e(y),w=145===l?26:2*Math.ceil((l-13)/(2*A-2)),m=[l-7];for(let P=1;P{const e=p(3298),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function y(A){this.mode=e.ALPHANUMERIC,this.data=A}y.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(l){let w;for(w=0;w+2<=this.data.length;w+=2){let m=45*t.indexOf(this.data[w]);m+=t.indexOf(this.data[w+1]),l.put(m,11)}this.data.length%2&&l.put(t.indexOf(this.data[w]),6)},Fe.exports=y},6509:Fe=>{function q(){this.buffer=[],this.length=0}q.prototype={get:function(p){const e=Math.floor(p/8);return 1==(this.buffer[e]>>>7-p%8&1)},put:function(p,e){for(let t=0;t>>e-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(p){const e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),p&&(this.buffer[e]|=128>>>this.length%8),this.length++}},Fe.exports=q},5147:Fe=>{function q(p){if(!p||p<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=p,this.data=new Uint8Array(p*p),this.reservedBit=new Uint8Array(p*p)}q.prototype.set=function(p,e,t,y){const A=p*this.size+e;this.data[A]=t,y&&(this.reservedBit[A]=!0)},q.prototype.get=function(p,e){return this.data[p*this.size+e]},q.prototype.xor=function(p,e,t){this.data[p*this.size+e]^=t},q.prototype.isReserved=function(p,e){return this.reservedBit[p*this.size+e]},Fe.exports=q},277:(Fe,q,p)=>{const e=p(6119),t=p(3298);function y(A){this.mode=t.BYTE,"string"==typeof A&&(A=e(A)),this.data=new Uint8Array(A)}y.getBitsLength=function(l){return 8*l},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(A){for(let l=0,w=this.data.length;l{const e=p(4505),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],y=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];q.getBlocksCount=function(l,w){switch(w){case e.L:return t[4*(l-1)+0];case e.M:return t[4*(l-1)+1];case e.Q:return t[4*(l-1)+2];case e.H:return t[4*(l-1)+3];default:return}},q.getTotalCodewordsCount=function(l,w){switch(w){case e.L:return y[4*(l-1)+0];case e.M:return y[4*(l-1)+1];case e.Q:return y[4*(l-1)+2];case e.H:return y[4*(l-1)+3];default:return}}},4505:(Fe,q)=>{q.L={bit:1},q.M={bit:0},q.Q={bit:3},q.H={bit:2},q.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},q.from=function(t,y){if(q.isValid(t))return t;try{return function p(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return q.L;case"m":case"medium":return q.M;case"q":case"quartile":return q.Q;case"h":case"high":return q.H;default:throw new Error("Unknown EC Level: "+e)}}(t)}catch{return y}}},5232:(Fe,q,p)=>{const e=p(8922).getSymbolSize;q.getPositions=function(A){const l=e(A);return[[0,0],[l-7,0],[0,l-7]]}},8508:(Fe,q,p)=>{const e=p(8922),A=e.getBCHDigit(1335);q.getEncodedBits=function(w,m){const P=w.bit<<3|m;let d=P<<10;for(;e.getBCHDigit(d)-A>=0;)d^=1335<{const p=new Uint8Array(512),e=new Uint8Array(256);(function(){let y=1;for(let A=0;A<255;A++)p[A]=y,e[y]=A,y<<=1,256&y&&(y^=285);for(let A=255;A<512;A++)p[A]=p[A-255]})(),q.log=function(y){if(y<1)throw new Error("log("+y+")");return e[y]},q.exp=function(y){return p[y]},q.mul=function(y,A){return 0===y||0===A?0:p[e[y]+e[A]]}},9995:(Fe,q,p)=>{const e=p(3298),t=p(8922);function y(A){this.mode=e.KANJI,this.data=A}y.getBitsLength=function(l){return 13*l},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(A){let l;for(l=0;l=33088&&w<=40956)w-=33088;else{if(!(w>=57408&&w<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");w-=49472}w=192*(w>>>8&255)+(255&w),A.put(w,13)}},Fe.exports=y},9023:(Fe,q)=>{q.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function e(t,y,A){switch(t){case q.Patterns.PATTERN000:return(y+A)%2==0;case q.Patterns.PATTERN001:return y%2==0;case q.Patterns.PATTERN010:return A%3==0;case q.Patterns.PATTERN011:return(y+A)%3==0;case q.Patterns.PATTERN100:return(Math.floor(y/2)+Math.floor(A/3))%2==0;case q.Patterns.PATTERN101:return y*A%2+y*A%3==0;case q.Patterns.PATTERN110:return(y*A%2+y*A%3)%2==0;case q.Patterns.PATTERN111:return(y*A%3+(y+A)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}q.isValid=function(y){return null!=y&&""!==y&&!isNaN(y)&&y>=0&&y<=7},q.from=function(y){return q.isValid(y)?parseInt(y,10):void 0},q.getPenaltyN1=function(y){const A=y.size;let l=0,w=0,m=0,P=null,d=null;for(let E=0;E=5&&(l+=w-5+3),P=I,w=1),I=y.get(M,E),I===d?m++:(m>=5&&(l+=m-5+3),d=I,m=1)}w>=5&&(l+=w-5+3),m>=5&&(l+=m-5+3)}return l},q.getPenaltyN2=function(y){const A=y.size;let l=0;for(let w=0;w=10&&(1488===w||93===w)&&l++,m=m<<1&2047|y.get(d,P),d>=10&&(1488===m||93===m)&&l++}return 40*l},q.getPenaltyN4=function(y){let A=0;const l=y.data.length;for(let m=0;m{const e=p(6161),t=p(2427);q.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},q.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},q.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},q.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},q.MIXED={bit:-1},q.getCharCountIndicator=function(l,w){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!e.isValid(w))throw new Error("Invalid version: "+w);return w>=1&&w<10?l.ccBits[0]:w<27?l.ccBits[1]:l.ccBits[2]},q.getBestModeForData=function(l){return t.testNumeric(l)?q.NUMERIC:t.testAlphanumeric(l)?q.ALPHANUMERIC:t.testKanji(l)?q.KANJI:q.BYTE},q.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},q.isValid=function(l){return l&&l.bit&&l.ccBits},q.from=function(l,w){if(q.isValid(l))return l;try{return function y(A){if("string"!=typeof A)throw new Error("Param is not a string");switch(A.toLowerCase()){case"numeric":return q.NUMERIC;case"alphanumeric":return q.ALPHANUMERIC;case"kanji":return q.KANJI;case"byte":return q.BYTE;default:throw new Error("Unknown mode: "+A)}}(l)}catch{return w}}},8722:(Fe,q,p)=>{const e=p(3298);function t(y){this.mode=e.NUMERIC,this.data=y.toString()}t.getBitsLength=function(A){return 10*Math.floor(A/3)+(A%3?A%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(A){let l,w,m;for(l=0;l+3<=this.data.length;l+=3)w=this.data.substr(l,3),m=parseInt(w,10),A.put(m,10);const P=this.data.length-l;P>0&&(w=this.data.substr(l),m=parseInt(w,10),A.put(m,3*P+1))},Fe.exports=t},2376:(Fe,q,p)=>{const e=p(1674);q.mul=function(y,A){const l=new Uint8Array(y.length+A.length-1);for(let w=0;w=0;){const w=l[0];for(let P=0;P{const e=p(8922),t=p(4505),y=p(6509),A=p(5147),l=p(5281),w=p(5232),m=p(9023),P=p(7191),d=p(1297),E=p(9467),M=p(8508),I=p(3298),k=p(1799);function K(ae,Me,J){const he=ae.size,S=M.getEncodedBits(Me,J);let n,s;for(n=0;n<15;n++)s=1==(S>>n&1),ae.set(n<6?n:n<8?n+1:he-15+n,8,s,!0),ae.set(8,n<8?he-n-1:n<9?15-n-1+1:15-n-1,s,!0);ae.set(he-8,8,1,!0)}function ue(ae,Me,J,he){let S;if(Array.isArray(ae))S=k.fromArray(ae);else{if("string"!=typeof ae)throw new Error("Invalid data");{let C=Me;if(!C){const D=k.rawSplit(ae);C=E.getBestVersionForData(D,J)}S=k.fromString(ae,C||40)}}const n=E.getBestVersionForData(S,J);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(Me){if(Me=0&&f<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===f||6===f)||f>=2&&f<=4&&h>=2&&h<=4,!0)}}(h,Me),function B(ae){const Me=ae.size;for(let J=8;J=7&&function j(ae,Me){const J=ae.size,he=E.getEncodedBits(Me);let S,n,s;for(let f=0;f<18;f++)S=Math.floor(f/3),n=f%3+J-8-3,s=1==(he>>f&1),ae.set(S,n,s,!0),ae.set(n,S,s,!0)}(h,Me),function X(ae,Me){const J=ae.size;let he=-1,S=J-1,n=7,s=0;for(let f=J-1;f>0;f-=2)for(6===f&&f--;;){for(let h=0;h<2;h++)if(!ae.isReserved(S,f-h)){let C=!1;s>>n&1)),ae.set(S,f-h,C),n--,-1===n&&(s++,n=7)}if(S+=he,S<0||J<=S){S-=he,he=-he;break}}}(h,s),isNaN(he)&&(he=m.getBestMask(h,K.bind(null,h,J))),m.applyMask(he,h),K(h,J,he),{modules:h,version:Me,errorCorrectionLevel:J,maskPattern:he,segments:S}}q.create=function(Me,J){if(typeof Me>"u"||""===Me)throw new Error("No input text");let S,n,he=t.M;return typeof J<"u"&&(he=t.from(J.errorCorrectionLevel,t.M),S=E.from(J.version),n=m.from(J.maskPattern),J.toSJISFunc&&e.setToSJISFunction(J.toSJISFunc)),ue(Me,S,he,n)}},1297:(Fe,q,p)=>{const e=p(2376);function t(y){this.genPoly=void 0,this.degree=y,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(A){this.degree=A,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(A){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(A.length+this.degree);l.set(A);const w=e.mod(l,this.genPoly),m=this.degree-w.length;if(m>0){const P=new Uint8Array(this.degree);return P.set(w,m),P}return w},Fe.exports=t},2427:(Fe,q)=>{const p="[0-9]+";let t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");const y="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";q.KANJI=new RegExp(t,"g"),q.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),q.BYTE=new RegExp(y,"g"),q.NUMERIC=new RegExp(p,"g"),q.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const A=new RegExp("^"+t+"$"),l=new RegExp("^"+p+"$"),w=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");q.testKanji=function(P){return A.test(P)},q.testNumeric=function(P){return l.test(P)},q.testAlphanumeric=function(P){return w.test(P)}},1799:(Fe,q,p)=>{const e=p(3298),t=p(8722),y=p(120),A=p(277),l=p(9995),w=p(2427),m=p(8922),P=p(7206);function d(j){return unescape(encodeURIComponent(j)).length}function E(j,K,X){const ie=[];let se;for(;null!==(se=j.exec(X));)ie.push({data:se[0],index:se.index,mode:K,length:se[0].length});return ie}function M(j){const K=E(w.NUMERIC,e.NUMERIC,j),X=E(w.ALPHANUMERIC,e.ALPHANUMERIC,j);let ie,se;return m.isKanjiModeEnabled()?(ie=E(w.BYTE,e.BYTE,j),se=E(w.KANJI,e.KANJI,j)):(ie=E(w.BYTE_KANJI,e.BYTE,j),se=[]),K.concat(X,ie,se).sort(function(ae,Me){return ae.index-Me.index}).map(function(ae){return{data:ae.data,mode:ae.mode,length:ae.length}})}function I(j,K){switch(K){case e.NUMERIC:return t.getBitsLength(j);case e.ALPHANUMERIC:return y.getBitsLength(j);case e.KANJI:return l.getBitsLength(j);case e.BYTE:return A.getBitsLength(j)}}function W(j,K){let X;const ie=e.getBestModeForData(j);if(X=e.from(K,ie),X!==e.BYTE&&X.bit=0?K[K.length-1]:null;return ie&&ie.mode===X.mode?(K[K.length-1].data+=X.data,K):(K.push(X),K)},[])}(Me))},q.rawSplit=function(K){return q.fromArray(M(K,m.isKanjiModeEnabled()))}},8922:(Fe,q)=>{let p;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];q.getSymbolSize=function(y){if(!y)throw new Error('"version" cannot be null or undefined');if(y<1||y>40)throw new Error('"version" should be in range from 1 to 40');return 4*y+17},q.getSymbolTotalCodewords=function(y){return e[y]},q.getBCHDigit=function(t){let y=0;for(;0!==t;)y++,t>>>=1;return y},q.setToSJISFunction=function(y){if("function"!=typeof y)throw new Error('"toSJISFunc" is not a valid function.');p=y},q.isKanjiModeEnabled=function(){return typeof p<"u"},q.toSJIS=function(y){return p(y)}},6161:(Fe,q)=>{q.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},9467:(Fe,q,p)=>{const e=p(8922),t=p(7191),y=p(4505),A=p(3298),l=p(6161),m=e.getBCHDigit(7973);function d(I,k){return A.getCharCountIndicator(I,k)+4}function E(I,k){let z=0;return I.forEach(function(B){const W=d(B.mode,k);z+=W+B.getBitsLength()}),z}q.from=function(k,z){return l.isValid(k)?parseInt(k,10):z},q.getCapacity=function(k,z,B){if(!l.isValid(k))throw new Error("Invalid QR Code version");typeof B>"u"&&(B=A.BYTE);const K=8*(e.getSymbolTotalCodewords(k)-t.getTotalCodewordsCount(k,z));if(B===A.MIXED)return K;const X=K-d(B,k);switch(B){case A.NUMERIC:return Math.floor(X/10*3);case A.ALPHANUMERIC:return Math.floor(X/11*2);case A.KANJI:return Math.floor(X/13);default:return Math.floor(X/8)}},q.getBestVersionForData=function(k,z){let B;const W=y.from(z,y.M);if(Array.isArray(k)){if(k.length>1)return function M(I,k){for(let z=1;z<=40;z++)if(E(I,z)<=q.getCapacity(z,k,A.MIXED))return z}(k,W);if(0===k.length)return 1;B=k[0]}else B=k;return function P(I,k,z){for(let B=1;B<=40;B++)if(k<=q.getCapacity(B,z,I))return B}(B.mode,B.getLength(),W)},q.getEncodedBits=function(k){if(!l.isValid(k)||k<7)throw new Error("Invalid QR Code version");let z=k<<12;for(;e.getBCHDigit(z)-m>=0;)z^=7973<{const e=p(1101);q.render=function(l,w,m){let P=m,d=w;typeof P>"u"&&(!w||!w.getContext)&&(P=w,w=void 0),w||(d=function y(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=e.getOptions(P);const E=e.getImageWidth(l.modules.size,P),M=d.getContext("2d"),I=M.createImageData(E,E);return e.qrToImageData(I.data,l,P),function t(A,l,w){A.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=w,l.width=w,l.style.height=w+"px",l.style.width=w+"px"}(M,d,E),M.putImageData(I,0,0),d},q.renderToDataURL=function(l,w,m){let P=m;return typeof P>"u"&&(!w||!w.getContext)&&(P=w,w=void 0),P||(P={}),q.render(l,w,P).toDataURL(P.type||"image/png",(P.rendererOpts||{}).quality)}},7772:(Fe,q,p)=>{const e=p(1101);function t(l,w){const m=l.a/255,P=w+'="'+l.hex+'"';return m<1?P+" "+w+'-opacity="'+m.toFixed(2).slice(1)+'"':P}function y(l,w,m){let P=l+w;return typeof m<"u"&&(P+=" "+m),P}q.render=function(w,m,P){const d=e.getOptions(m),E=w.modules.size,M=w.modules.data,I=E+2*d.margin,k=d.color.light.a?"':"",z="0&&k>0&&l[I-1]||(P+=E?y("M",k+m,.5+z+m):y("m",d,0),d=0,E=!1),k+1',j=''+k+z+"\n";return"function"==typeof P&&P(null,j),j}},1101:(Fe,q)=>{function p(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(A){return[A,A]}))),6===t.length&&t.push("F","F");const y=parseInt(t.join(""),16);return{r:y>>24&255,g:y>>16&255,b:y>>8&255,a:255&y,hex:"#"+t.slice(0,6).join("")}}q.getOptions=function(t){t||(t={}),t.color||(t.color={});const A=t.width&&t.width>=21?t.width:void 0;return{width:A,scale:A?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:p(t.color.dark||"#000000ff"),light:p(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},q.getScale=function(t,y){return y.width&&y.width>=t+2*y.margin?y.width/(t+2*y.margin):y.scale},q.getImageWidth=function(t,y){const A=q.getScale(t,y);return Math.floor((t+2*y.margin)*A)},q.qrToImageData=function(t,y,A){const l=y.modules.size,w=y.modules.data,m=q.getScale(l,A),P=Math.floor((l+2*A.margin)*m),d=A.margin*m,E=[A.color.light,A.color.dark];for(let M=0;M=d&&I>=d&&M{"use strict";var e=65536,A=p(843).Buffer,l=global.crypto||global.msCrypto;Fe.exports=l&&l.getRandomValues?function w(m,P){if(m>4294967295)throw new RangeError("requested too many random bytes");var d=A.allocUnsafe(m);if(m>0)if(m>e)for(var E=0;E{"use strict";function e(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=p(843),y=p(4019),A=t.Buffer,l=t.kMaxLength,w=global.crypto||global.msCrypto,m=Math.pow(2,32)-1;function P(k,z){if("number"!=typeof k||k!=k)throw new TypeError("offset must be a number");if(k>m||k<0)throw new TypeError("offset must be a uint32");if(k>l||k>z)throw new RangeError("offset out of range")}function d(k,z,B){if("number"!=typeof k||k!=k)throw new TypeError("size must be a number");if(k>m||k<0)throw new TypeError("size must be a uint32");if(k+z>B||k>l)throw new RangeError("buffer too small")}function M(k,z,B,W){if(process.browser){var K=new Uint8Array(k.buffer,z,B);return w.getRandomValues(K),W?void process.nextTick(function(){W(null,k)}):k}if(!W)return y(B).copy(k,z),k;y(B,function(ie,se){if(ie)return W(ie);se.copy(k,z),W(null,k)})}w&&w.getRandomValues||!process.browser?(q.randomFill=function E(k,z,B,W){if(!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof z)W=z,z=0,B=k.length;else if("function"==typeof B)W=B,B=k.length-z;else if("function"!=typeof W)throw new TypeError('"cb" argument must be a function');return P(z,k.length),d(B,z,k.length),M(k,z,B,W)},q.randomFillSync=function I(k,z,B){if(typeof z>"u"&&(z=0),!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(z,k.length),void 0===B&&(B=k.length-z),d(B,z,k.length),M(k,z,B)}):(q.randomFill=e,q.randomFillSync=e)},7218:Fe=>{"use strict";var p={};function e(w,m,P){P||(P=Error);var E=function(M){function I(k,z,B){return M.call(this,function d(M,I,k){return"string"==typeof m?m:m(M,I,k)}(k,z,B))||this}return function q(w,m){w.prototype=Object.create(m.prototype),w.prototype.constructor=w,w.__proto__=m}(I,M),I}(P);E.prototype.name=P.name,E.prototype.code=w,p[w]=E}function t(w,m){if(Array.isArray(w)){var P=w.length;return w=w.map(function(d){return String(d)}),P>2?"one of ".concat(m," ").concat(w.slice(0,P-1).join(", "),", or ")+w[P-1]:2===P?"one of ".concat(m," ").concat(w[0]," or ").concat(w[1]):"of ".concat(m," ").concat(w[0])}return"of ".concat(m," ").concat(String(w))}e("ERR_INVALID_OPT_VALUE",function(w,m){return'The value "'+m+'" is invalid for option "'+w+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(w,m,P){var d,E;if("string"==typeof m&&function y(w,m,P){return w.substr(!P||P<0?0:+P,m.length)===m}(m,"not ")?(d="must not be",m=m.replace(/^not /,"")):d="must be",function A(w,m,P){return(void 0===P||P>w.length)&&(P=w.length),w.substring(P-m.length,P)===m}(w," argument"))E="The ".concat(w," ").concat(d," ").concat(t(m,"type"));else{var M=function l(w,m,P){return"number"!=typeof P&&(P=0),!(P+m.length>w.length)&&-1!==w.indexOf(m,P)}(w,".")?"property":"argument";E='The "'.concat(w,'" ').concat(M," ").concat(d," ").concat(t(m,"type"))}return E+". Received type ".concat(typeof P)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(w){return"The "+w+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(w){return"Cannot call "+w+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(w){return"Unknown encoding: "+w},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Fe.exports.q=p},247:(Fe,q,p)=>{"use strict";var e=Object.keys||function(E){var M=[];for(var I in E)M.push(I);return M};Fe.exports=m;var t=p(309),y=p(6563);p(6698)(m,t);for(var A=e(y.prototype),l=0;l{"use strict";Fe.exports=t;var e=p(6307);function t(y){if(!(this instanceof t))return new t(y);e.call(this,y)}p(6698)(t,e),t.prototype._transform=function(y,A,l){l(null,y)}},309:(Fe,q,p)=>{"use strict";var e;Fe.exports=S,S.ReadableState=he,p(2016);var E,y=function(pe,qe){return pe.listeners(qe).length},A=p(8240),l=p(9007).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=p(4616);E=d&&d.debuglog?d.debuglog("stream"):function(){};var ie,se,ue,M=p(2960),I=p(5601),z=p(8782).getHighWaterMark,B=p(7218).q,W=B.ERR_INVALID_ARG_TYPE,j=B.ERR_STREAM_PUSH_AFTER_EOF,K=B.ERR_METHOD_NOT_IMPLEMENTED,X=B.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;p(6698)(S,A);var ae=I.errorOrDestroy,Me=["error","close","destroy","pause","resume"];function he(le,pe,qe){e=e||p(247),"boolean"!=typeof qe&&(qe=pe instanceof e),this.objectMode=!!(le=le||{}).objectMode,qe&&(this.objectMode=this.objectMode||!!le.readableObjectMode),this.highWaterMark=z(this,le,"readableHighWaterMark",qe),this.buffer=new M,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==le.emitClose,this.autoDestroy=!!le.autoDestroy,this.destroyed=!1,this.defaultEncoding=le.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,le.encoding&&(ie||(ie=p(2024).s),this.decoder=new ie(le.encoding),this.encoding=le.encoding)}function S(le){if(e=e||p(247),!(this instanceof S))return new S(le);this._readableState=new he(le,this,this instanceof e),this.readable=!0,le&&("function"==typeof le.read&&(this._read=le.read),"function"==typeof le.destroy&&(this._destroy=le.destroy)),A.call(this)}function n(le,pe,qe,re,ve){E("readableAddChunk",pe);var Ze,ce=le._readableState;if(null===pe)ce.reading=!1,function O(le,pe){if(E("onEofChunk"),!pe.ended){if(pe.decoder){var qe=pe.decoder.end();qe&&qe.length&&(pe.buffer.push(qe),pe.length+=pe.objectMode?1:qe.length)}pe.ended=!0,pe.sync?v(le):(pe.needReadable=!1,pe.emittedReadable||(pe.emittedReadable=!0,r(le)))}}(le,ce);else if(ve||(Ze=function f(le,pe){var qe;return!function P(le){return l.isBuffer(le)||le instanceof w}(pe)&&"string"!=typeof pe&&void 0!==pe&&!le.objectMode&&(qe=new W("chunk",["string","Buffer","Uint8Array"],pe)),qe}(ce,pe)),Ze)ae(le,Ze);else if(ce.objectMode||pe&&pe.length>0)if("string"!=typeof pe&&!ce.objectMode&&Object.getPrototypeOf(pe)!==l.prototype&&(pe=function m(le){return l.from(le)}(pe)),re)ce.endEmitted?ae(le,new X):s(le,ce,pe,!0);else if(ce.ended)ae(le,new j);else{if(ce.destroyed)return!1;ce.reading=!1,ce.decoder&&!qe?(pe=ce.decoder.write(pe),ce.objectMode||0!==pe.length?s(le,ce,pe,!1):g(le,ce)):s(le,ce,pe,!1)}else re||(ce.reading=!1,g(le,ce));return!ce.ended&&(ce.lengthpe.highWaterMark&&(pe.highWaterMark=function C(le){return le>=h?le=h:(le--,le|=le>>>1,le|=le>>>2,le|=le>>>4,le|=le>>>8,le|=le>>>16,le++),le}(le)),le<=pe.length?le:pe.ended?pe.length:(pe.needReadable=!0,0))}function v(le){var pe=le._readableState;E("emitReadable",pe.needReadable,pe.emittedReadable),pe.needReadable=!1,pe.emittedReadable||(E("emitReadable",pe.flowing),pe.emittedReadable=!0,process.nextTick(r,le))}function r(le){var pe=le._readableState;E("emitReadable_",pe.destroyed,pe.length,pe.ended),!pe.destroyed&&(pe.length||pe.ended)&&(le.emit("readable"),pe.emittedReadable=!1),pe.needReadable=!pe.flowing&&!pe.ended&&pe.length<=pe.highWaterMark,Je(le)}function g(le,pe){pe.readingMore||(pe.readingMore=!0,process.nextTick(H,le,pe))}function H(le,pe){for(;!pe.reading&&!pe.ended&&(pe.length0,pe.resumeScheduled&&!pe.paused?pe.flowing=!0:le.listenerCount("data")>0&&le.resume()}function De(le){E("readable nexttick read 0"),le.read(0)}function Ke(le,pe){E("resume",pe.reading),pe.reading||le.read(0),pe.resumeScheduled=!1,le.emit("resume"),Je(le),pe.flowing&&!pe.reading&&le.read(0)}function Je(le){var pe=le._readableState;for(E("flow",pe.flowing);pe.flowing&&null!==le.read(););}function ye(le,pe){return 0===pe.length?null:(pe.objectMode?qe=pe.buffer.shift():!le||le>=pe.length?(qe=pe.decoder?pe.buffer.join(""):1===pe.buffer.length?pe.buffer.first():pe.buffer.concat(pe.length),pe.buffer.clear()):qe=pe.buffer.consume(le,pe.decoder),qe);var qe}function fe(le){var pe=le._readableState;E("endReadable",pe.endEmitted),pe.endEmitted||(pe.ended=!0,process.nextTick(de,pe,le))}function de(le,pe){if(E("endReadableNT",le.endEmitted,le.length),!le.endEmitted&&0===le.length&&(le.endEmitted=!0,pe.readable=!1,pe.emit("end"),le.autoDestroy)){var qe=pe._writableState;(!qe||qe.autoDestroy&&qe.finished)&&pe.destroy()}}function xe(le,pe){for(var qe=0,re=le.length;qe=pe.highWaterMark:pe.length>0)||pe.ended))return E("read: emitReadable",pe.length,pe.ended),0===pe.length&&pe.ended?fe(this):v(this),null;if(0===(le=D(le,pe))&&pe.ended)return 0===pe.length&&fe(this),null;var ve,re=pe.needReadable;return E("need readable",re),(0===pe.length||pe.length-le0?ye(le,pe):null)?(pe.needReadable=pe.length<=pe.highWaterMark,le=0):(pe.length-=le,pe.awaitDrain=0),0===pe.length&&(pe.ended||(pe.needReadable=!0),qe!==le&&pe.ended&&fe(this)),null!==ve&&this.emit("data",ve),ve},S.prototype._read=function(le){ae(this,new K("_read()"))},S.prototype.pipe=function(le,pe){var qe=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=le;break;case 1:re.pipes=[re.pipes,le];break;default:re.pipes.push(le)}re.pipesCount+=1,E("pipe count=%d opts=%j",re.pipesCount,pe);var ce=pe&&!1===pe.end||le===process.stdout||le===process.stderr?Ie:We;function We(){E("onend"),le.end()}re.endEmitted?process.nextTick(ce):qe.once("end",ce),le.on("unpipe",function Ze(lt,Qe){E("onunpipe"),lt===qe&&Qe&&!1===Qe.hasUnpiped&&(Qe.hasUnpiped=!0,function It(){E("cleanup"),le.removeListener("close",rt),le.removeListener("finish",$e),le.removeListener("drain",Ct),le.removeListener("error",Be),le.removeListener("unpipe",Ze),qe.removeListener("end",We),qe.removeListener("end",Ie),qe.removeListener("data",Ae),ut=!0,re.awaitDrain&&(!le._writableState||le._writableState.needDrain)&&Ct()}())});var Ct=function R(le){return function(){var qe=le._readableState;E("pipeOnDrain",qe.awaitDrain),qe.awaitDrain&&qe.awaitDrain--,0===qe.awaitDrain&&y(le,"data")&&(qe.flowing=!0,Je(le))}}(qe);le.on("drain",Ct);var ut=!1;function Ae(lt){E("ondata");var Qe=le.write(lt);E("dest.write",Qe),!1===Qe&&((1===re.pipesCount&&re.pipes===le||re.pipesCount>1&&-1!==xe(re.pipes,le))&&!ut&&(E("false write response, pause",re.awaitDrain),re.awaitDrain++),qe.pause())}function Be(lt){E("onerror",lt),Ie(),le.removeListener("error",Be),0===y(le,"error")&&ae(le,lt)}function rt(){le.removeListener("finish",$e),Ie()}function $e(){E("onfinish"),le.removeListener("close",rt),Ie()}function Ie(){E("unpipe"),qe.unpipe(le)}return qe.on("data",Ae),function J(le,pe,qe){if("function"==typeof le.prependListener)return le.prependListener(pe,qe);le._events&&le._events[pe]?Array.isArray(le._events[pe])?le._events[pe].unshift(qe):le._events[pe]=[qe,le._events[pe]]:le.on(pe,qe)}(le,"error",Be),le.once("close",rt),le.once("finish",$e),le.emit("pipe",qe),re.flowing||(E("pipe resume"),qe.resume()),le},S.prototype.unpipe=function(le){var pe=this._readableState,qe={hasUnpiped:!1};if(0===pe.pipesCount)return this;if(1===pe.pipesCount)return le&&le!==pe.pipes||(le||(le=pe.pipes),pe.pipes=null,pe.pipesCount=0,pe.flowing=!1,le&&le.emit("unpipe",this,qe)),this;if(!le){var re=pe.pipes,ve=pe.pipesCount;pe.pipes=null,pe.pipesCount=0,pe.flowing=!1;for(var ce=0;ce0,!1!==re.flowing&&this.resume()):"readable"===le&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,E("on readable",re.length,re.reading),re.length?v(this):re.reading||process.nextTick(De,this)),qe},S.prototype.removeListener=function(le,pe){var qe=A.prototype.removeListener.call(this,le,pe);return"readable"===le&&process.nextTick(ee,this),qe},S.prototype.removeAllListeners=function(le){var pe=A.prototype.removeAllListeners.apply(this,arguments);return("readable"===le||void 0===le)&&process.nextTick(ee,this),pe},S.prototype.resume=function(){var le=this._readableState;return le.flowing||(E("resume"),le.flowing=!le.readableListening,function ct(le,pe){pe.resumeScheduled||(pe.resumeScheduled=!0,process.nextTick(Ke,le,pe))}(this,le)),le.paused=!1,this},S.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(le){var pe=this,qe=this._readableState,re=!1;for(var ve in le.on("end",function(){if(E("wrapped end"),qe.decoder&&!qe.ended){var Ze=qe.decoder.end();Ze&&Ze.length&&pe.push(Ze)}pe.push(null)}),le.on("data",function(Ze){E("wrapped data"),qe.decoder&&(Ze=qe.decoder.write(Ze)),qe.objectMode&&null==Ze||!(qe.objectMode||Ze&&Ze.length)||pe.push(Ze)||(re=!0,le.pause())}),le)void 0===this[ve]&&"function"==typeof le[ve]&&(this[ve]=function(We){return function(){return le[We].apply(le,arguments)}}(ve));for(var ce=0;ce{"use strict";Fe.exports=P;var e=p(7218).q,t=e.ERR_METHOD_NOT_IMPLEMENTED,y=e.ERR_MULTIPLE_CALLBACK,A=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=e.ERR_TRANSFORM_WITH_LENGTH_0,w=p(247);function m(M,I){var k=this._transformState;k.transforming=!1;var z=k.writecb;if(null===z)return this.emit("error",new y);k.writechunk=null,k.writecb=null,null!=I&&this.push(I),z(M);var B=this._readableState;B.reading=!1,(B.needReadable||B.length{"use strict";function t(Je){var ye=this;this.next=null,this.entry=null,this.finish=function(){!function Ke(Je,ye,fe){var de=Je.entry;for(Je.entry=null;de;){var xe=de.callback;ye.pendingcb--,xe(fe),de=de.next}ye.corkedRequestsFree.next=Je}(ye,Je)}}var y;Fe.exports=he,he.WritableState=Me;var J,A={deprecate:p(496)},l=p(8240),w=p(9007).Buffer,m=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},E=p(5601),I=p(8782).getHighWaterMark,k=p(7218).q,z=k.ERR_INVALID_ARG_TYPE,B=k.ERR_METHOD_NOT_IMPLEMENTED,W=k.ERR_MULTIPLE_CALLBACK,j=k.ERR_STREAM_CANNOT_PIPE,K=k.ERR_STREAM_DESTROYED,X=k.ERR_STREAM_NULL_VALUES,ie=k.ERR_STREAM_WRITE_AFTER_END,se=k.ERR_UNKNOWN_ENCODING,ue=E.errorOrDestroy;function ae(){}function Me(Je,ye,fe){y=y||p(247),"boolean"!=typeof fe&&(fe=ye instanceof y),this.objectMode=!!(Je=Je||{}).objectMode,fe&&(this.objectMode=this.objectMode||!!Je.writableObjectMode),this.highWaterMark=I(this,Je,"writableHighWaterMark",fe),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Je.decodeStrings),this.defaultEncoding=Je.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(xe){!function O(Je,ye){var fe=Je._writableState,de=fe.sync,xe=fe.writecb;if("function"!=typeof xe)throw new W;if(function D(Je){Je.writing=!1,Je.writecb=null,Je.length-=Je.writelen,Je.writelen=0}(fe),ye)!function C(Je,ye,fe,de,xe){--ye.pendingcb,fe?(process.nextTick(xe,de),process.nextTick(De,Je,ye),Je._writableState.errorEmitted=!0,ue(Je,de)):(xe(de),Je._writableState.errorEmitted=!0,ue(Je,de),De(Je,ye))}(Je,fe,de,ye,xe);else{var le=H(fe)||Je.destroyed;!le&&!fe.corked&&!fe.bufferProcessing&&fe.bufferedRequest&&g(Je,fe),de?process.nextTick(v,Je,fe,le,xe):v(Je,fe,le,xe)}}(ye,xe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Je.emitClose,this.autoDestroy=!!Je.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function he(Je){var ye=this instanceof(y=y||p(247));if(!ye&&!J.call(he,this))return new he(Je);this._writableState=new Me(Je,this,ye),this.writable=!0,Je&&("function"==typeof Je.write&&(this._write=Je.write),"function"==typeof Je.writev&&(this._writev=Je.writev),"function"==typeof Je.destroy&&(this._destroy=Je.destroy),"function"==typeof Je.final&&(this._final=Je.final)),l.call(this)}function h(Je,ye,fe,de,xe,le,pe){ye.writelen=de,ye.writecb=pe,ye.writing=!0,ye.sync=!0,ye.destroyed?ye.onwrite(new K("write")):fe?Je._writev(xe,ye.onwrite):Je._write(xe,le,ye.onwrite),ye.sync=!1}function v(Je,ye,fe,de){fe||function r(Je,ye){0===ye.length&&ye.needDrain&&(ye.needDrain=!1,Je.emit("drain"))}(Je,ye),ye.pendingcb--,de(),De(Je,ye)}function g(Je,ye){ye.bufferProcessing=!0;var fe=ye.bufferedRequest;if(Je._writev&&fe&&fe.next){var xe=new Array(ye.bufferedRequestCount),le=ye.corkedRequestsFree;le.entry=fe;for(var pe=0,qe=!0;fe;)xe[pe]=fe,fe.isBuf||(qe=!1),fe=fe.next,pe+=1;xe.allBuffers=qe,h(Je,ye,!0,ye.length,xe,"",le.finish),ye.pendingcb++,ye.lastBufferedRequest=null,le.next?(ye.corkedRequestsFree=le.next,le.next=null):ye.corkedRequestsFree=new t(ye),ye.bufferedRequestCount=0}else{for(;fe;){var re=fe.chunk;if(h(Je,ye,!1,ye.objectMode?1:re.length,re,fe.encoding,fe.callback),fe=fe.next,ye.bufferedRequestCount--,ye.writing)break}null===fe&&(ye.lastBufferedRequest=null)}ye.bufferedRequest=fe,ye.bufferProcessing=!1}function H(Je){return Je.ending&&0===Je.length&&null===Je.bufferedRequest&&!Je.finished&&!Je.writing}function R(Je,ye){Je._final(function(fe){ye.pendingcb--,fe&&ue(Je,fe),ye.prefinished=!0,Je.emit("prefinish"),De(Je,ye)})}function De(Je,ye){var fe=H(ye);if(fe&&(function ee(Je,ye){!ye.prefinished&&!ye.finalCalled&&("function"!=typeof Je._final||ye.destroyed?(ye.prefinished=!0,Je.emit("prefinish")):(ye.pendingcb++,ye.finalCalled=!0,process.nextTick(R,Je,ye)))}(Je,ye),0===ye.pendingcb&&(ye.finished=!0,Je.emit("finish"),ye.autoDestroy))){var de=Je._readableState;(!de||de.autoDestroy&&de.endEmitted)&&Je.destroy()}return fe}p(6698)(he,l),Me.prototype.getBuffer=function(){for(var ye=this.bufferedRequest,fe=[];ye;)fe.push(ye),ye=ye.next;return fe},function(){try{Object.defineProperty(Me.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(J=Function.prototype[Symbol.hasInstance],Object.defineProperty(he,Symbol.hasInstance,{value:function(ye){return!!J.call(this,ye)||this===he&&ye&&ye._writableState instanceof Me}})):J=function(ye){return ye instanceof this},he.prototype.pipe=function(){ue(this,new j)},he.prototype.write=function(Je,ye,fe){var de=this._writableState,xe=!1,le=!de.objectMode&&function d(Je){return w.isBuffer(Je)||Je instanceof m}(Je);return le&&!w.isBuffer(Je)&&(Je=function P(Je){return w.from(Je)}(Je)),"function"==typeof ye&&(fe=ye,ye=null),le?ye="buffer":ye||(ye=de.defaultEncoding),"function"!=typeof fe&&(fe=ae),de.ending?function S(Je,ye){var fe=new ie;ue(Je,fe),process.nextTick(ye,fe)}(this,fe):(le||function n(Je,ye,fe,de){var xe;return null===fe?xe=new X:"string"!=typeof fe&&!ye.objectMode&&(xe=new z("chunk",["string","Buffer"],fe)),!xe||(ue(Je,xe),process.nextTick(de,xe),!1)}(this,de,Je,fe))&&(de.pendingcb++,xe=function f(Je,ye,fe,de,xe,le){if(!fe){var pe=function s(Je,ye,fe){return!Je.objectMode&&!1!==Je.decodeStrings&&"string"==typeof ye&&(ye=w.from(ye,fe)),ye}(ye,de,xe);de!==pe&&(fe=!0,xe="buffer",de=pe)}var qe=ye.objectMode?1:de.length;ye.length+=qe;var re=ye.length-1))throw new se(ye);return this._writableState.defaultEncoding=ye,this},Object.defineProperty(he.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(he.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),he.prototype._write=function(Je,ye,fe){fe(new B("_write()"))},he.prototype._writev=null,he.prototype.end=function(Je,ye,fe){var de=this._writableState;return"function"==typeof Je?(fe=Je,Je=null,ye=null):"function"==typeof ye&&(fe=ye,ye=null),null!=Je&&this.write(Je,ye),de.corked&&(de.corked=1,this.uncork()),de.ending||function ct(Je,ye,fe){ye.ending=!0,De(Je,ye),fe&&(ye.finished?process.nextTick(fe):Je.once("finish",fe)),ye.ended=!0,Je.writable=!1}(this,de,fe),this},Object.defineProperty(he.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(he.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(ye){this._writableState&&(this._writableState.destroyed=ye)}}),he.prototype.destroy=E.destroy,he.prototype._undestroy=E.undestroy,he.prototype._destroy=function(Je,ye){ye(Je)}},457:(Fe,q,p)=>{"use strict";var e;function t(ie,se,ue){return se=function y(ie){var se=function A(ie,se){if("object"!=typeof ie||null===ie)return ie;var ue=ie[Symbol.toPrimitive];if(void 0!==ue){var ae=ue.call(ie,se||"default");if("object"!=typeof ae)return ae;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===se?String:Number)(ie)}(ie,"string");return"symbol"==typeof se?se:String(se)}(se),se in ie?Object.defineProperty(ie,se,{value:ue,enumerable:!0,configurable:!0,writable:!0}):ie[se]=ue,ie}var l=p(4618),w=Symbol("lastResolve"),m=Symbol("lastReject"),P=Symbol("error"),d=Symbol("ended"),E=Symbol("lastPromise"),M=Symbol("handlePromise"),I=Symbol("stream");function k(ie,se){return{value:ie,done:se}}function z(ie){var se=ie[w];if(null!==se){var ue=ie[I].read();null!==ue&&(ie[E]=null,ie[w]=null,ie[m]=null,se(k(ue,!1)))}}function B(ie){process.nextTick(z,ie)}var j=Object.getPrototypeOf(function(){}),K=Object.setPrototypeOf((t(e={get stream(){return this[I]},next:function(){var se=this,ue=this[P];if(null!==ue)return Promise.reject(ue);if(this[d])return Promise.resolve(k(void 0,!0));if(this[I].destroyed)return new Promise(function(he,S){process.nextTick(function(){se[P]?S(se[P]):he(k(void 0,!0))})});var Me,ae=this[E];if(ae)Me=new Promise(function W(ie,se){return function(ue,ae){ie.then(function(){se[d]?ue(k(void 0,!0)):se[M](ue,ae)},ae)}}(ae,this));else{var J=this[I].read();if(null!==J)return Promise.resolve(k(J,!1));Me=new Promise(this[M])}return this[E]=Me,Me}},Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var se=this;return new Promise(function(ue,ae){se[I].destroy(null,function(Me){Me?ae(Me):ue(k(void 0,!0))})})}),e),j);Fe.exports=function(se){var ue,ae=Object.create(K,(t(ue={},I,{value:se,writable:!0}),t(ue,w,{value:null,writable:!0}),t(ue,m,{value:null,writable:!0}),t(ue,P,{value:null,writable:!0}),t(ue,d,{value:se._readableState.endEmitted,writable:!0}),t(ue,M,{value:function(J,he){var S=ae[I].read();S?(ae[E]=null,ae[w]=null,ae[m]=null,J(k(S,!1))):(ae[w]=J,ae[m]=he)},writable:!0}),ue));return ae[E]=null,l(se,function(Me){if(Me&&"ERR_STREAM_PREMATURE_CLOSE"!==Me.code){var J=ae[m];return null!==J&&(ae[E]=null,ae[w]=null,ae[m]=null,J(Me)),void(ae[P]=Me)}var he=ae[w];null!==he&&(ae[E]=null,ae[w]=null,ae[m]=null,he(k(void 0,!0))),ae[d]=!0}),se.on("readable",B.bind(null,ae)),ae}},2960:(Fe,q,p)=>{"use strict";function e(B,W){var j=Object.keys(B);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(B);W&&(K=K.filter(function(X){return Object.getOwnPropertyDescriptor(B,X).enumerable})),j.push.apply(j,K)}return j}function t(B){for(var W=1;W0?this.tail.next=K:this.head=K,this.tail=K,++this.length}},{key:"unshift",value:function(j){var K={data:j,next:this.head};0===this.length&&(this.tail=K),this.head=K,++this.length}},{key:"shift",value:function(){if(0!==this.length){var j=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,j}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(j){if(0===this.length)return"";for(var K=this.head,X=""+K.data;K=K.next;)X+=j+K.data;return X}},{key:"concat",value:function(j){if(0===this.length)return E.alloc(0);for(var K=E.allocUnsafe(j>>>0),X=this.head,ie=0;X;)z(X.data,K,ie),ie+=X.data.length,X=X.next;return K}},{key:"consume",value:function(j,K){var X;return jse.length?se.length:j;if(ie+=ue===se.length?se:se.slice(0,j),0==(j-=ue)){ue===se.length?(++X,this.head=K.next?K.next:this.tail=null):(this.head=K,K.data=se.slice(ue));break}++X}return this.length-=X,ie}},{key:"_getBuffer",value:function(j){var K=E.allocUnsafe(j),X=this.head,ie=1;for(X.data.copy(K),j-=X.data.length;X=X.next;){var se=X.data,ue=j>se.length?se.length:j;if(se.copy(K,K.length-j,0,ue),0==(j-=ue)){ue===se.length?(++ie,this.head=X.next?X.next:this.tail=null):(this.head=X,X.data=se.slice(ue));break}++ie}return this.length-=ie,K}},{key:k,value:function(j,K){return I(this,t(t({},K),{},{depth:0,customInspect:!1}))}}]),B}()},5601:Fe=>{"use strict";function p(l,w){y(l,w),e(l)}function e(l){l._writableState&&!l._writableState.emitClose||l._readableState&&!l._readableState.emitClose||l.emit("close")}function y(l,w){l.emit("error",w)}Fe.exports={destroy:function q(l,w){var m=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(w?w(l):l&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(y,this,l)):process.nextTick(y,this,l)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(l||null,function(E){!w&&E?m._writableState?m._writableState.errorEmitted?process.nextTick(e,m):(m._writableState.errorEmitted=!0,process.nextTick(p,m,E)):process.nextTick(p,m,E):w?(process.nextTick(e,m),w(E)):process.nextTick(e,m)}),this)},undestroy:function t(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function A(l,w){var m=l._readableState,P=l._writableState;m&&m.autoDestroy||P&&P.autoDestroy?l.destroy(w):l.emit("error",w)}}},4618:(Fe,q,p)=>{"use strict";var e=p(7218).q.ERR_STREAM_PREMATURE_CLOSE;function y(){}Fe.exports=function l(w,m,P){if("function"==typeof m)return l(w,null,m);m||(m={}),P=function t(w){var m=!1;return function(){if(!m){m=!0;for(var P=arguments.length,d=new Array(P),E=0;E{Fe.exports=function(){throw new Error("Readable.from is not available in the browser")}},4514:(Fe,q,p)=>{"use strict";var e,y=p(7218).q,A=y.ERR_MISSING_ARGS,l=y.ERR_STREAM_DESTROYED;function w(k){if(k)throw k}function d(k){k()}function E(k,z){return k.pipe(z)}Fe.exports=function I(){for(var k=arguments.length,z=new Array(k),B=0;B0,function(ae){j||(j=ae),ae&&K.forEach(d),!se&&(K.forEach(d),W(j))})});return z.reduce(E)}},8782:(Fe,q,p)=>{"use strict";var e=p(7218).q.ERR_INVALID_OPT_VALUE;Fe.exports={getHighWaterMark:function y(A,l,w,m){var P=function t(A,l,w){return null!=A.highWaterMark?A.highWaterMark:l?A[w]:null}(l,m,w);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new e(m?w:"highWaterMark",P);return Math.floor(P)}return A.objectMode?16:16384}}},8240:(Fe,q,p)=>{Fe.exports=p(2016).EventEmitter},6745:(Fe,q,p)=>{(q=Fe.exports=p(309)).Stream=q,q.Readable=q,q.Writable=p(6563),q.Duplex=p(247),q.Transform=p(6307),q.PassThrough=p(5096),q.finished=p(4618),q.pipeline=p(4514)},2178:Fe=>{"use strict";function q(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}Fe.exports=function p(t){return(t=t||{}).circles?function e(t){var y=[],A=[];return t.proto?function m(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return l(P,m);if(P instanceof Map)return new Map(l(Array.from(P),m));if(P instanceof Set)return new Set(l(Array.from(P),m));var d={};for(var E in y.push(P),A.push(d),P){var M=P[E];if("object"!=typeof M||null===M)d[E]=M;else if(M instanceof Date)d[E]=new Date(M);else if(M instanceof Map)d[E]=new Map(l(Array.from(M),m));else if(M instanceof Set)d[E]=new Set(l(Array.from(M),m));else if(ArrayBuffer.isView(M))d[E]=q(M);else{var I=y.indexOf(M);d[E]=-1!==I?A[I]:m(M)}}return y.pop(),A.pop(),d}:function w(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return l(P,w);if(P instanceof Map)return new Map(l(Array.from(P),w));if(P instanceof Set)return new Set(l(Array.from(P),w));var d={};for(var E in y.push(P),A.push(d),P)if(!1!==Object.hasOwnProperty.call(P,E)){var M=P[E];if("object"!=typeof M||null===M)d[E]=M;else if(M instanceof Date)d[E]=new Date(M);else if(M instanceof Map)d[E]=new Map(l(Array.from(M),w));else if(M instanceof Set)d[E]=new Set(l(Array.from(M),w));else if(ArrayBuffer.isView(M))d[E]=q(M);else{var I=y.indexOf(M);d[E]=-1!==I?A[I]:w(M)}}return y.pop(),A.pop(),d};function l(P,d){for(var E=Object.keys(P),M=new Array(E.length),I=0;I{"use strict";var e=p(9007).Buffer,t=p(6698),y=p(380),A=new Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],w=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],P=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],E=[1352829926,1548603684,1836072691,2053994217,0];function M(){y.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function I(K,X){return K<>>32-X}function k(K,X,ie,se,ue,ae,Me,J){return I(K+(X^ie^se)+ae+Me|0,J)+ue|0}function z(K,X,ie,se,ue,ae,Me,J){return I(K+(X&ie|~X&se)+ae+Me|0,J)+ue|0}function B(K,X,ie,se,ue,ae,Me,J){return I(K+((X|~ie)^se)+ae+Me|0,J)+ue|0}function W(K,X,ie,se,ue,ae,Me,J){return I(K+(X&se|ie&~se)+ae+Me|0,J)+ue|0}function j(K,X,ie,se,ue,ae,Me,J){return I(K+(X^(ie|~se))+ae+Me|0,J)+ue|0}t(M,y),M.prototype._update=function(){for(var K=A,X=0;X<16;++X)K[X]=this._block.readInt32LE(4*X);for(var ie=0|this._a,se=0|this._b,ue=0|this._c,ae=0|this._d,Me=0|this._e,J=0|this._a,he=0|this._b,S=0|this._c,n=0|this._d,s=0|this._e,f=0;f<80;f+=1){var h,C;f<16?(h=k(ie,se,ue,ae,Me,K[l[f]],d[0],m[f]),C=j(J,he,S,n,s,K[w[f]],E[0],P[f])):f<32?(h=z(ie,se,ue,ae,Me,K[l[f]],d[1],m[f]),C=W(J,he,S,n,s,K[w[f]],E[1],P[f])):f<48?(h=B(ie,se,ue,ae,Me,K[l[f]],d[2],m[f]),C=B(J,he,S,n,s,K[w[f]],E[2],P[f])):f<64?(h=W(ie,se,ue,ae,Me,K[l[f]],d[3],m[f]),C=z(J,he,S,n,s,K[w[f]],E[3],P[f])):(h=j(ie,se,ue,ae,Me,K[l[f]],d[4],m[f]),C=k(J,he,S,n,s,K[w[f]],E[4],P[f])),ie=Me,Me=ae,ae=I(ue,10),ue=se,se=h,J=s,s=n,n=I(S,10),S=he,he=C}var D=this._b+ue+n|0;this._b=this._c+ae+s|0,this._c=this._d+Me+J|0,this._d=this._e+ie+he|0,this._e=this._a+se+S|0,this._a=D},M.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var K=e.alloc?e.alloc(20):new e(20);return K.writeInt32LE(this._a,0),K.writeInt32LE(this._b,4),K.writeInt32LE(this._c,8),K.writeInt32LE(this._d,12),K.writeInt32LE(this._e,16),K},Fe.exports=M},5619:(Fe,q,p)=>{"use strict";p.d(q,{X:()=>t});var e=p(8645);class t extends e.x{constructor(A){super(),this._value=A}get value(){return this.getValue()}_subscribe(A){const l=super._subscribe(A);return!l.closed&&A.next(this._value),l}getValue(){const{hasError:A,thrownError:l,_value:w}=this;if(A)throw l;return this._throwIfClosed(),w}next(A){super.next(this._value=A)}}},5592:(Fe,q,p)=>{"use strict";p.d(q,{y:()=>P});var e=p(305),t=p(7394),y=p(4850),A=p(8407),l=p(2653),w=p(4674),m=p(1441);let P=(()=>{class I{constructor(z){z&&(this._subscribe=z)}lift(z){const B=new I;return B.source=this,B.operator=z,B}subscribe(z,B,W){const j=function M(I){return I&&I instanceof e.Lv||function E(I){return I&&(0,w.m)(I.next)&&(0,w.m)(I.error)&&(0,w.m)(I.complete)}(I)&&(0,t.Nn)(I)}(z)?z:new e.Hp(z,B,W);return(0,m.x)(()=>{const{operator:K,source:X}=this;j.add(K?K.call(j,X):X?this._subscribe(j):this._trySubscribe(j))}),j}_trySubscribe(z){try{return this._subscribe(z)}catch(B){z.error(B)}}forEach(z,B){return new(B=d(B))((W,j)=>{const K=new e.Hp({next:X=>{try{z(X)}catch(ie){j(ie),K.unsubscribe()}},error:j,complete:W});this.subscribe(K)})}_subscribe(z){var B;return null===(B=this.source)||void 0===B?void 0:B.subscribe(z)}[y.L](){return this}pipe(...z){return(0,A.U)(z)(this)}toPromise(z){return new(z=d(z))((B,W)=>{let j;this.subscribe(K=>j=K,K=>W(K),()=>B(j))})}}return I.create=k=>new I(k),I})();function d(I){var k;return null!==(k=I??l.config.Promise)&&void 0!==k?k:Promise}},7328:(Fe,q,p)=>{"use strict";p.d(q,{t:()=>y});var e=p(8645),t=p(4552);class y extends e.x{constructor(l=1/0,w=1/0,m=t.l){super(),this._bufferSize=l,this._windowTime=w,this._timestampProvider=m,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=w===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,w)}next(l){const{isStopped:w,_buffer:m,_infiniteTimeWindow:P,_timestampProvider:d,_windowTime:E}=this;w||(m.push(l),!P&&m.push(d.now()+E)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const w=this._innerSubscribe(l),{_infiniteTimeWindow:m,_buffer:P}=this,d=P.slice();for(let E=0;E{"use strict";p.d(q,{u:()=>P,x:()=>m});var e=p(5592),t=p(7394);const A=(0,p(2306).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=p(9039),w=p(1441);let m=(()=>{class d extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(M){const I=new P(this,this);return I.operator=M,I}_throwIfClosed(){if(this.closed)throw new A}next(M){(0,w.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const I of this.currentObservers)I.next(M)}})}error(M){(0,w.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=M;const{observers:I}=this;for(;I.length;)I.shift().error(M)}})}complete(){(0,w.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:M}=this;for(;M.length;)M.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var M;return(null===(M=this.observers)||void 0===M?void 0:M.length)>0}_trySubscribe(M){return this._throwIfClosed(),super._trySubscribe(M)}_subscribe(M){return this._throwIfClosed(),this._checkFinalizedStatuses(M),this._innerSubscribe(M)}_innerSubscribe(M){const{hasError:I,isStopped:k,observers:z}=this;return I||k?t.Lc:(this.currentObservers=null,z.push(M),new t.w0(()=>{this.currentObservers=null,(0,l.P)(z,M)}))}_checkFinalizedStatuses(M){const{hasError:I,thrownError:k,isStopped:z}=this;I?M.error(k):z&&M.complete()}asObservable(){const M=new e.y;return M.source=this,M}}return d.create=(E,M)=>new P(E,M),d})();class P extends m{constructor(E,M){super(),this.destination=E,this.source=M}next(E){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.next)||void 0===I||I.call(M,E)}error(E){var M,I;null===(I=null===(M=this.destination)||void 0===M?void 0:M.error)||void 0===I||I.call(M,E)}complete(){var E,M;null===(M=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===M||M.call(E)}_subscribe(E){var M,I;return null!==(I=null===(M=this.source)||void 0===M?void 0:M.subscribe(E))&&void 0!==I?I:t.Lc}}},305:(Fe,q,p)=>{"use strict";p.d(q,{Hp:()=>W,Lv:()=>I});var e=p(4674),t=p(7394),y=p(2653),A=p(3894),l=p(2420);const w=d("C",void 0,void 0);function d(se,ue,ae){return{kind:se,value:ue,error:ae}}var E=p(7599),M=p(1441);class I extends t.w0{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,t.Nn)(ue)&&ue.add(this)):this.destination=ie}static create(ue,ae,Me){return new W(ue,ae,Me)}next(ue){this.isStopped?X(function P(se){return d("N",se,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?X(function m(se){return d("E",void 0,se)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?X(w,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function z(se,ue){return k.call(se,ue)}class B{constructor(ue){this.partialObserver=ue}next(ue){const{partialObserver:ae}=this;if(ae.next)try{ae.next(ue)}catch(Me){j(Me)}}error(ue){const{partialObserver:ae}=this;if(ae.error)try{ae.error(ue)}catch(Me){j(Me)}else j(ue)}complete(){const{partialObserver:ue}=this;if(ue.complete)try{ue.complete()}catch(ae){j(ae)}}}class W extends I{constructor(ue,ae,Me){let J;if(super(),(0,e.m)(ue)||!ue)J={next:ue??void 0,error:ae??void 0,complete:Me??void 0};else{let he;this&&y.config.useDeprecatedNextContext?(he=Object.create(ue),he.unsubscribe=()=>this.unsubscribe(),J={next:ue.next&&z(ue.next,he),error:ue.error&&z(ue.error,he),complete:ue.complete&&z(ue.complete,he)}):J=ue}this.destination=new B(J)}}function j(se){y.config.useDeprecatedSynchronousErrorHandling?(0,M.O)(se):(0,A.h)(se)}function X(se,ue){const{onStoppedNotification:ae}=y.config;ae&&E.z.setTimeout(()=>ae(se,ue))}const ie={closed:!0,next:l.Z,error:function K(se){throw se},complete:l.Z}},7394:(Fe,q,p)=>{"use strict";p.d(q,{Lc:()=>w,w0:()=>l,Nn:()=>m});var e=p(4674);const y=(0,p(2306).d)(d=>function(M){d(this),this.message=M?`${M.length} errors occurred during unsubscription:\n${M.map((I,k)=>`${k+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=M});var A=p(9039);class l{constructor(E){this.initialTeardown=E,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let E;if(!this.closed){this.closed=!0;const{_parentage:M}=this;if(M)if(this._parentage=null,Array.isArray(M))for(const z of M)z.remove(this);else M.remove(this);const{initialTeardown:I}=this;if((0,e.m)(I))try{I()}catch(z){E=z instanceof y?z.errors:[z]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const z of k)try{P(z)}catch(B){E=E??[],B instanceof y?E=[...E,...B.errors]:E.push(B)}}if(E)throw new y(E)}}add(E){var M;if(E&&E!==this)if(this.closed)P(E);else{if(E instanceof l){if(E.closed||E._hasParent(this))return;E._addParent(this)}(this._finalizers=null!==(M=this._finalizers)&&void 0!==M?M:[]).push(E)}}_hasParent(E){const{_parentage:M}=this;return M===E||Array.isArray(M)&&M.includes(E)}_addParent(E){const{_parentage:M}=this;this._parentage=Array.isArray(M)?(M.push(E),M):M?[M,E]:E}_removeParent(E){const{_parentage:M}=this;M===E?this._parentage=null:Array.isArray(M)&&(0,A.P)(M,E)}remove(E){const{_finalizers:M}=this;M&&(0,A.P)(M,E),E instanceof l&&E._removeParent(this)}}l.EMPTY=(()=>{const d=new l;return d.closed=!0,d})();const w=l.EMPTY;function m(d){return d instanceof l||d&&"closed"in d&&(0,e.m)(d.remove)&&(0,e.m)(d.add)&&(0,e.m)(d.unsubscribe)}function P(d){(0,e.m)(d)?d():d.unsubscribe()}},2653:(Fe,q,p)=>{"use strict";p.d(q,{config:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(Fe,q,p)=>{"use strict";p.d(q,{c:()=>w});var e=p(5592),t=p(7394),y=p(6196),A=p(8251),l=p(9360);class w extends e.y{constructor(P,d){super(),this.source=P,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,l.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,P?.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new t.w0;const d=this.getSubject();P.add(this.source.subscribe((0,A.x)(d,void 0,()=>{this._teardown(),d.complete()},E=>{this._teardown(),d.error(E)},()=>this._teardown()))),P.closed&&(this._connection=null,P=t.w0.EMPTY)}return P}refCount(){return(0,y.x)()(this)}}},2572:(Fe,q,p)=>{"use strict";p.d(q,{a:()=>E});var e=p(5592),t=p(7453),y=p(9666),A=p(2737),l=p(7400),w=p(9940),m=p(2714),P=p(8251),d=p(7103);function E(...k){const z=(0,w.yG)(k),B=(0,w.jO)(k),{args:W,keys:j}=(0,t.D)(k);if(0===W.length)return(0,y.D)([],z);const K=new e.y(function M(k,z,B=A.y){return W=>{I(z,()=>{const{length:j}=k,K=new Array(j);let X=j,ie=j;for(let se=0;se{const ue=(0,y.D)(k[se],z);let ae=!1;ue.subscribe((0,P.x)(W,Me=>{K[se]=Me,ae||(ae=!0,ie--),ie||W.next(B(K.slice()))},()=>{--X||W.complete()}))},W)},W)}}(W,z,j?X=>(0,m.n)(j,X):A.y));return B?K.pipe((0,l.Z)(B)):K}function I(k,z,B){k?(0,d.f)(B,k,z):z()}},5211:(Fe,q,p)=>{"use strict";p.d(q,{z:()=>l});var e=p(7537),y=p(9940),A=p(9666);function l(...w){return function t(){return(0,e.J)(1)}()((0,A.D)(w,(0,y.yG)(w)))}},4911:(Fe,q,p)=>{"use strict";p.d(q,{P:()=>y});var e=p(5592),t=p(4829);function y(A){return new e.y(l=>{(0,t.Xf)(A()).subscribe(l)})}},6232:(Fe,q,p)=>{"use strict";p.d(q,{E:()=>t});const t=new(p(5592).y)(l=>l.complete())},9315:(Fe,q,p)=>{"use strict";p.d(q,{D:()=>P});var e=p(5592),t=p(7453),y=p(4829),A=p(9940),l=p(8251),w=p(7400),m=p(2714);function P(...d){const E=(0,A.jO)(d),{args:M,keys:I}=(0,t.D)(d),k=new e.y(z=>{const{length:B}=M;if(!B)return void z.complete();const W=new Array(B);let j=B,K=B;for(let X=0;X{ie||(ie=!0,K--),W[X]=se},()=>j--,void 0,()=>{(!j||!ie)&&(K||z.next(I?(0,m.n)(I,W):W),z.complete())}))}});return E?k.pipe((0,w.Z)(E)):k}},9666:(Fe,q,p)=>{"use strict";p.d(q,{D:()=>ae});var e=p(4829),t=p(3093),y=p(9360);function A(Me,J=0){return(0,y.e)((he,S)=>{S.add(Me.schedule(()=>he.subscribe(S),J))})}var m=p(5592),d=p(4971),E=p(4674),M=p(7103);function k(Me,J){if(!Me)throw new Error("Iterable cannot be null");return new m.y(he=>{(0,M.f)(he,J,()=>{const S=Me[Symbol.asyncIterator]();(0,M.f)(he,J,()=>{S.next().then(n=>{n.done?he.complete():he.next(n.value)})},0,!0)})})}var z=p(8382),B=p(4026),W=p(4266),j=p(3664),K=p(5726),X=p(9853),ie=p(541);function ae(Me,J){return J?function ue(Me,J){if(null!=Me){if((0,z.c)(Me))return function l(Me,J){return(0,e.Xf)(Me).pipe(A(J),(0,t.Q)(J))}(Me,J);if((0,W.z)(Me))return function P(Me,J){return new m.y(he=>{let S=0;return J.schedule(function(){S===Me.length?he.complete():(he.next(Me[S++]),he.closed||this.schedule())})})}(Me,J);if((0,B.t)(Me))return function w(Me,J){return(0,e.Xf)(Me).pipe(A(J),(0,t.Q)(J))}(Me,J);if((0,K.D)(Me))return k(Me,J);if((0,j.T)(Me))return function I(Me,J){return new m.y(he=>{let S;return(0,M.f)(he,J,()=>{S=Me[d.h](),(0,M.f)(he,J,()=>{let n,s;try{({value:n,done:s}=S.next())}catch(f){return void he.error(f)}s?he.complete():he.next(n)},0,!0)}),()=>(0,E.m)(S?.return)&&S.return()})}(Me,J);if((0,ie.L)(Me))return function se(Me,J){return k((0,ie.Q)(Me),J)}(Me,J)}throw(0,X.z)(Me)}(Me,J):(0,e.Xf)(Me)}},2438:(Fe,q,p)=>{"use strict";p.d(q,{R:()=>E});var e=p(4829),t=p(5592),y=p(1631),A=p(4266),l=p(4674),w=p(7400);const m=["addListener","removeListener"],P=["addEventListener","removeEventListener"],d=["on","off"];function E(B,W,j,K){if((0,l.m)(j)&&(K=j,j=void 0),K)return E(B,W,j).pipe((0,w.Z)(K));const[X,ie]=function z(B){return(0,l.m)(B.addEventListener)&&(0,l.m)(B.removeEventListener)}(B)?P.map(se=>ue=>B[se](W,ue,j)):function I(B){return(0,l.m)(B.addListener)&&(0,l.m)(B.removeListener)}(B)?m.map(M(B,W)):function k(B){return(0,l.m)(B.on)&&(0,l.m)(B.off)}(B)?d.map(M(B,W)):[];if(!X&&(0,A.z)(B))return(0,y.z)(se=>E(se,W,j))((0,e.Xf)(B));if(!X)throw new TypeError("Invalid event target");return new t.y(se=>{const ue=(...ae)=>se.next(1ie(ue)})}function M(B,W){return j=>K=>B[j](W,K)}},4829:(Fe,q,p)=>{"use strict";p.d(q,{Xf:()=>k});var e=p(7582),t=p(4266),y=p(4026),A=p(5592),l=p(8382),w=p(5726),m=p(9853),P=p(3664),d=p(541),E=p(4674),M=p(3894),I=p(4850);function k(se){if(se instanceof A.y)return se;if(null!=se){if((0,l.c)(se))return function z(se){return new A.y(ue=>{const ae=se[I.L]();if((0,E.m)(ae.subscribe))return ae.subscribe(ue);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(se);if((0,t.z)(se))return function B(se){return new A.y(ue=>{for(let ae=0;ae{se.then(ae=>{ue.closed||(ue.next(ae),ue.complete())},ae=>ue.error(ae)).then(null,M.h)})}(se);if((0,w.D)(se))return K(se);if((0,P.T)(se))return function j(se){return new A.y(ue=>{for(const ae of se)if(ue.next(ae),ue.closed)return;ue.complete()})}(se);if((0,d.L)(se))return function X(se){return K((0,d.Q)(se))}(se)}throw(0,m.z)(se)}function K(se){return new A.y(ue=>{(function ie(se,ue){var ae,Me,J,he;return(0,e.mG)(this,void 0,void 0,function*(){try{for(ae=(0,e.KL)(se);!(Me=yield ae.next()).done;)if(ue.next(Me.value),ue.closed)return}catch(S){J={error:S}}finally{try{Me&&!Me.done&&(he=ae.return)&&(yield he.call(ae))}finally{if(J)throw J.error}}ue.complete()})})(se,ue).catch(ae=>ue.error(ae))})}},3019:(Fe,q,p)=>{"use strict";p.d(q,{T:()=>w});var e=p(7537),t=p(4829),y=p(6232),A=p(9940),l=p(9666);function w(...m){const P=(0,A.yG)(m),d=(0,A._6)(m,1/0),E=m;return E.length?1===E.length?(0,t.Xf)(E[0]):(0,e.J)(d)((0,l.D)(E,P)):y.E}},2096:(Fe,q,p)=>{"use strict";p.d(q,{of:()=>y});var e=p(9940),t=p(9666);function y(...A){const l=(0,e.yG)(A);return(0,t.D)(A,l)}},8504:(Fe,q,p)=>{"use strict";p.d(q,{_:()=>y});var e=p(5592),t=p(4674);function y(A,l){const w=(0,t.m)(A)?A:()=>A,m=P=>P.error(w());return new e.y(l?P=>l.schedule(m,0,P):m)}},9080:(Fe,q,p)=>{"use strict";p.d(q,{H:()=>l});var e=p(5592),t=p(6321),y=p(671),A=p(93);function l(w=0,m,P=t.P){let d=-1;return null!=m&&((0,y.K)(m)?P=m:d=m),new e.y(E=>{let M=(0,A.q)(w)?+w-P.now():w;M<0&&(M=0);let I=0;return P.schedule(function(){E.closed||(E.next(I++),0<=d?this.schedule(void 0,d):E.complete())},M)})}},8251:(Fe,q,p)=>{"use strict";p.d(q,{Q:()=>y,x:()=>t});var e=p(305);function t(A,l,w,m,P){return new y(A,l,w,m,P)}class y extends e.Lv{constructor(l,w,m,P,d,E){super(l),this.onFinalize=d,this.shouldUnsubscribe=E,this._next=w?function(M){try{w(M)}catch(I){l.error(I)}}:super._next,this._error=P?function(M){try{P(M)}catch(I){l.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=m?function(){try{m()}catch(M){l.error(M)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:w}=this;super.unsubscribe(),!w&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},9028:(Fe,q,p)=>{"use strict";p.d(q,{e:()=>m});var e=p(6321),t=p(9360),y=p(4829),A=p(8251),w=p(9080);function m(P,d=e.z){return function l(P){return(0,t.e)((d,E)=>{let M=!1,I=null,k=null,z=!1;const B=()=>{if(k?.unsubscribe(),k=null,M){M=!1;const j=I;I=null,E.next(j)}z&&E.complete()},W=()=>{k=null,z&&E.complete()};d.subscribe((0,A.x)(E,j=>{M=!0,I=j,k||(0,y.Xf)(P(j)).subscribe(k=(0,A.x)(E,B,W))},()=>{z=!0,(!M||!k||k.closed)&&E.complete()}))})}(()=>(0,w.H)(P,d))}},6306:(Fe,q,p)=>{"use strict";p.d(q,{K:()=>A});var e=p(4829),t=p(8251),y=p(9360);function A(l){return(0,y.e)((w,m)=>{let E,P=null,d=!1;P=w.subscribe((0,t.x)(m,void 0,void 0,M=>{E=(0,e.Xf)(l(M,A(l)(w))),P?(P.unsubscribe(),P=null,E.subscribe(m)):d=!0})),d&&(P.unsubscribe(),P=null,E.subscribe(m))})}},6328:(Fe,q,p)=>{"use strict";p.d(q,{b:()=>y});var e=p(1631),t=p(4674);function y(A,l){return(0,t.m)(l)?(0,e.z)(A,l,1):(0,e.z)(A,1)}},3620:(Fe,q,p)=>{"use strict";p.d(q,{b:()=>A});var e=p(6321),t=p(9360),y=p(8251);function A(l,w=e.z){return(0,t.e)((m,P)=>{let d=null,E=null,M=null;const I=()=>{if(d){d.unsubscribe(),d=null;const z=E;E=null,P.next(z)}};function k(){const z=M+l,B=w.now();if(B{E=z,M=w.now(),d||(d=w.schedule(k,l),P.add(d))},()=>{I(),P.complete()},void 0,()=>{E=d=null}))})}},3572:(Fe,q,p)=>{"use strict";p.d(q,{d:()=>y});var e=p(9360),t=p(8251);function y(A){return(0,e.e)((l,w)=>{let m=!1;l.subscribe((0,t.x)(w,P=>{m=!0,w.next(P)},()=>{m||w.next(A),w.complete()}))})}},932:(Fe,q,p)=>{"use strict";p.d(q,{g:()=>E});var e=p(6321),t=p(5211),y=p(8180),A=p(7538),l=p(975),w=p(1631),m=p(4829);function P(M,I){return I?k=>(0,t.z)(I.pipe((0,y.q)(1),(0,A.l)()),k.pipe(P(M))):(0,w.z)((k,z)=>(0,m.Xf)(M(k,z)).pipe((0,y.q)(1),(0,l.h)(k)))}var d=p(9080);function E(M,I=e.z){const k=(0,d.H)(M,I);return P(()=>k)}},3997:(Fe,q,p)=>{"use strict";p.d(q,{x:()=>A});var e=p(2737),t=p(9360),y=p(8251);function A(w,m=e.y){return w=w??l,(0,t.e)((P,d)=>{let E,M=!0;P.subscribe((0,y.x)(d,I=>{const k=m(I);(M||!w(E,k))&&(M=!1,E=k,d.next(I))}))})}function l(w,m){return w===m}},2181:(Fe,q,p)=>{"use strict";p.d(q,{h:()=>y});var e=p(9360),t=p(8251);function y(A,l){return(0,e.e)((w,m)=>{let P=0;w.subscribe((0,t.x)(m,d=>A.call(l,d,P++)&&m.next(d)))})}},4716:(Fe,q,p)=>{"use strict";p.d(q,{x:()=>t});var e=p(9360);function t(y){return(0,e.e)((A,l)=>{try{A.subscribe(l)}finally{l.add(y)}})}},1374:(Fe,q,p)=>{"use strict";p.d(q,{P:()=>m});var e=p(6973),t=p(2181),y=p(8180),A=p(3572),l=p(3026),w=p(2737);function m(P,d){const E=arguments.length>=2;return M=>M.pipe(P?(0,t.h)((I,k)=>P(I,k,M)):w.y,(0,y.q)(1),E?(0,A.d)(d):(0,l.T)(()=>new e.K))}},7538:(Fe,q,p)=>{"use strict";p.d(q,{l:()=>A});var e=p(9360),t=p(8251),y=p(2420);function A(){return(0,e.e)((l,w)=>{l.subscribe((0,t.x)(w,y.Z))})}},7398:(Fe,q,p)=>{"use strict";p.d(q,{U:()=>y});var e=p(9360),t=p(8251);function y(A,l){return(0,e.e)((w,m)=>{let P=0;w.subscribe((0,t.x)(m,d=>{m.next(A.call(l,d,P++))}))})}},975:(Fe,q,p)=>{"use strict";p.d(q,{h:()=>t});var e=p(7398);function t(y){return(0,e.U)(()=>y)}},7537:(Fe,q,p)=>{"use strict";p.d(q,{J:()=>y});var e=p(1631),t=p(2737);function y(A=1/0){return(0,e.z)(t.y,A)}},1631:(Fe,q,p)=>{"use strict";p.d(q,{z:()=>P});var e=p(7398),t=p(4829),y=p(9360),A=p(7103),l=p(8251),m=p(4674);function P(d,E,M=1/0){return(0,m.m)(E)?P((I,k)=>(0,e.U)((z,B)=>E(I,z,k,B))((0,t.Xf)(d(I,k))),M):("number"==typeof E&&(M=E),(0,y.e)((I,k)=>function w(d,E,M,I,k,z,B,W){const j=[];let K=0,X=0,ie=!1;const se=()=>{ie&&!j.length&&!K&&E.complete()},ue=Me=>K{z&&E.next(Me),K++;let J=!1;(0,t.Xf)(M(Me,X++)).subscribe((0,l.x)(E,he=>{k?.(he),z?ue(he):E.next(he)},()=>{J=!0},void 0,()=>{if(J)try{for(K--;j.length&&Kae(he)):ae(he)}se()}catch(he){E.error(he)}}))};return d.subscribe((0,l.x)(E,ue,()=>{ie=!0,se()})),()=>{W?.()}}(I,k,d,M)))}},3093:(Fe,q,p)=>{"use strict";p.d(q,{Q:()=>A});var e=p(7103),t=p(9360),y=p(8251);function A(l,w=0){return(0,t.e)((m,P)=>{m.subscribe((0,y.x)(P,d=>(0,e.f)(P,l,()=>P.next(d),w),()=>(0,e.f)(P,l,()=>P.complete(),w),d=>(0,e.f)(P,l,()=>P.error(d),w)))})}},6196:(Fe,q,p)=>{"use strict";p.d(q,{x:()=>y});var e=p(9360),t=p(8251);function y(){return(0,e.e)((A,l)=>{let w=null;A._refCount++;const m=(0,t.x)(l,void 0,void 0,void 0,()=>{if(!A||A._refCount<=0||0<--A._refCount)return void(w=null);const P=A._connection,d=w;w=null,P&&(!d||P===d)&&P.unsubscribe(),l.unsubscribe()});A.subscribe(m),m.closed||(w=A.connect())})}},6699:(Fe,q,p)=>{"use strict";p.d(q,{R:()=>A});var e=p(9360),t=p(8251);function A(l,w){return(0,e.e)(function y(l,w,m,P,d){return(E,M)=>{let I=m,k=w,z=0;E.subscribe((0,t.x)(M,B=>{const W=z++;k=I?l(k,B,W):(I=!0,B),P&&M.next(k)},d&&(()=>{I&&M.next(k),M.complete()})))}}(l,w,arguments.length>=2,!0))}},3020:(Fe,q,p)=>{"use strict";p.d(q,{B:()=>l});var e=p(4829),t=p(8645),y=p(305),A=p(9360);function l(m={}){const{connector:P=(()=>new t.x),resetOnError:d=!0,resetOnComplete:E=!0,resetOnRefCountZero:M=!0}=m;return I=>{let k,z,B,W=0,j=!1,K=!1;const X=()=>{z?.unsubscribe(),z=void 0},ie=()=>{X(),k=B=void 0,j=K=!1},se=()=>{const ue=k;ie(),ue?.unsubscribe()};return(0,A.e)((ue,ae)=>{W++,!K&&!j&&X();const Me=B=B??P();ae.add(()=>{W--,0===W&&!K&&!j&&(z=w(se,M))}),Me.subscribe(ae),!k&&W>0&&(k=new y.Hp({next:J=>Me.next(J),error:J=>{K=!0,X(),z=w(ie,d,J),Me.error(J)},complete:()=>{j=!0,X(),z=w(ie,E),Me.complete()}}),(0,e.Xf)(ue).subscribe(k))})(I)}}function w(m,P,...d){if(!0===P)return void m();if(!1===P)return;const E=new y.Hp({next:()=>{E.unsubscribe(),m()}});return(0,e.Xf)(P(...d)).subscribe(E)}},836:(Fe,q,p)=>{"use strict";p.d(q,{T:()=>t});var e=p(2181);function t(y){return(0,e.h)((A,l)=>y<=l)}},7921:(Fe,q,p)=>{"use strict";p.d(q,{O:()=>A});var e=p(5211),t=p(9940),y=p(9360);function A(...l){const w=(0,t.yG)(l);return(0,y.e)((m,P)=>{(w?(0,e.z)(l,m,w):(0,e.z)(l,m)).subscribe(P)})}},4664:(Fe,q,p)=>{"use strict";p.d(q,{w:()=>A});var e=p(4829),t=p(9360),y=p(8251);function A(l,w){return(0,t.e)((m,P)=>{let d=null,E=0,M=!1;const I=()=>M&&!d&&P.complete();m.subscribe((0,y.x)(P,k=>{d?.unsubscribe();let z=0;const B=E++;(0,e.Xf)(l(k,B)).subscribe(d=(0,y.x)(P,W=>P.next(w?w(k,W,B,z++):W),()=>{d=null,I()}))},()=>{M=!0,I()}))})}},8180:(Fe,q,p)=>{"use strict";p.d(q,{q:()=>A});var e=p(6232),t=p(9360),y=p(8251);function A(l){return l<=0?()=>e.E:(0,t.e)((w,m)=>{let P=0;w.subscribe((0,y.x)(m,d=>{++P<=l&&(m.next(d),l<=P&&m.complete())}))})}},9773:(Fe,q,p)=>{"use strict";p.d(q,{R:()=>l});var e=p(9360),t=p(8251),y=p(4829),A=p(2420);function l(w){return(0,e.e)((m,P)=>{(0,y.Xf)(w).subscribe((0,t.x)(P,()=>P.complete(),A.Z)),!P.closed&&m.subscribe(P)})}},9397:(Fe,q,p)=>{"use strict";p.d(q,{b:()=>l});var e=p(4674),t=p(9360),y=p(8251),A=p(2737);function l(w,m,P){const d=(0,e.m)(w)||m||P?{next:w,error:m,complete:P}:w;return d?(0,t.e)((E,M)=>{var I;null===(I=d.subscribe)||void 0===I||I.call(d);let k=!0;E.subscribe((0,y.x)(M,z=>{var B;null===(B=d.next)||void 0===B||B.call(d,z),M.next(z)},()=>{var z;k=!1,null===(z=d.complete)||void 0===z||z.call(d),M.complete()},z=>{var B;k=!1,null===(B=d.error)||void 0===B||B.call(d,z),M.error(z)},()=>{var z,B;k&&(null===(z=d.unsubscribe)||void 0===z||z.call(d)),null===(B=d.finalize)||void 0===B||B.call(d)}))}):A.y}},3026:(Fe,q,p)=>{"use strict";p.d(q,{T:()=>A});var e=p(6973),t=p(9360),y=p(8251);function A(w=l){return(0,t.e)((m,P)=>{let d=!1;m.subscribe((0,y.x)(P,E=>{d=!0,P.next(E)},()=>d?P.complete():P.error(w())))})}function l(){return new e.K}},5178:(Fe,q,p)=>{"use strict";p.d(q,{V:()=>d});var e=p(6321),t=p(93),y=p(9360),A=p(4829),l=p(2306),w=p(8251),m=p(7103);const P=(0,l.d)(M=>function(k=null){M(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=k});function d(M,I){const{first:k,each:z,with:B=E,scheduler:W=I??e.z,meta:j=null}=(0,t.q)(M)?{first:M}:"number"==typeof M?{each:M}:M;if(null==k&&null==z)throw new TypeError("No timeout provided.");return(0,y.e)((K,X)=>{let ie,se,ue=null,ae=0;const Me=J=>{se=(0,m.f)(X,W,()=>{try{ie.unsubscribe(),(0,A.Xf)(B({meta:j,lastValue:ue,seen:ae})).subscribe(X)}catch(he){X.error(he)}},J)};ie=K.subscribe((0,w.x)(X,J=>{se?.unsubscribe(),ae++,X.next(ue=J),z>0&&Me(z)},void 0,void 0,()=>{se?.closed||se?.unsubscribe(),ue=null})),!ae&&Me(null!=k?"number"==typeof k?k:+k-W.now():z)})}function E(M){throw new P(M)}},2460:(Fe,q,p)=>{"use strict";p.d(q,{M:()=>m});var e=p(9360),t=p(8251),y=p(4829),A=p(2737),l=p(2420),w=p(9940);function m(...P){const d=(0,w.jO)(P);return(0,e.e)((E,M)=>{const I=P.length,k=new Array(I);let z=P.map(()=>!1),B=!1;for(let W=0;W{k[W]=j,!B&&!z[W]&&(z[W]=!0,(B=z.every(A.y))&&(z=null))},l.Z));E.subscribe((0,t.x)(M,W=>{if(B){const j=[W,...k];M.next(d?d(...j):j)}}))})}},1954:(Fe,q,p)=>{"use strict";p.d(q,{o:()=>l});var e=p(7394);class t extends e.w0{constructor(m,P){super()}schedule(m,P=0){return this}}const y={setInterval(w,m,...P){const{delegate:d}=y;return d?.setInterval?d.setInterval(w,m,...P):setInterval(w,m,...P)},clearInterval(w){const{delegate:m}=y;return(m?.clearInterval||clearInterval)(w)},delegate:void 0};var A=p(9039);class l extends t{constructor(m,P){super(m,P),this.scheduler=m,this.work=P,this.pending=!1}schedule(m,P=0){var d;if(this.closed)return this;this.state=m;const E=this.id,M=this.scheduler;return null!=E&&(this.id=this.recycleAsyncId(M,E,P)),this.pending=!0,this.delay=P,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(M,this.id,P),this}requestAsyncId(m,P,d=0){return y.setInterval(m.flush.bind(m,this),d)}recycleAsyncId(m,P,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return P;null!=P&&y.clearInterval(P)}execute(m,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(m,P);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(m,P){let E,d=!1;try{this.work(m)}catch(M){d=!0,E=M||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),E}unsubscribe(){if(!this.closed){const{id:m,scheduler:P}=this,{actions:d}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,A.P)(d,this),null!=m&&(this.id=this.recycleAsyncId(P,m,null)),this.delay=null,super.unsubscribe()}}}},2631:(Fe,q,p)=>{"use strict";p.d(q,{v:()=>y});var e=p(4552);class t{constructor(l,w=t.now){this.schedulerActionCtor=l,this.now=w}schedule(l,w=0,m){return new this.schedulerActionCtor(this,l).schedule(m,w)}}t.now=e.l.now;class y extends t{constructor(l,w=t.now){super(l,w),this.actions=[],this._active=!1}flush(l){const{actions:w}=this;if(this._active)return void w.push(l);let m;this._active=!0;do{if(m=l.execute(l.state,l.delay))break}while(l=w.shift());if(this._active=!1,m){for(;l=w.shift();)l.unsubscribe();throw m}}}},6410:(Fe,q,p)=>{"use strict";p.d(q,{E:()=>z});var e=p(1954);let y,t=1;const A={};function l(W){return W in A&&(delete A[W],!0)}const w={setImmediate(W){const j=t++;return A[j]=!0,y||(y=Promise.resolve()),y.then(()=>l(j)&&W()),j},clearImmediate(W){l(W)}},{setImmediate:P,clearImmediate:d}=w,E={setImmediate(...W){const{delegate:j}=E;return(j?.setImmediate||P)(...W)},clearImmediate(W){const{delegate:j}=E;return(j?.clearImmediate||d)(W)},delegate:void 0};var I=p(2631);const z=new class k extends I.v{flush(j){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:X}=this;let ie;j=j||X.shift();do{if(ie=j.execute(j.state,j.delay))break}while((j=X[0])&&j.id===K&&X.shift());if(this._active=!1,ie){for(;(j=X[0])&&j.id===K&&X.shift();)j.unsubscribe();throw ie}}}(class M extends e.o{constructor(j,K){super(j,K),this.scheduler=j,this.work=K}requestAsyncId(j,K,X=0){return null!==X&&X>0?super.requestAsyncId(j,K,X):(j.actions.push(this),j._scheduled||(j._scheduled=E.setImmediate(j.flush.bind(j,void 0))))}recycleAsyncId(j,K,X=0){var ie;if(null!=X?X>0:this.delay>0)return super.recycleAsyncId(j,K,X);const{actions:se}=j;null!=K&&(null===(ie=se[se.length-1])||void 0===ie?void 0:ie.id)!==K&&(E.clearImmediate(K),j._scheduled===K&&(j._scheduled=void 0))}})},6321:(Fe,q,p)=>{"use strict";p.d(q,{P:()=>A,z:()=>y});var e=p(1954);const y=new(p(2631).v)(e.o),A=y},4552:(Fe,q,p)=>{"use strict";p.d(q,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},2381:(Fe,q,p)=>{"use strict";p.d(q,{N:()=>l});var e=p(1954),y=p(2631);const l=new class A extends y.v{}(class t extends e.o{constructor(P,d){super(P,d),this.scheduler=P,this.work=d}schedule(P,d=0){return d>0?super.schedule(P,d):(this.delay=d,this.state=P,this.scheduler.flush(this),this)}execute(P,d){return d>0||this.closed?super.execute(P,d):this._execute(P,d)}requestAsyncId(P,d,E=0){return null!=E&&E>0||null==E&&this.delay>0?super.requestAsyncId(P,d,E):(P.flush(this),0)}})},7599:(Fe,q,p)=>{"use strict";p.d(q,{z:()=>e});const e={setTimeout(t,y,...A){const{delegate:l}=e;return l?.setTimeout?l.setTimeout(t,y,...A):setTimeout(t,y,...A)},clearTimeout(t){const{delegate:y}=e;return(y?.clearTimeout||clearTimeout)(t)},delegate:void 0}},4971:(Fe,q,p)=>{"use strict";p.d(q,{h:()=>t});const t=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(Fe,q,p)=>{"use strict";p.d(q,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(Fe,q,p)=>{"use strict";p.d(q,{K:()=>t});const t=(0,p(2306).d)(y=>function(){y(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(Fe,q,p)=>{"use strict";p.d(q,{_6:()=>w,jO:()=>A,yG:()=>l});var e=p(4674),t=p(671);function y(m){return m[m.length-1]}function A(m){return(0,e.m)(y(m))?m.pop():void 0}function l(m){return(0,t.K)(y(m))?m.pop():void 0}function w(m,P){return"number"==typeof y(m)?m.pop():P}},7453:(Fe,q,p)=>{"use strict";p.d(q,{D:()=>l});const{isArray:e}=Array,{getPrototypeOf:t,prototype:y,keys:A}=Object;function l(m){if(1===m.length){const P=m[0];if(e(P))return{args:P,keys:null};if(function w(m){return m&&"object"==typeof m&&t(m)===y}(P)){const d=A(P);return{args:d.map(E=>P[E]),keys:d}}}return{args:m,keys:null}}},9039:(Fe,q,p)=>{"use strict";function e(t,y){if(t){const A=t.indexOf(y);0<=A&&t.splice(A,1)}}p.d(q,{P:()=>e})},2306:(Fe,q,p)=>{"use strict";function e(t){const A=t(l=>{Error.call(l),l.stack=(new Error).stack});return A.prototype=Object.create(Error.prototype),A.prototype.constructor=A,A}p.d(q,{d:()=>e})},2714:(Fe,q,p)=>{"use strict";function e(t,y){return t.reduce((A,l,w)=>(A[l]=y[w],A),{})}p.d(q,{n:()=>e})},1441:(Fe,q,p)=>{"use strict";p.d(q,{O:()=>A,x:()=>y});var e=p(2653);let t=null;function y(l){if(e.config.useDeprecatedSynchronousErrorHandling){const w=!t;if(w&&(t={errorThrown:!1,error:null}),l(),w){const{errorThrown:m,error:P}=t;if(t=null,m)throw P}}else l()}function A(l){e.config.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=l)}},7103:(Fe,q,p)=>{"use strict";function e(t,y,A,l=0,w=!1){const m=y.schedule(function(){A(),w?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(m),!w)return m}p.d(q,{f:()=>e})},2737:(Fe,q,p)=>{"use strict";function e(t){return t}p.d(q,{y:()=>e})},4266:(Fe,q,p)=>{"use strict";p.d(q,{z:()=>e});const e=t=>t&&"number"==typeof t.length&&"function"!=typeof t},5726:(Fe,q,p)=>{"use strict";p.d(q,{D:()=>t});var e=p(4674);function t(y){return Symbol.asyncIterator&&(0,e.m)(y?.[Symbol.asyncIterator])}},93:(Fe,q,p)=>{"use strict";function e(t){return t instanceof Date&&!isNaN(t)}p.d(q,{q:()=>e})},4674:(Fe,q,p)=>{"use strict";function e(t){return"function"==typeof t}p.d(q,{m:()=>e})},8382:(Fe,q,p)=>{"use strict";p.d(q,{c:()=>y});var e=p(4850),t=p(4674);function y(A){return(0,t.m)(A[e.L])}},3664:(Fe,q,p)=>{"use strict";p.d(q,{T:()=>y});var e=p(4971),t=p(4674);function y(A){return(0,t.m)(A?.[e.h])}},2664:(Fe,q,p)=>{"use strict";p.d(q,{b:()=>y});var e=p(5592),t=p(4674);function y(A){return!!A&&(A instanceof e.y||(0,t.m)(A.lift)&&(0,t.m)(A.subscribe))}},4026:(Fe,q,p)=>{"use strict";p.d(q,{t:()=>t});var e=p(4674);function t(y){return(0,e.m)(y?.then)}},541:(Fe,q,p)=>{"use strict";p.d(q,{L:()=>A,Q:()=>y});var e=p(7582),t=p(4674);function y(l){return(0,e.FC)(this,arguments,function*(){const m=l.getReader();try{for(;;){const{value:P,done:d}=yield(0,e.qq)(m.read());if(d)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(P)}}finally{m.releaseLock()}})}function A(l){return(0,t.m)(l?.getReader)}},671:(Fe,q,p)=>{"use strict";p.d(q,{K:()=>t});var e=p(4674);function t(y){return y&&(0,e.m)(y.schedule)}},9360:(Fe,q,p)=>{"use strict";p.d(q,{A:()=>t,e:()=>y});var e=p(4674);function t(A){return(0,e.m)(A?.lift)}function y(A){return l=>{if(t(l))return l.lift(function(w){try{return A(w,this)}catch(m){this.error(m)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(Fe,q,p)=>{"use strict";p.d(q,{Z:()=>A});var e=p(7398);const{isArray:t}=Array;function A(l){return(0,e.U)(w=>function y(l,w){return t(w)?l(...w):l(w)}(l,w))}},2420:(Fe,q,p)=>{"use strict";function e(){}p.d(q,{Z:()=>e})},8407:(Fe,q,p)=>{"use strict";p.d(q,{U:()=>y,z:()=>t});var e=p(2737);function t(...A){return y(A)}function y(A){return 0===A.length?e.y:1===A.length?A[0]:function(w){return A.reduce((m,P)=>P(m),w)}}},3894:(Fe,q,p)=>{"use strict";p.d(q,{h:()=>y});var e=p(2653),t=p(7599);function y(A){t.z.setTimeout(()=>{const{onUnhandledError:l}=e.config;if(!l)throw A;l(A)})}},9853:(Fe,q,p)=>{"use strict";function e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(q,{z:()=>e})},843:(Fe,q,p)=>{var e=p(9007),t=e.Buffer;function y(l,w){for(var m in l)w[m]=l[m]}function A(l,w,m){return t(l,w,m)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Fe.exports=e:(y(e,q),q.Buffer=A),A.prototype=Object.create(t.prototype),y(t,A),A.from=function(l,w,m){if("number"==typeof l)throw new TypeError("Argument must not be a number");return t(l,w,m)},A.alloc=function(l,w,m){if("number"!=typeof l)throw new TypeError("Argument must be a number");var P=t(l);return void 0!==w?"string"==typeof m?P.fill(w,m):P.fill(w):P.fill(0),P},A.allocUnsafe=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return t(l)},A.allocUnsafeSlow=function(l){if("number"!=typeof l)throw new TypeError("Argument must be a number");return e.SlowBuffer(l)}},4179:(Fe,q,p)=>{"use strict";var A,e=p(9007),t=e.Buffer,y={};for(A in e)e.hasOwnProperty(A)&&("SlowBuffer"===A||"Buffer"===A||(y[A]=e[A]));var l=y.Buffer={};for(A in t)t.hasOwnProperty(A)&&("allocUnsafe"===A||"allocUnsafeSlow"===A||(l[A]=t[A]));if(y.Buffer.prototype=t.prototype,(!l.from||l.from===Uint8Array.from)&&(l.from=function(w,m,P){if("number"==typeof w)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof w);if(w&&typeof w.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);return t(w,m,P)}),l.alloc||(l.alloc=function(w,m,P){if("number"!=typeof w)throw new TypeError('The "size" argument must be of type number. Received type '+typeof w);if(w<0||w>=2*(1<<30))throw new RangeError('The value "'+w+'" is invalid for option "size"');var d=t(w);return m&&0!==m.length?"string"==typeof P?d.fill(m,P):d.fill(m):d.fill(0),d}),!y.kStringMaxLength)try{y.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}y.constants||(y.constants={MAX_LENGTH:y.kMaxLength},y.kStringMaxLength&&(y.constants.MAX_STRING_LENGTH=y.kStringMaxLength)),Fe.exports=y},3581:(Fe,q,p)=>{var e=p(843).Buffer;function t(y,A){this._block=e.alloc(y),this._finalSize=A,this._blockSize=y,this._len=0}t.prototype.update=function(y,A){"string"==typeof y&&(y=e.from(y,A=A||"utf8"));for(var l=this._block,w=this._blockSize,m=y.length,P=this._len,d=0;d=this._finalSize&&(this._update(this._block),this._block.fill(0));var l=8*this._len;if(l<=4294967295)this._block.writeUInt32BE(l,this._blockSize-4);else{var w=(4294967295&l)>>>0;this._block.writeUInt32BE((l-w)/4294967296,this._blockSize-8),this._block.writeUInt32BE(w,this._blockSize-4)}this._update(this._block);var P=this._hash();return y?P.toString(y):P},t.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Fe.exports=t},7965:(Fe,q,p)=>{var e=Fe.exports=function(y){y=y.toLowerCase();var A=e[y];if(!A)throw new Error(y+" is not supported (we accept pull requests)");return new A};e.sha=p(7915),e.sha1=p(1229),e.sha224=p(2959),e.sha256=p(450),e.sha384=p(1723),e.sha512=p(7914)},7915:(Fe,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function w(){this.init(),this._w=l,t.call(this,64,56)}function m(E){return E<<5|E>>>27}function P(E){return E<<30|E>>>2}function d(E,M,I,k){return 0===E?M&I|~M&k:2===E?M&I|M&k|I&k:M^I^k}e(w,t),w.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},w.prototype._update=function(E){for(var M=this._w,I=0|this._a,k=0|this._b,z=0|this._c,B=0|this._d,W=0|this._e,j=0;j<16;++j)M[j]=E.readInt32BE(4*j);for(;j<80;++j)M[j]=M[j-3]^M[j-8]^M[j-14]^M[j-16];for(var K=0;K<80;++K){var X=~~(K/20),ie=m(I)+d(X,k,z,B)+W+M[K]+A[X]|0;W=B,B=z,z=P(k),k=I,I=ie}this._a=I+this._a|0,this._b=k+this._b|0,this._c=z+this._c|0,this._d=B+this._d|0,this._e=W+this._e|0},w.prototype._hash=function(){var E=y.allocUnsafe(20);return E.writeInt32BE(0|this._a,0),E.writeInt32BE(0|this._b,4),E.writeInt32BE(0|this._c,8),E.writeInt32BE(0|this._d,12),E.writeInt32BE(0|this._e,16),E},Fe.exports=w},1229:(Fe,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],l=new Array(80);function w(){this.init(),this._w=l,t.call(this,64,56)}function m(M){return M<<1|M>>>31}function P(M){return M<<5|M>>>27}function d(M){return M<<30|M>>>2}function E(M,I,k,z){return 0===M?I&k|~I&z:2===M?I&k|I&z|k&z:I^k^z}e(w,t),w.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},w.prototype._update=function(M){for(var I=this._w,k=0|this._a,z=0|this._b,B=0|this._c,W=0|this._d,j=0|this._e,K=0;K<16;++K)I[K]=M.readInt32BE(4*K);for(;K<80;++K)I[K]=m(I[K-3]^I[K-8]^I[K-14]^I[K-16]);for(var X=0;X<80;++X){var ie=~~(X/20),se=P(k)+E(ie,z,B,W)+j+I[X]+A[ie]|0;j=W,W=B,B=d(z),z=k,k=se}this._a=k+this._a|0,this._b=z+this._b|0,this._c=B+this._c|0,this._d=W+this._d|0,this._e=j+this._e|0},w.prototype._hash=function(){var M=y.allocUnsafe(20);return M.writeInt32BE(0|this._a,0),M.writeInt32BE(0|this._b,4),M.writeInt32BE(0|this._c,8),M.writeInt32BE(0|this._d,12),M.writeInt32BE(0|this._e,16),M},Fe.exports=w},2959:(Fe,q,p)=>{var e=p(6698),t=p(450),y=p(3581),A=p(843).Buffer,l=new Array(64);function w(){this.init(),this._w=l,y.call(this,64,56)}e(w,t),w.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},w.prototype._hash=function(){var m=A.allocUnsafe(28);return m.writeInt32BE(this._a,0),m.writeInt32BE(this._b,4),m.writeInt32BE(this._c,8),m.writeInt32BE(this._d,12),m.writeInt32BE(this._e,16),m.writeInt32BE(this._f,20),m.writeInt32BE(this._g,24),m},Fe.exports=w},450:(Fe,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=new Array(64);function w(){this.init(),this._w=l,t.call(this,64,56)}function m(k,z,B){return B^k&(z^B)}function P(k,z,B){return k&z|B&(k|z)}function d(k){return(k>>>2|k<<30)^(k>>>13|k<<19)^(k>>>22|k<<10)}function E(k){return(k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7)}function M(k){return(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3}function I(k){return(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>10}e(w,t),w.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},w.prototype._update=function(k){for(var z=this._w,B=0|this._a,W=0|this._b,j=0|this._c,K=0|this._d,X=0|this._e,ie=0|this._f,se=0|this._g,ue=0|this._h,ae=0;ae<16;++ae)z[ae]=k.readInt32BE(4*ae);for(;ae<64;++ae)z[ae]=I(z[ae-2])+z[ae-7]+M(z[ae-15])+z[ae-16]|0;for(var Me=0;Me<64;++Me){var J=ue+E(X)+m(X,ie,se)+A[Me]+z[Me]|0,he=d(B)+P(B,W,j)|0;ue=se,se=ie,ie=X,X=K+J|0,K=j,j=W,W=B,B=J+he|0}this._a=B+this._a|0,this._b=W+this._b|0,this._c=j+this._c|0,this._d=K+this._d|0,this._e=X+this._e|0,this._f=ie+this._f|0,this._g=se+this._g|0,this._h=ue+this._h|0},w.prototype._hash=function(){var k=y.allocUnsafe(32);return k.writeInt32BE(this._a,0),k.writeInt32BE(this._b,4),k.writeInt32BE(this._c,8),k.writeInt32BE(this._d,12),k.writeInt32BE(this._e,16),k.writeInt32BE(this._f,20),k.writeInt32BE(this._g,24),k.writeInt32BE(this._h,28),k},Fe.exports=w},1723:(Fe,q,p)=>{var e=p(6698),t=p(7914),y=p(3581),A=p(843).Buffer,l=new Array(160);function w(){this.init(),this._w=l,y.call(this,128,112)}e(w,t),w.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},w.prototype._hash=function(){var m=A.allocUnsafe(48);function P(d,E,M){m.writeInt32BE(d,M),m.writeInt32BE(E,M+4)}return P(this._ah,this._al,0),P(this._bh,this._bl,8),P(this._ch,this._cl,16),P(this._dh,this._dl,24),P(this._eh,this._el,32),P(this._fh,this._fl,40),m},Fe.exports=w},7914:(Fe,q,p)=>{var e=p(6698),t=p(3581),y=p(843).Buffer,A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=new Array(160);function w(){this.init(),this._w=l,t.call(this,128,112)}function m(W,j,K){return K^W&(j^K)}function P(W,j,K){return W&j|K&(W|j)}function d(W,j){return(W>>>28|j<<4)^(j>>>2|W<<30)^(j>>>7|W<<25)}function E(W,j){return(W>>>14|j<<18)^(W>>>18|j<<14)^(j>>>9|W<<23)}function M(W,j){return(W>>>1|j<<31)^(W>>>8|j<<24)^W>>>7}function I(W,j){return(W>>>1|j<<31)^(W>>>8|j<<24)^(W>>>7|j<<25)}function k(W,j){return(W>>>19|j<<13)^(j>>>29|W<<3)^W>>>6}function z(W,j){return(W>>>19|j<<13)^(j>>>29|W<<3)^(W>>>6|j<<26)}function B(W,j){return W>>>0>>0?1:0}e(w,t),w.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},w.prototype._update=function(W){for(var j=this._w,K=0|this._ah,X=0|this._bh,ie=0|this._ch,se=0|this._dh,ue=0|this._eh,ae=0|this._fh,Me=0|this._gh,J=0|this._hh,he=0|this._al,S=0|this._bl,n=0|this._cl,s=0|this._dl,f=0|this._el,h=0|this._fl,C=0|this._gl,D=0|this._hl,O=0;O<32;O+=2)j[O]=W.readInt32BE(4*O),j[O+1]=W.readInt32BE(4*O+4);for(;O<160;O+=2){var v=j[O-30],r=j[O-30+1],g=M(v,r),H=I(r,v),R=k(v=j[O-4],r=j[O-4+1]),ee=z(r,v),Ke=j[O-32],Je=j[O-32+1],ye=H+j[O-14+1]|0,fe=g+j[O-14]+B(ye,H)|0;fe=(fe=fe+R+B(ye=ye+ee|0,ee)|0)+Ke+B(ye=ye+Je|0,Je)|0,j[O]=fe,j[O+1]=ye}for(var de=0;de<160;de+=2){fe=j[de],ye=j[de+1];var xe=P(K,X,ie),le=P(he,S,n),pe=d(K,he),qe=d(he,K),re=E(ue,f),ve=E(f,ue),ce=A[de],Ze=A[de+1],We=m(ue,ae,Me),Ct=m(f,h,C),ut=D+ve|0,It=J+re+B(ut,D)|0;It=(It=(It=It+We+B(ut=ut+Ct|0,Ct)|0)+ce+B(ut=ut+Ze|0,Ze)|0)+fe+B(ut=ut+ye|0,ye)|0;var Ae=qe+le|0,Be=pe+xe+B(Ae,qe)|0;J=Me,D=C,Me=ae,C=h,ae=ue,h=f,ue=se+It+B(f=s+ut|0,s)|0,se=ie,s=n,ie=X,n=S,X=K,S=he,K=It+Be+B(he=ut+Ae|0,ut)|0}this._al=this._al+he|0,this._bl=this._bl+S|0,this._cl=this._cl+n|0,this._dl=this._dl+s|0,this._el=this._el+f|0,this._fl=this._fl+h|0,this._gl=this._gl+C|0,this._hl=this._hl+D|0,this._ah=this._ah+K+B(this._al,he)|0,this._bh=this._bh+X+B(this._bl,S)|0,this._ch=this._ch+ie+B(this._cl,n)|0,this._dh=this._dh+se+B(this._dl,s)|0,this._eh=this._eh+ue+B(this._el,f)|0,this._fh=this._fh+ae+B(this._fl,h)|0,this._gh=this._gh+Me+B(this._gl,C)|0,this._hh=this._hh+J+B(this._hl,D)|0},w.prototype._hash=function(){var W=y.allocUnsafe(64);function j(K,X,ie){W.writeInt32BE(K,ie),W.writeInt32BE(X,ie+4)}return j(this._ah,this._al,0),j(this._bh,this._bl,8),j(this._ch,this._cl,16),j(this._dh,this._dl,24),j(this._eh,this._el,32),j(this._fh,this._fl,40),j(this._gh,this._gl,48),j(this._hh,this._hl,56),W},Fe.exports=w},8927:function(Fe,q,p){!function(e){"use strict";var t={};Fe.exports?(t.bytesToHex=p(188).bytesToHex,t.convertString=p(5486),Fe.exports=P):(t.bytesToHex=e.convertHex.bytesToHex,t.convertString=e.convertString,e.sha256=P);var y=[];!function(){function d(k){for(var z=Math.sqrt(k),B=2;B<=z;B++)if(!(k%B))return!1;return!0}for(var M=2,I=0;I<64;)d(M)&&(y[I]=4294967296*((k=Math.pow(M,1/3))-(0|k))|0,I++),M++;var k}();var A=function(d){for(var E=[],M=0,I=0;M>>5]|=d[M]<<24-I%32;return E},l=function(d){for(var E=[],M=0;M<32*d.length;M+=8)E.push(d[M>>>5]>>>24-M%32&255);return E},w=[],m=function(d,E,M){for(var I=d[0],k=d[1],z=d[2],B=d[3],W=d[4],j=d[5],K=d[6],X=d[7],ie=0;ie<64;ie++){if(ie<16)w[ie]=0|E[M+ie];else{var se=w[ie-15],ae=w[ie-2];w[ie]=((se<<25|se>>>7)^(se<<14|se>>>18)^se>>>3)+w[ie-7]+((ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10)+w[ie-16]}var he=I&k^I&z^k&z,s=X+((W<<26|W>>>6)^(W<<21|W>>>11)^(W<<7|W>>>25))+(W&j^~W&K)+y[ie]+w[ie];X=K,K=j,j=W,W=B+s|0,B=z,z=k,k=I,I=s+(((I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22))+he)|0}d[0]=d[0]+I|0,d[1]=d[1]+k|0,d[2]=d[2]+z|0,d[3]=d[3]+B|0,d[4]=d[4]+W|0,d[5]=d[5]+j|0,d[6]=d[6]+K|0,d[7]=d[7]+X|0};function P(d,E){d.constructor===String&&(d=t.convertString.UTF8.stringToBytes(d));var M=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],I=A(d),k=8*d.length;I[k>>5]|=128<<24-k%32,I[15+(k+64>>9<<4)]=k;for(var z=0;z{Fe.exports=y;var e=p(2016).EventEmitter;function y(){e.call(this)}p(6698)(y,e),y.Readable=p(309),y.Writable=p(6563),y.Duplex=p(247),y.Transform=p(6307),y.PassThrough=p(5096),y.finished=p(4618),y.pipeline=p(4514),y.Stream=y,y.prototype.pipe=function(A,l){var w=this;function m(z){A.writable&&!1===A.write(z)&&w.pause&&w.pause()}function P(){w.readable&&w.resume&&w.resume()}w.on("data",m),A.on("drain",P),!A._isStdio&&(!l||!1!==l.end)&&(w.on("end",E),w.on("close",M));var d=!1;function E(){d||(d=!0,A.end())}function M(){d||(d=!0,"function"==typeof A.destroy&&A.destroy())}function I(z){if(k(),0===e.listenerCount(this,"error"))throw z}function k(){w.removeListener("data",m),A.removeListener("drain",P),w.removeListener("end",E),w.removeListener("close",M),w.removeListener("error",I),A.removeListener("error",I),w.removeListener("end",k),w.removeListener("close",k),A.removeListener("close",k)}return w.on("error",I),A.on("error",I),w.on("end",k),w.on("close",k),A.on("close",k),A.emit("pipe",w),A}},2024:(Fe,q,p)=>{"use strict";var e=p(843).Buffer,t=e.isEncoding||function(K){switch((K=""+K)&&K.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function l(K){var X;switch(this.encoding=function A(K){var X=function y(K){if(!K)return"utf8";for(var X;;)switch(K){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return K;default:if(X)return;K=(""+K).toLowerCase(),X=!0}}(K);if("string"!=typeof X&&(e.isEncoding===t||!t(K)))throw new Error("Unknown encoding: "+K);return X||K}(K),this.encoding){case"utf16le":this.text=I,this.end=k,X=4;break;case"utf8":this.fillLast=d,X=4;break;case"base64":this.text=z,this.end=B,X=3;break;default:return this.write=W,void(this.end=j)}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(X)}function w(K){return K<=127?0:K>>5==6?2:K>>4==14?3:K>>3==30?4:K>>6==2?-1:-2}function d(K){var X=this.lastTotal-this.lastNeed,ie=function P(K,X,ie){if(128!=(192&X[0]))return K.lastNeed=0,"\ufffd";if(K.lastNeed>1&&X.length>1){if(128!=(192&X[1]))return K.lastNeed=1,"\ufffd";if(K.lastNeed>2&&X.length>2&&128!=(192&X[2]))return K.lastNeed=2,"\ufffd"}}(this,K);return void 0!==ie?ie:this.lastNeed<=K.length?(K.copy(this.lastChar,X,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(K.copy(this.lastChar,X,0,K.length),void(this.lastNeed-=K.length))}function I(K,X){if((K.length-X)%2==0){var ie=K.toString("utf16le",X);if(ie){var se=ie.charCodeAt(ie.length-1);if(se>=55296&&se<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1],ie.slice(0,-1)}return ie}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=K[K.length-1],K.toString("utf16le",X,K.length-1)}function k(K){var X=K&&K.length?this.write(K):"";return this.lastNeed?X+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):X}function z(K,X){var ie=(K.length-X)%3;return 0===ie?K.toString("base64",X):(this.lastNeed=3-ie,this.lastTotal=3,1===ie?this.lastChar[0]=K[K.length-1]:(this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1]),K.toString("base64",X,K.length-ie))}function B(K){var X=K&&K.length?this.write(K):"";return this.lastNeed?X+this.lastChar.toString("base64",0,3-this.lastNeed):X}function W(K){return K.toString(this.encoding)}function j(K){return K&&K.length?this.write(K):""}q.s=l,l.prototype.write=function(K){if(0===K.length)return"";var X,ie;if(this.lastNeed){if(void 0===(X=this.fillLast(K)))return"";ie=this.lastNeed,this.lastNeed=0}else ie=0;return ie=0?(ue>0&&(K.lastNeed=ue-1),ue):--se=0?(ue>0&&(K.lastNeed=ue-2),ue):--se=0?(ue>0&&(2===ue?ue=0:K.lastNeed=ue-3),ue):0}(this,K,X);if(!this.lastNeed)return K.toString("utf8",X);this.lastTotal=ie;var se=K.length-(ie-this.lastNeed);return K.copy(this.lastChar,0,se),K.toString("utf8",X,se)},l.prototype.fillLast=function(K){if(this.lastNeed<=K.length)return K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,K.length),this.lastNeed-=K.length}},5852:(Fe,q,p)=>{var e=p(1156);q.encode=e.encode,q.decode=e.decode},1156:(Fe,q)=>{"use strict";var e=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];q.encode=function(y){Buffer.isBuffer(y)||(y=new Buffer(y));for(var A=0,l=0,w=0,m=0,P=new Buffer(8*function t(y){var A=Math.floor(y.length/5);return y.length%5==0?A:A+1}(y));A3?(m=(m=d&255>>w)<<(w=(w+5)%8)|(A+1>8-w,A++):(m=d>>8-(w+5)&31,0==(w=(w+5)%8)&&A++),P[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(m),l++}for(A=l;A>>(A=(A+5)%8),m++,w=255&l<<8-A)}return P.slice(0,m)}},496:Fe=>{function p(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}Fe.exports=function q(e,t){if(p("noDeprecation"))return e;var y=!1;return function A(){if(!y){if(p("throwDeprecation"))throw new Error(t);p("traceDeprecation")?console.trace(t):console.warn(t),y=!0}return e.apply(this,arguments)}}},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},6825:(Fe,q,p)=>{"use strict";p.d(q,{F4:()=>P,IO:()=>k,SB:()=>m,X$:()=>t,ZE:()=>Me,ZN:()=>ae,eR:()=>d,jt:()=>y,k1:()=>J,l3:()=>e,oB:()=>w,pV:()=>M,ru:()=>A,vP:()=>l});const e="*";function t(he,S){return{type:7,name:he,definitions:S,options:{}}}function y(he,S=null){return{type:4,styles:S,timings:he}}function A(he,S=null){return{type:3,steps:he,options:S}}function l(he,S=null){return{type:2,steps:he,options:S}}function w(he){return{type:6,styles:he,offset:null}}function m(he,S,n){return{type:0,name:he,styles:S,options:n}}function P(he){return{type:5,steps:he}}function d(he,S,n=null){return{type:1,expr:he,animation:S,options:n}}function M(he=null){return{type:9,options:he}}function k(he,S,n=null){return{type:11,selector:he,animation:S,options:n}}class ae{constructor(S=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=S+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}onStart(S){this._originalOnStartFns.push(S),this._onStartFns.push(S)}onDone(S){this._originalOnDoneFns.push(S),this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(S=>S()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(S=>S()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(S){this._position=this.totalTime?S*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(S){const n="start"==S?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}class Me{constructor(S){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=S;let n=0,s=0,f=0;const h=this.players.length;0==h?queueMicrotask(()=>this._onFinish()):this.players.forEach(C=>{C.onDone(()=>{++n==h&&this._onFinish()}),C.onDestroy(()=>{++s==h&&this._onDestroy()}),C.onStart(()=>{++f==h&&this._onStart()})}),this.totalTime=this.players.reduce((C,D)=>Math.max(C,D.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(S=>S()),this._onDoneFns=[])}init(){this.players.forEach(S=>S.init())}onStart(S){this._onStartFns.push(S)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(S=>S()),this._onStartFns=[])}onDone(S){this._onDoneFns.push(S)}onDestroy(S){this._onDestroyFns.push(S)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(S=>S.play())}pause(){this.players.forEach(S=>S.pause())}restart(){this.players.forEach(S=>S.restart())}finish(){this._onFinish(),this.players.forEach(S=>S.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(S=>S.destroy()),this._onDestroyFns.forEach(S=>S()),this._onDestroyFns=[])}reset(){this.players.forEach(S=>S.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(S){const n=S*this.totalTime;this.players.forEach(s=>{const f=s.totalTime?Math.min(1,n/s.totalTime):1;s.setPosition(f)})}getPosition(){const S=this.players.reduce((n,s)=>null===n||s.totalTime>n.totalTime?s:n,null);return null!=S?S.getPosition():0}beforeDestroy(){this.players.forEach(S=>{S.beforeDestroy&&S.beforeDestroy()})}triggerCallback(S){const n="start"==S?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}const J="!"},4300:(Fe,q,p)=>{"use strict";p.d(q,{$s:()=>n,Em:()=>D,Kd:()=>St,X6:()=>We,Zf:()=>se,iD:()=>ue,ic:()=>v,kH:()=>Ye,mK:()=>pe,qV:()=>le,qm:()=>Ot,rt:()=>yt,s1:()=>C,tE:()=>Bt,yG:()=>Ct});var e=p(6814),t=p(9212),y=p(2831),A=p(8645),l=p(7394),w=p(5619),m=p(2096),P=p(6028),d=p(9397),E=p(3620),M=p(2181),I=p(7398),k=p(8180),z=p(836),B=p(3997),W=p(9773),j=p(7131),K=p(2495),X=p(1088);const ie=" ";function se(at,Ee,nt){const Ge=ae(at,Ee);Ge.some(Xe=>Xe.trim()==nt.trim())||(Ge.push(nt.trim()),at.setAttribute(Ee,Ge.join(ie)))}function ue(at,Ee,nt){const Xe=ae(at,Ee).filter(gt=>gt!=nt.trim());Xe.length?at.setAttribute(Ee,Xe.join(ie)):at.removeAttribute(Ee)}function ae(at,Ee){return(at.getAttribute(Ee)||"").match(/\S+/g)||[]}const J="cdk-describedby-message",he="cdk-describedby-host";let S=0,n=(()=>{class at{constructor(nt,Ge){this._platform=Ge,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+S++,this._document=nt,this._id=(0,t.f3M)(t.AFp)+"-"+S++}describe(nt,Ge,Xe){if(!this._canBeDescribed(nt,Ge))return;const gt=s(Ge,Xe);"string"!=typeof Ge?(f(Ge,this._id),this._messageRegistry.set(gt,{messageElement:Ge,referenceCount:0})):this._messageRegistry.has(gt)||this._createMessageElement(Ge,Xe),this._isElementDescribedByMessage(nt,gt)||this._addMessageReference(nt,gt)}removeDescription(nt,Ge,Xe){if(!Ge||!this._isElementNode(nt))return;const gt=s(Ge,Xe);if(this._isElementDescribedByMessage(nt,gt)&&this._removeMessageReference(nt,gt),"string"==typeof Ge){const Le=this._messageRegistry.get(gt);Le&&0===Le.referenceCount&&this._deleteMessageElement(gt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const nt=this._document.querySelectorAll(`[${he}="${this._id}"]`);for(let Ge=0;Ge0!=Xe.indexOf(J));nt.setAttribute("aria-describedby",Ge.join(" "))}_addMessageReference(nt,Ge){const Xe=this._messageRegistry.get(Ge);se(nt,"aria-describedby",Xe.messageElement.id),nt.setAttribute(he,this._id),Xe.referenceCount++}_removeMessageReference(nt,Ge){const Xe=this._messageRegistry.get(Ge);Xe.referenceCount--,ue(nt,"aria-describedby",Xe.messageElement.id),nt.removeAttribute(he)}_isElementDescribedByMessage(nt,Ge){const Xe=ae(nt,"aria-describedby"),gt=this._messageRegistry.get(Ge),Le=gt&>.messageElement.id;return!!Le&&-1!=Xe.indexOf(Le)}_canBeDescribed(nt,Ge){if(!this._isElementNode(nt))return!1;if(Ge&&"object"==typeof Ge)return!0;const Xe=null==Ge?"":`${Ge}`.trim(),gt=nt.getAttribute("aria-label");return!(!Xe||gt&>.trim()===Xe)}_isElementNode(nt){return nt.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.LFG(e.K0),t.LFG(y.t4))};static#t=this.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();function s(at,Ee){return"string"==typeof at?`${Ee||""}/${at}`:at}function f(at,Ee){at.id||(at.id=`${J}-${Ee}-${S++}`)}class h{constructor(Ee){this._items=Ee,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.x,this._typeaheadSubscription=l.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=nt=>nt.disabled,this._pressedLetters=[],this.tabOut=new A.x,this.change=new A.x,Ee instanceof t.n_E&&(this._itemChangesSubscription=Ee.changes.subscribe(nt=>{if(this._activeItem){const Xe=nt.toArray().indexOf(this._activeItem);Xe>-1&&Xe!==this._activeItemIndex&&(this._activeItemIndex=Xe)}}))}skipPredicate(Ee){return this._skipPredicateFn=Ee,this}withWrap(Ee=!0){return this._wrap=Ee,this}withVerticalOrientation(Ee=!0){return this._vertical=Ee,this}withHorizontalOrientation(Ee){return this._horizontal=Ee,this}withAllowedModifierKeys(Ee){return this._allowedModifierKeys=Ee,this}withTypeAhead(Ee=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(nt=>this._pressedLetters.push(nt)),(0,E.b)(Ee),(0,M.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(nt=>{const Ge=this._getItemsArray();for(let Xe=1;Xe!Ee[gt]||this._allowedModifierKeys.indexOf(gt)>-1);switch(nt){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&Xe){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&Xe){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&Xe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&Xe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&Xe){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&Xe){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&Xe){const gt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(gt>0?gt:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&Xe){const gt=this._activeItemIndex+this._pageUpAndDown.delta,Le=this._getItemsArray().length;this._setActiveItemByIndex(gt=P.A&&nt<=P.Z||nt>=P.xE&&nt<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(nt))))}this._pressedLetters=[],Ee.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Ee){const nt=this._getItemsArray(),Ge="number"==typeof Ee?Ee:nt.indexOf(Ee);this._activeItem=nt[Ge]??null,this._activeItemIndex=Ge}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Ee){this._wrap?this._setActiveInWrapMode(Ee):this._setActiveInDefaultMode(Ee)}_setActiveInWrapMode(Ee){const nt=this._getItemsArray();for(let Ge=1;Ge<=nt.length;Ge++){const Xe=(this._activeItemIndex+Ee*Ge+nt.length)%nt.length;if(!this._skipPredicateFn(nt[Xe]))return void this.setActiveItem(Xe)}}_setActiveInDefaultMode(Ee){this._setActiveItemByIndex(this._activeItemIndex+Ee,Ee)}_setActiveItemByIndex(Ee,nt){const Ge=this._getItemsArray();if(Ge[Ee]){for(;this._skipPredicateFn(Ge[Ee]);)if(!Ge[Ee+=nt])return;this.setActiveItem(Ee)}}_getItemsArray(){return this._items instanceof t.n_E?this._items.toArray():this._items}}class C extends h{setActiveItem(Ee){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Ee),this.activeItem&&this.activeItem.setActiveStyles()}}class D extends h{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ee){return this._origin=Ee,this}setActiveItem(Ee){super.setActiveItem(Ee),this.activeItem&&this.activeItem.focus(this._origin)}}let v=(()=>{class at{constructor(nt){this._platform=nt}isDisabled(nt){return nt.hasAttribute("disabled")}isVisible(nt){return function g(at){return!!(at.offsetWidth||at.offsetHeight||"function"==typeof at.getClientRects&&at.getClientRects().length)}(nt)&&"visible"===getComputedStyle(nt).visibility}isTabbable(nt){if(!this._platform.isBrowser)return!1;const Ge=function r(at){try{return at.frameElement}catch{return null}}(function de(at){return at.ownerDocument&&at.ownerDocument.defaultView||window}(nt));if(Ge&&(-1===Je(Ge)||!this.isVisible(Ge)))return!1;let Xe=nt.nodeName.toLowerCase(),gt=Je(nt);return nt.hasAttribute("contenteditable")?-1!==gt:!("iframe"===Xe||"object"===Xe||this._platform.WEBKIT&&this._platform.IOS&&!function ye(at){let Ee=at.nodeName.toLowerCase(),nt="input"===Ee&&at.type;return"text"===nt||"password"===nt||"select"===Ee||"textarea"===Ee}(nt))&&("audio"===Xe?!!nt.hasAttribute("controls")&&-1!==gt:"video"===Xe?-1!==gt&&(null!==gt||this._platform.FIREFOX||nt.hasAttribute("controls")):nt.tabIndex>=0)}isFocusable(nt,Ge){return function fe(at){return!function R(at){return function De(at){return"input"==at.nodeName.toLowerCase()}(at)&&"hidden"==at.type}(at)&&(function H(at){let Ee=at.nodeName.toLowerCase();return"input"===Ee||"select"===Ee||"button"===Ee||"textarea"===Ee}(at)||function ee(at){return function ct(at){return"a"==at.nodeName.toLowerCase()}(at)&&at.hasAttribute("href")}(at)||at.hasAttribute("contenteditable")||Ke(at))}(nt)&&!this.isDisabled(nt)&&(Ge?.ignoreVisibility||this.isVisible(nt))}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.LFG(y.t4))};static#t=this.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();function Ke(at){if(!at.hasAttribute("tabindex")||void 0===at.tabIndex)return!1;let Ee=at.getAttribute("tabindex");return!(!Ee||isNaN(parseInt(Ee,10)))}function Je(at){if(!Ke(at))return null;const Ee=parseInt(at.getAttribute("tabindex")||"",10);return isNaN(Ee)?-1:Ee}class xe{get enabled(){return this._enabled}set enabled(Ee){this._enabled=Ee,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ee,this._startAnchor),this._toggleAnchorTabIndex(Ee,this._endAnchor))}constructor(Ee,nt,Ge,Xe,gt=!1){this._element=Ee,this._checker=nt,this._ngZone=Ge,this._document=Xe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,gt||this.attachAnchors()}destroy(){const Ee=this._startAnchor,nt=this._endAnchor;Ee&&(Ee.removeEventListener("focus",this.startAnchorListener),Ee.remove()),nt&&(nt.removeEventListener("focus",this.endAnchorListener),nt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Ee){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusInitialElement(Ee)))})}focusFirstTabbableElementWhenReady(Ee){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusFirstTabbableElement(Ee)))})}focusLastTabbableElementWhenReady(Ee){return new Promise(nt=>{this._executeOnStable(()=>nt(this.focusLastTabbableElement(Ee)))})}_getRegionBoundary(Ee){const nt=this._element.querySelectorAll(`[cdk-focus-region-${Ee}], [cdkFocusRegion${Ee}], [cdk-focus-${Ee}]`);return"start"==Ee?nt.length?nt[0]:this._getFirstTabbableElement(this._element):nt.length?nt[nt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ee){const nt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(nt){if(!this._checker.isFocusable(nt)){const Ge=this._getFirstTabbableElement(nt);return Ge?.focus(Ee),!!Ge}return nt.focus(Ee),!0}return this.focusFirstTabbableElement(Ee)}focusFirstTabbableElement(Ee){const nt=this._getRegionBoundary("start");return nt&&nt.focus(Ee),!!nt}focusLastTabbableElement(Ee){const nt=this._getRegionBoundary("end");return nt&&nt.focus(Ee),!!nt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ee){if(this._checker.isFocusable(Ee)&&this._checker.isTabbable(Ee))return Ee;const nt=Ee.children;for(let Ge=0;Ge=0;Ge--){const Xe=nt[Ge].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(nt[Ge]):null;if(Xe)return Xe}return null}_createAnchor(){const Ee=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ee),Ee.classList.add("cdk-visually-hidden"),Ee.classList.add("cdk-focus-trap-anchor"),Ee.setAttribute("aria-hidden","true"),Ee}_toggleAnchorTabIndex(Ee,nt){Ee?nt.setAttribute("tabindex","0"):nt.removeAttribute("tabindex")}toggleAnchors(Ee){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ee,this._startAnchor),this._toggleAnchorTabIndex(Ee,this._endAnchor))}_executeOnStable(Ee){this._ngZone.isStable?Ee():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(Ee)}}let le=(()=>{class at{constructor(nt,Ge,Xe){this._checker=nt,this._ngZone=Ge,this._document=Xe}create(nt,Ge=!1){return new xe(nt,this._checker,this._ngZone,this._document,Ge)}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.LFG(v),t.LFG(t.R0b),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),pe=(()=>{class at{get enabled(){return this.focusTrap.enabled}set enabled(nt){this.focusTrap.enabled=nt}constructor(nt,Ge,Xe){this._elementRef=nt,this._focusTrapFactory=Ge,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(nt){const Ge=nt.autoCapture;Ge&&!Ge.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,y.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.Y36(t.SBq),t.Y36(le),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:at,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled",t.VuI],autoCapture:["cdkTrapFocusAutoCapture","autoCapture",t.VuI]},exportAs:["cdkTrapFocus"],features:[t.Xq5,t.TTD]})}return at})();function We(at){return 0===at.buttons||0===at.detail}function Ct(at){const Ee=at.touches&&at.touches[0]||at.changedTouches&&at.changedTouches[0];return!(!Ee||-1!==Ee.identifier||null!=Ee.radiusX&&1!==Ee.radiusX||null!=Ee.radiusY&&1!==Ee.radiusY)}const ut=new t.OlP("cdk-input-modality-detector-options"),It={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},Be=(0,y.i$)({passive:!0,capture:!0});let rt=(()=>{class at{get mostRecentModality(){return this._modality.value}constructor(nt,Ge,Xe,gt){this._platform=nt,this._mostRecentTarget=null,this._modality=new w.X(null),this._lastTouchMs=0,this._onKeydown=Le=>{this._options?.ignoreKeys?.some(be=>be===Le.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,y.sA)(Le))},this._onMousedown=Le=>{Date.now()-this._lastTouchMs<650||(this._modality.next(We(Le)?"keyboard":"mouse"),this._mostRecentTarget=(0,y.sA)(Le))},this._onTouchstart=Le=>{Ct(Le)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,y.sA)(Le))},this._options={...It,...gt},this.modalityDetected=this._modality.pipe((0,z.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,B.x)()),nt.isBrowser&&Ge.runOutsideAngular(()=>{Xe.addEventListener("keydown",this._onKeydown,Be),Xe.addEventListener("mousedown",this._onMousedown,Be),Xe.addEventListener("touchstart",this._onTouchstart,Be)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Be),document.removeEventListener("mousedown",this._onMousedown,Be),document.removeEventListener("touchstart",this._onTouchstart,Be))}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.LFG(y.t4),t.LFG(t.R0b),t.LFG(e.K0),t.LFG(ut,8))};static#t=this.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})();const $e=new t.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Ie(){return null}}),lt=new t.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Qe=0,St=(()=>{class at{constructor(nt,Ge,Xe,gt){this._ngZone=Ge,this._defaultOptions=gt,this._document=Xe,this._liveElement=nt||this._createLiveElement()}announce(nt,...Ge){const Xe=this._defaultOptions;let gt,Le;return 1===Ge.length&&"number"==typeof Ge[0]?Le=Ge[0]:[gt,Le]=Ge,this.clear(),clearTimeout(this._previousTimeout),gt||(gt=Xe&&Xe.politeness?Xe.politeness:"polite"),null==Le&&Xe&&(Le=Xe.duration),this._liveElement.setAttribute("aria-live",gt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(be=>this._currentResolve=be)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=nt,"number"==typeof Le&&(this._previousTimeout=setTimeout(()=>this.clear(),Le)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const nt="cdk-live-announcer-element",Ge=this._document.getElementsByClassName(nt),Xe=this._document.createElement("div");for(let gt=0;gt .cdk-overlay-container [aria-modal="true"]');for(let Xe=0;Xe{class at{constructor(nt,Ge,Xe,gt,Le){this._ngZone=nt,this._platform=Ge,this._inputModalityDetector=Xe,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new A.x,this._rootNodeFocusAndBlurListener=be=>{for(let ne=(0,y.sA)(be);ne;ne=ne.parentElement)"focus"===be.type?this._onFocus(be,ne):this._onBlur(be,ne)},this._document=gt,this._detectionMode=Le?.detectionMode||0}monitor(nt,Ge=!1){const Xe=(0,K.fI)(nt);if(!this._platform.isBrowser||1!==Xe.nodeType)return(0,m.of)();const gt=(0,y.kV)(Xe)||this._getDocument(),Le=this._elementInfo.get(Xe);if(Le)return Ge&&(Le.checkChildren=!0),Le.subject;const be={checkChildren:Ge,subject:new A.x,rootNode:gt};return this._elementInfo.set(Xe,be),this._registerGlobalListeners(be),be.subject}stopMonitoring(nt){const Ge=(0,K.fI)(nt),Xe=this._elementInfo.get(Ge);Xe&&(Xe.subject.complete(),this._setClasses(Ge),this._elementInfo.delete(Ge),this._removeGlobalListeners(Xe))}focusVia(nt,Ge,Xe){const gt=(0,K.fI)(nt);gt===this._getDocument().activeElement?this._getClosestElementsInfo(gt).forEach(([be,$])=>this._originChanged(be,Ge,$)):(this._setOrigin(Ge),"function"==typeof gt.focus&>.focus(Xe))}ngOnDestroy(){this._elementInfo.forEach((nt,Ge)=>this.stopMonitoring(Ge))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(nt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(nt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:nt&&this._isLastInteractionFromInputLabel(nt)?"mouse":"program"}_shouldBeAttributedToTouch(nt){return 1===this._detectionMode||!!nt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(nt,Ge){nt.classList.toggle("cdk-focused",!!Ge),nt.classList.toggle("cdk-touch-focused","touch"===Ge),nt.classList.toggle("cdk-keyboard-focused","keyboard"===Ge),nt.classList.toggle("cdk-mouse-focused","mouse"===Ge),nt.classList.toggle("cdk-program-focused","program"===Ge)}_setOrigin(nt,Ge=!1){this._ngZone.runOutsideAngular(()=>{this._origin=nt,this._originFromTouchInteraction="touch"===nt&&Ge,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(nt,Ge){const Xe=this._elementInfo.get(Ge),gt=(0,y.sA)(nt);!Xe||!Xe.checkChildren&&Ge!==gt||this._originChanged(Ge,this._getFocusOrigin(gt),Xe)}_onBlur(nt,Ge){const Xe=this._elementInfo.get(Ge);!Xe||Xe.checkChildren&&nt.relatedTarget instanceof Node&&Ge.contains(nt.relatedTarget)||(this._setClasses(Ge),this._emitOrigin(Xe,null))}_emitOrigin(nt,Ge){nt.subject.observers.length&&this._ngZone.run(()=>nt.subject.next(Ge))}_registerGlobalListeners(nt){if(!this._platform.isBrowser)return;const Ge=nt.rootNode,Xe=this._rootNodeFocusListenerCount.get(Ge)||0;Xe||this._ngZone.runOutsideAngular(()=>{Ge.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ue),Ge.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ue)}),this._rootNodeFocusListenerCount.set(Ge,Xe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,W.R)(this._stopInputModalityDetector)).subscribe(gt=>{this._setOrigin(gt,!0)}))}_removeGlobalListeners(nt){const Ge=nt.rootNode;if(this._rootNodeFocusListenerCount.has(Ge)){const Xe=this._rootNodeFocusListenerCount.get(Ge);Xe>1?this._rootNodeFocusListenerCount.set(Ge,Xe-1):(Ge.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ue),Ge.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ue),this._rootNodeFocusListenerCount.delete(Ge))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(nt,Ge,Xe){this._setClasses(nt,Ge),this._emitOrigin(Xe,Ge),this._lastFocusOrigin=Ge}_getClosestElementsInfo(nt){const Ge=[];return this._elementInfo.forEach((Xe,gt)=>{(gt===nt||Xe.checkChildren&>.contains(nt))&&Ge.push([gt,Xe])}),Ge}_isLastInteractionFromInputLabel(nt){const{_mostRecentTarget:Ge,mostRecentModality:Xe}=this._inputModalityDetector;if("mouse"!==Xe||!Ge||Ge===nt||"INPUT"!==nt.nodeName&&"TEXTAREA"!==nt.nodeName||nt.disabled)return!1;const gt=nt.labels;if(gt)for(let Le=0;Le{class at{constructor(nt,Ge){this._elementRef=nt,this._focusMonitor=Ge,this._focusOrigin=null,this.cdkFocusChange=new t.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const nt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(nt,1===nt.nodeType&&nt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ge=>{this._focusOrigin=Ge,this.cdkFocusChange.emit(Ge)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.Y36(t.SBq),t.Y36(Bt))};static#t=this.\u0275dir=t.lG2({type:at,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return at})();const je="cdk-high-contrast-black-on-white",Ft="cdk-high-contrast-white-on-black",xt="cdk-high-contrast-active";let Ot=(()=>{class at{constructor(nt,Ge){this._platform=nt,this._document=Ge,this._breakpointSubscription=(0,t.f3M)(X.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const nt=this._document.createElement("div");nt.style.backgroundColor="rgb(1,2,3)",nt.style.position="absolute",this._document.body.appendChild(nt);const Ge=this._document.defaultView||window,Xe=Ge&&Ge.getComputedStyle?Ge.getComputedStyle(nt):null,gt=(Xe&&Xe.backgroundColor||"").replace(/ /g,"");switch(nt.remove(),gt){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const nt=this._document.body.classList;nt.remove(xt,je,Ft),this._hasCheckedHighContrastMode=!0;const Ge=this.getHighContrastMode();1===Ge?nt.add(xt,je):2===Ge&&nt.add(xt,Ft)}}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.LFG(y.t4),t.LFG(e.K0))};static#t=this.\u0275prov=t.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"})}return at})(),yt=(()=>{class at{constructor(nt){nt._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Ge){return new(Ge||at)(t.LFG(Ot))};static#t=this.\u0275mod=t.oAB({type:at});static#i=this.\u0275inj=t.cJS({imports:[j.Q8]})}return at})()},9388:(Fe,q,p)=>{"use strict";p.d(q,{Is:()=>m,vT:()=>d});var e=p(9212),t=p(6814);const y=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function A(){return(0,e.f3M)(t.K0)}}),l=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{class E{constructor(I){this.value="ltr",this.change=new e.vpe,I&&(this.value=function w(E){const M=E?.toLowerCase()||"";return"auto"===M&&typeof navigator<"u"&&navigator?.language?l.test(navigator.language)?"rtl":"ltr":"rtl"===M?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(k){return new(k||E)(e.LFG(y,8))};static#t=this.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),d=(()=>{class E{static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275mod=e.oAB({type:E});static#i=this.\u0275inj=e.cJS({})}return E})()},2495:(Fe,q,p)=>{"use strict";p.d(q,{Eq:()=>l,HM:()=>w,Ig:()=>t,du:()=>P,fI:()=>m,su:()=>y,t6:()=>A});var e=p(9212);function t(d){return null!=d&&"false"!=`${d}`}function y(d,E=0){return A(d)?Number(d):E}function A(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function l(d){return Array.isArray(d)?d:[d]}function w(d){return null==d?"":"string"==typeof d?d:`${d}px`}function m(d){return d instanceof e.SBq?d.nativeElement:d}function P(d,E=/\s+/){const M=[];if(null!=d){const I=Array.isArray(d)?d:`${d}`.split(E);for(const k of I){const z=`${k}`.trim();z&&M.push(z)}}return M}},8337:(Fe,q,p)=>{"use strict";p.d(q,{A8:()=>M,Ov:()=>d,Z9:()=>l,eX:()=>P,k:()=>I,o2:()=>A,yy:()=>m});var e=p(3168),t=p(8645),y=p(9212);class A{}function l(k){return k&&"function"==typeof k.connect&&!(k instanceof e.c)}class m{applyChanges(z,B,W,j,K){z.forEachOperation((X,ie,se)=>{let ue,ae;if(null==X.previousIndex){const Me=W(X,ie,se);ue=B.createEmbeddedView(Me.templateRef,Me.context,Me.index),ae=1}else null==se?(B.remove(ie),ae=3):(ue=B.get(ie),B.move(ue,se),ae=2);K&&K({context:ue?.context,operation:ae,record:X})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(z,B,W,j,K){z.forEachOperation((X,ie,se)=>{let ue,ae;null==X.previousIndex?(ue=this._insertView(()=>W(X,ie,se),se,B,j(X)),ae=ue?1:0):null==se?(this._detachAndCacheView(ie,B),ae=3):(ue=this._moveView(ie,se,B,j(X)),ae=2),K&&K({context:ue?.context,operation:ae,record:X})})}detach(){for(const z of this._viewCache)z.destroy();this._viewCache=[]}_insertView(z,B,W,j){const K=this._insertViewFromCache(B,W);if(K)return void(K.context.$implicit=j);const X=z();return W.createEmbeddedView(X.templateRef,X.context,X.index)}_detachAndCacheView(z,B){const W=B.detach(z);this._maybeCacheView(W,B)}_moveView(z,B,W,j){const K=W.get(z);return W.move(K,B),K.context.$implicit=j,K}_maybeCacheView(z,B){if(this._viewCache.lengththis._markSelected(K)):this._markSelected(B[0]),this._selectedToEmit.length=0)}select(...z){this._verifyValueAssignment(z),z.forEach(W=>this._markSelected(W));const B=this._hasQueuedChanges();return this._emitChangeEvent(),B}deselect(...z){this._verifyValueAssignment(z),z.forEach(W=>this._unmarkSelected(W));const B=this._hasQueuedChanges();return this._emitChangeEvent(),B}setSelection(...z){this._verifyValueAssignment(z);const B=this.selected,W=new Set(z);z.forEach(K=>this._markSelected(K)),B.filter(K=>!W.has(K)).forEach(K=>this._unmarkSelected(K));const j=this._hasQueuedChanges();return this._emitChangeEvent(),j}toggle(z){return this.isSelected(z)?this.deselect(z):this.select(z)}clear(z=!0){this._unmarkAll();const B=this._hasQueuedChanges();return z&&this._emitChangeEvent(),B}isSelected(z){return this._selection.has(this._getConcreteValue(z))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(z){this._multiple&&this.selected&&this._selected.sort(z)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(z){z=this._getConcreteValue(z),this.isSelected(z)||(this._multiple||this._unmarkAll(),this.isSelected(z)||this._selection.add(z),this._emitChanges&&this._selectedToEmit.push(z))}_unmarkSelected(z){z=this._getConcreteValue(z),this.isSelected(z)&&(this._selection.delete(z),this._emitChanges&&this._deselectedToEmit.push(z))}_unmarkAll(){this.isEmpty()||this._selection.forEach(z=>this._unmarkSelected(z))}_verifyValueAssignment(z){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(z){if(this.compareWith){for(let B of this._selection)if(this.compareWith(z,B))return B;return z}return z}}let M=(()=>{class k{constructor(){this._listeners=[]}notify(B,W){for(let j of this._listeners)j(B,W)}listen(B){return this._listeners.push(B),()=>{this._listeners=this._listeners.filter(W=>B!==W)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(W){return new(W||k)};static#t=this.\u0275prov=y.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();const I=new y.OlP("_ViewRepeater")},6028:(Fe,q,p)=>{"use strict";p.d(q,{A:()=>R,JH:()=>ie,JU:()=>w,K5:()=>l,Ku:()=>k,LH:()=>K,L_:()=>I,MW:()=>lt,Mf:()=>y,SV:()=>X,Sd:()=>W,VM:()=>z,Vb:()=>et,Z:()=>Ie,ZH:()=>t,aO:()=>O,b2:()=>Ve,hY:()=>M,jx:()=>m,oh:()=>j,uR:()=>B,xE:()=>J,yY:()=>Me,zL:()=>P});const t=8,y=9,l=13,w=16,m=17,P=18,M=27,I=32,k=33,z=34,B=35,W=36,j=37,K=38,X=39,ie=40,Me=46,J=48,O=57,R=65,Ie=90,lt=91,Ve=224;function et(tt,...Yt){return Yt.length?Yt.some(ri=>tt[ri]):tt.altKey||tt.shiftKey||tt.ctrlKey||tt.metaKey}},1088:(Fe,q,p)=>{"use strict";p.d(q,{Yg:()=>ie,u3:()=>ue,xu:()=>z});var e=p(9212),t=p(2495),y=p(8645),A=p(2572),l=p(5211),w=p(5592),m=p(8180),P=p(836),d=p(3620),E=p(7398),M=p(7921),I=p(9773),k=p(2831);let z=(()=>{class ae{static#e=this.\u0275fac=function(he){return new(he||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#i=this.\u0275inj=e.cJS({})}return ae})();const B=new Set;let W,j=(()=>{class ae{constructor(J,he){this._platform=J,this._nonce=he,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X}matchMedia(J){return(this._platform.WEBKIT||this._platform.BLINK)&&function K(ae,Me){if(!B.has(ae))try{W||(W=document.createElement("style"),Me&&(W.nonce=Me),W.setAttribute("type","text/css"),document.head.appendChild(W)),W.sheet&&(W.sheet.insertRule(`@media ${ae} {body{ }}`,0),B.add(ae))}catch(J){console.error(J)}}(J,this._nonce),this._matchMedia(J)}static#e=this.\u0275fac=function(he){return new(he||ae)(e.LFG(k.t4),e.LFG(e.Ojb,8))};static#t=this.\u0275prov=e.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();function X(ae){return{matches:"all"===ae||""===ae,media:ae,addListener:()=>{},removeListener:()=>{}}}let ie=(()=>{class ae{constructor(J,he){this._mediaMatcher=J,this._zone=he,this._queries=new Map,this._destroySubject=new y.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(J){return se((0,t.Eq)(J)).some(S=>this._registerQuery(S).mql.matches)}observe(J){const S=se((0,t.Eq)(J)).map(s=>this._registerQuery(s).observable);let n=(0,A.a)(S);return n=(0,l.z)(n.pipe((0,m.q)(1)),n.pipe((0,P.T)(1),(0,d.b)(0))),n.pipe((0,E.U)(s=>{const f={matches:!1,breakpoints:{}};return s.forEach(({matches:h,query:C})=>{f.matches=f.matches||h,f.breakpoints[C]=h}),f}))}_registerQuery(J){if(this._queries.has(J))return this._queries.get(J);const he=this._mediaMatcher.matchMedia(J),n={observable:new w.y(s=>{const f=h=>this._zone.run(()=>s.next(h));return he.addListener(f),()=>{he.removeListener(f)}}).pipe((0,M.O)(he),(0,E.U)(({matches:s})=>({query:J,matches:s})),(0,I.R)(this._destroySubject)),mql:he};return this._queries.set(J,n),n}static#e=this.\u0275fac=function(he){return new(he||ae)(e.LFG(j),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();function se(ae){return ae.map(Me=>Me.split(",")).reduce((Me,J)=>Me.concat(J)).map(Me=>Me.trim())}const ue={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7131:(Fe,q,p)=>{"use strict";p.d(q,{Q8:()=>d,wD:()=>P});var e=p(2495),t=p(9212),y=p(5592),A=p(8645),l=p(3620);let w=(()=>{class E{create(I){return typeof MutationObserver>"u"?null:new MutationObserver(I)}static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),m=(()=>{class E{constructor(I){this._mutationObserverFactory=I,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((I,k)=>this._cleanupObserver(k))}observe(I){const k=(0,e.fI)(I);return new y.y(z=>{const W=this._observeElement(k).subscribe(z);return()=>{W.unsubscribe(),this._unobserveElement(k)}})}_observeElement(I){if(this._observedElements.has(I))this._observedElements.get(I).count++;else{const k=new A.x,z=this._mutationObserverFactory.create(B=>k.next(B));z&&z.observe(I,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(I,{observer:z,stream:k,count:1})}return this._observedElements.get(I).stream}_unobserveElement(I){this._observedElements.has(I)&&(this._observedElements.get(I).count--,this._observedElements.get(I).count||this._cleanupObserver(I))}_cleanupObserver(I){if(this._observedElements.has(I)){const{observer:k,stream:z}=this._observedElements.get(I);k&&k.disconnect(),z.complete(),this._observedElements.delete(I)}}static#e=this.\u0275fac=function(k){return new(k||E)(t.LFG(w))};static#t=this.\u0275prov=t.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})(),P=(()=>{class E{get disabled(){return this._disabled}set disabled(I){this._disabled=I,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(I){this._debounce=(0,e.su)(I),this._subscribe()}constructor(I,k,z){this._contentObserver=I,this._elementRef=k,this._ngZone=z,this.event=new t.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const I=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?I.pipe((0,l.b)(this.debounce)):I).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(k){return new(k||E)(t.Y36(m),t.Y36(t.SBq),t.Y36(t.R0b))};static#t=this.\u0275dir=t.lG2({type:E,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",t.VuI],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[t.Xq5]})}return E})(),d=(()=>{class E{static#e=this.\u0275fac=function(k){return new(k||E)};static#t=this.\u0275mod=t.oAB({type:E});static#i=this.\u0275inj=t.cJS({providers:[w]})}return E})()},3651:(Fe,q,p)=>{"use strict";p.d(q,{pI:()=>ce,xu:()=>ve,_G:()=>ee,aV:()=>pe,X_:()=>S,Xj:()=>r,U8:()=>Ct,Iu:()=>g});var e=p(5407),t=p(6814),y=p(9212),A=p(2495),l=p(2831),w=p(2181),m=p(8180),P=p(9773),d=p(9360),E=p(8251),I=p(9388),k=p(8484),z=p(8645),B=p(7394),W=p(3019),j=p(6028);const K=(0,l.Mq)();class X{constructor(Ae,Be){this._viewportRuler=Ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Be}attach(){}enable(){if(this._canBeEnabled()){const Ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Ae.style.left||"",this._previousHTMLStyles.top=Ae.style.top||"",Ae.style.left=(0,A.HM)(-this._previousScrollPosition.left),Ae.style.top=(0,A.HM)(-this._previousScrollPosition.top),Ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Ae=this._document.documentElement,rt=Ae.style,$e=this._document.body.style,Ie=rt.scrollBehavior||"",lt=$e.scrollBehavior||"";this._isEnabled=!1,rt.left=this._previousHTMLStyles.left,rt.top=this._previousHTMLStyles.top,Ae.classList.remove("cdk-global-scrollblock"),K&&(rt.scrollBehavior=$e.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),K&&(rt.scrollBehavior=Ie,$e.scrollBehavior=lt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Be=this._document.body,rt=this._viewportRuler.getViewportSize();return Be.scrollHeight>rt.height||Be.scrollWidth>rt.width}}class se{constructor(Ae,Be,rt,$e){this._scrollDispatcher=Ae,this._ngZone=Be,this._viewportRuler=rt,this._config=$e,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Ae){this._overlayRef=Ae}enable(){if(this._scrollSubscription)return;const Ae=this._scrollDispatcher.scrolled(0).pipe((0,w.h)(Be=>!Be||!this._overlayRef.overlayElement.contains(Be.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Ae.subscribe(()=>{const Be=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Be-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ue{enable(){}disable(){}attach(){}}function ae(It,Ae){return Ae.some(Be=>It.bottomBe.bottom||It.rightBe.right)}function Me(It,Ae){return Ae.some(Be=>It.topBe.bottom||It.leftBe.right)}class J{constructor(Ae,Be,rt,$e){this._scrollDispatcher=Ae,this._viewportRuler=Be,this._ngZone=rt,this._config=$e,this._scrollSubscription=null}attach(Ae){this._overlayRef=Ae}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const Be=this._overlayRef.overlayElement.getBoundingClientRect(),{width:rt,height:$e}=this._viewportRuler.getViewportSize();ae(Be,[{width:rt,height:$e,bottom:$e,right:rt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let he=(()=>{class It{constructor(Be,rt,$e,Ie){this._scrollDispatcher=Be,this._viewportRuler=rt,this._ngZone=$e,this.noop=()=>new ue,this.close=lt=>new se(this._scrollDispatcher,this._ngZone,this._viewportRuler,lt),this.block=()=>new X(this._viewportRuler,this._document),this.reposition=lt=>new J(this._scrollDispatcher,this._viewportRuler,this._ngZone,lt),this._document=Ie}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(e.mF),y.LFG(e.rL),y.LFG(y.R0b),y.LFG(t.K0))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();class S{constructor(Ae){if(this.scrollStrategy=new ue,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Ae){const Be=Object.keys(Ae);for(const rt of Be)void 0!==Ae[rt]&&(this[rt]=Ae[rt])}}}class f{constructor(Ae,Be){this.connectionPair=Ae,this.scrollableViewProperties=Be}}let D=(()=>{class It{constructor(Be){this._attachedOverlays=[],this._document=Be}ngOnDestroy(){this.detach()}add(Be){this.remove(Be),this._attachedOverlays.push(Be)}remove(Be){const rt=this._attachedOverlays.indexOf(Be);rt>-1&&this._attachedOverlays.splice(rt,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(t.K0))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})(),O=(()=>{class It extends D{constructor(Be,rt){super(Be),this._ngZone=rt,this._keydownListener=$e=>{const Ie=this._attachedOverlays;for(let lt=Ie.length-1;lt>-1;lt--)if(Ie[lt]._keydownEvents.observers.length>0){const Qe=Ie[lt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Qe.next($e)):Qe.next($e);break}}}add(Be){super.add(Be),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(t.K0),y.LFG(y.R0b,8))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})(),v=(()=>{class It extends D{constructor(Be,rt,$e){super(Be),this._platform=rt,this._ngZone=$e,this._cursorStyleIsSet=!1,this._pointerDownListener=Ie=>{this._pointerDownEventTarget=(0,l.sA)(Ie)},this._clickListener=Ie=>{const lt=(0,l.sA)(Ie),Qe="click"===Ie.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:lt;this._pointerDownEventTarget=null;const St=this._attachedOverlays.slice();for(let dt=St.length-1;dt>-1;dt--){const te=St[dt];if(te._outsidePointerEvents.observers.length<1||!te.hasAttached())continue;if(te.overlayElement.contains(lt)||te.overlayElement.contains(Qe))break;const Ue=te._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Ue.next(Ie)):Ue.next(Ie)}}}add(Be){if(super.add(Be),!this._isAttached){const rt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(rt)):this._addEventListeners(rt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=rt.style.cursor,rt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Be=this._document.body;Be.removeEventListener("pointerdown",this._pointerDownListener,!0),Be.removeEventListener("click",this._clickListener,!0),Be.removeEventListener("auxclick",this._clickListener,!0),Be.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Be.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Be){Be.addEventListener("pointerdown",this._pointerDownListener,!0),Be.addEventListener("click",this._clickListener,!0),Be.addEventListener("auxclick",this._clickListener,!0),Be.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(t.K0),y.LFG(l.t4),y.LFG(y.R0b,8))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})(),r=(()=>{class It{constructor(Be,rt){this._platform=rt,this._document=Be}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Be="cdk-overlay-container";if(this._platform.isBrowser||(0,l.Oy)()){const $e=this._document.querySelectorAll(`.${Be}[platform="server"], .${Be}[platform="test"]`);for(let Ie=0;Ie<$e.length;Ie++)$e[Ie].remove()}const rt=this._document.createElement("div");rt.classList.add(Be),(0,l.Oy)()?rt.setAttribute("platform","test"):this._platform.isBrowser||rt.setAttribute("platform","server"),this._document.body.appendChild(rt),this._containerElement=rt}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(t.K0),y.LFG(l.t4))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();class g{constructor(Ae,Be,rt,$e,Ie,lt,Qe,St,dt,te=!1){this._portalOutlet=Ae,this._host=Be,this._pane=rt,this._config=$e,this._ngZone=Ie,this._keyboardDispatcher=lt,this._document=Qe,this._location=St,this._outsideClickDispatcher=dt,this._animationsDisabled=te,this._backdropElement=null,this._backdropClick=new z.x,this._attachments=new z.x,this._detachments=new z.x,this._locationChanges=B.w0.EMPTY,this._backdropClickHandler=Ue=>this._backdropClick.next(Ue),this._backdropTransitionendHandler=Ue=>{this._disposeBackdrop(Ue.target)},this._keydownEvents=new z.x,this._outsidePointerEvents=new z.x,$e.scrollStrategy&&(this._scrollStrategy=$e.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=$e.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Be=this._portalOutlet.attach(Ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof Be?.onDestroy&&Be.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Be}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Ae}dispose(){const Ae=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,Ae&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(Ae){Ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Ae,this.hasAttached()&&(Ae.attach(this),this.updatePosition()))}updateSize(Ae){this._config={...this._config,...Ae},this._updateElementSize()}setDirection(Ae){this._config={...this._config,direction:Ae},this._updateElementDirection()}addPanelClass(Ae){this._pane&&this._toggleClasses(this._pane,Ae,!0)}removePanelClass(Ae){this._pane&&this._toggleClasses(this._pane,Ae,!1)}getDirection(){const Ae=this._config.direction;return Ae?"string"==typeof Ae?Ae:Ae.value:"ltr"}updateScrollStrategy(Ae){Ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Ae,this.hasAttached()&&(Ae.attach(this),Ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Ae=this._pane.style;Ae.width=(0,A.HM)(this._config.width),Ae.height=(0,A.HM)(this._config.height),Ae.minWidth=(0,A.HM)(this._config.minWidth),Ae.minHeight=(0,A.HM)(this._config.minHeight),Ae.maxWidth=(0,A.HM)(this._config.maxWidth),Ae.maxHeight=(0,A.HM)(this._config.maxHeight)}_togglePointerEvents(Ae){this._pane.style.pointerEvents=Ae?"":"none"}_attachBackdrop(){const Ae="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Ae)})}):this._backdropElement.classList.add(Ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Ae=this._backdropElement;if(Ae){if(this._animationsDisabled)return void this._disposeBackdrop(Ae);Ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),Ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Ae)},500))}}_toggleClasses(Ae,Be,rt){const $e=(0,A.Eq)(Be||[]).filter(Ie=>!!Ie);$e.length&&(rt?Ae.classList.add(...$e):Ae.classList.remove(...$e))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Ae=this._ngZone.onStable.pipe((0,P.R)((0,W.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),Ae.unsubscribe())})})}_disposeScrollStrategy(){const Ae=this._scrollStrategy;Ae&&(Ae.disable(),Ae.detach&&Ae.detach())}_disposeBackdrop(Ae){Ae&&(Ae.removeEventListener("click",this._backdropClickHandler),Ae.removeEventListener("transitionend",this._backdropTransitionendHandler),Ae.remove(),this._backdropElement===Ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const H="cdk-overlay-connected-position-bounding-box",R=/([A-Za-z%]+)$/;class ee{get positions(){return this._preferredPositions}constructor(Ae,Be,rt,$e,Ie){this._viewportRuler=Be,this._document=rt,this._platform=$e,this._overlayContainer=Ie,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new z.x,this._resizeSubscription=B.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Ae)}attach(Ae){this._validatePositions(),Ae.hostElement.classList.add(H),this._overlayRef=Ae,this._boundingBox=Ae.hostElement,this._pane=Ae.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ae=this._originRect,Be=this._overlayRect,rt=this._viewportRect,$e=this._containerRect,Ie=[];let lt;for(let Qe of this._preferredPositions){let St=this._getOriginPoint(Ae,$e,Qe),dt=this._getOverlayPoint(St,Be,Qe),te=this._getOverlayFit(dt,Be,rt,Qe);if(te.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Qe,St);this._canFitWithFlexibleDimensions(te,dt,rt)?Ie.push({position:Qe,origin:St,overlayRect:Be,boundingBoxRect:this._calculateBoundingBoxRect(St,Qe)}):(!lt||lt.overlayFit.visibleAreaSt&&(St=te,Qe=dt)}return this._isPushed=!1,void this._applyPosition(Qe.position,Qe.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(lt.position,lt.originPoint);this._applyPosition(lt.position,lt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&De(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Ae=this._lastPosition;if(Ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Be=this._getOriginPoint(this._originRect,this._containerRect,Ae);this._applyPosition(Ae,Be)}else this.apply()}withScrollableContainers(Ae){return this._scrollables=Ae,this}withPositions(Ae){return this._preferredPositions=Ae,-1===Ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Ae){return this._viewportMargin=Ae,this}withFlexibleDimensions(Ae=!0){return this._hasFlexibleDimensions=Ae,this}withGrowAfterOpen(Ae=!0){return this._growAfterOpen=Ae,this}withPush(Ae=!0){return this._canPush=Ae,this}withLockedPosition(Ae=!0){return this._positionLocked=Ae,this}setOrigin(Ae){return this._origin=Ae,this}withDefaultOffsetX(Ae){return this._offsetX=Ae,this}withDefaultOffsetY(Ae){return this._offsetY=Ae,this}withTransformOriginOn(Ae){return this._transformOriginSelector=Ae,this}_getOriginPoint(Ae,Be,rt){let $e,Ie;if("center"==rt.originX)$e=Ae.left+Ae.width/2;else{const lt=this._isRtl()?Ae.right:Ae.left,Qe=this._isRtl()?Ae.left:Ae.right;$e="start"==rt.originX?lt:Qe}return Be.left<0&&($e-=Be.left),Ie="center"==rt.originY?Ae.top+Ae.height/2:"top"==rt.originY?Ae.top:Ae.bottom,Be.top<0&&(Ie-=Be.top),{x:$e,y:Ie}}_getOverlayPoint(Ae,Be,rt){let $e,Ie;return $e="center"==rt.overlayX?-Be.width/2:"start"===rt.overlayX?this._isRtl()?-Be.width:0:this._isRtl()?0:-Be.width,Ie="center"==rt.overlayY?-Be.height/2:"top"==rt.overlayY?0:-Be.height,{x:Ae.x+$e,y:Ae.y+Ie}}_getOverlayFit(Ae,Be,rt,$e){const Ie=Ke(Be);let{x:lt,y:Qe}=Ae,St=this._getOffset($e,"x"),dt=this._getOffset($e,"y");St&&(lt+=St),dt&&(Qe+=dt);let Bt=0-Qe,Ye=Qe+Ie.height-rt.height,je=this._subtractOverflows(Ie.width,0-lt,lt+Ie.width-rt.width),Ft=this._subtractOverflows(Ie.height,Bt,Ye),xt=je*Ft;return{visibleArea:xt,isCompletelyWithinViewport:Ie.width*Ie.height===xt,fitsInViewportVertically:Ft===Ie.height,fitsInViewportHorizontally:je==Ie.width}}_canFitWithFlexibleDimensions(Ae,Be,rt){if(this._hasFlexibleDimensions){const $e=rt.bottom-Be.y,Ie=rt.right-Be.x,lt=ct(this._overlayRef.getConfig().minHeight),Qe=ct(this._overlayRef.getConfig().minWidth);return(Ae.fitsInViewportVertically||null!=lt&<<=$e)&&(Ae.fitsInViewportHorizontally||null!=Qe&&Qe<=Ie)}return!1}_pushOverlayOnScreen(Ae,Be,rt){if(this._previousPushAmount&&this._positionLocked)return{x:Ae.x+this._previousPushAmount.x,y:Ae.y+this._previousPushAmount.y};const $e=Ke(Be),Ie=this._viewportRect,lt=Math.max(Ae.x+$e.width-Ie.width,0),Qe=Math.max(Ae.y+$e.height-Ie.height,0),St=Math.max(Ie.top-rt.top-Ae.y,0),dt=Math.max(Ie.left-rt.left-Ae.x,0);let te=0,Ue=0;return te=$e.width<=Ie.width?dt||-lt:Ae.xje&&!this._isInitialRender&&!this._growAfterOpen&&(lt=Ae.y-je/2)}if("end"===Be.overlayX&&!$e||"start"===Be.overlayX&&$e)Bt=rt.width-Ae.x+this._viewportMargin,te=Ae.x-this._viewportMargin;else if("start"===Be.overlayX&&!$e||"end"===Be.overlayX&&$e)Ue=Ae.x,te=rt.right-Ae.x;else{const Ye=Math.min(rt.right-Ae.x+rt.left,Ae.x),je=this._lastBoundingBoxSize.width;te=2*Ye,Ue=Ae.x-Ye,te>je&&!this._isInitialRender&&!this._growAfterOpen&&(Ue=Ae.x-je/2)}return{top:lt,left:Ue,bottom:Qe,right:Bt,width:te,height:Ie}}_setBoundingBoxStyles(Ae,Be){const rt=this._calculateBoundingBoxRect(Ae,Be);!this._isInitialRender&&!this._growAfterOpen&&(rt.height=Math.min(rt.height,this._lastBoundingBoxSize.height),rt.width=Math.min(rt.width,this._lastBoundingBoxSize.width));const $e={};if(this._hasExactPosition())$e.top=$e.left="0",$e.bottom=$e.right=$e.maxHeight=$e.maxWidth="",$e.width=$e.height="100%";else{const Ie=this._overlayRef.getConfig().maxHeight,lt=this._overlayRef.getConfig().maxWidth;$e.height=(0,A.HM)(rt.height),$e.top=(0,A.HM)(rt.top),$e.bottom=(0,A.HM)(rt.bottom),$e.width=(0,A.HM)(rt.width),$e.left=(0,A.HM)(rt.left),$e.right=(0,A.HM)(rt.right),$e.alignItems="center"===Be.overlayX?"center":"end"===Be.overlayX?"flex-end":"flex-start",$e.justifyContent="center"===Be.overlayY?"center":"bottom"===Be.overlayY?"flex-end":"flex-start",Ie&&($e.maxHeight=(0,A.HM)(Ie)),lt&&($e.maxWidth=(0,A.HM)(lt))}this._lastBoundingBoxSize=rt,De(this._boundingBox.style,$e)}_resetBoundingBoxStyles(){De(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){De(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Ae,Be){const rt={},$e=this._hasExactPosition(),Ie=this._hasFlexibleDimensions,lt=this._overlayRef.getConfig();if($e){const te=this._viewportRuler.getViewportScrollPosition();De(rt,this._getExactOverlayY(Be,Ae,te)),De(rt,this._getExactOverlayX(Be,Ae,te))}else rt.position="static";let Qe="",St=this._getOffset(Be,"x"),dt=this._getOffset(Be,"y");St&&(Qe+=`translateX(${St}px) `),dt&&(Qe+=`translateY(${dt}px)`),rt.transform=Qe.trim(),lt.maxHeight&&($e?rt.maxHeight=(0,A.HM)(lt.maxHeight):Ie&&(rt.maxHeight="")),lt.maxWidth&&($e?rt.maxWidth=(0,A.HM)(lt.maxWidth):Ie&&(rt.maxWidth="")),De(this._pane.style,rt)}_getExactOverlayY(Ae,Be,rt){let $e={top:"",bottom:""},Ie=this._getOverlayPoint(Be,this._overlayRect,Ae);return this._isPushed&&(Ie=this._pushOverlayOnScreen(Ie,this._overlayRect,rt)),"bottom"===Ae.overlayY?$e.bottom=this._document.documentElement.clientHeight-(Ie.y+this._overlayRect.height)+"px":$e.top=(0,A.HM)(Ie.y),$e}_getExactOverlayX(Ae,Be,rt){let lt,$e={left:"",right:""},Ie=this._getOverlayPoint(Be,this._overlayRect,Ae);return this._isPushed&&(Ie=this._pushOverlayOnScreen(Ie,this._overlayRect,rt)),lt=this._isRtl()?"end"===Ae.overlayX?"left":"right":"end"===Ae.overlayX?"right":"left","right"===lt?$e.right=this._document.documentElement.clientWidth-(Ie.x+this._overlayRect.width)+"px":$e.left=(0,A.HM)(Ie.x),$e}_getScrollVisibility(){const Ae=this._getOriginRect(),Be=this._pane.getBoundingClientRect(),rt=this._scrollables.map($e=>$e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Me(Ae,rt),isOriginOutsideView:ae(Ae,rt),isOverlayClipped:Me(Be,rt),isOverlayOutsideView:ae(Be,rt)}}_subtractOverflows(Ae,...Be){return Be.reduce((rt,$e)=>rt-Math.max($e,0),Ae)}_getNarrowedViewportRect(){const Ae=this._document.documentElement.clientWidth,Be=this._document.documentElement.clientHeight,rt=this._viewportRuler.getViewportScrollPosition();return{top:rt.top+this._viewportMargin,left:rt.left+this._viewportMargin,right:rt.left+Ae-this._viewportMargin,bottom:rt.top+Be-this._viewportMargin,width:Ae-2*this._viewportMargin,height:Be-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Ae,Be){return"x"===Be?null==Ae.offsetX?this._offsetX:Ae.offsetX:null==Ae.offsetY?this._offsetY:Ae.offsetY}_validatePositions(){}_addPanelClasses(Ae){this._pane&&(0,A.Eq)(Ae).forEach(Be=>{""!==Be&&-1===this._appliedPanelClasses.indexOf(Be)&&(this._appliedPanelClasses.push(Be),this._pane.classList.add(Be))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Ae=>{this._pane.classList.remove(Ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const Ae=this._origin;if(Ae instanceof y.SBq)return Ae.nativeElement.getBoundingClientRect();if(Ae instanceof Element)return Ae.getBoundingClientRect();const Be=Ae.width||0,rt=Ae.height||0;return{top:Ae.y,bottom:Ae.y+rt,left:Ae.x,right:Ae.x+Be,height:rt,width:Be}}}function De(It,Ae){for(let Be in Ae)Ae.hasOwnProperty(Be)&&(It[Be]=Ae[Be]);return It}function ct(It){if("number"!=typeof It&&null!=It){const[Ae,Be]=It.split(R);return Be&&"px"!==Be?null:parseFloat(Ae)}return It||null}function Ke(It){return{top:Math.floor(It.top),right:Math.floor(It.right),bottom:Math.floor(It.bottom),left:Math.floor(It.left),width:Math.floor(It.width),height:Math.floor(It.height)}}const fe="cdk-global-overlay-wrapper";class de{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Ae){const Be=Ae.getConfig();this._overlayRef=Ae,this._width&&!Be.width&&Ae.updateSize({width:this._width}),this._height&&!Be.height&&Ae.updateSize({height:this._height}),Ae.hostElement.classList.add(fe),this._isDisposed=!1}top(Ae=""){return this._bottomOffset="",this._topOffset=Ae,this._alignItems="flex-start",this}left(Ae=""){return this._xOffset=Ae,this._xPosition="left",this}bottom(Ae=""){return this._topOffset="",this._bottomOffset=Ae,this._alignItems="flex-end",this}right(Ae=""){return this._xOffset=Ae,this._xPosition="right",this}start(Ae=""){return this._xOffset=Ae,this._xPosition="start",this}end(Ae=""){return this._xOffset=Ae,this._xPosition="end",this}width(Ae=""){return this._overlayRef?this._overlayRef.updateSize({width:Ae}):this._width=Ae,this}height(Ae=""){return this._overlayRef?this._overlayRef.updateSize({height:Ae}):this._height=Ae,this}centerHorizontally(Ae=""){return this.left(Ae),this._xPosition="center",this}centerVertically(Ae=""){return this.top(Ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Ae=this._overlayRef.overlayElement.style,Be=this._overlayRef.hostElement.style,rt=this._overlayRef.getConfig(),{width:$e,height:Ie,maxWidth:lt,maxHeight:Qe}=rt,St=!("100%"!==$e&&"100vw"!==$e||lt&&"100%"!==lt&&"100vw"!==lt),dt=!("100%"!==Ie&&"100vh"!==Ie||Qe&&"100%"!==Qe&&"100vh"!==Qe),te=this._xPosition,Ue=this._xOffset,Bt="rtl"===this._overlayRef.getConfig().direction;let Ye="",je="",Ft="";St?Ft="flex-start":"center"===te?(Ft="center",Bt?je=Ue:Ye=Ue):Bt?"left"===te||"end"===te?(Ft="flex-end",Ye=Ue):("right"===te||"start"===te)&&(Ft="flex-start",je=Ue):"left"===te||"start"===te?(Ft="flex-start",Ye=Ue):("right"===te||"end"===te)&&(Ft="flex-end",je=Ue),Ae.position=this._cssPosition,Ae.marginLeft=St?"0":Ye,Ae.marginTop=dt?"0":this._topOffset,Ae.marginBottom=this._bottomOffset,Ae.marginRight=St?"0":je,Be.justifyContent=Ft,Be.alignItems=dt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Ae=this._overlayRef.overlayElement.style,Be=this._overlayRef.hostElement,rt=Be.style;Be.classList.remove(fe),rt.justifyContent=rt.alignItems=Ae.marginTop=Ae.marginBottom=Ae.marginLeft=Ae.marginRight=Ae.position="",this._overlayRef=null,this._isDisposed=!0}}let xe=(()=>{class It{constructor(Be,rt,$e,Ie){this._viewportRuler=Be,this._document=rt,this._platform=$e,this._overlayContainer=Ie}global(){return new de}flexibleConnectedTo(Be){return new ee(Be,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(e.rL),y.LFG(t.K0),y.LFG(l.t4),y.LFG(r))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})(),le=0,pe=(()=>{class It{constructor(Be,rt,$e,Ie,lt,Qe,St,dt,te,Ue,Bt,Ye){this.scrollStrategies=Be,this._overlayContainer=rt,this._componentFactoryResolver=$e,this._positionBuilder=Ie,this._keyboardDispatcher=lt,this._injector=Qe,this._ngZone=St,this._document=dt,this._directionality=te,this._location=Ue,this._outsideClickDispatcher=Bt,this._animationsModuleType=Ye}create(Be){const rt=this._createHostElement(),$e=this._createPaneElement(rt),Ie=this._createPortalOutlet($e),lt=new S(Be);return lt.direction=lt.direction||this._directionality.value,new g(Ie,rt,$e,lt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Be){const rt=this._document.createElement("div");return rt.id="cdk-overlay-"+le++,rt.classList.add("cdk-overlay-pane"),Be.appendChild(rt),rt}_createHostElement(){const Be=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Be),Be}_createPortalOutlet(Be){return this._appRef||(this._appRef=this._injector.get(y.z2F)),new k.u0(Be,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.LFG(he),y.LFG(r),y.LFG(y._Vd),y.LFG(xe),y.LFG(O),y.LFG(y.zs3),y.LFG(y.R0b),y.LFG(t.K0),y.LFG(I.Is),y.LFG(t.Ye),y.LFG(v),y.LFG(y.QbO,8))};static#t=this.\u0275prov=y.Yz7({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();const qe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],re=new y.OlP("cdk-connected-overlay-scroll-strategy");let ve=(()=>{class It{constructor(Be){this.elementRef=Be}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.Y36(y.SBq))};static#t=this.\u0275dir=y.lG2({type:It,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return It})(),ce=(()=>{class It{get offsetX(){return this._offsetX}set offsetX(Be){this._offsetX=Be,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Be){this._offsetY=Be,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(Be){this._disposeOnNavigation=Be}constructor(Be,rt,$e,Ie,lt){this._overlay=Be,this._dir=lt,this._backdropSubscription=B.w0.EMPTY,this._attachSubscription=B.w0.EMPTY,this._detachSubscription=B.w0.EMPTY,this._positionSubscription=B.w0.EMPTY,this._disposeOnNavigation=!1,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new y.vpe,this.positionChange=new y.vpe,this.attach=new y.vpe,this.detach=new y.vpe,this.overlayKeydown=new y.vpe,this.overlayOutsideClick=new y.vpe,this._templatePortal=new k.UE(rt,$e),this._scrollStrategyFactory=Ie,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(Be){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Be.origin&&this.open&&this._position.apply()),Be.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=qe);const Be=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Be.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Be.detachments().subscribe(()=>this.detach.emit()),Be.keydownEvents().subscribe(rt=>{this.overlayKeydown.next(rt),rt.keyCode===j.hY&&!this.disableClose&&!(0,j.Vb)(rt)&&(rt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(rt=>{this.overlayOutsideClick.next(rt)})}_buildConfig(){const Be=this._position=this.positionStrategy||this._createPositionStrategy(),rt=new S({direction:this._dir,positionStrategy:Be,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(rt.width=this.width),(this.height||0===this.height)&&(rt.height=this.height),(this.minWidth||0===this.minWidth)&&(rt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(rt.minHeight=this.minHeight),this.backdropClass&&(rt.backdropClass=this.backdropClass),this.panelClass&&(rt.panelClass=this.panelClass),rt}_updatePositionStrategy(Be){const rt=this.positions.map($e=>({originX:$e.originX,originY:$e.originY,overlayX:$e.overlayX,overlayY:$e.overlayY,offsetX:$e.offsetX||this.offsetX,offsetY:$e.offsetY||this.offsetY,panelClass:$e.panelClass||void 0}));return Be.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(rt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Be=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Be),Be}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ve?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(Be=>{this.backdropClick.emit(Be)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function M(It,Ae=!1){return(0,d.e)((Be,rt)=>{let $e=0;Be.subscribe((0,E.x)(rt,Ie=>{const lt=It(Ie,$e++);(lt||Ae)&&rt.next(Ie),!lt&&rt.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(Be=>{this.positionChange.emit(Be),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(rt){return new(rt||It)(y.Y36(pe),y.Y36(y.Rgc),y.Y36(y.s_b),y.Y36(re),y.Y36(I.Is,8))};static#t=this.\u0275dir=y.lG2({type:It,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop",y.VuI],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition",y.VuI],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",y.VuI],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen",y.VuI],push:["cdkConnectedOverlayPush","push",y.VuI],disposeOnNavigation:["cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",y.VuI]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[y.Xq5,y.TTD]})}return It})();const We={provide:re,deps:[pe],useFactory:function Ze(It){return()=>It.scrollStrategies.reposition()}};let Ct=(()=>{class It{static#e=this.\u0275fac=function(rt){return new(rt||It)};static#t=this.\u0275mod=y.oAB({type:It});static#i=this.\u0275inj=y.cJS({providers:[pe,We],imports:[I.vT,k.eL,e.Cl,e.Cl]})}return It})()},2831:(Fe,q,p)=>{"use strict";p.d(q,{Mq:()=>z,Oy:()=>se,_i:()=>B,ht:()=>X,i$:()=>M,kV:()=>K,qK:()=>P,sA:()=>ie,t4:()=>A});var e=p(9212),t=p(6814);let y;try{y=typeof Intl<"u"&&Intl.v8BreakIterator}catch{y=!1}let w,A=(()=>{class ue{constructor(Me){this._platformId=Me,this.isBrowser=this._platformId?(0,t.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!y)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(J){return new(J||ue)(e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P(){if(w)return w;if("object"!=typeof document||!document)return w=new Set(m),w;let ue=document.createElement("input");return w=new Set(m.filter(ae=>(ue.setAttribute("type",ae),ue.type===ae))),w}let d,I,k,W;function M(ue){return function E(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?ue:!!ue.capture}function z(){if(null==k){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return k=!1,k;if("scrollBehavior"in document.documentElement.style)k=!0;else{const ue=Element.prototype.scrollTo;k=!!ue&&!/\{\s*\[native code\]\s*\}/.test(ue.toString())}}return k}function B(){if("object"!=typeof document||!document)return 0;if(null==I){const ue=document.createElement("div"),ae=ue.style;ue.dir="rtl",ae.width="1px",ae.overflow="auto",ae.visibility="hidden",ae.pointerEvents="none",ae.position="absolute";const Me=document.createElement("div"),J=Me.style;J.width="2px",J.height="1px",ue.appendChild(Me),document.body.appendChild(ue),I=0,0===ue.scrollLeft&&(ue.scrollLeft=1,I=0===ue.scrollLeft?1:2),ue.remove()}return I}function K(ue){if(function j(){if(null==W){const ue=typeof document<"u"?document.head:null;W=!(!ue||!ue.createShadowRoot&&!ue.attachShadow)}return W}()){const ae=ue.getRootNode?ue.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ae instanceof ShadowRoot)return ae}return null}function X(){let ue=typeof document<"u"&&document?document.activeElement:null;for(;ue&&ue.shadowRoot;){const ae=ue.shadowRoot.activeElement;if(ae===ue)break;ue=ae}return ue}function ie(ue){return ue.composedPath?ue.composedPath()[0]:ue.target}function se(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(Fe,q,p)=>{"use strict";p.d(q,{C5:()=>E,Pl:()=>X,UE:()=>M,eL:()=>se,en:()=>k,ig:()=>j,u0:()=>B});var e=p(9212),t=p(6814);class d{attach(Me){return this._attachedHost=Me,Me.attach(this)}detach(){let Me=this._attachedHost;null!=Me&&(this._attachedHost=null,Me.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Me){this._attachedHost=Me}}class E extends d{constructor(Me,J,he,S,n){super(),this.component=Me,this.viewContainerRef=J,this.injector=he,this.componentFactoryResolver=S,this.projectableNodes=n}}class M extends d{constructor(Me,J,he,S){super(),this.templateRef=Me,this.viewContainerRef=J,this.context=he,this.injector=S}get origin(){return this.templateRef.elementRef}attach(Me,J=this.context){return this.context=J,super.attach(Me)}detach(){return this.context=void 0,super.detach()}}class I extends d{constructor(Me){super(),this.element=Me instanceof e.SBq?Me.nativeElement:Me}}class k{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Me){return Me instanceof E?(this._attachedPortal=Me,this.attachComponentPortal(Me)):Me instanceof M?(this._attachedPortal=Me,this.attachTemplatePortal(Me)):this.attachDomPortal&&Me instanceof I?(this._attachedPortal=Me,this.attachDomPortal(Me)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Me){this._disposeFn=Me}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class B extends k{constructor(Me,J,he,S,n){super(),this.outletElement=Me,this._componentFactoryResolver=J,this._appRef=he,this._defaultInjector=S,this.attachDomPortal=s=>{const f=s.element,h=this._document.createComment("dom-portal");f.parentNode.insertBefore(h,f),this.outletElement.appendChild(f),this._attachedPortal=s,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(f,h)})},this._document=n}attachComponentPortal(Me){const he=(Me.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Me.component);let S;return Me.viewContainerRef?(S=Me.viewContainerRef.createComponent(he,Me.viewContainerRef.length,Me.injector||Me.viewContainerRef.injector,Me.projectableNodes||void 0),this.setDisposeFn(()=>S.destroy())):(S=he.create(Me.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(S.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(S.hostView),S.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(S)),this._attachedPortal=Me,S}attachTemplatePortal(Me){let J=Me.viewContainerRef,he=J.createEmbeddedView(Me.templateRef,Me.context,{injector:Me.injector});return he.rootNodes.forEach(S=>this.outletElement.appendChild(S)),he.detectChanges(),this.setDisposeFn(()=>{let S=J.indexOf(he);-1!==S&&J.remove(S)}),this._attachedPortal=Me,he}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Me){return Me.hostView.rootNodes[0]}}let j=(()=>{class ae extends M{constructor(J,he){super(J,he)}static#e=this.\u0275fac=function(he){return new(he||ae)(e.Y36(e.Rgc),e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]})}return ae})(),X=(()=>{class ae extends k{constructor(J,he,S){super(),this._componentFactoryResolver=J,this._viewContainerRef=he,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=n=>{const s=n.element,f=this._document.createComment("dom-portal");n.setAttachedHost(this),s.parentNode.insertBefore(f,s),this._getRootNode().appendChild(s),this._attachedPortal=n,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(s,f)})},this._document=S}get portal(){return this._attachedPortal}set portal(J){this.hasAttached()&&!J&&!this._isInitialized||(this.hasAttached()&&super.detach(),J&&super.attach(J),this._attachedPortal=J||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(J){J.setAttachedHost(this);const he=null!=J.viewContainerRef?J.viewContainerRef:this._viewContainerRef,n=(J.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(J.component),s=he.createComponent(n,he.length,J.injector||he.injector,J.projectableNodes||void 0);return he!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=J,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(J){J.setAttachedHost(this);const he=this._viewContainerRef.createEmbeddedView(J.templateRef,J.context,{injector:J.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=J,this._attachedRef=he,this.attached.emit(he),he}_getRootNode(){const J=this._viewContainerRef.element.nativeElement;return J.nodeType===J.ELEMENT_NODE?J:J.parentNode}static#e=this.\u0275fac=function(he){return new(he||ae)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(t.K0))};static#t=this.\u0275dir=e.lG2({type:ae,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]})}return ae})(),se=(()=>{class ae{static#e=this.\u0275fac=function(he){return new(he||ae)};static#t=this.\u0275mod=e.oAB({type:ae});static#i=this.\u0275inj=e.cJS({})}return ae})()},5407:(Fe,q,p)=>{"use strict";p.d(q,{PQ:()=>f,ZD:()=>ct,mF:()=>s,Cl:()=>Ke,rL:()=>C});var e=p(2495),t=p(9212),y=p(8645),A=p(2096),l=p(5592),w=p(2438),m=p(1954),P=p(7394);const d={schedule(Je){let ye=requestAnimationFrame,fe=cancelAnimationFrame;const{delegate:de}=d;de&&(ye=de.requestAnimationFrame,fe=de.cancelAnimationFrame);const xe=ye(le=>{fe=void 0,Je(le)});return new P.w0(()=>fe?.(xe))},requestAnimationFrame(...Je){const{delegate:ye}=d;return(ye?.requestAnimationFrame||requestAnimationFrame)(...Je)},cancelAnimationFrame(...Je){const{delegate:ye}=d;return(ye?.cancelAnimationFrame||cancelAnimationFrame)(...Je)},delegate:void 0};var M=p(2631);new class I extends M.v{flush(ye){this._active=!0;const fe=this._scheduled;this._scheduled=void 0;const{actions:de}=this;let xe;ye=ye||de.shift();do{if(xe=ye.execute(ye.state,ye.delay))break}while((ye=de[0])&&ye.id===fe&&de.shift());if(this._active=!1,xe){for(;(ye=de[0])&&ye.id===fe&&de.shift();)ye.unsubscribe();throw xe}}}(class E extends m.o{constructor(ye,fe){super(ye,fe),this.scheduler=ye,this.work=fe}requestAsyncId(ye,fe,de=0){return null!==de&&de>0?super.requestAsyncId(ye,fe,de):(ye.actions.push(this),ye._scheduled||(ye._scheduled=d.requestAnimationFrame(()=>ye.flush(void 0))))}recycleAsyncId(ye,fe,de=0){var xe;if(null!=de?de>0:this.delay>0)return super.recycleAsyncId(ye,fe,de);const{actions:le}=ye;null!=fe&&(null===(xe=le[le.length-1])||void 0===xe?void 0:xe.id)!==fe&&(d.cancelAnimationFrame(fe),ye._scheduled=void 0)}});p(6410);var W=p(9028),j=p(2181),K=p(9773),X=p(2831),ie=p(6814),se=p(9388);let s=(()=>{class Je{constructor(fe,de,xe){this._ngZone=fe,this._platform=de,this._scrolled=new y.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=xe}register(fe){this.scrollContainers.has(fe)||this.scrollContainers.set(fe,fe.elementScrolled().subscribe(()=>this._scrolled.next(fe)))}deregister(fe){const de=this.scrollContainers.get(fe);de&&(de.unsubscribe(),this.scrollContainers.delete(fe))}scrolled(fe=20){return this._platform.isBrowser?new l.y(de=>{this._globalSubscription||this._addGlobalListener();const xe=fe>0?this._scrolled.pipe((0,W.e)(fe)).subscribe(de):this._scrolled.subscribe(de);return this._scrolledCount++,()=>{xe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,A.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((fe,de)=>this.deregister(de)),this._scrolled.complete()}ancestorScrolled(fe,de){const xe=this.getAncestorScrollContainers(fe);return this.scrolled(de).pipe((0,j.h)(le=>!le||xe.indexOf(le)>-1))}getAncestorScrollContainers(fe){const de=[];return this.scrollContainers.forEach((xe,le)=>{this._scrollableContainsElement(le,fe)&&de.push(le)}),de}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(fe,de){let xe=(0,e.fI)(de),le=fe.getElementRef().nativeElement;do{if(xe==le)return!0}while(xe=xe.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const fe=this._getWindow();return(0,w.R)(fe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(de){return new(de||Je)(t.LFG(t.R0b),t.LFG(X.t4),t.LFG(ie.K0,8))};static#t=this.\u0275prov=t.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),f=(()=>{class Je{constructor(fe,de,xe,le){this.elementRef=fe,this.scrollDispatcher=de,this.ngZone=xe,this.dir=le,this._destroyed=new y.x,this._elementScrolled=new l.y(pe=>this.ngZone.runOutsideAngular(()=>(0,w.R)(this.elementRef.nativeElement,"scroll").pipe((0,K.R)(this._destroyed)).subscribe(pe)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(fe){const de=this.elementRef.nativeElement,xe=this.dir&&"rtl"==this.dir.value;null==fe.left&&(fe.left=xe?fe.end:fe.start),null==fe.right&&(fe.right=xe?fe.start:fe.end),null!=fe.bottom&&(fe.top=de.scrollHeight-de.clientHeight-fe.bottom),xe&&0!=(0,X._i)()?(null!=fe.left&&(fe.right=de.scrollWidth-de.clientWidth-fe.left),2==(0,X._i)()?fe.left=fe.right:1==(0,X._i)()&&(fe.left=fe.right?-fe.right:fe.right)):null!=fe.right&&(fe.left=de.scrollWidth-de.clientWidth-fe.right),this._applyScrollToOptions(fe)}_applyScrollToOptions(fe){const de=this.elementRef.nativeElement;(0,X.Mq)()?de.scrollTo(fe):(null!=fe.top&&(de.scrollTop=fe.top),null!=fe.left&&(de.scrollLeft=fe.left))}measureScrollOffset(fe){const de="left",le=this.elementRef.nativeElement;if("top"==fe)return le.scrollTop;if("bottom"==fe)return le.scrollHeight-le.clientHeight-le.scrollTop;const pe=this.dir&&"rtl"==this.dir.value;return"start"==fe?fe=pe?"right":de:"end"==fe&&(fe=pe?de:"right"),pe&&2==(0,X._i)()?fe==de?le.scrollWidth-le.clientWidth-le.scrollLeft:le.scrollLeft:pe&&1==(0,X._i)()?fe==de?le.scrollLeft+le.scrollWidth-le.clientWidth:-le.scrollLeft:fe==de?le.scrollLeft:le.scrollWidth-le.clientWidth-le.scrollLeft}static#e=this.\u0275fac=function(de){return new(de||Je)(t.Y36(t.SBq),t.Y36(s),t.Y36(t.R0b),t.Y36(se.Is,8))};static#t=this.\u0275dir=t.lG2({type:Je,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return Je})(),C=(()=>{class Je{constructor(fe,de,xe){this._platform=fe,this._change=new y.x,this._changeListener=le=>{this._change.next(le)},this._document=xe,de.runOutsideAngular(()=>{if(fe.isBrowser){const le=this._getWindow();le.addEventListener("resize",this._changeListener),le.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const fe=this._getWindow();fe.removeEventListener("resize",this._changeListener),fe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const fe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),fe}getViewportRect(){const fe=this.getViewportScrollPosition(),{width:de,height:xe}=this.getViewportSize();return{top:fe.top,left:fe.left,bottom:fe.top+xe,right:fe.left+de,height:xe,width:de}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const fe=this._document,de=this._getWindow(),xe=fe.documentElement,le=xe.getBoundingClientRect();return{top:-le.top||fe.body.scrollTop||de.scrollY||xe.scrollTop||0,left:-le.left||fe.body.scrollLeft||de.scrollX||xe.scrollLeft||0}}change(fe=20){return fe>0?this._change.pipe((0,W.e)(fe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const fe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:fe.innerWidth,height:fe.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(de){return new(de||Je)(t.LFG(X.t4),t.LFG(t.R0b),t.LFG(ie.K0,8))};static#t=this.\u0275prov=t.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),ct=(()=>{class Je{static#e=this.\u0275fac=function(de){return new(de||Je)};static#t=this.\u0275mod=t.oAB({type:Je});static#i=this.\u0275inj=t.cJS({})}return Je})(),Ke=(()=>{class Je{static#e=this.\u0275fac=function(de){return new(de||Je)};static#t=this.\u0275mod=t.oAB({type:Je});static#i=this.\u0275inj=t.cJS({imports:[se.vT,ct,se.vT,ct]})}return Je})()},1657:(Fe,q,p)=>{"use strict";p.d(q,{B8:()=>X,KL:()=>I,U5:()=>ue,be:()=>K,gx:()=>j,po:()=>se,st:()=>ie,u6:()=>k});var e=p(4300),t=p(9388),y=p(6028),A=p(9212),l=p(2831),w=p(8645),m=p(2096),P=p(7921),d=p(9773);function E(ae,Me){1&ae&&A.Hsn(0)}const M=["*"];let I=(()=>{class ae{constructor(J){this._elementRef=J}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(he){return new(he||ae)(A.Y36(A.SBq))};static#t=this.\u0275dir=A.lG2({type:ae,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return ae})(),k=(()=>{class ae{constructor(J){this.template=J}static#e=this.\u0275fac=function(he){return new(he||ae)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:ae,selectors:[["","cdkStepLabel",""]]})}return ae})(),z=0;const j=new A.OlP("STEPPER_GLOBAL_OPTIONS");let K=(()=>{class ae{get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(J){this._completedOverride=J}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(J){this._customError=J}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(J,he){this._stepper=J,this.interacted=!1,this.interactedStream=new A.vpe,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=he||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(he){return new(he||ae)(A.Y36((0,A.Gpc)(()=>X)),A.Y36(j,8))};static#t=this.\u0275cmp=A.Xpm({type:ae,selectors:[["cdk-step"]],contentQueries:function(he,S,n){if(1&he&&A.Suo(n,k,5),2&he){let s;A.iGM(s=A.CRH())&&(S.stepLabel=s.first)}},viewQuery:function(he,S){if(1&he&&A.Gf(A.Rgc,7),2&he){let n;A.iGM(n=A.CRH())&&(S.content=n.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:["editable","editable",A.VuI],optional:["optional","optional",A.VuI],completed:["completed","completed",A.VuI],hasError:["hasError","hasError",A.VuI]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[A.Xq5,A.TTD],ngContentSelectors:M,decls:1,vars:0,template:function(he,S){1&he&&(A.F$t(),A.YNc(0,E,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return ae})(),X=(()=>{class ae{get selectedIndex(){return this._selectedIndex}set selectedIndex(J){this.steps&&this._steps?(this._isValidIndex(J),this.selected?._markAsInteracted(),this._selectedIndex!==J&&!this._anyControlsInvalidOrPending(J)&&(J>=this._selectedIndex||this.steps.toArray()[J].editable)&&this._updateSelectedItemIndex(J)):this._selectedIndex=J}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(J){this.selectedIndex=J&&this.steps?this.steps.toArray().indexOf(J):-1}get orientation(){return this._orientation}set orientation(J){this._orientation=J,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===J)}constructor(J,he,S){this._dir=J,this._changeDetectorRef=he,this._elementRef=S,this._destroyed=new w.x,this.steps=new A.n_E,this._sortedHeaders=new A.n_E,this.linear=!1,this._selectedIndex=0,this.selectionChange=new A.vpe,this.selectedIndexChange=new A.vpe,this._orientation="horizontal",this._groupId=z++}ngAfterContentInit(){this._steps.changes.pipe((0,P.O)(this._steps),(0,d.R)(this._destroyed)).subscribe(J=>{this.steps.reset(J.filter(he=>he._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,P.O)(this._stepHeader),(0,d.R)(this._destroyed)).subscribe(J=>{this._sortedHeaders.reset(J.toArray().sort((he,S)=>he._elementRef.nativeElement.compareDocumentPosition(S._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new e.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,m.of)()).pipe((0,P.O)(this._layoutDirection()),(0,d.R)(this._destroyed)).subscribe(J=>this._keyManager.withHorizontalOrientation(J)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(J=>J.reset()),this._stateChanged()}_getStepLabelId(J){return`cdk-step-label-${this._groupId}-${J}`}_getStepContentId(J){return`cdk-step-content-${this._groupId}-${J}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(J){const he=J-this._selectedIndex;return he<0?"rtl"===this._layoutDirection()?"next":"previous":he>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(J,he="number"){const S=this.steps.toArray()[J],n=this._isCurrentStep(J);return S._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(S,n):this._getGuidelineLogic(S,n,he)}_getDefaultIndicatorLogic(J,he){return J._showError()&&J.hasError&&!he?"error":!J.completed||he?"number":J.editable?"edit":"done"}_getGuidelineLogic(J,he,S="number"){return J._showError()&&J.hasError&&!he?"error":J.completed&&!he?"done":J.completed&&he?S:J.editable&&he?"edit":S}_isCurrentStep(J){return this._selectedIndex===J}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(J){const he=this.steps.toArray();this.selectionChange.emit({selectedIndex:J,previouslySelectedIndex:this._selectedIndex,selectedStep:he[J],previouslySelectedStep:he[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(J):this._keyManager.updateActiveItem(J),this._selectedIndex=J,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(J){const he=(0,y.Vb)(J),S=J.keyCode,n=this._keyManager;null==n.activeItemIndex||he||S!==y.L_&&S!==y.K5?n.setFocusOrigin("keyboard").onKeydown(J):(this.selectedIndex=n.activeItemIndex,J.preventDefault())}_anyControlsInvalidOrPending(J){return!!(this.linear&&J>=0)&&this.steps.toArray().slice(0,J).some(he=>{const S=he.stepControl;return(S?S.invalid||S.pending||!he.interacted:!he.completed)&&!he.optional&&!he._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const J=this._elementRef.nativeElement,he=(0,l.ht)();return J===he||J.contains(he)}_isValidIndex(J){return J>-1&&(!this.steps||J{class ae{constructor(J){this._stepper=J,this.type="submit"}static#e=this.\u0275fac=function(he){return new(he||ae)(A.Y36(X))};static#t=this.\u0275dir=A.lG2({type:ae,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(he,S){1&he&&A.NdJ("click",function(){return S._stepper.next()}),2&he&&A.Ikx("type",S.type)},inputs:{type:"type"}})}return ae})(),se=(()=>{class ae{constructor(J){this._stepper=J,this.type="button"}static#e=this.\u0275fac=function(he){return new(he||ae)(A.Y36(X))};static#t=this.\u0275dir=A.lG2({type:ae,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(he,S){1&he&&A.NdJ("click",function(){return S._stepper.previous()}),2&he&&A.Ikx("type",S.type)},inputs:{type:"type"}})}return ae})(),ue=(()=>{class ae{static#e=this.\u0275fac=function(he){return new(he||ae)};static#t=this.\u0275mod=A.oAB({type:ae});static#i=this.\u0275inj=A.cJS({imports:[t.vT]})}return ae})()},1894:(Fe,q,p)=>{"use strict";p.d(q,{HI:()=>B,Hs:()=>J,Ud:()=>h,VY:()=>z,XJ:()=>f,Xx:()=>n,_0:()=>Me,cu:()=>W,nZ:()=>D,rO:()=>K});var e=p(8337),t=p(2664),y=p(8645),A=p(5619),l=p(2096),w=p(8180),m=p(2181),P=p(9773),d=p(9212),E=p(2495),M=p(9388);class I{constructor(){this.expansionModel=new e.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let r=[v];r.push(...this.getDescendants(v)),this.expansionModel.select(...r.map(g=>this._trackByValue(g)))}collapseDescendants(v){let r=[v];r.push(...this.getDescendants(v)),this.expansionModel.deselect(...r.map(g=>this._trackByValue(g)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class z extends I{constructor(v,r){super(),this.getChildren=v,this.options=r,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((r,g)=>[...r,...this.getDescendants(g),g],[]);this.expansionModel.select(...v.map(r=>this._trackByValue(r)))}getDescendants(v){const r=[];return this._getDescendants(r,v),r.splice(1)}_getDescendants(v,r){v.push(r);const g=this.getChildren(r);Array.isArray(g)?g.forEach(H=>this._getDescendants(v,H)):(0,t.b)(g)&&g.pipe((0,w.q)(1),(0,m.h)(Boolean)).subscribe(H=>{for(const R of H)this._getDescendants(v,R)})}}const B=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let W=(()=>{class O{constructor(r,g){this.viewContainer=r,this._node=g}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.s_b),d.Y36(B,8))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeOutlet",""]]})}return O})();class j{constructor(v){this.$implicit=v}}let K=(()=>{class O{constructor(r){this.template=r}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.Rgc))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}})}return O})(),Me=(()=>{class O{get dataSource(){return this._dataSource}set dataSource(r){this._dataSource!==r&&this._switchDataSource(r)}constructor(r,g){this._differs=r,this._changeDetectorRef=g,this._onDestroy=new y.x,this._levels=new Map,this.viewChange=new A.X({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const r=this._nodeDefs.filter(g=>!g.when);this._defaultNodeDef=r[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(r){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),r||this._nodeOutlet.viewContainer.clear(),this._dataSource=r,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let r;(0,e.Z9)(this._dataSource)?r=this._dataSource.connect(this):(0,t.b)(this._dataSource)?r=this._dataSource:Array.isArray(this._dataSource)&&(r=(0,l.of)(this._dataSource)),r&&(this._dataSubscription=r.pipe((0,P.R)(this._onDestroy)).subscribe(g=>this.renderNodeChanges(g)))}renderNodeChanges(r,g=this._dataDiffer,H=this._nodeOutlet.viewContainer,R){const ee=g.diff(r);ee&&(ee.forEachOperation((De,ct,Ke)=>{if(null==De.previousIndex)this.insertNode(r[Ke],Ke,H,R);else if(null==Ke)H.remove(ct),this._levels.delete(De.item);else{const Je=H.get(ct);H.move(Je,Ke)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(r,g){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(R=>R.when&&R.when(g,r))||this._defaultNodeDef}insertNode(r,g,H,R){const ee=this._getNodeDef(r,g),De=new j(r);De.level=this.treeControl.getLevel?this.treeControl.getLevel(r):typeof R<"u"&&this._levels.has(R)?this._levels.get(R)+1:0,this._levels.set(r,De.level),(H||this._nodeOutlet.viewContainer).createEmbeddedView(ee.template,De,g),J.mostRecentTreeNode&&(J.mostRecentTreeNode.data=r)}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.ZZ4),d.Y36(d.sBO))};static#t=this.\u0275cmp=d.Xpm({type:O,selectors:[["cdk-tree"]],contentQueries:function(g,H,R){if(1&g&&d.Suo(R,K,5),2&g){let ee;d.iGM(ee=d.CRH())&&(H._nodeDefs=ee)}},viewQuery:function(g,H){if(1&g&&d.Gf(W,7),2&g){let R;d.iGM(R=d.CRH())&&(H._nodeOutlet=R.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(g,H){1&g&&d.GkF(0,0)},dependencies:[W],encapsulation:2})}return O})(),J=(()=>{class O{get role(){return"treeitem"}set role(r){this._elementRef.nativeElement.setAttribute("role",r)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(r){r!==this._data&&(this._data=r,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(r,g){this._elementRef=r,this._tree=g,this._destroyed=new y.x,this._dataChanges=new y.x,O.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function he(O){let v=O.parentElement;for(;v&&!S(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,E.su)(v.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){O.mostRecentTreeNode===this&&(O.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.SBq),d.Y36(Me))};static#i=this.\u0275dir=d.lG2({type:O,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(g,H){2&g&&d.uIk("aria-expanded",H.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]})}return O})();function S(O){const v=O.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let n=(()=>{class O extends J{constructor(r,g,H){super(r,g),this._differs=H}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const r=this._tree.treeControl.getChildren(this.data);Array.isArray(r)?this.updateChildrenNodes(r):(0,t.b)(r)&&r.pipe((0,P.R)(this._destroyed)).subscribe(g=>this.updateChildrenNodes(g)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(r){const g=this._getNodeOutlet();r&&(this._children=r),g&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,g.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const r=this._getNodeOutlet();r&&(r.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const r=this.nodeOutlet;return r&&r.find(g=>!g._node||g._node===this)}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(d.SBq),d.Y36(Me),d.Y36(d.ZZ4))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["cdk-nested-tree-node"]],contentQueries:function(g,H,R){if(1&g&&d.Suo(R,W,5),2&g){let ee;d.iGM(ee=d.CRH())&&(H.nodeOutlet=ee)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:J,useExisting:O},{provide:B,useExisting:O}]),d.qOj]})}return O})();const s=/([A-Za-z%]+)$/;let f=(()=>{class O{get level(){return this._level}set level(r){this._setLevelInput(r)}get indent(){return this._indent}set indent(r){this._setIndentInput(r)}constructor(r,g,H,R){this._treeNode=r,this._tree=g,this._element=H,this._dir=R,this._destroyed=new y.x,this.indentUnits="px",this._indent=40,this._setPadding(),R&&R.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),r._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const r=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,g=null==this._level?r:this._level;return"number"==typeof g?`${g*this._indent}${this.indentUnits}`:null}_setPadding(r=!1){const g=this._paddingIndent();if(g!==this._currentPadding||r){const H=this._element.nativeElement,R=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",ee="paddingLeft"===R?"paddingRight":"paddingLeft";H.style[R]=g||"",H.style[ee]="",this._currentPadding=g}}_setLevelInput(r){this._level=(0,E.su)(r,null),this._setPadding()}_setIndentInput(r){let g=r,H="px";if("string"==typeof r){const R=r.split(s);g=R[0],H=R[1]||H}this.indentUnits=H,this._indent=(0,E.su)(g),this._setPadding()}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(J),d.Y36(Me),d.Y36(d.SBq),d.Y36(M.Is,8))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}})}return O})(),h=(()=>{class O{get recursive(){return this._recursive}set recursive(r){this._recursive=(0,E.Ig)(r)}constructor(r,g){this._tree=r,this._treeNode=g,this._recursive=!1}_toggle(r){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),r.stopPropagation()}static#e=this.\u0275fac=function(g){return new(g||O)(d.Y36(Me),d.Y36(J))};static#t=this.\u0275dir=d.lG2({type:O,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(g,H){1&g&&d.NdJ("click",function(ee){return H._toggle(ee)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}})}return O})(),D=(()=>{class O{static#e=this.\u0275fac=function(g){return new(g||O)};static#t=this.\u0275mod=d.oAB({type:O});static#i=this.\u0275inj=d.cJS({})}return O})()},6814:(Fe,q,p)=>{"use strict";p.d(q,{Do:()=>W,ED:()=>an,EM:()=>Eo,HT:()=>A,JF:()=>_a,JJ:()=>Lr,K0:()=>w,Mx:()=>Gt,NF:()=>ea,Nd:()=>za,O5:()=>Ve,OU:()=>kr,Ov:()=>yn,PC:()=>$r,PM:()=>Ia,RF:()=>fn,S$:()=>k,Ts:()=>Kn,V_:()=>P,Ye:()=>j,b0:()=>B,bD:()=>wa,ez:()=>Bn,gd:()=>er,i8:()=>jn,mk:()=>yi,n9:()=>Sn,q:()=>y,rS:()=>Er,sg:()=>qt,tP:()=>Ni,uU:()=>oa,w_:()=>l});var e=p(9212);let t=null;function y(){return t}function A(_e){t||(t=_e)}class l{}const w=new e.OlP("DocumentToken");let m=(()=>{class _e{historyGo(Pe){throw new Error("Not implemented")}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275prov=e.Yz7({token:_e,factory:()=>(0,e.f3M)(d),providedIn:"platform"})}return _e})();const P=new e.OlP("Location Initialized");let d=(()=>{class _e extends m{constructor(){super(),this._doc=(0,e.f3M)(w),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y().getBaseHref(this._doc)}onPopState(Pe){const pt=y().getGlobalEventTarget(this._doc,"window");return pt.addEventListener("popstate",Pe,!1),()=>pt.removeEventListener("popstate",Pe)}onHashChange(Pe){const pt=y().getGlobalEventTarget(this._doc,"window");return pt.addEventListener("hashchange",Pe,!1),()=>pt.removeEventListener("hashchange",Pe)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Pe){this._location.pathname=Pe}pushState(Pe,pt,Qt){this._history.pushState(Pe,pt,Qt)}replaceState(Pe,pt,Qt){this._history.replaceState(Pe,pt,Qt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Pe=0){this._history.go(Pe)}getState(){return this._history.state}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275prov=e.Yz7({token:_e,factory:()=>new _e,providedIn:"platform"})}return _e})();function E(_e,Tt){if(0==_e.length)return Tt;if(0==Tt.length)return _e;let Pe=0;return _e.endsWith("/")&&Pe++,Tt.startsWith("/")&&Pe++,2==Pe?_e+Tt.substring(1):1==Pe?_e+Tt:_e+"/"+Tt}function M(_e){const Tt=_e.match(/#|\?|$/),Pe=Tt&&Tt.index||_e.length;return _e.slice(0,Pe-("/"===_e[Pe-1]?1:0))+_e.slice(Pe)}function I(_e){return _e&&"?"!==_e[0]?"?"+_e:_e}let k=(()=>{class _e{historyGo(Pe){throw new Error("Not implemented")}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275prov=e.Yz7({token:_e,factory:()=>(0,e.f3M)(B),providedIn:"root"})}return _e})();const z=new e.OlP("appBaseHref");let B=(()=>{class _e extends k{constructor(Pe,pt){super(),this._platformLocation=Pe,this._removeListenerFns=[],this._baseHref=pt??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(w).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Pe){this._removeListenerFns.push(this._platformLocation.onPopState(Pe),this._platformLocation.onHashChange(Pe))}getBaseHref(){return this._baseHref}prepareExternalUrl(Pe){return E(this._baseHref,Pe)}path(Pe=!1){const pt=this._platformLocation.pathname+I(this._platformLocation.search),Qt=this._platformLocation.hash;return Qt&&Pe?`${pt}${Qt}`:pt}pushState(Pe,pt,Qt,Re){const ft=this.prepareExternalUrl(Qt+I(Re));this._platformLocation.pushState(Pe,pt,ft)}replaceState(Pe,pt,Qt,Re){const ft=this.prepareExternalUrl(Qt+I(Re));this._platformLocation.replaceState(Pe,pt,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Pe=0){this._platformLocation.historyGo?.(Pe)}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.LFG(m),e.LFG(z,8))};static#t=this.\u0275prov=e.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"})}return _e})(),W=(()=>{class _e extends k{constructor(Pe,pt){super(),this._platformLocation=Pe,this._baseHref="",this._removeListenerFns=[],null!=pt&&(this._baseHref=pt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Pe){this._removeListenerFns.push(this._platformLocation.onPopState(Pe),this._platformLocation.onHashChange(Pe))}getBaseHref(){return this._baseHref}path(Pe=!1){let pt=this._platformLocation.hash;return null==pt&&(pt="#"),pt.length>0?pt.substring(1):pt}prepareExternalUrl(Pe){const pt=E(this._baseHref,Pe);return pt.length>0?"#"+pt:pt}pushState(Pe,pt,Qt,Re){let ft=this.prepareExternalUrl(Qt+I(Re));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.pushState(Pe,pt,ft)}replaceState(Pe,pt,Qt,Re){let ft=this.prepareExternalUrl(Qt+I(Re));0==ft.length&&(ft=this._platformLocation.pathname),this._platformLocation.replaceState(Pe,pt,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Pe=0){this._platformLocation.historyGo?.(Pe)}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.LFG(m),e.LFG(z,8))};static#t=this.\u0275prov=e.Yz7({token:_e,factory:_e.\u0275fac})}return _e})(),j=(()=>{class _e{constructor(Pe){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Pe;const pt=this._locationStrategy.getBaseHref();this._basePath=function se(_e){if(new RegExp("^(https?:)?//").test(_e)){const[,Pe]=_e.split(/\/\/[^\/]+/);return Pe}return _e}(M(ie(pt))),this._locationStrategy.onPopState(Qt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Qt.state,type:Qt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Pe=!1){return this.normalize(this._locationStrategy.path(Pe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Pe,pt=""){return this.path()==this.normalize(Pe+I(pt))}normalize(Pe){return _e.stripTrailingSlash(function X(_e,Tt){if(!_e||!Tt.startsWith(_e))return Tt;const Pe=Tt.substring(_e.length);return""===Pe||["/",";","?","#"].includes(Pe[0])?Pe:Tt}(this._basePath,ie(Pe)))}prepareExternalUrl(Pe){return Pe&&"/"!==Pe[0]&&(Pe="/"+Pe),this._locationStrategy.prepareExternalUrl(Pe)}go(Pe,pt="",Qt=null){this._locationStrategy.pushState(Qt,"",Pe,pt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Pe+I(pt)),Qt)}replaceState(Pe,pt="",Qt=null){this._locationStrategy.replaceState(Qt,"",Pe,pt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Pe+I(pt)),Qt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Pe=0){this._locationStrategy.historyGo?.(Pe)}onUrlChange(Pe){return this._urlChangeListeners.push(Pe),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(pt=>{this._notifyUrlChangeListeners(pt.url,pt.state)})),()=>{const pt=this._urlChangeListeners.indexOf(Pe);this._urlChangeListeners.splice(pt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Pe="",pt){this._urlChangeListeners.forEach(Qt=>Qt(Pe,pt))}subscribe(Pe,pt,Qt){return this._subject.subscribe({next:Pe,error:pt,complete:Qt})}static#e=this.normalizeQueryParams=I;static#t=this.joinWithSlash=E;static#i=this.stripTrailingSlash=M;static#n=this.\u0275fac=function(pt){return new(pt||_e)(e.LFG(k))};static#r=this.\u0275prov=e.Yz7({token:_e,factory:()=>function K(){return new j((0,e.LFG)(k))}(),providedIn:"root"})}return _e})();function ie(_e){return _e.replace(/\/index.html$/,"")}var ae=function(_e){return _e[_e.Decimal=0]="Decimal",_e[_e.Percent=1]="Percent",_e[_e.Currency=2]="Currency",_e[_e.Scientific=3]="Scientific",_e}(ae||{}),J=function(_e){return _e[_e.Format=0]="Format",_e[_e.Standalone=1]="Standalone",_e}(J||{}),he=function(_e){return _e[_e.Narrow=0]="Narrow",_e[_e.Abbreviated=1]="Abbreviated",_e[_e.Wide=2]="Wide",_e[_e.Short=3]="Short",_e}(he||{}),S=function(_e){return _e[_e.Short=0]="Short",_e[_e.Medium=1]="Medium",_e[_e.Long=2]="Long",_e[_e.Full=3]="Full",_e}(S||{}),n=function(_e){return _e[_e.Decimal=0]="Decimal",_e[_e.Group=1]="Group",_e[_e.List=2]="List",_e[_e.PercentSign=3]="PercentSign",_e[_e.PlusSign=4]="PlusSign",_e[_e.MinusSign=5]="MinusSign",_e[_e.Exponential=6]="Exponential",_e[_e.SuperscriptingExponent=7]="SuperscriptingExponent",_e[_e.PerMille=8]="PerMille",_e[_e.Infinity=9]="Infinity",_e[_e.NaN=10]="NaN",_e[_e.TimeSeparator=11]="TimeSeparator",_e[_e.CurrencyDecimal=12]="CurrencyDecimal",_e[_e.CurrencyGroup=13]="CurrencyGroup",_e}(n||{});function g(_e,Tt){return qe((0,e.cg1)(_e)[e.wAp.DateFormat],Tt)}function H(_e,Tt){return qe((0,e.cg1)(_e)[e.wAp.TimeFormat],Tt)}function R(_e,Tt){return qe((0,e.cg1)(_e)[e.wAp.DateTimeFormat],Tt)}function ee(_e,Tt){const Pe=(0,e.cg1)(_e),pt=Pe[e.wAp.NumberSymbols][Tt];if(typeof pt>"u"){if(Tt===n.CurrencyDecimal)return Pe[e.wAp.NumberSymbols][n.Decimal];if(Tt===n.CurrencyGroup)return Pe[e.wAp.NumberSymbols][n.Group]}return pt}function de(_e){if(!_e[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${_e[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(_e,Tt){for(let Pe=Tt;Pe>-1;Pe--)if(typeof _e[Pe]<"u")return _e[Pe];throw new Error("Locale data API: locale data undefined")}function re(_e){const[Tt,Pe]=_e.split(":");return{hours:+Tt,minutes:+Pe}}const We=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ct={},ut=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var It=function(_e){return _e[_e.Short=0]="Short",_e[_e.ShortGMT=1]="ShortGMT",_e[_e.Long=2]="Long",_e[_e.Extended=3]="Extended",_e}(It||{}),Ae=function(_e){return _e[_e.FullYear=0]="FullYear",_e[_e.Month=1]="Month",_e[_e.Date=2]="Date",_e[_e.Hours=3]="Hours",_e[_e.Minutes=4]="Minutes",_e[_e.Seconds=5]="Seconds",_e[_e.FractionalSeconds=6]="FractionalSeconds",_e[_e.Day=7]="Day",_e}(Ae||{}),Be=function(_e){return _e[_e.DayPeriods=0]="DayPeriods",_e[_e.Days=1]="Days",_e[_e.Months=2]="Months",_e[_e.Eras=3]="Eras",_e}(Be||{});function rt(_e,Tt,Pe,pt){let Qt=function Le(_e){if($(_e))return _e;if("number"==typeof _e&&!isNaN(_e))return new Date(_e);if("string"==typeof _e){if(_e=_e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_e)){const[Qt,Re=1,ft=1]=_e.split("-").map(_t=>+_t);return $e(Qt,Re-1,ft)}const Pe=parseFloat(_e);if(!isNaN(_e-Pe))return new Date(Pe);let pt;if(pt=_e.match(We))return function be(_e){const Tt=new Date(0);let Pe=0,pt=0;const Qt=_e[8]?Tt.setUTCFullYear:Tt.setFullYear,Re=_e[8]?Tt.setUTCHours:Tt.setHours;_e[9]&&(Pe=Number(_e[9]+_e[10]),pt=Number(_e[9]+_e[11])),Qt.call(Tt,Number(_e[1]),Number(_e[2])-1,Number(_e[3]));const ft=Number(_e[4]||0)-Pe,_t=Number(_e[5]||0)-pt,Lt=Number(_e[6]||0),Xt=Math.floor(1e3*parseFloat("0."+(_e[7]||0)));return Re.call(Tt,ft,_t,Lt,Xt),Tt}(pt)}const Tt=new Date(_e);if(!$(Tt))throw new Error(`Unable to convert "${_e}" into a date`);return Tt}(_e);Tt=Ie(Pe,Tt)||Tt;let _t,ft=[];for(;Tt;){if(_t=ut.exec(Tt),!_t){ft.push(Tt);break}{ft=ft.concat(_t.slice(1));const hi=ft.pop();if(!hi)break;Tt=hi}}let Lt=Qt.getTimezoneOffset();pt&&(Lt=Ge(pt,Lt),Qt=function gt(_e,Tt,Pe){const pt=Pe?-1:1,Qt=_e.getTimezoneOffset();return function Xe(_e,Tt){return(_e=new Date(_e.getTime())).setMinutes(_e.getMinutes()+Tt),_e}(_e,pt*(Ge(Tt,Qt)-Qt))}(Qt,pt,!0));let Xt="";return ft.forEach(hi=>{const di=function nt(_e){if(Ee[_e])return Ee[_e];let Tt;switch(_e){case"G":case"GG":case"GGG":Tt=Ue(Be.Eras,he.Abbreviated);break;case"GGGG":Tt=Ue(Be.Eras,he.Wide);break;case"GGGGG":Tt=Ue(Be.Eras,he.Narrow);break;case"y":Tt=dt(Ae.FullYear,1,0,!1,!0);break;case"yy":Tt=dt(Ae.FullYear,2,0,!0,!0);break;case"yyy":Tt=dt(Ae.FullYear,3,0,!1,!0);break;case"yyyy":Tt=dt(Ae.FullYear,4,0,!1,!0);break;case"Y":Tt=at(1);break;case"YY":Tt=at(2,!0);break;case"YYY":Tt=at(3);break;case"YYYY":Tt=at(4);break;case"M":case"L":Tt=dt(Ae.Month,1,1);break;case"MM":case"LL":Tt=dt(Ae.Month,2,1);break;case"MMM":Tt=Ue(Be.Months,he.Abbreviated);break;case"MMMM":Tt=Ue(Be.Months,he.Wide);break;case"MMMMM":Tt=Ue(Be.Months,he.Narrow);break;case"LLL":Tt=Ue(Be.Months,he.Abbreviated,J.Standalone);break;case"LLLL":Tt=Ue(Be.Months,he.Wide,J.Standalone);break;case"LLLLL":Tt=Ue(Be.Months,he.Narrow,J.Standalone);break;case"w":Tt=yt(1);break;case"ww":Tt=yt(2);break;case"W":Tt=yt(1,!0);break;case"d":Tt=dt(Ae.Date,1);break;case"dd":Tt=dt(Ae.Date,2);break;case"c":case"cc":Tt=dt(Ae.Day,1);break;case"ccc":Tt=Ue(Be.Days,he.Abbreviated,J.Standalone);break;case"cccc":Tt=Ue(Be.Days,he.Wide,J.Standalone);break;case"ccccc":Tt=Ue(Be.Days,he.Narrow,J.Standalone);break;case"cccccc":Tt=Ue(Be.Days,he.Short,J.Standalone);break;case"E":case"EE":case"EEE":Tt=Ue(Be.Days,he.Abbreviated);break;case"EEEE":Tt=Ue(Be.Days,he.Wide);break;case"EEEEE":Tt=Ue(Be.Days,he.Narrow);break;case"EEEEEE":Tt=Ue(Be.Days,he.Short);break;case"a":case"aa":case"aaa":Tt=Ue(Be.DayPeriods,he.Abbreviated);break;case"aaaa":Tt=Ue(Be.DayPeriods,he.Wide);break;case"aaaaa":Tt=Ue(Be.DayPeriods,he.Narrow);break;case"b":case"bb":case"bbb":Tt=Ue(Be.DayPeriods,he.Abbreviated,J.Standalone,!0);break;case"bbbb":Tt=Ue(Be.DayPeriods,he.Wide,J.Standalone,!0);break;case"bbbbb":Tt=Ue(Be.DayPeriods,he.Narrow,J.Standalone,!0);break;case"B":case"BB":case"BBB":Tt=Ue(Be.DayPeriods,he.Abbreviated,J.Format,!0);break;case"BBBB":Tt=Ue(Be.DayPeriods,he.Wide,J.Format,!0);break;case"BBBBB":Tt=Ue(Be.DayPeriods,he.Narrow,J.Format,!0);break;case"h":Tt=dt(Ae.Hours,1,-12);break;case"hh":Tt=dt(Ae.Hours,2,-12);break;case"H":Tt=dt(Ae.Hours,1);break;case"HH":Tt=dt(Ae.Hours,2);break;case"m":Tt=dt(Ae.Minutes,1);break;case"mm":Tt=dt(Ae.Minutes,2);break;case"s":Tt=dt(Ae.Seconds,1);break;case"ss":Tt=dt(Ae.Seconds,2);break;case"S":Tt=dt(Ae.FractionalSeconds,1);break;case"SS":Tt=dt(Ae.FractionalSeconds,2);break;case"SSS":Tt=dt(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Tt=Ye(It.Short);break;case"ZZZZZ":Tt=Ye(It.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Tt=Ye(It.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Tt=Ye(It.Long);break;default:return null}return Ee[_e]=Tt,Tt}(hi);Xt+=di?di(Qt,Pe,Lt):"''"===hi?"'":hi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Xt}function $e(_e,Tt,Pe){const pt=new Date(0);return pt.setFullYear(_e,Tt,Pe),pt.setHours(0,0,0),pt}function Ie(_e,Tt){const Pe=function f(_e){return(0,e.cg1)(_e)[e.wAp.LocaleId]}(_e);if(Ct[Pe]=Ct[Pe]||{},Ct[Pe][Tt])return Ct[Pe][Tt];let pt="";switch(Tt){case"shortDate":pt=g(_e,S.Short);break;case"mediumDate":pt=g(_e,S.Medium);break;case"longDate":pt=g(_e,S.Long);break;case"fullDate":pt=g(_e,S.Full);break;case"shortTime":pt=H(_e,S.Short);break;case"mediumTime":pt=H(_e,S.Medium);break;case"longTime":pt=H(_e,S.Long);break;case"fullTime":pt=H(_e,S.Full);break;case"short":const Qt=Ie(_e,"shortTime"),Re=Ie(_e,"shortDate");pt=lt(R(_e,S.Short),[Qt,Re]);break;case"medium":const ft=Ie(_e,"mediumTime"),_t=Ie(_e,"mediumDate");pt=lt(R(_e,S.Medium),[ft,_t]);break;case"long":const Lt=Ie(_e,"longTime"),Xt=Ie(_e,"longDate");pt=lt(R(_e,S.Long),[Lt,Xt]);break;case"full":const hi=Ie(_e,"fullTime"),di=Ie(_e,"fullDate");pt=lt(R(_e,S.Full),[hi,di])}return pt&&(Ct[Pe][Tt]=pt),pt}function lt(_e,Tt){return Tt&&(_e=_e.replace(/\{([^}]+)}/g,function(Pe,pt){return null!=Tt&&pt in Tt?Tt[pt]:Pe})),_e}function Qe(_e,Tt,Pe="-",pt,Qt){let Re="";(_e<0||Qt&&_e<=0)&&(Qt?_e=1-_e:(_e=-_e,Re=Pe));let ft=String(_e);for(;ft.length0||_t>-Pe)&&(_t+=Pe),_e===Ae.Hours)0===_t&&-12===Pe&&(_t=12);else if(_e===Ae.FractionalSeconds)return function St(_e,Tt){return Qe(_e,3).substring(0,Tt)}(_t,Tt);const Lt=ee(ft,n.MinusSign);return Qe(_t,Tt,Lt,pt,Qt)}}function Ue(_e,Tt,Pe=J.Format,pt=!1){return function(Qt,Re){return function Bt(_e,Tt,Pe,pt,Qt,Re){switch(Pe){case Be.Months:return function D(_e,Tt,Pe){const pt=(0,e.cg1)(_e),Re=qe([pt[e.wAp.MonthsFormat],pt[e.wAp.MonthsStandalone]],Tt);return qe(Re,Pe)}(Tt,Qt,pt)[_e.getMonth()];case Be.Days:return function C(_e,Tt,Pe){const pt=(0,e.cg1)(_e),Re=qe([pt[e.wAp.DaysFormat],pt[e.wAp.DaysStandalone]],Tt);return qe(Re,Pe)}(Tt,Qt,pt)[_e.getDay()];case Be.DayPeriods:const ft=_e.getHours(),_t=_e.getMinutes();if(Re){const Xt=function xe(_e){const Tt=(0,e.cg1)(_e);return de(Tt),(Tt[e.wAp.ExtraData][2]||[]).map(pt=>"string"==typeof pt?re(pt):[re(pt[0]),re(pt[1])])}(Tt),hi=function le(_e,Tt,Pe){const pt=(0,e.cg1)(_e);de(pt);const Re=qe([pt[e.wAp.ExtraData][0],pt[e.wAp.ExtraData][1]],Tt)||[];return qe(Re,Pe)||[]}(Tt,Qt,pt),di=Xt.findIndex(Si=>{if(Array.isArray(Si)){const[Ii,Xi]=Si,en=ft>=Ii.hours&&_t>=Ii.minutes,cn=ft0?Math.floor(Qt/60):Math.ceil(Qt/60);switch(_e){case It.Short:return(Qt>=0?"+":"")+Qe(ft,2,Re)+Qe(Math.abs(Qt%60),2,Re);case It.ShortGMT:return"GMT"+(Qt>=0?"+":"")+Qe(ft,1,Re);case It.Long:return"GMT"+(Qt>=0?"+":"")+Qe(ft,2,Re)+":"+Qe(Math.abs(Qt%60),2,Re);case It.Extended:return 0===pt?"Z":(Qt>=0?"+":"")+Qe(ft,2,Re)+":"+Qe(Math.abs(Qt%60),2,Re);default:throw new Error(`Unknown zone width "${_e}"`)}}}const je=0,Ft=4;function Ot(_e){return $e(_e.getFullYear(),_e.getMonth(),_e.getDate()+(Ft-_e.getDay()))}function yt(_e,Tt=!1){return function(Pe,pt){let Qt;if(Tt){const Re=new Date(Pe.getFullYear(),Pe.getMonth(),1).getDay()-1,ft=Pe.getDate();Qt=1+Math.floor((ft+Re)/7)}else{const Re=Ot(Pe),ft=function xt(_e){const Tt=$e(_e,je,1).getDay();return $e(_e,0,1+(Tt<=Ft?Ft:Ft+7)-Tt)}(Re.getFullYear()),_t=Re.getTime()-ft.getTime();Qt=1+Math.round(_t/6048e5)}return Qe(Qt,_e,ee(pt,n.MinusSign))}}function at(_e,Tt=!1){return function(Pe,pt){return Qe(Ot(Pe).getFullYear(),_e,ee(pt,n.MinusSign),Tt)}}const Ee={};function Ge(_e,Tt){_e=_e.replace(/:/g,"");const Pe=Date.parse("Jan 01, 1970 00:00:00 "+_e)/6e4;return isNaN(Pe)?Tt:Pe}function $(_e){return _e instanceof Date&&!isNaN(_e.valueOf())}const ne=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ce(_e){const Tt=parseInt(_e);if(isNaN(Tt))throw new Error("Invalid integer literal when parsing "+_e);return Tt}function Gt(_e,Tt){Tt=encodeURIComponent(Tt);for(const Pe of _e.split(";")){const pt=Pe.indexOf("="),[Qt,Re]=-1==pt?[Pe,""]:[Pe.slice(0,pt),Pe.slice(pt+1)];if(Qt.trim()===Tt)return decodeURIComponent(Re)}return null}const oi=/\s+/,bi=[];let yi=(()=>{class _e{constructor(Pe,pt,Qt,Re){this._iterableDiffers=Pe,this._keyValueDiffers=pt,this._ngEl=Qt,this._renderer=Re,this.initialClasses=bi,this.stateMap=new Map}set klass(Pe){this.initialClasses=null!=Pe?Pe.trim().split(oi):bi}set ngClass(Pe){this.rawClass="string"==typeof Pe?Pe.trim().split(oi):Pe}ngDoCheck(){for(const pt of this.initialClasses)this._updateState(pt,!0);const Pe=this.rawClass;if(Array.isArray(Pe)||Pe instanceof Set)for(const pt of Pe)this._updateState(pt,!0);else if(null!=Pe)for(const pt of Object.keys(Pe))this._updateState(pt,!!Pe[pt]);this._applyStateDiff()}_updateState(Pe,pt){const Qt=this.stateMap.get(Pe);void 0!==Qt?(Qt.enabled!==pt&&(Qt.changed=!0,Qt.enabled=pt),Qt.touched=!0):this.stateMap.set(Pe,{enabled:pt,changed:!0,touched:!0})}_applyStateDiff(){for(const Pe of this.stateMap){const pt=Pe[0],Qt=Pe[1];Qt.changed?(this._toggleClass(pt,Qt.enabled),Qt.changed=!1):Qt.touched||(Qt.enabled&&this._toggleClass(pt,!1),this.stateMap.delete(pt)),Qt.touched=!1}}_toggleClass(Pe,pt){(Pe=Pe.trim()).length>0&&Pe.split(oi).forEach(Qt=>{pt?this._renderer.addClass(this._ngEl.nativeElement,Qt):this._renderer.removeClass(this._ngEl.nativeElement,Qt)})}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return _e})();class Bi{constructor(Tt,Pe,pt,Qt){this.$implicit=Tt,this.ngForOf=Pe,this.index=pt,this.count=Qt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let qt=(()=>{class _e{set ngForOf(Pe){this._ngForOf=Pe,this._ngForOfDirty=!0}set ngForTrackBy(Pe){this._trackByFn=Pe}get ngForTrackBy(){return this._trackByFn}constructor(Pe,pt,Qt){this._viewContainer=Pe,this._template=pt,this._differs=Qt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Pe){Pe&&(this._template=Pe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Pe=this._ngForOf;!this._differ&&Pe&&(this._differ=this._differs.find(Pe).create(this.ngForTrackBy))}if(this._differ){const Pe=this._differ.diff(this._ngForOf);Pe&&this._applyChanges(Pe)}}_applyChanges(Pe){const pt=this._viewContainer;Pe.forEachOperation((Qt,Re,ft)=>{if(null==Qt.previousIndex)pt.createEmbeddedView(this._template,new Bi(Qt.item,this._ngForOf,-1,-1),null===ft?void 0:ft);else if(null==ft)pt.remove(null===Re?void 0:Re);else if(null!==Re){const _t=pt.get(Re);pt.move(_t,ft),xi(_t,Qt)}});for(let Qt=0,Re=pt.length;Qt{xi(pt.get(Qt.currentIndex),Qt)})}static ngTemplateContextGuard(Pe,pt){return!0}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return _e})();function xi(_e,Tt){_e.context.$implicit=Tt.item}let Ve=(()=>{class _e{constructor(Pe,pt){this._viewContainer=Pe,this._context=new et,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=pt}set ngIf(Pe){this._context.$implicit=this._context.ngIf=Pe,this._updateView()}set ngIfThen(Pe){tt("ngIfThen",Pe),this._thenTemplateRef=Pe,this._thenViewRef=null,this._updateView()}set ngIfElse(Pe){tt("ngIfElse",Pe),this._elseTemplateRef=Pe,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Pe,pt){return!0}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.s_b),e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return _e})();class et{constructor(){this.$implicit=null,this.ngIf=null}}function tt(_e,Tt){if(Tt&&!Tt.createEmbeddedView)throw new Error(`${_e} must be a TemplateRef, but received '${(0,e.AaK)(Tt)}'.`)}class ri{constructor(Tt,Pe){this._viewContainerRef=Tt,this._templateRef=Pe,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Tt){Tt&&!this._created?this.create():!Tt&&this._created&&this.destroy()}}let fn=(()=>{class _e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Pe){this._ngSwitch=Pe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Pe){this._defaultViews.push(Pe)}_matchCase(Pe){const pt=Pe===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||pt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),pt}_updateDefaultCases(Pe){if(this._defaultViews.length>0&&Pe!==this._defaultUsed){this._defaultUsed=Pe;for(const pt of this._defaultViews)pt.enforceState(Pe)}}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return _e})(),Sn=(()=>{class _e{constructor(Pe,pt,Qt){this.ngSwitch=Qt,Qt._addCase(),this._view=new ri(Pe,pt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(fn,9))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return _e})(),an=(()=>{class _e{constructor(Pe,pt,Qt){Qt._addDefault(new ri(Pe,pt))}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(fn,9))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return _e})(),$r=(()=>{class _e{constructor(Pe,pt,Qt){this._ngEl=Pe,this._differs=pt,this._renderer=Qt,this._ngStyle=null,this._differ=null}set ngStyle(Pe){this._ngStyle=Pe,!this._differ&&Pe&&(this._differ=this._differs.find(Pe).create())}ngDoCheck(){if(this._differ){const Pe=this._differ.diff(this._ngStyle);Pe&&this._applyChanges(Pe)}}_setStyle(Pe,pt){const[Qt,Re]=Pe.split("."),ft=-1===Qt.indexOf("-")?void 0:e.JOm.DashCase;null!=pt?this._renderer.setStyle(this._ngEl.nativeElement,Qt,Re?`${pt}${Re}`:pt,ft):this._renderer.removeStyle(this._ngEl.nativeElement,Qt,ft)}_applyChanges(Pe){Pe.forEachRemovedItem(pt=>this._setStyle(pt.key,null)),Pe.forEachAddedItem(pt=>this._setStyle(pt.key,pt.currentValue)),Pe.forEachChangedItem(pt=>this._setStyle(pt.key,pt.currentValue))}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return _e})(),Ni=(()=>{class _e{constructor(Pe){this._viewContainerRef=Pe,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Pe){if(this._shouldRecreateView(Pe)){const pt=this._viewContainerRef;if(this._viewRef&&pt.remove(pt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Qt=this._createContextForwardProxy();this._viewRef=pt.createEmbeddedView(this.ngTemplateOutlet,Qt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Pe){return!!Pe.ngTemplateOutlet||!!Pe.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Pe,pt,Qt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,pt,Qt),get:(Pe,pt,Qt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,pt,Qt)}})}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.s_b))};static#t=this.\u0275dir=e.lG2({type:_e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]})}return _e})();function pi(_e,Tt){return new e.vHH(2100,!1)}class _i{createSubscription(Tt,Pe){return(0,e.rg0)(()=>Tt.subscribe({next:Pe,error:pt=>{throw pt}}))}dispose(Tt){(0,e.rg0)(()=>Tt.unsubscribe())}}class Ci{createSubscription(Tt,Pe){return Tt.then(Pe,pt=>{throw pt})}dispose(Tt){}}const Gi=new Ci,Ji=new _i;let yn=(()=>{class _e{constructor(Pe){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Pe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Pe){return this._obj?Pe!==this._obj?(this._dispose(),this.transform(Pe)):this._latestValue:(Pe&&this._subscribe(Pe),this._latestValue)}_subscribe(Pe){this._obj=Pe,this._strategy=this._selectStrategy(Pe),this._subscription=this._strategy.createSubscription(Pe,pt=>this._updateLatestValue(Pe,pt))}_selectStrategy(Pe){if((0,e.QGY)(Pe))return Gi;if((0,e.F4k)(Pe))return Ji;throw pi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Pe,pt){Pe===this._obj&&(this._latestValue=pt,this._ref.markForCheck())}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.sBO,16))};static#t=this.\u0275pipe=e.Yjl({name:"async",type:_e,pure:!1,standalone:!0})}return _e})(),jn=(()=>{class _e{transform(Pe){if(null==Pe)return null;if("string"!=typeof Pe)throw pi();return Pe.toLowerCase()}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275pipe=e.Yjl({name:"lowercase",type:_e,pure:!0,standalone:!0})}return _e})();const Rn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Er=(()=>{class _e{transform(Pe){if(null==Pe)return null;if("string"!=typeof Pe)throw pi();return Pe.replace(Rn,pt=>pt[0].toUpperCase()+pt.slice(1).toLowerCase())}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275pipe=e.Yjl({name:"titlecase",type:_e,pure:!0,standalone:!0})}return _e})(),er=(()=>{class _e{transform(Pe){if(null==Pe)return null;if("string"!=typeof Pe)throw pi();return Pe.toUpperCase()}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275pipe=e.Yjl({name:"uppercase",type:_e,pure:!0,standalone:!0})}return _e})();const aa=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),ma=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");let oa=(()=>{class _e{constructor(Pe,pt,Qt){this.locale=Pe,this.defaultTimezone=pt,this.defaultOptions=Qt}transform(Pe,pt,Qt,Re){if(null==Pe||""===Pe||Pe!=Pe)return null;try{return rt(Pe,pt??this.defaultOptions?.dateFormat??"mediumDate",Re||this.locale,Qt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ft){throw pi()}}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.soG,16),e.Y36(aa,24),e.Y36(ma,24))};static#t=this.\u0275pipe=e.Yjl({name:"date",type:_e,pure:!0,standalone:!0})}return _e})(),Kn=(()=>{class _e{transform(Pe){return JSON.stringify(Pe,null,2)}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275pipe=e.Yjl({name:"json",type:_e,pure:!1,standalone:!0})}return _e})(),za=(()=>{class _e{constructor(Pe){this.differs=Pe,this.keyValues=[],this.compareFn=ga}transform(Pe,pt=ga){if(!Pe||!(Pe instanceof Map)&&"object"!=typeof Pe)return null;this.differ||(this.differ=this.differs.find(Pe).create());const Qt=this.differ.diff(Pe),Re=pt!==this.compareFn;return Qt&&(this.keyValues=[],Qt.forEachItem(ft=>{this.keyValues.push(function pa(_e,Tt){return{key:_e,value:Tt}}(ft.key,ft.currentValue))})),(Qt||Re)&&(this.keyValues.sort(pt),this.compareFn=pt),this.keyValues}static#e=this.\u0275fac=function(pt){return new(pt||_e)(e.Y36(e.aQg,16))};static#t=this.\u0275pipe=e.Yjl({name:"keyvalue",type:_e,pure:!1,standalone:!0})}return _e})();function ga(_e,Tt){const Pe=_e.key,pt=Tt.key;if(Pe===pt)return 0;if(void 0===Pe)return 1;if(void 0===pt)return-1;if(null===Pe)return 1;if(null===pt)return-1;if("string"==typeof Pe&&"string"==typeof pt)return Pe{class _e{constructor(Pe){this._locale=Pe}transform(Pe,pt,Qt){if(!function jr(_e){return!(null==_e||""===_e||_e!=_e)}(Pe))return null;Qt=Qt||this._locale;try{return function Ki(_e,Tt,Pe){return function li(_e,Tt,Pe,pt,Qt,Re,ft=!1){let _t="",Lt=!1;if(isFinite(_e)){let Xt=function st(_e){let pt,Qt,Re,ft,_t,Tt=Math.abs(_e)+"",Pe=0;for((Qt=Tt.indexOf("."))>-1&&(Tt=Tt.replace(".","")),(Re=Tt.search(/e/i))>0?(Qt<0&&(Qt=Re),Qt+=+Tt.slice(Re+1),Tt=Tt.substring(0,Re)):Qt<0&&(Qt=Tt.length),Re=0;"0"===Tt.charAt(Re);Re++);if(Re===(_t=Tt.length))pt=[0],Qt=1;else{for(_t--;"0"===Tt.charAt(_t);)_t--;for(Qt-=Re,pt=[],ft=0;Re<=_t;Re++,ft++)pt[ft]=Number(Tt.charAt(Re))}return Qt>22&&(pt=pt.splice(0,21),Pe=Qt-1,Qt=1),{digits:pt,exponent:Pe,integerLen:Qt}}(_e);ft&&(Xt=function on(_e){if(0===_e.digits[0])return _e;const Tt=_e.digits.length-_e.integerLen;return _e.exponent?_e.exponent+=2:(0===Tt?_e.digits.push(0,0):1===Tt&&_e.digits.push(0),_e.integerLen+=2),_e}(Xt));let hi=Tt.minInt,di=Tt.minFrac,Si=Tt.maxFrac;if(Re){const Ln=Re.match(ne);if(null===Ln)throw new Error(`${Re} is not a valid digit info`);const hr=Ln[1],Hr=Ln[3],da=Ln[5];null!=hr&&(hi=Ce(hr)),null!=Hr&&(di=Ce(Hr)),null!=da?Si=Ce(da):null!=Hr&&di>Si&&(Si=di)}!function si(_e,Tt,Pe){if(Tt>Pe)throw new Error(`The minimum number of digits after fraction (${Tt}) is higher than the maximum (${Pe}).`);let pt=_e.digits,Qt=pt.length-_e.integerLen;const Re=Math.min(Math.max(Tt,Qt),Pe);let ft=Re+_e.integerLen,_t=pt[ft];if(ft>0){pt.splice(Math.max(_e.integerLen,ft));for(let di=ft;di=5)if(ft-1<0){for(let di=0;di>ft;di--)pt.unshift(0),_e.integerLen++;pt.unshift(1),_e.integerLen++}else pt[ft-1]++;for(;Qt=Xt?Xi.pop():Lt=!1),Si>=10?1:0},0);hi&&(pt.unshift(hi),_e.integerLen++)}(Xt,di,Si);let Ii=Xt.digits,Xi=Xt.integerLen;const en=Xt.exponent;let cn=[];for(Lt=Ii.every(Ln=>!Ln);Xi0?cn=Ii.splice(Xi,Ii.length):(cn=Ii,Ii=[0]);const Un=[];for(Ii.length>=Tt.lgSize&&Un.unshift(Ii.splice(-Tt.lgSize,Ii.length).join(""));Ii.length>Tt.gSize;)Un.unshift(Ii.splice(-Tt.gSize,Ii.length).join(""));Ii.length&&Un.unshift(Ii.join("")),_t=Un.join(ee(Pe,pt)),cn.length&&(_t+=ee(Pe,Qt)+cn.join("")),en&&(_t+=ee(Pe,n.Exponential)+"+"+en)}else _t=ee(Pe,n.Infinity);return _t=_e<0&&!Lt?Tt.negPre+_t+Tt.negSuf:Tt.posPre+_t+Tt.posSuf,_t}(_e,function Mi(_e,Tt="-"){const Pe={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},pt=_e.split(";"),Qt=pt[0],Re=pt[1],ft=-1!==Qt.indexOf(".")?Qt.split("."):[Qt.substring(0,Qt.lastIndexOf("0")+1),Qt.substring(Qt.lastIndexOf("0")+1)],_t=ft[0],Lt=ft[1]||"";Pe.posPre=_t.substring(0,_t.indexOf("#"));for(let hi=0;hi{class _e{transform(Pe,pt,Qt){if(null==Pe)return null;if(!this.supports(Pe))throw pi();return Pe.slice(pt,Qt)}supports(Pe){return"string"==typeof Pe||Array.isArray(Pe)}static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275pipe=e.Yjl({name:"slice",type:_e,pure:!1,standalone:!0})}return _e})(),Bn=(()=>{class _e{static#e=this.\u0275fac=function(pt){return new(pt||_e)};static#t=this.\u0275mod=e.oAB({type:_e});static#i=this.\u0275inj=e.cJS({})}return _e})();const wa="browser",ao="server";function ea(_e){return _e===wa}function Ia(_e){return _e===ao}let Eo=(()=>{class _e{static#e=this.\u0275prov=(0,e.Yz7)({token:_e,providedIn:"root",factory:()=>new vo((0,e.LFG)(w),window)})}return _e})();class vo{constructor(Tt,Pe){this.document=Tt,this.window=Pe,this.offset=()=>[0,0]}setOffset(Tt){this.offset=Array.isArray(Tt)?()=>Tt:Tt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Tt){this.supportsScrolling()&&this.window.scrollTo(Tt[0],Tt[1])}scrollToAnchor(Tt){if(!this.supportsScrolling())return;const Pe=function Kr(_e,Tt){const Pe=_e.getElementById(Tt)||_e.getElementsByName(Tt)[0];if(Pe)return Pe;if("function"==typeof _e.createTreeWalker&&_e.body&&"function"==typeof _e.body.attachShadow){const pt=_e.createTreeWalker(_e.body,NodeFilter.SHOW_ELEMENT);let Qt=pt.currentNode;for(;Qt;){const Re=Qt.shadowRoot;if(Re){const ft=Re.getElementById(Tt)||Re.querySelector(`[name="${Tt}"]`);if(ft)return ft}Qt=pt.nextNode()}}return null}(this.document,Tt);Pe&&(this.scrollToElement(Pe),Pe.focus())}setHistoryScrollRestoration(Tt){this.supportsScrolling()&&(this.window.history.scrollRestoration=Tt)}scrollToElement(Tt){const Pe=Tt.getBoundingClientRect(),pt=Pe.left+this.window.pageXOffset,Qt=Pe.top+this.window.pageYOffset,Re=this.offset();this.window.scrollTo(pt-Re[0],Qt-Re[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class _a{}},9862:(Fe,q,p)=>{"use strict";p.d(q,{JF:()=>Wt,LE:()=>ue,TP:()=>xe,eN:()=>g}),p(5861);var t=p(9212),y=p(2096),A=p(5592),l=p(9666),w=p(6328),m=p(2181),P=p(7398),d=p(4716),E=p(4664),M=p(6814);class I{}class k{}class z{constructor(kt){this.normalizedNames=new Map,this.lazyUpdate=null,kt?"string"==typeof kt?this.lazyInit=()=>{this.headers=new Map,kt.split("\n").forEach(Gt=>{const oi=Gt.indexOf(":");if(oi>0){const bi=Gt.slice(0,oi),yi=bi.toLowerCase(),Oi=Gt.slice(oi+1).trim();this.maybeSetNormalizedName(bi,yi),this.headers.has(yi)?this.headers.get(yi).push(Oi):this.headers.set(yi,[Oi])}})}:typeof Headers<"u"&&kt instanceof Headers?(this.headers=new Map,kt.forEach((Gt,oi)=>{this.setHeaderEntries(oi,Gt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(kt).forEach(([Gt,oi])=>{this.setHeaderEntries(Gt,oi)})}:this.headers=new Map}has(kt){return this.init(),this.headers.has(kt.toLowerCase())}get(kt){this.init();const Gt=this.headers.get(kt.toLowerCase());return Gt&&Gt.length>0?Gt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(kt){return this.init(),this.headers.get(kt.toLowerCase())||null}append(kt,Gt){return this.clone({name:kt,value:Gt,op:"a"})}set(kt,Gt){return this.clone({name:kt,value:Gt,op:"s"})}delete(kt,Gt){return this.clone({name:kt,value:Gt,op:"d"})}maybeSetNormalizedName(kt,Gt){this.normalizedNames.has(Gt)||this.normalizedNames.set(Gt,kt)}init(){this.lazyInit&&(this.lazyInit instanceof z?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(kt=>this.applyUpdate(kt)),this.lazyUpdate=null))}copyFrom(kt){kt.init(),Array.from(kt.headers.keys()).forEach(Gt=>{this.headers.set(Gt,kt.headers.get(Gt)),this.normalizedNames.set(Gt,kt.normalizedNames.get(Gt))})}clone(kt){const Gt=new z;return Gt.lazyInit=this.lazyInit&&this.lazyInit instanceof z?this.lazyInit:this,Gt.lazyUpdate=(this.lazyUpdate||[]).concat([kt]),Gt}applyUpdate(kt){const Gt=kt.name.toLowerCase();switch(kt.op){case"a":case"s":let oi=kt.value;if("string"==typeof oi&&(oi=[oi]),0===oi.length)return;this.maybeSetNormalizedName(kt.name,Gt);const bi=("a"===kt.op?this.headers.get(Gt):void 0)||[];bi.push(...oi),this.headers.set(Gt,bi);break;case"d":const yi=kt.value;if(yi){let Oi=this.headers.get(Gt);if(!Oi)return;Oi=Oi.filter(Ui=>-1===yi.indexOf(Ui)),0===Oi.length?(this.headers.delete(Gt),this.normalizedNames.delete(Gt)):this.headers.set(Gt,Oi)}else this.headers.delete(Gt),this.normalizedNames.delete(Gt)}}setHeaderEntries(kt,Gt){const oi=(Array.isArray(Gt)?Gt:[Gt]).map(yi=>yi.toString()),bi=kt.toLowerCase();this.headers.set(bi,oi),this.maybeSetNormalizedName(kt,bi)}forEach(kt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Gt=>kt(this.normalizedNames.get(Gt),this.headers.get(Gt)))}}class W{encodeKey(kt){return ie(kt)}encodeValue(kt){return ie(kt)}decodeKey(kt){return decodeURIComponent(kt)}decodeValue(kt){return decodeURIComponent(kt)}}const K=/%(\d[a-f0-9])/gi,X={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ie(Dt){return encodeURIComponent(Dt).replace(K,(kt,Gt)=>X[Gt]??kt)}function se(Dt){return`${Dt}`}class ue{constructor(kt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=kt.encoder||new W,kt.fromString){if(kt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j(Dt,kt){const Gt=new Map;return Dt.length>0&&Dt.replace(/^\?/,"").split("&").forEach(bi=>{const yi=bi.indexOf("="),[Oi,Ui]=-1==yi?[kt.decodeKey(bi),""]:[kt.decodeKey(bi.slice(0,yi)),kt.decodeValue(bi.slice(yi+1))],Bi=Gt.get(Oi)||[];Bi.push(Ui),Gt.set(Oi,Bi)}),Gt}(kt.fromString,this.encoder)}else kt.fromObject?(this.map=new Map,Object.keys(kt.fromObject).forEach(Gt=>{const oi=kt.fromObject[Gt],bi=Array.isArray(oi)?oi.map(se):[se(oi)];this.map.set(Gt,bi)})):this.map=null}has(kt){return this.init(),this.map.has(kt)}get(kt){this.init();const Gt=this.map.get(kt);return Gt?Gt[0]:null}getAll(kt){return this.init(),this.map.get(kt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(kt,Gt){return this.clone({param:kt,value:Gt,op:"a"})}appendAll(kt){const Gt=[];return Object.keys(kt).forEach(oi=>{const bi=kt[oi];Array.isArray(bi)?bi.forEach(yi=>{Gt.push({param:oi,value:yi,op:"a"})}):Gt.push({param:oi,value:bi,op:"a"})}),this.clone(Gt)}set(kt,Gt){return this.clone({param:kt,value:Gt,op:"s"})}delete(kt,Gt){return this.clone({param:kt,value:Gt,op:"d"})}toString(){return this.init(),this.keys().map(kt=>{const Gt=this.encoder.encodeKey(kt);return this.map.get(kt).map(oi=>Gt+"="+this.encoder.encodeValue(oi)).join("&")}).filter(kt=>""!==kt).join("&")}clone(kt){const Gt=new ue({encoder:this.encoder});return Gt.cloneFrom=this.cloneFrom||this,Gt.updates=(this.updates||[]).concat(kt),Gt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(kt=>this.map.set(kt,this.cloneFrom.map.get(kt))),this.updates.forEach(kt=>{switch(kt.op){case"a":case"s":const Gt=("a"===kt.op?this.map.get(kt.param):void 0)||[];Gt.push(se(kt.value)),this.map.set(kt.param,Gt);break;case"d":if(void 0===kt.value){this.map.delete(kt.param);break}{let oi=this.map.get(kt.param)||[];const bi=oi.indexOf(se(kt.value));-1!==bi&&oi.splice(bi,1),oi.length>0?this.map.set(kt.param,oi):this.map.delete(kt.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(){this.map=new Map}set(kt,Gt){return this.map.set(kt,Gt),this}get(kt){return this.map.has(kt)||this.map.set(kt,kt.defaultValue()),this.map.get(kt)}delete(kt){return this.map.delete(kt),this}has(kt){return this.map.has(kt)}keys(){return this.map.keys()}}function he(Dt){return typeof ArrayBuffer<"u"&&Dt instanceof ArrayBuffer}function S(Dt){return typeof Blob<"u"&&Dt instanceof Blob}function n(Dt){return typeof FormData<"u"&&Dt instanceof FormData}class f{constructor(kt,Gt,oi,bi){let yi;if(this.url=Gt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=kt.toUpperCase(),function J(Dt){switch(Dt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||bi?(this.body=void 0!==oi?oi:null,yi=bi):yi=oi,yi&&(this.reportProgress=!!yi.reportProgress,this.withCredentials=!!yi.withCredentials,yi.responseType&&(this.responseType=yi.responseType),yi.headers&&(this.headers=yi.headers),yi.context&&(this.context=yi.context),yi.params&&(this.params=yi.params),this.transferCache=yi.transferCache),this.headers||(this.headers=new z),this.context||(this.context=new Me),this.params){const Oi=this.params.toString();if(0===Oi.length)this.urlWithParams=Gt;else{const Ui=Gt.indexOf("?");this.urlWithParams=Gt+(-1===Ui?"?":UiSe.set(Ve,kt.setHeaders[Ve]),Bi)),kt.setParams&&(qt=Object.keys(kt.setParams).reduce((Se,Ve)=>Se.set(Ve,kt.setParams[Ve]),qt)),new f(Gt,oi,yi,{params:qt,headers:Bi,context:xi,reportProgress:Ui,responseType:bi,withCredentials:Oi})}}var h=function(Dt){return Dt[Dt.Sent=0]="Sent",Dt[Dt.UploadProgress=1]="UploadProgress",Dt[Dt.ResponseHeader=2]="ResponseHeader",Dt[Dt.DownloadProgress=3]="DownloadProgress",Dt[Dt.Response=4]="Response",Dt[Dt.User=5]="User",Dt}(h||{});class C{constructor(kt,Gt=200,oi="OK"){this.headers=kt.headers||new z,this.status=void 0!==kt.status?kt.status:Gt,this.statusText=kt.statusText||oi,this.url=kt.url||null,this.ok=this.status>=200&&this.status<300}}class D extends C{constructor(kt={}){super(kt),this.type=h.ResponseHeader}clone(kt={}){return new D({headers:kt.headers||this.headers,status:void 0!==kt.status?kt.status:this.status,statusText:kt.statusText||this.statusText,url:kt.url||this.url||void 0})}}class O extends C{constructor(kt={}){super(kt),this.type=h.Response,this.body=void 0!==kt.body?kt.body:null}clone(kt={}){return new O({body:void 0!==kt.body?kt.body:this.body,headers:kt.headers||this.headers,status:void 0!==kt.status?kt.status:this.status,statusText:kt.statusText||this.statusText,url:kt.url||this.url||void 0})}}class v extends C{constructor(kt){super(kt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${kt.url||"(unknown url)"}`:`Http failure response for ${kt.url||"(unknown url)"}: ${kt.status} ${kt.statusText}`,this.error=kt.error||null}}function r(Dt,kt){return{body:kt,headers:Dt.headers,context:Dt.context,observe:Dt.observe,params:Dt.params,reportProgress:Dt.reportProgress,responseType:Dt.responseType,withCredentials:Dt.withCredentials,transferCache:Dt.transferCache}}let g=(()=>{class Dt{constructor(Gt){this.handler=Gt}request(Gt,oi,bi={}){let yi;if(Gt instanceof f)yi=Gt;else{let Bi,qt;Bi=bi.headers instanceof z?bi.headers:new z(bi.headers),bi.params&&(qt=bi.params instanceof ue?bi.params:new ue({fromObject:bi.params})),yi=new f(Gt,oi,void 0!==bi.body?bi.body:null,{headers:Bi,context:bi.context,params:qt,reportProgress:bi.reportProgress,responseType:bi.responseType||"json",withCredentials:bi.withCredentials,transferCache:bi.transferCache})}const Oi=(0,y.of)(yi).pipe((0,w.b)(Bi=>this.handler.handle(Bi)));if(Gt instanceof f||"events"===bi.observe)return Oi;const Ui=Oi.pipe((0,m.h)(Bi=>Bi instanceof O));switch(bi.observe||"body"){case"body":switch(yi.responseType){case"arraybuffer":return Ui.pipe((0,P.U)(Bi=>{if(null!==Bi.body&&!(Bi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Bi.body}));case"blob":return Ui.pipe((0,P.U)(Bi=>{if(null!==Bi.body&&!(Bi.body instanceof Blob))throw new Error("Response is not a Blob.");return Bi.body}));case"text":return Ui.pipe((0,P.U)(Bi=>{if(null!==Bi.body&&"string"!=typeof Bi.body)throw new Error("Response is not a string.");return Bi.body}));default:return Ui.pipe((0,P.U)(Bi=>Bi.body))}case"response":return Ui;default:throw new Error(`Unreachable: unhandled observe type ${bi.observe}}`)}}delete(Gt,oi={}){return this.request("DELETE",Gt,oi)}get(Gt,oi={}){return this.request("GET",Gt,oi)}head(Gt,oi={}){return this.request("HEAD",Gt,oi)}jsonp(Gt,oi){return this.request("JSONP",Gt,{params:(new ue).append(oi,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Gt,oi={}){return this.request("OPTIONS",Gt,oi)}patch(Gt,oi,bi={}){return this.request("PATCH",Gt,r(bi,oi))}post(Gt,oi,bi={}){return this.request("POST",Gt,r(bi,oi))}put(Gt,oi,bi={}){return this.request("PUT",Gt,r(bi,oi))}static#e=this.\u0275fac=function(oi){return new(oi||Dt)(t.LFG(I))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();function ye(Dt,kt){return kt(Dt)}function fe(Dt,kt){return(Gt,oi)=>kt.intercept(Gt,{handle:bi=>Dt(bi,oi)})}const xe=new t.OlP(""),le=new t.OlP(""),pe=new t.OlP(""),qe=new t.OlP("");function re(){let Dt=null;return(kt,Gt)=>{null===Dt&&(Dt=((0,t.f3M)(xe,{optional:!0})??[]).reduceRight(fe,ye));const oi=(0,t.f3M)(t.HDt),bi=oi.add();return Dt(kt,Gt).pipe((0,d.x)(()=>oi.remove(bi)))}}let Ze=(()=>{class Dt extends I{constructor(Gt,oi){super(),this.backend=Gt,this.injector=oi,this.chain=null,this.pendingTasks=(0,t.f3M)(t.HDt);const bi=(0,t.f3M)(qe,{optional:!0});this.backend=bi??Gt}handle(Gt){if(null===this.chain){const bi=Array.from(new Set([...this.injector.get(le),...this.injector.get(pe,[])]));this.chain=bi.reduceRight((yi,Oi)=>function de(Dt,kt,Gt){return(oi,bi)=>Gt.runInContext(()=>kt(oi,yi=>Dt(yi,bi)))}(yi,Oi,this.injector),ye)}const oi=this.pendingTasks.add();return this.chain(Gt,bi=>this.backend.handle(bi)).pipe((0,d.x)(()=>this.pendingTasks.remove(oi)))}static#e=this.\u0275fac=function(oi){return new(oi||Dt)(t.LFG(k),t.LFG(t.lqb))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();const St=/^\)\]\}',?\n/;let te=(()=>{class Dt{constructor(Gt){this.xhrFactory=Gt}handle(Gt){if("JSONP"===Gt.method)throw new t.vHH(-2800,!1);const oi=this.xhrFactory;return(oi.\u0275loadImpl?(0,l.D)(oi.\u0275loadImpl()):(0,y.of)(null)).pipe((0,E.w)(()=>new A.y(yi=>{const Oi=oi.build();if(Oi.open(Gt.method,Gt.urlWithParams),Gt.withCredentials&&(Oi.withCredentials=!0),Gt.headers.forEach((Yt,ri)=>Oi.setRequestHeader(Yt,ri.join(","))),Gt.headers.has("Accept")||Oi.setRequestHeader("Accept","application/json, text/plain, */*"),!Gt.headers.has("Content-Type")){const Yt=Gt.detectContentTypeHeader();null!==Yt&&Oi.setRequestHeader("Content-Type",Yt)}if(Gt.responseType){const Yt=Gt.responseType.toLowerCase();Oi.responseType="json"!==Yt?Yt:"text"}const Ui=Gt.serializeBody();let Bi=null;const qt=()=>{if(null!==Bi)return Bi;const Yt=Oi.statusText||"OK",ri=new z(Oi.getAllResponseHeaders()),fn=function dt(Dt){return"responseURL"in Dt&&Dt.responseURL?Dt.responseURL:/^X-Request-URL:/m.test(Dt.getAllResponseHeaders())?Dt.getResponseHeader("X-Request-URL"):null}(Oi)||Gt.url;return Bi=new D({headers:ri,status:Oi.status,statusText:Yt,url:fn}),Bi},xi=()=>{let{headers:Yt,status:ri,statusText:fn,url:Sn}=qt(),an=null;204!==ri&&(an=typeof Oi.response>"u"?Oi.responseText:Oi.response),0===ri&&(ri=an?200:0);let sr=ri>=200&&ri<300;if("json"===Gt.responseType&&"string"==typeof an){const Jr=an;an=an.replace(St,"");try{an=""!==an?JSON.parse(an):null}catch(Ar){an=Jr,sr&&(sr=!1,an={error:Ar,text:an})}}sr?(yi.next(new O({body:an,headers:Yt,status:ri,statusText:fn,url:Sn||void 0})),yi.complete()):yi.error(new v({error:an,headers:Yt,status:ri,statusText:fn,url:Sn||void 0}))},Se=Yt=>{const{url:ri}=qt(),fn=new v({error:Yt,status:Oi.status||0,statusText:Oi.statusText||"Unknown Error",url:ri||void 0});yi.error(fn)};let Ve=!1;const et=Yt=>{Ve||(yi.next(qt()),Ve=!0);let ri={type:h.DownloadProgress,loaded:Yt.loaded};Yt.lengthComputable&&(ri.total=Yt.total),"text"===Gt.responseType&&Oi.responseText&&(ri.partialText=Oi.responseText),yi.next(ri)},tt=Yt=>{let ri={type:h.UploadProgress,loaded:Yt.loaded};Yt.lengthComputable&&(ri.total=Yt.total),yi.next(ri)};return Oi.addEventListener("load",xi),Oi.addEventListener("error",Se),Oi.addEventListener("timeout",Se),Oi.addEventListener("abort",Se),Gt.reportProgress&&(Oi.addEventListener("progress",et),null!==Ui&&Oi.upload&&Oi.upload.addEventListener("progress",tt)),Oi.send(Ui),yi.next({type:h.Sent}),()=>{Oi.removeEventListener("error",Se),Oi.removeEventListener("abort",Se),Oi.removeEventListener("load",xi),Oi.removeEventListener("timeout",Se),Gt.reportProgress&&(Oi.removeEventListener("progress",et),null!==Ui&&Oi.upload&&Oi.upload.removeEventListener("progress",tt)),Oi.readyState!==Oi.DONE&&Oi.abort()}})))}static#e=this.\u0275fac=function(oi){return new(oi||Dt)(t.LFG(M.JF))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();const Ue=new t.OlP("XSRF_ENABLED"),Ye=new t.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Ft=new t.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class xt{}let Ot=(()=>{class Dt{constructor(Gt,oi,bi){this.doc=Gt,this.platform=oi,this.cookieName=bi,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Gt=this.doc.cookie||"";return Gt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,M.Mx)(Gt,this.cookieName),this.lastCookieString=Gt),this.lastToken}static#e=this.\u0275fac=function(oi){return new(oi||Dt)(t.LFG(M.K0),t.LFG(t.Lbi),t.LFG(Ye))};static#t=this.\u0275prov=t.Yz7({token:Dt,factory:Dt.\u0275fac})}return Dt})();function yt(Dt,kt){const Gt=Dt.url.toLowerCase();if(!(0,t.f3M)(Ue)||"GET"===Dt.method||"HEAD"===Dt.method||Gt.startsWith("http://")||Gt.startsWith("https://"))return kt(Dt);const oi=(0,t.f3M)(xt).getToken(),bi=(0,t.f3M)(Ft);return null!=oi&&!Dt.headers.has(bi)&&(Dt=Dt.clone({headers:Dt.headers.set(bi,oi)})),kt(Dt)}var Ee=function(Dt){return Dt[Dt.Interceptors=0]="Interceptors",Dt[Dt.LegacyInterceptors=1]="LegacyInterceptors",Dt[Dt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Dt[Dt.NoXsrfProtection=3]="NoXsrfProtection",Dt[Dt.JsonpSupport=4]="JsonpSupport",Dt[Dt.RequestsMadeViaParent=5]="RequestsMadeViaParent",Dt[Dt.Fetch=6]="Fetch",Dt}(Ee||{});function Ge(...Dt){const kt=[g,te,Ze,{provide:I,useExisting:Ze},{provide:k,useExisting:te},{provide:le,useValue:yt,multi:!0},{provide:Ue,useValue:!0},{provide:xt,useClass:Ot}];for(const Gt of Dt)kt.push(...Gt.\u0275providers);return(0,t.MR2)(kt)}const gt=new t.OlP("LEGACY_INTERCEPTOR_FN");function Le(){return function nt(Dt,kt){return{\u0275kind:Dt,\u0275providers:kt}}(Ee.LegacyInterceptors,[{provide:gt,useFactory:re},{provide:le,useExisting:gt,multi:!0}])}let Wt=(()=>{class Dt{static#e=this.\u0275fac=function(oi){return new(oi||Dt)};static#t=this.\u0275mod=t.oAB({type:Dt});static#i=this.\u0275inj=t.cJS({providers:[Ge(Le())]})}return Dt})()},9212:(Fe,q,p)=>{"use strict";function e(i,a){return Object.is(i,a)}p.d(q,{QbO:()=>qh,tb:()=>bg,AFp:()=>a0,ip1:()=>ug,hGG:()=>K7,z2F:()=>Ch,Ojb:()=>Za,sBO:()=>Q0,Sil:()=>Ey,_Vd:()=>G0,EJc:()=>xy,ktI:()=>ba,Xts:()=>ec,SBq:()=>n2,lqb:()=>us,qLn:()=>a1,vpe:()=>Hs,tBr:()=>Sd,XFs:()=>xi,OlP:()=>an,zs3:()=>fs,ZZ4:()=>m3,aQg:()=>Tu,soG:()=>Q4,YKP:()=>O_,h0i:()=>C2,R0b:()=>mo,FiY:()=>E1,Lbi:()=>o0,g9A:()=>Qh,n_E:()=>vf,Qsj:()=>Nm,FYo:()=>d3,JOm:()=>ts,q3G:()=>q1,tp0:()=>T1,Rgc:()=>w2,dDg:()=>Qy,eoX:()=>R7,GfV:()=>Fm,s_b:()=>c4,ifc:()=>kr,T8G:()=>U3,gHi:()=>P1,dUe:()=>X0,VuI:()=>pv,Flj:()=>zm,MMx:()=>Y6,Lck:()=>F4,eFA:()=>N7,Gpc:()=>$e,f3M:()=>Kn,X6Q:()=>cx,$WT:()=>nr,MR2:()=>L1,Cb_:()=>gv,_c5:()=>mx,qFp:()=>Nx,r_H:()=>Zh,tdS:()=>Eu,rg0:()=>Xg,c2e:()=>M7,zSh:()=>Ps,HDt:()=>T7,wAp:()=>mh,vHH:()=>te,lri:()=>P7,rWj:()=>gg,JZr:()=>dt,EiD:()=>bm,mCW:()=>Qd,qzn:()=>Qa,JVY:()=>ua,pB0:()=>kc,eBb:()=>pu,L6k:()=>P0,LAX:()=>no,cg1:()=>w4,kuF:()=>Ue,kL8:()=>k5,dqk:()=>ri,Z0I:()=>Gt,eJc:()=>ic,QGY:()=>A6,F4k:()=>D6,RDi:()=>Kh,AaK:()=>It,z3N:()=>io,qOj:()=>Y3,Xq5:()=>zp,TTD:()=>en,_Bn:()=>G6,jDz:()=>R_,xp6:()=>ap,uIk:()=>Ju,Tol:()=>ra,Gre:()=>br,ekj:()=>zr,um2:()=>e5,Suo:()=>n7,Xpm:()=>Gr,lG2:()=>Ai,Yz7:()=>Mt,cJS:()=>Dt,oAB:()=>Ao,Yjl:()=>wt,Y36:()=>$1,_UZ:()=>g6,GkF:()=>_6,BQk:()=>x4,ynx:()=>hf,qZA:()=>y4,TgZ:()=>df,EpF:()=>L5,n5z:()=>Ih,Ikx:()=>v6,LFG:()=>fr,$8M:()=>Ol,$Z:()=>x3,NdJ:()=>L6,CRH:()=>r7,kcU:()=>_1,O4$:()=>D2,oxw:()=>a_,ALo:()=>Q_,lcZ:()=>$6,xi3:()=>q_,Dn7:()=>X_,Hsn:()=>s_,F$t:()=>o_,Q6J:()=>Yn,s9C:()=>k6,MGl:()=>P4,hYB:()=>R4,DdM:()=>G_,VKq:()=>Z_,WLB:()=>B4,kEZ:()=>W_,iGM:()=>t7,MAs:()=>u_,wJu:()=>a5,SjG:()=>n5,x6l:()=>t5,KtG:()=>vc,Jf7:()=>c0,CHM:()=>Ml,oJD:()=>ym,P3R:()=>i3,Udp:()=>Cn,WFA:()=>I4,d8E:()=>C4,YNc:()=>oh,W1O:()=>o7,_uU:()=>M_,Oqu:()=>_h,hij:()=>N4,AsE:()=>H6,lnq:()=>F6,HOy:()=>z6,Gf:()=>i7});let t=null,y=!1,A=1;const l=Symbol("SIGNAL");function w(i){const a=t;return t=i,a}const E={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function M(i){if(y)throw new Error("");if(null===t)return;t.consumerOnSignalRead(i);const a=t.nextProducerIndex++;Me(t),ai.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}function X(i){Me(i);for(let a=0;a0}function Me(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}function J(i){i.liveConsumerNode??=[],i.liveConsumerIndexOfThis??=[]}const S=Symbol("UNSET"),n=Symbol("COMPUTING"),s=Symbol("ERRORED"),f=(()=>({...E,value:S,dirty:!0,error:null,equal:e,producerMustRecompute:i=>i.value===S||i.value===n,producerRecomputeValue(i){if(i.value===n)throw new Error("Detected cycle in computations.");const a=i.value;i.value=n;const c=j(i);let _;try{_=i.computation()}catch(T){_=s,i.error=T}finally{K(i,c)}a!==S&&a!==s&&_!==s&&i.equal(a,_)?i.value=a:(i.value=_,i.version++)}}))();let C=function h(){throw new Error};function D(){C()}let v=null;function R(i,a){B()||D();const c=i.value;Object.is(c,a)||i.equal(c,a)||(i.value=a,function Ke(i){i.version++,function I(){A++}(),z(i),v?.()}(i))}const ct=(()=>({...E,equal:e,value:void 0}))();var xe=p(8645),le=p(7394),pe=p(5592),qe=p(3019),re=p(5619),ve=p(2096),ce=p(3020),Ze=p(4664),We=p(3997);function Ct(i){for(let a in i)if(i[a]===Ct)return a;throw Error("Could not find renamed property on target object.")}function ut(i,a){for(const c in a)a.hasOwnProperty(c)&&!i.hasOwnProperty(c)&&(i[c]=a[c])}function It(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(It).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const a=i.toString();if(null==a)return""+a;const c=a.indexOf("\n");return-1===c?a:a.substring(0,c)}function Ae(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const rt=Ct({__forward_ref__:Ct});function $e(i){return i.__forward_ref__=$e,i.toString=function(){return It(this())},i}function Ie(i){return lt(i)?i():i}function lt(i){return"function"==typeof i&&i.hasOwnProperty(rt)&&i.__forward_ref__===$e}function Qe(i){return i&&!!i.\u0275providers}const dt="https://g.co/ng/security#xss";class te extends Error{constructor(a,c){super(Ue(a,c)),this.code=a}}function Ue(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}const Bt=Ct({\u0275cmp:Ct}),Ye=Ct({\u0275dir:Ct}),je=Ct({\u0275pipe:Ct}),Ft=Ct({\u0275mod:Ct}),xt=Ct({\u0275fac:Ct}),Ot=Ct({__NG_ELEMENT_ID__:Ct}),yt=Ct({__NG_ENV_ID__:Ct});function at(i){return"string"==typeof i?i:null==i?"":String(i)}function be(i,a){throw new te(-201,!1)}function Ki(i,a){null==i&&function Mi(i,a,c,_){throw new Error(`ASSERTION ERROR: ${i}`+(null==_?"":` [Expected=> ${c} ${_} ${a} <=Actual]`))}(a,i,null,"!=")}function Mt(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function Dt(i){return{providers:i.providers||[],imports:i.imports||[]}}function kt(i){return oi(i,Oi)||oi(i,Bi)}function Gt(i){return null!==kt(i)}function oi(i,a){return i.hasOwnProperty(a)?i[a]:null}function yi(i){return i&&(i.hasOwnProperty(Ui)||i.hasOwnProperty(qt))?i[Ui]:null}const Oi=Ct({\u0275prov:Ct}),Ui=Ct({\u0275inj:Ct}),Bi=Ct({ngInjectableDef:Ct}),qt=Ct({ngInjectorDef:Ct});var xi=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(xi||{});let Se;function Ve(){return Se}function et(i){const a=Se;return Se=i,a}function tt(i,a,c){const _=kt(i);return _&&"root"==_.providedIn?void 0===_.value?_.value=_.factory():_.value:c&xi.Optional?null:void 0!==a?a:void be(It(i))}const ri=globalThis;class an{constructor(a,c){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof c?this.__NG_ELEMENT_ID__=c:void 0!==c&&(this.\u0275prov=Mt({token:this,providedIn:c.providedIn||"root",factory:c.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Ji={},yn="__NG_DI_FLAG__",jn="ngTempTokenPath",Er=/\n/gm,yr="__source";let aa;function oa(i){const a=aa;return aa=i,a}function Fa(i,a=xi.Default){if(void 0===aa)throw new te(-203,!1);return null===aa?tt(i,void 0,a):aa.get(i,a&xi.Optional?null:void 0,a)}function fr(i,a=xi.Default){return(Ve()||Fa)(Ie(i),a)}function Kn(i,a=xi.Default){return fr(i,pa(a))}function pa(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function za(i){const a=[];for(let c=0;ca){Q=F-1;break}}}for(;FF?"":T[Ut+1].toLowerCase();const mi=8&_?ai:null;if(mi&&-1!==wa(mi,ot,0)||2&_&&ot!==ai){if(Kr(_))return!1;Q=!0}}}}else{if(!Q&&!Kr(_)&&!Kr(we))return!1;if(Q&&Kr(we))continue;Q=!1,_=we|1&_}}return Kr(_)||Q}function Kr(i){return 0==(1&i)}function ca(i,a,c,_){if(null===a)return-1;let T=0;if(_||!c){let F=!1;for(;T-1)for(c++;c0?'="'+oe+'"':"")+"]"}else 8&_?T+="."+Q:4&_&&(T+=" "+Q);else""!==T&&!Kr(Q)&&(a+=so(F,T),T=""),_=Q,F=F||!Kr(_);c++}return""!==T&&(a+=so(F,T)),a}function Gr(i){return jr(()=>{const a=Zr(i),c={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===Ca.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||kr.Emulated,styles:i.styles||Bn,_:null,schemas:i.schemas||null,tView:null,id:""};sn(c);const _=i.dependencies;return c.directiveDefs=Ba(_,!1),c.pipeDefs=Ba(_,!0),c.id=function bt(i){let a=0;const c=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(const T of c)a=Math.imul(31,a)+T.charCodeAt(0)<<0;return a+=2147483648,"c"+a}(c),c})}function zo(i){return ii(i)||Ti(i)}function bo(i){return null!==i}function Ao(i){return jr(()=>({type:i.type,bootstrap:i.bootstrap||Bn,declarations:i.declarations||Bn,imports:i.imports||Bn,exports:i.exports||Bn,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function Vt(i,a){if(null==i)return dr;const c={};for(const _ in i)if(i.hasOwnProperty(_)){let T=i[_],F=T;Array.isArray(T)&&(F=T[1],T=T[0]),c[T]=_,a&&(a[T]=F)}return c}function Ai(i){return jr(()=>{const a=Zr(i);return sn(a),a})}function wt(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function ii(i){return i[Bt]||null}function Ti(i){return i[Ye]||null}function Zi(i){return i[je]||null}function nr(i){const a=ii(i)||Ti(i)||Zi(i);return null!==a&&a.standalone}function ar(i,a){const c=i[Ft]||null;if(!c&&!0===a)throw new Error(`Type ${It(i)} does not have '\u0275mod' property.`);return c}function Zr(i){const a={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:i.inputs||dr,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||Bn,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vt(i.inputs,a),outputs:Vt(i.outputs),debugInfo:null}}function sn(i){i.features?.forEach(a=>a(i))}function Ba(i,a){if(!i)return null;const c=a?Zi:zo;return()=>("function"==typeof i?i():i).map(_=>c(_)).filter(bo)}const ze=0,vt=1,Jt=2,zi=3,xn=4,Mr=5,Ma=6,yo=7,Hn=8,Vi=9,lo=10,An=11,Yi=12,Ms=13,xo=14,gr=15,Do=16,Ua=17,Sa=18,va=19,Ss=20,ho=21,Vo=22,Co=23,En=25,Xo=1,cr=7,os=9,qi=10;var Es=function(i){return i[i.None=0]="None",i[i.HasTransplantedViews=2]="HasTransplantedViews",i[i.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",i}(Es||{});function la(i){return Array.isArray(i)&&"object"==typeof i[Xo]}function Ir(i){return Array.isArray(i)&&!0===i[Xo]}function Ts(i){return 0!=(4&i.flags)}function Bo(i){return i.componentOffset>-1}function Vs(i){return 1==(1&i.flags)}function uo(i){return!!i.template}function Xn(i){return 0!=(512&i[Jt])}function Ii(i,a){return i.hasOwnProperty(xt)?i[xt]:null}class Xi{constructor(a,c,_){this.previousValue=a,this.currentValue=c,this.firstChange=_}isFirstChange(){return this.firstChange}}function en(){return cn}function cn(i){return i.type.prototype.ngOnChanges&&(i.setInput=Ln),Un}function Un(){const i=Hr(this),a=i?.current;if(a){const c=i.previous;if(c===dr)i.previous=a;else for(let _ in a)c[_]=a[_];i.current=null,this.ngOnChanges(a)}}function Ln(i,a,c,_){const T=this.declaredInputs[c],F=Hr(i)||function da(i,a){return i[hr]=a}(i,{previous:dr,current:null}),Q=F.current||(F.current={}),oe=F.previous,we=oe[T];Q[T]=new Xi(we&&we.currentValue,a,oe===dr),i[_]=a}en.ngInherit=!0;const hr="__ngSimpleChanges__";function Hr(i){return i[hr]||null}const Or=function(i,a,c){},Lo="svg";function Fn(i){for(;Array.isArray(i);)i=i[ze];return i}function vs(i,a){return Fn(a[i])}function Sr(i,a){return Fn(a[i.index])}function _c(i,a){return i.data[a]}function Ds(i,a){return i[a]}function Uo(i,a){const c=a[i];return la(c)?c:c[ze]}function bl(i){return 128==(128&i[Jt])}function $o(i,a){return null==a?null:i[a]}function yl(i){i[Ua]=0}function Ls(i){1024&i[Jt]||(i[Jt]|=1024,bl(i)&&xl(i))}function m1(i){9216&i[Jt]&&xl(i)}function xl(i){let a=i[zi];for(;null!==a&&!(Ir(a)&&a[Jt]&Es.HasChildViewsToRefresh||la(a)&&8192&a[Jt]);){if(Ir(a))a[Jt]|=Es.HasChildViewsToRefresh;else if(a[Jt]|=8192,!bl(a))break;a=a[zi]}}function Bc(i,a){if(256==(256&i[Jt]))throw new te(911,!1);null===i[ho]&&(i[ho]=[]),i[ho].push(a)}const In={lFrame:ko(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function g1(){return In.bindingsEnabled}function Qs(){return null!==In.skipHydrationRootTNode}function Hi(){return In.lFrame.lView}function rr(){return In.lFrame.tView}function Ml(i){return In.lFrame.contextLView=i,i[Hn]}function vc(i){return In.lFrame.contextLView=null,i}function mr(){let i=ss();for(;null!==i&&64===i.type;)i=i.parent;return i}function ss(){return In.lFrame.currentTNode}function Fr(i,a){const c=In.lFrame;c.currentTNode=i,c.isParent=a}function Ra(){return In.lFrame.isParent}function bc(){In.lFrame.isParent=!1}function qn(){const i=In.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function Wn(){return In.lFrame.bindingIndex}function na(){return In.lFrame.bindingIndex++}function me(i){const a=In.lFrame,c=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,c}function Ne(i,a){const c=In.lFrame;c.bindingIndex=c.bindingRootIndex=i,Rt(a)}function Rt(i){In.lFrame.currentDirectiveIndex=i}function ni(i){const a=In.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Li(){return In.lFrame.currentQueryIndex}function Di(i){In.lFrame.currentQueryIndex=i}function ln(i){const a=i[vt];return 2===a.type?a.declTNode:1===a.type?i[Mr]:null}function Qn(i,a,c){if(c&xi.SkipSelf){let T=a,F=i;for(;!(T=T.parent,null!==T||c&xi.Host||(T=ln(F),null===T||(F=F[xo],10&T.type))););if(null===T)return!1;a=T,i=F}const _=In.lFrame=Pr();return _.currentTNode=a,_.lView=i,!0}function Jn(i){const a=Pr(),c=i[vt];In.lFrame=a,a.currentTNode=c.firstChild,a.lView=i,a.tView=c,a.contextLView=i,a.bindingIndex=c.bindingStartIndex,a.inI18n=!1}function Pr(){const i=In.lFrame,a=null===i?null:i.child;return null===a?ko(i):a}function ko(i){const a={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return null!==i&&(i.child=a),a}function Us(){const i=In.lFrame;return In.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const wo=Us;function Gs(){const i=Us();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function fo(){return In.lFrame.selectedIndex}function yc(i){In.lFrame.selectedIndex=i}function Rr(){const i=In.lFrame;return _c(i.tView,i.selectedIndex)}function D2(){In.lFrame.currentNamespace=Lo}function _1(){!function Zs(){In.lFrame.currentNamespace=null}()}let ks=!0;function ls(){return ks}function Is(i){ks=i}function Gc(i,a){for(let c=a.directiveStart,_=a.directiveEnd;c<_;c++){const F=i.data[c].type.prototype,{ngAfterContentInit:Q,ngAfterContentChecked:oe,ngAfterViewInit:we,ngAfterViewChecked:ot,ngOnDestroy:Et}=F;Q&&(i.contentHooks??=[]).push(-c,Q),oe&&((i.contentHooks??=[]).push(c,oe),(i.contentCheckHooks??=[]).push(c,oe)),we&&(i.viewHooks??=[]).push(-c,we),ot&&((i.viewHooks??=[]).push(c,ot),(i.viewCheckHooks??=[]).push(c,ot)),null!=Et&&(i.destroyHooks??=[]).push(c,Et)}}function Zc(i,a,c){Al(i,a,3,c)}function Wc(i,a,c,_){(3&i[Jt])===c&&Al(i,a,c,_)}function Aa(i,a){let c=i[Jt];(3&c)===a&&(c&=16383,c+=1,i[Jt]=c)}function Al(i,a,c,_){const F=_??-1,Q=a.length-1;let oe=0;for(let we=void 0!==_?65535&i[Ua]:0;we=_)break}else a[we]<0&&(i[Ua]+=65536),(oe>14>16&&(3&i[Jt])===a&&(i[Jt]+=16384,L2(oe,F)):L2(oe,F)}const jc=-1;class xc{constructor(a,c,_){this.factory=a,this.resolving=!1,this.canSeeViewProviders=c,this.injectImpl=_}}function Dl(i){return i!==jc}function b1(i){return 32767&i}function Ll(i,a){let c=function kf(i){return i>>16}(i),_=a;for(;c>0;)_=_[xo],c--;return _}let y1=!0;function x1(i){const a=y1;return y1=i,a}const kl=255,C1=5;let Qc=0;const Io={};function qc(i,a){const c=Th(i,a);if(-1!==c)return c;const _=a[vt];_.firstCreatePass&&(i.injectorIndex=a.length,bd(_.data,i),bd(a,null),bd(_.blueprint,null));const T=w1(i,a),F=i.injectorIndex;if(Dl(T)){const Q=b1(T),oe=Ll(T,a),we=oe[vt].data;for(let ot=0;ot<8;ot++)a[F+ot]=oe[Q+ot]|we[Q+ot]}return a[F+8]=T,F}function bd(i,a){i.push(0,0,0,0,0,0,0,0,a)}function Th(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function w1(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let c=0,_=null,T=a;for(;null!==T;){if(_=Oh(T),null===_)return jc;if(c++,T=T[xo],-1!==_.injectorIndex)return _.injectorIndex|c<<16}return jc}function k2(i,a,c){!function ur(i,a,c){let _;"string"==typeof c?_=c.charCodeAt(0)||0:c.hasOwnProperty(Ot)&&(_=c[Ot]),null==_&&(_=c[Ot]=Qc++);const T=_&kl;a.data[i+(T>>C1)]|=1<=0?a&kl:kh:a}(c);if("function"==typeof F){if(!Qn(a,i,_))return _&xi.Host?I2(T,0,_):Ah(a,c,_,T);try{let Q;if(Q=F(_),null!=Q||_&xi.Optional)return Q;be()}finally{wo()}}else if("number"==typeof F){let Q=null,oe=Th(i,a),we=jc,ot=_&xi.Host?a[gr][Mr]:null;for((-1===oe||_&xi.SkipSelf)&&(we=-1===oe?w1(i,a):a[oe+8],we!==jc&&yd(_,!1)?(Q=a[vt],oe=b1(we),a=Ll(we,a)):oe=-1);-1!==oe;){const Et=a[vt];if(P2(F,oe,Et.data)){const Ut=O2(oe,a,c,Q,_,ot);if(Ut!==Io)return Ut}we=a[oe+8],we!==jc&&yd(_,a[vt].data[oe+8]===ot)&&P2(F,oe,a)?(Q=Et,oe=b1(we),a=Ll(we,a)):oe=-1}}return T}function O2(i,a,c,_,T,F){const Q=a[vt],oe=Q.data[i+8],Et=M1(oe,Q,c,null==_?Bo(oe)&&y1:_!=Q&&0!=(3&oe.type),T&xi.Host&&F===oe);return null!==Et?Js(a,Q,Et,oe):Io}function M1(i,a,c,_,T){const F=i.providerIndexes,Q=a.data,oe=1048575&F,we=i.directiveStart,Et=F>>20,ai=T?oe+Et:i.directiveEnd;for(let mi=_?oe:oe+Et;mi=we&&Ri.type===c)return mi}if(T){const mi=Q[we];if(mi&&uo(mi)&&mi.type===c)return we}return null}function Js(i,a,c,_){let T=i[c];const F=a.data;if(function Af(i){return i instanceof xc}(T)){const Q=T;Q.resolving&&function Xe(i,a){const c=a?`. Dependency path: ${a.join(" > ")} > ${i}`:"";throw new te(-200,`Circular dependency in DI detected for ${i}${c}`)}(function Ee(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():at(i)}(F[c]));const oe=x1(Q.canSeeViewProviders);Q.resolving=!0;const ot=Q.injectImpl?et(Q.injectImpl):null;Qn(i,_,xi.Default);try{T=i[c]=Q.factory(void 0,F,i,_),a.firstCreatePass&&c>=_.directiveStart&&function Tl(i,a,c){const{ngOnChanges:_,ngOnInit:T,ngDoCheck:F}=a.type.prototype;if(_){const Q=cn(a);(c.preOrderHooks??=[]).push(i,Q),(c.preOrderCheckHooks??=[]).push(i,Q)}T&&(c.preOrderHooks??=[]).push(0-i,T),F&&((c.preOrderHooks??=[]).push(i,F),(c.preOrderCheckHooks??=[]).push(i,F))}(c,F[c],a)}finally{null!==ot&&et(ot),x1(oe),Q.resolving=!1,wo()}}return T}function P2(i,a,c){return!!(c[a+(i>>C1)]&1<{const a=i.prototype.constructor,c=a[xt]||R2(a),_=Object.prototype;let T=Object.getPrototypeOf(i.prototype).constructor;for(;T&&T!==_;){const F=T[xt]||R2(T);if(F&&F!==c)return F;T=Object.getPrototypeOf(T)}return F=>new F})}function R2(i){return lt(i)?()=>{const a=R2(Ie(i));return a&&a()}:Ii(i)}function Oh(i){const a=i[vt],c=a.type;return 2===c?a.declTNode:1===c?i[Mr]:null}function Ol(i){return function If(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const c=i.attrs;if(c){const _=c.length;let T=0;for(;T<_;){const F=c[T];if(Tr(F))break;if(0===F)T+=2;else if("number"==typeof F)for(T++;T<_&&"string"==typeof c[T];)T++;else{if(F===a)return c[T+1];T+=2}}}return null}(mr(),i)}const Cc="__parameters__";function Ws(i,a,c){return jr(()=>{const _=function xd(i){return function(...c){if(i){const _=i(...c);for(const T in _)this[T]=_[T]}}}(a);function T(...F){if(this instanceof T)return _.apply(this,F),this;const Q=new T(...F);return oe.annotation=Q,oe;function oe(we,ot,Et){const Ut=we.hasOwnProperty(Cc)?we[Cc]:Object.defineProperty(we,Cc,{value:[]})[Cc];for(;Ut.length<=Et;)Ut.push(null);return(Ut[Et]=Ut[Et]||[]).push(Q),we}}return c&&(T.prototype=Object.create(c.prototype)),T.prototype.ngMetadataName=i,T.annotationCls=T,T})}function ds(i,a){i.forEach(c=>Array.isArray(c)?ds(c,a):a(c))}function Md(i,a,c){a>=i.length?i.push(c):i.splice(a,0,c)}function $s(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function Hl(i,a){const c=[];for(let _=0;_=0?i[1|_]=c:(_=~_,function Mc(i,a,c,_){let T=i.length;if(T==a)i.push(c,_);else if(1===T)i.push(_,i[0]),i[0]=c;else{for(T--,i.push(i[T-1],i[T]);T>a;)i[T]=i[T-2],T--;i[a]=c,i[a+1]=_}}(i,_,a,c)),_}function F2(i,a){const c=Vl(i,a);if(c>=0)return i[1|c]}function Vl(i,a){return function Ph(i,a,c){let _=0,T=i.length>>c;for(;T!==_;){const F=_+(T-_>>1),Q=i[F<a?T=F:_=F+1}return~(T<({token:i})),-1),E1=ga(Ws("Optional"),8),T1=ga(Ws("SkipSelf"),4),ec=new an("ENVIRONMENT_INITIALIZER"),D1=new an("INJECTOR",-1),Ac=new an("INJECTOR_DEF_TYPES");class Zl{get(a,c=Ji){if(c===Ji){const _=new Error(`NullInjectorError: No provider for ${It(a)}!`);throw _.name="NullInjectorError",_}return c}}function L1(i){return{\u0275providers:i}}function Ga(...i){return{\u0275providers:Z2(0,i),\u0275fromNgModule:!0}}function Z2(i,...a){const c=[],_=new Set;let T;const F=Q=>{c.push(Q)};return ds(a,Q=>{const oe=Q;pr(oe,F,[],_)&&(T||=[],T.push(oe))}),void 0!==T&&Ad(T,F),c}function Ad(i,a){for(let c=0;c{a(F,_)})}}function pr(i,a,c,_){if(!(i=Ie(i)))return!1;let T=null,F=yi(i);const Q=!F&&ii(i);if(F||Q){if(Q&&!Q.standalone)return!1;T=i}else{const we=i.ngModule;if(F=yi(we),!F)return!1;T=we}const oe=_.has(T);if(Q){if(oe)return!1;if(_.add(T),Q.dependencies){const we="function"==typeof Q.dependencies?Q.dependencies():Q.dependencies;for(const ot of we)pr(ot,a,c,_)}}else{if(!F)return!1;{if(null!=F.imports&&!oe){let ot;_.add(T);try{ds(F.imports,Et=>{pr(Et,a,c,_)&&(ot||=[],ot.push(Et))})}finally{}void 0!==ot&&Ad(ot,a)}if(!oe){const ot=Ii(T)||(()=>new T);a({provide:T,useFactory:ot,deps:Bn},T),a({provide:Ac,useValue:T,multi:!0},T),a({provide:ec,useValue:()=>fr(T),multi:!0},T)}const we=F.providers;if(null!=we&&!oe){const ot=i;tc(we,Et=>{a(Et,ot)})}}}return T!==i&&void 0!==i.providers}function tc(i,a){for(let c of i)Qe(c)&&(c=c.\u0275providers),Array.isArray(c)?tc(c,a):a(c)}const Wl=Ct({provide:String,useValue:Ct});function Dd(i){return null!==i&&"object"==typeof i&&Wl in i}function Dc(i){return"function"==typeof i}const Ps=new an("Set Injector scope."),Yl={},zh={};let k1;function I1(){return void 0===k1&&(k1=new Zl),k1}class us{}class el extends us{get destroyed(){return this._destroyed}constructor(a,c,_,T){super(),this.parent=c,this.source=_,this.scopes=T,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,O1(a,Q=>this.processProvider(Q)),this.records.set(D1,tl(void 0,this)),T.has("environment")&&this.records.set(us,tl(void 0,this));const F=this.records.get(Ps);null!=F&&"string"==typeof F.value&&this.scopes.add(F.value),this.injectorDefTypes=new Set(this.get(Ac,Bn,xi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const c of a)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const c=oa(this),_=et(void 0);try{return a()}finally{oa(c),et(_)}}get(a,c=Ji,_=xi.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(yt))return a[yt](this);_=pa(_);const F=oa(this),Q=et(void 0);try{if(!(_&xi.SkipSelf)){let we=this.records.get(a);if(void 0===we){const ot=function Gh(i){return"function"==typeof i||"object"==typeof i&&i instanceof an}(a)&&kt(a);we=ot&&this.injectableDefInScope(ot)?tl(jl(a),Yl):null,this.records.set(a,we)}if(null!=we)return this.hydrate(a,we)}return(_&xi.Self?I1():this.parent).get(a,c=_&xi.Optional&&c===Ji?null:c)}catch(oe){if("NullInjectorError"===oe.name){if((oe[jn]=oe[jn]||[]).unshift(It(a)),F)throw oe;return function sa(i,a,c,_){const T=i[jn];throw a[yr]&&T.unshift(a[yr]),i.message=function So(i,a,c,_=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let T=It(a);if(Array.isArray(a))T=a.map(It).join(" -> ");else if("object"==typeof a){let F=[];for(let Q in a)if(a.hasOwnProperty(Q)){let oe=a[Q];F.push(Q+":"+("string"==typeof oe?JSON.stringify(oe):It(oe)))}T=`{${F.join(", ")}}`}return`${c}${_?"("+_+")":""}[${T}]: ${i.replace(Er,"\n ")}`}("\n"+i.message,T,c,_),i.ngTokenPath=T,i[jn]=null,i}(oe,a,"R3InjectorError",this.source)}throw oe}finally{et(Q),oa(F)}}resolveInjectorInitializers(){const a=oa(this),c=et(void 0);try{const T=this.get(ec,Bn,xi.Self);for(const F of T)F()}finally{oa(a),et(c)}}toString(){const a=[],c=this.records;for(const _ of c.keys())a.push(It(_));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new te(205,!1)}processProvider(a){let c=Dc(a=Ie(a))?a:Ie(a&&a.provide);const _=function Bh(i){return Dd(i)?tl(void 0,i.useValue):tl(j2(i),Yl)}(a);if(Dc(a)||!0!==a.multi)this.records.get(c);else{let T=this.records.get(c);T||(T=tl(void 0,Yl,!0),T.factory=()=>za(T.multi),this.records.set(c,T)),c=a,T.multi.push(a)}this.records.set(c,_)}hydrate(a,c){return c.value===Yl&&(c.value=zh,c.value=c.factory()),"object"==typeof c.value&&c.value&&function K2(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(c.value)&&this._ngOnDestroyHooks.add(c.value),c.value}injectableDefInScope(a){if(!a.providedIn)return!1;const c=Ie(a.providedIn);return"string"==typeof c?"any"===c||this.scopes.has(c):this.injectorDefTypes.has(c)}removeOnDestroy(a){const c=this._onDestroyHooks.indexOf(a);-1!==c&&this._onDestroyHooks.splice(c,1)}}function jl(i){const a=kt(i),c=null!==a?a.factory:Ii(i);if(null!==c)return c;if(i instanceof an)throw new te(204,!1);if(i instanceof Function)return function Vh(i){const a=i.length;if(a>0)throw Hl(a,"?"),new te(204,!1);const c=function bi(i){return i&&(i[Oi]||i[Bi])||null}(i);return null!==c?()=>c.factory(i):()=>new i}(i);throw new te(204,!1)}function j2(i,a,c){let _;if(Dc(i)){const T=Ie(i);return Ii(T)||jl(T)}if(Dd(i))_=()=>Ie(i.useValue);else if(function W2(i){return!(!i||!i.useFactory)}(i))_=()=>i.useFactory(...za(i.deps||[]));else if(function Ld(i){return!(!i||!i.useExisting)}(i))_=()=>fr(Ie(i.useExisting));else{const T=Ie(i&&(i.useClass||i.provide));if(!function Uh(i){return!!i.deps}(i))return Ii(T)||jl(T);_=()=>new T(...za(i.deps))}return _}function tl(i,a,c=!1){return{factory:i,value:a,multi:c?[]:void 0}}function O1(i,a){for(const c of i)Array.isArray(c)?O1(c,a):c&&Qe(c)?O1(c.\u0275providers,a):a(c)}function Zh(i,a){i instanceof el&&i.assertNotDestroyed();const _=oa(i),T=et(void 0);try{return a()}finally{oa(_),et(T)}}function P1(i){if(!Ve()&&!function ma(){return aa}())throw new te(-203,!1)}function t0(i,a=null,c=null,_){const T=kd(i,a,c,_);return T.resolveInjectorInitializers(),T}function kd(i,a=null,c=null,_,T=new Set){const F=[c||Bn,Ga(i)];return _=_||("object"==typeof i?void 0:It(i)),new el(F,a||I1(),_||null,T)}let Od,fs=(()=>{class i{static#e=this.THROW_IF_NOT_FOUND=Ji;static#t=this.NULL=new Zl;static create(c,_){if(Array.isArray(c))return t0({name:""},_,c,"");{const T=c.name??"";return t0({name:T},c.parent,c.providers,T)}}static#i=this.\u0275prov=Mt({token:i,providedIn:"any",factory:()=>fr(D1)});static#n=this.__NG_ELEMENT_ID__=-1}return i})();function ic(i){return!!ar(i)}function Kh(i){Od=i}function Ys(){if(void 0!==Od)return Od;if(typeof document<"u")return document;throw new te(210,!1)}const a0=new an("AppId",{providedIn:"root",factory:()=>Wf}),Wf="ng",Qh=new an("Platform Initializer"),o0=new an("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),qh=new an("AnimationModuleType"),Za=new an("CSP nonce",{providedIn:"root",factory:()=>Ys().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function c0(i){return i.ownerDocument.defaultView}function Yo(i){return i instanceof Function?i():i}function Xl(i){return 128==(128&i.flags)}var ts=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(ts||{});const zd=/^>|^->||--!>|)/g,rc="\u200b$1\u200b";const ac=new Map;let V1=0;const U1="__ngContext__";function eo(i,a){la(a)?(i[U1]=a[va],function su(i){ac.set(i[va],i)}(a)):i[U1]=a}let W1;function C0(i,a){return W1(i,a)}function cl(i){const a=i[zi];return Ir(a)?a[zi]:a}function Y1(i){return sc(i[Yi])}function j1(i){return sc(i[xn])}function sc(i){for(;null!==i&&!Ir(i);)i=i[xn];return i}function Lc(i,a,c,_,T){if(null!=_){let F,Q=!1;Ir(_)?F=_:la(_)&&(Q=!0,_=_[ze]);const oe=Fn(_);0===i&&null!==c?null==T?D0(a,c,oe):cc(a,c,oe,T||null,!0):1===i&&null!==c?cc(a,c,oe,T||null,!0):2===i?function fi(i,a,c){const _=dl(i,a);_&&function k0(i,a,c,_){i.removeChild(a,c,_)}(i,_,a,c)}(a,oe,Q):3===i&&a.destroyNode(oe),null!=F&&function pn(i,a,c,_,T){const F=c[cr];F!==Fn(c)&&Lc(a,i,_,F,T);for(let oe=qi;oea.replace(_0,rc))}(a))}function Zd(i,a,c){return i.createElement(a,c)}function Wd(i,a){const c=i[os],_=c.indexOf(a);c.splice(_,1)}function ll(i,a){if(i.length<=qi)return;const c=qi+a,_=i[c];if(_){const T=_[Do];null!==T&&T!==i&&Wd(T,_),a>0&&(i[c-1][xn]=_[xn]);const F=$s(i,qi+a);!function S0(i,a){Qi(i,a,a[An],2,null,null),a[ze]=null,a[Mr]=null}(_[vt],_);const Q=F[Sa];null!==Q&&Q.detachView(F[vt]),_[zi]=null,_[xn]=null,_[Jt]&=-129}return _}function n1(i,a){if(!(256&a[Jt])){const c=a[An];a[Co]&&function ie(i){if(Me(i),ae(i))for(let a=0;a=0?_[Q]():_[-Q].unsubscribe(),F+=2}else c[F].call(_[c[F+1]]);null!==_&&(a[yo]=null);const T=a[ho];if(null!==T){a[ho]=null;for(let F=0;F-1){const{encapsulation:F}=i.data[_.directiveStart+T];if(F===kr.None||F===kr.Emulated)return null}return Sr(_,c)}}(i,a.parent,c)}function cc(i,a,c,_,T){i.insertBefore(a,c,_,T)}function D0(i,a,c){i.appendChild(a,c)}function L0(i,a,c,_,T){null!==_?cc(i,a,c,_,T):D0(i,a,c)}function dl(i,a){return i.parentNode(a)}function O0(i,a,c){return V(i,a,c)}let b,to,ms,V=function N(i,a,c){return 40&i.type?Sr(i,c):null};function Z(i,a,c,_){const T=jd(i,_,a),F=a[An],oe=O0(_.parent||a[Mr],_,a);if(null!=T)if(Array.isArray(c))for(let we=0;wei,createScript:i=>i,createScriptURL:i=>i})}catch{}return to}()?.createHTML(i)||i}function hl(){if(void 0===ms&&(ms=null,ri.trustedTypes))try{ms=ri.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return ms}function ul(i){return hl()?.createHTML(i)||i}function Q1(i){return hl()?.createScriptURL(i)||i}class hc{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${dt})`}}class vn extends hc{getTypeName(){return"HTML"}}class Tn extends hc{getTypeName(){return"Style"}}class Nn extends hc{getTypeName(){return"Script"}}class _r extends hc{getTypeName(){return"URL"}}class Ka extends hc{getTypeName(){return"ResourceURL"}}function io(i){return i instanceof hc?i.changingThisBreaksApplicationSecurity:i}function Qa(i,a){const c=function uc(i){return i instanceof hc&&i.getTypeName()||null}(i);if(null!=c&&c!==a){if("ResourceURL"===c&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${c} (see ${dt})`)}return c===a}function ua(i){return new vn(i)}function P0(i){return new Tn(i)}function pu(i){return new Nn(i)}function no(i){return new _r(i)}function kc(i){return new Ka(i)}class fl{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a=""+a;try{const c=(new window.DOMParser).parseFromString(jo(a),"text/html").body;return null===c?this.inertDocumentHelper.getInertBodyElement(a):(c.removeChild(c.firstChild),c)}catch{return null}}}class Kd{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const c=this.inertDocument.createElement("template");return c.innerHTML=jo(a),c}}const mm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qd(i){return(i=String(i)).match(mm)?i:"unsafe:"+i}function Ic(i){const a={};for(const c of i.split(","))a[c]=!0;return a}function qd(...i){const a={};for(const c of i)for(const _ in c)c.hasOwnProperty(_)&&(a[_]=!0);return a}const pm=Ic("area,br,col,hr,img,wbr"),R0=Ic("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),gm=Ic("rp,rt"),N0=qd(pm,qd(R0,Ic("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),qd(gm,Ic("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),qd(gm,R0)),qf=Ic("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),_m=qd(qf,Ic("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ic("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Xf=Ic("script,style,template");class Vg{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let c=a.firstChild,_=!0;for(;c;)if(c.nodeType===Node.ELEMENT_NODE?_=this.startElement(c):c.nodeType===Node.TEXT_NODE?this.chars(c.nodeValue):this.sanitizedSomething=!0,_&&c.firstChild)c=c.firstChild;else for(;c;){c.nodeType===Node.ELEMENT_NODE&&this.endElement(c);let T=this.checkClobberedElement(c,c.nextSibling);if(T){c=T;break}c=this.checkClobberedElement(c,c.parentNode)}return this.buf.join("")}startElement(a){const c=a.nodeName.toLowerCase();if(!N0.hasOwnProperty(c))return this.sanitizedSomething=!0,!Xf.hasOwnProperty(c);this.buf.push("<"),this.buf.push(c);const _=a.attributes;for(let T=0;T<_.length;T++){const F=_.item(T),Q=F.name,oe=Q.toLowerCase();if(!_m.hasOwnProperty(oe)){this.sanitizedSomething=!0;continue}let we=F.value;qf[oe]&&(we=Qd(we)),this.buf.push(" ",Q,'="',vm(we),'"')}return this.buf.push(">"),!0}endElement(a){const c=a.nodeName.toLowerCase();N0.hasOwnProperty(c)&&!pm.hasOwnProperty(c)&&(this.buf.push(""))}chars(a){this.buf.push(vm(a))}checkClobberedElement(a,c){if(c&&(a.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return c}}const Bg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jf=/([^\#-~ |!])/g;function vm(i){return i.replace(/&/g,"&").replace(Bg,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(Jf,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(//g,">")}let Jd;function bm(i,a){let c=null;try{Jd=Jd||function is(i){const a=new Kd(i);return function fm(){try{return!!(new window.DOMParser).parseFromString(jo(""),"text/html")}catch{return!1}}()?new fl(a):a}(i);let _=a?String(a):"";c=Jd.getInertBodyElement(_);let T=5,F=_;do{if(0===T)throw new Error("Failed to sanitize html because the input is unstable");T--,_=F,F=c.innerHTML,c=Jd.getInertBodyElement(_)}while(_!==F);return jo((new Vg).sanitizeChildren($d(c)||c))}finally{if(c){const _=$d(c)||c;for(;_.firstChild;)_.removeChild(_.firstChild)}}}function $d(i){return"content"in i&&function Ug(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var q1=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(q1||{});function ym(i){const a=H0();return a?ul(a.sanitize(q1.HTML,i)||""):Qa(i,"HTML")?ul(io(i)):bm(Ys(),at(i))}function xm(i){const a=H0();return a?a.sanitize(q1.URL,i)||"":Qa(i,"URL")?io(i):Qd(at(i))}function e3(i){const a=H0();if(a)return Q1(a.sanitize(q1.RESOURCE_URL,i)||"");if(Qa(i,"ResourceURL"))return Q1(io(i));throw new te(904,!1)}function i3(i,a,c){return function Mm(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?e3:xm}(a,c)(i)}function H0(){const i=Hi();return i&&i[lo].sanitizer}let Tm=(i,a,c)=>null;function Cu(i,a,c=!1){return Tm(i,a,c)}class Pm{}class s3{}class l3{resolveComponentFactory(a){throw function Wg(i){const a=Error(`No component factory found for ${It(i)}.`);return a.ngComponent=i,a}(a)}}let G0=(()=>{class i{static#e=this.NULL=new l3}return i})();function Rm(){return t2(mr(),Hi())}function t2(i,a){return new n2(Sr(i,a))}let n2=(()=>{class i{constructor(c){this.nativeElement=c}static#e=this.__NG_ELEMENT_ID__=Rm}return i})();function Yg(i){return i instanceof n2?i.nativeElement:i}class d3{}let Nm=(()=>{class i{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function jg(){const i=Hi(),c=Uo(mr().index,i);return(la(c)?c:i)[An]}()}return i})(),Hm=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:()=>null})}return i})();class Fm{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const Kg=new Fm("17.0.4"),h3={};function zm(i,a){const c=function he(i){const a=Object.create(f);a.computation=i;const c=()=>{if(k(a),M(a),a.value===s)throw a.error;return a.value};return c[l]=a,c}(i);return a?.equal&&(c[l].equal=a.equal),c}function Eu(i,a){const c=function r(i){const a=Object.create(ct);a.value=i;const c=()=>(M(a),a.value);return c[l]=a,c}(i),_=c[l];return a?.equal&&(_.equal=a.equal),c.set=T=>R(_,T),c.update=T=>function ee(i,a){B()||D(),R(i,a(i.value))}(_,T),c.asReadonly=qg.bind(c),c}function qg(){const i=this[l];if(void 0===i.readonlyFn){const a=()=>this();a[l]=i,i.readonlyFn=a}return i.readonlyFn}function Xg(i){const a=w(null);try{return i()}finally{w(a)}}function r2(i){return!!u3(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function u3(i){return null!==i&&("function"==typeof i||"object"==typeof i)}class Bm{constructor(){}supports(a){return r2(a)}create(a){return new $g(a)}}const Um=(i,a)=>a;class $g{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||Um}forEachItem(a){let c;for(c=this._itHead;null!==c;c=c._next)a(c)}forEachOperation(a){let c=this._itHead,_=this._removalsHead,T=0,F=null;for(;c||_;){const Q=!_||c&&c.currentIndex{Q=this._trackByFn(T,oe),null!==c&&Object.is(c.trackById,Q)?(_&&(c=this._verifyReinsertion(c,oe,Q,T)),Object.is(c.item,oe)||this._addIdentityChange(c,oe)):(c=this._mismatch(c,oe,Q,T),_=!0),c=c._next,T++}),this.length=T;return this._truncate(c),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,c,_,T){let F;return null===a?F=this._itTail:(F=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null))?(Object.is(a.item,c)||this._addIdentityChange(a,c),this._reinsertAfter(a,F,T)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(_,T))?(Object.is(a.item,c)||this._addIdentityChange(a,c),this._moveAfter(a,F,T)):a=this._addAfter(new Gm(c,_),F,T),a}_verifyReinsertion(a,c,_,T){let F=null===this._unlinkedRecords?null:this._unlinkedRecords.get(_,null);return null!==F?a=this._reinsertAfter(F,a._prev,T):a.currentIndex!=T&&(a.currentIndex=T,this._addToMoves(a,T)),a}_truncate(a){for(;null!==a;){const c=a._next;this._addToRemovals(this._unlink(a)),a=c}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,c,_){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const T=a._prevRemoved,F=a._nextRemoved;return null===T?this._removalsHead=F:T._nextRemoved=F,null===F?this._removalsTail=T:F._prevRemoved=T,this._insertAfter(a,c,_),this._addToMoves(a,_),a}_moveAfter(a,c,_){return this._unlink(a),this._insertAfter(a,c,_),this._addToMoves(a,_),a}_addAfter(a,c,_){return this._insertAfter(a,c,_),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,c,_){const T=null===c?this._itHead:c._next;return a._next=T,a._prev=c,null===T?this._itTail=a:T._prev=a,null===c?this._itHead=a:c._next=a,null===this._linkedRecords&&(this._linkedRecords=new Wm),this._linkedRecords.put(a),a.currentIndex=_,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const c=a._prev,_=a._next;return null===c?this._itHead=_:c._next=_,null===_?this._itTail=c:_._prev=c,a}_addToMoves(a,c){return a.previousIndex===c||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wm),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,c){return a.item=c,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class Gm{constructor(a,c){this.item=a,this.trackById=c,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Zm{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,c){let _;for(_=this._head;null!==_;_=_._nextDup)if((null===c||c<=_.currentIndex)&&Object.is(_.trackById,a))return _;return null}remove(a){const c=a._prevDup,_=a._nextDup;return null===c?this._head=_:c._nextDup=_,null===_?this._tail=c:_._prevDup=c,null===this._head}}class Wm{constructor(){this.map=new Map}put(a){const c=a.trackById;let _=this.map.get(c);_||(_=new Zm,this.map.set(c,_)),_.add(a)}get(a,c){const T=this.map.get(a);return T?T.get(a,c):null}remove(a){const c=a.trackById;return this.map.get(c).remove(a)&&this.map.delete(c),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function f3(i,a,c){const _=i.previousIndex;if(null===_)return _;let T=0;return c&&_{if(c&&c.key===T)this._maybeAddToChanges(c,_),this._appendAfter=c,c=c._next;else{const F=this._getOrCreateRecordForKey(T,_);c=this._insertBeforeOrAppend(c,F)}}),c){c._prev&&(c._prev._next=null),this._removalsHead=c;for(let _=c;null!==_;_=_._nextRemoved)_===this._mapHead&&(this._mapHead=null),this._records.delete(_.key),_._nextRemoved=_._next,_.previousValue=_.currentValue,_.currentValue=null,_._prev=null,_._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,c){if(a){const _=a._prev;return c._next=a,c._prev=_,a._prev=c,_&&(_._next=c),a===this._mapHead&&(this._mapHead=c),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=c,c._prev=this._appendAfter):this._mapHead=c,this._appendAfter=c,null}_getOrCreateRecordForKey(a,c){if(this._records.has(a)){const T=this._records.get(a);this._maybeAddToChanges(T,c);const F=T._prev,Q=T._next;return F&&(F._next=Q),Q&&(Q._prev=F),T._next=null,T._prev=null,T}const _=new t8(a);return this._records.set(a,_),_.currentValue=c,this._addToAdditions(_),_}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,c){Object.is(c,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=c,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,c){a instanceof Map?a.forEach(c):Object.keys(a).forEach(_=>c(a[_],_))}}class t8{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function jm(){return new m3([new Bm])}let m3=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:jm});constructor(c){this.factories=c}static create(c,_){if(null!=_){const T=_.factories.slice();c=c.concat(T)}return new i(c)}static extend(c){return{provide:i,useFactory:_=>i.create(c,_||jm()),deps:[[i,new T1,new E1]]}}find(c){const _=this.factories.find(T=>T.supports(c));if(null!=_)return _;throw new te(901,!1)}}return i})();function Km(){return new Tu([new Ym])}let Tu=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:Km});constructor(c){this.factories=c}static create(c,_){if(_){const T=_.factories.slice();c=c.concat(T)}return new i(c)}static extend(c){return{provide:i,useFactory:_=>i.create(c,_||Km()),deps:[[i,new T1,new E1]]}}find(c){const _=this.factories.find(T=>T.supports(c));if(_)return _;throw new te(901,!1)}}return i})();function a2(i,a,c,_,T=!1){for(;null!==c;){const F=a[c.index];null!==F&&_.push(Fn(F)),Ir(F)&&qm(F,_);const Q=c.type;if(8&Q)a2(i,a,c.child,_);else if(32&Q){const oe=C0(c,a);let we;for(;we=oe();)_.push(we)}else if(16&Q){const oe=Pt(a,c);if(Array.isArray(oe))_.push(...oe);else{const we=cl(a[gr]);a2(we[vt],we,oe,_,!0)}}c=T?c.projectionNext:c.next}return _}function qm(i,a){for(let c=qi;c{xl(i.lView)},consumerOnSignalRead(){this.lView[Co]=this}};function g3(i){return i.ngOriginalError}class a1{constructor(){this._console=console}handleError(a){const c=this._findOriginalError(a);this._console.error("ERROR",a),c&&this._console.error("ORIGINAL ERROR",c)}_findOriginalError(a){let c=a&&g3(a);for(;c&&g3(c);)c=g3(c);return c||null}}const ep=new an("",{providedIn:"root",factory:()=>!1}),tr={};function ap(i){op(rr(),Hi(),fo()+i,!1)}function op(i,a,c,_){if(!_)if(3==(3&a[Jt])){const F=i.preOrderCheckHooks;null!==F&&Zc(a,F,c)}else{const F=i.preOrderHooks;null!==F&&Wc(a,F,0,c)}yc(c)}function $1(i,a=xi.Default){const c=Hi();return null===c?fr(i,a):Dh(mr(),c,Ie(i),a)}function x3(){throw new Error("invalid")}function Z0(i,a,c,_,T,F,Q,oe,we,ot,Et){const Ut=a.blueprint.slice();return Ut[ze]=T,Ut[Jt]=140|_,(null!==ot||i&&2048&i[Jt])&&(Ut[Jt]|=2048),yl(Ut),Ut[zi]=Ut[xo]=i,Ut[Hn]=c,Ut[lo]=Q||i&&i[lo],Ut[An]=oe||i&&i[An],Ut[Vi]=we||i&&i[Vi]||null,Ut[Mr]=F,Ut[va]=function ou(){return V1++}(),Ut[Ma]=Et,Ut[Ss]=ot,Ut[gr]=2==a.type?i[gr]:Ut,Ut}function ml(i,a,c,_,T){let F=i.data[a];if(null===F)F=function Lu(i,a,c,_,T){const F=ss(),Q=Ra(),we=i.data[a]=function c8(i,a,c,_,T,F){let Q=a?a.injectorIndex:-1,oe=0;return Qs()&&(oe|=128),{type:c,index:_,insertBeforeIndex:null,injectorIndex:Q,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:oe,providerIndexes:0,value:T,attrs:F,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Q?F:F&&F.parent,c,a,_,T);return null===i.firstChild&&(i.firstChild=we),null!==F&&(Q?null==F.child&&null!==we.parent&&(F.child=we):null===F.next&&(F.next=we,we.prev=F)),we}(i,a,c,_,T),function Oe(){return In.lFrame.inI18n}()&&(F.flags|=32);else if(64&F.type){F.type=c,F.value=_,F.attrs=T;const Q=function qs(){const i=In.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}();F.injectorIndex=null===Q?-1:Q.injectorIndex}return Fr(F,!0),F}function W0(i,a,c,_){if(0===c)return-1;const T=a.length;for(let F=0;FEn&&op(i,a,En,!1),Or(Q?2:0,T),c(_,T)}finally{yc(F),Or(Q?3:1,T)}}function ku(i,a,c){if(Ts(a)){const _=w(null);try{const F=a.directiveEnd;for(let Q=a.directiveStart;Qnull;function up(i,a,c,_){for(let T in i)if(i.hasOwnProperty(T)){c=null===c?{}:c;const F=i[T];null===_?fp(c,a,T,F):_.hasOwnProperty(T)&&fp(c,a,_[T],F)}return c}function fp(i,a,c,_){i.hasOwnProperty(c)?i[c].push(a,_):i[c]=[a,_]}function ys(i,a,c,_,T,F,Q,oe){const we=Sr(a,c);let Et,ot=a.inputs;!oe&&null!=ot&&(Et=ot[_])?(c2(i,c,Et,_,T),Bo(a)&&function d8(i,a){const c=Uo(a,i);16&c[Jt]||(c[Jt]|=64)}(c,a.index)):3&a.type&&(_=function mp(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(_),T=null!=Q?Q(T,a.value||"",_):T,F.setProperty(we,_,T))}function A3(i,a,c,_){if(g1()){const T=null===_?null:{"":-1},F=function gp(i,a){const c=i.directiveRegistry;let _=null,T=null;if(c)for(let F=0;F0;){const c=i[--a];if("number"==typeof c&&c<0)return c}return 0})(Q)!=oe&&Q.push(oe),Q.push(c,_,F)}}(i,a,_,W0(i,c,T.hostVars,tr),T)}function Ha(i,a,c,_,T,F){const Q=Sr(i,a);!function Pu(i,a,c,_,T,F,Q){if(null==F)i.removeAttribute(a,T,c);else{const oe=null==Q?at(F):Q(F,_||"",T);i.setAttribute(a,T,oe,c)}}(a[An],Q,F,i.value,c,_,T)}function vp(i,a,c,_,T,F){const Q=F[a];if(null!==Q)for(let oe=0;oe-1&&(ll(a,_),$s(c,_))}this._attachedToViewContainer=!1}n1(this._lView[vt],this._lView)}onDestroy(a){Bc(this._lView,a)}markForCheck(){o1(this._cdRefInjectingView||this._lView)}detach(){this._lView[Jt]&=-129}reattach(){m1(this._lView),this._lView[Jt]|=128}detectChanges(){!function O3(i,a=!0){const c=i[lo],_=c.rendererFactory,T=c.afterRenderEventManager;_.begin?.(),T?.begin();try{const Q=i[vt];Fu(Q,i,Q.template,i[Hn]),function Hu(i){let a=0;for(;9216&i[Jt]||i[Co]?.dirty;){if(100===a)throw new te(103,!1);a++,Bu(i,1)}}(i)}catch(Q){throw a&&s2(i,Q),Q}finally{_.end?.(),c.inlineEffectRunner?.flush(),T?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new te(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fu(i,a){Qi(i,a,a[An],2,null,null)}(this._lView[vt],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new te(902,!1);this._appRef=a}}let Q0=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=l2}return i})();function l2(i){return function s1(i,a,c){if(Bo(i)&&!c){const _=Uo(i.index,a);return new td(_,_)}return 47&i.type?new td(a[gr],a):null}(mr(),Hi(),16==(16&i))}let ba=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=H3;static#t=this.__NG_ENV_ID__=c=>c}return i})();class d2 extends ba{constructor(a){super(),this._lView=a}onDestroy(a){return Bc(this._lView,a),()=>function Cl(i,a){if(null===i[ho])return;const c=i[ho].indexOf(a);-1!==c&&i[ho].splice(c,1)}(this._lView,a)}}function H3(){return new d2(Hi())}function X0(i,a){if(null!==function m(){return t}())throw new te(-602,!1)}const Zu=new Set;function c1(i){Zu.has(i)||(Zu.add(i),performance?.mark?.("mark_use_counter",{detail:{feature:i}}))}function h2(i){return a=>{setTimeout(i,void 0,a)}}const Hs=class Cp extends xe.x{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,c,_){let T=a,F=c||(()=>null),Q=_;if(a&&"object"==typeof a){const we=a;T=we.next?.bind(we),F=we.error?.bind(we),Q=we.complete?.bind(we)}this.__isAsync&&(F=h2(F),T&&(T=h2(T)),Q&&(Q=h2(Q)));const oe=super.subscribe({next:T,error:F,complete:Q});return a instanceof le.w0&&a.add(oe),oe}};function Wu(...i){}class mo{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:c=!1,shouldCoalesceRunChangeDetection:_=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Hs(!1),this.onMicrotaskEmpty=new Hs(!1),this.onStable=new Hs(!1),this.onError=new Hs(!1),typeof Zone>"u")throw new te(908,!1);Zone.assertZonePatched();const T=this;T._nesting=0,T._outer=T._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(T._inner=T._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(T._inner=T._inner.fork(Zone.longStackTraceZoneSpec)),T.shouldCoalesceEventChangeDetection=!_&&c,T.shouldCoalesceRunChangeDetection=_,T.lastRequestAnimationFrameId=-1,T.nativeRequestAnimationFrame=function $0(){const i="function"==typeof ri.requestAnimationFrame;let a=ri[i?"requestAnimationFrame":"setTimeout"],c=ri[i?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&c){const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_);const T=c[Zone.__symbol__("OriginalDelegate")];T&&(c=T)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function Yu(i){const a=()=>{!function xs(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(ri,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,eh(i),i.isCheckStableRunning=!0,V3(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),eh(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(c,_,T,F,Q,oe)=>{if(function g8(i){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0].data?.__ignore_ng_zone__}(oe))return c.invokeTask(T,F,Q,oe);try{return ju(i),c.invokeTask(T,F,Q,oe)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===F.type||i.shouldCoalesceRunChangeDetection)&&a(),wp(i)}},onInvoke:(c,_,T,F,Q,oe,we)=>{try{return ju(i),c.invoke(T,F,Q,oe,we)}finally{i.shouldCoalesceRunChangeDetection&&a(),wp(i)}},onHasTask:(c,_,T,F)=>{c.hasTask(T,F),_===T&&("microTask"==F.change?(i._hasPendingMicrotasks=F.microTask,eh(i),V3(i)):"macroTask"==F.change&&(i.hasPendingMacrotasks=F.macroTask))},onHandleError:(c,_,T,F)=>(c.handleError(T,F),i.runOutsideAngular(()=>i.onError.emit(F)),!1)})}(T)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!mo.isInAngularZone())throw new te(909,!1)}static assertNotInAngularZone(){if(mo.isInAngularZone())throw new te(909,!1)}run(a,c,_){return this._inner.run(a,c,_)}runTask(a,c,_,T){const F=this._inner,Q=F.scheduleEventTask("NgZoneEvent: "+T,a,p8,Wu,Wu);try{return F.runTask(Q,c,_)}finally{F.cancelTask(Q)}}runGuarded(a,c,_){return this._inner.runGuarded(a,c,_)}runOutsideAngular(a){return this._outer.run(a)}}const p8={};function V3(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function eh(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function ju(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function wp(i){i._nesting--,V3(i)}class Mp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Hs,this.onMicrotaskEmpty=new Hs,this.onStable=new Hs,this.onError=new Hs}run(a,c,_){return a.apply(c,_)}runGuarded(a,c,_){return a.apply(c,_)}runOutsideAngular(a){return a()}runTask(a,c,_,T){return a.apply(c,_)}}const Sp=new an("",{providedIn:"root",factory:Ep});function Ep(){const i=Kn(mo);let a=!0;const c=new pe.y(T=>{a=i.isStable&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks,i.runOutsideAngular(()=>{T.next(a),T.complete()})}),_=new pe.y(T=>{let F;i.runOutsideAngular(()=>{F=i.onStable.subscribe(()=>{mo.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks&&(a=!0,T.next(!0))})})});const Q=i.onUnstable.subscribe(()=>{mo.assertInAngularZone(),a&&(a=!1,i.runOutsideAngular(()=>{T.next(!1)}))});return()=>{F.unsubscribe(),Q.unsubscribe()}});return(0,qe.T)(c,_.pipe((0,ce.B)()))}var l1=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(l1||{});const Tp={destroy(){}};function U3(i,a){!a&&P1();const c=a?.injector??Kn(fs);if(!function nc(i){return"browser"===(i??Kn(fs)).get(o0)}(c))return Tp;c1("NgAfterNextRender");const _=c.get(Fs),T=_.handler??=new Z3,F=a?.phase??l1.MixedReadWrite,Q=()=>{T.unregister(we),oe()},oe=c.get(ba).onDestroy(Q),we=new G3(c,F,()=>{Q(),i()});return T.register(we),{destroy:Q}}class G3{constructor(a,c,_){this.phase=c,this.callbackFn=_,this.zone=a.get(mo),this.errorHandler=a.get(a1,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class Z3{constructor(){this.executingCallbacks=!1,this.buckets={[l1.EarlyRead]:new Set,[l1.Write]:new Set,[l1.MixedReadWrite]:new Set,[l1.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new te(102,!1)}register(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)}unregister(a){this.buckets[a.phase].delete(a),this.deferredCallbacks.delete(a)}execute(){this.executingCallbacks=!0;for(const a of Object.values(this.buckets))for(const c of a)c.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.buckets[a.phase].add(a);this.deferredCallbacks.clear()}destroy(){for(const a of Object.values(this.buckets))a.clear();this.deferredCallbacks.clear()}}let Fs=(()=>{class i{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const c of this.internalCallbacks)c();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:()=>new i})}return i})();function id(i,a){const c=Uo(a,i),_=c[vt];!function Ap(i,a){for(let c=a.length;c0&&ha(i,c,F.join(" "))}}(Ut,go,mi,_),void 0!==c&&function C8(i,a,c){const _=i.projection=[];for(let T=0;T=0;_--){const T=i[_];T.hostVars=a+=T.hostVars,T.hostAttrs=ea(T.hostAttrs,c=ea(c,T.hostAttrs))}}(_)}function qu(i){return i===dr?{}:i===Bn?[]:i}function Np(i,a){const c=i.viewQuery;i.viewQuery=c?(_,T)=>{a(_,T),c(_,T)}:a}function M8(i,a){const c=i.contentQueries;i.contentQueries=c?(_,T,F)=>{a(_,T,F),c(_,T,F)}:a}function j3(i,a){const c=i.hostBindings;i.hostBindings=c?(_,T)=>{a(_,T),c(_,T)}:a}function zp(i){const a=i.inputConfig,c={};for(const _ in a)if(a.hasOwnProperty(_)){const T=a[_];Array.isArray(T)&&T[2]&&(c[_]=T[2])}i.inputTransforms=c}function fc(i,a,c){return i[a]=c}function ro(i,a,c){return!Object.is(i[a],c)&&(i[a]=c,!0)}function rd(i,a,c,_){const T=ro(i,a,c);return ro(i,a+1,_)||T}function nh(i,a,c,_,T){const F=rd(i,a,c,_);return ro(i,a+2,T)||F}function Ju(i,a,c,_){const T=Hi();return ro(T,na(),a)&&(rr(),Ha(Rr(),T,i,a,c,_)),Ju}function u2(i,a,c,_){return ro(i,na(),c)?a+at(c)+_:tr}function Hc(i,a,c,_,T,F){const oe=rd(i,Wn(),c,T);return me(2),oe?a+at(c)+_+at(T)+F:tr}function f2(i,a,c,_,T,F,Q,oe,we,ot){const Ut=function zs(i,a,c,_,T,F){const Q=rd(i,a,c,_);return rd(i,a+2,T,F)||Q}(i,Wn(),c,T,Q,we);return me(4),Ut?a+at(c)+_+at(T)+F+at(Q)+oe+at(we)+ot:tr}function $u(i,a){return i<<17|a<<2}function d1(i){return i>>17&32767}function ef(i){return 2|i}function h1(i){return(131068&i)>>2}function $3(i,a){return-131069&i|a<<2}function tf(i){return 1|i}function x(i,a,c,_,T){const F=i[c+1],Q=null===a;let oe=_?d1(F):h1(F),we=!1;for(;0!==oe&&(!1===we||Q);){const Et=i[oe+1];U(i[oe],a)&&(we=!0,i[oe+1]=_?tf(Et):ef(Et)),oe=_?d1(Et):h1(Et)}we&&(i[c+1]=_?ef(F):tf(F))}function U(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&Vl(i,a)>=0}const Y={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Te(i){return i.substring(Y.key,Y.keyEnd)}function Zt(i,a){const c=Y.textEnd;return c===a?-1:(a=Y.keyEnd=function rn(i,a,c){for(;a32;)a++;return a}(i,Y.key=a,c),ki(i,a,c))}function ki(i,a,c){for(;a=0;c=Zt(a,c))hs(i,Te(a),!0)}function Wr(i,a,c,_){const T=Hi(),F=rr(),Q=me(2);F.firstUpdatePass&&ps(F,i,Q,_),a!==tr&&ro(T,Q,a)&&u1(F,F.data[fo()],T,T[An],i,T[Q+1]=function _n(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=It(io(i)))),i}(a,c),_,Q)}function $n(i,a,c,_){const T=rr(),F=me(2);T.firstUpdatePass&&ps(T,null,F,_);const Q=Hi();if(c!==tr&&ro(Q,F,c)){const oe=T.data[fo()];if(ir(oe,_)&&!Xr(T,F)){let we=_?oe.classesWithoutHost:oe.stylesWithoutHost;null!==we&&(c=Ae(we,c||"")),Vn(T,oe,Q,c,_)}else!function hd(i,a,c,_,T,F,Q,oe){T===tr&&(T=Bn);let we=0,ot=0,Et=0=i.expandoStartIndex}function ps(i,a,c,_){const T=i.data;if(null===T[c+1]){const F=T[fo()],Q=Xr(i,c);ir(F,_)&&null===a&&!Q&&(a=!1),a=function ya(i,a,c,_){const T=ni(i);let F=_?a.residualClasses:a.residualStyles;if(null===T)0===(_?a.classBindings:a.styleBindings)&&(c=fa(c=qa(null,i,a,c,_),a.attrs,_),F=null);else{const Q=a.directiveStylingLast;if(-1===Q||i[Q]!==T)if(c=qa(T,i,a,c,_),null===F){let we=function xa(i,a,c){const _=c?a.classBindings:a.styleBindings;if(0!==h1(_))return i[d1(_)]}(i,a,_);void 0!==we&&Array.isArray(we)&&(we=qa(null,i,a,we[1],_),we=fa(we,a.attrs,_),function Ko(i,a,c,_){i[d1(c?a.classBindings:a.styleBindings)]=_}(i,a,_,we))}else F=function Vr(i,a,c){let _;const T=a.directiveEnd;for(let F=1+a.directiveStylingLast;F0)&&(ot=!0)):Et=c,T)if(0!==we){const ai=d1(i[oe+1]);i[_+1]=$u(ai,oe),0!==ai&&(i[ai+1]=$3(i[ai+1],_)),i[oe+1]=function Zp(i,a){return 131071&i|a<<17}(i[oe+1],_)}else i[_+1]=$u(oe,0),0!==oe&&(i[oe+1]=$3(i[oe+1],_)),oe=_;else i[_+1]=$u(we,0),0===oe?oe=_:i[we+1]=$3(i[we+1],_),we=_;ot&&(i[_+1]=ef(i[_+1])),x(i,Et,_,!0),x(i,Et,_,!1),function o(i,a,c,_,T){const F=T?i.residualClasses:i.residualStyles;null!=F&&"string"==typeof a&&Vl(F,a)>=0&&(c[_+1]=tf(c[_+1]))}(a,Et,i,_,F),Q=$u(oe,we),F?a.classBindings=Q:a.styleBindings=Q}(T,F,a,c,Q,_)}}function qa(i,a,c,_,T){let F=null;const Q=c.directiveEnd;let oe=c.directiveStylingLast;for(-1===oe?oe=c.directiveStart:oe++;oe0;){const we=i[T],ot=Array.isArray(we),Et=ot?we[1]:we,Ut=null===Et;let ai=c[T+1];ai===tr&&(ai=Ut?Bn:void 0);let mi=Ut?F2(ai,_):Et===_?ai:void 0;if(ot&&!mc(mi)&&(mi=F2(we,_)),mc(mi)&&(oe=mi,Q))return oe;const Ri=i[T+1];T=Q?d1(Ri):h1(Ri)}if(null!==a){let we=F?a.residualClasses:a.residualStyles;null!=we&&(oe=F2(we,_))}return oe}function mc(i){return void 0!==i}function ir(i,a){return 0!=(i.flags&(a?8:16))}function br(i,a,c){$n(hs,wn,u2(Hi(),i,a,c),!0)}let qp=(i,a)=>null;function v2(i,a){return qp(i,a)}class Kv{destroy(a){}updateValue(a,c){}swap(a,c){const _=Math.min(a,c),T=Math.max(a,c),F=this.detach(T);if(T-_>1){const Q=this.detach(_);this.attach(_,F),this.attach(T,Q)}else this.attach(_,F)}move(a,c){this.attach(c,this.detach(a))}}function s4(i,a,c,_,T){return i===c&&Object.is(a,_)?1:Object.is(T(i,a),T(c,_))?-1:0}function Xp(i,a,c,_){return!(void 0===a||!a.has(_)||(i.attach(c,a.get(_)),a.delete(_),0))}function Jp(i,a,c,_,T){if(Xp(i,a,_,c(_,T)))i.updateValue(_,T);else{const F=i.create(_,T);i.attach(_,F)}}function G8(i,a,c,_){const T=new Set;for(let F=a;F<=c;F++)T.add(_(F,i.at(F)));return T}class Z8{constructor(){this.map=new Map}has(a){const c=this.map.get(a);return void 0!==c&&c.length>0}delete(a){const c=this.map.get(a);return void 0!==c&&(c.shift(),!0)}get(a){const c=this.map.get(a);return void 0!==c&&c.length>0?c[0]:void 0}set(a,c){this.map.has(a)?this.map.get(a)?.push(c):this.map.set(a,[c])}forEach(a){for(const[c,_]of this.map)for(const T of _)a(T,c)}}function af(i,a,c,_){const T=a.tView,oe=Z0(i,T,c,4096&i[Jt]?4096:16,null,a,null,null,null,_?.injector??null,_?.dehydratedView??null);oe[Do]=i[a.index];const ot=i[Sa];return null!==ot&&(oe[Sa]=ot.createEmbeddedView(T)),Ku(T,oe,c),oe}function W8(i,a){const c=qi+a;if(c0&&(c[T-1][xn]=a),_{class i{static#e=this.__NG_ELEMENT_ID__=Y8}return i})();function Y8(){return t6(mr(),Hi())}const Qv=c4,j8=class extends Qv{constructor(a,c,_){super(),this._lContainer=a,this._hostTNode=c,this._hostLView=_}get element(){return t2(this._hostTNode,this._hostLView)}get injector(){return new Na(this._hostTNode,this._hostLView)}get parentInjector(){const a=w1(this._hostTNode,this._hostLView);if(Dl(a)){const c=Ll(a,this._hostLView),_=b1(a);return new Na(c[vt].data[_+8],c)}return new Na(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const c=K8(this._lContainer);return null!==c&&c[a]||null}get length(){return this._lContainer.length-qi}createEmbeddedView(a,c,_){let T,F;"number"==typeof _?T=_:null!=_&&(T=_.index,F=_.injector);const Q=v2(this._lContainer,a.ssrId),oe=a.createEmbeddedViewImpl(c||{},F,Q);return this.insertImpl(oe,T,ah(this._hostTNode,Q)),oe}createComponent(a,c,_,T,F){const Q=a&&!function Os(i){return"function"==typeof i}(a);let oe;if(Q)oe=c;else{const Ri=c||{};oe=Ri.index,_=Ri.injector,T=Ri.projectableNodes,F=Ri.environmentInjector||Ri.ngModuleRef}const we=Q?a:new nd(ii(a)),ot=_||this.parentInjector;if(!F&&null==we.ngModule){const ji=(Q?ot:this.parentInjector).get(us,null);ji&&(F=ji)}const Et=ii(we.componentType??{}),Ut=v2(this._lContainer,Et?.id??null),mi=we.create(ot,T,Ut?.firstChild??null,F);return this.insertImpl(mi.hostView,oe,ah(this._hostTNode,Ut)),mi}insert(a,c){return this.insertImpl(a,c,!0)}insertImpl(a,c,_){const T=a._lView;if(function Vc(i){return Ir(i[zi])}(T)){const oe=this.indexOf(a);if(-1!==oe)this.detach(oe);else{const we=T[zi],ot=new j8(we,we[Mr],we[zi]);ot.detach(ot.indexOf(a))}}const F=this._adjustIndex(c),Q=this._lContainer;return b2(Q,T,F,_),a.attachToViewContainerRef(),Md(e6(Q),F,a),a}move(a,c){return this.insert(a,c)}indexOf(a){const c=K8(this._lContainer);return null!==c?c.indexOf(a):-1}remove(a){const c=this._adjustIndex(a,-1),_=ll(this._lContainer,c);_&&($s(e6(this._lContainer),c),n1(_[vt],_))}detach(a){const c=this._adjustIndex(a,-1),_=ll(this._lContainer,c);return _&&null!=$s(e6(this._lContainer),c)?new td(_):null}_adjustIndex(a,c=0){return a??this.length+c}};function K8(i){return i[8]}function e6(i){return i[8]||(i[8]=[])}function t6(i,a){let c;const _=a[i.index];return Ir(_)?c=_:(c=Y0(_,a,null,i),a[i.index]=c,gl(a,c)),Q8(c,a,i,_),new j8(c,i,a)}let Q8=function X8(i,a,c,_){if(i[cr])return;let T;T=8&c.type?Fn(_):function qv(i,a){const c=i[An],_=c.createComment(""),T=Sr(a,i);return cc(c,dl(c,T),_,function I0(i,a){return i.nextSibling(a)}(c,T),!1),_}(a,c),i[cr]=T},i6=(i,a,c)=>!1;function oh(i,a,c,_,T,F,Q,oe){const we=Hi(),ot=rr(),Et=i+En,Ut=ot.firstCreatePass?function n6(i,a,c,_,T,F,Q,oe,we){const ot=a.consts,Et=ml(a,i,4,Q||null,$o(ot,oe));A3(a,c,Et,$o(ot,we)),Gc(a,Et);const Ut=Et.tView=E3(2,Et,_,T,F,a.directiveRegistry,a.pipeRegistry,null,a.schemas,ot,null);return null!==a.queries&&(a.queries.template(a,Et),Ut.queries=a.queries.embeddedTView(Et)),Et}(Et,ot,we,a,c,_,T,F,Q):ot.data[Et];Fr(Ut,!1);const ai=J8(ot,we,Ut,i);ls()&&Z(ot,we,ai,Ut),eo(ai,we);const mi=Y0(ai,we,ai,Ut);return we[Et]=mi,gl(we,mi),function q8(i,a,c){return i6(i,a,c)}(mi,Ut,we),Vs(Ut)&&w3(ot,we,Ut),null!=Q&&M3(we,Ut,oe),oh}let J8=function $8(i,a,c,_){return Is(!0),a[An].createComment("")};function e5(i,a,c){c1("NgControlFlow");const _=Hi(),T=na(),F=l4(_,En+i);if(ro(_,T,a)){const oe=w(null);try{if($p(F,0),-1!==a){const we=r6(_[vt],En+a),ot=v2(F,we.tView.ssrId);b2(F,af(_,we,c,{dehydratedView:ot}),0,ah(we,ot))}}finally{w(oe)}}else{const oe=W8(F,0);void 0!==oe&&(oe[Hn]=c)}}class t9{constructor(a,c,_){this.lContainer=a,this.$implicit=c,this.$index=_}get $count(){return this.lContainer.length-qi}}function t5(i,a){return a}class i5{constructor(a,c,_){this.hasEmptyBlock=a,this.trackByFn=c,this.liveCollection=_}}function n5(i,a,c,_,T,F,Q,oe,we,ot,Et){c1("NgControlFlow");const Ut=void 0!==we,ai=Hi(),mi=oe?Q.bind(ai[gr][Hn]):Q,Ri=new i5(Ut,mi);ai[En+i]=Ri,oh(i+1,a,c,_,T,F),Ut&&oh(i+2,we,ot,Et)}class r5 extends Kv{constructor(a,c,_){super(),this.lContainer=a,this.hostLView=c,this.templateTNode=_,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-qi}at(a){return this.getLView(a)[Hn].$implicit}attach(a,c){const _=c[Ma];this.needsIndexUpdate||=a!==this.length,b2(this.lContainer,c,a,ah(this.templateTNode,_))}detach(a){return this.needsIndexUpdate||=a!==this.length-1,function o5(i,a){return ll(i,a)}(this.lContainer,a)}create(a,c){const _=v2(this.lContainer,this.templateTNode.tView.ssrId);return af(this.hostLView,this.templateTNode,new t9(this.lContainer,c,a),{dehydratedView:_})}destroy(a){n1(a[vt],a)}updateValue(a,c){this.getLView(a)[Hn].$implicit=c}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let a=0;a{i.destroy(oe)})}(Q,i,F.trackByFn),Q.updateIndexes(),F.hasEmptyBlock){const oe=na(),we=0===Q.length;if(ro(_,oe,we)){const ot=c+2,Et=l4(_,ot);if(we){const Ut=r6(T,ot),ai=v2(Et,Ut.tView.ssrId);b2(Et,af(_,Ut,void 0,{dehydratedView:ai}),0,ah(Ut,ai))}else $p(Et,0)}}}finally{w(a)}}function l4(i,a){return i[a]}function r6(i,a){return _c(i,a)}function df(i,a,c,_){const T=Hi(),F=rr(),Q=En+i,oe=T[An],we=F.firstCreatePass?function T9(i,a,c,_,T,F){const Q=a.consts,we=ml(a,i,2,_,$o(Q,T));return A3(a,c,we,$o(Q,F)),null!==we.attrs&&th(we,we.attrs,!1),null!==we.mergedAttrs&&th(we,we.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,we),we}(Q,F,T,a,c,_):F.data[Q],ot=T5(F,T,we,oe,a,i);T[Q]=ot;const Et=Vs(we);return Fr(we,!0),Ya(oe,ot,we),32!=(32&we.flags)&&ls()&&Z(F,T,ot,we),0===function p1(){return In.lFrame.elementDepthCount}()&&eo(ot,T),function bs(){In.lFrame.elementDepthCount++}(),Et&&(w3(F,T,we),ku(F,we,T)),null!==_&&M3(T,we),df}function y4(){let i=mr();Ra()?bc():(i=i.parent,Fr(i,!1));const a=i;(function T2(i){return In.skipHydrationRootTNode===i})(a)&&function gd(){In.skipHydrationRootTNode=null}(),function Sh(){In.lFrame.elementDepthCount--}();const c=rr();return c.firstCreatePass&&(Gc(c,i),Ts(i)&&c.queries.elementEnd(i)),null!=a.classesWithoutHost&&function vd(i){return 0!=(8&i.flags)}(a)&&Vn(c,a,Hi(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function Lf(i){return 0!=(16&i.flags)}(a)&&Vn(c,a,Hi(),a.stylesWithoutHost,!1),y4}function g6(i,a,c,_){return df(i,a,c,_),y4(),g6}let T5=(i,a,c,_,T,F)=>(Is(!0),Zd(_,T,function es(){return In.lFrame.currentNamespace}()));function hf(i,a,c){const _=Hi(),T=rr(),F=i+En,Q=T.firstCreatePass?function L9(i,a,c,_,T){const F=a.consts,Q=$o(F,_),oe=ml(a,i,8,"ng-container",Q);return null!==Q&&th(oe,Q,!0),A3(a,c,oe,$o(F,T)),null!==a.queries&&a.queries.elementStart(a,oe),oe}(F,T,_,a,c):T.data[F];Fr(Q,!0);const oe=A5(T,_,Q,i);return _[F]=oe,ls()&&Z(T,_,oe,Q),eo(oe,_),Vs(Q)&&(w3(T,_,Q),ku(T,Q,_)),null!=c&&M3(_,Q),hf}function x4(){let i=mr();const a=rr();return Ra()?bc():(i=i.parent,Fr(i,!1)),a.firstCreatePass&&(Gc(a,i),Ts(i)&&a.queries.elementEnd(i)),x4}function _6(i,a,c){return hf(i,a,c),x4(),_6}let A5=(i,a,c,_)=>(Is(!0),Gd(a[An],""));function L5(){return Hi()}function v6(i,a,c){const _=Hi();return ro(_,na(),a)&&ys(rr(),Rr(),_,i,a,_[An],c,!0),v6}function C4(i,a,c){const _=Hi();if(ro(_,na(),a)){const F=rr(),Q=Rr();ys(F,Q,_,i,a,Ru(ni(F.data),Q,_),c,!0)}return C4}const x2=void 0;var O9=["en",[["a","p"],["AM","PM"],x2],[["AM","PM"],x2,x2],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],x2,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],x2,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",x2,"{1} 'at' {0}",x2],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function I9(i){const c=Math.floor(Math.abs(i)),_=i.toString().replace(/^[^.]*\.?/,"").length;return 1===c&&0===_?1:5}];let fh={};function w4(i){const a=function P9(i){return i.toLowerCase().replace(/_/g,"-")}(i);let c=I5(a);if(c)return c;const _=a.split("-")[0];if(c=I5(_),c)return c;if("en"===_)return O9;throw new te(701,!1)}function k5(i){return w4(i)[mh.PluralCase]}function I5(i){return i in fh||(fh[i]=ri.ng&&ri.ng.common&&ri.ng.common.locales&&ri.ng.common.locales[i]),fh[i]}var mh=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(mh||{});const ph="en-US";let b6=ph;function A6(i){return!!i&&"function"==typeof i.then}function D6(i){return!!i&&"function"==typeof i.subscribe}function L6(i,a,c,_){const T=Hi(),F=rr(),Q=mr();return O4(F,T,T[An],Q,i,a,_),L6}function I4(i,a){const c=mr(),_=Hi(),T=rr();return O4(T,_,Ru(ni(T.data),c,_),c,i,a),I4}function O4(i,a,c,_,T,F,Q){const oe=Vs(_),ot=i.firstCreatePass&&j0(i),Et=a[Hn],Ut=ed(a);let ai=!0;if(3&_.type||Q){const ji=Sr(_,a),hn=Q?Q(ji):ji,bn=Ut.length,Wi=Q?wr=>Q(Fn(wr[_.index])):_.index;let Zn=null;if(!Q&&oe&&(Zn=function bb(i,a,c,_){const T=i.cleanup;if(null!=T)for(let F=0;Fwe?oe[we]:null}"string"==typeof Q&&(F+=2)}return null}(i,a,T,_.index)),null!==Zn)(Zn.__ngLastListenerFn__||Zn).__ngNextListenerFn__=F,Zn.__ngLastListenerFn__=F,ai=!1;else{F=r_(_,a,Et,F,!1);const wr=c.listen(hn,T,F);Ut.push(F,wr),ot&&ot.push(T,Wi,bn,bn+1)}}else F=r_(_,a,Et,F,!1);const mi=_.outputs;let Ri;if(ai&&null!==mi&&(Ri=mi[T])){const ji=Ri.length;if(ji)for(let hn=0;hn-1?Uo(i.index,a):a);let we=n_(a,c,_,Q),ot=F.__ngNextListenerFn__;for(;ot;)we=n_(a,c,ot,Q)&&we,ot=ot.__ngNextListenerFn__;return T&&!1===we&&Q.preventDefault(),we}}function a_(i=1){return function cs(i){return(In.lFrame.contextLView=function Pa(i,a){for(;i>0;)a=a[xo],i--;return a}(i,In.lFrame.contextLView))[Hn]}(i)}function yb(i,a){let c=null;const _=function Fo(i){const a=i.attrs;if(null!=a){const c=a.indexOf(5);if(!(1&c))return a[c+1]}return null}(i);for(let T=0;T(Is(!0),function t1(i,a){return i.createText(a)}(a[An],_));function _h(i){return N4("",i,""),_h}function N4(i,a,c){const _=Hi(),T=u2(_,i,a,c);return T!==tr&&Pc(_,fo(),T),N4}function H6(i,a,c,_,T){const F=Hi(),Q=Hc(F,i,a,c,_,T);return Q!==tr&&Pc(F,fo(),Q),H6}function F6(i,a,c,_,T,F,Q){const oe=Hi(),we=function od(i,a,c,_,T,F,Q,oe){const ot=nh(i,Wn(),c,T,Q);return me(3),ot?a+at(c)+_+at(T)+F+at(Q)+oe:tr}(oe,i,a,c,_,T,F,Q);return we!==tr&&Pc(oe,fo(),we),F6}function z6(i,a,c,_,T,F,Q,oe,we){const ot=Hi(),Et=f2(ot,i,a,c,_,T,F,Q,oe,we);return Et!==tr&&Pc(ot,fo(),Et),z6}function V6(i,a,c,_,T){if(i=Ie(i),Array.isArray(i))for(let F=0;F>20;if(Dc(i)||!i.multi){const mi=new xc(ot,T,$1),Ri=B6(we,a,T?Et:Et+ai,Ut);-1===Ri?(k2(qc(oe,Q),F,we),H4(F,i,a.length),a.push(we),oe.directiveStart++,oe.directiveEnd++,T&&(oe.providerIndexes+=1048576),c.push(mi),Q.push(mi)):(c[Ri]=mi,Q[Ri]=mi)}else{const mi=B6(we,a,Et+ai,Ut),Ri=B6(we,a,Et,Et+ai),hn=Ri>=0&&c[Ri];if(T&&!hn||!T&&!(mi>=0&&c[mi])){k2(qc(oe,Q),F,we);const bn=function kb(i,a,c,_,T){const F=new xc(i,c,$1);return F.multi=[],F.index=a,F.componentProviders=0,k_(F,T,_&&!c),F}(T?I_:Lb,c.length,T,_,ot);!T&&hn&&(c[Ri].providerFactory=bn),H4(F,i,a.length,0),a.push(we),oe.directiveStart++,oe.directiveEnd++,T&&(oe.providerIndexes+=1048576),c.push(bn),Q.push(bn)}else H4(F,i,mi>-1?mi:Ri,k_(c[T?Ri:mi],ot,!T&&_));!T&&_&&hn&&c[Ri].componentProviders++}}}function H4(i,a,c,_){const T=Dc(a),F=function Y2(i){return!!i.useClass}(a);if(T||F){const we=(F?Ie(a.useClass):a).prototype.ngOnDestroy;if(we){const ot=i.destroyHooks||(i.destroyHooks=[]);if(!T&&a.multi){const Et=ot.indexOf(c);-1===Et?ot.push(c,[_,we]):ot[Et+1].push(_,we)}else ot.push(c,we)}}}function k_(i,a,c){return c&&i.componentProviders++,i.multi.push(a)-1}function B6(i,a,c,_){for(let T=c;T<_;T++)if(a[T]===i)return T;return-1}function Lb(i,a,c,_){return U6(this.multi,[])}function I_(i,a,c,_){const T=this.multi;let F;if(this.providerFactory){const Q=this.providerFactory.componentProviders,oe=Js(c,c[vt],this.providerFactory.index,_);F=oe.slice(0,Q),U6(T,F);for(let we=Q;we{c.providersResolver=(_,T)=>function L_(i,a,c){const _=rr();if(_.firstCreatePass){const T=uo(i);V6(c,_.data,_.blueprint,T,!0),V6(a,_.data,_.blueprint,T,!1)}}(_,T?T(i):i,a)}}class C2{}class O_{}function F4(i,a){return new Z6(i,a??null,[])}class Z6 extends C2{constructor(a,c,_){super(),this._parent=c,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Dp(this);const T=ar(a);this._bootstrapComponents=Yo(T.bootstrap),this._r3Injector=kd(a,c,[{provide:C2,useValue:this},{provide:G0,useValue:this.componentFactoryResolver},..._],It(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(c=>c()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class W6 extends O_{constructor(a){super(),this.moduleType=a}create(a){return new Z6(this.moduleType,a,[])}}class P_ extends C2{constructor(a){super(),this.componentFactoryResolver=new Dp(this),this.instance=null;const c=new el([...a.providers,{provide:C2,useValue:this},{provide:G0,useValue:this.componentFactoryResolver}],a.parent||I1(),a.debugName,new Set(["environment"]));this.injector=c,a.runEnvironmentInitializers&&c.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function Y6(i,a,c=null){return new P_({providers:i,parent:a,debugName:c,runEnvironmentInitializers:!0}).injector}let Ob=(()=>{class i{constructor(c){this._injector=c,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(c){if(!c.standalone)return null;if(!this.cachedInjectors.has(c)){const _=Z2(0,c.type),T=_.length>0?Y6([_],this._injector,`Standalone[${c.type.name}]`):null;this.cachedInjectors.set(c,T)}return this.cachedInjectors.get(c)}ngOnDestroy(){try{for(const c of this.cachedInjectors.values())null!==c&&c.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Mt({token:i,providedIn:"environment",factory:()=>new i(fr(us))})}return i})();function R_(i){c1("NgStandalone"),i.getStandaloneInjector=a=>a.get(Ob).getOrCreateStandaloneInjector(i)}function G_(i,a,c){const _=qn()+i,T=Hi();return T[_]===tr?fc(T,_,c?a.call(c):a()):function ih(i,a){return i[a]}(T,_)}function Z_(i,a,c,_){return j_(Hi(),qn(),i,a,c,_)}function B4(i,a,c,_,T){return K_(Hi(),qn(),i,a,c,_,T)}function W_(i,a,c,_,T,F){return X6(Hi(),qn(),i,a,c,_,T,F)}function _f(i,a){const c=i[a];return c===tr?void 0:c}function j_(i,a,c,_,T,F){const Q=a+c;return ro(i,Q,T)?fc(i,Q+1,F?_.call(F,T):_(T)):_f(i,Q+1)}function K_(i,a,c,_,T,F,Q){const oe=a+c;return rd(i,oe,T,F)?fc(i,oe+2,Q?_.call(Q,T,F):_(T,F)):_f(i,oe+2)}function X6(i,a,c,_,T,F,Q,oe){const we=a+c;return nh(i,we,T,F,Q)?fc(i,we+3,oe?_.call(oe,T,F,Q):_(T,F,Q)):_f(i,we+3)}function Q_(i,a){const c=rr();let _;const T=i+En;c.firstCreatePass?(_=function Wb(i,a){if(a)for(let c=a.length-1;c>=0;c--){const _=a[c];if(i===_.name)return _}}(a,c.pipeRegistry),c.data[T]=_,_.onDestroy&&(c.destroyHooks??=[]).push(T,_.onDestroy)):_=c.data[T];const F=_.factory||(_.factory=Ii(_.type)),oe=et($1);try{const we=x1(!1),ot=F();return x1(we),function xb(i,a,c,_){c>=i.data.length&&(i.data[c]=null,i.blueprint[c]=null),a[c]=_}(c,Hi(),T,ot),ot}finally{et(oe)}}function $6(i,a,c){const _=i+En,T=Hi(),F=Ds(T,_);return bh(T,_)?j_(T,qn(),a,F.transform,c,F):F.transform(c)}function q_(i,a,c,_){const T=i+En,F=Hi(),Q=Ds(F,T);return bh(F,T)?K_(F,qn(),a,Q.transform,c,_,Q):Q.transform(c,_)}function X_(i,a,c,_,T){const F=i+En,Q=Hi(),oe=Ds(Q,F);return bh(Q,F)?X6(Q,qn(),a,oe.transform,c,_,T,oe):oe.transform(c,_,T)}function bh(i,a){return i[vt].data[a].pure}function Qb(){return this._results[Symbol.iterator]()}class vf{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Hs)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const c=vf.prototype;c[Symbol.iterator]||(c[Symbol.iterator]=Qb)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,c){return this._results.reduce(a,c)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,c){this.dirty=!1;const _=function Wo(i){return i.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function Ff(i,a,c){if(i.length!==a.length)return!1;for(let _=0;_{class i{static#e=this.__NG_ELEMENT_ID__=Jb}return i})();const qb=w2,Xb=class extends qb{constructor(a,c,_){super(),this._declarationLView=a,this._declarationTContainer=c,this.elementRef=_}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,c){return this.createEmbeddedViewImpl(a,c)}createEmbeddedViewImpl(a,c,_){const T=af(this._declarationLView,this._declarationTContainer,a,{injector:c,dehydratedView:_});return new td(T)}};function Jb(){return G4(mr(),Hi())}function G4(i,a){return 4&i.type?new Xb(a,i,t2(i,a)):null}class eg{constructor(a){this.queryList=a,this.matches=null}clone(){return new eg(this.queryList)}setDirty(){this.queryList.setDirty()}}class bf{constructor(a=[]){this.queries=a}createEmbeddedView(a){const c=a.queries;if(null!==c){const _=null!==a.contentQueries?a.contentQueries[0]:c.length,T=[];for(let F=0;F<_;F++){const Q=c.getByIndex(F);T.push(this.queries[Q.indexInDeclarationView].clone())}return new bf(T)}return null}insertView(a){this.dirtyQueriesWithMatches(a)}detachView(a){this.dirtyQueriesWithMatches(a)}dirtyQueriesWithMatches(a){for(let c=0;c0)_.push(Q[oe/2]);else{const ot=F[oe+1],Et=a[-we];for(let Ut=qi;Ut{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((c,_)=>{this.resolve=c,this.reject=_}),this.appInits=Kn(ug,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const c=[];for(const T of this.appInits){const F=T();if(A6(F))c.push(F);else if(D6(F)){const Q=new Promise((oe,we)=>{F.subscribe({complete:oe,error:we})});c.push(Q)}}const _=()=>{this.done=!0,this.resolve()};Promise.all(c).then(()=>{_()}).catch(T=>{this.reject(T)}),0===c.length&&_(),this.initialized=!0}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),M7=(()=>{class i{log(c){console.log(c)}warn(c){console.warn(c)}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();const Q4=new an("LocaleId",{providedIn:"root",factory:()=>Kn(Q4,xi.Optional|xi.SkipSelf)||function S7(){return typeof $localize<"u"&&$localize.locale||ph}()}),xy=new an("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let T7=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new re.X(!1)}add(){this.hasPendingTasks.next(!0);const c=this.taskId++;return this.pendingTasks.add(c),c}remove(c){this.pendingTasks.delete(c),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();class Sy{constructor(a,c){this.ngModuleFactory=a,this.componentFactories=c}}let Ey=(()=>{class i{compileModuleSync(c){return new W6(c)}compileModuleAsync(c){return Promise.resolve(this.compileModuleSync(c))}compileModuleAndAllComponentsSync(c){const _=this.compileModuleSync(c),F=Yo(ar(c).declarations).reduce((Q,oe)=>{const we=ii(oe);return we&&Q.push(new nd(we)),Q},[]);return new Sy(_,F)}compileModuleAndAllComponentsAsync(c){return Promise.resolve(this.compileModuleAndAllComponentsSync(c))}clearCache(){}clearCacheFor(c){}getModuleId(c){}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const P7=new an(""),gg=new an("");let _g,Qy=(()=>{class i{constructor(c,_,T){this._ngZone=c,this.registry=_,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,_g||(function qy(i){_g=i}(T),T.addToWindow(_)),this._watchAngularEvents(),c.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{mo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let c=this._callbacks.pop();clearTimeout(c.timeoutId),c.doneCb(this._didWork)}this._didWork=!1});else{let c=this.getPendingTasks();this._callbacks=this._callbacks.filter(_=>!_.updateCb||!_.updateCb(c)||(clearTimeout(_.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(c=>({source:c.source,creationLocation:c.creationLocation,data:c.data})):[]}addCallback(c,_,T){let F=-1;_&&_>0&&(F=setTimeout(()=>{this._callbacks=this._callbacks.filter(Q=>Q.timeoutId!==F),c(this._didWork,this.getPendingTasks())},_)),this._callbacks.push({doneCb:c,timeoutId:F,updateCb:T})}whenStable(c,_,T){if(T&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(c,_,T),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(c){this.registry.registerApplication(c,this)}unregisterApplication(c){this.registry.unregisterApplication(c)}findProviders(c,_,T){return[]}static#e=this.\u0275fac=function(_){return new(_||i)(fr(mo),fr(R7),fr(gg))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})(),R7=(()=>{class i{constructor(){this._applications=new Map}registerApplication(c,_){this._applications.set(c,_)}unregisterApplication(c){this._applications.delete(c)}unregisterAllApplications(){this._applications.clear()}getTestability(c){return this._applications.get(c)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(c,_=!0){return _g?.findTestabilityInTree(this,c,_)??null}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})(),md=null;const vg=new an("AllowMultipleToken"),X4=new an("PlatformDestroyListeners"),bg=new an("appBootstrapListener");function N7(i,a,c=[]){const _=`Platform: ${a}`,T=new an(_);return(F=[])=>{let Q=wg();if(!Q||Q.injector.get(vg,!1)){const oe=[...c,...F,{provide:T,useValue:!0}];i?i(oe):function ex(i){if(md&&!md.get(vg,!1))throw new te(400,!1);(function yg(){!function O(i){C=i}(()=>{throw new te(600,!1)})})(),md=i;const a=i.get(H7);(function xg(i){i.get(Qh,null)?.forEach(c=>c())})(i)}(function Cg(i=[],a){return fs.create({name:a,providers:[{provide:Ps,useValue:"platform"},{provide:X4,useValue:new Set([()=>md=null])},...i]})}(oe,_))}return function ix(i){const a=wg();if(!a)throw new te(401,!1);return a}()}}function wg(){return md?.get(H7)??null}let H7=(()=>{class i{constructor(c){this._injector=c,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(c,_){const T=function z7(i="zone.js",a){return"noop"===i?new Mp:"zone.js"===i?new mo(a):i}(_?.ngZone,function F7(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}({eventCoalescing:_?.ngZoneEventCoalescing,runCoalescing:_?.ngZoneRunCoalescing}));return T.run(()=>{const F=function Ib(i,a,c){return new Z6(i,a,c)}(c.moduleType,this.injector,function G7(i){return[{provide:mo,useFactory:i},{provide:ec,multi:!0,useFactory:()=>{const a=Kn(rx,{optional:!0});return()=>a.initialize()}},{provide:U7,useFactory:nx},{provide:Sp,useFactory:Ep}]}(()=>T)),Q=F.injector.get(a1,null);return T.runOutsideAngular(()=>{const oe=T.onError.subscribe({next:we=>{Q.handleError(we)}});F.onDestroy(()=>{J4(this._modules,F),oe.unsubscribe()})}),function V7(i,a,c){try{const _=c();return A6(_)?_.catch(T=>{throw a.runOutsideAngular(()=>i.handleError(T)),T}):_}catch(_){throw a.runOutsideAngular(()=>i.handleError(_)),_}}(Q,T,()=>{const oe=F.injector.get(fg);return oe.runInitializers(),oe.donePromise.then(()=>(function P5(i){Ki(i,"Expected localeId to be defined"),"string"==typeof i&&(b6=i.toLowerCase().replace(/_/g,"-"))}(F.injector.get(Q4,ph)||ph),this._moduleDoBootstrap(F),F))})})}bootstrapModule(c,_=[]){const T=B7({},_);return function Xy(i,a,c){const _=new W6(c);return Promise.resolve(_)}(0,0,c).then(F=>this.bootstrapModuleFactory(F,T))}_moduleDoBootstrap(c){const _=c.injector.get(Ch);if(c._bootstrapComponents.length>0)c._bootstrapComponents.forEach(T=>_.bootstrap(T));else{if(!c.instance.ngDoBootstrap)throw new te(-403,!1);c.instance.ngDoBootstrap(_)}this._modules.push(c)}onDestroy(c){this._destroyListeners.push(c)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new te(404,!1);this._modules.slice().forEach(_=>_.destroy()),this._destroyListeners.forEach(_=>_());const c=this._injector.get(X4,null);c&&(c.forEach(_=>_()),c.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(_){return new(_||i)(fr(fs))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();function B7(i,a){return Array.isArray(a)?a.reduce(B7,i):{...i,...a}}let Ch=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Kn(U7),this.zoneIsStable=Kn(Sp),this.componentTypes=[],this.components=[],this.isStable=Kn(T7).hasPendingTasks.pipe((0,Ze.w)(c=>c?(0,ve.of)(!1):this.zoneIsStable),(0,We.x)(),(0,ce.B)()),this._injector=Kn(us)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(c,_){const T=c instanceof s3;if(!this._injector.get(fg).done)throw!T&&nr(c),new te(405,!1);let Q;Q=T?c:this._injector.get(G0).resolveComponentFactory(c),this.componentTypes.push(Q.componentType);const oe=function Jy(i){return i.isBoundToModule}(Q)?void 0:this._injector.get(C2),ot=Q.create(fs.NULL,[],_||Q.selector,oe),Et=ot.location.nativeElement,Ut=ot.injector.get(P7,null);return Ut?.registerApplication(Et),ot.onDestroy(()=>{this.detachView(ot.hostView),J4(this.components,ot),Ut?.unregisterApplication(Et)}),this._loadComponent(ot),ot}tick(){if(this._runningTick)throw new te(101,!1);try{this._runningTick=!0;for(let c of this._views)c.detectChanges()}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1}}attachView(c){const _=c;this._views.push(_),_.attachToAppRef(this)}detachView(c){const _=c;J4(this._views,_),_.detachFromAppRef()}_loadComponent(c){this.attachView(c.hostView),this.tick(),this.components.push(c);const _=this._injector.get(bg,[]);[...this._bootstrapListeners,..._].forEach(T=>T(c))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(c=>c()),this._views.slice().forEach(c=>c.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(c){return this._destroyListeners.push(c),()=>J4(this._destroyListeners,c)}destroy(){if(this._destroyed)throw new te(406,!1);const c=this._injector;c.destroy&&!c.destroyed&&c.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function J4(i,a){const c=i.indexOf(a);c>-1&&i.splice(c,1)}const U7=new an("",{providedIn:"root",factory:()=>Kn(a1).handleError.bind(void 0)});function nx(){const i=Kn(mo),a=Kn(a1);return c=>i.runOutsideAngular(()=>a.handleError(c))}let rx=(()=>{class i{constructor(){this.zone=Kn(mo),this.applicationRef=Kn(Ch)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(_){return new(_||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function cx(){return!1}const mx=N7(null,"core",[]);let K7=(()=>{class i{constructor(c){}static#e=this.\u0275fac=function(_){return new(_||i)(fr(Ch))};static#t=this.\u0275mod=Ao({type:i});static#i=this.\u0275inj=Dt({})}return i})();function pv(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function gv(i,a=NaN){return isNaN(parseFloat(i))||isNaN(Number(i))?a:Number(i)}function Nx(i){const a=ii(i);if(!a)return null;const c=new nd(a);return{get selector(){return c.selector},get type(){return c.componentType},get inputs(){return c.inputs},get outputs(){return c.outputs},get ngContentSelectors(){return c.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}},1993:(Fe,q,p)=>{"use strict";p.d(q,{O4:()=>A});var e=p(9212);function A(l,w){const m=!w?.manualCleanup;m&&!w?.injector&&(0,e.gHi)(A);const P=m?w?.injector?.get(e.ktI)??(0,e.f3M)(e.ktI):null;let d;d=(0,e.tdS)(w?.requireSync?{kind:0}:{kind:1,value:w?.initialValue});const E=l.subscribe({next:M=>d.set({kind:1,value:M}),error:M=>{if(w?.rejectErrors)throw M;d.set({kind:2,error:M})}});return P?.onDestroy(E.unsubscribe.bind(E)),(0,e.Flj)(()=>{const M=d();switch(M.kind){case 1:return M.value;case 2:throw M.error;case 0:throw new e.vHH(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}},5766:(Fe,q,p)=>{"use strict";function e(E){for(let M in E){let I=E[M]??"";switch(M){case"display":E.display="flex"===I?["-webkit-flex","flex"]:"inline-flex"===I?["-webkit-inline-flex","inline-flex"]:I;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":E["-webkit-"+M]=I;break;case"flex-direction":E["-webkit-flex-direction"]=I,E["flex-direction"]=I;break;case"order":E.order=E["-webkit-"+M]=isNaN(+I)?"0":I}}return E}p.d(q,{Ar:()=>A,GK:()=>e,iQ:()=>y,kt:()=>d,tj:()=>w});const t="inline",y=["row","column","row-reverse","column-reverse"];function A(E){let[M,I,k]=l(E);return function P(E,M=null,I=!1){return{display:I?"inline-flex":"flex","box-sizing":"border-box","flex-direction":E,"flex-wrap":M||null}}(M,I,k)}function l(E){E=E?.toLowerCase()??"";let[M,I,k]=E.split(" ");return y.find(z=>z===M)||(M=y[0]),I===t&&(I=k!==t?k:"",k=t),[M,m(I),!!k]}function w(E){let[M]=l(E);return M.indexOf("row")>-1}function m(E){if(E)switch(E.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":E="wrap-reverse";break;case"no":case"none":case"nowrap":E="nowrap";break;default:E="wrap"}return E}function d(E,...M){if(null==E)throw TypeError("Cannot convert undefined or null to object");for(let I of M)if(null!=I)for(let k in I)I.hasOwnProperty(k)&&(E[k]=I[k]);return E}},1462:(Fe,q,p)=>{"use strict";p.d(q,{Bs:()=>X,FL:()=>te,IR:()=>k,Ot:()=>Qe,QI:()=>se,RK:()=>ue,WU:()=>j,g5:()=>W,iR:()=>Ct,wY:()=>K,yB:()=>Ze});var e=p(9212),t=p(6814),y=p(5619),A=p(5592),l=p(3019),w=p(8645),m=p(5766),P=p(2181),d=p(9397);const M={provide:e.tb,useFactory:function E(Ue,Bt){return()=>{if((0,t.NF)(Bt)){const Ye=Array.from(Ue.querySelectorAll(`[class*=${I}]`)),je=/\bflex-layout-.+?\b/g;Ye.forEach(Ft=>{Ft.classList.contains(`${I}ssr`)&&Ft.parentNode?Ft.parentNode.removeChild(Ft):Ft.className.replace(je,"")})}}},deps:[t.K0,e.Lbi],multi:!0},I="flex-layout-";let k=(()=>{class Ue{}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)},Ue.\u0275mod=e.oAB({type:Ue}),Ue.\u0275inj=e.cJS({providers:[M]}),Ue})();class z{constructor(Bt=!1,Ye="all",je="",Ft="",xt=0){this.matches=Bt,this.mediaQuery=Ye,this.mqAlias=je,this.suffix=Ft,this.priority=xt,this.property=""}clone(){return new z(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let B=(()=>{class Ue{constructor(){this.stylesheet=new Map}addStyleToElement(Ye,je,Ft){const xt=this.stylesheet.get(Ye);xt?xt.set(je,Ft):this.stylesheet.set(Ye,new Map([[je,Ft]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Ye,je){const Ft=this.stylesheet.get(Ye);let xt="";if(Ft){const Ot=Ft.get(je);("number"==typeof Ot||"string"==typeof Ot)&&(xt=Ot+"")}return xt}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)},Ue.\u0275prov=e.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();const W={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},j=new e.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>W}),K=new e.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),X=new e.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ie(Ue,Bt){return Ue=Ue?.clone()??new z,Bt&&(Ue.mqAlias=Bt.alias,Ue.mediaQuery=Bt.mediaQuery,Ue.suffix=Bt.suffix,Ue.priority=Bt.priority),Ue}class se{constructor(){this.shouldCache=!0}sideEffect(Bt,Ye,je){}}let ue=(()=>{class Ue{constructor(Ye,je,Ft,xt){this._serverStylesheet=Ye,this._serverModuleLoaded=je,this._platformId=Ft,this.layoutConfig=xt}applyStyleToElement(Ye,je,Ft=null){let xt={};"string"==typeof je&&(xt[je]=Ft,je=xt),xt=this.layoutConfig.disableVendorPrefixes?je:(0,m.GK)(je),this._applyMultiValueStyleToElement(xt,Ye)}applyStyleToElements(Ye,je=[]){const Ft=this.layoutConfig.disableVendorPrefixes?Ye:(0,m.GK)(Ye);je.forEach(xt=>{this._applyMultiValueStyleToElement(Ft,xt)})}getFlowDirection(Ye){const je="flex-direction";let Ft=this.lookupStyle(Ye,je);return[Ft||"row",this.lookupInlineStyle(Ye,je)||(0,t.PM)(this._platformId)&&this._serverModuleLoaded?Ft:""]}hasWrap(Ye){return"wrap"===this.lookupStyle(Ye,"flex-wrap")}lookupAttributeValue(Ye,je){return Ye.getAttribute(je)??""}lookupInlineStyle(Ye,je){return(0,t.NF)(this._platformId)?Ye.style.getPropertyValue(je):function ae(Ue,Bt){return he(Ue)[Bt]??""}(Ye,je)}lookupStyle(Ye,je,Ft=!1){let xt="";return Ye&&((xt=this.lookupInlineStyle(Ye,je))||((0,t.NF)(this._platformId)?Ft||(xt=getComputedStyle(Ye).getPropertyValue(je)):this._serverModuleLoaded&&(xt=this._serverStylesheet.getStyleForElement(Ye,je)))),xt?xt.trim():""}_applyMultiValueStyleToElement(Ye,je){Object.keys(Ye).sort().forEach(Ft=>{const xt=Ye[Ft],Ot=Array.isArray(xt)?xt:[xt];Ot.sort();for(let yt of Ot)yt=yt?yt+"":"",(0,t.NF)(this._platformId)||!this._serverModuleLoaded?(0,t.NF)(this._platformId)?je.style.setProperty(Ft,yt):Me(je,Ft,yt):this._serverStylesheet.addStyleToElement(je,Ft,yt)})}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)(e.LFG(B),e.LFG(K),e.LFG(e.Lbi),e.LFG(j))},Ue.\u0275prov=e.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();function Me(Ue,Bt,Ye){Bt=Bt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const je=he(Ue);je[Bt]=Ye??"",function J(Ue,Bt){let Ye="";for(const je in Bt)Bt[je]&&(Ye+=`${je}:${Bt[je]};`);Ue.setAttribute("style",Ye)}(Ue,je)}function he(Ue){const Bt={},Ye=Ue.getAttribute("style");if(Ye){const je=Ye.split(/;+/g);for(let Ft=0;Ft0){const Ot=xt.indexOf(":");if(-1===Ot)throw new Error(`Invalid CSS style: ${xt}`);Bt[xt.substr(0,Ot).trim()]=xt.substr(Ot+1).trim()}}}return Bt}function S(Ue,Bt){return(Bt&&Bt.priority||0)-(Ue&&Ue.priority||0)}function n(Ue,Bt){return(Ue.priority||0)-(Bt.priority||0)}let s=(()=>{class Ue{constructor(Ye,je,Ft){this._zone=Ye,this._platformId=je,this._document=Ft,this.source=new y.X(new z(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Ye=[];return this.registry.forEach((je,Ft)=>{je.matches&&Ye.push(Ft)}),Ye}isActive(Ye){return this.registry.get(Ye)?.matches??this.registerQuery(Ye).some(Ft=>Ft.matches)}observe(Ye,je=!1){if(Ye&&Ye.length){const Ft=this._observable$.pipe((0,P.h)(Ot=>!je||Ye.indexOf(Ot.mediaQuery)>-1)),xt=new A.y(Ot=>{const yt=this.registerQuery(Ye);if(yt.length){const at=yt.pop();yt.forEach(Ee=>{Ot.next(Ee)}),this.source.next(at)}Ot.complete()});return(0,l.T)(xt,Ft)}return this._observable$}registerQuery(Ye){const je=Array.isArray(Ye)?Ye:[Ye],Ft=[];return function h(Ue,Bt){const Ye=Ue.filter(je=>!f[je]);if(Ye.length>0){const je=Ye.join(", ");try{const Ft=Bt.createElement("style");Ft.setAttribute("type","text/css"),Ft.styleSheet||Ft.appendChild(Bt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${je} {.fx-query-test{ }}\n`)),Bt.head.appendChild(Ft),Ye.forEach(xt=>f[xt]=Ft)}catch(Ft){console.error(Ft)}}}(je,this._document),je.forEach(xt=>{const Ot=at=>{this._zone.run(()=>this.source.next(new z(at.matches,xt)))};let yt=this.registry.get(xt);yt||(yt=this.buildMQL(xt),yt.addListener(Ot),this.pendingRemoveListenerFns.push(()=>yt.removeListener(Ot)),this.registry.set(xt,yt)),yt.matches&&Ft.push(new z(!0,xt))}),Ft}ngOnDestroy(){let Ye;for(;Ye=this.pendingRemoveListenerFns.pop();)Ye()}buildMQL(Ye){return function D(Ue,Bt){return Bt&&window.matchMedia("all").addListener?window.matchMedia(Ue):function C(Ue){const Bt=new EventTarget;return Bt.matches="all"===Ue||""===Ue,Bt.media=Ue,Bt.addListener=()=>{},Bt.removeListener=()=>{},Bt.addEventListener=()=>{},Bt.dispatchEvent=()=>!1,Bt.onchange=null,Bt}(Ue)}(Ye,(0,t.NF)(this._platformId))}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)(e.LFG(e.R0b),e.LFG(e.Lbi),e.LFG(t.K0))},Ue.\u0275prov=e.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();const f={},O=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],v="(orientation: portrait) and (max-width: 599.98px)",r="(orientation: landscape) and (max-width: 959.98px)",g="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",H="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",R="(orientation: portrait) and (min-width: 840px)",ee="(orientation: landscape) and (min-width: 1280px)",De={HANDSET:`${v}, ${r}`,TABLET:`${g} , ${H}`,WEB:`${R}, ${ee} `,HANDSET_PORTRAIT:`${v}`,TABLET_PORTRAIT:`${g} `,WEB_PORTRAIT:`${R}`,HANDSET_LANDSCAPE:`${r}`,TABLET_LANDSCAPE:`${H}`,WEB_LANDSCAPE:`${ee}`},ct=[{alias:"handset",priority:2e3,mediaQuery:De.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:De.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:De.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:De.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:De.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:De.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:De.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:De.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:De.WEB_PORTRAIT,overlapping:!0}],Ke=/(\.|-|_)/g;function Je(Ue){let Bt=Ue.length>0?Ue.charAt(0):"",Ye=Ue.length>1?Ue.slice(1):"";return Bt.toUpperCase()+Ye}const xe=new e.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Ue=(0,e.f3M)(X),Bt=(0,e.f3M)(j),Ye=[].concat.apply([],(Ue||[]).map(Ft=>Array.isArray(Ft)?Ft:[Ft]));return function de(Ue,Bt=[]){const Ye={};return Ue.forEach(je=>{Ye[je.alias]=je}),Bt.forEach(je=>{Ye[je.alias]?(0,m.kt)(Ye[je.alias],je):Ye[je.alias]=je}),function fe(Ue){return Ue.forEach(Bt=>{Bt.suffix||(Bt.suffix=function ye(Ue){return Ue.replace(Ke,"|").split("|").map(Je).join("")}(Bt.alias),Bt.overlapping=!!Bt.overlapping)}),Ue}(Object.keys(Ye).map(je=>Ye[je]))}((Bt.disableDefaultBps?[]:O).concat(Bt.addOrientationBps?ct:[]),Ye)}});let le=(()=>{class Ue{constructor(Ye){this.findByMap=new Map,this.items=[...Ye].sort(n)}findByAlias(Ye){return Ye?this.findWithPredicate(Ye,je=>je.alias===Ye):null}findByQuery(Ye){return this.findWithPredicate(Ye,je=>je.mediaQuery===Ye)}get overlappings(){return this.items.filter(Ye=>Ye.overlapping)}get aliases(){return this.items.map(Ye=>Ye.alias)}get suffixes(){return this.items.map(Ye=>Ye?.suffix??"")}findWithPredicate(Ye,je){let Ft=this.findByMap.get(Ye);return Ft||(Ft=this.items.find(je)??null,this.findByMap.set(Ye,Ft)),Ft??null}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)(e.LFG(xe))},Ue.\u0275prov=e.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();const pe="print",qe={alias:pe,mediaQuery:pe,priority:1e3};let re=(()=>{class Ue{constructor(Ye,je,Ft){this.breakpoints=Ye,this.layoutConfig=je,this._document=Ft,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ve,this.deactivations=[]}withPrintQuery(Ye){return[...Ye,pe]}isPrintEvent(Ye){return Ye.mediaQuery.startsWith(pe)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Ye=>this.breakpoints.findByAlias(Ye)).filter(Ye=>null!==Ye)}getEventBreakpoints({mediaQuery:Ye}){const je=this.breakpoints.findByQuery(Ye);return(je?[...this.printBreakPoints,je]:this.printBreakPoints).sort(S)}updateEvent(Ye){let je=this.breakpoints.findByQuery(Ye.mediaQuery);return this.isPrintEvent(Ye)&&(je=this.getEventBreakpoints(Ye)[0],Ye.mediaQuery=je?.mediaQuery??""),ie(Ye,je)}registerBeforeAfterPrintHooks(Ye){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const je=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Ye,this.getEventBreakpoints(new z(!0,pe))),Ye.updateStyles())},Ft=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Ye),Ye.updateStyles())};this._document.defaultView.addEventListener("beforeprint",je),this._document.defaultView.addEventListener("afterprint",Ft),this.beforePrintEventListeners.push(je),this.afterPrintEventListeners.push(Ft)}interceptEvents(Ye){return je=>{this.isPrintEvent(je)?je.matches&&!this.isPrinting?(this.startPrinting(Ye,this.getEventBreakpoints(je)),Ye.updateStyles()):!je.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Ye),Ye.updateStyles()):this.collectActivations(Ye,je)}}blockPropagation(){return Ye=>!(this.isPrinting||this.isPrintEvent(Ye))}startPrinting(Ye,je){this.isPrinting=!0,this.formerActivations=Ye.activatedBreakpoints,Ye.activatedBreakpoints=this.queue.addPrintBreakpoints(je)}stopPrinting(Ye){Ye.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Ye,je){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!je.matches){const Ft=this.breakpoints.findByQuery(je.mediaQuery);if(Ft){const xt=this.formerActivations&&this.formerActivations.includes(Ft),Ot=!this.formerActivations&&Ye.activatedBreakpoints.includes(Ft);(xt||Ot)&&(this.deactivations.push(Ft),this.deactivations.sort(S))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Ye=>this._document.defaultView.removeEventListener("beforeprint",Ye)),this.afterPrintEventListeners.forEach(Ye=>this._document.defaultView.removeEventListener("afterprint",Ye)))}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)(e.LFG(le),e.LFG(j),e.LFG(t.K0))},Ue.\u0275prov=e.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();class ve{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Bt){return Bt.push(qe),Bt.sort(S),Bt.forEach(Ye=>this.addBreakpoint(Ye)),this.printBreakpoints}addBreakpoint(Bt){Bt&&void 0===this.printBreakpoints.find(je=>je.mediaQuery===Bt.mediaQuery)&&(this.printBreakpoints=function ce(Ue){return Ue?.mediaQuery.startsWith(pe)??!1}(Bt)?[Bt,...this.printBreakpoints]:[...this.printBreakpoints,Bt])}clear(){this.printBreakpoints=[]}}let Ze=(()=>{class Ue{constructor(Ye,je,Ft){this.matchMedia=Ye,this.breakpoints=je,this.hook=Ft,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new w.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Ye){this._activatedBreakpoints=[...Ye]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Ye){this._useFallbacks=Ye}onMediaChange(Ye){const je=this.findByQuery(Ye.mediaQuery);if(je){Ye=ie(Ye,je);const Ft=this.activatedBreakpoints.indexOf(je);Ye.matches&&-1===Ft?(this._activatedBreakpoints.push(je),this._activatedBreakpoints.sort(S),this.updateStyles()):!Ye.matches&&-1!==Ft&&(this._activatedBreakpoints.splice(Ft,1),this._activatedBreakpoints.sort(S),this.updateStyles())}}init(Ye,je,Ft,xt,Ot=[]){We(this.updateMap,Ye,je,Ft),We(this.clearMap,Ye,je,xt),this.buildElementKeyMap(Ye,je),this.watchExtraTriggers(Ye,je,Ot)}getValue(Ye,je,Ft){const xt=this.elementMap.get(Ye);if(xt){const Ot=void 0!==Ft?xt.get(Ft):this.getActivatedValues(xt,je);if(Ot)return Ot.get(je)}}hasValue(Ye,je){const Ft=this.elementMap.get(Ye);if(Ft){const xt=this.getActivatedValues(Ft,je);if(xt)return void 0!==xt.get(je)||!1}return!1}setValue(Ye,je,Ft,xt){let Ot=this.elementMap.get(Ye);if(Ot){const at=(Ot.get(xt)??new Map).set(je,Ft);Ot.set(xt,at),this.elementMap.set(Ye,Ot)}else Ot=(new Map).set(xt,(new Map).set(je,Ft)),this.elementMap.set(Ye,Ot);const yt=this.getValue(Ye,je);void 0!==yt&&this.updateElement(Ye,je,yt)}trackValue(Ye,je){return this.subject.asObservable().pipe((0,P.h)(Ft=>Ft.element===Ye&&Ft.key===je))}updateStyles(){this.elementMap.forEach((Ye,je)=>{const Ft=new Set(this.elementKeyMap.get(je));let xt=this.getActivatedValues(Ye);xt&&xt.forEach((Ot,yt)=>{this.updateElement(je,yt,Ot),Ft.delete(yt)}),Ft.forEach(Ot=>{if(xt=this.getActivatedValues(Ye,Ot),xt){const yt=xt.get(Ot);this.updateElement(je,Ot,yt)}else this.clearElement(je,Ot)})})}clearElement(Ye,je){const Ft=this.clearMap.get(Ye);if(Ft){const xt=Ft.get(je);xt&&(xt(),this.subject.next({element:Ye,key:je,value:""}))}}updateElement(Ye,je,Ft){const xt=this.updateMap.get(Ye);if(xt){const Ot=xt.get(je);Ot&&(Ot(Ft),this.subject.next({element:Ye,key:je,value:Ft}))}}releaseElement(Ye){const je=this.watcherMap.get(Ye);je&&(je.forEach(xt=>xt.unsubscribe()),this.watcherMap.delete(Ye));const Ft=this.elementMap.get(Ye);Ft&&(Ft.forEach((xt,Ot)=>Ft.delete(Ot)),this.elementMap.delete(Ye))}triggerUpdate(Ye,je){const Ft=this.elementMap.get(Ye);if(Ft){const xt=this.getActivatedValues(Ft,je);xt&&(je?this.updateElement(Ye,je,xt.get(je)):xt.forEach((Ot,yt)=>this.updateElement(Ye,yt,Ot)))}}buildElementKeyMap(Ye,je){let Ft=this.elementKeyMap.get(Ye);Ft||(Ft=new Set,this.elementKeyMap.set(Ye,Ft)),Ft.add(je)}watchExtraTriggers(Ye,je,Ft){if(Ft&&Ft.length){let xt=this.watcherMap.get(Ye);if(xt||(xt=new Map,this.watcherMap.set(Ye,xt)),!xt.get(je)){const yt=(0,l.T)(...Ft).subscribe(()=>{const at=this.getValue(Ye,je);this.updateElement(Ye,je,at)});xt.set(je,yt)}}}findByQuery(Ye){return this.breakpoints.findByQuery(Ye)}getActivatedValues(Ye,je){for(let xt=0;xtje.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Ye)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,P.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)(e.LFG(s),e.LFG(le),e.LFG(re))},Ue.\u0275prov=e.Yz7({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}),Ue})();function We(Ue,Bt,Ye,je){if(void 0!==je){const Ft=Ue.get(Bt)??new Map;Ft.set(Ye,je),Ue.set(Bt,Ft)}}let Ct=(()=>{class Ue{constructor(Ye,je,Ft,xt){this.elementRef=Ye,this.styleBuilder=je,this.styler=Ft,this.marshal=xt,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new w.x,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(Ye){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ye,this.marshal.activatedAlias)}ngOnChanges(Ye){Object.keys(Ye).forEach(je=>{if(-1!==this.inputs.indexOf(je)){const Ft=je.split(".").slice(1).join(".");this.setValue(Ye[je].currentValue,Ft)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Ye=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Ye)}addStyles(Ye,je){const Ft=this.styleBuilder,xt=Ft.shouldCache;let Ot=this.styleCache.get(Ye);(!Ot||!xt)&&(Ot=Ft.buildStyles(Ye,je),xt&&this.styleCache.set(Ye,Ot)),this.mru={...Ot},this.applyStyleToElement(Ot),Ft.sideEffect(Ye,Ot,je)}clearStyles(){Object.keys(this.mru).forEach(Ye=>{this.mru[Ye]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Ye,je=!1){if(Ye){const[Ft,xt]=this.styler.getFlowDirection(Ye);if(!xt&&je){const Ot=(0,m.Ar)(Ft);this.styler.applyStyleToElements(Ot,[Ye])}return Ft.trim()}return"row"}hasWrap(Ye){return this.styler.hasWrap(Ye)}applyStyleToElement(Ye,je,Ft=this.nativeElement){this.styler.applyStyleToElement(Ft,Ye,je)}setValue(Ye,je){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Ye,je)}updateWithValue(Ye){this.currentValue!==Ye&&(this.addStyles(Ye),this.currentValue=Ye)}}return Ue.\u0275fac=function(Ye){return new(Ye||Ue)(e.Y36(e.SBq),e.Y36(se),e.Y36(ue),e.Y36(Ze))},Ue.\u0275dir=e.lG2({type:Ue,features:[e.TTD]}),Ue})();function Qe(Ue,Bt="1",Ye="1"){let je=[Bt,Ye,Ue],Ft=Ue.indexOf("calc");if(Ft>0){je[2]=St(Ue.substring(Ft).trim());let xt=Ue.substr(0,Ft).trim().split(" ");2==xt.length&&(je[0]=xt[0],je[1]=xt[1])}else if(0==Ft)je[2]=St(Ue.trim());else{let xt=Ue.split(" ");je=3===xt.length?xt:[Bt,Ye,Ue]}return je}function St(Ue){return Ue.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const dt="x";function te(Ue,Bt){if(void 0===Bt)return Ue;const Ye=je=>{const Ft=+je.slice(0,-dt.length);return Ue.endsWith(dt)&&!isNaN(Ft)?`${Ft*Bt.value}${Bt.unit}`:Ue};return Ue.includes(" ")?Ue.split(" ").map(Ye).join(" "):Ye(Ue)}},7509:(Fe,q,p)=>{"use strict";p.d(q,{Zl:()=>D,aT:()=>r,oO:()=>W});var e=p(9212),t=p(1462),y=p(6814),w=(p(2495),p(9773),p(6593));let k=(()=>{class g extends t.iR{constructor(R,ee,De,ct,Ke,Je,ye){super(R,null,ee,De),this.ngClassInstance=ye,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new y.mk(ct,Ke,R,Je)),this.init(),this.setValue("","")}set klass(R){this.ngClassInstance.klass=R,this.setValue(R,"")}updateWithValue(R){this.ngClassInstance.ngClass=R,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return g.\u0275fac=function(R){return new(R||g)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(y.mk,10))},g.\u0275dir=e.lG2({type:g,inputs:{klass:["class","klass"]},features:[e.qOj]}),g})();const z=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let W=(()=>{class g extends k{constructor(){super(...arguments),this.inputs=z}}return g.\u0275fac=(()=>{let H;return function(ee){return(H||(H=e.n5z(g)))(ee||g)}})(),g.\u0275dir=e.lG2({type:g,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[e.qOj]}),g})();class ae{constructor(H,R,ee=!0){this.key=H,this.value=R,this.key=ee?H.replace(/['"]/g,"").trim():H.trim(),this.value=ee?R.replace(/['"]/g,"").trim():R.trim(),this.value=this.value.replace(/;/,"")}}function Me(g){let H=typeof g;return"object"===H?g.constructor===Array?"array":g.constructor===Set?"set":"object":H}function n(g){const[H,...R]=g.split(":");return new ae(H,R.join(":"))}function s(g,H){return H.key&&(g[H.key]=H.value),g}let f=(()=>{class g extends t.iR{constructor(R,ee,De,ct,Ke,Je,ye,fe,de){super(R,null,ee,De),this.sanitizer=ct,this.ngStyleInstance=ye,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new y.PC(R,Ke,Je)),this.init();const xe=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(xe),this.isServer=fe&&(0,y.PM)(de)}updateWithValue(R){const ee=this.buildStyleMap(R);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...ee},this.isServer&&this.applyStyleToElement(ee),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(R){const ee=De=>this.sanitizer.sanitize(e.q3G.STYLE,De)??"";if(R)switch(Me(R)){case"string":return O(function J(g,H=";"){return String(g).trim().split(H).map(R=>R.trim()).filter(R=>""!==R)}(R),ee);case"array":return O(R,ee);default:return function S(g,H){let R=[];return"set"===Me(g)?g.forEach(ee=>R.push(ee)):Object.keys(g).forEach(ee=>{R.push(`${ee}:${g[ee]}`)}),function he(g,H){return g.map(n).filter(ee=>!!ee).map(ee=>(H&&(ee.value=H(ee.value)),ee)).reduce(s,{})}(R,H)}(R,ee)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return g.\u0275fac=function(R){return new(R||g)(e.Y36(e.SBq),e.Y36(t.RK),e.Y36(t.yB),e.Y36(w.H7),e.Y36(e.aQg),e.Y36(e.Qsj),e.Y36(y.PC,10),e.Y36(t.wY),e.Y36(e.Lbi))},g.\u0275dir=e.lG2({type:g,features:[e.qOj]}),g})();const h=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let D=(()=>{class g extends f{constructor(){super(...arguments),this.inputs=h}}return g.\u0275fac=(()=>{let H;return function(ee){return(H||(H=e.n5z(g)))(ee||g)}})(),g.\u0275dir=e.lG2({type:g,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[e.qOj]}),g})();function O(g,H){return g.map(n).filter(ee=>!!ee).map(ee=>(H&&(ee.value=H(ee.value)),ee)).reduce(s,{})}let r=(()=>{class g{}return g.\u0275fac=function(R){return new(R||g)},g.\u0275mod=e.oAB({type:g}),g.\u0275inj=e.cJS({imports:[t.IR]}),g})()},3814:(Fe,q,p)=>{"use strict";p.d(q,{Wh:()=>Qe,ae:()=>Ot,xw:()=>M,yH:()=>C});var e=p(9212),t=p(9388),y=p(1462),A=p(5766),w=(p(8645),p(9773));let m=(()=>{class yt extends y.QI{buildStyles(Ee,{display:nt}){const Ge=(0,A.Ar)(Ee);return{...Ge,display:"none"===nt?nt:Ge.display}}}return yt.\u0275fac=(()=>{let at;return function(nt){return(at||(at=e.n5z(yt)))(nt||yt)}})(),yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const P=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let E=(()=>{class yt extends y.iR{constructor(Ee,nt,Ge,Xe,gt){super(Ee,Ge,nt,Xe),this._config=gt,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Ee){const Ge=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=I.get(Ge)??new Map,I.set(Ge,this.styleCache),this.currentValue!==Ee&&(this.addStyles(Ee,{display:Ge}),this.currentValue=Ee)}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(m),e.Y36(y.yB),e.Y36(y.WU))},yt.\u0275dir=e.lG2({type:yt,features:[e.qOj]}),yt})(),M=(()=>{class yt extends E{constructor(){super(...arguments),this.inputs=P}}return yt.\u0275fac=(()=>{let at;return function(nt){return(at||(at=e.n5z(yt)))(nt||yt)}})(),yt.\u0275dir=e.lG2({type:yt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[e.qOj]}),yt})();const I=new Map;let n=(()=>{class yt extends y.QI{constructor(Ee){super(),this.layoutConfig=Ee}buildStyles(Ee,nt){let[Ge,Xe,...gt]=Ee.split(" "),Le=gt.join(" ");const be=nt.direction.indexOf("column")>-1?"column":"row",$=(0,A.tj)(be)?"max-width":"max-height",ne=(0,A.tj)(be)?"min-width":"min-height",ke=String(Le).indexOf("calc")>-1,Nt=ke||"auto"===Le,At=String(Le).indexOf("%")>-1&&!ke,Wt=String(Le).indexOf("px")>-1||String(Le).indexOf("rem")>-1||String(Le).indexOf("em")>-1||String(Le).indexOf("vw")>-1||String(Le).indexOf("vh")>-1;let gi=ke||Wt;Ge="0"==Ge?0:Ge,Xe="0"==Xe?0:Xe;const ei=!Ge&&!Xe;let $t={};const Fi={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Le||""){case"":Le="row"===be?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Ge=0,Le="auto";break;case"grow":Le="100%";break;case"noshrink":Xe=0,Le="auto";break;case"auto":break;case"none":Ge=0,Xe=0,Le="auto";break;default:!gi&&!At&&!isNaN(Le)&&(Le+="%"),"0%"===Le&&(gi=!0),"0px"===Le&&(Le="0%"),$t=(0,A.kt)(Fi,ke?{"flex-grow":Ge,"flex-shrink":Xe,"flex-basis":gi?Le:"100%"}:{flex:`${Ge} ${Xe} ${gi?Le:"100%"}`})}return $t.flex||$t["flex-grow"]||($t=(0,A.kt)(Fi,ke?{"flex-grow":Ge,"flex-shrink":Xe,"flex-basis":Le}:{flex:`${Ge} ${Xe} ${Le}`})),"0%"!==Le&&"0px"!==Le&&"0.000000001px"!==Le&&"auto"!==Le&&($t[ne]=ei||gi&&Ge?Le:null,$t[$]=ei||!Nt&&Xe?Le:null),$t[ne]||$t[$]?nt.hasWrap&&($t[ke?"flex-basis":"flex"]=$t[$]?ke?$t[$]:`${Ge} ${Xe} ${$t[$]}`:ke?$t[ne]:`${Ge} ${Xe} ${$t[ne]}`):$t=(0,A.kt)(Fi,ke?{"flex-grow":Ge,"flex-shrink":Xe,"flex-basis":Le}:{flex:`${Ge} ${Xe} ${Le}`}),(0,A.kt)($t,{"box-sizing":"border-box"})}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.LFG(y.WU))},yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const s=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let h=(()=>{class yt extends y.iR{constructor(Ee,nt,Ge,Xe,gt){super(Ee,Xe,nt,gt),this.layoutConfig=Ge,this.marshal=gt,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(Ee){this.flexShrink=Ee||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Ee){this.flexGrow=Ee||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,w.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,w.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Ee){const Ge=Ee.value.split(" ");this.direction=Ge[0],this.wrap=void 0!==Ge[1]&&"wrap"===Ge[1],this.triggerUpdate()}updateWithValue(Ee){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const Ge=this.direction,Xe=Ge.startsWith("row"),gt=this.wrap;Xe&>?this.styleCache=v:Xe&&!gt?this.styleCache=D:!Xe&>?this.styleCache=r:!Xe&&!gt&&(this.styleCache=O);const Le=String(Ee).replace(";",""),be=(0,y.Ot)(Le,this.flexGrow,this.flexShrink);this.addStyles(be.join(" "),{direction:Ge,hasWrap:gt})}triggerReflow(){const Ee=this.activatedValue;if(void 0!==Ee){const nt=(0,y.Ot)(Ee+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,nt.join(" "))}}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(y.WU),e.Y36(n),e.Y36(y.yB))},yt.\u0275dir=e.lG2({type:yt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[e.qOj]}),yt})(),C=(()=>{class yt extends h{constructor(){super(...arguments),this.inputs=s}}return yt.\u0275fac=(()=>{let at;return function(nt){return(at||(at=e.n5z(yt)))(nt||yt)}})(),yt.\u0275dir=e.lG2({type:yt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[e.qOj]}),yt})();const D=new Map,O=new Map,v=new Map,r=new Map;let rt=(()=>{class yt extends y.QI{buildStyles(Ee,nt){const Ge={},[Xe,gt]=Ee.split(" ");switch(Xe){case"center":Ge["justify-content"]="center";break;case"space-around":Ge["justify-content"]="space-around";break;case"space-between":Ge["justify-content"]="space-between";break;case"space-evenly":Ge["justify-content"]="space-evenly";break;case"end":case"flex-end":Ge["justify-content"]="flex-end";break;default:Ge["justify-content"]="flex-start"}switch(gt){case"start":case"flex-start":Ge["align-items"]=Ge["align-content"]="flex-start";break;case"center":Ge["align-items"]=Ge["align-content"]="center";break;case"end":case"flex-end":Ge["align-items"]=Ge["align-content"]="flex-end";break;case"space-between":Ge["align-content"]="space-between",Ge["align-items"]="stretch";break;case"space-around":Ge["align-content"]="space-around",Ge["align-items"]="stretch";break;case"baseline":Ge["align-content"]="stretch",Ge["align-items"]="baseline";break;default:Ge["align-items"]=Ge["align-content"]="stretch"}return(0,A.kt)(Ge,{display:nt.inline?"inline-flex":"flex","flex-direction":nt.layout,"box-sizing":"border-box","max-width":"stretch"===gt?(0,A.tj)(nt.layout)?null:"100%":null,"max-height":"stretch"===gt&&(0,A.tj)(nt.layout)?"100%":null})}}return yt.\u0275fac=(()=>{let at;return function(nt){return(at||(at=e.n5z(yt)))(nt||yt)}})(),yt.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),yt})();const $e=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let lt=(()=>{class yt extends y.iR{constructor(Ee,nt,Ge,Xe){super(Ee,Ge,nt,Xe),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,w.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Ee){const nt=this.layout||"row",Ge=this.inline;"row"===nt&&Ge?this.styleCache=Bt:"row"!==nt||Ge?"row-reverse"===nt&&Ge?this.styleCache=je:"row-reverse"!==nt||Ge?"column"===nt&&Ge?this.styleCache=Ye:"column"!==nt||Ge?"column-reverse"===nt&&Ge?this.styleCache=Ft:"column-reverse"===nt&&!Ge&&(this.styleCache=Ue):this.styleCache=dt:this.styleCache=te:this.styleCache=St,this.addStyles(Ee,{layout:nt,inline:Ge})}onLayoutChange(Ee){const nt=Ee.value.split(" ");this.layout=nt[0],this.inline=Ee.value.includes("inline"),A.iQ.find(Ge=>Ge===this.layout)||(this.layout="row"),this.triggerUpdate()}}return yt.\u0275fac=function(Ee){return new(Ee||yt)(e.Y36(e.SBq),e.Y36(y.RK),e.Y36(rt),e.Y36(y.yB))},yt.\u0275dir=e.lG2({type:yt,features:[e.qOj]}),yt})(),Qe=(()=>{class yt extends lt{constructor(){super(...arguments),this.inputs=$e}}return yt.\u0275fac=(()=>{let at;return function(nt){return(at||(at=e.n5z(yt)))(nt||yt)}})(),yt.\u0275dir=e.lG2({type:yt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[e.qOj]}),yt})();const St=new Map,dt=new Map,te=new Map,Ue=new Map,Bt=new Map,Ye=new Map,je=new Map,Ft=new Map;let Ot=(()=>{class yt{}return yt.\u0275fac=function(Ee){return new(Ee||yt)},yt.\u0275mod=e.oAB({type:yt}),yt.\u0275inj=e.cJS({imports:[y.IR,t.vT]}),yt})()},6223:(Fe,q,p)=>{"use strict";p.d(q,{Cf:()=>j,F:()=>Se,Fd:()=>oo,Fj:()=>z,JJ:()=>ve,JL:()=>ce,JU:()=>P,On:()=>zt,Q7:()=>_a,QS:()=>ar,UX:()=>Ba,Zs:()=>Fo,_Y:()=>pi,a5:()=>le,kI:()=>ie,oH:()=>ma,p4:()=>Yt,qQ:()=>vo,qu:()=>Zi,sg:()=>Fa,u:()=>Lr,u5:()=>sn,wV:()=>Ci});var e=p(9212),t=p(6814),y=p(9666),A=p(9315),l=p(7398);let w=(()=>{class ht{constructor(ze,vt){this._renderer=ze,this._elementRef=vt,this.onChange=Jt=>{},this.onTouched=()=>{}}setProperty(ze,vt){this._renderer.setProperty(this._elementRef.nativeElement,ze,vt)}registerOnTouched(ze){this.onTouched=ze}registerOnChange(ze){this.onChange=ze}setDisabledState(ze){this.setProperty("disabled",ze)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:ht})}return ht})(),m=(()=>{class ht extends w{static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,features:[e.qOj]})}return ht})();const P=new e.OlP("NgValueAccessor"),M={provide:P,useExisting:(0,e.Gpc)(()=>z),multi:!0},k=new e.OlP("CompositionEventMode");let z=(()=>{class ht extends w{constructor(ze,vt,Jt){super(ze,vt),this._compositionMode=Jt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const ht=(0,t.q)()?(0,t.q)().getUserAgent():"";return/android (\d+)/.test(ht.toLowerCase())}())}writeValue(ze){this.setProperty("value",ze??"")}_handleInput(ze){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ze)}_compositionStart(){this._composing=!0}_compositionEnd(ze){this._composing=!1,this._compositionMode&&this.onChange(ze)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(k,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(vt,Jt){1&vt&&e.NdJ("input",function(xn){return Jt._handleInput(xn.target.value)})("blur",function(){return Jt.onTouched()})("compositionstart",function(){return Jt._compositionStart()})("compositionend",function(xn){return Jt._compositionEnd(xn.target.value)})},features:[e._Bn([M]),e.qOj]})}return ht})();function B(ht){return null==ht||("string"==typeof ht||Array.isArray(ht))&&0===ht.length}function W(ht){return null!=ht&&"number"==typeof ht.length}const j=new e.OlP("NgValidators"),K=new e.OlP("NgAsyncValidators"),X=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ie{static min(bt){return se(bt)}static max(bt){return ue(bt)}static required(bt){return ae(bt)}static requiredTrue(bt){return Me(bt)}static email(bt){return function J(ht){return B(ht.value)||X.test(ht.value)?null:{email:!0}}(bt)}static minLength(bt){return function he(ht){return bt=>B(bt.value)||!W(bt.value)?null:bt.value.lengthW(bt.value)&&bt.value.length>ht?{maxlength:{requiredLength:ht,actualLength:bt.value.length}}:null}(bt)}static pattern(bt){return function n(ht){if(!ht)return s;let bt,ze;return"string"==typeof ht?(ze="","^"!==ht.charAt(0)&&(ze+="^"),ze+=ht,"$"!==ht.charAt(ht.length-1)&&(ze+="$"),bt=new RegExp(ze)):(ze=ht.toString(),bt=ht),vt=>{if(B(vt.value))return null;const Jt=vt.value;return bt.test(Jt)?null:{pattern:{requiredPattern:ze,actualValue:Jt}}}}(bt)}static nullValidator(bt){return null}static compose(bt){return r(bt)}static composeAsync(bt){return H(bt)}}function se(ht){return bt=>{if(B(bt.value)||B(ht))return null;const ze=parseFloat(bt.value);return!isNaN(ze)&&ze{if(B(bt.value)||B(ht))return null;const ze=parseFloat(bt.value);return!isNaN(ze)&&ze>ht?{max:{max:ht,actual:bt.value}}:null}}function ae(ht){return B(ht.value)?{required:!0}:null}function Me(ht){return!0===ht.value?null:{required:!0}}function s(ht){return null}function f(ht){return null!=ht}function h(ht){return(0,e.QGY)(ht)?(0,y.D)(ht):ht}function C(ht){let bt={};return ht.forEach(ze=>{bt=null!=ze?{...bt,...ze}:bt}),0===Object.keys(bt).length?null:bt}function D(ht,bt){return bt.map(ze=>ze(ht))}function v(ht){return ht.map(bt=>function O(ht){return!ht.validate}(bt)?bt:ze=>bt.validate(ze))}function r(ht){if(!ht)return null;const bt=ht.filter(f);return 0==bt.length?null:function(ze){return C(D(ze,bt))}}function g(ht){return null!=ht?r(v(ht)):null}function H(ht){if(!ht)return null;const bt=ht.filter(f);return 0==bt.length?null:function(ze){const vt=D(ze,bt).map(h);return(0,A.D)(vt).pipe((0,l.U)(C))}}function R(ht){return null!=ht?H(v(ht)):null}function ee(ht,bt){return null===ht?[bt]:Array.isArray(ht)?[...ht,bt]:[ht,bt]}function De(ht){return ht._rawValidators}function ct(ht){return ht._rawAsyncValidators}function Ke(ht){return ht?Array.isArray(ht)?ht:[ht]:[]}function Je(ht,bt){return Array.isArray(ht)?ht.includes(bt):ht===bt}function ye(ht,bt){const ze=Ke(bt);return Ke(ht).forEach(Jt=>{Je(ze,Jt)||ze.push(Jt)}),ze}function fe(ht,bt){return Ke(bt).filter(ze=>!Je(ht,ze))}class de{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(bt){this._rawValidators=bt||[],this._composedValidatorFn=g(this._rawValidators)}_setAsyncValidators(bt){this._rawAsyncValidators=bt||[],this._composedAsyncValidatorFn=R(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(bt){this._onDestroyCallbacks.push(bt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(bt=>bt()),this._onDestroyCallbacks=[]}reset(bt=void 0){this.control&&this.control.reset(bt)}hasError(bt,ze){return!!this.control&&this.control.hasError(bt,ze)}getError(bt,ze){return this.control?this.control.getError(bt,ze):null}}class xe extends de{get formDirective(){return null}get path(){return null}}class le extends de{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pe{constructor(bt){this._cd=bt}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let ve=(()=>{class ht extends pe{constructor(ze){super(ze)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(le,2))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(vt,Jt){2&vt&&e.ekj("ng-untouched",Jt.isUntouched)("ng-touched",Jt.isTouched)("ng-pristine",Jt.isPristine)("ng-dirty",Jt.isDirty)("ng-valid",Jt.isValid)("ng-invalid",Jt.isInvalid)("ng-pending",Jt.isPending)},features:[e.qOj]})}return ht})(),ce=(()=>{class ht extends pe{constructor(ze){super(ze)}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(xe,10))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(vt,Jt){2&vt&&e.ekj("ng-untouched",Jt.isUntouched)("ng-touched",Jt.isTouched)("ng-pristine",Jt.isPristine)("ng-dirty",Jt.isDirty)("ng-valid",Jt.isValid)("ng-invalid",Jt.isInvalid)("ng-pending",Jt.isPending)("ng-submitted",Jt.isSubmitted)},features:[e.qOj]})}return ht})();const Ye="VALID",je="INVALID",Ft="PENDING",xt="DISABLED";function Ot(ht){return(nt(ht)?ht.validators:ht)||null}function at(ht,bt){return(nt(bt)?bt.asyncValidators:ht)||null}function nt(ht){return null!=ht&&!Array.isArray(ht)&&"object"==typeof ht}function Ge(ht,bt,ze){const vt=ht.controls;if(!(bt?Object.keys(vt):vt).length)throw new e.vHH(1e3,"");if(!vt[ze])throw new e.vHH(1001,"")}function Xe(ht,bt,ze){ht._forEachChild((vt,Jt)=>{if(void 0===ze[Jt])throw new e.vHH(1002,"")})}class gt{constructor(bt,ze){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(bt),this._assignAsyncValidators(ze)}get validator(){return this._composedValidatorFn}set validator(bt){this._rawValidators=this._composedValidatorFn=bt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(bt){this._rawAsyncValidators=this._composedAsyncValidatorFn=bt}get parent(){return this._parent}get valid(){return this.status===Ye}get invalid(){return this.status===je}get pending(){return this.status==Ft}get disabled(){return this.status===xt}get enabled(){return this.status!==xt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(bt){this._assignValidators(bt)}setAsyncValidators(bt){this._assignAsyncValidators(bt)}addValidators(bt){this.setValidators(ye(bt,this._rawValidators))}addAsyncValidators(bt){this.setAsyncValidators(ye(bt,this._rawAsyncValidators))}removeValidators(bt){this.setValidators(fe(bt,this._rawValidators))}removeAsyncValidators(bt){this.setAsyncValidators(fe(bt,this._rawAsyncValidators))}hasValidator(bt){return Je(this._rawValidators,bt)}hasAsyncValidator(bt){return Je(this._rawAsyncValidators,bt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(bt={}){this.touched=!0,this._parent&&!bt.onlySelf&&this._parent.markAsTouched(bt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(bt=>bt.markAllAsTouched())}markAsUntouched(bt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ze=>{ze.markAsUntouched({onlySelf:!0})}),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt)}markAsDirty(bt={}){this.pristine=!1,this._parent&&!bt.onlySelf&&this._parent.markAsDirty(bt)}markAsPristine(bt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ze=>{ze.markAsPristine({onlySelf:!0})}),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt)}markAsPending(bt={}){this.status=Ft,!1!==bt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!bt.onlySelf&&this._parent.markAsPending(bt)}disable(bt={}){const ze=this._parentMarkedDirty(bt.onlySelf);this.status=xt,this.errors=null,this._forEachChild(vt=>{vt.disable({...bt,onlySelf:!0})}),this._updateValue(),!1!==bt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...bt,skipPristineCheck:ze}),this._onDisabledChange.forEach(vt=>vt(!0))}enable(bt={}){const ze=this._parentMarkedDirty(bt.onlySelf);this.status=Ye,this._forEachChild(vt=>{vt.enable({...bt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent}),this._updateAncestors({...bt,skipPristineCheck:ze}),this._onDisabledChange.forEach(vt=>vt(!1))}_updateAncestors(bt){this._parent&&!bt.onlySelf&&(this._parent.updateValueAndValidity(bt),bt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(bt){this._parent=bt}getRawValue(){return this.value}updateValueAndValidity(bt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ye||this.status===Ft)&&this._runAsyncValidator(bt.emitEvent)),!1!==bt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!bt.onlySelf&&this._parent.updateValueAndValidity(bt)}_updateTreeValidity(bt={emitEvent:!0}){this._forEachChild(ze=>ze._updateTreeValidity(bt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:bt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xt:Ye}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(bt){if(this.asyncValidator){this.status=Ft,this._hasOwnPendingAsyncValidator=!0;const ze=h(this.asyncValidator(this));this._asyncValidationSubscription=ze.subscribe(vt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(vt,{emitEvent:bt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(bt,ze={}){this.errors=bt,this._updateControlsErrors(!1!==ze.emitEvent)}get(bt){let ze=bt;return null==ze||(Array.isArray(ze)||(ze=ze.split(".")),0===ze.length)?null:ze.reduce((vt,Jt)=>vt&&vt._find(Jt),this)}getError(bt,ze){const vt=ze?this.get(ze):this;return vt&&vt.errors?vt.errors[bt]:null}hasError(bt,ze){return!!this.getError(bt,ze)}get root(){let bt=this;for(;bt._parent;)bt=bt._parent;return bt}_updateControlsErrors(bt){this.status=this._calculateStatus(),bt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(bt)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?xt:this.errors?je:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ft)?Ft:this._anyControlsHaveStatus(je)?je:Ye}_anyControlsHaveStatus(bt){return this._anyControls(ze=>ze.status===bt)}_anyControlsDirty(){return this._anyControls(bt=>bt.dirty)}_anyControlsTouched(){return this._anyControls(bt=>bt.touched)}_updatePristine(bt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!bt.onlySelf&&this._parent._updatePristine(bt)}_updateTouched(bt={}){this.touched=this._anyControlsTouched(),this._parent&&!bt.onlySelf&&this._parent._updateTouched(bt)}_registerOnCollectionChange(bt){this._onCollectionChange=bt}_setUpdateStrategy(bt){nt(bt)&&null!=bt.updateOn&&(this._updateOn=bt.updateOn)}_parentMarkedDirty(bt){return!bt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(bt){return null}_assignValidators(bt){this._rawValidators=Array.isArray(bt)?bt.slice():bt,this._composedValidatorFn=function yt(ht){return Array.isArray(ht)?g(ht):ht||null}(this._rawValidators)}_assignAsyncValidators(bt){this._rawAsyncValidators=Array.isArray(bt)?bt.slice():bt,this._composedAsyncValidatorFn=function Ee(ht){return Array.isArray(ht)?R(ht):ht||null}(this._rawAsyncValidators)}}class Le extends gt{constructor(bt,ze,vt){super(Ot(ze),at(vt,ze)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(ze),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(bt,ze){return this.controls[bt]?this.controls[bt]:(this.controls[bt]=ze,ze.setParent(this),ze._registerOnCollectionChange(this._onCollectionChange),ze)}addControl(bt,ze,vt={}){this.registerControl(bt,ze),this.updateValueAndValidity({emitEvent:vt.emitEvent}),this._onCollectionChange()}removeControl(bt,ze={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],this.updateValueAndValidity({emitEvent:ze.emitEvent}),this._onCollectionChange()}setControl(bt,ze,vt={}){this.controls[bt]&&this.controls[bt]._registerOnCollectionChange(()=>{}),delete this.controls[bt],ze&&this.registerControl(bt,ze),this.updateValueAndValidity({emitEvent:vt.emitEvent}),this._onCollectionChange()}contains(bt){return this.controls.hasOwnProperty(bt)&&this.controls[bt].enabled}setValue(bt,ze={}){Xe(this,0,bt),Object.keys(bt).forEach(vt=>{Ge(this,!0,vt),this.controls[vt].setValue(bt[vt],{onlySelf:!0,emitEvent:ze.emitEvent})}),this.updateValueAndValidity(ze)}patchValue(bt,ze={}){null!=bt&&(Object.keys(bt).forEach(vt=>{const Jt=this.controls[vt];Jt&&Jt.patchValue(bt[vt],{onlySelf:!0,emitEvent:ze.emitEvent})}),this.updateValueAndValidity(ze))}reset(bt={},ze={}){this._forEachChild((vt,Jt)=>{vt.reset(bt?bt[Jt]:null,{onlySelf:!0,emitEvent:ze.emitEvent})}),this._updatePristine(ze),this._updateTouched(ze),this.updateValueAndValidity(ze)}getRawValue(){return this._reduceChildren({},(bt,ze,vt)=>(bt[vt]=ze.getRawValue(),bt))}_syncPendingControls(){let bt=this._reduceChildren(!1,(ze,vt)=>!!vt._syncPendingControls()||ze);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){Object.keys(this.controls).forEach(ze=>{const vt=this.controls[ze];vt&&bt(vt,ze)})}_setUpControls(){this._forEachChild(bt=>{bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(bt){for(const[ze,vt]of Object.entries(this.controls))if(this.contains(ze)&&bt(vt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ze,vt,Jt)=>((vt.enabled||this.disabled)&&(ze[Jt]=vt.value),ze))}_reduceChildren(bt,ze){let vt=bt;return this._forEachChild((Jt,zi)=>{vt=ze(vt,Jt,zi)}),vt}_allControlsDisabled(){for(const bt of Object.keys(this.controls))if(this.controls[bt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(bt){return this.controls.hasOwnProperty(bt)?this.controls[bt]:null}}class ke extends Le{}const At=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Wt}),Wt="always";function gi(ht,bt){return[...bt.path,ht]}function ei(ht,bt,ze=Wt){ui(ht,bt),bt.valueAccessor.writeValue(ht.value),(ht.disabled||"always"===ze)&&bt.valueAccessor.setDisabledState?.(ht.disabled),function Ki(ht,bt){bt.valueAccessor.registerOnChange(ze=>{ht._pendingValue=ze,ht._pendingChange=!0,ht._pendingDirty=!0,"change"===ht.updateOn&&on(ht,bt)})}(ht,bt),function st(ht,bt){const ze=(vt,Jt)=>{bt.valueAccessor.writeValue(vt),Jt&&bt.viewToModelUpdate(vt)};ht.registerOnChange(ze),bt._registerOnDestroy(()=>{ht._unregisterOnChange(ze)})}(ht,bt),function Mi(ht,bt){bt.valueAccessor.registerOnTouched(()=>{ht._pendingTouched=!0,"blur"===ht.updateOn&&ht._pendingChange&&on(ht,bt),"submit"!==ht.updateOn&&ht.markAsTouched()})}(ht,bt),function li(ht,bt){if(bt.valueAccessor.setDisabledState){const ze=vt=>{bt.valueAccessor.setDisabledState(vt)};ht.registerOnDisabledChange(ze),bt._registerOnDestroy(()=>{ht._unregisterOnDisabledChange(ze)})}}(ht,bt)}function $t(ht,bt,ze=!0){const vt=()=>{};bt.valueAccessor&&(bt.valueAccessor.registerOnChange(vt),bt.valueAccessor.registerOnTouched(vt)),un(ht,bt),ht&&(bt._invokeOnDestroyCallbacks(),ht._registerOnCollectionChange(()=>{}))}function Fi(ht,bt){ht.forEach(ze=>{ze.registerOnValidatorChange&&ze.registerOnValidatorChange(bt)})}function ui(ht,bt){const ze=De(ht);null!==bt.validator?ht.setValidators(ee(ze,bt.validator)):"function"==typeof ze&&ht.setValidators([ze]);const vt=ct(ht);null!==bt.asyncValidator?ht.setAsyncValidators(ee(vt,bt.asyncValidator)):"function"==typeof vt&&ht.setAsyncValidators([vt]);const Jt=()=>ht.updateValueAndValidity();Fi(bt._rawValidators,Jt),Fi(bt._rawAsyncValidators,Jt)}function un(ht,bt){let ze=!1;if(null!==ht){if(null!==bt.validator){const Jt=De(ht);if(Array.isArray(Jt)&&Jt.length>0){const zi=Jt.filter(xn=>xn!==bt.validator);zi.length!==Jt.length&&(ze=!0,ht.setValidators(zi))}}if(null!==bt.asyncValidator){const Jt=ct(ht);if(Array.isArray(Jt)&&Jt.length>0){const zi=Jt.filter(xn=>xn!==bt.asyncValidator);zi.length!==Jt.length&&(ze=!0,ht.setAsyncValidators(zi))}}}const vt=()=>{};return Fi(bt._rawValidators,vt),Fi(bt._rawAsyncValidators,vt),ze}function on(ht,bt){ht._pendingDirty&&ht.markAsDirty(),ht.setValue(ht._pendingValue,{emitModelToViewChange:!1}),bt.viewToModelUpdate(ht._pendingValue),ht._pendingChange=!1}function si(ht,bt){ui(ht,bt)}function oi(ht,bt){if(!ht.hasOwnProperty("model"))return!1;const ze=ht.model;return!!ze.isFirstChange()||!Object.is(bt,ze.currentValue)}function yi(ht,bt){ht._syncPendingControls(),bt.forEach(ze=>{const vt=ze.control;"submit"===vt.updateOn&&vt._pendingChange&&(ze.viewToModelUpdate(vt._pendingValue),vt._pendingChange=!1)})}function Oi(ht,bt){if(!bt)return null;let ze,vt,Jt;return Array.isArray(bt),bt.forEach(zi=>{zi.constructor===z?ze=zi:function bi(ht){return Object.getPrototypeOf(ht.constructor)===m}(zi)?vt=zi:Jt=zi}),Jt||vt||ze||null}const qt={provide:xe,useExisting:(0,e.Gpc)(()=>Se)},xi=(()=>Promise.resolve())();let Se=(()=>{class ht extends xe{constructor(ze,vt,Jt){super(),this.callSetDisabledState=Jt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Le({},g(ze),R(vt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ze){xi.then(()=>{const vt=this._findContainer(ze.path);ze.control=vt.registerControl(ze.name,ze.control),ei(ze.control,ze,this.callSetDisabledState),ze.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ze)})}getControl(ze){return this.form.get(ze.path)}removeControl(ze){xi.then(()=>{const vt=this._findContainer(ze.path);vt&&vt.removeControl(ze.name),this._directives.delete(ze)})}addFormGroup(ze){xi.then(()=>{const vt=this._findContainer(ze.path),Jt=new Le({});si(Jt,ze),vt.registerControl(ze.name,Jt),Jt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ze){xi.then(()=>{const vt=this._findContainer(ze.path);vt&&vt.removeControl(ze.name)})}getFormGroup(ze){return this.form.get(ze.path)}updateModel(ze,vt){xi.then(()=>{this.form.get(ze.path).setValue(vt)})}setValue(ze){this.control.setValue(ze)}onSubmit(ze){return this.submitted=!0,yi(this.form,this._directives),this.ngSubmit.emit(ze),"dialog"===ze?.target?.method}onReset(){this.resetForm()}resetForm(ze=void 0){this.form.reset(ze),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ze){return ze.pop(),ze.length?this.form.get(ze):this.form}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(j,10),e.Y36(K,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(vt,Jt){1&vt&&e.NdJ("submit",function(xn){return Jt.onSubmit(xn)})("reset",function(){return Jt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([qt]),e.qOj]})}return ht})();function Ve(ht,bt){const ze=ht.indexOf(bt);ze>-1&&ht.splice(ze,1)}function et(ht){return"object"==typeof ht&&null!==ht&&2===Object.keys(ht).length&&"value"in ht&&"disabled"in ht}const tt=class extends gt{constructor(bt=null,ze,vt){super(Ot(ze),at(vt,ze)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(bt),this._setUpdateStrategy(ze),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),nt(ze)&&(ze.nonNullable||ze.initialValueIsDefault)&&(this.defaultValue=et(bt)?bt.value:bt)}setValue(bt,ze={}){this.value=this._pendingValue=bt,this._onChange.length&&!1!==ze.emitModelToViewChange&&this._onChange.forEach(vt=>vt(this.value,!1!==ze.emitViewToModelChange)),this.updateValueAndValidity(ze)}patchValue(bt,ze={}){this.setValue(bt,ze)}reset(bt=this.defaultValue,ze={}){this._applyFormState(bt),this.markAsPristine(ze),this.markAsUntouched(ze),this.setValue(this.value,ze),this._pendingChange=!1}_updateValue(){}_anyControls(bt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(bt){this._onChange.push(bt)}_unregisterOnChange(bt){Ve(this._onChange,bt)}registerOnDisabledChange(bt){this._onDisabledChange.push(bt)}_unregisterOnDisabledChange(bt){Ve(this._onDisabledChange,bt)}_forEachChild(bt){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(bt){et(bt)?(this.value=this._pendingValue=bt.value,bt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=bt}},Yt=tt,$r={provide:le,useExisting:(0,e.Gpc)(()=>zt)},Ni=(()=>Promise.resolve())();let zt=(()=>{class ht extends le{constructor(ze,vt,Jt,zi,xn,Mr){super(),this._changeDetectorRef=xn,this.callSetDisabledState=Mr,this.control=new tt,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=ze,this._setValidators(vt),this._setAsyncValidators(Jt),this.valueAccessor=Oi(0,zi)}ngOnChanges(ze){if(this._checkForErrors(),!this._registered||"name"in ze){if(this._registered&&(this._checkName(),this.formDirective)){const vt=ze.name.previousValue;this.formDirective.removeControl({name:vt,path:this._getPath(vt)})}this._setUpControl()}"isDisabled"in ze&&this._updateDisabled(ze),oi(ze,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(ze){this.viewModel=ze,this.update.emit(ze)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ei(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ze){Ni.then(()=>{this.control.setValue(ze,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ze){const vt=ze.isDisabled.currentValue,Jt=0!==vt&&(0,e.VuI)(vt);Ni.then(()=>{Jt&&!this.control.disabled?this.control.disable():!Jt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ze){return this._parent?gi(ze,this._parent):[ze]}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(xe,9),e.Y36(j,10),e.Y36(K,10),e.Y36(P,10),e.Y36(e.sBO,8),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([$r]),e.qOj,e.TTD]})}return ht})(),pi=(()=>{class ht{static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ht})();const _i={provide:P,useExisting:(0,e.Gpc)(()=>Ci),multi:!0};let Ci=(()=>{class ht extends m{writeValue(ze){this.setProperty("value",ze??"")}registerOnChange(ze){this.onChange=vt=>{ze(""==vt?null:parseFloat(vt))}}static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(vt,Jt){1&vt&&e.NdJ("input",function(xn){return Jt.onChange(xn.target.value)})("blur",function(){return Jt.onTouched()})},features:[e._Bn([_i]),e.qOj]})}return ht})(),yn=(()=>{class ht{static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({})}return ht})();const yr=new e.OlP("NgModelWithFormControlWarning"),aa={provide:le,useExisting:(0,e.Gpc)(()=>ma)};let ma=(()=>{class ht extends le{set isDisabled(ze){}static#e=this._ngModelWarningSentOnce=!1;constructor(ze,vt,Jt,zi,xn){super(),this._ngModelWarningConfig=zi,this.callSetDisabledState=xn,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(ze),this._setAsyncValidators(vt),this.valueAccessor=Oi(0,Jt)}ngOnChanges(ze){if(this._isControlChanged(ze)){const vt=ze.form.previousValue;vt&&$t(vt,this,!1),ei(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}oi(ze,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&$t(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ze){this.viewModel=ze,this.update.emit(ze)}_isControlChanged(ze){return ze.hasOwnProperty("form")}static#t=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(j,10),e.Y36(K,10),e.Y36(P,10),e.Y36(yr,8),e.Y36(At,8))};static#i=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([aa]),e.qOj,e.TTD]})}return ht})();const oa={provide:xe,useExisting:(0,e.Gpc)(()=>Fa)};let Fa=(()=>{class ht extends xe{constructor(ze,vt,Jt){super(),this.callSetDisabledState=Jt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(ze),this._setAsyncValidators(vt)}ngOnChanges(ze){this._checkFormPresent(),ze.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(un(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ze){const vt=this.form.get(ze.path);return ei(vt,ze,this.callSetDisabledState),vt.updateValueAndValidity({emitEvent:!1}),this.directives.push(ze),vt}getControl(ze){return this.form.get(ze.path)}removeControl(ze){$t(ze.control||null,ze,!1),function Ui(ht,bt){const ze=ht.indexOf(bt);ze>-1&&ht.splice(ze,1)}(this.directives,ze)}addFormGroup(ze){this._setUpFormContainer(ze)}removeFormGroup(ze){this._cleanUpFormContainer(ze)}getFormGroup(ze){return this.form.get(ze.path)}addFormArray(ze){this._setUpFormContainer(ze)}removeFormArray(ze){this._cleanUpFormContainer(ze)}getFormArray(ze){return this.form.get(ze.path)}updateModel(ze,vt){this.form.get(ze.path).setValue(vt)}onSubmit(ze){return this.submitted=!0,yi(this.form,this.directives),this.ngSubmit.emit(ze),"dialog"===ze?.target?.method}onReset(){this.resetForm()}resetForm(ze=void 0){this.form.reset(ze),this.submitted=!1}_updateDomValue(){this.directives.forEach(ze=>{const vt=ze.control,Jt=this.form.get(ze.path);vt!==Jt&&($t(vt||null,ze),(ht=>ht instanceof tt)(Jt)&&(ei(Jt,ze,this.callSetDisabledState),ze.control=Jt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ze){const vt=this.form.get(ze.path);si(vt,ze),vt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ze){if(this.form){const vt=this.form.get(ze.path);vt&&function Ce(ht,bt){return un(ht,bt)}(vt,ze)&&vt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ui(this.form,this),this._oldForm&&un(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(j,10),e.Y36(K,10),e.Y36(At,8))};static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","formGroup",""]],hostBindings:function(vt,Jt){1&vt&&e.NdJ("submit",function(xn){return Jt.onSubmit(xn)})("reset",function(){return Jt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([oa]),e.qOj,e.TTD]})}return ht})();const ga={provide:le,useExisting:(0,e.Gpc)(()=>Lr)};let Lr=(()=>{class ht extends le{set isDisabled(ze){}static#e=this._ngModelWarningSentOnce=!1;constructor(ze,vt,Jt,zi,xn){super(),this._ngModelWarningConfig=xn,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=ze,this._setValidators(vt),this._setAsyncValidators(Jt),this.valueAccessor=Oi(0,zi)}ngOnChanges(ze){this._added||this._setUpControl(),oi(ze,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ze){this.viewModel=ze,this.update.emit(ze)}get path(){return gi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(vt){return new(vt||ht)(e.Y36(xe,13),e.Y36(j,10),e.Y36(K,10),e.Y36(P,10),e.Y36(yr,8))};static#i=this.\u0275dir=e.lG2({type:ht,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([ga]),e.qOj,e.TTD]})}return ht})();function Ia(ht){return"number"==typeof ht?ht:parseFloat(ht)}let Oa=(()=>{class ht{constructor(){this._validator=s}ngOnChanges(ze){if(this.inputName in ze){const vt=this.normalizeInput(ze[this.inputName].currentValue);this._enabled=this.enabled(vt),this._validator=this._enabled?this.createValidator(vt):s,this._onChange&&this._onChange()}}validate(ze){return this._validator(ze)}registerOnValidatorChange(ze){this._onChange=ze}enabled(ze){return null!=ze}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275dir=e.lG2({type:ht,features:[e.TTD]})}return ht})();const _o={provide:j,useExisting:(0,e.Gpc)(()=>oo),multi:!0};let oo=(()=>{class ht extends Oa{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ze=>Ia(ze),this.createValidator=ze=>ue(ze)}static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(vt,Jt){2&vt&&e.uIk("max",Jt._enabled?Jt.max:null)},inputs:{max:"max"},features:[e._Bn([_o]),e.qOj]})}return ht})();const Eo={provide:j,useExisting:(0,e.Gpc)(()=>vo),multi:!0};let vo=(()=>{class ht extends Oa{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ze=>Ia(ze),this.createValidator=ze=>se(ze)}static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(vt,Jt){2&vt&&e.uIk("min",Jt._enabled?Jt.min:null)},inputs:{min:"min"},features:[e._Bn([Eo]),e.qOj]})}return ht})();const Kr={provide:j,useExisting:(0,e.Gpc)(()=>_a),multi:!0},ca={provide:j,useExisting:(0,e.Gpc)(()=>Fo),multi:!0};let _a=(()=>{class ht extends Oa{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=ze=>ae}enabled(ze){return ze}static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(vt,Jt){2&vt&&e.uIk("required",Jt._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([Kr]),e.qOj]})}return ht})(),Fo=(()=>{class ht extends _a{constructor(){super(...arguments),this.createValidator=ze=>Me}static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275dir=e.lG2({type:ht,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(vt,Jt){2&vt&&e.uIk("required",Jt._enabled?"":null)},features:[e._Bn([ca]),e.qOj]})}return ht})(),Vt=(()=>{class ht{static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[yn]})}return ht})();class Ai extends gt{constructor(bt,ze,vt){super(Ot(ze),at(vt,ze)),this.controls=bt,this._initObservables(),this._setUpdateStrategy(ze),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(bt){return this.controls[this._adjustIndex(bt)]}push(bt,ze={}){this.controls.push(bt),this._registerControl(bt),this.updateValueAndValidity({emitEvent:ze.emitEvent}),this._onCollectionChange()}insert(bt,ze,vt={}){this.controls.splice(bt,0,ze),this._registerControl(ze),this.updateValueAndValidity({emitEvent:vt.emitEvent})}removeAt(bt,ze={}){let vt=this._adjustIndex(bt);vt<0&&(vt=0),this.controls[vt]&&this.controls[vt]._registerOnCollectionChange(()=>{}),this.controls.splice(vt,1),this.updateValueAndValidity({emitEvent:ze.emitEvent})}setControl(bt,ze,vt={}){let Jt=this._adjustIndex(bt);Jt<0&&(Jt=0),this.controls[Jt]&&this.controls[Jt]._registerOnCollectionChange(()=>{}),this.controls.splice(Jt,1),ze&&(this.controls.splice(Jt,0,ze),this._registerControl(ze)),this.updateValueAndValidity({emitEvent:vt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(bt,ze={}){Xe(this,0,bt),bt.forEach((vt,Jt)=>{Ge(this,!1,Jt),this.at(Jt).setValue(vt,{onlySelf:!0,emitEvent:ze.emitEvent})}),this.updateValueAndValidity(ze)}patchValue(bt,ze={}){null!=bt&&(bt.forEach((vt,Jt)=>{this.at(Jt)&&this.at(Jt).patchValue(vt,{onlySelf:!0,emitEvent:ze.emitEvent})}),this.updateValueAndValidity(ze))}reset(bt=[],ze={}){this._forEachChild((vt,Jt)=>{vt.reset(bt[Jt],{onlySelf:!0,emitEvent:ze.emitEvent})}),this._updatePristine(ze),this._updateTouched(ze),this.updateValueAndValidity(ze)}getRawValue(){return this.controls.map(bt=>bt.getRawValue())}clear(bt={}){this.controls.length<1||(this._forEachChild(ze=>ze._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:bt.emitEvent}))}_adjustIndex(bt){return bt<0?bt+this.length:bt}_syncPendingControls(){let bt=this.controls.reduce((ze,vt)=>!!vt._syncPendingControls()||ze,!1);return bt&&this.updateValueAndValidity({onlySelf:!0}),bt}_forEachChild(bt){this.controls.forEach((ze,vt)=>{bt(ze,vt)})}_updateValue(){this.value=this.controls.filter(bt=>bt.enabled||this.disabled).map(bt=>bt.value)}_anyControls(bt){return this.controls.some(ze=>ze.enabled&&bt(ze))}_setUpControls(){this._forEachChild(bt=>this._registerControl(bt))}_allControlsDisabled(){for(const bt of this.controls)if(bt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(bt){bt.setParent(this),bt._registerOnCollectionChange(this._onCollectionChange)}_find(bt){return this.at(bt)??null}}function Ti(ht){return!!ht&&(void 0!==ht.asyncValidators||void 0!==ht.validators||void 0!==ht.updateOn)}let Zi=(()=>{class ht{constructor(){this.useNonNullable=!1}get nonNullable(){const ze=new ht;return ze.useNonNullable=!0,ze}group(ze,vt=null){const Jt=this._reduceControls(ze);let zi={};return Ti(vt)?zi=vt:null!==vt&&(zi.validators=vt.validator,zi.asyncValidators=vt.asyncValidator),new Le(Jt,zi)}record(ze,vt=null){const Jt=this._reduceControls(ze);return new ke(Jt,vt)}control(ze,vt,Jt){let zi={};return this.useNonNullable?(Ti(vt)?zi=vt:(zi.validators=vt,zi.asyncValidators=Jt),new tt(ze,{...zi,nonNullable:!0})):new tt(ze,vt,Jt)}array(ze,vt,Jt){const zi=ze.map(xn=>this._createControl(xn));return new Ai(zi,vt,Jt)}_reduceControls(ze){const vt={};return Object.keys(ze).forEach(Jt=>{vt[Jt]=this._createControl(ze[Jt])}),vt}_createControl(ze){return ze instanceof tt||ze instanceof gt?ze:Array.isArray(ze)?this.control(ze[0],ze.length>1?ze[1]:null,ze.length>2?ze[2]:null):this.control(ze)}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),ar=(()=>{class ht extends Zi{group(ze,vt=null){return super.group(ze,vt)}control(ze,vt,Jt){return super.control(ze,vt,Jt)}array(ze,vt,Jt){return super.array(ze,vt,Jt)}static#e=this.\u0275fac=(()=>{let ze;return function(Jt){return(ze||(ze=e.n5z(ht)))(Jt||ht)}})();static#t=this.\u0275prov=e.Yz7({token:ht,factory:ht.\u0275fac,providedIn:"root"})}return ht})(),sn=(()=>{class ht{static withConfig(ze){return{ngModule:ht,providers:[{provide:At,useValue:ze.callSetDisabledState??Wt}]}}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[Vt]})}return ht})(),Ba=(()=>{class ht{static withConfig(ze){return{ngModule:ht,providers:[{provide:yr,useValue:ze.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:ze.callSetDisabledState??Wt}]}}static#e=this.\u0275fac=function(vt){return new(vt||ht)};static#t=this.\u0275mod=e.oAB({type:ht});static#i=this.\u0275inj=e.cJS({imports:[Vt]})}return ht})()},4630:(Fe,q,p)=>{"use strict";p.d(q,{Bb:()=>Je,XC:()=>r,ZL:()=>Ke});var e=p(9212),t=p(3680),y=p(6814),A=p(5407),l=p(3651),w=p(4300),m=p(2495),P=p(2831),d=p(6825),E=p(7394),M=p(8645),I=p(4911),k=p(3019),z=p(2096),B=p(2438),W=p(6028),j=p(8484),K=p(6223),X=p(5683),ie=p(7921),se=p(4664),ue=p(8180),ae=p(2181),Me=p(7398),J=p(9397),he=p(932),S=p(9388);const n=["panel"];function s(ye,fe){if(1&ye){const de=e.EpF();e.TgZ(0,"div",0,1),e.NdJ("@panelAnimation.done",function(le){e.CHM(de);const pe=e.oxw();return e.KtG(pe._animationDone.next(le))}),e.Hsn(2),e.qZA()}if(2&ye){const de=fe.id,xe=e.oxw();e.Q6J("id",xe.id)("ngClass",xe._classList)("@panelAnimation",xe.isOpen?"visible":"hidden"),e.uIk("aria-label",xe.ariaLabel||null)("aria-labelledby",xe._getPanelAriaLabelledby(de))}}const f=["*"],h=(0,d.X$)("panelAnimation",[(0,d.SB)("void, hidden",(0,d.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,d.eR)(":enter, hidden => visible",[(0,d.ru)([(0,d.jt)("0.03s linear",(0,d.oB)({opacity:1})),(0,d.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.oB)({transform:"scaleY(1)"}))])]),(0,d.eR)(":leave, visible => hidden",[(0,d.jt)("0.075s linear",(0,d.oB)({opacity:0}))])]);let C=0;class D{constructor(fe,de){this.source=fe,this.option=de}}const O=new e.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function v(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let r=(()=>{class ye{get isOpen(){return this._isOpen&&this.showPanel}_setColor(de){this._color=de,this._setThemeClasses(this._classList)}set classList(de){this._classList=de&&de.length?(0,m.du)(de).reduce((xe,le)=>(xe[le]=!0,xe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(de){this._hideSingleSelectionIndicator=de,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const de of this.options)de._changeDetectorRef.markForCheck()}constructor(de,xe,le,pe){this._changeDetectorRef=de,this._elementRef=xe,this._defaults=le,this._activeOptionChanges=E.w0.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new e.vpe,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.optionActivated=new e.vpe,this._classList={},this.id="mat-autocomplete-"+C++,this.inertGroups=pe?.SAFARI||!1,this.autoActiveFirstOption=!!le.autoActiveFirstOption,this.autoSelectActiveOption=!!le.autoSelectActiveOption,this.requireSelection=!!le.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new w.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(de=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[de]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(de){this.panel&&(this.panel.nativeElement.scrollTop=de)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(de){const xe=new D(this,de);this.optionSelected.emit(xe)}_getPanelAriaLabelledby(de){return this.ariaLabel?null:this.ariaLabelledby?(de?de+" ":"")+this.ariaLabelledby:de}_setVisibilityClasses(de){de[this._visibleClass]=this.showPanel,de[this._hiddenClass]=!this.showPanel}_setThemeClasses(de){de["mat-primary"]="primary"===this._color,de["mat-warn"]="warn"===this._color,de["mat-accent"]="accent"===this._color}_skipPredicate(){return!1}static#e=this.\u0275fac=function(xe){return new(xe||ye)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(O),e.Y36(P.t4))};static#t=this.\u0275cmp=e.Xpm({type:ye,selectors:[["mat-autocomplete"]],contentQueries:function(xe,le,pe){if(1&xe&&(e.Suo(pe,t.ey,5),e.Suo(pe,t.K7,5)),2&xe){let qe;e.iGM(qe=e.CRH())&&(le.options=qe),e.iGM(qe=e.CRH())&&(le.optionGroups=qe)}},viewQuery:function(xe,le){if(1&xe&&(e.Gf(e.Rgc,7),e.Gf(n,5)),2&xe){let pe;e.iGM(pe=e.CRH())&&(le.template=pe.first),e.iGM(pe=e.CRH())&&(le.panel=pe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:["autoActiveFirstOption","autoActiveFirstOption",e.VuI],autoSelectActiveOption:["autoSelectActiveOption","autoSelectActiveOption",e.VuI],requireSelection:["requireSelection","requireSelection",e.VuI],panelWidth:"panelWidth",disableRipple:["disableRipple","disableRipple",e.VuI],classList:["class","classList"],hideSingleSelectionIndicator:["hideSingleSelectionIndicator","hideSingleSelectionIndicator",e.VuI]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[e._Bn([{provide:t.HF,useExisting:ye}]),e.Xq5],ngContentSelectors:f,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(xe,le){1&xe&&(e.F$t(),e.YNc(0,s,3,5,"ng-template"))},dependencies:[y.mk],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[h]},changeDetection:0})}return ye})();const H={provide:K.JU,useExisting:(0,e.Gpc)(()=>Ke),multi:!0},ee=new e.OlP("mat-autocomplete-scroll-strategy"),ct={provide:ee,deps:[l.aV],useFactory:function De(ye){return()=>ye.scrollStrategies.reposition()}};let Ke=(()=>{class ye{constructor(de,xe,le,pe,qe,re,ve,ce,Ze,We,Ct){this._element=de,this._overlay=xe,this._viewContainerRef=le,this._zone=pe,this._changeDetectorRef=qe,this._dir=ve,this._formField=ce,this._document=Ze,this._viewportRuler=We,this._defaults=Ct,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=E.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new M.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=(0,I.P)(()=>{const ut=this.autocomplete?this.autocomplete.options:null;return ut?ut.changes.pipe((0,ie.O)(ut),(0,se.w)(()=>(0,k.T)(...ut.map(It=>It.onSelectionChange)))):this._zone.onStable.pipe((0,ue.q)(1),(0,se.w)(()=>this.optionSelections))}),this._handlePanelKeydown=ut=>{(ut.keyCode===W.hY&&!(0,W.Vb)(ut)||ut.keyCode===W.LH&&(0,W.Vb)(ut,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ut.stopPropagation(),ut.preventDefault())},this._trackedModal=null,this._scrollStrategy=re}ngAfterViewInit(){const de=this._getWindow();typeof de<"u"&&this._zone.runOutsideAngular(()=>de.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(de){de.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const de=this._getWindow();typeof de<"u"&&de.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,w.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,w.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,k.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ae.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ae.h)(()=>this._overlayAttached)):(0,z.of)()).pipe((0,Me.U)(de=>de instanceof t.rN?de:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.T)((0,B.R)(this._document,"click"),(0,B.R)(this._document,"auxclick"),(0,B.R)(this._document,"touchend")).pipe((0,ae.h)(de=>{const xe=(0,P.sA)(de),le=this._formField?this._formField._elementRef.nativeElement:null,pe=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&xe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!le||!le.contains(xe))&&(!pe||!pe.contains(xe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(xe)}))}writeValue(de){Promise.resolve(null).then(()=>this._assignOptionValue(de))}registerOnChange(de){this._onChange=de}registerOnTouched(de){this._onTouched=de}setDisabledState(de){this._element.nativeElement.disabled=de}_handleKeydown(de){const xe=de.keyCode,le=(0,W.Vb)(de);if(xe===W.hY&&!le&&de.preventDefault(),this.activeOption&&xe===W.K5&&this.panelOpen&&!le)this.activeOption._selectViaInteraction(),this._resetActiveItem(),de.preventDefault();else if(this.autocomplete){const pe=this.autocomplete._keyManager.activeItem,qe=xe===W.LH||xe===W.JH;xe===W.Mf||qe&&!le&&this.panelOpen?this.autocomplete._keyManager.onKeydown(de):qe&&this._canOpen()&&this.openPanel(),(qe||this.autocomplete._keyManager.activeItem!==pe)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(de){let xe=de.target,le=xe.value;"number"===xe.type&&(le=""==le?null:parseFloat(le)),this._previousValue!==le&&(this._previousValue=le,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(le),le||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===de.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(de=!1){this._formField&&"auto"===this._formField.floatLabel&&(de?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const de=this._zone.onStable.pipe((0,ue.q)(1)),xe=this.autocomplete.options.changes.pipe((0,J.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,he.g)(0));return(0,k.T)(de,xe).pipe((0,se.w)(()=>(this._zone.run(()=>{const le=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),le!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ue.q)(1)).subscribe(le=>this._setValueAndClose(le))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(de){const xe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(de):de;this._updateNativeInputValue(xe??"")}_updateNativeInputValue(de){de||this._clearPreviousSelectedOption(null,!1),this._formField?this._formField._control.value=de:this._element.nativeElement.value=de,this._previousValue=de}_setValueAndClose(de){const xe=this.autocomplete,le=de?de.source:this._pendingAutoselectedOption;le?(this._clearPreviousSelectedOption(le),this._assignOptionValue(le.value),this._onChange(le.value),xe._emitSelectEvent(le),this._element.nativeElement.focus()):xe.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),xe._animationDone?xe._animationDone.pipe((0,ue.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(de,xe){this.autocomplete?.options?.forEach(le=>{le!==de&&le.selected&&le.deselect(xe)})}_attachOverlay(){let de=this._overlayRef;de?(this._positionStrategy.setOrigin(this._getConnectedElement()),de.updateSize({width:this._getPanelWidth()})):(this._portal=new j.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),de=this._overlay.create(this._getOverlayConfig()),this._overlayRef=de,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&de&&de.updateSize({width:this._getPanelWidth()})})),de&&!de.hasAttached()&&(de.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());const xe=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&xe!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const de=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=de.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=de.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new l.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const de=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(de),this._positionStrategy=de,de}_setStrategyPositions(de){const xe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],le=this._aboveClass,pe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:le},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:le}];let qe;qe="above"===this.position?pe:"below"===this.position?xe:[...xe,...pe],de.withPositions(qe)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const de=this.autocomplete;if(de.autoActiveFirstOption){let xe=-1;for(let le=0;le .cdk-overlay-container [aria-modal="true"]');if(!de)return;const xe=this.autocomplete.id;this._trackedModal&&(0,w.iD)(this._trackedModal,"aria-owns",xe),(0,w.Zf)(de,"aria-owns",xe),this._trackedModal=de}_clearFromModal(){this._trackedModal&&((0,w.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(xe){return new(xe||ye)(e.Y36(e.SBq),e.Y36(l.aV),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(ee),e.Y36(S.Is,8),e.Y36(X.G_,9),e.Y36(y.K0,8),e.Y36(A.rL),e.Y36(O,8))};static#t=this.\u0275dir=e.lG2({type:ye,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(xe,le){1&xe&&e.NdJ("focusin",function(){return le._handleFocus()})("blur",function(){return le._onTouched()})("input",function(qe){return le._handleInput(qe)})("keydown",function(qe){return le._handleKeydown(qe)})("click",function(){return le._handleClick()}),2&xe&&e.uIk("autocomplete",le.autocompleteAttribute)("role",le.autocompleteDisabled?null:"combobox")("aria-autocomplete",le.autocompleteDisabled?null:"list")("aria-activedescendant",le.panelOpen&&le.activeOption?le.activeOption.id:null)("aria-expanded",le.autocompleteDisabled?null:le.panelOpen.toString())("aria-controls",le.autocompleteDisabled||!le.panelOpen||null==le.autocomplete?null:le.autocomplete.id)("aria-haspopup",le.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled",e.VuI]},exportAs:["matAutocompleteTrigger"],features:[e._Bn([H]),e.Xq5,e.TTD]})}return ye})(),Je=(()=>{class ye{static#e=this.\u0275fac=function(xe){return new(xe||ye)};static#t=this.\u0275mod=e.oAB({type:ye});static#i=this.\u0275inj=e.cJS({providers:[ct],imports:[l.U8,t.Ng,t.BQ,y.ez,A.ZD,t.Ng,t.BQ]})}return ye})()},9014:(Fe,q,p)=>{"use strict";p.d(q,{g:()=>P,k:()=>m});var e=p(9212),t=p(3680),y=p(4300),A=p(6814);let l=0;const w="mat-badge-content";let m=(()=>{class d{get color(){return this._color}set color(M){this._setColor(M),this._color=M}get content(){return this._content}set content(M){this._updateRenderedContent(M)}get description(){return this._description}set description(M){this._updateDescription(M)}constructor(M,I,k,z,B){this._ngZone=M,this._elementRef=I,this._ariaDescriber=k,this._renderer=z,this._animationMode=B,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=l++,this._isInitialized=!1,this._interactivityChecker=(0,e.f3M)(y.ic),this._document=(0,e.f3M)(A.K0)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const M=this._renderer.createElement("span"),I="mat-badge-active";return M.setAttribute("id",`mat-badge-content-${this._id}`),M.setAttribute("aria-hidden","true"),M.classList.add(w),"NoopAnimations"===this._animationMode&&M.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(M),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{M.classList.add(I)})}):M.classList.add(I),M}_updateRenderedContent(M){const I=`${M??""}`.trim();this._isInitialized&&I&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=I),this._content=I}_updateDescription(M){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!M||this._isHostInteractive())&&this._removeInlineDescription(),this._description=M,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,M):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(M){const I=this._elementRef.nativeElement.classList;I.remove(`mat-badge-${this._color}`),M&&I.add(`mat-badge-${M}`)}_clearExistingBadges(){const M=this._elementRef.nativeElement.querySelectorAll(`:scope > .${w}`);for(const I of Array.from(M))I!==this._badgeElement&&I.remove()}static#e=this.\u0275fac=function(I){return new(I||d)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(y.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:d,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(I,k){2&I&&e.ekj("mat-badge-overlap",k.overlap)("mat-badge-above",k.isAbove())("mat-badge-below",!k.isAbove())("mat-badge-before",!k.isAfter())("mat-badge-after",k.isAfter())("mat-badge-small","small"===k.size)("mat-badge-medium","medium"===k.size)("mat-badge-large","large"===k.size)("mat-badge-hidden",k.hidden||!k.content)("mat-badge-disabled",k.disabled)},inputs:{color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap",e.VuI],disabled:["matBadgeDisabled","disabled",e.VuI],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden",e.VuI]},features:[e.Xq5]})}return d})(),P=(()=>{class d{static#e=this.\u0275fac=function(I){return new(I||d)};static#t=this.\u0275mod=e.oAB({type:d});static#i=this.\u0275inj=e.cJS({imports:[y.rt,t.BQ,t.BQ]})}return d})()},2296:(Fe,q,p)=>{"use strict";p.d(q,{RK:()=>f,lW:()=>se,nh:()=>S,ot:()=>C});var e=p(2831),t=p(9212),y=p(4300),A=p(3680);const l=["mat-button",""],w=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],m=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],M=["mat-mini-fab",""],k=["mat-icon-button",""],z=["*"],j=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let K=(()=>{class D{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(v){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,v)}get disableRipple(){return this._disableRipple}set disableRipple(v){this._disableRipple=v,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(v){this._disabled=v,this._updateRippleDisabled()}constructor(v,r,g,H){this._elementRef=v,this._platform=r,this._ngZone=g,this._animationMode=H,this._focusMonitor=(0,t.f3M)(y.tE),this._rippleLoader=(0,t.f3M)(A.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const R=this._elementRef.nativeElement,ee=R.classList;for(const{attribute:De,mdcClasses:ct}of j)R.hasAttribute(De)&&ee.add(...ct)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(v="program",r){v?this._focusMonitor.focusVia(this._elementRef.nativeElement,v,r):this._elementRef.nativeElement.focus(r)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(r){t.$Z()};static#t=this.\u0275dir=t.lG2({type:D,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",t.VuI],disabled:["disabled","disabled",t.VuI]},features:[t.Xq5]})}return D})(),se=(()=>{class D extends K{constructor(v,r,g,H){super(v,r,g,H)}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:l,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(w),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&r&&t.ekj("mdc-button__ripple",!g._isFab)("mdc-fab__ripple",g._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return D})();const ae=new t.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:Me});function Me(){return{color:"accent"}}const J=Me();let S=(()=>{class D extends K{constructor(v,r,g,H,R){super(v,r,g,H),this._options=R,this._isFab=!0,this._options=this._options||J,this.color=this._options.color||J.color}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(ae,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-mini-fab",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:M,ngContentSelectors:m,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(w),t._UZ(0,"span",0),t.Hsn(1),t.TgZ(2,"span",1),t.Hsn(3,1),t.qZA(),t.Hsn(4,2),t._UZ(5,"span",2)(6,"span",3)),2&r&&t.ekj("mdc-button__ripple",!g._isFab)("mdc-fab__ripple",g._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);flex-shrink:0;color:var(--mat-fab-foreground-color, inherit)}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return D})(),f=(()=>{class D extends K{constructor(v,r,g,H){super(v,r,g,H),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(r){return new(r||D)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(t.R0b),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:D,selectors:[["button","mat-icon-button",""]],hostVars:9,hostBindings:function(r,g){2&r&&(t.uIk("disabled",g.disabled||null),t.Tol(g.color?"mat-"+g.color:""),t.ekj("_mat-animation-noopable","NoopAnimations"===g._animationMode)("mat-unthemed",!g.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[t.qOj],attrs:k,ngContentSelectors:z,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,g){1&r&&(t.F$t(),t._UZ(0,"span",0),t.Hsn(1),t._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;border-radius:50%;flex-shrink:0;text-align:center;font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return D})(),C=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275mod=t.oAB({type:D});static#i=this.\u0275inj=t.cJS({imports:[A.BQ,A.si,A.BQ]})}return D})()},5195:(Fe,q,p)=>{"use strict";p.d(q,{$j:()=>z,QW:()=>J,a8:()=>E,dk:()=>W,dn:()=>k,n5:()=>M});var e=p(9212),t=p(6814),y=p(3680);const A=["*"],m=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],P=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new e.OlP("MAT_CARD_CONFIG");let E=(()=>{class he{constructor(n){this.appearance=n?.appearance||"raised"}static#e=this.\u0275fac=function(s){return new(s||he)(e.Y36(d,8))};static#t=this.\u0275cmp=e.Xpm({type:he,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(s,f){2&s&&e.ekj("mat-mdc-card-outlined","outlined"===f.appearance)("mdc-card--outlined","outlined"===f.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:A,decls:1,vars:0,template:function(s,f){1&s&&(e.F$t(),e.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return he})(),M=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return he})(),k=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return he})(),z=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275dir=e.lG2({type:he,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return he})(),W=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275cmp=e.Xpm({type:he,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:P,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(s,f){1&s&&(e.F$t(m),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0})}return he})(),J=(()=>{class he{static#e=this.\u0275fac=function(s){return new(s||he)};static#t=this.\u0275mod=e.oAB({type:he});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,t.ez,y.BQ]})}return he})()},5986:(Fe,q,p)=>{"use strict";p.d(q,{oG:()=>k,p9:()=>j});var e=p(9212),t=p(6223),y=p(3680);const A=["input"],l=["label"],w=["*"],m=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:P});function P(){return{color:"accent",clickAction:"check-indeterminate"}}const d={provide:t.JU,useExisting:(0,e.Gpc)(()=>k),multi:!0};class E{}let M=0;const I=P();let k=(()=>{class K{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const se=new E;return se.source=this,se.checked=ie,se}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ie,se,ue,ae,Me,J){this._elementRef=ie,this._changeDetectorRef=se,this._ngZone=ue,this._animationMode=Me,this._options=J,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||I,this.color=this._options.color||I.color,this.tabIndex=parseInt(ae)||0,this.id=this._uniqueId="mat-mdc-checkbox-"+ ++M}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){ie!=this.checked&&(this._checked=ie,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){ie!==this.disabled&&(this._disabled=ie,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const se=ie!=this._indeterminate;this._indeterminate=ie,se&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(ie){this.checked=!!ie}registerOnChange(ie){this._controlValueAccessorChangeFn=ie}registerOnTouched(ie){this._onTouched=ie}setDisabledState(ie){this.disabled=ie}_transitionCheckState(ie){let se=this._currentCheckState,ue=this._getAnimationTargetElement();if(se!==ie&&ue&&(this._currentAnimationClass&&ue.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(se,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){ue.classList.add(this._currentAnimationClass);const ae=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ue.classList.remove(ae)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ie=this._options?.clickAction;this.disabled||"noop"===ie?!this.disabled&&"noop"===ie&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ie&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ie){ie.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ie,se){if("NoopAnimations"===this._animationMode)return"";switch(ie){case 0:if(1===se)return this._animationClasses.uncheckedToChecked;if(3==se)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===se?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===se?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===se?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const se=this._inputElement;se&&(se.nativeElement.indeterminate=ie)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}static#e=this.\u0275fac=function(se){return new(se||K)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(m,8))};static#t=this.\u0275cmp=e.Xpm({type:K,selectors:[["mat-checkbox"]],viewQuery:function(se,ue){if(1&se&&(e.Gf(A,5),e.Gf(l,5),e.Gf(y.wG,5)),2&se){let ae;e.iGM(ae=e.CRH())&&(ue._inputElement=ae.first),e.iGM(ae=e.CRH())&&(ue._labelElement=ae.first),e.iGM(ae=e.CRH())&&(ue.ripple=ae.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(se,ue){2&se&&(e.Ikx("id",ue.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.Tol(ue.color?"mat-"+ue.color:"mat-accent"),e.ekj("_mat-animation-noopable","NoopAnimations"===ue._animationMode)("mdc-checkbox--disabled",ue.disabled)("mat-mdc-checkbox-disabled",ue.disabled)("mat-mdc-checkbox-checked",ue.checked))},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:["required","required",e.VuI],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:["disableRipple","disableRipple",e.VuI],tabIndex:["tabIndex","tabIndex",ie=>null==ie?void 0:(0,e.Cb_)(ie)],color:"color",checked:["checked","checked",e.VuI],disabled:["disabled","disabled",e.VuI],indeterminate:["indeterminate","indeterminate",e.VuI]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[e._Bn([d]),e.Xq5],ngContentSelectors:w,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(se,ue){if(1&se&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(Me){return ue._preventBubblingFromLabel(Me)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return ue._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return ue._onBlur()})("click",function(){return ue._onInputClick()})("change",function(Me){return ue._onInteractionEvent(Me)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&se){const ae=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==ue.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",ue.checked),e.Q6J("checked",ue.checked)("indeterminate",ue.indeterminate)("disabled",ue.disabled)("id",ue.inputId)("required",ue.required)("tabIndex",ue.disabled?-1:ue.tabIndex),e.uIk("aria-label",ue.ariaLabel||null)("aria-labelledby",ue.ariaLabelledby)("aria-describedby",ue.ariaDescribedby)("aria-checked",ue.indeterminate?"mixed":null)("name",ue.name)("value",ue.value),e.xp6(7),e.Q6J("matRippleTrigger",ae)("matRippleDisabled",ue.disableRipple||ue.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",ue.inputId)}},dependencies:[y.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return K})(),W=(()=>{class K{static#e=this.\u0275fac=function(se){return new(se||K)};static#t=this.\u0275mod=e.oAB({type:K});static#i=this.\u0275inj=e.cJS({})}return K})(),j=(()=>{class K{static#e=this.\u0275fac=function(se){return new(se||K)};static#t=this.\u0275mod=e.oAB({type:K});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,y.si,W,y.BQ,W]})}return K})()},2557:(Fe,q,p)=>{"use strict";p.d(q,{HS:()=>de,Hi:()=>lt});var e=p(2495),t=p(9212),y=p(6814),A=p(3680),l=p(4300),w=p(8645),m=p(3019),P=p(8180),I=(p(9773),p(7921),p(4664),p(6028));function W(Qe,St){1&Qe&&(t.TgZ(0,"span",7),t.Hsn(1,1),t.qZA())}function j(Qe,St){1&Qe&&(t.TgZ(0,"span",8),t.Hsn(1,2),t.qZA())}p(9388),p(6223),p(5683);const K=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],X=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],O=new t.OlP("mat-chips-default-options"),v=new t.OlP("MatChipAvatar"),r=new t.OlP("MatChipTrailingIcon"),g=new t.OlP("MatChipRemove"),H=new t.OlP("MatChip");class R{}const ee=(0,A.sb)(R,-1);let De=(()=>{class Qe extends ee{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(dt){this._disabled=(0,e.Ig)(dt)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(dt,te){super(),this._elementRef=dt,this._parentChip=te,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===dt.nativeElement.nodeName&&dt.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(dt){!this.disabled&&this.isInteractive&&this._isPrimary&&(dt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(dt){(dt.keyCode===I.K5||dt.keyCode===I.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(dt.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(te){return new(te||Qe)(t.Y36(t.SBq),t.Y36(H))};static#t=this.\u0275dir=t.lG2({type:Qe,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(te,Ue){1&te&&t.NdJ("click",function(Ye){return Ue._handleClick(Ye)})("keydown",function(Ye){return Ue._handleKeydown(Ye)}),2&te&&(t.uIk("tabindex",Ue._getTabindex())("disabled",Ue._getDisabledAttribute())("aria-disabled",Ue.disabled),t.ekj("mdc-evolution-chip__action--primary",Ue._isPrimary)("mdc-evolution-chip__action--presentational",!Ue.isInteractive)("mdc-evolution-chip__action--trailing",!Ue._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[t.qOj]})}return Qe})(),ye=0;const fe=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(Qe){this._elementRef=Qe}})),"primary"),-1);let de=(()=>{class Qe extends fe{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(dt){this._value=dt}get removable(){return this._removable}set removable(dt){this._removable=(0,e.Ig)(dt)}get highlighted(){return this._highlighted}set highlighted(dt){this._highlighted=(0,e.Ig)(dt)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(dt){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,dt)}constructor(dt,te,Ue,Bt,Ye,je,Ft,xt){super(te),this._changeDetectorRef=dt,this._ngZone=Ue,this._focusMonitor=Bt,this._globalRippleOptions=Ft,this._onFocus=new w.x,this._onBlur=new w.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ye++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new t.vpe,this.destroyed=new t.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,t.f3M)(A.Fq),this._document=Ye,this._animationsDisabled="NoopAnimations"===je,null!=xt&&(this.tabIndex=parseInt(xt)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const dt=this._elementRef.nativeElement;this._isBasicChip=dt.hasAttribute(this.basicChipAttrName)||dt.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,m.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(dt){(dt.keyCode===I.ZH||dt.keyCode===I.yY)&&(dt.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(dt){return this._getActions().find(te=>{const Ue=te._elementRef.nativeElement;return Ue===dt||Ue.contains(dt)})}_getActions(){const dt=[];return this.primaryAction&&dt.push(this.primaryAction),this.removeIcon&&dt.push(this.removeIcon),this.trailingIcon&&dt.push(this.trailingIcon),dt}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(dt=>{const te=null!==dt;te!==this._hasFocusInternal&&(this._hasFocusInternal=te,te?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(te){return new(te||Qe)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(l.tE),t.Y36(y.K0),t.Y36(t.QbO,8),t.Y36(A.Y2,8),t.$8M("tabindex"))};static#t=this.\u0275cmp=t.Xpm({type:Qe,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(te,Ue,Bt){if(1&te&&(t.Suo(Bt,v,5),t.Suo(Bt,r,5),t.Suo(Bt,g,5),t.Suo(Bt,v,5),t.Suo(Bt,r,5),t.Suo(Bt,g,5)),2&te){let Ye;t.iGM(Ye=t.CRH())&&(Ue.leadingIcon=Ye.first),t.iGM(Ye=t.CRH())&&(Ue.trailingIcon=Ye.first),t.iGM(Ye=t.CRH())&&(Ue.removeIcon=Ye.first),t.iGM(Ye=t.CRH())&&(Ue._allLeadingIcons=Ye),t.iGM(Ye=t.CRH())&&(Ue._allTrailingIcons=Ye),t.iGM(Ye=t.CRH())&&(Ue._allRemoveIcons=Ye)}},viewQuery:function(te,Ue){if(1&te&&t.Gf(De,5),2&te){let Bt;t.iGM(Bt=t.CRH())&&(Ue.primaryAction=Bt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(te,Ue){1&te&&t.NdJ("keydown",function(Ye){return Ue._handleKeydown(Ye)}),2&te&&(t.Ikx("id",Ue.id),t.uIk("role",Ue.role)("tabindex",Ue.role?Ue.tabIndex:null)("aria-label",Ue.ariaLabel),t.ekj("mdc-evolution-chip",!Ue._isBasicChip)("mdc-evolution-chip--disabled",Ue.disabled)("mdc-evolution-chip--with-trailing-action",Ue._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Ue.leadingIcon)("mdc-evolution-chip--with-primary-icon",Ue.leadingIcon)("mdc-evolution-chip--with-avatar",Ue.leadingIcon)("mat-mdc-chip-with-avatar",Ue.leadingIcon)("mat-mdc-chip-highlighted",Ue.highlighted)("mat-mdc-chip-disabled",Ue.disabled)("mat-mdc-basic-chip",Ue._isBasicChip)("mat-mdc-standard-chip",!Ue._isBasicChip)("mat-mdc-chip-with-trailing-icon",Ue._hasTrailingIcon())("_mat-animation-noopable",Ue._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[t._Bn([{provide:H,useExisting:Qe}]),t.qOj],ngContentSelectors:X,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(te,Ue){1&te&&(t.F$t(K),t._UZ(0,"span",0),t.TgZ(1,"span",1)(2,"span",2),t.YNc(3,W,2,0,"span",3),t.TgZ(4,"span",4),t.Hsn(5),t._UZ(6,"span",5),t.qZA()()(),t.YNc(7,j,2,0,"span",6)),2&te&&(t.xp6(2),t.Q6J("isInteractive",!1),t.xp6(1),t.um2(3,Ue.leadingIcon?3:-1),t.xp6(4),t.um2(7,Ue._hasTrailingIcon()?7:-1))},dependencies:[De],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Qe})(),lt=(()=>{class Qe{static#e=this.\u0275fac=function(te){return new(te||Qe)};static#t=this.\u0275mod=t.oAB({type:Qe});static#i=this.\u0275inj=t.cJS({providers:[A.rD,{provide:O,useValue:{separatorKeyCodes:[I.K5]}}],imports:[A.BQ,A.si,A.BQ]})}return Qe})()},3680:(Fe,q,p)=>{"use strict";p.d(q,{yN:()=>ie,mZ:()=>se,_A:()=>r,rD:()=>ye,sG:()=>g,Ad:()=>O,K7:()=>St,HF:()=>lt,Y2:()=>Ae,BQ:()=>Me,uc:()=>le,XK:()=>Ke,ey:()=>Bt,Ng:()=>Ft,rN:()=>Ue,us:()=>Ie,wG:()=>Be,Fq:()=>Ge,si:()=>rt,LF:()=>ee,IR:()=>ut,CB:()=>Ye,jH:()=>je,pj:()=>s,Kr:()=>f,Id:()=>n,FD:()=>C,dB:()=>D,sb:()=>h});var e=p(9212),t=p(4300),y=p(9388),l=p(6814),w=p(2831),m=p(2495),P=p(5592),d=p(8645),E=p(6028);const k=["text"];function z(Xe,gt){if(1&Xe&&e._UZ(0,"mat-pseudo-checkbox",6),2&Xe){const Le=e.oxw();e.Q6J("disabled",Le.disabled)("state",Le.selected?"checked":"unchecked")}}function B(Xe,gt){if(1&Xe&&e._UZ(0,"mat-pseudo-checkbox",7),2&Xe){const Le=e.oxw();e.Q6J("disabled",Le.disabled)}}function W(Xe,gt){if(1&Xe&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&Xe){const Le=e.oxw();e.xp6(1),e.hij("(",Le.group.label,")")}}const j=[[["mat-icon"]],"*"],K=["mat-icon","*"];let ie=(()=>{class Xe{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return Xe})(),se=(()=>{class Xe{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return Xe})();const ae=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ue(){return!0}});let Me=(()=>{class Xe{constructor(Le,be,$){this._sanityChecks=be,this._document=$,this._hasDoneGlobalChecks=!1,Le._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Le){return!(0,w.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Le])}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.LFG(t.qm),e.LFG(ae,8),e.LFG(l.K0))};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[y.vT,y.vT]})}return Xe})();function n(Xe){return class extends Xe{get disabled(){return this._disabled}set disabled(gt){this._disabled=(0,m.Ig)(gt)}constructor(...gt){super(...gt),this._disabled=!1}}}function s(Xe,gt){return class extends Xe{get color(){return this._color}set color(Le){const be=Le||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Le){super(...Le),this.defaultColor=gt,this.color=gt}}}function f(Xe){return class extends Xe{get disableRipple(){return this._disableRipple}set disableRipple(gt){this._disableRipple=(0,m.Ig)(gt)}constructor(...gt){super(...gt),this._disableRipple=!1}}}function h(Xe,gt=0){return class extends Xe{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Le){this._tabIndex=null!=Le?(0,m.su)(Le):this.defaultTabIndex}constructor(...Le){super(...Le),this._tabIndex=gt,this.defaultTabIndex=gt}}}function C(Xe){return class extends Xe{updateErrorState(){const gt=this.errorState,ne=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ne!==gt&&(this.errorState=ne,this.stateChanges.next())}constructor(...gt){super(...gt),this.errorState=!1}}}function D(Xe){return class extends Xe{constructor(...gt){super(...gt),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(Le=>{this._isInitialized?this._notifySubscriber(Le):this._pendingSubscribers.push(Le)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(gt){gt.next(),gt.complete()}}}const O=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,e.f3M)(e.soG)}});class r{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(gt){return this.isDateInstance(gt)&&this.isValid(gt)?gt:null}deserialize(gt){return null==gt||this.isDateInstance(gt)&&this.isValid(gt)?gt:this.invalid()}setLocale(gt){this.locale=gt,this._localeChanges.next()}compareDate(gt,Le){return this.getYear(gt)-this.getYear(Le)||this.getMonth(gt)-this.getMonth(Le)||this.getDate(gt)-this.getDate(Le)}sameDate(gt,Le){if(gt&&Le){let be=this.isValid(gt),$=this.isValid(Le);return be&&$?!this.compareDate(gt,Le):be==$}return gt==Le}clampDate(gt,Le,be){return Le&&this.compareDate(gt,Le)<0?Le:be&&this.compareDate(gt,be)>0?be:gt}}const g=new e.OlP("mat-date-formats"),H=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function R(Xe,gt){const Le=Array(Xe);for(let be=0;be{class Xe extends r{constructor(Le){super(),this.useUtcForDisplay=!1,this._matDateLocale=(0,e.f3M)(O,{optional:!0}),void 0!==Le&&(this._matDateLocale=Le),super.setLocale(this._matDateLocale)}getYear(Le){return Le.getFullYear()}getMonth(Le){return Le.getMonth()}getDate(Le){return Le.getDate()}getDayOfWeek(Le){return Le.getDay()}getMonthNames(Le){const be=new Intl.DateTimeFormat(this.locale,{month:Le,timeZone:"utc"});return R(12,$=>this._format(be,new Date(2017,$,1)))}getDateNames(){const Le=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return R(31,be=>this._format(Le,new Date(2017,0,be+1)))}getDayOfWeekNames(Le){const be=new Intl.DateTimeFormat(this.locale,{weekday:Le,timeZone:"utc"});return R(7,$=>this._format(be,new Date(2017,0,$+1)))}getYearName(Le){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Le)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Le){return this.getDate(this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le)+1,0))}clone(Le){return new Date(Le.getTime())}createDate(Le,be,$){let ne=this._createDateWithOverflow(Le,be,$);return ne.getMonth(),ne}today(){return new Date}parse(Le,be){return"number"==typeof Le?new Date(Le):Le?new Date(Date.parse(Le)):null}format(Le,be){if(!this.isValid(Le))throw Error("NativeDateAdapter: Cannot format invalid date.");const $=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format($,Le)}addCalendarYears(Le,be){return this.addCalendarMonths(Le,12*be)}addCalendarMonths(Le,be){let $=this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le)+be,this.getDate(Le));return this.getMonth($)!=((this.getMonth(Le)+be)%12+12)%12&&($=this._createDateWithOverflow(this.getYear($),this.getMonth($),0)),$}addCalendarDays(Le,be){return this._createDateWithOverflow(this.getYear(Le),this.getMonth(Le),this.getDate(Le)+be)}toIso8601(Le){return[Le.getUTCFullYear(),this._2digit(Le.getUTCMonth()+1),this._2digit(Le.getUTCDate())].join("-")}deserialize(Le){if("string"==typeof Le){if(!Le)return null;if(H.test(Le)){let be=new Date(Le);if(this.isValid(be))return be}}return super.deserialize(Le)}isDateInstance(Le){return Le instanceof Date}isValid(Le){return!isNaN(Le.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Le,be,$){const ne=new Date;return ne.setFullYear(Le,be,$),ne.setHours(0,0,0,0),ne}_2digit(Le){return("00"+Le).slice(-2)}_format(Le,be){const $=new Date;return $.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),$.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Le.format($)}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.LFG(O,8))};static#t=this.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac})}return Xe})();const De={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let ct=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({providers:[{provide:r,useClass:ee}]})}return Xe})(),Ke=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({providers:[{provide:g,useValue:De}],imports:[ct]})}return Xe})(),ye=(()=>{class Xe{isErrorState(Le,be){return!!(Le&&Le.invalid&&(Le.touched||be&&be.submitted))}static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),le=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[Me,Me]})}return Xe})();class pe{constructor(gt,Le,be,$=!1){this._renderer=gt,this.element=Le,this.config=be,this._animationForciblyDisabledThroughCss=$,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qe=(0,w.i$)({passive:!0,capture:!0});class re{constructor(){this._events=new Map,this._delegateEventHandler=gt=>{const Le=(0,w.sA)(gt);Le&&this._events.get(gt.type)?.forEach((be,$)=>{($===Le||$.contains(Le))&&be.forEach(ne=>ne.handleEvent(gt))})}}addHandler(gt,Le,be,$){const ne=this._events.get(Le);if(ne){const ke=ne.get(be);ke?ke.add($):ne.set(be,new Set([$]))}else this._events.set(Le,new Map([[be,new Set([$])]])),gt.runOutsideAngular(()=>{document.addEventListener(Le,this._delegateEventHandler,qe)})}removeHandler(gt,Le,be){const $=this._events.get(gt);if(!$)return;const ne=$.get(Le);ne&&(ne.delete(be),0===ne.size&&$.delete(Le),0===$.size&&(this._events.delete(gt),document.removeEventListener(gt,this._delegateEventHandler,qe)))}}const ve={enterDuration:225,exitDuration:150},Ze=(0,w.i$)({passive:!0,capture:!0}),We=["mousedown","touchstart"],Ct=["mouseup","mouseleave","touchend","touchcancel"];class ut{static#e=this._eventManager=new re;constructor(gt,Le,be,$){this._target=gt,this._ngZone=Le,this._platform=$,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,$.isBrowser&&(this._containerElement=(0,m.fI)(be))}fadeInRipple(gt,Le,be={}){const $=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ne={...ve,...be.animation};be.centered&&(gt=$.left+$.width/2,Le=$.top+$.height/2);const ke=be.radius||function It(Xe,gt,Le){const be=Math.max(Math.abs(Xe-Le.left),Math.abs(Xe-Le.right)),$=Math.max(Math.abs(gt-Le.top),Math.abs(gt-Le.bottom));return Math.sqrt(be*be+$*$)}(gt,Le,$),Nt=gt-$.left,At=Le-$.top,Wt=ne.enterDuration,gi=document.createElement("div");gi.classList.add("mat-ripple-element"),gi.style.left=Nt-ke+"px",gi.style.top=At-ke+"px",gi.style.height=2*ke+"px",gi.style.width=2*ke+"px",null!=be.color&&(gi.style.backgroundColor=be.color),gi.style.transitionDuration=`${Wt}ms`,this._containerElement.appendChild(gi);const ei=window.getComputedStyle(gi),Fi=ei.transitionDuration,li="none"===ei.transitionProperty||"0s"===Fi||"0s, 0s"===Fi||0===$.width&&0===$.height,ui=new pe(this,gi,be,li);gi.style.transform="scale3d(1, 1, 1)",ui.state=0,be.persistent||(this._mostRecentTransientRipple=ui);let un=null;return!li&&(Wt||ne.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ki=()=>this._finishRippleTransition(ui),Mi=()=>this._destroyRipple(ui);gi.addEventListener("transitionend",Ki),gi.addEventListener("transitioncancel",Mi),un={onTransitionEnd:Ki,onTransitionCancel:Mi}}),this._activeRipples.set(ui,un),(li||!Wt)&&this._finishRippleTransition(ui),ui}fadeOutRipple(gt){if(2===gt.state||3===gt.state)return;const Le=gt.element,be={...ve,...gt.config.animation};Le.style.transitionDuration=`${be.exitDuration}ms`,Le.style.opacity="0",gt.state=2,(gt._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(gt)}fadeOutAll(){this._getActiveRipples().forEach(gt=>gt.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(gt=>{gt.config.persistent||gt.fadeOut()})}setupTriggerEvents(gt){const Le=(0,m.fI)(gt);!this._platform.isBrowser||!Le||Le===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Le,We.forEach(be=>{ut._eventManager.addHandler(this._ngZone,be,Le,this)}))}handleEvent(gt){"mousedown"===gt.type?this._onMousedown(gt):"touchstart"===gt.type?this._onTouchStart(gt):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ct.forEach(Le=>{this._triggerElement.addEventListener(Le,this,Ze)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(gt){0===gt.state?this._startFadeOutTransition(gt):2===gt.state&&this._destroyRipple(gt)}_startFadeOutTransition(gt){const Le=gt===this._mostRecentTransientRipple,{persistent:be}=gt.config;gt.state=1,!be&&(!Le||!this._isPointerDown)&>.fadeOut()}_destroyRipple(gt){const Le=this._activeRipples.get(gt)??null;this._activeRipples.delete(gt),this._activeRipples.size||(this._containerRect=null),gt===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),gt.state=3,null!==Le&&(gt.element.removeEventListener("transitionend",Le.onTransitionEnd),gt.element.removeEventListener("transitioncancel",Le.onTransitionCancel)),gt.element.remove()}_onMousedown(gt){const Le=(0,t.X6)(gt),be=this._lastTouchStartEvent&&Date.now(){!gt.config.persistent&&(1===gt.state||gt.config.terminateOnPointerUp&&0===gt.state)&>.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const gt=this._triggerElement;gt&&(We.forEach(Le=>ut._eventManager.removeHandler(Le,gt,this)),this._pointerUpEventsRegistered&&Ct.forEach(Le=>gt.removeEventListener(Le,this,Ze)))}}const Ae=new e.OlP("mat-ripple-global-options");let Be=(()=>{class Xe{get disabled(){return this._disabled}set disabled(Le){Le&&this.fadeOutAllNonPersistent(),this._disabled=Le,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Le){this._trigger=Le,this._setupTriggerEventsIfEnabled()}constructor(Le,be,$,ne,ke){this._elementRef=Le,this._animationMode=ke,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ne||{},this._rippleRenderer=new ut(this,be,Le,$)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Le,be=0,$){return"number"==typeof Le?this._rippleRenderer.fadeInRipple(Le,be,{...this.rippleConfig,...$}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Le})}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(w.t4),e.Y36(Ae,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:Xe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(be,$){2&be&&e.ekj("mat-ripple-unbounded",$.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return Xe})(),rt=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[Me,Me]})}return Xe})(),$e=(()=>{class Xe{constructor(Le){this._animationMode=Le,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:Xe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(be,$){2&be&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===$.state)("mat-pseudo-checkbox-checked","checked"===$.state)("mat-pseudo-checkbox-disabled",$.disabled)("mat-pseudo-checkbox-minimal","minimal"===$.appearance)("mat-pseudo-checkbox-full","full"===$.appearance)("_mat-animation-noopable","NoopAnimations"===$._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(be,$){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return Xe})(),Ie=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[Me]})}return Xe})();const lt=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),St=new e.OlP("MatOptgroup");let te=0;class Ue{constructor(gt,Le=!1){this.source=gt,this.isUserInput=Le}}let Bt=(()=>{class Xe{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Le){this._disabled=Le}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Le,be,$,ne){this._element=Le,this._changeDetectorRef=be,this._parent=$,this.group=ne,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+te++,this.onSelectionChange=new e.vpe,this._stateChanges=new d.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Le=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Le&&this._emitSelectionChangeEvent())}deselect(Le=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Le&&this._emitSelectionChangeEvent())}focus(Le,be){const $=this._getHostElement();"function"==typeof $.focus&&$.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Le){(Le.keyCode===E.K5||Le.keyCode===E.L_)&&!(0,E.Vb)(Le)&&(this._selectViaInteraction(),Le.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Le=this.viewValue;Le!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Le)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Le=!1){this.onSelectionChange.emit(new Ue(this,Le))}static#e=this.\u0275fac=function(be){return new(be||Xe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(lt,8),e.Y36(St,8))};static#t=this.\u0275cmp=e.Xpm({type:Xe,selectors:[["mat-option"]],viewQuery:function(be,$){if(1&be&&e.Gf(k,7),2&be){let ne;e.iGM(ne=e.CRH())&&($._text=ne.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(be,$){1&be&&e.NdJ("click",function(){return $._selectViaInteraction()})("keydown",function(ke){return $._handleKeydown(ke)}),2&be&&(e.Ikx("id",$.id),e.uIk("aria-selected",$.selected)("aria-disabled",$.disabled.toString()),e.ekj("mdc-list-item--selected",$.selected)("mat-mdc-option-multiple",$.multiple)("mat-mdc-option-active",$.active)("mdc-list-item--disabled",$.disabled))},inputs:{value:"value",id:"id",disabled:["disabled","disabled",e.VuI]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[e.Xq5],ngContentSelectors:K,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(be,$){1&be&&(e.F$t(j),e.YNc(0,z,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,B,1,1,"mat-pseudo-checkbox",3)(6,W,2,1,"span",4),e._UZ(7,"div",5)),2&be&&(e.um2(0,$.multiple?0:-1),e.xp6(5),e.um2(5,$.multiple||!$.selected||$.hideSingleSelectionIndicator?-1:5),e.xp6(1),e.um2(6,$.group&&$.group._inert?6:-1),e.xp6(1),e.Q6J("matRippleTrigger",$._getHostElement())("matRippleDisabled",$.disabled||$.disableRipple))},dependencies:[Be,$e],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return Xe})();function Ye(Xe,gt,Le){if(Le.length){let be=gt.toArray(),$=Le.toArray(),ne=0;for(let ke=0;keLe+be?Math.max(0,Xe-be+gt):Le}let Ft=(()=>{class Xe{static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275mod=e.oAB({type:Xe});static#i=this.\u0275inj=e.cJS({imports:[rt,Me,Ie]})}return Xe})();const xt={capture:!0},Ot=["focus","click","mouseenter","touchstart"],yt="mat-ripple-loader-uninitialized",at="mat-ripple-loader-class-name",Ee="mat-ripple-loader-centered",nt="mat-ripple-loader-disabled";let Ge=(()=>{class Xe{constructor(){this._document=(0,e.f3M)(l.K0,{optional:!0}),this._animationMode=(0,e.f3M)(e.QbO,{optional:!0}),this._globalRippleOptions=(0,e.f3M)(Ae,{optional:!0}),this._platform=(0,e.f3M)(w.t4),this._ngZone=(0,e.f3M)(e.R0b),this._onInteraction=Le=>{if(!(Le.target instanceof HTMLElement))return;const $=Le.target.closest(`[${yt}]`);$&&this.createRipple($)},this._ngZone.runOutsideAngular(()=>{for(const Le of Ot)this._document?.addEventListener(Le,this._onInteraction,xt)})}ngOnDestroy(){for(const Le of Ot)this._document?.removeEventListener(Le,this._onInteraction,xt)}configureRipple(Le,be){Le.setAttribute(yt,""),(be.className||!Le.hasAttribute(at))&&Le.setAttribute(at,be.className||""),be.centered&&Le.setAttribute(Ee,""),be.disabled&&Le.setAttribute(nt,"")}getRipple(Le){return Le.matRipple?Le.matRipple:this.createRipple(Le)}setDisabled(Le,be){const $=Le.matRipple;$?$.disabled=be:be?Le.setAttribute(nt,""):Le.removeAttribute(nt)}createRipple(Le){if(!this._document)return;Le.querySelector(".mat-ripple")?.remove();const be=this._document.createElement("span");be.classList.add("mat-ripple",Le.getAttribute(at)),Le.append(be);const $=new Be(new e.SBq(be),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return $._isInitialized=!0,$.trigger=Le,$.centered=Le.hasAttribute(Ee),$.disabled=Le.hasAttribute(nt),this.attachRipple(Le,$),$}attachRipple(Le,be){Le.removeAttribute(yt),Le.matRipple=be}static#e=this.\u0275fac=function(be){return new(be||Xe)};static#t=this.\u0275prov=e.Yz7({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})()},8034:(Fe,q,p)=>{"use strict";p.d(q,{FA:()=>Bi,Mq:()=>At,hl:()=>li,nW:()=>un});var e=p(4300),t=p(3651),y=p(8484),A=p(6814),l=p(9212),w=p(2296),m=p(5407),P=p(3680),d=p(8645),E=p(7394),M=p(3019),I=p(2096),k=p(6028),z=p(9388),B=p(2831),W=p(8180),j=p(7921),K=p(2181),X=p(2495),ie=p(6825),se=p(6223),ue=p(5683),ae=p(2032);const Me=["mat-calendar-body",""];function J(qt,xi){if(1&qt&&(l.TgZ(0,"tr",0)(1,"td",2),l._uU(2),l.qZA()()),2&qt){const Se=l.oxw();l.xp6(1),l.Udp("padding-top",Se._cellPadding)("padding-bottom",Se._cellPadding),l.uIk("colspan",Se.numCols),l.xp6(1),l.hij(" ",Se.label," ")}}function he(qt,xi){if(1&qt&&(l.TgZ(0,"td",2),l._uU(1),l.qZA()),2&qt){const Se=l.oxw(2);l.Udp("padding-top",Se._cellPadding)("padding-bottom",Se._cellPadding),l.uIk("colspan",Se._firstRowOffset),l.xp6(1),l.hij(" ",Se._firstRowOffset>=Se.labelMinRequiredCells?Se.label:""," ")}}function S(qt,xi){if(1&qt){const Se=l.EpF();l.TgZ(0,"td",5)(1,"button",6),l.NdJ("click",function(et){const Yt=l.CHM(Se).$implicit,ri=l.oxw(2);return l.KtG(ri._cellClicked(Yt,et))})("focus",function(et){const Yt=l.CHM(Se).$implicit,ri=l.oxw(2);return l.KtG(ri._emitActiveDateChange(Yt,et))}),l.TgZ(2,"span",7),l._uU(3),l.qZA(),l._UZ(4,"span",8),l.qZA()()}if(2&qt){const Se=xi.$implicit,Ve=xi.$index,et=l.oxw().$index,tt=l.oxw();l.Udp("width",tt._cellWidth)("padding-top",tt._cellPadding)("padding-bottom",tt._cellPadding),l.uIk("data-mat-row",et)("data-mat-col",Ve),l.xp6(1),l.ekj("mat-calendar-body-disabled",!Se.enabled)("mat-calendar-body-active",tt._isActiveCell(et,Ve))("mat-calendar-body-range-start",tt._isRangeStart(Se.compareValue))("mat-calendar-body-range-end",tt._isRangeEnd(Se.compareValue))("mat-calendar-body-in-range",tt._isInRange(Se.compareValue))("mat-calendar-body-comparison-bridge-start",tt._isComparisonBridgeStart(Se.compareValue,et,Ve))("mat-calendar-body-comparison-bridge-end",tt._isComparisonBridgeEnd(Se.compareValue,et,Ve))("mat-calendar-body-comparison-start",tt._isComparisonStart(Se.compareValue))("mat-calendar-body-comparison-end",tt._isComparisonEnd(Se.compareValue))("mat-calendar-body-in-comparison-range",tt._isInComparisonRange(Se.compareValue))("mat-calendar-body-preview-start",tt._isPreviewStart(Se.compareValue))("mat-calendar-body-preview-end",tt._isPreviewEnd(Se.compareValue))("mat-calendar-body-in-preview",tt._isInPreview(Se.compareValue)),l.Q6J("ngClass",Se.cssClasses)("tabindex",tt._isActiveCell(et,Ve)?0:-1),l.uIk("aria-label",Se.ariaLabel)("aria-disabled",!Se.enabled||null)("aria-pressed",tt._isSelected(Se.compareValue))("aria-current",tt.todayValue===Se.compareValue?"date":null)("aria-describedby",tt._getDescribedby(Se.compareValue)),l.xp6(1),l.ekj("mat-calendar-body-selected",tt._isSelected(Se.compareValue))("mat-calendar-body-comparison-identical",tt._isComparisonIdentical(Se.compareValue))("mat-calendar-body-today",tt.todayValue===Se.compareValue),l.xp6(1),l.hij(" ",Se.displayValue," ")}}function n(qt,xi){if(1&qt&&(l.TgZ(0,"tr",3),l.YNc(1,he,2,6,"td",4),l.SjG(2,S,5,48,"td",9,l.x6l),l.qZA()),2&qt){const Se=xi.$implicit,Ve=xi.$index,et=l.oxw();l.xp6(1),l.um2(1,0===Ve&&et._firstRowOffset?1:-1),l.xp6(1),l.wJu(Se)}}function s(qt,xi){if(1&qt&&(l.TgZ(0,"th",4)(1,"span",5),l._uU(2),l.qZA(),l.TgZ(3,"span",6),l._uU(4),l.qZA()()),2&qt){const Se=xi.$implicit;l.xp6(2),l.Oqu(Se.long),l.xp6(2),l.Oqu(Se.narrow)}}const f=["*"];function h(qt,xi){}function C(qt,xi){if(1&qt){const Se=l.EpF();l.TgZ(0,"mat-month-view",2),l.NdJ("activeDateChange",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt.activeDate=et)})("_userSelection",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._dateSelected(et))})("dragStarted",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._dragStarted(et))})("dragEnded",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._dragEnded(et))}),l.qZA()}if(2&qt){const Se=l.oxw();l.Q6J("activeDate",Se.activeDate)("selected",Se.selected)("dateFilter",Se.dateFilter)("maxDate",Se.maxDate)("minDate",Se.minDate)("dateClass",Se.dateClass)("comparisonStart",Se.comparisonStart)("comparisonEnd",Se.comparisonEnd)("startDateAccessibleName",Se.startDateAccessibleName)("endDateAccessibleName",Se.endDateAccessibleName)("activeDrag",Se._activeDrag)}}function D(qt,xi){if(1&qt){const Se=l.EpF();l.TgZ(0,"mat-year-view",3),l.NdJ("activeDateChange",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt.activeDate=et)})("monthSelected",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._monthSelectedInYearView(et))})("selectedChange",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._goToDateInView(et,"month"))}),l.qZA()}if(2&qt){const Se=l.oxw();l.Q6J("activeDate",Se.activeDate)("selected",Se.selected)("dateFilter",Se.dateFilter)("maxDate",Se.maxDate)("minDate",Se.minDate)("dateClass",Se.dateClass)}}function O(qt,xi){if(1&qt){const Se=l.EpF();l.TgZ(0,"mat-multi-year-view",4),l.NdJ("activeDateChange",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt.activeDate=et)})("yearSelected",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._yearSelectedInMultiYearView(et))})("selectedChange",function(et){l.CHM(Se);const tt=l.oxw();return l.KtG(tt._goToDateInView(et,"year"))}),l.qZA()}if(2&qt){const Se=l.oxw();l.Q6J("activeDate",Se.activeDate)("selected",Se.selected)("dateFilter",Se.dateFilter)("maxDate",Se.maxDate)("minDate",Se.minDate)("dateClass",Se.dateClass)}}function v(qt,xi){}const r=["button"];function g(qt,xi){1&qt&&(l.O4$(),l.TgZ(0,"svg",3),l._UZ(1,"path",4),l.qZA())}const H=[[["","matDatepickerToggleIcon",""]]],R=["[matDatepickerToggleIcon]"];let Je=(()=>{class qt{constructor(){this.changes=new d.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(Se,Ve){return`${Se} \u2013 ${Ve}`}formatYearRangeLabel(Se,Ve){return`${Se} to ${Ve}`}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)};static#t=this.\u0275prov=l.Yz7({token:qt,factory:qt.\u0275fac,providedIn:"root"})}return qt})();class ye{constructor(xi,Se,Ve,et,tt={},Yt=xi,ri){this.value=xi,this.displayValue=Se,this.ariaLabel=Ve,this.enabled=et,this.cssClasses=tt,this.compareValue=Yt,this.rawValue=ri}}let fe=1;const de=(0,B.i$)({passive:!1,capture:!0}),xe=(0,B.i$)({passive:!0,capture:!0}),le=(0,B.i$)({passive:!0});let pe=(()=>{class qt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(Se,Ve){this._elementRef=Se,this._ngZone=Ve,this._platform=(0,l.f3M)(B.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new l.vpe,this.previewChange=new l.vpe,this.activeDateChange=new l.vpe,this.dragStarted=new l.vpe,this.dragEnded=new l.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=et=>{if(this._skipNextFocus&&"focus"===et.type)this._skipNextFocus=!1;else if(et.target&&this.isRange){const tt=this._getCellFromElement(et.target);tt&&this._ngZone.run(()=>this.previewChange.emit({value:tt.enabled?tt:null,event:et}))}},this._touchmoveHandler=et=>{if(!this.isRange)return;const tt=We(et),Yt=tt?this._getCellFromElement(tt):null;tt!==et.target&&(this._didDragSinceMouseDown=!0),re(et.target)&&et.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Yt?.enabled?Yt:null,event:et}))},this._leaveHandler=et=>{null!==this.previewEnd&&this.isRange&&("blur"!==et.type&&(this._didDragSinceMouseDown=!0),et.target&&this._getCellFromElement(et.target)&&(!et.relatedTarget||!this._getCellFromElement(et.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:et})))},this._mousedownHandler=et=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const tt=et.target&&this._getCellFromElement(et.target);!tt||!this._isInRange(tt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:tt.rawValue,event:et})})},this._mouseupHandler=et=>{if(!this.isRange)return;const tt=re(et.target);tt?tt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Yt=this._getCellFromElement(tt);this.dragEnded.emit({value:Yt?.rawValue??null,event:et})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:et})})},this._touchendHandler=et=>{const tt=We(et);tt&&this._mouseupHandler({target:tt})},this._id="mat-calendar-body-"+fe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,Ve.runOutsideAngular(()=>{const et=Se.nativeElement;et.addEventListener("touchmove",this._touchmoveHandler,de),et.addEventListener("mouseenter",this._enterHandler,xe),et.addEventListener("focus",this._enterHandler,xe),et.addEventListener("mouseleave",this._leaveHandler,xe),et.addEventListener("blur",this._leaveHandler,xe),et.addEventListener("mousedown",this._mousedownHandler,le),et.addEventListener("touchstart",this._mousedownHandler,le),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(Se,Ve){this._didDragSinceMouseDown||Se.enabled&&this.selectedValueChange.emit({value:Se.value,event:Ve})}_emitActiveDateChange(Se,Ve){Se.enabled&&this.activeDateChange.emit({value:Se.value,event:Ve})}_isSelected(Se){return this.startValue===Se||this.endValue===Se}ngOnChanges(Se){const Ve=Se.numCols,{rows:et,numCols:tt}=this;(Se.rows||Ve)&&(this._firstRowOffset=et&&et.length&&et[0].length?tt-et[0].length:0),(Se.cellAspectRatio||Ve||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/tt+"%"),(Ve||!this._cellWidth)&&(this._cellWidth=100/tt+"%")}ngOnDestroy(){const Se=this._elementRef.nativeElement;Se.removeEventListener("touchmove",this._touchmoveHandler,de),Se.removeEventListener("mouseenter",this._enterHandler,xe),Se.removeEventListener("focus",this._enterHandler,xe),Se.removeEventListener("mouseleave",this._leaveHandler,xe),Se.removeEventListener("blur",this._leaveHandler,xe),Se.removeEventListener("mousedown",this._mousedownHandler,le),Se.removeEventListener("touchstart",this._mousedownHandler,le),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(Se,Ve){let et=Se*this.numCols+Ve;return Se&&(et-=this._firstRowOffset),et==this.activeCell}_focusActiveCell(Se=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{setTimeout(()=>{const Ve=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Ve&&(Se||(this._skipNextFocus=!0),Ve.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Se){return ve(Se,this.startValue,this.endValue)}_isRangeEnd(Se){return ce(Se,this.startValue,this.endValue)}_isInRange(Se){return Ze(Se,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Se){return ve(Se,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Se,Ve,et){if(!this._isComparisonStart(Se)||this._isRangeStart(Se)||!this._isInRange(Se))return!1;let tt=this.rows[Ve][et-1];if(!tt){const Yt=this.rows[Ve-1];tt=Yt&&Yt[Yt.length-1]}return tt&&!this._isRangeEnd(tt.compareValue)}_isComparisonBridgeEnd(Se,Ve,et){if(!this._isComparisonEnd(Se)||this._isRangeEnd(Se)||!this._isInRange(Se))return!1;let tt=this.rows[Ve][et+1];if(!tt){const Yt=this.rows[Ve+1];tt=Yt&&Yt[0]}return tt&&!this._isRangeStart(tt.compareValue)}_isComparisonEnd(Se){return ce(Se,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Se){return Ze(Se,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Se){return this.comparisonStart===this.comparisonEnd&&Se===this.comparisonStart}_isPreviewStart(Se){return ve(Se,this.previewStart,this.previewEnd)}_isPreviewEnd(Se){return ce(Se,this.previewStart,this.previewEnd)}_isInPreview(Se){return Ze(Se,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Se){return this.isRange?this.startValue===Se&&this.endValue===Se?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===Se?this._startDateLabelId:this.endValue===Se?this._endDateLabelId:null:null}_getCellFromElement(Se){const Ve=re(Se);if(Ve){const et=Ve.getAttribute("data-mat-row"),tt=Ve.getAttribute("data-mat-col");if(et&&tt)return this.rows[parseInt(et)][parseInt(tt)]}return null}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(l.SBq),l.Y36(l.R0b))};static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[l.TTD],attrs:Me,decls:7,vars:5,consts:[["aria-hidden","true"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"]],template:function(Ve,et){1&Ve&&(l.YNc(0,J,3,6,"tr",0),l.SjG(1,n,4,1,"tr",3,l.x6l),l.TgZ(3,"label",1),l._uU(4),l.qZA(),l.TgZ(5,"label",1),l._uU(6),l.qZA()),2&Ve&&(l.um2(0,et._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return qt})();function qe(qt){return"TD"===qt?.nodeName}function re(qt){let xi;return qe(qt)?xi=qt:qe(qt.parentNode)?xi=qt.parentNode:qe(qt.parentNode?.parentNode)&&(xi=qt.parentNode.parentNode),null!=xi?.getAttribute("data-mat-row")?xi:null}function ve(qt,xi,Se){return null!==Se&&xi!==Se&&qt=xi&&qt===Se}function Ze(qt,xi,Se,Ve){return Ve&&null!==xi&&null!==Se&&xi!==Se&&qt>=xi&&qt<=Se}function We(qt){const xi=qt.changedTouches[0];return document.elementFromPoint(xi.clientX,xi.clientY)}class Ct{constructor(xi,Se){this.start=xi,this.end=Se}}let ut=(()=>{class qt{constructor(Se,Ve){this.selection=Se,this._adapter=Ve,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=Se}updateSelection(Se,Ve){const et=this.selection;this.selection=Se,this._selectionChanged.next({selection:Se,source:Ve,oldValue:et})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Se){return this._adapter.isDateInstance(Se)&&this._adapter.isValid(Se)}static#e=this.\u0275fac=function(Ve){l.$Z()};static#t=this.\u0275prov=l.Yz7({token:qt,factory:qt.\u0275fac})}return qt})(),It=(()=>{class qt extends ut{constructor(Se){super(null,Se)}add(Se){super.updateSelection(Se,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Se=new qt(this._adapter);return Se.updateSelection(this.selection,this),Se}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.LFG(P._A))};static#t=this.\u0275prov=l.Yz7({token:qt,factory:qt.\u0275fac})}return qt})();const rt={provide:ut,deps:[[new l.FiY,new l.tp0,ut],P._A],useFactory:function Be(qt,xi){return qt||new It(xi)}},lt=new l.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Ue=(()=>{class qt{get activeDate(){return this._activeDate}set activeDate(Se){const Ve=this._activeDate,et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(et,this.minDate,this.maxDate),this._hasSameMonthAndYear(Ve,this._activeDate)||this._init()}get selected(){return this._selected}set selected(Se){this._selected=Se instanceof Ct?Se:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(Se){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get maxDate(){return this._maxDate}set maxDate(Se){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}constructor(Se,Ve,et,tt,Yt){this._changeDetectorRef=Se,this._dateFormats=Ve,this._dateAdapter=et,this._dir=tt,this._rangeStrategy=Yt,this._rerenderSubscription=E.w0.EMPTY,this.activeDrag=null,this.selectedChange=new l.vpe,this._userSelection=new l.vpe,this.dragStarted=new l.vpe,this.dragEnded=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.O)(null)).subscribe(()=>this._init())}ngOnChanges(Se){const Ve=Se.comparisonStart||Se.comparisonEnd;Ve&&!Ve.firstChange&&this._setRanges(this.selected),Se.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Se){const Ve=Se.value,et=this._getDateFromDayOfMonth(Ve);let tt,Yt;this._selected instanceof Ct?(tt=this._getDateInCurrentMonth(this._selected.start),Yt=this._getDateInCurrentMonth(this._selected.end)):tt=Yt=this._getDateInCurrentMonth(this._selected),(tt!==Ve||Yt!==Ve)&&this.selectedChange.emit(et),this._userSelection.emit({value:et,event:Se.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Se){const et=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Se.value),this._dateAdapter.compareDate(et,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Se){const Ve=this._activeDate,et=this._isRtl();switch(Se.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,et?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,et?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=Se.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=Se.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Se.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(Se)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Se}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Se})),Se.preventDefault(),Se.stopPropagation()));default:return}this._dateAdapter.compareDate(Ve,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Se.preventDefault()}_handleCalendarBodyKeyup(Se){(Se.keyCode===k.L_||Se.keyCode===k.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Se}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let Se=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(Se)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Se){this._matCalendarBody._focusActiveCell(Se)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Se,value:Ve}){if(this._rangeStrategy){const et=Ve?Ve.rawValue:null,tt=this._rangeStrategy.createPreview(et,this.selected,Se);if(this._previewStart=this._getCellCompareValue(tt.start),this._previewEnd=this._getCellCompareValue(tt.end),this.activeDrag&&et){const Yt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,et,Se);Yt&&(this._previewStart=this._getCellCompareValue(Yt.start),this._previewEnd=this._getCellCompareValue(Yt.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(Se){if(this.activeDrag)if(Se.value){const Ve=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Se.value,Se.event);this.dragEnded.emit({value:Ve??null,event:Se.event})}else this.dragEnded.emit({value:null,event:Se.event})}_getDateFromDayOfMonth(Se){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Se)}_initWeekdays(){const Se=this._dateAdapter.getFirstDayOfWeek(),Ve=this._dateAdapter.getDayOfWeekNames("narrow");let tt=this._dateAdapter.getDayOfWeekNames("long").map((Yt,ri)=>({long:Yt,narrow:Ve[ri]}));this._weekdays=tt.slice(Se).concat(tt.slice(0,Se))}_createWeekCells(){const Se=this._dateAdapter.getNumDaysInMonth(this.activeDate),Ve=this._dateAdapter.getDateNames();this._weeks=[[]];for(let et=0,tt=this._firstWeekOffset;et=0)&&(!this.maxDate||this._dateAdapter.compareDate(Se,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Se))}_getDateInCurrentMonth(Se){return Se&&this._hasSameMonthAndYear(Se,this.activeDate)?this._dateAdapter.getDate(Se):null}_hasSameMonthAndYear(Se,Ve){return!(!Se||!Ve||this._dateAdapter.getMonth(Se)!=this._dateAdapter.getMonth(Ve)||this._dateAdapter.getYear(Se)!=this._dateAdapter.getYear(Ve))}_getCellCompareValue(Se){if(Se){const Ve=this._dateAdapter.getYear(Se),et=this._dateAdapter.getMonth(Se),tt=this._dateAdapter.getDate(Se);return new Date(Ve,et,tt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Se){Se instanceof Ct?(this._rangeStart=this._getCellCompareValue(Se.start),this._rangeEnd=this._getCellCompareValue(Se.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(Se),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(Se){return!this.dateFilter||this.dateFilter(Se)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(l.sBO),l.Y36(P.sG,8),l.Y36(P._A,8),l.Y36(z.Is,8),l.Y36(lt,8))};static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["mat-month-view"]],viewQuery:function(Ve,et){if(1&Ve&&l.Gf(pe,5),2&Ve){let tt;l.iGM(tt=l.CRH())&&(et._matCalendarBody=tt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[l.TTD],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(Ve,et){1&Ve&&(l.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),l.SjG(3,s,5,2,"th",4,l.x6l),l.qZA(),l.TgZ(5,"tr"),l._UZ(6,"th",2),l.qZA()(),l.TgZ(7,"tbody",3),l.NdJ("selectedValueChange",function(Yt){return et._dateSelected(Yt)})("activeDateChange",function(Yt){return et._updateActiveDate(Yt)})("previewChange",function(Yt){return et._previewChanged(Yt)})("dragStarted",function(Yt){return et.dragStarted.emit(Yt)})("dragEnded",function(Yt){return et._dragEnded(Yt)})("keyup",function(Yt){return et._handleCalendarBodyKeyup(Yt)})("keydown",function(Yt){return et._handleCalendarBodyKeydown(Yt)}),l.qZA()()),2&Ve&&(l.xp6(3),l.wJu(et._weekdays),l.xp6(4),l.Q6J("label",et._monthLabel)("rows",et._weeks)("todayValue",et._todayDate)("startValue",et._rangeStart)("endValue",et._rangeEnd)("comparisonStart",et._comparisonRangeStart)("comparisonEnd",et._comparisonRangeEnd)("previewStart",et._previewStart)("previewEnd",et._previewEnd)("isRange",et._isRange)("labelMinRequiredCells",3)("activeCell",et._dateAdapter.getDate(et.activeDate)-1)("startDateAccessibleName",et.startDateAccessibleName)("endDateAccessibleName",et.endDateAccessibleName))},dependencies:[pe],encapsulation:2,changeDetection:0})}return qt})();const Bt=24;let je=(()=>{class qt{get activeDate(){return this._activeDate}set activeDate(Se){let Ve=this._activeDate;const et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(et,this.minDate,this.maxDate),Ft(this._dateAdapter,Ve,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(Se){this._selected=Se instanceof Ct?Se:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se)),this._setSelectedYear(Se)}get minDate(){return this._minDate}set minDate(Se){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get maxDate(){return this._maxDate}set maxDate(Se){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}constructor(Se,Ve,et){this._changeDetectorRef=Se,this._dateAdapter=Ve,this._dir=et,this._rerenderSubscription=E.w0.EMPTY,this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Ve=this._dateAdapter.getYear(this._activeDate)-xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let et=0,tt=[];etthis._createCellForYear(Yt))),tt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(Se){const Ve=Se.value,et=this._dateAdapter.createDate(Ve,0,1),tt=this._getDateFromYear(Ve);this.yearSelected.emit(et),this.selectedChange.emit(tt)}_updateActiveDate(Se){const et=this._activeDate;this.activeDate=this._getDateFromYear(Se.value),this._dateAdapter.compareDate(et,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Se){const Ve=this._activeDate,et=this._isRtl();switch(Se.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,et?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,et?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Bt-xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Se.altKey?10*-Bt:-Bt);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Se.altKey?10*Bt:Bt);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ve,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Se.preventDefault()}_handleCalendarBodyKeyup(Se){(Se.keyCode===k.L_||Se.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Se}),this._selectionKeyPressed=!1)}_getActiveCell(){return xt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Se){const Ve=this._dateAdapter.getMonth(this.activeDate),et=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Se,Ve,1));return this._dateAdapter.createDate(Se,Ve,Math.min(this._dateAdapter.getDate(this.activeDate),et))}_createCellForYear(Se){const Ve=this._dateAdapter.createDate(Se,0,1),et=this._dateAdapter.getYearName(Ve),tt=this.dateClass?this.dateClass(Ve,"multi-year"):void 0;return new ye(Se,et,et,this._shouldEnableYear(Se),tt)}_shouldEnableYear(Se){if(null==Se||this.maxDate&&Se>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Se{class qt{get activeDate(){return this._activeDate}set activeDate(Se){let Ve=this._activeDate;const et=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(et,this.minDate,this.maxDate),this._dateAdapter.getYear(Ve)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(Se){this._selected=Se instanceof Ct?Se:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se)),this._setSelectedMonth(Se)}get minDate(){return this._minDate}set minDate(Se){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get maxDate(){return this._maxDate}set maxDate(Se){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}constructor(Se,Ve,et,tt){this._changeDetectorRef=Se,this._dateFormats=Ve,this._dateAdapter=et,this._dir=tt,this._rerenderSubscription=E.w0.EMPTY,this.selectedChange=new l.vpe,this.monthSelected=new l.vpe,this.activeDateChange=new l.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,j.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Se){const Ve=Se.value,et=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Ve,1);this.monthSelected.emit(et);const tt=this._getDateFromMonth(Ve);this.selectedChange.emit(tt)}_updateActiveDate(Se){const et=this._activeDate;this.activeDate=this._getDateFromMonth(Se.value),this._dateAdapter.compareDate(et,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Se){const Ve=this._activeDate,et=this._isRtl();switch(Se.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,et?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,et?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Se.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Se.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Ve,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Se.preventDefault()}_handleCalendarBodyKeyup(Se){(Se.keyCode===k.L_||Se.keyCode===k.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Se}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let Se=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Ve=>Ve.map(et=>this._createCellForMonth(et,Se[et]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Se){return Se&&this._dateAdapter.getYear(Se)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Se):null}_getDateFromMonth(Se){const Ve=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Se,1),et=this._dateAdapter.getNumDaysInMonth(Ve);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Se,Math.min(this._dateAdapter.getDate(this.activeDate),et))}_createCellForMonth(Se,Ve){const et=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Se,1),tt=this._dateAdapter.format(et,this._dateFormats.display.monthYearA11yLabel),Yt=this.dateClass?this.dateClass(et,"year"):void 0;return new ye(Se,Ve.toLocaleUpperCase(),tt,this._shouldEnableMonth(Se),Yt)}_shouldEnableMonth(Se){const Ve=this._dateAdapter.getYear(this.activeDate);if(null==Se||this._isYearAndMonthAfterMaxDate(Ve,Se)||this._isYearAndMonthBeforeMinDate(Ve,Se))return!1;if(!this.dateFilter)return!0;for(let tt=this._dateAdapter.createDate(Ve,Se,1);this._dateAdapter.getMonth(tt)==Se;tt=this._dateAdapter.addCalendarDays(tt,1))if(this.dateFilter(tt))return!0;return!1}_isYearAndMonthAfterMaxDate(Se,Ve){if(this.maxDate){const et=this._dateAdapter.getYear(this.maxDate),tt=this._dateAdapter.getMonth(this.maxDate);return Se>et||Se===et&&Ve>tt}return!1}_isYearAndMonthBeforeMinDate(Se,Ve){if(this.minDate){const et=this._dateAdapter.getYear(this.minDate),tt=this._dateAdapter.getMonth(this.minDate);return Se{class qt{constructor(Se,Ve,et,tt,Yt){this._intl=Se,this.calendar=Ve,this._dateAdapter=et,this._dateFormats=tt,this._id="mat-calendar-header-"+Ee++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Yt.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Bt)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Bt)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(Se,Ve){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Se)==this._dateAdapter.getYear(Ve)&&this._dateAdapter.getMonth(Se)==this._dateAdapter.getMonth(Ve):"year"==this.calendar.currentView?this._dateAdapter.getYear(Se)==this._dateAdapter.getYear(Ve):Ft(this._dateAdapter,Se,Ve,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const Ve=this._dateAdapter.getYear(this.calendar.activeDate)-xt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),et=Ve+Bt-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(Ve,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(et,0,1))]}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(Je),l.Y36((0,l.Gpc)(()=>Ge)),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:f,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(Ve,et){1&Ve&&(l.F$t(),l.TgZ(0,"div",0)(1,"div",1)(2,"button",2),l.NdJ("click",function(){return et.currentPeriodClicked()}),l.TgZ(3,"span",3),l._uU(4),l.qZA(),l.O4$(),l.TgZ(5,"svg",4),l._UZ(6,"polygon",5),l.qZA()(),l.kcU(),l._UZ(7,"div",6),l.Hsn(8),l.TgZ(9,"button",7),l.NdJ("click",function(){return et.previousClicked()}),l.qZA(),l.TgZ(10,"button",8),l.NdJ("click",function(){return et.nextClicked()}),l.qZA()()(),l.TgZ(11,"label",9),l._uU(12),l.qZA()),2&Ve&&(l.xp6(2),l.uIk("aria-label",et.periodButtonLabel)("aria-describedby",et._periodButtonLabelId),l.xp6(2),l.Oqu(et.periodButtonText),l.xp6(1),l.ekj("mat-calendar-invert","month"!==et.calendar.currentView),l.xp6(4),l.Q6J("disabled",!et.previousEnabled()),l.uIk("aria-label",et.prevButtonLabel),l.xp6(1),l.Q6J("disabled",!et.nextEnabled()),l.uIk("aria-label",et.nextButtonLabel),l.xp6(1),l.Q6J("id",et._periodButtonLabelId),l.xp6(1),l.Oqu(et.periodButtonDescription))},dependencies:[w.lW,w.RK],encapsulation:2,changeDetection:0})}return qt})(),Ge=(()=>{class qt{get startAt(){return this._startAt}set startAt(Se){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get selected(){return this._selected}set selected(Se){this._selected=Se instanceof Ct?Se:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get minDate(){return this._minDate}set minDate(Se){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get maxDate(){return this._maxDate}set maxDate(Se){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get activeDate(){return this._clampedActiveDate}set activeDate(Se){this._clampedActiveDate=this._dateAdapter.clampDate(Se,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(Se){const Ve=this._currentView!==Se?Se:null;this._currentView=Se,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Ve&&this.viewChanged.emit(Ve)}constructor(Se,Ve,et,tt){this._dateAdapter=Ve,this._dateFormats=et,this._changeDetectorRef=tt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new l.vpe,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this._userSelection=new l.vpe,this._userDragDrop=new l.vpe,this._activeDrag=null,this.stateChanges=new d.x,this._intlChanges=Se.changes.subscribe(()=>{tt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new y.C5(this.headerComponent||nt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(Se){const Ve=Se.minDate&&!this._dateAdapter.sameDate(Se.minDate.previousValue,Se.minDate.currentValue)?Se.minDate:void 0,et=Se.maxDate&&!this._dateAdapter.sameDate(Se.maxDate.previousValue,Se.maxDate.currentValue)?Se.maxDate:void 0,tt=Ve||et||Se.dateFilter;if(tt&&!tt.firstChange){const Yt=this._getCurrentViewComponent();Yt&&(this._changeDetectorRef.detectChanges(),Yt._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Se){const Ve=Se.value;(this.selected instanceof Ct||Ve&&!this._dateAdapter.sameDate(Ve,this.selected))&&this.selectedChange.emit(Ve),this._userSelection.emit(Se)}_yearSelectedInMultiYearView(Se){this.yearSelected.emit(Se)}_monthSelectedInYearView(Se){this.monthSelected.emit(Se)}_goToDateInView(Se,Ve){this.activeDate=Se,this.currentView=Ve}_dragStarted(Se){this._activeDrag=Se}_dragEnded(Se){this._activeDrag&&(Se.value&&this._userDragDrop.emit(Se),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(Je),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(l.sBO))};static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["mat-calendar"]],viewQuery:function(Ve,et){if(1&Ve&&(l.Gf(Ue,5),l.Gf(at,5),l.Gf(je,5)),2&Ve){let tt;l.iGM(tt=l.CRH())&&(et.monthView=tt.first),l.iGM(tt=l.CRH())&&(et.yearView=tt.first),l.iGM(tt=l.CRH())&&(et.multiYearView=tt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[l._Bn([rt]),l.TTD],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(Ve,et){if(1&Ve&&(l.YNc(0,h,0,0,"ng-template",0),l.TgZ(1,"div",1),l.YNc(2,C,1,11)(3,D,1,6)(4,O,1,6),l.qZA()),2&Ve){let tt;l.Q6J("cdkPortalOutlet",et._calendarHeaderPortal),l.xp6(2),l.um2(2,"month"===(tt=et.currentView)?2:"year"===tt?3:"multi-year"===tt?4:-1)}},dependencies:[e.kH,y.Pl,Ue,at,je],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return qt})();const Xe={transformPanel:(0,ie.X$)("transformPanel",[(0,ie.eR)("void => enter-dropdown",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ie.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ie.eR)("void => enter-dialog",(0,ie.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(0.7)"}),(0,ie.oB)({transform:"none",opacity:1})]))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))]),fadeInCalendar:(0,ie.X$)("fadeInCalendar",[(0,ie.SB)("void",(0,ie.oB)({opacity:0})),(0,ie.SB)("enter",(0,ie.oB)({opacity:1})),(0,ie.eR)("void => *",(0,ie.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let gt=0;const Le=new l.OlP("mat-datepicker-scroll-strategy"),$={provide:Le,deps:[t.aV],useFactory:function be(qt){return()=>qt.scrollStrategies.reposition()}},ne=(0,P.pj)(class{constructor(qt){this._elementRef=qt}});let ke=(()=>{class qt extends ne{constructor(Se,Ve,et,tt,Yt,ri){super(Se),this._changeDetectorRef=Ve,this._globalModel=et,this._dateAdapter=tt,this._rangeSelectionStrategy=Yt,this._subscriptions=new E.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=ri.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Se){const Ve=this._model.selection,et=Se.value,tt=Ve instanceof Ct;if(tt&&this._rangeSelectionStrategy){const Yt=this._rangeSelectionStrategy.selectionFinished(et,Ve,Se.event);this._model.updateSelection(Yt,this)}else et&&(tt||!this._dateAdapter.sameDate(et,Ve))&&this._model.add(et);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Se){this._model.updateSelection(Se.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(Se){this._isAnimating="start"===Se.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Se,Ve){this._model=Se?this._globalModel.clone():this._globalModel,this._actionsPortal=Se,Ve&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(l.SBq),l.Y36(l.sBO),l.Y36(ut),l.Y36(P._A),l.Y36(lt,8),l.Y36(Je))};static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["mat-datepicker-content"]],viewQuery:function(Ve,et){if(1&Ve&&l.Gf(Ge,5),2&Ve){let tt;l.iGM(tt=l.CRH())&&(et._calendar=tt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(Ve,et){1&Ve&&l.WFA("@transformPanel.start",function(Yt){return et._handleAnimationEvent(Yt)})("@transformPanel.done",function(Yt){return et._handleAnimationEvent(Yt)}),2&Ve&&(l.d8E("@transformPanel",et._animationState),l.ekj("mat-datepicker-content-touch",et.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[l.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(Ve,et){if(1&Ve&&(l.TgZ(0,"div",0)(1,"mat-calendar",1),l.NdJ("yearSelected",function(Yt){return et.datepicker._selectYear(Yt)})("monthSelected",function(Yt){return et.datepicker._selectMonth(Yt)})("viewChanged",function(Yt){return et.datepicker._viewChanged(Yt)})("_userSelection",function(Yt){return et._handleUserSelection(Yt)})("_userDragDrop",function(Yt){return et._handleUserDragDrop(Yt)}),l.qZA(),l.YNc(2,v,0,0,"ng-template",2),l.TgZ(3,"button",3),l.NdJ("focus",function(){return et._closeButtonFocused=!0})("blur",function(){return et._closeButtonFocused=!1})("click",function(){return et.datepicker.close()}),l._uU(4),l.qZA()()),2&Ve){let tt;l.ekj("mat-datepicker-content-container-with-custom-header",et.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",et._actionsPortal),l.uIk("aria-modal",!0)("aria-labelledby",null!==(tt=et._dialogLabelId)&&void 0!==tt?tt:void 0),l.xp6(1),l.Q6J("id",et.datepicker.id)("ngClass",et.datepicker.panelClass)("startAt",et.datepicker.startAt)("startView",et.datepicker.startView)("minDate",et.datepicker._getMinDate())("maxDate",et.datepicker._getMaxDate())("dateFilter",et.datepicker._getDateFilter())("headerComponent",et.datepicker.calendarHeaderComponent)("selected",et._getSelected())("dateClass",et.datepicker.dateClass)("comparisonStart",et.comparisonStart)("comparisonEnd",et.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",et.startDateAccessibleName)("endDateAccessibleName",et.endDateAccessibleName),l.xp6(1),l.Q6J("cdkPortalOutlet",et._actionsPortal),l.xp6(1),l.ekj("cdk-visually-hidden",!et._closeButtonFocused),l.Q6J("color",et.color||"primary"),l.xp6(1),l.Oqu(et._closeButtonText)}},dependencies:[A.mk,w.lW,e.mK,y.Pl,Ge],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Xe.transformPanel,Xe.fadeInCalendar]},changeDetection:0})}return qt})(),Nt=(()=>{class qt{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Se){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Se){this._color=Se}get touchUi(){return this._touchUi}set touchUi(Se){this._touchUi=(0,X.Ig)(Se)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Se){const Ve=(0,X.Ig)(Se);Ve!==this._disabled&&(this._disabled=Ve,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(Se){this._restoreFocus=(0,X.Ig)(Se)}get panelClass(){return this._panelClass}set panelClass(Se){this._panelClass=(0,X.du)(Se)}get opened(){return this._opened}set opened(Se){(0,X.Ig)(Se)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(Se,Ve,et,tt,Yt,ri,fn){this._overlay=Se,this._ngZone=Ve,this._viewContainerRef=et,this._dateAdapter=Yt,this._dir=ri,this._model=fn,this._inputStateChanges=E.w0.EMPTY,this._document=(0,l.f3M)(A.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new l.vpe,this.monthSelected=new l.vpe,this.viewChanged=new l.vpe(!0),this.openedStream=new l.vpe,this.closedStream=new l.vpe,this._opened=!1,this.id="mat-datepicker-"+gt++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=tt}ngOnChanges(Se){const Ve=Se.xPosition||Se.yPosition;if(Ve&&!Ve.firstChange&&this._overlayRef){const et=this._overlayRef.getConfig().positionStrategy;et instanceof t._G&&(this._setConnectedPositions(et),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Se){this._model.add(Se)}_selectYear(Se){this.yearSelected.emit(Se)}_selectMonth(Se){this.monthSelected.emit(Se)}_viewChanged(Se){this.viewChanged.emit(Se)}registerInput(Se){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Se,this._inputStateChanges=Se.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Se){this._actionsPortal=Se,this._componentRef?.instance._assignActions(Se,!0)}removeActions(Se){Se===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,B.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Se=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,Ve=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:et,location:tt}=this._componentRef;et._startExitAnimation(),et._animationDone.pipe((0,W.q)(1)).subscribe(()=>{const Yt=this._document.activeElement;Se&&(!Yt||Yt===this._document.activeElement||tt.nativeElement.contains(Yt))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}Se?setTimeout(Ve):Ve()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Se){Se.datepicker=this,Se.color=this.color,Se._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Se._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Se=this.touchUi,Ve=new y.C5(ke,this._viewContainerRef),et=this._overlayRef=this._overlay.create(new t.X_({positionStrategy:Se?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Se?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:Se?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(Se?"dialog":"popup")}));this._getCloseStream(et).subscribe(tt=>{tt&&tt.preventDefault(),this.close()}),et.keydownEvents().subscribe(tt=>{const Yt=tt.keyCode;(Yt===k.LH||Yt===k.JH||Yt===k.oh||Yt===k.SV||Yt===k.Ku||Yt===k.VM)&&tt.preventDefault()}),this._componentRef=et.attach(Ve),this._forwardContentValues(this._componentRef.instance),Se||this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>et.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const Se=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Se)}_setConnectedPositions(Se){const Ve="end"===this.xPosition?"end":"start",et="start"===Ve?"end":"start",tt="above"===this.yPosition?"bottom":"top",Yt="top"===tt?"bottom":"top";return Se.withPositions([{originX:Ve,originY:Yt,overlayX:Ve,overlayY:tt},{originX:Ve,originY:tt,overlayX:Ve,overlayY:Yt},{originX:et,originY:Yt,overlayX:et,overlayY:tt},{originX:et,originY:tt,overlayX:et,overlayY:Yt}])}_getCloseStream(Se){const Ve=["ctrlKey","shiftKey","metaKey"];return(0,M.T)(Se.backdropClick(),Se.detachments(),Se.keydownEvents().pipe((0,K.h)(et=>et.keyCode===k.hY&&!(0,k.Vb)(et)||this.datepickerInput&&(0,k.Vb)(et,"altKey")&&et.keyCode===k.LH&&Ve.every(tt=>!(0,k.Vb)(et,tt)))))}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(t.aV),l.Y36(l.R0b),l.Y36(l.s_b),l.Y36(Le),l.Y36(P._A,8),l.Y36(z.Is,8),l.Y36(ut))};static#t=this.\u0275dir=l.lG2({type:qt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[l.TTD]})}return qt})(),At=(()=>{class qt extends Nt{static#e=this.\u0275fac=(()=>{let Se;return function(et){return(Se||(Se=l.n5z(qt)))(et||qt)}})();static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[l._Bn([rt,{provide:Nt,useExisting:qt}]),l.qOj],decls:0,vars:0,template:function(Ve,et){},encapsulation:2,changeDetection:0})}return qt})();class Wt{constructor(xi,Se){this.target=xi,this.targetElement=Se,this.value=this.target.value}}let gi=(()=>{class qt{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Se){this._assignValueProgrammatically(Se)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Se){const Ve=(0,X.Ig)(Se),et=this._elementRef.nativeElement;this._disabled!==Ve&&(this._disabled=Ve,this.stateChanges.next(void 0)),Ve&&this._isInitialized&&et.blur&&et.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Se){this._model=Se,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Ve=>{if(this._shouldHandleChangeEvent(Ve)){const et=this._getValueFromModel(Ve.selection);this._lastValueValid=this._isValidValue(et),this._cvaOnChange(et),this._onTouched(),this._formatValue(et),this.dateInput.emit(new Wt(this,this._elementRef.nativeElement)),this.dateChange.emit(new Wt(this,this._elementRef.nativeElement))}})}constructor(Se,Ve,et){this._elementRef=Se,this._dateAdapter=Ve,this._dateFormats=et,this.dateChange=new l.vpe,this.dateInput=new l.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=E.w0.EMPTY,this._localeSubscription=E.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=tt=>{const Yt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tt.value));return!Yt||this._matchesFilter(Yt)?null:{matDatepickerFilter:!0}},this._minValidator=tt=>{const Yt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tt.value)),ri=this._getMinDate();return!ri||!Yt||this._dateAdapter.compareDate(ri,Yt)<=0?null:{matDatepickerMin:{min:ri,actual:Yt}}},this._maxValidator=tt=>{const Yt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(tt.value)),ri=this._getMaxDate();return!ri||!Yt||this._dateAdapter.compareDate(ri,Yt)>=0?null:{matDatepickerMax:{max:ri,actual:Yt}}},this._lastValueValid=!1,this._localeSubscription=Ve.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Se){(function ei(qt,xi){const Se=Object.keys(qt);for(let Ve of Se){const{previousValue:et,currentValue:tt}=qt[Ve];if(!xi.isDateInstance(et)||!xi.isDateInstance(tt))return!0;if(!xi.sameDate(et,tt))return!0}return!1})(Se,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Se){this._validatorOnChange=Se}validate(Se){return this._validator?this._validator(Se):null}writeValue(Se){this._assignValueProgrammatically(Se)}registerOnChange(Se){this._cvaOnChange=Se}registerOnTouched(Se){this._onTouched=Se}setDisabledState(Se){this.disabled=Se}_onKeydown(Se){(0,k.Vb)(Se,"altKey")&&Se.keyCode===k.JH&&["ctrlKey","shiftKey","metaKey"].every(tt=>!(0,k.Vb)(Se,tt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Se.preventDefault())}_onInput(Se){const Ve=this._lastValueValid;let et=this._dateAdapter.parse(Se,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(et),et=this._dateAdapter.getValidDateOrNull(et);const tt=!this._dateAdapter.sameDate(et,this.value);!et||tt?this._cvaOnChange(et):(Se&&!this.value&&this._cvaOnChange(et),Ve!==this._lastValueValid&&this._validatorOnChange()),tt&&(this._assignValue(et),this.dateInput.emit(new Wt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Wt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Se){this._elementRef.nativeElement.value=null!=Se?this._dateAdapter.format(Se,this._dateFormats.display.dateInput):""}_assignValue(Se){this._model?(this._assignValueToModel(Se),this._pendingValue=null):this._pendingValue=Se}_isValidValue(Se){return!Se||this._dateAdapter.isValid(Se)}_parentDisabled(){return!1}_assignValueProgrammatically(Se){Se=this._dateAdapter.deserialize(Se),this._lastValueValid=this._isValidValue(Se),Se=this._dateAdapter.getValidDateOrNull(Se),this._assignValue(Se),this._formatValue(Se)}_matchesFilter(Se){const Ve=this._getDateFilter();return!Ve||Ve(Se)}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8))};static#t=this.\u0275dir=l.lG2({type:qt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[l.TTD]})}return qt})();const $t={provide:se.JU,useExisting:(0,l.Gpc)(()=>li),multi:!0},Fi={provide:se.Cf,useExisting:(0,l.Gpc)(()=>li),multi:!0};let li=(()=>{class qt extends gi{set matDatepicker(Se){Se&&(this._datepicker=Se,this._closedSubscription=Se.closedStream.subscribe(()=>this._onTouched()),this._registerModel(Se.registerInput(this)))}get min(){return this._min}set min(Se){const Ve=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se));this._dateAdapter.sameDate(Ve,this._min)||(this._min=Ve,this._validatorOnChange())}get max(){return this._max}set max(Se){const Ve=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Se));this._dateAdapter.sameDate(Ve,this._max)||(this._max=Ve,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(Se){const Ve=this._matchesFilter(this.value);this._dateFilter=Se,this._matchesFilter(this.value)!==Ve&&this._validatorOnChange()}constructor(Se,Ve,et,tt){super(Se,Ve,et),this._formField=tt,this._closedSubscription=E.w0.EMPTY,this._validator=se.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Se){return Se}_assignValueToModel(Se){this._model&&this._model.updateSelection(Se,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Se){return Se.source!==this}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(l.SBq),l.Y36(P._A,8),l.Y36(P.sG,8),l.Y36(ue.G_,8))};static#t=this.\u0275dir=l.lG2({type:qt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(Ve,et){1&Ve&&l.NdJ("input",function(Yt){return et._onInput(Yt.target.value)})("change",function(){return et._onChange()})("blur",function(){return et._onBlur()})("keydown",function(Yt){return et._onKeydown(Yt)}),2&Ve&&(l.Ikx("disabled",et.disabled),l.uIk("aria-haspopup",et._datepicker?"dialog":null)("aria-owns",(null==et._datepicker?null:et._datepicker.opened)&&et._datepicker.id||null)("min",et.min?et._dateAdapter.toIso8601(et.min):null)("max",et.max?et._dateAdapter.toIso8601(et.max):null)("data-mat-calendar",et._datepicker?et._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[l._Bn([$t,Fi,{provide:ae.Jk,useExisting:qt}]),l.qOj]})}return qt})(),ui=(()=>{class qt{static#e=this.\u0275fac=function(Ve){return new(Ve||qt)};static#t=this.\u0275dir=l.lG2({type:qt,selectors:[["","matDatepickerToggleIcon",""]]})}return qt})(),un=(()=>{class qt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Se){this._disabled=(0,X.Ig)(Se)}constructor(Se,Ve,et){this._intl=Se,this._changeDetectorRef=Ve,this._stateChanges=E.w0.EMPTY;const tt=Number(et);this.tabIndex=tt||0===tt?tt:null}ngOnChanges(Se){Se.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Se){this.datepicker&&!this.disabled&&(this.datepicker.open(),Se.stopPropagation())}_watchStateChanges(){const Se=this.datepicker?this.datepicker.stateChanges:(0,I.of)(),Ve=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,I.of)(),et=this.datepicker?(0,M.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,I.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,M.T)(this._intl.changes,Se,Ve,et).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(Ve){return new(Ve||qt)(l.Y36(Je),l.Y36(l.sBO),l.$8M("tabindex"))};static#t=this.\u0275cmp=l.Xpm({type:qt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(Ve,et,tt){if(1&Ve&&l.Suo(tt,ui,5),2&Ve){let Yt;l.iGM(Yt=l.CRH())&&(et._customIcon=Yt.first)}},viewQuery:function(Ve,et){if(1&Ve&&l.Gf(r,5),2&Ve){let tt;l.iGM(tt=l.CRH())&&(et._button=tt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(Ve,et){1&Ve&&l.NdJ("click",function(Yt){return et._open(Yt)}),2&Ve&&(l.uIk("tabindex",null)("data-mat-calendar",et.datepicker?et.datepicker.id:null),l.ekj("mat-datepicker-toggle-active",et.datepicker&&et.datepicker.opened)("mat-accent",et.datepicker&&"accent"===et.datepicker.color)("mat-warn",et.datepicker&&"warn"===et.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[l.TTD],ngContentSelectors:R,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(Ve,et){1&Ve&&(l.F$t(H),l.TgZ(0,"button",0,1),l.YNc(2,g,2,0,":svg:svg",2),l.Hsn(3),l.qZA()),2&Ve&&(l.Q6J("disabled",et.disabled)("disableRipple",et.disableRipple),l.uIk("aria-haspopup",et.datepicker?"dialog":null)("aria-label",et.ariaLabel||et._intl.openCalendarLabel)("tabindex",et.disabled?-1:et.tabIndex),l.xp6(2),l.um2(2,et._customIcon?-1:2))},dependencies:[w.RK],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return qt})(),Bi=(()=>{class qt{static#e=this.\u0275fac=function(Ve){return new(Ve||qt)};static#t=this.\u0275mod=l.oAB({type:qt});static#i=this.\u0275inj=l.cJS({providers:[Je,$],imports:[A.ez,w.ot,t.U8,e.rt,y.eL,P.BQ,m.ZD]})}return qt})()},7700:(Fe,q,p)=>{"use strict";p.d(q,{WI:()=>ye,Bq:()=>fe,uw:()=>qe,ZT:()=>ve,Is:()=>It,so:()=>Ke});var e=p(3651),t=p(6814),y=p(9212),A=p(4300),l=p(2831),w=p(8484),m=p(6028),P=p(8645),d=p(4911),E=p(2096),M=p(9388),I=p(7921);function k(rt,$e){}class z{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let W=(()=>{class rt extends w.en{constructor(Ie,lt,Qe,St,dt,te,Ue,Bt){super(),this._elementRef=Ie,this._focusTrapFactory=lt,this._config=St,this._interactivityChecker=dt,this._ngZone=te,this._overlayRef=Ue,this._focusMonitor=Bt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=Ye=>{this._portalOutlet.hasAttached();const je=this._portalOutlet.attachDomPortal(Ye);return this._contentAttached(),je},this._document=Qe,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(Ie){this._portalOutlet.hasAttached();const lt=this._portalOutlet.attachComponentPortal(Ie);return this._contentAttached(),lt}attachTemplatePortal(Ie){this._portalOutlet.hasAttached();const lt=this._portalOutlet.attachTemplatePortal(Ie);return this._contentAttached(),lt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Ie,lt){this._interactivityChecker.isFocusable(Ie)||(Ie.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Qe=()=>{Ie.removeEventListener("blur",Qe),Ie.removeEventListener("mousedown",Qe),Ie.removeAttribute("tabindex")};Ie.addEventListener("blur",Qe),Ie.addEventListener("mousedown",Qe)})),Ie.focus(lt)}_focusByCssSelector(Ie,lt){let Qe=this._elementRef.nativeElement.querySelector(Ie);Qe&&this._forceFocus(Qe,lt)}_trapFocus(){const Ie=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||Ie.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(lt=>{lt||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const Ie=this._config.restoreFocus;let lt=null;if("string"==typeof Ie?lt=this._document.querySelector(Ie):"boolean"==typeof Ie?lt=Ie?this._elementFocusedBeforeDialogWasOpened:null:Ie&&(lt=Ie),this._config.restoreFocus&<&&"function"==typeof lt.focus){const Qe=(0,l.ht)(),St=this._elementRef.nativeElement;(!Qe||Qe===this._document.body||Qe===St||St.contains(Qe))&&(this._focusMonitor?(this._focusMonitor.focusVia(lt,this._closeInteractionType),this._closeInteractionType=null):lt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const Ie=this._elementRef.nativeElement,lt=(0,l.ht)();return Ie===lt||Ie.contains(lt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,l.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(lt){return new(lt||rt)(y.Y36(y.SBq),y.Y36(A.qV),y.Y36(t.K0,8),y.Y36(z),y.Y36(A.ic),y.Y36(y.R0b),y.Y36(e.Iu),y.Y36(A.tE))};static#t=this.\u0275cmp=y.Xpm({type:rt,selectors:[["cdk-dialog-container"]],viewQuery:function(lt,Qe){if(1<&&y.Gf(w.Pl,7),2<){let St;y.iGM(St=y.CRH())&&(Qe._portalOutlet=St.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(lt,Qe){2<&&y.uIk("id",Qe._config.id||null)("role",Qe._config.role)("aria-modal",Qe._config.ariaModal)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledByQueue[0])("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null)},standalone:!0,features:[y.qOj,y.jDz],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(lt,Qe){1<&&y.YNc(0,k,0,0,"ng-template",0)},dependencies:[w.eL,w.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return rt})();class j{constructor($e,Ie){this.overlayRef=$e,this.config=Ie,this.closed=new P.x,this.disableClose=Ie.disableClose,this.backdropClick=$e.backdropClick(),this.keydownEvents=$e.keydownEvents(),this.outsidePointerEvents=$e.outsidePointerEvents(),this.id=Ie.id,this.keydownEvents.subscribe(lt=>{lt.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(lt)&&(lt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=$e.detachments().subscribe(()=>{!1!==Ie.closeOnOverlayDetachments&&this.close()})}close($e,Ie){if(this.containerInstance){const lt=this.closed;this.containerInstance._closeInteractionType=Ie?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),lt.next($e),lt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize($e="",Ie=""){return this.overlayRef.updateSize({width:$e,height:Ie}),this}addPanelClass($e){return this.overlayRef.addPanelClass($e),this}removePanelClass($e){return this.overlayRef.removePanelClass($e),this}}const K=new y.OlP("DialogScrollStrategy",{providedIn:"root",factory:()=>{const rt=(0,y.f3M)(e.aV);return()=>rt.scrollStrategies.block()}}),X=new y.OlP("DialogData"),ie=new y.OlP("DefaultDialogConfig");let ae=0,Me=(()=>{class rt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(Ie,lt,Qe,St,dt,te){this._overlay=Ie,this._injector=lt,this._defaultOptions=Qe,this._parentDialog=St,this._overlayContainer=dt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=te}open(Ie,lt){(lt={...this._defaultOptions||new z,...lt}).id=lt.id||"cdk-dialog-"+ae++,lt.id&&this.getDialogById(lt.id);const St=this._getOverlayConfig(lt),dt=this._overlay.create(St),te=new j(dt,lt),Ue=this._attachContainer(dt,te,lt);return te.containerInstance=Ue,this._attachDialogContent(Ie,te,Ue,lt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(te),te.closed.subscribe(()=>this._removeOpenDialog(te,!0)),this.afterOpened.next(te),te}closeAll(){J(this.openDialogs,Ie=>Ie.close())}getDialogById(Ie){return this.openDialogs.find(lt=>lt.id===Ie)}ngOnDestroy(){J(this._openDialogsAtThisLevel,Ie=>{!1===Ie.config.closeOnDestroy&&this._removeOpenDialog(Ie,!1)}),J(this._openDialogsAtThisLevel,Ie=>Ie.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Ie){const lt=new e.X_({positionStrategy:Ie.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:Ie.scrollStrategy||this._scrollStrategy(),panelClass:Ie.panelClass,hasBackdrop:Ie.hasBackdrop,direction:Ie.direction,minWidth:Ie.minWidth,minHeight:Ie.minHeight,maxWidth:Ie.maxWidth,maxHeight:Ie.maxHeight,width:Ie.width,height:Ie.height,disposeOnNavigation:Ie.closeOnNavigation});return Ie.backdropClass&&(lt.backdropClass=Ie.backdropClass),lt}_attachContainer(Ie,lt,Qe){const St=Qe.injector||Qe.viewContainerRef?.injector,dt=[{provide:z,useValue:Qe},{provide:j,useValue:lt},{provide:e.Iu,useValue:Ie}];let te;Qe.container?"function"==typeof Qe.container?te=Qe.container:(te=Qe.container.type,dt.push(...Qe.container.providers(Qe))):te=W;const Ue=new w.C5(te,Qe.viewContainerRef,y.zs3.create({parent:St||this._injector,providers:dt}),Qe.componentFactoryResolver);return Ie.attach(Ue).instance}_attachDialogContent(Ie,lt,Qe,St){if(Ie instanceof y.Rgc){const dt=this._createInjector(St,lt,Qe,void 0);let te={$implicit:St.data,dialogRef:lt};St.templateContext&&(te={...te,..."function"==typeof St.templateContext?St.templateContext():St.templateContext}),Qe.attachTemplatePortal(new w.UE(Ie,null,te,dt))}else{const dt=this._createInjector(St,lt,Qe,this._injector),te=Qe.attachComponentPortal(new w.C5(Ie,St.viewContainerRef,dt,St.componentFactoryResolver));lt.componentRef=te,lt.componentInstance=te.instance}}_createInjector(Ie,lt,Qe,St){const dt=Ie.injector||Ie.viewContainerRef?.injector,te=[{provide:X,useValue:Ie.data},{provide:j,useValue:lt}];return Ie.providers&&("function"==typeof Ie.providers?te.push(...Ie.providers(lt,Ie,Qe)):te.push(...Ie.providers)),Ie.direction&&(!dt||!dt.get(M.Is,null,{optional:!0}))&&te.push({provide:M.Is,useValue:{value:Ie.direction,change:(0,E.of)()}}),y.zs3.create({parent:dt||St,providers:te})}_removeOpenDialog(Ie,lt){const Qe=this.openDialogs.indexOf(Ie);Qe>-1&&(this.openDialogs.splice(Qe,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((St,dt)=>{St?dt.setAttribute("aria-hidden",St):dt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),lt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const Ie=this._overlayContainer.getContainerElement();if(Ie.parentElement){const lt=Ie.parentElement.children;for(let Qe=lt.length-1;Qe>-1;Qe--){const St=lt[Qe];St!==Ie&&"SCRIPT"!==St.nodeName&&"STYLE"!==St.nodeName&&!St.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(St,St.getAttribute("aria-hidden")),St.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Ie=this._parentDialog;return Ie?Ie._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(lt){return new(lt||rt)(y.LFG(e.aV),y.LFG(y.zs3),y.LFG(ie,8),y.LFG(rt,12),y.LFG(e.Xj),y.LFG(K))};static#t=this.\u0275prov=y.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})();function J(rt,$e){let Ie=rt.length;for(;Ie--;)$e(rt[Ie])}let he=(()=>{class rt{static#e=this.\u0275fac=function(lt){return new(lt||rt)};static#t=this.\u0275mod=y.oAB({type:rt});static#i=this.\u0275inj=y.cJS({providers:[Me],imports:[e.U8,w.eL,A.rt,W,w.eL]})}return rt})();var S=p(2495),n=p(3019),s=p(2181),f=p(8180),h=p(3680);function D(rt,$e){}p(6825);class O{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const v="mdc-dialog--open",r="mdc-dialog--opening",g="mdc-dialog--closing";let ee=(()=>{class rt extends W{constructor(Ie,lt,Qe,St,dt,te,Ue,Bt,Ye){super(Ie,lt,Qe,St,dt,te,Ue,Ye),this._animationMode=Bt,this._animationStateChanged=new y.vpe,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ct(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ct(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(r,v)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(v),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(v),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(g)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(r,g)}_waitForAnimationToComplete(Ie,lt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(lt,Ie)}_requestAnimationFrame(Ie){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Ie):Ie()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Ie){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Ie})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Ie){const lt=super.attachComponentPortal(Ie);return lt.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),lt}static#e=this.\u0275fac=function(lt){return new(lt||rt)(y.Y36(y.SBq),y.Y36(A.qV),y.Y36(t.K0,8),y.Y36(O),y.Y36(A.ic),y.Y36(y.R0b),y.Y36(e.Iu),y.Y36(y.QbO,8),y.Y36(A.tE))};static#t=this.\u0275cmp=y.Xpm({type:rt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(lt,Qe){2<&&(y.Ikx("id",Qe._config.id),y.uIk("aria-modal",Qe._config.ariaModal)("role",Qe._config.role)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledByQueue[0])("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null),y.ekj("_mat-animation-noopable",!Qe._animationsEnabled))},standalone:!0,features:[y.qOj,y.jDz],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(lt,Qe){1<&&(y.TgZ(0,"div",0)(1,"div",1),y.YNc(2,D,0,0,"ng-template",2),y.qZA()())},dependencies:[w.eL,w.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return rt})();const De="--mat-dialog-transition-duration";function ct(rt){return null==rt?null:"number"==typeof rt?rt:rt.endsWith("ms")?(0,S.su)(rt.substring(0,rt.length-2)):rt.endsWith("s")?1e3*(0,S.su)(rt.substring(0,rt.length-1)):"0"===rt?0:null}class Ke{constructor($e,Ie,lt){this._ref=$e,this._containerInstance=lt,this._afterOpened=new P.x,this._beforeClosed=new P.x,this._state=0,this.disableClose=Ie.disableClose,this.id=$e.id,lt._animationStateChanged.pipe((0,s.h)(Qe=>"opened"===Qe.state),(0,f.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),lt._animationStateChanged.pipe((0,s.h)(Qe=>"closed"===Qe.state),(0,f.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),$e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,n.T)(this.backdropClick(),this.keydownEvents().pipe((0,s.h)(Qe=>Qe.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(Qe)))).subscribe(Qe=>{this.disableClose||(Qe.preventDefault(),Je(this,"keydown"===Qe.type?"keyboard":"mouse"))})}close($e){this._result=$e,this._containerInstance._animationStateChanged.pipe((0,s.h)(Ie=>"closing"===Ie.state),(0,f.q)(1)).subscribe(Ie=>{this._beforeClosed.next($e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),Ie.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition($e){let Ie=this._ref.config.positionStrategy;return $e&&($e.left||$e.right)?$e.left?Ie.left($e.left):Ie.right($e.right):Ie.centerHorizontally(),$e&&($e.top||$e.bottom)?$e.top?Ie.top($e.top):Ie.bottom($e.bottom):Ie.centerVertically(),this._ref.updatePosition(),this}updateSize($e="",Ie=""){return this._ref.updateSize($e,Ie),this}addPanelClass($e){return this._ref.addPanelClass($e),this}removePanelClass($e){return this._ref.removePanelClass($e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Je(rt,$e,Ie){return rt._closeInteractionType=$e,rt.close(Ie)}const ye=new y.OlP("MatMdcDialogData"),fe=new y.OlP("mat-mdc-dialog-default-options"),de=new y.OlP("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const rt=(0,y.f3M)(e.aV);return()=>rt.scrollStrategies.block()}});let pe=0,qe=(()=>{class rt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Ie=this._parentDialog;return Ie?Ie._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(Ie,lt,Qe,St,dt,te,Ue,Bt){this._overlay=Ie,this._defaultOptions=St,this._scrollStrategy=dt,this._parentDialog=te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this.dialogConfigClass=O,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._dialog=lt.get(Me),this._dialogRefConstructor=Ke,this._dialogContainerType=ee,this._dialogDataToken=ye}open(Ie,lt){let Qe;(lt={...this._defaultOptions||new O,...lt}).id=lt.id||"mat-mdc-dialog-"+pe++,lt.scrollStrategy=lt.scrollStrategy||this._scrollStrategy();const St=this._dialog.open(Ie,{...lt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:lt},{provide:z,useValue:lt}]},templateContext:()=>({dialogRef:Qe}),providers:(dt,te,Ue)=>(Qe=new this._dialogRefConstructor(dt,lt,Ue),Qe.updatePosition(lt?.position),[{provide:this._dialogContainerType,useValue:Ue},{provide:this._dialogDataToken,useValue:te.data},{provide:this._dialogRefConstructor,useValue:Qe}])});return Qe.componentRef=St.componentRef,Qe.componentInstance=St.componentInstance,this.openDialogs.push(Qe),this.afterOpened.next(Qe),Qe.afterClosed().subscribe(()=>{const dt=this.openDialogs.indexOf(Qe);dt>-1&&(this.openDialogs.splice(dt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Qe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Ie){return this.openDialogs.find(lt=>lt.id===Ie)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Ie){let lt=Ie.length;for(;lt--;)Ie[lt].close()}static#e=this.\u0275fac=function(lt){return new(lt||rt)(y.LFG(e.aV),y.LFG(y.zs3),y.LFG(t.Ye,8),y.LFG(fe,8),y.LFG(de),y.LFG(rt,12),y.LFG(e.Xj),y.LFG(y.QbO,8))};static#t=this.\u0275prov=y.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"})}return rt})(),ve=(()=>{class rt{constructor(Ie,lt,Qe){this.dialogRef=Ie,this._elementRef=lt,this._dialog=Qe,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function Ct(rt,$e){let Ie=rt.nativeElement.parentElement;for(;Ie&&!Ie.classList.contains("mat-mdc-dialog-container");)Ie=Ie.parentElement;return Ie?$e.find(lt=>lt.id===Ie.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Ie){const lt=Ie._matDialogClose||Ie._matDialogCloseResult;lt&&(this.dialogResult=lt.currentValue)}_onButtonClick(Ie){Je(this.dialogRef,0===Ie.screenX&&0===Ie.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(lt){return new(lt||rt)(y.Y36(Ke,8),y.Y36(y.SBq),y.Y36(qe))};static#t=this.\u0275dir=y.lG2({type:rt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(lt,Qe){1<&&y.NdJ("click",function(dt){return Qe._onButtonClick(dt)}),2<&&y.uIk("aria-label",Qe.ariaLabel||null)("type",Qe.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[y.TTD]})}return rt})();let It=(()=>{class rt{static#e=this.\u0275fac=function(lt){return new(lt||rt)};static#t=this.\u0275mod=y.oAB({type:rt});static#i=this.\u0275inj=y.cJS({providers:[qe],imports:[he,e.U8,w.eL,h.BQ,ee,h.BQ]})}return rt})()},6385:(Fe,q,p)=>{"use strict";p.d(q,{d:()=>A,t:()=>l});var e=p(9212),t=p(2495),y=p(3680);let A=(()=>{class w{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(P){this._vertical=(0,t.Ig)(P)}get inset(){return this._inset}set inset(P){this._inset=(0,t.Ig)(P)}static#e=this.\u0275fac=function(d){return new(d||w)};static#t=this.\u0275cmp=e.Xpm({type:w,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(d,E){2&d&&(e.uIk("aria-orientation",E.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",E.vertical)("mat-divider-horizontal",!E.vertical)("mat-divider-inset",E.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(d,E){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return w})(),l=(()=>{class w{static#e=this.\u0275fac=function(d){return new(d||w)};static#t=this.\u0275mod=e.oAB({type:w});static#i=this.\u0275inj=e.cJS({imports:[y.BQ,y.BQ]})}return w})()},3305:(Fe,q,p)=>{"use strict";p.d(q,{pp:()=>ye,To:()=>fe,ib:()=>H,u4:()=>Ke,yz:()=>ct,yK:()=>Je});var e=p(9212),t=p(8337),y=p(8645),A=p(7394);let l=0;const w=new e.OlP("CdkAccordion");let m=(()=>{class de{constructor(){this._stateChanges=new y.x,this._openCloseAllActions=new y.x,this.id="cdk-accordion-"+l++,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(le){this._stateChanges.next(le)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(pe){return new(pe||de)};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:["multi","multi",e.VuI]},exportAs:["cdkAccordion"],features:[e._Bn([{provide:w,useExisting:de}]),e.Xq5,e.TTD]})}return de})(),P=0,d=(()=>{class de{get expanded(){return this._expanded}set expanded(le){this._expanded!==le&&(this._expanded=le,this.expandedChange.emit(le),le?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}constructor(le,pe,qe){this.accordion=le,this._changeDetectorRef=pe,this._expansionDispatcher=qe,this._openCloseAllSubscription=A.w0.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+P++,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=qe.listen((re,ve)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ve&&this.id!==re&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(le=>{this.disabled||(this.expanded=le)})}static#e=this.\u0275fac=function(pe){return new(pe||de)(e.Y36(w,12),e.Y36(e.sBO),e.Y36(t.A8))};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:["expanded","expanded",e.VuI],disabled:["disabled","disabled",e.VuI]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:w,useValue:void 0}]),e.Xq5]})}return de})(),E=(()=>{class de{static#e=this.\u0275fac=function(pe){return new(pe||de)};static#t=this.\u0275mod=e.oAB({type:de});static#i=this.\u0275inj=e.cJS({})}return de})();var M=p(8484),I=p(3680),k=p(2495),z=p(4300),B=p(3997),W=p(7921),j=p(2181),K=p(8180),X=p(6028),ie=p(6232),se=p(3019),ue=p(6825),ae=p(6814);const Me=["body"];function J(de,xe){}const he=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],S=["mat-expansion-panel-header","*","mat-action-row"];function n(de,xe){if(1&de&&e._UZ(0,"span",2),2&de){const le=e.oxw();e.Q6J("@indicatorRotate",le._getExpandedState())}}const s=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],f=["mat-panel-title","mat-panel-description","*"],h=new e.OlP("MAT_ACCORDION"),C="225ms cubic-bezier(0.4,0.0,0.2,1)",D={indicatorRotate:(0,ue.X$)("indicatorRotate",[(0,ue.SB)("collapsed, void",(0,ue.oB)({transform:"rotate(0deg)"})),(0,ue.SB)("expanded",(0,ue.oB)({transform:"rotate(180deg)"})),(0,ue.eR)("expanded <=> collapsed, void => collapsed",(0,ue.jt)(C))]),bodyExpansion:(0,ue.X$)("bodyExpansion",[(0,ue.SB)("collapsed, void",(0,ue.oB)({height:"0px",visibility:"hidden"})),(0,ue.SB)("expanded",(0,ue.oB)({height:"*",visibility:""})),(0,ue.eR)("expanded <=> collapsed, void => collapsed",(0,ue.jt)(C))])},O=new e.OlP("MAT_EXPANSION_PANEL");let v=(()=>{class de{constructor(le,pe){this._template=le,this._expansionPanel=pe}static#e=this.\u0275fac=function(pe){return new(pe||de)(e.Y36(e.Rgc),e.Y36(O,8))};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["ng-template","matExpansionPanelContent",""]]})}return de})(),r=0;const g=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let H=(()=>{class de extends d{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(le){this._hideToggle=(0,k.Ig)(le)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(le){this._togglePosition=le}constructor(le,pe,qe,re,ve,ce,Ze){super(le,pe,qe),this._viewContainerRef=re,this._animationMode=ce,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new y.x,this._headerId="mat-expansion-panel-header-"+r++,this._bodyAnimationDone=new y.x,this.accordion=le,this._document=ve,this._bodyAnimationDone.pipe((0,B.x)((We,Ct)=>We.fromState===Ct.fromState&&We.toState===Ct.toState)).subscribe(We=>{"void"!==We.fromState&&("expanded"===We.toState?this.afterExpand.emit():"collapsed"===We.toState&&this.afterCollapse.emit())}),Ze&&(this.hideToggle=Ze.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,W.O)(null),(0,j.h)(()=>this.expanded&&!this._portal),(0,K.q)(1)).subscribe(()=>{this._portal=new M.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(le){this._inputChanges.next(le)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const le=this._document.activeElement,pe=this._body.nativeElement;return le===pe||pe.contains(le)}return!1}static#e=this.\u0275fac=function(pe){return new(pe||de)(e.Y36(h,12),e.Y36(e.sBO),e.Y36(t.A8),e.Y36(e.s_b),e.Y36(ae.K0),e.Y36(e.QbO,8),e.Y36(g,8))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["mat-expansion-panel"]],contentQueries:function(pe,qe,re){if(1&pe&&e.Suo(re,v,5),2&pe){let ve;e.iGM(ve=e.CRH())&&(qe._lazyContent=ve.first)}},viewQuery:function(pe,qe){if(1&pe&&e.Gf(Me,5),2&pe){let re;e.iGM(re=e.CRH())&&(qe._body=re.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(pe,qe){2&pe&&e.ekj("mat-expanded",qe.expanded)("_mat-animation-noopable","NoopAnimations"===qe._animationMode)("mat-expansion-panel-spacing",qe._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:h,useValue:void 0},{provide:O,useExisting:de}]),e.qOj,e.TTD],ngContentSelectors:S,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(pe,qe){1&pe&&(e.F$t(he),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(ve){return qe._bodyAnimationDone.next(ve)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,J,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&pe&&(e.xp6(1),e.Q6J("@bodyExpansion",qe._getExpandedState())("id",qe.id),e.uIk("aria-labelledby",qe._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",qe._portal))},dependencies:[M.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[D.bodyExpansion]},changeDetection:0})}return de})();class ee{}const De=(0,I.sb)(ee);let ct=(()=>{class de extends De{constructor(le,pe,qe,re,ve,ce,Ze){super(),this.panel=le,this._element=pe,this._focusMonitor=qe,this._changeDetectorRef=re,this._animationMode=ce,this._parentChangeSubscription=A.w0.EMPTY;const We=le.accordion?le.accordion._stateChanges.pipe((0,j.h)(Ct=>!(!Ct.hideToggle&&!Ct.togglePosition))):ie.E;this.tabIndex=parseInt(Ze||"")||0,this._parentChangeSubscription=(0,se.T)(le.opened,le.closed,We,le._inputChanges.pipe((0,j.h)(Ct=>!!(Ct.hideToggle||Ct.disabled||Ct.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),le.closed.pipe((0,j.h)(()=>le._containsFocus())).subscribe(()=>qe.focusVia(pe,"program")),ve&&(this.expandedHeight=ve.expandedHeight,this.collapsedHeight=ve.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const le=this._isExpanded();return le&&this.expandedHeight?this.expandedHeight:!le&&this.collapsedHeight?this.collapsedHeight:null}_keydown(le){switch(le.keyCode){case X.L_:case X.K5:(0,X.Vb)(le)||(le.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(le))}}focus(le,pe){le?this._focusMonitor.focusVia(this._element,le,pe):this._element.nativeElement.focus(pe)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(le=>{le&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(pe){return new(pe||de)(e.Y36(H,1),e.Y36(e.SBq),e.Y36(z.tE),e.Y36(e.sBO),e.Y36(g,8),e.Y36(e.QbO,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(pe,qe){1&pe&&e.NdJ("click",function(){return qe._toggle()})("keydown",function(ve){return qe._keydown(ve)}),2&pe&&(e.uIk("id",qe.panel._headerId)("tabindex",qe.tabIndex)("aria-controls",qe._getPanelId())("aria-expanded",qe._isExpanded())("aria-disabled",qe.panel.disabled),e.Udp("height",qe._getHeaderHeight()),e.ekj("mat-expanded",qe._isExpanded())("mat-expansion-toggle-indicator-after","after"===qe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===qe._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===qe._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:f,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator"],[1,"mat-expansion-indicator"]],template:function(pe,qe){1&pe&&(e.F$t(s),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,n,1,1,"span",1)),2&pe&&(e.ekj("mat-content-hide-toggle",!qe._showToggle()),e.xp6(4),e.um2(4,qe._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[D.indicatorRotate]},changeDetection:0})}return de})(),Ke=(()=>{class de{static#e=this.\u0275fac=function(pe){return new(pe||de)};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return de})(),Je=(()=>{class de{static#e=this.\u0275fac=function(pe){return new(pe||de)};static#t=this.\u0275dir=e.lG2({type:de,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return de})(),ye=(()=>{class de extends m{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(le){this._hideToggle=(0,k.Ig)(le)}ngAfterContentInit(){this._headers.changes.pipe((0,W.O)(this._headers)).subscribe(le=>{this._ownHeaders.reset(le.filter(pe=>pe.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new z.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(le){this._keyManager.onKeydown(le)}_handleHeaderFocus(le){this._keyManager.updateActiveItem(le)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=(()=>{let le;return function(qe){return(le||(le=e.n5z(de)))(qe||de)}})();static#t=this.\u0275dir=e.lG2({type:de,selectors:[["mat-accordion"]],contentQueries:function(pe,qe,re){if(1&pe&&e.Suo(re,ct,5),2&pe){let ve;e.iGM(ve=e.CRH())&&(qe._headers=ve)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(pe,qe){2&pe&&e.ekj("mat-accordion-multi",qe.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:h,useExisting:de}]),e.qOj]})}return de})(),fe=(()=>{class de{static#e=this.\u0275fac=function(pe){return new(pe||de)};static#t=this.\u0275mod=e.oAB({type:de});static#i=this.\u0275inj=e.cJS({imports:[I.BQ,E,M.eL]})}return de})()},5683:(Fe,q,p)=>{"use strict";p.d(q,{G_:()=>dt,TO:()=>le,KE:()=>xt,Eo:()=>Ie,lN:()=>Ot,bx:()=>qe,hX:()=>fe,R9:()=>Ze});var e=p(9212),t=p(9388),y=p(2831),A=p(7394),l=p(8645),w=p(3019),m=p(9773),P=p(5592),d=p(2181),E=p(7328),M=p(3020);class z{constructor(at){this._box=at,this._destroyed=new l.x,this._resizeSubject=new l.x,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(Ee=>this._resizeSubject.next(Ee)))}observe(at){return this._elementObservables.has(at)||this._elementObservables.set(at,new P.y(Ee=>{const nt=this._resizeSubject.subscribe(Ee);return this._resizeObserver?.observe(at,{box:this._box}),()=>{this._resizeObserver?.unobserve(at),nt.unsubscribe(),this._elementObservables.delete(at)}}).pipe((0,d.h)(Ee=>Ee.some(nt=>nt.target===at)),function I(yt,at,Ee){let nt,Ge=!1;return yt&&"object"==typeof yt?({bufferSize:nt=1/0,windowTime:at=1/0,refCount:Ge=!1,scheduler:Ee}=yt):nt=yt??1/0,(0,M.B)({connector:()=>new E.t(nt,at,Ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Ge})}({bufferSize:1,refCount:!0}),(0,m.R)(this._destroyed))),this._elementObservables.get(at)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let B=(()=>{class yt{constructor(){this._observers=new Map,this._ngZone=(0,e.f3M)(e.R0b)}ngOnDestroy(){for(const[,Ee]of this._observers)Ee.destroy();this._observers.clear()}observe(Ee,nt){const Ge=nt?.box||"content-box";return this._observers.has(Ge)||this._observers.set(Ge,new z(Ge)),this._observers.get(Ge).observe(Ee)}static#e=this.\u0275fac=function(nt){return new(nt||yt)};static#t=this.\u0275prov=e.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"})}return yt})();var W=p(2495),j=p(6825),K=p(6814),X=p(7131),ie=p(3680);const se=["notch"],ue=["matFormFieldNotchedOutline",""],ae=["*"],Me=["textField"],J=["iconPrefixContainer"],he=["textPrefixContainer"];function S(yt,at){1&yt&&e._UZ(0,"span",16)}function n(yt,at){if(1&yt&&(e.TgZ(0,"label",14),e.Hsn(1,1),e.YNc(2,S,1,0,"span",15),e.qZA()),2&yt){const Ee=e.oxw(2);e.Q6J("floating",Ee._shouldLabelFloat())("monitorResize",Ee._hasOutline())("id",Ee._labelId),e.uIk("for",Ee._control.id),e.xp6(2),e.um2(2,!Ee.hideRequiredMarker&&Ee._control.required?2:-1)}}function s(yt,at){if(1&yt&&e.YNc(0,n,3,5,"label",14),2&yt){const Ee=e.oxw();e.um2(0,Ee._hasFloatingLabel()?0:-1)}}function f(yt,at){1&yt&&e._UZ(0,"div",17)}function h(yt,at){}function C(yt,at){if(1&yt&&e.YNc(0,h,0,0,"ng-template",9),2&yt){e.oxw(2);const Ee=e.MAs(1);e.Q6J("ngTemplateOutlet",Ee)}}function D(yt,at){if(1&yt&&(e.TgZ(0,"div",5),e.YNc(1,C,1,1,null,9),e.qZA()),2&yt){const Ee=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",Ee._shouldLabelFloat()),e.xp6(1),e.um2(1,Ee._forceDisplayInfixLabel()?-1:1)}}function O(yt,at){1&yt&&(e.TgZ(0,"div",18,19),e.Hsn(2,2),e.qZA())}function v(yt,at){1&yt&&(e.TgZ(0,"div",20,21),e.Hsn(2,3),e.qZA())}function r(yt,at){}function g(yt,at){if(1&yt&&e.YNc(0,r,0,0,"ng-template",9),2&yt){e.oxw();const Ee=e.MAs(1);e.Q6J("ngTemplateOutlet",Ee)}}function H(yt,at){1&yt&&(e.TgZ(0,"div",22),e.Hsn(1,4),e.qZA())}function R(yt,at){1&yt&&(e.TgZ(0,"div",23),e.Hsn(1,5),e.qZA())}function ee(yt,at){1&yt&&e._UZ(0,"div",12)}function De(yt,at){if(1&yt&&(e.TgZ(0,"div",24),e.Hsn(1,6),e.qZA()),2&yt){const Ee=e.oxw();e.Q6J("@transitionMessages",Ee._subscriptAnimationState)}}function ct(yt,at){if(1&yt&&(e.TgZ(0,"mat-hint",26),e._uU(1),e.qZA()),2&yt){const Ee=e.oxw(2);e.Q6J("id",Ee._hintLabelId),e.xp6(1),e.Oqu(Ee.hintLabel)}}function Ke(yt,at){if(1&yt&&(e.TgZ(0,"div",25),e.YNc(1,ct,2,2,"mat-hint",26),e.Hsn(2,7),e._UZ(3,"div",27),e.Hsn(4,8),e.qZA()),2&yt){const Ee=e.oxw();e.Q6J("@transitionMessages",Ee._subscriptAnimationState),e.xp6(1),e.um2(1,Ee.hintLabel?1:-1)}}const Je=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ye=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let fe=(()=>{class yt{static#e=this.\u0275fac=function(nt){return new(nt||yt)};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["mat-label"]]})}return yt})(),de=0;const xe=new e.OlP("MatError");let le=(()=>{class yt{constructor(Ee,nt){this.id="mat-mdc-error-"+de++,Ee||nt.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(nt){return new(nt||yt)(e.$8M("aria-live"),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(nt,Ge){2&nt&&e.Ikx("id",Ge.id)},inputs:{id:"id"},features:[e._Bn([{provide:xe,useExisting:yt}])]})}return yt})(),pe=0,qe=(()=>{class yt{constructor(){this.align="start",this.id="mat-mdc-hint-"+pe++}static#e=this.\u0275fac=function(nt){return new(nt||yt)};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(nt,Ge){2&nt&&(e.Ikx("id",Ge.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===Ge.align))},inputs:{align:"align",id:"id"}})}return yt})();const re=new e.OlP("MatPrefix"),ce=new e.OlP("MatSuffix");let Ze=(()=>{class yt{constructor(){this._isText=!1}set _isTextSelector(Ee){this._isText=!0}static#e=this.\u0275fac=function(nt){return new(nt||yt)};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:ce,useExisting:yt}])]})}return yt})();const We=new e.OlP("FloatingLabelParent");let Ct=(()=>{class yt{get floating(){return this._floating}set floating(Ee){this._floating=Ee,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(Ee){this._monitorResize=Ee,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(Ee){this._elementRef=Ee,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.f3M)(B),this._ngZone=(0,e.f3M)(e.R0b),this._parent=(0,e.f3M)(We),this._resizeSubscription=new A.w0}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ut(yt){if(null!==yt.offsetParent)return yt.scrollWidth;const Ee=yt.cloneNode(!0);Ee.style.setProperty("position","absolute"),Ee.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ee);const nt=Ee.scrollWidth;return Ee.remove(),nt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(nt){return new(nt||yt)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(nt,Ge){2&nt&&e.ekj("mdc-floating-label--float-above",Ge.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return yt})();const It="mdc-line-ripple--active",Ae="mdc-line-ripple--deactivating";let Be=(()=>{class yt{constructor(Ee,nt){this._elementRef=Ee,this._handleTransitionEnd=Ge=>{const Xe=this._elementRef.nativeElement.classList,gt=Xe.contains(Ae);"opacity"===Ge.propertyName&>&&Xe.remove(It,Ae)},nt.runOutsideAngular(()=>{Ee.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ee=this._elementRef.nativeElement.classList;Ee.remove(Ae),Ee.add(It)}deactivate(){this._elementRef.nativeElement.classList.add(Ae)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(nt){return new(nt||yt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:yt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return yt})(),rt=(()=>{class yt{constructor(Ee,nt){this._elementRef=Ee,this._ngZone=nt,this.open=!1}ngAfterViewInit(){const Ee=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ee?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ee.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ee.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(Ee){this._notch.nativeElement.style.width=this.open&&Ee?`calc(${Ee}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(nt){return new(nt||yt)(e.Y36(e.SBq),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:yt,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(nt,Ge){if(1&nt&&e.Gf(se,5),2&nt){let Xe;e.iGM(Xe=e.CRH())&&(Ge._notch=Xe.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(nt,Ge){2&nt&&e.ekj("mdc-notched-outline--notched",Ge.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:ue,ngContentSelectors:ae,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(nt,Ge){1&nt&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1,2),e.Hsn(3),e.qZA(),e._UZ(4,"div",3))},encapsulation:2,changeDetection:0})}return yt})();const $e={transitionMessages:(0,j.X$)("transitionMessages",[(0,j.SB)("enter",(0,j.oB)({opacity:1,transform:"translateY(0%)"})),(0,j.eR)("void => enter",[(0,j.oB)({opacity:0,transform:"translateY(-5px)"}),(0,j.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ie=(()=>{class yt{static#e=this.\u0275fac=function(nt){return new(nt||yt)};static#t=this.\u0275dir=e.lG2({type:yt})}return yt})();const dt=new e.OlP("MatFormField"),te=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ue=0,xt=(()=>{class yt{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ee){this._hideRequiredMarker=(0,W.Ig)(Ee)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ee){Ee!==this._floatLabel&&(this._floatLabel=Ee,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ee){const nt=this._appearance;this._appearance=Ee||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==nt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ee){this._subscriptSizing=Ee||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ee){this._hintLabel=Ee,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ee){this._explicitFormFieldControl=Ee}constructor(Ee,nt,Ge,Xe,gt,Le,be,$){this._elementRef=Ee,this._changeDetectorRef=nt,this._ngZone=Ge,this._dir=Xe,this._platform=gt,this._defaults=Le,this._animationMode=be,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Ue++,this._hintLabelId="mat-mdc-hint-"+Ue++,this._subscriptAnimationState="",this._destroyed=new l.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Le&&(Le.appearance&&(this.appearance=Le.appearance),this._hideRequiredMarker=!!Le?.hideRequiredMarker,Le.color&&(this.color=Le.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const Ee=this._control;Ee.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ee.controlType}`),Ee.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ee.ngControl&&Ee.ngControl.valueChanges&&Ee.ngControl.valueChanges.pipe((0,m.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ee=>!Ee._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ee=>Ee._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ee=>!Ee._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ee=>Ee._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,w.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(Ee){const nt=this._control?this._control.ngControl:null;return nt&&nt[Ee]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ee=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ee.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const nt=this._hintChildren?this._hintChildren.find(Xe=>"start"===Xe.align):null,Ge=this._hintChildren?this._hintChildren.find(Xe=>"end"===Xe.align):null;nt?Ee.push(nt.id):this._hintLabel&&Ee.push(this._hintLabelId),Ge&&Ee.push(Ge.id)}else this._errorChildren&&Ee.push(...this._errorChildren.map(nt=>nt.id));this._control.setDescribedByIds(Ee)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ee=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ee.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const nt=this._iconPrefixContainer?.nativeElement,Ge=this._textPrefixContainer?.nativeElement,Xe=nt?.getBoundingClientRect().width??0,gt=Ge?.getBoundingClientRect().width??0;Ee.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Xe+gt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ee=this._elementRef.nativeElement;if(Ee.getRootNode){const nt=Ee.getRootNode();return nt&&nt!==Ee}return document.documentElement.contains(Ee)}static#e=this.\u0275fac=function(nt){return new(nt||yt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(t.Is),e.Y36(y.t4),e.Y36(te,8),e.Y36(e.QbO,8),e.Y36(K.K0))};static#t=this.\u0275cmp=e.Xpm({type:yt,selectors:[["mat-form-field"]],contentQueries:function(nt,Ge,Xe){if(1&nt&&(e.Suo(Xe,fe,5),e.Suo(Xe,fe,7),e.Suo(Xe,Ie,5),e.Suo(Xe,re,5),e.Suo(Xe,ce,5),e.Suo(Xe,xe,5),e.Suo(Xe,qe,5)),2&nt){let gt;e.iGM(gt=e.CRH())&&(Ge._labelChildNonStatic=gt.first),e.iGM(gt=e.CRH())&&(Ge._labelChildStatic=gt.first),e.iGM(gt=e.CRH())&&(Ge._formFieldControl=gt.first),e.iGM(gt=e.CRH())&&(Ge._prefixChildren=gt),e.iGM(gt=e.CRH())&&(Ge._suffixChildren=gt),e.iGM(gt=e.CRH())&&(Ge._errorChildren=gt),e.iGM(gt=e.CRH())&&(Ge._hintChildren=gt)}},viewQuery:function(nt,Ge){if(1&nt&&(e.Gf(Me,5),e.Gf(J,5),e.Gf(he,5),e.Gf(Ct,5),e.Gf(rt,5),e.Gf(Be,5)),2&nt){let Xe;e.iGM(Xe=e.CRH())&&(Ge._textField=Xe.first),e.iGM(Xe=e.CRH())&&(Ge._iconPrefixContainer=Xe.first),e.iGM(Xe=e.CRH())&&(Ge._textPrefixContainer=Xe.first),e.iGM(Xe=e.CRH())&&(Ge._floatingLabel=Xe.first),e.iGM(Xe=e.CRH())&&(Ge._notchedOutline=Xe.first),e.iGM(Xe=e.CRH())&&(Ge._lineRipple=Xe.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(nt,Ge){2&nt&&e.ekj("mat-mdc-form-field-label-always-float",Ge._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ge._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ge._hasIconSuffix)("mat-form-field-invalid",Ge._control.errorState)("mat-form-field-disabled",Ge._control.disabled)("mat-form-field-autofilled",Ge._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Ge._animationMode)("mat-form-field-appearance-fill","fill"==Ge.appearance)("mat-form-field-appearance-outline","outline"==Ge.appearance)("mat-form-field-hide-placeholder",Ge._hasFloatingLabel()&&!Ge._shouldLabelFloat())("mat-focused",Ge._control.focused)("mat-primary","accent"!==Ge.color&&"warn"!==Ge.color)("mat-accent","accent"===Ge.color)("mat-warn","warn"===Ge.color)("ng-untouched",Ge._shouldForward("untouched"))("ng-touched",Ge._shouldForward("touched"))("ng-pristine",Ge._shouldForward("pristine"))("ng-dirty",Ge._shouldForward("dirty"))("ng-valid",Ge._shouldForward("valid"))("ng-invalid",Ge._shouldForward("invalid"))("ng-pending",Ge._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:dt,useExisting:yt},{provide:We,useExisting:yt}])],ngContentSelectors:ye,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(nt,Ge){if(1&nt&&(e.F$t(Je),e.YNc(0,s,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(gt){return Ge._control.onContainerClick(gt)}),e.YNc(4,f,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,D,2,2,"div",5)(7,O,3,0,"div",6)(8,v,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,g,1,1,null,9),e.Hsn(11),e.qZA(),e.YNc(12,H,2,0,"div",10)(13,R,2,0,"div",11),e.qZA(),e.YNc(14,ee,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,De,2,1)(17,Ke,5,2),e.qZA()),2&nt){let Xe;e.xp6(2),e.ekj("mdc-text-field--filled",!Ge._hasOutline())("mdc-text-field--outlined",Ge._hasOutline())("mdc-text-field--no-label",!Ge._hasFloatingLabel())("mdc-text-field--disabled",Ge._control.disabled)("mdc-text-field--invalid",Ge._control.errorState),e.xp6(2),e.um2(4,Ge._hasOutline()||Ge._control.disabled?-1:4),e.xp6(2),e.um2(6,Ge._hasOutline()?6:-1),e.xp6(1),e.um2(7,Ge._hasIconPrefix?7:-1),e.xp6(1),e.um2(8,Ge._hasTextPrefix?8:-1),e.xp6(2),e.um2(10,!Ge._hasOutline()||Ge._forceDisplayInfixLabel()?10:-1),e.xp6(2),e.um2(12,Ge._hasTextSuffix?12:-1),e.xp6(1),e.um2(13,Ge._hasIconSuffix?13:-1),e.xp6(1),e.um2(14,Ge._hasOutline()?-1:14),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ge.subscriptSizing),e.xp6(1),e.um2(16,"error"===(Xe=Ge._getDisplayedMessages())?16:"hint"===Xe?17:-1)}},dependencies:[K.tP,qe,Ct,rt,Be],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[$e.transitionMessages]},changeDetection:0})}return yt})(),Ot=(()=>{class yt{static#e=this.\u0275fac=function(nt){return new(nt||yt)};static#t=this.\u0275mod=e.oAB({type:yt});static#i=this.\u0275inj=e.cJS({imports:[ie.BQ,K.ez,X.Q8,ie.BQ]})}return yt})()},3176:(Fe,q,p)=>{"use strict";p.d(q,{DX:()=>I,Il:()=>J,N6:()=>he});var e=p(9212),t=p(3680),y=p(2495),A=p(9388);const l=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const s=Math.max(...this.tracker);return s>1?this.rowCount+s-1:this.rowCount}update(s,f){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(s),this.tracker.fill(0,0,this.tracker.length),this.positions=f.map(h=>this._trackTile(h))}_trackTile(s){const f=this._findMatchingGap(s.colspan);return this._markTilePosition(f,s),this.columnIndex=f+s.colspan,new E(this.rowIndex,f)}_findMatchingGap(s){let f=-1,h=-1;do{this.columnIndex+s>this.tracker.length?(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(f)):(f=this.tracker.indexOf(0,this.columnIndex),-1!=f?(h=this._findGapEndIndex(f),this.columnIndex=f+1):(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),h=this._findGapEndIndex(f)))}while(h-f{class n{constructor(f,h){this._element=f,this._gridList=h,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(f){this._rowspan=Math.round((0,y.su)(f))}get colspan(){return this._colspan}set colspan(f){this._colspan=Math.round((0,y.su)(f))}_setStyle(f,h){this._element.nativeElement.style[f]=h}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(e.SBq),e.Y36(M,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,C){2&h&&e.uIk("rowspan",C.rowspan)("colspan",C.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:l,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,C){1&h&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})();const j=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class K{constructor(){this._rows=0,this._rowspan=0}init(s,f,h,C){this._gutterSize=ae(s),this._rows=f.rowCount,this._rowspan=f.rowspan,this._cols=h,this._direction=C}getBaseTileSize(s,f){return`(${s}% - (${this._gutterSize} * ${f}))`}getTilePosition(s,f){return 0===f?"0":ue(`(${s} + ${this._gutterSize}) * ${f}`)}getTileSize(s,f){return`(${s} * ${f}) + (${f-1} * ${this._gutterSize})`}setStyle(s,f,h){let C=100/this._cols,D=(this._cols-1)/this._cols;this.setColStyles(s,h,C,D),this.setRowStyles(s,f,C,D)}setColStyles(s,f,h,C){let D=this.getBaseTileSize(h,C);s._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(D,f)),s._setStyle("width",ue(this.getTileSize(D,s.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(s){return`${this._rowspan} * ${this.getTileSize(s,1)}`}getComputedHeight(){return null}}class X extends K{constructor(s){super(),this.fixedRowHeight=s}init(s,f,h,C){super.init(s,f,h,C),this.fixedRowHeight=ae(this.fixedRowHeight),j.test(this.fixedRowHeight)}setRowStyles(s,f){s._setStyle("top",this.getTilePosition(this.fixedRowHeight,f)),s._setStyle("height",ue(this.getTileSize(this.fixedRowHeight,s.rowspan)))}getComputedHeight(){return["height",ue(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(s){s._setListStyle(["height",null]),s._tiles&&s._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}class ie extends K{constructor(s){super(),this._parseRatio(s)}setRowStyles(s,f,h,C){this.baseTileHeight=this.getBaseTileSize(h/this.rowHeightRatio,C),s._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,f)),s._setStyle("paddingTop",ue(this.getTileSize(this.baseTileHeight,s.rowspan)))}getComputedHeight(){return["paddingBottom",ue(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(s){s._setListStyle(["paddingBottom",null]),s._tiles.forEach(f=>{f._setStyle("marginTop",null),f._setStyle("paddingTop",null)})}_parseRatio(s){const f=s.split(":");this.rowHeightRatio=parseFloat(f[0])/parseFloat(f[1])}}class se extends K{setRowStyles(s,f){let D=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);s._setStyle("top",this.getTilePosition(D,f)),s._setStyle("height",ue(this.getTileSize(D,s.rowspan)))}reset(s){s._tiles&&s._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}function ue(n){return`calc(${n})`}function ae(n){return n.match(/([A-Za-z%]+)$/)?n:`${n}px`}let J=(()=>{class n{constructor(f,h){this._element=f,this._dir=h,this._gutter="1px"}get cols(){return this._cols}set cols(f){this._cols=Math.max(1,Math.round((0,y.su)(f)))}get gutterSize(){return this._gutter}set gutterSize(f){this._gutter=`${f??""}`}get rowHeight(){return this._rowHeight}set rowHeight(f){const h=`${f??""}`;h!==this._rowHeight&&(this._rowHeight=h,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(f){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===f?new se:f&&f.indexOf(":")>-1?new ie(f):new X(f)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const f=this._tileCoordinator,h=this._tiles.filter(D=>!D._gridList||D._gridList===this),C=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,h),this._tileStyler.init(this.gutterSize,f,this.cols,C),h.forEach((D,O)=>{const v=f.positions[O];this._tileStyler.setStyle(D,v.row,v.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(f){f&&(this._element.nativeElement.style[f[0]]=f[1])}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(e.SBq),e.Y36(A.Is,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["mat-grid-list"]],contentQueries:function(h,C,D){if(1&h&&e.Suo(D,I,5),2&h){let O;e.iGM(O=e.CRH())&&(C._tiles=O)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,C){2&h&&e.uIk("cols",C.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[e._Bn([{provide:M,useExisting:n}])],ngContentSelectors:l,decls:2,vars:0,template:function(h,C){1&h&&(e.F$t(),e.TgZ(0,"div"),e.Hsn(1),e.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size)}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size)}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size)}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size)}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}return n})(),he=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.oAB({type:n});static#i=this.\u0275inj=e.cJS({imports:[t.uc,t.BQ,t.uc,t.BQ]})}return n})()},617:(Fe,q,p)=>{"use strict";p.d(q,{Hw:()=>R,Ps:()=>ee});var e=p(9212),t=p(3680),y=p(2495),A=p(6814),l=p(2096),w=p(8504),m=p(9315),P=p(7394),d=p(9397),E=p(7398),M=p(6306),I=p(4716),k=p(3020),z=p(8180),B=p(9862),W=p(6593);const j=["*"];let K;function ie(De){return function X(){if(void 0===K&&(K=null,typeof window<"u")){const De=window;void 0!==De.trustedTypes&&(K=De.trustedTypes.createPolicy("angular#components",{createHTML:ct=>ct}))}return K}()?.createHTML(De)||De}function se(De){return Error(`Unable to find icon with the name "${De}"`)}function ae(De){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${De}".`)}function Me(De){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${De}".`)}class J{constructor(ct,Ke,Je){this.url=ct,this.svgText=Ke,this.options=Je}}let he=(()=>{class De{constructor(Ke,Je,ye,fe){this._httpClient=Ke,this._sanitizer=Je,this._errorHandler=fe,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=ye}addSvgIcon(Ke,Je,ye){return this.addSvgIconInNamespace("",Ke,Je,ye)}addSvgIconLiteral(Ke,Je,ye){return this.addSvgIconLiteralInNamespace("",Ke,Je,ye)}addSvgIconInNamespace(Ke,Je,ye,fe){return this._addSvgIconConfig(Ke,Je,new J(ye,null,fe))}addSvgIconResolver(Ke){return this._resolvers.push(Ke),this}addSvgIconLiteralInNamespace(Ke,Je,ye,fe){const de=this._sanitizer.sanitize(e.q3G.HTML,ye);if(!de)throw Me(ye);const xe=ie(de);return this._addSvgIconConfig(Ke,Je,new J("",xe,fe))}addSvgIconSet(Ke,Je){return this.addSvgIconSetInNamespace("",Ke,Je)}addSvgIconSetLiteral(Ke,Je){return this.addSvgIconSetLiteralInNamespace("",Ke,Je)}addSvgIconSetInNamespace(Ke,Je,ye){return this._addSvgIconSetConfig(Ke,new J(Je,null,ye))}addSvgIconSetLiteralInNamespace(Ke,Je,ye){const fe=this._sanitizer.sanitize(e.q3G.HTML,Je);if(!fe)throw Me(Je);const de=ie(fe);return this._addSvgIconSetConfig(Ke,new J("",de,ye))}registerFontClassAlias(Ke,Je=Ke){return this._fontCssClassesByAlias.set(Ke,Je),this}classNameForFontAlias(Ke){return this._fontCssClassesByAlias.get(Ke)||Ke}setDefaultFontSetClass(...Ke){return this._defaultFontSetClass=Ke,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ke){const Je=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ke);if(!Je)throw ae(Ke);const ye=this._cachedIconsByUrl.get(Je);return ye?(0,l.of)(s(ye)):this._loadSvgIconFromConfig(new J(Ke,null)).pipe((0,d.b)(fe=>this._cachedIconsByUrl.set(Je,fe)),(0,E.U)(fe=>s(fe)))}getNamedSvgIcon(Ke,Je=""){const ye=f(Je,Ke);let fe=this._svgIconConfigs.get(ye);if(fe)return this._getSvgFromConfig(fe);if(fe=this._getIconConfigFromResolvers(Je,Ke),fe)return this._svgIconConfigs.set(ye,fe),this._getSvgFromConfig(fe);const de=this._iconSetConfigs.get(Je);return de?this._getSvgFromIconSetConfigs(Ke,de):(0,w._)(se(ye))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ke){return Ke.svgText?(0,l.of)(s(this._svgElementFromConfig(Ke))):this._loadSvgIconFromConfig(Ke).pipe((0,E.U)(Je=>s(Je)))}_getSvgFromIconSetConfigs(Ke,Je){const ye=this._extractIconWithNameFromAnySet(Ke,Je);if(ye)return(0,l.of)(ye);const fe=Je.filter(de=>!de.svgText).map(de=>this._loadSvgIconSetFromConfig(de).pipe((0,M.K)(xe=>{const pe=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,de.url)} failed: ${xe.message}`;return this._errorHandler.handleError(new Error(pe)),(0,l.of)(null)})));return(0,m.D)(fe).pipe((0,E.U)(()=>{const de=this._extractIconWithNameFromAnySet(Ke,Je);if(!de)throw se(Ke);return de}))}_extractIconWithNameFromAnySet(Ke,Je){for(let ye=Je.length-1;ye>=0;ye--){const fe=Je[ye];if(fe.svgText&&fe.svgText.toString().indexOf(Ke)>-1){const de=this._svgElementFromConfig(fe),xe=this._extractSvgIconFromSet(de,Ke,fe.options);if(xe)return xe}}return null}_loadSvgIconFromConfig(Ke){return this._fetchIcon(Ke).pipe((0,d.b)(Je=>Ke.svgText=Je),(0,E.U)(()=>this._svgElementFromConfig(Ke)))}_loadSvgIconSetFromConfig(Ke){return Ke.svgText?(0,l.of)(null):this._fetchIcon(Ke).pipe((0,d.b)(Je=>Ke.svgText=Je))}_extractSvgIconFromSet(Ke,Je,ye){const fe=Ke.querySelector(`[id="${Je}"]`);if(!fe)return null;const de=fe.cloneNode(!0);if(de.removeAttribute("id"),"svg"===de.nodeName.toLowerCase())return this._setSvgAttributes(de,ye);if("symbol"===de.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(de),ye);const xe=this._svgElementFromString(ie(""));return xe.appendChild(de),this._setSvgAttributes(xe,ye)}_svgElementFromString(Ke){const Je=this._document.createElement("DIV");Je.innerHTML=Ke;const ye=Je.querySelector("svg");if(!ye)throw Error(" tag not found");return ye}_toSvgElement(Ke){const Je=this._svgElementFromString(ie("")),ye=Ke.attributes;for(let fe=0;feie(pe)),(0,I.x)(()=>this._inProgressUrlFetches.delete(de)),(0,k.B)());return this._inProgressUrlFetches.set(de,le),le}_addSvgIconConfig(Ke,Je,ye){return this._svgIconConfigs.set(f(Ke,Je),ye),this}_addSvgIconSetConfig(Ke,Je){const ye=this._iconSetConfigs.get(Ke);return ye?ye.push(Je):this._iconSetConfigs.set(Ke,[Je]),this}_svgElementFromConfig(Ke){if(!Ke.svgElement){const Je=this._svgElementFromString(Ke.svgText);this._setSvgAttributes(Je,Ke.options),Ke.svgElement=Je}return Ke.svgElement}_getIconConfigFromResolvers(Ke,Je){for(let ye=0;yect?ct.pathname+ct.search:""}}}),r=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],g=r.map(De=>`[${De}]`).join(", "),H=/^url\(['"]?#(.*?)['"]?\)$/;let R=(()=>{class De extends C{get inline(){return this._inline}set inline(Ke){this._inline=(0,y.Ig)(Ke)}get svgIcon(){return this._svgIcon}set svgIcon(Ke){Ke!==this._svgIcon&&(Ke?this._updateSvgIcon(Ke):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ke)}get fontSet(){return this._fontSet}set fontSet(Ke){const Je=this._cleanupFontValue(Ke);Je!==this._fontSet&&(this._fontSet=Je,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ke){const Je=this._cleanupFontValue(Ke);Je!==this._fontIcon&&(this._fontIcon=Je,this._updateFontIconClasses())}constructor(Ke,Je,ye,fe,de,xe){super(Ke),this._iconRegistry=Je,this._location=fe,this._errorHandler=de,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,xe&&(xe.color&&(this.color=this.defaultColor=xe.color),xe.fontSet&&(this.fontSet=xe.fontSet)),ye||Ke.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ke){if(!Ke)return["",""];const Je=Ke.split(":");switch(Je.length){case 1:return["",Je[0]];case 2:return Je;default:throw Error(`Invalid icon name: "${Ke}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ke=this._elementsWithExternalReferences;if(Ke&&Ke.size){const Je=this._location.getPathname();Je!==this._previousPath&&(this._previousPath=Je,this._prependPathToReferences(Je))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ke){this._clearSvgElement();const Je=this._location.getPathname();this._previousPath=Je,this._cacheChildrenWithExternalReferences(Ke),this._prependPathToReferences(Je),this._elementRef.nativeElement.appendChild(Ke)}_clearSvgElement(){const Ke=this._elementRef.nativeElement;let Je=Ke.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Je--;){const ye=Ke.childNodes[Je];(1!==ye.nodeType||"svg"===ye.nodeName.toLowerCase())&&ye.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ke=this._elementRef.nativeElement,Je=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(ye=>ye.length>0);this._previousFontSetClass.forEach(ye=>Ke.classList.remove(ye)),Je.forEach(ye=>Ke.classList.add(ye)),this._previousFontSetClass=Je,this.fontIcon!==this._previousFontIconClass&&!Je.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ke.classList.remove(this._previousFontIconClass),this.fontIcon&&Ke.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ke){return"string"==typeof Ke?Ke.trim().split(" ")[0]:Ke}_prependPathToReferences(Ke){const Je=this._elementsWithExternalReferences;Je&&Je.forEach((ye,fe)=>{ye.forEach(de=>{fe.setAttribute(de.name,`url('${Ke}#${de.value}')`)})})}_cacheChildrenWithExternalReferences(Ke){const Je=Ke.querySelectorAll(g),ye=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let fe=0;fe{const xe=Je[fe],le=xe.getAttribute(de),pe=le?le.match(H):null;if(pe){let qe=ye.get(xe);qe||(qe=[],ye.set(xe,qe)),qe.push({name:de,value:pe[1]})}})}_updateSvgIcon(Ke){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ke){const[Je,ye]=this._splitIconName(Ke);Je&&(this._svgNamespace=Je),ye&&(this._svgName=ye),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ye,Je).pipe((0,z.q)(1)).subscribe(fe=>this._setSvgElement(fe),fe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Je}:${ye}! ${fe.message}`))})}}static#e=this.\u0275fac=function(Je){return new(Je||De)(e.Y36(e.SBq),e.Y36(he),e.$8M("aria-hidden"),e.Y36(O),e.Y36(e.qLn),e.Y36(D,8))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Je,ye){2&Je&&(e.uIk("data-mat-icon-type",ye._usingFontIcon()?"font":"svg")("data-mat-icon-name",ye._svgName||ye.fontIcon)("data-mat-icon-namespace",ye._svgNamespace||ye.fontSet)("fontIcon",ye._usingFontIcon()?ye.fontIcon:null),e.ekj("mat-icon-inline",ye.inline)("mat-icon-no-color","primary"!==ye.color&&"accent"!==ye.color&&"warn"!==ye.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:j,decls:1,vars:0,template:function(Je,ye){1&Je&&(e.F$t(),e.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return De})(),ee=(()=>{class De{static#e=this.\u0275fac=function(Je){return new(Je||De)};static#t=this.\u0275mod=e.oAB({type:De});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return De})()},2032:(Fe,q,p)=>{"use strict";p.d(q,{Jk:()=>B,Nt:()=>X,c:()=>ie});var e=p(2495),t=p(2831),y=p(9212),A=p(6232),l=p(8645);const w=(0,t.i$)({passive:!0});let m=(()=>{class se{constructor(ae,Me){this._platform=ae,this._ngZone=Me,this._monitoredElements=new Map}monitor(ae){if(!this._platform.isBrowser)return A.E;const Me=(0,e.fI)(ae),J=this._monitoredElements.get(Me);if(J)return J.subject;const he=new l.x,S="cdk-text-field-autofilled",n=s=>{"cdk-text-field-autofill-start"!==s.animationName||Me.classList.contains(S)?"cdk-text-field-autofill-end"===s.animationName&&Me.classList.contains(S)&&(Me.classList.remove(S),this._ngZone.run(()=>he.next({target:s.target,isAutofilled:!1}))):(Me.classList.add(S),this._ngZone.run(()=>he.next({target:s.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Me.addEventListener("animationstart",n,w),Me.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Me,{subject:he,unlisten:()=>{Me.removeEventListener("animationstart",n,w)}}),he}stopMonitoring(ae){const Me=(0,e.fI)(ae),J=this._monitoredElements.get(Me);J&&(J.unlisten(),J.subject.complete(),Me.classList.remove("cdk-text-field-autofill-monitored"),Me.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Me))}ngOnDestroy(){this._monitoredElements.forEach((ae,Me)=>this.stopMonitoring(Me))}static#e=this.\u0275fac=function(Me){return new(Me||se)(y.LFG(t.t4),y.LFG(y.R0b))};static#t=this.\u0275prov=y.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"})}return se})(),E=(()=>{class se{static#e=this.\u0275fac=function(Me){return new(Me||se)};static#t=this.\u0275mod=y.oAB({type:se});static#i=this.\u0275inj=y.cJS({})}return se})();var M=p(6223),I=p(3680),k=p(5683);const B=new y.OlP("MAT_INPUT_VALUE_ACCESSOR"),W=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let j=0;const K=(0,I.FD)(class{constructor(se,ue,ae,Me){this._defaultErrorStateMatcher=se,this._parentForm=ue,this._parentFormGroup=ae,this.ngControl=Me,this.stateChanges=new l.x}});let X=(()=>{class se extends K{get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,e.Ig)(ae),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ae){this._id=ae||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(M.kI.required)??!1}set required(ae){this._required=(0,e.Ig)(ae)}get type(){return this._type}set type(ae){this._type=ae||"text",this._validateType(),!this._isTextarea&&(0,t.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ae){ae!==this.value&&(this._inputValueAccessor.value=ae,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ae){this._readonly=(0,e.Ig)(ae)}constructor(ae,Me,J,he,S,n,s,f,h,C){super(n,he,S,J),this._elementRef=ae,this._platform=Me,this._autofillMonitor=f,this._formField=C,this._uid="mat-input-"+j++,this.focused=!1,this.stateChanges=new l.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(v=>(0,t.qK)().has(v)),this._iOSKeyupListener=v=>{const r=v.target;!r.value&&0===r.selectionStart&&0===r.selectionEnd&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};const D=this._elementRef.nativeElement,O=D.nodeName.toLowerCase();this._inputValueAccessor=s||D,this._previousNativeValue=this.value,this.id=this.id,Me.IOS&&h.runOutsideAngular(()=>{ae.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===O,this._isTextarea="textarea"===O,this._isInFormField=!!C,this._isNativeSelect&&(this.controlType=D.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ae=>{this.autofilled=ae.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(ae){this._elementRef.nativeElement.focus(ae)}_focusChanged(ae){ae!==this.focused&&(this.focused=ae,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ae=this._elementRef.nativeElement.value;this._previousNativeValue!==ae&&(this._previousNativeValue=ae,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ae=this._getPlaceholder();if(ae!==this._previousPlaceholder){const Me=this._elementRef.nativeElement;this._previousPlaceholder=ae,ae?Me.setAttribute("placeholder",ae):Me.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){W.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ae=this._elementRef.nativeElement.validity;return ae&&ae.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ae=this._elementRef.nativeElement,Me=ae.options[0];return this.focused||ae.multiple||!this.empty||!!(ae.selectedIndex>-1&&Me&&Me.label)}return this.focused||!this.empty}setDescribedByIds(ae){ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ae.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ae=this._elementRef.nativeElement;return this._isNativeSelect&&(ae.multiple||ae.size>1)}static#e=this.\u0275fac=function(Me){return new(Me||se)(y.Y36(y.SBq),y.Y36(t.t4),y.Y36(M.a5,10),y.Y36(M.F,8),y.Y36(M.sg,8),y.Y36(I.rD),y.Y36(B,10),y.Y36(m),y.Y36(y.R0b),y.Y36(k.G_,8))};static#t=this.\u0275dir=y.lG2({type:se,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(Me,J){1&Me&&y.NdJ("focus",function(){return J._focusChanged(!0)})("blur",function(){return J._focusChanged(!1)})("input",function(){return J._onInput()}),2&Me&&(y.Ikx("id",J.id)("disabled",J.disabled)("required",J.required),y.uIk("name",J.name||null)("readonly",J.readonly&&!J._isNativeSelect||null)("aria-invalid",J.empty&&J.required?null:J.errorState)("aria-required",J.required)("id",J.id),y.ekj("mat-input-server",J._isServer)("mat-mdc-form-field-textarea-control",J._isInFormField&&J._isTextarea)("mat-mdc-form-field-input-control",J._isInFormField)("mdc-text-field__input",J._isInFormField)("mat-mdc-native-select-inline",J._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[y._Bn([{provide:k.Eo,useExisting:se}]),y.qOj,y.TTD]})}return se})(),ie=(()=>{class se{static#e=this.\u0275fac=function(Me){return new(Me||se)};static#t=this.\u0275mod=y.oAB({type:se});static#i=this.\u0275inj=y.cJS({imports:[I.BQ,k.lN,k.lN,E,I.BQ]})}return se})()},9038:(Fe,q,p)=>{"use strict";p.d(q,{Tg:()=>ve,i$:()=>re,ie:()=>rt});var e=p(9212),t=p(2495),y=p(2831),A=p(3680),l=p(7394),w=p(3019),P=(p(8645),p(7131)),d=p(6814),E=p(6385);p(4300),p(8337),p(6028),p(6223),p(9773);const W=["*"],K=["unscopedContent"],X=["text"],ie=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],se=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],R=new e.OlP("ListOption");let ee=(()=>{class $e{constructor(lt){this._elementRef=lt}static#e=this.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return $e})(),De=(()=>{class $e{constructor(lt){this._elementRef=lt}static#e=this.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return $e})(),ct=(()=>{class $e{static#e=this.\u0275fac=function(Qe){return new(Qe||$e)};static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return $e})(),Ke=(()=>{class $e{constructor(lt){this._listOption=lt}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static#e=this.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(R,8))};static#t=this.\u0275dir=e.lG2({type:$e,hostVars:4,hostBindings:function(Qe,St){2&Qe&&e.ekj("mdc-list-item__start",St._isAlignedAtStart())("mdc-list-item__end",!St._isAlignedAtStart())}})}return $e})(),Je=(()=>{class $e extends Ke{static#e=this.\u0275fac=(()=>{let lt;return function(St){return(lt||(lt=e.n5z($e)))(St||$e)}})();static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[e.qOj]})}return $e})(),ye=(()=>{class $e extends Ke{static#e=this.\u0275fac=(()=>{let lt;return function(St){return(lt||(lt=e.n5z($e)))(St||$e)}})();static#t=this.\u0275dir=e.lG2({type:$e,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[e.qOj]})}return $e})();const fe=new e.OlP("MAT_LIST_CONFIG");let de=(()=>{class $e{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,e.f3M)(fe,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(lt){this._disableRipple=(0,t.Ig)(lt)}get disabled(){return this._disabled}set disabled(lt){this._disabled=(0,t.Ig)(lt)}static#e=this.\u0275fac=function(Qe){return new(Qe||$e)};static#t=this.\u0275dir=e.lG2({type:$e,hostVars:1,hostBindings:function(Qe,St){2&Qe&&e.uIk("aria-disabled",St.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return $e})(),xe=(()=>{class $e{set lines(lt){this._explicitLines=(0,t.su)(lt,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(lt){this._disableRipple=(0,t.Ig)(lt)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(lt){this._disabled=(0,t.Ig)(lt)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(lt,Qe,St,dt,te,Ue){this._elementRef=lt,this._ngZone=Qe,this._listBase=St,this._platform=dt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new l.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=te||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Ue,St&&!St._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new A.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,w.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(lt){if(!this._lines||!this._titles||!this._unscopedContent)return;lt&&this._checkDomForUnscopedTextContent();const Qe=this._explicitLines??this._inferLinesFromContent(),St=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",Qe<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",Qe<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===Qe),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===Qe),this._hasUnscopedTextContent){const dt=0===this._titles.length&&1===Qe;St.classList.toggle("mdc-list-item__primary-text",dt),St.classList.toggle("mdc-list-item__secondary-text",!dt)}else St.classList.remove("mdc-list-item__primary-text"),St.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let lt=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(lt+=1),lt}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(lt=>lt.nodeType!==lt.COMMENT_NODE).some(lt=>!(!lt.textContent||!lt.textContent.trim()))}static#e=this.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(de,8),e.Y36(y.t4),e.Y36(A.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275dir=e.lG2({type:$e,contentQueries:function(Qe,St,dt){if(1&Qe&&(e.Suo(dt,Je,4),e.Suo(dt,ye,4)),2&Qe){let te;e.iGM(te=e.CRH())&&(St._avatars=te),e.iGM(te=e.CRH())&&(St._icons=te)}},hostVars:4,hostBindings:function(Qe,St){2&Qe&&(e.uIk("aria-disabled",St.disabled)("disabled",St._isButtonElement&&St.disabled||null),e.ekj("mdc-list-item--disabled",St.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return $e})(),re=(()=>{class $e extends de{static#e=this.\u0275fac=(()=>{let lt;return function(St){return(lt||(lt=e.n5z($e)))(St||$e)}})();static#t=this.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[e._Bn([{provide:de,useExisting:$e}]),e.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(Qe,St){1&Qe&&(e.F$t(),e.Hsn(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0})}return $e})(),ve=(()=>{class $e extends xe{get activated(){return this._activated}set activated(lt){this._activated=(0,t.Ig)(lt)}constructor(lt,Qe,St,dt,te,Ue){super(lt,Qe,St,dt,te,Ue),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static#e=this.\u0275fac=function(Qe){return new(Qe||$e)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(de,8),e.Y36(y.t4),e.Y36(A.Y2,8),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:$e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Qe,St,dt){if(1&Qe&&(e.Suo(dt,De,5),e.Suo(dt,ee,5),e.Suo(dt,ct,5)),2&Qe){let te;e.iGM(te=e.CRH())&&(St._lines=te),e.iGM(te=e.CRH())&&(St._titles=te),e.iGM(te=e.CRH())&&(St._meta=te)}},viewQuery:function(Qe,St){if(1&Qe&&(e.Gf(K,5),e.Gf(X,5)),2&Qe){let dt;e.iGM(dt=e.CRH())&&(St._unscopedContent=dt.first),e.iGM(dt=e.CRH())&&(St._itemText=dt.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Qe,St){2&Qe&&(e.uIk("aria-current",St._getAriaCurrent()),e.ekj("mdc-list-item--activated",St.activated)("mdc-list-item--with-leading-avatar",0!==St._avatars.length)("mdc-list-item--with-leading-icon",0!==St._icons.length)("mdc-list-item--with-trailing-meta",0!==St._meta.length)("_mat-animation-noopable",St._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[e.qOj],ngContentSelectors:se,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(Qe,St){1&Qe&&(e.F$t(ie),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.Hsn(3,2),e.TgZ(4,"span",1,2),e.NdJ("cdkObserveContent",function(){return St._updateItemLines(!0)}),e.Hsn(6,3),e.qZA()(),e.Hsn(7,4),e.Hsn(8,5),e._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0})}return $e})(),rt=(()=>{class $e{static#e=this.\u0275fac=function(Qe){return new(Qe||$e)};static#t=this.\u0275mod=e.oAB({type:$e});static#i=this.\u0275inj=e.cJS({imports:[P.Q8,d.ez,A.BQ,A.si,A.us,E.t]})}return $e})()},7988:(Fe,q,p)=>{"use strict";p.d(q,{OP:()=>f,Tx:()=>le,VK:()=>ct,p6:()=>xe});var e=p(9212),t=p(4300),y=p(6028),A=p(8645),l=p(3019),w=p(7394),m=p(2096),P=p(6410),d=p(7921),E=p(4664),M=p(8180),I=p(9773),k=p(2181),z=p(932),B=p(6814),W=p(3680),j=p(8484),K=p(6825),X=p(9388),ie=p(3651),se=p(2831),ue=p(5407);const ae=["mat-menu-item",""];function Me(pe,qe){1&pe&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const J=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],he=["mat-icon, [matMenuItemIcon]","*"];function S(pe,qe){if(1&pe){const re=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(ce){e.CHM(re);const Ze=e.oxw();return e.KtG(Ze._handleKeydown(ce))})("click",function(){e.CHM(re);const ce=e.oxw();return e.KtG(ce.closed.emit("click"))})("@transformMenu.start",function(ce){e.CHM(re);const Ze=e.oxw();return e.KtG(Ze._onAnimationStart(ce))})("@transformMenu.done",function(ce){e.CHM(re);const Ze=e.oxw();return e.KtG(Ze._onAnimationDone(ce))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&pe){const re=e.oxw();e.Q6J("id",re.panelId)("ngClass",re._classList)("@transformMenu",re._panelAnimationState),e.uIk("aria-label",re.ariaLabel||null)("aria-labelledby",re.ariaLabelledby||null)("aria-describedby",re.ariaDescribedby||null)}}const n=["*"],s=new e.OlP("MAT_MENU_PANEL");let f=(()=>{class pe{constructor(re,ve,ce,Ze,We){this._elementRef=re,this._document=ve,this._focusMonitor=ce,this._parentMenu=Ze,this._changeDetectorRef=We,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new A.x,this._focused=new A.x,this._highlighted=!1,this._triggersSubmenu=!1,Ze?.addItem?.(this)}focus(re,ve){this._focusMonitor&&re?this._focusMonitor.focusVia(this._getHostElement(),re,ve):this._getHostElement().focus(ve),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(re){this.disabled&&(re.preventDefault(),re.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const re=this._elementRef.nativeElement.cloneNode(!0),ve=re.querySelectorAll("mat-icon, .material-icons");for(let ce=0;ce enter",(0,K.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,K.oB)({opacity:1,transform:"scale(1)"}))),(0,K.eR)("* => void",(0,K.jt)("100ms 25ms linear",(0,K.oB)({opacity:0})))]),fadeInItems:(0,K.X$)("fadeInItems",[(0,K.SB)("showing",(0,K.oB)({opacity:1})),(0,K.eR)("void => *",[(0,K.oB)({opacity:0}),(0,K.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let R=0;const ee=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function De(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ct=(()=>{class pe{get xPosition(){return this._xPosition}set xPosition(re){this._xPosition=re,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(re){this._yPosition=re,this.setPositionClasses()}set panelClass(re){const ve=this._previousPanelClass;ve&&ve.length&&ve.split(" ").forEach(ce=>{this._classList[ce]=!1}),this._previousPanelClass=re,re&&re.length&&(re.split(" ").forEach(ce=>{this._classList[ce]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(re){this.panelClass=re}constructor(re,ve,ce,Ze){this._elementRef=re,this._ngZone=ve,this._changeDetectorRef=Ze,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new A.x,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+R++,this.overlayPanelClass=ce.overlayPanelClass||"",this._xPosition=ce.xPosition,this._yPosition=ce.yPosition,this.backdropClass=ce.backdropClass,this.overlapTrigger=ce.overlapTrigger,this.hasBackdrop=ce.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new t.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,E.w)(re=>(0,l.T)(...re.map(ve=>ve._focused)))).subscribe(re=>this._keyManager.updateActiveItem(re)),this._directDescendantItems.changes.subscribe(re=>{const ve=this._keyManager;if("enter"===this._panelAnimationState&&ve.activeItem?._hasFocus()){const ce=re.toArray(),Ze=Math.max(0,Math.min(ce.length-1,ve.activeItemIndex||0));ce[Ze]&&!ce[Ze].disabled?ve.setActiveItem(Ze):ve.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,d.O)(this._directDescendantItems),(0,E.w)(ve=>(0,l.T)(...ve.map(ce=>ce._hovered))))}addItem(re){}removeItem(re){}_handleKeydown(re){const ve=re.keyCode,ce=this._keyManager;switch(ve){case y.hY:(0,y.Vb)(re)||(re.preventDefault(),this.closed.emit("keydown"));break;case y.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case y.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ve===y.LH||ve===y.JH)&&ce.setFocusOrigin("keyboard"),void ce.onKeydown(re)}re.stopPropagation()}focusFirstItem(re="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>{let ve=null;if(this._directDescendantItems.length&&(ve=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ve||!ve.contains(document.activeElement)){const ce=this._keyManager;ce.setFocusOrigin(re).setFirstItemActive(),!ce.activeItem&&ve&&ve.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(re){const ve=Math.min(this._baseElevation+re,24),ce=`${this._elevationPrefix}${ve}`,Ze=Object.keys(this._classList).find(We=>We.startsWith(this._elevationPrefix));(!Ze||Ze===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[ce]=!0,this._previousElevation=ce)}setPositionClasses(re=this.xPosition,ve=this.yPosition){const ce=this._classList;ce["mat-menu-before"]="before"===re,ce["mat-menu-after"]="after"===re,ce["mat-menu-above"]="above"===ve,ce["mat-menu-below"]="below"===ve,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(re){this._animationDone.next(re),this._isAnimating=!1}_onAnimationStart(re){this._isAnimating=!0,"enter"===re.toState&&0===this._keyManager.activeItemIndex&&(re.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,d.O)(this._allItems)).subscribe(re=>{this._directDescendantItems.reset(re.filter(ve=>ve._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(ve){return new(ve||pe)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(ee),e.Y36(e.sBO))};static#t=this.\u0275cmp=e.Xpm({type:pe,selectors:[["mat-menu"]],contentQueries:function(ve,ce,Ze){if(1&ve&&(e.Suo(Ze,O,5),e.Suo(Ze,f,5),e.Suo(Ze,f,4)),2&ve){let We;e.iGM(We=e.CRH())&&(ce.lazyContent=We.first),e.iGM(We=e.CRH())&&(ce._allItems=We),e.iGM(We=e.CRH())&&(ce.items=We)}},viewQuery:function(ve,ce){if(1&ve&&e.Gf(e.Rgc,5),2&ve){let Ze;e.iGM(Ze=e.CRH())&&(ce.templateRef=Ze.first)}},hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(ve,ce){2&ve&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:["overlapTrigger","overlapTrigger",e.VuI],hasBackdrop:["hasBackdrop","hasBackdrop",re=>null==re?null:(0,e.VuI)(re)],panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[e._Bn([{provide:s,useExisting:pe}]),e.Xq5],ngContentSelectors:n,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(ve,ce){1&ve&&(e.F$t(),e.YNc(0,S,3,6,"ng-template"))},dependencies:[B.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[r.transformMenu,r.fadeInItems]},changeDetection:0})}return pe})();const Ke=new e.OlP("mat-menu-scroll-strategy"),ye={provide:Ke,deps:[ie.aV],useFactory:function Je(pe){return()=>pe.scrollStrategies.reposition()}},fe=(0,se.i$)({passive:!0});let xe=(()=>{class pe{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(re){this.menu=re}get menu(){return this._menu}set menu(re){re!==this._menu&&(this._menu=re,this._menuCloseSubscription.unsubscribe(),re&&(this._menuCloseSubscription=re.close.subscribe(ve=>{this._destroyMenu(ve),("click"===ve||"tab"===ve)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ve)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(re,ve,ce,Ze,We,Ct,ut,It,Ae){this._overlay=re,this._element=ve,this._viewContainerRef=ce,this._menuItemInstance=Ct,this._dir=ut,this._focusMonitor=It,this._ngZone=Ae,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=w.w0.EMPTY,this._hoverSubscription=w.w0.EMPTY,this._menuCloseSubscription=w.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=Be=>{(0,t.yG)(Be)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ze,this._parentMaterialMenu=We instanceof ct?We:void 0,ve.nativeElement.addEventListener("touchstart",this._handleTouchStart,fe)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,fe),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const re=this.menu;if(this._menuOpen||!re)return;const ve=this._createOverlay(re),ce=ve.getConfig(),Ze=ce.positionStrategy;this._setPosition(re,Ze),ce.hasBackdrop=null==re.hasBackdrop?!this.triggersSubmenu():re.hasBackdrop,ve.attach(this._getPortal(re)),re.lazyContent&&re.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(re),re instanceof ct&&(re._startAnimation(),re._directDescendantItems.changes.pipe((0,I.R)(re.close)).subscribe(()=>{Ze.withLockedPosition(!1).reapplyLastPosition(),Ze.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(re,ve){this._focusMonitor&&re?this._focusMonitor.focusVia(this._element,re,ve):this._element.nativeElement.focus(ve)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(re){if(!this._overlayRef||!this.menuOpen)return;const ve=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===re||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ve instanceof ct?(ve._resetAnimation(),ve.lazyContent?ve._animationDone.pipe((0,k.h)(ce=>"void"===ce.toState),(0,M.q)(1),(0,I.R)(ve.lazyContent._attached)).subscribe({next:()=>ve.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ve?.lazyContent?.detach())}_initMenu(re){re.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,re.direction=this.dir,this._setMenuElevation(re),re.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(re){if(re.setElevation){let ve=0,ce=re.parentMenu;for(;ce;)ve++,ce=ce.parentMenu;re.setElevation(ve)}}_setIsMenuOpen(re){re!==this._menuOpen&&(this._menuOpen=re,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(re),this._changeDetectorRef.markForCheck())}_createOverlay(re){if(!this._overlayRef){const ve=this._getOverlayConfig(re);this._subscribeToPositions(re,ve.positionStrategy),this._overlayRef=this._overlay.create(ve),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(re){return new ie.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:re.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:re.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(re,ve){re.setPositionClasses&&ve.positionChanges.subscribe(ce=>{const Ze="start"===ce.connectionPair.overlayX?"after":"before",We="top"===ce.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>re.setPositionClasses(Ze,We)):re.setPositionClasses(Ze,We)})}_setPosition(re,ve){let[ce,Ze]="before"===re.xPosition?["end","start"]:["start","end"],[We,Ct]="above"===re.yPosition?["bottom","top"]:["top","bottom"],[ut,It]=[We,Ct],[Ae,Be]=[ce,Ze],rt=0;if(this.triggersSubmenu()){if(Be=ce="before"===re.xPosition?"start":"end",Ze=Ae="end"===ce?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const $e=this._parentMaterialMenu.items.first;this._parentInnerPadding=$e?$e._getHostElement().offsetTop:0}rt="bottom"===We?this._parentInnerPadding:-this._parentInnerPadding}}else re.overlapTrigger||(ut="top"===We?"bottom":"top",It="top"===Ct?"bottom":"top");ve.withPositions([{originX:ce,originY:ut,overlayX:Ae,overlayY:We,offsetY:rt},{originX:Ze,originY:ut,overlayX:Be,overlayY:We,offsetY:rt},{originX:ce,originY:It,overlayX:Ae,overlayY:Ct,offsetY:-rt},{originX:Ze,originY:It,overlayX:Be,overlayY:Ct,offsetY:-rt}])}_menuClosingActions(){const re=this._overlayRef.backdropClick(),ve=this._overlayRef.detachments(),ce=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,m.of)(),Ze=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,k.h)(We=>We!==this._menuItemInstance),(0,k.h)(()=>this._menuOpen)):(0,m.of)();return(0,l.T)(re,ce,Ze,ve)}_handleMousedown(re){(0,t.X6)(re)||(this._openedBy=0===re.button?"mouse":void 0,this.triggersSubmenu()&&re.preventDefault())}_handleKeydown(re){const ve=re.keyCode;(ve===y.K5||ve===y.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ve===y.SV&&"ltr"===this.dir||ve===y.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(re){this.triggersSubmenu()?(re.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,k.h)(re=>re===this._menuItemInstance&&!re.disabled),(0,z.g)(0,P.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ct&&this.menu._isAnimating?this.menu._animationDone.pipe((0,M.q)(1),(0,z.g)(0,P.E),(0,I.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(re){return(!this._portal||this._portal.templateRef!==re.templateRef)&&(this._portal=new j.UE(re.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(ve){return new(ve||pe)(e.Y36(ie.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(Ke),e.Y36(s,8),e.Y36(f,10),e.Y36(X.Is,8),e.Y36(t.tE),e.Y36(e.R0b))};static#t=this.\u0275dir=e.lG2({type:pe,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(ve,ce){1&ve&&e.NdJ("click",function(We){return ce._handleClick(We)})("mousedown",function(We){return ce._handleMousedown(We)})("keydown",function(We){return ce._handleKeydown(We)}),2&ve&&e.uIk("aria-haspopup",ce.menu?"menu":null)("aria-expanded",ce.menuOpen)("aria-controls",ce.menuOpen?ce.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]})}return pe})(),le=(()=>{class pe{static#e=this.\u0275fac=function(ve){return new(ve||pe)};static#t=this.\u0275mod=e.oAB({type:pe});static#i=this.\u0275inj=e.cJS({providers:[ye],imports:[B.ez,W.si,W.BQ,ie.U8,ue.ZD,W.BQ]})}return pe})()},1476:(Fe,q,p)=>{"use strict";p.d(q,{NW:()=>ae,TU:()=>Me,ye:()=>B});var e=p(9212),t=p(8645),y=p(2296),A=p(8525),l=p(2596),w=p(3680),m=p(2495),P=p(5683);function d(J,he){if(1&J&&(e.TgZ(0,"mat-option",18),e._uU(1),e.qZA()),2&J){const S=he.$implicit;e.Q6J("value",S),e.xp6(1),e.hij(" ",S," ")}}function E(J,he){if(1&J){const S=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(s){e.CHM(S);const f=e.oxw(2);return e.KtG(f._changePageSize(s.value))}),e.SjG(2,d,2,2,"mat-option",18,e.x6l),e.qZA()()}if(2&J){const S=e.oxw(2);e.Q6J("appearance",S._formFieldAppearance)("color",S.color),e.xp6(1),e.Q6J("value",S.pageSize)("disabled",S.disabled)("aria-labelledby",S._pageSizeLabelId)("panelClass",S.selectConfig.panelClass||"")("disableOptionCentering",S.selectConfig.disableOptionCentering),e.xp6(1),e.wJu(S._displayedPageSizeOptions)}}function M(J,he){if(1&J&&(e.TgZ(0,"div",19),e._uU(1),e.qZA()),2&J){const S=e.oxw(2);e.xp6(1),e.Oqu(S.pageSize)}}function I(J,he){if(1&J&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,E,4,7,"mat-form-field",14)(4,M,2,1,"div",15),e.qZA()),2&J){const S=e.oxw();e.xp6(1),e.uIk("id",S._pageSizeLabelId),e.xp6(1),e.hij(" ",S._intl.itemsPerPageLabel," "),e.xp6(1),e.um2(3,S._displayedPageSizeOptions.length>1?3:-1),e.xp6(1),e.um2(4,S._displayedPageSizeOptions.length<=1?4:-1)}}function k(J,he){if(1&J){const S=e.EpF();e.TgZ(0,"button",20),e.NdJ("click",function(){e.CHM(S);const s=e.oxw();return e.KtG(s.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",21),e.qZA()()}if(2&J){const S=e.oxw();e.Q6J("matTooltip",S._intl.firstPageLabel)("matTooltipDisabled",S._previousButtonsDisabled())("matTooltipPosition","above")("disabled",S._previousButtonsDisabled()),e.uIk("aria-label",S._intl.firstPageLabel)}}function z(J,he){if(1&J){const S=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(S);const s=e.oxw();return e.KtG(s.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",23),e.qZA()()}if(2&J){const S=e.oxw();e.Q6J("matTooltip",S._intl.lastPageLabel)("matTooltipDisabled",S._nextButtonsDisabled())("matTooltipPosition","above")("disabled",S._nextButtonsDisabled()),e.uIk("aria-label",S._intl.lastPageLabel)}}let B=(()=>{class J{constructor(){this.changes=new t.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(S,n,s)=>{if(0==s||0==n)return`0 of ${s}`;const f=S*n;return`${f+1} \u2013 ${f<(s=Math.max(s,0))?Math.min(f+n,s):f+n} of ${s}`}}static#e=this.\u0275fac=function(n){return new(n||J)};static#t=this.\u0275prov=e.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const j={provide:B,deps:[[new e.FiY,new e.tp0,B]],useFactory:function W(J){return J||new B}},ie=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),se=(0,w.Id)((0,w.dB)(class{}));let ue=0,ae=(()=>{class J extends se{get pageIndex(){return this._pageIndex}set pageIndex(S){this._pageIndex=Math.max((0,m.su)(S),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(S){this._length=(0,m.su)(S),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(S){this._pageSize=Math.max((0,m.su)(S),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(S){this._pageSizeOptions=(S||[]).map(n=>(0,m.su)(n)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(S){this._hidePageSize=(0,m.Ig)(S)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(S){this._showFirstLastButtons=(0,m.Ig)(S)}constructor(S,n,s){if(super(),this._intl=S,this._changeDetectorRef=n,this._pageSizeLabelId="mat-paginator-page-size-label-"+ue++,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=S.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:f,pageSizeOptions:h,hidePageSize:C,showFirstLastButtons:D}=s;null!=f&&(this._pageSize=f),null!=h&&(this._pageSizeOptions=h),null!=C&&(this._hidePageSize=C),null!=D&&(this._showFirstLastButtons=D)}this._formFieldAppearance=s?.formFieldAppearance||"outline"}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(S)}previousPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(S)}firstPage(){if(!this.hasPreviousPage())return;const S=this.pageIndex;this.pageIndex=0,this._emitPageEvent(S)}lastPage(){if(!this.hasNextPage())return;const S=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(S)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const S=this.getNumberOfPages()-1;return this.pageIndexS-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(S){this.page.emit({previousPageIndex:S,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(n){return new(n||J)(e.Y36(B),e.Y36(e.sBO),e.Y36(ie,8))};static#t=this.\u0275cmp=e.Xpm({type:J,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled",color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color"],["class","mat-mdc-paginator-page-size-value"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,I,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,k,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return s.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return s.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,z,3,5,"button",11),e.qZA()()()),2&n&&(e.xp6(2),e.um2(2,s.hidePageSize?-1:2),e.xp6(3),e.hij(" ",s._intl.getRangeLabel(s.pageIndex,s.pageSize,s.length)," "),e.xp6(1),e.um2(6,s.showFirstLastButtons?6:-1),e.xp6(1),e.Q6J("matTooltip",s._intl.previousPageLabel)("matTooltipDisabled",s._previousButtonsDisabled())("matTooltipPosition","above")("disabled",s._previousButtonsDisabled()),e.uIk("aria-label",s._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",s._intl.nextPageLabel)("matTooltipDisabled",s._nextButtonsDisabled())("matTooltipPosition","above")("disabled",s._nextButtonsDisabled()),e.uIk("aria-label",s._intl.nextPageLabel),e.xp6(3),e.um2(13,s.showFirstLastButtons?13:-1))},dependencies:[y.RK,P.KE,A.gD,w.ey,l.gM],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return J})(),Me=(()=>{class J{static#e=this.\u0275fac=function(n){return new(n||J)};static#t=this.\u0275mod=e.oAB({type:J});static#i=this.\u0275inj=e.cJS({providers:[j],imports:[y.ot,A.LD,l.AV]})}return J})()},6007:(Fe,q,p)=>{"use strict";p.d(q,{Cv:()=>M,pW:()=>d});var e=p(9212),y=(p(6814),p(3680)),A=p(2495);const l=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,y.pj)(class{constructor(I){this._elementRef=I}},"primary");let d=(()=>{class I extends P{constructor(z,B,W,j,K){super(z),this._ngZone=B,this._changeDetectorRef=W,this._animationMode=j,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=X=>{0===this.animationEnd.observers.length||!X.target||!X.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===j,K&&(K.color&&(this.color=this.defaultColor=K.color),this.mode=K.mode||this.mode)}get value(){return this._value}set value(z){this._value=E((0,A.su)(z)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(z){this._bufferValue=E((0,A.su)(z)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(z){this._mode=z,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(B){return new(B||I)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(l,8))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(B,W){2&B&&(e.uIk("aria-valuenow",W._isIndeterminate()?null:W.value)("mode",W.mode),e.ekj("_mat-animation-noopable",W._isNoopAnimation)("mdc-linear-progress--animation-ready",!W._isNoopAnimation)("mdc-linear-progress--indeterminate",W._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(B,W){1&B&&(e.TgZ(0,"div",0),e._UZ(1,"div",1)(2,"div",2),e.qZA(),e.TgZ(3,"div",3),e._UZ(4,"span",4),e.qZA(),e.TgZ(5,"div",5),e._UZ(6,"span",4),e.qZA()),2&B&&(e.xp6(1),e.Udp("flex-basis",W._getBufferBarFlexBasis()),e.xp6(2),e.Udp("transform",W._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return I})();function E(I,k=0,z=100){return Math.max(k,Math.min(z,I))}let M=(()=>{class I{static#e=this.\u0275fac=function(B){return new(B||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[y.BQ]})}return I})()},5940:(Fe,q,p)=>{"use strict";p.d(q,{Cq:()=>z,Ou:()=>I});var e=p(9212),t=p(3680),y=p(2495),A=p(6814);const l=["determinateSpinner"];function w(B,W){if(1&B&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&B){const j=e.oxw();e.uIk("viewBox",j._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeCircumference()/2,"px")("stroke-width",j._circleStrokeWidth(),"%"),e.uIk("r",j._circleRadius())}}const m=(0,t.pj)(class{constructor(B){this._elementRef=B}},"primary"),P=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:E}}}),E=100;let I=(()=>{class B extends m{constructor(j,K,X){super(j),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=E,this._noopAnimations="NoopAnimations"===K&&!!X&&!X._forceAnimations,X&&(X.color&&(this.color=this.defaultColor=X.color),X.diameter&&(this.diameter=X.diameter),X.strokeWidth&&(this.strokeWidth=X.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(j){this._value=Math.max(0,Math.min(100,(0,y.su)(j)))}get diameter(){return this._diameter}set diameter(j){this._diameter=(0,y.su)(j)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(j){this._strokeWidth=(0,y.su)(j)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const j=2*this._circleRadius()+this.strokeWidth;return`0 0 ${j} ${j}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static#e=this.\u0275fac=function(K){return new(K||B)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(P))};static#t=this.\u0275cmp=e.Xpm({type:B,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(K,X){if(1&K&&e.Gf(l,5),2&K){let ie;e.iGM(ie=e.CRH())&&(X._determinateCircle=ie.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(K,X){2&K&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===X.mode?X.value:null)("mode",X.mode),e.Udp("width",X.diameter,"px")("height",X.diameter,"px")("--mdc-circular-progress-size",X.diameter+"px")("--mdc-circular-progress-active-indicator-width",X.diameter+"px"),e.ekj("_mat-animation-noopable",X._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===X.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(K,X){if(1&K&&(e.YNc(0,w,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&K){const ie=e.MAs(1);e.xp6(4),e.uIk("viewBox",X._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",X._strokeCircumference(),"px")("stroke-dashoffset",X._strokeDashOffset(),"px")("stroke-width",X._circleStrokeWidth(),"%"),e.uIk("r",X._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",ie),e.xp6(2),e.Q6J("ngTemplateOutlet",ie),e.xp6(2),e.Q6J("ngTemplateOutlet",ie)}},dependencies:[A.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0})}return B})(),z=(()=>{class B{static#e=this.\u0275fac=function(K){return new(K||B)};static#t=this.\u0275mod=e.oAB({type:B});static#i=this.\u0275inj=e.cJS({imports:[A.ez,t.BQ]})}return B})()},7466:(Fe,q,p)=>{"use strict";p.d(q,{Fk:()=>ie,U0:()=>X,VQ:()=>W});var e=p(9212),t=p(3680),y=p(4300),A=p(2495),l=p(8337),w=p(6223),m=p(6814);const P=["input"],d=["*"];let E=0;class M{constructor(ue,ae){this.source=ue,this.value=ae}}const I={provide:w.JU,useExisting:(0,e.Gpc)(()=>W),multi:!0},k=new e.OlP("MatRadioGroup"),z=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function B(){return{color:"accent"}}});let W=(()=>{class se{get name(){return this._name}set name(ae){this._name=ae,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ae){this._labelPosition="before"===ae?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ae){this._value!==ae&&(this._value=ae,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ae){this._selected=ae,this.value=ae?ae.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ae){this._disabled=(0,A.Ig)(ae),this._markRadiosForCheck()}get required(){return this._required}set required(ae){this._required=(0,A.Ig)(ae),this._markRadiosForCheck()}constructor(ae){this._changeDetector=ae,this._value=null,this._name="mat-radio-group-"+E++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(ae=>ae===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ae=>{ae.name=this.name,ae._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Me=>{Me.checked=this.value===Me.value,Me.checked&&(this._selected=Me)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new M(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ae=>ae._markForCheck())}writeValue(ae){this.value=ae,this._changeDetector.markForCheck()}registerOnChange(ae){this._controlValueAccessorChangeFn=ae}registerOnTouched(ae){this.onTouched=ae}setDisabledState(ae){this.disabled=ae,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(Me){return new(Me||se)(e.Y36(e.sBO))};static#t=this.\u0275dir=e.lG2({type:se,selectors:[["mat-radio-group"]],contentQueries:function(Me,J,he){if(1&Me&&e.Suo(he,X,5),2&Me){let S;e.iGM(S=e.CRH())&&(J._radios=S)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[e._Bn([I,{provide:k,useExisting:se}])]})}return se})();class j{constructor(ue){this._elementRef=ue}}const K=(0,t.Kr)((0,t.sb)(j));let X=(()=>{class se extends K{get checked(){return this._checked}set checked(ae){const Me=(0,A.Ig)(ae);this._checked!==Me&&(this._checked=Me,Me&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Me&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Me&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ae){this._value!==ae&&(this._value=ae,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ae),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ae){this._labelPosition=ae}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ae){this._setDisabled((0,A.Ig)(ae))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ae){this._required=(0,A.Ig)(ae)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ae){this._color=ae}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ae,Me,J,he,S,n,s,f){super(Me),this._changeDetector=J,this._focusMonitor=he,this._radioDispatcher=S,this._providerOverride=s,this._uniqueId="mat-radio-"+ ++E,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ae,this._noopAnimations="NoopAnimations"===n,f&&(this.tabIndex=(0,A.su)(f,0))}focus(ae,Me){Me?this._focusMonitor.focusVia(this._inputElement,Me,ae):this._inputElement.nativeElement.focus(ae)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((ae,Me)=>{ae!==this.id&&Me===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ae=>{!ae&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new M(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ae){ae.stopPropagation()}_onInputInteraction(ae){if(ae.stopPropagation(),!this.checked&&!this.disabled){const Me=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Me&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(ae){this._onInputInteraction(ae),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(ae){this._disabled!==ae&&(this._disabled=ae,this._changeDetector.markForCheck())}_updateTabIndex(){const ae=this.radioGroup;let Me;if(Me=ae&&ae.selected&&!this.disabled?ae.selected===this?this.tabIndex:-1:this.tabIndex,Me!==this._previousTabIndex){const J=this._inputElement?.nativeElement;J&&(J.setAttribute("tabindex",Me+""),this._previousTabIndex=Me)}}static#e=this.\u0275fac=function(Me){return new(Me||se)(e.Y36(k,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(y.tE),e.Y36(l.A8),e.Y36(e.QbO,8),e.Y36(z,8),e.$8M("tabindex"))};static#t=this.\u0275cmp=e.Xpm({type:se,selectors:[["mat-radio-button"]],viewQuery:function(Me,J){if(1&Me&&e.Gf(P,5),2&Me){let he;e.iGM(he=e.CRH())&&(J._inputElement=he.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(Me,J){1&Me&&e.NdJ("focus",function(){return J._inputElement.nativeElement.focus()}),2&Me&&(e.uIk("id",J.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-primary","primary"===J.color)("mat-accent","accent"===J.color)("mat-warn","warn"===J.color)("mat-mdc-radio-checked",J.checked)("_mat-animation-noopable",J._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:d,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(Me,J){if(1&Me&&(e.F$t(),e.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),e.NdJ("click",function(S){return J._onTouchTargetClick(S)}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("change",function(S){return J._onInputInteraction(S)}),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"div",7)(8,"div",8),e.qZA(),e.TgZ(9,"div",9),e._UZ(10,"div",10),e.qZA()(),e.TgZ(11,"label",11),e.Hsn(12),e.qZA()()),2&Me){const he=e.MAs(1);e.ekj("mdc-form-field--align-end","before"==J.labelPosition),e.xp6(2),e.ekj("mdc-radio--disabled",J.disabled),e.xp6(2),e.Q6J("id",J.inputId)("checked",J.checked)("disabled",J.disabled)("required",J.required),e.uIk("name",J.name)("value",J.value)("aria-label",J.ariaLabel)("aria-labelledby",J.ariaLabelledby)("aria-describedby",J.ariaDescribedby),e.xp6(5),e.Q6J("matRippleTrigger",he)("matRippleDisabled",J._isRippleDisabled())("matRippleCentered",!0),e.xp6(2),e.Q6J("for",J.inputId)}},dependencies:[t.wG],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return se})(),ie=(()=>{class se{static#e=this.\u0275fac=function(Me){return new(Me||se)};static#t=this.\u0275mod=e.oAB({type:se});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,m.ez,t.si,t.BQ]})}return se})()},8525:(Fe,q,p)=>{"use strict";p.d(q,{$L:()=>fe,LD:()=>de,PG:()=>ee,gD:()=>ye});var e=p(3651),t=p(6814),y=p(9212),A=p(3680),l=p(5683),w=p(5407),m=p(4300),P=p(9388),d=p(2495),E=p(8337),M=p(6028),I=p(6223),k=p(8645),z=p(4911),B=p(3019),W=p(7921),j=p(4664),K=p(8180),X=p(2181),ie=p(7398),se=p(3997),ue=p(9773),ae=p(6825);const Me=["trigger"],J=["panel"];function he(xe,le){if(1&xe&&(y.TgZ(0,"span",9),y._uU(1),y.qZA()),2&xe){const pe=y.oxw();y.xp6(1),y.Oqu(pe.placeholder)}}function S(xe,le){1&xe&&y.Hsn(0)}function n(xe,le){if(1&xe&&(y.TgZ(0,"span",11),y._uU(1),y.qZA()),2&xe){const pe=y.oxw(2);y.xp6(1),y.Oqu(pe.triggerValue)}}function s(xe,le){if(1&xe&&(y.TgZ(0,"span",10),y.YNc(1,S,1,0)(2,n,2,1),y.qZA()),2&xe){const pe=y.oxw();y.xp6(1),y.um2(1,pe.customTrigger?1:2)}}function f(xe,le){if(1&xe){const pe=y.EpF();y.O4$(),y.kcU(),y.TgZ(0,"div",12,13),y.NdJ("@transformPanel.done",function(re){y.CHM(pe);const ve=y.oxw();return y.KtG(ve._panelDoneAnimatingStream.next(re.toState))})("keydown",function(re){y.CHM(pe);const ve=y.oxw();return y.KtG(ve._handleKeydown(re))}),y.Hsn(2,1),y.qZA()}if(2&xe){const pe=y.oxw();y.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",pe._getPanelTheme(),""),y.Q6J("ngClass",pe.panelClass)("@transformPanel","showing"),y.uIk("id",pe.id+"-panel")("aria-multiselectable",pe.multiple)("aria-label",pe.ariaLabel||null)("aria-labelledby",pe._getPanelAriaLabelledby())}}const h=[[["mat-select-trigger"]],"*"],C=["mat-select-trigger","*"],D={transformPanelWrap:(0,ae.X$)("transformPanelWrap",[(0,ae.eR)("* => void",(0,ae.IO)("@transformPanel",[(0,ae.pV)()],{optional:!0}))]),transformPanel:(0,ae.X$)("transformPanel",[(0,ae.SB)("void",(0,ae.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ae.eR)("void => showing",(0,ae.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ae.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ae.eR)("* => void",(0,ae.jt)("100ms linear",(0,ae.oB)({opacity:0})))])};let g=0;const H=new y.OlP("mat-select-scroll-strategy"),ee=new y.OlP("MAT_SELECT_CONFIG"),De={provide:H,deps:[e.aV],useFactory:function R(xe){return()=>xe.scrollStrategies.reposition()}},ct=new y.OlP("MatSelectTrigger");class Ke{constructor(le,pe){this.source=le,this.value=pe}}const Je=(0,A.Kr)((0,A.sb)((0,A.Id)((0,A.FD)(class{constructor(xe,le,pe,qe,re){this._elementRef=xe,this._defaultErrorStateMatcher=le,this._parentForm=pe,this._parentFormGroup=qe,this.ngControl=re,this.stateChanges=new k.x}}))));let ye=(()=>{class xe extends Je{_scrollOptionIntoView(pe){const qe=this.options.toArray()[pe];if(qe){const re=this.panel.nativeElement,ve=(0,A.CB)(pe,this.options,this.optionGroups),ce=qe._getHostElement();re.scrollTop=0===pe&&1===ve?0:(0,A.jH)(ce.offsetTop,ce.offsetHeight,re.scrollTop,re.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(pe){return new Ke(this,pe)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(pe){this._hideSingleSelectionIndicator=(0,d.Ig)(pe),this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(pe){this._placeholder=pe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(pe){this._required=(0,d.Ig)(pe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(pe){this._multiple=(0,d.Ig)(pe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(pe){this._disableOptionCentering=(0,d.Ig)(pe)}get compareWith(){return this._compareWith}set compareWith(pe){this._compareWith=pe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(pe){this._assignValue(pe)&&this._onChange(pe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(pe){this._typeaheadDebounceInterval=(0,d.su)(pe)}get id(){return this._id}set id(pe){this._id=pe||this._uid,this.stateChanges.next()}constructor(pe,qe,re,ve,ce,Ze,We,Ct,ut,It,Ae,Be,rt,$e){super(ce,ve,We,Ct,It),this._viewportRuler=pe,this._changeDetectorRef=qe,this._ngZone=re,this._dir=Ze,this._parentFormField=ut,this._liveAnnouncer=rt,this._defaultOptions=$e,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Ie,lt)=>Ie===lt,this._uid="mat-select-"+g++,this._triggerAriaLabelledBy=null,this._destroy=new k.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+g++,this._panelDoneAnimatingStream=new k.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this.optionSelectionChanges=(0,z.P)(()=>{const Ie=this.options;return Ie?Ie.changes.pipe((0,W.O)(Ie),(0,j.w)(()=>(0,B.T)(...Ie.map(lt=>lt.onSelectionChange)))):this._ngZone.onStable.pipe((0,K.q)(1),(0,j.w)(()=>this.optionSelectionChanges))}),this.openedChange=new y.vpe,this._openedStream=this.openedChange.pipe((0,X.h)(Ie=>Ie),(0,ie.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,X.h)(Ie=>!Ie),(0,ie.U)(()=>{})),this.selectionChange=new y.vpe,this.valueChange=new y.vpe,this._trackedModal=null,this._skipPredicate=Ie=>!this.panelOpen&&Ie.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),null!=$e?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=$e.typeaheadDebounceInterval),this._scrollStrategyFactory=Be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ae)||0,this.id=this.id}ngOnInit(){this._selectionModel=new E.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,se.x)(),(0,ue.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe((0,ue.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ue.R)(this._destroy)).subscribe(pe=>{pe.added.forEach(qe=>qe.select()),pe.removed.forEach(qe=>qe.deselect())}),this.options.changes.pipe((0,W.O)(null),(0,ue.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const pe=this._getTriggerAriaLabelledby(),qe=this.ngControl;if(pe!==this._triggerAriaLabelledBy){const re=this._elementRef.nativeElement;this._triggerAriaLabelledBy=pe,pe?re.setAttribute("aria-labelledby",pe):re.removeAttribute("aria-labelledby")}qe&&(this._previousControl!==qe.control&&(void 0!==this._previousControl&&null!==qe.disabled&&qe.disabled!==this.disabled&&(this.disabled=qe.disabled),this._previousControl=qe.control),this.updateErrorState())}ngOnChanges(pe){(pe.disabled||pe.userAriaDescribedBy)&&this.stateChanges.next(),pe.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck()),this.stateChanges.next()}_applyModalPanelOwnership(){const pe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!pe)return;const qe=`${this.id}-panel`;this._trackedModal&&(0,m.iD)(this._trackedModal,"aria-owns",qe),(0,m.Zf)(pe,"aria-owns",qe),this._trackedModal=pe}_clearFromModal(){this._trackedModal&&((0,m.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched()),this.stateChanges.next()}writeValue(pe){this._assignValue(pe)}registerOnChange(pe){this._onChange=pe}registerOnTouched(pe){this._onTouched=pe}setDisabledState(pe){this.disabled=pe,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const pe=this._selectionModel.selected.map(qe=>qe.viewValue);return this._isRtl()&&pe.reverse(),pe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(pe){this.disabled||(this.panelOpen?this._handleOpenKeydown(pe):this._handleClosedKeydown(pe))}_handleClosedKeydown(pe){const qe=pe.keyCode,re=qe===M.JH||qe===M.LH||qe===M.oh||qe===M.SV,ve=qe===M.K5||qe===M.L_,ce=this._keyManager;if(!ce.isTyping()&&ve&&!(0,M.Vb)(pe)||(this.multiple||pe.altKey)&&re)pe.preventDefault(),this.open();else if(!this.multiple){const Ze=this.selected;ce.onKeydown(pe);const We=this.selected;We&&Ze!==We&&this._liveAnnouncer.announce(We.viewValue,1e4)}}_handleOpenKeydown(pe){const qe=this._keyManager,re=pe.keyCode,ve=re===M.JH||re===M.LH,ce=qe.isTyping();if(ve&&pe.altKey)pe.preventDefault(),this.close();else if(ce||re!==M.K5&&re!==M.L_||!qe.activeItem||(0,M.Vb)(pe))if(!ce&&this._multiple&&re===M.A&&pe.ctrlKey){pe.preventDefault();const Ze=this.options.some(We=>!We.disabled&&!We.selected);this.options.forEach(We=>{We.disabled||(Ze?We.select():We.deselect())})}else{const Ze=qe.activeItemIndex;qe.onKeydown(pe),this._multiple&&ve&&pe.shiftKey&&qe.activeItem&&qe.activeItemIndex!==Ze&&qe.activeItem._selectViaInteraction()}else pe.preventDefault(),qe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,K.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(pe){if(this.options.forEach(qe=>qe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&pe)Array.isArray(pe),pe.forEach(qe=>this._selectOptionByValue(qe)),this._sortValues();else{const qe=this._selectOptionByValue(pe);qe?this._keyManager.updateActiveItem(qe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(pe){const qe=this.options.find(re=>{if(this._selectionModel.isSelected(re))return!1;try{return null!=re.value&&this._compareWith(re.value,pe)}catch{return!1}});return qe&&this._selectionModel.select(qe),qe}_assignValue(pe){return!!(pe!==this._value||this._multiple&&Array.isArray(pe))&&(this.options&&this._setSelectionByValue(pe),this._value=pe,!0)}_getOverlayWidth(pe){return"auto"===this.panelWidth?(pe instanceof e.xu?pe.elementRef:pe||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const pe of this.options)pe._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const pe=(0,B.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ue.R)(pe)).subscribe(qe=>{this._onSelect(qe.source,qe.isUserInput),qe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,B.T)(...this.options.map(qe=>qe._stateChanges)).pipe((0,ue.R)(pe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(pe,qe){const re=this._selectionModel.isSelected(pe);null!=pe.value||this._multiple?(re!==pe.selected&&(pe.selected?this._selectionModel.select(pe):this._selectionModel.deselect(pe)),qe&&this._keyManager.setActiveItem(pe),this.multiple&&(this._sortValues(),qe&&this.focus())):(pe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(pe.value)),re!==this._selectionModel.isSelected(pe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const pe=this.options.toArray();this._selectionModel.sort((qe,re)=>this.sortComparator?this.sortComparator(qe,re,pe):pe.indexOf(qe)-pe.indexOf(re)),this.stateChanges.next()}}_propagateChanges(pe){let qe;qe=this.multiple?this.selected.map(re=>re.value):this.selected?this.selected.value:pe,this._value=qe,this.valueChange.emit(qe),this._onChange(qe),this.selectionChange.emit(this._getChangeEvent(qe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let pe=-1;for(let qe=0;qe0}focus(pe){this._elementRef.nativeElement.focus(pe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const pe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(pe?pe+" ":"")+this.ariaLabelledby:pe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const pe=this._parentFormField?.getLabelId();let qe=(pe?pe+" ":"")+this._valueId;return this.ariaLabelledby&&(qe+=" "+this.ariaLabelledby),qe}_panelDoneAnimating(pe){this.openedChange.emit(pe)}setDescribedByIds(pe){pe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",pe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static#e=this.\u0275fac=function(qe){return new(qe||xe)(y.Y36(w.rL),y.Y36(y.sBO),y.Y36(y.R0b),y.Y36(A.rD),y.Y36(y.SBq),y.Y36(P.Is,8),y.Y36(I.F,8),y.Y36(I.sg,8),y.Y36(l.G_,8),y.Y36(I.a5,10),y.$8M("tabindex"),y.Y36(H),y.Y36(m.Kd),y.Y36(ee,8))};static#t=this.\u0275cmp=y.Xpm({type:xe,selectors:[["mat-select"]],contentQueries:function(qe,re,ve){if(1&qe&&(y.Suo(ve,ct,5),y.Suo(ve,A.ey,5),y.Suo(ve,A.K7,5)),2&qe){let ce;y.iGM(ce=y.CRH())&&(re.customTrigger=ce.first),y.iGM(ce=y.CRH())&&(re.options=ce),y.iGM(ce=y.CRH())&&(re.optionGroups=ce)}},viewQuery:function(qe,re){if(1&qe&&(y.Gf(Me,5),y.Gf(J,5),y.Gf(e.pI,5)),2&qe){let ve;y.iGM(ve=y.CRH())&&(re.trigger=ve.first),y.iGM(ve=y.CRH())&&(re.panel=ve.first),y.iGM(ve=y.CRH())&&(re._overlayDir=ve.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(qe,re){1&qe&&y.NdJ("keydown",function(ce){return re._handleKeydown(ce)})("focus",function(){return re._onFocus()})("blur",function(){return re._onBlur()}),2&qe&&(y.uIk("id",re.id)("tabindex",re.tabIndex)("aria-controls",re.panelOpen?re.id+"-panel":null)("aria-expanded",re.panelOpen)("aria-label",re.ariaLabel||null)("aria-required",re.required.toString())("aria-disabled",re.disabled.toString())("aria-invalid",re.errorState)("aria-activedescendant",re._getAriaActiveDescendant()),y.ekj("mat-mdc-select-disabled",re.disabled)("mat-mdc-select-invalid",re.errorState)("mat-mdc-select-required",re.required)("mat-mdc-select-empty",re.empty)("mat-mdc-select-multiple",re.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[y._Bn([{provide:l.Eo,useExisting:xe},{provide:A.HF,useExisting:xe}]),y.qOj,y.TTD],ngContentSelectors:C,decls:11,vars:8,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(qe,re){if(1&qe&&(y.F$t(h),y.TgZ(0,"div",0,1),y.NdJ("click",function(){return re.toggle()}),y.TgZ(3,"div",2),y.YNc(4,he,2,1,"span",3)(5,s,3,1),y.qZA(),y.TgZ(6,"div",4)(7,"div",5),y.O4$(),y.TgZ(8,"svg",6),y._UZ(9,"path",7),y.qZA()()()(),y.YNc(10,f,3,9,"ng-template",8),y.NdJ("backdropClick",function(){return re.close()})("attach",function(){return re._onAttached()})("detach",function(){return re.close()})),2&qe){const ve=y.MAs(1);y.xp6(3),y.uIk("id",re._valueId),y.xp6(1),y.um2(4,re.empty?4:5),y.xp6(6),y.Q6J("cdkConnectedOverlayPanelClass",re._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",re._scrollStrategy)("cdkConnectedOverlayOrigin",re._preferredOverlayOrigin||ve)("cdkConnectedOverlayOpen",re.panelOpen)("cdkConnectedOverlayPositions",re._positions)("cdkConnectedOverlayWidth",re._overlayWidth)}},dependencies:[t.mk,e.pI,e.xu],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[D.transformPanel]},changeDetection:0})}return xe})(),fe=(()=>{class xe{static#e=this.\u0275fac=function(qe){return new(qe||xe)};static#t=this.\u0275dir=y.lG2({type:xe,selectors:[["mat-select-trigger"]],features:[y._Bn([{provide:ct,useExisting:xe}])]})}return xe})(),de=(()=>{class xe{static#e=this.\u0275fac=function(qe){return new(qe||xe)};static#t=this.\u0275mod=y.oAB({type:xe});static#i=this.\u0275inj=y.cJS({providers:[De],imports:[t.ez,e.U8,A.Ng,A.BQ,w.ZD,l.lN,A.Ng,A.BQ]})}return xe})()},2651:(Fe,q,p)=>{"use strict";p.d(q,{JX:()=>ct,Rh:()=>De,SJ:()=>Je,TM:()=>Ke});var e=p(5407),t=p(9212),y=p(3680),A=p(4300),l=p(9388),w=p(2495),m=p(6028),P=p(2831),d=p(6814),E=p(8645),M=p(2438),I=p(3019),k=p(2181),z=p(7398),B=p(975),W=p(9773),j=p(3997),K=p(8180),X=p(7921),ie=p(3620),se=p(6825);const ue=["*"],ae=["content"];function Me(ye,fe){if(1&ye){const de=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(de);const le=t.oxw();return t.KtG(le._onBackdropClicked())}),t.qZA()}if(2&ye){const de=t.oxw();t.ekj("mat-drawer-shown",de._isShowingBackdrop())}}function J(ye,fe){1&ye&&(t.TgZ(0,"mat-drawer-content"),t.Hsn(1,2),t.qZA())}const he=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],S=["mat-drawer","mat-drawer-content","*"];function n(ye,fe){if(1&ye){const de=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(de);const le=t.oxw();return t.KtG(le._onBackdropClicked())}),t.qZA()}if(2&ye){const de=t.oxw();t.ekj("mat-drawer-shown",de._isShowingBackdrop())}}function s(ye,fe){1&ye&&(t.TgZ(0,"mat-sidenav-content"),t.Hsn(1,2),t.qZA())}const f=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],h=["mat-sidenav","mat-sidenav-content","*"],D={transformDrawer:(0,se.X$)("transform",[(0,se.SB)("open, open-instant",(0,se.oB)({transform:"none",visibility:"visible"})),(0,se.SB)("void",(0,se.oB)({"box-shadow":"none",visibility:"hidden"})),(0,se.eR)("void => open-instant",(0,se.jt)("0ms")),(0,se.eR)("void <=> open, open-instant => void",(0,se.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},v=new t.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function g(){return!1}}),r=new t.OlP("MAT_DRAWER_CONTAINER");let H=(()=>{class ye extends e.PQ{constructor(de,xe,le,pe,qe){super(le,pe,qe),this._changeDetectorRef=de,this._container=xe}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>ee)),t.Y36(t.SBq),t.Y36(e.mF),t.Y36(t.R0b))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(xe,le){2&xe&&t.Udp("margin-left",le._container._contentMargins.left,"px")("margin-right",le._container._contentMargins.right,"px")},features:[t._Bn([{provide:e.PQ,useExisting:ye}]),t.qOj],ngContentSelectors:ue,decls:1,vars:0,template:function(xe,le){1&xe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return ye})(),R=(()=>{class ye{get position(){return this._position}set position(de){(de="end"===de?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(de),this._position=de,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(de){this._mode=de,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(de){this._disableClose=(0,w.Ig)(de)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(de){("true"===de||"false"===de||null==de)&&(de=(0,w.Ig)(de)),this._autoFocus=de}get opened(){return this._opened}set opened(de){this.toggle((0,w.Ig)(de))}constructor(de,xe,le,pe,qe,re,ve,ce){this._elementRef=de,this._focusTrapFactory=xe,this._focusMonitor=le,this._platform=pe,this._ngZone=qe,this._interactivityChecker=re,this._doc=ve,this._container=ce,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new E.x,this._animationEnd=new E.x,this._animationState="void",this.openedChange=new t.vpe(!0),this._openedStream=this.openedChange.pipe((0,k.h)(Ze=>Ze),(0,z.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,k.h)(Ze=>Ze.fromState!==Ze.toState&&0===Ze.toState.indexOf("open")),(0,B.h)(void 0)),this._closedStream=this.openedChange.pipe((0,k.h)(Ze=>!Ze),(0,z.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,k.h)(Ze=>Ze.fromState!==Ze.toState&&"void"===Ze.toState),(0,B.h)(void 0)),this._destroyed=new E.x,this.onPositionChanged=new t.vpe,this._modeChanged=new E.x,this.openedChange.subscribe(Ze=>{Ze?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,M.R)(this._elementRef.nativeElement,"keydown").pipe((0,k.h)(Ze=>Ze.keyCode===m.hY&&!this.disableClose&&!(0,m.Vb)(Ze)),(0,W.R)(this._destroyed)).subscribe(Ze=>this._ngZone.run(()=>{this.close(),Ze.stopPropagation(),Ze.preventDefault()}))}),this._animationEnd.pipe((0,j.x)((Ze,We)=>Ze.fromState===We.fromState&&Ze.toState===We.toState)).subscribe(Ze=>{const{fromState:We,toState:Ct}=Ze;(0===Ct.indexOf("open")&&"void"===We||"void"===Ct&&0===We.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(de,xe){this._interactivityChecker.isFocusable(de)||(de.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const le=()=>{de.removeEventListener("blur",le),de.removeEventListener("mousedown",le),de.removeAttribute("tabindex")};de.addEventListener("blur",le),de.addEventListener("mousedown",le)})),de.focus(xe)}_focusByCssSelector(de,xe){let le=this._elementRef.nativeElement.querySelector(de);le&&this._forceFocus(le,xe)}_takeFocus(){if(!this._focusTrap)return;const de=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(xe=>{!xe&&"function"==typeof this._elementRef.nativeElement.focus&&de.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(de){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,de):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const de=this._doc.activeElement;return!!de&&this._elementRef.nativeElement.contains(de)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(de){return this.toggle(!0,de)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(de=!this.opened,xe){de&&xe&&(this._openedVia=xe);const le=this._setOpen(de,!de&&this._isFocusWithinDrawer(),this._openedVia||"program");return de||(this._openedVia=null),le}_setOpen(de,xe,le){return this._opened=de,de?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",xe&&this._restoreFocus(le)),this._updateFocusTrapState(),new Promise(pe=>{this.openedChange.pipe((0,K.q)(1)).subscribe(qe=>pe(qe?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(de){const xe=this._elementRef.nativeElement,le=xe.parentNode;"end"===de?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),le.insertBefore(this._anchor,xe)),le.appendChild(xe)):this._anchor&&this._anchor.parentNode.insertBefore(xe,this._anchor)}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(t.SBq),t.Y36(A.qV),t.Y36(A.tE),t.Y36(P.t4),t.Y36(t.R0b),t.Y36(A.ic),t.Y36(d.K0,8),t.Y36(r,8))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer"]],viewQuery:function(xe,le){if(1&xe&&t.Gf(ae,5),2&xe){let pe;t.iGM(pe=t.CRH())&&(le._content=pe.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(xe,le){1&xe&&t.WFA("@transform.start",function(qe){return le._animationStarted.next(qe)})("@transform.done",function(qe){return le._animationEnd.next(qe)}),2&xe&&(t.uIk("align",null),t.d8E("@transform",le._animationState),t.ekj("mat-drawer-end","end"===le.position)("mat-drawer-over","over"===le.mode)("mat-drawer-push","push"===le.mode)("mat-drawer-side","side"===le.mode)("mat-drawer-opened",le.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:ue,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(xe,le){1&xe&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[D.transformDrawer]},changeDetection:0})}return ye})(),ee=(()=>{class ye{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(de){this._autosize=(0,w.Ig)(de)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(de){this._backdropOverride=null==de?null:(0,w.Ig)(de)}get scrollable(){return this._userContent||this._content}constructor(de,xe,le,pe,qe,re=!1,ve){this._dir=de,this._element=xe,this._ngZone=le,this._changeDetectorRef=pe,this._animationMode=ve,this._drawers=new t.n_E,this.backdropClick=new t.vpe,this._destroyed=new E.x,this._doCheckSubject=new E.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new E.x,de&&de.change.pipe((0,W.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),qe.change().pipe((0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=re}ngAfterContentInit(){this._allDrawers.changes.pipe((0,X.O)(this._allDrawers),(0,W.R)(this._destroyed)).subscribe(de=>{this._drawers.reset(de.filter(xe=>!xe._container||xe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,X.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(de=>{this._watchDrawerToggle(de),this._watchDrawerPosition(de),this._watchDrawerMode(de)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ie.b)(10),(0,W.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(de=>de.open())}close(){this._drawers.forEach(de=>de.close())}updateContentMargins(){let de=0,xe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)de+=this._left._getWidth();else if("push"==this._left.mode){const le=this._left._getWidth();de+=le,xe-=le}if(this._right&&this._right.opened)if("side"==this._right.mode)xe+=this._right._getWidth();else if("push"==this._right.mode){const le=this._right._getWidth();xe+=le,de-=le}de=de||null,xe=xe||null,(de!==this._contentMargins.left||xe!==this._contentMargins.right)&&(this._contentMargins={left:de,right:xe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(de){de._animationStarted.pipe((0,k.h)(xe=>xe.fromState!==xe.toState),(0,W.R)(this._drawers.changes)).subscribe(xe=>{"open-instant"!==xe.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==de.mode&&de.openedChange.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(de.opened))}_watchDrawerPosition(de){de&&de.onPositionChanged.pipe((0,W.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,K.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(de){de&&de._modeChanged.pipe((0,W.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(de){const xe=this._element.nativeElement.classList,le="mat-drawer-container-has-open";de?xe.add(le):xe.remove(le)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(de=>{"end"==de.position?this._end=de:this._start=de}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(de=>de&&!de.disableClose&&this._drawerHasBackdrop(de)).forEach(de=>de._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(de){return null!=de&&de.opened}_drawerHasBackdrop(de){return null==this._backdropOverride?!!de&&"side"!==de.mode:this._backdropOverride}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(l.Is,8),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(e.rL),t.Y36(v),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-drawer-container"]],contentQueries:function(xe,le,pe){if(1&xe&&(t.Suo(pe,H,5),t.Suo(pe,R,5)),2&xe){let qe;t.iGM(qe=t.CRH())&&(le._content=qe.first),t.iGM(qe=t.CRH())&&(le._allDrawers=qe)}},viewQuery:function(xe,le){if(1&xe&&t.Gf(H,5),2&xe){let pe;t.iGM(pe=t.CRH())&&(le._userContent=pe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(xe,le){2&xe&&t.ekj("mat-drawer-container-explicit-backdrop",le._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[t._Bn([{provide:r,useExisting:ye}])],ngContentSelectors:S,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(xe,le){1&xe&&(t.F$t(he),t.YNc(0,Me,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,J,2,0,"mat-drawer-content")),2&xe&&(t.um2(0,le.hasBackdrop?0:-1),t.xp6(3),t.um2(3,le._content?-1:3))},dependencies:[H],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return ye})(),De=(()=>{class ye extends H{constructor(de,xe,le,pe,qe){super(de,xe,le,pe,qe)}static#e=this.\u0275fac=function(xe){return new(xe||ye)(t.Y36(t.sBO),t.Y36((0,t.Gpc)(()=>Ke)),t.Y36(t.SBq),t.Y36(e.mF),t.Y36(t.R0b))};static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(xe,le){2&xe&&t.Udp("margin-left",le._container._contentMargins.left,"px")("margin-right",le._container._contentMargins.right,"px")},features:[t._Bn([{provide:e.PQ,useExisting:ye}]),t.qOj],ngContentSelectors:ue,decls:1,vars:0,template:function(xe,le){1&xe&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return ye})(),ct=(()=>{class ye extends R{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(de){this._fixedInViewport=(0,w.Ig)(de)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(de){this._fixedTopGap=(0,w.su)(de)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(de){this._fixedBottomGap=(0,w.su)(de)}static#e=this.\u0275fac=(()=>{let de;return function(le){return(de||(de=t.n5z(ye)))(le||ye)}})();static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(xe,le){2&xe&&(t.uIk("align",null),t.Udp("top",le.fixedInViewport?le.fixedTopGap:null,"px")("bottom",le.fixedInViewport?le.fixedBottomGap:null,"px"),t.ekj("mat-drawer-end","end"===le.position)("mat-drawer-over","over"===le.mode)("mat-drawer-push","push"===le.mode)("mat-drawer-side","side"===le.mode)("mat-drawer-opened",le.opened)("mat-sidenav-fixed",le.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[t.qOj],ngContentSelectors:ue,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(xe,le){1&xe&&(t.F$t(),t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA())},dependencies:[e.PQ],encapsulation:2,data:{animation:[D.transformDrawer]},changeDetection:0})}return ye})(),Ke=(()=>{class ye extends ee{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=(()=>{let de;return function(le){return(de||(de=t.n5z(ye)))(le||ye)}})();static#t=this.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-sidenav-container"]],contentQueries:function(xe,le,pe){if(1&xe&&(t.Suo(pe,De,5),t.Suo(pe,ct,5)),2&xe){let qe;t.iGM(qe=t.CRH())&&(le._content=qe.first),t.iGM(qe=t.CRH())&&(le._allDrawers=qe)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(xe,le){2&xe&&t.ekj("mat-drawer-container-explicit-backdrop",le._backdropOverride)},exportAs:["matSidenavContainer"],features:[t._Bn([{provide:r,useExisting:ye}]),t.qOj],ngContentSelectors:h,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(xe,le){1&xe&&(t.F$t(f),t.YNc(0,n,1,2,"div",0),t.Hsn(1),t.Hsn(2,1),t.YNc(3,s,2,0,"mat-sidenav-content")),2&xe&&(t.um2(0,le.hasBackdrop?0:-1),t.xp6(3),t.um2(3,le._content?-1:3))},dependencies:[De],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return ye})(),Je=(()=>{class ye{static#e=this.\u0275fac=function(xe){return new(xe||ye)};static#t=this.\u0275mod=t.oAB({type:ye});static#i=this.\u0275inj=t.cJS({imports:[y.BQ,e.ZD,e.ZD,y.BQ]})}return ye})()},2599:(Fe,q,p)=>{"use strict";p.d(q,{Rr:()=>I,rP:()=>W});var e=p(9212),t=p(6223),y=p(4300),A=p(3680);const l=["switch"];function w(j,K){1&j&&(e.TgZ(0,"div",12),e.O4$(),e.TgZ(1,"svg",13),e._UZ(2,"path",14),e.qZA(),e.TgZ(3,"svg",15),e._UZ(4,"path",16),e.qZA()())}const m=["*"],P=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),d={provide:t.JU,useExisting:(0,e.Gpc)(()=>I),multi:!0};class E{constructor(K,X){this.source=K,this.checked=X}}let M=0,I=(()=>{class j{_createChangeEvent(X){return new E(this,X)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(X){this._checked=X,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(X,ie,se,ue,ae,Me){this._elementRef=X,this._focusMonitor=ie,this._changeDetectorRef=se,this.defaults=ae,this._onChange=J=>{},this._onTouched=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(ue)||0,this.color=ae.color||"accent",this._noopAnimations="NoopAnimations"===Me,this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++M,this.hideIcon=ae.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(X=>{"keyboard"===X||"program"===X?(this._focused=!0,this._changeDetectorRef.markForCheck()):X||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(X){this.checked=!!X}registerOnChange(X){this._onChange=X}registerOnTouched(X){this._onTouched=X}setDisabledState(X){this.disabled=X,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new E(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static#e=this.\u0275fac=function(ie){return new(ie||j)(e.Y36(e.SBq),e.Y36(y.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(P),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:j,selectors:[["mat-slide-toggle"]],viewQuery:function(ie,se){if(1&ie&&e.Gf(l,5),2&ie){let ue;e.iGM(ue=e.CRH())&&(se._switchElement=ue.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(ie,se){2&ie&&(e.Ikx("id",se.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.Tol(se.color?"mat-"+se.color:""),e.ekj("mat-mdc-slide-toggle-focused",se._focused)("mat-mdc-slide-toggle-checked",se.checked)("_mat-animation-noopable",se._noopAnimations))},inputs:{disabled:["disabled","disabled",e.VuI],disableRipple:["disableRipple","disableRipple",e.VuI],color:"color",tabIndex:["tabIndex","tabIndex",X=>null==X?0:(0,e.Cb_)(X)],name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:["required","required",e.VuI],checked:["checked","checked",e.VuI],hideIcon:["hideIcon","hideIcon",e.VuI]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[e._Bn([d]),e.Xq5],ngContentSelectors:m,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(ie,se){if(1&ie&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return se._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.YNc(10,w,5,0,"div",10),e.qZA()()(),e.TgZ(11,"label",11),e.NdJ("click",function(ae){return ae.stopPropagation()}),e.Hsn(12),e.qZA()()),2&ie){const ue=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==se.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",se.checked)("mdc-switch--unselected",!se.checked)("mdc-switch--checked",se.checked)("mdc-switch--disabled",se.disabled),e.Q6J("tabIndex",se.disabled?-1:se.tabIndex)("disabled",se.disabled),e.uIk("id",se.buttonId)("name",se.name)("aria-label",se.ariaLabel)("aria-labelledby",se._getAriaLabelledBy())("aria-describedby",se.ariaDescribedby)("aria-required",se.required||null)("aria-checked",se.checked),e.xp6(8),e.Q6J("matRippleTrigger",ue)("matRippleDisabled",se.disableRipple||se.disabled)("matRippleCentered",!0),e.xp6(1),e.um2(10,se.hideIcon?-1:10),e.xp6(1),e.Q6J("for",se.buttonId),e.uIk("id",se._labelId)}},dependencies:[A.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}return j})(),B=(()=>{class j{static#e=this.\u0275fac=function(ie){return new(ie||j)};static#t=this.\u0275mod=e.oAB({type:j});static#i=this.\u0275inj=e.cJS({})}return j})(),W=(()=>{class j{static#e=this.\u0275fac=function(ie){return new(ie||j)};static#t=this.\u0275mod=e.oAB({type:j});static#i=this.\u0275inj=e.cJS({imports:[B,A.BQ,A.si,B,A.BQ]})}return j})()},2939:(Fe,q,p)=>{"use strict";p.d(q,{Ve:()=>s,ZX:()=>C,ux:()=>f});var e=p(9212),t=p(6814),y=p(2296),A=p(8645),l=p(6825),w=p(8484),m=p(2831),P=p(8180),d=p(9773),E=p(4300),M=p(1088),I=p(3651),k=p(3680);function z(D,O){if(1&D){const v=e.EpF();e.TgZ(0,"div",1)(1,"button",2),e.NdJ("click",function(){e.CHM(v);const g=e.oxw();return e.KtG(g.action())}),e._uU(2),e.qZA()()}if(2&D){const v=e.oxw();e.xp6(2),e.hij(" ",v.data.action," ")}}const B=["label"];function W(D,O){}const j=Math.pow(2,31)-1;class K{constructor(O,v){this._overlayRef=v,this._afterDismissed=new A.x,this._afterOpened=new A.x,this._onAction=new A.x,this._dismissedByAction=!1,this.containerInstance=O,O._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(O){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(O,j))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const X=new e.OlP("MatSnackBarData");class ie{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let se=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return D})(),ue=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return D})(),ae=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275dir=e.lG2({type:D,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return D})(),Me=(()=>{class D{constructor(v,r){this.snackBarRef=v,this.data=r}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(r){return new(r||D)(e.Y36(K),e.Y36(X))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[e.jDz],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(r,g){1&r&&(e.TgZ(0,"div",0),e._uU(1),e.qZA(),e.YNc(2,z,3,1,"div",1)),2&r&&(e.xp6(1),e.hij(" ",g.data.message,"\n"),e.xp6(1),e.um2(2,g.hasAction?2:-1))},dependencies:[y.ot,y.lW,se,ue,ae,t.ez],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return D})();const J={snackBarState:(0,l.X$)("state",[(0,l.SB)("void, hidden",(0,l.oB)({transform:"scale(0.8)",opacity:0})),(0,l.SB)("visible",(0,l.oB)({transform:"scale(1)",opacity:1})),(0,l.eR)("* => visible",(0,l.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,l.eR)("* => void, * => hidden",(0,l.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,l.oB)({opacity:0})))])};let he=0,S=(()=>{class D extends w.en{constructor(v,r,g,H,R){super(),this._ngZone=v,this._elementRef=r,this._changeDetectorRef=g,this._platform=H,this.snackBarConfig=R,this._document=(0,e.f3M)(t.K0),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new A.x,this._onExit=new A.x,this._onEnter=new A.x,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+he++,this.attachDomPortal=ee=>{this._assertNotAttached();const De=this._portalOutlet.attachDomPortal(ee);return this._afterPortalAttached(),De},this._live="assertive"!==R.politeness||R.announcementMessage?"off"===R.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(v){this._assertNotAttached();const r=this._portalOutlet.attachComponentPortal(v);return this._afterPortalAttached(),r}attachTemplatePortal(v){this._assertNotAttached();const r=this._portalOutlet.attachTemplatePortal(v);return this._afterPortalAttached(),r}onAnimationEnd(v){const{fromState:r,toState:g}=v;if(("void"===g&&"void"!==r||"hidden"===g)&&this._completeExit(),"visible"===g){const H=this._onEnter;this._ngZone.run(()=>{H.next(),H.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const v=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(R=>v.classList.add(R)):v.classList.add(r)),this._exposeToModals();const g=this._label.nativeElement,H="mdc-snackbar__label";g.classList.toggle(H,!g.querySelector(`.${H}`))}_exposeToModals(){const v=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let g=0;g{const r=v.getAttribute("aria-owns");if(r){const g=r.replace(this._liveElementId,"").trim();g.length>0?v.setAttribute("aria-owns",g):v.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const v=this._elementRef.nativeElement.querySelector("[aria-hidden]"),r=this._elementRef.nativeElement.querySelector("[aria-live]");if(v&&r){let g=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&v.contains(document.activeElement)&&(g=document.activeElement),v.removeAttribute("aria-hidden"),r.appendChild(v),g?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(r){return new(r||D)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(m.t4),e.Y36(ie))};static#t=this.\u0275cmp=e.Xpm({type:D,selectors:[["mat-snack-bar-container"]],viewQuery:function(r,g){if(1&r&&(e.Gf(w.Pl,7),e.Gf(B,7)),2&r){let H;e.iGM(H=e.CRH())&&(g._portalOutlet=H.first),e.iGM(H=e.CRH())&&(g._label=H.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(r,g){1&r&&e.WFA("@state.done",function(R){return g.onAnimationEnd(R)}),2&r&&e.d8E("@state",g._animationState)},standalone:!0,features:[e.qOj,e.jDz],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(r,g){1&r&&(e.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),e.YNc(4,W,0,0,"ng-template",4),e.qZA(),e._UZ(5,"div"),e.qZA()()),2&r&&(e.xp6(5),e.uIk("aria-live",g._live)("role",g._role)("id",g._liveElementId))},dependencies:[w.eL,w.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[J.snackBarState]}})}return D})();const s=new e.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function n(){return new ie}});let f=(()=>{class D{get _openedSnackBarRef(){const v=this._parentSnackBar;return v?v._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(v){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=v:this._snackBarRefAtThisLevel=v}constructor(v,r,g,H,R,ee){this._overlay=v,this._live=r,this._injector=g,this._breakpointObserver=H,this._parentSnackBar=R,this._defaultConfig=ee,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Me,this.snackBarContainerComponent=S,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(v,r){return this._attach(v,r)}openFromTemplate(v,r){return this._attach(v,r)}open(v,r="",g){const H={...this._defaultConfig,...g};return H.data={message:v,action:r},H.announcementMessage===v&&(H.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,H)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(v,r){const H=e.zs3.create({parent:r&&r.viewContainerRef&&r.viewContainerRef.injector||this._injector,providers:[{provide:ie,useValue:r}]}),R=new w.C5(this.snackBarContainerComponent,r.viewContainerRef,H),ee=v.attach(R);return ee.instance.snackBarConfig=r,ee.instance}_attach(v,r){const g={...new ie,...this._defaultConfig,...r},H=this._createOverlay(g),R=this._attachSnackBarContainer(H,g),ee=new K(R,H);if(v instanceof e.Rgc){const De=new w.UE(v,null,{$implicit:g.data,snackBarRef:ee});ee.instance=R.attachTemplatePortal(De)}else{const De=this._createInjector(g,ee),ct=new w.C5(v,void 0,De),Ke=R.attachComponentPortal(ct);ee.instance=Ke.instance}return this._breakpointObserver.observe(M.u3.HandsetPortrait).pipe((0,d.R)(H.detachments())).subscribe(De=>{H.overlayElement.classList.toggle(this.handsetCssClass,De.matches)}),g.announcementMessage&&R._onAnnounce.subscribe(()=>{this._live.announce(g.announcementMessage,g.politeness)}),this._animateSnackBar(ee,g),this._openedSnackBarRef=ee,this._openedSnackBarRef}_animateSnackBar(v,r){v.afterDismissed().subscribe(()=>{this._openedSnackBarRef==v&&(this._openedSnackBarRef=null),r.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{v.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):v.containerInstance.enter(),r.duration&&r.duration>0&&v.afterOpened().subscribe(()=>v._dismissAfter(r.duration))}_createOverlay(v){const r=new I.X_;r.direction=v.direction;let g=this._overlay.position().global();const H="rtl"===v.direction,R="left"===v.horizontalPosition||"start"===v.horizontalPosition&&!H||"end"===v.horizontalPosition&&H,ee=!R&&"center"!==v.horizontalPosition;return R?g.left("0"):ee?g.right("0"):g.centerHorizontally(),"top"===v.verticalPosition?g.top("0"):g.bottom("0"),r.positionStrategy=g,this._overlay.create(r)}_createInjector(v,r){return e.zs3.create({parent:v&&v.viewContainerRef&&v.viewContainerRef.injector||this._injector,providers:[{provide:K,useValue:r},{provide:X,useValue:v.data}]})}static#e=this.\u0275fac=function(r){return new(r||D)(e.LFG(I.aV),e.LFG(E.Kd),e.LFG(e.zs3),e.LFG(M.Yg),e.LFG(D,12),e.LFG(s))};static#t=this.\u0275prov=e.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"})}return D})(),C=(()=>{class D{static#e=this.\u0275fac=function(r){return new(r||D)};static#t=this.\u0275mod=e.oAB({type:D});static#i=this.\u0275inj=e.cJS({providers:[f],imports:[I.U8,w.eL,y.ot,k.BQ,Me,S,k.BQ]})}return D})()},3566:(Fe,q,p)=>{"use strict";p.d(q,{JX:()=>S,YE:()=>K,nU:()=>he});var e=p(9212),t=p(4300),y=p(2495),A=p(6028),l=p(3680),w=p(8645),m=p(3019),P=p(6825);const d=["mat-sort-header",""];function E(n,s){if(1&n){const f=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(f);const C=e.oxw();return e.KtG(C._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(f);const C=e.oxw();return e.KtG(C._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&n){const f=e.oxw();e.Q6J("@arrowOpacity",f._getArrowViewState())("@arrowPosition",f._getArrowViewState())("@allowChildren",f._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",f._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",f._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",f._getArrowDirectionState())}}const M=["*"],W=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),j=(0,l.dB)((0,l.Id)(class{}));let K=(()=>{class n extends j{get direction(){return this._direction}set direction(f){this._direction=f}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,y.Ig)(f)}constructor(f){super(),this._defaultOptions=f,this.sortables=new Map,this._stateChanges=new w.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}register(f){this.sortables.set(f.id,f)}deregister(f){this.sortables.delete(f.id)}sort(f){this.active!=f.id?(this.active=f.id,this.direction=f.start?f.start:this.start):this.direction=this.getNextSortDirection(f),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(f){if(!f)return"";let C=function X(n,s){let f=["asc","desc"];return"desc"==n&&f.reverse(),s||f.push(""),f}(f.start||this.start,f?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),D=C.indexOf(this.direction)+1;return D>=C.length&&(D=0),C[D]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(W,8))};static#t=this.\u0275dir=e.lG2({type:n,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]})}return n})();const ie=l.mZ.ENTERING+" "+l.yN.STANDARD_CURVE,se={indicator:(0,P.X$)("indicator",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"translateY(0px)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"translateY(10px)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(ie))]),leftPointer:(0,P.X$)("leftPointer",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"rotate(-45deg)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"rotate(45deg)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(ie))]),rightPointer:(0,P.X$)("rightPointer",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"rotate(45deg)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"rotate(-45deg)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(ie))]),arrowOpacity:(0,P.X$)("arrowOpacity",[(0,P.SB)("desc-to-active, asc-to-active, active",(0,P.oB)({opacity:1})),(0,P.SB)("desc-to-hint, asc-to-hint, hint",(0,P.oB)({opacity:.54})),(0,P.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,P.oB)({opacity:0})),(0,P.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,P.jt)("0ms")),(0,P.eR)("* <=> *",(0,P.jt)(ie))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(-25%)"}),(0,P.oB)({transform:"translateY(0)"})]))),(0,P.eR)("* => hint-to-desc, * => active-to-desc",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(25%)"})]))),(0,P.eR)("* => asc-to-hint, * => asc-to-active",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(25%)"}),(0,P.oB)({transform:"translateY(0)"})]))),(0,P.eR)("* => hint-to-asc, * => active-to-asc",(0,P.jt)(ie,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(-25%)"})]))),(0,P.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,P.oB)({transform:"translateY(0)"})),(0,P.SB)("hint-to-desc, active-to-desc, desc",(0,P.oB)({transform:"translateY(-25%)"})),(0,P.SB)("hint-to-asc, active-to-asc, asc",(0,P.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,P.X$)("allowChildren",[(0,P.eR)("* <=> *",[(0,P.IO)("@*",(0,P.pV)(),{optional:!0})])])};let ue=(()=>{class n{constructor(){this.changes=new w.x}static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const Me={provide:ue,deps:[[new e.FiY,new e.tp0,ue]],useFactory:function ae(n){return n||new ue}},J=(0,l.Id)(class{});let he=(()=>{class n extends J{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(f){this._updateSortActionDescription(f)}get disableClear(){return this._disableClear}set disableClear(f){this._disableClear=(0,y.Ig)(f)}constructor(f,h,C,D,O,v,r,g){super(),this._intl=f,this._changeDetectorRef=h,this._sort=C,this._columnDef=D,this._focusMonitor=O,this._elementRef=v,this._ariaDescriber=r,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",g?.arrowPosition&&(this.arrowPosition=g?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(f=>{const h=!!f;h!==this._showIndicatorHint&&(this._setIndicatorHintVisible(h),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(f){this._isDisabled()&&f||(this._showIndicatorHint=f,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(f){this._viewState=f||{},this._disableViewStateAnimation&&(this._viewState={toState:f.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(f){!this._isDisabled()&&(f.keyCode===A.L_||f.keyCode===A.K5)&&(f.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const f=this._viewState.fromState;return(f?`${f}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(f){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,f)),this._sortActionDescription=f}_handleStateChanges(){this._rerenderSubscription=(0,m.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(h){return new(h||n)(e.Y36(ue),e.Y36(e.sBO),e.Y36(K,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(t.tE),e.Y36(e.SBq),e.Y36(t.$s,8),e.Y36(W,8))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(h,C){1&h&&e.NdJ("click",function(){return C._handleClick()})("keydown",function(O){return C._handleKeydown(O)})("mouseenter",function(){return C._setIndicatorHintVisible(!0)})("mouseleave",function(){return C._setIndicatorHintVisible(!1)}),2&h&&(e.uIk("aria-sort",C._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",C._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:d,ngContentSelectors:M,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(h,C){1&h&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,E,6,6,"div",2),e.qZA()),2&h&&(e.ekj("mat-sort-header-sorted",C._isSorted())("mat-sort-header-position-before","before"===C.arrowPosition),e.uIk("tabindex",C._isDisabled()?null:0)("role",C._isDisabled()?null:"button"),e.xp6(3),e.um2(3,C._renderArrow()?3:-1))},styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;color:var(--mat-sort-arrow-color);opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[se.indicator,se.leftPointer,se.rightPointer,se.arrowOpacity,se.arrowPosition,se.allowChildren]},changeDetection:0})}return n})(),S=(()=>{class n{static#e=this.\u0275fac=function(h){return new(h||n)};static#t=this.\u0275mod=e.oAB({type:n});static#i=this.\u0275inj=e.cJS({providers:[Me],imports:[l.BQ]})}return n})()},8257:(Fe,q,p)=>{"use strict";p.d(q,{C0:()=>qe,Ic:()=>ve,T5:()=>Ze,VY:()=>ee,Vq:()=>re,fd:()=>ce,z9:()=>le});var e=p(8484),t=p(1657),y=p(6814),A=p(9212),l=p(3680),w=p(617),m=p(4300),P=p(8645),d=p(7394),E=p(9388),M=p(4664),I=p(7398),k=p(7921),z=p(9773),B=p(3997),W=p(6825);function j(We,Ct){if(1&We&&A.GkF(0,2),2&We){const ut=A.oxw();A.Q6J("ngTemplateOutlet",ut.iconOverrides[ut.state])("ngTemplateOutletContext",ut._getIconContext())}}function K(We,Ct){if(1&We&&(A.TgZ(0,"span",7),A._uU(1),A.qZA()),2&We){const ut=A.oxw(2);A.xp6(1),A.Oqu(ut._getDefaultTextForState(ut.state))}}function X(We,Ct){if(1&We&&(A.TgZ(0,"span",9),A._uU(1),A.qZA()),2&We){const ut=A.oxw(3);A.xp6(1),A.Oqu(ut._intl.completedLabel)}}function ie(We,Ct){if(1&We&&(A.TgZ(0,"span",9),A._uU(1),A.qZA()),2&We){const ut=A.oxw(3);A.xp6(1),A.Oqu(ut._intl.editableLabel)}}function se(We,Ct){if(1&We&&(A.YNc(0,X,2,1,"span",8)(1,ie,2,1),A.TgZ(2,"mat-icon",7),A._uU(3),A.qZA()),2&We){const ut=A.oxw(2);A.um2(0,"done"===ut.state?0:"edit"===ut.state?1:-1),A.xp6(3),A.Oqu(ut._getDefaultTextForState(ut.state))}}function ue(We,Ct){if(1&We&&A.YNc(0,K,2,1)(1,se,4,2),2&We){const ut=A.oxw();let It;A.um2(0,"number"===(It=ut.state)?0:1)}}function ae(We,Ct){1&We&&(A.TgZ(0,"div",10),A.GkF(1,11),A.qZA()),2&We&&(A.xp6(1),A.Q6J("ngTemplateOutlet",Ct.template))}function Me(We,Ct){if(1&We&&(A.TgZ(0,"div",10),A._uU(1),A.qZA()),2&We){const ut=A.oxw();A.xp6(1),A.Oqu(ut.label)}}function J(We,Ct){if(1&We&&(A.TgZ(0,"div",12),A._uU(1),A.qZA()),2&We){const ut=A.oxw();A.xp6(1),A.Oqu(ut._intl.optionalLabel)}}function he(We,Ct){if(1&We&&(A.TgZ(0,"div",13),A._uU(1),A.qZA()),2&We){const ut=A.oxw();A.xp6(1),A.Oqu(ut.errorMessage)}}function S(We,Ct){}function n(We,Ct){if(1&We&&(A.Hsn(0),A.YNc(1,S,0,0,"ng-template",0)),2&We){const ut=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",ut._portal)}}const s=["*"];function f(We,Ct){1&We&&A._UZ(0,"div",6)}const h=(We,Ct)=>({step:We,i:Ct});function C(We,Ct){if(1&We&&(A.GkF(0,4),A.YNc(1,f,1,0,"div",5)),2&We){const ut=Ct.$implicit,It=Ct.$index,Ae=Ct.$count;A.oxw(2);const Be=A.MAs(3);A.Q6J("ngTemplateOutlet",Be)("ngTemplateOutletContext",A.WLB(3,h,ut,It)),A.xp6(1),A.um2(1,It!==Ae-1?1:-1)}}const D=We=>({animationDuration:We}),O=(We,Ct)=>({value:We,params:Ct});function v(We,Ct){if(1&We){const ut=A.EpF();A.TgZ(0,"div",7),A.NdJ("@horizontalStepTransition.done",function(Ae){A.CHM(ut);const Be=A.oxw(2);return A.KtG(Be._animationDone.next(Ae))}),A.GkF(1,8),A.qZA()}if(2&We){const ut=Ct.$implicit,It=Ct.$index,Ae=A.oxw(2);A.ekj("mat-horizontal-stepper-content-inactive",Ae.selectedIndex!==It),A.Q6J("@horizontalStepTransition",A.WLB(8,O,Ae._getAnimationDirection(It),A.VKq(6,D,Ae._getAnimationDuration())))("id",Ae._getStepContentId(It)),A.uIk("aria-labelledby",Ae._getStepLabelId(It)),A.xp6(1),A.Q6J("ngTemplateOutlet",ut.content)}}function r(We,Ct){if(1&We&&(A.TgZ(0,"div",1)(1,"div",2),A.SjG(2,C,2,6,null,null,A.x6l),A.qZA(),A.TgZ(4,"div",3),A.SjG(5,v,2,11,"div",9,A.x6l),A.qZA()()),2&We){const ut=A.oxw();A.xp6(2),A.wJu(ut.steps),A.xp6(3),A.wJu(ut.steps)}}function g(We,Ct){if(1&We){const ut=A.EpF();A.TgZ(0,"div",10),A.GkF(1,4),A.TgZ(2,"div",11)(3,"div",12),A.NdJ("@verticalStepTransition.done",function(Ae){A.CHM(ut);const Be=A.oxw(2);return A.KtG(Be._animationDone.next(Ae))}),A.TgZ(4,"div",13),A.GkF(5,8),A.qZA()()()()}if(2&We){const ut=Ct.$implicit,It=Ct.$index,Ae=Ct.$count,Be=A.oxw(2),rt=A.MAs(3);A.xp6(1),A.Q6J("ngTemplateOutlet",rt)("ngTemplateOutletContext",A.WLB(10,h,ut,It)),A.xp6(1),A.ekj("mat-stepper-vertical-line",It!==Ae-1),A.xp6(1),A.ekj("mat-vertical-stepper-content-inactive",Be.selectedIndex!==It),A.Q6J("@verticalStepTransition",A.WLB(15,O,Be._getAnimationDirection(It),A.VKq(13,D,Be._getAnimationDuration())))("id",Be._getStepContentId(It)),A.uIk("aria-labelledby",Be._getStepLabelId(It)),A.xp6(2),A.Q6J("ngTemplateOutlet",ut.content)}}function H(We,Ct){if(1&We&&A.SjG(0,g,6,18,"div",14,A.x6l),2&We){const ut=A.oxw();A.wJu(ut.steps)}}function R(We,Ct){if(1&We){const ut=A.EpF();A.TgZ(0,"mat-step-header",15),A.NdJ("click",function(){const Be=A.CHM(ut).step;return A.KtG(Be.select())})("keydown",function(Ae){A.CHM(ut);const Be=A.oxw();return A.KtG(Be._onKeydown(Ae))}),A.qZA()}if(2&We){const ut=Ct.step,It=Ct.i,Ae=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===Ae.orientation)("mat-vertical-stepper-header","vertical"===Ae.orientation),A.Q6J("tabIndex",Ae._getFocusIndex()===It?0:-1)("id",Ae._getStepLabelId(It))("index",It)("state",Ae._getIndicatorType(It,ut.state))("label",ut.stepLabel||ut.label)("selected",Ae.selectedIndex===It)("active",Ae._stepIsNavigable(It,ut))("optional",ut.optional)("errorMessage",ut.errorMessage)("iconOverrides",Ae._iconOverrides)("disableRipple",Ae.disableRipple||!Ae._stepIsNavigable(It,ut))("color",ut.color||Ae.color),A.uIk("aria-posinset",It+1)("aria-setsize",Ae.steps.length)("aria-controls",Ae._getStepContentId(It))("aria-selected",Ae.selectedIndex==It)("aria-label",ut.ariaLabel||null)("aria-labelledby",!ut.ariaLabel&&ut.ariaLabelledby?ut.ariaLabelledby:null)("aria-disabled",!Ae._stepIsNavigable(It,ut)||null)}}let ee=(()=>{class We extends t.u6{static#e=this.\u0275fac=(()=>{let ut;return function(Ae){return(ut||(ut=A.n5z(We)))(Ae||We)}})();static#t=this.\u0275dir=A.lG2({type:We,selectors:[["","matStepLabel",""]],features:[A.qOj]})}return We})(),De=(()=>{class We{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(It){return new(It||We)};static#t=this.\u0275prov=A.Yz7({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})();const Ke={provide:De,deps:[[new A.FiY,new A.tp0,De]],useFactory:function ct(We){return We||new De}},Je=(0,l.pj)(class extends t.KL{constructor(Ct){super(Ct)}},"primary");let ye=(()=>{class We extends Je{constructor(ut,It,Ae,Be){super(Ae),this._intl=ut,this._focusMonitor=It,this._intlSubscription=ut.changes.subscribe(()=>Be.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(ut,It){ut?this._focusMonitor.focusVia(this._elementRef,ut,It):this._elementRef.nativeElement.focus(It)}_stringLabel(){return this.label instanceof ee?null:this.label}_templateLabel(){return this.label instanceof ee?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(ut){return"number"==ut?`${this.index+1}`:"edit"==ut?"create":"error"==ut?"warning":ut}static#e=this.\u0275fac=function(It){return new(It||We)(A.Y36(De),A.Y36(m.tE),A.Y36(A.SBq),A.Y36(A.sBO))};static#t=this.\u0275cmp=A.Xpm({type:We,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],["class","mat-step-text-label"],["class","mat-step-optional"],["class","mat-step-sub-label-error"],["aria-hidden","true"],["class","cdk-visually-hidden"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(It,Ae){if(1&It&&(A._UZ(0,"div",0),A.TgZ(1,"div")(2,"div",1),A.YNc(3,j,1,2,"ng-container",2)(4,ue,2,1),A.qZA()(),A.TgZ(5,"div",3),A.YNc(6,ae,2,1,"div",4)(7,Me,2,1)(8,J,2,1,"div",5)(9,he,2,1,"div",6),A.qZA()),2&It){let Be;A.Q6J("matRippleTrigger",Ae._getHostElement())("matRippleDisabled",Ae.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",Ae.state," mat-step-icon"),A.ekj("mat-step-icon-selected",Ae.selected),A.xp6(2),A.um2(3,Ae.iconOverrides&&Ae.iconOverrides[Ae.state]?3:4),A.xp6(2),A.ekj("mat-step-label-active",Ae.active)("mat-step-label-selected",Ae.selected)("mat-step-label-error","error"==Ae.state),A.xp6(1),A.um2(6,(Be=Ae._templateLabel())?6:Ae._stringLabel()?7:-1,Be),A.xp6(2),A.um2(8,Ae.optional&&"error"!=Ae.state?8:-1),A.xp6(1),A.um2(9,"error"===Ae.state?9:-1)}},dependencies:[y.tP,w.Hw,l.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return We})();const xe={horizontalStepTransition:(0,W.X$)("horizontalStepTransition",[(0,W.SB)("previous",(0,W.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({transform:"none",visibility:"inherit"})),(0,W.SB)("next",(0,W.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,W.eR)("* => *",(0,W.ru)([(0,W.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,W.X$)("verticalStepTransition",[(0,W.SB)("previous",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("next",(0,W.oB)({height:"0px",visibility:"hidden"})),(0,W.SB)("current",(0,W.oB)({height:"*",visibility:"inherit"})),(0,W.eR)("* <=> current",(0,W.ru)([(0,W.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,W.IO)("@*",(0,W.pV)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let le=(()=>{class We{constructor(ut){this.templateRef=ut}static#e=this.\u0275fac=function(It){return new(It||We)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:We,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return We})(),pe=(()=>{class We{constructor(ut){this._template=ut}static#e=this.\u0275fac=function(It){return new(It||We)(A.Y36(A.Rgc))};static#t=this.\u0275dir=A.lG2({type:We,selectors:[["ng-template","matStepContent",""]]})}return We})(),qe=(()=>{class We extends t.be{constructor(ut,It,Ae,Be){super(ut,Be),this._errorStateMatcher=It,this._viewContainerRef=Ae,this._isSelected=d.w0.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,M.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(ut=>ut.selectedStep===this),(0,k.O)(this._stepper.selected===this)))).subscribe(ut=>{ut&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(ut,It){return this._errorStateMatcher.isErrorState(ut,It)||!!(ut&&ut.invalid&&this.interacted)}static#e=this.\u0275fac=function(It){return new(It||We)(A.Y36((0,A.Gpc)(()=>re)),A.Y36(l.rD,4),A.Y36(A.s_b),A.Y36(t.gx,8))};static#t=this.\u0275cmp=A.Xpm({type:We,selectors:[["mat-step"]],contentQueries:function(It,Ae,Be){if(1&It&&(A.Suo(Be,ee,5),A.Suo(Be,pe,5)),2&It){let rt;A.iGM(rt=A.CRH())&&(Ae.stepLabel=rt.first),A.iGM(rt=A.CRH())&&(Ae._lazyContent=rt.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:l.rD,useExisting:We},{provide:t.be,useExisting:We}]),A.qOj],ngContentSelectors:s,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(It,Ae){1&It&&(A.F$t(),A.YNc(0,n,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0})}return We})(),re=(()=>{class We extends t.B8{get animationDuration(){return this._animationDuration}set animationDuration(ut){this._animationDuration=/^\d+$/.test(ut)?ut+"ms":ut}constructor(ut,It,Ae){super(ut,It,Ae),this._stepHeader=void 0,this._steps=void 0,this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const Be=Ae.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Be?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:ut,templateRef:It})=>this._iconOverrides[ut]=It),this.steps.changes.pipe((0,z.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,B.x)((ut,It)=>ut.fromState===It.fromState&&ut.toState===It.toState),(0,z.R)(this._destroyed)).subscribe(ut=>{"current"===ut.toState&&this.animationDone.emit()})}_stepIsNavigable(ut,It){return It.completed||this.selectedIndex===ut||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(It){return new(It||We)(A.Y36(E.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))};static#t=this.\u0275cmp=A.Xpm({type:We,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(It,Ae,Be){if(1&It&&(A.Suo(Be,qe,5),A.Suo(Be,le,5)),2&It){let rt;A.iGM(rt=A.CRH())&&(Ae._steps=rt),A.iGM(rt=A.CRH())&&(Ae._icons=rt)}},viewQuery:function(It,Ae){if(1&It&&A.Gf(ye,5),2&It){let Be;A.iGM(Be=A.CRH())&&(Ae._stepHeader=Be)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(It,Ae){2&It&&(A.uIk("aria-orientation",Ae.orientation),A.ekj("mat-stepper-horizontal","horizontal"===Ae.orientation)("mat-stepper-vertical","vertical"===Ae.orientation)("mat-stepper-label-position-end","horizontal"===Ae.orientation&&"end"==Ae.labelPosition)("mat-stepper-label-position-bottom","horizontal"===Ae.orientation&&"bottom"==Ae.labelPosition)("mat-stepper-header-position-bottom","bottom"===Ae.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:t.B8,useExisting:We}]),A.qOj],decls:4,vars:1,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],["class","mat-step"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(It,Ae){if(1&It&&A.YNc(0,r,7,0)(1,H,2,0)(2,R,1,23,"ng-template",null,0,A.W1O),2&It){let Be;A.um2(0,"horizontal"===(Be=Ae.orientation)?0:"vertical"===Be?1:-1)}},dependencies:[y.tP,ye],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[xe.horizontalStepTransition,xe.verticalStepTransition]},changeDetection:0})}return We})(),ve=(()=>{class We extends t.st{static#e=this.\u0275fac=(()=>{let ut;return function(Ae){return(ut||(ut=A.n5z(We)))(Ae||We)}})();static#t=this.\u0275dir=A.lG2({type:We,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(It,Ae){2&It&&A.Ikx("type",Ae.type)},inputs:{type:"type"},features:[A.qOj]})}return We})(),ce=(()=>{class We extends t.po{static#e=this.\u0275fac=(()=>{let ut;return function(Ae){return(ut||(ut=A.n5z(We)))(Ae||We)}})();static#t=this.\u0275dir=A.lG2({type:We,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(It,Ae){2&It&&A.Ikx("type",Ae.type)},inputs:{type:"type"},features:[A.qOj]})}return We})(),Ze=(()=>{class We{static#e=this.\u0275fac=function(It){return new(It||We)};static#t=this.\u0275mod=A.oAB({type:We});static#i=this.\u0275inj=A.cJS({providers:[Ke,l.rD],imports:[l.BQ,y.ez,e.eL,t.U5,w.Ps,l.si,l.BQ]})}return We})()},5313:(Fe,q,p)=>{"use strict";p.d(q,{ev:()=>ke,Dz:()=>Xe,w1:()=>be,yh:()=>ne,mD:()=>Le,Q2:()=>$t,Ke:()=>Wt,ge:()=>$,fO:()=>gt,XQ:()=>ei,as:()=>At,Gk:()=>Fi,nj:()=>gi,BZ:()=>Ge,by:()=>on,p0:()=>Ki});var e=p(9212),t=p(9388),y=p(8337),A=p(2831),l=p(5407),w=p(6814),m=p(8645),P=p(9666),d=p(5619),E=p(2664),M=p(2096),I=p(9773),k=p(8180),z=p(2495);const B=[[["caption"]],[["colgroup"],["col"]]],W=["caption","colgroup, col"];function X(st){return class extends st{get sticky(){return this._sticky}set sticky(si){const Ce=this._sticky;this._sticky=(0,z.Ig)(si),this._hasStickyChanged=Ce!==this._sticky}hasStickyChanged(){const si=this._hasStickyChanged;return this._hasStickyChanged=!1,si}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...si){super(...si),this._sticky=!1,this._hasStickyChanged=!1}}}const ie=new e.OlP("CDK_TABLE");let ue=(()=>{class st{constructor(Ce){this.template=Ce}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkCellDef",""]]})}return st})(),ae=(()=>{class st{constructor(Ce){this.template=Ce}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkHeaderCellDef",""]]})}return st})(),Me=(()=>{class st{constructor(Ce){this.template=Ce}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkFooterCellDef",""]]})}return st})();class J{}const he=X(J);let S=(()=>{class st extends he{get name(){return this._name}set name(Ce){this._setNameInput(Ce)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Ce){Ce!==this._stickyEnd&&(this._stickyEnd=Ce,this._hasStickyChanged=!0)}constructor(Ce){super(),this._table=Ce,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ce){Ce&&(this._name=Ce,this.cssClassFriendlyName=Ce.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkColumnDef",""]],contentQueries:function(Mt,Ht,Dt){if(1&Mt&&(e.Suo(Dt,ue,5),e.Suo(Dt,ae,5),e.Suo(Dt,Me,5)),2&Mt){let kt;e.iGM(kt=e.CRH())&&(Ht.cell=kt.first),e.iGM(kt=e.CRH())&&(Ht.headerCell=kt.first),e.iGM(kt=e.CRH())&&(Ht.footerCell=kt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:["stickyEnd","stickyEnd",e.VuI]},features:[e._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),e.Xq5,e.qOj]})}return st})();class n{constructor(si,Ce){Ce.nativeElement.classList.add(...si._columnCssClassName)}}let s=(()=>{class st extends n{constructor(Ce,Mt){super(Ce,Mt)}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[e.qOj]})}return st})(),f=(()=>{class st extends n{constructor(Ce,Mt){if(super(Ce,Mt),1===Ce._table?._elementRef.nativeElement.nodeType){const Ht=Ce._table._elementRef.nativeElement.getAttribute("role");Mt.nativeElement.setAttribute("role","grid"===Ht||"treegrid"===Ht?"gridcell":"cell")}}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[e.qOj]})}return st})(),h=(()=>{class st extends n{constructor(Ce,Mt){if(super(Ce,Mt),1===Ce._table?._elementRef.nativeElement.nodeType){const Ht=Ce._table._elementRef.nativeElement.getAttribute("role");Mt.nativeElement.setAttribute("role","grid"===Ht||"treegrid"===Ht?"gridcell":"cell")}}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(S),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[e.qOj]})}return st})();class C{constructor(){this.tasks=[],this.endTasks=[]}}const D=new e.OlP("_COALESCED_STYLE_SCHEDULER");let O=(()=>{class st{constructor(Ce){this._ngZone=Ce,this._currentSchedule=null,this._destroyed=new m.x}schedule(Ce){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Ce)}scheduleEnd(Ce){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Ce)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new C,this._getScheduleObservable().pipe((0,I.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Ce=this._currentSchedule;this._currentSchedule=new C;for(const Mt of Ce.tasks)Mt();for(const Mt of Ce.endTasks)Mt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,P.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,k.q)(1))}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:st,factory:st.\u0275fac})}return st})(),r=(()=>{class st{constructor(Ce,Mt){this.template=Ce,this._differs=Mt}ngOnChanges(Ce){if(!this._columnsDiffer){const Mt=Ce.columns&&Ce.columns.currentValue||[];this._columnsDiffer=this._differs.find(Mt).create(),this._columnsDiffer.diff(Mt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ce){return this instanceof R?Ce.headerCell.template:this instanceof ct?Ce.footerCell.template:Ce.cell.template}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc),e.Y36(e.ZZ4))};static#t=this.\u0275dir=e.lG2({type:st,features:[e.TTD]})}return st})();class g extends r{}const H=X(g);let R=(()=>{class st extends H{constructor(Ce,Mt,Ht){super(Ce,Mt),this._table=Ht}ngOnChanges(Ce){super.ngOnChanges(Ce)}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return st})();class ee extends r{}const De=X(ee);let ct=(()=>{class st extends De{constructor(Ce,Mt,Ht){super(Ce,Mt),this._table=Ht}ngOnChanges(Ce){super.ngOnChanges(Ce)}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[e.qOj,e.TTD]})}return st})(),Ke=(()=>{class st extends r{constructor(Ce,Mt,Ht){super(Ce,Mt),this._table=Ht}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc),e.Y36(e.ZZ4),e.Y36(ie,8))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[e.qOj]})}return st})(),Je=(()=>{class st{static#e=this.mostRecentCellOutlet=null;constructor(Ce){this._viewContainer=Ce,st.mostRecentCellOutlet=this}ngOnDestroy(){st.mostRecentCellOutlet===this&&(st.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.s_b))};static#i=this.\u0275dir=e.lG2({type:st,selectors:[["","cdkCellOutlet",""]]})}return st})(),ye=(()=>{class st{static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Ht){1&Mt&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return st})(),fe=(()=>{class st{static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Ht){1&Mt&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return st})(),de=(()=>{class st{static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Ht){1&Mt&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return st})(),xe=(()=>{class st{constructor(Ce){this.templateRef=Ce,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.Rgc))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["ng-template","cdkNoDataRow",""]]})}return st})();const le=["top","bottom","left","right"];class pe{constructor(si,Ce,Mt,Ht,Dt=!0,kt=!0,Gt){this._isNativeHtmlTable=si,this._stickCellCss=Ce,this.direction=Mt,this._coalescedStyleScheduler=Ht,this._isBrowser=Dt,this._needsPositionStickyOnElement=kt,this._positionListener=Gt,this._cachedCellWidths=[],this._borderCellCss={top:`${Ce}-border-elem-top`,bottom:`${Ce}-border-elem-bottom`,left:`${Ce}-border-elem-left`,right:`${Ce}-border-elem-right`}}clearStickyPositioning(si,Ce){const Mt=[];for(const Ht of si)if(Ht.nodeType===Ht.ELEMENT_NODE){Mt.push(Ht);for(let Dt=0;Dt{for(const Ht of Mt)this._removeStickyStyle(Ht,Ce)})}updateStickyColumns(si,Ce,Mt,Ht=!0){if(!si.length||!this._isBrowser||!Ce.some(Ui=>Ui)&&!Mt.some(Ui=>Ui))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Dt=si[0],kt=Dt.children.length,Gt=this._getCellWidths(Dt,Ht),oi=this._getStickyStartColumnPositions(Gt,Ce),bi=this._getStickyEndColumnPositions(Gt,Mt),yi=Ce.lastIndexOf(!0),Oi=Mt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Ui="rtl"===this.direction,Bi=Ui?"right":"left",qt=Ui?"left":"right";for(const xi of si)for(let Se=0;SeCe[Se]?xi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Oi?[]:Gt.slice(Oi).map((xi,Se)=>Mt[Se+Oi]?xi:null).reverse()}))})}stickRows(si,Ce,Mt){if(!this._isBrowser)return;const Ht="bottom"===Mt?si.slice().reverse():si,Dt="bottom"===Mt?Ce.slice().reverse():Ce,kt=[],Gt=[],oi=[];for(let yi=0,Oi=0;yi{for(let yi=0;yi{Ce.some(Ht=>!Ht)?this._removeStickyStyle(Mt,["bottom"]):this._addStickyStyle(Mt,"bottom",0,!1)})}_removeStickyStyle(si,Ce){for(const Ht of Ce)si.style[Ht]="",si.classList.remove(this._borderCellCss[Ht]);le.some(Ht=>-1===Ce.indexOf(Ht)&&si.style[Ht])?si.style.zIndex=this._getCalculatedZIndex(si):(si.style.zIndex="",this._needsPositionStickyOnElement&&(si.style.position=""),si.classList.remove(this._stickCellCss))}_addStickyStyle(si,Ce,Mt,Ht){si.classList.add(this._stickCellCss),Ht&&si.classList.add(this._borderCellCss[Ce]),si.style[Ce]=`${Mt}px`,si.style.zIndex=this._getCalculatedZIndex(si),this._needsPositionStickyOnElement&&(si.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(si){const Ce={top:100,bottom:10,left:1,right:1};let Mt=0;for(const Ht of le)si.style[Ht]&&(Mt+=Ce[Ht]);return Mt?`${Mt}`:""}_getCellWidths(si,Ce=!0){if(!Ce&&this._cachedCellWidths.length)return this._cachedCellWidths;const Mt=[],Ht=si.children;for(let Dt=0;Dt0;Dt--)Ce[Dt]&&(Mt[Dt]=Ht,Ht+=si[Dt]);return Mt}}const It=new e.OlP("CDK_SPL");let Be=(()=>{class st{constructor(Ce,Mt){this.viewContainer=Ce,this.elementRef=Mt}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","rowOutlet",""]]})}return st})(),rt=(()=>{class st{constructor(Ce,Mt){this.viewContainer=Ce,this.elementRef=Mt}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","headerRowOutlet",""]]})}return st})(),$e=(()=>{class st{constructor(Ce,Mt){this.viewContainer=Ce,this.elementRef=Mt}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","footerRowOutlet",""]]})}return st})(),Ie=(()=>{class st{constructor(Ce,Mt){this.viewContainer=Ce,this.elementRef=Mt}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.s_b),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","noDataRowOutlet",""]]})}return st})(),St=(()=>{class st{get trackBy(){return this._trackByFn}set trackBy(Ce){this._trackByFn=Ce}get dataSource(){return this._dataSource}set dataSource(Ce){this._dataSource!==Ce&&this._switchDataSource(Ce)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ce){this._multiTemplateDataRows=Ce,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Ce){this._fixedLayout=Ce,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Ce,Mt,Ht,Dt,kt,Gt,oi,bi,yi,Oi,Ui,Bi){this._differs=Ce,this._changeDetectorRef=Mt,this._elementRef=Ht,this._dir=kt,this._platform=oi,this._viewRepeater=bi,this._coalescedStyleScheduler=yi,this._viewportRuler=Oi,this._stickyPositioningListener=Ui,this._ngZone=Bi,this._onDestroy=new m.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new e.vpe,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),Dt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Gt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Ce,Mt)=>this.trackBy?this.trackBy(Mt.dataIndex,Mt.data):Mt),this._viewportRuler.change().pipe((0,I.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Mt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Mt,this._forceRecalculateCellWidths=Mt,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ce=>{Ce.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ce=this._dataDiffer.diff(this._renderRows);if(!Ce)return this._updateNoDataRow(),void this.contentChanged.next();const Mt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ce,Mt,(Ht,Dt,kt)=>this._getEmbeddedViewArgs(Ht.item,kt),Ht=>Ht.item.data,Ht=>{1===Ht.operation&&Ht.context&&this._renderCellTemplateForItem(Ht.record.item.rowDef,Ht.context)}),this._updateRowIndexContext(),Ce.forEachIdentityChange(Ht=>{Mt.get(Ht.currentIndex).context.$implicit=Ht.item.data}),this._updateNoDataRow(),this._ngZone&&e.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,k.q)(1),(0,I.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Ce){this._customColumnDefs.add(Ce)}removeColumnDef(Ce){this._customColumnDefs.delete(Ce)}addRowDef(Ce){this._customRowDefs.add(Ce)}removeRowDef(Ce){this._customRowDefs.delete(Ce)}addHeaderRowDef(Ce){this._customHeaderRowDefs.add(Ce),this._headerRowDefChanged=!0}removeHeaderRowDef(Ce){this._customHeaderRowDefs.delete(Ce),this._headerRowDefChanged=!0}addFooterRowDef(Ce){this._customFooterRowDefs.add(Ce),this._footerRowDefChanged=!0}removeFooterRowDef(Ce){this._customFooterRowDefs.delete(Ce),this._footerRowDefChanged=!0}setNoDataRow(Ce){this._customNoDataRow=Ce}updateStickyHeaderRowStyles(){const Ce=this._getRenderedRows(this._headerRowOutlet),Ht=this._elementRef.nativeElement.querySelector("thead");Ht&&(Ht.style.display=Ce.length?"":"none");const Dt=this._headerRowDefs.map(kt=>kt.sticky);this._stickyStyler.clearStickyPositioning(Ce,["top"]),this._stickyStyler.stickRows(Ce,Dt,"top"),this._headerRowDefs.forEach(kt=>kt.resetStickyChanged())}updateStickyFooterRowStyles(){const Ce=this._getRenderedRows(this._footerRowOutlet),Ht=this._elementRef.nativeElement.querySelector("tfoot");Ht&&(Ht.style.display=Ce.length?"":"none");const Dt=this._footerRowDefs.map(kt=>kt.sticky);this._stickyStyler.clearStickyPositioning(Ce,["bottom"]),this._stickyStyler.stickRows(Ce,Dt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Dt),this._footerRowDefs.forEach(kt=>kt.resetStickyChanged())}updateStickyColumnStyles(){const Ce=this._getRenderedRows(this._headerRowOutlet),Mt=this._getRenderedRows(this._rowOutlet),Ht=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ce,...Mt,...Ht],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ce.forEach((Dt,kt)=>{this._addStickyColumnStyles([Dt],this._headerRowDefs[kt])}),this._rowDefs.forEach(Dt=>{const kt=[];for(let Gt=0;Gt{this._addStickyColumnStyles([Dt],this._footerRowDefs[kt])}),Array.from(this._columnDefsByName.values()).forEach(Dt=>Dt.resetStickyChanged())}_getAllRenderRows(){const Ce=[],Mt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Ht=0;Ht{const Gt=Ht&&Ht.has(kt)?Ht.get(kt):[];if(Gt.length){const oi=Gt.shift();return oi.dataIndex=Mt,oi}return{data:Ce,rowDef:kt,dataIndex:Mt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),dt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Mt=>{this._columnDefsByName.has(Mt.name),this._columnDefsByName.set(Mt.name,Mt)})}_cacheRowDefs(){this._headerRowDefs=dt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=dt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=dt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ce=this._rowDefs.filter(Mt=>!Mt.when);this._defaultRowDef=Ce[0]}_renderUpdatedColumns(){const Ce=(kt,Gt)=>kt||!!Gt.getColumnsDiff(),Mt=this._rowDefs.reduce(Ce,!1);Mt&&this._forceRenderDataRows();const Ht=this._headerRowDefs.reduce(Ce,!1);Ht&&this._forceRenderHeaderRows();const Dt=this._footerRowDefs.reduce(Ce,!1);return Dt&&this._forceRenderFooterRows(),Mt||Ht||Dt}_switchDataSource(Ce){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ce||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Ce}_observeRenderChanges(){if(!this.dataSource)return;let Ce;(0,y.Z9)(this.dataSource)?Ce=this.dataSource.connect(this):(0,E.b)(this.dataSource)?Ce=this.dataSource:Array.isArray(this.dataSource)&&(Ce=(0,M.of)(this.dataSource)),this._renderChangeSubscription=Ce.pipe((0,I.R)(this._onDestroy)).subscribe(Mt=>{this._data=Mt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ce,Mt)=>this._renderRow(this._headerRowOutlet,Ce,Mt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ce,Mt)=>this._renderRow(this._footerRowOutlet,Ce,Mt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ce,Mt){const Ht=Array.from(Mt.columns||[]).map(Gt=>this._columnDefsByName.get(Gt)),Dt=Ht.map(Gt=>Gt.sticky),kt=Ht.map(Gt=>Gt.stickyEnd);this._stickyStyler.updateStickyColumns(Ce,Dt,kt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ce){const Mt=[];for(let Ht=0;Ht!Dt.when||Dt.when(Mt,Ce));else{let Dt=this._rowDefs.find(kt=>kt.when&&kt.when(Mt,Ce))||this._defaultRowDef;Dt&&Ht.push(Dt)}return Ht}_getEmbeddedViewArgs(Ce,Mt){return{templateRef:Ce.rowDef.template,context:{$implicit:Ce.data},index:Mt}}_renderRow(Ce,Mt,Ht,Dt={}){const kt=Ce.viewContainer.createEmbeddedView(Mt.template,Dt,Ht);return this._renderCellTemplateForItem(Mt,Dt),kt}_renderCellTemplateForItem(Ce,Mt){for(let Ht of this._getCellTemplates(Ce))Je.mostRecentCellOutlet&&Je.mostRecentCellOutlet._viewContainer.createEmbeddedView(Ht,Mt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ce=this._rowOutlet.viewContainer;for(let Mt=0,Ht=Ce.length;Mt{const Ht=this._columnDefsByName.get(Mt);return Ce.extractCellTemplate(Ht)}):[]}_applyNativeTableSections(){const Ce=this._document.createDocumentFragment(),Mt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Ht of Mt){const Dt=this._document.createElement(Ht.tag);Dt.setAttribute("role","rowgroup");for(const kt of Ht.outlets)Dt.appendChild(kt.elementRef.nativeElement);Ce.appendChild(Dt)}this._elementRef.nativeElement.appendChild(Ce)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ce=(Mt,Ht)=>Mt||Ht.hasStickyChanged();this._headerRowDefs.reduce(Ce,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ce,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ce,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new pe(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,M.of)()).pipe((0,I.R)(this._onDestroy)).subscribe(Mt=>{this._stickyStyler.direction=Mt,this.updateStickyColumnStyles()})}_getOwnDefs(Ce){return Ce.filter(Mt=>!Mt._table||Mt._table===this)}_updateNoDataRow(){const Ce=this._customNoDataRow||this._noDataRow;if(!Ce)return;const Mt=0===this._rowOutlet.viewContainer.length;if(Mt===this._isShowingNoDataRow)return;const Ht=this._noDataRowOutlet.viewContainer;if(Mt){const Dt=Ht.createEmbeddedView(Ce.templateRef),kt=Dt.rootNodes[0];1===Dt.rootNodes.length&&kt?.nodeType===this._document.ELEMENT_NODE&&(kt.setAttribute("role","row"),kt.classList.add(Ce._contentClassName))}else Ht.clear();this._isShowingNoDataRow=Mt,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(Mt){return new(Mt||st)(e.Y36(e.ZZ4),e.Y36(e.sBO),e.Y36(e.SBq),e.$8M("role"),e.Y36(t.Is,8),e.Y36(w.K0),e.Y36(A.t4),e.Y36(y.k),e.Y36(D),e.Y36(l.rL),e.Y36(It,12),e.Y36(e.R0b,8))};static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Mt,Ht,Dt){if(1&Mt&&(e.Suo(Dt,xe,5),e.Suo(Dt,S,5),e.Suo(Dt,Ke,5),e.Suo(Dt,R,5),e.Suo(Dt,ct,5)),2&Mt){let kt;e.iGM(kt=e.CRH())&&(Ht._noDataRow=kt.first),e.iGM(kt=e.CRH())&&(Ht._contentColumnDefs=kt),e.iGM(kt=e.CRH())&&(Ht._contentRowDefs=kt),e.iGM(kt=e.CRH())&&(Ht._contentHeaderRowDefs=kt),e.iGM(kt=e.CRH())&&(Ht._contentFooterRowDefs=kt)}},viewQuery:function(Mt,Ht){if(1&Mt&&(e.Gf(Be,7),e.Gf(rt,7),e.Gf($e,7),e.Gf(Ie,7)),2&Mt){let Dt;e.iGM(Dt=e.CRH())&&(Ht._rowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(Ht._headerRowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(Ht._footerRowOutlet=Dt.first),e.iGM(Dt=e.CRH())&&(Ht._noDataRowOutlet=Dt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(Mt,Ht){2&Mt&&e.ekj("cdk-table-fixed-layout",Ht.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:["multiTemplateDataRows","multiTemplateDataRows",e.VuI],fixedLayout:["fixedLayout","fixedLayout",e.VuI]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[e._Bn([{provide:ie,useExisting:st},{provide:y.k,useClass:y.yy},{provide:D,useClass:O},{provide:It,useValue:null}]),e.Xq5],ngContentSelectors:W,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Ht){1&Mt&&(e.F$t(B),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,rt,$e,Ie],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return st})();function dt(st,si){return st.concat(Array.from(si))}let Bt=(()=>{class st{static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275mod=e.oAB({type:st});static#i=this.\u0275inj=e.cJS({imports:[l.Cl]})}return st})();var Ye=p(3680),je=p(3019),Ft=p(2572),xt=p(7398);const Ot=[[["caption"]],[["colgroup"],["col"]]],yt=["caption","colgroup, col"];let Ge=(()=>{class st extends St{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Mt,Ht){2&Mt&&e.ekj("mdc-table-fixed-layout",Ht.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:St,useExisting:st},{provide:ie,useExisting:st},{provide:D,useClass:O},{provide:y.k,useClass:y.yy},{provide:It,useValue:null}]),e.qOj],ngContentSelectors:yt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Mt,Ht){1&Mt&&(e.F$t(Ot),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Be,rt,$e,Ie],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return st})(),Xe=(()=>{class st extends ue{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:ue,useExisting:st}]),e.qOj]})}return st})(),gt=(()=>{class st extends ae{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:ae,useExisting:st}]),e.qOj]})}return st})(),Le=(()=>{class st extends Me{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:Me,useExisting:st}]),e.qOj]})}return st})(),be=(()=>{class st extends S{get name(){return this._name}set name(Ce){this._setNameInput(Ce)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:S,useExisting:st},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:st}]),e.qOj]})}return st})(),$=(()=>{class st extends s{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]})}return st})(),ne=(()=>{class st extends f{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]})}return st})(),ke=(()=>{class st extends h{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]})}return st})(),At=(()=>{class st extends R{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:R,useExisting:st}]),e.qOj]})}return st})(),Wt=(()=>{class st extends ct{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:ct,useExisting:st}]),e.qOj]})}return st})(),gi=(()=>{class st extends Ke{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275dir=e.lG2({type:st,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:Ke,useExisting:st}]),e.qOj]})}return st})(),ei=(()=>{class st extends ye{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:ye,useExisting:st}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Ht){1&Mt&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return st})(),$t=(()=>{class st extends fe{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[e._Bn([{provide:fe,useExisting:st}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Ht){1&Mt&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return st})(),Fi=(()=>{class st extends de{static#e=this.\u0275fac=(()=>{let Ce;return function(Ht){return(Ce||(Ce=e.n5z(st)))(Ht||st)}})();static#t=this.\u0275cmp=e.Xpm({type:st,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:de,useExisting:st}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Mt,Ht){1&Mt&&e.GkF(0,0)},dependencies:[Je],encapsulation:2})}return st})(),Ki=(()=>{class st{static#e=this.\u0275fac=function(Mt){return new(Mt||st)};static#t=this.\u0275mod=e.oAB({type:st});static#i=this.\u0275inj=e.cJS({imports:[Ye.BQ,Bt,Ye.BQ]})}return st})();class on extends y.o2{get data(){return this._data.value}set data(si){si=Array.isArray(si)?si:[],this._data.next(si),this._renderChangesSubscription||this._filterData(si)}get filter(){return this._filter.value}set filter(si){this._filter.next(si),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(si){this._sort=si,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(si){this._paginator=si,this._updateChangeSubscription()}constructor(si=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new m.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(Ce,Mt)=>{const Ht=Ce[Mt];if((0,z.t6)(Ht)){const Dt=Number(Ht);return Dt<9007199254740991?Dt:Ht}return Ht},this.sortData=(Ce,Mt)=>{const Ht=Mt.active,Dt=Mt.direction;return Ht&&""!=Dt?Ce.sort((kt,Gt)=>{let oi=this.sortingDataAccessor(kt,Ht),bi=this.sortingDataAccessor(Gt,Ht);const yi=typeof oi,Oi=typeof bi;yi!==Oi&&("number"===yi&&(oi+=""),"number"===Oi&&(bi+=""));let Ui=0;return null!=oi&&null!=bi?oi>bi?Ui=1:oi{const Ht=Object.keys(Ce).reduce((kt,Gt)=>kt+Ce[Gt]+"\u25ec","").toLowerCase(),Dt=Mt.trim().toLowerCase();return-1!=Ht.indexOf(Dt)},this._data=new d.X(si),this._updateChangeSubscription()}_updateChangeSubscription(){const si=this._sort?(0,je.T)(this._sort.sortChange,this._sort.initialized):(0,M.of)(null),Ce=this._paginator?(0,je.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,M.of)(null),Ht=(0,Ft.a)([this._data,this._filter]).pipe((0,xt.U)(([Gt])=>this._filterData(Gt))),Dt=(0,Ft.a)([Ht,si]).pipe((0,xt.U)(([Gt])=>this._orderData(Gt))),kt=(0,Ft.a)([Dt,Ce]).pipe((0,xt.U)(([Gt])=>this._pageData(Gt)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=kt.subscribe(Gt=>this._renderData.next(Gt))}_filterData(si){return this.filteredData=null==this.filter||""===this.filter?si:si.filter(Ce=>this.filterPredicate(Ce,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(si){return this.sort?this.sortData(si.slice(),this.sort):si}_pageData(si){if(!this.paginator)return si;const Ce=this.paginator.pageIndex*this.paginator.pageSize;return si.slice(Ce,Ce+this.paginator.pageSize)}_updatePaginator(si){Promise.resolve().then(()=>{const Ce=this.paginator;if(Ce&&(Ce.length=si,Ce.pageIndex>0)){const Mt=Math.ceil(Ce.length/Ce.pageSize)-1||0,Ht=Math.min(Ce.pageIndex,Mt);Ht!==Ce.pageIndex&&(Ce.pageIndex=Ht,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},4104:(Fe,q,p)=>{"use strict";p.d(q,{BU:()=>at,Nh:()=>Xe,Nj:()=>nt,SP:()=>xt,sW:()=>Ge,uD:()=>Ze,uX:()=>Qe});var e=p(6814),t=p(9212),y=p(3680),A=p(8484),l=p(7131),w=p(4300),m=p(9388),P=p(7394),d=p(8645),E=p(2438),M=p(2096),I=p(3019),k=p(6232),z=p(5592),B=p(9080),W=p(5619),j=p(7921),K=p(3997),X=p(9773),ie=p(8180),se=p(4664),ue=p(836),ae=p(2181),Me=p(6825),J=p(2495),he=p(5407),S=p(2831),n=p(6028);function s(gt,Le){}const f=gt=>({animationDuration:gt}),h=(gt,Le)=>({value:gt,params:Le});function C(gt,Le){1>&&t.Hsn(0)}const D=["*"],O=["tabListContainer"],v=["tabList"],r=["tabListInner"],g=["nextPaginator"],H=["previousPaginator"],R=["tabBodyWrapper"],ee=["tabHeader"];function De(gt,Le){}function ct(gt,Le){if(1>&&t.YNc(0,De,0,0,"ng-template",10),2>){const be=t.oxw().$implicit;t.Q6J("cdkPortalOutlet",be.templateLabel)}}function Ke(gt,Le){if(1>&&t._uU(0),2>){const be=t.oxw().$implicit;t.Oqu(be.textLabel)}}function Je(gt,Le){if(1>){const be=t.EpF();t.TgZ(0,"div",4,5),t.NdJ("click",function(){const ne=t.CHM(be),ke=ne.$implicit,Nt=ne.$index,At=t.oxw(),Wt=t.MAs(1);return t.KtG(At._handleClick(ke,Wt,Nt))})("cdkFocusChange",function(ne){const Nt=t.CHM(be).$index,At=t.oxw();return t.KtG(At._tabFocusChanged(ne,Nt))}),t._UZ(2,"span",6)(3,"div",7),t.TgZ(4,"span",8)(5,"span",9),t.YNc(6,ct,1,1,null,10)(7,Ke,1,1),t.qZA()()()}if(2>){const be=Le.$implicit,$=Le.$index,ne=t.MAs(1),ke=t.oxw();t.ekj("mdc-tab--active",ke.selectedIndex===$),t.Q6J("id",ke._getTabLabelId($))("ngClass",be.labelClass)("disabled",be.disabled)("fitInkBarToContent",ke.fitInkBarToContent),t.uIk("tabIndex",ke._getTabIndex($))("aria-posinset",$+1)("aria-setsize",ke._tabs.length)("aria-controls",ke._getTabContentId($))("aria-selected",ke.selectedIndex===$)("aria-label",be.ariaLabel||null)("aria-labelledby",!be.ariaLabel&&be.ariaLabelledby?be.ariaLabelledby:null),t.xp6(3),t.Q6J("matRippleTrigger",ne)("matRippleDisabled",be.disabled||ke.disableRipple),t.xp6(3),t.um2(6,be.templateLabel?6:7)}}function ye(gt,Le){if(1>){const be=t.EpF();t.TgZ(0,"mat-tab-body",11),t.NdJ("_onCentered",function(){t.CHM(be);const ne=t.oxw();return t.KtG(ne._removeTabBodyWrapperHeight())})("_onCentering",function(ne){t.CHM(be);const ke=t.oxw();return t.KtG(ke._setTabBodyWrapperHeight(ne))}),t.qZA()}if(2>){const be=Le.$implicit,$=Le.$index,ne=t.oxw();t.ekj("mat-mdc-tab-body-active",ne.selectedIndex===$),t.Q6J("id",ne._getTabContentId($))("ngClass",be.bodyClass)("content",be.content)("position",be.position)("origin",be.origin)("animationDuration",ne.animationDuration)("preserveContent",ne.preserveContent),t.uIk("tabindex",null!=ne.contentTabIndex&&ne.selectedIndex===$?ne.contentTabIndex:null)("aria-labelledby",ne._getTabLabelId($))("aria-hidden",ne.selectedIndex!==$)}}const fe=["mat-tab-nav-bar",""],de=["mat-tab-link",""],xe={translateTab:(0,Me.X$)("translateTab",[(0,Me.SB)("center, void, left-origin-center, right-origin-center",(0,Me.oB)({transform:"none"})),(0,Me.SB)("left",(0,Me.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Me.SB)("right",(0,Me.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Me.eR)("* => left, * => right, left => center, right => center",(0,Me.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Me.eR)("void => left-origin-center",[(0,Me.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Me.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Me.eR)("void => right-origin-center",[(0,Me.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Me.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let le=(()=>{class gt extends A.Pl{constructor(be,$,ne,ke){super(be,$,ke),this._host=ne,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,j.O)(this._host._isCenterPosition(this._host._position))).subscribe(be=>{be&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36((0,t.Gpc)(()=>pe)),t.Y36(e.K0))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","matTabBodyHost",""]],features:[t.qOj]})}return gt})(),pe=(()=>{class gt{set position(be){this._positionIndex=be,this._computePositionAnimationState()}constructor(be,$,ne){this._elementRef=be,this._dir=$,this._dirChangeSubscription=P.w0.EMPTY,this._translateTabComplete=new d.x,this._onCentering=new t.vpe,this._beforeCentering=new t.vpe,this._afterLeavingCenter=new t.vpe,this._onCentered=new t.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,$&&(this._dirChangeSubscription=$.change.subscribe(ke=>{this._computePositionAnimationState(ke),ne.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((ke,Nt)=>ke.fromState===Nt.fromState&&ke.toState===Nt.toState)).subscribe(ke=>{this._isCenterPosition(ke.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ke.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(be){const $=this._isCenterPosition(be.toState);this._beforeCentering.emit($),$&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(be){return"center"==be||"left-origin-center"==be||"right-origin-center"==be}_computePositionAnimationState(be=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==be?"left":"right":this._positionIndex>0?"ltr"==be?"right":"left":"center"}_computePositionFromOrigin(be){const $=this._getLayoutDirection();return"ltr"==$&&be<=0||"rtl"==$&&be>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.SBq),t.Y36(m.Is,8),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-body"]],viewQuery:function($,ne){if(1&$&&t.Gf(A.Pl,5),2&$){let ke;t.iGM(ke=t.CRH())&&(ne._portalHost=ke.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function($,ne){1&$&&(t.TgZ(0,"div",0,1),t.NdJ("@translateTab.start",function(Nt){return ne._onTranslateTabStarted(Nt)})("@translateTab.done",function(Nt){return ne._translateTabComplete.next(Nt)}),t.YNc(2,s,0,0,"ng-template",2),t.qZA()),2&$&&t.Q6J("@translateTab",t.WLB(3,h,ne._position,t.VKq(1,f,ne.animationDuration)))},dependencies:[le],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[xe.translateTab]}})}return gt})();const qe=new t.OlP("MatTabContent");let re=(()=>{class gt{constructor(be){this.template=be}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","matTabContent",""]],features:[t._Bn([{provide:qe,useExisting:gt}])]})}return gt})();const ve=new t.OlP("MatTabLabel"),ce=new t.OlP("MAT_TAB");let Ze=(()=>{class gt extends A.ig{constructor(be,$,ne){super(be,$),this._closestTab=ne}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.Rgc),t.Y36(t.s_b),t.Y36(ce,8))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[t._Bn([{provide:ve,useExisting:gt}]),t.qOj]})}return gt})();const We="mdc-tab-indicator--active",Ct="mdc-tab-indicator--no-transition";class ut{constructor(Le){this._items=Le}hide(){this._items.forEach(Le=>Le.deactivateInkBar())}alignToElement(Le){const be=this._items.find(ne=>ne.elementRef.nativeElement===Le),$=this._currentItem;if(be!==$&&($?.deactivateInkBar(),be)){const ne=$?.elementRef.nativeElement.getBoundingClientRect?.();be.activateInkBar(ne),this._currentItem=be}}}function It(gt){return class extends gt{constructor(...Le){super(...Le),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Le){const be=(0,J.Ig)(Le);this._fitToContent!==be&&(this._fitToContent=be,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Le){const be=this.elementRef.nativeElement;if(!Le||!be.getBoundingClientRect||!this._inkBarContentElement)return void be.classList.add(We);const $=be.getBoundingClientRect(),ne=Le.width/$.width,ke=Le.left-$.left;be.classList.add(Ct),this._inkBarContentElement.style.setProperty("transform",`translateX(${ke}px) scaleX(${ne})`),be.getBoundingClientRect(),be.classList.remove(Ct),be.classList.add(We),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(We)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Le=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Le.createElement("span"),this._inkBarContentElement=Le.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const rt=It((0,y.Id)(class{}));let $e=(()=>{class gt extends rt{constructor(be){super(),this.elementRef=be}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:gt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function($,ne){2&$&&(t.uIk("aria-disabled",!!ne.disabled),t.ekj("mat-mdc-tab-disabled",ne.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[t.qOj]})}return gt})();const Ie=(0,y.Id)(class{}),lt=new t.OlP("MAT_TAB_GROUP");let Qe=(()=>{class gt extends Ie{get templateLabel(){return this._templateLabel}set templateLabel(be){this._setTemplateLabelInput(be)}get content(){return this._contentPortal}constructor(be,$){super(),this._viewContainerRef=be,this._closestTabGroup=$,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(be){(be.hasOwnProperty("textLabel")||be.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new A.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(be){be&&be._closestTab===this&&(this._templateLabel=be)}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.s_b),t.Y36(lt,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab"]],contentQueries:function($,ne,ke){if(1&$&&(t.Suo(ke,Ze,5),t.Suo(ke,re,7,t.Rgc)),2&$){let Nt;t.iGM(Nt=t.CRH())&&(ne.templateLabel=Nt.first),t.iGM(Nt=t.CRH())&&(ne._explicitContent=Nt.first)}},viewQuery:function($,ne){if(1&$&&t.Gf(t.Rgc,7),2&$){let ke;t.iGM(ke=t.CRH())&&(ne._implicitContent=ke.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[t._Bn([{provide:ce,useExisting:gt}]),t.qOj,t.TTD],ngContentSelectors:D,decls:1,vars:0,template:function($,ne){1&$&&(t.F$t(),t.YNc(0,C,1,0,"ng-template"))},encapsulation:2})}return gt})();const St=(0,S.i$)({passive:!0});let Ue=(()=>{class gt{get disablePagination(){return this._disablePagination}set disablePagination(be){this._disablePagination=(0,J.Ig)(be)}get selectedIndex(){return this._selectedIndex}set selectedIndex(be){be=(0,J.su)(be),this._selectedIndex!=be&&(this._selectedIndexChanged=!0,this._selectedIndex=be,this._keyManager&&this._keyManager.updateActiveItem(be))}constructor(be,$,ne,ke,Nt,At,Wt){this._elementRef=be,this._changeDetectorRef=$,this._viewportRuler=ne,this._dir=ke,this._ngZone=Nt,this._platform=At,this._animationMode=Wt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new t.vpe,this.indexFocused=new t.vpe,Nt.runOutsideAngular(()=>{(0,E.R)(be.nativeElement,"mouseleave").pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,E.R)(this._previousPaginator.nativeElement,"touchstart",St).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,E.R)(this._nextPaginator.nativeElement,"touchstart",St).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const be=this._dir?this._dir.change:(0,M.of)("ltr"),$=this._viewportRuler.change(150),ne=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new w.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(ne),(0,I.T)(be,$,this._items.changes,this._itemsResized()).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),ne()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(ke=>{this.indexFocused.emit(ke),this._setTabFocus(ke)})}_itemsResized(){return"function"!=typeof ResizeObserver?k.E:this._items.changes.pipe((0,j.O)(this._items),(0,se.w)(be=>new z.y($=>this._ngZone.runOutsideAngular(()=>{const ne=new ResizeObserver(ke=>$.next(ke));return be.forEach(ke=>ne.observe(ke.elementRef.nativeElement)),()=>{ne.disconnect()}}))),(0,ue.T)(1),(0,ae.h)(be=>be.some($=>$.contentRect.width>0&&$.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(be){if(!(0,n.Vb)(be))switch(be.keyCode){case n.K5:case n.L_:if(this.focusIndex!==this.selectedIndex){const $=this._items.get(this.focusIndex);$&&!$.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(be))}break;default:this._keyManager.onKeydown(be)}}_onContentChanges(){const be=this._elementRef.nativeElement.textContent;be!==this._currentTextContent&&(this._currentTextContent=be||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(be){!this._isValidIndex(be)||this.focusIndex===be||!this._keyManager||this._keyManager.setActiveItem(be)}_isValidIndex(be){return!this._items||!!this._items.toArray()[be]}_setTabFocus(be){if(this._showPaginationControls&&this._scrollToLabel(be),this._items&&this._items.length){this._items.toArray()[be].focus();const $=this._tabListContainer.nativeElement;$.scrollLeft="ltr"==this._getLayoutDirection()?0:$.scrollWidth-$.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const be=this.scrollDistance,$="ltr"===this._getLayoutDirection()?-be:be;this._tabList.nativeElement.style.transform=`translateX(${Math.round($)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(be){this._scrollTo(be)}_scrollHeader(be){return this._scrollTo(this._scrollDistance+("before"==be?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(be){this._stopInterval(),this._scrollHeader(be)}_scrollToLabel(be){if(this.disablePagination)return;const $=this._items?this._items.toArray()[be]:null;if(!$)return;const ne=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ke,offsetWidth:Nt}=$.elementRef.nativeElement;let At,Wt;"ltr"==this._getLayoutDirection()?(At=ke,Wt=At+Nt):(Wt=this._tabListInner.nativeElement.offsetWidth-ke,At=Wt-Nt);const gi=this.scrollDistance,ei=this.scrollDistance+ne;Atei&&(this.scrollDistance+=Math.min(Wt-ei,At-gi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const be=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;be||(this.scrollDistance=0),be!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=be}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const be=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,$=be?be.elementRef.nativeElement:null;$?this._inkBar.alignToElement($):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(be,$){$&&null!=$.button&&0!==$.button||(this._stopInterval(),(0,B.H)(650,100).pipe((0,X.R)((0,I.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ne,distance:ke}=this._scrollHeader(be);(0===ke||ke>=ne)&&this._stopInterval()}))}_scrollTo(be){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const $=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min($,be)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:$,distance:this._scrollDistance}}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(he.rL),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:gt,inputs:{disablePagination:"disablePagination"}})}return gt})(),Bt=(()=>{class gt extends Ue{get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=(0,J.Ig)(be)}constructor(be,$,ne,ke,Nt,At,Wt){super(be,$,ne,ke,Nt,At,Wt),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new ut(this._items),super.ngAfterContentInit()}_itemSelected(be){be.preventDefault()}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(he.rL),t.Y36(m.Is,8),t.Y36(t.R0b),t.Y36(S.t4),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-header"]],contentQueries:function($,ne,ke){if(1&$&&t.Suo(ke,$e,4),2&$){let Nt;t.iGM(Nt=t.CRH())&&(ne._items=Nt)}},viewQuery:function($,ne){if(1&$&&(t.Gf(O,7),t.Gf(v,7),t.Gf(r,7),t.Gf(g,5),t.Gf(H,5)),2&$){let ke;t.iGM(ke=t.CRH())&&(ne._tabListContainer=ke.first),t.iGM(ke=t.CRH())&&(ne._tabList=ke.first),t.iGM(ke=t.CRH())&&(ne._tabListInner=ke.first),t.iGM(ke=t.CRH())&&(ne._nextPaginator=ke.first),t.iGM(ke=t.CRH())&&(ne._previousPaginator=ke.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function($,ne){2&$&&t.ekj("mat-mdc-tab-header-pagination-controls-enabled",ne._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ne._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[t.qOj],ngContentSelectors:D,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function($,ne){1&$&&(t.F$t(),t.TgZ(0,"button",0,1),t.NdJ("click",function(){return ne._handlePaginatorClick("before")})("mousedown",function(Nt){return ne._handlePaginatorPress("before",Nt)})("touchend",function(){return ne._stopInterval()}),t._UZ(2,"div",2),t.qZA(),t.TgZ(3,"div",3,4),t.NdJ("keydown",function(Nt){return ne._handleKeydown(Nt)}),t.TgZ(5,"div",5,6),t.NdJ("cdkObserveContent",function(){return ne._onContentChanges()}),t.TgZ(7,"div",7,8),t.Hsn(9),t.qZA()()(),t.TgZ(10,"button",9,10),t.NdJ("mousedown",function(Nt){return ne._handlePaginatorPress("after",Nt)})("click",function(){return ne._handlePaginatorClick("after")})("touchend",function(){return ne._stopInterval()}),t._UZ(12,"div",2),t.qZA()),2&$&&(t.ekj("mat-mdc-tab-header-pagination-disabled",ne._disableScrollBefore),t.Q6J("matRippleDisabled",ne._disableScrollBefore||ne.disableRipple)("disabled",ne._disableScrollBefore||null),t.xp6(3),t.ekj("_mat-animation-noopable","NoopAnimations"===ne._animationMode),t.xp6(7),t.ekj("mat-mdc-tab-header-pagination-disabled",ne._disableScrollAfter),t.Q6J("matRippleDisabled",ne._disableScrollAfter||ne.disableRipple)("disabled",ne._disableScrollAfter||null))},dependencies:[y.wG,l.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return gt})();const Ye=new t.OlP("MAT_TABS_CONFIG");let je=0;const Ft=(0,y.pj)((0,y.Kr)(class{constructor(gt){this._elementRef=gt}}),"primary");let xt=(()=>{class gt extends Ft{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(be){this._fitInkBarToContent=(0,J.Ig)(be),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(be){this._stretchTabs=(0,J.Ig)(be)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(be){this._dynamicHeight=(0,J.Ig)(be)}get selectedIndex(){return this._selectedIndex}set selectedIndex(be){this._indexToSelect=(0,J.su)(be,null)}get animationDuration(){return this._animationDuration}set animationDuration(be){this._animationDuration=/^\d+$/.test(be+"")?be+"ms":be}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(be){this._contentTabIndex=(0,J.su)(be,null)}get disablePagination(){return this._disablePagination}set disablePagination(be){this._disablePagination=(0,J.Ig)(be)}get preserveContent(){return this._preserveContent}set preserveContent(be){this._preserveContent=(0,J.Ig)(be)}get backgroundColor(){return this._backgroundColor}set backgroundColor(be){const $=this._elementRef.nativeElement.classList;$.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),be&&$.add("mat-tabs-with-background",`mat-background-${be}`),this._backgroundColor=be}constructor(be,$,ne,ke){super(be),this._changeDetectorRef=$,this._animationMode=ke,this._tabs=new t.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w0.EMPTY,this._tabLabelSubscription=P.w0.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new t.vpe,this.focusChange=new t.vpe,this.animationDone=new t.vpe,this.selectedTabChange=new t.vpe(!0),this._groupId=je++,this.animationDuration=ne&&ne.animationDuration?ne.animationDuration:"500ms",this.disablePagination=!(!ne||null==ne.disablePagination)&&ne.disablePagination,this.dynamicHeight=!(!ne||null==ne.dynamicHeight)&&ne.dynamicHeight,this.contentTabIndex=ne?.contentTabIndex??null,this.preserveContent=!!ne?.preserveContent,this.fitInkBarToContent=!(!ne||null==ne.fitInkBarToContent)&&ne.fitInkBarToContent,this.stretchTabs=!ne||null==ne.stretchTabs||ne.stretchTabs}ngAfterContentChecked(){const be=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=be){const $=null==this._selectedIndex;if(!$){this.selectedTabChange.emit(this._createChangeEvent(be));const ne=this._tabBodyWrapper.nativeElement;ne.style.minHeight=ne.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ne,ke)=>ne.isActive=ke===be),$||(this.selectedIndexChange.emit(be),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(($,ne)=>{$.position=ne-be,null!=this._selectedIndex&&0==$.position&&!$.origin&&($.origin=be-this._selectedIndex)}),this._selectedIndex!==be&&(this._selectedIndex=be,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const be=this._clampTabIndex(this._indexToSelect);if(be===this._selectedIndex){const $=this._tabs.toArray();let ne;for(let ke=0;ke<$.length;ke++)if($[ke].isActive){this._indexToSelect=this._selectedIndex=ke,this._lastFocusedTabIndex=null,ne=$[ke];break}!ne&&$[be]&&Promise.resolve().then(()=>{$[be].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(be))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,j.O)(this._allTabs)).subscribe(be=>{this._tabs.reset(be.filter($=>$._closestTabGroup===this||!$._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(be){const $=this._tabHeader;$&&($.focusIndex=be)}_focusChanged(be){this._lastFocusedTabIndex=be,this.focusChange.emit(this._createChangeEvent(be))}_createChangeEvent(be){const $=new Ot;return $.index=be,this._tabs&&this._tabs.length&&($.tab=this._tabs.toArray()[be]),$}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,I.T)(...this._tabs.map(be=>be._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(be){return Math.min(this._tabs.length-1,Math.max(be||0,0))}_getTabLabelId(be){return`mat-tab-label-${this._groupId}-${be}`}_getTabContentId(be){return`mat-tab-content-${this._groupId}-${be}`}_setTabBodyWrapperHeight(be){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const $=this._tabBodyWrapper.nativeElement;$.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&($.style.height=be+"px")}_removeTabBodyWrapperHeight(){const be=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=be.clientHeight,be.style.height="",this.animationDone.emit()}_handleClick(be,$,ne){$.focusIndex=ne,be.disabled||(this.selectedIndex=ne)}_getTabIndex(be){return be===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(be,$){be&&"mouse"!==be&&"touch"!==be&&(this._tabHeader.focusIndex=$)}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Ye,8),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-group"]],contentQueries:function($,ne,ke){if(1&$&&t.Suo(ke,Qe,5),2&$){let Nt;t.iGM(Nt=t.CRH())&&(ne._allTabs=Nt)}},viewQuery:function($,ne){if(1&$&&(t.Gf(R,5),t.Gf(ee,5)),2&$){let ke;t.iGM(ke=t.CRH())&&(ne._tabBodyWrapper=ke.first),t.iGM(ke=t.CRH())&&(ne._tabHeader=ke.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function($,ne){2&$&&(t.Udp("--mat-tab-animation-duration",ne.animationDuration),t.ekj("mat-mdc-tab-group-dynamic-height",ne.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ne.headerPosition)("mat-mdc-tab-group-stretch-tabs",ne.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[t._Bn([{provide:lt,useExisting:gt}]),t.qOj],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function($,ne){1&$&&(t.TgZ(0,"mat-tab-header",0,1),t.NdJ("indexFocused",function(Nt){return ne._focusChanged(Nt)})("selectFocusedIndex",function(Nt){return ne.selectedIndex=Nt}),t.SjG(2,Je,8,16,"div",12,t.x6l),t.qZA(),t.TgZ(4,"div",2,3),t.SjG(6,ye,1,12,"mat-tab-body",13,t.x6l),t.qZA()),2&$&&(t.Q6J("selectedIndex",ne.selectedIndex||0)("disableRipple",ne.disableRipple)("disablePagination",ne.disablePagination),t.xp6(2),t.wJu(ne._tabs),t.xp6(2),t.ekj("_mat-animation-noopable","NoopAnimations"===ne._animationMode),t.xp6(2),t.wJu(ne._tabs))},dependencies:[e.mk,A.Pl,y.wG,w.kH,pe,$e,Bt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return gt})();class Ot{}let yt=0,at=(()=>{class gt extends Ue{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(be){this._fitInkBarToContent.next((0,J.Ig)(be)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(be){this._stretchTabs=(0,J.Ig)(be)}get animationDuration(){return this._animationDuration}set animationDuration(be){this._animationDuration=/^\d+$/.test(be+"")?be+"ms":be}get backgroundColor(){return this._backgroundColor}set backgroundColor(be){const $=this._elementRef.nativeElement.classList;$.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),be&&$.add("mat-tabs-with-background",`mat-background-${be}`),this._backgroundColor=be}get disableRipple(){return this._disableRipple}set disableRipple(be){this._disableRipple=(0,J.Ig)(be)}constructor(be,$,ne,ke,Nt,At,Wt,gi){super(be,ke,Nt,$,ne,At,Wt),this._fitInkBarToContent=new W.X(!1),this._stretchTabs=!0,this._disableRipple=!1,this.color="primary",this.disablePagination=!(!gi||null==gi.disablePagination)&&gi.disablePagination,this.fitInkBarToContent=!(!gi||null==gi.fitInkBarToContent)&&gi.fitInkBarToContent,this.stretchTabs=!gi||null==gi.stretchTabs||gi.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new ut(this._items),this._items.changes.pipe((0,j.O)(null),(0,X.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const be=this._items.toArray();for(let $=0;$.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return gt})();const Ee=It((0,y.sb)((0,y.Kr)((0,y.Id)(class{}))));let nt=(()=>{class gt extends Ee{get active(){return this._isActive}set active(be){const $=(0,J.Ig)(be);$!==this._isActive&&(this._isActive=$,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(be,$,ne,ke,Nt,At){super(),this._tabNavBar=be,this.elementRef=$,this._focusMonitor=Nt,this._destroyed=new d.x,this._isActive=!1,this.id="mat-tab-link-"+yt++,this.rippleConfig=ne||{},this.tabIndex=parseInt(ke)||0,"NoopAnimations"===At&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),be._fitInkBarToContent.pipe((0,X.R)(this._destroyed)).subscribe(Wt=>{this.fitInkBarToContent=Wt})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(be){(be.keyCode===n.L_||be.keyCode===n.K5)&&(this.disabled?be.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function($){return new($||gt)(t.Y36(at),t.Y36(t.SBq),t.Y36(y.Y2,8),t.$8M("tabindex"),t.Y36(w.tE),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function($,ne){1&$&&t.NdJ("focus",function(){return ne._handleFocus()})("keydown",function(Nt){return ne._handleKeydown(Nt)}),2&$&&(t.uIk("aria-controls",ne._getAriaControls())("aria-current",ne._getAriaCurrent())("aria-disabled",ne.disabled)("aria-selected",ne._getAriaSelected())("id",ne.id)("tabIndex",ne._getTabIndex())("role",ne._getRole()),t.ekj("mat-mdc-tab-disabled",ne.disabled)("mdc-tab--active",ne.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[t.qOj],attrs:de,ngContentSelectors:D,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function($,ne){1&$&&(t.F$t(),t._UZ(0,"span",0)(1,"div",1),t.TgZ(2,"span",2)(3,"span",3),t.Hsn(4),t.qZA()()),2&$&&(t.xp6(1),t.Q6J("matRippleTrigger",ne.elementRef.nativeElement)("matRippleDisabled",ne.rippleDisabled))},dependencies:[y.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return gt})(),Ge=(()=>{class gt{constructor(){this.id="mat-tab-nav-panel-"+yt++}static#e=this.\u0275fac=function($){return new($||gt)};static#t=this.\u0275cmp=t.Xpm({type:gt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function($,ne){2&$&&t.uIk("aria-labelledby",ne._activeTabId)("id",ne.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:D,decls:1,vars:0,template:function($,ne){1&$&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0})}return gt})(),Xe=(()=>{class gt{static#e=this.\u0275fac=function($){return new($||gt)};static#t=this.\u0275mod=t.oAB({type:gt});static#i=this.\u0275inj=t.cJS({imports:[e.ez,y.BQ,A.eL,y.si,l.Q8,w.rt,y.BQ]})}return gt})()},1274:(Fe,q,p)=>{"use strict";p.d(q,{Ye:()=>d,g0:()=>M});var e=p(9212),t=p(3680),y=p(2831),A=p(6814);const l=["*",[["mat-toolbar-row"]]],w=["*","mat-toolbar-row"],m=(0,t.pj)(class{constructor(I){this._elementRef=I}});let P=(()=>{class I{static#e=this.\u0275fac=function(B){return new(B||I)};static#t=this.\u0275dir=e.lG2({type:I,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return I})(),d=(()=>{class I extends m{constructor(z,B,W){super(z),this._platform=B,this._document=W}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(B){return new(B||I)(e.Y36(e.SBq),e.Y36(y.t4),e.Y36(A.K0))};static#t=this.\u0275cmp=e.Xpm({type:I,selectors:[["mat-toolbar"]],contentQueries:function(B,W,j){if(1&B&&e.Suo(j,P,5),2&B){let K;e.iGM(K=e.CRH())&&(W._toolbarRows=K)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(B,W){2&B&&e.ekj("mat-toolbar-multiple-rows",W._toolbarRows.length>0)("mat-toolbar-single-row",0===W._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[e.qOj],ngContentSelectors:w,decls:2,vars:0,template:function(B,W){1&B&&(e.F$t(l),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return I})(),M=(()=>{class I{static#e=this.\u0275fac=function(B){return new(B||I)};static#t=this.\u0275mod=e.oAB({type:I});static#i=this.\u0275inj=e.cJS({imports:[t.BQ,t.BQ]})}return I})()},2596:(Fe,q,p)=>{"use strict";p.d(q,{AV:()=>v,gM:()=>C});var e=p(9773),t=p(8180),y=p(2495),A=p(6028),l=p(9212),w=p(6814),m=p(2831),P=p(4300),d=p(9388),E=p(3651),M=p(5407),I=p(8484),k=p(8645),B=(p(6825),p(3680));const W=["tooltip"],X=new l.OlP("mat-tooltip-scroll-strategy"),se={provide:X,deps:[E.aV],useFactory:function ie(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},ae=new l.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ue(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),J="tooltip-panel",he=(0,m.i$)({passive:!0});let C=(()=>{class r{get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,y.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,y.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,y.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,y.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,R,ee,De,ct,Ke,Je,ye,fe,de,xe,le){this._overlay=H,this._elementRef=R,this._scrollDispatcher=ee,this._viewContainerRef=De,this._ngZone=ct,this._platform=Ke,this._ariaDescriber=Je,this._focusMonitor=ye,this._dir=de,this._defaultOptions=xe,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=D,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k.x,this._scrollStrategy=fe,this._document=le,xe&&(this._showDelay=xe.showDelay,this._hideDelay=xe.hideDelay,xe.position&&(this.position=xe.position),xe.positionAtOrigin&&(this.positionAtOrigin=xe.positionAtOrigin),xe.touchGestures&&(this.touchGestures=xe.touchGestures)),de.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([R,ee])=>{H.removeEventListener(R,ee,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,R){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const ee=this._createOverlay(R);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const De=this._tooltipInstance=ee.attach(this._portal).instance;De._triggerElement=this._elementRef.nativeElement,De._mouseLeaveHideDelay=this._hideDelay,De.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),De.show(H)}hide(H=this.hideDelay){const R=this._tooltipInstance;R&&(R.isVisible()?R.hide(H):(R._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const De=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&De._origin instanceof l.SBq)return this._overlayRef;this._detach()}const R=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),ee=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(R);return ee.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe(De=>{this._updateCurrentPositionClass(De.connectionPair),this._tooltipInstance&&De.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:ee,panelClass:`${this._cssClassPrefix}-${J}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.R)(this._destroyed)).subscribe(De=>{this._isTooltipVisible()&&De.keyCode===A.hY&&!(0,A.Vb)(De)&&(De.preventDefault(),De.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(H){const R=H.getConfig().positionStrategy,ee=this._getOrigin(),De=this._getOverlayPosition();R.withPositions([this._addOffset({...ee.main,...De.main}),this._addOffset({...ee.fallback,...De.fallback})])}_addOffset(H){const ee=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=ee?-8:8:"end"===H.originX&&(H.offsetX=ee?8:-8),H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,R=this.position;let ee;"above"==R||"below"==R?ee={originX:"center",originY:"above"==R?"top":"bottom"}:"before"==R||"left"==R&&H||"right"==R&&!H?ee={originX:"start",originY:"center"}:("after"==R||"right"==R&&H||"left"==R&&!H)&&(ee={originX:"end",originY:"center"});const{x:De,y:ct}=this._invertPosition(ee.originX,ee.originY);return{main:ee,fallback:{originX:De,originY:ct}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,R=this.position;let ee;"above"==R?ee={overlayX:"center",overlayY:"bottom"}:"below"==R?ee={overlayX:"center",overlayY:"top"}:"before"==R||"left"==R&&H||"right"==R&&!H?ee={overlayX:"end",overlayY:"center"}:("after"==R||"right"==R&&H||"left"==R&&!H)&&(ee={overlayX:"start",overlayY:"center"});const{x:De,y:ct}=this._invertPosition(ee.overlayX,ee.overlayY);return{main:ee,fallback:{overlayX:De,overlayY:ct}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,t.q)(1),(0,e.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,R){return"above"===this.position||"below"===this.position?"top"===R?R="bottom":"bottom"===R&&(R="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:R}}_updateCurrentPositionClass(H){const{overlayY:R,originX:ee,originY:De}=H;let ct;if(ct="center"===R?this._dir&&"rtl"===this._dir.value?"end"===ee?"left":"right":"start"===ee?"left":"right":"bottom"===R&&"top"===De?"above":"below",ct!==this._currentPosition){const Ke=this._overlayRef;if(Ke){const Je=`${this._cssClassPrefix}-${J}-`;Ke.removePanelClass(Je+this._currentPosition),Ke.addPanelClass(Je+ct)}this._currentPosition=ct}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let R;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(R=H),this.show(void 0,R)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const R=H.targetTouches?.[0],ee=R?{x:R.clientX,y:R.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,ee),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",R=>{const ee=R.relatedTarget;(!ee||!this._overlayRef?.overlayElement.contains(ee))&&this.hide()}],["wheel",R=>this._wheelListener(R)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const R=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",R],["touchcancel",R])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([R,ee])=>{this._elementRef.nativeElement.addEventListener(R,ee,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const R=this._document.elementFromPoint(H.clientX,H.clientY),ee=this._elementRef.nativeElement;R!==ee&&!ee.contains(R)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const R=this._elementRef.nativeElement,ee=R.style;("on"===H||"INPUT"!==R.nodeName&&"TEXTAREA"!==R.nodeName)&&(ee.userSelect=ee.msUserSelect=ee.webkitUserSelect=ee.MozUserSelect="none"),("on"===H||!R.draggable)&&(ee.webkitUserDrag="none"),ee.touchAction="none",ee.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(R){return new(R||r)(l.Y36(E.aV),l.Y36(l.SBq),l.Y36(M.mF),l.Y36(l.s_b),l.Y36(l.R0b),l.Y36(m.t4),l.Y36(P.$s),l.Y36(P.tE),l.Y36(X),l.Y36(d.Is),l.Y36(ae,8),l.Y36(w.K0))};static#t=this.\u0275dir=l.lG2({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(R,ee){2&R&&l.ekj("mat-mdc-tooltip-disabled",ee.disabled)},inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return r})(),D=(()=>{class r{constructor(H,R,ee){this._changeDetectorRef=H,this._elementRef=R,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k.x,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled="NoopAnimations"===ee}show(H){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const R=this._tooltip.nativeElement,ee=this._showAnimation,De=this._hideAnimation;if(R.classList.remove(H?De:ee),R.classList.add(H?ee:De),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ct=getComputedStyle(R);("0s"===ct.getPropertyValue("animation-duration")||"none"===ct.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(R.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}static#e=this.\u0275fac=function(R){return new(R||r)(l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(l.QbO,8))};static#t=this.\u0275cmp=l.Xpm({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(R,ee){if(1&R&&l.Gf(W,7),2&R){let De;l.iGM(De=l.CRH())&&(ee._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(R,ee){1&R&&l.NdJ("mouseleave",function(ct){return ee._handleMouseLeave(ct)}),2&R&&l.Udp("zoom",ee.isVisible()?1:null)},decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(R,ee){1&R&&(l.TgZ(0,"div",0,1),l.NdJ("animationend",function(ct){return ee._handleAnimationEnd(ct)}),l.TgZ(2,"div",2),l._uU(3),l.qZA()()),2&R&&(l.ekj("mdc-tooltip--multiline",ee._isMultiline),l.Q6J("ngClass",ee.tooltipClass),l.xp6(3),l.Oqu(ee.message))},dependencies:[w.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return r})(),v=(()=>{class r{static#e=this.\u0275fac=function(R){return new(R||r)};static#t=this.\u0275mod=l.oAB({type:r});static#i=this.\u0275inj=l.cJS({providers:[se],imports:[P.rt,w.ez,E.U8,B.BQ,B.BQ,M.ZD]})}return r})()},8445:(Fe,q,p)=>{"use strict";p.d(q,{Ar:()=>z,GZ:()=>I,WX:()=>se,dp:()=>K,eu:()=>W,fQ:()=>M,gi:()=>B,uo:()=>E});var e=p(1894),t=p(9212),y=p(3680),A=p(2495),l=p(8337),w=p(5619),m=p(3019),P=p(7398);const d=(0,y.sb)((0,y.Id)(e.Hs));let E=(()=>{class ue extends d{constructor(Me,J,he){super(Me,J),this.tabIndex=Number(he)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(J){return new(J||ue)(t.Y36(t.SBq),t.Y36(e._0),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[t._Bn([{provide:e.Hs,useExisting:ue}]),t.qOj]})}return ue})(),M=(()=>{class ue extends e.rO{static#e=this.\u0275fac=(()=>{let Me;return function(he){return(Me||(Me=t.n5z(ue)))(he||ue)}})();static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[t._Bn([{provide:e.rO,useExisting:ue}]),t.qOj]})}return ue})(),I=(()=>{class ue extends e.Xx{get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,A.Ig)(Me)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Me){this._tabIndex=Me??0}constructor(Me,J,he,S){super(Me,J,he),this._disabled=!1,this.tabIndex=Number(S)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(J){return new(J||ue)(t.Y36(t.SBq),t.Y36(e._0),t.Y36(t.ZZ4),t.$8M("tabindex"))};static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[t._Bn([{provide:e.Xx,useExisting:ue},{provide:e.Hs,useExisting:ue},{provide:e.HI,useExisting:ue}]),t.qOj]})}return ue})(),z=(()=>{class ue{constructor(Me,J){this.viewContainer=Me,this._node=J}static#e=this.\u0275fac=function(J){return new(J||ue)(t.Y36(t.s_b),t.Y36(e.HI,8))};static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["","matTreeNodeOutlet",""]],features:[t._Bn([{provide:e.cu,useExisting:ue}])]})}return ue})(),B=(()=>{class ue extends e._0{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=(()=>{let Me;return function(he){return(Me||(Me=t.n5z(ue)))(he||ue)}})();static#t=this.\u0275cmp=t.Xpm({type:ue,selectors:[["mat-tree"]],viewQuery:function(J,he){if(1&J&&t.Gf(z,7),2&J){let S;t.iGM(S=t.CRH())&&(he._nodeOutlet=S.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[t._Bn([{provide:e._0,useExisting:ue}]),t.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(J,he){1&J&&t.GkF(0,0)},dependencies:[z],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color)}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color);font-family:var(--mat-tree-node-text-font);font-size:var(--mat-tree-node-text-size);font-weight:var(--mat-tree-node-text-weight)}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}return ue})(),W=(()=>{class ue extends e.Ud{static#e=this.\u0275fac=(()=>{let Me;return function(he){return(Me||(Me=t.n5z(ue)))(he||ue)}})();static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[t._Bn([{provide:e.Ud,useExisting:ue}]),t.qOj]})}return ue})(),K=(()=>{class ue{static#e=this.\u0275fac=function(J){return new(J||ue)};static#t=this.\u0275mod=t.oAB({type:ue});static#i=this.\u0275inj=t.cJS({imports:[e.nZ,y.BQ,y.BQ]})}return ue})();class se extends l.o2{constructor(){super(...arguments),this._data=new w.X([])}get data(){return this._data.value}set data(ae){this._data.next(ae)}connect(ae){return(0,m.T)(ae.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},6593:(Fe,q,p)=>{"use strict";p.d(q,{Dx:()=>We,H7:()=>je,b2:()=>qe,q6:()=>de,se:()=>he,t6:()=>Ye});var e=p(9212),t=p(6814);class y extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class A extends y{static makeCurrent(){(0,t.HT)(new A)}onAndCancel(be,$,ne){return be.addEventListener($,ne),()=>{be.removeEventListener($,ne)}}dispatchEvent(be,$){be.dispatchEvent($)}remove(be){be.parentNode&&be.parentNode.removeChild(be)}createElement(be,$){return($=$||this.getDefaultDocument()).createElement(be)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(be){return be.nodeType===Node.ELEMENT_NODE}isShadowRoot(be){return be instanceof DocumentFragment}getGlobalEventTarget(be,$){return"window"===$?window:"document"===$?be:"body"===$?be.body:null}getBaseHref(be){const $=function w(){return l=l||document.querySelector("base"),l?l.getAttribute("href"):null}();return null==$?null:function P(Le){m=m||document.createElement("a"),m.setAttribute("href",Le);const be=m.pathname;return"/"===be.charAt(0)?be:`/${be}`}($)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(be){return(0,t.Mx)(document.cookie,be)}}let m,l=null,E=(()=>{class Le{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const M=new e.OlP("EventManagerPlugins");let I=(()=>{class Le{constructor($,ne){this._zone=ne,this._eventNameToPlugin=new Map,$.forEach(ke=>{ke.manager=this}),this._plugins=$.slice().reverse()}addEventListener($,ne,ke){return this._findPluginFor(ne).addEventListener($,ne,ke)}getZone(){return this._zone}_findPluginFor($){let ne=this._eventNameToPlugin.get($);if(ne)return ne;if(ne=this._plugins.find(Nt=>Nt.supports($)),!ne)throw new e.vHH(5101,!1);return this._eventNameToPlugin.set($,ne),ne}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(M),e.LFG(e.R0b))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();class k{constructor(be){this._doc=be}}const z="ng-app-id";let B=(()=>{class Le{constructor($,ne,ke,Nt={}){this.doc=$,this.appId=ne,this.nonce=ke,this.platformId=Nt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,t.PM)(Nt),this.resetHostNodes()}addStyles($){for(const ne of $)1===this.changeUsageCount(ne,1)&&this.onStyleAdded(ne)}removeStyles($){for(const ne of $)this.changeUsageCount(ne,-1)<=0&&this.onStyleRemoved(ne)}ngOnDestroy(){const $=this.styleNodesInDOM;$&&($.forEach(ne=>ne.remove()),$.clear());for(const ne of this.getAllStyles())this.onStyleRemoved(ne);this.resetHostNodes()}addHost($){this.hostNodes.add($);for(const ne of this.getAllStyles())this.addStyleToHost($,ne)}removeHost($){this.hostNodes.delete($)}getAllStyles(){return this.styleRef.keys()}onStyleAdded($){for(const ne of this.hostNodes)this.addStyleToHost(ne,$)}onStyleRemoved($){const ne=this.styleRef;ne.get($)?.elements?.forEach(ke=>ke.remove()),ne.delete($)}collectServerRenderedStyles(){const $=this.doc.head?.querySelectorAll(`style[${z}="${this.appId}"]`);if($?.length){const ne=new Map;return $.forEach(ke=>{null!=ke.textContent&&ne.set(ke.textContent,ke)}),ne}return null}changeUsageCount($,ne){const ke=this.styleRef;if(ke.has($)){const Nt=ke.get($);return Nt.usage+=ne,Nt.usage}return ke.set($,{usage:ne,elements:[]}),ne}getStyleElement($,ne){const ke=this.styleNodesInDOM,Nt=ke?.get(ne);if(Nt?.parentNode===$)return ke.delete(ne),Nt.removeAttribute(z),Nt;{const At=this.doc.createElement("style");return this.nonce&&At.setAttribute("nonce",this.nonce),At.textContent=ne,this.platformIsServer&&At.setAttribute(z,this.appId),$.appendChild(At),At}}addStyleToHost($,ne){const ke=this.getStyleElement($,ne),Nt=this.styleRef,At=Nt.get(ne)?.elements;At?At.push(ke):Nt.set(ne,{elements:[ke],usage:1})}resetHostNodes(){const $=this.hostNodes;$.clear(),$.add(this.doc.head)}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0),e.LFG(e.AFp),e.LFG(e.Ojb,8),e.LFG(e.Lbi))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const W={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},j=/%COMP%/g,K="%COMP%",X=`_nghost-${K}`,ie=`_ngcontent-${K}`,ue=new e.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function J(Le,be){return be.map($=>$.replace(j,Le))}let he=(()=>{class Le{constructor($,ne,ke,Nt,At,Wt,gi,ei=null){this.eventManager=$,this.sharedStylesHost=ne,this.appId=ke,this.removeStylesOnCompDestroy=Nt,this.doc=At,this.platformId=Wt,this.ngZone=gi,this.nonce=ei,this.rendererByCompId=new Map,this.platformIsServer=(0,t.PM)(Wt),this.defaultRenderer=new S($,At,gi,this.platformIsServer)}createRenderer($,ne){if(!$||!ne)return this.defaultRenderer;this.platformIsServer&&ne.encapsulation===e.ifc.ShadowDom&&(ne={...ne,encapsulation:e.ifc.Emulated});const ke=this.getOrCreateRenderer($,ne);return ke instanceof D?ke.applyToHost($):ke instanceof C&&ke.applyStyles(),ke}getOrCreateRenderer($,ne){const ke=this.rendererByCompId;let Nt=ke.get(ne.id);if(!Nt){const At=this.doc,Wt=this.ngZone,gi=this.eventManager,ei=this.sharedStylesHost,$t=this.removeStylesOnCompDestroy,Fi=this.platformIsServer;switch(ne.encapsulation){case e.ifc.Emulated:Nt=new D(gi,ei,ne,this.appId,$t,At,Wt,Fi);break;case e.ifc.ShadowDom:return new h(gi,ei,$,ne,At,Wt,this.nonce,Fi);default:Nt=new C(gi,ei,ne,$t,At,Wt,Fi)}ke.set(ne.id,Nt)}return Nt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(I),e.LFG(B),e.LFG(e.AFp),e.LFG(ue),e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(e.R0b),e.LFG(e.Ojb))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();class S{constructor(be,$,ne,ke){this.eventManager=be,this.doc=$,this.ngZone=ne,this.platformIsServer=ke,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(be,$){return $?this.doc.createElementNS(W[$]||$,be):this.doc.createElement(be)}createComment(be){return this.doc.createComment(be)}createText(be){return this.doc.createTextNode(be)}appendChild(be,$){(f(be)?be.content:be).appendChild($)}insertBefore(be,$,ne){be&&(f(be)?be.content:be).insertBefore($,ne)}removeChild(be,$){be&&be.removeChild($)}selectRootElement(be,$){let ne="string"==typeof be?this.doc.querySelector(be):be;if(!ne)throw new e.vHH(-5104,!1);return $||(ne.textContent=""),ne}parentNode(be){return be.parentNode}nextSibling(be){return be.nextSibling}setAttribute(be,$,ne,ke){if(ke){$=ke+":"+$;const Nt=W[ke];Nt?be.setAttributeNS(Nt,$,ne):be.setAttribute($,ne)}else be.setAttribute($,ne)}removeAttribute(be,$,ne){if(ne){const ke=W[ne];ke?be.removeAttributeNS(ke,$):be.removeAttribute(`${ne}:${$}`)}else be.removeAttribute($)}addClass(be,$){be.classList.add($)}removeClass(be,$){be.classList.remove($)}setStyle(be,$,ne,ke){ke&(e.JOm.DashCase|e.JOm.Important)?be.style.setProperty($,ne,ke&e.JOm.Important?"important":""):be.style[$]=ne}removeStyle(be,$,ne){ne&e.JOm.DashCase?be.style.removeProperty($):be.style[$]=""}setProperty(be,$,ne){null!=be&&(be[$]=ne)}setValue(be,$){be.nodeValue=$}listen(be,$,ne){if("string"==typeof be&&!(be=(0,t.q)().getGlobalEventTarget(this.doc,be)))throw new Error(`Unsupported event target ${be} for event ${$}`);return this.eventManager.addEventListener(be,$,this.decoratePreventDefault(ne))}decoratePreventDefault(be){return $=>{if("__ngUnwrap__"===$)return be;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>be($)):be($))&&$.preventDefault()}}}function f(Le){return"TEMPLATE"===Le.tagName&&void 0!==Le.content}class h extends S{constructor(be,$,ne,ke,Nt,At,Wt,gi){super(be,Nt,At,gi),this.sharedStylesHost=$,this.hostEl=ne,this.shadowRoot=ne.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ei=J(ke.id,ke.styles);for(const $t of ei){const Fi=document.createElement("style");Wt&&Fi.setAttribute("nonce",Wt),Fi.textContent=$t,this.shadowRoot.appendChild(Fi)}}nodeOrShadowRoot(be){return be===this.hostEl?this.shadowRoot:be}appendChild(be,$){return super.appendChild(this.nodeOrShadowRoot(be),$)}insertBefore(be,$,ne){return super.insertBefore(this.nodeOrShadowRoot(be),$,ne)}removeChild(be,$){return super.removeChild(this.nodeOrShadowRoot(be),$)}parentNode(be){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(be)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class C extends S{constructor(be,$,ne,ke,Nt,At,Wt,gi){super(be,Nt,At,Wt),this.sharedStylesHost=$,this.removeStylesOnCompDestroy=ke,this.styles=gi?J(gi,ne.styles):ne.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class D extends C{constructor(be,$,ne,ke,Nt,At,Wt,gi){const ei=ke+"-"+ne.id;super(be,$,ne,Nt,At,Wt,gi,ei),this.contentAttr=function ae(Le){return ie.replace(j,Le)}(ei),this.hostAttr=function Me(Le){return X.replace(j,Le)}(ei)}applyToHost(be){this.applyStyles(),this.setAttribute(be,this.hostAttr,"")}createElement(be,$){const ne=super.createElement(be,$);return super.setAttribute(ne,this.contentAttr,""),ne}}let O=(()=>{class Le extends k{constructor($){super($)}supports($){return!0}addEventListener($,ne,ke){return $.addEventListener(ne,ke,!1),()=>this.removeEventListener($,ne,ke)}removeEventListener($,ne,ke){return $.removeEventListener(ne,ke)}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const v=["alt","control","meta","shift"],r={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},g={alt:Le=>Le.altKey,control:Le=>Le.ctrlKey,meta:Le=>Le.metaKey,shift:Le=>Le.shiftKey};let H=(()=>{class Le extends k{constructor($){super($)}supports($){return null!=Le.parseEventName($)}addEventListener($,ne,ke){const Nt=Le.parseEventName(ne),At=Le.eventCallback(Nt.fullKey,ke,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel($,Nt.domEventName,At))}static parseEventName($){const ne=$.toLowerCase().split("."),ke=ne.shift();if(0===ne.length||"keydown"!==ke&&"keyup"!==ke)return null;const Nt=Le._normalizeKey(ne.pop());let At="",Wt=ne.indexOf("code");if(Wt>-1&&(ne.splice(Wt,1),At="code."),v.forEach(ei=>{const $t=ne.indexOf(ei);$t>-1&&(ne.splice($t,1),At+=ei+".")}),At+=Nt,0!=ne.length||0===Nt.length)return null;const gi={};return gi.domEventName=ke,gi.fullKey=At,gi}static matchEventFullKeyCode($,ne){let ke=r[$.key]||$.key,Nt="";return ne.indexOf("code.")>-1&&(ke=$.code,Nt="code."),!(null==ke||!ke)&&(ke=ke.toLowerCase()," "===ke?ke="space":"."===ke&&(ke="dot"),v.forEach(At=>{At!==ke&&(0,g[At])($)&&(Nt+=At+".")}),Nt+=ke,Nt===ne)}static eventCallback($,ne,ke){return Nt=>{Le.matchEventFullKeyCode(Nt,$)&&ke.runGuarded(()=>ne(Nt))}}static _normalizeKey($){return"esc"===$?"escape":$}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})();const de=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function Ke(){A.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function ye(){return(0,e.RDi)(document),document},deps:[]}]),xe=new e.OlP(""),le=[{provide:e.rWj,useClass:class d{addToWindow(be){e.dqk.getAngularTestability=(ne,ke=!0)=>{const Nt=be.findTestabilityInTree(ne,ke);if(null==Nt)throw new e.vHH(5103,!1);return Nt},e.dqk.getAllAngularTestabilities=()=>be.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>be.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(ne=>{const ke=e.dqk.getAllAngularTestabilities();let Nt=ke.length,At=!1;const Wt=function(gi){At=At||gi,Nt--,0==Nt&&ne(At)};ke.forEach(gi=>{gi.whenStable(Wt)})})}findTestabilityInTree(be,$,ne){return null==$?null:be.getTestability($)??(ne?(0,t.q)().isShadowRoot($)?this.findTestabilityInTree(be,$.host,!0):this.findTestabilityInTree(be,$.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],pe=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function Je(){return new e.qLn},deps:[]},{provide:M,useClass:O,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:M,useClass:H,multi:!0,deps:[t.K0]},he,B,I,{provide:e.FYo,useExisting:he},{provide:t.JF,useClass:E,deps:[]},[]];let qe=(()=>{class Le{constructor($){}static withServerTransition($){return{ngModule:Le,providers:[{provide:e.AFp,useValue:$.appId}]}}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(xe,12))};static#t=this.\u0275mod=e.oAB({type:Le});static#i=this.\u0275inj=e.cJS({providers:[...pe,...le],imports:[t.ez,e.hGG]})}return Le})(),We=(()=>{class Le{constructor($){this._doc=$}getTitle(){return this._doc.title}setTitle($){this._doc.title=$||""}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(ne){let ke=null;return ke=ne?new ne:function Ze(){return new We((0,e.LFG)(t.K0))}(),ke},providedIn:"root"})}return Le})();typeof window<"u"&&window;const St={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},dt=new e.OlP("HammerGestureConfig"),te=new e.OlP("HammerLoader");let Ue=(()=>{class Le{constructor(){this.events=[],this.overrides={}}buildHammer($){const ne=new Hammer($,this.options);ne.get("pinch").set({enable:!0}),ne.get("rotate").set({enable:!0});for(const ke in this.overrides)ne.get(ke).set(this.overrides[ke]);return ne}static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})(),Bt=(()=>{class Le extends k{constructor($,ne,ke,Nt){super($),this._config=ne,this.console=ke,this.loader=Nt,this._loaderPromise=null}supports($){return!(!St.hasOwnProperty($.toLowerCase())&&!this.isCustomEvent($)||!window.Hammer&&!this.loader)}addEventListener($,ne,ke){const Nt=this.manager.getZone();if(ne=ne.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Nt.runOutsideAngular(()=>this.loader());let At=!1,Wt=()=>{At=!0};return Nt.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?At||(Wt=this.addEventListener($,ne,ke)):Wt=()=>{}}).catch(()=>{Wt=()=>{}})),()=>{Wt()}}return Nt.runOutsideAngular(()=>{const At=this._config.buildHammer($),Wt=function(gi){Nt.runGuarded(function(){ke(gi)})};return At.on(ne,Wt),()=>{At.off(ne,Wt),"function"==typeof At.destroy&&At.destroy()}})}isCustomEvent($){return this._config.events.indexOf($)>-1}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0),e.LFG(dt),e.LFG(e.c2e),e.LFG(te,8))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac})}return Le})(),Ye=(()=>{class Le{static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275mod=e.oAB({type:Le});static#i=this.\u0275inj=e.cJS({providers:[{provide:M,useClass:Bt,multi:!0,deps:[t.K0,dt,e.c2e,[new e.FiY,te]]},{provide:dt,useClass:Ue,deps:[]}]})}return Le})(),je=(()=>{class Le{static#e=this.\u0275fac=function(ne){return new(ne||Le)};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(ne){let ke=null;return ke=ne?new(ne||Le):e.LFG(xt),ke},providedIn:"root"})}return Le})(),xt=(()=>{class Le extends je{constructor($){super(),this._doc=$}sanitize($,ne){if(null==ne)return null;switch($){case e.q3G.NONE:return ne;case e.q3G.HTML:return(0,e.qzn)(ne,"HTML")?(0,e.z3N)(ne):(0,e.EiD)(this._doc,String(ne)).toString();case e.q3G.STYLE:return(0,e.qzn)(ne,"Style")?(0,e.z3N)(ne):ne;case e.q3G.SCRIPT:if((0,e.qzn)(ne,"Script"))return(0,e.z3N)(ne);throw new e.vHH(5200,!1);case e.q3G.URL:return(0,e.qzn)(ne,"URL")?(0,e.z3N)(ne):(0,e.mCW)(String(ne));case e.q3G.RESOURCE_URL:if((0,e.qzn)(ne,"ResourceURL"))return(0,e.z3N)(ne);throw new e.vHH(5201,!1);default:throw new e.vHH(5202,!1)}}bypassSecurityTrustHtml($){return(0,e.JVY)($)}bypassSecurityTrustStyle($){return(0,e.L6k)($)}bypassSecurityTrustScript($){return(0,e.eBb)($)}bypassSecurityTrustUrl($){return(0,e.LAX)($)}bypassSecurityTrustResourceUrl($){return(0,e.pB0)($)}static#e=this.\u0275fac=function(ne){return new(ne||Le)(e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:Le,factory:function(ne){let ke=null;return ke=ne?new ne:function Ft(Le){return new xt(Le.get(t.K0))}(e.LFG(e.zs3)),ke},providedIn:"root"})}return Le})()},4190:(Fe,q,p)=>{"use strict";p.d(q,{gz:()=>ma,gk:()=>Se,m2:()=>xi,Q3:()=>et,OD:()=>qt,Av:()=>Sn,F0:()=>Fn,rH:()=>Sr,Od:()=>zc,Bz:()=>vc,lC:()=>Lr});var e=p(9212),t=p(2664),y=p(9666),A=p(2096),l=p(5619),w=p(2572),m=p(6973),P=p(5211),d=p(4911),E=p(8407),M=p(8504),I=p(6232),k=p(3168),z=p(8645),B=p(7394),W=p(6814),j=p(7398),K=p(4664),X=p(8180),ie=p(7921),se=p(2181),ue=p(1631),ae=p(1374),Me=p(6328),J=p(9397),he=p(6306),S=p(6699),n=p(3572),s=p(9360),f=p(8251);function h(me){return me<=0?()=>I.E:(0,s.e)((Oe,ge)=>{let Ne=[];Oe.subscribe((0,f.x)(ge,mt=>{Ne.push(mt),me{for(const mt of Ne)ge.next(mt);ge.complete()},void 0,()=>{Ne=null}))})}var C=p(3026),D=p(2737),v=p(975),r=p(4716),g=p(6196),H=p(9773),R=p(7537),ee=p(6593);const De="primary",ct=Symbol("RouteTitle");class Ke{constructor(Oe){this.params=Oe||{}}has(Oe){return Object.prototype.hasOwnProperty.call(this.params,Oe)}get(Oe){if(this.has(Oe)){const ge=this.params[Oe];return Array.isArray(ge)?ge[0]:ge}return null}getAll(Oe){if(this.has(Oe)){const ge=this.params[Oe];return Array.isArray(ge)?ge:[ge]}return[]}get keys(){return Object.keys(this.params)}}function Je(me){return new Ke(me)}function ye(me,Oe,ge){const Ne=ge.path.split("/");if(Ne.length>me.length||"full"===ge.pathMatch&&(Oe.hasChildren()||Ne.lengthNe[Rt]===mt)}return me===Oe}function pe(me){return me.length>0?me[me.length-1]:null}function qe(me){return(0,t.b)(me)?me:(0,e.QGY)(me)?(0,y.D)(Promise.resolve(me)):(0,A.of)(me)}const re={exact:function We(me,Oe,ge){if(!lt(me.segments,Oe.segments)||!Ae(me.segments,Oe.segments,ge)||me.numberOfChildren!==Oe.numberOfChildren)return!1;for(const Ne in Oe.children)if(!me.children[Ne]||!We(me.children[Ne],Oe.children[Ne],ge))return!1;return!0},subset:ut},ve={exact:function Ze(me,Oe){return de(me,Oe)},subset:function Ct(me,Oe){return Object.keys(Oe).length<=Object.keys(me).length&&Object.keys(Oe).every(ge=>le(me[ge],Oe[ge]))},ignored:()=>!0};function ce(me,Oe,ge){return re[ge.paths](me.root,Oe.root,ge.matrixParams)&&ve[ge.queryParams](me.queryParams,Oe.queryParams)&&!("exact"===ge.fragment&&me.fragment!==Oe.fragment)}function ut(me,Oe,ge){return It(me,Oe,Oe.segments,ge)}function It(me,Oe,ge,Ne){if(me.segments.length>ge.length){const mt=me.segments.slice(0,ge.length);return!(!lt(mt,ge)||Oe.hasChildren()||!Ae(mt,ge,Ne))}if(me.segments.length===ge.length){if(!lt(me.segments,ge)||!Ae(me.segments,ge,Ne))return!1;for(const mt in Oe.children)if(!me.children[mt]||!ut(me.children[mt],Oe.children[mt],Ne))return!1;return!0}{const mt=ge.slice(0,me.segments.length),Rt=ge.slice(me.segments.length);return!!(lt(me.segments,mt)&&Ae(me.segments,mt,Ne)&&me.children[De])&&It(me.children[De],Oe,Rt,Ne)}}function Ae(me,Oe,ge){return Oe.every((Ne,mt)=>ve[ge](me[mt].parameters,Ne.parameters))}class Be{constructor(Oe=new rt([],{}),ge={},Ne=null){this.root=Oe,this.queryParams=ge,this.fragment=Ne}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return te.serialize(this)}}class rt{constructor(Oe,ge){this.segments=Oe,this.children=ge,this.parent=null,Object.values(ge).forEach(Ne=>Ne.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ue(this)}}class $e{constructor(Oe,ge){this.path=Oe,this.parameters=ge}get parameterMap(){return this._parameterMap||(this._parameterMap=Je(this.parameters)),this._parameterMap}toString(){return at(this)}}function lt(me,Oe){return me.length===Oe.length&&me.every((ge,Ne)=>ge.path===Oe[Ne].path)}let St=(()=>{class me{static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>new dt,providedIn:"root"})}return me})();class dt{parse(Oe){const ge=new Nt(Oe);return new Be(ge.parseRootSegment(),ge.parseQueryParams(),ge.parseFragment())}serialize(Oe){const ge=`/${Bt(Oe.root,!0)}`,Ne=function nt(me){const Oe=Object.keys(me).map(ge=>{const Ne=me[ge];return Array.isArray(Ne)?Ne.map(mt=>`${je(ge)}=${je(mt)}`).join("&"):`${je(ge)}=${je(Ne)}`}).filter(ge=>!!ge);return Oe.length?`?${Oe.join("&")}`:""}(Oe.queryParams);return`${ge}${Ne}${"string"==typeof Oe.fragment?`#${function Ft(me){return encodeURI(me)}(Oe.fragment)}`:""}`}}const te=new dt;function Ue(me){return me.segments.map(Oe=>at(Oe)).join("/")}function Bt(me,Oe){if(!me.hasChildren())return Ue(me);if(Oe){const ge=me.children[De]?Bt(me.children[De],!1):"",Ne=[];return Object.entries(me.children).forEach(([mt,Rt])=>{mt!==De&&Ne.push(`${mt}:${Bt(Rt,!1)}`)}),Ne.length>0?`${ge}(${Ne.join("//")})`:ge}{const ge=function Qe(me,Oe){let ge=[];return Object.entries(me.children).forEach(([Ne,mt])=>{Ne===De&&(ge=ge.concat(Oe(mt,Ne)))}),Object.entries(me.children).forEach(([Ne,mt])=>{Ne!==De&&(ge=ge.concat(Oe(mt,Ne)))}),ge}(me,(Ne,mt)=>mt===De?[Bt(me.children[De],!1)]:[`${mt}:${Bt(Ne,!1)}`]);return 1===Object.keys(me.children).length&&null!=me.children[De]?`${Ue(me)}/${ge[0]}`:`${Ue(me)}/(${ge.join("//")})`}}function Ye(me){return encodeURIComponent(me).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function je(me){return Ye(me).replace(/%3B/gi,";")}function xt(me){return Ye(me).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ot(me){return decodeURIComponent(me)}function yt(me){return Ot(me.replace(/\+/g,"%20"))}function at(me){return`${xt(me.path)}${function Ee(me){return Object.keys(me).map(Oe=>`;${xt(Oe)}=${xt(me[Oe])}`).join("")}(me.parameters)}`}const Ge=/^[^\/()?;#]+/;function Xe(me){const Oe=me.match(Ge);return Oe?Oe[0]:""}const gt=/^[^\/()?;=#]+/,be=/^[^=?&#]+/,ne=/^[^&#]+/;class Nt{constructor(Oe){this.url=Oe,this.remaining=Oe}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new rt([],{}):new rt([],this.parseChildren())}parseQueryParams(){const Oe={};if(this.consumeOptional("?"))do{this.parseQueryParam(Oe)}while(this.consumeOptional("&"));return Oe}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Oe=[];for(this.peekStartsWith("(")||Oe.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Oe.push(this.parseSegment());let ge={};this.peekStartsWith("/(")&&(this.capture("/"),ge=this.parseParens(!0));let Ne={};return this.peekStartsWith("(")&&(Ne=this.parseParens(!1)),(Oe.length>0||Object.keys(ge).length>0)&&(Ne[De]=new rt(Oe,ge)),Ne}parseSegment(){const Oe=Xe(this.remaining);if(""===Oe&&this.peekStartsWith(";"))throw new e.vHH(4009,!1);return this.capture(Oe),new $e(Ot(Oe),this.parseMatrixParams())}parseMatrixParams(){const Oe={};for(;this.consumeOptional(";");)this.parseParam(Oe);return Oe}parseParam(Oe){const ge=function Le(me){const Oe=me.match(gt);return Oe?Oe[0]:""}(this.remaining);if(!ge)return;this.capture(ge);let Ne="";if(this.consumeOptional("=")){const mt=Xe(this.remaining);mt&&(Ne=mt,this.capture(Ne))}Oe[Ot(ge)]=Ot(Ne)}parseQueryParam(Oe){const ge=function $(me){const Oe=me.match(be);return Oe?Oe[0]:""}(this.remaining);if(!ge)return;this.capture(ge);let Ne="";if(this.consumeOptional("=")){const ni=function ke(me){const Oe=me.match(ne);return Oe?Oe[0]:""}(this.remaining);ni&&(Ne=ni,this.capture(Ne))}const mt=yt(ge),Rt=yt(Ne);if(Oe.hasOwnProperty(mt)){let ni=Oe[mt];Array.isArray(ni)||(ni=[ni],Oe[mt]=ni),ni.push(Rt)}else Oe[mt]=Rt}parseParens(Oe){const ge={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ne=Xe(this.remaining),mt=this.remaining[Ne.length];if("/"!==mt&&")"!==mt&&";"!==mt)throw new e.vHH(4010,!1);let Rt;Ne.indexOf(":")>-1?(Rt=Ne.slice(0,Ne.indexOf(":")),this.capture(Rt),this.capture(":")):Oe&&(Rt=De);const ni=this.parseChildren();ge[Rt]=1===Object.keys(ni).length?ni[De]:new rt([],ni),this.consumeOptional("//")}return ge}peekStartsWith(Oe){return this.remaining.startsWith(Oe)}consumeOptional(Oe){return!!this.peekStartsWith(Oe)&&(this.remaining=this.remaining.substring(Oe.length),!0)}capture(Oe){if(!this.consumeOptional(Oe))throw new e.vHH(4011,!1)}}function At(me){return me.segments.length>0?new rt([],{[De]:me}):me}function Wt(me){const Oe={};for(const Ne of Object.keys(me.children)){const Rt=Wt(me.children[Ne]);if(Ne===De&&0===Rt.segments.length&&Rt.hasChildren())for(const[ni,Li]of Object.entries(Rt.children))Oe[ni]=Li;else(Rt.segments.length>0||Rt.hasChildren())&&(Oe[Ne]=Rt)}return function gi(me){if(1===me.numberOfChildren&&me.children[De]){const Oe=me.children[De];return new rt(me.segments.concat(Oe.segments),Oe.children)}return me}(new rt(me.segments,Oe))}function ei(me){return me instanceof Be}function Fi(me){let Oe;const mt=At(function ge(Rt){const ni={};for(const Di of Rt.children){const ln=ge(Di);ni[Di.outlet]=ln}const Li=new rt(Rt.url,ni);return Rt===me&&(Oe=Li),Li}(me.root));return Oe??mt}function li(me,Oe,ge,Ne){let mt=me;for(;mt.parent;)mt=mt.parent;if(0===Oe.length)return Ki(mt,mt,mt,ge,Ne);const Rt=function st(me){if("string"==typeof me[0]&&1===me.length&&"/"===me[0])return new on(!0,0,me);let Oe=0,ge=!1;const Ne=me.reduce((mt,Rt,ni)=>{if("object"==typeof Rt&&null!=Rt){if(Rt.outlets){const Li={};return Object.entries(Rt.outlets).forEach(([Di,ln])=>{Li[Di]="string"==typeof ln?ln.split("/"):ln}),[...mt,{outlets:Li}]}if(Rt.segmentPath)return[...mt,Rt.segmentPath]}return"string"!=typeof Rt?[...mt,Rt]:0===ni?(Rt.split("/").forEach((Li,Di)=>{0==Di&&"."===Li||(0==Di&&""===Li?ge=!0:".."===Li?Oe++:""!=Li&&mt.push(Li))}),mt):[...mt,Rt]},[]);return new on(ge,Oe,Ne)}(Oe);if(Rt.toRoot())return Ki(mt,mt,new rt([],{}),ge,Ne);const ni=function Ce(me,Oe,ge){if(me.isAbsolute)return new si(Oe,!0,0);if(!ge)return new si(Oe,!1,NaN);if(null===ge.parent)return new si(ge,!0,0);const Ne=ui(me.commands[0])?0:1;return function Mt(me,Oe,ge){let Ne=me,mt=Oe,Rt=ge;for(;Rt>mt;){if(Rt-=mt,Ne=Ne.parent,!Ne)throw new e.vHH(4005,!1);mt=Ne.segments.length}return new si(Ne,!1,mt-Rt)}(ge,ge.segments.length-1+Ne,me.numberOfDoubleDots)}(Rt,mt,me),Li=ni.processChildren?kt(ni.segmentGroup,ni.index,Rt.commands):Dt(ni.segmentGroup,ni.index,Rt.commands);return Ki(mt,ni.segmentGroup,Li,ge,Ne)}function ui(me){return"object"==typeof me&&null!=me&&!me.outlets&&!me.segmentPath}function un(me){return"object"==typeof me&&null!=me&&me.outlets}function Ki(me,Oe,ge,Ne,mt){let ni,Rt={};Ne&&Object.entries(Ne).forEach(([Di,ln])=>{Rt[Di]=Array.isArray(ln)?ln.map(Qn=>`${Qn}`):`${ln}`}),ni=me===Oe?ge:Mi(me,Oe,ge);const Li=At(Wt(ni));return new Be(Li,Rt,mt)}function Mi(me,Oe,ge){const Ne={};return Object.entries(me.children).forEach(([mt,Rt])=>{Ne[mt]=Rt===Oe?ge:Mi(Rt,Oe,ge)}),new rt(me.segments,Ne)}class on{constructor(Oe,ge,Ne){if(this.isAbsolute=Oe,this.numberOfDoubleDots=ge,this.commands=Ne,Oe&&Ne.length>0&&ui(Ne[0]))throw new e.vHH(4003,!1);const mt=Ne.find(un);if(mt&&mt!==pe(Ne))throw new e.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class si{constructor(Oe,ge,Ne){this.segmentGroup=Oe,this.processChildren=ge,this.index=Ne}}function Dt(me,Oe,ge){if(me||(me=new rt([],{})),0===me.segments.length&&me.hasChildren())return kt(me,Oe,ge);const Ne=function Gt(me,Oe,ge){let Ne=0,mt=Oe;const Rt={match:!1,pathIndex:0,commandIndex:0};for(;mt=ge.length)return Rt;const ni=me.segments[mt],Li=ge[Ne];if(un(Li))break;const Di=`${Li}`,ln=Ne0&&void 0===Di)break;if(Di&&ln&&"object"==typeof ln&&void 0===ln.outlets){if(!Oi(Di,ln,ni))return Rt;Ne+=2}else{if(!Oi(Di,{},ni))return Rt;Ne++}mt++}return{match:!0,pathIndex:mt,commandIndex:Ne}}(me,Oe,ge),mt=ge.slice(Ne.commandIndex);if(Ne.match&&Ne.pathIndexRt!==De)&&me.children[De]&&1===me.numberOfChildren&&0===me.children[De].segments.length){const Rt=kt(me.children[De],Oe,ge);return new rt(me.segments,Rt.children)}return Object.entries(Ne).forEach(([Rt,ni])=>{"string"==typeof ni&&(ni=[ni]),null!==ni&&(mt[Rt]=Dt(me.children[Rt],Oe,ni))}),Object.entries(me.children).forEach(([Rt,ni])=>{void 0===Ne[Rt]&&(mt[Rt]=ni)}),new rt(me.segments,mt)}}function oi(me,Oe,ge){const Ne=me.segments.slice(0,Oe);let mt=0;for(;mt{"string"==typeof Ne&&(Ne=[Ne]),null!==Ne&&(Oe[ge]=oi(new rt([],{}),0,Ne))}),Oe}function yi(me){const Oe={};return Object.entries(me).forEach(([ge,Ne])=>Oe[ge]=`${Ne}`),Oe}function Oi(me,Oe,ge){return me==ge.path&&de(Oe,ge.parameters)}const Ui="imperative";class Bi{constructor(Oe,ge){this.id=Oe,this.url=ge}}class qt extends Bi{constructor(Oe,ge,Ne="imperative",mt=null){super(Oe,ge),this.type=0,this.navigationTrigger=Ne,this.restoredState=mt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xi extends Bi{constructor(Oe,ge,Ne){super(Oe,ge),this.urlAfterRedirects=Ne,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Se extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.reason=Ne,this.code=mt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ve extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.reason=Ne,this.code=mt,this.type=16}}class et extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.error=Ne,this.target=mt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class tt extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.urlAfterRedirects=Ne,this.state=mt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yt extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.urlAfterRedirects=Ne,this.state=mt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ri extends Bi{constructor(Oe,ge,Ne,mt,Rt){super(Oe,ge),this.urlAfterRedirects=Ne,this.state=mt,this.shouldActivate=Rt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class fn extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.urlAfterRedirects=Ne,this.state=mt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Sn extends Bi{constructor(Oe,ge,Ne,mt){super(Oe,ge),this.urlAfterRedirects=Ne,this.state=mt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class an{constructor(Oe){this.route=Oe,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class sr{constructor(Oe){this.route=Oe,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Jr{constructor(Oe){this.snapshot=Oe,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ar{constructor(Oe){this.snapshot=Oe,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yr{constructor(Oe){this.snapshot=Oe,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $r{constructor(Oe){this.snapshot=Oe,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ni{constructor(Oe,ge,Ne){this.routerEvent=Oe,this.position=ge,this.anchor=Ne,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zt{}class pi{constructor(Oe){this.url=Oe}}class Ci{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Gi,this.attachRef=null}}let Gi=(()=>{class me{constructor(){this.contexts=new Map}onChildOutletCreated(ge,Ne){const mt=this.getOrCreateContext(ge);mt.outlet=Ne,this.contexts.set(ge,mt)}onChildOutletDestroyed(ge){const Ne=this.getContext(ge);Ne&&(Ne.outlet=null,Ne.attachRef=null)}onOutletDeactivated(){const ge=this.contexts;return this.contexts=new Map,ge}onOutletReAttached(ge){this.contexts=ge}getOrCreateContext(ge){let Ne=this.getContext(ge);return Ne||(Ne=new Ci,this.contexts.set(ge,Ne)),Ne}getContext(ge){return this.contexts.get(ge)||null}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();class Ji{constructor(Oe){this._root=Oe}get root(){return this._root.value}parent(Oe){const ge=this.pathFromRoot(Oe);return ge.length>1?ge[ge.length-2]:null}children(Oe){const ge=yn(Oe,this._root);return ge?ge.children.map(Ne=>Ne.value):[]}firstChild(Oe){const ge=yn(Oe,this._root);return ge&&ge.children.length>0?ge.children[0].value:null}siblings(Oe){const ge=jn(Oe,this._root);return ge.length<2?[]:ge[ge.length-2].children.map(mt=>mt.value).filter(mt=>mt!==Oe)}pathFromRoot(Oe){return jn(Oe,this._root).map(ge=>ge.value)}}function yn(me,Oe){if(me===Oe.value)return Oe;for(const ge of Oe.children){const Ne=yn(me,ge);if(Ne)return Ne}return null}function jn(me,Oe){if(me===Oe.value)return[Oe];for(const ge of Oe.children){const Ne=jn(me,ge);if(Ne.length)return Ne.unshift(Oe),Ne}return[]}class Rn{constructor(Oe,ge){this.value=Oe,this.children=ge}toString(){return`TreeNode(${this.value})`}}function Er(me){const Oe={};return me&&me.children.forEach(ge=>Oe[ge.value.outlet]=ge),Oe}class er extends Ji{constructor(Oe,ge){super(Oe),this.snapshot=ge,Dr(this,Oe)}toString(){return this.snapshot.toString()}}function yr(me,Oe){const ge=function aa(me,Oe){const ni=new Fa([],{},{},"",{},De,Oe,null,{});return new fr("",new Rn(ni,[]))}(0,Oe),Ne=new l.X([new $e("",{})]),mt=new l.X({}),Rt=new l.X({}),ni=new l.X({}),Li=new l.X(""),Di=new ma(Ne,mt,ni,Li,Rt,De,Oe,ge.root);return Di.snapshot=ge.root,new er(new Rn(Di,[]),ge)}class ma{constructor(Oe,ge,Ne,mt,Rt,ni,Li,Di){this.urlSubject=Oe,this.paramsSubject=ge,this.queryParamsSubject=Ne,this.fragmentSubject=mt,this.dataSubject=Rt,this.outlet=ni,this.component=Li,this._futureSnapshot=Di,this.title=this.dataSubject?.pipe((0,j.U)(ln=>ln[ct]))??(0,A.of)(void 0),this.url=Oe,this.params=ge,this.queryParams=Ne,this.fragment=mt,this.data=Rt}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._paramMap=this.params.pipe((0,j.U)(Oe=>Je(Oe)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,j.U)(Oe=>Je(Oe)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oa(me,Oe,ge="emptyOnly"){let Ne;const{routeConfig:mt}=me;return Ne=null===Oe||"always"!==ge&&""!==mt?.path&&(Oe.component||Oe.routeConfig?.loadComponent)?{params:me.params,data:me.data,resolve:{...me.data,...me._resolvedData??{}}}:{params:{...Oe.params,...me.params},data:{...Oe.data,...me.data},resolve:{...me.data,...Oe.data,...mt?.data,...me._resolvedData}},mt&&ga(mt)&&(Ne.resolve[ct]=mt.title),Ne}class Fa{get title(){return this.data?.[ct]}constructor(Oe,ge,Ne,mt,Rt,ni,Li,Di,ln){this.url=Oe,this.params=ge,this.queryParams=Ne,this.fragment=mt,this.data=Rt,this.outlet=ni,this.component=Li,this.routeConfig=Di,this._resolve=ln}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._paramMap=Je(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Je(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ne=>Ne.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fr extends Ji{constructor(Oe,ge){super(ge),this.url=Oe,Dr(this,ge)}toString(){return Kn(this._root)}}function Dr(me,Oe){Oe.value._routerState=me,Oe.children.forEach(ge=>Dr(me,ge))}function Kn(me){const Oe=me.children.length>0?` { ${me.children.map(Kn).join(", ")} } `:"";return`${me.value}${Oe}`}function pa(me){if(me.snapshot){const Oe=me.snapshot,ge=me._futureSnapshot;me.snapshot=ge,de(Oe.queryParams,ge.queryParams)||me.queryParamsSubject.next(ge.queryParams),Oe.fragment!==ge.fragment&&me.fragmentSubject.next(ge.fragment),de(Oe.params,ge.params)||me.paramsSubject.next(ge.params),function fe(me,Oe){if(me.length!==Oe.length)return!1;for(let ge=0;gede(ge.parameters,Oe[Ne].parameters))}(me.url,Oe.url);return ge&&!(!me.parent!=!Oe.parent)&&(!me.parent||za(me.parent,Oe.parent))}function ga(me){return"string"==typeof me.title||null===me.title}let Lr=(()=>{class me{constructor(){this.activated=null,this._activatedRoute=null,this.name=De,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(Gi),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb),this.inputBinder=(0,e.f3M)(So,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ge){if(ge.name){const{firstChange:Ne,previousValue:mt}=ge.name;if(Ne)return;this.isTrackedInParentContexts(mt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(mt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ge){return this.parentContexts.getContext(ge)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ge=this.parentContexts.getContext(this.name);ge?.route&&(ge.attachRef?this.attach(ge.attachRef,ge.route):this.activateWith(ge.route,ge.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,!1);this.location.detach();const ge=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ge.instance),ge}attach(ge,Ne){this.activated=ge,this._activatedRoute=Ne,this.location.insert(ge.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ge.instance)}deactivate(){if(this.activated){const ge=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ge)}}activateWith(ge,Ne){if(this.isActivated)throw new e.vHH(4013,!1);this._activatedRoute=ge;const mt=this.location,ni=ge.snapshot.component,Li=this.parentContexts.getOrCreateContext(this.name).children,Di=new sa(ge,Li,mt.injector);this.activated=mt.createComponent(ni,{index:mt.length,injector:Di,environmentInjector:Ne??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]})}return me})();class sa{constructor(Oe,ge,Ne){this.route=Oe,this.childContexts=ge,this.parent=Ne}get(Oe,ge){return Oe===ma?this.route:Oe===Gi?this.childContexts:this.parent.get(Oe,ge)}}const So=new e.OlP("");let jr=(()=>{class me{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ge){this.unsubscribeFromRouteData(ge),this.subscribeToRouteData(ge)}unsubscribeFromRouteData(ge){this.outletDataSubscriptions.get(ge)?.unsubscribe(),this.outletDataSubscriptions.delete(ge)}subscribeToRouteData(ge){const{activatedRoute:Ne}=ge,mt=(0,w.a)([Ne.queryParams,Ne.params,Ne.data]).pipe((0,K.w)(([Rt,ni,Li],Di)=>(Li={...Rt,...ni,...Li},0===Di?(0,A.of)(Li):Promise.resolve(Li)))).subscribe(Rt=>{if(!ge.isActivated||!ge.activatedComponentRef||ge.activatedRoute!==Ne||null===Ne.component)return void this.unsubscribeFromRouteData(ge);const ni=(0,e.qFp)(Ne.component);if(ni)for(const{templateName:Li}of ni.inputs)ge.activatedComponentRef.setInput(Li,Rt[Li]);else this.unsubscribeFromRouteData(ge)});this.outletDataSubscriptions.set(ge,mt)}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac})}return me})();function kr(me,Oe,ge){if(ge&&me.shouldReuseRoute(Oe.value,ge.value.snapshot)){const Ne=ge.value;Ne._futureSnapshot=Oe.value;const mt=function dr(me,Oe,ge){return Oe.children.map(Ne=>{for(const mt of ge.children)if(me.shouldReuseRoute(Ne.value,mt.value.snapshot))return kr(me,Ne,mt);return kr(me,Ne)})}(me,Oe,ge);return new Rn(Ne,mt)}{if(me.shouldAttach(Oe.value)){const Rt=me.retrieve(Oe.value);if(null!==Rt){const ni=Rt.route;return ni.value._futureSnapshot=Oe.value,ni.children=Oe.children.map(Li=>kr(me,Li)),ni}}const Ne=function Bn(me){return new ma(new l.X(me.url),new l.X(me.params),new l.X(me.queryParams),new l.X(me.fragment),new l.X(me.data),me.outlet,me.component,me)}(Oe.value),mt=Oe.children.map(Rt=>kr(me,Rt));return new Rn(Ne,mt)}}const wa="ngNavigationCancelingError";function ao(me,Oe){const{redirectTo:ge,navigationBehaviorOptions:Ne}=ei(Oe)?{redirectTo:Oe,navigationBehaviorOptions:void 0}:Oe,mt=Tr(!1,0,Oe);return mt.url=ge,mt.navigationBehaviorOptions=Ne,mt}function Tr(me,Oe,ge){const Ne=new Error("NavigationCancelingError: "+(me||""));return Ne[wa]=!0,Ne.cancellationCode=Oe,ge&&(Ne.url=ge),Ne}function ea(me){return me&&me[wa]}let Ia=(()=>{class me{static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275cmp=e.Xpm({type:me,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(Ne,mt){1&Ne&&e._UZ(0,"router-outlet")},dependencies:[Lr],encapsulation:2})}return me})();function Va(me){const Oe=me.children&&me.children.map(Va),ge=Oe?{...me,children:Oe}:{...me};return!ge.component&&!ge.loadComponent&&(Oe||ge.loadChildren)&&ge.outlet&&ge.outlet!==De&&(ge.component=Ia),ge}function Qr(me){return me.outlet||De}function so(me){if(!me)return null;if(me.routeConfig?._injector)return me.routeConfig._injector;for(let Oe=me.parent;Oe;Oe=Oe.parent){const ge=Oe.routeConfig;if(ge?._loadedInjector)return ge._loadedInjector;if(ge?._injector)return ge._injector}return null}class co{constructor(Oe,ge,Ne,mt,Rt){this.routeReuseStrategy=Oe,this.futureState=ge,this.currState=Ne,this.forwardEvent=mt,this.inputBindingEnabled=Rt}activate(Oe){const ge=this.futureState._root,Ne=this.currState?this.currState._root:null;this.deactivateChildRoutes(ge,Ne,Oe),pa(this.futureState.root),this.activateChildRoutes(ge,Ne,Oe)}deactivateChildRoutes(Oe,ge,Ne){const mt=Er(ge);Oe.children.forEach(Rt=>{const ni=Rt.value.outlet;this.deactivateRoutes(Rt,mt[ni],Ne),delete mt[ni]}),Object.values(mt).forEach(Rt=>{this.deactivateRouteAndItsChildren(Rt,Ne)})}deactivateRoutes(Oe,ge,Ne){const mt=Oe.value,Rt=ge?ge.value:null;if(mt===Rt)if(mt.component){const ni=Ne.getContext(mt.outlet);ni&&this.deactivateChildRoutes(Oe,ge,ni.children)}else this.deactivateChildRoutes(Oe,ge,Ne);else Rt&&this.deactivateRouteAndItsChildren(ge,Ne)}deactivateRouteAndItsChildren(Oe,ge){Oe.value.component&&this.routeReuseStrategy.shouldDetach(Oe.value.snapshot)?this.detachAndStoreRouteSubtree(Oe,ge):this.deactivateRouteAndOutlet(Oe,ge)}detachAndStoreRouteSubtree(Oe,ge){const Ne=ge.getContext(Oe.value.outlet),mt=Ne&&Oe.value.component?Ne.children:ge,Rt=Er(Oe);for(const ni of Object.keys(Rt))this.deactivateRouteAndItsChildren(Rt[ni],mt);if(Ne&&Ne.outlet){const ni=Ne.outlet.detach(),Li=Ne.children.onOutletDeactivated();this.routeReuseStrategy.store(Oe.value.snapshot,{componentRef:ni,route:Oe,contexts:Li})}}deactivateRouteAndOutlet(Oe,ge){const Ne=ge.getContext(Oe.value.outlet),mt=Ne&&Oe.value.component?Ne.children:ge,Rt=Er(Oe);for(const ni of Object.keys(Rt))this.deactivateRouteAndItsChildren(Rt[ni],mt);Ne&&(Ne.outlet&&(Ne.outlet.deactivate(),Ne.children.onOutletDeactivated()),Ne.attachRef=null,Ne.route=null)}activateChildRoutes(Oe,ge,Ne){const mt=Er(ge);Oe.children.forEach(Rt=>{this.activateRoutes(Rt,mt[Rt.value.outlet],Ne),this.forwardEvent(new $r(Rt.value.snapshot))}),Oe.children.length&&this.forwardEvent(new Ar(Oe.value.snapshot))}activateRoutes(Oe,ge,Ne){const mt=Oe.value,Rt=ge?ge.value:null;if(pa(mt),mt===Rt)if(mt.component){const ni=Ne.getOrCreateContext(mt.outlet);this.activateChildRoutes(Oe,ge,ni.children)}else this.activateChildRoutes(Oe,ge,Ne);else if(mt.component){const ni=Ne.getOrCreateContext(mt.outlet);if(this.routeReuseStrategy.shouldAttach(mt.snapshot)){const Li=this.routeReuseStrategy.retrieve(mt.snapshot);this.routeReuseStrategy.store(mt.snapshot,null),ni.children.onOutletReAttached(Li.contexts),ni.attachRef=Li.componentRef,ni.route=Li.route.value,ni.outlet&&ni.outlet.attach(Li.componentRef,Li.route.value),pa(Li.route.value),this.activateChildRoutes(Oe,null,ni.children)}else{const Li=so(mt.snapshot);ni.attachRef=null,ni.route=mt,ni.injector=Li,ni.outlet&&ni.outlet.activateWith(mt,ni.injector),this.activateChildRoutes(Oe,null,ni.children)}}else this.activateChildRoutes(Oe,null,Ne)}}class Gr{constructor(Oe){this.path=Oe,this.route=this.path[this.path.length-1]}}class zo{constructor(Oe,ge){this.component=Oe,this.route=ge}}function bo(me,Oe,ge){const Ne=me._root;return Ai(Ne,Oe?Oe._root:null,ge,[Ne.value])}function Vt(me,Oe){const ge=Symbol(),Ne=Oe.get(me,ge);return Ne===ge?"function"!=typeof me||(0,e.Z0I)(me)?Oe.get(me):me:Ne}function Ai(me,Oe,ge,Ne,mt={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=Er(Oe);return me.children.forEach(ni=>{(function wt(me,Oe,ge,Ne,mt={canDeactivateChecks:[],canActivateChecks:[]}){const Rt=me.value,ni=Oe?Oe.value:null,Li=ge?ge.getContext(me.value.outlet):null;if(ni&&Rt.routeConfig===ni.routeConfig){const Di=function ii(me,Oe,ge){if("function"==typeof ge)return ge(me,Oe);switch(ge){case"pathParamsChange":return!lt(me.url,Oe.url);case"pathParamsOrQueryParamsChange":return!lt(me.url,Oe.url)||!de(me.queryParams,Oe.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!za(me,Oe)||!de(me.queryParams,Oe.queryParams);default:return!za(me,Oe)}}(ni,Rt,Rt.routeConfig.runGuardsAndResolvers);Di?mt.canActivateChecks.push(new Gr(Ne)):(Rt.data=ni.data,Rt._resolvedData=ni._resolvedData),Ai(me,Oe,Rt.component?Li?Li.children:null:ge,Ne,mt),Di&&Li&&Li.outlet&&Li.outlet.isActivated&&mt.canDeactivateChecks.push(new zo(Li.outlet.component,ni))}else ni&&Ti(Oe,Li,mt),mt.canActivateChecks.push(new Gr(Ne)),Ai(me,null,Rt.component?Li?Li.children:null:ge,Ne,mt)})(ni,Rt[ni.value.outlet],ge,Ne.concat([ni.value]),mt),delete Rt[ni.value.outlet]}),Object.entries(Rt).forEach(([ni,Li])=>Ti(Li,ge.getContext(ni),mt)),mt}function Ti(me,Oe,ge){const Ne=Er(me),mt=me.value;Object.entries(Ne).forEach(([Rt,ni])=>{Ti(ni,mt.component?Oe?Oe.children.getContext(Rt):null:Oe,ge)}),ge.canDeactivateChecks.push(new zo(mt.component&&Oe&&Oe.outlet&&Oe.outlet.isActivated?Oe.outlet.component:null,mt))}function Zi(me){return"function"==typeof me}function vt(me){return me instanceof m.K||"EmptyError"===me?.name}const Jt=Symbol("INITIAL_VALUE");function zi(){return(0,K.w)(me=>(0,w.a)(me.map(Oe=>Oe.pipe((0,X.q)(1),(0,ie.O)(Jt)))).pipe((0,j.U)(Oe=>{for(const ge of Oe)if(!0!==ge){if(ge===Jt)return Jt;if(!1===ge||ge instanceof Be)return ge}return!0}),(0,se.h)(Oe=>Oe!==Jt),(0,X.q)(1)))}function Ms(me){return(0,E.z)((0,J.b)(Oe=>{if(ei(Oe))throw ao(0,Oe)}),(0,j.U)(Oe=>!0===Oe))}class gr{constructor(Oe){this.segmentGroup=Oe||null}}class Do extends Error{constructor(Oe){super(),this.urlTree=Oe}}function Ua(me){return(0,M._)(new gr(me))}class ho{constructor(Oe,ge){this.urlSerializer=Oe,this.urlTree=ge}noMatchError(Oe){return new e.vHH(4002,!1)}lineralizeSegments(Oe,ge){let Ne=[],mt=ge.root;for(;;){if(Ne=Ne.concat(mt.segments),0===mt.numberOfChildren)return(0,A.of)(Ne);if(mt.numberOfChildren>1||!mt.children[De])return(0,M._)(new e.vHH(4e3,!1));mt=mt.children[De]}}applyRedirectCommands(Oe,ge,Ne){const mt=this.applyRedirectCreateUrlTree(ge,this.urlSerializer.parse(ge),Oe,Ne);if(ge.startsWith("/"))throw new Do(mt);return mt}applyRedirectCreateUrlTree(Oe,ge,Ne,mt){const Rt=this.createSegmentGroup(Oe,ge.root,Ne,mt);return new Be(Rt,this.createQueryParams(ge.queryParams,this.urlTree.queryParams),ge.fragment)}createQueryParams(Oe,ge){const Ne={};return Object.entries(Oe).forEach(([mt,Rt])=>{if("string"==typeof Rt&&Rt.startsWith(":")){const Li=Rt.substring(1);Ne[mt]=ge[Li]}else Ne[mt]=Rt}),Ne}createSegmentGroup(Oe,ge,Ne,mt){const Rt=this.createSegments(Oe,ge.segments,Ne,mt);let ni={};return Object.entries(ge.children).forEach(([Li,Di])=>{ni[Li]=this.createSegmentGroup(Oe,Di,Ne,mt)}),new rt(Rt,ni)}createSegments(Oe,ge,Ne,mt){return ge.map(Rt=>Rt.path.startsWith(":")?this.findPosParam(Oe,Rt,mt):this.findOrReturn(Rt,Ne))}findPosParam(Oe,ge,Ne){const mt=Ne[ge.path.substring(1)];if(!mt)throw new e.vHH(4001,!1);return mt}findOrReturn(Oe,ge){let Ne=0;for(const mt of ge){if(mt.path===Oe.path)return ge.splice(Ne),mt;Ne++}return Oe}}const Vo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Co(me,Oe,ge,Ne,mt){const Rt=En(me,Oe,ge);return Rt.matched?(Ne=function Oa(me,Oe){return me.providers&&!me._injector&&(me._injector=(0,e.MMx)(me.providers,Oe,`Route: ${me.path}`)),me._injector??Oe}(Oe,Ne),function xo(me,Oe,ge,Ne){const mt=Oe.canMatch;if(!mt||0===mt.length)return(0,A.of)(!0);const Rt=mt.map(ni=>{const Li=Vt(ni,me);return qe(function ht(me){return me&&Zi(me.canMatch)}(Li)?Li.canMatch(Oe,ge):me.runInContext(()=>Li(Oe,ge)))});return(0,A.of)(Rt).pipe(zi(),Ms())}(Ne,Oe,ge).pipe((0,j.U)(ni=>!0===ni?Rt:{...Vo}))):(0,A.of)(Rt)}function En(me,Oe,ge){if(""===Oe.path)return"full"===Oe.pathMatch&&(me.hasChildren()||ge.length>0)?{...Vo}:{matched:!0,consumedSegments:[],remainingSegments:ge,parameters:{},positionalParamSegments:{}};const mt=(Oe.matcher||ye)(ge,me,Oe);if(!mt)return{...Vo};const Rt={};Object.entries(mt.posParams??{}).forEach(([Li,Di])=>{Rt[Li]=Di.path});const ni=mt.consumed.length>0?{...Rt,...mt.consumed[mt.consumed.length-1].parameters}:Rt;return{matched:!0,consumedSegments:mt.consumed,remainingSegments:ge.slice(mt.consumed.length),parameters:ni,positionalParamSegments:mt.posParams??{}}}function Xo(me,Oe,ge,Ne){return ge.length>0&&function Ea(me,Oe,ge){return ge.some(Ne=>qi(me,Oe,Ne)&&Qr(Ne)!==De)}(me,ge,Ne)?{segmentGroup:new rt(Oe,cr(Ne,new rt(ge,me.children))),slicedSegments:[]}:0===ge.length&&function os(me,Oe,ge){return ge.some(Ne=>qi(me,Oe,Ne))}(me,ge,Ne)?{segmentGroup:new rt(me.segments,as(me,0,ge,Ne,me.children)),slicedSegments:ge}:{segmentGroup:new rt(me.segments,me.children),slicedSegments:ge}}function as(me,Oe,ge,Ne,mt){const Rt={};for(const ni of Ne)if(qi(me,ge,ni)&&!mt[Qr(ni)]){const Li=new rt([],{});Rt[Qr(ni)]=Li}return{...mt,...Rt}}function cr(me,Oe){const ge={};ge[De]=Oe;for(const Ne of me)if(""===Ne.path&&Qr(Ne)!==De){const mt=new rt([],{});ge[Qr(Ne)]=mt}return ge}function qi(me,Oe,ge){return(!(me.hasChildren()||Oe.length>0)||"full"!==ge.pathMatch)&&""===ge.path}class Ir{}class Vs{constructor(Oe,ge,Ne,mt,Rt,ni,Li){this.injector=Oe,this.configLoader=ge,this.rootComponentType=Ne,this.config=mt,this.urlTree=Rt,this.paramsInheritanceStrategy=ni,this.urlSerializer=Li,this.applyRedirects=new ho(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Oe){return new e.vHH(4002,!1)}recognize(){const Oe=Xo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Oe).pipe((0,j.U)(ge=>{const Ne=new Fa([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},De,this.rootComponentType,null,{}),mt=new Rn(Ne,ge),Rt=new fr("",mt),ni=function $t(me,Oe,ge=null,Ne=null){return li(Fi(me),Oe,ge,Ne)}(Ne,[],this.urlTree.queryParams,this.urlTree.fragment);return ni.queryParams=this.urlTree.queryParams,Rt.url=this.urlSerializer.serialize(ni),this.inheritParamsAndData(Rt._root,null),{state:Rt,tree:ni}}))}match(Oe){return this.processSegmentGroup(this.injector,this.config,Oe,De).pipe((0,he.K)(Ne=>{if(Ne instanceof Do)return this.urlTree=Ne.urlTree,this.match(Ne.urlTree.root);throw Ne instanceof gr?this.noMatchError(Ne):Ne}))}inheritParamsAndData(Oe,ge){const Ne=Oe.value,mt=oa(Ne,ge,this.paramsInheritanceStrategy);Ne.params=Object.freeze(mt.params),Ne.data=Object.freeze(mt.data),Oe.children.forEach(Rt=>this.inheritParamsAndData(Rt,Ne))}processSegmentGroup(Oe,ge,Ne,mt){return 0===Ne.segments.length&&Ne.hasChildren()?this.processChildren(Oe,ge,Ne):this.processSegment(Oe,ge,Ne,Ne.segments,mt,!0).pipe((0,j.U)(Rt=>Rt instanceof Rn?[Rt]:[]))}processChildren(Oe,ge,Ne){const mt=[];for(const Rt of Object.keys(Ne.children))"primary"===Rt?mt.unshift(Rt):mt.push(Rt);return(0,y.D)(mt).pipe((0,Me.b)(Rt=>{const ni=Ne.children[Rt],Li=function _s(me,Oe){const ge=me.filter(Ne=>Qr(Ne)===Oe);return ge.push(...me.filter(Ne=>Qr(Ne)!==Oe)),ge}(ge,Rt);return this.processSegmentGroup(Oe,Li,ni,Rt)}),(0,S.R)((Rt,ni)=>(Rt.push(...ni),Rt)),(0,n.d)(null),function O(me,Oe){const ge=arguments.length>=2;return Ne=>Ne.pipe(me?(0,se.h)((mt,Rt)=>me(mt,Rt,Ne)):D.y,h(1),ge?(0,n.d)(Oe):(0,C.T)(()=>new m.K))}(),(0,ue.z)(Rt=>{if(null===Rt)return Ua(Ne);const ni=nn(Rt);return function uo(me){me.sort((Oe,ge)=>Oe.value.outlet===De?-1:ge.value.outlet===De?1:Oe.value.outlet.localeCompare(ge.value.outlet))}(ni),(0,A.of)(ni)}))}processSegment(Oe,ge,Ne,mt,Rt,ni){return(0,y.D)(ge).pipe((0,Me.b)(Li=>this.processSegmentAgainstRoute(Li._injector??Oe,ge,Li,Ne,mt,Rt,ni).pipe((0,he.K)(Di=>{if(Di instanceof gr)return(0,A.of)(null);throw Di}))),(0,ae.P)(Li=>!!Li),(0,he.K)(Li=>{if(vt(Li))return function la(me,Oe,ge){return 0===Oe.length&&!me.children[ge]}(Ne,mt,Rt)?(0,A.of)(new Ir):Ua(Ne);throw Li}))}processSegmentAgainstRoute(Oe,ge,Ne,mt,Rt,ni,Li){return function Es(me,Oe,ge,Ne){return!!(Qr(me)===Ne||Ne!==De&&qi(Oe,ge,me))&&("**"===me.path||En(Oe,me,ge).matched)}(Ne,mt,Rt,ni)?void 0===Ne.redirectTo?this.matchSegmentAgainstRoute(Oe,mt,Ne,Rt,ni):this.allowRedirects&&Li?this.expandSegmentAgainstRouteUsingRedirect(Oe,mt,ge,Ne,Rt,ni):Ua(mt):Ua(mt)}expandSegmentAgainstRouteUsingRedirect(Oe,ge,Ne,mt,Rt,ni){const{matched:Li,consumedSegments:Di,positionalParamSegments:ln,remainingSegments:Qn}="**"===mt.path?or(Rt):En(ge,mt,Rt);if(!Li)return Ua(ge);mt.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Jn=this.applyRedirects.applyRedirectCommands(Di,mt.redirectTo,ln);return this.applyRedirects.lineralizeSegments(mt,Jn).pipe((0,ue.z)(Pr=>this.processSegment(Oe,Ne,ge,Pr.concat(Qn),ni,!1)))}matchSegmentAgainstRoute(Oe,ge,Ne,mt,Rt){let ni;return"**"===Ne.path?(ni=(0,A.of)(or(mt)),ge.children={}):ni=Co(ge,Ne,mt,Oe),ni.pipe((0,K.w)(Li=>Li.matched?this.getChildConfig(Oe=Ne._injector??Oe,Ne,mt).pipe((0,K.w)(({routes:Di})=>{const ln=Ne._loadedInjector??Oe,{consumedSegments:Qn,remainingSegments:Jn,parameters:Pr}=Li,ko=new Fa(Qn,Pr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function qr(me){return me.data||{}}(Ne),Qr(Ne),Ne.component??Ne._loadedComponent??null,Ne,function $i(me){return me.resolve||{}}(Ne)),{segmentGroup:Us,slicedSegments:wo}=Xo(ge,Qn,Jn,Di);if(0===wo.length&&Us.hasChildren())return this.processChildren(ln,Di,Us).pipe((0,j.U)(cs=>null===cs?null:new Rn(ko,cs)));if(0===Di.length&&0===wo.length)return(0,A.of)(new Rn(ko,[]));const Gs=Qr(Ne)===Rt;return this.processSegment(ln,Di,Us,wo,Gs?De:Rt,!0).pipe((0,j.U)(cs=>new Rn(ko,cs instanceof Rn?[cs]:[])))})):Ua(ge)))}getChildConfig(Oe,ge,Ne){return ge.children?(0,A.of)({routes:ge.children,injector:Oe}):ge.loadChildren?void 0!==ge._loadedRoutes?(0,A.of)({routes:ge._loadedRoutes,injector:ge._loadedInjector}):function Yi(me,Oe,ge,Ne){const mt=Oe.canLoad;if(void 0===mt||0===mt.length)return(0,A.of)(!0);const Rt=mt.map(ni=>{const Li=Vt(ni,me);return qe(function ar(me){return me&&Zi(me.canLoad)}(Li)?Li.canLoad(Oe,ge):me.runInContext(()=>Li(Oe,ge)))});return(0,A.of)(Rt).pipe(zi(),Ms())}(Oe,ge,Ne).pipe((0,ue.z)(mt=>mt?this.configLoader.loadChildren(Oe,ge).pipe((0,J.b)(Rt=>{ge._loadedRoutes=Rt.routes,ge._loadedInjector=Rt.injector})):function Ss(me){return(0,M._)(Tr(!1,3))}())):(0,A.of)({routes:[],injector:Oe})}}function Xn(me){const Oe=me.value.routeConfig;return Oe&&""===Oe.path}function nn(me){const Oe=[],ge=new Set;for(const Ne of me){if(!Xn(Ne)){Oe.push(Ne);continue}const mt=Oe.find(Rt=>Ne.value.routeConfig===Rt.value.routeConfig);void 0!==mt?(mt.children.push(...Ne.children),ge.add(mt)):Oe.push(Ne)}for(const Ne of ge){const mt=nn(Ne.children);Oe.push(new Rn(Ne.value,mt))}return Oe.filter(Ne=>!ge.has(Ne))}function or(me){return{matched:!0,parameters:me.length>0?pe(me).parameters:{},consumedSegments:me,remainingSegments:[],positionalParamSegments:{}}}function gc(me,Oe){return(0,ue.z)(ge=>{const{targetSnapshot:Ne,guards:{canActivateChecks:mt}}=ge;if(!mt.length)return(0,A.of)(ge);const Rt=mt.map(ln=>ln.route),ni=new Set(Rt),Li=Fc(Rt[0].parent).slice(1);let Di=0;return(0,y.D)(Li).pipe((0,Me.b)(ln=>ni.has(ln)?function vl(me,Oe,ge,Ne){const mt=me.routeConfig,Rt=me._resolve;return void 0!==mt?.title&&!ga(mt)&&(Rt[ct]=mt.title),function As(me,Oe,ge,Ne){const mt=xe(me);if(0===mt.length)return(0,A.of)({});const Rt={};return(0,y.D)(mt).pipe((0,ue.z)(ni=>function Kt(me,Oe,ge,Ne){const mt=so(Oe)??Ne,Rt=Vt(me,mt);return qe(Rt.resolve?Rt.resolve(Oe,ge):mt.runInContext(()=>Rt(Oe,ge)))}(me[ni],Oe,ge,Ne).pipe((0,ae.P)(),(0,J.b)(Li=>{Rt[ni]=Li}))),h(1),(0,v.h)(Rt),(0,he.K)(ni=>vt(ni)?I.E:(0,M._)(ni)))}(Rt,me,Oe,Ne).pipe((0,j.U)(ni=>(me._resolvedData=ni,me.data=oa(me,me.parent,ge).resolve,null)))}(ln,Ne,me,Oe):(ln.data=oa(ln,ln.parent,me).resolve,(0,A.of)(void 0))),(0,J.b)(()=>Di++),h(1),(0,ue.z)(ln=>Di===Li.length?(0,A.of)(ge):I.E))})}function Fc(me){const Oe=me.children.map(ge=>Fc(ge)).flat();return[me,...Oe]}function _e(me){return(0,K.w)(Oe=>{const ge=me(Oe);return ge?(0,y.D)(ge).pipe((0,j.U)(()=>Oe)):(0,A.of)(Oe)})}let Tt=(()=>{class me{buildTitle(ge){let Ne,mt=ge.root;for(;void 0!==mt;)Ne=this.getResolvedTitleForRoute(mt)??Ne,mt=mt.children.find(Rt=>Rt.outlet===De);return Ne}getResolvedTitleForRoute(ge){return ge.data[ct]}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(Pe),providedIn:"root"})}return me})(),Pe=(()=>{class me extends Tt{constructor(ge){super(),this.title=ge}updateTitle(ge){const Ne=this.buildTitle(ge);void 0!==Ne&&this.title.setTitle(Ne)}static#e=this.\u0275fac=function(Ne){return new(Ne||me)(e.LFG(ee.Dx))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();const pt=new e.OlP("",{providedIn:"root",factory:()=>({})}),Qt=new e.OlP("ROUTES");let Re=(()=>{class me{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(ge){if(this.componentLoaders.get(ge))return this.componentLoaders.get(ge);if(ge._loadedComponent)return(0,A.of)(ge._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ge);const Ne=qe(ge.loadComponent()).pipe((0,j.U)(Lt),(0,J.b)(Rt=>{this.onLoadEndListener&&this.onLoadEndListener(ge),ge._loadedComponent=Rt}),(0,r.x)(()=>{this.componentLoaders.delete(ge)})),mt=new k.c(Ne,()=>new z.x).pipe((0,g.x)());return this.componentLoaders.set(ge,mt),mt}loadChildren(ge,Ne){if(this.childrenLoaders.get(Ne))return this.childrenLoaders.get(Ne);if(Ne._loadedRoutes)return(0,A.of)({routes:Ne._loadedRoutes,injector:Ne._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ne);const Rt=function ft(me,Oe,ge,Ne){return qe(me.loadChildren()).pipe((0,j.U)(Lt),(0,ue.z)(mt=>mt instanceof e.YKP||Array.isArray(mt)?(0,A.of)(mt):(0,y.D)(Oe.compileModuleAsync(mt))),(0,j.U)(mt=>{Ne&&Ne(me);let Rt,ni,Li=!1;return Array.isArray(mt)?(ni=mt,!0):(Rt=mt.create(ge).injector,ni=Rt.get(Qt,[],{optional:!0,self:!0}).flat()),{routes:ni.map(Va),injector:Rt}}))}(Ne,this.compiler,ge,this.onLoadEndListener).pipe((0,r.x)(()=>{this.childrenLoaders.delete(Ne)})),ni=new k.c(Rt,()=>new z.x).pipe((0,g.x)());return this.childrenLoaders.set(Ne,ni),ni}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function Lt(me){return function _t(me){return me&&"object"==typeof me&&"default"in me}(me)?me.default:me}let Xt=(()=>{class me{static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(hi),providedIn:"root"})}return me})(),hi=(()=>{class me{shouldProcessUrl(ge){return!0}extract(ge){return ge}merge(ge,Ne){return ge}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();const di=new e.OlP(""),Si=new e.OlP("");function Ii(me,Oe,ge){const Ne=me.get(Si),mt=me.get(W.K0);return me.get(e.R0b).runOutsideAngular(()=>{if(!mt.startViewTransition||Ne.skipNextTransition)return Ne.skipNextTransition=!1,Promise.resolve();let Rt;const ni=new Promise(ln=>{Rt=ln}),Li=mt.startViewTransition(()=>(Rt(),function Xi(me){return new Promise(Oe=>{(0,e.T8G)(Oe,{injector:me})})}(me))),{onViewTransitionCreated:Di}=Ne;return Di&&(0,e.r_H)(me,()=>Di({transition:Li,from:Oe,to:ge})),ni})}let en=(()=>{class me{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new z.x,this.transitionAbortSubject=new z.x,this.configLoader=(0,e.f3M)(Re),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(St),this.rootContexts=(0,e.f3M)(Gi),this.location=(0,e.f3M)(W.Ye),this.inputBindingEnabled=null!==(0,e.f3M)(So,{optional:!0}),this.titleStrategy=(0,e.f3M)(Tt),this.options=(0,e.f3M)(pt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,e.f3M)(Xt),this.createViewTransition=(0,e.f3M)(di,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,A.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=mt=>this.events.next(new sr(mt)),this.configLoader.onLoadStartListener=mt=>this.events.next(new an(mt))}complete(){this.transitions?.complete()}handleNavigationRequest(ge){const Ne=++this.navigationId;this.transitions?.next({...this.transitions.value,...ge,id:Ne})}setupNavigations(ge,Ne,mt){return this.transitions=new l.X({id:0,currentUrlTree:Ne,currentRawUrl:Ne,extractedUrl:this.urlHandlingStrategy.extract(Ne),urlAfterRedirects:this.urlHandlingStrategy.extract(Ne),rawUrl:Ne,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ui,restoredState:null,currentSnapshot:mt.snapshot,targetSnapshot:null,currentRouterState:mt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,se.h)(Rt=>0!==Rt.id),(0,j.U)(Rt=>({...Rt,extractedUrl:this.urlHandlingStrategy.extract(Rt.rawUrl)})),(0,K.w)(Rt=>{this.currentTransition=Rt;let ni=!1,Li=!1;return(0,A.of)(Rt).pipe((0,J.b)(Di=>{this.currentNavigation={id:Di.id,initialUrl:Di.rawUrl,extractedUrl:Di.extractedUrl,trigger:Di.source,extras:Di.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,K.w)(Di=>{const ln=!ge.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ln&&"reload"!==(Di.extras.onSameUrlNavigation??ge.onSameUrlNavigation)){const Jn="";return this.events.next(new Ve(Di.id,this.urlSerializer.serialize(Di.rawUrl),Jn,0)),Di.resolve(null),I.E}if(this.urlHandlingStrategy.shouldProcessUrl(Di.rawUrl))return(0,A.of)(Di).pipe((0,K.w)(Jn=>{const Pr=this.transitions?.getValue();return this.events.next(new qt(Jn.id,this.urlSerializer.serialize(Jn.extractedUrl),Jn.source,Jn.restoredState)),Pr!==this.transitions?.getValue()?I.E:Promise.resolve(Jn)}),function ta(me,Oe,ge,Ne,mt,Rt){return(0,ue.z)(ni=>function Ts(me,Oe,ge,Ne,mt,Rt,ni="emptyOnly"){return new Vs(me,Oe,ge,Ne,mt,ni,Rt).recognize()}(me,Oe,ge,Ne,ni.extractedUrl,mt,Rt).pipe((0,j.U)(({state:Li,tree:Di})=>({...ni,targetSnapshot:Li,urlAfterRedirects:Di}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ge.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,J.b)(Jn=>{Rt.targetSnapshot=Jn.targetSnapshot,Rt.urlAfterRedirects=Jn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Jn.urlAfterRedirects};const Pr=new tt(Jn.id,this.urlSerializer.serialize(Jn.extractedUrl),this.urlSerializer.serialize(Jn.urlAfterRedirects),Jn.targetSnapshot);this.events.next(Pr)}));if(ln&&this.urlHandlingStrategy.shouldProcessUrl(Di.currentRawUrl)){const{id:Jn,extractedUrl:Pr,source:ko,restoredState:Us,extras:wo}=Di,Gs=new qt(Jn,this.urlSerializer.serialize(Pr),ko,Us);this.events.next(Gs);const cs=yr(0,this.rootComponentType).snapshot;return this.currentTransition=Rt={...Di,targetSnapshot:cs,urlAfterRedirects:Pr,extras:{...wo,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Pr,(0,A.of)(Rt)}{const Jn="";return this.events.next(new Ve(Di.id,this.urlSerializer.serialize(Di.extractedUrl),Jn,1)),Di.resolve(null),I.E}}),(0,J.b)(Di=>{const ln=new Yt(Di.id,this.urlSerializer.serialize(Di.extractedUrl),this.urlSerializer.serialize(Di.urlAfterRedirects),Di.targetSnapshot);this.events.next(ln)}),(0,j.U)(Di=>(this.currentTransition=Rt={...Di,guards:bo(Di.targetSnapshot,Di.currentSnapshot,this.rootContexts)},Rt)),function xn(me,Oe){return(0,ue.z)(ge=>{const{targetSnapshot:Ne,currentSnapshot:mt,guards:{canActivateChecks:Rt,canDeactivateChecks:ni}}=ge;return 0===ni.length&&0===Rt.length?(0,A.of)({...ge,guardsResult:!0}):function Mr(me,Oe,ge,Ne){return(0,y.D)(me).pipe((0,ue.z)(mt=>function An(me,Oe,ge,Ne,mt){const Rt=Oe&&Oe.routeConfig?Oe.routeConfig.canDeactivate:null;if(!Rt||0===Rt.length)return(0,A.of)(!0);const ni=Rt.map(Li=>{const Di=so(Oe)??mt,ln=Vt(Li,Di);return qe(function Ba(me){return me&&Zi(me.canDeactivate)}(ln)?ln.canDeactivate(me,Oe,ge,Ne):Di.runInContext(()=>ln(me,Oe,ge,Ne))).pipe((0,ae.P)())});return(0,A.of)(ni).pipe(zi())}(mt.component,mt.route,ge,Oe,Ne)),(0,ae.P)(mt=>!0!==mt,!0))}(ni,Ne,mt,me).pipe((0,ue.z)(Li=>Li&&function nr(me){return"boolean"==typeof me}(Li)?function Ma(me,Oe,ge,Ne){return(0,y.D)(Oe).pipe((0,Me.b)(mt=>(0,P.z)(function Hn(me,Oe){return null!==me&&Oe&&Oe(new Jr(me)),(0,A.of)(!0)}(mt.route.parent,Ne),function yo(me,Oe){return null!==me&&Oe&&Oe(new Yr(me)),(0,A.of)(!0)}(mt.route,Ne),function lo(me,Oe,ge){const Ne=Oe[Oe.length-1],Rt=Oe.slice(0,Oe.length-1).reverse().map(ni=>function Ao(me){const Oe=me.routeConfig?me.routeConfig.canActivateChild:null;return Oe&&0!==Oe.length?{node:me,guards:Oe}:null}(ni)).filter(ni=>null!==ni).map(ni=>(0,d.P)(()=>{const Li=ni.guards.map(Di=>{const ln=so(ni.node)??ge,Qn=Vt(Di,ln);return qe(function sn(me){return me&&Zi(me.canActivateChild)}(Qn)?Qn.canActivateChild(Ne,me):ln.runInContext(()=>Qn(Ne,me))).pipe((0,ae.P)())});return(0,A.of)(Li).pipe(zi())}));return(0,A.of)(Rt).pipe(zi())}(me,mt.path,ge),function Vi(me,Oe,ge){const Ne=Oe.routeConfig?Oe.routeConfig.canActivate:null;if(!Ne||0===Ne.length)return(0,A.of)(!0);const mt=Ne.map(Rt=>(0,d.P)(()=>{const ni=so(Oe)??ge,Li=Vt(Rt,ni);return qe(function Zr(me){return me&&Zi(me.canActivate)}(Li)?Li.canActivate(Oe,me):ni.runInContext(()=>Li(Oe,me))).pipe((0,ae.P)())}));return(0,A.of)(mt).pipe(zi())}(me,mt.route,ge))),(0,ae.P)(mt=>!0!==mt,!0))}(Ne,Rt,me,Oe):(0,A.of)(Li)),(0,j.U)(Li=>({...ge,guardsResult:Li})))})}(this.environmentInjector,Di=>this.events.next(Di)),(0,J.b)(Di=>{if(Rt.guardsResult=Di.guardsResult,ei(Di.guardsResult))throw ao(0,Di.guardsResult);const ln=new ri(Di.id,this.urlSerializer.serialize(Di.extractedUrl),this.urlSerializer.serialize(Di.urlAfterRedirects),Di.targetSnapshot,!!Di.guardsResult);this.events.next(ln)}),(0,se.h)(Di=>!!Di.guardsResult||(this.cancelNavigationTransition(Di,"",3),!1)),_e(Di=>{if(Di.guards.canActivateChecks.length)return(0,A.of)(Di).pipe((0,J.b)(ln=>{const Qn=new fn(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot);this.events.next(Qn)}),(0,K.w)(ln=>{let Qn=!1;return(0,A.of)(ln).pipe(gc(this.paramsInheritanceStrategy,this.environmentInjector),(0,J.b)({next:()=>Qn=!0,complete:()=>{Qn||this.cancelNavigationTransition(ln,"",2)}}))}),(0,J.b)(ln=>{const Qn=new Sn(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot);this.events.next(Qn)}))}),_e(Di=>{const ln=Qn=>{const Jn=[];Qn.routeConfig?.loadComponent&&!Qn.routeConfig._loadedComponent&&Jn.push(this.configLoader.loadComponent(Qn.routeConfig).pipe((0,J.b)(Pr=>{Qn.component=Pr}),(0,j.U)(()=>{})));for(const Pr of Qn.children)Jn.push(...ln(Pr));return Jn};return(0,w.a)(ln(Di.targetSnapshot.root)).pipe((0,n.d)(),(0,X.q)(1))}),_e(()=>this.afterPreactivation()),(0,K.w)(()=>{const{currentSnapshot:Di,targetSnapshot:ln}=Rt,Qn=this.createViewTransition?.(this.environmentInjector,Di.root,ln.root);return Qn?(0,y.D)(Qn).pipe((0,j.U)(()=>Rt)):(0,A.of)(Rt)}),(0,j.U)(Di=>{const ln=function Ca(me,Oe,ge){const Ne=kr(me,Oe._root,ge?ge._root:void 0);return new er(Ne,Oe)}(ge.routeReuseStrategy,Di.targetSnapshot,Di.currentRouterState);return this.currentTransition=Rt={...Di,targetRouterState:ln},this.currentNavigation.targetRouterState=ln,Rt}),(0,J.b)(()=>{this.events.next(new zt)}),((me,Oe,ge,Ne)=>(0,j.U)(mt=>(new co(Oe,mt.targetRouterState,mt.currentRouterState,ge,Ne).activate(me),mt)))(this.rootContexts,ge.routeReuseStrategy,Di=>this.events.next(Di),this.inputBindingEnabled),(0,X.q)(1),(0,J.b)({next:Di=>{ni=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xi(Di.id,this.urlSerializer.serialize(Di.extractedUrl),this.urlSerializer.serialize(Di.urlAfterRedirects))),this.titleStrategy?.updateTitle(Di.targetRouterState.snapshot),Di.resolve(!0)},complete:()=>{ni=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,J.b)(Di=>{throw Di}))),(0,r.x)(()=>{ni||Li||this.cancelNavigationTransition(Rt,"",1),this.currentNavigation?.id===Rt.id&&(this.currentNavigation=null)}),(0,he.K)(Di=>{if(Li=!0,ea(Di))this.events.next(new Se(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),Di.message,Di.cancellationCode)),function qo(me){return ea(me)&&ei(me.url)}(Di)?this.events.next(new pi(Di.url)):Rt.resolve(!1);else{this.events.next(new et(Rt.id,this.urlSerializer.serialize(Rt.extractedUrl),Di,Rt.targetSnapshot??void 0));try{Rt.resolve(ge.errorHandler(Di))}catch(ln){Rt.reject(ln)}}return I.E}))}))}cancelNavigationTransition(ge,Ne,mt){const Rt=new Se(ge.id,this.urlSerializer.serialize(ge.extractedUrl),Ne,mt);this.events.next(Rt),ge.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();function cn(me){return me!==Ui}let Un=(()=>{class me{static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(hr),providedIn:"root"})}return me})();class Ln{shouldDetach(Oe){return!1}store(Oe,ge){}shouldAttach(Oe){return!1}retrieve(Oe){return null}shouldReuseRoute(Oe,ge){return Oe.routeConfig===ge.routeConfig}}let hr=(()=>{class me extends Ln{static#e=this.\u0275fac=(()=>{let ge;return function(mt){return(ge||(ge=e.n5z(me)))(mt||me)}})();static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),Hr=(()=>{class me{static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:()=>(0,e.f3M)(da),providedIn:"root"})}return me})(),da=(()=>{class me extends Hr{constructor(){super(...arguments),this.location=(0,e.f3M)(W.Ye),this.urlSerializer=(0,e.f3M)(St),this.options=(0,e.f3M)(pt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,e.f3M)(Xt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Be,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=yr(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(ge){return this.location.subscribe(Ne=>{"popstate"===Ne.type&&ge(Ne.url,Ne.state)})}handleRouterEvent(ge,Ne){if(ge instanceof qt)this.stateMemento=this.createStateMemento();else if(ge instanceof Ve)this.rawUrlTree=Ne.initialUrl;else if(ge instanceof tt){if("eager"===this.urlUpdateStrategy&&!Ne.extras.skipLocationChange){const mt=this.urlHandlingStrategy.merge(Ne.finalUrl,Ne.initialUrl);this.setBrowserUrl(mt,Ne)}}else ge instanceof zt?(this.currentUrlTree=Ne.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Ne.finalUrl,Ne.initialUrl),this.routerState=Ne.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Ne.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Ne))):ge instanceof Se&&(3===ge.code||2===ge.code)?this.restoreHistory(Ne):ge instanceof et?this.restoreHistory(Ne,!0):ge instanceof xi&&(this.lastSuccessfulId=ge.id,this.currentPageId=this.browserPageId)}setBrowserUrl(ge,Ne){const mt=this.urlSerializer.serialize(ge);if(this.location.isCurrentPathEqualTo(mt)||Ne.extras.replaceUrl){const ni={...Ne.extras.state,...this.generateNgRouterState(Ne.id,this.browserPageId)};this.location.replaceState(mt,"",ni)}else{const Rt={...Ne.extras.state,...this.generateNgRouterState(Ne.id,this.browserPageId+1)};this.location.go(mt,"",Rt)}}restoreHistory(ge,Ne=!1){if("computed"===this.canceledNavigationResolution){const Rt=this.currentPageId-this.browserPageId;0!==Rt?this.location.historyGo(Rt):this.currentUrlTree===ge.finalUrl&&0===Rt&&(this.resetState(ge),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Ne&&this.resetState(ge),this.resetUrlToCurrentUrlTree())}resetState(ge){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ge.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ge,Ne){return"computed"===this.canceledNavigationResolution?{navigationId:ge,\u0275routerPageId:Ne}:{navigationId:ge}}static#e=this.\u0275fac=(()=>{let ge;return function(mt){return(ge||(ge=e.n5z(me)))(mt||me)}})();static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();var ia=function(me){return me[me.COMPLETE=0]="COMPLETE",me[me.FAILED=1]="FAILED",me[me.REDIRECTING=2]="REDIRECTING",me}(ia||{});function Ta(me,Oe){me.events.pipe((0,se.h)(ge=>ge instanceof xi||ge instanceof Se||ge instanceof et||ge instanceof Ve),(0,j.U)(ge=>ge instanceof xi||ge instanceof Ve?ia.COMPLETE:ge instanceof Se&&(0===ge.code||1===ge.code)?ia.REDIRECTING:ia.FAILED),(0,se.h)(ge=>ge!==ia.REDIRECTING),(0,X.q)(1)).subscribe(()=>{Oe()})}function Or(me){throw me}const Lo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},$a={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Fn=(()=>{class me{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,e.f3M)(e.c2e),this.stateManager=(0,e.f3M)(Hr),this.options=(0,e.f3M)(pt,{optional:!0})||{},this.pendingTasks=(0,e.f3M)(e.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,e.f3M)(en),this.urlSerializer=(0,e.f3M)(St),this.location=(0,e.f3M)(W.Ye),this.urlHandlingStrategy=(0,e.f3M)(Xt),this._events=new z.x,this.errorHandler=this.options.errorHandler||Or,this.navigated=!1,this.routeReuseStrategy=(0,e.f3M)(Un),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,e.f3M)(Qt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,e.f3M)(So,{optional:!0}),this.eventsSubscription=new B.w0,this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ge=>{this.console.warn(ge)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ge=this.navigationTransitions.events.subscribe(Ne=>{try{const mt=this.navigationTransitions.currentTransition,Rt=this.navigationTransitions.currentNavigation;if(null!==mt&&null!==Rt)if(this.stateManager.handleRouterEvent(Ne,Rt),Ne instanceof Se&&0!==Ne.code&&1!==Ne.code)this.navigated=!0;else if(Ne instanceof xi)this.navigated=!0;else if(Ne instanceof pi){const ni=this.urlHandlingStrategy.merge(Ne.url,mt.currentRawUrl),Li={skipLocationChange:mt.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||cn(mt.source)};this.scheduleNavigation(ni,Ui,null,Li,{resolve:mt.resolve,reject:mt.reject,promise:mt.promise})}(function vs(me){return!(me instanceof zt||me instanceof pi)})(Ne)&&this._events.next(Ne)}catch(mt){this.navigationTransitions.transitionAbortSubject.next(mt)}});this.eventsSubscription.add(ge)}resetRootComponentType(ge){this.routerState.root.component=ge,this.navigationTransitions.rootComponentType=ge}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ui,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((ge,Ne)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(ge,"popstate",Ne)},0)}))}navigateToSyncWithBrowser(ge,Ne,mt){const Rt={replaceUrl:!0},ni=mt?.navigationId?mt:null;if(mt){const Di={...mt};delete Di.navigationId,delete Di.\u0275routerPageId,0!==Object.keys(Di).length&&(Rt.state=Di)}const Li=this.parseUrl(ge);this.scheduleNavigation(Li,Ne,ni,Rt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ge){this.config=ge.map(Va),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ge,Ne={}){const{relativeTo:mt,queryParams:Rt,fragment:ni,queryParamsHandling:Li,preserveFragment:Di}=Ne,ln=Di?this.currentUrlTree.fragment:ni;let Jn,Qn=null;switch(Li){case"merge":Qn={...this.currentUrlTree.queryParams,...Rt};break;case"preserve":Qn=this.currentUrlTree.queryParams;break;default:Qn=Rt||null}null!==Qn&&(Qn=this.removeEmptyProps(Qn));try{Jn=Fi(mt?mt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ge[0]||!ge[0].startsWith("/"))&&(ge=[]),Jn=this.currentUrlTree.root}return li(Jn,ge,Qn,ln??null)}navigateByUrl(ge,Ne={skipLocationChange:!1}){const mt=ei(ge)?ge:this.parseUrl(ge),Rt=this.urlHandlingStrategy.merge(mt,this.rawUrlTree);return this.scheduleNavigation(Rt,Ui,null,Ne)}navigate(ge,Ne={skipLocationChange:!1}){return function Jo(me){for(let Oe=0;Oe{const Rt=ge[mt];return null!=Rt&&(Ne[mt]=Rt),Ne},{})}scheduleNavigation(ge,Ne,mt,Rt,ni){if(this.disposed)return Promise.resolve(!1);let Li,Di,ln;ni?(Li=ni.resolve,Di=ni.reject,ln=ni.promise):ln=new Promise((Jn,Pr)=>{Li=Jn,Di=Pr});const Qn=this.pendingTasks.add();return Ta(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Qn))}),this.navigationTransitions.handleNavigationRequest({source:Ne,restoredState:mt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ge,extras:Rt,resolve:Li,reject:Di,promise:ln,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),ln.catch(Jn=>Promise.reject(Jn))}static#e=this.\u0275fac=function(Ne){return new(Ne||me)};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),Sr=(()=>{class me{constructor(ge,Ne,mt,Rt,ni,Li){this.router=ge,this.route=Ne,this.tabIndexAttribute=mt,this.renderer=Rt,this.el=ni,this.locationStrategy=Li,this.href=null,this.commands=null,this.onChanges=new z.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Di=ni.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Di||"area"===Di,this.isAnchorElement?this.subscription=ge.events.subscribe(ln=>{ln instanceof xi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ge){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ge)}ngOnChanges(ge){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ge){null!=ge?(this.commands=Array.isArray(ge)?ge:[ge],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ge,Ne,mt,Rt,ni){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ge||Ne||mt||Rt||ni||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const ge=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ge)}applyAttributeValue(ge,Ne){const mt=this.renderer,Rt=this.el.nativeElement;null!==Ne?mt.setAttribute(Rt,ge,Ne):mt.removeAttribute(Rt,ge)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Ne){return new(Ne||me)(e.Y36(Fn),e.Y36(ma),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(W.S$))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Ne,mt){1&Ne&&e.NdJ("click",function(ni){return mt.onClick(ni.button,ni.ctrlKey,ni.shiftKey,ni.altKey,ni.metaKey)}),2&Ne&&e.uIk("target",mt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",e.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",e.VuI],replaceUrl:["replaceUrl","replaceUrl",e.VuI],routerLink:"routerLink"},standalone:!0,features:[e.Xq5,e.TTD]})}return me})(),zc=(()=>{class me{get isActive(){return this._isActive}constructor(ge,Ne,mt,Rt,ni){this.router=ge,this.element=Ne,this.renderer=mt,this.cdr=Rt,this.link=ni,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=ge.events.subscribe(Li=>{Li instanceof xi&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,(0,A.of)(null)).pipe((0,R.J)()).subscribe(ge=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ge=[...this.links.toArray(),this.link].filter(Ne=>!!Ne).map(Ne=>Ne.onChanges);this.linkInputChangesSubscription=(0,y.D)(ge).pipe((0,R.J)()).subscribe(Ne=>{this._isActive!==this.isLinkActive(this.router)(Ne)&&this.update()})}set routerLinkActive(ge){const Ne=Array.isArray(ge)?ge:ge.split(" ");this.classes=Ne.filter(mt=>!!mt)}ngOnChanges(ge){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ge=this.hasActiveLinks();this._isActive!==ge&&(this._isActive=ge,this.cdr.markForCheck(),this.classes.forEach(Ne=>{ge?this.renderer.addClass(this.element.nativeElement,Ne):this.renderer.removeClass(this.element.nativeElement,Ne)}),ge&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ge))})}isLinkActive(ge){const Ne=function _c(me){return!!me.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return mt=>!!mt.urlTree&&ge.isActive(mt.urlTree,Ne)}hasActiveLinks(){const ge=this.isLinkActive(this.router);return this.link&&ge(this.link)||this.links.some(ge)}static#e=this.\u0275fac=function(Ne){return new(Ne||me)(e.Y36(Fn),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Sr,8))};static#t=this.\u0275dir=e.lG2({type:me,selectors:[["","routerLinkActive",""]],contentQueries:function(Ne,mt,Rt){if(1&Ne&&e.Suo(Rt,Sr,5),2&Ne){let ni;e.iGM(ni=e.CRH())&&(mt.links=ni)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]})}return me})();class Ds{}let bl=(()=>{class me{constructor(ge,Ne,mt,Rt,ni){this.router=ge,this.injector=mt,this.preloadingStrategy=Rt,this.loader=ni}setUpPreloading(){this.subscription=this.router.events.pipe((0,se.h)(ge=>ge instanceof xi),(0,Me.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ge,Ne){const mt=[];for(const Rt of Ne){Rt.providers&&!Rt._injector&&(Rt._injector=(0,e.MMx)(Rt.providers,ge,`Route: ${Rt.path}`));const ni=Rt._injector??ge,Li=Rt._loadedInjector??ni;(Rt.loadChildren&&!Rt._loadedRoutes&&void 0===Rt.canLoad||Rt.loadComponent&&!Rt._loadedComponent)&&mt.push(this.preloadConfig(ni,Rt)),(Rt.children||Rt._loadedRoutes)&&mt.push(this.processRoutes(Li,Rt.children??Rt._loadedRoutes))}return(0,y.D)(mt).pipe((0,R.J)())}preloadConfig(ge,Ne){return this.preloadingStrategy.preload(Ne,()=>{let mt;mt=Ne.loadChildren&&void 0===Ne.canLoad?this.loader.loadChildren(ge,Ne):(0,A.of)(null);const Rt=mt.pipe((0,ue.z)(ni=>null===ni?(0,A.of)(void 0):(Ne._loadedRoutes=ni.routes,Ne._loadedInjector=ni.injector,this.processRoutes(ni.injector??ge,ni.routes))));if(Ne.loadComponent&&!Ne._loadedComponent){const ni=this.loader.loadComponent(Ne);return(0,y.D)([Rt,ni]).pipe((0,R.J)())}return Rt})}static#e=this.\u0275fac=function(Ne){return new(Ne||me)(e.LFG(Fn),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Ds),e.LFG(Re))};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();const Vc=new e.OlP("");let $o=(()=>{class me{constructor(ge,Ne,mt,Rt,ni={}){this.urlSerializer=ge,this.transitions=Ne,this.viewportScroller=mt,this.zone=Rt,this.options=ni,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},ni.scrollPositionRestoration=ni.scrollPositionRestoration||"disabled",ni.anchorScrolling=ni.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ge=>{ge instanceof qt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ge.navigationTrigger,this.restoredId=ge.restoredState?ge.restoredState.navigationId:0):ge instanceof xi?(this.lastId=ge.id,this.scheduleScrollEvent(ge,this.urlSerializer.parse(ge.urlAfterRedirects).fragment)):ge instanceof Ve&&0===ge.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ge,this.urlSerializer.parse(ge.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ge=>{ge instanceof Ni&&(ge.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ge.position):ge.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ge.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ge,Ne){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ni(ge,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ne))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Ne){e.$Z()};static#t=this.\u0275prov=e.Yz7({token:me,factory:me.\u0275fac})}return me})();function Pa(me,Oe){return{\u0275kind:me,\u0275providers:Oe}}function In(){const me=(0,e.f3M)(e.zs3);return Oe=>{const ge=me.get(e.z2F);if(Oe!==ge.components[0])return;const Ne=me.get(Fn),mt=me.get(Go);1===me.get(Bs)&&Ne.initialNavigation(),me.get(g1,null,e.XFs.Optional)?.setUpPreloading(),me.get(Vc,null,e.XFs.Optional)?.init(),Ne.resetRootComponentType(ge.componentTypes[0]),mt.closed||(mt.next(),mt.complete(),mt.unsubscribe())}}const Go=new e.OlP("",{factory:()=>new z.x}),Bs=new e.OlP("",{providedIn:"root",factory:()=>1}),g1=new e.OlP("");function Qs(me){return Pa(0,[{provide:g1,useExisting:bl},{provide:Ds,useExisting:me}])}function gd(me){return Pa(9,[{provide:di,useValue:Ii},{provide:Si,useValue:{skipNextTransition:!!me?.skipInitialTransition,...me}}])}const rr=new e.OlP("ROUTER_FORROOT_GUARD"),Ml=[W.Ye,{provide:St,useClass:dt},Fn,Gi,{provide:ma,useFactory:function Ls(me){return me.routerState.root},deps:[Fn]},Re,[]];let vc=(()=>{class me{constructor(ge){}static forRoot(ge,Ne){return{ngModule:me,providers:[Ml,[],{provide:Qt,multi:!0,useValue:ge},{provide:rr,useFactory:Fr,deps:[[Fn,new e.FiY,new e.tp0]]},{provide:pt,useValue:Ne||{}},Ne?.useHash?{provide:W.S$,useClass:W.Do}:{provide:W.S$,useClass:W.b0},{provide:Vc,useFactory:()=>{const me=(0,e.f3M)(W.EM),Oe=(0,e.f3M)(e.R0b),ge=(0,e.f3M)(pt),Ne=(0,e.f3M)(en),mt=(0,e.f3M)(St);return ge.scrollOffset&&me.setOffset(ge.scrollOffset),new $o(mt,Ne,me,Oe,ge)}},Ne?.preloadingStrategy?Qs(Ne.preloadingStrategy).\u0275providers:[],Ne?.initialNavigation?Ra(Ne):[],Ne?.bindToComponentInputs?Pa(8,[jr,{provide:So,useExisting:jr}]).\u0275providers:[],Ne?.enableViewTransitions?gd().\u0275providers:[],[{provide:bc,useFactory:In},{provide:e.tb,multi:!0,useExisting:bc}]]}}static forChild(ge){return{ngModule:me,providers:[{provide:Qt,multi:!0,useValue:ge}]}}static#e=this.\u0275fac=function(Ne){return new(Ne||me)(e.LFG(rr,8))};static#t=this.\u0275mod=e.oAB({type:me});static#i=this.\u0275inj=e.cJS({})}return me})();function Fr(me){return"guarded"}function Ra(me){return["disabled"===me.initialNavigation?Pa(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const Oe=(0,e.f3M)(Fn);return()=>{Oe.setUpLocationChangeListener()}}},{provide:Bs,useValue:2}]).\u0275providers:[],"enabledBlocking"===me.initialNavigation?Pa(2,[{provide:Bs,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:Oe=>{const ge=Oe.get(W.V_,Promise.resolve());return()=>ge.then(()=>new Promise(Ne=>{const mt=Oe.get(Fn),Rt=Oe.get(Go);Ta(mt,()=>{Ne(!0)}),Oe.get(en).afterPreactivation=()=>(Ne(!0),Rt.closed?(0,A.of)(void 0):Rt),mt.initialNavigation()}))}}]).\u0275providers:[]]}const bc=new e.OlP("")},5597:(Fe,q,p)=>{"use strict";p.d(q,{BN:()=>As,uH:()=>Qt});var e=p(9212);function t(Re,ft){var _t=Object.keys(Re);if(Object.getOwnPropertySymbols){var Lt=Object.getOwnPropertySymbols(Re);ft&&(Lt=Lt.filter(function(Xt){return Object.getOwnPropertyDescriptor(Re,Xt).enumerable})),_t.push.apply(_t,Lt)}return _t}function y(Re){for(var ft=1;ftRe.length)&&(ft=Re.length);for(var _t=0,Lt=new Array(ft);_t0;)ft+=be[62*Math.random()|0];return ft}function ne(Re){for(var ft=[],_t=(Re||[]).length>>>0;_t--;)ft[_t]=Re[_t];return ft}function ke(Re){return Re.classList?ne(Re.classList):(Re.getAttribute("class")||"").split(" ").filter(function(ft){return ft})}function Nt(Re){return"".concat(Re).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Wt(Re){return Object.keys(Re||{}).reduce(function(ft,_t){return ft+"".concat(_t,": ").concat(Re[_t].trim(),";")},"")}function gi(Re){return Re.size!==gt.size||Re.x!==gt.x||Re.y!==gt.y||Re.rotate!==gt.rotate||Re.flipX||Re.flipY}var Fi=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function li(){var Re=Je,ft=ye,_t=Ee.cssPrefix,Lt=Ee.replacementClass,Xt=Fi;if(_t!==Re||Lt!==ft){var hi=new RegExp("\\.".concat(Re,"\\-"),"g"),di=new RegExp("\\--".concat(Re,"\\-"),"g"),Si=new RegExp("\\.".concat(ft),"g");Xt=Xt.replace(hi,".".concat(_t,"-")).replace(di,"--".concat(_t,"-")).replace(Si,".".concat(Lt))}return Xt}var ui=!1;function un(){Ee.autoAddCss&&!ui&&(function Le(Re){if(Re&&v){var ft=h.createElement("style");ft.setAttribute("type","text/css"),ft.innerHTML=Re;for(var _t=h.head.childNodes,Lt=null,Xt=_t.length-1;Xt>-1;Xt--){var hi=_t[Xt],di=(hi.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(di)>-1&&(Lt=hi)}h.head.insertBefore(ft,Lt)}}(li()),ui=!0)}var Ki={mixout:function(){return{dom:{css:li,insertCss:un}}},hooks:function(){return{beforeDOMElementCreation:function(){un()},beforeI2svg:function(){un()}}}},Mi=f||{};Mi[ct]||(Mi[ct]={}),Mi[ct].styles||(Mi[ct].styles={}),Mi[ct].hooks||(Mi[ct].hooks={}),Mi[ct].shims||(Mi[ct].shims=[]);var on=Mi[ct],st=[],Ce=!1;function Ht(Re){var ft=Re.tag,_t=Re.attributes,Lt=void 0===_t?{}:_t,Xt=Re.children,hi=void 0===Xt?[]:Xt;return"string"==typeof Re?Nt(Re):"<".concat(ft," ").concat(function At(Re){return Object.keys(Re||{}).reduce(function(ft,_t){return ft+"".concat(_t,'="').concat(Nt(Re[_t]),'" ')},"").trim()}(Lt),">").concat(hi.map(Ht).join(""),"")}function Dt(Re,ft,_t){if(Re&&Re[ft]&&Re[ft][_t])return{prefix:ft,iconName:_t,icon:Re[ft][_t]}}v&&((Ce=(h.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(h.readyState))||h.addEventListener("DOMContentLoaded",function Re(){h.removeEventListener("DOMContentLoaded",Re),Ce=1,st.map(function(ft){return ft()})}));var Gt=function(ft,_t,Lt,Xt){var Ii,Xi,en,hi=Object.keys(ft),di=hi.length,Si=void 0!==Xt?function(ft,_t){return function(Lt,Xt,hi,di){return ft.call(_t,Lt,Xt,hi,di)}}(_t,Xt):_t;for(void 0===Lt?(Ii=1,en=ft[hi[0]]):(Ii=0,en=Lt);Ii=55296&&Xt<=56319&&_t2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Xt=void 0!==Lt&&Lt,hi=Oi(ft);"function"!=typeof on.hooks.addPack||Xt?on.styles[Re]=y(y({},on.styles[Re]||{}),hi):on.hooks.addPack(Re,Oi(ft)),"fas"===Re&&Ui("fa",ft)}var qt,xi,Se,Ve=on.styles,et=on.shims,tt=(d(qt={},Ze,Object.values(Be[Ze])),d(qt,We,Object.values(Be[We])),qt),Yt=null,ri={},fn={},Sn={},an={},sr={},Jr=(d(xi={},Ze,Object.keys(It[Ze])),d(xi,We,Object.keys(It[We])),xi);var $r=function(){var ft=function(hi){return Gt(Ve,function(di,Si,Ii){return di[Ii]=Gt(Si,hi,{}),di},{})};ri=ft(function(Xt,hi,di){return hi[3]&&(Xt[hi[3]]=di),hi[2]&&hi[2].filter(function(Ii){return"number"==typeof Ii}).forEach(function(Ii){Xt[Ii.toString(16)]=di}),Xt}),fn=ft(function(Xt,hi,di){return Xt[di]=di,hi[2]&&hi[2].filter(function(Ii){return"string"==typeof Ii}).forEach(function(Ii){Xt[Ii]=di}),Xt}),sr=ft(function(Xt,hi,di){var Si=hi[2];return Xt[di]=di,Si.forEach(function(Ii){Xt[Ii]=di}),Xt});var _t="far"in Ve||Ee.autoFetchSvg,Lt=Gt(et,function(Xt,hi){var di=hi[0],Si=hi[1],Ii=hi[2];return"far"===Si&&!_t&&(Si="fas"),"string"==typeof di&&(Xt.names[di]={prefix:Si,iconName:Ii}),"number"==typeof di&&(Xt.unicodes[di.toString(16)]={prefix:Si,iconName:Ii}),Xt},{names:{},unicodes:{}});Sn=Lt.names,an=Lt.unicodes,Yt=yn(Ee.styleDefault,{family:Ee.familyDefault})};function Ni(Re,ft){return(ri[Re]||{})[ft]}function pi(Re,ft){return(sr[Re]||{})[ft]}function _i(Re){return Sn[Re]||{prefix:null,iconName:null}}function Gi(){return Yt}(function Ge(Re){nt.push(Re)})(function(Re){Yt=yn(Re.styleDefault,{family:Ee.familyDefault})}),$r();var Ji=function(){return{prefix:null,iconName:null,rest:[]}};function yn(Re){var _t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,Lt=void 0===_t?Ze:_t;return Ae[Lt][Re]||Ae[Lt][It[Lt][Re]]||(Re in on.styles?Re:null)||null}var jn=(d(Se={},Ze,Object.keys(Be[Ze])),d(Se,We,Object.keys(Be[We])),Se);function Rn(Re){var ft,Lt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Xt=void 0!==Lt&&Lt,hi=(d(ft={},Ze,"".concat(Ee.cssPrefix,"-").concat(Ze)),d(ft,We,"".concat(Ee.cssPrefix,"-").concat(We)),ft),di=null,Si=Ze;(Re.includes(hi[Ze])||Re.some(function(Xi){return jn[Ze].includes(Xi)}))&&(Si=Ze),(Re.includes(hi[We])||Re.some(function(Xi){return jn[We].includes(Xi)}))&&(Si=We);var Ii=Re.reduce(function(Xi,en){var cn=function Yr(Re,ft){var _t=ft.split("-"),Lt=_t[0],Xt=_t.slice(1).join("-");return Lt!==Re||""===Xt||function Ar(Re){return~Ye.indexOf(Re)}(Xt)?null:Xt}(Ee.cssPrefix,en);if(Ve[en]?(en=tt[Si].includes(en)?rt[Si][en]:en,di=en,Xi.prefix=en):Jr[Si].indexOf(en)>-1?(di=en,Xi.prefix=yn(en,{family:Si})):cn?Xi.iconName=cn:en!==Ee.replacementClass&&en!==hi[Ze]&&en!==hi[We]&&Xi.rest.push(en),!Xt&&Xi.prefix&&Xi.iconName){var Un="fa"===di?_i(Xi.iconName):{},Ln=pi(Xi.prefix,Xi.iconName);Un.prefix&&(di=null),Xi.iconName=Un.iconName||Ln||Xi.iconName,Xi.prefix=Un.prefix||Xi.prefix,"far"===Xi.prefix&&!Ve.far&&Ve.fas&&!Ee.autoFetchSvg&&(Xi.prefix="fas")}return Xi},Ji());return(Re.includes("fa-brands")||Re.includes("fab"))&&(Ii.prefix="fab"),(Re.includes("fa-duotone")||Re.includes("fad"))&&(Ii.prefix="fad"),!Ii.prefix&&Si===We&&(Ve.fass||Ee.autoFetchSvg)&&(Ii.prefix="fass",Ii.iconName=pi(Ii.prefix,Ii.iconName)||Ii.iconName),("fa"===Ii.prefix||"fa"===di)&&(Ii.prefix=Gi()||"fas"),Ii}var Er=function(){function Re(){(function w(Re,ft){if(!(Re instanceof ft))throw new TypeError("Cannot call a class as a function")})(this,Re),this.definitions={}}return function P(Re,ft,_t){ft&&m(Re.prototype,ft),_t&&m(Re,_t),Object.defineProperty(Re,"prototype",{writable:!1})}(Re,[{key:"add",value:function(){for(var _t=this,Lt=arguments.length,Xt=new Array(Lt),hi=0;hi0&&en.forEach(function(cn){"string"==typeof cn&&(_t[Si][cn]=Xi)}),_t[Si][Ii]=Xi}),_t}}]),Re}(),er=[],yr={},aa={},ma=Object.keys(aa);function Fa(Re,ft){for(var _t=arguments.length,Lt=new Array(_t>2?_t-2:0),Xt=2;Xt<_t;Xt++)Lt[Xt-2]=arguments[Xt];return(yr[Re]||[]).forEach(function(di){ft=di.apply(null,[ft].concat(Lt))}),ft}function fr(Re){for(var ft=arguments.length,_t=new Array(ft>1?ft-1:0),Lt=1;Lt0&&void 0!==arguments[0]?arguments[0]:{};return v?(fr("beforeI2svg",ft),Dr("pseudoElements2svg",ft),Dr("i2svg",ft)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ft=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_t=ft.autoReplaceSvgRoot;!1===Ee.autoReplaceSvg&&(Ee.autoReplaceSvg=!0),Ee.observeMutations=!0,function Mt(Re){v&&(Ce?setTimeout(Re,0):st.push(Re))}(function(){So({autoReplaceSvgRoot:_t}),fr("watch",ft)})}},sa={noAuto:function(){Ee.autoReplaceSvg=!1,Ee.observeMutations=!1,fr("noAuto")},config:Ee,dom:ga,parse:{icon:function(ft){if(null===ft)return null;if("object"===A(ft)&&ft.prefix&&ft.iconName)return{prefix:ft.prefix,iconName:pi(ft.prefix,ft.iconName)||ft.iconName};if(Array.isArray(ft)&&2===ft.length){var _t=0===ft[1].indexOf("fa-")?ft[1].slice(3):ft[1],Lt=yn(ft[0]);return{prefix:Lt,iconName:pi(Lt,_t)||_t}}if("string"==typeof ft&&(ft.indexOf("".concat(Ee.cssPrefix,"-"))>-1||ft.match($e))){var Xt=Rn(ft.split(" "),{skipLookups:!0});return{prefix:Xt.prefix||Gi(),iconName:pi(Xt.prefix,Xt.iconName)||Xt.iconName}}if("string"==typeof ft){var hi=Gi();return{prefix:hi,iconName:pi(hi,ft)||ft}}}},library:pa,findIconDefinition:Kn,toHtml:Ht},So=function(){var _t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,Lt=void 0===_t?h:_t;(Object.keys(on.styles).length>0||Ee.autoFetchSvg)&&v&&Ee.autoReplaceSvg&&sa.dom.i2svg({node:Lt})};function jr(Re,ft){return Object.defineProperty(Re,"abstract",{get:ft}),Object.defineProperty(Re,"html",{get:function(){return Re.abstract.map(function(Lt){return Ht(Lt)})}}),Object.defineProperty(Re,"node",{get:function(){if(v){var Lt=h.createElement("div");return Lt.innerHTML=Re.html,Lt.children}}}),Re}function dr(Re){var ft=Re.icons,_t=ft.main,Lt=ft.mask,Xt=Re.prefix,hi=Re.iconName,di=Re.transform,Si=Re.symbol,Ii=Re.title,Xi=Re.maskId,en=Re.titleId,cn=Re.extra,Un=Re.watchable,Ln=void 0!==Un&&Un,hr=Lt.found?Lt:_t,Hr=hr.width,da=hr.height,ia="fak"===Xt,Ta=[Ee.replacementClass,hi?"".concat(Ee.cssPrefix,"-").concat(hi):""].filter(function(Sr){return-1===cn.classes.indexOf(Sr)}).filter(function(Sr){return""!==Sr||!!Sr}).concat(cn.classes).join(" "),Or={children:[],attributes:y(y({},cn.attributes),{},{"data-prefix":Xt,"data-icon":hi,class:Ta,role:cn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Hr," ").concat(da)})},Lo=ia&&!~cn.classes.indexOf("fa-fw")?{width:"".concat(Hr/da*16*.0625,"em")}:{};Ln&&(Or.attributes[fe]=""),Ii&&(Or.children.push({tag:"title",attributes:{id:Or.attributes["aria-labelledby"]||"title-".concat(en||$())},children:[Ii]}),delete Or.attributes.title);var $a=y(y({},Or),{},{prefix:Xt,iconName:hi,main:_t,mask:Lt,maskId:Xi,transform:di,symbol:Si,styles:y(y({},Lo),cn.styles)}),Fn=Lt.found&&_t.found?Dr("generateAbstractMask",$a)||{children:[],attributes:{}}:Dr("generateAbstractIcon",$a)||{children:[],attributes:{}},vs=Fn.attributes;return $a.children=Fn.children,$a.attributes=vs,Si?function kr(Re){var _t=Re.iconName,Lt=Re.children,Xt=Re.attributes,hi=Re.symbol,di=!0===hi?"".concat(Re.prefix,"-").concat(Ee.cssPrefix,"-").concat(_t):hi;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:y(y({},Xt),{},{id:di}),children:Lt}]}]}($a):function Ca(Re){var ft=Re.children,_t=Re.main,Lt=Re.mask,Xt=Re.attributes,hi=Re.styles,di=Re.transform;if(gi(di)&&_t.found&&!Lt.found){var Xi={x:_t.width/_t.height/2,y:.5};Xt.style=Wt(y(y({},hi),{},{"transform-origin":"".concat(Xi.x+di.x/16,"em ").concat(Xi.y+di.y/16,"em")}))}return[{tag:"svg",attributes:Xt,children:ft}]}($a)}function Bn(Re){var ft=Re.content,_t=Re.width,Lt=Re.height,Xt=Re.transform,hi=Re.title,di=Re.extra,Si=Re.watchable,Ii=void 0!==Si&&Si,Xi=y(y(y({},di.attributes),hi?{title:hi}:{}),{},{class:di.classes.join(" ")});Ii&&(Xi[fe]="");var en=y({},di.styles);gi(Xt)&&(en.transform=function $t(Re){var ft=Re.transform,_t=Re.width,Xt=Re.height,hi=void 0===Xt?16:Xt,di=Re.startCentered,Si=void 0!==di&&di,Ii="";return Ii+=Si&&r?"translate(".concat(ft.x/16-(void 0===_t?16:_t)/2,"em, ").concat(ft.y/16-hi/2,"em) "):Si?"translate(calc(-50% + ".concat(ft.x/16,"em), calc(-50% + ").concat(ft.y/16,"em)) "):"translate(".concat(ft.x/16,"em, ").concat(ft.y/16,"em) "),(Ii+="scale(".concat(ft.size/16*(ft.flipX?-1:1),", ").concat(ft.size/16*(ft.flipY?-1:1),") "))+"rotate(".concat(ft.rotate,"deg) ")}({transform:Xt,startCentered:!0,width:_t,height:Lt}),en["-webkit-transform"]=en.transform);var cn=Wt(en);cn.length>0&&(Xi.style=cn);var Un=[];return Un.push({tag:"span",attributes:Xi,children:[ft]}),hi&&Un.push({tag:"span",attributes:{class:"sr-only"},children:[hi]}),Un}var ao=on.styles;function Tr(Re){var ft=Re[0],_t=Re[1],hi=I(Re.slice(4),1)[0];return{found:!0,width:ft,height:_t,icon:Array.isArray(hi)?{tag:"g",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Ue.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Ue.SECONDARY),fill:"currentColor",d:hi[0]}},{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(Ue.PRIMARY),fill:"currentColor",d:hi[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:hi}}}}var qo={found:!1,width:512,height:512};function Ia(Re,ft){var _t=ft;return"fa"===ft&&null!==Ee.styleDefault&&(ft=Gi()),new Promise(function(Lt,Xt){if(Dr("missingIconAbstract"),"fa"===_t){var di=_i(Re)||{};Re=di.iconName||Re,ft=di.prefix||ft}if(Re&&ft&&ao[ft]&&ao[ft][Re])return Lt(Tr(ao[ft][Re]));(function ea(Re,ft){!ce&&!Ee.showMissingIcons&&Re&&console.error('Icon with name "'.concat(Re,'" and prefix "').concat(ft,'" is missing.'))})(Re,ft),Lt(y(y({},qo),{},{icon:Ee.showMissingIcons&&Re&&Dr("missingIconAbstract")||{}}))})}var Oa=function(){},_o=Ee.measurePerformance&&D&&D.mark&&D.measure?D:{mark:Oa,measure:Oa},oo='FA "6.4.2"',vo=function(ft){_o.mark("".concat(oo," ").concat(ft," ends")),_o.measure("".concat(oo," ").concat(ft),"".concat(oo," ").concat(ft," begins"),"".concat(oo," ").concat(ft," ends"))},Kr={begin:function(ft){return _o.mark("".concat(oo," ").concat(ft," begins")),function(){return vo(ft)}},end:vo},ca=function(){};function _a(Re){return"string"==typeof(Re.getAttribute?Re.getAttribute(fe):null)}function _s(Re){return h.createElementNS("http://www.w3.org/2000/svg",Re)}function so(Re){return h.createElement(Re)}function To(Re){var _t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,Lt=void 0===_t?"svg"===Re.tag?_s:so:_t;if("string"==typeof Re)return h.createTextNode(Re);var Xt=Lt(Re.tag);return Object.keys(Re.attributes||[]).forEach(function(di){Xt.setAttribute(di,Re.attributes[di])}),(Re.children||[]).forEach(function(di){Xt.appendChild(To(di,{ceFn:Lt}))}),Xt}var co={replace:function(ft){var _t=ft[0];if(_t.parentNode)if(ft[1].forEach(function(Xt){_t.parentNode.insertBefore(To(Xt),_t)}),null===_t.getAttribute(fe)&&Ee.keepOriginalSource){var Lt=h.createComment(function Ja(Re){var ft=" ".concat(Re.outerHTML," ");return"".concat(ft,"Font Awesome fontawesome.com ")}(_t));_t.parentNode.replaceChild(Lt,_t)}else _t.remove()},nest:function(ft){var _t=ft[0],Lt=ft[1];if(~ke(_t).indexOf(Ee.replacementClass))return co.replace(ft);var Xt=new RegExp("".concat(Ee.cssPrefix,"-.*"));if(delete Lt[0].attributes.id,Lt[0].attributes.class){var hi=Lt[0].attributes.class.split(" ").reduce(function(Si,Ii){return Ii===Ee.replacementClass||Ii.match(Xt)?Si.toSvg.push(Ii):Si.toNode.push(Ii),Si},{toNode:[],toSvg:[]});Lt[0].attributes.class=hi.toSvg.join(" "),0===hi.toNode.length?_t.removeAttribute("class"):_t.setAttribute("class",hi.toNode.join(" "))}var di=Lt.map(function(Si){return Ht(Si)}).join("\n");_t.setAttribute(fe,""),_t.innerHTML=di}};function Gr(Re){Re()}function zo(Re,ft){var _t="function"==typeof ft?ft:ca;if(0===Re.length)_t();else{var Lt=Gr;Ee.mutateApproach===re&&(Lt=f.requestAnimationFrame||Gr),Lt(function(){var Xt=function Qr(){return!0===Ee.autoReplaceSvg?co.replace:co[Ee.autoReplaceSvg]||co.replace}(),hi=Kr.begin("mutate");Re.map(Xt),hi(),_t()})}}var bo=!1;function Ao(){bo=!0}function Vt(){bo=!1}var Ai=null;function wt(Re){if(C&&Ee.observeMutations){var ft=Re.treeCallback,_t=void 0===ft?ca:ft,Lt=Re.nodeCallback,Xt=void 0===Lt?ca:Lt,hi=Re.pseudoElementsCallback,di=void 0===hi?ca:hi,Si=Re.observeMutationsRoot,Ii=void 0===Si?h:Si;Ai=new C(function(Xi){if(!bo){var en=Gi();ne(Xi).forEach(function(cn){if("childList"===cn.type&&cn.addedNodes.length>0&&!_a(cn.addedNodes[0])&&(Ee.searchPseudoElements&&di(cn.target),_t(cn.target)),"attributes"===cn.type&&cn.target.parentNode&&Ee.searchPseudoElements&&di(cn.target.parentNode),"attributes"===cn.type&&_a(cn.target)&&~te.indexOf(cn.attributeName))if("class"===cn.attributeName&&function Fo(Re){var ft=Re.getAttribute?Re.getAttribute(le):null,_t=Re.getAttribute?Re.getAttribute(pe):null;return ft&&_t}(cn.target)){var Un=Rn(ke(cn.target)),hr=Un.iconName;cn.target.setAttribute(le,Un.prefix||en),hr&&cn.target.setAttribute(pe,hr)}else(function Va(Re){return Re&&Re.classList&&Re.classList.contains&&Re.classList.contains(Ee.replacementClass)})(cn.target)&&Xt(cn.target)})}}),v&&Ai.observe(Ii,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zr(Re){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},_t=function Zi(Re){var ft=Re.getAttribute("data-prefix"),_t=Re.getAttribute("data-icon"),Lt=void 0!==Re.innerText?Re.innerText.trim():"",Xt=Rn(ke(Re));return Xt.prefix||(Xt.prefix=Gi()),ft&&_t&&(Xt.prefix=ft,Xt.iconName=_t),Xt.iconName&&Xt.prefix||(Xt.prefix&&Lt.length>0&&(Xt.iconName=function zt(Re,ft){return(fn[Re]||{})[ft]}(Xt.prefix,Re.innerText)||Ni(Xt.prefix,bi(Re.innerText))),!Xt.iconName&&Ee.autoFetchSvg&&Re.firstChild&&Re.firstChild.nodeType===Node.TEXT_NODE&&(Xt.iconName=Re.firstChild.data)),Xt}(Re),Lt=_t.iconName,Xt=_t.prefix,hi=_t.rest,di=function nr(Re){var ft=ne(Re.attributes).reduce(function(Xt,hi){return"class"!==Xt.name&&"style"!==Xt.name&&(Xt[hi.name]=hi.value),Xt},{}),_t=Re.getAttribute("title"),Lt=Re.getAttribute("data-fa-title-id");return Ee.autoA11y&&(_t?ft["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(Lt||$()):(ft["aria-hidden"]="true",ft.focusable="false")),ft}(Re),Si=Fa("parseNodeAttributes",{},Re),Ii=ft.styleParser?function Ti(Re){var ft=Re.getAttribute("style"),_t=[];return ft&&(_t=ft.split(";").reduce(function(Lt,Xt){var hi=Xt.split(":"),di=hi[0],Si=hi.slice(1);return di&&Si.length>0&&(Lt[di]=Si.join(":").trim()),Lt},{})),_t}(Re):[];return y({iconName:Lt,title:Re.getAttribute("title"),titleId:Re.getAttribute("data-fa-title-id"),prefix:Xt,transform:gt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:hi,styles:Ii,attributes:di}},Si)}var sn=on.styles;function Ba(Re){var ft="nest"===Ee.autoReplaceSvg?Zr(Re,{styleParser:!1}):Zr(Re);return~ft.extra.classes.indexOf(Ie)?Dr("generateLayersText",Re,ft):Dr("generateSvgReplacementMutation",Re,ft)}var ht=new Set;function bt(Re){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var _t=h.documentElement.classList,Lt=function(cn){return _t.add("".concat(qe,"-").concat(cn))},Xt=function(cn){return _t.remove("".concat(qe,"-").concat(cn))},hi=Ee.autoFetchSvg?ht:Ct.map(function(en){return"fa-".concat(en)}).concat(Object.keys(sn));hi.includes("fa")||hi.push("fa");var di=[".".concat(Ie,":not([").concat(fe,"])")].concat(hi.map(function(en){return".".concat(en,":not([").concat(fe,"])")})).join(", ");if(0===di.length)return Promise.resolve();var Si=[];try{Si=ne(Re.querySelectorAll(di))}catch{}if(!(Si.length>0))return Promise.resolve();Lt("pending"),Xt("complete");var Ii=Kr.begin("onTree"),Xi=Si.reduce(function(en,cn){try{var Un=Ba(cn);Un&&en.push(Un)}catch(Ln){ce||"MissingIcon"===Ln.name&&console.error(Ln)}return en},[]);return new Promise(function(en,cn){Promise.all(Xi).then(function(Un){zo(Un,function(){Lt("active"),Lt("complete"),Xt("pending"),"function"==typeof ft&&ft(),Ii(),en()})}).catch(function(Un){Ii(),cn(Un)})})}function ze(Re){var ft=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ba(Re).then(function(_t){_t&&zo([_t],ft)})}Ct.map(function(Re){ht.add("fa-".concat(Re))}),Object.keys(It[Ze]).map(ht.add.bind(ht)),Object.keys(It[We]).map(ht.add.bind(ht)),ht=k(ht);var Jt=function(ft){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Lt=_t.transform,Xt=void 0===Lt?gt:Lt,hi=_t.symbol,di=void 0!==hi&&hi,Si=_t.mask,Ii=void 0===Si?null:Si,Xi=_t.maskId,en=void 0===Xi?null:Xi,cn=_t.title,Un=void 0===cn?null:cn,Ln=_t.titleId,hr=void 0===Ln?null:Ln,Hr=_t.classes,da=void 0===Hr?[]:Hr,ia=_t.attributes,Ta=void 0===ia?{}:ia,Or=_t.styles,Lo=void 0===Or?{}:Or;if(ft){var $a=ft.prefix,Fn=ft.iconName,Jo=ft.icon;return jr(y({type:"icon"},ft),function(){return fr("beforeDOMElementCreation",{iconDefinition:ft,params:_t}),Ee.autoA11y&&(Un?Ta["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(hr||$()):(Ta["aria-hidden"]="true",Ta.focusable="false")),dr({icons:{main:Tr(Jo),mask:Ii?Tr(Ii.icon):{found:!1,width:null,height:null,icon:{}}},prefix:$a,iconName:Fn,transform:y(y({},gt),Xt),symbol:di,title:Un,maskId:en,titleId:hr,extra:{attributes:Ta,styles:Lo,classes:da}})})}},zi={mixout:function(){return{icon:(Re=Jt,function(ft){var _t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Lt=(ft||{}).icon?ft:Kn(ft||{}),Xt=_t.mask;return Xt&&(Xt=(Xt||{}).icon?Xt:Kn(Xt||{})),Re(Lt,y(y({},_t),{},{mask:Xt}))})};var Re},hooks:function(){return{mutationObserverCallbacks:function(_t){return _t.treeCallback=bt,_t.nodeCallback=ze,_t}}},provides:function(ft){ft.i2svg=function(_t){var Lt=_t.node,hi=_t.callback;return bt(void 0===Lt?h:Lt,void 0===hi?function(){}:hi)},ft.generateSvgReplacementMutation=function(_t,Lt){var Xt=Lt.iconName,hi=Lt.title,di=Lt.titleId,Si=Lt.prefix,Ii=Lt.transform,Xi=Lt.symbol,en=Lt.mask,cn=Lt.maskId,Un=Lt.extra;return new Promise(function(Ln,hr){Promise.all([Ia(Xt,Si),en.iconName?Ia(en.iconName,en.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Hr){var da=I(Hr,2);Ln([_t,dr({icons:{main:da[0],mask:da[1]},prefix:Si,iconName:Xt,transform:Ii,symbol:Xi,maskId:cn,title:hi,titleId:di,extra:Un,watchable:!0})])}).catch(hr)})},ft.generateAbstractIcon=function(_t){var Xi,Lt=_t.children,Xt=_t.attributes,hi=_t.main,di=_t.transform,Ii=Wt(_t.styles);return Ii.length>0&&(Xt.style=Ii),gi(di)&&(Xi=Dr("generateAbstractTransformGrouping",{main:hi,transform:di,containerWidth:hi.width,iconWidth:hi.width})),Lt.push(Xi||hi.icon),{children:Lt,attributes:Xt}}}},xn={mixout:function(){return{layer:function(_t){var Lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xt=Lt.classes,hi=void 0===Xt?[]:Xt;return jr({type:"layer"},function(){fr("beforeDOMElementCreation",{assembler:_t,params:Lt});var di=[];return _t(function(Si){Array.isArray(Si)?Si.map(function(Ii){di=di.concat(Ii.abstract)}):di=di.concat(Si.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.cssPrefix,"-layers")].concat(k(hi)).join(" ")},children:di}]})}}}},Mr={mixout:function(){return{counter:function(_t){var Lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xt=Lt.title,hi=void 0===Xt?null:Xt,di=Lt.classes,Si=void 0===di?[]:di,Ii=Lt.attributes,Xi=void 0===Ii?{}:Ii,en=Lt.styles,cn=void 0===en?{}:en;return jr({type:"counter",content:_t},function(){return fr("beforeDOMElementCreation",{content:_t,params:Lt}),function wa(Re){var ft=Re.content,_t=Re.title,Lt=Re.extra,Xt=y(y(y({},Lt.attributes),_t?{title:_t}:{}),{},{class:Lt.classes.join(" ")}),hi=Wt(Lt.styles);hi.length>0&&(Xt.style=hi);var di=[];return di.push({tag:"span",attributes:Xt,children:[ft]}),_t&&di.push({tag:"span",attributes:{class:"sr-only"},children:[_t]}),di}({content:_t.toString(),title:hi,extra:{attributes:Xi,styles:cn,classes:["".concat(Ee.cssPrefix,"-layers-counter")].concat(k(Si))}})})}}}},Ma={mixout:function(){return{text:function(_t){var Lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Xt=Lt.transform,hi=void 0===Xt?gt:Xt,di=Lt.title,Si=void 0===di?null:di,Ii=Lt.classes,Xi=void 0===Ii?[]:Ii,en=Lt.attributes,cn=void 0===en?{}:en,Un=Lt.styles,Ln=void 0===Un?{}:Un;return jr({type:"text",content:_t},function(){return fr("beforeDOMElementCreation",{content:_t,params:Lt}),Bn({content:_t,transform:y(y({},gt),hi),title:Si,extra:{attributes:cn,styles:Ln,classes:["".concat(Ee.cssPrefix,"-layers-text")].concat(k(Xi))}})})}}},provides:function(ft){ft.generateLayersText=function(_t,Lt){var Xt=Lt.title,hi=Lt.transform,di=Lt.extra,Si=null,Ii=null;if(r){var Xi=parseInt(getComputedStyle(_t).fontSize,10),en=_t.getBoundingClientRect();Si=en.width/Xi,Ii=en.height/Xi}return Ee.autoA11y&&!Xt&&(di.attributes["aria-hidden"]="true"),Promise.resolve([_t,Bn({content:_t.innerHTML,width:Si,height:Ii,transform:hi,title:Xt,extra:di,watchable:!0})])}}},yo=new RegExp('"',"ug"),Hn=[1105920,1112319];function lo(Re,ft){var _t="".concat(xe).concat(ft.replace(":","-"));return new Promise(function(Lt,Xt){if(null!==Re.getAttribute(_t))return Lt();var di=ne(Re.children).filter(function(Jo){return Jo.getAttribute(de)===ft})[0],Si=f.getComputedStyle(Re,ft),Ii=Si.getPropertyValue("font-family").match(lt),Xi=Si.getPropertyValue("font-weight"),en=Si.getPropertyValue("content");if(di&&!Ii)return Re.removeChild(di),Lt();if(Ii&&"none"!==en&&""!==en){var cn=Si.getPropertyValue("content"),Un=~["Sharp"].indexOf(Ii[2])?We:Ze,Ln=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Ii[2])?Ae[Un][Ii[2].toLowerCase()]:Qe[Un][Xi],hr=function Vi(Re){var ft=Re.replace(yo,""),_t=function yi(Re,ft){var Xt,_t=Re.length,Lt=Re.charCodeAt(ft);return Lt>=55296&&Lt<=56319&&_t>ft+1&&(Xt=Re.charCodeAt(ft+1))>=56320&&Xt<=57343?1024*(Lt-55296)+Xt-56320+65536:Lt}(ft,0),Lt=_t>=Hn[0]&&_t<=Hn[1],Xt=2===ft.length&&ft[0]===ft[1];return{value:bi(Xt?ft[0]:ft),isSecondary:Lt||Xt}}(cn),Hr=hr.value,da=hr.isSecondary,ia=Ii[0].startsWith("FontAwesome"),Ta=Ni(Ln,Hr),Or=Ta;if(ia){var Lo=function Ci(Re){var ft=an[Re],_t=Ni("fas",Re);return ft||(_t?{prefix:"fas",iconName:_t}:null)||{prefix:null,iconName:null}}(Hr);Lo.iconName&&Lo.prefix&&(Ta=Lo.iconName,Ln=Lo.prefix)}if(!Ta||da||di&&di.getAttribute(le)===Ln&&di.getAttribute(pe)===Or)Lt();else{Re.setAttribute(_t,Or),di&&Re.removeChild(di);var $a=function ar(){return{iconName:null,title:null,titleId:null,prefix:null,transform:gt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Fn=$a.extra;Fn.attributes[de]=ft,Ia(Ta,Ln).then(function(Jo){var vs=dr(y(y({},$a),{},{icons:{main:Jo,mask:Ji()},prefix:Ln,iconName:Or,extra:Fn,watchable:!0})),Sr=h.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===ft?Re.insertBefore(Sr,Re.firstChild):Re.appendChild(Sr),Sr.outerHTML=vs.map(function(zc){return Ht(zc)}).join("\n"),Re.removeAttribute(_t),Lt()}).catch(Xt)}}else Lt()})}function An(Re){return Promise.all([lo(Re,"::before"),lo(Re,"::after")])}function Yi(Re){return!(Re.parentNode===document.head||~ve.indexOf(Re.tagName.toUpperCase())||Re.getAttribute(de)||Re.parentNode&&"svg"===Re.parentNode.tagName)}function Ms(Re){if(v)return new Promise(function(ft,_t){var Lt=ne(Re.querySelectorAll("*")).filter(Yi).map(An),Xt=Kr.begin("searchPseudoElements");Ao(),Promise.all(Lt).then(function(){Xt(),Vt(),ft()}).catch(function(){Xt(),Vt(),_t()})})}var gr=!1,Ua=function(ft){return ft.toLowerCase().split(" ").reduce(function(Lt,Xt){var hi=Xt.toLowerCase().split("-"),di=hi[0],Si=hi.slice(1).join("-");if(di&&"h"===Si)return Lt.flipX=!0,Lt;if(di&&"v"===Si)return Lt.flipY=!0,Lt;if(Si=parseFloat(Si),isNaN(Si))return Lt;switch(di){case"grow":Lt.size=Lt.size+Si;break;case"shrink":Lt.size=Lt.size-Si;break;case"left":Lt.x=Lt.x-Si;break;case"right":Lt.x=Lt.x+Si;break;case"up":Lt.y=Lt.y-Si;break;case"down":Lt.y=Lt.y+Si;break;case"rotate":Lt.rotate=Lt.rotate+Si}return Lt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},va={x:0,y:0,width:"100%",height:"100%"};function Ss(Re){return Re.attributes&&(Re.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Re.attributes.fill="black"),Re}!function oa(Re,ft){var _t=ft.mixoutsTo;er=Re,yr={},Object.keys(aa).forEach(function(Lt){-1===ma.indexOf(Lt)&&delete aa[Lt]}),er.forEach(function(Lt){var Xt=Lt.mixout?Lt.mixout():{};if(Object.keys(Xt).forEach(function(di){"function"==typeof Xt[di]&&(_t[di]=Xt[di]),"object"===A(Xt[di])&&Object.keys(Xt[di]).forEach(function(Si){_t[di]||(_t[di]={}),_t[di][Si]=Xt[di][Si]})}),Lt.hooks){var hi=Lt.hooks();Object.keys(hi).forEach(function(di){yr[di]||(yr[di]=[]),yr[di].push(hi[di])})}Lt.provides&&Lt.provides(aa)})}([Ki,zi,xn,Mr,Ma,{hooks:function(){return{mutationObserverCallbacks:function(_t){return _t.pseudoElementsCallback=Ms,_t}}},provides:function(ft){ft.pseudoElements2svg=function(_t){var Lt=_t.node;Ee.searchPseudoElements&&Ms(void 0===Lt?h:Lt)}}},{mixout:function(){return{dom:{unwatch:function(){Ao(),gr=!0}}}},hooks:function(){return{bootstrap:function(){wt(Fa("mutationObserverCallbacks",{}))},noAuto:function(){!function ii(){Ai&&Ai.disconnect()}()},watch:function(_t){var Lt=_t.observeMutationsRoot;gr?Vt():wt(Fa("mutationObserverCallbacks",{observeMutationsRoot:Lt}))}}}},{mixout:function(){return{parse:{transform:function(_t){return Ua(_t)}}}},hooks:function(){return{parseNodeAttributes:function(_t,Lt){var Xt=Lt.getAttribute("data-fa-transform");return Xt&&(_t.transform=Ua(Xt)),_t}}},provides:function(ft){ft.generateAbstractTransformGrouping=function(_t){var Lt=_t.main,Xt=_t.transform,di=_t.iconWidth,Si={transform:"translate(".concat(_t.containerWidth/2," 256)")},Ii="translate(".concat(32*Xt.x,", ").concat(32*Xt.y,") "),Xi="scale(".concat(Xt.size/16*(Xt.flipX?-1:1),", ").concat(Xt.size/16*(Xt.flipY?-1:1),") "),en="rotate(".concat(Xt.rotate," 0 0)"),Ln={outer:Si,inner:{transform:"".concat(Ii," ").concat(Xi," ").concat(en)},path:{transform:"translate(".concat(di/2*-1," -256)")}};return{tag:"g",attributes:y({},Ln.outer),children:[{tag:"g",attributes:y({},Ln.inner),children:[{tag:Lt.icon.tag,children:Lt.icon.children,attributes:y(y({},Lt.icon.attributes),Ln.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(_t,Lt){var Xt=Lt.getAttribute("data-fa-mask"),hi=Xt?Rn(Xt.split(" ").map(function(di){return di.trim()})):Ji();return hi.prefix||(hi.prefix=Gi()),_t.mask=hi,_t.maskId=Lt.getAttribute("data-fa-mask-id"),_t}}},provides:function(ft){ft.generateAbstractMask=function(_t){var Re,Lt=_t.children,Xt=_t.attributes,hi=_t.main,di=_t.mask,Si=_t.maskId,en=hi.icon,Un=di.icon,Ln=function ei(Re){var ft=Re.transform,Lt=Re.iconWidth,Xt={transform:"translate(".concat(Re.containerWidth/2," 256)")},hi="translate(".concat(32*ft.x,", ").concat(32*ft.y,") "),di="scale(".concat(ft.size/16*(ft.flipX?-1:1),", ").concat(ft.size/16*(ft.flipY?-1:1),") "),Si="rotate(".concat(ft.rotate," 0 0)");return{outer:Xt,inner:{transform:"".concat(hi," ").concat(di," ").concat(Si)},path:{transform:"translate(".concat(Lt/2*-1," -256)")}}}({transform:_t.transform,containerWidth:di.width,iconWidth:hi.width}),hr={tag:"rect",attributes:y(y({},va),{},{fill:"white"})},Hr=en.children?{children:en.children.map(Ss)}:{},da={tag:"g",attributes:y({},Ln.inner),children:[Ss(y({tag:en.tag,attributes:y(y({},en.attributes),Ln.path)},Hr))]},ia={tag:"g",attributes:y({},Ln.outer),children:[da]},Ta="mask-".concat(Si||$()),Or="clip-".concat(Si||$()),Lo={tag:"mask",attributes:y(y({},va),{},{id:Ta,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[hr,ia]},$a={tag:"defs",children:[{tag:"clipPath",attributes:{id:Or},children:(Re=Un,"g"===Re.tag?Re.children:[Re])},Lo]};return Lt.push($a,{tag:"rect",attributes:y({fill:"currentColor","clip-path":"url(#".concat(Or,")"),mask:"url(#".concat(Ta,")")},va)}),{children:Lt,attributes:Xt}}}},{provides:function(ft){var _t=!1;f.matchMedia&&(_t=f.matchMedia("(prefers-reduced-motion: reduce)").matches),ft.missingIconAbstract=function(){var Lt=[],Xt={fill:"currentColor"},hi={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Lt.push({tag:"path",attributes:y(y({},Xt),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var di=y(y({},hi),{},{attributeName:"opacity"}),Si={tag:"circle",attributes:y(y({},Xt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return _t||Si.children.push({tag:"animate",attributes:y(y({},hi),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:y(y({},di),{},{values:"1;0;1;1;0;1;"})}),Lt.push(Si),Lt.push({tag:"path",attributes:y(y({},Xt),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:_t?[]:[{tag:"animate",attributes:y(y({},di),{},{values:"1;0;0;0;0;1;"})}]}),_t||Lt.push({tag:"path",attributes:y(y({},Xt),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:y(y({},di),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Lt}}}},{hooks:function(){return{parseNodeAttributes:function(_t,Lt){var Xt=Lt.getAttribute("data-fa-symbol");return _t.symbol=null!==Xt&&(""===Xt||Xt),_t}}}}],{mixoutsTo:sa});var qi=sa.parse,Ir=sa.icon,uo=p(6593);const Xn=["*"],qr=Re=>{const ft={[`fa-${Re.animation}`]:null!=Re.animation&&!Re.animation.startsWith("spin"),"fa-spin":"spin"===Re.animation||"spin-reverse"===Re.animation,"fa-spin-pulse":"spin-pulse"===Re.animation||"spin-pulse-reverse"===Re.animation,"fa-spin-reverse":"spin-reverse"===Re.animation||"spin-pulse-reverse"===Re.animation,"fa-pulse":"spin-pulse"===Re.animation||"spin-pulse-reverse"===Re.animation,"fa-fw":Re.fixedWidth,"fa-border":Re.border,"fa-inverse":Re.inverse,"fa-layers-counter":Re.counter,"fa-flip-horizontal":"horizontal"===Re.flip||"both"===Re.flip,"fa-flip-vertical":"vertical"===Re.flip||"both"===Re.flip,[`fa-${Re.size}`]:null!==Re.size,[`fa-rotate-${Re.rotate}`]:null!==Re.rotate,[`fa-pull-${Re.pull}`]:null!==Re.pull,[`fa-stack-${Re.stackItemSize}`]:null!=Re.stackItemSize};return Object.keys(ft).map(_t=>ft[_t]?_t:null).filter(_t=>_t)};let ta=(()=>{class Re{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(Lt){return new(Lt||Re)};static#t=this.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),gc=(()=>{class Re{constructor(){this.definitions={}}addIcons(..._t){for(const Lt of _t){Lt.prefix in this.definitions||(this.definitions[Lt.prefix]={}),this.definitions[Lt.prefix][Lt.iconName]=Lt;for(const Xt of Lt.icon[2])"string"==typeof Xt&&(this.definitions[Lt.prefix][Xt]=Lt)}}addIconPacks(..._t){for(const Lt of _t){const Xt=Object.keys(Lt).map(hi=>Lt[hi]);this.addIcons(...Xt)}}getIconDefinition(_t,Lt){return _t in this.definitions&&Lt in this.definitions[_t]?this.definitions[_t][Lt]:null}static#e=this.\u0275fac=function(Lt){return new(Lt||Re)};static#t=this.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),Fc=(()=>{class Re{constructor(){this.stackItemSize="1x"}ngOnChanges(_t){if("size"in _t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(Lt){return new(Lt||Re)};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[e.TTD]})}return Re})(),vl=(()=>{class Re{constructor(_t,Lt){this.renderer=_t,this.elementRef=Lt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(_t){"size"in _t&&(null!=_t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${_t.size.currentValue}`),null!=_t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${_t.size.previousValue}`))}static#e=this.\u0275fac=function(Lt){return new(Lt||Re)(e.Y36(e.Qsj),e.Y36(e.SBq))};static#t=this.\u0275cmp=e.Xpm({type:Re,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[e.TTD,e.jDz],ngContentSelectors:Xn,decls:1,vars:0,template:function(Lt,Xt){1&Lt&&(e.F$t(),e.Hsn(0))},encapsulation:2})}return Re})(),As=(()=>{class Re{set spin(_t){this.animation=_t?"spin":void 0}set pulse(_t){this.animation=_t?"spin-pulse":void 0}constructor(_t,Lt,Xt,hi,di){this.sanitizer=_t,this.config=Lt,this.iconLibrary=Xt,this.stackItem=hi,this.classes=[],null!=di&&null==hi&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(_t){if(null!=this.icon||null!=this.config.fallbackIcon){if(_t){const Xt=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Xt){const hi=this.buildParams();this.renderIcon(Xt,hi)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(_t){const Lt=((Re,ft)=>(Re=>void 0!==Re.prefix&&void 0!==Re.iconName)(Re)?Re:"string"==typeof Re?{prefix:ft,iconName:Re}:{prefix:Re[0],iconName:Re[1]})(_t,this.config.defaultPrefix);return"icon"in Lt?Lt:this.iconLibrary.getIconDefinition(Lt.prefix,Lt.iconName)??((Re=>{throw new Error(`Could not find icon with iconName=${Re.iconName} and prefix=${Re.prefix} in the icon library.`)})(Lt),null)}buildParams(){const _t={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},Lt="string"==typeof this.transform?qi.transform(this.transform):this.transform;return{title:this.title,transform:Lt,classes:[...qr(_t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(_t,Lt){const Xt=Ir(_t,Lt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Xt.html.join("\n"))}static#e=this.\u0275fac=function(Lt){return new(Lt||Re)(e.Y36(uo.H7),e.Y36(ta),e.Y36(gc),e.Y36(Fc,8),e.Y36(vl,8))};static#t=this.\u0275cmp=e.Xpm({type:Re,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Lt,Xt){2&Lt&&(e.Ikx("innerHTML",Xt.renderedIconHTML,e.oJD),e.uIk("title",Xt.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[e.TTD,e.jDz],decls:0,vars:0,template:function(Lt,Xt){},encapsulation:2})}return Re})(),Qt=(()=>{class Re{static#e=this.\u0275fac=function(Lt){return new(Lt||Re)};static#t=this.\u0275mod=e.oAB({type:Re});static#i=this.\u0275inj=e.cJS({})}return Re})()},590:(Fe,q,p)=>{"use strict";p.d(q,{Acd:()=>kh,Aq:()=>Cl,B$L:()=>va,BDt:()=>L4,CgH:()=>ys,CvI:()=>ch,DL8:()=>gv,FJU:()=>R4,FVb:()=>Bc,FlN:()=>l4,FpQ:()=>Yu,HLz:()=>j6,KOR:()=>C3,Krp:()=>e2,Mdf:()=>Ip,N2j:()=>pi,NBC:()=>vy,OS1:()=>b3,Psp:()=>Zm,Pyt:()=>I4,Sbq:()=>Ye,SoD:()=>Tr,Ssp:()=>ow,SuH:()=>hp,TmZ:()=>cg,USL:()=>X4,Vei:()=>_r,Vfw:()=>V8,X5K:()=>N3,XsY:()=>cn,aj4:()=>xd,b7W:()=>v4,byT:()=>Un,co4:()=>ud,d63:()=>Qd,dLy:()=>vf,dT$:()=>Tu,eHv:()=>rw,gNZ:()=>it,hkK:()=>tt,hnx:()=>_w,kXW:()=>df,kZ_:()=>j4,koM:()=>H1,mh3:()=>h2,nNP:()=>q6,q7m:()=>Cs,qO$:()=>ux,r8p:()=>K4,sqG:()=>U8,vqe:()=>nv,wn1:()=>J6,wyP:()=>ql,xf3:()=>Tc});var Ye={prefix:"fas",iconName:"angles-down",icon:[448,512,["angle-double-down"],"f103","M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},tt={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},pi={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},Tr={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M469.3 19.3l23.4 23.4c25 25 25 65.5 0 90.5l-56.4 56.4L322.3 75.7l56.4-56.4c25-25 65.5-25 90.5 0zM44.9 353.2L299.7 98.3 413.7 212.3 158.8 467.1c-6.7 6.7-15.1 11.6-24.2 14.2l-104 29.7c-8.4 2.4-17.4 .1-23.6-6.1s-8.5-15.2-6.1-23.6l29.7-104c2.6-9.2 7.5-17.5 14.2-24.2zM249.4 103.4L103.4 249.4 16 161.9c-18.7-18.7-18.7-49.1 0-67.9L94.1 16c18.7-18.7 49.1-18.7 67.9 0l19.8 19.8c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1l45.1 45.1zM408.6 262.6l45.1 45.1c-.3 .3-.7 .6-1 .9l-64 64c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l64-64c.3-.3 .6-.7 .9-1L496 350.1c18.7 18.7 18.7 49.1 0 67.9L417.9 496c-18.7 18.7-49.1 18.7-67.9 0l-87.4-87.4L408.6 262.6z"]},va={prefix:"fas",iconName:"unlock-keyhole",icon:[448,512,["unlock-alt"],"f13e","M224 64c-44.2 0-80 35.8-80 80v48H384c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80V144C80 64.5 144.5 0 224 0c57.5 0 107 33.7 130.1 82.3c7.6 16 .8 35.1-15.2 42.6s-35.1 .8-42.6-15.2C283.4 82.6 255.9 64 224 64zm32 320c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h64z"]},cn={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M339.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L568.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S517.7-4.4 499.1 9.6L262.4 187.2c-24 18-38.2 46.1-38.4 76.1L339.3 367.1zm-19.6 25.4l-116-104.4C143.9 290.3 96 339.6 96 400c0 3.9 .2 7.8 .6 11.6C98.4 429.1 86.4 448 68.8 448H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H208c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},Un={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},Bc={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},Cl={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},kh={prefix:"fas",iconName:"bullhorn",icon:[512,512,[128226,128363],"f0a1","M480 32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9L381.7 53c-48 48-113.1 75-181 75H192 160 64c-35.3 0-64 28.7-64 64v96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V352l8.7 0c67.9 0 133 27 181 75l43.6 43.6c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V300.4c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4V32zm-64 76.7V240 371.3C357.2 317.8 280.5 288 200.7 288H192V192h8.7c79.8 0 156.5-29.8 215.3-83.3z"]},xd={prefix:"fas",iconName:"money-bill-wave",icon:[576,512,[],"f53a","M0 112.5V422.3c0 18 10.1 35 27 41.3c87 32.5 174 10.3 261-11.9c79.8-20.3 159.6-40.7 239.3-18.9c23 6.3 48.7-9.5 48.7-33.4V89.7c0-18-10.1-35-27-41.3C462 15.9 375 38.1 288 60.3C208.2 80.6 128.4 100.9 48.7 79.1C25.6 72.8 0 88.6 0 112.5zM288 352c-44.2 0-80-43-80-96s35.8-96 80-96s80 43 80 96s-35.8 96-80 96zM64 352c35.3 0 64 28.7 64 64H64V352zm64-208c0 35.3-28.7 64-64 64V144h64zM512 304v64H448c0-35.3 28.7-64 64-64zM448 96h64v64c-35.3 0-64-28.7-64-64z"]},Tc={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},H1={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},ql={prefix:"fas",iconName:"window-restore",icon:[512,512,[],"f2d2","M432 64H208c-8.8 0-16 7.2-16 16V96H128V80c0-44.2 35.8-80 80-80H432c44.2 0 80 35.8 80 80V304c0 44.2-35.8 80-80 80H416V320h16c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16zM0 192c0-35.3 28.7-64 64-64H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192zm64 32c0 17.7 14.3 32 32 32H288c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32 14.3-32 32z"]},_r={prefix:"fas",iconName:"burst",icon:[512,512,[],"e4dc","M37.6 4.2C28-2.3 15.2-1.1 7 7s-9.4 21-2.8 30.5l112 163.3L16.6 233.2C6.7 236.4 0 245.6 0 256s6.7 19.6 16.6 22.8l103.1 33.4L66.8 412.8c-4.9 9.3-3.2 20.7 4.3 28.1s18.8 9.2 28.1 4.3l100.6-52.9 33.4 103.1c3.2 9.9 12.4 16.6 22.8 16.6s19.6-6.7 22.8-16.6l33.4-103.1 100.6 52.9c9.3 4.9 20.7 3.2 28.1-4.3s9.2-18.8 4.3-28.1L392.3 312.2l103.1-33.4c9.9-3.2 16.6-12.4 16.6-22.8s-6.7-19.6-16.6-22.8L388.9 198.7l25.7-70.4c3.2-8.8 1-18.6-5.6-25.2s-16.4-8.8-25.2-5.6l-70.4 25.7L278.8 16.6C275.6 6.7 266.4 0 256 0s-19.6 6.7-22.8 16.6l-32.3 99.6L37.6 4.2z"]},Qd={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M297.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 160H128c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C0 153.3 57.3 96 128 96H338.7L297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416H96c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H242.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},e2={prefix:"fas",iconName:"layer-group",icon:[576,512,[],"f5fd","M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z"]},Zm={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},Tu={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},b3={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},C3={prefix:"fas",iconName:"eject",icon:[448,512,[9167],"f052","M224 32c13.5 0 26.3 5.6 35.4 15.6l176 192c12.9 14 16.2 34.3 8.6 51.8S419 320 400 320H48c-19 0-36.3-11.2-43.9-28.7s-4.3-37.7 8.6-51.8l176-192C197.7 37.6 210.5 32 224 32zM0 432c0-26.5 21.5-48 48-48H400c26.5 0 48 21.5 48 48s-21.5 48-48 48H48c-26.5 0-48-21.5-48-48z"]},hp={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M224 32H64C46.3 32 32 46.3 32 64v64c0 17.7 14.3 32 32 32H441.4c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7H288c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32H288V192H224v32H70.6c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7H448c17.7 0 32-14.3 32-32V256zM288 480V384H224v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]},ys={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},N3={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},h2={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},Yu={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155c-3.8 4.4-9.4 6.1-14.5 5H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c53 0 96 43 96 96s-43 96-96 96H139.6c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-53 0-96-43-96-96s43-96 96-96h39.8c-21-31.5-39.8-67.7-39.8-96c0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8C59.8 473 0 402.5 0 352c0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9c-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Ip={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},it={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.1-3.5 13.7-2.7 18.5 2.4c7.6 8.1 14.3 17.2 20.1 27.2s10.3 20.4 13.5 31c2.1 6.7-1.1 13.7-7.2 17.2l-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.1 3.5 9.2 10.5 7.2 17.2c-3.3 10.6-7.8 21-13.5 31s-12.5 19.1-20.1 27.2c-4.8 5.1-12.5 5.9-18.5 2.4l-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 7-4.5 13.3-11.3 14.8c-10.5 2.4-21.5 3.7-32.7 3.7s-22.2-1.3-32.7-3.7c-6.8-1.5-11.3-7.8-11.3-14.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-6.1 3.5-13.7 2.7-18.5-2.4c-7.6-8.1-14.3-17.2-20.1-27.2s-10.3-20.4-13.5-31c-2.1-6.7 1.1-13.7 7.2-17.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-6.1-3.5-9.2-10.5-7.2-17.2c3.3-10.6 7.7-21 13.5-31s12.5-19.1 20.1-27.2c4.8-5.1 12.4-5.9 18.5-2.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},V8={prefix:"fas",iconName:"angles-up",icon:[448,512,["angle-double-up"],"f102","M246.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 361.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 301.3 361.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},U8={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},l4={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V224v64V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H96V64zm448 0v64h32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H544v64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},ch={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},ud=ch,v4={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},df={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M256 64H384v64H256V64zM240 0c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h48v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96v32H80c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H240c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H192V288H448v32H400c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H512V288h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V192h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H240zM96 448V384H224v64H96zm320-64H544v64H416V384z"]},Cs={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},L4={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]},I4={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM384 384a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 192A64 64 0 1 1 64 64a64 64 0 1 1 0 128z"]},R4={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},j6={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},q6={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},J6={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},vf={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},cg={prefix:"fas",iconName:"diagram-project",icon:[576,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32h96c26.5 0 48 21.5 48 48V96H384V80c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H432c-26.5 0-48-21.5-48-48V160H192v16c0 1.7-.1 3.4-.3 5L272 288h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V336c0-1.7 .1-3.4 .3-5L144 224H48c-26.5 0-48-21.5-48-48V80z"]},j4={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},K4={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},vy={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},X4={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},ux={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z"]},nv={prefix:"fas",iconName:"infinity",icon:[640,512,[8734,9854],"f534","M0 241.1C0 161 65 96 145.1 96c38.5 0 75.4 15.3 102.6 42.5L320 210.7l72.2-72.2C419.5 111.3 456.4 96 494.9 96C575 96 640 161 640 241.1v29.7C640 351 575 416 494.9 416c-38.5 0-75.4-15.3-102.6-42.5L320 301.3l-72.2 72.2C220.5 400.7 183.6 416 145.1 416C65 416 0 351 0 270.9V241.1zM274.7 256l-72.2-72.2c-15.2-15.2-35.9-23.8-57.4-23.8C100.3 160 64 196.3 64 241.1v29.7c0 44.8 36.3 81.1 81.1 81.1c21.5 0 42.2-8.5 57.4-23.8L274.7 256zm90.5 0l72.2 72.2c15.2 15.2 35.9 23.8 57.4 23.8c44.8 0 81.1-36.3 81.1-81.1V241.1c0-44.8-36.3-81.1-81.1-81.1c-21.5 0-42.2 8.5-57.4 23.8L365.3 256z"]},gv={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},rw={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},ow={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M32 96l320 0V32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160L32 160c-17.7 0-32-14.3-32-32s14.3-32 32-32zM480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32H160v64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-96-96c-6-6-9.4-14.1-9.4-22.6s3.4-16.6 9.4-22.6l96-96c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 64H480z"]},_w={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]}},5154:(Fe,q,p)=>{"use strict";p.d(q,{eX:()=>ee,sQ:()=>dt,GW:()=>n,l4:()=>De});var e=p(3019),t=p(5592),y=p(8645),A=p(7538),l=p(6232),w=p(2096),m=p(8504),P=p(4674);class E{constructor(Ft,xt,Ot){this.kind=Ft,this.value=xt,this.error=Ot,this.hasValue="N"===Ft}observe(Ft){return M(this,Ft)}do(Ft,xt,Ot){const{kind:yt,value:at,error:Ee}=this;return"N"===yt?Ft?.(at):"E"===yt?xt?.(Ee):Ot?.()}accept(Ft,xt,Ot){var yt;return(0,P.m)(null===(yt=Ft)||void 0===yt?void 0:yt.next)?this.observe(Ft):this.do(Ft,xt,Ot)}toObservable(){const{kind:Ft,value:xt,error:Ot}=this,yt="N"===Ft?(0,w.of)(xt):"E"===Ft?(0,m._)(()=>Ot):"C"===Ft?l.E:0;if(!yt)throw new TypeError(`Unexpected notification kind ${Ft}`);return yt}static createNext(Ft){return new E("N",Ft)}static createError(Ft){return new E("E",void 0,Ft)}static createComplete(){return E.completeNotification}}function M(je,Ft){var xt,Ot,yt;const{kind:at,value:Ee,error:nt}=je;if("string"!=typeof at)throw new TypeError('Invalid notification, missing "kind"');"N"===at?null===(xt=Ft.next)||void 0===xt||xt.call(Ft,Ee):"E"===at?null===(Ot=Ft.error)||void 0===Ot||Ot.call(Ft,nt):null===(yt=Ft.complete)||void 0===yt||yt.call(Ft)}E.completeNotification=new E("C");var I=p(9360),k=p(8251),B=p(7398),W=p(6306),j=p(2181),K=p(4829);function X(je,Ft,xt,Ot){return(0,I.e)((yt,at)=>{let Ee;Ft&&"function"!=typeof Ft?({duration:xt,element:Ee,connector:Ot}=Ft):Ee=Ft;const nt=new Map,Ge=ne=>{nt.forEach(ne),ne(at)},Xe=ne=>Ge(ke=>ke.error(ne));let gt=0,Le=!1;const be=new k.Q(at,ne=>{try{const ke=je(ne);let Nt=nt.get(ke);if(!Nt){nt.set(ke,Nt=Ot?Ot():new y.x);const At=function $(ne,ke){const Nt=new t.y(At=>{gt++;const Wt=ke.subscribe(At);return()=>{Wt.unsubscribe(),0==--gt&&Le&&be.unsubscribe()}});return Nt.key=ne,Nt}(ke,Nt);if(at.next(At),xt){const Wt=(0,k.x)(Nt,()=>{Nt.complete(),Wt?.unsubscribe()},void 0,void 0,()=>nt.delete(ke));be.add((0,K.Xf)(xt(At)).subscribe(Wt))}}Nt.next(Ee?Ee(ne):ne)}catch(ke){Xe(ke)}},()=>Ge(ne=>ne.complete()),Xe,()=>nt.clear(),()=>(Le=!0,0===gt));yt.subscribe(be)})}var ie=p(1631);function se(je,Ft){return Ft?xt=>xt.pipe(se((Ot,yt)=>(0,K.Xf)(je(Ot,yt)).pipe((0,B.U)((at,Ee)=>Ft(Ot,at,yt,Ee))))):(0,I.e)((xt,Ot)=>{let yt=0,at=null,Ee=!1;xt.subscribe((0,k.x)(Ot,nt=>{at||(at=(0,k.x)(Ot,void 0,()=>{at=null,Ee&&Ot.complete()}),(0,K.Xf)(je(nt,yt++)).subscribe(at))},()=>{Ee=!0,!at&&Ot.complete()}))})}var ae=p(8180),Me=p(9212),J=p(4221);const he={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},S="__@ngrx/effects_create__";function n(je,Ft={}){const xt=Ft.functional?je:je(),Ot={...he,...Ft};return Object.defineProperty(xt,S,{value:Ot}),xt}function C(je){return Object.getPrototypeOf(je)}function O(je){return"function"==typeof je}function v(je){return je.filter(O)}function g(je,Ft,xt){const Ot=C(je),at=Ot&&"Object"!==Ot.constructor.name?Ot.constructor.name:null,Ee=function h(je){return function s(je){return Object.getOwnPropertyNames(je).filter(Ot=>!(!je[Ot]||!je[Ot].hasOwnProperty(S))&&je[Ot][S].hasOwnProperty("dispatch")).map(Ot=>({propertyName:Ot,...je[Ot][S]}))}(je)}(je).map(({propertyName:nt,dispatch:Ge,useEffectsErrorHandler:Xe})=>{const gt="function"==typeof je[nt]?je[nt]():je[nt],Le=Xe?xt(gt,Ft):gt;return!1===Ge?Le.pipe((0,A.l)()):Le.pipe(function z(){return(0,I.e)((je,Ft)=>{je.subscribe((0,k.x)(Ft,xt=>{Ft.next(E.createNext(xt))},()=>{Ft.next(E.createComplete()),Ft.complete()},xt=>{Ft.next(E.createError(xt)),Ft.complete()}))})}()).pipe((0,B.U)($=>({effect:je[nt],notification:$,propertyName:nt,sourceName:at,sourceInstance:je})))});return(0,e.T)(...Ee)}function R(je,Ft,xt=10){return je.pipe((0,W.K)(Ot=>(Ft&&Ft.handleError(Ot),xt<=1?je:R(je,Ft,xt-1))))}let ee=(()=>{class je extends t.y{constructor(xt){super(),xt&&(this.source=xt)}lift(xt){const Ot=new je;return Ot.source=this,Ot.operator=xt,Ot}static#e=this.\u0275fac=function(Ot){return new(Ot||je)(Me.LFG(J.Y$))};static#t=this.\u0275prov=Me.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();function De(...je){return(0,j.h)(Ft=>je.some(xt=>"string"==typeof xt?xt===Ft.type:xt.type===Ft.type))}const ct=new Me.OlP("@ngrx/effects Internal Root Guard"),Ke=new Me.OlP("@ngrx/effects User Provided Effects"),Je=new Me.OlP("@ngrx/effects Internal Root Effects"),ye=new Me.OlP("@ngrx/effects Internal Root Effects Instances"),fe=new Me.OlP("@ngrx/effects Internal Feature Effects"),de=new Me.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),xe=new Me.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>R}),le="@ngrx/effects/init";(0,J.PH)(le);function Ae(je){return Be(je,"ngrxOnInitEffects")}function Be(je,Ft){return je&&Ft in je&&"function"==typeof je[Ft]}let rt=(()=>{class je extends y.x{constructor(xt,Ot){super(),this.errorHandler=xt,this.effectsErrorHandler=Ot}addEffects(xt){this.next(xt)}toActions(){return this.pipe(X(xt=>function D(je){return!!je.constructor&&"Object"!==je.constructor.name&&"Function"!==je.constructor.name}(xt)?C(xt):xt),(0,ie.z)(xt=>xt.pipe(X($e))),(0,ie.z)(xt=>{const Ot=xt.pipe(se(at=>function Ie(je,Ft){return xt=>{const Ot=g(xt,je,Ft);return function ut(je){return Be(je,"ngrxOnRunEffects")}(xt)?xt.ngrxOnRunEffects(Ot):Ot}}(this.errorHandler,this.effectsErrorHandler)(at)),(0,B.U)(at=>(function qe(je,Ft){if("N"===je.notification.kind){const xt=je.notification.value;!function re(je){return"function"!=typeof je&&je&&je.type&&"string"==typeof je.type}(xt)&&Ft.handleError(new Error(`Effect ${function ve({propertyName:je,sourceInstance:Ft,sourceName:xt}){const Ot="function"==typeof Ft[je];return xt?`"${xt}.${String(je)}${Ot?"()":""}"`:`"${String(je)}()"`}(je)} dispatched an invalid action: ${function ce(je){try{return JSON.stringify(je)}catch{return je}}(xt)}`))}}(at,this.errorHandler),at.notification)),(0,j.h)(at=>"N"===at.kind&&null!=at.value),function ue(){return(0,I.e)((je,Ft)=>{je.subscribe((0,k.x)(Ft,xt=>M(xt,Ft)))})}()),yt=xt.pipe((0,ae.q)(1),(0,j.h)(Ae),(0,B.U)(at=>at.ngrxOnInitEffects()));return(0,e.T)(Ot,yt)}))}static#e=this.\u0275fac=function(Ot){return new(Ot||je)(Me.LFG(Me.qLn),Me.LFG(xe))};static#t=this.\u0275prov=Me.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})();function $e(je){return function We(je){return Be(je,"ngrxOnIdentifyEffects")}(je)?je.ngrxOnIdentifyEffects():""}let lt=(()=>{class je{get isStarted(){return!!this.effectsSubscription}constructor(xt,Ot){this.effectSources=xt,this.store=Ot,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=this.\u0275fac=function(Ot){return new(Ot||je)(Me.LFG(rt),Me.LFG(J.yh))};static#t=this.\u0275prov=Me.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"})}return je})(),Qe=(()=>{class je{constructor(xt,Ot,yt,at,Ee,nt,Ge){this.sources=xt,Ot.start();for(const Xe of at)xt.addEffects(Xe);yt.dispatch({type:le})}addEffects(xt){this.sources.addEffects(xt)}static#e=this.\u0275fac=function(Ot){return new(Ot||je)(Me.LFG(rt),Me.LFG(lt),Me.LFG(J.yh),Me.LFG(ye),Me.LFG(J.cr,8),Me.LFG(J.CK,8),Me.LFG(ct,8))};static#t=this.\u0275mod=Me.oAB({type:je});static#i=this.\u0275inj=Me.cJS({})}return je})(),St=(()=>{class je{constructor(xt,Ot,yt,at){const Ee=Ot.flat();for(const nt of Ee)xt.addEffects(nt)}static#e=this.\u0275fac=function(Ot){return new(Ot||je)(Me.LFG(Qe),Me.LFG(de),Me.LFG(J.cr,8),Me.LFG(J.CK,8))};static#t=this.\u0275mod=Me.oAB({type:je});static#i=this.\u0275inj=Me.cJS({})}return je})(),dt=(()=>{class je{static forFeature(...xt){const Ot=xt.flat(),yt=v(Ot);return{ngModule:St,providers:[yt,{provide:fe,multi:!0,useValue:Ot},{provide:Ke,multi:!0,useValue:[]},{provide:de,multi:!0,useFactory:te,deps:[fe,Ke]}]}}static forRoot(...xt){const Ot=xt.flat(),yt=v(Ot);return{ngModule:Qe,providers:[yt,{provide:Je,useValue:[Ot]},{provide:ct,useFactory:Ue},{provide:Ke,multi:!0,useValue:[]},{provide:ye,useFactory:te,deps:[Je,Ke]}]}}static#e=this.\u0275fac=function(Ot){return new(Ot||je)};static#t=this.\u0275mod=Me.oAB({type:je});static#i=this.\u0275inj=Me.cJS({})}return je})();function te(je,Ft){const xt=[];for(const Ot of je)xt.push(...Ot);for(const Ot of Ft)xt.push(...Ot);return xt.map(Ot=>function r(je){return je instanceof Me.OlP||O(je)}(Ot)?(0,Me.f3M)(Ot):Ot)}function Ue(){const je=(0,Me.f3M)(lt,{optional:!0,skipSelf:!0}),Ft=(0,Me.f3M)(Je,{self:!0});if((1!==Ft.length||0!==Ft[0].length)&&je)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},7632:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9212),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4221),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6232),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5592),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2096),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(3019),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(2381),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(7328),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3020),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2181),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7398),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6328),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(5178),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3620),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6306),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(8180),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9773),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(4664),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(836),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(3093),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(2460),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6699),_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1993);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(q,p){if(this.action=q,this.timestamp=p,this.type=PERFORM_ACTION,typeof q.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(q){this.timestamp=q,this.type=RESET}}class Rollback{constructor(q){this.timestamp=q,this.type=ROLLBACK}}class Commit{constructor(q){this.timestamp=q,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(q){this.id=q,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(q,p,e=!0){this.start=q,this.end=p,this.active=e,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(q){this.index=q,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(q){this.actionId=q,this.type=JUMP_TO_ACTION}}class ImportState{constructor(q){this.nextLiftedState=q,this.type=IMPORT_STATE}}class LockChanges{constructor(q){this.status=q,this.type=LOCK_CHANGES}}class PauseRecording{constructor(q){this.status=q,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(Fe){const q={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},p="function"==typeof Fe?Fe():Fe,t=p.features||!!p.logOnly&&{pause:!0,export:!0,test:!0}||q.features;!0===t.import&&(t.import="custom");const y=Object.assign({},q,{features:t},p);if(y.maxAge&&y.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${y.maxAge}`);return y}function difference(Fe,q){return Fe.filter(p=>q.indexOf(p)<0)}function unliftState(Fe){const{computedStates:q,currentStateIndex:p}=Fe;if(p>=q.length){const{state:t}=q[q.length-1];return t}const{state:e}=q[p];return e}function unliftAction(Fe){return Fe.actionsById[Fe.nextActionId-1]}function liftAction(Fe){return new PerformAction(Fe,+Date.now())}function sanitizeActions(Fe,q){return Object.keys(q).reduce((p,e)=>{const t=Number(e);return p[t]=sanitizeAction(Fe,q[t],t),p},{})}function sanitizeAction(Fe,q,p){return{...q,action:Fe(q.action,p)}}function sanitizeStates(Fe,q){return q.map((p,e)=>({state:sanitizeState(Fe,p.state,e),error:p.error}))}function sanitizeState(Fe,q,p){return Fe(q,p)}function shouldFilterActions(Fe){return Fe.predicate||Fe.actionsSafelist||Fe.actionsBlocklist}function filterLiftedState(Fe,q,p,e){const t=[],y={},A=[];return Fe.stagedActionIds.forEach((l,w)=>{const m=Fe.actionsById[l];m&&(w&&isActionFiltered(Fe.computedStates[w],m,q,p,e)||(y[l]=m,t.push(l),A.push(Fe.computedStates[w])))}),{...Fe,stagedActionIds:t,actionsById:y,computedStates:A}}function isActionFiltered(Fe,q,p,e,t){const y=p&&!p(Fe,q.action),A=e&&!q.action.type.match(e.map(w=>escapeRegExp(w)).join("|")),l=t&&q.action.type.match(t.map(w=>escapeRegExp(w)).join("|"));return y||A||l}function escapeRegExp(Fe){return Fe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function injectZoneConfig(Fe){return{ngZone:Fe?(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.f3M)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.R0b):null,connectInZone:Fe}}let DevtoolsDispatcher=(()=>{class Fe extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{static#e=this.\u0275fac=(()=>{let p;return function(t){return(p||(p=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(Fe)))(t||Fe)}})();static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Fe,factory:Fe.\u0275fac})}return Fe})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(Fe,q,p){this.config=q,this.dispatcher=p,this.zoneConfig=injectZoneConfig(this.config.connectInZone),this.devtoolsExtension=Fe,this.createActionStreams()}notify(Fe,q){if(this.devtoolsExtension)if(Fe.type===PERFORM_ACTION){if(q.isLocked||q.isPaused)return;const p=unliftState(q);if(shouldFilterActions(this.config)&&isActionFiltered(p,Fe,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const e=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,p,q.currentStateIndex):p,t=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Fe,q.nextActionId):Fe;this.sendToReduxDevtools(()=>this.extensionConnection.send(t,e))}else{const p={...q,stagedActionIds:q.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,q.actionsById):q.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,q.computedStates):q.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Fe=>{const q=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=q,q.init(),q.subscribe(p=>Fe.next(p)),q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Fe=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),q=Fe.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.START)),p=Fe.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.STOP)),e=Fe.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(l=>l.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(w=>w.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>l),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(l))),y=Fe.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(l=>l.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(l=>this.unwrapAction(l.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),A=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p));this.start$=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>y)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>A))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Fe){const q={name:Fe.name,features:Fe.features,serialize:Fe.serialize,autoPause:Fe.autoPause??!1,trace:Fe.trace??!1,traceLimit:Fe.traceLimit??75};return!1!==Fe.maxAge&&(q.maxAge=Fe.maxAge),q}sendToReduxDevtools(Fe){try{Fe()}catch(q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",q)}}static#_=this.\u0275fac=function Fe(q){return new(q||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac})}return DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(Fe,q,p,e,t){if(e)return{state:p,error:"Interrupted by an error up the chain"};let A,y=p;try{y=Fe(p,q)}catch(l){A=l.toString(),t.handleError(l)}return{state:y,error:A}}function recomputeStates(Fe,q,p,e,t,y,A,l,w){if(q>=Fe.length&&Fe.length===y.length)return Fe;const m=Fe.slice(0,q),P=y.length-(w?1:0);for(let d=q;d-1?I:computeNextEntry(p,M,k,z,l);m.push(W)}return w&&m.push(Fe[Fe.length-1]),m}function liftInitialState(Fe,q){return{monitorState:q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Fe,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Fe,q,p,e,t={}){return y=>(A,l)=>{let{monitorState:w,actionsById:m,nextActionId:P,stagedActionIds:d,skippedActionIds:E,committedState:M,currentStateIndex:I,computedStates:k,isLocked:z,isPaused:B}=A||q;function W(X){let ie=X,se=d.slice(1,ie+1);for(let ue=0;ue-1===se.indexOf(ue)),d=[0,...d.slice(ie+1)],M=k[ie].state,k=k.slice(ie),I=I>ie?I-ie:0}function j(){m={0:liftAction(INIT_ACTION)},P=1,d=[0],E=[],M=k[I].state,I=0,k=[]}A||(m=Object.create(m));let K=0;switch(l.type){case LOCK_CHANGES:z=l.status,K=1/0;break;case PAUSE_RECORDING:B=l.status,B?(d=[...d,P],m[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,K=d.length-1,k=k.concat(k[k.length-1]),I===d.length-2&&I++,K=1/0):j();break;case RESET:m={0:liftAction(INIT_ACTION)},P=1,d=[0],E=[],M=Fe,I=0,k=[];break;case COMMIT:j();break;case ROLLBACK:m={0:liftAction(INIT_ACTION)},P=1,d=[0],E=[],I=0,k=[];break;case TOGGLE_ACTION:{const{id:X}=l;E=-1===E.indexOf(X)?[X,...E]:E.filter(se=>se!==X),K=d.indexOf(X);break}case SET_ACTIONS_ACTIVE:{const{start:X,end:ie,active:se}=l,ue=[];for(let ae=X;aet.maxAge&&(k=recomputeStates(k,K,y,M,m,d,E,p,B),W(d.length-t.maxAge),K=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(k.filter(ie=>ie.error).length>0)K=0,t.maxAge&&d.length>t.maxAge&&(k=recomputeStates(k,K,y,M,m,d,E,p,B),W(d.length-t.maxAge),K=1/0);else{if(!B&&!z){I===d.length-1&&I++;const ie=P++;m[ie]=new PerformAction(l,+Date.now()),d=[...d,ie],K=d.length-1,k=recomputeStates(k,K,y,M,m,d,E,p,B)}k=k.map(ie=>({...ie,state:y(ie.state,RECOMPUTE_ACTION)})),I=d.length-1,t.maxAge&&d.length>t.maxAge&&W(d.length-t.maxAge),K=1/0}break;default:K=1/0}return k=recomputeStates(k,K,y,M,m,d,E,p,B),w=e(w,l),{monitorState:w,actionsById:m,nextActionId:P,stagedActionIds:d,skippedActionIds:E,committedState:M,currentStateIndex:I,computedStates:k,isLocked:z,isPaused:B}}}let StoreDevtools=(()=>{class Fe{constructor(p,e,t,y,A,l,w,m){const P=liftInitialState(w,m.monitor),d=liftReducerWith(w,P,l,m.monitor,m),E=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(e.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),y.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),p,y.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),M=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),I=injectZoneConfig(m.connectInZone),k=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1);this.liftedStateSubscription=E.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(M),emitInZone(I),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:W},[j,K])=>{let X=K(W,j);return j.type!==PERFORM_ACTION&&shouldFilterActions(m)&&(X=filterLiftedState(X,m.predicate,m.actionsSafelist,m.actionsBlocklist)),y.notify(j,X),{state:X,action:j}},{state:P,action:null})).subscribe(({state:W,action:j})=>{k.next(W),j.type===PERFORM_ACTION&&A.next(j.action)}),this.extensionStartSubscription=y.start$.pipe(emitInZone(I)).subscribe(()=>{this.refresh()});const z=k.asObservable(),B=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));Object.defineProperty(B,"state",{value:(0,_angular_core_rxjs_interop__WEBPACK_IMPORTED_MODULE_22__.O4)(B,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=p,this.liftedState=z,this.state=B}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(p){this.dispatcher.next(p)}next(p){this.dispatcher.next(p)}error(p){}complete(){}performAction(p){this.dispatch(new PerformAction(p,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(p){this.dispatch(new ToggleAction(p))}jumpToAction(p){this.dispatch(new JumpToAction(p))}jumpToState(p){this.dispatch(new JumpToState(p))}importState(p){this.dispatch(new ImportState(p))}lockChanges(p){this.dispatch(new LockChanges(p))}pauseRecording(p){this.dispatch(new PauseRecording(p))}static#e=this.\u0275fac=function(e){return new(e||Fe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))};static#t=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Fe,factory:Fe.\u0275fac})}return Fe})();function emitInZone({ngZone:Fe,connectInZone:q}){return p=>q?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(e=>p.subscribe({next:t=>Fe.run(()=>e.next(t)),error:t=>Fe.run(()=>e.error(t)),complete:()=>Fe.run(()=>e.complete())})):p}const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(Fe,q){return!!Fe||q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Fe="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Fe]<"u"?window[Fe]:null}function provideStoreDevtools(Fe={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Fe},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(Fe){return Fe.state}let StoreDevtoolsModule=(()=>{class Fe{static instrument(p={}){return{ngModule:Fe,providers:[provideStoreDevtools(p)]}}static#e=this.\u0275fac=function(e){return new(e||Fe)};static#t=this.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:Fe});static#i=this.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({})}return Fe})()},4221:(Fe,q,p)=>{"use strict";p.d(q,{UO:()=>he,qg:()=>J,Y6:()=>f,mK:()=>Ct,n$:()=>We,Y$:()=>Be,FR:()=>$e,yh:()=>St,CK:()=>Ar,Aw:()=>Yr,cr:()=>Jr,wb:()=>ut,PH:()=>B,ZF:()=>ei,Lq:()=>Ni,P1:()=>At,on:()=>$r,Ky:()=>W});var e=p(9212),t=p(5619),y=p(5592),A=p(8645),l=p(2381),w=p(3093),m=p(2460),P=p(6699),d=p(7398),M=p(3997),I=p(1993);const k={};function B(zt,pi){if(k[zt]=(k[zt]||0)+1,"function"==typeof pi)return K(zt,(...Ci)=>({...pi(...Ci),type:zt}));switch(pi?pi._as:"empty"){case"empty":return K(zt,()=>({type:zt}));case"props":return K(zt,Ci=>({...Ci,type:zt}));default:throw new Error("Unexpected config.")}}function W(){return{_as:"props",_p:void 0}}function K(zt,pi){return Object.defineProperty(pi,"type",{value:zt,writable:!1})}const J="@ngrx/store/init";let he=(()=>{class zt extends t.X{constructor(){super({type:J})}next(_i){if("function"==typeof _i)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof _i>"u")throw new TypeError("Actions must be objects");if(typeof _i.type>"u")throw new TypeError("Actions must have a type property");super.next(_i)}complete(){}ngOnDestroy(){super.complete()}static#e=this.\u0275fac=function(Ci){return new(Ci||zt)};static#t=this.\u0275prov=e.Yz7({token:zt,factory:zt.\u0275fac})}return zt})();const S=[he],n=new e.OlP("@ngrx/store Internal Root Guard"),s=new e.OlP("@ngrx/store Internal Initial State"),f=new e.OlP("@ngrx/store Initial State"),h=new e.OlP("@ngrx/store Reducer Factory"),C=new e.OlP("@ngrx/store Internal Reducer Factory Provider"),D=new e.OlP("@ngrx/store Initial Reducers"),O=new e.OlP("@ngrx/store Internal Initial Reducers"),v=new e.OlP("@ngrx/store Store Features"),r=new e.OlP("@ngrx/store Internal Store Reducers"),g=new e.OlP("@ngrx/store Internal Feature Reducers"),H=new e.OlP("@ngrx/store Internal Feature Configs"),R=new e.OlP("@ngrx/store Internal Store Features"),ee=new e.OlP("@ngrx/store Internal Feature Reducers Token"),De=new e.OlP("@ngrx/store Feature Reducers"),ct=new e.OlP("@ngrx/store User Provided Meta Reducers"),Ke=new e.OlP("@ngrx/store Meta Reducers"),Je=new e.OlP("@ngrx/store Internal Resolved Meta Reducers"),ye=new e.OlP("@ngrx/store User Runtime Checks Config"),fe=new e.OlP("@ngrx/store Internal User Runtime Checks Config"),de=new e.OlP("@ngrx/store Internal Runtime Checks"),xe=new e.OlP("@ngrx/store Check if Action types are unique");function qe(zt,pi={}){const _i=Object.keys(zt),Ci={};for(let Ji=0;Ji<_i.length;Ji++){const yn=_i[Ji];"function"==typeof zt[yn]&&(Ci[yn]=zt[yn])}const Gi=Object.keys(Ci);return function(yn,jn){yn=void 0===yn?pi:yn;let Rn=!1;const Er={};for(let er=0;erJi(Gi),_i(pi))}}function ce(zt,pi){return Array.isArray(pi)&&pi.length>0&&(zt=ve.apply(null,[...pi,zt])),(_i,Ci)=>{const Gi=zt(_i);return(Ji,yn)=>Gi(Ji=void 0===Ji?Ci:Ji,yn)}}new e.OlP("@ngrx/store Root Store Provider"),new e.OlP("@ngrx/store Feature State Provider");class We extends y.y{}class Ct extends he{}const ut="@ngrx/store/update-reducers";let It=(()=>{class zt extends t.X{get currentReducers(){return this.reducers}constructor(_i,Ci,Gi,Ji){super(Ji(Gi,Ci)),this.dispatcher=_i,this.initialState=Ci,this.reducers=Gi,this.reducerFactory=Ji}addFeature(_i){this.addFeatures([_i])}addFeatures(_i){const Ci=_i.reduce((Gi,{reducers:Ji,reducerFactory:yn,metaReducers:jn,initialState:Rn,key:Er})=>{const er="function"==typeof Ji?function Ze(zt){const pi=Array.isArray(zt)&&zt.length>0?ve(...zt):_i=>_i;return(_i,Ci)=>(_i=pi(_i),(Gi,Ji)=>_i(Gi=void 0===Gi?Ci:Gi,Ji))}(jn)(Ji,Rn):ce(yn,jn)(Ji,Rn);return Gi[Er]=er,Gi},{});this.addReducers(Ci)}removeFeature(_i){this.removeFeatures([_i])}removeFeatures(_i){this.removeReducers(_i.map(Ci=>Ci.key))}addReducer(_i,Ci){this.addReducers({[_i]:Ci})}addReducers(_i){this.reducers={...this.reducers,..._i},this.updateReducers(Object.keys(_i))}removeReducer(_i){this.removeReducers([_i])}removeReducers(_i){_i.forEach(Ci=>{this.reducers=function re(zt,pi){return Object.keys(zt).filter(_i=>_i!==pi).reduce((_i,Ci)=>Object.assign(_i,{[Ci]:zt[Ci]}),{})}(this.reducers,Ci)}),this.updateReducers(_i)}updateReducers(_i){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:ut,features:_i})}ngOnDestroy(){this.complete()}static#e=this.\u0275fac=function(Ci){return new(Ci||zt)(e.LFG(Ct),e.LFG(f),e.LFG(D),e.LFG(h))};static#t=this.\u0275prov=e.Yz7({token:zt,factory:zt.\u0275fac})}return zt})();const Ae=[It,{provide:We,useExisting:It},{provide:Ct,useExisting:he}];let Be=(()=>{class zt extends A.x{ngOnDestroy(){this.complete()}static#e=this.\u0275fac=(()=>{let _i;return function(Gi){return(_i||(_i=e.n5z(zt)))(Gi||zt)}})();static#t=this.\u0275prov=e.Yz7({token:zt,factory:zt.\u0275fac})}return zt})();const rt=[Be];class $e extends y.y{}let Ie=(()=>{class zt extends t.X{static#e=this.INIT=J;constructor(_i,Ci,Gi,Ji){super(Ji);const Er=_i.pipe((0,w.Q)(l.N)).pipe((0,m.M)(Ci)).pipe((0,P.R)(lt,{state:Ji}));this.stateSubscription=Er.subscribe(({state:er,action:yr})=>{this.next(er),Gi.next(yr)}),this.state=(0,I.O4)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#t=this.\u0275fac=function(Ci){return new(Ci||zt)(e.LFG(he),e.LFG(We),e.LFG(Be),e.LFG(f))};static#i=this.\u0275prov=e.Yz7({token:zt,factory:zt.\u0275fac})}return zt})();function lt(zt={state:void 0},[pi,_i]){const{state:Ci}=zt;return{state:_i(Ci,pi),action:pi}}const Qe=[Ie,{provide:$e,useExisting:Ie}];let St=(()=>{class zt extends y.y{constructor(_i,Ci,Gi){super(),this.actionsObserver=Ci,this.reducerManager=Gi,this.source=_i,this.state=_i.state}select(_i,...Ci){return te.call(null,_i,...Ci)(this)}selectSignal(_i,Ci){return(0,e.Flj)(()=>_i(this.state()),Ci)}lift(_i){const Ci=new zt(this,this.actionsObserver,this.reducerManager);return Ci.operator=_i,Ci}dispatch(_i){this.actionsObserver.next(_i)}next(_i){this.actionsObserver.next(_i)}error(_i){this.actionsObserver.error(_i)}complete(){this.actionsObserver.complete()}addReducer(_i,Ci){this.reducerManager.addReducer(_i,Ci)}removeReducer(_i){this.reducerManager.removeReducer(_i)}static#e=this.\u0275fac=function(Ci){return new(Ci||zt)(e.LFG($e),e.LFG(he),e.LFG(It))};static#t=this.\u0275prov=e.Yz7({token:zt,factory:zt.\u0275fac})}return zt})();const dt=[St];function te(zt,pi,..._i){return function(Gi){let Ji;if("string"==typeof zt){const yn=[pi,..._i].filter(Boolean);Ji=Gi.pipe(function E(...zt){const pi=zt.length;if(0===pi)throw new Error("list of properties cannot be empty.");return(0,d.U)(_i=>{let Ci=_i;for(let Gi=0;Gizt(yn,pi)))}return Ji.pipe((0,M.x)())}}const Ue="https://ngrx.io/guide/store/configuration/runtime-checks";function Bt(zt){return void 0===zt}function Ye(zt){return null===zt}function je(zt){return Array.isArray(zt)}function yt(zt){return"object"==typeof zt&&null!==zt}function nt(zt){return"function"==typeof zt}let gt=!1;function $(zt,pi){return zt===pi}function Nt(zt,pi=$,_i=$){let Ji,Ci=null,Gi=null;return{memoized:function Er(){if(void 0!==Ji)return Ji.result;if(!Ci)return Gi=zt.apply(null,arguments),Ci=arguments,Gi;if(!function ne(zt,pi,_i){for(let Ci=0;Ci"function"==typeof pi)}(Ci[0])&&(Ci=function Fi(zt){const pi=Object.values(zt),_i=Object.keys(zt);return[...pi,(...Gi)=>_i.reduce((Ji,yn,jn)=>({...Ji,[yn]:Gi[jn]}),{})]}(Ci[0]));const Gi=Ci.slice(0,Ci.length-1),Ji=Ci[Ci.length-1],yn=Gi.filter(er=>er.release&&"function"==typeof er.release),jn=zt(function(...er){return Ji.apply(null,er)}),Rn=Nt(function(er,yr){return pi.stateFn.apply(null,[er,Gi,yr,jn])});return Object.assign(Rn.memoized,{release:function Er(){Rn.reset(),jn.reset(),yn.forEach(er=>er.release())},projector:jn.memoized,setResult:Rn.setResult,clearResult:Rn.clearResult})}}(Nt)(...zt)}function Wt(zt,pi,_i,Ci){if(void 0===_i){const Ji=pi.map(yn=>yn(zt));return Ci.memoized.apply(null,Ji)}const Gi=pi.map(Ji=>Ji(zt,_i));return Ci.memoized.apply(null,[...Gi,_i])}function ei(zt){return At(pi=>{const _i=pi[zt];return!function be(){return gt}()&&(0,e.X6Q)()&&!(zt in pi)&&console.warn(`@ngrx/store: The feature name "${zt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${zt}', ...) or StoreModule.forFeature('${zt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),_i},pi=>pi)}function Ki(zt){return zt instanceof e.OlP?(0,e.f3M)(zt):zt}function Mi(zt,pi){return pi.map((_i,Ci)=>{if(zt[Ci]instanceof e.OlP){const Gi=(0,e.f3M)(zt[Ci]);return{key:_i.key,reducerFactory:Gi.reducerFactory?Gi.reducerFactory:qe,metaReducers:Gi.metaReducers?Gi.metaReducers:[],initialState:Gi.initialState}}return _i})}function on(zt){return zt.map(pi=>pi instanceof e.OlP?(0,e.f3M)(pi):pi)}function st(zt){return"function"==typeof zt?zt():zt}function si(zt,pi){return zt.concat(pi)}function Ce(){if((0,e.f3M)(St,{optional:!0,skipSelf:!0}))throw new TypeError("The root Store has been provided more than once. Feature modules should provide feature states instead.");return"guarded"}function Ht(zt){Object.freeze(zt);const pi=nt(zt);return Object.getOwnPropertyNames(zt).forEach(_i=>{if(!_i.startsWith("\u0275")&&function Xe(zt,pi){return Object.prototype.hasOwnProperty.call(zt,pi)}(zt,_i)&&(!pi||"caller"!==_i&&"callee"!==_i&&"arguments"!==_i)){const Ci=zt[_i];(yt(Ci)||nt(Ci))&&!Object.isFrozen(Ci)&&Ht(Ci)}}),zt}function kt(zt,pi=[]){return(Bt(zt)||Ye(zt))&&0===pi.length?{path:["root"],value:zt}:Object.keys(zt).reduce((Ci,Gi)=>{if(Ci)return Ci;const Ji=zt[Gi];return function Ge(zt){return nt(zt)&&zt.hasOwnProperty("\u0275cmp")}(Ji)?Ci:!(Bt(Ji)||Ye(Ji)||function Ot(zt){return"number"==typeof zt}(Ji)||function xt(zt){return"boolean"==typeof zt}(Ji)||function Ft(zt){return"string"==typeof zt}(Ji)||je(Ji))&&(function Ee(zt){if(!function at(zt){return yt(zt)&&!je(zt)}(zt))return!1;const pi=Object.getPrototypeOf(zt);return pi===Object.prototype||null===pi}(Ji)?kt(Ji,[...pi,Gi]):{path:[...pi,Gi],value:Ji})},!1)}function Gt(zt,pi){if(!1===zt)return;const _i=zt.path.join("."),Ci=new Error(`Detected unserializable ${pi} at "${_i}". ${Ue}#strict${pi}serializability`);throw Ci.value=zt.value,Ci.unserializablePath=_i,Ci}function bi(zt){return(0,e.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...zt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function yi({strictActionSerializability:zt,strictStateSerializability:pi}){return _i=>zt||pi?function Dt(zt,pi){return function(_i,Ci){pi.action(Ci)&&Gt(kt(Ci),"action");const Gi=zt(_i,Ci);return pi.state()&&Gt(kt(Gi),"state"),Gi}}(_i,{action:Ci=>zt&&!Ui(Ci),state:()=>pi}):_i}function Oi({strictActionImmutability:zt,strictStateImmutability:pi}){return _i=>zt||pi?function Mt(zt,pi){return function(_i,Ci){const Gi=pi.action(Ci)?Ht(Ci):Ci,Ji=zt(_i,Gi);return pi.state()?Ht(Ji):Ji}}(_i,{action:Ci=>zt&&!Ui(Ci),state:()=>pi}):_i}function Ui(zt){return zt.type.startsWith("@ngrx")}function Bi({strictActionWithinNgZone:zt}){return pi=>zt?function oi(zt,pi){return function(_i,Ci){if(pi.action(Ci)&&!e.R0b.isInAngularZone())throw new Error(`Action '${Ci.type}' running outside NgZone. ${Ue}#strictactionwithinngzone`);return zt(_i,Ci)}}(pi,{action:_i=>zt&&!Ui(_i)}):pi}function qt(zt){return[{provide:fe,useValue:zt},{provide:ye,useFactory:Se,deps:[fe]},{provide:de,deps:[ye],useFactory:bi},{provide:Ke,multi:!0,deps:[de],useFactory:Oi},{provide:Ke,multi:!0,deps:[de],useFactory:yi},{provide:Ke,multi:!0,deps:[de],useFactory:Bi}]}function xi(){return[{provide:xe,multi:!0,deps:[de],useFactory:Ve}]}function Se(zt){return zt}function Ve(zt){if(!zt.strictActionTypeUniqueness)return;const pi=Object.entries(k).filter(([,_i])=>_i>1).map(([_i])=>_i);if(pi.length)throw new Error(`Action types are registered more than once, ${pi.map(_i=>`"${_i}"`).join(", ")}. ${Ue}#strictactiontypeuniqueness`)}function tt(zt={},pi={}){return[{provide:n,useFactory:Ce},{provide:s,useValue:pi.initialState},{provide:f,useFactory:st,deps:[s]},{provide:O,useValue:zt},{provide:r,useExisting:zt instanceof e.OlP?zt:O},{provide:D,deps:[O,[new e.tBr(r)]],useFactory:Ki},{provide:ct,useValue:pi.metaReducers?pi.metaReducers:[]},{provide:Je,deps:[Ke,ct],useFactory:si},{provide:C,useValue:pi.reducerFactory?pi.reducerFactory:qe},{provide:h,deps:[C,Je],useFactory:ce},S,Ae,rt,Qe,dt,qt(pi.runtimeChecks),xi()]}function sr(zt,pi,_i={}){return[{provide:H,multi:!0,useValue:zt instanceof Object?{}:_i},{provide:v,multi:!0,useValue:{key:zt instanceof Object?zt.name:zt,reducerFactory:_i instanceof e.OlP||!_i.reducerFactory?qe:_i.reducerFactory,metaReducers:_i instanceof e.OlP||!_i.metaReducers?[]:_i.metaReducers,initialState:_i instanceof e.OlP||!_i.initialState?void 0:_i.initialState}},{provide:R,deps:[H,v],useFactory:Mi},{provide:g,multi:!0,useValue:zt instanceof Object?zt.reducer:pi},{provide:ee,multi:!0,useExisting:pi instanceof e.OlP?pi:g},{provide:De,multi:!0,deps:[g,[new e.tBr(ee)]],useFactory:on},xi()]}let Jr=(()=>{class zt{constructor(_i,Ci,Gi,Ji,yn,jn){}static#e=this.\u0275fac=function(Ci){return new(Ci||zt)(e.LFG(he),e.LFG(We),e.LFG(Be),e.LFG(St),e.LFG(n,8),e.LFG(xe,8))};static#t=this.\u0275mod=e.oAB({type:zt});static#i=this.\u0275inj=e.cJS({})}return zt})(),Ar=(()=>{class zt{constructor(_i,Ci,Gi,Ji,yn){this.features=_i,this.featureReducers=Ci,this.reducerManager=Gi;const jn=_i.map((Rn,Er)=>{const yr=Ci.shift()[Er];return{...Rn,reducers:yr,initialState:st(Rn.initialState)}});Gi.addFeatures(jn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=this.\u0275fac=function(Ci){return new(Ci||zt)(e.LFG(R),e.LFG(De),e.LFG(It),e.LFG(Jr),e.LFG(xe,8))};static#t=this.\u0275mod=e.oAB({type:zt});static#i=this.\u0275inj=e.cJS({})}return zt})(),Yr=(()=>{class zt{static forRoot(_i,Ci){return{ngModule:Jr,providers:[...tt(_i,Ci)]}}static forFeature(_i,Ci,Gi={}){return{ngModule:Ar,providers:[...sr(_i,Ci,Gi)]}}static#e=this.\u0275fac=function(Ci){return new(Ci||zt)};static#t=this.\u0275mod=e.oAB({type:zt});static#i=this.\u0275inj=e.cJS({})}return zt})();function $r(...zt){return{reducer:zt.pop(),types:zt.map(Ci=>Ci.type)}}function Ni(zt,...pi){const _i=new Map;for(const Ci of pi)for(const Gi of Ci.types){const Ji=_i.get(Gi);_i.set(Gi,Ji?(jn,Rn)=>Ci.reducer(Ji(jn,Rn),Rn):Ci.reducer)}return function(Ci=zt,Gi){const Ji=_i.get(Gi.type);return Ji?Ji(Ci,Gi):Ci}}},25:(Fe,q,p)=>{"use strict";p.d(q,{H5:()=>nd,K$:()=>kp,a4:()=>tf});var e=p(9212),t=p(6814),y=p(7582),A=p(8484),l=p(2438),w=p(3620),m=p(6825);function P(){}function d(u){return null==u?P:function(){return this.querySelector(u)}}function I(){return[]}function k(u){return null==u?I:function(){return this.querySelectorAll(u)}}function W(u){return function(){return this.matches(u)}}function j(u){return function(L){return L.matches(u)}}var K=Array.prototype.find;function ie(){return this.firstElementChild}var ue=Array.prototype.filter;function ae(){return Array.from(this.children)}function S(u){return new Array(u.length)}function s(u,L){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=L}function h(u,L,o,x,U,Y){for(var it,Te=0,jt=L.length,Zt=Y.length;TeL?1:u>=L?0:NaN}s.prototype={constructor:s,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,L){return this._parent.insertBefore(u,L)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var xe="http://www.w3.org/1999/xhtml";const le={svg:"http://www.w3.org/2000/svg",xhtml:xe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function pe(u){var L=u+="",o=L.indexOf(":");return o>=0&&"xmlns"!==(L=u.slice(0,o))&&(u=u.slice(o+1)),le.hasOwnProperty(L)?{space:le[L],local:u}:u}function qe(u){return function(){this.removeAttribute(u)}}function re(u){return function(){this.removeAttributeNS(u.space,u.local)}}function ve(u,L){return function(){this.setAttribute(u,L)}}function ce(u,L){return function(){this.setAttributeNS(u.space,u.local,L)}}function Ze(u,L){return function(){var o=L.apply(this,arguments);null==o?this.removeAttribute(u):this.setAttribute(u,o)}}function We(u,L){return function(){var o=L.apply(this,arguments);null==o?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,o)}}function ut(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function It(u){return function(){this.style.removeProperty(u)}}function Ae(u,L,o){return function(){this.style.setProperty(u,L,o)}}function Be(u,L,o){return function(){var x=L.apply(this,arguments);null==x?this.style.removeProperty(u):this.style.setProperty(u,x,o)}}function $e(u,L){return u.style.getPropertyValue(L)||ut(u).getComputedStyle(u,null).getPropertyValue(L)}function Ie(u){return function(){delete this[u]}}function lt(u,L){return function(){this[u]=L}}function Qe(u,L){return function(){var o=L.apply(this,arguments);null==o?delete this[u]:this[u]=o}}function dt(u){return u.trim().split(/^|\s+/)}function te(u){return u.classList||new Ue(u)}function Ue(u){this._node=u,this._names=dt(u.getAttribute("class")||"")}function Bt(u,L){for(var o=te(u),x=-1,U=L.length;++x=0&&(this._names.splice(L,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var bi=[null];function yi(u,L){this._groups=u,this._parents=L}function Oi(){return new yi([[document.documentElement]],bi)}yi.prototype=Oi.prototype={constructor:yi,select:function E(u){"function"!=typeof u&&(u=d(u));for(var L=this._groups,o=L.length,x=new Array(o),U=0;U=mn&&(mn=Pn+1);!(Vn=Pi[mn])&&++mn=0;)(Te=x[U])&&(Y&&4^Te.compareDocumentPosition(Y)&&Y.parentNode.insertBefore(Te,Y),Y=Te);return this},sort:function ee(u){function L(vi,Ei){return vi&&Ei?u(vi.__data__,Ei.__data__):!vi-!Ei}u||(u=De);for(var o=this._groups,x=o.length,U=new Array(x),Y=0;Y1?this.each((null==L?It:"function"==typeof L?Be:Ae)(u,L,o??"")):$e(this.node(),u)},property:function St(u,L){return arguments.length>1?this.each((null==L?Ie:"function"==typeof L?Qe:lt)(u,L)):this.node()[u]},classed:function Ot(u,L){var o=dt(u+"");if(arguments.length<2){for(var x=te(this.node()),U=-1,Y=o.length;++U=0&&(o=L.slice(x+1),L=L.slice(0,x)),{type:L,name:o}})}(u+""),Y=x.length;if(!(arguments.length<2)){for(it=L?Ce:si,U=0;U{}};function Se(){for(var x,u=0,L=arguments.length,o={};u=0&&(x=o.slice(U+1),o=o.slice(0,U)),o&&!L.hasOwnProperty(o))throw new Error("unknown type: "+o);return{type:o,name:x}})}(u+"",o),Y=-1,Te=x.length;if(!(arguments.length<2)){if(null!=L&&"function"!=typeof L)throw new Error("invalid callback: "+L);for(;++Y0)for(var U,Y,o=new Array(U),x=0;x>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===o?pa(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===o?pa(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=yn.exec(u))?new Lr(L[1],L[2],L[3],1):(L=jn.exec(u))?new Lr(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=Rn.exec(u))?pa(L[1],L[2],L[3],L[4]):(L=Er.exec(u))?pa(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=er.exec(u))?Bn(L[1],L[2]/100,L[3]/100,1):(L=yr.exec(u))?Bn(L[1],L[2]/100,L[3]/100,L[4]):aa.hasOwnProperty(u)?Kn(aa[u]):"transparent"===u?new Lr(NaN,NaN,NaN,0):null}function Kn(u){return new Lr(u>>16&255,u>>8&255,255&u,1)}function pa(u,L,o,x){return x<=0&&(u=L=o=NaN),new Lr(u,L,o,x)}function ga(u,L,o,x){return 1===arguments.length?function za(u){return u instanceof Ni||(u=Dr(u)),u?new Lr((u=u.rgb()).r,u.g,u.b,u.opacity):new Lr}(u):new Lr(u,L,o,x??1)}function Lr(u,L,o,x){this.r=+u,this.g=+L,this.b=+o,this.opacity=+x}function sa(){return`#${dr(this.r)}${dr(this.g)}${dr(this.b)}`}function jr(){const u=Ca(this.opacity);return`${1===u?"rgb(":"rgba("}${kr(this.r)}, ${kr(this.g)}, ${kr(this.b)}${1===u?")":`, ${u})`}`}function Ca(u){return isNaN(u)?1:Math.max(0,Math.min(1,u))}function kr(u){return Math.max(0,Math.min(255,Math.round(u)||0))}function dr(u){return((u=kr(u))<16?"0":"")+u.toString(16)}function Bn(u,L,o,x){return x<=0?u=L=o=NaN:o<=0||o>=1?u=L=NaN:L<=0&&(u=NaN),new Tr(u,L,o,x)}function wa(u){if(u instanceof Tr)return new Tr(u.h,u.s,u.l,u.opacity);if(u instanceof Ni||(u=Dr(u)),!u)return new Tr;if(u instanceof Tr)return u;var L=(u=u.rgb()).r/255,o=u.g/255,x=u.b/255,U=Math.min(L,o,x),Y=Math.max(L,o,x),Te=NaN,it=Y-U,jt=(Y+U)/2;return it?(Te=L===Y?(o-x)/it+6*(o0&&jt<1?0:Te,new Tr(Te,it,jt,u.opacity)}function Tr(u,L,o,x){this.h=+u,this.s=+L,this.l=+o,this.opacity=+x}function qo(u){return(u=(u||0)%360)<0?u+360:u}function ea(u){return Math.max(0,Math.min(1,u||0))}function Ia(u,L,o){return 255*(u<60?L+(o-L)*u/60:u<180?o:u<240?L+(o-L)*(240-u)/60:L)}function Oa(u,L,o,x,U){var Y=u*u,Te=Y*u;return((1-3*u+3*Y-Te)*L+(4-6*Y+3*Te)*o+(1+3*u+3*Y-3*Te)*x+Te*U)/6}Yr(Ni,Dr,{copy(u){return Object.assign(new this.constructor,this,u)},displayable(){return this.rgb().displayable()},hex:ma,formatHex:ma,formatHex8:function oa(){return this.rgb().formatHex8()},formatHsl:function Fa(){return wa(this).formatHsl()},formatRgb:fr,toString:fr}),Yr(Lr,ga,$r(Ni,{brighter(u){return u=null==u?pi:Math.pow(pi,u),new Lr(this.r*u,this.g*u,this.b*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Lr(this.r*u,this.g*u,this.b*u,this.opacity)},rgb(){return this},clamp(){return new Lr(kr(this.r),kr(this.g),kr(this.b),Ca(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:sa,formatHex:sa,formatHex8:function So(){return`#${dr(this.r)}${dr(this.g)}${dr(this.b)}${dr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:jr,toString:jr})),Yr(Tr,function ao(u,L,o,x){return 1===arguments.length?wa(u):new Tr(u,L,o,x??1)},$r(Ni,{brighter(u){return u=null==u?pi:Math.pow(pi,u),new Tr(this.h,this.s,this.l*u,this.opacity)},darker(u){return u=null==u?.7:Math.pow(.7,u),new Tr(this.h,this.s,this.l*u,this.opacity)},rgb(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,o=this.l,x=o+(o<.5?o:1-o)*L,U=2*o-x;return new Lr(Ia(u>=240?u-240:u+120,U,x),Ia(u,U,x),Ia(u<120?u+240:u-120,U,x),this.opacity)},clamp(){return new Tr(qo(this.h),ea(this.s),ea(this.l),Ca(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const u=Ca(this.opacity);return`${1===u?"hsl(":"hsla("}${qo(this.h)}, ${100*ea(this.s)}%, ${100*ea(this.l)}%${1===u?")":`, ${u})`}`}}));const Eo=u=>()=>u;function Fo(u,L){var o=L-u;return o?function vo(u,L){return function(o){return u+o*L}}(u,o):Eo(isNaN(u)?L:u)}const Va=function u(L){var o=function _a(u){return 1==(u=+u)?Fo:function(L,o){return o-L?function Kr(u,L,o){return u=Math.pow(u,o),L=Math.pow(L,o)-u,o=1/o,function(x){return Math.pow(u+x*L,o)}}(L,o,u):Eo(isNaN(L)?o:L)}}(L);function x(U,Y){var Te=o((U=ga(U)).r,(Y=ga(Y)).r),it=o(U.g,Y.g),jt=o(U.b,Y.b),Zt=Fo(U.opacity,Y.opacity);return function(ci){return U.r=Te(ci),U.g=it(ci),U.b=jt(ci),U.opacity=Zt(ci),U+""}}return x.gamma=u,x}(1);function Qr(u){return function(L){var Te,it,o=L.length,x=new Array(o),U=new Array(o),Y=new Array(o);for(Te=0;Te=1?(o=1,L-1):Math.floor(o*L),U=u[x],Y=u[x+1];return Oa((o-x/L)*L,x>0?u[x-1]:2*U-Y,U,Y,xo&&(Y=L.slice(o,Y),it[Te]?it[Te]+=Y:it[++Te]=Y),(x=x[0])===(U=U[0])?it[Te]?it[Te]+=U:it[++Te]=U:(it[++Te]=null,jt.push({i:Te,x:Gr(x,U)})),o=Ao.lastIndex;return o=0&&u._call.call(void 0,L),u=u._next;--Zr}()}finally{Zr=0,function Ms(){for(var u,o,L=bt,x=1/0;L;)L._call?(x>L._time&&(x=L._time),u=L,L=L._next):(o=L._next,L._next=null,L=u?u._next=o:bt=o);ze=u,xo(x)}(),Jt=0}}function Yi(){var u=xn.now(),L=u-vt;L>ht&&(zi-=L,vt=u)}function xo(u){Zr||(sn&&(sn=clearTimeout(sn)),u-Jt>24?(u<1/0&&(sn=setTimeout(An,u-xn.now()-zi)),Ba&&(Ba=clearInterval(Ba))):(Ba||(vt=xn.now(),Ba=setInterval(Yi,ht)),Zr=1,Mr(An)))}function gr(u,L,o){var x=new Hn;return x.restart(U=>{x.stop(),u(U+L)},L=null==L?0:+L,o),x}Hn.prototype=Vi.prototype={constructor:Hn,restart:function(u,L,o){if("function"!=typeof u)throw new TypeError("callback is not a function");o=(null==o?Ma():+o)+(null==L?0:+L),!this._next&&ze!==this&&(ze?ze._next=this:bt=this,ze=this),this._call=u,this._time=o,xo()},stop:function(){this._call&&(this._call=null,this._time=1/0,xo())}};var Do=ri("start","end","cancel","interrupt"),Ua=[],Sa=0,ho=3;function Xo(u,L,o,x,U,Y){var Te=u.__transition;if(Te){if(o in Te)return}else u.__transition={};!function os(u,L,o){var U,x=u.__transition;function Te(Zt){var ci,vi,Ei,ki;if(1!==o.state)return jt();for(ci in x)if((ki=x[ci]).name===o.name){if(ki.state===ho)return gr(Te);4===ki.state?(ki.state=6,ki.timer.stop(),ki.on.call("interrupt",u,u.__data__,ki.index,ki.group),delete x[ci]):+ciSa)throw new Error("too late; already scheduled");return o}function cr(u,L){var o=Ea(u,L);if(o.state>ho)throw new Error("too late; already running");return o}function Ea(u,L){var o=u.__transition;if(!o||!(o=o[L]))throw new Error("transition not found");return o}var Bo,la=180/Math.PI,Ir={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ts(u,L,o,x,U,Y){var Te,it,jt;return(Te=Math.sqrt(u*u+L*L))&&(u/=Te,L/=Te),(jt=u*o+L*x)&&(o-=u*jt,x-=L*jt),(it=Math.sqrt(o*o+x*x))&&(o/=it,x/=it,jt/=it),u*x180?ci+=360:ci-Zt>180&&(Zt+=360),Ei.push({i:vi.push(U(vi)+"rotate(",null,x)-2,x:Gr(Zt,ci)})):ci&&vi.push(U(vi)+"rotate("+ci+x)}(Zt.rotate,ci.rotate,vi,Ei),function it(Zt,ci,vi,Ei){Zt!==ci?Ei.push({i:vi.push(U(vi)+"skewX(",null,x)-2,x:Gr(Zt,ci)}):ci&&vi.push(U(vi)+"skewX("+ci+x)}(Zt.skewX,ci.skewX,vi,Ei),function jt(Zt,ci,vi,Ei,ki,rn){if(Zt!==vi||ci!==Ei){var Mn=ki.push(U(ki)+"scale(",null,",",null,")");rn.push({i:Mn-4,x:Gr(Zt,vi)},{i:Mn-2,x:Gr(ci,Ei)})}else(1!==vi||1!==Ei)&&ki.push(U(ki)+"scale("+vi+","+Ei+")")}(Zt.scaleX,Zt.scaleY,ci.scaleX,ci.scaleY,vi,Ei),Zt=ci=null,function(ki){for(var Pi,rn=-1,Mn=Ei.length;++rn=0&&(L=L.slice(0,o)),!L||"start"===L})}(L)?as:cr;return function(){var Te=Y(this,u),it=Te.on;it!==x&&(U=(x=it).copy()).on(L,o),Te.on=U}}(o,u,L))},attr:function Pe(u,L){var o=pe(u),x="transform"===o?Nr:gc;return this.attrTween(u,"function"==typeof L?(o.local?Tt:_e)(o,x,ta(this,"attr."+u,L)):null==L?(o.local?vl:Fc)(o):(o.local?Kt:As)(o,x,L))},attrTween:function _t(u,L){var o="attr."+u;if(arguments.length<2)return(o=this.tween(o))&&o._value;if(null==L)return this.tween(o,null);if("function"!=typeof L)throw new Error;var x=pe(u);return this.tween(o,(x.local?Re:ft)(x,L))},style:function Uo(u,L,o){var x="transform"==(u+="")?nn:gc;return null==L?this.styleTween(u,function vs(u,L){var o,x,U;return function(){var Y=$e(this,u),Te=(this.style.removeProperty(u),$e(this,u));return Y===Te?null:Y===o&&Te===x?U:U=L(o=Y,x=Te)}}(u,x)).on("end.style."+u,Sr(u)):"function"==typeof L?this.styleTween(u,function _c(u,L,o){var x,U,Y;return function(){var Te=$e(this,u),it=o(this),jt=it+"";return null==it&&(this.style.removeProperty(u),jt=it=$e(this,u)),Te===jt?null:Te===x&&jt===U?Y:(U=jt,Y=L(x=Te,it))}}(u,x,ta(this,"style."+u,L))).each(function Ds(u,L){var o,x,U,it,Y="style."+L,Te="end."+Y;return function(){var jt=cr(this,u),Zt=jt.on,ci=null==jt.value[Y]?it||(it=Sr(L)):void 0;(Zt!==o||U!==ci)&&(x=(o=Zt).copy()).on(Te,U=ci),jt.on=x}}(this._id,u)):this.styleTween(u,function zc(u,L,o){var x,Y,U=o+"";return function(){var Te=$e(this,u);return Te===U?null:Te===x?Y:Y=L(x=Te,o)}}(u,x,L),o).on("end.style."+u,null)},styleTween:function Vc(u,L,o){var x="style."+(u+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(null==L)return this.tween(x,null);if("function"!=typeof L)throw new Error;return this.tween(x,function bl(u,L,o){var x,U;function Y(){var Te=L.apply(this,arguments);return Te!==U&&(x=(U=Te)&&function E2(u,L,o){return function(x){this.style.setProperty(u,L.call(this,x),o)}}(u,Te,o)),x}return Y._value=L,Y}(u,L,o??""))},text:function Ls(u){return this.tween("text","function"==typeof u?function yl(u){return function(){var L=u(this);this.textContent=L??""}}(ta(this,"text",u)):function $o(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function xl(u){var L="text";if(arguments.length<1)return(L=this.tween(L))&&L._value;if(null==u)return this.tween(L,null);if("function"!=typeof u)throw new Error;return this.tween(L,function m1(u){var L,o;function x(){var U=u.apply(this,arguments);return U!==o&&(L=(o=U)&&function Pa(u){return function(L){this.textContent=u.call(this,L)}}(U)),L}return x._value=u,x}(u))},remove:function Or(){return this.on("end.remove",function Ta(u){return function(){var L=this.parentNode;for(var o in this.__transition)if(+o!==u)return;L&&L.removeChild(this)}}(this._id))},tween:function or(u,L){var o=this._id;if(u+="",arguments.length<2){for(var Te,x=Ea(this.node(),o).tween,U=0,Y=x.length;U2&&x.state<5,x.state=6,x.timer.stop(),x.on.call(U?"interrupt":"cancel",u,u.__data__,x.index,x.group),delete o[Te]):Y=!1;Y&&delete u.__transition}}(this,u)})},Bi.prototype.transition=function pd(u){var L,o;u instanceof Go?(L=u._id,u=u._name):(L=p1(),(o=T2).time=Ma(),u=null==u?null:u+"");for(var x=this._groups,U=x.length,Y=0;YL?1:u>=L?0:NaN}function Us(u,L){return null==u||null==L?NaN:Lu?1:L>=u?0:NaN}function wo(u){let L,o,x;function U(it,jt,Zt=0,ci=it.length){if(Zt>>1;o(it[vi],jt)<0?Zt=vi+1:ci=vi}while(Ztko(u(it),jt),x=(it,jt)=>u(it)-jt):(L=u===ko||u===Us?u:Gs,o=u,x=u),{left:U,center:function Te(it,jt,Zt=0,ci=it.length){const vi=U(it,jt,Zt,ci-1);return vi>Zt&&x(it[vi-1],jt)>-x(it[vi],jt)?vi-1:vi},right:function Y(it,jt,Zt=0,ci=it.length){if(Zt>>1;o(it[vi],jt)<=0?Zt=vi+1:ci=vi}while(Zt=cs?10:Y>=fo?5:Y>=yc?2:1;let it,jt,Zt;return U<0?(Zt=Math.pow(10,-U)/Te,it=Math.round(u*Zt),jt=Math.round(L*Zt),it/ZtL&&--jt,Zt=-Zt):(Zt=Math.pow(10,U)*Te,it=Math.round(u/Zt),jt=Math.round(L/Zt),it*ZtL&&--jt),jt(u(Y=new Date(+Y)),Y),U.ceil=Y=>(u(Y=new Date(Y-1)),L(Y,1),u(Y),Y),U.round=Y=>{const Te=U(Y),it=U.ceil(Y);return Y-Te(L(Y=new Date(+Y),null==Te?1:Math.floor(Te)),Y),U.range=(Y,Te,it)=>{const jt=[];if(Y=U.ceil(Y),it=null==it?1:Math.floor(it),!(Y0))return jt;let Zt;do{jt.push(Zt=new Date(+Y)),L(Y,it),u(Y)}while(ZtAa(Te=>{if(Te>=Te)for(;u(Te),!Y(Te);)Te.setTime(Te-1)},(Te,it)=>{if(Te>=Te)if(it<0)for(;++it<=0;)for(;L(Te,-1),!Y(Te););else for(;--it>=0;)for(;L(Te,1),!Y(Te););}),o&&(U.count=(Y,Te)=>(Zc.setTime(+Y),Wc.setTime(+Te),u(Zc),u(Wc),Math.floor(o(Zc,Wc))),U.every=Y=>(Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?U.filter(x?Te=>x(Te)%Y==0:Te=>U.count(0,Te)%Y==0):U:null)),U}const Al=Aa(()=>{},(u,L)=>{u.setTime(+u+L)},(u,L)=>L-u);Al.every=u=>(u=Math.floor(u),isFinite(u)&&u>0?u>1?Aa(L=>{L.setTime(Math.floor(L/u)*u)},(L,o)=>{L.setTime(+L+o*u)},(L,o)=>(o-L)/u):Al:null);const Yc=Aa(u=>{u.setTime(u-u.getMilliseconds())},(u,L)=>{u.setTime(+u+L*Zs)},(u,L)=>(L-u)/Zs,u=>u.getUTCSeconds()),xc=Aa(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Zs)},(u,L)=>{u.setTime(+u+L*es)},(u,L)=>(L-u)/es,u=>u.getMinutes()),v1=Aa(u=>{u.setUTCSeconds(0,0)},(u,L)=>{u.setTime(+u+L*es)},(u,L)=>(L-u)/es,u=>u.getUTCMinutes()),vd=Aa(u=>{u.setTime(u-u.getMilliseconds()-u.getSeconds()*Zs-u.getMinutes()*es)},(u,L)=>{u.setTime(+u+L*ks)},(u,L)=>(L-u)/ks,u=>u.getHours()),Eh=Aa(u=>{u.setUTCMinutes(0,0,0)},(u,L)=>{u.setTime(+u+L*ks)},(u,L)=>(L-u)/ks,u=>u.getUTCHours()),Dl=Aa(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-(L.getTimezoneOffset()-u.getTimezoneOffset())*es)/ls,u=>u.getDate()-1),y1=(Aa(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/ls,u=>u.getUTCDate()-1),Aa(u=>{u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCDate(u.getUTCDate()+L)},(u,L)=>(L-u)/ls,u=>Math.floor(u/ls)));function Kc(u){return Aa(L=>{L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},(L,o)=>{L.setDate(L.getDate()+7*o)},(L,o)=>(o-L-(o.getTimezoneOffset()-L.getTimezoneOffset())*es)/Is)}const kl=Kc(0);function Xs(u){return Aa(L=>{L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},(L,o)=>{L.setUTCDate(L.getUTCDate()+7*o)},(L,o)=>(o-L)/Is)}Kc(1),Kc(2),Kc(3),Kc(4),Kc(5),Kc(6);const O2=Xs(0),Ol=(Xs(1),Xs(2),Xs(3),Xs(4),Xs(5),Xs(6),Aa(u=>{u.setDate(1),u.setHours(0,0,0,0)},(u,L)=>{u.setMonth(u.getMonth()+L)},(u,L)=>L.getMonth()-u.getMonth()+12*(L.getFullYear()-u.getFullYear()),u=>u.getMonth())),Cc=Aa(u=>{u.setUTCDate(1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCMonth(u.getUTCMonth()+L)},(u,L)=>L.getUTCMonth()-u.getUTCMonth()+12*(L.getUTCFullYear()-u.getUTCFullYear()),u=>u.getUTCMonth()),Nl=Aa(u=>{u.setMonth(0,1),u.setHours(0,0,0,0)},(u,L)=>{u.setFullYear(u.getFullYear()+L)},(u,L)=>L.getFullYear()-u.getFullYear(),u=>u.getFullYear());Nl.every=u=>isFinite(u=Math.floor(u))&&u>0?Aa(L=>{L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},(L,o)=>{L.setFullYear(L.getFullYear()+o*u)}):null;const Ws=Aa(u=>{u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},(u,L)=>{u.setUTCFullYear(u.getUTCFullYear()+L)},(u,L)=>L.getUTCFullYear()-u.getUTCFullYear(),u=>u.getUTCFullYear());function N2(u,L,o,x,U,Y){const Te=[[Yc,1,Zs],[Yc,5,5e3],[Yc,15,15e3],[Yc,30,3e4],[Y,1,es],[Y,5,5*es],[Y,15,15*es],[Y,30,30*es],[U,1,ks],[U,3,3*ks],[U,6,6*ks],[U,12,12*ks],[x,1,ls],[x,2,2*ls],[o,1,Is],[L,1,Tl],[L,3,3*Tl],[u,1,Gc]];function jt(Zt,ci,vi){const Ei=Math.abs(ci-Zt)/vi,ki=wo(([,,Pi])=>Pi).right(Te,Ei);if(ki===Te.length)return u.every(_1(Zt/Gc,ci/Gc,vi));if(0===ki)return Al.every(Math.max(_1(Zt,ci,vi),1));const[rn,Mn]=Te[Ei/Te[ki-1][2]isFinite(u=Math.floor(u))&&u>0?Aa(L=>{L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},(L,o)=>{L.setUTCFullYear(L.getUTCFullYear()+o*u)}):null;const[lm,Pf]=N2(Ws,Cc,O2,y1,Eh,v1),[Rf,Nf]=N2(Nl,Ol,kl,Dl,vd,xc);var Cd=new Date,H2=new Date;function Zo(u,L,o,x){function U(Y){return u(Y=0===arguments.length?new Date:new Date(+Y)),Y}return U.floor=function(Y){return u(Y=new Date(+Y)),Y},U.ceil=function(Y){return u(Y=new Date(Y-1)),L(Y,1),u(Y),Y},U.round=function(Y){var Te=U(Y),it=U.ceil(Y);return Y-Te0))return jt;do{jt.push(Zt=new Date(+Y)),L(Y,it),u(Y)}while(Zt=Te)for(;u(Te),!Y(Te);)Te.setTime(Te-1)},function(Te,it){if(Te>=Te)if(it<0)for(;++it<=0;)for(;L(Te,-1),!Y(Te););else for(;--it>=0;)for(;L(Te,1),!Y(Te););})},o&&(U.count=function(Y,Te){return Cd.setTime(+Y),H2.setTime(+Te),u(Cd),u(H2),Math.floor(o(Cd,H2))},U.every=function(Y){return Y=Math.floor(Y),isFinite(Y)&&Y>0?Y>1?U.filter(x?function(Te){return x(Te)%Y==0}:function(Te){return U.count(0,Te)%Y==0}):U:null}),U}const wc=864e5,Os=7*wc;function ds(u){return Zo(function(L){L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},function(L,o){L.setUTCDate(L.getUTCDate()+7*o)},function(L,o){return(o-L)/Os})}var Md=ds(0),$s=ds(1),zl=(ds(2),ds(3),ds(4));const V2=(ds(5),ds(6),Zo(function(u){u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCDate(u.getUTCDate()+L)},function(u,L){return(L-u)/wc},function(u){return u.getUTCDate()-1}));function Sc(u){return Zo(function(L){L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},function(L,o){L.setDate(L.getDate()+7*o)},function(L,o){return(o-L-6e4*(o.getTimezoneOffset()-L.getTimezoneOffset()))/Os})}var Bl=Sc(0),Ec=Sc(1),Tc=(Sc(2),Sc(3),Sc(4));const G2=(Sc(5),Sc(6),Zo(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-6e4*(L.getTimezoneOffset()-u.getTimezoneOffset()))/wc,u=>u.getDate()-1));var A1=Zo(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,L){u.setFullYear(u.getFullYear()+L)},function(u,L){return L.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});A1.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Zo(function(L){L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,o){L.setFullYear(L.getFullYear()+o*u)}):null};const $c=A1;var Td=Zo(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCFullYear(u.getUTCFullYear()+L)},function(u,L){return L.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});Td.every=function(u){return isFinite(u=Math.floor(u))&&u>0?Zo(function(L){L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,o){L.setUTCFullYear(L.getUTCFullYear()+o*u)}):null};const Gl=Td;function ec(u){if(0<=u.y&&u.y<100){var L=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return L.setFullYear(u.y),L}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function D1(u){if(0<=u.y&&u.y<100){var L=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return L.setUTCFullYear(u.y),L}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function Ac(u,L,o){return{y:u,m:L,d:o,H:0,M:0,S:0,L:0}}var L1={"-":"",_:" ",0:"0"},Ga=/^\s*\d+/,Z2=/^%/,Ad=/[\\^$*+?|[\]().{}]/g;function pr(u,L,o){var x=u<0?"-":"",U=(x?-u:u)+"",Y=U.length;return x+(Y[L.toLowerCase(),o]))}function Dd(u,L,o){var x=Ga.exec(L.slice(o,o+1));return x?(u.w=+x[0],o+x[0].length):-1}function Ld(u,L,o){var x=Ga.exec(L.slice(o,o+1));return x?(u.u=+x[0],o+x[0].length):-1}function W2(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.U=+x[0],o+x[0].length):-1}function Dc(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.V=+x[0],o+x[0].length):-1}function Y2(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.W=+x[0],o+x[0].length):-1}function Ps(u,L,o){var x=Ga.exec(L.slice(o,o+4));return x?(u.y=+x[0],o+x[0].length):-1}function Yl(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.y=+x[0]+(+x[0]>68?1900:2e3),o+x[0].length):-1}function zh(u,L,o){var x=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(L.slice(o,o+6));return x?(u.Z=x[1]?0:-(x[2]+(x[3]||"00")),o+x[0].length):-1}function k1(u,L,o){var x=Ga.exec(L.slice(o,o+1));return x?(u.q=3*x[0]-3,o+x[0].length):-1}function I1(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.m=x[0]-1,o+x[0].length):-1}function us(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.d=+x[0],o+x[0].length):-1}function el(u,L,o){var x=Ga.exec(L.slice(o,o+3));return x?(u.m=0,u.d=+x[0],o+x[0].length):-1}function jl(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.H=+x[0],o+x[0].length):-1}function Vh(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.M=+x[0],o+x[0].length):-1}function Bh(u,L,o){var x=Ga.exec(L.slice(o,o+2));return x?(u.S=+x[0],o+x[0].length):-1}function j2(u,L,o){var x=Ga.exec(L.slice(o,o+3));return x?(u.L=+x[0],o+x[0].length):-1}function tl(u,L,o){var x=Ga.exec(L.slice(o,o+6));return x?(u.L=Math.floor(x[0]/1e3),o+x[0].length):-1}function Uh(u,L,o){var x=Z2.exec(L.slice(o,o+1));return x?o+x[0].length:-1}function K2(u,L,o){var x=Ga.exec(L.slice(o));return x?(u.Q=+x[0],o+x[0].length):-1}function Gh(u,L,o){var x=Ga.exec(L.slice(o));return x?(u.s=+x[0],o+x[0].length):-1}function O1(u,L){return pr(u.getDate(),L,2)}function Zh(u,L){return pr(u.getHours(),L,2)}function P1(u,L){return pr(u.getHours()%12||12,L,2)}function Q2(u,L){return pr(1+G2.count($c(u),u),L,3)}function q2(u,L){return pr(u.getMilliseconds(),L,3)}function Wh(u,L){return q2(u,L)+"000"}function X2(u,L){return pr(u.getMonth()+1,L,2)}function J2(u,L){return pr(u.getMinutes(),L,2)}function $2(u,L){return pr(u.getSeconds(),L,2)}function e0(u){var L=u.getDay();return 0===L?7:L}function Yh(u,L){return pr(Bl.count($c(u)-1,u),L,2)}function jh(u){var L=u.getDay();return L>=4||0===L?Tc(u):Tc.ceil(u)}function t0(u,L){return u=jh(u),pr(Tc.count($c(u),u)+(4===$c(u).getDay()),L,2)}function kd(u){return u.getDay()}function fs(u,L){return pr(Ec.count($c(u)-1,u),L,2)}function Kl(u,L){return pr(u.getFullYear()%100,L,2)}function ic(u,L){return pr((u=jh(u)).getFullYear()%100,L,2)}function R1(u,L){return pr(u.getFullYear()%1e4,L,4)}function Id(u,L){var o=u.getDay();return pr((u=o>=4||0===o?Tc(u):Tc.ceil(u)).getFullYear()%1e4,L,4)}function Ql(u){var L=u.getTimezoneOffset();return(L>0?"-":(L*=-1,"+"))+pr(L/60|0,"0",2)+pr(L%60,"0",2)}function n0(u,L){return pr(u.getUTCDate(),L,2)}function r0(u,L){return pr(u.getUTCHours(),L,2)}function Od(u,L){return pr(u.getUTCHours()%12||12,L,2)}function Kh(u,L){return pr(1+V2.count(Gl(u),u),L,3)}function Ys(u,L){return pr(u.getUTCMilliseconds(),L,3)}function a0(u,L){return Ys(u,L)+"000"}function Wf(u,L){return pr(u.getUTCMonth()+1,L,2)}function Qh(u,L){return pr(u.getUTCMinutes(),L,2)}function o0(u,L){return pr(u.getUTCSeconds(),L,2)}function um(u){var L=u.getUTCDay();return 0===L?7:L}function qh(u,L){return pr(Md.count(Gl(u)-1,u),L,2)}function Za(u){var L=u.getUTCDay();return L>=4||0===L?zl(u):zl.ceil(u)}function s0(u,L){return u=Za(u),pr(zl.count(Gl(u),u)+(4===Gl(u).getUTCDay()),L,2)}function Xh(u){return u.getUTCDay()}function c0(u,L){return pr($s.count(Gl(u)-1,u),L,2)}function l0(u,L){return pr(u.getUTCFullYear()%100,L,2)}function d0(u,L){return pr((u=Za(u)).getUTCFullYear()%100,L,2)}function il(u,L){return pr(u.getUTCFullYear()%1e4,L,4)}function Yo(u,L){var o=u.getUTCDay();return pr((u=o>=4||0===o?zl(u):zl.ceil(u)).getUTCFullYear()%1e4,L,4)}function nc(){return"+0000"}function N1(){return"%"}function Pd(u){return+u}function js(u){return Math.floor(+u/1e3)}function f0(u){return null===u?NaN:+u}!function u0(u){(function Zl(u){var L=u.dateTime,o=u.date,x=u.time,U=u.periods,Y=u.days,Te=u.shortDays,it=u.months,jt=u.shortMonths,Zt=tc(U),ci=Wl(U),vi=tc(Y),Ei=Wl(Y),ki=tc(Te),rn=Wl(Te),Mn=tc(it),Pi=Wl(it),gn=tc(jt),Pn=Wl(jt),mn={a:function xa(_n){return Te[_n.getDay()]},A:function Ko(_n){return Y[_n.getDay()]},b:function Vr(_n){return jt[_n.getMonth()]},B:function qa(_n){return it[_n.getMonth()]},c:null,d:O1,e:O1,f:Wh,g:ic,G:Id,H:Zh,I:P1,j:Q2,L:q2,m:X2,M:J2,p:function fa(_n){return U[+(_n.getHours()>=12)]},q:function Xa(_n){return 1+~~(_n.getMonth()/3)},Q:Pd,s:js,S:$2,u:e0,U:Yh,V:t0,w:kd,W:fs,x:null,X:null,y:Kl,Y:R1,Z:Ql,"%":N1},Yn={a:function ld(_n){return Te[_n.getUTCDay()]},A:function dd(_n){return Y[_n.getUTCDay()]},b:function hd(_n){return jt[_n.getUTCMonth()]},B:function u1(_n){return it[_n.getUTCMonth()]},c:null,d:n0,e:n0,f:a0,g:d0,G:Yo,H:r0,I:Od,j:Kh,L:Ys,m:Wf,M:Qh,p:function No(_n){return U[+(_n.getUTCHours()>=12)]},q:function mc(_n){return 1+~~(_n.getUTCMonth()/3)},Q:Pd,s:js,S:o0,u:um,U:qh,V:s0,w:Xh,W:c0,x:null,X:null,y:l0,Y:il,Z:nc,"%":N1},Vn={a:function ra(_n,ir,br){var tn=ki.exec(ir.slice(br));return tn?(_n.w=rn.get(tn[0].toLowerCase()),br+tn[0].length):-1},A:function wn(_n,ir,br){var tn=vi.exec(ir.slice(br));return tn?(_n.w=Ei.get(tn[0].toLowerCase()),br+tn[0].length):-1},b:function Wr(_n,ir,br){var tn=gn.exec(ir.slice(br));return tn?(_n.m=Pn.get(tn[0].toLowerCase()),br+tn[0].length):-1},B:function $n(_n,ir,br){var tn=Mn.exec(ir.slice(br));return tn?(_n.m=Pi.get(tn[0].toLowerCase()),br+tn[0].length):-1},c:function Xr(_n,ir,br){return vr(_n,L,ir,br)},d:us,e:us,f:tl,g:Yl,G:Ps,H:jl,I:jl,j:el,L:j2,m:I1,M:Vh,p:function ns(_n,ir,br){var tn=Zt.exec(ir.slice(br));return tn?(_n.p=ci.get(tn[0].toLowerCase()),br+tn[0].length):-1},q:k1,Q:K2,s:Gh,S:Bh,u:Ld,U:W2,V:Dc,w:Dd,W:Y2,x:function ps(_n,ir,br){return vr(_n,o,ir,br)},X:function ya(_n,ir,br){return vr(_n,x,ir,br)},y:Yl,Y:Ps,Z:zh,"%":Uh};function Cn(_n,ir){return function(br){var rs,Gn,ka,tn=[],La=-1,Br=0,Qo=_n.length;for(br instanceof Date||(br=new Date(+br));++La53)return null;"w"in tn||(tn.w=1),"Z"in tn?(Qo=(Br=D1(Ac(tn.y,0,1))).getUTCDay(),Br=Qo>4||0===Qo?$s.ceil(Br):$s(Br),Br=V2.offset(Br,7*(tn.V-1)),tn.y=Br.getUTCFullYear(),tn.m=Br.getUTCMonth(),tn.d=Br.getUTCDate()+(tn.w+6)%7):(Qo=(Br=ec(Ac(tn.y,0,1))).getDay(),Br=Qo>4||0===Qo?Ec.ceil(Br):Ec(Br),Br=G2.offset(Br,7*(tn.V-1)),tn.y=Br.getFullYear(),tn.m=Br.getMonth(),tn.d=Br.getDate()+(tn.w+6)%7)}else("W"in tn||"U"in tn)&&("w"in tn||(tn.w="u"in tn?tn.u%7:"W"in tn?1:0),Qo="Z"in tn?D1(Ac(tn.y,0,1)).getUTCDay():ec(Ac(tn.y,0,1)).getDay(),tn.m=0,tn.d="W"in tn?(tn.w+6)%7+7*tn.W-(Qo+5)%7:tn.w+7*tn.U-(Qo+6)%7);return"Z"in tn?(tn.H+=tn.Z/100|0,tn.M+=tn.Z%100,D1(tn)):ec(tn)}}function vr(_n,ir,br,tn){for(var rs,Gn,La=0,Br=ir.length,Qo=br.length;La=Qo)return-1;if(37===(rs=ir.charCodeAt(La++))){if(rs=ir.charAt(La++),!(Gn=Vn[rs in L1?ir.charAt(La++):rs])||(tn=Gn(_n,br,tn))<0)return-1}else if(rs!=br.charCodeAt(tn++))return-1}return tn}return mn.x=Cn(o,mn),mn.X=Cn(x,mn),mn.c=Cn(L,mn),Yn.x=Cn(o,Yn),Yn.X=Cn(x,Yn),Yn.c=Cn(L,Yn),{format:function(_n){var ir=Cn(_n+="",mn);return ir.toString=function(){return _n},ir},parse:function(_n){var ir=zr(_n+="",!1);return ir.toString=function(){return _n},ir},utcFormat:function(_n){var ir=Cn(_n+="",Yn);return ir.toString=function(){return _n},ir},utcParse:function(_n){var ir=zr(_n+="",!0);return ir.toString=function(){return _n},ir}}})(u)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const eu=wo(ko).right,tu=(wo(f0),eu);function iu(u,L){return u=+u,L=+L,function(o){return Math.round(u*(1-o)+L*o)}}function jf(u){return+u}var nu=[0,1];function nl(u){return u}function p0(u,L){return(L-=u=+u)?function(o){return(o-u)/L}:function Nd(u){return function(){return u}}(isNaN(L)?NaN:.5)}function ru(u,L,o){var x=u[0],U=u[1],Y=L[0],Te=L[1];return UL&&(o=u,u=L,L=o),function(x){return Math.max(u,Math.min(L,x))}}(u[0],u[Ei-1])),it=Ei>2?ql:ru,jt=Zt=null,vi}function vi(Ei){return null==Ei||isNaN(Ei=+Ei)?Y:(jt||(jt=it(u.map(x),L,o)))(x(Te(Ei)))}return vi.invert=function(Ei){return Te(U((Zt||(Zt=it(L,u.map(x),Gr)))(Ei)))},vi.domain=function(Ei){return arguments.length?(u=Array.from(Ei,jf),ci()):u.slice()},vi.range=function(Ei){return arguments.length?(L=Array.from(Ei),ci()):L.slice()},vi.rangeRound=function(Ei){return L=Array.from(Ei),o=iu,ci()},vi.clamp=function(Ei){return arguments.length?(Te=!!Ei||nl,ci()):Te!==nl},vi.interpolate=function(Ei){return arguments.length?(o=Ei,ci()):o},vi.unknown=function(Ei){return arguments.length?(Y=Ei,vi):Y},function(Ei,ki){return x=Ei,U=ki,ci()}}()(nl,nl)}function al(u,L){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(L).domain(u)}return this}var Vd,ts=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zd(u){if(!(L=ts.exec(u)))throw new Error("invalid format: "+u);var L;return new _0({fill:L[1],align:L[2],sign:L[3],symbol:L[4],zero:L[5],width:L[6],comma:L[7],precision:L[8]&&L[8].slice(1),trim:L[9],type:L[10]})}function _0(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function sl(u,L){if((o=(u=L?u.toExponential(L-1):u.toExponential()).indexOf("e"))<0)return null;var o,x=u.slice(0,o);return[x.length>1?x[0]+x.slice(2):x,+u.slice(o+1)]}function ac(u){return(u=sl(Math.abs(u)))?u[1]:NaN}function Oo(u,L){var o=sl(u,L);if(!o)return u+"";var x=o[0],U=o[1];return U<0?"0."+new Array(-U).join("0")+x:x.length>U+1?x.slice(0,U+1)+"."+x.slice(U+1):x+new Array(U-x.length+2).join("0")}zd.prototype=_0.prototype,_0.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const B1={"%":(u,L)=>(100*u).toFixed(L),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function rc(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,L)=>u.toExponential(L),f:(u,L)=>u.toFixed(L),g:(u,L)=>u.toPrecision(L),o:u=>Math.round(u).toString(8),p:(u,L)=>Oo(100*u,L),r:Oo,s:function cu(u,L){var o=sl(u,L);if(!o)return u+"";var x=o[0],U=o[1],Y=U-(Vd=3*Math.max(-8,Math.min(8,Math.floor(U/3))))+1,Te=x.length;return Y===Te?x:Y>Te?x+new Array(Y-Te+1).join("0"):Y>0?x.slice(0,Y)+"."+x.slice(Y):"0."+new Array(1-Y).join("0")+sl(u,Math.max(0,L+Y-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function Bd(u){return u}var $l,G1,b0,U1=Array.prototype.map,eo=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Z1(u){var L=u.domain;return u.ticks=function(o){var x=L();return function D2(u,L,o){if(!((o=+o)>0))return[];if((u=+u)==(L=+L))return[u];const x=L=U))return[];const it=Y-U+1,jt=new Array(it);if(x)if(Te<0)for(let Zt=0;Zt0;){if((Zt=_d(Te,it,o))===jt)return x[U]=Te,x[Y]=it,L(x);if(Zt>0)Te=Math.floor(Te/Zt)*Zt,it=Math.ceil(it/Zt)*Zt;else{if(!(Zt<0))break;Te=Math.ceil(Te*Zt)/Zt,it=Math.floor(it*Zt)/Zt}jt=Zt}return u},u}function oc(){var u=Fd();return u.copy=function(){return function rl(u,L){return L.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,oc())},al.apply(u,arguments),Z1(u)}function x0(u,L,o){u=+u,L=+L,o=(U=arguments.length)<2?(L=u,u=0,1):U<3?1:+o;for(var x=-1,U=0|Math.max(0,Math.ceil((L-u)/o)),Y=new Array(U);++x0&&it>0&&(jt+it+1>x&&(it=Math.max(1,x-jt)),Y.push(o.substring(U-=it,U+it)),!((jt+=it+1)>x));)it=u[Te=(Te+1)%u.length];return Y.reverse().join(L)}}(U1.call(u.grouping,Number),u.thousands+""),o=void 0===u.currency?"":u.currency[0]+"",x=void 0===u.currency?"":u.currency[1]+"",U=void 0===u.decimal?".":u.decimal+"",Y=void 0===u.numerals?Bd:function su(u){return function(L){return L.replace(/[0-9]/g,function(o){return u[+o]})}}(U1.call(u.numerals,String)),Te=void 0===u.percent?"%":u.percent+"",it=void 0===u.minus?"\u2212":u.minus+"",jt=void 0===u.nan?"NaN":u.nan+"";function Zt(vi){var Ei=(vi=zd(vi)).fill,ki=vi.align,rn=vi.sign,Mn=vi.symbol,Pi=vi.zero,gn=vi.width,Pn=vi.comma,mn=vi.precision,Yn=vi.trim,Vn=vi.type;"n"===Vn?(Pn=!0,Vn="g"):B1[Vn]||(void 0===mn&&(mn=12),Yn=!0,Vn="g"),(Pi||"0"===Ei&&"="===ki)&&(Pi=!0,Ei="0",ki="=");var Cn="$"===Mn?o:"#"===Mn&&/[boxX]/.test(Vn)?"0"+Vn.toLowerCase():"",zr="$"===Mn?x:/[%p]/.test(Vn)?Te:"",vr=B1[Vn],ns=/[defgprs%]/.test(Vn);function ra(wn){var Xr,ps,ya,Wr=Cn,$n=zr;if("c"===Vn)$n=vr(wn)+$n,wn="";else{var xa=(wn=+wn)<0||1/wn<0;if(wn=isNaN(wn)?jt:vr(Math.abs(wn),mn),Yn&&(wn=function v0(u){e:for(var U,L=u.length,o=1,x=-1;o0&&(x=0)}return x>0?u.slice(0,x)+u.slice(U+1):u}(wn)),xa&&0==+wn&&"+"!==rn&&(xa=!1),Wr=(xa?"("===rn?rn:it:"-"===rn||"("===rn?"":rn)+Wr,$n=("s"===Vn?eo[8+Vd/3]:"")+$n+(xa&&"("===rn?")":""),ns)for(Xr=-1,ps=wn.length;++Xr(ya=wn.charCodeAt(Xr))||ya>57){$n=(46===ya?U+wn.slice(Xr+1):wn.slice(Xr))+$n,wn=wn.slice(0,Xr);break}}Pn&&!Pi&&(wn=L(wn,1/0));var Ko=Wr.length+wn.length+$n.length,Vr=Ko>1)+Wr+wn+$n+Vr.slice(Ko);break;default:wn=Vr+Wr+wn+$n}return Y(wn)}return mn=void 0===mn?6:/[gprs]/.test(Vn)?Math.max(1,Math.min(21,mn)):Math.max(0,Math.min(20,mn)),ra.toString=function(){return vi+""},ra}return{format:Zt,formatPrefix:function ci(vi,Ei){var ki=Zt(((vi=zd(vi)).type="f",vi)),rn=3*Math.max(-8,Math.min(8,Math.floor(ac(Ei)/3))),Mn=Math.pow(10,-rn),Pi=eo[8+rn/3];return function(gn){return ki(Mn*gn)+Pi}}}}(u),G1=$l.format,b0=$l.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class W1 extends Map{constructor(L,o=M0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:o}}),null!=L)for(const[x,U]of L)this.set(x,U)}get(L){return super.get(e1(this,L))}has(L){return super.has(e1(this,L))}set(L,o){return super.set(function cl({_intern:u,_key:L},o){const x=L(o);return u.has(x)?u.get(x):(u.set(x,o),o)}(this,L),o)}delete(L){return super.delete(function w0({_intern:u,_key:L},o){const x=L(o);return u.has(x)&&(o=u.get(x),u.delete(x)),o}(this,L))}}function e1({_intern:u,_key:L},o){const x=L(o);return u.has(x)?u.get(x):o}function M0(u){return null!==u&&"object"==typeof u?u.valueOf():u}const Y1=Symbol("implicit");function j1(){var u=new W1,L=[],o=[],x=Y1;function U(Y){let Te=u.get(Y);if(void 0===Te){if(x!==Y1)return x;u.set(Y,Te=L.push(Y)-1)}return o[Te%o.length]}return U.domain=function(Y){if(!arguments.length)return L.slice();L=[],u=new W1;for(const Te of Y)u.has(Te)||u.set(Te,L.push(Te)-1);return U},U.range=function(Y){return arguments.length?(o=Array.from(Y),U):o.slice()},U.unknown=function(Y){return arguments.length?(x=Y,U):x},U.copy=function(){return j1(L,o).unknown(x)},al.apply(U,arguments),U}function sc(){var Y,Te,u=j1().unknown(void 0),L=u.domain,o=u.range,x=0,U=1,it=!1,jt=0,Zt=0,ci=.5;function vi(){var Ei=L().length,ki=U=1)return+o(u[x-1],x-1,u);var x,U=(x-1)*L,Y=Math.floor(U),Te=+o(u[Y],Y,u);return Te+(+o(u[Y+1],Y+1,u)-Te)*(U-Y)}}function S0(){var x,u=[],L=[],o=[];function U(){var Te=0,it=Math.max(1,L.length);for(o=new Array(it-1);++Te0?o[it-1]:u[0],it({model:u});function T0(u,L){if(1&u&&(e.TgZ(0,"span"),e.YNc(1,mu,0,0,"ng-template",5),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",o.template)("ngTemplateOutletContext",e.VKq(2,E0,o.context))}}function Wd(u,L){if(1&u&&e._UZ(0,"span",6),2&u){const o=e.oxw();e.Q6J("innerHTML",o.title,e.oJD)}}function ll(u,L){if(1&u&&(e.TgZ(0,"header",4)(1,"span",5),e._uU(2),e.qZA()()),2&u){const o=e.oxw();e.xp6(2),e.Oqu(o.title)}}function n1(u,L){if(1&u){const o=e.EpF();e.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),e.NdJ("select",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.labelClick.emit(U))})("activate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.activate(U))})("deactivate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.deactivate(U))}),e.qZA()()}if(2&u){const o=L.$implicit,x=e.oxw();e.xp6(1),e.Q6J("label",o.label)("formattedLabel",o.formattedLabel)("color",o.color)("isActive",x.isActive(o))}}function K1(u,L){if(1&u&&(e.O4$(),e.kcU(),e._UZ(0,"ngx-charts-scale-legend",4)),2&u){const o=e.oxw();e.Q6J("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("valueRange",o.legendOptions.domain)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)}}function A0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"ngx-charts-legend",5),e.NdJ("labelClick",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelClick.emit(U))})("labelActivate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelActivate.emit(U))})("labelDeactivate",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.legendLabelDeactivate.emit(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("horizontal",o.legendOptions&&o.legendOptions.position===o.LegendPosition.Below)("data",o.legendOptions.domain)("title",o.legendOptions.title)("colors",o.legendOptions.colors)("height",o.view[1])("width",o.legendWidth)("activeEntries",o.activeEntries)}}const Yd=["*"],jd=["ngx-charts-axis-label",""],r1=["ticksel"],cc=["ngx-charts-x-axis-ticks",""];function D0(u,L){1&u&&(e.O4$(),e.GkF(0))}function L0(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"tspan",10),e._uU(1),e.qZA()),2&u){const o=L.$implicit;e.uIk("y",12*L.index),e.xp6(1),e.hij(" ",o," ")}}function k0(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,L0,2,2,"tspan",9),e.BQk()),2&u){const o=L.ngIf;e.xp6(1),e.Q6J("ngForOf",o)}}function Qf(u,L){if(1&u&&(e.O4$(),e.YNc(0,k0,2,1,"ng-container",4)),2&u){const o=e.oxw(2).$implicit,x=e.oxw();e.Q6J("ngIf",x.tickChunks(o))}}function dl(u,L){if(1&u&&(e.O4$(),e._uU(0)),2&u){const o=e.oxw().ngIf,x=e.oxw(2);e.hij(" ",x.tickTrim(o)," ")}}function I0(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",5),e.YNc(4,D0,1,0,"ng-container",6),e.qZA(),e.YNc(5,Qf,1,1,"ng-template",null,7,e.W1O)(7,dl,1,1,"ng-template",null,8,e.W1O),e.BQk()),2&u){const o=L.ngIf,x=e.MAs(6),U=e.MAs(8),Y=e.oxw(2);e.xp6(2),e.Oqu(o),e.xp6(1),e.uIk("text-anchor",Y.textAnchor)("transform",Y.textTransform),e.xp6(1),e.Q6J("ngIf",Y.isWrapTicksSupported)("ngIfThen",x)("ngIfElse",U)}}function O0(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g",3),e.YNc(1,I0,9,6,"ng-container",4),e.qZA()),2&u){const o=L.$implicit,x=e.oxw();e.uIk("transform",x.tickTransform(o)),e.xp6(1),e.Q6J("ngIf",x.tickFormat(o))}}function N(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",11),e.qZA()),2&u){const o=e.oxw(2);e.uIk("transform",o.gridLineTransform()),e.xp6(1),e.uIk("y1",-o.gridLineHeight)}}function V(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,N,2,2,"g",4),e.qZA()),2&u){const o=L.$implicit,x=e.oxw();e.uIk("transform",x.tickTransform(o)),e.xp6(1),e.Q6J("ngIf",x.showGridLines)}}const b=["ngx-charts-x-axis",""];function G(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.emitTicksHeight(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("trimTicks",o.trimTicks)("rotateTicks",o.rotateTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickStroke",o.tickStroke)("scale",o.xScale)("orient",o.xOrient)("showGridLines",o.showGridLines)("gridLineHeight",o.dims.height)("width",o.dims.width)("tickValues",o.ticks)("wrapTicks",o.wrapTicks)}}function Z(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const o=e.oxw();e.Q6J("label",o.labelText)("offset",o.labelOffset)("orient",o.orientation.Bottom)("height",o.dims.height)("width",o.dims.width)}}const He=["ngx-charts-y-axis-ticks",""];function Pt(u,L){1&u&&(e.O4$(),e.GkF(0))}function ti(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"tspan",12),e._uU(1),e.qZA()),2&u){const o=L.$implicit,x=L.index,U=e.oxw(6);e.uIk("y",x*(8+U.tickSpacing)),e.xp6(1),e.hij(" ",o," ")}}function fi(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,ti,2,2,"tspan",11),e.BQk()),2&u){const o=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",o)}}function wi(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.YNc(1,fi,2,1,"ng-container",10),e.BQk()),2&u){const o=L.ngIf;e.oxw(2);const x=e.MAs(8);e.xp6(1),e.Q6J("ngIf",o.length>1)("ngIfElse",x)}}function dn(u,L){if(1&u&&(e.O4$(),e.YNc(0,wi,2,2,"ng-container",5)),2&u){const o=e.oxw(2).$implicit,x=e.oxw();e.Q6J("ngIf",x.tickChunks(o))}}function Qi(u,L){if(1&u&&(e.O4$(),e._uU(0)),2&u){const o=e.oxw().ngIf,x=e.oxw(2);e.hij(" ",x.tickTrim(o)," ")}}function zn(u,L){if(1&u&&(e.O4$(),e.ynx(0),e.TgZ(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",6),e.YNc(4,Pt,1,0,"ng-container",7),e.qZA(),e.YNc(5,dn,1,1,"ng-template",null,8,e.W1O)(7,Qi,1,1,"ng-template",null,9,e.W1O),e.BQk()),2&u){const o=L.ngIf,x=e.MAs(6),U=e.MAs(8),Y=e.oxw(2);e.xp6(2),e.Oqu(o),e.xp6(1),e.Udp("font-size","12px"),e.uIk("dy",Y.dy)("x",Y.x1)("y",Y.y1)("text-anchor",Y.textAnchor),e.xp6(1),e.Q6J("ngIf",Y.wrapTicks)("ngIfThen",x)("ngIfElse",U)}}function On(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g",4),e.YNc(1,zn,9,10,"ng-container",5),e.qZA()),2&u){const o=L.$implicit,x=e.oxw();e.uIk("transform",x.transform(o)),e.xp6(1),e.Q6J("ngIf",x.tickFormat(o))}}function pn(u,L){if(1&u&&(e.O4$(),e._UZ(0,"path",13)),2&u){const o=e.oxw();e.uIk("d",o.referenceAreaPath)("transform",o.gridLineTransform())}}function kn(u,L){if(1&u&&(e.O4$(),e._UZ(0,"line",15)),2&u){const o=e.oxw(3);e.uIk("x2",o.gridLineWidth)}}function Cr(u,L){if(1&u&&(e.O4$(),e._UZ(0,"line",15)),2&u){const o=e.oxw(3);e.uIk("x2",-o.gridLineWidth)}}function ha(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,kn,1,1,"line",14)(2,Cr,1,1,"line",14),e.qZA()),2&u){const o=e.oxw(2);e.uIk("transform",o.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",o.orient===o.Orientation.Left),e.xp6(1),e.Q6J("ngIf",o.orient===o.Orientation.Right)}}function Ya(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,ha,3,3,"g",5),e.qZA()),2&u){const o=L.$implicit,x=e.oxw();e.uIk("transform",x.transform(o)),e.xp6(1),e.Q6J("ngIf",x.showGridLines)}}function to(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g")(1,"title"),e._uU(2),e.qZA(),e.TgZ(3,"text",17),e._uU(4),e.qZA()()),2&u){const o=e.oxw(2).$implicit,x=e.oxw();e.xp6(2),e.Oqu(x.tickTrim(x.tickFormat(o.value))),e.xp6(1),e.uIk("dy",x.dy)("y",-6)("x",x.gridLineWidth)("text-anchor",x.textAnchor),e.xp6(1),e.hij(" ",o.name," ")}}function ja(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e._UZ(1,"line",16),e.YNc(2,to,5,6,"g",5),e.qZA()),2&u){const o=e.oxw().$implicit,x=e.oxw();e.uIk("transform",x.transform(o.value)),e.xp6(1),e.uIk("x2",x.gridLineWidth)("transform",x.gridLineTransform()),e.xp6(1),e.Q6J("ngIf",x.showRefLabels)}}function jo(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,ja,3,4,"g",5),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.showRefLines)}}const Ns=["ngx-charts-y-axis",""];function Po(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.emitTicksWidth(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("trimTicks",o.trimTicks)("maxTickLength",o.maxTickLength)("tickFormatting",o.tickFormatting)("tickArguments",o.tickArguments)("tickValues",o.ticks)("tickStroke",o.tickStroke)("scale",o.yScale)("orient",o.yOrient)("showGridLines",o.showGridLines)("gridLineWidth",o.dims.width)("referenceLines",o.referenceLines)("showRefLines",o.showRefLines)("showRefLabels",o.showRefLabels)("height",o.dims.height)("wrapTicks",o.wrapTicks)}}function lc(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",3)),2&u){const o=e.oxw();e.Q6J("label",o.labelText)("offset",o.labelOffset)("orient",o.yOrient)("height",o.dims.height)("width",o.dims.width)}}const Ks=["ngx-charts-svg-linear-gradient",""];function ms(u,L){if(1&u&&(e.O4$(),e._UZ(0,"stop")),2&u){const o=L.$implicit;e.Udp("stop-color",o.color)("stop-opacity",o.opacity),e.uIk("offset",o.offset+"%")}}const Tn=["ngx-charts-grid-panel",""],Nn=["ngx-charts-grid-panel-series",""];function _r(u,L){if(1&u&&(e.O4$(),e._UZ(0,"g",1)),2&u){const o=L.$implicit;e.ekj("grid-panel",!0)("odd","odd"===o.class)("even","even"===o.class),e.Q6J("height",o.height)("width",o.width)("x",o.x)("y",o.y)}}const R0=["tooltipTemplate"],Xd=(u,L)=>[u,L],$d=".ngx-charts-outer{animation:chartFadeIn linear .6s}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .node,.ngx-charts .link,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .node.active,.ngx-charts .node:hover,.ngx-charts .link.active,.ngx-charts .link:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .node:focus,.ngx-charts .link:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .node.hidden,.ngx-charts .link.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n",Cm=["ngx-charts-bar",""];function wm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"defs"),e._UZ(1,"g",2),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("orientation",o.orientation)("name",o.gradientId)("stops",o.gradientStops)}}const Mm=["ngx-charts-bar-label",""],Am=["ngx-charts-series-vertical",""];function a3(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.onClick(U))})("activate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.activate.emit(U))})("deactivate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.deactivate.emit(U))}),e.qZA()}if(2&u){const o=L.$implicit,x=e.oxw(2);e.Q6J("@animationState","active")("@.disabled",!x.animations)("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",x.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",x.gradient)("ariaLabel",o.ariaLabel)("isActive",x.isActive(o.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function Cu(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,a3,1,22,"g",1),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function wu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",2),e.NdJ("select",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.onClick(U))})("activate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.activate.emit(U))})("deactivate",function(U){e.CHM(o);const Y=e.oxw(2);return e.KtG(Y.deactivate.emit(U))}),e.qZA()}if(2&u){const o=L.$implicit,x=e.oxw(2);e.Q6J("width",o.width)("height",o.height)("x",o.x)("y",o.y)("fill",o.color)("stops",o.gradientStops)("data",o.data)("orientation",x.barOrientation.Vertical)("roundEdges",o.roundEdges)("gradient",x.gradient)("ariaLabel",o.ariaLabel)("isActive",x.isActive(o.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:o.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",o.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function Dm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,wu,1,20,"g",1),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.bars)("ngForTrackBy",o.trackBy)}}function Lm(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",4),e.NdJ("dimensionsChanged",function(U){const Te=e.CHM(o).index,it=e.oxw(2);return e.KtG(it.dataLabelHeightChanged.emit({size:U,index:Te}))}),e.qZA()}if(2&u){const o=L.$implicit,x=e.oxw(2);e.Q6J("barX",o.x)("barY",o.y)("barWidth",o.width)("barHeight",o.height)("value",o.total)("valueFormatting",x.dataLabelFormatting)("orientation",x.barOrientation.Vertical)}}function km(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Lm,1,7,"g",3),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.barsForDataLabels)("ngForTrackBy",o.trackDataLabelBy)}}function Im(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",5),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateXAxisHeight(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("xScale",o.xScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function B0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateYAxisWidth(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("yScale",o.yScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function Mu(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",6),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateXAxisHeight(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("xScale",o.groupScale)("dims",o.dims)("showLabel",o.showXAxisLabel)("labelText",o.xAxisLabel)("trimTicks",o.trimXAxisTicks)("rotateTicks",o.rotateXAxisTicks)("maxTickLength",o.maxXAxisTickLength)("tickFormatting",o.xAxisTickFormatting)("ticks",o.xAxisTicks)("xAxisOffset",o.dataLabelMaxHeight.negative)("wrapTicks",o.wrapTicks)}}function Om(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",7),e.NdJ("dimensionsChanged",function(U){e.CHM(o);const Y=e.oxw();return e.KtG(Y.updateYAxisWidth(U))}),e.qZA()}if(2&u){const o=e.oxw();e.Q6J("yScale",o.valueScale)("dims",o.dims)("showGridLines",o.showGridLines)("showLabel",o.showYAxisLabel)("labelText",o.yAxisLabel)("trimTicks",o.trimYAxisTicks)("maxTickLength",o.maxYAxisTickLength)("tickFormatting",o.yAxisTickFormatting)("ticks",o.yAxisTicks)("wrapTicks",o.wrapTicks)}}function o3(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(U){const Te=e.CHM(o).$implicit,it=e.oxw(2);return e.KtG(it.onClick(U,Te))})("activate",function(U){const Te=e.CHM(o).$implicit,it=e.oxw(2);return e.KtG(it.onActivate(U,Te))})("deactivate",function(U){const Te=e.CHM(o).$implicit,it=e.oxw(2);return e.KtG(it.onDeactivate(U,Te))})("dataLabelHeightChanged",function(U){const Te=e.CHM(o).index,it=e.oxw(2);return e.KtG(it.onDataLabelMaxHeightChanged(U,Te))}),e.qZA()}if(2&u){const o=L.$implicit,x=e.oxw(2);e.Q6J("@animationState","active")("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",o.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",o.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),e.uIk("transform",x.groupTransform(o))}}function Su(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,o3,1,17,"g",8),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function U0(u,L){if(1&u){const o=e.EpF();e.O4$(),e.TgZ(0,"g",9),e.NdJ("select",function(U){const Te=e.CHM(o).$implicit,it=e.oxw(2);return e.KtG(it.onClick(U,Te))})("activate",function(U){const Te=e.CHM(o).$implicit,it=e.oxw(2);return e.KtG(it.onActivate(U,Te))})("deactivate",function(U){const Te=e.CHM(o).$implicit,it=e.oxw(2);return e.KtG(it.onDeactivate(U,Te))})("dataLabelHeightChanged",function(U){const Te=e.CHM(o).index,it=e.oxw(2);return e.KtG(it.onDataLabelMaxHeightChanged(U,Te))}),e.qZA()}if(2&u){const o=L.$implicit,x=e.oxw(2);e.Q6J("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",o.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",o.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),e.uIk("transform",x.groupTransform(o))}}function Pm(u,L){if(1&u&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,U0,1,16,"g",8),e.qZA()),2&u){const o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.results)("ngForTrackBy",o.trackBy)}}function Iu(u,L,o){o=o||{};let x,U,Y,Te=null,it=0;function jt(){it=!1===o.leading?0:+new Date,Te=null,Y=u.apply(x,U)}return function(){const Zt=+new Date;!it&&!1===o.leading&&(it=Zt);const ci=L-(Zt-it);return x=this,U=arguments,ci<=0?(clearTimeout(Te),Te=null,it=Zt,Y=u.apply(x,U)):!Te&&!1!==o.trailing&&(Te=setTimeout(jt,ci)),Y}}function _p(u,L){return function(x,U,Y){return{configurable:!0,enumerable:Y.enumerable,get:function(){return Object.defineProperty(this,U,{configurable:!0,enumerable:Y.enumerable,value:Iu(Y.value,u,L)}),this[U]}}}}var lr=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",u}(lr||{});function k3(u,L,o){return o===lr.Top?u.top-7:o===lr.Bottom?u.top+u.height-L.height+7:o===lr.Center?u.top+u.height/2-L.height/2:void 0}function Ou(u,L,o){return o===lr.Left?u.left-7:o===lr.Right?u.left+u.width-L.width+7:o===lr.Center?u.left+u.width/2-L.width/2:void 0}class Ha{static calculateVerticalAlignment(L,o,x){let U=k3(L,o,x);return U+o.height>window.innerHeight&&(U=window.innerHeight-o.height),U}static calculateVerticalCaret(L,o,x,U){let Y;U===lr.Top&&(Y=L.height/2-x.height/2+7),U===lr.Bottom&&(Y=o.height-L.height/2-x.height/2-7),U===lr.Center&&(Y=o.height/2-x.height/2);const Te=k3(L,o,U);return Te+o.height>window.innerHeight&&(Y+=Te+o.height-window.innerHeight),Y}static calculateHorizontalAlignment(L,o,x){let U=Ou(L,o,x);return U+o.width>window.innerWidth&&(U=window.innerWidth-o.width),U}static calculateHorizontalCaret(L,o,x,U){let Y;U===lr.Left&&(Y=L.width/2-x.width/2+7),U===lr.Right&&(Y=o.width-L.width/2-x.width/2-7),U===lr.Center&&(Y=o.width/2-x.width/2);const Te=Ou(L,o,U);return Te+o.width>window.innerWidth&&(Y+=Te+o.width-window.innerWidth),Y}static shouldFlip(L,o,x,U){let Y=!1;return x===lr.Right&&L.left+L.width+o.width+U>window.innerWidth&&(Y=!0),x===lr.Left&&L.left-o.width-U<0&&(Y=!0),x===lr.Top&&L.top-o.height-U<0&&(Y=!0),x===lr.Bottom&&L.top+L.height+o.height+U>window.innerHeight&&(Y=!0),Y}static positionCaret(L,o,x,U,Y){let Te=0,it=0;return L===lr.Right?(it=-7,Te=Ha.calculateVerticalCaret(x,o,U,Y)):L===lr.Left?(it=o.width,Te=Ha.calculateVerticalCaret(x,o,U,Y)):L===lr.Top?(Te=o.height,it=Ha.calculateHorizontalCaret(x,o,U,Y)):L===lr.Bottom&&(Te=-7,it=Ha.calculateHorizontalCaret(x,o,U,Y)),{top:Te,left:it}}static positionContent(L,o,x,U,Y){let Te=0,it=0;return L===lr.Right?(it=x.left+x.width+U,Te=Ha.calculateVerticalAlignment(x,o,Y)):L===lr.Left?(it=x.left-o.width-U,Te=Ha.calculateVerticalAlignment(x,o,Y)):L===lr.Top?(Te=x.top-o.height-U,it=Ha.calculateHorizontalAlignment(x,o,Y)):L===lr.Bottom&&(Te=x.top+x.height+U,it=Ha.calculateHorizontalAlignment(x,o,Y)),{top:Te,left:it}}static determinePlacement(L,o,x,U){if(Ha.shouldFlip(x,o,L,U)){if(L===lr.Right)return lr.Left;if(L===lr.Left)return lr.Right;if(L===lr.Top)return lr.Bottom;if(L===lr.Bottom)return lr.Top}return L}}let Pu=(()=>{class u{constructor(o,x,U){this.element=o,this.renderer=x,this.platformId=U}get cssClasses(){let o="ngx-charts-tooltip-content";return o+=` position-${this.placement}`,o+=` type-${this.type}`,o+=` ${this.cssClass}`,o}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,t.NF)(this.platformId))return;const o=this.element.nativeElement,x=this.host.nativeElement.getBoundingClientRect();if(!x.height&&!x.width)return;const U=o.getBoundingClientRect();this.checkFlip(x,U),this.positionContent(o,x,U),this.showCaret&&this.positionCaret(x,U),setTimeout(()=>this.renderer.addClass(o,"animate"),1)}positionContent(o,x,U){const{top:Y,left:Te}=Ha.positionContent(this.placement,U,x,this.spacing,this.alignment);this.renderer.setStyle(o,"top",`${Y}px`),this.renderer.setStyle(o,"left",`${Te}px`)}positionCaret(o,x){const U=this.caretElm.nativeElement,Y=U.getBoundingClientRect(),{top:Te,left:it}=Ha.positionCaret(this.placement,x,o,Y,this.alignment);this.renderer.setStyle(U,"top",`${Te}px`),this.renderer.setStyle(U,"left",`${it}px`)}checkFlip(o,x){this.placement=Ha.determinePlacement(this.placement,x,o,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(o,x){if(1&o&&e.Gf(fu,5),2&o){let U;e.iGM(U=e.CRH())&&(x.caretElm=U.first)}},hostVars:2,hostBindings:function(o,x){1&o&&e.NdJ("resize",function(){return x.onWindowResize()},!1,e.Jf7),2&o&&e.Tol(x.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(o,x){1&o&&(e.TgZ(0,"div"),e._UZ(1,"span",0,1),e.TgZ(3,"div",2),e.YNc(4,T0,2,4,"span",3)(5,Wd,1,1,"span",4),e.qZA()()),2&o&&(e.xp6(1),e.Gre("tooltip-caret position-",x.placement,""),e.Q6J("hidden",!x.showCaret),e.xp6(3),e.Q6J("ngIf",!x.title),e.xp6(1),e.Q6J("ngIf",x.title))},dependencies:[t.O5,t.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),(0,y.gn)([_p(100)],u.prototype,"onWindowResize",null),u})();class vp{constructor(L){this.injectionService=L,this.defaults={},this.components=new Map}getByType(L=this.type){return this.components.get(L)}create(L){return this.createByType(this.type,L)}createByType(L,o){o=this.assignDefaults(o);const x=this.injectComponent(L,o);return this.register(L,x),x}destroy(L){const o=this.components.get(L.componentType);if(o&&o.length){const x=o.indexOf(L);x>-1&&(o[x].destroy(),o.splice(x,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(L){const o=this.components.get(L);if(o&&o.length){let x=o.length-1;for(;x>=0;)this.destroy(o[x--])}}injectComponent(L,o){return this.injectionService.appendComponent(L,o)}assignDefaults(L){const o={...this.defaults.inputs},x={...this.defaults.outputs};return!L.inputs&&!L.outputs&&(L={inputs:L}),o&&(L.inputs={...o,...L.inputs}),x&&(L.outputs={...x,...L.outputs}),L}register(L,o){this.components.has(L)||this.components.set(L,[]),this.components.get(L).push(o)}}let I3=(()=>{class u{constructor(o,x,U){this.applicationRef=o,this.componentFactoryResolver=x,this.injector=U}static setGlobalRootViewContainer(o){u.globalRootViewContainer=o}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(o){this._container=o}getComponentRootNode(o){return function o2(u){return u.element}(o)?o.element.nativeElement:o.hostView&&o.hostView.rootNodes.length>0?o.hostView.rootNodes[0]:o.location.nativeElement}getRootViewContainerNode(o){return this.getComponentRootNode(o)}projectComponentBindings(o,x){if(x){if(void 0!==x.inputs){const U=Object.getOwnPropertyNames(x.inputs);for(const Y of U)o.instance[Y]=x.inputs[Y]}if(void 0!==x.outputs){const U=Object.getOwnPropertyNames(x.outputs);for(const Y of U)o.instance[Y]=x.outputs[Y]}}return o}appendComponent(o,x={},U){U||(U=this.getRootViewContainer());const Y=this.getComponentRootNode(U),Te=new A.u0(Y,this.componentFactoryResolver,this.applicationRef,this.injector),it=new A.C5(o),jt=Te.attach(it);return this.projectComponentBindings(jt,x),jt}}return u.globalRootViewContainer=null,u.\u0275fac=function(o){return new(o||u)(e.LFG(e.z2F),e.LFG(e._Vd),e.LFG(e.zs3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})(),Y0=(()=>{class u extends vp{constructor(o){super(o),this.type=Pu}}return u.\u0275fac=function(o){return new(o||u)(e.LFG(I3))},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})();var Oc=function(u){return u.Right="right",u.Below="below",u}(Oc||{}),gl=function(u){return u.ScaleLegend="scaleLegend",u.Legend="legend",u}(gl||{}),Dn=function(u){return u.Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",u}(Dn||{});let bp=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(o){const x=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${x})`}gradientString(o,x){x.push(1);const U=[];return o.reverse().forEach((Y,Te)=>{U.push(`${Y} ${Math.round(100*x[Te])}%`)}),U.join(", ")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[e.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(o,x){1&o&&(e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA()(),e._UZ(4,"div",2),e.TgZ(5,"div",1)(6,"span"),e._uU(7),e.qZA()()()),2&o&&(e.Udp("height",x.horizontal?void 0:x.height,"px")("width",x.width,"px"),e.ekj("horizontal-legend",x.horizontal),e.xp6(3),e.Oqu(x.valueRange[1].toLocaleString()),e.xp6(1),e.Udp("background",x.gradient),e.xp6(3),e.Oqu(x.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0}),u})();function ed(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let Ru=(()=>{class u{constructor(){this.isActive=!1,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.toggle=new e.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(o,x){1&o&&e.NdJ("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(o,x){1&o&&(e.TgZ(0,"span",0),e.NdJ("click",function(){return x.select.emit(x.formattedLabel)}),e.TgZ(1,"span",1),e.NdJ("click",function(){return x.toggle.emit(x.formattedLabel)}),e.qZA(),e.TgZ(2,"span",2),e._uU(3),e.qZA()()),2&o&&(e.ekj("active",x.isActive),e.Q6J("title",x.formattedLabel),e.xp6(1),e.Udp("background-color",x.color),e.xp6(2),e.hij(" ",x.trimmedLabel," "))},encapsulation:2,changeDetection:0}),u})(),s2=(()=>{class u{constructor(o){this.cd=o,this.horizontal=!1,this.labelClick=new e.vpe,this.labelActivate=new e.vpe,this.labelDeactivate=new e.vpe,this.legendEntries=[]}ngOnChanges(o){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const o=[];for(const x of this.data){const U=ed(x);-1===o.findIndex(Te=>Te.label===U)&&o.push({label:x,formattedLabel:U,color:this.colors.getColor(x)})}return o}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>o.label===U.name)}activate(o){this.labelActivate.emit(o)}deactivate(o){this.labelDeactivate.emit(o)}trackBy(o,x){return x.label}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.sBO))},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[e.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(o,x){1&o&&(e.TgZ(0,"div"),e.YNc(1,ll,3,1,"header",0),e.TgZ(2,"div",1)(3,"ul",2),e.YNc(4,n1,2,4,"li",3),e.qZA()()()),2&o&&(e.Udp("width",x.width,"px"),e.xp6(1),e.Q6J("ngIf",(null==x.title?null:x.title.length)>0),e.xp6(2),e.Udp("max-height",x.height-45,"px"),e.ekj("horizontal-legend",x.horizontal),e.xp6(1),e.Q6J("ngForOf",x.legendEntries)("ngForTrackBy",x.trackBy))},dependencies:[Ru,t.O5,t.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),u})(),c2=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new e.vpe,this.legendLabelActivate=new e.vpe,this.legendLabelDeactivate=new e.vpe,this.LegendPosition=Oc,this.LegendType=gl}ngOnChanges(o){this.update()}update(){let o=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Oc.Right)&&(o=this.legendType===gl.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-o)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Oc.Right?this.chartWidth:Math.floor(this.view[0]*o/12)}getLegendType(){return this.legendOptions.scaleType===Dn.Linear?gl.ScaleLegend:gl.Legend}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[e._Bn([Y0]),e.TTD],ngContentSelectors:Yd,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(o,x){1&o&&(e.F$t(),e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1),e.Hsn(2),e.qZA(),e.YNc(3,K1,1,5,"ngx-charts-scale-legend",2)(4,A0,1,7,"ngx-charts-legend",3),e.qZA()),2&o&&(e.Udp("width",x.view[0],"px")("height",x.view[1],"px"),e.xp6(1),e.uIk("width",x.chartWidth)("height",x.view[1]),e.xp6(2),e.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.ScaleLegend),e.xp6(1),e.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.Legend))},dependencies:[bp,s2,t.O5],encapsulation:2,changeDetection:0}),u})(),Pc=(()=>{class u{constructor(o,x){this.element=o,this.zone=x,this.visible=new e.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const o=()=>{if(!this.element)return;const{offsetHeight:x,offsetWidth:U}=this.element.nativeElement;x&&U?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>o())})}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.R0b))},u.\u0275dir=e.lG2({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function Nu(u){return"[object Date]"===toString.call(u)}let Hu=(()=>{class u{constructor(o,x,U,Y){this.chartElement=o,this.zone=x,this.cd=U,this.platformId=Y,this.scheme="cool",this.schemeType=Dn.Ordinal,this.animations=!0,this.select=new e.vpe}ngOnInit(){(0,t.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new Pc(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(o){this.update()}update(){if(this.results=this.results?this.cloneData(this.results):[],this.view)this.width=this.view[0],this.height=this.view[1];else{const o=this.getContainerDims();o&&(this.width=o.width,this.height=o.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let o,x;const U=this.chartElement.nativeElement;if((0,t.NF)(this.platformId)&&null!==U.parentNode){const Y=U.parentNode.getBoundingClientRect();o=Y.width,x=Y.height}return o&&x?{width:o,height:x}:null}formatDates(){for(let o=0;o{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(o){const x=[];for(const U of o){const Y={};if(void 0!==U.name&&(Y.name=U.name),void 0!==U.value&&(Y.value=U.value),void 0!==U.series){Y.series=[];for(const Te of U.series){const it=Object.assign({},Te);Y.series.push(it)}}void 0!==U.extra&&(Y.extra=JSON.parse(JSON.stringify(U.extra))),void 0!==U.source&&(Y.source=U.source),void 0!==U.target&&(Y.target=U.target),x.push(Y)}return x}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[e.TTD],decls:1,vars:0,template:function(o,x){1&o&&e._UZ(0,"div")},encapsulation:2}),u})();var Ro=function(u){return u.Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u}(Ro||{});let Fu=(()=>{class u{constructor(o){this.textHeight=25,this.margin=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Ro.Top:case Ro.Bottom:this.y=this.offset,this.x=this.width/2;break;case Ro.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Ro.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[e.TTD],attrs:jd,decls:2,vars:6,template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"text"),e._uU(1),e.qZA()),2&o&&(e.uIk("stroke-width",x.strokeWidth)("x",x.x)("y",x.y)("text-anchor",x.textAnchor)("transform",x.transform),e.xp6(1),e.hij(" ",x.label," "))},encapsulation:2,changeDetection:0}),u})();function zu(u,L=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=L?u:`${u.slice(0,L)}...`}function Vu(u,L){if(u.length>L){const o=[],x=Math.floor(u.length/L);for(let U=0;U{const it=(Y.pop()||"")+" ";return it.length+Te.length>L?[...Y,it.trim(),Te.trim()]:[...Y,it+Te]},[]);else{let Y=0;for(;Yo&&(U=U.splice(0,o),U[U.length-1]+="..."),U}var Rc=function(u){return u.Start="start",u.Middle="middle",u.End="end",u}(Rc||{});let K0=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Rc.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);o!==this.height&&(this.height=o,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(U){return this.scale(U)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=Rc.End,this.verticalSpacing=10):this.textAnchor=Rc.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(o){let x=0;this.maxTicksLength=0;for(let vi=0;vithis.maxTicksLength&&(this.maxTicksLength=ki)}const Te=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let it=Te;const jt=Math.floor(this.width/o.length);for(;it>jt&&x>-90;)x-=30,it=Math.cos(x*(Math.PI/180))*Te;let Zt=14;if(this.isWrapTicksSupported){const vi=this.ticks.reduce((ki,rn)=>rn.length>ki.length?rn:ki,"");Zt=14*(this.tickChunks(vi).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(vi)}const ci=0!==x?Math.max(Math.abs(Math.sin(x*Math.PI/180))*this.maxTickLength*7,10):Zt;return this.approxHeight=Math.min(ci,200),x}getTicks(){let o;const x=this.getMaxTicks(20),U=this.getMaxTicks(100);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[U]):(o=this.scale.domain(),o=Vu(o,x)),o}getMaxTicks(o){return Math.floor(this.width/o)}tickTransform(o){return"translate("+this.adjustedScale(o)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(o){return this.trimTicks?zu(o,this.maxTickLength):o}getMaxPossibleLengthForTick(o){if(this.scale.bandwidth){const U=Math.floor(this.scale.bandwidth()/7),Y=o.slice(0,U);return Math.max(Y.length,this.maxTickLength)}return this.maxTickLength}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){let U=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(U<=1)return[this.tickTrim(o)];let Y=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,t.NF)(this.platformId)||(Y=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),U=Math.min(U,5),P3(o,Y,U<1?1:U)}return[this.tickTrim(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(o,x){if(1&o&&e.Gf(r1,5),2&o){let U;e.iGM(U=e.CRH())&&(x.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:cc,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,O0,2,2,"g",1),e.qZA(),e.YNc(3,V,2,2,"g",2)),2&o&&(e.xp6(2),e.Q6J("ngForOf",x.ticks),e.xp6(1),e.Q6J("ngForOf",x.ticks))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),u})(),Bu=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Ro.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Ro}ngOnChanges(o){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:o}){const x=o+25+5;x!==this.labelOffset&&(this.labelOffset=x,setTimeout(()=>{this.dimensionsChanged.emit({height:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(o,x){if(1&o&&e.Gf(K0,5),2&o){let U;e.iGM(U=e.CRH())&&(x.ticksComponent=U.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:b,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,G,1,13,"g",0)(2,Z,1,5,"g",1),e.qZA()),2&o&&(e.uIk("class",x.xAxisClassName)("transform",x.transform),e.xp6(1),e.Q6J("ngIf",x.xScale),e.xp6(1),e.Q6J("ngIf",x.showLabel))},dependencies:[K0,Fu,t.O5],encapsulation:2,changeDetection:0}),u})();function Nc(u,L,o,x,U,[Y,Te,it,jt]){let Zt="";return Zt=`M${[u+U,L]}`,Zt+="h"+((o=0===(o=Math.floor(o))?1:o)-2*U),Zt+=Te?`a${[U,U]} 0 0 1 ${[U,U]}`:`h${U}v${U}`,Zt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*U),Zt+=jt?`a${[U,U]} 0 0 1 ${[-U,U]}`:`v${U}h${-U}`,Zt+="h"+(2*U-o),Zt+=it?`a${[U,U]} 0 0 1 ${[-U,-U]}`:`h${-U}v${-U}`,Zt+="v"+(2*U-x),Zt+=Y?`a${[U,U]} 0 0 1 ${[U,-U]}`:`v${-U}h${U}`,Zt+="z",Zt}let o1=(()=>{class u{constructor(o){this.platformId=o,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Rc.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Ro}ngOnChanges(o){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,t.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const o=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);o!==this.width&&(this.width=o,this.dimensionsChanged.emit({width:o}),setTimeout(()=>this.updateDims()))}update(){const o=this.scale,x=this.orient===Ro.Top||this.orient===Ro.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:o.tickFormat?o.tickFormat.apply(o,this.tickArguments):function(U){return"Date"===U.constructor.name?U.toLocaleDateString():U.toLocaleString()},this.adjustedScale=o.bandwidth?U=>{const Y=o(U)+.5*o.bandwidth();if(this.wrapTicks&&U.toString().length>this.maxTickLength){const Te=this.tickChunks(U).length;if(1===Te)return Y;const Zt=.5*o.bandwidth()-8*Te*.5;return o(U)+Zt}return Y}:o,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Ro.Top:case Ro.Bottom:this.transform=function(U){return"translate("+this.adjustedScale(U)+",0)"},this.textAnchor=Rc.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case Ro.Left:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=Rc.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case Ro.Right:this.transform=function(U){return"translate(0,"+this.adjustedScale(U)+")"},this.textAnchor=Rc.Start,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(o=>o.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(o=>o.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Nc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let o;const x=this.getMaxTicks(20),U=this.getMaxTicks(50);return this.tickValues?o=this.tickValues:this.scale.ticks?o=this.scale.ticks.apply(this.scale,[U]):(o=this.scale.domain(),o=Vu(o,x)),o}getMaxTicks(o){return Math.floor(this.height/o)}tickTransform(o){return`translate(${this.adjustedScale(o)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(o){return this.trimTicks?zu(o,this.maxTickLength):o}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(U=>this.tickTrim(this.tickFormat(U)).length))}tickChunks(o){if(o.toString().length>this.maxTickLength&&this.scale.bandwidth){const x=this.maxTickLength,U=Math.floor(this.scale.bandwidth()/15);return U<=1?[this.tickTrim(o)]:P3(o,x,Math.min(U,5))}return[this.tickFormat(o)]}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(o,x){if(1&o&&e.Gf(r1,5),2&o){let U;e.iGM(U=e.CRH())&&(x.ticksElement=U.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:He,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"g",null,0),e.YNc(2,On,2,2,"g",1),e.qZA(),e.YNc(3,pn,1,2,"path",2)(4,Ya,2,2,"g",3)(5,jo,2,1,"g",3)),2&o&&(e.xp6(2),e.Q6J("ngForOf",x.ticks),e.xp6(1),e.Q6J("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),e.xp6(1),e.Q6J("ngForOf",x.ticks),e.xp6(1),e.Q6J("ngForOf",x.referenceLines))},dependencies:[t.sg,t.O5],encapsulation:2,changeDetection:0}),u})(),td=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=Ro.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new e.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(o){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Ro.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:o}){o!==this.labelOffset&&this.yOrient===Ro.Right?(this.labelOffset=o+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0)):o!==this.labelOffset&&(this.labelOffset=o,setTimeout(()=>{this.dimensionsChanged.emit({width:o})},0))}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(o,x){if(1&o&&e.Gf(o1,5),2&o){let U;e.iGM(U=e.CRH())&&(x.ticksComponent=U.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Ns,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"g"),e.YNc(1,Po,1,15,"g",0)(2,lc,1,5,"g",1),e.qZA()),2&o&&(e.uIk("class",x.yAxisClassName)("transform",x.transform),e.xp6(1),e.Q6J("ngIf",x.yScale),e.xp6(1),e.Q6J("ngIf",x.showLabel))},dependencies:[o1,Fu,t.O5],encapsulation:2,changeDetection:0}),u})(),Q0=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[t.ez]]}),u})();var l2=function(u){return u.popover="popover",u.tooltip="tooltip",u}(l2||{}),s1=function(u){return u[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",u}(s1||{});let Uu=(()=>{class u{constructor(o,x,U){this.tooltipService=o,this.viewContainerRef=x,this.renderer=U,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=lr.Top,this.tooltipAlignment=lr.Center,this.tooltipType=l2.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=s1.all,this.tooltipImmediateExit=!1,this.show=new e.vpe,this.hide=new e.vpe}get listensForFocus(){return this.tooltipShowEvent===s1.all||this.tooltipShowEvent===s1.focus}get listensForHover(){return this.tooltipShowEvent===s1.all||this.tooltipShowEvent===s1.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(o){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(o))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(o){if(this.component||this.tooltipDisabled)return;const x=o?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const U=this.createBoundOptions();this.component=this.tooltipService.create(U),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},x)}addHideListeners(o){this.mouseEnterContentEvent=this.renderer.listen(o,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(o,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",x=>{o.contains(x.target)||this.hideTooltip()}))}hideTooltip(o=!1){if(!this.component)return;const x=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),o?x():this.timeout=setTimeout(x,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(Y0),e.Y36(e.s_b),e.Y36(e.Qsj))},u.\u0275dir=e.lG2({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(o,x){1&o&&e.NdJ("focusin",function(){return x.onFocus()})("blur",function(){return x.onBlur()})("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(Y){return x.onMouseLeave(Y.target)})("click",function(){return x.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),u})(),R3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({providers:[I3,Y0],imports:[[t.ez]]}),u})();const N3={};function q0(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,N3[u]?q0():(N3[u]=!0,u)}var ba=function(u){return u.Vertical="vertical",u.Horizontal="horizontal",u}(ba||{});let d2=(()=>{class u{constructor(){this.orientation=ba.Vertical}ngOnChanges(o){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===ba.Horizontal?this.x2="100%":this.orientation===ba.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[e.TTD],attrs:Ks,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"linearGradient",0),e.YNc(1,ms,1,5,"stop",1),e.qZA()),2&o&&(e.Q6J("id",x.name),e.uIk("x1",x.x1)("y1",x.y1)("x2",x.x2)("y2",x.y2),e.xp6(1),e.Q6J("ngForOf",x.stops))},dependencies:[t.sg],encapsulation:2,changeDetection:0}),u})(),Gu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:Tn,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(o,x){1&o&&(e.O4$(),e._UZ(0,"rect",0)),2&o&&e.uIk("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}),u})();var J0=function(u){return u.Odd="odd",u.Even="even",u}(J0||{});let Hs,F3=(()=>{class u{ngOnChanges(o){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(o=>{let x,U,Y,Te,it,jt=J0.Odd;if(this.orient===ba.Vertical){const Zt=this.xScale(o.name);Number.parseInt((Zt/this.xScale.step()).toString(),10)%2==1&&(jt=J0.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),U=this.xScale.bandwidth()+x,Y=this.dims.height,Te=this.xScale(o.name)-x/2,it=0}else if(this.orient===ba.Horizontal){const Zt=this.yScale(o.name);Number.parseInt((Zt/this.yScale.step()).toString(),10)%2==1&&(jt=J0.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),U=this.dims.width,Y=this.yScale.bandwidth()+x,Te=0,it=this.yScale(o.name)-x/2}return{name:o.name,class:jt,height:Y,width:U,x:Te,y:it}})}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[e.TTD],attrs:Nn,decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(o,x){1&o&&e.YNc(0,_r,1,10,"g",0),2&o&&e.Q6J("ngForOf",x.gridPanels)},dependencies:[Gu,t.sg],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?Hs=window:typeof global<"u"&&(Hs=global);let xs=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[t.ez,Q0,R3],t.ez,Q0,R3]}),u})();function Yu({width:u,height:L,margins:o,showXAxis:x=!1,showYAxis:U=!1,xAxisHeight:Y=0,yAxisWidth:Te=0,showXLabel:it=!1,showYLabel:jt=!1,showLegend:Zt=!1,legendType:ci=Dn.Ordinal,legendPosition:vi=Oc.Right,columns:Ei=12}){let ki=o[3],rn=u,Mn=L-o[0]-o[2];return Zt&&vi===Oc.Right&&(Ei-=ci===Dn.Ordinal?2:1),rn=rn*Ei/12,rn=rn-o[1]-o[3],x&&(Mn-=5,Mn-=Y,it&&(Mn-=30)),U&&(rn-=5,rn-=Te,ki+=Te,ki+=10,jt&&(rn-=30,ki+=30)),rn=Math.max(0,rn),Mn=Math.max(0,Mn),{width:Math.floor(rn),height:Math.floor(Mn),xOffset:Math.floor(ki)}}const eh=[{name:"vivid",selectable:!0,group:Dn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:Dn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:Dn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:Dn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:Dn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:Dn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:Dn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:Dn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:Dn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:Dn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:Dn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:Dn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:Dn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:Dn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:Dn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class ju{constructor(L,o,x,U){"string"==typeof L&&(L=eh.find(Y=>Y.name===L)),this.colorDomain=L.domain,this.scaleType=o,this.domain=x,this.customColors=U,this.scale=this.generateColorScheme(L,o,this.domain)}generateColorScheme(L,o,x){let U;switch("string"==typeof L&&(L=eh.find(Y=>Y.name===L)),o){case Dn.Quantile:U=S0().range(L.domain).domain(x);break;case Dn.Ordinal:U=j1().range(L.domain).domain(x);break;case Dn.Linear:{const Y=[...L.domain];1===Y.length&&(Y.push(Y[0]),this.colorDomain=Y);const Te=x0(0,1,1/Y.length);U=oc().range(Y).domain(Te)}}return U}getColor(L){if(null==L)throw new Error("Value can not be null");if(this.scaleType===Dn.Linear){const o=oc().domain(this.domain).range([0,1]);return this.scale(o(L))}{if("function"==typeof this.customColors)return this.customColors(L);const o=L.toString();let x;return this.customColors&&this.customColors.length>0&&(x=this.customColors.find(U=>U.name.toLowerCase()===o.toLowerCase())),x?x.value:this.scale(L)}}getLinearGradientStops(L,o){void 0===o&&(o=this.domain[0]);const x=oc().domain(this.domain).range([0,1]),U=sc().domain(this.colorDomain).range([0,1]),Y=this.getColor(L),Te=x(o),it=this.getColor(o),jt=x(L);let Zt=1,ci=Te;const vi=[];for(vi.push({color:it,offset:Te,originalOffset:Te,opacity:1});ci=(jt-U.bandwidth()).toFixed(4))break;vi.push({color:Ei,offset:ki,opacity:1}),ci=ki,Zt++}}if(vi[vi.length-1].offset<100&&vi.push({color:Y,offset:jt,opacity:1}),jt===Te)vi[0].offset=0,vi[1].offset=100;else if(100!==vi[vi.length-1].offset)for(const Ei of vi)Ei.offset=(Ei.offset-Te)/(jt-Te)*100;return vi}}let G3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),Z3=(()=>{class u{constructor(o){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=o.nativeElement}ngOnChanges(o){o.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+q0().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const o=function qt(u){return"string"==typeof u?new yi([[document.querySelector(u)]],[document.documentElement]):new yi([[u]],bi)}(this.element).select(".bar"),x=this.getPath();this.animations?o.transition().duration(500).attr("d",x):o.attr("d",x)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let x,o=this.getRadius();return this.roundEdges?this.orientation===ba.Vertical?(o=Math.min(this.height,o),x=Nc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===ba.Horizontal&&(o=Math.min(this.width,o),x=Nc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===ba.Vertical?x=Nc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===ba.Horizontal&&(x=Nc(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,o=this.getRadius();return this.roundEdges?this.orientation===ba.Vertical?(o=Math.min(this.height,o),x=Nc(this.x,this.y,this.width,this.height,o,this.edges)):this.orientation===ba.Horizontal&&(o=Math.min(this.width,o),x=Nc(this.x,this.y,this.width,this.height,o,this.edges)):x=Nc(this.x,this.y,this.width,this.height,o,this.edges),x}getRadius(){let o=0;return this.roundEdges&&this.height>5&&this.width>5&&(o=Math.floor(Math.min(5,this.height/2,this.width/2))),o}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let o=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===ba.Vertical?o=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===ba.Horizontal&&(o=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),o}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===ba.Vertical&&0===this.height||this.orientation===ba.Horizontal&&0===this.width)}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(o,x){1&o&&e.NdJ("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[e.TTD],attrs:Cm,decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(o,x){1&o&&(e.YNc(0,wm,2,3,"defs",0),e.O4$(),e.TgZ(1,"path",1),e.NdJ("click",function(){return x.select.emit(x.data)}),e.qZA()),2&o&&(e.Q6J("ngIf",x.hasGradient),e.xp6(1),e.ekj("active",x.isActive)("hidden",x.hideBar),e.uIk("d",x.path)("aria-label",x.ariaLabel)("fill",x.hasGradient?x.gradientFill:x.fill))},dependencies:[d2,t.O5],encapsulation:2,changeDetection:0}),u})();var Fs=function(u){return u.Standard="standard",u.Normalized="normalized",u.Stacked="stacked",u}(Fs||{}),id=function(u){return u.positive="positive",u.negative="negative",u}(id||{});let Ap=(()=>{class u{constructor(o){this.dimensionsChanged=new e.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=o.nativeElement}ngOnChanges(o){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.formatedValue=this.valueFormatting?this.valueFormatting(this.value):ed(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.SBq))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[e.TTD],attrs:Mm,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(o,x){1&o&&(e.O4$(),e.TgZ(0,"text",0),e._uU(1),e.qZA()),2&o&&(e.uIk("text-anchor",x.textAnchor)("transform",x.transform)("x",x.x)("y",x.y),e.xp6(1),e.hij(" ",x.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),u})(),W3=(()=>{class u{constructor(o){this.platformId=o,this.type=Fs.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new e.vpe,this.activate=new e.vpe,this.deactivate=new e.vpe,this.dataLabelHeightChanged=new e.vpe,this.barsForDataLabels=[],this.barOrientation=ba,this.isSSR=!1}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(o){this.update()}update(){let o;this.updateTooltipSettings(),this.series.length&&(o=this.xScale.bandwidth()),o=Math.round(o);const x=Math.max(this.yScale.domain()[0],0),U={[id.positive]:0,[id.negative]:0};let Te,Y=id.positive;this.type===Fs.Normalized&&(Te=this.series.map(it=>it.value).reduce((it,jt)=>it+jt,0)),this.bars=this.series.map((it,jt)=>{let Zt=it.value;const ci=this.getLabel(it),vi=ed(ci);Y=Zt>0?id.positive:id.negative;const ki={value:Zt,label:ci,roundEdges:this.roundEdges,data:it,width:o,formattedLabel:vi,height:0,x:0,y:0};if(this.type===Fs.Standard)ki.height=Math.abs(this.yScale(Zt)-this.yScale(x)),ki.x=this.xScale(ci),ki.y=this.yScale(Zt<0?0:Zt);else if(this.type===Fs.Stacked){const Mn=U[Y],Pi=Mn+Zt;U[Y]+=Zt,ki.height=this.yScale(Mn)-this.yScale(Pi),ki.x=0,ki.y=this.yScale(Pi),ki.offset0=Mn,ki.offset1=Pi}else if(this.type===Fs.Normalized){let Mn=U[Y],Pi=Mn+Zt;U[Y]+=Zt,Te>0?(Mn=100*Mn/Te,Pi=100*Pi/Te):(Mn=0,Pi=0),ki.height=this.yScale(Mn)-this.yScale(Pi),ki.x=0,ki.y=this.yScale(Pi),ki.offset0=Mn,ki.offset1=Pi,Zt=(Pi-Mn).toFixed(2)+"%"}this.colors.scaleType===Dn.Ordinal?ki.color=this.colors.getColor(ci):this.type===Fs.Standard?(ki.color=this.colors.getColor(Zt),ki.gradientStops=this.colors.getLinearGradientStops(Zt)):(ki.color=this.colors.getColor(ki.offset1),ki.gradientStops=this.colors.getLinearGradientStops(ki.offset1,ki.offset0));let rn=vi;return ki.ariaLabel=vi+" "+Zt.toLocaleString(),null!=this.seriesName&&(rn=`${this.seriesName} \u2022 ${vi}`,ki.data.series=this.seriesName,ki.ariaLabel=this.seriesName+" "+ki.ariaLabel),ki.tooltipText=this.tooltipDisabled?void 0:`\n ${function j0(u){return u.toLocaleString().replace(/[&'`"<>]/g,L=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[L]))}(rn)}\n ${this.dataLabelFormatting?this.dataLabelFormatting(Zt):Zt.toLocaleString()}\n `,ki}),this.updateDataLabels()}updateDataLabels(){if(this.type===Fs.Stacked){this.barsForDataLabels=[];const o={};o.series=this.seriesName;const x=this.series.map(Y=>Y.value).reduce((Y,Te)=>Te>0?Y+Te:Y,0),U=this.series.map(Y=>Y.value).reduce((Y,Te)=>Te<0?Y+Te:Y,0);o.total=x+U,o.x=0,o.y=0,o.height=this.yScale(o.total>0?x:U),o.width=this.xScale.bandwidth(),this.barsForDataLabels.push(o)}else this.barsForDataLabels=this.series.map(o=>{const x={};return x.series=this.seriesName??o.label,x.total=o.value,x.x=this.xScale(o.label),x.y=this.yScale(0),x.height=this.yScale(x.total)-this.yScale(0),x.width=this.xScale.bandwidth(),x})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:lr.Top,this.tooltipType=this.tooltipDisabled?void 0:l2.tooltip}isActive(o){return!!this.activeEntries&&void 0!==this.activeEntries.find(U=>o.name===U.name&&o.value===U.value)}onClick(o){this.select.emit(o)}getLabel(o){return o.label?o.label:o.name}trackBy(o,x){return x.label}trackDataLabelBy(o,x){return o+"#"+x.series+"#"+x.total}}return u.\u0275fac=function(o){return new(o||u)(e.Y36(e.Lbi))},u.\u0275cmp=e.Xpm({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[e.TTD],attrs:Am,decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(o,x){1&o&&e.YNc(0,Cu,2,2,"g",0)(1,Dm,2,2,"g",0)(2,km,2,2,"g",0),2&o&&(e.Q6J("ngIf",!x.isSSR),e.xp6(1),e.Q6J("ngIf",x.isSSR),e.xp6(1),e.Q6J("ngIf",x.showDataLabel))},dependencies:[Z3,Ap,t.O5,t.sg,Uu],encapsulation:2,data:{animation:[(0,m.X$)("animationState",[(0,m.eR)(":leave",[(0,m.oB)({opacity:1}),(0,m.jt)(500,(0,m.oB)({opacity:0}))])])]},changeDetection:0}),u})(),kp=(()=>{class u extends Hu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Oc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Yu({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const o=this.xDomain.length/(this.dims.width/this.barPadding+1);return sc().range([0,this.dims.width]).paddingInner(o).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const o=oc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?o.nice():o}getXDomain(){return this.results.map(o=>o.label)}getYDomain(){const o=this.results.map(Y=>Y.value);let x=this.yScaleMin?Math.min(this.yScaleMin,...o):Math.min(0,...o);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.min(x,...this.yAxisTicks));let U=this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(U=Math.max(U,...this.yAxisTicks)),[x,U]}onClick(o){this.select.emit(o)}setColors(){let o;o=this.schemeType===Dn.Ordinal?this.xDomain:this.yDomain,this.colors=new ju(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===Dn.Ordinal?(o.domain=this.xDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.yDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onDataLabelMaxHeightChanged(o){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),o.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(o,x=!1){o=this.results.find(Y=>x?Y.label===o.name:Y.name===o.name),!(this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series)>-1)&&(this.activeEntries=[o,...this.activeEntries],this.activate.emit({value:o,entries:this.activeEntries}))}onDeactivate(o,x=!1){o=this.results.find(Y=>x?Y.label===o.name:Y.name===o.name);const U=this.activeEntries.findIndex(Y=>Y.name===o.name&&Y.value===o.value&&Y.series===o.series);this.activeEntries.splice(U,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:o,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(x){return(L||(L=e.n5z(u)))(x||u)}})(),u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(o,x,U){if(1&o&&e.Suo(U,R0,5),2&o){let Y;e.iGM(Y=e.CRH())&&(x.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"]],template:function(o,x){1&o&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelClick",function(Y){return x.onClick(Y)})("legendLabelActivate",function(Y){return x.onActivate(Y,!0)})("legendLabelDeactivate",function(Y){return x.onDeactivate(Y,!0)}),e.O4$(),e.TgZ(1,"g",1),e.YNc(2,Im,1,12,"g",2)(3,B0,1,10,"g",3),e.TgZ(4,"g",4),e.NdJ("activate",function(Y){return x.onActivate(Y)})("deactivate",function(Y){return x.onDeactivate(Y)})("select",function(Y){return x.onClick(Y)})("dataLabelHeightChanged",function(Y){return x.onDataLabelMaxHeightChanged(Y)}),e.qZA()()()),2&o&&(e.Q6J("view",e.WLB(22,Xd,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),e.xp6(1),e.uIk("transform",x.transform),e.xp6(1),e.Q6J("ngIf",x.xAxis),e.xp6(1),e.Q6J("ngIf",x.yAxis),e.xp6(1),e.Q6J("xScale",x.xScale)("yScale",x.yScale)("colors",x.colors)("series",x.results)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("activeEntries",x.activeEntries)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero))},dependencies:[c2,Bu,td,W3,t.O5],styles:[$d],encapsulation:2,changeDetection:0}),u})(),nd=(()=>{class u extends Hu{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Oc.Right,this.tooltipDisabled=!1,this.scaleType=Dn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new e.vpe,this.deactivate=new e.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=ba,this.trackBy=(o,x)=>x.name}ngOnInit(){(0,t.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=Yu({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(o,x){o.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,o.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,o.size.height),x===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const o=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return sc().rangeRound([0,this.dims.width]).paddingInner(o).paddingOuter(o/2).domain(this.groupDomain)}getInnerScale(){const o=this.groupScale.bandwidth(),x=this.innerDomain.length/(o/this.barPadding+1);return sc().rangeRound([0,o]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const o=oc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?o.nice():o}getGroupDomain(){const o=[];for(const x of this.results)o.includes(x.label)||o.push(x.label);return o}getInnerDomain(){const o=[];for(const x of this.results)for(const U of x.series)o.includes(U.label)||o.push(U.label);return o}getValueDomain(){const o=[];for(const Y of this.results)for(const Te of Y.series)o.includes(Te.value)||o.push(Te.value);return[Math.min(0,...o),this.yScaleMax?Math.max(this.yScaleMax,...o):Math.max(0,...o)]}groupTransform(o){return`translate(${this.groupScale(o.label)}, 0)`}onClick(o,x){x&&(o.series=x.name),this.select.emit(o)}setColors(){let o;o=this.schemeType===Dn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new ju(this.scheme,this.schemeType,o,this.customColors)}getLegendOptions(){const o={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return o.scaleType===Dn.Ordinal?(o.domain=this.innerDomain,o.colors=this.colors,o.title=this.legendTitle):(o.domain=this.valueDomain,o.colors=this.colors.scale),o}updateYAxisWidth({width:o}){this.yAxisWidth=o,this.update()}updateXAxisHeight({height:o}){this.xAxisHeight=o,this.update()}onActivate(o,x,U=!1){const Y=Object.assign({},o);x&&(Y.series=x.name);const Te=this.results.map(it=>it.series).flat().filter(it=>U?it.label===Y.name:it.name===Y.name&&it.series===Y.series);this.activeEntries=[...Te],this.activate.emit({value:Y,entries:this.activeEntries})}onDeactivate(o,x,U=!1){const Y=Object.assign({},o);x&&(Y.series=x.name),this.activeEntries=this.activeEntries.filter(Te=>U?Te.label!==Y.name:!(Te.name===Y.name&&Te.series===Y.series)),this.deactivate.emit({value:Y,entries:this.activeEntries})}}return u.\u0275fac=(()=>{let L;return function(x){return(L||(L=e.n5z(u)))(x||u)}})(),u.\u0275cmp=e.Xpm({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(o,x,U){if(1&o&&e.Suo(U,R0,5),2&o){let Y;e.iGM(Y=e.CRH())&&(x.tooltipTemplate=Y.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[e.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(o,x){1&o&&(e.TgZ(0,"ngx-charts-chart",0),e.NdJ("legendLabelActivate",function(Y){return x.onActivate(Y,void 0,!0)})("legendLabelDeactivate",function(Y){return x.onDeactivate(Y,void 0,!0)})("legendLabelClick",function(Y){return x.onClick(Y)}),e.O4$(),e.TgZ(1,"g",1),e._UZ(2,"g",2),e.YNc(3,Mu,1,11,"g",3)(4,Om,1,10,"g",4)(5,Su,2,2,"g",5),e.qZA(),e.YNc(6,Pm,2,2,"g",5),e.qZA()),2&o&&(e.Q6J("view",e.WLB(15,Xd,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),e.xp6(1),e.uIk("transform",x.transform),e.xp6(1),e.Q6J("xScale",x.groupScale)("yScale",x.valueScale)("data",x.results)("dims",x.dims)("orient",x.barOrientation.Vertical),e.xp6(1),e.Q6J("ngIf",x.xAxis),e.xp6(1),e.Q6J("ngIf",x.yAxis),e.xp6(1),e.Q6J("ngIf",!x.isSSR),e.xp6(1),e.Q6J("ngIf",x.isSSR))},dependencies:[c2,F3,Bu,td,W3,t.O5,t.sg],styles:[$d],encapsulation:2,data:{animation:[(0,m.X$)("animationState",[(0,m.eR)(":leave",[(0,m.oB)({opacity:1,transform:"*"}),(0,m.jt)(500,(0,m.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),Qu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})();uu();let Pp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),Np=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),Hp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),Xu=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})();Math;let Hc=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),od=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs,Hc,Xu]]}),u})(),q3=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),g2=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),ef=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs,Hc,Qu]]}),u})(),Wp=(()=>{class u{}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[xs]]}),u})(),tf=(()=>{class u{constructor(){!function h1(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(o){return new(o||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[xs,G3,Qu,Pp,Np,Hp,Wp,Xu,od,q3,Hc,g2,ef]}),u})()},2279:(Fe,q,p)=>{"use strict";p.d(q,{OF:()=>E,uU:()=>d});var e=p(5861),t=p(9212),y=p(2839),A=p(6814);function l(M,I){if(1&M&&t._UZ(0,"canvas",0),2&M){const k=t.oxw();t.Q6J("qrCode",k.value)("qrCodeErrorCorrectionLevel",k.errorCorrectionLevel)("qrCodeCenterImageSrc",k.centerImageSrc)("qrCodeCenterImageWidth",k.centerImageSize)("qrCodeCenterImageHeight",k.centerImageSize)("qrCodeMargin",k.margin)("width",k.size)("height",k.size)("darkColor",k.darkColor)("lightColor",k.lightColor)}}const w=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let m=(()=>{class M{static#e=this.DEFAULT_ERROR_CORRECTION_LEVEL="M";static#t=this.DEFAULT_CENTER_IMAGE_SIZE=40;constructor(k){this.viewContainerRef=k,this.errorCorrectionLevel=M.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var k=this;return(0,e.Z)(function*(){if(!k.value)return;k.version&&k.version>40?(console.warn("[qrCode] max version is 40, clamping"),k.version=40):k.version&&k.version<1?(console.warn("[qrCode] min version is 1, clamping"),k.version=1):void 0!==k.version&&isNaN(k.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),k.version=void 0);const z=k.viewContainerRef.element.nativeElement;if(!z)return;const B=z.getContext("2d");B&&B.clearRect(0,0,B.canvas.width,B.canvas.height);const W=k.errorCorrectionLevel??M.DEFAULT_ERROR_CORRECTION_LEVEL,j=w.test(k.darkColor)?k.darkColor:void 0,K=w.test(k.lightColor)?k.lightColor:void 0;(0,t.X6Q)()&&(!j&&k.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!K&&k.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield y.toCanvas(z,k.value,{version:k.version,errorCorrectionLevel:W,width:k.width,margin:k.margin,color:{dark:j,light:K}});const X=k.centerImageSrc,ie=P(k.centerImageWidth,M.DEFAULT_CENTER_IMAGE_SIZE),se=P(k.centerImageHeight,M.DEFAULT_CENTER_IMAGE_SIZE);if(X&&B){k.centerImage||(k.centerImage=new Image(ie,se));const ue=k.centerImage;X!==k.centerImage.src&&(ue.src=X),ie!==k.centerImage.width&&(ue.width=ie),se!==k.centerImage.height&&(ue.height=se);const ae=()=>{B.drawImage(ue,z.width/2-ie/2,z.height/2-se/2,ie,se)};ue.onload=ae,ue.complete&&ae()}})()}static#i=this.\u0275fac=function(z){return new(z||M)(t.Y36(t.s_b))};static#n=this.\u0275dir=t.lG2({type:M,selectors:[["canvas","qrCode",""]],inputs:{value:["qrCode","value"],version:["qrCodeVersion","version"],errorCorrectionLevel:["qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:["qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:["qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:["qrCodeCenterImageHeight","centerImageHeight"],margin:["qrCodeMargin","margin"]},features:[t.TTD]})}return M})();function P(M,I){return void 0===M||""===M?I:"string"==typeof M?parseInt(M,10):M}let d=(()=>{class M{static#e=this.\u0275fac=function(z){return new(z||M)};static#t=this.\u0275cmp=t.Xpm({type:M,selectors:[["qr-code"]],inputs:{value:"value",size:"size",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor"]],template:function(z,B){1&z&&t.YNc(0,l,1,10,"canvas",0),2&z&&t.um2(0,B.value?0:-1)},dependencies:[m],encapsulation:2})}return M})(),E=(()=>{class M{static#e=this.\u0275fac=function(z){return new(z||M)};static#t=this.\u0275mod=t.oAB({type:M});static#i=this.\u0275inj=t.cJS({imports:[A.ez]})}return M})()},2159:(Fe,q,p)=>{"use strict";p.d(q,{op:()=>yt,Vv:()=>gt,$V:()=>Xe,Xd:()=>be});var e=p(8645),t=p(2438),y=p(3019),A=p(9028),l=p(9773),w=p(3997),m=p(975),P=p(9212),d=p(6814);function E($){return getComputedStyle($)}function M($,ne){for(var ke in ne){var Nt=ne[ke];"number"==typeof Nt&&(Nt+="px"),$.style[ke]=Nt}return $}function I($){var ne=document.createElement("div");return ne.className=$,ne}var k=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function z($,ne){if(!k)throw new Error("No element matching method supported");return k.call($,ne)}function B($){$.remove?$.remove():$.parentNode&&$.parentNode.removeChild($)}function W($,ne){return Array.prototype.filter.call($.children,function(ke){return z(ke,ne)})}var j={main:"ps",rtl:"ps__rtl",element:{thumb:function($){return"ps__thumb-"+$},rail:function($){return"ps__rail-"+$},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function($){return"ps--active-"+$},scrolling:function($){return"ps--scrolling-"+$}}},K={x:null,y:null};function X($,ne){var ke=$.element.classList,Nt=j.state.scrolling(ne);ke.contains(Nt)?clearTimeout(K[ne]):ke.add(Nt)}function ie($,ne){K[ne]=setTimeout(function(){return $.isAlive&&$.element.classList.remove(j.state.scrolling(ne))},$.settings.scrollingThreshold)}var ue=function(ne){this.element=ne,this.handlers={}},ae={isEmpty:{configurable:!0}};ue.prototype.bind=function(ne,ke){typeof this.handlers[ne]>"u"&&(this.handlers[ne]=[]),this.handlers[ne].push(ke),this.element.addEventListener(ne,ke,!1)},ue.prototype.unbind=function(ne,ke){var Nt=this;this.handlers[ne]=this.handlers[ne].filter(function(At){return!(!ke||At===ke)||(Nt.element.removeEventListener(ne,At,!1),!1)})},ue.prototype.unbindAll=function(){for(var ne in this.handlers)this.unbind(ne)},ae.isEmpty.get=function(){var $=this;return Object.keys(this.handlers).every(function(ne){return 0===$.handlers[ne].length})},Object.defineProperties(ue.prototype,ae);var Me=function(){this.eventElements=[]};function J($){if("function"==typeof window.CustomEvent)return new CustomEvent($);var ne=document.createEvent("CustomEvent");return ne.initCustomEvent($,!1,!1,void 0),ne}function he($,ne,ke,Nt,At){var Wt;if(void 0===Nt&&(Nt=!0),void 0===At&&(At=!1),"top"===ne)Wt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==ne)throw new Error("A proper axis should be provided");Wt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function S($,ne,ke,Nt,At){var Wt=ke[0],gi=ke[1],ei=ke[2],$t=ke[3],Fi=ke[4],li=ke[5];void 0===Nt&&(Nt=!0),void 0===At&&(At=!1);var ui=$.element;$.reach[$t]=null,ui[ei]<1&&($.reach[$t]="start"),ui[ei]>$[Wt]-$[gi]-1&&($.reach[$t]="end"),ne&&(ui.dispatchEvent(J("ps-scroll-"+$t)),ne<0?ui.dispatchEvent(J("ps-scroll-"+Fi)):ne>0&&ui.dispatchEvent(J("ps-scroll-"+li)),Nt&&function se($,ne){X($,ne),ie($,ne)}($,$t)),$.reach[$t]&&(ne||At)&&ui.dispatchEvent(J("ps-"+$t+"-reach-"+$.reach[$t]))}($,ke,Wt,Nt,At)}function n($){return parseInt($,10)||0}Me.prototype.eventElement=function(ne){var ke=this.eventElements.filter(function(Nt){return Nt.element===ne})[0];return ke||(ke=new ue(ne),this.eventElements.push(ke)),ke},Me.prototype.bind=function(ne,ke,Nt){this.eventElement(ne).bind(ke,Nt)},Me.prototype.unbind=function(ne,ke,Nt){var At=this.eventElement(ne);At.unbind(ke,Nt),At.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(At),1)},Me.prototype.unbindAll=function(){this.eventElements.forEach(function(ne){return ne.unbindAll()}),this.eventElements=[]},Me.prototype.once=function(ne,ke,Nt){var At=this.eventElement(ne),Wt=function(gi){At.unbind(ke,Wt),Nt(gi)};At.bind(ke,Wt)};var h={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function C($){var ne=$.element,ke=Math.floor(ne.scrollTop),Nt=ne.getBoundingClientRect();$.containerWidth=Math.round(Nt.width),$.containerHeight=Math.round(Nt.height),$.contentWidth=ne.scrollWidth,$.contentHeight=ne.scrollHeight,ne.contains($.scrollbarXRail)||(W(ne,j.element.rail("x")).forEach(function(At){return B(At)}),ne.appendChild($.scrollbarXRail)),ne.contains($.scrollbarYRail)||(W(ne,j.element.rail("y")).forEach(function(At){return B(At)}),ne.appendChild($.scrollbarYRail)),!$.settings.suppressScrollX&&$.containerWidth+$.settings.scrollXMarginOffset<$.contentWidth?($.scrollbarXActive=!0,$.railXWidth=$.containerWidth-$.railXMarginWidth,$.railXRatio=$.containerWidth/$.railXWidth,$.scrollbarXWidth=D($,n($.railXWidth*$.containerWidth/$.contentWidth)),$.scrollbarXLeft=n(($.negativeScrollAdjustment+ne.scrollLeft)*($.railXWidth-$.scrollbarXWidth)/($.contentWidth-$.containerWidth))):$.scrollbarXActive=!1,!$.settings.suppressScrollY&&$.containerHeight+$.settings.scrollYMarginOffset<$.contentHeight?($.scrollbarYActive=!0,$.railYHeight=$.containerHeight-$.railYMarginHeight,$.railYRatio=$.containerHeight/$.railYHeight,$.scrollbarYHeight=D($,n($.railYHeight*$.containerHeight/$.contentHeight)),$.scrollbarYTop=n(ke*($.railYHeight-$.scrollbarYHeight)/($.contentHeight-$.containerHeight))):$.scrollbarYActive=!1,$.scrollbarXLeft>=$.railXWidth-$.scrollbarXWidth&&($.scrollbarXLeft=$.railXWidth-$.scrollbarXWidth),$.scrollbarYTop>=$.railYHeight-$.scrollbarYHeight&&($.scrollbarYTop=$.railYHeight-$.scrollbarYHeight),function O($,ne){var ke={width:ne.railXWidth},Nt=Math.floor($.scrollTop);ke.left=ne.isRtl?ne.negativeScrollAdjustment+$.scrollLeft+ne.containerWidth-ne.contentWidth:$.scrollLeft,ne.isScrollbarXUsingBottom?ke.bottom=ne.scrollbarXBottom-Nt:ke.top=ne.scrollbarXTop+Nt,M(ne.scrollbarXRail,ke);var At={top:Nt,height:ne.railYHeight};ne.isScrollbarYUsingRight?At.right=ne.isRtl?ne.contentWidth-(ne.negativeScrollAdjustment+$.scrollLeft)-ne.scrollbarYRight-ne.scrollbarYOuterWidth-9:ne.scrollbarYRight-$.scrollLeft:At.left=ne.isRtl?ne.negativeScrollAdjustment+$.scrollLeft+2*ne.containerWidth-ne.contentWidth-ne.scrollbarYLeft-ne.scrollbarYOuterWidth:ne.scrollbarYLeft+$.scrollLeft,M(ne.scrollbarYRail,At),M(ne.scrollbarX,{left:ne.scrollbarXLeft,width:ne.scrollbarXWidth-ne.railBorderXWidth}),M(ne.scrollbarY,{top:ne.scrollbarYTop,height:ne.scrollbarYHeight-ne.railBorderYWidth})}(ne,$),$.scrollbarXActive?ne.classList.add(j.state.active("x")):(ne.classList.remove(j.state.active("x")),$.scrollbarXWidth=0,$.scrollbarXLeft=0,ne.scrollLeft=!0===$.isRtl?$.contentWidth:0),$.scrollbarYActive?ne.classList.add(j.state.active("y")):(ne.classList.remove(j.state.active("y")),$.scrollbarYHeight=0,$.scrollbarYTop=0,ne.scrollTop=0)}function D($,ne){return $.settings.minScrollbarLength&&(ne=Math.max(ne,$.settings.minScrollbarLength)),$.settings.maxScrollbarLength&&(ne=Math.min(ne,$.settings.maxScrollbarLength)),ne}function g($,ne){var ke=ne[0],Nt=ne[1],At=ne[2],Wt=ne[3],gi=ne[4],ei=ne[5],$t=ne[6],Fi=ne[7],li=ne[8],ui=$.element,un=null,Ki=null,Mi=null;function on(Ce){Ce.touches&&Ce.touches[0]&&(Ce[At]=Ce.touches[0].pageY),ui[$t]=un+Mi*(Ce[At]-Ki),X($,Fi),C($),Ce.stopPropagation(),Ce.type.startsWith("touch")&&Ce.changedTouches.length>1&&Ce.preventDefault()}function st(){ie($,Fi),$[li].classList.remove(j.state.clicking),$.event.unbind($.ownerDocument,"mousemove",on)}function si(Ce,Mt){un=ui[$t],Mt&&Ce.touches&&(Ce[At]=Ce.touches[0].pageY),Ki=Ce[At],Mi=($[Nt]-$[ke])/($[Wt]-$[ei]),Mt?$.event.bind($.ownerDocument,"touchmove",on):($.event.bind($.ownerDocument,"mousemove",on),$.event.once($.ownerDocument,"mouseup",st),Ce.preventDefault()),$[li].classList.add(j.state.clicking),Ce.stopPropagation()}$.event.bind($[gi],"mousedown",function(Ce){si(Ce)}),$.event.bind($[gi],"touchstart",function(Ce){si(Ce,!0)})}var ct={"click-rail":function v($){$.event.bind($.scrollbarY,"mousedown",function(ke){return ke.stopPropagation()}),$.event.bind($.scrollbarYRail,"mousedown",function(ke){var Nt=ke.pageY-window.pageYOffset-$.scrollbarYRail.getBoundingClientRect().top;$.element.scrollTop+=(Nt>$.scrollbarYTop?1:-1)*$.containerHeight,C($),ke.stopPropagation()}),$.event.bind($.scrollbarX,"mousedown",function(ke){return ke.stopPropagation()}),$.event.bind($.scrollbarXRail,"mousedown",function(ke){var Nt=ke.pageX-window.pageXOffset-$.scrollbarXRail.getBoundingClientRect().left;$.element.scrollLeft+=(Nt>$.scrollbarXLeft?1:-1)*$.containerWidth,C($),ke.stopPropagation()})},"drag-thumb":function r($){g($,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),g($,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function H($){var ne=$.element;$.event.bind($.ownerDocument,"keydown",function(Wt){if(!(Wt.isDefaultPrevented&&Wt.isDefaultPrevented()||Wt.defaultPrevented)&&(z(ne,":hover")||z($.scrollbarX,":focus")||z($.scrollbarY,":focus"))){var gi=document.activeElement?document.activeElement:$.ownerDocument.activeElement;if(gi){if("IFRAME"===gi.tagName)gi=gi.contentDocument.activeElement;else for(;gi.shadowRoot;)gi=gi.shadowRoot.activeElement;if(function s($){return z($,"input,[contenteditable]")||z($,"select,[contenteditable]")||z($,"textarea,[contenteditable]")||z($,"button,[contenteditable]")}(gi))return}var ei=0,$t=0;switch(Wt.which){case 37:ei=Wt.metaKey?-$.contentWidth:Wt.altKey?-$.containerWidth:-30;break;case 38:$t=Wt.metaKey?$.contentHeight:Wt.altKey?$.containerHeight:30;break;case 39:ei=Wt.metaKey?$.contentWidth:Wt.altKey?$.containerWidth:30;break;case 40:$t=Wt.metaKey?-$.contentHeight:Wt.altKey?-$.containerHeight:-30;break;case 32:$t=Wt.shiftKey?$.containerHeight:-$.containerHeight;break;case 33:$t=$.containerHeight;break;case 34:$t=-$.containerHeight;break;case 36:$t=$.contentHeight;break;case 35:$t=-$.contentHeight;break;default:return}$.settings.suppressScrollX&&0!==ei||$.settings.suppressScrollY&&0!==$t||(ne.scrollTop-=$t,ne.scrollLeft+=ei,C($),function At(Wt,gi){var ei=Math.floor(ne.scrollTop);if(0===Wt){if(!$.scrollbarYActive)return!1;if(0===ei&&gi>0||ei>=$.contentHeight-$.containerHeight&&gi<0)return!$.settings.wheelPropagation}var $t=ne.scrollLeft;if(0===gi){if(!$.scrollbarXActive)return!1;if(0===$t&&Wt<0||$t>=$.contentWidth-$.containerWidth&&Wt>0)return!$.settings.wheelPropagation}return!0}(ei,$t)&&Wt.preventDefault())}})},wheel:function R($){var ne=$.element;function Wt(gi){var ei=function Nt(gi){var ei=gi.deltaX,$t=-1*gi.deltaY;return(typeof ei>"u"||typeof $t>"u")&&(ei=-1*gi.wheelDeltaX/6,$t=gi.wheelDeltaY/6),gi.deltaMode&&1===gi.deltaMode&&(ei*=10,$t*=10),ei!=ei&&$t!=$t&&(ei=0,$t=gi.wheelDelta),gi.shiftKey?[-$t,-ei]:[ei,$t]}(gi),$t=ei[0],Fi=ei[1];if(!function At(gi,ei,$t){if(!h.isWebKit&&ne.querySelector("select:focus"))return!0;if(!ne.contains(gi))return!1;for(var Fi=gi;Fi&&Fi!==ne;){if(Fi.classList.contains(j.element.consuming))return!0;var li=E(Fi);if($t&&li.overflowY.match(/(scroll|auto)/)){var ui=Fi.scrollHeight-Fi.clientHeight;if(ui>0&&(Fi.scrollTop>0&&$t<0||Fi.scrollTop0))return!0}if(ei&&li.overflowX.match(/(scroll|auto)/)){var un=Fi.scrollWidth-Fi.clientWidth;if(un>0&&(Fi.scrollLeft>0&&ei<0||Fi.scrollLeft0))return!0}Fi=Fi.parentNode}return!1}(gi.target,$t,Fi)){var li=!1;$.settings.useBothWheelAxes?$.scrollbarYActive&&!$.scrollbarXActive?(Fi?ne.scrollTop-=Fi*$.settings.wheelSpeed:ne.scrollTop+=$t*$.settings.wheelSpeed,li=!0):$.scrollbarXActive&&!$.scrollbarYActive&&($t?ne.scrollLeft+=$t*$.settings.wheelSpeed:ne.scrollLeft-=Fi*$.settings.wheelSpeed,li=!0):(ne.scrollTop-=Fi*$.settings.wheelSpeed,ne.scrollLeft+=$t*$.settings.wheelSpeed),C($),li=li||function ke(gi,ei){var $t=Math.floor(ne.scrollTop),Fi=0===ne.scrollTop,li=$t+ne.offsetHeight===ne.scrollHeight,ui=0===ne.scrollLeft,un=ne.scrollLeft+ne.offsetWidth===ne.scrollWidth;return!(Math.abs(ei)>Math.abs(gi)?Fi||li:ui||un)||!$.settings.wheelPropagation}($t,Fi),li&&!gi.ctrlKey&&(gi.stopPropagation(),gi.preventDefault())}}typeof window.onwheel<"u"?$.event.bind(ne,"wheel",Wt):typeof window.onmousewheel<"u"&&$.event.bind(ne,"mousewheel",Wt)},touch:function ee($){if(h.supportsTouch||h.supportsIePointer){var ne=$.element,At={},Wt=0,gi={},ei=null;h.supportsTouch?($.event.bind(ne,"touchstart",li),$.event.bind(ne,"touchmove",un),$.event.bind(ne,"touchend",Ki)):h.supportsIePointer&&(window.PointerEvent?($.event.bind(ne,"pointerdown",li),$.event.bind(ne,"pointermove",un),$.event.bind(ne,"pointerup",Ki)):window.MSPointerEvent&&($.event.bind(ne,"MSPointerDown",li),$.event.bind(ne,"MSPointerMove",un),$.event.bind(ne,"MSPointerUp",Ki)))}function Nt(Mi,on){ne.scrollTop-=on,ne.scrollLeft-=Mi,C($)}function $t(Mi){return Mi.targetTouches?Mi.targetTouches[0]:Mi}function Fi(Mi){return!(Mi.pointerType&&"pen"===Mi.pointerType&&0===Mi.buttons||!(Mi.targetTouches&&1===Mi.targetTouches.length||Mi.pointerType&&"mouse"!==Mi.pointerType&&Mi.pointerType!==Mi.MSPOINTER_TYPE_MOUSE))}function li(Mi){if(Fi(Mi)){var on=$t(Mi);At.pageX=on.pageX,At.pageY=on.pageY,Wt=(new Date).getTime(),null!==ei&&clearInterval(ei)}}function un(Mi){if(Fi(Mi)){var on=$t(Mi),st={pageX:on.pageX,pageY:on.pageY},si=st.pageX-At.pageX,Ce=st.pageY-At.pageY;if(function ui(Mi,on,st){if(!ne.contains(Mi))return!1;for(var si=Mi;si&&si!==ne;){if(si.classList.contains(j.element.consuming))return!0;var Ce=E(si);if(st&&Ce.overflowY.match(/(scroll|auto)/)){var Mt=si.scrollHeight-si.clientHeight;if(Mt>0&&(si.scrollTop>0&&st<0||si.scrollTop0))return!0}if(on&&Ce.overflowX.match(/(scroll|auto)/)){var Ht=si.scrollWidth-si.clientWidth;if(Ht>0&&(si.scrollLeft>0&&on<0||si.scrollLeft0))return!0}si=si.parentNode}return!1}(Mi.target,si,Ce))return;Nt(si,Ce),At=st;var Mt=(new Date).getTime(),Ht=Mt-Wt;Ht>0&&(gi.x=si/Ht,gi.y=Ce/Ht,Wt=Mt),function ke(Mi,on){var st=Math.floor(ne.scrollTop),si=ne.scrollLeft,Ce=Math.abs(Mi),Mt=Math.abs(on);if(Mt>Ce){if(on<0&&st===$.contentHeight-$.containerHeight||on>0&&0===st)return 0===window.scrollY&&on>0&&h.isChrome}else if(Ce>Mt&&(Mi<0&&si===$.contentWidth-$.containerWidth||Mi>0&&0===si))return!0;return!0}(si,Ce)&&Mi.preventDefault()}}function Ki(){$.settings.swipeEasing&&(clearInterval(ei),ei=setInterval(function(){$.isInitialized?clearInterval(ei):gi.x||gi.y?Math.abs(gi.x)<.01&&Math.abs(gi.y)<.01?clearInterval(ei):$.element?(Nt(30*gi.x,30*gi.y),gi.x*=.8,gi.y*=.8):clearInterval(ei):clearInterval(ei)},10))}}},Ke=function(ne,ke){var Nt=this;if(void 0===ke&&(ke={}),"string"==typeof ne&&(ne=document.querySelector(ne)),!ne||!ne.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var At in this.element=ne,ne.classList.add(j.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},ke)this.settings[At]=ke[At];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var li,Fi,Wt=function(){return ne.classList.add(j.state.focus)},gi=function(){return ne.classList.remove(j.state.focus)};this.isRtl="rtl"===E(ne).direction,!0===this.isRtl&&ne.classList.add(j.rtl),this.isNegativeScroll=(Fi=ne.scrollLeft,ne.scrollLeft=-1,li=ne.scrollLeft<0,ne.scrollLeft=Fi,li),this.negativeScrollAdjustment=this.isNegativeScroll?ne.scrollWidth-ne.clientWidth:0,this.event=new Me,this.ownerDocument=ne.ownerDocument||document,this.scrollbarXRail=I(j.element.rail("x")),ne.appendChild(this.scrollbarXRail),this.scrollbarX=I(j.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Wt),this.event.bind(this.scrollbarX,"blur",gi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var ei=E(this.scrollbarXRail);this.scrollbarXBottom=parseInt(ei.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=n(ei.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=n(ei.borderLeftWidth)+n(ei.borderRightWidth),M(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=n(ei.marginLeft)+n(ei.marginRight),M(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=I(j.element.rail("y")),ne.appendChild(this.scrollbarYRail),this.scrollbarY=I(j.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Wt),this.event.bind(this.scrollbarY,"blur",gi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var $t=E(this.scrollbarYRail);this.scrollbarYRight=parseInt($t.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=n($t.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function f($){var ne=E($);return n(ne.width)+n(ne.paddingLeft)+n(ne.paddingRight)+n(ne.borderLeftWidth)+n(ne.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=n($t.borderTopWidth)+n($t.borderBottomWidth),M(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=n($t.marginTop)+n($t.marginBottom),M(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:ne.scrollLeft<=0?"start":ne.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:ne.scrollTop<=0?"start":ne.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Fi){return ct[Fi](Nt)}),this.lastScrollTop=Math.floor(ne.scrollTop),this.lastScrollLeft=ne.scrollLeft,this.event.bind(this.element,"scroll",function(Fi){return Nt.onScroll(Fi)}),C(this)};Ke.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,M(this.scrollbarXRail,{display:"block"}),M(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=n(E(this.scrollbarXRail).marginLeft)+n(E(this.scrollbarXRail).marginRight),this.railYMarginHeight=n(E(this.scrollbarYRail).marginTop)+n(E(this.scrollbarYRail).marginBottom),M(this.scrollbarXRail,{display:"none"}),M(this.scrollbarYRail,{display:"none"}),C(this),he(this,"top",0,!1,!0),he(this,"left",0,!1,!0),M(this.scrollbarXRail,{display:""}),M(this.scrollbarYRail,{display:""}))},Ke.prototype.onScroll=function(ne){this.isAlive&&(C(this),he(this,"top",this.element.scrollTop-this.lastScrollTop),he(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ke.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),B(this.scrollbarX),B(this.scrollbarY),B(this.scrollbarXRail),B(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ke.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(ne){return!ne.match(/^ps([-_].+|)$/)}).join(" ")};const Je=Ke;var ye=function(){if(typeof Map<"u")return Map;function $(ne,ke){var Nt=-1;return ne.some(function(At,Wt){return At[0]===ke&&(Nt=Wt,!0)}),Nt}return function(){function ne(){this.__entries__=[]}return Object.defineProperty(ne.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),ne.prototype.get=function(ke){var Nt=$(this.__entries__,ke),At=this.__entries__[Nt];return At&&At[1]},ne.prototype.set=function(ke,Nt){var At=$(this.__entries__,ke);~At?this.__entries__[At][1]=Nt:this.__entries__.push([ke,Nt])},ne.prototype.delete=function(ke){var Nt=this.__entries__,At=$(Nt,ke);~At&&Nt.splice(At,1)},ne.prototype.has=function(ke){return!!~$(this.__entries__,ke)},ne.prototype.clear=function(){this.__entries__.splice(0)},ne.prototype.forEach=function(ke,Nt){void 0===Nt&&(Nt=null);for(var At=0,Wt=this.__entries__;At0},$.prototype.connect_=function(){!fe||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ve?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},$.prototype.disconnect_=function(){!fe||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},$.prototype.onTransitionEnd_=function(ne){var ke=ne.propertyName,Nt=void 0===ke?"":ke;re.some(function(Wt){return!!~Nt.indexOf(Wt)})&&this.refresh()},$.getInstance=function(){return this.instance_||(this.instance_=new $),this.instance_},$.instance_=null,$}(),Ze=function($,ne){for(var ke=0,Nt=Object.keys(ne);ke"u")&&Element instanceof Object){if(!(ne instanceof We(ne).Element))throw new TypeError('parameter 1 is not of type "Element".');var ke=this.observations_;ke.has(ne)||(ke.set(ne,new dt(ne)),this.controller_.addObserver(this),this.controller_.refresh())}},$.prototype.unobserve=function(ne){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ne instanceof We(ne).Element))throw new TypeError('parameter 1 is not of type "Element".');var ke=this.observations_;ke.has(ne)&&(ke.delete(ne),ke.size||this.controller_.removeObserver(this))}},$.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},$.prototype.gatherActive=function(){var ne=this;this.clearActive(),this.observations_.forEach(function(ke){ke.isActive()&&ne.activeObservations_.push(ke)})},$.prototype.broadcastActive=function(){if(this.hasActive()){var ne=this.callbackCtx_,ke=this.activeObservations_.map(function(Nt){return new te(Nt.target,Nt.broadcastRect())});this.callback_.call(ne,ke,ne),this.clearActive()}},$.prototype.clearActive=function(){this.activeObservations_.splice(0)},$.prototype.hasActive=function(){return this.activeObservations_.length>0},$}(),Bt=typeof WeakMap<"u"?new WeakMap:new ye,Ye=function $(ne){if(!(this instanceof $))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ke=ce.getInstance(),Nt=new Ue(ne,ke,this);Bt.set(this,Nt)};["observe","unobserve","disconnect"].forEach(function($){Ye.prototype[$]=function(){var ne;return(ne=Bt.get(this))[$].apply(ne,arguments)}});const Ft=typeof de.ResizeObserver<"u"?de.ResizeObserver:Ye;function xt($,ne){if(1&$&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&$){const ke=P.oxw();P.ekj("ps-at-top",ke.states.top)("ps-at-left",ke.states.left)("ps-at-right",ke.states.right)("ps-at-bottom",ke.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",ke.indicatorY&&ke.interaction),P.xp6(1),P.ekj("ps-indicator-show",ke.indicatorX&&ke.interaction),P.xp6(1),P.ekj("ps-indicator-show",ke.indicatorX&&ke.interaction),P.xp6(1),P.ekj("ps-indicator-show",ke.indicatorY&&ke.interaction)}}const Ot=["*"],yt=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class at{constructor(ne,ke,Nt,At){this.x=ne,this.y=ke,this.w=Nt,this.h=At}}class Ee{constructor(ne,ke){this.x=ne,this.y=ke}}const nt=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ge{constructor(ne={}){this.assign(ne)}assign(ne={}){for(const ke in ne)this[ke]=ne[ke]}}let Xe=(()=>{class ${constructor(ke,Nt,At,Wt,gi){this.zone=ke,this.differs=Nt,this.elementRef=At,this.platformId=Wt,this.defaults=gi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.x,this.disabled=!1,this.psScrollY=new P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){if(!this.disabled&&(0,d.NF)(this.platformId)){const ke=new Ge(this.defaults);ke.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Je(this.elementRef.nativeElement,ke)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Ft(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{nt.forEach(Nt=>{const At=Nt.replace(/([A-Z])/g,Wt=>`-${Wt.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,At).pipe((0,A.e)(20),(0,l.R)(this.ngDestroy)).subscribe(Wt=>{this[Nt].emit(Wt)})})})}}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,d.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(ke){ke.disabled&&!ke.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&ke.disabled.currentValue!==ke.disabled.previousValue&&(!0===ke.disabled.currentValue?this.ngOnDestroy():!1===ke.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(ke="scroll"){return new at(this.elementRef.nativeElement[ke+"Left"],this.elementRef.nativeElement[ke+"Top"],this.elementRef.nativeElement[ke+"Width"],this.elementRef.nativeElement[ke+"Height"])}position(ke=!1){return!ke&&this.instance?new Ee(this.instance.reach.x||0,this.instance.reach.y||0):new Ee(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(ke="any"){const Nt=this.elementRef.nativeElement;return"any"===ke?Nt.classList.contains("ps--active-x")||Nt.classList.contains("ps--active-y"):"both"===ke?Nt.classList.contains("ps--active-x")&&Nt.classList.contains("ps--active-y"):Nt.classList.contains("ps--active-"+ke)}scrollTo(ke,Nt,At){this.disabled||(null==Nt&&null==At?this.animateScrolling("scrollTop",ke,At):(null!=ke&&this.animateScrolling("scrollLeft",ke,At),null!=Nt&&this.animateScrolling("scrollTop",Nt,At)))}scrollToX(ke,Nt){this.animateScrolling("scrollLeft",ke,Nt)}scrollToY(ke,Nt){this.animateScrolling("scrollTop",ke,Nt)}scrollToTop(ke,Nt){this.animateScrolling("scrollTop",ke||0,Nt)}scrollToLeft(ke,Nt){this.animateScrolling("scrollLeft",ke||0,Nt)}scrollToRight(ke,Nt){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(ke||0),Nt)}scrollToBottom(ke,Nt){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(ke||0),Nt)}scrollToElement(ke,Nt,At){if("string"==typeof ke&&(ke=this.elementRef.nativeElement.querySelector(ke)),ke){const Wt=ke.getBoundingClientRect(),gi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Wt.left-gi.left+this.elementRef.nativeElement.scrollLeft+(Nt||0),At),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Wt.top-gi.top+this.elementRef.nativeElement.scrollTop+(Nt||0),At)}}animateScrolling(ke,Nt,At){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!At||typeof window>"u")this.elementRef.nativeElement[ke]=Nt;else if(Nt!==this.elementRef.nativeElement[ke]){let Wt=0,gi=0,ei=performance.now(),$t=this.elementRef.nativeElement[ke];const Fi=($t-Nt)/2,li=ui=>{gi+=Math.PI/(At/(ui-ei)),Wt=Math.round(Nt+Fi+Fi*Math.cos(gi)),this.elementRef.nativeElement[ke]===$t&&(gi>=Math.PI?this.animateScrolling(ke,Nt,0):(this.elementRef.nativeElement[ke]=Wt,$t=this.elementRef.nativeElement[ke],ei=ui,this.animation=window.requestAnimationFrame(li)))};window.requestAnimationFrame(li)}}}return $.\u0275fac=function(ke){return new(ke||$)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(yt,8))},$.\u0275dir=P.lG2({type:$,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[P.TTD]}),$})(),gt=(()=>{class ${constructor(ke,Nt,At){this.zone=ke,this.cdRef=Nt,this.platformId=At,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.x,this.stateUpdate=new e.x,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){(0,d.NF)(this.platformId)&&(this.stateUpdate.pipe((0,l.R)(this.ngDestroy),(0,w.x)((ke,Nt)=>ke===Nt&&!this.stateTimeout)).subscribe(ke=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===ke||"y"===ke?(this.interaction=!1,"x"===ke?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===ke&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===ke||"right"===ke?(this.states.left=!1,this.states.right=!1,this.states[ke]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===ke||"bottom"===ke)&&(this.states.top=!1,this.states.bottom=!1,this.states[ke]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&typeof window<"u"&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const ke=this.directiveRef.elementRef.nativeElement;(0,t.R)(ke,"wheel").pipe((0,l.R)(this.ngDestroy)).subscribe(Nt=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(Nt,Nt.deltaX,Nt.deltaY)}),(0,t.R)(ke,"touchmove").pipe((0,l.R)(this.ngDestroy)).subscribe(Nt=>{if(!this.disabled&&this.autoPropagation){const At=Nt.touches[0].clientX,Wt=Nt.touches[0].clientY;this.checkPropagation(Nt,At-this.scrollPositionX,Wt-this.scrollPositionY),this.scrollPositionX=At,this.scrollPositionY=Wt}}),(0,y.T)((0,t.R)(ke,"ps-scroll-x").pipe((0,m.h)("x")),(0,t.R)(ke,"ps-scroll-y").pipe((0,m.h)("y")),(0,t.R)(ke,"ps-x-reach-end").pipe((0,m.h)("right")),(0,t.R)(ke,"ps-y-reach-end").pipe((0,m.h)("bottom")),(0,t.R)(ke,"ps-x-reach-start").pipe((0,m.h)("left")),(0,t.R)(ke,"ps-y-reach-start").pipe((0,m.h)("top"))).pipe((0,l.R)(this.ngDestroy)).subscribe(Nt=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(Nt)})}}),window.setTimeout(()=>{nt.forEach(ke=>{this.directiveRef&&(this.directiveRef[ke]=this[ke])})},0))}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const ke=this.directiveRef.elementRef.nativeElement;this.usePropagationX=ke.classList.contains("ps--active-x"),this.usePropagationY=ke.classList.contains("ps--active-y")}}checkPropagation(ke,Nt,At){this.interaction=!0;const Wt=Nt<0?-1:1,gi=At<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Wt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==gi))&&(ke.preventDefault(),ke.stopPropagation()),Nt&&(this.scrollDirectionX=Wt),At&&(this.scrollDirectionY=gi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return $.\u0275fac=function(ke){return new(ke||$)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},$.\u0275cmp=P.Xpm({type:$,selectors:[["perfect-scrollbar"]],viewQuery:function(ke,Nt){if(1&ke&&P.Gf(Xe,7),2&ke){let At;P.iGM(At=P.CRH())&&(Nt.directiveRef=At.first)}},hostVars:4,hostBindings:function(ke,Nt){2&ke&&P.ekj("ps-show-limits",Nt.autoPropagation)("ps-show-active",Nt.scrollIndicators)},inputs:{disabled:"disabled",usePSClass:"usePSClass",autoPropagation:"autoPropagation",scrollIndicators:"scrollIndicators",config:"config"},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],ngContentSelectors:Ot,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(ke,Nt){1&ke&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,xt,5,16,"div",2),P.qZA()),2&ke&&(P.ekj("ps",Nt.usePSClass),P.Q6J("perfectScrollbar",Nt.config)("disabled",Nt.disabled),P.xp6(3),P.Q6J("ngIf",Nt.scrollIndicators))},dependencies:[Xe,d.O5],styles:["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-width:0;min-height:0}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit}perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{position:absolute;opacity:0;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y,perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y,perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:linear-gradient(to bottom,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:linear-gradient(to top,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:linear-gradient(to right,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:linear-gradient(to left,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(to bottom,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(to top,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(to right,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(to left,rgba(170,170,170,.5) 0%,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show{opacity:1}\n",".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0px;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{background-color:#999;height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}\n"],encapsulation:2}),$})(),be=(()=>{class ${}return $.\u0275fac=function(ke){return new(ke||$)},$.\u0275mod=P.oAB({type:$}),$.\u0275inj=P.cJS({imports:[[d.ez],d.ez]}),$})()},5861:(Fe,q,p)=>{"use strict";function e(y,A,l,w,m,P,d){try{var E=y[P](d),M=E.value}catch(I){return void l(I)}E.done?A(M):Promise.resolve(M).then(w,m)}function t(y){return function(){var A=this,l=arguments;return new Promise(function(w,m){var P=y.apply(A,l);function d(M){e(P,w,m,d,E,"next",M)}function E(M){e(P,w,m,d,E,"throw",M)}d(void 0)})}}p.d(q,{Z:()=>t})},7582:(Fe,q,p)=>{"use strict";function l(r,g,H,R){var ct,ee=arguments.length,De=ee<3?g:null===R?R=Object.getOwnPropertyDescriptor(g,H):R;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)De=Reflect.decorate(r,g,H,R);else for(var Ke=r.length-1;Ke>=0;Ke--)(ct=r[Ke])&&(De=(ee<3?ct(De):ee>3?ct(g,H,De):ct(g,H))||De);return ee>3&&De&&Object.defineProperty(g,H,De),De}function I(r,g,H,R){return new(H||(H=Promise))(function(De,ct){function Ke(fe){try{ye(R.next(fe))}catch(de){ct(de)}}function Je(fe){try{ye(R.throw(fe))}catch(de){ct(de)}}function ye(fe){fe.done?De(fe.value):function ee(De){return De instanceof H?De:new H(function(ct){ct(De)})}(fe.value).then(Ke,Je)}ye((R=R.apply(r,g||[])).next())})}function se(r){return this instanceof se?(this.v=r,this):new se(r)}function ue(r,g,H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ee,R=H.apply(r,g||[]),De=[];return ee={},ct("next"),ct("throw"),ct("return"),ee[Symbol.asyncIterator]=function(){return this},ee;function ct(xe){R[xe]&&(ee[xe]=function(le){return new Promise(function(pe,qe){De.push([xe,le,pe,qe])>1||Ke(xe,le)})})}function Ke(xe,le){try{!function Je(xe){xe.value instanceof se?Promise.resolve(xe.value.v).then(ye,fe):de(De[0][2],xe)}(R[xe](le))}catch(pe){de(De[0][3],pe)}}function ye(xe){Ke("next",xe)}function fe(xe){Ke("throw",xe)}function de(xe,le){xe(le),De.shift(),De.length&&Ke(De[0][0],De[0][1])}}function Me(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,g=r[Symbol.asyncIterator];return g?g.call(r):(r=function W(r){var g="function"==typeof Symbol&&Symbol.iterator,H=g&&r[g],R=0;if(H)return H.call(r);if(r&&"number"==typeof r.length)return{next:function(){return r&&R>=r.length&&(r=void 0),{value:r&&r[R++],done:!r}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),H={},R("next"),R("throw"),R("return"),H[Symbol.asyncIterator]=function(){return this},H);function R(De){H[De]=r[De]&&function(ct){return new Promise(function(Ke,Je){!function ee(De,ct,Ke,Je){Promise.resolve(Je).then(function(ye){De({value:ye,done:Ke})},ct)}(Ke,Je,(ct=r[De](ct)).done,ct.value)})}}}p.d(q,{FC:()=>ue,KL:()=>Me,gn:()=>l,mG:()=>I,qq:()=>se}),"function"==typeof SuppressedError&&SuppressedError},4946:Fe=>{"use strict";Fe.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},5207:Fe=>{"use strict";Fe.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:Fe=>{"use strict";Fe.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},9799:Fe=>{"use strict";Fe.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},8597:Fe=>{"use strict";Fe.exports={i8:"6.5.4"}},2562:Fe=>{"use strict";Fe.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},Fe=>{Fe(Fe.s=9941)}]);